PageSourceSearch

https://podster.fm/build/assets/PlayerView-4ca5574d.js

js podster.fm collected 2026-09-24 08:53:48 UTC 77,140 bytes, 1 lines download raw bytes

1import{o as i,c as r,b as t,B as Ge,s as V,u as e,f as w,C as r1,e as H,w as _,a as k,q as a,d as X,t as p,j as V1,z as ve,F as b1,h as g,g as l1,k as ge,y as D,bF as g1,D as $e,E as De,aU as Qe,p as Ce,l as K,aR as Z,H as Je,I as Ke,aT as Xe,i as C1,Q as s1,G as be,O as Ye}from"./app-f96b9a38.js";import{u as et}from"./useDarkMode-eb5341a5.js";import{f as A,_ as i1,a as J,m as tt}from"./Panable-858accf9.js";import{u as lt}from"./useAudio-1b62b5d5.js";import{b as st}from"./vue-composable.esm-bundler-11aa148c.js";import{u as ot}from"./usePlayerStore-ffc1d1da.js";import{B as at,E as ke}from"./ExplicitIcon-683812e8.js";import{_ as it}from"./VKIcon-293b1bd0.js";import{_ as ye}from"./CloseIcon-82975fa5.js";import{W as nt,b as rt,c as dt,_ as ut,a as ct,P as xt,d as mt}from"./OdnoklassnikiIcon-487f3d97.js";import{_ as t1}from"./CopyToClipboardButton-2f3e7452.js";import{h as _e,_ as Be,U as Le,j as ht,S as ft}from"./transition-d5d1ed5a.js";import{p as pt}from"./pluralize-31e79adb.js";import{_ as wt}from"./_plugin-vue_export-helper-c27b6911.js";import"./dom-cadfdd7e.js";import"./hidden-e39bbb26.js";import"./focus-management-dccaee5f.js";import"./micro-task-89dcd6af.js";import"./description-9a269291.js";import"./use-outside-click-f54ccb8d.js";const vt={class:"flex w-full max-w-[130px] items-center justify-between"},gt={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ct=["stroke"],bt=["stroke"],kt=["fill"],yt={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_t=["stroke"],Bt=["stroke"],Lt=["fill"],M1={__name:"SeekButtons",props:{darkModeEnabled:{type:Boolean,default:!1}},emits:["seek"],setup(l){return(b,n)=>(i(),r("div",vt,[t("button",{onClick:n[0]||(n[0]=o=>b.$emit("seek","prev"))},[(i(),r("svg",gt,[t("path",{d:"M2.5 10.8335C2.5 12.3169 2.93987 13.7669 3.76398 15.0003C4.58809 16.2336 5.75943 17.1949 7.12987 17.7626C8.50032 18.3302 10.0083 18.4788 11.4632 18.1894C12.918 17.9 14.2544 17.1857 15.3033 16.1368C16.3522 15.0879 17.0665 13.7515 17.3559 12.2967C17.6453 10.8418 17.4968 9.33382 16.9291 7.96337C16.3614 6.59292 15.4001 5.42158 14.1668 4.59747C12.9334 3.77336 11.4834 3.3335 10 3.3335",stroke:l.darkModeEnabled?"#B4B4B4":"#545454","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ct),t("path",{d:"M10 3.33341H3.75M3.75 3.33341L5.41667 1.66675M3.75 3.33341L5.41667 5.00008",stroke:l.darkModeEnabled?"#B4B4B4":"#545454","stroke-linecap":"round","stroke-linejoin":"round"},null,8,bt),t("path",{d:"M7.1 7.74C7.1 7.70667 7.09667 7.67667 7.09 7.65C7.09 7.62333 7.08333 7.61 7.07 7.61H6.46C6.38 7.61 6.30667 7.58333 6.24 7.53C6.18 7.47667 6.15 7.41 6.15 7.33V6.85C6.15 6.76333 6.18 6.69667 6.24 6.65C6.30667 6.59667 6.38 6.57 6.46 6.57H7.34C7.62667 6.57 7.84667 6.66667 8 6.86C8.16 7.04667 8.24 7.29333 8.24 7.6V13.72C8.24 13.7933 8.21 13.86 8.15 13.92C8.09 13.9733 8.02 14 7.94 14H7.41C7.31667 14 7.24 13.9733 7.18 13.92C7.12667 13.86 7.1 13.7933 7.1 13.72V7.74ZM10.7447 14C10.6714 14 10.6014 13.9767 10.5347 13.93C10.4747 13.8767 10.4447 13.8067 10.4447 13.72V13.2C10.4447 13.1133 10.4747 13.0467 10.5347 13C10.6014 12.9467 10.6714 12.92 10.7447 12.92H12.6247C12.6847 12.92 12.738 12.8833 12.7847 12.81C12.838 12.7367 12.8647 12.64 12.8647 12.52V10.86C12.8647 10.8133 12.858 10.77 12.8447 10.73C12.8314 10.69 12.8147 10.67 12.7947 10.67H10.8247C10.6847 10.67 10.5714 10.6233 10.4847 10.53C10.4047 10.43 10.3647 10.3233 10.3647 10.21V7.14C10.3647 6.96667 10.418 6.83 10.5247 6.73C10.638 6.63 10.7614 6.58 10.8947 6.58H13.2847C13.358 6.58 13.4247 6.60667 13.4847 6.66C13.5514 6.70667 13.5847 6.77333 13.5847 6.86V7.39C13.5847 7.47667 13.5514 7.54667 13.4847 7.6C13.4247 7.64667 13.358 7.67 13.2847 7.67H11.4647V9.37L11.4447 9.58L11.7947 9.56H12.9347C13.1014 9.56 13.2514 9.6 13.3847 9.68C13.518 9.75333 13.628 9.85333 13.7147 9.98C13.808 10.1067 13.878 10.2467 13.9247 10.4C13.9714 10.5533 13.9947 10.7067 13.9947 10.86V12.58C13.9947 12.78 13.9614 12.9667 13.8947 13.14C13.828 13.3133 13.738 13.4633 13.6247 13.59C13.518 13.7167 13.3914 13.8167 13.2447 13.89C13.098 13.9633 12.9447 14 12.7847 14H10.7447Z",fill:l.darkModeEnabled?"#B4B4B4":"#545454"},null,8,kt)]))]),Ge(b.$slots,"button"),t("button",{onClick:n[1]||(n[1]=o=>b.$emit("seek","next"))},[(i(),r("svg",yt,[t("path",{d:"M17.5 10.8333C17.5 12.3166 17.0601 13.7667 16.236 15C15.4119 16.2334 14.2406 17.1947 12.8701 17.7623C11.4997 18.33 9.99168 18.4785 8.53682 18.1891C7.08196 17.8998 5.74559 17.1854 4.6967 16.1366C3.6478 15.0877 2.9335 13.7513 2.64411 12.2964C2.35472 10.8416 2.50324 9.33357 3.0709 7.96313C3.63856 6.59268 4.59985 5.42134 5.83322 4.59723C7.06659 3.77312 8.51664 3.33325 10 3.33325",stroke:l.darkModeEnabled?"#B4B4B4":"#545454","stroke-linecap":"round","stroke-linejoin":"round"},null,8,_t),t("path",{d:"M10 3.33317H16.25M16.25 3.33317L14.5833 1.666
15M16.25 3.33317L14.5833 4.99984",stroke:l.darkModeEnabled?"#B4B4B4":"#545454","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Bt),t("path",{d:"M8.72 7.62655H6.74C6.66 7.62655 6.58667 7.60322 6.52 7.55655C6.46 7.50322 6.43 7.43322 6.43 7.34655V6.81655C6.43 6.72989 6.46 6.66322 6.52 6.61655C6.58667 6.56322 6.66 6.53655 6.74 6.53655H8.82C8.99333 6.53655 9.14333 6.57322 9.27 6.64655C9.40333 6.71322 9.51333 6.80322 9.6 6.91655C9.68667 7.02322 9.75 7.14989 9.79 7.29655C9.83667 7.43655 9.86 7.57989 9.86 7.72655V9.41655C9.86 9.45655 9.85 9.50989 9.83 9.57655C9.81667 9.63655 9.79333 9.69655 9.76 9.75655C9.72667 9.81655 9.68 9.87322 9.62 9.92655C9.56 9.97989 9.48667 10.0199 9.4 10.0466C9.50667 10.0599 9.59667 10.0966 9.67 10.1566C9.75 10.2166 9.81 10.2866 9.85 10.3666C9.89667 10.4399 9.93 10.5199 9.95 10.6066C9.97 10.6866 9.98 10.7566 9.98 10.8166V12.7666C9.98 12.9332 9.95 13.0899 9.89 13.2366C9.83667 13.3832 9.76333 13.5099 9.67 13.6166C9.57667 13.7232 9.46667 13.8099 9.34 13.8766C9.21333 13.9366 9.08 13.9666 8.94 13.9666H6.75C6.67667 13.9666 6.60667 13.9432 6.54 13.8966C6.48 13.8432 6.45 13.7732 6.45 13.6866V13.1666C6.45 13.0799 6.48 13.0132 6.54 12.9666C6.60667 12.9132 6.67667 12.8866 6.75 12.8866H8.83V12.8566C8.83 12.8432 8.83 12.8299 8.83 12.8166C8.83667 12.8032 8.84 12.7899 8.84 12.7766V10.7366H7.07C6.99667 10.7366 6.92667 10.7099 6.86 10.6566C6.8 10.6032 6.77 10.5366 6.77 10.4566V9.89655C6.77 9.80989 6.8 9.74322 6.86 9.69655C6.92667 9.64322 6.99667 9.61655 7.07 9.61655H8.7C8.71333 9.61655 8.72 9.57989 8.72 9.50655V7.62655ZM12.6647 13.9666C12.458 13.9666 12.2714 13.9232 12.1047 13.8366C11.9447 13.7499 11.808 13.6332 11.6947 13.4866C11.588 13.3399 11.5047 13.1766 11.4447 12.99
166C11.3847 12.8099 11.3547 12.6199 11.3547 12.4266V8.07655C11.3547 7.88322 11.3847 7.69655 11.4447 7.51655C11.5047 7.32989 11.588 7.16322 11.6947 7.01655C11.808 6.86989 11.9447 6.75322 12.1047 6.66655C12.2714 6.57989 12.458 6.53655 12.6647 6.53655H13.7447C13.9514 6.53655 14.1347 6.57989 14.2947 6.66655C14.4614 6.75322 14.598 6.86989 14.7047 7.01655C14.818 7.16322 14.9047 7.32989 14.9647 7.51655C15.0247 7.69655 15.0547 7.88322 15.0547 8.07655V12.4266C15.0547 12.6199 15.0247 12.8099 14.9647 12.9966C14.9047 13.1766 14.818 13.3399 14.7047 13.4866C14.598 13.6332 14.4614 13.7499 14.2947 13.8366C14.1347 13.9232 13.9514 13.9666 13.7447 13.9666H12.6647ZM13.6747 12.8866C13.748 12.8866 13.808 12.8432 13.8547 12.7566C13.9014 12.6699 13.9247 12.5799 13.9247 12.4866V8.02655C13.9247 7.93322 13.9014 7.84322 13.8547 7.75655C13.808 7.66989 13.748 7.62655 13.6747 7.62655H12.7247C12.6514 7.62655 12.5914 7.66989 12.5447 7.75655C12.5047 7.84322 12.4847 7.93322 12.4847 8.02655V12.4866C12.4847 12.5799 12.5047 12.6699 12.5447 12.7566C12.5914 12.8432 12.6514 12.8866 12.7247 12.8866H13.6747Z",fill:l.darkModeEnabled?"#B4B4B4":"#545454"},null,8,Lt)]))])]))}},Ft=["width","height"],Mt=["fill"],Vt=["width","height"],$t=["fill"],n1={__name:"PlayButton",props:{playingOrLoading:{type:Boolean,required:!0},darkModeEnabled:{type:Boolean,default:!1},size:{type:String,default:"middle"},fillColor:{type:String,default:null}},emits:["toggle-play"],setup(l){const b=l;let n=V(()=>{switch(b.size){case"small":return 15;case"middle":return 24;default:return 30}});return(o,f)=>(i(),r("button",{onClick:f[0]||(f[0]=m=>o.$emit("toggle-play"))},[l.playingOrLoading?(i(),r("svg",{key:1,width:e(n),height:e(n),viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"scale-90 text-brand-300 xl:scale-100"},[t("path",{d:"M21.875 4.375h-3.938a.875.875 0 0 0-.875.875v17.5c0 .483.392.875.875.875h3.938a.875.875 0 0 0 .875-.875V5.25a.875.875 0 0 0-.875-.875ZM10.063 4.375H6.124a.875.875 0 0 0-.875.875v17.5c0 .483.392.875.875.875h3.938a.875.875 0 0 0 .874-.875V5.25a.875.875 0 0 0-.874-.875Z",fill:l.fillColor??(l.darkModeEnabled?"#B4B4B4":"#545454")},null,8,$t)],8,Vt)):(i(),r("svg",{key:0,width:e(n),height:e(n),viewBox:"0 0 21 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M3.05 23.4591C2.38333 23.8749 1.708 23.8986 1.024 23.5301C0.341334 23.1629 0 22.5954 0 21.8277V1.96268C0 1.19495 0.341334 0.626831 1.024 0.258321C1.708 -0.108909 2.38333 -0.0845975 3.05 0.331256L19.35 10.2637C19.95 10.6476 20.25 11.1914 20.25 11.8952C20.25 12.5989 19.95 13.1427 19.35 13.5266L3.05 23.4591Z",fill:l.fillColor??(l.darkModeEnabled?"#B4B4B4":"#545454")},null,8,Mt)],8,Ft))]))}},Dt=t("div",{class:"fixed inset-0 bg-black bg-opacity-25"},null,-1),Et={class:"fixed inset-0 overflow-y-auto"},St={class:"flex flex-row"},Ht={class:"p-1"},Pt={class:"flex w-full flex-wrap"},jt=["href","title"],zt=["value"],At=t("svg",{class:"ml-2.5",width:"10",height:"17",viewBox:"0 0 15 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M12.5137 4.3833H5.14258C4.09734 4.3833 3.25 5.45659 3.25 6.78057V16.1173C3.25 17.4413 4.09734 18.5146 5.14258 18.5146H12.5137C13.5589 18.5146 14.4062 17.4413 14.4062 16.1173V6.78057C14.4062 5.45659 13.5589 4.3833 12.5137 4.3833Z",stroke:"#777777","stroke-linejoin":"round"}),t("path",{d:"M11.7334 4.38338L11.75 3.37401C11.7486 2.74991 11.5522 2.15189 11.2039 1.71058C10.8555 1.26928 10.3833 1.02057 9.89062 1.0188H2.71875C2.15568 1.02091 1.61614 1.30517 1.21799 1.8095C0.819832 2.31383 0.595414 2.99724 0.59375 3.71047V12.7948C0.595152 13.4189 0.7915 14.017 1.1399 14.4583C1.48829 14.8996 1.96042 15.1483 2.45312 15.15H3.25",stroke:"#777777","stroke-linecap":"round","stroke-linejoin":"round"})],-1),Zt=["value"],Ot=t("svg",{class:"ml-2.5",width:"10",height:"17",viewBox:"0 0 15 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M12.5137 4.3833H5.14258C4.09734 4.3833 3.25 5.45659 3.25 6.78057V16.1173C3.25 17.4413 4.09734 18.5146 5.14258 18.5146H12.5137C13.5589 18.5146 14.4062 17.4413 14.4062 16.1173V6.78057C14.4062 5.45659 13.5589 4.3833 12.5137 4.3833Z",stroke:"#777777","stroke-linejoin":"round"}),t("path",{d:"M11.7334 4.38338L11.75 3.37401C11.7486 2.74991 11.5522 2.15189 11.2039 1.71058C10.8555 1.26928 10.3833 1.02057 9.89062 1.0188H2.71875C2.15568 1.02091 1.61614 1.30517 1.21799 1.8095C0.819832 2.31383 0.595414 2.99724 0.59375 3.71047V12.7948C0.595152 13.4189 0.7915 14.017 1.1399 14.4583C1.48829 14.8996 1.96042 15.1483 2.45312 15.15H3.25",stroke:"#777777","stroke-linecap":"round","stroke-linejoin":"round"})],-1),It=["value"],Tt=t("svg",{class:"ml-2.5",width:"10",height:"17",viewBox:"0 0 15 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M12.5137 4.3833H5.14258C4.09734 4.3833 3.25 5.45659 3.25 6.78057V16.1173C3.25 17.4413 4.09734 18.5146 5.14258 18.5146H12.5137C13.5589 18.5146 14.4062 17.4413 14.4062 16.1173V6.78057C14.4062 5.45659 13.5589 4.3833 12.5137 4.3833Z",stroke:"#777777","stroke-linejoin":"round"}),t("path",{d:"M11.7334 4.38338L11.75 3.37401C11.7486 2.74991 11.5522 2.15189 11.2039 1.71058C10.8555 1.26928 10.3833 1.02057 9.89062 1.0188H2.71875C2.15568 1.02091 1.61614 1.30517 1.21799 1.8095C0.819832 2.31383 0.595414 2.99724 0.59375 3.71047V12.7948C0.595152 13.4189 0.7915 14.017 1.1399 14.4583C1.48829 14.8996 1.96042 15.1483 2.45312 15.15H3.25",stroke:"#777777","stroke-linecap":"round","stroke-linejoin":"round"})],-1),Ut=["href"],qt=["href","download"],Nt={class:"ml-2.5 rounded bg-[#FFFFFF] px-2 leading-[2] dark:bg-[#D3D3D3] dark:text-[#777777]"},Rt={key:1,class:"mb-3 hidden items-center sm:flex"}
1,Wt=["href"],Gt=["href","download"],Qt={class:"flex flex-col p-3"},Jt={class:"w-full border-[#777777] sm:border-r"},Kt={class:"border-b border-[#777777] p-1"},Xt={class:"flex w-full flex-wrap"},Yt=["href","title"],e3={class:"flex-1"},t3={key:0,class:"mb-3 mt-2 flex flex-col items-start justify-between xxs:mb-9 xxs:mt-6"},l3=t("label",{class:"leading-0 text-sm text-[#777777] dark:text-[#D3D3D3]"},"Код плеера",-1),s3={class:"flex w-full items-center"},o3=["value"],a3=t("svg",{class:"ml-2.5",width:"15",height:"20",viewBox:"0 0 15 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M12.5137 4.3833H5.14258C4.09734 4.3833 3.25 5.45659 3.25 6.78057V16.1173C3.25 17.4413 4.09734 18.5146 5.14258 18.5146H12.5137C13.5589 18.5146 14.4062 17.4413 14.4062 16.1173V6.78057C14.4062 5.45659 13.5589 4.3833 12.5137 4.3833Z",stroke:"#777777","stroke-linejoin":"round"}),t("path",{d:"M11.7334 4.38338L11.75 3.37401C11.7486 2.74991 11.5522 2.15189 11.2039 1.71058C10.8555 1.26928 10.3833 1.02057 9.89062 1.0188H2.71875C2.15568 1.02091 1.61614 1.30517 1.21799 1.8095C0.819832 2.31383 0.595414 2.99724 0.59375 3.71047V12.7948C0.595152 13.4189 0.7915 14.017 1.1399 14.4583C1.48829 14.8996 1.96042 15.1483 2.45312 15.15H3.25",stroke:"#777777","stroke-linecap":"round","stroke-linejoin":"round"})],-1),i3={class:"mb-3 flex flex-col items-start justify-between xxs:mb-9"},n3=t("label",{class:"leading-0 w-full text-[#777777] dark:text-[#D3D3D3]"},"RSS-feed",-1),r3={class:"flex w-full items-center"},d3=["value"],u3=t("svg",{class:"ml-2.5",width:"15",height:"20",viewBox:"0 0 15 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M12.5137 4.3833H5.14258C4.09734 4.3833 3.25 5.45659 3.25 6.78057V16.1173C3.25 17.4413 4.09734 18.5146 5.14258 18.5146H12.5137C13.5589 18.5146 14.4062 17.4413 14.4062 16.1173V6.78057C14.4062 5.45659 13.5589 4.3833 12.5137 4.3833Z",stroke:"#777777","stroke-linejoin":"round"}),t("path",{d:"M11.7334 4.38338L11.75 3.37401C11.7486 2.74991 11.5522 2.15189 11.2039 1.71058C10.8555 1.26928 10.3833 1.02057 9.89062 1.0188H2.71875C2.15568 1.02091 1.61614 1.30517 1.21799 1.8095C0.819832 2.31383 0.595414 2.99724 0.59375 3.71047V12.7948C0.595152 13.4189 0.7915 14.017 1.1399 14.4583C1.48829 14.8996 1.96042 15.1483 2.45312 15.15H3.25",stroke:"#777777","stroke-linecap":"round","stroke-linejoin":"round"})],-1),c3={class:"mb-3 flex flex-col items-start justify-between xxs:mb-9"},x3=t("label",{class:"leading-0 w-full text-[#777777] dark:text-[#D3D3D3]"},"Ссылка",-1),m3={class:"flex w-full items-center"},h3=["value"],f3=t("svg",{class:"ml-2.5",width:"15",height:"20",viewBox:"0 0 15 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M12.5137 4.3833H5.14258C4.09734 4.3833 3.25 5.45659 3.25 6.78057V16.1173C3.25 17.4413 4.09734 18.5146 5.14258 18.5146H12.5137C13.5589 18.5146 14.4062 17.4413 14.4062 16.1173V6.78057C14.4062 5.45659 13.5589 4.3833 12.5137 4.3833Z",stroke:"#777777","stroke-linejoin":"round"}),t("path",{d:"M11.7334 4.38338L11.75 3.37401C11.7486 2.74991 11.5522 2.15189 11.2039 1.71058C10.8555 1.26928 10.3833 1.02057 9.89062 1.0188H2.71875C2.15568 1.02091 1.61614 1.30517 1.21799 1.8095C0.819832 2.31383 0.595414 2.99724 0.59375 3.71047V12.7948C0.595152 13.4189 0.7915 14.017 1.1399 14.4583C1.48829 14.8996 1.96042 15.1483 2.45312 15.15H3.25",stroke:"#777777","stroke-linecap":"round","stroke-linejoin":"round"})],-1),p3={class:"mt-4 flex w-full justify-end"},w3={class:"ml-2.5 rounded bg-[#FFFFFF] px-2 leading-[2] dark:bg-[#D3D3D3] dark:text-[#777777]"},v3=["href"],g3=["href","download"],C3={key:1,class:"mb-3 hidden items-center sm:flex"},b3=["href"],k3=["href","download"],y3={__name:"SocialShareModal",props:{link:{type:String,required:!0},showPlayerCode:{type:Boolean,required:!0},iframeStyles:{type:Object,default:null},showInitial:{type:Boolean,required:!1},showDownload:{type:Boolean,required:!1},title:{type:String,required:!1,default:"Поделиться"},seekTimeInSeconds:{type:Number,required:!0},audioUrl:{type:String,default:null},size:{type:String,default:"large"},podcastId:{type:Number,default:null},podcastLink:{type:String,default:null}},emits:["close"],setup(l,{emit:b}){const n=l;let o=V(()=>{let L=`display: block; margin: 0 auto; border: unset; outline: 0; background: white; border-radius: ${n.iframeStyles.borderRadius}`;return`<iframe src="${window.location.href}" width="${n.iframeStyles.width}" height="${document.body.offsetHeight}" style="${L}"></iframe>`}),f=w(0),m=w(!1);function P(){m.value=!m.value,m.value?f.value=n.seekTimeInSeconds:f.value=0}let E=w(!1);r1(()=>n.showInitial,L=>E.value=L);let F=()=>{E.value=!1,b("close")},h=V(()=>[{name:"WhatsApp",icon:nt,shareLink:`https://api.whatsapp.com/se
1nd?text=${n.link}`},{name:"Telegram",icon:rt,shareLink:"https://t.me/share/url?"+g1.stringify({url:n.link})},{name:"Вконтакте",icon:it,shareLink:"https://vk.com/share.php?"+g1.stringify({url:n.link})},{name:"Одноклассники",icon:dt,shareLink:"https://connect.ok.ru/offer?"+g1.stringify({url:n.link})},{name:"Twitter",icon:ut,shareLink:"https://twitter.com/intent/tweet?"+g1.stringify({url:n.link})},{name:"Facebook",icon:ct,shareLink:`https://facebook.com/sharer/sharer.php?u=${n.link}`},{name:"Pinterest",icon:xt,shareLink:`https://pinterest.com/pin/create/link/?url=${n.link}`},{name:"LinkedIn",icon:mt,shareLink:`https://www.linkedin.com/sharing/share-offsite?url=${n.link}`}]);return(L,v)=>(i(),H(e(ft),{appear:"",show:e(E),as:"template"},{default:_(()=>[k(e(ht),{as:"div",class:"relative z-50",onClose:e(F)},{default:_(()=>[k(e(_e),{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0","enter-to":"opacity-100",leave:"duration-200 ease-in","leave-from":"opacity-100","leave-to":"opacity-0"},{default:_(()=>[Dt]),_:1}),t("div",Et,[t("div",{class:a([{"p-0 ":l.size==="large"},"flex min-h-full items-center justify-center text-center"])},[k(e(_e),{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0 scale-95","enter-to":"opacity-100 scale-100",leave:"duration-200 ease-in","leave-from":"opacity-100 scale-100","leave-to":"opacity-0 scale-95"},{default:_(()=>[l.size!=="vertical-normal"?(i(),H(e(Be),{key:0,class:a([{"max-h-[200px] min-h-[200px]":l.size==="large","max-h-[100px] min-h-[100px]":l.size!=="large"},"relative w-[100%] transform overflow-hidden rounded-2xl bg-neutral-100 text-left align-middle shadow-xl transition-all dark:bg-neutral-700"])},{default:_(()=>[t("div",St,[t("div",{class:a([{"sm:h-[180px] sm:w-[180px]":l.size==="large","h-full sm:w-[120px]":l.size!=="large"},"w-1/4 border-[#777777] sm:border-r"])},[t("div",Ht,[k(e(Le),{as:"h4",class:a([{"!mb-[unset] mb-2 pl-2 text-sm":l.size!=="large","mb-3 px-5 text-base sm:mb-6":l.size==="large"},"text-left font-semibold leading-6 text-brand-300 dark:text-neutral-100"])},{default:_(()=>
1[X(p(l.title),1)]),_:1},8,["class"]),t("div",Pt,[(i(!0),r(b1,null,V1(e(h),C=>(i(),r("div",{key:C.name,class:a([{"w-1/3":l.size==="large","w-1/4":l.size!=="large"},"mb-3"])},[t("a",{href:C.shareLink,class:"flex items-center justify-center rounded-lg",title:`Поделиться в ${C.name}`,target:"_blank",rel:"nofollow noopener",onclick:"javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=800,width=800'); return false;",onClick:v[0]||(v[0]=(...y)=>e(F)&&e(F)(...y))},[(i(),H(ve(C.icon),{class:a({"h-8 w-8":l.size==="large","h-4 w-4":l.size!=="large"})},null,8,["class"]))],8,jt)],2))),128))])])],2),t("div",{class:a([{"max-w-[70%]  p-5 md:max-w-[77%]":l.size==="large","max-w-[70%] p-1 md:max-w-[82%]":l.size!=="large"},"flex-1"])},[l.showPlayerCode?(i(),r("div",{key:0,class:a([{"mb-3 sm:mb-2":l.size==="large","sm:mb-1 ":l.size!=="large"},"flex items-center justify-between"])},[t("label",{for:"",class:a([{"text-sm sm:text-base ":l.size==="large","text-[8px] sm:text-xs":l.size!=="large"},"leading-0 w-1/4 text-[#777777] dark:text-[#D3D3D3]"])},"Код плеера",2),t("input",{type:"text",value:e(o),class:a([{"max-h-[20px] text-sm":l.size==="large","max-h-[12px] py-0 text-[8px]":l.size!=="large"},"w-[73%] rounded-xl border-0 bg-[#D9D9D9]/50 text-[#000000] outline-0 dark:text-[#FFFFFF]"])},null,10,zt),k(t1,{"text-to-copy":e(o)},{default:_(()=>[At]),_:1},8,["text-to-copy"])],2)):g("",!0),t("div",{class:a([{"mb-3 sm:mb-2":l.size==="large","sm:mb-1 ":l.size!=="large"},"flex items-center justify-between"])},[t("label",{for:"",class:a([{"text-sm sm:text-base ":l.size==="large","text-[8px] sm:text-xs":l.size!=="large"},"leading-0 w-1/4 text-[#777777] dark:text-[#D3D3D3]"])},"RSS-feed",2),t("input",{type:"text",value:"https://podster.fm/rss.xml?pid="+l.podcastId,class:a([{"max-h-[20px]  text-sm":l.size==="large","max-h-[12px]  py-0 text-[8px]":l.size!=="large"},"w-[73%] rounded-xl border-0 bg-[#D9D9D9]/50 text-[#000000] outline-0 dark:text-[#FFFFFF]"])},null,10,Zt),k(t1,{"text-to-copy":"https://podster.fm/rss.xml?pid="+l.podcastId},{default:_(()=>[Ot]),_:1},8,["text-to-copy"])],2),t("div",{class:a([{"mb-3 sm:mb-2":l.size==="large","sm:mb-1 ":l.size!=="large"},"flex items-center justify-between"])},[t("label",{for:"",class:a([{"text-sm sm:text-base ":l.size==="large","text-[8px] sm:text-xs":l.size!=="large"},"leading-0 w-1/4 text-[#777777] dark:text-[#D3D3D3]"])},"Ссылка",2),t("input",{type:"text",value:l.link,class:a([{"max-h-[20px]  text-sm":l.size==="large","max-h-[12px]  py-0 text-[8px]":l.size!=="large"},"w-[73%] rounded-xl border-0 bg-[#D9D9D9]/50 text-[#000000] outline-0 dark:text-[#FFFFFF]"])},null,10,It),k(t1,{"text-to-copy":l.link},{default:_(()=>[Tt]),_:1},8,["text-to-copy"])],2),t("div",{class:a(["flex items-center justify-between",l.size==="large"?" mb-3 sm:justify-end ":""])},[t("div",{class:a(["flex flex-wrap items-center",l.size==="large"?"sm:hidden ":""])},[t("a",{target:"_blank",href:l.podcastLink,class:a([l.size==="large"?"text-sm md:text-base ":"text-xs md:text-xs","mr-6 flex cursor-pointer items-center text-[#777777] underline dark:text-[#D3D3D3]"])}," Подписаться ",10,Ut),l.showDownload?(i(),r("a",{key:0,href:l.audioUrl,download:l.audioUrl,class:a([l.size==="large"?"text-sm md:text-base ":"text-xs md:text-xs","flex cursor-pointer items-center text-[#777777] underline dark:text-[#D3D3D3]"])}," Скачать (54 mb) ",10,qt)):g("",!0)],2),t("p",{class:a([{"leading-0 text-[8px]":l.size!=="large"},"flex flex-wrap items-center text-[#777777] dark:text-[#D3D3D3]"]),onClick:P},[l1(t("input",{"onUpdate:modelValue":v[1]||(v[1]=C=>D(m)?m.value=C:m=C),type:"checkbox",class:"mr-2 h-4 w-4 cursor-pointer rounded border border-brand-100 bg-neutral-100 checked:bg-brand-300 checked:text-brand-300 dark:border-neutral-400 dark:bg-neutral-800 xl:h-5 xl:w-5"},null,512),[[ge,e(m)]]),X(" старт с "),t("span",Nt,p(e(m)?e(A)(e(f)):e(A)(l.seekTimeInSeconds)),1)],2)],2),l.size==="large"?(i(),r("div",Rt,[t("a",{target:"_blank",href:l.podcastLink,class:"mr-6 flex cursor-pointer items-center text-sm text-[#777777] underline dark:text-[#D3D3D3] md:text-base"}," Подписаться ",8,Wt),l.showDownload?(i(),r("a",{key:0,href:l.audioUrl,download:l.audioUrl,class:"flex cursor-pointer items-center text-sm text-[#777777] underline dark:text-[#D3D3D3] md:text-base"}," Скачать (54 mb) ",8,Gt)):g("",!0)])):g("",!0)],2)]),t("button",{type:"button",class:"absolute top-0 right-0 mt-2.5 mr-2.5 py-1 text-brand-200 hover:text-brand-300 dark:text-neutral-300",onClick:v[2]||(v[2]=(...C)=>e(F)&&e(F)(...C))},[k(ye,{class:"h-6 w-6"})])]),_:1},8,["class"])):(i(),H(e(Be),{key:1,class:"relative w-11/12 transform overflow-hidden rounded-2xl bg-neutral-100 text-left align-middle shadow-xl transition-all dark:bg-neutral-700"},{default:_(()=>[t("div",Qt,[t("div",Jt,[t("div",Kt,[k(e(Le),{as:"h4",class:"mb-2 text-left font-semibold leading-6 text-[#777777] dark:text-neutral-100 xxs:mb-6"},{default:_(()=>
1[X(p(l.title),1)]),_:1}),t("div",Xt,[(i(!0),r(b1,null,V1(e(h),C=>(i(),r("div",{key:C.name,class:"my-3 w-1/4"},[t("a",{href:C.shareLink,class:"flex items-center justify-center rounded-lg",title:`Поделиться в ${C.name}`,target:"_blank",rel:"nofollow noopener",onclick:"javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=800,width=800'); return false;",onClick:v[3]||(v[3]=(...y)=>e(F)&&e(F)(...y))},[(i(),H(ve(C.icon),{class:"h-12 h-12"}))],8,Yt)]))),128))])])]),t("div",e3,[l.showPlayerCode?(i(),r("div",t3,[l3,t("div",s3,[t("input",{type:"text",value:e(o),class:"max-h-[28px] w-11/12 rounded-xl border-0 bg-[#D9D9D9]/50 text-[#AEAEAE] outline-0 dark:text-[#FFFFFF]"},null,8,o3),k(t1,{"text-to-copy":e(o)},{default:_(()=>[a3]),_:1},8,["text-to-copy"])])])):g("",!0),t("div",i3,[n3,t("div",r3,[t("input",{type:"text",value:"https://podster.fm/rss.xml?pid="+l.podcastId,class:"max-h-[28px] w-11/12 rounded-xl border-0 bg-[#D9D9D9]/50 text-[#AEAEAE] outline-0 dark:text-[#FFFFFF]"},null,8,d3),k(t1,{"text-to-copy":"https://podster.fm/rss.xml?pid="+l.podcastId},{default:_(()=>[u3]),_:1},8,["text-to-copy"])])]),t("div",c3,[x3,t("div",m3,[t("input",{type:"text",value:l.link,class:"max-h-[28px] w-11/12 rounded-xl border-0 bg-[#D9D9D9]/50 text-[#AEAEAE] outline-0 dark:text-[#FFFFFF]"},null,8,h3),k(t1,{"text-to-copy":l.link},{default:_(()=>[f3]),_:1},8,["text-to-copy"])]),t("div",p3,[t("p",{class:"flex flex-wrap items-center text-[#777777] dark:text-[#D3D3D3]",onClick:P},[l1(t("input",{"onUpdate:modelValue":v[4]||(v[4]=C=>D(m)?m.value=C:m=C),type:"checkbox",class:"mr-2 h-4 w-4 cursor-pointer rounded border border-brand-100 bg-neutral-100 checked:bg-brand-300 checked:text-brand-300 dark:border-neutral-400 dark:bg-neutral-800 xl:h-5 xl:w-5"},null,512),[[ge,e(m)]]),X(" старт с "),t("span",w3,p(e(m)?e(A)(e(f)):e(A)(l.seekTimeInSeconds)),1)])])]),t("div",{class:a(["flex items-center justify-between",l.size==="large"?" mb-3 sm:justify-end ":""])},[t("div",{class:a(["flex flex-wrap items-center",l.size==="large"?"sm:hidden ":""])},[t("a",{target:"_blank",href:l.podcastLink,class:"mr-6 flex cursor-pointer items-center text-[#777777] underline dark:text-[#D3D3D3]"}," Подписаться ",8,v3),l.showDownload?(i(),r("a",{key:0,href:l.audioUrl,download:l.audioUrl,class:"flex cursor-pointer items-center text-[#777777] underline dark:text-[#D3D3D3]"}," Скачать (54 mb) ",8,g3)):g("",!0)],2)],2),l.size==="large"?(i(),r("div",C3,[t("a",{target:"_blank",href:l.podcastLink,class:"mr-6 flex cursor-pointer items-center text-sm text-[#777777] underline dark:text-[#D3D3D3] md:text-base"}," Подписаться ",8,b3),l.showDownload?(i(),r("a",{key:0,href:l.audioUrl,download:l.audioUrl,class:"flex cursor-pointer items-center text-sm text-[#777777] underline dark:text-[#D3D3D3] md:text-base"}," Скачать (54 mb) ",8,k3)):g("",!0)])):g("",!0)])]),t("button",{type:"button",class:"absolute top-0 right-0 mt-2.5 mr-2.5 py-1 text-brand-200 hover:text-brand-300 dark:text-neutral-300",onClick:v[5]||(v[5]=(...C)=>e(F)&&e(F)(...C))},[k(ye,{class:"h-6 w-6"})])]),_:1}))]),_:1})],2)])]),_:1},8,["onClose"])]),_:1},8,["show"]))}};var _3=Object.defineProperty,B3=Object.defineProperties,L3=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,F3=Object.prototype.hasOwnProperty,M3=Object.prototype.propertyIsEnumerable,Me=(l,b,n)=>b in l?_3(l,b,{enumerable:!0,configurable:!0,writable:!0,value:n}):l[b]=n,V3=(l,b)=>{for(var n in b||(b={}))F3.call(b,n)&&Me(l,n,b[n]);if(Fe)for(var n of Fe(b))M3.call(b,n)&&Me(l,n,b[n]);return l},$3=(l,b)=>B3(l,L3(b)),Ve={props:{src:{type:String,required:!0},srcPlaceholder:{type:String,default:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"},srcset:{type:String},intersectionOptions:{type:Object,default:()=>({})},usePicture:{type:Boolean,default:!1}},inheritAttrs:!1,setup(l,{attrs:b,slots:n,emit:o}){const f=w(null),m=$e({observer:null,intersected:!1,loaded:!1}),P=V(()=>m.intersected&&l.src?l.src:l.srcPlaceholder),E=V(()=>m.intersected&&l.srcset?l.srcset:!1),F=()=>{f.value&&f.value.getAttribute("src")!==l.srcPlaceholder&&(m.loaded=!0,o("load",f.value))},h=()=>o("error",f.value);return De(()=>{"IntersectionObserver"in window&&(m.observer=new IntersectionObserver(L=>{L[0].isIntersecting&&(m.intersected=!0,m.observer.disconnect(),o("intersect"))},l.intersectionOptions),m.observer.observe(f.value))}),Qe(()=>{"IntersectionObserver"in window&&m.observer&&m.observer.disconnect()}),()=>{const L=Ce("img",$3(V3({ref:f,src:P.value,srcset:E.value||null},b),{class:[b.class,"v-lazy-image",{"v-lazy-image-loaded":m.loaded}],onLoad:F,onError:h}));return l.usePicture?Ce("picture",{ref:f,onLoad:F},m.intersected?[n.default,L]:[L]):L}}};const D3=l=>(Je("data-v-03f0af44"),l=l(),Ke(),l),E3=["onClick"],S3={class:"mr-2 h-[70px] min-h-[70px] min-w-[70px] max-w-[70px] sm:mr-9"},H3={key:2,class:"h-full w-full rounded-xl object-cover",src:"''"},P3={class:"flex flex-col justify-center"},j3={class:"flex flex-1 items-start justify-end"},z3=["onClick"],A3=D3(()=>t("svg",{width:"24",height:"28",viewBox:"0 0 24 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M21.3763 11.9571C22.0063 11.3271 21.5601 10.25 20.6692 10.25H17.7501C17.1978 10.25 16.7501 9.80229 16.7501 9.25V1.75C16.7501 1.19772 16.3024 0.75 15.7501 0.75H8.25008C7.6978 0.75 7.25008 1.19772 7.25008 1.75V9.25C7.25008 9.80229 6.80237 10.25 6.25008 10.25H3.33096C2.44006 10.25 1.99389 11.3271 2.62385 11.9571L11.293 20.6262C11.6835 21.0168 12.3167 21.0168 12.7072 20.6262L21.3763 11.9571ZM1.91675 24.5C1.36446 24.5 0.916748 24.9477 0.916748 25.5V26.6667C0.916748 27.219 1.36446 27.6667 1.91675 27.6667H22.0834C22.6357 27.6667 23.0834 27.219 23.0834 26.6667V25.5C23.0834 24.9477 22.6357 24.5 22.0834 24.5H1.91675Z",fill:"#B4B4B4"})],-1)),Z3=[A3],O3={key:0,class:"px-5 py-4 text-center"},I3=["disabled"],T3={key:0},U3={key:1},q3={__name:"EpisodesList",props:{episodes:{required:!0,type:Object},showDownload:{required:!0,type:Boolean},darkModeEnabled:{required:!0,type:Boolean},currentEpisodeId:{type:Number,required:!1,default:0},total:{type:Number,required:!0},podcastDetails:{required:!0,type:Object},episodesCount:{type:Number,required:!0}},emits:["load-episodes","change-episode"],setup(l,{expose:b,emit:n}){const o=l;let f=w(2),m=w(!1),P=w(!0),E=V(()=>{let y=o.episodes;return Array.isArray(y)?y.length:y&&typeof y=="object"?Object.keys(y).length:0}),F=V(()=>E.value>0),h=V(()=>Math.max(0,o.total-E.value)),L=V(()=>h.value>0),v=()=>{m.value||!L.value||(m.value=!0,n("load-episodes",f.value),f.value++)},C=y=>{window.open(y,"_blank")};return b({markLoaded:()=>{m.value=!1},resetPagination:()=>{f.value=2,m.value=!1}}),(y,N)=>e(F)?(i(),r("div",{key:0,class:a(["relative overflow-y-auto pt-2",l.darkModeEnabled?"!bg-[#333333]":"bg-white"]),style:Z({maxHeight:l.episodesCount*106+"px"})},[e(P)?(i(),r(b1,{key:0},[(i(!0),r(b1,null,V1(l.episodes,(c,B)=>{var R,j,d1;return i(),r("div",{key:B,class:a(["flex cursor-pointer py-4 px-5",{"border-b":B!=l.episodes.length-1}]),onClick:d=>y.$emit("change-episode",c.id)},[t("div",S3,[(R=c==null?void 0:c.cover_image)!=null&&R.sm?(i(),H(e(Ve),{key:0,class:"h-full w-full rounded-xl object-cover",src:(j=c==null?void 0:c.cover_image)==null?void 0:j.sm},null,8,["src"])):l.podcastDetails.image?(i(),H(e(Ve),{key:1,class:"h-full w-full rounded-xl object-cover",src:l.podcastDetails.image},null,8,["src"])):(i(),r("img",H3))]),t("div",P3,[t("p",{class:a([l.darkModeEnabled?"text-[#FFFFFF]":"text-[#333333]","mb-3.5 text-xs sm:text-sm"])},p(l.podcastDetails.name),3),t("p",{class:a(["text-xs sm:text-sm",{"!text-[#DB4343]":c.id===l.currentEpisodeId&&!l.darkModeEnabled,"!text-[#FFF500]":c.id===l.currentEpisodeId&&l.dar
1kModeEnabled,"text-[#FFFFFF]":l.darkModeEnabled}])},p(c.name),3)]),t("div",j3,[t("p",{class:a(["mt-9 text-base text-[#1B1B1B]",l.darkModeEnabled?"text-[#FFFFFF]":"text-[#333333]"])},p((d1=c==null?void 0:c.audio)==null?void 0:d1.human_duration),3),l.showDownload?(i(),r("button",{key:0,class:"ml-7 mt-[20px] cursor-pointer text-[#DB4343]",onClick:K(d=>e(C)(c.audio.url),["prevent","stop"])},Z3,8,z3)):g("",!0)])],10,E3)}),128)),e(L)?(i(),r("div",O3,[t("button",{type:"button",disabled:e(m),class:a(["w-full rounded-md py-2 text-sm font-medium transition-colors disabled:cursor-wait disabled:opacity-60",l.darkModeEnabled?"bg-[#444444] text-[#FFFFFF] hover:bg-[#555555]":"bg-[#EEEEEE] text-[#333333] hover:bg-[#DDDDDD]"]),onClick:N[0]||(N[0]=(...c)=>e(v)&&e(v)(...c))},[e(m)?(i(),r("span",T3,"Загрузка…")):(i(),r("span",U3,"Ещё ("+p(e(h))+" "+p(e(pt)("эпизод",e(h)))+")",1))],10,I3)])):g("",!0)],64)):g("",!0)],6)):g("",!0)}},N3=wt(q3,[["__scopeId","data-v-03f0af44"]]);const R3={class:"text-center text-2xl"},W3=["src"],G3={key:0,class:"mx-auto",width:"55",height:"55",viewBox:"0 0 55 55",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Q3=t("path",{d:"M55 27.5C55 42.6894 42.6894 55 27.5 55C12.3105 55 0 42.6894 0 27.5C0 12.3105 12.3105 0 27.5 0C42.6894 0 55 12.3105 55 27.5ZM18.9062 18.0469V36.9531C18.9062 37.8877 19.4111 38.7471 20.2275 39.1982C21.0332 39.6602 22.0322 39.6387 22.8271 39.1553L38.2959 29.7021C39.0586 29.2295 39.5312 28.4023 39.5312 27.5C39.5312 26.5977 39.0586 25.7705 38.2959 25.2979L22.8271 15.8447C22.0322 15.2646 21.0332 15.3398 20.2275 15.8018C19.4111 16.2529 18.9062 17.1123 18.9062 18.0469Z",fill:"white"},null,-1),J3=[Q3],K3={key:1,class:"mx-auto",xmlns:"http://www.w3.org/2000/svg",width:"55",height:"55","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 122.88 122.88","xml:space":"preserve"},X3=t("g",null,[t("path",{fill:"white",d:"M61.44,0c16.97,0,32.33,6.88,43.44,18c11.12,11.12,18,26.48,18,43.44c0,16.97-6.88,32.33-18,43.44 c-11.12,11.12-26.48,18-43.44,18c-16.97,0-32.33-6.88-43.44-18C6.88,93.77,0,78.41,0,61.44C0,44.47,6.88,29.11,18,18 C29.11,6.88,44.47,0,61.44,0L61.44,0z M42.3,39.47h13.59v43.95l-13.59,0V39.47L42.3,39.47L42.3,39.47z M66.99,39.47h13.59v43.95 l-13.59,0V39.47L66.99,39.47L66.99,39.47z M97.42,25.46c-9.21-9.21-21.93-14.9-35.98-14.9c-14.05,0-26.78,5.7-35.98,14.9 c-9.21,9.21-14.9,21.93-14.9,35.98s5.7,26.78,14.9,35.98c9.21,9.21,21.93,14.9,35.98,14.9c14.05,0,26.78-5.7,35.98-14.9 c9.21-9.21,14.9-21.93,14.9-35.98S106.63,34.66,97.42,25.46L97.42,25.46z"})],-1),Y3=[X3],el={class:"flex items-center justify-between leading-[17px]"},tl=["href"],ll=["href"],sl=t("span",{class:"hidden lg:inline-block"},"Хостинг подкастов",-1),ol={key:1,target:"_blank",class:"flex w-1/5 flex-1 justify-end",href:"#"},al=t("img",{class:"h-[10px] w-[10px] sm:h-3 sm:w-3",src:"/images/icons/logo-small.svg",alt:""},null,-1),il=[al],nl=s1('<option value="0.5" class="text-neutral-600">0.5x</option><option value="1" class="text-neutral-600">1.0x</option><option value="1.5" class="text-neutral-600">1.5x</option><option value="2" class="text-neutral-600">2.0x</option><option value="3" class="text-neutral-600">3.0x</option><option value="4" class="text-neutral-600">4.0x</option>',6),rl=[nl],dl=t("a",{target:"_blank",class:"ml-1 w-1/5",href:"#"},[t("img",{class:"h-[10px] w-[10px] sm:h-3 sm:w-3",src:"/images/icons/logo-small.svg",alt:""})],-1),ul={width:"13",height:"8",viewBox:"0 0 20 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cl=["fill"],xl={class:"hidden w-1/3 items-center sm:flex"},ml={class:"mr-1 flex"},hl=["title"],fl={key:0,width:"10",height:"10",viewBox:"0 0 10 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pl=["fill"],wl={key:1,width:"10",height:"10",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},vl={"clip-path":"url(#clip0_1_1270)"},gl=["fill"],Cl=t("defs",null,[t("clipPath",{id:"clip0_1_1270"},[t("rect",{width:"14",height:"14",fill:"white"})])],-1),bl={class:"leading-[12px]"},kl=t("svg",{class:"inline-block",width:"10",height:"10",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M1.91667 11.25C1.59583 11.25 1.32108 11.1359 1.09242 10.9076C0.864139 10.6789 0.75 10.4042 0.75 10.0833V6C0.75 5.27083 0.888444 4.58775 1.16533 3.95075C1.44261 3.31414 1.81711 2.75997 2.28883 2.28825C2.76017 1.81692 3.31433 1.44261 3.95133 1.16533C4.58794 0.888444 5.27083 0.75 6 0.75C6.72917 0.75 7.41225 0.888444 8.04925 1.16533C8.68586 1.44261 9.24003 1.81692 9.71175 2.28825C10.1831 2.75997 10.5574 3.31414 10.8347 3.95075C11.1116 4.58775 11.25 5.27083 11.25 6V10.0833C11.25 10.4042 11.1359 10.6789 10.9076 10.9076C10.6789 11.1359 10.4042 11.25 10.0833 11.25H8.91667C8.59583 11.25 8.32128 11.1359 8.093 10.9076C7.86433 10.6789 7.75 10.4042 7.75 10.0833V7.75C7.75 7.42917 7.86433 7.15442 8.093 6.92575C8.32128 6.69747 8.59583 6.58333 8.91667 6.58333H10.0833V6C10.0833 4.8625 9.68706 3.89747 8.8945 3.10492C8.10233 2.31275 7.1375 1.91667 6 1.91667C4.8625 1.91667 3.89767 2.31275 3.1055 3.10492C2.31294 3.89747 1.91667 4.8625 1.91667 6V6.58333H3.08333C3.40417 6.58333 3.67872 6.69747 3.907 6.92575C4.13567 7.15442 4.25 7.42917 4.25 7.75V10.0833C4.25 10.4042 4.13567 10.6789 3.907 10.9076C3.67872 11.1359 3.40417 11.25 3.08333 11.25H1.91667Z",fill:"#777777"})],-1),yl=["href"],_l={class:"bg-[#484848]/70 px-1 text-white"},Bl={key:0,class:"mb-4 flex justify-between"},Ll=["href"],Fl={class:"flex items-center"},Ml={class:"mr-1 flex"},Vl=["title"],$l={key:0,width:"10",height:"14",viewBox:"0 0 10 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Dl=["fill"],El={key:1,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Sl={"clip-path":"url(#clip0_1_1270)"},Hl=["fill"],Pl=t("defs",null,[t("clipPath",{id:"clip0_1_1270"},[t("rect",{width:"14",height:"14",fill:"white"})])],-1),jl={key:1,class:"flex justify-between"},zl={key:0,class:"mr-2 flex min-w-[100px] items-center justify-between sm:mr-10"},Al=t("svg",{width:"24",height:"18",viewBox:"0 0 24 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M22.1625 1.21876L13.9922 6.02344V2.55469C13.9922 1.22344 13.1672 0.623444 12.1547 1.21876L0.759375 7.91719C-0.253125 8.51251 -0.253125 9.48282 0.759375 10.0781L12.1547 16.7813C13.1672 17.3766 13.9922 16.7719 13.9922 15.4453V11.9766L22.1625 16.7813C23.175 17.3766 24 16.7719 24 15.4453V2.55469C24 1.22344 23.175 0.623444 22.1625 1.21876Z",fill:"#545454"})],-1),Zl=[Al],Ol=t("svg",{width:"24",height:"18",viewBox:"0 0 24 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M1.8375 16.7812L10.0078 11.9766V15.4453C10.0078 16.7766 10.8328 17.3766 11.8453 16.7812L23.2406 10.0828C24.2531 9.48749 24.2531 8.51718 23.2406 7.92187L11.8453 1.21874C10.8328 0.62343 10.0078 1.22812 10.0078 2.55468V6.02343L1.8375 1.21874C0.825001 0.62343 0 1.22812 0 2.55468V15.4453C0 16.7766 0.825001 17.3766 1.8375 16.7812Z",fill:"#545454"})],-1),Il=[Ol],Tl={class:"flex w-1/4 max-w-[91px] items-center justify-between"},Ul=s1('<option value="0.5" class="text-neutral-600">0.5x</option><option value="1" class="text-neutral-600">1.0x</option><option value="1.5" class="text-neutral-600">1.5x</option><option value="2" class="text-neutral-600">2.0x</option><option value="3" class="text-neutral-600">3.0x</option><option value="4" class="text-neutral-600">4.0x</option>',6),ql=[Ul],Nl={width:"20",height:"14",viewBox:"0 0 20 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Rl=["fill"],Wl={class:"mr-[18px]"},Gl={class:"w-full p-1.5"},Ql={class:"mb-1.5 flex justify-between sm:mb-3"},Jl=["href"],Kl=t("a",{target:"_blank",class:"ml-1 w-1/5",href:"#"},[t("img",{class:"h-[10px] w-[10px] sm:h-3 sm:w-3",src:"/images/icons/logo-small.svg",alt:""})],-1),Xl=s1('<option value="0.5" class="text-neutral-600">0.5x</option><option value="1" class="text-neutral-600">1.0x</option><option value="1.5" class="text-neutral-600">1.5x</option><option value="2" class="text-neutral-600">2.0x</option><option value="3" class="text-neutral-600">3.0x</option><option value="4" class="text-neutral-600">4.0x</option>',6),Yl=[Xl],es={class:"flex w-1/2 items-center"},ts={class:"mr-1 flex"},ls=["title"],ss={key:0,width:"10",height:"10",viewBox:"0 0 10 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},os=["fill"],as={key:1,width:"10",height:"10",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},is={"clip-path":"url(#clip0_1_1270)"},ns=["fill"],rs=t("defs",null,[t("clipPath",{id:"clip0_1_1270"},[t("rect",{width:"14",height:"14",fill:"white"})])],-1),ds={class:"max-h-[450px] w-full"},us=["src"],cs={class:"p-4"},xs={class:"flex"},ms={class:"flex flex-1 items-center justify-between"},hs={class:"leading-[12px]"},fs=t("svg",{class:"inline-block",width:"10",height:"10",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M1.91667 11.25C1.59583 11.25 1.32108 11.1359 1.09242 10.9076C0.864139 10.6789 0.75 10.4042 0.75 10.0833V6C0.75 5.27083 0.888444 4.58775 1.16533 3.95075C1.44261 3.31414 1.81711 2.75997 2.28883 2.28825C2.76017 1.81692 3.31433 1.44261 3.95133 1.16533C4.58794 0.888444 5.27083 0.75 6 0.75C6.72917 0.75 7.41225 0.888444 8.04925 1.16533C8.68586 1.44261 9.24003 1.81692 9.71175 2.28825C10.1831 2.75997 10.5574 3.31414 10.8347 3.95075C11.1116 4.58775 11.25 5.27083 11.25 6V10.0833C11.25 10.4042 11.1359 10.6789 10.9076 10.9076C10.6789 11.1359 10.4042 11.25 10.0833 11.25H8.91667C8.59583 11.25 8.32128 11.1359 8.093 10.9076C7.86433 10.6789 7.75 10.4042 7.75 10.0833V7.75C7.75 7.42917 7.86433 7.15442 8.093 6.92575C8.32128 6.69747 8.59583 6.58333 8.91667 6.58333H10.0833V6C10.0833 4.8625 9.68706 3.89747 8.8945 3.10492C8.10233 2.31275 7.1375 1.91667 6 1.91667C4.8625 1.91667 3.89767 2.31275 3.1055 3.10492C2.31294 3.89747 1.91667 4.8625 1.91667 6V6.58333H3.08333C3.40417 6.58333 3.67872 6.69747 3.907 6.92575C4.13567 7.15442 4.25 7.42917 4.25 7.75V10.0833C4.25 10.4042 4.13567 10.6789 3.907 10.9076C3.67872 11.1359 3.40417 11.25 3.08333 11.25H1.91667Z",fill:"#777777"})],-1),ps={class:"flex items-center"},ws={class:"mr-1 flex"},vs=["title"],gs={key:0,width:"10",height:"10",viewBox:"0 0 10 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Cs=["fill"],bs={key:1,width:"10",height:"10",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ks={"clip-path":"url(#clip0_1_1270)"},ys=["fill"],_s=t("defs",null,[t("clipPath",{id:"clip0_1_1270"},[t("rect",{width:"14",height:"14",fill:"white"})])],-1),Bs={class:"bg-[#484848]/70 px-1 text-white"},Ls={class:"flex justify-between p-3 pb-0"},Fs={class:"flex items-center text-xs text-[#DB4343]"},Ms={class:"flex items-center"},Vs={class:"ml-3 flex items-center"},$s=t("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M1.11111 10C0.805556 10 0.543889 9.8913 0.326111 9.67389C0.108704 9.45611 0 9.19444 0 8.88889V5C0 4.30556 0.131852 3.655 0.395556 3.04833C0.65963 2.44204 1.0163 1.91426 1.46556 1.465C1.91444 1.01611 2.44222 0.65963 3.04889 0.395556C3.65519 0.131852 4.30556 0 5 0C5.69444 0 6.345 0.131852 6.95167 0.395556C7.55796 0.65963 8.08574 1.01611 8.535 1.465C8.98389 1.91426 9.34037 2.44204 9.60444 3.04833C9.86815 3.655 10 4.30556 10 5V8.88889C10 9.19444 9.8913 9.45611 9.67389 9.67389C9.45611 9.8913 9.19444 10 8.88889 10H7.77778C7.47222 10 7.21074 9.8913 6.99333 9.67389C6.77556 9.45611 6.66667 9.19444 6.66667 8.88889V6.66667C6.66667 6.36111 6.77556 6.09944 6.99333 5.88167C7.21074 5.66426 7.47222 5.55556 7.77778 5.55556H8.88889V5C8.88889 3.91667 8.51148 2.99759 7.75667 2.24278C7.00222 1.48833 6.08333 1.11111 5 1.11111C3.91667 1.11111 2.99778 1.48833 2.24333 2.24278C1.48852 2.99759 1.11111 3.91667 1.11111 5V5.55556
1H2.22222C2.52778 5.55556 2.78926 5.66426 3.00667 5.88167C3.22444 6.09944 3.33333 6.36111 3.33333 6.66667V8.88889C3.33333 9.19444 3.22444 9.45611 3.00667 9.67389C2.78926 9.8913 2.52778 10 2.22222 10H1.11111Z",fill:"#777777"})],-1),Ds={class:"ml-2 text-[10px] text-[#777777]"},Es={class:"flex justify-between p-6"},Ss={key:0,class:"mr-2 flex min-w-[100px] items-center justify-between sm:mr-10"},Hs=t("svg",{width:"24",height:"18",viewBox:"0 0 24 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M22.1625 1.21876L13.9922 6.02344V2.55469C13.9922 1.22344 13.1672 0.623444 12.1547 1.21876L0.759375 7.91719C-0.253125 8.51251 -0.253125 9.48282 0.759375 10.0781L12.1547 16.7813C13.1672 17.3766 13.9922 16.7719 13.9922 15.4453V11.9766L22.1625 16.7813C23.175 17.3766 24 16.7719 24 15.4453V2.55469C24 1.22344 23.175 0.623444 22.1625 1.21876Z",fill:"#545454"})],-1),Ps=[Hs],js=t("svg",{width:"24",height:"18",viewBox:"0 0 24 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M1.8375 16.7812L10.0078 11.9766V15.4453C10.0078 16.7766 10.8328 17.3766 11.8453 16.7812L23.2406 10.0828C24.2531 9.48749 24.2531 8.51718 23.2406 7.92187L11.8453 1.21874C10.8328 0.62343 10.0078 1.22812 10.0078 2.55468V6.02343L1.8375 1.21874C0.825001 0.62343 0 1.22812 0 2.55468V15.4453C0 16.7766 0.825001 17.3766 1.8375 16.7812Z",fill:"#545454"})],-1),zs=[js],As={class:"flex w-1/4 max-w-[91px] items-center justify-between"},Zs=s1('<option value="0.5" class="text-neutral-600">0.5x</option><option value="1" class="text-neutral-600">1.0x</option><option value="1.5" class="text-neutral-600">1.5x</option><option value="2" class="text-neutral-600">2.0x</option><option value="3" class="text-neutral-600">3.0x</option><option value="4" class="text-neutral-600">4.0x</option>',6),Os=[Zs],Is={width:"20",height:"14",viewBox:"0 0 20 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ts=["fill"],Us={key:4,class:"relative"},qs=s1('<svg width="25" height="9" viewBox="0 0 25 9" fill="none" xmlns="http://www.w3.org/2000/svg"><g filter="url(#filter0_d_1_3293)"><path d="M23.5 7.41667C23.5 7.73883 23.2388 8 22.9167 8H1.58333C1.26117 8 1 7.73883 1 7.41667C1 7.0945 1.26117 6.83333 1.58333 6.83333H22.9167C23.2388 6.83333 23.5 7.0945 23.5 7.41667ZM23.5 4.5C23.5 4.82217 23.2388 5.08333 22.9167 5.08333H1.58333C1.26117 5.08333 1 4.82217 1 4.5C1 4.17783 1.26117 3.91667 1.58333 3.91667H22.9167C23.2388 3.91667 23.5 4.17783 23.5 4.5ZM23.5 1.58333C23.5 1.9055 23.2388 2.16667 22.9167 2.16667H1.58333C1.26117 2.16667 1 1.9055 1 1.58333C1 1.26117 1.26117 1 1.58333 1H22.9167C23.2388 1 23.5 1.26117 23.5 1.58333Z" fill="#A2A2A2"></path></g><defs><filter id="filter0_d_1_3293" x="0" y="0" width="24.5" height="9" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset></feOffset><feGaussianBlur stdDeviation="0.5"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1_3293"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1_3293" result="shape"></feBlend></filter></defs></svg>',1),Ns={class:"py-2 text-sm"},Rs=s1('<svg width="25" height="9" viewBox="0 0 25 9" fill="none" xmlns="http://www.w3.org/2000/svg"><g filter="url(#filter0_d_1_3293)"><path d="M23.5 7.41667C23.5 7.73883 23.2388 8 22.9167 8H1.58333C1.26117 8 1 7.73883 1 7.41667C1 7.0945 1.26117 6.83333 1.58333 6.83333H22.9167C23.2388 6.83333 23.5 7.0945 23.5 7.41667ZM23.5 4.5C23.5 4.82217 23.2388 5.08333 22.9167 5.08333H1.58333C1.26117 5.08333 1 4.82217 1 4.5C1 4.17783 1.26117 3.91667 1.58333 3.91667H22.9167C23.2388 3.91667 23.5 4.17783 23.5 4.5ZM23.5 1.58333C23.5 1.9055 23.2388 2.16667 22.9167 2.16667H1.58333C1.26117 2.16667 1 1.9055 1 1.58333C1 1.26117 1.26117 1 1.58333 1H22.9167C23.2388 1 23.5 1.26117 23.5 1.58333Z" fill="#A2A2A2"></path></g><defs><filter id="filter0_d_1_3293" x="0" y="0" width="24.5" height="9" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
1<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset></feOffset><feGaussianBlur stdDeviation="0.5"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1_3293"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1_3293" result="shape"></feBlend></filter></defs></svg>',1),m0={__name:"PlayerView",props:{podcast:{type:Object,default:null},iframeStyles:{type:Object,default:null},podcastPlaylistName:{type:String,default:null},firstEpisode:{type:Object,required:!0},playerType:{type:String,required:!0},showList:{type:Number,required:!0},episodesPagination:{type:Object,default:null},skin:{type:String,required:!0}},emits:["mounted"],setup(l,{emit:b}){var H1,P1,j1;const n=l;let o={...et().darkModeEnabled},f=ot(),m=w(!1),P=w({}),E=w(0),F=w(),h=w(n.skin==="middle"),L=w(n.skin==="vertical"),v=w(n.skin==="large"),C=w(n.skin==="small"),y=w(0),N=w(null),c=w(!1),B=w(1),R=w(.5),j=w(0),d1=w(!0),d=w(n.showList?((P1=(H1=n.episodesPagination)==null?void 0:H1.data)==null?void 0:P1[0])??{}:n.firstEpisode??{}),$1=w(3),S=w(n.showList&&Array.isArray((j1=n.episodesPagination)==null?void 0:j1.data)?[...n.episodesPagination.data]:[]),Y=w(!0),k1=w(!1),y1=w(0),D1=w(!0);const O=w(),e1=w();let M=$e({isTablet:!1,isMobile:!1,isSmallMobile:!1}),u1=st("podster-fm.store-driven-player");const Ee=["#B4B4B4","#FFF500"],Se=["#444444","#DB4343"];let{play:He,playNew:_1,pause:Pe,seekTo:W,duration:I,seek:B1,progressPercent:je}=lt(null,{mute:c,volume:R,rate:B,onplay:()=>{f.playingOrLoading=!0,u1.supported&&u1.send("play"),O.value&&P.value&&F1()},onpause:()=>{f.playingOrLoading=!1},onend:()=>{f.playingOrLoading=!1,E.value=0,f.playNext()},onloaderror:()=>{be("Ошибка загрузки аудио"),f.error()},onplayerror:()=>{be("Ошибка воспроизведения аудио"),f.error()}});const ze=u=>{let s="";switch(n.playerType){case"podcast":s=n.podcast.id;break;case"episode":s=u.episode;break;default:s=u.collection}window.location.href=`/redirect-from-player/${n.playerType}/${s}`};Xe(()=>{var s;const u=new Proxy(new URLSearchParams(window.location.search),{get:($,U)=>$.get(U)});window.referer&&window.location.href===((s=window.parent)==null?void 0:s.location.href)&&n.skin!=="vertical"&&ze(u),F.value=u.showAuditions!=="hide",$1.value=u.episodesCount,o.value=u.theme==="dark",k1.value=u.showDownload!=="hide",D1.value=u.showPlayerCode!=="hide"}),De(async()=>{M.isTablet=document.documentElement.clientWidth<=768,M.isMobile=document.documentElement.clientWidth<=620,M.isSmallMobile=document.documentElement.clientWidth<=470,C.value||setTimeout(()=>{M.isSmallMobile&&v.value&&(e1.value.style.width=document.documentElement.clientWidth+"px"),S1()}),window.addEventListener("resize",We),b("mounted"),d.value&&z.value===!0&&(_1(d.value.audio.url),o1.value!==null&&W(o1.value)),u1.supported&&u1.addListener(u=>{u.data==="play"&&f.pause()})});let Ae=V(()=>v.value?"large":h.value?"middle":L.value?"vertical-normal":"small"),c1=V(()=>f.episode),z=V(()=>f.playingOrLoading),o1=V(()=>f.seekToSeconds),a1=V(()=>Math.floor(B1.value)),x1=V(()=>c.value?0:R.value/1*100),T=V(()=>E1.value!==null?E1.value:je.value),E1=V(()=>N.value===null?null:N.value/I.value*100);r1(z,()=>{z.value?He():Pe()}),r1(c1,()=>{n.showList&&(y1.value=S.value.findIndex(s=>{var $;return s.id===(($=c1==null?void 0:c1.value)==null?void 0:$.id)}));let u=d.value;n.playerType!=="episode"&&(u=S.value[y1.value],d.value=u),d.value?_1(u.audio.url):stop()}),r1(o1,()=>{o1.value!==null&&W(o1.value)}),r1(T,u=>{u&&!C.value&&d1.value&&P.value.drawBars(u)},{immediate:!0});let Ze=u=>{let s=new URLSearchParams(window.location.search);return s.set("page",String(u)),"?"+s.toString()},Oe=(u,s)=>{let $=!1;for(let U in u)if(s.find(Q=>Q.id==u[U].id)){$=!0;break}return $},m1=w(null),Ie=u=>{var s,$,U;if((($=(s=n.episodesPagination)==null?void 0:s.links)==null?void 0:$.next)==null){(U=m1.value)==null||U.markLoaded();return}Ye.get(`${window.location.pathname}${Ze(u)}`,{},{preserveState:!0,onSuccess:()=>{var q,Q;Array.isArray((q=n.episodesPagination)==null?void 0:q.data)&&!Oe(S.value,
1n.episodesPagination.data)&&(S.value=[...S.value,...n.episodesPagination.data]),(Q=m1.value)==null||Q.markLoaded()},onError:()=>{var q;(q=m1.value)==null||q.markLoaded()}})},L1=u=>{u&&(W(u==="prev"?B1.value-15:B1.value+30),F1())},Te=u=>{d.value=S.value.filter(s=>{if(s.id===u)return!0})[0],_1(d.value.audio.url)},Ue=u=>{W(I.value*J(u))},qe=u=>{let s=I.value*J(u.srcEvent,u.currentTarget);s=Math.max(0,s),s=Math.min(I.value,s),N.value=s},Ne=()=>{W(N.value)},G=()=>{var s,$;let u={items:S.value.length?S.value:[d.value.audio.url],name:(s=d.value)==null?void 0:s.podcast.name,link:($=d.value)==null?void 0:$.podcast.show_url};f.togglePlay(u,y1.value)},h1=u=>{!z.value&&!a1.value?G():(E.value=tt(u),W(I.value*J(u)),F1())},f1=u=>{z.value&&(y.value=J(u)*100,j.value=A(Math.round(J(u)*I.value)))},p1=()=>{y.value=0,j.value=0},F1=()=>{O.value.getContext("2d").clearRect(0,0,O.value.width,O.value.height),P.value.drawBars(E)},S1=(u=null)=>{O.value.width=u??e1.value.offsetWidth,O.value.height="54",P.value=new at({canvas:O.value,device:M,skinType:h.value?"middle":"large",padding:0,overheardPeriod:E.value,gridScale:5,colors:o.value?Ee:Se,darkModeEnabled:o.value,playerVersion:"new"}),P.value.drawBars(E)},Re=()=>{M.isTablet=document.documentElement.clientWidth<=768,M.isMobile=document.documentElement.clientWidth<=620,M.isSmallMobile=document.documentElement.clientWidth<=470,M.isSmallMobile&&v.value&&(e1.value.style.width=document.documentElement.clientWidth+"px"),S1()},w1=u=>{c.value=!1,R.value=J(u)},v1=u=>{c.value=!1;let s=J(u.srcEvent,u.currentTarget);s=Math.max(0,s),s=Math.min(1,s),R.value=s},We=()=>{C.value||Re()};return(u,s)=>{var $,U,q,Q,z1,A1,Z1,O1,I1,T1,U1,q1,N1,R1,W1,G1,Q1,J1,K1,X1,Y1,ee,te,le,se,oe,ae,ie,ne,re,de,ue,ce,xe,me,he,fe,pe,we;return i(),r("div",{ref:"playerContent",class:a(["overflow-hidden",{dark:e(o),"max-w-[450px]":e(L)}])},[(l.playerType==="collection_podcast"||l.playerType==="collection_playlist")&&!e(C)&&!e(L)?(i(),r("div",{key:0,class:a(["flex h-20 items-center justify-center",{"bg-[#737373] text-[#F8F8F8]":e(o),"bg-[#EEEEEE] text-[#474481]":!e(o)}])},[t("p",R3,"Подборка: "+p(l.podcastPlaylistName),1)],2)):g("",!0),!e(C)&&!e(L)?(i(),r("div",{key:1,class:a(["flex items-center justify-between",{"!bg-[#333333]":e(o),"bg-white":!e(o),"max-h-[200px] min-h-[200px] p-5":e(v),"max-h-[100px] min-h-[100px]":e(h),relative:e(M).isSmallMobile,"rounded-lg":!l.showList&&!l.playerType==="collection_podcast"&&!l.playerType==="collection_playlist","rounded-t-xl":l.showList&&!l.playerType==="collection_podcast"&&!l.playerType==="collection_playlist"}])},[t("div",{class:a(["flex w-full",e(h)?"items-start":"items-center"])},[t("div",{class:a(["flex",{"!h-[100px] !w-[100px] items-center justify-center bg-[#545454]":e(h),"h-[159px] w-[159px] rounded-lg 3xs:block":e(v)}])},[t("div",{class:a(["w-full",e(h)?"pt-4":""])},[e(v)?(i(),r("img",{key:0,class:"h-full w-full rounded-lg object-cover",src:((U=($=e(d))==null?void 0:$.cover_image)==null?void 0:U.sm)??((z1=(Q=(q=e(d))==null?void 0:q.podcast)==null?void 0:Q.cover_image)==null?void 0:z1.sm),alt:"Episode img"},null,8,W3)):(i(),r("button",{key:1,class:"w-full",onClick:s[0]||(s[0]=x=>e(G)())},[e(z)?(i(),r("svg",K3,Y3)):(i(),r("svg",G3,J3))])),e(h)?(i(),H(M1,{key:2,class:"mx-auto !w-full px-1","dark-mode-enabled":!0,onSeek:s[1]||(s[1]=x=>e(L1)(x))})):g("",!0)],2)],2),(A1=e(d).podcast)!=null&&A1.explicit?(i(),H(ke,{key:0,class:"items-center justify-center md:flex"})):g("",!0),t("div",{ref_key:"canvasParent",ref:e1,class:a(["relative block w-full flex-1 3xs:text-left",{"!ml-0":((Z1=e(d).podcast)==null?void 0:Z1.explicit)&&!e(v),"!ml-[5px]":((O1=e(d).podcast)==null?void 0:O1.explicit)&&e(v),"ml-0 ml-8 text-center ":e(v),"ml-3 pt-1":e(h)}])},[t("div",el,[t("a",{target:"_blank",href:(I1=e(d))==null?void 0:I1.podcast.show_url,class:a(["font-normal text-[#444444]",{"text-[#FFFFFF]":e(o),"text-[8px] leading-[0] 3xs:text-xs sm:text-xs":e(h),"mx-auto mb-1 text-xs 3xs:m-[unset] 3xs:text-xs xs:text-xs sm:text-sm":e(v)}])}," Подкаст: "+p(e(M).isMobile?((U1=e(d))==null?void 0:U1.podcast.name.slice(0,20))+"...":(T1=e(d))==null?void 0:T1.podcast.name),11,tl),e(v)&&!e(M).isSmallMobile?(i(),r("a",{key:0,target:"_blank",class:a([e(o)?"text-[#DEDEDE]":"text-brand-300","hidden flex-1 text-right text-xs font-normal 3xs:inline-block"]),href:e(d).show_url},[sl,X(" Podster.fm ")],10,ll)):g("",!0),e(M).isSmallMobile&&!e(h)?(i(),r("a",ol,il)):g("",!0),e(h)?(i(),r("div",{key:2,class:a([e(M).isSmallMobile?"w-[67px]":"w-[80px]","flex max-w-[unset] items-center justify-end pr-3 3xs:justify-between sm:w-[159px] sm:pr-3 md:w-[300px]"])},[l1(t("select",{"onUpdate:modelValue":s[2]||(s[2]=x=>D(B)?B.value=x:B=x),class:a(["flex w-1/3 cursor-pointer appearance-none border-none bg-inherit p-0 text-xs tracking-tighter focus:ring-0 sm:w-1/4",e(o)?"text-[#dbdbdb]":"text-brand-300"]),style:{"background-image":"none"},title:"Скорость воспроизведения"},rl,2),[[C1,e(B)]]),dl,t("button",{class:"ml-1 w-1/5",onClick:s[3]||(s[3]=x=>D(m)?m.value=!0:m=!0)},[(i(),r("svg",ul,[t("path",{d:"M10 10.625C10 10.0727 9.55228 9.625 9 9.625H8C6.3596 9.62445 4.75023 10.
10163 3.34588 10.758C2.16508 11.3817 1.167 12.2329 0.425248 13.2432C0.292474 13.4241 -0.000130148 13.3494 1.33261e-06 13.125V13.125C1.33261e-06 8.58738 3.9471 4.85668 9.00104 4.41811C9.55125 4.37036 10 3.92729 10 3.375V1.92066C10 1.11163 10.9107 0.63748 11.5735 1.10142L18.8297 6.18077C19.3984 6.57887 19.3984 7.42113 18.8297 7.81923L11.5735 12.8986C10.9107 13.3625 10 12.8884 10 12.0793V10.625Z",fill:e(o)?"#B4B4B4":"#545454"},null,8,cl)]))]),t("div",xl,[t("div",ml,[t("button",{type:"button",class:"mr-1",title:e(c)?"Включить звук":"Выключить звук",onClick:s[4]||(s[4]=x=>D(c)?c.value=!e(c):c=!e(c))},[e(c)?(i(),r("svg",wl,[t("g",vl,[t("path",{d:"M8.4 2.40011C8.40002 2.31755 8.37813 2.23645 8.33657 2.16511C8.295 2.09376 8.23525 2.03472 8.16342 1.99401C8.09159 1.9533 8.01023 1.93238 7.92767 1.93338C7.84511 1.93439 7.76429 1.95727 7.69347 1.99971L3.13787 4.73158H1.4C0.626267 4.73158 0 5.35691 0 6.13158V9.86678C0 10.6405 0.625333 11.2668 1.4 11.2668H3.13787L7.69253 14.0005C7.76338 14.0432 7.8443 14.0663 7.927 14.0674C8.0097 14.0685 8.09121 14.0476 8.16319 14.0069C8.23517 13.9662 8.29503 13.907 8.33664 13.8356C8.37825 13.7641 8.40012 13.6828 8.4 13.6001V2.40011ZM12.3265 7.99638L13.6463 9.31518L12.9864 9.97505L11.6667 8.65625L10.3469 9.97505L9.68707 9.31518L11.0068 7.99638L9.68707 6.67758L10.3469 6.01771L11.6667 7.33651L12.9873 6.01771L13.6463 6.67758L12.3265 7.99638Z",fill:e(o)?"#B4B4B4":"#545454"},null,8,gl)]),Cl])):(i(),r("svg",fl,[t("path",{d:"M8.76841 1.57199C8.76842 1.48942 8.74653 1.40833 8.70497 1.33698C8.66341 1.26564 8.60366 1.2066 8.53183 1.16589C8.45999 1.12518 8.37864 1.10426 8.29608 1.10526C8.21352 1.10626 8.1327 1.12915 8.06187 1.17159L3.50627 3.90346H1.76841C0.994675 3.90346 0.368408 4.52879 0.368408 5.30346V9.03866C0.368408 9.81239 0.993741 10.4387 1.76841 10.4387H3.50627L8.06094 13.1724C8.13179 13.2151 8.2127 13.2382 8.2954 13.2393C8.37811 13.2404 8.45962 13.2195 8.5316 13.1788C8.60358 13.138 8.66344 13.0789 8.70505 13.0074C8.74666 12.936 8.76852 12.8547 8.76841 12.772V1.57199Z",fill:e(o)?"#B4B4B4":"#545454"},null,8,pl)]))],8,hl)]),k(i1,{class:"flex h-0.5 w-16 cursor-pointer items-center bg-[#ddd] lg:w-24 xl:h-[3px] xl:w-32",onPanMove:e(v1),onClick:e(w1)},{default:_(()=>[t("span",{class:"inline-block h-full bg-[#545454]",style:Z({width:`${e(x1)}%`})},null,4)]),_:1},8,["onPanMove","onClick"])])],2)):g("",!0)]),t("div",bl,[t("span",{class:a(["mr-3 text-[8px] text-[#777777] sm:mr-5",{"!mr-[2px]":e(h),"text-[10px]":!e(h),"text-[#C1BEBE]":e(o)}])}," Сезон:"+p(e(d).season),3),t("span",{class:a(["mr-2 text-[8px] text-[#777777] sm:mr-5",{"!mr-[0]":e(h),"text-[10px]":!e(h),"text-[#C1BEBE]":e(o)}])}," Эпизод:"+p(e(d).number),3),t("span",{class:a(["mr-2 text-[8px] text-[#777777] sm:mr-5",{"!mr-[0]":e(h),"text-[10px":!e(h),"text-[#C1BEBE]":e(o)}])},p(e(d).human_publish_date),3),e(F)!=0?(i(),r("span",{key:0,class:a(["text-[8px] text-[#777777]",{"!mr-[0]":e(h),"text-[8px]":!e(h),"text-[#C1BEBE]":e(o)}])},[kl,X(" "+p(((N1=(q1=e(d))==null?void 0:q1.listening_total)==null?void 0:N1.total)??0),1)],2)):g("",!0)]),e(h)?g("",!0):(i(),r("a",{key:0,target:"_blank",href:e(d).show_url,class:a(["block text-xs",{"mb-3 text-xs text-[#DB4343] 3xs:hidden md:text-base":e(v)}])},p(e(M).isSmallMobile?e(d).name.slice(0,33)+"...":e(d).name),11,yl)),t("div",null,[t("div",{ref_key:"canvasParent",ref:e1,class:"flex items-center"},[t("div",{class:a(["relative h-[54px] cursor-pointer",e(h)?"flex items-end":""])},[t("div",{class:"border-w-2 absolute flex h-full items-center border-l border-black",style:Z({left:e(y)!==0?`${e(y)}%`:`${e(T)}%`,marginLeft:e(y)?"10px":""})},[t("span",_l,p(e(j)!==0?e(j):e(A)(e(a1))),1)],4),t("span",{class:a(["absolute right-0 px-1 text-[#373737]",{"bottom-[16px] bg-[#FFFFFF]/80 text-sm":e(h),"bg-[#FFFFFF]":e(h)&&e(o),"bottom-[16px] bg-[#FFFFFF]/80":!e(h),"bg-[#FFFFFF]/70":!e(h)&&e(o)}])},p(e(A)(e(I))),3),t("div",{onClick:s[5]||(s[5]=K((...x)=>e(h1)&&e(h1)(...x),["prevent"])),onMousemove:s[6]||(s[6]=K((...x)=>e(f1)&&e(f1)(...x),["prevent"])),onMouseout:s[7]||(s[7]=K((...x)=>e(p1)&&e(p1)(...x),["prevent"]))},[t("canvas",{id:"canvas",ref_key:"myCanvas",ref:O,class:a(["max-w-full",e(h)?"mb-0":"mb-3"])}
1,null,2)],32)],2)],512),e(v)?(i(),r("div",Bl,[t("a",{target:"_blank",href:e(d).show_url,class:a([{"text-[#FFF500]":e(o)},"block text-[8px] text-[#DB4343] sm:text-sm lg:text-base"])},p(e(M).isSmallMobile?e(d).name.slice(0,18)+"...":e(d).name),11,Ll),t("div",Fl,[t("div",Ml,[t("button",{type:"button",class:"mr-1",title:e(c)?"Включить звук":"Выключить звук",onClick:s[8]||(s[8]=x=>D(c)?c.value=!e(c):c=!e(c))},[e(c)?(i(),r("svg",El,[t("g",Sl,[t("path",{d:"M8.4 2.40011C8.40002 2.31755 8.37813 2.23645 8.33657 2.16511C8.295 2.09376 8.23525 2.03472 8.16342 1.99401C8.09159 1.9533 8.01023 1.93238 7.92767 1.93338C7.84511 1.93439 7.76429 1.95727 7.69347 1.99971L3.13787 4.73158H1.4C0.626267 4.73158 0 5.35691 0 6.13158V9.86678C0 10.6405 0.625333 11.2668 1.4 11.2668H3.13787L7.69253 14.0005C7.76338 14.0432 7.8443 14.0663 7.927 14.0674C8.0097 14.0685 8.09121 14.0476 8.16319 14.0069C8.23517 13.9662 8.29503 13.907 8.33664 13.8356C8.37825 13.7641 8.40012 13.6828 8.4 13.6001V2.40011ZM12.3265 7.99638L13.6463 9.31518L12.9864 9.97505L11.6667 8.65625L10.3469 9.97505L9.68707 9.31518L11.0068 7.99638L9.68707 6.67758L10.3469 6.01771L11.6667 7.33651L12.9873 6.01771L13.6463 6.67758L12.3265 7.99638Z",fill:e(o)?"#B4B4B4":"#545454"},null,8,Hl)]),Pl])):(i(),r("svg",$l,[t("path",{d:"M8.76841 1.57199C8.76842 1.48942 8.74653 1.40833 8.70497 1.33698C8.66341 1.26564 8.60366 1.2066 8.53183 1.16589C8.45999 1.12518 8.37864 1.10426 8.29608 1.10526C8.21352 1.10626 8.1327 1.12915 8.06187 1.17159L3.50627 3.90346H1.76841C0.994675 3.90346 0.368408 4.52879 0.368408 5.30346V9.03866C0.368408 9.81239 0.993741 10.4387 1.76841 10.4387H3.50627L8.06094 13.1724C8.13179 13.2151 8.2127 13.2382 8.2954 13.2393C8.37811 13.2404 8.45962 13.2195 8.5316 13.1788C8.60358 13.138 8.66344 13.0789 8.70505 13.0074C8.74666 12.936 8.76852 12.8547 8.76841 12.772V1.57199Z",fill:e(o)?"#B4B4B4":"#545454"},null,8,Dl)]))],8,Vl)]),k(i1,{class:"flex h-0.5 w-16 cursor-pointer items-center bg-[#ddd] lg:w-16 xl:h-[3px]",onPanMove:e(v1),onClick:e(w1)},{default:_(()=>[t("span",{class:a(["inline-block h-full bg-[#545454]",{"bg-[#B4B4B4]":e(o)}]),style:Z({width:`${e(x1)}%`})},null,6)]),_:1},8,["onPanMove","onClick"])])])):g("",!0),e(v)?(i(),r("div",jl,[t("div",{class:a(["flex",l.showList?"":"w-1/3"])},[l.showList?(i(),r("div",zl,[t("button",{onClick:s[9]||(s[9]=x=>e(f).playPrevious())},Zl),k(n1,{"playing-or-loading":e(z),"dark-mode-enabled":e(o),onTogglePlay:s[10]||(s[10]=x=>e(G)())},null,8,["playing-or-loading","dark-mode-enabled"]),t("button",{onClick:s[11]||(s[11]=x=>e(f).playNext())},Il)])):g("",!0),k(M1,{class:a(["min-w-[50px] sm:min-w-[70px]",l.showList?"":"!w-full"]),"dark-mode-enabled":e(o),onSeek:s[13]||(s[13]=x=>e(L1)(x))},{button:_(()=>[l.showList?g("",!0):(i(),H(n1,{key:0,"playing-or-loading":e(z),"dark-mode-enabled":e(o),onTogglePlay:s[12]||(s[12]=x=>e(G)())},null,8,["playing-or-loading","dark-mode-enabled"]))]),_:1},8,["class","dark-mode-enabled"])],2),t("div",Tl,[l1(t("select",{"onUpdate:modelValue":s[14]||(s[14]=x=>D(B)?B.value=x:B=x),class:a([e(o)?"text-[#B4B4B4]":"text-brand-300","flex cursor-pointer appearance-none border-none bg-inherit px-0 text-sm tracking-tighter focus:ring-0 xl:text-base"]),style:{"background-image":"none"},title:"Скорость воспроизведения"},ql,2),[[C1,e(B)]]),t("button",{onClick:s[15]||(s[15]=x=>D(m)?m.value=!0:m=!0)},[(i(),r("svg",Nl,[t("path",{d:"M10 10.625C10 10.0727 9.55228 9.625 9 9.625H8C6.3596 9.62445 4.75023 10.
10163 3.34588 10.758C2.16508 11.3817 1.167 12.2329 0.425248 13.2432C0.292474 13.4241 -0.000130148 13.3494 1.33261e-06 13.125V13.125C1.33261e-06 8.58738 3.9471 4.85668 9.00104 4.41811C9.55125 4.37036 10 3.92729 10 3.375V1.92066C10 1.11163 10.9107 0.63748 11.5735 1.10142L18.8297 6.18077C19.3984 6.57887 19.3984 7.42113 18.8297 7.81923L11.5735 12.8986C10.9107 13.3625 10 12.8884 10 12.0793V10.625Z",fill:e(o)?"#B4B4B4":"#545454"},null,8,Rl)]))])])])):g("",!0)])],2)],2)],2)):e(C)&&!e(L)?(i(),r("div",{key:2,class:a(["flex h-[50px]",{"!bg-[#333333]":e(o),"bg-white":!e(o)}])},[t("div",Wl,[t("div",{class:"flex h-[50px] w-[50px] cursor-pointer items-center justify-center bg-[gray]",onClick:s[16]||(s[16]=x=>e(G)())},[k(n1,{size:"small","fill-color":"white",class:"h-[15px] w-[15px]","playing-or-loading":e(z),"dark-mode-enabled":!0},null,8,["playing-or-loading"])])]),t("div",Gl,[t("div",Ql,[t("a",{target:"_blank",href:(R1=e(d))==null?void 0:R1.podcast.show_url,class:a([{"text-[#FFFFFF]":e(o)},"text-[9px] font-normal text-[#444444] sm:text-xs"])}," Подкаст: "+p(e(M).isMobile?((G1=e(d))==null?void 0:G1.podcast.name.slice(0,20))+"...":(W1=e(d))==null?void 0:W1.podcast.name),11,Jl),t("div",{class:a([e(M).isSmallMobile?"w-[67px]":"","flex w-[170px] max-w-[unset] items-center justify-end pr-3 3xs:justify-between sm:pr-3"])},[Kl,l1(t("select",{"onUpdate:modelValue":s[17]||(s[17]=x=>D(B)?B.value=x:B=x),class:a([e(o)?"text-[#dbdbdb]":"text-brand-300","flex w-1/4 cursor-pointer appearance-none border-none bg-inherit p-0 text-xs tracking-tighter focus:ring-0 sm:w-1/4"]),style:{"background-image":"none"},title:"Скорость воспроизведения"},Yl,2),[[C1,e(B)]]),t("div",es,[t("div",ts,[t("button",{type:"button",class:"mr-1",title:e(c)?"Включить звук":"Выключить звук",onClick:s[18]||(s[18]=x=>D(c)?c.value=!e(c):c=!e(c))},[e(c)?(i(),r("svg",as,[t("g",is,[t("path",{d:"M8.4 2.40011C8.40002 2.31755 8.37813 2.23645 8.33657 2.16511C8.295 2.09376 8.23525 2.03472 8.16342 1.99401C8.09159 1.9533 8.01023 1.93238 7.92767 1.93338C7.84511 1.93439 7.76429 1.95727 7.69347 1.99971L3.13787 4.73158H1.4C0.626267 4.73158 0 5.35691 0 6.13158V9.86678C0 10.6405 0.625333 11.2668 1.4 11.2668H3.13787L7.69253 14.0005C7.76338 14.0432 7.8443 14.0663 7.927 14.0674C8.0097 14.0685 8.09121 14.0476 8.16319 14.0069C8.23517 13.9662 8.29503 13.907 8.33664 13.8356C8.37825 13.7641 8.40012 13.6828 8.4 13.6001V2.40011ZM12.3265 7.99638L13.6463 9.31518L12.9864 9.97505L11.6667 8.65625L10.3469 9.97505L9.68707 9.31518L11.0068 7.99638L9.68707 6.67758L10.3469 6.01771L11.6667 7.33651L12.9873 6.01771L13.6463 6.67758L12.3265 7.99638Z",fill:e(o)?"#B4B4B4":"#545454"},null,8,ns)]),rs])):(i(),r("svg",ss,[t("path",{d:"M8.76841 1.57199C8.76842 1.48942 8.74653 1.40833 8.70497 1.33698C8.66341 1.26564 8.60366 1.2066 8.53183 1.16589C8.45999 1.12518 8.37864 1.10426 8.29608 1.10526C8.21352 1.10626 8.1327 1.12915 8.06187 1.17159L3.50627 3.90346H1.76841C0.994675 3.90346 0.368408 4.52879 0.368408 5.30346V9.03866C0.368408 9.81239 0.993741 10.4387 1.76841 10.4387H3.50627L8.06094 13.1724C8.13179 13.2151 8.2127 13.2382 8.2954 13.2393C8.37811 13.2404 8.45962 13.2195 8.5316 13.1788C8.60358 13.138 8.66344 13.0789 8.70505 13.0074C8.74666 12.936 8.76852 12.8547 8.76841 12.772V1.57199Z",fill:e(o)?"#B4B4B4":"#545454"},null,8,os)]))],8,ls)]),k(i1,{class:"flex h-0.5 w-16 cursor-pointer items-center bg-[#ddd] lg:w-24 xl:h-[3px] xl:w-32",onPanMove:e(v1),onClick:e(w1)},{default:_(()=>[t("span",{class:"inline-block h-full bg-[#545454]",style:Z({width:`${e(x1)}%`})},null,4)]),_:1},8,["onPanMove","onClick"])])],2)]),k(i1,{class:a([{"bg-neutral-500":e(o)},"group relative h-[2px] w-full cursor-pointer rounded-xl bg-brand-gray-300 bg-[#777777]"]),onPanMove:e(qe),onPanEnd:e(Ne),onClick:e(Ue)},{default:_(()=>[t("span",{class:a(["absolute text-center text-[10px] font-light",{"text-[#FFFFFF]":e(o),"text-[black]":!e(o)}]),style:Z({left:`${e(T)<90?e(T)+2:e(T)-3}%`,top:e(T)<93?"-18px":"-3px"})},p(e(j)!==0?e(j):e(A)(e(a1))),7),t("span",{class:a([{"bg-[gray]":e(o),"bg-[#333333]":!e(o)},"absolute -top-[5px] h-3 w-3 rounded-full"]),style:Z({left:`${e(T)}%`})}
1,null,6),t("span",{class:a(["absolute h-full bg-[#D1D1D1]",{"bg-neutral-100":e(o)}]),style:Z({width:`${e(T)}%`})},null,6),t("span",{class:a(["absolute -top-[18px] right-0 text-[10px] font-light text-[black]",{"text-[#FFFFFF]":e(o)}])},p(e(A)(e(I))),3)]),_:1},8,["class","onPanMove","onPanEnd","onClick"])])],2)):(i(),r("div",{key:3,class:a(["max-w-[450px] overflow-hidden rounded-lg",e(o)?"bg-[#333333]":"bg-white "])},[t("div",ds,[t("img",{class:"h-full w-full object-cover",src:((J1=(Q1=e(d))==null?void 0:Q1.cover_image)==null?void 0:J1.sm)??((Y1=(X1=(K1=e(d))==null?void 0:K1.podcast)==null?void 0:X1.cover_image)==null?void 0:Y1.sm),alt:"Episode img"},null,8,us)]),t("div",cs,[t("div",xs,[t("p",{class:a(["text-[10px] xxs:text-sm",e(o)?"text-white":"text-[#444444]"])}," Подкаст: "+p((ee=e(d))==null?void 0:ee.podcast.name),3)]),t("div",ms,[t("div",hs,[t("span",{class:a(["mr-2 text-[10px] text-[#777777]",{"text-[#C1BEBE]":e(o)}])}," Сезон:"+p(e(d).season),3),t("span",{class:a(["mr-2 text-[10px] text-[#777777]",{"text-[#C1BEBE]":e(o)}])}," Эпизод:"+p(e(d).id),3),t("span",{class:a(["mr-2 text-[10px] text-[#777777]",{"text-[#C1BEBE]":e(o)}])},p(e(d).human_publish_date),3),e(F)!=0?(i(),r("span",{key:0,class:a(["text-[10px] text-[#777777]",{"text-[#C1BEBE]":e(o)}])},[fs,X(" "+p(((le=(te=e(d))==null?void 0:te.listening_total)==null?void 0:le.total)??0),1)],2)):g("",!0)]),t("div",ps,[t("div",ws,[t("button",{type:"button",class:"mr-1",title:e(c)?"Включить звук":"Выключить звук",onClick:s[19]||(s[19]=x=>D(c)?c.value=!e(c):c=!e(c))},[e(c)?(i(),r("svg",bs,[t("g",ks,[t("path",{d:"M8.4 2.40011C8.40002 2.31755 8.37813 2.23645 8.33657 2.16511C8.295 2.09376 8.23525 2.03472 8.16342 1.99401C8.09159 1.9533 8.01023 1.93238 7.92767 1.93338C7.84511 1.93439 7.76429 1.95727 7.69347 1.99971L3.13787 4.73158H1.4C0.626267 4.73158 0 5.35691 0 6.13158V9.86678C0 10.6405 0.625333 11.2668 1.4 11.2668H3.13787L7.69253 14.0005C7.76338 14.0432 7.8443 14.0663 7.927 14.0674C8.0097 14.0685 8.09121 14.0476 8.16319 14.0069C8.23517 13.9662 8.29503 13.907 8.33664 13.8356C8.37825 13.7641 8.40012 13.6828 8.4 13.6001V2.40011ZM12.3265 7.99638L13.6463 9.31518L12.9864 9.97505L11.6667 8.65625L10.3469 9.97505L9.68707 9.31518L11.0068 7.99638L9.68707 6.67758L10.3469 6.01771L11.6667 7.33651L12.9873 6.01771L13.6463 6.67758L12.3265 7.99638Z",fill:e(o)?"#B4B4B4":"#545454"},null,8,ys)]),_s])):(i(),r("svg",gs,[t("path",{d:"M8.76841 1.57199C8.76842 1.48942 8.74653 1.40833 8.70497 1.33698C8.66341 1.26564 8.60366 1.2066 8.53183 1.16589C8.45999 1.12518 8.37864 1.10426 8.29608 1.10526C8.21352 1.10626 8.1327 1.12915 8.06187 1.17159L3.50627 3.90346H1.76841C0.994675 3.90346 0.368408 4.52879 0.368408 5.30346V9.03866C0.368408 9.81239 0.993741 10.4387 1.76841 10.4387H3.50627L8.06094 13.1724C8.13179 13.2151 8.2127 13.2382 8.2954 13.2393C8.37811 13.2404 8.45962 13.2195 8.5316 13.1788C8.60358 13.138 8.66344 13.0789 8.70505 13.0074C8.74666 12.936 8.76852 12.8547 8.76841 12.772V1.57199Z",fill:e(o)?"#B4B4B4":"#545454"},null,8,Cs)]))],8,vs)]),k(i1,{class:"flex h-0.5 w-16 cursor-pointer items-center bg-[#ddd] lg:w-24 xl:h-[3px] xl:w-32",onPanMove:e(v1),onClick:e(w1)},{default:_(()=>[t("span",{class:"inline-block h-full bg-[#545454]",style:Z({width:`${e(x1)}%`})},null,4)]),_:1},8,["onPanMove","onClick"])])])]),t("div",{ref_key:"canvasParent",ref:e1,class:"flex items-center"},[t("div",{class:a(["relative h-[54px] cursor-pointer",e(h)?"flex items-end":""])},[t("div",{class:"border-w-2 absolute flex h-full items-center border-l border-black",style:Z({left:e(y)!==0?`${e(y)}%`:`${e(T)}%`,marginLeft:e(y)?"10px":""})},[t("span",Bs,p(e(j)!==0?e(j):e(A)(e(a1))),1)],4),t("span",{class:a(["absolute right-0 px-1 text-[#373737]",{"bottom-[16px] bg-[#FFFFFF]/80 text-sm":e(h),"bg-[#FFFFFF]":e(h)&&e(o),"bottom-[16px] bg-[#FFFFFF]/80":!e(h),"bg-[#FFFFFF]/70":!e(h)&&e(o)}])},p(e(A)(e(I))),3),t("div",{onClick:s[20]||(s[20]=K((...x)=>e(h1)&&e(h1)(...x),["prevent"])),onMousemove:s[21]||(s[21]=K((...x)=>e(f1)&&e(f1)(...x),["prevent"])),onMouseout:s[22]||(s[22]=K((...x)=>e(p1)&&e(p1)(...x),["prevent"]))},[t("canvas",{id:"canvas",ref_key:"myCanvas",ref:O,class:a(["max-w-full",e(h)?"mb-0":"mb-3"])}
1,null,2)],32)],2)],512),t("div",Ls,[t("p",Fs,p(e(d).name),1),t("div",Ms,[(se=e(d).podcast)!=null&&se.explicit?(i(),H(ke,{key:0,class:"items-center justify-center md:flex"})):g("",!0),t("div",Vs,[$s,t("span",Ds,p(((ae=(oe=e(d))==null?void 0:oe.listening_total)==null?void 0:ae.total)??0),1)])])]),t("div",Es,[t("div",{class:a(["flex",l.showList?"":"w-1/3"])},[l.showList?(i(),r("div",Ss,[t("button",{onClick:s[23]||(s[23]=x=>e(f).playPrevious())},Ps),k(n1,{"playing-or-loading":e(z),"dark-mode-enabled":e(o),onTogglePlay:s[24]||(s[24]=x=>e(G)())},null,8,["playing-or-loading","dark-mode-enabled"]),t("button",{onClick:s[25]||(s[25]=x=>e(f).playNext())},zs)])):g("",!0),k(M1,{class:a(["min-w-[50px] sm:min-w-[70px]",l.showList?"":"!w-full"]),"dark-mode-enabled":e(o),onSeek:s[27]||(s[27]=x=>e(L1)(x))},{button:_(()=>[l.showList?g("",!0):(i(),H(n1,{key:0,"playing-or-loading":e(z),"dark-mode-enabled":e(o),onTogglePlay:s[26]||(s[26]=x=>e(G)())},null,8,["playing-or-loading","dark-mode-enabled"]))]),_:1},8,["class","dark-mode-enabled"])],2),t("div",As,[l1(t("select",{"onUpdate:modelValue":s[28]||(s[28]=x=>D(B)?B.value=x:B=x),class:a([{"text-[#B4B4B4]":e(o),"text-brand-300":!e(o)},"flex cursor-pointer appearance-none border-none bg-inherit px-0 text-sm tracking-tighter focus:ring-0 xl:text-base"]),style:{"background-image":"none"},title:"Скорость воспроизведения"},Os,2),[[C1,e(B)]]),t("button",{onClick:s[29]||(s[29]=x=>D(m)?m.value=!0:m=!0)},[(i(),r("svg",Is,[t("path",{d:"M10 10.625C10 10.0727 9.55228 9.625 9 9.625H8C6.3596 9.62445 4.75023 10.
10163 3.34588 10.758C2.16508 11.3817 1.167 12.2329 0.425248 13.2432C0.292474 13.4241 -0.000130148 13.3494 1.33261e-06 13.125V13.125C1.33261e-06 8.58738 3.9471 4.85668 9.00104 4.41811C9.55125 4.37036 10 3.92729 10 3.375V1.92066C10 1.11163 10.9107 0.63748 11.5735 1.10142L18.8297 6.18077C19.3984 6.57887 19.3984 7.42113 18.8297 7.81923L11.5735 12.8986C10.9107 13.3625 10 12.8884 10 12.0793V10.625Z",fill:e(o)?"#B4B4B4":"#545454"},null,8,Ts)]))])])])],2)),k(y3,{class:"top-0","iframe-styles":l.iframeStyles,"audio-url":(ie=e(d).audio)==null?void 0:ie.url,link:(ne=e(d))==null?void 0:ne.show_url,size:e(Ae),"show-download":e(k1),"show-player-code":e(D1),"seek-time-in-seconds":e(a1),"show-initial":e(m),"podcast-id":(re=e(d).podcast)==null?void 0:re.id,"podcast-link":(de=e(d).podcast)==null?void 0:de.show_url,onClose:s[30]||(s[30]=x=>D(m)?m.value=!1:m=!1)},null,8,["iframe-styles","audio-url","link","size","show-download","show-player-code","seek-time-in-seconds","show-initial","podcast-id","podcast-link"]),l.showList&&!e(C)&&l.playerType!=="episode"&&e(S)&&e(S).length>0?(i(),r("div",Us,[l.showList!=0&&e(Y)?(i(),H(N3,{ref_key:"episodesListRef",ref:m1,key:e(d).id,episodes:e(S),"show-download":e(k1),"dark-mode-enabled":e(o),"current-episode-id":e(d).id,"podcast-details":{image:(ce=(ue=e(d))==null?void 0:ue.podcast.cover_image)==null?void 0:ce.sm,name:(xe=e(d))==null?void 0:xe.podcast.name,show_url:(me=e(d))==null?void 0:me.podcast.show_url},total:((fe=(he=l.episodesPagination)==null?void 0:he.meta)==null?void 0:fe.total)??e(S).length,"episodes-count":e($1),onLoadEpisodes:e(Ie),onChangeEpisode:e(Te)},null,8,["episodes","show-download","dark-mode-enabled","current-episode-id","podcast-details","total","episodes-count","onLoadEpisodes","onChangeEpisode"])):g("",!0),t("div",{class:a([{"bg-[#737373] text-white":e(o),"bg-[#EEEEEE]":!e(o)},"flex max-h-[31px] w-full cursor-pointer items-center justify-between px-3"]),onClick:s[31]||(s[31]=x=>D(Y)?Y.value=!e(Y):Y=!e(Y))},[qs,t("p",Ns,p(l.playerType==="podcast"?"Подкаст":"Подборка")+": "+p(((we=(pe=l.episodesPagination)==null?void 0:pe.meta)==null?void 0:we.total)??e(S).length)+" эпизодов",1),Rs],2)])):g("",!0)],2)}}};export{m0 as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.