@vkontakte/videoplayer 1.1.35-dev.4390a6f1.0 → 1.1.35-dev.effe86bb.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es2015.cjs.js +16 -16
- package/es2015.esm.js +16 -16
- package/es2018.cjs.js +16 -16
- package/es2018.esm.js +16 -16
- package/esnext.cjs.js +16 -16
- package/esnext.esm.js +16 -16
- package/evergreen.esm.js +16 -16
- package/index.d.ts +50 -6
- package/package.json +5 -5
package/evergreen.esm.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vkontakte/videoplayer v1.1.35-dev.
|
|
3
|
-
*
|
|
2
|
+
* @vkontakte/videoplayer v1.1.35-dev.effe86bb.0
|
|
3
|
+
* Mon, 13 May 2024 07:03:01 GMT
|
|
4
4
|
* https://st.mycdn.me/static/vkontakte-videoplayer/1-1-35/doc/
|
|
5
5
|
*/
|
|
6
|
-
import{VERSION as G1,ChromecastState as cn,PlaybackState as It,VideoQuality as Gn,Player as K1,VideoFormat as ro}from"@vkontakte/videoplayer-core/evergreen.esm.js";import{VideoFormat as Lh,VideoQuality as Ih}from"@vkontakte/videoplayer-core/evergreen.esm.js";import{InterfaceLanguage as go,VideoQuality as Ao,fillWithDefault as Y1,VERSION as Q1,assertNonNullable as dt,safeStorage as an,isNullable as Lo,Subscription as Dn,isNonNullable as ln,isMacLike as bl,debounceFn as vr,ValueSubject as il,getCurrentBrowser as nl,CurrentClientBrowser as _r,noop as et,checkNever as X1,timeCodeToString as J1,isIOS as kr,CurrentClientDevice as x1,getIOSVersion as $1,Subject as $i,addScript as eu,Logger as wr,merge as tu,Observable as iu,map as nu,loadVKLangPack as ou,getHighestQuality as lu,detectEmbed as su,isMobile as au,cloneDeepWith as ru}from"@vkontakte/videoplayer-shared/evergreen.esm.js";import{InterfaceLanguage as Bh,VKNumericLanguage as Nh,loadVKLangPack as Rh}from"@vkontakte/videoplayer-shared/evergreen.esm.js";import{VERSION as uu,SeekAction as Vt,OneStat as cu,InteractiveInterfaceClick as uo}from"@vkontakte/videoplayer-statistics/evergreen.esm.js";function K(){}function yr(i,e){for(const t in e)i[t]=e[t];return i}function Cr(i){return i()}function vl(){return Object.create(null)}function xt(i){i.forEach(Cr)}function kn(i){return typeof i=="function"}function ge(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let wo;function _l(i,e){return wo||(wo=document.createElement("a")),wo.href=e,i===wo.href}function fu(i){return Object.keys(i).length===0}function Bo(i,...e){if(i==null){for(const n of e)n(void 0);return K}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Qe(i){let e;return Bo(i,t=>e=t)(),e}function F(i,e,t){i.$$.on_destroy.push(Bo(e,t))}function wn(i,e,t,n){if(i){const o=Pr(i,e,t,n);return i[0](o)}}function Pr(i,e,t,n){return i[1]&&n?yr(t.ctx.slice(),i[1](n(e))):t.ctx}function yn(i,e,t,n){if(i[2]&&n){const o=i[2](n(t));if(e.dirty===void 0)return o;if(typeof o=="object"){const l=[],s=Math.max(e.dirty.length,o.length);for(let a=0;a<s;a+=1)l[a]=e.dirty[a]|o[a];return l}return e.dirty|o}return e.dirty}function Cn(i,e,t,n,o,l){if(o){const s=Pr(e,t,n,l);i.p(s,o)}}function Pn(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function du(i){return i??""}const Sr=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function d(i,e){i.appendChild(e)}function Fe(i,e,t){const n=mu(i);if(!n.getElementById(e)){const o=k("style");o.id=e,o.textContent=t,hu(n,o)}}function mu(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function hu(i,e){return d(i.head||i,e),e.sheet}function C(i,e,t){i.insertBefore(e,t||null)}function y(i){i.parentNode&&i.parentNode.removeChild(i)}function sn(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function k(i){return document.createElement(i)}function I(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function ze(i){return document.createTextNode(i)}function N(){return ze(" ")}function ht(){return ze("")}function Ae(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function di(i){return function(e){return e.preventDefault(),i.call(this,e)}}function rt(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function u(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function pu(i){return Array.from(i.childNodes)}function Xe(i,e){e=""+e,i.data!==e&&(i.data=e)}function At(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let yo;function gu(){if(yo===void 0){yo=!1;try{typeof window<"u"&&window.parent&&window.parent.document}catch{yo=!0}}return yo}function No(i,e){getComputedStyle(i).position==="static"&&(i.style.position="relative");const n=k("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const o=gu();let l;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",l=Ae(window,"message",s=>{s.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{l=Ae(n.contentWindow,"resize",e),e()}),d(i,n),()=>{(o||l&&n.contentWindow)&&l(),y(n)}}function V(i,e,t){i.classList.toggle(e,!!t)}function fn(i,e){return new i(e)}let ho;function mo(i){ho=i}function bo(){if(!ho)throw new Error("Function called outside component initialization");return ho}function Ki(i){bo().$$.on_mount.push(i)}function Ro(i){bo().$$.on_destroy.push(i)}function Xo(i,e){return bo().$$.context.set(i,e),e}function ol(i){return bo().$$.context.get(i)}function Tr(){return bo().$$.context}function Jn(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Kn=[],We=[];let Qn=[];const Jo=[],bu=Promise.resolve();let xo=!1;function vu(){xo||(xo=!0,bu.then(Ar))}function Hn(i){Qn.push(i)}function gt(i){Jo.push(i)}const Fo=new Set;let Wn=0;function Ar(){if(Wn!==0)return;const i=ho;do{try{for(;Wn<Kn.length;){const e=Kn[Wn];Wn++,mo(e),_u(e.$$)}}catch(e){throw Kn.length=0,Wn=0,e}for(mo(null),Kn.length=0,Wn=0;We.length;)We.pop()();for(let e=0;e<Qn.length;e+=1){const t=Qn[e];Fo.has(t)||(Fo.add(t),t())}Qn.length=0}while(Kn.length);for(;Jo.length;)Jo.pop()();xo=!1,Fo.clear(),mo(i)}function _u(i){if(i.fragment!==null){i.update(),xt(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Hn)}}function ku(i){const e=[],t=[];Qn.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),Qn=e}const Eo=new Set;let zn;function me(){zn={r:0,c:[],p:zn}}function he(){zn.r||xt(zn.c),zn=zn.p}function m(i,e){i&&i.i&&(Eo.delete(i),i.i(e))}function p(i,e,t,n){if(i&&i.o){if(Eo.has(i))return;Eo.add(i),zn.c.push(()=>{Eo.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Mt(i){return i?.length!==void 0?i:Array.from(i)}function wu(i,e){const t={},n={},o={$$scope:1};let l=i.length;for(;l--;){const s=i[l],a=e[l];if(a){for(const r in s)r in a||(n[r]=1);for(const r in a)o[r]||(t[r]=a[r],o[r]=1);i[l]=a}else for(const r in s)o[r]=1}for(const s in n)s in t||(t[s]=void 0);return t}function yu(i){return typeof i=="object"&&i!==null?i:{}}function bt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function O(i){i&&i.c()}function z(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),Hn(()=>{const l=i.$$.on_mount.map(Cr).filter(kn);i.$$.on_destroy?i.$$.on_destroy.push(...l):xt(l),i.$$.on_mount=[]}),o.forEach(Hn)}function D(i,e){const t=i.$$;t.fragment!==null&&(ku(t.after_update),xt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Cu(i,e){i.$$.dirty[0]===-1&&(Kn.push(i),vu(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function _e(i,e,t,n,o,l,s,a=[-1]){const r=ho;mo(i);const c=i.$$={fragment:null,ctx:[],props:l,update:K,not_equal:o,bound:vl(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(r?r.$$.context:[])),callbacks:vl(),dirty:a,skip_bound:!1,root:e.target||r.$$.root};s&&s(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(h,g,...v)=>{const b=v.length?v[0]:g;return c.ctx&&o(c.ctx[h],c.ctx[h]=b)&&(!c.skip_bound&&c.bound[h]&&c.bound[h](b),f&&Cu(i,h)),g}):[],c.update(),f=!0,xt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const h=pu(e.target);c.fragment&&c.fragment.l(h),h.forEach(y)}else c.fragment&&c.fragment.c();e.intro&&m(i.$$.fragment),z(i,e.target,e.anchor),Ar()}mo(r)}class ke{$$=void 0;$$set=void 0;$destroy(){D(this,1),this.$destroy=K}$on(e,t){if(!kn(t))return K;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const o=n.indexOf(t);o!==-1&&n.splice(o,1)}}$set(e){this.$$set&&!fu(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Pu="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Pu);var xn;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(xn||(xn={}));const Su={isMobile:void 0,defaultLanguage:go.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:xn.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:Ao.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0},controls:{hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,slot:void 0,preview:void 0}},Tu=i=>Y1(i,Su),Au=i=>Xo("ui-config",i),Yi=()=>ol("ui-config"),$o="vk_player_debug_panel_opened",Er=300,Eu="videoplayer",Vu="videoplayer";var He;(function(i){i.ArrowLeft="ArrowLeft",i.ArrowUp="ArrowUp",i.ArrowRight="ArrowRight",i.ArrowDown="ArrowDown",i.Comma="Comma",i.Period="Period",i.Space="Space",i.KeyM="KeyM",i.KeyF="KeyF",i.KeyK="KeyK",i.KeyL="KeyL",i.KeyJ="KeyJ",i.KeyC="KeyC",i.KeyI="KeyI",i.Digit1="Digit1",i.Digit2="Digit2",i.Digit3="Digit3",i.Digit4="Digit4",i.Digit5="Digit5",i.Digit6="Digit6",i.Digit7="Digit7",i.Digit8="Digit8",i.Digit9="Digit9",i.Digit0="Digit0",i.Numpad1="Numpad1",i.Numpad2="Numpad2",i.Numpad3="Numpad3",i.Numpad4="Numpad4",i.Numpad5="Numpad5",i.Numpad6="Numpad6",i.Numpad7="Numpad7",i.Numpad8="Numpad8",i.Numpad9="Numpad9",i.Numpad0="Numpad0",i.ShiftLeft="ShiftLeft",i.ShiftRight="ShiftRight",i.Slash="Slash"})(He||(He={}));const zo={[He.KeyF]:"f",[He.KeyK]:"k",[He.KeyC]:"c",[He.KeyM]:"m"},Lu=new Set([He.ArrowLeft,He.ArrowRight,He.KeyL,He.KeyJ]);var ct;(function(i){i.PLAY_BUTTON="PLAY_BUTTON",i.REPLAY_BUTTON="REPLAY_BUTTON",i.NEXT_BUTTON="NEXT_BUTTON",i.PREV_BUTTON="PREV_BUTTON",i.PICTURE_IN_PICTURE="PICTURE_IN_PICTURE",i.FULLSCREEN_BUTTON="FULLSCREEN_BUTTON",i.SETTINGS_BUTTON="SETTINGS_BUTTON",i.LIVE_BUTTON="LIVE_BUTTON",i.GRAPH_BUTTON="GRAPH_BUTTON",i.PLAY_PREV_CHAPTER_BUTTON="PLAY_PREV_CHAPTER_BUTTON",i.SEEK_TO_INTERACTIVE_BUTTON="SEEK_TO_INTERACTIVE_BUTTON",i.TIMELINE="TIMELINE",i.VOLUME_BAR="VOLUME_BAR",i.MUTE_BUTTON="MUTE_BUTTON",i.SUBTITLES_BUTTON="SUBTITLES_BUTTON",i.CHROMECAST_BUTTON="CHROMECAST_BUTTON",i.VK_BUTTON="VK_BUTTON",i.EPISODE_BUTTON="EPISODE_BUTTON",i.INCREMENT_PLAYBACK_RATE="INCREMENT_PLAYBACK_RATE",i.DECREMENT_PLAYBACK_RATE="DECREMENT_PLAYBACK_RATE"})(ct||(ct={}));const kl=40,Iu=4,Mu=60,co=8,Vr=[ct.TIMELINE],Vo=[...Vr,ct.GRAPH_BUTTON],wl=[...Vr,ct.PLAY_BUTTON],Lr=[...Vo,ct.PLAY_BUTTON];var Yn;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(Yn||(Yn={}));var Ct;(function(i){i.XS="xs",i.S="s",i.M="m",i.L="l",i.XL="xl"})(Ct||(Ct={}));const $n={[Ct.XS]:0,[Ct.S]:1,[Ct.M]:2,[Ct.L]:3,[Ct.XL]:4},Zn=[];function un(i,e){return{subscribe:Oe(i,e).subscribe}}function Oe(i,e=K){let t;const n=new Set;function o(a){if(ge(i,a)&&(i=a,t)){const r=!Zn.length;for(const c of n)c[1](),Zn.push(c,i);if(r){for(let c=0;c<Zn.length;c+=2)Zn[c][0](Zn[c+1]);Zn.length=0}}}function l(a){o(a(i))}function s(a,r=K){const c=[a,r];return n.add(c),n.size===1&&(t=e(o,l)||K),a(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:l,subscribe:s}}function Jt(i,e,t){const n=!Array.isArray(i),o=n?[i]:i;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const l=e.length<2;return un(t,(s,a)=>{let r=!1;const c=[];let f=0,h=K;const g=()=>{if(f)return;h();const b=e(n?c[0]:c,s,a);l?s(b):h=kn(b)?b:K},v=o.map((b,_)=>Bo(b,L=>{c[_]=L,f&=~(1<<_),r&&g()},()=>{f|=1<<_}));return r=!0,g(),function(){xt(v),h(),r=!1}})}const Bu="prod",ll="1.1.35-dev.4390a6f1.0",Ir=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},Mr=Symbol("storeContext"),Br=Symbol("microStoresContext"),Nu=(i,e)=>{Xo(Mr,i),Xo(Br,e)},vt=()=>{const i=ol(Mr);return dt(i,"Store context is empty!"),i},Nr=()=>{const i=ol(Br);return dt(i,"MicroStores context is empty!"),i},pt=(i,e)=>Rr(i,i.getValue(),e),Rr=(i,e,t)=>un(e,n=>{const o=i.subscribe(l=>{n(l),t?.(l)});return()=>o.unsubscribe()}),Ru=(i,e,t)=>{const n=i.info,{width:o,height:l}=Qe(t.ui.playerSize),s=n.throughputEstimation$.getValue()?.toFixed(0)??0,a=n.rttEstimation$.getValue()?.toFixed(0)??0,r=n.isAutoQualityEnabled$.getValue()?"auto":"manual",c=`${ll} (core: ${G1}, stat: ${uu}, shared: ${Q1})`,f=Qe(t.state.errorLog$),h=f.length?`
|
|
7
|
-
`+f.map((b,
|
|
8
|
-
`,
|
|
9
|
-
`,
|
|
10
|
-
`;return
|
|
11
|
-
`):void 0,
|
|
12
|
-
`)},zu=(i,e,t)=>{const n=i.info,{width:o,height:l}=Qe(t.ui.playerSize),s={version:ll,viewport:`${o}x${l}`,volume:Math.round(Qe(t.state.volume$)*100)};s.id=t.videoId,n.currentFormat$.getValue()&&(s.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(s.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(s.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(s.buffer=Math.max(f.end-Qe(t.state.positionExact$),0));const h=n.throughputEstimation$.getValue();h&&(s.speed=h);const g=n.videoBitrate$.getValue();return g&&(s.bitrate=g),s},Du=(i,e)=>Ir(i,e,"mp4"),zr="vk_player_prefer_traffic_saving_enabled",Dr="vk_player_preferred_volume",Or="vk_player_prefer_volume_mute",sl="vk_player_preferred_quality",Hr=i=>i>1?1:i<0?0:i,yl=i=>an.set(Dr,Hr(i).toString(10)),Fr=()=>{const i=an.get(Dr);return Lo(i)?void 0:Hr(parseFloat(i))},Ou=(i,e)=>an.set(sl,JSON.stringify({videoId:i,value:e})),Ur=()=>an.remove(sl),Hu=i=>{const e=an.get(sl);if(Lo(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){Ur();return}return n},qr=(i,e)=>{e?an.set(i,"true"):an.remove(i)},Wr=i=>an.get(i)==="true",Uo=i=>qr(Or,i),Fu=()=>Wr(Or),Uu=i=>qr(zr,i),qu=()=>Wr(zr);function Wu(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,A,S;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),s=I("path"),a=I("path"),r=I("defs"),c=I("filter"),f=I("feFlood"),h=I("feColorMatrix"),g=I("feOffset"),v=I("feGaussianBlur"),b=I("feColorMatrix"),_=I("feBlend"),L=I("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(o,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(o,"fill","#fff"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(l,"fill","#fff"),u(s,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(s,"fill","#fff"),u(a,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(a,"stroke","#000"),u(a,"stroke-opacity",".12"),u(a,"stroke-width",".5"),u(a,"stroke-linecap","round"),u(a,"stroke-linejoin","round"),u(t,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(h,"in","SourceAlpha"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(h,"result","hardAlpha"),u(v,"stdDeviation","2.5"),u(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(_,"in2","BackgroundImageFix"),u(_,"result","effect1_dropShadow_618_12297"),u(L,"in","SourceGraphic"),u(L,"in2","effect1_dropShadow_618_12297"),u(L,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",A=!i[0]||null),u(e,"aria-label",S=i[0]||null)},m(P,R){C(P,e,R),d(e,t),d(t,n),d(t,o),d(t,l),d(t,s),d(t,a),d(e,r),d(r,c),d(c,f),d(c,h),d(c,g),d(c,v),d(c,b),d(c,_),d(c,L)},p(P,[R]){R&1&&A!==(A=!P[0]||null)&&u(e,"aria-hidden",A),R&1&&S!==(S=P[0]||null)&&u(e,"aria-label",S)},i:K,o:K,d(P){P&&y(e)}}}function Zu(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class Zr extends ke{constructor(e){super(),_e(this,e,Zu,Wu,ge,{ariaLabel:0})}}const ju={auto_quality_invariant:"\u0410\u0432\u0442\u043E",auto_quality:"\u0410\u0432\u0442\u043E ({actual})",auto_quality_option:"\u0410\u0432\u0442\u043E",menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",menu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",menu_report:"\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435",menu_pip:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",menu_copy_video_link:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E",menu_copy_video_link_with_timestamp:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043A\u0430\u0434\u0440",menu_video_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C",menu_chromecast:"Chromecast \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F",menu_copy_debug:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_save_debug:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",pip_dummy_title:"\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",submenu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",submenu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",submenu_settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",submenu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",mobile_unmute:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",playing_ads:"\u0420\u0435\u043A\u043B\u0430\u043C\u0430 {timeleft}",skip_ads_now:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",skip_ads_after:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u0447\u0435\u0440\u0435\u0437 {time}\u0441",visit_advertiser:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442",aria_timeline:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B",aria_timeline_value:"{position} (\u043E\u0431\u0449\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C {duration}",aria_open_settings:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0438\u0434\u0435\u043E\u043F\u043B\u0435\u0435\u0440\u0430",doubletap_seek_step:"{seconds} \u0441\u0435\u043A\u0443\u043D\u0434",playback_rate_1:"\u041E\u0431\u044B\u0447\u043D\u0430\u044F",playback_rate:"{multiplier}x",video360:"\u043F\u0430\u043D\u043E\u0440\u0430\u043C\u043D\u043E\u0435 \u0432\u0438\u0434\u0435\u043E",subtitles_caption:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_auto:"{language} (\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435)",subtitles_off:"\u0412\u044B\u043A\u043B.",subtitles_auto_caption:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",traffic_saving_off:"\u041E\u0442\u043A\u043B.",traffic_saving_on:"\u0412\u043A\u043B.",traffic_saving_disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_enable:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_helper_text:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u0432\u0438\u0434\u0435\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u0438\u0436\u0435\u043D\u043E \u0434\u043B\u044F \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043A\u0430",tooltip_button_disabled:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_previous:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_restart:"\u041D\u0430\u0447\u0430\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E",tooltip_play:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",tooltip_pause:"\u041F\u0430\u0443\u0437\u0430",tooltip_next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_interactive_go_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0433\u043B\u0430\u0432\u0435",tooltip_interactive_go_back_disabled:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_interactive_go_back_disabled_first:"\u0412\u044B \u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043F\u0435\u0440\u0432\u0443\u044E \u0433\u043B\u0430\u0432\u0443",tooltip_interactive_go_back_disabled_limit:"\u041B\u0438\u043C\u0438\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u0432 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",tooltip_interactive_seek:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0443",tooltip_interactive_graph_off:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_interactive_graph_on:"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_live:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u043D\u0430 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043B\u0430\u0439\u0432",tooltip_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",tooltip_volume:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_volume_muted:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_subtitles_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_subtitles_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_settings_off:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_settings_on:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_fullscreen_off:"\u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D",tooltip_fullscreen_on:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",tooltip_chromecast_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_chromecast_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_episode_finished:"\u0412\u044B \u0443\u0436\u0435 \u0441\u0434\u0435\u043B\u0430\u043B\u0438 \u0441\u0432\u043E\u0439 \u0432\u044B\u0431\u043E\u0440",tooltip_episode_unfinished:"\u041D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043E",tooltip_disabled_when_interactive:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_disabled_when_graph_on:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043A\u0430\u0440\u0442\u044B",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",aria_label_spherical_control:"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440 \u0434\u043B\u044F \u0441\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0438\u0434\u0435\u043E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438 \u0434\u043B\u044F \u043F\u0430\u043D\u043E\u0440\u0430\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E.",aria_label_new_tab_alert:"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435.",aria_label_menu_quality:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0430. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E {actual}",aria_label_menu_rate:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u0438. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C {actual}",aria_label_menu_traffic_saving:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0443 \u0440\u0435\u0436\u0438\u043C\u0430 \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 {actual}",aria_label_menu_subtitle:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043E\u0432. \u0422\u0435\u043A\u0443\u0449\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B {actual}",aria_label_menu_download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",aria_label_menu_debug_overlay_enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_debug_overlay_disable:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432",aria_label_submenu_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A",aria_label_submenu_quality_select_quality:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E {quality}",aria_label_submenu_rate_select_rate:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C {rate}",aria_label_submenu_traffic_saving_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_traffic_saving_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_subtitle_select_subtitle:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B {subtitle}"},Gu={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_save_debug:"Save debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_restart:"Watch again",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_go_back:"Back to previous chapter",tooltip_interactive_go_back_disabled:"Interactive history unavailable",tooltip_interactive_go_back_disabled_first:"You're watching the first chapter",tooltip_interactive_go_back_disabled_limit:"Go-back limit exceeded",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Button is disabled during interactive video",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon",aria_label_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_menu_quality:"Open the quality selection menu. Current quality {actual}",aria_label_menu_rate:"Open the speed selection menu. Current rate {actual}",aria_label_menu_traffic_saving:"Open the data saving mode setting. Current state {actual}",aria_label_menu_subtitle:"Open the subtitle selection menu. Current subtitles {actual}",aria_label_menu_download:"Download video",aria_label_menu_debug_overlay_enable:"Enable display of technical information",aria_label_menu_debug_overlay_disable:"Disable display of technical information",aria_label_menu_rotate:"Rotate video 90 degrees",aria_label_submenu_back:"Return to settings menu",aria_label_submenu_quality_select_quality:"Select quality {quality}",aria_label_submenu_rate_select_rate:"Select rate {rate}",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode",aria_label_submenu_subtitle_select_subtitle:"Select subtitles {subtitle}"},bn=new Map;bn.set(go.EN,Gu);bn.set(go.RU,ju);const jr=new Map,Cl=({language:i,pack:e,fallback:t})=>{if(bn.has(i)){const n=bn.get(i);bn.set(i,{...n,...e})}else bn.set(i,e);jr.set(i,t)},Pl=i=>bn.has(i),Gr=(i,e,t,n)=>{let l=bn.get(i)?.[e];if(Lo(l)){const s=jr.get(i)??n;l=(s?bn.get(s):void 0)?.[e]}return Lo(l)?e+Object.values(t??{}).join(" "):t?l.replaceAll(/{(\w+?)}/g,(s,a)=>t[a]??""):l},U=(i,e)=>{const{interfaceLanguage$:t}=vt(),n=Qe(t),o=Yi();return Gr(n,i,e,o.defaultLanguage)};var Io;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(Io||(Io={}));const Ku=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Yu=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,Qu=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Co="?",Xu="X-Sentry-Auth",Ju=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function xu(i){if(!i.stack)return null;const e=[],t=i.stack.split(`
|
|
13
|
-
`);let n,o;for(let
|
|
14
|
-
`).filter(t=>!!t)[0]}function $u(i){try{const e=xu(i);if(e)return e}catch{}return{value:Kr(i),type:i&&i.name,stacktrace:{frames:[]}}}function ec(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class tc{constructor(e){if(e&&e.dsn){const t=Ju.exec(e.dsn),n=t?t.slice(1):[],o=n[5].split("/"),l=o.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(l?"/"+l:"")+"/api/"+o.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return{...this.getRequestBlank(),exception:{values:[$u(e)]}}}report(e){this.send(this.prepare(e))}send(e){!this.apiUrl||!e||this.createRequest(e)}createRequest(e){const t=new XMLHttpRequest;t.open("POST",this.apiUrl,!0),t.setRequestHeader("Content-type","application/json"),t.setRequestHeader(Xu,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:ec(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function Sl(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function ic(){return window}class al extends tc{constructor(e,t=ic()){super(e),this.options=e,this.window=t,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:o=c=>c,beforeBreadcrumb:l=c=>c,blacklistUrls:s=[],ignoreErrors:a=[],release:r=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=l,this.blacklistUrls=s,this.ignoreErrors=a,this.release=r}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",{...e}),this}setTag(e,t){return this.extendState({tags:{[e]:t}}),this}setExtra(e,t){return this.extendState({extra:{[e]:t}}),this}setExtras(e){return this.setKeyState("extra",{...e}),this}setUser(e){return this.setKeyState("user",{...e}),this}clone(){const e=new al({...this.options,plugins:[]});return e.extendState(this.state),e}withScope(e){const t=this.clone();e(t),t.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[{timestamp:Date.now()/1e3,...this.beforeBreadcrumb(e)}]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send({...this.getRequestBlank(),message:e,level:t})}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(t=>this.ignoreErrors.some(n=>Sl(t,n))):!1}getRequestBlank(){return{request:{url:this.window.location.toString(),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},...this.state}}send(e){this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e)||(super.send(this.beforeSend({release:this.release,...e})),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch{return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const t=this.getEventFilterUrl(e);return t?this.blacklistUrls.some(n=>Sl(t,n)):!1}getEventFilterUrl(e){try{if(e.exception){const t=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return t&&t[t.length-1].filename||null}return null}catch{return null}}extendState(e){this._state=Object.keys(e).reduce((t,n)=>{const o=this._state[n],l=Array.isArray(o)?o:null,s=e[n],a=Array.isArray(s)?s:null;return{...t,[n]:l||a?[...l||[],...a||[]]:{...typeof o!="string"?o:{},...typeof s!="string"?s:{}}}},this._state)}setKeyState(e,t){this._state[e]=t}}let Po=null;class el{sentrySubscription;options;version;context;sentryClient;constructor(e,t,n={}){!Po&&e.dsn&&(this.sentryClient=new al({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new Dn,this.options=e,this.context=n,Po=this)}destroy(){this.sentryClient?.destroy(),this.sentrySubscription?.unsubscribe(),Po=null}logIError(e,t=!1){e.thrown&&this.report(e.thrown,{fatal:t,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,t={},n={}){const{sentryClient:o,context:l,options:s}=this,{sampleRate:a=0,whiteErrorIdList:r,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:h}=s,{errorType:g,category:v}=t;if(ln(v)&&h.includes(v)||ln(g)&&f.includes(g))return;if(Math.random()<=a||ln(v)&&c.includes(v)||ln(g)&&r.includes(g)){Object.keys(t).length&&o.setTags({version:this.version,...t}),(Object.keys(l).length||Object.keys(n).length)&&o.setExtras({...l,...n});try{g&&o.captureMessage(g,t.fatal?Io.fatal:Io.error),o.report(e)}catch(_){console.error(_)}}}static getInstance(){return Po}}var Xn;(function(i){i.AUTO="auto"})(Xn||(Xn={}));var Re;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(Re||(Re={}));var gn;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(gn||(gn={}));var Dt;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(Dt||(Dt={}));var vn;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(vn||(vn={}));var je;(function(i){i.PLAY="PLAY",i.STOP="STOP",i.BACKWARD_SEEK="BACKWARD_SEEK",i.FORWARD_SEEK="FORWARD_SEEK",i.SUBTITLES_ON="SUBTITLES_ON",i.SUBTITLES_OFF="SUBTITLES_OFF",i.RATE_UP="RATE_UP",i.RATE_DOWN="RATE_DOWN",i.EPISODE_PREV="EPISODE_PREV",i.EPISODE_NEXT="EPISODE_NEXT",i.MUTE="MUTE",i.VOLUME="VOLUME"})(je||(je={}));var On;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(On||(On={}));const Yr=i=>{if(i.requestFullscreen)return i.requestFullscreen();if(i.msRequestFullscreen)return i.msRequestFullscreen();if(i.webkitRequestFullscreen)return i.webkitRequestFullscreen();if(i.mozRequestFullScreen)return i.mozRequestFullScreen();const e=i.querySelector("video");return e?.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Qr=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),nc=i=>{const e=i;return e?.webkitExitFullscreen?e?.webkitExitFullscreen():Promise.reject()},po=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},Xr=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},Jr=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},oc=i=>{const e=window.screen;return(async o=>e.orientation?e.orientation.lock(o):e.mozLockOrientation?e.mozLockOrientation(o):e.msLockOrientation?e.msLockOrientation(o):Promise.reject())(((o={width:0,height:0})=>o.width<=o.height?"portrait":"landscape")(i))},lc=()=>({title:U("hotkey_map_modal_title"),closeBtnText:U("hotkey_map_modal_close_btn_text"),groups:[{title:U("hotkey_map_group_title_common"),items:[{description:U("hotkey_map_item_mute_description"),value:U("hotkey_map_item_mute_value")},{description:U("hotkey_map_item_volume_up_description"),value:U("hotkey_map_item_volume_up_value")},{description:U("hotkey_map_item_volume_down_description"),value:U("hotkey_map_item_volume_down_value")},{description:U("hotkey_map_item_pip_description"),value:U("hotkey_map_item_pip_value")},{description:U("hotkey_map_item_full_screen_description"),value:U("hotkey_map_item_full_screen_value")},{description:U("hotkey_map_item_show_hotkey_map_description"),value:U("hotkey_map_item_show_hotkey_map_value")}]},{title:U("hotkey_map_group_title_playback"),items:[{description:U("hotkey_map_item_play_toggle_description"),value:U("hotkey_map_item_play_toggle_value")},{description:U("hotkey_map_item_seek_backward_description"),value:U("hotkey_map_item_seek_backward_value")},{description:U("hotkey_map_item_seek_forward_description"),value:U("hotkey_map_item_seek_forward_value")},{description:U("hotkey_map_item_fast_seek_backward_description"),value:U("hotkey_map_item_fast_seek_backward_value")},{description:U("hotkey_map_item_fast_seek_forward_description"),value:U("hotkey_map_item_fast_seek_forward_value")},{description:U("hotkey_map_item_rate_down_description"),value:U("hotkey_map_item_rate_down_value")},{description:U("hotkey_map_item_rate_up_description"),value:U("hotkey_map_item_rate_up_value")},{description:U("hotkey_map_item_prev_frame_description"),value:U("hotkey_map_item_prev_frame_value")},{description:U("hotkey_map_item_next_frame_description"),value:U("hotkey_map_item_next_frame_value")},{description:U("hotkey_map_item_jump_seek_description"),value:U("hotkey_map_item_jump_seek_value")}]},{title:U("hotkey_map_group_title_subtitles"),items:[{description:U("hotkey_map_item_subtitles_toggle_description"),value:U("hotkey_map_item_subtitles_toggle_value")}]},{title:U("hotkey_map_group_title_episodes"),items:[{description:U("hotkey_map_item_prev_episode_description"),value:bl()?U("hotkey_map_item_prev_episode_mac_value"):U("hotkey_map_item_prev_episode_pc_value")},{description:U("hotkey_map_item_next_episode_description"),value:bl()?U("hotkey_map_item_next_episode_mac_value"):U("hotkey_map_item_next_episode_pc_value")}]}]});class rl{isRequested=!1;videoElement=void 0;playerContainer=void 0;playerDummyElement;svelteContext;externalEventHandlers={};eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:vr(this.onResize.bind(this),Er)};info={isActive$:new il(this.isActive()),type:vn.PictureInPicture};isSupported(){const e=nl().browser===_r.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async request(){if(!(!this.isSupported()||this.isActive()))try{await this.videoElement?.requestPictureInPicture()}catch{this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){this.isSupported()&&(this.videoElement=this.playerContainer?.querySelector("video"))}registryEventHandlers(){this.videoElement?.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){this.videoElement?.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){const n=e.pictureInPictureWindow;n&&(this.info.isActive$.next(!0),this.isRequested=!0,n.addEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.enterpictureinpicture?.(e))}onLeavePictureInPicture(e){const n=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,n?.removeEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.leavepictureinpicture?.(e),this.playerDummyElement?.$destroy()}onResize(e){this.externalEventHandlers.resize?.(e)}}function Mo(i){return i instanceof rl}function sc(i){const e=vt();return Ki(()=>{e.getAdmanWrapper().startPostroll()}),[]}class ac extends ke{constructor(e){super(),_e(this,e,sc,null,ge,{})}}function rc(i){Fe(i,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function uc(i){let e=U("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=ze(e)},m(n,o){C(n,t,o)},p(n,o){o&3&&e!==(e=U("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&Xe(t,e)},d(n){n&&y(t)}}}function cc(i){let e,t=U("skip_ads_now")+"",n,o,l,s,a,r;return{c(){e=k("div"),n=ze(t),o=N(),l=I("svg"),s=I("path"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(l,"class","icon v-22jj8o"),u(l,"width","7"),u(l,"height","12"),u(l,"viewBox","0 0 7 12"),u(l,"fill","none"),u(l,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){C(c,e,f),d(e,n),d(e,o),d(e,l),d(l,s),a||(r=Ae(e,"click",rt(function(){kn(i[2])&&i[2].apply(this,arguments)})),a=!0)},p(c,f){i=c},d(c){c&&y(e),a=!1,r()}}}function fc(i){let e;function t(l,s){return l[3]?cc:uc}let n=t(i),o=n(i);return{c(){e=k("div"),o.c(),u(e,"class","container v-22jj8o"),V(e,"container-mobile",i[4]),V(e,"skippable",i[3])},m(l,s){C(l,e,s),o.m(e,null)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e,null))),s&16&&V(e,"container-mobile",l[4]),s&8&&V(e,"skippable",l[3])},i:K,o:K,d(l){l&&y(e),o.d()}}}function dc(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:l=0}=e,{skipAd:s=et}=e;const r=vt().ui.isMobile;F(i,r,f=>t(4,n=f));let c;return i.$$set=f=>{"position"in f&&t(0,o=f.position),"secondsToWatchBeforeSkip"in f&&t(1,l=f.secondsToWatchBeforeSkip),"skipAd"in f&&t(2,s=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=o>0&&o>=l)},[o,l,s,c,n,r]}class mc extends ke{constructor(e){super(),_e(this,e,dc,fc,ge,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},rc)}}function hc(i){Fe(i,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function pc(i){let e;return{c(){e=k("button"),e.textContent=`${U("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){C(t,e,n)},p:K,i:K,o:K,d(t){t&&y(e)}}}class gc extends ke{constructor(e){super(),_e(this,e,null,pc,ge,{},hc)}}function bc(i){Fe(i,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
|
|
6
|
+
import{VERSION as oc,ChromecastState as yn,PlaybackState as Ht,VideoQuality as co,Player as lc,VideoFormat as To}from"@vkontakte/videoplayer-core/evergreen.esm.js";import{VideoFormat as n5,VideoQuality as o5}from"@vkontakte/videoplayer-core/evergreen.esm.js";import{InterfaceLanguage as Mo,VideoQuality as Xo,fillWithDefault as sc,VERSION as rc,assertNonNullable as ot,safeStorage as _n,isNullable as $o,Subscription as Un,isNonNullable as gn,isMacLike as Jl,debounceFn as ac,ValueSubject as Tl,getCurrentBrowser as El,CurrentClientBrowser as i1,noop as Ge,checkNever as uc,timeCodeToString as cc,Subject as fn,addScript as fc,Logger as n1,merge as dc,Observable as mc,map as pc,loadVKLangPack as hc,isIOS as o1,getHighestQuality as gc,throttleFn as il,CurrentClientDevice as bc,getIOSVersion as _c,detectEmbed as vc,observeElementSize as wc,isMobile as kc,cloneDeepWith as yc}from"@vkontakte/videoplayer-shared/evergreen.esm.js";import{InterfaceLanguage as s5,VKNumericLanguage as r5,loadVKLangPack as a5}from"@vkontakte/videoplayer-shared/evergreen.esm.js";import{VERSION as Cc,SeekAction as It,OneStat as Pc,InteractiveInterfaceClick as Eo}from"@vkontakte/videoplayer-statistics/evergreen.esm.js";function W(){}function l1(t,e){for(const i in e)t[i]=e[i];return t}function s1(t){return t()}function xl(){return Object.create(null)}function et(t){t.forEach(s1)}function bn(t){return typeof t=="function"}function ge(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let Fo;function $l(t,e){return Fo||(Fo=document.createElement("a")),Fo.href=e,t===Fo.href}function Sc(t){return Object.keys(t).length===0}function Qt(t,...e){if(t==null){for(const n of e)n(void 0);return W}const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function Ye(t){let e;return Qt(t,i=>e=i)(),e}function O(t,e,i){t.$$.on_destroy.push(Qt(e,i))}function Vn(t,e,i,n){if(t){const o=r1(t,e,i,n);return t[0](o)}}function r1(t,e,i,n){return t[1]&&n?l1(i.ctx.slice(),t[1](n(e))):i.ctx}function Mn(t,e,i,n){if(t[2]&&n){const o=t[2](n(i));if(e.dirty===void 0)return o;if(typeof o=="object"){const s=[],l=Math.max(e.dirty.length,o.length);for(let r=0;r<l;r+=1)s[r]=e.dirty[r]|o[r];return s}return e.dirty|o}return e.dirty}function Bn(t,e,i,n,o,s){if(o){const l=r1(e,i,n,s);t.p(l,o)}}function Rn(t){if(t.ctx.length>32){const e=[],i=t.ctx.length/32;for(let n=0;n<i;n++)e[n]=-1;return e}return-1}function Tc(t){return t??""}const a1=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function m(t,e){t.appendChild(e)}function He(t,e,i){const n=Ec(t);if(!n.getElementById(e)){const o=T("style");o.id=e,o.textContent=i,Ac(n,o)}}function Ec(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Ac(t,e){return m(t.head||t,e),e.sheet}function E(t,e,i){t.insertBefore(e,i||null)}function S(t){t.parentNode&&t.parentNode.removeChild(t)}function vn(t,e){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(e)}function T(t){return document.createElement(t)}function R(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function ze(t){return document.createTextNode(t)}function z(){return ze(" ")}function lt(){return ze("")}function he(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function Jt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function tt(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function u(t,e,i){i==null?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function Lc(t){return Array.from(t.childNodes)}function Qe(t,e){e=""+e,t.data!==e&&(t.data=e)}function St(t,e,i,n){i==null?t.style.removeProperty(e):t.style.setProperty(e,i,n?"important":"")}let Uo;function Ic(){if(Uo===void 0){Uo=!1;try{typeof window<"u"&&window.parent&&window.parent.document}catch{Uo=!0}}return Uo}function Al(t,e){getComputedStyle(t).position==="static"&&(t.style.position="relative");const n=T("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const o=Ic();let s;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=he(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{s=he(n.contentWindow,"resize",e),e()}),m(t,n),()=>{(o||s&&n.contentWindow)&&s(),S(n)}}function B(t,e,i){t.classList.toggle(e,!!i)}function Cn(t,e){return new t(e)}let Io;function Lo(t){Io=t}function Bo(){if(!Io)throw new Error("Function called outside component initialization");return Io}function ln(t){Bo().$$.on_mount.push(t)}function nl(t){Bo().$$.on_destroy.push(t)}function wl(t,e){return Bo().$$.context.set(t,e),e}function Ll(t){return Bo().$$.context.get(t)}function u1(){return Bo().$$.context}function go(t,e){const i=t.$$.callbacks[e.type];i&&i.slice().forEach(n=>n.call(this,e))}const fo=[],Ce=[];let po=[];const kl=[],c1=Promise.resolve();let yl=!1;function f1(){yl||(yl=!0,c1.then(d1))}function ol(){return f1(),c1}function bo(t){po.push(t)}function Ue(t){kl.push(t)}const cl=new Set;let ro=0;function d1(){if(ro!==0)return;const t=Io;do{try{for(;ro<fo.length;){const e=fo[ro];ro++,Lo(e),Vc(e.$$)}}catch(e){throw fo.length=0,ro=0,e}for(Lo(null),fo.length=0,ro=0;Ce.length;)Ce.pop()();for(let e=0;e<po.length;e+=1){const i=po[e];cl.has(i)||(cl.add(i),i())}po.length=0}while(fo.length);for(;kl.length;)kl.pop()();yl=!1,cl.clear(),Lo(t)}function Vc(t){if(t.fragment!==null){t.update(),et(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(bo)}}function Mc(t){const e=[],i=[];po.forEach(n=>t.indexOf(n)===-1?e.push(n):i.push(n)),i.forEach(n=>n()),po=e}const Jo=new Set;let jn;function fe(){jn={r:0,c:[],p:jn}}function de(){jn.r||et(jn.c),jn=jn.p}function d(t,e){t&&t.i&&(Jo.delete(t),t.i(e))}function g(t,e,i,n){if(t&&t.o){if(Jo.has(t))return;Jo.add(t),jn.c.push(()=>{Jo.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}function Ft(t){return t?.length!==void 0?t:Array.from(t)}function Bc(t,e){const i={},n={},o={$$scope:1};let s=t.length;for(;s--;){const l=t[s],r=e[s];if(r){for(const a in l)a in r||(n[a]=1);for(const a in r)o[a]||(i[a]=r[a],o[a]=1);t[s]=r}else for(const a in l)o[a]=1}for(const l in n)l in i||(i[l]=void 0);return i}function Rc(t){return typeof t=="object"&&t!==null?t:{}}function qe(t,e,i){const n=t.$$.props[e];n!==void 0&&(t.$$.bound[n]=i,i(t.$$.ctx[n]))}function U(t){t&&t.c()}function H(t,e,i){const{fragment:n,after_update:o}=t.$$;n&&n.m(e,i),bo(()=>{const s=t.$$.on_mount.map(s1).filter(bn);t.$$.on_destroy?t.$$.on_destroy.push(...s):et(s),t.$$.on_mount=[]}),o.forEach(bo)}function F(t,e){const i=t.$$;i.fragment!==null&&(Mc(i.after_update),et(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function Nc(t,e){t.$$.dirty[0]===-1&&(fo.push(t),f1(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ve(t,e,i,n,o,s,l,r=[-1]){const a=Io;Lo(t);const c=t.$$={fragment:null,ctx:[],props:s,update:W,not_equal:o,bound:xl(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:xl(),dirty:r,skip_bound:!1,root:e.target||a.$$.root};l&&l(c.root);let f=!1;if(c.ctx=i?i(t,e.props||{},(p,h,..._)=>{const b=_.length?_[0]:h;return c.ctx&&o(c.ctx[p],c.ctx[p]=b)&&(!c.skip_bound&&c.bound[p]&&c.bound[p](b),f&&Nc(t,p)),h}):[],c.update(),f=!0,et(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const p=Lc(e.target);c.fragment&&c.fragment.l(p),p.forEach(S)}else c.fragment&&c.fragment.c();e.intro&&d(t.$$.fragment),H(t,e.target,e.anchor),d1()}Lo(a)}class we{$$=void 0;$$set=void 0;$destroy(){F(this,1),this.$destroy=W}$on(e,i){if(!bn(i))return W;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const o=n.indexOf(i);o!==-1&&n.splice(o,1)}}$set(e){this.$$set&&!Sc(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const zc="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(zc);var _o;(function(t){t.VK="vk",t.VK_VIDEO="vk_video"})(_o||(_o={}));const Dc={isMobile:void 0,defaultLanguage:Mo.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:_o.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:Xo.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0,contextMenuButton:!1},controls:{hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,slot:void 0,preview:void 0},interactive:{historyMaxLength:100}},Oc=t=>sc(t,Dc),Hc=t=>wl("ui-config",t),sn=()=>Ll("ui-config"),Cl="vk_player_debug_panel_opened",m1=300,Fc=100,Uc="videoplayer",qc="videoplayer";var Ie;(function(t){t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Comma="Comma",t.Period="Period",t.Space="Space",t.KeyM="KeyM",t.KeyF="KeyF",t.KeyK="KeyK",t.KeyL="KeyL",t.KeyJ="KeyJ",t.KeyC="KeyC",t.KeyI="KeyI",t.Digit1="Digit1",t.Digit2="Digit2",t.Digit3="Digit3",t.Digit4="Digit4",t.Digit5="Digit5",t.Digit6="Digit6",t.Digit7="Digit7",t.Digit8="Digit8",t.Digit9="Digit9",t.Digit0="Digit0",t.Numpad1="Numpad1",t.Numpad2="Numpad2",t.Numpad3="Numpad3",t.Numpad4="Numpad4",t.Numpad5="Numpad5",t.Numpad6="Numpad6",t.Numpad7="Numpad7",t.Numpad8="Numpad8",t.Numpad9="Numpad9",t.Numpad0="Numpad0",t.ShiftLeft="ShiftLeft",t.ShiftRight="ShiftRight",t.Slash="Slash",t.Tab="Tab",t.Escape="Escape",t.Enter="Enter"})(Ie||(Ie={}));const Ro={[Ie.KeyF]:"f",[Ie.KeyK]:"k",[Ie.KeyC]:"c",[Ie.KeyM]:"m"},Wc=new Set([Ie.ArrowLeft,Ie.ArrowRight,Ie.KeyL,Ie.KeyJ]),Zc=new Set([Ie.Tab,Ie.Space,Ie.ArrowLeft,Ie.ArrowRight,Ie.ArrowUp,Ie.ArrowDown]),jc=new Set([Ie.ShiftRight,Ie.ShiftLeft]);var nt;(function(t){t.PLAY_BUTTON="PLAY_BUTTON",t.REPLAY_BUTTON="REPLAY_BUTTON",t.NEXT_BUTTON="NEXT_BUTTON",t.PREV_BUTTON="PREV_BUTTON",t.PICTURE_IN_PICTURE="PICTURE_IN_PICTURE",t.FULLSCREEN_BUTTON="FULLSCREEN_BUTTON",t.SETTINGS_BUTTON="SETTINGS_BUTTON",t.LIVE_BUTTON="LIVE_BUTTON",t.GRAPH_BUTTON="GRAPH_BUTTON",t.PLAY_PREV_CHAPTER_BUTTON="PLAY_PREV_CHAPTER_BUTTON",t.SEEK_TO_INTERACTIVE_BUTTON="SEEK_TO_INTERACTIVE_BUTTON",t.TIMELINE="TIMELINE",t.VOLUME_BAR="VOLUME_BAR",t.MUTE_BUTTON="MUTE_BUTTON",t.SUBTITLES_BUTTON="SUBTITLES_BUTTON",t.CHROMECAST_BUTTON="CHROMECAST_BUTTON",t.VK_BUTTON="VK_BUTTON",t.EPISODE_BUTTON="EPISODE_BUTTON",t.INCREMENT_PLAYBACK_RATE="INCREMENT_PLAYBACK_RATE",t.DECREMENT_PLAYBACK_RATE="DECREMENT_PLAYBACK_RATE"})(nt||(nt={}));const es=40,p1=260,Kc=60,qo=8,h1=[nt.TIMELINE],xo=[...h1,nt.GRAPH_BUTTON],ts=[...h1,nt.PLAY_BUTTON],g1=[...xo,nt.PLAY_BUTTON];var mo;(function(t){t[t.XS=320]="XS",t[t.S=509]="S",t[t.M=599]="M",t[t.L=699]="L"})(mo||(mo={}));var vt;(function(t){t.XS="xs",t.S="s",t.M="m",t.L="l",t.XL="xl"})(vt||(vt={}));const vo={[vt.XS]:0,[vt.S]:1,[vt.M]:2,[vt.L]:3,[vt.XL]:4},ao=[];function kn(t,e){return{subscribe:Me(t,e).subscribe}}function Me(t,e=W){let i;const n=new Set;function o(r){if(ge(t,r)&&(t=r,i)){const a=!ao.length;for(const c of n)c[1](),ao.push(c,t);if(a){for(let c=0;c<ao.length;c+=2)ao[c][0](ao[c+1]);ao.length=0}}}function s(r){o(r(t))}function l(r,a=W){const c=[r,a];return n.add(c),n.size===1&&(i=e(o,s)||W),r(t),()=>{n.delete(c),n.size===0&&i&&(i(),i=null)}}return{set:o,update:s,subscribe:l}}function si(t,e,i){const n=!Array.isArray(t),o=n?[t]:t;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=e.length<2;return kn(i,(l,r)=>{let a=!1;const c=[];let f=0,p=W;const h=()=>{if(f)return;p();const b=e(n?c[0]:c,l,r);s?l(b):p=bn(b)?b:W},_=o.map((b,k)=>Qt(b,v=>{c[k]=v,f&=~(1<<k),a&&h()},()=>{f|=1<<k}));return a=!0,h(),function(){et(_),p(),a=!1}})}const Gc="prod",Il="1.1.35-dev.effe86bb.0",b1=(t,e,i)=>{const n=document.createElement("a");n.href=t,n.download=`${e}.${i}`,n.style.display="none",n.click()},_1=Symbol("storeContext"),v1=Symbol("microStoresContext"),Yc=(t,e)=>{wl(_1,t),wl(v1,e)},mt=()=>{const t=Ll(_1);return ot(t,"Store context is empty!"),t},Vl=()=>{const t=Ll(v1);return ot(t,"MicroStores context is empty!"),t},ct=(t,e)=>w1(t,t.getValue(),e),w1=(t,e,i)=>kn(e,n=>{const o=t.subscribe(s=>{n(s),i?.(s)});return()=>o.unsubscribe()}),Qc=(t,e,i)=>{const n=t.info,{width:o,height:s}=Ye(i.ui.playerSize),l=n.throughputEstimation$.getValue()?.toFixed(0)??0,r=n.rttEstimation$.getValue()?.toFixed(0)??0,a=n.isAutoQualityEnabled$.getValue()?"auto":"manual",c=`${Il} (core: ${oc}, stat: ${Cc}, shared: ${rc})`,f=Ye(i.state.errorLog$),p=f.length?`
|
|
7
|
+
`+f.map((b,k)=>{const v=`${k}) Type: ${b.id}
|
|
8
|
+
`,P=`Message: ${b.message} (${b.thrown})
|
|
9
|
+
`,y=`Trace: ${b.thrown?.stack}
|
|
10
|
+
`;return v+P+y}).join(`
|
|
11
|
+
`):void 0,h=i.state.isAudioDisabled?"disabled":Ye(i.state.isAudioAvailable$)?void 0:"unavailable",_={Version:c,Browser:navigator.userAgent,Config:t.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(i.videoId),"Content host":n.hostname$.getValue(),"Connection type":n.httpConnectionType$.getValue()+(n.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${l}Kbps @ ${r}ms RTT`,Format:n.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${a} ${n.currentQuality$.getValue()}`,"Available qualities":n.availableQualities$.getValue().join(", "),Audio:h,Position:`${Ye(i.state.positionExact$)}s`,State:`${Ye(i.playerPhase)} ${n.playbackState$.getValue()}`,"Player size":`${o}x${s}`,URL:window.location.href,Errors:p};return Object.entries(_).filter(([b,k])=>k!==void 0).map(([b,k])=>`${b}: ${k}`).join(`
|
|
12
|
+
`)},Xc=(t,e,i)=>{const n=t.info,{width:o,height:s}=Ye(i.ui.playerSize),l={version:Il,viewport:`${o}x${s}`,volume:Math.round(Ye(i.state.volume$)*100)};l.id=i.videoId,n.currentFormat$.getValue()&&(l.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(l.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(l.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(l.buffer=Math.max(f.end-Ye(i.state.positionExact$),0));const p=n.throughputEstimation$.getValue();p&&(l.speed=p);const h=n.videoBitrate$.getValue();return h&&(l.bitrate=h),l},Jc=(t,e)=>b1(t,e,"mp4"),k1="vk_player_prefer_traffic_saving_enabled",y1="vk_player_preferred_volume",C1="vk_player_prefer_volume_mute",Ml="vk_player_preferred_quality",P1=t=>t>1?1:t<0?0:t,is=t=>_n.set(y1,P1(t).toString(10)),S1=()=>{const t=_n.get(y1);return $o(t)?void 0:P1(parseFloat(t))},xc=(t,e)=>_n.set(Ml,JSON.stringify({videoId:t,value:e})),T1=()=>_n.remove(Ml),$c=t=>{const e=_n.get(Ml);if($o(e))return;const{videoId:i,value:n}=JSON.parse(e);if(t!==i){T1();return}return n},E1=(t,e)=>{e?_n.set(t,"true"):_n.remove(t)},A1=t=>_n.get(t)==="true",fl=t=>E1(C1,t),ef=()=>A1(C1),tf=t=>E1(k1,t),nf=()=>A1(k1);function of(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,k,v,P,y;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),l=R("path"),r=R("path"),a=R("defs"),c=R("filter"),f=R("feFlood"),p=R("feColorMatrix"),h=R("feOffset"),_=R("feGaussianBlur"),b=R("feColorMatrix"),k=R("feBlend"),v=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(o,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(o,"fill","#fff"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(s,"fill","#fff"),u(l,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(l,"fill","#fff"),u(r,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(r,"stroke-linecap","round"),u(r,"stroke-linejoin","round"),u(i,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(p,"in","SourceAlpha"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(p,"result","hardAlpha"),u(_,"stdDeviation","2.5"),u(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(k,"in2","BackgroundImageFix"),u(k,"result","effect1_dropShadow_618_12297"),u(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_618_12297"),u(v,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",P=!t[0]||null),u(e,"aria-label",y=t[0]||null)},m(w,D){E(w,e,D),m(e,i),m(i,n),m(i,o),m(i,s),m(i,l),m(i,r),m(e,a),m(a,c),m(c,f),m(c,p),m(c,h),m(c,_),m(c,b),m(c,k),m(c,v)},p(w,[D]){D&1&&P!==(P=!w[0]||null)&&u(e,"aria-hidden",P),D&1&&y!==(y=w[0]||null)&&u(e,"aria-label",y)},i:W,o:W,d(w){w&&S(e)}}}function lf(t,e,i){let{ariaLabel:n=""}=e;return t.$$set=o=>{"ariaLabel"in o&&i(0,n=o.ariaLabel)},[n]}class L1 extends we{constructor(e){super(),ve(this,e,lf,of,ge,{ariaLabel:0})}}const sf={auto_quality_invariant:"\u0410\u0432\u0442\u043E",auto_quality:"\u0410\u0432\u0442\u043E ({actual})",auto_quality_option:"\u0410\u0432\u0442\u043E",menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",menu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",menu_report:"\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435",menu_pip:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",menu_copy_video_link:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E",menu_copy_video_link_with_timestamp:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043A\u0430\u0434\u0440",menu_video_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C",menu_chromecast:"Chromecast \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F",menu_copy_debug:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_save_debug:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",pip_dummy_title:"\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",submenu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",submenu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",submenu_settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",submenu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",mobile_unmute:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",playing_ads:"\u0420\u0435\u043A\u043B\u0430\u043C\u0430 {timeleft}",skip_ads_now:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",skip_ads_after:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u0447\u0435\u0440\u0435\u0437 {time}\u0441",visit_advertiser:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442",aria_timeline:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B",aria_timeline_value:"{position} (\u043E\u0431\u0449\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C {duration}",aria_open_settings:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0438\u0434\u0435\u043E\u043F\u043B\u0435\u0435\u0440\u0430",doubletap_seek_step:"{seconds} \u0441\u0435\u043A\u0443\u043D\u0434",playback_rate_1:"\u041E\u0431\u044B\u0447\u043D\u0430\u044F",playback_rate:"{multiplier}x",video360:"\u043F\u0430\u043D\u043E\u0440\u0430\u043C\u043D\u043E\u0435 \u0432\u0438\u0434\u0435\u043E",subtitles_caption:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_auto:"{language} (\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435)",subtitles_off:"\u0412\u044B\u043A\u043B.",subtitles_auto_caption:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",traffic_saving_off:"\u041E\u0442\u043A\u043B.",traffic_saving_on:"\u0412\u043A\u043B.",traffic_saving_disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_enable:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_helper_text:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u0432\u0438\u0434\u0435\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u0438\u0436\u0435\u043D\u043E \u0434\u043B\u044F \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043A\u0430",tooltip_button_disabled:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_previous:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_restart:"\u041D\u0430\u0447\u0430\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E",tooltip_play:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",tooltip_pause:"\u041F\u0430\u0443\u0437\u0430",tooltip_next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_interactive_go_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0433\u043B\u0430\u0432\u0435",tooltip_interactive_go_back_disabled:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_interactive_go_back_disabled_first:"\u0412\u044B \u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043F\u0435\u0440\u0432\u0443\u044E \u0433\u043B\u0430\u0432\u0443",tooltip_interactive_go_back_disabled_limit:"\u041B\u0438\u043C\u0438\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u0432 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",tooltip_chapter_without_interactive:"\u0412 \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u0435 \u043D\u0435\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_interactive_of_chapter_completed:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u044B \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u044B \u0443\u0436\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u044B",tooltip_interactive_seek:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0443",tooltip_interactive_graph_off:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_interactive_graph_on:"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_live:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u043D\u0430 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043B\u0430\u0439\u0432",tooltip_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",tooltip_volume:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_volume_muted:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_subtitles_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_subtitles_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_settings_off:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_settings_on:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_fullscreen_off:"\u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D",tooltip_fullscreen_on:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",tooltip_chromecast_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_chromecast_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_episode_finished:"\u0412\u044B \u0443\u0436\u0435 \u0441\u0434\u0435\u043B\u0430\u043B\u0438 \u0441\u0432\u043E\u0439 \u0432\u044B\u0431\u043E\u0440",tooltip_episode_unfinished:"\u041D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043E",tooltip_disabled_when_interactive:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432 \u0443\u0436\u0435 \u0438\u0434\u0451\u0442",tooltip_disabled_when_graph_on:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043A\u0430\u0440\u0442\u044B",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",aria_label_spherical_control:"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440 \u0434\u043B\u044F \u0441\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0438\u0434\u0435\u043E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438 \u0434\u043B\u044F \u043F\u0430\u043D\u043E\u0440\u0430\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E.",aria_label_debug_panel:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0441 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439, \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0441\u043A\u0440\u0438\u043D\u0448\u043E\u0442 \u0434\u043B\u044F \u0442\u0435\u0445\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438",aria_label_new_tab_alert:"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435.",aria_label_context_menu_open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_context_menu_close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_menu_quality:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0430. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E {actual}",aria_label_menu_rate:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u0438. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C {actual}",aria_label_menu_traffic_saving:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0443 \u0440\u0435\u0436\u0438\u043C\u0430 \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 {actual}",aria_label_menu_subtitle:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043E\u0432. \u0422\u0435\u043A\u0443\u0449\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B {actual}",aria_label_menu_download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",aria_label_menu_debug_overlay_enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_debug_overlay_disable:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432",aria_label_submenu_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A",aria_label_submenu_quality_select_quality:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E {quality}",aria_label_submenu_rate_select_rate:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C {rate}",aria_label_submenu_traffic_saving_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_traffic_saving_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_subtitle_select_subtitle:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B {subtitle}"},rf={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_save_debug:"Save debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_restart:"Watch again",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_go_back:"Back to previous chapter",tooltip_interactive_go_back_disabled:"Interactive history unavailable",tooltip_interactive_go_back_disabled_first:"You're watching the first chapter",tooltip_interactive_go_back_disabled_limit:"Go-back limit exceeded",tooltip_chapter_without_interactive:"This chapter has no interactive segment",tooltip_interactive_of_chapter_completed:"Chapter's interactive segments already watched",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Interactive video in progress",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon",aria_label_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_debug_panel:"Technical information area, take a screenshot for technical support",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_context_menu_open:"Open context menu",aria_label_context_menu_close:"Close context menu",aria_label_menu_quality:"Open the quality selection menu. Current quality {actual}",aria_label_menu_rate:"Open the speed selection menu. Current rate {actual}",aria_label_menu_traffic_saving:"Open the data saving mode setting. Current state {actual}",aria_label_menu_subtitle:"Open the subtitle selection menu. Current subtitles {actual}",aria_label_menu_download:"Download video",aria_label_menu_debug_overlay_enable:"Enable display of technical information",aria_label_menu_debug_overlay_disable:"Disable display of technical information",aria_label_menu_rotate:"Rotate video 90 degrees",aria_label_submenu_back:"Return to settings menu",aria_label_submenu_quality_select_quality:"Select quality {quality}",aria_label_submenu_rate_select_rate:"Select rate {rate}",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode",aria_label_submenu_subtitle_select_subtitle:"Select subtitles {subtitle}"},An=new Map;An.set(Mo.EN,rf);An.set(Mo.RU,sf);const I1=new Map,ns=({language:t,pack:e,fallback:i})=>{if(An.has(t)){const n=An.get(t);An.set(t,{...n,...e})}else An.set(t,e);I1.set(t,i)},os=t=>An.has(t),V1=(t,e,i,n)=>{let s=An.get(t)?.[e];if($o(s)){const l=I1.get(t)??n;s=(l?An.get(l):void 0)?.[e]}return $o(s)?e+Object.values(i??{}).join(" "):i?s.replaceAll(/{(\w+?)}/g,(l,r)=>i[r]??""):s},K=(t,e)=>{const{interfaceLanguage$:i}=mt(),n=Ye(i),o=sn();return V1(n,t,e,o.defaultLanguage)};var el;(function(t){t.fatal="fatal",t.error="error",t.warning="warning",t.log="log",t.info="info",t.debug="debug",t.critical="critical"})(el||(el={}));const af=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,uf=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,cf=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Wo="?",ff="X-Sentry-Auth",df=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function mf(t){if(!t.stack)return null;const e=[],i=t.stack.split(`
|
|
13
|
+
`);let n,o;for(let s=0;s<i.length;++s){if(n=af.exec(i[s]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||Wo,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=cf.exec(i[s]))o={filename:n[2],function:n[1]||Wo,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=uf.exec(i[s]))s===0&&!n[5]&&t.columnNumber!==void 0&&(e[0].column=t.columnNumber+1),o={filename:n[3],function:n[1]||Wo,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=Wo),e.push(o)}return e.length?{value:M1(t),type:t.name,stacktrace:{frames:e.reverse()}}:null}function M1(t){return(t&&t.message||"No error message").split(`
|
|
14
|
+
`).filter(i=>!!i)[0]}function pf(t){try{const e=mf(t);if(e)return e}catch{}return{value:M1(t),type:t&&t.name,stacktrace:{frames:[]}}}function hf(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,t=>{const e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}class gf{constructor(e){if(e&&e.dsn){const i=df.exec(e.dsn),n=i?i.slice(1):[],o=n[5].split("/"),s=o.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(s?"/"+s:"")+"/api/"+o.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return{...this.getRequestBlank(),exception:{values:[pf(e)]}}}report(e){this.send(this.prepare(e))}send(e){!this.apiUrl||!e||this.createRequest(e)}createRequest(e){const i=new XMLHttpRequest;i.open("POST",this.apiUrl,!0),i.setRequestHeader("Content-type","application/json"),i.setRequestHeader(ff,this.authHeader||""),i.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:hf(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function ls(t,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(t):typeof e=="string"?t.indexOf(e)!==-1:!1}function bf(){return window}class Bl extends gf{constructor(e,i=bf()){super(e),this.options=e,this.window=i,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:o=c=>c,beforeBreadcrumb:s=c=>c,blacklistUrls:l=[],ignoreErrors:r=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=s,this.blacklistUrls=l,this.ignoreErrors=r,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",{...e}),this}setTag(e,i){return this.extendState({tags:{[e]:i}}),this}setExtra(e,i){return this.extendState({extra:{[e]:i}}),this}setExtras(e){return this.setKeyState("extra",{...e}),this}setUser(e){return this.setKeyState("user",{...e}),this}clone(){const e=new Bl({...this.options,plugins:[]});return e.extendState(this.state),e}withScope(e){const i=this.clone();e(i),i.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[{timestamp:Date.now()/1e3,...this.beforeBreadcrumb(e)}]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,i){this.send({...this.getRequestBlank(),message:e,level:i})}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(i=>this.ignoreErrors.some(n=>ls(i,n))):!1}getRequestBlank(){return{request:{url:this.window.location.toString(),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},...this.state}}send(e){this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e)||(super.send(this.beforeSend({release:this.release,...e})),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:i="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${i}: ${n}`]}catch{return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const i=this.getEventFilterUrl(e);return i?this.blacklistUrls.some(n=>ls(i,n)):!1}getEventFilterUrl(e){try{if(e.exception){const i=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return i&&i[i.length-1].filename||null}return null}catch{return null}}extendState(e){this._state=Object.keys(e).reduce((i,n)=>{const o=this._state[n],s=Array.isArray(o)?o:null,l=e[n],r=Array.isArray(l)?l:null;return{...i,[n]:s||r?[...s||[],...r||[]]:{...typeof o!="string"?o:{},...typeof l!="string"?l:{}}}},this._state)}setKeyState(e,i){this._state[e]=i}}let Zo=null;class Pl{sentrySubscription;options;version;context;sentryClient;constructor(e,i,n={}){!Zo&&e.dsn&&(this.sentryClient=new Bl({dsn:e.dsn,environment:i.env}),this.version=i.version,this.sentrySubscription=new Un,this.options=e,this.context=n,Zo=this)}destroy(){this.sentryClient?.destroy(),this.sentrySubscription?.unsubscribe(),Zo=null}logIError(e,i=!1){e.thrown&&this.report(e.thrown,{fatal:i,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,i={},n={}){const{sentryClient:o,context:s,options:l}=this,{sampleRate:r=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:p}=l,{errorType:h,category:_}=i;if(gn(_)&&p.includes(_)||gn(h)&&f.includes(h))return;if(Math.random()<=r||gn(_)&&c.includes(_)||gn(h)&&a.includes(h)){Object.keys(i).length&&o.setTags({version:this.version,...i}),(Object.keys(s).length||Object.keys(n).length)&&o.setExtras({...s,...n});try{h&&o.captureMessage(h,i.fatal?el.fatal:el.error),o.report(e)}catch(k){console.error(k)}}}static getInstance(){return Zo}}var ho;(function(t){t.AUTO="auto"})(ho||(ho={}));var Re;(function(t){t.Thumb="thumb",t.Video="video",t.Ads="ads",t.Crashed="crashed",t.WaitingLive="waitingLive",t.WaitingRecord="waitingRecord"})(Re||(Re={}));var En;(function(t){t.Preroll="preroll",t.Midroll="midroll",t.Postroll="postroll"})(En||(En={}));var Xt;(function(t){t.INACTIVE="inactive",t.PLAYING="playing",t.PAUSED="paused"})(Xt||(Xt={}));var Ln;(function(t){t[t.PictureInPicture=0]="PictureInPicture",t[t.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(Ln||(Ln={}));var Ke;(function(t){t.PLAY="PLAY",t.PAUSE="PAUSE",t.REPLAY="REPLAY",t.BACKWARD_SEEK="BACKWARD_SEEK",t.FORWARD_SEEK="FORWARD_SEEK",t.SUBTITLES_ON="SUBTITLES_ON",t.SUBTITLES_OFF="SUBTITLES_OFF",t.RATE_UP="RATE_UP",t.RATE_DOWN="RATE_DOWN",t.EPISODE_PREV="EPISODE_PREV",t.EPISODE_NEXT="EPISODE_NEXT",t.MUTE="MUTE",t.VOLUME="VOLUME"})(Ke||(Ke={}));var Kn;(function(t){t.FULL="FULL",t.COUNT="COUNT",t.SHORT="SHORT"})(Kn||(Kn={}));const B1=t=>{if(t.requestFullscreen)return t.requestFullscreen();if(t.msRequestFullscreen)return t.msRequestFullscreen();if(t.webkitRequestFullscreen)return t.webkitRequestFullscreen();if(t.mozRequestFullScreen)return t.mozRequestFullScreen();const e=t.querySelector("video");return e?.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},R1=t=>t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():Promise.reject(),_f=t=>{const e=t;return e?.webkitExitFullscreen?e?.webkitExitFullscreen():Promise.reject()},Vo=()=>{const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)},N1=t=>{document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),document.addEventListener("mozfullscreenchange",t),document.addEventListener("MSFullscreenChange",t)},z1=t=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",t),document.removeEventListener("mozfullscreenchange",t),document.removeEventListener("MSFullscreenChange",t)},vf=t=>{const e=window.screen;return(async o=>e.orientation?e.orientation.lock(o):e.mozLockOrientation?e.mozLockOrientation(o):e.msLockOrientation?e.msLockOrientation(o):Promise.reject())(((o={width:0,height:0})=>o.width<=o.height?"portrait":"landscape")(t))},wf=()=>({title:K("hotkey_map_modal_title"),closeBtnText:K("hotkey_map_modal_close_btn_text"),groups:[{title:K("hotkey_map_group_title_common"),items:[{description:K("hotkey_map_item_mute_description"),value:K("hotkey_map_item_mute_value")},{description:K("hotkey_map_item_volume_up_description"),value:K("hotkey_map_item_volume_up_value")},{description:K("hotkey_map_item_volume_down_description"),value:K("hotkey_map_item_volume_down_value")},{description:K("hotkey_map_item_pip_description"),value:K("hotkey_map_item_pip_value")},{description:K("hotkey_map_item_full_screen_description"),value:K("hotkey_map_item_full_screen_value")},{description:K("hotkey_map_item_show_hotkey_map_description"),value:K("hotkey_map_item_show_hotkey_map_value")}]},{title:K("hotkey_map_group_title_playback"),items:[{description:K("hotkey_map_item_play_toggle_description"),value:K("hotkey_map_item_play_toggle_value")},{description:K("hotkey_map_item_seek_backward_description"),value:K("hotkey_map_item_seek_backward_value")},{description:K("hotkey_map_item_seek_forward_description"),value:K("hotkey_map_item_seek_forward_value")},{description:K("hotkey_map_item_fast_seek_backward_description"),value:K("hotkey_map_item_fast_seek_backward_value")},{description:K("hotkey_map_item_fast_seek_forward_description"),value:K("hotkey_map_item_fast_seek_forward_value")},{description:K("hotkey_map_item_rate_down_description"),value:K("hotkey_map_item_rate_down_value")},{description:K("hotkey_map_item_rate_up_description"),value:K("hotkey_map_item_rate_up_value")},{description:K("hotkey_map_item_prev_frame_description"),value:K("hotkey_map_item_prev_frame_value")},{description:K("hotkey_map_item_next_frame_description"),value:K("hotkey_map_item_next_frame_value")},{description:K("hotkey_map_item_jump_seek_description"),value:K("hotkey_map_item_jump_seek_value")}]},{title:K("hotkey_map_group_title_subtitles"),items:[{description:K("hotkey_map_item_subtitles_toggle_description"),value:K("hotkey_map_item_subtitles_toggle_value")}]},{title:K("hotkey_map_group_title_episodes"),items:[{description:K("hotkey_map_item_prev_episode_description"),value:Jl()?K("hotkey_map_item_prev_episode_mac_value"):K("hotkey_map_item_prev_episode_pc_value")},{description:K("hotkey_map_item_next_episode_description"),value:Jl()?K("hotkey_map_item_next_episode_mac_value"):K("hotkey_map_item_next_episode_pc_value")}]}]});class Rl{isRequested=!1;videoElement=void 0;playerContainer=void 0;playerDummyElement;svelteContext;externalEventHandlers={};eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:ac(this.onResize.bind(this),m1)};info={isActive$:new Tl(this.isActive()),type:Ln.PictureInPicture};isSupported(){const e=El().browser===i1.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async request(){if(!(!this.isSupported()||this.isActive()))try{await this.videoElement?.requestPictureInPicture()}catch{this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){this.isSupported()&&(this.videoElement=this.playerContainer?.querySelector("video"))}registryEventHandlers(){this.videoElement?.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){this.videoElement?.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){const n=e.pictureInPictureWindow;n&&(this.info.isActive$.next(!0),this.isRequested=!0,n.addEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.enterpictureinpicture?.(e))}onLeavePictureInPicture(e){const n=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,n?.removeEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.leavepictureinpicture?.(e),this.playerDummyElement?.$destroy()}onResize(e){this.externalEventHandlers.resize?.(e)}}function tl(t){return t instanceof Rl}function kf(t){const e=mt();return ln(()=>{e.getAdmanWrapper().startPostroll()}),[]}class yf extends we{constructor(e){super(),ve(this,e,kf,null,ge,{})}}function Cf(t){He(t,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function Pf(t){let e=K("skip_ads_after",{time:Math.ceil(t[1]-t[0]).toFixed(0)})+"",i;return{c(){i=ze(e)},m(n,o){E(n,i,o)},p(n,o){o&3&&e!==(e=K("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&Qe(i,e)},d(n){n&&S(i)}}}function Sf(t){let e,i=K("skip_ads_now")+"",n,o,s,l,r,a;return{c(){e=T("div"),n=ze(i),o=z(),s=R("svg"),l=R("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(s,"class","icon v-22jj8o"),u(s,"width","7"),u(s,"height","12"),u(s,"viewBox","0 0 7 12"),u(s,"fill","none"),u(s,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){E(c,e,f),m(e,n),m(e,o),m(e,s),m(s,l),r||(a=he(e,"click",tt(function(){bn(t[2])&&t[2].apply(this,arguments)})),r=!0)},p(c,f){t=c},d(c){c&&S(e),r=!1,a()}}}function Tf(t){let e;function i(s,l){return s[3]?Sf:Pf}let n=i(t),o=n(t);return{c(){e=T("div"),o.c(),u(e,"class","container v-22jj8o"),B(e,"container-mobile",t[4]),B(e,"skippable",t[3])},m(s,l){E(s,e,l),o.m(e,null)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e,null))),l&16&&B(e,"container-mobile",s[4]),l&8&&B(e,"skippable",s[3])},i:W,o:W,d(s){s&&S(e),o.d()}}}function Ef(t,e,i){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:s=0}=e,{skipAd:l=Ge}=e;const a=mt().ui.isMobile;O(t,a,f=>i(4,n=f));let c;return t.$$set=f=>{"position"in f&&i(0,o=f.position),"secondsToWatchBeforeSkip"in f&&i(1,s=f.secondsToWatchBeforeSkip),"skipAd"in f&&i(2,l=f.skipAd)},t.$$.update=()=>{t.$$.dirty&3&&i(3,c=o>0&&o>=s)},[o,s,l,c,n,a]}class Af extends we{constructor(e){super(),ve(this,e,Ef,Tf,ge,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},Cf)}}function Lf(t){He(t,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function If(t){let e;return{c(){e=T("button"),e.textContent=`${K("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(i,n){E(i,e,n)},p:W,i:W,o:W,d(i){i&&S(e)}}}class Vf extends we{constructor(e){super(),ve(this,e,null,If,ge,{},Lf)}}function Mf(t){He(t,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
|
|
15
15
|
360deg,
|
|
16
16
|
rgba(0, 0, 0, 0) 0%,
|
|
17
17
|
rgba(0, 0, 0, 0.05) 12%,
|
|
@@ -21,15 +21,15 @@ import{VERSION as G1,ChromecastState as cn,PlaybackState as It,VideoQuality as G
|
|
|
21
21
|
rgba(0, 0, 0, 0.5) 77%,
|
|
22
22
|
rgba(0, 0, 0, 0.55) 88%,
|
|
23
23
|
rgba(0, 0, 0, 0.65) 100%
|
|
24
|
-
)}`)}function Tl(i){let e;return{c(){e=k("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function Al(i){let e,t;return e=new mc({props:{position:i[5],secondsToWatchBeforeSkip:i[6],skipAd:i[8].actions.internal.skipAd}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&32&&(l.position=n[5]),o&64&&(l.secondsToWatchBeforeSkip=n[6]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function El(i){let e,t;return e=new ac({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Vl(i){let e,t;return e=new gc({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function vc(i){let e,t,n,o,l,s,a,r=i[0]&&Tl(),c=i[3]&&Al(i),f=i[7]&&El(),h=i[4]&&Vl();return{c(){e=k("div"),r&&r.c(),t=N(),n=k("video"),o=N(),c&&c.c(),l=N(),f&&f.c(),s=N(),h&&h.c(),At(n,"width","100%"),At(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(g,v){C(g,e,v),r&&r.m(e,null),d(e,t),d(e,n),i[19](n),d(e,o),c&&c.m(e,null),d(e,l),f&&f.m(e,null),d(e,s),h&&h.m(e,null),i[20](e),a=!0},p(g,[v]){g[0]?r||(r=Tl(),r.c(),r.m(e,t)):r&&(r.d(1),r=null),g[3]?c?(c.p(g,v),v&8&&m(c,1)):(c=Al(g),c.c(),m(c,1),c.m(e,l)):c&&(me(),p(c,1,1,()=>{c=null}),he()),g[7]?f?v&128&&m(f,1):(f=El(),f.c(),m(f,1),f.m(e,s)):f&&(me(),p(f,1,1,()=>{f=null}),he()),g[4]?h?v&16&&m(h,1):(h=Vl(),h.c(),m(h,1),h.m(e,null)):h&&(me(),p(h,1,1,()=>{h=null}),he())},i(g){a||(m(c),m(f),m(h),a=!0)},o(g){p(c),p(f),p(h),a=!1},d(g){g&&y(e),r&&r.d(),i[19](null),c&&c.d(),f&&f.d(),h&&h.d(),i[20](null)}}}function _c(i,e,t){let n,o,l,s,a,{adsSlotId:r=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:h=0}=e;const g=vt(),v=g.state.isEnded$;F(i,v,j=>t(7,a=j));const b=g.ui.isMobile;F(i,b,j=>t(0,o=j));let _,L,A=!1;const S=g.ads.playbackState;F(i,S,j=>t(18,n=j));const P=g.ads.canSkip,R=g.ads.position;F(i,R,j=>t(5,l=j));const W=g.ads.secondsToWatchBeforeSkip;F(i,W,j=>t(6,s=j));let X,Z;Ki(()=>{const j=new AbortController;let ie=()=>{j.abort()};const G=g.getAdmanWrapper();if(!r){G.onAdmanLoadingError();return}const{width:J,height:ue}=Qe(g.ui.playerSize),w=Qe(g.ui.isFullscreen),oe=Qe(g.ui.isAutoplay),fe={width:J,height:ue,isFullscreen:w,isAutoplay:oe,adsContainer:_,adsVideoElement:L,slotId:r,params:c,previewParam:f,duration:h};return window.AdmanHTML?(G.initAdman(fe),A=!0):G.loadAdman(j.signal).then(()=>{G.initAdman(fe),A=!0}).catch(()=>{G.onAdmanLoadingError()}),()=>{!A&&ie()}});function T(j){We[j?"unshift":"push"](()=>{L=j,t(2,L)})}function te(j){We[j?"unshift":"push"](()=>{_=j,t(1,_)})}return i.$$set=j=>{"adsSlotId"in j&&t(14,r=j.adsSlotId),"adsParams"in j&&t(15,c=j.adsParams),"adsPreviewParam"in j&&t(16,f=j.adsPreviewParam),"duration"in j&&t(17,h=j.duration)},i.$$.update=()=>{i.$$.dirty&262144&&t(3,X=P&&n!==Dt.INACTIVE),i.$$.dirty&262145&&t(4,Z=o&&n!==Dt.INACTIVE)},[o,_,L,X,Z,l,s,a,g,v,b,S,R,W,r,c,f,h,n,T,te]}class xr extends ke{constructor(e){super(),_e(this,e,_c,vc,ge,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},bc)}}function kc(i){Fe(i,"v-1f6baix",".annotations-container.v-1f6baix{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.annotations-container .annotations-layer > *{pointer-events:initial}.annotations-container.shifted.v-1f6baix{height:calc(100% - var(--controls-height) - var(--slider-height))}")}function wc(i){let e;return{c(){e=k("div"),e.innerHTML="",u(e,"class","annotations-container v-1f6baix"),V(e,"shifted",i[0])},m(t,n){C(t,e,n),i[2](e)},p(t,[n]){n&1&&V(e,"shifted",t[0])},i:K,o:K,d(t){t&&y(e),i[2](null)}}}function yc(i,e,t){let{showControls:n}=e,o;const s=vt().webApi.annotationsApi;Ki(()=>{if(s)return s.registryRootContainer(o),s.reattach(),()=>s.detach()});function a(r){We[r?"unshift":"push"](()=>{o=r,t(1,o)})}return i.$$set=r=>{"showControls"in r&&t(0,n=r.showControls)},[n,o,a]}class $r extends ke{constructor(e){super(),_e(this,e,yc,wc,ge,{showControls:0},kc)}}const _n=i=>{if(!isFinite(i))return"00:00";let e=Math.round(i);const t=Math.floor(e/(60*60));e-=t*(60*60);const n=Math.floor(e/60);return e-=n*60,(t>0?[t,n,e]:[n,e]).map(l=>l>9?String(l):`0${l}`).join(":")};function Cc(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(t,"fill","none"),u(t,"stroke","#fff"),u(t,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(o,l){C(o,e,l),d(e,t),d(e,n)},d(o){o&&y(e)}}}function Pc(i){let e,t,n;return{c(){e=I("svg"),t=I("rect"),n=I("path"),u(t,"width","42"),u(t,"height","20"),u(t,"rx","5"),u(t,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(o,l){C(o,e,l),d(e,t),d(e,n)},d(o){o&&y(e)}}}function Sc(i){let e;function t(l,s){return l[0]?Pc:Cc}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},m(l,s){o.m(l,s),C(l,e,s)},p(l,[s]){n!==(n=t(l))&&(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:K,o:K,d(l){l&&y(e),o.d(l)}}}function Tc(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class e1 extends ke{constructor(e){super(),_e(this,e,Tc,Sc,ge,{isActive:0})}}function Ac(i){Fe(i,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function Ec(i){let e=_n(i[4]-i[3])+"",t;return{c(){t=ze(e)},m(n,o){C(n,t,o)},p(n,o){o&24&&e!==(e=_n(n[4]-n[3])+"")&&Xe(t,e)},i:K,o:K,d(n){n&&y(t)}}}function Vc(i){let e,t,n;return t=new e1({props:{isActive:!0}}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Lc(i){let e,t,n,o,l,s,a;const r=[Vc,Ec],c=[];function f(h,g){return h[1]?0:1}return l=f(i),s=c[l]=r[l](i),{c(){e=k("div"),t=k("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=N(),o=k("span"),s.c(),u(t,"class","thumb-timer-equalizer v-7pnl2h"),u(o,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),V(e,"live",i[1]),V(e,"hidden",i[0]),V(e,"playing",i[2])},m(h,g){C(h,e,g),d(e,t),d(e,n),d(e,o),c[l].m(o,null),a=!0},p(h,[g]){let v=l;l=f(h),l===v?c[l].p(h,g):(me(),p(c[v],1,1,()=>{c[v]=null}),he(),s=c[l],s?s.p(h,g):(s=c[l]=r[l](h),s.c()),m(s,1),s.m(o,null)),(!a||g&2)&&V(e,"live",h[1]),(!a||g&1)&&V(e,"hidden",h[0]),(!a||g&4)&&V(e,"playing",h[2])},i(h){a||(m(s),a=!0)},o(h){p(s),a=!1},d(h){h&&y(e),c[l].d()}}}function Ic(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:l=!1}=e,{position:s}=e,{duration:a}=e;return i.$$set=r=>{"isHidden"in r&&t(0,n=r.isHidden),"isLive"in r&&t(1,o=r.isLive),"isPlaying"in r&&t(2,l=r.isPlaying),"position"in r&&t(3,s=r.position),"duration"in r&&t(4,a=r.duration)},[n,o,l,s,a]}class t1 extends ke{constructor(e){super(),_e(this,e,Ic,Lc,ge,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},Ac)}}const tl=i=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const e=document.createElement("textarea");e.textContent=i,e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}}};function Mc(i){Fe(i,"v-gew86s","ul.v-gew86s{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-gew86s{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-gew86s:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function Bc(i){let e,t=U("menu_copy_video_link")+"",n,o,l,s,a,r=!i[4]&&!i[16]&&Ll(i);return{c(){e=k("li"),n=ze(t),o=N(),r&&r.c(),l=ht(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",U("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){C(c,e,f),d(e,n),C(c,o,f),r&&r.m(c,f),C(c,l,f),s||(a=Ae(e,"click",rt(i[30])),s=!0)},p(c,f){!c[4]&&!c[16]?r?r.p(c,f):(r=Ll(c),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(c){c&&(y(e),y(o),y(l)),r&&r.d(c),s=!1,a()}}}function Ll(i){let e,t=U("menu_copy_video_link_with_timestamp")+"",n,o,l;return{c(){e=k("li"),n=ze(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",U("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),d(e,n),o||(l=Ae(e,"click",rt(i[31])),o=!0)},p:K,d(s){s&&y(e),o=!1,l()}}}function Il(i){let e,t=U("menu_pip")+"",n,o,l;return{c(){e=k("li"),n=ze(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",U("menu_pip")),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),d(e,n),o||(l=Ae(e,"click",rt(i[21])),o=!0)},p:K,d(s){s&&y(e),o=!1,l()}}}function Nc(i){let e,t=U("menu_video_rotate")+"",n,o,l;return{c(){e=k("li"),n=ze(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",U("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),d(e,n),o||(l=Ae(e,"click",rt(i[17])),o=!0)},p:K,d(s){s&&y(e),o=!1,l()}}}function Ml(i){let e,t=U("menu_report")+"",n,o,l;return{c(){e=k("li"),n=ze(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${U("menu_report")}. ${U("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),d(e,n),o||(l=Ae(e,"click",rt(i[18])),o=!0)},p:K,d(s){s&&y(e),o=!1,l()}}}function Rc(i){let e,t,n,o,l,s,a=(i[9].features.saveDebugInfoToFile?U("menu_save_debug"):U("menu_copy_debug"))+"",r,c,f,h=U("menu_debug_overlay")+"",g,v,b,_,L=i[9].features.copyVideoLink&&i[8].callbacks?.onCopyVideoLink&&Bc(i),A=i[11]&&i[5]!==cn.CONNECTED&&!i[16]&&Il(i),S=i[9].features.videoRotate&&!i[16]&&Nc(i),P=i[9].showSupport&&!i[6]&&Ml(i);return{c(){e=k("ul"),L&&L.c(),t=N(),A&&A.c(),n=N(),S&&S.c(),o=N(),P&&P.c(),l=N(),s=k("li"),r=ze(a),c=N(),f=k("li"),g=ze(h),u(s,"tabindex","0"),u(s,"role","menuitem"),u(s,"aria-label",i[9].features.saveDebugInfoToFile?U("menu_save_debug"):U("menu_copy_debug")),u(s,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",v=i[7]?U("aria_label_menu_debug_overlay_disable"):U("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),At(e,"top",i[2]+"px"),At(e,"left",i[1]+"px"),u(e,"class","v-gew86s"),V(e,"hidden",!i[0])},m(R,W){C(R,e,W),L&&L.m(e,null),d(e,t),A&&A.m(e,null),d(e,n),S&&S.m(e,null),d(e,o),P&&P.m(e,null),d(e,l),d(e,s),d(s,r),d(e,c),d(e,f),d(f,g),i[32](e),b||(_=[Ae(s,"click",rt(i[19])),Ae(f,"click",rt(i[20])),Ae(e,"contextmenu",di(i[29]))],b=!0)},p(R,W){R[9].features.copyVideoLink&&R[8].callbacks?.onCopyVideoLink&&L.p(R,W),R[11]&&R[5]!==cn.CONNECTED&&!R[16]?A?A.p(R,W):(A=Il(R),A.c(),A.m(e,n)):A&&(A.d(1),A=null),R[9].features.videoRotate&&!R[16]&&S.p(R,W),R[9].showSupport&&!R[6]?P?P.p(R,W):(P=Ml(R),P.c(),P.m(e,l)):P&&(P.d(1),P=null),W[0]&128&&v!==(v=R[7]?U("aria_label_menu_debug_overlay_disable"):U("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",v),W[0]&4&&At(e,"top",R[2]+"px"),W[0]&2&&At(e,"left",R[1]+"px"),W[0]&1&&V(e,"hidden",!R[0])},i:K,o:K,d(R){R&&y(e),L&&L.d(),A&&A.d(),S&&S.d(),P&&P.d(),i[32](null),b=!1,xt(_)}}}function zc(i,e,t){let n,o,l,s,a,{visible:r=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:h=0}=e,{playerContainerRef:g=void 0}=e,{controlsContainerRef:v=void 0}=e,{returnFocus:b}=e,_=0,L=0;const A=vt(),S=Yi(),P=A.ui.contextMenuVisible,R=A.ui.debugPanelVisible;F(i,R,M=>t(7,a=M));const W=A.webApi.pictureInPictureApi,X=A.webApi.pictureInPictureApi?.info.isActive$;F(i,X,M=>t(6,s=M));const Z=A.state.chromecastState$;F(i,Z,M=>t(5,l=M));const T=A.state.isLive$;F(i,T,M=>t(4,o=M));const te=A.state.positionExact$;F(i,te,M=>t(33,n=M));const j=A.state.isInteractive;let ie;const G=(M,Y)=>{if(!ie||!g||!v)return;const pe=ie.getBoundingClientRect(),ee=g.getBoundingClientRect();t(1,_=M-ee.left),t(2,L=Y-ee.top),_+pe.width>ee.width&&t(1,_=ee.width-pe.width),L+pe.height>ee.height&&t(2,L=ee.height-pe.height),t(1,_=Math.max(_,0)),t(2,L=Math.max(L,0))},J=()=>{P.set(!1),A.actions.internal.videoRotate()},ue=()=>{window.open(c,"_blank"),P.set(!1),A.actions.internal.pause()},w=()=>{const M=A.actions.internal.getDebugTextData();if(S.features.saveDebugInfoToFile){const Y=new Blob([...M],{type:"plain/text"}),pe=window.URL.createObjectURL(Y);Ir(pe,"vk_player_debug_info","txt")}else tl(A.actions.internal.getDebugTextData());P.set(!1),b?.()},oe=()=>{R.set(!0),P.set(!1),b?.()},fe=async()=>{try{W?.isActive()?await W?.remove():await W?.request()}finally{P.set(!1),b?.()}},ve=(M=!1)=>{if(A.callbacks?.onCopyVideoLink){const Y=A.callbacks?.onCopyVideoLink(M,n);Y&&tl(Y)}P.set(!1)};function Me(M){Jn.call(this,i,M)}const Ee=()=>ve(),we=()=>ve(!0);function H(M){We[M?"unshift":"push"](()=>{ie=M,t(3,ie)})}return i.$$set=M=>{"visible"in M&&t(0,r=M.visible),"supportLink"in M&&t(23,c=M.supportLink),"x"in M&&t(24,f=M.x),"y"in M&&t(25,h=M.y),"playerContainerRef"in M&&t(26,g=M.playerContainerRef),"controlsContainerRef"in M&&t(27,v=M.controlsContainerRef),"returnFocus"in M&&t(28,b=M.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&50331648&&G(f,h)},[r,_,L,ie,o,l,s,a,A,S,R,W,X,Z,T,te,j,J,ue,w,oe,fe,ve,c,f,h,g,v,b,Me,Ee,we,H]}class Dc extends ke{constructor(e){super(),_e(this,e,zc,Rc,ge,{visible:0,supportLink:23,x:24,y:25,playerContainerRef:26,controlsContainerRef:27,returnFocus:28},Mc,[-1,-1])}}class Oc{value;next;constructor(e){this.value=e,this.next=null}}class qo{top;bottom;size;maxSize;constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new Oc(e);this.top?(this.top.next=t,this.top=t):(this.top=t,this.bottom=t),this.size++,this.size>this.maxSize&&this.bottom&&(this.bottom=this.bottom.next)}getValuesFromBottom(){const e=[];let t=this.bottom;for(;t;)e.push(t.value),t=t.next;return e}}function Hc(i){Fe(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function Fc(i){let e,t;return{c(){e=k("div"),t=k("canvas"),u(t,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,o){C(n,e,o),d(e,t),i[3](t)},p:K,i:K,o:K,d(n){n&&y(e),i[3](null)}}}const Wo=16,Zo=120,Bl=60;function Uc(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function qc(i,e,t){let{values:n=[]}=e,o,l;const s=Zo/Bl;Ki(()=>{t(0,o.width=Zo,o),t(0,o.height=Wo,o),t(2,l=o.getContext("2d"))});function a(r){We[r?"unshift":"push"](()=>{o=r,t(0,o)})}return i.$$set=r=>{"values"in r&&t(1,n=r.values)},i.$$.update=()=>{if(i.$$.dirty&6&&l){let r=n[0];for(let f=1;f<n.length;f++)n[f]>r&&(r=n[f]);l.clearRect(0,0,Zo,Wo);let c=Bl-1;for(let f=n.length-1;f>=0;f--){const h=c*s,g=r>0?Wo*(n[f]/r):0;Uc(l,h,0,s,g),c--}}},[o,n,l,a]}class ul extends ke{constructor(e){super(),_e(this,e,qc,Fc,ge,{values:1},Hc)}}function Wc(i){Fe(i,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function Nl(i){let e,t,n,o,l=i[0].id+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="Video id",n=N(),o=k("span"),s=ze(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].id+"")&&Xe(s,l)},d(a){a&&y(e)}}}function Rl(i){let e,t,n,o,l=i[0].provider+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="Provider",n=N(),o=k("span"),s=ze(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].provider+"")&&Xe(s,l)},d(a){a&&y(e)}}}function zl(i){let e,t,n,o,l=i[0].viewport+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="Viewport",n=N(),o=k("span"),s=ze(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].viewport+"")&&Xe(s,l)},d(a){a&&y(e)}}}function Dl(i){let e,t,n,o,l=i[0].videoSize+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="Video size",n=N(),o=k("span"),s=ze(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].videoSize+"")&&Xe(s,l)},d(a){a&&y(e)}}}function Ol(i){let e,t,n,o,l=i[0].cdn+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="CDN host",n=N(),o=k("span"),s=ze(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].cdn+"")&&Xe(s,l)},d(a){a&&y(e)}}}function Hl(i){let e,t,n,o,l=i[0].volume+"",s,a;return{c(){e=k("div"),t=k("div"),t.textContent="Volume",n=N(),o=k("span"),s=ze(l),a=ze(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,c){C(r,e,c),d(e,t),d(e,n),d(e,o),d(o,s),d(o,a)},p(r,c){c&1&&l!==(l=r[0].volume+"")&&Xe(s,l)},d(r){r&&y(e)}}}function Fl(i){let e,t,n,o,l=i[0].buffer.toFixed(2)+"",s,a;return{c(){e=k("div"),t=k("div"),t.textContent="Buffer",n=N(),o=k("span"),s=ze(l),a=ze(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,c){C(r,e,c),d(e,t),d(e,n),d(e,o),d(o,s),d(o,a)},p(r,c){c&1&&l!==(l=r[0].buffer.toFixed(2)+"")&&Xe(s,l)},d(r){r&&y(e)}}}function Ul(i){let e,t,n,o,l,s,a=i[0].speed.toFixed(2)+"",r,c,f;return o=new ul({props:{values:i[5]}}),{c(){e=k("div"),t=k("div"),t.textContent="Network",n=N(),O(o.$$.fragment),l=N(),s=k("span"),r=ze(a),c=ze(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,g){C(h,e,g),d(e,t),d(e,n),z(o,e,null),d(e,l),d(e,s),d(s,r),d(s,c),f=!0},p(h,g){const v={};g&32&&(v.values=h[5]),o.$set(v),(!f||g&1)&&a!==(a=h[0].speed.toFixed(2)+"")&&Xe(r,a)},i(h){f||(m(o.$$.fragment,h),f=!0)},o(h){p(o.$$.fragment,h),f=!1},d(h){h&&y(e),D(o)}}}function ql(i){let e,t,n,o,l,s,a=i[0].bitrate.toFixed(2)+"",r,c,f;return o=new ul({props:{values:i[6]}}),{c(){e=k("div"),t=k("div"),t.textContent="V bitrate",n=N(),O(o.$$.fragment),l=N(),s=k("span"),r=ze(a),c=ze(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,g){C(h,e,g),d(e,t),d(e,n),z(o,e,null),d(e,l),d(e,s),d(s,r),d(s,c),f=!0},p(h,g){const v={};g&64&&(v.values=h[6]),o.$set(v),(!f||g&1)&&a!==(a=h[0].bitrate.toFixed(2)+"")&&Xe(r,a)},i(h){f||(m(o.$$.fragment,h),f=!0)},o(h){p(o.$$.fragment,h),f=!1},d(h){h&&y(e),D(o)}}}function Zc(i){let e,t,n,o,l,s,a,r,c=i[0].version+"",f,h,g,v,b,_,L,A,S,P,R,W,X,Z,T,te,j,ie,G,J,ue,w,oe,fe,ve,Me,Ee,we,H,M,Y=i[0].id&&Nl(i),pe=i[0].provider&&Rl(i),ee=i[0].viewport&&zl(i),B=i[0].videoSize&&Dl(i),Q=i[0].cdn&&Ol(i),Le=i[0].volume&&Hl(i),ye=i[0].buffer&&Fl(i),Te=i[0].speed&&Ul(i),x=i[0].bitrate&&ql(i);return fe=new ul({props:{values:i[4]}}),{c(){e=k("div"),t=k("button"),t.textContent="[x]",n=N(),o=k("div"),l=k("div"),s=k("div"),s.textContent="Version",a=N(),r=k("span"),f=ze(c),h=N(),Y&&Y.c(),g=N(),pe&&pe.c(),v=N(),ee&&ee.c(),b=N(),B&&B.c(),_=N(),Q&&Q.c(),L=N(),Le&&Le.c(),A=N(),ye&&ye.c(),S=N(),P=k("div"),R=k("div"),R.textContent="Dropped",W=N(),X=k("span"),Z=ze(i[2]),T=ze(" / "),te=ze(i[1]),j=ze(" frames"),ie=N(),Te&&Te.c(),G=N(),x&&x.c(),J=N(),ue=k("div"),w=k("div"),w.textContent="FPS",oe=N(),O(fe.$$.fragment),ve=N(),Me=k("span"),Ee=ze(i[3]),u(t,"class","close v-1gy2e68"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(s,"class","v-1gy2e68"),u(l,"class","v-1gy2e68"),u(R,"class","v-1gy2e68"),u(P,"class","v-1gy2e68"),u(w,"class","v-1gy2e68"),u(ue,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),V(e,"container-mobile",i[7])},m(le,be){C(le,e,be),d(e,t),d(e,n),d(e,o),d(o,l),d(l,s),d(l,a),d(l,r),d(r,f),d(o,h),Y&&Y.m(o,null),d(o,g),pe&&pe.m(o,null),d(o,v),ee&&ee.m(o,null),d(o,b),B&&B.m(o,null),d(o,_),Q&&Q.m(o,null),d(o,L),Le&&Le.m(o,null),d(o,A),ye&&ye.m(o,null),d(o,S),d(o,P),d(P,R),d(P,W),d(P,X),d(X,Z),d(X,T),d(X,te),d(X,j),d(o,ie),Te&&Te.m(o,null),d(o,G),x&&x.m(o,null),d(o,J),d(o,ue),d(ue,w),d(ue,oe),z(fe,ue,null),d(ue,ve),d(ue,Me),d(Me,Ee),we=!0,H||(M=Ae(t,"click",rt(i[9])),H=!0)},p(le,[be]){(!we||be&1)&&c!==(c=le[0].version+"")&&Xe(f,c),le[0].id?Y?Y.p(le,be):(Y=Nl(le),Y.c(),Y.m(o,g)):Y&&(Y.d(1),Y=null),le[0].provider?pe?pe.p(le,be):(pe=Rl(le),pe.c(),pe.m(o,v)):pe&&(pe.d(1),pe=null),le[0].viewport?ee?ee.p(le,be):(ee=zl(le),ee.c(),ee.m(o,b)):ee&&(ee.d(1),ee=null),le[0].videoSize?B?B.p(le,be):(B=Dl(le),B.c(),B.m(o,_)):B&&(B.d(1),B=null),le[0].cdn?Q?Q.p(le,be):(Q=Ol(le),Q.c(),Q.m(o,L)):Q&&(Q.d(1),Q=null),le[0].volume?Le?Le.p(le,be):(Le=Hl(le),Le.c(),Le.m(o,A)):Le&&(Le.d(1),Le=null),le[0].buffer?ye?ye.p(le,be):(ye=Fl(le),ye.c(),ye.m(o,S)):ye&&(ye.d(1),ye=null),(!we||be&4)&&Xe(Z,le[2]),(!we||be&2)&&Xe(te,le[1]),le[0].speed?Te?(Te.p(le,be),be&1&&m(Te,1)):(Te=Ul(le),Te.c(),m(Te,1),Te.m(o,G)):Te&&(me(),p(Te,1,1,()=>{Te=null}),he()),le[0].bitrate?x?(x.p(le,be),be&1&&m(x,1)):(x=ql(le),x.c(),m(x,1),x.m(o,J)):x&&(me(),p(x,1,1,()=>{x=null}),he());const ae={};be&16&&(ae.values=le[4]),fe.$set(ae),(!we||be&8)&&Xe(Ee,le[3]),(!we||be&128)&&V(e,"container-mobile",le[7])},i(le){we||(m(Te),m(x),m(fe.$$.fragment,le),we=!0)},o(le){p(Te),p(x),p(fe.$$.fragment,le),we=!1},d(le){le&&y(e),Y&&Y.d(),pe&&pe.d(),ee&&ee.d(),B&&B.d(),Q&&Q.d(),Le&&Le.d(),ye&&ye.d(),Te&&Te.d(),x&&x.d(),D(fe),H=!1,M()}}}function jc(i,e,t){let n;const o=vt(),l=o.ui.debugPanelVisible,s=o.ui.isMobile;F(i,s,P=>t(7,n=P));const a=()=>{an.remove($o),l.set(!1)};let r=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,h=0,g=0;const v=new qo(60),b=new qo(60),_=new qo(60);let L=[],A=[],S=[];return Ki(()=>{an.set($o,"true"),o.actions.internal.startLogging(),c&&(t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const P=window.setInterval(()=>{t(0,r=o.actions.internal.getDebugPanelData())},500);let R;return c&&(R=window.setInterval(()=>{if(c){t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames);const W=c.getVideoPlaybackQuality().totalVideoFrames;t(3,g=W-f),t(1,f=W),v.push(g),r.speed&&b.push(r.speed),r.bitrate&&_.push(r.bitrate),t(4,L=v.getValuesFromBottom()),t(5,A=b.getValuesFromBottom()),t(6,S=_.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(P),R&&clearInterval(R)}}),[r,f,h,g,L,A,S,n,s,a]}class i1 extends ke{constructor(e){super(),_e(this,e,jc,Zc,ge,{},Wc)}}function Gc(i){Fe(i,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function Kc(i){let e,t,n;return{c(){e=k("div"),u(e,"class","close v-1ome55p")},m(o,l){C(o,e,l),t||(n=Ae(e,"click",rt(i[0])),t=!0)},p:K,i:K,o:K,d(o){o&&y(e),t=!1,n()}}}function Yc(i){function e(t){Jn.call(this,i,t)}return[e]}class Qc extends ke{constructor(e){super(),_e(this,e,Yc,Kc,ge,{},Gc)}}function Xc(i){Fe(i,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
|
|
25
|
-
}.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function Jc(i){let e,t,n,o,l,s,a;return{c(){e=k("div"),t=k("canvas"),n=N(),o=I("svg"),l=I("g"),s=I("g"),a=I("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(a,"class","_play"),u(a,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(a,"fill","#fff"),u(s,"fill-rule","nonzero"),u(l,"fill","none"),u(l,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(r,c){C(r,e,c),d(e,t),i[2](t),d(e,n),d(e,o),d(o,l),d(l,s),d(s,a)},p:K,i:K,o:K,d(r){r&&y(e),i[2](null)}}}const xc=5e3;function $c(i,e,t){let{onTimerEnded:n=et}=e,o;Ki(()=>{let s;const a=o.getContext("2d");if(!a)return;a.lineWidth=6,a.lineCap="round",a.strokeStyle="#fff";const r=Date.now(),c=()=>{const f=(Date.now()-r)/xc;f<1?(a.clearRect(0,0,100,100),a.beginPath(),a.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),a.stroke(),s=requestAnimationFrame(c)):n()};return s=requestAnimationFrame(c),()=>{cancelAnimationFrame(s)}});function l(s){We[s?"unshift":"push"](()=>{o=s,t(0,o)})}return i.$$set=s=>{"onTimerEnded"in s&&t(1,n=s.onTimerEnded)},[o,n,l]}class ef extends ke{constructor(e){super(),_e(this,e,$c,Jc,ge,{onTimerEnded:1},Xc)}}function tf(i){Fe(i,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function Wl(i){let e,t;return e=new ef({props:{onTimerEnded:i[2]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&4&&(l.onTimerEnded=n[2]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function nf(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,A,S,P,R,W;a=new Qc({}),a.$on("click",i[4]);let X=i[3]&&Wl(i);return{c(){e=k("div"),t=N(),n=k("div"),o=k("div"),l=k("div"),l.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",s=N(),O(a.$$.fragment),r=N(),c=k("div"),f=k("div"),h=k("div"),g=k("div"),v=N(),X&&X.c(),_=N(),L=k("div"),A=k("div"),S=ze(i[0]),u(e,"class","overlay v-kisfwc"),u(l,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(g,"class","thumb-overlay v-kisfwc"),u(h,"class","thumb v-kisfwc"),u(h,"style",b=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(A,"class","title v-kisfwc"),u(L,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(Z,T){C(Z,e,T),C(Z,t,T),C(Z,n,T),d(n,o),d(o,l),d(o,s),z(a,o,null),d(n,r),d(n,c),d(c,f),d(f,h),d(h,g),d(h,v),X&&X.m(h,null),d(c,_),d(c,L),d(L,A),d(A,S),P=!0,R||(W=Ae(c,"click",function(){kn(i[2])&&i[2].apply(this,arguments)}),R=!0)},p(Z,[T]){i=Z,i[3]?X?(X.p(i,T),T&8&&m(X,1)):(X=Wl(i),X.c(),m(X,1),X.m(h,null)):X&&(me(),p(X,1,1,()=>{X=null}),he()),(!P||T&2&&b!==(b=`background-image: url('${i[1]}')`))&&u(h,"style",b),(!P||T&1)&&Xe(S,i[0])},i(Z){P||(m(a.$$.fragment,Z),m(X),P=!0)},o(Z){p(a.$$.fragment,Z),p(X),P=!1},d(Z){Z&&(y(e),y(t),y(n)),D(a),X&&X.d(),R=!1,W()}}}function of(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:l}=e,s=!0;const a=()=>t(3,s=!1);return i.$$set=r=>{"title"in r&&t(0,n=r.title),"thumb"in r&&t(1,o=r.thumb),"playNextVideo"in r&&t(2,l=r.playNextVideo)},[n,o,l,s,a]}class lf extends ke{constructor(e){super(),_e(this,e,of,nf,ge,{title:0,thumb:1,playNextVideo:2},tf)}}const n1=(i,e)=>Math.min(+(i+e).toFixed(2),1),o1=(i,e)=>Math.max(+(i-e).toFixed(2),0),l1=(i,e,t)=>{const n=n1(e,t);e<1&&i.actions.internal.setVolume(n)},s1=(i,e,t)=>{const n=o1(e,t);e>0&&i.actions.internal.setVolume(n)};function sf(i){Fe(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function af(i){let e,t,n,o;const l=i[21].default,s=wn(l,i,i[20],null);return{c(){e=k("div"),s&&s.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(a,r){C(a,e,r),s&&s.m(e,null),i[22](e),t=!0,n||(o=[Ae(e,"keyup",i[12]),Ae(e,"keydown",i[11])],n=!0)},p(a,r){s&&s.p&&(!t||r[0]&1048576)&&Cn(s,l,a,a[20],t?yn(l,a[20],r,null):Pn(a[20]),null)},i(a){t||(m(s,a),t=!0)},o(a){p(s,a),t=!1},d(a){a&&y(e),s&&s.d(a),i[22](null),n=!1,xt(o)}}}function rf(i,e,t){let n,o,l,s,a,r,c,f,h,g,{$$slots:v={},$$scope:b}=e,{isAds:_}=e,{hideContextMenu:L}=e,{toggleFullscreen:A}=e,{showHotKeyHelpers:S}=e,{showKeyMap:P}=e,{fakePlayButtonHandler:R}=e;const W=vt(),X=Yi(),Z=W.getLogger().createComponentLog("KeyboardControls component"),T=W.state.playbackState$;F(i,T,ee=>t(26,o=ee));const te=W.ads.playbackState;F(i,te,ee=>t(25,n=ee));const j=W.state.positionExact$;F(i,j,ee=>t(31,c=ee));const ie=W.state.duration$;F(i,ie,ee=>t(30,r=ee));const G=W.state.volume$;F(i,G,ee=>t(34,g=ee));const J=W.ui.controls.disabledControls$;F(i,J,ee=>t(29,a=ee));const ue=W.state.muted$;F(i,ue,ee=>t(28,s=ee));const w=W.state.currentSubtitle$;F(i,w,ee=>t(27,l=ee));const oe=W.state.currentPlaybackRate$;F(i,oe,ee=>t(32,f=ee));const fe=W.state.availablePlaybackRates$;F(i,fe,ee=>t(33,h=ee));let ve=0,Me=!0,Ee;const we=()=>Ee?.focus(),H=ee=>(ee!==Me&&(Me=ee,ve=0),ve+=1,(X.controls.seekStepKeyboard+X.controls.seekStepKeyboard*ve)/1e3),M=ee=>{L();const B=ee.code,Q=!Lu.has(B);if(ee.ctrlKey&&Q||ee.altKey&&Q||ee.metaKey)return;const Le=o===It.PLAYING||o===It.PAUSED,ye=_&&(n===Dt.PAUSED||n===Dt.PLAYING),Te=!ye&&!a.has(ct.TIMELINE);if(Le||ye)switch(Z({message:`key down, code: ${B}`}),B){case He.KeyJ:case He.ArrowLeft:{if(!Te)break;if(ee.ctrlKey||ee.altKey){const x=W.actions.internal.getPrevEpisode();W.actions.internal.seekToPrevEpisode(x),x&&S({type:je.EPISODE_PREV,text:x.text}),ee.preventDefault()}else{const x=ee.shiftKey?H(!1):X.controls.seekStepKeyboard/1e3,le=Math.max(c-x,0);c>0&&(W.actions.internal.seekTime(le,Vt.DOUBLE_TAP),S({type:je.BACKWARD_SEEK,text:x.toString()}),ee.preventDefault())}break}case He.KeyL:case He.ArrowRight:{if(!Te)break;if(ee.ctrlKey||ee.altKey){const x=W.actions.internal.getNextEpisode();W.actions.internal.seekToNextEpisode(x),x&&S({type:je.EPISODE_NEXT,text:x.text}),ee.preventDefault()}else{const x=ee.shiftKey?H(!0):X.controls.seekStepKeyboard/1e3,le=Math.min(c+x,r);Math.round(c)<Math.round(r)&&(W.actions.internal.seekTime(le,Vt.DOUBLE_TAP),S({type:je.FORWARD_SEEK,text:x.toString()}),ee.preventDefault())}break}case He.ArrowUp:{const x=g,le=X.controls.volumeStepKeyboard,be=x<=1;if(l1(W,x,le),be){const ae=Math.round(n1(x,le)*100).toString();S({type:je.VOLUME,t:{key:"hotkey_helper_current_volume",value:ae}})}ee.preventDefault();break}case He.ArrowDown:{const x=g,le=X.controls.volumeStepKeyboard,be=x>=0;if(s1(W,x,le),be){const ae=Math.round(o1(x,le)*100).toString();S({type:je.VOLUME,t:{key:"hotkey_helper_current_volume",value:ae}})}ee.preventDefault();break}case He.Comma:{if(ee.shiftKey){W.actions.internal.decrementPlaybackRate();const x=h.find(le=>le.value===f);S({type:je.RATE_DOWN,text:x?.displayValue}),ee.preventDefault()}else{if(ye||o!==It.PAUSED)break;const x=Math.max(c-X.controls.seekStepFrame/1e3,0);c>0&&(S({type:je.BACKWARD_SEEK}),W.actions.internal.clearDelayedBufferingCheckTimeout(),W.actions.internal.seekTime(x,Vt.DOUBLE_TAP),ee.preventDefault())}break}case He.Period:{if(ee.shiftKey){W.actions.internal.incrementPlaybackRate();const x=h.find(le=>le.value===f);S({type:je.RATE_UP,text:x?.displayValue}),ee.preventDefault()}else{if(ye||o!==It.PAUSED)break;const x=Math.min(c+X.controls.seekStepFrame/1e3,r);c<r&&(S({type:je.FORWARD_SEEK}),W.actions.internal.clearDelayedBufferingCheckTimeout(),W.actions.internal.seekTime(x,Vt.DOUBLE_TAP),ee.preventDefault())}break}case He.KeyK:case He.Space:a.has(ct.PLAY_BUTTON)||(R?R():(W.actions.internal.togglePlay(),S({type:o===It.PLAYING?je.PLAY:je.STOP}))),ee.preventDefault();break;case He.KeyM:{S({type:s?je.VOLUME:je.MUTE}),W.actions.internal.toggleMuted(),ee.preventDefault();break}case He.KeyF:A(),ee.preventDefault();break;case He.KeyC:W.actions.internal.toggleSubtitle(),l.value!=="off"?S({type:je.SUBTITLES_ON,text:l?.displayValue}):S({type:je.SUBTITLES_OFF}),ee.preventDefault();break;case He.KeyI:W.actions.internal.togglePictureInPicture(),ee.preventDefault();break;case He.Digit1:case He.Numpad1:S(),W.actions.internal.seekToPercent(.1,Vt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit2:case He.Numpad2:S(),W.actions.internal.seekToPercent(.2,Vt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit3:case He.Numpad3:S(),W.actions.internal.seekToPercent(.3,Vt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit4:case He.Numpad4:S(),W.actions.internal.seekToPercent(.4,Vt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit5:case He.Numpad5:S(),W.actions.internal.seekToPercent(.5,Vt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit6:case He.Numpad6:S(),W.actions.internal.seekToPercent(.6,Vt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit7:case He.Numpad7:S(),W.actions.internal.seekToPercent(.7,Vt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit8:case He.Numpad8:S(),W.actions.internal.seekToPercent(.8,Vt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit9:case He.Numpad9:S(),W.actions.internal.seekToPercent(.9,Vt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit0:case He.Numpad0:S(),W.actions.internal.seekToPercent(0,Vt.DOUBLE_TAP),ee.preventDefault();break;case He.Slash:{ee.shiftKey&&X.features.hotKeyMapModal&&(P(),ee.preventDefault());break}case He.ShiftLeft:case He.ShiftRight:ee.preventDefault();break;default:X1(B);break}},Y=ee=>{const B=ee.code;if(ee.ctrlKey||ee.altKey||ee.metaKey)return;const Q=o===It.PLAYING||o===It.PAUSED,Le=_&&(n===Dt.PAUSED||n===Dt.PLAYING);if(Q||Le)switch(B){case He.ShiftLeft:case He.ShiftRight:ve=0;break}};function pe(ee){We[ee?"unshift":"push"](()=>{Ee=ee,t(0,Ee)})}return i.$$set=ee=>{"isAds"in ee&&t(13,_=ee.isAds),"hideContextMenu"in ee&&t(14,L=ee.hideContextMenu),"toggleFullscreen"in ee&&t(15,A=ee.toggleFullscreen),"showHotKeyHelpers"in ee&&t(16,S=ee.showHotKeyHelpers),"showKeyMap"in ee&&t(17,P=ee.showKeyMap),"fakePlayButtonHandler"in ee&&t(18,R=ee.fakePlayButtonHandler),"$$scope"in ee&&t(20,b=ee.$$scope)},[Ee,T,te,j,ie,G,J,ue,w,oe,fe,M,Y,_,L,A,S,P,R,we,b,v,pe]}class uf extends ke{constructor(e){super(),_e(this,e,rf,af,ge,{isAds:13,hideContextMenu:14,toggleFullscreen:15,showHotKeyHelpers:16,showKeyMap:17,fakePlayButtonHandler:18,focus:19},sf,[-1,-1])}get focus(){return this.$$.ctx[19]}}function cf(i){Fe(i,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function ff(i){let e;return{c(){e=k("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(t,n){C(t,e,n)},p:K,i:K,o:K,d(t){t&&y(e)}}}class a1 extends ke{constructor(e){super(),_e(this,e,null,ff,ge,{},cf)}}function df(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),a=I("feFlood"),r=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),g=I("feBlend"),v=I("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(a,"flood-opacity","0"),u(a,"result","BackgroundImageFix"),u(r,"in","SourceAlpha"),u(r,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(r,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2422_111980"),u(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2422_111980"),u(v,"result","shape"),u(s,"id","a"),u(s,"x",".5"),u(s,"y",".5"),u(s,"width","23"),u(s,"height","23"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(b,_){C(b,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(s,r),d(s,c),d(s,f),d(s,h),d(s,g),d(s,v)},p:K,i:K,o:K,d(b){b&&y(e)}}}class mf extends ke{constructor(e){super(),_e(this,e,null,df,ge,{})}}function hf(i){Fe(i,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function pf(i){let e,t,n,o,l,s,a,r,c,f,h;const g=i[9].default,v=wn(g,i,i[8],null);return{c(){e=k("button"),v&&v.c(),u(e,"class",t="btn "+i[0]+" v-1anemql"),u(e,"style",n=i[1]||null),e.disabled=o=i[2]??null,u(e,"aria-hidden",l=i[4]??null),u(e,"aria-label",s=i[5]??null),u(e,"aria-keyshortcuts",a=i[6]??null),u(e,"data-testid",r=i[3]??null)},m(b,_){C(b,e,_),v&&v.m(e,null),c=!0,f||(h=[Ae(e,"pointerdown",rt(di(i[10]))),Ae(e,"click",rt(di(function(){kn(i[7])&&i[7].apply(this,arguments)})))],f=!0)},p(b,[_]){i=b,v&&v.p&&(!c||_&256)&&Cn(v,g,i,i[8],c?yn(g,i[8],_,null):Pn(i[8]),null),(!c||_&1&&t!==(t="btn "+i[0]+" v-1anemql"))&&u(e,"class",t),(!c||_&2&&n!==(n=i[1]||null))&&u(e,"style",n),(!c||_&4&&o!==(o=i[2]??null))&&(e.disabled=o),(!c||_&16&&l!==(l=i[4]??null))&&u(e,"aria-hidden",l),(!c||_&32&&s!==(s=i[5]??null))&&u(e,"aria-label",s),(!c||_&64&&a!==(a=i[6]??null))&&u(e,"aria-keyshortcuts",a),(!c||_&8&&r!==(r=i[3]??null))&&u(e,"data-testid",r)},i(b){c||(m(v,b),c=!0)},o(b){p(v,b),c=!1},d(b){b&&y(e),v&&v.d(b),f=!1,xt(h)}}}function gf(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:l=""}=e,{style:s=""}=e,{disabled:a=void 0}=e,{testId:r=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{click:g=et}=e;function v(b){Jn.call(this,i,b)}return i.$$set=b=>{"className"in b&&t(0,l=b.className),"style"in b&&t(1,s=b.style),"disabled"in b&&t(2,a=b.disabled),"testId"in b&&t(3,r=b.testId),"ariaHidden"in b&&t(4,c=b.ariaHidden),"ariaLabel"in b&&t(5,f=b.ariaLabel),"ariaKeyShortCut"in b&&t(6,h=b.ariaKeyShortCut),"click"in b&&t(7,g=b.click),"$$scope"in b&&t(8,o=b.$$scope)},[l,s,a,r,c,f,h,g,o,n,v]}class mi extends ke{constructor(e){super(),_e(this,e,gf,pf,ge,{className:0,style:1,disabled:2,testId:3,ariaHidden:4,ariaLabel:5,ariaKeyShortCut:6,click:7},hf)}}function bf(i){Fe(i,"v-1witlsj",".modal-overlay.v-1witlsj{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-1witlsj{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-1witlsj{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-1witlsj{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-1witlsj{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-1witlsj::-webkit-scrollbar{width:8px}.modal-scroll.v-1witlsj::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-1witlsj{margin:-8px -4px 0 0}")}function Zl(i){let e,t,n,o,l,s=i[2]&&jl(i);return{c(){e=k("div"),t=k("h3"),n=ze(i[3]),o=N(),s&&s.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(a,r){C(a,e,r),d(e,t),d(t,n),d(e,o),s&&s.m(e,null),l=!0},p(a,r){(!l||r&8)&&Xe(n,a[3]),a[2]?s?(s.p(a,r),r&4&&m(s,1)):(s=jl(a),s.c(),m(s,1),s.m(e,null)):s&&(me(),p(s,1,1,()=>{s=null}),he())},i(a){l||(m(s),l=!0)},o(a){p(s),l=!1},d(a){a&&y(e),s&&s.d()}}}function jl(i){let e,t;return e=new mi({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:U("hotkey_map_modal_close_btn_text"),$$slots:{default:[vf]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.click=n[0]),o&32&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function vf(i){let e,t;return e=new mf({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function _f(i){let e,t,n,o,l,s,a=i[1]&&Zl(i);const r=i[4].default,c=wn(r,i,i[5],null);return{c(){e=k("div"),t=k("div"),a&&a.c(),n=N(),o=k("div"),l=k("div"),c&&c.c(),u(l,"class","modal-main v-1witlsj"),u(o,"class","modal-scroll v-1witlsj"),u(t,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,h){C(f,e,h),d(e,t),a&&a.m(t,null),d(t,n),d(t,o),d(o,l),c&&c.m(l,null),s=!0},p(f,[h]){f[1]?a?(a.p(f,h),h&2&&m(a,1)):(a=Zl(f),a.c(),m(a,1),a.m(t,n)):a&&(me(),p(a,1,1,()=>{a=null}),he()),c&&c.p&&(!s||h&32)&&Cn(c,r,f,f[5],s?yn(r,f[5],h,null):Pn(f[5]),null)},i(f){s||(m(a),m(c,f),s=!0)},o(f){p(a),p(c,f),s=!1},d(f){f&&y(e),a&&a.d(),c&&c.d(f)}}}function kf(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:l}=e,{showHeader:s=!0}=e,{showCloseCross:a=!0}=e,{title:r}=e;return i.$$set=c=>{"onClose"in c&&t(0,l=c.onClose),"showHeader"in c&&t(1,s=c.showHeader),"showCloseCross"in c&&t(2,a=c.showCloseCross),"title"in c&&t(3,r=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[l,s,a,r,n,o]}class wf extends ke{constructor(e){super(),_e(this,e,kf,_f,ge,{onClose:0,showHeader:1,showCloseCross:2,title:3},bf)}}const yf=new Set(["BR"]),Gl=i=>{const e=document.createElement("DIV");e.innerHTML=i;const t=e.querySelectorAll("*");let n=t.length;for(;n--;){const o=t[n],l=o.tagName;yf.has(l)||o.parentElement?.removeChild(o)}return e.innerHTML};function Cf(i){Fe(i,"v-quklnq",".hot-key-map.v-quklnq{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-quklnq{border-bottom:1px solid var(--white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-quklnq:last-child{border-bottom:none}.hot-key-map-group-title.v-quklnq{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-quklnq,.hot-key-map-item.v-quklnq{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-quklnq{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-quklnq{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-quklnq{color:var(--white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-quklnq{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-quklnq,.hot-key-map-item-value.v-quklnq{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function Kl(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function Yl(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function Ql(i){let e,t,n=Gl(i[9])+"",o,l,s=i[10]+"",a,r;return{c(){e=k("li"),t=k("span"),o=N(),l=k("span"),a=ze(s),r=N(),u(t,"class","hot-key-map-item-description v-quklnq"),u(l,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){C(c,e,f),d(e,t),t.innerHTML=n,d(e,o),d(e,l),d(l,a),d(e,r)},p(c,f){f&1&&n!==(n=Gl(c[9])+"")&&(t.innerHTML=n),f&1&&s!==(s=c[10]+"")&&Xe(a,s)},d(c){c&&y(e)}}}function Xl(i){let e,t,n=i[5]+"",o,l,s,a,r=Mt(i[6]),c=[];for(let f=0;f<r.length;f+=1)c[f]=Ql(Yl(i,r,f));return{c(){e=k("div"),t=k("h5"),o=ze(n),l=N(),s=k("ul");for(let f=0;f<c.length;f+=1)c[f].c();a=N(),u(t,"class","hot-key-map-group-title v-quklnq"),u(s,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,h){C(f,e,h),d(e,t),d(t,o),d(e,l),d(e,s);for(let g=0;g<c.length;g+=1)c[g]&&c[g].m(s,null);d(e,a)},p(f,h){if(h&1&&n!==(n=f[5]+"")&&Xe(o,n),h&1){r=Mt(f[6]);let g;for(g=0;g<r.length;g+=1){const v=Yl(f,r,g);c[g]?c[g].p(v,h):(c[g]=Ql(v),c[g].c(),c[g].m(s,null))}for(;g<c.length;g+=1)c[g].d(1);c.length=r.length}},d(f){f&&y(e),sn(c,f)}}}function Pf(i){let e,t=Mt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=Xl(Kl(i,t,o));return{c(){e=k("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,l){C(o,e,l);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(e,null)},p(o,l){if(l&1){t=Mt(o[0].groups);let s;for(s=0;s<t.length;s+=1){const a=Kl(o,t,s);n[s]?n[s].p(a,l):(n[s]=Xl(a),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(o){o&&y(e),sn(n,o)}}}function Sf(i){let e,t;return e=new wf({props:{title:i[0].title,onClose:i[2],$$slots:{default:[Pf]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.title=n[0].title),o&8193&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Tf(i,e,t){let n;const o=vt(),{data:l,show:s}=o.ui.modals.hotKeyMap;return F(i,l,r=>t(0,n=r)),[n,l,()=>{s.set(!1)}]}class Af extends ke{constructor(e){super(),_e(this,e,Tf,Sf,ge,{},Cf)}}function Ef(i){Fe(i,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function Vf(i){let e,t;const n=i[1].default,o=wn(n,i,i[0],null);return{c(){e=k("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(l,s){C(l,e,s),o&&o.m(e,null),t=!0},p(l,[s]){o&&o.p&&(!t||s&1)&&Cn(o,n,l,l[0],t?yn(n,l[0],s,null):Pn(l[0]),null)},i(l){t||(m(o,l),t=!0)},o(l){p(o,l),t=!1},d(l){l&&y(e),o&&o.d(l)}}}function Lf(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=l=>{"$$scope"in l&&t(0,o=l.$$scope)},[o,n]}class If extends ke{constructor(e){super(),_e(this,e,Lf,Vf,ge,{},Ef)}}function Mf(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){C(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class Bf extends ke{constructor(e){super(),_e(this,e,null,Mf,ge,{})}}function Nf(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){C(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class Rf extends ke{constructor(e){super(),_e(this,e,null,Nf,ge,{})}}function zf(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Df extends ke{constructor(e){super(),_e(this,e,null,zf,ge,{})}}function Of(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class r1 extends ke{constructor(e){super(),_e(this,e,null,Of,ge,{})}}function Hf(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){C(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class u1 extends ke{constructor(e){super(),_e(this,e,null,Hf,ge,{})}}const eo=i=>{switch(i){case Gn.Q_720P:return Df;case Gn.Q_1080P:return r1;case Gn.Q_1440P:return u1;case Gn.Q_2160P:return Bf;case Gn.Q_4320P:return Rf}};function Ff(i){Fe(i,"v-1fzhlx0",".icon.v-1fzhlx0{display:flex;position:relative;width:24px;height:24px}.icon.v-1fzhlx0 .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-1fzhlx0 .pillow{right:-13px}")}function Uf(i){let e,t,n,o,l,s,a=i[1]&&Jl(i);return{c(){e=k("div"),a&&a.c(),t=N(),n=I("svg"),o=I("path"),l=I("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(l,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(l,"fill","#fff"),V(l,"hidden",!!i[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-1fzhlx0"),u(e,"aria-hidden","true"),V(e,"triple",i[2])},m(r,c){C(r,e,c),a&&a.m(e,null),d(e,t),d(e,n),d(n,o),d(n,l),s=!0},p(r,c){r[1]?a?(a.p(r,c),c&2&&m(a,1)):(a=Jl(r),a.c(),m(a,1),a.m(e,t)):a&&(me(),p(a,1,1,()=>{a=null}),he()),(!s||c&2)&&V(l,"hidden",!!r[1]),(!s||c&4)&&V(e,"triple",r[2])},i(r){s||(m(a),s=!0)},o(r){p(a),s=!1},d(r){r&&y(e),a&&a.d()}}}function qf(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}function Jl(i){let e,t;return e=new If({props:{$$slots:{default:[Wf]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&18&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Wf(i){let e,t,n;var o=i[1];function l(s){return{}}return o&&(e=fn(o,l())),{c(){e&&O(e.$$.fragment),t=ht()},m(s,a){e&&z(e,s,a),C(s,t,a),n=!0},p(s,a){if(a&2&&o!==(o=s[1])){if(e){me();const r=e;p(r.$$.fragment,1,0,()=>{D(r,1)}),he()}o?(e=fn(o,l()),O(e.$$.fragment),m(e.$$.fragment,1),z(e,t.parentNode,t)):e=null}},i(s){n||(e&&m(e.$$.fragment,s),n=!0)},o(s){e&&p(e.$$.fragment,s),n=!1},d(s){s&&y(t),e&&D(e,s)}}}function Zf(i){let e,t,n,o;const l=[qf,Uf],s=[];function a(r,c){return r[0]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,[c]){let f=e;e=a(r),e===f?s[e].p(r,c):(me(),p(s[f],1,1,()=>{s[f]=null}),he(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function jf(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:l=void 0}=e,s;return i.$$set=a=>{"isMobile"in a&&t(0,o=a.isMobile),"currentQuality"in a&&t(3,l=a.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=eo(l)),i.$$.dirty&2&&t(2,s=!!n&&[r1,u1].includes(n))},[o,n,s,l]}class c1 extends ke{constructor(e){super(),_e(this,e,jf,Zf,ge,{isMobile:0,currentQuality:3},Ff)}}function Gf(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class f1 extends ke{constructor(e){super(),_e(this,e,null,Gf,ge,{})}}function Kf(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(t,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Yf extends ke{constructor(e){super(),_e(this,e,null,Kf,ge,{})}}function Qf(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(t,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Xf extends ke{constructor(e){super(),_e(this,e,null,Qf,ge,{})}}function Jf(i){let e,t,n,o;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(l,s){C(l,e,s),d(e,t),d(t,n),d(t,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class xf extends ke{constructor(e){super(),_e(this,e,null,Jf,ge,{})}}function $f(i){Fe(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function e0(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),u(t,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(t,"fill",i[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),V(e,"reverted",i[2])},m(o,l){C(o,e,l),d(e,t)},p(o,l){l&1&&u(t,"fill",o[0]),l&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),l&4&&V(e,"reverted",o[2])},d(o){o&&y(e)}}}function t0(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(t,"fill",i[0]),u(t,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),V(e,"reverted",i[2])},m(o,l){C(o,e,l),d(e,t)},p(o,l){l&1&&u(t,"fill",o[0]),l&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),l&4&&V(e,"reverted",o[2])},d(o){o&&y(e)}}}function i0(i){let e;function t(l,s){return l[1]?t0:e0}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},m(l,s){o.m(l,s),C(l,e,s)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:K,o:K,d(l){l&&y(e),o.d(l)}}}function n0(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,l,s;return i.$$set=a=>{"direction"in a&&t(3,n=a.direction),"color"in a&&t(0,o=a.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,l=["up","down"].includes(n)),t(2,s=["right","down"].includes(n)))},[o,l,s,n]}class En extends ke{constructor(e){super(),_e(this,e,n0,i0,ge,{direction:3,color:0},$f)}}function o0(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class l0 extends ke{constructor(e){super(),_e(this,e,null,o0,ge,{})}}function s0(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(t,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class vo extends ke{constructor(e){super(),_e(this,e,null,s0,ge,{})}}function a0(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class r0 extends ke{constructor(e){super(),_e(this,e,null,a0,ge,{})}}function u0(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class c0 extends ke{constructor(e){super(),_e(this,e,null,u0,ge,{})}}function f0(i){Fe(i,"v-79x8pk","ul.v-79x8pk.v-79x8pk{margin:0;padding:0}.menu.v-79x8pk.v-79x8pk{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s;overflow:hidden}.container-mobile.v-79x8pk.v-79x8pk{width:100%}.menu-desktop.v-79x8pk.v-79x8pk{position:absolute;right:0;bottom:0}.menu-mobile.v-79x8pk.v-79x8pk{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-79x8pk.v-79x8pk{display:none}.menu-subList.v-79x8pk.v-79x8pk{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-79x8pk.v-79x8pk{min-width:164px}.menu-subList-traffic-saving.v-79x8pk.v-79x8pk{min-width:286px}.item.v-79x8pk.v-79x8pk{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-79x8pk.v-79x8pk{padding:0 14px}.item-quality.item-mobile.v-79x8pk.v-79x8pk,.item-traffic-saving.item-mobile.v-79x8pk.v-79x8pk,.item-helper-text.item-mobile.v-79x8pk.v-79x8pk{flex-direction:row-reverse}.item-helper-text.v-79x8pk.v-79x8pk{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-79x8pk span.v-79x8pk{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-79x8pk.v-79x8pk{padding:7px 14px}.item-helper-text.item-mobile.v-79x8pk span.v-79x8pk{text-align:start}.quality-title-mobile.v-79x8pk.v-79x8pk{flex-grow:1}.item.v-79x8pk.v-79x8pk:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-79x8pk.v-79x8pk:hover{background:var(--mobile-settings-bg)}.menu-subList.v-79x8pk .item.v-79x8pk{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-79x8pk .item.v-79x8pk:last-child{margin-bottom:4px}.menu-icon-wrapper.v-79x8pk.v-79x8pk{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-79x8pk.v-79x8pk{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-79x8pk.v-79x8pk{position:relative;opacity:0.7}.menu-valueIcon.v-79x8pk.v-79x8pk{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-79x8pk.v-79x8pk{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-79x8pk svg,.menu-valueIcon-list.v-79x8pk svg{color:var(--blue-light)}.menu-divider.v-79x8pk.v-79x8pk{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-79x8pk.v-79x8pk{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-79x8pk.v-79x8pk{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar{width:8px}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-79x8pk.v-79x8pk{overflow-y:auto;max-height:160px;text-align:left}.close.v-79x8pk.v-79x8pk{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-79x8pk.v-79x8pk:before,.close.v-79x8pk.v-79x8pk:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-79x8pk.v-79x8pk:before{transform:rotate(45deg)}.close.v-79x8pk.v-79x8pk:after{transform:rotate(-45deg)}")}function xl(i,e,t){const n=i.slice();return n[87]=e[t],n}function $l(i,e,t){const n=i.slice();return n[90]=e[t],n}function es(i,e,t){const n=i.slice();return n[93]=e[t],n}function ts(i){let e,t,n,o,l,s,a,r;return{c(){e=k("div"),t=k("div"),t.textContent=`${U("submenu_settings")}`,n=N(),o=k("div"),l=N(),s=k("div"),u(o,"class","close v-79x8pk"),u(e,"class","item menu-header v-79x8pk"),V(e,"item-mobile",i[7]),u(s,"class","menu-divider v-79x8pk")},m(c,f){C(c,e,f),d(e,t),d(e,n),d(e,o),C(c,l,f),C(c,s,f),a||(r=Ae(o,"click",rt(i[49])),a=!0)},p(c,f){f[0]&128&&V(e,"item-mobile",c[7])},d(c){c&&(y(e),y(l),y(s)),a=!1,r()}}}function is(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;n=new c1({});let b=i[27]&&!i[7]&&ns(i);return{c(){e=k("li"),t=k("div"),O(n.$$.fragment),o=N(),l=k("div"),l.textContent=`${U("menu_quality")}`,s=N(),a=k("div"),r=ze(i[15]),c=N(),b&&b.c(),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(a,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=U("aria_label_menu_quality",{actual:i[25]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[7])},m(_,L){C(_,e,L),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,a),d(a,r),d(a,c),b&&b.m(a,null),h=!0,g||(v=Ae(e,"click",rt(i[50])),g=!0)},p(_,L){(!h||L[0]&32768)&&Xe(r,_[15]),_[27]&&!_[7]?b?(b.p(_,L),L[0]&134217856&&m(b,1)):(b=ns(_),b.c(),m(b,1),b.m(a,null)):b&&(me(),p(b,1,1,()=>{b=null}),he()),(!h||L[0]&33554432&&f!==(f=U("aria_label_menu_quality",{actual:_[25]})))&&u(e,"aria-label",f),(!h||L[0]&128)&&V(e,"item-mobile",_[7])},i(_){h||(m(n.$$.fragment,_),m(b),h=!0)},o(_){p(n.$$.fragment,_),p(b),h=!1},d(_){_&&y(e),D(n),b&&b.d(),g=!1,v()}}}function ns(i){let e,t,n;var o=i[27];function l(s){return{}}return o&&(t=fn(o,l())),{c(){e=k("div"),t&&O(t.$$.fragment),u(e,"class","menu-valueIcon v-79x8pk")},m(s,a){C(s,e,a),t&&z(t,e,null),n=!0},p(s,a){if(a[0]&134217728&&o!==(o=s[27])){if(t){me();const r=t;p(r.$$.fragment,1,0,()=>{D(r,1)}),he()}o?(t=fn(o,l()),O(t.$$.fragment),m(t.$$.fragment,1),z(t,e,null)):t=null}},i(s){n||(t&&m(t.$$.fragment,s),n=!0)},o(s){t&&p(t.$$.fragment,s),n=!1},d(s){s&&y(e),t&&D(t)}}}function os(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return n=new xf({}),{c(){e=k("li"),t=k("div"),O(n.$$.fragment),o=N(),l=k("div"),l.textContent=`${U("menu_playback_rate")}`,s=N(),a=k("div"),r=ze(i[3]),c=ze("x"),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(a,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=U("aria_label_menu_rate",{actual:i[26]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[7])},m(b,_){C(b,e,_),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,a),d(a,r),d(a,c),h=!0,g||(v=Ae(e,"click",rt(i[54])),g=!0)},p(b,_){(!h||_[0]&8)&&Xe(r,b[3]),(!h||_[0]&67108864&&f!==(f=U("aria_label_menu_rate",{actual:b[26]})))&&u(e,"aria-label",f),(!h||_[0]&128)&&V(e,"item-mobile",b[7])},i(b){h||(m(n.$$.fragment,b),h=!0)},o(b){p(n.$$.fragment,b),h=!1},d(b){b&&y(e),D(n),g=!1,v()}}}function ls(i){let e,t,n,o,l,s,a,r=i[28].displayValue+"",c,f,h,g,v;return n=new f1({}),{c(){e=k("li"),t=k("div"),O(n.$$.fragment),o=N(),l=k("div"),l.textContent=`${U("subtitles_caption")}`,s=N(),a=k("div"),c=ze(r),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(a,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=U("aria_label_menu_subtitle",{actual:i[28].displayValue})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[7])},m(b,_){C(b,e,_),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,a),d(a,c),h=!0,g||(v=Ae(e,"click",rt(i[56])),g=!0)},p(b,_){(!h||_[0]&268435456)&&r!==(r=b[28].displayValue+"")&&Xe(c,r),(!h||_[0]&268435456&&f!==(f=U("aria_label_menu_subtitle",{actual:b[28].displayValue})))&&u(e,"aria-label",f),(!h||_[0]&128)&&V(e,"item-mobile",b[7])},i(b){h||(m(n.$$.fragment,b),h=!0)},o(b){p(n.$$.fragment,b),h=!1},d(b){b&&y(e),D(n),g=!1,v()}}}function ss(i){let e,t,n,o,l,s,a,r,c,f,h,g;return n=new Xf({}),{c(){e=k("li"),t=k("div"),O(n.$$.fragment),o=N(),l=k("div"),l.textContent=`${U("menu_traffic_saving")}`,s=N(),a=k("div"),r=ze(i[24]),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(a,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=U("aria_label_menu_traffic_saving",{actual:i[24]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[7])},m(v,b){C(v,e,b),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,a),d(a,r),f=!0,h||(g=Ae(e,"click",rt(i[51])),h=!0)},p(v,b){(!f||b[0]&16777216)&&Xe(r,v[24]),(!f||b[0]&16777216&&c!==(c=U("aria_label_menu_traffic_saving",{actual:v[24]})))&&u(e,"aria-label",c),(!f||b[0]&128)&&V(e,"item-mobile",v[7])},i(v){f||(m(n.$$.fragment,v),f=!0)},o(v){p(n.$$.fragment,v),f=!1},d(v){v&&y(e),D(n),h=!1,g()}}}function as(i){let e,t,n,o,l,s,a,r;return n=new Yf({}),{c(){e=k("li"),t=k("div"),O(n.$$.fragment),o=N(),l=k("div"),l.textContent=`${U("download_video_caption")}`,u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",U("aria_label_menu_download")),V(e,"item-mobile",i[7])},m(c,f){C(c,e,f),d(e,t),z(n,t,null),d(e,o),d(e,l),s=!0,a||(r=Ae(e,"click",rt(i[59])),a=!0)},p(c,f){(!s||f[0]&128)&&V(e,"item-mobile",c[7])},i(c){s||(m(n.$$.fragment,c),s=!0)},o(c){p(n.$$.fragment,c),s=!1},d(c){c&&y(e),D(n),a=!1,r()}}}function rs(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,A=i[30].showSupport&&d0(i);return o=new r0({}),f=new c0({}),{c(){A&&A.c(),e=N(),t=k("li"),n=k("div"),O(o.$$.fragment),l=N(),s=k("div"),s.textContent=`${U("menu_copy_debug")}`,a=N(),r=k("li"),c=k("div"),O(f.$$.fragment),h=N(),g=k("div"),g.textContent=`${U("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-79x8pk"),u(s,"class","menu-title v-79x8pk"),u(t,"class","item item-mobile v-79x8pk"),u(t,"role","menuitem"),u(t,"tabindex","0"),u(t,"aria-label",U("menu_copy_debug")),u(c,"class","menu-icon-wrapper v-79x8pk"),u(g,"class","menu-title v-79x8pk"),u(r,"class","item item-mobile v-79x8pk"),u(r,"role","menuitem"),u(r,"tabindex","0"),u(r,"aria-label",v=i[29]?U("aria_label_menu_debug_overlay_disable"):U("aria_label_menu_debug_overlay_enable"))},m(S,P){A&&A.m(S,P),C(S,e,P),C(S,t,P),d(t,n),z(o,n,null),d(t,l),d(t,s),C(S,a,P),C(S,r,P),d(r,c),z(f,c,null),d(r,h),d(r,g),b=!0,_||(L=[Ae(t,"click",rt(i[61])),Ae(r,"click",rt(i[62]))],_=!0)},p(S,P){S[30].showSupport&&A.p(S,P),(!b||P[0]&536870912&&v!==(v=S[29]?U("aria_label_menu_debug_overlay_disable"):U("aria_label_menu_debug_overlay_enable")))&&u(r,"aria-label",v)},i(S){b||(m(A),m(o.$$.fragment,S),m(f.$$.fragment,S),b=!0)},o(S){p(A),p(o.$$.fragment,S),p(f.$$.fragment,S),b=!1},d(S){S&&(y(e),y(t),y(a),y(r)),A&&A.d(S),D(o),D(f),_=!1,xt(L)}}}function d0(i){let e,t,n,o,l,s,a,r;return n=new l0({}),{c(){e=k("li"),t=k("div"),O(n.$$.fragment),o=N(),l=k("div"),l.textContent=`${U("menu_report")}`,u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(e,"class","item item-mobile v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${U("menu_report")}. ${U("aria_label_new_tab_alert")}`)},m(c,f){C(c,e,f),d(e,t),z(n,t,null),d(e,o),d(e,l),s=!0,a||(r=Ae(e,"click",rt(i[60])),a=!0)},p:K,i(c){s||(m(n.$$.fragment,c),s=!0)},o(c){p(n.$$.fragment,c),s=!1},d(c){c&&y(e),D(n),a=!1,r()}}}function us(i){let e,t,n;return t=new vo({}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){C(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function cs(i){let e,t,n;var o=eo(i[93].value);function l(s){return{}}return o&&(t=fn(o,l())),{c(){e=k("div"),t&&O(t.$$.fragment),u(e,"class","menu-valueIcon-list v-79x8pk")},m(s,a){C(s,e,a),t&&z(t,e,null),n=!0},p(s,a){if(a[0]&256&&o!==(o=eo(s[93].value))){if(t){me();const r=t;p(r.$$.fragment,1,0,()=>{D(r,1)}),he()}o?(t=fn(o,l()),O(t.$$.fragment),m(t.$$.fragment,1),z(t,e,null)):t=null}},i(s){n||(t&&m(t.$$.fragment,s),n=!0)},o(s){t&&p(t.$$.fragment,s),n=!1},d(s){s&&y(e),t&&D(t)}}}function fs(i){let e,t,n,o=i[93].displayValue+"",l,s,a=!i[7]&&eo(i[93].value),r,c,f,h,g,v,b=i[93].selected&&us(),_=a&&cs(i);function L(){return i[76](i[93])}return{c(){e=k("li"),b&&b.c(),t=N(),n=k("div"),l=ze(o),s=N(),_&&_.c(),r=N(),u(n,"class","v-79x8pk"),V(n,"quality-title-mobile",i[7]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",c=i[93].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=U("aria_label_submenu_quality_select_quality",{quality:i[93].displayValue})),V(e,"item-mobile",i[7])},m(A,S){C(A,e,S),b&&b.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),_&&_.m(e,null),d(e,r),h=!0,g||(v=Ae(e,"click",rt(L)),g=!0)},p(A,S){i=A,i[93].selected?b?S[0]&256&&m(b,1):(b=us(),b.c(),m(b,1),b.m(e,t)):b&&(me(),p(b,1,1,()=>{b=null}),he()),(!h||S[0]&256)&&o!==(o=i[93].displayValue+"")&&Xe(l,o),(!h||S[0]&128)&&V(n,"quality-title-mobile",i[7]),S[0]&384&&(a=!i[7]&&eo(i[93].value)),a?_?(_.p(i,S),S[0]&384&&m(_,1)):(_=cs(i),_.c(),m(_,1),_.m(e,r)):_&&(me(),p(_,1,1,()=>{_=null}),he()),(!h||S[0]&256&&c!==(c=i[93].value))&&u(e,"data-value",c),(!h||S[0]&256&&f!==(f=U("aria_label_submenu_quality_select_quality",{quality:i[93].displayValue})))&&u(e,"aria-label",f),(!h||S[0]&128)&&V(e,"item-mobile",i[7])},i(A){h||(m(b),m(_),h=!0)},o(A){p(b),p(_),h=!1},d(A){A&&y(e),b&&b.d(),_&&_.d(),g=!1,v()}}}function ds(i){let e,t,n;return t=new vo({}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){C(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function ms(i){let e,t,n,o=i[90].displayValue+"",l,s,a,r,c,f,h,g=i[90].selected&&ds();function v(){return i[78](i[90])}return{c(){e=k("li"),g&&g.c(),t=N(),n=k("div"),l=ze(o),s=N(),u(n,"class","v-79x8pk"),V(n,"quality-title-mobile",i[7]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",a=i[90].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",r=U("aria_label_submenu_rate_select_rate",{rate:i[90].displayValue})),V(e,"item-mobile",i[7])},m(b,_){C(b,e,_),g&&g.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),c=!0,f||(h=Ae(e,"click",rt(v)),f=!0)},p(b,_){i=b,i[90].selected?g?_[0]&16&&m(g,1):(g=ds(),g.c(),m(g,1),g.m(e,t)):g&&(me(),p(g,1,1,()=>{g=null}),he()),(!c||_[0]&16)&&o!==(o=i[90].displayValue+"")&&Xe(l,o),(!c||_[0]&128)&&V(n,"quality-title-mobile",i[7]),(!c||_[0]&16&&a!==(a=i[90].value))&&u(e,"data-value",a),(!c||_[0]&16&&r!==(r=U("aria_label_submenu_rate_select_rate",{rate:i[90].displayValue})))&&u(e,"aria-label",r),(!c||_[0]&128)&&V(e,"item-mobile",i[7])},i(b){c||(m(g),c=!0)},o(b){p(g),c=!1},d(b){b&&y(e),g&&g.d(),f=!1,h()}}}function hs(i){let e,t,n;return t=new vo({}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){C(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function ps(i){let e,t,n;return t=new vo({}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){C(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function gs(i){let e,t,n;return t=new vo({}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){C(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function bs(i){let e,t,n,o=i[87].displayValue+"",l,s,a,r,c,f,h,g=i[87].selected&&gs();function v(){return i[82](i[87])}return{c(){e=k("li"),g&&g.c(),t=N(),n=k("div"),l=ze(o),s=N(),u(n,"class","v-79x8pk"),V(n,"quality-title-mobile",i[7]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",a=i[87].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",r=U("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[87].displayValue})),V(e,"item-mobile",i[7])},m(b,_){C(b,e,_),g&&g.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),c=!0,f||(h=Ae(e,"click",rt(v)),f=!0)},p(b,_){i=b,i[87].selected?g?_[0]&64&&m(g,1):(g=gs(),g.c(),m(g,1),g.m(e,t)):g&&(me(),p(g,1,1,()=>{g=null}),he()),(!c||_[0]&64)&&o!==(o=i[87].displayValue+"")&&Xe(l,o),(!c||_[0]&128)&&V(n,"quality-title-mobile",i[7]),(!c||_[0]&64&&a!==(a=i[87].value))&&u(e,"data-value",a),(!c||_[0]&64&&r!==(r=U("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[87].displayValue})))&&u(e,"aria-label",r),(!c||_[0]&128)&&V(e,"item-mobile",i[7])},i(b){c||(m(g),c=!0)},o(b){p(g),c=!1},d(b){b&&y(e),g&&g.d(),f=!1,h()}}}function m0(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,A,S,P,R,W,X,Z,T,te,j,ie,G,J,ue,w,oe,fe,ve,Me,Ee,we,H,M,Y,pe,ee,B,Q,Le,ye,Te,x,le,be,ae,Ue,qe,Je,tt,Ne,at,St,Be,Ve,kt,Ot,mt=i[7]&&ts(i),ot=i[23]&&is(i),re=i[22]&&os(i),xe=i[21]&&ls(i),Ye=i[20]&&ss(i),it=i[19]&&as(i),Ge=i[7]&&rs(i);v=new En({props:{direction:"left"}});let ft=Mt(i[8]),$e=[];for(let de=0;de<ft.length;de+=1)$e[de]=fs(es(i,ft,de));const Nt=de=>p($e[de],1,1,()=>{$e[de]=null});Z=new En({props:{direction:"left"}});let wt=Mt(i[4]),nt=[];for(let de=0;de<wt.length;de+=1)nt[de]=ms($l(i,wt,de));const Ht=de=>p(nt[de],1,1,()=>{nt[de]=null});fe=new En({props:{direction:"left"}});let ut=!i[5]&&hs(),Ze=i[5]&&ps();tt=new En({props:{direction:"left"}});let Tt=Mt(i[6]),lt=[];for(let de=0;de<Tt.length;de+=1)lt[de]=bs(xl(i,Tt,de));const oi=de=>p(lt[de],1,1,()=>{lt[de]=null});return{c(){e=k("div"),t=k("div"),mt&&mt.c(),n=N(),o=k("ul"),ot&&ot.c(),l=N(),re&&re.c(),s=N(),xe&&xe.c(),a=N(),Ye&&Ye.c(),r=N(),it&&it.c(),c=N(),Ge&&Ge.c(),f=N(),h=k("div"),g=k("div"),O(v.$$.fragment),b=N(),_=k("div"),_.textContent=`${U("submenu_quality")}`,L=N(),A=k("div"),S=N(),P=k("ul");for(let de=0;de<$e.length;de+=1)$e[de].c();R=N(),W=k("div"),X=k("div"),O(Z.$$.fragment),T=N(),te=k("div"),te.textContent=`${U("submenu_playback_rate")}`,j=N(),ie=k("div"),G=N(),J=k("ul");for(let de=0;de<nt.length;de+=1)nt[de].c();ue=N(),w=k("div"),oe=k("div"),O(fe.$$.fragment),ve=N(),Me=k("div"),Me.textContent=`${U("submenu_traffic_saving")}`,Ee=N(),we=k("div"),H=N(),M=k("ul"),Y=k("li"),ut&&ut.c(),pe=N(),ee=k("div"),ee.textContent=`${U("traffic_saving_disable")}`,B=N(),Q=k("li"),Ze&&Ze.c(),Le=N(),ye=k("div"),ye.textContent=`${U("traffic_saving_enable")}`,Te=N(),x=k("div"),le=N(),be=k("div"),ae=k("span"),ae.textContent=`${U("traffic_saving_helper_text")}`,Ue=N(),qe=k("div"),Je=k("div"),O(tt.$$.fragment),Ne=N(),at=k("div"),at.textContent=`${U("subtitles_caption")}`,St=N(),Be=k("ul");for(let de=0;de<lt.length;de+=1)lt[de].c();u(o,"class","items v-79x8pk"),V(o,"items-mobile",i[7]),u(t,"class","menu v-79x8pk"),u(t,"role","menu"),V(t,"menu-desktop",!i[7]),V(t,"menu-mobile",i[7]),V(t,"hidden",!i[10]),u(g,"class","item menu-header v-79x8pk"),u(g,"aria-label",U("aria_label_submenu_back")),V(g,"item-mobile",i[7]),u(A,"class","menu-divider v-79x8pk"),u(P,"class","items v-79x8pk"),u(P,"style",i[16]),V(P,"items-mobile",i[7]),u(h,"class","menu menu-subList v-79x8pk"),V(h,"menu-desktop",!i[7]),V(h,"menu-mobile",i[7]),V(h,"hidden",!i[11]),u(X,"class","item menu-header v-79x8pk"),u(X,"aria-label",U("aria_label_submenu_back")),V(X,"item-mobile",i[7]),u(ie,"class","menu-divider v-79x8pk"),u(J,"class","items v-79x8pk"),u(J,"style",i[17]),V(J,"items-mobile",i[7]),u(W,"class","menu menu-subList v-79x8pk"),V(W,"menu-desktop",!i[7]),V(W,"menu-mobile",i[7]),V(W,"hidden",!i[12]),u(oe,"class","item menu-header v-79x8pk"),u(oe,"aria-label",U("aria_label_submenu_back")),V(oe,"item-mobile",i[7]),u(we,"class","menu-divider v-79x8pk"),u(ee,"class","v-79x8pk"),V(ee,"quality-title-mobile",i[7]),u(Y,"class","item item-traffic-saving v-79x8pk"),u(Y,"role","menuitem"),u(Y,"tabindex","0"),u(Y,"aria-label",U("aria_label_submenu_traffic_saving_off")),V(Y,"item-mobile",i[7]),u(ye,"class","v-79x8pk"),V(ye,"quality-title-mobile",i[7]),u(Q,"class","item item-traffic-saving v-79x8pk"),u(Q,"role","menuitem"),u(Q,"tabindex","0"),u(Q,"aria-label",`${U("aria_label_submenu_traffic_saving_on")}. ${U("traffic_saving_helper_text")}`),V(Q,"item-mobile",i[7]),u(M,"class","items v-79x8pk"),u(M,"style",i[18]),V(M,"items-mobile",i[7]),u(x,"class","menu-divider v-79x8pk"),u(ae,"class","v-79x8pk"),u(be,"class","item item-helper-text v-79x8pk"),V(be,"item-mobile",i[7]),u(w,"class","menu menu-subList menu-subList-traffic-saving v-79x8pk"),V(w,"menu-desktop",!i[7]),V(w,"menu-mobile",i[7]),V(w,"hidden",!i[14]),u(Je,"class","item menu-header v-79x8pk"),u(Je,"aria-label",U("aria_label_submenu_back")),V(Je,"item-mobile",i[7]),u(Be,"class","items v-79x8pk"),V(Be,"items-mobile",i[7]),u(qe,"class","menu menu-subList menu-subList-subtitles v-79x8pk"),V(qe,"menu-desktop",!i[7]),V(qe,"menu-mobile",i[7]),V(qe,"hidden",!i[13]),u(e,"class","v-79x8pk"),V(e,"hidden",!i[9]),V(e,"container-mobile",i[7])},m(de,Ce){C(de,e,Ce),d(e,t),mt&&mt.m(t,null),d(t,n),d(t,o),ot&&ot.m(o,null),d(o,l),re&&re.m(o,null),d(o,s),xe&&xe.m(o,null),d(o,a),Ye&&Ye.m(o,null),d(o,r),it&&it.m(o,null),d(o,c),Ge&&Ge.m(o,null),d(e,f),d(e,h),d(h,g),z(v,g,null),d(g,b),d(g,_),i[75](g),d(h,L),d(h,A),d(h,S),d(h,P);for(let Ie=0;Ie<$e.length;Ie+=1)$e[Ie]&&$e[Ie].m(P,null);d(e,R),d(e,W),d(W,X),z(Z,X,null),d(X,T),d(X,te),i[77](X),d(W,j),d(W,ie),d(W,G),d(W,J);for(let Ie=0;Ie<nt.length;Ie+=1)nt[Ie]&&nt[Ie].m(J,null);d(e,ue),d(e,w),d(w,oe),z(fe,oe,null),d(oe,ve),d(oe,Me),i[79](oe),d(w,Ee),d(w,we),d(w,H),d(w,M),d(M,Y),ut&&ut.m(Y,null),d(Y,pe),d(Y,ee),d(M,B),d(M,Q),Ze&&Ze.m(Q,null),d(Q,Le),d(Q,ye),d(w,Te),d(w,x),d(w,le),d(w,be),d(be,ae),d(e,Ue),d(e,qe),d(qe,Je),z(tt,Je,null),d(Je,Ne),d(Je,at),d(qe,St),d(qe,Be);for(let Ie=0;Ie<lt.length;Ie+=1)lt[Ie]&<[Ie].m(Be,null);Ve=!0,kt||(Ot=[Ae(g,"click",rt(i[58])),Ae(X,"click",rt(i[58])),Ae(oe,"click",rt(i[58])),Ae(Y,"click",rt(i[80])),Ae(Q,"click",rt(i[81])),Ae(Je,"click",rt(i[58]))],kt=!0)},p(de,Ce){if(de[7]?mt?mt.p(de,Ce):(mt=ts(de),mt.c(),mt.m(t,n)):mt&&(mt.d(1),mt=null),de[23]?ot?(ot.p(de,Ce),Ce[0]&8388608&&m(ot,1)):(ot=is(de),ot.c(),m(ot,1),ot.m(o,l)):ot&&(me(),p(ot,1,1,()=>{ot=null}),he()),de[22]?re?(re.p(de,Ce),Ce[0]&4194304&&m(re,1)):(re=os(de),re.c(),m(re,1),re.m(o,s)):re&&(me(),p(re,1,1,()=>{re=null}),he()),de[21]?xe?(xe.p(de,Ce),Ce[0]&2097152&&m(xe,1)):(xe=ls(de),xe.c(),m(xe,1),xe.m(o,a)):xe&&(me(),p(xe,1,1,()=>{xe=null}),he()),de[20]?Ye?(Ye.p(de,Ce),Ce[0]&1048576&&m(Ye,1)):(Ye=ss(de),Ye.c(),m(Ye,1),Ye.m(o,r)):Ye&&(me(),p(Ye,1,1,()=>{Ye=null}),he()),de[19]?it?(it.p(de,Ce),Ce[0]&524288&&m(it,1)):(it=as(de),it.c(),m(it,1),it.m(o,c)):it&&(me(),p(it,1,1,()=>{it=null}),he()),de[7]?Ge?(Ge.p(de,Ce),Ce[0]&128&&m(Ge,1)):(Ge=rs(de),Ge.c(),m(Ge,1),Ge.m(o,null)):Ge&&(me(),p(Ge,1,1,()=>{Ge=null}),he()),(!Ve||Ce[0]&128)&&V(o,"items-mobile",de[7]),(!Ve||Ce[0]&128)&&V(t,"menu-desktop",!de[7]),(!Ve||Ce[0]&128)&&V(t,"menu-mobile",de[7]),(!Ve||Ce[0]&1024)&&V(t,"hidden",!de[10]),(!Ve||Ce[0]&128)&&V(g,"item-mobile",de[7]),Ce[0]&384|Ce[1]&2097152){ft=Mt(de[8]);let Ie;for(Ie=0;Ie<ft.length;Ie+=1){const Pt=es(de,ft,Ie);$e[Ie]?($e[Ie].p(Pt,Ce),m($e[Ie],1)):($e[Ie]=fs(Pt),$e[Ie].c(),m($e[Ie],1),$e[Ie].m(P,null))}for(me(),Ie=ft.length;Ie<$e.length;Ie+=1)Nt(Ie);he()}if((!Ve||Ce[0]&65536)&&u(P,"style",de[16]),(!Ve||Ce[0]&128)&&V(P,"items-mobile",de[7]),(!Ve||Ce[0]&128)&&V(h,"menu-desktop",!de[7]),(!Ve||Ce[0]&128)&&V(h,"menu-mobile",de[7]),(!Ve||Ce[0]&2048)&&V(h,"hidden",!de[11]),(!Ve||Ce[0]&128)&&V(X,"item-mobile",de[7]),Ce[0]&144|Ce[1]&16777216){wt=Mt(de[4]);let Ie;for(Ie=0;Ie<wt.length;Ie+=1){const Pt=$l(de,wt,Ie);nt[Ie]?(nt[Ie].p(Pt,Ce),m(nt[Ie],1)):(nt[Ie]=ms(Pt),nt[Ie].c(),m(nt[Ie],1),nt[Ie].m(J,null))}for(me(),Ie=wt.length;Ie<nt.length;Ie+=1)Ht(Ie);he()}if((!Ve||Ce[0]&131072)&&u(J,"style",de[17]),(!Ve||Ce[0]&128)&&V(J,"items-mobile",de[7]),(!Ve||Ce[0]&128)&&V(W,"menu-desktop",!de[7]),(!Ve||Ce[0]&128)&&V(W,"menu-mobile",de[7]),(!Ve||Ce[0]&4096)&&V(W,"hidden",!de[12]),(!Ve||Ce[0]&128)&&V(oe,"item-mobile",de[7]),de[5]?ut&&(me(),p(ut,1,1,()=>{ut=null}),he()):ut?Ce[0]&32&&m(ut,1):(ut=hs(),ut.c(),m(ut,1),ut.m(Y,pe)),(!Ve||Ce[0]&128)&&V(ee,"quality-title-mobile",de[7]),(!Ve||Ce[0]&128)&&V(Y,"item-mobile",de[7]),de[5]?Ze?Ce[0]&32&&m(Ze,1):(Ze=ps(),Ze.c(),m(Ze,1),Ze.m(Q,Le)):Ze&&(me(),p(Ze,1,1,()=>{Ze=null}),he()),(!Ve||Ce[0]&128)&&V(ye,"quality-title-mobile",de[7]),(!Ve||Ce[0]&128)&&V(Q,"item-mobile",de[7]),(!Ve||Ce[0]&262144)&&u(M,"style",de[18]),(!Ve||Ce[0]&128)&&V(M,"items-mobile",de[7]),(!Ve||Ce[0]&128)&&V(be,"item-mobile",de[7]),(!Ve||Ce[0]&128)&&V(w,"menu-desktop",!de[7]),(!Ve||Ce[0]&128)&&V(w,"menu-mobile",de[7]),(!Ve||Ce[0]&16384)&&V(w,"hidden",!de[14]),(!Ve||Ce[0]&128)&&V(Je,"item-mobile",de[7]),Ce[0]&192|Ce[1]&67108864){Tt=Mt(de[6]);let Ie;for(Ie=0;Ie<Tt.length;Ie+=1){const Pt=xl(de,Tt,Ie);lt[Ie]?(lt[Ie].p(Pt,Ce),m(lt[Ie],1)):(lt[Ie]=bs(Pt),lt[Ie].c(),m(lt[Ie],1),lt[Ie].m(Be,null))}for(me(),Ie=Tt.length;Ie<lt.length;Ie+=1)oi(Ie);he()}(!Ve||Ce[0]&128)&&V(Be,"items-mobile",de[7]),(!Ve||Ce[0]&128)&&V(qe,"menu-desktop",!de[7]),(!Ve||Ce[0]&128)&&V(qe,"menu-mobile",de[7]),(!Ve||Ce[0]&8192)&&V(qe,"hidden",!de[13]),(!Ve||Ce[0]&512)&&V(e,"hidden",!de[9]),(!Ve||Ce[0]&128)&&V(e,"container-mobile",de[7])},i(de){if(!Ve){m(ot),m(re),m(xe),m(Ye),m(it),m(Ge),m(v.$$.fragment,de);for(let Ce=0;Ce<ft.length;Ce+=1)m($e[Ce]);m(Z.$$.fragment,de);for(let Ce=0;Ce<wt.length;Ce+=1)m(nt[Ce]);m(fe.$$.fragment,de),m(ut),m(Ze),m(tt.$$.fragment,de);for(let Ce=0;Ce<Tt.length;Ce+=1)m(lt[Ce]);Ve=!0}},o(de){p(ot),p(re),p(xe),p(Ye),p(it),p(Ge),p(v.$$.fragment,de),$e=$e.filter(Boolean);for(let Ce=0;Ce<$e.length;Ce+=1)p($e[Ce]);p(Z.$$.fragment,de),nt=nt.filter(Boolean);for(let Ce=0;Ce<nt.length;Ce+=1)p(nt[Ce]);p(fe.$$.fragment,de),p(ut),p(Ze),p(tt.$$.fragment,de),lt=lt.filter(Boolean);for(let Ce=0;Ce<lt.length;Ce+=1)p(lt[Ce]);Ve=!1},d(de){de&&y(e),mt&&mt.d(),ot&&ot.d(),re&&re.d(),xe&&xe.d(),Ye&&Ye.d(),it&&it.d(),Ge&&Ge.d(),D(v),i[75](null),sn($e,de),D(Z),i[77](null),sn(nt,de),D(fe),i[79](null),ut&&ut.d(),Ze&&Ze.d(),D(tt),sn(lt,de),kt=!1,xt(Ot)}}}const jo=18;function h0(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,L,A,S,P,R,W,{supportLink:X}=e,{playerControlsHeight:Z=0}=e,{returnFocus:T}=e;const te=vt(),j=Yi(),ie=te.state.currentQuality$;F(i,ie,Pe=>t(66,s=Pe));const G=te.state.availableQualities$;F(i,G,Pe=>t(8,S=Pe));const J=te.state.autoQualityLimitingAvailable$;F(i,J,Pe=>t(70,g=Pe));const ue=te.state.isAutoQualityEnabled$;F(i,ue,Pe=>t(67,a=Pe));const w=te.state.currentPlaybackRate$;F(i,w,Pe=>t(3,o=Pe));const oe=te.state.availablePlaybackRates$;F(i,oe,Pe=>t(4,l=Pe));const fe=te.state.currentSubtitle$;F(i,fe,Pe=>t(28,R=Pe));const ve=te.state.availableSubtitlesList$;F(i,ve,Pe=>t(6,h=Pe));const Me=te.state.canDownload,Ee=te.state.hasMpegSources$;F(i,Ee,Pe=>t(71,v=Pe));const we=te.ui.settingsMenuVisible;F(i,we,Pe=>t(9,P=Pe));const H=te.ui.isMobile;F(i,H,Pe=>t(7,_=Pe));const M=te.ui.mobileNotReportControlHidden$;F(i,M,Pe=>t(68,c=Pe));const Y=te.state.canChangePlaybackSpeed$;F(i,Y,Pe=>t(69,f=Pe));const pe=te.ui.isFullscreen;F(i,pe,Pe=>t(74,A=Pe));const ee=te.state.trafficSavingEnabled$;F(i,ee,Pe=>t(5,r=Pe));const B=te.ui.playerSize;F(i,B,Pe=>t(73,L=Pe));const Q=te.ui.debugPanelVisible;F(i,Q,Pe=>t(29,W=Pe));const Le=te.ui.playerSize;F(i,Le,Pe=>t(72,b=Pe));const ye=te.actions.internal.downloadVideo;let Te=!0,x=!1,le=!1,be=!1,ae=!1;function Ue(){T?.(),we.set(!1)}function qe(){t(10,Te=!1),t(11,x=!0)}function Je(){t(10,Te=!1),t(14,ae=!0)}function tt(Pe){te.actions.internal.setQuality(Pe),Ue()}function Ne(Pe){te.actions.internal.setTrafficSavingEnabled(Pe),Ue()}function at(){t(10,Te=!1),t(12,le=!0)}function St(Pe){te.actions.internal.setPlaybackRate(Pe),Ue()}function Be(){t(10,Te=!1),t(13,be=!0)}function Ve(Pe){te.actions.internal.setSubtitle(Pe),Ue()}function kt(){t(10,Te=!0),t(11,x=!1),t(12,le=!1),t(13,be=!1),t(14,ae=!1)}function Ot(){ye(),Ue()}function mt(){window.open(X,"_blank"),Ue(),te.actions.internal.pause()}function ot(){tl(te.actions.internal.getDebugTextData()),Ue()}function re(){Q.set(!0),Ue()}function xe(Pe,Rt,Ni){if(!Pe)return"...";const li=Rt.find(wi=>wi.value===Pe),ki=li?li.displayValue:Pe;return Ni?Pe===Gn.INVARIANT?U("auto_quality_invariant"):U("auto_quality",{actual:ki}):ki}let Ye,it,Ge,ft,$e,Nt,wt,nt,Ht,ut,Ze,Tt,lt,oi,de;function Ce(Pe){We[Pe?"unshift":"push"](()=>{it=Pe,t(0,it)})}const Ie=Pe=>tt(Pe.value);function Pt(Pe){We[Pe?"unshift":"push"](()=>{Ge=Pe,t(1,Ge)})}const Mi=Pe=>St(Pe.value);function $t(Pe){We[Pe?"unshift":"push"](()=>{ft=Pe,t(2,ft)})}const _i=()=>Ne(!1),Bi=()=>Ne(!0),Lt=Pe=>Ve(Pe);return i.$$set=Pe=>{"supportLink"in Pe&&t(63,X=Pe.supportLink),"playerControlsHeight"in Pe&&t(64,Z=Pe.playerControlsHeight),"returnFocus"in Pe&&t(65,T=Pe.returnFocus)},i.$$.update=()=>{if(i.$$.dirty[0]&512&&P&&(t(10,Te=!0),t(11,x=!1),t(12,le=!1),t(13,be=!1),t(14,ae=!1)),i.$$.dirty[2]&16&&t(27,n=eo(s)),i.$$.dirty[0]&256|i.$$.dirty[2]&48&&t(15,Ye=xe(s,S,a)),i.$$.dirty[0]&129|i.$$.dirty[2]&7172)if(_&&A)t(16,$e=`max-height: ${Math.round(L.height*.6)}px`);else if(_)t(16,$e="");else{const Pe=b.height-jo-(it?.clientHeight??0)-Z;t(16,$e=`max-height: ${Pe}px; overflow: auto;`)}if(i.$$.dirty[0]&130|i.$$.dirty[2]&1028)if(_)t(17,Nt="");else{const Pe=b.height-jo-(Ge?.clientHeight??0)-Z;t(17,Nt=`max-height: ${Pe}px; overflow: auto;`)}if(i.$$.dirty[0]&132|i.$$.dirty[2]&1028)if(_)t(18,wt="");else{const Pe=b.height-jo-(ft?.clientHeight??0)-Z;t(18,wt=`max-height: ${Pe}px; overflow: auto;`)}i.$$.dirty[2]&576&&t(19,nt=Me&&v&&!c),i.$$.dirty[2]&320&&t(20,Ht=j.features.trafficSaving&&!c&&g),i.$$.dirty[0]&64|i.$$.dirty[2]&64&&t(21,ut=h.length>0&&!c),i.$$.dirty[2]&192&&t(22,Ze=!!f&&!c),i.$$.dirty[2]&64&&t(23,Tt=!c),i.$$.dirty[0]&32&&t(24,lt=U(r?"traffic_saving_on":"traffic_saving_off")),i.$$.dirty[2]&48&&t(25,oi=a?U("auto_quality_option"):s),i.$$.dirty[0]&24&&t(26,de=l.find(Pe=>Pe.value===o)?.displayValue)},[it,Ge,ft,o,l,r,h,_,S,P,Te,x,le,be,ae,Ye,$e,Nt,wt,nt,Ht,ut,Ze,Tt,lt,oi,de,n,R,W,j,ie,G,J,ue,w,oe,fe,ve,Ee,we,H,M,Y,pe,ee,B,Q,Le,Ue,qe,Je,tt,Ne,at,St,Be,Ve,kt,Ot,mt,ot,re,X,Z,T,s,a,c,f,g,v,b,L,A,Ce,Ie,Pt,Mi,$t,_i,Bi,Lt]}class d1 extends ke{constructor(e){super(),_e(this,e,h0,m0,ge,{supportLink:63,playerControlsHeight:64,returnFocus:65},f0,[-1,-1,-1,-1])}}function p0(i){Fe(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function g0(i){let e,t,n;return t=new c1({props:{isMobile:i[1],currentQuality:i[2]}}),{c(){e=k("span"),O(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l&2&&(s.isMobile=o[1]),l&4&&(s.currentQuality=o[2]),t.$set(s)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function b0(i){let e,t;return e=new mi({props:{testId:"btn-settings",click:i[6],ariaLabel:i[0],$$slots:{default:[g0]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.ariaLabel=n[0]),o&518&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function v0(i,e,t){let n,o,l;const s=vt(),a=s.state.currentQuality$;F(i,a,g=>t(2,l=g));const r=s.ui.settingsMenuVisible;F(i,r,g=>t(7,n=g));const c=s.ui.isMobile;F(i,c,g=>t(1,o=g));let f;function h(){r.set(!n)}return i.$$.update=()=>{i.$$.dirty&128&&t(0,f=U(n?"tooltip_settings_on":"tooltip_settings_off"))},[f,o,l,a,r,c,h,n]}class cl extends ke{constructor(e){super(),_e(this,e,v0,b0,ge,{},p0)}}function _0(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class k0 extends ke{constructor(e){super(),_e(this,e,null,_0,ge,{})}}function w0(i){let e,t;return e=new f1({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function y0(i){let e,t;return e=new k0({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function C0(i){let e,t,n,o;const l=[y0,w0],s=[];function a(r,c){return r[0]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,c){let f=e;e=a(r),e!==f&&(me(),p(s[f],1,1,()=>{s[f]=null}),he(),t=s[e],t||(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function P0(i){let e,t;return e=new mi({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],ariaKeyShortCut:zo[He.KeyC],$$slots:{default:[C0]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&4&&(l.ariaLabel=n[2]),o&2&&(l.click=n[1]),o&9&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function S0(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,l;return i.$$set=s=>{"isSubtitlesEnabled"in s&&t(0,n=s.isSubtitlesEnabled),"click"in s&&t(1,o=s.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=U(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,l]}class T0 extends ke{constructor(e){super(),_e(this,e,S0,P0,ge,{isSubtitlesEnabled:0,click:1})}}function A0(i){Fe(i,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function vs(i){let e,t;return{c(){e=k("span"),t=ze(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&8&&Xe(t,n[3])},d(n){n&&y(e)}}}function E0(i){let e,t,n,o,l,s=i[2]&&vs(i);return{c(){e=k("div"),t=k("span"),n=ze(i[4]),o=N(),s&&s.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),Hn(()=>i[7].call(e)),V(e,"mobile",i[1])},m(a,r){C(a,e,r),d(e,t),d(t,n),d(e,o),s&&s.m(e,null),l=No(e,i[7].bind(e))},p(a,[r]){r&16&&Xe(n,a[4]),a[2]?s?s.p(a,r):(s=vs(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&2&&V(e,"mobile",a[1])},i:K,o:K,d(a){a&&y(e),s&&s.d(),l()}}}function V0(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:l}=e,{showDuration:s=!0}=e,{width:a}=e,r,c;function f(){a=this.clientWidth,t(0,a)}return i.$$set=h=>{"isMobile"in h&&t(1,n=h.isMobile),"duration"in h&&t(5,o=h.duration),"position"in h&&t(6,l=h.position),"showDuration"in h&&t(2,s=h.showDuration),"width"in h&&t(0,a=h.width)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=_n(o)),i.$$.dirty&64&&t(4,c=_n(l))},[a,n,s,r,c,o,l,f]}class m1 extends ke{constructor(e){super(),_e(this,e,V0,E0,ge,{isMobile:1,duration:5,position:6,showDuration:2,width:0},A0)}}function L0(i){Fe(i,"v-1n5yyua",".icon.v-1n5yyua.v-1n5yyua{display:block;width:24px;height:24px}.icon.v-1n5yyua .cross.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .wave1.v-1n5yyua,.icon[data-value='off'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .cross.v-1n5yyua{visibility:visible}.icon[data-value='mid'].v-1n5yyua .wave2.v-1n5yyua,.icon[data-value='min'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}")}function I0(i){let e,t,n,o,l,s;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(l,"class","cross v-1n5yyua"),u(l,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"data-value",i[0]),u(e,"data-testid",s="volume-"+i[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(a,r){C(a,e,r),d(e,t),d(t,n),d(t,o),d(t,l)},p(a,[r]){r&1&&u(e,"data-value",a[0]),r&1&&s!==(s="volume-"+a[0]+"-icon")&&u(e,"data-testid",s)},i:K,o:K,d(a){a&&y(e)}}}function M0(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const l=(a,r)=>r?"off":a>.5?"max":a>.2?"mid":a>0?"min":"off";let s;return i.$$set=a=>{"volume"in a&&t(1,n=a.volume),"muted"in a&&t(2,o=a.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,s=l(n,o))},[s,n,o]}class Do extends ke{constructor(e){super(),_e(this,e,M0,I0,ge,{volume:1,muted:2},L0)}}function B0(i){let e,t;const n=i[4].default,o=wn(n,i,i[3],null);return{c(){e=k("div"),o&&o.c(),u(e,"class","overlay")},m(l,s){C(l,e,s),o&&o.m(e,null),i[5](e),t=!0},p(l,[s]){o&&o.p&&(!t||s&8)&&Cn(o,n,l,l[3],t?yn(n,l[3],s,null):Pn(l[3]),null)},i(l){t||(m(o,l),t=!0)},o(l){p(o,l),t=!1},d(l){l&&y(e),o&&o.d(l),i[5](null)}}}function N0(i,e,t){let n,{$$slots:o={},$$scope:l}=e;const a=vt().ui.overlayContainer$;F(i,a,g=>t(2,n=g));let r;const c=g=>{!g||!r||!g.contains(r)||g.removeChild(r)},f=g=>{!g||!r||g.contains(r)||g.appendChild(r)};Ki(()=>(f(n),()=>c(n)));function h(g){We[g?"unshift":"push"](()=>{r=g,t(0,r)})}return i.$$set=g=>{"$$scope"in g&&t(3,l=g.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&f(n)},[r,a,n,l,o,h]}class R0 extends ke{constructor(e){super(),_e(this,e,N0,B0,ge,{})}}function z0(i){Fe(i,"v-1jbbzcj",'.tooltip-wrapper.v-1jbbzcj{display:flex;flex-direction:column;min-width:0}.full-width.v-1jbbzcj{width:100%}.tooltip.v-1jbbzcj{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-1jbbzcj{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-1jbbzcj{opacity:1;visibility:visible}.tooltip-pointer.v-1jbbzcj{position:absolute;bottom:0;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}')}function _s(i){let e,t;return e=new R0({props:{$$slots:{default:[D0]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&262387&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function D0(i){let e,t,n,o,l,s,a;return{c(){e=k("div"),t=k("div"),n=ze(i[1]),o=N(),l=k("div"),u(t,"class","content v-1jbbzcj"),u(l,"class","tooltip-pointer v-1jbbzcj"),u(l,"style",s=`transform: translate(${i[5]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",a=`transform: translate(${i[6]}px, ${i[7]}px);`),V(e,"active",i[0])},m(r,c){C(r,e,c),d(e,t),d(t,n),d(e,o),d(e,l),i[17](e)},p(r,c){c&2&&Xe(n,r[1]),c&32&&s!==(s=`transform: translate(${r[5]}px, ${r[8]}px);`)&&u(l,"style",s),c&192&&a!==(a=`transform: translate(${r[6]}px, ${r[7]}px);`)&&u(e,"style",a),c&1&&V(e,"active",r[0])},d(r){r&&y(e),i[17](null)}}}function O0(i){let e,t,n,o,l,s;const a=i[15].default,r=wn(a,i,i[18],null);let c=i[1]&&_s(i);return{c(){e=k("div"),r&&r.c(),t=N(),c&&c.c(),n=ht(),u(e,"class","tooltip-wrapper v-1jbbzcj"),V(e,"full-width",i[2])},m(f,h){C(f,e,h),r&&r.m(e,null),i[16](e),C(f,t,h),c&&c.m(f,h),C(f,n,h),o=!0,l||(s=[Ae(e,"mouseenter",i[11]),Ae(e,"mousemove",i[11]),Ae(e,"mouseleave",i[12]),Ae(e,"mousedown",i[12]),Ae(e,"mouseup",i[11])],l=!0)},p(f,[h]){r&&r.p&&(!o||h&262144)&&Cn(r,a,f,f[18],o?yn(a,f[18],h,null):Pn(f[18]),null),(!o||h&4)&&V(e,"full-width",f[2]),f[1]?c?(c.p(f,h),h&2&&m(c,1)):(c=_s(f),c.c(),m(c,1),c.m(n.parentNode,n)):c&&(me(),p(c,1,1,()=>{c=null}),he())},i(f){o||(m(r,f),m(c),o=!0)},o(f){p(r,f),p(c),o=!1},d(f){f&&(y(e),y(t),y(n)),r&&r.d(f),i[16](null),c&&c.d(f),l=!1,xt(s)}}}const So=5;function H0(i,e,t){let n,o,{$$slots:l={},$$scope:s}=e,{content:a=""}=e,{active:r=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:h=!1}=e,g,v,b,_=0,L=So,A=0,S=0;const P=Yi(),R=vt(),W=R.ui.playerSize;F(i,W,w=>t(21,o=w));const X=R.ui.overlayContainer$;F(i,X,w=>t(20,n=w));const Z=R.getLogger().createComponentLog("Tooltip component"),T=()=>{if(!n)return;const w=n.getBoundingClientRect(),oe=g.getBoundingClientRect(),fe=oe.width,ve=v.clientWidth,Me=o.width,Ee=(fe-ve)/2,we=oe.left+c-w.left;let H=we+Ee;const M=oe.top+f-w.top;let Y=ve/2-So;const pe=H<co,ee=H+ve>Me-co;pe&&(H=co,Y=we+oe.width/2-2.5*So),ee&&(H=Me-co-ve,Y=oe.left-w.left+oe.width/2-H-So),t(6,A=H),t(7,S=M),t(5,_=Y)},te=()=>{try{if(!n||!g)return;T(),t(0,r=!0)}catch(w){Z({message:String(w)})}},j=()=>{t(0,r=!1)},ie=()=>{v&&(b||(b=window.setTimeout(te,P.controls.hideTimeoutTooltips)),r&&te())},G=()=>{j(),window.clearTimeout(b),b=void 0};Ro(()=>window.clearTimeout(b));function J(w){We[w?"unshift":"push"](()=>{g=w,t(3,g)})}function ue(w){We[w?"unshift":"push"](()=>{v=w,t(4,v)})}return i.$$set=w=>{"content"in w&&t(1,a=w.content),"active"in w&&t(0,r=w.active),"translateX"in w&&t(13,c=w.translateX),"translateY"in w&&t(14,f=w.translateY),"isFullWidthWrapper"in w&&t(2,h=w.isFullWidthWrapper),"$$scope"in w&&t(18,s=w.$$scope)},[r,a,h,g,v,_,A,S,L,W,X,ie,G,c,f,l,J,ue,s]}class h1 extends ke{constructor(e){super(),_e(this,e,H0,O0,ge,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},z0)}}function F0(i){Fe(i,"v-p9r045",".btn-container.v-p9r045{position:relative;display:flex;align-items:center;height:100%;transition:var(--button-hover-transition);will-change:opacity;-webkit-tap-highlight-color:transparent}.w-max.v-p9r045{width:100%;min-width:0}")}function U0(i){let e;const t=i[15].default,n=wn(t,i,i[19],null);return{c(){n&&n.c()},m(o,l){n&&n.m(o,l),e=!0},p(o,l){n&&n.p&&(!e||l&524288)&&Cn(n,t,o,o[19],e?yn(t,o[19],l,null):Pn(o[19]),null)},i(o){e||(m(n,o),e=!0)},o(o){p(n,o),e=!1},d(o){n&&n.d(o)}}}function q0(i){let e,t;return e=new h1({props:{content:i[8],translateX:i[6],translateY:i[7],isFullWidthWrapper:i[3],$$slots:{default:[W0]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&256&&(l.content=n[8]),o&64&&(l.translateX=n[6]),o&128&&(l.translateY=n[7]),o&8&&(l.isFullWidthWrapper=n[3]),o&524288&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function W0(i){let e;const t=i[15].default,n=wn(t,i,i[19],null);return{c(){n&&n.c()},m(o,l){n&&n.m(o,l),e=!0},p(o,l){n&&n.p&&(!e||l&524288)&&Cn(n,t,o,o[19],e?yn(t,o[19],l,null):Pn(o[19]),null)},i(o){e||(m(n,o),e=!0)},o(o){p(n,o),e=!1},d(o){n&&n.d(o)}}}function Z0(i){let e,t,n,o,l,s,a,r,c;const f=[q0,U0],h=[];function g(v,b){return v[2]&&v[4]&&!v[9]?0:1}return t=g(i),n=h[t]=f[t](i),{c(){e=k("div"),n.c(),u(e,"class",o="btn-container "+i[1]+" v-p9r045"),u(e,"aria-hidden",l=i[5]||null),Hn(()=>i[18].call(e))},m(v,b){C(v,e,b),h[t].m(e,null),s=No(e,i[18].bind(e)),a=!0,r||(c=[Ae(e,"pointerdown",rt(di(i[16]))),Ae(e,"click",rt(di(i[17])))],r=!0)},p(v,[b]){let _=t;t=g(v),t===_?h[t].p(v,b):(me(),p(h[_],1,1,()=>{h[_]=null}),he(),n=h[t],n?n.p(v,b):(n=h[t]=f[t](v),n.c()),m(n,1),n.m(e,null)),(!a||b&2&&o!==(o="btn-container "+v[1]+" v-p9r045"))&&u(e,"class",o),(!a||b&32&&l!==(l=v[5]||null))&&u(e,"aria-hidden",l)},i(v){a||(m(n),a=!0)},o(v){p(n),a=!1},d(v){v&&y(e),h[t].d(),s(),r=!1,xt(c)}}}function j0(i,e,t){let n,o,{$$slots:l={},$$scope:s}=e,{className:a=""}=e,{disabled:r=!1}=e,{hasTooltip:c=!0}=e,{width:f}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:g=""}=e,{disabledTooltipContent:v=U("tooltip_button_disabled")}=e,{isAriaHidden:b=!1}=e,{initialTranslateXPx:_=0}=e,{initialTranslateYPx:L=-18}=e;const A=vt(),S=A.ui.isMobile;F(i,S,T=>t(9,o=T));const P=A.state.graphIsOpened$;F(i,P,T=>t(14,n=T));let R;function W(T){Jn.call(this,i,T)}function X(T){Jn.call(this,i,T)}function Z(){f=this.clientWidth,t(0,f)}return i.$$set=T=>{"className"in T&&t(1,a=T.className),"disabled"in T&&t(12,r=T.disabled),"hasTooltip"in T&&t(2,c=T.hasTooltip),"width"in T&&t(0,f=T.width),"isFullWidthTooltip"in T&&t(3,h=T.isFullWidthTooltip),"tooltipContent"in T&&t(4,g=T.tooltipContent),"disabledTooltipContent"in T&&t(13,v=T.disabledTooltipContent),"isAriaHidden"in T&&t(5,b=T.isAriaHidden),"initialTranslateXPx"in T&&t(6,_=T.initialTranslateXPx),"initialTranslateYPx"in T&&t(7,L=T.initialTranslateYPx),"$$scope"in T&&t(19,s=T.$$scope)},i.$$.update=()=>{i.$$.dirty&28688&&(r?t(8,R=n?U("tooltip_disabled_when_graph_on"):v):t(8,R=g))},[f,a,c,h,g,b,_,L,R,o,S,P,r,v,n,l,W,X,Z,s]}class Bt extends ke{constructor(e){super(),_e(this,e,j0,Z0,ge,{className:1,disabled:12,hasTooltip:2,width:0,isFullWidthTooltip:3,tooltipContent:4,disabledTooltipContent:13,isAriaHidden:5,initialTranslateXPx:6,initialTranslateYPx:7},F0)}}function G0(i){let e,t,n,o,l;return{c(){e=I("svg"),t=I("rect"),o=I("path"),u(t,"width","20"),u(t,"height","20"),u(t,"rx","10"),u(t,"fill","white"),u(t,"fill-opacity",n=i[0]?1:.24),u(o,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(o,"fill",l=i[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(s,a){C(s,e,a),d(e,t),d(e,o)},p(s,[a]){a&1&&n!==(n=s[0]?1:.24)&&u(t,"fill-opacity",n),a&1&&l!==(l=s[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",l)},i:K,o:K,d(s){s&&y(e)}}}function K0(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class Y0 extends ke{constructor(e){super(),_e(this,e,K0,G0,ge,{completed:0})}}function Q0(i){Fe(i,"v-bklhpe",".interactive-episode-icon.v-bklhpe{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}.interactive-episode-icon.disabled.v-bklhpe{pointer-events:none;opacity:0.4}")}function X0(i){let e,t,n,o,l;return t=new Y0({props:{completed:!!i[0].completed}}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),Hn(()=>i[3].call(e)),V(e,"disabled",i[1])},m(s,a){C(s,e,a),z(t,e,null),o=No(e,i[3].bind(e)),l=!0},p(s,a){const r={};a&1&&(r.completed=!!s[0].completed),t.$set(r),(!l||a&1&&n!==(n=`left: ${s[0].from+s[0].width/2}%`))&&u(e,"style",n),(!l||a&2)&&V(e,"disabled",s[1])},i(s){l||(m(t.$$.fragment,s),l=!0)},o(s){p(t.$$.fragment,s),l=!1},d(s){s&&y(e),D(t),o()}}}function J0(i){let e,t;return e=new Bt({props:{tooltipContent:U(i[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished"),initialTranslateXPx:-10,initialTranslateYPx:-10,disabled:i[1],width:i[2]||0,isAriaHidden:!0,isFullWidthTooltip:!1,$$slots:{default:[X0]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.tooltipContent=U(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(l.disabled=n[1]),o&4&&(l.width=n[2]||0),o&23&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function x0(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,l;function s(){l=this.clientWidth,t(2,l)}return i.$$set=a=>{"videoEpisode"in a&&t(0,n=a.videoEpisode),"disabled"in a&&t(1,o=a.disabled)},[n,o,l,s]}class $0 extends ke{constructor(e){super(),_e(this,e,x0,J0,ge,{videoEpisode:0,disabled:1},Q0)}}function ed(i){Fe(i,"v-1h9p3m2",".video-episodes-wrap.v-1h9p3m2{position:absolute;width:100%;height:100%}.video-episode.v-1h9p3m2{position:absolute;height:calc(3 * var(--slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--slider-height) var(--slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-1h9p3m2:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-1h9p3m2,.video-episode-loaded.v-1h9p3m2,.video-episode-filled.v-1h9p3m2{position:absolute;height:var(--slider-height);border-radius:var(--slider-radius)}.video-episode-inner.v-1h9p3m2{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--slider-video-episode-gap));background:var(--slider-bg)}.video-episode-loaded.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}")}function ks(i,e,t){const n=i.slice();return n[2]=e[t],n}function ws(i){let e,t,n,o,l,s,a,r,c;return{c(){e=k("div"),t=k("div"),n=k("div"),l=N(),s=k("div"),r=N(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${i[2].loadedWidth/i[2].width*100}%)`),u(s,"class","video-episode-filled v-1h9p3m2"),u(s,"style",a=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),V(s,"mobile",i[1]),u(t,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${i[2].from}%; width: ${i[2].width}%`),V(e,"mobile",i[1])},m(f,h){C(f,e,h),d(e,t),d(t,n),d(t,l),d(t,s),d(e,r)},p(f,h){h&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),h&1&&a!==(a=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(s,"style",a),h&2&&V(s,"mobile",f[1]),h&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),h&2&&V(e,"mobile",f[1])},d(f){f&&y(e)}}}function td(i){let e,t=Mt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=ws(ks(i,t,o));return{c(){e=k("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,l){C(o,e,l);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(e,null)},p(o,[l]){if(l&3){t=Mt(o[0]);let s;for(s=0;s<t.length;s+=1){const a=ks(o,t,s);n[s]?n[s].p(a,l):(n[s]=ws(a),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:K,o:K,d(o){o&&y(e),sn(n,o)}}}function id(i,e,t){let{videoEpisodes:n=[]}=e,{isMobile:o}=e;return i.$$set=l=>{"videoEpisodes"in l&&t(0,n=l.videoEpisodes),"isMobile"in l&&t(1,o=l.isMobile)},[n,o]}class nd extends ke{constructor(e){super(),_e(this,e,id,td,ge,{videoEpisodes:0,isMobile:1},ed)}}function od(i){Fe(i,"v-1golz1y",".interactive-icons.v-1golz1y.v-1golz1y{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-1golz1y.v-1golz1y{top:-10px}.slider.v-1golz1y.v-1golz1y{position:relative;height:var(--slider-height);border-radius:var(--slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-1golz1y.v-1golz1y{cursor:default}.slider.v-1golz1y.v-1golz1y:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--controls-height) / 2 - var(--slider-height)) / 2);height:calc(var(--controls-height) / 2)}.bars.v-1golz1y.v-1golz1y{position:absolute;width:100%;height:100%;border-radius:var(--slider-radius);overflow:hidden;background:var(--slider-bg)}.loaded.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.filled.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}.slider.square.v-1golz1y.v-1golz1y,.slider.square.v-1golz1y>.bars.v-1golz1y,.slider.square.v-1golz1y .loaded.v-1golz1y,.slider.square.v-1golz1y .filled.v-1golz1y{border-radius:unset}.filled.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.filled.ads.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-ads)}.handleWrap.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%}.handle.v-1golz1y.v-1golz1y{position:absolute;width:var(--slider-handle-size);height:var(--slider-handle-size);right:calc(-1 * var(--slider-handle-size) / 2);top:calc((var(--slider-height) - var(--slider-handle-size)) / 2);border-radius:50%;background-color:var(--slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.slider.v-1golz1y:hover .handle.v-1golz1y,.slider-dragging.v-1golz1y .handle.v-1golz1y{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-1golz1y .handle.v-1golz1y{transform:scale(1.3)}.slider-vertical.v-1golz1y.v-1golz1y{position:absolute;left:-8px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.slider.disabled.v-1golz1y.v-1golz1y{cursor:default;pointer-events:none;opacity:0.4}")}function ys(i,e,t){const n=i.slice();return n[48]=e[t],n}function Cs(i){let e,t,n=Mt(i[21]),o=[];for(let s=0;s<n.length;s+=1)o[s]=Ss(ys(i,n,s));const l=s=>p(o[s],1,1,()=>{o[s]=null});return{c(){e=k("div");for(let s=0;s<o.length;s+=1)o[s].c();u(e,"class","interactive-icons v-1golz1y"),V(e,"mobile",i[5]),V(e,"hidden",i[5]&&!i[20])},m(s,a){C(s,e,a);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(e,null);t=!0},p(s,a){if(a[0]&2097664){n=Mt(s[21]);let r;for(r=0;r<n.length;r+=1){const c=ys(s,n,r);o[r]?(o[r].p(c,a),m(o[r],1)):(o[r]=Ss(c),o[r].c(),m(o[r],1),o[r].m(e,null))}for(me(),r=n.length;r<o.length;r+=1)l(r);he()}(!t||a[0]&32)&&V(e,"mobile",s[5]),(!t||a[0]&1048608)&&V(e,"hidden",s[5]&&!s[20])},i(s){if(!t){for(let a=0;a<n.length;a+=1)m(o[a]);t=!0}},o(s){o=o.filter(Boolean);for(let a=0;a<o.length;a+=1)p(o[a]);t=!1},d(s){s&&y(e),sn(o,s)}}}function Ps(i){let e,t;return e=new $0({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&2097152&&(l.videoEpisode=n[48]),o[0]&512&&(l.disabled=n[9]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ss(i){let e,t,n=i[48].interactive&&Ps(i);return{c(){n&&n.c(),e=ht()},m(o,l){n&&n.m(o,l),C(o,e,l),t=!0},p(o,l){o[48].interactive?n?(n.p(o,l),l[0]&2097152&&m(n,1)):(n=Ps(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(me(),p(n,1,1,()=>{n=null}),he())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function ld(i){let e,t,n,o,l,s;return{c(){e=k("div"),t=k("div"),o=N(),l=k("div"),u(t,"class","loaded v-1golz1y"),u(t,"style",n=`transform: translateX(${i[11]*100}%);`),u(l,"class","filled v-1golz1y"),u(l,"style",s=`transform: translateX(${i[12]*100}%);`),V(l,"active-live",i[4]),V(l,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(a,r){C(a,e,r),d(e,t),d(e,o),d(e,l)},p(a,r){r[0]&2048&&n!==(n=`transform: translateX(${a[11]*100}%);`)&&u(t,"style",n),r[0]&4096&&s!==(s=`transform: translateX(${a[12]*100}%);`)&&u(l,"style",s),r[0]&16&&V(l,"active-live",a[4]),r[0]&64&&V(l,"ads",a[6])},i:K,o:K,d(a){a&&y(e)}}}function sd(i){let e,t;return e=new nd({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&2097152&&(l.videoEpisodes=n[21]),o[0]&32&&(l.isMobile=n[5]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ad(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b=i[8]&&Cs(i);const _=[sd,ld],L=[];function A(S,P){return S[21].length?0:1}return n=A(i),o=L[n]=_[n](i),{c(){b&&b.c(),e=N(),t=k("div"),o.c(),l=N(),s=k("div"),a=k("div"),u(a,"class","handle v-1golz1y"),V(a,"active-live",i[4]),u(s,"class","handleWrap v-1golz1y"),u(s,"style",r=`transform: translateX(${i[13]*100}%);`),V(s,"hidden",i[10]),u(t,"class",c="slider "+i[0]+" v-1golz1y"),u(t,"aria-label",i[14]),u(t,"aria-valuemin",i[15]),u(t,"aria-valuemax",i[16]),u(t,"aria-valuenow",i[17]),u(t,"aria-valuetext",i[18]),u(t,"role","slider"),u(t,"tabindex","0"),u(t,"data-testid",f=i[1]??null),V(t,"disabled",i[9]),V(t,"slider-dragging",i[20]),V(t,"hidden",i[2]),V(t,"slider-vertical",i[3]),V(t,"no-handle",i[10]),V(t,"square",i[7])},m(S,P){b&&b.m(S,P),C(S,e,P),C(S,t,P),L[n].m(t,null),d(t,l),d(t,s),d(s,a),i[42](t),h=!0,g||(v=[Ae(t,"pointerdown",di(i[22])),Ae(t,"pointermove",di(i[23])),Ae(t,"pointerup",di(i[24])),Ae(t,"pointerenter",di(i[25])),Ae(t,"pointerleave",di(i[26])),Ae(t,"click",rt(et)),Ae(t,"wheel",i[27])],g=!0)},p(S,P){S[8]?b?(b.p(S,P),P[0]&256&&m(b,1)):(b=Cs(S),b.c(),m(b,1),b.m(e.parentNode,e)):b&&(me(),p(b,1,1,()=>{b=null}),he());let R=n;n=A(S),n===R?L[n].p(S,P):(me(),p(L[R],1,1,()=>{L[R]=null}),he(),o=L[n],o?o.p(S,P):(o=L[n]=_[n](S),o.c()),m(o,1),o.m(t,l)),(!h||P[0]&16)&&V(a,"active-live",S[4]),(!h||P[0]&8192&&r!==(r=`transform: translateX(${S[13]*100}%);`))&&u(s,"style",r),(!h||P[0]&1024)&&V(s,"hidden",S[10]),(!h||P[0]&1&&c!==(c="slider "+S[0]+" v-1golz1y"))&&u(t,"class",c),(!h||P[0]&16384)&&u(t,"aria-label",S[14]),(!h||P[0]&32768)&&u(t,"aria-valuemin",S[15]),(!h||P[0]&65536)&&u(t,"aria-valuemax",S[16]),(!h||P[0]&131072)&&u(t,"aria-valuenow",S[17]),(!h||P[0]&262144)&&u(t,"aria-valuetext",S[18]),(!h||P[0]&2&&f!==(f=S[1]??null))&&u(t,"data-testid",f),(!h||P[0]&513)&&V(t,"disabled",S[9]),(!h||P[0]&1048577)&&V(t,"slider-dragging",S[20]),(!h||P[0]&5)&&V(t,"hidden",S[2]),(!h||P[0]&9)&&V(t,"slider-vertical",S[3]),(!h||P[0]&1025)&&V(t,"no-handle",S[10]),(!h||P[0]&129)&&V(t,"square",S[7])},i(S){h||(m(b),m(o),h=!0)},o(S){p(b),p(o),h=!1},d(S){S&&(y(e),y(t)),b&&b.d(S),L[n].d(),i[42](null),g=!1,xt(v)}}}function rd(i,e,t){let n,o,{className:l=""}=e,{testId:s=void 0}=e,{isHidden:a=!1}=e,{isVertical:r=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:h=!1}=e,{squareBorders:g=!1}=e,{videoEpisodes:v=[]}=e,{withWheelHandler:b=!1}=e,{isInteractive:_=!1}=e,{disabled:L=!1}=e,{hideHandel:A=!1}=e,S,P,{onPointerDown:R=et}=e,{onHandleMove:W=et}=e,{onPointerUp:X=et}=e,{onPointerEnter:Z=et}=e,{onPointerMove:T=et}=e,{onPointerLeave:te=et}=e,{onWheelUp:j=et}=e,{onWheelDown:ie=et}=e,{onWheelLeft:G=et}=e,{onWheelRight:J=et}=e,{loadedProgress:ue=0}=e,{filledProgress:w=0}=e,{handleProgress:oe=0}=e,{ariaLabel:fe=""}=e,{ariaValueMin:ve=void 0}=e,{ariaValueMax:Me=void 0}=e,{ariaValueNow:Ee=void 0}=e,{ariaValueText:we=""}=e;const H=Yi();let M=!1,Y;function pe(ae){if(M)return;t(20,M=!0),P=S.getBoundingClientRect();const Ue=Te(ae.clientX,ae.clientY);R(Ue),S.setPointerCapture(ae.pointerId)}function ee(ae){const Ue=Te(ae.clientX,ae.clientY),qe=x(ae.clientX);T(Ue,qe,P.width),M&&W(Ue)}function B(ae){if(!M)return;t(20,M=!1);const Ue=Te(ae.clientX,ae.clientY);X(Ue)}function Q(ae){P=S.getBoundingClientRect();const Ue=Te(ae.clientX,ae.clientY),qe=x(ae.clientX);Z(Ue,qe,P.width)}function Le(){te()}function ye(ae){b&&(ae.preventDefault(),ae.deltaY<0?j():ae.deltaY>0?ie():ae.deltaX>0?J():G())}function Te(ae,Ue){return r?Math.max(0,Math.min(1,(P.height-(Ue-P.top))/P.height)):Math.min(Math.max(ae-P.x,0),P.width)/P.width}function x(ae){return Math.min(Math.max(ae-P.x,0),P.width)}function le(ae,Ue){const qe=H.features.episodesClustering&&!_?H.episodeMinWidthPc:0,Je=[];let tt=0,Ne=0,at=0;for(let Ve=1;Ve<v.length;Ve++)Ne=v[Ve].time/Y*100,Ne-tt>qe&&(Je.push({from:tt,width:Math.max(0,Ne-tt),loadedWidth:Math.max(0,Math.min(Ne,ae)-tt),filledWidth:Math.max(0,Math.min(Ne,Ue)-tt),interactive:v[Ve-1].interactive,completed:v[Ve-1].completed}),tt=v[Ve].time/Y*100,at++);const St={from:tt,width:Math.max(0,100-tt),loadedWidth:Math.max(0,Math.min(ae,100)-tt),filledWidth:Math.max(0,Math.min(Ue,100)-tt),interactive:v[at].interactive,completed:v[at].completed};100-tt<qe?(at-=1,Je[at].width+=100-tt,Je[at].loadedWidth+=Math.max(0,Math.min(ae,100)-tt),Je[at].filledWidth+=Math.max(0,Math.min(Ue,100)-tt)):Je[at]=St;const Be=v[0].time;if(Be!==0){const Ve=Be/Y*100;Je.unshift({from:0,width:Ve,loadedWidth:Math.min(Ve,ae),filledWidth:Math.min(Ve,Ue)})}return Je}function be(ae){We[ae?"unshift":"push"](()=>{S=ae,t(19,S)})}return i.$$set=ae=>{"className"in ae&&t(0,l=ae.className),"testId"in ae&&t(1,s=ae.testId),"isHidden"in ae&&t(2,a=ae.isHidden),"isVertical"in ae&&t(3,r=ae.isVertical),"isActiveLive"in ae&&t(4,c=ae.isActiveLive),"isMobile"in ae&&t(5,f=ae.isMobile),"isAds"in ae&&t(6,h=ae.isAds),"squareBorders"in ae&&t(7,g=ae.squareBorders),"videoEpisodes"in ae&&t(28,v=ae.videoEpisodes),"withWheelHandler"in ae&&t(29,b=ae.withWheelHandler),"isInteractive"in ae&&t(8,_=ae.isInteractive),"disabled"in ae&&t(9,L=ae.disabled),"hideHandel"in ae&&t(10,A=ae.hideHandel),"onPointerDown"in ae&&t(30,R=ae.onPointerDown),"onHandleMove"in ae&&t(31,W=ae.onHandleMove),"onPointerUp"in ae&&t(32,X=ae.onPointerUp),"onPointerEnter"in ae&&t(33,Z=ae.onPointerEnter),"onPointerMove"in ae&&t(34,T=ae.onPointerMove),"onPointerLeave"in ae&&t(35,te=ae.onPointerLeave),"onWheelUp"in ae&&t(36,j=ae.onWheelUp),"onWheelDown"in ae&&t(37,ie=ae.onWheelDown),"onWheelLeft"in ae&&t(38,G=ae.onWheelLeft),"onWheelRight"in ae&&t(39,J=ae.onWheelRight),"loadedProgress"in ae&&t(11,ue=ae.loadedProgress),"filledProgress"in ae&&t(12,w=ae.filledProgress),"handleProgress"in ae&&t(13,oe=ae.handleProgress),"ariaLabel"in ae&&t(14,fe=ae.ariaLabel),"ariaValueMin"in ae&&t(15,ve=ae.ariaValueMin),"ariaValueMax"in ae&&t(16,Me=ae.ariaValueMax),"ariaValueNow"in ae&&t(17,Ee=ae.ariaValueNow),"ariaValueText"in ae&&t(18,we=ae.ariaValueText)},i.$$.update=()=>{i.$$.dirty[0]&65536&&t(40,Y=Me??0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=v[v.length-1]?.time<Y),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=v.length&&n&&Y?le(ue*100,w*100):[])},[l,s,a,r,c,f,h,g,_,L,A,ue,w,oe,fe,ve,Me,Ee,we,S,M,o,pe,ee,B,Q,Le,ye,v,b,R,W,X,Z,T,te,j,ie,G,J,Y,n,be]}class fl extends ke{constructor(e){super(),_e(this,e,rd,ad,ge,{className:0,testId:1,isHidden:2,isVertical:3,isActiveLive:4,isMobile:5,isAds:6,squareBorders:7,videoEpisodes:28,withWheelHandler:29,isInteractive:8,disabled:9,hideHandel:10,onPointerDown:30,onHandleMove:31,onPointerUp:32,onPointerEnter:33,onPointerMove:34,onPointerLeave:35,onWheelUp:36,onWheelDown:37,onWheelLeft:38,onWheelRight:39,loadedProgress:11,filledProgress:12,handleProgress:13,ariaLabel:14,ariaValueMin:15,ariaValueMax:16,ariaValueNow:17,ariaValueText:18},od,[-1,-1])}}const on=(i,e)=>$n[i]>=$n[e],ud=(i,e)=>$n[i]<$n[e],p1=(i,e)=>$n[i]<=$n[e],cd=i=>i>Yn.L?Ct.XL:i>Yn.M?Ct.L:i>Yn.S?Ct.M:i>Yn.XS?Ct.S:Ct.XS;function fd(i){Fe(i,"v-1l78lz9",".volumeBar-container.v-1l78lz9{display:flex;align-items:center}.volumeBar-container.vertical.v-1l78lz9,.vertical.v-1l78lz9 .tooltip-wrapper,.vertical.v-1l78lz9 .btn{width:40px}.volumeBar.v-1l78lz9{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1l78lz9{padding:0 8px 0 0;width:0}")}function dd(i){let e,t;return e=new Do({props:{volume:i[4],muted:i[2]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&16&&(l.volume=n[4]),o[0]&4&&(l.muted=n[2]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function md(i){let e,t;return e=new mi({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],ariaKeyShortCut:zo[He.KeyM],$$slots:{default:[dd]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&1&&(l.disabled=!n[0]),o[0]&8&&(l.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(l.ariaLabel=n[7]),o[0]&2&&(l.click=n[1]),o[0]&20|o[1]&1&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ts(i){let e,t,n;return t=new fl({props:{className:i[3]?"volumeBar-slider-vertical":"",isHidden:i[3]&&!i[5],isVertical:i[3],withWheelHandler:!0,onWheelUp:i[13],onWheelDown:i[14],onPointerDown:i[12],onHandleMove:i[15],onPointerUp:i[16],onPointerEnter:i[3]?i[17]:et,onPointerLeave:i[3]?i[18]:et,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(i[8]*100),ariaValueText:`${Math.round(i[8]*100)}%`,filledProgress:i[8],handleProgress:i[8],testId:i[3]?"volume-slider-vertical":"volume-slider"}}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),V(e,"volumeBar-vertical",i[3])},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.className=o[3]?"volumeBar-slider-vertical":""),l[0]&40&&(s.isHidden=o[3]&&!o[5]),l[0]&8&&(s.isVertical=o[3]),l[0]&8&&(s.onPointerEnter=o[3]?o[17]:et),l[0]&8&&(s.onPointerLeave=o[3]?o[18]:et),l[0]&256&&(s.ariaValueNow=Math.round(o[8]*100)),l[0]&256&&(s.ariaValueText=`${Math.round(o[8]*100)}%`),l[0]&256&&(s.filledProgress=o[8]),l[0]&256&&(s.handleProgress=o[8]),l[0]&8&&(s.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(s),(!n||l[0]&8)&&V(e,"volumeBar-vertical",o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function hd(i){let e,t,n,o,l,s;t=new h1({props:{content:i[6],translateY:-18,$$slots:{default:[md]},$$scope:{ctx:i}}});let a=i[0]&&Ts(i);return{c(){e=k("div"),O(t.$$.fragment),n=N(),a&&a.c(),u(e,"class","volumeBar-container v-1l78lz9"),V(e,"vertical",i[3])},m(r,c){C(r,e,c),z(t,e,null),d(e,n),a&&a.m(e,null),o=!0,l||(s=[Ae(e,"mouseenter",function(){kn(i[3]?i[19]:et)&&(i[3]?i[19]:et).apply(this,arguments)}),Ae(e,"mouseleave",function(){kn(i[3]?i[20]:et)&&(i[3]?i[20]:et).apply(this,arguments)}),Ae(e,"wheel",di(i[21]))],l=!0)},p(r,c){i=r;const f={};c[0]&64&&(f.content=i[6]),c[0]&159|c[1]&1&&(f.$$scope={dirty:c,ctx:i}),t.$set(f),i[0]?a?(a.p(i,c),c[0]&1&&m(a,1)):(a=Ts(i),a.c(),m(a,1),a.m(e,null)):a&&(me(),p(a,1,1,()=>{a=null}),he()),(!o||c[0]&8)&&V(e,"vertical",i[3])},i(r){o||(m(t.$$.fragment,r),m(a),o=!0)},o(r){p(t.$$.fragment,r),p(a),o=!1},d(r){r&&y(e),D(t),a&&a.d(),l=!1,xt(s)}}}function pd(i,e,t){let n,o,l,{isAudioAvailable:s=!0}=e,{click:a}=e;const r=vt(),c=Yi(),f=r.state.volume$;F(i,f,ve=>t(4,n=ve));const h=r.state.muted$;F(i,h,ve=>t(23,l=ve));const g=r.actions.internal.setVolume,v=r.ui.currentGridType$;F(i,v,ve=>t(22,o=ve));let b=!1,_,L,A,S,P,R,W=1,X=!1;function Z(ve){W=n,g(ve)}function T(){l1(r,n,c.controls.volumeStepWheel)}function te(){s1(r,n,c.controls.volumeStepWheel)}function j(ve){g(ve)}function ie(ve){const Me=ve;g(Me,Me===0?W:Me)}function G(){X=!0}function J(){X=!1,oe()}function ue(){clearTimeout(_),t(5,b=!0)}function w(){oe()}function oe(){_=window.setTimeout(()=>{X||t(5,b=!1)},c.controls.volumeBarTimeout)}function fe(ve){ve.deltaY<0?T():ve.deltaY>0&&te()}return i.$$set=ve=>{"isAudioAvailable"in ve&&t(0,s=ve.isAudioAvailable),"click"in ve&&t(1,a=ve.click)},i.$$.update=()=>{i.$$.dirty[0]&8388609&&t(2,S=!s||l),i.$$.dirty[0]&4194304&&t(3,P=p1(o,Ct.S)),i.$$.dirty[0]&12&&(P?t(6,L=""):t(6,L=U(S?"tooltip_volume":"tooltip_volume_muted")),t(7,A=U(S?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,R=S?0:n)},[s,a,S,P,n,b,L,A,R,f,h,v,Z,T,te,j,ie,G,J,ue,w,fe,o,l]}class gd extends ke{constructor(e){super(),_e(this,e,pd,hd,ge,{isAudioAvailable:0,click:1},fd,[-1,-1])}}function bd(i){let e;return{c(){e=I("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function vd(i){let e;return{c(){e=I("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function _d(i){let e,t,n;function o(a,r){return a[0]?vd:bd}let l=o(i),s=l(i);return{c(){e=I("svg"),t=I("g"),s.c(),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(a,r){C(a,e,r),d(e,t),s.m(t,null)},p(a,[r]){l!==(l=o(a))&&(s.d(1),s=l(a),s&&(s.c(),s.m(t,null))),r&1&&n!==(n=a[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:K,o:K,d(a){a&&y(e),s.d()}}}function kd(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class wd extends ke{constructor(e){super(),_e(this,e,kd,_d,ge,{isFullscreen:0})}}function yd(i){let e,t;return e=new wd({props:{isFullscreen:i[0]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isFullscreen=n[0]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Cd(i){let e,t;return e=new mi({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],ariaKeyShortCut:zo[He.KeyF],$$slots:{default:[yd]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&4&&(l.ariaLabel=n[2]),o&2&&(l.click=n[1]),o&9&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Pd(i,e,t){let{isFullscreen:n=!1}=e,{click:o=et}=e,l;return i.$$set=s=>{"isFullscreen"in s&&t(0,n=s.isFullscreen),"click"in s&&t(1,o=s.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=U(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,l]}class g1 extends ke{constructor(e){super(),_e(this,e,Pd,Cd,ge,{isFullscreen:0,click:1})}}function Sd(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class dl extends ke{constructor(e){super(),_e(this,e,null,Sd,ge,{})}}function Td(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class b1 extends ke{constructor(e){super(),_e(this,e,null,Td,ge,{})}}function Ad(i){Fe(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function As(i){let e;return{c(){e=k("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function Ed(i){let e,t,n,o,l=i[0]&&As();var s=i[6];function a(r){return{}}return s&&(n=fn(s,a())),{c(){l&&l.c(),e=N(),t=k("div"),n&&O(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[0])},m(r,c){l&&l.m(r,c),C(r,e,c),C(r,t,c),n&&z(n,t,null),o=!0},p(r,c){if(r[0]?l||(l=As(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),c&64&&s!==(s=r[6])){if(n){me();const f=n;p(f.$$.fragment,1,0,()=>{D(f,1)}),he()}s?(n=fn(s,a()),O(n.$$.fragment),m(n.$$.fragment,1),z(n,t,null)):n=null}(!o||c&1)&&V(t,"mobile",r[0])},i(r){o||(n&&m(n.$$.fragment,r),o=!0)},o(r){n&&p(n.$$.fragment,r),o=!1},d(r){r&&(y(e),y(t)),l&&l.d(r),n&&D(n)}}}function Vd(i){let e,t;return e=new mi({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-play",click:i[4]?i[8]:i[3],disabled:i[1],ariaLabel:i[5],ariaKeyShortCut:zo[He.KeyK],$$slots:{default:[Ed]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&5&&(l.className=(n[0]?"btn-m--play":"")+" "+n[2]),o&24&&(l.click=n[4]?n[8]:n[3]),o&2&&(l.disabled=n[1]),o&32&&(l.ariaLabel=n[5]),o&4161&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ld(i,e,t){let n,o;const{fakeIsPlaying$:l}=Nr();F(i,l,_=>t(11,o=_));let{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:r=!1}=e,{className:c=""}=e,{click:f=et}=e;const{toggle:h}=l;let g,v,b;return i.$$set=_=>{"isMobile"in _&&t(0,s=_.isMobile),"isPlaying"in _&&t(9,a=_.isPlaying),"disabled"in _&&t(1,r=_.disabled),"className"in _&&t(2,c=_.className),"click"in _&&t(3,f=_.click)},i.$$.update=()=>{i.$$.dirty&2048&&t(4,g=o!==null),i.$$.dirty&2576&&t(10,v=g?o:a),i.$$.dirty&1024&&t(5,b=U(v?"tooltip_pause":"tooltip_play")),i.$$.dirty&1024&&t(6,n=v?b1:dl)},[s,r,c,f,g,b,n,l,h,a,v,o]}class ml extends ke{constructor(e){super(),_e(this,e,Ld,Vd,ge,{isMobile:0,isPlaying:9,disabled:1,className:2,click:3},Ad)}}function Id(i){Fe(i,"v-mb3pjo",".prev.v-mb3pjo{transform:scaleX(-1)}.mobile.v-mb3pjo{transform:scale(1.3333)}.mobile.prev.v-mb3pjo{transform:scaleX(-1) scale(1.3333)}")}function Md(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),u(t,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(t,"fill","#fff"),u(e,"data-testid",n=i[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),V(e,"prev",i[0]),V(e,"mobile",i[1])},m(o,l){C(o,e,l),d(e,t)},p(o,[l]){l&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),l&1&&V(e,"prev",o[0]),l&2&&V(e,"mobile",o[1])},i:K,o:K,d(o){o&&y(e)}}}function Bd(i,e,t){let{isPrev:n=!1}=e,{isMobile:o=!1}=e;return i.$$set=l=>{"isPrev"in l&&t(0,n=l.isPrev),"isMobile"in l&&t(1,o=l.isMobile)},[n,o]}class Nd extends ke{constructor(e){super(),_e(this,e,Bd,Md,ge,{isPrev:0,isMobile:1},Id)}}function Rd(i){let e,t;return e=new Nd({props:{isMobile:i[0],isPrev:i[2]==="prev"}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isMobile=n[0]),o&4&&(l.isPrev=n[2]==="prev"),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function zd(i){let e,t;return e=new mi({props:{testId:"btn-"+i[2],disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[Rd]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&4&&(l.testId="btn-"+n[2]),o&2&&(l.disabled=n[1]),o&16&&(l.ariaLabel=n[4]),o&8&&(l.click=n[3]),o&37&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Dd(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{type:l}=e,{click:s}=e,a;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"disabled"in r&&t(1,o=r.disabled),"type"in r&&t(2,l=r.type),"click"in r&&t(3,s=r.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,a=U(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,l,s,a]}class Oo extends ke{constructor(e){super(),_e(this,e,Dd,zd,ge,{isMobile:0,disabled:1,type:2,click:3})}}function Od(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Hd extends ke{constructor(e){super(),_e(this,e,null,Od,ge,{})}}function Es(i){let e,t,n,o,l,s,a;return{c(){e=I("path"),t=I("path"),n=I("path"),o=I("path"),l=I("path"),s=I("path"),a=I("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(t,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(t,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"fill","white"),u(l,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(l,"fill","white"),u(s,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(s,"fill","white"),u(a,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(a,"fill","white")},m(r,c){C(r,e,c),C(r,t,c),C(r,n,c),C(r,o,c),C(r,l,c),C(r,s,c),C(r,a,c)},d(r){r&&(y(e),y(t),y(n),y(o),y(l),y(s),y(a))}}}function Fd(i){let e,t,n,o=!i[0]&&Es();return{c(){e=I("svg"),t=I("path"),o&&o.c(),u(t,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(t,"fill","white"),u(e,"width",i[1]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(i[1]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",i[2])},m(l,s){C(l,e,s),d(e,t),o&&o.m(e,null)},p(l,[s]){l[0]?o&&(o.d(1),o=null):o||(o=Es(),o.c(),o.m(e,null)),s&2&&u(e,"width",l[1]),s&2&&n!==(n="0 0 "+(l[1]+1)+" 20")&&u(e,"viewBox",n),s&4&&u(e,"data-testid",l[2])},i:K,o:K,d(l){l&&y(e),o&&o.d()}}}function Ud(i,e,t){let{short:n=!1}=e,o,l;return i.$$set=s=>{"short"in s&&t(0,n=s.short)},i.$$.update=()=>{i.$$.dirty&1&&(t(1,o=n?20:93),t(2,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,l]}class qd extends ke{constructor(e){super(),_e(this,e,Ud,Fd,ge,{short:0})}}function Wd(i){let e,t;return e=new Hd({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p:K,i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Zd(i){let e,t;return e=new qd({props:{short:i[3]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&8&&(l.short=n[3]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function jd(i){let e,t,n,o;const l=[Zd,Wd],s=[];function a(r,c){return r[1]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,c){let f=e;e=a(r),e===f?s[e].p(r,c):(me(),p(s[f],1,1,()=>{s[f]=null}),he(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function Gd(i){let e,t;return e=new mi({props:{className:"btn-full-opacity",disabled:!i[0],click:i[7],testId:i[1]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:i[2],$$slots:{default:[jd]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.disabled=!n[0]),o&2&&(l.testId=n[1]?"btn-vk-video-logo":"btn-vk-logo"),o&4&&(l.ariaLabel=n[2]),o&131082&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Kd(i,e,t){let n,o,l,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:r}=e;const c=Yi(),{logoLink:f,addTimeToLogoLink:h}=c,g=vt(),v=g.state.positionWithScrubbing$;F(i,v,R=>t(12,n=R));const b=g.ui.currentGridType$;F(i,b,R=>t(10,o=R));const _=g.ui.isMobile;F(i,_,R=>t(11,l=R));let L,A,S;const P=()=>{let R;if(A||!a)R=f;else{const W=Math.round(n);if(h&&W){const X=new URL(a);X.searchParams.append("t",J1(W)),R=X.toString()}else R=a}r(),window.open(R,"_blank")};return i.$$set=R=>{"logoClickable"in R&&t(0,s=R.logoClickable),"videoLogoUrl"in R&&t(8,a=R.videoLogoUrl),"click"in R&&t(9,r=R.click)},i.$$.update=()=>{i.$$.dirty&3074&&t(3,S=(l||p1(o,Ct.L))&&A)},t(2,L=c.logoType===xn.VK_VIDEO?U("tooltip_vk_video_logo"):U("tooltip_vk_logo")),t(1,A=c.logoType===xn.VK_VIDEO),[s,A,L,S,v,b,_,P,a,r,o,l]}class v1 extends ke{constructor(e){super(),_e(this,e,Kd,Gd,ge,{logoClickable:0,videoLogoUrl:8,click:9})}}function Yd(i){Fe(i,"v-8z1bf5",".connecting.v-8z1bf5 .wave.v-8z1bf5{animation-duration:1s;animation-iteration-count:infinite}.connecting.v-8z1bf5 .wave1.v-8z1bf5{animation-name:v-8z1bf5-wave1}.connecting.v-8z1bf5 .wave2.v-8z1bf5{animation-name:v-8z1bf5-wave2}.connecting.v-8z1bf5 .wave3.v-8z1bf5{animation-name:v-8z1bf5-wave3}@keyframes v-8z1bf5-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function Qd(i){let e,t,n,o,l,s,a,r;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),s=I("path"),a=I("path"),r=I("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(l,"class","wave wave3 v-8z1bf5"),u(l,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(l,"fill","#fff"),u(s,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(s,"fill","#fff"),u(a,"d","M0 0h24v24H0z"),u(r,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(r,"fill","#fff"),V(r,"hidden",!i[1]),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-icon"),u(e,"class","v-8z1bf5"),V(e,"connecting",i[2])},m(c,f){C(c,e,f),d(e,t),d(t,n),d(t,o),d(t,l),d(t,s),d(t,a),d(t,r)},p(c,f){f&2&&V(r,"hidden",!c[1]),f&4&&V(e,"connecting",c[2])},d(c){c&&y(e)}}}function Xd(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,A,S,P,R,W;return{c(){e=I("svg"),t=I("g"),n=I("mask"),o=I("path"),s=I("path"),a=I("path"),c=I("path"),f=I("defs"),h=I("clipPath"),g=I("path"),b=I("filter"),_=I("feFlood"),L=I("feColorMatrix"),A=I("feOffset"),S=I("feGaussianBlur"),P=I("feColorMatrix"),R=I("feBlend"),W=I("feBlend"),u(o,"fill",l=i[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(a,"fill-rule","evenodd"),u(a,"clip-rule","evenodd"),u(a,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(a,"fill",r=i[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(g,"fill",v=i[1]?"#2688EB":"#fff"),u(g,"d","M0 0h24v24H0z"),u(h,"id","a"),u(_,"flood-opacity","0"),u(_,"result","BackgroundImageFix"),u(L,"in","SourceAlpha"),u(L,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(L,"result","hardAlpha"),u(S,"stdDeviation","2.5"),u(P,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(R,"in2","BackgroundImageFix"),u(R,"result","effect1_dropShadow_4085_178456"),u(W,"in","SourceGraphic"),u(W,"in2","effect1_dropShadow_4085_178456"),u(W,"result","shape"),u(b,"id","b"),u(b,"x","-3.4"),u(b,"y","-1.4"),u(b,"width","30.8"),u(b,"height","26.802"),u(b,"filterUnits","userSpaceOnUse"),u(b,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(X,Z){C(X,e,Z),d(e,t),d(t,n),d(n,o),d(n,s),d(t,a),d(t,c),d(e,f),d(f,h),d(h,g),d(f,b),d(b,_),d(b,L),d(b,A),d(b,S),d(b,P),d(b,R),d(b,W)},p(X,Z){Z&2&&l!==(l=X[1]?"#2688EB":"#fff")&&u(o,"fill",l),Z&2&&r!==(r=X[1]?"#2688EB":"#fff")&&u(a,"fill",r),Z&2&&v!==(v=X[1]?"#2688EB":"#fff")&&u(g,"fill",v)},d(X){X&&y(e)}}}function Jd(i){let e;function t(l,s){return l[0]?Xd:Qd}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},m(l,s){o.m(l,s),C(l,e,s)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:K,o:K,d(l){l&&y(e),o.d(l)}}}function xd(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,l,s;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"state"in a&&t(3,o=a.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,s=o===cn.CONNECTING),t(1,l=o===cn.CONNECTED))},[n,l,s,o]}class $d extends ke{constructor(e){super(),_e(this,e,xd,Jd,ge,{isMobile:0,state:3},Yd)}}function e2(i){let e,t;return e=new $d({props:{isMobile:i[0],state:i[1]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isMobile=n[0]),o&2&&(l.state=n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function t2(i){let e,t;return e=new mi({props:{ariaLabel:i[3],click:i[2],testId:"btn-chromecast",$$slots:{default:[e2]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&8&&(l.ariaLabel=n[3]),o&4&&(l.click=n[2]),o&19&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function i2(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,{click:l=et}=e,s;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"state"in a&&t(1,o=a.state),"click"in a&&t(2,l=a.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,s=o===cn.CONNECTED?U("tooltip_chromecast_on"):U("tooltip_chromecast_off"))},[n,o,l,s]}class _1 extends ke{constructor(e){super(),_e(this,e,i2,t2,ge,{isMobile:0,state:1,click:2})}}function n2(i){let e,t;return e=new e1({props:{isActive:i[1]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.isActive=n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function o2(i){let e,t;return e=new mi({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1]&&i[3]===It.PLAYING,ariaLabel:i[2],click:i[4],$$slots:{default:[n2]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(l.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(l.disabled=n[1]&&n[3]===It.PLAYING),o&4&&(l.ariaLabel=n[2]),o&16&&(l.click=n[4]),o&514&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function l2(i,e,t){let n,{isMobile:o=!1}=e,{isActiveLive:l=!1}=e,{ariaLabel:s=""}=e;const a=vt(),r=a.state.playbackState$;F(i,r,g=>t(3,n=g));const c=a.actions.internal.switchToActiveLive,f=a.actions.internal.togglePlay;let h;return i.$$set=g=>{"isMobile"in g&&t(0,o=g.isMobile),"isActiveLive"in g&&t(1,l=g.isActiveLive),"ariaLabel"in g&&t(2,s=g.ariaLabel)},i.$$.update=()=>{i.$$.dirty&10&&t(4,h=()=>{if(!l){c();return}n===It.PAUSED&&f()})},[o,l,s,n,h,r]}class k1 extends ke{constructor(e){super(),_e(this,e,l2,o2,ge,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function s2(i){Fe(i,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function a2(i){let e,t,n,o;const l=i[9].default,s=wn(l,i,i[8],null);return{c(){e=k("div"),t=k("div"),s&&s.c(),u(t,"class","tooltip v-5ygsa2"),V(t,"active",i[0]),V(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(a,r){C(a,e,r),d(e,t),s&&s.m(t,null),i[10](t),i[11](e),o=!0},p(a,[r]){s&&s.p&&(!o||r&256)&&Cn(s,l,a,a[8],o?yn(l,a[8],r,null):Pn(a[8]),null),(!o||r&1)&&V(t,"active",a[0]),(!o||r&2)&&V(t,"pointer",a[1]),(!o||r&36&&n!==(n=`transform: translate(${a[5]}px, ${a[2]}px);`))&&u(e,"style",n)},i(a){o||(m(s,a),o=!0)},o(a){p(s,a),o=!1},d(a){a&&y(e),s&&s.d(a),i[10](null),i[11](null)}}}function r2(i,e,t){let n,{$$slots:o={},$$scope:l}=e,{active:s=!1}=e,{pointer:a=!1}=e,{translateXPx:r=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,h,g;function v(L){if(!g)return 0;const{width:A}=g.getBoundingClientRect(),S=A/2;return L<S?S:L>f-S?f-S:L}function b(L){We[L?"unshift":"push"](()=>{g=L,t(4,g)})}function _(L){We[L?"unshift":"push"](()=>{h=L,t(3,h)})}return i.$$set=L=>{"active"in L&&t(0,s=L.active),"pointer"in L&&t(1,a=L.pointer),"translateXPx"in L&&t(6,r=L.translateXPx),"translateYPx"in L&&t(2,c=L.translateYPx),"containerWidth"in L&&t(7,f=L.containerWidth),"$$scope"in L&&t(8,l=L.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=v(r))},[s,a,c,h,g,n,r,f,l,o,b,_]}class u2 extends ke{constructor(e){super(),_e(this,e,r2,a2,ge,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},s2)}}const w1=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function c2(i){Fe(i,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function Vs(i){let e;function t(l,s){return l[2]&&l[10].completed===!1?d2:f2}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},m(l,s){o.m(l,s),C(l,e,s)},p(l,s){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&y(e),o.d(l)}}}function f2(i){let e=(i[10].text||"")+"",t;return{c(){t=ze(e)},m(n,o){C(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&Xe(t,e)},d(n){n&&y(t)}}}function d2(i){let e=U("tooltip_episode_unfinished")+"",t;return{c(){t=ze(e)},m(n,o){C(n,t,o)},p:K,d(n){n&&y(t)}}}function m2(i){let e,t,n,o,l,s,a,r,c=i[10]&&Vs(i);return{c(){e=k("div"),t=k("div"),o=N(),l=k("div"),c&&c.c(),s=N(),a=k("div"),r=ze(i[0]),u(t,"class","preview v-l51fc1"),u(t,"style",n=`width: ${i[3]}px; height: ${i[4]}px; background-image: url(${i[5]}); background-size: ${i[6]}px ${i[7]}px; background-position: ${i[8]}px ${i[9]}px; transform: translateY(${i[11]%180?-35:0}px) rotate(${i[11]}deg);`),u(l,"class","episode v-l51fc1"),u(a,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),V(e,"mobile",i[1])},m(f,h){C(f,e,h),d(e,t),d(e,o),d(e,l),c&&c.m(l,null),d(e,s),d(e,a),d(a,r)},p(f,[h]){h&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(t,"style",n),f[10]?c?c.p(f,h):(c=Vs(f),c.c(),c.m(l,null)):c&&(c.d(1),c=null),h&1&&Xe(r,f[0]),h&2&&V(e,"mobile",f[1])},i:K,o:K,d(f){f&&y(e),c&&c.d()}}}const jn=150;function h2(i,e,t){let n,{time:o=""}=e,{isMobile:l=!1}=e,{videoEpisodes:s=[]}=e,{previewThumbsData:a}=e,{progress:r=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const g=vt().ui.rotateAlpha;F(i,g,Z=>t(11,n=Z));let v,b,_,L,A,S,P,R;function W(){let Z=a.frameWidth,T=a.frameHeight;return Z>jn?(T=T/Z*jn,Z=jn):T>jn&&(Z=Z/T*jn,T=jn),{width:Z,height:T}}function X(Z){let T;a.isUV?T=Math.floor(c*Z/a.frequency):T=Math.min(a.countTotal,Math.max(0,Math.floor(a.countTotal*Z)));const te=Math.floor(T/a.countPerImage),j=Math.floor(T%a.countPerImage/a.countPerRow),ie=T%a.countPerRow;let G=Math.floor(a.countPerImage/a.countPerRow);!a.isUV&&te===Math.floor(a.countTotal/a.countPerImage)&&(G=Math.floor(a.countTotal%a.countPerImage/a.countPerRow),a.countTotal%a.countPerImage%a.countPerRow>0&&G++);let J=a.countPerRow;!a.isUV&&te===Math.floor(a.countTotal/a.countPerImage)&&a.countTotal%a.countPerImage>0&&(J=Math.min(a.countPerRow,a.countTotal%a.countPerImage));const ue=v*J,w=b*G,oe=-ie*v,fe=-j*b;return{imgSrc:a.links[te],imgWidth:ue,imgHeight:w,imgOffsetX:oe,imgOffsetY:fe}}return i.$$set=Z=>{"time"in Z&&t(0,o=Z.time),"isMobile"in Z&&t(1,l=Z.isMobile),"videoEpisodes"in Z&&t(13,s=Z.videoEpisodes),"previewThumbsData"in Z&&t(14,a=Z.previewThumbsData),"progress"in Z&&t(15,r=Z.progress),"duration"in Z&&t(16,c=Z.duration),"isInteractive"in Z&&t(2,f=Z.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:_,imgWidth:L,imgHeight:A,imgOffsetX:S,imgOffsetY:P}=X(r),_,(t(6,L),t(15,r)),(t(7,A),t(15,r)),(t(8,S),t(15,r)),(t(9,P),t(15,r))),i.$$.dirty&106496&&t(10,R=w1(r,c,s))},t(3,{width:v,height:b}=W(),v,t(4,b)),[o,l,f,v,b,_,L,A,S,P,R,n,g,s,a,r,c]}class p2 extends ke{constructor(e){super(),_e(this,e,h2,m2,ge,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},c2)}}function g2(i){Fe(i,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function b2(i){let e,t;return{c(){e=k("span"),t=ze(i[7]),u(e,"class","time v-5lzly8")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o[0]&128&&Xe(t,n[7])},i:K,o:K,d(n){n&&y(e)}}}function v2(i){let e,t;return e=new p2({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&128&&(l.time=n[7]),o[0]&1024&&(l.isMobile=n[10]),o[0]&8&&(l.videoEpisodes=n[3]),o[0]&256&&(l.progress=n[8]),o[0]&2&&(l.duration=n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function _2(i){let e,t,n,o;const l=[v2,b2],s=[];function a(r,c){return r[14].features.timelinePreview&&r[21]&&!r[0]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,c){let f=e;e=a(r),e===f?s[e].p(r,c):(me(),p(s[f],1,1,()=>{s[f]=null}),he(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function k2(i){let e,t,n,o;const l=[i[9]];let s={$$slots:{default:[_2]},$$scope:{ctx:i}};for(let a=0;a<l.length;a+=1)s=yr(s,l[a]);return e=new u2({props:s}),n=new fl({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:U("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:U("aria_timeline_value",{position:i[5],duration:i[4]}),loadedProgress:i[12],filledProgress:i[6],handleProgress:i[6],videoEpisodes:i[3],onPointerDown:i[27],onHandleMove:i[28],onPointerMove:i[31],onPointerUp:i[29],onPointerEnter:i[30],onPointerLeave:i[32],isInteractive:i[23],disabled:i[13].has(ct.TIMELINE),hideHandel:i[2]}}),{c(){O(e.$$.fragment),t=N(),O(n.$$.fragment)},m(a,r){z(e,a,r),C(a,t,r),z(n,a,r),o=!0},p(a,r){const c=r[0]&512?wu(l,[yu(a[9])]):{};r[0]&1419|r[1]&65536&&(c.$$scope={dirty:r,ctx:a}),e.$set(c);const f={};r[0]&2048&&(f.isActiveLive=a[11]),r[0]&1024&&(f.isMobile=a[10]),r[0]&2&&(f.ariaValueMax=a[1]),r[0]&64&&(f.ariaValueNow=Math.round(a[6]*100)),r[0]&48&&(f.ariaValueText=U("aria_timeline_value",{position:a[5],duration:a[4]})),r[0]&4096&&(f.loadedProgress=a[12]),r[0]&64&&(f.filledProgress=a[6]),r[0]&64&&(f.handleProgress=a[6]),r[0]&8&&(f.videoEpisodes=a[3]),r[0]&8192&&(f.disabled=a[13].has(ct.TIMELINE)),r[0]&4&&(f.hideHandel=a[2]),n.$set(f)},i(a){o||(m(e.$$.fragment,a),m(n.$$.fragment,a),o=!0)},o(a){p(e.$$.fragment,a),p(n.$$.fragment,a),o=!1},d(a){a&&y(t),D(e,a),D(n,a)}}}function w2(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,{showTimeline:b=!1}=e;const _=vt(),L=Yi(),A=_.state.bufferedProgress$;F(i,A,be=>t(12,g=be));const S=_.state.positionWithScrubbing$;F(i,S,be=>t(39,r=be));const P=_.state.duration$;F(i,P,be=>t(1,l=be));const R=_.state.isLive$;F(i,R,be=>t(0,o=be));const W=_.state.isActiveLive$;F(i,W,be=>t(11,h=be));const X=_.ui.isMobile;F(i,X,be=>t(10,f=be));const Z=L.features.episodes?_.actions.internal.getVideoEpisodes():void 0,T=_.actions.internal.getPreviewThumbsData(),te=_.state.interactiveEpisodes$;F(i,te,be=>t(40,c=be));const j=_.state.isInteractive,ie=_.state.isInteractiveTime$;F(i,ie,be=>t(2,s=be));const G=_.state.isInteractiveExpectation$;F(i,G,be=>t(38,a=be));const J=_.actions.internal.correctSeekTimeToInteractive,ue=_.ui.controls.disabledControls$;F(i,ue,be=>t(13,v=be));let w,oe,fe,ve,Me=!1,Ee="",we=0,H=0,M=0,Y;function pe(be){return!J||!j?be:J(be*l)/l}function ee(be){_.actions.internal.startScrubbing(pe(be))}function B(be){s||_.actions.internal.progressScrubbing(pe(be))}function Q(be){_.actions.internal.completeScrubbing(pe(be)),t(34,Me=!1)}function Le(be,ae,Ue){x(be,ae,Ue),t(34,Me=!0)}function ye(be,ae,Ue){x(be,ae,Ue),t(34,Me=!0)}function Te(){t(34,Me=!1)}function x(be,ae,Ue){t(8,M=be),t(35,we=ae),Ue&&t(36,H=Ue),t(7,Ee=le(be))}function le(be){const ae=_n((o?1-be:be)*l);return o?`-${ae}`:ae}return i.$$set=be=>{"showTimeline"in be&&t(33,b=be.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,w=j?c:Z),i.$$.dirty[0]&2&&t(4,oe=_n(l)),i.$$.dirty[1]&256&&t(5,fe=_n(r)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,ve=r/l),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,Y=a||s),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:H,translateXPx:we,translateYPx:j&&T?-36:-16,active:Me&&b&&!Y,pointer:!L.features.timelinePreview||!T||o})},[o,l,s,w,oe,fe,ve,Ee,M,n,f,h,g,v,L,A,S,P,R,W,X,T,te,j,ie,G,ue,ee,B,Q,Le,ye,Te,b,Me,we,H,Y,a,r,c]}let y2=class extends ke{constructor(e){super(),_e(this,e,w2,k2,ge,{showTimeline:33},g2,[-1,-1])}};function C2(i){let e,t;return e=new fl({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:U("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.ariaValueMax=n[0]),o&8&&(l.ariaValueNow=Math.round(n[3]*100)),o&6&&(l.ariaValueText=U("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(l.filledProgress=n[3]),o&16&&(l.squareBorders=n[4]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function P2(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const a=vt().ui.isMobile;F(i,a,h=>t(4,n=h));let r,c,f;return i.$$set=h=>{"position"in h&&t(6,o=h.position),"duration"in h&&t(0,l=h.duration)},i.$$.update=()=>{i.$$.dirty&1&&t(1,r=_n(l)),i.$$.dirty&64&&t(2,c=_n(o)),i.$$.dirty&65&&t(3,f=o/l)},[l,r,c,f,n,a,o]}class y1 extends ke{constructor(e){super(),_e(this,e,P2,C2,ge,{position:6,duration:0})}}function S2(i){Fe(i,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function T2(i){let e;return{c(){e=k("div"),u(e,"class","timeline-stub v-1gqonyf"),V(e,"mobile",i[2])},m(t,n){C(t,e,n)},p(t,n){n&4&&V(e,"mobile",t[2])},i:K,o:K,d(t){t&&y(e)}}}function A2(i){let e,t,n,o;const l=[V2,E2],s=[];function a(r,c){return r[0]?0:1}return t=a(i),n=s[t]=l[t](i),{c(){e=k("div"),n.c(),u(e,"class","timeline v-1gqonyf"),V(e,"mobile",i[2])},m(r,c){C(r,e,c),s[t].m(e,null),o=!0},p(r,c){let f=t;t=a(r),t===f?s[t].p(r,c):(me(),p(s[f],1,1,()=>{s[f]=null}),he(),n=s[t],n?n.p(r,c):(n=s[t]=l[t](r),n.c()),m(n,1),n.m(e,null)),(!o||c&4)&&V(e,"mobile",r[2])},i(r){o||(m(n),o=!0)},o(r){p(n),o=!1},d(r){r&&y(e),s[t].d()}}}function E2(i){let e,t;return e=new y2({props:{showTimeline:i[1]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.showTimeline=n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function V2(i){let e,t;return e=new y1({props:{position:i[3],duration:i[4]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&8&&(l.position=n[3]),o&16&&(l.duration=n[4]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function L2(i){let e,t,n,o;const l=[A2,T2],s=[];function a(r,c){return r[1]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,[c]){let f=e;e=a(r),e===f?s[e].p(r,c):(me(),p(s[f],1,1,()=>{s[f]=null}),he(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function I2(i,e,t){let n,o,l,s,{isAds:a=!1}=e,{canRewindLive:r}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const h=vt(),g=h.state.isLive$;F(i,g,A=>t(12,n=A));const v=h.ads.duration;F(i,v,A=>t(4,s=A));const b=h.ads.position;F(i,b,A=>t(3,l=A));const _=h.ui.isMobile;F(i,_,A=>t(2,o=A));let L;return i.$$set=A=>{"isAds"in A&&t(0,a=A.isAds),"canRewindLive"in A&&t(9,r=A.canRewindLive),"isRewindableLive"in A&&t(10,c=A.isRewindableLive),"isHidden"in A&&t(11,f=A.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,L=!f&&(!n||n&&r&&c||a))},[a,L,o,l,s,g,v,b,_,r,c,f,n]}class C1 extends ke{constructor(e){super(),_e(this,e,I2,L2,ge,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},S2)}}function M2(i){let e,t,n,o;return{c(){e=I("svg"),t=I("path"),n=I("path"),o=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(o,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),At(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(l,s){C(l,e,s),d(e,t),d(e,n),d(e,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class B2 extends ke{constructor(e){super(),_e(this,e,null,M2,ge,{})}}function N2(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"opacity",".7"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(t,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class R2 extends ke{constructor(e){super(),_e(this,e,null,N2,ge,{})}}function z2(i){Fe(i,"v-1yhs2ga",".text.v-1yhs2ga{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text.count.v-1yhs2ga{overflow:visible}.text.mobile.v-1yhs2ga{padding:0 3px 0 4px}.chevron-episodes.v-1yhs2ga{margin-bottom:-4px}")}function D2(i){let e,t,n,o;e=new B2({});function l(r,c){if(r[2]===On.FULL)return F2;if(r[2]===On.COUNT)return H2}let s=l(i),a=s&&s(i);return{c(){O(e.$$.fragment),t=N(),a&&a.c(),n=ht()},m(r,c){z(e,r,c),C(r,t,c),a&&a.m(r,c),C(r,n,c),o=!0},p(r,c){s===(s=l(r))&&a?a.p(r,c):(a&&a.d(1),a=s&&s(r),a&&(a.c(),a.m(n.parentNode,n)))},i(r){o||(m(e.$$.fragment,r),o=!0)},o(r){p(e.$$.fragment,r),o=!1},d(r){r&&(y(t),y(n)),D(e,r),a&&a.d(r)}}}function O2(i){let e,t,n,o,l,s;return l=new R2({}),{c(){e=k("span"),t=ze(i[1]),n=N(),o=k("div"),O(l.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(a,r){C(a,e,r),d(e,t),C(a,n,r),C(a,o,r),z(l,o,null),s=!0},p(a,r){(!s||r&2)&&Xe(t,a[1])},i(a){s||(m(l.$$.fragment,a),s=!0)},o(a){p(l.$$.fragment,a),s=!1},d(a){a&&(y(e),y(n),y(o)),D(l)}}}function H2(i){let e,t=i[0].length+"",n;return{c(){e=k("span"),n=ze(t),u(e,"class","text count v-1yhs2ga")},m(o,l){C(o,e,l),d(e,n)},p(o,l){l&1&&t!==(t=o[0].length+"")&&Xe(n,t)},d(o){o&&y(e)}}}function F2(i){let e,t;return{c(){e=k("span"),t=ze(i[1]),u(e,"class","text v-1yhs2ga")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&2&&Xe(t,n[1])},d(n){n&&y(e)}}}function U2(i){let e,t,n,o;const l=[O2,D2],s=[];function a(r,c){return r[4]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,c){let f=e;e=a(r),e===f?s[e].p(r,c):(me(),p(s[f],1,1,()=>{s[f]=null}),he(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function q2(i){let e,t;return e=new mi({props:{className:"w-max btn-full-opacity "+(i[4]?"px-0":""),testId:"btn-episodes",click:i[5],disabled:!i[6],ariaLabel:i[3],$$slots:{default:[U2]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&16&&(l.className="w-max btn-full-opacity "+(n[4]?"px-0":"")),o&8&&(l.ariaLabel=n[3]),o&65559&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function W2(i,e,t){let n,o,l,s,{position:a=0}=e,{duration:r=0}=e,{timeCodes:c=[]}=e;const f=vt(),h=f.callbacks?.onEpisodeChanged??et,g=f.callbacks?.onEpisodeClicked??et,v=!!f.callbacks?.onEpisodeClicked,b=f.ui.currentGridType$;F(i,b,P=>t(13,l=P));const _=f.ui.isMobile;F(i,_,P=>t(4,s=P));let L,A,S;return i.$$set=P=>{"position"in P&&t(9,a=P.position),"duration"in P&&t(10,r=P.duration),"timeCodes"in P&&t(0,c=P.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&1536&&t(12,n=a/r),i.$$.dirty&7169){const P=w1(n,r,c);P&&L?.text!==P.text&&(h(P),t(11,L=P))}i.$$.dirty&2048&&t(1,o=L?.text||""),i.$$.dirty&8192&&(on(l,Ct.XL)?t(2,A=On.FULL):on(l,Ct.M)&&ud(l,Ct.XL)?t(2,A=On.COUNT):t(2,A=On.SHORT)),i.$$.dirty&2&&t(3,S=`${U("tooltip_episodes")}: ${o}`)},[c,o,A,S,s,g,v,b,_,a,r,L,n,l]}class P1 extends ke{constructor(e){super(),_e(this,e,W2,q2,ge,{position:9,duration:10,timeCodes:0},z2)}}function Z2(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(t,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,l){C(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class j2 extends ke{constructor(e){super(),_e(this,e,null,Z2,ge,{})}}function G2(i){let e,t;return e=new j2({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function K2(i){let e,t;return e=new mi({props:{className:i[0]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:U("tooltip_interactive_seek"),disabled:i[1],click:i[2],$$slots:{default:[G2]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"hidden":""),o&2&&(l.disabled=n[1]),o&4&&(l.click=n[2]),o&8&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Y2(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=s=>{"hidden"in s&&t(0,n=s.hidden),"disabled"in s&&t(1,o=s.disabled),"click"in s&&t(2,l=s.click)},[n,o,l]}class S1 extends ke{constructor(e){super(),_e(this,e,Y2,K2,ge,{hidden:0,disabled:1,click:2})}}function Q2(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),V(n,"hidden",!i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){C(o,e,l),d(e,t),d(e,n)},p(o,[l]){l&1&&V(n,"hidden",!o[0])},i:K,o:K,d(o){o&&y(e)}}}function X2(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class J2 extends ke{constructor(e){super(),_e(this,e,X2,Q2,ge,{isOpened:0})}}function x2(i){let e,t;return e=new J2({props:{isOpened:i[2]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&4&&(l.isOpened=n[2]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function $2(i){let e,t;return e=new mi({props:{className:i[0]?"hidden":"",testId:"btn-graph",disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[x2]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"hidden":""),o&2&&(l.disabled=n[1]),o&16&&(l.ariaLabel=n[4]),o&8&&(l.click=n[3]),o&36&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function e4(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{graphIsOpened:l=!1}=e,{click:s}=e,a;return i.$$set=r=>{"hidden"in r&&t(0,n=r.hidden),"disabled"in r&&t(1,o=r.disabled),"graphIsOpened"in r&&t(2,l=r.graphIsOpened),"click"in r&&t(3,s=r.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,a=U(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,l,s,a]}class T1 extends ke{constructor(e){super(),_e(this,e,e4,$2,ge,{hidden:0,disabled:1,graphIsOpened:2,click:3})}}function t4(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class i4 extends ke{constructor(e){super(),_e(this,e,null,t4,ge,{})}}function n4(i){Fe(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Ls(i){let e;return{c(){e=k("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function o4(i){let e,t,n,o,l=i[0]&&Ls();return n=new i4({}),{c(){l&&l.c(),e=N(),t=k("div"),O(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[0])},m(s,a){l&&l.m(s,a),C(s,e,a),C(s,t,a),z(n,t,null),o=!0},p(s,a){s[0]?l||(l=Ls(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),(!o||a&1)&&V(t,"mobile",s[0])},i(s){o||(m(n.$$.fragment,s),o=!0)},o(s){p(n.$$.fragment,s),o=!1},d(s){s&&(y(e),y(t)),l&&l.d(s),D(n)}}}function l4(i){let e,t;return e=new mi({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-replay",ariaLabel:U("tooltip_restart"),disabled:i[1],click:i[3],$$slots:{default:[o4]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&5&&(l.className=(n[0]?"btn-m--play":"")+" "+n[2]),o&2&&(l.disabled=n[1]),o&8&&(l.click=n[3]),o&17&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function s4(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{className:l=""}=e,{click:s=et}=e;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"disabled"in a&&t(1,o=a.disabled),"className"in a&&t(2,l=a.className),"click"in a&&t(3,s=a.click)},[n,o,l,s]}class hl extends ke{constructor(e){super(),_e(this,e,s4,l4,ge,{isMobile:0,disabled:1,className:2,click:3},n4)}}function a4(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class r4 extends ke{constructor(e){super(),_e(this,e,null,a4,ge,{})}}function u4(i){let e,t;return e=new r4({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function c4(i){let e,t;return e=new mi({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:U("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[u4]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"hidden":""),o&2&&(l.disabled=n[1]),o&4&&(l.click=n[2]),o&8&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function f4(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=s=>{"hidden"in s&&t(0,n=s.hidden),"disabled"in s&&t(1,o=s.disabled),"click"in s&&t(2,l=s.click)},[n,o,l]}class A1 extends ke{constructor(e){super(),_e(this,e,f4,c4,ge,{hidden:0,disabled:1,click:2})}}function d4(i){Fe(i,"v-1x1zctw",".icon.v-1x1zctw{width:24px !important;height:24px !important;;}.error-stub.v-1x1zctw{display:flex;justify-content:center;align-items:center}.inner.v-1x1zctw{width:16px;height:16px;background-color:var(--white)}")}function m4(i){let e,t,n,o;return{c(){e=k("img"),u(e,"class","icon v-1x1zctw"),_l(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(l,s){C(l,e,s),n||(o=Ae(e,"error",i[7]),n=!0)},p(l,s){s&1&&!_l(e.src,t=l[0])&&u(e,"src",t)},d(l){l&&y(e),n=!1,o()}}}function h4(i){let e;return{c(){e=k("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(t,n){C(t,e,n)},p:K,d(t){t&&y(e)}}}function p4(i){let e;function t(l,s){return l[5]?h4:m4}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},m(l,s){o.m(l,s),C(l,e,s)},p(l,s){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&y(e),o.d(l)}}}function g4(i){let e,t;return e=new mi({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[p4]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&16&&(l.className=n[4]?"btn-full-opacity":""),o&2&&(l.ariaLabel=n[1]),o&8&&(l.click=n[3]),o&64&&(l.disabled=n[6]),o&4&&(l.testId=n[2]),o&545&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function b4(i,e,t){let n,o,l,{iconUrl:s}=e,{ariaLabel:a}=e,{disabled:r=!1}=e,{testId:c}=e,{onClick:f=et}=e;const h=()=>{t(5,l=!0)};return i.$$set=g=>{"iconUrl"in g&&t(0,s=g.iconUrl),"ariaLabel"in g&&t(1,a=g.ariaLabel),"disabled"in g&&t(8,r=g.disabled),"testId"in g&&t(2,c=g.testId),"onClick"in g&&t(3,f=g.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===et),i.$$.dirty&272&&t(6,o=n||r)},t(5,l=!1),[s,a,c,f,n,l,o,h,r]}class E1 extends ke{constructor(e){super(),_e(this,e,b4,g4,ge,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},d4)}}function v4(i){Fe(i,"v-st0uzk",".wrapper-bottom.v-st0uzk.v-st0uzk{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-st0uzk>.v-st0uzk{pointer-events:auto}.controls.v-st0uzk.v-st0uzk{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-st0uzk.v-st0uzk,.controls-right.v-st0uzk.v-st0uzk{display:flex;align-content:center}.controls-left.v-st0uzk.v-st0uzk{flex-grow:1;min-width:0;overflow:hidden}.controls-left.v-st0uzk > *:not(:first-child),.controls-right.v-st0uzk > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-st0uzk.v-st0uzk{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-st0uzk.v-st0uzk{transition:none}.settings-menu.v-st0uzk.v-st0uzk{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function Is(i,e,t){const n=i.slice();return n[163]=e[t].iconUrl,n[164]=e[t].ariaLabel,n[165]=e[t].testId,n[166]=e[t].onClick,n[167]=e[t].tooltip,n}function Ms(i){let e,t,n;function o(s){i[134](s)}let l={disabled:!i[9],tooltipContent:U("tooltip_previous"),$$slots:{default:[_4]},$$scope:{ctx:i}};return i[30]!==void 0&&(l.width=i[30]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&512&&(r.disabled=!s[9]),a[0]&4608|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[0]&1073741824&&(t=!0,r.width=s[30],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function _4(i){let e,t;return e=new Oo({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4096&&(l.click=n[12]),o[0]&512&&(l.disabled=!n[9]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Bs(i){let e,t,n;function o(s){i[135](s)}let l={disabled:i[66],tooltipContent:U("tooltip_restart"),$$slots:{default:[k4]},$$scope:{ctx:i}};return i[31]!==void 0&&(l.width=i[31]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&16&&(r.disabled=s[66]),a[2]&16|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&1&&(t=!0,r.width=s[31],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function k4(i){let e,t;return e=new hl({props:{click:i[112],disabled:i[66]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[2]&16&&(l.disabled=n[66]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ns(i){let e,t,n;function o(s){i[136](s)}let l={tooltipContent:i[57],disabled:i[67],$$slots:{default:[w4]},$$scope:{ctx:i}};return i[32]!==void 0&&(l.width=i[32]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&67108864&&(r.tooltipContent=s[57]),a[2]&32&&(r.disabled=s[67]),a[1]&2097152|a[2]&32|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&2&&(t=!0,r.width=s[32],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function w4(i){let e,t;return e=new ml({props:{isMobile:!1,isPlaying:i[52],click:i[77],disabled:i[67]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&2097152&&(l.isPlaying=n[52]),o[2]&32&&(l.disabled=n[67]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Rs(i){let e,t,n;function o(s){i[137](s)}let l={disabled:!i[8],tooltipContent:U("tooltip_next"),$$slots:{default:[y4]},$$scope:{ctx:i}};return i[33]!==void 0&&(l.width=i[33]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&256&&(r.disabled=!s[8]),a[0]&2304|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&4&&(t=!0,r.width=s[33],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function y4(i){let e,t;return e=new Oo({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&2048&&(l.click=n[11]),o[0]&256&&(l.disabled=!n[8]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function C4(i){let e,t,n,o,l=i[107]&&P4(i),s=i[106]&&T4(i),a=i[105]&&E4(i);return{c(){l&&l.c(),e=N(),s&&s.c(),t=N(),a&&a.c(),n=ht()},m(r,c){l&&l.m(r,c),C(r,e,c),s&&s.m(r,c),C(r,t,c),a&&a.m(r,c),C(r,n,c),o=!0},p(r,c){r[107]&&l.p(r,c),r[106]&&s.p(r,c),r[105]&&a.p(r,c)},i(r){o||(m(l),m(s),m(a),o=!0)},o(r){p(l),p(s),p(a),o=!1},d(r){r&&(y(e),y(t),y(n)),l&&l.d(r),s&&s.d(r),a&&a.d(r)}}}function P4(i){let e,t,n;function o(s){i[138](s)}let l={disabled:i[65],tooltipContent:U("tooltip_interactive_go_back"),disabledTooltipContent:i[109]&&U(i[109]),$$slots:{default:[S4]},$$scope:{ctx:i}};return i[34]!==void 0&&(l.width=i[34]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&8&&(r.disabled=s[65]),a[0]&131072|a[2]&8|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&8&&(t=!0,r.width=s[34],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function S4(i){let e,t;return e=new A1({props:{disabled:i[65],click:i[17]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[2]&8&&(l.disabled=n[65]),o[0]&131072&&(l.click=n[17]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function T4(i){let e,t,n;function o(s){i[139](s)}let l={disabled:i[68],tooltipContent:U("tooltip_interactive_seek"),$$slots:{default:[A4]},$$scope:{ctx:i}};return i[35]!==void 0&&(l.width=i[35]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&64&&(r.disabled=s[68]),a[0]&32768|a[2]&64|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&16&&(t=!0,r.width=s[35],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function A4(i){let e,t;return e=new S1({props:{disabled:i[68],click:i[15]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[2]&64&&(l.disabled=n[68]),o[0]&32768&&(l.click=n[15]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function E4(i){let e,t,n;function o(s){i[140](s)}let l={tooltipContent:i[58],disabled:i[69],$$slots:{default:[V4]},$$scope:{ctx:i}};return i[36]!==void 0&&(l.width=i[36]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&134217728&&(r.tooltipContent=s[58]),a[2]&128&&(r.disabled=s[69]),a[0]&65536|a[1]&524288|a[2]&128|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&32&&(t=!0,r.width=s[36],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function V4(i){let e,t;return e=new T1({props:{click:i[16],graphIsOpened:i[50],disabled:i[69]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&65536&&(l.click=n[16]),o[1]&524288&&(l.graphIsOpened=n[50]),o[2]&128&&(l.disabled=n[69]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function zs(i){let e,t,n;function o(s){i[141](s)}let l={tooltipContent:i[59],$$slots:{default:[L4]},$$scope:{ctx:i}};return i[37]!==void 0&&(l.width=i[37]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&268435456&&(r.tooltipContent=s[59]),a[0]&268435456|a[1]&268435456|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&64&&(t=!0,r.width=s[37],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function L4(i){let e,t;return e=new k1({props:{isActiveLive:i[28],isMobile:!1,ariaLabel:i[59]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&268435456&&(l.isActiveLive=n[28]),o[1]&268435456&&(l.ariaLabel=n[59]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ds(i){let e,t,n;function o(s){i[142](s)}let l={isMobile:!1,showDuration:i[64],position:i[4]?i[71]:i[72],duration:i[4]?i[73]:i[74]};return i[38]!==void 0&&(l.width=i[38]),e=new m1({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&4&&(r.showDuration=s[64]),a[0]&16|a[2]&1536&&(r.position=s[4]?s[71]:s[72]),a[0]&16|a[2]&6144&&(r.duration=s[4]?s[73]:s[74]),!t&&a[1]&128&&(t=!0,r.width=s[38],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function Os(i){let e,t;return e=new P1({props:{position:i[72],duration:i[74],timeCodes:i[92]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[2]&1024&&(l.position=n[72]),o[2]&4096&&(l.duration=n[74]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function I4(i){let e,t,n=i[27]&&Os(i);return{c(){n&&n.c(),e=ht()},m(o,l){n&&n.m(o,l),C(o,e,l),t=!0},p(o,l){o[27]?n?(n.p(o,l),l[0]&134217728&&m(n,1)):(n=Os(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(me(),p(n,1,1,()=>{n=null}),he())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function M4(i){let e,t;return e=new E1({props:{iconUrl:i[163],ariaLabel:i[164]??i[167],testId:i[165],onClick:i[166]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&32768&&(l.iconUrl=n[163]),o[1]&32768&&(l.ariaLabel=n[164]??n[167]),o[1]&32768&&(l.testId=n[165]),o[1]&32768&&(l.onClick=n[166]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Hs(i){let e,t;return e=new Bt({props:{tooltipContent:i[167],width:40,$$slots:{default:[M4]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&32768&&(l.tooltipContent=n[167]),o[1]&32768|o[5]&32768&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Fs(i){let e,t,n;function o(s){i[145](s)}let l={disabled:!i[6],tooltipContent:i[60],$$slots:{default:[B4]},$$scope:{ctx:i}};return i[40]!==void 0&&(l.width=i[40]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&64&&(r.disabled=!s[6]),a[1]&536870912&&(r.tooltipContent=s[60]),a[0]&192|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&512&&(t=!0,r.width=s[40],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function B4(i){let e,t;return e=new v1({props:{click:i[78],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&64&&(l.logoClickable=n[6]),o[0]&128&&(l.videoLogoUrl=n[7]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function N4(i){let e,t;return e=new gd({props:{isAudioAvailable:i[70],click:i[111]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[2]&256&&(l.isAudioAvailable=n[70]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Us(i){let e,t,n;function o(s){i[147](s)}let l={tooltipContent:i[61],$$slots:{default:[R4]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&1073741824&&(r.tooltipContent=s[61]),a[0]&262144|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&2048&&(t=!0,r.width=s[42],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function R4(i){let e,t;return e=new T0({props:{isSubtitlesEnabled:i[18],click:i[79]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&262144&&(l.isSubtitlesEnabled=n[18]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function qs(i){let e,t,n;return t=new d1({props:{supportLink:i[10],playerControlsHeight:i[56]?.clientHeight,returnFocus:i[14]}}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&1024&&(s.supportLink=o[10]),l[1]&33554432&&(s.playerControlsHeight=o[56]?.clientHeight),l[0]&16384&&(s.returnFocus=o[14]),t.$set(s)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Ws(i){let e,t,n;function o(s){i[148](s)}let l={tooltipContent:i[76]?void 0:U("tooltip_settings_off"),$$slots:{default:[z4]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&16384&&(r.tooltipContent=s[76]?void 0:U("tooltip_settings_off")),a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&4096&&(t=!0,r.width=s[43],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function z4(i){let e,t;return e=new cl({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Zs(i){let e,t,n;function o(s){i[149](s)}let l={tooltipContent:i[62],$$slots:{default:[D4]},$$scope:{ctx:i}};return i[44]!==void 0&&(l.width=i[44]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&1&&(r.tooltipContent=s[62]),a[0]&8192|a[1]&262144|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&8192&&(t=!0,r.width=s[44],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function D4(i){let e,t;return e=new g1({props:{click:i[13],isFullscreen:i[49]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8192&&(l.click=n[13]),o[1]&262144&&(l.isFullscreen=n[49]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function js(i){let e,t,n;function o(s){i[150](s)}let l={tooltipContent:i[63],$$slots:{default:[O4]},$$scope:{ctx:i}};return i[45]!==void 0&&(l.width=i[45]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&2&&(r.tooltipContent=s[63]),a[1]&131072|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&16384&&(t=!0,r.width=s[45],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function O4(i){let e,t;return e=new _1({props:{isMobile:!1,state:i[48],click:i[110]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&131072&&(l.state=n[48]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function H4(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,A,S,P,R,W,X,Z,T,te,j,ie;t=new C1({props:{isHidden:!i[55],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[51]}});let G=i[54]&&Ms(i),J=i[19]&&Bs(i),ue=i[20]&&Ns(i),w=i[53]&&Rs(i),oe=i[104]&&C4(i),fe=!i[4]&&i[47]&&zs(i),ve=i[26]&&Ds(i);function Me(x){i[143](x)}let Ee={className:"w-max",disabled:!i[27],tooltipContent:U("tooltip_episodes"),$$slots:{default:[I4]},$$scope:{ctx:i}};i[39]!==void 0&&(Ee.width=i[39]),v=new Bt({props:Ee}),We.push(()=>bt(v,"width",Me));let we=Mt(i[46]),H=[];for(let x=0;x<we.length;x+=1)H[x]=Hs(Is(i,we,x));const M=x=>p(H[x],1,1,()=>{H[x]=null});let Y=i[24]&&Fs(i);function pe(x){i[146](x)}let ee={$$slots:{default:[N4]},$$scope:{ctx:i}};i[41]!==void 0&&(ee.width=i[41]),R=new Bt({props:ee}),We.push(()=>bt(R,"width",pe));let B=i[22]&&Us(i),Q=!i[75]&&!i[4]&&qs(i),Le=i[23]&&Ws(i),ye=i[25]&&Zs(i),Te=i[21]&&js(i);return{c(){e=k("div"),O(t.$$.fragment),n=N(),o=k("div"),l=k("div"),G&&G.c(),s=N(),J&&J.c(),a=N(),ue&&ue.c(),r=N(),w&&w.c(),c=N(),oe&&oe.c(),f=N(),fe&&fe.c(),h=N(),ve&&ve.c(),g=N(),O(v.$$.fragment),L=N(),A=k("div");for(let x=0;x<H.length;x+=1)H[x].c();S=N(),Y&&Y.c(),P=N(),O(R.$$.fragment),X=N(),B&&B.c(),Z=N(),Q&&Q.c(),T=N(),Le&&Le.c(),te=N(),ye&&ye.c(),j=N(),Te&&Te.c(),u(l,"class","controls-left v-st0uzk"),Hn(()=>i[144].call(l)),u(A,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),V(e,"hidden",i[1]),V(e,"controls-hidden",!i[3]),V(e,"no-smooth",i[2])},m(x,le){C(x,e,le),z(t,e,null),d(e,n),d(e,o),d(o,l),G&&G.m(l,null),d(l,s),J&&J.m(l,null),d(l,a),ue&&ue.m(l,null),d(l,r),w&&w.m(l,null),d(l,c),oe&&oe.m(l,null),d(l,f),fe&&fe.m(l,null),d(l,h),ve&&ve.m(l,null),d(l,g),z(v,l,null),_=No(l,i[144].bind(l)),d(o,L),d(o,A);for(let be=0;be<H.length;be+=1)H[be]&&H[be].m(A,null);d(A,S),Y&&Y.m(A,null),d(A,P),z(R,A,null),d(A,X),B&&B.m(A,null),d(A,Z),Q&&Q.m(A,null),d(A,T),Le&&Le.m(A,null),d(A,te),ye&&ye.m(A,null),d(A,j),Te&&Te.m(A,null),i[151](o),i[152](e),ie=!0},p(x,le){const be={};le[1]&16777216&&(be.isHidden=!x[55]),le[0]&16&&(be.isAds=x[4]),le[0]&32&&(be.canRewindLive=x[5]),le[1]&1048576&&(be.isRewindableLive=x[51]),t.$set(be),x[54]?G?(G.p(x,le),le[1]&8388608&&m(G,1)):(G=Ms(x),G.c(),m(G,1),G.m(l,s)):G&&(me(),p(G,1,1,()=>{G=null}),he()),x[19]?J?(J.p(x,le),le[0]&524288&&m(J,1)):(J=Bs(x),J.c(),m(J,1),J.m(l,a)):J&&(me(),p(J,1,1,()=>{J=null}),he()),x[20]?ue?(ue.p(x,le),le[0]&1048576&&m(ue,1)):(ue=Ns(x),ue.c(),m(ue,1),ue.m(l,r)):ue&&(me(),p(ue,1,1,()=>{ue=null}),he()),x[53]?w?(w.p(x,le),le[1]&4194304&&m(w,1)):(w=Rs(x),w.c(),m(w,1),w.m(l,c)):w&&(me(),p(w,1,1,()=>{w=null}),he()),x[104]&&oe.p(x,le),!x[4]&&x[47]?fe?(fe.p(x,le),le[0]&16|le[1]&65536&&m(fe,1)):(fe=zs(x),fe.c(),m(fe,1),fe.m(l,h)):fe&&(me(),p(fe,1,1,()=>{fe=null}),he()),x[26]?ve?(ve.p(x,le),le[0]&67108864&&m(ve,1)):(ve=Ds(x),ve.c(),m(ve,1),ve.m(l,g)):ve&&(me(),p(ve,1,1,()=>{ve=null}),he());const ae={};if(le[0]&134217728&&(ae.disabled=!x[27]),le[0]&134217728|le[2]&5120|le[5]&32768&&(ae.$$scope={dirty:le,ctx:x}),!b&&le[1]&256&&(b=!0,ae.width=x[39],gt(()=>b=!1)),v.$set(ae),le[1]&32768){we=Mt(x[46]);let qe;for(qe=0;qe<we.length;qe+=1){const Je=Is(x,we,qe);H[qe]?(H[qe].p(Je,le),m(H[qe],1)):(H[qe]=Hs(Je),H[qe].c(),m(H[qe],1),H[qe].m(A,S))}for(me(),qe=we.length;qe<H.length;qe+=1)M(qe);he()}x[24]?Y?(Y.p(x,le),le[0]&16777216&&m(Y,1)):(Y=Fs(x),Y.c(),m(Y,1),Y.m(A,P)):Y&&(me(),p(Y,1,1,()=>{Y=null}),he());const Ue={};le[2]&256|le[5]&32768&&(Ue.$$scope={dirty:le,ctx:x}),!W&&le[1]&1024&&(W=!0,Ue.width=x[41],gt(()=>W=!1)),R.$set(Ue),x[22]?B?(B.p(x,le),le[0]&4194304&&m(B,1)):(B=Us(x),B.c(),m(B,1),B.m(A,Z)):B&&(me(),p(B,1,1,()=>{B=null}),he()),!x[75]&&!x[4]?Q?(Q.p(x,le),le[0]&16|le[2]&8192&&m(Q,1)):(Q=qs(x),Q.c(),m(Q,1),Q.m(A,T)):Q&&(me(),p(Q,1,1,()=>{Q=null}),he()),x[23]?Le?(Le.p(x,le),le[0]&8388608&&m(Le,1)):(Le=Ws(x),Le.c(),m(Le,1),Le.m(A,te)):Le&&(me(),p(Le,1,1,()=>{Le=null}),he()),x[25]?ye?(ye.p(x,le),le[0]&33554432&&m(ye,1)):(ye=Zs(x),ye.c(),m(ye,1),ye.m(A,j)):ye&&(me(),p(ye,1,1,()=>{ye=null}),he()),x[21]?Te?(Te.p(x,le),le[0]&2097152&&m(Te,1)):(Te=js(x),Te.c(),m(Te,1),Te.m(A,null)):Te&&(me(),p(Te,1,1,()=>{Te=null}),he()),(!ie||le[0]&2)&&V(e,"hidden",x[1]),(!ie||le[0]&8)&&V(e,"controls-hidden",!x[3]),(!ie||le[0]&4)&&V(e,"no-smooth",x[2])},i(x){if(!ie){m(t.$$.fragment,x),m(G),m(J),m(ue),m(w),m(oe),m(fe),m(ve),m(v.$$.fragment,x);for(let le=0;le<we.length;le+=1)m(H[le]);m(Y),m(R.$$.fragment,x),m(B),m(Q),m(Le),m(ye),m(Te),ie=!0}},o(x){p(t.$$.fragment,x),p(G),p(J),p(ue),p(w),p(oe),p(fe),p(ve),p(v.$$.fragment,x),H=H.filter(Boolean);for(let le=0;le<H.length;le+=1)p(H[le]);p(Y),p(R.$$.fragment,x),p(B),p(Q),p(Le),p(ye),p(Te),ie=!1},d(x){x&&y(e),D(t),G&&G.d(),J&&J.d(),ue&&ue.d(),w&&w.d(),oe&&oe.d(),fe&&fe.d(),ve&&ve.d(),D(v),_(),sn(H,x),Y&&Y.d(),D(R),B&&B.d(),Q&&Q.d(),Le&&Le.d(),ye&&ye.d(),Te&&Te.d(),i[151](null),i[152](null)}}}function F4(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,L,A,S,P,R,W,X,Z,T,te,j,ie,G,J,ue,w,oe,{bottomHidden:fe}=e,{bottomNoSmooth:ve}=e,{showControls:Me}=e,{controlsElementRef:Ee=void 0}=e,{isAds:we=!1}=e,{canRewindLive:H}=e,{logoClickable:M}=e,{logoHidden:Y}=e,{videoLogoUrl:pe}=e,{showNextPrevButtons:ee}=e,{nextButtonActive:B}=e,{prevButtonActive:Q}=e,{isOneVideoPlaylist:Le=!1}=e,{supportLink:ye}=e,{customFullscreenSupported:Te=!0}=e,{playNextVideo:x}=e,{playPrevVideo:le}=e,{repeatPlaylist:be}=e,{toggleFullscreen:ae}=e,{returnFocus:Ue}=e,{seekToInteractive:qe}=e,{toggleGraph:Je}=e,{playPrevChapter:tt}=e;const Ne=vt(),at=Yi(),St=Ne.actions.internal.toggleMuted,Be=Ne.actions.internal.togglePlay,Ve=Ne.actions.internal.pause,kt=Ne.actions.internal.toggleSubtitle,Ot=Ne.callbacks?.onAudioDoesNotExistHint,mt=Ne.callbacks?.onAudioDisabledHint,ot=Ne.state.duration$;F(i,ot,ne=>t(74,ue=ne));const re=Ne.state.positionWithScrubbing$;F(i,re,ne=>t(72,G=ne));const xe=Ne.state.playbackState$;F(i,xe,ne=>t(124,_=ne));const Ye=Ne.state.chromecastConnected$;F(i,Ye,ne=>t(75,w=ne));const it=Ne.state.isAudioAvailable$;F(i,it,ne=>t(70,c=ne));const Ge=Ne.state.isAudioDisabled,ft=Ne.state.isEnded$;F(i,ft,ne=>t(130,Z=ne));const $e=Ne.state.isLive$;F(i,$e,ne=>t(47,g=ne));const Nt=Ne.state.isActiveLive$;F(i,Nt,ne=>t(125,A=ne));const wt=Ne.state.isRewindableLive$;F(i,wt,ne=>t(51,S=ne));const nt=Ne.ui.isPictureInPictureActive$;F(i,nt,ne=>t(128,W=ne));const Ht=Ne.ui.pictureInPictureType$;F(i,Ht,ne=>t(127,R=ne));const ut=Ne.ui.settingsMenuVisible;F(i,ut,ne=>t(76,oe=ne));const Ze=Ne.ui.controls,Tt=Ne.actions.internal.getVideoEpisodes(),lt=Ne.state.chromecastState$;F(i,lt,ne=>t(48,v=ne));const oi=Ne.state.availableSubtitlesList$;F(i,oi,ne=>t(129,X=ne));const de=Ne.state.currentSubtitle$;F(i,de,ne=>t(131,T=ne));const Ce=Ze.disabledControls$;F(i,Ce,ne=>t(133,j=ne));const Ie=Ne.ads.duration;F(i,Ie,ne=>t(73,J=ne));const Pt=Ne.ads.position;F(i,Pt,ne=>t(71,ie=ne));const Mi=Ne.ads.playbackState;F(i,Mi,ne=>t(132,te=ne));const $t=Ne.ui.isFullscreen;F(i,$t,ne=>t(49,b=ne));const _i=Ne.ui.playerSize;F(i,_i,ne=>t(126,P=ne));const Bi=Ne.ui.currentGridType$;F(i,Bi,ne=>t(123,h=ne));const Lt=Ne.ui.additionalButtons$;F(i,Lt,ne=>t(46,f=ne));const Pe=Ne.actions.internal.replayInteractive,Rt=Ne.state.isInteractive,Ni=Ne.state.isInteractiveGraphEnabled,li=Ne.state.isSeekToInteractiveEnable,ki=Ne.state.isPlayPrevChapterEnabled,wi=Ne.state.graphIsOpened$;F(i,wi,ne=>t(50,L=ne));const yi=Ne.state.playPrevChapterDisabledTooltip,si=()=>Ne.actions.internal.toggleChromecast();let Qi,hi,Ci,Pi,Ri,Si,Zi,ei,ai,Ti,Ft,yt,Ut,zi,Xi,Di,ti,qi,ji,ri="";const Oi=(ne,tn)=>{if(!ne){t(59,ri=U("tooltip_live"));return}tn===It.PAUSED&&t(59,ri=U("tooltip_play"))};let Ai,Ei,Vi,pi,qt,ui,gi,Wt,Zt,ii,ci,jt,bi,ni,Hi,Li,Gi,Fi,fi,Wi,Ii,se,Gt,Ui,Ji;function dn(ne,tn){let st=co;const zt=(nn,pn,ao)=>{let Rn=pn?nn+pn+(nn?Iu:0):nn;return ao.set({positionStartX:nn,positionEndX:Rn,isDisplayed:tn&&nn!==Rn}),Rn};st=zt(st,ne.prevButtonWidth,Ze.prevButton),st=zt(st,ne.replayButtonWidth,Ze.replayButton),st=zt(st,ne.playButtonWidth,Ze.playButton),st=zt(st,ne.nextButtonWidth,Ze.nextButton),st=zt(st,ne.playPrevChapterWidth,Ze.playPrevChapterButton),st=zt(st,ne.seekToInteractiveWidth,Ze.seekToInteractiveButton),st=zt(st,ne.interactiveGraphWidth,Ze.interactiveGraphButton),st=zt(st,ne.liveButtonWidth,Ze.liveButton),st=zt(st,ne.timeWidth,Ze.time),st=zt(st,ne.episodesWidth,Ze.episodes),f.forEach((nn,pn)=>{st=zt(st,ne.additionalButtonWidths[pn],Ze.additionalButtons[pn])}),st=zt(st,ne.vkLogoWidth,Ze.vkLogo),st=zt(st,ne.volumeWidth,Ze.volume),st=zt(st,ne.subtitlesWidth,Ze.subtitles),st=zt(st,ne.settingsWidth,Ze.settings),st=zt(st,ne.fullscreenWidth,Ze.fullscreen),zt(st,ne.chromecastWidth,Ze.chromecast)}function mn(){Ge?mt?.():c?St():Ot?.()}const Kt=Rt?Pe:Le?Be:be;function Vn(ne){ui=ne,t(30,ui)}function Ln(ne){gi=ne,t(31,gi)}function hn(ne){Wt=ne,t(32,Wt)}function Sn(ne){Zt=ne,t(33,Zt)}function rn(ne){ii=ne,t(34,ii)}function en(ne){ci=ne,t(35,ci)}function In(ne){jt=ne,t(36,jt)}function $(ne){bi=ne,t(37,bi)}function _t(ne){ni=ne,t(38,ni)}function Mn(ne){Hi=ne,t(39,Hi)}function Bn(){qt=this.clientWidth,t(29,qt)}function Nn(ne){Li=ne,t(40,Li)}function to(ne){Gi=ne,t(41,Gi)}function io(ne){Fi=ne,t(42,Fi)}function no(ne){fi=ne,t(43,fi)}function oo(ne){Wi=ne,t(44,Wi)}function lo(ne){Ii=ne,t(45,Ii)}function Fn(ne){We[ne?"unshift":"push"](()=>{Di=ne,t(56,Di)})}function so(ne){We[ne?"unshift":"push"](()=>{Ee=ne,t(0,Ee)})}return i.$$set=ne=>{"bottomHidden"in ne&&t(1,fe=ne.bottomHidden),"bottomNoSmooth"in ne&&t(2,ve=ne.bottomNoSmooth),"showControls"in ne&&t(3,Me=ne.showControls),"controlsElementRef"in ne&&t(0,Ee=ne.controlsElementRef),"isAds"in ne&&t(4,we=ne.isAds),"canRewindLive"in ne&&t(5,H=ne.canRewindLive),"logoClickable"in ne&&t(6,M=ne.logoClickable),"logoHidden"in ne&&t(113,Y=ne.logoHidden),"videoLogoUrl"in ne&&t(7,pe=ne.videoLogoUrl),"showNextPrevButtons"in ne&&t(114,ee=ne.showNextPrevButtons),"nextButtonActive"in ne&&t(8,B=ne.nextButtonActive),"prevButtonActive"in ne&&t(9,Q=ne.prevButtonActive),"isOneVideoPlaylist"in ne&&t(115,Le=ne.isOneVideoPlaylist),"supportLink"in ne&&t(10,ye=ne.supportLink),"customFullscreenSupported"in ne&&t(116,Te=ne.customFullscreenSupported),"playNextVideo"in ne&&t(11,x=ne.playNextVideo),"playPrevVideo"in ne&&t(12,le=ne.playPrevVideo),"repeatPlaylist"in ne&&t(117,be=ne.repeatPlaylist),"toggleFullscreen"in ne&&t(13,ae=ne.toggleFullscreen),"returnFocus"in ne&&t(14,Ue=ne.returnFocus),"seekToInteractive"in ne&&t(15,qe=ne.seekToInteractive),"toggleGraph"in ne&&t(16,Je=ne.toggleGraph),"playPrevChapter"in ne&&t(17,tt=ne.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[4]&512&&t(122,n=j.has(ct.EPISODE_BUTTON)),i.$$.dirty[4]&512&&t(69,o=j.has(ct.GRAPH_BUTTON)),i.$$.dirty[4]&512&&t(68,l=j.has(ct.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[4]&512&&t(67,s=j.has(ct.PLAY_BUTTON)),i.$$.dirty[4]&512&&t(66,a=j.has(ct.REPLAY_BUTTON)),i.$$.dirty[4]&512&&t(65,r=j.has(ct.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[4]&257&&t(52,Qi=we?te===Dt.PLAYING:_===It.PLAYING),i.$$.dirty[4]&128&&t(18,hi=T.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[4]&64&&t(19,Ci=Z&&!we||Rt),i.$$.dirty[0]&16|i.$$.dirty[4]&64&&t(20,Pi=!Z||Rt||we),i.$$.dirty[3]&1073741824&&t(118,Ri=on(h,Ct.M)),i.$$.dirty[0]&272|i.$$.dirty[3]&1075838976&&t(53,Si=ee&&on(h,Ct.M)&&!we&&B),i.$$.dirty[0]&528|i.$$.dirty[3]&1075838976&&t(54,Zi=ee&&on(h,Ct.M)&&!we&&Q),i.$$.dirty[1]&131072|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&24&&t(21,ei=v!==cn.NOT_AVAILABLE&&!(W&&R===vn.DocumentPictureInPicture)&&on(h,Ct.M)&&!Rt),i.$$.dirty[3]&1073741824|i.$$.dirty[4]&32&&t(22,ai=X.length>0&&on(h,Ct.M)),i.$$.dirty[3]&1073741824&&t(23,Ti=on(h,Ct.S)),i.$$.dirty[3]&1048576&&t(24,Ft=!Y),i.$$.dirty[3]&1083179008|i.$$.dirty[4]&24&&t(25,yt=at.features.fullscreen&&(Y||on(h,Ct.S))&&!(W&&R===vn.DocumentPictureInPicture)&&(Rt?Te:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&65536&&t(26,Ut=(!g||we)&&!(at.features.interactiveHideTime&&Rt)),i.$$.dirty[4]&4&&t(55,zi=P.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&65536|i.$$.dirty[3]&570425344&&t(27,Xi=!we&&!g&&!!Tt?.length&&Ri&&!n),i.$$.dirty[1]&1048576|i.$$.dirty[4]&2&&t(28,ti=!S||A),i.$$.dirty[4]&1&&t(57,qi=_===It.PLAYING?U("tooltip_pause"):U("tooltip_play")),i.$$.dirty[1]&524288&&t(58,ji=U(L?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[0]&268435456|i.$$.dirty[4]&1&&Oi(ti,_),i.$$.dirty[0]&262144&&t(61,Ei=U(hi?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[1]&262144&&t(62,Vi=U(b?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[1]&131072&&t(63,pi=v===cn.CONNECTED?U("tooltip_chromecast_on"):U("tooltip_chromecast_off")),i.$$.dirty[0]&1207435264|i.$$.dirty[1]&131071&&t(119,se={prevButtonWidth:ui??0,replayButtonWidth:Ci?gi:0,playButtonWidth:Pi?Wt:0,nextButtonWidth:Zt??0,playPrevChapterWidth:ki?ii:0,seekToInteractiveWidth:Rt?ci:0,interactiveGraphWidth:Ni?jt??0:0,liveButtonWidth:g&&bi?bi:0,timeWidth:Ut?ni:0,episodesWidth:Hi,vkLogoWidth:Ft?Li:0,volumeWidth:Gi,subtitlesWidth:ai?Fi:0,settingsWidth:Ti?fi:0,fullscreenWidth:yt?Wi:0,chromecastWidth:ei?Ii:0,additionalButtonWidths:f.length?f.reduce(ne=>[...ne,40],[]):[]}),i.$$.dirty[3]&201326592&&(!Gt||Gt<se.timeWidth)&&t(120,Gt=se.timeWidth),i.$$.dirty[0]&738197504|i.$$.dirty[3]&1275068416){let ne=0;Xi&&(on(h,Ct.XL)?ne=se.timeWidth:ne=Mu);const tn=se.prevButtonWidth+se.playButtonWidth+se.nextButtonWidth+se.seekToInteractiveWidth+se.interactiveGraphWidth+se.liveButtonWidth+Gt+ne;t(121,Ui=Ut&&qt>=tn)}i.$$.dirty[3]&1342177280&&t(64,Ji=Ui&&on(h,Ct.M)),i.$$.dirty[0]&8|i.$$.dirty[3]&67108864&&dn(se,Me)},t(60,Ai=at.logoType===xn.VK_VIDEO?U("tooltip_vk_video_logo"):U("tooltip_vk_logo")),[Ee,fe,ve,Me,we,H,M,pe,B,Q,ye,x,le,ae,Ue,qe,Je,tt,hi,Ci,Pi,ei,ai,Ti,Ft,yt,Ut,Xi,ti,qt,ui,gi,Wt,Zt,ii,ci,jt,bi,ni,Hi,Li,Gi,Fi,fi,Wi,Ii,f,g,v,b,L,S,Qi,Si,Zi,zi,Di,qi,ji,ri,Ai,Ei,Vi,pi,Ji,r,a,s,l,o,c,ie,G,J,ue,w,oe,Be,Ve,kt,ot,re,xe,Ye,it,ft,$e,Nt,wt,nt,Ht,ut,Tt,lt,oi,de,Ce,Ie,Pt,Mi,$t,_i,Bi,Lt,Rt,Ni,li,ki,wi,yi,si,mn,Kt,Y,ee,Le,Te,be,Ri,se,Gt,Ui,n,h,_,A,P,R,W,X,Z,T,te,j,Vn,Ln,hn,Sn,rn,en,In,$,_t,Mn,Bn,Nn,to,io,no,oo,lo,Fn,so]}class U4 extends ke{constructor(e){super(),_e(this,e,F4,H4,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:113,videoLogoUrl:7,showNextPrevButtons:114,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:115,supportLink:10,customFullscreenSupported:116,playNextVideo:11,playPrevVideo:12,repeatPlaylist:117,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},v4,[-1,-1,-1,-1,-1,-1])}}function q4(i){let e,t,n,o;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(l,s){C(l,e,s),d(e,t),d(t,n),d(t,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class W4 extends ke{constructor(e){super(),_e(this,e,null,q4,ge,{})}}function Z4(i){Fe(i,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function Gs(i){let e;return{c(){e=k("span"),e.textContent=`${U("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){C(t,e,n)},p:K,d(t){t&&y(e)}}}function j4(i){let e,t,n,o;var l=i[3];function s(r){return{}}l&&(t=fn(l,s()));let a=i[0]&&Gs();return{c(){e=k("div"),t&&O(t.$$.fragment),n=N(),a&&a.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),V(e,"expanded",i[0])},m(r,c){C(r,e,c),t&&z(t,e,null),d(e,n),a&&a.m(e,null),o=!0},p(r,c){if(c&8&&l!==(l=r[3])){if(t){me();const f=t;p(f.$$.fragment,1,0,()=>{D(f,1)}),he()}l?(t=fn(l,s()),O(t.$$.fragment),m(t.$$.fragment,1),z(t,e,n)):t=null}r[0]?a?a.p(r,c):(a=Gs(),a.c(),a.m(e,null)):a&&(a.d(1),a=null),(!o||c&1)&&V(e,"expanded",r[0])},i(r){o||(t&&m(t.$$.fragment,r),o=!0)},o(r){t&&p(t.$$.fragment,r),o=!1},d(r){r&&y(e),t&&D(t),a&&a.d()}}}function G4(i){let e,t;return e=new mi({props:{testId:i[0]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[1],ariaLabel:i[2],$$slots:{default:[j4]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.testId=n[0]?"btn-mobile-unmuted":"btn-mobile-muted"),o&2&&(l.click=n[1]),o&4&&(l.ariaLabel=n[2]),o&41&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function K4(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:l=et}=e,s,a;return i.$$set=r=>{"muted"in r&&t(4,n=r.muted),"expanded"in r&&t(0,o=r.expanded),"click"in r&&t(1,l=r.click)},i.$$.update=()=>{i.$$.dirty&16&&t(2,s=U(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&1&&t(3,a=o?Do:W4)},[o,l,s,a,n]}class V1 extends ke{constructor(e){super(),_e(this,e,K4,G4,ge,{muted:4,expanded:0,click:1},Z4)}}function Y4(i){let e,t,n,o;return{c(){e=I("svg"),t=I("path"),n=I("path"),o=I("path"),u(t,"fill",i[1]),u(t,"clip-rule","evenodd"),u(t,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",i[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),V(n,"hidden",!i[0]),u(o,"fill",i[1]),u(o,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),V(o,"hidden",i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,s){C(l,e,s),d(e,t),d(e,n),d(e,o)},p(l,[s]){s&2&&u(t,"fill",l[1]),s&2&&u(n,"fill",l[1]),s&1&&V(n,"hidden",!l[0]),s&2&&u(o,"fill",l[1]),s&1&&V(o,"hidden",l[0])},i:K,o:K,d(l){l&&y(e)}}}function Q4(i,e,t){let n,{isActive:o=!1}=e;return i.$$set=l=>{"isActive"in l&&t(0,o=l.isActive)},i.$$.update=()=>{i.$$.dirty&1&&t(1,n=o?"#2688EB":"#fff")},[o,n]}class X4 extends ke{constructor(e){super(),_e(this,e,Q4,Y4,ge,{isActive:0})}}function J4(i){let e,t;return e=new X4({props:{isActive:i[0]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isActive=n[0]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function x4(i){let e,t;return e=new mi({props:{testId:"btn-pip",ariaLabel:U("menu_pip"),click:i[1],$$slots:{default:[J4]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&2&&(l.click=n[1]),o&5&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function $4(i,e,t){let{isPictureInPictureActive:n=!1}=e,{click:o=et}=e;return i.$$set=l=>{"isPictureInPictureActive"in l&&t(0,n=l.isPictureInPictureActive),"click"in l&&t(1,o=l.click)},[n,o]}class em extends ke{constructor(e){super(),_e(this,e,$4,x4,ge,{isPictureInPictureActive:0,click:1})}}function tm(i){Fe(i,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function Ks(i,e,t){const n=i.slice();return n[137]=e[t].iconUrl,n[138]=e[t].ariaLabel,n[139]=e[t].testId,n[140]=e[t].onClick,n[141]=e[t].tooltip,n}function Ys(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,A,S=(!i[54]||i[56])&&Qs(i),P=Mt(i[59]),R=[];for(let w=0;w<P.length;w+=1)R[w]=Xs(Ks(i,P,w));const W=w=>p(R[w],1,1,()=>{R[w]=null});let X=i[33]&&Js(i),Z=i[34]&&xs(i),T=i[60]&&$s(),te=i[36]&&ea(i),j=i[8]&&ta(i),ie=i[31]&&ia(i),G=i[30]&&na(i),J=i[8]&&oa(i),ue=i[97]&&!i[26]&&la(i);return{c(){e=k("div"),t=N(),n=k("div"),S&&S.c(),o=N(),l=k("div");for(let w=0;w<R.length;w+=1)R[w].c();s=N(),X&&X.c(),a=N(),Z&&Z.c(),r=N(),T&&T.c(),c=N(),te&&te.c(),f=N(),h=k("div"),j&&j.c(),g=N(),ie&&ie.c(),v=N(),G&&G.c(),b=N(),J&&J.c(),_=N(),ue&&ue.c(),L=ht(),u(e,"class","overlay-mobile v-1tcstu3"),V(e,"hidden",!i[39]),u(n,"class","wrapper-top-left v-1tcstu3"),V(n,"hidden",!i[3]),V(n,"fullscreen",i[55]),u(l,"class","wrapper-top-right v-1tcstu3"),V(l,"hidden",!i[3]&&!i[24]),V(l,"fullscreen",i[55]),u(h,"class","wrapper-middle v-1tcstu3"),V(h,"hidden",!i[3]||i[26])},m(w,oe){C(w,e,oe),C(w,t,oe),C(w,n,oe),S&&S.m(n,null),C(w,o,oe),C(w,l,oe);for(let fe=0;fe<R.length;fe+=1)R[fe]&&R[fe].m(l,null);d(l,s),X&&X.m(l,null),d(l,a),Z&&Z.m(l,null),d(l,r),T&&T.m(l,null),d(l,c),te&&te.m(l,null),C(w,f,oe),C(w,h,oe),j&&j.m(h,null),d(h,g),ie&&ie.m(h,null),d(h,v),G&&G.m(h,null),d(h,b),J&&J.m(h,null),C(w,_,oe),ue&&ue.m(w,oe),C(w,L,oe),A=!0},p(w,oe){if((!A||oe[1]&256)&&V(e,"hidden",!w[39]),!w[54]||w[56]?S?(S.p(w,oe),oe[1]&41943040&&m(S,1)):(S=Qs(w),S.c(),m(S,1),S.m(n,null)):S&&(me(),p(S,1,1,()=>{S=null}),he()),(!A||oe[0]&8)&&V(n,"hidden",!w[3]),(!A||oe[1]&16777216)&&V(n,"fullscreen",w[55]),oe[1]&268435456){P=Mt(w[59]);let fe;for(fe=0;fe<P.length;fe+=1){const ve=Ks(w,P,fe);R[fe]?(R[fe].p(ve,oe),m(R[fe],1)):(R[fe]=Xs(ve),R[fe].c(),m(R[fe],1),R[fe].m(l,s))}for(me(),fe=P.length;fe<R.length;fe+=1)W(fe);he()}w[33]?X?(X.p(w,oe),oe[1]&4&&m(X,1)):(X=Js(w),X.c(),m(X,1),X.m(l,a)):X&&(me(),p(X,1,1,()=>{X=null}),he()),w[34]?Z?(Z.p(w,oe),oe[1]&8&&m(Z,1)):(Z=xs(w),Z.c(),m(Z,1),Z.m(l,r)):Z&&(me(),p(Z,1,1,()=>{Z=null}),he()),w[60]?T?oe[1]&536870912&&m(T,1):(T=$s(),T.c(),m(T,1),T.m(l,c)):T&&(me(),p(T,1,1,()=>{T=null}),he()),w[36]?te?(te.p(w,oe),oe[1]&32&&m(te,1)):(te=ea(w),te.c(),m(te,1),te.m(l,null)):te&&(me(),p(te,1,1,()=>{te=null}),he()),(!A||oe[0]&16777224)&&V(l,"hidden",!w[3]&&!w[24]),(!A||oe[1]&16777216)&&V(l,"fullscreen",w[55]),w[8]?j?(j.p(w,oe),oe[0]&256&&m(j,1)):(j=ta(w),j.c(),m(j,1),j.m(h,g)):j&&(me(),p(j,1,1,()=>{j=null}),he()),w[31]?ie?(ie.p(w,oe),oe[1]&1&&m(ie,1)):(ie=ia(w),ie.c(),m(ie,1),ie.m(h,v)):ie&&(me(),p(ie,1,1,()=>{ie=null}),he()),w[30]?G?(G.p(w,oe),oe[0]&1073741824&&m(G,1)):(G=na(w),G.c(),m(G,1),G.m(h,b)):G&&(me(),p(G,1,1,()=>{G=null}),he()),w[8]?J?(J.p(w,oe),oe[0]&256&&m(J,1)):(J=oa(w),J.c(),m(J,1),J.m(h,null)):J&&(me(),p(J,1,1,()=>{J=null}),he()),(!A||oe[0]&67108872)&&V(h,"hidden",!w[3]||w[26]),w[97]&&!w[26]?ue?(ue.p(w,oe),oe[0]&67108864&&m(ue,1)):(ue=la(w),ue.c(),m(ue,1),ue.m(L.parentNode,L)):ue&&(me(),p(ue,1,1,()=>{ue=null}),he())},i(w){if(!A){m(S);for(let oe=0;oe<P.length;oe+=1)m(R[oe]);m(X),m(Z),m(T),m(te),m(j),m(ie),m(G),m(J),m(ue),A=!0}},o(w){p(S),R=R.filter(Boolean);for(let oe=0;oe<R.length;oe+=1)p(R[oe]);p(X),p(Z),p(T),p(te),p(j),p(ie),p(G),p(J),p(ue),A=!1},d(w){w&&(y(e),y(t),y(n),y(o),y(l),y(f),y(h),y(_),y(L)),S&&S.d(),sn(R,w),X&&X.d(),Z&&Z.d(),T&&T.d(),te&&te.d(),j&&j.d(),ie&&ie.d(),G&&G.d(),J&&J.d(),ue&&ue.d(w)}}}function Qs(i){let e,t;return e=new V1({props:{muted:i[57],expanded:i[54]&&!i[73]&&i[58],click:i[104]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&67108864&&(l.muted=n[57]),o[1]&142606336&&(l.expanded=n[54]&&!n[73]&&n[58]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Xs(i){let e,t;return e=new E1({props:{iconUrl:i[137],ariaLabel:i[138]??i[141],testId:i[139],onClick:i[140]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&268435456&&(l.iconUrl=n[137]),o[1]&268435456&&(l.ariaLabel=n[138]??n[141]),o[1]&268435456&&(l.testId=n[139]),o[1]&268435456&&(l.onClick=n[140]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Js(i){let e,t;return e=new _1({props:{isMobile:!0,click:i[102],state:i[25]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&33554432&&(l.state=n[25]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function xs(i){let e,t;return e=new em({props:{click:i[103],isPictureInPictureActive:i[23]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8388608&&(l.isPictureInPictureActive=n[23]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function $s(i){let e,t;return e=new cl({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ea(i){let e,t;return e=new v1({props:{click:i[67],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&64&&(l.logoClickable=n[6]),o[0]&128&&(l.videoLogoUrl=n[7]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ta(i){let e,t;return e=new Oo({props:{click:i[13],type:"prev",disabled:!i[10],isMobile:!0}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8192&&(l.click=n[13]),o[0]&1024&&(l.disabled=!n[10]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ia(i){let e,t;return e=new ml({props:{disabled:i[51],click:i[66],isMobile:!0,isPlaying:i[28]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&1048576&&(l.disabled=n[51]),o[0]&268435456&&(l.isPlaying=n[28]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function na(i){let e,t;return e=new hl({props:{disabled:i[50],click:i[105],isMobile:!0}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&524288&&(l.disabled=n[50]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function oa(i){let e,t;return e=new Oo({props:{click:i[12],type:"next",disabled:!i[9],isMobile:!0}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4096&&(l.click=n[12]),o[0]&512&&(l.disabled=!n[9]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function la(i){let e,t,n,o,l=i[100]&&im(i),s=i[98]&&nm(i),a=i[99]&&om(i);return{c(){l&&l.c(),e=N(),s&&s.c(),t=N(),a&&a.c(),n=ht()},m(r,c){l&&l.m(r,c),C(r,e,c),s&&s.m(r,c),C(r,t,c),a&&a.m(r,c),C(r,n,c),o=!0},p(r,c){r[100]&&l.p(r,c),r[98]&&s.p(r,c),r[99]&&a.p(r,c)},i(r){o||(m(l),m(s),m(a),o=!0)},o(r){p(l),p(s),p(a),o=!1},d(r){r&&(y(e),y(t),y(n)),l&&l.d(r),s&&s.d(r),a&&a.d(r)}}}function im(i){let e,t,n;return t=new A1({props:{hidden:!i[3],disabled:i[49],click:i[18]}}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),V(e,"fullscreen",i[55]),V(e,"hidden",!i[3])},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.hidden=!o[3]),l[1]&262144&&(s.disabled=o[49]),l[0]&262144&&(s.click=o[18]),t.$set(s),(!n||l[1]&16777216)&&V(e,"fullscreen",o[55]),(!n||l[0]&8)&&V(e,"hidden",!o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function nm(i){let e,t,n;return t=new T1({props:{hidden:!i[3]&&!i[61],disabled:i[53],click:i[17],graphIsOpened:i[61]}}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class",du(i[100]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),V(e,"fullscreen",i[55]),V(e,"hidden",!i[3]&&!i[61])},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&8|l[1]&1073741824&&(s.hidden=!o[3]&&!o[61]),l[1]&4194304&&(s.disabled=o[53]),l[0]&131072&&(s.click=o[17]),l[1]&1073741824&&(s.graphIsOpened=o[61]),t.$set(s),(!n||l[1]&16777216)&&V(e,"fullscreen",o[55]),(!n||l[0]&8|l[1]&1073741824)&&V(e,"hidden",!o[3]&&!o[61])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function om(i){let e,t,n;return t=new S1({props:{hidden:!i[3],disabled:i[52],click:i[16]}}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),V(e,"fullscreen",i[55]),V(e,"hidden",!i[3])},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.hidden=!o[3]),l[1]&2097152&&(s.disabled=o[52]),l[0]&65536&&(s.click=o[16]),t.$set(s),(!n||l[1]&16777216)&&V(e,"fullscreen",o[55]),(!n||l[0]&8)&&V(e,"hidden",!o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function sa(i){let e,t,n,o,l,s=i[56]&&aa(i),a=i[29]&&ra(i);return o=new y1({props:{position:i[62],duration:i[63]}}),{c(){s&&s.c(),e=N(),a&&a.c(),t=N(),n=k("div"),O(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),V(n,"fullscreen",i[55])},m(r,c){s&&s.m(r,c),C(r,e,c),a&&a.m(r,c),C(r,t,c),C(r,n,c),z(o,n,null),l=!0},p(r,c){r[56]?s?(s.p(r,c),c[1]&33554432&&m(s,1)):(s=aa(r),s.c(),m(s,1),s.m(e.parentNode,e)):s&&(me(),p(s,1,1,()=>{s=null}),he()),r[29]?a?(a.p(r,c),c[0]&536870912&&m(a,1)):(a=ra(r),a.c(),m(a,1),a.m(t.parentNode,t)):a&&(me(),p(a,1,1,()=>{a=null}),he());const f={};c[2]&1&&(f.position=r[62]),c[2]&2&&(f.duration=r[63]),o.$set(f),(!l||c[1]&16777216)&&V(n,"fullscreen",r[55])},i(r){l||(m(s),m(a),m(o.$$.fragment,r),l=!0)},o(r){p(s),p(a),p(o.$$.fragment,r),l=!1},d(r){r&&(y(e),y(t),y(n)),s&&s.d(r),a&&a.d(r),D(o)}}}function aa(i){let e,t,n;return t=new V1({props:{muted:i[57],expanded:!1,click:i[104]}}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),V(e,"fullscreen",i[55])},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[1]&67108864&&(s.muted=o[57]),t.$set(s),(!n||l[1]&16777216)&&V(e,"fullscreen",o[55])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function ra(i){let e,t,n;return t=new ml({props:{disabled:i[51],click:i[66],isMobile:!0,isPlaying:!i[29]}}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[1]&1048576&&(s.disabled=o[51]),l[0]&536870912&&(s.isPlaying=!o[29]),t.$set(s)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function lm(i){let e,t,n;function o(s){i[120](s)}let l={disabled:i[50],$$slots:{default:[sm]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&524288&&(r.disabled=s[50]),a[1]&524288|a[4]&1048576&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&2048&&(t=!0,r.width=s[42],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function sm(i){let e,t;return e=new hl({props:{disabled:i[50],click:i[96]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&524288&&(l.disabled=n[50]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ua(i){let e,t,n;function o(s){i[121](s)}let l={$$slots:{default:[am]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&524288|a[1]&131072|a[4]&1048576&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&4096&&(t=!0,r.width=s[43],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function am(i){let e,t;return e=new k1({props:{isActiveLive:i[19],isMobile:!0,ariaLabel:i[48]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&524288&&(l.isActiveLive=n[19]),o[1]&131072&&(l.ariaLabel=n[48]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ca(i){let e,t,n;function o(s){i[122](s)}let l={showDuration:i[32],position:i[4]?i[62]:i[64],duration:i[4]?i[63]:i[65],isMobile:!0};return i[44]!==void 0&&(l.width=i[44]),e=new m1({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&2&&(r.showDuration=s[32]),a[0]&16|a[2]&5&&(r.position=s[4]?s[62]:s[64]),a[0]&16|a[2]&10&&(r.duration=s[4]?s[63]:s[65]),!t&&a[1]&8192&&(t=!0,r.width=s[44],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function fa(i){let e,t,n,o;return n=new P1({props:{position:i[64],duration:i[65],timeCodes:i[86]}}),{c(){e=k("div"),e.textContent="\xB7",t=N(),O(n.$$.fragment),u(e,"aria-hidden","true")},m(l,s){C(l,e,s),C(l,t,s),z(n,l,s),o=!0},p(l,s){const a={};s[2]&4&&(a.position=l[64]),s[2]&8&&(a.duration=l[65]),n.$set(a)},i(l){o||(m(n.$$.fragment,l),o=!0)},o(l){p(n.$$.fragment,l),o=!1},d(l){l&&(y(e),y(t)),D(n,l)}}}function rm(i){let e,t,n=i[40]&&fa(i);return{c(){n&&n.c(),e=ht()},m(o,l){n&&n.m(o,l),C(o,e,l),t=!0},p(o,l){o[40]?n?(n.p(o,l),l[1]&512&&m(n,1)):(n=fa(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(me(),p(n,1,1,()=>{n=null}),he())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function da(i){let e,t,n;function o(s){i[124](s)}let l={$$slots:{default:[um]},$$scope:{ctx:i}};return i[46]!==void 0&&(l.width=i[46]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[4]&1048576&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&32768&&(t=!0,r.width=s[46],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function um(i){let e,t;return e=new cl({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ma(i){let e,t,n;function o(s){i[125](s)}let l={$$slots:{default:[cm]},$$scope:{ctx:i}};return i[47]!==void 0&&(l.width=i[47]),e=new Bt({props:l}),We.push(()=>bt(e,"width",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&16384|a[1]&16777216|a[4]&1048576&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&65536&&(t=!0,r.width=s[47],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function cm(i){let e,t;return e=new g1({props:{click:i[14],isFullscreen:i[55]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&16384&&(l.click=n[14]),o[1]&16777216&&(l.isFullscreen=n[55]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ha(i){let e,t,n;return t=new d1({props:{supportLink:i[11],returnFocus:i[15]}}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&2048&&(s.supportLink=o[11]),l[0]&32768&&(s.returnFocus=o[15]),t.$set(s)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function fm(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,A,S=!i[4]&&Ys(i),P=i[4]&&i[27]!==Dt.INACTIVE&&sa(i),R=i[97]&&lm(i),W=!i[4]&&i[21]&&ua(i),X=i[38]&&ca(i);function Z(G){i[123](G)}let T={className:"w-max",disabled:!i[40],$$slots:{default:[rm]},$$scope:{ctx:i}};i[45]!==void 0&&(T.width=i[45]),c=new Bt({props:T}),We.push(()=>bt(c,"width",Z));let te=i[35]&&da(i),j=i[37]&&ma(i);b=new C1({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[20]}});let ie=i[22]&&ha(i);return{c(){S&&S.c(),e=N(),P&&P.c(),t=N(),n=k("div"),o=k("div"),l=k("div"),R&&R.c(),s=N(),W&&W.c(),a=N(),X&&X.c(),r=N(),O(c.$$.fragment),h=N(),te&&te.c(),g=N(),j&&j.c(),v=N(),O(b.$$.fragment),_=N(),ie&&ie.c(),L=ht(),u(l,"class","controls v-1tcstu3"),V(l,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),V(o,"fullscreen",i[55]),u(n,"class","wrapper-bottom v-1tcstu3"),V(n,"hidden",i[1]),V(n,"controls-hidden",!i[3]),V(n,"no-smooth",i[2]),V(n,"mobile",!0)},m(G,J){S&&S.m(G,J),C(G,e,J),P&&P.m(G,J),C(G,t,J),C(G,n,J),d(n,o),d(o,l),R&&R.m(l,null),d(l,s),W&&W.m(l,null),d(l,a),X&&X.m(l,null),d(l,r),z(c,l,null),d(l,h),te&&te.m(l,null),d(l,g),j&&j.m(l,null),i[126](l),d(o,v),z(b,o,null),i[127](n),C(G,_,J),ie&&ie.m(G,J),C(G,L,J),A=!0},p(G,J){G[4]?S&&(me(),p(S,1,1,()=>{S=null}),he()):S?(S.p(G,J),J[0]&16&&m(S,1)):(S=Ys(G),S.c(),m(S,1),S.m(e.parentNode,e)),G[4]&&G[27]!==Dt.INACTIVE?P?(P.p(G,J),J[0]&134217744&&m(P,1)):(P=sa(G),P.c(),m(P,1),P.m(t.parentNode,t)):P&&(me(),p(P,1,1,()=>{P=null}),he()),G[97]&&R.p(G,J),!G[4]&&G[21]?W?(W.p(G,J),J[0]&2097168&&m(W,1)):(W=ua(G),W.c(),m(W,1),W.m(l,a)):W&&(me(),p(W,1,1,()=>{W=null}),he()),G[38]?X?(X.p(G,J),J[1]&128&&m(X,1)):(X=ca(G),X.c(),m(X,1),X.m(l,r)):X&&(me(),p(X,1,1,()=>{X=null}),he());const ue={};J[1]&512&&(ue.disabled=!G[40]),J[1]&512|J[2]&12|J[4]&1048576&&(ue.$$scope={dirty:J,ctx:G}),!f&&J[1]&16384&&(f=!0,ue.width=G[45],gt(()=>f=!1)),c.$set(ue),G[35]?te?(te.p(G,J),J[1]&16&&m(te,1)):(te=da(G),te.c(),m(te,1),te.m(l,g)):te&&(me(),p(te,1,1,()=>{te=null}),he()),G[37]?j?(j.p(G,J),J[1]&64&&m(j,1)):(j=ma(G),j.c(),m(j,1),j.m(l,null)):j&&(me(),p(j,1,1,()=>{j=null}),he());const w={};J[0]&16&&(w.isAds=G[4]),J[0]&32&&(w.canRewindLive=G[5]),J[0]&1048576&&(w.isRewindableLive=G[20]),b.$set(w),(!A||J[1]&16777216)&&V(o,"fullscreen",G[55]),(!A||J[0]&2)&&V(n,"hidden",G[1]),(!A||J[0]&8)&&V(n,"controls-hidden",!G[3]),(!A||J[0]&4)&&V(n,"no-smooth",G[2]),G[22]?ie?(ie.p(G,J),J[0]&4194304&&m(ie,1)):(ie=ha(G),ie.c(),m(ie,1),ie.m(L.parentNode,L)):ie&&(me(),p(ie,1,1,()=>{ie=null}),he())},i(G){A||(m(S),m(P),m(R),m(W),m(X),m(c.$$.fragment,G),m(te),m(j),m(b.$$.fragment,G),m(ie),A=!0)},o(G){p(S),p(P),p(R),p(W),p(X),p(c.$$.fragment,G),p(te),p(j),p(b.$$.fragment,G),p(ie),A=!1},d(G){G&&(y(e),y(t),y(n),y(_),y(L)),S&&S.d(G),P&&P.d(G),R&&R.d(),W&&W.d(),X&&X.d(),D(c),te&&te.d(),j&&j.d(),i[126](null),D(b),i[127](null),ie&&ie.d(G)}}}function dm(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,L,A,S,P,R,W,X,Z,T,te,j,ie,G,J,ue,w,oe,fe,ve,Me,{bottomHidden:Ee}=e,{bottomNoSmooth:we}=e,{showControls:H}=e,{controlsElementRef:M=void 0}=e,{isAds:Y=!1}=e,{canRewindLive:pe}=e,{logoClickable:ee}=e,{logoHidden:B}=e,{videoLogoUrl:Q}=e,{showNextPrevButtons:Le}=e,{nextButtonActive:ye}=e,{prevButtonActive:Te}=e,{isOneVideoPlaylist:x=!1}=e,{supportLink:le}=e,{customFullscreenSupported:be=!0}=e,{playNextVideo:ae}=e,{playPrevVideo:Ue}=e,{repeatPlaylist:qe}=e,{toggleFullscreen:Je}=e,{returnFocus:tt}=e,{seekToInteractive:Ne}=e,{toggleGraph:at}=e,{playPrevChapter:St}=e;const Be=vt(),Ve=Yi(),kt=Be.actions.internal.toggleMuted,Ot=Be.actions.internal.togglePlay,mt=Be.actions.internal.pause,ot=Be.callbacks?.onAudioDoesNotExistHint,re=Be.callbacks?.onAudioDisabledHint,xe=Be.playerPhase;F(i,xe,se=>t(117,R=se));const Ye=Be.state.duration$;F(i,Ye,se=>t(65,Me=se));const it=Be.state.positionWithScrubbing$;F(i,it,se=>t(64,ve=se));const Ge=Be.state.playbackState$;F(i,Ge,se=>t(113,c=se));const ft=Be.state.isAudioAvailable$;F(i,ft,se=>t(54,f=se));const $e=Be.state.isAudioDisabled,Nt=Be.state.isEnded$;F(i,Nt,se=>t(118,X=se));const wt=Be.state.isLive$;F(i,wt,se=>t(21,v=se));const nt=Be.state.muted$;F(i,nt,se=>t(57,ie=se));const Ht=Be.state.isActiveLive$;F(i,Ht,se=>t(114,h=se));const ut=Be.state.isRewindableLive$;F(i,ut,se=>t(20,g=se));const Ze=Be.ui.scrubbingInProgress;F(i,Ze,se=>t(26,W=se));const Tt=Be.ui.mobileNotReportControlHidden$;F(i,Tt,se=>t(24,S=se));const lt=Be.ui.isPictureInPictureActive$;F(i,lt,se=>t(23,A=se));const oi=Be.ui.pictureInPictureType$;F(i,oi,se=>t(116,L=se));const de=Be.ui.mobileUnmuteButtonExpanded;F(i,de,se=>t(58,G=se));const Ce=Be.ui.mobileUnmuteButtonVisible;F(i,Ce,se=>t(56,j=se));const Ie=Be.ui.settingsMenuVisible;F(i,Ie,se=>t(22,b=se));const Pt=Be.ui.controls,Mi=Be.actions.internal.getVideoEpisodes(),$t=Be.webApi.pictureInPictureApi,_i=Be.state.chromecastState$;F(i,_i,se=>t(25,P=se));const Bi=Be.state.crashed$;F(i,Bi,se=>t(60,ue=se));const Lt=Pt.disabledControls$;F(i,Lt,se=>t(119,T=se));const Pe=Be.ads.duration;F(i,Pe,se=>t(63,fe=se));const Rt=Be.ads.position;F(i,Rt,se=>t(62,oe=se));const Ni=Be.ads.playbackState;F(i,Ni,se=>t(27,Z=se));const li=Be.ui.isFullscreen;F(i,li,se=>t(55,te=se));const ki=Be.ui.playerSize;F(i,ki,se=>t(115,_=se));const wi=Be.ui.additionalButtons$;F(i,wi,se=>t(59,J=se));const yi=Be.actions.internal.replayInteractive,si=Be.state.isInteractive,Qi=Be.state.isInteractiveGraphEnabled,hi=Be.state.isSeekToInteractiveEnable,Ci=Be.state.isPlayPrevChapterEnabled,Pi=Be.state.graphIsOpened$;F(i,Pi,se=>t(61,w=se));let Ri,Si,Zi,ei,ai,Ti,Ft,yt,Ut,zi,Xi,Di,ti,qi,ji,ri,Oi,Ai,Ei,Vi,pi,qt,ui;const gi=()=>Be.actions.internal.toggleChromecast();function Wt(){$e?re?.():f?kt():ot?.()}async function Zt(){$t?.isActive()?await $t?.remove():await $t?.request()}function ii(){!$e&&f&&Ce.set(!1),Wt()}const ci=x?Ot:qe;let jt="";const bi=(se,Gt)=>{if(!se){t(48,jt=U("tooltip_live"));return}Gt===It.PAUSED&&t(48,jt=U("tooltip_play"))};function ni(se){Ai=se,t(42,Ai)}function Hi(se){Ei=se,t(43,Ei)}function Li(se){Vi=se,t(44,Vi)}function Gi(se){pi=se,t(45,pi)}function Fi(se){qt=se,t(46,qt)}function fi(se){ui=se,t(47,ui)}function Wi(se){We[se?"unshift":"push"](()=>{ri=se,t(41,ri)})}function Ii(se){We[se?"unshift":"push"](()=>{M=se,t(0,M)})}return i.$$set=se=>{"bottomHidden"in se&&t(1,Ee=se.bottomHidden),"bottomNoSmooth"in se&&t(2,we=se.bottomNoSmooth),"showControls"in se&&t(3,H=se.showControls),"controlsElementRef"in se&&t(0,M=se.controlsElementRef),"isAds"in se&&t(4,Y=se.isAds),"canRewindLive"in se&&t(5,pe=se.canRewindLive),"logoClickable"in se&&t(6,ee=se.logoClickable),"logoHidden"in se&&t(106,B=se.logoHidden),"videoLogoUrl"in se&&t(7,Q=se.videoLogoUrl),"showNextPrevButtons"in se&&t(8,Le=se.showNextPrevButtons),"nextButtonActive"in se&&t(9,ye=se.nextButtonActive),"prevButtonActive"in se&&t(10,Te=se.prevButtonActive),"isOneVideoPlaylist"in se&&t(107,x=se.isOneVideoPlaylist),"supportLink"in se&&t(11,le=se.supportLink),"customFullscreenSupported"in se&&t(108,be=se.customFullscreenSupported),"playNextVideo"in se&&t(12,ae=se.playNextVideo),"playPrevVideo"in se&&t(13,Ue=se.playPrevVideo),"repeatPlaylist"in se&&t(109,qe=se.repeatPlaylist),"toggleFullscreen"in se&&t(14,Je=se.toggleFullscreen),"returnFocus"in se&&t(15,tt=se.returnFocus),"seekToInteractive"in se&&t(16,Ne=se.seekToInteractive),"toggleGraph"in se&&t(17,at=se.toggleGraph),"playPrevChapter"in se&&t(18,St=se.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&67108864&&t(112,n=T.has(ct.EPISODE_BUTTON)),i.$$.dirty[3]&67108864&&t(53,o=T.has(ct.GRAPH_BUTTON)),i.$$.dirty[3]&67108864&&t(52,l=T.has(ct.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&67108864&&t(51,s=T.has(ct.PLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(50,a=T.has(ct.REPLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(49,r=T.has(ct.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&1048576&&t(28,Ri=c===It.PLAYING),i.$$.dirty[0]&134217728&&t(29,Si=Z===Dt.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&33554432&&t(30,Zi=X&&!Y&&!si),i.$$.dirty[0]&16|i.$$.dirty[3]&33554432&&t(31,ei=!X||Y),i.$$.dirty[3]&4194304&&t(110,ai=_.width>300),i.$$.dirty[3]&4194304&&t(32,Ti=_.width>400),i.$$.dirty[0]&67108864&&t(111,Ft=W),i.$$.dirty[0]&58720256|i.$$.dirty[3]&8388608&&t(33,yt=P!==cn.NOT_AVAILABLE&&!(A&&L===vn.DocumentPictureInPicture)&&!S&&!si),i.$$.dirty[0]&50331648|i.$$.dirty[3]&25427968){const se=R===Re.WaitingLive;t(34,Ut=!!$t&&P!==cn.CONNECTED&&!S&&(L===vn.DocumentPictureInPicture&&se||!se)&&!Ft&&!si)}i.$$.dirty[3]&262144&&t(35,zi=!Ft),i.$$.dirty[3]&4202496&&t(36,Xi=!B&&_.width>350),i.$$.dirty[0]&8388608|i.$$.dirty[3]&8683520&&t(37,Di=Ve.features.fullscreen&&!(A&&L===vn.DocumentPictureInPicture)&&(si?be:!0)&&!Ft),i.$$.dirty[0]&2097168|i.$$.dirty[3]&4456448&&t(38,ti=(!v||Y)&&_.width>260&&!Ft&&!(Ve.features.interactiveHideTime&&si)),i.$$.dirty[0]&4194312&&t(39,qi=b||H),i.$$.dirty[0]&2097168|i.$$.dirty[3]&917504&&t(40,ji=!Y&&!v&&!!Mi?.length&&ai&&!n&&!Ft),i.$$.dirty[0]&1048576|i.$$.dirty[3]&2097152&&t(19,Oi=!g||h),i.$$.dirty[0]&524288|i.$$.dirty[3]&1048576&&bi(Oi,c)},[M,Ee,we,H,Y,pe,ee,Q,Le,ye,Te,le,ae,Ue,Je,tt,Ne,at,St,Oi,g,v,b,A,S,P,W,Z,Ri,Si,Zi,ei,Ti,yt,Ut,zi,Xi,Di,ti,qi,ji,ri,Ai,Ei,Vi,pi,qt,ui,jt,r,a,s,l,o,f,te,j,ie,G,J,ue,w,oe,fe,ve,Me,Ot,mt,xe,Ye,it,Ge,ft,$e,Nt,wt,nt,Ht,ut,Ze,Tt,lt,oi,de,Ce,Ie,Mi,_i,Bi,Lt,Pe,Rt,Ni,li,ki,wi,yi,si,Qi,hi,Ci,Pi,gi,Zt,ii,ci,B,x,be,qe,ai,Ft,n,c,h,_,L,R,X,T,ni,Hi,Li,Gi,Fi,fi,Wi,Ii]}class mm extends ke{constructor(e){super(),_e(this,e,dm,fm,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:106,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:107,supportLink:11,customFullscreenSupported:108,playNextVideo:12,playPrevVideo:13,repeatPlaylist:109,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18},tm,[-1,-1,-1,-1,-1])}}function hm(i){let e,t,n;function o(s){i[26](s)}let l={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(l.controlsElementRef=i[0]),e=new U4({props:l}),We.push(()=>bt(e,"controlsElementRef",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a&2&&(r.bottomHidden=s[1]),a&4&&(r.bottomNoSmooth=s[2]),a&8&&(r.showControls=s[3]),a&16&&(r.isAds=s[4]),a&32&&(r.canRewindLive=s[5]),a&64&&(r.logoClickable=s[6]),a&128&&(r.logoHidden=s[7]),a&256&&(r.videoLogoUrl=s[8]),a&512&&(r.showNextPrevButtons=s[9]),a&1024&&(r.nextButtonActive=s[10]),a&2048&&(r.prevButtonActive=s[11]),a&4096&&(r.isOneVideoPlaylist=s[12]),a&8192&&(r.supportLink=s[13]),a&16384&&(r.customFullscreenSupported=s[14]),a&32768&&(r.playNextVideo=s[15]),a&65536&&(r.playPrevVideo=s[16]),a&131072&&(r.repeatPlaylist=s[17]),a&262144&&(r.toggleFullscreen=s[18]),a&524288&&(r.returnFocus=s[19]),a&1048576&&(r.seekToInteractive=s[20]),a&2097152&&(r.toggleGraph=s[21]),a&4194304&&(r.playPrevChapter=s[22]),!t&&a&1&&(t=!0,r.controlsElementRef=s[0],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function pm(i){let e,t,n;function o(s){i[25](s)}let l={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(l.controlsElementRef=i[0]),e=new mm({props:l}),We.push(()=>bt(e,"controlsElementRef",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a&2&&(r.bottomHidden=s[1]),a&4&&(r.bottomNoSmooth=s[2]),a&8&&(r.showControls=s[3]),a&16&&(r.isAds=s[4]),a&32&&(r.canRewindLive=s[5]),a&64&&(r.logoClickable=s[6]),a&128&&(r.logoHidden=s[7]),a&256&&(r.videoLogoUrl=s[8]),a&512&&(r.showNextPrevButtons=s[9]),a&1024&&(r.nextButtonActive=s[10]),a&2048&&(r.prevButtonActive=s[11]),a&4096&&(r.isOneVideoPlaylist=s[12]),a&8192&&(r.supportLink=s[13]),a&16384&&(r.customFullscreenSupported=s[14]),a&32768&&(r.playNextVideo=s[15]),a&65536&&(r.playPrevVideo=s[16]),a&131072&&(r.repeatPlaylist=s[17]),a&262144&&(r.toggleFullscreen=s[18]),a&524288&&(r.returnFocus=s[19]),a&1048576&&(r.seekToInteractive=s[20]),a&2097152&&(r.toggleGraph=s[21]),a&4194304&&(r.playPrevChapter=s[22]),!t&&a&1&&(t=!0,r.controlsElementRef=s[0],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function gm(i){let e,t,n,o;const l=[pm,hm],s=[];function a(r,c){return r[23]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,[c]){let f=e;e=a(r),e===f?s[e].p(r,c):(me(),p(s[f],1,1,()=>{s[f]=null}),he(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function bm(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:l=!1}=e,{showControls:s}=e,{controlsElementRef:a=void 0}=e,{isAds:r=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:h}=e,{videoLogoUrl:g}=e,{showNextPrevButtons:v}=e,{nextButtonActive:b}=e,{prevButtonActive:_}=e,{isOneVideoPlaylist:L=!1}=e,{supportLink:A}=e,{customFullscreenSupported:S=!0}=e,{playNextVideo:P}=e,{playPrevVideo:R}=e,{repeatPlaylist:W}=e,{toggleFullscreen:X}=e,{returnFocus:Z=et}=e,{seekToInteractive:T}=e,{toggleGraph:te}=e,{playPrevChapter:j}=e;const G=vt().ui.isMobile;F(i,G,w=>t(23,n=w));function J(w){a=w,t(0,a)}function ue(w){a=w,t(0,a)}return i.$$set=w=>{"bottomHidden"in w&&t(1,o=w.bottomHidden),"bottomNoSmooth"in w&&t(2,l=w.bottomNoSmooth),"showControls"in w&&t(3,s=w.showControls),"controlsElementRef"in w&&t(0,a=w.controlsElementRef),"isAds"in w&&t(4,r=w.isAds),"canRewindLive"in w&&t(5,c=w.canRewindLive),"logoClickable"in w&&t(6,f=w.logoClickable),"logoHidden"in w&&t(7,h=w.logoHidden),"videoLogoUrl"in w&&t(8,g=w.videoLogoUrl),"showNextPrevButtons"in w&&t(9,v=w.showNextPrevButtons),"nextButtonActive"in w&&t(10,b=w.nextButtonActive),"prevButtonActive"in w&&t(11,_=w.prevButtonActive),"isOneVideoPlaylist"in w&&t(12,L=w.isOneVideoPlaylist),"supportLink"in w&&t(13,A=w.supportLink),"customFullscreenSupported"in w&&t(14,S=w.customFullscreenSupported),"playNextVideo"in w&&t(15,P=w.playNextVideo),"playPrevVideo"in w&&t(16,R=w.playPrevVideo),"repeatPlaylist"in w&&t(17,W=w.repeatPlaylist),"toggleFullscreen"in w&&t(18,X=w.toggleFullscreen),"returnFocus"in w&&t(19,Z=w.returnFocus),"seekToInteractive"in w&&t(20,T=w.seekToInteractive),"toggleGraph"in w&&t(21,te=w.toggleGraph),"playPrevChapter"in w&&t(22,j=w.playPrevChapter)},[a,o,l,s,r,c,f,h,g,v,b,_,L,A,S,P,R,W,X,Z,T,te,j,n,G,J,ue]}class L1 extends ke{constructor(e){super(),_e(this,e,bm,gm,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:7,videoLogoUrl:8,showNextPrevButtons:9,nextButtonActive:10,prevButtonActive:11,isOneVideoPlaylist:12,supportLink:13,customFullscreenSupported:14,playNextVideo:15,playPrevVideo:16,repeatPlaylist:17,toggleFullscreen:18,returnFocus:19,seekToInteractive:20,toggleGraph:21,playPrevChapter:22})}}function vm(i){Fe(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function _m(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),a=I("feFlood"),r=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),g=I("feBlend"),v=I("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(a,"flood-opacity","0"),u(a,"result","BackgroundImageFix"),u(r,"in","SourceAlpha"),u(r,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(r,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_100684"),u(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_100684"),u(v,"result","shape"),u(s,"id","a"),u(s,"x","2.5"),u(s,"y","0"),u(s,"width","43.996"),u(s,"height","49.5"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",i[0])},m(b,_){C(b,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(s,r),d(s,c),d(s,f),d(s,h),d(s,g),d(s,v)},p(b,[_]){_&1&&V(e,"reversed",b[0])},i:K,o:K,d(b){b&&y(e)}}}function km(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class wm extends ke{constructor(e){super(),_e(this,e,km,_m,ge,{reversed:0},vm)}}function ym(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("clipPath"),a=I("path"),r=I("filter"),c=I("feFlood"),f=I("feColorMatrix"),h=I("feOffset"),g=I("feGaussianBlur"),v=I("feColorMatrix"),b=I("feBlend"),_=I("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(o,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(s,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(g,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(b,"in2","BackgroundImageFix"),u(b,"result","effect1_dropShadow_2260_104204"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_104204"),u(_,"result","shape"),u(r,"id","b"),u(r,"x","-1.5"),u(r,"y","1.5"),u(r,"width","51"),u(r,"height","45"),u(r,"filterUnits","userSpaceOnUse"),u(r,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(L,A){C(L,e,A),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(l,r),d(r,c),d(r,f),d(r,h),d(r,g),d(r,v),d(r,b),d(r,_)},d(L){L&&y(e)}}}function Cm(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),s=I("defs"),a=I("clipPath"),r=I("path"),c=I("filter"),f=I("feFlood"),h=I("feColorMatrix"),g=I("feOffset"),v=I("feGaussianBlur"),b=I("feColorMatrix"),_=I("feBlend"),L=I("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(o,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(o,"fill","#fff"),u(l,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(r,"fill","#fff"),u(r,"d","M0 0h48v48H0z"),u(a,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(h,"in","SourceAlpha"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(h,"result","hardAlpha"),u(v,"stdDeviation","2.5"),u(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(_,"in2","BackgroundImageFix"),u(_,"result","effect1_dropShadow_2260_104293"),u(L,"in","SourceGraphic"),u(L,"in2","effect1_dropShadow_2260_104293"),u(L,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(A,S){C(A,e,S),d(e,t),d(t,n),d(t,o),d(t,l),d(e,s),d(s,a),d(a,r),d(s,c),d(c,f),d(c,h),d(c,g),d(c,v),d(c,b),d(c,_),d(c,L)},d(A){A&&y(e)}}}function Pm(i){let e;function t(l,s){return l[0]?Cm:ym}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},m(l,s){o.m(l,s),C(l,e,s)},p(l,[s]){n!==(n=t(l))&&(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:K,o:K,d(l){l&&y(e),o.d(l)}}}function Sm(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class I1 extends ke{constructor(e){super(),_e(this,e,Sm,Pm,ge,{isOff:0})}}function Tm(i){Fe(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Am(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),a=I("feFlood"),r=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),g=I("feBlend"),v=I("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(a,"flood-opacity","0"),u(a,"result","BackgroundImageFix"),u(r,"in","SourceAlpha"),u(r,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(r,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_106627"),u(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_106627"),u(v,"result","shape"),u(s,"id","a"),u(s,"x","3.402"),u(s,"y","10.105"),u(s,"width","40.098"),u(s,"height","27.785"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",i[0])},m(b,_){C(b,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(s,r),d(s,c),d(s,f),d(s,h),d(s,g),d(s,v)},p(b,[_]){_&1&&V(e,"reversed",b[0])},i:K,o:K,d(b){b&&y(e)}}}function Em(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Vm extends ke{constructor(e){super(),_e(this,e,Em,Am,ge,{reversed:0},Tm)}}function Lm(i){Fe(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Im(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),a=I("feFlood"),r=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),g=I("feBlend"),v=I("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(a,"flood-opacity","0"),u(a,"result","BackgroundImageFix"),u(r,"in","SourceAlpha"),u(r,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(r,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2340_106922"),u(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2340_106922"),u(v,"result","shape"),u(s,"id","a"),u(s,"x","5.5"),u(s,"y","5.5"),u(s,"width","37"),u(s,"height","37"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",i[0])},m(b,_){C(b,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(s,r),d(s,c),d(s,f),d(s,h),d(s,g),d(s,v)},p(b,[_]){_&1&&V(e,"reversed",b[0])},i:K,o:K,d(b){b&&y(e)}}}function Mm(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Bm extends ke{constructor(e){super(),_e(this,e,Mm,Im,ge,{reversed:0},Lm)}}function Nm(i){Fe(i,"v-1lbk7aq",`.hot-key-helpers-container.v-1lbk7aq.v-1lbk7aq{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-1lbk7aq-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-1lbk7aq>div.v-1lbk7aq{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-1lbk7aq svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-1lbk7aq svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-1lbk7aq svg[data-testid="play-icon"],.hot-key-helpers-container.v-1lbk7aq svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-1lbk7aq.v-1lbk7aq{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-1lbk7aq.v-1lbk7aq{left:calc(75% - 100px)}.hot-key-helpers-text.v-1lbk7aq.v-1lbk7aq{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-1lbk7aq.v-1lbk7aq{visibility:hidden;animation:v-1lbk7aq-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-1lbk7aq-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-1lbk7aq-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function pa(i){let e,t=[je.BACKWARD_SEEK,je.FORWARD_SEEK].includes(i[4]),n,o,l,s,a,r=[je.RATE_DOWN,je.RATE_UP].includes(i[4]),c,f=[je.EPISODE_PREV,je.EPISODE_NEXT].includes(i[4]),h,g,v,b,_,L=t&&ga(i),A=i[4]===je.STOP&&ba(),S=i[4]===je.PLAY&&va(),P=i[4]===je.SUBTITLES_OFF&&_a(),R=i[4]===je.SUBTITLES_ON&&ka(),W=r&&wa(i),X=f&&ya(i),Z=i[4]===je.MUTE&&Ca(),T=i[4]===je.VOLUME&&Pa(),te=i[5]&&Sa(i);return{c(){e=k("div"),L&&L.c(),n=N(),A&&A.c(),o=N(),S&&S.c(),l=N(),P&&P.c(),s=N(),R&&R.c(),a=N(),W&&W.c(),c=N(),X&&X.c(),h=N(),Z&&Z.c(),g=N(),T&&T.c(),v=N(),te&&te.c(),b=ht(),u(e,"class","v-1lbk7aq")},m(j,ie){C(j,e,ie),L&&L.m(e,null),d(e,n),A&&A.m(e,null),d(e,o),S&&S.m(e,null),d(e,l),P&&P.m(e,null),d(e,s),R&&R.m(e,null),d(e,a),W&&W.m(e,null),d(e,c),X&&X.m(e,null),d(e,h),Z&&Z.m(e,null),d(e,g),T&&T.m(e,null),C(j,v,ie),te&&te.m(j,ie),C(j,b,ie),_=!0},p(j,ie){ie&16&&(t=[je.BACKWARD_SEEK,je.FORWARD_SEEK].includes(j[4])),t?L?(L.p(j,ie),ie&16&&m(L,1)):(L=ga(j),L.c(),m(L,1),L.m(e,n)):L&&(me(),p(L,1,1,()=>{L=null}),he()),j[4]===je.STOP?A?ie&16&&m(A,1):(A=ba(),A.c(),m(A,1),A.m(e,o)):A&&(me(),p(A,1,1,()=>{A=null}),he()),j[4]===je.PLAY?S?ie&16&&m(S,1):(S=va(),S.c(),m(S,1),S.m(e,l)):S&&(me(),p(S,1,1,()=>{S=null}),he()),j[4]===je.SUBTITLES_OFF?P?ie&16&&m(P,1):(P=_a(),P.c(),m(P,1),P.m(e,s)):P&&(me(),p(P,1,1,()=>{P=null}),he()),j[4]===je.SUBTITLES_ON?R?ie&16&&m(R,1):(R=ka(),R.c(),m(R,1),R.m(e,a)):R&&(me(),p(R,1,1,()=>{R=null}),he()),ie&16&&(r=[je.RATE_DOWN,je.RATE_UP].includes(j[4])),r?W?(W.p(j,ie),ie&16&&m(W,1)):(W=wa(j),W.c(),m(W,1),W.m(e,c)):W&&(me(),p(W,1,1,()=>{W=null}),he()),ie&16&&(f=[je.EPISODE_PREV,je.EPISODE_NEXT].includes(j[4])),f?X?(X.p(j,ie),ie&16&&m(X,1)):(X=ya(j),X.c(),m(X,1),X.m(e,h)):X&&(me(),p(X,1,1,()=>{X=null}),he()),j[4]===je.MUTE?Z?ie&16&&m(Z,1):(Z=Ca(),Z.c(),m(Z,1),Z.m(e,g)):Z&&(me(),p(Z,1,1,()=>{Z=null}),he()),j[4]===je.VOLUME?T?ie&16&&m(T,1):(T=Pa(),T.c(),m(T,1),T.m(e,null)):T&&(me(),p(T,1,1,()=>{T=null}),he()),j[5]?te?te.p(j,ie):(te=Sa(j),te.c(),te.m(b.parentNode,b)):te&&(te.d(1),te=null)},i(j){_||(m(L),m(A),m(S),m(P),m(R),m(W),m(X),m(Z),m(T),_=!0)},o(j){p(L),p(A),p(S),p(P),p(R),p(W),p(X),p(Z),p(T),_=!1},d(j){j&&(y(e),y(v),y(b)),L&&L.d(),A&&A.d(),S&&S.d(),P&&P.d(),R&&R.d(),W&&W.d(),X&&X.d(),Z&&Z.d(),T&&T.d(),te&&te.d(j)}}}function ga(i){let e,t;return e=new wm({props:{reversed:i[4]===je.FORWARD_SEEK}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===je.FORWARD_SEEK),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ba(i){let e,t;return e=new b1({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function va(i){let e,t;return e=new dl({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function _a(i){let e,t;return e=new I1({props:{isOff:!0}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ka(i){let e,t;return e=new I1({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function wa(i){let e,t;return e=new Vm({props:{reversed:i[4]===je.RATE_UP}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===je.RATE_UP),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ya(i){let e,t;return e=new Bm({props:{reversed:i[4]===je.EPISODE_NEXT}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===je.EPISODE_NEXT),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ca(i){let e,t;return e=new Do({props:{volume:0}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Pa(i){let e,t;return e=new Do({props:{volume:1}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Sa(i){let e,t;return{c(){e=k("span"),t=ze(i[5]),u(e,"class","hot-key-helpers-text v-1lbk7aq")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&32&&Xe(t,n[5])},d(n){n&&y(e)}}}function Rm(i){let e,t,n=!i[1]&&i[4]&&pa(i);return{c(){e=k("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-1lbk7aq"),V(e,"hidden",i[1]),V(e,"hot-key-helpers-container--left",i[2]),V(e,"hot-key-helpers-container--right",i[3])},m(o,l){C(o,e,l),n&&n.m(e,null),t=!0},p(o,[l]){!o[1]&&o[4]?n?(n.p(o,l),l&18&&m(n,1)):(n=pa(o),n.c(),m(n,1),n.m(e,null)):n&&(me(),p(n,1,1,()=>{n=null}),he()),(!t||l&2)&&V(e,"hidden",o[1]),(!t||l&4)&&V(e,"hot-key-helpers-container--left",o[2]),(!t||l&8)&&V(e,"hot-key-helpers-container--right",o[3])},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d()}}}function zm(i,e,t){let n,o=K,l=()=>(o(),o=Bo(s,g=>t(6,n=g)),s);i.$$.on_destroy.push(()=>o());let{data:s}=e;l();let a,r,c,f,h;return i.$$set=g=>{"data"in g&&l(t(0,s=g.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,a=!n),t(2,r=n?.type===je.BACKWARD_SEEK),t(3,c=n?.type===je.FORWARD_SEEK),t(4,f=n?.type),n?.t?t(5,h=U(n.t.key,{value:n.t.value||""})):t(5,h=n?.text))},[s,a,r,c,f,h,n]}class Dm extends ke{constructor(e){super(),_e(this,e,zm,Rm,ge,{data:0},Nm)}}function Om(i){Fe(i,"v-1yzc86r",".immersive-controls.v-1yzc86r{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn)}.immersive-controls.m-shifted.v-1yzc86r{top:50px;left:20px}.button-block.v-1yzc86r{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-1yzc86r{display:flex;flex-direction:row;position:relative}.button.v-1yzc86r{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-1yzc86r svg{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-1yzc86r svg{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-1yzc86r svg{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-1yzc86r svg{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-1yzc86r svg{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-1yzc86r:hover svg{opacity:1}")}function Hm(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,A,S;return l=new En({props:{direction:"up"}}),r=new En({props:{direction:"up"}}),g=new En({props:{direction:"up"}}),_=new En({props:{direction:"up"}}),{c(){e=k("div"),t=k("div"),n=k("div"),o=k("div"),O(l.$$.fragment),s=N(),a=k("div"),O(r.$$.fragment),c=N(),f=k("div"),h=k("div"),O(g.$$.fragment),v=N(),b=k("div"),O(_.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(a,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(h,"class","button button-left v-1yzc86r"),u(b,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(t,"class","button-block v-1yzc86r"),u(t,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",U("aria_label_spherical_control")),V(e,"m-shifted",i[0])},m(P,R){C(P,e,R),d(e,t),d(t,n),d(n,o),z(l,o,null),d(n,s),d(n,a),z(r,a,null),d(t,c),d(t,f),d(f,h),z(g,h,null),d(f,v),d(f,b),z(_,b,null),L=!0,A||(S=[Ae(o,"mousedown",i[1]),Ae(o,"mouseup",i[5]),Ae(o,"mouseleave",i[5]),Ae(a,"mousedown",i[3]),Ae(a,"mouseup",i[5]),Ae(a,"mouseleave",i[5]),Ae(h,"mousedown",i[4]),Ae(h,"mouseup",i[5]),Ae(h,"mouseleave",i[5]),Ae(b,"mousedown",i[2]),Ae(b,"mouseup",i[5]),Ae(b,"mouseleave",i[5]),Ae(e,"keydown",i[6]),Ae(e,"keyup",i[7])],A=!0)},p(P,[R]){(!L||R&1)&&V(e,"m-shifted",P[0])},i(P){L||(m(l.$$.fragment,P),m(r.$$.fragment,P),m(g.$$.fragment,P),m(_.$$.fragment,P),L=!0)},o(P){p(l.$$.fragment,P),p(r.$$.fragment,P),p(g.$$.fragment,P),p(_.$$.fragment,P),L=!1},d(P){P&&y(e),D(l),D(r),D(g),D(_),A=!1,xt(S)}}}function Fm(i,e,t){let{isShifted:n=!1}=e;const o=vt(),l=new Set([He.ArrowUp,He.ArrowDown,He.ArrowLeft,He.ArrowRight]),s=()=>{o.actions.internal.startCameraManualRotation(0,1)},a=()=>{o.actions.internal.startCameraManualRotation(0,-1)},r=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),h=v=>{if(l.has(v.code))switch(v.preventDefault(),v.stopPropagation(),v.code){case He.ArrowUp:s();break;case He.ArrowDown:a();break;case He.ArrowLeft:c();break;case He.ArrowRight:r();break}},g=v=>{l.has(v.code)&&(v.preventDefault(),v.stopPropagation(),f())};return i.$$set=v=>{"isShifted"in v&&t(0,n=v.isShifted)},[n,s,a,r,c,f,h,g]}class M1 extends ke{constructor(e){super(),_e(this,e,Fm,Hm,ge,{isShifted:0},Om)}}function Um(i){Fe(i,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function Ta(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function Aa(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function Ea(i){let e,t;function n(s,a){return s[7]&&s[8]?Zm:s[5]?Wm:qm}let o=n(i),l=o(i);return{c(){e=k("div"),t=k("span"),l.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),V(e,"mobile",i[3])},m(s,a){C(s,e,a),d(e,t),l.m(t,null)},p(s,a){o===(o=n(s))&&l?l.p(s,a):(l.d(1),l=o(s),l&&(l.c(),l.m(t,null))),a&8&&V(e,"mobile",s[3])},d(s){s&&y(e),l.d()}}}function qm(i){let e,t=Mt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Va(Ta(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=ht()},m(o,l){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(o,l);C(o,e,l)},p(o,l){if(l&18){t=Mt(o[1]);let s;for(s=0;s<t.length;s+=1){const a=Ta(o,t,s);n[s]?n[s].p(a,l):(n[s]=Va(a),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(o){o&&y(e),sn(n,o)}}}function Wm(i){let e,t,n=Mt(i[6]),o=[];for(let l=0;l<n.length;l+=1)o[l]=Ia(Aa(i,n,l));return{c(){e=k("span"),t=k("span");for(let l=0;l<o.length;l+=1)o[l].c();u(t,"class","caption-segment v-ovfyp5"),At(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){C(l,e,s),d(e,t);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(t,null)},p(l,s){if(s&68){n=Mt(l[6]);let a;for(a=0;a<n.length;a+=1){const r=Aa(l,n,a);o[a]?o[a].p(r,s):(o[a]=Ia(r),o[a].c(),o[a].m(t,null))}for(;a<o.length;a+=1)o[a].d(1);o.length=n.length}s&16&&At(t,"font-size",l[4]+"px")},d(l){l&&y(e),sn(o,l)}}}function Zm(i){let e,t,n=U("subtitles_auto_caption")+"",o;return{c(){e=k("span"),t=k("span"),o=ze(n),u(t,"class","caption-segment v-ovfyp5"),At(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){C(l,e,s),d(e,t),d(t,o)},p(l,s){s&16&&At(t,"font-size",l[4]+"px")},d(l){l&&y(e)}}}function Va(i){let e,t,n=i[16]+"",o,l;return{c(){e=k("span"),t=k("span"),o=ze(n),l=N(),u(t,"class","caption-segment v-ovfyp5"),At(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,a){C(s,e,a),d(e,t),d(t,o),d(e,l)},p(s,a){a&2&&n!==(n=s[16]+"")&&Xe(o,n),a&16&&At(t,"font-size",s[4]+"px")},d(s){s&&y(e)}}}function La(i){let e=i[16]+"",t;return{c(){t=ze(e)},m(n,o){C(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&Xe(t,e)},d(n){n&&y(t)}}}function Ia(i){let e,t=(!i[17]||i[17]<=i[2])&&La(i);return{c(){t&&t.c(),e=ht()},m(n,o){t&&t.m(n,o),C(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?t?t.p(n,o):(t=La(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&y(e),t&&t.d(n)}}}function jm(i){let e,t=i[1].length>0&&Ea(i);return{c(){e=k("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),V(e,"shifted",i[0]),V(e,"auto",i[5]&&!i[8])},m(n,o){C(n,e,o),t&&t.m(e,null)},p(n,[o]){n[1].length>0?t?t.p(n,o):(t=Ea(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),o&1&&V(e,"shifted",n[0]),o&288&&V(e,"auto",n[5]&&!n[8])},i:K,o:K,d(n){n&&y(e),t&&t.d()}}}function Gm(i,e,t){let n,o,{shifted:l}=e,{captions:s}=e,{position:a}=e,{playerSize:r}=e,{isMobile:c=!1}=e;const f=vt(),h=Yi(),g=f.state.currentSubtitle$;F(i,g,P=>t(12,n=P));const v=f.state.isAutoSubtitleCaptionVisible$;F(i,v,P=>t(8,o=P));let b,_,L,A,S;return Ki(()=>{S=window.setTimeout(()=>{v.set(!1)},h.autoSubtitlesTimeout)}),Ro(()=>{window.clearTimeout(S)}),i.$$set=P=>{"shifted"in P&&t(0,l=P.shifted),"captions"in P&&t(1,s=P.captions),"position"in P&&t(2,a=P.position),"playerSize"in P&&t(11,r=P.playerSize),"isMobile"in P&&t(3,c=P.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const P=r.width*.02;t(4,b=P<=h.minSubtitlesFontSize?h.minSubtitlesFontSize:P)}i.$$.dirty&2&&t(5,_=s.some(P=>P.type==="timestamp")),i.$$.dirty&2&&t(6,L=s.reduce((P,{type:R,value:W})=>(R==="timestamp"?P.push({timeAppeared:Number(W),value:""}):P.length===0?P.push({value:String(W)}):P[P.length-1].value=String(W),P),[])),i.$$.dirty&4096&&t(7,A=!!n.isAuto)},[l,s,a,c,b,_,L,A,o,g,v,r,n]}class B1 extends ke{constructor(e){super(),_e(this,e,Gm,jm,ge,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},Um)}}function Km(i){Fe(i,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function Ma(i){let e,t,n;return{c(){e=k("div"),t=ze("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=ze(i[1]),u(e,"class","text v-1o62kpz")},m(o,l){C(o,e,l),d(e,t),d(e,n)},p(o,l){l&2&&Xe(n,o[1])},d(o){o&&y(e)}}}function Ym(i){let e,t,n,o,l,s,a=i[1]&&Ma(i);return{c(){e=k("div"),t=k("div"),t.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=N(),a&&a.c(),u(t,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${i[0]||""}')`)},m(r,c){C(r,e,c),d(e,t),d(e,n),a&&a.m(e,null),l||(s=Ae(e,"click",i[2]),l=!0)},p(r,[c]){r[1]?a?a.p(r,c):(a=Ma(r),a.c(),a.m(e,null)):a&&(a.d(1),a=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${r[0]||""}')`)&&u(e,"style",o)},i:K,o:K,d(r){r&&y(e),a&&a.d(),l=!1,s()}}}function Qm(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function l(s){Jn.call(this,i,s)}return i.$$set=s=>{"thumbUrl"in s&&t(0,n=s.thumbUrl),"chromecastDeviceName"in s&&t(1,o=s.chromecastDeviceName)},[n,o,l]}class N1 extends ke{constructor(e){super(),_e(this,e,Qm,Ym,ge,{thumbUrl:0,chromecastDeviceName:1},Km)}}function Xm(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Jm extends ke{constructor(e){super(),_e(this,e,null,Xm,ge,{})}}function xm(i){Fe(i,"v-13zpvm8",".container.v-13zpvm8{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function $m(i){let e,t,n;return t=new Jm({}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}class R1 extends ke{constructor(e){super(),_e(this,e,null,$m,ge,{},xm)}}function e3(i){Fe(i,"v-17wno3",".container.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-17wno3.v-17wno3{opacity:0;visibility:hidden}.playButton.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-17wno3:hover .playButtonBackground.v-17wno3{background-color:var(--big-play-hover-bg-color);transform:scale(1.15)}.playButton.v-17wno3 svg{transform:scale(2)}")}function t3(i){let e,t,n,o,l,s,a,r,c;return l=new dl({}),{c(){e=k("div"),t=k("div"),n=k("div"),o=N(),O(l.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(t,"class","playButton v-17wno3"),u(e,"class","container v-17wno3"),u(e,"style",s=`background-color: #222; background-image: url('${i[0]||""}')`),V(e,"hidden",i[1])},m(f,h){C(f,e,h),d(e,t),d(t,n),d(t,o),z(l,t,null),a=!0,r||(c=Ae(e,"click",rt(function(){kn(i[2])&&i[2].apply(this,arguments)})),r=!0)},p(f,[h]){i=f,(!a||h&1&&s!==(s=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",s),(!a||h&2)&&V(e,"hidden",i[1])},i(f){a||(m(l.$$.fragment,f),a=!0)},o(f){p(l.$$.fragment,f),a=!1},d(f){f&&y(e),D(l),r=!1,c()}}}function i3(i,e,t){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:l}=e;return i.$$set=s=>{"thumbUrl"in s&&t(0,n=s.thumbUrl),"hidden"in s&&t(1,o=s.hidden),"startVideo"in s&&t(2,l=s.startVideo)},[n,o,l]}class z1 extends ke{constructor(e){super(),_e(this,e,i3,t3,ge,{thumbUrl:0,hidden:1,startVideo:2},e3)}}function n3(i){Fe(i,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
|
|
24
|
+
)}`)}function ss(t){let e;return{c(){e=T("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(i,n){E(i,e,n)},d(i){i&&S(e)}}}function rs(t){let e,i;return e=new Af({props:{position:t[5],secondsToWatchBeforeSkip:t[6],skipAd:t[8].actions.internal.skipAd}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&32&&(s.position=n[5]),o&64&&(s.secondsToWatchBeforeSkip=n[6]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function as(t){let e,i;return e=new yf({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function us(t){let e,i;return e=new Vf({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Bf(t){let e,i,n,o,s,l,r,a=t[0]&&ss(),c=t[3]&&rs(t),f=t[7]&&as(),p=t[4]&&us();return{c(){e=T("div"),a&&a.c(),i=z(),n=T("video"),o=z(),c&&c.c(),s=z(),f&&f.c(),l=z(),p&&p.c(),St(n,"width","100%"),St(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,_){E(h,e,_),a&&a.m(e,null),m(e,i),m(e,n),t[19](n),m(e,o),c&&c.m(e,null),m(e,s),f&&f.m(e,null),m(e,l),p&&p.m(e,null),t[20](e),r=!0},p(h,[_]){h[0]?a||(a=ss(),a.c(),a.m(e,i)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,_),_&8&&d(c,1)):(c=rs(h),c.c(),d(c,1),c.m(e,s)):c&&(fe(),g(c,1,1,()=>{c=null}),de()),h[7]?f?_&128&&d(f,1):(f=as(),f.c(),d(f,1),f.m(e,l)):f&&(fe(),g(f,1,1,()=>{f=null}),de()),h[4]?p?_&16&&d(p,1):(p=us(),p.c(),d(p,1),p.m(e,null)):p&&(fe(),g(p,1,1,()=>{p=null}),de())},i(h){r||(d(c),d(f),d(p),r=!0)},o(h){g(c),g(f),g(p),r=!1},d(h){h&&S(e),a&&a.d(),t[19](null),c&&c.d(),f&&f.d(),p&&p.d(),t[20](null)}}}function Rf(t,e,i){let n,o,s,l,r,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:p=0}=e;const h=mt(),_=h.state.isEnded$;O(t,_,M=>i(7,r=M));const b=h.ui.isMobile;O(t,b,M=>i(0,o=M));let k,v,P=!1;const y=h.ads.playbackState;O(t,y,M=>i(18,n=M));const w=h.ads.canSkip,D=h.ads.position;O(t,D,M=>i(5,s=M));const ne=h.ads.secondsToWatchBeforeSkip;O(t,ne,M=>i(6,l=M));let I,Z;ln(()=>{const M=new AbortController;let te=()=>{M.abort()};const N=h.getAdmanWrapper();if(!a){N.onAdmanLoadingError();return}const{width:Y,height:oe}=Ye(h.ui.playerSize),C=Ye(h.ui.isFullscreen),le=Ye(h.ui.isAutoplay),ke={width:Y,height:oe,isFullscreen:C,isAutoplay:le,adsContainer:k,adsVideoElement:v,slotId:a,params:c,previewParam:f,duration:p};return window.AdmanHTML?(N.initAdman(ke),P=!0):N.loadAdman(M.signal).then(()=>{N.initAdman(ke),P=!0}).catch(()=>{N.onAdmanLoadingError()}),()=>{!P&&te()}});function V(M){Ce[M?"unshift":"push"](()=>{v=M,i(2,v)})}function ee(M){Ce[M?"unshift":"push"](()=>{k=M,i(1,k)})}return t.$$set=M=>{"adsSlotId"in M&&i(14,a=M.adsSlotId),"adsParams"in M&&i(15,c=M.adsParams),"adsPreviewParam"in M&&i(16,f=M.adsPreviewParam),"duration"in M&&i(17,p=M.duration)},t.$$.update=()=>{t.$$.dirty&262144&&i(3,I=w&&n!==Xt.INACTIVE),t.$$.dirty&262145&&i(4,Z=o&&n!==Xt.INACTIVE)},[o,k,v,I,Z,s,l,r,h,_,b,y,D,ne,a,c,f,p,n,V,ee]}class D1 extends we{constructor(e){super(),ve(this,e,Rf,Bf,ge,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},Mf)}}const In=t=>{if(!isFinite(t))return"00:00";let e=Math.round(t);const i=Math.floor(e/(60*60));e-=i*(60*60);const n=Math.floor(e/60);return e-=n*60,(i>0?[i,n,e]:[n,e]).map(s=>s>9?String(s):`0${s}`).join(":")};function Nf(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(i,"fill","none"),u(i,"stroke","#fff"),u(i,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(o,s){E(o,e,s),m(e,i),m(e,n)},d(o){o&&S(e)}}}function zf(t){let e,i,n;return{c(){e=R("svg"),i=R("rect"),n=R("path"),u(i,"width","42"),u(i,"height","20"),u(i,"rx","5"),u(i,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(o,s){E(o,e,s),m(e,i),m(e,n)},d(o){o&&S(e)}}}function Df(t){let e;function i(s,l){return s[0]?zf:Nf}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n!==(n=i(s))&&(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(s){s&&S(e),o.d(s)}}}function Of(t,e,i){let{isActive:n=!1}=e;return t.$$set=o=>{"isActive"in o&&i(0,n=o.isActive)},[n]}class O1 extends we{constructor(e){super(),ve(this,e,Of,Df,ge,{isActive:0})}}function Hf(t){He(t,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function Ff(t){let e=In(t[4]-t[3])+"",i;return{c(){i=ze(e)},m(n,o){E(n,i,o)},p(n,o){o&24&&e!==(e=In(n[4]-n[3])+"")&&Qe(i,e)},i:W,o:W,d(n){n&&S(i)}}}function Uf(t){let e,i,n;return i=new O1({props:{isActive:!0}}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,s){E(o,e,s),H(i,e,null),n=!0},p:W,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),F(i)}}}function qf(t){let e,i,n,o,s,l,r;const a=[Uf,Ff],c=[];function f(p,h){return p[1]?0:1}return s=f(t),l=c[s]=a[s](t),{c(){e=T("div"),i=T("div"),i.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=z(),o=T("span"),l.c(),u(i,"class","thumb-timer-equalizer v-7pnl2h"),u(o,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),B(e,"live",t[1]),B(e,"hidden",t[0]),B(e,"playing",t[2])},m(p,h){E(p,e,h),m(e,i),m(e,n),m(e,o),c[s].m(o,null),r=!0},p(p,[h]){let _=s;s=f(p),s===_?c[s].p(p,h):(fe(),g(c[_],1,1,()=>{c[_]=null}),de(),l=c[s],l?l.p(p,h):(l=c[s]=a[s](p),l.c()),d(l,1),l.m(o,null)),(!r||h&2)&&B(e,"live",p[1]),(!r||h&1)&&B(e,"hidden",p[0]),(!r||h&4)&&B(e,"playing",p[2])},i(p){r||(d(l),r=!0)},o(p){g(l),r=!1},d(p){p&&S(e),c[s].d()}}}function Wf(t,e,i){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:s=!1}=e,{position:l}=e,{duration:r}=e;return t.$$set=a=>{"isHidden"in a&&i(0,n=a.isHidden),"isLive"in a&&i(1,o=a.isLive),"isPlaying"in a&&i(2,s=a.isPlaying),"position"in a&&i(3,l=a.position),"duration"in a&&i(4,r=a.duration)},[n,o,s,l,r]}class H1 extends we{constructor(e){super(),ve(this,e,Wf,qf,ge,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},Hf)}}const Sl=t=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const e=document.createElement("textarea");e.textContent=t,e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}}},Gn=t=>{t.stopPropagation(),t.preventDefault()},Zf=t=>{let e=t.previousElementSibling;e||(e=t.parentNode?.lastElementChild),e?.focus()},jf=t=>{let e=t.nextElementSibling;e||(e=t.parentNode?.firstElementChild),e?.focus()},Kf=t=>{const e=t.code;return e===Ie.Tab&&!t.shiftKey||e===Ie.ArrowDown},Gf=t=>{const e=t.code;return e===Ie.Tab||e===Ie.ArrowUp},F1=t=>t.code===Ie.Escape,Yf=t=>t.code===Ie.ArrowLeft,U1=(t,e=!0)=>{const i=t.code;return[Ie.Enter,Ie.Space].includes(i)||!e&&i===Ie.ArrowRight},q1=t=>{if(Kf(t)){Gn(t),jf(t.target);return}Gf(t)&&(Gn(t),Zf(t.target))},Nl=t=>t?.pointerType==="",zl=async(t,e,i)=>{await ol(),t&&!t.classList.contains("opened")&&!e&&Ye(i)&&(i.set(!1),t.focus())},Dl=async(t,e,i)=>{await ol(),!!t&&e&&i&&t.firstChild.focus()},jo=async(t,e,i)=>{!!t&&i&&(e.set(!1),setTimeout(()=>{t.focus()},Fc))},W1=(t,e)=>{q1(t),F1(t)&&(Gn(t),e())},Ko=async(t,e,i)=>{U1(t,!1)&&(Gn(t),e(),await ol(),i()?.focus())},Go=async(t,e,i,n)=>{if(q1(t),Yf(t)){Gn(t),e(),i.set(!0);return}F1(t)&&(Gn(t),n())},xi=(t,e)=>{U1(t)&&(Gn(t),e())};function Qf(t){He(t,"v-gew86s","ul.v-gew86s{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-gew86s{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-gew86s:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function cs(t){let e,i,n,o,s,l,r=(t[9].features.saveDebugInfoToFile?K("menu_save_debug"):K("menu_copy_debug"))+"",a,c,f,p=K("menu_debug_overlay")+"",h,_,b,k,v=t[9].features.copyVideoLink&&t[8].callbacks?.onCopyVideoLink&&Xf(t),P=t[11]&&t[5]!==yn.CONNECTED&&!t[16]&&ds(t),y=t[9].features.videoRotate&&!t[16]&&Jf(t),w=t[9].showSupport&&!t[6]&&ms(t);return{c(){e=T("ul"),v&&v.c(),i=z(),P&&P.c(),n=z(),y&&y.c(),o=z(),w&&w.c(),s=z(),l=T("li"),a=ze(r),c=z(),f=T("li"),h=ze(p),u(l,"tabindex","0"),u(l,"role","menuitem"),u(l,"aria-label",t[9].features.saveDebugInfoToFile?K("menu_save_debug"):K("menu_copy_debug")),u(l,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",_=t[7]?K("aria_label_menu_debug_overlay_disable"):K("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),St(e,"top",t[3]+"px"),St(e,"left",t[2]+"px"),u(e,"class","v-gew86s")},m(D,ne){E(D,e,ne),v&&v.m(e,null),m(e,i),P&&P.m(e,null),m(e,n),y&&y.m(e,null),m(e,o),w&&w.m(e,null),m(e,s),m(e,l),m(l,a),m(e,c),m(e,f),m(f,h),t[40](e),b||(k=[he(l,"click",tt(t[19])),he(l,"keydown",t[29]),he(f,"click",tt(t[20])),he(f,"keydown",t[30]),he(e,"contextmenu",Jt(t[37])),he(e,"keydown",t[23])],b=!0)},p(D,ne){D[9].features.copyVideoLink&&D[8].callbacks?.onCopyVideoLink&&v.p(D,ne),D[11]&&D[5]!==yn.CONNECTED&&!D[16]?P?P.p(D,ne):(P=ds(D),P.c(),P.m(e,n)):P&&(P.d(1),P=null),D[9].features.videoRotate&&!D[16]&&y.p(D,ne),D[9].showSupport&&!D[6]?w?w.p(D,ne):(w=ms(D),w.c(),w.m(e,s)):w&&(w.d(1),w=null),ne[0]&128&&_!==(_=D[7]?K("aria_label_menu_debug_overlay_disable"):K("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",_),ne[0]&8&&St(e,"top",D[3]+"px"),ne[0]&4&&St(e,"left",D[2]+"px")},d(D){D&&S(e),v&&v.d(),P&&P.d(),y&&y.d(),w&&w.d(),t[40](null),b=!1,et(k)}}}function Xf(t){let e,i=K("menu_copy_video_link")+"",n,o,s,l,r,a=!t[4]&&!t[16]&&fs(t);return{c(){e=T("li"),n=ze(i),o=z(),a&&a.c(),s=lt(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",K("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){E(c,e,f),m(e,n),E(c,o,f),a&&a.m(c,f),E(c,s,f),l||(r=[he(e,"click",tt(t[38])),he(e,"keydown",t[24])],l=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=fs(c),a.c(),a.m(s.parentNode,s)):a&&(a.d(1),a=null)},d(c){c&&(S(e),S(o),S(s)),a&&a.d(c),l=!1,et(r)}}}function fs(t){let e,i=K("menu_copy_video_link_with_timestamp")+"",n,o,s;return{c(){e=T("li"),n=ze(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",K("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(l,r){E(l,e,r),m(e,n),o||(s=[he(e,"click",tt(t[39])),he(e,"keydown",t[25])],o=!0)},p:W,d(l){l&&S(e),o=!1,et(s)}}}function ds(t){let e,i=K("menu_pip")+"",n,o,s;return{c(){e=T("li"),n=ze(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",K("menu_pip")),u(e,"class","v-gew86s")},m(l,r){E(l,e,r),m(e,n),o||(s=[he(e,"click",tt(t[21])),he(e,"keydown",t[26])],o=!0)},p:W,d(l){l&&S(e),o=!1,et(s)}}}function Jf(t){let e,i=K("menu_video_rotate")+"",n,o,s;return{c(){e=T("li"),n=ze(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",K("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(l,r){E(l,e,r),m(e,n),o||(s=[he(e,"click",tt(t[17])),he(e,"keydown",t[27])],o=!0)},p:W,d(l){l&&S(e),o=!1,et(s)}}}function ms(t){let e,i=K("menu_report")+"",n,o,s;return{c(){e=T("li"),n=ze(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${K("menu_report")}. ${K("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(l,r){E(l,e,r),m(e,n),o||(s=[he(e,"click",tt(t[18])),he(e,"keydown",t[28])],o=!0)},p:W,d(l){l&&S(e),o=!1,et(s)}}}function xf(t){let e,i=t[1]&&cs(t);return{c(){i&&i.c(),e=lt()},m(n,o){i&&i.m(n,o),E(n,e,o)},p(n,o){n[1]?i?i.p(n,o):(i=cs(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},i:W,o:W,d(n){n&&S(e),i&&i.d(n)}}}function $f(t,e,i){let n,o,s,l,r,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:p=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:_=void 0}=e,{menuElementRef:b=void 0}=e,{returnFocus:k}=e,v=0,P=0;const y=mt(),w=sn(),D=y.ui.contextMenuVisible,ne=y.ui.debugPanelVisible;O(t,ne,ae=>i(7,r=ae));const I=y.webApi.pictureInPictureApi,Z=y.webApi.pictureInPictureApi?.info.isActive$;O(t,Z,ae=>i(6,l=ae));const V=y.state.chromecastState$;O(t,V,ae=>i(5,s=ae));const ee=y.state.isLive$;O(t,ee,ae=>i(4,o=ae));const M=y.state.positionExact$;O(t,M,ae=>i(41,n=ae));const te=y.state.isInteractive,N=()=>{D.set(!1)},Y=(ae,be)=>{if(!b||!h||!_)return;const x=b.getBoundingClientRect(),Q=h.getBoundingClientRect();i(2,v=ae-Q.left),i(3,P=be-Q.top),v+x.width>Q.width&&i(2,v=Q.width-x.width),P+x.height>Q.height&&i(3,P=Q.height-x.height),i(2,v=Math.max(v,0)),i(3,P=Math.max(P,0))},oe=()=>{N(),y.actions.internal.videoRotate()},C=()=>{window.open(c,"_blank"),N(),y.actions.internal.pause()},le=()=>{const ae=y.actions.internal.getDebugTextData();if(w.features.saveDebugInfoToFile){const be=new Blob([...ae],{type:"plain/text"}),x=window.URL.createObjectURL(be);b1(x,"vk_player_debug_info","txt")}else Sl(y.actions.internal.getDebugTextData());N(),k?.()},ke=()=>{ne.set(!0),N(),k?.()},me=async()=>{try{I?.isActive()?await I?.remove():await I?.request()}finally{N(),k?.()}},_e=(ae=!1)=>{if(y.callbacks?.onCopyVideoLink){const be=y.callbacks?.onCopyVideoLink(ae,n);be&&Sl(be)}N()},X=ae=>{W1(ae,N)},ue=ae=>{xi(ae,()=>_e())},De=ae=>{xi(ae,()=>_e(!0))},re=ae=>{xi(ae,()=>me())},Le=ae=>{xi(ae,()=>oe())},Te=ae=>{xi(ae,()=>C())},pe=ae=>{xi(ae,()=>le())},Ee=ae=>{xi(ae,()=>ke())};function A(ae){go.call(this,t,ae)}const ie=()=>_e(),Ve=()=>_e(!0);function ye(ae){Ce[ae?"unshift":"push"](()=>{b=ae,i(0,b)})}return t.$$set=ae=>{"visible"in ae&&i(1,a=ae.visible),"supportLink"in ae&&i(31,c=ae.supportLink),"x"in ae&&i(32,f=ae.x),"y"in ae&&i(33,p=ae.y),"playerContainerRef"in ae&&i(34,h=ae.playerContainerRef),"controlsContainerRef"in ae&&i(35,_=ae.controlsContainerRef),"menuElementRef"in ae&&i(0,b=ae.menuElementRef),"returnFocus"in ae&&i(36,k=ae.returnFocus)},t.$$.update=()=>{t.$$.dirty[1]&6&&Y(f,p)},[b,a,v,P,o,s,l,r,y,w,ne,I,Z,V,ee,M,te,oe,C,le,ke,me,_e,X,ue,De,re,Le,Te,pe,Ee,c,f,p,h,_,k,A,ie,Ve,ye]}class e0 extends we{constructor(e){super(),ve(this,e,$f,xf,ge,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},Qf,[-1,-1])}}class t0{value;next;constructor(e){this.value=e,this.next=null}}class dl{top;bottom;size;maxSize;constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const i=new t0(e);this.top?(this.top.next=i,this.top=i):(this.top=i,this.bottom=i),this.size++,this.size>this.maxSize&&this.bottom&&(this.bottom=this.bottom.next)}getValuesFromBottom(){const e=[];let i=this.bottom;for(;i;)e.push(i.value),i=i.next;return e}}function i0(t){He(t,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function n0(t){let e,i;return{c(){e=T("div"),i=T("canvas"),u(i,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,o){E(n,e,o),m(e,i),t[3](i)},p:W,i:W,o:W,d(n){n&&S(e),t[3](null)}}}const ml=16,pl=120,ps=60;function o0(t,e,i,n,o){o===0&&(o=1),t.fillStyle="#fff",t.fillRect(e,i,n,o)}function l0(t,e,i){let{values:n=[]}=e,o,s;const l=pl/ps;ln(()=>{i(0,o.width=pl,o),i(0,o.height=ml,o),i(2,s=o.getContext("2d"))});function r(a){Ce[a?"unshift":"push"](()=>{o=a,i(0,o)})}return t.$$set=a=>{"values"in a&&i(1,n=a.values)},t.$$.update=()=>{if(t.$$.dirty&6&&s){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);s.clearRect(0,0,pl,ml);let c=ps-1;for(let f=n.length-1;f>=0;f--){const p=c*l,h=a>0?ml*(n[f]/a):0;o0(s,p,0,l,h),c--}}},[o,n,s,r]}class Ol extends we{constructor(e){super(),ve(this,e,l0,n0,ge,{values:1},i0)}}function s0(t){He(t,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function hs(t){let e,i,n,o,s=t[0].id+"",l;return{c(){e=T("div"),i=T("div"),i.textContent="Video id",n=z(),o=T("span"),l=ze(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){E(r,e,a),m(e,i),m(e,n),m(e,o),m(o,l)},p(r,a){a&1&&s!==(s=r[0].id+"")&&Qe(l,s)},d(r){r&&S(e)}}}function gs(t){let e,i,n,o,s=t[0].provider+"",l;return{c(){e=T("div"),i=T("div"),i.textContent="Provider",n=z(),o=T("span"),l=ze(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){E(r,e,a),m(e,i),m(e,n),m(e,o),m(o,l)},p(r,a){a&1&&s!==(s=r[0].provider+"")&&Qe(l,s)},d(r){r&&S(e)}}}function bs(t){let e,i,n,o,s=t[0].viewport+"",l;return{c(){e=T("div"),i=T("div"),i.textContent="Viewport",n=z(),o=T("span"),l=ze(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){E(r,e,a),m(e,i),m(e,n),m(e,o),m(o,l)},p(r,a){a&1&&s!==(s=r[0].viewport+"")&&Qe(l,s)},d(r){r&&S(e)}}}function _s(t){let e,i,n,o,s=t[0].videoSize+"",l;return{c(){e=T("div"),i=T("div"),i.textContent="Video size",n=z(),o=T("span"),l=ze(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){E(r,e,a),m(e,i),m(e,n),m(e,o),m(o,l)},p(r,a){a&1&&s!==(s=r[0].videoSize+"")&&Qe(l,s)},d(r){r&&S(e)}}}function vs(t){let e,i,n,o,s=t[0].cdn+"",l;return{c(){e=T("div"),i=T("div"),i.textContent="CDN host",n=z(),o=T("span"),l=ze(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){E(r,e,a),m(e,i),m(e,n),m(e,o),m(o,l)},p(r,a){a&1&&s!==(s=r[0].cdn+"")&&Qe(l,s)},d(r){r&&S(e)}}}function ws(t){let e,i,n,o,s=t[0].volume+"",l,r;return{c(){e=T("div"),i=T("div"),i.textContent="Volume",n=z(),o=T("span"),l=ze(s),r=ze(" %"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){E(a,e,c),m(e,i),m(e,n),m(e,o),m(o,l),m(o,r)},p(a,c){c&1&&s!==(s=a[0].volume+"")&&Qe(l,s)},d(a){a&&S(e)}}}function ks(t){let e,i,n,o,s=t[0].buffer.toFixed(2)+"",l,r;return{c(){e=T("div"),i=T("div"),i.textContent="Buffer",n=z(),o=T("span"),l=ze(s),r=ze(" s"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){E(a,e,c),m(e,i),m(e,n),m(e,o),m(o,l),m(o,r)},p(a,c){c&1&&s!==(s=a[0].buffer.toFixed(2)+"")&&Qe(l,s)},d(a){a&&S(e)}}}function ys(t){let e,i,n,o,s,l,r=t[0].speed.toFixed(2)+"",a,c,f;return o=new Ol({props:{values:t[5]}}),{c(){e=T("div"),i=T("div"),i.textContent="Network",n=z(),U(o.$$.fragment),s=z(),l=T("span"),a=ze(r),c=ze(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(p,h){E(p,e,h),m(e,i),m(e,n),H(o,e,null),m(e,s),m(e,l),m(l,a),m(l,c),f=!0},p(p,h){const _={};h&32&&(_.values=p[5]),o.$set(_),(!f||h&1)&&r!==(r=p[0].speed.toFixed(2)+"")&&Qe(a,r)},i(p){f||(d(o.$$.fragment,p),f=!0)},o(p){g(o.$$.fragment,p),f=!1},d(p){p&&S(e),F(o)}}}function Cs(t){let e,i,n,o,s,l,r=t[0].bitrate.toFixed(2)+"",a,c,f;return o=new Ol({props:{values:t[6]}}),{c(){e=T("div"),i=T("div"),i.textContent="V bitrate",n=z(),U(o.$$.fragment),s=z(),l=T("span"),a=ze(r),c=ze(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(p,h){E(p,e,h),m(e,i),m(e,n),H(o,e,null),m(e,s),m(e,l),m(l,a),m(l,c),f=!0},p(p,h){const _={};h&64&&(_.values=p[6]),o.$set(_),(!f||h&1)&&r!==(r=p[0].bitrate.toFixed(2)+"")&&Qe(a,r)},i(p){f||(d(o.$$.fragment,p),f=!0)},o(p){g(o.$$.fragment,p),f=!1},d(p){p&&S(e),F(o)}}}function r0(t){let e,i,n,o,s,l,r,a,c=t[0].version+"",f,p,h,_,b,k,v,P,y,w,D,ne,I,Z,V,ee,M,te,N,Y,oe,C,le,ke,me,_e,X,ue,De,re,Le=t[0].id&&hs(t),Te=t[0].provider&&gs(t),pe=t[0].viewport&&bs(t),Ee=t[0].videoSize&&_s(t),A=t[0].cdn&&vs(t),ie=t[0].volume&&ws(t),Ve=t[0].buffer&&ks(t),ye=t[0].speed&&ys(t),ae=t[0].bitrate&&Cs(t);return ke=new Ol({props:{values:t[4]}}),{c(){e=T("div"),i=T("button"),i.textContent="[x]",n=z(),o=T("div"),s=T("div"),l=T("div"),l.textContent="Version",r=z(),a=T("span"),f=ze(c),p=z(),Le&&Le.c(),h=z(),Te&&Te.c(),_=z(),pe&&pe.c(),b=z(),Ee&&Ee.c(),k=z(),A&&A.c(),v=z(),ie&&ie.c(),P=z(),Ve&&Ve.c(),y=z(),w=T("div"),D=T("div"),D.textContent="Dropped",ne=z(),I=T("span"),Z=ze(t[2]),V=ze(" / "),ee=ze(t[1]),M=ze(" frames"),te=z(),ye&&ye.c(),N=z(),ae&&ae.c(),Y=z(),oe=T("div"),C=T("div"),C.textContent="FPS",le=z(),U(ke.$$.fragment),me=z(),_e=T("span"),X=ze(t[3]),u(i,"class","close v-1gy2e68"),u(i,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(l,"class","v-1gy2e68"),u(s,"class","v-1gy2e68"),u(D,"class","v-1gy2e68"),u(w,"class","v-1gy2e68"),u(C,"class","v-1gy2e68"),u(oe,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),u(e,"role","region"),u(e,"aria-label",K("aria_label_debug_panel")),B(e,"container-mobile",t[7])},m(be,x){E(be,e,x),m(e,i),m(e,n),m(e,o),m(o,s),m(s,l),m(s,r),m(s,a),m(a,f),m(o,p),Le&&Le.m(o,null),m(o,h),Te&&Te.m(o,null),m(o,_),pe&&pe.m(o,null),m(o,b),Ee&&Ee.m(o,null),m(o,k),A&&A.m(o,null),m(o,v),ie&&ie.m(o,null),m(o,P),Ve&&Ve.m(o,null),m(o,y),m(o,w),m(w,D),m(w,ne),m(w,I),m(I,Z),m(I,V),m(I,ee),m(I,M),m(o,te),ye&&ye.m(o,null),m(o,N),ae&&ae.m(o,null),m(o,Y),m(o,oe),m(oe,C),m(oe,le),H(ke,oe,null),m(oe,me),m(oe,_e),m(_e,X),ue=!0,De||(re=he(i,"click",tt(t[9])),De=!0)},p(be,[x]){(!ue||x&1)&&c!==(c=be[0].version+"")&&Qe(f,c),be[0].id?Le?Le.p(be,x):(Le=hs(be),Le.c(),Le.m(o,h)):Le&&(Le.d(1),Le=null),be[0].provider?Te?Te.p(be,x):(Te=gs(be),Te.c(),Te.m(o,_)):Te&&(Te.d(1),Te=null),be[0].viewport?pe?pe.p(be,x):(pe=bs(be),pe.c(),pe.m(o,b)):pe&&(pe.d(1),pe=null),be[0].videoSize?Ee?Ee.p(be,x):(Ee=_s(be),Ee.c(),Ee.m(o,k)):Ee&&(Ee.d(1),Ee=null),be[0].cdn?A?A.p(be,x):(A=vs(be),A.c(),A.m(o,v)):A&&(A.d(1),A=null),be[0].volume?ie?ie.p(be,x):(ie=ws(be),ie.c(),ie.m(o,P)):ie&&(ie.d(1),ie=null),be[0].buffer?Ve?Ve.p(be,x):(Ve=ks(be),Ve.c(),Ve.m(o,y)):Ve&&(Ve.d(1),Ve=null),(!ue||x&4)&&Qe(Z,be[2]),(!ue||x&2)&&Qe(ee,be[1]),be[0].speed?ye?(ye.p(be,x),x&1&&d(ye,1)):(ye=ys(be),ye.c(),d(ye,1),ye.m(o,N)):ye&&(fe(),g(ye,1,1,()=>{ye=null}),de()),be[0].bitrate?ae?(ae.p(be,x),x&1&&d(ae,1)):(ae=Cs(be),ae.c(),d(ae,1),ae.m(o,Y)):ae&&(fe(),g(ae,1,1,()=>{ae=null}),de());const Q={};x&16&&(Q.values=be[4]),ke.$set(Q),(!ue||x&8)&&Qe(X,be[3]),(!ue||x&128)&&B(e,"container-mobile",be[7])},i(be){ue||(d(ye),d(ae),d(ke.$$.fragment,be),ue=!0)},o(be){g(ye),g(ae),g(ke.$$.fragment,be),ue=!1},d(be){be&&S(e),Le&&Le.d(),Te&&Te.d(),pe&&pe.d(),Ee&&Ee.d(),A&&A.d(),ie&&ie.d(),Ve&&Ve.d(),ye&&ye.d(),ae&&ae.d(),F(ke),De=!1,re()}}}function a0(t,e,i){let n;const o=mt(),s=o.ui.debugPanelVisible,l=o.ui.isMobile;O(t,l,w=>i(7,n=w));const r=()=>{_n.remove(Cl),s.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,p=0,h=0;const _=new dl(60),b=new dl(60),k=new dl(60);let v=[],P=[],y=[];return ln(()=>{_n.set(Cl,"true"),o.actions.internal.startLogging(),c&&(i(2,p=c.getVideoPlaybackQuality().droppedVideoFrames),i(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const w=window.setInterval(()=>{i(0,a=o.actions.internal.getDebugPanelData())},500);let D;return c&&(D=window.setInterval(()=>{if(c){i(2,p=c.getVideoPlaybackQuality().droppedVideoFrames);const ne=c.getVideoPlaybackQuality().totalVideoFrames;i(3,h=ne-f),i(1,f=ne),_.push(h),a.speed&&b.push(a.speed),a.bitrate&&k.push(a.bitrate),i(4,v=_.getValuesFromBottom()),i(5,P=b.getValuesFromBottom()),i(6,y=k.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(w),D&&clearInterval(D)}}),[a,f,p,h,v,P,y,n,l,r]}class Z1 extends we{constructor(e){super(),ve(this,e,a0,r0,ge,{},s0)}}function u0(t){He(t,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function c0(t){let e,i,n;return{c(){e=T("div"),u(e,"class","close v-1ome55p")},m(o,s){E(o,e,s),i||(n=he(e,"click",tt(t[0])),i=!0)},p:W,i:W,o:W,d(o){o&&S(e),i=!1,n()}}}function f0(t){function e(i){go.call(this,t,i)}return[e]}class d0 extends we{constructor(e){super(),ve(this,e,f0,c0,ge,{},u0)}}function m0(t){He(t,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
|
|
25
|
+
}.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function p0(t){let e,i,n,o,s,l,r;return{c(){e=T("div"),i=T("canvas"),n=z(),o=R("svg"),s=R("g"),l=R("g"),r=R("path"),u(i,"class","timer-canvas v-8jhsry"),u(i,"width","100"),u(i,"height","100"),u(r,"class","_play"),u(r,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(r,"fill","#fff"),u(l,"fill-rule","nonzero"),u(s,"fill","none"),u(s,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){E(a,e,c),m(e,i),t[2](i),m(e,n),m(e,o),m(o,s),m(s,l),m(l,r)},p:W,i:W,o:W,d(a){a&&S(e),t[2](null)}}}const h0=5e3;function g0(t,e,i){let{onTimerEnded:n=Ge}=e,o;ln(()=>{let l;const r=o.getContext("2d");if(!r)return;r.lineWidth=6,r.lineCap="round",r.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/h0;f<1?(r.clearRect(0,0,100,100),r.beginPath(),r.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),r.stroke(),l=requestAnimationFrame(c)):n()};return l=requestAnimationFrame(c),()=>{cancelAnimationFrame(l)}});function s(l){Ce[l?"unshift":"push"](()=>{o=l,i(0,o)})}return t.$$set=l=>{"onTimerEnded"in l&&i(1,n=l.onTimerEnded)},[o,n,s]}class b0 extends we{constructor(e){super(),ve(this,e,g0,p0,ge,{onTimerEnded:1},m0)}}function _0(t){He(t,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function Ps(t){let e,i;return e=new b0({props:{onTimerEnded:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&4&&(s.onTimerEnded=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function v0(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,k,v,P,y,w,D,ne;r=new d0({}),r.$on("click",t[4]);let I=t[3]&&Ps(t);return{c(){e=T("div"),i=z(),n=T("div"),o=T("div"),s=T("div"),s.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",l=z(),U(r.$$.fragment),a=z(),c=T("div"),f=T("div"),p=T("div"),h=T("div"),_=z(),I&&I.c(),k=z(),v=T("div"),P=T("div"),y=ze(t[0]),u(e,"class","overlay v-kisfwc"),u(s,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(p,"class","thumb v-kisfwc"),u(p,"style",b=`background-image: url('${t[1]}')`),u(f,"class","column v-kisfwc"),u(P,"class","title v-kisfwc"),u(v,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(Z,V){E(Z,e,V),E(Z,i,V),E(Z,n,V),m(n,o),m(o,s),m(o,l),H(r,o,null),m(n,a),m(n,c),m(c,f),m(f,p),m(p,h),m(p,_),I&&I.m(p,null),m(c,k),m(c,v),m(v,P),m(P,y),w=!0,D||(ne=he(c,"click",function(){bn(t[2])&&t[2].apply(this,arguments)}),D=!0)},p(Z,[V]){t=Z,t[3]?I?(I.p(t,V),V&8&&d(I,1)):(I=Ps(t),I.c(),d(I,1),I.m(p,null)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),(!w||V&2&&b!==(b=`background-image: url('${t[1]}')`))&&u(p,"style",b),(!w||V&1)&&Qe(y,t[0])},i(Z){w||(d(r.$$.fragment,Z),d(I),w=!0)},o(Z){g(r.$$.fragment,Z),g(I),w=!1},d(Z){Z&&(S(e),S(i),S(n)),F(r),I&&I.d(),D=!1,ne()}}}function w0(t,e,i){let{title:n}=e,{thumb:o}=e,{playNextVideo:s}=e,l=!0;const r=()=>i(3,l=!1);return t.$$set=a=>{"title"in a&&i(0,n=a.title),"thumb"in a&&i(1,o=a.thumb),"playNextVideo"in a&&i(2,s=a.playNextVideo)},[n,o,s,l,r]}class k0 extends we{constructor(e){super(),ve(this,e,w0,v0,ge,{title:0,thumb:1,playNextVideo:2},_0)}}const j1=(t,e)=>Math.min(+(t+e).toFixed(2),1),K1=(t,e)=>Math.max(+(t-e).toFixed(2),0),G1=(t,e,i)=>{const n=j1(e,i);e<1&&t.actions.internal.setVolume(n)},Y1=(t,e,i)=>{const n=K1(e,i);e>0&&t.actions.internal.setVolume(n)};function y0(t){He(t,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function C0(t){let e,i,n,o;const s=t[22].default,l=Vn(s,t,t[21],null);return{c(){e=T("div"),l&&l.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(r,a){E(r,e,a),l&&l.m(e,null),t[23](e),i=!0,n||(o=[he(e,"keyup",t[13]),he(e,"keydown",t[12])],n=!0)},p(r,a){l&&l.p&&(!i||a[0]&2097152)&&Bn(l,s,r,r[21],i?Mn(s,r[21],a,null):Rn(r[21]),null)},i(r){i||(d(l,r),i=!0)},o(r){g(l,r),i=!1},d(r){r&&S(e),l&&l.d(r),t[23](null),n=!1,et(o)}}}function P0(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,{$$slots:b={},$$scope:k}=e,{isAds:v}=e,{hideContextMenu:P}=e,{toggleFullscreen:y}=e,{showHotKeyHelpers:w}=e,{showKeyMap:D}=e,{fakePlayButtonHandler:ne}=e;const I=mt(),Z=sn(),V=I.getLogger().createComponentLog("KeyboardControls component"),ee=I.state.playbackState$;O(t,ee,A=>i(27,o=A));const M=I.ads.playbackState;O(t,M,A=>i(26,n=A));const te=I.state.positionExact$;O(t,te,A=>i(33,f=A));const N=I.state.duration$;O(t,N,A=>i(32,c=A));const Y=I.state.volume$;O(t,Y,A=>i(36,_=A));const oe=I.ui.controls.disabledControls$;O(t,oe,A=>i(31,a=A));const C=I.state.muted$;O(t,C,A=>i(29,l=A));const le=I.state.currentSubtitle$;O(t,le,A=>i(28,s=A));const ke=I.state.currentPlaybackRate$;O(t,ke,A=>i(34,p=A));const me=I.state.availablePlaybackRates$;O(t,me,A=>i(35,h=A));const _e=I.state.isEnded$;O(t,_e,A=>i(30,r=A));let X=0,ue=!0,De;const re=()=>De?.focus(),Le=A=>(A!==ue&&(ue=A,X=0),X+=1,(Z.controls.seekStepKeyboard+Z.controls.seekStepKeyboard*X)/1e3),Te=A=>{const ie=A.target,Ve=ie?.getAttribute("role")?.includes("menuitem"),ye=ie.classList.contains("btn"),ae=A.code;if(ye&&ae===Ie.Space)return;const be=Zc.has(ae);if(Ve&&be)return;const x=!Wc.has(ae);if(A.ctrlKey&&x||A.altKey&&x||A.metaKey)return;const Q=Ve&&ae===Ie.Escape;jc.has(ae)||Q||P();const Fe=o===Ht.PLAYING||o===Ht.PAUSED,Je=v&&(n===Xt.PAUSED||n===Xt.PLAYING),Xe=!Je&&!a.has(nt.TIMELINE);if(Fe||Je)switch(V({message:`key down, code: ${ae}`}),ae){case Ie.KeyJ:case Ie.ArrowLeft:{if(!Xe)break;if(A.ctrlKey||A.altKey){const Ae=I.actions.internal.getPrevEpisode();I.actions.internal.seekToPrevEpisode(Ae),Ae&&w({type:Ke.EPISODE_PREV,text:Ae.text}),A.preventDefault()}else{const Ae=A.shiftKey?Le(!1):Z.controls.seekStepKeyboard/1e3,We=Math.max(f-Ae,0);f>0&&(I.actions.internal.seekTime(We,It.DOUBLE_TAP),w({type:Ke.BACKWARD_SEEK,text:Ae.toString()}),A.preventDefault())}break}case Ie.KeyL:case Ie.ArrowRight:{if(!Xe)break;if(A.ctrlKey||A.altKey){const Ae=I.actions.internal.getNextEpisode();I.actions.internal.seekToNextEpisode(Ae),Ae&&w({type:Ke.EPISODE_NEXT,text:Ae.text}),A.preventDefault()}else{const Ae=A.shiftKey?Le(!0):Z.controls.seekStepKeyboard/1e3,We=Math.min(f+Ae,c);Math.round(f)<Math.round(c)&&(I.actions.internal.seekTime(We,It.DOUBLE_TAP),w({type:Ke.FORWARD_SEEK,text:Ae.toString()}),A.preventDefault())}break}case Ie.ArrowUp:{const Ae=_,We=Z.controls.volumeStepKeyboard,xe=Ae<=1;if(G1(I,Ae,We),xe){const pt=Math.round(j1(Ae,We)*100).toString();w({type:Ke.VOLUME,t:{key:"hotkey_helper_current_volume",value:pt}})}A.preventDefault();break}case Ie.ArrowDown:{const Ae=_,We=Z.controls.volumeStepKeyboard,xe=Ae>=0;if(Y1(I,Ae,We),xe){const pt=Math.round(K1(Ae,We)*100).toString();w({type:Ke.VOLUME,t:{key:"hotkey_helper_current_volume",value:pt}})}A.preventDefault();break}case Ie.Comma:{if(A.shiftKey){I.actions.internal.decrementPlaybackRate();const Ae=h.find(We=>We.value===p);w({type:Ke.RATE_DOWN,text:Ae?.displayValue}),A.preventDefault()}else{if(Je||o!==Ht.PAUSED)break;const Ae=Math.max(f-Z.controls.seekStepFrame/1e3,0);f>0&&(w({type:Ke.BACKWARD_SEEK}),I.actions.internal.clearDelayedBufferingCheckTimeout(),I.actions.internal.seekTime(Ae,It.DOUBLE_TAP),A.preventDefault())}break}case Ie.Period:{if(A.shiftKey){I.actions.internal.incrementPlaybackRate();const Ae=h.find(We=>We.value===p);w({type:Ke.RATE_UP,text:Ae?.displayValue}),A.preventDefault()}else{if(Je||o!==Ht.PAUSED)break;const Ae=Math.min(f+Z.controls.seekStepFrame/1e3,c);f<c&&(w({type:Ke.FORWARD_SEEK}),I.actions.internal.clearDelayedBufferingCheckTimeout(),I.actions.internal.seekTime(Ae,It.DOUBLE_TAP),A.preventDefault())}break}case Ie.KeyK:case Ie.Space:if(!a.has(nt.PLAY_BUTTON))if(ne)ne();else{I.actions.internal.togglePlay();let Ae=Ke.PLAY;o===Ht.PAUSED?Ae=Ke.PAUSE:r&&(Ae=Ke.REPLAY),w({type:Ae})}A.preventDefault();break;case Ie.KeyM:{w({type:l?Ke.VOLUME:Ke.MUTE}),I.actions.internal.toggleMuted(),A.preventDefault();break}case Ie.KeyF:y(),A.preventDefault();break;case Ie.KeyC:I.actions.internal.toggleSubtitle(),s.value!=="off"?w({type:Ke.SUBTITLES_ON,text:s?.displayValue}):w({type:Ke.SUBTITLES_OFF}),A.preventDefault();break;case Ie.KeyI:I.actions.internal.togglePictureInPicture(),A.preventDefault();break;case Ie.Digit1:case Ie.Numpad1:w(),I.actions.internal.seekToPercent(.1,It.DOUBLE_TAP),A.preventDefault();break;case Ie.Digit2:case Ie.Numpad2:w(),I.actions.internal.seekToPercent(.2,It.DOUBLE_TAP),A.preventDefault();break;case Ie.Digit3:case Ie.Numpad3:w(),I.actions.internal.seekToPercent(.3,It.DOUBLE_TAP),A.preventDefault();break;case Ie.Digit4:case Ie.Numpad4:w(),I.actions.internal.seekToPercent(.4,It.DOUBLE_TAP),A.preventDefault();break;case Ie.Digit5:case Ie.Numpad5:w(),I.actions.internal.seekToPercent(.5,It.DOUBLE_TAP),A.preventDefault();break;case Ie.Digit6:case Ie.Numpad6:w(),I.actions.internal.seekToPercent(.6,It.DOUBLE_TAP),A.preventDefault();break;case Ie.Digit7:case Ie.Numpad7:w(),I.actions.internal.seekToPercent(.7,It.DOUBLE_TAP),A.preventDefault();break;case Ie.Digit8:case Ie.Numpad8:w(),I.actions.internal.seekToPercent(.8,It.DOUBLE_TAP),A.preventDefault();break;case Ie.Digit9:case Ie.Numpad9:w(),I.actions.internal.seekToPercent(.9,It.DOUBLE_TAP),A.preventDefault();break;case Ie.Digit0:case Ie.Numpad0:w(),I.actions.internal.seekToPercent(0,It.DOUBLE_TAP),A.preventDefault();break;case Ie.Slash:{A.shiftKey&&Z.features.hotKeyMapModal&&(D(),A.preventDefault());break}case Ie.ShiftLeft:case Ie.ShiftRight:A.preventDefault();break;case Ie.Tab:case Ie.Escape:case Ie.Enter:break;default:uc(ae);break}},pe=A=>{const ie=A.code;if(A.ctrlKey||A.altKey||A.metaKey)return;const Ve=o===Ht.PLAYING||o===Ht.PAUSED,ye=v&&(n===Xt.PAUSED||n===Xt.PLAYING);if(Ve||ye)switch(ie){case Ie.ShiftLeft:case Ie.ShiftRight:X=0;break}};function Ee(A){Ce[A?"unshift":"push"](()=>{De=A,i(0,De)})}return t.$$set=A=>{"isAds"in A&&i(14,v=A.isAds),"hideContextMenu"in A&&i(15,P=A.hideContextMenu),"toggleFullscreen"in A&&i(16,y=A.toggleFullscreen),"showHotKeyHelpers"in A&&i(17,w=A.showHotKeyHelpers),"showKeyMap"in A&&i(18,D=A.showKeyMap),"fakePlayButtonHandler"in A&&i(19,ne=A.fakePlayButtonHandler),"$$scope"in A&&i(21,k=A.$$scope)},[De,ee,M,te,N,Y,oe,C,le,ke,me,_e,Te,pe,v,P,y,w,D,ne,re,k,b,Ee]}class S0 extends we{constructor(e){super(),ve(this,e,P0,C0,ge,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},y0,[-1,-1])}get focus(){return this.$$.ctx[20]}}function T0(t){He(t,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function E0(t){let e;return{c(){e=T("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(i,n){E(i,e,n)},p:W,i:W,o:W,d(i){i&&S(e)}}}class Q1 extends we{constructor(e){super(),ve(this,e,null,E0,ge,{},T0)}}function A0(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),p=R("feColorMatrix"),h=R("feBlend"),_=R("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2422_111980"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2422_111980"),u(_,"result","shape"),u(l,"id","a"),u(l,"x",".5"),u(l,"y",".5"),u(l,"width","23"),u(l,"height","23"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(b,k){E(b,e,k),m(e,i),m(i,n),m(i,o),m(e,s),m(s,l),m(l,r),m(l,a),m(l,c),m(l,f),m(l,p),m(l,h),m(l,_)},p:W,i:W,o:W,d(b){b&&S(e)}}}class L0 extends we{constructor(e){super(),ve(this,e,null,A0,ge,{})}}function I0(t){He(t,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function V0(t){let e,i,n,o,s,l,r,a,c,f,p,h;const _=t[13].default,b=Vn(_,t,t[12],null);return{c(){e=T("button"),b&&b.c(),u(e,"class",i="btn "+t[1]+" v-1anemql"),u(e,"style",n=t[2]||null),e.disabled=o=t[3]??null,u(e,"aria-hidden",s=t[5]??null),u(e,"aria-label",l=t[6]??null),u(e,"aria-keyshortcuts",r=t[7]??null),u(e,"aria-expanded",a=t[8]??null),u(e,"data-testid",c=t[4]??null)},m(k,v){E(k,e,v),b&&b.m(e,null),t[15](e),f=!0,p||(h=[he(e,"pointerdown",tt(Jt(t[14]))),he(e,"click",tt(Jt(function(){bn(t[9]===Ge?null:t[9])&&(t[9]===Ge?null:t[9]).apply(this,arguments)}))),he(e,"focus",Jt(function(){bn(t[10]===Ge?null:t[10])&&(t[10]===Ge?null:t[10]).apply(this,arguments)})),he(e,"blur",Jt(function(){bn(t[11]===Ge?null:t[11])&&(t[11]===Ge?null:t[11]).apply(this,arguments)}))],p=!0)},p(k,[v]){t=k,b&&b.p&&(!f||v&4096)&&Bn(b,_,t,t[12],f?Mn(_,t[12],v,null):Rn(t[12]),null),(!f||v&2&&i!==(i="btn "+t[1]+" v-1anemql"))&&u(e,"class",i),(!f||v&4&&n!==(n=t[2]||null))&&u(e,"style",n),(!f||v&8&&o!==(o=t[3]??null))&&(e.disabled=o),(!f||v&32&&s!==(s=t[5]??null))&&u(e,"aria-hidden",s),(!f||v&64&&l!==(l=t[6]??null))&&u(e,"aria-label",l),(!f||v&128&&r!==(r=t[7]??null))&&u(e,"aria-keyshortcuts",r),(!f||v&256&&a!==(a=t[8]??null))&&u(e,"aria-expanded",a),(!f||v&16&&c!==(c=t[4]??null))&&u(e,"data-testid",c)},i(k){f||(d(b,k),f=!0)},o(k){g(b,k),f=!1},d(k){k&&S(e),b&&b.d(k),t[15](null),p=!1,et(h)}}}function M0(t,e,i){let{$$slots:n={},$$scope:o}=e,{className:s=""}=e,{style:l=""}=e,{disabled:r=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:p=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:_=void 0}=e,{click:b=Ge}=e,{focus:k=Ge}=e,{blur:v=Ge}=e;function P(w){go.call(this,t,w)}function y(w){Ce[w?"unshift":"push"](()=>{p=w,i(0,p)})}return t.$$set=w=>{"className"in w&&i(1,s=w.className),"style"in w&&i(2,l=w.style),"disabled"in w&&i(3,r=w.disabled),"testId"in w&&i(4,a=w.testId),"ariaHidden"in w&&i(5,c=w.ariaHidden),"ariaLabel"in w&&i(6,f=w.ariaLabel),"ref"in w&&i(0,p=w.ref),"ariaKeyShortCut"in w&&i(7,h=w.ariaKeyShortCut),"ariaExpanded"in w&&i(8,_=w.ariaExpanded),"click"in w&&i(9,b=w.click),"focus"in w&&i(10,k=w.focus),"blur"in w&&i(11,v=w.blur),"$$scope"in w&&i(12,o=w.$$scope)},[p,s,l,r,a,c,f,h,_,b,k,v,o,n,P,y]}class gi extends we{constructor(e){super(),ve(this,e,M0,V0,ge,{className:1,style:2,disabled:3,testId:4,ariaHidden:5,ariaLabel:6,ref:0,ariaKeyShortCut:7,ariaExpanded:8,click:9,focus:10,blur:11},I0)}}function B0(t){He(t,"v-1witlsj",".modal-overlay.v-1witlsj{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-1witlsj{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-1witlsj{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-1witlsj{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-1witlsj{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-1witlsj::-webkit-scrollbar{width:8px}.modal-scroll.v-1witlsj::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-1witlsj{margin:-8px -4px 0 0}")}function Ss(t){let e,i,n,o,s,l=t[2]&&Ts(t);return{c(){e=T("div"),i=T("h3"),n=ze(t[3]),o=z(),l&&l.c(),u(i,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(r,a){E(r,e,a),m(e,i),m(i,n),m(e,o),l&&l.m(e,null),s=!0},p(r,a){(!s||a&8)&&Qe(n,r[3]),r[2]?l?(l.p(r,a),a&4&&d(l,1)):(l=Ts(r),l.c(),d(l,1),l.m(e,null)):l&&(fe(),g(l,1,1,()=>{l=null}),de())},i(r){s||(d(l),s=!0)},o(r){g(l),s=!1},d(r){r&&S(e),l&&l.d()}}}function Ts(t){let e,i;return e=new gi({props:{click:t[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:K("hotkey_map_modal_close_btn_text"),$$slots:{default:[R0]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&1&&(s.click=n[0]),o&32&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function R0(t){let e,i;return e=new L0({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function N0(t){let e,i,n,o,s,l,r=t[1]&&Ss(t);const a=t[4].default,c=Vn(a,t,t[5],null);return{c(){e=T("div"),i=T("div"),r&&r.c(),n=z(),o=T("div"),s=T("div"),c&&c.c(),u(s,"class","modal-main v-1witlsj"),u(o,"class","modal-scroll v-1witlsj"),u(i,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,p){E(f,e,p),m(e,i),r&&r.m(i,null),m(i,n),m(i,o),m(o,s),c&&c.m(s,null),l=!0},p(f,[p]){f[1]?r?(r.p(f,p),p&2&&d(r,1)):(r=Ss(f),r.c(),d(r,1),r.m(i,n)):r&&(fe(),g(r,1,1,()=>{r=null}),de()),c&&c.p&&(!l||p&32)&&Bn(c,a,f,f[5],l?Mn(a,f[5],p,null):Rn(f[5]),null)},i(f){l||(d(r),d(c,f),l=!0)},o(f){g(r),g(c,f),l=!1},d(f){f&&S(e),r&&r.d(),c&&c.d(f)}}}function z0(t,e,i){let{$$slots:n={},$$scope:o}=e,{onClose:s}=e,{showHeader:l=!0}=e,{showCloseCross:r=!0}=e,{title:a}=e;return t.$$set=c=>{"onClose"in c&&i(0,s=c.onClose),"showHeader"in c&&i(1,l=c.showHeader),"showCloseCross"in c&&i(2,r=c.showCloseCross),"title"in c&&i(3,a=c.title),"$$scope"in c&&i(5,o=c.$$scope)},[s,l,r,a,n,o]}class D0 extends we{constructor(e){super(),ve(this,e,z0,N0,ge,{onClose:0,showHeader:1,showCloseCross:2,title:3},B0)}}const O0=new Set(["BR"]),Es=t=>{const e=document.createElement("DIV");e.innerHTML=t;const i=e.querySelectorAll("*");let n=i.length;for(;n--;){const o=i[n],s=o.tagName;O0.has(s)||o.parentElement?.removeChild(o)}return e.innerHTML};function H0(t){He(t,"v-quklnq",".hot-key-map.v-quklnq{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-quklnq{border-bottom:1px solid var(--white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-quklnq:last-child{border-bottom:none}.hot-key-map-group-title.v-quklnq{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-quklnq,.hot-key-map-item.v-quklnq{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-quklnq{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-quklnq{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-quklnq{color:var(--white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-quklnq{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-quklnq,.hot-key-map-item-value.v-quklnq{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function As(t,e,i){const n=t.slice();return n[5]=e[i].title,n[6]=e[i].items,n}function Ls(t,e,i){const n=t.slice();return n[9]=e[i].description,n[10]=e[i].value,n}function Is(t){let e,i,n=Es(t[9])+"",o,s,l=t[10]+"",r,a;return{c(){e=T("li"),i=T("span"),o=z(),s=T("span"),r=ze(l),a=z(),u(i,"class","hot-key-map-item-description v-quklnq"),u(s,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){E(c,e,f),m(e,i),i.innerHTML=n,m(e,o),m(e,s),m(s,r),m(e,a)},p(c,f){f&1&&n!==(n=Es(c[9])+"")&&(i.innerHTML=n),f&1&&l!==(l=c[10]+"")&&Qe(r,l)},d(c){c&&S(e)}}}function Vs(t){let e,i,n=t[5]+"",o,s,l,r,a=Ft(t[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Is(Ls(t,a,f));return{c(){e=T("div"),i=T("h5"),o=ze(n),s=z(),l=T("ul");for(let f=0;f<c.length;f+=1)c[f].c();r=z(),u(i,"class","hot-key-map-group-title v-quklnq"),u(l,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,p){E(f,e,p),m(e,i),m(i,o),m(e,s),m(e,l);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(l,null);m(e,r)},p(f,p){if(p&1&&n!==(n=f[5]+"")&&Qe(o,n),p&1){a=Ft(f[6]);let h;for(h=0;h<a.length;h+=1){const _=Ls(f,a,h);c[h]?c[h].p(_,p):(c[h]=Is(_),c[h].c(),c[h].m(l,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&S(e),vn(c,f)}}}function F0(t){let e,i=Ft(t[0].groups),n=[];for(let o=0;o<i.length;o+=1)n[o]=Vs(As(t,i,o));return{c(){e=T("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,s){E(o,e,s);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,s){if(s&1){i=Ft(o[0].groups);let l;for(l=0;l<i.length;l+=1){const r=As(o,i,l);n[l]?n[l].p(r,s):(n[l]=Vs(r),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},d(o){o&&S(e),vn(n,o)}}}function U0(t){let e,i;return e=new D0({props:{title:t[0].title,onClose:t[2],$$slots:{default:[F0]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.title=n[0].title),o&8193&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function q0(t,e,i){let n;const o=mt(),{data:s,show:l}=o.ui.modals.hotKeyMap;return O(t,s,a=>i(0,n=a)),[n,s,()=>{l.set(!1)}]}class W0 extends we{constructor(e){super(),ve(this,e,q0,U0,ge,{},H0)}}function Z0(t){He(t,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function j0(t){let e,i;const n=t[1].default,o=Vn(n,t,t[0],null);return{c(){e=T("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(s,l){E(s,e,l),o&&o.m(e,null),i=!0},p(s,[l]){o&&o.p&&(!i||l&1)&&Bn(o,n,s,s[0],i?Mn(n,s[0],l,null):Rn(s[0]),null)},i(s){i||(d(o,s),i=!0)},o(s){g(o,s),i=!1},d(s){s&&S(e),o&&o.d(s)}}}function K0(t,e,i){let{$$slots:n={},$$scope:o}=e;return t.$$set=s=>{"$$scope"in s&&i(0,o=s.$$scope)},[o,n]}class G0 extends we{constructor(e){super(),ve(this,e,K0,j0,ge,{},Z0)}}function Y0(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),m(e,i),m(e,n)},p:W,i:W,o:W,d(o){o&&S(e)}}}class Q0 extends we{constructor(e){super(),ve(this,e,null,Y0,ge,{})}}function X0(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),m(e,i),m(e,n)},p:W,i:W,o:W,d(o){o&&S(e)}}}class J0 extends we{constructor(e){super(),ve(this,e,null,X0,ge,{})}}function x0(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class $0 extends we{constructor(e){super(),ve(this,e,null,x0,ge,{})}}function ed(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class X1 extends we{constructor(e){super(),ve(this,e,null,ed,ge,{})}}function td(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),m(e,i),m(e,n)},p:W,i:W,o:W,d(o){o&&S(e)}}}class J1 extends we{constructor(e){super(),ve(this,e,null,td,ge,{})}}const wo=t=>{switch(t){case co.Q_720P:return $0;case co.Q_1080P:return X1;case co.Q_1440P:return J1;case co.Q_2160P:return Q0;case co.Q_4320P:return J0}};function id(t){He(t,"v-1fzhlx0",".icon.v-1fzhlx0{display:flex;position:relative;width:24px;height:24px}.icon.v-1fzhlx0 .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-1fzhlx0 .pillow{right:-13px}")}function nd(t){let e,i,n,o,s,l,r=t[1]&&Ms(t);return{c(){e=T("div"),r&&r.c(),i=z(),n=R("svg"),o=R("path"),s=R("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(s,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(s,"fill","#fff"),B(s,"hidden",!!t[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-1fzhlx0"),u(e,"aria-hidden","true"),B(e,"triple",t[2])},m(a,c){E(a,e,c),r&&r.m(e,null),m(e,i),m(e,n),m(n,o),m(n,s),l=!0},p(a,c){a[1]?r?(r.p(a,c),c&2&&d(r,1)):(r=Ms(a),r.c(),d(r,1),r.m(e,i)):r&&(fe(),g(r,1,1,()=>{r=null}),de()),(!l||c&2)&&B(s,"hidden",!!a[1]),(!l||c&4)&&B(e,"triple",a[2])},i(a){l||(d(r),l=!0)},o(a){g(r),l=!1},d(a){a&&S(e),r&&r.d()}}}function od(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}function Ms(t){let e,i;return e=new G0({props:{$$slots:{default:[ld]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&18&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ld(t){let e,i,n;var o=t[1];function s(l){return{}}return o&&(e=Cn(o,s())),{c(){e&&U(e.$$.fragment),i=lt()},m(l,r){e&&H(e,l,r),E(l,i,r),n=!0},p(l,r){if(r&2&&o!==(o=l[1])){if(e){fe();const a=e;g(a.$$.fragment,1,0,()=>{F(a,1)}),de()}o?(e=Cn(o,s()),U(e.$$.fragment),d(e.$$.fragment,1),H(e,i.parentNode,i)):e=null}},i(l){n||(e&&d(e.$$.fragment,l),n=!0)},o(l){e&&g(e.$$.fragment,l),n=!1},d(l){l&&S(i),e&&F(e,l)}}}function sd(t){let e,i,n,o;const s=[od,nd],l=[];function r(a,c){return a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function rd(t,e,i){let n,{isMobile:o=!1}=e,{currentQuality:s=void 0}=e,l;return t.$$set=r=>{"isMobile"in r&&i(0,o=r.isMobile),"currentQuality"in r&&i(3,s=r.currentQuality)},t.$$.update=()=>{t.$$.dirty&8&&i(1,n=wo(s)),t.$$.dirty&2&&i(2,l=!!n&&[X1,J1].includes(n))},[o,n,l,s]}class Hl extends we{constructor(e){super(),ve(this,e,rd,sd,ge,{isMobile:0,currentQuality:3},id)}}function ad(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class x1 extends we{constructor(e){super(),ve(this,e,null,ad,ge,{})}}function ud(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(i,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class cd extends we{constructor(e){super(),ve(this,e,null,ud,ge,{})}}function fd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(i,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class dd extends we{constructor(e){super(),ve(this,e,null,fd,ge,{})}}function md(t){let e,i,n,o;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(s,l){E(s,e,l),m(e,i),m(i,n),m(i,o)},p:W,i:W,o:W,d(s){s&&S(e)}}}class pd extends we{constructor(e){super(),ve(this,e,null,md,ge,{})}}function hd(t){He(t,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function gd(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(i,"fill",t[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),B(e,"reverted",t[2])},m(o,s){E(o,e,s),m(e,i)},p(o,s){s&1&&u(i,"fill",o[0]),s&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),s&4&&B(e,"reverted",o[2])},d(o){o&&S(e)}}}function bd(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(i,"fill",t[0]),u(i,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),B(e,"reverted",t[2])},m(o,s){E(o,e,s),m(e,i)},p(o,s){s&1&&u(i,"fill",o[0]),s&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),s&4&&B(e,"reverted",o[2])},d(o){o&&S(e)}}}function _d(t){let e;function i(s,l){return s[1]?bd:gd}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(s){s&&S(e),o.d(s)}}}function vd(t,e,i){let{direction:n="left"}=e,{color:o="#fff"}=e,s,l;return t.$$set=r=>{"direction"in r&&i(3,n=r.direction),"color"in r&&i(0,o=r.color)},t.$$.update=()=>{t.$$.dirty&8&&(i(1,s=["up","down"].includes(n)),i(2,l=["right","down"].includes(n)))},[o,s,l,n]}class Fn extends we{constructor(e){super(),ve(this,e,vd,_d,ge,{direction:3,color:0},hd)}}function wd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class kd extends we{constructor(e){super(),ve(this,e,null,wd,ge,{})}}function yd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(i,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class No extends we{constructor(e){super(),ve(this,e,null,yd,ge,{})}}function Cd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class Pd extends we{constructor(e){super(),ve(this,e,null,Cd,ge,{})}}function Sd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class Td extends we{constructor(e){super(),ve(this,e,null,Sd,ge,{})}}function Ed(t){He(t,"v-5r0p3","ul.v-5r0p3.v-5r0p3{margin:0;padding:0}.menu.v-5r0p3.v-5r0p3{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s}.container-mobile.v-5r0p3.v-5r0p3{width:100%}.menu-desktop.v-5r0p3.v-5r0p3{position:absolute;right:0;bottom:0}.menu-mobile.v-5r0p3.v-5r0p3{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-5r0p3.v-5r0p3{display:none}.menu-subList.v-5r0p3.v-5r0p3{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-5r0p3.v-5r0p3{min-width:164px}.menu-subList-traffic-saving.v-5r0p3.v-5r0p3{min-width:286px}.item.v-5r0p3.v-5r0p3{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-5r0p3.v-5r0p3{padding:0 14px}.item-quality.item-mobile.v-5r0p3.v-5r0p3,.item-traffic-saving.item-mobile.v-5r0p3.v-5r0p3,.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{flex-direction:row-reverse}.item-helper-text.v-5r0p3.v-5r0p3{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-5r0p3 span.v-5r0p3{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{padding:7px 14px}.item-helper-text.item-mobile.v-5r0p3 span.v-5r0p3{text-align:start}.quality-title-mobile.v-5r0p3.v-5r0p3{flex-grow:1}.item.v-5r0p3.v-5r0p3:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-5r0p3.v-5r0p3:hover{background:var(--mobile-settings-bg)}.menu-subList.v-5r0p3 .item.v-5r0p3{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-5r0p3 .item.v-5r0p3:last-child{margin-bottom:4px}.menu-icon-wrapper.v-5r0p3.v-5r0p3{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-5r0p3.v-5r0p3{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-5r0p3.v-5r0p3{position:relative;opacity:0.7}.menu-valueIcon.v-5r0p3.v-5r0p3{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-5r0p3.v-5r0p3{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-5r0p3 svg,.menu-valueIcon-list.v-5r0p3 svg{color:var(--blue-light)}.menu-divider.v-5r0p3.v-5r0p3{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-5r0p3.v-5r0p3{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-5r0p3.v-5r0p3{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar{width:8px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-5r0p3.v-5r0p3{overflow-y:auto;max-height:160px;text-align:left}.close.v-5r0p3.v-5r0p3{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-5r0p3.v-5r0p3:before,.close.v-5r0p3.v-5r0p3:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-5r0p3.v-5r0p3:before{transform:rotate(45deg)}.close.v-5r0p3.v-5r0p3:after{transform:rotate(-45deg)}")}function Bs(t,e,i){const n=t.slice();return n[142]=e[i],n}function Rs(t,e,i){const n=t.slice();return n[145]=e[i],n}function Ns(t,e,i){const n=t.slice();return n[148]=e[i],n}function zs(t){let e,i,n,o,s,l,r,a,c,f,p,h=t[8]&&Ds(t),_=t[28]&&Os(t),b=t[27]&&Fs(t),k=t[26]&&Us(t),v=t[25]&&qs(t),P=t[24]&&Ws(t),y=t[8]&&Zs(t);return{c(){e=T("div"),h&&h.c(),i=z(),n=T("ul"),_&&_.c(),o=z(),b&&b.c(),s=z(),k&&k.c(),l=z(),v&&v.c(),r=z(),P&&P.c(),a=z(),y&&y.c(),u(n,"class","items v-5r0p3"),B(n,"items-mobile",t[8]),u(e,"class","menu v-5r0p3"),u(e,"role","menu"),B(e,"menu-desktop",!t[8]),B(e,"menu-mobile",t[8]),B(e,"hidden",!t[15])},m(w,D){E(w,e,D),h&&h.m(e,null),m(e,i),m(e,n),_&&_.m(n,null),m(n,o),b&&b.m(n,null),m(n,s),k&&k.m(n,null),m(n,l),v&&v.m(n,null),m(n,r),P&&P.m(n,null),m(n,a),y&&y.m(n,null),t[116](n),c=!0,f||(p=[he(e,"keydown",t[79]),he(e,"mouseenter",t[73]),he(e,"mouseleave",t[74])],f=!0)},p(w,D){w[8]?h?h.p(w,D):(h=Ds(w),h.c(),h.m(e,i)):h&&(h.d(1),h=null),w[28]?_?(_.p(w,D),D[0]&268435456&&d(_,1)):(_=Os(w),_.c(),d(_,1),_.m(n,o)):_&&(fe(),g(_,1,1,()=>{_=null}),de()),w[27]?b?(b.p(w,D),D[0]&134217728&&d(b,1)):(b=Fs(w),b.c(),d(b,1),b.m(n,s)):b&&(fe(),g(b,1,1,()=>{b=null}),de()),w[26]?k?(k.p(w,D),D[0]&67108864&&d(k,1)):(k=Us(w),k.c(),d(k,1),k.m(n,l)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),w[25]?v?(v.p(w,D),D[0]&33554432&&d(v,1)):(v=qs(w),v.c(),d(v,1),v.m(n,r)):v&&(fe(),g(v,1,1,()=>{v=null}),de()),w[24]?P?(P.p(w,D),D[0]&16777216&&d(P,1)):(P=Ws(w),P.c(),d(P,1),P.m(n,a)):P&&(fe(),g(P,1,1,()=>{P=null}),de()),w[8]?y?(y.p(w,D),D[0]&256&&d(y,1)):(y=Zs(w),y.c(),d(y,1),y.m(n,null)):y&&(fe(),g(y,1,1,()=>{y=null}),de()),(!c||D[0]&256)&&B(n,"items-mobile",w[8]),(!c||D[0]&256)&&B(e,"menu-desktop",!w[8]),(!c||D[0]&256)&&B(e,"menu-mobile",w[8]),(!c||D[0]&32768)&&B(e,"hidden",!w[15])},i(w){c||(d(_),d(b),d(k),d(v),d(P),d(y),c=!0)},o(w){g(_),g(b),g(k),g(v),g(P),g(y),c=!1},d(w){w&&S(e),h&&h.d(),_&&_.d(),b&&b.d(),k&&k.d(),v&&v.d(),P&&P.d(),y&&y.d(),t[116](null),f=!1,et(p)}}}function Ds(t){let e,i,n,o,s,l,r,a;return{c(){e=T("div"),i=T("div"),i.textContent=`${K("submenu_settings")}`,n=z(),o=T("div"),s=z(),l=T("div"),u(o,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),B(e,"item-mobile",t[8]),u(l,"class","menu-divider v-5r0p3")},m(c,f){E(c,e,f),m(e,i),m(e,n),m(e,o),E(c,s,f),E(c,l,f),r||(a=he(o,"click",tt(t[59])),r=!0)},p(c,f){f[0]&256&&B(e,"item-mobile",c[8])},d(c){c&&(S(e),S(s),S(l)),r=!1,a()}}}function Os(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;n=new Hl({});let b=t[36]&&!t[8]&&Hs(t);return{c(){e=T("li"),i=T("div"),U(n.$$.fragment),o=z(),s=T("div"),s.textContent=`${K("menu_quality")}`,l=z(),r=T("div"),a=ze(t[20]),c=z(),b&&b.c(),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=K("aria_label_menu_quality",{actual:t[30]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(k,v){E(k,e,v),m(e,i),H(n,i,null),m(e,o),m(e,s),m(e,l),m(e,r),m(r,a),m(r,c),b&&b.m(r,null),t[112](e),p=!0,h||(_=[he(e,"click",tt(t[60])),he(e,"keydown",t[80])],h=!0)},p(k,v){(!p||v[0]&1048576)&&Qe(a,k[20]),k[36]&&!k[8]?b?(b.p(k,v),v[0]&256|v[1]&32&&d(b,1)):(b=Hs(k),b.c(),d(b,1),b.m(r,null)):b&&(fe(),g(b,1,1,()=>{b=null}),de()),(!p||v[0]&1073741824&&f!==(f=K("aria_label_menu_quality",{actual:k[30]})))&&u(e,"aria-label",f),(!p||v[0]&256)&&B(e,"item-mobile",k[8])},i(k){p||(d(n.$$.fragment,k),d(b),p=!0)},o(k){g(n.$$.fragment,k),g(b),p=!1},d(k){k&&S(e),F(n),b&&b.d(),t[112](null),h=!1,et(_)}}}function Hs(t){let e,i,n;var o=t[36];function s(l){return{}}return o&&(i=Cn(o,s())),{c(){e=T("div"),i&&U(i.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(l,r){E(l,e,r),i&&H(i,e,null),n=!0},p(l,r){if(r[1]&32&&o!==(o=l[36])){if(i){fe();const a=i;g(a.$$.fragment,1,0,()=>{F(a,1)}),de()}o?(i=Cn(o,s()),U(i.$$.fragment),d(i.$$.fragment,1),H(i,e,null)):i=null}},i(l){n||(i&&d(i.$$.fragment,l),n=!0)},o(l){i&&g(i.$$.fragment,l),n=!1},d(l){l&&S(e),i&&F(i)}}}function Fs(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;return n=new pd({}),{c(){e=T("li"),i=T("div"),U(n.$$.fragment),o=z(),s=T("div"),s.textContent=`${K("menu_playback_rate")}`,l=z(),r=T("div"),a=ze(t[13]),c=ze("x"),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=K("aria_label_menu_rate",{actual:t[31]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(b,k){E(b,e,k),m(e,i),H(n,i,null),m(e,o),m(e,s),m(e,l),m(e,r),m(r,a),m(r,c),t[113](e),p=!0,h||(_=[he(e,"click",tt(Jt(t[64]))),he(e,"keydown",t[83])],h=!0)},p(b,k){(!p||k[0]&8192)&&Qe(a,b[13]),(!p||k[1]&1&&f!==(f=K("aria_label_menu_rate",{actual:b[31]})))&&u(e,"aria-label",f),(!p||k[0]&256)&&B(e,"item-mobile",b[8])},i(b){p||(d(n.$$.fragment,b),p=!0)},o(b){g(n.$$.fragment,b),p=!1},d(b){b&&S(e),F(n),t[113](null),h=!1,et(_)}}}function Us(t){let e,i,n,o,s,l,r,a=t[37].displayValue+"",c,f,p,h,_;return n=new x1({}),{c(){e=T("li"),i=T("div"),U(n.$$.fragment),o=z(),s=T("div"),s.textContent=`${K("subtitles_caption")}`,l=z(),r=T("div"),c=ze(a),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=K("aria_label_menu_subtitle",{actual:t[37].displayValue})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(b,k){E(b,e,k),m(e,i),H(n,i,null),m(e,o),m(e,s),m(e,l),m(e,r),m(r,c),t[114](e),p=!0,h||(_=[he(e,"click",tt(t[66])),he(e,"keydown",t[86])],h=!0)},p(b,k){(!p||k[1]&64)&&a!==(a=b[37].displayValue+"")&&Qe(c,a),(!p||k[1]&64&&f!==(f=K("aria_label_menu_subtitle",{actual:b[37].displayValue})))&&u(e,"aria-label",f),(!p||k[0]&256)&&B(e,"item-mobile",b[8])},i(b){p||(d(n.$$.fragment,b),p=!0)},o(b){g(n.$$.fragment,b),p=!1},d(b){b&&S(e),F(n),t[114](null),h=!1,et(_)}}}function qs(t){let e,i,n,o,s,l,r,a,c,f,p,h;return n=new dd({}),{c(){e=T("li"),i=T("div"),U(n.$$.fragment),o=z(),s=T("div"),s.textContent=`${K("menu_traffic_saving")}`,l=z(),r=T("div"),a=ze(t[29]),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=K("aria_label_menu_traffic_saving",{actual:t[29]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(_,b){E(_,e,b),m(e,i),H(n,i,null),m(e,o),m(e,s),m(e,l),m(e,r),m(r,a),t[115](e),f=!0,p||(h=[he(e,"click",tt(t[61])),he(e,"keydown",t[89])],p=!0)},p(_,b){(!f||b[0]&536870912)&&Qe(a,_[29]),(!f||b[0]&536870912&&c!==(c=K("aria_label_menu_traffic_saving",{actual:_[29]})))&&u(e,"aria-label",c),(!f||b[0]&256)&&B(e,"item-mobile",_[8])},i(_){f||(d(n.$$.fragment,_),f=!0)},o(_){g(n.$$.fragment,_),f=!1},d(_){_&&S(e),F(n),t[115](null),p=!1,et(h)}}}function Ws(t){let e,i,n,o,s,l,r,a;return n=new cd({}),{c(){e=T("li"),i=T("div"),U(n.$$.fragment),o=z(),s=T("div"),s.textContent=`${K("download_video_caption")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",K("aria_label_menu_download")),B(e,"item-mobile",t[8])},m(c,f){E(c,e,f),m(e,i),H(n,i,null),m(e,o),m(e,s),l=!0,r||(a=[he(e,"click",tt(t[69])),he(e,"keydown",t[92])],r=!0)},p(c,f){(!l||f[0]&256)&&B(e,"item-mobile",c[8])},i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&S(e),F(n),r=!1,et(a)}}}function Zs(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,k,v,P=t[39].showSupport&&Ad(t);return o=new Pd({}),f=new Td({}),{c(){P&&P.c(),e=z(),i=T("li"),n=T("div"),U(o.$$.fragment),s=z(),l=T("div"),l.textContent=`${K("menu_copy_debug")}`,r=z(),a=T("li"),c=T("div"),U(f.$$.fragment),p=z(),h=T("div"),h.textContent=`${K("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(l,"class","menu-title v-5r0p3"),u(i,"class","item item-mobile v-5r0p3"),u(i,"role","menuitem"),u(i,"tabindex","0"),u(i,"aria-label",K("menu_copy_debug")),u(c,"class","menu-icon-wrapper v-5r0p3"),u(h,"class","menu-title v-5r0p3"),u(a,"class","item item-mobile v-5r0p3"),u(a,"role","menuitem"),u(a,"tabindex","0"),u(a,"aria-label",_=t[38]?K("aria_label_menu_debug_overlay_disable"):K("aria_label_menu_debug_overlay_enable"))},m(y,w){P&&P.m(y,w),E(y,e,w),E(y,i,w),m(i,n),H(o,n,null),m(i,s),m(i,l),E(y,r,w),E(y,a,w),m(a,c),H(f,c,null),m(a,p),m(a,h),b=!0,k||(v=[he(i,"click",tt(t[71])),he(i,"keydown",t[94]),he(a,"click",tt(t[72])),he(a,"keydown",t[95])],k=!0)},p(y,w){y[39].showSupport&&P.p(y,w),(!b||w[1]&128&&_!==(_=y[38]?K("aria_label_menu_debug_overlay_disable"):K("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",_)},i(y){b||(d(P),d(o.$$.fragment,y),d(f.$$.fragment,y),b=!0)},o(y){g(P),g(o.$$.fragment,y),g(f.$$.fragment,y),b=!1},d(y){y&&(S(e),S(i),S(r),S(a)),P&&P.d(y),F(o),F(f),k=!1,et(v)}}}function Ad(t){let e,i,n,o,s,l,r,a;return n=new kd({}),{c(){e=T("li"),i=T("div"),U(n.$$.fragment),o=z(),s=T("div"),s.textContent=`${K("menu_report")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(e,"class","item item-mobile v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${K("menu_report")}. ${K("aria_label_new_tab_alert")}`)},m(c,f){E(c,e,f),m(e,i),H(n,i,null),m(e,o),m(e,s),l=!0,r||(a=[he(e,"click",tt(t[70])),he(e,"keydown",t[93])],r=!0)},p:W,i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&S(e),F(n),r=!1,et(a)}}}function js(t){let e,i,n,o,s,l,r,a,c,f,p,h;n=new Fn({props:{direction:"left"}});let _=Ft(t[12]),b=[];for(let v=0;v<_.length;v+=1)b[v]=Ys(Ns(t,_,v));const k=v=>g(b[v],1,1,()=>{b[v]=null});return{c(){e=T("div"),i=T("div"),U(n.$$.fragment),o=z(),s=T("div"),s.textContent=`${K("submenu_quality")}`,l=z(),r=T("div"),a=z(),c=T("ul");for(let v=0;v<b.length;v+=1)b[v].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",K("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(r,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"style",t[21]),B(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),B(e,"menu-desktop",!t[8]),B(e,"menu-mobile",t[8])},m(v,P){E(v,e,P),m(e,i),H(n,i,null),m(i,o),m(i,s),t[117](i),m(e,l),m(e,r),m(e,a),m(e,c);for(let y=0;y<b.length;y+=1)b[y]&&b[y].m(c,null);t[120](c),f=!0,p||(h=[he(i,"click",tt(t[68])),he(c,"keydown",t[81])],p=!0)},p(v,P){if((!f||P[0]&256)&&B(i,"item-mobile",v[8]),P[0]&4352|P[2]&1048577){_=Ft(v[12]);let y;for(y=0;y<_.length;y+=1){const w=Ns(v,_,y);b[y]?(b[y].p(w,P),d(b[y],1)):(b[y]=Ys(w),b[y].c(),d(b[y],1),b[y].m(c,null))}for(fe(),y=_.length;y<b.length;y+=1)k(y);de()}(!f||P[0]&2097152)&&u(c,"style",v[21]),(!f||P[0]&256)&&B(c,"items-mobile",v[8]),(!f||P[0]&256)&&B(e,"menu-desktop",!v[8]),(!f||P[0]&256)&&B(e,"menu-mobile",v[8])},i(v){if(!f){d(n.$$.fragment,v);for(let P=0;P<_.length;P+=1)d(b[P]);f=!0}},o(v){g(n.$$.fragment,v),b=b.filter(Boolean);for(let P=0;P<b.length;P+=1)g(b[P]);f=!1},d(v){v&&S(e),F(n),t[117](null),vn(b,v),t[120](null),p=!1,et(h)}}}function Ks(t){let e,i,n;return i=new No({}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),H(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),F(i)}}}function Gs(t){let e,i,n;var o=wo(t[148].value);function s(l){return{}}return o&&(i=Cn(o,s())),{c(){e=T("div"),i&&U(i.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(l,r){E(l,e,r),i&&H(i,e,null),n=!0},p(l,r){if(r[0]&4096&&o!==(o=wo(l[148].value))){if(i){fe();const a=i;g(a.$$.fragment,1,0,()=>{F(a,1)}),de()}o?(i=Cn(o,s()),U(i.$$.fragment),d(i.$$.fragment,1),H(i,e,null)):i=null}},i(l){n||(i&&d(i.$$.fragment,l),n=!0)},o(l){i&&g(i.$$.fragment,l),n=!1},d(l){l&&S(e),i&&F(i)}}}function Ys(t){let e,i,n,o=t[148].displayValue+"",s,l,r=!t[8]&&wo(t[148].value),a,c,f,p,h,_,b=t[148].selected&&Ks(),k=r&&Gs(t);function v(){return t[118](t[148])}function P(...y){return t[119](t[148],...y)}return{c(){e=T("li"),b&&b.c(),i=z(),n=T("div"),s=ze(o),l=z(),k&&k.c(),a=z(),u(n,"class","v-5r0p3"),B(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",c=t[148].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=K("aria_label_submenu_quality_select_quality",{quality:t[148].displayValue})),B(e,"item-mobile",t[8])},m(y,w){E(y,e,w),b&&b.m(e,null),m(e,i),m(e,n),m(n,s),m(e,l),k&&k.m(e,null),m(e,a),p=!0,h||(_=[he(e,"click",tt(v)),he(e,"keydown",P)],h=!0)},p(y,w){t=y,t[148].selected?b?w[0]&4096&&d(b,1):(b=Ks(),b.c(),d(b,1),b.m(e,i)):b&&(fe(),g(b,1,1,()=>{b=null}),de()),(!p||w[0]&4096)&&o!==(o=t[148].displayValue+"")&&Qe(s,o),(!p||w[0]&256)&&B(n,"quality-title-mobile",t[8]),w[0]&4352&&(r=!t[8]&&wo(t[148].value)),r?k?(k.p(t,w),w[0]&4352&&d(k,1)):(k=Gs(t),k.c(),d(k,1),k.m(e,a)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),(!p||w[0]&4096&&c!==(c=t[148].value))&&u(e,"data-value",c),(!p||w[0]&4096&&f!==(f=K("aria_label_submenu_quality_select_quality",{quality:t[148].displayValue})))&&u(e,"aria-label",f),(!p||w[0]&256)&&B(e,"item-mobile",t[8])},i(y){p||(d(b),d(k),p=!0)},o(y){g(b),g(k),p=!1},d(y){y&&S(e),b&&b.d(),k&&k.d(),h=!1,et(_)}}}function Qs(t){let e,i,n,o,s,l,r,a,c,f,p,h;n=new Fn({props:{direction:"left"}});let _=Ft(t[11]),b=[];for(let v=0;v<_.length;v+=1)b[v]=Js(Rs(t,_,v));const k=v=>g(b[v],1,1,()=>{b[v]=null});return{c(){e=T("div"),i=T("div"),U(n.$$.fragment),o=z(),s=T("div"),s.textContent=`${K("submenu_playback_rate")}`,l=z(),r=T("div"),a=z(),c=T("ul");for(let v=0;v<b.length;v+=1)b[v].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",K("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(r,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"style",t[22]),B(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),B(e,"menu-desktop",!t[8]),B(e,"menu-mobile",t[8])},m(v,P){E(v,e,P),m(e,i),H(n,i,null),m(i,o),m(i,s),t[121](i),m(e,l),m(e,r),m(e,a),m(e,c);for(let y=0;y<b.length;y+=1)b[y]&&b[y].m(c,null);t[124](c),f=!0,p||(h=[he(i,"click",tt(t[68])),he(c,"keydown",t[84])],p=!0)},p(v,P){if((!f||P[0]&256)&&B(i,"item-mobile",v[8]),P[0]&2304|P[2]&8388616){_=Ft(v[11]);let y;for(y=0;y<_.length;y+=1){const w=Rs(v,_,y);b[y]?(b[y].p(w,P),d(b[y],1)):(b[y]=Js(w),b[y].c(),d(b[y],1),b[y].m(c,null))}for(fe(),y=_.length;y<b.length;y+=1)k(y);de()}(!f||P[0]&4194304)&&u(c,"style",v[22]),(!f||P[0]&256)&&B(c,"items-mobile",v[8]),(!f||P[0]&256)&&B(e,"menu-desktop",!v[8]),(!f||P[0]&256)&&B(e,"menu-mobile",v[8])},i(v){if(!f){d(n.$$.fragment,v);for(let P=0;P<_.length;P+=1)d(b[P]);f=!0}},o(v){g(n.$$.fragment,v),b=b.filter(Boolean);for(let P=0;P<b.length;P+=1)g(b[P]);f=!1},d(v){v&&S(e),F(n),t[121](null),vn(b,v),t[124](null),p=!1,et(h)}}}function Xs(t){let e,i,n;return i=new No({}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),H(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),F(i)}}}function Js(t){let e,i,n,o=t[145].displayValue+"",s,l,r,a,c,f,p,h=t[145].selected&&Xs();function _(){return t[122](t[145])}function b(...k){return t[123](t[145],...k)}return{c(){e=T("li"),h&&h.c(),i=z(),n=T("div"),s=ze(o),l=z(),u(n,"class","v-5r0p3"),B(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",r=t[145].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=K("aria_label_submenu_rate_select_rate",{rate:t[145].displayValue})),B(e,"item-mobile",t[8])},m(k,v){E(k,e,v),h&&h.m(e,null),m(e,i),m(e,n),m(n,s),m(e,l),c=!0,f||(p=[he(e,"click",tt(_)),he(e,"keydown",b)],f=!0)},p(k,v){t=k,t[145].selected?h?v[0]&2048&&d(h,1):(h=Xs(),h.c(),d(h,1),h.m(e,i)):h&&(fe(),g(h,1,1,()=>{h=null}),de()),(!c||v[0]&2048)&&o!==(o=t[145].displayValue+"")&&Qe(s,o),(!c||v[0]&256)&&B(n,"quality-title-mobile",t[8]),(!c||v[0]&2048&&r!==(r=t[145].value))&&u(e,"data-value",r),(!c||v[0]&2048&&a!==(a=K("aria_label_submenu_rate_select_rate",{rate:t[145].displayValue})))&&u(e,"aria-label",a),(!c||v[0]&256)&&B(e,"item-mobile",t[8])},i(k){c||(d(h),c=!0)},o(k){g(h),c=!1},d(k){k&&S(e),h&&h.d(),f=!1,et(p)}}}function xs(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,k,v,P,y,w,D,ne,I,Z,V;n=new Fn({props:{direction:"left"}});let ee=!t[9]&&$s(),M=t[9]&&er();return{c(){e=T("div"),i=T("div"),U(n.$$.fragment),o=z(),s=T("div"),s.textContent=`${K("submenu_traffic_saving")}`,l=z(),r=T("div"),a=z(),c=T("ul"),f=T("li"),ee&&ee.c(),p=z(),h=T("div"),h.textContent=`${K("traffic_saving_disable")}`,_=z(),b=T("li"),M&&M.c(),k=z(),v=T("div"),v.textContent=`${K("traffic_saving_enable")}`,P=z(),y=T("div"),w=z(),D=T("div"),ne=T("span"),ne.textContent=`${K("traffic_saving_helper_text")}`,u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",K("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(r,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),B(h,"quality-title-mobile",t[8]),u(f,"class","item item-traffic-saving v-5r0p3"),u(f,"role","menuitem"),u(f,"tabindex","0"),u(f,"aria-label",K("aria_label_submenu_traffic_saving_off")),B(f,"item-mobile",t[8]),u(v,"class","v-5r0p3"),B(v,"quality-title-mobile",t[8]),u(b,"class","item item-traffic-saving v-5r0p3"),u(b,"role","menuitem"),u(b,"tabindex","0"),u(b,"aria-label",`${K("aria_label_submenu_traffic_saving_on")}. ${K("traffic_saving_helper_text")}`),B(b,"item-mobile",t[8]),u(c,"class","items v-5r0p3"),u(c,"style",t[23]),B(c,"items-mobile",t[8]),u(y,"class","menu-divider v-5r0p3"),u(ne,"class","v-5r0p3"),u(D,"class","item item-helper-text v-5r0p3"),B(D,"item-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),B(e,"menu-desktop",!t[8]),B(e,"menu-mobile",t[8])},m(te,N){E(te,e,N),m(e,i),H(n,i,null),m(i,o),m(i,s),t[125](i),m(e,l),m(e,r),m(e,a),m(e,c),m(c,f),ee&&ee.m(f,null),m(f,p),m(f,h),m(c,_),m(c,b),M&&M.m(b,null),m(b,k),m(b,v),t[130](c),m(e,P),m(e,y),m(e,w),m(e,D),m(D,ne),I=!0,Z||(V=[he(i,"click",tt(t[68])),he(f,"click",tt(t[126])),he(f,"keydown",t[127]),he(b,"click",tt(t[128])),he(b,"keydown",t[129]),he(c,"keydown",t[90])],Z=!0)},p(te,N){(!I||N[0]&256)&&B(i,"item-mobile",te[8]),te[9]?ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()):ee?N[0]&512&&d(ee,1):(ee=$s(),ee.c(),d(ee,1),ee.m(f,p)),(!I||N[0]&256)&&B(h,"quality-title-mobile",te[8]),(!I||N[0]&256)&&B(f,"item-mobile",te[8]),te[9]?M?N[0]&512&&d(M,1):(M=er(),M.c(),d(M,1),M.m(b,k)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),(!I||N[0]&256)&&B(v,"quality-title-mobile",te[8]),(!I||N[0]&256)&&B(b,"item-mobile",te[8]),(!I||N[0]&8388608)&&u(c,"style",te[23]),(!I||N[0]&256)&&B(c,"items-mobile",te[8]),(!I||N[0]&256)&&B(D,"item-mobile",te[8]),(!I||N[0]&256)&&B(e,"menu-desktop",!te[8]),(!I||N[0]&256)&&B(e,"menu-mobile",te[8])},i(te){I||(d(n.$$.fragment,te),d(ee),d(M),I=!0)},o(te){g(n.$$.fragment,te),g(ee),g(M),I=!1},d(te){te&&S(e),F(n),t[125](null),ee&&ee.d(),M&&M.d(),t[130](null),Z=!1,et(V)}}}function $s(t){let e,i,n;return i=new No({}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),H(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),F(i)}}}function er(t){let e,i,n;return i=new No({}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),H(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),F(i)}}}function tr(t){let e,i,n,o,s,l,r,a,c,f;n=new Fn({props:{direction:"left"}});let p=Ft(t[10]),h=[];for(let b=0;b<p.length;b+=1)h[b]=nr(Bs(t,p,b));const _=b=>g(h[b],1,1,()=>{h[b]=null});return{c(){e=T("div"),i=T("div"),U(n.$$.fragment),o=z(),s=T("div"),s.textContent=`${K("subtitles_caption")}`,l=z(),r=T("ul");for(let b=0;b<h.length;b+=1)h[b].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",K("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(r,"class","items v-5r0p3"),B(r,"items-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),B(e,"menu-desktop",!t[8]),B(e,"menu-mobile",t[8])},m(b,k){E(b,e,k),m(e,i),H(n,i,null),m(i,o),m(i,s),m(e,l),m(e,r);for(let v=0;v<h.length;v+=1)h[v]&&h[v].m(r,null);t[133](r),a=!0,c||(f=[he(i,"click",tt(t[68])),he(r,"keydown",t[87])],c=!0)},p(b,k){if((!a||k[0]&256)&&B(i,"item-mobile",b[8]),k[0]&1280|k[2]&67108896){p=Ft(b[10]);let v;for(v=0;v<p.length;v+=1){const P=Bs(b,p,v);h[v]?(h[v].p(P,k),d(h[v],1)):(h[v]=nr(P),h[v].c(),d(h[v],1),h[v].m(r,null))}for(fe(),v=p.length;v<h.length;v+=1)_(v);de()}(!a||k[0]&256)&&B(r,"items-mobile",b[8]),(!a||k[0]&256)&&B(e,"menu-desktop",!b[8]),(!a||k[0]&256)&&B(e,"menu-mobile",b[8])},i(b){if(!a){d(n.$$.fragment,b);for(let k=0;k<p.length;k+=1)d(h[k]);a=!0}},o(b){g(n.$$.fragment,b),h=h.filter(Boolean);for(let k=0;k<h.length;k+=1)g(h[k]);a=!1},d(b){b&&S(e),F(n),vn(h,b),t[133](null),c=!1,et(f)}}}function ir(t){let e,i,n;return i=new No({}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),H(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),F(i)}}}function nr(t){let e,i,n,o=t[142].displayValue+"",s,l,r,a,c,f,p,h=t[142].selected&&ir();function _(){return t[131](t[142])}function b(...k){return t[132](t[142],...k)}return{c(){e=T("li"),h&&h.c(),i=z(),n=T("div"),s=ze(o),l=z(),u(n,"class","v-5r0p3"),B(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",r=t[142].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=K("aria_label_submenu_subtitle_select_subtitle",{subtitle:t[142].displayValue})),B(e,"item-mobile",t[8])},m(k,v){E(k,e,v),h&&h.m(e,null),m(e,i),m(e,n),m(n,s),m(e,l),c=!0,f||(p=[he(e,"click",tt(_)),he(e,"keydown",b)],f=!0)},p(k,v){t=k,t[142].selected?h?v[0]&1024&&d(h,1):(h=ir(),h.c(),d(h,1),h.m(e,i)):h&&(fe(),g(h,1,1,()=>{h=null}),de()),(!c||v[0]&1024)&&o!==(o=t[142].displayValue+"")&&Qe(s,o),(!c||v[0]&256)&&B(n,"quality-title-mobile",t[8]),(!c||v[0]&1024&&r!==(r=t[142].value))&&u(e,"data-value",r),(!c||v[0]&1024&&a!==(a=K("aria_label_submenu_subtitle_select_subtitle",{subtitle:t[142].displayValue})))&&u(e,"aria-label",a),(!c||v[0]&256)&&B(e,"item-mobile",t[8])},i(k){c||(d(h),c=!0)},o(k){g(h),c=!1},d(k){k&&S(e),h&&h.d(),f=!1,et(p)}}}function Ld(t){let e,i,n,o,s,l,r=t[14]&&zs(t),a=t[16]&&js(t),c=t[17]&&Qs(t),f=t[19]&&xs(t),p=t[18]&&tr(t);return{c(){e=T("div"),r&&r.c(),i=z(),a&&a.c(),n=z(),c&&c.c(),o=z(),f&&f.c(),s=z(),p&&p.c(),u(e,"class","v-5r0p3"),B(e,"hidden",!t[14]),B(e,"container-mobile",t[8])},m(h,_){E(h,e,_),r&&r.m(e,null),m(e,i),a&&a.m(e,null),m(e,n),c&&c.m(e,null),m(e,o),f&&f.m(e,null),m(e,s),p&&p.m(e,null),l=!0},p(h,_){h[14]?r?(r.p(h,_),_[0]&16384&&d(r,1)):(r=zs(h),r.c(),d(r,1),r.m(e,i)):r&&(fe(),g(r,1,1,()=>{r=null}),de()),h[16]?a?(a.p(h,_),_[0]&65536&&d(a,1)):(a=js(h),a.c(),d(a,1),a.m(e,n)):a&&(fe(),g(a,1,1,()=>{a=null}),de()),h[17]?c?(c.p(h,_),_[0]&131072&&d(c,1)):(c=Qs(h),c.c(),d(c,1),c.m(e,o)):c&&(fe(),g(c,1,1,()=>{c=null}),de()),h[19]?f?(f.p(h,_),_[0]&524288&&d(f,1)):(f=xs(h),f.c(),d(f,1),f.m(e,s)):f&&(fe(),g(f,1,1,()=>{f=null}),de()),h[18]?p?(p.p(h,_),_[0]&262144&&d(p,1)):(p=tr(h),p.c(),d(p,1),p.m(e,null)):p&&(fe(),g(p,1,1,()=>{p=null}),de()),(!l||_[0]&16384)&&B(e,"hidden",!h[14]),(!l||_[0]&256)&&B(e,"container-mobile",h[8])},i(h){l||(d(r),d(a),d(c),d(f),d(p),l=!0)},o(h){g(r),g(a),g(c),g(f),g(p),l=!1},d(h){h&&S(e),r&&r.d(),a&&a.d(),c&&c.d(),f&&f.d(),p&&p.d()}}}const hl=18;function Id(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,b,k,v,P,y,w,D,ne,I,Z,V,ee,M,{ref:te=void 0}=e,{supportLink:N}=e,{playerControlsHeight:Y=0}=e,{returnFocus:oe}=e;const C=mt(),le=sn(),ke=C.state.currentQuality$;O(t,ke,$=>i(103,k=$));const me=C.state.availableQualities$;O(t,me,$=>i(12,_=$));const _e=C.state.autoQualityLimitingAvailable$;O(t,_e,$=>i(107,w=$));const X=C.state.isAutoQualityEnabled$;O(t,X,$=>i(104,v=$));const ue=C.state.currentPlaybackRate$;O(t,ue,$=>i(13,b=$));const De=C.state.availablePlaybackRates$;O(t,De,$=>i(11,p=$));const re=C.state.currentSubtitle$;O(t,re,$=>i(37,ee=$));const Le=C.state.availableSubtitlesList$;O(t,Le,$=>i(10,c=$));const Te=C.state.canDownload,pe=C.state.hasMpegSources$;O(t,pe,$=>i(108,D=$));const Ee=C.ui.settingsMenuVisible;O(t,Ee,$=>i(14,V=$));const A=C.ui.settingsMenuOpenedByKeyboard;O(t,A,$=>i(135,o=$));const ie=C.ui.isMobile;O(t,ie,$=>i(8,s=$));const Ve=C.ui.mobileNotReportControlHidden$;O(t,Ve,$=>i(105,P=$));const ye=C.state.canChangePlaybackSpeed$;O(t,ye,$=>i(106,y=$));const ae=C.ui.isFullscreen;O(t,ae,$=>i(111,Z=$));const be=C.state.trafficSavingEnabled$;O(t,be,$=>i(9,r=$));const x=C.ui.playerSize;O(t,x,$=>i(110,I=$));const Q=C.ui.debugPanelVisible;O(t,Q,$=>i(38,M=$));const Fe=C.ui.playerSize;O(t,Fe,$=>i(109,ne=$));const Je=C.state.isInteractiveTime$,Xe=C.actions.internal.downloadVideo,Ae=C.actions.internal.closeSettingsMenu;let We=!0,xe=!1,pt=!1,rt=!1,Pe=!1,ht=!1;function at(){o||oe?.(),Ae(),ht=!1}function xt(){i(15,We=!1),i(16,xe=!0)}function $t(){i(15,We=!1),i(19,Pe=!0)}function Mt($){C.actions.internal.setQuality($),at()}function ce($){C.actions.internal.setTrafficSavingEnabled($),at()}function bt(){i(15,We=!1),i(17,pt=!0)}function it($){C.actions.internal.setPlaybackRate($),at()}function yt(){i(15,We=!1),i(18,rt=!0)}function ft($){C.actions.internal.setSubtitle($),at()}function dt(){i(15,We=!0),i(16,xe=!1),i(17,pt=!1),i(18,rt=!1),i(19,Pe=!1)}function Tt(){Xe(),at()}function Hi(){window.open(N,"_blank"),at(),C.actions.internal.pause()}function Ut(){Sl(C.actions.internal.getDebugTextData()),at()}function Vi(){Q.set(!0),at()}function Ki(){ht=!0}function ei(){ht=!1}function Fi($,$e,li){if(!$)return"...";const Xi=$e.find(an=>an.value===$),_t=Xi?Xi.displayValue:$;return li?$===co.INVARIANT?K("auto_quality_invariant"):K("auto_quality",{actual:_t}):_t}let Gi,qt,Wt,bi,Et,ri,Bt,Mi,_i,Zt,Ct,ti,vi,wi,ii,ai,ni,jt=Me(!1);O(t,jt,$=>i(102,h=$));let Kt,Rt,gt=Me(!1);O(t,gt,$=>i(101,f=$));let wt,ki,Bi=Me(!1);O(t,Bi,$=>i(100,a=$));let ui,ci,Nt=Me(!1);O(t,Nt,$=>i(99,l=$));const yi=$=>{W1($,Ae)},oi=async $=>{Ko($,xt,()=>{const $e=_.findIndex(li=>li.selected);return ni.childNodes[$e]})},Ci=async $=>{Go($,dt,jt,Ae)},ut=($,$e)=>{xi($,()=>Mt($e))},kt=async $=>{Ko($,bt,()=>{const $e=p.findIndex(li=>li.selected);return Rt.childNodes[$e]})},At=async $=>{Go($,dt,gt,Ae)},Ui=($,$e)=>{xi($,()=>it($e))},Pi=async $=>{Ko($,yt,()=>{const $e=c.findIndex(li=>li.selected);return ki.childNodes[$e]})},Yi=async $=>{Go($,dt,Bi,Ae)},Ri=($,$e)=>{xi($,()=>ft($e))},Ni=async $=>{Ko($,$t,()=>{const $e=r?2:0;return ci.childNodes[$e]})},fi=async $=>{Go($,dt,Nt,Ae)},zt=($,$e)=>{xi($,()=>ce($e))},qi=$=>{xi($,()=>Tt())},Si=$=>{xi($,()=>Hi())},di=$=>{xi($,()=>Ut())},Be=$=>{xi($,()=>Vi())};ln(()=>{const $=Je.subscribe($e=>{$e&&!s&&!ht&&!o&&at()});return()=>{$()}});function Wi($){Ce[$?"unshift":"push"](()=>{ai=$,i(4,ai)})}function zi($){Ce[$?"unshift":"push"](()=>{Kt=$,i(5,Kt)})}function mi($){Ce[$?"unshift":"push"](()=>{wt=$,i(6,wt)})}function Zi($){Ce[$?"unshift":"push"](()=>{ui=$,i(7,ui)})}function Ti($){Ce[$?"unshift":"push"](()=>{te=$,i(0,te)})}function pi($){Ce[$?"unshift":"push"](()=>{qt=$,i(1,qt)})}const Oe=$=>Mt($.value),Ei=($,$e)=>ut($e,$.value);function Dt($){Ce[$?"unshift":"push"](()=>{ni=$,i(32,ni)})}function Gt($){Ce[$?"unshift":"push"](()=>{Wt=$,i(2,Wt)})}const Ai=$=>it($.value),ji=($,$e)=>Ui($e,$.value);function Li($){Ce[$?"unshift":"push"](()=>{Rt=$,i(33,Rt)})}function rn($){Ce[$?"unshift":"push"](()=>{bi=$,i(3,bi)})}const Qi=()=>ce(!1),Ii=$=>zt($,!1),$i=()=>ce(!0),en=$=>zt($,!0);function tn($){Ce[$?"unshift":"push"](()=>{ci=$,i(35,ci)})}const Di=$=>ft($),Oi=($,$e)=>Ri($e,$);function hi($){Ce[$?"unshift":"push"](()=>{ki=$,i(34,ki)})}return t.$$set=$=>{"ref"in $&&i(0,te=$.ref),"supportLink"in $&&i(96,N=$.supportLink),"playerControlsHeight"in $&&i(97,Y=$.playerControlsHeight),"returnFocus"in $&&i(98,oe=$.returnFocus)},t.$$.update=()=>{if(t.$$.dirty[0]&16384&&V&&(i(15,We=!0),i(16,xe=!1),i(17,pt=!1),i(18,rt=!1),i(19,Pe=!1)),t.$$.dirty[3]&1024&&i(36,n=wo(k)),t.$$.dirty[0]&4096|t.$$.dirty[3]&3072&&i(20,Gi=Fi(k,_,v)),t.$$.dirty[0]&258|t.$$.dirty[3]&458768)if(s&&Z)i(21,Et=`max-height: ${Math.round(I.height*.6)}px`);else if(s)i(21,Et="");else{const $=ne.height-hl-(qt?.clientHeight??0)-Y;i(21,Et=`max-height: ${$}px; overflow: auto;`)}if(t.$$.dirty[0]&260|t.$$.dirty[3]&65552)if(s)i(22,ri="");else{const $=ne.height-hl-(Wt?.clientHeight??0)-Y;i(22,ri=`max-height: ${$}px; overflow: auto;`)}if(t.$$.dirty[0]&264|t.$$.dirty[3]&65552)if(s)i(23,Bt="");else{const $=ne.height-hl-(bi?.clientHeight??0)-Y;i(23,Bt=`max-height: ${$}px; overflow: auto;`)}t.$$.dirty[3]&36864&&i(24,Mi=Te&&D&&!P),t.$$.dirty[3]&20480&&i(25,_i=le.features.trafficSaving&&!P&&w),t.$$.dirty[0]&1024|t.$$.dirty[3]&4096&&i(26,Zt=c.length>0&&!P),t.$$.dirty[3]&12288&&i(27,Ct=!!y&&!P),t.$$.dirty[3]&4096&&i(28,ti=!P),t.$$.dirty[0]&512&&i(29,vi=K(r?"traffic_saving_on":"traffic_saving_off")),t.$$.dirty[3]&3072&&i(30,wi=v?K("auto_quality_option"):k),t.$$.dirty[0]&10240&&i(31,ii=p.find($=>$.value===b)?.displayValue),t.$$.dirty[0]&16|t.$$.dirty[3]&512&&jo(ai,jt,h),t.$$.dirty[0]&32|t.$$.dirty[3]&256&&jo(Kt,gt,f),t.$$.dirty[0]&64|t.$$.dirty[3]&128&&jo(wt,Bi,a),t.$$.dirty[0]&128|t.$$.dirty[3]&64&&jo(ui,Nt,l)},[te,qt,Wt,bi,ai,Kt,wt,ui,s,r,c,p,_,b,V,We,xe,pt,rt,Pe,Gi,Et,ri,Bt,Mi,_i,Zt,Ct,ti,vi,wi,ii,ni,Rt,ki,ci,n,ee,M,le,ke,me,_e,X,ue,De,re,Le,pe,Ee,A,ie,Ve,ye,ae,be,x,Q,Fe,at,xt,$t,Mt,ce,bt,it,yt,ft,dt,Tt,Hi,Ut,Vi,Ki,ei,jt,gt,Bi,Nt,yi,oi,Ci,ut,kt,At,Ui,Pi,Yi,Ri,Ni,fi,zt,qi,Si,di,Be,N,Y,oe,l,a,f,h,k,v,P,y,w,D,ne,I,Z,Wi,zi,mi,Zi,Ti,pi,Oe,Ei,Dt,Gt,Ai,ji,Li,rn,Qi,Ii,$i,en,tn,Di,Oi,hi]}class $1 extends we{constructor(e){super(),ve(this,e,Id,Ld,ge,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},Ed,[-1,-1,-1,-1,-1])}}function Vd(t){He(t,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function Md(t){let e,i,n;return i=new Hl({props:{isMobile:t[3],currentQuality:t[4]}}),{c(){e=T("span"),U(i.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,s){E(o,e,s),H(i,e,null),n=!0},p(o,s){const l={};s&8&&(l.isMobile=o[3]),s&16&&(l.currentQuality=o[4]),i.$set(l)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),F(i)}}}function Bd(t){let e,i,n;function o(l){t[9](l)}let s={className:t[1]?"opened":"",testId:"btn-settings",click:t[8],ariaLabel:t[2],$$slots:{default:[Md]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new gi({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"opened":""),r&4&&(a.ariaLabel=l[2]),r&4120&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Rd(t,e,i){let n,o,s,{ref:l=void 0}=e;const r=mt(),a=r.state.currentQuality$;O(t,a,k=>i(4,s=k));const c=r.ui.settingsMenuVisible;O(t,c,k=>i(1,n=k));const f=r.actions.internal.toggleSettingsMenu,p=r.ui.isMobile;O(t,p,k=>i(3,o=k));let h;function _(k){const v=Nl(k);f(v)}function b(k){l=k,i(0,l)}return t.$$set=k=>{"ref"in k&&i(0,l=k.ref)},t.$$.update=()=>{t.$$.dirty&2&&i(2,h=K(n?"tooltip_settings_on":"tooltip_settings_off"))},[l,n,h,o,s,a,c,p,_,b]}class Fl extends we{constructor(e){super(),ve(this,e,Rd,Bd,ge,{ref:0},Vd)}}function Nd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class zd extends we{constructor(e){super(),ve(this,e,null,Nd,ge,{})}}function Dd(t){let e,i;return e=new x1({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Od(t){let e,i;return e=new zd({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Hd(t){let e,i,n,o;const s=[Od,Dd],l=[];function r(a,c){return a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e!==f&&(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i||(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function Fd(t){let e,i;return e=new gi({props:{testId:"btn-Subtitles",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Ro[Ie.KeyC],$$slots:{default:[Hd]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ud(t,e,i){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,s;return t.$$set=l=>{"isSubtitlesEnabled"in l&&i(0,n=l.isSubtitlesEnabled),"click"in l&&i(1,o=l.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,s=K(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,s]}class qd extends we{constructor(e){super(),ve(this,e,Ud,Fd,ge,{isSubtitlesEnabled:0,click:1})}}function Wd(t){He(t,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function or(t){let e,i;return{c(){e=T("span"),i=ze(t[3]),u(e,"class","duration v-19o2urr")},m(n,o){E(n,e,o),m(e,i)},p(n,o){o&8&&Qe(i,n[3])},d(n){n&&S(e)}}}function Zd(t){let e,i,n,o,s=t[2]&&or(t);return{c(){e=T("div"),i=T("span"),n=ze(t[4]),o=z(),s&&s.c(),u(i,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),B(e,"mobile",t[1])},m(l,r){E(l,e,r),m(e,i),m(i,n),m(e,o),s&&s.m(e,null),t[7](e)},p(l,[r]){r&16&&Qe(n,l[4]),l[2]?s?s.p(l,r):(s=or(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&2&&B(e,"mobile",l[1])},i:W,o:W,d(l){l&&S(e),s&&s.d(),t[7](null)}}}function jd(t,e,i){let{isMobile:n=!1}=e,{duration:o}=e,{position:s}=e,{showDuration:l=!0}=e,{ref:r}=e,a,c;function f(p){Ce[p?"unshift":"push"](()=>{r=p,i(0,r)})}return t.$$set=p=>{"isMobile"in p&&i(1,n=p.isMobile),"duration"in p&&i(5,o=p.duration),"position"in p&&i(6,s=p.position),"showDuration"in p&&i(2,l=p.showDuration),"ref"in p&&i(0,r=p.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,a=In(o)),t.$$.dirty&64&&i(4,c=In(s))},[r,n,l,a,c,o,s,f]}class eu extends we{constructor(e){super(),ve(this,e,jd,Zd,ge,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},Wd)}}function Kd(t){He(t,"v-1n5yyua",".icon.v-1n5yyua.v-1n5yyua{display:block;width:24px;height:24px}.icon.v-1n5yyua .cross.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .wave1.v-1n5yyua,.icon[data-value='off'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .cross.v-1n5yyua{visibility:visible}.icon[data-value='mid'].v-1n5yyua .wave2.v-1n5yyua,.icon[data-value='min'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}")}function Gd(t){let e,i,n,o,s,l;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(s,"class","cross v-1n5yyua"),u(s,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"data-value",t[0]),u(e,"data-testid",l="volume-"+t[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(r,a){E(r,e,a),m(e,i),m(i,n),m(i,o),m(i,s)},p(r,[a]){a&1&&u(e,"data-value",r[0]),a&1&&l!==(l="volume-"+r[0]+"-icon")&&u(e,"data-testid",l)},i:W,o:W,d(r){r&&S(e)}}}function Yd(t,e,i){let{volume:n=1}=e,{muted:o=!1}=e;const s=(r,a)=>a?"off":r>.5?"max":r>.2?"mid":r>0?"min":"off";let l;return t.$$set=r=>{"volume"in r&&i(1,n=r.volume),"muted"in r&&i(2,o=r.muted)},t.$$.update=()=>{t.$$.dirty&6&&i(0,l=s(n,o))},[l,n,o]}class ll extends we{constructor(e){super(),ve(this,e,Yd,Gd,ge,{volume:1,muted:2},Kd)}}function Qd(t){let e,i;const n=t[4].default,o=Vn(n,t,t[3],null);return{c(){e=T("div"),o&&o.c(),u(e,"class","overlay")},m(s,l){E(s,e,l),o&&o.m(e,null),t[5](e),i=!0},p(s,[l]){o&&o.p&&(!i||l&8)&&Bn(o,n,s,s[3],i?Mn(n,s[3],l,null):Rn(s[3]),null)},i(s){i||(d(o,s),i=!0)},o(s){g(o,s),i=!1},d(s){s&&S(e),o&&o.d(s),t[5](null)}}}function Xd(t,e,i){let n,{$$slots:o={},$$scope:s}=e;const r=mt().ui.overlayContainer$;O(t,r,h=>i(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};ln(()=>(f(n),()=>c(n)));function p(h){Ce[h?"unshift":"push"](()=>{a=h,i(0,a)})}return t.$$set=h=>{"$$scope"in h&&i(3,s=h.$$scope)},t.$$.update=()=>{t.$$.dirty&4&&f(n)},[a,r,n,s,o,p]}class Jd extends we{constructor(e){super(),ve(this,e,Xd,Qd,ge,{})}}function xd(t){He(t,"v-1jbbzcj",'.tooltip-wrapper.v-1jbbzcj{display:flex;flex-direction:column;min-width:0}.full-width.v-1jbbzcj{width:100%}.tooltip.v-1jbbzcj{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-1jbbzcj{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-1jbbzcj{opacity:1;visibility:visible}.tooltip-pointer.v-1jbbzcj{position:absolute;bottom:0;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}')}function lr(t){let e,i;return e=new Jd({props:{$$slots:{default:[$d]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&262387&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function $d(t){let e,i,n,o,s,l,r;return{c(){e=T("div"),i=T("div"),n=ze(t[1]),o=z(),s=T("div"),u(i,"class","content v-1jbbzcj"),u(s,"class","tooltip-pointer v-1jbbzcj"),u(s,"style",l=`transform: translate(${t[5]}px, ${t[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",r=`transform: translate(${t[6]}px, ${t[7]}px);`),B(e,"active",t[0])},m(a,c){E(a,e,c),m(e,i),m(i,n),m(e,o),m(e,s),t[17](e)},p(a,c){c&2&&Qe(n,a[1]),c&32&&l!==(l=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(s,"style",l),c&192&&r!==(r=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",r),c&1&&B(e,"active",a[0])},d(a){a&&S(e),t[17](null)}}}function e2(t){let e,i,n,o,s,l;const r=t[15].default,a=Vn(r,t,t[18],null);let c=t[1]&&lr(t);return{c(){e=T("div"),a&&a.c(),i=z(),c&&c.c(),n=lt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),B(e,"full-width",t[2])},m(f,p){E(f,e,p),a&&a.m(e,null),t[16](e),E(f,i,p),c&&c.m(f,p),E(f,n,p),o=!0,s||(l=[he(e,"mouseenter",t[11]),he(e,"mousemove",t[11]),he(e,"mouseleave",t[12]),he(e,"mousedown",t[12]),he(e,"mouseup",t[11])],s=!0)},p(f,[p]){a&&a.p&&(!o||p&262144)&&Bn(a,r,f,f[18],o?Mn(r,f[18],p,null):Rn(f[18]),null),(!o||p&4)&&B(e,"full-width",f[2]),f[1]?c?(c.p(f,p),p&2&&d(c,1)):(c=lr(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(fe(),g(c,1,1,()=>{c=null}),de())},i(f){o||(d(a,f),d(c),o=!0)},o(f){g(a,f),g(c),o=!1},d(f){f&&(S(e),S(i),S(n)),a&&a.d(f),t[16](null),c&&c.d(f),s=!1,et(l)}}}const Yo=5;function t2(t,e,i){let n,o,{$$slots:s={},$$scope:l}=e,{content:r=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:p=!1}=e,h,_,b,k=0,v=Yo,P=0,y=0;const w=sn(),D=mt(),ne=D.ui.playerSize;O(t,ne,C=>i(21,o=C));const I=D.ui.overlayContainer$;O(t,I,C=>i(20,n=C));const Z=D.getLogger().createComponentLog("Tooltip component"),V=()=>{if(!n)return;const C=n.getBoundingClientRect(),le=h.getBoundingClientRect(),ke=le.width,me=_.clientWidth,_e=o.width,X=(ke-me)/2,ue=le.left+c-C.left;let De=ue+X;const re=le.top+f-C.top;let Le=me/2-Yo;const Te=De<qo,pe=De+me>_e-qo;Te&&(De=qo,Le=ue+le.width/2-2.5*Yo),pe&&(De=_e-qo-me,Le=le.left-C.left+le.width/2-De-Yo),i(6,P=De),i(7,y=re),i(5,k=Le)},ee=()=>{try{if(!n||!h)return;V(),i(0,a=!0)}catch(C){Z({message:String(C)})}},M=()=>{i(0,a=!1)},te=()=>{_&&(b||(b=window.setTimeout(ee,w.controls.hideTimeoutTooltips)),a&&ee())},N=()=>{M(),window.clearTimeout(b),b=void 0};nl(()=>window.clearTimeout(b));function Y(C){Ce[C?"unshift":"push"](()=>{h=C,i(3,h)})}function oe(C){Ce[C?"unshift":"push"](()=>{_=C,i(4,_)})}return t.$$set=C=>{"content"in C&&i(1,r=C.content),"active"in C&&i(0,a=C.active),"translateX"in C&&i(13,c=C.translateX),"translateY"in C&&i(14,f=C.translateY),"isFullWidthWrapper"in C&&i(2,p=C.isFullWidthWrapper),"$$scope"in C&&i(18,l=C.$$scope)},[a,r,p,h,_,k,P,y,v,ne,I,te,N,c,f,s,Y,oe,l]}class tu extends we{constructor(e){super(),ve(this,e,t2,e2,ge,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},xd)}}function i2(t){He(t,"v-p9r045",".btn-container.v-p9r045{position:relative;display:flex;align-items:center;height:100%;transition:var(--button-hover-transition);will-change:opacity;-webkit-tap-highlight-color:transparent}.w-max.v-p9r045{width:100%;min-width:0}")}function n2(t){let e;const i=t[16].default,n=Vn(i,t,t[21],null);return{c(){n&&n.c()},m(o,s){n&&n.m(o,s),e=!0},p(o,s){n&&n.p&&(!e||s&2097152)&&Bn(n,i,o,o[21],e?Mn(i,o[21],s,null):Rn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function o2(t){let e,i;return e=new tu({props:{content:t[9],translateX:t[7],translateY:t[8],isFullWidthWrapper:t[4],$$slots:{default:[l2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&512&&(s.content=n[9]),o&128&&(s.translateX=n[7]),o&256&&(s.translateY=n[8]),o&16&&(s.isFullWidthWrapper=n[4]),o&2097152&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function l2(t){let e;const i=t[16].default,n=Vn(i,t,t[21],null);return{c(){n&&n.c()},m(o,s){n&&n.m(o,s),e=!0},p(o,s){n&&n.p&&(!e||s&2097152)&&Bn(n,i,o,o[21],e?Mn(i,o[21],s,null):Rn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function s2(t){let e,i,n,o,s,l,r,a,c;const f=[o2,n2],p=[];function h(_,b){return _[3]&&_[5]&&!_[10]?0:1}return i=h(t),n=p[i]=f[i](t),{c(){e=T("div"),n.c(),u(e,"class",o="btn-container "+t[2]+" v-p9r045"),u(e,"aria-hidden",s=t[6]||null),bo(()=>t[20].call(e))},m(_,b){E(_,e,b),p[i].m(e,null),t[19](e),l=Al(e,t[20].bind(e)),r=!0,a||(c=[he(e,"pointerdown",tt(Jt(t[17]))),he(e,"click",tt(Jt(t[18])))],a=!0)},p(_,[b]){let k=i;i=h(_),i===k?p[i].p(_,b):(fe(),g(p[k],1,1,()=>{p[k]=null}),de(),n=p[i],n?n.p(_,b):(n=p[i]=f[i](_),n.c()),d(n,1),n.m(e,null)),(!r||b&4&&o!==(o="btn-container "+_[2]+" v-p9r045"))&&u(e,"class",o),(!r||b&64&&s!==(s=_[6]||null))&&u(e,"aria-hidden",s)},i(_){r||(d(n),r=!0)},o(_){g(n),r=!1},d(_){_&&S(e),p[i].d(),t[19](null),l(),a=!1,et(c)}}}function r2(t,e,i){let n,o,{$$slots:s={},$$scope:l}=e,{className:r=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:p=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:_=""}=e,{disabledTooltipContent:b=K("tooltip_button_disabled")}=e,{isAriaHidden:k=!1}=e,{initialTranslateXPx:v=0}=e,{initialTranslateYPx:P=-18}=e;const y=mt(),w=y.ui.isMobile;O(t,w,M=>i(10,o=M));const D=y.state.graphIsOpened$;O(t,D,M=>i(15,n=M));let ne;function I(M){go.call(this,t,M)}function Z(M){go.call(this,t,M)}function V(M){Ce[M?"unshift":"push"](()=>{f=M,i(0,f)})}function ee(){p=this.clientWidth,i(1,p)}return t.$$set=M=>{"className"in M&&i(2,r=M.className),"disabled"in M&&i(13,a=M.disabled),"hasTooltip"in M&&i(3,c=M.hasTooltip),"ref"in M&&i(0,f=M.ref),"width"in M&&i(1,p=M.width),"isFullWidthTooltip"in M&&i(4,h=M.isFullWidthTooltip),"tooltipContent"in M&&i(5,_=M.tooltipContent),"disabledTooltipContent"in M&&i(14,b=M.disabledTooltipContent),"isAriaHidden"in M&&i(6,k=M.isAriaHidden),"initialTranslateXPx"in M&&i(7,v=M.initialTranslateXPx),"initialTranslateYPx"in M&&i(8,P=M.initialTranslateYPx),"$$scope"in M&&i(21,l=M.$$scope)},t.$$.update=()=>{t.$$.dirty&57376&&(a?i(9,ne=n?K("tooltip_disabled_when_graph_on"):b):i(9,ne=_))},[f,p,r,c,h,_,k,v,P,ne,o,w,D,a,b,n,s,I,Z,V,ee,l]}class Vt extends we{constructor(e){super(),ve(this,e,r2,s2,ge,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},i2)}}function a2(t){let e,i,n,o,s;return{c(){e=R("svg"),i=R("rect"),o=R("path"),u(i,"width","20"),u(i,"height","20"),u(i,"rx","10"),u(i,"fill","white"),u(i,"fill-opacity",n=t[0]?1:.24),u(o,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(o,"fill",s=t[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){E(l,e,r),m(e,i),m(e,o)},p(l,[r]){r&1&&n!==(n=l[0]?1:.24)&&u(i,"fill-opacity",n),r&1&&s!==(s=l[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",s)},i:W,o:W,d(l){l&&S(e)}}}function u2(t,e,i){let{completed:n}=e;return t.$$set=o=>{"completed"in o&&i(0,n=o.completed)},[n]}class c2 extends we{constructor(e){super(),ve(this,e,u2,a2,ge,{completed:0})}}function f2(t){He(t,"v-bklhpe",".interactive-episode-icon.v-bklhpe{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}.interactive-episode-icon.disabled.v-bklhpe{pointer-events:none;opacity:0.4}")}function d2(t){let e,i,n,o,s;return i=new c2({props:{completed:!!t[0].completed}}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${t[0].from+t[0].width/2}%`),bo(()=>t[3].call(e)),B(e,"disabled",t[1])},m(l,r){E(l,e,r),H(i,e,null),o=Al(e,t[3].bind(e)),s=!0},p(l,r){const a={};r&1&&(a.completed=!!l[0].completed),i.$set(a),(!s||r&1&&n!==(n=`left: ${l[0].from+l[0].width/2}%`))&&u(e,"style",n),(!s||r&2)&&B(e,"disabled",l[1])},i(l){s||(d(i.$$.fragment,l),s=!0)},o(l){g(i.$$.fragment,l),s=!1},d(l){l&&S(e),F(i),o()}}}function m2(t){let e,i;return e=new Vt({props:{tooltipContent:K(t[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished"),initialTranslateXPx:-10,initialTranslateYPx:-10,disabled:t[1],width:t[2]||0,isAriaHidden:!0,isFullWidthTooltip:!1,$$slots:{default:[d2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.tooltipContent=K(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(s.disabled=n[1]),o&4&&(s.width=n[2]||0),o&23&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function p2(t,e,i){let{videoEpisode:n}=e,{disabled:o}=e,s;function l(){s=this.clientWidth,i(2,s)}return t.$$set=r=>{"videoEpisode"in r&&i(0,n=r.videoEpisode),"disabled"in r&&i(1,o=r.disabled)},[n,o,s,l]}class h2 extends we{constructor(e){super(),ve(this,e,p2,m2,ge,{videoEpisode:0,disabled:1},f2)}}function g2(t){He(t,"v-1h9p3m2",".video-episodes-wrap.v-1h9p3m2{position:absolute;width:100%;height:100%}.video-episode.v-1h9p3m2{position:absolute;height:calc(3 * var(--slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--slider-height) var(--slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-1h9p3m2:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-1h9p3m2,.video-episode-loaded.v-1h9p3m2,.video-episode-filled.v-1h9p3m2{position:absolute;height:var(--slider-height);border-radius:var(--slider-radius)}.video-episode-inner.v-1h9p3m2{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--slider-video-episode-gap));background:var(--slider-bg)}.video-episode-loaded.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}")}function sr(t,e,i){const n=t.slice();return n[2]=e[i],n}function rr(t){let e,i,n,o,s,l,r,a,c;return{c(){e=T("div"),i=T("div"),n=T("div"),s=z(),l=T("div"),a=z(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${t[2].loadedWidth/t[2].width*100}%)`),u(l,"class","video-episode-filled v-1h9p3m2"),u(l,"style",r=`transform: translateX(${t[2].filledWidth/t[2].width*100}%)`),B(l,"mobile",t[1]),u(i,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${t[2].from}%; width: ${t[2].width}%`),B(e,"mobile",t[1])},m(f,p){E(f,e,p),m(e,i),m(i,n),m(i,s),m(i,l),m(e,a)},p(f,p){p&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),p&1&&r!==(r=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(l,"style",r),p&2&&B(l,"mobile",f[1]),p&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),p&2&&B(e,"mobile",f[1])},d(f){f&&S(e)}}}function b2(t){let e,i=Ft(t[0]),n=[];for(let o=0;o<i.length;o+=1)n[o]=rr(sr(t,i,o));return{c(){e=T("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,s){E(o,e,s);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,[s]){if(s&3){i=Ft(o[0]);let l;for(l=0;l<i.length;l+=1){const r=sr(o,i,l);n[l]?n[l].p(r,s):(n[l]=rr(r),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},i:W,o:W,d(o){o&&S(e),vn(n,o)}}}function _2(t,e,i){let{videoEpisodes:n=[]}=e,{isMobile:o}=e;return t.$$set=s=>{"videoEpisodes"in s&&i(0,n=s.videoEpisodes),"isMobile"in s&&i(1,o=s.isMobile)},[n,o]}class v2 extends we{constructor(e){super(),ve(this,e,_2,b2,ge,{videoEpisodes:0,isMobile:1},g2)}}function w2(t){He(t,"v-1golz1y",".interactive-icons.v-1golz1y.v-1golz1y{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-1golz1y.v-1golz1y{top:-10px}.slider.v-1golz1y.v-1golz1y{position:relative;height:var(--slider-height);border-radius:var(--slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-1golz1y.v-1golz1y{cursor:default}.slider.v-1golz1y.v-1golz1y:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--controls-height) / 2 - var(--slider-height)) / 2);height:calc(var(--controls-height) / 2)}.bars.v-1golz1y.v-1golz1y{position:absolute;width:100%;height:100%;border-radius:var(--slider-radius);overflow:hidden;background:var(--slider-bg)}.loaded.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.filled.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}.slider.square.v-1golz1y.v-1golz1y,.slider.square.v-1golz1y>.bars.v-1golz1y,.slider.square.v-1golz1y .loaded.v-1golz1y,.slider.square.v-1golz1y .filled.v-1golz1y{border-radius:unset}.filled.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.filled.ads.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-ads)}.handleWrap.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%}.handle.v-1golz1y.v-1golz1y{position:absolute;width:var(--slider-handle-size);height:var(--slider-handle-size);right:calc(-1 * var(--slider-handle-size) / 2);top:calc((var(--slider-height) - var(--slider-handle-size)) / 2);border-radius:50%;background-color:var(--slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.slider.v-1golz1y:hover .handle.v-1golz1y,.slider-dragging.v-1golz1y .handle.v-1golz1y{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-1golz1y .handle.v-1golz1y{transform:scale(1.3)}.slider-vertical.v-1golz1y.v-1golz1y{position:absolute;left:-8px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.slider.disabled.v-1golz1y.v-1golz1y{cursor:default;pointer-events:none;opacity:0.4}")}function ar(t,e,i){const n=t.slice();return n[48]=e[i],n}function ur(t){let e,i,n=Ft(t[21]),o=[];for(let l=0;l<n.length;l+=1)o[l]=fr(ar(t,n,l));const s=l=>g(o[l],1,1,()=>{o[l]=null});return{c(){e=T("div");for(let l=0;l<o.length;l+=1)o[l].c();u(e,"class","interactive-icons v-1golz1y"),B(e,"mobile",t[5]),B(e,"hidden",t[5]&&!t[20])},m(l,r){E(l,e,r);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);i=!0},p(l,r){if(r[0]&2097664){n=Ft(l[21]);let a;for(a=0;a<n.length;a+=1){const c=ar(l,n,a);o[a]?(o[a].p(c,r),d(o[a],1)):(o[a]=fr(c),o[a].c(),d(o[a],1),o[a].m(e,null))}for(fe(),a=n.length;a<o.length;a+=1)s(a);de()}(!i||r[0]&32)&&B(e,"mobile",l[5]),(!i||r[0]&1048608)&&B(e,"hidden",l[5]&&!l[20])},i(l){if(!i){for(let r=0;r<n.length;r+=1)d(o[r]);i=!0}},o(l){o=o.filter(Boolean);for(let r=0;r<o.length;r+=1)g(o[r]);i=!1},d(l){l&&S(e),vn(o,l)}}}function cr(t){let e,i;return e=new h2({props:{videoEpisode:t[48],disabled:t[9]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisode=n[48]),o[0]&512&&(s.disabled=n[9]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function fr(t){let e,i,n=t[48].interactive&&cr(t);return{c(){n&&n.c(),e=lt()},m(o,s){n&&n.m(o,s),E(o,e,s),i=!0},p(o,s){o[48].interactive?n?(n.p(o,s),s[0]&2097152&&d(n,1)):(n=cr(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&S(e),n&&n.d(o)}}}function k2(t){let e,i,n,o,s,l;return{c(){e=T("div"),i=T("div"),o=z(),s=T("div"),u(i,"class","loaded v-1golz1y"),u(i,"style",n=`transform: translateX(${t[11]*100}%);`),u(s,"class","filled v-1golz1y"),u(s,"style",l=`transform: translateX(${t[12]*100}%);`),B(s,"active-live",t[4]),B(s,"ads",t[6]),u(e,"class","bars v-1golz1y")},m(r,a){E(r,e,a),m(e,i),m(e,o),m(e,s)},p(r,a){a[0]&2048&&n!==(n=`transform: translateX(${r[11]*100}%);`)&&u(i,"style",n),a[0]&4096&&l!==(l=`transform: translateX(${r[12]*100}%);`)&&u(s,"style",l),a[0]&16&&B(s,"active-live",r[4]),a[0]&64&&B(s,"ads",r[6])},i:W,o:W,d(r){r&&S(e)}}}function y2(t){let e,i;return e=new v2({props:{videoEpisodes:t[21],isMobile:t[5]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisodes=n[21]),o[0]&32&&(s.isMobile=n[5]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function C2(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b=t[8]&&ur(t);const k=[y2,k2],v=[];function P(y,w){return y[21].length?0:1}return n=P(t),o=v[n]=k[n](t),{c(){b&&b.c(),e=z(),i=T("div"),o.c(),s=z(),l=T("div"),r=T("div"),u(r,"class","handle v-1golz1y"),B(r,"active-live",t[4]),u(l,"class","handleWrap v-1golz1y"),u(l,"style",a=`transform: translateX(${t[13]*100}%);`),B(l,"hidden",t[10]),u(i,"class",c="slider "+t[0]+" v-1golz1y"),u(i,"aria-label",t[14]),u(i,"aria-valuemin",t[15]),u(i,"aria-valuemax",t[16]),u(i,"aria-valuenow",t[17]),u(i,"aria-valuetext",t[18]),u(i,"role","slider"),u(i,"tabindex","0"),u(i,"data-testid",f=t[1]??null),B(i,"disabled",t[9]),B(i,"slider-dragging",t[20]),B(i,"hidden",t[2]),B(i,"slider-vertical",t[3]),B(i,"no-handle",t[10]),B(i,"square",t[7])},m(y,w){b&&b.m(y,w),E(y,e,w),E(y,i,w),v[n].m(i,null),m(i,s),m(i,l),m(l,r),t[42](i),p=!0,h||(_=[he(i,"pointerdown",Jt(t[22])),he(i,"pointermove",Jt(t[23])),he(i,"pointerup",Jt(t[24])),he(i,"pointerenter",Jt(t[25])),he(i,"pointerleave",Jt(t[26])),he(i,"click",tt(Ge)),he(i,"wheel",t[27])],h=!0)},p(y,w){y[8]?b?(b.p(y,w),w[0]&256&&d(b,1)):(b=ur(y),b.c(),d(b,1),b.m(e.parentNode,e)):b&&(fe(),g(b,1,1,()=>{b=null}),de());let D=n;n=P(y),n===D?v[n].p(y,w):(fe(),g(v[D],1,1,()=>{v[D]=null}),de(),o=v[n],o?o.p(y,w):(o=v[n]=k[n](y),o.c()),d(o,1),o.m(i,s)),(!p||w[0]&16)&&B(r,"active-live",y[4]),(!p||w[0]&8192&&a!==(a=`transform: translateX(${y[13]*100}%);`))&&u(l,"style",a),(!p||w[0]&1024)&&B(l,"hidden",y[10]),(!p||w[0]&1&&c!==(c="slider "+y[0]+" v-1golz1y"))&&u(i,"class",c),(!p||w[0]&16384)&&u(i,"aria-label",y[14]),(!p||w[0]&32768)&&u(i,"aria-valuemin",y[15]),(!p||w[0]&65536)&&u(i,"aria-valuemax",y[16]),(!p||w[0]&131072)&&u(i,"aria-valuenow",y[17]),(!p||w[0]&262144)&&u(i,"aria-valuetext",y[18]),(!p||w[0]&2&&f!==(f=y[1]??null))&&u(i,"data-testid",f),(!p||w[0]&513)&&B(i,"disabled",y[9]),(!p||w[0]&1048577)&&B(i,"slider-dragging",y[20]),(!p||w[0]&5)&&B(i,"hidden",y[2]),(!p||w[0]&9)&&B(i,"slider-vertical",y[3]),(!p||w[0]&1025)&&B(i,"no-handle",y[10]),(!p||w[0]&129)&&B(i,"square",y[7])},i(y){p||(d(b),d(o),p=!0)},o(y){g(b),g(o),p=!1},d(y){y&&(S(e),S(i)),b&&b.d(y),v[n].d(),t[42](null),h=!1,et(_)}}}function P2(t,e,i){let n,o,{className:s=""}=e,{testId:l=void 0}=e,{isHidden:r=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:p=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:_=[]}=e,{withWheelHandler:b=!1}=e,{isInteractive:k=!1}=e,{disabled:v=!1}=e,{hideHandel:P=!1}=e,y,w,{onPointerDown:D=Ge}=e,{onHandleMove:ne=Ge}=e,{onPointerUp:I=Ge}=e,{onPointerEnter:Z=Ge}=e,{onPointerMove:V=Ge}=e,{onPointerLeave:ee=Ge}=e,{onWheelUp:M=Ge}=e,{onWheelDown:te=Ge}=e,{onWheelLeft:N=Ge}=e,{onWheelRight:Y=Ge}=e,{loadedProgress:oe=0}=e,{filledProgress:C=0}=e,{handleProgress:le=0}=e,{ariaLabel:ke=""}=e,{ariaValueMin:me=void 0}=e,{ariaValueMax:_e=void 0}=e,{ariaValueNow:X=void 0}=e,{ariaValueText:ue=""}=e;const De=sn();let re=!1,Le;function Te(Q){if(re)return;i(20,re=!0),w=y.getBoundingClientRect();const Fe=ye(Q.clientX,Q.clientY);D(Fe),y.setPointerCapture(Q.pointerId)}function pe(Q){const Fe=ye(Q.clientX,Q.clientY),Je=ae(Q.clientX);V(Fe,Je,w.width),re&&ne(Fe)}function Ee(Q){if(!re)return;i(20,re=!1);const Fe=ye(Q.clientX,Q.clientY);I(Fe)}function A(Q){w=y.getBoundingClientRect();const Fe=ye(Q.clientX,Q.clientY),Je=ae(Q.clientX);Z(Fe,Je,w.width)}function ie(){ee()}function Ve(Q){b&&(Q.preventDefault(),Q.deltaY<0?M():Q.deltaY>0?te():Q.deltaX>0?Y():N())}function ye(Q,Fe){return a?Math.max(0,Math.min(1,(w.height-(Fe-w.top))/w.height)):Math.min(Math.max(Q-w.x,0),w.width)/w.width}function ae(Q){return Math.min(Math.max(Q-w.x,0),w.width)}function be(Q,Fe){const Je=De.features.episodesClustering&&!k?De.episodeMinWidthPc:0,Xe=[];let Ae=0,We=0,xe=0;for(let Pe=1;Pe<_.length;Pe++)We=_[Pe].time/Le*100,We-Ae>Je&&(Xe.push({from:Ae,width:Math.max(0,We-Ae),loadedWidth:Math.max(0,Math.min(We,Q)-Ae),filledWidth:Math.max(0,Math.min(We,Fe)-Ae),interactive:_[Pe-1].interactive,completed:_[Pe-1].completed}),Ae=_[Pe].time/Le*100,xe++);const pt={from:Ae,width:Math.max(0,100-Ae),loadedWidth:Math.max(0,Math.min(Q,100)-Ae),filledWidth:Math.max(0,Math.min(Fe,100)-Ae),interactive:_[xe].interactive,completed:_[xe].completed};100-Ae<Je?(xe-=1,Xe[xe].width+=100-Ae,Xe[xe].loadedWidth+=Math.max(0,Math.min(Q,100)-Ae),Xe[xe].filledWidth+=Math.max(0,Math.min(Fe,100)-Ae)):Xe[xe]=pt;const rt=_[0].time;if(rt!==0){const Pe=rt/Le*100;Xe.unshift({from:0,width:Pe,loadedWidth:Math.min(Pe,Q),filledWidth:Math.min(Pe,Fe)})}return Xe}function x(Q){Ce[Q?"unshift":"push"](()=>{y=Q,i(19,y)})}return t.$$set=Q=>{"className"in Q&&i(0,s=Q.className),"testId"in Q&&i(1,l=Q.testId),"isHidden"in Q&&i(2,r=Q.isHidden),"isVertical"in Q&&i(3,a=Q.isVertical),"isActiveLive"in Q&&i(4,c=Q.isActiveLive),"isMobile"in Q&&i(5,f=Q.isMobile),"isAds"in Q&&i(6,p=Q.isAds),"squareBorders"in Q&&i(7,h=Q.squareBorders),"videoEpisodes"in Q&&i(28,_=Q.videoEpisodes),"withWheelHandler"in Q&&i(29,b=Q.withWheelHandler),"isInteractive"in Q&&i(8,k=Q.isInteractive),"disabled"in Q&&i(9,v=Q.disabled),"hideHandel"in Q&&i(10,P=Q.hideHandel),"onPointerDown"in Q&&i(30,D=Q.onPointerDown),"onHandleMove"in Q&&i(31,ne=Q.onHandleMove),"onPointerUp"in Q&&i(32,I=Q.onPointerUp),"onPointerEnter"in Q&&i(33,Z=Q.onPointerEnter),"onPointerMove"in Q&&i(34,V=Q.onPointerMove),"onPointerLeave"in Q&&i(35,ee=Q.onPointerLeave),"onWheelUp"in Q&&i(36,M=Q.onWheelUp),"onWheelDown"in Q&&i(37,te=Q.onWheelDown),"onWheelLeft"in Q&&i(38,N=Q.onWheelLeft),"onWheelRight"in Q&&i(39,Y=Q.onWheelRight),"loadedProgress"in Q&&i(11,oe=Q.loadedProgress),"filledProgress"in Q&&i(12,C=Q.filledProgress),"handleProgress"in Q&&i(13,le=Q.handleProgress),"ariaLabel"in Q&&i(14,ke=Q.ariaLabel),"ariaValueMin"in Q&&i(15,me=Q.ariaValueMin),"ariaValueMax"in Q&&i(16,_e=Q.ariaValueMax),"ariaValueNow"in Q&&i(17,X=Q.ariaValueNow),"ariaValueText"in Q&&i(18,ue=Q.ariaValueText)},t.$$.update=()=>{t.$$.dirty[0]&65536&&i(40,Le=_e??0),t.$$.dirty[0]&268435456|t.$$.dirty[1]&512&&i(41,n=_[_.length-1]?.time<Le),t.$$.dirty[0]&268441600|t.$$.dirty[1]&1536&&i(21,o=_.length&&n&&Le?be(oe*100,C*100):[])},[s,l,r,a,c,f,p,h,k,v,P,oe,C,le,ke,me,_e,X,ue,y,re,o,Te,pe,Ee,A,ie,Ve,_,b,D,ne,I,Z,V,ee,M,te,N,Y,Le,n,x]}class Ul extends we{constructor(e){super(),ve(this,e,P2,C2,ge,{className:0,testId:1,isHidden:2,isVertical:3,isActiveLive:4,isMobile:5,isAds:6,squareBorders:7,videoEpisodes:28,withWheelHandler:29,isInteractive:8,disabled:9,hideHandel:10,onPointerDown:30,onHandleMove:31,onPointerUp:32,onPointerEnter:33,onPointerMove:34,onPointerLeave:35,onWheelUp:36,onWheelDown:37,onWheelLeft:38,onWheelRight:39,loadedProgress:11,filledProgress:12,handleProgress:13,ariaLabel:14,ariaValueMin:15,ariaValueMax:16,ariaValueNow:17,ariaValueText:18},w2,[-1,-1])}}const hn=(t,e)=>vo[t]>=vo[e],S2=(t,e)=>vo[t]<vo[e],iu=(t,e)=>vo[t]<=vo[e],T2=t=>t>mo.L?vt.XL:t>mo.M?vt.L:t>mo.S?vt.M:t>mo.XS?vt.S:vt.XS;function E2(t){He(t,"v-1l78lz9",".volumeBar-container.v-1l78lz9{display:flex;align-items:center}.volumeBar-container.vertical.v-1l78lz9,.vertical.v-1l78lz9 .tooltip-wrapper,.vertical.v-1l78lz9 .btn{width:40px}.volumeBar.v-1l78lz9{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1l78lz9{padding:0 8px 0 0;width:0}")}function A2(t){let e,i;return e=new ll({props:{volume:t[4],muted:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&16&&(s.volume=n[4]),o[0]&4&&(s.muted=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function L2(t){let e,i;return e=new gi({props:{className:"btn-full-opacity",disabled:!t[0],testId:t[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:t[7],click:t[1],ariaKeyShortCut:Ro[Ie.KeyM],$$slots:{default:[A2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&1&&(s.disabled=!n[0]),o[0]&8&&(s.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(s.ariaLabel=n[7]),o[0]&2&&(s.click=n[1]),o[0]&20|o[1]&1&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function dr(t){let e,i,n;return i=new Ul({props:{className:t[3]?"volumeBar-slider-vertical":"",isHidden:t[3]&&!t[5],isVertical:t[3],withWheelHandler:!0,onWheelUp:t[13],onWheelDown:t[14],onPointerDown:t[12],onHandleMove:t[15],onPointerUp:t[16],onPointerEnter:t[3]?t[17]:Ge,onPointerLeave:t[3]?t[18]:Ge,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(t[8]*100),ariaValueText:`${Math.round(t[8]*100)}%`,filledProgress:t[8],handleProgress:t[8],testId:t[3]?"volume-slider-vertical":"volume-slider"}}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),B(e,"volumeBar-vertical",t[3])},m(o,s){E(o,e,s),H(i,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.className=o[3]?"volumeBar-slider-vertical":""),s[0]&40&&(l.isHidden=o[3]&&!o[5]),s[0]&8&&(l.isVertical=o[3]),s[0]&8&&(l.onPointerEnter=o[3]?o[17]:Ge),s[0]&8&&(l.onPointerLeave=o[3]?o[18]:Ge),s[0]&256&&(l.ariaValueNow=Math.round(o[8]*100)),s[0]&256&&(l.ariaValueText=`${Math.round(o[8]*100)}%`),s[0]&256&&(l.filledProgress=o[8]),s[0]&256&&(l.handleProgress=o[8]),s[0]&8&&(l.testId=o[3]?"volume-slider-vertical":"volume-slider"),i.$set(l),(!n||s[0]&8)&&B(e,"volumeBar-vertical",o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),F(i)}}}function I2(t){let e,i,n,o,s,l;i=new tu({props:{content:t[6],translateY:-18,$$slots:{default:[L2]},$$scope:{ctx:t}}});let r=t[0]&&dr(t);return{c(){e=T("div"),U(i.$$.fragment),n=z(),r&&r.c(),u(e,"class","volumeBar-container v-1l78lz9"),B(e,"vertical",t[3])},m(a,c){E(a,e,c),H(i,e,null),m(e,n),r&&r.m(e,null),o=!0,s||(l=[he(e,"mouseenter",function(){bn(t[3]?t[19]:Ge)&&(t[3]?t[19]:Ge).apply(this,arguments)}),he(e,"mouseleave",function(){bn(t[3]?t[20]:Ge)&&(t[3]?t[20]:Ge).apply(this,arguments)}),he(e,"wheel",Jt(t[21]))],s=!0)},p(a,c){t=a;const f={};c[0]&64&&(f.content=t[6]),c[0]&159|c[1]&1&&(f.$$scope={dirty:c,ctx:t}),i.$set(f),t[0]?r?(r.p(t,c),c[0]&1&&d(r,1)):(r=dr(t),r.c(),d(r,1),r.m(e,null)):r&&(fe(),g(r,1,1,()=>{r=null}),de()),(!o||c[0]&8)&&B(e,"vertical",t[3])},i(a){o||(d(i.$$.fragment,a),d(r),o=!0)},o(a){g(i.$$.fragment,a),g(r),o=!1},d(a){a&&S(e),F(i),r&&r.d(),s=!1,et(l)}}}function V2(t,e,i){let n,o,s,{isAudioAvailable:l=!0}=e,{click:r}=e;const a=mt(),c=sn(),f=a.state.volume$;O(t,f,me=>i(4,n=me));const p=a.state.muted$;O(t,p,me=>i(23,s=me));const h=a.actions.internal.setVolume,_=a.ui.currentGridType$;O(t,_,me=>i(22,o=me));let b=!1,k,v,P,y,w,D,ne=1,I=!1;function Z(me){ne=n,h(me)}function V(){G1(a,n,c.controls.volumeStepWheel)}function ee(){Y1(a,n,c.controls.volumeStepWheel)}function M(me){h(me)}function te(me){const _e=me;h(_e,_e===0?ne:_e)}function N(){I=!0}function Y(){I=!1,le()}function oe(){clearTimeout(k),i(5,b=!0)}function C(){le()}function le(){k=window.setTimeout(()=>{I||i(5,b=!1)},c.controls.volumeBarTimeout)}function ke(me){me.deltaY<0?V():me.deltaY>0&&ee()}return t.$$set=me=>{"isAudioAvailable"in me&&i(0,l=me.isAudioAvailable),"click"in me&&i(1,r=me.click)},t.$$.update=()=>{t.$$.dirty[0]&8388609&&i(2,y=!l||s),t.$$.dirty[0]&4194304&&i(3,w=iu(o,vt.S)),t.$$.dirty[0]&12&&(w?i(6,v=""):i(6,v=K(y?"tooltip_volume":"tooltip_volume_muted")),i(7,P=K(y?"tooltip_volume":"tooltip_volume_muted"))),t.$$.dirty[0]&20&&i(8,D=y?0:n)},[l,r,y,w,n,b,v,P,D,f,p,_,Z,V,ee,M,te,N,Y,oe,C,ke,o,s]}class M2 extends we{constructor(e){super(),ve(this,e,V2,I2,ge,{isAudioAvailable:0,click:1},E2,[-1,-1])}}function B2(t){let e;return{c(){e=R("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(i,n){E(i,e,n)},d(i){i&&S(e)}}}function R2(t){let e;return{c(){e=R("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(i,n){E(i,e,n)},d(i){i&&S(e)}}}function N2(t){let e,i,n;function o(r,a){return r[0]?R2:B2}let s=o(t),l=s(t);return{c(){e=R("svg"),i=R("g"),l.c(),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(r,a){E(r,e,a),m(e,i),l.m(i,null)},p(r,[a]){s!==(s=o(r))&&(l.d(1),l=s(r),l&&(l.c(),l.m(i,null))),a&1&&n!==(n=r[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:W,o:W,d(r){r&&S(e),l.d()}}}function z2(t,e,i){let{isFullscreen:n=!1}=e;return t.$$set=o=>{"isFullscreen"in o&&i(0,n=o.isFullscreen)},[n]}class D2 extends we{constructor(e){super(),ve(this,e,z2,N2,ge,{isFullscreen:0})}}function O2(t){let e,i;return e=new D2({props:{isFullscreen:t[0]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&1&&(s.isFullscreen=n[0]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function H2(t){let e,i;return e=new gi({props:{testId:"btn-fullscreen",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Ro[Ie.KeyF],$$slots:{default:[O2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function F2(t,e,i){let{isFullscreen:n=!1}=e,{click:o=Ge}=e,s;return t.$$set=l=>{"isFullscreen"in l&&i(0,n=l.isFullscreen),"click"in l&&i(1,o=l.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,s=K(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,s]}class nu extends we{constructor(e){super(),ve(this,e,F2,H2,ge,{isFullscreen:0,click:1})}}function U2(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class ql extends we{constructor(e){super(),ve(this,e,null,U2,ge,{})}}function q2(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class ou extends we{constructor(e){super(),ve(this,e,null,q2,ge,{})}}function W2(t){He(t,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function mr(t){let e;return{c(){e=T("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){E(i,e,n)},d(i){i&&S(e)}}}function Z2(t){let e,i,n,o,s=t[1]&&mr();var l=t[8];function r(a){return{}}return l&&(n=Cn(l,r())),{c(){s&&s.c(),e=z(),i=T("div"),n&&U(n.$$.fragment),u(i,"class","v-1ot3duq"),B(i,"mobile",t[1])},m(a,c){s&&s.m(a,c),E(a,e,c),E(a,i,c),n&&H(n,i,null),o=!0},p(a,c){if(a[1]?s||(s=mr(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),c&256&&l!==(l=a[8])){if(n){fe();const f=n;g(f.$$.fragment,1,0,()=>{F(f,1)}),de()}l?(n=Cn(l,r()),U(n.$$.fragment),d(n.$$.fragment,1),H(n,i,null)):n=null}(!o||c&2)&&B(i,"mobile",a[1])},i(a){o||(n&&d(n.$$.fragment,a),o=!0)},o(a){n&&g(n.$$.fragment,a),o=!1},d(a){a&&(S(e),S(i)),s&&s.d(a),n&&F(n)}}}function j2(t){let e,i,n;function o(l){t[13](l)}let s={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-play",click:t[5]?t[6]:t[4],disabled:t[2],ariaLabel:t[7],ariaKeyShortCut:Ro[Ie.KeyK],$$slots:{default:[Z2]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new gi({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&112&&(a.click=l[5]?l[6]:l[4]),r&4&&(a.disabled=l[2]),r&128&&(a.ariaLabel=l[7]),r&33026&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function K2(t,e,i){let n,o;const{fakeIsPlaying$:s}=Vl();O(t,s,y=>i(12,o=y));let{ref:l=void 0}=e,{isMobile:r=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:p=Ge}=e;const{toggle:h}=s;let _,b,k,v;function P(y){l=y,i(0,l)}return t.$$set=y=>{"ref"in y&&i(0,l=y.ref),"isMobile"in y&&i(1,r=y.isMobile),"isPlaying"in y&&i(10,a=y.isPlaying),"disabled"in y&&i(2,c=y.disabled),"className"in y&&i(3,f=y.className),"click"in y&&i(4,p=y.click)},t.$$.update=()=>{t.$$.dirty&4096&&i(5,b=o!==null),t.$$.dirty&5152&&i(11,k=b?o:a),t.$$.dirty&2048&&i(7,v=K(k?"tooltip_pause":"tooltip_play")),t.$$.dirty&2048&&i(8,n=k?ou:ql)},i(6,_=h),[l,r,c,f,p,b,_,v,n,s,a,k,o,P]}class Wl extends we{constructor(e){super(),ve(this,e,K2,j2,ge,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},W2)}}function G2(t){He(t,"v-mb3pjo",".prev.v-mb3pjo{transform:scaleX(-1)}.mobile.v-mb3pjo{transform:scale(1.3333)}.mobile.prev.v-mb3pjo{transform:scaleX(-1) scale(1.3333)}")}function Y2(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(i,"fill","#fff"),u(e,"data-testid",n=t[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),B(e,"prev",t[0]),B(e,"mobile",t[1])},m(o,s){E(o,e,s),m(e,i)},p(o,[s]){s&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),s&1&&B(e,"prev",o[0]),s&2&&B(e,"mobile",o[1])},i:W,o:W,d(o){o&&S(e)}}}function Q2(t,e,i){let{isPrev:n=!1}=e,{isMobile:o=!1}=e;return t.$$set=s=>{"isPrev"in s&&i(0,n=s.isPrev),"isMobile"in s&&i(1,o=s.isMobile)},[n,o]}class X2 extends we{constructor(e){super(),ve(this,e,Q2,Y2,ge,{isPrev:0,isMobile:1},G2)}}function J2(t){let e,i;return e=new X2({props:{isMobile:t[1],isPrev:t[3]==="prev"}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&8&&(s.isPrev=n[3]==="prev"),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function x2(t){let e,i,n;function o(l){t[6](l)}let s={testId:"btn-"+t[3],disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[J2]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new gi({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.testId="btn-"+l[3]),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&138&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function $2(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:s=!1}=e,{type:l}=e,{click:r}=e,a;function c(f){n=f,i(0,n)}return t.$$set=f=>{"ref"in f&&i(0,n=f.ref),"isMobile"in f&&i(1,o=f.isMobile),"disabled"in f&&i(2,s=f.disabled),"type"in f&&i(3,l=f.type),"click"in f&&i(4,r=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=K(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,s,l,r,a,c]}class sl extends we{constructor(e){super(),ve(this,e,$2,x2,ge,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function e4(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class t4 extends we{constructor(e){super(),ve(this,e,null,e4,ge,{})}}function i4(t){He(t,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function pr(t){let e,i,n,o,s,l,r;return{c(){e=R("path"),i=R("path"),n=R("path"),o=R("path"),s=R("path"),l=R("path"),r=R("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(i,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(i,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"fill","white"),u(s,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(s,"fill","white"),u(l,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(l,"fill","white"),u(r,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(r,"fill","white")},m(a,c){E(a,e,c),E(a,i,c),E(a,n,c),E(a,o,c),E(a,s,c),E(a,l,c),E(a,r,c)},d(a){a&&(S(e),S(i),S(n),S(o),S(s),S(l),S(r))}}}function n4(t){let e,i,n,o=!t[0]&&pr();return{c(){e=R("svg"),i=R("path"),o&&o.c(),u(i,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(i,"fill","white"),u(e,"width",t[2]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(t[2]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",t[3]),u(e,"class","v-1bbobod"),B(e,"mobile",t[1])},m(s,l){E(s,e,l),m(e,i),o&&o.m(e,null)},p(s,[l]){s[0]?o&&(o.d(1),o=null):o||(o=pr(),o.c(),o.m(e,null)),l&4&&u(e,"width",s[2]),l&4&&n!==(n="0 0 "+(s[2]+1)+" 20")&&u(e,"viewBox",n),l&8&&u(e,"data-testid",s[3]),l&2&&B(e,"mobile",s[1])},i:W,o:W,d(s){s&&S(e),o&&o.d()}}}function o4(t,e,i){let{short:n=!1}=e,{isMobile:o=!1}=e,s,l;return t.$$set=r=>{"short"in r&&i(0,n=r.short),"isMobile"in r&&i(1,o=r.isMobile)},t.$$.update=()=>{t.$$.dirty&1&&(i(2,s=n?20:93),i(3,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,s,l]}class l4 extends we{constructor(e){super(),ve(this,e,o4,n4,ge,{short:0,isMobile:1},i4)}}function s4(t){let e,i;return e=new t4({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p:W,i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function r4(t){let e,i;return e=new l4({props:{short:t[4],isMobile:!!t[7]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.short=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function a4(t){let e,i,n,o;const s=[r4,s4],l=[];function r(a,c){return a[2]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function u4(t){let e,i,n;function o(l){t[13](l)}let s={className:"btn-full-opacity",disabled:!t[1],click:t[8],testId:t[2]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:t[3],$$slots:{default:[a4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new gi({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.disabled=!l[1]),r&4&&(a.testId=l[2]?"btn-vk-video-logo":"btn-vk-logo"),r&8&&(a.ariaLabel=l[3]),r&524308&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function c4(t,e,i){let n,o,s,{ref:l=void 0}=e,{logoClickable:r=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=sn(),{logoLink:p,addTimeToLogoLink:h}=f,_=mt(),b=_.state.positionWithScrubbing$;O(t,b,I=>i(14,n=I));const k=_.ui.currentGridType$;O(t,k,I=>i(11,o=I));const v=_.ui.isMobile;O(t,v,I=>i(12,s=I));let P,y,w;const D=()=>{let I;if(y||!a)I=p;else{const Z=Math.round(n);if(h&&Z){const V=new URL(a);V.searchParams.append("t",cc(Z)),I=V.toString()}else I=a}c(),window.open(I,"_blank")};function ne(I){l=I,i(0,l)}return t.$$set=I=>{"ref"in I&&i(0,l=I.ref),"logoClickable"in I&&i(1,r=I.logoClickable),"videoLogoUrl"in I&&i(9,a=I.videoLogoUrl),"click"in I&&i(10,c=I.click)},t.$$.update=()=>{t.$$.dirty&6148&&i(4,w=(s||iu(o,vt.L))&&y)},i(3,P=f.logoType===_o.VK_VIDEO?K("tooltip_vk_video_logo"):K("tooltip_vk_logo")),i(2,y=f.logoType===_o.VK_VIDEO),[l,r,y,P,w,b,k,v,D,a,c,o,s,ne]}class lu extends we{constructor(e){super(),ve(this,e,c4,u4,ge,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function f4(t){He(t,"v-8z1bf5",".connecting.v-8z1bf5 .wave.v-8z1bf5{animation-duration:1s;animation-iteration-count:infinite}.connecting.v-8z1bf5 .wave1.v-8z1bf5{animation-name:v-8z1bf5-wave1}.connecting.v-8z1bf5 .wave2.v-8z1bf5{animation-name:v-8z1bf5-wave2}.connecting.v-8z1bf5 .wave3.v-8z1bf5{animation-name:v-8z1bf5-wave3}@keyframes v-8z1bf5-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function d4(t){let e,i,n,o,s,l,r,a;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),l=R("path"),r=R("path"),a=R("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(s,"class","wave wave3 v-8z1bf5"),u(s,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(s,"fill","#fff"),u(l,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(l,"fill","#fff"),u(r,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),B(a,"hidden",!t[1]),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-icon"),u(e,"class","v-8z1bf5"),B(e,"connecting",t[2])},m(c,f){E(c,e,f),m(e,i),m(i,n),m(i,o),m(i,s),m(i,l),m(i,r),m(i,a)},p(c,f){f&2&&B(a,"hidden",!c[1]),f&4&&B(e,"connecting",c[2])},d(c){c&&S(e)}}}function m4(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,k,v,P,y,w,D,ne;return{c(){e=R("svg"),i=R("g"),n=R("mask"),o=R("path"),l=R("path"),r=R("path"),c=R("path"),f=R("defs"),p=R("clipPath"),h=R("path"),b=R("filter"),k=R("feFlood"),v=R("feColorMatrix"),P=R("feOffset"),y=R("feGaussianBlur"),w=R("feColorMatrix"),D=R("feBlend"),ne=R("feBlend"),u(o,"fill",s=t[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(r,"fill",a=t[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(h,"fill",_=t[1]?"#2688EB":"#fff"),u(h,"d","M0 0h24v24H0z"),u(p,"id","a"),u(k,"flood-opacity","0"),u(k,"result","BackgroundImageFix"),u(v,"in","SourceAlpha"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(v,"result","hardAlpha"),u(y,"stdDeviation","2.5"),u(w,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(D,"in2","BackgroundImageFix"),u(D,"result","effect1_dropShadow_4085_178456"),u(ne,"in","SourceGraphic"),u(ne,"in2","effect1_dropShadow_4085_178456"),u(ne,"result","shape"),u(b,"id","b"),u(b,"x","-3.4"),u(b,"y","-1.4"),u(b,"width","30.8"),u(b,"height","26.802"),u(b,"filterUnits","userSpaceOnUse"),u(b,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(I,Z){E(I,e,Z),m(e,i),m(i,n),m(n,o),m(n,l),m(i,r),m(i,c),m(e,f),m(f,p),m(p,h),m(f,b),m(b,k),m(b,v),m(b,P),m(b,y),m(b,w),m(b,D),m(b,ne)},p(I,Z){Z&2&&s!==(s=I[1]?"#2688EB":"#fff")&&u(o,"fill",s),Z&2&&a!==(a=I[1]?"#2688EB":"#fff")&&u(r,"fill",a),Z&2&&_!==(_=I[1]?"#2688EB":"#fff")&&u(h,"fill",_)},d(I){I&&S(e)}}}function p4(t){let e;function i(s,l){return s[0]?m4:d4}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(s){s&&S(e),o.d(s)}}}function h4(t,e,i){let{isMobile:n=!1}=e,{state:o}=e,s,l;return t.$$set=r=>{"isMobile"in r&&i(0,n=r.isMobile),"state"in r&&i(3,o=r.state)},t.$$.update=()=>{t.$$.dirty&8&&(i(2,l=o===yn.CONNECTING),i(1,s=o===yn.CONNECTED))},[n,s,l,o]}class g4 extends we{constructor(e){super(),ve(this,e,h4,p4,ge,{isMobile:0,state:3},f4)}}function b4(t){let e,i;return e=new g4({props:{isMobile:t[1],state:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&4&&(s.state=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function _4(t){let e,i,n;function o(l){t[5](l)}let s={ariaLabel:t[4],click:t[3],testId:"btn-chromecast",$$slots:{default:[b4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new gi({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&16&&(a.ariaLabel=l[4]),r&8&&(a.click=l[3]),r&70&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function v4(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{state:s}=e,{click:l=Ge}=e,r;function a(c){n=c,i(0,n)}return t.$$set=c=>{"ref"in c&&i(0,n=c.ref),"isMobile"in c&&i(1,o=c.isMobile),"state"in c&&i(2,s=c.state),"click"in c&&i(3,l=c.click)},t.$$.update=()=>{t.$$.dirty&4&&i(4,r=s===yn.CONNECTED?K("tooltip_chromecast_on"):K("tooltip_chromecast_off"))},[n,o,s,l,r,a]}class su extends we{constructor(e){super(),ve(this,e,v4,_4,ge,{ref:0,isMobile:1,state:2,click:3})}}function w4(t){let e,i;return e=new O1({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function k4(t){let e,i;return e=new gi({props:{className:t[0]?"":"btn--live btn-full-opacity",testId:t[1]?"btn-live":"btn-live-offset",disabled:t[1]&&t[3]===Ht.PLAYING,ariaLabel:t[2],click:t[4],$$slots:{default:[w4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(s.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(s.disabled=n[1]&&n[3]===Ht.PLAYING),o&4&&(s.ariaLabel=n[2]),o&16&&(s.click=n[4]),o&514&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function y4(t,e,i){let n,{isMobile:o=!1}=e,{isActiveLive:s=!1}=e,{ariaLabel:l=""}=e;const r=mt(),a=r.state.playbackState$;O(t,a,h=>i(3,n=h));const c=r.actions.internal.switchToActiveLive,f=r.actions.internal.togglePlay;let p;return t.$$set=h=>{"isMobile"in h&&i(0,o=h.isMobile),"isActiveLive"in h&&i(1,s=h.isActiveLive),"ariaLabel"in h&&i(2,l=h.ariaLabel)},t.$$.update=()=>{t.$$.dirty&10&&i(4,p=()=>{if(!s){c();return}n===Ht.PAUSED&&f()})},[o,s,l,n,p,a]}class ru extends we{constructor(e){super(),ve(this,e,y4,k4,ge,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function C4(t){He(t,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function P4(t){let e,i,n,o;const s=t[9].default,l=Vn(s,t,t[8],null);return{c(){e=T("div"),i=T("div"),l&&l.c(),u(i,"class","tooltip v-5ygsa2"),B(i,"active",t[0]),B(i,"pointer",t[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${t[5]}px, ${t[2]}px);`)},m(r,a){E(r,e,a),m(e,i),l&&l.m(i,null),t[10](i),t[11](e),o=!0},p(r,[a]){l&&l.p&&(!o||a&256)&&Bn(l,s,r,r[8],o?Mn(s,r[8],a,null):Rn(r[8]),null),(!o||a&1)&&B(i,"active",r[0]),(!o||a&2)&&B(i,"pointer",r[1]),(!o||a&36&&n!==(n=`transform: translate(${r[5]}px, ${r[2]}px);`))&&u(e,"style",n)},i(r){o||(d(l,r),o=!0)},o(r){g(l,r),o=!1},d(r){r&&S(e),l&&l.d(r),t[10](null),t[11](null)}}}function S4(t,e,i){let n,{$$slots:o={},$$scope:s}=e,{active:l=!1}=e,{pointer:r=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,p,h;function _(v){if(!h)return 0;const{width:P}=h.getBoundingClientRect(),y=P/2;return v<y?y:v>f-y?f-y:v}function b(v){Ce[v?"unshift":"push"](()=>{h=v,i(4,h)})}function k(v){Ce[v?"unshift":"push"](()=>{p=v,i(3,p)})}return t.$$set=v=>{"active"in v&&i(0,l=v.active),"pointer"in v&&i(1,r=v.pointer),"translateXPx"in v&&i(6,a=v.translateXPx),"translateYPx"in v&&i(2,c=v.translateYPx),"containerWidth"in v&&i(7,f=v.containerWidth),"$$scope"in v&&i(8,s=v.$$scope)},t.$$.update=()=>{t.$$.dirty&64&&i(5,n=_(a))},[l,r,c,p,h,n,a,f,s,o,b,k]}class T4 extends we{constructor(e){super(),ve(this,e,S4,P4,ge,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},C4)}}const au=(t,e,i)=>i.filter(n=>n.time<t*e).pop();function E4(t){He(t,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function hr(t){let e;function i(s,l){return s[2]&&s[10].completed===!1?L4:A4}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,l){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},d(s){s&&S(e),o.d(s)}}}function A4(t){let e=(t[10].text||"")+"",i;return{c(){i=ze(e)},m(n,o){E(n,i,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&Qe(i,e)},d(n){n&&S(i)}}}function L4(t){let e=K("tooltip_episode_unfinished")+"",i;return{c(){i=ze(e)},m(n,o){E(n,i,o)},p:W,d(n){n&&S(i)}}}function I4(t){let e,i,n,o,s,l,r,a,c=t[10]&&hr(t);return{c(){e=T("div"),i=T("div"),o=z(),s=T("div"),c&&c.c(),l=z(),r=T("div"),a=ze(t[0]),u(i,"class","preview v-l51fc1"),u(i,"style",n=`width: ${t[3]}px; height: ${t[4]}px; background-image: url(${t[5]}); background-size: ${t[6]}px ${t[7]}px; background-position: ${t[8]}px ${t[9]}px; transform: translateY(${t[11]%180?-35:0}px) rotate(${t[11]}deg);`),u(s,"class","episode v-l51fc1"),u(r,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),B(e,"mobile",t[1])},m(f,p){E(f,e,p),m(e,i),m(e,o),m(e,s),c&&c.m(s,null),m(e,l),m(e,r),m(r,a)},p(f,[p]){p&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(i,"style",n),f[10]?c?c.p(f,p):(c=hr(f),c.c(),c.m(s,null)):c&&(c.d(1),c=null),p&1&&Qe(a,f[0]),p&2&&B(e,"mobile",f[1])},i:W,o:W,d(f){f&&S(e),c&&c.d()}}}const uo=150;function V4(t,e,i){let n,{time:o=""}=e,{isMobile:s=!1}=e,{videoEpisodes:l=[]}=e,{previewThumbsData:r}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=mt().ui.rotateAlpha;O(t,h,Z=>i(11,n=Z));let _,b,k,v,P,y,w,D;function ne(){let Z=r.frameWidth,V=r.frameHeight;return Z>uo?(V=V/Z*uo,Z=uo):V>uo&&(Z=Z/V*uo,V=uo),{width:Z,height:V}}function I(Z){let V;r.isUV?V=Math.floor(c*Z/r.frequency):V=Math.min(r.countTotal,Math.max(0,Math.floor(r.countTotal*Z)));const ee=Math.floor(V/r.countPerImage),M=Math.floor(V%r.countPerImage/r.countPerRow),te=V%r.countPerRow;let N=Math.floor(r.countPerImage/r.countPerRow);!r.isUV&&ee===Math.floor(r.countTotal/r.countPerImage)&&(N=Math.floor(r.countTotal%r.countPerImage/r.countPerRow),r.countTotal%r.countPerImage%r.countPerRow>0&&N++);let Y=r.countPerRow;!r.isUV&&ee===Math.floor(r.countTotal/r.countPerImage)&&r.countTotal%r.countPerImage>0&&(Y=Math.min(r.countPerRow,r.countTotal%r.countPerImage));const oe=_*Y,C=b*N,le=-te*_,ke=-M*b;return{imgSrc:r.links[ee],imgWidth:oe,imgHeight:C,imgOffsetX:le,imgOffsetY:ke}}return t.$$set=Z=>{"time"in Z&&i(0,o=Z.time),"isMobile"in Z&&i(1,s=Z.isMobile),"videoEpisodes"in Z&&i(13,l=Z.videoEpisodes),"previewThumbsData"in Z&&i(14,r=Z.previewThumbsData),"progress"in Z&&i(15,a=Z.progress),"duration"in Z&&i(16,c=Z.duration),"isInteractive"in Z&&i(2,f=Z.isInteractive)},t.$$.update=()=>{t.$$.dirty&32768&&i(5,{imgSrc:k,imgWidth:v,imgHeight:P,imgOffsetX:y,imgOffsetY:w}=I(a),k,(i(6,v),i(15,a)),(i(7,P),i(15,a)),(i(8,y),i(15,a)),(i(9,w),i(15,a))),t.$$.dirty&106496&&i(10,D=au(a,c,l))},i(3,{width:_,height:b}=ne(),_,i(4,b)),[o,s,f,_,b,k,v,P,y,w,D,n,h,l,r,a,c]}class M4 extends we{constructor(e){super(),ve(this,e,V4,I4,ge,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},E4)}}function B4(t){He(t,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function R4(t){let e,i;return{c(){e=T("span"),i=ze(t[7]),u(e,"class","time v-5lzly8")},m(n,o){E(n,e,o),m(e,i)},p(n,o){o[0]&128&&Qe(i,n[7])},i:W,o:W,d(n){n&&S(e)}}}function N4(t){let e,i;return e=new M4({props:{time:t[7],isMobile:t[10],videoEpisodes:t[3],previewThumbsData:t[21],progress:t[8],duration:t[1],isInteractive:t[23]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&128&&(s.time=n[7]),o[0]&1024&&(s.isMobile=n[10]),o[0]&8&&(s.videoEpisodes=n[3]),o[0]&256&&(s.progress=n[8]),o[0]&2&&(s.duration=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function z4(t){let e,i,n,o;const s=[N4,R4],l=[];function r(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function D4(t){let e,i,n,o;const s=[t[9]];let l={$$slots:{default:[z4]},$$scope:{ctx:t}};for(let r=0;r<s.length;r+=1)l=l1(l,s[r]);return e=new T4({props:l}),n=new Ul({props:{isActiveLive:t[11],isMobile:t[10],ariaLabel:K("aria_timeline"),ariaValueMin:0,ariaValueMax:t[1],ariaValueNow:Math.round(t[6]*100),ariaValueText:K("aria_timeline_value",{position:t[5],duration:t[4]}),loadedProgress:t[12],filledProgress:t[6],handleProgress:t[6],videoEpisodes:t[3],onPointerDown:t[27],onHandleMove:t[28],onPointerMove:t[31],onPointerUp:t[29],onPointerEnter:t[30],onPointerLeave:t[32],isInteractive:t[23],disabled:t[13].has(nt.TIMELINE),hideHandel:t[2]}}),{c(){U(e.$$.fragment),i=z(),U(n.$$.fragment)},m(r,a){H(e,r,a),E(r,i,a),H(n,r,a),o=!0},p(r,a){const c=a[0]&512?Bc(s,[Rc(r[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:r}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=r[11]),a[0]&1024&&(f.isMobile=r[10]),a[0]&2&&(f.ariaValueMax=r[1]),a[0]&64&&(f.ariaValueNow=Math.round(r[6]*100)),a[0]&48&&(f.ariaValueText=K("aria_timeline_value",{position:r[5],duration:r[4]})),a[0]&4096&&(f.loadedProgress=r[12]),a[0]&64&&(f.filledProgress=r[6]),a[0]&64&&(f.handleProgress=r[6]),a[0]&8&&(f.videoEpisodes=r[3]),a[0]&8192&&(f.disabled=r[13].has(nt.TIMELINE)),a[0]&4&&(f.hideHandel=r[2]),n.$set(f)},i(r){o||(d(e.$$.fragment,r),d(n.$$.fragment,r),o=!0)},o(r){g(e.$$.fragment,r),g(n.$$.fragment,r),o=!1},d(r){r&&S(i),F(e,r),F(n,r)}}}function O4(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,{showTimeline:b=!1}=e;const k=mt(),v=sn(),P=k.state.bufferedProgress$;O(t,P,x=>i(12,h=x));const y=k.state.positionWithScrubbing$;O(t,y,x=>i(39,a=x));const w=k.state.duration$;O(t,w,x=>i(1,s=x));const D=k.state.isLive$;O(t,D,x=>i(0,o=x));const ne=k.state.isActiveLive$;O(t,ne,x=>i(11,p=x));const I=k.ui.isMobile;O(t,I,x=>i(10,f=x));const Z=v.features.episodes?k.actions.internal.getVideoEpisodes():void 0,V=k.actions.internal.getPreviewThumbsData(),ee=k.state.interactiveEpisodes$;O(t,ee,x=>i(40,c=x));const M=k.state.isInteractive,te=k.state.isInteractiveTime$;O(t,te,x=>i(2,l=x));const N=k.state.isInteractiveExpectation$;O(t,N,x=>i(38,r=x));const Y=k.actions.internal.correctSeekTimeToInteractive,oe=k.ui.controls.disabledControls$;O(t,oe,x=>i(13,_=x));let C,le,ke,me,_e=!1,X="",ue=0,De=0,re=0,Le;function Te(x){return!Y||!M?x:Y(x*s)/s}function pe(x){k.actions.internal.startScrubbing(Te(x))}function Ee(x){l||k.actions.internal.progressScrubbing(Te(x))}function A(x){k.actions.internal.completeScrubbing(Te(x)),i(34,_e=!1)}function ie(x,Q,Fe){ae(x,Q,Fe),i(34,_e=!0)}function Ve(x,Q,Fe){ae(x,Q,Fe),i(34,_e=!0)}function ye(){i(34,_e=!1)}function ae(x,Q,Fe){i(8,re=x),i(35,ue=Q),Fe&&i(36,De=Fe),i(7,X=be(x))}function be(x){const Q=In((o?1-x:x)*s);return o?`-${Q}`:Q}return t.$$set=x=>{"showTimeline"in x&&i(33,b=x.showTimeline)},t.$$.update=()=>{t.$$.dirty[1]&512&&i(3,C=M?c:Z),t.$$.dirty[0]&2&&i(4,le=In(s)),t.$$.dirty[1]&256&&i(5,ke=In(a)),t.$$.dirty[0]&2|t.$$.dirty[1]&256&&i(6,me=a/s),t.$$.dirty[0]&4|t.$$.dirty[1]&128&&i(37,Le=r||l),t.$$.dirty[0]&1|t.$$.dirty[1]&124&&i(9,n={containerWidth:De,translateXPx:ue,translateYPx:M&&V?-36:-16,active:_e&&b&&!Le,pointer:!v.features.timelinePreview||!V||o})},[o,s,l,C,le,ke,me,X,re,n,f,p,h,_,v,P,y,w,D,ne,I,V,ee,M,te,N,oe,pe,Ee,A,ie,Ve,ye,b,_e,ue,De,Le,r,a,c]}let H4=class extends we{constructor(e){super(),ve(this,e,O4,D4,ge,{showTimeline:33},B4,[-1,-1])}};function F4(t){let e,i;return e=new Ul({props:{ariaValueMin:0,ariaValueMax:t[0],ariaValueNow:Math.round(t[3]*100),ariaValueText:K("aria_timeline_value",{position:t[2],duration:t[1]}),filledProgress:t[3],isAds:!0,hideHandel:!0,squareBorders:t[4]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.ariaValueMax=n[0]),o&8&&(s.ariaValueNow=Math.round(n[3]*100)),o&6&&(s.ariaValueText=K("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(s.filledProgress=n[3]),o&16&&(s.squareBorders=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function U4(t,e,i){let n,{position:o=0}=e,{duration:s=0}=e;const r=mt().ui.isMobile;O(t,r,p=>i(4,n=p));let a,c,f;return t.$$set=p=>{"position"in p&&i(6,o=p.position),"duration"in p&&i(0,s=p.duration)},t.$$.update=()=>{t.$$.dirty&1&&i(1,a=In(s)),t.$$.dirty&64&&i(2,c=In(o)),t.$$.dirty&65&&i(3,f=o/s)},[s,a,c,f,n,r,o]}class uu extends we{constructor(e){super(),ve(this,e,U4,F4,ge,{position:6,duration:0})}}function q4(t){He(t,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function W4(t){let e;return{c(){e=T("div"),u(e,"class","timeline-stub v-1gqonyf"),B(e,"mobile",t[2])},m(i,n){E(i,e,n)},p(i,n){n&4&&B(e,"mobile",i[2])},i:W,o:W,d(i){i&&S(e)}}}function Z4(t){let e,i,n,o;const s=[K4,j4],l=[];function r(a,c){return a[0]?0:1}return i=r(t),n=l[i]=s[i](t),{c(){e=T("div"),n.c(),u(e,"class","timeline v-1gqonyf"),B(e,"mobile",t[2])},m(a,c){E(a,e,c),l[i].m(e,null),o=!0},p(a,c){let f=i;i=r(a),i===f?l[i].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),n=l[i],n?n.p(a,c):(n=l[i]=s[i](a),n.c()),d(n,1),n.m(e,null)),(!o||c&4)&&B(e,"mobile",a[2])},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&S(e),l[i].d()}}}function j4(t){let e,i;return e=new H4({props:{showTimeline:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.showTimeline=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function K4(t){let e,i;return e=new uu({props:{position:t[3],duration:t[4]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&8&&(s.position=n[3]),o&16&&(s.duration=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function G4(t){let e,i,n,o;const s=[Z4,W4],l=[];function r(a,c){return a[1]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function Y4(t,e,i){let n,o,s,l,{isAds:r=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const p=mt(),h=p.state.isLive$;O(t,h,P=>i(12,n=P));const _=p.ads.duration;O(t,_,P=>i(4,l=P));const b=p.ads.position;O(t,b,P=>i(3,s=P));const k=p.ui.isMobile;O(t,k,P=>i(2,o=P));let v;return t.$$set=P=>{"isAds"in P&&i(0,r=P.isAds),"canRewindLive"in P&&i(9,a=P.canRewindLive),"isRewindableLive"in P&&i(10,c=P.isRewindableLive),"isHidden"in P&&i(11,f=P.isHidden)},t.$$.update=()=>{t.$$.dirty&7681&&i(1,v=!f&&(!n||n&&a&&c||r))},[r,v,o,s,l,h,_,b,k,a,c,f,n]}class cu extends we{constructor(e){super(),ve(this,e,Y4,G4,ge,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},q4)}}function Q4(t){let e,i,n,o;return{c(){e=R("svg"),i=R("path"),n=R("path"),o=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(o,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),St(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(s,l){E(s,e,l),m(e,i),m(e,n),m(e,o)},p:W,i:W,o:W,d(s){s&&S(e)}}}class X4 extends we{constructor(e){super(),ve(this,e,null,Q4,ge,{})}}function J4(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"opacity",".7"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(i,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class x4 extends we{constructor(e){super(),ve(this,e,null,J4,ge,{})}}function $4(t){He(t,"v-1yhs2ga",".text.v-1yhs2ga{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text.count.v-1yhs2ga{overflow:visible}.text.mobile.v-1yhs2ga{padding:0 3px 0 4px}.chevron-episodes.v-1yhs2ga{margin-bottom:-4px}")}function em(t){let e,i,n,o;e=new X4({});function s(a,c){if(a[4]===Kn.FULL)return nm;if(a[4]===Kn.COUNT)return im}let l=s(t),r=l&&l(t);return{c(){U(e.$$.fragment),i=z(),r&&r.c(),n=lt()},m(a,c){H(e,a,c),E(a,i,c),r&&r.m(a,c),E(a,n,c),o=!0},p(a,c){l===(l=s(a))&&r?r.p(a,c):(r&&r.d(1),r=l&&l(a),r&&(r.c(),r.m(n.parentNode,n)))},i(a){o||(d(e.$$.fragment,a),o=!0)},o(a){g(e.$$.fragment,a),o=!1},d(a){a&&(S(i),S(n)),F(e,a),r&&r.d(a)}}}function tm(t){let e,i,n,o,s,l;return s=new x4({}),{c(){e=T("span"),i=ze(t[2]),n=z(),o=T("div"),U(s.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(r,a){E(r,e,a),m(e,i),E(r,n,a),E(r,o,a),H(s,o,null),l=!0},p(r,a){(!l||a&4)&&Qe(i,r[2])},i(r){l||(d(s.$$.fragment,r),l=!0)},o(r){g(s.$$.fragment,r),l=!1},d(r){r&&(S(e),S(n),S(o)),F(s)}}}function im(t){let e,i=t[0].length+"",n;return{c(){e=T("span"),n=ze(i),u(e,"class","text count v-1yhs2ga")},m(o,s){E(o,e,s),m(e,n)},p(o,s){s&1&&i!==(i=o[0].length+"")&&Qe(n,i)},d(o){o&&S(e)}}}function nm(t){let e,i;return{c(){e=T("span"),i=ze(t[2]),u(e,"class","text v-1yhs2ga")},m(n,o){E(n,e,o),m(e,i)},p(n,o){o&4&&Qe(i,n[2])},d(n){n&&S(e)}}}function om(t){let e,i,n,o;const s=[tm,em],l=[];function r(a,c){return a[6]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function lm(t){let e,i,n;function o(l){t[19](l)}let s={className:"w-max btn-full-opacity "+(t[6]?"px-0":""),testId:"btn-episodes",click:t[12],disabled:!t[7],ariaExpanded:t[3],ariaLabel:t[5],$$slots:{default:[om]},$$scope:{ctx:t}};return t[1]!==void 0&&(s.ref=t[1]),e=new gi({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&64&&(a.className="w-max btn-full-opacity "+(l[6]?"px-0":"")),r&8&&(a.ariaExpanded=l[3]),r&32&&(a.ariaLabel=l[5]),r&8388693&&(a.$$scope={dirty:r,ctx:l}),!i&&r&2&&(i=!0,a.ref=l[1],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function sm(t,e,i){let n,o,s,l,r,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:p=[]}=e;const h=mt(),_=h.callbacks?.onEpisodeChanged??Ge,b=!!h.callbacks?.onEpisodeClicked,k=h.ui.currentGridType$;O(t,k,M=>i(18,r=M));const v=h.ui.episodes.openedByKeyboard$;O(t,v,M=>i(17,l=M));const P=h.ui.episodes.panelOpened$;O(t,P,M=>i(3,s=M));const y=h.ui.isMobile;O(t,y,M=>i(6,a=M));let w;const D=M=>{if(!!h.callbacks?.onEpisodeClicked){const N=Nl(M);v.set(N),P.set(!0),h.callbacks?.onEpisodeClicked?.(N)}};let ne,I,Z;const V=async(M,te,N)=>{await ol(),M?.getAttribute("aria-expanded")==="false"&&te&&!N&&(v.set(!1),M.focus())};function ee(M){w=M,i(1,w)}return t.$$set=M=>{"position"in M&&i(13,c=M.position),"duration"in M&&i(14,f=M.duration),"timeCodes"in M&&i(0,p=M.timeCodes)},t.$$.update=()=>{if(t.$$.dirty&24576&&i(16,n=c/f),t.$$.dirty&114689){const M=au(n,f,p);M&&ne?.text!==M.text&&(_(M),i(15,ne=M))}t.$$.dirty&32768&&i(2,o=ne?.text||""),t.$$.dirty&262144&&(hn(r,vt.XL)?i(4,I=Kn.FULL):hn(r,vt.M)&&S2(r,vt.XL)?i(4,I=Kn.COUNT):i(4,I=Kn.SHORT)),t.$$.dirty&4&&i(5,Z=`${K("tooltip_episodes")}: ${o}`),t.$$.dirty&131082&&V(w,l,s)},[p,w,o,s,I,Z,a,b,k,v,P,y,D,c,f,ne,n,l,r,ee]}class fu extends we{constructor(e){super(),ve(this,e,sm,lm,ge,{position:13,duration:14,timeCodes:0},$4)}}function rm(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(i,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,s){E(o,e,s),m(e,i),m(e,n)},p:W,i:W,o:W,d(o){o&&S(e)}}}class am extends we{constructor(e){super(),ve(this,e,null,rm,ge,{})}}function um(t){let e,i;return e=new am({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function cm(t){let e,i,n;function o(l){t[4](l)}let s={className:t[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:K("tooltip_interactive_seek"),disabled:t[2],click:t[3],$$slots:{default:[um]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new gi({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&8&&(a.click=l[3]),r&32&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function fm(t,e,i){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:s=!1}=e,{click:l}=e;function r(a){n=a,i(0,n)}return t.$$set=a=>{"ref"in a&&i(0,n=a.ref),"hidden"in a&&i(1,o=a.hidden),"disabled"in a&&i(2,s=a.disabled),"click"in a&&i(3,l=a.click)},[n,o,s,l,r]}class du extends we{constructor(e){super(),ve(this,e,fm,cm,ge,{ref:0,hidden:1,disabled:2,click:3})}}function dm(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),B(n,"hidden",!t[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),m(e,i),m(e,n)},p(o,[s]){s&1&&B(n,"hidden",!o[0])},i:W,o:W,d(o){o&&S(e)}}}function mm(t,e,i){let{isOpened:n=!1}=e;return t.$$set=o=>{"isOpened"in o&&i(0,n=o.isOpened)},[n]}class pm extends we{constructor(e){super(),ve(this,e,mm,dm,ge,{isOpened:0})}}function hm(t){let e,i;return e=new pm({props:{isOpened:t[3]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&8&&(s.isOpened=n[3]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function gm(t){let e,i,n;function o(l){t[6](l)}let s={className:t[1]?"hidden":"",testId:"btn-graph",disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[hm]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new gi({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&136&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function bm(t,e,i){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:s=!1}=e,{graphIsOpened:l=!1}=e,{click:r}=e,a;function c(f){n=f,i(0,n)}return t.$$set=f=>{"ref"in f&&i(0,n=f.ref),"hidden"in f&&i(1,o=f.hidden),"disabled"in f&&i(2,s=f.disabled),"graphIsOpened"in f&&i(3,l=f.graphIsOpened),"click"in f&&i(4,r=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=K(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,s,l,r,a,c]}class mu extends we{constructor(e){super(),ve(this,e,bm,gm,ge,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function _m(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class pu extends we{constructor(e){super(),ve(this,e,null,_m,ge,{})}}function vm(t){He(t,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function gr(t){let e;return{c(){e=T("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){E(i,e,n)},d(i){i&&S(e)}}}function wm(t){let e,i,n,o,s=t[1]&&gr();return n=new pu({}),{c(){s&&s.c(),e=z(),i=T("div"),U(n.$$.fragment),u(i,"class","v-1ot3duq"),B(i,"mobile",t[1])},m(l,r){s&&s.m(l,r),E(l,e,r),E(l,i,r),H(n,i,null),o=!0},p(l,r){l[1]?s||(s=gr(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),(!o||r&2)&&B(i,"mobile",l[1])},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){g(n.$$.fragment,l),o=!1},d(l){l&&(S(e),S(i)),s&&s.d(l),F(n)}}}function km(t){let e,i,n;function o(l){t[5](l)}let s={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-replay",ariaLabel:K("tooltip_restart"),disabled:t[2],click:t[4],ariaKeyShortCut:Ro[Ie.KeyK],$$slots:{default:[wm]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new gi({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&4&&(a.disabled=l[2]),r&16&&(a.click=l[4]),r&66&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function ym(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:s=!1}=e,{className:l=""}=e,{click:r=Ge}=e;function a(c){n=c,i(0,n)}return t.$$set=c=>{"ref"in c&&i(0,n=c.ref),"isMobile"in c&&i(1,o=c.isMobile),"disabled"in c&&i(2,s=c.disabled),"className"in c&&i(3,l=c.className),"click"in c&&i(4,r=c.click)},[n,o,s,l,r,a]}class Zl extends we{constructor(e){super(),ve(this,e,ym,km,ge,{ref:0,isMobile:1,disabled:2,className:3,click:4},vm)}}function Cm(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class Pm extends we{constructor(e){super(),ve(this,e,null,Cm,ge,{})}}function Sm(t){let e,i;return e=new Pm({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Tm(t){let e,i;return e=new gi({props:{className:t[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:K("tooltip_interactive_go_back"),disabled:t[1],click:t[2],$$slots:{default:[Sm]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"hidden":""),o&2&&(s.disabled=n[1]),o&4&&(s.click=n[2]),o&8&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Em(t,e,i){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:s}=e;return t.$$set=l=>{"hidden"in l&&i(0,n=l.hidden),"disabled"in l&&i(1,o=l.disabled),"click"in l&&i(2,s=l.click)},[n,o,s]}class hu extends we{constructor(e){super(),ve(this,e,Em,Tm,ge,{hidden:0,disabled:1,click:2})}}function Am(t){He(t,"v-1x1zctw",".icon.v-1x1zctw{width:24px !important;height:24px !important;;}.error-stub.v-1x1zctw{display:flex;justify-content:center;align-items:center}.inner.v-1x1zctw{width:16px;height:16px;background-color:var(--white)}")}function Lm(t){let e,i,n,o;return{c(){e=T("img"),u(e,"class","icon v-1x1zctw"),$l(e.src,i=t[0])||u(e,"src",i),u(e,"aria-hidden","true")},m(s,l){E(s,e,l),n||(o=he(e,"error",t[7]),n=!0)},p(s,l){l&1&&!$l(e.src,i=s[0])&&u(e,"src",i)},d(s){s&&S(e),n=!1,o()}}}function Im(t){let e;return{c(){e=T("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(i,n){E(i,e,n)},p:W,d(i){i&&S(e)}}}function Vm(t){let e;function i(s,l){return s[5]?Im:Lm}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,l){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},d(s){s&&S(e),o.d(s)}}}function Mm(t){let e,i;return e=new gi({props:{className:t[4]?"btn-full-opacity":"",ariaLabel:t[1],click:t[3],disabled:t[6],testId:t[2],$$slots:{default:[Vm]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&16&&(s.className=n[4]?"btn-full-opacity":""),o&2&&(s.ariaLabel=n[1]),o&8&&(s.click=n[3]),o&64&&(s.disabled=n[6]),o&4&&(s.testId=n[2]),o&545&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Bm(t,e,i){let n,o,s,{iconUrl:l}=e,{ariaLabel:r}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=Ge}=e;const p=()=>{i(5,s=!0)};return t.$$set=h=>{"iconUrl"in h&&i(0,l=h.iconUrl),"ariaLabel"in h&&i(1,r=h.ariaLabel),"disabled"in h&&i(8,a=h.disabled),"testId"in h&&i(2,c=h.testId),"onClick"in h&&i(3,f=h.onClick)},t.$$.update=()=>{t.$$.dirty&8&&i(4,n=f===Ge),t.$$.dirty&272&&i(6,o=n||a)},i(5,s=!1),[l,r,c,f,n,s,o,p,a]}class gu extends we{constructor(e){super(),ve(this,e,Bm,Mm,ge,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},Am)}}const Rm=(t,e)=>t<400||e<225?5:t<640||e<360?0:t<960||e<540?1:t<1280||e<720?2:3,Nm="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class zm{adman=null;initialVolume=1;videoElement=null;currentAdSection=null;actions=null;adsState=null;playerState=null;log;loadTimeout;initTimeout;events={slotRequested$:new fn,started$:new fn,paused$:new fn,resumed$:new fn,ended$:new fn,skipped$:new fn,clicked$:new fn};constructor(e,i){this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=i.loadTimeout,this.initTimeout=i.initTimeout}init(e,i,n){this.actions=e,this.adsState=i,this.playerState=n}loadAdman=e=>new Promise((i,n)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?i():n()};fc(Nm,e,this.loadTimeout).then(()=>{window.AdmanHTML?i():(window.admanAsyncInit=s,o=window.setTimeout(s,this.initTimeout))}).catch(()=>{n()})});onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:i,height:n,isFullscreen:o,isAutoplay:s,adsContainer:l,adsVideoElement:r,slotId:a,params:c={},duration:f,previewParam:p}=e;let h;const _=this.playerState&&Ye(this.playerState.vsid);_&&(h=parseInt(_,36));const b={dl:encodeURIComponent(window.location.href),autoplay:s,player_width:i,player_height:n,puid10:Rm(i,n),puid11:o?0:1,preview:p,...h?{request_id:h}:{},duration:f,...c},k={slot:a,wrapper:l,videoEl:r,videoQuality:n,params:b,browser:{mobile:!1}},v=new window.AdmanHTML;v.setDebug(!1),v.onReady(this.onAdsReady),v.onStarted(this.onAdStarted),v.onPlayed(this.onAdPlayed),v.onPaused(this.onAdPaused),v.adMidrollPoint(this.onAdMidrollPoint),v.onClosed(this.onAdClosed),v.onSkipped(this.onAdSkipped),v.onClicked(this.onAdClicked),v.onTimeRemained(this.onAdTimeRemained),v.onCompleted(this.onAdCompleted),v.onError(this.onAdError),v.init(k),this.adman=v,this.videoElement=r,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(k)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}ot(this.actions),ot(this.adsState),ot(this.playerState);const i=this.currentAdSection===En.Postroll;this.adsState.playbackState.set(Xt.INACTIVE),this.currentAdSection=null,this.playerState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${i}`}),i&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!i)}togglePlay(){ot(this.adsState),this.log({message:"toggle play"});const e=Ye(this.adsState.playbackState);e===Xt.PLAYING?this.pause():e===Xt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){this.log({message:`set volume ${e}`}),this.adman?.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){this.log({message:`set fullscreen ${e}`}),this.adman?.setFullscreen(e)}startPreroll(){ot(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=En.Preroll,this.adman.start(En.Preroll)}startPostroll(){ot(this.adman),ot(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=En.Postroll,this.adman.start(En.Postroll)}onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()};onAdStarted=(e,i)=>{ot(this.adsState),ot(this.playerState),ot(this.actions),this.log({message:`ad started, section: ${e}, banner: ${JSON.stringify(i)}`}),this.events.started$.next(e),i.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Ye(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(i.duration),this.adsState.playbackState.set(Xt.PLAYING),this.adsState.canSkip.set(i.allowClose),this.adsState.secondsToWatchBeforeSkip.set(i.allowCloseDelay)};onAdTimeRemained=({currentTime:e})=>{ot(this.adsState),this.adsState.position.set(e)};onAdPaused=()=>{ot(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Xt.PAUSED)};onAdPlayed=()=>{ot(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Xt.PLAYING)};onAdMidrollPoint=()=>{ot(this.adman),ot(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=En.Midroll,this.adman.start(En.Midroll)};onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()};onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()};onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()};onAdClicked=()=>{this.log({message:"ad clicked"}),this.videoElement?.pause(),this.events.clicked$.next()};onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)};play(){ot(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ot(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ot(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,i){this.adman?.setPosition(Math.floor(e),Math.floor(i))}destroy(){this.log({message:"destroy"}),this.adman?.destroy()}}const Dm=t=>{const e=Math.round(t);return isNaN(e)||e<40?"":e>=40&&e<55?50:e>=55&&e<90?60:e>=90&&e<180?120:e>=180?240:""};class Om{oneLineRegExp=/\r\n|\n|\r/;twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/;parse(e){const i=[],n=e.split(this.twoLinesRegExp);for(const o of n){const s={startTime:0,endTime:0,texts:[],lang:""},l=o.split(this.oneLineRegExp);for(const r of l)if(!s.startTime&&!s.endTime){const a=new bu,{startTime:c,endTime:f}=a.parse(r);s.startTime=c,s.endTime=f}else if(r.trim()!==""){const a=new Hm,{texts:c}=a.parse(r);s.texts=[...s.texts,...c]}(s.startTime||s.endTime)&&s.texts.length>0&&i.push(s)}return i}}class bu{timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/;timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`);parse(e){const i={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(i.startTime=this.calcTime(n[1],n[2],n[3],n[4]),i.endTime=this.calcTime(n[6],n[7],n[8],n[9])),i}parseTime(e){const i=this.timeRegExp.exec(e);return i?this.calcTime(i[1],i[2],i[3],i[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",i="0",n="0",o="0"){const s=Number(e)*60*60,l=Number(i)*60,r=Number(n),a=+`0.${o}`;return s+l+r+a}}class Hm{letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/;parse(e){const i={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](l){let r=0;const a=[];for(;r<l.length;){const c=["<",">"].reduce((f,p)=>{const h=l.indexOf(p,r);return f===-1||f>h?h:f},-1);if(c===-1){a.push(l.substring(r));break}a.push(l.substring(r,c)),r=c+1}return a}}),s=new bu;for(const l of o)s.isTime(l)?i.texts.push({type:"timestamp",value:s.parseTime(l)}):i.texts.push({type:"text",value:l});return i}}let Hn,cn,gl=0,bl=!1;const Fm=(t,e,i)=>{const n=t>=gl,o=t<gl,s=(c,f=0,p=0)=>c<f&&c<p,l=(c,f=0,p=0)=>c>=f&&c<=p,r=(c,f=0,p=0)=>c>f&&c>p,a=i.find(({lang:c})=>c===e.value)?.subtitles;if(gl=t,o&&(bl=!1),gn(Hn)&&l(t,Hn.startTime,Hn.endTime)&&Hn.lang===e.value)return Hn;if(!gn(cn)&&a?.length&&!bl){const c=a.find(({startTime:f,endTime:p})=>l(t,f,p)||n&&s(t,f,p));cn=c&&{...c,lang:e.value},Hn=void 0,!gn(cn)&&a[a.length-1].endTime<t&&(bl=!0);return}else{if(l(t,cn?.startTime,cn?.endTime))return Hn=cn,cn=void 0,Hn;(n&&r(t,cn?.startTime,cn?.endTime)||o&&s(t,cn?.startTime,cn?.endTime))&&(cn=void 0)}},_l={ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",en:"English",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F (\u0442\u0430\u0440\u0430\u0448\u043A\u0435\u0432i\u0446\u0430)",es:"Espa\xF1ol",fi:"Suomi",de:"Deutsch",it:"Italiano",bg:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",hr:"Hrvatski",hu:"Magyar",sr:"\u0421\u0440\u043F\u0441\u043A\u0438","pt-PT":"Portugu\xEAs",el:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",pl:"Polski",fr:"Fran\xE7ais",ko:"\uD55C\uAD6D\uC5B4","zh-CN":"\u6C49\u8BED",lt:"Lietuvi\u0173",ja:"\u65E5\u672C\u8A9E",cs:"\u010Ce\u0161tina",et:"Eesti",tt:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",ba:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",cv:"\u0427\u0103\u0432\u0430\u0448\u043B\u0430",sk:"Sloven\u010Dina",ro:"Rom\xE2n\u0103",no:"Norsk",lv:"Latvie\u0161u",az:"Az\u0259rbaycan dili",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",sv:"Svenska",nl:"Nederlands",tk:"T\xFCrkmen",ka:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",da:"Dansk",uz:"O\u2018zbek",th:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",id:"Bahasa Indonesia",tg:"\u0422\u043E\u04B7\u0438\u043A\u04E3",sl:"Sloven\u0161\u010Dina",bs:"Bosanski","pt-BR":"Portugu\xEAs brasileiro",fa:"\u0641\u0627\u0631\u0633\u06CC",vi:"Ti\u1EBFng Vi\u1EC7t",hi:"\u0939\u093F\u0928\u094D\u0926\u0940",si:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",bn:"\u09AC\u09BE\u0982\u09B2\u09BE",tl:"Tagalog",mn:"\u041C\u043E\u043D\u0433\u043E\u043B",my:"\u1017\u1019\u102C\u1005\u102C",tr:"T\xFCrk\xE7e",ne:"\u0928\u0947\u092A\u093E\u0932\u0940",ur:"\u0627\u0631\u062F\u0648",ky:"\u041A\u044B\u0440\u0433\u044B\u0437 \u0442\u0438\u043B\u0438",pa:"\u067E\u0646\u062C\u0627\u0628\u06CC",os:"\u0418\u0440\u043E\u043D",kn:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",sw:"Kiswahili",kk:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",he:"\u05E2\u05D1\u05E8\u05D9\u05EA",ab:"\u0410\u04A7\u0441\u0448\u04D9\u0430",eu:"Euskara",eo:"Esperanto"};let Qo=null;class Ao{constructor(e,i){if(!Qo){const n=new Pc(e,i),o=new Un;Qo=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n?.destroy(),o?.unsubscribe(),Qo=null}})}}static getInstance(){return Qo}}const Um=({interfaceLanguage:t,videoId:e,isClip:i,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:s,canDownload:l,callbacks:r,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:p,coreConfig:h,player:_,disabledControls:b,isInteractive:k,interactiveRanges:v,replayInteractive:P,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:w,additionalButtons:D,looped:ne=!1})=>{const I={...h,configName:[...h.configName??[],"ui"],isAudioDisabled:s,live:{...h.live??{},isLiveCatchUpMode:!!n}},Z=p,V=_||new lc(I);V.setLooped(ne);const ee=new n1,M=new zm(ee,{loadTimeout:Z.ads.loadTimeout,initTimeout:Z.ads.initTimeout}),te=Ao.getInstance(),N=Pl.getInstance(),Y=a?.pictureInPictureApi,oe=a?.annotationsApi,C=ee.createComponentLog("Store");let le,ke,me={};const _e=El(),X=te?ct(te.oneStat.vsid$):kn(void 0),ue=Me(Vo()),De=Y?.info.isActive$??new Tl(!1),re=Y?.info.type,Le=Me(0),Te=Me([]),pe=dc(V.events.fatalError$,V.events.managedError$).subscribe(L=>Te.update(se=>[...se,L])),Ee=kn(!1,L=>{const se=V.events.fatalError$.subscribe(()=>L(!0));return()=>se.unsubscribe()}),A=async L=>{const se=Object.values(Mo).includes(L);if(Z.downloadVKLanguages&&(se&&Z.updateBuiltinLanguages||!os(L))){let Ne;try{Ne=await hc(L,Uc,qc)}catch(Ze){te?.oneStat?.logError({errorType:"VKLangPack",fatal:!1}),N?.report(Ze,{errorType:"VKLangPack",fatal:!1})}Ne&&(ns({language:L,pack:Ne,fallback:Z.defaultLanguage}),ie.set(L))}os(L)&&ie.set(L)},ie=Me(t);A(t);const Ve=(L,se)=>{const Se=Ye(ie);return V1(Se,L,se,Z.defaultLanguage)},ye=Me(Re.Thumb),ae=(()=>{const L=si([Ee,ye],([se,Se])=>se?Re.Crashed:Se);return{...L,is:se=>Ye(L)===se}})(),be=(()=>{const L=Me(new Set(b));return{...L,add:se=>{L.update(Se=>new Set([...Se].concat(se)))},remove:se=>{L.update(Se=>{const Ne=[...Se];return new Set(Array.isArray(se)?Ne.filter(Ze=>!se.includes(Ze)):Ne.filter(Ze=>Ze!==se))})},includes:se=>{const Se=Ye(L);return Array.isArray(se)?se.every(Ne=>Se.has(Ne)):Se.has(se)}}})();C({message:"create store"});const x=L=>{C({message:`init video, config: ${JSON.stringify(L)}`}),k?L.container.append(V.experimental.element$.getValue()):V.initVideo(L),L.subtitles&&V.setExternalTextTracks(L.subtitles),le=L},Q=new fn,Fe=L=>Q.next(L),Je=new fn,Xe=new fn,Ae=new fn,We={actionRewind$:Je,actionSeek$:Xe,inPiP$:De,inFullscreen$:new mc(L=>ue.subscribe(se=>L.next(se))),actionSetSubtitle$:Ae,nextMovie$:Q};if(te){const{oneStat:L,statSubscription:se}=te;se.add(L.attachTo(V)),se.add(L.attachToUi(We)),se.add(L.attachToAds(M.events)),L.authorize(o).catch(Se=>{C({message:`onestat auth error ${String(Se)}`})})}if(N){const L=new Un,se=(Se,Ne)=>L.add(Se.subscribe(Ne));if(se(V.events.managedError$,Se=>{N.logIError(Se)}),se(V.events.fatalError$,Se=>{N.logIError(Se,!0)}),te){const{oneStat:Se}=te;se(Se.experimental.error$,Ne=>{N.logIError(Ne)})}N.sentrySubscription.add(L)}const xe=()=>{o1()&&ke&&_f(ke)},pt=new Un().add(V.experimental.element$.subscribe(L=>{L&&(ke=L,L.classList.add("player-media"),tl(Y)&&(Y.updateVideoElement(),Y.registryEventHandlers()),k&&L.setAttribute("pip","false"))})).add(V.events.ended$.subscribe(()=>{xe(),r?.onEnded?.()})).add(V.events.started$.subscribe(async()=>{tl(Y)&&await Y?.revealPictureInPicture();const L=V.info.muted$.getValue();r?.onStarted?.(),me.onStarted?.(L)})).add(V.events.willSeek$.subscribe(({from:L,to:se})=>{r?.onSeek?.(L,se)})).add(V.info.position$.subscribe(L=>{const se=V.info.duration$.getValue();r?.onTimeupdate?.(se,L),M.setPosition(L,se)})).add(V.events.fatalError$.subscribe(()=>{r?.onCrashed?.()})).add(V.info.is3DVideo$.subscribe(L=>{st.ui.is3DVideo.set(L)})).add(V.info.isEnded$.subscribe(L=>{k&&(L?(Ye(Lt)&&be.add(g1),be.add(nt.PLAY_BUTTON)):be.remove(nt.PLAY_BUTTON))})).add(V.info.liveTime$.subscribe(L=>{r?.onLiveTime?.(L)})).add(V.info.isStalled$.subscribe(L=>{r?.onStalledChanged?.(L)})),rt=new Un,Pe=()=>{rt.add(V.events.log$.subscribe(L=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${L.component}`,L.message)})).add(ee.log$.subscribe(L=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${L.component}.`,L.message)}))},ht=()=>{rt.unsubscribe()},at=(L,se)=>{V.startCameraManualRotation(L,se)},xt=(L=!1)=>{V.stopCameraManualRotation(L)},$t=(L,se,Se)=>{V.moveCameraFocusPX(L,se,Se)},Mt=()=>{V.holdCamera()},ce=()=>{V.releaseCamera()},bt=kn(V.info.position$.getValue(),L=>{let se,Se;const Ne=()=>{const Ze=V.info.playbackState$.getValue(),Ot=V.info.isLive$.getValue(),Yt=V.info.duration$.getValue(),Pt=V.info.position$.getValue();if([Ht.PLAYING,Ht.PAUSED].includes(Ze)){const un=Ot?Pt-Yt:V.getExactTime();un!==Se&&L(un),Se=un}se=requestAnimationFrame(Ne)};return Ne(),()=>cancelAnimationFrame(se)}),it=ct(De),yt=ct(V.info.playbackState$),ft=ct(V.info.currentBuffer$),dt=ct(V.info.isEnded$),Tt=ct(V.info.isLive$),Hi=Z.features.playbackRate?ct(V.info.canChangePlaybackSpeed$):kn(!1),Ut=ct(V.info.liveBufferTime$),Vi=ct(V.info.volume$),Ki=ct(V.info.muted$),ei=w1(V.info.autoQualityLimits$.pipe(pc(({max:L})=>L!==void 0)),V.info.autoQualityLimits$.getValue()?.max!==void 0),Fi=ct(V.info.autoQualityLimitingAvailable$),Gi=ct(V.info.availableQualities$),qt=ct(V.info.availableQualitiesFps$),Wt=ct(V.info.chromecastState$),bi=ct(V.info.chromecastDeviceName$),Et=ct(V.info.currentFormat$),ri=ct(V.info.throughputEstimation$),Bt=ct(V.info.videoBitrate$),Mi=ct(V.info.intrinsicVideoSize$),_i=ct(V.info.duration$),Zt=ct(V.info.isAudioAvailable$);let Ct=null;const ti=V.info.isBuffering$,vi=kn(ti.getValue(),L=>{const se=ti.subscribe(Se=>{Se&&Ct===null?Ct=window.setTimeout(()=>{L(ti.getValue()),Ct=null},Z.loaderDelay):L(Se)});return()=>{se.unsubscribe(),Ct&&clearTimeout(Ct)}}),wi=()=>{Ct&&clearTimeout(Ct),Ct=null},ii=si([_i,Tt],([L,se])=>se?-L:L),ai=si([yt],([L])=>L===Ht.PLAYING),ni=ct(V.info.atLiveEdge$),jt=ct(V.info.atLiveDurationEdge$),Kt=ct(V.info.position$),Rt=si([Kt,_i],([L,se])=>isFinite(L)&&isFinite(se)&&!!se),gt=si([Wt],([L])=>L===yn.CONNECTED),wt=Me(void 0),ki=ct(V.info.isAutoQualityEnabled$,L=>L&&wt.set(void 0)),Bi=ct(V.info.currentQuality$,()=>wt.set(void 0)),ui=si([wt,Bi],([L,se])=>L??se),ci=si([Gi,qt,ki,ui,Et],([L,se,Se,Ne,Ze])=>{const Ot=[];Ze!==To.MPEG&&Ot.push({value:ho.AUTO,displayValue:Ve("auto_quality_option"),selected:Se});const Yt=L.filter(Pt=>Pt!==Xo.INVARIANT);for(const Pt of Yt){const un=se[Pt],Zn=Pt===Xo.INVARIANT?Ve("auto_quality_option"):Pt;Ot.push({value:Pt,displayValue:`${Zn}${un?Dm(un):""}`,selected:Se?!1:Pt===Ne})}return Ot}),Nt=ct(V.info.currentPlaybackRate$),yi=si([Nt,ni,jt],([L,se,Se])=>{const Ne=Se||k?1:Z.controls.playbackRateMin,Ze=se?1:Z.controls.playbackRateMax,Ot=Z.controls.playbackRateStep,Yt=[];for(let Pt=Ne;Pt<=Ze;Pt+=Ot)Yt.push({value:Pt,displayValue:Pt===1?Ve("playback_rate_1"):Ve("playback_rate",{multiplier:Pt.toString(10)}),selected:L===Pt});return Yt}),oi=Z.features.subtitles?ct(V.info.availableTextTracks$):kn([]),Ci=si([oi],([L],se)=>{const Se=[],Ne=[];for(const Ze of L)Ze.url&&Se.push(fetch(Ze.url));Promise.allSettled(Se).then(Ze=>{for(const[Ot,Yt]of Ze.entries())Yt.status==="fulfilled"&&Yt.value.text().then(Pt=>{const un=new Om,Zn=L[Ot].language,zo=!!L[Ot].isAuto,Po=un.parse(Pt);Zn&&Po&&Ne.push({lang:Zn,subtitles:Po,isAuto:zo}),Ot===Ze.length-1&&se(Ne)})})}),ut={displayValue:Ve("subtitles_off"),value:"off"},kt=Me({...ut}),At=si([Ci,kt,Ci],([L,se])=>{if(L?.length>0){const Se=[{...ut,selected:se?.value===ut.value}];for(const{lang:Ne,isAuto:Ze}of L)_l[Ne]&&Se.push({displayValue:Ze?Ve("subtitles_auto",{language:_l[Ne]}):_l[Ne],value:Ne,selected:se?.value===Ne,isAuto:Ze});return Se}else return[]}),Ui=si([bt,kt,Ci],([L,se,Se])=>{if(se&&se.value!==ut.value)return Fm(L,se,Se)}),Pi=si([Ui],([L])=>L?.texts?L.texts:[]),Yi=Me(!0),Ri=si([ft,ii,Kt,Ut],([L,se,Se,Ne])=>{const Ze=L?.end??0;if(!Ne)return Ze/se;const Yt=-Se+Ne-se;return(Ze-Yt)/se}),Ni=ct(V.info.availableSources$),fi=si([Ni],([L])=>Object.keys(L?.[To.MPEG]||{}).length>0),zt=()=>{const L=Object.keys(V.info.availableSources$?.getValue()?.[To.MPEG]||{}),se=gc(L)||Xo.Q_144P;return le.sources[To.MPEG]?.[se]},qi=()=>{const L=zt();L?Jc(L,le?.meta?.title||"video"):C({message:"There is no URL for download video"})},Si=()=>{C({message:"toggle muted"});const L=V.info.muted$.getValue(),Ne=!(V.info.volume$.getValue()===0||L);mi(Ne)},di=()=>{st.ui.settingsMenuVisible.set(!1)},Be=L=>{st.ui.settingsMenuOpenedByKeyboard.set(!!L),st.ui.settingsMenuVisible.set(!0)},Wi=L=>{Ye(st.ui.settingsMenuVisible)?di():Be(L)},zi=(L,se=L,Se=!1)=>{const Ne=!Se,Ze=V.info.muted$.getValue();C({message:`set volume, volume: ${L}, preferredVolume: ${se}, internalCall: ${Ne}`}),V.setVolume(L),M.setVolume(L),Ne&&r?.onVolumeChange?.(L),is(se),Ze?(V.setMuted(!1),Ne&&r?.onUnmute?.(),fl(!1)):!Ze&&L===0&&(V.setMuted(!0),Ne&&r?.onMute?.(),fl(!0))},mi=(L,se=!1)=>{const Se=!se,Ne=V.info.volume$.getValue();if(C({message:`set muted, currentVolume: ${Ne}, mute: ${L}, internalCall: ${Se}`}),V.setMuted(L),M.setVolume(L?0:Ne),fl(L),Se&&(L?r?.onMute?.():r?.onUnmute?.()),Ne===0){let Ze=S1()??Z.volumeDefault;Ze===0&&(Ze=Z.volumeMinRestore,is(Ze)),V.setVolume(Ze),M.setVolume(Ze),Se&&r?.onVolumeChange?.(Ze)}},Zi=()=>{V.prepare()},Ti=()=>{if(ot(st),!Ye(st.ui.controls.disabledControls$).has(nt.PLAY_BUTTON)){if(C({message:"toggle play"}),Ye(st.playerPhase)===Re.Ads){M.togglePlay();return}if(V.info.playbackState$.getValue()!==Ht.PLAYING){if(V.info.isEnded$.getValue()){if(C({message:"toggle play, video ended, seek to 0"}),Je.next(),Xe.next(It.REWIND),k){P?.();return}V.seekTime(0)}C({message:"toggle play, call player.play"}),V.play(),r?.onPlay?.()}else C({message:"toggle play, call player.pause"}),V.pause(),r?.onPause?.()}},pi=L=>{C({message:`set quality, quality: ${L}`}),V.setAutoQuality(L===ho.AUTO),L!==ho.AUTO?(xc(e,L),wt.set(L),V.setQuality(L)):T1()},Oe=L=>{C({message:`set trafficSavingEnabled, value: ${L}`}),V.setAutoQualityLimits({max:L?Z.trafficSavingLimit:void 0}),tf(L)},Ei=L=>{V.setPlaybackRate(L)},Dt=()=>{const L=Ye(yi),se=L.findIndex(({selected:Ne})=>Ne);if(se===L.length-1)return;const Se=L[se+1];Ei(Se.value)},Gt=()=>{const L=Ye(yi),se=L.findIndex(({selected:Ne})=>Ne);if(se===0)return;const Se=L[se-1];Ei(Se.value)},Ai=L=>{L&&L.value!==ut.value&&Ae.next(L.isAuto?L.value+"_auto":L.value),kt.set(L)},ji=()=>{const L=Ye(At),se=Ye(kt),Se=Ye(ie);if(se?.value===ut.value){const Ne=L.filter(Ze=>Ze.value!==ut.value).find(Ze=>Ze.value===Se)||L[1];Ai(Ne??{...ut})}else Ai({...ut,selected:!1})},Li=(L,se,Se=!0)=>{if(C({message:`seek to time, time: ${L}`}),Xe.next(se),V.info.isLive$.getValue()){const Ne=V.info.duration$.getValue(),Ze=Math.min(0,Ne+L);V.seekTime(Ze,Se)}else{if(Ye(Lt))return;V.seekTime(Sn(L),Se)}},rn=L=>{C({message:`seek to episode start time: ${L}`}),Li(L,It.EPISODE,!0)},Qi=(L,se)=>{C({message:`seek to percent, percent: ${L}`});const Se=Math.round(Ye(ii)*L);Li(Se,se,!1)},Ii=L=>{C({message:`seek external, time: ${L}`}),Xe.next(It.UNKNOWN),V.seekTime(V.info.isLive$.getValue()?-L:L)},$i=L=>{C({message:`set auto quality limitation. Max: ${L.max??"none"}. Min: ${L.min??"none"}`}),V.setAutoQualityLimits(L)},en=L=>{C({message:`seek external to episode start time: ${L}`}),Li(L,It.EPISODE,!0)},tn=L=>{C({message:`set playback rate to: ${L}`}),V.setPlaybackRate(L)},Di=Me(void 0),Oi=Me(!1),hi=L=>{C({message:`start scrubbing, progress: ${L}`}),Oi.set(!0),$(L)},$=L=>{Di.set(L)};let $e,li;const Xi=()=>{Di.set(void 0),Oi.set(!1)},_t=()=>{clearTimeout(li),clearTimeout($e),$e=window.setTimeout(()=>{Xi()},500),ke?.removeEventListener("seeked",_t)},an=L=>{C({message:`complete scrubbing, progress: ${L}`}),Qi(L,It.SLIDER),Ye(st.ui.isMobile)&&Ye(st.state.currentFormat$)===To.HLS?(ke?.addEventListener("seeked",_t),li=window.setTimeout(()=>{_t()},300)):Xi()},dn=si([bt,ii,Di],([L,se,Se],Ne)=>{Ne(gn(Se)?Se*se:L)}),nn=Me({width:0,height:0}),mn=si([nn],([{width:L}],se)=>{const Se=T2(L);se(Se)}),on=Me(!1),J=si([mn,on],([L,se])=>se?D.filter(Se=>!Se.hideOnMobile):D.filter(Se=>!Se.hideOnDesktopGridTypes?.includes(L))),G=si([on,Ee],([L,se],Se)=>{Se(L&&se)}),wn=()=>{Xe.next(It.LIVE),C({message:"switch to active live"}),V.seekTime(0),V.info.playbackState$.getValue()!==Ht.PLAYING&&st.actions.internal.togglePlay()},Nn=()=>M.skip(),zn=(L=!0)=>{ot(st),C({message:`switch from ads to video, callPlay: ${L}`}),ye.set(Re.Video),L&&V.play()},Yn=()=>{ot(st),C({message:"switch from video to ads"}),st.actions.internal.pause(),xe(),ye.set(Re.Ads)},Qn=L=>{ot(st);const se=L?Re.WaitingLive:Re.Thumb;ye.set(se)},Xn=L=>{ot(st);const se=L?Re.WaitingRecord:Re.Thumb;ye.set(se)},Jn=()=>(ot(st),Qc(V,le,st)),xn=()=>(ot(st),Xc(V,le,st)),$n=()=>ke,eo=()=>{C({message:"toggle chromecast"}),V.toggleChromecast()},qn=L=>{ot(st);const se=!L;if(Ye(st.playerPhase)===Re.Ads){C({message:`pause ads, internalCall: ${se}`}),M.pause();return}C({message:`pause video, internalCall: ${se}`}),se&&r?.onPause?.(),V.pause()},ko=L=>{ot(st);const se=!L;if(Ye(st.playerPhase)===Re.Ads){C({message:`play ads, internalCall: ${se}`}),M.play();return}C({message:`play video, internalCall: ${se}`}),se&&r?.onPlay?.(),V.play()},to=(L,se)=>{ot(st),C({message:`first start, show ads: ${L}, internalCall: ${!se}`}),L?ye.set(Re.Ads):(ye.set(Re.Video),se?V.play():st.actions.internal.togglePlay())},Ji=()=>(C({message:"getting time codes"}),c),Wn=()=>{const L=Ji();if(!L||[0,1].includes(L.length))return;const se=V.info.position$.getValue();return L.find(Se=>Se.time>se)},Dn=L=>{let se=L;se||(se=Wn()),se&&(C({message:"seek to next episode"}),Li(se.time,It.EPISODE,!0))},io=()=>{const L=Ji();if(!L||[0,1].includes(L.length))return;const se=V.info.position$.getValue(),Se=L.findIndex(Ze=>Ze.time>se),Ne=Se===-1?L.length-2:Se-2;if(!(Ne<0))return L[Ne]},no=L=>{let se=L;se||(se=io()),se&&(C({message:"seek to prev episode"}),Li(se.time,It.EPISODE,!0))},yo=()=>(C({message:"getting preview thumbs data"}),f),oo=async()=>{Y?.isActive()?await Y?.remove():await Y?.request()},Co=(L=-90)=>{Le.update(se=>se+L)},Pn=Me(v),On=si([Pn],([L=[]])=>{const se=[];for(let Se=0;Se<L.length;Se++){const{range:[Ne,Ze],subjects:Ot}=L[Se];Se===0&&Ne!==0&&se.push({time:0,text:"",interactive:!1,completed:!0}),se.push({time:Ne/1e3,text:"",interactive:!0,completed:!Ot.length}),Ze!==1/0&&se.push({time:Ze/1e3,text:"",interactive:!1,completed:!0})}return se}),lo=L=>{const se=Ye(Pn);Pn.set(se.map(Se=>({...Se,subjects:Se.subjects.filter(Ne=>Ne!==L)})))},q=Me(!1),Lt=si([Kt,Pn,q],([L,se,Se])=>{if(!k)return!1;if(Se)return!0;const Ne=L*1e3,Ze=se?.find(({range:[Ot,Yt],subjects:Pt})=>Ot<Ne&&Ne<Yt&&Pt.length);return Ze&&Ye(Oi)&&Xi(),!!Ze}),Sn=L=>{if(!k)return L;const se=Ye(On),Se=Ye(ii),Ze=Ye(Kt)/Se,Ot=se.find(Yt=>Yt.interactive&&!Yt.completed&&Yt.time>Ze);return typeof Ot?.time=="number"?Math.min(L,Ot.time-.05):L},Tn=()=>{st.ui.episodes.panelOpened$.set(!1)},so=()=>{clearTimeout(li),clearTimeout($e),pt.unsubscribe(),rt.unsubscribe(),V.destroy(),M.destroy(),te?.destroy(),N?.destroy(),pe.unsubscribe()},st={interfaceLanguage$:ie,initVideo:x,videoId:e,isClip:i,playerPhase:ae,vsid:X,state:{positionExact$:bt,positionWithScrubbing$:dn,duration$:ii,playbackState$:yt,isPlaying$:ai,isLoaderVisible:vi,bufferedProgress$:Ri,isLive$:Tt,canChangePlaybackSpeed$:Hi,isActiveLive$:ni,isOldestAvailableLive$:jt,isRewindableLive$:Rt,isEnded$:dt,muted$:Ki,volume$:Vi,trafficSavingEnabled$:ei,autoQualityLimitingAvailable$:Fi,currentQuality$:ui,isAutoQualityEnabled$:ki,availableQualities$:ci,currentPlaybackRate$:Nt,availablePlaybackRates$:yi,currentSubtitle$:kt,availableSubtitlesList$:At,currentSubtitleCaptions$:Pi,isAutoSubtitleCaptionVisible$:Yi,chromecastState$:Wt,chromecastDeviceName$:bi,chromecastConnected$:gt,currentFormat$:Et,throughputEstimation$:ri,videoBitrate$:Bt,videoSize$:Mi,errorLog$:Te,crashed$:Ee,isAudioAvailable$:Zt,isAudioDisabled:!!s,canDownload:Z.features.download&&!!l,availableSources$:Ni,hasMpegSources$:fi,isInteractive:k,isInteractiveGraphEnabled:Z.features.interactiveGraph,isSeekToInteractiveEnable:Z.features.seekToInteractive,isPlayPrevChapterEnabled:Z.features.interactivePlayPrevChapter,interactiveEpisodes$:On,isInteractiveTime$:Lt,graphIsOpened$:Me(!1),isInteractiveExpectation$:q,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:w},ui:{controlsVisible:Me(!1),touched:Me(!1),controls:{prevButton:Me(void 0),playButton:Me(void 0),replayButton:Me(void 0),nextButton:Me(void 0),playPrevChapterButton:Me(void 0),seekToInteractiveButton:Me(void 0),interactiveGraphButton:Me(void 0),liveButton:Me(void 0),time:Me(void 0),episodes:Me(void 0),volume:Me(void 0),subtitles:Me(void 0),settings:Me(void 0),context:Me(void 0),chromecast:Me(void 0),pip:Me(void 0),fullscreen:Me(void 0),vkLogo:Me(void 0),additionalButtons:D.length?D.reduce(L=>[...L,Me(void 0)],[]):[],disabledControls$:be},modals:{hotKeyMap:{show:Me(!1),data:Me({title:"",closeBtnText:"",groups:[]})}},isFullscreen:ue,rotateAlpha:Le,isAutoplay:Me(!1),contextMenuVisible:Me(!1),debugPanelVisible:Me(!1),episodes:{panelOpened$:Me(!1),openedByKeyboard$:Me(!1)},contextMenu:{btnRef$:Me(void 0),openedByKeyboard$:Me(!1),showContextMenuBtn$:Me(!1)},playerSize:nn,isMobile:on,mobileNotReportControlHidden$:G,mobileUnmuteButtonExpanded:Me(!1),mobileUnmuteButtonVisible:Me(!1),icon3DVideoVisible:Me(!1),settingsMenuVisible:Me(!1),settingsMenuOpenedByKeyboard:Me(!1),scrubbingInProgress:Oi,is3DVideo:Me(!1),isPictureInPictureActive$:it,pictureInPictureType$:kn(re),clientInfo$:kn(_e),currentGridType$:mn,additionalButtons$:J,interactiveHideMobileControls:Me(!1),overlayContainer$:Me(void 0)},ads:{position:Me(0),duration:Me(0),playbackState:Me(Xt.INACTIVE),canSkip:Me(!1),secondsToWatchBeforeSkip:Me(0),postrollPassed:Me(!1)},webApi:{pictureInPictureApi:Y,annotationsApi:oe},actions:{internal:{preload:Zi,firstStart:L=>to(L,!1),pause:()=>qn(!1),togglePlay:Ti,toggleMuted:Si,toggleSettingsMenu:Wi,openSettingsMenu:Be,closeSettingsMenu:di,setVolume:zi,setQuality:pi,setTrafficSavingEnabled:L=>Oe(L),setPlaybackRate:Ei,incrementPlaybackRate:Dt,decrementPlaybackRate:Gt,setSubtitle:Ai,toggleSubtitle:ji,togglePictureInPicture:oo,startScrubbing:hi,progressScrubbing:$,completeScrubbing:an,toggleChromecast:eo,switchToActiveLive:wn,switchFromAdsToVideo:zn,switchFromVideoToAds:Yn,skipAd:Nn,setWaitingLive:Qn,setWaitingRecord:Xn,getDebugTextData:Jn,getDebugPanelData:xn,getVideoElement:$n,seekTime:(L,se,Se)=>Li(L,se,Se),clearDelayedBufferingCheckTimeout:wi,seekEpisodeStartTime:rn,seekToPercent:Qi,getNextEpisode:Wn,seekToNextEpisode:Dn,getPrevEpisode:io,seekToPrevEpisode:no,startLogging:Pe,stopLogging:ht,startCameraManualRotation:at,stopCameraManualRotation:xt,moveCameraFocusPX:$t,holdCamera:Mt,releaseCamera:ce,getVideoEpisodes:Ji,getPreviewThumbsData:yo,downloadVideo:qi,addLanguage:ns,setLanguage:A,nextMovie:Fe,videoRotate:Co,completeInteractiveRange:lo,correctSeekTimeToInteractive:Sn,replayInteractive:P},external:{firstStart:L=>to(L,!0),play:()=>ko(!0),pause:()=>qn(!0),seekTime:L=>Ii(L),seekEpisodeStartTime:L=>en(L),setPlaybackRate:L=>tn(L),setAutoQualityLimits:L=>$i(L),setMuted:L=>mi(L,!0),setVolume:L=>zi(L,L,!0),returnFocusToEpisodes:Tn}},callbacks:r,setUiCallbacks:L=>{me={...L}},getAdmanWrapper:()=>M,getLogger:()=>ee,destroy:so};return st},_u=(t,e,i,n)=>{if(!t)return;const o=t.getBoundingClientRect();for(const[s,l]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(s)){const r=i[s]?.getBoundingClientRect(),a=n&&!!r&&!!(r.right-r.left);l.set({positionStartX:0,positionEndX:0,left:a?Math.round(r.left-o.left):0,right:a?Math.round(r.right-o.left):0,top:a?Math.round(r.top-o.top):0,bottom:a?Math.round(r.bottom-o.top):0,isDisplayed:a})}};function qm(t){let e,i;return e=new Hl({props:{isMobile:!0}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p:W,i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Wm(t){let e,i,n;function o(l){t[8](l)}let s={className:t[3]?"opened":"",testId:"btn-context-menu",disabled:t[0],ariaLabel:t[1],click:t[5],focus:t[6],blur:t[7],$$slots:{default:[qm]},$$scope:{ctx:t}};return t[2]!==void 0&&(s.ref=t[2]),e=new gi({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.className=l[3]?"opened":""),r&1&&(a.disabled=l[0]),r&2&&(a.ariaLabel=l[1]),r&8192&&(a.$$scope={dirty:r,ctx:l}),!i&&r&4&&(i=!0,a.ref=l[2],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Zm(t,e,i){let n,{disabled:o=!1}=e,{ariaLabel:s=""}=e;const l=mt(),r=l.ui.contextMenuVisible;O(t,r,v=>i(3,n=v));const a=l.ui.contextMenu.openedByKeyboard$,c=l.ui.contextMenu.showContextMenuBtn$,f=l.ui.contextMenu.btnRef$,p=v=>{const P=Nl(v);a.set(P),r.set(!n)};let h;const _=()=>{c.set(!0)},b=()=>{c.set(!1)};function k(v){h=v,i(2,h)}return t.$$set=v=>{"disabled"in v&&i(0,o=v.disabled),"ariaLabel"in v&&i(1,s=v.ariaLabel)},t.$$.update=()=>{t.$$.dirty&4&&h&&f.set(h)},[o,s,h,n,r,p,_,b,k]}class jm extends we{constructor(e){super(),ve(this,e,Zm,Wm,ge,{disabled:0,ariaLabel:1})}}function Km(t){He(t,"v-st0uzk",".wrapper-bottom.v-st0uzk.v-st0uzk{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-st0uzk>.v-st0uzk{pointer-events:auto}.controls.v-st0uzk.v-st0uzk{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-st0uzk.v-st0uzk,.controls-right.v-st0uzk.v-st0uzk{display:flex;align-content:center}.controls-left.v-st0uzk.v-st0uzk{flex-grow:1;min-width:0;overflow:hidden}.controls-left.v-st0uzk > *:not(:first-child),.controls-right.v-st0uzk > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-st0uzk.v-st0uzk{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-st0uzk.v-st0uzk{transition:none}.settings-menu.v-st0uzk.v-st0uzk{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function br(t,e,i){const n=t.slice();return n[201]=e[i].iconUrl,n[202]=e[i].ariaLabel,n[203]=e[i].testId,n[204]=e[i].onClick,n[205]=e[i].tooltip,n}function _r(t){let e,i,n;function o(l){t[168](l)}let s={disabled:!t[9],tooltipContent:K("tooltip_previous"),$$slots:{default:[Gm]},$$scope:{ctx:t}};return t[23].prevButton!==void 0&&(s.ref=t[23].prevButton),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&512&&(a.disabled=!l[9]),r[0]&4608|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].prevButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Gm(t){let e,i;return e=new sl({props:{click:t[12],type:"prev",disabled:!t[9],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&4096&&(s.click=n[12]),o[0]&512&&(s.disabled=!n[9]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function vr(t){let e,i,n;function o(l){t[169](l)}let s={disabled:t[73],tooltipContent:K("tooltip_restart"),$$slots:{default:[Ym]},$$scope:{ctx:t}};return t[23].replayButton!==void 0&&(s.ref=t[23].replayButton),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[2]&2048&&(a.disabled=l[73]),r[2]&2048|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].replayButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Ym(t){let e,i;return e=new Zl({props:{click:t[125],disabled:t[73]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[2]&2048&&(s.disabled=n[73]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function wr(t){let e,i,n;function o(l){t[170](l)}let s={tooltipContent:t[46],disabled:t[74],$$slots:{default:[Qm]},$$scope:{ctx:t}};return t[23].playButton!==void 0&&(s.ref=t[23].playButton),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&32768&&(a.tooltipContent=l[46]),r[2]&4096&&(a.disabled=l[74]),r[1]&4|r[2]&4096|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].playButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Qm(t){let e,i;return e=new Wl({props:{isMobile:!1,isPlaying:t[33],click:t[85],disabled:t[74]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[1]&4&&(s.isPlaying=n[33]),o[2]&4096&&(s.disabled=n[74]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function kr(t){let e,i,n;function o(l){t[171](l)}let s={disabled:!t[8],tooltipContent:K("tooltip_next"),$$slots:{default:[Xm]},$$scope:{ctx:t}};return t[23].nextButton!==void 0&&(s.ref=t[23].nextButton),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&256&&(a.disabled=!l[8]),r[0]&2304|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].nextButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Xm(t){let e,i;return e=new sl({props:{click:t[11],type:"next",disabled:!t[8],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&2048&&(s.click=n[11]),o[0]&256&&(s.disabled=!n[8]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Jm(t){let e,i,n,o,s=t[119]&&xm(t),l=t[118]&&e3(t),r=t[117]&&i3(t);return{c(){s&&s.c(),e=z(),l&&l.c(),i=z(),r&&r.c(),n=lt()},m(a,c){s&&s.m(a,c),E(a,e,c),l&&l.m(a,c),E(a,i,c),r&&r.m(a,c),E(a,n,c),o=!0},p(a,c){a[119]&&s.p(a,c),a[118]&&l.p(a,c),a[117]&&r.p(a,c)},i(a){o||(d(s),d(l),d(r),o=!0)},o(a){g(s),g(l),g(r),o=!1},d(a){a&&(S(e),S(i),S(n)),s&&s.d(a),l&&l.d(a),r&&r.d(a)}}}function xm(t){let e,i,n;function o(l){t[172](l)}let s={disabled:t[72],tooltipContent:K("tooltip_interactive_go_back"),disabledTooltipContent:K(t[121]),$$slots:{default:[$m]},$$scope:{ctx:t}};return t[23].playPrevChapterButton!==void 0&&(s.ref=t[23].playPrevChapterButton),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[2]&1024&&(a.disabled=l[72]),r[0]&131072|r[2]&1024|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].playPrevChapterButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function $m(t){let e,i;return e=new hu({props:{disabled:t[72],click:t[17]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[2]&1024&&(s.disabled=n[72]),o[0]&131072&&(s.click=n[17]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function e3(t){let e,i,n;function o(l){t[173](l)}let s={disabled:t[75],tooltipContent:K("tooltip_interactive_seek"),disabledTooltipContent:K(t[78]),$$slots:{default:[t3]},$$scope:{ctx:t}};return t[23].seekToInteractiveButton!==void 0&&(s.ref=t[23].seekToInteractiveButton),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[2]&8192&&(a.disabled=l[75]),r[2]&65536&&(a.disabledTooltipContent=K(l[78])),r[0]&32768|r[2]&8192|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].seekToInteractiveButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function t3(t){let e,i;return e=new du({props:{disabled:t[75],click:t[15]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[2]&8192&&(s.disabled=n[75]),o[0]&32768&&(s.click=n[15]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function i3(t){let e,i,n;function o(l){t[174](l)}let s={tooltipContent:t[47],disabled:t[76],$$slots:{default:[n3]},$$scope:{ctx:t}};return t[23].interactiveGraphButton!==void 0&&(s.ref=t[23].interactiveGraphButton),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.tooltipContent=l[47]),r[2]&16384&&(a.disabled=l[76]),r[0]&1073807360|r[2]&16384|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].interactiveGraphButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function n3(t){let e,i;return e=new mu({props:{click:t[16],graphIsOpened:t[30],disabled:t[76]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&65536&&(s.click=n[16]),o[0]&1073741824&&(s.graphIsOpened=n[30]),o[2]&16384&&(s.disabled=n[76]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function yr(t){let e,i,n;function o(l){t[175](l)}let s={tooltipContent:t[49],$$slots:{default:[o3]},$$scope:{ctx:t}};return t[23].liveButton!==void 0&&(s.ref=t[23].liveButton),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&262144&&(a.tooltipContent=l[49]),r[0]&2097152|r[1]&262144|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].liveButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function o3(t){let e,i;return e=new ru({props:{isActiveLive:t[21],isMobile:!1,ariaLabel:t[49]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.isActiveLive=n[21]),o[1]&262144&&(s.ariaLabel=n[49]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Cr(t){let e,i,n;function o(l){t[176](l)}let s={isMobile:!1,showDuration:t[54],position:t[4]?t[79]:t[80],duration:t[4]?t[81]:t[82]};return t[23].time!==void 0&&(s.ref=t[23].time),e=new eu({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&8388608&&(a.showDuration=l[54]),r[0]&16|r[2]&393216&&(a.position=l[4]?l[79]:l[80]),r[0]&16|r[2]&1572864&&(a.duration=l[4]?l[81]:l[82]),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].time,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Pr(t){let e,i;return e=new fu({props:{position:t[80],duration:t[82],timeCodes:t[101]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[2]&262144&&(s.position=n[80]),o[2]&1048576&&(s.duration=n[82]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function l3(t){let e,i,n=t[20]&&Pr(t);return{c(){n&&n.c(),e=lt()},m(o,s){n&&n.m(o,s),E(o,e,s),i=!0},p(o,s){o[20]?n?(n.p(o,s),s[0]&1048576&&d(n,1)):(n=Pr(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&S(e),n&&n.d(o)}}}function s3(t){let e,i;return e=new gu({props:{iconUrl:t[201],ariaLabel:t[202]??t[205],testId:t[203],onClick:t[204]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&134217728&&(s.iconUrl=n[201]),o[0]&134217728&&(s.ariaLabel=n[202]??n[205]),o[0]&134217728&&(s.testId=n[203]),o[0]&134217728&&(s.onClick=n[204]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Sr(t){let e,i;return e=new Vt({props:{tooltipContent:t[205],width:40,$$slots:{default:[s3]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&134217728&&(s.tooltipContent=n[205]),o[0]&134217728|o[6]&4194304&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Tr(t){let e,i,n;function o(l){t[179](l)}let s={disabled:!t[6],tooltipContent:t[50],$$slots:{default:[r3]},$$scope:{ctx:t}};return t[23].vkLogo!==void 0&&(s.ref=t[23].vkLogo),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.disabled=!l[6]),r[1]&524288&&(a.tooltipContent=l[50]),r[0]&192|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].vkLogo,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function r3(t){let e,i;return e=new lu({props:{click:t[86],logoClickable:t[6],videoLogoUrl:t[7]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&64&&(s.logoClickable=n[6]),o[0]&128&&(s.videoLogoUrl=n[7]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function a3(t){let e,i;return e=new M2({props:{isAudioAvailable:t[77],click:t[124]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[2]&32768&&(s.isAudioAvailable=n[77]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Er(t){let e,i,n;function o(l){t[181](l)}let s={tooltipContent:t[51],$$slots:{default:[u3]},$$scope:{ctx:t}};return t[23].subtitles!==void 0&&(s.ref=t[23].subtitles),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&1048576&&(a.tooltipContent=l[51]),r[0]&262144|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].subtitles,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function u3(t){let e,i;return e=new qd({props:{isSubtitlesEnabled:t[18],click:t[87]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&262144&&(s.isSubtitlesEnabled=n[18]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ar(t){let e,i,n,o;function s(r){t[182](r)}let l={supportLink:t[10],playerControlsHeight:t[45]?.clientHeight,returnFocus:t[14]};return t[24]!==void 0&&(l.ref=t[24]),i=new $1({props:l}),Ce.push(()=>qe(i,"ref",s)),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(r,a){E(r,e,a),H(i,e,null),o=!0},p(r,a){const c={};a[0]&1024&&(c.supportLink=r[10]),a[1]&16384&&(c.playerControlsHeight=r[45]?.clientHeight),a[0]&16384&&(c.returnFocus=r[14]),!n&&a[0]&16777216&&(n=!0,c.ref=r[24],Ue(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),F(i)}}}function Lr(t){let e,i,n;function o(l){t[184](l)}let s={tooltipContent:t[26]?void 0:K("tooltip_settings_off"),$$slots:{default:[c3]},$$scope:{ctx:t}};return t[23].settings!==void 0&&(s.ref=t[23].settings),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&67108864&&(a.tooltipContent=l[26]?void 0:K("tooltip_settings_off")),r[0]&33554432|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].settings,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function c3(t){let e,i,n;function o(l){t[183](l)}let s={};return t[25]!==void 0&&(s.ref=t[25]),e=new Fl({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&33554432&&(i=!0,a.ref=l[25],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function f3(t){let e,i,n;function o(l){t[185](l)}let s={className:t[40]?"":"out-of-view",tooltipContent:t[48],$$slots:{default:[d3]},$$scope:{ctx:t}};return t[23].context!==void 0&&(s.ref=t[23].context),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&512&&(a.className=l[40]?"":"out-of-view"),r[1]&131072&&(a.tooltipContent=l[48]),r[1]&131072|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].context,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function d3(t){let e,i;return e=new jm({props:{ariaLabel:t[48]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[1]&131072&&(s.ariaLabel=n[48]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ir(t){let e,i,n;function o(l){t[186](l)}let s={tooltipContent:t[52],$$slots:{default:[m3]},$$scope:{ctx:t}};return t[23].fullscreen!==void 0&&(s.ref=t[23].fullscreen),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&2097152&&(a.tooltipContent=l[52]),r[0]&536879104|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].fullscreen,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function m3(t){let e,i;return e=new nu({props:{click:t[13],isFullscreen:t[29]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&8192&&(s.click=n[13]),o[0]&536870912&&(s.isFullscreen=n[29]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Vr(t){let e,i,n;function o(l){t[187](l)}let s={tooltipContent:t[53],$$slots:{default:[p3]},$$scope:{ctx:t}};return t[23].chromecast!==void 0&&(s.ref=t[23].chromecast),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&4194304&&(a.tooltipContent=l[53]),r[0]&268435456|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].chromecast,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function p3(t){let e,i;return e=new su({props:{isMobile:!1,state:t[28],click:t[123]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&268435456&&(s.state=n[28]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function h3(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,k,v,P,y,w,D,ne,I,Z,V,ee,M,te,N;i=new cu({props:{isHidden:!t[44],isAds:t[4],canRewindLive:t[5],isRewindableLive:t[31]}});let Y=t[37]&&_r(t),oe=t[34]&&vr(t),C=t[35]&&wr(t),le=t[36]&&kr(t),ke=t[116]&&Jm(t),me=!t[4]&&t[32]&&yr(t),_e=t[19]&&Cr(t);function X(x){t[177](x)}let ue={className:"w-max",disabled:!t[20],tooltipContent:K("tooltip_episodes"),$$slots:{default:[l3]},$$scope:{ctx:t}};t[23].episodes!==void 0&&(ue.ref=t[23].episodes),_=new Vt({props:ue}),Ce.push(()=>qe(_,"ref",X));let De=Ft(t[27]),re=[];for(let x=0;x<De.length;x+=1)re[x]=Sr(br(t,De,x));const Le=x=>g(re[x],1,1,()=>{re[x]=null});let Te=t[42]&&Tr(t);function pe(x){t[180](x)}let Ee={$$slots:{default:[a3]},$$scope:{ctx:t}};t[23].volume!==void 0&&(Ee.ref=t[23].volume),D=new Vt({props:Ee}),Ce.push(()=>qe(D,"ref",pe));let A=t[39]&&Er(t),ie=!t[83]&&!t[4]&&Ar(t),Ve=t[41]&&Lr(t),ye=t[84].features.contextMenuButton&&f3(t),ae=t[43]&&Ir(t),be=t[38]&&Vr(t);return{c(){e=T("div"),U(i.$$.fragment),n=z(),o=T("div"),s=T("div"),Y&&Y.c(),l=z(),oe&&oe.c(),r=z(),C&&C.c(),a=z(),le&&le.c(),c=z(),ke&&ke.c(),f=z(),me&&me.c(),p=z(),_e&&_e.c(),h=z(),U(_.$$.fragment),v=z(),P=T("div");for(let x=0;x<re.length;x+=1)re[x].c();y=z(),Te&&Te.c(),w=z(),U(D.$$.fragment),I=z(),A&&A.c(),Z=z(),ie&&ie.c(),V=z(),Ve&&Ve.c(),ee=z(),ye&&ye.c(),M=z(),ae&&ae.c(),te=z(),be&&be.c(),u(s,"class","controls-left v-st0uzk"),bo(()=>t[178].call(s)),u(P,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),B(e,"hidden",t[1]),B(e,"controls-hidden",!t[3]),B(e,"no-smooth",t[2])},m(x,Q){E(x,e,Q),H(i,e,null),m(e,n),m(e,o),m(o,s),Y&&Y.m(s,null),m(s,l),oe&&oe.m(s,null),m(s,r),C&&C.m(s,null),m(s,a),le&&le.m(s,null),m(s,c),ke&&ke.m(s,null),m(s,f),me&&me.m(s,null),m(s,p),_e&&_e.m(s,null),m(s,h),H(_,s,null),k=Al(s,t[178].bind(s)),m(o,v),m(o,P);for(let Fe=0;Fe<re.length;Fe+=1)re[Fe]&&re[Fe].m(P,null);m(P,y),Te&&Te.m(P,null),m(P,w),H(D,P,null),m(P,I),A&&A.m(P,null),m(P,Z),ie&&ie.m(P,null),m(P,V),Ve&&Ve.m(P,null),m(P,ee),ye&&ye.m(P,null),m(P,M),ae&&ae.m(P,null),m(P,te),be&&be.m(P,null),t[188](o),t[189](e),N=!0},p(x,Q){const Fe={};Q[1]&8192&&(Fe.isHidden=!x[44]),Q[0]&16&&(Fe.isAds=x[4]),Q[0]&32&&(Fe.canRewindLive=x[5]),Q[1]&1&&(Fe.isRewindableLive=x[31]),i.$set(Fe),x[37]?Y?(Y.p(x,Q),Q[1]&64&&d(Y,1)):(Y=_r(x),Y.c(),d(Y,1),Y.m(s,l)):Y&&(fe(),g(Y,1,1,()=>{Y=null}),de()),x[34]?oe?(oe.p(x,Q),Q[1]&8&&d(oe,1)):(oe=vr(x),oe.c(),d(oe,1),oe.m(s,r)):oe&&(fe(),g(oe,1,1,()=>{oe=null}),de()),x[35]?C?(C.p(x,Q),Q[1]&16&&d(C,1)):(C=wr(x),C.c(),d(C,1),C.m(s,a)):C&&(fe(),g(C,1,1,()=>{C=null}),de()),x[36]?le?(le.p(x,Q),Q[1]&32&&d(le,1)):(le=kr(x),le.c(),d(le,1),le.m(s,c)):le&&(fe(),g(le,1,1,()=>{le=null}),de()),x[116]&&ke.p(x,Q),!x[4]&&x[32]?me?(me.p(x,Q),Q[0]&16|Q[1]&2&&d(me,1)):(me=yr(x),me.c(),d(me,1),me.m(s,p)):me&&(fe(),g(me,1,1,()=>{me=null}),de()),x[19]?_e?(_e.p(x,Q),Q[0]&524288&&d(_e,1)):(_e=Cr(x),_e.c(),d(_e,1),_e.m(s,h)):_e&&(fe(),g(_e,1,1,()=>{_e=null}),de());const Je={};if(Q[0]&1048576&&(Je.disabled=!x[20]),Q[0]&1048576|Q[2]&1310720|Q[6]&4194304&&(Je.$$scope={dirty:Q,ctx:x}),!b&&Q[0]&8388608&&(b=!0,Je.ref=x[23].episodes,Ue(()=>b=!1)),_.$set(Je),Q[0]&134217728){De=Ft(x[27]);let Ae;for(Ae=0;Ae<De.length;Ae+=1){const We=br(x,De,Ae);re[Ae]?(re[Ae].p(We,Q),d(re[Ae],1)):(re[Ae]=Sr(We),re[Ae].c(),d(re[Ae],1),re[Ae].m(P,y))}for(fe(),Ae=De.length;Ae<re.length;Ae+=1)Le(Ae);de()}x[42]?Te?(Te.p(x,Q),Q[1]&2048&&d(Te,1)):(Te=Tr(x),Te.c(),d(Te,1),Te.m(P,w)):Te&&(fe(),g(Te,1,1,()=>{Te=null}),de());const Xe={};Q[2]&32768|Q[6]&4194304&&(Xe.$$scope={dirty:Q,ctx:x}),!ne&&Q[0]&8388608&&(ne=!0,Xe.ref=x[23].volume,Ue(()=>ne=!1)),D.$set(Xe),x[39]?A?(A.p(x,Q),Q[1]&256&&d(A,1)):(A=Er(x),A.c(),d(A,1),A.m(P,Z)):A&&(fe(),g(A,1,1,()=>{A=null}),de()),!x[83]&&!x[4]?ie?(ie.p(x,Q),Q[0]&16|Q[2]&2097152&&d(ie,1)):(ie=Ar(x),ie.c(),d(ie,1),ie.m(P,V)):ie&&(fe(),g(ie,1,1,()=>{ie=null}),de()),x[41]?Ve?(Ve.p(x,Q),Q[1]&1024&&d(Ve,1)):(Ve=Lr(x),Ve.c(),d(Ve,1),Ve.m(P,ee)):Ve&&(fe(),g(Ve,1,1,()=>{Ve=null}),de()),x[84].features.contextMenuButton&&ye.p(x,Q),x[43]?ae?(ae.p(x,Q),Q[1]&4096&&d(ae,1)):(ae=Ir(x),ae.c(),d(ae,1),ae.m(P,te)):ae&&(fe(),g(ae,1,1,()=>{ae=null}),de()),x[38]?be?(be.p(x,Q),Q[1]&128&&d(be,1)):(be=Vr(x),be.c(),d(be,1),be.m(P,null)):be&&(fe(),g(be,1,1,()=>{be=null}),de()),(!N||Q[0]&2)&&B(e,"hidden",x[1]),(!N||Q[0]&8)&&B(e,"controls-hidden",!x[3]),(!N||Q[0]&4)&&B(e,"no-smooth",x[2])},i(x){if(!N){d(i.$$.fragment,x),d(Y),d(oe),d(C),d(le),d(ke),d(me),d(_e),d(_.$$.fragment,x);for(let Q=0;Q<De.length;Q+=1)d(re[Q]);d(Te),d(D.$$.fragment,x),d(A),d(ie),d(Ve),d(ye),d(ae),d(be),N=!0}},o(x){g(i.$$.fragment,x),g(Y),g(oe),g(C),g(le),g(ke),g(me),g(_e),g(_.$$.fragment,x),re=re.filter(Boolean);for(let Q=0;Q<re.length;Q+=1)g(re[Q]);g(Te),g(D.$$.fragment,x),g(A),g(ie),g(Ve),g(ye),g(ae),g(be),N=!1},d(x){x&&S(e),F(i),Y&&Y.d(),oe&&oe.d(),C&&C.d(),le&&le.d(),ke&&ke.d(),me&&me.d(),_e&&_e.d(),F(_),k(),vn(re,x),Te&&Te.d(),F(D),A&&A.d(),ie&&ie.d(),Ve&&Ve.d(),ye&&ye.d(),ae&&ae.d(),be&&be.d(),t[188](null),t[189](null)}}}function g3(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,b,k,v,P,y,w,D,ne,I,Z,V,ee,M,te,N,Y,oe,C,le,ke=W,me=()=>(ke(),ke=Qt(ee,j=>i(139,le=j)),ee),_e,X=W,ue=()=>(X(),X=Qt(V,j=>i(140,_e=j)),V),De,re=W,Le=()=>(re(),re=Qt(Z,j=>i(141,De=j)),Z),Te,pe=W,Ee=()=>(pe(),pe=Qt(I,j=>i(142,Te=j)),I),A,ie=W,Ve=()=>(ie(),ie=Qt(ne,j=>i(143,A=j)),ne),ye,ae=W,be=()=>(ae(),ae=Qt(D,j=>i(144,ye=j)),D),x,Q=W,Fe=()=>(Q(),Q=Qt(w,j=>i(145,x=j)),w),Je,Xe=W,Ae=()=>(Xe(),Xe=Qt(y,j=>i(146,Je=j)),y),We,xe=W,pt=()=>(xe(),xe=Qt(P,j=>i(147,We=j)),P),rt,Pe=W,ht=()=>(Pe(),Pe=Qt(v,j=>i(148,rt=j)),v),at,xt=W,$t=()=>(xt(),xt=Qt(k,j=>i(149,at=j)),k),Mt,ce=W,bt=()=>(ce(),ce=Qt(b,j=>i(150,Mt=j)),b),it,yt=W,ft=()=>(yt(),yt=Qt(_,j=>i(151,it=j)),_),dt,Tt=W,Hi=()=>(Tt(),Tt=Qt(h,j=>i(152,dt=j)),h),Ut,Vi=W,Ki=()=>(Vi(),Vi=Qt(p,j=>i(153,Ut=j)),p),ei,Fi=W,Gi=()=>(Fi(),Fi=Qt(f,j=>i(154,ei=j)),f),qt,Wt=W,bi=()=>(Wt(),Wt=Qt(c,j=>i(155,qt=j)),c),Et,ri,Bt,Mi,_i,Zt,Ct,ti,vi,wi,ii,ai,ni,jt,Kt,Rt,gt,wt,ki,Bi,ui,ci,Nt;t.$$.on_destroy.push(()=>ke()),t.$$.on_destroy.push(()=>X()),t.$$.on_destroy.push(()=>re()),t.$$.on_destroy.push(()=>pe()),t.$$.on_destroy.push(()=>ie()),t.$$.on_destroy.push(()=>ae()),t.$$.on_destroy.push(()=>Q()),t.$$.on_destroy.push(()=>Xe()),t.$$.on_destroy.push(()=>xe()),t.$$.on_destroy.push(()=>Pe()),t.$$.on_destroy.push(()=>xt()),t.$$.on_destroy.push(()=>ce()),t.$$.on_destroy.push(()=>yt()),t.$$.on_destroy.push(()=>Tt()),t.$$.on_destroy.push(()=>Vi()),t.$$.on_destroy.push(()=>Fi()),t.$$.on_destroy.push(()=>Wt());let{bottomHidden:yi}=e,{bottomNoSmooth:oi}=e,{showControls:Ci}=e,{controlsElementRef:ut=void 0}=e,{isAds:kt=!1}=e,{canRewindLive:At}=e,{logoClickable:Ui}=e,{logoHidden:Pi}=e,{videoLogoUrl:Yi}=e,{showNextPrevButtons:Ri}=e,{nextButtonActive:Ni}=e,{prevButtonActive:fi}=e,{isOneVideoPlaylist:zt=!1}=e,{supportLink:qi}=e,{customFullscreenSupported:Si=!0}=e,{playNextVideo:di}=e,{playPrevVideo:Be}=e,{repeatPlaylist:Wi}=e,{toggleFullscreen:zi}=e,{returnFocus:mi}=e,{seekToInteractive:Zi}=e,{toggleGraph:Ti}=e,{playPrevChapter:pi}=e;const Oe=mt(),Ei=Vl(),Dt=sn(),Gt=Oe.actions.internal.toggleMuted,Ai=Oe.actions.internal.togglePlay,ji=Oe.actions.internal.pause,Li=Oe.actions.internal.toggleSubtitle,rn=Oe.callbacks?.onAudioDoesNotExistHint,Qi=Oe.callbacks?.onAudioDisabledHint,Ii=Oe.state.duration$;O(t,Ii,j=>i(82,ci=j));const $i=Oe.state.positionWithScrubbing$;O(t,$i,j=>i(80,Bi=j));const en=Oe.state.playbackState$;O(t,en,j=>i(156,Bt=j));const tn=Oe.state.chromecastConnected$;O(t,tn,j=>i(83,Nt=j));const Di=Oe.state.isAudioAvailable$;O(t,Di,j=>i(77,M=j));const Oi=Oe.state.isAudioDisabled,hi=Oe.state.isEnded$;O(t,hi,j=>i(164,jt=j));const $=Oe.state.isLive$;O(t,$,j=>i(32,ti=j));const $e=Oe.state.isActiveLive$;O(t,$e,j=>i(158,Zt=j));const li=Oe.state.isRewindableLive$;O(t,li,j=>i(31,Ct=j));const Xi=Oe.ui.isPictureInPictureActive$;O(t,Xi,j=>i(160,wi=j));const _t=Oe.ui.pictureInPictureType$;O(t,_t,j=>i(159,vi=j));const an=Oe.ui.settingsMenuVisible;O(t,an,j=>i(26,N=j));const dn=Oe.ui.settingsMenuOpenedByKeyboard;O(t,dn,j=>i(136,te=j));const nn=Oe.ui.controls,mn=Oe.actions.internal.getVideoEpisodes(),on=Oe.state.chromecastState$;O(t,on,j=>i(28,Et=j));const J=Oe.state.availableSubtitlesList$;O(t,J,j=>i(163,ni=j));const G=Oe.state.currentSubtitle$;O(t,G,j=>i(165,Kt=j));const wn=nn.disabledControls$;O(t,wn,j=>i(167,gt=j));const Nn=Oe.ui.contextMenuVisible;O(t,Nn,j=>i(157,Mi=j));const zn=Oe.ui.contextMenu.showContextMenuBtn$;O(t,zn,j=>i(161,ii=j));const Yn=Oe.ui.contextMenu.openedByKeyboard$;O(t,Yn,j=>i(162,ai=j));const Qn=Oe.ads.duration;O(t,Qn,j=>i(81,ui=j));const Xn=Oe.ads.position;O(t,Xn,j=>i(79,ki=j));const Jn=Oe.ads.playbackState;O(t,Jn,j=>i(166,Rt=j));const xn=Oe.ui.isFullscreen;O(t,xn,j=>i(29,ri=j));const $n=Oe.ui.playerSize;O(t,$n,j=>i(137,Y=j));const eo=Oe.ui.currentGridType$;O(t,eo,j=>i(138,oe=j));const qn=Oe.ui.additionalButtons$;O(t,qn,j=>i(27,C=j));const ko=Oe.actions.internal.getVideoElement,to=Oe.actions.internal.replayInteractive,Ji=Oe.state.isInteractive,Wn=Oe.state.isInteractiveGraphEnabled,Dn=Oe.state.isSeekToInteractiveEnable,io=Oe.state.isPlayPrevChapterEnabled,no=Oe.state.graphIsOpened$;O(t,no,j=>i(30,_i=j));const yo=Oe.state.playPrevChapterDisabledTooltip,oo=Ei.seekToInteractiveDisabledTooltip$;O(t,oo,j=>i(78,wt=j));const Co=()=>Oe.actions.internal.toggleChromecast();let Pn,On,lo,q,Lt,Sn,Tn,so,st,L,se,Se,Ne,Ze,Ot,Yt,Pt,un,Zn,zo,Po,rl="";const Mu=(j,ul)=>{if(!j){i(49,rl=K("tooltip_live"));return}ul===Ht.PAUSED&&i(49,rl=K("tooltip_play"))};let Kl,Gl,Yl,Ql,Do;const je={};let pn,So,al,Xl;const Bu=il(_u,p1,{leading:!1});let Oo,Ho;function Ru(){Oi?Qi?.():M?Gt():rn?.()}const Nu=Ji?to:zt?Ai:Wi;function zu(j){t.$$.not_equal(je.prevButton,j)&&(je.prevButton=j,i(23,je))}function Du(j){t.$$.not_equal(je.replayButton,j)&&(je.replayButton=j,i(23,je))}function Ou(j){t.$$.not_equal(je.playButton,j)&&(je.playButton=j,i(23,je))}function Hu(j){t.$$.not_equal(je.nextButton,j)&&(je.nextButton=j,i(23,je))}function Fu(j){t.$$.not_equal(je.playPrevChapterButton,j)&&(je.playPrevChapterButton=j,i(23,je))}function Uu(j){t.$$.not_equal(je.seekToInteractiveButton,j)&&(je.seekToInteractiveButton=j,i(23,je))}function qu(j){t.$$.not_equal(je.interactiveGraphButton,j)&&(je.interactiveGraphButton=j,i(23,je))}function Wu(j){t.$$.not_equal(je.liveButton,j)&&(je.liveButton=j,i(23,je))}function Zu(j){t.$$.not_equal(je.time,j)&&(je.time=j,i(23,je))}function ju(j){t.$$.not_equal(je.episodes,j)&&(je.episodes=j,i(23,je))}function Ku(){Do=this.clientWidth,i(22,Do)}function Gu(j){t.$$.not_equal(je.vkLogo,j)&&(je.vkLogo=j,i(23,je))}function Yu(j){t.$$.not_equal(je.volume,j)&&(je.volume=j,i(23,je))}function Qu(j){t.$$.not_equal(je.subtitles,j)&&(je.subtitles=j,i(23,je))}function Xu(j){Oo=j,i(24,Oo)}function Ju(j){Ho=j,i(25,Ho)}function xu(j){t.$$.not_equal(je.settings,j)&&(je.settings=j,i(23,je))}function $u(j){t.$$.not_equal(je.context,j)&&(je.context=j,i(23,je))}function ec(j){t.$$.not_equal(je.fullscreen,j)&&(je.fullscreen=j,i(23,je))}function tc(j){t.$$.not_equal(je.chromecast,j)&&(je.chromecast=j,i(23,je))}function ic(j){Ce[j?"unshift":"push"](()=>{Pt=j,i(45,Pt)})}function nc(j){Ce[j?"unshift":"push"](()=>{ut=j,i(0,ut)})}return t.$$set=j=>{"bottomHidden"in j&&i(1,yi=j.bottomHidden),"bottomNoSmooth"in j&&i(2,oi=j.bottomNoSmooth),"showControls"in j&&i(3,Ci=j.showControls),"controlsElementRef"in j&&i(0,ut=j.controlsElementRef),"isAds"in j&&i(4,kt=j.isAds),"canRewindLive"in j&&i(5,At=j.canRewindLive),"logoClickable"in j&&i(6,Ui=j.logoClickable),"logoHidden"in j&&i(126,Pi=j.logoHidden),"videoLogoUrl"in j&&i(7,Yi=j.videoLogoUrl),"showNextPrevButtons"in j&&i(127,Ri=j.showNextPrevButtons),"nextButtonActive"in j&&i(8,Ni=j.nextButtonActive),"prevButtonActive"in j&&i(9,fi=j.prevButtonActive),"isOneVideoPlaylist"in j&&i(128,zt=j.isOneVideoPlaylist),"supportLink"in j&&i(10,qi=j.supportLink),"customFullscreenSupported"in j&&i(129,Si=j.customFullscreenSupported),"playNextVideo"in j&&i(11,di=j.playNextVideo),"playPrevVideo"in j&&i(12,Be=j.playPrevVideo),"repeatPlaylist"in j&&i(130,Wi=j.repeatPlaylist),"toggleFullscreen"in j&&i(13,zi=j.toggleFullscreen),"returnFocus"in j&&i(14,mi=j.returnFocus),"seekToInteractive"in j&&i(15,Zi=j.seekToInteractive),"toggleGraph"in j&&i(16,Ti=j.toggleGraph),"playPrevChapter"in j&&i(17,pi=j.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[5]&4096&&i(135,n=gt.has(nt.EPISODE_BUTTON)),t.$$.dirty[5]&4096&&i(76,o=gt.has(nt.GRAPH_BUTTON)),t.$$.dirty[5]&4096&&i(75,s=gt.has(nt.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[5]&4096&&i(74,l=gt.has(nt.PLAY_BUTTON)),t.$$.dirty[5]&4096&&i(73,r=gt.has(nt.REPLAY_BUTTON)),t.$$.dirty[5]&4096&&i(72,a=gt.has(nt.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[0]&16|t.$$.dirty[5]&2050&&i(33,Pn=kt?Rt===Xt.PLAYING:Bt===Ht.PLAYING),t.$$.dirty[5]&1024&&i(18,On=Kt.value!=="off"),t.$$.dirty[0]&16|t.$$.dirty[5]&512&&i(34,lo=jt&&!kt||Ji),t.$$.dirty[0]&16|t.$$.dirty[5]&512&&i(35,q=!jt||Ji||kt),t.$$.dirty[4]&16384&&i(131,Lt=hn(oe,vt.M)),t.$$.dirty[0]&272|t.$$.dirty[4]&16392&&i(36,Sn=Ri&&hn(oe,vt.M)&&!kt&&Ni),t.$$.dirty[0]&528|t.$$.dirty[4]&16392&&i(37,Tn=Ri&&hn(oe,vt.M)&&!kt&&fi),t.$$.dirty[0]&268435456|t.$$.dirty[4]&16384|t.$$.dirty[5]&48&&i(38,so=Et!==yn.NOT_AVAILABLE&&!(wi&&vi===Ln.DocumentPictureInPicture)&&hn(oe,vt.M)&&!Ji),t.$$.dirty[4]&16384|t.$$.dirty[5]&256&&i(39,st=ni.length>0&&hn(oe,vt.M)),t.$$.dirty[5]&192&&i(40,L=ai||ii),t.$$.dirty[4]&16384&&i(41,se=hn(oe,vt.S)),t.$$.dirty[4]&4&&i(42,Se=!Pi),t.$$.dirty[4]&16420|t.$$.dirty[5]&48&&i(43,Ne=Dt.features.fullscreen&&(Pi||hn(oe,vt.S))&&!(wi&&vi===Ln.DocumentPictureInPicture)&&(Ji?Si:!0)),t.$$.dirty[0]&16|t.$$.dirty[1]&2&&i(19,Ze=(!ti||kt)&&!(Dt.features.interactiveHideTime&&Ji)),t.$$.dirty[4]&8192&&i(44,Ot=Y.width>100),t.$$.dirty[0]&16|t.$$.dirty[1]&2|t.$$.dirty[4]&2176&&i(20,Yt=!kt&&!ti&&!!mn?.length&&Lt&&!n),t.$$.dirty[1]&1|t.$$.dirty[5]&8&&i(21,un=!Ct||Zt),t.$$.dirty[5]&2&&i(46,Zn=Bt===Ht.PLAYING?K("tooltip_pause"):K("tooltip_play")),t.$$.dirty[0]&1073741824&&i(47,zo=K(_i?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),t.$$.dirty[5]&4&&i(48,Po=K(Mi?"aria_label_context_menu_close":"aria_label_context_menu_open")),t.$$.dirty[0]&2097152|t.$$.dirty[5]&2&&Mu(un,Bt),t.$$.dirty[0]&262144&&i(51,Gl=K(On?"tooltip_subtitles_on":"tooltip_subtitles_off")),t.$$.dirty[0]&536870912&&i(52,Yl=K(ri?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),t.$$.dirty[0]&268435456&&i(53,Ql=Et===yn.CONNECTED?K("tooltip_chromecast_on"):K("tooltip_chromecast_off")),t.$$.dirty[0]&134217728|t.$$.dirty[4]&2147450880|t.$$.dirty[5]&1&&i(132,pn={prevButton:qt?qt.right-qt.left:0,replayButton:ei?ei.right-ei.left:0,playButton:Ut?Ut.right-Ut.left:0,nextButton:dt?dt.right-dt.left:0,playPrevChapterButton:it?it.right-it.left:0,seekToInteractiveButton:Mt?Mt.right-Mt.left:0,interactiveGraphButton:at?at.right-at.left:0,liveButton:rt?rt.right-rt.left:0,time:We?We.right-We.left:0,episodes:Je?Je.right-Je.left:0,vkLogo:x?x.right-x.left:0,volume:ye?ye.right-ye.left:0,subtitles:A?A.right-A.left:0,settings:Te?Te.right-Te.left:0,context:De?De.right-De.left:0,fullscreen:_e?_e.right-_e.left:0,chromecast:le?le.right-le.left:0,additionalButtons:C.length?C.reduce(j=>[...j,40],[]):[]}),t.$$.dirty[4]&768&&(!So||So<pn.time)&&i(133,So=pn.time),t.$$.dirty[0]&5767168|t.$$.dirty[4]&17152){let j=0;Yt&&(hn(oe,vt.XL)?j=pn.time:j=Kc);const ul=pn.prevButton+pn.playButton+pn.nextButton+pn.seekToInteractiveButton+pn.interactiveGraphButton+pn.liveButton+So+j;i(134,al=Ze&&Do>=ul)}t.$$.dirty[4]&17408&&i(54,Xl=al&&hn(oe,vt.M)),t.$$.dirty[0]&8388616|t.$$.dirty[4]&8192&&Bu(ko(),nn,je,Ci),t.$$.dirty[0]&100663296&&zl(Ho,N,dn),t.$$.dirty[0]&83886080|t.$$.dirty[4]&4096&&Dl(Oo,N,te)},i(50,Kl=Dt.logoType===_o.VK_VIDEO?K("tooltip_vk_video_logo"):K("tooltip_vk_logo")),bi(i(71,{prevButton:c,replayButton:f,playButton:p,nextButton:h,playPrevChapterButton:_,seekToInteractiveButton:b,interactiveGraphButton:k,liveButton:v,time:P,episodes:y,vkLogo:w,volume:D,subtitles:ne,settings:I,context:Z,fullscreen:V,chromecast:ee}=nn,c,Gi(i(70,f)),Ki(i(69,p)),Hi(i(68,h)),ft(i(67,_)),bt(i(66,b)),$t(i(65,k)),ht(i(64,v)),pt(i(63,P)),Ae(i(62,y)),Fe(i(61,w)),be(i(60,D)),Ve(i(59,ne)),Ee(i(58,I)),Le(i(57,Z)),ue(i(56,V)),me(i(55,ee)))),[ut,yi,oi,Ci,kt,At,Ui,Yi,Ni,fi,qi,di,Be,zi,mi,Zi,Ti,pi,On,Ze,Yt,un,Do,je,Oo,Ho,N,C,Et,ri,_i,Ct,ti,Pn,lo,q,Sn,Tn,so,st,L,se,Se,Ne,Ot,Pt,Zn,zo,Po,rl,Kl,Gl,Yl,Ql,Xl,ee,V,Z,I,ne,D,w,y,P,v,k,b,_,h,p,f,c,a,r,l,s,o,M,wt,ki,Bi,ui,ci,Nt,Dt,Ai,ji,Li,Ii,$i,en,tn,Di,hi,$,$e,li,Xi,_t,an,dn,mn,on,J,G,wn,Nn,zn,Yn,Qn,Xn,Jn,xn,$n,eo,qn,Ji,Wn,Dn,io,no,yo,oo,Co,Ru,Nu,Pi,Ri,zt,Si,Wi,Lt,pn,So,al,n,te,Y,oe,le,_e,De,Te,A,ye,x,Je,We,rt,at,Mt,it,dt,Ut,ei,qt,Bt,Mi,Zt,vi,wi,ii,ai,ni,jt,Kt,Rt,gt,zu,Du,Ou,Hu,Fu,Uu,qu,Wu,Zu,ju,Ku,Gu,Yu,Qu,Xu,Ju,xu,$u,ec,tc,ic,nc]}class b3 extends we{constructor(e){super(),ve(this,e,g3,h3,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:126,videoLogoUrl:7,showNextPrevButtons:127,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:128,supportLink:10,customFullscreenSupported:129,playNextVideo:11,playPrevVideo:12,repeatPlaylist:130,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},Km,[-1,-1,-1,-1,-1,-1,-1])}}function _3(t){let e,i,n,o;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(s,l){E(s,e,l),m(e,i),m(i,n),m(i,o)},p:W,i:W,o:W,d(s){s&&S(e)}}}class v3 extends we{constructor(e){super(),ve(this,e,null,_3,ge,{})}}function w3(t){He(t,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function Mr(t){let e;return{c(){e=T("span"),e.textContent=`${K("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(i,n){E(i,e,n)},p:W,d(i){i&&S(e)}}}function k3(t){let e,i,n,o;var s=t[4];function l(a){return{}}s&&(i=Cn(s,l()));let r=t[1]&&Mr();return{c(){e=T("div"),i&&U(i.$$.fragment),n=z(),r&&r.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),B(e,"expanded",t[1])},m(a,c){E(a,e,c),i&&H(i,e,null),m(e,n),r&&r.m(e,null),o=!0},p(a,c){if(c&16&&s!==(s=a[4])){if(i){fe();const f=i;g(f.$$.fragment,1,0,()=>{F(f,1)}),de()}s?(i=Cn(s,l()),U(i.$$.fragment),d(i.$$.fragment,1),H(i,e,n)):i=null}a[1]?r?r.p(a,c):(r=Mr(),r.c(),r.m(e,null)):r&&(r.d(1),r=null),(!o||c&2)&&B(e,"expanded",a[1])},i(a){o||(i&&d(i.$$.fragment,a),o=!0)},o(a){i&&g(i.$$.fragment,a),o=!1},d(a){a&&S(e),i&&F(i),r&&r.d()}}}function y3(t){let e,i,n;function o(l){t[6](l)}let s={testId:t[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:t[2],ariaLabel:t[3],$$slots:{default:[k3]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new gi({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.testId=l[1]?"btn-mobile-unmuted":"btn-mobile-muted"),r&4&&(a.click=l[2]),r&8&&(a.ariaLabel=l[3]),r&146&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function C3(t,e,i){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:s=Ge}=e,{ref:l=void 0}=e,r,a;function c(f){l=f,i(0,l)}return t.$$set=f=>{"muted"in f&&i(5,n=f.muted),"expanded"in f&&i(1,o=f.expanded),"click"in f&&i(2,s=f.click),"ref"in f&&i(0,l=f.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,r=K(n?"tooltip_volume":"tooltip_volume_muted")),t.$$.dirty&2&&i(4,a=o?ll:v3)},[l,o,s,r,a,n,c]}class vu extends we{constructor(e){super(),ve(this,e,C3,y3,ge,{muted:5,expanded:1,click:2,ref:0},w3)}}function P3(t){let e,i,n,o;return{c(){e=R("svg"),i=R("path"),n=R("path"),o=R("path"),u(i,"fill",t[1]),u(i,"clip-rule","evenodd"),u(i,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",t[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),B(n,"hidden",!t[0]),u(o,"fill",t[1]),u(o,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),B(o,"hidden",t[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(s,l){E(s,e,l),m(e,i),m(e,n),m(e,o)},p(s,[l]){l&2&&u(i,"fill",s[1]),l&2&&u(n,"fill",s[1]),l&1&&B(n,"hidden",!s[0]),l&2&&u(o,"fill",s[1]),l&1&&B(o,"hidden",s[0])},i:W,o:W,d(s){s&&S(e)}}}function S3(t,e,i){let n,{isActive:o=!1}=e;return t.$$set=s=>{"isActive"in s&&i(0,o=s.isActive)},t.$$.update=()=>{t.$$.dirty&1&&i(1,n=o?"#2688EB":"#fff")},[o,n]}class T3 extends we{constructor(e){super(),ve(this,e,S3,P3,ge,{isActive:0})}}function E3(t){let e,i;return e=new T3({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function A3(t){let e,i,n;function o(l){t[3](l)}let s={testId:"btn-pip",ariaLabel:K("menu_pip"),click:t[2],$$slots:{default:[E3]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new gi({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&4&&(a.click=l[2]),r&18&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function L3(t,e,i){let{ref:n=void 0}=e,{isPictureInPictureActive:o=!1}=e,{click:s=Ge}=e;function l(r){n=r,i(0,n)}return t.$$set=r=>{"ref"in r&&i(0,n=r.ref),"isPictureInPictureActive"in r&&i(1,o=r.isPictureInPictureActive),"click"in r&&i(2,s=r.click)},[n,o,s,l]}class I3 extends we{constructor(e){super(),ve(this,e,L3,A3,ge,{ref:0,isPictureInPictureActive:1,click:2})}}function V3(t){He(t,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function Br(t,e,i){const n=t.slice();return n[153]=e[i].iconUrl,n[154]=e[i].ariaLabel,n[155]=e[i].testId,n[156]=e[i].onClick,n[157]=e[i].tooltip,n}function Rr(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,k,v,P,y=(!t[51]||t[53])&&Nr(t),w=Ft(t[56]),D=[];for(let C=0;C<w.length;C+=1)D[C]=zr(Br(t,w,C));const ne=C=>g(D[C],1,1,()=>{D[C]=null});let I=t[36]&&Dr(t),Z=t[37]&&Or(t),V=t[57]&&Hr(t),ee=t[39]&&Fr(t),M=t[8]&&Ur(t),te=t[34]&&qr(t),N=t[33]&&Wr(t),Y=t[8]&&Zr(t),oe=t[95]&&!t[29]&&jr(t);return{c(){e=T("div"),i=z(),n=T("div"),y&&y.c(),o=z(),s=T("div");for(let C=0;C<D.length;C+=1)D[C].c();l=z(),I&&I.c(),r=z(),Z&&Z.c(),a=z(),V&&V.c(),c=z(),ee&&ee.c(),f=z(),p=T("div"),M&&M.c(),h=z(),te&&te.c(),_=z(),N&&N.c(),b=z(),Y&&Y.c(),k=z(),oe&&oe.c(),v=lt(),u(e,"class","overlay-mobile v-1tcstu3"),B(e,"hidden",!t[42]),u(n,"class","wrapper-top-left v-1tcstu3"),B(n,"hidden",!t[3]),B(n,"fullscreen",t[52]),u(s,"class","wrapper-top-right v-1tcstu3"),B(s,"hidden",!t[3]&&!t[27]),B(s,"fullscreen",t[52]),u(p,"class","wrapper-middle v-1tcstu3"),B(p,"hidden",!t[3]||t[29])},m(C,le){E(C,e,le),E(C,i,le),E(C,n,le),y&&y.m(n,null),E(C,o,le),E(C,s,le);for(let ke=0;ke<D.length;ke+=1)D[ke]&&D[ke].m(s,null);m(s,l),I&&I.m(s,null),m(s,r),Z&&Z.m(s,null),m(s,a),V&&V.m(s,null),m(s,c),ee&&ee.m(s,null),E(C,f,le),E(C,p,le),M&&M.m(p,null),m(p,h),te&&te.m(p,null),m(p,_),N&&N.m(p,null),m(p,b),Y&&Y.m(p,null),E(C,k,le),oe&&oe.m(C,le),E(C,v,le),P=!0},p(C,le){if((!P||le[1]&2048)&&B(e,"hidden",!C[42]),!C[51]||C[53]?y?(y.p(C,le),le[1]&5242880&&d(y,1)):(y=Nr(C),y.c(),d(y,1),y.m(n,null)):y&&(fe(),g(y,1,1,()=>{y=null}),de()),(!P||le[0]&8)&&B(n,"hidden",!C[3]),(!P||le[1]&2097152)&&B(n,"fullscreen",C[52]),le[1]&33554432){w=Ft(C[56]);let ke;for(ke=0;ke<w.length;ke+=1){const me=Br(C,w,ke);D[ke]?(D[ke].p(me,le),d(D[ke],1)):(D[ke]=zr(me),D[ke].c(),d(D[ke],1),D[ke].m(s,l))}for(fe(),ke=w.length;ke<D.length;ke+=1)ne(ke);de()}C[36]?I?(I.p(C,le),le[1]&32&&d(I,1)):(I=Dr(C),I.c(),d(I,1),I.m(s,r)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),C[37]?Z?(Z.p(C,le),le[1]&64&&d(Z,1)):(Z=Or(C),Z.c(),d(Z,1),Z.m(s,a)):Z&&(fe(),g(Z,1,1,()=>{Z=null}),de()),C[57]?V?(V.p(C,le),le[1]&67108864&&d(V,1)):(V=Hr(C),V.c(),d(V,1),V.m(s,c)):V&&(fe(),g(V,1,1,()=>{V=null}),de()),C[39]?ee?(ee.p(C,le),le[1]&256&&d(ee,1)):(ee=Fr(C),ee.c(),d(ee,1),ee.m(s,null)):ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()),(!P||le[0]&134217736)&&B(s,"hidden",!C[3]&&!C[27]),(!P||le[1]&2097152)&&B(s,"fullscreen",C[52]),C[8]?M?(M.p(C,le),le[0]&256&&d(M,1)):(M=Ur(C),M.c(),d(M,1),M.m(p,h)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),C[34]?te?(te.p(C,le),le[1]&8&&d(te,1)):(te=qr(C),te.c(),d(te,1),te.m(p,_)):te&&(fe(),g(te,1,1,()=>{te=null}),de()),C[33]?N?(N.p(C,le),le[1]&4&&d(N,1)):(N=Wr(C),N.c(),d(N,1),N.m(p,b)):N&&(fe(),g(N,1,1,()=>{N=null}),de()),C[8]?Y?(Y.p(C,le),le[0]&256&&d(Y,1)):(Y=Zr(C),Y.c(),d(Y,1),Y.m(p,null)):Y&&(fe(),g(Y,1,1,()=>{Y=null}),de()),(!P||le[0]&536870920)&&B(p,"hidden",!C[3]||C[29]),C[95]&&!C[29]?oe?(oe.p(C,le),le[0]&536870912&&d(oe,1)):(oe=jr(C),oe.c(),d(oe,1),oe.m(v.parentNode,v)):oe&&(fe(),g(oe,1,1,()=>{oe=null}),de())},i(C){if(!P){d(y);for(let le=0;le<w.length;le+=1)d(D[le]);d(I),d(Z),d(V),d(ee),d(M),d(te),d(N),d(Y),d(oe),P=!0}},o(C){g(y),D=D.filter(Boolean);for(let le=0;le<D.length;le+=1)g(D[le]);g(I),g(Z),g(V),g(ee),g(M),g(te),g(N),g(Y),g(oe),P=!1},d(C){C&&(S(e),S(i),S(n),S(o),S(s),S(f),S(p),S(k),S(v)),y&&y.d(),vn(D,C),I&&I.d(),Z&&Z.d(),V&&V.d(),ee&&ee.d(),M&&M.d(),te&&te.d(),N&&N.d(),Y&&Y.d(),oe&&oe.d(C)}}}function Nr(t){let e,i,n;function o(l){t[119](l)}let s={muted:t[54],expanded:t[51]&&!t[70]&&t[55],click:t[102]};return t[20].volume!==void 0&&(s.ref=t[20].volume),e=new vu({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&8388608&&(a.muted=l[54]),r[1]&17825792&&(a.expanded=l[51]&&!l[70]&&l[55]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].volume,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function zr(t){let e,i;return e=new gu({props:{iconUrl:t[153],ariaLabel:t[154]??t[157],testId:t[155],onClick:t[156]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[1]&33554432&&(s.iconUrl=n[153]),o[1]&33554432&&(s.ariaLabel=n[154]??n[157]),o[1]&33554432&&(s.testId=n[155]),o[1]&33554432&&(s.onClick=n[156]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Dr(t){let e,i,n;function o(l){t[120](l)}let s={isMobile:!0,click:t[100],state:t[28]};return t[20].chromecast!==void 0&&(s.ref=t[20].chromecast),e=new su({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&268435456&&(a.state=l[28]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].chromecast,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Or(t){let e,i,n;function o(l){t[121](l)}let s={click:t[101],isPictureInPictureActive:t[26]};return t[20].pip!==void 0&&(s.ref=t[20].pip),e=new I3({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&67108864&&(a.isPictureInPictureActive=l[26]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].pip,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Hr(t){let e,i,n;function o(l){t[122](l)}let s={};return t[22]!==void 0&&(s.ref=t[22]),e=new Fl({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&4194304&&(i=!0,a.ref=l[22],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Fr(t){let e,i,n;function o(l){t[123](l)}let s={click:t[64],logoClickable:t[6],videoLogoUrl:t[7]};return t[20].vkLogo!==void 0&&(s.ref=t[20].vkLogo),e=new lu({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.logoClickable=l[6]),r[0]&128&&(a.videoLogoUrl=l[7]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].vkLogo,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Ur(t){let e,i,n;function o(l){t[124](l)}let s={click:t[13],type:"prev",disabled:!t[10],isMobile:!0};return t[20].prevButton!==void 0&&(s.ref=t[20].prevButton),e=new sl({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&8192&&(a.click=l[13]),r[0]&1024&&(a.disabled=!l[10]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].prevButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function qr(t){let e,i,n;function o(l){t[125](l)}let s={disabled:t[48],click:t[63],isMobile:!0,isPlaying:t[31]};return t[20].playButton!==void 0&&(s.ref=t[20].playButton),e=new Wl({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&131072&&(a.disabled=l[48]),r[1]&1&&(a.isPlaying=l[31]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].playButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Wr(t){let e,i,n;function o(l){t[126](l)}let s={disabled:t[47],click:t[103],isMobile:!0};return t[20].replayButton!==void 0&&(s.ref=t[20].replayButton),e=new Zl({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.disabled=l[47]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].replayButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Zr(t){let e,i,n;function o(l){t[127](l)}let s={click:t[12],type:"next",disabled:!t[9],isMobile:!0};return t[20].nextButton!==void 0&&(s.ref=t[20].nextButton),e=new sl({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&4096&&(a.click=l[12]),r[0]&512&&(a.disabled=!l[9]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].nextButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function jr(t){let e,i,n,o,s=t[98]&&M3(t),l=t[96]&&B3(t),r=t[97]&&R3(t);return{c(){s&&s.c(),e=z(),l&&l.c(),i=z(),r&&r.c(),n=lt()},m(a,c){s&&s.m(a,c),E(a,e,c),l&&l.m(a,c),E(a,i,c),r&&r.m(a,c),E(a,n,c),o=!0},p(a,c){a[98]&&s.p(a,c),a[96]&&l.p(a,c),a[97]&&r.p(a,c)},i(a){o||(d(s),d(l),d(r),o=!0)},o(a){g(s),g(l),g(r),o=!1},d(a){a&&(S(e),S(i),S(n)),s&&s.d(a),l&&l.d(a),r&&r.d(a)}}}function M3(t){let e,i,n;return i=new hu({props:{hidden:!t[3],disabled:t[46],click:t[18]}}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),B(e,"fullscreen",t[52]),B(e,"hidden",!t[3])},m(o,s){E(o,e,s),H(i,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.hidden=!o[3]),s[1]&32768&&(l.disabled=o[46]),s[0]&262144&&(l.click=o[18]),i.$set(l),(!n||s[1]&2097152)&&B(e,"fullscreen",o[52]),(!n||s[0]&8)&&B(e,"hidden",!o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),F(i)}}}function B3(t){let e,i,n,o;function s(r){t[128](r)}let l={hidden:!t[3]&&!t[58],disabled:t[50],click:t[17],graphIsOpened:t[58]};return t[20].interactiveGraphButton!==void 0&&(l.ref=t[20].interactiveGraphButton),i=new mu({props:l}),Ce.push(()=>qe(i,"ref",s)),{c(){e=T("div"),U(i.$$.fragment),u(e,"class",Tc(t[98]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),B(e,"fullscreen",t[52]),B(e,"hidden",!t[3]&&!t[58])},m(r,a){E(r,e,a),H(i,e,null),o=!0},p(r,a){const c={};a[0]&8|a[1]&134217728&&(c.hidden=!r[3]&&!r[58]),a[1]&524288&&(c.disabled=r[50]),a[0]&131072&&(c.click=r[17]),a[1]&134217728&&(c.graphIsOpened=r[58]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].interactiveGraphButton,Ue(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&B(e,"fullscreen",r[52]),(!o||a[0]&8|a[1]&134217728)&&B(e,"hidden",!r[3]&&!r[58])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),F(i)}}}function R3(t){let e,i,n,o;function s(r){t[129](r)}let l={hidden:!t[3],disabled:t[49],click:t[16]};return t[20].seekToInteractiveButton!==void 0&&(l.ref=t[20].seekToInteractiveButton),i=new du({props:l}),Ce.push(()=>qe(i,"ref",s)),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),B(e,"fullscreen",t[52]),B(e,"hidden",!t[3])},m(r,a){E(r,e,a),H(i,e,null),o=!0},p(r,a){const c={};a[0]&8&&(c.hidden=!r[3]),a[1]&262144&&(c.disabled=r[49]),a[0]&65536&&(c.click=r[16]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].seekToInteractiveButton,Ue(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&B(e,"fullscreen",r[52]),(!o||a[0]&8)&&B(e,"hidden",!r[3])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),F(i)}}}function Kr(t){let e,i,n,o,s,l=t[53]&&Gr(t),r=t[32]&&Yr(t);return o=new uu({props:{position:t[59],duration:t[60]}}),{c(){l&&l.c(),e=z(),r&&r.c(),i=z(),n=T("div"),U(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),B(n,"fullscreen",t[52])},m(a,c){l&&l.m(a,c),E(a,e,c),r&&r.m(a,c),E(a,i,c),E(a,n,c),H(o,n,null),s=!0},p(a,c){a[53]?l?(l.p(a,c),c[1]&4194304&&d(l,1)):(l=Gr(a),l.c(),d(l,1),l.m(e.parentNode,e)):l&&(fe(),g(l,1,1,()=>{l=null}),de()),a[32]?r?(r.p(a,c),c[1]&2&&d(r,1)):(r=Yr(a),r.c(),d(r,1),r.m(i.parentNode,i)):r&&(fe(),g(r,1,1,()=>{r=null}),de());const f={};c[1]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),o.$set(f),(!s||c[1]&2097152)&&B(n,"fullscreen",a[52])},i(a){s||(d(l),d(r),d(o.$$.fragment,a),s=!0)},o(a){g(l),g(r),g(o.$$.fragment,a),s=!1},d(a){a&&(S(e),S(i),S(n)),l&&l.d(a),r&&r.d(a),F(o)}}}function Gr(t){let e,i,n,o;function s(r){t[130](r)}let l={muted:t[54],expanded:!1,click:t[102]};return t[20].volume!==void 0&&(l.ref=t[20].volume),i=new vu({props:l}),Ce.push(()=>qe(i,"ref",s)),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),B(e,"fullscreen",t[52])},m(r,a){E(r,e,a),H(i,e,null),o=!0},p(r,a){const c={};a[1]&8388608&&(c.muted=r[54]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].volume,Ue(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&B(e,"fullscreen",r[52])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),F(i)}}}function Yr(t){let e,i,n,o;function s(r){t[131](r)}let l={disabled:t[48],click:t[63],isMobile:!0,isPlaying:!t[32]};return t[20].playButton!==void 0&&(l.ref=t[20].playButton),i=new Wl({props:l}),Ce.push(()=>qe(i,"ref",s)),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(r,a){E(r,e,a),H(i,e,null),o=!0},p(r,a){const c={};a[1]&131072&&(c.disabled=r[48]),a[1]&2&&(c.isPlaying=!r[32]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].playButton,Ue(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),F(i)}}}function N3(t){let e,i,n;function o(l){t[132](l)}let s={disabled:t[47],$$slots:{default:[z3]},$$scope:{ctx:t}};return t[20].replayButton!==void 0&&(s.ref=t[20].replayButton),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.disabled=l[47]),r[1]&65536|r[5]&32&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].replayButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function z3(t){let e,i;return e=new Zl({props:{disabled:t[47],click:t[94]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[1]&65536&&(s.disabled=n[47]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Qr(t){let e,i,n;function o(l){t[133](l)}let s={$$slots:{default:[D3]},$$scope:{ctx:t}};return t[20].liveButton!==void 0&&(s.ref=t[20].liveButton),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&524288|r[1]&16384|r[5]&32&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].liveButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function D3(t){let e,i;return e=new ru({props:{isActiveLive:t[19],isMobile:!0,ariaLabel:t[45]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&524288&&(s.isActiveLive=n[19]),o[1]&16384&&(s.ariaLabel=n[45]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Xr(t){let e,i,n;function o(l){t[134](l)}let s={showDuration:t[35],position:t[4]?t[59]:t[61],duration:t[4]?t[60]:t[62],isMobile:!0};return t[20].time!==void 0&&(s.ref=t[20].time),e=new eu({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&16&&(a.showDuration=l[35]),r[0]&16|r[1]&1342177280&&(a.position=l[4]?l[59]:l[61]),r[0]&16|r[1]&536870912|r[2]&1&&(a.duration=l[4]?l[60]:l[62]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].time,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Jr(t){let e,i,n,o;return n=new fu({props:{position:t[61],duration:t[62],timeCodes:t[84]}}),{c(){e=T("div"),e.textContent="\xB7",i=z(),U(n.$$.fragment),u(e,"aria-hidden","true")},m(s,l){E(s,e,l),E(s,i,l),H(n,s,l),o=!0},p(s,l){const r={};l[1]&1073741824&&(r.position=s[61]),l[2]&1&&(r.duration=s[62]),n.$set(r)},i(s){o||(d(n.$$.fragment,s),o=!0)},o(s){g(n.$$.fragment,s),o=!1},d(s){s&&(S(e),S(i)),F(n,s)}}}function O3(t){let e,i,n=t[43]&&Jr(t);return{c(){n&&n.c(),e=lt()},m(o,s){n&&n.m(o,s),E(o,e,s),i=!0},p(o,s){o[43]?n?(n.p(o,s),s[1]&4096&&d(n,1)):(n=Jr(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&S(e),n&&n.d(o)}}}function xr(t){let e,i,n;function o(l){t[137](l)}let s={$$slots:{default:[H3]},$$scope:{ctx:t}};return t[20].settings!==void 0&&(s.ref=t[20].settings),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&4194304|r[5]&32&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].settings,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function H3(t){let e,i,n;function o(l){t[136](l)}let s={};return t[22]!==void 0&&(s.ref=t[22]),e=new Fl({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&4194304&&(i=!0,a.ref=l[22],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function $r(t){let e,i,n;function o(l){t[138](l)}let s={$$slots:{default:[F3]},$$scope:{ctx:t}};return t[20].fullscreen!==void 0&&(s.ref=t[20].fullscreen),e=new Vt({props:s}),Ce.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&16384|r[1]&2097152|r[5]&32&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].fullscreen,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function F3(t){let e,i;return e=new nu({props:{click:t[14],isFullscreen:t[52]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&16384&&(s.click=n[14]),o[1]&2097152&&(s.isFullscreen=n[52]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ea(t){let e,i,n,o;function s(r){t[141](r)}let l={supportLink:t[11],returnFocus:t[15]};return t[21]!==void 0&&(l.ref=t[21]),i=new $1({props:l}),Ce.push(()=>qe(i,"ref",s)),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(r,a){E(r,e,a),H(i,e,null),o=!0},p(r,a){const c={};a[0]&2048&&(c.supportLink=r[11]),a[0]&32768&&(c.returnFocus=r[15]),!n&&a[0]&2097152&&(n=!0,c.ref=r[21],Ue(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),F(i)}}}function U3(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,k,v,P,y=!t[4]&&Rr(t),w=t[4]&&t[30]!==Xt.INACTIVE&&Kr(t),D=t[95]&&N3(t),ne=!t[4]&&t[25]&&Qr(t),I=t[41]&&Xr(t);function Z(N){t[135](N)}let V={className:"w-max",disabled:!t[43],$$slots:{default:[O3]},$$scope:{ctx:t}};t[20].episodes!==void 0&&(V.ref=t[20].episodes),c=new Vt({props:V}),Ce.push(()=>qe(c,"ref",Z));let ee=t[38]&&xr(t),M=t[40]&&$r(t);b=new cu({props:{isAds:t[4],canRewindLive:t[5],isRewindableLive:t[24]}});let te=t[23]&&ea(t);return{c(){y&&y.c(),e=z(),w&&w.c(),i=z(),n=T("div"),o=T("div"),s=T("div"),D&&D.c(),l=z(),ne&&ne.c(),r=z(),I&&I.c(),a=z(),U(c.$$.fragment),p=z(),ee&&ee.c(),h=z(),M&&M.c(),_=z(),U(b.$$.fragment),k=z(),te&&te.c(),v=lt(),u(s,"class","controls v-1tcstu3"),B(s,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),B(o,"fullscreen",t[52]),u(n,"class","wrapper-bottom v-1tcstu3"),B(n,"hidden",t[1]),B(n,"controls-hidden",!t[3]),B(n,"no-smooth",t[2]),B(n,"mobile",!0)},m(N,Y){y&&y.m(N,Y),E(N,e,Y),w&&w.m(N,Y),E(N,i,Y),E(N,n,Y),m(n,o),m(o,s),D&&D.m(s,null),m(s,l),ne&&ne.m(s,null),m(s,r),I&&I.m(s,null),m(s,a),H(c,s,null),m(s,p),ee&&ee.m(s,null),m(s,h),M&&M.m(s,null),t[139](s),m(o,_),H(b,o,null),t[140](n),E(N,k,Y),te&&te.m(N,Y),E(N,v,Y),P=!0},p(N,Y){N[4]?y&&(fe(),g(y,1,1,()=>{y=null}),de()):y?(y.p(N,Y),Y[0]&16&&d(y,1)):(y=Rr(N),y.c(),d(y,1),y.m(e.parentNode,e)),N[4]&&N[30]!==Xt.INACTIVE?w?(w.p(N,Y),Y[0]&1073741840&&d(w,1)):(w=Kr(N),w.c(),d(w,1),w.m(i.parentNode,i)):w&&(fe(),g(w,1,1,()=>{w=null}),de()),N[95]&&D.p(N,Y),!N[4]&&N[25]?ne?(ne.p(N,Y),Y[0]&33554448&&d(ne,1)):(ne=Qr(N),ne.c(),d(ne,1),ne.m(s,r)):ne&&(fe(),g(ne,1,1,()=>{ne=null}),de()),N[41]?I?(I.p(N,Y),Y[1]&1024&&d(I,1)):(I=Xr(N),I.c(),d(I,1),I.m(s,a)):I&&(fe(),g(I,1,1,()=>{I=null}),de());const oe={};Y[1]&4096&&(oe.disabled=!N[43]),Y[1]&1073745920|Y[2]&1|Y[5]&32&&(oe.$$scope={dirty:Y,ctx:N}),!f&&Y[0]&1048576&&(f=!0,oe.ref=N[20].episodes,Ue(()=>f=!1)),c.$set(oe),N[38]?ee?(ee.p(N,Y),Y[1]&128&&d(ee,1)):(ee=xr(N),ee.c(),d(ee,1),ee.m(s,h)):ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()),N[40]?M?(M.p(N,Y),Y[1]&512&&d(M,1)):(M=$r(N),M.c(),d(M,1),M.m(s,null)):M&&(fe(),g(M,1,1,()=>{M=null}),de());const C={};Y[0]&16&&(C.isAds=N[4]),Y[0]&32&&(C.canRewindLive=N[5]),Y[0]&16777216&&(C.isRewindableLive=N[24]),b.$set(C),(!P||Y[1]&2097152)&&B(o,"fullscreen",N[52]),(!P||Y[0]&2)&&B(n,"hidden",N[1]),(!P||Y[0]&8)&&B(n,"controls-hidden",!N[3]),(!P||Y[0]&4)&&B(n,"no-smooth",N[2]),N[23]?te?(te.p(N,Y),Y[0]&8388608&&d(te,1)):(te=ea(N),te.c(),d(te,1),te.m(v.parentNode,v)):te&&(fe(),g(te,1,1,()=>{te=null}),de())},i(N){P||(d(y),d(w),d(D),d(ne),d(I),d(c.$$.fragment,N),d(ee),d(M),d(b.$$.fragment,N),d(te),P=!0)},o(N){g(y),g(w),g(D),g(ne),g(I),g(c.$$.fragment,N),g(ee),g(M),g(b.$$.fragment,N),g(te),P=!1},d(N){N&&(S(e),S(i),S(n),S(k),S(v)),y&&y.d(N),w&&w.d(N),D&&D.d(),ne&&ne.d(),I&&I.d(),F(c),ee&&ee.d(),M&&M.d(),t[139](null),F(b),t[140](null),te&&te.d(N)}}}function q3(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,b,k,v,P,y,w,D,ne,I,Z,V,ee,M,te,N,Y,oe,C,le,ke,me,_e,X,{bottomHidden:ue}=e,{bottomNoSmooth:De}=e,{showControls:re}=e,{controlsElementRef:Le=void 0}=e,{isAds:Te=!1}=e,{canRewindLive:pe}=e,{logoClickable:Ee}=e,{logoHidden:A}=e,{videoLogoUrl:ie}=e,{showNextPrevButtons:Ve}=e,{nextButtonActive:ye}=e,{prevButtonActive:ae}=e,{isOneVideoPlaylist:be=!1}=e,{supportLink:x}=e,{customFullscreenSupported:Q=!0}=e,{playNextVideo:Fe}=e,{playPrevVideo:Je}=e,{repeatPlaylist:Xe}=e,{toggleFullscreen:Ae}=e,{returnFocus:We}=e,{seekToInteractive:xe}=e,{toggleGraph:pt}=e,{playPrevChapter:rt}=e;const Pe=mt(),ht=sn(),at=Pe.actions.internal.toggleMuted,xt=Pe.actions.internal.togglePlay,$t=Pe.actions.internal.pause,Mt=Pe.callbacks?.onAudioDoesNotExistHint,ce=Pe.callbacks?.onAudioDisabledHint,bt=Pe.playerPhase;O(t,bt,G=>i(116,ne=G));const it=Pe.state.duration$;O(t,it,G=>i(62,X=G));const yt=Pe.state.positionWithScrubbing$;O(t,yt,G=>i(61,_e=G));const ft=Pe.state.playbackState$;O(t,ft,G=>i(112,p=G));const dt=Pe.state.isAudioAvailable$;O(t,dt,G=>i(51,h=G));const Tt=Pe.state.isAudioDisabled,Hi=Pe.state.isEnded$;O(t,Hi,G=>i(117,Z=G));const Ut=Pe.state.isLive$;O(t,Ut,G=>i(25,v=G));const Vi=Pe.state.muted$;O(t,Vi,G=>i(54,N=G));const Ki=Pe.state.isActiveLive$;O(t,Ki,G=>i(114,b=G));const ei=Pe.state.isRewindableLive$;O(t,ei,G=>i(24,k=G));const Fi=Pe.ui.scrubbingInProgress;O(t,Fi,G=>i(29,I=G));const Gi=Pe.ui.mobileNotReportControlHidden$;O(t,Gi,G=>i(27,w=G));const qt=Pe.ui.isPictureInPictureActive$;O(t,qt,G=>i(26,y=G));const Wt=Pe.ui.pictureInPictureType$;O(t,Wt,G=>i(115,P=G));const bi=Pe.ui.mobileUnmuteButtonExpanded;O(t,bi,G=>i(55,Y=G));const Et=Pe.ui.mobileUnmuteButtonVisible;O(t,Et,G=>i(53,te=G));const ri=Pe.ui.settingsMenuVisible;O(t,ri,G=>i(23,f=G));const Bt=Pe.ui.settingsMenuOpenedByKeyboard;O(t,Bt,G=>i(111,c=G));const Mi=Pe.ui.controls,_i=Pe.actions.internal.getVideoEpisodes(),Zt=Pe.webApi.pictureInPictureApi,Ct=Pe.state.chromecastState$;O(t,Ct,G=>i(28,D=G));const ti=Pe.state.crashed$;O(t,ti,G=>i(57,C=G));const vi=Mi.disabledControls$;O(t,vi,G=>i(118,ee=G));const wi=Pe.ads.duration;O(t,wi,G=>i(60,me=G));const ii=Pe.ads.position;O(t,ii,G=>i(59,ke=G));const ai=Pe.ads.playbackState;O(t,ai,G=>i(30,V=G));const ni=Pe.ui.isFullscreen;O(t,ni,G=>i(52,M=G));const jt=Pe.ui.playerSize;O(t,jt,G=>i(113,_=G));const Kt=Pe.ui.additionalButtons$;O(t,Kt,G=>i(56,oe=G));const Rt=Pe.actions.internal.getVideoElement,gt=Pe.actions.internal.replayInteractive,wt=Pe.state.isInteractive,ki=Pe.state.isInteractiveGraphEnabled,Bi=Pe.state.isSeekToInteractiveEnable,ui=Pe.state.isPlayPrevChapterEnabled,ci=Pe.state.graphIsOpened$;O(t,ci,G=>i(58,le=G));let Nt,yi,oi,Ci,ut,kt,At,Ui,Pi,Yi,Ri,Ni,fi,zt,qi,Si,di;const Be={},Wi=il(_u,p1,{leading:!1}),zi=()=>Pe.actions.internal.toggleChromecast();function mi(){Tt?ce?.():h?at():Mt?.()}async function Zi(){Zt?.isActive()?await Zt?.remove():await Zt?.request()}function Ti(){!Tt&&h&&Et.set(!1),mi()}const pi=be?xt:Xe;let Oe="";const Ei=(G,wn)=>{if(!G){i(45,Oe=K("tooltip_live"));return}wn===Ht.PAUSED&&i(45,Oe=K("tooltip_play"))};let Dt,Gt;function Ai(G){t.$$.not_equal(Be.volume,G)&&(Be.volume=G,i(20,Be))}function ji(G){t.$$.not_equal(Be.chromecast,G)&&(Be.chromecast=G,i(20,Be))}function Li(G){t.$$.not_equal(Be.pip,G)&&(Be.pip=G,i(20,Be))}function rn(G){Gt=G,i(22,Gt)}function Qi(G){t.$$.not_equal(Be.vkLogo,G)&&(Be.vkLogo=G,i(20,Be))}function Ii(G){t.$$.not_equal(Be.prevButton,G)&&(Be.prevButton=G,i(20,Be))}function $i(G){t.$$.not_equal(Be.playButton,G)&&(Be.playButton=G,i(20,Be))}function en(G){t.$$.not_equal(Be.replayButton,G)&&(Be.replayButton=G,i(20,Be))}function tn(G){t.$$.not_equal(Be.nextButton,G)&&(Be.nextButton=G,i(20,Be))}function Di(G){t.$$.not_equal(Be.interactiveGraphButton,G)&&(Be.interactiveGraphButton=G,i(20,Be))}function Oi(G){t.$$.not_equal(Be.seekToInteractiveButton,G)&&(Be.seekToInteractiveButton=G,i(20,Be))}function hi(G){t.$$.not_equal(Be.volume,G)&&(Be.volume=G,i(20,Be))}function $(G){t.$$.not_equal(Be.playButton,G)&&(Be.playButton=G,i(20,Be))}function $e(G){t.$$.not_equal(Be.replayButton,G)&&(Be.replayButton=G,i(20,Be))}function li(G){t.$$.not_equal(Be.liveButton,G)&&(Be.liveButton=G,i(20,Be))}function Xi(G){t.$$.not_equal(Be.time,G)&&(Be.time=G,i(20,Be))}function _t(G){t.$$.not_equal(Be.episodes,G)&&(Be.episodes=G,i(20,Be))}function an(G){Gt=G,i(22,Gt)}function dn(G){t.$$.not_equal(Be.settings,G)&&(Be.settings=G,i(20,Be))}function nn(G){t.$$.not_equal(Be.fullscreen,G)&&(Be.fullscreen=G,i(20,Be))}function mn(G){Ce[G?"unshift":"push"](()=>{Si=G,i(44,Si)})}function on(G){Ce[G?"unshift":"push"](()=>{Le=G,i(0,Le)})}function J(G){Dt=G,i(21,Dt)}return t.$$set=G=>{"bottomHidden"in G&&i(1,ue=G.bottomHidden),"bottomNoSmooth"in G&&i(2,De=G.bottomNoSmooth),"showControls"in G&&i(3,re=G.showControls),"controlsElementRef"in G&&i(0,Le=G.controlsElementRef),"isAds"in G&&i(4,Te=G.isAds),"canRewindLive"in G&&i(5,pe=G.canRewindLive),"logoClickable"in G&&i(6,Ee=G.logoClickable),"logoHidden"in G&&i(104,A=G.logoHidden),"videoLogoUrl"in G&&i(7,ie=G.videoLogoUrl),"showNextPrevButtons"in G&&i(8,Ve=G.showNextPrevButtons),"nextButtonActive"in G&&i(9,ye=G.nextButtonActive),"prevButtonActive"in G&&i(10,ae=G.prevButtonActive),"isOneVideoPlaylist"in G&&i(105,be=G.isOneVideoPlaylist),"supportLink"in G&&i(11,x=G.supportLink),"customFullscreenSupported"in G&&i(106,Q=G.customFullscreenSupported),"playNextVideo"in G&&i(12,Fe=G.playNextVideo),"playPrevVideo"in G&&i(13,Je=G.playPrevVideo),"repeatPlaylist"in G&&i(107,Xe=G.repeatPlaylist),"toggleFullscreen"in G&&i(14,Ae=G.toggleFullscreen),"returnFocus"in G&&i(15,We=G.returnFocus),"seekToInteractive"in G&&i(16,xe=G.seekToInteractive),"toggleGraph"in G&&i(17,pt=G.toggleGraph),"playPrevChapter"in G&&i(18,rt=G.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[3]&33554432&&i(110,n=ee.has(nt.EPISODE_BUTTON)),t.$$.dirty[3]&33554432&&i(50,o=ee.has(nt.GRAPH_BUTTON)),t.$$.dirty[3]&33554432&&i(49,s=ee.has(nt.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[3]&33554432&&i(48,l=ee.has(nt.PLAY_BUTTON)),t.$$.dirty[3]&33554432&&i(47,r=ee.has(nt.REPLAY_BUTTON)),t.$$.dirty[3]&33554432&&i(46,a=ee.has(nt.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[3]&524288&&i(31,Nt=p===Ht.PLAYING),t.$$.dirty[0]&1073741824&&i(32,yi=V===Xt.PAUSED),t.$$.dirty[0]&16|t.$$.dirty[3]&16777216&&i(33,oi=Z&&!Te&&!wt),t.$$.dirty[0]&16|t.$$.dirty[3]&16777216&&i(34,Ci=!Z||Te),t.$$.dirty[3]&1048576&&i(108,ut=_.width>300),t.$$.dirty[3]&1048576&&i(35,kt=_.width>400),t.$$.dirty[0]&536870912&&i(109,At=I),t.$$.dirty[0]&469762048|t.$$.dirty[3]&4194304&&i(36,Ui=D!==yn.NOT_AVAILABLE&&!(y&&P===Ln.DocumentPictureInPicture)&&!w&&!wt),t.$$.dirty[0]&402653184|t.$$.dirty[3]&12648448){const G=ne===Re.WaitingLive;i(37,Pi=!!Zt&&D!==yn.CONNECTED&&!w&&(P===Ln.DocumentPictureInPicture&&G||!G)&&!At&&!wt)}t.$$.dirty[3]&65536&&i(38,Yi=!At),t.$$.dirty[3]&1050624&&i(39,Ri=!A&&_.width>350),t.$$.dirty[0]&67108864|t.$$.dirty[3]&4268032&&i(40,Ni=ht.features.fullscreen&&!(y&&P===Ln.DocumentPictureInPicture)&&(wt?Q:!0)&&!At),t.$$.dirty[0]&33554448|t.$$.dirty[3]&1114112&&i(41,fi=(!v||Te)&&_.width>260&&!At&&!(ht.features.interactiveHideTime&&wt)),t.$$.dirty[0]&8388616&&i(42,zt=f||re),t.$$.dirty[0]&33554448|t.$$.dirty[3]&229376&&i(43,qi=!Te&&!v&&!!_i?.length&&ut&&!n&&!At),t.$$.dirty[0]&16777216|t.$$.dirty[3]&2097152&&i(19,di=!k||b),t.$$.dirty[0]&1048584|t.$$.dirty[3]&1048576&&Wi(Rt(),Mi,Be,re),t.$$.dirty[0]&524288|t.$$.dirty[3]&524288&&Ei(di,p),t.$$.dirty[0]&12582912&&zl(Gt,f,Bt),t.$$.dirty[0]&10485760|t.$$.dirty[3]&262144&&Dl(Dt,f,c)},[Le,ue,De,re,Te,pe,Ee,ie,Ve,ye,ae,x,Fe,Je,Ae,We,xe,pt,rt,di,Be,Dt,Gt,f,k,v,y,w,D,I,V,Nt,yi,oi,Ci,kt,Ui,Pi,Yi,Ri,Ni,fi,zt,qi,Si,Oe,a,r,l,s,o,h,M,te,N,Y,oe,C,le,ke,me,_e,X,xt,$t,bt,it,yt,ft,dt,Tt,Hi,Ut,Vi,Ki,ei,Fi,Gi,qt,Wt,bi,Et,ri,Bt,_i,Ct,ti,vi,wi,ii,ai,ni,jt,Kt,gt,wt,ki,Bi,ui,ci,zi,Zi,Ti,pi,A,be,Q,Xe,ut,At,n,c,p,_,b,P,ne,Z,ee,Ai,ji,Li,rn,Qi,Ii,$i,en,tn,Di,Oi,hi,$,$e,li,Xi,_t,an,dn,nn,mn,on,J]}class W3 extends we{constructor(e){super(),ve(this,e,q3,U3,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:104,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:105,supportLink:11,customFullscreenSupported:106,playNextVideo:12,playPrevVideo:13,repeatPlaylist:107,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18},V3,[-1,-1,-1,-1,-1,-1])}}function Z3(t){let e,i,n;function o(l){t[26](l)}let s={bottomHidden:t[1],bottomNoSmooth:t[2],showControls:t[3],isAds:t[4],canRewindLive:t[5],logoClickable:t[6],logoHidden:t[7],videoLogoUrl:t[8],showNextPrevButtons:t[9],nextButtonActive:t[10],prevButtonActive:t[11],isOneVideoPlaylist:t[12],supportLink:t[13],customFullscreenSupported:t[14],playNextVideo:t[15],playPrevVideo:t[16],repeatPlaylist:t[17],toggleFullscreen:t[18],returnFocus:t[19],seekToInteractive:t[20],toggleGraph:t[21],playPrevChapter:t[22]};return t[0]!==void 0&&(s.controlsElementRef=t[0]),e=new b3({props:s}),Ce.push(()=>qe(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!i&&r&1&&(i=!0,a.controlsElementRef=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function j3(t){let e,i,n;function o(l){t[25](l)}let s={bottomHidden:t[1],bottomNoSmooth:t[2],showControls:t[3],isAds:t[4],canRewindLive:t[5],logoClickable:t[6],logoHidden:t[7],videoLogoUrl:t[8],showNextPrevButtons:t[9],nextButtonActive:t[10],prevButtonActive:t[11],isOneVideoPlaylist:t[12],supportLink:t[13],customFullscreenSupported:t[14],playNextVideo:t[15],playPrevVideo:t[16],repeatPlaylist:t[17],toggleFullscreen:t[18],returnFocus:t[19],seekToInteractive:t[20],toggleGraph:t[21],playPrevChapter:t[22]};return t[0]!==void 0&&(s.controlsElementRef=t[0]),e=new W3({props:s}),Ce.push(()=>qe(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!i&&r&1&&(i=!0,a.controlsElementRef=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function K3(t){let e,i,n,o;const s=[j3,Z3],l=[];function r(a,c){return a[23]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function G3(t,e,i){let n,{bottomHidden:o}=e,{bottomNoSmooth:s=!1}=e,{showControls:l}=e,{controlsElementRef:r=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:p}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:_}=e,{nextButtonActive:b}=e,{prevButtonActive:k}=e,{isOneVideoPlaylist:v=!1}=e,{supportLink:P}=e,{customFullscreenSupported:y=!0}=e,{playNextVideo:w}=e,{playPrevVideo:D}=e,{repeatPlaylist:ne}=e,{toggleFullscreen:I}=e,{returnFocus:Z=Ge}=e,{seekToInteractive:V}=e,{toggleGraph:ee}=e,{playPrevChapter:M}=e;const N=mt().ui.isMobile;O(t,N,C=>i(23,n=C));function Y(C){r=C,i(0,r)}function oe(C){r=C,i(0,r)}return t.$$set=C=>{"bottomHidden"in C&&i(1,o=C.bottomHidden),"bottomNoSmooth"in C&&i(2,s=C.bottomNoSmooth),"showControls"in C&&i(3,l=C.showControls),"controlsElementRef"in C&&i(0,r=C.controlsElementRef),"isAds"in C&&i(4,a=C.isAds),"canRewindLive"in C&&i(5,c=C.canRewindLive),"logoClickable"in C&&i(6,f=C.logoClickable),"logoHidden"in C&&i(7,p=C.logoHidden),"videoLogoUrl"in C&&i(8,h=C.videoLogoUrl),"showNextPrevButtons"in C&&i(9,_=C.showNextPrevButtons),"nextButtonActive"in C&&i(10,b=C.nextButtonActive),"prevButtonActive"in C&&i(11,k=C.prevButtonActive),"isOneVideoPlaylist"in C&&i(12,v=C.isOneVideoPlaylist),"supportLink"in C&&i(13,P=C.supportLink),"customFullscreenSupported"in C&&i(14,y=C.customFullscreenSupported),"playNextVideo"in C&&i(15,w=C.playNextVideo),"playPrevVideo"in C&&i(16,D=C.playPrevVideo),"repeatPlaylist"in C&&i(17,ne=C.repeatPlaylist),"toggleFullscreen"in C&&i(18,I=C.toggleFullscreen),"returnFocus"in C&&i(19,Z=C.returnFocus),"seekToInteractive"in C&&i(20,V=C.seekToInteractive),"toggleGraph"in C&&i(21,ee=C.toggleGraph),"playPrevChapter"in C&&i(22,M=C.playPrevChapter)},[r,o,s,l,a,c,f,p,h,_,b,k,v,P,y,w,D,ne,I,Z,V,ee,M,n,N,Y,oe]}class wu extends we{constructor(e){super(),ve(this,e,G3,K3,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:7,videoLogoUrl:8,showNextPrevButtons:9,nextButtonActive:10,prevButtonActive:11,isOneVideoPlaylist:12,supportLink:13,customFullscreenSupported:14,playNextVideo:15,playPrevVideo:16,repeatPlaylist:17,toggleFullscreen:18,returnFocus:19,seekToInteractive:20,toggleGraph:21,playPrevChapter:22})}}function Y3(t){He(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Q3(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),p=R("feColorMatrix"),h=R("feBlend"),_=R("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_100684"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_100684"),u(_,"result","shape"),u(l,"id","a"),u(l,"x","2.5"),u(l,"y","0"),u(l,"width","43.996"),u(l,"height","49.5"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),B(e,"reversed",t[0])},m(b,k){E(b,e,k),m(e,i),m(i,n),m(i,o),m(e,s),m(s,l),m(l,r),m(l,a),m(l,c),m(l,f),m(l,p),m(l,h),m(l,_)},p(b,[k]){k&1&&B(e,"reversed",b[0])},i:W,o:W,d(b){b&&S(e)}}}function X3(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class J3 extends we{constructor(e){super(),ve(this,e,X3,Q3,ge,{reversed:0},Y3)}}function x3(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,k;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("clipPath"),r=R("path"),a=R("filter"),c=R("feFlood"),f=R("feColorMatrix"),p=R("feOffset"),h=R("feGaussianBlur"),_=R("feColorMatrix"),b=R("feBlend"),k=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(o,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(r,"fill","#fff"),u(r,"d","M0 0h48v48H0z"),u(l,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(h,"stdDeviation","2.5"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(b,"in2","BackgroundImageFix"),u(b,"result","effect1_dropShadow_2260_104204"),u(k,"in","SourceGraphic"),u(k,"in2","effect1_dropShadow_2260_104204"),u(k,"result","shape"),u(a,"id","b"),u(a,"x","-1.5"),u(a,"y","1.5"),u(a,"width","51"),u(a,"height","45"),u(a,"filterUnits","userSpaceOnUse"),u(a,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(v,P){E(v,e,P),m(e,i),m(i,n),m(i,o),m(e,s),m(s,l),m(l,r),m(s,a),m(a,c),m(a,f),m(a,p),m(a,h),m(a,_),m(a,b),m(a,k)},d(v){v&&S(e)}}}function $3(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,k,v;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),l=R("defs"),r=R("clipPath"),a=R("path"),c=R("filter"),f=R("feFlood"),p=R("feColorMatrix"),h=R("feOffset"),_=R("feGaussianBlur"),b=R("feColorMatrix"),k=R("feBlend"),v=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(o,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(o,"fill","#fff"),u(s,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(r,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(p,"in","SourceAlpha"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(p,"result","hardAlpha"),u(_,"stdDeviation","2.5"),u(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(k,"in2","BackgroundImageFix"),u(k,"result","effect1_dropShadow_2260_104293"),u(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_104293"),u(v,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(P,y){E(P,e,y),m(e,i),m(i,n),m(i,o),m(i,s),m(e,l),m(l,r),m(r,a),m(l,c),m(c,f),m(c,p),m(c,h),m(c,_),m(c,b),m(c,k),m(c,v)},d(P){P&&S(e)}}}function ep(t){let e;function i(s,l){return s[0]?$3:x3}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n!==(n=i(s))&&(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(s){s&&S(e),o.d(s)}}}function tp(t,e,i){let{isOff:n=!1}=e;return t.$$set=o=>{"isOff"in o&&i(0,n=o.isOff)},[n]}class ku extends we{constructor(e){super(),ve(this,e,tp,ep,ge,{isOff:0})}}function ip(t){He(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function np(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),p=R("feColorMatrix"),h=R("feBlend"),_=R("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_106627"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_106627"),u(_,"result","shape"),u(l,"id","a"),u(l,"x","3.402"),u(l,"y","10.105"),u(l,"width","40.098"),u(l,"height","27.785"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),B(e,"reversed",t[0])},m(b,k){E(b,e,k),m(e,i),m(i,n),m(i,o),m(e,s),m(s,l),m(l,r),m(l,a),m(l,c),m(l,f),m(l,p),m(l,h),m(l,_)},p(b,[k]){k&1&&B(e,"reversed",b[0])},i:W,o:W,d(b){b&&S(e)}}}function op(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class lp extends we{constructor(e){super(),ve(this,e,op,np,ge,{reversed:0},ip)}}function sp(t){He(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function rp(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),p=R("feColorMatrix"),h=R("feBlend"),_=R("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2340_106922"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2340_106922"),u(_,"result","shape"),u(l,"id","a"),u(l,"x","5.5"),u(l,"y","5.5"),u(l,"width","37"),u(l,"height","37"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),B(e,"reversed",t[0])},m(b,k){E(b,e,k),m(e,i),m(i,n),m(i,o),m(e,s),m(s,l),m(l,r),m(l,a),m(l,c),m(l,f),m(l,p),m(l,h),m(l,_)},p(b,[k]){k&1&&B(e,"reversed",b[0])},i:W,o:W,d(b){b&&S(e)}}}function ap(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class up extends we{constructor(e){super(),ve(this,e,ap,rp,ge,{reversed:0},sp)}}function cp(t){He(t,"v-4ftgwp",`.hot-key-helpers-container.v-4ftgwp.v-4ftgwp{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-4ftgwp-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-4ftgwp>div.v-4ftgwp{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-4ftgwp svg[data-testid="replay-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="play-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-4ftgwp.v-4ftgwp{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-4ftgwp.v-4ftgwp{left:calc(75% - 100px)}.hot-key-helpers-text.v-4ftgwp.v-4ftgwp{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-4ftgwp.v-4ftgwp{visibility:hidden;animation:v-4ftgwp-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-4ftgwp-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-4ftgwp-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function ta(t){let e,i=[Ke.BACKWARD_SEEK,Ke.FORWARD_SEEK].includes(t[4]),n,o,s,l,r,a,c=[Ke.RATE_DOWN,Ke.RATE_UP].includes(t[4]),f,p=[Ke.EPISODE_PREV,Ke.EPISODE_NEXT].includes(t[4]),h,_,b,k,v,P=i&&ia(t),y=t[4]===Ke.PAUSE&&na(),w=t[4]===Ke.PLAY&&oa(),D=t[4]===Ke.REPLAY&&la(),ne=t[4]===Ke.SUBTITLES_OFF&&sa(),I=t[4]===Ke.SUBTITLES_ON&&ra(),Z=c&&aa(t),V=p&&ua(t),ee=t[4]===Ke.MUTE&&ca(),M=t[4]===Ke.VOLUME&&fa(),te=t[5]&&da(t);return{c(){e=T("div"),P&&P.c(),n=z(),y&&y.c(),o=z(),w&&w.c(),s=z(),D&&D.c(),l=z(),ne&&ne.c(),r=z(),I&&I.c(),a=z(),Z&&Z.c(),f=z(),V&&V.c(),h=z(),ee&&ee.c(),_=z(),M&&M.c(),b=z(),te&&te.c(),k=lt(),u(e,"class","v-4ftgwp")},m(N,Y){E(N,e,Y),P&&P.m(e,null),m(e,n),y&&y.m(e,null),m(e,o),w&&w.m(e,null),m(e,s),D&&D.m(e,null),m(e,l),ne&&ne.m(e,null),m(e,r),I&&I.m(e,null),m(e,a),Z&&Z.m(e,null),m(e,f),V&&V.m(e,null),m(e,h),ee&&ee.m(e,null),m(e,_),M&&M.m(e,null),E(N,b,Y),te&&te.m(N,Y),E(N,k,Y),v=!0},p(N,Y){Y&16&&(i=[Ke.BACKWARD_SEEK,Ke.FORWARD_SEEK].includes(N[4])),i?P?(P.p(N,Y),Y&16&&d(P,1)):(P=ia(N),P.c(),d(P,1),P.m(e,n)):P&&(fe(),g(P,1,1,()=>{P=null}),de()),N[4]===Ke.PAUSE?y?Y&16&&d(y,1):(y=na(),y.c(),d(y,1),y.m(e,o)):y&&(fe(),g(y,1,1,()=>{y=null}),de()),N[4]===Ke.PLAY?w?Y&16&&d(w,1):(w=oa(),w.c(),d(w,1),w.m(e,s)):w&&(fe(),g(w,1,1,()=>{w=null}),de()),N[4]===Ke.REPLAY?D?Y&16&&d(D,1):(D=la(),D.c(),d(D,1),D.m(e,l)):D&&(fe(),g(D,1,1,()=>{D=null}),de()),N[4]===Ke.SUBTITLES_OFF?ne?Y&16&&d(ne,1):(ne=sa(),ne.c(),d(ne,1),ne.m(e,r)):ne&&(fe(),g(ne,1,1,()=>{ne=null}),de()),N[4]===Ke.SUBTITLES_ON?I?Y&16&&d(I,1):(I=ra(),I.c(),d(I,1),I.m(e,a)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),Y&16&&(c=[Ke.RATE_DOWN,Ke.RATE_UP].includes(N[4])),c?Z?(Z.p(N,Y),Y&16&&d(Z,1)):(Z=aa(N),Z.c(),d(Z,1),Z.m(e,f)):Z&&(fe(),g(Z,1,1,()=>{Z=null}),de()),Y&16&&(p=[Ke.EPISODE_PREV,Ke.EPISODE_NEXT].includes(N[4])),p?V?(V.p(N,Y),Y&16&&d(V,1)):(V=ua(N),V.c(),d(V,1),V.m(e,h)):V&&(fe(),g(V,1,1,()=>{V=null}),de()),N[4]===Ke.MUTE?ee?Y&16&&d(ee,1):(ee=ca(),ee.c(),d(ee,1),ee.m(e,_)):ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()),N[4]===Ke.VOLUME?M?Y&16&&d(M,1):(M=fa(),M.c(),d(M,1),M.m(e,null)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),N[5]?te?te.p(N,Y):(te=da(N),te.c(),te.m(k.parentNode,k)):te&&(te.d(1),te=null)},i(N){v||(d(P),d(y),d(w),d(D),d(ne),d(I),d(Z),d(V),d(ee),d(M),v=!0)},o(N){g(P),g(y),g(w),g(D),g(ne),g(I),g(Z),g(V),g(ee),g(M),v=!1},d(N){N&&(S(e),S(b),S(k)),P&&P.d(),y&&y.d(),w&&w.d(),D&&D.d(),ne&&ne.d(),I&&I.d(),Z&&Z.d(),V&&V.d(),ee&&ee.d(),M&&M.d(),te&&te.d(N)}}}function ia(t){let e,i;return e=new J3({props:{reversed:t[4]===Ke.FORWARD_SEEK}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===Ke.FORWARD_SEEK),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function na(t){let e,i;return e=new ou({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function oa(t){let e,i;return e=new ql({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function la(t){let e,i;return e=new pu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function sa(t){let e,i;return e=new ku({props:{isOff:!0}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ra(t){let e,i;return e=new ku({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function aa(t){let e,i;return e=new lp({props:{reversed:t[4]===Ke.RATE_UP}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===Ke.RATE_UP),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ua(t){let e,i;return e=new up({props:{reversed:t[4]===Ke.EPISODE_NEXT}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===Ke.EPISODE_NEXT),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ca(t){let e,i;return e=new ll({props:{volume:0}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function fa(t){let e,i;return e=new ll({props:{volume:1}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function da(t){let e,i;return{c(){e=T("span"),i=ze(t[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,o){E(n,e,o),m(e,i)},p(n,o){o&32&&Qe(i,n[5])},d(n){n&&S(e)}}}function fp(t){let e,i,n=!t[1]&&t[4]&&ta(t);return{c(){e=T("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),B(e,"hidden",t[1]),B(e,"hot-key-helpers-container--left",t[2]),B(e,"hot-key-helpers-container--right",t[3])},m(o,s){E(o,e,s),n&&n.m(e,null),i=!0},p(o,[s]){!o[1]&&o[4]?n?(n.p(o,s),s&18&&d(n,1)):(n=ta(o),n.c(),d(n,1),n.m(e,null)):n&&(fe(),g(n,1,1,()=>{n=null}),de()),(!i||s&2)&&B(e,"hidden",o[1]),(!i||s&4)&&B(e,"hot-key-helpers-container--left",o[2]),(!i||s&8)&&B(e,"hot-key-helpers-container--right",o[3])},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&S(e),n&&n.d()}}}function dp(t,e,i){let n,o=W,s=()=>(o(),o=Qt(l,h=>i(6,n=h)),l);t.$$.on_destroy.push(()=>o());let{data:l}=e;s();let r,a,c,f,p;return t.$$set=h=>{"data"in h&&s(i(0,l=h.data))},t.$$.update=()=>{t.$$.dirty&64&&(i(1,r=!n),i(2,a=n?.type===Ke.BACKWARD_SEEK),i(3,c=n?.type===Ke.FORWARD_SEEK),i(4,f=n?.type),n?.t?i(5,p=K(n.t.key,{value:n.t.value||""})):i(5,p=n?.text))},[l,r,a,c,f,p,n]}class mp extends we{constructor(e){super(),ve(this,e,dp,fp,ge,{data:0},cp)}}function pp(t){He(t,"v-1yzc86r",".immersive-controls.v-1yzc86r{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn)}.immersive-controls.m-shifted.v-1yzc86r{top:50px;left:20px}.button-block.v-1yzc86r{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-1yzc86r{display:flex;flex-direction:row;position:relative}.button.v-1yzc86r{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-1yzc86r svg{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-1yzc86r svg{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-1yzc86r svg{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-1yzc86r svg{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-1yzc86r svg{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-1yzc86r:hover svg{opacity:1}")}function hp(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,k,v,P,y;return s=new Fn({props:{direction:"up"}}),a=new Fn({props:{direction:"up"}}),h=new Fn({props:{direction:"up"}}),k=new Fn({props:{direction:"up"}}),{c(){e=T("div"),i=T("div"),n=T("div"),o=T("div"),U(s.$$.fragment),l=z(),r=T("div"),U(a.$$.fragment),c=z(),f=T("div"),p=T("div"),U(h.$$.fragment),_=z(),b=T("div"),U(k.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(r,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(p,"class","button button-left v-1yzc86r"),u(b,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(i,"class","button-block v-1yzc86r"),u(i,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",K("aria_label_spherical_control")),B(e,"m-shifted",t[0])},m(w,D){E(w,e,D),m(e,i),m(i,n),m(n,o),H(s,o,null),m(n,l),m(n,r),H(a,r,null),m(i,c),m(i,f),m(f,p),H(h,p,null),m(f,_),m(f,b),H(k,b,null),v=!0,P||(y=[he(o,"mousedown",t[1]),he(o,"mouseup",t[5]),he(o,"mouseleave",t[5]),he(r,"mousedown",t[3]),he(r,"mouseup",t[5]),he(r,"mouseleave",t[5]),he(p,"mousedown",t[4]),he(p,"mouseup",t[5]),he(p,"mouseleave",t[5]),he(b,"mousedown",t[2]),he(b,"mouseup",t[5]),he(b,"mouseleave",t[5]),he(e,"keydown",t[6]),he(e,"keyup",t[7])],P=!0)},p(w,[D]){(!v||D&1)&&B(e,"m-shifted",w[0])},i(w){v||(d(s.$$.fragment,w),d(a.$$.fragment,w),d(h.$$.fragment,w),d(k.$$.fragment,w),v=!0)},o(w){g(s.$$.fragment,w),g(a.$$.fragment,w),g(h.$$.fragment,w),g(k.$$.fragment,w),v=!1},d(w){w&&S(e),F(s),F(a),F(h),F(k),P=!1,et(y)}}}function gp(t,e,i){let{isShifted:n=!1}=e;const o=mt(),s=new Set([Ie.ArrowUp,Ie.ArrowDown,Ie.ArrowLeft,Ie.ArrowRight]),l=()=>{o.actions.internal.startCameraManualRotation(0,1)},r=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),p=_=>{if(s.has(_.code))switch(_.preventDefault(),_.stopPropagation(),_.code){case Ie.ArrowUp:l();break;case Ie.ArrowDown:r();break;case Ie.ArrowLeft:c();break;case Ie.ArrowRight:a();break}},h=_=>{s.has(_.code)&&(_.preventDefault(),_.stopPropagation(),f())};return t.$$set=_=>{"isShifted"in _&&i(0,n=_.isShifted)},[n,l,r,a,c,f,p,h]}class yu extends we{constructor(e){super(),ve(this,e,gp,hp,ge,{isShifted:0},pp)}}function bp(t){He(t,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function ma(t,e,i){const n=t.slice();return n[16]=e[i].value,n}function pa(t,e,i){const n=t.slice();return n[16]=e[i].value,n[17]=e[i].timeAppeared,n}function ha(t){let e,i;function n(l,r){return l[7]&&l[8]?wp:l[5]?vp:_p}let o=n(t),s=o(t);return{c(){e=T("div"),i=T("span"),s.c(),u(i,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),B(e,"mobile",t[3])},m(l,r){E(l,e,r),m(e,i),s.m(i,null)},p(l,r){o===(o=n(l))&&s?s.p(l,r):(s.d(1),s=o(l),s&&(s.c(),s.m(i,null))),r&8&&B(e,"mobile",l[3])},d(l){l&&S(e),s.d()}}}function _p(t){let e,i=Ft(t[1]),n=[];for(let o=0;o<i.length;o+=1)n[o]=ga(ma(t,i,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=lt()},m(o,s){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(o,s);E(o,e,s)},p(o,s){if(s&18){i=Ft(o[1]);let l;for(l=0;l<i.length;l+=1){const r=ma(o,i,l);n[l]?n[l].p(r,s):(n[l]=ga(r),n[l].c(),n[l].m(e.parentNode,e))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},d(o){o&&S(e),vn(n,o)}}}function vp(t){let e,i,n=Ft(t[6]),o=[];for(let s=0;s<n.length;s+=1)o[s]=_a(pa(t,n,s));return{c(){e=T("span"),i=T("span");for(let s=0;s<o.length;s+=1)o[s].c();u(i,"class","caption-segment v-ovfyp5"),St(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,l){E(s,e,l),m(e,i);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,null)},p(s,l){if(l&68){n=Ft(s[6]);let r;for(r=0;r<n.length;r+=1){const a=pa(s,n,r);o[r]?o[r].p(a,l):(o[r]=_a(a),o[r].c(),o[r].m(i,null))}for(;r<o.length;r+=1)o[r].d(1);o.length=n.length}l&16&&St(i,"font-size",s[4]+"px")},d(s){s&&S(e),vn(o,s)}}}function wp(t){let e,i,n=K("subtitles_auto_caption")+"",o;return{c(){e=T("span"),i=T("span"),o=ze(n),u(i,"class","caption-segment v-ovfyp5"),St(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,l){E(s,e,l),m(e,i),m(i,o)},p(s,l){l&16&&St(i,"font-size",s[4]+"px")},d(s){s&&S(e)}}}function ga(t){let e,i,n=t[16]+"",o,s;return{c(){e=T("span"),i=T("span"),o=ze(n),s=z(),u(i,"class","caption-segment v-ovfyp5"),St(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,r){E(l,e,r),m(e,i),m(i,o),m(e,s)},p(l,r){r&2&&n!==(n=l[16]+"")&&Qe(o,n),r&16&&St(i,"font-size",l[4]+"px")},d(l){l&&S(e)}}}function ba(t){let e=t[16]+"",i;return{c(){i=ze(e)},m(n,o){E(n,i,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&Qe(i,e)},d(n){n&&S(i)}}}function _a(t){let e,i=(!t[17]||t[17]<=t[2])&&ba(t);return{c(){i&&i.c(),e=lt()},m(n,o){i&&i.m(n,o),E(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?i?i.p(n,o):(i=ba(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(n){n&&S(e),i&&i.d(n)}}}function kp(t){let e,i=t[1].length>0&&ha(t);return{c(){e=T("div"),i&&i.c(),u(e,"class","subtitles-container v-ovfyp5"),B(e,"shifted",t[0]),B(e,"auto",t[5]&&!t[8])},m(n,o){E(n,e,o),i&&i.m(e,null)},p(n,[o]){n[1].length>0?i?i.p(n,o):(i=ha(n),i.c(),i.m(e,null)):i&&(i.d(1),i=null),o&1&&B(e,"shifted",n[0]),o&288&&B(e,"auto",n[5]&&!n[8])},i:W,o:W,d(n){n&&S(e),i&&i.d()}}}function yp(t,e,i){let n,o,{shifted:s}=e,{captions:l}=e,{position:r}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=mt(),p=sn(),h=f.state.currentSubtitle$;O(t,h,w=>i(12,n=w));const _=f.state.isAutoSubtitleCaptionVisible$;O(t,_,w=>i(8,o=w));let b,k,v,P,y;return ln(()=>{y=window.setTimeout(()=>{_.set(!1)},p.autoSubtitlesTimeout)}),nl(()=>{window.clearTimeout(y)}),t.$$set=w=>{"shifted"in w&&i(0,s=w.shifted),"captions"in w&&i(1,l=w.captions),"position"in w&&i(2,r=w.position),"playerSize"in w&&i(11,a=w.playerSize),"isMobile"in w&&i(3,c=w.isMobile)},t.$$.update=()=>{if(t.$$.dirty&2048){const w=a.width*.02;i(4,b=w<=p.minSubtitlesFontSize?p.minSubtitlesFontSize:w)}t.$$.dirty&2&&i(5,k=l.some(w=>w.type==="timestamp")),t.$$.dirty&2&&i(6,v=l.reduce((w,{type:D,value:ne})=>(D==="timestamp"?w.push({timeAppeared:Number(ne),value:""}):w.length===0?w.push({value:String(ne)}):w[w.length-1].value=String(ne),w),[])),t.$$.dirty&4096&&i(7,P=!!n.isAuto)},[s,l,r,c,b,k,v,P,o,h,_,a,n]}class Cu extends we{constructor(e){super(),ve(this,e,yp,kp,ge,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},bp)}}function Cp(t){He(t,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function va(t){let e,i,n;return{c(){e=T("div"),i=ze("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=ze(t[1]),u(e,"class","text v-1o62kpz")},m(o,s){E(o,e,s),m(e,i),m(e,n)},p(o,s){s&2&&Qe(n,o[1])},d(o){o&&S(e)}}}function Pp(t){let e,i,n,o,s,l,r=t[1]&&va(t);return{c(){e=T("div"),i=T("div"),i.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=z(),r&&r.c(),u(i,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${t[0]||""}')`)},m(a,c){E(a,e,c),m(e,i),m(e,n),r&&r.m(e,null),s||(l=he(e,"click",t[2]),s=!0)},p(a,[c]){a[1]?r?r.p(a,c):(r=va(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:W,o:W,d(a){a&&S(e),r&&r.d(),s=!1,l()}}}function Sp(t,e,i){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function s(l){go.call(this,t,l)}return t.$$set=l=>{"thumbUrl"in l&&i(0,n=l.thumbUrl),"chromecastDeviceName"in l&&i(1,o=l.chromecastDeviceName)},[n,o,s]}class Pu extends we{constructor(e){super(),ve(this,e,Sp,Pp,ge,{thumbUrl:0,chromecastDeviceName:1},Cp)}}function Tp(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class Ep extends we{constructor(e){super(),ve(this,e,null,Tp,ge,{})}}function Ap(t){He(t,"v-13zpvm8",".container.v-13zpvm8{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function Lp(t){let e,i,n;return i=new Ep({}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,s){E(o,e,s),H(i,e,null),n=!0},p:W,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),F(i)}}}class Su extends we{constructor(e){super(),ve(this,e,null,Lp,ge,{},Ap)}}function Ip(t){He(t,"v-17wno3",".container.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-17wno3.v-17wno3{opacity:0;visibility:hidden}.playButton.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-17wno3:hover .playButtonBackground.v-17wno3{background-color:var(--big-play-hover-bg-color);transform:scale(1.15)}.playButton.v-17wno3 svg{transform:scale(2)}")}function Vp(t){let e,i,n,o,s,l,r,a,c;return s=new ql({}),{c(){e=T("div"),i=T("div"),n=T("div"),o=z(),U(s.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(i,"class","playButton v-17wno3"),u(e,"class","container v-17wno3"),u(e,"style",l=`background-color: #222; background-image: url('${t[0]||""}')`),B(e,"hidden",t[1])},m(f,p){E(f,e,p),m(e,i),m(i,n),m(i,o),H(s,i,null),r=!0,a||(c=he(e,"click",tt(function(){bn(t[2])&&t[2].apply(this,arguments)})),a=!0)},p(f,[p]){t=f,(!r||p&1&&l!==(l=`background-color: #222; background-image: url('${t[0]||""}')`))&&u(e,"style",l),(!r||p&2)&&B(e,"hidden",t[1])},i(f){r||(d(s.$$.fragment,f),r=!0)},o(f){g(s.$$.fragment,f),r=!1},d(f){f&&S(e),F(s),a=!1,c()}}}function Mp(t,e,i){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:s}=e;return t.$$set=l=>{"thumbUrl"in l&&i(0,n=l.thumbUrl),"hidden"in l&&i(1,o=l.hidden),"startVideo"in l&&i(2,s=l.startVideo)},[n,o,s]}class Tu extends we{constructor(e){super(),ve(this,e,Mp,Vp,ge,{thumbUrl:0,hidden:1,startVideo:2},Ip)}}function Bp(t){He(t,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
|
|
26
26
|
0deg,
|
|
27
27
|
rgba(0, 0, 0, 0) 0%,
|
|
28
28
|
rgba(0, 0, 0, 0.02) 19%,
|
|
29
29
|
rgba(0, 0, 0, 0.10) 34%,
|
|
30
30
|
rgba(0, 0, 0, 0.40) 60%,
|
|
31
31
|
rgba(0, 0, 0, 0.60) 100%
|
|
32
|
-
)}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function o3(i){let e,t;return{c(){e=k("div"),t=ze(i[0]),u(e,"class","title v-1bcvcf2"),V(e,"hidden",i[1])},m(n,o){C(n,e,o),d(e,t)},p(n,[o]){o&1&&Xe(t,n[0]),o&2&&V(e,"hidden",n[1])},i:K,o:K,d(n){n&&y(e)}}}function l3(i,e,t){let{title:n=""}=e,{isHidden:o=!1}=e;return i.$$set=l=>{"title"in l&&t(0,n=l.title),"isHidden"in l&&t(1,o=l.isHidden)},[n,o]}class s3 extends ke{constructor(e){super(),_e(this,e,l3,o3,ge,{title:0,isHidden:1},n3)}}function a3(i){Fe(i,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function Ba(i){let e,t,n,o,l,s,a;return{c(){e=k("div"),t=k("span"),n=ze(i[0]),o=N(),l=k("span"),l.textContent=`${U("waiting_live_day_value")}`,s=N(),a=k("span"),a.textContent=`${U("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(a,"class","timer__points v-1qpxtfg")},m(r,c){C(r,e,c),d(e,t),d(t,n),d(e,o),d(e,l),C(r,s,c),C(r,a,c)},p(r,c){c&1&&Xe(n,r[0])},d(r){r&&(y(e),y(s),y(a))}}}function Na(i){let e,t,n,o,l,s,a;return{c(){e=k("div"),t=k("span"),n=ze(i[1]),o=N(),l=k("span"),l.textContent=`${U("waiting_live_hour_value")}`,s=N(),a=k("span"),a.textContent=`${U("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(a,"class","timer__points v-1qpxtfg")},m(r,c){C(r,e,c),d(e,t),d(t,n),d(e,o),d(e,l),C(r,s,c),C(r,a,c)},p(r,c){c&2&&Xe(n,r[1])},d(r){r&&(y(e),y(s),y(a))}}}function Ra(i){let e,t,n,o,l,s,a;return{c(){e=k("div"),t=k("span"),n=ze(i[2]),o=N(),l=k("span"),l.textContent=`${U("waiting_live_minute_value")}`,s=N(),a=k("span"),a.textContent=`${U("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(a,"class","timer__points v-1qpxtfg")},m(r,c){C(r,e,c),d(e,t),d(t,n),d(e,o),d(e,l),C(r,s,c),C(r,a,c)},p(r,c){c&4&&Xe(n,r[2])},d(r){r&&(y(e),y(s),y(a))}}}function za(i){let e,t,n,o,l;return{c(){e=k("div"),t=k("span"),n=ze(i[3]),o=N(),l=k("span"),l.textContent=`${U("waiting_live_second_value")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(s,a){C(s,e,a),d(e,t),d(t,n),d(e,o),d(e,l)},p(s,a){a&8&&Xe(n,s[3])},d(s){s&&y(e)}}}function r3(i){let e,t,n,o,l=i[0]&&Ba(i),s=i[1]&&Na(i),a=i[2]&&Ra(i),r=i[3]&&za(i);return{c(){e=k("div"),l&&l.c(),t=N(),s&&s.c(),n=N(),a&&a.c(),o=N(),r&&r.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){C(c,e,f),l&&l.m(e,null),d(e,t),s&&s.m(e,null),d(e,n),a&&a.m(e,null),d(e,o),r&&r.m(e,null)},p(c,[f]){c[0]?l?l.p(c,f):(l=Ba(c),l.c(),l.m(e,t)):l&&(l.d(1),l=null),c[1]?s?s.p(c,f):(s=Na(c),s.c(),s.m(e,n)):s&&(s.d(1),s=null),c[2]?a?a.p(c,f):(a=Ra(c),a.c(),a.m(e,o)):a&&(a.d(1),a=null),c[3]?r?r.p(c,f):(r=za(c),r.c(),r.m(e,null)):r&&(r.d(1),r=null)},i:K,o:K,d(c){c&&y(e),l&&l.d(),s&&s.d(),a&&a.d(),r&&r.d()}}}function u3(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,l,s,a,r,c;const f=v=>String(v).padStart(2,"0"),h=v=>{const b=Math.floor(v/86400);b&&(v-=b*86400,t(0,l=f(b)));const _=Math.floor(v/3600);t(1,s=f(_));const L=Math.floor(v/60)%60;t(2,a=f(L));const A=v%60;t(3,r=f(A))},g=()=>{const v=Math.floor(Date.now()/1e3),b=n-v;h(b),b>=1?c=requestAnimationFrame(g):o()};return Ki(()=>{c=requestAnimationFrame(g)}),Ro(()=>{cancelAnimationFrame(c)}),i.$$set=v=>{"startTime"in v&&t(4,n=v.startTime),"onTimerOver"in v&&t(5,o=v.onTimerOver)},[l,s,a,r,n,o]}class c3 extends ke{constructor(e){super(),_e(this,e,u3,r3,ge,{startTime:4,onTimerOver:5},a3)}}function f3(i){let e,t,n,o,l;return{c(){e=I("svg"),t=I("path"),n=I("path"),o=I("path"),l=I("path"),u(t,"fill","#fefffe"),u(t,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),At(t,"opacity",".965"),u(n,"fill","#fefffe"),u(n,"d","M183.5 63.5c57.529-3.65 102.029 18.35 133.5 66 21.628 40.092 24.295 81.425 8 124a186.647 186.647 0 0 1-17.5 29.5 632.842 632.842 0 0 1-38-7c36.445-38.176 42.945-81.01 19.5-128.5-24.178-37.504-58.678-54.337-103.5-50.5-49.5 9.5-79 39-88.5 88.5-3.944 35.587 6.889 65.753 32.5 90.5a1149.466 1149.466 0 0 0-36 7.5c-1.53-.029-2.696-.696-3.5-2-29.298-42.431-34.631-87.764-16-136 21.866-46.852 58.366-74.185 109.5-82Z"),At(n,"opacity",".965"),u(o,"fill","#fefffe"),u(o,"d","M187.5 127.5c44.524-2.948 72.357 17.052 83.5 60 3.431 44.55-16.403 72.383-59.5 83.5-44.55 3.431-72.383-16.403-83.5-59.5-3.229-44.571 16.604-72.571 59.5-84Z"),At(o,"opacity",".985"),u(l,"fill","#fefffe"),u(l,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),At(l,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),At(e,"shape-rendering","geometricPrecision"),At(e,"text-rendering","geometricPrecision"),At(e,"image-rendering","optimizeQuality"),At(e,"fill-rule","evenodd"),At(e,"clip-rule","evenodd"),At(e,"width","100%"),At(e,"height","100%")},m(s,a){C(s,e,a),d(e,t),d(e,n),d(e,o),d(e,l)},p:K,i:K,o:K,d(s){s&&y(e)}}}class d3 extends ke{constructor(e){super(),_e(this,e,null,f3,ge,{})}}function m3(i){Fe(i,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function h3(i){let e,t,n,o,l;return o=new c3({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=k("div"),t=k("span"),t.textContent=`${U("waiting_live_timer_title")}`,n=N(),O(o.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(s,a){C(s,e,a),d(e,t),d(e,n),z(o,e,null),l=!0},p(s,a){const r={};a&2&&(r.startTime=s[1]||0),a&4&&(r.onTimerOver=s[3]),o.$set(r)},i(s){l||(m(o.$$.fragment,s),l=!0)},o(s){p(o.$$.fragment,s),l=!1},d(s){s&&y(e),D(o)}}}function p3(i){let e,t,n,o,l,s;return n=new d3({}),{c(){e=k("div"),t=k("div"),O(n.$$.fragment),o=N(),l=k("span"),l.textContent=`${U("waiting_live_upcoming_title")}`,u(t,"class","upcoming-icon v-15pewff"),u(l,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(a,r){C(a,e,r),d(e,t),z(n,t,null),d(e,o),d(e,l),s=!0},p:K,i(a){s||(m(n.$$.fragment,a),s=!0)},o(a){p(n.$$.fragment,a),s=!1},d(a){a&&y(e),D(n)}}}function g3(i){let e,t,n,o,l;const s=[p3,h3],a=[];function r(c,f){return c[2]?0:1}return t=r(i),n=a[t]=s[t](i),{c(){e=k("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${i[2]?"":i[0]})`)},m(c,f){C(c,e,f),a[t].m(e,null),l=!0},p(c,[f]){let h=t;t=r(c),t===h?a[t].p(c,f):(me(),p(a[h],1,1,()=>{a[h]=null}),he(),n=a[t],n?n.p(c,f):(n=a[t]=s[t](c),n.c()),m(n,1),n.m(e,null)),(!l||f&5&&o!==(o=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",o)},i(c){l||(m(n),l=!0)},o(c){p(n),l=!1},d(c){c&&y(e),a[t].d()}}}function b3(i,e,t){let n,{thumbUrl:o}=e,{startTime:l}=e;const s=()=>t(2,n=!0);return i.$$set=a=>{"thumbUrl"in a&&t(0,o=a.thumbUrl),"startTime"in a&&t(1,l=a.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=l===void 0||l<Math.floor(Date.now()/1e3))},[o,l,n,s]}class D1 extends ke{constructor(e){super(),_e(this,e,b3,g3,ge,{thumbUrl:0,startTime:1},m3)}}function v3(i){Fe(i,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function _3(i){let e,t;return{c(){e=k("div"),t=k("p"),t.textContent=`${U("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class O1 extends ke{constructor(e){super(),_e(this,e,null,_3,ge,{},v3)}}const{window:k3}=Sr;function w3(i){Fe(i,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function Da(i){let e,t;return e=new D1({props:{thumbUrl:i[3],startTime:i[5]?.startTime}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8&&(l.thumbUrl=n[3]),o[0]&32&&(l.startTime=n[5]?.startTime),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Oa(i){let e,t;return e=new O1({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ha(i){let e,t,n;return t=new xr({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),V(e,"hidden",i[36]!==Re.Ads)},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&512&&(s.adsSlotId=o[9]),l[0]&1024&&(s.adsParams=o[10]),l[0]&2048&&(s.adsPreviewParam=o[11]),l[0]&4096&&(s.duration=o[12]),t.$set(s),(!n||l[1]&32)&&V(e,"hidden",o[36]!==Re.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Fa(i){let e,t;return e=new lf({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&262144&&(l.title=n[18]),o[0]&524288&&(l.thumb=n[19]),o[0]&8388608&&(l.playNextVideo=n[23]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ua(i){let e,t;return e=new s3({props:{title:i[2],isHidden:!i[34]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.title=n[2]),o[1]&8&&(l.isHidden=!n[34]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function qa(i){let e,t;return e=new M1({props:{isShifted:i[36]===Re.Video&&i[34]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&40&&(l.isShifted=n[36]===Re.Video&&n[34]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Wa(i){let e,t,n;return t=new Zr({props:{ariaLabel:U("video360")}}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Za(i){let e,t;return e=new N1({props:{thumbUrl:i[3],chromecastDeviceName:i[54]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8&&(l.thumbUrl=n[3]),o[1]&8388608&&(l.chromecastDeviceName=n[54]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ja(i){let e,t;return e=new B1({props:{shifted:i[34],captions:i[56],position:i[57],playerSize:i[32]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&8&&(l.shifted=n[34]),o[1]&33554432&&(l.captions=n[56]),o[1]&67108864&&(l.position=n[57]),o[1]&2&&(l.playerSize=n[32]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ga(i){let e,t;return e=new $r({props:{showControls:i[34]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&8&&(l.showControls=n[34]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ka(i){let e,t,n,o,l;return t=new R1({}),{c(){e=k("div"),O(t.$$.fragment)},m(s,a){C(s,e,a),z(t,e,null),n=!0,o||(l=[Ae(e,"contextmenu",di(i[106])),Ae(e,"click",rt(i[117]))],o=!0)},p:K,i(s){n||(m(t.$$.fragment,s),n=!0)},o(s){p(t.$$.fragment,s),n=!1},d(s){s&&y(e),D(t),o=!1,xt(l)}}}function Ya(i){let e,t;return e=new a1({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Qa(i){let e,t;return e=new Af({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Xa(i){let e,t;return e=new i1({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ja(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,A,S,P,R,W,X,Z,T,te,j;e=new z1({props:{hidden:i[36]!==Re.Thumb||i[35]||i[92]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let ie=i[36]===Re.WaitingLive&&Da(i),G=i[36]===Re.WaitingRecord&&Oa(),J=i[8]&&i[22]&&Ha(i),ue=i[31]&&i[18]&&i[19]&&Fa(i),w=i[44]&&Ua(i),oe=i[50]&&qa(i),fe=i[53]&&Wa(),ve=i[37]&&Za(i),Me=i[55].value!=="off"&&ja(i),Ee=i[1].features.annotations&&Ga(i),we=i[35]&&Ka(i);function H(B){i[146](B)}let M={bottomHidden:i[36]===Re.Thumb||i[36]===Re.WaitingLive||i[36]===Re.WaitingRecord,bottomNoSmooth:i[51],showControls:i[34],isAds:i[36]===Re.Ads,canRewindLive:i[7]&&i[58]!==0,logoClickable:i[13],logoHidden:i[14],videoLogoUrl:i[4],showNextPrevButtons:i[15],nextButtonActive:i[16],prevButtonActive:i[17],isOneVideoPlaylist:i[20],supportLink:i[21],customFullscreenSupported:P3,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[104],returnFocus:i[145],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};i[39]!==void 0&&(M.controlsElementRef=i[39]),b=new L1({props:M}),We.push(()=>bt(b,"controlsElementRef",H)),A=new t1({props:{isLive:i[59],isHidden:!i[43],isPlaying:i[60],position:i[57],duration:i[61]}}),P=new Dm({props:{data:i[101]}}),W=new Dc({props:{supportLink:i[21],returnFocus:i[147],visible:i[49],playerContainerRef:i[38],controlsContainerRef:i[39],x:i[40],y:i[41]}});let Y=i[42]&&Ya(),pe=i[62]&&Qa(),ee=i[63]&&Xa();return{c(){O(e.$$.fragment),t=N(),ie&&ie.c(),n=N(),G&&G.c(),o=N(),J&&J.c(),l=N(),ue&&ue.c(),s=N(),w&&w.c(),a=N(),oe&&oe.c(),r=N(),fe&&fe.c(),c=N(),ve&&ve.c(),f=N(),Me&&Me.c(),h=N(),Ee&&Ee.c(),g=N(),we&&we.c(),v=N(),O(b.$$.fragment),L=N(),O(A.$$.fragment),S=N(),O(P.$$.fragment),R=N(),O(W.$$.fragment),X=N(),Y&&Y.c(),Z=N(),pe&&pe.c(),T=N(),ee&&ee.c(),te=ht()},m(B,Q){z(e,B,Q),C(B,t,Q),ie&&ie.m(B,Q),C(B,n,Q),G&&G.m(B,Q),C(B,o,Q),J&&J.m(B,Q),C(B,l,Q),ue&&ue.m(B,Q),C(B,s,Q),w&&w.m(B,Q),C(B,a,Q),oe&&oe.m(B,Q),C(B,r,Q),fe&&fe.m(B,Q),C(B,c,Q),ve&&ve.m(B,Q),C(B,f,Q),Me&&Me.m(B,Q),C(B,h,Q),Ee&&Ee.m(B,Q),C(B,g,Q),we&&we.m(B,Q),C(B,v,Q),z(b,B,Q),C(B,L,Q),z(A,B,Q),C(B,S,Q),z(P,B,Q),C(B,R,Q),z(W,B,Q),C(B,X,Q),Y&&Y.m(B,Q),C(B,Z,Q),pe&&pe.m(B,Q),C(B,T,Q),ee&&ee.m(B,Q),C(B,te,Q),j=!0},p(B,Q){const Le={};Q[0]&64|Q[1]&48&&(Le.hidden=B[36]!==Re.Thumb||B[35]||B[92]&&B[6]),Q[0]&8&&(Le.thumbUrl=B[3]),Q[0]&536870912&&(Le.startVideo=B[29]),e.$set(Le),B[36]===Re.WaitingLive?ie?(ie.p(B,Q),Q[1]&32&&m(ie,1)):(ie=Da(B),ie.c(),m(ie,1),ie.m(n.parentNode,n)):ie&&(me(),p(ie,1,1,()=>{ie=null}),he()),B[36]===Re.WaitingRecord?G?Q[1]&32&&m(G,1):(G=Oa(),G.c(),m(G,1),G.m(o.parentNode,o)):G&&(me(),p(G,1,1,()=>{G=null}),he()),B[8]&&B[22]?J?(J.p(B,Q),Q[0]&4194560&&m(J,1)):(J=Ha(B),J.c(),m(J,1),J.m(l.parentNode,l)):J&&(me(),p(J,1,1,()=>{J=null}),he()),B[31]&&B[18]&&B[19]?ue?(ue.p(B,Q),Q[0]&786432|Q[1]&1&&m(ue,1)):(ue=Fa(B),ue.c(),m(ue,1),ue.m(s.parentNode,s)):ue&&(me(),p(ue,1,1,()=>{ue=null}),he()),B[44]?w?(w.p(B,Q),Q[1]&8192&&m(w,1)):(w=Ua(B),w.c(),m(w,1),w.m(a.parentNode,a)):w&&(me(),p(w,1,1,()=>{w=null}),he()),B[50]?oe?(oe.p(B,Q),Q[1]&524288&&m(oe,1)):(oe=qa(B),oe.c(),m(oe,1),oe.m(r.parentNode,r)):oe&&(me(),p(oe,1,1,()=>{oe=null}),he()),B[53]?fe?(fe.p(B,Q),Q[1]&4194304&&m(fe,1)):(fe=Wa(),fe.c(),m(fe,1),fe.m(c.parentNode,c)):fe&&(me(),p(fe,1,1,()=>{fe=null}),he()),B[37]?ve?(ve.p(B,Q),Q[1]&64&&m(ve,1)):(ve=Za(B),ve.c(),m(ve,1),ve.m(f.parentNode,f)):ve&&(me(),p(ve,1,1,()=>{ve=null}),he()),B[55].value!=="off"?Me?(Me.p(B,Q),Q[1]&16777216&&m(Me,1)):(Me=ja(B),Me.c(),m(Me,1),Me.m(h.parentNode,h)):Me&&(me(),p(Me,1,1,()=>{Me=null}),he()),B[1].features.annotations?Ee?(Ee.p(B,Q),Q[0]&2&&m(Ee,1)):(Ee=Ga(B),Ee.c(),m(Ee,1),Ee.m(g.parentNode,g)):Ee&&(me(),p(Ee,1,1,()=>{Ee=null}),he()),B[35]?we?(we.p(B,Q),Q[1]&16&&m(we,1)):(we=Ka(B),we.c(),m(we,1),we.m(v.parentNode,v)):we&&(me(),p(we,1,1,()=>{we=null}),he());const ye={};Q[1]&32&&(ye.bottomHidden=B[36]===Re.Thumb||B[36]===Re.WaitingLive||B[36]===Re.WaitingRecord),Q[1]&1048576&&(ye.bottomNoSmooth=B[51]),Q[1]&8&&(ye.showControls=B[34]),Q[1]&32&&(ye.isAds=B[36]===Re.Ads),Q[0]&128|Q[1]&134217728&&(ye.canRewindLive=B[7]&&B[58]!==0),Q[0]&8192&&(ye.logoClickable=B[13]),Q[0]&16384&&(ye.logoHidden=B[14]),Q[0]&16&&(ye.videoLogoUrl=B[4]),Q[0]&32768&&(ye.showNextPrevButtons=B[15]),Q[0]&65536&&(ye.nextButtonActive=B[16]),Q[0]&131072&&(ye.prevButtonActive=B[17]),Q[0]&1048576&&(ye.isOneVideoPlaylist=B[20]),Q[0]&2097152&&(ye.supportLink=B[21]),Q[0]&8388608&&(ye.playNextVideo=B[23]),Q[0]&16777216&&(ye.playPrevVideo=B[24]),Q[0]&33554432&&(ye.repeatPlaylist=B[25]),Q[1]&131072&&(ye.returnFocus=B[145]),Q[0]&67108864&&(ye.seekToInteractive=B[26]),Q[0]&134217728&&(ye.toggleGraph=B[27]),Q[0]&268435456&&(ye.playPrevChapter=B[28]),!_&&Q[1]&256&&(_=!0,ye.controlsElementRef=B[39],gt(()=>_=!1)),b.$set(ye);const Te={};Q[1]&268435456&&(Te.isLive=B[59]),Q[1]&4096&&(Te.isHidden=!B[43]),Q[1]&536870912&&(Te.isPlaying=B[60]),Q[1]&67108864&&(Te.position=B[57]),Q[1]&1073741824&&(Te.duration=B[61]),A.$set(Te);const x={};Q[0]&2097152&&(x.supportLink=B[21]),Q[1]&131072&&(x.returnFocus=B[147]),Q[1]&262144&&(x.visible=B[49]),Q[1]&128&&(x.playerContainerRef=B[38]),Q[1]&256&&(x.controlsContainerRef=B[39]),Q[1]&512&&(x.x=B[40]),Q[1]&1024&&(x.y=B[41]),W.$set(x),B[42]?Y?Q[1]&2048&&m(Y,1):(Y=Ya(),Y.c(),m(Y,1),Y.m(Z.parentNode,Z)):Y&&(me(),p(Y,1,1,()=>{Y=null}),he()),B[62]?pe?Q[2]&1&&m(pe,1):(pe=Qa(),pe.c(),m(pe,1),pe.m(T.parentNode,T)):pe&&(me(),p(pe,1,1,()=>{pe=null}),he()),B[63]?ee?Q[2]&2&&m(ee,1):(ee=Xa(),ee.c(),m(ee,1),ee.m(te.parentNode,te)):ee&&(me(),p(ee,1,1,()=>{ee=null}),he())},i(B){j||(m(e.$$.fragment,B),m(ie),m(G),m(J),m(ue),m(w),m(oe),m(fe),m(ve),m(Me),m(Ee),m(we),m(b.$$.fragment,B),m(A.$$.fragment,B),m(P.$$.fragment,B),m(W.$$.fragment,B),m(Y),m(pe),m(ee),j=!0)},o(B){p(e.$$.fragment,B),p(ie),p(G),p(J),p(ue),p(w),p(oe),p(fe),p(ve),p(Me),p(Ee),p(we),p(b.$$.fragment,B),p(A.$$.fragment,B),p(P.$$.fragment,B),p(W.$$.fragment,B),p(Y),p(pe),p(ee),j=!1},d(B){B&&(y(t),y(n),y(o),y(l),y(s),y(a),y(r),y(c),y(f),y(h),y(g),y(v),y(L),y(S),y(R),y(X),y(Z),y(T),y(te)),D(e,B),ie&&ie.d(B),G&&G.d(B),J&&J.d(B),ue&&ue.d(B),w&&w.d(B),oe&&oe.d(B),fe&&fe.d(B),ve&&ve.d(B),Me&&Me.d(B),Ee&&Ee.d(B),we&&we.d(B),D(b,B),D(A,B),D(P,B),D(W,B),Y&&Y.d(B),pe&&pe.d(B),ee&&ee.d(B)}}}function y3(i){let e,t,n,o,l=i[52],s,a,r,c,f=Ja(i);return{c(){e=k("div"),t=k("div"),o=N(),f.c(),s=ht(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[33]}deg) scale(${i[46]})`),V(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),V(e,"hidden",i[36]!==Re.Video),V(e,"nocursor",i[45])},m(h,g){C(h,e,g),d(e,t),i[144](t),C(h,o,g),f.m(h,g),C(h,s,g),a=!0,r||(c=[Ae(e,"contextmenu",di(i[106])),Ae(e,"mousedown",di(i[111])),Ae(e,"mouseup",di(i[112])),Ae(e,"click",di(i[114])),Ae(e,"dblclick",di(i[113]))],r=!0)},p(h,g){(!a||g[1]&32772&&n!==(n=`transform: rotate(${h[33]}deg) scale(${h[46]})`))&&u(t,"style",n),(!a||g[0]&2)&&V(t,"fast-rotate",!h[1].isSmoothVideoRotate),(!a||g[1]&32)&&V(e,"hidden",h[36]!==Re.Video),(!a||g[1]&16384)&&V(e,"nocursor",h[45]),g[1]&2097152&&ge(l,l=h[52])?(me(),p(f,1,1,K),he(),f=Ja(h),f.c(),m(f,1),f.m(s.parentNode,s)):f.p(h,g)},i(h){a||(m(f),a=!0)},o(h){p(f),a=!1},d(h){h&&(y(e),y(o),y(s)),i[144](null),f.d(h),r=!1,xt(c)}}}function C3(i){let e,t,n,o,l,s,a,r={toggleFullscreen:i[104],hideContextMenu:i[105],showHotKeyHelpers:i[115],showKeyMap:i[116],isAds:i[36]===Re.Ads,fakePlayButtonHandler:i[47]?i[103]:void 0,$$slots:{default:[y3]},$$scope:{ctx:i}};return t=new uf({props:r}),i[148](t),{c(){e=k("div"),O(t.$$.fragment),n=N(),o=k("div"),u(o,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){C(c,e,f),z(t,e,null),d(e,n),d(e,o),i[149](o),i[150](e),l=!0,s||(a=[Ae(k3,"blur",i[105]),Ae(e,"mouseenter",i[107]),Ae(e,"mouseleave",i[109]),Ae(e,"mousemove",i[110]),Ae(e,"click",i[118],!0),Ae(e,"focusin",i[108],!0)],s=!0)},p(c,f){const h={};f[1]&32&&(h.isAds=c[36]===Re.Ads),f[1]&65536&&(h.fakePlayButtonHandler=c[47]?c[103]:void 0),f[0]&1073741823|f[1]&2147418111|f[2]&3|f[5]&65536&&(h.$$scope={dirty:f,ctx:c}),t.$set(h)},i(c){l||(m(t.$$.fragment,c),l=!0)},o(c){p(t.$$.fragment,c),l=!1},d(c){c&&y(e),i[148](null),D(t),i[149](null),i[150](null),s=!1,xt(a)}}}let P3=!0;function H1(i){return i?i.offsetTop+H1(i.offsetParent):0}function S3(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,L,A,S,P,R,W,X,Z,T,te,j,ie,G,J,ue,w,oe,fe,ve,Me,Ee,we,H,M,{store:Y}=e,{uiConfig:pe}=e,{title:ee}=e,{thumbUrl:B}=e,{videoLogoUrl:Q}=e,{videoContainer:Le}=e,{interactiveContainer:ye}=e,{live:Te}=e,{autoplay:x}=e,{canRewindLive:le}=e,{showAds:be}=e,{adsSlotId:ae=void 0}=e,{adsParams:Ue=void 0}=e,{adsPreviewParam:qe=void 0}=e,{duration:Je=void 0}=e,{logoClickable:tt}=e,{logoHidden:Ne}=e,{showNextPrevButtons:at=!1}=e,{nextButtonActive:St=!1}=e,{prevButtonActive:Be=!1}=e,{endScreenVideoTitle:Ve=void 0}=e,{endScreenVideoThumb:kt=void 0}=e,{isOneVideoPlaylist:Ot=!1}=e,{supportLink:mt}=e,{outerContainerRef:ot=void 0}=e,{playerStarted:re=!1}=e,{fullScreenTarget:xe=void 0}=e,{showMiniTimer:Ye=!1}=e,{playNextVideo:it=et}=e,{playPrevVideo:Ge=et}=e,{repeatPlaylist:ft=et}=e,{seekToInteractive:$e}=e,{toggleGraph:Nt}=e,{playPrevChapter:wt}=e,{firstStart:nt}=e;const Ht=Y.getLogger().createComponentLog("Root component"),ut=Y.interfaceLanguage$;F(i,ut,q=>t(52,G=q));const Ze=Y.state.playbackState$;F(i,Ze,q=>t(141,te=q));const Tt=Y.ads.playbackState;F(i,Tt,q=>t(142,j=q));const lt=Y.state.positionWithScrubbing$;F(i,lt,q=>t(57,fe=q));const oi=Y.state.duration$;F(i,oi,q=>t(61,we=q));const de=Y.playerPhase;F(i,de,q=>t(36,R=q));const Ce=Y.ui.isFullscreen;F(i,Ce,q=>t(131,c=q));const Ie=Y.ui.controlsVisible;F(i,Ie,q=>t(34,_=q));const Pt=Y.ui.settingsMenuVisible;F(i,Pt,q=>t(129,n=q));const Mi=Y.ui.scrubbingInProgress;F(i,Mi,q=>t(133,v=q));const $t=Y.ui.contextMenuVisible;F(i,$t,q=>t(49,o=q));const _i=Y.ui.debugPanelVisible;F(i,_i,q=>t(63,M=q));const Bi=Y.state.isLoaderVisible;F(i,Bi,q=>t(143,ie=q));const Lt=Y.state.isEnded$;F(i,Lt,q=>t(130,s=q));const Pe=Y.state.chromecastConnected$;F(i,Pe,q=>t(37,Z=q));const Rt=Y.state.chromecastDeviceName$;F(i,Rt,q=>t(54,ue=q));const Ni=Y.ads.postrollPassed;F(i,Ni,q=>t(136,S=q));const li=Y.state.isLive$;F(i,li,q=>t(59,Me=q));const ki=Y.state.isPlaying$;F(i,ki,q=>t(60,Ee=q));const wi=Y.state.crashed$;F(i,wi,q=>t(35,A=q));const yi=Y.webApi.pictureInPictureApi,si=Y.state.currentSubtitle$;F(i,si,q=>t(55,w=q));const Qi=Y.state.currentSubtitleCaptions$;F(i,Qi,q=>t(56,oe=q));const hi=Y.state.duration$;F(i,hi,q=>t(58,ve=q));const Ci=Y.state.graphIsOpened$;F(i,Ci,q=>t(137,P=q));const Pi=Y.ui.playerSize;F(i,Pi,q=>t(32,r=q));const Ri=Y.ui.is3DVideo;F(i,Ri,q=>t(50,a=q));const Si=Y.ui.icon3DVideoVisible;F(i,Si,q=>t(53,J=q));const Zi=Y.ui.rotateAlpha;F(i,Zi,q=>t(33,g=q));const ei=Y.state.isInteractive,ai=Y.state.isInteractiveTime$;F(i,ai,q=>t(134,b=q));const Ti=Y.state.isInteractiveExpectation$;F(i,Ti,q=>t(140,T=q));const Ft=Y.state.hasInteractiveBranches,yt=Y.ui.touched;F(i,yt,q=>t(138,W=q));const Ut=Y.ui.modals.hotKeyMap.data;F(i,Ut,q=>t(157,l=q));const zi=Y.ui.modals.hotKeyMap.show;F(i,zi,q=>t(62,H=q));const Xi=Y.ui.overlayContainer$,{fakeIsPlaying$:Di}=Nr();F(i,Di,q=>t(132,h=q));let ti,qi,ji=0,ri=0,Oi,Ai,Ei;Ut.set(lc());let Vi,pi;const qt=Oe(!1);F(i,qt,q=>t(51,f=q));let ui;const gi=Oe(!1);F(i,gi,q=>t(139,X=q));const Wt=Oe(),Zt=Oe(!1);F(i,Zt,q=>t(135,L=q));let ii=!1,ci=!1,jt,bi,ni,Hi,Li,Gi,Fi=!1,fi,Wi=!1;const{toggle:Ii}=Di;let se=!1,Gt=null,Ui;yi?.setContext(Tr());const Ji=()=>{x&&!ei&&Kt(pe.controls.hideTimeout)};Y.setUiCallbacks({onStarted:Ji});const dn=()=>{window.clearTimeout(Oi),gi.set(!1)},mn=()=>{window.clearTimeout(Ai),Wt.set(null)},Kt=q=>{dn(),gi.set(!0),Oi=window.setTimeout(()=>gi.set(!1),q);const Yt=q-100;ui=window.setTimeout(()=>{f&&qt.set(!1)},Yt>0?Yt:q)},Vn=(q,Yt)=>{mn(),Wt.set(Yt),Ai=window.setTimeout(()=>Wt.set(null),q)},Ln=Ri.subscribe(q=>{Si.set(q),q&&(window.clearTimeout(Ei),Ei=window.setTimeout(()=>Si.set(!1),pe.controls.hide360IconTimeout))}),hn=async()=>{const q=po();if(q){Kt(pe.controls.hideTimeoutFullscreen);try{await yi?.remove()}catch(Yt){Ht({message:String(Yt)})}}Ce.set(q),Y.getAdmanWrapper().setFullscreen(q),c?Y.callbacks?.onFullscreenEnter?.():Y.callbacks?.onFullscreenExit?.()},Sn=q=>{const Yt=q;Pi.set({width:Yt.target.width,height:Yt.target.height})};Ki(()=>(Xr(hn),Mo(yi)&&(yi?.assignPlayerContainer(ti),yi?.registryExternalEventHandlers({resize:Sn})),ye&&Le.parentElement?.insertBefore(ye,Le.nextSibling),()=>{window.clearTimeout(Oi),window.clearTimeout(ui),window.clearTimeout(Ai),window.clearTimeout(Ei),Ln(),yi?.dispose(),Jr(hn)}));const rn=async()=>{if(po())await Qr(document),Ht({message:"exit fullscreen"});else{Ht({message:"request fullscreen"});const q=ot??ti,Yt=q.getRootNode(),Un=Yt instanceof ShadowRoot?Yt.host:Yt,qn=xe instanceof HTMLElement&&xe.contains(Un),_o=pe.allowChangingFullscreenTarget&&xe&&qn?xe:q;await Yr(_o)}},en=()=>{Pt.set(!1),$t.set(!1)},In=q=>{$t.set(!0),t(40,ji=q.clientX),t(41,ri=q.clientY)};function $(){Zt.set(!0),ei||Kt(pe.controls.hideTimeoutCursor)}function _t(){ei||(qt.set(!0),Kt(pe.controls.hideTimeoutCursor))}function Mn(){Zt.set(!1),t(125,ci=!1),t(124,ii=!1),se=!1,Y.actions.internal.releaseCamera()}function Bn(q){if(ti){const Yt=H1(q.currentTarget),Un=r.height,qn=q.pageY-Yt;qn<kl?t(125,ci=!0):qn>Un-kl?t(124,ii=!0):(t(125,ci=!1),n||t(124,ii=!1))}}function Nn(q){Bn(q),bi||Kt(pe.controls.hideTimeoutCursor),a&&se&&Gt&&Y.actions.internal.moveCameraFocusPX(Gt.clientX-q.clientX,Gt.clientY-q.clientY,q.timeStamp-Gt.timeStamp),Gt=q}const to=q=>{q.button===0&&(se=!0,Y.actions.internal.holdCamera()),Kt(pe.controls.hideTimeoutCursor)},io=q=>{q.button===0&&(Gt=q,se=!1,Y.actions.internal.releaseCamera()),Kt(pe.controls.hideTimeoutCursor)},no=()=>{Ht({message:"double click on video"}),rn(),Kt(pe.controls.hideTimeoutCursor)},oo=()=>{if(o||n){en();return}if(!(s&&!Ft)){if(Wi)return Ii();if(Ui?.focus(),!re){nt(),Kt(pe.controls.hideTimeoutCursor);return}Y.actions.internal.togglePlay(),Kt(pe.controls.hideTimeoutCursor)}},lo=q=>{en(),yt.set(!0),Kt(pe.controls.hideTimeout),q&&Vn(pe.controls.hideHotKeyHelpers,q)},Fn=()=>{en(),Y.callbacks?.onOpenHotKeyMap?Y.callbacks?.onOpenHotKeyMap(l):zi.update(q=>!q)},so=()=>{if(o||n){en();return}},ne=()=>{yt.set(!0)};function tn(q){We[q?"unshift":"push"](()=>{Le=q,t(0,Le)})}const st=()=>Ui?.focus();function zt(q){qi=q,t(39,qi)}const nn=()=>Ui?.focus();function pn(q){We[q?"unshift":"push"](()=>{Ui=q,t(48,Ui)})}function ao(q){We[q?"unshift":"push"](()=>{pi=q,t(30,pi)})}function Rn(q){We[q?"unshift":"push"](()=>{ti=q,t(38,ti)})}return i.$$set=q=>{"store"in q&&t(119,Y=q.store),"uiConfig"in q&&t(1,pe=q.uiConfig),"title"in q&&t(2,ee=q.title),"thumbUrl"in q&&t(3,B=q.thumbUrl),"videoLogoUrl"in q&&t(4,Q=q.videoLogoUrl),"videoContainer"in q&&t(0,Le=q.videoContainer),"interactiveContainer"in q&&t(120,ye=q.interactiveContainer),"live"in q&&t(5,Te=q.live),"autoplay"in q&&t(6,x=q.autoplay),"canRewindLive"in q&&t(7,le=q.canRewindLive),"showAds"in q&&t(8,be=q.showAds),"adsSlotId"in q&&t(9,ae=q.adsSlotId),"adsParams"in q&&t(10,Ue=q.adsParams),"adsPreviewParam"in q&&t(11,qe=q.adsPreviewParam),"duration"in q&&t(12,Je=q.duration),"logoClickable"in q&&t(13,tt=q.logoClickable),"logoHidden"in q&&t(14,Ne=q.logoHidden),"showNextPrevButtons"in q&&t(15,at=q.showNextPrevButtons),"nextButtonActive"in q&&t(16,St=q.nextButtonActive),"prevButtonActive"in q&&t(17,Be=q.prevButtonActive),"endScreenVideoTitle"in q&&t(18,Ve=q.endScreenVideoTitle),"endScreenVideoThumb"in q&&t(19,kt=q.endScreenVideoThumb),"isOneVideoPlaylist"in q&&t(20,Ot=q.isOneVideoPlaylist),"supportLink"in q&&t(21,mt=q.supportLink),"outerContainerRef"in q&&t(121,ot=q.outerContainerRef),"playerStarted"in q&&t(22,re=q.playerStarted),"fullScreenTarget"in q&&t(122,xe=q.fullScreenTarget),"showMiniTimer"in q&&t(123,Ye=q.showMiniTimer),"playNextVideo"in q&&t(23,it=q.playNextVideo),"playPrevVideo"in q&&t(24,Ge=q.playPrevVideo),"repeatPlaylist"in q&&t(25,ft=q.repeatPlaylist),"seekToInteractive"in q&&t(26,$e=q.seekToInteractive),"toggleGraph"in q&&t(27,Nt=q.toggleGraph),"playPrevChapter"in q&&t(28,wt=q.playPrevChapter),"firstStart"in q&&t(29,nt=q.firstStart)},i.$$.update=()=>{i.$$.dirty[1]&48|i.$$.dirty[4]&786432&&t(42,Vi=(R===Re.Video&&ie||R===Re.Ads&&j===Dt.INACTIVE)&&!A),i.$$.dirty[0]&1073741824&&Xi.set(pi),i.$$.dirty[4]&131072&&t(126,jt=te!==It.PLAYING),i.$$.dirty[4]&66567&&t(127,bi=b&&!(ii||ci)&&!(jt&&!T)),i.$$.dirty[1]&112|i.$$.dirty[4]&33324&&Ie.set((jt||n||v||Z||X)&&!bi&&R===Re.Video&&!A),i.$$.dirty[0]&2|i.$$.dirty[1]&56|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&16384&&t(43,ni=pe.features.thumbTimer&&Ye&&R===Re.Video&&!_&&!A&&!ei&&(pe.hideThumbTimerAfterTouch&&!W||!pe.hideThumbTimerAfterTouch)),i.$$.dirty[1]&32|i.$$.dirty[4]&8320&&t(44,Hi=R===Re.Video&&!P&&c),i.$$.dirty[0]&256|i.$$.dirty[1]&16|i.$$.dirty[4]&4160&&t(31,Li=(be&&S||!be)&&s&&!A),i.$$.dirty[1]&9|i.$$.dirty[4]&3072&&t(45,Gi=L&&!(_||Li)&&!b),i.$$.dirty[0]&2|i.$$.dirty[4]&1552&&(!v&&Fi&&!b&&Kt(pe.controls.hideTimeoutCursor),t(128,Fi=v)),i.$$.dirty[0]&1|i.$$.dirty[1]&6&&t(46,fi=Le&&g%180?r.height/r.width:1),i.$$.dirty[4]&256&&t(47,Wi=h!==null)},[Le,pe,ee,B,Q,Te,x,le,be,ae,Ue,qe,Je,tt,Ne,at,St,Be,Ve,kt,Ot,mt,re,it,Ge,ft,$e,Nt,wt,nt,pi,Li,r,g,_,A,R,Z,ti,qi,ji,ri,Vi,ni,Hi,Gi,fi,Wi,Ui,o,a,f,G,J,ue,w,oe,fe,ve,Me,Ee,we,H,M,ut,Ze,Tt,lt,oi,de,Ce,Ie,Pt,Mi,$t,_i,Bi,Lt,Pe,Rt,Ni,li,ki,wi,si,Qi,hi,Ci,Pi,Ri,Si,Zi,ei,ai,Ti,yt,Ut,zi,Di,qt,gi,Wt,Zt,Ii,rn,en,In,$,_t,Mn,Nn,to,io,no,oo,lo,Fn,so,ne,Y,ye,ot,xe,Ye,ii,ci,jt,bi,Fi,n,s,c,h,v,b,L,S,P,W,X,T,te,j,ie,tn,st,zt,nn,pn,ao,Rn]}class T3 extends ke{constructor(e){super(),_e(this,e,S3,C3,ge,{store:119,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:120,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:121,playerStarted:22,fullScreenTarget:122,showMiniTimer:123,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},w3,[-1,-1,-1,-1,-1,-1])}}const A3=i=>{if(!kr(!0))return!1;const e=i.device===x1.iPad||window?.screen.width>700,t=$1();return!e||e&&!!t&&t<16};function E3(i){Fe(i,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function xa(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L=U("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",A;return{c(){e=k("div"),n=N(),o=k("div"),l=k("div"),s=k("div"),r=N(),c=k("div"),h=N(),g=k("div"),b=N(),_=k("p"),A=ze(L),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(s,"class",a="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(g,"class",v="triangle "+i[0]+" v-nhq2ld"),u(l,"class","triangles-wrapper v-nhq2ld"),u(_,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(S,P){C(S,e,P),C(S,n,P),C(S,o,P),d(o,l),d(l,s),d(l,r),d(l,c),d(l,h),d(l,g),d(o,b),d(o,_),d(_,A)},p(S,P){P&1&&t!==(t="semicircle "+S[0]+" v-nhq2ld")&&u(e,"class",t),P&1&&a!==(a="triangle "+S[0]+" v-nhq2ld")&&u(s,"class",a),P&1&&f!==(f="triangle "+S[0]+" v-nhq2ld")&&u(c,"class",f),P&1&&v!==(v="triangle "+S[0]+" v-nhq2ld")&&u(g,"class",v),P&2&&L!==(L=U("doubletap_seek_step",{seconds:S[1].toFixed(0)})+"")&&Xe(A,L)},d(S){S&&(y(e),y(n),y(o))}}}function V3(i){let e,t,n,o,l=i[2]&&xa(i);return{c(){e=k("div"),l&&l.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(s,a){C(s,e,a),l&&l.m(e,null),n||(o=Ae(e,"click",rt(i[3]())),n=!0)},p(s,[a]){s[2]?l?l.p(s,a):(l=xa(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),a&1&&t!==(t="double-click-area "+s[0]+" v-nhq2ld")&&u(e,"class",t)},i:K,o:K,d(s){s&&y(e),l&&l.d(),n=!1,o()}}}function L3(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:l}=e,{handleSecondClick:s}=e,a=!1,r=0,c=0;const f=()=>{let g=0;return()=>{g+=1,g===1?r=window.setTimeout(()=>{l(),g=0},300):(window.clearTimeout(r),g=0,s(),t(2,a=!0),c=window.setTimeout(()=>{t(2,a=!1)},500))}};return Ro(()=>{window.clearTimeout(r),window.clearTimeout(c)}),i.$$set=h=>{"side"in h&&t(0,n=h.side),"seekStep"in h&&t(1,o=h.seekStep),"handleSingleFirstClick"in h&&t(4,l=h.handleSingleFirstClick),"handleSecondClick"in h&&t(5,s=h.handleSecondClick)},[n,o,a,f,l,s]}class F1 extends ke{constructor(e){super(),_e(this,e,L3,V3,ge,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},E3)}}function I3(i,e,t){let{playNextVideo:n}=e;return Ki(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class M3 extends ke{constructor(e){super(),_e(this,e,I3,null,ge,{playNextVideo:0})}}const{window:B3}=Sr;function N3(i){Fe(i,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function $a(i){let e,t,n,o;e=new F1({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[127]}});let l=!i[48]&&er(i);return{c(){O(e.$$.fragment),t=N(),l&&l.c(),n=ht()},m(s,a){z(e,s,a),C(s,t,a),l&&l.m(s,a),C(s,n,a),o=!0},p(s,a){const r={};a[0]&2&&(r.seekStep=s[1].controls.seekStepMobile/1e3),e.$set(r),s[48]?l&&(me(),p(l,1,1,()=>{l=null}),he()):l?(l.p(s,a),a[1]&131072&&m(l,1)):(l=er(s),l.c(),m(l,1),l.m(n.parentNode,n))},i(s){o||(m(e.$$.fragment,s),m(l),o=!0)},o(s){p(e.$$.fragment,s),p(l),o=!1},d(s){s&&(y(t),y(n)),D(e,s),l&&l.d(s)}}}function er(i){let e,t;return e=new F1({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[128]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&2&&(l.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function tr(i){let e,t;return e=new D1({props:{thumbUrl:i[2],startTime:i[4]?.startTime}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.thumbUrl=n[2]),o[0]&16&&(l.startTime=n[4]?.startTime),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ir(i){let e,t;return e=new O1({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function nr(i){let e,t,n;return t=new xr({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),V(e,"hidden",i[34]!==Re.Ads)},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&256&&(s.adsSlotId=o[8]),l[0]&512&&(s.adsParams=o[9]),l[0]&1024&&(s.adsPreviewParam=o[10]),l[0]&2048&&(s.duration=o[11]),t.$set(s),(!n||l[1]&8)&&V(e,"hidden",o[34]!==Re.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function or(i){let e,t;return e=new M3({props:{playNextVideo:i[22]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4194304&&(l.playNextVideo=n[22]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function lr(i){let e,t;return e=new M1({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function sr(i){let e,t,n;return t=new Zr({props:{ariaLabel:U("video360")}}),{c(){e=k("div"),O(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function ar(i){let e,t;return e=new N1({props:{thumbUrl:i[2],chromecastDeviceName:i[51]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.thumbUrl=n[2]),o[1]&1048576&&(l.chromecastDeviceName=n[51]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function rr(i){let e,t;return e=new B1({props:{shifted:i[30],captions:i[53],position:i[44],playerSize:i[31],isMobile:!0}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&1073741824&&(l.shifted=n[30]),o[1]&4194304&&(l.captions=n[53]),o[1]&8192&&(l.position=n[44]),o[1]&1&&(l.playerSize=n[31]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ur(i){let e,t;return e=new $r({props:{showControls:i[30]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&1073741824&&(l.showControls=n[30]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function cr(i){let e,t,n,o,l;return t=new R1({}),{c(){e=k("div"),O(t.$$.fragment)},m(s,a){C(s,e,a),z(t,e,null),n=!0,o||(l=Ae(e,"click",rt(i[100])),o=!0)},p:K,i(s){n||(m(t.$$.fragment,s),n=!0)},o(s){p(t.$$.fragment,s),n=!1},d(s){s&&y(e),D(t),o=!1,l()}}}function fr(i){let e,t;return e=new a1({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function dr(i){let e,t;return e=new i1({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function mr(i){let e,t,n=i[6]&&i[78]&&!i[47].has(ct.TIMELINE),o,l,s,a,r,c,f,h,g,v,b,_,L,A,S,P,R,W,X;e=new z1({props:{hidden:i[34]!==Re.Thumb||i[33]||i[89]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let Z=n&&$a(i),T=i[34]===Re.WaitingLive&&tr(i),te=i[34]===Re.WaitingRecord&&ir(),j=i[7]&&i[21]&&nr(i),ie=i[41]&&i[17]&&i[18]&&or(i),G=i[49]&&lr(),J=i[50]&&sr(),ue=i[35]&&ar(i),w=i[52].value!=="off"&&rr(i),oe=i[1].features.annotations&&ur(i),fe=i[33]&&cr(i);function ve(H){i[129](H)}let Me={bottomHidden:i[34]===Re.Thumb||i[34]===Re.WaitingLive||i[34]===Re.WaitingRecord||i[34]===Re.Ads,showControls:i[30],bottomNoSmooth:i[45],isAds:i[34]===Re.Ads,canRewindLive:i[6]&&i[54]!==0,logoClickable:i[12],logoHidden:i[13],videoLogoUrl:i[3],showNextPrevButtons:i[14],nextButtonActive:i[15],prevButtonActive:i[16],isOneVideoPlaylist:i[19],supportLink:i[20],customFullscreenSupported:i[39],playNextVideo:i[22],playPrevVideo:i[23],repeatPlaylist:i[24],toggleFullscreen:i[97],seekToInteractive:i[25],toggleGraph:i[26],playPrevChapter:i[27]};i[37]!==void 0&&(Me.controlsElementRef=i[37]),_=new L1({props:Me}),We.push(()=>bt(_,"controlsElementRef",ve)),S=new t1({props:{isLive:i[55],isHidden:!i[40],isPlaying:i[56],position:i[44],duration:i[43]}});let Ee=i[38]&&fr(),we=i[57]&&dr();return{c(){O(e.$$.fragment),t=N(),Z&&Z.c(),o=N(),T&&T.c(),l=N(),te&&te.c(),s=N(),j&&j.c(),a=N(),ie&&ie.c(),r=N(),G&&G.c(),c=N(),J&&J.c(),f=N(),ue&&ue.c(),h=N(),w&&w.c(),g=N(),oe&&oe.c(),v=N(),fe&&fe.c(),b=N(),O(_.$$.fragment),A=N(),O(S.$$.fragment),P=N(),Ee&&Ee.c(),R=N(),we&&we.c(),W=ht()},m(H,M){z(e,H,M),C(H,t,M),Z&&Z.m(H,M),C(H,o,M),T&&T.m(H,M),C(H,l,M),te&&te.m(H,M),C(H,s,M),j&&j.m(H,M),C(H,a,M),ie&&ie.m(H,M),C(H,r,M),G&&G.m(H,M),C(H,c,M),J&&J.m(H,M),C(H,f,M),ue&&ue.m(H,M),C(H,h,M),w&&w.m(H,M),C(H,g,M),oe&&oe.m(H,M),C(H,v,M),fe&&fe.m(H,M),C(H,b,M),z(_,H,M),C(H,A,M),z(S,H,M),C(H,P,M),Ee&&Ee.m(H,M),C(H,R,M),we&&we.m(H,M),C(H,W,M),X=!0},p(H,M){const Y={};M[0]&32|M[1]&12&&(Y.hidden=H[34]!==Re.Thumb||H[33]||H[89]&&H[5]),M[0]&4&&(Y.thumbUrl=H[2]),M[0]&268435456&&(Y.startVideo=H[28]),e.$set(Y),M[0]&64|M[1]&65536&&(n=H[6]&&H[78]&&!H[47].has(ct.TIMELINE)),n?Z?(Z.p(H,M),M[0]&64|M[1]&65536&&m(Z,1)):(Z=$a(H),Z.c(),m(Z,1),Z.m(o.parentNode,o)):Z&&(me(),p(Z,1,1,()=>{Z=null}),he()),H[34]===Re.WaitingLive?T?(T.p(H,M),M[1]&8&&m(T,1)):(T=tr(H),T.c(),m(T,1),T.m(l.parentNode,l)):T&&(me(),p(T,1,1,()=>{T=null}),he()),H[34]===Re.WaitingRecord?te?M[1]&8&&m(te,1):(te=ir(),te.c(),m(te,1),te.m(s.parentNode,s)):te&&(me(),p(te,1,1,()=>{te=null}),he()),H[7]&&H[21]?j?(j.p(H,M),M[0]&2097280&&m(j,1)):(j=nr(H),j.c(),m(j,1),j.m(a.parentNode,a)):j&&(me(),p(j,1,1,()=>{j=null}),he()),H[41]&&H[17]&&H[18]?ie?(ie.p(H,M),M[0]&393216|M[1]&1024&&m(ie,1)):(ie=or(H),ie.c(),m(ie,1),ie.m(r.parentNode,r)):ie&&(me(),p(ie,1,1,()=>{ie=null}),he()),H[49]?G?M[1]&262144&&m(G,1):(G=lr(),G.c(),m(G,1),G.m(c.parentNode,c)):G&&(me(),p(G,1,1,()=>{G=null}),he()),H[50]?J?(J.p(H,M),M[1]&524288&&m(J,1)):(J=sr(),J.c(),m(J,1),J.m(f.parentNode,f)):J&&(me(),p(J,1,1,()=>{J=null}),he()),H[35]?ue?(ue.p(H,M),M[1]&16&&m(ue,1)):(ue=ar(H),ue.c(),m(ue,1),ue.m(h.parentNode,h)):ue&&(me(),p(ue,1,1,()=>{ue=null}),he()),H[52].value!=="off"?w?(w.p(H,M),M[1]&2097152&&m(w,1)):(w=rr(H),w.c(),m(w,1),w.m(g.parentNode,g)):w&&(me(),p(w,1,1,()=>{w=null}),he()),H[1].features.annotations?oe?(oe.p(H,M),M[0]&2&&m(oe,1)):(oe=ur(H),oe.c(),m(oe,1),oe.m(v.parentNode,v)):oe&&(me(),p(oe,1,1,()=>{oe=null}),he()),H[33]?fe?(fe.p(H,M),M[1]&4&&m(fe,1)):(fe=cr(H),fe.c(),m(fe,1),fe.m(b.parentNode,b)):fe&&(me(),p(fe,1,1,()=>{fe=null}),he());const pe={};M[1]&8&&(pe.bottomHidden=H[34]===Re.Thumb||H[34]===Re.WaitingLive||H[34]===Re.WaitingRecord||H[34]===Re.Ads),M[0]&1073741824&&(pe.showControls=H[30]),M[1]&16384&&(pe.bottomNoSmooth=H[45]),M[1]&8&&(pe.isAds=H[34]===Re.Ads),M[0]&64|M[1]&8388608&&(pe.canRewindLive=H[6]&&H[54]!==0),M[0]&4096&&(pe.logoClickable=H[12]),M[0]&8192&&(pe.logoHidden=H[13]),M[0]&8&&(pe.videoLogoUrl=H[3]),M[0]&16384&&(pe.showNextPrevButtons=H[14]),M[0]&32768&&(pe.nextButtonActive=H[15]),M[0]&65536&&(pe.prevButtonActive=H[16]),M[0]&524288&&(pe.isOneVideoPlaylist=H[19]),M[0]&1048576&&(pe.supportLink=H[20]),M[1]&256&&(pe.customFullscreenSupported=H[39]),M[0]&4194304&&(pe.playNextVideo=H[22]),M[0]&8388608&&(pe.playPrevVideo=H[23]),M[0]&16777216&&(pe.repeatPlaylist=H[24]),M[0]&33554432&&(pe.seekToInteractive=H[25]),M[0]&67108864&&(pe.toggleGraph=H[26]),M[0]&134217728&&(pe.playPrevChapter=H[27]),!L&&M[1]&64&&(L=!0,pe.controlsElementRef=H[37],gt(()=>L=!1)),_.$set(pe);const ee={};M[1]&16777216&&(ee.isLive=H[55]),M[1]&512&&(ee.isHidden=!H[40]),M[1]&33554432&&(ee.isPlaying=H[56]),M[1]&8192&&(ee.position=H[44]),M[1]&4096&&(ee.duration=H[43]),S.$set(ee),H[38]?Ee?M[1]&128&&m(Ee,1):(Ee=fr(),Ee.c(),m(Ee,1),Ee.m(R.parentNode,R)):Ee&&(me(),p(Ee,1,1,()=>{Ee=null}),he()),H[57]?we?M[1]&67108864&&m(we,1):(we=dr(),we.c(),m(we,1),we.m(W.parentNode,W)):we&&(me(),p(we,1,1,()=>{we=null}),he())},i(H){X||(m(e.$$.fragment,H),m(Z),m(T),m(te),m(j),m(ie),m(G),m(J),m(ue),m(w),m(oe),m(fe),m(_.$$.fragment,H),m(S.$$.fragment,H),m(Ee),m(we),X=!0)},o(H){p(e.$$.fragment,H),p(Z),p(T),p(te),p(j),p(ie),p(G),p(J),p(ue),p(w),p(oe),p(fe),p(_.$$.fragment,H),p(S.$$.fragment,H),p(Ee),p(we),X=!1},d(H){H&&(y(t),y(o),y(l),y(s),y(a),y(r),y(c),y(f),y(h),y(g),y(v),y(b),y(A),y(P),y(R),y(W)),D(e,H),Z&&Z.d(H),T&&T.d(H),te&&te.d(H),j&&j.d(H),ie&&ie.d(H),G&&G.d(H),J&&J.d(H),ue&&ue.d(H),w&&w.d(H),oe&&oe.d(H),fe&&fe.d(H),D(_,H),D(S,H),Ee&&Ee.d(H),we&&we.d(H)}}}function R3(i){let e,t,n,o,l,s=i[46],a,r,c,f,h,g=mr(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=N(),g.c(),a=N(),r=k("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${i[32]}deg) scale(${i[42]})`),V(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),V(t,"hidden",i[34]!==Re.Video),u(r,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut")},m(v,b){C(v,e,b),d(e,t),d(t,n),i[126](n),d(e,l),g.m(e,null),d(e,a),d(e,r),i[130](r),i[131](e),c=!0,f||(h=[Ae(B3,"blur",i[98]),Ae(t,"click",di(i[99])),Ae(e,"click",i[101],!0),Ae(e,"focusin",i[102],!0)],f=!0)},p(v,b){(!c||b[1]&2050&&o!==(o=`transform: rotate(${v[32]}deg) scale(${v[42]})`))&&u(n,"style",o),(!c||b[0]&2)&&V(n,"fast-rotate",!v[1].isSmoothVideoRotate),(!c||b[1]&8)&&V(t,"hidden",v[34]!==Re.Video),b[1]&32768&&ge(s,s=v[46])?(me(),p(g,1,1,K),he(),g=mr(v),g.c(),m(g,1),g.m(e,a)):g.p(v,b)},i(v){c||(m(g),c=!0)},o(v){p(g),c=!1},d(v){v&&y(e),i[126](null),g.d(v),i[130](null),i[131](null),f=!1,xt(h)}}}function z3(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,L,A,S,P,R,W,X,Z,T,te,j,ie,G,J,ue,w,oe,fe,ve,Me,Ee,we,H,{store:M}=e,{uiConfig:Y}=e,{thumbUrl:pe}=e,{videoLogoUrl:ee}=e,{videoContainer:B}=e,{interactiveContainer:Q}=e,{live:Le}=e,{autoplay:ye}=e,{canRewindLive:Te}=e,{showAds:x}=e,{adsSlotId:le=void 0}=e,{adsParams:be=void 0}=e,{adsPreviewParam:ae=void 0}=e,{duration:Ue=void 0}=e,{logoClickable:qe}=e,{logoHidden:Je}=e,{showNextPrevButtons:tt=!1}=e,{nextButtonActive:Ne=!1}=e,{prevButtonActive:at=!1}=e,{endScreenVideoTitle:St=void 0}=e,{endScreenVideoThumb:Be=void 0}=e,{isOneVideoPlaylist:Ve=!1}=e,{supportLink:kt}=e,{outerContainerRef:Ot=void 0}=e,{showMiniTimer:mt=!1}=e,{fullScreenTarget:ot=void 0}=e,{playerStarted:re=!1}=e,{playNextVideo:xe=et}=e,{playPrevVideo:Ye=et}=e,{repeatPlaylist:it=et}=e,{seekToInteractive:Ge}=e,{toggleGraph:ft}=e,{playPrevChapter:$e}=e,{firstStart:Nt}=e,{seekTime:wt}=e;const nt=M.getLogger().createComponentLog("Root component"),Ht=M.interfaceLanguage$;F(i,Ht,$=>t(46,ie=$));const ut=M.state.playbackState$;F(i,ut,$=>t(123,T=$));const Ze=M.ads.playbackState;F(i,Ze,$=>t(124,te=$));const Tt=M.state.positionWithScrubbing$;F(i,Tt,$=>t(44,s=$));const lt=M.state.duration$;F(i,lt,$=>t(43,l=$));const oi=M.playerPhase;F(i,oi,$=>t(34,R=$));const de=M.ui.isFullscreen;F(i,de,$=>t(137,r=$));const Ce=M.ui.controlsVisible;F(i,Ce,$=>t(30,o=$));const Ie=M.ui.interactiveHideMobileControls;F(i,Ie,$=>t(115,g=$));const Pt=M.ui.settingsMenuVisible;F(i,Pt,$=>t(114,n=$));const Mi=M.ui.scrubbingInProgress;F(i,Mi,$=>t(116,b=$));const $t=M.ui.debugPanelVisible;F(i,$t,$=>t(57,H=$));const _i=M.state.isLoaderVisible;F(i,_i,$=>t(125,j=$));const Bi=M.state.isEnded$;F(i,Bi,$=>t(118,A=$));const Lt=M.state.chromecastConnected$;F(i,Lt,$=>t(35,W=$));const Pe=M.state.chromecastDeviceName$;F(i,Pe,$=>t(51,oe=$));const Rt=M.ads.postrollPassed;F(i,Rt,$=>t(119,S=$));const Ni=M.ui.mobileUnmuteButtonExpanded,li=M.ui.mobileUnmuteButtonVisible,ki=M.state.isLive$;F(i,ki,$=>t(55,Ee=$));const wi=M.state.isPlaying$;F(i,wi,$=>t(56,we=$));const yi=M.state.isActiveLive$;F(i,yi,$=>t(48,J=$));const si=M.state.isRewindableLive$,Qi=M.state.crashed$;F(i,Qi,$=>t(33,L=$));const hi=M.webApi.pictureInPictureApi,Ci=M.state.videoSize$;F(i,Ci,$=>t(138,f=$));const Pi=M.state.currentSubtitle$;F(i,Pi,$=>t(52,fe=$));const Ri=M.state.currentSubtitleCaptions$;F(i,Ri,$=>t(53,ve=$));const Si=M.state.duration$;F(i,Si,$=>t(54,Me=$));const Zi=M.state.graphIsOpened$;F(i,Zi,$=>t(122,Z=$));const ei=M.ui.playerSize;F(i,ei,$=>t(31,c=$));const ai=M.ui.is3DVideo;F(i,ai,$=>t(49,ue=$));const Ti=M.ui.icon3DVideoVisible;F(i,Ti,$=>t(50,w=$));const Ft=M.ui.rotateAlpha;F(i,Ft,$=>t(32,v=$));const yt=M.state.isInteractive,Ut=M.state.isInteractiveTime$;F(i,Ut,$=>t(117,_=$));const zi=M.state.isInteractiveExpectation$;F(i,zi,$=>t(121,X=$));const Xi=M.state.hasInteractiveBranches,Di=M.ui.controls.disabledControls$;F(i,Di,$=>t(47,G=$));const ti=M.ui.touched;F(i,ti,$=>t(120,P=$));const qi=M.ui.clientInfo$;F(i,qi,$=>t(136,a=$));const ji=M.ui.overlayContainer$;let ri,Oi,Ai,Ei,Vi,pi,qt;const ui=Oe(!1);F(i,ui,$=>t(45,h=$));let gi,Wt=!1,Zt,ii=!1,ci,jt=!0,bi,ni,Hi=!1,Li;hi?.setContext(Tr());const Gi=$=>{clearTimeout(Ei),$&&(li.set(!0),Ni.set(!0),Ei=window.setTimeout(()=>{Ni.set(!1)},Y.controls.collapseMobileUnmute),yt||fi(Y.controls.hideTimeoutMobile))};M.setUiCallbacks({onStarted:Gi});const Fi=()=>{window.clearTimeout(Ai),t(109,Wt=!1),g&&Ie.set(!1)},fi=$=>{Fi(),t(109,Wt=!0),Ai=window.setTimeout(()=>t(109,Wt=!1),$);const _t=$-100;gi=window.setTimeout(()=>{h&&ui.set(!1)},_t>0?_t:$)},Wi=ai.subscribe($=>{Ti.set($),$&&(window.clearTimeout(Vi),Vi=window.setTimeout(()=>Ti.set(!1),Y.controls.hide360IconTimeout))}),Ii=async()=>{const $=po();if($){fi(Y.controls.hideTimeoutFullscreen);try{await hi?.remove()}catch(_t){nt({message:String(_t)})}try{const _t=f?.width&&f?.height?f:c;await oc(_t)}catch(_t){nt({message:String(_t)})}}de.set($),M.getAdmanWrapper().setFullscreen($),r?M.callbacks?.onFullscreenEnter?.():M.callbacks?.onFullscreenExit?.()},se=$=>{const _t=$;ei.set({width:_t.target.width,height:_t.target.height})};Ki(()=>(Xr(Ii),Mo(hi)&&(hi?.assignPlayerContainer(ri),hi?.registryExternalEventHandlers({resize:se})),t(39,jt=!A3(a)),Q&&B.parentElement?.insertBefore(Q,B.nextSibling),()=>{window.clearTimeout(Ai),window.clearTimeout(gi),window.clearTimeout(Ei),window.clearTimeout(Vi),Wi(),hi?.dispose(),Jr(Ii)}));const Gt=$=>{let _t=s+($==="forward"?1:-1)*Y.controls.seekStepMobile/1e3;_t<0?_t=0:_t>l&&(_t=l-1),t(111,ii=!0),wt(_t)},Ui=async()=>{if(po())await Qr(document),nt({message:"exit fullscreen"});else{nt({message:"request fullscreen"});const $=Ot??ri,_t=$.getRootNode(),Mn=_t instanceof ShadowRoot?_t.host:_t,Bn=ot instanceof HTMLElement&&ot.contains(Mn),Nn=Y.allowChangingFullscreenTarget&&ot&&Bn?ot:$;await Yr(Nn)}},Ji=()=>{Pt.set(!1)},dn=()=>{if(n){Ji();return}if(!re){Nt(),fi(Y.controls.hideTimeoutCursor);return}t(111,ii=!1),o?Fi():fi(Y.controls.hideTimeoutMobile)},mn=()=>{if(n){Ji();return}},Kt=()=>{ti.set(!0)},Vn=()=>{yt||(ui.set(!0),fi(Y.controls.hideTimeoutCursor))};function Ln($){We[$?"unshift":"push"](()=>{B=$,t(0,B)})}const hn=()=>Gt("backward"),Sn=()=>Gt("forward");function rn($){Oi=$,t(37,Oi)}function en($){We[$?"unshift":"push"](()=>{qt=$,t(29,qt)})}function In($){We[$?"unshift":"push"](()=>{ri=$,t(36,ri)})}return i.$$set=$=>{"store"in $&&t(103,M=$.store),"uiConfig"in $&&t(1,Y=$.uiConfig),"thumbUrl"in $&&t(2,pe=$.thumbUrl),"videoLogoUrl"in $&&t(3,ee=$.videoLogoUrl),"videoContainer"in $&&t(0,B=$.videoContainer),"interactiveContainer"in $&&t(104,Q=$.interactiveContainer),"live"in $&&t(4,Le=$.live),"autoplay"in $&&t(5,ye=$.autoplay),"canRewindLive"in $&&t(6,Te=$.canRewindLive),"showAds"in $&&t(7,x=$.showAds),"adsSlotId"in $&&t(8,le=$.adsSlotId),"adsParams"in $&&t(9,be=$.adsParams),"adsPreviewParam"in $&&t(10,ae=$.adsPreviewParam),"duration"in $&&t(11,Ue=$.duration),"logoClickable"in $&&t(12,qe=$.logoClickable),"logoHidden"in $&&t(13,Je=$.logoHidden),"showNextPrevButtons"in $&&t(14,tt=$.showNextPrevButtons),"nextButtonActive"in $&&t(15,Ne=$.nextButtonActive),"prevButtonActive"in $&&t(16,at=$.prevButtonActive),"endScreenVideoTitle"in $&&t(17,St=$.endScreenVideoTitle),"endScreenVideoThumb"in $&&t(18,Be=$.endScreenVideoThumb),"isOneVideoPlaylist"in $&&t(19,Ve=$.isOneVideoPlaylist),"supportLink"in $&&t(20,kt=$.supportLink),"outerContainerRef"in $&&t(105,Ot=$.outerContainerRef),"showMiniTimer"in $&&t(106,mt=$.showMiniTimer),"fullScreenTarget"in $&&t(107,ot=$.fullScreenTarget),"playerStarted"in $&&t(21,re=$.playerStarted),"playNextVideo"in $&&t(22,xe=$.playNextVideo),"playPrevVideo"in $&&t(23,Ye=$.playPrevVideo),"repeatPlaylist"in $&&t(24,it=$.repeatPlaylist),"seekToInteractive"in $&&t(25,Ge=$.seekToInteractive),"toggleGraph"in $&&t(26,ft=$.toggleGraph),"playPrevChapter"in $&&t(27,$e=$.playPrevChapter),"firstStart"in $&&t(28,Nt=$.firstStart),"seekTime"in $&&t(108,wt=$.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&12|i.$$.dirty[4]&3&&t(38,pi=(R===Re.Video&&j||R===Re.Ads&&te===Dt.INACTIVE)&&!L),i.$$.dirty[0]&536870912&&ji.set(qt),i.$$.dirty[3]&1073741824&&t(110,Zt=T!==It.PLAYING),i.$$.dirty[3]&843251712&&t(112,ci=Z||g||!Wt&&(A&&!!Xi||Zt&&X)),i.$$.dirty[1]&28|i.$$.dirty[3]&11468800&&Ce.set((Zt||n||b||W||Wt&&!ii)&&!ci&&R===Re.Video&&!L),i.$$.dirty[0]&1073741826|i.$$.dirty[1]&12|i.$$.dirty[3]&134225920&&t(40,bi=Y.features.thumbTimer&&mt&&R===Re.Video&&!o&&!L&&!yt&&(Y.hideThumbTimerAfterTouch&&!P||!Y.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&4|i.$$.dirty[3]&100663296&&t(41,ni=(x&&S||!x)&&A&&!L),i.$$.dirty[0]&2|i.$$.dirty[3]&26214400&&(!b&&Hi&&!_&&fi(Y.controls.hideTimeoutMobile),t(113,Hi=b)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(42,Li=B&&v%180?c.height/c.width:1)},[B,Y,pe,ee,Le,ye,Te,x,le,be,ae,Ue,qe,Je,tt,Ne,at,St,Be,Ve,kt,re,xe,Ye,it,Ge,ft,$e,Nt,qt,o,c,v,L,R,W,ri,Oi,pi,jt,bi,ni,Li,l,s,h,ie,G,J,ue,w,oe,fe,ve,Me,Ee,we,H,Ht,ut,Ze,Tt,lt,oi,de,Ce,Ie,Pt,Mi,$t,_i,Bi,Lt,Pe,Rt,ki,wi,yi,si,Qi,Ci,Pi,Ri,Si,Zi,ei,ai,Ti,Ft,yt,Ut,zi,Di,ti,qi,ui,Gt,Ui,Ji,dn,mn,Kt,Vn,M,Q,Ot,mt,ot,wt,Wt,Zt,ii,ci,Hi,n,g,b,_,A,S,P,X,Z,T,te,j,Ln,hn,Sn,rn,en,In]}class D3 extends ke{constructor(e){super(),_e(this,e,z3,R3,ge,{store:103,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:104,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:105,showMiniTimer:106,fullScreenTarget:107,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:108},N3,[-1,-1,-1,-1,-1])}}function O3(i){Fe(i,"v-labq99",`.root.v-labq99{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
|
|
32
|
+
)}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function Rp(t){let e,i;return{c(){e=T("div"),i=ze(t[0]),u(e,"class","title v-1bcvcf2"),B(e,"hidden",t[1])},m(n,o){E(n,e,o),m(e,i)},p(n,[o]){o&1&&Qe(i,n[0]),o&2&&B(e,"hidden",n[1])},i:W,o:W,d(n){n&&S(e)}}}function Np(t,e,i){let{title:n=""}=e,{isHidden:o=!1}=e;return t.$$set=s=>{"title"in s&&i(0,n=s.title),"isHidden"in s&&i(1,o=s.isHidden)},[n,o]}class zp extends we{constructor(e){super(),ve(this,e,Np,Rp,ge,{title:0,isHidden:1},Bp)}}function Dp(t){He(t,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function wa(t){let e,i,n,o,s,l,r;return{c(){e=T("div"),i=T("span"),n=ze(t[0]),o=z(),s=T("span"),s.textContent=`${K("waiting_live_day_value")}`,l=z(),r=T("span"),r.textContent=`${K("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),m(e,i),m(i,n),m(e,o),m(e,s),E(a,l,c),E(a,r,c)},p(a,c){c&1&&Qe(n,a[0])},d(a){a&&(S(e),S(l),S(r))}}}function ka(t){let e,i,n,o,s,l,r;return{c(){e=T("div"),i=T("span"),n=ze(t[1]),o=z(),s=T("span"),s.textContent=`${K("waiting_live_hour_value")}`,l=z(),r=T("span"),r.textContent=`${K("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),m(e,i),m(i,n),m(e,o),m(e,s),E(a,l,c),E(a,r,c)},p(a,c){c&2&&Qe(n,a[1])},d(a){a&&(S(e),S(l),S(r))}}}function ya(t){let e,i,n,o,s,l,r;return{c(){e=T("div"),i=T("span"),n=ze(t[2]),o=z(),s=T("span"),s.textContent=`${K("waiting_live_minute_value")}`,l=z(),r=T("span"),r.textContent=`${K("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),m(e,i),m(i,n),m(e,o),m(e,s),E(a,l,c),E(a,r,c)},p(a,c){c&4&&Qe(n,a[2])},d(a){a&&(S(e),S(l),S(r))}}}function Ca(t){let e,i,n,o,s;return{c(){e=T("div"),i=T("span"),n=ze(t[3]),o=z(),s=T("span"),s.textContent=`${K("waiting_live_second_value")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(l,r){E(l,e,r),m(e,i),m(i,n),m(e,o),m(e,s)},p(l,r){r&8&&Qe(n,l[3])},d(l){l&&S(e)}}}function Op(t){let e,i,n,o,s=t[0]&&wa(t),l=t[1]&&ka(t),r=t[2]&&ya(t),a=t[3]&&Ca(t);return{c(){e=T("div"),s&&s.c(),i=z(),l&&l.c(),n=z(),r&&r.c(),o=z(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){E(c,e,f),s&&s.m(e,null),m(e,i),l&&l.m(e,null),m(e,n),r&&r.m(e,null),m(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?s?s.p(c,f):(s=wa(c),s.c(),s.m(e,i)):s&&(s.d(1),s=null),c[1]?l?l.p(c,f):(l=ka(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[2]?r?r.p(c,f):(r=ya(c),r.c(),r.m(e,o)):r&&(r.d(1),r=null),c[3]?a?a.p(c,f):(a=Ca(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:W,o:W,d(c){c&&S(e),s&&s.d(),l&&l.d(),r&&r.d(),a&&a.d()}}}function Hp(t,e,i){let{startTime:n}=e,{onTimerOver:o}=e,s,l,r,a,c;const f=_=>String(_).padStart(2,"0"),p=_=>{const b=Math.floor(_/86400);b&&(_-=b*86400,i(0,s=f(b)));const k=Math.floor(_/3600);i(1,l=f(k));const v=Math.floor(_/60)%60;i(2,r=f(v));const P=_%60;i(3,a=f(P))},h=()=>{const _=Math.floor(Date.now()/1e3),b=n-_;p(b),b>=1?c=requestAnimationFrame(h):o()};return ln(()=>{c=requestAnimationFrame(h)}),nl(()=>{cancelAnimationFrame(c)}),t.$$set=_=>{"startTime"in _&&i(4,n=_.startTime),"onTimerOver"in _&&i(5,o=_.onTimerOver)},[s,l,r,a,n,o]}class Fp extends we{constructor(e){super(),ve(this,e,Hp,Op,ge,{startTime:4,onTimerOver:5},Dp)}}function Up(t){let e,i,n,o,s;return{c(){e=R("svg"),i=R("path"),n=R("path"),o=R("path"),s=R("path"),u(i,"fill","#fefffe"),u(i,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),St(i,"opacity",".965"),u(n,"fill","#fefffe"),u(n,"d","M183.5 63.5c57.529-3.65 102.029 18.35 133.5 66 21.628 40.092 24.295 81.425 8 124a186.647 186.647 0 0 1-17.5 29.5 632.842 632.842 0 0 1-38-7c36.445-38.176 42.945-81.01 19.5-128.5-24.178-37.504-58.678-54.337-103.5-50.5-49.5 9.5-79 39-88.5 88.5-3.944 35.587 6.889 65.753 32.5 90.5a1149.466 1149.466 0 0 0-36 7.5c-1.53-.029-2.696-.696-3.5-2-29.298-42.431-34.631-87.764-16-136 21.866-46.852 58.366-74.185 109.5-82Z"),St(n,"opacity",".965"),u(o,"fill","#fefffe"),u(o,"d","M187.5 127.5c44.524-2.948 72.357 17.052 83.5 60 3.431 44.55-16.403 72.383-59.5 83.5-44.55 3.431-72.383-16.403-83.5-59.5-3.229-44.571 16.604-72.571 59.5-84Z"),St(o,"opacity",".985"),u(s,"fill","#fefffe"),u(s,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),St(s,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),St(e,"shape-rendering","geometricPrecision"),St(e,"text-rendering","geometricPrecision"),St(e,"image-rendering","optimizeQuality"),St(e,"fill-rule","evenodd"),St(e,"clip-rule","evenodd"),St(e,"width","100%"),St(e,"height","100%")},m(l,r){E(l,e,r),m(e,i),m(e,n),m(e,o),m(e,s)},p:W,i:W,o:W,d(l){l&&S(e)}}}class qp extends we{constructor(e){super(),ve(this,e,null,Up,ge,{})}}function Wp(t){He(t,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function Zp(t){let e,i,n,o,s;return o=new Fp({props:{startTime:t[1]||0,onTimerOver:t[3]}}),{c(){e=T("div"),i=T("span"),i.textContent=`${K("waiting_live_timer_title")}`,n=z(),U(o.$$.fragment),u(i,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(l,r){E(l,e,r),m(e,i),m(e,n),H(o,e,null),s=!0},p(l,r){const a={};r&2&&(a.startTime=l[1]||0),r&4&&(a.onTimerOver=l[3]),o.$set(a)},i(l){s||(d(o.$$.fragment,l),s=!0)},o(l){g(o.$$.fragment,l),s=!1},d(l){l&&S(e),F(o)}}}function jp(t){let e,i,n,o,s,l;return n=new qp({}),{c(){e=T("div"),i=T("div"),U(n.$$.fragment),o=z(),s=T("span"),s.textContent=`${K("waiting_live_upcoming_title")}`,u(i,"class","upcoming-icon v-15pewff"),u(s,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(r,a){E(r,e,a),m(e,i),H(n,i,null),m(e,o),m(e,s),l=!0},p:W,i(r){l||(d(n.$$.fragment,r),l=!0)},o(r){g(n.$$.fragment,r),l=!1},d(r){r&&S(e),F(n)}}}function Kp(t){let e,i,n,o,s;const l=[jp,Zp],r=[];function a(c,f){return c[2]?0:1}return i=a(t),n=r[i]=l[i](t),{c(){e=T("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${t[2]?"":t[0]})`)},m(c,f){E(c,e,f),r[i].m(e,null),s=!0},p(c,[f]){let p=i;i=a(c),i===p?r[i].p(c,f):(fe(),g(r[p],1,1,()=>{r[p]=null}),de(),n=r[i],n?n.p(c,f):(n=r[i]=l[i](c),n.c()),d(n,1),n.m(e,null)),(!s||f&5&&o!==(o=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",o)},i(c){s||(d(n),s=!0)},o(c){g(n),s=!1},d(c){c&&S(e),r[i].d()}}}function Gp(t,e,i){let n,{thumbUrl:o}=e,{startTime:s}=e;const l=()=>i(2,n=!0);return t.$$set=r=>{"thumbUrl"in r&&i(0,o=r.thumbUrl),"startTime"in r&&i(1,s=r.startTime)},t.$$.update=()=>{t.$$.dirty&2&&i(2,n=s===void 0||s<Math.floor(Date.now()/1e3))},[o,s,n,l]}class Eu extends we{constructor(e){super(),ve(this,e,Gp,Kp,ge,{thumbUrl:0,startTime:1},Wp)}}function Yp(t){He(t,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function Qp(t){let e,i;return{c(){e=T("div"),i=T("p"),i.textContent=`${K("waiting_record_title")}`,u(i,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){E(n,e,o),m(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class Au extends we{constructor(e){super(),ve(this,e,null,Qp,ge,{},Yp)}}const{window:Xp}=a1;function Jp(t){He(t,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function Pa(t){let e,i;return e=new Eu({props:{thumbUrl:t[3],startTime:t[5]?.startTime}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&8&&(s.thumbUrl=n[3]),o[0]&32&&(s.startTime=n[5]?.startTime),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Sa(t){let e,i;return e=new Au({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ta(t){let e,i,n;return i=new D1({props:{adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12]}}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),B(e,"hidden",t[38]!==Re.Ads)},m(o,s){E(o,e,s),H(i,e,null),n=!0},p(o,s){const l={};s[0]&512&&(l.adsSlotId=o[9]),s[0]&1024&&(l.adsParams=o[10]),s[0]&2048&&(l.adsPreviewParam=o[11]),s[0]&4096&&(l.duration=o[12]),i.$set(l),(!n||s[1]&128)&&B(e,"hidden",o[38]!==Re.Ads)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),F(i)}}}function Ea(t){let e,i;return e=new k0({props:{title:t[18],thumb:t[19],playNextVideo:t[23]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&262144&&(s.title=n[18]),o[0]&524288&&(s.thumb=n[19]),o[0]&8388608&&(s.playNextVideo=n[23]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Aa(t){let e,i;return e=new zp({props:{title:t[2],isHidden:!t[36]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&4&&(s.title=n[2]),o[1]&32&&(s.isHidden=!n[36]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function La(t){let e,i;return e=new yu({props:{isShifted:t[38]===Re.Video&&t[36]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[1]&160&&(s.isShifted=n[38]===Re.Video&&n[36]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ia(t){let e,i,n;return i=new L1({props:{ariaLabel:K("video360")}}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,s){E(o,e,s),H(i,e,null),n=!0},p:W,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),F(i)}}}function Va(t){let e,i;return e=new Pu({props:{thumbUrl:t[3],chromecastDeviceName:t[55]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&8&&(s.thumbUrl=n[3]),o[1]&16777216&&(s.chromecastDeviceName=n[55]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ma(t){let e,i;return e=new Cu({props:{shifted:t[36],captions:t[57],position:t[58],playerSize:t[34]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[1]&32&&(s.shifted=n[36]),o[1]&67108864&&(s.captions=n[57]),o[1]&134217728&&(s.position=n[58]),o[1]&8&&(s.playerSize=n[34]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ba(t){let e,i,n,o,s;return i=new Su({}),{c(){e=T("div"),U(i.$$.fragment)},m(l,r){E(l,e,r),H(i,e,null),n=!0,o||(s=[he(e,"contextmenu",Jt(t[107])),he(e,"click",tt(t[118]))],o=!0)},p:W,i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),F(i),o=!1,et(s)}}}function Ra(t){let e,i;return e=new Q1({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Na(t){let e,i;return e=new W0({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function za(t){let e,i;return e=new Z1({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Da(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,k,v,P,y,w,D,ne,I,Z,V,ee,M;e=new Tu({props:{hidden:t[38]!==Re.Thumb||t[37]||t[93]&&t[6],thumbUrl:t[3],startVideo:t[29]}});let te=t[38]===Re.WaitingLive&&Pa(t),N=t[38]===Re.WaitingRecord&&Sa(),Y=t[8]&&t[22]&&Ta(t),oe=t[31]&&t[18]&&t[19]&&Ea(t),C=t[46]&&Aa(t),le=t[51]&&La(t),ke=t[54]&&Ia(),me=t[39]&&Va(t),_e=t[56].value!=="off"&&Ma(t),X=t[37]&&Ba(t);function ue(A){t[151](A)}let De={bottomHidden:t[38]===Re.Thumb||t[38]===Re.WaitingLive||t[38]===Re.WaitingRecord,bottomNoSmooth:t[52],showControls:t[36],isAds:t[38]===Re.Ads,canRewindLive:t[7]&&t[59]!==0,logoClickable:t[13],logoHidden:t[14],videoLogoUrl:t[4],showNextPrevButtons:t[15],nextButtonActive:t[16],prevButtonActive:t[17],isOneVideoPlaylist:t[20],supportLink:t[21],customFullscreenSupported:eh,playNextVideo:t[23],playPrevVideo:t[24],repeatPlaylist:t[25],toggleFullscreen:t[105],returnFocus:t[150],seekToInteractive:t[26],toggleGraph:t[27],playPrevChapter:t[28]};t[41]!==void 0&&(De.controlsElementRef=t[41]),_=new wu({props:De}),Ce.push(()=>qe(_,"controlsElementRef",ue)),v=new H1({props:{isLive:t[60],isHidden:!t[45],isPlaying:t[61],position:t[58],duration:t[62]}}),y=new mp({props:{data:t[102]}});function re(A){t[153](A)}let Le={supportLink:t[21],returnFocus:t[152],visible:t[33],playerContainerRef:t[40],controlsContainerRef:t[41],x:t[42],y:t[43]};t[32]!==void 0&&(Le.menuElementRef=t[32]),D=new e0({props:Le}),Ce.push(()=>qe(D,"menuElementRef",re));let Te=t[44]&&Ra(),pe=t[63]&&Na(),Ee=t[64]&&za();return{c(){U(e.$$.fragment),i=z(),te&&te.c(),n=z(),N&&N.c(),o=z(),Y&&Y.c(),s=z(),oe&&oe.c(),l=z(),C&&C.c(),r=z(),le&&le.c(),a=z(),ke&&ke.c(),c=z(),me&&me.c(),f=z(),_e&&_e.c(),p=z(),X&&X.c(),h=z(),U(_.$$.fragment),k=z(),U(v.$$.fragment),P=z(),U(y.$$.fragment),w=z(),U(D.$$.fragment),I=z(),Te&&Te.c(),Z=z(),pe&&pe.c(),V=z(),Ee&&Ee.c(),ee=lt()},m(A,ie){H(e,A,ie),E(A,i,ie),te&&te.m(A,ie),E(A,n,ie),N&&N.m(A,ie),E(A,o,ie),Y&&Y.m(A,ie),E(A,s,ie),oe&&oe.m(A,ie),E(A,l,ie),C&&C.m(A,ie),E(A,r,ie),le&&le.m(A,ie),E(A,a,ie),ke&&ke.m(A,ie),E(A,c,ie),me&&me.m(A,ie),E(A,f,ie),_e&&_e.m(A,ie),E(A,p,ie),X&&X.m(A,ie),E(A,h,ie),H(_,A,ie),E(A,k,ie),H(v,A,ie),E(A,P,ie),H(y,A,ie),E(A,w,ie),H(D,A,ie),E(A,I,ie),Te&&Te.m(A,ie),E(A,Z,ie),pe&&pe.m(A,ie),E(A,V,ie),Ee&&Ee.m(A,ie),E(A,ee,ie),M=!0},p(A,ie){const Ve={};ie[0]&64|ie[1]&192&&(Ve.hidden=A[38]!==Re.Thumb||A[37]||A[93]&&A[6]),ie[0]&8&&(Ve.thumbUrl=A[3]),ie[0]&536870912&&(Ve.startVideo=A[29]),e.$set(Ve),A[38]===Re.WaitingLive?te?(te.p(A,ie),ie[1]&128&&d(te,1)):(te=Pa(A),te.c(),d(te,1),te.m(n.parentNode,n)):te&&(fe(),g(te,1,1,()=>{te=null}),de()),A[38]===Re.WaitingRecord?N?ie[1]&128&&d(N,1):(N=Sa(),N.c(),d(N,1),N.m(o.parentNode,o)):N&&(fe(),g(N,1,1,()=>{N=null}),de()),A[8]&&A[22]?Y?(Y.p(A,ie),ie[0]&4194560&&d(Y,1)):(Y=Ta(A),Y.c(),d(Y,1),Y.m(s.parentNode,s)):Y&&(fe(),g(Y,1,1,()=>{Y=null}),de()),A[31]&&A[18]&&A[19]?oe?(oe.p(A,ie),ie[0]&786432|ie[1]&1&&d(oe,1)):(oe=Ea(A),oe.c(),d(oe,1),oe.m(l.parentNode,l)):oe&&(fe(),g(oe,1,1,()=>{oe=null}),de()),A[46]?C?(C.p(A,ie),ie[1]&32768&&d(C,1)):(C=Aa(A),C.c(),d(C,1),C.m(r.parentNode,r)):C&&(fe(),g(C,1,1,()=>{C=null}),de()),A[51]?le?(le.p(A,ie),ie[1]&1048576&&d(le,1)):(le=La(A),le.c(),d(le,1),le.m(a.parentNode,a)):le&&(fe(),g(le,1,1,()=>{le=null}),de()),A[54]?ke?(ke.p(A,ie),ie[1]&8388608&&d(ke,1)):(ke=Ia(),ke.c(),d(ke,1),ke.m(c.parentNode,c)):ke&&(fe(),g(ke,1,1,()=>{ke=null}),de()),A[39]?me?(me.p(A,ie),ie[1]&256&&d(me,1)):(me=Va(A),me.c(),d(me,1),me.m(f.parentNode,f)):me&&(fe(),g(me,1,1,()=>{me=null}),de()),A[56].value!=="off"?_e?(_e.p(A,ie),ie[1]&33554432&&d(_e,1)):(_e=Ma(A),_e.c(),d(_e,1),_e.m(p.parentNode,p)):_e&&(fe(),g(_e,1,1,()=>{_e=null}),de()),A[37]?X?(X.p(A,ie),ie[1]&64&&d(X,1)):(X=Ba(A),X.c(),d(X,1),X.m(h.parentNode,h)):X&&(fe(),g(X,1,1,()=>{X=null}),de());const ye={};ie[1]&128&&(ye.bottomHidden=A[38]===Re.Thumb||A[38]===Re.WaitingLive||A[38]===Re.WaitingRecord),ie[1]&2097152&&(ye.bottomNoSmooth=A[52]),ie[1]&32&&(ye.showControls=A[36]),ie[1]&128&&(ye.isAds=A[38]===Re.Ads),ie[0]&128|ie[1]&268435456&&(ye.canRewindLive=A[7]&&A[59]!==0),ie[0]&8192&&(ye.logoClickable=A[13]),ie[0]&16384&&(ye.logoHidden=A[14]),ie[0]&16&&(ye.videoLogoUrl=A[4]),ie[0]&32768&&(ye.showNextPrevButtons=A[15]),ie[0]&65536&&(ye.nextButtonActive=A[16]),ie[0]&131072&&(ye.prevButtonActive=A[17]),ie[0]&1048576&&(ye.isOneVideoPlaylist=A[20]),ie[0]&2097152&&(ye.supportLink=A[21]),ie[0]&8388608&&(ye.playNextVideo=A[23]),ie[0]&16777216&&(ye.playPrevVideo=A[24]),ie[0]&33554432&&(ye.repeatPlaylist=A[25]),ie[1]&524288&&(ye.returnFocus=A[150]),ie[0]&67108864&&(ye.seekToInteractive=A[26]),ie[0]&134217728&&(ye.toggleGraph=A[27]),ie[0]&268435456&&(ye.playPrevChapter=A[28]),!b&&ie[1]&1024&&(b=!0,ye.controlsElementRef=A[41],Ue(()=>b=!1)),_.$set(ye);const ae={};ie[1]&536870912&&(ae.isLive=A[60]),ie[1]&16384&&(ae.isHidden=!A[45]),ie[1]&1073741824&&(ae.isPlaying=A[61]),ie[1]&134217728&&(ae.position=A[58]),ie[2]&1&&(ae.duration=A[62]),v.$set(ae);const be={};ie[0]&2097152&&(be.supportLink=A[21]),ie[1]&524288&&(be.returnFocus=A[152]),ie[1]&4&&(be.visible=A[33]),ie[1]&512&&(be.playerContainerRef=A[40]),ie[1]&1024&&(be.controlsContainerRef=A[41]),ie[1]&2048&&(be.x=A[42]),ie[1]&4096&&(be.y=A[43]),!ne&&ie[1]&2&&(ne=!0,be.menuElementRef=A[32],Ue(()=>ne=!1)),D.$set(be),A[44]?Te?ie[1]&8192&&d(Te,1):(Te=Ra(),Te.c(),d(Te,1),Te.m(Z.parentNode,Z)):Te&&(fe(),g(Te,1,1,()=>{Te=null}),de()),A[63]?pe?ie[2]&2&&d(pe,1):(pe=Na(),pe.c(),d(pe,1),pe.m(V.parentNode,V)):pe&&(fe(),g(pe,1,1,()=>{pe=null}),de()),A[64]?Ee?ie[2]&4&&d(Ee,1):(Ee=za(),Ee.c(),d(Ee,1),Ee.m(ee.parentNode,ee)):Ee&&(fe(),g(Ee,1,1,()=>{Ee=null}),de())},i(A){M||(d(e.$$.fragment,A),d(te),d(N),d(Y),d(oe),d(C),d(le),d(ke),d(me),d(_e),d(X),d(_.$$.fragment,A),d(v.$$.fragment,A),d(y.$$.fragment,A),d(D.$$.fragment,A),d(Te),d(pe),d(Ee),M=!0)},o(A){g(e.$$.fragment,A),g(te),g(N),g(Y),g(oe),g(C),g(le),g(ke),g(me),g(_e),g(X),g(_.$$.fragment,A),g(v.$$.fragment,A),g(y.$$.fragment,A),g(D.$$.fragment,A),g(Te),g(pe),g(Ee),M=!1},d(A){A&&(S(i),S(n),S(o),S(s),S(l),S(r),S(a),S(c),S(f),S(p),S(h),S(k),S(P),S(w),S(I),S(Z),S(V),S(ee)),F(e,A),te&&te.d(A),N&&N.d(A),Y&&Y.d(A),oe&&oe.d(A),C&&C.d(A),le&&le.d(A),ke&&ke.d(A),me&&me.d(A),_e&&_e.d(A),X&&X.d(A),F(_,A),F(v,A),F(y,A),F(D,A),Te&&Te.d(A),pe&&pe.d(A),Ee&&Ee.d(A)}}}function xp(t){let e,i,n,o,s=t[53],l,r,a,c,f=Da(t);return{c(){e=T("div"),i=T("div"),o=z(),f.c(),l=lt(),u(i,"class","video-container v-1o4wf3x"),u(i,"style",n=`transform: rotate(${t[35]}deg) scale(${t[48]})`),B(i,"fast-rotate",!t[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),B(e,"hidden",t[38]!==Re.Video),B(e,"nocursor",t[47])},m(p,h){E(p,e,h),m(e,i),t[149](i),E(p,o,h),f.m(p,h),E(p,l,h),r=!0,a||(c=[he(e,"contextmenu",Jt(t[107])),he(e,"mousedown",Jt(t[112])),he(e,"mouseup",Jt(t[113])),he(e,"click",Jt(t[115])),he(e,"dblclick",Jt(t[114]))],a=!0)},p(p,h){(!r||h[1]&131088&&n!==(n=`transform: rotate(${p[35]}deg) scale(${p[48]})`))&&u(i,"style",n),(!r||h[0]&2)&&B(i,"fast-rotate",!p[1].isSmoothVideoRotate),(!r||h[1]&128)&&B(e,"hidden",p[38]!==Re.Video),(!r||h[1]&65536)&&B(e,"nocursor",p[47]),h[1]&4194304&&ge(s,s=p[53])?(fe(),g(f,1,1,W),de(),f=Da(p),f.c(),d(f,1),f.m(l.parentNode,l)):f.p(p,h)},i(p){r||(d(f),r=!0)},o(p){g(f),r=!1},d(p){p&&(S(e),S(o),S(l)),t[149](null),f.d(p),a=!1,et(c)}}}function $p(t){let e,i,n,o,s,l,r,a={toggleFullscreen:t[105],hideContextMenu:t[106],showHotKeyHelpers:t[116],showKeyMap:t[117],isAds:t[38]===Re.Ads,fakePlayButtonHandler:t[49]?t[104]:void 0,$$slots:{default:[xp]},$$scope:{ctx:t}};return i=new S0({props:a}),t[154](i),{c(){e=T("div"),U(i.$$.fragment),n=z(),o=T("div"),u(o,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){E(c,e,f),H(i,e,null),m(e,n),m(e,o),t[155](o),t[156](e),s=!0,l||(r=[he(Xp,"blur",t[106]),he(e,"mouseenter",t[108]),he(e,"mouseleave",t[110]),he(e,"mousemove",t[111]),he(e,"click",t[119],!0),he(e,"focusin",t[109],!0)],l=!0)},p(c,f){const p={};f[1]&128&&(p.isAds=c[38]===Re.Ads),f[1]&262144&&(p.fakePlayButtonHandler=c[49]?c[104]:void 0),f[0]&1073741823|f[1]&2147221503|f[2]&7|f[5]&8388608&&(p.$$scope={dirty:f,ctx:c}),i.$set(p)},i(c){s||(d(i.$$.fragment,c),s=!0)},o(c){g(i.$$.fragment,c),s=!1},d(c){c&&S(e),t[154](null),F(i),t[155](null),t[156](null),l=!1,et(r)}}}let eh=!0;function Lu(t){return t?t.offsetTop+Lu(t.offsetParent):0}function th(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,b,k,v,P,y,w,D,ne,I,Z,V,ee,M,te,N,Y,oe,C,le,ke,me,_e,X,ue,De,re,Le,Te,{store:pe}=e,{uiConfig:Ee}=e,{title:A}=e,{thumbUrl:ie}=e,{videoLogoUrl:Ve}=e,{videoContainer:ye}=e,{interactiveContainer:ae}=e,{live:be}=e,{autoplay:x}=e,{canRewindLive:Q}=e,{showAds:Fe}=e,{adsSlotId:Je=void 0}=e,{adsParams:Xe=void 0}=e,{adsPreviewParam:Ae=void 0}=e,{duration:We=void 0}=e,{logoClickable:xe}=e,{logoHidden:pt}=e,{showNextPrevButtons:rt=!1}=e,{nextButtonActive:Pe=!1}=e,{prevButtonActive:ht=!1}=e,{endScreenVideoTitle:at=void 0}=e,{endScreenVideoThumb:xt=void 0}=e,{isOneVideoPlaylist:$t=!1}=e,{supportLink:Mt}=e,{outerContainerRef:ce=void 0}=e,{playerStarted:bt=!1}=e,{fullScreenTarget:it=void 0}=e,{showMiniTimer:yt=!1}=e,{playNextVideo:ft=Ge}=e,{playPrevVideo:dt=Ge}=e,{repeatPlaylist:Tt=Ge}=e,{seekToInteractive:Hi}=e,{toggleGraph:Ut}=e,{playPrevChapter:Vi}=e,{firstStart:Ki}=e;const ei=pe.getLogger().createComponentLog("Root component"),Fi=pe.interfaceLanguage$;O(t,Fi,q=>i(53,oe=q));const Gi=pe.state.playbackState$;O(t,Gi,q=>i(146,te=q));const qt=pe.ads.playbackState;O(t,qt,q=>i(147,N=q));const Wt=pe.state.positionWithScrubbing$;O(t,Wt,q=>i(58,_e=q));const bi=pe.state.duration$;O(t,bi,q=>i(62,re=q));const Et=pe.playerPhase;O(t,Et,q=>i(38,I=q));const ri=pe.ui.isFullscreen;O(t,ri,q=>i(136,p=q));const Bt=pe.ui.controlsVisible;O(t,Bt,q=>i(36,P=q));const Mi=pe.ui.settingsMenuVisible;O(t,Mi,q=>i(134,l=q));const _i=pe.ui.scrubbingInProgress;O(t,_i,q=>i(138,k=q));const Zt=pe.ui.contextMenuVisible;O(t,Zt,q=>i(33,n=q));const Ct=pe.ui.debugPanelVisible;O(t,Ct,q=>i(64,Te=q));const ti=pe.state.isLoaderVisible;O(t,ti,q=>i(148,Y=q));const vi=pe.state.isEnded$;O(t,vi,q=>i(135,a=q));const wi=pe.state.chromecastConnected$;O(t,wi,q=>i(39,ee=q));const ii=pe.state.chromecastDeviceName$;O(t,ii,q=>i(55,le=q));const ai=pe.ads.postrollPassed;O(t,ai,q=>i(141,D=q));const ni=pe.state.isLive$;O(t,ni,q=>i(60,ue=q));const jt=pe.state.isPlaying$;O(t,jt,q=>i(61,De=q));const Kt=pe.state.crashed$;O(t,Kt,q=>i(37,w=q));const Rt=pe.webApi.pictureInPictureApi,gt=pe.state.currentSubtitle$;O(t,gt,q=>i(56,ke=q));const wt=pe.state.currentSubtitleCaptions$;O(t,wt,q=>i(57,me=q));const ki=pe.state.duration$;O(t,ki,q=>i(59,X=q));const Bi=pe.state.graphIsOpened$;O(t,Bi,q=>i(142,ne=q));const ui=pe.ui.playerSize;O(t,ui,q=>i(34,f=q));const ci=pe.ui.is3DVideo;O(t,ci,q=>i(51,c=q));const Nt=pe.ui.icon3DVideoVisible;O(t,Nt,q=>i(54,C=q));const yi=pe.ui.rotateAlpha;O(t,yi,q=>i(35,b=q));const oi=pe.state.isInteractive,Ci=pe.state.isInteractiveTime$;O(t,Ci,q=>i(139,v=q));const ut=pe.state.isInteractiveExpectation$;O(t,ut,q=>i(145,M=q));const kt=pe.state.hasInteractiveBranches,At=pe.ui.touched;O(t,At,q=>i(143,Z=q));const Ui=pe.ui.modals.hotKeyMap.data;O(t,Ui,q=>i(163,r=q));const Pi=pe.ui.modals.hotKeyMap.show;O(t,Pi,q=>i(63,Le=q));const Yi=pe.ui.overlayContainer$,Ri=pe.actions.internal.closeSettingsMenu,{fakeIsPlaying$:Ni}=Vl();O(t,Ni,q=>i(137,_=q));let fi,zt,qi=0,Si=0,di,Be,Wi;Ui.set(wf());let zi,mi;const Zi=Me(!1);O(t,Zi,q=>i(52,h=q));let Ti;const pi=Me(!1);O(t,pi,q=>i(144,V=q));const Oe=Me(),Ei=Me(!1);O(t,Ei,q=>i(140,y=q));let Dt=!1,Gt=!1,Ai,ji,Li,rn,Qi,Ii,$i=!1,en,tn=!1;const{toggle:Di}=Ni;let Oi=!1,hi=null,$;Rt?.setContext(u1());const $e=()=>{x&&!oi&&_t(Ee.controls.hideTimeout)};pe.setUiCallbacks({onStarted:$e});const li=()=>{window.clearTimeout(di),pi.set(!1)},Xi=()=>{window.clearTimeout(Be),Oe.set(null)},_t=q=>{li(),pi.set(!0),di=window.setTimeout(()=>pi.set(!1),q);const Lt=q-100;Ti=window.setTimeout(()=>{h&&Zi.set(!1)},Lt>0?Lt:q)},an=(q,Lt)=>{Xi(),Oe.set(Lt),Be=window.setTimeout(()=>Oe.set(null),q)},dn=ci.subscribe(q=>{Nt.set(q),q&&(window.clearTimeout(Wi),Wi=window.setTimeout(()=>Nt.set(!1),Ee.controls.hide360IconTimeout))}),nn=async()=>{const q=Vo();if(q){_t(Ee.controls.hideTimeoutFullscreen);try{await Rt?.remove()}catch(Lt){ei({message:String(Lt)})}}ri.set(q),pe.getAdmanWrapper().setFullscreen(q),p?pe.callbacks?.onFullscreenEnter?.():pe.callbacks?.onFullscreenExit?.()},mn=q=>{const Lt=q;ui.set({width:Lt.target.width,height:Lt.target.height})};ln(()=>(N1(nn),tl(Rt)&&(Rt?.assignPlayerContainer(fi),Rt?.registryExternalEventHandlers({resize:mn})),ae&&ye.parentElement?.insertBefore(ae,ye.nextSibling),()=>{window.clearTimeout(di),window.clearTimeout(Ti),window.clearTimeout(Be),window.clearTimeout(Wi),dn(),Rt?.dispose(),z1(nn)}));const on=async()=>{if(Vo())await R1(document),ei({message:"exit fullscreen"});else{ei({message:"request fullscreen"});const q=ce??fi,Lt=q.getRootNode(),Sn=Lt instanceof ShadowRoot?Lt.host:Lt,Tn=it instanceof HTMLElement&&it.contains(Sn),so=Ee.allowChangingFullscreenTarget&&it&&Tn?it:q;await B1(so)}},J=()=>{Ri(),Zt.set(!1)},G=q=>{Zt.set(!0),i(42,qi=q.clientX),i(43,Si=q.clientY)};function wn(){Ei.set(!0),oi||_t(Ee.controls.hideTimeoutCursor)}function Nn(){oi||(Zi.set(!0),_t(Ee.controls.hideTimeoutCursor))}function zn(){Ei.set(!1),i(128,Gt=!1),i(127,Dt=!1),Oi=!1,pe.actions.internal.releaseCamera()}function Yn(q){if(fi){const Lt=Lu(q.currentTarget),Sn=f.height,Tn=q.pageY-Lt;Tn<es?i(128,Gt=!0):Tn>Sn-es?i(127,Dt=!0):(i(128,Gt=!1),l||i(127,Dt=!1))}}function Qn(q){Yn(q),ji||_t(Ee.controls.hideTimeoutCursor),c&&Oi&&hi&&pe.actions.internal.moveCameraFocusPX(hi.clientX-q.clientX,hi.clientY-q.clientY,q.timeStamp-hi.timeStamp),hi=q}const Xn=q=>{q.button===0&&(Oi=!0,pe.actions.internal.holdCamera()),_t(Ee.controls.hideTimeoutCursor)},Jn=q=>{q.button===0&&(hi=q,Oi=!1,pe.actions.internal.releaseCamera()),_t(Ee.controls.hideTimeoutCursor)},xn=()=>{ei({message:"double click on video"}),on(),_t(Ee.controls.hideTimeoutCursor)},$n=()=>{if(n||l){J();return}if(!(a&&!kt)){if(tn)return Di();if($?.focus(),!bt){Ki(),_t(Ee.controls.hideTimeoutCursor);return}pe.actions.internal.togglePlay(),_t(Ee.controls.hideTimeoutCursor)}},eo=q=>{J(),At.set(!0),_t(Ee.controls.hideTimeout),q&&an(Ee.controls.hideHotKeyHelpers,q)},qn=()=>{J(),pe.callbacks?.onOpenHotKeyMap?pe.callbacks?.onOpenHotKeyMap(r):Pi.update(q=>!q)},ko=()=>{if(n||l){J();return}},to=()=>{At.set(!0)},Ji=pe.ui.contextMenu.openedByKeyboard$;O(t,Ji,q=>i(133,s=q));let Wn=pe.ui.contextMenu.btnRef$;O(t,Wn,q=>i(132,o=q));let Dn;function io(q){Ce[q?"unshift":"push"](()=>{ye=q,i(0,ye)})}const no=()=>$?.focus();function yo(q){zt=q,i(41,zt)}const oo=()=>$?.focus();function Co(q){Dn=q,i(32,Dn)}function Pn(q){Ce[q?"unshift":"push"](()=>{$=q,i(50,$)})}function On(q){Ce[q?"unshift":"push"](()=>{mi=q,i(30,mi)})}function lo(q){Ce[q?"unshift":"push"](()=>{fi=q,i(40,fi)})}return t.$$set=q=>{"store"in q&&i(122,pe=q.store),"uiConfig"in q&&i(1,Ee=q.uiConfig),"title"in q&&i(2,A=q.title),"thumbUrl"in q&&i(3,ie=q.thumbUrl),"videoLogoUrl"in q&&i(4,Ve=q.videoLogoUrl),"videoContainer"in q&&i(0,ye=q.videoContainer),"interactiveContainer"in q&&i(123,ae=q.interactiveContainer),"live"in q&&i(5,be=q.live),"autoplay"in q&&i(6,x=q.autoplay),"canRewindLive"in q&&i(7,Q=q.canRewindLive),"showAds"in q&&i(8,Fe=q.showAds),"adsSlotId"in q&&i(9,Je=q.adsSlotId),"adsParams"in q&&i(10,Xe=q.adsParams),"adsPreviewParam"in q&&i(11,Ae=q.adsPreviewParam),"duration"in q&&i(12,We=q.duration),"logoClickable"in q&&i(13,xe=q.logoClickable),"logoHidden"in q&&i(14,pt=q.logoHidden),"showNextPrevButtons"in q&&i(15,rt=q.showNextPrevButtons),"nextButtonActive"in q&&i(16,Pe=q.nextButtonActive),"prevButtonActive"in q&&i(17,ht=q.prevButtonActive),"endScreenVideoTitle"in q&&i(18,at=q.endScreenVideoTitle),"endScreenVideoThumb"in q&&i(19,xt=q.endScreenVideoThumb),"isOneVideoPlaylist"in q&&i(20,$t=q.isOneVideoPlaylist),"supportLink"in q&&i(21,Mt=q.supportLink),"outerContainerRef"in q&&i(124,ce=q.outerContainerRef),"playerStarted"in q&&i(22,bt=q.playerStarted),"fullScreenTarget"in q&&i(125,it=q.fullScreenTarget),"showMiniTimer"in q&&i(126,yt=q.showMiniTimer),"playNextVideo"in q&&i(23,ft=q.playNextVideo),"playPrevVideo"in q&&i(24,dt=q.playPrevVideo),"repeatPlaylist"in q&&i(25,Tt=q.repeatPlaylist),"seekToInteractive"in q&&i(26,Hi=q.seekToInteractive),"toggleGraph"in q&&i(27,Ut=q.toggleGraph),"playPrevChapter"in q&&i(28,Vi=q.playPrevChapter),"firstStart"in q&&i(29,Ki=q.firstStart)},t.$$.update=()=>{if(t.$$.dirty[1]&192|t.$$.dirty[4]&25165824&&i(44,zi=(I===Re.Video&&Y||I===Re.Ads&&N===Xt.INACTIVE)&&!w),t.$$.dirty[0]&1073741824&&Yi.set(mi),t.$$.dirty[4]&4194304&&i(129,Ai=te!==Ht.PLAYING),t.$$.dirty[4]&2131e3&&i(130,ji=v&&!l&&!(Dt||Gt)&&!(Ai&&!M)),t.$$.dirty[1]&448|t.$$.dirty[4]&1066080&&Bt.set((Ai||l||k||ee||V)&&!ji&&I===Re.Video&&!w),t.$$.dirty[0]&2|t.$$.dirty[1]&224|t.$$.dirty[4]&524292&&i(45,Li=Ee.features.thumbTimer&&yt&&I===Re.Video&&!P&&!w&&!oi&&(Ee.hideThumbTimerAfterTouch&&!Z||!Ee.hideThumbTimerAfterTouch)),t.$$.dirty[1]&128|t.$$.dirty[4]&266240&&i(46,rn=I===Re.Video&&!ne&&p),t.$$.dirty[0]&256|t.$$.dirty[1]&64|t.$$.dirty[4]&133120&&i(31,Qi=(Fe&&D||!Fe)&&a&&!w),t.$$.dirty[1]&33|t.$$.dirty[4]&98304&&i(47,Ii=y&&!(P||Qi)&&!v),t.$$.dirty[0]&2|t.$$.dirty[4]&49280&&(!k&&$i&&!v&&_t(Ee.controls.hideTimeoutCursor),i(131,$i=k)),t.$$.dirty[0]&1|t.$$.dirty[1]&24&&i(48,en=ye&&b%180?f.height/f.width:1),t.$$.dirty[4]&8192&&i(49,tn=_!==null),t.$$.dirty[1]&6|t.$$.dirty[4]&512&&Dl(Dn,n,s),t.$$.dirty[1]&4|t.$$.dirty[4]&256){const q=o;q&&zl(q,n,Ji)}},[ye,Ee,A,ie,Ve,be,x,Q,Fe,Je,Xe,Ae,We,xe,pt,rt,Pe,ht,at,xt,$t,Mt,bt,ft,dt,Tt,Hi,Ut,Vi,Ki,mi,Qi,Dn,n,f,b,P,w,I,ee,fi,zt,qi,Si,zi,Li,rn,Ii,en,tn,$,c,h,oe,C,le,ke,me,_e,X,ue,De,re,Le,Te,Fi,Gi,qt,Wt,bi,Et,ri,Bt,Mi,_i,Zt,Ct,ti,vi,wi,ii,ai,ni,jt,Kt,gt,wt,ki,Bi,ui,ci,Nt,yi,oi,Ci,ut,At,Ui,Pi,Ni,Zi,pi,Oe,Ei,Di,on,J,G,wn,Nn,zn,Qn,Xn,Jn,xn,$n,eo,qn,ko,to,Ji,Wn,pe,ae,ce,it,yt,Dt,Gt,Ai,ji,$i,o,s,l,a,p,_,k,v,y,D,ne,Z,V,M,te,N,Y,io,no,yo,oo,Co,Pn,On,lo]}class ih extends we{constructor(e){super(),ve(this,e,th,$p,ge,{store:122,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:123,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:124,playerStarted:22,fullScreenTarget:125,showMiniTimer:126,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},Jp,[-1,-1,-1,-1,-1,-1])}}const nh=t=>{if(!o1(!0))return!1;const e=t.device===bc.iPad||window?.screen.width>700,i=_c();return!e||e&&!!i&&i<16};function oh(t){He(t,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function Oa(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,k,v=K("doubletap_seek_step",{seconds:t[1].toFixed(0)})+"",P;return{c(){e=T("div"),n=z(),o=T("div"),s=T("div"),l=T("div"),a=z(),c=T("div"),p=z(),h=T("div"),b=z(),k=T("p"),P=ze(v),u(e,"class",i="semicircle "+t[0]+" v-nhq2ld"),u(l,"class",r="triangle "+t[0]+" v-nhq2ld"),u(c,"class",f="triangle "+t[0]+" v-nhq2ld"),u(h,"class",_="triangle "+t[0]+" v-nhq2ld"),u(s,"class","triangles-wrapper v-nhq2ld"),u(k,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(y,w){E(y,e,w),E(y,n,w),E(y,o,w),m(o,s),m(s,l),m(s,a),m(s,c),m(s,p),m(s,h),m(o,b),m(o,k),m(k,P)},p(y,w){w&1&&i!==(i="semicircle "+y[0]+" v-nhq2ld")&&u(e,"class",i),w&1&&r!==(r="triangle "+y[0]+" v-nhq2ld")&&u(l,"class",r),w&1&&f!==(f="triangle "+y[0]+" v-nhq2ld")&&u(c,"class",f),w&1&&_!==(_="triangle "+y[0]+" v-nhq2ld")&&u(h,"class",_),w&2&&v!==(v=K("doubletap_seek_step",{seconds:y[1].toFixed(0)})+"")&&Qe(P,v)},d(y){y&&(S(e),S(n),S(o))}}}function lh(t){let e,i,n,o,s=t[2]&&Oa(t);return{c(){e=T("div"),s&&s.c(),u(e,"class",i="double-click-area "+t[0]+" v-nhq2ld")},m(l,r){E(l,e,r),s&&s.m(e,null),n||(o=he(e,"click",tt(t[3]())),n=!0)},p(l,[r]){l[2]?s?s.p(l,r):(s=Oa(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&1&&i!==(i="double-click-area "+l[0]+" v-nhq2ld")&&u(e,"class",i)},i:W,o:W,d(l){l&&S(e),s&&s.d(),n=!1,o()}}}function sh(t,e,i){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:s}=e,{handleSecondClick:l}=e,r=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{s(),h=0},300):(window.clearTimeout(a),h=0,l(),i(2,r=!0),c=window.setTimeout(()=>{i(2,r=!1)},500))}};return nl(()=>{window.clearTimeout(a),window.clearTimeout(c)}),t.$$set=p=>{"side"in p&&i(0,n=p.side),"seekStep"in p&&i(1,o=p.seekStep),"handleSingleFirstClick"in p&&i(4,s=p.handleSingleFirstClick),"handleSecondClick"in p&&i(5,l=p.handleSecondClick)},[n,o,r,f,s,l]}class Iu extends we{constructor(e){super(),ve(this,e,sh,lh,ge,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},oh)}}function rh(t,e,i){let{playNextVideo:n}=e;return ln(()=>{n()}),t.$$set=o=>{"playNextVideo"in o&&i(0,n=o.playNextVideo)},[n]}class ah extends we{constructor(e){super(),ve(this,e,rh,null,ge,{playNextVideo:0})}}const{window:uh}=a1;function ch(t){He(t,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function Ha(t){let e,i,n,o;e=new Iu({props:{side:"left",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[99],handleSecondClick:t[127]}});let s=!t[48]&&Fa(t);return{c(){U(e.$$.fragment),i=z(),s&&s.c(),n=lt()},m(l,r){H(e,l,r),E(l,i,r),s&&s.m(l,r),E(l,n,r),o=!0},p(l,r){const a={};r[0]&2&&(a.seekStep=l[1].controls.seekStepMobile/1e3),e.$set(a),l[48]?s&&(fe(),g(s,1,1,()=>{s=null}),de()):s?(s.p(l,r),r[1]&131072&&d(s,1)):(s=Fa(l),s.c(),d(s,1),s.m(n.parentNode,n))},i(l){o||(d(e.$$.fragment,l),d(s),o=!0)},o(l){g(e.$$.fragment,l),g(s),o=!1},d(l){l&&(S(i),S(n)),F(e,l),s&&s.d(l)}}}function Fa(t){let e,i;return e=new Iu({props:{side:"right",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[99],handleSecondClick:t[128]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&2&&(s.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ua(t){let e,i;return e=new Eu({props:{thumbUrl:t[2],startTime:t[4]?.startTime}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&4&&(s.thumbUrl=n[2]),o[0]&16&&(s.startTime=n[4]?.startTime),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function qa(t){let e,i;return e=new Au({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Wa(t){let e,i,n;return i=new D1({props:{adsSlotId:t[8],adsParams:t[9],adsPreviewParam:t[10],duration:t[11]}}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","ads-container v-1jy89ut"),B(e,"hidden",t[34]!==Re.Ads)},m(o,s){E(o,e,s),H(i,e,null),n=!0},p(o,s){const l={};s[0]&256&&(l.adsSlotId=o[8]),s[0]&512&&(l.adsParams=o[9]),s[0]&1024&&(l.adsPreviewParam=o[10]),s[0]&2048&&(l.duration=o[11]),i.$set(l),(!n||s[1]&8)&&B(e,"hidden",o[34]!==Re.Ads)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),F(i)}}}function Za(t){let e,i;return e=new ah({props:{playNextVideo:t[22]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&4194304&&(s.playNextVideo=n[22]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ja(t){let e,i;return e=new yu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ka(t){let e,i,n;return i=new L1({props:{ariaLabel:K("video360")}}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,s){E(o,e,s),H(i,e,null),n=!0},p:W,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),F(i)}}}function Ga(t){let e,i;return e=new Pu({props:{thumbUrl:t[2],chromecastDeviceName:t[51]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&4&&(s.thumbUrl=n[2]),o[1]&1048576&&(s.chromecastDeviceName=n[51]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ya(t){let e,i;return e=new Cu({props:{shifted:t[30],captions:t[53],position:t[44],playerSize:t[31],isMobile:!0}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&1073741824&&(s.shifted=n[30]),o[1]&4194304&&(s.captions=n[53]),o[1]&8192&&(s.position=n[44]),o[1]&1&&(s.playerSize=n[31]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Qa(t){let e,i,n,o,s;return i=new Su({}),{c(){e=T("div"),U(i.$$.fragment)},m(l,r){E(l,e,r),H(i,e,null),n=!0,o||(s=he(e,"click",tt(t[100])),o=!0)},p:W,i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),F(i),o=!1,s()}}}function Xa(t){let e,i;return e=new Q1({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ja(t){let e,i;return e=new Z1({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function xa(t){let e,i,n=t[6]&&t[78]&&!t[47].has(nt.TIMELINE),o,s,l,r,a,c,f,p,h,_,b,k,v,P,y,w,D,ne;e=new Tu({props:{hidden:t[34]!==Re.Thumb||t[33]||t[89]&&t[5],thumbUrl:t[2],startVideo:t[28]}});let I=n&&Ha(t),Z=t[34]===Re.WaitingLive&&Ua(t),V=t[34]===Re.WaitingRecord&&qa(),ee=t[7]&&t[21]&&Wa(t),M=t[41]&&t[17]&&t[18]&&Za(t),te=t[49]&&ja(),N=t[50]&&Ka(),Y=t[35]&&Ga(t),oe=t[52].value!=="off"&&Ya(t),C=t[33]&&Qa(t);function le(X){t[129](X)}let ke={bottomHidden:t[34]===Re.Thumb||t[34]===Re.WaitingLive||t[34]===Re.WaitingRecord||t[34]===Re.Ads,showControls:t[30],bottomNoSmooth:t[45],isAds:t[34]===Re.Ads,canRewindLive:t[6]&&t[54]!==0,logoClickable:t[12],logoHidden:t[13],videoLogoUrl:t[3],showNextPrevButtons:t[14],nextButtonActive:t[15],prevButtonActive:t[16],isOneVideoPlaylist:t[19],supportLink:t[20],customFullscreenSupported:t[39],playNextVideo:t[22],playPrevVideo:t[23],repeatPlaylist:t[24],toggleFullscreen:t[97],seekToInteractive:t[25],toggleGraph:t[26],playPrevChapter:t[27]};t[37]!==void 0&&(ke.controlsElementRef=t[37]),b=new wu({props:ke}),Ce.push(()=>qe(b,"controlsElementRef",le)),P=new H1({props:{isLive:t[55],isHidden:!t[40],isPlaying:t[56],position:t[44],duration:t[43]}});let me=t[38]&&Xa(),_e=t[57]&&Ja();return{c(){U(e.$$.fragment),i=z(),I&&I.c(),o=z(),Z&&Z.c(),s=z(),V&&V.c(),l=z(),ee&&ee.c(),r=z(),M&&M.c(),a=z(),te&&te.c(),c=z(),N&&N.c(),f=z(),Y&&Y.c(),p=z(),oe&&oe.c(),h=z(),C&&C.c(),_=z(),U(b.$$.fragment),v=z(),U(P.$$.fragment),y=z(),me&&me.c(),w=z(),_e&&_e.c(),D=lt()},m(X,ue){H(e,X,ue),E(X,i,ue),I&&I.m(X,ue),E(X,o,ue),Z&&Z.m(X,ue),E(X,s,ue),V&&V.m(X,ue),E(X,l,ue),ee&&ee.m(X,ue),E(X,r,ue),M&&M.m(X,ue),E(X,a,ue),te&&te.m(X,ue),E(X,c,ue),N&&N.m(X,ue),E(X,f,ue),Y&&Y.m(X,ue),E(X,p,ue),oe&&oe.m(X,ue),E(X,h,ue),C&&C.m(X,ue),E(X,_,ue),H(b,X,ue),E(X,v,ue),H(P,X,ue),E(X,y,ue),me&&me.m(X,ue),E(X,w,ue),_e&&_e.m(X,ue),E(X,D,ue),ne=!0},p(X,ue){const De={};ue[0]&32|ue[1]&12&&(De.hidden=X[34]!==Re.Thumb||X[33]||X[89]&&X[5]),ue[0]&4&&(De.thumbUrl=X[2]),ue[0]&268435456&&(De.startVideo=X[28]),e.$set(De),ue[0]&64|ue[1]&65536&&(n=X[6]&&X[78]&&!X[47].has(nt.TIMELINE)),n?I?(I.p(X,ue),ue[0]&64|ue[1]&65536&&d(I,1)):(I=Ha(X),I.c(),d(I,1),I.m(o.parentNode,o)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),X[34]===Re.WaitingLive?Z?(Z.p(X,ue),ue[1]&8&&d(Z,1)):(Z=Ua(X),Z.c(),d(Z,1),Z.m(s.parentNode,s)):Z&&(fe(),g(Z,1,1,()=>{Z=null}),de()),X[34]===Re.WaitingRecord?V?ue[1]&8&&d(V,1):(V=qa(),V.c(),d(V,1),V.m(l.parentNode,l)):V&&(fe(),g(V,1,1,()=>{V=null}),de()),X[7]&&X[21]?ee?(ee.p(X,ue),ue[0]&2097280&&d(ee,1)):(ee=Wa(X),ee.c(),d(ee,1),ee.m(r.parentNode,r)):ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()),X[41]&&X[17]&&X[18]?M?(M.p(X,ue),ue[0]&393216|ue[1]&1024&&d(M,1)):(M=Za(X),M.c(),d(M,1),M.m(a.parentNode,a)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),X[49]?te?ue[1]&262144&&d(te,1):(te=ja(),te.c(),d(te,1),te.m(c.parentNode,c)):te&&(fe(),g(te,1,1,()=>{te=null}),de()),X[50]?N?(N.p(X,ue),ue[1]&524288&&d(N,1)):(N=Ka(),N.c(),d(N,1),N.m(f.parentNode,f)):N&&(fe(),g(N,1,1,()=>{N=null}),de()),X[35]?Y?(Y.p(X,ue),ue[1]&16&&d(Y,1)):(Y=Ga(X),Y.c(),d(Y,1),Y.m(p.parentNode,p)):Y&&(fe(),g(Y,1,1,()=>{Y=null}),de()),X[52].value!=="off"?oe?(oe.p(X,ue),ue[1]&2097152&&d(oe,1)):(oe=Ya(X),oe.c(),d(oe,1),oe.m(h.parentNode,h)):oe&&(fe(),g(oe,1,1,()=>{oe=null}),de()),X[33]?C?(C.p(X,ue),ue[1]&4&&d(C,1)):(C=Qa(X),C.c(),d(C,1),C.m(_.parentNode,_)):C&&(fe(),g(C,1,1,()=>{C=null}),de());const re={};ue[1]&8&&(re.bottomHidden=X[34]===Re.Thumb||X[34]===Re.WaitingLive||X[34]===Re.WaitingRecord||X[34]===Re.Ads),ue[0]&1073741824&&(re.showControls=X[30]),ue[1]&16384&&(re.bottomNoSmooth=X[45]),ue[1]&8&&(re.isAds=X[34]===Re.Ads),ue[0]&64|ue[1]&8388608&&(re.canRewindLive=X[6]&&X[54]!==0),ue[0]&4096&&(re.logoClickable=X[12]),ue[0]&8192&&(re.logoHidden=X[13]),ue[0]&8&&(re.videoLogoUrl=X[3]),ue[0]&16384&&(re.showNextPrevButtons=X[14]),ue[0]&32768&&(re.nextButtonActive=X[15]),ue[0]&65536&&(re.prevButtonActive=X[16]),ue[0]&524288&&(re.isOneVideoPlaylist=X[19]),ue[0]&1048576&&(re.supportLink=X[20]),ue[1]&256&&(re.customFullscreenSupported=X[39]),ue[0]&4194304&&(re.playNextVideo=X[22]),ue[0]&8388608&&(re.playPrevVideo=X[23]),ue[0]&16777216&&(re.repeatPlaylist=X[24]),ue[0]&33554432&&(re.seekToInteractive=X[25]),ue[0]&67108864&&(re.toggleGraph=X[26]),ue[0]&134217728&&(re.playPrevChapter=X[27]),!k&&ue[1]&64&&(k=!0,re.controlsElementRef=X[37],Ue(()=>k=!1)),b.$set(re);const Le={};ue[1]&16777216&&(Le.isLive=X[55]),ue[1]&512&&(Le.isHidden=!X[40]),ue[1]&33554432&&(Le.isPlaying=X[56]),ue[1]&8192&&(Le.position=X[44]),ue[1]&4096&&(Le.duration=X[43]),P.$set(Le),X[38]?me?ue[1]&128&&d(me,1):(me=Xa(),me.c(),d(me,1),me.m(w.parentNode,w)):me&&(fe(),g(me,1,1,()=>{me=null}),de()),X[57]?_e?ue[1]&67108864&&d(_e,1):(_e=Ja(),_e.c(),d(_e,1),_e.m(D.parentNode,D)):_e&&(fe(),g(_e,1,1,()=>{_e=null}),de())},i(X){ne||(d(e.$$.fragment,X),d(I),d(Z),d(V),d(ee),d(M),d(te),d(N),d(Y),d(oe),d(C),d(b.$$.fragment,X),d(P.$$.fragment,X),d(me),d(_e),ne=!0)},o(X){g(e.$$.fragment,X),g(I),g(Z),g(V),g(ee),g(M),g(te),g(N),g(Y),g(oe),g(C),g(b.$$.fragment,X),g(P.$$.fragment,X),g(me),g(_e),ne=!1},d(X){X&&(S(i),S(o),S(s),S(l),S(r),S(a),S(c),S(f),S(p),S(h),S(_),S(v),S(y),S(w),S(D)),F(e,X),I&&I.d(X),Z&&Z.d(X),V&&V.d(X),ee&&ee.d(X),M&&M.d(X),te&&te.d(X),N&&N.d(X),Y&&Y.d(X),oe&&oe.d(X),C&&C.d(X),F(b,X),F(P,X),me&&me.d(X),_e&&_e.d(X)}}}function fh(t){let e,i,n,o,s,l=t[46],r,a,c,f,p,h=xa(t);return{c(){e=T("div"),i=T("div"),n=T("div"),s=z(),h.c(),r=z(),a=T("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${t[32]}deg) scale(${t[42]})`),B(n,"fast-rotate",!t[1].isSmoothVideoRotate),u(i,"class","video-wrapper v-1jy89ut"),B(i,"hidden",t[34]!==Re.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut")},m(_,b){E(_,e,b),m(e,i),m(i,n),t[126](n),m(e,s),h.m(e,null),m(e,r),m(e,a),t[130](a),t[131](e),c=!0,f||(p=[he(uh,"blur",t[98]),he(i,"click",Jt(t[99])),he(e,"click",t[101],!0),he(e,"focusin",t[102],!0)],f=!0)},p(_,b){(!c||b[1]&2050&&o!==(o=`transform: rotate(${_[32]}deg) scale(${_[42]})`))&&u(n,"style",o),(!c||b[0]&2)&&B(n,"fast-rotate",!_[1].isSmoothVideoRotate),(!c||b[1]&8)&&B(i,"hidden",_[34]!==Re.Video),b[1]&32768&&ge(l,l=_[46])?(fe(),g(h,1,1,W),de(),h=xa(_),h.c(),d(h,1),h.m(e,r)):h.p(_,b)},i(_){c||(d(h),c=!0)},o(_){g(h),c=!1},d(_){_&&S(e),t[126](null),h.d(_),t[130](null),t[131](null),f=!1,et(p)}}}function dh(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,b,k,v,P,y,w,D,ne,I,Z,V,ee,M,te,N,Y,oe,C,le,ke,me,_e,X,ue,De,{store:re}=e,{uiConfig:Le}=e,{thumbUrl:Te}=e,{videoLogoUrl:pe}=e,{videoContainer:Ee}=e,{interactiveContainer:A}=e,{live:ie}=e,{autoplay:Ve}=e,{canRewindLive:ye}=e,{showAds:ae}=e,{adsSlotId:be=void 0}=e,{adsParams:x=void 0}=e,{adsPreviewParam:Q=void 0}=e,{duration:Fe=void 0}=e,{logoClickable:Je}=e,{logoHidden:Xe}=e,{showNextPrevButtons:Ae=!1}=e,{nextButtonActive:We=!1}=e,{prevButtonActive:xe=!1}=e,{endScreenVideoTitle:pt=void 0}=e,{endScreenVideoThumb:rt=void 0}=e,{isOneVideoPlaylist:Pe=!1}=e,{supportLink:ht}=e,{outerContainerRef:at=void 0}=e,{showMiniTimer:xt=!1}=e,{fullScreenTarget:$t=void 0}=e,{playerStarted:Mt=!1}=e,{playNextVideo:ce=Ge}=e,{playPrevVideo:bt=Ge}=e,{repeatPlaylist:it=Ge}=e,{seekToInteractive:yt}=e,{toggleGraph:ft}=e,{playPrevChapter:dt}=e,{firstStart:Tt}=e,{seekTime:Hi}=e;const Ut=re.getLogger().createComponentLog("Root component"),Vi=re.interfaceLanguage$;O(t,Vi,J=>i(46,te=J));const Ki=re.state.playbackState$;O(t,Ki,J=>i(123,V=J));const ei=re.ads.playbackState;O(t,ei,J=>i(124,ee=J));const Fi=re.state.positionWithScrubbing$;O(t,Fi,J=>i(44,l=J));const Gi=re.state.duration$;O(t,Gi,J=>i(43,s=J));const qt=re.playerPhase;O(t,qt,J=>i(34,D=J));const Wt=re.ui.isFullscreen;O(t,Wt,J=>i(137,a=J));const bi=re.ui.controlsVisible;O(t,bi,J=>i(30,o=J));const Et=re.ui.interactiveHideMobileControls;O(t,Et,J=>i(115,h=J));const ri=re.ui.settingsMenuVisible;O(t,ri,J=>i(114,n=J));const Bt=re.ui.scrubbingInProgress;O(t,Bt,J=>i(116,b=J));const Mi=re.ui.debugPanelVisible;O(t,Mi,J=>i(57,De=J));const _i=re.state.isLoaderVisible;O(t,_i,J=>i(125,M=J));const Zt=re.state.isEnded$;O(t,Zt,J=>i(118,P=J));const Ct=re.state.chromecastConnected$;O(t,Ct,J=>i(35,ne=J));const ti=re.state.chromecastDeviceName$;O(t,ti,J=>i(51,le=J));const vi=re.ads.postrollPassed;O(t,vi,J=>i(119,y=J));const wi=re.ui.mobileUnmuteButtonExpanded,ii=re.ui.mobileUnmuteButtonVisible,ai=re.state.isLive$;O(t,ai,J=>i(55,X=J));const ni=re.state.isPlaying$;O(t,ni,J=>i(56,ue=J));const jt=re.state.isActiveLive$;O(t,jt,J=>i(48,Y=J));const Kt=re.state.isRewindableLive$,Rt=re.state.crashed$;O(t,Rt,J=>i(33,v=J));const gt=re.webApi.pictureInPictureApi,wt=re.state.videoSize$;O(t,wt,J=>i(138,f=J));const ki=re.state.currentSubtitle$;O(t,ki,J=>i(52,ke=J));const Bi=re.state.currentSubtitleCaptions$;O(t,Bi,J=>i(53,me=J));const ui=re.state.duration$;O(t,ui,J=>i(54,_e=J));const ci=re.state.graphIsOpened$;O(t,ci,J=>i(122,Z=J));const Nt=re.ui.playerSize;O(t,Nt,J=>i(31,c=J));const yi=re.ui.is3DVideo;O(t,yi,J=>i(49,oe=J));const oi=re.ui.icon3DVideoVisible;O(t,oi,J=>i(50,C=J));const Ci=re.ui.rotateAlpha;O(t,Ci,J=>i(32,_=J));const ut=re.state.isInteractive,kt=re.state.isInteractiveTime$;O(t,kt,J=>i(117,k=J));const At=re.state.isInteractiveExpectation$;O(t,At,J=>i(121,I=J));const Ui=re.state.hasInteractiveBranches,Pi=re.ui.controls.disabledControls$;O(t,Pi,J=>i(47,N=J));const Yi=re.ui.touched;O(t,Yi,J=>i(120,w=J));const Ri=re.ui.clientInfo$;O(t,Ri,J=>i(136,r=J));const Ni=re.ui.overlayContainer$,fi=re.actions.internal.closeSettingsMenu;let zt,qi,Si,di,Be,Wi,zi;const mi=Me(!1);O(t,mi,J=>i(45,p=J));let Zi,Ti=!1,pi,Oe=!1,Ei,Dt=!0,Gt,Ai,ji=!1,Li;gt?.setContext(u1());const rn=J=>{clearTimeout(di),J&&(ii.set(!0),wi.set(!0),di=window.setTimeout(()=>{wi.set(!1)},Le.controls.collapseMobileUnmute),ut||Ii(Le.controls.hideTimeoutMobile))};re.setUiCallbacks({onStarted:rn});const Qi=()=>{window.clearTimeout(Si),i(109,Ti=!1),h&&Et.set(!1)},Ii=J=>{Qi(),i(109,Ti=!0),Si=window.setTimeout(()=>i(109,Ti=!1),J);const G=J-100;Zi=window.setTimeout(()=>{p&&mi.set(!1)},G>0?G:J)},$i=yi.subscribe(J=>{oi.set(J),J&&(window.clearTimeout(Be),Be=window.setTimeout(()=>oi.set(!1),Le.controls.hide360IconTimeout))}),en=async()=>{const J=Vo();if(J){Ii(Le.controls.hideTimeoutFullscreen);try{await gt?.remove()}catch(G){Ut({message:String(G)})}try{const G=f?.width&&f?.height?f:c;await vf(G)}catch(G){Ut({message:String(G)})}}Wt.set(J),re.getAdmanWrapper().setFullscreen(J),a?re.callbacks?.onFullscreenEnter?.():re.callbacks?.onFullscreenExit?.()},tn=J=>{const G=J;Nt.set({width:G.target.width,height:G.target.height})};ln(()=>(N1(en),tl(gt)&&(gt?.assignPlayerContainer(zt),gt?.registryExternalEventHandlers({resize:tn})),i(39,Dt=!nh(r)),A&&Ee.parentElement?.insertBefore(A,Ee.nextSibling),()=>{window.clearTimeout(Si),window.clearTimeout(Zi),window.clearTimeout(di),window.clearTimeout(Be),$i(),gt?.dispose(),z1(en)}));const Di=J=>{let G=l+(J==="forward"?1:-1)*Le.controls.seekStepMobile/1e3;G<0?G=0:G>s&&(G=s-1),i(111,Oe=!0),Hi(G)},Oi=async()=>{if(Vo())await R1(document),Ut({message:"exit fullscreen"});else{Ut({message:"request fullscreen"});const J=at??zt,G=J.getRootNode(),wn=G instanceof ShadowRoot?G.host:G,Nn=$t instanceof HTMLElement&&$t.contains(wn),zn=Le.allowChangingFullscreenTarget&&$t&&Nn?$t:J;await B1(zn)}},hi=()=>{fi()},$=()=>{if(n){hi();return}if(!Mt){Tt(),Ii(Le.controls.hideTimeoutCursor);return}i(111,Oe=!1),o?Qi():Ii(Le.controls.hideTimeoutMobile)},$e=()=>{if(n){hi();return}},li=()=>{Yi.set(!0)},Xi=()=>{ut||(mi.set(!0),Ii(Le.controls.hideTimeoutCursor))};function _t(J){Ce[J?"unshift":"push"](()=>{Ee=J,i(0,Ee)})}const an=()=>Di("backward"),dn=()=>Di("forward");function nn(J){qi=J,i(37,qi)}function mn(J){Ce[J?"unshift":"push"](()=>{zi=J,i(29,zi)})}function on(J){Ce[J?"unshift":"push"](()=>{zt=J,i(36,zt)})}return t.$$set=J=>{"store"in J&&i(103,re=J.store),"uiConfig"in J&&i(1,Le=J.uiConfig),"thumbUrl"in J&&i(2,Te=J.thumbUrl),"videoLogoUrl"in J&&i(3,pe=J.videoLogoUrl),"videoContainer"in J&&i(0,Ee=J.videoContainer),"interactiveContainer"in J&&i(104,A=J.interactiveContainer),"live"in J&&i(4,ie=J.live),"autoplay"in J&&i(5,Ve=J.autoplay),"canRewindLive"in J&&i(6,ye=J.canRewindLive),"showAds"in J&&i(7,ae=J.showAds),"adsSlotId"in J&&i(8,be=J.adsSlotId),"adsParams"in J&&i(9,x=J.adsParams),"adsPreviewParam"in J&&i(10,Q=J.adsPreviewParam),"duration"in J&&i(11,Fe=J.duration),"logoClickable"in J&&i(12,Je=J.logoClickable),"logoHidden"in J&&i(13,Xe=J.logoHidden),"showNextPrevButtons"in J&&i(14,Ae=J.showNextPrevButtons),"nextButtonActive"in J&&i(15,We=J.nextButtonActive),"prevButtonActive"in J&&i(16,xe=J.prevButtonActive),"endScreenVideoTitle"in J&&i(17,pt=J.endScreenVideoTitle),"endScreenVideoThumb"in J&&i(18,rt=J.endScreenVideoThumb),"isOneVideoPlaylist"in J&&i(19,Pe=J.isOneVideoPlaylist),"supportLink"in J&&i(20,ht=J.supportLink),"outerContainerRef"in J&&i(105,at=J.outerContainerRef),"showMiniTimer"in J&&i(106,xt=J.showMiniTimer),"fullScreenTarget"in J&&i(107,$t=J.fullScreenTarget),"playerStarted"in J&&i(21,Mt=J.playerStarted),"playNextVideo"in J&&i(22,ce=J.playNextVideo),"playPrevVideo"in J&&i(23,bt=J.playPrevVideo),"repeatPlaylist"in J&&i(24,it=J.repeatPlaylist),"seekToInteractive"in J&&i(25,yt=J.seekToInteractive),"toggleGraph"in J&&i(26,ft=J.toggleGraph),"playPrevChapter"in J&&i(27,dt=J.playPrevChapter),"firstStart"in J&&i(28,Tt=J.firstStart),"seekTime"in J&&i(108,Hi=J.seekTime)},t.$$.update=()=>{t.$$.dirty[1]&12|t.$$.dirty[4]&3&&i(38,Wi=(D===Re.Video&&M||D===Re.Ads&&ee===Xt.INACTIVE)&&!v),t.$$.dirty[0]&536870912&&Ni.set(zi),t.$$.dirty[3]&1073741824&&i(110,pi=V!==Ht.PLAYING),t.$$.dirty[3]&843251712&&i(112,Ei=Z||h||!Ti&&(P&&!!Ui||pi&&I)),t.$$.dirty[1]&28|t.$$.dirty[3]&11468800&&bi.set((pi||n||b||ne||Ti&&!Oe)&&!Ei&&D===Re.Video&&!v),t.$$.dirty[0]&1073741826|t.$$.dirty[1]&12|t.$$.dirty[3]&134225920&&i(40,Gt=Le.features.thumbTimer&&xt&&D===Re.Video&&!o&&!v&&!ut&&(Le.hideThumbTimerAfterTouch&&!w||!Le.hideThumbTimerAfterTouch)),t.$$.dirty[0]&128|t.$$.dirty[1]&4|t.$$.dirty[3]&100663296&&i(41,Ai=(ae&&y||!ae)&&P&&!v),t.$$.dirty[0]&2|t.$$.dirty[3]&26214400&&(!b&&ji&&!k&&Ii(Le.controls.hideTimeoutMobile),i(113,ji=b)),t.$$.dirty[0]&1|t.$$.dirty[1]&3&&i(42,Li=Ee&&_%180?c.height/c.width:1)},[Ee,Le,Te,pe,ie,Ve,ye,ae,be,x,Q,Fe,Je,Xe,Ae,We,xe,pt,rt,Pe,ht,Mt,ce,bt,it,yt,ft,dt,Tt,zi,o,c,_,v,D,ne,zt,qi,Wi,Dt,Gt,Ai,Li,s,l,p,te,N,Y,oe,C,le,ke,me,_e,X,ue,De,Vi,Ki,ei,Fi,Gi,qt,Wt,bi,Et,ri,Bt,Mi,_i,Zt,Ct,ti,vi,ai,ni,jt,Kt,Rt,wt,ki,Bi,ui,ci,Nt,yi,oi,Ci,ut,kt,At,Pi,Yi,Ri,mi,Di,Oi,hi,$,$e,li,Xi,re,A,at,xt,$t,Hi,Ti,pi,Oe,Ei,ji,n,h,b,k,P,y,w,I,Z,V,ee,M,_t,an,dn,nn,mn,on]}class mh extends we{constructor(e){super(),ve(this,e,dh,fh,ge,{store:103,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:104,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:105,showMiniTimer:106,fullScreenTarget:107,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:108},ch,[-1,-1,-1,-1,-1])}}function ph(t){He(t,"v-cghoty",`.root.v-cghoty{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
|
|
33
33
|
180deg,
|
|
34
34
|
rgba(0, 0, 0, 0.00) 0%,
|
|
35
35
|
rgba(0, 0, 0, 0.01) 6.67%,
|
|
@@ -47,5 +47,5 @@ import{VERSION as G1,ChromecastState as cn,PlaybackState as It,VideoQuality as G
|
|
|
47
47
|
rgba(0, 0, 0, 0.96) 86.67%,
|
|
48
48
|
rgba(0, 0, 0, 0.99) 93.33%,
|
|
49
49
|
#000 100%
|
|
50
|
-
);--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg{pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}.overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:10000}`)}function H3(i){let e,t,n;function o(s){i[55](s)}let l={store:i[0],uiConfig:i[35],title:i[1],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36]};return i[33]!==void 0&&(l.videoContainer=i[33]),e=new T3({props:l}),We.push(()=>bt(e,"videoContainer",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&1&&(r.store=s[0]),a[0]&2&&(r.title=s[1]),a[0]&4&&(r.thumbUrl=s[2]),a[0]&8&&(r.videoLogoUrl=s[3]),a[0]&16&&(r.interactiveContainer=s[4]),a[0]&32&&(r.live=s[5]),a[0]&64&&(r.autoplay=s[6]),a[0]&128&&(r.canRewindLive=s[7]),a[0]&256&&(r.showAds=s[8]),a[0]&512&&(r.adsSlotId=s[9]),a[0]&1024&&(r.adsParams=s[10]),a[0]&2048&&(r.adsPreviewParam=s[11]),a[0]&4096&&(r.duration=s[12]),a[0]&8192&&(r.logoClickable=s[13]),a[0]&16384&&(r.logoHidden=s[14]),a[0]&65536&&(r.showNextPrevButtons=s[16]),a[0]&131072&&(r.nextButtonActive=s[17]),a[0]&262144&&(r.prevButtonActive=s[18]),a[0]&524288&&(r.endScreenVideoTitle=s[19]),a[0]&1048576&&(r.endScreenVideoThumb=s[20]),a[0]&2097152&&(r.isOneVideoPlaylist=s[21]),a[0]&4194304&&(r.supportLink=s[22]),a[0]&8388608&&(r.outerContainerRef=s[23]),a[0]&16777216&&(r.fullScreenTarget=s[24]),a[0]&33554432&&(r.showMiniTimer=s[25]),a[1]&8&&(r.playerStarted=s[34]),a[0]&67108864&&(r.playNextVideo=s[26]),a[0]&134217728&&(r.playPrevVideo=s[27]),a[0]&268435456&&(r.repeatPlaylist=s[28]),a[0]&536870912&&(r.seekToInteractive=s[29]),a[0]&1073741824&&(r.toggleGraph=s[30]),a[1]&1&&(r.playPrevChapter=s[31]),!t&&a[1]&4&&(t=!0,r.videoContainer=s[33],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function F3(i){let e,t,n;function o(s){i[54](s)}let l={store:i[0],uiConfig:i[35],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36],seekTime:i[32]};return i[33]!==void 0&&(l.videoContainer=i[33]),e=new D3({props:l}),We.push(()=>bt(e,"videoContainer",o)),{c(){O(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&1&&(r.store=s[0]),a[0]&4&&(r.thumbUrl=s[2]),a[0]&8&&(r.videoLogoUrl=s[3]),a[0]&16&&(r.interactiveContainer=s[4]),a[0]&32&&(r.live=s[5]),a[0]&64&&(r.autoplay=s[6]),a[0]&128&&(r.canRewindLive=s[7]),a[0]&256&&(r.showAds=s[8]),a[0]&512&&(r.adsSlotId=s[9]),a[0]&1024&&(r.adsParams=s[10]),a[0]&2048&&(r.adsPreviewParam=s[11]),a[0]&4096&&(r.duration=s[12]),a[0]&8192&&(r.logoClickable=s[13]),a[0]&16384&&(r.logoHidden=s[14]),a[0]&65536&&(r.showNextPrevButtons=s[16]),a[0]&131072&&(r.nextButtonActive=s[17]),a[0]&262144&&(r.prevButtonActive=s[18]),a[0]&524288&&(r.endScreenVideoTitle=s[19]),a[0]&1048576&&(r.endScreenVideoThumb=s[20]),a[0]&2097152&&(r.isOneVideoPlaylist=s[21]),a[0]&4194304&&(r.supportLink=s[22]),a[0]&8388608&&(r.outerContainerRef=s[23]),a[0]&16777216&&(r.fullScreenTarget=s[24]),a[0]&33554432&&(r.showMiniTimer=s[25]),a[1]&8&&(r.playerStarted=s[34]),a[0]&67108864&&(r.playNextVideo=s[26]),a[0]&134217728&&(r.playPrevVideo=s[27]),a[0]&268435456&&(r.repeatPlaylist=s[28]),a[0]&536870912&&(r.seekToInteractive=s[29]),a[0]&1073741824&&(r.toggleGraph=s[30]),a[1]&1&&(r.playPrevChapter=s[31]),!t&&a[1]&4&&(t=!0,r.videoContainer=s[33],gt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function U3(i){let e,t,n,o;const l=[F3,H3],s=[];function a(r,c){return r[15]?0:1}return t=a(i),n=s[t]=l[t](i),{c(){e=k("div"),n.c(),u(e,"class","root v-labq99")},m(r,c){C(r,e,c),s[t].m(e,null),o=!0},p(r,c){let f=t;t=a(r),t===f?s[t].p(r,c):(me(),p(s[f],1,1,()=>{s[f]=null}),he(),n=s[t],n?n.p(r,c):(n=s[t]=l[t](r),n.c()),m(n,1),n.m(e,null))},i(r){o||(m(n),o=!0)},o(r){p(n),o=!1},d(r){r&&y(e),s[t].d()}}}function q3(i,e,t){let{sources:n}=e,{store:o}=e,{microStoresRoot:l}=e,{uiConfig:s}=e,{title:a}=e,{thumbUrl:r}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:h}=e,{live:g}=e,{preload:v}=e,{autoplay:b}=e,{volume:_=void 0}=e,{muted:L=void 0}=e,{fromTime:A}=e,{canRewindLive:S}=e,{showAds:P}=e,{adsSlotId:R=void 0}=e,{adsParams:W=void 0}=e,{adsPreviewParam:X=void 0}=e,{duration:Z=void 0}=e,{logoClickable:T}=e,{logoHidden:te}=e,{isMobile:j}=e,{showNextPrevButtons:ie=!1}=e,{nextButtonActive:G=!1}=e,{prevButtonActive:J=!1}=e,{endScreenVideoTitle:ue=void 0}=e,{endScreenVideoThumb:w=void 0}=e,{isOneVideoPlaylist:oe=!1}=e,{supportLink:fe}=e,{outerContainerRef:ve=void 0}=e,{fullScreenTarget:Me=void 0}=e,{failoverHosts:Ee=void 0}=e,{showMiniTimer:we=!1}=e,{playNextVideo:H=et}=e,{playPrevVideo:M=et}=e,{repeatPlaylist:Y=et}=e,{seekToInteractive:pe=et}=e,{toggleGraph:ee=et}=e,{playPrevChapter:B=et}=e;const{subscribers:Q,stores:Le}=l;Au(s);const ye=Yi(),Te=o.ui.debugPanelVisible,x=o.ui.playerSize;let le,be=null,ae=!1;o.getAdmanWrapper().init({switchFromAdsToVideo:o.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:o.actions.internal.switchFromVideoToAds,setMuted:o.actions.external.setMuted},o.ads,{isMobile:o.ui.isMobile,mobileUnmuteButtonVisible:o.ui.mobileUnmuteButtonVisible,vsid:o.vsid}),Nu(o,Le);const Ue=(re=!1)=>{t(34,ae=!0),re?o.actions.external.firstStart(P):o.actions.internal.firstStart(P)};function qe(re){const xe=n||re;xe&&o.initVideo({container:le,sources:xe,failoverHosts:Ee,subtitles:h});const Ye=an.get($o)==="true";Te.set(Ye),A>0&&o.actions.external.seekTime(A);const it=j?ye.volumeDefault:_??Fr()??ye.volumeDefault,Ge=L??Fu();if(o.actions.external.setVolume(it),o.actions.external.setMuted(Ge),o.getAdmanWrapper().setInitialVolume(Ge?0:it),ye.features.trafficSaving){const $e=qu();$e&&o.actions.internal.setTrafficSavingEnabled($e)}const ft=Hu(o.videoId);ft&&o.actions.internal.setQuality(ft),o.ui.isAutoplay.set(b),b?Ue():v&&ye.features.preload&&o.actions.internal.preload()}const Je=re=>{if(window.ResizeObserver){let xe,Ye;be=new ResizeObserver(vr(it=>{const Ge=it[0];if(Ge){if(Ge.contentBoxSize){const ft=Array.isArray(Ge.contentBoxSize)?Ge.contentBoxSize[0]:Ge.contentBoxSize;xe=ft.inlineSize,Ye=ft.blockSize}else Ge.contentRect&&(xe=Ge.contentRect.width,Ye=Ge.contentRect.height);x.set({width:xe,height:Ye})}},Er)),be.observe(re)}x.set({width:re.clientWidth,height:re.clientHeight})};Ki(()=>{Je(le);const re=Q.map(Ye=>Ye.init(o,Le));if(g?.status==="upcoming"||g?.status==="waiting"){o.actions.internal.setWaitingLive(!0);return}if((g?.status==="finished"||g?.status==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return qe(),()=>{be?.disconnect(),re.forEach(Ye=>Ye.unsubscribe()),o.destroy()}});function tt(){ae?o.actions.external.play():Ue(!0)}function Ne(){o.actions.external.pause()}function at(re){j||o.actions.external.setMuted(re)}function St(re){j||re>=0&&re<=1&&o.actions.external.setVolume(re)}function Be(re){o.actions.internal.seekTime(re,Vt.UNKNOWN)}function Ve(re){o.actions.external.seekEpisodeStartTime(re)}function kt(re){o.actions.external.setPlaybackRate(re)}function Ot(re){o.actions.external.setAutoQualityLimits(re)}function mt(re){le=re,t(33,le)}function ot(re){le=re,t(33,le)}return i.$$set=re=>{"sources"in re&&t(37,n=re.sources),"store"in re&&t(0,o=re.store),"microStoresRoot"in re&&t(38,l=re.microStoresRoot),"uiConfig"in re&&t(39,s=re.uiConfig),"title"in re&&t(1,a=re.title),"thumbUrl"in re&&t(2,r=re.thumbUrl),"videoLogoUrl"in re&&t(3,c=re.videoLogoUrl),"interactiveContainer"in re&&t(4,f=re.interactiveContainer),"subtitles"in re&&t(40,h=re.subtitles),"live"in re&&t(5,g=re.live),"preload"in re&&t(41,v=re.preload),"autoplay"in re&&t(6,b=re.autoplay),"volume"in re&&t(42,_=re.volume),"muted"in re&&t(43,L=re.muted),"fromTime"in re&&t(44,A=re.fromTime),"canRewindLive"in re&&t(7,S=re.canRewindLive),"showAds"in re&&t(8,P=re.showAds),"adsSlotId"in re&&t(9,R=re.adsSlotId),"adsParams"in re&&t(10,W=re.adsParams),"adsPreviewParam"in re&&t(11,X=re.adsPreviewParam),"duration"in re&&t(12,Z=re.duration),"logoClickable"in re&&t(13,T=re.logoClickable),"logoHidden"in re&&t(14,te=re.logoHidden),"isMobile"in re&&t(15,j=re.isMobile),"showNextPrevButtons"in re&&t(16,ie=re.showNextPrevButtons),"nextButtonActive"in re&&t(17,G=re.nextButtonActive),"prevButtonActive"in re&&t(18,J=re.prevButtonActive),"endScreenVideoTitle"in re&&t(19,ue=re.endScreenVideoTitle),"endScreenVideoThumb"in re&&t(20,w=re.endScreenVideoThumb),"isOneVideoPlaylist"in re&&t(21,oe=re.isOneVideoPlaylist),"supportLink"in re&&t(22,fe=re.supportLink),"outerContainerRef"in re&&t(23,ve=re.outerContainerRef),"fullScreenTarget"in re&&t(24,Me=re.fullScreenTarget),"failoverHosts"in re&&t(45,Ee=re.failoverHosts),"showMiniTimer"in re&&t(25,we=re.showMiniTimer),"playNextVideo"in re&&t(26,H=re.playNextVideo),"playPrevVideo"in re&&t(27,M=re.playPrevVideo),"repeatPlaylist"in re&&t(28,Y=re.repeatPlaylist),"seekToInteractive"in re&&t(29,pe=re.seekToInteractive),"toggleGraph"in re&&t(30,ee=re.toggleGraph),"playPrevChapter"in re&&t(31,B=re.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(j)},[o,a,r,c,f,g,b,S,P,R,W,X,Z,T,te,j,ie,G,J,ue,w,oe,fe,ve,Me,we,H,M,Y,pe,ee,B,Be,le,ae,ye,Ue,n,l,s,h,v,_,L,A,Ee,qe,tt,Ne,at,St,Ve,kt,Ot,mt,ot]}class W3 extends ke{constructor(e){super(),_e(this,e,q3,U3,ge,{sources:37,store:0,microStoresRoot:38,uiConfig:39,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:40,live:5,preload:41,autoplay:6,volume:42,muted:43,fromTime:44,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:45,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:46,play:47,pause:48,setMuted:49,setVolume:50,seekTime:32,seekEpisodeStartTime:51,setPlaybackRate:52,setAutoQualityLimits:53},O3,[-1,-1])}get initVideo(){return this.$$.ctx[46]}get play(){return this.$$.ctx[47]}get pause(){return this.$$.ctx[48]}get setMuted(){return this.$$.ctx[49]}get setVolume(){return this.$$.ctx[50]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[51]}get setPlaybackRate(){return this.$$.ctx[52]}get setAutoQualityLimits(){return this.$$.ctx[53]}}function Z3(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill",i[0]),u(t,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,o){C(n,e,o),d(e,t)},p(n,[o]){o&1&&u(t,"fill",n[0])},i:K,o:K,d(n){n&&y(e)}}}function j3(i,e,t){let{isWhite:n=!1}=e,o;return i.$$set=l=>{"isWhite"in l&&t(1,n=l.isWhite)},i.$$.update=()=>{i.$$.dirty&2&&t(0,o=n?"#fff":"#909499")},[o,n]}class G3 extends ke{constructor(e){super(),_e(this,e,j3,Z3,ge,{isWhite:1})}}function K3(i){Fe(i,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function hr(i){let e,t;return{c(){e=k("div"),t=ze(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&1&&Xe(t,n[0])},d(n){n&&y(e)}}}function pr(i){let e,t;return e=new G3({props:{isWhite:!!i[1]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.isWhite=!!n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Y3(i){let e,t,n,o,l=i[0]&&hr(i),s=(!i[0]||!i[1])&&pr(i);return{c(){e=k("div"),l&&l.c(),t=N(),s&&s.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(a,r){C(a,e,r),l&&l.m(e,null),d(e,t),s&&s.m(e,null),o=!0},p(a,[r]){a[0]?l?l.p(a,r):(l=hr(a),l.c(),l.m(e,t)):l&&(l.d(1),l=null),!a[0]||!a[1]?s?(s.p(a,r),r&3&&m(s,1)):(s=pr(a),s.c(),m(s,1),s.m(e,null)):s&&(me(),p(s,1,1,()=>{s=null}),he()),(!o||r&2&&n!==(n=a[1]?`background-image: url('${a[1]}')`:""))&&u(e,"style",n)},i(a){o||(m(s),o=!0)},o(a){p(s),o=!1},d(a){a&&y(e),l&&l.d(),s&&s.d()}}}function Q3(i,e,t){let{title:n}=e,{thumbUrl:o}=e;return i.$$set=l=>{"title"in l&&t(0,n=l.title),"thumbUrl"in l&&t(1,o=l.thumbUrl)},[n,o]}class X3 extends ke{constructor(e){super(),_e(this,e,Q3,Y3,ge,{title:0,thumbUrl:1},K3)}}const J3=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,x3="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class $3{adman=null;initialVolume=1;videoElement=null;currentAdSection=null;actions=null;adsState=null;playerState=null;log;loadTimeout;initTimeout;events={slotRequested$:new $i,started$:new $i,paused$:new $i,resumed$:new $i,ended$:new $i,skipped$:new $i,clicked$:new $i};constructor(e,t){this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=t.loadTimeout,this.initTimeout=t.initTimeout}init(e,t,n){this.actions=e,this.adsState=t,this.playerState=n}loadAdman=e=>new Promise((t,n)=>{let o;const l=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?t():n()};eu(x3,e,this.loadTimeout).then(()=>{window.AdmanHTML?t():(window.admanAsyncInit=l,o=window.setTimeout(l,this.initTimeout))}).catch(()=>{n()})});onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:t,height:n,isFullscreen:o,isAutoplay:l,adsContainer:s,adsVideoElement:a,slotId:r,params:c={},duration:f,previewParam:h}=e;let g;const v=this.playerState&&Qe(this.playerState.vsid);v&&(g=parseInt(v,36));const b={dl:encodeURIComponent(window.location.href),autoplay:l,player_width:t,player_height:n,puid10:J3(t,n),puid11:o?0:1,preview:h,...g?{request_id:g}:{},duration:f,...c},_={slot:r,wrapper:s,videoEl:a,videoQuality:n,params:b,browser:{mobile:!1}},L=new window.AdmanHTML;L.setDebug(!1),L.onReady(this.onAdsReady),L.onStarted(this.onAdStarted),L.onPlayed(this.onAdPlayed),L.onPaused(this.onAdPaused),L.adMidrollPoint(this.onAdMidrollPoint),L.onClosed(this.onAdClosed),L.onSkipped(this.onAdSkipped),L.onClicked(this.onAdClicked),L.onTimeRemained(this.onAdTimeRemained),L.onCompleted(this.onAdCompleted),L.onError(this.onAdError),L.init(_),this.adman=L,this.videoElement=a,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(_)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}dt(this.actions),dt(this.adsState),dt(this.playerState);const t=this.currentAdSection===gn.Postroll;this.adsState.playbackState.set(Dt.INACTIVE),this.currentAdSection=null,this.playerState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${t}`}),t&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!t)}togglePlay(){dt(this.adsState),this.log({message:"toggle play"});const e=Qe(this.adsState.playbackState);e===Dt.PLAYING?this.pause():e===Dt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){this.log({message:`set volume ${e}`}),this.adman?.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){this.log({message:`set fullscreen ${e}`}),this.adman?.setFullscreen(e)}startPreroll(){dt(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=gn.Preroll,this.adman.start(gn.Preroll)}startPostroll(){dt(this.adman),dt(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=gn.Postroll,this.adman.start(gn.Postroll)}onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()};onAdStarted=(e,t)=>{dt(this.adsState),dt(this.playerState),dt(this.actions),this.log({message:`ad started, section: ${e}, banner: ${JSON.stringify(t)}`}),this.events.started$.next(e),t.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Qe(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(t.duration),this.adsState.playbackState.set(Dt.PLAYING),this.adsState.canSkip.set(t.allowClose),this.adsState.secondsToWatchBeforeSkip.set(t.allowCloseDelay)};onAdTimeRemained=({currentTime:e})=>{dt(this.adsState),this.adsState.position.set(e)};onAdPaused=()=>{dt(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Dt.PAUSED)};onAdPlayed=()=>{dt(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Dt.PLAYING)};onAdMidrollPoint=()=>{dt(this.adman),dt(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=gn.Midroll,this.adman.start(gn.Midroll)};onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()};onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()};onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()};onAdClicked=()=>{this.log({message:"ad clicked"}),this.videoElement?.pause(),this.events.clicked$.next()};onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)};play(){dt(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){dt(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){dt(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,t){this.adman?.setPosition(Math.floor(e),Math.floor(t))}destroy(){this.log({message:"destroy"}),this.adman?.destroy()}}const eh=i=>{const e=Math.round(i);return isNaN(e)||e<40?"":e>=40&&e<55?50:e>=55&&e<90?60:e>=90&&e<180?120:e>=180?240:""};class th{oneLineRegExp=/\r\n|\n|\r/;twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/;parse(e){const t=[],n=e.split(this.twoLinesRegExp);for(const o of n){const l={startTime:0,endTime:0,texts:[],lang:""},s=o.split(this.oneLineRegExp);for(const a of s)if(!l.startTime&&!l.endTime){const r=new U1,{startTime:c,endTime:f}=r.parse(a);l.startTime=c,l.endTime=f}else if(a.trim()!==""){const r=new ih,{texts:c}=r.parse(a);l.texts=[...l.texts,...c]}(l.startTime||l.endTime)&&l.texts.length>0&&t.push(l)}return t}}class U1{timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/;timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`);parse(e){const t={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(t.startTime=this.calcTime(n[1],n[2],n[3],n[4]),t.endTime=this.calcTime(n[6],n[7],n[8],n[9])),t}parseTime(e){const t=this.timeRegExp.exec(e);return t?this.calcTime(t[1],t[2],t[3],t[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",t="0",n="0",o="0"){const l=Number(e)*60*60,s=Number(t)*60,a=Number(n),r=+`0.${o}`;return l+s+a+r}}class ih{letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/;parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](s){let a=0;const r=[];for(;a<s.length;){const c=["<",">"].reduce((f,h)=>{const g=s.indexOf(h,a);return f===-1||f>g?g:f},-1);if(c===-1){r.push(s.substring(a));break}r.push(s.substring(a,c)),a=c+1}return r}}),l=new U1;for(const s of o)l.isTime(s)?t.texts.push({type:"timestamp",value:l.parseTime(s)}):t.texts.push({type:"text",value:s});return t}}let An,xi,Go=0,Ko=!1;const nh=(i,e,t)=>{const n=i>=Go,o=i<Go,l=(c,f=0,h=0)=>c<f&&c<h,s=(c,f=0,h=0)=>c>=f&&c<=h,a=(c,f=0,h=0)=>c>f&&c>h,r=t.find(({lang:c})=>c===e.value)?.subtitles;if(Go=i,o&&(Ko=!1),ln(An)&&s(i,An.startTime,An.endTime)&&An.lang===e.value)return An;if(!ln(xi)&&r?.length&&!Ko){const c=r.find(({startTime:f,endTime:h})=>s(i,f,h)||n&&l(i,f,h));xi=c&&{...c,lang:e.value},An=void 0,!ln(xi)&&r[r.length-1].endTime<i&&(Ko=!0);return}else{if(s(i,xi?.startTime,xi?.endTime))return An=xi,xi=void 0,An;(n&&a(i,xi?.startTime,xi?.endTime)||o&&l(i,xi?.startTime,xi?.endTime))&&(xi=void 0)}},Yo={ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",en:"English",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F (\u0442\u0430\u0440\u0430\u0448\u043A\u0435\u0432i\u0446\u0430)",es:"Espa\xF1ol",fi:"Suomi",de:"Deutsch",it:"Italiano",bg:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",hr:"Hrvatski",hu:"Magyar",sr:"\u0421\u0440\u043F\u0441\u043A\u0438","pt-PT":"Portugu\xEAs",el:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",pl:"Polski",fr:"Fran\xE7ais",ko:"\uD55C\uAD6D\uC5B4","zh-CN":"\u6C49\u8BED",lt:"Lietuvi\u0173",ja:"\u65E5\u672C\u8A9E",cs:"\u010Ce\u0161tina",et:"Eesti",tt:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",ba:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",cv:"\u0427\u0103\u0432\u0430\u0448\u043B\u0430",sk:"Sloven\u010Dina",ro:"Rom\xE2n\u0103",no:"Norsk",lv:"Latvie\u0161u",az:"Az\u0259rbaycan dili",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",sv:"Svenska",nl:"Nederlands",tk:"T\xFCrkmen",ka:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",da:"Dansk",uz:"O\u2018zbek",th:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",id:"Bahasa Indonesia",tg:"\u0422\u043E\u04B7\u0438\u043A\u04E3",sl:"Sloven\u0161\u010Dina",bs:"Bosanski","pt-BR":"Portugu\xEAs brasileiro",fa:"\u0641\u0627\u0631\u0633\u06CC",vi:"Ti\u1EBFng Vi\u1EC7t",hi:"\u0939\u093F\u0928\u094D\u0926\u0940",si:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",bn:"\u09AC\u09BE\u0982\u09B2\u09BE",tl:"Tagalog",mn:"\u041C\u043E\u043D\u0433\u043E\u043B",my:"\u1017\u1019\u102C\u1005\u102C",tr:"T\xFCrk\xE7e",ne:"\u0928\u0947\u092A\u093E\u0932\u0940",ur:"\u0627\u0631\u062F\u0648",ky:"\u041A\u044B\u0440\u0433\u044B\u0437 \u0442\u0438\u043B\u0438",pa:"\u067E\u0646\u062C\u0627\u0628\u06CC",os:"\u0418\u0440\u043E\u043D",kn:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",sw:"Kiswahili",kk:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",he:"\u05E2\u05D1\u05E8\u05D9\u05EA",ab:"\u0410\u04A7\u0441\u0448\u04D9\u0430",eu:"Euskara",eo:"Esperanto"};let To=null;class fo{constructor(e,t){if(!To){const n=new cu(e,t),o=new Dn;To=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n?.destroy(),o?.unsubscribe(),To=null}})}}static getInstance(){return To}}const oh=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:l,canDownload:s,callbacks:a,webApi:r,videoEpisodes:c,previewThumbsData:f,uiConfig:h,coreConfig:g,player:v,disabledControls:b,isInteractive:_,interactiveRanges:L,replayInteractive:A,hasInteractiveBranches:S,playPrevChapterDisabledTooltip:P,additionalButtons:R,looped:W=!1})=>{const X={...g,configName:[...g.configName??[],"ui"],isAudioDisabled:l,live:{...g.live??{},isLiveCatchUpMode:!!n}},Z=h,T=v||new K1(X);T.setLooped(W);const te=new wr,j=new $3(te,{loadTimeout:Z.ads.loadTimeout,initTimeout:Z.ads.initTimeout}),ie=fo.getInstance(),G=el.getInstance(),J=r?.pictureInPictureApi,ue=r?.annotationsApi,w=te.createComponentLog("Store");let oe,fe,ve={};const Me=nl(),Ee=ie?pt(ie.oneStat.vsid$):un(void 0),we=Oe(po()),H=J?.info.isActive$??new il(!1),M=J?.info.type,Y=Oe(0),pe=Oe([]),ee=tu(T.events.fatalError$,T.events.managedError$).subscribe(E=>pe.update(ce=>[...ce,E])),B=un(!1,E=>{const ce=T.events.fatalError$.subscribe(()=>E(!0));return()=>ce.unsubscribe()}),Q=async E=>{const ce=Object.values(go).includes(E);if(Z.downloadVKLanguages&&(ce&&Z.updateBuiltinLanguages||!Pl(E))){let De;try{De=await ou(E,Eu,Vu)}catch(Ke){ie?.oneStat?.logError({errorType:"VKLangPack",fatal:!1}),G?.report(Ke,{errorType:"VKLangPack",fatal:!1})}De&&(Cl({language:E,pack:De,fallback:Z.defaultLanguage}),Le.set(E))}Pl(E)&&Le.set(E)},Le=Oe(i);Q(i);const ye=(E,ce)=>{const Se=Qe(Le);return Gr(Se,E,ce,Z.defaultLanguage)},Te=Oe(Re.Thumb),x=(()=>{const E=Jt([B,Te],([ce,Se])=>ce?Re.Crashed:Se);return{...E,is:ce=>Qe(E)===ce}})(),le=(()=>{const E=Oe(new Set(b));return{...E,add:ce=>{E.update(Se=>new Set([...Se].concat(ce)))},remove:ce=>{E.update(Se=>{const De=[...Se];return new Set(Array.isArray(ce)?De.filter(Ke=>!ce.includes(Ke)):De.filter(Ke=>Ke!==ce))})},includes:ce=>{const Se=Qe(E);return Array.isArray(ce)?ce.every(De=>Se.has(De)):Se.has(ce)}}})();w({message:"create store"});const be=E=>{w({message:`init video, config: ${JSON.stringify(E)}`}),_?E.container.append(T.experimental.element$.getValue()):T.initVideo(E),E.subtitles&&T.setExternalTextTracks(E.subtitles),oe=E},ae=new $i,Ue=E=>ae.next(E),qe=new $i,Je=new $i,tt=new $i,Ne={actionRewind$:qe,actionSeek$:Je,inPiP$:H,inFullscreen$:new iu(E=>we.subscribe(ce=>E.next(ce))),actionSetSubtitle$:tt,nextMovie$:ae};if(ie){const{oneStat:E,statSubscription:ce}=ie;ce.add(E.attachTo(T)),ce.add(E.attachToUi(Ne)),ce.add(E.attachToAds(j.events)),E.authorize(o).catch(Se=>{w({message:`onestat auth error ${String(Se)}`})})}if(G){const E=new Dn,ce=(Se,De)=>E.add(Se.subscribe(De));if(ce(T.events.managedError$,Se=>{G.logIError(Se)}),ce(T.events.fatalError$,Se=>{G.logIError(Se,!0)}),ie){const{oneStat:Se}=ie;ce(Se.experimental.error$,De=>{G.logIError(De)})}G.sentrySubscription.add(E)}const at=()=>{kr()&&fe&&nc(fe)},St=new Dn().add(T.experimental.element$.subscribe(E=>{E&&(fe=E,E.classList.add("player-media"),Mo(J)&&(J.updateVideoElement(),J.registryEventHandlers()),_&&E.setAttribute("pip","false"))})).add(T.events.ended$.subscribe(()=>{at(),a?.onEnded?.()})).add(T.events.started$.subscribe(async()=>{Mo(J)&&await J?.revealPictureInPicture();const E=T.info.muted$.getValue();a?.onStarted?.(),ve.onStarted?.(E)})).add(T.events.willSeek$.subscribe(({from:E,to:ce})=>{a?.onSeek?.(E,ce)})).add(T.info.position$.subscribe(E=>{const ce=T.info.duration$.getValue();a?.onTimeupdate?.(ce,E),j.setPosition(E,ce)})).add(T.events.fatalError$.subscribe(()=>{a?.onCrashed?.()})).add(T.info.is3DVideo$.subscribe(E=>{Et.ui.is3DVideo.set(E)})).add(T.info.isEnded$.subscribe(E=>{_&&(E?(Qe(Ho)&&le.add(Lr),le.add(ct.PLAY_BUTTON)):le.remove(ct.PLAY_BUTTON))})).add(T.info.liveTime$.subscribe(E=>{a?.onLiveTime?.(E)})),Be=new Dn,Ve=()=>{Be.add(T.events.log$.subscribe(E=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${E.component}`,E.message)})).add(te.log$.subscribe(E=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${E.component}.`,E.message)}))},kt=()=>{Be.unsubscribe()},Ot=(E,ce)=>{T.startCameraManualRotation(E,ce)},mt=(E=!1)=>{T.stopCameraManualRotation(E)},ot=(E,ce,Se)=>{T.moveCameraFocusPX(E,ce,Se)},re=()=>{T.holdCamera()},xe=()=>{T.releaseCamera()},Ye=un(T.info.position$.getValue(),E=>{let ce,Se;const De=()=>{const Ke=T.info.playbackState$.getValue(),Qt=T.info.isLive$.getValue(),vi=T.info.duration$.getValue(),Xt=T.info.position$.getValue();if([It.PLAYING,It.PAUSED].includes(Ke)){const Tn=Qt?Xt-vi:T.getExactTime();Tn!==Se&&E(Tn),Se=Tn}ce=requestAnimationFrame(De)};return De(),()=>cancelAnimationFrame(ce)}),it=pt(H),Ge=pt(T.info.playbackState$),ft=pt(T.info.currentBuffer$),$e=pt(T.info.isEnded$),Nt=pt(T.info.isLive$),wt=Z.features.playbackRate?pt(T.info.canChangePlaybackSpeed$):un(!1),nt=pt(T.info.liveBufferTime$),Ht=pt(T.info.volume$),ut=pt(T.info.muted$),Ze=Rr(T.info.autoQualityLimits$.pipe(nu(({max:E})=>E!==void 0)),T.info.autoQualityLimits$.getValue()?.max!==void 0),Tt=pt(T.info.autoQualityLimitingAvailable$),lt=pt(T.info.availableQualities$),oi=pt(T.info.availableQualitiesFps$),de=pt(T.info.chromecastState$),Ce=pt(T.info.chromecastDeviceName$),Ie=pt(T.info.currentFormat$),Pt=pt(T.info.throughputEstimation$),Mi=pt(T.info.videoBitrate$),$t=pt(T.info.intrinsicVideoSize$),_i=pt(T.info.duration$),Bi=pt(T.info.isAudioAvailable$);let Lt=null;const Pe=T.info.isBuffering$,Rt=un(Pe.getValue(),E=>{const ce=Pe.subscribe(Se=>{Se&&Lt===null?Lt=window.setTimeout(()=>{E(Pe.getValue()),Lt=null},Z.loaderDelay):E(Se)});return()=>{ce.unsubscribe(),Lt&&clearTimeout(Lt)}}),Ni=()=>{Lt&&clearTimeout(Lt),Lt=null},li=Jt([_i,Nt],([E,ce])=>ce?-E:E),ki=Jt([Ge],([E])=>E===It.PLAYING),wi=pt(T.info.atLiveEdge$),yi=pt(T.info.atLiveDurationEdge$),si=pt(T.info.position$),Qi=Jt([si,_i],([E,ce])=>isFinite(E)&&isFinite(ce)&&!!ce),hi=Jt([de],([E])=>E===cn.CONNECTED),Ci=Oe(void 0),Pi=pt(T.info.isAutoQualityEnabled$,E=>E&&Ci.set(void 0)),Ri=pt(T.info.currentQuality$,()=>Ci.set(void 0)),Si=Jt([Ci,Ri],([E,ce])=>E??ce),Zi=Jt([lt,oi,Pi,Si,Ie],([E,ce,Se,De,Ke])=>{const Qt=[];Ke!==ro.MPEG&&Qt.push({value:Xn.AUTO,displayValue:ye("auto_quality_option"),selected:Se});const vi=E.filter(Xt=>Xt!==Ao.INVARIANT);for(const Xt of vi){const Tn=ce[Xt],ko=Xt===Ao.INVARIANT?ye("auto_quality_option"):Xt;Qt.push({value:Xt,displayValue:`${ko}${Tn?eh(Tn):""}`,selected:Se?!1:Xt===De})}return Qt}),ei=pt(T.info.currentPlaybackRate$),ai=Jt([ei,wi,yi],([E,ce,Se])=>{const De=Se||_?1:Z.controls.playbackRateMin,Ke=ce?1:Z.controls.playbackRateMax,Qt=Z.controls.playbackRateStep,vi=[];for(let Xt=De;Xt<=Ke;Xt+=Qt)vi.push({value:Xt,displayValue:Xt===1?ye("playback_rate_1"):ye("playback_rate",{multiplier:Xt.toString(10)}),selected:E===Xt});return vi}),Ti=Z.features.subtitles?pt(T.info.availableTextTracks$):un([]),Ft=Jt([Ti],([E],ce)=>{const Se=[],De=[];for(const Ke of E)Ke.url&&Se.push(fetch(Ke.url));Promise.allSettled(Se).then(Ke=>{for(const[Qt,vi]of Ke.entries())vi.status==="fulfilled"&&vi.value.text().then(Xt=>{const Tn=new th,ko=E[Qt].language,j1=!!E[Qt].isAuto,gl=Tn.parse(Xt);ko&&gl&&De.push({lang:ko,subtitles:gl,isAuto:j1}),Qt===Ke.length-1&&ce(De)})})}),yt={displayValue:ye("subtitles_off"),value:"off"},Ut=Oe({...yt}),zi=Jt([Ft,Ut,Ft],([E,ce])=>{if(E?.length>0){const Se=[{...yt,selected:ce?.value===yt.value}];for(const{lang:De,isAuto:Ke}of E)Yo[De]&&Se.push({displayValue:Ke?ye("subtitles_auto",{language:Yo[De]}):Yo[De],value:De,selected:ce?.value===De,isAuto:Ke});return Se}else return[]}),Xi=Jt([Ye,Ut,Ft],([E,ce,Se])=>{if(ce&&ce.value!==yt.value)return nh(E,ce,Se)}),Di=Jt([Xi],([E])=>E?.texts?E.texts:[]),ti=Oe(!0),qi=Jt([ft,li,si,nt],([E,ce,Se,De])=>{const Ke=E?.end??0;if(!De)return Ke/ce;const vi=-Se+De-ce;return(Ke-vi)/ce}),ji=pt(T.info.availableSources$),ri=Jt([ji],([E])=>Object.keys(E?.[ro.MPEG]||{}).length>0),Oi=()=>{const E=Object.keys(T.info.availableSources$?.getValue()?.[ro.MPEG]||{}),ce=lu(E)||Ao.Q_144P;return oe.sources[ro.MPEG]?.[ce]},Ai=()=>{const E=Oi();E?Du(E,oe?.meta?.title||"video"):w({message:"There is no URL for download video"})},Ei=()=>{w({message:"toggle muted"});const E=T.info.muted$.getValue(),De=!(T.info.volume$.getValue()===0||E);pi(De)},Vi=(E,ce=E,Se=!1)=>{const De=!Se,Ke=T.info.muted$.getValue();w({message:`set volume, volume: ${E}, preferredVolume: ${ce}, internalCall: ${De}`}),T.setVolume(E),j.setVolume(E),De&&a?.onVolumeChange?.(E),yl(ce),Ke?(T.setMuted(!1),De&&a?.onUnmute?.(),Uo(!1)):!Ke&&E===0&&(T.setMuted(!0),De&&a?.onMute?.(),Uo(!0))},pi=(E,ce=!1)=>{const Se=!ce,De=T.info.volume$.getValue();if(w({message:`set muted, currentVolume: ${De}, mute: ${E}, internalCall: ${Se}`}),T.setMuted(E),j.setVolume(E?0:De),Uo(E),Se&&(E?a?.onMute?.():a?.onUnmute?.()),De===0){let Ke=Fr()??Z.volumeDefault;Ke===0&&(Ke=Z.volumeMinRestore,yl(Ke)),T.setVolume(Ke),j.setVolume(Ke),Se&&a?.onVolumeChange?.(Ke)}},qt=()=>{T.prepare()},ui=()=>{if(dt(Et),!Qe(Et.ui.controls.disabledControls$).has(ct.PLAY_BUTTON)){if(w({message:"toggle play"}),Qe(Et.playerPhase)===Re.Ads){j.togglePlay();return}if(T.info.playbackState$.getValue()!==It.PLAYING){if(T.info.isEnded$.getValue()){if(w({message:"toggle play, video ended, seek to 0"}),qe.next(),Je.next(Vt.REWIND),_){A?.();return}T.seekTime(0)}w({message:"toggle play, call player.play"}),T.play(),a?.onPlay?.()}else w({message:"toggle play, call player.pause"}),T.pause(),a?.onPause?.()}},gi=E=>{w({message:`set quality, quality: ${E}`}),T.setAutoQuality(E===Xn.AUTO),E!==Xn.AUTO?(Ou(e,E),Ci.set(E),T.setQuality(E)):Ur()},Wt=E=>{w({message:`set trafficSavingEnabled, value: ${E}`}),T.setAutoQualityLimits({max:E?Z.trafficSavingLimit:void 0}),Uu(E)},Zt=E=>{T.setPlaybackRate(E)},ii=()=>{const E=Qe(ai),ce=E.findIndex(({selected:De})=>De);if(ce===E.length-1)return;const Se=E[ce+1];Zt(Se.value)},ci=()=>{const E=Qe(ai),ce=E.findIndex(({selected:De})=>De);if(ce===0)return;const Se=E[ce-1];Zt(Se.value)},jt=E=>{E&&E.value!==yt.value&&tt.next(E.isAuto?E.value+"_auto":E.value),Ut.set(E)},bi=()=>{const E=Qe(zi),ce=Qe(Ut),Se=Qe(Le);if(ce?.value===yt.value){const De=E.filter(Ke=>Ke.value!==yt.value).find(Ke=>Ke.value===Se)||E[1];jt(De??{...yt})}else jt({...yt,selected:!1})},ni=(E,ce,Se=!0)=>{if(w({message:`seek to time, time: ${E}`}),Je.next(ce),T.info.isLive$.getValue()){const De=T.info.duration$.getValue(),Ke=Math.min(0,De+E);T.seekTime(Ke,Se)}else{if(Qe(Ho))return;T.seekTime(pl(E),Se)}},Hi=E=>{w({message:`seek to episode start time: ${E}`}),ni(E,Vt.EPISODE,!0)},Li=(E,ce)=>{w({message:`seek to percent, percent: ${E}`});const Se=Math.round(Qe(li)*E);ni(Se,ce,!1)},Gi=E=>{w({message:`seek external, time: ${E}`}),Je.next(Vt.UNKNOWN),T.seekTime(T.info.isLive$.getValue()?-E:E)},Fi=E=>{w({message:`set auto quality limitation. Max: ${E.max??"none"}. Min: ${E.min??"none"}`}),T.setAutoQualityLimits(E)},fi=E=>{w({message:`seek external to episode start time: ${E}`}),ni(E,Vt.EPISODE,!0)},Wi=E=>{w({message:`set playback rate to: ${E}`}),T.setPlaybackRate(E)},Ii=Oe(void 0),se=Oe(!1),Gt=E=>{w({message:`start scrubbing, progress: ${E}`}),se.set(!0),Ui(E)},Ui=E=>{Ii.set(E)};let Ji,dn;const mn=()=>{Ii.set(void 0),se.set(!1)},Kt=()=>{clearTimeout(dn),clearTimeout(Ji),Ji=window.setTimeout(()=>{mn()},500),fe?.removeEventListener("seeked",Kt)},Vn=E=>{w({message:`complete scrubbing, progress: ${E}`}),Li(E,Vt.SLIDER),Qe(Et.ui.isMobile)&&Qe(Et.state.currentFormat$)===ro.HLS?(fe?.addEventListener("seeked",Kt),dn=window.setTimeout(()=>{Kt()},300)):mn()},Ln=Jt([Ye,li,Ii],([E,ce,Se],De)=>{De(ln(Se)?Se*ce:E)}),hn=Oe({width:0,height:0}),Sn=Jt([hn],([{width:E}],ce)=>{const Se=cd(E);ce(Se)}),rn=Oe(!1),en=Jt([Sn,rn],([E,ce])=>ce?R.filter(Se=>!Se.hideOnMobile):R.filter(Se=>!Se.hideOnDesktopGridTypes?.includes(E))),In=Jt([rn,B],([E,ce],Se)=>{Se(E&&ce)}),$=()=>{Je.next(Vt.LIVE),w({message:"switch to active live"}),T.seekTime(0),T.info.playbackState$.getValue()!==It.PLAYING&&Et.actions.internal.togglePlay()},_t=()=>j.skip(),Mn=(E=!0)=>{dt(Et),w({message:`switch from ads to video, callPlay: ${E}`}),Te.set(Re.Video),E&&T.play()},Bn=()=>{dt(Et),w({message:"switch from video to ads"}),Et.actions.internal.pause(),at(),Te.set(Re.Ads)},Nn=E=>{dt(Et);const ce=E?Re.WaitingLive:Re.Thumb;Te.set(ce)},to=E=>{dt(Et);const ce=E?Re.WaitingRecord:Re.Thumb;Te.set(ce)},io=()=>(dt(Et),Ru(T,oe,Et)),no=()=>(dt(Et),zu(T,oe,Et)),oo=()=>fe,lo=()=>{w({message:"toggle chromecast"}),T.toggleChromecast()},Fn=E=>{dt(Et);const ce=!E;if(Qe(Et.playerPhase)===Re.Ads){w({message:`pause ads, internalCall: ${ce}`}),j.pause();return}w({message:`pause video, internalCall: ${ce}`}),ce&&a?.onPause?.(),T.pause()},so=E=>{dt(Et);const ce=!E;if(Qe(Et.playerPhase)===Re.Ads){w({message:`play ads, internalCall: ${ce}`}),j.play();return}w({message:`play video, internalCall: ${ce}`}),ce&&a?.onPlay?.(),T.play()},ne=(E,ce)=>{dt(Et),w({message:`first start, show ads: ${E}, internalCall: ${!ce}`}),E?Te.set(Re.Ads):(Te.set(Re.Video),ce?T.play():Et.actions.internal.togglePlay())},tn=()=>(w({message:"getting time codes"}),c),st=()=>{const E=tn();if(!E||[0,1].includes(E.length))return;const ce=T.info.position$.getValue();return E.find(Se=>Se.time>ce)},zt=E=>{let ce=E;ce||(ce=st()),ce&&(w({message:"seek to next episode"}),ni(ce.time,Vt.EPISODE,!0))},nn=()=>{const E=tn();if(!E||[0,1].includes(E.length))return;const ce=T.info.position$.getValue(),Se=E.findIndex(Ke=>Ke.time>ce),De=Se===-1?E.length-2:Se-2;if(!(De<0))return E[De]},pn=E=>{let ce=E;ce||(ce=nn()),ce&&(w({message:"seek to prev episode"}),ni(ce.time,Vt.EPISODE,!0))},ao=()=>(w({message:"getting preview thumbs data"}),f),Rn=async()=>{J?.isActive()?await J?.remove():await J?.request()},q=(E=-90)=>{Y.update(ce=>ce+E)},Yt=Oe(L),Un=Jt([Yt],([E=[]])=>{const ce=[];for(let Se=0;Se<E.length;Se++){const{range:[De,Ke],subjects:Qt}=E[Se];Se===0&&De!==0&&ce.push({time:0,text:""}),ce.push({time:De/1e3,text:"",interactive:!0,completed:!Qt.length}),Ke!==1/0&&ce.push({time:Ke/1e3,text:"",interactive:!1,completed:!Qt.length})}return ce}),qn=E=>{const ce=Qe(Yt);Yt.set(ce.map(Se=>({...Se,subjects:Se.subjects.filter(De=>De!==E)})))},_o=Oe(!1),Ho=Jt([si,Yt,_o],([E,ce,Se])=>{if(!_)return!1;if(Se)return!0;const De=E*1e3,Ke=ce?.find(({range:[Qt,vi],subjects:Xt})=>Qt<De&&De<vi&&Xt.length);return Ke&&Qe(se)&&mn(),!!Ke}),pl=E=>{if(!_)return E;const ce=Qe(Un),Se=Qe(li),Ke=Qe(si)/Se,Qt=ce.find(vi=>vi.interactive&&!vi.completed&&vi.time>Ke);return typeof Qt?.time=="number"?Math.min(E,Qt.time-.05):E},Z1=()=>{clearTimeout(dn),clearTimeout(Ji),St.unsubscribe(),Be.unsubscribe(),T.destroy(),j.destroy(),ie?.destroy(),G?.destroy(),ee.unsubscribe()},Et={interfaceLanguage$:Le,initVideo:be,videoId:e,isClip:t,playerPhase:x,vsid:Ee,state:{positionExact$:Ye,positionWithScrubbing$:Ln,duration$:li,playbackState$:Ge,isPlaying$:ki,isLoaderVisible:Rt,bufferedProgress$:qi,isLive$:Nt,canChangePlaybackSpeed$:wt,isActiveLive$:wi,isOldestAvailableLive$:yi,isRewindableLive$:Qi,isEnded$:$e,muted$:ut,volume$:Ht,trafficSavingEnabled$:Ze,autoQualityLimitingAvailable$:Tt,currentQuality$:Si,isAutoQualityEnabled$:Pi,availableQualities$:Zi,currentPlaybackRate$:ei,availablePlaybackRates$:ai,currentSubtitle$:Ut,availableSubtitlesList$:zi,currentSubtitleCaptions$:Di,isAutoSubtitleCaptionVisible$:ti,chromecastState$:de,chromecastDeviceName$:Ce,chromecastConnected$:hi,currentFormat$:Ie,throughputEstimation$:Pt,videoBitrate$:Mi,videoSize$:$t,errorLog$:pe,crashed$:B,isAudioAvailable$:Bi,isAudioDisabled:!!l,canDownload:Z.features.download&&!!s,availableSources$:ji,hasMpegSources$:ri,isInteractive:_,isInteractiveGraphEnabled:Z.features.interactiveGraph,isSeekToInteractiveEnable:Z.features.seekToInteractive,isPlayPrevChapterEnabled:Z.features.interactivePlayPrevChapter,interactiveEpisodes$:Un,isInteractiveTime$:Ho,graphIsOpened$:Oe(!1),isInteractiveExpectation$:_o,hasInteractiveBranches:S,playPrevChapterDisabledTooltip:P},ui:{controlsVisible:Oe(!1),touched:Oe(!1),controls:{prevButton:Oe(void 0),playButton:Oe(void 0),replayButton:Oe(void 0),nextButton:Oe(void 0),playPrevChapterButton:Oe(void 0),seekToInteractiveButton:Oe(void 0),interactiveGraphButton:Oe(void 0),liveButton:Oe(void 0),time:Oe(void 0),episodes:Oe(void 0),volume:Oe(void 0),subtitles:Oe(void 0),settings:Oe(void 0),chromecast:Oe(void 0),fullscreen:Oe(void 0),vkLogo:Oe(void 0),additionalButtons:R.length?R.reduce(E=>[...E,Oe(void 0)],[]):[],disabledControls$:le},modals:{hotKeyMap:{show:Oe(!1),data:Oe({title:"",closeBtnText:"",groups:[]})}},isFullscreen:we,rotateAlpha:Y,isAutoplay:Oe(!1),contextMenuVisible:Oe(!1),debugPanelVisible:Oe(!1),playerSize:hn,isMobile:rn,mobileNotReportControlHidden$:In,mobileUnmuteButtonExpanded:Oe(!1),mobileUnmuteButtonVisible:Oe(!1),icon3DVideoVisible:Oe(!1),settingsMenuVisible:Oe(!1),scrubbingInProgress:se,is3DVideo:Oe(!1),isPictureInPictureActive$:it,pictureInPictureType$:un(M),clientInfo$:un(Me),currentGridType$:Sn,additionalButtons$:en,interactiveHideMobileControls:Oe(!1),overlayContainer$:Oe(void 0)},ads:{position:Oe(0),duration:Oe(0),playbackState:Oe(Dt.INACTIVE),canSkip:Oe(!1),secondsToWatchBeforeSkip:Oe(0),postrollPassed:Oe(!1)},webApi:{pictureInPictureApi:J,annotationsApi:ue},actions:{internal:{preload:qt,firstStart:E=>ne(E,!1),pause:()=>Fn(!1),togglePlay:ui,toggleMuted:Ei,setVolume:Vi,setQuality:gi,setTrafficSavingEnabled:E=>Wt(E),setPlaybackRate:Zt,incrementPlaybackRate:ii,decrementPlaybackRate:ci,setSubtitle:jt,toggleSubtitle:bi,togglePictureInPicture:Rn,startScrubbing:Gt,progressScrubbing:Ui,completeScrubbing:Vn,toggleChromecast:lo,switchToActiveLive:$,switchFromAdsToVideo:Mn,switchFromVideoToAds:Bn,skipAd:_t,setWaitingLive:Nn,setWaitingRecord:to,getDebugTextData:io,getDebugPanelData:no,getVideoElement:oo,seekTime:(E,ce,Se)=>ni(E,ce,Se),clearDelayedBufferingCheckTimeout:Ni,seekEpisodeStartTime:Hi,seekToPercent:Li,getNextEpisode:st,seekToNextEpisode:zt,getPrevEpisode:nn,seekToPrevEpisode:pn,startLogging:Ve,stopLogging:kt,startCameraManualRotation:Ot,stopCameraManualRotation:mt,moveCameraFocusPX:ot,holdCamera:re,releaseCamera:xe,getVideoEpisodes:tn,getPreviewThumbsData:ao,downloadVideo:Ai,addLanguage:Cl,setLanguage:Q,nextMovie:Ue,videoRotate:q,completeInteractiveRange:qn,correctSeekTimeToInteractive:pl,replayInteractive:A},external:{firstStart:E=>ne(E,!0),play:()=>so(!0),pause:()=>Fn(!0),seekTime:E=>Gi(E),seekEpisodeStartTime:E=>fi(E),setPlaybackRate:E=>Wi(E),setAutoQualityLimits:E=>Fi(E),setMuted:E=>pi(E,!0),setVolume:E=>Vi(E,E,!0)}},callbacks:a,setUiCallbacks:E=>{ve={...E}},getAdmanWrapper:()=>j,getLogger:()=>te,destroy:Z1};return Et};class lh{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:t="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:t,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",t=>null],["seekbackward",t=>null],["seekforward",t=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[t,n]of e)try{navigator.mediaSession.setActionHandler(t,n)}catch{throw new Error(`The media session action "${t}" is not supported yet.`)}}}function sh(i){let e,t,n,o;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(o,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(t,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(l,s){C(l,e,s),d(e,t),d(t,n),d(t,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class ah extends ke{constructor(e){super(),_e(this,e,null,sh,ge,{})}}function rh(i){Fe(i,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function uh(i){let e,t,n,o,l,s,a;return n=new ah({}),{c(){e=k("div"),t=k("div"),O(n.$$.fragment),o=N(),l=k("span"),s=ze(i[0]),u(t,"class","dummy-image v-1pbsod4"),V(t,"desktop",!i[1]),u(l,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),V(e,"is-pip-api",i[2])},m(r,c){C(r,e,c),d(e,t),z(n,t,null),d(e,o),d(e,l),d(l,s),a=!0},p(r,[c]){(!a||c&2)&&V(t,"desktop",!r[1]),(!a||c&1)&&Xe(s,r[0])},i(r){a||(m(n.$$.fragment,r),a=!0)},o(r){p(n.$$.fragment,r),a=!1},d(r){r&&y(e),D(n)}}}function ch(i,e,t){let n,o;const l=vt(),s=!!l.webApi.pictureInPictureApi,a=l.interfaceLanguage$;F(i,a,f=>t(5,n=f));const r=l.ui.isMobile;F(i,r,f=>t(1,o=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&U("pip_dummy_title"))},[c,o,s,a,r,n]}class fh extends ke{constructor(e){super(),_e(this,e,ch,uh,ge,{},rh)}}const dh=460,mh=280;class q1{playerDomElement;playerParentShadowRoot;playerDummyElement;svelteContext;pipWindow;info={isActive$:new il(!1),type:vn.DocumentPictureInPicture};isSupported(){const e=nl().browser===_r.Yandex,{isEmbed:t}=su();return"documentPictureInPicture"in window&&!e&&!t}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,t){this.playerDomElement=e,this.playerParentShadowRoot=t}setContext(e){this.svelteContext=e}async request(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:dh,height:mh,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const e=[...this.playerParentShadowRoot.styleSheets].map(l=>[...l.cssRules].map(s=>s.cssText).join(" ")).filter(Boolean).join(`
|
|
51
|
-
`),t=document.createElement("style");t.textContent=e;const n=this.createStretchedContainer(),o=n.attachShadow({mode:"open"});o.append(t),o.append(this.playerDomElement),this.playerDummyElement=new fh({target:this.playerParentShadowRoot,context:this.svelteContext}),this.pipWindow?.document.body.append(n),this.info.isActive$.next(!0),this.pipWindow?.addEventListener("unload",l=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})}async remove(){return new Promise(e=>{documentPictureInPicture.window?.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function hh(i){return i instanceof q1}class ph{static getLatestSupportedVersion(){const e=new rl,t=new q1;if(t.isSupported())return t;if(e.isSupported())return e}}function gr(i,e){const t=new Set([...Object.keys(i),...Object.keys(e)]),n={};for(const o of t)n[o]=e[o]??i[o]??void 0;return n}const br="Inner error. Unexpectedly root annotation container null reference exception",gh="Annotation layer with such name already exists";class Qo extends Error{constructor(e){super(e),this.name="AnnotationError"}}class bh{rootAnnotationsContainer;layers=new Map;registryRootContainer(e){this.detach(),this.rootAnnotationsContainer=e}addLayer(e){if(!this.rootAnnotationsContainer)throw new Qo(br);if(this.layers.has(e))throw new Qo(gh);const t=document.createElement("div");return t.className="annotations-layer",t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.left="0",t.style.top="0",this.rootAnnotationsContainer.append(t),this.layers.set(e,t),t}getLayer(e){return this.layers.get(e)}removeLayer(e){const t=this.layers.get(e);t&&this.layers.delete(e)&&t.remove()}clearLayer(e){const t=this.layers.get(e);for(;t?.lastChild;)t.lastChild.remove()}detach(){for(const e of this.layers.values())e.remove()}reattach(){if(!this.rootAnnotationsContainer)throw new Qo(br);for(const e of this.layers.values())this.rootAnnotationsContainer.append(e)}destroy(){this.detach(),this.layers.clear(),this.rootAnnotationsContainer=void 0}}class W1{stateName;state$;subscription;init(e,t){return dt(e),dt(t),this.subscription=new Dn,this.subscription}}class vh extends W1{stateName="fakeIsPlaying$";state$={...Oe(null),toggle:()=>this.state$.update(e=>!e)};init(e,t){const n=super.init(e,t),{isInteractiveExpectation$:o}=e.state;return n.add(o.subscribe(l=>{this.state$.set(l?!0:null)})),n}}class _h extends W1{stateName="interactiveControlsOpacity$";state$={...Oe(null),toggle:()=>this.state$.update(e=>!e)};init(e,t){const n=super.init(e,t),{fakeIsPlaying$:o}=t,{isInteractiveExpectation$:l,isPlaying$:s}=e.state,{controlsVisible:a,isMobile:r}=e.ui,c=Qe(r),f=()=>c&&Qe(a);return n.add(a.subscribe(h=>{if(!c)return;const g=Qe(o);Qe(s)?this.state$.set(h):g!==null&&this.state$.set(!g||h)})),n.add(s.subscribe(h=>{this.state$.set(!h||f())})),n.add(o.subscribe(h=>{if(h===null)return;const g=Qe(l);if(f()){this.state$.set(!0);return}g&&this.state$.set(!h)})),n}}const kh=()=>[vh,_h].reduce(({subscribers:i,stores:e},t)=>{const n=new t;return{subscribers:[...i,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),wh={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:go.RU,logoClickable:!1,logoHidden:!1,isMobile:au(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class yh extends HTMLElement{svelteStubComponent;svelteRootComponent;store;microStoresRoot;statistics;sentry;_shadowRoot;playerContainer;uiConfig;coreConfig;interactiveController;interactiveContainer;graphMadePause;currentPlayingVideoIndex=0;needToRepeatPlaylist=!1;videoConfig=void 0;pictureInPictureApi=void 0;mediaSessionApi=void 0;unsubscribePlayerPhaseSubscription=void 0;logger;log;subscription;annotationsApi=void 0;createPlayerTimeout;prevIsid=void 0;isInited=!1;constructor(){super(),this._shadowRoot=this.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.logger=new wr,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new Dn,this.graphMadePause=!1,window?.videoPlayerConfig?.debugLogs&&this.subscription.add(this.logger.log$.subscribe(e=>{console.log("%c player web component ","background:#77dd77;",`${e.component}`,e.message)}))}connectedCallback(){if(this.isInited)return;const e=this.getAttribute("stub-title")??void 0,t=this.getAttribute("stub-thumb-url")??void 0;this.svelteStubComponent=new X3({target:this.playerContainer,props:{title:e,thumbUrl:t}})}disconnectedCallback(){this.annotationsApi?.destroy(),this.svelteRootComponent?.$destroy(),this.svelteStubComponent?.$destroy(),this.subscription.unsubscribe(),this.unsubscribePlayerPhaseSubscription?.(),this.interactiveController?.destroy()}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){return this.store?.ui.controls.disabledControls$?.includes(e)||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,t={},n){if(!this.videoConfig)return;const{albumId:o,statPlace:l,statUserSalt:s,statAuthToken:a,statTrackCode:r,refreshStatAuthToken:c,preload:f,autoplay:h,volume:g,muted:v,fromTime:b,canRewindLive:_,supportLink:L,showAds:A,adsSlotId:S,adsParams:P={},adsPreviewParam:R,interfaceLanguage:W,logoClickable:X,logoHidden:Z,isMobile:T,isAudioDisabled:te,isLiveCatchUpMode:j,fullScreenTarget:ie,failoverHosts:G,canDownload:J,callbacks:ue,interactiveData:w,showThumbTimer:oe,additionalButtons:fe=[],repeat:ve}=gr(this.videoConfig,t),{sources:Me,title:Ee,thumbUrl:we,videoLogoUrl:H,unitedVideoId:M,isClip:Y=!1,duration:pe,adsParams:ee={},videoEpisodes:B,previewThumbsData:Q,subtitles:Le,live:ye}=e,Te={...P,...ee},x=this.getNextVideoInfo(),le={sources:Me,title:Ee,thumbUrl:we,subtitles:Le,unitedVideoId:M,isClip:Y,live:ye,albumId:o,statPlace:l,autoplay:h,muted:v,volume:g,fromTime:b,canRewindLive:_,showAds:A,adsSlotId:S,adsParams:Te,adsPreviewParam:R,duration:pe,logoClickable:X,logoHidden:Z,isMobile:T,repeat:ve,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:x.nextVideoTitle,endScreenVideoThumb:x.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},be={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(le)}`});const ae=this.uiConfig.features.statistics&&!!M,{pid:Ue}=this.videoConfig?.interactiveData?.projectInfo||{};ae&&new fo({movieId:M,albumId:o,place:l,trackCode:r,autoplay:(h&&!this.interactiveController)??!1,mobile:T,clip:Y,...Ue&&!this.isInited&&{projectId:Number(Ue)}},{refreshAuthToken:c,userSalt:s,config:this.statistics.config,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new el(this.uiConfig.sentry,{version:ll,env:Bu},{movieId:M,albumId:o,place:l,autoplay:(h&&!this.interactiveController)??!1,mobile:T,clip:Y}),this.interactiveController&&(this.prevIsid??=fo.getInstance()?.oneStat.isid$.getValue()),this.statistics={...this.statistics,...fo.getInstance()},this.sentry={...this.sentry,...el.getInstance()};const Je=!!w,tt=this.interactiveController?.getInteractiveRanges(),Ne=[];let at;if(Je&&this.interactiveController){const Ve=this.interactiveController.state,kt=this.interactiveController.getHistoryState();Ve.isInitialChapter$.getValue()&&Ne.push(ct.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||Ne.push(ct.SEEK_TO_INTERACTIVE_BUTTON),kt.hasPrevChapter$.getValue()||(Ve.isInitialChapter$.getValue()?at="tooltip_interactive_go_back_disabled_first":Ve.lastChapterChangeWasInitiatedByInteractive$.getValue()?at="tooltip_interactive_go_back_disabled":at="tooltip_interactive_go_back_disabled_limit",Ne.push(ct.PLAY_PREV_CHAPTER_BUTTON))}const St=()=>{this.isInited=!1,this.prevIsid=void 0;const Ve=n?.info.isEnded$.getValue()&&this.interactiveController?.state.isEndChapter$.getValue();ue.onReplayInteractiveVideo&&!Ve?ue.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=oh({player:n,interfaceLanguage:W,videoId:M,isClip:Y,isLiveCatchUpMode:j,isAudioDisabled:te,statAuthToken:a,callbacks:ue,webApi:be,videoEpisodes:B,previewThumbsData:Q,canDownload:J,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:Ne,isInteractive:Je,interactiveRanges:tt,replayInteractive:St,playPrevChapterDisabledTooltip:at,hasInteractiveBranches:!!this.interactiveController?.getChapterBranches()?.length,additionalButtons:this.uiConfig.features.additionalButtons?fe:[],looped:ve&&this.videoConfig.videos.length===1});const{stores:Be}=this.microStoresRoot=kh();this.subscription.add(this.store.state.currentFormat$.subscribe(Ve=>ue?.onCurrentFormatChanged?.(Ve))),this.subscription.add(Be.interactiveControlsOpacity$.subscribe(Ve=>{Ve!==null&&this?.interactiveController?.setDisabledControls(Ve)})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Ve=>ue?.onThroughputEstimationChanged?.(Ve))),this.subscription.add(this.store.state.videoBitrate$.subscribe(Ve=>ue?.onVideoBitrateChanged?.(Ve))),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Ve=>{const kt=this.store?.ui.controls.disabledControls$;kt&&(Ve&&!kt.includes(Vo)&&kt.add(Vo),Ve||kt.remove(Vo))})),this.initMediaSession(),this.interactiveController&&ae&&this.initInteractivesStatistics(),this.svelteRootComponent=new W3({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Me,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:Ee,thumbUrl:we,videoLogoUrl:H,subtitles:Le,live:ye,preload:f,autoplay:h,muted:v,volume:g,fromTime:b,canRewindLive:_,supportLink:L,showAds:A,adsSlotId:S,adsParams:Te,adsPreviewParam:R,duration:pe,logoClickable:X,logoHidden:Z,isMobile:T,failoverHosts:G,fullScreenTarget:ie,showMiniTimer:oe,outerContainerRef:this.playerContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:x.nextVideoTitle,endScreenVideoThumb:x.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist(),playPrevChapter:()=>this.playPrevChapter(),seekToInteractive:()=>this.seekToInteractive(),toggleGraph:()=>this.toggleGraph()}}),this.addPlayerInfoSubscriptions(),this.isInited||(this.isInited=!0,this.videoConfig?.callbacks?.onInited?.())}addPlayerInfoSubscriptions(){if(this.isInited)return;const e=this.store,t=this.videoConfig?.callbacks;t&&this.subscription.add(e.playerPhase.subscribe(o=>t.onPlayerPhaseChanged?.(o))).add(e.state.playbackState$.subscribe(o=>t.onPlaybackStateChanged?.(o))).add(e.state.isLive$.subscribe(o=>t.onIsLiveChanged?.(o))).add(e.state.isActiveLive$.subscribe(o=>t.onIsActiveLiveChanged?.(o))).add(e.state.isAudioAvailable$.subscribe(o=>t.onIsAudioAvailableChanged?.(o))).add(e.state.currentQuality$.subscribe(o=>t.onCurrentQualityChanged?.(o))).add(e.state.availableQualities$.subscribe(o=>t.onAvailableQualitiesChanged?.(o.map(({value:l})=>l).filter(l=>l!==Xn.AUTO)))).add(e.ui.isPictureInPictureActive$.subscribe(o=>o?t.onPiPEnter?.():t.onPiPExit?.()));const n=t?.uiInfo;n&&this.subscription.add(e.ui.controlsVisible.subscribe(o=>n.onControlsVisibleChanged?.(o))).add(e.ui.isMobile.subscribe(o=>n.onIsMobileChanged?.(o))).add(e.ui.playerSize.subscribe(o=>n.onPlayerSizeChanged?.(o))).add(e.ui.controls.prevButton.subscribe(o=>n.onPrevButtonChanged?.(o))).add(e.ui.controls.playButton.subscribe(o=>n.onPlayButtonChanged?.(o))).add(e.ui.controls.replayButton.subscribe(o=>n.onReplayButtonChanged?.(o))).add(e.ui.controls.nextButton.subscribe(o=>n.onNextButtonChanged?.(o))).add(e.ui.controls.playPrevChapterButton.subscribe(o=>n.onPlayPrevChapterChanged?.(o))).add(e.ui.controls.seekToInteractiveButton.subscribe(o=>n.onSeekToInteractiveButtonChanged?.(o))).add(e.ui.controls.interactiveGraphButton.subscribe(o=>n.onGraphButtonChanged?.(o))).add(e.ui.controls.liveButton.subscribe(o=>n.onLiveButtonChanged?.(o))).add(e.ui.controls.time.subscribe(o=>n.onTimeUpdateChanged?.(o))).add(e.ui.controls.episodes.subscribe(o=>n.onEpisodesChanged?.(o))).add(e.ui.controls.volume.subscribe(o=>n.onVolumeChanged?.(o))).add(e.ui.controls.subtitles.subscribe(o=>n.onSubtitlesChanged?.(o))).add(e.ui.controls.settings.subscribe(o=>n.onSettingsChanged?.(o))).add(e.ui.controls.fullscreen.subscribe(o=>n.onFullscreenChanged?.(o))).add(e.ui.controls.chromecast.subscribe(o=>n.onChromecastChanged?.(o))).add(e.ui.controls.vkLogo.subscribe(o=>n.onVkLogoChanged?.(o)))}playNextVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onNextVideoClick)try{e=this.videoConfig.callbacks.onNextVideoClick()}catch{this.log({message:"onNextVideoClick callback failed to execute"})}e&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onPrevVideoClick)try{e=this.videoConfig.callbacks.onPrevVideoClick()}catch{this.log({message:"onPrevVideoClick callback failed to execute"})}e&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,t=!0){if(!this.videoConfig)return;const n=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!n){this.log({message:"no next video"});return}this.isInited&&ln(n.unitedVideoId)&&this.store.actions.internal.nextMovie(n.unitedVideoId),this.svelteRootComponent?.$destroy(),this.createPlayer(n,{autoplay:t,fromTime:0},e)}playPrevChapter(){this.interactiveController?.playPrevChapter()}seekToInteractive(){const e=this.interactiveController?.getNextInteractiveStartTime();typeof e=="number"&&this.seekTime(e/1e3)}toggleGraph(){if(!this.isInited)return;const e=this.store,{isEnded$:t,playbackState$:n,graphIsOpened$:o}=e.state,{disabledControls$:l}=e.ui.controls,s=Qe(t),a=Qe(n);Qe(o)?(o.set(!1),this.interactiveController?.toggleGraphView(!1),l.remove(wl),!s&&this.graphMadePause&&this.play()):(this.graphMadePause=a==="playing",o.set(!0),this.interactiveController?.toggleGraphView(!0),l.add(wl),!s&&this.graphMadePause&&this.pause())}async initInteractives(){if(this.videoConfig?.interactiveData)try{const{Interactives:e,EVENT_NAMES:t,CustomError:n}=await import("@vkontakte/videoplayer-interactive/evergreen.esm.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const o=this.store?.interfaceLanguage$,l=o?Qe(o):this.videoConfig.interfaceLanguage,{projectInfo:s,historyApi:a,videoLoader:r}=this.videoConfig.interactiveData;this.interactiveController=new e({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:l,graph:this.uiConfig.features.interactiveGraph,projectInfo:s,historyApi:a,vkVideoLoader:r,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,coreConfig:this.coreConfig}),await this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:c}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(h=>{if(!this.isInited)return;const g=this.store;h?g.ui.controls.disabledControls$.remove(ct.SEEK_TO_INTERACTIVE_BUTTON):g.ui.controls.disabledControls$.add(ct.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(c.subscribe(h=>{this.store&&this.store.state.isInteractiveExpectation$.set(h)}));let f=!0;if(this.interactiveController.on(t.playerChanged,h=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...h.config,title:s?.title||h.config.title};const g=f?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(h.player,g),f&&(f=!1)}),this.interactiveController.on(t.interactives,({type:h,subjectId:g,actionType:v})=>{if(!this.store)return;const b=c.getValue();if(h==="container-removed"&&this.store.actions.internal.completeInteractiveRange(g),h==="action-choice"&&v==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(Lr)),h==="action-choice-canceled"){const _=Qe(this.store.state.isPlaying$)||b;if(this.videoConfig?.isMobile&&_){this.store.ui.interactiveHideMobileControls.set(!0);return}this.videoConfig?.callbacks.onDisabledInteractiveClick?.()}}),this.videoConfig?.callbacks?.onInteractiveHistoryChanged){const h=this.interactiveController.getHistoryState();this.subscription.add(h.history$.subscribe(g=>{g.length&&this.videoConfig?.callbacks?.onInteractiveHistoryChanged?.(g)}))}this.interactiveController.on(t.errors,h=>{this.log({message:h.toString()})})}catch(e){this.log({message:e.message})}}async initInteractivesStatistics(){const{statSubscription:e,oneStat:t}=this.statistics;if(!(!e||!t||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:n}=await import("@vkontakte/videoplayer-interactive/evergreen.esm.js"),o={[n.GO_NEXT_BUTTON]:uo.NEXT_BUTTON,[n.GO_NEXT_AREA]:uo.NEXT_AREA,[n.WATCH_AGAIN]:uo.WATCH_AGAIN,[n.OPEN_GRAPH]:uo.GRAPH_SHOW,[n.CLOSE_GRAPH]:uo.GRAPH_HIDE},{click$:l,nextMovie$:s}=this.interactiveController.getStatEvents(),a=new $i;l.subscribe(r=>{r in o?a.next(o[r]):(t?.logError({errorType:"InteractiveVideosAction",fatal:!1}),this.sentry.report?.(new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),e.add(t.attachToInteractive({click$:a,nextMovie$:s}))}catch(n){t?.logError({errorType:"InteractiveVideos",fatal:!1}),this.sentry.report?.(n,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,t={}){if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=gr(wh,ru(e,n=>n instanceof HTMLElement?n:void 0)),this.uiConfig=Tu(t.ui??{}),this.coreConfig=t.core??{configName:[]},this.statistics={config:t.statistics??{}},this.sentry={config:this.uiConfig.sentry??{}},ln(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=this.videoConfig.isMediaSessionEnabled??!0),ln(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=this.uiConfig.features.pip??this.videoConfig.isPictureInPictureEnabled??!0,this.uiConfig.features.dpip=this.uiConfig.features.dpip??this.videoConfig.isPictureInPictureEnabled??!0),this.videoConfig.isMobile=this.uiConfig.isMobile??this.videoConfig.isMobile,this.videoConfig.autoplay&&=this.uiConfig.features.autoplay,this.videoConfig.showAds=this.uiConfig.ads.enable??this.videoConfig.showAds,this.videoConfig.adsSlotId=this.uiConfig.ads.slot??this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=this.uiConfig.ads.preview??this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!(this.uiConfig.showLogo??!this.videoConfig.logoHidden),this.videoConfig.canRewindLive&&=this.uiConfig.features.liveRewind,this.videoConfig.supportLink=this.videoConfig.supportLink??this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=ph.getLatestSupportedVersion():this.pictureInPictureApi=new rl),this.mediaSessionApi=this.uiConfig.features.mediaSession?new lh:void 0,this.annotationsApi=this.uiConfig.features.annotations?new bh:void 0,this.svelteStubComponent?.$destroy(),this.svelteRootComponent?.$destroy(),this.isInited=!1,this.prevIsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),hh(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const t=this.getNextVideoInfo();this.svelteRootComponent?.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:t.nextVideoTitle,endScreenVideoThumb:t.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){this.mediaSessionApi&&(this.unsubscribePlayerPhaseSubscription?.(),this.unsubscribePlayerPhaseSubscription=this.store?.playerPhase.subscribe(e=>{e===Re.Video?this.setupMediaSessionForVideo():e===Re.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}={...this.videoConfig.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",o=>this.seekTime(o.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:t}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",t=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(t)}catch(e){this.log({message:e.message})}}play(){this.isControlDisabled(ct.PLAY_BUTTON)||this.store?.playerPhase.is(Re.WaitingLive)||(this.log({message:"play"}),this.svelteRootComponent?.play())}pause(){this.log({message:"pause"}),this.svelteRootComponent?.pause()}stop(){if(!this.videoConfig)return;this.log({message:"stop"}),this.svelteStubComponent?.$destroy();const e=this.videoConfig.videos[0];e&&(this.svelteRootComponent?.$destroy(),this.createPlayer(e))}setMuted(e){this.log({message:`set muted, muted: ${e}`}),this.svelteRootComponent?.setMuted(e)}setVolume(e){this.log({message:`set volume, volume: ${e}`}),this.svelteRootComponent?.setVolume(e)}setRepeat(e){this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,this.svelteRootComponent?.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){this.isControlDisabled(ct.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),this.svelteRootComponent?.seekTime(e))}seekEpisodeStartTime(e){this.log({message:`seek episode start time, time: ${e}`}),this.svelteRootComponent?.seekEpisodeStartTime(e)}setPlaybackRate(e){this.log({message:`set playback rate to: ${e}`}),this.svelteRootComponent?.setPlaybackRate(e)}setAutoQualityLimits(e){this.log({message:`set auto quality limitation. Max: ${e.max??"none"}. Min: ${e.min??"none"}`}),this.svelteRootComponent?.setAutoQualityLimits(e)}addLanguage(e){this.store?.actions.internal.addLanguage(e)}async setLanguage(e){await this.store?.actions.internal.setLanguage(e)}setLiveStart(e){this.log({message:"live started"}),this.store?.actions.internal.setWaitingLive(!1),this.svelteRootComponent?.initVideo(e),this.play()}setWaitRecord(){this.log({message:"post live"}),this.store?.actions.internal.setWaitingRecord(!0),this.store?.destroy()}setLiveEnd(e){this.log({message:"live ended"}),this.store?.actions.internal.setWaitingRecord(!1),this.svelteRootComponent?.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){return fo.getInstance()?.oneStat.getDeviceId()??void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const Ah=()=>{window.customElements.define("vk-video-player",yh)};export{Ct as GridTypes,Bh as InterfaceLanguage,ll as VERSION,Nh as VKNumericLanguage,Lh as VideoFormat,Ih as VideoQuality,Rh as loadVKLangPack,Ah as registerPlayerWebComponent};
|
|
50
|
+
);--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg:not(.interactiveContainer svg){pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}.overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:10000}.out-of-view{position:absolute !important;left:-1000vh !important}`)}function hh(t){let e,i,n;function o(l){t[56](l)}let s={store:t[0],uiConfig:t[35],title:t[1],thumbUrl:t[2],videoLogoUrl:t[3],interactiveContainer:t[4],live:t[5],autoplay:t[6],canRewindLive:t[7],showAds:t[8],adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12],logoClickable:t[13],logoHidden:t[14],showNextPrevButtons:t[16],nextButtonActive:t[17],prevButtonActive:t[18],endScreenVideoTitle:t[19],endScreenVideoThumb:t[20],isOneVideoPlaylist:t[21],supportLink:t[22],outerContainerRef:t[23],fullScreenTarget:t[24],showMiniTimer:t[25],playerStarted:t[34],playNextVideo:t[26],playPrevVideo:t[27],repeatPlaylist:t[28],seekToInteractive:t[29],toggleGraph:t[30],playPrevChapter:t[31],firstStart:t[36]};return t[33]!==void 0&&(s.videoContainer=t[33]),e=new ih({props:s}),Ce.push(()=>qe(e,"videoContainer",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&1&&(a.store=l[0]),r[0]&2&&(a.title=l[1]),r[0]&4&&(a.thumbUrl=l[2]),r[0]&8&&(a.videoLogoUrl=l[3]),r[0]&16&&(a.interactiveContainer=l[4]),r[0]&32&&(a.live=l[5]),r[0]&64&&(a.autoplay=l[6]),r[0]&128&&(a.canRewindLive=l[7]),r[0]&256&&(a.showAds=l[8]),r[0]&512&&(a.adsSlotId=l[9]),r[0]&1024&&(a.adsParams=l[10]),r[0]&2048&&(a.adsPreviewParam=l[11]),r[0]&4096&&(a.duration=l[12]),r[0]&8192&&(a.logoClickable=l[13]),r[0]&16384&&(a.logoHidden=l[14]),r[0]&65536&&(a.showNextPrevButtons=l[16]),r[0]&131072&&(a.nextButtonActive=l[17]),r[0]&262144&&(a.prevButtonActive=l[18]),r[0]&524288&&(a.endScreenVideoTitle=l[19]),r[0]&1048576&&(a.endScreenVideoThumb=l[20]),r[0]&2097152&&(a.isOneVideoPlaylist=l[21]),r[0]&4194304&&(a.supportLink=l[22]),r[0]&8388608&&(a.outerContainerRef=l[23]),r[0]&16777216&&(a.fullScreenTarget=l[24]),r[0]&33554432&&(a.showMiniTimer=l[25]),r[1]&8&&(a.playerStarted=l[34]),r[0]&67108864&&(a.playNextVideo=l[26]),r[0]&134217728&&(a.playPrevVideo=l[27]),r[0]&268435456&&(a.repeatPlaylist=l[28]),r[0]&536870912&&(a.seekToInteractive=l[29]),r[0]&1073741824&&(a.toggleGraph=l[30]),r[1]&1&&(a.playPrevChapter=l[31]),!i&&r[1]&4&&(i=!0,a.videoContainer=l[33],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function gh(t){let e,i,n;function o(l){t[55](l)}let s={store:t[0],uiConfig:t[35],thumbUrl:t[2],videoLogoUrl:t[3],interactiveContainer:t[4],live:t[5],autoplay:t[6],canRewindLive:t[7],showAds:t[8],adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12],logoClickable:t[13],logoHidden:t[14],showNextPrevButtons:t[16],nextButtonActive:t[17],prevButtonActive:t[18],endScreenVideoTitle:t[19],endScreenVideoThumb:t[20],isOneVideoPlaylist:t[21],supportLink:t[22],outerContainerRef:t[23],fullScreenTarget:t[24],showMiniTimer:t[25],playerStarted:t[34],playNextVideo:t[26],playPrevVideo:t[27],repeatPlaylist:t[28],seekToInteractive:t[29],toggleGraph:t[30],playPrevChapter:t[31],firstStart:t[36],seekTime:t[32]};return t[33]!==void 0&&(s.videoContainer=t[33]),e=new mh({props:s}),Ce.push(()=>qe(e,"videoContainer",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&1&&(a.store=l[0]),r[0]&4&&(a.thumbUrl=l[2]),r[0]&8&&(a.videoLogoUrl=l[3]),r[0]&16&&(a.interactiveContainer=l[4]),r[0]&32&&(a.live=l[5]),r[0]&64&&(a.autoplay=l[6]),r[0]&128&&(a.canRewindLive=l[7]),r[0]&256&&(a.showAds=l[8]),r[0]&512&&(a.adsSlotId=l[9]),r[0]&1024&&(a.adsParams=l[10]),r[0]&2048&&(a.adsPreviewParam=l[11]),r[0]&4096&&(a.duration=l[12]),r[0]&8192&&(a.logoClickable=l[13]),r[0]&16384&&(a.logoHidden=l[14]),r[0]&65536&&(a.showNextPrevButtons=l[16]),r[0]&131072&&(a.nextButtonActive=l[17]),r[0]&262144&&(a.prevButtonActive=l[18]),r[0]&524288&&(a.endScreenVideoTitle=l[19]),r[0]&1048576&&(a.endScreenVideoThumb=l[20]),r[0]&2097152&&(a.isOneVideoPlaylist=l[21]),r[0]&4194304&&(a.supportLink=l[22]),r[0]&8388608&&(a.outerContainerRef=l[23]),r[0]&16777216&&(a.fullScreenTarget=l[24]),r[0]&33554432&&(a.showMiniTimer=l[25]),r[1]&8&&(a.playerStarted=l[34]),r[0]&67108864&&(a.playNextVideo=l[26]),r[0]&134217728&&(a.playPrevVideo=l[27]),r[0]&268435456&&(a.repeatPlaylist=l[28]),r[0]&536870912&&(a.seekToInteractive=l[29]),r[0]&1073741824&&(a.toggleGraph=l[30]),r[1]&1&&(a.playPrevChapter=l[31]),!i&&r[1]&4&&(i=!0,a.videoContainer=l[33],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function bh(t){let e,i,n,o;const s=[gh,hh],l=[];function r(a,c){return a[15]?0:1}return i=r(t),n=l[i]=s[i](t),{c(){e=T("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){E(a,e,c),l[i].m(e,null),o=!0},p(a,c){let f=i;i=r(a),i===f?l[i].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),n=l[i],n?n.p(a,c):(n=l[i]=s[i](a),n.c()),d(n,1),n.m(e,null))},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&S(e),l[i].d()}}}function _h(t,e,i){let{sources:n}=e,{store:o}=e,{microStoresRoot:s}=e,{uiConfig:l}=e,{title:r}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:p}=e,{live:h}=e,{preload:_}=e,{autoplay:b}=e,{volume:k=void 0}=e,{muted:v=void 0}=e,{fromTime:P}=e,{canRewindLive:y}=e,{showAds:w}=e,{adsSlotId:D=void 0}=e,{adsParams:ne=void 0}=e,{adsPreviewParam:I=void 0}=e,{duration:Z=void 0}=e,{logoClickable:V}=e,{logoHidden:ee}=e,{isMobile:M}=e,{showNextPrevButtons:te=!1}=e,{nextButtonActive:N=!1}=e,{prevButtonActive:Y=!1}=e,{endScreenVideoTitle:oe=void 0}=e,{endScreenVideoThumb:C=void 0}=e,{isOneVideoPlaylist:le=!1}=e,{supportLink:ke}=e,{outerContainerRef:me=void 0}=e,{fullScreenTarget:_e=void 0}=e,{failoverHosts:X=void 0}=e,{showMiniTimer:ue=!1}=e,{playNextVideo:De=Ge}=e,{playPrevVideo:re=Ge}=e,{repeatPlaylist:Le=Ge}=e,{seekToInteractive:Te=Ge}=e,{toggleGraph:pe=Ge}=e,{playPrevChapter:Ee=Ge}=e;const{subscribers:A,stores:ie}=s;Hc(l);const Ve=sn(),ye=o.ui.debugPanelVisible,ae=o.ui.playerSize;let be,x=null,Q=!1;o.getAdmanWrapper().init({switchFromAdsToVideo:o.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:o.actions.internal.switchFromVideoToAds,setMuted:o.actions.external.setMuted},o.ads,{isMobile:o.ui.isMobile,mobileUnmuteButtonVisible:o.ui.mobileUnmuteButtonVisible,vsid:o.vsid}),Yc(o,ie);const Fe=(ce=!1)=>{i(34,Q=!0),ce?o.actions.external.firstStart(w):o.actions.internal.firstStart(w)};function Je(ce){const bt=n||ce;bt&&o.initVideo({container:be,sources:bt,failoverHosts:X,subtitles:p});const it=_n.get(Cl)==="true";ye.set(it),P>0&&o.actions.external.seekTime(P);const yt=M?Ve.volumeDefault:k??S1()??Ve.volumeDefault,ft=v??ef();if(o.actions.external.setVolume(yt),o.actions.external.setMuted(ft),o.getAdmanWrapper().setInitialVolume(ft?0:yt),Ve.features.trafficSaving){const Tt=nf();Tt&&o.actions.internal.setTrafficSavingEnabled(Tt)}const dt=$c(o.videoId);dt&&o.actions.internal.setQuality(dt),o.ui.isAutoplay.set(b),b?Fe():_&&Ve.features.preload&&o.actions.internal.preload()}const Xe=ce=>{if(window.ResizeObserver){let bt,it;x=new ResizeObserver(il(yt=>{const ft=yt[0];if(ft){if(ft.contentBoxSize){const dt=Array.isArray(ft.contentBoxSize)?ft.contentBoxSize[0]:ft.contentBoxSize;bt=dt.inlineSize,it=dt.blockSize}else ft.contentRect&&(bt=ft.contentRect.width,it=ft.contentRect.height);ae.set({width:bt,height:it})}},m1)),x.observe(ce)}ae.set({width:ce.clientWidth,height:ce.clientHeight})};ln(()=>{Xe(be);const ce=A.map(it=>it.init(o,ie));if(h?.status==="upcoming"||h?.status==="waiting"){o.actions.internal.setWaitingLive(!0);return}if((h?.status==="finished"||h?.status==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return Je(),()=>{x?.disconnect(),ce.forEach(it=>it.unsubscribe()),o.destroy()}});function Ae(){Q?o.actions.external.play():Fe(!0)}function We(){o.actions.external.pause()}function xe(ce){M||o.actions.external.setMuted(ce)}function pt(ce){M||ce>=0&&ce<=1&&o.actions.external.setVolume(ce)}function rt(ce){o.actions.internal.seekTime(ce,It.UNKNOWN)}function Pe(ce){o.actions.external.seekEpisodeStartTime(ce)}function ht(){o.actions.external.returnFocusToEpisodes()}function at(ce){o.actions.external.setPlaybackRate(ce)}function xt(ce){o.actions.external.setAutoQualityLimits(ce)}function $t(ce){be=ce,i(33,be)}function Mt(ce){be=ce,i(33,be)}return t.$$set=ce=>{"sources"in ce&&i(37,n=ce.sources),"store"in ce&&i(0,o=ce.store),"microStoresRoot"in ce&&i(38,s=ce.microStoresRoot),"uiConfig"in ce&&i(39,l=ce.uiConfig),"title"in ce&&i(1,r=ce.title),"thumbUrl"in ce&&i(2,a=ce.thumbUrl),"videoLogoUrl"in ce&&i(3,c=ce.videoLogoUrl),"interactiveContainer"in ce&&i(4,f=ce.interactiveContainer),"subtitles"in ce&&i(40,p=ce.subtitles),"live"in ce&&i(5,h=ce.live),"preload"in ce&&i(41,_=ce.preload),"autoplay"in ce&&i(6,b=ce.autoplay),"volume"in ce&&i(42,k=ce.volume),"muted"in ce&&i(43,v=ce.muted),"fromTime"in ce&&i(44,P=ce.fromTime),"canRewindLive"in ce&&i(7,y=ce.canRewindLive),"showAds"in ce&&i(8,w=ce.showAds),"adsSlotId"in ce&&i(9,D=ce.adsSlotId),"adsParams"in ce&&i(10,ne=ce.adsParams),"adsPreviewParam"in ce&&i(11,I=ce.adsPreviewParam),"duration"in ce&&i(12,Z=ce.duration),"logoClickable"in ce&&i(13,V=ce.logoClickable),"logoHidden"in ce&&i(14,ee=ce.logoHidden),"isMobile"in ce&&i(15,M=ce.isMobile),"showNextPrevButtons"in ce&&i(16,te=ce.showNextPrevButtons),"nextButtonActive"in ce&&i(17,N=ce.nextButtonActive),"prevButtonActive"in ce&&i(18,Y=ce.prevButtonActive),"endScreenVideoTitle"in ce&&i(19,oe=ce.endScreenVideoTitle),"endScreenVideoThumb"in ce&&i(20,C=ce.endScreenVideoThumb),"isOneVideoPlaylist"in ce&&i(21,le=ce.isOneVideoPlaylist),"supportLink"in ce&&i(22,ke=ce.supportLink),"outerContainerRef"in ce&&i(23,me=ce.outerContainerRef),"fullScreenTarget"in ce&&i(24,_e=ce.fullScreenTarget),"failoverHosts"in ce&&i(45,X=ce.failoverHosts),"showMiniTimer"in ce&&i(25,ue=ce.showMiniTimer),"playNextVideo"in ce&&i(26,De=ce.playNextVideo),"playPrevVideo"in ce&&i(27,re=ce.playPrevVideo),"repeatPlaylist"in ce&&i(28,Le=ce.repeatPlaylist),"seekToInteractive"in ce&&i(29,Te=ce.seekToInteractive),"toggleGraph"in ce&&i(30,pe=ce.toggleGraph),"playPrevChapter"in ce&&i(31,Ee=ce.playPrevChapter)},t.$$.update=()=>{t.$$.dirty[0]&32769&&o.ui.isMobile.set(M)},[o,r,a,c,f,h,b,y,w,D,ne,I,Z,V,ee,M,te,N,Y,oe,C,le,ke,me,_e,ue,De,re,Le,Te,pe,Ee,rt,be,Q,Ve,Fe,n,s,l,p,_,k,v,P,X,Je,Ae,We,xe,pt,Pe,ht,at,xt,$t,Mt]}class vh extends we{constructor(e){super(),ve(this,e,_h,bh,ge,{sources:37,store:0,microStoresRoot:38,uiConfig:39,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:40,live:5,preload:41,autoplay:6,volume:42,muted:43,fromTime:44,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:45,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:46,play:47,pause:48,setMuted:49,setVolume:50,seekTime:32,seekEpisodeStartTime:51,returnFocusToEpisodes:52,setPlaybackRate:53,setAutoQualityLimits:54},ph,[-1,-1,-1])}get initVideo(){return this.$$.ctx[46]}get play(){return this.$$.ctx[47]}get pause(){return this.$$.ctx[48]}get setMuted(){return this.$$.ctx[49]}get setVolume(){return this.$$.ctx[50]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[51]}get returnFocusToEpisodes(){return this.$$.ctx[52]}get setPlaybackRate(){return this.$$.ctx[53]}get setAutoQualityLimits(){return this.$$.ctx[54]}}function wh(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill",t[0]),u(i,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,o){E(n,e,o),m(e,i)},p(n,[o]){o&1&&u(i,"fill",n[0])},i:W,o:W,d(n){n&&S(e)}}}function kh(t,e,i){let{isWhite:n=!1}=e,o;return t.$$set=s=>{"isWhite"in s&&i(1,n=s.isWhite)},t.$$.update=()=>{t.$$.dirty&2&&i(0,o=n?"#fff":"#909499")},[o,n]}class yh extends we{constructor(e){super(),ve(this,e,kh,wh,ge,{isWhite:1})}}function Ch(t){He(t,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function $a(t){let e,i;return{c(){e=T("div"),i=ze(t[0]),u(e,"class","title v-1y9fytq")},m(n,o){E(n,e,o),m(e,i)},p(n,o){o&1&&Qe(i,n[0])},d(n){n&&S(e)}}}function e1(t){let e,i;return e=new yh({props:{isWhite:!!t[1]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isWhite=!!n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ph(t){let e,i,n,o,s=t[0]&&$a(t),l=(!t[0]||!t[1])&&e1(t);return{c(){e=T("div"),s&&s.c(),i=z(),l&&l.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=t[1]?`background-image: url('${t[1]}')`:"")},m(r,a){E(r,e,a),s&&s.m(e,null),m(e,i),l&&l.m(e,null),o=!0},p(r,[a]){r[0]?s?s.p(r,a):(s=$a(r),s.c(),s.m(e,i)):s&&(s.d(1),s=null),!r[0]||!r[1]?l?(l.p(r,a),a&3&&d(l,1)):(l=e1(r),l.c(),d(l,1),l.m(e,null)):l&&(fe(),g(l,1,1,()=>{l=null}),de()),(!o||a&2&&n!==(n=r[1]?`background-image: url('${r[1]}')`:""))&&u(e,"style",n)},i(r){o||(d(l),o=!0)},o(r){g(l),o=!1},d(r){r&&S(e),s&&s.d(),l&&l.d()}}}function Sh(t,e,i){let{title:n}=e,{thumbUrl:o}=e;return t.$$set=s=>{"title"in s&&i(0,n=s.title),"thumbUrl"in s&&i(1,o=s.thumbUrl)},[n,o]}class Th extends we{constructor(e){super(),ve(this,e,Sh,Ph,ge,{title:0,thumbUrl:1},Ch)}}class Eh{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:i="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:i,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",i=>null],["seekbackward",i=>null],["seekforward",i=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[i,n]of e)try{navigator.mediaSession.setActionHandler(i,n)}catch{throw new Error(`The media session action "${i}" is not supported yet.`)}}}function Ah(t){let e,i,n,o;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(o,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(i,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(s,l){E(s,e,l),m(e,i),m(i,n),m(i,o)},p:W,i:W,o:W,d(s){s&&S(e)}}}class Lh extends we{constructor(e){super(),ve(this,e,null,Ah,ge,{})}}function Ih(t){He(t,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function Vh(t){let e,i,n,o,s,l,r;return n=new Lh({}),{c(){e=T("div"),i=T("div"),U(n.$$.fragment),o=z(),s=T("span"),l=ze(t[0]),u(i,"class","dummy-image v-1pbsod4"),B(i,"desktop",!t[1]),u(s,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),B(e,"is-pip-api",t[2])},m(a,c){E(a,e,c),m(e,i),H(n,i,null),m(e,o),m(e,s),m(s,l),r=!0},p(a,[c]){(!r||c&2)&&B(i,"desktop",!a[1]),(!r||c&1)&&Qe(l,a[0])},i(a){r||(d(n.$$.fragment,a),r=!0)},o(a){g(n.$$.fragment,a),r=!1},d(a){a&&S(e),F(n)}}}function Mh(t,e,i){let n,o;const s=mt(),l=!!s.webApi.pictureInPictureApi,r=s.interfaceLanguage$;O(t,r,f=>i(5,n=f));const a=s.ui.isMobile;O(t,a,f=>i(1,o=f));let c;return t.$$.update=()=>{t.$$.dirty&32&&i(0,c=n&&K("pip_dummy_title"))},[c,o,l,r,a,n]}class Bh extends we{constructor(e){super(),ve(this,e,Mh,Vh,ge,{},Ih)}}const Rh=460,Nh=280;class Vu{playerDomElement;playerParentShadowRoot;playerDummyElement;svelteContext;pipWindow;info={isActive$:new Tl(!1),type:Ln.DocumentPictureInPicture};isSupported(){const e=El().browser===i1.Yandex,{isEmbed:i}=vc();return"documentPictureInPicture"in window&&!e&&!i}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,i){this.playerDomElement=e,this.playerParentShadowRoot=i}setContext(e){this.svelteContext=e}async request(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:Rh,height:Nh,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const e=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(l=>l.cssText).join(" ")).filter(Boolean).join(`
|
|
51
|
+
`),i=document.createElement("style");i.textContent=e;const n=this.createStretchedContainer(),o=n.attachShadow({mode:"open"});o.append(i),o.append(this.playerDomElement),this.playerDummyElement=new Bh({target:this.playerParentShadowRoot,context:this.svelteContext}),this.pipWindow?.document.body.append(n),this.info.isActive$.next(!0),this.pipWindow?.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})}async remove(){return new Promise(e=>{documentPictureInPicture.window?.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function zh(t){return t instanceof Vu}class Dh{static getLatestSupportedVersion(){const e=new Rl,i=new Vu;if(i.isSupported())return i;if(e.isSupported())return e}}function t1(t,e){const i=new Set([...Object.keys(t),...Object.keys(e)]),n={};for(const o of i)n[o]=e[o]??t[o]??void 0;return n}const Oh="Inner error. Unexpectedly root annotation container null reference exception",Hh="Annotation with such name already exists",Fh="Annotation with such name does not exist";class vl extends Error{constructor(e){super(e),this.name="AnnotationError"}}const Uh="1",qh=100;class Wh{rootAnnotationsContainer;annotations=new Map;subscriptions=new Un;mutationObserver;playerSize;constructor(e){this.rootAnnotationsContainer=e;const i=il(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},qh);this.subscriptions.add(wc(this.rootAnnotationsContainer).subscribe(({width:n,height:o})=>{this.playerSize={width:n,height:o},i()})),this.mutationObserver=new MutationObserver(i),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,i){if(!this.rootAnnotationsContainer)throw new vl(Oh);if(this.annotations.has(e))throw new vl(Hh);i.style.zIndex=i.style.zIndex??Uh,i.style.position="absolute",this.rootAnnotationsContainer.append(i),this.annotations.set(e,i)}get(e){const i=this.annotations.get(e);if(!i)throw new vl(Fh);return i}remove(e){const i=this.get(e);this.annotations.delete(e)&&i.remove()}clear(){for(const e in this.annotations.keys())this.remove(e)}destroy(){this.annotations.clear(),this.subscriptions.unsubscribe(),this.mutationObserver.disconnect(),this.rootAnnotationsContainer=null}isElementExceedsBoundaries(e,i,n){const o=e.offsetTop,s=e.offsetLeft,l=e.offsetWidth,r=e.offsetHeight;return o<0||s<0||s+l>i||o+r>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class jl{stateName;state$;subscription;init(e,i){return ot(e),ot(i),this.subscription=new Un,this.subscription}}class Zh extends jl{stateName="fakeIsPlaying$";state$={...Me(null),toggle:()=>this.state$.update(e=>!e)};init(e,i){const n=super.init(e,i),{isInteractiveExpectation$:o}=e.state;return n.add(o.subscribe(s=>{this.state$.set(s?!0:null)})),n}}class jh extends jl{stateName="interactiveControlsOpacity$";state$={...Me(null),toggle:()=>this.state$.update(e=>!e)};init(e,i){const n=super.init(e,i),{fakeIsPlaying$:o}=i,{isInteractiveExpectation$:s,isPlaying$:l}=e.state,{controlsVisible:r,isMobile:a}=e.ui,c=Ye(a),f=()=>c&&Ye(r);return n.add(r.subscribe(p=>{if(!c)return;const h=Ye(o);Ye(l)?this.state$.set(p):h!==null&&this.state$.set(!h||p)})),n.add(l.subscribe(p=>{this.state$.set(!p||f())})),n.add(o.subscribe(p=>{if(p===null)return;const h=Ye(s);if(f()){this.state$.set(!0);return}h&&this.state$.set(!p)})),n}}class Kh extends jl{stateName="seekToInteractiveDisabledTooltip$";state$=Me("tooltip_chapter_without_interactive");init(e,i){const n=super.init(e,i);return n.add(e.state.interactiveEpisodes$.subscribe(o=>{o.length&&(o.every(s=>s.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),n}}const Gh=()=>[Zh,jh,Kh].reduce(({subscribers:t,stores:e},i)=>{const n=new i;return{subscribers:[...t,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),Yh={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:Mo.RU,logoClickable:!1,logoHidden:!1,isMobile:kc(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class Qh extends HTMLElement{svelteStubComponent;svelteRootComponent;store;microStoresRoot;statistics;sentry;_shadowRoot;playerContainer;rootContainer;uiConfig;coreConfig;interactiveController;interactiveContainer;graphMadePause;currentPlayingVideoIndex=0;needToRepeatPlaylist=!1;videoConfig=void 0;pictureInPictureApi=void 0;mediaSessionApi=void 0;unsubscribePlayerPhaseSubscription=void 0;logger;log;subscription;annotationsApi=void 0;createPlayerTimeout;prevIsid=void 0;isInited=!1;constructor(){super(),this.logger=new n1,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new Un,this.graphMadePause=!1,window?.videoPlayerConfig?.debugLogs&&this.subscription.add(this.logger.log$.subscribe(e=>{console.log("%c player web component ","background:#77dd77;",`${e.component}`,e.message)}))}connectedCallback(){if(this.isInited)return;this.initPlayerRootContainers();const e=this.getAttribute("stub-title")??void 0,i=this.getAttribute("stub-thumb-url")??void 0;this.svelteStubComponent=new Th({target:this.playerContainer,props:{title:e,thumbUrl:i}})}disconnectedCallback(){this.annotationsApi?.destroy(),this.svelteRootComponent?.$destroy(),this.svelteStubComponent?.$destroy(),this.subscription.unsubscribe(),this.unsubscribePlayerPhaseSubscription?.(),this.interactiveController?.destroy()}initPlayerRootContainers(){this.rootContainer=document.createElement("div"),this.rootContainer.style.position="relative",this.rootContainer.className="root-container",this.rootContainer.style.width="100%",this.rootContainer.style.height="100%";const e=document.createElement("div");e.style.position="absolute",e.className="shadow-root-container",e.style.width="100%",e.style.height="100%",this._shadowRoot=e.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.rootContainer.append(e),this.append(this.rootContainer)}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){return this.store?.ui.controls.disabledControls$?.includes(e)||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,i={},n){if(!this.videoConfig)return;const{albumId:o,statPlace:s,statUserSalt:l,statAuthToken:r,statTrackCode:a,refreshStatAuthToken:c,preload:f,autoplay:p,volume:h,muted:_,fromTime:b,canRewindLive:k,supportLink:v,showAds:P,adsSlotId:y,adsParams:w={},adsPreviewParam:D,interfaceLanguage:ne,logoClickable:I,logoHidden:Z,isMobile:V,isAudioDisabled:ee,isLiveCatchUpMode:M,fullScreenTarget:te,failoverHosts:N,canDownload:Y,callbacks:oe,interactiveData:C,showThumbTimer:le,additionalButtons:ke=[],repeat:me}=t1(this.videoConfig,i),{sources:_e,title:X,thumbUrl:ue,videoLogoUrl:De,unitedVideoId:re,isClip:Le=!1,duration:Te,adsParams:pe={},videoEpisodes:Ee,previewThumbsData:A,subtitles:ie,live:Ve}=e,ye={...w,...pe},ae=this.getNextVideoInfo(),be={sources:_e,title:X,thumbUrl:ue,subtitles:ie,unitedVideoId:re,isClip:Le,live:Ve,albumId:o,statPlace:s,autoplay:p,muted:_,volume:h,fromTime:b,canRewindLive:k,showAds:P,adsSlotId:y,adsParams:ye,adsPreviewParam:D,duration:Te,logoClickable:I,logoHidden:Z,isMobile:V,repeat:me,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:ae.nextVideoTitle,endScreenVideoThumb:ae.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},x={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(be)}`});const Q=this.uiConfig.features.statistics&&!!re,{pid:Fe}=this.videoConfig?.interactiveData?.projectInfo||{};Q&&new Ao({movieId:re,albumId:o,place:s,trackCode:a,autoplay:(p&&!this.interactiveController)??!1,mobile:V,clip:Le,...Fe&&!this.isInited&&{projectId:Number(Fe)}},{refreshAuthToken:c,userSalt:l,config:this.statistics.config,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new Pl(this.uiConfig.sentry,{version:Il,env:Gc},{movieId:re,albumId:o,place:s,autoplay:(p&&!this.interactiveController)??!1,mobile:V,clip:Le}),this.interactiveController&&(this.prevIsid??=Ao.getInstance()?.oneStat.isid$.getValue()),this.statistics={...this.statistics,...Ao.getInstance()},this.sentry={...this.sentry,...Pl.getInstance()};const Xe=!!C,Ae=this.interactiveController?.getInteractiveRanges(),We=[];let xe="tooltip_interactive_go_back_disabled_first";if(Xe&&this.interactiveController){const Pe=this.interactiveController.state.isInitialChapter$.getValue(),ht=this.interactiveController.getHistoryState();Pe&&We.push(nt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||We.push(nt.SEEK_TO_INTERACTIVE_BUTTON),ht.hasPrevChapter$.getValue()||(We.push(nt.PLAY_PREV_CHAPTER_BUTTON),Pe||(ht.isGoBackLimited$.getValue()?xe="tooltip_interactive_go_back_disabled_limit":xe="tooltip_interactive_go_back_disabled"))}const pt=()=>{this.isInited=!1,this.prevIsid=void 0;const Pe=n?.info.isEnded$.getValue()&&this.interactiveController?.state.isEndChapter$.getValue();oe.onReplayInteractiveVideo&&!Pe?oe.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=Um({player:n,interfaceLanguage:ne,videoId:re,isClip:Le,isLiveCatchUpMode:M,isAudioDisabled:ee,statAuthToken:r,callbacks:oe,webApi:x,videoEpisodes:Ee,previewThumbsData:A,canDownload:Y,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:We,isInteractive:Xe,interactiveRanges:Ae,replayInteractive:pt,playPrevChapterDisabledTooltip:xe,hasInteractiveBranches:!!this.interactiveController?.getChapterBranches()?.length,additionalButtons:this.uiConfig.features.additionalButtons?ke:[],looped:me&&this.videoConfig.videos.length===1});const{stores:rt}=this.microStoresRoot=Gh();this.subscription.add(this.store.state.currentFormat$.subscribe(Pe=>oe?.onCurrentFormatChanged?.(Pe))),this.subscription.add(rt.interactiveControlsOpacity$.subscribe(Pe=>{Pe!==null&&this?.interactiveController?.setDisabledControls(Pe)})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Pe=>oe?.onThroughputEstimationChanged?.(Pe))),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe(Pe=>oe?.onTrafficSavingEnabledChanged?.(Pe))),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe(Pe=>oe?.onCurrentPlaybackRateChanged?.(Pe))),this.subscription.add(this.store.state.volume$.subscribe(Pe=>oe?.onVolumeChange?.(Pe))),this.subscription.add(this.store.state.muted$.subscribe(Pe=>Pe?oe?.onMute?.():oe?.onUnmute?.())),this.subscription.add(this.store.state.videoBitrate$.subscribe(Pe=>oe?.onVideoBitrateChanged?.(Pe))),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Pe=>{const ht=this.store?.ui.controls.disabledControls$;ht&&(Pe&&!ht.includes(xo)&&ht.add(xo),Pe||ht.remove(xo))})),this.initMediaSession(),this.interactiveController&&Q&&this.initInteractivesStatistics(),this.svelteRootComponent=new vh({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:_e,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:X,thumbUrl:ue,videoLogoUrl:De,subtitles:ie,live:Ve,preload:f,autoplay:p,muted:_,volume:h,fromTime:b,canRewindLive:k,supportLink:v,showAds:P,adsSlotId:y,adsParams:ye,adsPreviewParam:D,duration:Te,logoClickable:I,logoHidden:Z,isMobile:V,failoverHosts:N,fullScreenTarget:te,showMiniTimer:le,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:ae.nextVideoTitle,endScreenVideoThumb:ae.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist(),playPrevChapter:()=>this.playPrevChapter(),seekToInteractive:()=>this.seekToInteractive(),toggleGraph:()=>this.toggleGraph()}}),this.addPlayerInfoSubscriptions(),this.isInited||(this.isInited=!0,this.videoConfig?.callbacks?.onInited?.())}addPlayerInfoSubscriptions(){if(this.isInited)return;const e=this.store,i=this.videoConfig?.callbacks;i&&this.subscription.add(e.playerPhase.subscribe(o=>i.onPlayerPhaseChanged?.(o))).add(e.state.playbackState$.subscribe(o=>i.onPlaybackStateChanged?.(o))).add(e.state.isLive$.subscribe(o=>i.onIsLiveChanged?.(o))).add(e.state.isActiveLive$.subscribe(o=>i.onIsActiveLiveChanged?.(o))).add(e.state.isAudioAvailable$.subscribe(o=>i.onIsAudioAvailableChanged?.(o))).add(e.state.currentQuality$.subscribe(o=>i.onCurrentQualityChanged?.(o))).add(e.state.availableQualities$.subscribe(o=>i.onAvailableQualitiesChanged?.(o.map(({value:s})=>s).filter(s=>s!==ho.AUTO)))).add(e.ui.isPictureInPictureActive$.subscribe(o=>o?i.onPiPEnter?.():i.onPiPExit?.()));const n=i?.uiInfo;n&&this.subscription.add(e.ui.controlsVisible.subscribe(o=>n.onControlsVisibleChanged?.(o))).add(e.ui.isMobile.subscribe(o=>n.onIsMobileChanged?.(o))).add(e.ui.playerSize.subscribe(o=>n.onPlayerSizeChanged?.(o))).add(e.ui.controls.prevButton.subscribe(o=>n.onPrevButtonChanged?.(o))).add(e.ui.controls.playButton.subscribe(o=>n.onPlayButtonChanged?.(o))).add(e.ui.controls.replayButton.subscribe(o=>n.onReplayButtonChanged?.(o))).add(e.ui.controls.nextButton.subscribe(o=>n.onNextButtonChanged?.(o))).add(e.ui.controls.playPrevChapterButton.subscribe(o=>n.onPlayPrevChapterChanged?.(o))).add(e.ui.controls.seekToInteractiveButton.subscribe(o=>n.onSeekToInteractiveButtonChanged?.(o))).add(e.ui.controls.interactiveGraphButton.subscribe(o=>n.onGraphButtonChanged?.(o))).add(e.ui.controls.liveButton.subscribe(o=>n.onLiveButtonChanged?.(o))).add(e.ui.controls.time.subscribe(o=>n.onTimeUpdateChanged?.(o))).add(e.ui.controls.episodes.subscribe(o=>n.onEpisodesChanged?.(o))).add(e.ui.controls.subtitles.subscribe(o=>n.onSubtitlesChanged?.(o))).add(e.ui.controls.settings.subscribe(o=>n.onSettingsChanged?.(o))).add(e.ui.controls.fullscreen.subscribe(o=>n.onFullscreenChanged?.(o))).add(e.ui.controls.chromecast.subscribe(o=>n.onChromecastChanged?.(o))).add(e.ui.controls.pip.subscribe(o=>n.onPipChanged?.(o))).add(e.ui.controls.vkLogo.subscribe(o=>n.onVkLogoChanged?.(o)))}playNextVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onNextVideoClick)try{e=this.videoConfig.callbacks.onNextVideoClick()}catch{this.log({message:"onNextVideoClick callback failed to execute"})}e&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onPrevVideoClick)try{e=this.videoConfig.callbacks.onPrevVideoClick()}catch{this.log({message:"onPrevVideoClick callback failed to execute"})}e&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,i=!0){if(!this.videoConfig)return;const n=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!n){this.log({message:"no next video"});return}this.isInited&&gn(n.unitedVideoId)&&this.store.actions.internal.nextMovie(n.unitedVideoId),this.svelteRootComponent?.$destroy(),this.createPlayer(n,{autoplay:i,fromTime:0},e)}playPrevChapter(){this.interactiveController?.playPrevChapter()}seekToInteractive(){const e=this.interactiveController?.getNextInteractiveStartTime();typeof e=="number"&&this.seekTime(e/1e3)}toggleGraph(){if(!this.isInited)return;const e=this.store,{isEnded$:i,playbackState$:n,graphIsOpened$:o}=e.state,{disabledControls$:s}=e.ui.controls,l=Ye(i),r=Ye(n);Ye(o)?(o.set(!1),this.interactiveController?.toggleGraphView(!1),s.remove(ts),!l&&this.graphMadePause&&this.play()):(this.graphMadePause=r==="playing",o.set(!0),this.interactiveController?.toggleGraphView(!0),s.add(ts),!l&&this.graphMadePause&&this.pause())}async initInteractives(){if(this.videoConfig?.interactiveData)try{const{Interactives:e,EVENT_NAMES:i,CustomError:n}=await import("@vkontakte/videoplayer-interactive/evergreen.esm.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const o=this.store?.interfaceLanguage$,s=o?Ye(o):this.videoConfig.interfaceLanguage,{projectInfo:l,historyApi:r,videoLoader:a}=this.videoConfig.interactiveData;this.interactiveController=new e({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:s,graph:this.uiConfig.features.interactiveGraph,projectInfo:l,historyApi:r,vkVideoLoader:a,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,historyParams:{maxLength:this.uiConfig.interactive.historyMaxLength},coreConfig:this.coreConfig}),await this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:c}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(p=>{if(!this.isInited)return;const h=this.store;p?h.ui.controls.disabledControls$.remove(nt.SEEK_TO_INTERACTIVE_BUTTON):h.ui.controls.disabledControls$.add(nt.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(c.subscribe(p=>{this.store&&this.store.state.isInteractiveExpectation$.set(p)}));let f=!0;if(this.interactiveController.on(i.playerChanged,p=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...p.config,title:l?.title||p.config.title};const h=f?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(p.player,h),f&&(f=!1)}),this.interactiveController.on(i.interactives,({type:p,subjectId:h,actionType:_})=>{if(!this.store)return;const b=c.getValue();if(p==="container-removed"&&this.store.actions.internal.completeInteractiveRange(h),p==="action-choice"&&_==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(g1)),p==="action-choice-canceled"){const k=Ye(this.store.state.isPlaying$)||b;if(this.videoConfig?.isMobile&&k){this.store.ui.interactiveHideMobileControls.set(!0);return}this.videoConfig?.callbacks.onDisabledInteractiveClick?.()}}),this.videoConfig?.callbacks?.onInteractiveHistoryChanged){const p=this.interactiveController.getHistoryState();this.subscription.add(p.history$.subscribe(h=>{h.length&&this.videoConfig?.callbacks?.onInteractiveHistoryChanged?.(h)}))}this.interactiveController.on(i.errors,p=>{this.log({message:p.toString()})})}catch(e){this.log({message:e.message})}}async initInteractivesStatistics(){const{statSubscription:e,oneStat:i}=this.statistics;if(!(!e||!i||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:n}=await import("@vkontakte/videoplayer-interactive/evergreen.esm.js"),o={[n.GO_NEXT_BUTTON]:Eo.NEXT_BUTTON,[n.GO_NEXT_AREA]:Eo.NEXT_AREA,[n.WATCH_AGAIN]:Eo.WATCH_AGAIN,[n.OPEN_GRAPH]:Eo.GRAPH_SHOW,[n.CLOSE_GRAPH]:Eo.GRAPH_HIDE},{click$:s,nextMovie$:l}=this.interactiveController.getStatEvents(),r=new fn;s.subscribe(a=>{a in o?r.next(o[a]):(i?.logError({errorType:"InteractiveVideosAction",fatal:!1}),this.sentry.report?.(new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),e.add(i.attachToInteractive({click$:r,nextMovie$:l}))}catch(n){i?.logError({errorType:"InteractiveVideos",fatal:!1}),this.sentry.report?.(n,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,i={}){if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=t1(Yh,yc(e,n=>n instanceof HTMLElement?n:void 0)),this.uiConfig=Oc(i.ui??{}),this.coreConfig=i.core??{configName:[]},this.statistics={config:i.statistics??{}},this.sentry={config:this.uiConfig.sentry??{}},gn(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=this.videoConfig.isMediaSessionEnabled??!0),gn(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=this.uiConfig.features.pip??this.videoConfig.isPictureInPictureEnabled??!0,this.uiConfig.features.dpip=this.uiConfig.features.dpip??this.videoConfig.isPictureInPictureEnabled??!0),this.videoConfig.isMobile=this.uiConfig.isMobile??this.videoConfig.isMobile,this.videoConfig.autoplay&&=this.uiConfig.features.autoplay,this.videoConfig.showAds=this.uiConfig.ads.enable??this.videoConfig.showAds,this.videoConfig.adsSlotId=this.uiConfig.ads.slot??this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=this.uiConfig.ads.preview??this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!(this.uiConfig.showLogo??!this.videoConfig.logoHidden),this.videoConfig.canRewindLive&&=this.uiConfig.features.liveRewind,this.videoConfig.supportLink=this.videoConfig.supportLink??this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=Dh.getLatestSupportedVersion():this.pictureInPictureApi=new Rl),this.mediaSessionApi=this.uiConfig.features.mediaSession?new Eh:void 0,this.annotationsApi=this.uiConfig.features.annotations?new Wh(this.rootContainer):void 0,this.svelteStubComponent?.$destroy(),this.svelteRootComponent?.$destroy(),this.isInited=!1,this.prevIsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),zh(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const i=this.getNextVideoInfo();this.svelteRootComponent?.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:i.nextVideoTitle,endScreenVideoThumb:i.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){this.mediaSessionApi&&(this.unsubscribePlayerPhaseSubscription?.(),this.unsubscribePlayerPhaseSubscription=this.store?.playerPhase.subscribe(e=>{e===Re.Video?this.setupMediaSessionForVideo():e===Re.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:i}={...this.videoConfig.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",o=>this.seekTime(o.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:i}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",i=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(i)}catch(e){this.log({message:e.message})}}play(){this.isControlDisabled(nt.PLAY_BUTTON)||this.store?.playerPhase.is(Re.WaitingLive)||(this.log({message:"play"}),this.svelteRootComponent?.play())}pause(){this.log({message:"pause"}),this.svelteRootComponent?.pause()}stop(){if(!this.videoConfig)return;this.log({message:"stop"}),this.svelteStubComponent?.$destroy();const e=this.videoConfig.videos[0];e&&(this.svelteRootComponent?.$destroy(),this.createPlayer(e))}setMuted(e){this.log({message:`set muted, muted: ${e}`}),this.svelteRootComponent?.setMuted(e)}setVolume(e){this.log({message:`set volume, volume: ${e}`}),this.svelteRootComponent?.setVolume(e)}setRepeat(e){this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,this.svelteRootComponent?.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){this.isControlDisabled(nt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),this.svelteRootComponent?.seekTime(e))}seekEpisodeStartTime(e){this.log({message:`seek episode start time, time: ${e}`}),this.svelteRootComponent?.seekEpisodeStartTime(e)}returnFocusToEpisodes(){this.log({message:"return focus to episodes button"}),this.svelteRootComponent?.returnFocusToEpisodes()}setPlaybackRate(e){this.log({message:`set playback rate to: ${e}`}),this.svelteRootComponent?.setPlaybackRate(e)}setAutoQualityLimits(e){this.log({message:`set auto quality limitation. Max: ${e.max??"none"}. Min: ${e.min??"none"}`}),this.svelteRootComponent?.setAutoQualityLimits(e)}addLanguage(e){this.store?.actions.internal.addLanguage(e)}async setLanguage(e){await this.store?.actions.internal.setLanguage(e)}setLiveStart(e){this.log({message:"live started"}),this.store?.actions.internal.setWaitingLive(!1),this.svelteRootComponent?.initVideo(e),this.play()}setWaitRecord(){this.log({message:"post live"}),this.store?.actions.internal.setWaitingRecord(!0),this.store?.destroy()}setLiveEnd(e){this.log({message:"live ended"}),this.store?.actions.internal.setWaitingRecord(!1),this.svelteRootComponent?.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){return Ao.getInstance()?.oneStat.getDeviceId()??void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const e5=()=>{window.customElements.define("vk-video-player",Qh)};export{vt as GridTypes,s5 as InterfaceLanguage,Il as VERSION,r5 as VKNumericLanguage,n5 as VideoFormat,o5 as VideoQuality,a5 as loadVKLangPack,e5 as registerPlayerWebComponent};
|