@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/es2018.cjs.js CHANGED
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @vkontakte/videoplayer v1.1.35-dev.4390a6f1.0
3
- * Fri, 03 May 2024 11:45:40 GMT
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
- "use strict";var Lc=Object.create;var xo=Object.defineProperty;var Vc=Object.getOwnPropertyDescriptor;var Ic=Object.getOwnPropertyNames;var Mc=Object.getPrototypeOf,Nc=Object.prototype.hasOwnProperty;var Rc=(i,e,t)=>e in i?xo(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Bc=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Ic(e))!Nc.call(i,o)&&o!==t&&xo(i,o,{get:()=>e[o],enumerable:!(n=Vc(e,o))||n.enumerable});return i};var $l=(i,e,t)=>(t=i!=null?Lc(Mc(i)):{},Bc(e||!i||!i.__esModule?xo(t,"default",{value:i,enumerable:!0}):t,i));var $o=(i,e,t)=>(Rc(i,typeof e!="symbol"?e+"":e,t),t);var nt=require("@vkontakte/videoplayer-core/es2018.cjs.js"),le=require("@vkontakte/videoplayer-shared/es2018.cjs.js"),wt=require("@vkontakte/videoplayer-statistics/es2018.cjs.js");function K(){}function C1(i,e){for(const t in e)i[t]=e[t];return i}function T1(i){return i()}function er(){return Object.create(null)}function ni(i){i.forEach(T1)}function Sn(i){return typeof i=="function"}function _e(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Co;function tr(i,e){return Co||(Co=document.createElement("a")),Co.href=e,i===Co.href}function Oc(i){return Object.keys(i).length===0}function Uo(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 it(i){let e;return Uo(i,t=>e=t)(),e}function j(i,e,t){i.$$.on_destroy.push(Uo(e,t))}function Pn(i,e,t,n){if(i){const o=E1(i,e,t,n);return i[0](o)}}function E1(i,e,t,n){return i[1]&&n?C1(t.ctx.slice(),i[1](n(e))):t.ctx}function Cn(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=[],r=Math.max(e.dirty.length,o.length);for(let s=0;s<r;s+=1)l[s]=e.dirty[s]|o[s];return l}return e.dirty|o}return e.dirty}function Tn(i,e,t,n,o,l){if(o){const r=E1(e,t,n,l);i.p(r,o)}}function En(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 zc(i){return i==null?"":i}const A1=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function d(i,e){i.appendChild(e)}function je(i,e,t){const n=Dc(i);if(!n.getElementById(e)){const o=k("style");o.id=e,o.textContent=t,Fc(n,o)}}function Dc(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Fc(i,e){return d(i.head||i,e),e.sheet}function S(i,e,t){i.insertBefore(e,t||null)}function y(i){i.parentNode&&i.parentNode.removeChild(i)}function rn(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 De(i){return document.createTextNode(i)}function R(){return De(" ")}function bt(){return De("")}function Ae(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function wi(i){return function(e){return e.preventDefault(),i.call(this,e)}}function ft(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 Hc(i){return Array.from(i.childNodes)}function ot(i,e){e=""+e,i.data!==e&&(i.data=e)}function Ft(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let To;function Uc(){if(To===void 0){To=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){To=!0}}return To}function qo(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=Uc();let l;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",l=Ae(window,"message",r=>{r.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 mn(i,e){return new i(e)}let po;function ho(i){po=i}function go(){if(!po)throw new Error("Function called outside component initialization");return po}function Yi(i){go().$$.on_mount.push(i)}function jo(i){go().$$.on_destroy.push(i)}function Cl(i,e){return go().$$.context.set(i,e),e}function Rl(i){return go().$$.context.get(i)}function L1(){return go().$$.context}function to(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Xn=[],We=[];let $n=[];const Tl=[],qc=Promise.resolve();let El=!1;function jc(){El||(El=!0,qc.then(V1))}function Dn(i){$n.push(i)}function Ct(i){Tl.push(i)}const el=new Set;let Wn=0;function V1(){if(Wn!==0)return;const i=po;do{try{for(;Wn<Xn.length;){const e=Xn[Wn];Wn++,ho(e),Wc(e.$$)}}catch(e){throw Xn.length=0,Wn=0,e}for(ho(null),Xn.length=0,Wn=0;We.length;)We.pop()();for(let e=0;e<$n.length;e+=1){const t=$n[e];el.has(t)||(el.add(t),t())}$n.length=0}while(Xn.length);for(;Tl.length;)Tl.pop()();El=!1,el.clear(),ho(i)}function Wc(i){if(i.fragment!==null){i.update(),ni(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Dn)}}function Zc(i){const e=[],t=[];$n.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),$n=e}const Bo=new Set;let On;function he(){On={r:0,c:[],p:On}}function pe(){On.r||ni(On.c),On=On.p}function m(i,e){i&&i.i&&(Bo.delete(i),i.i(e))}function v(i,e,t,n){if(i&&i.o){if(Bo.has(i))return;Bo.add(i),On.c.push(()=>{Bo.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Zt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function Gc(i,e){const t={},n={},o={$$scope:1};let l=i.length;for(;l--;){const r=i[l],s=e[l];if(s){for(const a in r)a in s||(n[a]=1);for(const a in s)o[a]||(t[a]=s[a],o[a]=1);i[l]=s}else for(const a in r)o[a]=1}for(const r in n)r in t||(t[r]=void 0);return t}function Kc(i){return typeof i=="object"&&i!==null?i:{}}function Tt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function F(i){i&&i.c()}function z(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),Dn(()=>{const l=i.$$.on_mount.map(T1).filter(Sn);i.$$.on_destroy?i.$$.on_destroy.push(...l):ni(l),i.$$.on_mount=[]}),o.forEach(Dn)}function D(i,e){const t=i.$$;t.fragment!==null&&(Zc(t.after_update),ni(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Yc(i,e){i.$$.dirty[0]===-1&&(Xn.push(i),jc(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function ye(i,e,t,n,o,l,r,s=[-1]){const a=po;ho(i);const c=i.$$={fragment:null,ctx:[],props:l,update:K,not_equal:o,bound:er(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:er(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};r&&r(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(h,p,...b)=>{const g=b.length?b[0]:p;return c.ctx&&o(c.ctx[h],c.ctx[h]=g)&&(!c.skip_bound&&c.bound[h]&&c.bound[h](g),f&&Yc(i,h)),p}):[],c.update(),f=!0,ni(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const h=Hc(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),V1()}ho(a)}class Se{constructor(){$o(this,"$$");$o(this,"$$set")}$destroy(){D(this,1),this.$destroy=K}$on(e,t){if(!Sn(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&&!Oc(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Qc="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Qc);var io;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(io||(io={}));const Xc={isMobile:void 0,defaultLanguage:le.InterfaceLanguage.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:io.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:le.VideoQuality.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}},Jc=i=>le.fillWithDefault(i,Xc),xc=i=>Cl("ui-config",i),Qi=()=>Rl("ui-config"),Al="vk_player_debug_panel_opened",I1=300,$c="videoplayer",e0="videoplayer";var qe;(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"})(qe||(qe={}));const Wo={[qe.KeyF]:"f",[qe.KeyK]:"k",[qe.KeyC]:"c",[qe.KeyM]:"m"},t0=new Set([qe.ArrowLeft,qe.ArrowRight,qe.KeyL,qe.KeyJ]);var vt;(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"})(vt||(vt={}));const ir=40,i0=4,n0=60,fo=8,M1=[vt.TIMELINE],Oo=[...M1,vt.GRAPH_BUTTON],nr=[...M1,vt.PLAY_BUTTON],N1=[...Oo,vt.PLAY_BUTTON];var Jn;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(Jn||(Jn={}));exports.GridTypes=void 0;(function(i){i.XS="xs",i.S="s",i.M="m",i.L="l",i.XL="xl"})(exports.GridTypes||(exports.GridTypes={}));const no={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},Zn=[];function dn(i,e){return{subscribe:Ue(i,e).subscribe}}function Ue(i,e=K){let t;const n=new Set;function o(s){if(_e(i,s)&&(i=s,t)){const a=!Zn.length;for(const c of n)c[1](),Zn.push(c,i);if(a){for(let c=0;c<Zn.length;c+=2)Zn[c][0](Zn[c+1]);Zn.length=0}}}function l(s){o(s(i))}function r(s,a=K){const c=[s,a];return n.add(c),n.size===1&&(t=e(o,l)||K),s(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:l,subscribe:r}}function ii(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 dn(t,(r,s)=>{let a=!1;const c=[];let f=0,h=K;const p=()=>{if(f)return;h();const g=e(n?c[0]:c,r,s);l?r(g):h=Sn(g)?g:K},b=o.map((g,_)=>Uo(g,L=>{c[_]=L,f&=~(1<<_),a&&p()},()=>{f|=1<<_}));return a=!0,p(),function(){ni(b),h(),a=!1}})}const o0="prod",Zo="1.1.35-dev.4390a6f1.0",R1=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},B1=Symbol("storeContext"),O1=Symbol("microStoresContext"),l0=(i,e)=>{Cl(B1,i),Cl(O1,e)},Et=()=>{const i=Rl(B1);return le.assertNonNullable(i,"Store context is empty!"),i},z1=()=>{const i=Rl(O1);return le.assertNonNullable(i,"MicroStores context is empty!"),i},St=(i,e)=>D1(i,i.getValue(),e),D1=(i,e,t)=>dn(e,n=>{const o=i.subscribe(l=>{n(l),t==null||t(l)});return()=>o.unsubscribe()}),r0=(i,e,t)=>{var n,o,l,r;const s=i.info,{width:a,height:c}=it(t.ui.playerSize),f=(o=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&o!==void 0?o:0,h=(r=(l=s.rttEstimation$.getValue())===null||l===void 0?void 0:l.toFixed(0))!==null&&r!==void 0?r:0,p=s.isAutoQualityEnabled$.getValue()?"auto":"manual",b=`${Zo} (core: ${nt.VERSION}, stat: ${wt.VERSION}, shared: ${le.VERSION})`,g=it(t.state.errorLog$),_=g.length?`
7
- `+g.map((w,P)=>{var B;const N=`${P}) Type: ${w.id}
8
- `,U=`Message: ${w.message} (${w.thrown})
9
- `,Y=`Trace: ${(B=w.thrown)===null||B===void 0?void 0:B.stack}
10
- `;return N+U+Y}).join(`
11
- `):void 0,L=t.state.isAudioDisabled?"disabled":it(t.state.isAudioAvailable$)?void 0:"unavailable",E={Version:b,Browser:navigator.userAgent,Config:i.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(t.videoId),"Content host":s.hostname$.getValue(),"Connection type":s.httpConnectionType$.getValue()+(s.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${h}ms RTT`,Format:s.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${p} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Audio:L,Position:`${it(t.state.positionExact$)}s`,State:`${it(t.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:_};return Object.entries(E).filter(([w,P])=>P!==void 0).map(([w,P])=>`${w}: ${P}`).join(`
12
- `)},s0=(i,e,t)=>{const n=i.info,{width:o,height:l}=it(t.ui.playerSize),r={version:Zo,viewport:`${o}x${l}`,volume:Math.round(it(t.state.volume$)*100)};r.id=t.videoId,n.currentFormat$.getValue()&&(r.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(r.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(r.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(r.buffer=Math.max(f.end-it(t.state.positionExact$),0));const h=n.throughputEstimation$.getValue();h&&(r.speed=h);const p=n.videoBitrate$.getValue();return p&&(r.bitrate=p),r},a0=(i,e)=>R1(i,e,"mp4"),F1="vk_player_prefer_traffic_saving_enabled",H1="vk_player_preferred_volume",U1="vk_player_prefer_volume_mute",Bl="vk_player_preferred_quality",q1=i=>i>1?1:i<0?0:i,or=i=>le.safeStorage.set(H1,q1(i).toString(10)),j1=()=>{const i=le.safeStorage.get(H1);return le.isNullable(i)?void 0:q1(parseFloat(i))},u0=(i,e)=>le.safeStorage.set(Bl,JSON.stringify({videoId:i,value:e})),W1=()=>le.safeStorage.remove(Bl),c0=i=>{const e=le.safeStorage.get(Bl);if(le.isNullable(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){W1();return}return n},Z1=(i,e)=>{e?le.safeStorage.set(i,"true"):le.safeStorage.remove(i)},G1=i=>le.safeStorage.get(i)==="true",tl=i=>Z1(U1,i),f0=()=>G1(U1),d0=i=>Z1(F1,i),m0=()=>G1(F1);function h0(i){let e,t,n,o,l,r,s,a,c,f,h,p,b,g,_,L,E,w;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),r=I("path"),s=I("path"),a=I("defs"),c=I("filter"),f=I("feFlood"),h=I("feColorMatrix"),p=I("feOffset"),b=I("feGaussianBlur"),g=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(r,"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(r,"fill","#fff"),u(s,"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(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(s,"stroke-linecap","round"),u(s,"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(b,"stdDeviation","2.5"),u(g,"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",E=!i[0]||null),u(e,"aria-label",w=i[0]||null)},m(P,B){S(P,e,B),d(e,t),d(t,n),d(t,o),d(t,l),d(t,r),d(t,s),d(e,a),d(a,c),d(c,f),d(c,h),d(c,p),d(c,b),d(c,g),d(c,_),d(c,L)},p(P,[B]){B&1&&E!==(E=!P[0]||null)&&u(e,"aria-hidden",E),B&1&&w!==(w=P[0]||null)&&u(e,"aria-label",w)},i:K,o:K,d(P){P&&y(e)}}}function p0(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class K1 extends Se{constructor(e){super(),ye(this,e,p0,h0,_e,{ariaLabel:0})}}var il=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function v0(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Eo=function(i){return i&&i.Math==Math&&i},Nn=Eo(typeof globalThis=="object"&&globalThis)||Eo(typeof window=="object"&&window)||Eo(typeof self=="object"&&self)||Eo(typeof il=="object"&&il)||function(){return this}()||il||Function("return this")(),Fn=function(i){try{return!!i()}catch(e){return!0}},g0=Fn,Go=!g0(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")}),b0=Go,Y1=Function.prototype,lr=Y1.apply,rr=Y1.call,_0=typeof Reflect=="object"&&Reflect.apply||(b0?rr.bind(lr):function(){return rr.apply(lr,arguments)}),Q1=Go,X1=Function.prototype,Ll=X1.call,w0=Q1&&X1.bind.bind(Ll,Ll),Rn=Q1?w0:function(i){return function(){return Ll.apply(i,arguments)}},J1=Rn,k0=J1({}.toString),y0=J1("".slice),Ko=function(i){return y0(k0(i),8,-1)},S0=Ko,P0=Rn,x1=function(i){if(S0(i)==="Function")return P0(i)},Vl=typeof document=="object"&&document.all,C0=typeof Vl=="undefined"&&Vl!==void 0,$1={all:Vl,IS_HTMLDDA:C0},eu=$1,T0=eu.all,An=eu.IS_HTMLDDA?function(i){return typeof i=="function"||i===T0}:function(i){return typeof i=="function"},tu={},E0=Fn,bo=!E0(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),A0=Go,Ao=Function.prototype.call,_o=A0?Ao.bind(Ao):function(){return Ao.apply(Ao,arguments)},iu={},nu={}.propertyIsEnumerable,ou=Object.getOwnPropertyDescriptor,L0=ou&&!nu.call({1:2},1);iu.f=L0?function(e){var t=ou(this,e);return!!t&&t.enumerable}:nu;var lu=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}},V0=Rn,I0=Fn,M0=Ko,nl=Object,N0=V0("".split),R0=I0(function(){return!nl("z").propertyIsEnumerable(0)})?function(i){return M0(i)=="String"?N0(i,""):nl(i)}:nl,Ol=function(i){return i==null},B0=Ol,O0=TypeError,zl=function(i){if(B0(i))throw O0("Can't call method on "+i);return i},z0=R0,D0=zl,F0=function(i){return z0(D0(i))},sr=An,ru=$1,H0=ru.all,wo=ru.IS_HTMLDDA?function(i){return typeof i=="object"?i!==null:sr(i)||i===H0}:function(i){return typeof i=="object"?i!==null:sr(i)},su={},ol=su,ll=Nn,U0=An,ar=function(i){return U0(i)?i:void 0},au=function(i,e){return arguments.length<2?ar(ol[i])||ar(ll[i]):ol[i]&&ol[i][e]||ll[i]&&ll[i][e]},q0=Rn,uu=q0({}.isPrototypeOf),j0=typeof navigator!="undefined"&&String(navigator.userAgent)||"",cu=Nn,rl=j0,ur=cu.process,cr=cu.Deno,fr=ur&&ur.versions||cr&&cr.version,dr=fr&&fr.v8,ln,Do;dr&&(ln=dr.split("."),Do=ln[0]>0&&ln[0]<4?1:+(ln[0]+ln[1]));!Do&&rl&&(ln=rl.match(/Edge\/(\d+)/),(!ln||ln[1]>=74)&&(ln=rl.match(/Chrome\/(\d+)/),ln&&(Do=+ln[1])));var W0=Do,mr=W0,Z0=Fn,G0=Nn,K0=G0.String,fu=!!Object.getOwnPropertySymbols&&!Z0(function(){var i=Symbol();return!K0(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&mr&&mr<41}),Y0=fu,du=Y0&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Q0=au,X0=An,J0=uu,x0=du,$0=Object,mu=x0?function(i){return typeof i=="symbol"}:function(i){var e=Q0("Symbol");return X0(e)&&J0(e.prototype,$0(i))},ef=String,tf=function(i){try{return ef(i)}catch(e){return"Object"}},nf=An,of=tf,lf=TypeError,hu=function(i){if(nf(i))return i;throw lf(of(i)+" is not a function")},rf=hu,sf=Ol,pu=function(i,e){var t=i[e];return sf(t)?void 0:rf(t)},sl=_o,al=An,ul=wo,af=TypeError,uf=function(i,e){var t,n;if(e==="string"&&al(t=i.toString)&&!ul(n=sl(t,i))||al(t=i.valueOf)&&!ul(n=sl(t,i))||e!=="string"&&al(t=i.toString)&&!ul(n=sl(t,i)))return n;throw af("Can't convert object to primitive value")},vu={exports:{}},hr=Nn,cf=Object.defineProperty,ff=function(i,e){try{cf(hr,i,{value:e,configurable:!0,writable:!0})}catch(t){hr[i]=e}return e},df=Nn,mf=ff,pr="__core-js_shared__",hf=df[pr]||mf(pr,{}),pf=hf,vr=pf;(vu.exports=function(i,e){return vr[i]||(vr[i]=e!==void 0?e:{})})("versions",[]).push({version:"3.31.0",mode:"pure",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"});var vf=vu.exports,gf=zl,bf=Object,gu=function(i){return bf(gf(i))},_f=Rn,wf=gu,kf=_f({}.hasOwnProperty),Yo=Object.hasOwn||function(e,t){return kf(wf(e),t)},yf=Rn,Sf=0,Pf=Math.random(),Cf=yf(1 .toString),Tf=function(i){return"Symbol("+(i===void 0?"":i)+")_"+Cf(++Sf+Pf,36)},Ef=Nn,Af=vf,gr=Yo,Lf=Tf,Vf=fu,If=du,xn=Ef.Symbol,cl=Af("wks"),Mf=If?xn.for||xn:xn&&xn.withoutSetter||Lf,ko=function(i){return gr(cl,i)||(cl[i]=Vf&&gr(xn,i)?xn[i]:Mf("Symbol."+i)),cl[i]},Nf=_o,br=wo,_r=mu,Rf=pu,Bf=uf,Of=ko,zf=TypeError,Df=Of("toPrimitive"),Ff=function(i,e){if(!br(i)||_r(i))return i;var t=Rf(i,Df),n;if(t){if(e===void 0&&(e="default"),n=Nf(t,i,e),!br(n)||_r(n))return n;throw zf("Can't convert object to primitive value")}return e===void 0&&(e="number"),Bf(i,e)},Hf=Ff,Uf=mu,bu=function(i){var e=Hf(i,"string");return Uf(e)?e:e+""},qf=Nn,wr=wo,Il=qf.document,jf=wr(Il)&&wr(Il.createElement),Wf=function(i){return jf?Il.createElement(i):{}},Zf=bo,Gf=Fn,Kf=Wf,_u=!Zf&&!Gf(function(){return Object.defineProperty(Kf("div"),"a",{get:function(){return 7}}).a!=7}),Yf=bo,Qf=_o,Xf=iu,Jf=lu,xf=F0,$f=bu,ed=Yo,td=_u,kr=Object.getOwnPropertyDescriptor;tu.f=Yf?kr:function(e,t){if(e=xf(e),t=$f(t),td)try{return kr(e,t)}catch(n){}if(ed(e,t))return Jf(!Qf(Xf.f,e,t),e[t])};var id=Fn,nd=An,od=/#|\.prototype\./,yo=function(i,e){var t=rd[ld(i)];return t==ad?!0:t==sd?!1:nd(e)?id(e):!!e},ld=yo.normalize=function(i){return String(i).replace(od,".").toLowerCase()},rd=yo.data={},sd=yo.NATIVE="N",ad=yo.POLYFILL="P",ud=yo,yr=x1,cd=hu,fd=Go,dd=yr(yr.bind),md=function(i,e){return cd(i),e===void 0?i:fd?dd(i,e):function(){return i.apply(e,arguments)}},wu={},hd=bo,pd=Fn,vd=hd&&pd(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),gd=wo,bd=String,_d=TypeError,ku=function(i){if(gd(i))return i;throw _d(bd(i)+" is not an object")},wd=bo,kd=_u,yd=vd,Lo=ku,Sr=bu,Sd=TypeError,fl=Object.defineProperty,Pd=Object.getOwnPropertyDescriptor,dl="enumerable",ml="configurable",hl="writable";wu.f=wd?yd?function(e,t,n){if(Lo(e),t=Sr(t),Lo(n),typeof e=="function"&&t==="prototype"&&"value"in n&&hl in n&&!n[hl]){var o=Pd(e,t);o&&o[hl]&&(e[t]=n.value,n={configurable:ml in n?n[ml]:o[ml],enumerable:dl in n?n[dl]:o[dl],writable:!1})}return fl(e,t,n)}:fl:function(e,t,n){if(Lo(e),t=Sr(t),Lo(n),kd)try{return fl(e,t,n)}catch(o){}if("get"in n||"set"in n)throw Sd("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Cd=bo,Td=wu,Ed=lu,Ad=Cd?function(i,e,t){return Td.f(i,e,Ed(1,t))}:function(i,e,t){return i[e]=t,i},Vo=Nn,Ld=_0,Vd=x1,Id=An,Md=tu.f,Nd=ud,Gn=su,Rd=md,Kn=Ad,Pr=Yo,Bd=function(i){var e=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new i;case 1:return new i(t);case 2:return new i(t,n)}return new i(t,n,o)}return Ld(i,this,arguments)};return e.prototype=i.prototype,e},Od=function(i,e){var t=i.target,n=i.global,o=i.stat,l=i.proto,r=n?Vo:o?Vo[t]:(Vo[t]||{}).prototype,s=n?Gn:Gn[t]||Kn(Gn,t,{})[t],a=s.prototype,c,f,h,p,b,g,_,L,E;for(p in e)c=Nd(n?p:t+(o?".":"#")+p,i.forced),f=!c&&r&&Pr(r,p),g=s[p],f&&(i.dontCallGetSet?(E=Md(r,p),_=E&&E.value):_=r[p]),b=f&&_?_:e[p],!(f&&typeof g==typeof b)&&(i.bind&&f?L=Rd(b,Vo):i.wrap&&f?L=Bd(b):l&&Id(b)?L=Vd(b):L=b,(i.sham||b&&b.sham||g&&g.sham)&&Kn(L,"sham",!0),Kn(s,p,L),l&&(h=t+"Prototype",Pr(Gn,h)||Kn(Gn,h,{}),Kn(Gn[h],p,b),i.real&&a&&(c||!a[p])&&Kn(a,p,b)))},zd=wo,Dd=Ko,Fd=ko,Hd=Fd("match"),Ud=function(i){var e;return zd(i)&&((e=i[Hd])!==void 0?!!e:Dd(i)=="RegExp")},qd=ko,jd=qd("toStringTag"),yu={};yu[jd]="z";var Wd=String(yu)==="[object z]",Zd=Wd,Gd=An,zo=Ko,Kd=ko,Yd=Kd("toStringTag"),Qd=Object,Xd=zo(function(){return arguments}())=="Arguments",Jd=function(i,e){try{return i[e]}catch(t){}},xd=Zd?zo:function(i){var e,t,n;return i===void 0?"Undefined":i===null?"Null":typeof(t=Jd(e=Qd(i),Yd))=="string"?t:Xd?zo(e):(n=zo(e))=="Object"&&Gd(e.callee)?"Arguments":n},$d=xd,e2=String,t2=function(i){if($d(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return e2(i)},i2=ku,n2=function(){var i=i2(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e},o2=_o,l2=Yo,r2=uu,s2=n2,Cr=RegExp.prototype,a2=function(i){var e=i.flags;return e===void 0&&!("flags"in Cr)&&!l2(i,"flags")&&r2(Cr,i)?o2(s2,i):e},Dl=Rn,u2=gu,c2=Math.floor,pl=Dl("".charAt),f2=Dl("".replace),vl=Dl("".slice),d2=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,m2=/\$([$&'`]|\d{1,2})/g,h2=function(i,e,t,n,o,l){var r=t+i.length,s=n.length,a=m2;return o!==void 0&&(o=u2(o),a=d2),f2(l,a,function(c,f){var h;switch(pl(f,0)){case"$":return"$";case"&":return i;case"`":return vl(e,0,t);case"'":return vl(e,r);case"<":h=o[vl(f,1,-1)];break;default:var p=+f;if(p===0)return c;if(p>s){var b=c2(p/10);return b===0?c:b<=s?n[b-1]===void 0?pl(f,1):n[b-1]+pl(f,1):c}h=n[p-1]}return h===void 0?"":h})},p2=Od,v2=_o,Fl=Rn,Tr=zl,g2=An,b2=Ol,_2=Ud,Yn=t2,w2=pu,k2=a2,y2=h2,S2=ko,P2=S2("replace"),C2=TypeError,Su=Fl("".indexOf),T2=Fl("".replace),Er=Fl("".slice),E2=Math.max,Ar=function(i,e,t){return t>i.length?-1:e===""?t:Su(i,e,t)};p2({target:"String",proto:!0},{replaceAll:function(e,t){var n=Tr(this),o,l,r,s,a,c,f,h,p,b=0,g=0,_="";if(!b2(e)){if(o=_2(e),o&&(l=Yn(Tr(k2(e))),!~Su(l,"g")))throw C2("`.replaceAll` does not allow non-global regexes");if(r=w2(e,P2),r)return v2(r,e,n,t);if(o)return T2(Yn(n),e,t)}for(s=Yn(n),a=Yn(e),c=g2(t),c||(t=Yn(t)),f=a.length,h=E2(1,f),b=Ar(s,a,0);b!==-1;)p=c?Yn(t(a,b,s)):y2(a,s,b,[],void 0,t),_+=Er(s,g,b)+p,g=b+f,b=Ar(s,a,b+h);return g<s.length&&(_+=Er(s,g)),_}});var A2=au,L2=A2,V2=L2,I2=V2("String","replaceAll"),M2=I2,N2=M2,R2=N2,B2=R2,O2=v0(B2);const z2={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}"},D2={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}"},wn=new Map;wn.set(le.InterfaceLanguage.EN,D2);wn.set(le.InterfaceLanguage.RU,z2);const Pu=new Map,Lr=({language:i,pack:e,fallback:t})=>{if(wn.has(i)){const n=wn.get(i);wn.set(i,{...n,...e})}else wn.set(i,e);Pu.set(i,t)},Vr=i=>wn.has(i),Cu=(i,e,t,n)=>{var o;const l=wn.get(i);let r=l==null?void 0:l[e];if(le.isNullable(r)){const s=(o=Pu.get(i))!==null&&o!==void 0?o:n,a=s?wn.get(s):void 0;r=a==null?void 0:a[e]}return le.isNullable(r)?e+Object.values(t!=null?t:{}).join(" "):t?O2(r,/{(\w+?)}/g,(s,a)=>{var c;return(c=t[a])!==null&&c!==void 0?c:""}):r},Z=(i,e)=>{const{interfaceLanguage$:t}=Et(),n=it(t),o=Qi();return Cu(n,i,e,o.defaultLanguage)};var Fo;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(Fo||(Fo={}));const F2=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,H2=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,U2=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Io="?",q2="X-Sentry-Auth",j2=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function W2(i){if(!i.stack)return null;const e=[],t=i.stack.split(`
13
- `);let n,o;for(let l=0;l<t.length;++l){if(n=F2.exec(t[l]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||Io,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=U2.exec(t[l]))o={filename:n[2],function:n[1]||Io,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=H2.exec(t[l]))l===0&&!n[5]&&i.columnNumber!==void 0&&(e[0].column=i.columnNumber+1),o={filename:n[3],function:n[1]||Io,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=Io),e.push(o)}return e.length?{value:Tu(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function Tu(i){return(i&&i.message||"No error message").split(`
14
- `).filter(t=>!!t)[0]}function Z2(i){try{const e=W2(i);if(e)return e}catch(e){}return{value:Tu(i),type:i&&i.name,stacktrace:{frames:[]}}}function G2(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class K2{constructor(e){if(e&&e.dsn){const t=j2.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:[Z2(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(q2,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:G2(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function Ir(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function Y2(){return window}class Hl extends K2{constructor(e,t=Y2()){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:r=[],ignoreErrors:s=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=l,this.blacklistUrls=r,this.ignoreErrors=s,this.release=a}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 Hl({...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=>Ir(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(t){return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const t=this.getEventFilterUrl(e);return t?this.blacklistUrls.some(n=>Ir(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(t){return null}}extendState(e){this._state=Object.keys(e).reduce((t,n)=>{const o=this._state[n],l=Array.isArray(o)?o:null,r=e[n],s=Array.isArray(r)?r:null;return{...t,[n]:l||s?[...l||[],...s||[]]:{...typeof o!="string"?o:{},...typeof r!="string"?r:{}}}},this._state)}setKeyState(e,t){this._state[e]=t}}let Mo=null;class Ml{constructor(e,t,n={}){!Mo&&e.dsn&&(this.sentryClient=new Hl({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new le.Subscription,this.options=e,this.context=n,Mo=this)}destroy(){var e,t;(e=this.sentryClient)===null||e===void 0||e.destroy(),(t=this.sentrySubscription)===null||t===void 0||t.unsubscribe(),Mo=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:r}=this,{sampleRate:s=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:h}=r,{errorType:p,category:b}=t;if(le.isNonNullable(b)&&h.includes(b)||le.isNonNullable(p)&&f.includes(p))return;if(Math.random()<=s||le.isNonNullable(b)&&c.includes(b)||le.isNonNullable(p)&&a.includes(p)){Object.keys(t).length&&o.setTags({version:this.version,...t}),(Object.keys(l).length||Object.keys(n).length)&&o.setExtras({...l,...n});try{p&&o.captureMessage(p,t.fatal?Fo.fatal:Fo.error),o.report(e)}catch(_){console.error(_)}}}static getInstance(){return Mo}}var eo;(function(i){i.AUTO="auto"})(eo||(eo={}));var Be;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(Be||(Be={}));var _n;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(_n||(_n={}));var Qt;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(Qt||(Qt={}));var kn;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(kn||(kn={}));var Qe;(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"})(Qe||(Qe={}));var zn;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(zn||(zn={}));const Eu=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!=null&&e.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Au=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),Q2=i=>{const e=i;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},vo=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},Lu=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},Vu=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},X2=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))},J2=()=>({title:Z("hotkey_map_modal_title"),closeBtnText:Z("hotkey_map_modal_close_btn_text"),groups:[{title:Z("hotkey_map_group_title_common"),items:[{description:Z("hotkey_map_item_mute_description"),value:Z("hotkey_map_item_mute_value")},{description:Z("hotkey_map_item_volume_up_description"),value:Z("hotkey_map_item_volume_up_value")},{description:Z("hotkey_map_item_volume_down_description"),value:Z("hotkey_map_item_volume_down_value")},{description:Z("hotkey_map_item_pip_description"),value:Z("hotkey_map_item_pip_value")},{description:Z("hotkey_map_item_full_screen_description"),value:Z("hotkey_map_item_full_screen_value")},{description:Z("hotkey_map_item_show_hotkey_map_description"),value:Z("hotkey_map_item_show_hotkey_map_value")}]},{title:Z("hotkey_map_group_title_playback"),items:[{description:Z("hotkey_map_item_play_toggle_description"),value:Z("hotkey_map_item_play_toggle_value")},{description:Z("hotkey_map_item_seek_backward_description"),value:Z("hotkey_map_item_seek_backward_value")},{description:Z("hotkey_map_item_seek_forward_description"),value:Z("hotkey_map_item_seek_forward_value")},{description:Z("hotkey_map_item_fast_seek_backward_description"),value:Z("hotkey_map_item_fast_seek_backward_value")},{description:Z("hotkey_map_item_fast_seek_forward_description"),value:Z("hotkey_map_item_fast_seek_forward_value")},{description:Z("hotkey_map_item_rate_down_description"),value:Z("hotkey_map_item_rate_down_value")},{description:Z("hotkey_map_item_rate_up_description"),value:Z("hotkey_map_item_rate_up_value")},{description:Z("hotkey_map_item_prev_frame_description"),value:Z("hotkey_map_item_prev_frame_value")},{description:Z("hotkey_map_item_next_frame_description"),value:Z("hotkey_map_item_next_frame_value")},{description:Z("hotkey_map_item_jump_seek_description"),value:Z("hotkey_map_item_jump_seek_value")}]},{title:Z("hotkey_map_group_title_subtitles"),items:[{description:Z("hotkey_map_item_subtitles_toggle_description"),value:Z("hotkey_map_item_subtitles_toggle_value")}]},{title:Z("hotkey_map_group_title_episodes"),items:[{description:Z("hotkey_map_item_prev_episode_description"),value:le.isMacLike()?Z("hotkey_map_item_prev_episode_mac_value"):Z("hotkey_map_item_prev_episode_pc_value")},{description:Z("hotkey_map_item_next_episode_description"),value:le.isMacLike()?Z("hotkey_map_item_next_episode_mac_value"):Z("hotkey_map_item_next_episode_pc_value")}]}]});class Ul{constructor(){this.isRequested=!1,this.videoElement=void 0,this.playerContainer=void 0,this.externalEventHandlers={},this.eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:le.debounceFn(this.onResize.bind(this),I1)},this.info={isActive$:new le.ValueSubject(this.isActive()),type:kn.PictureInPicture}}isSupported(){const e=le.getCurrentBrowser().browser===le.CurrentClientBrowser.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(){var e;if(!(!this.isSupported()||this.isActive()))try{await((e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture())}catch(t){this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){var e;this.isSupported()&&(this.videoElement=(e=this.playerContainer)===null||e===void 0?void 0:e.querySelector("video"))}registryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){var t,n;const l=e.pictureInPictureWindow;l&&(this.info.isActive$.next(!0),this.isRequested=!0,l.addEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(t,e))}onLeavePictureInPicture(e){var t,n,o;const r=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,r==null||r.removeEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(t,e),(o=this.playerDummyElement)===null||o===void 0||o.$destroy()}onResize(e){var t,n;(n=(t=this.externalEventHandlers).resize)===null||n===void 0||n.call(t,e)}}function Ho(i){return i instanceof Ul}function x2(i){const e=Et();return Yi(()=>{e.getAdmanWrapper().startPostroll()}),[]}class $2 extends Se{constructor(e){super(),ye(this,e,x2,null,_e,{})}}function e4(i){je(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 t4(i){let e=Z("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=De(e)},m(n,o){S(n,t,o)},p(n,o){o&3&&e!==(e=Z("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&ot(t,e)},d(n){n&&y(t)}}}function i4(i){let e,t=Z("skip_ads_now")+"",n,o,l,r,s,a;return{c(){e=k("div"),n=De(t),o=R(),l=I("svg"),r=I("path"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"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){S(c,e,f),d(e,n),d(e,o),d(e,l),d(l,r),s||(a=Ae(e,"click",ft(function(){Sn(i[2])&&i[2].apply(this,arguments)})),s=!0)},p(c,f){i=c},d(c){c&&y(e),s=!1,a()}}}function n4(i){let e;function t(l,r){return l[3]?i4:t4}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,r){S(l,e,r),o.m(e,null)},p(l,[r]){n===(n=t(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(e,null))),r&16&&V(e,"container-mobile",l[4]),r&8&&V(e,"skippable",l[3])},i:K,o:K,d(l){l&&y(e),o.d()}}}function o4(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:l=0}=e,{skipAd:r=le.noop}=e;const a=Et().ui.isMobile;j(i,a,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,r=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=o>0&&o>=l)},[o,l,r,c,n,a]}class l4 extends Se{constructor(e){super(),ye(this,e,o4,n4,_e,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},e4)}}function r4(i){je(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 s4(i){let e;return{c(){e=k("button"),e.textContent=`${Z("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){S(t,e,n)},p:K,i:K,o:K,d(t){t&&y(e)}}}class a4 extends Se{constructor(e){super(),ye(this,e,null,s4,_e,{},r4)}}function u4(i){je(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
+ "use strict";var Hf=Object.create;var Sl=Object.defineProperty;var Uf=Object.getOwnPropertyDescriptor;var qf=Object.getOwnPropertyNames;var jf=Object.getPrototypeOf,Wf=Object.prototype.hasOwnProperty;var Zf=(i,e,t)=>e in i?Sl(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Gf=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of qf(e))!Wf.call(i,o)&&o!==t&&Sl(i,o,{get:()=>e[o],enumerable:!(n=Uf(e,o))||n.enumerable});return i};var Mr=(i,e,t)=>(t=i!=null?Hf(jf(i)):{},Gf(e||!i||!i.__esModule?Sl(t,"default",{value:i,enumerable:!0}):t,i));var Cl=(i,e,t)=>(Zf(i,typeof e!="symbol"?e+"":e,t),t);var xe=require("@vkontakte/videoplayer-core/es2018.cjs.js"),ie=require("@vkontakte/videoplayer-shared/es2018.cjs.js"),kt=require("@vkontakte/videoplayer-statistics/es2018.cjs.js");function W(){}function a1(i,e){for(const t in e)i[t]=e[t];return i}function u1(i){return i()}function Br(){return Object.create(null)}function ot(i){i.forEach(u1)}function wn(i){return typeof i=="function"}function we(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Ko;function Nr(i,e){return Ko||(Ko=document.createElement("a")),Ko.href=e,i===Ko.href}function Kf(i){return Object.keys(i).length===0}function ii(i,...e){if(i==null){for(const n of e)n(void 0);return W}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Xe(i){let e;return ii(i,t=>e=t)(),e}function z(i,e,t){i.$$.on_destroy.push(ii(e,t))}function Ln(i,e,t,n){if(i){const o=c1(i,e,t,n);return i[0](o)}}function c1(i,e,t,n){return i[1]&&n?a1(t.ctx.slice(),i[1](n(e))):t.ctx}function In(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 r=[],l=Math.max(e.dirty.length,o.length);for(let s=0;s<l;s+=1)r[s]=e.dirty[s]|o[s];return r}return e.dirty|o}return e.dirty}function Vn(i,e,t,n,o,r){if(o){const l=c1(e,t,n,r);i.p(l,o)}}function Mn(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 Yf(i){return i==null?"":i}const f1=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(i,e){i.appendChild(e)}function qe(i,e,t){const n=Qf(i);if(!n.getElementById(e)){const o=T("style");o.id=e,o.textContent=t,Xf(n,o)}}function Qf(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Xf(i,e){return p(i.head||i,e),e.sheet}function E(i,e,t){i.insertBefore(e,t||null)}function P(i){i.parentNode&&i.parentNode.removeChild(i)}function yn(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function T(i){return document.createElement(i)}function B(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Fe(i){return document.createTextNode(i)}function N(){return Fe(" ")}function bt(){return Fe("")}function _e(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function oi(i){return function(e){return e.preventDefault(),i.call(this,e)}}function lt(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 Jf(i){return Array.from(i.childNodes)}function $e(i,e){e=""+e,i.data!==e&&(i.data=e)}function Nt(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let Yo;function xf(){if(Yo===void 0){Yo=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){Yo=!0}}return Yo}function lr(i,e){getComputedStyle(i).position==="static"&&(i.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=xf();let r;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=_e(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{r=_e(n.contentWindow,"resize",e),e()}),p(i,n),()=>{(o||r&&n.contentWindow)&&r(),P(n)}}function M(i,e,t){i.classList.toggle(e,!!t)}function Cn(i,e){return new i(e)}let Vo;function Io(i){Vo=i}function Bo(){if(!Vo)throw new Error("Function called outside component initialization");return Vo}function mn(i){Bo().$$.on_mount.push(i)}function ml(i){Bo().$$.on_destroy.push(i)}function Xl(i,e){return Bo().$$.context.set(i,e),e}function rr(i){return Bo().$$.context.get(i)}function d1(){return Bo().$$.context}function _o(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const po=[],Se=[];let go=[];const Jl=[],m1=Promise.resolve();let xl=!1;function p1(){xl||(xl=!0,m1.then(h1))}function pl(){return p1(),m1}function wo(i){go.push(i)}function je(i){Jl.push(i)}const Pl=new Set;let so=0;function h1(){if(so!==0)return;const i=Vo;do{try{for(;so<po.length;){const e=po[so];so++,Io(e),$f(e.$$)}}catch(e){throw po.length=0,so=0,e}for(Io(null),po.length=0,so=0;Se.length;)Se.pop()();for(let e=0;e<go.length;e+=1){const t=go[e];Pl.has(t)||(Pl.add(t),t())}go.length=0}while(po.length);for(;Jl.length;)Jl.pop()();xl=!1,Pl.clear(),Io(i)}function $f(i){if(i.fragment!==null){i.update(),ot(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(wo)}}function e0(i){const e=[],t=[];go.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),go=e}const sl=new Set;let jn;function he(){jn={r:0,c:[],p:jn}}function ve(){jn.r||ot(jn.c),jn=jn.p}function d(i,e){i&&i.i&&(sl.delete(i),i.i(e))}function g(i,e,t,n){if(i&&i.o){if(sl.has(i))return;sl.add(i),jn.c.push(()=>{sl.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function xt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function t0(i,e){const t={},n={},o={$$scope:1};let r=i.length;for(;r--;){const l=i[r],s=e[r];if(s){for(const a in l)a in s||(n[a]=1);for(const a in s)o[a]||(t[a]=s[a],o[a]=1);i[r]=s}else for(const a in l)o[a]=1}for(const l in n)l in t||(t[l]=void 0);return t}function i0(i){return typeof i=="object"&&i!==null?i:{}}function We(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function q(i){i&&i.c()}function F(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),wo(()=>{const r=i.$$.on_mount.map(u1).filter(wn);i.$$.on_destroy?i.$$.on_destroy.push(...r):ot(r),i.$$.on_mount=[]}),o.forEach(wo)}function H(i,e){const t=i.$$;t.fragment!==null&&(e0(t.after_update),ot(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function n0(i,e){i.$$.dirty[0]===-1&&(po.push(i),p1(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function ye(i,e,t,n,o,r,l,s=[-1]){const a=Vo;Io(i);const c=i.$$={fragment:null,ctx:[],props:r,update:W,not_equal:o,bound:Br(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:Br(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};l&&l(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(m,h,...b)=>{const v=b.length?b[0]:h;return c.ctx&&o(c.ctx[m],c.ctx[m]=v)&&(!c.skip_bound&&c.bound[m]&&c.bound[m](v),f&&n0(i,m)),h}):[],c.update(),f=!0,ot(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const m=Jf(e.target);c.fragment&&c.fragment.l(m),m.forEach(P)}else c.fragment&&c.fragment.c();e.intro&&d(i.$$.fragment),F(i,e.target,e.anchor),h1()}Io(a)}class ke{constructor(){Cl(this,"$$");Cl(this,"$$set")}$destroy(){H(this,1),this.$destroy=W}$on(e,t){if(!wn(t))return W;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&&!Kf(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const o0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(o0);var yo;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(yo||(yo={}));const l0={isMobile:void 0,defaultLanguage:ie.InterfaceLanguage.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:yo.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:ie.VideoQuality.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}},r0=i=>ie.fillWithDefault(i,l0),s0=i=>Xl("ui-config",i),pn=()=>rr("ui-config"),$l="vk_player_debug_panel_opened",v1=300,a0=100,u0="videoplayer",c0="videoplayer";var Ae;(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",i.Tab="Tab",i.Escape="Escape",i.Enter="Enter"})(Ae||(Ae={}));const No={[Ae.KeyF]:"f",[Ae.KeyK]:"k",[Ae.KeyC]:"c",[Ae.KeyM]:"m"},f0=new Set([Ae.ArrowLeft,Ae.ArrowRight,Ae.KeyL,Ae.KeyJ]),d0=new Set([Ae.Tab,Ae.Space,Ae.ArrowLeft,Ae.ArrowRight,Ae.ArrowUp,Ae.ArrowDown]),m0=new Set([Ae.ShiftRight,Ae.ShiftLeft]);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 Rr=40,g1=260,p0=60,Qo=8,b1=[ct.TIMELINE],al=[...b1,ct.GRAPH_BUTTON],Or=[...b1,ct.PLAY_BUTTON],_1=[...al,ct.PLAY_BUTTON];var ho;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(ho||(ho={}));exports.GridTypes=void 0;(function(i){i.XS="xs",i.S="s",i.M="m",i.L="l",i.XL="xl"})(exports.GridTypes||(exports.GridTypes={}));const ko={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},ao=[];function Sn(i,e){return{subscribe:Be(i,e).subscribe}}function Be(i,e=W){let t;const n=new Set;function o(s){if(we(i,s)&&(i=s,t)){const a=!ao.length;for(const c of n)c[1](),ao.push(c,i);if(a){for(let c=0;c<ao.length;c+=2)ao[c][0](ao[c+1]);ao.length=0}}}function r(s){o(s(i))}function l(s,a=W){const c=[s,a];return n.add(c),n.size===1&&(t=e(o,r)||W),s(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:r,subscribe:l}}function fi(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 r=e.length<2;return Sn(t,(l,s)=>{let a=!1;const c=[];let f=0,m=W;const h=()=>{if(f)return;m();const v=e(n?c[0]:c,l,s);r?l(v):m=wn(v)?v:W},b=o.map((v,y)=>ii(v,_=>{c[y]=_,f&=~(1<<y),a&&h()},()=>{f|=1<<y}));return a=!0,h(),function(){ot(b),m(),a=!1}})}const h0="prod",hl="1.1.35-dev.effe86bb.0",w1=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},y1=Symbol("storeContext"),k1=Symbol("microStoresContext"),v0=(i,e)=>{Xl(y1,i),Xl(k1,e)},Pt=()=>{const i=rr(y1);return ie.assertNonNullable(i,"Store context is empty!"),i},sr=()=>{const i=rr(k1);return ie.assertNonNullable(i,"MicroStores context is empty!"),i},St=(i,e)=>S1(i,i.getValue(),e),S1=(i,e,t)=>Sn(e,n=>{const o=i.subscribe(r=>{n(r),t==null||t(r)});return()=>o.unsubscribe()}),g0=(i,e,t)=>{var n,o,r,l;const s=i.info,{width:a,height:c}=Xe(t.ui.playerSize),f=(o=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&o!==void 0?o:0,m=(l=(r=s.rttEstimation$.getValue())===null||r===void 0?void 0:r.toFixed(0))!==null&&l!==void 0?l:0,h=s.isAutoQualityEnabled$.getValue()?"auto":"manual",b=`${hl} (core: ${xe.VERSION}, stat: ${kt.VERSION}, shared: ${ie.VERSION})`,v=Xe(t.state.errorLog$),y=v.length?`
7
+ `+v.map((k,w)=>{var R;const X=`${w}) Type: ${k.id}
8
+ `,V=`Message: ${k.message} (${k.thrown})
9
+ `,K=`Trace: ${(R=k.thrown)===null||R===void 0?void 0:R.stack}
10
+ `;return X+V+K}).join(`
11
+ `):void 0,_=t.state.isAudioDisabled?"disabled":Xe(t.state.isAudioAvailable$)?void 0:"unavailable",S={Version:b,Browser:navigator.userAgent,Config:i.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(t.videoId),"Content host":s.hostname$.getValue(),"Connection type":s.httpConnectionType$.getValue()+(s.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${m}ms RTT`,Format:s.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${h} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Audio:_,Position:`${Xe(t.state.positionExact$)}s`,State:`${Xe(t.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:y};return Object.entries(S).filter(([k,w])=>w!==void 0).map(([k,w])=>`${k}: ${w}`).join(`
12
+ `)},b0=(i,e,t)=>{const n=i.info,{width:o,height:r}=Xe(t.ui.playerSize),l={version:hl,viewport:`${o}x${r}`,volume:Math.round(Xe(t.state.volume$)*100)};l.id=t.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-Xe(t.state.positionExact$),0));const m=n.throughputEstimation$.getValue();m&&(l.speed=m);const h=n.videoBitrate$.getValue();return h&&(l.bitrate=h),l},_0=(i,e)=>w1(i,e,"mp4"),C1="vk_player_prefer_traffic_saving_enabled",P1="vk_player_preferred_volume",T1="vk_player_prefer_volume_mute",ar="vk_player_preferred_quality",E1=i=>i>1?1:i<0?0:i,Dr=i=>ie.safeStorage.set(P1,E1(i).toString(10)),A1=()=>{const i=ie.safeStorage.get(P1);return ie.isNullable(i)?void 0:E1(parseFloat(i))},w0=(i,e)=>ie.safeStorage.set(ar,JSON.stringify({videoId:i,value:e})),L1=()=>ie.safeStorage.remove(ar),y0=i=>{const e=ie.safeStorage.get(ar);if(ie.isNullable(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){L1();return}return n},I1=(i,e)=>{e?ie.safeStorage.set(i,"true"):ie.safeStorage.remove(i)},V1=i=>ie.safeStorage.get(i)==="true",Tl=i=>I1(T1,i),k0=()=>V1(T1),S0=i=>I1(C1,i),C0=()=>V1(C1);function P0(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),l=B("path"),s=B("path"),a=B("defs"),c=B("filter"),f=B("feFlood"),m=B("feColorMatrix"),h=B("feOffset"),b=B("feGaussianBlur"),v=B("feColorMatrix"),y=B("feBlend"),_=B("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(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"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(r,"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(s,"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(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(s,"stroke-linecap","round"),u(s,"stroke-linejoin","round"),u(t,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(m,"in","SourceAlpha"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(m,"result","hardAlpha"),u(b,"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(y,"in2","BackgroundImageFix"),u(y,"result","effect1_dropShadow_618_12297"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_618_12297"),u(_,"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",S=!i[0]||null),u(e,"aria-label",k=i[0]||null)},m(w,R){E(w,e,R),p(e,t),p(t,n),p(t,o),p(t,r),p(t,l),p(t,s),p(e,a),p(a,c),p(c,f),p(c,m),p(c,h),p(c,b),p(c,v),p(c,y),p(c,_)},p(w,[R]){R&1&&S!==(S=!w[0]||null)&&u(e,"aria-hidden",S),R&1&&k!==(k=w[0]||null)&&u(e,"aria-label",k)},i:W,o:W,d(w){w&&P(e)}}}function T0(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class M1 extends ke{constructor(e){super(),ye(this,e,T0,P0,we,{ariaLabel:0})}}var El=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function E0(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Xo=function(i){return i&&i.Math==Math&&i},Fn=Xo(typeof globalThis=="object"&&globalThis)||Xo(typeof window=="object"&&window)||Xo(typeof self=="object"&&self)||Xo(typeof El=="object"&&El)||function(){return this}()||El||Function("return this")(),Gn=function(i){try{return!!i()}catch(e){return!0}},A0=Gn,vl=!A0(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")}),L0=vl,B1=Function.prototype,zr=B1.apply,Fr=B1.call,I0=typeof Reflect=="object"&&Reflect.apply||(L0?Fr.bind(zr):function(){return Fr.apply(zr,arguments)}),N1=vl,R1=Function.prototype,er=R1.call,V0=N1&&R1.bind.bind(er,er),Hn=N1?V0:function(i){return function(){return er.apply(i,arguments)}},O1=Hn,M0=O1({}.toString),B0=O1("".slice),gl=function(i){return B0(M0(i),8,-1)},N0=gl,R0=Hn,D1=function(i){if(N0(i)==="Function")return R0(i)},tr=typeof document=="object"&&document.all,O0=typeof tr=="undefined"&&tr!==void 0,z1={all:tr,IS_HTMLDDA:O0},F1=z1,D0=F1.all,Bn=F1.IS_HTMLDDA?function(i){return typeof i=="function"||i===D0}:function(i){return typeof i=="function"},H1={},z0=Gn,Ro=!z0(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),F0=vl,Jo=Function.prototype.call,Oo=F0?Jo.bind(Jo):function(){return Jo.apply(Jo,arguments)},U1={},q1={}.propertyIsEnumerable,j1=Object.getOwnPropertyDescriptor,H0=j1&&!q1.call({1:2},1);U1.f=H0?function(e){var t=j1(this,e);return!!t&&t.enumerable}:q1;var W1=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}},U0=Hn,q0=Gn,j0=gl,Al=Object,W0=U0("".split),Z0=q0(function(){return!Al("z").propertyIsEnumerable(0)})?function(i){return j0(i)=="String"?W0(i,""):Al(i)}:Al,ur=function(i){return i==null},G0=ur,K0=TypeError,cr=function(i){if(G0(i))throw K0("Can't call method on "+i);return i},Y0=Z0,Q0=cr,X0=function(i){return Y0(Q0(i))},Hr=Bn,Z1=z1,J0=Z1.all,Do=Z1.IS_HTMLDDA?function(i){return typeof i=="object"?i!==null:Hr(i)||i===J0}:function(i){return typeof i=="object"?i!==null:Hr(i)},G1={},Ll=G1,Il=Fn,x0=Bn,Ur=function(i){return x0(i)?i:void 0},K1=function(i,e){return arguments.length<2?Ur(Ll[i])||Ur(Il[i]):Ll[i]&&Ll[i][e]||Il[i]&&Il[i][e]},$0=Hn,Y1=$0({}.isPrototypeOf),ed=typeof navigator!="undefined"&&String(navigator.userAgent)||"",Q1=Fn,Vl=ed,qr=Q1.process,jr=Q1.Deno,Wr=qr&&qr.versions||jr&&jr.version,Zr=Wr&&Wr.v8,_n,cl;Zr&&(_n=Zr.split("."),cl=_n[0]>0&&_n[0]<4?1:+(_n[0]+_n[1]));!cl&&Vl&&(_n=Vl.match(/Edge\/(\d+)/),(!_n||_n[1]>=74)&&(_n=Vl.match(/Chrome\/(\d+)/),_n&&(cl=+_n[1])));var td=cl,Gr=td,id=Gn,nd=Fn,od=nd.String,X1=!!Object.getOwnPropertySymbols&&!id(function(){var i=Symbol();return!od(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&Gr&&Gr<41}),ld=X1,J1=ld&&!Symbol.sham&&typeof Symbol.iterator=="symbol",rd=K1,sd=Bn,ad=Y1,ud=J1,cd=Object,x1=ud?function(i){return typeof i=="symbol"}:function(i){var e=rd("Symbol");return sd(e)&&ad(e.prototype,cd(i))},fd=String,dd=function(i){try{return fd(i)}catch(e){return"Object"}},md=Bn,pd=dd,hd=TypeError,$1=function(i){if(md(i))return i;throw hd(pd(i)+" is not a function")},vd=$1,gd=ur,ec=function(i,e){var t=i[e];return gd(t)?void 0:vd(t)},Ml=Oo,Bl=Bn,Nl=Do,bd=TypeError,_d=function(i,e){var t,n;if(e==="string"&&Bl(t=i.toString)&&!Nl(n=Ml(t,i))||Bl(t=i.valueOf)&&!Nl(n=Ml(t,i))||e!=="string"&&Bl(t=i.toString)&&!Nl(n=Ml(t,i)))return n;throw bd("Can't convert object to primitive value")},tc={exports:{}},Kr=Fn,wd=Object.defineProperty,yd=function(i,e){try{wd(Kr,i,{value:e,configurable:!0,writable:!0})}catch(t){Kr[i]=e}return e},kd=Fn,Sd=yd,Yr="__core-js_shared__",Cd=kd[Yr]||Sd(Yr,{}),Pd=Cd,Qr=Pd;(tc.exports=function(i,e){return Qr[i]||(Qr[i]=e!==void 0?e:{})})("versions",[]).push({version:"3.31.0",mode:"pure",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Td=tc.exports,Ed=cr,Ad=Object,ic=function(i){return Ad(Ed(i))},Ld=Hn,Id=ic,Vd=Ld({}.hasOwnProperty),bl=Object.hasOwn||function(e,t){return Vd(Id(e),t)},Md=Hn,Bd=0,Nd=Math.random(),Rd=Md(1 .toString),Od=function(i){return"Symbol("+(i===void 0?"":i)+")_"+Rd(++Bd+Nd,36)},Dd=Fn,zd=Td,Xr=bl,Fd=Od,Hd=X1,Ud=J1,vo=Dd.Symbol,Rl=zd("wks"),qd=Ud?vo.for||vo:vo&&vo.withoutSetter||Fd,zo=function(i){return Xr(Rl,i)||(Rl[i]=Hd&&Xr(vo,i)?vo[i]:qd("Symbol."+i)),Rl[i]},jd=Oo,Jr=Do,xr=x1,Wd=ec,Zd=_d,Gd=zo,Kd=TypeError,Yd=Gd("toPrimitive"),Qd=function(i,e){if(!Jr(i)||xr(i))return i;var t=Wd(i,Yd),n;if(t){if(e===void 0&&(e="default"),n=jd(t,i,e),!Jr(n)||xr(n))return n;throw Kd("Can't convert object to primitive value")}return e===void 0&&(e="number"),Zd(i,e)},Xd=Qd,Jd=x1,nc=function(i){var e=Xd(i,"string");return Jd(e)?e:e+""},xd=Fn,$r=Do,ir=xd.document,$d=$r(ir)&&$r(ir.createElement),e2=function(i){return $d?ir.createElement(i):{}},t2=Ro,i2=Gn,n2=e2,oc=!t2&&!i2(function(){return Object.defineProperty(n2("div"),"a",{get:function(){return 7}}).a!=7}),o2=Ro,l2=Oo,r2=U1,s2=W1,a2=X0,u2=nc,c2=bl,f2=oc,es=Object.getOwnPropertyDescriptor;H1.f=o2?es:function(e,t){if(e=a2(e),t=u2(t),f2)try{return es(e,t)}catch(n){}if(c2(e,t))return s2(!l2(r2.f,e,t),e[t])};var d2=Gn,m2=Bn,p2=/#|\.prototype\./,Fo=function(i,e){var t=v2[h2(i)];return t==b2?!0:t==g2?!1:m2(e)?d2(e):!!e},h2=Fo.normalize=function(i){return String(i).replace(p2,".").toLowerCase()},v2=Fo.data={},g2=Fo.NATIVE="N",b2=Fo.POLYFILL="P",_2=Fo,ts=D1,w2=$1,y2=vl,k2=ts(ts.bind),S2=function(i,e){return w2(i),e===void 0?i:y2?k2(i,e):function(){return i.apply(e,arguments)}},lc={},C2=Ro,P2=Gn,T2=C2&&P2(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),E2=Do,A2=String,L2=TypeError,rc=function(i){if(E2(i))return i;throw L2(A2(i)+" is not an object")},I2=Ro,V2=oc,M2=T2,xo=rc,is=nc,B2=TypeError,Ol=Object.defineProperty,N2=Object.getOwnPropertyDescriptor,Dl="enumerable",zl="configurable",Fl="writable";lc.f=I2?M2?function(e,t,n){if(xo(e),t=is(t),xo(n),typeof e=="function"&&t==="prototype"&&"value"in n&&Fl in n&&!n[Fl]){var o=N2(e,t);o&&o[Fl]&&(e[t]=n.value,n={configurable:zl in n?n[zl]:o[zl],enumerable:Dl in n?n[Dl]:o[Dl],writable:!1})}return Ol(e,t,n)}:Ol:function(e,t,n){if(xo(e),t=is(t),xo(n),V2)try{return Ol(e,t,n)}catch(o){}if("get"in n||"set"in n)throw B2("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var R2=Ro,O2=lc,D2=W1,z2=R2?function(i,e,t){return O2.f(i,e,D2(1,t))}:function(i,e,t){return i[e]=t,i},$o=Fn,F2=I0,H2=D1,U2=Bn,q2=H1.f,j2=_2,uo=G1,W2=S2,co=z2,ns=bl,Z2=function(i){var e=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new i;case 1:return new i(t);case 2:return new i(t,n)}return new i(t,n,o)}return F2(i,this,arguments)};return e.prototype=i.prototype,e},G2=function(i,e){var t=i.target,n=i.global,o=i.stat,r=i.proto,l=n?$o:o?$o[t]:($o[t]||{}).prototype,s=n?uo:uo[t]||co(uo,t,{})[t],a=s.prototype,c,f,m,h,b,v,y,_,S;for(h in e)c=j2(n?h:t+(o?".":"#")+h,i.forced),f=!c&&l&&ns(l,h),v=s[h],f&&(i.dontCallGetSet?(S=q2(l,h),y=S&&S.value):y=l[h]),b=f&&y?y:e[h],!(f&&typeof v==typeof b)&&(i.bind&&f?_=W2(b,$o):i.wrap&&f?_=Z2(b):r&&U2(b)?_=H2(b):_=b,(i.sham||b&&b.sham||v&&v.sham)&&co(_,"sham",!0),co(s,h,_),r&&(m=t+"Prototype",ns(uo,m)||co(uo,m,{}),co(uo[m],h,b),i.real&&a&&(c||!a[h])&&co(a,h,b)))},K2=Do,Y2=gl,Q2=zo,X2=Q2("match"),J2=function(i){var e;return K2(i)&&((e=i[X2])!==void 0?!!e:Y2(i)=="RegExp")},x2=zo,$2=x2("toStringTag"),sc={};sc[$2]="z";var em=String(sc)==="[object z]",tm=em,im=Bn,ul=gl,nm=zo,om=nm("toStringTag"),lm=Object,rm=ul(function(){return arguments}())=="Arguments",sm=function(i,e){try{return i[e]}catch(t){}},am=tm?ul:function(i){var e,t,n;return i===void 0?"Undefined":i===null?"Null":typeof(t=sm(e=lm(i),om))=="string"?t:rm?ul(e):(n=ul(e))=="Object"&&im(e.callee)?"Arguments":n},um=am,cm=String,fm=function(i){if(um(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return cm(i)},dm=rc,mm=function(){var i=dm(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e},pm=Oo,hm=bl,vm=Y1,gm=mm,os=RegExp.prototype,bm=function(i){var e=i.flags;return e===void 0&&!("flags"in os)&&!hm(i,"flags")&&vm(os,i)?pm(gm,i):e},fr=Hn,_m=ic,wm=Math.floor,Hl=fr("".charAt),ym=fr("".replace),Ul=fr("".slice),km=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Sm=/\$([$&'`]|\d{1,2})/g,Cm=function(i,e,t,n,o,r){var l=t+i.length,s=n.length,a=Sm;return o!==void 0&&(o=_m(o),a=km),ym(r,a,function(c,f){var m;switch(Hl(f,0)){case"$":return"$";case"&":return i;case"`":return Ul(e,0,t);case"'":return Ul(e,l);case"<":m=o[Ul(f,1,-1)];break;default:var h=+f;if(h===0)return c;if(h>s){var b=wm(h/10);return b===0?c:b<=s?n[b-1]===void 0?Hl(f,1):n[b-1]+Hl(f,1):c}m=n[h-1]}return m===void 0?"":m})},Pm=G2,Tm=Oo,dr=Hn,ls=cr,Em=Bn,Am=ur,Lm=J2,fo=fm,Im=ec,Vm=bm,Mm=Cm,Bm=zo,Nm=Bm("replace"),Rm=TypeError,ac=dr("".indexOf),Om=dr("".replace),rs=dr("".slice),Dm=Math.max,ss=function(i,e,t){return t>i.length?-1:e===""?t:ac(i,e,t)};Pm({target:"String",proto:!0},{replaceAll:function(e,t){var n=ls(this),o,r,l,s,a,c,f,m,h,b=0,v=0,y="";if(!Am(e)){if(o=Lm(e),o&&(r=fo(ls(Vm(e))),!~ac(r,"g")))throw Rm("`.replaceAll` does not allow non-global regexes");if(l=Im(e,Nm),l)return Tm(l,e,n,t);if(o)return Om(fo(n),e,t)}for(s=fo(n),a=fo(e),c=Em(t),c||(t=fo(t)),f=a.length,m=Dm(1,f),b=ss(s,a,0);b!==-1;)h=c?fo(t(a,b,s)):Mm(a,s,b,[],void 0,t),y+=rs(s,v,b)+h,v=b+f,b=ss(s,a,b+m);return v<s.length&&(y+=rs(s,v)),y}});var zm=K1,Fm=zm,Hm=Fm,Um=Hm("String","replaceAll"),qm=Um,jm=qm,Wm=jm,Zm=Wm,Gm=E0(Zm);const Km={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}"},Ym={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}"},Tn=new Map;Tn.set(ie.InterfaceLanguage.EN,Ym);Tn.set(ie.InterfaceLanguage.RU,Km);const uc=new Map,as=({language:i,pack:e,fallback:t})=>{if(Tn.has(i)){const n=Tn.get(i);Tn.set(i,{...n,...e})}else Tn.set(i,e);uc.set(i,t)},us=i=>Tn.has(i),cc=(i,e,t,n)=>{var o;const r=Tn.get(i);let l=r==null?void 0:r[e];if(ie.isNullable(l)){const s=(o=uc.get(i))!==null&&o!==void 0?o:n,a=s?Tn.get(s):void 0;l=a==null?void 0:a[e]}return ie.isNullable(l)?e+Object.values(t!=null?t:{}).join(" "):t?Gm(l,/{(\w+?)}/g,(s,a)=>{var c;return(c=t[a])!==null&&c!==void 0?c:""}):l},G=(i,e)=>{const{interfaceLanguage$:t}=Pt(),n=Xe(t),o=pn();return cc(n,i,e,o.defaultLanguage)};var fl;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(fl||(fl={}));const Qm=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Xm=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,Jm=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,el="?",xm="X-Sentry-Auth",$m=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function e4(i){if(!i.stack)return null;const e=[],t=i.stack.split(`
13
+ `);let n,o;for(let r=0;r<t.length;++r){if(n=Qm.exec(t[r]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||el,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=Jm.exec(t[r]))o={filename:n[2],function:n[1]||el,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=Xm.exec(t[r]))r===0&&!n[5]&&i.columnNumber!==void 0&&(e[0].column=i.columnNumber+1),o={filename:n[3],function:n[1]||el,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=el),e.push(o)}return e.length?{value:fc(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function fc(i){return(i&&i.message||"No error message").split(`
14
+ `).filter(t=>!!t)[0]}function t4(i){try{const e=e4(i);if(e)return e}catch(e){}return{value:fc(i),type:i&&i.name,stacktrace:{frames:[]}}}function i4(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class n4{constructor(e){if(e&&e.dsn){const t=$m.exec(e.dsn),n=t?t.slice(1):[],o=n[5].split("/"),r=o.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(r?"/"+r:"")+"/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:[t4(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(xm,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:i4(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function cs(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function o4(){return window}class mr extends n4{constructor(e,t=o4()){super(e),this.options=e,this.window=t,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:o=c=>c,beforeBreadcrumb:r=c=>c,blacklistUrls:l=[],ignoreErrors:s=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=r,this.blacklistUrls=l,this.ignoreErrors=s,this.release=a}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 mr({...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=>cs(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(t){return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const t=this.getEventFilterUrl(e);return t?this.blacklistUrls.some(n=>cs(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(t){return null}}extendState(e){this._state=Object.keys(e).reduce((t,n)=>{const o=this._state[n],r=Array.isArray(o)?o:null,l=e[n],s=Array.isArray(l)?l:null;return{...t,[n]:r||s?[...r||[],...s||[]]:{...typeof o!="string"?o:{},...typeof l!="string"?l:{}}}},this._state)}setKeyState(e,t){this._state[e]=t}}let tl=null;class nr{constructor(e,t,n={}){!tl&&e.dsn&&(this.sentryClient=new mr({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new ie.Subscription,this.options=e,this.context=n,tl=this)}destroy(){var e,t;(e=this.sentryClient)===null||e===void 0||e.destroy(),(t=this.sentrySubscription)===null||t===void 0||t.unsubscribe(),tl=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:r,options:l}=this,{sampleRate:s=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:m}=l,{errorType:h,category:b}=t;if(ie.isNonNullable(b)&&m.includes(b)||ie.isNonNullable(h)&&f.includes(h))return;if(Math.random()<=s||ie.isNonNullable(b)&&c.includes(b)||ie.isNonNullable(h)&&a.includes(h)){Object.keys(t).length&&o.setTags({version:this.version,...t}),(Object.keys(r).length||Object.keys(n).length)&&o.setExtras({...r,...n});try{h&&o.captureMessage(h,t.fatal?fl.fatal:fl.error),o.report(e)}catch(y){console.error(y)}}}static getInstance(){return tl}}var bo;(function(i){i.AUTO="auto"})(bo||(bo={}));var De;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(De||(De={}));var Pn;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(Pn||(Pn={}));var ni;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(ni||(ni={}));var En;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(En||(En={}));var Ye;(function(i){i.PLAY="PLAY",i.PAUSE="PAUSE",i.REPLAY="REPLAY",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"})(Ye||(Ye={}));var Wn;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(Wn||(Wn={}));const dc=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!=null&&e.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},mc=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),l4=i=>{const e=i;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},Mo=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},pc=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},hc=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},r4=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))},s4=()=>({title:G("hotkey_map_modal_title"),closeBtnText:G("hotkey_map_modal_close_btn_text"),groups:[{title:G("hotkey_map_group_title_common"),items:[{description:G("hotkey_map_item_mute_description"),value:G("hotkey_map_item_mute_value")},{description:G("hotkey_map_item_volume_up_description"),value:G("hotkey_map_item_volume_up_value")},{description:G("hotkey_map_item_volume_down_description"),value:G("hotkey_map_item_volume_down_value")},{description:G("hotkey_map_item_pip_description"),value:G("hotkey_map_item_pip_value")},{description:G("hotkey_map_item_full_screen_description"),value:G("hotkey_map_item_full_screen_value")},{description:G("hotkey_map_item_show_hotkey_map_description"),value:G("hotkey_map_item_show_hotkey_map_value")}]},{title:G("hotkey_map_group_title_playback"),items:[{description:G("hotkey_map_item_play_toggle_description"),value:G("hotkey_map_item_play_toggle_value")},{description:G("hotkey_map_item_seek_backward_description"),value:G("hotkey_map_item_seek_backward_value")},{description:G("hotkey_map_item_seek_forward_description"),value:G("hotkey_map_item_seek_forward_value")},{description:G("hotkey_map_item_fast_seek_backward_description"),value:G("hotkey_map_item_fast_seek_backward_value")},{description:G("hotkey_map_item_fast_seek_forward_description"),value:G("hotkey_map_item_fast_seek_forward_value")},{description:G("hotkey_map_item_rate_down_description"),value:G("hotkey_map_item_rate_down_value")},{description:G("hotkey_map_item_rate_up_description"),value:G("hotkey_map_item_rate_up_value")},{description:G("hotkey_map_item_prev_frame_description"),value:G("hotkey_map_item_prev_frame_value")},{description:G("hotkey_map_item_next_frame_description"),value:G("hotkey_map_item_next_frame_value")},{description:G("hotkey_map_item_jump_seek_description"),value:G("hotkey_map_item_jump_seek_value")}]},{title:G("hotkey_map_group_title_subtitles"),items:[{description:G("hotkey_map_item_subtitles_toggle_description"),value:G("hotkey_map_item_subtitles_toggle_value")}]},{title:G("hotkey_map_group_title_episodes"),items:[{description:G("hotkey_map_item_prev_episode_description"),value:ie.isMacLike()?G("hotkey_map_item_prev_episode_mac_value"):G("hotkey_map_item_prev_episode_pc_value")},{description:G("hotkey_map_item_next_episode_description"),value:ie.isMacLike()?G("hotkey_map_item_next_episode_mac_value"):G("hotkey_map_item_next_episode_pc_value")}]}]});class pr{constructor(){this.isRequested=!1,this.videoElement=void 0,this.playerContainer=void 0,this.externalEventHandlers={},this.eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:ie.debounceFn(this.onResize.bind(this),v1)},this.info={isActive$:new ie.ValueSubject(this.isActive()),type:En.PictureInPicture}}isSupported(){const e=ie.getCurrentBrowser().browser===ie.CurrentClientBrowser.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(){var e;if(!(!this.isSupported()||this.isActive()))try{await((e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture())}catch(t){this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){var e;this.isSupported()&&(this.videoElement=(e=this.playerContainer)===null||e===void 0?void 0:e.querySelector("video"))}registryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){var t,n;const r=e.pictureInPictureWindow;r&&(this.info.isActive$.next(!0),this.isRequested=!0,r.addEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(t,e))}onLeavePictureInPicture(e){var t,n,o;const l=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,l==null||l.removeEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(t,e),(o=this.playerDummyElement)===null||o===void 0||o.$destroy()}onResize(e){var t,n;(n=(t=this.externalEventHandlers).resize)===null||n===void 0||n.call(t,e)}}function dl(i){return i instanceof pr}function a4(i){const e=Pt();return mn(()=>{e.getAdmanWrapper().startPostroll()}),[]}class u4 extends ke{constructor(e){super(),ye(this,e,a4,null,we,{})}}function c4(i){qe(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 f4(i){let e=G("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=Fe(e)},m(n,o){E(n,t,o)},p(n,o){o&3&&e!==(e=G("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&$e(t,e)},d(n){n&&P(t)}}}function d4(i){let e,t=G("skip_ads_now")+"",n,o,r,l,s,a;return{c(){e=T("div"),n=Fe(t),o=N(),r=B("svg"),l=B("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(r,"class","icon v-22jj8o"),u(r,"width","7"),u(r,"height","12"),u(r,"viewBox","0 0 7 12"),u(r,"fill","none"),u(r,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){E(c,e,f),p(e,n),p(e,o),p(e,r),p(r,l),s||(a=_e(e,"click",lt(function(){wn(i[2])&&i[2].apply(this,arguments)})),s=!0)},p(c,f){i=c},d(c){c&&P(e),s=!1,a()}}}function m4(i){let e;function t(r,l){return r[3]?d4:f4}let n=t(i),o=n(i);return{c(){e=T("div"),o.c(),u(e,"class","container v-22jj8o"),M(e,"container-mobile",i[4]),M(e,"skippable",i[3])},m(r,l){E(r,e,l),o.m(e,null)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e,null))),l&16&&M(e,"container-mobile",r[4]),l&8&&M(e,"skippable",r[3])},i:W,o:W,d(r){r&&P(e),o.d()}}}function p4(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:r=0}=e,{skipAd:l=ie.noop}=e;const a=Pt().ui.isMobile;z(i,a,f=>t(4,n=f));let c;return i.$$set=f=>{"position"in f&&t(0,o=f.position),"secondsToWatchBeforeSkip"in f&&t(1,r=f.secondsToWatchBeforeSkip),"skipAd"in f&&t(2,l=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=o>0&&o>=r)},[o,r,l,c,n,a]}class h4 extends ke{constructor(e){super(),ye(this,e,p4,m4,we,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},c4)}}function v4(i){qe(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 g4(i){let e;return{c(){e=T("button"),e.textContent=`${G("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){E(t,e,n)},p:W,i:W,o:W,d(t){t&&P(e)}}}class b4 extends ke{constructor(e){super(),ye(this,e,null,g4,we,{},v4)}}function _4(i){qe(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(
15
15
  360deg,
16
16
  rgba(0, 0, 0, 0) 0%,
17
17
  rgba(0, 0, 0, 0.05) 12%,
@@ -21,15 +21,15 @@
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 Mr(i){let e;return{c(){e=k("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){S(t,e,n)},d(t){t&&y(e)}}}function Nr(i){let e,t;return e=new l4({props:{position:i[5],secondsToWatchBeforeSkip:i[6],skipAd:i[8].actions.internal.skipAd}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Rr(i){let e,t;return e=new $2({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Br(i){let e,t;return e=new a4({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function c4(i){let e,t,n,o,l,r,s,a=i[0]&&Mr(),c=i[3]&&Nr(i),f=i[7]&&Rr(),h=i[4]&&Br();return{c(){e=k("div"),a&&a.c(),t=R(),n=k("video"),o=R(),c&&c.c(),l=R(),f&&f.c(),r=R(),h&&h.c(),Ft(n,"width","100%"),Ft(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(p,b){S(p,e,b),a&&a.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,r),h&&h.m(e,null),i[20](e),s=!0},p(p,[b]){p[0]?a||(a=Mr(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),p[3]?c?(c.p(p,b),b&8&&m(c,1)):(c=Nr(p),c.c(),m(c,1),c.m(e,l)):c&&(he(),v(c,1,1,()=>{c=null}),pe()),p[7]?f?b&128&&m(f,1):(f=Rr(),f.c(),m(f,1),f.m(e,r)):f&&(he(),v(f,1,1,()=>{f=null}),pe()),p[4]?h?b&16&&m(h,1):(h=Br(),h.c(),m(h,1),h.m(e,null)):h&&(he(),v(h,1,1,()=>{h=null}),pe())},i(p){s||(m(c),m(f),m(h),s=!0)},o(p){v(c),v(f),v(h),s=!1},d(p){p&&y(e),a&&a.d(),i[19](null),c&&c.d(),f&&f.d(),h&&h.d(),i[20](null)}}}function f4(i,e,t){let n,o,l,r,s,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:h=0}=e;const p=Et(),b=p.state.isEnded$;j(i,b,X=>t(7,s=X));const g=p.ui.isMobile;j(i,g,X=>t(0,o=X));let _,L,E=!1;const w=p.ads.playbackState;j(i,w,X=>t(18,n=X));const P=p.ads.canSkip,B=p.ads.position;j(i,B,X=>t(5,l=X));const N=p.ads.secondsToWatchBeforeSkip;j(i,N,X=>t(6,r=X));let U,Y;Yi(()=>{const X=new AbortController;let ee=()=>{X.abort()};const T=p.getAdmanWrapper();if(!a){T.onAdmanLoadingError();return}const{width:te,height:fe}=it(p.ui.playerSize),A=it(p.ui.isFullscreen),oe=it(p.ui.isAutoplay),ae={width:te,height:fe,isFullscreen:A,isAutoplay:oe,adsContainer:_,adsVideoElement:L,slotId:a,params:c,previewParam:f,duration:h};return window.AdmanHTML?(T.initAdman(ae),E=!0):T.loadAdman(X.signal).then(()=>{T.initAdman(ae),E=!0}).catch(()=>{T.onAdmanLoadingError()}),()=>{!E&&ee()}});function W(X){We[X?"unshift":"push"](()=>{L=X,t(2,L)})}function ne(X){We[X?"unshift":"push"](()=>{_=X,t(1,_)})}return i.$$set=X=>{"adsSlotId"in X&&t(14,a=X.adsSlotId),"adsParams"in X&&t(15,c=X.adsParams),"adsPreviewParam"in X&&t(16,f=X.adsPreviewParam),"duration"in X&&t(17,h=X.duration)},i.$$.update=()=>{i.$$.dirty&262144&&t(3,U=P&&n!==Qt.INACTIVE),i.$$.dirty&262145&&t(4,Y=o&&n!==Qt.INACTIVE)},[o,_,L,U,Y,l,r,s,p,b,g,w,B,N,a,c,f,h,n,W,ne]}class Iu extends Se{constructor(e){super(),ye(this,e,f4,c4,_e,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},u4)}}function d4(i){je(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 m4(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){S(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 h4(i,e,t){let{showControls:n}=e,o;const r=Et().webApi.annotationsApi;Yi(()=>{if(r)return r.registryRootContainer(o),r.reattach(),()=>r.detach()});function s(a){We[a?"unshift":"push"](()=>{o=a,t(1,o)})}return i.$$set=a=>{"showControls"in a&&t(0,n=a.showControls)},[n,o,s]}class Mu extends Se{constructor(e){super(),ye(this,e,h4,m4,_e,{showControls:0},d4)}}const yn=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 p4(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){S(o,e,l),d(e,t),d(e,n)},d(o){o&&y(e)}}}function v4(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){S(o,e,l),d(e,t),d(e,n)},d(o){o&&y(e)}}}function g4(i){let e;function t(l,r){return l[0]?v4:p4}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,r){o.m(l,r),S(l,e,r)},p(l,[r]){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 b4(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class Nu extends Se{constructor(e){super(),ye(this,e,b4,g4,_e,{isActive:0})}}function _4(i){je(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 w4(i){let e=yn(i[4]-i[3])+"",t;return{c(){t=De(e)},m(n,o){S(n,t,o)},p(n,o){o&24&&e!==(e=yn(n[4]-n[3])+"")&&ot(t,e)},i:K,o:K,d(n){n&&y(t)}}}function k4(i){let e,t,n;return t=new Nu({props:{isActive:!0}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,l){S(o,e,l),z(t,e,null),n=!0},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function y4(i){let e,t,n,o,l,r,s;const a=[k4,w4],c=[];function f(h,p){return h[1]?0:1}return l=f(i),r=c[l]=a[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=R(),o=k("span"),r.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,p){S(h,e,p),d(e,t),d(e,n),d(e,o),c[l].m(o,null),s=!0},p(h,[p]){let b=l;l=f(h),l===b?c[l].p(h,p):(he(),v(c[b],1,1,()=>{c[b]=null}),pe(),r=c[l],r?r.p(h,p):(r=c[l]=a[l](h),r.c()),m(r,1),r.m(o,null)),(!s||p&2)&&V(e,"live",h[1]),(!s||p&1)&&V(e,"hidden",h[0]),(!s||p&4)&&V(e,"playing",h[2])},i(h){s||(m(r),s=!0)},o(h){v(r),s=!1},d(h){h&&y(e),c[l].d()}}}function S4(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:l=!1}=e,{position:r}=e,{duration:s}=e;return i.$$set=a=>{"isHidden"in a&&t(0,n=a.isHidden),"isLive"in a&&t(1,o=a.isLive),"isPlaying"in a&&t(2,l=a.isPlaying),"position"in a&&t(3,r=a.position),"duration"in a&&t(4,s=a.duration)},[n,o,l,r,s]}class Ru extends Se{constructor(e){super(),ye(this,e,S4,y4,_e,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},_4)}}const Nl=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 P4(i){je(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 C4(i){let e,t=Z("menu_copy_video_link")+"",n,o,l,r,s,a=!i[4]&&!i[16]&&Or(i);return{c(){e=k("li"),n=De(t),o=R(),a&&a.c(),l=bt(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Z("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){S(c,e,f),d(e,n),S(c,o,f),a&&a.m(c,f),S(c,l,f),r||(s=Ae(e,"click",ft(i[30])),r=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=Or(c),a.c(),a.m(l.parentNode,l)):a&&(a.d(1),a=null)},d(c){c&&(y(e),y(o),y(l)),a&&a.d(c),r=!1,s()}}}function Or(i){let e,t=Z("menu_copy_video_link_with_timestamp")+"",n,o,l;return{c(){e=k("li"),n=De(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Z("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(r,s){S(r,e,s),d(e,n),o||(l=Ae(e,"click",ft(i[31])),o=!0)},p:K,d(r){r&&y(e),o=!1,l()}}}function zr(i){let e,t=Z("menu_pip")+"",n,o,l;return{c(){e=k("li"),n=De(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Z("menu_pip")),u(e,"class","v-gew86s")},m(r,s){S(r,e,s),d(e,n),o||(l=Ae(e,"click",ft(i[21])),o=!0)},p:K,d(r){r&&y(e),o=!1,l()}}}function T4(i){let e,t=Z("menu_video_rotate")+"",n,o,l;return{c(){e=k("li"),n=De(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Z("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(r,s){S(r,e,s),d(e,n),o||(l=Ae(e,"click",ft(i[17])),o=!0)},p:K,d(r){r&&y(e),o=!1,l()}}}function Dr(i){let e,t=Z("menu_report")+"",n,o,l;return{c(){e=k("li"),n=De(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${Z("menu_report")}. ${Z("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(r,s){S(r,e,s),d(e,n),o||(l=Ae(e,"click",ft(i[18])),o=!0)},p:K,d(r){r&&y(e),o=!1,l()}}}function E4(i){var B;let e,t,n,o,l,r,s=(i[9].features.saveDebugInfoToFile?Z("menu_save_debug"):Z("menu_copy_debug"))+"",a,c,f,h=Z("menu_debug_overlay")+"",p,b,g,_,L=i[9].features.copyVideoLink&&((B=i[8].callbacks)==null?void 0:B.onCopyVideoLink)&&C4(i),E=i[11]&&i[5]!==nt.ChromecastState.CONNECTED&&!i[16]&&zr(i),w=i[9].features.videoRotate&&!i[16]&&T4(i),P=i[9].showSupport&&!i[6]&&Dr(i);return{c(){e=k("ul"),L&&L.c(),t=R(),E&&E.c(),n=R(),w&&w.c(),o=R(),P&&P.c(),l=R(),r=k("li"),a=De(s),c=R(),f=k("li"),p=De(h),u(r,"tabindex","0"),u(r,"role","menuitem"),u(r,"aria-label",i[9].features.saveDebugInfoToFile?Z("menu_save_debug"):Z("menu_copy_debug")),u(r,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",b=i[7]?Z("aria_label_menu_debug_overlay_disable"):Z("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),Ft(e,"top",i[2]+"px"),Ft(e,"left",i[1]+"px"),u(e,"class","v-gew86s"),V(e,"hidden",!i[0])},m(N,U){S(N,e,U),L&&L.m(e,null),d(e,t),E&&E.m(e,null),d(e,n),w&&w.m(e,null),d(e,o),P&&P.m(e,null),d(e,l),d(e,r),d(r,a),d(e,c),d(e,f),d(f,p),i[32](e),g||(_=[Ae(r,"click",ft(i[19])),Ae(f,"click",ft(i[20])),Ae(e,"contextmenu",wi(i[29]))],g=!0)},p(N,U){var Y;N[9].features.copyVideoLink&&((Y=N[8].callbacks)!=null&&Y.onCopyVideoLink)&&L.p(N,U),N[11]&&N[5]!==nt.ChromecastState.CONNECTED&&!N[16]?E?E.p(N,U):(E=zr(N),E.c(),E.m(e,n)):E&&(E.d(1),E=null),N[9].features.videoRotate&&!N[16]&&w.p(N,U),N[9].showSupport&&!N[6]?P?P.p(N,U):(P=Dr(N),P.c(),P.m(e,l)):P&&(P.d(1),P=null),U[0]&128&&b!==(b=N[7]?Z("aria_label_menu_debug_overlay_disable"):Z("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",b),U[0]&4&&Ft(e,"top",N[2]+"px"),U[0]&2&&Ft(e,"left",N[1]+"px"),U[0]&1&&V(e,"hidden",!N[0])},i:K,o:K,d(N){N&&y(e),L&&L.d(),E&&E.d(),w&&w.d(),P&&P.d(),i[32](null),g=!1,ni(_)}}}function A4(i,e,t){var G;let n,o,l,r,s,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:h=0}=e,{playerContainerRef:p=void 0}=e,{controlsContainerRef:b=void 0}=e,{returnFocus:g}=e,_=0,L=0;const E=Et(),w=Qi(),P=E.ui.contextMenuVisible,B=E.ui.debugPanelVisible;j(i,B,O=>t(7,s=O));const N=E.webApi.pictureInPictureApi,U=(G=E.webApi.pictureInPictureApi)==null?void 0:G.info.isActive$;j(i,U,O=>t(6,r=O));const Y=E.state.chromecastState$;j(i,Y,O=>t(5,l=O));const W=E.state.isLive$;j(i,W,O=>t(4,o=O));const ne=E.state.positionExact$;j(i,ne,O=>t(33,n=O));const X=E.state.isInteractive;let ee;const T=(O,ge)=>{if(!ee||!p||!b)return;const Q=ee.getBoundingClientRect(),M=p.getBoundingClientRect();t(1,_=O-M.left),t(2,L=ge-M.top),_+Q.width>M.width&&t(1,_=M.width-Q.width),L+Q.height>M.height&&t(2,L=M.height-Q.height),t(1,_=Math.max(_,0)),t(2,L=Math.max(L,0))},te=()=>{P.set(!1),E.actions.internal.videoRotate()},fe=()=>{window.open(c,"_blank"),P.set(!1),E.actions.internal.pause()},A=()=>{const O=E.actions.internal.getDebugTextData();if(w.features.saveDebugInfoToFile){const ge=new Blob([...O],{type:"plain/text"}),Q=window.URL.createObjectURL(ge);R1(Q,"vk_player_debug_info","txt")}else Nl(E.actions.internal.getDebugTextData());P.set(!1),g==null||g()},oe=()=>{B.set(!0),P.set(!1),g==null||g()},ae=async()=>{try{N!=null&&N.isActive()?await(N==null?void 0:N.remove()):await(N==null?void 0:N.request())}finally{P.set(!1),g==null||g()}},ke=(O=!1)=>{var ge,Q;if((ge=E.callbacks)!=null&&ge.onCopyVideoLink){const M=(Q=E.callbacks)==null?void 0:Q.onCopyVideoLink(O,n);M&&Nl(M)}P.set(!1)};function we(O){to.call(this,i,O)}const Ee=()=>ke(),Pe=()=>ke(!0);function H(O){We[O?"unshift":"push"](()=>{ee=O,t(3,ee)})}return i.$$set=O=>{"visible"in O&&t(0,a=O.visible),"supportLink"in O&&t(23,c=O.supportLink),"x"in O&&t(24,f=O.x),"y"in O&&t(25,h=O.y),"playerContainerRef"in O&&t(26,p=O.playerContainerRef),"controlsContainerRef"in O&&t(27,b=O.controlsContainerRef),"returnFocus"in O&&t(28,g=O.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&50331648&&T(f,h)},[a,_,L,ee,o,l,r,s,E,w,B,N,U,Y,W,ne,X,te,fe,A,oe,ae,ke,c,f,h,p,b,g,we,Ee,Pe,H]}class L4 extends Se{constructor(e){super(),ye(this,e,A4,E4,_e,{visible:0,supportLink:23,x:24,y:25,playerContainerRef:26,controlsContainerRef:27,returnFocus:28},P4,[-1,-1])}}class V4{constructor(e){this.value=e,this.next=null}}class gl{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new V4(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 I4(i){je(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function M4(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){S(n,e,o),d(e,t),i[3](t)},p:K,i:K,o:K,d(n){n&&y(e),i[3](null)}}}const bl=16,_l=120,Fr=60;function N4(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function R4(i,e,t){let{values:n=[]}=e,o,l;const r=_l/Fr;Yi(()=>{t(0,o.width=_l,o),t(0,o.height=bl,o),t(2,l=o.getContext("2d"))});function s(a){We[a?"unshift":"push"](()=>{o=a,t(0,o)})}return i.$$set=a=>{"values"in a&&t(1,n=a.values)},i.$$.update=()=>{if(i.$$.dirty&6&&l){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);l.clearRect(0,0,_l,bl);let c=Fr-1;for(let f=n.length-1;f>=0;f--){const h=c*r,p=a>0?bl*(n[f]/a):0;N4(l,h,0,r,p),c--}}},[o,n,l,s]}class ql extends Se{constructor(e){super(),ye(this,e,R4,M4,_e,{values:1},I4)}}function B4(i){je(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 Hr(i){let e,t,n,o,l=i[0].id+"",r;return{c(){e=k("div"),t=k("div"),t.textContent="Video id",n=R(),o=k("span"),r=De(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){S(s,e,a),d(e,t),d(e,n),d(e,o),d(o,r)},p(s,a){a&1&&l!==(l=s[0].id+"")&&ot(r,l)},d(s){s&&y(e)}}}function Ur(i){let e,t,n,o,l=i[0].provider+"",r;return{c(){e=k("div"),t=k("div"),t.textContent="Provider",n=R(),o=k("span"),r=De(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){S(s,e,a),d(e,t),d(e,n),d(e,o),d(o,r)},p(s,a){a&1&&l!==(l=s[0].provider+"")&&ot(r,l)},d(s){s&&y(e)}}}function qr(i){let e,t,n,o,l=i[0].viewport+"",r;return{c(){e=k("div"),t=k("div"),t.textContent="Viewport",n=R(),o=k("span"),r=De(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){S(s,e,a),d(e,t),d(e,n),d(e,o),d(o,r)},p(s,a){a&1&&l!==(l=s[0].viewport+"")&&ot(r,l)},d(s){s&&y(e)}}}function jr(i){let e,t,n,o,l=i[0].videoSize+"",r;return{c(){e=k("div"),t=k("div"),t.textContent="Video size",n=R(),o=k("span"),r=De(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){S(s,e,a),d(e,t),d(e,n),d(e,o),d(o,r)},p(s,a){a&1&&l!==(l=s[0].videoSize+"")&&ot(r,l)},d(s){s&&y(e)}}}function Wr(i){let e,t,n,o,l=i[0].cdn+"",r;return{c(){e=k("div"),t=k("div"),t.textContent="CDN host",n=R(),o=k("span"),r=De(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){S(s,e,a),d(e,t),d(e,n),d(e,o),d(o,r)},p(s,a){a&1&&l!==(l=s[0].cdn+"")&&ot(r,l)},d(s){s&&y(e)}}}function Zr(i){let e,t,n,o,l=i[0].volume+"",r,s;return{c(){e=k("div"),t=k("div"),t.textContent="Volume",n=R(),o=k("span"),r=De(l),s=De(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){S(a,e,c),d(e,t),d(e,n),d(e,o),d(o,r),d(o,s)},p(a,c){c&1&&l!==(l=a[0].volume+"")&&ot(r,l)},d(a){a&&y(e)}}}function Gr(i){let e,t,n,o,l=i[0].buffer.toFixed(2)+"",r,s;return{c(){e=k("div"),t=k("div"),t.textContent="Buffer",n=R(),o=k("span"),r=De(l),s=De(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){S(a,e,c),d(e,t),d(e,n),d(e,o),d(o,r),d(o,s)},p(a,c){c&1&&l!==(l=a[0].buffer.toFixed(2)+"")&&ot(r,l)},d(a){a&&y(e)}}}function Kr(i){let e,t,n,o,l,r,s=i[0].speed.toFixed(2)+"",a,c,f;return o=new ql({props:{values:i[5]}}),{c(){e=k("div"),t=k("div"),t.textContent="Network",n=R(),F(o.$$.fragment),l=R(),r=k("span"),a=De(s),c=De(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,p){S(h,e,p),d(e,t),d(e,n),z(o,e,null),d(e,l),d(e,r),d(r,a),d(r,c),f=!0},p(h,p){const b={};p&32&&(b.values=h[5]),o.$set(b),(!f||p&1)&&s!==(s=h[0].speed.toFixed(2)+"")&&ot(a,s)},i(h){f||(m(o.$$.fragment,h),f=!0)},o(h){v(o.$$.fragment,h),f=!1},d(h){h&&y(e),D(o)}}}function Yr(i){let e,t,n,o,l,r,s=i[0].bitrate.toFixed(2)+"",a,c,f;return o=new ql({props:{values:i[6]}}),{c(){e=k("div"),t=k("div"),t.textContent="V bitrate",n=R(),F(o.$$.fragment),l=R(),r=k("span"),a=De(s),c=De(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,p){S(h,e,p),d(e,t),d(e,n),z(o,e,null),d(e,l),d(e,r),d(r,a),d(r,c),f=!0},p(h,p){const b={};p&64&&(b.values=h[6]),o.$set(b),(!f||p&1)&&s!==(s=h[0].bitrate.toFixed(2)+"")&&ot(a,s)},i(h){f||(m(o.$$.fragment,h),f=!0)},o(h){v(o.$$.fragment,h),f=!1},d(h){h&&y(e),D(o)}}}function O4(i){let e,t,n,o,l,r,s,a,c=i[0].version+"",f,h,p,b,g,_,L,E,w,P,B,N,U,Y,W,ne,X,ee,T,te,fe,A,oe,ae,ke,we,Ee,Pe,H,G,O=i[0].id&&Hr(i),ge=i[0].provider&&Ur(i),Q=i[0].viewport&&qr(i),M=i[0].videoSize&&jr(i),J=i[0].cdn&&Wr(i),Me=i[0].volume&&Zr(i),Te=i[0].buffer&&Gr(i),Le=i[0].speed&&Kr(i),x=i[0].bitrate&&Yr(i);return ae=new ql({props:{values:i[4]}}),{c(){e=k("div"),t=k("button"),t.textContent="[x]",n=R(),o=k("div"),l=k("div"),r=k("div"),r.textContent="Version",s=R(),a=k("span"),f=De(c),h=R(),O&&O.c(),p=R(),ge&&ge.c(),b=R(),Q&&Q.c(),g=R(),M&&M.c(),_=R(),J&&J.c(),L=R(),Me&&Me.c(),E=R(),Te&&Te.c(),w=R(),P=k("div"),B=k("div"),B.textContent="Dropped",N=R(),U=k("span"),Y=De(i[2]),W=De(" / "),ne=De(i[1]),X=De(" frames"),ee=R(),Le&&Le.c(),T=R(),x&&x.c(),te=R(),fe=k("div"),A=k("div"),A.textContent="FPS",oe=R(),F(ae.$$.fragment),ke=R(),we=k("span"),Ee=De(i[3]),u(t,"class","close v-1gy2e68"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(r,"class","v-1gy2e68"),u(l,"class","v-1gy2e68"),u(B,"class","v-1gy2e68"),u(P,"class","v-1gy2e68"),u(A,"class","v-1gy2e68"),u(fe,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),V(e,"container-mobile",i[7])},m(ue,ve){S(ue,e,ve),d(e,t),d(e,n),d(e,o),d(o,l),d(l,r),d(l,s),d(l,a),d(a,f),d(o,h),O&&O.m(o,null),d(o,p),ge&&ge.m(o,null),d(o,b),Q&&Q.m(o,null),d(o,g),M&&M.m(o,null),d(o,_),J&&J.m(o,null),d(o,L),Me&&Me.m(o,null),d(o,E),Te&&Te.m(o,null),d(o,w),d(o,P),d(P,B),d(P,N),d(P,U),d(U,Y),d(U,W),d(U,ne),d(U,X),d(o,ee),Le&&Le.m(o,null),d(o,T),x&&x.m(o,null),d(o,te),d(o,fe),d(fe,A),d(fe,oe),z(ae,fe,null),d(fe,ke),d(fe,we),d(we,Ee),Pe=!0,H||(G=Ae(t,"click",ft(i[9])),H=!0)},p(ue,[ve]){(!Pe||ve&1)&&c!==(c=ue[0].version+"")&&ot(f,c),ue[0].id?O?O.p(ue,ve):(O=Hr(ue),O.c(),O.m(o,p)):O&&(O.d(1),O=null),ue[0].provider?ge?ge.p(ue,ve):(ge=Ur(ue),ge.c(),ge.m(o,b)):ge&&(ge.d(1),ge=null),ue[0].viewport?Q?Q.p(ue,ve):(Q=qr(ue),Q.c(),Q.m(o,g)):Q&&(Q.d(1),Q=null),ue[0].videoSize?M?M.p(ue,ve):(M=jr(ue),M.c(),M.m(o,_)):M&&(M.d(1),M=null),ue[0].cdn?J?J.p(ue,ve):(J=Wr(ue),J.c(),J.m(o,L)):J&&(J.d(1),J=null),ue[0].volume?Me?Me.p(ue,ve):(Me=Zr(ue),Me.c(),Me.m(o,E)):Me&&(Me.d(1),Me=null),ue[0].buffer?Te?Te.p(ue,ve):(Te=Gr(ue),Te.c(),Te.m(o,w)):Te&&(Te.d(1),Te=null),(!Pe||ve&4)&&ot(Y,ue[2]),(!Pe||ve&2)&&ot(ne,ue[1]),ue[0].speed?Le?(Le.p(ue,ve),ve&1&&m(Le,1)):(Le=Kr(ue),Le.c(),m(Le,1),Le.m(o,T)):Le&&(he(),v(Le,1,1,()=>{Le=null}),pe()),ue[0].bitrate?x?(x.p(ue,ve),ve&1&&m(x,1)):(x=Yr(ue),x.c(),m(x,1),x.m(o,te)):x&&(he(),v(x,1,1,()=>{x=null}),pe());const se={};ve&16&&(se.values=ue[4]),ae.$set(se),(!Pe||ve&8)&&ot(Ee,ue[3]),(!Pe||ve&128)&&V(e,"container-mobile",ue[7])},i(ue){Pe||(m(Le),m(x),m(ae.$$.fragment,ue),Pe=!0)},o(ue){v(Le),v(x),v(ae.$$.fragment,ue),Pe=!1},d(ue){ue&&y(e),O&&O.d(),ge&&ge.d(),Q&&Q.d(),M&&M.d(),J&&J.d(),Me&&Me.d(),Te&&Te.d(),Le&&Le.d(),x&&x.d(),D(ae),H=!1,G()}}}function z4(i,e,t){let n;const o=Et(),l=o.ui.debugPanelVisible,r=o.ui.isMobile;j(i,r,P=>t(7,n=P));const s=()=>{le.safeStorage.remove(Al),l.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,h=0,p=0;const b=new gl(60),g=new gl(60),_=new gl(60);let L=[],E=[],w=[];return Yi(()=>{le.safeStorage.set(Al,"true"),o.actions.internal.startLogging(),c&&(t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const P=window.setInterval(()=>{t(0,a=o.actions.internal.getDebugPanelData())},500);let B;return c&&(B=window.setInterval(()=>{if(c){t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames);const N=c.getVideoPlaybackQuality().totalVideoFrames;t(3,p=N-f),t(1,f=N),b.push(p),a.speed&&g.push(a.speed),a.bitrate&&_.push(a.bitrate),t(4,L=b.getValuesFromBottom()),t(5,E=g.getValuesFromBottom()),t(6,w=_.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(P),B&&clearInterval(B)}}),[a,f,h,p,L,E,w,n,r,s]}class Bu extends Se{constructor(e){super(),ye(this,e,z4,O4,_e,{},B4)}}function D4(i){je(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 F4(i){let e,t,n;return{c(){e=k("div"),u(e,"class","close v-1ome55p")},m(o,l){S(o,e,l),t||(n=Ae(e,"click",ft(i[0])),t=!0)},p:K,i:K,o:K,d(o){o&&y(e),t=!1,n()}}}function H4(i){function e(t){to.call(this,i,t)}return[e]}class U4 extends Se{constructor(e){super(),ye(this,e,H4,F4,_e,{},D4)}}function q4(i){je(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 j4(i){let e,t,n,o,l,r,s;return{c(){e=k("div"),t=k("canvas"),n=R(),o=I("svg"),l=I("g"),r=I("g"),s=I("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(s,"class","_play"),u(s,"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(s,"fill","#fff"),u(r,"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(a,c){S(a,e,c),d(e,t),i[2](t),d(e,n),d(e,o),d(o,l),d(l,r),d(r,s)},p:K,i:K,o:K,d(a){a&&y(e),i[2](null)}}}const W4=5e3;function Z4(i,e,t){let{onTimerEnded:n=le.noop}=e,o;Yi(()=>{let r;const s=o.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/W4;f<1?(s.clearRect(0,0,100,100),s.beginPath(),s.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),s.stroke(),r=requestAnimationFrame(c)):n()};return r=requestAnimationFrame(c),()=>{cancelAnimationFrame(r)}});function l(r){We[r?"unshift":"push"](()=>{o=r,t(0,o)})}return i.$$set=r=>{"onTimerEnded"in r&&t(1,n=r.onTimerEnded)},[o,n,l]}class G4 extends Se{constructor(e){super(),ye(this,e,Z4,j4,_e,{onTimerEnded:1},q4)}}function K4(i){je(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 Qr(i){let e,t;return e=new G4({props:{onTimerEnded:i[2]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Y4(i){let e,t,n,o,l,r,s,a,c,f,h,p,b,g,_,L,E,w,P,B,N;s=new U4({}),s.$on("click",i[4]);let U=i[3]&&Qr(i);return{c(){e=k("div"),t=R(),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",r=R(),F(s.$$.fragment),a=R(),c=k("div"),f=k("div"),h=k("div"),p=k("div"),b=R(),U&&U.c(),_=R(),L=k("div"),E=k("div"),w=De(i[0]),u(e,"class","overlay v-kisfwc"),u(l,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(p,"class","thumb-overlay v-kisfwc"),u(h,"class","thumb v-kisfwc"),u(h,"style",g=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(E,"class","title v-kisfwc"),u(L,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(Y,W){S(Y,e,W),S(Y,t,W),S(Y,n,W),d(n,o),d(o,l),d(o,r),z(s,o,null),d(n,a),d(n,c),d(c,f),d(f,h),d(h,p),d(h,b),U&&U.m(h,null),d(c,_),d(c,L),d(L,E),d(E,w),P=!0,B||(N=Ae(c,"click",function(){Sn(i[2])&&i[2].apply(this,arguments)}),B=!0)},p(Y,[W]){i=Y,i[3]?U?(U.p(i,W),W&8&&m(U,1)):(U=Qr(i),U.c(),m(U,1),U.m(h,null)):U&&(he(),v(U,1,1,()=>{U=null}),pe()),(!P||W&2&&g!==(g=`background-image: url('${i[1]}')`))&&u(h,"style",g),(!P||W&1)&&ot(w,i[0])},i(Y){P||(m(s.$$.fragment,Y),m(U),P=!0)},o(Y){v(s.$$.fragment,Y),v(U),P=!1},d(Y){Y&&(y(e),y(t),y(n)),D(s),U&&U.d(),B=!1,N()}}}function Q4(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:l}=e,r=!0;const s=()=>t(3,r=!1);return i.$$set=a=>{"title"in a&&t(0,n=a.title),"thumb"in a&&t(1,o=a.thumb),"playNextVideo"in a&&t(2,l=a.playNextVideo)},[n,o,l,r,s]}class X4 extends Se{constructor(e){super(),ye(this,e,Q4,Y4,_e,{title:0,thumb:1,playNextVideo:2},K4)}}const Ou=(i,e)=>Math.min(+(i+e).toFixed(2),1),zu=(i,e)=>Math.max(+(i-e).toFixed(2),0),Du=(i,e,t)=>{const n=Ou(e,t);e<1&&i.actions.internal.setVolume(n)},Fu=(i,e,t)=>{const n=zu(e,t);e>0&&i.actions.internal.setVolume(n)};function J4(i){je(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function x4(i){let e,t,n,o;const l=i[21].default,r=Pn(l,i,i[20],null);return{c(){e=k("div"),r&&r.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(s,a){S(s,e,a),r&&r.m(e,null),i[22](e),t=!0,n||(o=[Ae(e,"keyup",i[12]),Ae(e,"keydown",i[11])],n=!0)},p(s,a){r&&r.p&&(!t||a[0]&1048576)&&Tn(r,l,s,s[20],t?Cn(l,s[20],a,null):En(s[20]),null)},i(s){t||(m(r,s),t=!0)},o(s){v(r,s),t=!1},d(s){s&&y(e),r&&r.d(s),i[22](null),n=!1,ni(o)}}}function $4(i,e,t){let n,o,l,r,s,a,c,f,h,p,{$$slots:b={},$$scope:g}=e,{isAds:_}=e,{hideContextMenu:L}=e,{toggleFullscreen:E}=e,{showHotKeyHelpers:w}=e,{showKeyMap:P}=e,{fakePlayButtonHandler:B}=e;const N=Et(),U=Qi(),Y=N.getLogger().createComponentLog("KeyboardControls component"),W=N.state.playbackState$;j(i,W,Q=>t(26,o=Q));const ne=N.ads.playbackState;j(i,ne,Q=>t(25,n=Q));const X=N.state.positionExact$;j(i,X,Q=>t(31,c=Q));const ee=N.state.duration$;j(i,ee,Q=>t(30,a=Q));const T=N.state.volume$;j(i,T,Q=>t(34,p=Q));const te=N.ui.controls.disabledControls$;j(i,te,Q=>t(29,s=Q));const fe=N.state.muted$;j(i,fe,Q=>t(28,r=Q));const A=N.state.currentSubtitle$;j(i,A,Q=>t(27,l=Q));const oe=N.state.currentPlaybackRate$;j(i,oe,Q=>t(32,f=Q));const ae=N.state.availablePlaybackRates$;j(i,ae,Q=>t(33,h=Q));let ke=0,we=!0,Ee;const Pe=()=>Ee==null?void 0:Ee.focus(),H=Q=>(Q!==we&&(we=Q,ke=0),ke+=1,(U.controls.seekStepKeyboard+U.controls.seekStepKeyboard*ke)/1e3),G=Q=>{L();const M=Q.code,J=!t0.has(M);if(Q.ctrlKey&&J||Q.altKey&&J||Q.metaKey)return;const Me=o===nt.PlaybackState.PLAYING||o===nt.PlaybackState.PAUSED,Te=_&&(n===Qt.PAUSED||n===Qt.PLAYING),Le=!Te&&!s.has(vt.TIMELINE);if(Me||Te)switch(Y({message:`key down, code: ${M}`}),M){case qe.KeyJ:case qe.ArrowLeft:{if(!Le)break;if(Q.ctrlKey||Q.altKey){const x=N.actions.internal.getPrevEpisode();N.actions.internal.seekToPrevEpisode(x),x&&w({type:Qe.EPISODE_PREV,text:x.text}),Q.preventDefault()}else{const x=Q.shiftKey?H(!1):U.controls.seekStepKeyboard/1e3,ue=Math.max(c-x,0);c>0&&(N.actions.internal.seekTime(ue,wt.SeekAction.DOUBLE_TAP),w({type:Qe.BACKWARD_SEEK,text:x.toString()}),Q.preventDefault())}break}case qe.KeyL:case qe.ArrowRight:{if(!Le)break;if(Q.ctrlKey||Q.altKey){const x=N.actions.internal.getNextEpisode();N.actions.internal.seekToNextEpisode(x),x&&w({type:Qe.EPISODE_NEXT,text:x.text}),Q.preventDefault()}else{const x=Q.shiftKey?H(!0):U.controls.seekStepKeyboard/1e3,ue=Math.min(c+x,a);Math.round(c)<Math.round(a)&&(N.actions.internal.seekTime(ue,wt.SeekAction.DOUBLE_TAP),w({type:Qe.FORWARD_SEEK,text:x.toString()}),Q.preventDefault())}break}case qe.ArrowUp:{const x=p,ue=U.controls.volumeStepKeyboard,ve=x<=1;if(Du(N,x,ue),ve){const se=Math.round(Ou(x,ue)*100).toString();w({type:Qe.VOLUME,t:{key:"hotkey_helper_current_volume",value:se}})}Q.preventDefault();break}case qe.ArrowDown:{const x=p,ue=U.controls.volumeStepKeyboard,ve=x>=0;if(Fu(N,x,ue),ve){const se=Math.round(zu(x,ue)*100).toString();w({type:Qe.VOLUME,t:{key:"hotkey_helper_current_volume",value:se}})}Q.preventDefault();break}case qe.Comma:{if(Q.shiftKey){N.actions.internal.decrementPlaybackRate();const x=h.find(ue=>ue.value===f);w({type:Qe.RATE_DOWN,text:x==null?void 0:x.displayValue}),Q.preventDefault()}else{if(Te||o!==nt.PlaybackState.PAUSED)break;const x=Math.max(c-U.controls.seekStepFrame/1e3,0);c>0&&(w({type:Qe.BACKWARD_SEEK}),N.actions.internal.clearDelayedBufferingCheckTimeout(),N.actions.internal.seekTime(x,wt.SeekAction.DOUBLE_TAP),Q.preventDefault())}break}case qe.Period:{if(Q.shiftKey){N.actions.internal.incrementPlaybackRate();const x=h.find(ue=>ue.value===f);w({type:Qe.RATE_UP,text:x==null?void 0:x.displayValue}),Q.preventDefault()}else{if(Te||o!==nt.PlaybackState.PAUSED)break;const x=Math.min(c+U.controls.seekStepFrame/1e3,a);c<a&&(w({type:Qe.FORWARD_SEEK}),N.actions.internal.clearDelayedBufferingCheckTimeout(),N.actions.internal.seekTime(x,wt.SeekAction.DOUBLE_TAP),Q.preventDefault())}break}case qe.KeyK:case qe.Space:s.has(vt.PLAY_BUTTON)||(B?B():(N.actions.internal.togglePlay(),w({type:o===nt.PlaybackState.PLAYING?Qe.PLAY:Qe.STOP}))),Q.preventDefault();break;case qe.KeyM:{w({type:r?Qe.VOLUME:Qe.MUTE}),N.actions.internal.toggleMuted(),Q.preventDefault();break}case qe.KeyF:E(),Q.preventDefault();break;case qe.KeyC:N.actions.internal.toggleSubtitle(),l.value!=="off"?w({type:Qe.SUBTITLES_ON,text:l==null?void 0:l.displayValue}):w({type:Qe.SUBTITLES_OFF}),Q.preventDefault();break;case qe.KeyI:N.actions.internal.togglePictureInPicture(),Q.preventDefault();break;case qe.Digit1:case qe.Numpad1:w(),N.actions.internal.seekToPercent(.1,wt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit2:case qe.Numpad2:w(),N.actions.internal.seekToPercent(.2,wt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit3:case qe.Numpad3:w(),N.actions.internal.seekToPercent(.3,wt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit4:case qe.Numpad4:w(),N.actions.internal.seekToPercent(.4,wt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit5:case qe.Numpad5:w(),N.actions.internal.seekToPercent(.5,wt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit6:case qe.Numpad6:w(),N.actions.internal.seekToPercent(.6,wt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit7:case qe.Numpad7:w(),N.actions.internal.seekToPercent(.7,wt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit8:case qe.Numpad8:w(),N.actions.internal.seekToPercent(.8,wt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit9:case qe.Numpad9:w(),N.actions.internal.seekToPercent(.9,wt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit0:case qe.Numpad0:w(),N.actions.internal.seekToPercent(0,wt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Slash:{Q.shiftKey&&U.features.hotKeyMapModal&&(P(),Q.preventDefault());break}case qe.ShiftLeft:case qe.ShiftRight:Q.preventDefault();break;default:le.checkNever(M);break}},O=Q=>{const M=Q.code;if(Q.ctrlKey||Q.altKey||Q.metaKey)return;const J=o===nt.PlaybackState.PLAYING||o===nt.PlaybackState.PAUSED,Me=_&&(n===Qt.PAUSED||n===Qt.PLAYING);if(J||Me)switch(M){case qe.ShiftLeft:case qe.ShiftRight:ke=0;break}};function ge(Q){We[Q?"unshift":"push"](()=>{Ee=Q,t(0,Ee)})}return i.$$set=Q=>{"isAds"in Q&&t(13,_=Q.isAds),"hideContextMenu"in Q&&t(14,L=Q.hideContextMenu),"toggleFullscreen"in Q&&t(15,E=Q.toggleFullscreen),"showHotKeyHelpers"in Q&&t(16,w=Q.showHotKeyHelpers),"showKeyMap"in Q&&t(17,P=Q.showKeyMap),"fakePlayButtonHandler"in Q&&t(18,B=Q.fakePlayButtonHandler),"$$scope"in Q&&t(20,g=Q.$$scope)},[Ee,W,ne,X,ee,T,te,fe,A,oe,ae,G,O,_,L,E,w,P,B,Pe,g,b,ge]}class em extends Se{constructor(e){super(),ye(this,e,$4,x4,_e,{isAds:13,hideContextMenu:14,toggleFullscreen:15,showHotKeyHelpers:16,showKeyMap:17,fakePlayButtonHandler:18,focus:19},J4,[-1,-1])}get focus(){return this.$$.ctx[19]}}function tm(i){je(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 im(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){S(t,e,n)},p:K,i:K,o:K,d(t){t&&y(e)}}}class Hu extends Se{constructor(e){super(),ye(this,e,null,im,_e,{},tm)}}function nm(i){let e,t,n,o,l,r,s,a,c,f,h,p,b;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),r=I("filter"),s=I("feFlood"),a=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),p=I("feBlend"),b=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(s,"flood-opacity","0"),u(s,"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(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(p,"in2","BackgroundImageFix"),u(p,"result","effect1_dropShadow_2422_111980"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2422_111980"),u(b,"result","shape"),u(r,"id","a"),u(r,"x",".5"),u(r,"y",".5"),u(r,"width","23"),u(r,"height","23"),u(r,"filterUnits","userSpaceOnUse"),u(r,"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(g,_){S(g,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,r),d(r,s),d(r,a),d(r,c),d(r,f),d(r,h),d(r,p),d(r,b)},p:K,i:K,o:K,d(g){g&&y(e)}}}class om extends Se{constructor(e){super(),ye(this,e,null,nm,_e,{})}}function lm(i){je(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 rm(i){let e,t,n,o,l,r,s,a,c,f,h;const p=i[9].default,b=Pn(p,i,i[8],null);return{c(){var g,_,L,E,w;e=k("button"),b&&b.c(),u(e,"class",t="btn "+i[0]+" v-1anemql"),u(e,"style",n=i[1]||null),e.disabled=o=(g=i[2])!=null?g:null,u(e,"aria-hidden",l=(_=i[4])!=null?_:null),u(e,"aria-label",r=(L=i[5])!=null?L:null),u(e,"aria-keyshortcuts",s=(E=i[6])!=null?E:null),u(e,"data-testid",a=(w=i[3])!=null?w:null)},m(g,_){S(g,e,_),b&&b.m(e,null),c=!0,f||(h=[Ae(e,"pointerdown",ft(wi(i[10]))),Ae(e,"click",ft(wi(function(){Sn(i[7])&&i[7].apply(this,arguments)})))],f=!0)},p(g,[_]){var L,E,w,P,B;i=g,b&&b.p&&(!c||_&256)&&Tn(b,p,i,i[8],c?Cn(p,i[8],_,null):En(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=(L=i[2])!=null?L:null))&&(e.disabled=o),(!c||_&16&&l!==(l=(E=i[4])!=null?E:null))&&u(e,"aria-hidden",l),(!c||_&32&&r!==(r=(w=i[5])!=null?w:null))&&u(e,"aria-label",r),(!c||_&64&&s!==(s=(P=i[6])!=null?P:null))&&u(e,"aria-keyshortcuts",s),(!c||_&8&&a!==(a=(B=i[3])!=null?B:null))&&u(e,"data-testid",a)},i(g){c||(m(b,g),c=!0)},o(g){v(b,g),c=!1},d(g){g&&y(e),b&&b.d(g),f=!1,ni(h)}}}function sm(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:l=""}=e,{style:r=""}=e,{disabled:s=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{click:p=le.noop}=e;function b(g){to.call(this,i,g)}return i.$$set=g=>{"className"in g&&t(0,l=g.className),"style"in g&&t(1,r=g.style),"disabled"in g&&t(2,s=g.disabled),"testId"in g&&t(3,a=g.testId),"ariaHidden"in g&&t(4,c=g.ariaHidden),"ariaLabel"in g&&t(5,f=g.ariaLabel),"ariaKeyShortCut"in g&&t(6,h=g.ariaKeyShortCut),"click"in g&&t(7,p=g.click),"$$scope"in g&&t(8,o=g.$$scope)},[l,r,s,a,c,f,h,p,o,n,b]}class ki extends Se{constructor(e){super(),ye(this,e,sm,rm,_e,{className:0,style:1,disabled:2,testId:3,ariaHidden:4,ariaLabel:5,ariaKeyShortCut:6,click:7},lm)}}function am(i){je(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 Xr(i){let e,t,n,o,l,r=i[2]&&Jr(i);return{c(){e=k("div"),t=k("h3"),n=De(i[3]),o=R(),r&&r.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){S(s,e,a),d(e,t),d(t,n),d(e,o),r&&r.m(e,null),l=!0},p(s,a){(!l||a&8)&&ot(n,s[3]),s[2]?r?(r.p(s,a),a&4&&m(r,1)):(r=Jr(s),r.c(),m(r,1),r.m(e,null)):r&&(he(),v(r,1,1,()=>{r=null}),pe())},i(s){l||(m(r),l=!0)},o(s){v(r),l=!1},d(s){s&&y(e),r&&r.d()}}}function Jr(i){let e,t;return e=new ki({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:Z("hotkey_map_modal_close_btn_text"),$$slots:{default:[um]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function um(i){let e,t;return e=new om({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function cm(i){let e,t,n,o,l,r,s=i[1]&&Xr(i);const a=i[4].default,c=Pn(a,i,i[5],null);return{c(){e=k("div"),t=k("div"),s&&s.c(),n=R(),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){S(f,e,h),d(e,t),s&&s.m(t,null),d(t,n),d(t,o),d(o,l),c&&c.m(l,null),r=!0},p(f,[h]){f[1]?s?(s.p(f,h),h&2&&m(s,1)):(s=Xr(f),s.c(),m(s,1),s.m(t,n)):s&&(he(),v(s,1,1,()=>{s=null}),pe()),c&&c.p&&(!r||h&32)&&Tn(c,a,f,f[5],r?Cn(a,f[5],h,null):En(f[5]),null)},i(f){r||(m(s),m(c,f),r=!0)},o(f){v(s),v(c,f),r=!1},d(f){f&&y(e),s&&s.d(),c&&c.d(f)}}}function fm(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:l}=e,{showHeader:r=!0}=e,{showCloseCross:s=!0}=e,{title:a}=e;return i.$$set=c=>{"onClose"in c&&t(0,l=c.onClose),"showHeader"in c&&t(1,r=c.showHeader),"showCloseCross"in c&&t(2,s=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[l,r,s,a,n,o]}class dm extends Se{constructor(e){super(),ye(this,e,fm,cm,_e,{onClose:0,showHeader:1,showCloseCross:2,title:3},am)}}const mm=new Set(["BR"]),xr=i=>{var e;const t=document.createElement("DIV");t.innerHTML=i;const n=t.querySelectorAll("*");let o=n.length;for(;o--;){const l=n[o],r=l.tagName;mm.has(r)||(e=l.parentElement)===null||e===void 0||e.removeChild(l)}return t.innerHTML};function hm(i){je(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 $r(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function es(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function ts(i){let e,t,n=xr(i[9])+"",o,l,r=i[10]+"",s,a;return{c(){e=k("li"),t=k("span"),o=R(),l=k("span"),s=De(r),a=R(),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){S(c,e,f),d(e,t),t.innerHTML=n,d(e,o),d(e,l),d(l,s),d(e,a)},p(c,f){f&1&&n!==(n=xr(c[9])+"")&&(t.innerHTML=n),f&1&&r!==(r=c[10]+"")&&ot(s,r)},d(c){c&&y(e)}}}function is(i){let e,t,n=i[5]+"",o,l,r,s,a=Zt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=ts(es(i,a,f));return{c(){e=k("div"),t=k("h5"),o=De(n),l=R(),r=k("ul");for(let f=0;f<c.length;f+=1)c[f].c();s=R(),u(t,"class","hot-key-map-group-title v-quklnq"),u(r,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,h){S(f,e,h),d(e,t),d(t,o),d(e,l),d(e,r);for(let p=0;p<c.length;p+=1)c[p]&&c[p].m(r,null);d(e,s)},p(f,h){if(h&1&&n!==(n=f[5]+"")&&ot(o,n),h&1){a=Zt(f[6]);let p;for(p=0;p<a.length;p+=1){const b=es(f,a,p);c[p]?c[p].p(b,h):(c[p]=ts(b),c[p].c(),c[p].m(r,null))}for(;p<c.length;p+=1)c[p].d(1);c.length=a.length}},d(f){f&&y(e),rn(c,f)}}}function pm(i){let e,t=Zt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=is($r(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){S(o,e,l);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(e,null)},p(o,l){if(l&1){t=Zt(o[0].groups);let r;for(r=0;r<t.length;r+=1){const s=$r(o,t,r);n[r]?n[r].p(s,l):(n[r]=is(s),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(o){o&&y(e),rn(n,o)}}}function vm(i){let e,t;return e=new dm({props:{title:i[0].title,onClose:i[2],$$slots:{default:[pm]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function gm(i,e,t){let n;const o=Et(),{data:l,show:r}=o.ui.modals.hotKeyMap;return j(i,l,a=>t(0,n=a)),[n,l,()=>{r.set(!1)}]}class bm extends Se{constructor(e){super(),ye(this,e,gm,vm,_e,{},hm)}}function _m(i){je(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 wm(i){let e,t;const n=i[1].default,o=Pn(n,i,i[0],null);return{c(){e=k("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(l,r){S(l,e,r),o&&o.m(e,null),t=!0},p(l,[r]){o&&o.p&&(!t||r&1)&&Tn(o,n,l,l[0],t?Cn(n,l[0],r,null):En(l[0]),null)},i(l){t||(m(o,l),t=!0)},o(l){v(o,l),t=!1},d(l){l&&y(e),o&&o.d(l)}}}function km(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=l=>{"$$scope"in l&&t(0,o=l.$$scope)},[o,n]}class ym extends Se{constructor(e){super(),ye(this,e,km,wm,_e,{},_m)}}function Sm(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){S(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class Pm extends Se{constructor(e){super(),ye(this,e,null,Sm,_e,{})}}function Cm(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){S(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class Tm extends Se{constructor(e){super(),ye(this,e,null,Cm,_e,{})}}function Em(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Am extends Se{constructor(e){super(),ye(this,e,null,Em,_e,{})}}function Lm(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Uu extends Se{constructor(e){super(),ye(this,e,null,Lm,_e,{})}}function Vm(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){S(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class qu extends Se{constructor(e){super(),ye(this,e,null,Vm,_e,{})}}const oo=i=>{switch(i){case nt.VideoQuality.Q_720P:return Am;case nt.VideoQuality.Q_1080P:return Uu;case nt.VideoQuality.Q_1440P:return qu;case nt.VideoQuality.Q_2160P:return Pm;case nt.VideoQuality.Q_4320P:return Tm}};function Im(i){je(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 Mm(i){let e,t,n,o,l,r,s=i[1]&&ns(i);return{c(){e=k("div"),s&&s.c(),t=R(),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(a,c){S(a,e,c),s&&s.m(e,null),d(e,t),d(e,n),d(n,o),d(n,l),r=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&m(s,1)):(s=ns(a),s.c(),m(s,1),s.m(e,t)):s&&(he(),v(s,1,1,()=>{s=null}),pe()),(!r||c&2)&&V(l,"hidden",!!a[1]),(!r||c&4)&&V(e,"triple",a[2])},i(a){r||(m(s),r=!0)},o(a){v(s),r=!1},d(a){a&&y(e),s&&s.d()}}}function Nm(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}function ns(i){let e,t;return e=new ym({props:{$$slots:{default:[Rm]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Rm(i){let e,t,n;var o=i[1];function l(r){return{}}return o&&(e=mn(o,l())),{c(){e&&F(e.$$.fragment),t=bt()},m(r,s){e&&z(e,r,s),S(r,t,s),n=!0},p(r,s){if(s&2&&o!==(o=r[1])){if(e){he();const a=e;v(a.$$.fragment,1,0,()=>{D(a,1)}),pe()}o?(e=mn(o,l()),F(e.$$.fragment),m(e.$$.fragment,1),z(e,t.parentNode,t)):e=null}},i(r){n||(e&&m(e.$$.fragment,r),n=!0)},o(r){e&&v(e.$$.fragment,r),n=!1},d(r){r&&y(t),e&&D(e,r)}}}function Bm(i){let e,t,n,o;const l=[Nm,Mm],r=[];function s(a,c){return a[0]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){r[e].m(a,c),S(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?r[e].p(a,c):(he(),v(r[f],1,1,()=>{r[f]=null}),pe(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function Om(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:l=void 0}=e,r;return i.$$set=s=>{"isMobile"in s&&t(0,o=s.isMobile),"currentQuality"in s&&t(3,l=s.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=oo(l)),i.$$.dirty&2&&t(2,r=!!n&&[Uu,qu].includes(n))},[o,n,r,l]}class ju extends Se{constructor(e){super(),ye(this,e,Om,Bm,_e,{isMobile:0,currentQuality:3},Im)}}function zm(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Wu extends Se{constructor(e){super(),ye(this,e,null,zm,_e,{})}}function Dm(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Fm extends Se{constructor(e){super(),ye(this,e,null,Dm,_e,{})}}function Hm(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Um extends Se{constructor(e){super(),ye(this,e,null,Hm,_e,{})}}function qm(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,r){S(l,e,r),d(e,t),d(t,n),d(t,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class jm extends Se{constructor(e){super(),ye(this,e,null,qm,_e,{})}}function Wm(i){je(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function Zm(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){S(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 Gm(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){S(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 Km(i){let e;function t(l,r){return l[1]?Gm:Zm}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,r){o.m(l,r),S(l,e,r)},p(l,[r]){n===(n=t(l))&&o?o.p(l,r):(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 Ym(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,l,r;return i.$$set=s=>{"direction"in s&&t(3,n=s.direction),"color"in s&&t(0,o=s.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,l=["up","down"].includes(n)),t(2,r=["right","down"].includes(n)))},[o,l,r,n]}class Mn extends Se{constructor(e){super(),ye(this,e,Ym,Km,_e,{direction:3,color:0},Wm)}}function Qm(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Xm extends Se{constructor(e){super(),ye(this,e,null,Qm,_e,{})}}function Jm(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class So extends Se{constructor(e){super(),ye(this,e,null,Jm,_e,{})}}function xm(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class $m extends Se{constructor(e){super(),ye(this,e,null,xm,_e,{})}}function eh(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class th extends Se{constructor(e){super(),ye(this,e,null,eh,_e,{})}}function ih(i){je(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 os(i,e,t){const n=i.slice();return n[87]=e[t],n}function ls(i,e,t){const n=i.slice();return n[90]=e[t],n}function rs(i,e,t){const n=i.slice();return n[93]=e[t],n}function ss(i){let e,t,n,o,l,r,s,a;return{c(){e=k("div"),t=k("div"),t.textContent=`${Z("submenu_settings")}`,n=R(),o=k("div"),l=R(),r=k("div"),u(o,"class","close v-79x8pk"),u(e,"class","item menu-header v-79x8pk"),V(e,"item-mobile",i[7]),u(r,"class","menu-divider v-79x8pk")},m(c,f){S(c,e,f),d(e,t),d(e,n),d(e,o),S(c,l,f),S(c,r,f),s||(a=Ae(o,"click",ft(i[49])),s=!0)},p(c,f){f[0]&128&&V(e,"item-mobile",c[7])},d(c){c&&(y(e),y(l),y(r)),s=!1,a()}}}function as(i){let e,t,n,o,l,r,s,a,c,f,h,p,b;n=new ju({});let g=i[27]&&!i[7]&&us(i);return{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${Z("menu_quality")}`,r=R(),s=k("div"),a=De(i[15]),c=R(),g&&g.c(),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(s,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Z("aria_label_menu_quality",{actual:i[25]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[7])},m(_,L){S(_,e,L),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,r),d(e,s),d(s,a),d(s,c),g&&g.m(s,null),h=!0,p||(b=Ae(e,"click",ft(i[50])),p=!0)},p(_,L){(!h||L[0]&32768)&&ot(a,_[15]),_[27]&&!_[7]?g?(g.p(_,L),L[0]&134217856&&m(g,1)):(g=us(_),g.c(),m(g,1),g.m(s,null)):g&&(he(),v(g,1,1,()=>{g=null}),pe()),(!h||L[0]&33554432&&f!==(f=Z("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(g),h=!0)},o(_){v(n.$$.fragment,_),v(g),h=!1},d(_){_&&y(e),D(n),g&&g.d(),p=!1,b()}}}function us(i){let e,t,n;var o=i[27];function l(r){return{}}return o&&(t=mn(o,l())),{c(){e=k("div"),t&&F(t.$$.fragment),u(e,"class","menu-valueIcon v-79x8pk")},m(r,s){S(r,e,s),t&&z(t,e,null),n=!0},p(r,s){if(s[0]&134217728&&o!==(o=r[27])){if(t){he();const a=t;v(a.$$.fragment,1,0,()=>{D(a,1)}),pe()}o?(t=mn(o,l()),F(t.$$.fragment),m(t.$$.fragment,1),z(t,e,null)):t=null}},i(r){n||(t&&m(t.$$.fragment,r),n=!0)},o(r){t&&v(t.$$.fragment,r),n=!1},d(r){r&&y(e),t&&D(t)}}}function cs(i){let e,t,n,o,l,r,s,a,c,f,h,p,b;return n=new jm({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${Z("menu_playback_rate")}`,r=R(),s=k("div"),a=De(i[3]),c=De("x"),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(s,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Z("aria_label_menu_rate",{actual:i[26]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[7])},m(g,_){S(g,e,_),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,r),d(e,s),d(s,a),d(s,c),h=!0,p||(b=Ae(e,"click",ft(i[54])),p=!0)},p(g,_){(!h||_[0]&8)&&ot(a,g[3]),(!h||_[0]&67108864&&f!==(f=Z("aria_label_menu_rate",{actual:g[26]})))&&u(e,"aria-label",f),(!h||_[0]&128)&&V(e,"item-mobile",g[7])},i(g){h||(m(n.$$.fragment,g),h=!0)},o(g){v(n.$$.fragment,g),h=!1},d(g){g&&y(e),D(n),p=!1,b()}}}function fs(i){let e,t,n,o,l,r,s,a=i[28].displayValue+"",c,f,h,p,b;return n=new Wu({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${Z("subtitles_caption")}`,r=R(),s=k("div"),c=De(a),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(s,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Z("aria_label_menu_subtitle",{actual:i[28].displayValue})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[7])},m(g,_){S(g,e,_),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,r),d(e,s),d(s,c),h=!0,p||(b=Ae(e,"click",ft(i[56])),p=!0)},p(g,_){(!h||_[0]&268435456)&&a!==(a=g[28].displayValue+"")&&ot(c,a),(!h||_[0]&268435456&&f!==(f=Z("aria_label_menu_subtitle",{actual:g[28].displayValue})))&&u(e,"aria-label",f),(!h||_[0]&128)&&V(e,"item-mobile",g[7])},i(g){h||(m(n.$$.fragment,g),h=!0)},o(g){v(n.$$.fragment,g),h=!1},d(g){g&&y(e),D(n),p=!1,b()}}}function ds(i){let e,t,n,o,l,r,s,a,c,f,h,p;return n=new Um({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${Z("menu_traffic_saving")}`,r=R(),s=k("div"),a=De(i[24]),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(s,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=Z("aria_label_menu_traffic_saving",{actual:i[24]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[7])},m(b,g){S(b,e,g),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,r),d(e,s),d(s,a),f=!0,h||(p=Ae(e,"click",ft(i[51])),h=!0)},p(b,g){(!f||g[0]&16777216)&&ot(a,b[24]),(!f||g[0]&16777216&&c!==(c=Z("aria_label_menu_traffic_saving",{actual:b[24]})))&&u(e,"aria-label",c),(!f||g[0]&128)&&V(e,"item-mobile",b[7])},i(b){f||(m(n.$$.fragment,b),f=!0)},o(b){v(n.$$.fragment,b),f=!1},d(b){b&&y(e),D(n),h=!1,p()}}}function ms(i){let e,t,n,o,l,r,s,a;return n=new Fm({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${Z("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",Z("aria_label_menu_download")),V(e,"item-mobile",i[7])},m(c,f){S(c,e,f),d(e,t),z(n,t,null),d(e,o),d(e,l),r=!0,s||(a=Ae(e,"click",ft(i[59])),s=!0)},p(c,f){(!r||f[0]&128)&&V(e,"item-mobile",c[7])},i(c){r||(m(n.$$.fragment,c),r=!0)},o(c){v(n.$$.fragment,c),r=!1},d(c){c&&y(e),D(n),s=!1,a()}}}function hs(i){let e,t,n,o,l,r,s,a,c,f,h,p,b,g,_,L,E=i[30].showSupport&&nh(i);return o=new $m({}),f=new th({}),{c(){E&&E.c(),e=R(),t=k("li"),n=k("div"),F(o.$$.fragment),l=R(),r=k("div"),r.textContent=`${Z("menu_copy_debug")}`,s=R(),a=k("li"),c=k("div"),F(f.$$.fragment),h=R(),p=k("div"),p.textContent=`${Z("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-79x8pk"),u(r,"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",Z("menu_copy_debug")),u(c,"class","menu-icon-wrapper v-79x8pk"),u(p,"class","menu-title v-79x8pk"),u(a,"class","item item-mobile v-79x8pk"),u(a,"role","menuitem"),u(a,"tabindex","0"),u(a,"aria-label",b=i[29]?Z("aria_label_menu_debug_overlay_disable"):Z("aria_label_menu_debug_overlay_enable"))},m(w,P){E&&E.m(w,P),S(w,e,P),S(w,t,P),d(t,n),z(o,n,null),d(t,l),d(t,r),S(w,s,P),S(w,a,P),d(a,c),z(f,c,null),d(a,h),d(a,p),g=!0,_||(L=[Ae(t,"click",ft(i[61])),Ae(a,"click",ft(i[62]))],_=!0)},p(w,P){w[30].showSupport&&E.p(w,P),(!g||P[0]&536870912&&b!==(b=w[29]?Z("aria_label_menu_debug_overlay_disable"):Z("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",b)},i(w){g||(m(E),m(o.$$.fragment,w),m(f.$$.fragment,w),g=!0)},o(w){v(E),v(o.$$.fragment,w),v(f.$$.fragment,w),g=!1},d(w){w&&(y(e),y(t),y(s),y(a)),E&&E.d(w),D(o),D(f),_=!1,ni(L)}}}function nh(i){let e,t,n,o,l,r,s,a;return n=new Xm({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${Z("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",`${Z("menu_report")}. ${Z("aria_label_new_tab_alert")}`)},m(c,f){S(c,e,f),d(e,t),z(n,t,null),d(e,o),d(e,l),r=!0,s||(a=Ae(e,"click",ft(i[60])),s=!0)},p:K,i(c){r||(m(n.$$.fragment,c),r=!0)},o(c){v(n.$$.fragment,c),r=!1},d(c){c&&y(e),D(n),s=!1,a()}}}function ps(i){let e,t,n;return t=new So({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){S(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function vs(i){let e,t,n;var o=oo(i[93].value);function l(r){return{}}return o&&(t=mn(o,l())),{c(){e=k("div"),t&&F(t.$$.fragment),u(e,"class","menu-valueIcon-list v-79x8pk")},m(r,s){S(r,e,s),t&&z(t,e,null),n=!0},p(r,s){if(s[0]&256&&o!==(o=oo(r[93].value))){if(t){he();const a=t;v(a.$$.fragment,1,0,()=>{D(a,1)}),pe()}o?(t=mn(o,l()),F(t.$$.fragment),m(t.$$.fragment,1),z(t,e,null)):t=null}},i(r){n||(t&&m(t.$$.fragment,r),n=!0)},o(r){t&&v(t.$$.fragment,r),n=!1},d(r){r&&y(e),t&&D(t)}}}function gs(i){let e,t,n,o=i[93].displayValue+"",l,r,s=!i[7]&&oo(i[93].value),a,c,f,h,p,b,g=i[93].selected&&ps(),_=s&&vs(i);function L(){return i[76](i[93])}return{c(){e=k("li"),g&&g.c(),t=R(),n=k("div"),l=De(o),r=R(),_&&_.c(),a=R(),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=Z("aria_label_submenu_quality_select_quality",{quality:i[93].displayValue})),V(e,"item-mobile",i[7])},m(E,w){S(E,e,w),g&&g.m(e,null),d(e,t),d(e,n),d(n,l),d(e,r),_&&_.m(e,null),d(e,a),h=!0,p||(b=Ae(e,"click",ft(L)),p=!0)},p(E,w){i=E,i[93].selected?g?w[0]&256&&m(g,1):(g=ps(),g.c(),m(g,1),g.m(e,t)):g&&(he(),v(g,1,1,()=>{g=null}),pe()),(!h||w[0]&256)&&o!==(o=i[93].displayValue+"")&&ot(l,o),(!h||w[0]&128)&&V(n,"quality-title-mobile",i[7]),w[0]&384&&(s=!i[7]&&oo(i[93].value)),s?_?(_.p(i,w),w[0]&384&&m(_,1)):(_=vs(i),_.c(),m(_,1),_.m(e,a)):_&&(he(),v(_,1,1,()=>{_=null}),pe()),(!h||w[0]&256&&c!==(c=i[93].value))&&u(e,"data-value",c),(!h||w[0]&256&&f!==(f=Z("aria_label_submenu_quality_select_quality",{quality:i[93].displayValue})))&&u(e,"aria-label",f),(!h||w[0]&128)&&V(e,"item-mobile",i[7])},i(E){h||(m(g),m(_),h=!0)},o(E){v(g),v(_),h=!1},d(E){E&&y(e),g&&g.d(),_&&_.d(),p=!1,b()}}}function bs(i){let e,t,n;return t=new So({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){S(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function _s(i){let e,t,n,o=i[90].displayValue+"",l,r,s,a,c,f,h,p=i[90].selected&&bs();function b(){return i[78](i[90])}return{c(){e=k("li"),p&&p.c(),t=R(),n=k("div"),l=De(o),r=R(),u(n,"class","v-79x8pk"),V(n,"quality-title-mobile",i[7]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",s=i[90].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=Z("aria_label_submenu_rate_select_rate",{rate:i[90].displayValue})),V(e,"item-mobile",i[7])},m(g,_){S(g,e,_),p&&p.m(e,null),d(e,t),d(e,n),d(n,l),d(e,r),c=!0,f||(h=Ae(e,"click",ft(b)),f=!0)},p(g,_){i=g,i[90].selected?p?_[0]&16&&m(p,1):(p=bs(),p.c(),m(p,1),p.m(e,t)):p&&(he(),v(p,1,1,()=>{p=null}),pe()),(!c||_[0]&16)&&o!==(o=i[90].displayValue+"")&&ot(l,o),(!c||_[0]&128)&&V(n,"quality-title-mobile",i[7]),(!c||_[0]&16&&s!==(s=i[90].value))&&u(e,"data-value",s),(!c||_[0]&16&&a!==(a=Z("aria_label_submenu_rate_select_rate",{rate:i[90].displayValue})))&&u(e,"aria-label",a),(!c||_[0]&128)&&V(e,"item-mobile",i[7])},i(g){c||(m(p),c=!0)},o(g){v(p),c=!1},d(g){g&&y(e),p&&p.d(),f=!1,h()}}}function ws(i){let e,t,n;return t=new So({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){S(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function ks(i){let e,t,n;return t=new So({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){S(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function ys(i){let e,t,n;return t=new So({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){S(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Ss(i){let e,t,n,o=i[87].displayValue+"",l,r,s,a,c,f,h,p=i[87].selected&&ys();function b(){return i[82](i[87])}return{c(){e=k("li"),p&&p.c(),t=R(),n=k("div"),l=De(o),r=R(),u(n,"class","v-79x8pk"),V(n,"quality-title-mobile",i[7]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",s=i[87].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=Z("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[87].displayValue})),V(e,"item-mobile",i[7])},m(g,_){S(g,e,_),p&&p.m(e,null),d(e,t),d(e,n),d(n,l),d(e,r),c=!0,f||(h=Ae(e,"click",ft(b)),f=!0)},p(g,_){i=g,i[87].selected?p?_[0]&64&&m(p,1):(p=ys(),p.c(),m(p,1),p.m(e,t)):p&&(he(),v(p,1,1,()=>{p=null}),pe()),(!c||_[0]&64)&&o!==(o=i[87].displayValue+"")&&ot(l,o),(!c||_[0]&128)&&V(n,"quality-title-mobile",i[7]),(!c||_[0]&64&&s!==(s=i[87].value))&&u(e,"data-value",s),(!c||_[0]&64&&a!==(a=Z("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[87].displayValue})))&&u(e,"aria-label",a),(!c||_[0]&128)&&V(e,"item-mobile",i[7])},i(g){c||(m(p),c=!0)},o(g){v(p),c=!1},d(g){g&&y(e),p&&p.d(),f=!1,h()}}}function oh(i){let e,t,n,o,l,r,s,a,c,f,h,p,b,g,_,L,E,w,P,B,N,U,Y,W,ne,X,ee,T,te,fe,A,oe,ae,ke,we,Ee,Pe,H,G,O,ge,Q,M,J,Me,Te,Le,x,ue,ve,se,Fe,He,st,lt,ze,mt,kt,Re,Ne,Wt,At,ut=i[7]&&ss(i),et=i[23]&&as(i),ce=i[22]&&cs(i),Xe=i[21]&&fs(i),$e=i[20]&&ds(i),Je=i[19]&&ms(i),Ze=i[7]&&hs(i);b=new Mn({props:{direction:"left"}});let dt=Zt(i[8]),xe=[];for(let me=0;me<dt.length;me+=1)xe[me]=gs(rs(i,dt,me));const rt=me=>v(xe[me],1,1,()=>{xe[me]=null});Y=new Mn({props:{direction:"left"}});let Ke=Zt(i[4]),tt=[];for(let me=0;me<Ke.length;me+=1)tt[me]=_s(ls(i,Ke,me));const Xt=me=>v(tt[me],1,1,()=>{tt[me]=null});ae=new Mn({props:{direction:"left"}});let ht=!i[5]&&ws(),Ye=i[5]&&ks();lt=new Mn({props:{direction:"left"}});let Lt=Zt(i[6]),at=[];for(let me=0;me<Lt.length;me+=1)at[me]=Ss(os(i,Lt,me));const ci=me=>v(at[me],1,1,()=>{at[me]=null});return{c(){e=k("div"),t=k("div"),ut&&ut.c(),n=R(),o=k("ul"),et&&et.c(),l=R(),ce&&ce.c(),r=R(),Xe&&Xe.c(),s=R(),$e&&$e.c(),a=R(),Je&&Je.c(),c=R(),Ze&&Ze.c(),f=R(),h=k("div"),p=k("div"),F(b.$$.fragment),g=R(),_=k("div"),_.textContent=`${Z("submenu_quality")}`,L=R(),E=k("div"),w=R(),P=k("ul");for(let me=0;me<xe.length;me+=1)xe[me].c();B=R(),N=k("div"),U=k("div"),F(Y.$$.fragment),W=R(),ne=k("div"),ne.textContent=`${Z("submenu_playback_rate")}`,X=R(),ee=k("div"),T=R(),te=k("ul");for(let me=0;me<tt.length;me+=1)tt[me].c();fe=R(),A=k("div"),oe=k("div"),F(ae.$$.fragment),ke=R(),we=k("div"),we.textContent=`${Z("submenu_traffic_saving")}`,Ee=R(),Pe=k("div"),H=R(),G=k("ul"),O=k("li"),ht&&ht.c(),ge=R(),Q=k("div"),Q.textContent=`${Z("traffic_saving_disable")}`,M=R(),J=k("li"),Ye&&Ye.c(),Me=R(),Te=k("div"),Te.textContent=`${Z("traffic_saving_enable")}`,Le=R(),x=k("div"),ue=R(),ve=k("div"),se=k("span"),se.textContent=`${Z("traffic_saving_helper_text")}`,Fe=R(),He=k("div"),st=k("div"),F(lt.$$.fragment),ze=R(),mt=k("div"),mt.textContent=`${Z("subtitles_caption")}`,kt=R(),Re=k("ul");for(let me=0;me<at.length;me+=1)at[me].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(p,"class","item menu-header v-79x8pk"),u(p,"aria-label",Z("aria_label_submenu_back")),V(p,"item-mobile",i[7]),u(E,"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(U,"class","item menu-header v-79x8pk"),u(U,"aria-label",Z("aria_label_submenu_back")),V(U,"item-mobile",i[7]),u(ee,"class","menu-divider v-79x8pk"),u(te,"class","items v-79x8pk"),u(te,"style",i[17]),V(te,"items-mobile",i[7]),u(N,"class","menu menu-subList v-79x8pk"),V(N,"menu-desktop",!i[7]),V(N,"menu-mobile",i[7]),V(N,"hidden",!i[12]),u(oe,"class","item menu-header v-79x8pk"),u(oe,"aria-label",Z("aria_label_submenu_back")),V(oe,"item-mobile",i[7]),u(Pe,"class","menu-divider v-79x8pk"),u(Q,"class","v-79x8pk"),V(Q,"quality-title-mobile",i[7]),u(O,"class","item item-traffic-saving v-79x8pk"),u(O,"role","menuitem"),u(O,"tabindex","0"),u(O,"aria-label",Z("aria_label_submenu_traffic_saving_off")),V(O,"item-mobile",i[7]),u(Te,"class","v-79x8pk"),V(Te,"quality-title-mobile",i[7]),u(J,"class","item item-traffic-saving v-79x8pk"),u(J,"role","menuitem"),u(J,"tabindex","0"),u(J,"aria-label",`${Z("aria_label_submenu_traffic_saving_on")}. ${Z("traffic_saving_helper_text")}`),V(J,"item-mobile",i[7]),u(G,"class","items v-79x8pk"),u(G,"style",i[18]),V(G,"items-mobile",i[7]),u(x,"class","menu-divider v-79x8pk"),u(se,"class","v-79x8pk"),u(ve,"class","item item-helper-text v-79x8pk"),V(ve,"item-mobile",i[7]),u(A,"class","menu menu-subList menu-subList-traffic-saving v-79x8pk"),V(A,"menu-desktop",!i[7]),V(A,"menu-mobile",i[7]),V(A,"hidden",!i[14]),u(st,"class","item menu-header v-79x8pk"),u(st,"aria-label",Z("aria_label_submenu_back")),V(st,"item-mobile",i[7]),u(Re,"class","items v-79x8pk"),V(Re,"items-mobile",i[7]),u(He,"class","menu menu-subList menu-subList-subtitles v-79x8pk"),V(He,"menu-desktop",!i[7]),V(He,"menu-mobile",i[7]),V(He,"hidden",!i[13]),u(e,"class","v-79x8pk"),V(e,"hidden",!i[9]),V(e,"container-mobile",i[7])},m(me,Ce){S(me,e,Ce),d(e,t),ut&&ut.m(t,null),d(t,n),d(t,o),et&&et.m(o,null),d(o,l),ce&&ce.m(o,null),d(o,r),Xe&&Xe.m(o,null),d(o,s),$e&&$e.m(o,null),d(o,a),Je&&Je.m(o,null),d(o,c),Ze&&Ze.m(o,null),d(e,f),d(e,h),d(h,p),z(b,p,null),d(p,g),d(p,_),i[75](p),d(h,L),d(h,E),d(h,w),d(h,P);for(let Ie=0;Ie<xe.length;Ie+=1)xe[Ie]&&xe[Ie].m(P,null);d(e,B),d(e,N),d(N,U),z(Y,U,null),d(U,W),d(U,ne),i[77](U),d(N,X),d(N,ee),d(N,T),d(N,te);for(let Ie=0;Ie<tt.length;Ie+=1)tt[Ie]&&tt[Ie].m(te,null);d(e,fe),d(e,A),d(A,oe),z(ae,oe,null),d(oe,ke),d(oe,we),i[79](oe),d(A,Ee),d(A,Pe),d(A,H),d(A,G),d(G,O),ht&&ht.m(O,null),d(O,ge),d(O,Q),d(G,M),d(G,J),Ye&&Ye.m(J,null),d(J,Me),d(J,Te),d(A,Le),d(A,x),d(A,ue),d(A,ve),d(ve,se),d(e,Fe),d(e,He),d(He,st),z(lt,st,null),d(st,ze),d(st,mt),d(He,kt),d(He,Re);for(let Ie=0;Ie<at.length;Ie+=1)at[Ie]&&at[Ie].m(Re,null);Ne=!0,Wt||(At=[Ae(p,"click",ft(i[58])),Ae(U,"click",ft(i[58])),Ae(oe,"click",ft(i[58])),Ae(O,"click",ft(i[80])),Ae(J,"click",ft(i[81])),Ae(st,"click",ft(i[58]))],Wt=!0)},p(me,Ce){if(me[7]?ut?ut.p(me,Ce):(ut=ss(me),ut.c(),ut.m(t,n)):ut&&(ut.d(1),ut=null),me[23]?et?(et.p(me,Ce),Ce[0]&8388608&&m(et,1)):(et=as(me),et.c(),m(et,1),et.m(o,l)):et&&(he(),v(et,1,1,()=>{et=null}),pe()),me[22]?ce?(ce.p(me,Ce),Ce[0]&4194304&&m(ce,1)):(ce=cs(me),ce.c(),m(ce,1),ce.m(o,r)):ce&&(he(),v(ce,1,1,()=>{ce=null}),pe()),me[21]?Xe?(Xe.p(me,Ce),Ce[0]&2097152&&m(Xe,1)):(Xe=fs(me),Xe.c(),m(Xe,1),Xe.m(o,s)):Xe&&(he(),v(Xe,1,1,()=>{Xe=null}),pe()),me[20]?$e?($e.p(me,Ce),Ce[0]&1048576&&m($e,1)):($e=ds(me),$e.c(),m($e,1),$e.m(o,a)):$e&&(he(),v($e,1,1,()=>{$e=null}),pe()),me[19]?Je?(Je.p(me,Ce),Ce[0]&524288&&m(Je,1)):(Je=ms(me),Je.c(),m(Je,1),Je.m(o,c)):Je&&(he(),v(Je,1,1,()=>{Je=null}),pe()),me[7]?Ze?(Ze.p(me,Ce),Ce[0]&128&&m(Ze,1)):(Ze=hs(me),Ze.c(),m(Ze,1),Ze.m(o,null)):Ze&&(he(),v(Ze,1,1,()=>{Ze=null}),pe()),(!Ne||Ce[0]&128)&&V(o,"items-mobile",me[7]),(!Ne||Ce[0]&128)&&V(t,"menu-desktop",!me[7]),(!Ne||Ce[0]&128)&&V(t,"menu-mobile",me[7]),(!Ne||Ce[0]&1024)&&V(t,"hidden",!me[10]),(!Ne||Ce[0]&128)&&V(p,"item-mobile",me[7]),Ce[0]&384|Ce[1]&2097152){dt=Zt(me[8]);let Ie;for(Ie=0;Ie<dt.length;Ie+=1){const It=rs(me,dt,Ie);xe[Ie]?(xe[Ie].p(It,Ce),m(xe[Ie],1)):(xe[Ie]=gs(It),xe[Ie].c(),m(xe[Ie],1),xe[Ie].m(P,null))}for(he(),Ie=dt.length;Ie<xe.length;Ie+=1)rt(Ie);pe()}if((!Ne||Ce[0]&65536)&&u(P,"style",me[16]),(!Ne||Ce[0]&128)&&V(P,"items-mobile",me[7]),(!Ne||Ce[0]&128)&&V(h,"menu-desktop",!me[7]),(!Ne||Ce[0]&128)&&V(h,"menu-mobile",me[7]),(!Ne||Ce[0]&2048)&&V(h,"hidden",!me[11]),(!Ne||Ce[0]&128)&&V(U,"item-mobile",me[7]),Ce[0]&144|Ce[1]&16777216){Ke=Zt(me[4]);let Ie;for(Ie=0;Ie<Ke.length;Ie+=1){const It=ls(me,Ke,Ie);tt[Ie]?(tt[Ie].p(It,Ce),m(tt[Ie],1)):(tt[Ie]=_s(It),tt[Ie].c(),m(tt[Ie],1),tt[Ie].m(te,null))}for(he(),Ie=Ke.length;Ie<tt.length;Ie+=1)Xt(Ie);pe()}if((!Ne||Ce[0]&131072)&&u(te,"style",me[17]),(!Ne||Ce[0]&128)&&V(te,"items-mobile",me[7]),(!Ne||Ce[0]&128)&&V(N,"menu-desktop",!me[7]),(!Ne||Ce[0]&128)&&V(N,"menu-mobile",me[7]),(!Ne||Ce[0]&4096)&&V(N,"hidden",!me[12]),(!Ne||Ce[0]&128)&&V(oe,"item-mobile",me[7]),me[5]?ht&&(he(),v(ht,1,1,()=>{ht=null}),pe()):ht?Ce[0]&32&&m(ht,1):(ht=ws(),ht.c(),m(ht,1),ht.m(O,ge)),(!Ne||Ce[0]&128)&&V(Q,"quality-title-mobile",me[7]),(!Ne||Ce[0]&128)&&V(O,"item-mobile",me[7]),me[5]?Ye?Ce[0]&32&&m(Ye,1):(Ye=ks(),Ye.c(),m(Ye,1),Ye.m(J,Me)):Ye&&(he(),v(Ye,1,1,()=>{Ye=null}),pe()),(!Ne||Ce[0]&128)&&V(Te,"quality-title-mobile",me[7]),(!Ne||Ce[0]&128)&&V(J,"item-mobile",me[7]),(!Ne||Ce[0]&262144)&&u(G,"style",me[18]),(!Ne||Ce[0]&128)&&V(G,"items-mobile",me[7]),(!Ne||Ce[0]&128)&&V(ve,"item-mobile",me[7]),(!Ne||Ce[0]&128)&&V(A,"menu-desktop",!me[7]),(!Ne||Ce[0]&128)&&V(A,"menu-mobile",me[7]),(!Ne||Ce[0]&16384)&&V(A,"hidden",!me[14]),(!Ne||Ce[0]&128)&&V(st,"item-mobile",me[7]),Ce[0]&192|Ce[1]&67108864){Lt=Zt(me[6]);let Ie;for(Ie=0;Ie<Lt.length;Ie+=1){const It=os(me,Lt,Ie);at[Ie]?(at[Ie].p(It,Ce),m(at[Ie],1)):(at[Ie]=Ss(It),at[Ie].c(),m(at[Ie],1),at[Ie].m(Re,null))}for(he(),Ie=Lt.length;Ie<at.length;Ie+=1)ci(Ie);pe()}(!Ne||Ce[0]&128)&&V(Re,"items-mobile",me[7]),(!Ne||Ce[0]&128)&&V(He,"menu-desktop",!me[7]),(!Ne||Ce[0]&128)&&V(He,"menu-mobile",me[7]),(!Ne||Ce[0]&8192)&&V(He,"hidden",!me[13]),(!Ne||Ce[0]&512)&&V(e,"hidden",!me[9]),(!Ne||Ce[0]&128)&&V(e,"container-mobile",me[7])},i(me){if(!Ne){m(et),m(ce),m(Xe),m($e),m(Je),m(Ze),m(b.$$.fragment,me);for(let Ce=0;Ce<dt.length;Ce+=1)m(xe[Ce]);m(Y.$$.fragment,me);for(let Ce=0;Ce<Ke.length;Ce+=1)m(tt[Ce]);m(ae.$$.fragment,me),m(ht),m(Ye),m(lt.$$.fragment,me);for(let Ce=0;Ce<Lt.length;Ce+=1)m(at[Ce]);Ne=!0}},o(me){v(et),v(ce),v(Xe),v($e),v(Je),v(Ze),v(b.$$.fragment,me),xe=xe.filter(Boolean);for(let Ce=0;Ce<xe.length;Ce+=1)v(xe[Ce]);v(Y.$$.fragment,me),tt=tt.filter(Boolean);for(let Ce=0;Ce<tt.length;Ce+=1)v(tt[Ce]);v(ae.$$.fragment,me),v(ht),v(Ye),v(lt.$$.fragment,me),at=at.filter(Boolean);for(let Ce=0;Ce<at.length;Ce+=1)v(at[Ce]);Ne=!1},d(me){me&&y(e),ut&&ut.d(),et&&et.d(),ce&&ce.d(),Xe&&Xe.d(),$e&&$e.d(),Je&&Je.d(),Ze&&Ze.d(),D(b),i[75](null),rn(xe,me),D(Y),i[77](null),rn(tt,me),D(ae),i[79](null),ht&&ht.d(),Ye&&Ye.d(),D(lt),rn(at,me),Wt=!1,ni(At)}}}const wl=18;function lh(i,e,t){let n,o,l,r,s,a,c,f,h,p,b,g,_,L,E,w,P,B,N,{supportLink:U}=e,{playerControlsHeight:Y=0}=e,{returnFocus:W}=e;const ne=Et(),X=Qi(),ee=ne.state.currentQuality$;j(i,ee,Ve=>t(66,r=Ve));const T=ne.state.availableQualities$;j(i,T,Ve=>t(8,w=Ve));const te=ne.state.autoQualityLimitingAvailable$;j(i,te,Ve=>t(70,p=Ve));const fe=ne.state.isAutoQualityEnabled$;j(i,fe,Ve=>t(67,s=Ve));const A=ne.state.currentPlaybackRate$;j(i,A,Ve=>t(3,o=Ve));const oe=ne.state.availablePlaybackRates$;j(i,oe,Ve=>t(4,l=Ve));const ae=ne.state.currentSubtitle$;j(i,ae,Ve=>t(28,B=Ve));const ke=ne.state.availableSubtitlesList$;j(i,ke,Ve=>t(6,h=Ve));const we=ne.state.canDownload,Ee=ne.state.hasMpegSources$;j(i,Ee,Ve=>t(71,b=Ve));const Pe=ne.ui.settingsMenuVisible;j(i,Pe,Ve=>t(9,P=Ve));const H=ne.ui.isMobile;j(i,H,Ve=>t(7,_=Ve));const G=ne.ui.mobileNotReportControlHidden$;j(i,G,Ve=>t(68,c=Ve));const O=ne.state.canChangePlaybackSpeed$;j(i,O,Ve=>t(69,f=Ve));const ge=ne.ui.isFullscreen;j(i,ge,Ve=>t(74,E=Ve));const Q=ne.state.trafficSavingEnabled$;j(i,Q,Ve=>t(5,a=Ve));const M=ne.ui.playerSize;j(i,M,Ve=>t(73,L=Ve));const J=ne.ui.debugPanelVisible;j(i,J,Ve=>t(29,N=Ve));const Me=ne.ui.playerSize;j(i,Me,Ve=>t(72,g=Ve));const Te=ne.actions.internal.downloadVideo;let Le=!0,x=!1,ue=!1,ve=!1,se=!1;function Fe(){W==null||W(),Pe.set(!1)}function He(){t(10,Le=!1),t(11,x=!0)}function st(){t(10,Le=!1),t(14,se=!0)}function lt(Ve){ne.actions.internal.setQuality(Ve),Fe()}function ze(Ve){ne.actions.internal.setTrafficSavingEnabled(Ve),Fe()}function mt(){t(10,Le=!1),t(12,ue=!0)}function kt(Ve){ne.actions.internal.setPlaybackRate(Ve),Fe()}function Re(){t(10,Le=!1),t(13,ve=!0)}function Ne(Ve){ne.actions.internal.setSubtitle(Ve),Fe()}function Wt(){t(10,Le=!0),t(11,x=!1),t(12,ue=!1),t(13,ve=!1),t(14,se=!1)}function At(){Te(),Fe()}function ut(){window.open(U,"_blank"),Fe(),ne.actions.internal.pause()}function et(){Nl(ne.actions.internal.getDebugTextData()),Fe()}function ce(){J.set(!0),Fe()}function Xe(Ve,Nt,di){if(!Ve)return"...";const Ot=Nt.find(Mi=>Mi.value===Ve),Vt=Ot?Ot.displayValue:Ve;return di?Ve===nt.VideoQuality.INVARIANT?Z("auto_quality_invariant"):Z("auto_quality",{actual:Vt}):Vt}let $e,Je,Ze,dt,xe,rt,Ke,tt,Xt,ht,Ye,Lt,at,ci,me;function Ce(Ve){We[Ve?"unshift":"push"](()=>{Je=Ve,t(0,Je)})}const Ie=Ve=>lt(Ve.value);function It(Ve){We[Ve?"unshift":"push"](()=>{Ze=Ve,t(1,Ze)})}const fi=Ve=>kt(Ve.value);function Mt(Ve){We[Ve?"unshift":"push"](()=>{dt=Ve,t(2,dt)})}const Ci=()=>ze(!1),Vi=()=>ze(!0),Ii=Ve=>Ne(Ve);return i.$$set=Ve=>{"supportLink"in Ve&&t(63,U=Ve.supportLink),"playerControlsHeight"in Ve&&t(64,Y=Ve.playerControlsHeight),"returnFocus"in Ve&&t(65,W=Ve.returnFocus)},i.$$.update=()=>{var Ve,Nt,di,Ot;if(i.$$.dirty[0]&512&&P&&(t(10,Le=!0),t(11,x=!1),t(12,ue=!1),t(13,ve=!1),t(14,se=!1)),i.$$.dirty[2]&16&&t(27,n=oo(r)),i.$$.dirty[0]&256|i.$$.dirty[2]&48&&t(15,$e=Xe(r,w,s)),i.$$.dirty[0]&129|i.$$.dirty[2]&7172)if(_&&E)t(16,xe=`max-height: ${Math.round(L.height*.6)}px`);else if(_)t(16,xe="");else{const Vt=g.height-wl-((Ve=Je==null?void 0:Je.clientHeight)!=null?Ve:0)-Y;t(16,xe=`max-height: ${Vt}px; overflow: auto;`)}if(i.$$.dirty[0]&130|i.$$.dirty[2]&1028)if(_)t(17,rt="");else{const Vt=g.height-wl-((Nt=Ze==null?void 0:Ze.clientHeight)!=null?Nt:0)-Y;t(17,rt=`max-height: ${Vt}px; overflow: auto;`)}if(i.$$.dirty[0]&132|i.$$.dirty[2]&1028)if(_)t(18,Ke="");else{const Vt=g.height-wl-((di=dt==null?void 0:dt.clientHeight)!=null?di:0)-Y;t(18,Ke=`max-height: ${Vt}px; overflow: auto;`)}i.$$.dirty[2]&576&&t(19,tt=we&&b&&!c),i.$$.dirty[2]&320&&t(20,Xt=X.features.trafficSaving&&!c&&p),i.$$.dirty[0]&64|i.$$.dirty[2]&64&&t(21,ht=h.length>0&&!c),i.$$.dirty[2]&192&&t(22,Ye=!!f&&!c),i.$$.dirty[2]&64&&t(23,Lt=!c),i.$$.dirty[0]&32&&t(24,at=Z(a?"traffic_saving_on":"traffic_saving_off")),i.$$.dirty[2]&48&&t(25,ci=s?Z("auto_quality_option"):r),i.$$.dirty[0]&24&&t(26,me=(Ot=l.find(Vt=>Vt.value===o))==null?void 0:Ot.displayValue)},[Je,Ze,dt,o,l,a,h,_,w,P,Le,x,ue,ve,se,$e,xe,rt,Ke,tt,Xt,ht,Ye,Lt,at,ci,me,n,B,N,X,ee,T,te,fe,A,oe,ae,ke,Ee,Pe,H,G,O,ge,Q,M,J,Me,Fe,He,st,lt,ze,mt,kt,Re,Ne,Wt,At,ut,et,ce,U,Y,W,r,s,c,f,p,b,g,L,E,Ce,Ie,It,fi,Mt,Ci,Vi,Ii]}class Zu extends Se{constructor(e){super(),ye(this,e,lh,oh,_e,{supportLink:63,playerControlsHeight:64,returnFocus:65},ih,[-1,-1,-1,-1])}}function rh(i){je(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function sh(i){let e,t,n;return t=new ju({props:{isMobile:i[1],currentQuality:i[2]}}),{c(){e=k("span"),F(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l&2&&(r.isMobile=o[1]),l&4&&(r.currentQuality=o[2]),t.$set(r)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function ah(i){let e,t;return e=new ki({props:{testId:"btn-settings",click:i[6],ariaLabel:i[0],$$slots:{default:[sh]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function uh(i,e,t){let n,o,l;const r=Et(),s=r.state.currentQuality$;j(i,s,p=>t(2,l=p));const a=r.ui.settingsMenuVisible;j(i,a,p=>t(7,n=p));const c=r.ui.isMobile;j(i,c,p=>t(1,o=p));let f;function h(){a.set(!n)}return i.$$.update=()=>{i.$$.dirty&128&&t(0,f=Z(n?"tooltip_settings_on":"tooltip_settings_off"))},[f,o,l,s,a,c,h,n]}class jl extends Se{constructor(e){super(),ye(this,e,uh,ah,_e,{},rh)}}function ch(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class fh extends Se{constructor(e){super(),ye(this,e,null,ch,_e,{})}}function dh(i){let e,t;return e=new Wu({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function mh(i){let e,t;return e=new fh({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function hh(i){let e,t,n,o;const l=[mh,dh],r=[];function s(a,c){return a[0]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){r[e].m(a,c),S(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e!==f&&(he(),v(r[f],1,1,()=>{r[f]=null}),pe(),t=r[e],t||(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function ph(i){let e,t;return e=new ki({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],ariaKeyShortCut:Wo[qe.KeyC],$$slots:{default:[hh]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function vh(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,l;return i.$$set=r=>{"isSubtitlesEnabled"in r&&t(0,n=r.isSubtitlesEnabled),"click"in r&&t(1,o=r.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=Z(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,l]}class gh extends Se{constructor(e){super(),ye(this,e,vh,ph,_e,{isSubtitlesEnabled:0,click:1})}}function bh(i){je(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 Ps(i){let e,t;return{c(){e=k("span"),t=De(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){S(n,e,o),d(e,t)},p(n,o){o&8&&ot(t,n[3])},d(n){n&&y(e)}}}function _h(i){let e,t,n,o,l,r=i[2]&&Ps(i);return{c(){e=k("div"),t=k("span"),n=De(i[4]),o=R(),r&&r.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),Dn(()=>i[7].call(e)),V(e,"mobile",i[1])},m(s,a){S(s,e,a),d(e,t),d(t,n),d(e,o),r&&r.m(e,null),l=qo(e,i[7].bind(e))},p(s,[a]){a&16&&ot(n,s[4]),s[2]?r?r.p(s,a):(r=Ps(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),a&2&&V(e,"mobile",s[1])},i:K,o:K,d(s){s&&y(e),r&&r.d(),l()}}}function wh(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:l}=e,{showDuration:r=!0}=e,{width:s}=e,a,c;function f(){s=this.clientWidth,t(0,s)}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,r=h.showDuration),"width"in h&&t(0,s=h.width)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=yn(o)),i.$$.dirty&64&&t(4,c=yn(l))},[s,n,r,a,c,o,l,f]}class Gu extends Se{constructor(e){super(),ye(this,e,wh,_h,_e,{isMobile:1,duration:5,position:6,showDuration:2,width:0},bh)}}function kh(i){je(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 yh(i){let e,t,n,o,l,r;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",r="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(s,a){S(s,e,a),d(e,t),d(t,n),d(t,o),d(t,l)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&r!==(r="volume-"+s[0]+"-icon")&&u(e,"data-testid",r)},i:K,o:K,d(s){s&&y(e)}}}function Sh(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const l=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let r;return i.$$set=s=>{"volume"in s&&t(1,n=s.volume),"muted"in s&&t(2,o=s.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,r=l(n,o))},[r,n,o]}class Qo extends Se{constructor(e){super(),ye(this,e,Sh,yh,_e,{volume:1,muted:2},kh)}}function Ph(i){let e,t;const n=i[4].default,o=Pn(n,i,i[3],null);return{c(){e=k("div"),o&&o.c(),u(e,"class","overlay")},m(l,r){S(l,e,r),o&&o.m(e,null),i[5](e),t=!0},p(l,[r]){o&&o.p&&(!t||r&8)&&Tn(o,n,l,l[3],t?Cn(n,l[3],r,null):En(l[3]),null)},i(l){t||(m(o,l),t=!0)},o(l){v(o,l),t=!1},d(l){l&&y(e),o&&o.d(l),i[5](null)}}}function Ch(i,e,t){let n,{$$slots:o={},$$scope:l}=e;const s=Et().ui.overlayContainer$;j(i,s,p=>t(2,n=p));let a;const c=p=>{!p||!a||!p.contains(a)||p.removeChild(a)},f=p=>{!p||!a||p.contains(a)||p.appendChild(a)};Yi(()=>(f(n),()=>c(n)));function h(p){We[p?"unshift":"push"](()=>{a=p,t(0,a)})}return i.$$set=p=>{"$$scope"in p&&t(3,l=p.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&f(n)},[a,s,n,l,o,h]}class Th extends Se{constructor(e){super(),ye(this,e,Ch,Ph,_e,{})}}function Eh(i){je(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 Cs(i){let e,t;return e=new Th({props:{$$slots:{default:[Ah]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ah(i){let e,t,n,o,l,r,s;return{c(){e=k("div"),t=k("div"),n=De(i[1]),o=R(),l=k("div"),u(t,"class","content v-1jbbzcj"),u(l,"class","tooltip-pointer v-1jbbzcj"),u(l,"style",r=`transform: translate(${i[5]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",s=`transform: translate(${i[6]}px, ${i[7]}px);`),V(e,"active",i[0])},m(a,c){S(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),i[17](e)},p(a,c){c&2&&ot(n,a[1]),c&32&&r!==(r=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(l,"style",r),c&192&&s!==(s=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",s),c&1&&V(e,"active",a[0])},d(a){a&&y(e),i[17](null)}}}function Lh(i){let e,t,n,o,l,r;const s=i[15].default,a=Pn(s,i,i[18],null);let c=i[1]&&Cs(i);return{c(){e=k("div"),a&&a.c(),t=R(),c&&c.c(),n=bt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),V(e,"full-width",i[2])},m(f,h){S(f,e,h),a&&a.m(e,null),i[16](e),S(f,t,h),c&&c.m(f,h),S(f,n,h),o=!0,l||(r=[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]){a&&a.p&&(!o||h&262144)&&Tn(a,s,f,f[18],o?Cn(s,f[18],h,null):En(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=Cs(f),c.c(),m(c,1),c.m(n.parentNode,n)):c&&(he(),v(c,1,1,()=>{c=null}),pe())},i(f){o||(m(a,f),m(c),o=!0)},o(f){v(a,f),v(c),o=!1},d(f){f&&(y(e),y(t),y(n)),a&&a.d(f),i[16](null),c&&c.d(f),l=!1,ni(r)}}}const No=5;function Vh(i,e,t){let n,o,{$$slots:l={},$$scope:r}=e,{content:s=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:h=!1}=e,p,b,g,_=0,L=No,E=0,w=0;const P=Qi(),B=Et(),N=B.ui.playerSize;j(i,N,A=>t(21,o=A));const U=B.ui.overlayContainer$;j(i,U,A=>t(20,n=A));const Y=B.getLogger().createComponentLog("Tooltip component"),W=()=>{if(!n)return;const A=n.getBoundingClientRect(),oe=p.getBoundingClientRect(),ae=oe.width,ke=b.clientWidth,we=o.width,Ee=(ae-ke)/2,Pe=oe.left+c-A.left;let H=Pe+Ee;const G=oe.top+f-A.top;let O=ke/2-No;const ge=H<fo,Q=H+ke>we-fo;ge&&(H=fo,O=Pe+oe.width/2-2.5*No),Q&&(H=we-fo-ke,O=oe.left-A.left+oe.width/2-H-No),t(6,E=H),t(7,w=G),t(5,_=O)},ne=()=>{try{if(!n||!p)return;W(),t(0,a=!0)}catch(A){Y({message:String(A)})}},X=()=>{t(0,a=!1)},ee=()=>{b&&(g||(g=window.setTimeout(ne,P.controls.hideTimeoutTooltips)),a&&ne())},T=()=>{X(),window.clearTimeout(g),g=void 0};jo(()=>window.clearTimeout(g));function te(A){We[A?"unshift":"push"](()=>{p=A,t(3,p)})}function fe(A){We[A?"unshift":"push"](()=>{b=A,t(4,b)})}return i.$$set=A=>{"content"in A&&t(1,s=A.content),"active"in A&&t(0,a=A.active),"translateX"in A&&t(13,c=A.translateX),"translateY"in A&&t(14,f=A.translateY),"isFullWidthWrapper"in A&&t(2,h=A.isFullWidthWrapper),"$$scope"in A&&t(18,r=A.$$scope)},[a,s,h,p,b,_,E,w,L,N,U,ee,T,c,f,l,te,fe,r]}class Ku extends Se{constructor(e){super(),ye(this,e,Vh,Lh,_e,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},Eh)}}function Ih(i){je(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 Mh(i){let e;const t=i[15].default,n=Pn(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)&&Tn(n,t,o,o[19],e?Cn(t,o[19],l,null):En(o[19]),null)},i(o){e||(m(n,o),e=!0)},o(o){v(n,o),e=!1},d(o){n&&n.d(o)}}}function Nh(i){let e,t;return e=new Ku({props:{content:i[8],translateX:i[6],translateY:i[7],isFullWidthWrapper:i[3],$$slots:{default:[Rh]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Rh(i){let e;const t=i[15].default,n=Pn(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)&&Tn(n,t,o,o[19],e?Cn(t,o[19],l,null):En(o[19]),null)},i(o){e||(m(n,o),e=!0)},o(o){v(n,o),e=!1},d(o){n&&n.d(o)}}}function Bh(i){let e,t,n,o,l,r,s,a,c;const f=[Nh,Mh],h=[];function p(b,g){return b[2]&&b[4]&&!b[9]?0:1}return t=p(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),Dn(()=>i[18].call(e))},m(b,g){S(b,e,g),h[t].m(e,null),r=qo(e,i[18].bind(e)),s=!0,a||(c=[Ae(e,"pointerdown",ft(wi(i[16]))),Ae(e,"click",ft(wi(i[17])))],a=!0)},p(b,[g]){let _=t;t=p(b),t===_?h[t].p(b,g):(he(),v(h[_],1,1,()=>{h[_]=null}),pe(),n=h[t],n?n.p(b,g):(n=h[t]=f[t](b),n.c()),m(n,1),n.m(e,null)),(!s||g&2&&o!==(o="btn-container "+b[1]+" v-p9r045"))&&u(e,"class",o),(!s||g&32&&l!==(l=b[5]||null))&&u(e,"aria-hidden",l)},i(b){s||(m(n),s=!0)},o(b){v(n),s=!1},d(b){b&&y(e),h[t].d(),r(),a=!1,ni(c)}}}function Oh(i,e,t){let n,o,{$$slots:l={},$$scope:r}=e,{className:s=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{width:f}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:p=""}=e,{disabledTooltipContent:b=Z("tooltip_button_disabled")}=e,{isAriaHidden:g=!1}=e,{initialTranslateXPx:_=0}=e,{initialTranslateYPx:L=-18}=e;const E=Et(),w=E.ui.isMobile;j(i,w,W=>t(9,o=W));const P=E.state.graphIsOpened$;j(i,P,W=>t(14,n=W));let B;function N(W){to.call(this,i,W)}function U(W){to.call(this,i,W)}function Y(){f=this.clientWidth,t(0,f)}return i.$$set=W=>{"className"in W&&t(1,s=W.className),"disabled"in W&&t(12,a=W.disabled),"hasTooltip"in W&&t(2,c=W.hasTooltip),"width"in W&&t(0,f=W.width),"isFullWidthTooltip"in W&&t(3,h=W.isFullWidthTooltip),"tooltipContent"in W&&t(4,p=W.tooltipContent),"disabledTooltipContent"in W&&t(13,b=W.disabledTooltipContent),"isAriaHidden"in W&&t(5,g=W.isAriaHidden),"initialTranslateXPx"in W&&t(6,_=W.initialTranslateXPx),"initialTranslateYPx"in W&&t(7,L=W.initialTranslateYPx),"$$scope"in W&&t(19,r=W.$$scope)},i.$$.update=()=>{i.$$.dirty&28688&&(a?t(8,B=n?Z("tooltip_disabled_when_graph_on"):b):t(8,B=p))},[f,s,c,h,p,g,_,L,B,o,w,P,a,b,n,l,N,U,Y,r]}class Gt extends Se{constructor(e){super(),ye(this,e,Oh,Bh,_e,{className:1,disabled:12,hasTooltip:2,width:0,isFullWidthTooltip:3,tooltipContent:4,disabledTooltipContent:13,isAriaHidden:5,initialTranslateXPx:6,initialTranslateYPx:7},Ih)}}function zh(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(r,s){S(r,e,s),d(e,t),d(e,o)},p(r,[s]){s&1&&n!==(n=r[0]?1:.24)&&u(t,"fill-opacity",n),s&1&&l!==(l=r[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",l)},i:K,o:K,d(r){r&&y(e)}}}function Dh(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class Fh extends Se{constructor(e){super(),ye(this,e,Dh,zh,_e,{completed:0})}}function Hh(i){je(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 Uh(i){let e,t,n,o,l;return t=new Fh({props:{completed:!!i[0].completed}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),Dn(()=>i[3].call(e)),V(e,"disabled",i[1])},m(r,s){S(r,e,s),z(t,e,null),o=qo(e,i[3].bind(e)),l=!0},p(r,s){const a={};s&1&&(a.completed=!!r[0].completed),t.$set(a),(!l||s&1&&n!==(n=`left: ${r[0].from+r[0].width/2}%`))&&u(e,"style",n),(!l||s&2)&&V(e,"disabled",r[1])},i(r){l||(m(t.$$.fragment,r),l=!0)},o(r){v(t.$$.fragment,r),l=!1},d(r){r&&y(e),D(t),o()}}}function qh(i){let e,t;return e=new Gt({props:{tooltipContent:Z(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:[Uh]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.tooltipContent=Z(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function jh(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,l;function r(){l=this.clientWidth,t(2,l)}return i.$$set=s=>{"videoEpisode"in s&&t(0,n=s.videoEpisode),"disabled"in s&&t(1,o=s.disabled)},[n,o,l,r]}class Wh extends Se{constructor(e){super(),ye(this,e,jh,qh,_e,{videoEpisode:0,disabled:1},Hh)}}function Zh(i){je(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 Ts(i,e,t){const n=i.slice();return n[2]=e[t],n}function Es(i){let e,t,n,o,l,r,s,a,c;return{c(){e=k("div"),t=k("div"),n=k("div"),l=R(),r=k("div"),a=R(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${i[2].loadedWidth/i[2].width*100}%)`),u(r,"class","video-episode-filled v-1h9p3m2"),u(r,"style",s=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),V(r,"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){S(f,e,h),d(e,t),d(t,n),d(t,l),d(t,r),d(e,a)},p(f,h){h&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),h&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(r,"style",s),h&2&&V(r,"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 Gh(i){let e,t=Zt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Es(Ts(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){S(o,e,l);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(e,null)},p(o,[l]){if(l&3){t=Zt(o[0]);let r;for(r=0;r<t.length;r+=1){const s=Ts(o,t,r);n[r]?n[r].p(s,l):(n[r]=Es(s),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},i:K,o:K,d(o){o&&y(e),rn(n,o)}}}function Kh(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 Yh extends Se{constructor(e){super(),ye(this,e,Kh,Gh,_e,{videoEpisodes:0,isMobile:1},Zh)}}function Qh(i){je(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 As(i,e,t){const n=i.slice();return n[48]=e[t],n}function Ls(i){let e,t,n=Zt(i[21]),o=[];for(let r=0;r<n.length;r+=1)o[r]=Is(As(i,n,r));const l=r=>v(o[r],1,1,()=>{o[r]=null});return{c(){e=k("div");for(let r=0;r<o.length;r+=1)o[r].c();u(e,"class","interactive-icons v-1golz1y"),V(e,"mobile",i[5]),V(e,"hidden",i[5]&&!i[20])},m(r,s){S(r,e,s);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);t=!0},p(r,s){if(s[0]&2097664){n=Zt(r[21]);let a;for(a=0;a<n.length;a+=1){const c=As(r,n,a);o[a]?(o[a].p(c,s),m(o[a],1)):(o[a]=Is(c),o[a].c(),m(o[a],1),o[a].m(e,null))}for(he(),a=n.length;a<o.length;a+=1)l(a);pe()}(!t||s[0]&32)&&V(e,"mobile",r[5]),(!t||s[0]&1048608)&&V(e,"hidden",r[5]&&!r[20])},i(r){if(!t){for(let s=0;s<n.length;s+=1)m(o[s]);t=!0}},o(r){o=o.filter(Boolean);for(let s=0;s<o.length;s+=1)v(o[s]);t=!1},d(r){r&&y(e),rn(o,r)}}}function Vs(i){let e,t;return e=new Wh({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Is(i){let e,t,n=i[48].interactive&&Vs(i);return{c(){n&&n.c(),e=bt()},m(o,l){n&&n.m(o,l),S(o,e,l),t=!0},p(o,l){o[48].interactive?n?(n.p(o,l),l[0]&2097152&&m(n,1)):(n=Vs(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),v(n,1,1,()=>{n=null}),pe())},i(o){t||(m(n),t=!0)},o(o){v(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function Xh(i){let e,t,n,o,l,r;return{c(){e=k("div"),t=k("div"),o=R(),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",r=`transform: translateX(${i[12]*100}%);`),V(l,"active-live",i[4]),V(l,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(s,a){S(s,e,a),d(e,t),d(e,o),d(e,l)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&r!==(r=`transform: translateX(${s[12]*100}%);`)&&u(l,"style",r),a[0]&16&&V(l,"active-live",s[4]),a[0]&64&&V(l,"ads",s[6])},i:K,o:K,d(s){s&&y(e)}}}function Jh(i){let e,t;return e=new Yh({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function xh(i){let e,t,n,o,l,r,s,a,c,f,h,p,b,g=i[8]&&Ls(i);const _=[Jh,Xh],L=[];function E(w,P){return w[21].length?0:1}return n=E(i),o=L[n]=_[n](i),{c(){var w;g&&g.c(),e=R(),t=k("div"),o.c(),l=R(),r=k("div"),s=k("div"),u(s,"class","handle v-1golz1y"),V(s,"active-live",i[4]),u(r,"class","handleWrap v-1golz1y"),u(r,"style",a=`transform: translateX(${i[13]*100}%);`),V(r,"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=(w=i[1])!=null?w: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(w,P){g&&g.m(w,P),S(w,e,P),S(w,t,P),L[n].m(t,null),d(t,l),d(t,r),d(r,s),i[42](t),h=!0,p||(b=[Ae(t,"pointerdown",wi(i[22])),Ae(t,"pointermove",wi(i[23])),Ae(t,"pointerup",wi(i[24])),Ae(t,"pointerenter",wi(i[25])),Ae(t,"pointerleave",wi(i[26])),Ae(t,"click",ft(le.noop)),Ae(t,"wheel",i[27])],p=!0)},p(w,P){var N;w[8]?g?(g.p(w,P),P[0]&256&&m(g,1)):(g=Ls(w),g.c(),m(g,1),g.m(e.parentNode,e)):g&&(he(),v(g,1,1,()=>{g=null}),pe());let B=n;n=E(w),n===B?L[n].p(w,P):(he(),v(L[B],1,1,()=>{L[B]=null}),pe(),o=L[n],o?o.p(w,P):(o=L[n]=_[n](w),o.c()),m(o,1),o.m(t,l)),(!h||P[0]&16)&&V(s,"active-live",w[4]),(!h||P[0]&8192&&a!==(a=`transform: translateX(${w[13]*100}%);`))&&u(r,"style",a),(!h||P[0]&1024)&&V(r,"hidden",w[10]),(!h||P[0]&1&&c!==(c="slider "+w[0]+" v-1golz1y"))&&u(t,"class",c),(!h||P[0]&16384)&&u(t,"aria-label",w[14]),(!h||P[0]&32768)&&u(t,"aria-valuemin",w[15]),(!h||P[0]&65536)&&u(t,"aria-valuemax",w[16]),(!h||P[0]&131072)&&u(t,"aria-valuenow",w[17]),(!h||P[0]&262144)&&u(t,"aria-valuetext",w[18]),(!h||P[0]&2&&f!==(f=(N=w[1])!=null?N:null))&&u(t,"data-testid",f),(!h||P[0]&513)&&V(t,"disabled",w[9]),(!h||P[0]&1048577)&&V(t,"slider-dragging",w[20]),(!h||P[0]&5)&&V(t,"hidden",w[2]),(!h||P[0]&9)&&V(t,"slider-vertical",w[3]),(!h||P[0]&1025)&&V(t,"no-handle",w[10]),(!h||P[0]&129)&&V(t,"square",w[7])},i(w){h||(m(g),m(o),h=!0)},o(w){v(g),v(o),h=!1},d(w){w&&(y(e),y(t)),g&&g.d(w),L[n].d(),i[42](null),p=!1,ni(b)}}}function $h(i,e,t){let n,o,{className:l=""}=e,{testId:r=void 0}=e,{isHidden:s=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:h=!1}=e,{squareBorders:p=!1}=e,{videoEpisodes:b=[]}=e,{withWheelHandler:g=!1}=e,{isInteractive:_=!1}=e,{disabled:L=!1}=e,{hideHandel:E=!1}=e,w,P,{onPointerDown:B=le.noop}=e,{onHandleMove:N=le.noop}=e,{onPointerUp:U=le.noop}=e,{onPointerEnter:Y=le.noop}=e,{onPointerMove:W=le.noop}=e,{onPointerLeave:ne=le.noop}=e,{onWheelUp:X=le.noop}=e,{onWheelDown:ee=le.noop}=e,{onWheelLeft:T=le.noop}=e,{onWheelRight:te=le.noop}=e,{loadedProgress:fe=0}=e,{filledProgress:A=0}=e,{handleProgress:oe=0}=e,{ariaLabel:ae=""}=e,{ariaValueMin:ke=void 0}=e,{ariaValueMax:we=void 0}=e,{ariaValueNow:Ee=void 0}=e,{ariaValueText:Pe=""}=e;const H=Qi();let G=!1,O;function ge(se){if(G)return;t(20,G=!0),P=w.getBoundingClientRect();const Fe=Le(se.clientX,se.clientY);B(Fe),w.setPointerCapture(se.pointerId)}function Q(se){const Fe=Le(se.clientX,se.clientY),He=x(se.clientX);W(Fe,He,P.width),G&&N(Fe)}function M(se){if(!G)return;t(20,G=!1);const Fe=Le(se.clientX,se.clientY);U(Fe)}function J(se){P=w.getBoundingClientRect();const Fe=Le(se.clientX,se.clientY),He=x(se.clientX);Y(Fe,He,P.width)}function Me(){ne()}function Te(se){g&&(se.preventDefault(),se.deltaY<0?X():se.deltaY>0?ee():se.deltaX>0?te():T())}function Le(se,Fe){return a?Math.max(0,Math.min(1,(P.height-(Fe-P.top))/P.height)):Math.min(Math.max(se-P.x,0),P.width)/P.width}function x(se){return Math.min(Math.max(se-P.x,0),P.width)}function ue(se,Fe){const He=H.features.episodesClustering&&!_?H.episodeMinWidthPc:0,st=[];let lt=0,ze=0,mt=0;for(let Ne=1;Ne<b.length;Ne++)ze=b[Ne].time/O*100,ze-lt>He&&(st.push({from:lt,width:Math.max(0,ze-lt),loadedWidth:Math.max(0,Math.min(ze,se)-lt),filledWidth:Math.max(0,Math.min(ze,Fe)-lt),interactive:b[Ne-1].interactive,completed:b[Ne-1].completed}),lt=b[Ne].time/O*100,mt++);const kt={from:lt,width:Math.max(0,100-lt),loadedWidth:Math.max(0,Math.min(se,100)-lt),filledWidth:Math.max(0,Math.min(Fe,100)-lt),interactive:b[mt].interactive,completed:b[mt].completed};100-lt<He?(mt-=1,st[mt].width+=100-lt,st[mt].loadedWidth+=Math.max(0,Math.min(se,100)-lt),st[mt].filledWidth+=Math.max(0,Math.min(Fe,100)-lt)):st[mt]=kt;const Re=b[0].time;if(Re!==0){const Ne=Re/O*100;st.unshift({from:0,width:Ne,loadedWidth:Math.min(Ne,se),filledWidth:Math.min(Ne,Fe)})}return st}function ve(se){We[se?"unshift":"push"](()=>{w=se,t(19,w)})}return i.$$set=se=>{"className"in se&&t(0,l=se.className),"testId"in se&&t(1,r=se.testId),"isHidden"in se&&t(2,s=se.isHidden),"isVertical"in se&&t(3,a=se.isVertical),"isActiveLive"in se&&t(4,c=se.isActiveLive),"isMobile"in se&&t(5,f=se.isMobile),"isAds"in se&&t(6,h=se.isAds),"squareBorders"in se&&t(7,p=se.squareBorders),"videoEpisodes"in se&&t(28,b=se.videoEpisodes),"withWheelHandler"in se&&t(29,g=se.withWheelHandler),"isInteractive"in se&&t(8,_=se.isInteractive),"disabled"in se&&t(9,L=se.disabled),"hideHandel"in se&&t(10,E=se.hideHandel),"onPointerDown"in se&&t(30,B=se.onPointerDown),"onHandleMove"in se&&t(31,N=se.onHandleMove),"onPointerUp"in se&&t(32,U=se.onPointerUp),"onPointerEnter"in se&&t(33,Y=se.onPointerEnter),"onPointerMove"in se&&t(34,W=se.onPointerMove),"onPointerLeave"in se&&t(35,ne=se.onPointerLeave),"onWheelUp"in se&&t(36,X=se.onWheelUp),"onWheelDown"in se&&t(37,ee=se.onWheelDown),"onWheelLeft"in se&&t(38,T=se.onWheelLeft),"onWheelRight"in se&&t(39,te=se.onWheelRight),"loadedProgress"in se&&t(11,fe=se.loadedProgress),"filledProgress"in se&&t(12,A=se.filledProgress),"handleProgress"in se&&t(13,oe=se.handleProgress),"ariaLabel"in se&&t(14,ae=se.ariaLabel),"ariaValueMin"in se&&t(15,ke=se.ariaValueMin),"ariaValueMax"in se&&t(16,we=se.ariaValueMax),"ariaValueNow"in se&&t(17,Ee=se.ariaValueNow),"ariaValueText"in se&&t(18,Pe=se.ariaValueText)},i.$$.update=()=>{var se;i.$$.dirty[0]&65536&&t(40,O=we!=null?we:0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=((se=b[b.length-1])==null?void 0:se.time)<O),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=b.length&&n&&O?ue(fe*100,A*100):[])},[l,r,s,a,c,f,h,p,_,L,E,fe,A,oe,ae,ke,we,Ee,Pe,w,G,o,ge,Q,M,J,Me,Te,b,g,B,N,U,Y,W,ne,X,ee,T,te,O,n,ve]}class Wl extends Se{constructor(e){super(),ye(this,e,$h,xh,_e,{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},Qh,[-1,-1])}}const on=(i,e)=>no[i]>=no[e],e3=(i,e)=>no[i]<no[e],Yu=(i,e)=>no[i]<=no[e],t3=i=>i>Jn.L?exports.GridTypes.XL:i>Jn.M?exports.GridTypes.L:i>Jn.S?exports.GridTypes.M:i>Jn.XS?exports.GridTypes.S:exports.GridTypes.XS;function i3(i){je(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 n3(i){let e,t;return e=new Qo({props:{volume:i[4],muted:i[2]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function o3(i){let e,t;return e=new ki({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],ariaKeyShortCut:Wo[qe.KeyM],$$slots:{default:[n3]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ms(i){let e,t,n;return t=new Wl({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]:le.noop,onPointerLeave:i[3]?i[18]:le.noop,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"),F(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),V(e,"volumeBar-vertical",i[3])},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[0]&8&&(r.className=o[3]?"volumeBar-slider-vertical":""),l[0]&40&&(r.isHidden=o[3]&&!o[5]),l[0]&8&&(r.isVertical=o[3]),l[0]&8&&(r.onPointerEnter=o[3]?o[17]:le.noop),l[0]&8&&(r.onPointerLeave=o[3]?o[18]:le.noop),l[0]&256&&(r.ariaValueNow=Math.round(o[8]*100)),l[0]&256&&(r.ariaValueText=`${Math.round(o[8]*100)}%`),l[0]&256&&(r.filledProgress=o[8]),l[0]&256&&(r.handleProgress=o[8]),l[0]&8&&(r.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(r),(!n||l[0]&8)&&V(e,"volumeBar-vertical",o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function l3(i){let e,t,n,o,l,r;t=new Ku({props:{content:i[6],translateY:-18,$$slots:{default:[o3]},$$scope:{ctx:i}}});let s=i[0]&&Ms(i);return{c(){e=k("div"),F(t.$$.fragment),n=R(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),V(e,"vertical",i[3])},m(a,c){S(a,e,c),z(t,e,null),d(e,n),s&&s.m(e,null),o=!0,l||(r=[Ae(e,"mouseenter",function(){Sn(i[3]?i[19]:le.noop)&&(i[3]?i[19]:le.noop).apply(this,arguments)}),Ae(e,"mouseleave",function(){Sn(i[3]?i[20]:le.noop)&&(i[3]?i[20]:le.noop).apply(this,arguments)}),Ae(e,"wheel",wi(i[21]))],l=!0)},p(a,c){i=a;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]?s?(s.p(i,c),c[0]&1&&m(s,1)):(s=Ms(i),s.c(),m(s,1),s.m(e,null)):s&&(he(),v(s,1,1,()=>{s=null}),pe()),(!o||c[0]&8)&&V(e,"vertical",i[3])},i(a){o||(m(t.$$.fragment,a),m(s),o=!0)},o(a){v(t.$$.fragment,a),v(s),o=!1},d(a){a&&y(e),D(t),s&&s.d(),l=!1,ni(r)}}}function r3(i,e,t){let n,o,l,{isAudioAvailable:r=!0}=e,{click:s}=e;const a=Et(),c=Qi(),f=a.state.volume$;j(i,f,ke=>t(4,n=ke));const h=a.state.muted$;j(i,h,ke=>t(23,l=ke));const p=a.actions.internal.setVolume,b=a.ui.currentGridType$;j(i,b,ke=>t(22,o=ke));let g=!1,_,L,E,w,P,B,N=1,U=!1;function Y(ke){N=n,p(ke)}function W(){Du(a,n,c.controls.volumeStepWheel)}function ne(){Fu(a,n,c.controls.volumeStepWheel)}function X(ke){p(ke)}function ee(ke){const we=ke;p(we,we===0?N:we)}function T(){U=!0}function te(){U=!1,oe()}function fe(){clearTimeout(_),t(5,g=!0)}function A(){oe()}function oe(){_=window.setTimeout(()=>{U||t(5,g=!1)},c.controls.volumeBarTimeout)}function ae(ke){ke.deltaY<0?W():ke.deltaY>0&&ne()}return i.$$set=ke=>{"isAudioAvailable"in ke&&t(0,r=ke.isAudioAvailable),"click"in ke&&t(1,s=ke.click)},i.$$.update=()=>{i.$$.dirty[0]&8388609&&t(2,w=!r||l),i.$$.dirty[0]&4194304&&t(3,P=Yu(o,exports.GridTypes.S)),i.$$.dirty[0]&12&&(P?t(6,L=""):t(6,L=Z(w?"tooltip_volume":"tooltip_volume_muted")),t(7,E=Z(w?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,B=w?0:n)},[r,s,w,P,n,g,L,E,B,f,h,b,Y,W,ne,X,ee,T,te,fe,A,ae,o,l]}class s3 extends Se{constructor(e){super(),ye(this,e,r3,l3,_e,{isAudioAvailable:0,click:1},i3,[-1,-1])}}function a3(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){S(t,e,n)},d(t){t&&y(e)}}}function u3(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){S(t,e,n)},d(t){t&&y(e)}}}function c3(i){let e,t,n;function o(s,a){return s[0]?u3:a3}let l=o(i),r=l(i);return{c(){e=I("svg"),t=I("g"),r.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(s,a){S(s,e,a),d(e,t),r.m(t,null)},p(s,[a]){l!==(l=o(s))&&(r.d(1),r=l(s),r&&(r.c(),r.m(t,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:K,o:K,d(s){s&&y(e),r.d()}}}function f3(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class d3 extends Se{constructor(e){super(),ye(this,e,f3,c3,_e,{isFullscreen:0})}}function m3(i){let e,t;return e=new d3({props:{isFullscreen:i[0]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function h3(i){let e,t;return e=new ki({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],ariaKeyShortCut:Wo[qe.KeyF],$$slots:{default:[m3]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function p3(i,e,t){let{isFullscreen:n=!1}=e,{click:o=le.noop}=e,l;return i.$$set=r=>{"isFullscreen"in r&&t(0,n=r.isFullscreen),"click"in r&&t(1,o=r.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=Z(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,l]}class Qu extends Se{constructor(e){super(),ye(this,e,p3,h3,_e,{isFullscreen:0,click:1})}}function v3(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Zl extends Se{constructor(e){super(),ye(this,e,null,v3,_e,{})}}function g3(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Xu extends Se{constructor(e){super(),ye(this,e,null,g3,_e,{})}}function b3(i){je(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 Ns(i){let e;return{c(){e=k("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){S(t,e,n)},d(t){t&&y(e)}}}function _3(i){let e,t,n,o,l=i[0]&&Ns();var r=i[6];function s(a){return{}}return r&&(n=mn(r,s())),{c(){l&&l.c(),e=R(),t=k("div"),n&&F(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[0])},m(a,c){l&&l.m(a,c),S(a,e,c),S(a,t,c),n&&z(n,t,null),o=!0},p(a,c){if(a[0]?l||(l=Ns(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),c&64&&r!==(r=a[6])){if(n){he();const f=n;v(f.$$.fragment,1,0,()=>{D(f,1)}),pe()}r?(n=mn(r,s()),F(n.$$.fragment),m(n.$$.fragment,1),z(n,t,null)):n=null}(!o||c&1)&&V(t,"mobile",a[0])},i(a){o||(n&&m(n.$$.fragment,a),o=!0)},o(a){n&&v(n.$$.fragment,a),o=!1},d(a){a&&(y(e),y(t)),l&&l.d(a),n&&D(n)}}}function w3(i){let e,t;return e=new ki({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:Wo[qe.KeyK],$$slots:{default:[_3]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function k3(i,e,t){let n,o;const{fakeIsPlaying$:l}=z1();j(i,l,_=>t(11,o=_));let{isMobile:r=!1}=e,{isPlaying:s=!1}=e,{disabled:a=!1}=e,{className:c=""}=e,{click:f=le.noop}=e;const{toggle:h}=l;let p,b,g;return i.$$set=_=>{"isMobile"in _&&t(0,r=_.isMobile),"isPlaying"in _&&t(9,s=_.isPlaying),"disabled"in _&&t(1,a=_.disabled),"className"in _&&t(2,c=_.className),"click"in _&&t(3,f=_.click)},i.$$.update=()=>{i.$$.dirty&2048&&t(4,p=o!==null),i.$$.dirty&2576&&t(10,b=p?o:s),i.$$.dirty&1024&&t(5,g=Z(b?"tooltip_pause":"tooltip_play")),i.$$.dirty&1024&&t(6,n=b?Xu:Zl)},[r,a,c,f,p,g,n,l,h,s,b,o]}class Gl extends Se{constructor(e){super(),ye(this,e,k3,w3,_e,{isMobile:0,isPlaying:9,disabled:1,className:2,click:3},b3)}}function y3(i){je(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 S3(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){S(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 P3(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 C3 extends Se{constructor(e){super(),ye(this,e,P3,S3,_e,{isPrev:0,isMobile:1},y3)}}function T3(i){let e,t;return e=new C3({props:{isMobile:i[0],isPrev:i[2]==="prev"}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function E3(i){let e,t;return e=new ki({props:{testId:"btn-"+i[2],disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[T3]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function A3(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{type:l}=e,{click:r}=e,s;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"disabled"in a&&t(1,o=a.disabled),"type"in a&&t(2,l=a.type),"click"in a&&t(3,r=a.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,s=Z(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,l,r,s]}class Xo extends Se{constructor(e){super(),ye(this,e,A3,E3,_e,{isMobile:0,disabled:1,type:2,click:3})}}function L3(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class V3 extends Se{constructor(e){super(),ye(this,e,null,L3,_e,{})}}function Rs(i){let e,t,n,o,l,r,s;return{c(){e=I("path"),t=I("path"),n=I("path"),o=I("path"),l=I("path"),r=I("path"),s=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(r,"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(r,"fill","white"),u(s,"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(s,"fill","white")},m(a,c){S(a,e,c),S(a,t,c),S(a,n,c),S(a,o,c),S(a,l,c),S(a,r,c),S(a,s,c)},d(a){a&&(y(e),y(t),y(n),y(o),y(l),y(r),y(s))}}}function I3(i){let e,t,n,o=!i[0]&&Rs();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,r){S(l,e,r),d(e,t),o&&o.m(e,null)},p(l,[r]){l[0]?o&&(o.d(1),o=null):o||(o=Rs(),o.c(),o.m(e,null)),r&2&&u(e,"width",l[1]),r&2&&n!==(n="0 0 "+(l[1]+1)+" 20")&&u(e,"viewBox",n),r&4&&u(e,"data-testid",l[2])},i:K,o:K,d(l){l&&y(e),o&&o.d()}}}function M3(i,e,t){let{short:n=!1}=e,o,l;return i.$$set=r=>{"short"in r&&t(0,n=r.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 N3 extends Se{constructor(e){super(),ye(this,e,M3,I3,_e,{short:0})}}function R3(i){let e,t;return e=new V3({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p:K,i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function B3(i){let e,t;return e=new N3({props:{short:i[3]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function O3(i){let e,t,n,o;const l=[B3,R3],r=[];function s(a,c){return a[1]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){r[e].m(a,c),S(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?r[e].p(a,c):(he(),v(r[f],1,1,()=>{r[f]=null}),pe(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function z3(i){let e,t;return e=new ki({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:[O3]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function D3(i,e,t){let n,o,l,{logoClickable:r=!1}=e,{videoLogoUrl:s=void 0}=e,{click:a}=e;const c=Qi(),{logoLink:f,addTimeToLogoLink:h}=c,p=Et(),b=p.state.positionWithScrubbing$;j(i,b,B=>t(12,n=B));const g=p.ui.currentGridType$;j(i,g,B=>t(10,o=B));const _=p.ui.isMobile;j(i,_,B=>t(11,l=B));let L,E,w;const P=()=>{let B;if(E||!s)B=f;else{const N=Math.round(n);if(h&&N){const U=new URL(s);U.searchParams.append("t",le.timeCodeToString(N)),B=U.toString()}else B=s}a(),window.open(B,"_blank")};return i.$$set=B=>{"logoClickable"in B&&t(0,r=B.logoClickable),"videoLogoUrl"in B&&t(8,s=B.videoLogoUrl),"click"in B&&t(9,a=B.click)},i.$$.update=()=>{i.$$.dirty&3074&&t(3,w=(l||Yu(o,exports.GridTypes.L))&&E)},t(2,L=c.logoType===io.VK_VIDEO?Z("tooltip_vk_video_logo"):Z("tooltip_vk_logo")),t(1,E=c.logoType===io.VK_VIDEO),[r,E,L,w,b,g,_,P,s,a,o,l]}class Ju extends Se{constructor(e){super(),ye(this,e,D3,z3,_e,{logoClickable:0,videoLogoUrl:8,click:9})}}function F3(i){je(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 H3(i){let e,t,n,o,l,r,s,a;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),r=I("path"),s=I("path"),a=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(r,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(r,"fill","#fff"),u(s,"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"),V(a,"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){S(c,e,f),d(e,t),d(t,n),d(t,o),d(t,l),d(t,r),d(t,s),d(t,a)},p(c,f){f&2&&V(a,"hidden",!c[1]),f&4&&V(e,"connecting",c[2])},d(c){c&&y(e)}}}function U3(i){let e,t,n,o,l,r,s,a,c,f,h,p,b,g,_,L,E,w,P,B,N;return{c(){e=I("svg"),t=I("g"),n=I("mask"),o=I("path"),r=I("path"),s=I("path"),c=I("path"),f=I("defs"),h=I("clipPath"),p=I("path"),g=I("filter"),_=I("feFlood"),L=I("feColorMatrix"),E=I("feOffset"),w=I("feGaussianBlur"),P=I("feColorMatrix"),B=I("feBlend"),N=I("feBlend"),u(o,"fill",l=i[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),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(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(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(s,"fill",a=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(p,"fill",b=i[1]?"#2688EB":"#fff"),u(p,"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(w,"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(B,"in2","BackgroundImageFix"),u(B,"result","effect1_dropShadow_4085_178456"),u(N,"in","SourceGraphic"),u(N,"in2","effect1_dropShadow_4085_178456"),u(N,"result","shape"),u(g,"id","b"),u(g,"x","-3.4"),u(g,"y","-1.4"),u(g,"width","30.8"),u(g,"height","26.802"),u(g,"filterUnits","userSpaceOnUse"),u(g,"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(U,Y){S(U,e,Y),d(e,t),d(t,n),d(n,o),d(n,r),d(t,s),d(t,c),d(e,f),d(f,h),d(h,p),d(f,g),d(g,_),d(g,L),d(g,E),d(g,w),d(g,P),d(g,B),d(g,N)},p(U,Y){Y&2&&l!==(l=U[1]?"#2688EB":"#fff")&&u(o,"fill",l),Y&2&&a!==(a=U[1]?"#2688EB":"#fff")&&u(s,"fill",a),Y&2&&b!==(b=U[1]?"#2688EB":"#fff")&&u(p,"fill",b)},d(U){U&&y(e)}}}function q3(i){let e;function t(l,r){return l[0]?U3:H3}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,r){o.m(l,r),S(l,e,r)},p(l,[r]){n===(n=t(l))&&o?o.p(l,r):(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 j3(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,l,r;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"state"in s&&t(3,o=s.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,r=o===nt.ChromecastState.CONNECTING),t(1,l=o===nt.ChromecastState.CONNECTED))},[n,l,r,o]}class W3 extends Se{constructor(e){super(),ye(this,e,j3,q3,_e,{isMobile:0,state:3},F3)}}function Z3(i){let e,t;return e=new W3({props:{isMobile:i[0],state:i[1]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function G3(i){let e,t;return e=new ki({props:{ariaLabel:i[3],click:i[2],testId:"btn-chromecast",$$slots:{default:[Z3]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function K3(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,{click:l=le.noop}=e,r;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"state"in s&&t(1,o=s.state),"click"in s&&t(2,l=s.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=o===nt.ChromecastState.CONNECTED?Z("tooltip_chromecast_on"):Z("tooltip_chromecast_off"))},[n,o,l,r]}class xu extends Se{constructor(e){super(),ye(this,e,K3,G3,_e,{isMobile:0,state:1,click:2})}}function Y3(i){let e,t;return e=new Nu({props:{isActive:i[1]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Q3(i){let e,t;return e=new ki({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1]&&i[3]===nt.PlaybackState.PLAYING,ariaLabel:i[2],click:i[4],$$slots:{default:[Y3]},$$scope:{ctx:i}}}),{c(){F(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]===nt.PlaybackState.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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function X3(i,e,t){let n,{isMobile:o=!1}=e,{isActiveLive:l=!1}=e,{ariaLabel:r=""}=e;const s=Et(),a=s.state.playbackState$;j(i,a,p=>t(3,n=p));const c=s.actions.internal.switchToActiveLive,f=s.actions.internal.togglePlay;let h;return i.$$set=p=>{"isMobile"in p&&t(0,o=p.isMobile),"isActiveLive"in p&&t(1,l=p.isActiveLive),"ariaLabel"in p&&t(2,r=p.ariaLabel)},i.$$.update=()=>{i.$$.dirty&10&&t(4,h=()=>{if(!l){c();return}n===nt.PlaybackState.PAUSED&&f()})},[o,l,r,n,h,a]}class $u extends Se{constructor(e){super(),ye(this,e,X3,Q3,_e,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function J3(i){je(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 x3(i){let e,t,n,o;const l=i[9].default,r=Pn(l,i,i[8],null);return{c(){e=k("div"),t=k("div"),r&&r.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(s,a){S(s,e,a),d(e,t),r&&r.m(t,null),i[10](t),i[11](e),o=!0},p(s,[a]){r&&r.p&&(!o||a&256)&&Tn(r,l,s,s[8],o?Cn(l,s[8],a,null):En(s[8]),null),(!o||a&1)&&V(t,"active",s[0]),(!o||a&2)&&V(t,"pointer",s[1]),(!o||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){o||(m(r,s),o=!0)},o(s){v(r,s),o=!1},d(s){s&&y(e),r&&r.d(s),i[10](null),i[11](null)}}}function $3(i,e,t){let n,{$$slots:o={},$$scope:l}=e,{active:r=!1}=e,{pointer:s=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,h,p;function b(L){if(!p)return 0;const{width:E}=p.getBoundingClientRect(),w=E/2;return L<w?w:L>f-w?f-w:L}function g(L){We[L?"unshift":"push"](()=>{p=L,t(4,p)})}function _(L){We[L?"unshift":"push"](()=>{h=L,t(3,h)})}return i.$$set=L=>{"active"in L&&t(0,r=L.active),"pointer"in L&&t(1,s=L.pointer),"translateXPx"in L&&t(6,a=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=b(a))},[r,s,c,h,p,n,a,f,l,o,g,_]}class ep extends Se{constructor(e){super(),ye(this,e,$3,x3,_e,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},J3)}}const ec=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function tp(i){je(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 Bs(i){let e;function t(l,r){return l[2]&&l[10].completed===!1?np:ip}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,r){o.m(l,r),S(l,e,r)},p(l,r){n===(n=t(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&y(e),o.d(l)}}}function ip(i){let e=(i[10].text||"")+"",t;return{c(){t=De(e)},m(n,o){S(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&ot(t,e)},d(n){n&&y(t)}}}function np(i){let e=Z("tooltip_episode_unfinished")+"",t;return{c(){t=De(e)},m(n,o){S(n,t,o)},p:K,d(n){n&&y(t)}}}function op(i){let e,t,n,o,l,r,s,a,c=i[10]&&Bs(i);return{c(){e=k("div"),t=k("div"),o=R(),l=k("div"),c&&c.c(),r=R(),s=k("div"),a=De(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(s,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),V(e,"mobile",i[1])},m(f,h){S(f,e,h),d(e,t),d(e,o),d(e,l),c&&c.m(l,null),d(e,r),d(e,s),d(s,a)},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=Bs(f),c.c(),c.m(l,null)):c&&(c.d(1),c=null),h&1&&ot(a,f[0]),h&2&&V(e,"mobile",f[1])},i:K,o:K,d(f){f&&y(e),c&&c.d()}}}const Qn=150;function lp(i,e,t){let n,{time:o=""}=e,{isMobile:l=!1}=e,{videoEpisodes:r=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const p=Et().ui.rotateAlpha;j(i,p,Y=>t(11,n=Y));let b,g,_,L,E,w,P,B;function N(){let Y=s.frameWidth,W=s.frameHeight;return Y>Qn?(W=W/Y*Qn,Y=Qn):W>Qn&&(Y=Y/W*Qn,W=Qn),{width:Y,height:W}}function U(Y){let W;s.isUV?W=Math.floor(c*Y/s.frequency):W=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*Y)));const ne=Math.floor(W/s.countPerImage),X=Math.floor(W%s.countPerImage/s.countPerRow),ee=W%s.countPerRow;let T=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&ne===Math.floor(s.countTotal/s.countPerImage)&&(T=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&T++);let te=s.countPerRow;!s.isUV&&ne===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(te=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const fe=b*te,A=g*T,oe=-ee*b,ae=-X*g;return{imgSrc:s.links[ne],imgWidth:fe,imgHeight:A,imgOffsetX:oe,imgOffsetY:ae}}return i.$$set=Y=>{"time"in Y&&t(0,o=Y.time),"isMobile"in Y&&t(1,l=Y.isMobile),"videoEpisodes"in Y&&t(13,r=Y.videoEpisodes),"previewThumbsData"in Y&&t(14,s=Y.previewThumbsData),"progress"in Y&&t(15,a=Y.progress),"duration"in Y&&t(16,c=Y.duration),"isInteractive"in Y&&t(2,f=Y.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:_,imgWidth:L,imgHeight:E,imgOffsetX:w,imgOffsetY:P}=U(a),_,(t(6,L),t(15,a)),(t(7,E),t(15,a)),(t(8,w),t(15,a)),(t(9,P),t(15,a))),i.$$.dirty&106496&&t(10,B=ec(a,c,r))},t(3,{width:b,height:g}=N(),b,t(4,g)),[o,l,f,b,g,_,L,E,w,P,B,n,p,r,s,a,c]}class rp extends Se{constructor(e){super(),ye(this,e,lp,op,_e,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},tp)}}function sp(i){je(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 ap(i){let e,t;return{c(){e=k("span"),t=De(i[7]),u(e,"class","time v-5lzly8")},m(n,o){S(n,e,o),d(e,t)},p(n,o){o[0]&128&&ot(t,n[7])},i:K,o:K,d(n){n&&y(e)}}}function up(i){let e,t;return e=new rp({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function cp(i){let e,t,n,o;const l=[up,ap],r=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){r[e].m(a,c),S(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?r[e].p(a,c):(he(),v(r[f],1,1,()=>{r[f]=null}),pe(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function fp(i){let e,t,n,o;const l=[i[9]];let r={$$slots:{default:[cp]},$$scope:{ctx:i}};for(let s=0;s<l.length;s+=1)r=C1(r,l[s]);return e=new ep({props:r}),n=new Wl({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:Z("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:Z("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(vt.TIMELINE),hideHandel:i[2]}}),{c(){F(e.$$.fragment),t=R(),F(n.$$.fragment)},m(s,a){z(e,s,a),S(s,t,a),z(n,s,a),o=!0},p(s,a){const c=a[0]&512?Gc(l,[Kc(s[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:s}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=s[11]),a[0]&1024&&(f.isMobile=s[10]),a[0]&2&&(f.ariaValueMax=s[1]),a[0]&64&&(f.ariaValueNow=Math.round(s[6]*100)),a[0]&48&&(f.ariaValueText=Z("aria_timeline_value",{position:s[5],duration:s[4]})),a[0]&4096&&(f.loadedProgress=s[12]),a[0]&64&&(f.filledProgress=s[6]),a[0]&64&&(f.handleProgress=s[6]),a[0]&8&&(f.videoEpisodes=s[3]),a[0]&8192&&(f.disabled=s[13].has(vt.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){o||(m(e.$$.fragment,s),m(n.$$.fragment,s),o=!0)},o(s){v(e.$$.fragment,s),v(n.$$.fragment,s),o=!1},d(s){s&&y(t),D(e,s),D(n,s)}}}function dp(i,e,t){let n,o,l,r,s,a,c,f,h,p,b,{showTimeline:g=!1}=e;const _=Et(),L=Qi(),E=_.state.bufferedProgress$;j(i,E,ve=>t(12,p=ve));const w=_.state.positionWithScrubbing$;j(i,w,ve=>t(39,a=ve));const P=_.state.duration$;j(i,P,ve=>t(1,l=ve));const B=_.state.isLive$;j(i,B,ve=>t(0,o=ve));const N=_.state.isActiveLive$;j(i,N,ve=>t(11,h=ve));const U=_.ui.isMobile;j(i,U,ve=>t(10,f=ve));const Y=L.features.episodes?_.actions.internal.getVideoEpisodes():void 0,W=_.actions.internal.getPreviewThumbsData(),ne=_.state.interactiveEpisodes$;j(i,ne,ve=>t(40,c=ve));const X=_.state.isInteractive,ee=_.state.isInteractiveTime$;j(i,ee,ve=>t(2,r=ve));const T=_.state.isInteractiveExpectation$;j(i,T,ve=>t(38,s=ve));const te=_.actions.internal.correctSeekTimeToInteractive,fe=_.ui.controls.disabledControls$;j(i,fe,ve=>t(13,b=ve));let A,oe,ae,ke,we=!1,Ee="",Pe=0,H=0,G=0,O;function ge(ve){return!te||!X?ve:te(ve*l)/l}function Q(ve){_.actions.internal.startScrubbing(ge(ve))}function M(ve){r||_.actions.internal.progressScrubbing(ge(ve))}function J(ve){_.actions.internal.completeScrubbing(ge(ve)),t(34,we=!1)}function Me(ve,se,Fe){x(ve,se,Fe),t(34,we=!0)}function Te(ve,se,Fe){x(ve,se,Fe),t(34,we=!0)}function Le(){t(34,we=!1)}function x(ve,se,Fe){t(8,G=ve),t(35,Pe=se),Fe&&t(36,H=Fe),t(7,Ee=ue(ve))}function ue(ve){const se=yn((o?1-ve:ve)*l);return o?`-${se}`:se}return i.$$set=ve=>{"showTimeline"in ve&&t(33,g=ve.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,A=X?c:Y),i.$$.dirty[0]&2&&t(4,oe=yn(l)),i.$$.dirty[1]&256&&t(5,ae=yn(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,ke=a/l),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,O=s||r),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:H,translateXPx:Pe,translateYPx:X&&W?-36:-16,active:we&&g&&!O,pointer:!L.features.timelinePreview||!W||o})},[o,l,r,A,oe,ae,ke,Ee,G,n,f,h,p,b,L,E,w,P,B,N,U,W,ne,X,ee,T,fe,Q,M,J,Me,Te,Le,g,we,Pe,H,O,s,a,c]}let mp=class extends Se{constructor(e){super(),ye(this,e,dp,fp,_e,{showTimeline:33},sp,[-1,-1])}};function hp(i){let e,t;return e=new Wl({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:Z("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){F(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=Z("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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function pp(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const s=Et().ui.isMobile;j(i,s,h=>t(4,n=h));let a,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,a=yn(l)),i.$$.dirty&64&&t(2,c=yn(o)),i.$$.dirty&65&&t(3,f=o/l)},[l,a,c,f,n,s,o]}class tc extends Se{constructor(e){super(),ye(this,e,pp,hp,_e,{position:6,duration:0})}}function vp(i){je(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 gp(i){let e;return{c(){e=k("div"),u(e,"class","timeline-stub v-1gqonyf"),V(e,"mobile",i[2])},m(t,n){S(t,e,n)},p(t,n){n&4&&V(e,"mobile",t[2])},i:K,o:K,d(t){t&&y(e)}}}function bp(i){let e,t,n,o;const l=[wp,_p],r=[];function s(a,c){return a[0]?0:1}return t=s(i),n=r[t]=l[t](i),{c(){e=k("div"),n.c(),u(e,"class","timeline v-1gqonyf"),V(e,"mobile",i[2])},m(a,c){S(a,e,c),r[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?r[t].p(a,c):(he(),v(r[f],1,1,()=>{r[f]=null}),pe(),n=r[t],n?n.p(a,c):(n=r[t]=l[t](a),n.c()),m(n,1),n.m(e,null)),(!o||c&4)&&V(e,"mobile",a[2])},i(a){o||(m(n),o=!0)},o(a){v(n),o=!1},d(a){a&&y(e),r[t].d()}}}function _p(i){let e,t;return e=new mp({props:{showTimeline:i[1]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function wp(i){let e,t;return e=new tc({props:{position:i[3],duration:i[4]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function kp(i){let e,t,n,o;const l=[bp,gp],r=[];function s(a,c){return a[1]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){r[e].m(a,c),S(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?r[e].p(a,c):(he(),v(r[f],1,1,()=>{r[f]=null}),pe(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function yp(i,e,t){let n,o,l,r,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const h=Et(),p=h.state.isLive$;j(i,p,E=>t(12,n=E));const b=h.ads.duration;j(i,b,E=>t(4,r=E));const g=h.ads.position;j(i,g,E=>t(3,l=E));const _=h.ui.isMobile;j(i,_,E=>t(2,o=E));let L;return i.$$set=E=>{"isAds"in E&&t(0,s=E.isAds),"canRewindLive"in E&&t(9,a=E.canRewindLive),"isRewindableLive"in E&&t(10,c=E.isRewindableLive),"isHidden"in E&&t(11,f=E.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,L=!f&&(!n||n&&a&&c||s))},[s,L,o,l,r,p,b,g,_,a,c,f,n]}class ic extends Se{constructor(e){super(),ye(this,e,yp,kp,_e,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},vp)}}function Sp(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"),Ft(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,r){S(l,e,r),d(e,t),d(e,n),d(e,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class Pp extends Se{constructor(e){super(),ye(this,e,null,Sp,_e,{})}}function Cp(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Tp extends Se{constructor(e){super(),ye(this,e,null,Cp,_e,{})}}function Ep(i){je(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 Ap(i){let e,t,n,o;e=new Pp({});function l(a,c){if(a[2]===zn.FULL)return Ip;if(a[2]===zn.COUNT)return Vp}let r=l(i),s=r&&r(i);return{c(){F(e.$$.fragment),t=R(),s&&s.c(),n=bt()},m(a,c){z(e,a,c),S(a,t,c),s&&s.m(a,c),S(a,n,c),o=!0},p(a,c){r===(r=l(a))&&s?s.p(a,c):(s&&s.d(1),s=r&&r(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){o||(m(e.$$.fragment,a),o=!0)},o(a){v(e.$$.fragment,a),o=!1},d(a){a&&(y(t),y(n)),D(e,a),s&&s.d(a)}}}function Lp(i){let e,t,n,o,l,r;return l=new Tp({}),{c(){e=k("span"),t=De(i[1]),n=R(),o=k("div"),F(l.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(s,a){S(s,e,a),d(e,t),S(s,n,a),S(s,o,a),z(l,o,null),r=!0},p(s,a){(!r||a&2)&&ot(t,s[1])},i(s){r||(m(l.$$.fragment,s),r=!0)},o(s){v(l.$$.fragment,s),r=!1},d(s){s&&(y(e),y(n),y(o)),D(l)}}}function Vp(i){let e,t=i[0].length+"",n;return{c(){e=k("span"),n=De(t),u(e,"class","text count v-1yhs2ga")},m(o,l){S(o,e,l),d(e,n)},p(o,l){l&1&&t!==(t=o[0].length+"")&&ot(n,t)},d(o){o&&y(e)}}}function Ip(i){let e,t;return{c(){e=k("span"),t=De(i[1]),u(e,"class","text v-1yhs2ga")},m(n,o){S(n,e,o),d(e,t)},p(n,o){o&2&&ot(t,n[1])},d(n){n&&y(e)}}}function Mp(i){let e,t,n,o;const l=[Lp,Ap],r=[];function s(a,c){return a[4]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){r[e].m(a,c),S(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?r[e].p(a,c):(he(),v(r[f],1,1,()=>{r[f]=null}),pe(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function Np(i){let e,t;return e=new ki({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:[Mp]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Rp(i,e,t){var P,B,N,U,Y;let n,o,l,r,{position:s=0}=e,{duration:a=0}=e,{timeCodes:c=[]}=e;const f=Et(),h=(B=(P=f.callbacks)==null?void 0:P.onEpisodeChanged)!=null?B:le.noop,p=(U=(N=f.callbacks)==null?void 0:N.onEpisodeClicked)!=null?U:le.noop,b=!!((Y=f.callbacks)!=null&&Y.onEpisodeClicked),g=f.ui.currentGridType$;j(i,g,W=>t(13,l=W));const _=f.ui.isMobile;j(i,_,W=>t(4,r=W));let L,E,w;return i.$$set=W=>{"position"in W&&t(9,s=W.position),"duration"in W&&t(10,a=W.duration),"timeCodes"in W&&t(0,c=W.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&1536&&t(12,n=s/a),i.$$.dirty&7169){const W=ec(n,a,c);W&&(L==null?void 0:L.text)!==W.text&&(h(W),t(11,L=W))}i.$$.dirty&2048&&t(1,o=(L==null?void 0:L.text)||""),i.$$.dirty&8192&&(on(l,exports.GridTypes.XL)?t(2,E=zn.FULL):on(l,exports.GridTypes.M)&&e3(l,exports.GridTypes.XL)?t(2,E=zn.COUNT):t(2,E=zn.SHORT)),i.$$.dirty&2&&t(3,w=`${Z("tooltip_episodes")}: ${o}`)},[c,o,E,w,r,p,b,g,_,s,a,L,n,l]}class nc extends Se{constructor(e){super(),ye(this,e,Rp,Np,_e,{position:9,duration:10,timeCodes:0},Ep)}}function Bp(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){S(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class Op extends Se{constructor(e){super(),ye(this,e,null,Bp,_e,{})}}function zp(i){let e,t;return e=new Op({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Dp(i){let e,t;return e=new ki({props:{className:i[0]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:Z("tooltip_interactive_seek"),disabled:i[1],click:i[2],$$slots:{default:[zp]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Fp(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=r=>{"hidden"in r&&t(0,n=r.hidden),"disabled"in r&&t(1,o=r.disabled),"click"in r&&t(2,l=r.click)},[n,o,l]}class oc extends Se{constructor(e){super(),ye(this,e,Fp,Dp,_e,{hidden:0,disabled:1,click:2})}}function Hp(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){S(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 Up(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class qp extends Se{constructor(e){super(),ye(this,e,Up,Hp,_e,{isOpened:0})}}function jp(i){let e,t;return e=new qp({props:{isOpened:i[2]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Wp(i){let e,t;return e=new ki({props:{className:i[0]?"hidden":"",testId:"btn-graph",disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[jp]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Zp(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{graphIsOpened:l=!1}=e,{click:r}=e,s;return i.$$set=a=>{"hidden"in a&&t(0,n=a.hidden),"disabled"in a&&t(1,o=a.disabled),"graphIsOpened"in a&&t(2,l=a.graphIsOpened),"click"in a&&t(3,r=a.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,s=Z(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,l,r,s]}class lc extends Se{constructor(e){super(),ye(this,e,Zp,Wp,_e,{hidden:0,disabled:1,graphIsOpened:2,click:3})}}function Gp(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Kp extends Se{constructor(e){super(),ye(this,e,null,Gp,_e,{})}}function Yp(i){je(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 Os(i){let e;return{c(){e=k("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){S(t,e,n)},d(t){t&&y(e)}}}function Qp(i){let e,t,n,o,l=i[0]&&Os();return n=new Kp({}),{c(){l&&l.c(),e=R(),t=k("div"),F(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[0])},m(r,s){l&&l.m(r,s),S(r,e,s),S(r,t,s),z(n,t,null),o=!0},p(r,s){r[0]?l||(l=Os(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),(!o||s&1)&&V(t,"mobile",r[0])},i(r){o||(m(n.$$.fragment,r),o=!0)},o(r){v(n.$$.fragment,r),o=!1},d(r){r&&(y(e),y(t)),l&&l.d(r),D(n)}}}function Xp(i){let e,t;return e=new ki({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-replay",ariaLabel:Z("tooltip_restart"),disabled:i[1],click:i[3],$$slots:{default:[Qp]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Jp(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{className:l=""}=e,{click:r=le.noop}=e;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"disabled"in s&&t(1,o=s.disabled),"className"in s&&t(2,l=s.className),"click"in s&&t(3,r=s.click)},[n,o,l,r]}class Kl extends Se{constructor(e){super(),ye(this,e,Jp,Xp,_e,{isMobile:0,disabled:1,className:2,click:3},Yp)}}function xp(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class $p extends Se{constructor(e){super(),ye(this,e,null,xp,_e,{})}}function ev(i){let e,t;return e=new $p({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function tv(i){let e,t;return e=new ki({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:Z("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[ev]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function iv(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=r=>{"hidden"in r&&t(0,n=r.hidden),"disabled"in r&&t(1,o=r.disabled),"click"in r&&t(2,l=r.click)},[n,o,l]}class rc extends Se{constructor(e){super(),ye(this,e,iv,tv,_e,{hidden:0,disabled:1,click:2})}}function nv(i){je(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 ov(i){let e,t,n,o;return{c(){e=k("img"),u(e,"class","icon v-1x1zctw"),tr(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(l,r){S(l,e,r),n||(o=Ae(e,"error",i[7]),n=!0)},p(l,r){r&1&&!tr(e.src,t=l[0])&&u(e,"src",t)},d(l){l&&y(e),n=!1,o()}}}function lv(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){S(t,e,n)},p:K,d(t){t&&y(e)}}}function rv(i){let e;function t(l,r){return l[5]?lv:ov}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,r){o.m(l,r),S(l,e,r)},p(l,r){n===(n=t(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&y(e),o.d(l)}}}function sv(i){let e,t;return e=new ki({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[rv]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function av(i,e,t){let n,o,l,{iconUrl:r}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=le.noop}=e;const h=()=>{t(5,l=!0)};return i.$$set=p=>{"iconUrl"in p&&t(0,r=p.iconUrl),"ariaLabel"in p&&t(1,s=p.ariaLabel),"disabled"in p&&t(8,a=p.disabled),"testId"in p&&t(2,c=p.testId),"onClick"in p&&t(3,f=p.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===le.noop),i.$$.dirty&272&&t(6,o=n||a)},t(5,l=!1),[r,s,c,f,n,l,o,h,a]}class sc extends Se{constructor(e){super(),ye(this,e,av,sv,_e,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},nv)}}function uv(i){je(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 zs(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 Ds(i){let e,t,n;function o(r){i[134](r)}let l={disabled:!i[9],tooltipContent:Z("tooltip_previous"),$$slots:{default:[cv]},$$scope:{ctx:i}};return i[30]!==void 0&&(l.width=i[30]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[0]&512&&(a.disabled=!r[9]),s[0]&4608|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[0]&1073741824&&(t=!0,a.width=r[30],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function cv(i){let e,t;return e=new Xo({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Fs(i){let e,t,n;function o(r){i[135](r)}let l={disabled:i[66],tooltipContent:Z("tooltip_restart"),$$slots:{default:[fv]},$$scope:{ctx:i}};return i[31]!==void 0&&(l.width=i[31]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[2]&16&&(a.disabled=r[66]),s[2]&16|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&1&&(t=!0,a.width=r[31],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function fv(i){let e,t;return e=new Kl({props:{click:i[112],disabled:i[66]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Hs(i){let e,t,n;function o(r){i[136](r)}let l={tooltipContent:i[57],disabled:i[67],$$slots:{default:[dv]},$$scope:{ctx:i}};return i[32]!==void 0&&(l.width=i[32]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[1]&67108864&&(a.tooltipContent=r[57]),s[2]&32&&(a.disabled=r[67]),s[1]&2097152|s[2]&32|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&2&&(t=!0,a.width=r[32],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function dv(i){let e,t;return e=new Gl({props:{isMobile:!1,isPlaying:i[52],click:i[77],disabled:i[67]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Us(i){let e,t,n;function o(r){i[137](r)}let l={disabled:!i[8],tooltipContent:Z("tooltip_next"),$$slots:{default:[mv]},$$scope:{ctx:i}};return i[33]!==void 0&&(l.width=i[33]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[0]&256&&(a.disabled=!r[8]),s[0]&2304|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&4&&(t=!0,a.width=r[33],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function mv(i){let e,t;return e=new Xo({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function hv(i){let e,t,n,o,l=i[107]&&pv(i),r=i[106]&&gv(i),s=i[105]&&_v(i);return{c(){l&&l.c(),e=R(),r&&r.c(),t=R(),s&&s.c(),n=bt()},m(a,c){l&&l.m(a,c),S(a,e,c),r&&r.m(a,c),S(a,t,c),s&&s.m(a,c),S(a,n,c),o=!0},p(a,c){a[107]&&l.p(a,c),a[106]&&r.p(a,c),a[105]&&s.p(a,c)},i(a){o||(m(l),m(r),m(s),o=!0)},o(a){v(l),v(r),v(s),o=!1},d(a){a&&(y(e),y(t),y(n)),l&&l.d(a),r&&r.d(a),s&&s.d(a)}}}function pv(i){let e,t,n;function o(r){i[138](r)}let l={disabled:i[65],tooltipContent:Z("tooltip_interactive_go_back"),disabledTooltipContent:i[109]&&Z(i[109]),$$slots:{default:[vv]},$$scope:{ctx:i}};return i[34]!==void 0&&(l.width=i[34]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[2]&8&&(a.disabled=r[65]),s[0]&131072|s[2]&8|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&8&&(t=!0,a.width=r[34],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function vv(i){let e,t;return e=new rc({props:{disabled:i[65],click:i[17]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function gv(i){let e,t,n;function o(r){i[139](r)}let l={disabled:i[68],tooltipContent:Z("tooltip_interactive_seek"),$$slots:{default:[bv]},$$scope:{ctx:i}};return i[35]!==void 0&&(l.width=i[35]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[2]&64&&(a.disabled=r[68]),s[0]&32768|s[2]&64|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&16&&(t=!0,a.width=r[35],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function bv(i){let e,t;return e=new oc({props:{disabled:i[68],click:i[15]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function _v(i){let e,t,n;function o(r){i[140](r)}let l={tooltipContent:i[58],disabled:i[69],$$slots:{default:[wv]},$$scope:{ctx:i}};return i[36]!==void 0&&(l.width=i[36]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[1]&134217728&&(a.tooltipContent=r[58]),s[2]&128&&(a.disabled=r[69]),s[0]&65536|s[1]&524288|s[2]&128|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&32&&(t=!0,a.width=r[36],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function wv(i){let e,t;return e=new lc({props:{click:i[16],graphIsOpened:i[50],disabled:i[69]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function qs(i){let e,t,n;function o(r){i[141](r)}let l={tooltipContent:i[59],$$slots:{default:[kv]},$$scope:{ctx:i}};return i[37]!==void 0&&(l.width=i[37]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[1]&268435456&&(a.tooltipContent=r[59]),s[0]&268435456|s[1]&268435456|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&64&&(t=!0,a.width=r[37],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function kv(i){let e,t;return e=new $u({props:{isActiveLive:i[28],isMobile:!1,ariaLabel:i[59]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function js(i){let e,t,n;function o(r){i[142](r)}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 Gu({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[2]&4&&(a.showDuration=r[64]),s[0]&16|s[2]&1536&&(a.position=r[4]?r[71]:r[72]),s[0]&16|s[2]&6144&&(a.duration=r[4]?r[73]:r[74]),!t&&s[1]&128&&(t=!0,a.width=r[38],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function Ws(i){let e,t;return e=new nc({props:{position:i[72],duration:i[74],timeCodes:i[92]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function yv(i){let e,t,n=i[27]&&Ws(i);return{c(){n&&n.c(),e=bt()},m(o,l){n&&n.m(o,l),S(o,e,l),t=!0},p(o,l){o[27]?n?(n.p(o,l),l[0]&134217728&&m(n,1)):(n=Ws(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),v(n,1,1,()=>{n=null}),pe())},i(o){t||(m(n),t=!0)},o(o){v(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function Sv(i){var n;let e,t;return e=new sc({props:{iconUrl:i[163],ariaLabel:(n=i[164])!=null?n:i[167],testId:i[165],onClick:i[166]}}),{c(){F(e.$$.fragment)},m(o,l){z(e,o,l),t=!0},p(o,l){var s;const r={};l[1]&32768&&(r.iconUrl=o[163]),l[1]&32768&&(r.ariaLabel=(s=o[164])!=null?s:o[167]),l[1]&32768&&(r.testId=o[165]),l[1]&32768&&(r.onClick=o[166]),e.$set(r)},i(o){t||(m(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){D(e,o)}}}function Zs(i){let e,t;return e=new Gt({props:{tooltipContent:i[167],width:40,$$slots:{default:[Sv]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Gs(i){let e,t,n;function o(r){i[145](r)}let l={disabled:!i[6],tooltipContent:i[60],$$slots:{default:[Pv]},$$scope:{ctx:i}};return i[40]!==void 0&&(l.width=i[40]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[0]&64&&(a.disabled=!r[6]),s[1]&536870912&&(a.tooltipContent=r[60]),s[0]&192|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&512&&(t=!0,a.width=r[40],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function Pv(i){let e,t;return e=new Ju({props:{click:i[78],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Cv(i){let e,t;return e=new s3({props:{isAudioAvailable:i[70],click:i[111]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ks(i){let e,t,n;function o(r){i[147](r)}let l={tooltipContent:i[61],$$slots:{default:[Tv]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[1]&1073741824&&(a.tooltipContent=r[61]),s[0]&262144|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&2048&&(t=!0,a.width=r[42],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function Tv(i){let e,t;return e=new gh({props:{isSubtitlesEnabled:i[18],click:i[79]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ys(i){var o;let e,t,n;return t=new Zu({props:{supportLink:i[10],playerControlsHeight:(o=i[56])==null?void 0:o.clientHeight,returnFocus:i[14]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(l,r){S(l,e,r),z(t,e,null),n=!0},p(l,r){var a;const s={};r[0]&1024&&(s.supportLink=l[10]),r[1]&33554432&&(s.playerControlsHeight=(a=l[56])==null?void 0:a.clientHeight),r[0]&16384&&(s.returnFocus=l[14]),t.$set(s)},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&y(e),D(t)}}}function Qs(i){let e,t,n;function o(r){i[148](r)}let l={tooltipContent:i[76]?void 0:Z("tooltip_settings_off"),$$slots:{default:[Ev]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[2]&16384&&(a.tooltipContent=r[76]?void 0:Z("tooltip_settings_off")),s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&4096&&(t=!0,a.width=r[43],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function Ev(i){let e,t;return e=new jl({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Xs(i){let e,t,n;function o(r){i[149](r)}let l={tooltipContent:i[62],$$slots:{default:[Av]},$$scope:{ctx:i}};return i[44]!==void 0&&(l.width=i[44]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[2]&1&&(a.tooltipContent=r[62]),s[0]&8192|s[1]&262144|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&8192&&(t=!0,a.width=r[44],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function Av(i){let e,t;return e=new Qu({props:{click:i[13],isFullscreen:i[49]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Js(i){let e,t,n;function o(r){i[150](r)}let l={tooltipContent:i[63],$$slots:{default:[Lv]},$$scope:{ctx:i}};return i[45]!==void 0&&(l.width=i[45]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[2]&2&&(a.tooltipContent=r[63]),s[1]&131072|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&16384&&(t=!0,a.width=r[45],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function Lv(i){let e,t;return e=new xu({props:{isMobile:!1,state:i[48],click:i[110]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Vv(i){let e,t,n,o,l,r,s,a,c,f,h,p,b,g,_,L,E,w,P,B,N,U,Y,W,ne,X,ee;t=new ic({props:{isHidden:!i[55],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[51]}});let T=i[54]&&Ds(i),te=i[19]&&Fs(i),fe=i[20]&&Hs(i),A=i[53]&&Us(i),oe=i[104]&&hv(i),ae=!i[4]&&i[47]&&qs(i),ke=i[26]&&js(i);function we(x){i[143](x)}let Ee={className:"w-max",disabled:!i[27],tooltipContent:Z("tooltip_episodes"),$$slots:{default:[yv]},$$scope:{ctx:i}};i[39]!==void 0&&(Ee.width=i[39]),b=new Gt({props:Ee}),We.push(()=>Tt(b,"width",we));let Pe=Zt(i[46]),H=[];for(let x=0;x<Pe.length;x+=1)H[x]=Zs(zs(i,Pe,x));const G=x=>v(H[x],1,1,()=>{H[x]=null});let O=i[24]&&Gs(i);function ge(x){i[146](x)}let Q={$$slots:{default:[Cv]},$$scope:{ctx:i}};i[41]!==void 0&&(Q.width=i[41]),B=new Gt({props:Q}),We.push(()=>Tt(B,"width",ge));let M=i[22]&&Ks(i),J=!i[75]&&!i[4]&&Ys(i),Me=i[23]&&Qs(i),Te=i[25]&&Xs(i),Le=i[21]&&Js(i);return{c(){e=k("div"),F(t.$$.fragment),n=R(),o=k("div"),l=k("div"),T&&T.c(),r=R(),te&&te.c(),s=R(),fe&&fe.c(),a=R(),A&&A.c(),c=R(),oe&&oe.c(),f=R(),ae&&ae.c(),h=R(),ke&&ke.c(),p=R(),F(b.$$.fragment),L=R(),E=k("div");for(let x=0;x<H.length;x+=1)H[x].c();w=R(),O&&O.c(),P=R(),F(B.$$.fragment),U=R(),M&&M.c(),Y=R(),J&&J.c(),W=R(),Me&&Me.c(),ne=R(),Te&&Te.c(),X=R(),Le&&Le.c(),u(l,"class","controls-left v-st0uzk"),Dn(()=>i[144].call(l)),u(E,"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,ue){S(x,e,ue),z(t,e,null),d(e,n),d(e,o),d(o,l),T&&T.m(l,null),d(l,r),te&&te.m(l,null),d(l,s),fe&&fe.m(l,null),d(l,a),A&&A.m(l,null),d(l,c),oe&&oe.m(l,null),d(l,f),ae&&ae.m(l,null),d(l,h),ke&&ke.m(l,null),d(l,p),z(b,l,null),_=qo(l,i[144].bind(l)),d(o,L),d(o,E);for(let ve=0;ve<H.length;ve+=1)H[ve]&&H[ve].m(E,null);d(E,w),O&&O.m(E,null),d(E,P),z(B,E,null),d(E,U),M&&M.m(E,null),d(E,Y),J&&J.m(E,null),d(E,W),Me&&Me.m(E,null),d(E,ne),Te&&Te.m(E,null),d(E,X),Le&&Le.m(E,null),i[151](o),i[152](e),ee=!0},p(x,ue){const ve={};ue[1]&16777216&&(ve.isHidden=!x[55]),ue[0]&16&&(ve.isAds=x[4]),ue[0]&32&&(ve.canRewindLive=x[5]),ue[1]&1048576&&(ve.isRewindableLive=x[51]),t.$set(ve),x[54]?T?(T.p(x,ue),ue[1]&8388608&&m(T,1)):(T=Ds(x),T.c(),m(T,1),T.m(l,r)):T&&(he(),v(T,1,1,()=>{T=null}),pe()),x[19]?te?(te.p(x,ue),ue[0]&524288&&m(te,1)):(te=Fs(x),te.c(),m(te,1),te.m(l,s)):te&&(he(),v(te,1,1,()=>{te=null}),pe()),x[20]?fe?(fe.p(x,ue),ue[0]&1048576&&m(fe,1)):(fe=Hs(x),fe.c(),m(fe,1),fe.m(l,a)):fe&&(he(),v(fe,1,1,()=>{fe=null}),pe()),x[53]?A?(A.p(x,ue),ue[1]&4194304&&m(A,1)):(A=Us(x),A.c(),m(A,1),A.m(l,c)):A&&(he(),v(A,1,1,()=>{A=null}),pe()),x[104]&&oe.p(x,ue),!x[4]&&x[47]?ae?(ae.p(x,ue),ue[0]&16|ue[1]&65536&&m(ae,1)):(ae=qs(x),ae.c(),m(ae,1),ae.m(l,h)):ae&&(he(),v(ae,1,1,()=>{ae=null}),pe()),x[26]?ke?(ke.p(x,ue),ue[0]&67108864&&m(ke,1)):(ke=js(x),ke.c(),m(ke,1),ke.m(l,p)):ke&&(he(),v(ke,1,1,()=>{ke=null}),pe());const se={};if(ue[0]&134217728&&(se.disabled=!x[27]),ue[0]&134217728|ue[2]&5120|ue[5]&32768&&(se.$$scope={dirty:ue,ctx:x}),!g&&ue[1]&256&&(g=!0,se.width=x[39],Ct(()=>g=!1)),b.$set(se),ue[1]&32768){Pe=Zt(x[46]);let He;for(He=0;He<Pe.length;He+=1){const st=zs(x,Pe,He);H[He]?(H[He].p(st,ue),m(H[He],1)):(H[He]=Zs(st),H[He].c(),m(H[He],1),H[He].m(E,w))}for(he(),He=Pe.length;He<H.length;He+=1)G(He);pe()}x[24]?O?(O.p(x,ue),ue[0]&16777216&&m(O,1)):(O=Gs(x),O.c(),m(O,1),O.m(E,P)):O&&(he(),v(O,1,1,()=>{O=null}),pe());const Fe={};ue[2]&256|ue[5]&32768&&(Fe.$$scope={dirty:ue,ctx:x}),!N&&ue[1]&1024&&(N=!0,Fe.width=x[41],Ct(()=>N=!1)),B.$set(Fe),x[22]?M?(M.p(x,ue),ue[0]&4194304&&m(M,1)):(M=Ks(x),M.c(),m(M,1),M.m(E,Y)):M&&(he(),v(M,1,1,()=>{M=null}),pe()),!x[75]&&!x[4]?J?(J.p(x,ue),ue[0]&16|ue[2]&8192&&m(J,1)):(J=Ys(x),J.c(),m(J,1),J.m(E,W)):J&&(he(),v(J,1,1,()=>{J=null}),pe()),x[23]?Me?(Me.p(x,ue),ue[0]&8388608&&m(Me,1)):(Me=Qs(x),Me.c(),m(Me,1),Me.m(E,ne)):Me&&(he(),v(Me,1,1,()=>{Me=null}),pe()),x[25]?Te?(Te.p(x,ue),ue[0]&33554432&&m(Te,1)):(Te=Xs(x),Te.c(),m(Te,1),Te.m(E,X)):Te&&(he(),v(Te,1,1,()=>{Te=null}),pe()),x[21]?Le?(Le.p(x,ue),ue[0]&2097152&&m(Le,1)):(Le=Js(x),Le.c(),m(Le,1),Le.m(E,null)):Le&&(he(),v(Le,1,1,()=>{Le=null}),pe()),(!ee||ue[0]&2)&&V(e,"hidden",x[1]),(!ee||ue[0]&8)&&V(e,"controls-hidden",!x[3]),(!ee||ue[0]&4)&&V(e,"no-smooth",x[2])},i(x){if(!ee){m(t.$$.fragment,x),m(T),m(te),m(fe),m(A),m(oe),m(ae),m(ke),m(b.$$.fragment,x);for(let ue=0;ue<Pe.length;ue+=1)m(H[ue]);m(O),m(B.$$.fragment,x),m(M),m(J),m(Me),m(Te),m(Le),ee=!0}},o(x){v(t.$$.fragment,x),v(T),v(te),v(fe),v(A),v(oe),v(ae),v(ke),v(b.$$.fragment,x),H=H.filter(Boolean);for(let ue=0;ue<H.length;ue+=1)v(H[ue]);v(O),v(B.$$.fragment,x),v(M),v(J),v(Me),v(Te),v(Le),ee=!1},d(x){x&&y(e),D(t),T&&T.d(),te&&te.d(),fe&&fe.d(),A&&A.d(),oe&&oe.d(),ae&&ae.d(),ke&&ke.d(),D(b),_(),rn(H,x),O&&O.d(),D(B),M&&M.d(),J&&J.d(),Me&&Me.d(),Te&&Te.d(),Le&&Le.d(),i[151](null),i[152](null)}}}function Iv(i,e,t){var Hn,Un;let n,o,l,r,s,a,c,f,h,p,b,g,_,L,E,w,P,B,N,U,Y,W,ne,X,ee,T,te,fe,A,oe,{bottomHidden:ae}=e,{bottomNoSmooth:ke}=e,{showControls:we}=e,{controlsElementRef:Ee=void 0}=e,{isAds:Pe=!1}=e,{canRewindLive:H}=e,{logoClickable:G}=e,{logoHidden:O}=e,{videoLogoUrl:ge}=e,{showNextPrevButtons:Q}=e,{nextButtonActive:M}=e,{prevButtonActive:J}=e,{isOneVideoPlaylist:Me=!1}=e,{supportLink:Te}=e,{customFullscreenSupported:Le=!0}=e,{playNextVideo:x}=e,{playPrevVideo:ue}=e,{repeatPlaylist:ve}=e,{toggleFullscreen:se}=e,{returnFocus:Fe}=e,{seekToInteractive:He}=e,{toggleGraph:st}=e,{playPrevChapter:lt}=e;const ze=Et(),mt=Qi(),kt=ze.actions.internal.toggleMuted,Re=ze.actions.internal.togglePlay,Ne=ze.actions.internal.pause,Wt=ze.actions.internal.toggleSubtitle,At=(Hn=ze.callbacks)==null?void 0:Hn.onAudioDoesNotExistHint,ut=(Un=ze.callbacks)==null?void 0:Un.onAudioDisabledHint,et=ze.state.duration$;j(i,et,re=>t(74,fe=re));const ce=ze.state.positionWithScrubbing$;j(i,ce,re=>t(72,T=re));const Xe=ze.state.playbackState$;j(i,Xe,re=>t(124,_=re));const $e=ze.state.chromecastConnected$;j(i,$e,re=>t(75,A=re));const Je=ze.state.isAudioAvailable$;j(i,Je,re=>t(70,c=re));const Ze=ze.state.isAudioDisabled,dt=ze.state.isEnded$;j(i,dt,re=>t(130,Y=re));const xe=ze.state.isLive$;j(i,xe,re=>t(47,p=re));const rt=ze.state.isActiveLive$;j(i,rt,re=>t(125,E=re));const Ke=ze.state.isRewindableLive$;j(i,Ke,re=>t(51,w=re));const tt=ze.ui.isPictureInPictureActive$;j(i,tt,re=>t(128,N=re));const Xt=ze.ui.pictureInPictureType$;j(i,Xt,re=>t(127,B=re));const ht=ze.ui.settingsMenuVisible;j(i,ht,re=>t(76,oe=re));const Ye=ze.ui.controls,Lt=ze.actions.internal.getVideoEpisodes(),at=ze.state.chromecastState$;j(i,at,re=>t(48,b=re));const ci=ze.state.availableSubtitlesList$;j(i,ci,re=>t(129,U=re));const me=ze.state.currentSubtitle$;j(i,me,re=>t(131,W=re));const Ce=Ye.disabledControls$;j(i,Ce,re=>t(133,X=re));const Ie=ze.ads.duration;j(i,Ie,re=>t(73,te=re));const It=ze.ads.position;j(i,It,re=>t(71,ee=re));const fi=ze.ads.playbackState;j(i,fi,re=>t(132,ne=re));const Mt=ze.ui.isFullscreen;j(i,Mt,re=>t(49,g=re));const Ci=ze.ui.playerSize;j(i,Ci,re=>t(126,P=re));const Vi=ze.ui.currentGridType$;j(i,Vi,re=>t(123,h=re));const Ii=ze.ui.additionalButtons$;j(i,Ii,re=>t(46,f=re));const Ve=ze.actions.internal.replayInteractive,Nt=ze.state.isInteractive,di=ze.state.isInteractiveGraphEnabled,Ot=ze.state.isSeekToInteractiveEnable,Vt=ze.state.isPlayPrevChapterEnabled,Mi=ze.state.graphIsOpened$;j(i,Mi,re=>t(50,L=re));const Rt=ze.state.playPrevChapterDisabledTooltip,oi=()=>ze.actions.internal.toggleChromecast();let Xi,Pt,Ui,mi,Ni,Ri,Ti,li,Ei,yi,hi,ri,pi,qi,ji,Ht,Ut,Bi,Ji,vi="";const Oi=(re,gn)=>{if(!re){t(59,vi=Z("tooltip_live"));return}gn===nt.PlaybackState.PAUSED&&t(59,vi=Z("tooltip_play"))};let Ai,Si,zi,Li,Jt,xt,gi,Kt,$t,si,bi,ei,ai,Wi,Di,Pi,Ki,ti,_i,Fi,Zi,zt,Yt,de,Gi;function sn(re,gn){let ct=fo;const qt=(tn,bn,q)=>{let _t=bn?tn+bn+(tn?i0:0):tn;return q.set({positionStartX:tn,positionEndX:_t,isDisplayed:gn&&tn!==_t}),_t};ct=qt(ct,re.prevButtonWidth,Ye.prevButton),ct=qt(ct,re.replayButtonWidth,Ye.replayButton),ct=qt(ct,re.playButtonWidth,Ye.playButton),ct=qt(ct,re.nextButtonWidth,Ye.nextButton),ct=qt(ct,re.playPrevChapterWidth,Ye.playPrevChapterButton),ct=qt(ct,re.seekToInteractiveWidth,Ye.seekToInteractiveButton),ct=qt(ct,re.interactiveGraphWidth,Ye.interactiveGraphButton),ct=qt(ct,re.liveButtonWidth,Ye.liveButton),ct=qt(ct,re.timeWidth,Ye.time),ct=qt(ct,re.episodesWidth,Ye.episodes),f.forEach((tn,bn)=>{ct=qt(ct,re.additionalButtonWidths[bn],Ye.additionalButtons[bn])}),ct=qt(ct,re.vkLogoWidth,Ye.vkLogo),ct=qt(ct,re.volumeWidth,Ye.volume),ct=qt(ct,re.subtitlesWidth,Ye.subtitles),ct=qt(ct,re.settingsWidth,Ye.settings),ct=qt(ct,re.fullscreenWidth,Ye.fullscreen),qt(ct,re.chromecastWidth,Ye.chromecast)}function Bn(){Ze?ut==null||ut():c?kt():At==null||At()}const ui=Nt?Ve:Me?Re:ve;function hn(re){xt=re,t(30,xt)}function pn(re){gi=re,t(31,gi)}function an(re){Kt=re,t(32,Kt)}function vn(re){$t=re,t(33,$t)}function Ln(re){si=re,t(34,si)}function $i(re){bi=re,t(35,bi)}function Vn(re){ei=re,t(36,ei)}function $(re){ai=re,t(37,ai)}function gt(re){Wi=re,t(38,Wi)}function un(re){Di=re,t(39,Di)}function xi(){Jt=this.clientWidth,t(29,Jt)}function cn(re){Pi=re,t(40,Pi)}function en(re){Ki=re,t(41,Ki)}function lo(re){ti=re,t(42,ti)}function ro(re){_i=re,t(43,_i)}function so(re){Fi=re,t(44,Fi)}function ao(re){Zi=re,t(45,Zi)}function uo(re){We[re?"unshift":"push"](()=>{Ht=re,t(56,Ht)})}function co(re){We[re?"unshift":"push"](()=>{Ee=re,t(0,Ee)})}return i.$$set=re=>{"bottomHidden"in re&&t(1,ae=re.bottomHidden),"bottomNoSmooth"in re&&t(2,ke=re.bottomNoSmooth),"showControls"in re&&t(3,we=re.showControls),"controlsElementRef"in re&&t(0,Ee=re.controlsElementRef),"isAds"in re&&t(4,Pe=re.isAds),"canRewindLive"in re&&t(5,H=re.canRewindLive),"logoClickable"in re&&t(6,G=re.logoClickable),"logoHidden"in re&&t(113,O=re.logoHidden),"videoLogoUrl"in re&&t(7,ge=re.videoLogoUrl),"showNextPrevButtons"in re&&t(114,Q=re.showNextPrevButtons),"nextButtonActive"in re&&t(8,M=re.nextButtonActive),"prevButtonActive"in re&&t(9,J=re.prevButtonActive),"isOneVideoPlaylist"in re&&t(115,Me=re.isOneVideoPlaylist),"supportLink"in re&&t(10,Te=re.supportLink),"customFullscreenSupported"in re&&t(116,Le=re.customFullscreenSupported),"playNextVideo"in re&&t(11,x=re.playNextVideo),"playPrevVideo"in re&&t(12,ue=re.playPrevVideo),"repeatPlaylist"in re&&t(117,ve=re.repeatPlaylist),"toggleFullscreen"in re&&t(13,se=re.toggleFullscreen),"returnFocus"in re&&t(14,Fe=re.returnFocus),"seekToInteractive"in re&&t(15,He=re.seekToInteractive),"toggleGraph"in re&&t(16,st=re.toggleGraph),"playPrevChapter"in re&&t(17,lt=re.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[4]&512&&t(122,n=X.has(vt.EPISODE_BUTTON)),i.$$.dirty[4]&512&&t(69,o=X.has(vt.GRAPH_BUTTON)),i.$$.dirty[4]&512&&t(68,l=X.has(vt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[4]&512&&t(67,r=X.has(vt.PLAY_BUTTON)),i.$$.dirty[4]&512&&t(66,s=X.has(vt.REPLAY_BUTTON)),i.$$.dirty[4]&512&&t(65,a=X.has(vt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[4]&257&&t(52,Xi=Pe?ne===Qt.PLAYING:_===nt.PlaybackState.PLAYING),i.$$.dirty[4]&128&&t(18,Pt=W.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[4]&64&&t(19,Ui=Y&&!Pe||Nt),i.$$.dirty[0]&16|i.$$.dirty[4]&64&&t(20,mi=!Y||Nt||Pe),i.$$.dirty[3]&1073741824&&t(118,Ni=on(h,exports.GridTypes.M)),i.$$.dirty[0]&272|i.$$.dirty[3]&1075838976&&t(53,Ri=Q&&on(h,exports.GridTypes.M)&&!Pe&&M),i.$$.dirty[0]&528|i.$$.dirty[3]&1075838976&&t(54,Ti=Q&&on(h,exports.GridTypes.M)&&!Pe&&J),i.$$.dirty[1]&131072|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&24&&t(21,li=b!==nt.ChromecastState.NOT_AVAILABLE&&!(N&&B===kn.DocumentPictureInPicture)&&on(h,exports.GridTypes.M)&&!Nt),i.$$.dirty[3]&1073741824|i.$$.dirty[4]&32&&t(22,Ei=U.length>0&&on(h,exports.GridTypes.M)),i.$$.dirty[3]&1073741824&&t(23,yi=on(h,exports.GridTypes.S)),i.$$.dirty[3]&1048576&&t(24,hi=!O),i.$$.dirty[3]&1083179008|i.$$.dirty[4]&24&&t(25,ri=mt.features.fullscreen&&(O||on(h,exports.GridTypes.S))&&!(N&&B===kn.DocumentPictureInPicture)&&(Nt?Le:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&65536&&t(26,pi=(!p||Pe)&&!(mt.features.interactiveHideTime&&Nt)),i.$$.dirty[4]&4&&t(55,qi=P.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&65536|i.$$.dirty[3]&570425344&&t(27,ji=!Pe&&!p&&!!(Lt!=null&&Lt.length)&&Ni&&!n),i.$$.dirty[1]&1048576|i.$$.dirty[4]&2&&t(28,Ut=!w||E),i.$$.dirty[4]&1&&t(57,Bi=_===nt.PlaybackState.PLAYING?Z("tooltip_pause"):Z("tooltip_play")),i.$$.dirty[1]&524288&&t(58,Ji=Z(L?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[0]&268435456|i.$$.dirty[4]&1&&Oi(Ut,_),i.$$.dirty[0]&262144&&t(61,Si=Z(Pt?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[1]&262144&&t(62,zi=Z(g?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[1]&131072&&t(63,Li=b===nt.ChromecastState.CONNECTED?Z("tooltip_chromecast_on"):Z("tooltip_chromecast_off")),i.$$.dirty[0]&1207435264|i.$$.dirty[1]&131071&&t(119,zt={prevButtonWidth:xt!=null?xt:0,replayButtonWidth:Ui?gi:0,playButtonWidth:mi?Kt:0,nextButtonWidth:$t!=null?$t:0,playPrevChapterWidth:Vt?si:0,seekToInteractiveWidth:Nt?bi:0,interactiveGraphWidth:di&&ei!=null?ei:0,liveButtonWidth:p&&ai?ai:0,timeWidth:pi?Wi:0,episodesWidth:Di,vkLogoWidth:hi?Pi:0,volumeWidth:Ki,subtitlesWidth:Ei?ti:0,settingsWidth:yi?_i:0,fullscreenWidth:ri?Fi:0,chromecastWidth:li?Zi:0,additionalButtonWidths:f.length?f.reduce(re=>[...re,40],[]):[]}),i.$$.dirty[3]&201326592&&(!Yt||Yt<zt.timeWidth)&&t(120,Yt=zt.timeWidth),i.$$.dirty[0]&738197504|i.$$.dirty[3]&1275068416){let re=0;ji&&(on(h,exports.GridTypes.XL)?re=zt.timeWidth:re=n0);const gn=zt.prevButtonWidth+zt.playButtonWidth+zt.nextButtonWidth+zt.seekToInteractiveWidth+zt.interactiveGraphWidth+zt.liveButtonWidth+Yt+re;t(121,de=pi&&Jt>=gn)}i.$$.dirty[3]&1342177280&&t(64,Gi=de&&on(h,exports.GridTypes.M)),i.$$.dirty[0]&8|i.$$.dirty[3]&67108864&&sn(zt,we)},t(60,Ai=mt.logoType===io.VK_VIDEO?Z("tooltip_vk_video_logo"):Z("tooltip_vk_logo")),[Ee,ae,ke,we,Pe,H,G,ge,M,J,Te,x,ue,se,Fe,He,st,lt,Pt,Ui,mi,li,Ei,yi,hi,ri,pi,ji,Ut,Jt,xt,gi,Kt,$t,si,bi,ei,ai,Wi,Di,Pi,Ki,ti,_i,Fi,Zi,f,p,b,g,L,w,Xi,Ri,Ti,qi,Ht,Bi,Ji,vi,Ai,Si,zi,Li,Gi,a,s,r,l,o,c,ee,T,te,fe,A,oe,Re,Ne,Wt,et,ce,Xe,$e,Je,dt,xe,rt,Ke,tt,Xt,ht,Lt,at,ci,me,Ce,Ie,It,fi,Mt,Ci,Vi,Ii,Nt,di,Ot,Vt,Mi,Rt,oi,Bn,ui,O,Q,Me,Le,ve,Ni,zt,Yt,de,n,h,_,E,P,B,N,U,Y,W,ne,X,hn,pn,an,vn,Ln,$i,Vn,$,gt,un,xi,cn,en,lo,ro,so,ao,uo,co]}class Mv extends Se{constructor(e){super(),ye(this,e,Iv,Vv,_e,{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},uv,[-1,-1,-1,-1,-1,-1])}}function Nv(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,r){S(l,e,r),d(e,t),d(t,n),d(t,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class Rv extends Se{constructor(e){super(),ye(this,e,null,Nv,_e,{})}}function Bv(i){je(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 xs(i){let e;return{c(){e=k("span"),e.textContent=`${Z("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){S(t,e,n)},p:K,d(t){t&&y(e)}}}function Ov(i){let e,t,n,o;var l=i[3];function r(a){return{}}l&&(t=mn(l,r()));let s=i[0]&&xs();return{c(){e=k("div"),t&&F(t.$$.fragment),n=R(),s&&s.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),V(e,"expanded",i[0])},m(a,c){S(a,e,c),t&&z(t,e,null),d(e,n),s&&s.m(e,null),o=!0},p(a,c){if(c&8&&l!==(l=a[3])){if(t){he();const f=t;v(f.$$.fragment,1,0,()=>{D(f,1)}),pe()}l?(t=mn(l,r()),F(t.$$.fragment),m(t.$$.fragment,1),z(t,e,n)):t=null}a[0]?s?s.p(a,c):(s=xs(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!o||c&1)&&V(e,"expanded",a[0])},i(a){o||(t&&m(t.$$.fragment,a),o=!0)},o(a){t&&v(t.$$.fragment,a),o=!1},d(a){a&&y(e),t&&D(t),s&&s.d()}}}function zv(i){let e,t;return e=new ki({props:{testId:i[0]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[1],ariaLabel:i[2],$$slots:{default:[Ov]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Dv(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:l=le.noop}=e,r,s;return i.$$set=a=>{"muted"in a&&t(4,n=a.muted),"expanded"in a&&t(0,o=a.expanded),"click"in a&&t(1,l=a.click)},i.$$.update=()=>{i.$$.dirty&16&&t(2,r=Z(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&1&&t(3,s=o?Qo:Rv)},[o,l,r,s,n]}class ac extends Se{constructor(e){super(),ye(this,e,Dv,zv,_e,{muted:4,expanded:0,click:1},Bv)}}function Fv(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,r){S(l,e,r),d(e,t),d(e,n),d(e,o)},p(l,[r]){r&2&&u(t,"fill",l[1]),r&2&&u(n,"fill",l[1]),r&1&&V(n,"hidden",!l[0]),r&2&&u(o,"fill",l[1]),r&1&&V(o,"hidden",l[0])},i:K,o:K,d(l){l&&y(e)}}}function Hv(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 Uv extends Se{constructor(e){super(),ye(this,e,Hv,Fv,_e,{isActive:0})}}function qv(i){let e,t;return e=new Uv({props:{isActive:i[0]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function jv(i){let e,t;return e=new ki({props:{testId:"btn-pip",ariaLabel:Z("menu_pip"),click:i[1],$$slots:{default:[qv]},$$scope:{ctx:i}}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Wv(i,e,t){let{isPictureInPictureActive:n=!1}=e,{click:o=le.noop}=e;return i.$$set=l=>{"isPictureInPictureActive"in l&&t(0,n=l.isPictureInPictureActive),"click"in l&&t(1,o=l.click)},[n,o]}class Zv extends Se{constructor(e){super(),ye(this,e,Wv,jv,_e,{isPictureInPictureActive:0,click:1})}}function Gv(i){je(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 $s(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 ea(i){let e,t,n,o,l,r,s,a,c,f,h,p,b,g,_,L,E,w=(!i[54]||i[56])&&ta(i),P=Zt(i[59]),B=[];for(let A=0;A<P.length;A+=1)B[A]=ia($s(i,P,A));const N=A=>v(B[A],1,1,()=>{B[A]=null});let U=i[33]&&na(i),Y=i[34]&&oa(i),W=i[60]&&la(),ne=i[36]&&ra(i),X=i[8]&&sa(i),ee=i[31]&&aa(i),T=i[30]&&ua(i),te=i[8]&&ca(i),fe=i[97]&&!i[26]&&fa(i);return{c(){e=k("div"),t=R(),n=k("div"),w&&w.c(),o=R(),l=k("div");for(let A=0;A<B.length;A+=1)B[A].c();r=R(),U&&U.c(),s=R(),Y&&Y.c(),a=R(),W&&W.c(),c=R(),ne&&ne.c(),f=R(),h=k("div"),X&&X.c(),p=R(),ee&&ee.c(),b=R(),T&&T.c(),g=R(),te&&te.c(),_=R(),fe&&fe.c(),L=bt(),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(A,oe){S(A,e,oe),S(A,t,oe),S(A,n,oe),w&&w.m(n,null),S(A,o,oe),S(A,l,oe);for(let ae=0;ae<B.length;ae+=1)B[ae]&&B[ae].m(l,null);d(l,r),U&&U.m(l,null),d(l,s),Y&&Y.m(l,null),d(l,a),W&&W.m(l,null),d(l,c),ne&&ne.m(l,null),S(A,f,oe),S(A,h,oe),X&&X.m(h,null),d(h,p),ee&&ee.m(h,null),d(h,b),T&&T.m(h,null),d(h,g),te&&te.m(h,null),S(A,_,oe),fe&&fe.m(A,oe),S(A,L,oe),E=!0},p(A,oe){if((!E||oe[1]&256)&&V(e,"hidden",!A[39]),!A[54]||A[56]?w?(w.p(A,oe),oe[1]&41943040&&m(w,1)):(w=ta(A),w.c(),m(w,1),w.m(n,null)):w&&(he(),v(w,1,1,()=>{w=null}),pe()),(!E||oe[0]&8)&&V(n,"hidden",!A[3]),(!E||oe[1]&16777216)&&V(n,"fullscreen",A[55]),oe[1]&268435456){P=Zt(A[59]);let ae;for(ae=0;ae<P.length;ae+=1){const ke=$s(A,P,ae);B[ae]?(B[ae].p(ke,oe),m(B[ae],1)):(B[ae]=ia(ke),B[ae].c(),m(B[ae],1),B[ae].m(l,r))}for(he(),ae=P.length;ae<B.length;ae+=1)N(ae);pe()}A[33]?U?(U.p(A,oe),oe[1]&4&&m(U,1)):(U=na(A),U.c(),m(U,1),U.m(l,s)):U&&(he(),v(U,1,1,()=>{U=null}),pe()),A[34]?Y?(Y.p(A,oe),oe[1]&8&&m(Y,1)):(Y=oa(A),Y.c(),m(Y,1),Y.m(l,a)):Y&&(he(),v(Y,1,1,()=>{Y=null}),pe()),A[60]?W?oe[1]&536870912&&m(W,1):(W=la(),W.c(),m(W,1),W.m(l,c)):W&&(he(),v(W,1,1,()=>{W=null}),pe()),A[36]?ne?(ne.p(A,oe),oe[1]&32&&m(ne,1)):(ne=ra(A),ne.c(),m(ne,1),ne.m(l,null)):ne&&(he(),v(ne,1,1,()=>{ne=null}),pe()),(!E||oe[0]&16777224)&&V(l,"hidden",!A[3]&&!A[24]),(!E||oe[1]&16777216)&&V(l,"fullscreen",A[55]),A[8]?X?(X.p(A,oe),oe[0]&256&&m(X,1)):(X=sa(A),X.c(),m(X,1),X.m(h,p)):X&&(he(),v(X,1,1,()=>{X=null}),pe()),A[31]?ee?(ee.p(A,oe),oe[1]&1&&m(ee,1)):(ee=aa(A),ee.c(),m(ee,1),ee.m(h,b)):ee&&(he(),v(ee,1,1,()=>{ee=null}),pe()),A[30]?T?(T.p(A,oe),oe[0]&1073741824&&m(T,1)):(T=ua(A),T.c(),m(T,1),T.m(h,g)):T&&(he(),v(T,1,1,()=>{T=null}),pe()),A[8]?te?(te.p(A,oe),oe[0]&256&&m(te,1)):(te=ca(A),te.c(),m(te,1),te.m(h,null)):te&&(he(),v(te,1,1,()=>{te=null}),pe()),(!E||oe[0]&67108872)&&V(h,"hidden",!A[3]||A[26]),A[97]&&!A[26]?fe?(fe.p(A,oe),oe[0]&67108864&&m(fe,1)):(fe=fa(A),fe.c(),m(fe,1),fe.m(L.parentNode,L)):fe&&(he(),v(fe,1,1,()=>{fe=null}),pe())},i(A){if(!E){m(w);for(let oe=0;oe<P.length;oe+=1)m(B[oe]);m(U),m(Y),m(W),m(ne),m(X),m(ee),m(T),m(te),m(fe),E=!0}},o(A){v(w),B=B.filter(Boolean);for(let oe=0;oe<B.length;oe+=1)v(B[oe]);v(U),v(Y),v(W),v(ne),v(X),v(ee),v(T),v(te),v(fe),E=!1},d(A){A&&(y(e),y(t),y(n),y(o),y(l),y(f),y(h),y(_),y(L)),w&&w.d(),rn(B,A),U&&U.d(),Y&&Y.d(),W&&W.d(),ne&&ne.d(),X&&X.d(),ee&&ee.d(),T&&T.d(),te&&te.d(),fe&&fe.d(A)}}}function ta(i){let e,t;return e=new ac({props:{muted:i[57],expanded:i[54]&&!i[73]&&i[58],click:i[104]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ia(i){var n;let e,t;return e=new sc({props:{iconUrl:i[137],ariaLabel:(n=i[138])!=null?n:i[141],testId:i[139],onClick:i[140]}}),{c(){F(e.$$.fragment)},m(o,l){z(e,o,l),t=!0},p(o,l){var s;const r={};l[1]&268435456&&(r.iconUrl=o[137]),l[1]&268435456&&(r.ariaLabel=(s=o[138])!=null?s:o[141]),l[1]&268435456&&(r.testId=o[139]),l[1]&268435456&&(r.onClick=o[140]),e.$set(r)},i(o){t||(m(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){D(e,o)}}}function na(i){let e,t;return e=new xu({props:{isMobile:!0,click:i[102],state:i[25]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function oa(i){let e,t;return e=new Zv({props:{click:i[103],isPictureInPictureActive:i[23]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function la(i){let e,t;return e=new jl({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ra(i){let e,t;return e=new Ju({props:{click:i[67],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function sa(i){let e,t;return e=new Xo({props:{click:i[13],type:"prev",disabled:!i[10],isMobile:!0}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function aa(i){let e,t;return e=new Gl({props:{disabled:i[51],click:i[66],isMobile:!0,isPlaying:i[28]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ua(i){let e,t;return e=new Kl({props:{disabled:i[50],click:i[105],isMobile:!0}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ca(i){let e,t;return e=new Xo({props:{click:i[12],type:"next",disabled:!i[9],isMobile:!0}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function fa(i){let e,t,n,o,l=i[100]&&Kv(i),r=i[98]&&Yv(i),s=i[99]&&Qv(i);return{c(){l&&l.c(),e=R(),r&&r.c(),t=R(),s&&s.c(),n=bt()},m(a,c){l&&l.m(a,c),S(a,e,c),r&&r.m(a,c),S(a,t,c),s&&s.m(a,c),S(a,n,c),o=!0},p(a,c){a[100]&&l.p(a,c),a[98]&&r.p(a,c),a[99]&&s.p(a,c)},i(a){o||(m(l),m(r),m(s),o=!0)},o(a){v(l),v(r),v(s),o=!1},d(a){a&&(y(e),y(t),y(n)),l&&l.d(a),r&&r.d(a),s&&s.d(a)}}}function Kv(i){let e,t,n;return t=new rc({props:{hidden:!i[3],disabled:i[49],click:i[18]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),V(e,"fullscreen",i[55]),V(e,"hidden",!i[3])},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[0]&8&&(r.hidden=!o[3]),l[1]&262144&&(r.disabled=o[49]),l[0]&262144&&(r.click=o[18]),t.$set(r),(!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){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Yv(i){let e,t,n;return t=new lc({props:{hidden:!i[3]&&!i[61],disabled:i[53],click:i[17],graphIsOpened:i[61]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class",zc(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){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[0]&8|l[1]&1073741824&&(r.hidden=!o[3]&&!o[61]),l[1]&4194304&&(r.disabled=o[53]),l[0]&131072&&(r.click=o[17]),l[1]&1073741824&&(r.graphIsOpened=o[61]),t.$set(r),(!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){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Qv(i){let e,t,n;return t=new oc({props:{hidden:!i[3],disabled:i[52],click:i[16]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),V(e,"fullscreen",i[55]),V(e,"hidden",!i[3])},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[0]&8&&(r.hidden=!o[3]),l[1]&2097152&&(r.disabled=o[52]),l[0]&65536&&(r.click=o[16]),t.$set(r),(!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){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function da(i){let e,t,n,o,l,r=i[56]&&ma(i),s=i[29]&&ha(i);return o=new tc({props:{position:i[62],duration:i[63]}}),{c(){r&&r.c(),e=R(),s&&s.c(),t=R(),n=k("div"),F(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),V(n,"fullscreen",i[55])},m(a,c){r&&r.m(a,c),S(a,e,c),s&&s.m(a,c),S(a,t,c),S(a,n,c),z(o,n,null),l=!0},p(a,c){a[56]?r?(r.p(a,c),c[1]&33554432&&m(r,1)):(r=ma(a),r.c(),m(r,1),r.m(e.parentNode,e)):r&&(he(),v(r,1,1,()=>{r=null}),pe()),a[29]?s?(s.p(a,c),c[0]&536870912&&m(s,1)):(s=ha(a),s.c(),m(s,1),s.m(t.parentNode,t)):s&&(he(),v(s,1,1,()=>{s=null}),pe());const f={};c[2]&1&&(f.position=a[62]),c[2]&2&&(f.duration=a[63]),o.$set(f),(!l||c[1]&16777216)&&V(n,"fullscreen",a[55])},i(a){l||(m(r),m(s),m(o.$$.fragment,a),l=!0)},o(a){v(r),v(s),v(o.$$.fragment,a),l=!1},d(a){a&&(y(e),y(t),y(n)),r&&r.d(a),s&&s.d(a),D(o)}}}function ma(i){let e,t,n;return t=new ac({props:{muted:i[57],expanded:!1,click:i[104]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),V(e,"fullscreen",i[55])},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[1]&67108864&&(r.muted=o[57]),t.$set(r),(!n||l[1]&16777216)&&V(e,"fullscreen",o[55])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function ha(i){let e,t,n;return t=new Gl({props:{disabled:i[51],click:i[66],isMobile:!0,isPlaying:!i[29]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[1]&1048576&&(r.disabled=o[51]),l[0]&536870912&&(r.isPlaying=!o[29]),t.$set(r)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Xv(i){let e,t,n;function o(r){i[120](r)}let l={disabled:i[50],$$slots:{default:[Jv]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[1]&524288&&(a.disabled=r[50]),s[1]&524288|s[4]&1048576&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&2048&&(t=!0,a.width=r[42],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function Jv(i){let e,t;return e=new Kl({props:{disabled:i[50],click:i[96]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function pa(i){let e,t,n;function o(r){i[121](r)}let l={$$slots:{default:[xv]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[0]&524288|s[1]&131072|s[4]&1048576&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&4096&&(t=!0,a.width=r[43],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function xv(i){let e,t;return e=new $u({props:{isActiveLive:i[19],isMobile:!0,ariaLabel:i[48]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function va(i){let e,t,n;function o(r){i[122](r)}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 Gu({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[1]&2&&(a.showDuration=r[32]),s[0]&16|s[2]&5&&(a.position=r[4]?r[62]:r[64]),s[0]&16|s[2]&10&&(a.duration=r[4]?r[63]:r[65]),!t&&s[1]&8192&&(t=!0,a.width=r[44],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function ga(i){let e,t,n,o;return n=new nc({props:{position:i[64],duration:i[65],timeCodes:i[86]}}),{c(){e=k("div"),e.textContent="\xB7",t=R(),F(n.$$.fragment),u(e,"aria-hidden","true")},m(l,r){S(l,e,r),S(l,t,r),z(n,l,r),o=!0},p(l,r){const s={};r[2]&4&&(s.position=l[64]),r[2]&8&&(s.duration=l[65]),n.$set(s)},i(l){o||(m(n.$$.fragment,l),o=!0)},o(l){v(n.$$.fragment,l),o=!1},d(l){l&&(y(e),y(t)),D(n,l)}}}function $v(i){let e,t,n=i[40]&&ga(i);return{c(){n&&n.c(),e=bt()},m(o,l){n&&n.m(o,l),S(o,e,l),t=!0},p(o,l){o[40]?n?(n.p(o,l),l[1]&512&&m(n,1)):(n=ga(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),v(n,1,1,()=>{n=null}),pe())},i(o){t||(m(n),t=!0)},o(o){v(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function ba(i){let e,t,n;function o(r){i[124](r)}let l={$$slots:{default:[e5]},$$scope:{ctx:i}};return i[46]!==void 0&&(l.width=i[46]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[4]&1048576&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&32768&&(t=!0,a.width=r[46],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function e5(i){let e,t;return e=new jl({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function _a(i){let e,t,n;function o(r){i[125](r)}let l={$$slots:{default:[t5]},$$scope:{ctx:i}};return i[47]!==void 0&&(l.width=i[47]),e=new Gt({props:l}),We.push(()=>Tt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[0]&16384|s[1]&16777216|s[4]&1048576&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&65536&&(t=!0,a.width=r[47],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function t5(i){let e,t;return e=new Qu({props:{click:i[14],isFullscreen:i[55]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function wa(i){let e,t,n;return t=new Zu({props:{supportLink:i[11],returnFocus:i[15]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[0]&2048&&(r.supportLink=o[11]),l[0]&32768&&(r.returnFocus=o[15]),t.$set(r)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function i5(i){let e,t,n,o,l,r,s,a,c,f,h,p,b,g,_,L,E,w=!i[4]&&ea(i),P=i[4]&&i[27]!==Qt.INACTIVE&&da(i),B=i[97]&&Xv(i),N=!i[4]&&i[21]&&pa(i),U=i[38]&&va(i);function Y(T){i[123](T)}let W={className:"w-max",disabled:!i[40],$$slots:{default:[$v]},$$scope:{ctx:i}};i[45]!==void 0&&(W.width=i[45]),c=new Gt({props:W}),We.push(()=>Tt(c,"width",Y));let ne=i[35]&&ba(i),X=i[37]&&_a(i);g=new ic({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[20]}});let ee=i[22]&&wa(i);return{c(){w&&w.c(),e=R(),P&&P.c(),t=R(),n=k("div"),o=k("div"),l=k("div"),B&&B.c(),r=R(),N&&N.c(),s=R(),U&&U.c(),a=R(),F(c.$$.fragment),h=R(),ne&&ne.c(),p=R(),X&&X.c(),b=R(),F(g.$$.fragment),_=R(),ee&&ee.c(),L=bt(),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(T,te){w&&w.m(T,te),S(T,e,te),P&&P.m(T,te),S(T,t,te),S(T,n,te),d(n,o),d(o,l),B&&B.m(l,null),d(l,r),N&&N.m(l,null),d(l,s),U&&U.m(l,null),d(l,a),z(c,l,null),d(l,h),ne&&ne.m(l,null),d(l,p),X&&X.m(l,null),i[126](l),d(o,b),z(g,o,null),i[127](n),S(T,_,te),ee&&ee.m(T,te),S(T,L,te),E=!0},p(T,te){T[4]?w&&(he(),v(w,1,1,()=>{w=null}),pe()):w?(w.p(T,te),te[0]&16&&m(w,1)):(w=ea(T),w.c(),m(w,1),w.m(e.parentNode,e)),T[4]&&T[27]!==Qt.INACTIVE?P?(P.p(T,te),te[0]&134217744&&m(P,1)):(P=da(T),P.c(),m(P,1),P.m(t.parentNode,t)):P&&(he(),v(P,1,1,()=>{P=null}),pe()),T[97]&&B.p(T,te),!T[4]&&T[21]?N?(N.p(T,te),te[0]&2097168&&m(N,1)):(N=pa(T),N.c(),m(N,1),N.m(l,s)):N&&(he(),v(N,1,1,()=>{N=null}),pe()),T[38]?U?(U.p(T,te),te[1]&128&&m(U,1)):(U=va(T),U.c(),m(U,1),U.m(l,a)):U&&(he(),v(U,1,1,()=>{U=null}),pe());const fe={};te[1]&512&&(fe.disabled=!T[40]),te[1]&512|te[2]&12|te[4]&1048576&&(fe.$$scope={dirty:te,ctx:T}),!f&&te[1]&16384&&(f=!0,fe.width=T[45],Ct(()=>f=!1)),c.$set(fe),T[35]?ne?(ne.p(T,te),te[1]&16&&m(ne,1)):(ne=ba(T),ne.c(),m(ne,1),ne.m(l,p)):ne&&(he(),v(ne,1,1,()=>{ne=null}),pe()),T[37]?X?(X.p(T,te),te[1]&64&&m(X,1)):(X=_a(T),X.c(),m(X,1),X.m(l,null)):X&&(he(),v(X,1,1,()=>{X=null}),pe());const A={};te[0]&16&&(A.isAds=T[4]),te[0]&32&&(A.canRewindLive=T[5]),te[0]&1048576&&(A.isRewindableLive=T[20]),g.$set(A),(!E||te[1]&16777216)&&V(o,"fullscreen",T[55]),(!E||te[0]&2)&&V(n,"hidden",T[1]),(!E||te[0]&8)&&V(n,"controls-hidden",!T[3]),(!E||te[0]&4)&&V(n,"no-smooth",T[2]),T[22]?ee?(ee.p(T,te),te[0]&4194304&&m(ee,1)):(ee=wa(T),ee.c(),m(ee,1),ee.m(L.parentNode,L)):ee&&(he(),v(ee,1,1,()=>{ee=null}),pe())},i(T){E||(m(w),m(P),m(B),m(N),m(U),m(c.$$.fragment,T),m(ne),m(X),m(g.$$.fragment,T),m(ee),E=!0)},o(T){v(w),v(P),v(B),v(N),v(U),v(c.$$.fragment,T),v(ne),v(X),v(g.$$.fragment,T),v(ee),E=!1},d(T){T&&(y(e),y(t),y(n),y(_),y(L)),w&&w.d(T),P&&P.d(T),B&&B.d(),N&&N.d(),U&&U.d(),D(c),ne&&ne.d(),X&&X.d(),i[126](null),D(g),i[127](null),ee&&ee.d(T)}}}function n5(i,e,t){var zt,Yt;let n,o,l,r,s,a,c,f,h,p,b,g,_,L,E,w,P,B,N,U,Y,W,ne,X,ee,T,te,fe,A,oe,ae,ke,we,{bottomHidden:Ee}=e,{bottomNoSmooth:Pe}=e,{showControls:H}=e,{controlsElementRef:G=void 0}=e,{isAds:O=!1}=e,{canRewindLive:ge}=e,{logoClickable:Q}=e,{logoHidden:M}=e,{videoLogoUrl:J}=e,{showNextPrevButtons:Me}=e,{nextButtonActive:Te}=e,{prevButtonActive:Le}=e,{isOneVideoPlaylist:x=!1}=e,{supportLink:ue}=e,{customFullscreenSupported:ve=!0}=e,{playNextVideo:se}=e,{playPrevVideo:Fe}=e,{repeatPlaylist:He}=e,{toggleFullscreen:st}=e,{returnFocus:lt}=e,{seekToInteractive:ze}=e,{toggleGraph:mt}=e,{playPrevChapter:kt}=e;const Re=Et(),Ne=Qi(),Wt=Re.actions.internal.toggleMuted,At=Re.actions.internal.togglePlay,ut=Re.actions.internal.pause,et=(zt=Re.callbacks)==null?void 0:zt.onAudioDoesNotExistHint,ce=(Yt=Re.callbacks)==null?void 0:Yt.onAudioDisabledHint,Xe=Re.playerPhase;j(i,Xe,de=>t(117,B=de));const $e=Re.state.duration$;j(i,$e,de=>t(65,we=de));const Je=Re.state.positionWithScrubbing$;j(i,Je,de=>t(64,ke=de));const Ze=Re.state.playbackState$;j(i,Ze,de=>t(113,c=de));const dt=Re.state.isAudioAvailable$;j(i,dt,de=>t(54,f=de));const xe=Re.state.isAudioDisabled,rt=Re.state.isEnded$;j(i,rt,de=>t(118,U=de));const Ke=Re.state.isLive$;j(i,Ke,de=>t(21,b=de));const tt=Re.state.muted$;j(i,tt,de=>t(57,ee=de));const Xt=Re.state.isActiveLive$;j(i,Xt,de=>t(114,h=de));const ht=Re.state.isRewindableLive$;j(i,ht,de=>t(20,p=de));const Ye=Re.ui.scrubbingInProgress;j(i,Ye,de=>t(26,N=de));const Lt=Re.ui.mobileNotReportControlHidden$;j(i,Lt,de=>t(24,w=de));const at=Re.ui.isPictureInPictureActive$;j(i,at,de=>t(23,E=de));const ci=Re.ui.pictureInPictureType$;j(i,ci,de=>t(116,L=de));const me=Re.ui.mobileUnmuteButtonExpanded;j(i,me,de=>t(58,T=de));const Ce=Re.ui.mobileUnmuteButtonVisible;j(i,Ce,de=>t(56,X=de));const Ie=Re.ui.settingsMenuVisible;j(i,Ie,de=>t(22,g=de));const It=Re.ui.controls,fi=Re.actions.internal.getVideoEpisodes(),Mt=Re.webApi.pictureInPictureApi,Ci=Re.state.chromecastState$;j(i,Ci,de=>t(25,P=de));const Vi=Re.state.crashed$;j(i,Vi,de=>t(60,fe=de));const Ii=It.disabledControls$;j(i,Ii,de=>t(119,W=de));const Ve=Re.ads.duration;j(i,Ve,de=>t(63,ae=de));const Nt=Re.ads.position;j(i,Nt,de=>t(62,oe=de));const di=Re.ads.playbackState;j(i,di,de=>t(27,Y=de));const Ot=Re.ui.isFullscreen;j(i,Ot,de=>t(55,ne=de));const Vt=Re.ui.playerSize;j(i,Vt,de=>t(115,_=de));const Mi=Re.ui.additionalButtons$;j(i,Mi,de=>t(59,te=de));const Rt=Re.actions.internal.replayInteractive,oi=Re.state.isInteractive,Xi=Re.state.isInteractiveGraphEnabled,Pt=Re.state.isSeekToInteractiveEnable,Ui=Re.state.isPlayPrevChapterEnabled,mi=Re.state.graphIsOpened$;j(i,mi,de=>t(61,A=de));let Ni,Ri,Ti,li,Ei,yi,hi,ri,pi,qi,ji,Ht,Ut,Bi,Ji,vi,Oi,Ai,Si,zi,Li,Jt,xt;const gi=()=>Re.actions.internal.toggleChromecast();function Kt(){xe?ce==null||ce():f?Wt():et==null||et()}async function $t(){Mt!=null&&Mt.isActive()?await(Mt==null?void 0:Mt.remove()):await(Mt==null?void 0:Mt.request())}function si(){!xe&&f&&Ce.set(!1),Kt()}const bi=x?At:He;let ei="";const ai=(de,Gi)=>{if(!de){t(48,ei=Z("tooltip_live"));return}Gi===nt.PlaybackState.PAUSED&&t(48,ei=Z("tooltip_play"))};function Wi(de){Ai=de,t(42,Ai)}function Di(de){Si=de,t(43,Si)}function Pi(de){zi=de,t(44,zi)}function Ki(de){Li=de,t(45,Li)}function ti(de){Jt=de,t(46,Jt)}function _i(de){xt=de,t(47,xt)}function Fi(de){We[de?"unshift":"push"](()=>{vi=de,t(41,vi)})}function Zi(de){We[de?"unshift":"push"](()=>{G=de,t(0,G)})}return i.$$set=de=>{"bottomHidden"in de&&t(1,Ee=de.bottomHidden),"bottomNoSmooth"in de&&t(2,Pe=de.bottomNoSmooth),"showControls"in de&&t(3,H=de.showControls),"controlsElementRef"in de&&t(0,G=de.controlsElementRef),"isAds"in de&&t(4,O=de.isAds),"canRewindLive"in de&&t(5,ge=de.canRewindLive),"logoClickable"in de&&t(6,Q=de.logoClickable),"logoHidden"in de&&t(106,M=de.logoHidden),"videoLogoUrl"in de&&t(7,J=de.videoLogoUrl),"showNextPrevButtons"in de&&t(8,Me=de.showNextPrevButtons),"nextButtonActive"in de&&t(9,Te=de.nextButtonActive),"prevButtonActive"in de&&t(10,Le=de.prevButtonActive),"isOneVideoPlaylist"in de&&t(107,x=de.isOneVideoPlaylist),"supportLink"in de&&t(11,ue=de.supportLink),"customFullscreenSupported"in de&&t(108,ve=de.customFullscreenSupported),"playNextVideo"in de&&t(12,se=de.playNextVideo),"playPrevVideo"in de&&t(13,Fe=de.playPrevVideo),"repeatPlaylist"in de&&t(109,He=de.repeatPlaylist),"toggleFullscreen"in de&&t(14,st=de.toggleFullscreen),"returnFocus"in de&&t(15,lt=de.returnFocus),"seekToInteractive"in de&&t(16,ze=de.seekToInteractive),"toggleGraph"in de&&t(17,mt=de.toggleGraph),"playPrevChapter"in de&&t(18,kt=de.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&67108864&&t(112,n=W.has(vt.EPISODE_BUTTON)),i.$$.dirty[3]&67108864&&t(53,o=W.has(vt.GRAPH_BUTTON)),i.$$.dirty[3]&67108864&&t(52,l=W.has(vt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&67108864&&t(51,r=W.has(vt.PLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(50,s=W.has(vt.REPLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(49,a=W.has(vt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&1048576&&t(28,Ni=c===nt.PlaybackState.PLAYING),i.$$.dirty[0]&134217728&&t(29,Ri=Y===Qt.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&33554432&&t(30,Ti=U&&!O&&!oi),i.$$.dirty[0]&16|i.$$.dirty[3]&33554432&&t(31,li=!U||O),i.$$.dirty[3]&4194304&&t(110,Ei=_.width>300),i.$$.dirty[3]&4194304&&t(32,yi=_.width>400),i.$$.dirty[0]&67108864&&t(111,hi=N),i.$$.dirty[0]&58720256|i.$$.dirty[3]&8388608&&t(33,ri=P!==nt.ChromecastState.NOT_AVAILABLE&&!(E&&L===kn.DocumentPictureInPicture)&&!w&&!oi),i.$$.dirty[0]&50331648|i.$$.dirty[3]&25427968){const de=B===Be.WaitingLive;t(34,pi=!!Mt&&P!==nt.ChromecastState.CONNECTED&&!w&&(L===kn.DocumentPictureInPicture&&de||!de)&&!hi&&!oi)}i.$$.dirty[3]&262144&&t(35,qi=!hi),i.$$.dirty[3]&4202496&&t(36,ji=!M&&_.width>350),i.$$.dirty[0]&8388608|i.$$.dirty[3]&8683520&&t(37,Ht=Ne.features.fullscreen&&!(E&&L===kn.DocumentPictureInPicture)&&(oi?ve:!0)&&!hi),i.$$.dirty[0]&2097168|i.$$.dirty[3]&4456448&&t(38,Ut=(!b||O)&&_.width>260&&!hi&&!(Ne.features.interactiveHideTime&&oi)),i.$$.dirty[0]&4194312&&t(39,Bi=g||H),i.$$.dirty[0]&2097168|i.$$.dirty[3]&917504&&t(40,Ji=!O&&!b&&!!(fi!=null&&fi.length)&&Ei&&!n&&!hi),i.$$.dirty[0]&1048576|i.$$.dirty[3]&2097152&&t(19,Oi=!p||h),i.$$.dirty[0]&524288|i.$$.dirty[3]&1048576&&ai(Oi,c)},[G,Ee,Pe,H,O,ge,Q,J,Me,Te,Le,ue,se,Fe,st,lt,ze,mt,kt,Oi,p,b,g,E,w,P,N,Y,Ni,Ri,Ti,li,yi,ri,pi,qi,ji,Ht,Ut,Bi,Ji,vi,Ai,Si,zi,Li,Jt,xt,ei,a,s,r,l,o,f,ne,X,ee,T,te,fe,A,oe,ae,ke,we,At,ut,Xe,$e,Je,Ze,dt,xe,rt,Ke,tt,Xt,ht,Ye,Lt,at,ci,me,Ce,Ie,fi,Ci,Vi,Ii,Ve,Nt,di,Ot,Vt,Mi,Rt,oi,Xi,Pt,Ui,mi,gi,$t,si,bi,M,x,ve,He,Ei,hi,n,c,h,_,L,B,U,W,Wi,Di,Pi,Ki,ti,_i,Fi,Zi]}class o5 extends Se{constructor(e){super(),ye(this,e,n5,i5,_e,{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},Gv,[-1,-1,-1,-1,-1])}}function l5(i){let e,t,n;function o(r){i[26](r)}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 Mv({props:l}),We.push(()=>Tt(e,"controlsElementRef",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s&2&&(a.bottomHidden=r[1]),s&4&&(a.bottomNoSmooth=r[2]),s&8&&(a.showControls=r[3]),s&16&&(a.isAds=r[4]),s&32&&(a.canRewindLive=r[5]),s&64&&(a.logoClickable=r[6]),s&128&&(a.logoHidden=r[7]),s&256&&(a.videoLogoUrl=r[8]),s&512&&(a.showNextPrevButtons=r[9]),s&1024&&(a.nextButtonActive=r[10]),s&2048&&(a.prevButtonActive=r[11]),s&4096&&(a.isOneVideoPlaylist=r[12]),s&8192&&(a.supportLink=r[13]),s&16384&&(a.customFullscreenSupported=r[14]),s&32768&&(a.playNextVideo=r[15]),s&65536&&(a.playPrevVideo=r[16]),s&131072&&(a.repeatPlaylist=r[17]),s&262144&&(a.toggleFullscreen=r[18]),s&524288&&(a.returnFocus=r[19]),s&1048576&&(a.seekToInteractive=r[20]),s&2097152&&(a.toggleGraph=r[21]),s&4194304&&(a.playPrevChapter=r[22]),!t&&s&1&&(t=!0,a.controlsElementRef=r[0],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function r5(i){let e,t,n;function o(r){i[25](r)}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 o5({props:l}),We.push(()=>Tt(e,"controlsElementRef",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s&2&&(a.bottomHidden=r[1]),s&4&&(a.bottomNoSmooth=r[2]),s&8&&(a.showControls=r[3]),s&16&&(a.isAds=r[4]),s&32&&(a.canRewindLive=r[5]),s&64&&(a.logoClickable=r[6]),s&128&&(a.logoHidden=r[7]),s&256&&(a.videoLogoUrl=r[8]),s&512&&(a.showNextPrevButtons=r[9]),s&1024&&(a.nextButtonActive=r[10]),s&2048&&(a.prevButtonActive=r[11]),s&4096&&(a.isOneVideoPlaylist=r[12]),s&8192&&(a.supportLink=r[13]),s&16384&&(a.customFullscreenSupported=r[14]),s&32768&&(a.playNextVideo=r[15]),s&65536&&(a.playPrevVideo=r[16]),s&131072&&(a.repeatPlaylist=r[17]),s&262144&&(a.toggleFullscreen=r[18]),s&524288&&(a.returnFocus=r[19]),s&1048576&&(a.seekToInteractive=r[20]),s&2097152&&(a.toggleGraph=r[21]),s&4194304&&(a.playPrevChapter=r[22]),!t&&s&1&&(t=!0,a.controlsElementRef=r[0],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function s5(i){let e,t,n,o;const l=[r5,l5],r=[];function s(a,c){return a[23]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){r[e].m(a,c),S(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?r[e].p(a,c):(he(),v(r[f],1,1,()=>{r[f]=null}),pe(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function a5(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:l=!1}=e,{showControls:r}=e,{controlsElementRef:s=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:h}=e,{videoLogoUrl:p}=e,{showNextPrevButtons:b}=e,{nextButtonActive:g}=e,{prevButtonActive:_}=e,{isOneVideoPlaylist:L=!1}=e,{supportLink:E}=e,{customFullscreenSupported:w=!0}=e,{playNextVideo:P}=e,{playPrevVideo:B}=e,{repeatPlaylist:N}=e,{toggleFullscreen:U}=e,{returnFocus:Y=le.noop}=e,{seekToInteractive:W}=e,{toggleGraph:ne}=e,{playPrevChapter:X}=e;const T=Et().ui.isMobile;j(i,T,A=>t(23,n=A));function te(A){s=A,t(0,s)}function fe(A){s=A,t(0,s)}return i.$$set=A=>{"bottomHidden"in A&&t(1,o=A.bottomHidden),"bottomNoSmooth"in A&&t(2,l=A.bottomNoSmooth),"showControls"in A&&t(3,r=A.showControls),"controlsElementRef"in A&&t(0,s=A.controlsElementRef),"isAds"in A&&t(4,a=A.isAds),"canRewindLive"in A&&t(5,c=A.canRewindLive),"logoClickable"in A&&t(6,f=A.logoClickable),"logoHidden"in A&&t(7,h=A.logoHidden),"videoLogoUrl"in A&&t(8,p=A.videoLogoUrl),"showNextPrevButtons"in A&&t(9,b=A.showNextPrevButtons),"nextButtonActive"in A&&t(10,g=A.nextButtonActive),"prevButtonActive"in A&&t(11,_=A.prevButtonActive),"isOneVideoPlaylist"in A&&t(12,L=A.isOneVideoPlaylist),"supportLink"in A&&t(13,E=A.supportLink),"customFullscreenSupported"in A&&t(14,w=A.customFullscreenSupported),"playNextVideo"in A&&t(15,P=A.playNextVideo),"playPrevVideo"in A&&t(16,B=A.playPrevVideo),"repeatPlaylist"in A&&t(17,N=A.repeatPlaylist),"toggleFullscreen"in A&&t(18,U=A.toggleFullscreen),"returnFocus"in A&&t(19,Y=A.returnFocus),"seekToInteractive"in A&&t(20,W=A.seekToInteractive),"toggleGraph"in A&&t(21,ne=A.toggleGraph),"playPrevChapter"in A&&t(22,X=A.playPrevChapter)},[s,o,l,r,a,c,f,h,p,b,g,_,L,E,w,P,B,N,U,Y,W,ne,X,n,T,te,fe]}class uc extends Se{constructor(e){super(),ye(this,e,a5,s5,_e,{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 u5(i){je(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function c5(i){let e,t,n,o,l,r,s,a,c,f,h,p,b;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),r=I("filter"),s=I("feFlood"),a=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),p=I("feBlend"),b=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(s,"flood-opacity","0"),u(s,"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(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(p,"in2","BackgroundImageFix"),u(p,"result","effect1_dropShadow_2260_100684"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_100684"),u(b,"result","shape"),u(r,"id","a"),u(r,"x","2.5"),u(r,"y","0"),u(r,"width","43.996"),u(r,"height","49.5"),u(r,"filterUnits","userSpaceOnUse"),u(r,"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(g,_){S(g,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,r),d(r,s),d(r,a),d(r,c),d(r,f),d(r,h),d(r,p),d(r,b)},p(g,[_]){_&1&&V(e,"reversed",g[0])},i:K,o:K,d(g){g&&y(e)}}}function f5(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class d5 extends Se{constructor(e){super(),ye(this,e,f5,c5,_e,{reversed:0},u5)}}function m5(i){let e,t,n,o,l,r,s,a,c,f,h,p,b,g,_;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),r=I("clipPath"),s=I("path"),a=I("filter"),c=I("feFlood"),f=I("feColorMatrix"),h=I("feOffset"),p=I("feGaussianBlur"),b=I("feColorMatrix"),g=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(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(r,"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(p,"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(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_104204"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_104204"),u(_,"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(L,E){S(L,e,E),d(e,t),d(t,n),d(t,o),d(e,l),d(l,r),d(r,s),d(l,a),d(a,c),d(a,f),d(a,h),d(a,p),d(a,b),d(a,g),d(a,_)},d(L){L&&y(e)}}}function h5(i){let e,t,n,o,l,r,s,a,c,f,h,p,b,g,_,L;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),r=I("defs"),s=I("clipPath"),a=I("path"),c=I("filter"),f=I("feFlood"),h=I("feColorMatrix"),p=I("feOffset"),b=I("feGaussianBlur"),g=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(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(s,"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(b,"stdDeviation","2.5"),u(g,"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(E,w){S(E,e,w),d(e,t),d(t,n),d(t,o),d(t,l),d(e,r),d(r,s),d(s,a),d(r,c),d(c,f),d(c,h),d(c,p),d(c,b),d(c,g),d(c,_),d(c,L)},d(E){E&&y(e)}}}function p5(i){let e;function t(l,r){return l[0]?h5:m5}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,r){o.m(l,r),S(l,e,r)},p(l,[r]){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 v5(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class cc extends Se{constructor(e){super(),ye(this,e,v5,p5,_e,{isOff:0})}}function g5(i){je(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function b5(i){let e,t,n,o,l,r,s,a,c,f,h,p,b;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),r=I("filter"),s=I("feFlood"),a=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),p=I("feBlend"),b=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(s,"flood-opacity","0"),u(s,"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(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(p,"in2","BackgroundImageFix"),u(p,"result","effect1_dropShadow_2260_106627"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_106627"),u(b,"result","shape"),u(r,"id","a"),u(r,"x","3.402"),u(r,"y","10.105"),u(r,"width","40.098"),u(r,"height","27.785"),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"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",i[0])},m(g,_){S(g,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,r),d(r,s),d(r,a),d(r,c),d(r,f),d(r,h),d(r,p),d(r,b)},p(g,[_]){_&1&&V(e,"reversed",g[0])},i:K,o:K,d(g){g&&y(e)}}}function _5(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class w5 extends Se{constructor(e){super(),ye(this,e,_5,b5,_e,{reversed:0},g5)}}function k5(i){je(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function y5(i){let e,t,n,o,l,r,s,a,c,f,h,p,b;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),r=I("filter"),s=I("feFlood"),a=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),p=I("feBlend"),b=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(s,"flood-opacity","0"),u(s,"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(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(p,"in2","BackgroundImageFix"),u(p,"result","effect1_dropShadow_2340_106922"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2340_106922"),u(b,"result","shape"),u(r,"id","a"),u(r,"x","5.5"),u(r,"y","5.5"),u(r,"width","37"),u(r,"height","37"),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"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",i[0])},m(g,_){S(g,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,r),d(r,s),d(r,a),d(r,c),d(r,f),d(r,h),d(r,p),d(r,b)},p(g,[_]){_&1&&V(e,"reversed",g[0])},i:K,o:K,d(g){g&&y(e)}}}function S5(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class P5 extends Se{constructor(e){super(),ye(this,e,S5,y5,_e,{reversed:0},k5)}}function C5(i){je(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 ka(i){let e,t=[Qe.BACKWARD_SEEK,Qe.FORWARD_SEEK].includes(i[4]),n,o,l,r,s,a=[Qe.RATE_DOWN,Qe.RATE_UP].includes(i[4]),c,f=[Qe.EPISODE_PREV,Qe.EPISODE_NEXT].includes(i[4]),h,p,b,g,_,L=t&&ya(i),E=i[4]===Qe.STOP&&Sa(),w=i[4]===Qe.PLAY&&Pa(),P=i[4]===Qe.SUBTITLES_OFF&&Ca(),B=i[4]===Qe.SUBTITLES_ON&&Ta(),N=a&&Ea(i),U=f&&Aa(i),Y=i[4]===Qe.MUTE&&La(),W=i[4]===Qe.VOLUME&&Va(),ne=i[5]&&Ia(i);return{c(){e=k("div"),L&&L.c(),n=R(),E&&E.c(),o=R(),w&&w.c(),l=R(),P&&P.c(),r=R(),B&&B.c(),s=R(),N&&N.c(),c=R(),U&&U.c(),h=R(),Y&&Y.c(),p=R(),W&&W.c(),b=R(),ne&&ne.c(),g=bt(),u(e,"class","v-1lbk7aq")},m(X,ee){S(X,e,ee),L&&L.m(e,null),d(e,n),E&&E.m(e,null),d(e,o),w&&w.m(e,null),d(e,l),P&&P.m(e,null),d(e,r),B&&B.m(e,null),d(e,s),N&&N.m(e,null),d(e,c),U&&U.m(e,null),d(e,h),Y&&Y.m(e,null),d(e,p),W&&W.m(e,null),S(X,b,ee),ne&&ne.m(X,ee),S(X,g,ee),_=!0},p(X,ee){ee&16&&(t=[Qe.BACKWARD_SEEK,Qe.FORWARD_SEEK].includes(X[4])),t?L?(L.p(X,ee),ee&16&&m(L,1)):(L=ya(X),L.c(),m(L,1),L.m(e,n)):L&&(he(),v(L,1,1,()=>{L=null}),pe()),X[4]===Qe.STOP?E?ee&16&&m(E,1):(E=Sa(),E.c(),m(E,1),E.m(e,o)):E&&(he(),v(E,1,1,()=>{E=null}),pe()),X[4]===Qe.PLAY?w?ee&16&&m(w,1):(w=Pa(),w.c(),m(w,1),w.m(e,l)):w&&(he(),v(w,1,1,()=>{w=null}),pe()),X[4]===Qe.SUBTITLES_OFF?P?ee&16&&m(P,1):(P=Ca(),P.c(),m(P,1),P.m(e,r)):P&&(he(),v(P,1,1,()=>{P=null}),pe()),X[4]===Qe.SUBTITLES_ON?B?ee&16&&m(B,1):(B=Ta(),B.c(),m(B,1),B.m(e,s)):B&&(he(),v(B,1,1,()=>{B=null}),pe()),ee&16&&(a=[Qe.RATE_DOWN,Qe.RATE_UP].includes(X[4])),a?N?(N.p(X,ee),ee&16&&m(N,1)):(N=Ea(X),N.c(),m(N,1),N.m(e,c)):N&&(he(),v(N,1,1,()=>{N=null}),pe()),ee&16&&(f=[Qe.EPISODE_PREV,Qe.EPISODE_NEXT].includes(X[4])),f?U?(U.p(X,ee),ee&16&&m(U,1)):(U=Aa(X),U.c(),m(U,1),U.m(e,h)):U&&(he(),v(U,1,1,()=>{U=null}),pe()),X[4]===Qe.MUTE?Y?ee&16&&m(Y,1):(Y=La(),Y.c(),m(Y,1),Y.m(e,p)):Y&&(he(),v(Y,1,1,()=>{Y=null}),pe()),X[4]===Qe.VOLUME?W?ee&16&&m(W,1):(W=Va(),W.c(),m(W,1),W.m(e,null)):W&&(he(),v(W,1,1,()=>{W=null}),pe()),X[5]?ne?ne.p(X,ee):(ne=Ia(X),ne.c(),ne.m(g.parentNode,g)):ne&&(ne.d(1),ne=null)},i(X){_||(m(L),m(E),m(w),m(P),m(B),m(N),m(U),m(Y),m(W),_=!0)},o(X){v(L),v(E),v(w),v(P),v(B),v(N),v(U),v(Y),v(W),_=!1},d(X){X&&(y(e),y(b),y(g)),L&&L.d(),E&&E.d(),w&&w.d(),P&&P.d(),B&&B.d(),N&&N.d(),U&&U.d(),Y&&Y.d(),W&&W.d(),ne&&ne.d(X)}}}function ya(i){let e,t;return e=new d5({props:{reversed:i[4]===Qe.FORWARD_SEEK}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Qe.FORWARD_SEEK),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Sa(i){let e,t;return e=new Xu({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Pa(i){let e,t;return e=new Zl({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ca(i){let e,t;return e=new cc({props:{isOff:!0}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ta(i){let e,t;return e=new cc({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ea(i){let e,t;return e=new w5({props:{reversed:i[4]===Qe.RATE_UP}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Qe.RATE_UP),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Aa(i){let e,t;return e=new P5({props:{reversed:i[4]===Qe.EPISODE_NEXT}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Qe.EPISODE_NEXT),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function La(i){let e,t;return e=new Qo({props:{volume:0}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Va(i){let e,t;return e=new Qo({props:{volume:1}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ia(i){let e,t;return{c(){e=k("span"),t=De(i[5]),u(e,"class","hot-key-helpers-text v-1lbk7aq")},m(n,o){S(n,e,o),d(e,t)},p(n,o){o&32&&ot(t,n[5])},d(n){n&&y(e)}}}function T5(i){let e,t,n=!i[1]&&i[4]&&ka(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){S(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=ka(o),n.c(),m(n,1),n.m(e,null)):n&&(he(),v(n,1,1,()=>{n=null}),pe()),(!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){v(n),t=!1},d(o){o&&y(e),n&&n.d()}}}function E5(i,e,t){let n,o=K,l=()=>(o(),o=Uo(r,p=>t(6,n=p)),r);i.$$.on_destroy.push(()=>o());let{data:r}=e;l();let s,a,c,f,h;return i.$$set=p=>{"data"in p&&l(t(0,r=p.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,s=!n),t(2,a=(n==null?void 0:n.type)===Qe.BACKWARD_SEEK),t(3,c=(n==null?void 0:n.type)===Qe.FORWARD_SEEK),t(4,f=n==null?void 0:n.type),n!=null&&n.t?t(5,h=Z(n.t.key,{value:n.t.value||""})):t(5,h=n==null?void 0:n.text))},[r,s,a,c,f,h,n]}class A5 extends Se{constructor(e){super(),ye(this,e,E5,T5,_e,{data:0},C5)}}function L5(i){je(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 V5(i){let e,t,n,o,l,r,s,a,c,f,h,p,b,g,_,L,E,w;return l=new Mn({props:{direction:"up"}}),a=new Mn({props:{direction:"up"}}),p=new Mn({props:{direction:"up"}}),_=new Mn({props:{direction:"up"}}),{c(){e=k("div"),t=k("div"),n=k("div"),o=k("div"),F(l.$$.fragment),r=R(),s=k("div"),F(a.$$.fragment),c=R(),f=k("div"),h=k("div"),F(p.$$.fragment),b=R(),g=k("div"),F(_.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(s,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(h,"class","button button-left v-1yzc86r"),u(g,"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",Z("aria_label_spherical_control")),V(e,"m-shifted",i[0])},m(P,B){S(P,e,B),d(e,t),d(t,n),d(n,o),z(l,o,null),d(n,r),d(n,s),z(a,s,null),d(t,c),d(t,f),d(f,h),z(p,h,null),d(f,b),d(f,g),z(_,g,null),L=!0,E||(w=[Ae(o,"mousedown",i[1]),Ae(o,"mouseup",i[5]),Ae(o,"mouseleave",i[5]),Ae(s,"mousedown",i[3]),Ae(s,"mouseup",i[5]),Ae(s,"mouseleave",i[5]),Ae(h,"mousedown",i[4]),Ae(h,"mouseup",i[5]),Ae(h,"mouseleave",i[5]),Ae(g,"mousedown",i[2]),Ae(g,"mouseup",i[5]),Ae(g,"mouseleave",i[5]),Ae(e,"keydown",i[6]),Ae(e,"keyup",i[7])],E=!0)},p(P,[B]){(!L||B&1)&&V(e,"m-shifted",P[0])},i(P){L||(m(l.$$.fragment,P),m(a.$$.fragment,P),m(p.$$.fragment,P),m(_.$$.fragment,P),L=!0)},o(P){v(l.$$.fragment,P),v(a.$$.fragment,P),v(p.$$.fragment,P),v(_.$$.fragment,P),L=!1},d(P){P&&y(e),D(l),D(a),D(p),D(_),E=!1,ni(w)}}}function I5(i,e,t){let{isShifted:n=!1}=e;const o=Et(),l=new Set([qe.ArrowUp,qe.ArrowDown,qe.ArrowLeft,qe.ArrowRight]),r=()=>{o.actions.internal.startCameraManualRotation(0,1)},s=()=>{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),h=b=>{if(l.has(b.code))switch(b.preventDefault(),b.stopPropagation(),b.code){case qe.ArrowUp:r();break;case qe.ArrowDown:s();break;case qe.ArrowLeft:c();break;case qe.ArrowRight:a();break}},p=b=>{l.has(b.code)&&(b.preventDefault(),b.stopPropagation(),f())};return i.$$set=b=>{"isShifted"in b&&t(0,n=b.isShifted)},[n,r,s,a,c,f,h,p]}class fc extends Se{constructor(e){super(),ye(this,e,I5,V5,_e,{isShifted:0},L5)}}function M5(i){je(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 Ma(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function Na(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function Ra(i){let e,t;function n(r,s){return r[7]&&r[8]?B5:r[5]?R5:N5}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(r,s){S(r,e,s),d(e,t),l.m(t,null)},p(r,s){o===(o=n(r))&&l?l.p(r,s):(l.d(1),l=o(r),l&&(l.c(),l.m(t,null))),s&8&&V(e,"mobile",r[3])},d(r){r&&y(e),l.d()}}}function N5(i){let e,t=Zt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Ba(Ma(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=bt()},m(o,l){for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(o,l);S(o,e,l)},p(o,l){if(l&18){t=Zt(o[1]);let r;for(r=0;r<t.length;r+=1){const s=Ma(o,t,r);n[r]?n[r].p(s,l):(n[r]=Ba(s),n[r].c(),n[r].m(e.parentNode,e))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(o){o&&y(e),rn(n,o)}}}function R5(i){let e,t,n=Zt(i[6]),o=[];for(let l=0;l<n.length;l+=1)o[l]=za(Na(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"),Ft(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,r){S(l,e,r),d(e,t);for(let s=0;s<o.length;s+=1)o[s]&&o[s].m(t,null)},p(l,r){if(r&68){n=Zt(l[6]);let s;for(s=0;s<n.length;s+=1){const a=Na(l,n,s);o[s]?o[s].p(a,r):(o[s]=za(a),o[s].c(),o[s].m(t,null))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}r&16&&Ft(t,"font-size",l[4]+"px")},d(l){l&&y(e),rn(o,l)}}}function B5(i){let e,t,n=Z("subtitles_auto_caption")+"",o;return{c(){e=k("span"),t=k("span"),o=De(n),u(t,"class","caption-segment v-ovfyp5"),Ft(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,r){S(l,e,r),d(e,t),d(t,o)},p(l,r){r&16&&Ft(t,"font-size",l[4]+"px")},d(l){l&&y(e)}}}function Ba(i){let e,t,n=i[16]+"",o,l;return{c(){e=k("span"),t=k("span"),o=De(n),l=R(),u(t,"class","caption-segment v-ovfyp5"),Ft(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,s){S(r,e,s),d(e,t),d(t,o),d(e,l)},p(r,s){s&2&&n!==(n=r[16]+"")&&ot(o,n),s&16&&Ft(t,"font-size",r[4]+"px")},d(r){r&&y(e)}}}function Oa(i){let e=i[16]+"",t;return{c(){t=De(e)},m(n,o){S(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&ot(t,e)},d(n){n&&y(t)}}}function za(i){let e,t=(!i[17]||i[17]<=i[2])&&Oa(i);return{c(){t&&t.c(),e=bt()},m(n,o){t&&t.m(n,o),S(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?t?t.p(n,o):(t=Oa(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&y(e),t&&t.d(n)}}}function O5(i){let e,t=i[1].length>0&&Ra(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){S(n,e,o),t&&t.m(e,null)},p(n,[o]){n[1].length>0?t?t.p(n,o):(t=Ra(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 z5(i,e,t){let n,o,{shifted:l}=e,{captions:r}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=Et(),h=Qi(),p=f.state.currentSubtitle$;j(i,p,P=>t(12,n=P));const b=f.state.isAutoSubtitleCaptionVisible$;j(i,b,P=>t(8,o=P));let g,_,L,E,w;return Yi(()=>{w=window.setTimeout(()=>{b.set(!1)},h.autoSubtitlesTimeout)}),jo(()=>{window.clearTimeout(w)}),i.$$set=P=>{"shifted"in P&&t(0,l=P.shifted),"captions"in P&&t(1,r=P.captions),"position"in P&&t(2,s=P.position),"playerSize"in P&&t(11,a=P.playerSize),"isMobile"in P&&t(3,c=P.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const P=a.width*.02;t(4,g=P<=h.minSubtitlesFontSize?h.minSubtitlesFontSize:P)}i.$$.dirty&2&&t(5,_=r.some(P=>P.type==="timestamp")),i.$$.dirty&2&&t(6,L=r.reduce((P,{type:B,value:N})=>(B==="timestamp"?P.push({timeAppeared:Number(N),value:""}):P.length===0?P.push({value:String(N)}):P[P.length-1].value=String(N),P),[])),i.$$.dirty&4096&&t(7,E=!!n.isAuto)},[l,r,s,c,g,_,L,E,o,p,b,a,n]}class dc extends Se{constructor(e){super(),ye(this,e,z5,O5,_e,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},M5)}}function D5(i){je(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 Da(i){let e,t,n;return{c(){e=k("div"),t=De("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=De(i[1]),u(e,"class","text v-1o62kpz")},m(o,l){S(o,e,l),d(e,t),d(e,n)},p(o,l){l&2&&ot(n,o[1])},d(o){o&&y(e)}}}function F5(i){let e,t,n,o,l,r,s=i[1]&&Da(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=R(),s&&s.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(a,c){S(a,e,c),d(e,t),d(e,n),s&&s.m(e,null),l||(r=Ae(e,"click",i[2]),l=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=Da(a),s.c(),s.m(e,null)):s&&(s.d(1),s=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:K,o:K,d(a){a&&y(e),s&&s.d(),l=!1,r()}}}function H5(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function l(r){to.call(this,i,r)}return i.$$set=r=>{"thumbUrl"in r&&t(0,n=r.thumbUrl),"chromecastDeviceName"in r&&t(1,o=r.chromecastDeviceName)},[n,o,l]}class mc extends Se{constructor(e){super(),ye(this,e,H5,F5,_e,{thumbUrl:0,chromecastDeviceName:1},D5)}}function U5(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){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class q5 extends Se{constructor(e){super(),ye(this,e,null,U5,_e,{})}}function j5(i){je(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 W5(i){let e,t,n;return t=new q5({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,l){S(o,e,l),z(t,e,null),n=!0},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}class hc extends Se{constructor(e){super(),ye(this,e,null,W5,_e,{},j5)}}function Z5(i){je(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 G5(i){let e,t,n,o,l,r,s,a,c;return l=new Zl({}),{c(){e=k("div"),t=k("div"),n=k("div"),o=R(),F(l.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(t,"class","playButton v-17wno3"),u(e,"class","container v-17wno3"),u(e,"style",r=`background-color: #222; background-image: url('${i[0]||""}')`),V(e,"hidden",i[1])},m(f,h){S(f,e,h),d(e,t),d(t,n),d(t,o),z(l,t,null),s=!0,a||(c=Ae(e,"click",ft(function(){Sn(i[2])&&i[2].apply(this,arguments)})),a=!0)},p(f,[h]){i=f,(!s||h&1&&r!==(r=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",r),(!s||h&2)&&V(e,"hidden",i[1])},i(f){s||(m(l.$$.fragment,f),s=!0)},o(f){v(l.$$.fragment,f),s=!1},d(f){f&&y(e),D(l),a=!1,c()}}}function K5(i,e,t){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:l}=e;return i.$$set=r=>{"thumbUrl"in r&&t(0,n=r.thumbUrl),"hidden"in r&&t(1,o=r.hidden),"startVideo"in r&&t(2,l=r.startVideo)},[n,o,l]}class pc extends Se{constructor(e){super(),ye(this,e,K5,G5,_e,{thumbUrl:0,hidden:1,startVideo:2},Z5)}}function Y5(i){je(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 fs(i){let e;return{c(){e=T("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function ds(i){let e,t;return e=new h4({props:{position:i[5],secondsToWatchBeforeSkip:i[6],skipAd:i[8].actions.internal.skipAd}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&32&&(r.position=n[5]),o&64&&(r.secondsToWatchBeforeSkip=n[6]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ms(i){let e,t;return e=new u4({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ps(i){let e,t;return e=new b4({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function w4(i){let e,t,n,o,r,l,s,a=i[0]&&fs(),c=i[3]&&ds(i),f=i[7]&&ms(),m=i[4]&&ps();return{c(){e=T("div"),a&&a.c(),t=N(),n=T("video"),o=N(),c&&c.c(),r=N(),f&&f.c(),l=N(),m&&m.c(),Nt(n,"width","100%"),Nt(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,b){E(h,e,b),a&&a.m(e,null),p(e,t),p(e,n),i[19](n),p(e,o),c&&c.m(e,null),p(e,r),f&&f.m(e,null),p(e,l),m&&m.m(e,null),i[20](e),s=!0},p(h,[b]){h[0]?a||(a=fs(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,b),b&8&&d(c,1)):(c=ds(h),c.c(),d(c,1),c.m(e,r)):c&&(he(),g(c,1,1,()=>{c=null}),ve()),h[7]?f?b&128&&d(f,1):(f=ms(),f.c(),d(f,1),f.m(e,l)):f&&(he(),g(f,1,1,()=>{f=null}),ve()),h[4]?m?b&16&&d(m,1):(m=ps(),m.c(),d(m,1),m.m(e,null)):m&&(he(),g(m,1,1,()=>{m=null}),ve())},i(h){s||(d(c),d(f),d(m),s=!0)},o(h){g(c),g(f),g(m),s=!1},d(h){h&&P(e),a&&a.d(),i[19](null),c&&c.d(),f&&f.d(),m&&m.d(),i[20](null)}}}function y4(i,e,t){let n,o,r,l,s,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:m=0}=e;const h=Pt(),b=h.state.isEnded$;z(i,b,O=>t(7,s=O));const v=h.ui.isMobile;z(i,v,O=>t(0,o=O));let y,_,S=!1;const k=h.ads.playbackState;z(i,k,O=>t(18,n=O));const w=h.ads.canSkip,R=h.ads.position;z(i,R,O=>t(5,r=O));const X=h.ads.secondsToWatchBeforeSkip;z(i,X,O=>t(6,l=O));let V,K;mn(()=>{const O=new AbortController;let $=()=>{O.abort()};const C=h.getAdmanWrapper();if(!a){C.onAdmanLoadingError();return}const{width:D,height:re}=Xe(h.ui.playerSize),L=Xe(h.ui.isFullscreen),ae=Xe(h.ui.isAutoplay),pe={width:D,height:re,isFullscreen:L,isAutoplay:ae,adsContainer:y,adsVideoElement:_,slotId:a,params:c,previewParam:f,duration:m};return window.AdmanHTML?(C.initAdman(pe),S=!0):C.loadAdman(O.signal).then(()=>{C.initAdman(pe),S=!0}).catch(()=>{C.onAdmanLoadingError()}),()=>{!S&&$()}});function se(O){Se[O?"unshift":"push"](()=>{_=O,t(2,_)})}function ne(O){Se[O?"unshift":"push"](()=>{y=O,t(1,y)})}return i.$$set=O=>{"adsSlotId"in O&&t(14,a=O.adsSlotId),"adsParams"in O&&t(15,c=O.adsParams),"adsPreviewParam"in O&&t(16,f=O.adsPreviewParam),"duration"in O&&t(17,m=O.duration)},i.$$.update=()=>{i.$$.dirty&262144&&t(3,V=w&&n!==ni.INACTIVE),i.$$.dirty&262145&&t(4,K=o&&n!==ni.INACTIVE)},[o,y,_,V,K,r,l,s,h,b,v,k,R,X,a,c,f,m,n,se,ne]}class vc extends ke{constructor(e){super(),ye(this,e,y4,w4,we,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},_4)}}const An=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(r=>r>9?String(r):`0${r}`).join(":")};function k4(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("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,r){E(o,e,r),p(e,t),p(e,n)},d(o){o&&P(e)}}}function S4(i){let e,t,n;return{c(){e=B("svg"),t=B("rect"),n=B("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,r){E(o,e,r),p(e,t),p(e,n)},d(o){o&&P(e)}}}function C4(i){let e;function t(r,l){return r[0]?S4:k4}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,[l]){n!==(n=t(r))&&(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(r){r&&P(e),o.d(r)}}}function P4(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class gc extends ke{constructor(e){super(),ye(this,e,P4,C4,we,{isActive:0})}}function T4(i){qe(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 E4(i){let e=An(i[4]-i[3])+"",t;return{c(){t=Fe(e)},m(n,o){E(n,t,o)},p(n,o){o&24&&e!==(e=An(n[4]-n[3])+"")&&$e(t,e)},i:W,o:W,d(n){n&&P(t)}}}function A4(i){let e,t,n;return t=new gc({props:{isActive:!0}}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,r){E(o,e,r),F(t,e,null),n=!0},p:W,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function L4(i){let e,t,n,o,r,l,s;const a=[A4,E4],c=[];function f(m,h){return m[1]?0:1}return r=f(i),l=c[r]=a[r](i),{c(){e=T("div"),t=T("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=N(),o=T("span"),l.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"),M(e,"live",i[1]),M(e,"hidden",i[0]),M(e,"playing",i[2])},m(m,h){E(m,e,h),p(e,t),p(e,n),p(e,o),c[r].m(o,null),s=!0},p(m,[h]){let b=r;r=f(m),r===b?c[r].p(m,h):(he(),g(c[b],1,1,()=>{c[b]=null}),ve(),l=c[r],l?l.p(m,h):(l=c[r]=a[r](m),l.c()),d(l,1),l.m(o,null)),(!s||h&2)&&M(e,"live",m[1]),(!s||h&1)&&M(e,"hidden",m[0]),(!s||h&4)&&M(e,"playing",m[2])},i(m){s||(d(l),s=!0)},o(m){g(l),s=!1},d(m){m&&P(e),c[r].d()}}}function I4(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:r=!1}=e,{position:l}=e,{duration:s}=e;return i.$$set=a=>{"isHidden"in a&&t(0,n=a.isHidden),"isLive"in a&&t(1,o=a.isLive),"isPlaying"in a&&t(2,r=a.isPlaying),"position"in a&&t(3,l=a.position),"duration"in a&&t(4,s=a.duration)},[n,o,r,l,s]}class bc extends ke{constructor(e){super(),ye(this,e,I4,L4,we,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},T4)}}const or=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)}}},Zn=i=>{i.stopPropagation(),i.preventDefault()},V4=i=>{var e;let t=i.previousElementSibling;t||(t=(e=i.parentNode)===null||e===void 0?void 0:e.lastElementChild),t==null||t.focus()},M4=i=>{var e;let t=i.nextElementSibling;t||(t=(e=i.parentNode)===null||e===void 0?void 0:e.firstElementChild),t==null||t.focus()},B4=i=>{const e=i.code;return e===Ae.Tab&&!i.shiftKey||e===Ae.ArrowDown},N4=i=>{const e=i.code;return e===Ae.Tab||e===Ae.ArrowUp},_c=i=>i.code===Ae.Escape,R4=i=>i.code===Ae.ArrowLeft,wc=(i,e=!0)=>{const t=i.code;return[Ae.Enter,Ae.Space].includes(t)||!e&&t===Ae.ArrowRight},yc=i=>{if(B4(i)){Zn(i),M4(i.target);return}N4(i)&&(Zn(i),V4(i.target))},hr=i=>(i==null?void 0:i.pointerType)==="",vr=async(i,e,t)=>{await pl(),i&&!i.classList.contains("opened")&&!e&&Xe(t)&&(t.set(!1),i.focus())},gr=async(i,e,t)=>{await pl(),!!i&&e&&t&&i.firstChild.focus()},il=async(i,e,t)=>{!!i&&t&&(e.set(!1),setTimeout(()=>{i.focus()},a0))},kc=(i,e)=>{yc(i),_c(i)&&(Zn(i),e())},nl=async(i,e,t)=>{if(wc(i,!1)){Zn(i),e(),await pl();const n=t();n==null||n.focus()}},ol=async(i,e,t,n)=>{if(yc(i),R4(i)){Zn(i),e(),t.set(!0);return}_c(i)&&(Zn(i),n())},$i=(i,e)=>{wc(i)&&(Zn(i),e())};function O4(i){qe(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 hs(i){var R;let e,t,n,o,r,l,s=(i[9].features.saveDebugInfoToFile?G("menu_save_debug"):G("menu_copy_debug"))+"",a,c,f,m=G("menu_debug_overlay")+"",h,b,v,y,_=i[9].features.copyVideoLink&&((R=i[8].callbacks)==null?void 0:R.onCopyVideoLink)&&D4(i),S=i[11]&&i[5]!==xe.ChromecastState.CONNECTED&&!i[16]&&gs(i),k=i[9].features.videoRotate&&!i[16]&&z4(i),w=i[9].showSupport&&!i[6]&&bs(i);return{c(){e=T("ul"),_&&_.c(),t=N(),S&&S.c(),n=N(),k&&k.c(),o=N(),w&&w.c(),r=N(),l=T("li"),a=Fe(s),c=N(),f=T("li"),h=Fe(m),u(l,"tabindex","0"),u(l,"role","menuitem"),u(l,"aria-label",i[9].features.saveDebugInfoToFile?G("menu_save_debug"):G("menu_copy_debug")),u(l,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",b=i[7]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),Nt(e,"top",i[3]+"px"),Nt(e,"left",i[2]+"px"),u(e,"class","v-gew86s")},m(X,V){E(X,e,V),_&&_.m(e,null),p(e,t),S&&S.m(e,null),p(e,n),k&&k.m(e,null),p(e,o),w&&w.m(e,null),p(e,r),p(e,l),p(l,a),p(e,c),p(e,f),p(f,h),i[40](e),v||(y=[_e(l,"click",lt(i[19])),_e(l,"keydown",i[29]),_e(f,"click",lt(i[20])),_e(f,"keydown",i[30]),_e(e,"contextmenu",oi(i[37])),_e(e,"keydown",i[23])],v=!0)},p(X,V){var K;X[9].features.copyVideoLink&&((K=X[8].callbacks)!=null&&K.onCopyVideoLink)&&_.p(X,V),X[11]&&X[5]!==xe.ChromecastState.CONNECTED&&!X[16]?S?S.p(X,V):(S=gs(X),S.c(),S.m(e,n)):S&&(S.d(1),S=null),X[9].features.videoRotate&&!X[16]&&k.p(X,V),X[9].showSupport&&!X[6]?w?w.p(X,V):(w=bs(X),w.c(),w.m(e,r)):w&&(w.d(1),w=null),V[0]&128&&b!==(b=X[7]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",b),V[0]&8&&Nt(e,"top",X[3]+"px"),V[0]&4&&Nt(e,"left",X[2]+"px")},d(X){X&&P(e),_&&_.d(),S&&S.d(),k&&k.d(),w&&w.d(),i[40](null),v=!1,ot(y)}}}function D4(i){let e,t=G("menu_copy_video_link")+"",n,o,r,l,s,a=!i[4]&&!i[16]&&vs(i);return{c(){e=T("li"),n=Fe(t),o=N(),a&&a.c(),r=bt(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){E(c,e,f),p(e,n),E(c,o,f),a&&a.m(c,f),E(c,r,f),l||(s=[_e(e,"click",lt(i[38])),_e(e,"keydown",i[24])],l=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=vs(c),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(c){c&&(P(e),P(o),P(r)),a&&a.d(c),l=!1,ot(s)}}}function vs(i){let e,t=G("menu_copy_video_link_with_timestamp")+"",n,o,r;return{c(){e=T("li"),n=Fe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(l,s){E(l,e,s),p(e,n),o||(r=[_e(e,"click",lt(i[39])),_e(e,"keydown",i[25])],o=!0)},p:W,d(l){l&&P(e),o=!1,ot(r)}}}function gs(i){let e,t=G("menu_pip")+"",n,o,r;return{c(){e=T("li"),n=Fe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_pip")),u(e,"class","v-gew86s")},m(l,s){E(l,e,s),p(e,n),o||(r=[_e(e,"click",lt(i[21])),_e(e,"keydown",i[26])],o=!0)},p:W,d(l){l&&P(e),o=!1,ot(r)}}}function z4(i){let e,t=G("menu_video_rotate")+"",n,o,r;return{c(){e=T("li"),n=Fe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(l,s){E(l,e,s),p(e,n),o||(r=[_e(e,"click",lt(i[17])),_e(e,"keydown",i[27])],o=!0)},p:W,d(l){l&&P(e),o=!1,ot(r)}}}function bs(i){let e,t=G("menu_report")+"",n,o,r;return{c(){e=T("li"),n=Fe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${G("menu_report")}. ${G("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(l,s){E(l,e,s),p(e,n),o||(r=[_e(e,"click",lt(i[18])),_e(e,"keydown",i[28])],o=!0)},p:W,d(l){l&&P(e),o=!1,ot(r)}}}function F4(i){let e,t=i[1]&&hs(i);return{c(){t&&t.c(),e=bt()},m(n,o){t&&t.m(n,o),E(n,e,o)},p(n,o){n[1]?t?t.p(n,o):(t=hs(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:W,o:W,d(n){n&&P(e),t&&t.d(n)}}}function H4(i,e,t){var Te;let n,o,r,l,s,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:m=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:b=void 0}=e,{menuElementRef:v=void 0}=e,{returnFocus:y}=e,_=0,S=0;const k=Pt(),w=pn(),R=k.ui.contextMenuVisible,X=k.ui.debugPanelVisible;z(i,X,le=>t(7,s=le));const V=k.webApi.pictureInPictureApi,K=(Te=k.webApi.pictureInPictureApi)==null?void 0:Te.info.isActive$;z(i,K,le=>t(6,l=le));const se=k.state.chromecastState$;z(i,se,le=>t(5,r=le));const ne=k.state.isLive$;z(i,ne,le=>t(4,o=le));const O=k.state.positionExact$;z(i,O,le=>t(41,n=le));const $=k.state.isInteractive,C=()=>{R.set(!1)},D=(le,Q)=>{if(!v||!h||!b)return;const U=v.getBoundingClientRect(),Ne=h.getBoundingClientRect();t(2,_=le-Ne.left),t(3,S=Q-Ne.top),_+U.width>Ne.width&&t(2,_=Ne.width-U.width),S+U.height>Ne.height&&t(3,S=Ne.height-U.height),t(2,_=Math.max(_,0)),t(3,S=Math.max(S,0))},re=()=>{C(),k.actions.internal.videoRotate()},L=()=>{window.open(c,"_blank"),C(),k.actions.internal.pause()},ae=()=>{const le=k.actions.internal.getDebugTextData();if(w.features.saveDebugInfoToFile){const Q=new Blob([...le],{type:"plain/text"}),U=window.URL.createObjectURL(Q);w1(U,"vk_player_debug_info","txt")}else or(k.actions.internal.getDebugTextData());C(),y==null||y()},pe=()=>{X.set(!0),C(),y==null||y()},ge=async()=>{try{V!=null&&V.isActive()?await(V==null?void 0:V.remove()):await(V==null?void 0:V.request())}finally{C(),y==null||y()}},ce=(le=!1)=>{var Q,U;if((Q=k.callbacks)!=null&&Q.onCopyVideoLink){const Ne=(U=k.callbacks)==null?void 0:U.onCopyVideoLink(le,n);Ne&&or(Ne)}C()},Y=le=>{kc(le,C)},fe=le=>{$i(le,()=>ce())},ze=le=>{$i(le,()=>ce(!0))},de=le=>{$i(le,()=>ge())},Le=le=>{$i(le,()=>re())},Pe=le=>{$i(le,()=>L())},ue=le=>{$i(le,()=>ae())},Ee=le=>{$i(le,()=>pe())};function A(le){_o.call(this,i,le)}const oe=()=>ce(),Me=()=>ce(!0);function Ce(le){Se[le?"unshift":"push"](()=>{v=le,t(0,v)})}return i.$$set=le=>{"visible"in le&&t(1,a=le.visible),"supportLink"in le&&t(31,c=le.supportLink),"x"in le&&t(32,f=le.x),"y"in le&&t(33,m=le.y),"playerContainerRef"in le&&t(34,h=le.playerContainerRef),"controlsContainerRef"in le&&t(35,b=le.controlsContainerRef),"menuElementRef"in le&&t(0,v=le.menuElementRef),"returnFocus"in le&&t(36,y=le.returnFocus)},i.$$.update=()=>{i.$$.dirty[1]&6&&D(f,m)},[v,a,_,S,o,r,l,s,k,w,X,V,K,se,ne,O,$,re,L,ae,pe,ge,ce,Y,fe,ze,de,Le,Pe,ue,Ee,c,f,m,h,b,y,A,oe,Me,Ce]}class U4 extends ke{constructor(e){super(),ye(this,e,H4,F4,we,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},O4,[-1,-1])}}class q4{constructor(e){this.value=e,this.next=null}}class ql{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new q4(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 j4(i){qe(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function W4(i){let e,t;return{c(){e=T("div"),t=T("canvas"),u(t,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,o){E(n,e,o),p(e,t),i[3](t)},p:W,i:W,o:W,d(n){n&&P(e),i[3](null)}}}const jl=16,Wl=120,_s=60;function Z4(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function G4(i,e,t){let{values:n=[]}=e,o,r;const l=Wl/_s;mn(()=>{t(0,o.width=Wl,o),t(0,o.height=jl,o),t(2,r=o.getContext("2d"))});function s(a){Se[a?"unshift":"push"](()=>{o=a,t(0,o)})}return i.$$set=a=>{"values"in a&&t(1,n=a.values)},i.$$.update=()=>{if(i.$$.dirty&6&&r){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);r.clearRect(0,0,Wl,jl);let c=_s-1;for(let f=n.length-1;f>=0;f--){const m=c*l,h=a>0?jl*(n[f]/a):0;Z4(r,m,0,l,h),c--}}},[o,n,r,s]}class br extends ke{constructor(e){super(),ye(this,e,G4,W4,we,{values:1},j4)}}function K4(i){qe(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 ws(i){let e,t,n,o,r=i[0].id+"",l;return{c(){e=T("div"),t=T("div"),t.textContent="Video id",n=N(),o=T("span"),l=Fe(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].id+"")&&$e(l,r)},d(s){s&&P(e)}}}function ys(i){let e,t,n,o,r=i[0].provider+"",l;return{c(){e=T("div"),t=T("div"),t.textContent="Provider",n=N(),o=T("span"),l=Fe(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].provider+"")&&$e(l,r)},d(s){s&&P(e)}}}function ks(i){let e,t,n,o,r=i[0].viewport+"",l;return{c(){e=T("div"),t=T("div"),t.textContent="Viewport",n=N(),o=T("span"),l=Fe(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].viewport+"")&&$e(l,r)},d(s){s&&P(e)}}}function Ss(i){let e,t,n,o,r=i[0].videoSize+"",l;return{c(){e=T("div"),t=T("div"),t.textContent="Video size",n=N(),o=T("span"),l=Fe(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].videoSize+"")&&$e(l,r)},d(s){s&&P(e)}}}function Cs(i){let e,t,n,o,r=i[0].cdn+"",l;return{c(){e=T("div"),t=T("div"),t.textContent="CDN host",n=N(),o=T("span"),l=Fe(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].cdn+"")&&$e(l,r)},d(s){s&&P(e)}}}function Ps(i){let e,t,n,o,r=i[0].volume+"",l,s;return{c(){e=T("div"),t=T("div"),t.textContent="Volume",n=N(),o=T("span"),l=Fe(r),s=Fe(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){E(a,e,c),p(e,t),p(e,n),p(e,o),p(o,l),p(o,s)},p(a,c){c&1&&r!==(r=a[0].volume+"")&&$e(l,r)},d(a){a&&P(e)}}}function Ts(i){let e,t,n,o,r=i[0].buffer.toFixed(2)+"",l,s;return{c(){e=T("div"),t=T("div"),t.textContent="Buffer",n=N(),o=T("span"),l=Fe(r),s=Fe(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){E(a,e,c),p(e,t),p(e,n),p(e,o),p(o,l),p(o,s)},p(a,c){c&1&&r!==(r=a[0].buffer.toFixed(2)+"")&&$e(l,r)},d(a){a&&P(e)}}}function Es(i){let e,t,n,o,r,l,s=i[0].speed.toFixed(2)+"",a,c,f;return o=new br({props:{values:i[5]}}),{c(){e=T("div"),t=T("div"),t.textContent="Network",n=N(),q(o.$$.fragment),r=N(),l=T("span"),a=Fe(s),c=Fe(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){E(m,e,h),p(e,t),p(e,n),F(o,e,null),p(e,r),p(e,l),p(l,a),p(l,c),f=!0},p(m,h){const b={};h&32&&(b.values=m[5]),o.$set(b),(!f||h&1)&&s!==(s=m[0].speed.toFixed(2)+"")&&$e(a,s)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){g(o.$$.fragment,m),f=!1},d(m){m&&P(e),H(o)}}}function As(i){let e,t,n,o,r,l,s=i[0].bitrate.toFixed(2)+"",a,c,f;return o=new br({props:{values:i[6]}}),{c(){e=T("div"),t=T("div"),t.textContent="V bitrate",n=N(),q(o.$$.fragment),r=N(),l=T("span"),a=Fe(s),c=Fe(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){E(m,e,h),p(e,t),p(e,n),F(o,e,null),p(e,r),p(e,l),p(l,a),p(l,c),f=!0},p(m,h){const b={};h&64&&(b.values=m[6]),o.$set(b),(!f||h&1)&&s!==(s=m[0].bitrate.toFixed(2)+"")&&$e(a,s)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){g(o.$$.fragment,m),f=!1},d(m){m&&P(e),H(o)}}}function Y4(i){let e,t,n,o,r,l,s,a,c=i[0].version+"",f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O,$,C,D,re,L,ae,pe,ge,ce,Y,fe,ze,de,Le=i[0].id&&ws(i),Pe=i[0].provider&&ys(i),ue=i[0].viewport&&ks(i),Ee=i[0].videoSize&&Ss(i),A=i[0].cdn&&Cs(i),oe=i[0].volume&&Ps(i),Me=i[0].buffer&&Ts(i),Ce=i[0].speed&&Es(i),Te=i[0].bitrate&&As(i);return pe=new br({props:{values:i[4]}}),{c(){e=T("div"),t=T("button"),t.textContent="[x]",n=N(),o=T("div"),r=T("div"),l=T("div"),l.textContent="Version",s=N(),a=T("span"),f=Fe(c),m=N(),Le&&Le.c(),h=N(),Pe&&Pe.c(),b=N(),ue&&ue.c(),v=N(),Ee&&Ee.c(),y=N(),A&&A.c(),_=N(),oe&&oe.c(),S=N(),Me&&Me.c(),k=N(),w=T("div"),R=T("div"),R.textContent="Dropped",X=N(),V=T("span"),K=Fe(i[2]),se=Fe(" / "),ne=Fe(i[1]),O=Fe(" frames"),$=N(),Ce&&Ce.c(),C=N(),Te&&Te.c(),D=N(),re=T("div"),L=T("div"),L.textContent="FPS",ae=N(),q(pe.$$.fragment),ge=N(),ce=T("span"),Y=Fe(i[3]),u(t,"class","close v-1gy2e68"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(l,"class","v-1gy2e68"),u(r,"class","v-1gy2e68"),u(R,"class","v-1gy2e68"),u(w,"class","v-1gy2e68"),u(L,"class","v-1gy2e68"),u(re,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),u(e,"role","region"),u(e,"aria-label",G("aria_label_debug_panel")),M(e,"container-mobile",i[7])},m(le,Q){E(le,e,Q),p(e,t),p(e,n),p(e,o),p(o,r),p(r,l),p(r,s),p(r,a),p(a,f),p(o,m),Le&&Le.m(o,null),p(o,h),Pe&&Pe.m(o,null),p(o,b),ue&&ue.m(o,null),p(o,v),Ee&&Ee.m(o,null),p(o,y),A&&A.m(o,null),p(o,_),oe&&oe.m(o,null),p(o,S),Me&&Me.m(o,null),p(o,k),p(o,w),p(w,R),p(w,X),p(w,V),p(V,K),p(V,se),p(V,ne),p(V,O),p(o,$),Ce&&Ce.m(o,null),p(o,C),Te&&Te.m(o,null),p(o,D),p(o,re),p(re,L),p(re,ae),F(pe,re,null),p(re,ge),p(re,ce),p(ce,Y),fe=!0,ze||(de=_e(t,"click",lt(i[9])),ze=!0)},p(le,[Q]){(!fe||Q&1)&&c!==(c=le[0].version+"")&&$e(f,c),le[0].id?Le?Le.p(le,Q):(Le=ws(le),Le.c(),Le.m(o,h)):Le&&(Le.d(1),Le=null),le[0].provider?Pe?Pe.p(le,Q):(Pe=ys(le),Pe.c(),Pe.m(o,b)):Pe&&(Pe.d(1),Pe=null),le[0].viewport?ue?ue.p(le,Q):(ue=ks(le),ue.c(),ue.m(o,v)):ue&&(ue.d(1),ue=null),le[0].videoSize?Ee?Ee.p(le,Q):(Ee=Ss(le),Ee.c(),Ee.m(o,y)):Ee&&(Ee.d(1),Ee=null),le[0].cdn?A?A.p(le,Q):(A=Cs(le),A.c(),A.m(o,_)):A&&(A.d(1),A=null),le[0].volume?oe?oe.p(le,Q):(oe=Ps(le),oe.c(),oe.m(o,S)):oe&&(oe.d(1),oe=null),le[0].buffer?Me?Me.p(le,Q):(Me=Ts(le),Me.c(),Me.m(o,k)):Me&&(Me.d(1),Me=null),(!fe||Q&4)&&$e(K,le[2]),(!fe||Q&2)&&$e(ne,le[1]),le[0].speed?Ce?(Ce.p(le,Q),Q&1&&d(Ce,1)):(Ce=Es(le),Ce.c(),d(Ce,1),Ce.m(o,C)):Ce&&(he(),g(Ce,1,1,()=>{Ce=null}),ve()),le[0].bitrate?Te?(Te.p(le,Q),Q&1&&d(Te,1)):(Te=As(le),Te.c(),d(Te,1),Te.m(o,D)):Te&&(he(),g(Te,1,1,()=>{Te=null}),ve());const U={};Q&16&&(U.values=le[4]),pe.$set(U),(!fe||Q&8)&&$e(Y,le[3]),(!fe||Q&128)&&M(e,"container-mobile",le[7])},i(le){fe||(d(Ce),d(Te),d(pe.$$.fragment,le),fe=!0)},o(le){g(Ce),g(Te),g(pe.$$.fragment,le),fe=!1},d(le){le&&P(e),Le&&Le.d(),Pe&&Pe.d(),ue&&ue.d(),Ee&&Ee.d(),A&&A.d(),oe&&oe.d(),Me&&Me.d(),Ce&&Ce.d(),Te&&Te.d(),H(pe),ze=!1,de()}}}function Q4(i,e,t){let n;const o=Pt(),r=o.ui.debugPanelVisible,l=o.ui.isMobile;z(i,l,w=>t(7,n=w));const s=()=>{ie.safeStorage.remove($l),r.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,m=0,h=0;const b=new ql(60),v=new ql(60),y=new ql(60);let _=[],S=[],k=[];return mn(()=>{ie.safeStorage.set($l,"true"),o.actions.internal.startLogging(),c&&(t(2,m=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const w=window.setInterval(()=>{t(0,a=o.actions.internal.getDebugPanelData())},500);let R;return c&&(R=window.setInterval(()=>{if(c){t(2,m=c.getVideoPlaybackQuality().droppedVideoFrames);const X=c.getVideoPlaybackQuality().totalVideoFrames;t(3,h=X-f),t(1,f=X),b.push(h),a.speed&&v.push(a.speed),a.bitrate&&y.push(a.bitrate),t(4,_=b.getValuesFromBottom()),t(5,S=v.getValuesFromBottom()),t(6,k=y.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(w),R&&clearInterval(R)}}),[a,f,m,h,_,S,k,n,l,s]}class Sc extends ke{constructor(e){super(),ye(this,e,Q4,Y4,we,{},K4)}}function X4(i){qe(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 J4(i){let e,t,n;return{c(){e=T("div"),u(e,"class","close v-1ome55p")},m(o,r){E(o,e,r),t||(n=_e(e,"click",lt(i[0])),t=!0)},p:W,i:W,o:W,d(o){o&&P(e),t=!1,n()}}}function x4(i){function e(t){_o.call(this,i,t)}return[e]}class $4 extends ke{constructor(e){super(),ye(this,e,x4,J4,we,{},X4)}}function e3(i){qe(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 t3(i){let e,t,n,o,r,l,s;return{c(){e=T("div"),t=T("canvas"),n=N(),o=B("svg"),r=B("g"),l=B("g"),s=B("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(s,"class","_play"),u(s,"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(s,"fill","#fff"),u(l,"fill-rule","nonzero"),u(r,"fill","none"),u(r,"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),p(e,t),i[2](t),p(e,n),p(e,o),p(o,r),p(r,l),p(l,s)},p:W,i:W,o:W,d(a){a&&P(e),i[2](null)}}}const i3=5e3;function n3(i,e,t){let{onTimerEnded:n=ie.noop}=e,o;mn(()=>{let l;const s=o.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/i3;f<1?(s.clearRect(0,0,100,100),s.beginPath(),s.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),s.stroke(),l=requestAnimationFrame(c)):n()};return l=requestAnimationFrame(c),()=>{cancelAnimationFrame(l)}});function r(l){Se[l?"unshift":"push"](()=>{o=l,t(0,o)})}return i.$$set=l=>{"onTimerEnded"in l&&t(1,n=l.onTimerEnded)},[o,n,r]}class o3 extends ke{constructor(e){super(),ye(this,e,n3,t3,we,{onTimerEnded:1},e3)}}function l3(i){qe(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 Ls(i){let e,t;return e=new o3({props:{onTimerEnded:i[2]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&4&&(r.onTimerEnded=n[2]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function r3(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X;s=new $4({}),s.$on("click",i[4]);let V=i[3]&&Ls(i);return{c(){e=T("div"),t=N(),n=T("div"),o=T("div"),r=T("div"),r.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",l=N(),q(s.$$.fragment),a=N(),c=T("div"),f=T("div"),m=T("div"),h=T("div"),b=N(),V&&V.c(),y=N(),_=T("div"),S=T("div"),k=Fe(i[0]),u(e,"class","overlay v-kisfwc"),u(r,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(m,"class","thumb v-kisfwc"),u(m,"style",v=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(S,"class","title v-kisfwc"),u(_,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(K,se){E(K,e,se),E(K,t,se),E(K,n,se),p(n,o),p(o,r),p(o,l),F(s,o,null),p(n,a),p(n,c),p(c,f),p(f,m),p(m,h),p(m,b),V&&V.m(m,null),p(c,y),p(c,_),p(_,S),p(S,k),w=!0,R||(X=_e(c,"click",function(){wn(i[2])&&i[2].apply(this,arguments)}),R=!0)},p(K,[se]){i=K,i[3]?V?(V.p(i,se),se&8&&d(V,1)):(V=Ls(i),V.c(),d(V,1),V.m(m,null)):V&&(he(),g(V,1,1,()=>{V=null}),ve()),(!w||se&2&&v!==(v=`background-image: url('${i[1]}')`))&&u(m,"style",v),(!w||se&1)&&$e(k,i[0])},i(K){w||(d(s.$$.fragment,K),d(V),w=!0)},o(K){g(s.$$.fragment,K),g(V),w=!1},d(K){K&&(P(e),P(t),P(n)),H(s),V&&V.d(),R=!1,X()}}}function s3(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:r}=e,l=!0;const s=()=>t(3,l=!1);return i.$$set=a=>{"title"in a&&t(0,n=a.title),"thumb"in a&&t(1,o=a.thumb),"playNextVideo"in a&&t(2,r=a.playNextVideo)},[n,o,r,l,s]}class a3 extends ke{constructor(e){super(),ye(this,e,s3,r3,we,{title:0,thumb:1,playNextVideo:2},l3)}}const Cc=(i,e)=>Math.min(+(i+e).toFixed(2),1),Pc=(i,e)=>Math.max(+(i-e).toFixed(2),0),Tc=(i,e,t)=>{const n=Cc(e,t);e<1&&i.actions.internal.setVolume(n)},Ec=(i,e,t)=>{const n=Pc(e,t);e>0&&i.actions.internal.setVolume(n)};function u3(i){qe(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function c3(i){let e,t,n,o;const r=i[22].default,l=Ln(r,i,i[21],null);return{c(){e=T("div"),l&&l.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(s,a){E(s,e,a),l&&l.m(e,null),i[23](e),t=!0,n||(o=[_e(e,"keyup",i[13]),_e(e,"keydown",i[12])],n=!0)},p(s,a){l&&l.p&&(!t||a[0]&2097152)&&Vn(l,r,s,s[21],t?In(r,s[21],a,null):Mn(s[21]),null)},i(s){t||(d(l,s),t=!0)},o(s){g(l,s),t=!1},d(s){s&&P(e),l&&l.d(s),i[23](null),n=!1,ot(o)}}}function f3(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,{$$slots:v={},$$scope:y}=e,{isAds:_}=e,{hideContextMenu:S}=e,{toggleFullscreen:k}=e,{showHotKeyHelpers:w}=e,{showKeyMap:R}=e,{fakePlayButtonHandler:X}=e;const V=Pt(),K=pn(),se=V.getLogger().createComponentLog("KeyboardControls component"),ne=V.state.playbackState$;z(i,ne,A=>t(27,o=A));const O=V.ads.playbackState;z(i,O,A=>t(26,n=A));const $=V.state.positionExact$;z(i,$,A=>t(33,f=A));const C=V.state.duration$;z(i,C,A=>t(32,c=A));const D=V.state.volume$;z(i,D,A=>t(36,b=A));const re=V.ui.controls.disabledControls$;z(i,re,A=>t(31,a=A));const L=V.state.muted$;z(i,L,A=>t(29,l=A));const ae=V.state.currentSubtitle$;z(i,ae,A=>t(28,r=A));const pe=V.state.currentPlaybackRate$;z(i,pe,A=>t(34,m=A));const ge=V.state.availablePlaybackRates$;z(i,ge,A=>t(35,h=A));const ce=V.state.isEnded$;z(i,ce,A=>t(30,s=A));let Y=0,fe=!0,ze;const de=()=>ze==null?void 0:ze.focus(),Le=A=>(A!==fe&&(fe=A,Y=0),Y+=1,(K.controls.seekStepKeyboard+K.controls.seekStepKeyboard*Y)/1e3),Pe=A=>{var Ze;const oe=A.target,Me=(Ze=oe==null?void 0:oe.getAttribute("role"))==null?void 0:Ze.includes("menuitem"),Ce=oe.classList.contains("btn"),Te=A.code;if(Ce&&Te===Ae.Space)return;const le=d0.has(Te);if(Me&&le)return;const Q=!f0.has(Te);if(A.ctrlKey&&Q||A.altKey&&Q||A.metaKey)return;const U=Me&&Te===Ae.Escape;m0.has(Te)||U||S();const Ne=o===xe.PlaybackState.PLAYING||o===xe.PlaybackState.PAUSED,et=_&&(n===ni.PAUSED||n===ni.PLAYING),rt=!et&&!a.has(ct.TIMELINE);if(Ne||et)switch(se({message:`key down, code: ${Te}`}),Te){case Ae.KeyJ:case Ae.ArrowLeft:{if(!rt)break;if(A.ctrlKey||A.altKey){const Ve=V.actions.internal.getPrevEpisode();V.actions.internal.seekToPrevEpisode(Ve),Ve&&w({type:Ye.EPISODE_PREV,text:Ve.text}),A.preventDefault()}else{const Ve=A.shiftKey?Le(!1):K.controls.seekStepKeyboard/1e3,Je=Math.max(f-Ve,0);f>0&&(V.actions.internal.seekTime(Je,kt.SeekAction.DOUBLE_TAP),w({type:Ye.BACKWARD_SEEK,text:Ve.toString()}),A.preventDefault())}break}case Ae.KeyL:case Ae.ArrowRight:{if(!rt)break;if(A.ctrlKey||A.altKey){const Ve=V.actions.internal.getNextEpisode();V.actions.internal.seekToNextEpisode(Ve),Ve&&w({type:Ye.EPISODE_NEXT,text:Ve.text}),A.preventDefault()}else{const Ve=A.shiftKey?Le(!0):K.controls.seekStepKeyboard/1e3,Je=Math.min(f+Ve,c);Math.round(f)<Math.round(c)&&(V.actions.internal.seekTime(Je,kt.SeekAction.DOUBLE_TAP),w({type:Ye.FORWARD_SEEK,text:Ve.toString()}),A.preventDefault())}break}case Ae.ArrowUp:{const Ve=b,Je=K.controls.volumeStepKeyboard,pt=Ve<=1;if(Tc(V,Ve,Je),pt){const at=Math.round(Cc(Ve,Je)*100).toString();w({type:Ye.VOLUME,t:{key:"hotkey_helper_current_volume",value:at}})}A.preventDefault();break}case Ae.ArrowDown:{const Ve=b,Je=K.controls.volumeStepKeyboard,pt=Ve>=0;if(Ec(V,Ve,Je),pt){const at=Math.round(Pc(Ve,Je)*100).toString();w({type:Ye.VOLUME,t:{key:"hotkey_helper_current_volume",value:at}})}A.preventDefault();break}case Ae.Comma:{if(A.shiftKey){V.actions.internal.decrementPlaybackRate();const Ve=h.find(Je=>Je.value===m);w({type:Ye.RATE_DOWN,text:Ve==null?void 0:Ve.displayValue}),A.preventDefault()}else{if(et||o!==xe.PlaybackState.PAUSED)break;const Ve=Math.max(f-K.controls.seekStepFrame/1e3,0);f>0&&(w({type:Ye.BACKWARD_SEEK}),V.actions.internal.clearDelayedBufferingCheckTimeout(),V.actions.internal.seekTime(Ve,kt.SeekAction.DOUBLE_TAP),A.preventDefault())}break}case Ae.Period:{if(A.shiftKey){V.actions.internal.incrementPlaybackRate();const Ve=h.find(Je=>Je.value===m);w({type:Ye.RATE_UP,text:Ve==null?void 0:Ve.displayValue}),A.preventDefault()}else{if(et||o!==xe.PlaybackState.PAUSED)break;const Ve=Math.min(f+K.controls.seekStepFrame/1e3,c);f<c&&(w({type:Ye.FORWARD_SEEK}),V.actions.internal.clearDelayedBufferingCheckTimeout(),V.actions.internal.seekTime(Ve,kt.SeekAction.DOUBLE_TAP),A.preventDefault())}break}case Ae.KeyK:case Ae.Space:if(!a.has(ct.PLAY_BUTTON))if(X)X();else{V.actions.internal.togglePlay();let Ve=Ye.PLAY;o===xe.PlaybackState.PAUSED?Ve=Ye.PAUSE:s&&(Ve=Ye.REPLAY),w({type:Ve})}A.preventDefault();break;case Ae.KeyM:{w({type:l?Ye.VOLUME:Ye.MUTE}),V.actions.internal.toggleMuted(),A.preventDefault();break}case Ae.KeyF:k(),A.preventDefault();break;case Ae.KeyC:V.actions.internal.toggleSubtitle(),r.value!=="off"?w({type:Ye.SUBTITLES_ON,text:r==null?void 0:r.displayValue}):w({type:Ye.SUBTITLES_OFF}),A.preventDefault();break;case Ae.KeyI:V.actions.internal.togglePictureInPicture(),A.preventDefault();break;case Ae.Digit1:case Ae.Numpad1:w(),V.actions.internal.seekToPercent(.1,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit2:case Ae.Numpad2:w(),V.actions.internal.seekToPercent(.2,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit3:case Ae.Numpad3:w(),V.actions.internal.seekToPercent(.3,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit4:case Ae.Numpad4:w(),V.actions.internal.seekToPercent(.4,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit5:case Ae.Numpad5:w(),V.actions.internal.seekToPercent(.5,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit6:case Ae.Numpad6:w(),V.actions.internal.seekToPercent(.6,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit7:case Ae.Numpad7:w(),V.actions.internal.seekToPercent(.7,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit8:case Ae.Numpad8:w(),V.actions.internal.seekToPercent(.8,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit9:case Ae.Numpad9:w(),V.actions.internal.seekToPercent(.9,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit0:case Ae.Numpad0:w(),V.actions.internal.seekToPercent(0,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Slash:{A.shiftKey&&K.features.hotKeyMapModal&&(R(),A.preventDefault());break}case Ae.ShiftLeft:case Ae.ShiftRight:A.preventDefault();break;case Ae.Tab:case Ae.Escape:case Ae.Enter:break;default:ie.checkNever(Te);break}},ue=A=>{const oe=A.code;if(A.ctrlKey||A.altKey||A.metaKey)return;const Me=o===xe.PlaybackState.PLAYING||o===xe.PlaybackState.PAUSED,Ce=_&&(n===ni.PAUSED||n===ni.PLAYING);if(Me||Ce)switch(oe){case Ae.ShiftLeft:case Ae.ShiftRight:Y=0;break}};function Ee(A){Se[A?"unshift":"push"](()=>{ze=A,t(0,ze)})}return i.$$set=A=>{"isAds"in A&&t(14,_=A.isAds),"hideContextMenu"in A&&t(15,S=A.hideContextMenu),"toggleFullscreen"in A&&t(16,k=A.toggleFullscreen),"showHotKeyHelpers"in A&&t(17,w=A.showHotKeyHelpers),"showKeyMap"in A&&t(18,R=A.showKeyMap),"fakePlayButtonHandler"in A&&t(19,X=A.fakePlayButtonHandler),"$$scope"in A&&t(21,y=A.$$scope)},[ze,ne,O,$,C,D,re,L,ae,pe,ge,ce,Pe,ue,_,S,k,w,R,X,de,y,v,Ee]}class d3 extends ke{constructor(e){super(),ye(this,e,f3,c3,we,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},u3,[-1,-1])}get focus(){return this.$$.ctx[20]}}function m3(i){qe(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 p3(i){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(t,n){E(t,e,n)},p:W,i:W,o:W,d(t){t&&P(e)}}}class Ac extends ke{constructor(e){super(),ye(this,e,null,p3,we,{},m3)}}function h3(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),b=B("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(s,"flood-opacity","0"),u(s,"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(m,"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(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2422_111980"),u(b,"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(v,y){E(v,e,y),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,b)},p:W,i:W,o:W,d(v){v&&P(e)}}}class v3 extends ke{constructor(e){super(),ye(this,e,null,h3,we,{})}}function g3(i){qe(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 b3(i){let e,t,n,o,r,l,s,a,c,f,m,h;const b=i[13].default,v=Ln(b,i,i[12],null);return{c(){var y,_,S,k,w,R;e=T("button"),v&&v.c(),u(e,"class",t="btn "+i[1]+" v-1anemql"),u(e,"style",n=i[2]||null),e.disabled=o=(y=i[3])!=null?y:null,u(e,"aria-hidden",r=(_=i[5])!=null?_:null),u(e,"aria-label",l=(S=i[6])!=null?S:null),u(e,"aria-keyshortcuts",s=(k=i[7])!=null?k:null),u(e,"aria-expanded",a=(w=i[8])!=null?w:null),u(e,"data-testid",c=(R=i[4])!=null?R:null)},m(y,_){E(y,e,_),v&&v.m(e,null),i[15](e),f=!0,m||(h=[_e(e,"pointerdown",lt(oi(i[14]))),_e(e,"click",lt(oi(function(){wn(i[9]===ie.noop?null:i[9])&&(i[9]===ie.noop?null:i[9]).apply(this,arguments)}))),_e(e,"focus",oi(function(){wn(i[10]===ie.noop?null:i[10])&&(i[10]===ie.noop?null:i[10]).apply(this,arguments)})),_e(e,"blur",oi(function(){wn(i[11]===ie.noop?null:i[11])&&(i[11]===ie.noop?null:i[11]).apply(this,arguments)}))],m=!0)},p(y,[_]){var S,k,w,R,X,V;i=y,v&&v.p&&(!f||_&4096)&&Vn(v,b,i,i[12],f?In(b,i[12],_,null):Mn(i[12]),null),(!f||_&2&&t!==(t="btn "+i[1]+" v-1anemql"))&&u(e,"class",t),(!f||_&4&&n!==(n=i[2]||null))&&u(e,"style",n),(!f||_&8&&o!==(o=(S=i[3])!=null?S:null))&&(e.disabled=o),(!f||_&32&&r!==(r=(k=i[5])!=null?k:null))&&u(e,"aria-hidden",r),(!f||_&64&&l!==(l=(w=i[6])!=null?w:null))&&u(e,"aria-label",l),(!f||_&128&&s!==(s=(R=i[7])!=null?R:null))&&u(e,"aria-keyshortcuts",s),(!f||_&256&&a!==(a=(X=i[8])!=null?X:null))&&u(e,"aria-expanded",a),(!f||_&16&&c!==(c=(V=i[4])!=null?V:null))&&u(e,"data-testid",c)},i(y){f||(d(v,y),f=!0)},o(y){g(v,y),f=!1},d(y){y&&P(e),v&&v.d(y),i[15](null),m=!1,ot(h)}}}function _3(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:r=""}=e,{style:l=""}=e,{disabled:s=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:m=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:b=void 0}=e,{click:v=ie.noop}=e,{focus:y=ie.noop}=e,{blur:_=ie.noop}=e;function S(w){_o.call(this,i,w)}function k(w){Se[w?"unshift":"push"](()=>{m=w,t(0,m)})}return i.$$set=w=>{"className"in w&&t(1,r=w.className),"style"in w&&t(2,l=w.style),"disabled"in w&&t(3,s=w.disabled),"testId"in w&&t(4,a=w.testId),"ariaHidden"in w&&t(5,c=w.ariaHidden),"ariaLabel"in w&&t(6,f=w.ariaLabel),"ref"in w&&t(0,m=w.ref),"ariaKeyShortCut"in w&&t(7,h=w.ariaKeyShortCut),"ariaExpanded"in w&&t(8,b=w.ariaExpanded),"click"in w&&t(9,v=w.click),"focus"in w&&t(10,y=w.focus),"blur"in w&&t(11,_=w.blur),"$$scope"in w&&t(12,o=w.$$scope)},[m,r,l,s,a,c,f,h,b,v,y,_,o,n,S,k]}class ki extends ke{constructor(e){super(),ye(this,e,_3,b3,we,{className:1,style:2,disabled:3,testId:4,ariaHidden:5,ariaLabel:6,ref:0,ariaKeyShortCut:7,ariaExpanded:8,click:9,focus:10,blur:11},g3)}}function w3(i){qe(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 Is(i){let e,t,n,o,r,l=i[2]&&Vs(i);return{c(){e=T("div"),t=T("h3"),n=Fe(i[3]),o=N(),l&&l.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){E(s,e,a),p(e,t),p(t,n),p(e,o),l&&l.m(e,null),r=!0},p(s,a){(!r||a&8)&&$e(n,s[3]),s[2]?l?(l.p(s,a),a&4&&d(l,1)):(l=Vs(s),l.c(),d(l,1),l.m(e,null)):l&&(he(),g(l,1,1,()=>{l=null}),ve())},i(s){r||(d(l),r=!0)},o(s){g(l),r=!1},d(s){s&&P(e),l&&l.d()}}}function Vs(i){let e,t;return e=new ki({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:G("hotkey_map_modal_close_btn_text"),$$slots:{default:[y3]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&1&&(r.click=n[0]),o&32&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function y3(i){let e,t;return e=new v3({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function k3(i){let e,t,n,o,r,l,s=i[1]&&Is(i);const a=i[4].default,c=Ln(a,i,i[5],null);return{c(){e=T("div"),t=T("div"),s&&s.c(),n=N(),o=T("div"),r=T("div"),c&&c.c(),u(r,"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,m){E(f,e,m),p(e,t),s&&s.m(t,null),p(t,n),p(t,o),p(o,r),c&&c.m(r,null),l=!0},p(f,[m]){f[1]?s?(s.p(f,m),m&2&&d(s,1)):(s=Is(f),s.c(),d(s,1),s.m(t,n)):s&&(he(),g(s,1,1,()=>{s=null}),ve()),c&&c.p&&(!l||m&32)&&Vn(c,a,f,f[5],l?In(a,f[5],m,null):Mn(f[5]),null)},i(f){l||(d(s),d(c,f),l=!0)},o(f){g(s),g(c,f),l=!1},d(f){f&&P(e),s&&s.d(),c&&c.d(f)}}}function S3(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:r}=e,{showHeader:l=!0}=e,{showCloseCross:s=!0}=e,{title:a}=e;return i.$$set=c=>{"onClose"in c&&t(0,r=c.onClose),"showHeader"in c&&t(1,l=c.showHeader),"showCloseCross"in c&&t(2,s=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[r,l,s,a,n,o]}class C3 extends ke{constructor(e){super(),ye(this,e,S3,k3,we,{onClose:0,showHeader:1,showCloseCross:2,title:3},w3)}}const P3=new Set(["BR"]),Ms=i=>{var e;const t=document.createElement("DIV");t.innerHTML=i;const n=t.querySelectorAll("*");let o=n.length;for(;o--;){const r=n[o],l=r.tagName;P3.has(l)||(e=r.parentElement)===null||e===void 0||e.removeChild(r)}return t.innerHTML};function T3(i){qe(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 Bs(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function Ns(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function Rs(i){let e,t,n=Ms(i[9])+"",o,r,l=i[10]+"",s,a;return{c(){e=T("li"),t=T("span"),o=N(),r=T("span"),s=Fe(l),a=N(),u(t,"class","hot-key-map-item-description v-quklnq"),u(r,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){E(c,e,f),p(e,t),t.innerHTML=n,p(e,o),p(e,r),p(r,s),p(e,a)},p(c,f){f&1&&n!==(n=Ms(c[9])+"")&&(t.innerHTML=n),f&1&&l!==(l=c[10]+"")&&$e(s,l)},d(c){c&&P(e)}}}function Os(i){let e,t,n=i[5]+"",o,r,l,s,a=xt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Rs(Ns(i,a,f));return{c(){e=T("div"),t=T("h5"),o=Fe(n),r=N(),l=T("ul");for(let f=0;f<c.length;f+=1)c[f].c();s=N(),u(t,"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,m){E(f,e,m),p(e,t),p(t,o),p(e,r),p(e,l);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(l,null);p(e,s)},p(f,m){if(m&1&&n!==(n=f[5]+"")&&$e(o,n),m&1){a=xt(f[6]);let h;for(h=0;h<a.length;h+=1){const b=Ns(f,a,h);c[h]?c[h].p(b,m):(c[h]=Rs(b),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&&P(e),yn(c,f)}}}function E3(i){let e,t=xt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=Os(Bs(i,t,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,r){E(o,e,r);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,r){if(r&1){t=xt(o[0].groups);let l;for(l=0;l<t.length;l+=1){const s=Bs(o,t,l);n[l]?n[l].p(s,r):(n[l]=Os(s),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},d(o){o&&P(e),yn(n,o)}}}function A3(i){let e,t;return e=new C3({props:{title:i[0].title,onClose:i[2],$$slots:{default:[E3]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.title=n[0].title),o&8193&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function L3(i,e,t){let n;const o=Pt(),{data:r,show:l}=o.ui.modals.hotKeyMap;return z(i,r,a=>t(0,n=a)),[n,r,()=>{l.set(!1)}]}class I3 extends ke{constructor(e){super(),ye(this,e,L3,A3,we,{},T3)}}function V3(i){qe(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 M3(i){let e,t;const n=i[1].default,o=Ln(n,i,i[0],null);return{c(){e=T("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(r,l){E(r,e,l),o&&o.m(e,null),t=!0},p(r,[l]){o&&o.p&&(!t||l&1)&&Vn(o,n,r,r[0],t?In(n,r[0],l,null):Mn(r[0]),null)},i(r){t||(d(o,r),t=!0)},o(r){g(o,r),t=!1},d(r){r&&P(e),o&&o.d(r)}}}function B3(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=r=>{"$$scope"in r&&t(0,o=r.$$scope)},[o,n]}class N3 extends ke{constructor(e){super(),ye(this,e,B3,M3,we,{},V3)}}function R3(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("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,r){E(o,e,r),p(e,t),p(e,n)},p:W,i:W,o:W,d(o){o&&P(e)}}}class O3 extends ke{constructor(e){super(),ye(this,e,null,R3,we,{})}}function D3(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("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,r){E(o,e,r),p(e,t),p(e,n)},p:W,i:W,o:W,d(o){o&&P(e)}}}class z3 extends ke{constructor(e){super(),ye(this,e,null,D3,we,{})}}function F3(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class H3 extends ke{constructor(e){super(),ye(this,e,null,F3,we,{})}}function U3(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Lc extends ke{constructor(e){super(),ye(this,e,null,U3,we,{})}}function q3(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("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,r){E(o,e,r),p(e,t),p(e,n)},p:W,i:W,o:W,d(o){o&&P(e)}}}class Ic extends ke{constructor(e){super(),ye(this,e,null,q3,we,{})}}const So=i=>{switch(i){case xe.VideoQuality.Q_720P:return H3;case xe.VideoQuality.Q_1080P:return Lc;case xe.VideoQuality.Q_1440P:return Ic;case xe.VideoQuality.Q_2160P:return O3;case xe.VideoQuality.Q_4320P:return z3}};function j3(i){qe(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 W3(i){let e,t,n,o,r,l,s=i[1]&&Ds(i);return{c(){e=T("div"),s&&s.c(),t=N(),n=B("svg"),o=B("path"),r=B("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(r,"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(r,"fill","#fff"),M(r,"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"),M(e,"triple",i[2])},m(a,c){E(a,e,c),s&&s.m(e,null),p(e,t),p(e,n),p(n,o),p(n,r),l=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&d(s,1)):(s=Ds(a),s.c(),d(s,1),s.m(e,t)):s&&(he(),g(s,1,1,()=>{s=null}),ve()),(!l||c&2)&&M(r,"hidden",!!a[1]),(!l||c&4)&&M(e,"triple",a[2])},i(a){l||(d(s),l=!0)},o(a){g(s),l=!1},d(a){a&&P(e),s&&s.d()}}}function Z3(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}function Ds(i){let e,t;return e=new N3({props:{$$slots:{default:[G3]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&18&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function G3(i){let e,t,n;var o=i[1];function r(l){return{}}return o&&(e=Cn(o,r())),{c(){e&&q(e.$$.fragment),t=bt()},m(l,s){e&&F(e,l,s),E(l,t,s),n=!0},p(l,s){if(s&2&&o!==(o=l[1])){if(e){he();const a=e;g(a.$$.fragment,1,0,()=>{H(a,1)}),ve()}o?(e=Cn(o,r()),q(e.$$.fragment),d(e.$$.fragment,1),F(e,t.parentNode,t)):e=null}},i(l){n||(e&&d(e.$$.fragment,l),n=!0)},o(l){e&&g(e.$$.fragment,l),n=!1},d(l){l&&P(t),e&&H(e,l)}}}function K3(i){let e,t,n,o;const r=[Z3,W3],l=[];function s(a,c){return a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Y3(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:r=void 0}=e,l;return i.$$set=s=>{"isMobile"in s&&t(0,o=s.isMobile),"currentQuality"in s&&t(3,r=s.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=So(r)),i.$$.dirty&2&&t(2,l=!!n&&[Lc,Ic].includes(n))},[o,n,l,r]}class _r extends ke{constructor(e){super(),ye(this,e,Y3,K3,we,{isMobile:0,currentQuality:3},j3)}}function Q3(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Vc extends ke{constructor(e){super(),ye(this,e,null,Q3,we,{})}}function X3(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class J3 extends ke{constructor(e){super(),ye(this,e,null,X3,we,{})}}function x3(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class $3 extends ke{constructor(e){super(),ye(this,e,null,x3,we,{})}}function ep(i){let e,t,n,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("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(r,l){E(r,e,l),p(e,t),p(t,n),p(t,o)},p:W,i:W,o:W,d(r){r&&P(e)}}}class tp extends ke{constructor(e){super(),ye(this,e,null,ep,we,{})}}function ip(i){qe(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function np(i){let e,t,n;return{c(){e=B("svg"),t=B("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"),M(e,"reverted",i[2])},m(o,r){E(o,e,r),p(e,t)},p(o,r){r&1&&u(t,"fill",o[0]),r&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),r&4&&M(e,"reverted",o[2])},d(o){o&&P(e)}}}function op(i){let e,t,n;return{c(){e=B("svg"),t=B("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"),M(e,"reverted",i[2])},m(o,r){E(o,e,r),p(e,t)},p(o,r){r&1&&u(t,"fill",o[0]),r&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),r&4&&M(e,"reverted",o[2])},d(o){o&&P(e)}}}function lp(i){let e;function t(r,l){return r[1]?op:np}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(r){r&&P(e),o.d(r)}}}function rp(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,r,l;return i.$$set=s=>{"direction"in s&&t(3,n=s.direction),"color"in s&&t(0,o=s.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,r=["up","down"].includes(n)),t(2,l=["right","down"].includes(n)))},[o,r,l,n]}class zn extends ke{constructor(e){super(),ye(this,e,rp,lp,we,{direction:3,color:0},ip)}}function sp(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class ap extends ke{constructor(e){super(),ye(this,e,null,sp,we,{})}}function up(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Ho extends ke{constructor(e){super(),ye(this,e,null,up,we,{})}}function cp(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class fp extends ke{constructor(e){super(),ye(this,e,null,cp,we,{})}}function dp(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class mp extends ke{constructor(e){super(),ye(this,e,null,dp,we,{})}}function pp(i){qe(i,"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 zs(i,e,t){const n=i.slice();return n[142]=e[t],n}function Fs(i,e,t){const n=i.slice();return n[145]=e[t],n}function Hs(i,e,t){const n=i.slice();return n[148]=e[t],n}function Us(i){let e,t,n,o,r,l,s,a,c,f,m,h=i[8]&&qs(i),b=i[28]&&js(i),v=i[27]&&Zs(i),y=i[26]&&Gs(i),_=i[25]&&Ks(i),S=i[24]&&Ys(i),k=i[8]&&Qs(i);return{c(){e=T("div"),h&&h.c(),t=N(),n=T("ul"),b&&b.c(),o=N(),v&&v.c(),r=N(),y&&y.c(),l=N(),_&&_.c(),s=N(),S&&S.c(),a=N(),k&&k.c(),u(n,"class","items v-5r0p3"),M(n,"items-mobile",i[8]),u(e,"class","menu v-5r0p3"),u(e,"role","menu"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8]),M(e,"hidden",!i[15])},m(w,R){E(w,e,R),h&&h.m(e,null),p(e,t),p(e,n),b&&b.m(n,null),p(n,o),v&&v.m(n,null),p(n,r),y&&y.m(n,null),p(n,l),_&&_.m(n,null),p(n,s),S&&S.m(n,null),p(n,a),k&&k.m(n,null),i[116](n),c=!0,f||(m=[_e(e,"keydown",i[79]),_e(e,"mouseenter",i[73]),_e(e,"mouseleave",i[74])],f=!0)},p(w,R){w[8]?h?h.p(w,R):(h=qs(w),h.c(),h.m(e,t)):h&&(h.d(1),h=null),w[28]?b?(b.p(w,R),R[0]&268435456&&d(b,1)):(b=js(w),b.c(),d(b,1),b.m(n,o)):b&&(he(),g(b,1,1,()=>{b=null}),ve()),w[27]?v?(v.p(w,R),R[0]&134217728&&d(v,1)):(v=Zs(w),v.c(),d(v,1),v.m(n,r)):v&&(he(),g(v,1,1,()=>{v=null}),ve()),w[26]?y?(y.p(w,R),R[0]&67108864&&d(y,1)):(y=Gs(w),y.c(),d(y,1),y.m(n,l)):y&&(he(),g(y,1,1,()=>{y=null}),ve()),w[25]?_?(_.p(w,R),R[0]&33554432&&d(_,1)):(_=Ks(w),_.c(),d(_,1),_.m(n,s)):_&&(he(),g(_,1,1,()=>{_=null}),ve()),w[24]?S?(S.p(w,R),R[0]&16777216&&d(S,1)):(S=Ys(w),S.c(),d(S,1),S.m(n,a)):S&&(he(),g(S,1,1,()=>{S=null}),ve()),w[8]?k?(k.p(w,R),R[0]&256&&d(k,1)):(k=Qs(w),k.c(),d(k,1),k.m(n,null)):k&&(he(),g(k,1,1,()=>{k=null}),ve()),(!c||R[0]&256)&&M(n,"items-mobile",w[8]),(!c||R[0]&256)&&M(e,"menu-desktop",!w[8]),(!c||R[0]&256)&&M(e,"menu-mobile",w[8]),(!c||R[0]&32768)&&M(e,"hidden",!w[15])},i(w){c||(d(b),d(v),d(y),d(_),d(S),d(k),c=!0)},o(w){g(b),g(v),g(y),g(_),g(S),g(k),c=!1},d(w){w&&P(e),h&&h.d(),b&&b.d(),v&&v.d(),y&&y.d(),_&&_.d(),S&&S.d(),k&&k.d(),i[116](null),f=!1,ot(m)}}}function qs(i){let e,t,n,o,r,l,s,a;return{c(){e=T("div"),t=T("div"),t.textContent=`${G("submenu_settings")}`,n=N(),o=T("div"),r=N(),l=T("div"),u(o,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),M(e,"item-mobile",i[8]),u(l,"class","menu-divider v-5r0p3")},m(c,f){E(c,e,f),p(e,t),p(e,n),p(e,o),E(c,r,f),E(c,l,f),s||(a=_e(o,"click",lt(i[59])),s=!0)},p(c,f){f[0]&256&&M(e,"item-mobile",c[8])},d(c){c&&(P(e),P(r),P(l)),s=!1,a()}}}function js(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;n=new _r({});let v=i[36]&&!i[8]&&Ws(i);return{c(){e=T("li"),t=T("div"),q(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("menu_quality")}`,l=N(),s=T("div"),a=Fe(i[20]),c=N(),v&&v.c(),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_quality",{actual:i[30]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(y,_){E(y,e,_),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),p(s,c),v&&v.m(s,null),i[112](e),m=!0,h||(b=[_e(e,"click",lt(i[60])),_e(e,"keydown",i[80])],h=!0)},p(y,_){(!m||_[0]&1048576)&&$e(a,y[20]),y[36]&&!y[8]?v?(v.p(y,_),_[0]&256|_[1]&32&&d(v,1)):(v=Ws(y),v.c(),d(v,1),v.m(s,null)):v&&(he(),g(v,1,1,()=>{v=null}),ve()),(!m||_[0]&1073741824&&f!==(f=G("aria_label_menu_quality",{actual:y[30]})))&&u(e,"aria-label",f),(!m||_[0]&256)&&M(e,"item-mobile",y[8])},i(y){m||(d(n.$$.fragment,y),d(v),m=!0)},o(y){g(n.$$.fragment,y),g(v),m=!1},d(y){y&&P(e),H(n),v&&v.d(),i[112](null),h=!1,ot(b)}}}function Ws(i){let e,t,n;var o=i[36];function r(l){return{}}return o&&(t=Cn(o,r())),{c(){e=T("div"),t&&q(t.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(l,s){E(l,e,s),t&&F(t,e,null),n=!0},p(l,s){if(s[1]&32&&o!==(o=l[36])){if(t){he();const a=t;g(a.$$.fragment,1,0,()=>{H(a,1)}),ve()}o?(t=Cn(o,r()),q(t.$$.fragment),d(t.$$.fragment,1),F(t,e,null)):t=null}},i(l){n||(t&&d(t.$$.fragment,l),n=!0)},o(l){t&&g(t.$$.fragment,l),n=!1},d(l){l&&P(e),t&&H(t)}}}function Zs(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return n=new tp({}),{c(){e=T("li"),t=T("div"),q(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("menu_playback_rate")}`,l=N(),s=T("div"),a=Fe(i[13]),c=Fe("x"),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_rate",{actual:i[31]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(v,y){E(v,e,y),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),p(s,c),i[113](e),m=!0,h||(b=[_e(e,"click",lt(oi(i[64]))),_e(e,"keydown",i[83])],h=!0)},p(v,y){(!m||y[0]&8192)&&$e(a,v[13]),(!m||y[1]&1&&f!==(f=G("aria_label_menu_rate",{actual:v[31]})))&&u(e,"aria-label",f),(!m||y[0]&256)&&M(e,"item-mobile",v[8])},i(v){m||(d(n.$$.fragment,v),m=!0)},o(v){g(n.$$.fragment,v),m=!1},d(v){v&&P(e),H(n),i[113](null),h=!1,ot(b)}}}function Gs(i){let e,t,n,o,r,l,s,a=i[37].displayValue+"",c,f,m,h,b;return n=new Vc({}),{c(){e=T("li"),t=T("div"),q(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("subtitles_caption")}`,l=N(),s=T("div"),c=Fe(a),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_subtitle",{actual:i[37].displayValue})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(v,y){E(v,e,y),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,c),i[114](e),m=!0,h||(b=[_e(e,"click",lt(i[66])),_e(e,"keydown",i[86])],h=!0)},p(v,y){(!m||y[1]&64)&&a!==(a=v[37].displayValue+"")&&$e(c,a),(!m||y[1]&64&&f!==(f=G("aria_label_menu_subtitle",{actual:v[37].displayValue})))&&u(e,"aria-label",f),(!m||y[0]&256)&&M(e,"item-mobile",v[8])},i(v){m||(d(n.$$.fragment,v),m=!0)},o(v){g(n.$$.fragment,v),m=!1},d(v){v&&P(e),H(n),i[114](null),h=!1,ot(b)}}}function Ks(i){let e,t,n,o,r,l,s,a,c,f,m,h;return n=new $3({}),{c(){e=T("li"),t=T("div"),q(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("menu_traffic_saving")}`,l=N(),s=T("div"),a=Fe(i[29]),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=G("aria_label_menu_traffic_saving",{actual:i[29]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(b,v){E(b,e,v),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),i[115](e),f=!0,m||(h=[_e(e,"click",lt(i[61])),_e(e,"keydown",i[89])],m=!0)},p(b,v){(!f||v[0]&536870912)&&$e(a,b[29]),(!f||v[0]&536870912&&c!==(c=G("aria_label_menu_traffic_saving",{actual:b[29]})))&&u(e,"aria-label",c),(!f||v[0]&256)&&M(e,"item-mobile",b[8])},i(b){f||(d(n.$$.fragment,b),f=!0)},o(b){g(n.$$.fragment,b),f=!1},d(b){b&&P(e),H(n),i[115](null),m=!1,ot(h)}}}function Ys(i){let e,t,n,o,r,l,s,a;return n=new J3({}),{c(){e=T("li"),t=T("div"),q(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("download_video_caption")}`,u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",G("aria_label_menu_download")),M(e,"item-mobile",i[8])},m(c,f){E(c,e,f),p(e,t),F(n,t,null),p(e,o),p(e,r),l=!0,s||(a=[_e(e,"click",lt(i[69])),_e(e,"keydown",i[92])],s=!0)},p(c,f){(!l||f[0]&256)&&M(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&&P(e),H(n),s=!1,ot(a)}}}function Qs(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S=i[39].showSupport&&hp(i);return o=new fp({}),f=new mp({}),{c(){S&&S.c(),e=N(),t=T("li"),n=T("div"),q(o.$$.fragment),r=N(),l=T("div"),l.textContent=`${G("menu_copy_debug")}`,s=N(),a=T("li"),c=T("div"),q(f.$$.fragment),m=N(),h=T("div"),h.textContent=`${G("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(l,"class","menu-title v-5r0p3"),u(t,"class","item item-mobile v-5r0p3"),u(t,"role","menuitem"),u(t,"tabindex","0"),u(t,"aria-label",G("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",b=i[38]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable"))},m(k,w){S&&S.m(k,w),E(k,e,w),E(k,t,w),p(t,n),F(o,n,null),p(t,r),p(t,l),E(k,s,w),E(k,a,w),p(a,c),F(f,c,null),p(a,m),p(a,h),v=!0,y||(_=[_e(t,"click",lt(i[71])),_e(t,"keydown",i[94]),_e(a,"click",lt(i[72])),_e(a,"keydown",i[95])],y=!0)},p(k,w){k[39].showSupport&&S.p(k,w),(!v||w[1]&128&&b!==(b=k[38]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",b)},i(k){v||(d(S),d(o.$$.fragment,k),d(f.$$.fragment,k),v=!0)},o(k){g(S),g(o.$$.fragment,k),g(f.$$.fragment,k),v=!1},d(k){k&&(P(e),P(t),P(s),P(a)),S&&S.d(k),H(o),H(f),y=!1,ot(_)}}}function hp(i){let e,t,n,o,r,l,s,a;return n=new ap({}),{c(){e=T("li"),t=T("div"),q(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("menu_report")}`,u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"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",`${G("menu_report")}. ${G("aria_label_new_tab_alert")}`)},m(c,f){E(c,e,f),p(e,t),F(n,t,null),p(e,o),p(e,r),l=!0,s||(a=[_e(e,"click",lt(i[70])),_e(e,"keydown",i[93])],s=!0)},p:W,i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&P(e),H(n),s=!1,ot(a)}}}function Xs(i){let e,t,n,o,r,l,s,a,c,f,m,h;n=new zn({props:{direction:"left"}});let b=xt(i[12]),v=[];for(let _=0;_<b.length;_+=1)v[_]=$s(Hs(i,b,_));const y=_=>g(v[_],1,1,()=>{v[_]=null});return{c(){e=T("div"),t=T("div"),q(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("submenu_quality")}`,l=N(),s=T("div"),a=N(),c=T("ul");for(let _=0;_<v.length;_+=1)v[_].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",G("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"style",i[21]),M(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(_,S){E(_,e,S),p(e,t),F(n,t,null),p(t,o),p(t,r),i[117](t),p(e,l),p(e,s),p(e,a),p(e,c);for(let k=0;k<v.length;k+=1)v[k]&&v[k].m(c,null);i[120](c),f=!0,m||(h=[_e(t,"click",lt(i[68])),_e(c,"keydown",i[81])],m=!0)},p(_,S){if((!f||S[0]&256)&&M(t,"item-mobile",_[8]),S[0]&4352|S[2]&1048577){b=xt(_[12]);let k;for(k=0;k<b.length;k+=1){const w=Hs(_,b,k);v[k]?(v[k].p(w,S),d(v[k],1)):(v[k]=$s(w),v[k].c(),d(v[k],1),v[k].m(c,null))}for(he(),k=b.length;k<v.length;k+=1)y(k);ve()}(!f||S[0]&2097152)&&u(c,"style",_[21]),(!f||S[0]&256)&&M(c,"items-mobile",_[8]),(!f||S[0]&256)&&M(e,"menu-desktop",!_[8]),(!f||S[0]&256)&&M(e,"menu-mobile",_[8])},i(_){if(!f){d(n.$$.fragment,_);for(let S=0;S<b.length;S+=1)d(v[S]);f=!0}},o(_){g(n.$$.fragment,_),v=v.filter(Boolean);for(let S=0;S<v.length;S+=1)g(v[S]);f=!1},d(_){_&&P(e),H(n),i[117](null),yn(v,_),i[120](null),m=!1,ot(h)}}}function Js(i){let e,t,n;return t=new Ho({}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function xs(i){let e,t,n;var o=So(i[148].value);function r(l){return{}}return o&&(t=Cn(o,r())),{c(){e=T("div"),t&&q(t.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(l,s){E(l,e,s),t&&F(t,e,null),n=!0},p(l,s){if(s[0]&4096&&o!==(o=So(l[148].value))){if(t){he();const a=t;g(a.$$.fragment,1,0,()=>{H(a,1)}),ve()}o?(t=Cn(o,r()),q(t.$$.fragment),d(t.$$.fragment,1),F(t,e,null)):t=null}},i(l){n||(t&&d(t.$$.fragment,l),n=!0)},o(l){t&&g(t.$$.fragment,l),n=!1},d(l){l&&P(e),t&&H(t)}}}function $s(i){let e,t,n,o=i[148].displayValue+"",r,l,s=!i[8]&&So(i[148].value),a,c,f,m,h,b,v=i[148].selected&&Js(),y=s&&xs(i);function _(){return i[118](i[148])}function S(...k){return i[119](i[148],...k)}return{c(){e=T("li"),v&&v.c(),t=N(),n=T("div"),r=Fe(o),l=N(),y&&y.c(),a=N(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",c=i[148].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_submenu_quality_select_quality",{quality:i[148].displayValue})),M(e,"item-mobile",i[8])},m(k,w){E(k,e,w),v&&v.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),y&&y.m(e,null),p(e,a),m=!0,h||(b=[_e(e,"click",lt(_)),_e(e,"keydown",S)],h=!0)},p(k,w){i=k,i[148].selected?v?w[0]&4096&&d(v,1):(v=Js(),v.c(),d(v,1),v.m(e,t)):v&&(he(),g(v,1,1,()=>{v=null}),ve()),(!m||w[0]&4096)&&o!==(o=i[148].displayValue+"")&&$e(r,o),(!m||w[0]&256)&&M(n,"quality-title-mobile",i[8]),w[0]&4352&&(s=!i[8]&&So(i[148].value)),s?y?(y.p(i,w),w[0]&4352&&d(y,1)):(y=xs(i),y.c(),d(y,1),y.m(e,a)):y&&(he(),g(y,1,1,()=>{y=null}),ve()),(!m||w[0]&4096&&c!==(c=i[148].value))&&u(e,"data-value",c),(!m||w[0]&4096&&f!==(f=G("aria_label_submenu_quality_select_quality",{quality:i[148].displayValue})))&&u(e,"aria-label",f),(!m||w[0]&256)&&M(e,"item-mobile",i[8])},i(k){m||(d(v),d(y),m=!0)},o(k){g(v),g(y),m=!1},d(k){k&&P(e),v&&v.d(),y&&y.d(),h=!1,ot(b)}}}function ea(i){let e,t,n,o,r,l,s,a,c,f,m,h;n=new zn({props:{direction:"left"}});let b=xt(i[11]),v=[];for(let _=0;_<b.length;_+=1)v[_]=ia(Fs(i,b,_));const y=_=>g(v[_],1,1,()=>{v[_]=null});return{c(){e=T("div"),t=T("div"),q(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("submenu_playback_rate")}`,l=N(),s=T("div"),a=N(),c=T("ul");for(let _=0;_<v.length;_+=1)v[_].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",G("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"style",i[22]),M(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(_,S){E(_,e,S),p(e,t),F(n,t,null),p(t,o),p(t,r),i[121](t),p(e,l),p(e,s),p(e,a),p(e,c);for(let k=0;k<v.length;k+=1)v[k]&&v[k].m(c,null);i[124](c),f=!0,m||(h=[_e(t,"click",lt(i[68])),_e(c,"keydown",i[84])],m=!0)},p(_,S){if((!f||S[0]&256)&&M(t,"item-mobile",_[8]),S[0]&2304|S[2]&8388616){b=xt(_[11]);let k;for(k=0;k<b.length;k+=1){const w=Fs(_,b,k);v[k]?(v[k].p(w,S),d(v[k],1)):(v[k]=ia(w),v[k].c(),d(v[k],1),v[k].m(c,null))}for(he(),k=b.length;k<v.length;k+=1)y(k);ve()}(!f||S[0]&4194304)&&u(c,"style",_[22]),(!f||S[0]&256)&&M(c,"items-mobile",_[8]),(!f||S[0]&256)&&M(e,"menu-desktop",!_[8]),(!f||S[0]&256)&&M(e,"menu-mobile",_[8])},i(_){if(!f){d(n.$$.fragment,_);for(let S=0;S<b.length;S+=1)d(v[S]);f=!0}},o(_){g(n.$$.fragment,_),v=v.filter(Boolean);for(let S=0;S<v.length;S+=1)g(v[S]);f=!1},d(_){_&&P(e),H(n),i[121](null),yn(v,_),i[124](null),m=!1,ot(h)}}}function ta(i){let e,t,n;return t=new Ho({}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function ia(i){let e,t,n,o=i[145].displayValue+"",r,l,s,a,c,f,m,h=i[145].selected&&ta();function b(){return i[122](i[145])}function v(...y){return i[123](i[145],...y)}return{c(){e=T("li"),h&&h.c(),t=N(),n=T("div"),r=Fe(o),l=N(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=i[145].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=G("aria_label_submenu_rate_select_rate",{rate:i[145].displayValue})),M(e,"item-mobile",i[8])},m(y,_){E(y,e,_),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),c=!0,f||(m=[_e(e,"click",lt(b)),_e(e,"keydown",v)],f=!0)},p(y,_){i=y,i[145].selected?h?_[0]&2048&&d(h,1):(h=ta(),h.c(),d(h,1),h.m(e,t)):h&&(he(),g(h,1,1,()=>{h=null}),ve()),(!c||_[0]&2048)&&o!==(o=i[145].displayValue+"")&&$e(r,o),(!c||_[0]&256)&&M(n,"quality-title-mobile",i[8]),(!c||_[0]&2048&&s!==(s=i[145].value))&&u(e,"data-value",s),(!c||_[0]&2048&&a!==(a=G("aria_label_submenu_rate_select_rate",{rate:i[145].displayValue})))&&u(e,"aria-label",a),(!c||_[0]&256)&&M(e,"item-mobile",i[8])},i(y){c||(d(h),c=!0)},o(y){g(h),c=!1},d(y){y&&P(e),h&&h.d(),f=!1,ot(m)}}}function na(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se;n=new zn({props:{direction:"left"}});let ne=!i[9]&&oa(),O=i[9]&&la();return{c(){e=T("div"),t=T("div"),q(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("submenu_traffic_saving")}`,l=N(),s=T("div"),a=N(),c=T("ul"),f=T("li"),ne&&ne.c(),m=N(),h=T("div"),h.textContent=`${G("traffic_saving_disable")}`,b=N(),v=T("li"),O&&O.c(),y=N(),_=T("div"),_.textContent=`${G("traffic_saving_enable")}`,S=N(),k=T("div"),w=N(),R=T("div"),X=T("span"),X.textContent=`${G("traffic_saving_helper_text")}`,u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",G("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),M(h,"quality-title-mobile",i[8]),u(f,"class","item item-traffic-saving v-5r0p3"),u(f,"role","menuitem"),u(f,"tabindex","0"),u(f,"aria-label",G("aria_label_submenu_traffic_saving_off")),M(f,"item-mobile",i[8]),u(_,"class","v-5r0p3"),M(_,"quality-title-mobile",i[8]),u(v,"class","item item-traffic-saving v-5r0p3"),u(v,"role","menuitem"),u(v,"tabindex","0"),u(v,"aria-label",`${G("aria_label_submenu_traffic_saving_on")}. ${G("traffic_saving_helper_text")}`),M(v,"item-mobile",i[8]),u(c,"class","items v-5r0p3"),u(c,"style",i[23]),M(c,"items-mobile",i[8]),u(k,"class","menu-divider v-5r0p3"),u(X,"class","v-5r0p3"),u(R,"class","item item-helper-text v-5r0p3"),M(R,"item-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m($,C){E($,e,C),p(e,t),F(n,t,null),p(t,o),p(t,r),i[125](t),p(e,l),p(e,s),p(e,a),p(e,c),p(c,f),ne&&ne.m(f,null),p(f,m),p(f,h),p(c,b),p(c,v),O&&O.m(v,null),p(v,y),p(v,_),i[130](c),p(e,S),p(e,k),p(e,w),p(e,R),p(R,X),V=!0,K||(se=[_e(t,"click",lt(i[68])),_e(f,"click",lt(i[126])),_e(f,"keydown",i[127]),_e(v,"click",lt(i[128])),_e(v,"keydown",i[129]),_e(c,"keydown",i[90])],K=!0)},p($,C){(!V||C[0]&256)&&M(t,"item-mobile",$[8]),$[9]?ne&&(he(),g(ne,1,1,()=>{ne=null}),ve()):ne?C[0]&512&&d(ne,1):(ne=oa(),ne.c(),d(ne,1),ne.m(f,m)),(!V||C[0]&256)&&M(h,"quality-title-mobile",$[8]),(!V||C[0]&256)&&M(f,"item-mobile",$[8]),$[9]?O?C[0]&512&&d(O,1):(O=la(),O.c(),d(O,1),O.m(v,y)):O&&(he(),g(O,1,1,()=>{O=null}),ve()),(!V||C[0]&256)&&M(_,"quality-title-mobile",$[8]),(!V||C[0]&256)&&M(v,"item-mobile",$[8]),(!V||C[0]&8388608)&&u(c,"style",$[23]),(!V||C[0]&256)&&M(c,"items-mobile",$[8]),(!V||C[0]&256)&&M(R,"item-mobile",$[8]),(!V||C[0]&256)&&M(e,"menu-desktop",!$[8]),(!V||C[0]&256)&&M(e,"menu-mobile",$[8])},i($){V||(d(n.$$.fragment,$),d(ne),d(O),V=!0)},o($){g(n.$$.fragment,$),g(ne),g(O),V=!1},d($){$&&P(e),H(n),i[125](null),ne&&ne.d(),O&&O.d(),i[130](null),K=!1,ot(se)}}}function oa(i){let e,t,n;return t=new Ho({}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function la(i){let e,t,n;return t=new Ho({}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function ra(i){let e,t,n,o,r,l,s,a,c,f;n=new zn({props:{direction:"left"}});let m=xt(i[10]),h=[];for(let v=0;v<m.length;v+=1)h[v]=aa(zs(i,m,v));const b=v=>g(h[v],1,1,()=>{h[v]=null});return{c(){e=T("div"),t=T("div"),q(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("subtitles_caption")}`,l=N(),s=T("ul");for(let v=0;v<h.length;v+=1)h[v].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",G("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","items v-5r0p3"),M(s,"items-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(v,y){E(v,e,y),p(e,t),F(n,t,null),p(t,o),p(t,r),p(e,l),p(e,s);for(let _=0;_<h.length;_+=1)h[_]&&h[_].m(s,null);i[133](s),a=!0,c||(f=[_e(t,"click",lt(i[68])),_e(s,"keydown",i[87])],c=!0)},p(v,y){if((!a||y[0]&256)&&M(t,"item-mobile",v[8]),y[0]&1280|y[2]&67108896){m=xt(v[10]);let _;for(_=0;_<m.length;_+=1){const S=zs(v,m,_);h[_]?(h[_].p(S,y),d(h[_],1)):(h[_]=aa(S),h[_].c(),d(h[_],1),h[_].m(s,null))}for(he(),_=m.length;_<h.length;_+=1)b(_);ve()}(!a||y[0]&256)&&M(s,"items-mobile",v[8]),(!a||y[0]&256)&&M(e,"menu-desktop",!v[8]),(!a||y[0]&256)&&M(e,"menu-mobile",v[8])},i(v){if(!a){d(n.$$.fragment,v);for(let y=0;y<m.length;y+=1)d(h[y]);a=!0}},o(v){g(n.$$.fragment,v),h=h.filter(Boolean);for(let y=0;y<h.length;y+=1)g(h[y]);a=!1},d(v){v&&P(e),H(n),yn(h,v),i[133](null),c=!1,ot(f)}}}function sa(i){let e,t,n;return t=new Ho({}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function aa(i){let e,t,n,o=i[142].displayValue+"",r,l,s,a,c,f,m,h=i[142].selected&&sa();function b(){return i[131](i[142])}function v(...y){return i[132](i[142],...y)}return{c(){e=T("li"),h&&h.c(),t=N(),n=T("div"),r=Fe(o),l=N(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=i[142].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=G("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[142].displayValue})),M(e,"item-mobile",i[8])},m(y,_){E(y,e,_),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),c=!0,f||(m=[_e(e,"click",lt(b)),_e(e,"keydown",v)],f=!0)},p(y,_){i=y,i[142].selected?h?_[0]&1024&&d(h,1):(h=sa(),h.c(),d(h,1),h.m(e,t)):h&&(he(),g(h,1,1,()=>{h=null}),ve()),(!c||_[0]&1024)&&o!==(o=i[142].displayValue+"")&&$e(r,o),(!c||_[0]&256)&&M(n,"quality-title-mobile",i[8]),(!c||_[0]&1024&&s!==(s=i[142].value))&&u(e,"data-value",s),(!c||_[0]&1024&&a!==(a=G("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[142].displayValue})))&&u(e,"aria-label",a),(!c||_[0]&256)&&M(e,"item-mobile",i[8])},i(y){c||(d(h),c=!0)},o(y){g(h),c=!1},d(y){y&&P(e),h&&h.d(),f=!1,ot(m)}}}function vp(i){let e,t,n,o,r,l,s=i[14]&&Us(i),a=i[16]&&Xs(i),c=i[17]&&ea(i),f=i[19]&&na(i),m=i[18]&&ra(i);return{c(){e=T("div"),s&&s.c(),t=N(),a&&a.c(),n=N(),c&&c.c(),o=N(),f&&f.c(),r=N(),m&&m.c(),u(e,"class","v-5r0p3"),M(e,"hidden",!i[14]),M(e,"container-mobile",i[8])},m(h,b){E(h,e,b),s&&s.m(e,null),p(e,t),a&&a.m(e,null),p(e,n),c&&c.m(e,null),p(e,o),f&&f.m(e,null),p(e,r),m&&m.m(e,null),l=!0},p(h,b){h[14]?s?(s.p(h,b),b[0]&16384&&d(s,1)):(s=Us(h),s.c(),d(s,1),s.m(e,t)):s&&(he(),g(s,1,1,()=>{s=null}),ve()),h[16]?a?(a.p(h,b),b[0]&65536&&d(a,1)):(a=Xs(h),a.c(),d(a,1),a.m(e,n)):a&&(he(),g(a,1,1,()=>{a=null}),ve()),h[17]?c?(c.p(h,b),b[0]&131072&&d(c,1)):(c=ea(h),c.c(),d(c,1),c.m(e,o)):c&&(he(),g(c,1,1,()=>{c=null}),ve()),h[19]?f?(f.p(h,b),b[0]&524288&&d(f,1)):(f=na(h),f.c(),d(f,1),f.m(e,r)):f&&(he(),g(f,1,1,()=>{f=null}),ve()),h[18]?m?(m.p(h,b),b[0]&262144&&d(m,1)):(m=ra(h),m.c(),d(m,1),m.m(e,null)):m&&(he(),g(m,1,1,()=>{m=null}),ve()),(!l||b[0]&16384)&&M(e,"hidden",!h[14]),(!l||b[0]&256)&&M(e,"container-mobile",h[8])},i(h){l||(d(s),d(a),d(c),d(f),d(m),l=!0)},o(h){g(s),g(a),g(c),g(f),g(m),l=!1},d(h){h&&P(e),s&&s.d(),a&&a.d(),c&&c.d(),f&&f.d(),m&&m.d()}}}const Zl=18;function gp(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O,{ref:$=void 0}=e,{supportLink:C}=e,{playerControlsHeight:D=0}=e,{returnFocus:re}=e;const L=Pt(),ae=pn(),pe=L.state.currentQuality$;z(i,pe,te=>t(103,y=te));const ge=L.state.availableQualities$;z(i,ge,te=>t(12,b=te));const ce=L.state.autoQualityLimitingAvailable$;z(i,ce,te=>t(107,w=te));const Y=L.state.isAutoQualityEnabled$;z(i,Y,te=>t(104,_=te));const fe=L.state.currentPlaybackRate$;z(i,fe,te=>t(13,v=te));const ze=L.state.availablePlaybackRates$;z(i,ze,te=>t(11,m=te));const de=L.state.currentSubtitle$;z(i,de,te=>t(37,ne=te));const Le=L.state.availableSubtitlesList$;z(i,Le,te=>t(10,c=te));const Pe=L.state.canDownload,ue=L.state.hasMpegSources$;z(i,ue,te=>t(108,R=te));const Ee=L.ui.settingsMenuVisible;z(i,Ee,te=>t(14,se=te));const A=L.ui.settingsMenuOpenedByKeyboard;z(i,A,te=>t(135,o=te));const oe=L.ui.isMobile;z(i,oe,te=>t(8,r=te));const Me=L.ui.mobileNotReportControlHidden$;z(i,Me,te=>t(105,S=te));const Ce=L.state.canChangePlaybackSpeed$;z(i,Ce,te=>t(106,k=te));const Te=L.ui.isFullscreen;z(i,Te,te=>t(111,K=te));const le=L.state.trafficSavingEnabled$;z(i,le,te=>t(9,s=te));const Q=L.ui.playerSize;z(i,Q,te=>t(110,V=te));const U=L.ui.debugPanelVisible;z(i,U,te=>t(38,O=te));const Ne=L.ui.playerSize;z(i,Ne,te=>t(109,X=te));const et=L.state.isInteractiveTime$,rt=L.actions.internal.downloadVideo,Ze=L.actions.internal.closeSettingsMenu;let Ve=!0,Je=!1,pt=!1,at=!1,Ie=!1,qt=!1;function ft(){o||re==null||re(),Ze(),qt=!1}function It(){t(15,Ve=!1),t(16,Je=!0)}function Rt(){t(15,Ve=!1),t(19,Ie=!0)}function Vt(te){L.actions.internal.setQuality(te),ft()}function me(te){L.actions.internal.setTrafficSavingEnabled(te),ft()}function At(){t(15,Ve=!1),t(17,pt=!0)}function it(te){L.actions.internal.setPlaybackRate(te),ft()}function Tt(){t(15,Ve=!1),t(18,at=!0)}function wt(te){L.actions.internal.setSubtitle(te),ft()}function ht(){t(15,Ve=!0),t(16,Je=!1),t(17,pt=!1),t(18,at=!1),t(19,Ie=!1)}function Qe(){rt(),ft()}function Ue(){window.open(C,"_blank"),ft(),L.actions.internal.pause()}function yt(){or(L.actions.internal.getDebugTextData()),ft()}function Bi(){U.set(!0),ft()}function zi(){qt=!0}function li(){qt=!1}function Fi(te,tt,Mt){if(!te)return"...";const Yi=tt.find(on=>on.value===te),dt=Yi?Yi.displayValue:te;return Mt?te===xe.VideoQuality.INVARIANT?G("auto_quality_invariant"):G("auto_quality",{actual:dt}):dt}let Qi,Ot,jt,ri,Wt,di,Dt,Ni,si,Et,Ri,Si,mi,Ci,zt,$t,pi,ai=Be(!1);z(i,ai,te=>t(102,h=te));let Zt,vt,nt=Be(!1);z(i,nt,te=>t(101,f=te));let Ft,ui,Oi=Be(!1);z(i,Oi,te=>t(100,a=te));let Pi,Gt,Kt=Be(!1);z(i,Kt,te=>t(99,l=te));const Hi=te=>{kc(te,Ze)},ei=async te=>{nl(te,It,()=>{const tt=b.findIndex(Mt=>Mt.selected);return pi.childNodes[tt]})},Ui=async te=>{ol(te,ht,ai,Ze)},Yt=(te,tt)=>{$i(te,()=>Vt(tt))},Ht=async te=>{nl(te,At,()=>{const tt=m.findIndex(Mt=>Mt.selected);return vt.childNodes[tt]})},Qt=async te=>{ol(te,ht,nt,Ze)},Ti=(te,tt)=>{$i(te,()=>it(tt))},Lt=async te=>{nl(te,Tt,()=>{const tt=c.findIndex(Mt=>Mt.selected);return ui.childNodes[tt]})},hi=async te=>{ol(te,ht,Oi,Ze)},Ei=(te,tt)=>{$i(te,()=>wt(tt))},qi=async te=>{nl(te,Rt,()=>{const tt=s?2:0;return Gt.childNodes[tt]})},vi=async te=>{ol(te,ht,Kt,Ze)},Xt=(te,tt)=>{$i(te,()=>me(tt))},ji=te=>{$i(te,()=>Qe())},gi=te=>{$i(te,()=>Ue())},Ai=te=>{$i(te,()=>yt())},Oe=te=>{$i(te,()=>Bi())};mn(()=>{const te=et.subscribe(tt=>{tt&&!r&&!qt&&!o&&ft()});return()=>{te()}});function Wi(te){Se[te?"unshift":"push"](()=>{$t=te,t(4,$t)})}function Zi(te){Se[te?"unshift":"push"](()=>{Zt=te,t(5,Zt)})}function bi(te){Se[te?"unshift":"push"](()=>{Ft=te,t(6,Ft)})}function Di(te){Se[te?"unshift":"push"](()=>{Pi=te,t(7,Pi)})}function Li(te){Se[te?"unshift":"push"](()=>{$=te,t(0,$)})}function ci(te){Se[te?"unshift":"push"](()=>{Ot=te,t(1,Ot)})}const He=te=>Vt(te.value),Gi=(te,tt)=>Yt(tt,te.value);function Jt(te){Se[te?"unshift":"push"](()=>{pi=te,t(32,pi)})}function ti(te){Se[te?"unshift":"push"](()=>{jt=te,t(2,jt)})}const Ki=te=>it(te.value),Ii=(te,tt)=>Ti(tt,te.value);function un(te){Se[te?"unshift":"push"](()=>{vt=te,t(33,vt)})}function en(te){Se[te?"unshift":"push"](()=>{ri=te,t(3,ri)})}const Vi=()=>me(!1),Mi=te=>Xt(te,!1),_i=()=>me(!0),tn=te=>Xt(te,!0);function Xi(te){Se[te?"unshift":"push"](()=>{Gt=te,t(35,Gt)})}const Ji=te=>wt(te),nn=(te,tt)=>Ei(tt,te);function wi(te){Se[te?"unshift":"push"](()=>{ui=te,t(34,ui)})}return i.$$set=te=>{"ref"in te&&t(0,$=te.ref),"supportLink"in te&&t(96,C=te.supportLink),"playerControlsHeight"in te&&t(97,D=te.playerControlsHeight),"returnFocus"in te&&t(98,re=te.returnFocus)},i.$$.update=()=>{var te,tt,Mt,Yi;if(i.$$.dirty[0]&16384&&se&&(t(15,Ve=!0),t(16,Je=!1),t(17,pt=!1),t(18,at=!1),t(19,Ie=!1)),i.$$.dirty[3]&1024&&t(36,n=So(y)),i.$$.dirty[0]&4096|i.$$.dirty[3]&3072&&t(20,Qi=Fi(y,b,_)),i.$$.dirty[0]&258|i.$$.dirty[3]&458768)if(r&&K)t(21,Wt=`max-height: ${Math.round(V.height*.6)}px`);else if(r)t(21,Wt="");else{const dt=X.height-Zl-((te=Ot==null?void 0:Ot.clientHeight)!=null?te:0)-D;t(21,Wt=`max-height: ${dt}px; overflow: auto;`)}if(i.$$.dirty[0]&260|i.$$.dirty[3]&65552)if(r)t(22,di="");else{const dt=X.height-Zl-((tt=jt==null?void 0:jt.clientHeight)!=null?tt:0)-D;t(22,di=`max-height: ${dt}px; overflow: auto;`)}if(i.$$.dirty[0]&264|i.$$.dirty[3]&65552)if(r)t(23,Dt="");else{const dt=X.height-Zl-((Mt=ri==null?void 0:ri.clientHeight)!=null?Mt:0)-D;t(23,Dt=`max-height: ${dt}px; overflow: auto;`)}i.$$.dirty[3]&36864&&t(24,Ni=Pe&&R&&!S),i.$$.dirty[3]&20480&&t(25,si=ae.features.trafficSaving&&!S&&w),i.$$.dirty[0]&1024|i.$$.dirty[3]&4096&&t(26,Et=c.length>0&&!S),i.$$.dirty[3]&12288&&t(27,Ri=!!k&&!S),i.$$.dirty[3]&4096&&t(28,Si=!S),i.$$.dirty[0]&512&&t(29,mi=G(s?"traffic_saving_on":"traffic_saving_off")),i.$$.dirty[3]&3072&&t(30,Ci=_?G("auto_quality_option"):y),i.$$.dirty[0]&10240&&t(31,zt=(Yi=m.find(dt=>dt.value===v))==null?void 0:Yi.displayValue),i.$$.dirty[0]&16|i.$$.dirty[3]&512&&il($t,ai,h),i.$$.dirty[0]&32|i.$$.dirty[3]&256&&il(Zt,nt,f),i.$$.dirty[0]&64|i.$$.dirty[3]&128&&il(Ft,Oi,a),i.$$.dirty[0]&128|i.$$.dirty[3]&64&&il(Pi,Kt,l)},[$,Ot,jt,ri,$t,Zt,Ft,Pi,r,s,c,m,b,v,se,Ve,Je,pt,at,Ie,Qi,Wt,di,Dt,Ni,si,Et,Ri,Si,mi,Ci,zt,pi,vt,ui,Gt,n,ne,O,ae,pe,ge,ce,Y,fe,ze,de,Le,ue,Ee,A,oe,Me,Ce,Te,le,Q,U,Ne,ft,It,Rt,Vt,me,At,it,Tt,wt,ht,Qe,Ue,yt,Bi,zi,li,ai,nt,Oi,Kt,Hi,ei,Ui,Yt,Ht,Qt,Ti,Lt,hi,Ei,qi,vi,Xt,ji,gi,Ai,Oe,C,D,re,l,a,f,h,y,_,S,k,w,R,X,V,K,Wi,Zi,bi,Di,Li,ci,He,Gi,Jt,ti,Ki,Ii,un,en,Vi,Mi,_i,tn,Xi,Ji,nn,wi]}class Mc extends ke{constructor(e){super(),ye(this,e,gp,vp,we,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},pp,[-1,-1,-1,-1,-1])}}function bp(i){qe(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function _p(i){let e,t,n;return t=new _r({props:{isMobile:i[3],currentQuality:i[4]}}),{c(){e=T("span"),q(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,r){E(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r&8&&(l.isMobile=o[3]),r&16&&(l.currentQuality=o[4]),t.$set(l)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function wp(i){let e,t,n;function o(l){i[9](l)}let r={className:i[1]?"opened":"",testId:"btn-settings",click:i[8],ariaLabel:i[2],$$slots:{default:[_p]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new ki({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"opened":""),s&4&&(a.ariaLabel=l[2]),s&4120&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function yp(i,e,t){let n,o,r,{ref:l=void 0}=e;const s=Pt(),a=s.state.currentQuality$;z(i,a,y=>t(4,r=y));const c=s.ui.settingsMenuVisible;z(i,c,y=>t(1,n=y));const f=s.actions.internal.toggleSettingsMenu,m=s.ui.isMobile;z(i,m,y=>t(3,o=y));let h;function b(y){const _=hr(y);f(_)}function v(y){l=y,t(0,l)}return i.$$set=y=>{"ref"in y&&t(0,l=y.ref)},i.$$.update=()=>{i.$$.dirty&2&&t(2,h=G(n?"tooltip_settings_on":"tooltip_settings_off"))},[l,n,h,o,r,a,c,m,b,v]}class wr extends ke{constructor(e){super(),ye(this,e,yp,wp,we,{ref:0},bp)}}function kp(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Sp extends ke{constructor(e){super(),ye(this,e,null,kp,we,{})}}function Cp(i){let e,t;return e=new Vc({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Pp(i){let e,t;return e=new Sp({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Tp(i){let e,t,n,o;const r=[Pp,Cp],l=[];function s(a,c){return a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e!==f&&(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),t=l[e],t||(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Ep(i){let e,t;return e=new ki({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],ariaKeyShortCut:No[Ae.KeyC],$$slots:{default:[Tp]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&4&&(r.ariaLabel=n[2]),o&2&&(r.click=n[1]),o&9&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ap(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,r;return i.$$set=l=>{"isSubtitlesEnabled"in l&&t(0,n=l.isSubtitlesEnabled),"click"in l&&t(1,o=l.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=G(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,r]}class Lp extends ke{constructor(e){super(),ye(this,e,Ap,Ep,we,{isSubtitlesEnabled:0,click:1})}}function Ip(i){qe(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 ua(i){let e,t;return{c(){e=T("span"),t=Fe(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o&8&&$e(t,n[3])},d(n){n&&P(e)}}}function Vp(i){let e,t,n,o,r=i[2]&&ua(i);return{c(){e=T("div"),t=T("span"),n=Fe(i[4]),o=N(),r&&r.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),M(e,"mobile",i[1])},m(l,s){E(l,e,s),p(e,t),p(t,n),p(e,o),r&&r.m(e,null),i[7](e)},p(l,[s]){s&16&&$e(n,l[4]),l[2]?r?r.p(l,s):(r=ua(l),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&2&&M(e,"mobile",l[1])},i:W,o:W,d(l){l&&P(e),r&&r.d(),i[7](null)}}}function Mp(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:r}=e,{showDuration:l=!0}=e,{ref:s}=e,a,c;function f(m){Se[m?"unshift":"push"](()=>{s=m,t(0,s)})}return i.$$set=m=>{"isMobile"in m&&t(1,n=m.isMobile),"duration"in m&&t(5,o=m.duration),"position"in m&&t(6,r=m.position),"showDuration"in m&&t(2,l=m.showDuration),"ref"in m&&t(0,s=m.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=An(o)),i.$$.dirty&64&&t(4,c=An(r))},[s,n,l,a,c,o,r,f]}class Bc extends ke{constructor(e){super(),ye(this,e,Mp,Vp,we,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},Ip)}}function Bp(i){qe(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 Np(i){let e,t,n,o,r,l;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("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(r,"class","cross v-1n5yyua"),u(r,"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",l="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(s,a){E(s,e,a),p(e,t),p(t,n),p(t,o),p(t,r)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&l!==(l="volume-"+s[0]+"-icon")&&u(e,"data-testid",l)},i:W,o:W,d(s){s&&P(e)}}}function Rp(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const r=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let l;return i.$$set=s=>{"volume"in s&&t(1,n=s.volume),"muted"in s&&t(2,o=s.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,l=r(n,o))},[l,n,o]}class _l extends ke{constructor(e){super(),ye(this,e,Rp,Np,we,{volume:1,muted:2},Bp)}}function Op(i){let e,t;const n=i[4].default,o=Ln(n,i,i[3],null);return{c(){e=T("div"),o&&o.c(),u(e,"class","overlay")},m(r,l){E(r,e,l),o&&o.m(e,null),i[5](e),t=!0},p(r,[l]){o&&o.p&&(!t||l&8)&&Vn(o,n,r,r[3],t?In(n,r[3],l,null):Mn(r[3]),null)},i(r){t||(d(o,r),t=!0)},o(r){g(o,r),t=!1},d(r){r&&P(e),o&&o.d(r),i[5](null)}}}function Dp(i,e,t){let n,{$$slots:o={},$$scope:r}=e;const s=Pt().ui.overlayContainer$;z(i,s,h=>t(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)};mn(()=>(f(n),()=>c(n)));function m(h){Se[h?"unshift":"push"](()=>{a=h,t(0,a)})}return i.$$set=h=>{"$$scope"in h&&t(3,r=h.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&f(n)},[a,s,n,r,o,m]}class zp extends ke{constructor(e){super(),ye(this,e,Dp,Op,we,{})}}function Fp(i){qe(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 ca(i){let e,t;return e=new zp({props:{$$slots:{default:[Hp]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&262387&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Hp(i){let e,t,n,o,r,l,s;return{c(){e=T("div"),t=T("div"),n=Fe(i[1]),o=N(),r=T("div"),u(t,"class","content v-1jbbzcj"),u(r,"class","tooltip-pointer v-1jbbzcj"),u(r,"style",l=`transform: translate(${i[5]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",s=`transform: translate(${i[6]}px, ${i[7]}px);`),M(e,"active",i[0])},m(a,c){E(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),i[17](e)},p(a,c){c&2&&$e(n,a[1]),c&32&&l!==(l=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(r,"style",l),c&192&&s!==(s=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",s),c&1&&M(e,"active",a[0])},d(a){a&&P(e),i[17](null)}}}function Up(i){let e,t,n,o,r,l;const s=i[15].default,a=Ln(s,i,i[18],null);let c=i[1]&&ca(i);return{c(){e=T("div"),a&&a.c(),t=N(),c&&c.c(),n=bt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),M(e,"full-width",i[2])},m(f,m){E(f,e,m),a&&a.m(e,null),i[16](e),E(f,t,m),c&&c.m(f,m),E(f,n,m),o=!0,r||(l=[_e(e,"mouseenter",i[11]),_e(e,"mousemove",i[11]),_e(e,"mouseleave",i[12]),_e(e,"mousedown",i[12]),_e(e,"mouseup",i[11])],r=!0)},p(f,[m]){a&&a.p&&(!o||m&262144)&&Vn(a,s,f,f[18],o?In(s,f[18],m,null):Mn(f[18]),null),(!o||m&4)&&M(e,"full-width",f[2]),f[1]?c?(c.p(f,m),m&2&&d(c,1)):(c=ca(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(he(),g(c,1,1,()=>{c=null}),ve())},i(f){o||(d(a,f),d(c),o=!0)},o(f){g(a,f),g(c),o=!1},d(f){f&&(P(e),P(t),P(n)),a&&a.d(f),i[16](null),c&&c.d(f),r=!1,ot(l)}}}const ll=5;function qp(i,e,t){let n,o,{$$slots:r={},$$scope:l}=e,{content:s=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:m=!1}=e,h,b,v,y=0,_=ll,S=0,k=0;const w=pn(),R=Pt(),X=R.ui.playerSize;z(i,X,L=>t(21,o=L));const V=R.ui.overlayContainer$;z(i,V,L=>t(20,n=L));const K=R.getLogger().createComponentLog("Tooltip component"),se=()=>{if(!n)return;const L=n.getBoundingClientRect(),ae=h.getBoundingClientRect(),pe=ae.width,ge=b.clientWidth,ce=o.width,Y=(pe-ge)/2,fe=ae.left+c-L.left;let ze=fe+Y;const de=ae.top+f-L.top;let Le=ge/2-ll;const Pe=ze<Qo,ue=ze+ge>ce-Qo;Pe&&(ze=Qo,Le=fe+ae.width/2-2.5*ll),ue&&(ze=ce-Qo-ge,Le=ae.left-L.left+ae.width/2-ze-ll),t(6,S=ze),t(7,k=de),t(5,y=Le)},ne=()=>{try{if(!n||!h)return;se(),t(0,a=!0)}catch(L){K({message:String(L)})}},O=()=>{t(0,a=!1)},$=()=>{b&&(v||(v=window.setTimeout(ne,w.controls.hideTimeoutTooltips)),a&&ne())},C=()=>{O(),window.clearTimeout(v),v=void 0};ml(()=>window.clearTimeout(v));function D(L){Se[L?"unshift":"push"](()=>{h=L,t(3,h)})}function re(L){Se[L?"unshift":"push"](()=>{b=L,t(4,b)})}return i.$$set=L=>{"content"in L&&t(1,s=L.content),"active"in L&&t(0,a=L.active),"translateX"in L&&t(13,c=L.translateX),"translateY"in L&&t(14,f=L.translateY),"isFullWidthWrapper"in L&&t(2,m=L.isFullWidthWrapper),"$$scope"in L&&t(18,l=L.$$scope)},[a,s,m,h,b,y,S,k,_,X,V,$,C,c,f,r,D,re,l]}class Nc extends ke{constructor(e){super(),ye(this,e,qp,Up,we,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},Fp)}}function jp(i){qe(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 Wp(i){let e;const t=i[16].default,n=Ln(t,i,i[21],null);return{c(){n&&n.c()},m(o,r){n&&n.m(o,r),e=!0},p(o,r){n&&n.p&&(!e||r&2097152)&&Vn(n,t,o,o[21],e?In(t,o[21],r,null):Mn(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 Zp(i){let e,t;return e=new Nc({props:{content:i[9],translateX:i[7],translateY:i[8],isFullWidthWrapper:i[4],$$slots:{default:[Gp]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&512&&(r.content=n[9]),o&128&&(r.translateX=n[7]),o&256&&(r.translateY=n[8]),o&16&&(r.isFullWidthWrapper=n[4]),o&2097152&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Gp(i){let e;const t=i[16].default,n=Ln(t,i,i[21],null);return{c(){n&&n.c()},m(o,r){n&&n.m(o,r),e=!0},p(o,r){n&&n.p&&(!e||r&2097152)&&Vn(n,t,o,o[21],e?In(t,o[21],r,null):Mn(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 Kp(i){let e,t,n,o,r,l,s,a,c;const f=[Zp,Wp],m=[];function h(b,v){return b[3]&&b[5]&&!b[10]?0:1}return t=h(i),n=m[t]=f[t](i),{c(){e=T("div"),n.c(),u(e,"class",o="btn-container "+i[2]+" v-p9r045"),u(e,"aria-hidden",r=i[6]||null),wo(()=>i[20].call(e))},m(b,v){E(b,e,v),m[t].m(e,null),i[19](e),l=lr(e,i[20].bind(e)),s=!0,a||(c=[_e(e,"pointerdown",lt(oi(i[17]))),_e(e,"click",lt(oi(i[18])))],a=!0)},p(b,[v]){let y=t;t=h(b),t===y?m[t].p(b,v):(he(),g(m[y],1,1,()=>{m[y]=null}),ve(),n=m[t],n?n.p(b,v):(n=m[t]=f[t](b),n.c()),d(n,1),n.m(e,null)),(!s||v&4&&o!==(o="btn-container "+b[2]+" v-p9r045"))&&u(e,"class",o),(!s||v&64&&r!==(r=b[6]||null))&&u(e,"aria-hidden",r)},i(b){s||(d(n),s=!0)},o(b){g(n),s=!1},d(b){b&&P(e),m[t].d(),i[19](null),l(),a=!1,ot(c)}}}function Yp(i,e,t){let n,o,{$$slots:r={},$$scope:l}=e,{className:s=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:m=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:b=""}=e,{disabledTooltipContent:v=G("tooltip_button_disabled")}=e,{isAriaHidden:y=!1}=e,{initialTranslateXPx:_=0}=e,{initialTranslateYPx:S=-18}=e;const k=Pt(),w=k.ui.isMobile;z(i,w,O=>t(10,o=O));const R=k.state.graphIsOpened$;z(i,R,O=>t(15,n=O));let X;function V(O){_o.call(this,i,O)}function K(O){_o.call(this,i,O)}function se(O){Se[O?"unshift":"push"](()=>{f=O,t(0,f)})}function ne(){m=this.clientWidth,t(1,m)}return i.$$set=O=>{"className"in O&&t(2,s=O.className),"disabled"in O&&t(13,a=O.disabled),"hasTooltip"in O&&t(3,c=O.hasTooltip),"ref"in O&&t(0,f=O.ref),"width"in O&&t(1,m=O.width),"isFullWidthTooltip"in O&&t(4,h=O.isFullWidthTooltip),"tooltipContent"in O&&t(5,b=O.tooltipContent),"disabledTooltipContent"in O&&t(14,v=O.disabledTooltipContent),"isAriaHidden"in O&&t(6,y=O.isAriaHidden),"initialTranslateXPx"in O&&t(7,_=O.initialTranslateXPx),"initialTranslateYPx"in O&&t(8,S=O.initialTranslateYPx),"$$scope"in O&&t(21,l=O.$$scope)},i.$$.update=()=>{i.$$.dirty&57376&&(a?t(9,X=n?G("tooltip_disabled_when_graph_on"):v):t(9,X=b))},[f,m,s,c,h,b,y,_,S,X,o,w,R,a,v,n,r,V,K,se,ne,l]}class Ut extends ke{constructor(e){super(),ye(this,e,Yp,Kp,we,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},jp)}}function Qp(i){let e,t,n,o,r;return{c(){e=B("svg"),t=B("rect"),o=B("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",r=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(l,s){E(l,e,s),p(e,t),p(e,o)},p(l,[s]){s&1&&n!==(n=l[0]?1:.24)&&u(t,"fill-opacity",n),s&1&&r!==(r=l[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",r)},i:W,o:W,d(l){l&&P(e)}}}function Xp(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class Jp extends ke{constructor(e){super(),ye(this,e,Xp,Qp,we,{completed:0})}}function xp(i){qe(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 $p(i){let e,t,n,o,r;return t=new Jp({props:{completed:!!i[0].completed}}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),wo(()=>i[3].call(e)),M(e,"disabled",i[1])},m(l,s){E(l,e,s),F(t,e,null),o=lr(e,i[3].bind(e)),r=!0},p(l,s){const a={};s&1&&(a.completed=!!l[0].completed),t.$set(a),(!r||s&1&&n!==(n=`left: ${l[0].from+l[0].width/2}%`))&&u(e,"style",n),(!r||s&2)&&M(e,"disabled",l[1])},i(l){r||(d(t.$$.fragment,l),r=!0)},o(l){g(t.$$.fragment,l),r=!1},d(l){l&&P(e),H(t),o()}}}function eh(i){let e,t;return e=new Ut({props:{tooltipContent:G(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:[$p]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.tooltipContent=G(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(r.disabled=n[1]),o&4&&(r.width=n[2]||0),o&23&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function th(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,r;function l(){r=this.clientWidth,t(2,r)}return i.$$set=s=>{"videoEpisode"in s&&t(0,n=s.videoEpisode),"disabled"in s&&t(1,o=s.disabled)},[n,o,r,l]}class ih extends ke{constructor(e){super(),ye(this,e,th,eh,we,{videoEpisode:0,disabled:1},xp)}}function nh(i){qe(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 fa(i,e,t){const n=i.slice();return n[2]=e[t],n}function da(i){let e,t,n,o,r,l,s,a,c;return{c(){e=T("div"),t=T("div"),n=T("div"),r=N(),l=T("div"),a=N(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${i[2].loadedWidth/i[2].width*100}%)`),u(l,"class","video-episode-filled v-1h9p3m2"),u(l,"style",s=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),M(l,"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}%`),M(e,"mobile",i[1])},m(f,m){E(f,e,m),p(e,t),p(t,n),p(t,r),p(t,l),p(e,a)},p(f,m){m&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),m&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(l,"style",s),m&2&&M(l,"mobile",f[1]),m&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),m&2&&M(e,"mobile",f[1])},d(f){f&&P(e)}}}function oh(i){let e,t=xt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=da(fa(i,t,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,r){E(o,e,r);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,[r]){if(r&3){t=xt(o[0]);let l;for(l=0;l<t.length;l+=1){const s=fa(o,t,l);n[l]?n[l].p(s,r):(n[l]=da(s),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},i:W,o:W,d(o){o&&P(e),yn(n,o)}}}function lh(i,e,t){let{videoEpisodes:n=[]}=e,{isMobile:o}=e;return i.$$set=r=>{"videoEpisodes"in r&&t(0,n=r.videoEpisodes),"isMobile"in r&&t(1,o=r.isMobile)},[n,o]}class rh extends ke{constructor(e){super(),ye(this,e,lh,oh,we,{videoEpisodes:0,isMobile:1},nh)}}function sh(i){qe(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 ma(i,e,t){const n=i.slice();return n[48]=e[t],n}function pa(i){let e,t,n=xt(i[21]),o=[];for(let l=0;l<n.length;l+=1)o[l]=va(ma(i,n,l));const r=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"),M(e,"mobile",i[5]),M(e,"hidden",i[5]&&!i[20])},m(l,s){E(l,e,s);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);t=!0},p(l,s){if(s[0]&2097664){n=xt(l[21]);let a;for(a=0;a<n.length;a+=1){const c=ma(l,n,a);o[a]?(o[a].p(c,s),d(o[a],1)):(o[a]=va(c),o[a].c(),d(o[a],1),o[a].m(e,null))}for(he(),a=n.length;a<o.length;a+=1)r(a);ve()}(!t||s[0]&32)&&M(e,"mobile",l[5]),(!t||s[0]&1048608)&&M(e,"hidden",l[5]&&!l[20])},i(l){if(!t){for(let s=0;s<n.length;s+=1)d(o[s]);t=!0}},o(l){o=o.filter(Boolean);for(let s=0;s<o.length;s+=1)g(o[s]);t=!1},d(l){l&&P(e),yn(o,l)}}}function ha(i){let e,t;return e=new ih({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.videoEpisode=n[48]),o[0]&512&&(r.disabled=n[9]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function va(i){let e,t,n=i[48].interactive&&ha(i);return{c(){n&&n.c(),e=bt()},m(o,r){n&&n.m(o,r),E(o,e,r),t=!0},p(o,r){o[48].interactive?n?(n.p(o,r),r[0]&2097152&&d(n,1)):(n=ha(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(he(),g(n,1,1,()=>{n=null}),ve())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function ah(i){let e,t,n,o,r,l;return{c(){e=T("div"),t=T("div"),o=N(),r=T("div"),u(t,"class","loaded v-1golz1y"),u(t,"style",n=`transform: translateX(${i[11]*100}%);`),u(r,"class","filled v-1golz1y"),u(r,"style",l=`transform: translateX(${i[12]*100}%);`),M(r,"active-live",i[4]),M(r,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(s,a){E(s,e,a),p(e,t),p(e,o),p(e,r)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&l!==(l=`transform: translateX(${s[12]*100}%);`)&&u(r,"style",l),a[0]&16&&M(r,"active-live",s[4]),a[0]&64&&M(r,"ads",s[6])},i:W,o:W,d(s){s&&P(e)}}}function uh(i){let e,t;return e=new rh({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.videoEpisodes=n[21]),o[0]&32&&(r.isMobile=n[5]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ch(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v=i[8]&&pa(i);const y=[uh,ah],_=[];function S(k,w){return k[21].length?0:1}return n=S(i),o=_[n]=y[n](i),{c(){var k;v&&v.c(),e=N(),t=T("div"),o.c(),r=N(),l=T("div"),s=T("div"),u(s,"class","handle v-1golz1y"),M(s,"active-live",i[4]),u(l,"class","handleWrap v-1golz1y"),u(l,"style",a=`transform: translateX(${i[13]*100}%);`),M(l,"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=(k=i[1])!=null?k:null),M(t,"disabled",i[9]),M(t,"slider-dragging",i[20]),M(t,"hidden",i[2]),M(t,"slider-vertical",i[3]),M(t,"no-handle",i[10]),M(t,"square",i[7])},m(k,w){v&&v.m(k,w),E(k,e,w),E(k,t,w),_[n].m(t,null),p(t,r),p(t,l),p(l,s),i[42](t),m=!0,h||(b=[_e(t,"pointerdown",oi(i[22])),_e(t,"pointermove",oi(i[23])),_e(t,"pointerup",oi(i[24])),_e(t,"pointerenter",oi(i[25])),_e(t,"pointerleave",oi(i[26])),_e(t,"click",lt(ie.noop)),_e(t,"wheel",i[27])],h=!0)},p(k,w){var X;k[8]?v?(v.p(k,w),w[0]&256&&d(v,1)):(v=pa(k),v.c(),d(v,1),v.m(e.parentNode,e)):v&&(he(),g(v,1,1,()=>{v=null}),ve());let R=n;n=S(k),n===R?_[n].p(k,w):(he(),g(_[R],1,1,()=>{_[R]=null}),ve(),o=_[n],o?o.p(k,w):(o=_[n]=y[n](k),o.c()),d(o,1),o.m(t,r)),(!m||w[0]&16)&&M(s,"active-live",k[4]),(!m||w[0]&8192&&a!==(a=`transform: translateX(${k[13]*100}%);`))&&u(l,"style",a),(!m||w[0]&1024)&&M(l,"hidden",k[10]),(!m||w[0]&1&&c!==(c="slider "+k[0]+" v-1golz1y"))&&u(t,"class",c),(!m||w[0]&16384)&&u(t,"aria-label",k[14]),(!m||w[0]&32768)&&u(t,"aria-valuemin",k[15]),(!m||w[0]&65536)&&u(t,"aria-valuemax",k[16]),(!m||w[0]&131072)&&u(t,"aria-valuenow",k[17]),(!m||w[0]&262144)&&u(t,"aria-valuetext",k[18]),(!m||w[0]&2&&f!==(f=(X=k[1])!=null?X:null))&&u(t,"data-testid",f),(!m||w[0]&513)&&M(t,"disabled",k[9]),(!m||w[0]&1048577)&&M(t,"slider-dragging",k[20]),(!m||w[0]&5)&&M(t,"hidden",k[2]),(!m||w[0]&9)&&M(t,"slider-vertical",k[3]),(!m||w[0]&1025)&&M(t,"no-handle",k[10]),(!m||w[0]&129)&&M(t,"square",k[7])},i(k){m||(d(v),d(o),m=!0)},o(k){g(v),g(o),m=!1},d(k){k&&(P(e),P(t)),v&&v.d(k),_[n].d(),i[42](null),h=!1,ot(b)}}}function fh(i,e,t){let n,o,{className:r=""}=e,{testId:l=void 0}=e,{isHidden:s=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:m=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:b=[]}=e,{withWheelHandler:v=!1}=e,{isInteractive:y=!1}=e,{disabled:_=!1}=e,{hideHandel:S=!1}=e,k,w,{onPointerDown:R=ie.noop}=e,{onHandleMove:X=ie.noop}=e,{onPointerUp:V=ie.noop}=e,{onPointerEnter:K=ie.noop}=e,{onPointerMove:se=ie.noop}=e,{onPointerLeave:ne=ie.noop}=e,{onWheelUp:O=ie.noop}=e,{onWheelDown:$=ie.noop}=e,{onWheelLeft:C=ie.noop}=e,{onWheelRight:D=ie.noop}=e,{loadedProgress:re=0}=e,{filledProgress:L=0}=e,{handleProgress:ae=0}=e,{ariaLabel:pe=""}=e,{ariaValueMin:ge=void 0}=e,{ariaValueMax:ce=void 0}=e,{ariaValueNow:Y=void 0}=e,{ariaValueText:fe=""}=e;const ze=pn();let de=!1,Le;function Pe(U){if(de)return;t(20,de=!0),w=k.getBoundingClientRect();const Ne=Ce(U.clientX,U.clientY);R(Ne),k.setPointerCapture(U.pointerId)}function ue(U){const Ne=Ce(U.clientX,U.clientY),et=Te(U.clientX);se(Ne,et,w.width),de&&X(Ne)}function Ee(U){if(!de)return;t(20,de=!1);const Ne=Ce(U.clientX,U.clientY);V(Ne)}function A(U){w=k.getBoundingClientRect();const Ne=Ce(U.clientX,U.clientY),et=Te(U.clientX);K(Ne,et,w.width)}function oe(){ne()}function Me(U){v&&(U.preventDefault(),U.deltaY<0?O():U.deltaY>0?$():U.deltaX>0?D():C())}function Ce(U,Ne){return a?Math.max(0,Math.min(1,(w.height-(Ne-w.top))/w.height)):Math.min(Math.max(U-w.x,0),w.width)/w.width}function Te(U){return Math.min(Math.max(U-w.x,0),w.width)}function le(U,Ne){const et=ze.features.episodesClustering&&!y?ze.episodeMinWidthPc:0,rt=[];let Ze=0,Ve=0,Je=0;for(let Ie=1;Ie<b.length;Ie++)Ve=b[Ie].time/Le*100,Ve-Ze>et&&(rt.push({from:Ze,width:Math.max(0,Ve-Ze),loadedWidth:Math.max(0,Math.min(Ve,U)-Ze),filledWidth:Math.max(0,Math.min(Ve,Ne)-Ze),interactive:b[Ie-1].interactive,completed:b[Ie-1].completed}),Ze=b[Ie].time/Le*100,Je++);const pt={from:Ze,width:Math.max(0,100-Ze),loadedWidth:Math.max(0,Math.min(U,100)-Ze),filledWidth:Math.max(0,Math.min(Ne,100)-Ze),interactive:b[Je].interactive,completed:b[Je].completed};100-Ze<et?(Je-=1,rt[Je].width+=100-Ze,rt[Je].loadedWidth+=Math.max(0,Math.min(U,100)-Ze),rt[Je].filledWidth+=Math.max(0,Math.min(Ne,100)-Ze)):rt[Je]=pt;const at=b[0].time;if(at!==0){const Ie=at/Le*100;rt.unshift({from:0,width:Ie,loadedWidth:Math.min(Ie,U),filledWidth:Math.min(Ie,Ne)})}return rt}function Q(U){Se[U?"unshift":"push"](()=>{k=U,t(19,k)})}return i.$$set=U=>{"className"in U&&t(0,r=U.className),"testId"in U&&t(1,l=U.testId),"isHidden"in U&&t(2,s=U.isHidden),"isVertical"in U&&t(3,a=U.isVertical),"isActiveLive"in U&&t(4,c=U.isActiveLive),"isMobile"in U&&t(5,f=U.isMobile),"isAds"in U&&t(6,m=U.isAds),"squareBorders"in U&&t(7,h=U.squareBorders),"videoEpisodes"in U&&t(28,b=U.videoEpisodes),"withWheelHandler"in U&&t(29,v=U.withWheelHandler),"isInteractive"in U&&t(8,y=U.isInteractive),"disabled"in U&&t(9,_=U.disabled),"hideHandel"in U&&t(10,S=U.hideHandel),"onPointerDown"in U&&t(30,R=U.onPointerDown),"onHandleMove"in U&&t(31,X=U.onHandleMove),"onPointerUp"in U&&t(32,V=U.onPointerUp),"onPointerEnter"in U&&t(33,K=U.onPointerEnter),"onPointerMove"in U&&t(34,se=U.onPointerMove),"onPointerLeave"in U&&t(35,ne=U.onPointerLeave),"onWheelUp"in U&&t(36,O=U.onWheelUp),"onWheelDown"in U&&t(37,$=U.onWheelDown),"onWheelLeft"in U&&t(38,C=U.onWheelLeft),"onWheelRight"in U&&t(39,D=U.onWheelRight),"loadedProgress"in U&&t(11,re=U.loadedProgress),"filledProgress"in U&&t(12,L=U.filledProgress),"handleProgress"in U&&t(13,ae=U.handleProgress),"ariaLabel"in U&&t(14,pe=U.ariaLabel),"ariaValueMin"in U&&t(15,ge=U.ariaValueMin),"ariaValueMax"in U&&t(16,ce=U.ariaValueMax),"ariaValueNow"in U&&t(17,Y=U.ariaValueNow),"ariaValueText"in U&&t(18,fe=U.ariaValueText)},i.$$.update=()=>{var U;i.$$.dirty[0]&65536&&t(40,Le=ce!=null?ce:0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=((U=b[b.length-1])==null?void 0:U.time)<Le),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=b.length&&n&&Le?le(re*100,L*100):[])},[r,l,s,a,c,f,m,h,y,_,S,re,L,ae,pe,ge,ce,Y,fe,k,de,o,Pe,ue,Ee,A,oe,Me,b,v,R,X,V,K,se,ne,O,$,C,D,Le,n,Q]}class yr extends ke{constructor(e){super(),ye(this,e,fh,ch,we,{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},sh,[-1,-1])}}const bn=(i,e)=>ko[i]>=ko[e],dh=(i,e)=>ko[i]<ko[e],Rc=(i,e)=>ko[i]<=ko[e],mh=i=>i>ho.L?exports.GridTypes.XL:i>ho.M?exports.GridTypes.L:i>ho.S?exports.GridTypes.M:i>ho.XS?exports.GridTypes.S:exports.GridTypes.XS;function ph(i){qe(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 hh(i){let e,t;return e=new _l({props:{volume:i[4],muted:i[2]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&16&&(r.volume=n[4]),o[0]&4&&(r.muted=n[2]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function vh(i){let e,t;return e=new ki({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],ariaKeyShortCut:No[Ae.KeyM],$$slots:{default:[hh]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&1&&(r.disabled=!n[0]),o[0]&8&&(r.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(r.ariaLabel=n[7]),o[0]&2&&(r.click=n[1]),o[0]&20|o[1]&1&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ga(i){let e,t,n;return t=new yr({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]:ie.noop,onPointerLeave:i[3]?i[18]:ie.noop,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=T("div"),q(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),M(e,"volumeBar-vertical",i[3])},m(o,r){E(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r[0]&8&&(l.className=o[3]?"volumeBar-slider-vertical":""),r[0]&40&&(l.isHidden=o[3]&&!o[5]),r[0]&8&&(l.isVertical=o[3]),r[0]&8&&(l.onPointerEnter=o[3]?o[17]:ie.noop),r[0]&8&&(l.onPointerLeave=o[3]?o[18]:ie.noop),r[0]&256&&(l.ariaValueNow=Math.round(o[8]*100)),r[0]&256&&(l.ariaValueText=`${Math.round(o[8]*100)}%`),r[0]&256&&(l.filledProgress=o[8]),r[0]&256&&(l.handleProgress=o[8]),r[0]&8&&(l.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(l),(!n||r[0]&8)&&M(e,"volumeBar-vertical",o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function gh(i){let e,t,n,o,r,l;t=new Nc({props:{content:i[6],translateY:-18,$$slots:{default:[vh]},$$scope:{ctx:i}}});let s=i[0]&&ga(i);return{c(){e=T("div"),q(t.$$.fragment),n=N(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),M(e,"vertical",i[3])},m(a,c){E(a,e,c),F(t,e,null),p(e,n),s&&s.m(e,null),o=!0,r||(l=[_e(e,"mouseenter",function(){wn(i[3]?i[19]:ie.noop)&&(i[3]?i[19]:ie.noop).apply(this,arguments)}),_e(e,"mouseleave",function(){wn(i[3]?i[20]:ie.noop)&&(i[3]?i[20]:ie.noop).apply(this,arguments)}),_e(e,"wheel",oi(i[21]))],r=!0)},p(a,c){i=a;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]?s?(s.p(i,c),c[0]&1&&d(s,1)):(s=ga(i),s.c(),d(s,1),s.m(e,null)):s&&(he(),g(s,1,1,()=>{s=null}),ve()),(!o||c[0]&8)&&M(e,"vertical",i[3])},i(a){o||(d(t.$$.fragment,a),d(s),o=!0)},o(a){g(t.$$.fragment,a),g(s),o=!1},d(a){a&&P(e),H(t),s&&s.d(),r=!1,ot(l)}}}function bh(i,e,t){let n,o,r,{isAudioAvailable:l=!0}=e,{click:s}=e;const a=Pt(),c=pn(),f=a.state.volume$;z(i,f,ge=>t(4,n=ge));const m=a.state.muted$;z(i,m,ge=>t(23,r=ge));const h=a.actions.internal.setVolume,b=a.ui.currentGridType$;z(i,b,ge=>t(22,o=ge));let v=!1,y,_,S,k,w,R,X=1,V=!1;function K(ge){X=n,h(ge)}function se(){Tc(a,n,c.controls.volumeStepWheel)}function ne(){Ec(a,n,c.controls.volumeStepWheel)}function O(ge){h(ge)}function $(ge){const ce=ge;h(ce,ce===0?X:ce)}function C(){V=!0}function D(){V=!1,ae()}function re(){clearTimeout(y),t(5,v=!0)}function L(){ae()}function ae(){y=window.setTimeout(()=>{V||t(5,v=!1)},c.controls.volumeBarTimeout)}function pe(ge){ge.deltaY<0?se():ge.deltaY>0&&ne()}return i.$$set=ge=>{"isAudioAvailable"in ge&&t(0,l=ge.isAudioAvailable),"click"in ge&&t(1,s=ge.click)},i.$$.update=()=>{i.$$.dirty[0]&8388609&&t(2,k=!l||r),i.$$.dirty[0]&4194304&&t(3,w=Rc(o,exports.GridTypes.S)),i.$$.dirty[0]&12&&(w?t(6,_=""):t(6,_=G(k?"tooltip_volume":"tooltip_volume_muted")),t(7,S=G(k?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,R=k?0:n)},[l,s,k,w,n,v,_,S,R,f,m,b,K,se,ne,O,$,C,D,re,L,pe,o,r]}class _h extends ke{constructor(e){super(),ye(this,e,bh,gh,we,{isAudioAvailable:0,click:1},ph,[-1,-1])}}function wh(i){let e;return{c(){e=B("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){E(t,e,n)},d(t){t&&P(e)}}}function yh(i){let e;return{c(){e=B("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){E(t,e,n)},d(t){t&&P(e)}}}function kh(i){let e,t,n;function o(s,a){return s[0]?yh:wh}let r=o(i),l=r(i);return{c(){e=B("svg"),t=B("g"),l.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(s,a){E(s,e,a),p(e,t),l.m(t,null)},p(s,[a]){r!==(r=o(s))&&(l.d(1),l=r(s),l&&(l.c(),l.m(t,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:W,o:W,d(s){s&&P(e),l.d()}}}function Sh(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class Ch extends ke{constructor(e){super(),ye(this,e,Sh,kh,we,{isFullscreen:0})}}function Ph(i){let e,t;return e=new Ch({props:{isFullscreen:i[0]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&1&&(r.isFullscreen=n[0]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Th(i){let e,t;return e=new ki({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],ariaKeyShortCut:No[Ae.KeyF],$$slots:{default:[Ph]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&4&&(r.ariaLabel=n[2]),o&2&&(r.click=n[1]),o&9&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Eh(i,e,t){let{isFullscreen:n=!1}=e,{click:o=ie.noop}=e,r;return i.$$set=l=>{"isFullscreen"in l&&t(0,n=l.isFullscreen),"click"in l&&t(1,o=l.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=G(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,r]}class Oc extends ke{constructor(e){super(),ye(this,e,Eh,Th,we,{isFullscreen:0,click:1})}}function Ah(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class kr extends ke{constructor(e){super(),ye(this,e,null,Ah,we,{})}}function Lh(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Dc extends ke{constructor(e){super(),ye(this,e,null,Lh,we,{})}}function Ih(i){qe(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 ba(i){let e;return{c(){e=T("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function Vh(i){let e,t,n,o,r=i[1]&&ba();var l=i[8];function s(a){return{}}return l&&(n=Cn(l,s())),{c(){r&&r.c(),e=N(),t=T("div"),n&&q(n.$$.fragment),u(t,"class","v-1ot3duq"),M(t,"mobile",i[1])},m(a,c){r&&r.m(a,c),E(a,e,c),E(a,t,c),n&&F(n,t,null),o=!0},p(a,c){if(a[1]?r||(r=ba(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),c&256&&l!==(l=a[8])){if(n){he();const f=n;g(f.$$.fragment,1,0,()=>{H(f,1)}),ve()}l?(n=Cn(l,s()),q(n.$$.fragment),d(n.$$.fragment,1),F(n,t,null)):n=null}(!o||c&2)&&M(t,"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&&(P(e),P(t)),r&&r.d(a),n&&H(n)}}}function Mh(i){let e,t,n;function o(l){i[13](l)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-play",click:i[5]?i[6]:i[4],disabled:i[2],ariaLabel:i[7],ariaKeyShortCut:No[Ae.KeyK],$$slots:{default:[Vh]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new ki({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),s&112&&(a.click=l[5]?l[6]:l[4]),s&4&&(a.disabled=l[2]),s&128&&(a.ariaLabel=l[7]),s&33026&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Bh(i,e,t){let n,o;const{fakeIsPlaying$:r}=sr();z(i,r,k=>t(12,o=k));let{ref:l=void 0}=e,{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:m=ie.noop}=e;const{toggle:h}=r;let b,v,y,_;function S(k){l=k,t(0,l)}return i.$$set=k=>{"ref"in k&&t(0,l=k.ref),"isMobile"in k&&t(1,s=k.isMobile),"isPlaying"in k&&t(10,a=k.isPlaying),"disabled"in k&&t(2,c=k.disabled),"className"in k&&t(3,f=k.className),"click"in k&&t(4,m=k.click)},i.$$.update=()=>{i.$$.dirty&4096&&t(5,v=o!==null),i.$$.dirty&5152&&t(11,y=v?o:a),i.$$.dirty&2048&&t(7,_=G(y?"tooltip_pause":"tooltip_play")),i.$$.dirty&2048&&t(8,n=y?Dc:kr)},t(6,b=h),[l,s,c,f,m,v,b,_,n,r,a,y,o,S]}class Sr extends ke{constructor(e){super(),ye(this,e,Bh,Mh,we,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},Ih)}}function Nh(i){qe(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 Rh(i){let e,t,n;return{c(){e=B("svg"),t=B("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"),M(e,"prev",i[0]),M(e,"mobile",i[1])},m(o,r){E(o,e,r),p(e,t)},p(o,[r]){r&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),r&1&&M(e,"prev",o[0]),r&2&&M(e,"mobile",o[1])},i:W,o:W,d(o){o&&P(e)}}}function Oh(i,e,t){let{isPrev:n=!1}=e,{isMobile:o=!1}=e;return i.$$set=r=>{"isPrev"in r&&t(0,n=r.isPrev),"isMobile"in r&&t(1,o=r.isMobile)},[n,o]}class Dh extends ke{constructor(e){super(),ye(this,e,Oh,Rh,we,{isPrev:0,isMobile:1},Nh)}}function zh(i){let e,t;return e=new Dh({props:{isMobile:i[1],isPrev:i[3]==="prev"}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isMobile=n[1]),o&8&&(r.isPrev=n[3]==="prev"),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Fh(i){let e,t,n;function o(l){i[6](l)}let r={testId:"btn-"+i[3],disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[zh]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new ki({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&8&&(a.testId="btn-"+l[3]),s&4&&(a.disabled=l[2]),s&32&&(a.ariaLabel=l[5]),s&16&&(a.click=l[4]),s&138&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Hh(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:r=!1}=e,{type:l}=e,{click:s}=e,a;function c(f){n=f,t(0,n)}return i.$$set=f=>{"ref"in f&&t(0,n=f.ref),"isMobile"in f&&t(1,o=f.isMobile),"disabled"in f&&t(2,r=f.disabled),"type"in f&&t(3,l=f.type),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=G(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,r,l,s,a,c]}class wl extends ke{constructor(e){super(),ye(this,e,Hh,Fh,we,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function Uh(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class qh extends ke{constructor(e){super(),ye(this,e,null,Uh,we,{})}}function jh(i){qe(i,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function _a(i){let e,t,n,o,r,l,s;return{c(){e=B("path"),t=B("path"),n=B("path"),o=B("path"),r=B("path"),l=B("path"),s=B("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(r,"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(r,"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(s,"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(s,"fill","white")},m(a,c){E(a,e,c),E(a,t,c),E(a,n,c),E(a,o,c),E(a,r,c),E(a,l,c),E(a,s,c)},d(a){a&&(P(e),P(t),P(n),P(o),P(r),P(l),P(s))}}}function Wh(i){let e,t,n,o=!i[0]&&_a();return{c(){e=B("svg"),t=B("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[2]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(i[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",i[3]),u(e,"class","v-1bbobod"),M(e,"mobile",i[1])},m(r,l){E(r,e,l),p(e,t),o&&o.m(e,null)},p(r,[l]){r[0]?o&&(o.d(1),o=null):o||(o=_a(),o.c(),o.m(e,null)),l&4&&u(e,"width",r[2]),l&4&&n!==(n="0 0 "+(r[2]+1)+" 20")&&u(e,"viewBox",n),l&8&&u(e,"data-testid",r[3]),l&2&&M(e,"mobile",r[1])},i:W,o:W,d(r){r&&P(e),o&&o.d()}}}function Zh(i,e,t){let{short:n=!1}=e,{isMobile:o=!1}=e,r,l;return i.$$set=s=>{"short"in s&&t(0,n=s.short),"isMobile"in s&&t(1,o=s.isMobile)},i.$$.update=()=>{i.$$.dirty&1&&(t(2,r=n?20:93),t(3,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,r,l]}class Gh extends ke{constructor(e){super(),ye(this,e,Zh,Wh,we,{short:0,isMobile:1},jh)}}function Kh(i){let e,t;return e=new qh({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p:W,i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Yh(i){let e,t;return e=new Gh({props:{short:i[4],isMobile:!!i[7]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.short=n[4]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Qh(i){let e,t,n,o;const r=[Yh,Kh],l=[];function s(a,c){return a[2]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Xh(i){let e,t,n;function o(l){i[13](l)}let r={className:"btn-full-opacity",disabled:!i[1],click:i[8],testId:i[2]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:i[3],$$slots:{default:[Qh]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new ki({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.disabled=!l[1]),s&4&&(a.testId=l[2]?"btn-vk-video-logo":"btn-vk-logo"),s&8&&(a.ariaLabel=l[3]),s&524308&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Jh(i,e,t){let n,o,r,{ref:l=void 0}=e,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=pn(),{logoLink:m,addTimeToLogoLink:h}=f,b=Pt(),v=b.state.positionWithScrubbing$;z(i,v,V=>t(14,n=V));const y=b.ui.currentGridType$;z(i,y,V=>t(11,o=V));const _=b.ui.isMobile;z(i,_,V=>t(12,r=V));let S,k,w;const R=()=>{let V;if(k||!a)V=m;else{const K=Math.round(n);if(h&&K){const se=new URL(a);se.searchParams.append("t",ie.timeCodeToString(K)),V=se.toString()}else V=a}c(),window.open(V,"_blank")};function X(V){l=V,t(0,l)}return i.$$set=V=>{"ref"in V&&t(0,l=V.ref),"logoClickable"in V&&t(1,s=V.logoClickable),"videoLogoUrl"in V&&t(9,a=V.videoLogoUrl),"click"in V&&t(10,c=V.click)},i.$$.update=()=>{i.$$.dirty&6148&&t(4,w=(r||Rc(o,exports.GridTypes.L))&&k)},t(3,S=f.logoType===yo.VK_VIDEO?G("tooltip_vk_video_logo"):G("tooltip_vk_logo")),t(2,k=f.logoType===yo.VK_VIDEO),[l,s,k,S,w,v,y,_,R,a,c,o,r,X]}class zc extends ke{constructor(e){super(),ye(this,e,Jh,Xh,we,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function xh(i){qe(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 $h(i){let e,t,n,o,r,l,s,a;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),l=B("path"),s=B("path"),a=B("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(r,"class","wave wave3 v-8z1bf5"),u(r,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(r,"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(s,"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"),M(a,"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"),M(e,"connecting",i[2])},m(c,f){E(c,e,f),p(e,t),p(t,n),p(t,o),p(t,r),p(t,l),p(t,s),p(t,a)},p(c,f){f&2&&M(a,"hidden",!c[1]),f&4&&M(e,"connecting",c[2])},d(c){c&&P(e)}}}function ev(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X;return{c(){e=B("svg"),t=B("g"),n=B("mask"),o=B("path"),l=B("path"),s=B("path"),c=B("path"),f=B("defs"),m=B("clipPath"),h=B("path"),v=B("filter"),y=B("feFlood"),_=B("feColorMatrix"),S=B("feOffset"),k=B("feGaussianBlur"),w=B("feColorMatrix"),R=B("feBlend"),X=B("feBlend"),u(o,"fill",r=i[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(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(s,"fill",a=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(h,"fill",b=i[1]?"#2688EB":"#fff"),u(h,"d","M0 0h24v24H0z"),u(m,"id","a"),u(y,"flood-opacity","0"),u(y,"result","BackgroundImageFix"),u(_,"in","SourceAlpha"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(_,"result","hardAlpha"),u(k,"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(R,"in2","BackgroundImageFix"),u(R,"result","effect1_dropShadow_4085_178456"),u(X,"in","SourceGraphic"),u(X,"in2","effect1_dropShadow_4085_178456"),u(X,"result","shape"),u(v,"id","b"),u(v,"x","-3.4"),u(v,"y","-1.4"),u(v,"width","30.8"),u(v,"height","26.802"),u(v,"filterUnits","userSpaceOnUse"),u(v,"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(V,K){E(V,e,K),p(e,t),p(t,n),p(n,o),p(n,l),p(t,s),p(t,c),p(e,f),p(f,m),p(m,h),p(f,v),p(v,y),p(v,_),p(v,S),p(v,k),p(v,w),p(v,R),p(v,X)},p(V,K){K&2&&r!==(r=V[1]?"#2688EB":"#fff")&&u(o,"fill",r),K&2&&a!==(a=V[1]?"#2688EB":"#fff")&&u(s,"fill",a),K&2&&b!==(b=V[1]?"#2688EB":"#fff")&&u(h,"fill",b)},d(V){V&&P(e)}}}function tv(i){let e;function t(r,l){return r[0]?ev:$h}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(r){r&&P(e),o.d(r)}}}function iv(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,r,l;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"state"in s&&t(3,o=s.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,l=o===xe.ChromecastState.CONNECTING),t(1,r=o===xe.ChromecastState.CONNECTED))},[n,r,l,o]}class nv extends ke{constructor(e){super(),ye(this,e,iv,tv,we,{isMobile:0,state:3},xh)}}function ov(i){let e,t;return e=new nv({props:{isMobile:i[1],state:i[2]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isMobile=n[1]),o&4&&(r.state=n[2]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function lv(i){let e,t,n;function o(l){i[5](l)}let r={ariaLabel:i[4],click:i[3],testId:"btn-chromecast",$$slots:{default:[ov]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new ki({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&16&&(a.ariaLabel=l[4]),s&8&&(a.click=l[3]),s&70&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function rv(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{state:r}=e,{click:l=ie.noop}=e,s;function a(c){n=c,t(0,n)}return i.$$set=c=>{"ref"in c&&t(0,n=c.ref),"isMobile"in c&&t(1,o=c.isMobile),"state"in c&&t(2,r=c.state),"click"in c&&t(3,l=c.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,s=r===xe.ChromecastState.CONNECTED?G("tooltip_chromecast_on"):G("tooltip_chromecast_off"))},[n,o,r,l,s,a]}class Fc extends ke{constructor(e){super(),ye(this,e,rv,lv,we,{ref:0,isMobile:1,state:2,click:3})}}function sv(i){let e,t;return e=new gc({props:{isActive:i[1]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isActive=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function av(i){let e,t;return e=new ki({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1]&&i[3]===xe.PlaybackState.PLAYING,ariaLabel:i[2],click:i[4],$$slots:{default:[sv]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(r.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(r.disabled=n[1]&&n[3]===xe.PlaybackState.PLAYING),o&4&&(r.ariaLabel=n[2]),o&16&&(r.click=n[4]),o&514&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function uv(i,e,t){let n,{isMobile:o=!1}=e,{isActiveLive:r=!1}=e,{ariaLabel:l=""}=e;const s=Pt(),a=s.state.playbackState$;z(i,a,h=>t(3,n=h));const c=s.actions.internal.switchToActiveLive,f=s.actions.internal.togglePlay;let m;return i.$$set=h=>{"isMobile"in h&&t(0,o=h.isMobile),"isActiveLive"in h&&t(1,r=h.isActiveLive),"ariaLabel"in h&&t(2,l=h.ariaLabel)},i.$$.update=()=>{i.$$.dirty&10&&t(4,m=()=>{if(!r){c();return}n===xe.PlaybackState.PAUSED&&f()})},[o,r,l,n,m,a]}class Hc extends ke{constructor(e){super(),ye(this,e,uv,av,we,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function cv(i){qe(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 fv(i){let e,t,n,o;const r=i[9].default,l=Ln(r,i,i[8],null);return{c(){e=T("div"),t=T("div"),l&&l.c(),u(t,"class","tooltip v-5ygsa2"),M(t,"active",i[0]),M(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(s,a){E(s,e,a),p(e,t),l&&l.m(t,null),i[10](t),i[11](e),o=!0},p(s,[a]){l&&l.p&&(!o||a&256)&&Vn(l,r,s,s[8],o?In(r,s[8],a,null):Mn(s[8]),null),(!o||a&1)&&M(t,"active",s[0]),(!o||a&2)&&M(t,"pointer",s[1]),(!o||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){o||(d(l,s),o=!0)},o(s){g(l,s),o=!1},d(s){s&&P(e),l&&l.d(s),i[10](null),i[11](null)}}}function dv(i,e,t){let n,{$$slots:o={},$$scope:r}=e,{active:l=!1}=e,{pointer:s=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,m,h;function b(_){if(!h)return 0;const{width:S}=h.getBoundingClientRect(),k=S/2;return _<k?k:_>f-k?f-k:_}function v(_){Se[_?"unshift":"push"](()=>{h=_,t(4,h)})}function y(_){Se[_?"unshift":"push"](()=>{m=_,t(3,m)})}return i.$$set=_=>{"active"in _&&t(0,l=_.active),"pointer"in _&&t(1,s=_.pointer),"translateXPx"in _&&t(6,a=_.translateXPx),"translateYPx"in _&&t(2,c=_.translateYPx),"containerWidth"in _&&t(7,f=_.containerWidth),"$$scope"in _&&t(8,r=_.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=b(a))},[l,s,c,m,h,n,a,f,r,o,v,y]}class mv extends ke{constructor(e){super(),ye(this,e,dv,fv,we,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},cv)}}const Uc=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function pv(i){qe(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 wa(i){let e;function t(r,l){return r[2]&&r[10].completed===!1?vv:hv}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,l){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},d(r){r&&P(e),o.d(r)}}}function hv(i){let e=(i[10].text||"")+"",t;return{c(){t=Fe(e)},m(n,o){E(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&$e(t,e)},d(n){n&&P(t)}}}function vv(i){let e=G("tooltip_episode_unfinished")+"",t;return{c(){t=Fe(e)},m(n,o){E(n,t,o)},p:W,d(n){n&&P(t)}}}function gv(i){let e,t,n,o,r,l,s,a,c=i[10]&&wa(i);return{c(){e=T("div"),t=T("div"),o=N(),r=T("div"),c&&c.c(),l=N(),s=T("div"),a=Fe(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(r,"class","episode v-l51fc1"),u(s,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),M(e,"mobile",i[1])},m(f,m){E(f,e,m),p(e,t),p(e,o),p(e,r),c&&c.m(r,null),p(e,l),p(e,s),p(s,a)},p(f,[m]){m&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,m):(c=wa(f),c.c(),c.m(r,null)):c&&(c.d(1),c=null),m&1&&$e(a,f[0]),m&2&&M(e,"mobile",f[1])},i:W,o:W,d(f){f&&P(e),c&&c.d()}}}const mo=150;function bv(i,e,t){let n,{time:o=""}=e,{isMobile:r=!1}=e,{videoEpisodes:l=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=Pt().ui.rotateAlpha;z(i,h,K=>t(11,n=K));let b,v,y,_,S,k,w,R;function X(){let K=s.frameWidth,se=s.frameHeight;return K>mo?(se=se/K*mo,K=mo):se>mo&&(K=K/se*mo,se=mo),{width:K,height:se}}function V(K){let se;s.isUV?se=Math.floor(c*K/s.frequency):se=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*K)));const ne=Math.floor(se/s.countPerImage),O=Math.floor(se%s.countPerImage/s.countPerRow),$=se%s.countPerRow;let C=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&ne===Math.floor(s.countTotal/s.countPerImage)&&(C=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&C++);let D=s.countPerRow;!s.isUV&&ne===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(D=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const re=b*D,L=v*C,ae=-$*b,pe=-O*v;return{imgSrc:s.links[ne],imgWidth:re,imgHeight:L,imgOffsetX:ae,imgOffsetY:pe}}return i.$$set=K=>{"time"in K&&t(0,o=K.time),"isMobile"in K&&t(1,r=K.isMobile),"videoEpisodes"in K&&t(13,l=K.videoEpisodes),"previewThumbsData"in K&&t(14,s=K.previewThumbsData),"progress"in K&&t(15,a=K.progress),"duration"in K&&t(16,c=K.duration),"isInteractive"in K&&t(2,f=K.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:y,imgWidth:_,imgHeight:S,imgOffsetX:k,imgOffsetY:w}=V(a),y,(t(6,_),t(15,a)),(t(7,S),t(15,a)),(t(8,k),t(15,a)),(t(9,w),t(15,a))),i.$$.dirty&106496&&t(10,R=Uc(a,c,l))},t(3,{width:b,height:v}=X(),b,t(4,v)),[o,r,f,b,v,y,_,S,k,w,R,n,h,l,s,a,c]}class _v extends ke{constructor(e){super(),ye(this,e,bv,gv,we,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},pv)}}function wv(i){qe(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 yv(i){let e,t;return{c(){e=T("span"),t=Fe(i[7]),u(e,"class","time v-5lzly8")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o[0]&128&&$e(t,n[7])},i:W,o:W,d(n){n&&P(e)}}}function kv(i){let e,t;return e=new _v({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&128&&(r.time=n[7]),o[0]&1024&&(r.isMobile=n[10]),o[0]&8&&(r.videoEpisodes=n[3]),o[0]&256&&(r.progress=n[8]),o[0]&2&&(r.duration=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Sv(i){let e,t,n,o;const r=[kv,yv],l=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Cv(i){let e,t,n,o;const r=[i[9]];let l={$$slots:{default:[Sv]},$$scope:{ctx:i}};for(let s=0;s<r.length;s+=1)l=a1(l,r[s]);return e=new mv({props:l}),n=new yr({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:G("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:G("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(){q(e.$$.fragment),t=N(),q(n.$$.fragment)},m(s,a){F(e,s,a),E(s,t,a),F(n,s,a),o=!0},p(s,a){const c=a[0]&512?t0(r,[i0(s[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:s}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=s[11]),a[0]&1024&&(f.isMobile=s[10]),a[0]&2&&(f.ariaValueMax=s[1]),a[0]&64&&(f.ariaValueNow=Math.round(s[6]*100)),a[0]&48&&(f.ariaValueText=G("aria_timeline_value",{position:s[5],duration:s[4]})),a[0]&4096&&(f.loadedProgress=s[12]),a[0]&64&&(f.filledProgress=s[6]),a[0]&64&&(f.handleProgress=s[6]),a[0]&8&&(f.videoEpisodes=s[3]),a[0]&8192&&(f.disabled=s[13].has(ct.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){o||(d(e.$$.fragment,s),d(n.$$.fragment,s),o=!0)},o(s){g(e.$$.fragment,s),g(n.$$.fragment,s),o=!1},d(s){s&&P(t),H(e,s),H(n,s)}}}function Pv(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,{showTimeline:v=!1}=e;const y=Pt(),_=pn(),S=y.state.bufferedProgress$;z(i,S,Q=>t(12,h=Q));const k=y.state.positionWithScrubbing$;z(i,k,Q=>t(39,a=Q));const w=y.state.duration$;z(i,w,Q=>t(1,r=Q));const R=y.state.isLive$;z(i,R,Q=>t(0,o=Q));const X=y.state.isActiveLive$;z(i,X,Q=>t(11,m=Q));const V=y.ui.isMobile;z(i,V,Q=>t(10,f=Q));const K=_.features.episodes?y.actions.internal.getVideoEpisodes():void 0,se=y.actions.internal.getPreviewThumbsData(),ne=y.state.interactiveEpisodes$;z(i,ne,Q=>t(40,c=Q));const O=y.state.isInteractive,$=y.state.isInteractiveTime$;z(i,$,Q=>t(2,l=Q));const C=y.state.isInteractiveExpectation$;z(i,C,Q=>t(38,s=Q));const D=y.actions.internal.correctSeekTimeToInteractive,re=y.ui.controls.disabledControls$;z(i,re,Q=>t(13,b=Q));let L,ae,pe,ge,ce=!1,Y="",fe=0,ze=0,de=0,Le;function Pe(Q){return!D||!O?Q:D(Q*r)/r}function ue(Q){y.actions.internal.startScrubbing(Pe(Q))}function Ee(Q){l||y.actions.internal.progressScrubbing(Pe(Q))}function A(Q){y.actions.internal.completeScrubbing(Pe(Q)),t(34,ce=!1)}function oe(Q,U,Ne){Te(Q,U,Ne),t(34,ce=!0)}function Me(Q,U,Ne){Te(Q,U,Ne),t(34,ce=!0)}function Ce(){t(34,ce=!1)}function Te(Q,U,Ne){t(8,de=Q),t(35,fe=U),Ne&&t(36,ze=Ne),t(7,Y=le(Q))}function le(Q){const U=An((o?1-Q:Q)*r);return o?`-${U}`:U}return i.$$set=Q=>{"showTimeline"in Q&&t(33,v=Q.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,L=O?c:K),i.$$.dirty[0]&2&&t(4,ae=An(r)),i.$$.dirty[1]&256&&t(5,pe=An(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,ge=a/r),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,Le=s||l),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:ze,translateXPx:fe,translateYPx:O&&se?-36:-16,active:ce&&v&&!Le,pointer:!_.features.timelinePreview||!se||o})},[o,r,l,L,ae,pe,ge,Y,de,n,f,m,h,b,_,S,k,w,R,X,V,se,ne,O,$,C,re,ue,Ee,A,oe,Me,Ce,v,ce,fe,ze,Le,s,a,c]}let Tv=class extends ke{constructor(e){super(),ye(this,e,Pv,Cv,we,{showTimeline:33},wv,[-1,-1])}};function Ev(i){let e,t;return e=new yr({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:G("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.ariaValueMax=n[0]),o&8&&(r.ariaValueNow=Math.round(n[3]*100)),o&6&&(r.ariaValueText=G("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(r.filledProgress=n[3]),o&16&&(r.squareBorders=n[4]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Av(i,e,t){let n,{position:o=0}=e,{duration:r=0}=e;const s=Pt().ui.isMobile;z(i,s,m=>t(4,n=m));let a,c,f;return i.$$set=m=>{"position"in m&&t(6,o=m.position),"duration"in m&&t(0,r=m.duration)},i.$$.update=()=>{i.$$.dirty&1&&t(1,a=An(r)),i.$$.dirty&64&&t(2,c=An(o)),i.$$.dirty&65&&t(3,f=o/r)},[r,a,c,f,n,s,o]}class qc extends ke{constructor(e){super(),ye(this,e,Av,Ev,we,{position:6,duration:0})}}function Lv(i){qe(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 Iv(i){let e;return{c(){e=T("div"),u(e,"class","timeline-stub v-1gqonyf"),M(e,"mobile",i[2])},m(t,n){E(t,e,n)},p(t,n){n&4&&M(e,"mobile",t[2])},i:W,o:W,d(t){t&&P(e)}}}function Vv(i){let e,t,n,o;const r=[Bv,Mv],l=[];function s(a,c){return a[0]?0:1}return t=s(i),n=l[t]=r[t](i),{c(){e=T("div"),n.c(),u(e,"class","timeline v-1gqonyf"),M(e,"mobile",i[2])},m(a,c){E(a,e,c),l[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?l[t].p(a,c):(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),n=l[t],n?n.p(a,c):(n=l[t]=r[t](a),n.c()),d(n,1),n.m(e,null)),(!o||c&4)&&M(e,"mobile",a[2])},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&P(e),l[t].d()}}}function Mv(i){let e,t;return e=new Tv({props:{showTimeline:i[1]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.showTimeline=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Bv(i){let e,t;return e=new qc({props:{position:i[3],duration:i[4]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&8&&(r.position=n[3]),o&16&&(r.duration=n[4]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Nv(i){let e,t,n,o;const r=[Vv,Iv],l=[];function s(a,c){return a[1]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Rv(i,e,t){let n,o,r,l,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const m=Pt(),h=m.state.isLive$;z(i,h,S=>t(12,n=S));const b=m.ads.duration;z(i,b,S=>t(4,l=S));const v=m.ads.position;z(i,v,S=>t(3,r=S));const y=m.ui.isMobile;z(i,y,S=>t(2,o=S));let _;return i.$$set=S=>{"isAds"in S&&t(0,s=S.isAds),"canRewindLive"in S&&t(9,a=S.canRewindLive),"isRewindableLive"in S&&t(10,c=S.isRewindableLive),"isHidden"in S&&t(11,f=S.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,_=!f&&(!n||n&&a&&c||s))},[s,_,o,r,l,h,b,v,y,a,c,f,n]}class jc extends ke{constructor(e){super(),ye(this,e,Rv,Nv,we,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},Lv)}}function Ov(i){let e,t,n,o;return{c(){e=B("svg"),t=B("path"),n=B("path"),o=B("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"),Nt(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(r,l){E(r,e,l),p(e,t),p(e,n),p(e,o)},p:W,i:W,o:W,d(r){r&&P(e)}}}class Dv extends ke{constructor(e){super(),ye(this,e,null,Ov,we,{})}}function zv(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Fv extends ke{constructor(e){super(),ye(this,e,null,zv,we,{})}}function Hv(i){qe(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 Uv(i){let e,t,n,o;e=new Dv({});function r(a,c){if(a[4]===Wn.FULL)return Wv;if(a[4]===Wn.COUNT)return jv}let l=r(i),s=l&&l(i);return{c(){q(e.$$.fragment),t=N(),s&&s.c(),n=bt()},m(a,c){F(e,a,c),E(a,t,c),s&&s.m(a,c),E(a,n,c),o=!0},p(a,c){l===(l=r(a))&&s?s.p(a,c):(s&&s.d(1),s=l&&l(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){o||(d(e.$$.fragment,a),o=!0)},o(a){g(e.$$.fragment,a),o=!1},d(a){a&&(P(t),P(n)),H(e,a),s&&s.d(a)}}}function qv(i){let e,t,n,o,r,l;return r=new Fv({}),{c(){e=T("span"),t=Fe(i[2]),n=N(),o=T("div"),q(r.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(s,a){E(s,e,a),p(e,t),E(s,n,a),E(s,o,a),F(r,o,null),l=!0},p(s,a){(!l||a&4)&&$e(t,s[2])},i(s){l||(d(r.$$.fragment,s),l=!0)},o(s){g(r.$$.fragment,s),l=!1},d(s){s&&(P(e),P(n),P(o)),H(r)}}}function jv(i){let e,t=i[0].length+"",n;return{c(){e=T("span"),n=Fe(t),u(e,"class","text count v-1yhs2ga")},m(o,r){E(o,e,r),p(e,n)},p(o,r){r&1&&t!==(t=o[0].length+"")&&$e(n,t)},d(o){o&&P(e)}}}function Wv(i){let e,t;return{c(){e=T("span"),t=Fe(i[2]),u(e,"class","text v-1yhs2ga")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o&4&&$e(t,n[2])},d(n){n&&P(e)}}}function Zv(i){let e,t,n,o;const r=[qv,Uv],l=[];function s(a,c){return a[6]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Gv(i){let e,t,n;function o(l){i[19](l)}let r={className:"w-max btn-full-opacity "+(i[6]?"px-0":""),testId:"btn-episodes",click:i[12],disabled:!i[7],ariaExpanded:i[3],ariaLabel:i[5],$$slots:{default:[Zv]},$$scope:{ctx:i}};return i[1]!==void 0&&(r.ref=i[1]),e=new ki({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&64&&(a.className="w-max btn-full-opacity "+(l[6]?"px-0":"")),s&8&&(a.ariaExpanded=l[3]),s&32&&(a.ariaLabel=l[5]),s&8388693&&(a.$$scope={dirty:s,ctx:l}),!t&&s&2&&(t=!0,a.ref=l[1],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Kv(i,e,t){var O,$,C;let n,o,r,l,s,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:m=[]}=e;const h=Pt(),b=($=(O=h.callbacks)==null?void 0:O.onEpisodeChanged)!=null?$:ie.noop,v=!!((C=h.callbacks)!=null&&C.onEpisodeClicked),y=h.ui.currentGridType$;z(i,y,D=>t(18,s=D));const _=h.ui.episodes.openedByKeyboard$;z(i,_,D=>t(17,l=D));const S=h.ui.episodes.panelOpened$;z(i,S,D=>t(3,r=D));const k=h.ui.isMobile;z(i,k,D=>t(6,a=D));let w;const R=D=>{var L,ae,pe;if(!!((L=h.callbacks)!=null&&L.onEpisodeClicked)){const ge=hr(D);_.set(ge),S.set(!0),(pe=(ae=h.callbacks)==null?void 0:ae.onEpisodeClicked)==null||pe.call(ae,ge)}};let X,V,K;const se=async(D,re,L)=>{await pl(),(D==null?void 0:D.getAttribute("aria-expanded"))==="false"&&re&&!L&&(_.set(!1),D.focus())};function ne(D){w=D,t(1,w)}return i.$$set=D=>{"position"in D&&t(13,c=D.position),"duration"in D&&t(14,f=D.duration),"timeCodes"in D&&t(0,m=D.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&24576&&t(16,n=c/f),i.$$.dirty&114689){const D=Uc(n,f,m);D&&(X==null?void 0:X.text)!==D.text&&(b(D),t(15,X=D))}i.$$.dirty&32768&&t(2,o=(X==null?void 0:X.text)||""),i.$$.dirty&262144&&(bn(s,exports.GridTypes.XL)?t(4,V=Wn.FULL):bn(s,exports.GridTypes.M)&&dh(s,exports.GridTypes.XL)?t(4,V=Wn.COUNT):t(4,V=Wn.SHORT)),i.$$.dirty&4&&t(5,K=`${G("tooltip_episodes")}: ${o}`),i.$$.dirty&131082&&se(w,l,r)},[m,w,o,r,V,K,a,v,y,_,S,k,R,c,f,X,n,l,s,ne]}class Wc extends ke{constructor(e){super(),ye(this,e,Kv,Gv,we,{position:13,duration:14,timeCodes:0},Hv)}}function Yv(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("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,r){E(o,e,r),p(e,t),p(e,n)},p:W,i:W,o:W,d(o){o&&P(e)}}}class Qv extends ke{constructor(e){super(),ye(this,e,null,Yv,we,{})}}function Xv(i){let e,t;return e=new Qv({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Jv(i){let e,t,n;function o(l){i[4](l)}let r={className:i[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:G("tooltip_interactive_seek"),disabled:i[2],click:i[3],$$slots:{default:[Xv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new ki({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"hidden":""),s&4&&(a.disabled=l[2]),s&8&&(a.click=l[3]),s&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function xv(i,e,t){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:r=!1}=e,{click:l}=e;function s(a){n=a,t(0,n)}return i.$$set=a=>{"ref"in a&&t(0,n=a.ref),"hidden"in a&&t(1,o=a.hidden),"disabled"in a&&t(2,r=a.disabled),"click"in a&&t(3,l=a.click)},[n,o,r,l,s]}class Zc extends ke{constructor(e){super(),ye(this,e,xv,Jv,we,{ref:0,hidden:1,disabled:2,click:3})}}function $v(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("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"),M(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,r){E(o,e,r),p(e,t),p(e,n)},p(o,[r]){r&1&&M(n,"hidden",!o[0])},i:W,o:W,d(o){o&&P(e)}}}function e5(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class t5 extends ke{constructor(e){super(),ye(this,e,e5,$v,we,{isOpened:0})}}function i5(i){let e,t;return e=new t5({props:{isOpened:i[3]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&8&&(r.isOpened=n[3]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function n5(i){let e,t,n;function o(l){i[6](l)}let r={className:i[1]?"hidden":"",testId:"btn-graph",disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[i5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new ki({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"hidden":""),s&4&&(a.disabled=l[2]),s&32&&(a.ariaLabel=l[5]),s&16&&(a.click=l[4]),s&136&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function o5(i,e,t){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:r=!1}=e,{graphIsOpened:l=!1}=e,{click:s}=e,a;function c(f){n=f,t(0,n)}return i.$$set=f=>{"ref"in f&&t(0,n=f.ref),"hidden"in f&&t(1,o=f.hidden),"disabled"in f&&t(2,r=f.disabled),"graphIsOpened"in f&&t(3,l=f.graphIsOpened),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=G(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,r,l,s,a,c]}class Gc extends ke{constructor(e){super(),ye(this,e,o5,n5,we,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function l5(i){let e,t;return{c(){e=B("svg"),t=B("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"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Kc extends ke{constructor(e){super(),ye(this,e,null,l5,we,{})}}function r5(i){qe(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 ya(i){let e;return{c(){e=T("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function s5(i){let e,t,n,o,r=i[1]&&ya();return n=new Kc({}),{c(){r&&r.c(),e=N(),t=T("div"),q(n.$$.fragment),u(t,"class","v-1ot3duq"),M(t,"mobile",i[1])},m(l,s){r&&r.m(l,s),E(l,e,s),E(l,t,s),F(n,t,null),o=!0},p(l,s){l[1]?r||(r=ya(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),(!o||s&2)&&M(t,"mobile",l[1])},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){g(n.$$.fragment,l),o=!1},d(l){l&&(P(e),P(t)),r&&r.d(l),H(n)}}}function a5(i){let e,t,n;function o(l){i[5](l)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-replay",ariaLabel:G("tooltip_restart"),disabled:i[2],click:i[4],ariaKeyShortCut:No[Ae.KeyK],$$slots:{default:[s5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new ki({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),s&4&&(a.disabled=l[2]),s&16&&(a.click=l[4]),s&66&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function u5(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:r=!1}=e,{className:l=""}=e,{click:s=ie.noop}=e;function a(c){n=c,t(0,n)}return i.$$set=c=>{"ref"in c&&t(0,n=c.ref),"isMobile"in c&&t(1,o=c.isMobile),"disabled"in c&&t(2,r=c.disabled),"className"in c&&t(3,l=c.className),"click"in c&&t(4,s=c.click)},[n,o,r,l,s,a]}class Cr extends ke{constructor(e){super(),ye(this,e,u5,a5,we,{ref:0,isMobile:1,disabled:2,className:3,click:4},r5)}}function c5(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class f5 extends ke{constructor(e){super(),ye(this,e,null,c5,we,{})}}function d5(i){let e,t;return e=new f5({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function m5(i){let e,t;return e=new ki({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:G("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[d5]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.className=n[0]?"hidden":""),o&2&&(r.disabled=n[1]),o&4&&(r.click=n[2]),o&8&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function p5(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:r}=e;return i.$$set=l=>{"hidden"in l&&t(0,n=l.hidden),"disabled"in l&&t(1,o=l.disabled),"click"in l&&t(2,r=l.click)},[n,o,r]}class Yc extends ke{constructor(e){super(),ye(this,e,p5,m5,we,{hidden:0,disabled:1,click:2})}}function h5(i){qe(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 v5(i){let e,t,n,o;return{c(){e=T("img"),u(e,"class","icon v-1x1zctw"),Nr(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(r,l){E(r,e,l),n||(o=_e(e,"error",i[7]),n=!0)},p(r,l){l&1&&!Nr(e.src,t=r[0])&&u(e,"src",t)},d(r){r&&P(e),n=!1,o()}}}function g5(i){let e;return{c(){e=T("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(t,n){E(t,e,n)},p:W,d(t){t&&P(e)}}}function b5(i){let e;function t(r,l){return r[5]?g5:v5}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,l){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},d(r){r&&P(e),o.d(r)}}}function _5(i){let e,t;return e=new ki({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[b5]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&16&&(r.className=n[4]?"btn-full-opacity":""),o&2&&(r.ariaLabel=n[1]),o&8&&(r.click=n[3]),o&64&&(r.disabled=n[6]),o&4&&(r.testId=n[2]),o&545&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function w5(i,e,t){let n,o,r,{iconUrl:l}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=ie.noop}=e;const m=()=>{t(5,r=!0)};return i.$$set=h=>{"iconUrl"in h&&t(0,l=h.iconUrl),"ariaLabel"in h&&t(1,s=h.ariaLabel),"disabled"in h&&t(8,a=h.disabled),"testId"in h&&t(2,c=h.testId),"onClick"in h&&t(3,f=h.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===ie.noop),i.$$.dirty&272&&t(6,o=n||a)},t(5,r=!1),[l,s,c,f,n,r,o,m,a]}class Qc extends ke{constructor(e){super(),ye(this,e,w5,_5,we,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},h5)}}class ka{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}removeEventListener(e,t){if(!(e in this.listeners))return;const n=this.listeners[e];for(let o=0,r=n.length;o<r;o++)if(n[o].callback===t){n.splice(o,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let o=0,r=n.length;o<r;o++){const l=n[o];try{l.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}l.options&&l.options.once&&this.removeEventListener(e.type,l.callback)}return!e.defaultPrevented}}class Xc extends ka{constructor(){super(),this.listeners||ka.call(this),Object.defineProperty(this,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(this,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(this,"reason",{value:void 0,writable:!0,configurable:!0})}toString(){return"[object AbortSignal]"}dispatchEvent(e){e.type==="abort"&&(this.aborted=!0,typeof this.onabort=="function"&&this.onabort.call(this,e)),super.dispatchEvent(e)}}let y5=class{constructor(){Object.defineProperty(this,"signal",{value:new Xc,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch(o){typeof document!="undefined"?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document=="undefined")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(o){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};typeof Symbol!="undefined"&&Symbol.toStringTag&&(y5.prototype[Symbol.toStringTag]="AbortController",Xc.prototype[Symbol.toStringTag]="AbortSignal");function Jc(i){return i.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof i.Request=="function"&&!i.Request.prototype.hasOwnProperty("signal")||!i.AbortController}function k5(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!Jc({fetch:e,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:e,Request:r};let r=t;(r&&!r.prototype.hasOwnProperty("signal")||o)&&(r=function(c,f){let m;f&&f.signal&&(m=f.signal,delete f.signal);const h=new t(c,f);return m&&Object.defineProperty(h,"signal",{writable:!1,enumerable:!1,configurable:!0,value:m}),h},r.prototype=t.prototype);const l=e;return{fetch:(a,c)=>{const f=r&&r.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let m;try{m=new DOMException("Aborted","AbortError")}catch(b){m=new Error("Aborted"),m.name="AbortError"}if(f.aborted)return Promise.reject(m);const h=new Promise((b,v)=>{f.addEventListener("abort",()=>v(m),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([h,l(a,c)])}return l(a,c)},Request:r}}const Pr=Jc({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),xc=Pr?k5({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,S5=Pr?xc.fetch:window.fetch;Pr?xc.Request:window.Request;const C5=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,P5="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class T5{constructor(e,t){this.adman=null,this.initialVolume=1,this.videoElement=null,this.currentAdSection=null,this.actions=null,this.adsState=null,this.playerState=null,this.events={slotRequested$:new ie.Subject,started$:new ie.Subject,paused$:new ie.Subject,resumed$:new ie.Subject,ended$:new ie.Subject,skipped$:new ie.Subject,clicked$:new ie.Subject},this.loadAdman=n=>new Promise((o,r)=>{let l;const s=()=>{clearTimeout(l),delete window.admanAsyncInit,window.AdmanHTML?o():r()};ie.addScript(P5,n,this.loadTimeout).then(()=>{window.AdmanHTML?o():(window.admanAsyncInit=s,l=window.setTimeout(s,this.initTimeout))}).catch(()=>{r()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,o)=>{ie.assertNonNullable(this.adsState),ie.assertNonNullable(this.playerState),ie.assertNonNullable(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(o)}`}),this.events.started$.next(n),o.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Xe(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(o.duration),this.adsState.playbackState.set(ni.PLAYING),this.adsState.canSkip.set(o.allowClose),this.adsState.secondsToWatchBeforeSkip.set(o.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{ie.assertNonNullable(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{ie.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(ni.PAUSED)},this.onAdPlayed=()=>{ie.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(ni.PLAYING)},this.onAdMidrollPoint=()=>{ie.assertNonNullable(this.adman),ie.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Pn.Midroll,this.adman.start(Pn.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var n;this.log({message:"ad clicked"}),(n=this.videoElement)===null||n===void 0||n.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},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}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:t,height:n,isFullscreen:o,isAutoplay:r,adsContainer:l,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:m}=e;let h;const b=this.playerState&&Xe(this.playerState.vsid);b&&(h=parseInt(b,36));const v={dl:encodeURIComponent(window.location.href),autoplay:r,player_width:t,player_height:n,puid10:C5(t,n),puid11:o?0:1,preview:m,...h?{request_id:h}:{},duration:f,...c},y={slot:a,wrapper:l,videoEl:s,videoQuality:n,params:v,browser:{mobile:!1}},_=new window.AdmanHTML;_.setDebug(!1),_.onReady(this.onAdsReady),_.onStarted(this.onAdStarted),_.onPlayed(this.onAdPlayed),_.onPaused(this.onAdPaused),_.adMidrollPoint(this.onAdMidrollPoint),_.onClosed(this.onAdClosed),_.onSkipped(this.onAdSkipped),_.onClicked(this.onAdClicked),_.onTimeRemained(this.onAdTimeRemained),_.onCompleted(this.onAdCompleted),_.onError(this.onAdError),_.init(y),this.adman=_,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(y)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}ie.assertNonNullable(this.actions),ie.assertNonNullable(this.adsState),ie.assertNonNullable(this.playerState);const t=this.currentAdSection===Pn.Postroll;this.adsState.playbackState.set(ni.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(){ie.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=Xe(this.adsState.playbackState);e===ni.PLAYING?this.pause():e===ni.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var t;this.log({message:`set volume ${e}`}),(t=this.adman)===null||t===void 0||t.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var t;this.log({message:`set fullscreen ${e}`}),(t=this.adman)===null||t===void 0||t.setFullscreen(e)}startPreroll(){ie.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=Pn.Preroll,this.adman.start(Pn.Preroll)}startPostroll(){ie.assertNonNullable(this.adman),ie.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Pn.Postroll,this.adman.start(Pn.Postroll)}play(){ie.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ie.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ie.assertNonNullable(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,t){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(t))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const E5=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 A5{constructor(){this.oneLineRegExp=/\r\n|\n|\r/,this.twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/}parse(e){const t=[],n=e.split(this.twoLinesRegExp);for(const o of n){const r={startTime:0,endTime:0,texts:[],lang:""},l=o.split(this.oneLineRegExp);for(const s of l)if(!r.startTime&&!r.endTime){const a=new $c,{startTime:c,endTime:f}=a.parse(s);r.startTime=c,r.endTime=f}else if(s.trim()!==""){const a=new L5,{texts:c}=a.parse(s);r.texts=[...r.texts,...c]}(r.startTime||r.endTime)&&r.texts.length>0&&t.push(r)}return t}}class $c{constructor(){this.timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/,this.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 r=Number(e)*60*60,l=Number(t)*60,s=Number(n),a=+`0.${o}`;return r+l+s+a}}class L5{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](l){let s=0;const a=[];for(;s<l.length;){const c=["<",">"].reduce((f,m)=>{const h=l.indexOf(m,s);return f===-1||f>h?h:f},-1);if(c===-1){a.push(l.substring(s));break}a.push(l.substring(s,c)),s=c+1}return a}}),r=new $c;for(const l of o)r.isTime(l)?t.texts.push({type:"timestamp",value:r.parseTime(l)}):t.texts.push({type:"text",value:l});return t}}let Dn,Bt,Gl=0,Kl=!1;const I5=(i,e,t)=>{var n;const o=i>=Gl,r=i<Gl,l=(f,m=0,h=0)=>f<m&&f<h,s=(f,m=0,h=0)=>f>=m&&f<=h,a=(f,m=0,h=0)=>f>m&&f>h,c=(n=t.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(Gl=i,r&&(Kl=!1),ie.isNonNullable(Dn)&&s(i,Dn.startTime,Dn.endTime)&&Dn.lang===e.value)return Dn;if(!ie.isNonNullable(Bt)&&(c!=null&&c.length)&&!Kl){const f=c.find(({startTime:m,endTime:h})=>s(i,m,h)||o&&l(i,m,h));Bt=f&&{...f,lang:e.value},Dn=void 0,!ie.isNonNullable(Bt)&&c[c.length-1].endTime<i&&(Kl=!0);return}else{if(s(i,Bt==null?void 0:Bt.startTime,Bt==null?void 0:Bt.endTime))return Dn=Bt,Bt=void 0,Dn;(o&&a(i,Bt==null?void 0:Bt.startTime,Bt==null?void 0:Bt.endTime)||r&&l(i,Bt==null?void 0:Bt.startTime,Bt==null?void 0:Bt.endTime))&&(Bt=void 0)}},Yl={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 rl=null;class Lo{constructor(e,t){if(!rl){const n=new kt.OneStat(e,t),o=new ie.Subscription;rl=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n==null||n.destroy(),o==null||o.unsubscribe(),rl=null}})}}static getInstance(){return rl}}const V5=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:r,canDownload:l,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:m,coreConfig:h,player:b,disabledControls:v,isInteractive:y,interactiveRanges:_,replayInteractive:S,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:w,additionalButtons:R,looped:X=!1})=>{var V,K,se,ne;const O={...h,configName:[...(V=h.configName)!==null&&V!==void 0?V:[],"ui"],isAudioDisabled:r,live:{...(K=h.live)!==null&&K!==void 0?K:{},isLiveCatchUpMode:!!n}},$=m,C=b||new xe.Player(O);C.setLooped(X);const D=new ie.Logger,re=new T5(D,{loadTimeout:$.ads.loadTimeout,initTimeout:$.ads.initTimeout}),L=Lo.getInstance(),ae=nr.getInstance(),pe=a==null?void 0:a.pictureInPictureApi,ge=a==null?void 0:a.annotationsApi,ce=D.createComponentLog("Store");let Y,fe,ze={};const de=ie.getCurrentBrowser(),Le=L?St(L.oneStat.vsid$):Sn(void 0),Pe=Be(Mo()),ue=(se=pe==null?void 0:pe.info.isActive$)!==null&&se!==void 0?se:new ie.ValueSubject(!1),Ee=pe==null?void 0:pe.info.type,A=Be(0),oe=Be([]),Me=ie.merge(C.events.fatalError$,C.events.managedError$).subscribe(I=>oe.update(ee=>[...ee,I])),Ce=Sn(!1,I=>{const ee=C.events.fatalError$.subscribe(()=>I(!0));return()=>ee.unsubscribe()}),Te=async I=>{var ee;const be=Object.values(ie.InterfaceLanguage).includes(I);if($.downloadVKLanguages&&(be&&$.updateBuiltinLanguages||!us(I))){let Ge;try{Ge=await ie.loadVKLangPack(I,u0,c0)}catch(st){(ee=L==null?void 0:L.oneStat)===null||ee===void 0||ee.logError({errorType:"VKLangPack",fatal:!1}),ae==null||ae.report(st,{errorType:"VKLangPack",fatal:!1})}Ge&&(as({language:I,pack:Ge,fallback:$.defaultLanguage}),le.set(I))}us(I)&&le.set(I)},le=Be(i);Te(i);const Q=(I,ee)=>{const be=Xe(le);return cc(be,I,ee,$.defaultLanguage)},U=Be(De.Thumb),Ne=(()=>{const I=fi([Ce,U],([ee,be])=>ee?De.Crashed:be);return{...I,is:ee=>Xe(I)===ee}})(),et=(()=>{const I=Be(new Set(v));return{...I,add:ee=>{I.update(be=>new Set([...be].concat(ee)))},remove:ee=>{I.update(be=>{const Re=[...be];return new Set(Array.isArray(ee)?Re.filter(Ge=>!ee.includes(Ge)):Re.filter(Ge=>Ge!==ee))})},includes:ee=>{const be=Xe(I);return Array.isArray(ee)?ee.every(Re=>be.has(Re)):be.has(ee)}}})();ce({message:"create store"});const rt=I=>{ce({message:`init video, config: ${JSON.stringify(I)}`}),y?I.container.append(C.experimental.element$.getValue()):C.initVideo(I),I.subtitles&&C.setExternalTextTracks(I.subtitles),Y=I},Ze=new ie.Subject,Ve=I=>Ze.next(I),Je=new ie.Subject,pt=new ie.Subject,at=new ie.Subject,Ie={actionRewind$:Je,actionSeek$:pt,inPiP$:ue,inFullscreen$:new ie.Observable(I=>Pe.subscribe(ee=>I.next(ee))),actionSetSubtitle$:at,nextMovie$:Ze};if(L){const{oneStat:I,statSubscription:ee}=L;ee.add(I.attachTo(C)),ee.add(I.attachToUi(Ie)),ee.add(I.attachToAds(re.events)),I.authorize(o).catch(be=>{ce({message:`onestat auth error ${String(be)}`})})}if(ae){const I=new ie.Subscription,ee=(be,Re)=>I.add(be.subscribe(Re));if(ee(C.events.managedError$,be=>{ae.logIError(be)}),ee(C.events.fatalError$,be=>{ae.logIError(be,!0)}),L){const{oneStat:be}=L;ee(be.experimental.error$,Re=>{ae.logIError(Re)})}ae.sentrySubscription.add(I)}const qt=()=>{ie.isIOS()&&fe&&l4(fe)},ft=new ie.Subscription().add(C.experimental.element$.subscribe(I=>{I&&(fe=I,I.classList.add("player-media"),dl(pe)&&(pe.updateVideoElement(),pe.registryEventHandlers()),y&&I.setAttribute("pip","false"))})).add(C.events.ended$.subscribe(()=>{var I;qt(),(I=s==null?void 0:s.onEnded)===null||I===void 0||I.call(s)})).add(C.events.started$.subscribe(async()=>{var I,ee;dl(pe)&&await(pe==null?void 0:pe.revealPictureInPicture());const be=C.info.muted$.getValue();(I=s==null?void 0:s.onStarted)===null||I===void 0||I.call(s),(ee=ze.onStarted)===null||ee===void 0||ee.call(ze,be)})).add(C.events.willSeek$.subscribe(({from:I,to:ee})=>{var be;(be=s==null?void 0:s.onSeek)===null||be===void 0||be.call(s,I,ee)})).add(C.info.position$.subscribe(I=>{var ee;const be=C.info.duration$.getValue();(ee=s==null?void 0:s.onTimeupdate)===null||ee===void 0||ee.call(s,be,I),re.setPosition(I,be)})).add(C.events.fatalError$.subscribe(()=>{var I;(I=s==null?void 0:s.onCrashed)===null||I===void 0||I.call(s)})).add(C.info.is3DVideo$.subscribe(I=>{_t.ui.is3DVideo.set(I)})).add(C.info.isEnded$.subscribe(I=>{y&&(I?(Xe(On)&&et.add(_1),et.add(ct.PLAY_BUTTON)):et.remove(ct.PLAY_BUTTON))})).add(C.info.liveTime$.subscribe(I=>{var ee;(ee=s==null?void 0:s.onLiveTime)===null||ee===void 0||ee.call(s,I)})).add(C.info.isStalled$.subscribe(I=>{var ee;(ee=s==null?void 0:s.onStalledChanged)===null||ee===void 0||ee.call(s,I)})),It=new ie.Subscription,Rt=()=>{It.add(C.events.log$.subscribe(I=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${I.component}`,I.message)})).add(D.log$.subscribe(I=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${I.component}.`,I.message)}))},Vt=()=>{It.unsubscribe()},me=(I,ee)=>{C.startCameraManualRotation(I,ee)},At=(I=!1)=>{C.stopCameraManualRotation(I)},it=(I,ee,be)=>{C.moveCameraFocusPX(I,ee,be)},Tt=()=>{C.holdCamera()},wt=()=>{C.releaseCamera()},ht=Sn(C.info.position$.getValue(),I=>{let ee,be;const Re=()=>{const Ge=C.info.playbackState$.getValue(),st=C.info.isLive$.getValue(),Ct=C.info.duration$.getValue(),gt=C.info.position$.getValue();if([xe.PlaybackState.PLAYING,xe.PlaybackState.PAUSED].includes(Ge)){const yi=st?gt-Ct:C.getExactTime();yi!==be&&I(yi),be=yi}ee=requestAnimationFrame(Re)};return Re(),()=>cancelAnimationFrame(ee)}),Qe=St(ue),Ue=St(C.info.playbackState$),yt=St(C.info.currentBuffer$),Bi=St(C.info.isEnded$),zi=St(C.info.isLive$),li=$.features.playbackRate?St(C.info.canChangePlaybackSpeed$):Sn(!1),Fi=St(C.info.liveBufferTime$),Qi=St(C.info.volume$),Ot=St(C.info.muted$),jt=S1(C.info.autoQualityLimits$.pipe(ie.map(({max:I})=>I!==void 0)),((ne=C.info.autoQualityLimits$.getValue())===null||ne===void 0?void 0:ne.max)!==void 0),ri=St(C.info.autoQualityLimitingAvailable$),Wt=St(C.info.availableQualities$),di=St(C.info.availableQualitiesFps$),Dt=St(C.info.chromecastState$),Ni=St(C.info.chromecastDeviceName$),si=St(C.info.currentFormat$),Et=St(C.info.throughputEstimation$),Ri=St(C.info.videoBitrate$),Si=St(C.info.intrinsicVideoSize$),mi=St(C.info.duration$),Ci=St(C.info.isAudioAvailable$);let zt=null;const $t=C.info.isBuffering$,pi=Sn($t.getValue(),I=>{const ee=$t.subscribe(be=>{be&&zt===null?zt=window.setTimeout(()=>{I($t.getValue()),zt=null},$.loaderDelay):I(be)});return()=>{ee.unsubscribe(),zt&&clearTimeout(zt)}}),ai=()=>{zt&&clearTimeout(zt),zt=null},Zt=fi([mi,zi],([I,ee])=>ee?-I:I),vt=fi([Ue],([I])=>I===xe.PlaybackState.PLAYING),nt=St(C.info.atLiveEdge$),Ft=St(C.info.atLiveDurationEdge$),ui=St(C.info.position$),Oi=fi([ui,mi],([I,ee])=>isFinite(I)&&isFinite(ee)&&!!ee),Pi=fi([Dt],([I])=>I===xe.ChromecastState.CONNECTED),Gt=Be(void 0),Kt=St(C.info.isAutoQualityEnabled$,I=>I&&Gt.set(void 0)),Hi=St(C.info.currentQuality$,()=>Gt.set(void 0)),ei=fi([Gt,Hi],([I,ee])=>I!=null?I:ee),Ui=fi([Wt,di,Kt,ei,si],([I,ee,be,Re,Ge])=>{const st=[];Ge!==xe.VideoFormat.MPEG&&st.push({value:bo.AUTO,displayValue:Q("auto_quality_option"),selected:be});const Ct=I.filter(gt=>gt!==ie.VideoQuality.INVARIANT);for(const gt of Ct){const yi=ee[gt],ro=gt===ie.VideoQuality.INVARIANT?Q("auto_quality_option"):gt;st.push({value:gt,displayValue:`${ro}${yi?E5(yi):""}`,selected:be?!1:gt===Re})}return st}),Yt=St(C.info.currentPlaybackRate$),Ht=fi([Yt,nt,Ft],([I,ee,be])=>{const Re=be||y?1:$.controls.playbackRateMin,Ge=ee?1:$.controls.playbackRateMax,st=$.controls.playbackRateStep,Ct=[];for(let gt=Re;gt<=Ge;gt+=st)Ct.push({value:gt,displayValue:gt===1?Q("playback_rate_1"):Q("playback_rate",{multiplier:gt.toString(10)}),selected:I===gt});return Ct}),Qt=$.features.subtitles?St(C.info.availableTextTracks$):Sn([]),Ti=fi([Qt],([I],ee)=>{const be=[],Re=[];for(const Ge of I)Ge.url&&be.push(S5(Ge.url));Promise.allSettled(be).then(Ge=>{for(const[st,Ct]of Ge.entries())Ct.status==="fulfilled"&&Ct.value.text().then(gt=>{const yi=new A5,ro=I[st].language,jo=!!I[st].isAuto,Eo=yi.parse(gt);ro&&Eo&&Re.push({lang:ro,subtitles:Eo,isAuto:jo}),st===Ge.length-1&&ee(Re)})})}),Lt={displayValue:Q("subtitles_off"),value:"off"},hi=Be({...Lt}),Ei=fi([Ti,hi,Ti],([I,ee])=>{if((I==null?void 0:I.length)>0){const be=[{...Lt,selected:(ee==null?void 0:ee.value)===Lt.value}];for(const{lang:Re,isAuto:Ge}of I)Yl[Re]&&be.push({displayValue:Ge?Q("subtitles_auto",{language:Yl[Re]}):Yl[Re],value:Re,selected:(ee==null?void 0:ee.value)===Re,isAuto:Ge});return be}else return[]}),qi=fi([ht,hi,Ti],([I,ee,be])=>{if(ee&&ee.value!==Lt.value)return I5(I,ee,be)}),vi=fi([qi],([I])=>I!=null&&I.texts?I.texts:[]),Xt=Be(!0),ji=fi([yt,Zt,ui,Fi],([I,ee,be,Re])=>{var Ge;const st=(Ge=I==null?void 0:I.end)!==null&&Ge!==void 0?Ge:0;if(!Re)return st/ee;const gt=-be+Re-ee;return(st-gt)/ee}),gi=St(C.info.availableSources$),Ai=fi([gi],([I])=>Object.keys((I==null?void 0:I[xe.VideoFormat.MPEG])||{}).length>0),Oe=()=>{var I,ee,be;const Re=Object.keys(((ee=(I=C.info.availableSources$)===null||I===void 0?void 0:I.getValue())===null||ee===void 0?void 0:ee[xe.VideoFormat.MPEG])||{}),Ge=ie.getHighestQuality(Re)||ie.VideoQuality.Q_144P;return(be=Y.sources[xe.VideoFormat.MPEG])===null||be===void 0?void 0:be[Ge]},Wi=()=>{var I;const ee=Oe();ee?_0(ee,((I=Y==null?void 0:Y.meta)===null||I===void 0?void 0:I.title)||"video"):ce({message:"There is no URL for download video"})},Zi=()=>{ce({message:"toggle muted"});const I=C.info.muted$.getValue(),Re=!(C.info.volume$.getValue()===0||I);He(Re)},bi=()=>{_t.ui.settingsMenuVisible.set(!1)},Di=I=>{_t.ui.settingsMenuOpenedByKeyboard.set(!!I),_t.ui.settingsMenuVisible.set(!0)},Li=I=>{Xe(_t.ui.settingsMenuVisible)?bi():Di(I)},ci=(I,ee=I,be=!1)=>{var Re,Ge,st;const Ct=!be,gt=C.info.muted$.getValue();ce({message:`set volume, volume: ${I}, preferredVolume: ${ee}, internalCall: ${Ct}`}),C.setVolume(I),re.setVolume(I),Ct&&((Re=s==null?void 0:s.onVolumeChange)===null||Re===void 0||Re.call(s,I)),Dr(ee),gt?(C.setMuted(!1),Ct&&((Ge=s==null?void 0:s.onUnmute)===null||Ge===void 0||Ge.call(s)),Tl(!1)):!gt&&I===0&&(C.setMuted(!0),Ct&&((st=s==null?void 0:s.onMute)===null||st===void 0||st.call(s)),Tl(!0))},He=(I,ee=!1)=>{var be,Re,Ge,st;const Ct=!ee,gt=C.info.volume$.getValue();if(ce({message:`set muted, currentVolume: ${gt}, mute: ${I}, internalCall: ${Ct}`}),C.setMuted(I),re.setVolume(I?0:gt),Tl(I),Ct&&(I?(be=s==null?void 0:s.onMute)===null||be===void 0||be.call(s):(Re=s==null?void 0:s.onUnmute)===null||Re===void 0||Re.call(s)),gt===0){let yi=(Ge=A1())!==null&&Ge!==void 0?Ge:$.volumeDefault;yi===0&&(yi=$.volumeMinRestore,Dr(yi)),C.setVolume(yi),re.setVolume(yi),Ct&&((st=s==null?void 0:s.onVolumeChange)===null||st===void 0||st.call(s,yi))}},Gi=()=>{C.prepare()},Jt=()=>{var I,ee;if(ie.assertNonNullable(_t),!Xe(_t.ui.controls.disabledControls$).has(ct.PLAY_BUTTON)){if(ce({message:"toggle play"}),Xe(_t.playerPhase)===De.Ads){re.togglePlay();return}if(C.info.playbackState$.getValue()!==xe.PlaybackState.PLAYING){if(C.info.isEnded$.getValue()){if(ce({message:"toggle play, video ended, seek to 0"}),Je.next(),pt.next(kt.SeekAction.REWIND),y){S==null||S();return}C.seekTime(0)}ce({message:"toggle play, call player.play"}),C.play(),(I=s==null?void 0:s.onPlay)===null||I===void 0||I.call(s)}else ce({message:"toggle play, call player.pause"}),C.pause(),(ee=s==null?void 0:s.onPause)===null||ee===void 0||ee.call(s)}},ti=I=>{ce({message:`set quality, quality: ${I}`}),C.setAutoQuality(I===bo.AUTO),I!==bo.AUTO?(w0(e,I),Gt.set(I),C.setQuality(I)):L1()},Ki=I=>{ce({message:`set trafficSavingEnabled, value: ${I}`}),C.setAutoQualityLimits({max:I?$.trafficSavingLimit:void 0}),S0(I)},Ii=I=>{C.setPlaybackRate(I)},un=()=>{const I=Xe(Ht),ee=I.findIndex(({selected:Re})=>Re);if(ee===I.length-1)return;const be=I[ee+1];Ii(be.value)},en=()=>{const I=Xe(Ht),ee=I.findIndex(({selected:Re})=>Re);if(ee===0)return;const be=I[ee-1];Ii(be.value)},Vi=I=>{I&&I.value!==Lt.value&&at.next(I.isAuto?I.value+"_auto":I.value),hi.set(I)},Mi=()=>{const I=Xe(Ei),ee=Xe(hi),be=Xe(le);if((ee==null?void 0:ee.value)===Lt.value){const Re=I.filter(Ge=>Ge.value!==Lt.value).find(Ge=>Ge.value===be)||I[1];Vi(Re!=null?Re:{...Lt})}else Vi({...Lt,selected:!1})},_i=(I,ee,be=!0)=>{if(ce({message:`seek to time, time: ${I}`}),pt.next(ee),C.info.isLive$.getValue()){const Re=C.info.duration$.getValue(),Ge=Math.min(0,Re+I);C.seekTime(Ge,be)}else{if(Xe(On))return;C.seekTime(To(I),be)}},tn=I=>{ce({message:`seek to episode start time: ${I}`}),_i(I,kt.SeekAction.EPISODE,!0)},Xi=(I,ee)=>{ce({message:`seek to percent, percent: ${I}`});const be=Math.round(Xe(Zt)*I);_i(be,ee,!1)},Ji=I=>{ce({message:`seek external, time: ${I}`}),pt.next(kt.SeekAction.UNKNOWN),C.seekTime(C.info.isLive$.getValue()?-I:I)},nn=I=>{var ee,be;ce({message:`set auto quality limitation. Max: ${(ee=I.max)!==null&&ee!==void 0?ee:"none"}. Min: ${(be=I.min)!==null&&be!==void 0?be:"none"}`}),C.setAutoQualityLimits(I)},wi=I=>{ce({message:`seek external to episode start time: ${I}`}),_i(I,kt.SeekAction.EPISODE,!0)},te=I=>{ce({message:`set playback rate to: ${I}`}),C.setPlaybackRate(I)},tt=Be(void 0),Mt=Be(!1),Yi=I=>{ce({message:`start scrubbing, progress: ${I}`}),Mt.set(!0),dt(I)},dt=I=>{tt.set(I)};let on,cn;const ln=()=>{tt.set(void 0),Mt.set(!1)},rn=()=>{clearTimeout(cn),clearTimeout(on),on=window.setTimeout(()=>{ln()},500),fe==null||fe.removeEventListener("seeked",rn)},vn=I=>{ce({message:`complete scrubbing, progress: ${I}`}),Xi(I,kt.SeekAction.SLIDER),Xe(_t.ui.isMobile)&&Xe(_t.state.currentFormat$)===xe.VideoFormat.HLS?(fe==null||fe.addEventListener("seeked",rn),cn=window.setTimeout(()=>{rn()},300)):ln()},x=fi([ht,Zt,tt],([I,ee,be],Re)=>{Re(ie.isNonNullable(be)?be*ee:I)}),ut=Be({width:0,height:0}),xi=fi([ut],([{width:I}],ee)=>{const be=mh(I);ee(be)}),J=Be(!1),fn=fi([xi,J],([I,ee])=>ee?R.filter(be=>!be.hideOnMobile):R.filter(be=>{var Re;return!(!((Re=be.hideOnDesktopGridTypes)===null||Re===void 0)&&Re.includes(I))})),hn=fi([J,Ce],([I,ee],be)=>{be(I&&ee)}),Kn=()=>{pt.next(kt.SeekAction.LIVE),ce({message:"switch to active live"}),C.seekTime(0),C.info.playbackState$.getValue()!==xe.PlaybackState.PLAYING&&_t.actions.internal.togglePlay()},Yn=()=>re.skip(),Qn=(I=!0)=>{ie.assertNonNullable(_t),ce({message:`switch from ads to video, callPlay: ${I}`}),U.set(De.Video),I&&C.play()},Xn=()=>{ie.assertNonNullable(_t),ce({message:"switch from video to ads"}),_t.actions.internal.pause(),qt(),U.set(De.Ads)},Jn=I=>{ie.assertNonNullable(_t);const ee=I?De.WaitingLive:De.Thumb;U.set(ee)},xn=I=>{ie.assertNonNullable(_t);const ee=I?De.WaitingRecord:De.Thumb;U.set(ee)},$n=()=>(ie.assertNonNullable(_t),g0(C,Y,_t)),Co=()=>(ie.assertNonNullable(_t),b0(C,Y,_t)),Po=()=>fe,dn=()=>{ce({message:"toggle chromecast"}),C.toggleChromecast()},Un=I=>{var ee;ie.assertNonNullable(_t);const be=!I;if(Xe(_t.playerPhase)===De.Ads){ce({message:`pause ads, internalCall: ${be}`}),re.pause();return}ce({message:`pause video, internalCall: ${be}`}),be&&((ee=s==null?void 0:s.onPause)===null||ee===void 0||ee.call(s)),C.pause()},Nn=I=>{var ee;ie.assertNonNullable(_t);const be=!I;if(Xe(_t.playerPhase)===De.Ads){ce({message:`play ads, internalCall: ${be}`}),re.play();return}ce({message:`play video, internalCall: ${be}`}),be&&((ee=s==null?void 0:s.onPlay)===null||ee===void 0||ee.call(s)),C.play()},eo=(I,ee)=>{ie.assertNonNullable(_t),ce({message:`first start, show ads: ${I}, internalCall: ${!ee}`}),I?U.set(De.Ads):(U.set(De.Video),ee?C.play():_t.actions.internal.togglePlay())},Rn=()=>(ce({message:"getting time codes"}),c),to=()=>{const I=Rn();if(!I||[0,1].includes(I.length))return;const ee=C.info.position$.getValue();return I.find(be=>be.time>ee)},io=I=>{let ee=I;ee||(ee=to()),ee&&(ce({message:"seek to next episode"}),_i(ee.time,kt.SeekAction.EPISODE,!0))},no=()=>{const I=Rn();if(!I||[0,1].includes(I.length))return;const ee=C.info.position$.getValue(),be=I.findIndex(Ge=>Ge.time>ee),Re=be===-1?I.length-2:be-2;if(!(Re<0))return I[Re]},oo=I=>{let ee=I;ee||(ee=no()),ee&&(ce({message:"seek to prev episode"}),_i(ee.time,kt.SeekAction.EPISODE,!0))},qn=()=>(ce({message:"getting preview thumbs data"}),f),lo=async()=>{pe!=null&&pe.isActive()?await(pe==null?void 0:pe.remove()):await(pe==null?void 0:pe.request())},j=(I=-90)=>{A.update(ee=>ee+I)},mt=Be(_),sn=fi([mt],([I=[]])=>{const ee=[];for(let be=0;be<I.length;be++){const{range:[Re,Ge],subjects:st}=I[be];be===0&&Re!==0&&ee.push({time:0,text:"",interactive:!1,completed:!0}),ee.push({time:Re/1e3,text:"",interactive:!0,completed:!st.length}),Ge!==1/0&&ee.push({time:Ge/1e3,text:"",interactive:!1,completed:!0})}return ee}),an=I=>{const ee=Xe(mt);mt.set(ee.map(be=>({...be,subjects:be.subjects.filter(Re=>Re!==I)})))},kn=Be(!1),On=fi([ui,mt,kn],([I,ee,be])=>{if(!y)return!1;if(be)return!0;const Re=I*1e3,Ge=ee==null?void 0:ee.find(({range:[st,Ct],subjects:gt})=>st<Re&&Re<Ct&&gt.length);return Ge&&Xe(Mt)&&ln(),!!Ge}),To=I=>{if(!y)return I;const ee=Xe(sn),be=Xe(Zt),Ge=Xe(ui)/be,st=ee.find(Ct=>Ct.interactive&&!Ct.completed&&Ct.time>Ge);return typeof(st==null?void 0:st.time)=="number"?Math.min(I,st.time-.05):I},Uo=()=>{_t.ui.episodes.panelOpened$.set(!1)},qo=()=>{clearTimeout(cn),clearTimeout(on),ft.unsubscribe(),It.unsubscribe(),C.destroy(),re.destroy(),L==null||L.destroy(),ae==null||ae.destroy(),Me.unsubscribe()},_t={interfaceLanguage$:le,initVideo:rt,videoId:e,isClip:t,playerPhase:Ne,vsid:Le,state:{positionExact$:ht,positionWithScrubbing$:x,duration$:Zt,playbackState$:Ue,isPlaying$:vt,isLoaderVisible:pi,bufferedProgress$:ji,isLive$:zi,canChangePlaybackSpeed$:li,isActiveLive$:nt,isOldestAvailableLive$:Ft,isRewindableLive$:Oi,isEnded$:Bi,muted$:Ot,volume$:Qi,trafficSavingEnabled$:jt,autoQualityLimitingAvailable$:ri,currentQuality$:ei,isAutoQualityEnabled$:Kt,availableQualities$:Ui,currentPlaybackRate$:Yt,availablePlaybackRates$:Ht,currentSubtitle$:hi,availableSubtitlesList$:Ei,currentSubtitleCaptions$:vi,isAutoSubtitleCaptionVisible$:Xt,chromecastState$:Dt,chromecastDeviceName$:Ni,chromecastConnected$:Pi,currentFormat$:si,throughputEstimation$:Et,videoBitrate$:Ri,videoSize$:Si,errorLog$:oe,crashed$:Ce,isAudioAvailable$:Ci,isAudioDisabled:!!r,canDownload:$.features.download&&!!l,availableSources$:gi,hasMpegSources$:Ai,isInteractive:y,isInteractiveGraphEnabled:$.features.interactiveGraph,isSeekToInteractiveEnable:$.features.seekToInteractive,isPlayPrevChapterEnabled:$.features.interactivePlayPrevChapter,interactiveEpisodes$:sn,isInteractiveTime$:On,graphIsOpened$:Be(!1),isInteractiveExpectation$:kn,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:w},ui:{controlsVisible:Be(!1),touched:Be(!1),controls:{prevButton:Be(void 0),playButton:Be(void 0),replayButton:Be(void 0),nextButton:Be(void 0),playPrevChapterButton:Be(void 0),seekToInteractiveButton:Be(void 0),interactiveGraphButton:Be(void 0),liveButton:Be(void 0),time:Be(void 0),episodes:Be(void 0),volume:Be(void 0),subtitles:Be(void 0),settings:Be(void 0),context:Be(void 0),chromecast:Be(void 0),pip:Be(void 0),fullscreen:Be(void 0),vkLogo:Be(void 0),additionalButtons:R.length?R.reduce(I=>[...I,Be(void 0)],[]):[],disabledControls$:et},modals:{hotKeyMap:{show:Be(!1),data:Be({title:"",closeBtnText:"",groups:[]})}},isFullscreen:Pe,rotateAlpha:A,isAutoplay:Be(!1),contextMenuVisible:Be(!1),debugPanelVisible:Be(!1),episodes:{panelOpened$:Be(!1),openedByKeyboard$:Be(!1)},contextMenu:{btnRef$:Be(void 0),openedByKeyboard$:Be(!1),showContextMenuBtn$:Be(!1)},playerSize:ut,isMobile:J,mobileNotReportControlHidden$:hn,mobileUnmuteButtonExpanded:Be(!1),mobileUnmuteButtonVisible:Be(!1),icon3DVideoVisible:Be(!1),settingsMenuVisible:Be(!1),settingsMenuOpenedByKeyboard:Be(!1),scrubbingInProgress:Mt,is3DVideo:Be(!1),isPictureInPictureActive$:Qe,pictureInPictureType$:Sn(Ee),clientInfo$:Sn(de),currentGridType$:xi,additionalButtons$:fn,interactiveHideMobileControls:Be(!1),overlayContainer$:Be(void 0)},ads:{position:Be(0),duration:Be(0),playbackState:Be(ni.INACTIVE),canSkip:Be(!1),secondsToWatchBeforeSkip:Be(0),postrollPassed:Be(!1)},webApi:{pictureInPictureApi:pe,annotationsApi:ge},actions:{internal:{preload:Gi,firstStart:I=>eo(I,!1),pause:()=>Un(!1),togglePlay:Jt,toggleMuted:Zi,toggleSettingsMenu:Li,openSettingsMenu:Di,closeSettingsMenu:bi,setVolume:ci,setQuality:ti,setTrafficSavingEnabled:I=>Ki(I),setPlaybackRate:Ii,incrementPlaybackRate:un,decrementPlaybackRate:en,setSubtitle:Vi,toggleSubtitle:Mi,togglePictureInPicture:lo,startScrubbing:Yi,progressScrubbing:dt,completeScrubbing:vn,toggleChromecast:dn,switchToActiveLive:Kn,switchFromAdsToVideo:Qn,switchFromVideoToAds:Xn,skipAd:Yn,setWaitingLive:Jn,setWaitingRecord:xn,getDebugTextData:$n,getDebugPanelData:Co,getVideoElement:Po,seekTime:(I,ee,be)=>_i(I,ee,be),clearDelayedBufferingCheckTimeout:ai,seekEpisodeStartTime:tn,seekToPercent:Xi,getNextEpisode:to,seekToNextEpisode:io,getPrevEpisode:no,seekToPrevEpisode:oo,startLogging:Rt,stopLogging:Vt,startCameraManualRotation:me,stopCameraManualRotation:At,moveCameraFocusPX:it,holdCamera:Tt,releaseCamera:wt,getVideoEpisodes:Rn,getPreviewThumbsData:qn,downloadVideo:Wi,addLanguage:as,setLanguage:Te,nextMovie:Ve,videoRotate:j,completeInteractiveRange:an,correctSeekTimeToInteractive:To,replayInteractive:S},external:{firstStart:I=>eo(I,!0),play:()=>Nn(!0),pause:()=>Un(!0),seekTime:I=>Ji(I),seekEpisodeStartTime:I=>wi(I),setPlaybackRate:I=>te(I),setAutoQualityLimits:I=>nn(I),setMuted:I=>He(I,!0),setVolume:I=>ci(I,I,!0),returnFocusToEpisodes:Uo}},callbacks:s,setUiCallbacks:I=>{ze={...I}},getAdmanWrapper:()=>re,getLogger:()=>D,destroy:qo};return _t},ef=(i,e,t,n)=>{var o;if(!i)return;const r=i.getBoundingClientRect();for(const[l,s]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(l)){const a=(o=t[l])===null||o===void 0?void 0:o.getBoundingClientRect(),c=n&&!!a&&!!(a.right-a.left);s.set({positionStartX:0,positionEndX:0,left:c?Math.round(a.left-r.left):0,right:c?Math.round(a.right-r.left):0,top:c?Math.round(a.top-r.top):0,bottom:c?Math.round(a.bottom-r.top):0,isDisplayed:c})}};function M5(i){let e,t;return e=new _r({props:{isMobile:!0}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p:W,i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function B5(i){let e,t,n;function o(l){i[8](l)}let r={className:i[3]?"opened":"",testId:"btn-context-menu",disabled:i[0],ariaLabel:i[1],click:i[5],focus:i[6],blur:i[7],$$slots:{default:[M5]},$$scope:{ctx:i}};return i[2]!==void 0&&(r.ref=i[2]),e=new ki({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&8&&(a.className=l[3]?"opened":""),s&1&&(a.disabled=l[0]),s&2&&(a.ariaLabel=l[1]),s&8192&&(a.$$scope={dirty:s,ctx:l}),!t&&s&4&&(t=!0,a.ref=l[2],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function N5(i,e,t){let n,{disabled:o=!1}=e,{ariaLabel:r=""}=e;const l=Pt(),s=l.ui.contextMenuVisible;z(i,s,_=>t(3,n=_));const a=l.ui.contextMenu.openedByKeyboard$,c=l.ui.contextMenu.showContextMenuBtn$,f=l.ui.contextMenu.btnRef$,m=_=>{const S=hr(_);a.set(S),s.set(!n)};let h;const b=()=>{c.set(!0)},v=()=>{c.set(!1)};function y(_){h=_,t(2,h)}return i.$$set=_=>{"disabled"in _&&t(0,o=_.disabled),"ariaLabel"in _&&t(1,r=_.ariaLabel)},i.$$.update=()=>{i.$$.dirty&4&&h&&f.set(h)},[o,r,h,n,s,m,b,v,y]}class R5 extends ke{constructor(e){super(),ye(this,e,N5,B5,we,{disabled:0,ariaLabel:1})}}function O5(i){qe(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 Sa(i,e,t){const n=i.slice();return n[201]=e[t].iconUrl,n[202]=e[t].ariaLabel,n[203]=e[t].testId,n[204]=e[t].onClick,n[205]=e[t].tooltip,n}function Ca(i){let e,t,n;function o(l){i[168](l)}let r={disabled:!i[9],tooltipContent:G("tooltip_previous"),$$slots:{default:[D5]},$$scope:{ctx:i}};return i[23].prevButton!==void 0&&(r.ref=i[23].prevButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&512&&(a.disabled=!l[9]),s[0]&4608|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].prevButton,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function D5(i){let e,t;return e=new wl({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&4096&&(r.click=n[12]),o[0]&512&&(r.disabled=!n[9]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Pa(i){let e,t,n;function o(l){i[169](l)}let r={disabled:i[73],tooltipContent:G("tooltip_restart"),$$slots:{default:[z5]},$$scope:{ctx:i}};return i[23].replayButton!==void 0&&(r.ref=i[23].replayButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[2]&2048&&(a.disabled=l[73]),s[2]&2048|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].replayButton,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function z5(i){let e,t;return e=new Cr({props:{click:i[125],disabled:i[73]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&2048&&(r.disabled=n[73]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ta(i){let e,t,n;function o(l){i[170](l)}let r={tooltipContent:i[46],disabled:i[74],$$slots:{default:[F5]},$$scope:{ctx:i}};return i[23].playButton!==void 0&&(r.ref=i[23].playButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&32768&&(a.tooltipContent=l[46]),s[2]&4096&&(a.disabled=l[74]),s[1]&4|s[2]&4096|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].playButton,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function F5(i){let e,t;return e=new Sr({props:{isMobile:!1,isPlaying:i[33],click:i[85],disabled:i[74]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&4&&(r.isPlaying=n[33]),o[2]&4096&&(r.disabled=n[74]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ea(i){let e,t,n;function o(l){i[171](l)}let r={disabled:!i[8],tooltipContent:G("tooltip_next"),$$slots:{default:[H5]},$$scope:{ctx:i}};return i[23].nextButton!==void 0&&(r.ref=i[23].nextButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&256&&(a.disabled=!l[8]),s[0]&2304|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].nextButton,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function H5(i){let e,t;return e=new wl({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2048&&(r.click=n[11]),o[0]&256&&(r.disabled=!n[8]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function U5(i){let e,t,n,o,r=i[119]&&q5(i),l=i[118]&&W5(i),s=i[117]&&G5(i);return{c(){r&&r.c(),e=N(),l&&l.c(),t=N(),s&&s.c(),n=bt()},m(a,c){r&&r.m(a,c),E(a,e,c),l&&l.m(a,c),E(a,t,c),s&&s.m(a,c),E(a,n,c),o=!0},p(a,c){a[119]&&r.p(a,c),a[118]&&l.p(a,c),a[117]&&s.p(a,c)},i(a){o||(d(r),d(l),d(s),o=!0)},o(a){g(r),g(l),g(s),o=!1},d(a){a&&(P(e),P(t),P(n)),r&&r.d(a),l&&l.d(a),s&&s.d(a)}}}function q5(i){let e,t,n;function o(l){i[172](l)}let r={disabled:i[72],tooltipContent:G("tooltip_interactive_go_back"),disabledTooltipContent:G(i[121]),$$slots:{default:[j5]},$$scope:{ctx:i}};return i[23].playPrevChapterButton!==void 0&&(r.ref=i[23].playPrevChapterButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[2]&1024&&(a.disabled=l[72]),s[0]&131072|s[2]&1024|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].playPrevChapterButton,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function j5(i){let e,t;return e=new Yc({props:{disabled:i[72],click:i[17]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&1024&&(r.disabled=n[72]),o[0]&131072&&(r.click=n[17]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function W5(i){let e,t,n;function o(l){i[173](l)}let r={disabled:i[75],tooltipContent:G("tooltip_interactive_seek"),disabledTooltipContent:G(i[78]),$$slots:{default:[Z5]},$$scope:{ctx:i}};return i[23].seekToInteractiveButton!==void 0&&(r.ref=i[23].seekToInteractiveButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[2]&8192&&(a.disabled=l[75]),s[2]&65536&&(a.disabledTooltipContent=G(l[78])),s[0]&32768|s[2]&8192|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].seekToInteractiveButton,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Z5(i){let e,t;return e=new Zc({props:{disabled:i[75],click:i[15]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&8192&&(r.disabled=n[75]),o[0]&32768&&(r.click=n[15]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function G5(i){let e,t,n;function o(l){i[174](l)}let r={tooltipContent:i[47],disabled:i[76],$$slots:{default:[K5]},$$scope:{ctx:i}};return i[23].interactiveGraphButton!==void 0&&(r.ref=i[23].interactiveGraphButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.tooltipContent=l[47]),s[2]&16384&&(a.disabled=l[76]),s[0]&1073807360|s[2]&16384|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].interactiveGraphButton,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function K5(i){let e,t;return e=new Gc({props:{click:i[16],graphIsOpened:i[30],disabled:i[76]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&65536&&(r.click=n[16]),o[0]&1073741824&&(r.graphIsOpened=n[30]),o[2]&16384&&(r.disabled=n[76]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Aa(i){let e,t,n;function o(l){i[175](l)}let r={tooltipContent:i[49],$$slots:{default:[Y5]},$$scope:{ctx:i}};return i[23].liveButton!==void 0&&(r.ref=i[23].liveButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&262144&&(a.tooltipContent=l[49]),s[0]&2097152|s[1]&262144|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].liveButton,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Y5(i){let e,t;return e=new Hc({props:{isActiveLive:i[21],isMobile:!1,ariaLabel:i[49]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.isActiveLive=n[21]),o[1]&262144&&(r.ariaLabel=n[49]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function La(i){let e,t,n;function o(l){i[176](l)}let r={isMobile:!1,showDuration:i[54],position:i[4]?i[79]:i[80],duration:i[4]?i[81]:i[82]};return i[23].time!==void 0&&(r.ref=i[23].time),e=new Bc({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&8388608&&(a.showDuration=l[54]),s[0]&16|s[2]&393216&&(a.position=l[4]?l[79]:l[80]),s[0]&16|s[2]&1572864&&(a.duration=l[4]?l[81]:l[82]),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].time,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ia(i){let e,t;return e=new Wc({props:{position:i[80],duration:i[82],timeCodes:i[101]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&262144&&(r.position=n[80]),o[2]&1048576&&(r.duration=n[82]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Q5(i){let e,t,n=i[20]&&Ia(i);return{c(){n&&n.c(),e=bt()},m(o,r){n&&n.m(o,r),E(o,e,r),t=!0},p(o,r){o[20]?n?(n.p(o,r),r[0]&1048576&&d(n,1)):(n=Ia(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(he(),g(n,1,1,()=>{n=null}),ve())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function X5(i){var n;let e,t;return e=new Qc({props:{iconUrl:i[201],ariaLabel:(n=i[202])!=null?n:i[205],testId:i[203],onClick:i[204]}}),{c(){q(e.$$.fragment)},m(o,r){F(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&134217728&&(l.iconUrl=o[201]),r[0]&134217728&&(l.ariaLabel=(s=o[202])!=null?s:o[205]),r[0]&134217728&&(l.testId=o[203]),r[0]&134217728&&(l.onClick=o[204]),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){H(e,o)}}}function Va(i){let e,t;return e=new Ut({props:{tooltipContent:i[205],width:40,$$slots:{default:[X5]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&134217728&&(r.tooltipContent=n[205]),o[0]&134217728|o[6]&4194304&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ma(i){let e,t,n;function o(l){i[179](l)}let r={disabled:!i[6],tooltipContent:i[50],$$slots:{default:[J5]},$$scope:{ctx:i}};return i[23].vkLogo!==void 0&&(r.ref=i[23].vkLogo),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&64&&(a.disabled=!l[6]),s[1]&524288&&(a.tooltipContent=l[50]),s[0]&192|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].vkLogo,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function J5(i){let e,t;return e=new zc({props:{click:i[86],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&64&&(r.logoClickable=n[6]),o[0]&128&&(r.videoLogoUrl=n[7]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function x5(i){let e,t;return e=new _h({props:{isAudioAvailable:i[77],click:i[124]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&32768&&(r.isAudioAvailable=n[77]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ba(i){let e,t,n;function o(l){i[181](l)}let r={tooltipContent:i[51],$$slots:{default:[$5]},$$scope:{ctx:i}};return i[23].subtitles!==void 0&&(r.ref=i[23].subtitles),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&1048576&&(a.tooltipContent=l[51]),s[0]&262144|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].subtitles,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function $5(i){let e,t;return e=new Lp({props:{isSubtitlesEnabled:i[18],click:i[87]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&262144&&(r.isSubtitlesEnabled=n[18]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Na(i){var s;let e,t,n,o;function r(a){i[182](a)}let l={supportLink:i[10],playerControlsHeight:(s=i[45])==null?void 0:s.clientHeight,returnFocus:i[14]};return i[24]!==void 0&&(l.ref=i[24]),t=new Mc({props:l}),Se.push(()=>We(t,"ref",r)),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(a,c){E(a,e,c),F(t,e,null),o=!0},p(a,c){var m;const f={};c[0]&1024&&(f.supportLink=a[10]),c[1]&16384&&(f.playerControlsHeight=(m=a[45])==null?void 0:m.clientHeight),c[0]&16384&&(f.returnFocus=a[14]),!n&&c[0]&16777216&&(n=!0,f.ref=a[24],je(()=>n=!1)),t.$set(f)},i(a){o||(d(t.$$.fragment,a),o=!0)},o(a){g(t.$$.fragment,a),o=!1},d(a){a&&P(e),H(t)}}}function Ra(i){let e,t,n;function o(l){i[184](l)}let r={tooltipContent:i[26]?void 0:G("tooltip_settings_off"),$$slots:{default:[eg]},$$scope:{ctx:i}};return i[23].settings!==void 0&&(r.ref=i[23].settings),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&67108864&&(a.tooltipContent=l[26]?void 0:G("tooltip_settings_off")),s[0]&33554432|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].settings,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function eg(i){let e,t,n;function o(l){i[183](l)}let r={};return i[25]!==void 0&&(r.ref=i[25]),e=new wr({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&33554432&&(t=!0,a.ref=l[25],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function tg(i){let e,t,n;function o(l){i[185](l)}let r={className:i[40]?"":"out-of-view",tooltipContent:i[48],$$slots:{default:[ig]},$$scope:{ctx:i}};return i[23].context!==void 0&&(r.ref=i[23].context),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&512&&(a.className=l[40]?"":"out-of-view"),s[1]&131072&&(a.tooltipContent=l[48]),s[1]&131072|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].context,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ig(i){let e,t;return e=new R5({props:{ariaLabel:i[48]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&131072&&(r.ariaLabel=n[48]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Oa(i){let e,t,n;function o(l){i[186](l)}let r={tooltipContent:i[52],$$slots:{default:[ng]},$$scope:{ctx:i}};return i[23].fullscreen!==void 0&&(r.ref=i[23].fullscreen),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&2097152&&(a.tooltipContent=l[52]),s[0]&536879104|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].fullscreen,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ng(i){let e,t;return e=new Oc({props:{click:i[13],isFullscreen:i[29]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&8192&&(r.click=n[13]),o[0]&536870912&&(r.isFullscreen=n[29]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Da(i){let e,t,n;function o(l){i[187](l)}let r={tooltipContent:i[53],$$slots:{default:[og]},$$scope:{ctx:i}};return i[23].chromecast!==void 0&&(r.ref=i[23].chromecast),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&4194304&&(a.tooltipContent=l[53]),s[0]&268435456|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].chromecast,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function og(i){let e,t;return e=new Fc({props:{isMobile:!1,state:i[28],click:i[123]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&268435456&&(r.state=n[28]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function lg(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O,$,C;t=new jc({props:{isHidden:!i[44],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[31]}});let D=i[37]&&Ca(i),re=i[34]&&Pa(i),L=i[35]&&Ta(i),ae=i[36]&&Ea(i),pe=i[116]&&U5(i),ge=!i[4]&&i[32]&&Aa(i),ce=i[19]&&La(i);function Y(Q){i[177](Q)}let fe={className:"w-max",disabled:!i[20],tooltipContent:G("tooltip_episodes"),$$slots:{default:[Q5]},$$scope:{ctx:i}};i[23].episodes!==void 0&&(fe.ref=i[23].episodes),b=new Ut({props:fe}),Se.push(()=>We(b,"ref",Y));let ze=xt(i[27]),de=[];for(let Q=0;Q<ze.length;Q+=1)de[Q]=Va(Sa(i,ze,Q));const Le=Q=>g(de[Q],1,1,()=>{de[Q]=null});let Pe=i[42]&&Ma(i);function ue(Q){i[180](Q)}let Ee={$$slots:{default:[x5]},$$scope:{ctx:i}};i[23].volume!==void 0&&(Ee.ref=i[23].volume),R=new Ut({props:Ee}),Se.push(()=>We(R,"ref",ue));let A=i[39]&&Ba(i),oe=!i[83]&&!i[4]&&Na(i),Me=i[41]&&Ra(i),Ce=i[84].features.contextMenuButton&&tg(i),Te=i[43]&&Oa(i),le=i[38]&&Da(i);return{c(){e=T("div"),q(t.$$.fragment),n=N(),o=T("div"),r=T("div"),D&&D.c(),l=N(),re&&re.c(),s=N(),L&&L.c(),a=N(),ae&&ae.c(),c=N(),pe&&pe.c(),f=N(),ge&&ge.c(),m=N(),ce&&ce.c(),h=N(),q(b.$$.fragment),_=N(),S=T("div");for(let Q=0;Q<de.length;Q+=1)de[Q].c();k=N(),Pe&&Pe.c(),w=N(),q(R.$$.fragment),V=N(),A&&A.c(),K=N(),oe&&oe.c(),se=N(),Me&&Me.c(),ne=N(),Ce&&Ce.c(),O=N(),Te&&Te.c(),$=N(),le&&le.c(),u(r,"class","controls-left v-st0uzk"),wo(()=>i[178].call(r)),u(S,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),M(e,"hidden",i[1]),M(e,"controls-hidden",!i[3]),M(e,"no-smooth",i[2])},m(Q,U){E(Q,e,U),F(t,e,null),p(e,n),p(e,o),p(o,r),D&&D.m(r,null),p(r,l),re&&re.m(r,null),p(r,s),L&&L.m(r,null),p(r,a),ae&&ae.m(r,null),p(r,c),pe&&pe.m(r,null),p(r,f),ge&&ge.m(r,null),p(r,m),ce&&ce.m(r,null),p(r,h),F(b,r,null),y=lr(r,i[178].bind(r)),p(o,_),p(o,S);for(let Ne=0;Ne<de.length;Ne+=1)de[Ne]&&de[Ne].m(S,null);p(S,k),Pe&&Pe.m(S,null),p(S,w),F(R,S,null),p(S,V),A&&A.m(S,null),p(S,K),oe&&oe.m(S,null),p(S,se),Me&&Me.m(S,null),p(S,ne),Ce&&Ce.m(S,null),p(S,O),Te&&Te.m(S,null),p(S,$),le&&le.m(S,null),i[188](o),i[189](e),C=!0},p(Q,U){const Ne={};U[1]&8192&&(Ne.isHidden=!Q[44]),U[0]&16&&(Ne.isAds=Q[4]),U[0]&32&&(Ne.canRewindLive=Q[5]),U[1]&1&&(Ne.isRewindableLive=Q[31]),t.$set(Ne),Q[37]?D?(D.p(Q,U),U[1]&64&&d(D,1)):(D=Ca(Q),D.c(),d(D,1),D.m(r,l)):D&&(he(),g(D,1,1,()=>{D=null}),ve()),Q[34]?re?(re.p(Q,U),U[1]&8&&d(re,1)):(re=Pa(Q),re.c(),d(re,1),re.m(r,s)):re&&(he(),g(re,1,1,()=>{re=null}),ve()),Q[35]?L?(L.p(Q,U),U[1]&16&&d(L,1)):(L=Ta(Q),L.c(),d(L,1),L.m(r,a)):L&&(he(),g(L,1,1,()=>{L=null}),ve()),Q[36]?ae?(ae.p(Q,U),U[1]&32&&d(ae,1)):(ae=Ea(Q),ae.c(),d(ae,1),ae.m(r,c)):ae&&(he(),g(ae,1,1,()=>{ae=null}),ve()),Q[116]&&pe.p(Q,U),!Q[4]&&Q[32]?ge?(ge.p(Q,U),U[0]&16|U[1]&2&&d(ge,1)):(ge=Aa(Q),ge.c(),d(ge,1),ge.m(r,m)):ge&&(he(),g(ge,1,1,()=>{ge=null}),ve()),Q[19]?ce?(ce.p(Q,U),U[0]&524288&&d(ce,1)):(ce=La(Q),ce.c(),d(ce,1),ce.m(r,h)):ce&&(he(),g(ce,1,1,()=>{ce=null}),ve());const et={};if(U[0]&1048576&&(et.disabled=!Q[20]),U[0]&1048576|U[2]&1310720|U[6]&4194304&&(et.$$scope={dirty:U,ctx:Q}),!v&&U[0]&8388608&&(v=!0,et.ref=Q[23].episodes,je(()=>v=!1)),b.$set(et),U[0]&134217728){ze=xt(Q[27]);let Ze;for(Ze=0;Ze<ze.length;Ze+=1){const Ve=Sa(Q,ze,Ze);de[Ze]?(de[Ze].p(Ve,U),d(de[Ze],1)):(de[Ze]=Va(Ve),de[Ze].c(),d(de[Ze],1),de[Ze].m(S,k))}for(he(),Ze=ze.length;Ze<de.length;Ze+=1)Le(Ze);ve()}Q[42]?Pe?(Pe.p(Q,U),U[1]&2048&&d(Pe,1)):(Pe=Ma(Q),Pe.c(),d(Pe,1),Pe.m(S,w)):Pe&&(he(),g(Pe,1,1,()=>{Pe=null}),ve());const rt={};U[2]&32768|U[6]&4194304&&(rt.$$scope={dirty:U,ctx:Q}),!X&&U[0]&8388608&&(X=!0,rt.ref=Q[23].volume,je(()=>X=!1)),R.$set(rt),Q[39]?A?(A.p(Q,U),U[1]&256&&d(A,1)):(A=Ba(Q),A.c(),d(A,1),A.m(S,K)):A&&(he(),g(A,1,1,()=>{A=null}),ve()),!Q[83]&&!Q[4]?oe?(oe.p(Q,U),U[0]&16|U[2]&2097152&&d(oe,1)):(oe=Na(Q),oe.c(),d(oe,1),oe.m(S,se)):oe&&(he(),g(oe,1,1,()=>{oe=null}),ve()),Q[41]?Me?(Me.p(Q,U),U[1]&1024&&d(Me,1)):(Me=Ra(Q),Me.c(),d(Me,1),Me.m(S,ne)):Me&&(he(),g(Me,1,1,()=>{Me=null}),ve()),Q[84].features.contextMenuButton&&Ce.p(Q,U),Q[43]?Te?(Te.p(Q,U),U[1]&4096&&d(Te,1)):(Te=Oa(Q),Te.c(),d(Te,1),Te.m(S,$)):Te&&(he(),g(Te,1,1,()=>{Te=null}),ve()),Q[38]?le?(le.p(Q,U),U[1]&128&&d(le,1)):(le=Da(Q),le.c(),d(le,1),le.m(S,null)):le&&(he(),g(le,1,1,()=>{le=null}),ve()),(!C||U[0]&2)&&M(e,"hidden",Q[1]),(!C||U[0]&8)&&M(e,"controls-hidden",!Q[3]),(!C||U[0]&4)&&M(e,"no-smooth",Q[2])},i(Q){if(!C){d(t.$$.fragment,Q),d(D),d(re),d(L),d(ae),d(pe),d(ge),d(ce),d(b.$$.fragment,Q);for(let U=0;U<ze.length;U+=1)d(de[U]);d(Pe),d(R.$$.fragment,Q),d(A),d(oe),d(Me),d(Ce),d(Te),d(le),C=!0}},o(Q){g(t.$$.fragment,Q),g(D),g(re),g(L),g(ae),g(pe),g(ge),g(ce),g(b.$$.fragment,Q),de=de.filter(Boolean);for(let U=0;U<de.length;U+=1)g(de[U]);g(Pe),g(R.$$.fragment,Q),g(A),g(oe),g(Me),g(Ce),g(Te),g(le),C=!1},d(Q){Q&&P(e),H(t),D&&D.d(),re&&re.d(),L&&L.d(),ae&&ae.d(),pe&&pe.d(),ge&&ge.d(),ce&&ce.d(),H(b),y(),yn(de,Q),Pe&&Pe.d(),H(R),A&&A.d(),oe&&oe.d(),Me&&Me.d(),Ce&&Ce.d(),Te&&Te.d(),le&&le.d(),i[188](null),i[189](null)}}}function rg(i,e,t){var Ir,Vr;let n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O,$,C,D,re,L,ae,pe=W,ge=()=>(pe(),pe=ii(ne,Z=>t(139,ae=Z)),ne),ce,Y=W,fe=()=>(Y(),Y=ii(se,Z=>t(140,ce=Z)),se),ze,de=W,Le=()=>(de(),de=ii(K,Z=>t(141,ze=Z)),K),Pe,ue=W,Ee=()=>(ue(),ue=ii(V,Z=>t(142,Pe=Z)),V),A,oe=W,Me=()=>(oe(),oe=ii(X,Z=>t(143,A=Z)),X),Ce,Te=W,le=()=>(Te(),Te=ii(R,Z=>t(144,Ce=Z)),R),Q,U=W,Ne=()=>(U(),U=ii(w,Z=>t(145,Q=Z)),w),et,rt=W,Ze=()=>(rt(),rt=ii(k,Z=>t(146,et=Z)),k),Ve,Je=W,pt=()=>(Je(),Je=ii(S,Z=>t(147,Ve=Z)),S),at,Ie=W,qt=()=>(Ie(),Ie=ii(_,Z=>t(148,at=Z)),_),ft,It=W,Rt=()=>(It(),It=ii(y,Z=>t(149,ft=Z)),y),Vt,me=W,At=()=>(me(),me=ii(v,Z=>t(150,Vt=Z)),v),it,Tt=W,wt=()=>(Tt(),Tt=ii(b,Z=>t(151,it=Z)),b),ht,Qe=W,Ue=()=>(Qe(),Qe=ii(h,Z=>t(152,ht=Z)),h),yt,Bi=W,zi=()=>(Bi(),Bi=ii(m,Z=>t(153,yt=Z)),m),li,Fi=W,Qi=()=>(Fi(),Fi=ii(f,Z=>t(154,li=Z)),f),Ot,jt=W,ri=()=>(jt(),jt=ii(c,Z=>t(155,Ot=Z)),c),Wt,di,Dt,Ni,si,Et,Ri,Si,mi,Ci,zt,$t,pi,ai,Zt,vt,nt,Ft,ui,Oi,Pi,Gt,Kt;i.$$.on_destroy.push(()=>pe()),i.$$.on_destroy.push(()=>Y()),i.$$.on_destroy.push(()=>de()),i.$$.on_destroy.push(()=>ue()),i.$$.on_destroy.push(()=>oe()),i.$$.on_destroy.push(()=>Te()),i.$$.on_destroy.push(()=>U()),i.$$.on_destroy.push(()=>rt()),i.$$.on_destroy.push(()=>Je()),i.$$.on_destroy.push(()=>Ie()),i.$$.on_destroy.push(()=>It()),i.$$.on_destroy.push(()=>me()),i.$$.on_destroy.push(()=>Tt()),i.$$.on_destroy.push(()=>Qe()),i.$$.on_destroy.push(()=>Bi()),i.$$.on_destroy.push(()=>Fi()),i.$$.on_destroy.push(()=>jt());let{bottomHidden:Hi}=e,{bottomNoSmooth:ei}=e,{showControls:Ui}=e,{controlsElementRef:Yt=void 0}=e,{isAds:Ht=!1}=e,{canRewindLive:Qt}=e,{logoClickable:Ti}=e,{logoHidden:Lt}=e,{videoLogoUrl:hi}=e,{showNextPrevButtons:Ei}=e,{nextButtonActive:qi}=e,{prevButtonActive:vi}=e,{isOneVideoPlaylist:Xt=!1}=e,{supportLink:ji}=e,{customFullscreenSupported:gi=!0}=e,{playNextVideo:Ai}=e,{playPrevVideo:Oe}=e,{repeatPlaylist:Wi}=e,{toggleFullscreen:Zi}=e,{returnFocus:bi}=e,{seekToInteractive:Di}=e,{toggleGraph:Li}=e,{playPrevChapter:ci}=e;const He=Pt(),Gi=sr(),Jt=pn(),ti=He.actions.internal.toggleMuted,Ki=He.actions.internal.togglePlay,Ii=He.actions.internal.pause,un=He.actions.internal.toggleSubtitle,en=(Ir=He.callbacks)==null?void 0:Ir.onAudioDoesNotExistHint,Vi=(Vr=He.callbacks)==null?void 0:Vr.onAudioDisabledHint,Mi=He.state.duration$;z(i,Mi,Z=>t(82,Gt=Z));const _i=He.state.positionWithScrubbing$;z(i,_i,Z=>t(80,Oi=Z));const tn=He.state.playbackState$;z(i,tn,Z=>t(156,Dt=Z));const Xi=He.state.chromecastConnected$;z(i,Xi,Z=>t(83,Kt=Z));const Ji=He.state.isAudioAvailable$;z(i,Ji,Z=>t(77,O=Z));const nn=He.state.isAudioDisabled,wi=He.state.isEnded$;z(i,wi,Z=>t(164,ai=Z));const te=He.state.isLive$;z(i,te,Z=>t(32,Si=Z));const tt=He.state.isActiveLive$;z(i,tt,Z=>t(158,Et=Z));const Mt=He.state.isRewindableLive$;z(i,Mt,Z=>t(31,Ri=Z));const Yi=He.ui.isPictureInPictureActive$;z(i,Yi,Z=>t(160,Ci=Z));const dt=He.ui.pictureInPictureType$;z(i,dt,Z=>t(159,mi=Z));const on=He.ui.settingsMenuVisible;z(i,on,Z=>t(26,C=Z));const cn=He.ui.settingsMenuOpenedByKeyboard;z(i,cn,Z=>t(136,$=Z));const ln=He.ui.controls,rn=He.actions.internal.getVideoEpisodes(),vn=He.state.chromecastState$;z(i,vn,Z=>t(28,Wt=Z));const x=He.state.availableSubtitlesList$;z(i,x,Z=>t(163,pi=Z));const ut=He.state.currentSubtitle$;z(i,ut,Z=>t(165,Zt=Z));const xi=ln.disabledControls$;z(i,xi,Z=>t(167,nt=Z));const J=He.ui.contextMenuVisible;z(i,J,Z=>t(157,Ni=Z));const fn=He.ui.contextMenu.showContextMenuBtn$;z(i,fn,Z=>t(161,zt=Z));const hn=He.ui.contextMenu.openedByKeyboard$;z(i,hn,Z=>t(162,$t=Z));const Kn=He.ads.duration;z(i,Kn,Z=>t(81,Pi=Z));const Yn=He.ads.position;z(i,Yn,Z=>t(79,ui=Z));const Qn=He.ads.playbackState;z(i,Qn,Z=>t(166,vt=Z));const Xn=He.ui.isFullscreen;z(i,Xn,Z=>t(29,di=Z));const Jn=He.ui.playerSize;z(i,Jn,Z=>t(137,D=Z));const xn=He.ui.currentGridType$;z(i,xn,Z=>t(138,re=Z));const $n=He.ui.additionalButtons$;z(i,$n,Z=>t(27,L=Z));const Co=He.actions.internal.getVideoElement,Po=He.actions.internal.replayInteractive,dn=He.state.isInteractive,Un=He.state.isInteractiveGraphEnabled,Nn=He.state.isSeekToInteractiveEnable,eo=He.state.isPlayPrevChapterEnabled,Rn=He.state.graphIsOpened$;z(i,Rn,Z=>t(30,si=Z));const to=He.state.playPrevChapterDisabledTooltip,io=Gi.seekToInteractiveDisabledTooltip$;z(i,io,Z=>t(78,Ft=Z));const no=()=>He.actions.internal.toggleChromecast();let oo,qn,lo,j,mt,sn,an,kn,On,To,Uo,qo,_t,I,ee,be,Re,Ge,st,Ct,gt,yi="";const ro=(Z,kl)=>{if(!Z){t(49,yi=G("tooltip_live"));return}kl===xe.PlaybackState.PAUSED&&t(49,yi=G("tooltip_play"))};let jo,Eo,Er,Ar,Wo;const Ke={};let gn,Ao,yl,Lr;const hf=ie.throttleFn(ef,g1,{leading:!1});let Zo,Go;function vf(){nn?Vi==null||Vi():O?ti():en==null||en()}const gf=dn?Po:Xt?Ki:Wi;function bf(Z){i.$$.not_equal(Ke.prevButton,Z)&&(Ke.prevButton=Z,t(23,Ke))}function _f(Z){i.$$.not_equal(Ke.replayButton,Z)&&(Ke.replayButton=Z,t(23,Ke))}function wf(Z){i.$$.not_equal(Ke.playButton,Z)&&(Ke.playButton=Z,t(23,Ke))}function yf(Z){i.$$.not_equal(Ke.nextButton,Z)&&(Ke.nextButton=Z,t(23,Ke))}function kf(Z){i.$$.not_equal(Ke.playPrevChapterButton,Z)&&(Ke.playPrevChapterButton=Z,t(23,Ke))}function Sf(Z){i.$$.not_equal(Ke.seekToInteractiveButton,Z)&&(Ke.seekToInteractiveButton=Z,t(23,Ke))}function Cf(Z){i.$$.not_equal(Ke.interactiveGraphButton,Z)&&(Ke.interactiveGraphButton=Z,t(23,Ke))}function Pf(Z){i.$$.not_equal(Ke.liveButton,Z)&&(Ke.liveButton=Z,t(23,Ke))}function Tf(Z){i.$$.not_equal(Ke.time,Z)&&(Ke.time=Z,t(23,Ke))}function Ef(Z){i.$$.not_equal(Ke.episodes,Z)&&(Ke.episodes=Z,t(23,Ke))}function Af(){Wo=this.clientWidth,t(22,Wo)}function Lf(Z){i.$$.not_equal(Ke.vkLogo,Z)&&(Ke.vkLogo=Z,t(23,Ke))}function If(Z){i.$$.not_equal(Ke.volume,Z)&&(Ke.volume=Z,t(23,Ke))}function Vf(Z){i.$$.not_equal(Ke.subtitles,Z)&&(Ke.subtitles=Z,t(23,Ke))}function Mf(Z){Zo=Z,t(24,Zo)}function Bf(Z){Go=Z,t(25,Go)}function Nf(Z){i.$$.not_equal(Ke.settings,Z)&&(Ke.settings=Z,t(23,Ke))}function Rf(Z){i.$$.not_equal(Ke.context,Z)&&(Ke.context=Z,t(23,Ke))}function Of(Z){i.$$.not_equal(Ke.fullscreen,Z)&&(Ke.fullscreen=Z,t(23,Ke))}function Df(Z){i.$$.not_equal(Ke.chromecast,Z)&&(Ke.chromecast=Z,t(23,Ke))}function zf(Z){Se[Z?"unshift":"push"](()=>{Re=Z,t(45,Re)})}function Ff(Z){Se[Z?"unshift":"push"](()=>{Yt=Z,t(0,Yt)})}return i.$$set=Z=>{"bottomHidden"in Z&&t(1,Hi=Z.bottomHidden),"bottomNoSmooth"in Z&&t(2,ei=Z.bottomNoSmooth),"showControls"in Z&&t(3,Ui=Z.showControls),"controlsElementRef"in Z&&t(0,Yt=Z.controlsElementRef),"isAds"in Z&&t(4,Ht=Z.isAds),"canRewindLive"in Z&&t(5,Qt=Z.canRewindLive),"logoClickable"in Z&&t(6,Ti=Z.logoClickable),"logoHidden"in Z&&t(126,Lt=Z.logoHidden),"videoLogoUrl"in Z&&t(7,hi=Z.videoLogoUrl),"showNextPrevButtons"in Z&&t(127,Ei=Z.showNextPrevButtons),"nextButtonActive"in Z&&t(8,qi=Z.nextButtonActive),"prevButtonActive"in Z&&t(9,vi=Z.prevButtonActive),"isOneVideoPlaylist"in Z&&t(128,Xt=Z.isOneVideoPlaylist),"supportLink"in Z&&t(10,ji=Z.supportLink),"customFullscreenSupported"in Z&&t(129,gi=Z.customFullscreenSupported),"playNextVideo"in Z&&t(11,Ai=Z.playNextVideo),"playPrevVideo"in Z&&t(12,Oe=Z.playPrevVideo),"repeatPlaylist"in Z&&t(130,Wi=Z.repeatPlaylist),"toggleFullscreen"in Z&&t(13,Zi=Z.toggleFullscreen),"returnFocus"in Z&&t(14,bi=Z.returnFocus),"seekToInteractive"in Z&&t(15,Di=Z.seekToInteractive),"toggleGraph"in Z&&t(16,Li=Z.toggleGraph),"playPrevChapter"in Z&&t(17,ci=Z.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[5]&4096&&t(135,n=nt.has(ct.EPISODE_BUTTON)),i.$$.dirty[5]&4096&&t(76,o=nt.has(ct.GRAPH_BUTTON)),i.$$.dirty[5]&4096&&t(75,r=nt.has(ct.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[5]&4096&&t(74,l=nt.has(ct.PLAY_BUTTON)),i.$$.dirty[5]&4096&&t(73,s=nt.has(ct.REPLAY_BUTTON)),i.$$.dirty[5]&4096&&t(72,a=nt.has(ct.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[5]&2050&&t(33,oo=Ht?vt===ni.PLAYING:Dt===xe.PlaybackState.PLAYING),i.$$.dirty[5]&1024&&t(18,qn=Zt.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[5]&512&&t(34,lo=ai&&!Ht||dn),i.$$.dirty[0]&16|i.$$.dirty[5]&512&&t(35,j=!ai||dn||Ht),i.$$.dirty[4]&16384&&t(131,mt=bn(re,exports.GridTypes.M)),i.$$.dirty[0]&272|i.$$.dirty[4]&16392&&t(36,sn=Ei&&bn(re,exports.GridTypes.M)&&!Ht&&qi),i.$$.dirty[0]&528|i.$$.dirty[4]&16392&&t(37,an=Ei&&bn(re,exports.GridTypes.M)&&!Ht&&vi),i.$$.dirty[0]&268435456|i.$$.dirty[4]&16384|i.$$.dirty[5]&48&&t(38,kn=Wt!==xe.ChromecastState.NOT_AVAILABLE&&!(Ci&&mi===En.DocumentPictureInPicture)&&bn(re,exports.GridTypes.M)&&!dn),i.$$.dirty[4]&16384|i.$$.dirty[5]&256&&t(39,On=pi.length>0&&bn(re,exports.GridTypes.M)),i.$$.dirty[5]&192&&t(40,To=$t||zt),i.$$.dirty[4]&16384&&t(41,Uo=bn(re,exports.GridTypes.S)),i.$$.dirty[4]&4&&t(42,qo=!Lt),i.$$.dirty[4]&16420|i.$$.dirty[5]&48&&t(43,_t=Jt.features.fullscreen&&(Lt||bn(re,exports.GridTypes.S))&&!(Ci&&mi===En.DocumentPictureInPicture)&&(dn?gi:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&2&&t(19,I=(!Si||Ht)&&!(Jt.features.interactiveHideTime&&dn)),i.$$.dirty[4]&8192&&t(44,ee=D.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&2|i.$$.dirty[4]&2176&&t(20,be=!Ht&&!Si&&!!(rn!=null&&rn.length)&&mt&&!n),i.$$.dirty[1]&1|i.$$.dirty[5]&8&&t(21,Ge=!Ri||Et),i.$$.dirty[5]&2&&t(46,st=Dt===xe.PlaybackState.PLAYING?G("tooltip_pause"):G("tooltip_play")),i.$$.dirty[0]&1073741824&&t(47,Ct=G(si?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[5]&4&&t(48,gt=G(Ni?"aria_label_context_menu_close":"aria_label_context_menu_open")),i.$$.dirty[0]&2097152|i.$$.dirty[5]&2&&ro(Ge,Dt),i.$$.dirty[0]&262144&&t(51,Eo=G(qn?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[0]&536870912&&t(52,Er=G(di?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[0]&268435456&&t(53,Ar=Wt===xe.ChromecastState.CONNECTED?G("tooltip_chromecast_on"):G("tooltip_chromecast_off")),i.$$.dirty[0]&134217728|i.$$.dirty[4]&2147450880|i.$$.dirty[5]&1&&t(132,gn={prevButton:Ot?Ot.right-Ot.left:0,replayButton:li?li.right-li.left:0,playButton:yt?yt.right-yt.left:0,nextButton:ht?ht.right-ht.left:0,playPrevChapterButton:it?it.right-it.left:0,seekToInteractiveButton:Vt?Vt.right-Vt.left:0,interactiveGraphButton:ft?ft.right-ft.left:0,liveButton:at?at.right-at.left:0,time:Ve?Ve.right-Ve.left:0,episodes:et?et.right-et.left:0,vkLogo:Q?Q.right-Q.left:0,volume:Ce?Ce.right-Ce.left:0,subtitles:A?A.right-A.left:0,settings:Pe?Pe.right-Pe.left:0,context:ze?ze.right-ze.left:0,fullscreen:ce?ce.right-ce.left:0,chromecast:ae?ae.right-ae.left:0,additionalButtons:L.length?L.reduce(Z=>[...Z,40],[]):[]}),i.$$.dirty[4]&768&&(!Ao||Ao<gn.time)&&t(133,Ao=gn.time),i.$$.dirty[0]&5767168|i.$$.dirty[4]&17152){let Z=0;be&&(bn(re,exports.GridTypes.XL)?Z=gn.time:Z=p0);const kl=gn.prevButton+gn.playButton+gn.nextButton+gn.seekToInteractiveButton+gn.interactiveGraphButton+gn.liveButton+Ao+Z;t(134,yl=I&&Wo>=kl)}i.$$.dirty[4]&17408&&t(54,Lr=yl&&bn(re,exports.GridTypes.M)),i.$$.dirty[0]&8388616|i.$$.dirty[4]&8192&&hf(Co(),ln,Ke,Ui),i.$$.dirty[0]&100663296&&vr(Go,C,cn),i.$$.dirty[0]&83886080|i.$$.dirty[4]&4096&&gr(Zo,C,$)},t(50,jo=Jt.logoType===yo.VK_VIDEO?G("tooltip_vk_video_logo"):G("tooltip_vk_logo")),ri(t(71,{prevButton:c,replayButton:f,playButton:m,nextButton:h,playPrevChapterButton:b,seekToInteractiveButton:v,interactiveGraphButton:y,liveButton:_,time:S,episodes:k,vkLogo:w,volume:R,subtitles:X,settings:V,context:K,fullscreen:se,chromecast:ne}=ln,c,Qi(t(70,f)),zi(t(69,m)),Ue(t(68,h)),wt(t(67,b)),At(t(66,v)),Rt(t(65,y)),qt(t(64,_)),pt(t(63,S)),Ze(t(62,k)),Ne(t(61,w)),le(t(60,R)),Me(t(59,X)),Ee(t(58,V)),Le(t(57,K)),fe(t(56,se)),ge(t(55,ne)))),[Yt,Hi,ei,Ui,Ht,Qt,Ti,hi,qi,vi,ji,Ai,Oe,Zi,bi,Di,Li,ci,qn,I,be,Ge,Wo,Ke,Zo,Go,C,L,Wt,di,si,Ri,Si,oo,lo,j,sn,an,kn,On,To,Uo,qo,_t,ee,Re,st,Ct,gt,yi,jo,Eo,Er,Ar,Lr,ne,se,K,V,X,R,w,k,S,_,y,v,b,h,m,f,c,a,s,l,r,o,O,Ft,ui,Oi,Pi,Gt,Kt,Jt,Ki,Ii,un,Mi,_i,tn,Xi,Ji,wi,te,tt,Mt,Yi,dt,on,cn,rn,vn,x,ut,xi,J,fn,hn,Kn,Yn,Qn,Xn,Jn,xn,$n,dn,Un,Nn,eo,Rn,to,io,no,vf,gf,Lt,Ei,Xt,gi,Wi,mt,gn,Ao,yl,n,$,D,re,ae,ce,ze,Pe,A,Ce,Q,et,Ve,at,ft,Vt,it,ht,yt,li,Ot,Dt,Ni,Et,mi,Ci,zt,$t,pi,ai,Zt,vt,nt,bf,_f,wf,yf,kf,Sf,Cf,Pf,Tf,Ef,Af,Lf,If,Vf,Mf,Bf,Nf,Rf,Of,Df,zf,Ff]}class sg extends ke{constructor(e){super(),ye(this,e,rg,lg,we,{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},O5,[-1,-1,-1,-1,-1,-1,-1])}}function ag(i){let e,t,n,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("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(r,l){E(r,e,l),p(e,t),p(t,n),p(t,o)},p:W,i:W,o:W,d(r){r&&P(e)}}}class ug extends ke{constructor(e){super(),ye(this,e,null,ag,we,{})}}function cg(i){qe(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 za(i){let e;return{c(){e=T("span"),e.textContent=`${G("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){E(t,e,n)},p:W,d(t){t&&P(e)}}}function fg(i){let e,t,n,o;var r=i[4];function l(a){return{}}r&&(t=Cn(r,l()));let s=i[1]&&za();return{c(){e=T("div"),t&&q(t.$$.fragment),n=N(),s&&s.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),M(e,"expanded",i[1])},m(a,c){E(a,e,c),t&&F(t,e,null),p(e,n),s&&s.m(e,null),o=!0},p(a,c){if(c&16&&r!==(r=a[4])){if(t){he();const f=t;g(f.$$.fragment,1,0,()=>{H(f,1)}),ve()}r?(t=Cn(r,l()),q(t.$$.fragment),d(t.$$.fragment,1),F(t,e,n)):t=null}a[1]?s?s.p(a,c):(s=za(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!o||c&2)&&M(e,"expanded",a[1])},i(a){o||(t&&d(t.$$.fragment,a),o=!0)},o(a){t&&g(t.$$.fragment,a),o=!1},d(a){a&&P(e),t&&H(t),s&&s.d()}}}function dg(i){let e,t,n;function o(l){i[6](l)}let r={testId:i[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[2],ariaLabel:i[3],$$slots:{default:[fg]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new ki({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.testId=l[1]?"btn-mobile-unmuted":"btn-mobile-muted"),s&4&&(a.click=l[2]),s&8&&(a.ariaLabel=l[3]),s&146&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function mg(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:r=ie.noop}=e,{ref:l=void 0}=e,s,a;function c(f){l=f,t(0,l)}return i.$$set=f=>{"muted"in f&&t(5,n=f.muted),"expanded"in f&&t(1,o=f.expanded),"click"in f&&t(2,r=f.click),"ref"in f&&t(0,l=f.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,s=G(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&2&&t(4,a=o?_l:ug)},[l,o,r,s,a,n,c]}class tf extends ke{constructor(e){super(),ye(this,e,mg,dg,we,{muted:5,expanded:1,click:2,ref:0},cg)}}function pg(i){let e,t,n,o;return{c(){e=B("svg"),t=B("path"),n=B("path"),o=B("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"),M(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"),M(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(r,l){E(r,e,l),p(e,t),p(e,n),p(e,o)},p(r,[l]){l&2&&u(t,"fill",r[1]),l&2&&u(n,"fill",r[1]),l&1&&M(n,"hidden",!r[0]),l&2&&u(o,"fill",r[1]),l&1&&M(o,"hidden",r[0])},i:W,o:W,d(r){r&&P(e)}}}function hg(i,e,t){let n,{isActive:o=!1}=e;return i.$$set=r=>{"isActive"in r&&t(0,o=r.isActive)},i.$$.update=()=>{i.$$.dirty&1&&t(1,n=o?"#2688EB":"#fff")},[o,n]}class vg extends ke{constructor(e){super(),ye(this,e,hg,pg,we,{isActive:0})}}function gg(i){let e,t;return e=new vg({props:{isActive:i[1]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isActive=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function bg(i){let e,t,n;function o(l){i[3](l)}let r={testId:"btn-pip",ariaLabel:G("menu_pip"),click:i[2],$$slots:{default:[gg]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new ki({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&4&&(a.click=l[2]),s&18&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function _g(i,e,t){let{ref:n=void 0}=e,{isPictureInPictureActive:o=!1}=e,{click:r=ie.noop}=e;function l(s){n=s,t(0,n)}return i.$$set=s=>{"ref"in s&&t(0,n=s.ref),"isPictureInPictureActive"in s&&t(1,o=s.isPictureInPictureActive),"click"in s&&t(2,r=s.click)},[n,o,r,l]}class wg extends ke{constructor(e){super(),ye(this,e,_g,bg,we,{ref:0,isPictureInPictureActive:1,click:2})}}function yg(i){qe(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 Fa(i,e,t){const n=i.slice();return n[153]=e[t].iconUrl,n[154]=e[t].ariaLabel,n[155]=e[t].testId,n[156]=e[t].onClick,n[157]=e[t].tooltip,n}function Ha(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k=(!i[51]||i[53])&&Ua(i),w=xt(i[56]),R=[];for(let L=0;L<w.length;L+=1)R[L]=qa(Fa(i,w,L));const X=L=>g(R[L],1,1,()=>{R[L]=null});let V=i[36]&&ja(i),K=i[37]&&Wa(i),se=i[57]&&Za(i),ne=i[39]&&Ga(i),O=i[8]&&Ka(i),$=i[34]&&Ya(i),C=i[33]&&Qa(i),D=i[8]&&Xa(i),re=i[95]&&!i[29]&&Ja(i);return{c(){e=T("div"),t=N(),n=T("div"),k&&k.c(),o=N(),r=T("div");for(let L=0;L<R.length;L+=1)R[L].c();l=N(),V&&V.c(),s=N(),K&&K.c(),a=N(),se&&se.c(),c=N(),ne&&ne.c(),f=N(),m=T("div"),O&&O.c(),h=N(),$&&$.c(),b=N(),C&&C.c(),v=N(),D&&D.c(),y=N(),re&&re.c(),_=bt(),u(e,"class","overlay-mobile v-1tcstu3"),M(e,"hidden",!i[42]),u(n,"class","wrapper-top-left v-1tcstu3"),M(n,"hidden",!i[3]),M(n,"fullscreen",i[52]),u(r,"class","wrapper-top-right v-1tcstu3"),M(r,"hidden",!i[3]&&!i[27]),M(r,"fullscreen",i[52]),u(m,"class","wrapper-middle v-1tcstu3"),M(m,"hidden",!i[3]||i[29])},m(L,ae){E(L,e,ae),E(L,t,ae),E(L,n,ae),k&&k.m(n,null),E(L,o,ae),E(L,r,ae);for(let pe=0;pe<R.length;pe+=1)R[pe]&&R[pe].m(r,null);p(r,l),V&&V.m(r,null),p(r,s),K&&K.m(r,null),p(r,a),se&&se.m(r,null),p(r,c),ne&&ne.m(r,null),E(L,f,ae),E(L,m,ae),O&&O.m(m,null),p(m,h),$&&$.m(m,null),p(m,b),C&&C.m(m,null),p(m,v),D&&D.m(m,null),E(L,y,ae),re&&re.m(L,ae),E(L,_,ae),S=!0},p(L,ae){if((!S||ae[1]&2048)&&M(e,"hidden",!L[42]),!L[51]||L[53]?k?(k.p(L,ae),ae[1]&5242880&&d(k,1)):(k=Ua(L),k.c(),d(k,1),k.m(n,null)):k&&(he(),g(k,1,1,()=>{k=null}),ve()),(!S||ae[0]&8)&&M(n,"hidden",!L[3]),(!S||ae[1]&2097152)&&M(n,"fullscreen",L[52]),ae[1]&33554432){w=xt(L[56]);let pe;for(pe=0;pe<w.length;pe+=1){const ge=Fa(L,w,pe);R[pe]?(R[pe].p(ge,ae),d(R[pe],1)):(R[pe]=qa(ge),R[pe].c(),d(R[pe],1),R[pe].m(r,l))}for(he(),pe=w.length;pe<R.length;pe+=1)X(pe);ve()}L[36]?V?(V.p(L,ae),ae[1]&32&&d(V,1)):(V=ja(L),V.c(),d(V,1),V.m(r,s)):V&&(he(),g(V,1,1,()=>{V=null}),ve()),L[37]?K?(K.p(L,ae),ae[1]&64&&d(K,1)):(K=Wa(L),K.c(),d(K,1),K.m(r,a)):K&&(he(),g(K,1,1,()=>{K=null}),ve()),L[57]?se?(se.p(L,ae),ae[1]&67108864&&d(se,1)):(se=Za(L),se.c(),d(se,1),se.m(r,c)):se&&(he(),g(se,1,1,()=>{se=null}),ve()),L[39]?ne?(ne.p(L,ae),ae[1]&256&&d(ne,1)):(ne=Ga(L),ne.c(),d(ne,1),ne.m(r,null)):ne&&(he(),g(ne,1,1,()=>{ne=null}),ve()),(!S||ae[0]&134217736)&&M(r,"hidden",!L[3]&&!L[27]),(!S||ae[1]&2097152)&&M(r,"fullscreen",L[52]),L[8]?O?(O.p(L,ae),ae[0]&256&&d(O,1)):(O=Ka(L),O.c(),d(O,1),O.m(m,h)):O&&(he(),g(O,1,1,()=>{O=null}),ve()),L[34]?$?($.p(L,ae),ae[1]&8&&d($,1)):($=Ya(L),$.c(),d($,1),$.m(m,b)):$&&(he(),g($,1,1,()=>{$=null}),ve()),L[33]?C?(C.p(L,ae),ae[1]&4&&d(C,1)):(C=Qa(L),C.c(),d(C,1),C.m(m,v)):C&&(he(),g(C,1,1,()=>{C=null}),ve()),L[8]?D?(D.p(L,ae),ae[0]&256&&d(D,1)):(D=Xa(L),D.c(),d(D,1),D.m(m,null)):D&&(he(),g(D,1,1,()=>{D=null}),ve()),(!S||ae[0]&536870920)&&M(m,"hidden",!L[3]||L[29]),L[95]&&!L[29]?re?(re.p(L,ae),ae[0]&536870912&&d(re,1)):(re=Ja(L),re.c(),d(re,1),re.m(_.parentNode,_)):re&&(he(),g(re,1,1,()=>{re=null}),ve())},i(L){if(!S){d(k);for(let ae=0;ae<w.length;ae+=1)d(R[ae]);d(V),d(K),d(se),d(ne),d(O),d($),d(C),d(D),d(re),S=!0}},o(L){g(k),R=R.filter(Boolean);for(let ae=0;ae<R.length;ae+=1)g(R[ae]);g(V),g(K),g(se),g(ne),g(O),g($),g(C),g(D),g(re),S=!1},d(L){L&&(P(e),P(t),P(n),P(o),P(r),P(f),P(m),P(y),P(_)),k&&k.d(),yn(R,L),V&&V.d(),K&&K.d(),se&&se.d(),ne&&ne.d(),O&&O.d(),$&&$.d(),C&&C.d(),D&&D.d(),re&&re.d(L)}}}function Ua(i){let e,t,n;function o(l){i[119](l)}let r={muted:i[54],expanded:i[51]&&!i[70]&&i[55],click:i[102]};return i[20].volume!==void 0&&(r.ref=i[20].volume),e=new tf({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&8388608&&(a.muted=l[54]),s[1]&17825792&&(a.expanded=l[51]&&!l[70]&&l[55]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].volume,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function qa(i){var n;let e,t;return e=new Qc({props:{iconUrl:i[153],ariaLabel:(n=i[154])!=null?n:i[157],testId:i[155],onClick:i[156]}}),{c(){q(e.$$.fragment)},m(o,r){F(e,o,r),t=!0},p(o,r){var s;const l={};r[1]&33554432&&(l.iconUrl=o[153]),r[1]&33554432&&(l.ariaLabel=(s=o[154])!=null?s:o[157]),r[1]&33554432&&(l.testId=o[155]),r[1]&33554432&&(l.onClick=o[156]),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){H(e,o)}}}function ja(i){let e,t,n;function o(l){i[120](l)}let r={isMobile:!0,click:i[100],state:i[28]};return i[20].chromecast!==void 0&&(r.ref=i[20].chromecast),e=new Fc({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&268435456&&(a.state=l[28]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].chromecast,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Wa(i){let e,t,n;function o(l){i[121](l)}let r={click:i[101],isPictureInPictureActive:i[26]};return i[20].pip!==void 0&&(r.ref=i[20].pip),e=new wg({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&67108864&&(a.isPictureInPictureActive=l[26]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].pip,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Za(i){let e,t,n;function o(l){i[122](l)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new wr({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=l[22],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ga(i){let e,t,n;function o(l){i[123](l)}let r={click:i[64],logoClickable:i[6],videoLogoUrl:i[7]};return i[20].vkLogo!==void 0&&(r.ref=i[20].vkLogo),e=new zc({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&64&&(a.logoClickable=l[6]),s[0]&128&&(a.videoLogoUrl=l[7]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].vkLogo,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ka(i){let e,t,n;function o(l){i[124](l)}let r={click:i[13],type:"prev",disabled:!i[10],isMobile:!0};return i[20].prevButton!==void 0&&(r.ref=i[20].prevButton),e=new wl({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&8192&&(a.click=l[13]),s[0]&1024&&(a.disabled=!l[10]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].prevButton,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ya(i){let e,t,n;function o(l){i[125](l)}let r={disabled:i[48],click:i[63],isMobile:!0,isPlaying:i[31]};return i[20].playButton!==void 0&&(r.ref=i[20].playButton),e=new Sr({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&131072&&(a.disabled=l[48]),s[1]&1&&(a.isPlaying=l[31]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].playButton,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Qa(i){let e,t,n;function o(l){i[126](l)}let r={disabled:i[47],click:i[103],isMobile:!0};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new Cr({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.disabled=l[47]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].replayButton,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Xa(i){let e,t,n;function o(l){i[127](l)}let r={click:i[12],type:"next",disabled:!i[9],isMobile:!0};return i[20].nextButton!==void 0&&(r.ref=i[20].nextButton),e=new wl({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&4096&&(a.click=l[12]),s[0]&512&&(a.disabled=!l[9]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].nextButton,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ja(i){let e,t,n,o,r=i[98]&&kg(i),l=i[96]&&Sg(i),s=i[97]&&Cg(i);return{c(){r&&r.c(),e=N(),l&&l.c(),t=N(),s&&s.c(),n=bt()},m(a,c){r&&r.m(a,c),E(a,e,c),l&&l.m(a,c),E(a,t,c),s&&s.m(a,c),E(a,n,c),o=!0},p(a,c){a[98]&&r.p(a,c),a[96]&&l.p(a,c),a[97]&&s.p(a,c)},i(a){o||(d(r),d(l),d(s),o=!0)},o(a){g(r),g(l),g(s),o=!1},d(a){a&&(P(e),P(t),P(n)),r&&r.d(a),l&&l.d(a),s&&s.d(a)}}}function kg(i){let e,t,n;return t=new Yc({props:{hidden:!i[3],disabled:i[46],click:i[18]}}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),M(e,"fullscreen",i[52]),M(e,"hidden",!i[3])},m(o,r){E(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r[0]&8&&(l.hidden=!o[3]),r[1]&32768&&(l.disabled=o[46]),r[0]&262144&&(l.click=o[18]),t.$set(l),(!n||r[1]&2097152)&&M(e,"fullscreen",o[52]),(!n||r[0]&8)&&M(e,"hidden",!o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Sg(i){let e,t,n,o;function r(s){i[128](s)}let l={hidden:!i[3]&&!i[58],disabled:i[50],click:i[17],graphIsOpened:i[58]};return i[20].interactiveGraphButton!==void 0&&(l.ref=i[20].interactiveGraphButton),t=new Gc({props:l}),Se.push(()=>We(t,"ref",r)),{c(){e=T("div"),q(t.$$.fragment),u(e,"class",Yf(i[98]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),M(e,"fullscreen",i[52]),M(e,"hidden",!i[3]&&!i[58])},m(s,a){E(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[0]&8|a[1]&134217728&&(c.hidden=!s[3]&&!s[58]),a[1]&524288&&(c.disabled=s[50]),a[0]&131072&&(c.click=s[17]),a[1]&134217728&&(c.graphIsOpened=s[58]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].interactiveGraphButton,je(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&M(e,"fullscreen",s[52]),(!o||a[0]&8|a[1]&134217728)&&M(e,"hidden",!s[3]&&!s[58])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function Cg(i){let e,t,n,o;function r(s){i[129](s)}let l={hidden:!i[3],disabled:i[49],click:i[16]};return i[20].seekToInteractiveButton!==void 0&&(l.ref=i[20].seekToInteractiveButton),t=new Zc({props:l}),Se.push(()=>We(t,"ref",r)),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),M(e,"fullscreen",i[52]),M(e,"hidden",!i[3])},m(s,a){E(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[0]&8&&(c.hidden=!s[3]),a[1]&262144&&(c.disabled=s[49]),a[0]&65536&&(c.click=s[16]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].seekToInteractiveButton,je(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&M(e,"fullscreen",s[52]),(!o||a[0]&8)&&M(e,"hidden",!s[3])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function xa(i){let e,t,n,o,r,l=i[53]&&$a(i),s=i[32]&&eu(i);return o=new qc({props:{position:i[59],duration:i[60]}}),{c(){l&&l.c(),e=N(),s&&s.c(),t=N(),n=T("div"),q(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),M(n,"fullscreen",i[52])},m(a,c){l&&l.m(a,c),E(a,e,c),s&&s.m(a,c),E(a,t,c),E(a,n,c),F(o,n,null),r=!0},p(a,c){a[53]?l?(l.p(a,c),c[1]&4194304&&d(l,1)):(l=$a(a),l.c(),d(l,1),l.m(e.parentNode,e)):l&&(he(),g(l,1,1,()=>{l=null}),ve()),a[32]?s?(s.p(a,c),c[1]&2&&d(s,1)):(s=eu(a),s.c(),d(s,1),s.m(t.parentNode,t)):s&&(he(),g(s,1,1,()=>{s=null}),ve());const f={};c[1]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),o.$set(f),(!r||c[1]&2097152)&&M(n,"fullscreen",a[52])},i(a){r||(d(l),d(s),d(o.$$.fragment,a),r=!0)},o(a){g(l),g(s),g(o.$$.fragment,a),r=!1},d(a){a&&(P(e),P(t),P(n)),l&&l.d(a),s&&s.d(a),H(o)}}}function $a(i){let e,t,n,o;function r(s){i[130](s)}let l={muted:i[54],expanded:!1,click:i[102]};return i[20].volume!==void 0&&(l.ref=i[20].volume),t=new tf({props:l}),Se.push(()=>We(t,"ref",r)),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),M(e,"fullscreen",i[52])},m(s,a){E(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[1]&8388608&&(c.muted=s[54]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].volume,je(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&M(e,"fullscreen",s[52])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function eu(i){let e,t,n,o;function r(s){i[131](s)}let l={disabled:i[48],click:i[63],isMobile:!0,isPlaying:!i[32]};return i[20].playButton!==void 0&&(l.ref=i[20].playButton),t=new Sr({props:l}),Se.push(()=>We(t,"ref",r)),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(s,a){E(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[1]&131072&&(c.disabled=s[48]),a[1]&2&&(c.isPlaying=!s[32]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].playButton,je(()=>n=!1)),t.$set(c)},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function Pg(i){let e,t,n;function o(l){i[132](l)}let r={disabled:i[47],$$slots:{default:[Tg]},$$scope:{ctx:i}};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.disabled=l[47]),s[1]&65536|s[5]&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].replayButton,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Tg(i){let e,t;return e=new Cr({props:{disabled:i[47],click:i[94]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&65536&&(r.disabled=n[47]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function tu(i){let e,t,n;function o(l){i[133](l)}let r={$$slots:{default:[Eg]},$$scope:{ctx:i}};return i[20].liveButton!==void 0&&(r.ref=i[20].liveButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&524288|s[1]&16384|s[5]&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].liveButton,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Eg(i){let e,t;return e=new Hc({props:{isActiveLive:i[19],isMobile:!0,ariaLabel:i[45]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&524288&&(r.isActiveLive=n[19]),o[1]&16384&&(r.ariaLabel=n[45]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function iu(i){let e,t,n;function o(l){i[134](l)}let r={showDuration:i[35],position:i[4]?i[59]:i[61],duration:i[4]?i[60]:i[62],isMobile:!0};return i[20].time!==void 0&&(r.ref=i[20].time),e=new Bc({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&16&&(a.showDuration=l[35]),s[0]&16|s[1]&1342177280&&(a.position=l[4]?l[59]:l[61]),s[0]&16|s[1]&536870912|s[2]&1&&(a.duration=l[4]?l[60]:l[62]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].time,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function nu(i){let e,t,n,o;return n=new Wc({props:{position:i[61],duration:i[62],timeCodes:i[84]}}),{c(){e=T("div"),e.textContent="\xB7",t=N(),q(n.$$.fragment),u(e,"aria-hidden","true")},m(r,l){E(r,e,l),E(r,t,l),F(n,r,l),o=!0},p(r,l){const s={};l[1]&1073741824&&(s.position=r[61]),l[2]&1&&(s.duration=r[62]),n.$set(s)},i(r){o||(d(n.$$.fragment,r),o=!0)},o(r){g(n.$$.fragment,r),o=!1},d(r){r&&(P(e),P(t)),H(n,r)}}}function Ag(i){let e,t,n=i[43]&&nu(i);return{c(){n&&n.c(),e=bt()},m(o,r){n&&n.m(o,r),E(o,e,r),t=!0},p(o,r){o[43]?n?(n.p(o,r),r[1]&4096&&d(n,1)):(n=nu(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(he(),g(n,1,1,()=>{n=null}),ve())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function ou(i){let e,t,n;function o(l){i[137](l)}let r={$$slots:{default:[Lg]},$$scope:{ctx:i}};return i[20].settings!==void 0&&(r.ref=i[20].settings),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&4194304|s[5]&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].settings,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Lg(i){let e,t,n;function o(l){i[136](l)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new wr({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=l[22],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function lu(i){let e,t,n;function o(l){i[138](l)}let r={$$slots:{default:[Ig]},$$scope:{ctx:i}};return i[20].fullscreen!==void 0&&(r.ref=i[20].fullscreen),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&16384|s[1]&2097152|s[5]&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].fullscreen,je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ig(i){let e,t;return e=new Oc({props:{click:i[14],isFullscreen:i[52]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&16384&&(r.click=n[14]),o[1]&2097152&&(r.isFullscreen=n[52]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ru(i){let e,t,n,o;function r(s){i[141](s)}let l={supportLink:i[11],returnFocus:i[15]};return i[21]!==void 0&&(l.ref=i[21]),t=new Mc({props:l}),Se.push(()=>We(t,"ref",r)),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(s,a){E(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[0]&2048&&(c.supportLink=s[11]),a[0]&32768&&(c.returnFocus=s[15]),!n&&a[0]&2097152&&(n=!0,c.ref=s[21],je(()=>n=!1)),t.$set(c)},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function Vg(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k=!i[4]&&Ha(i),w=i[4]&&i[30]!==ni.INACTIVE&&xa(i),R=i[95]&&Pg(i),X=!i[4]&&i[25]&&tu(i),V=i[41]&&iu(i);function K(C){i[135](C)}let se={className:"w-max",disabled:!i[43],$$slots:{default:[Ag]},$$scope:{ctx:i}};i[20].episodes!==void 0&&(se.ref=i[20].episodes),c=new Ut({props:se}),Se.push(()=>We(c,"ref",K));let ne=i[38]&&ou(i),O=i[40]&&lu(i);v=new jc({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[24]}});let $=i[23]&&ru(i);return{c(){k&&k.c(),e=N(),w&&w.c(),t=N(),n=T("div"),o=T("div"),r=T("div"),R&&R.c(),l=N(),X&&X.c(),s=N(),V&&V.c(),a=N(),q(c.$$.fragment),m=N(),ne&&ne.c(),h=N(),O&&O.c(),b=N(),q(v.$$.fragment),y=N(),$&&$.c(),_=bt(),u(r,"class","controls v-1tcstu3"),M(r,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),M(o,"fullscreen",i[52]),u(n,"class","wrapper-bottom v-1tcstu3"),M(n,"hidden",i[1]),M(n,"controls-hidden",!i[3]),M(n,"no-smooth",i[2]),M(n,"mobile",!0)},m(C,D){k&&k.m(C,D),E(C,e,D),w&&w.m(C,D),E(C,t,D),E(C,n,D),p(n,o),p(o,r),R&&R.m(r,null),p(r,l),X&&X.m(r,null),p(r,s),V&&V.m(r,null),p(r,a),F(c,r,null),p(r,m),ne&&ne.m(r,null),p(r,h),O&&O.m(r,null),i[139](r),p(o,b),F(v,o,null),i[140](n),E(C,y,D),$&&$.m(C,D),E(C,_,D),S=!0},p(C,D){C[4]?k&&(he(),g(k,1,1,()=>{k=null}),ve()):k?(k.p(C,D),D[0]&16&&d(k,1)):(k=Ha(C),k.c(),d(k,1),k.m(e.parentNode,e)),C[4]&&C[30]!==ni.INACTIVE?w?(w.p(C,D),D[0]&1073741840&&d(w,1)):(w=xa(C),w.c(),d(w,1),w.m(t.parentNode,t)):w&&(he(),g(w,1,1,()=>{w=null}),ve()),C[95]&&R.p(C,D),!C[4]&&C[25]?X?(X.p(C,D),D[0]&33554448&&d(X,1)):(X=tu(C),X.c(),d(X,1),X.m(r,s)):X&&(he(),g(X,1,1,()=>{X=null}),ve()),C[41]?V?(V.p(C,D),D[1]&1024&&d(V,1)):(V=iu(C),V.c(),d(V,1),V.m(r,a)):V&&(he(),g(V,1,1,()=>{V=null}),ve());const re={};D[1]&4096&&(re.disabled=!C[43]),D[1]&1073745920|D[2]&1|D[5]&32&&(re.$$scope={dirty:D,ctx:C}),!f&&D[0]&1048576&&(f=!0,re.ref=C[20].episodes,je(()=>f=!1)),c.$set(re),C[38]?ne?(ne.p(C,D),D[1]&128&&d(ne,1)):(ne=ou(C),ne.c(),d(ne,1),ne.m(r,h)):ne&&(he(),g(ne,1,1,()=>{ne=null}),ve()),C[40]?O?(O.p(C,D),D[1]&512&&d(O,1)):(O=lu(C),O.c(),d(O,1),O.m(r,null)):O&&(he(),g(O,1,1,()=>{O=null}),ve());const L={};D[0]&16&&(L.isAds=C[4]),D[0]&32&&(L.canRewindLive=C[5]),D[0]&16777216&&(L.isRewindableLive=C[24]),v.$set(L),(!S||D[1]&2097152)&&M(o,"fullscreen",C[52]),(!S||D[0]&2)&&M(n,"hidden",C[1]),(!S||D[0]&8)&&M(n,"controls-hidden",!C[3]),(!S||D[0]&4)&&M(n,"no-smooth",C[2]),C[23]?$?($.p(C,D),D[0]&8388608&&d($,1)):($=ru(C),$.c(),d($,1),$.m(_.parentNode,_)):$&&(he(),g($,1,1,()=>{$=null}),ve())},i(C){S||(d(k),d(w),d(R),d(X),d(V),d(c.$$.fragment,C),d(ne),d(O),d(v.$$.fragment,C),d($),S=!0)},o(C){g(k),g(w),g(R),g(X),g(V),g(c.$$.fragment,C),g(ne),g(O),g(v.$$.fragment,C),g($),S=!1},d(C){C&&(P(e),P(t),P(n),P(y),P(_)),k&&k.d(C),w&&w.d(C),R&&R.d(),X&&X.d(),V&&V.d(),H(c),ne&&ne.d(),O&&O.d(),i[139](null),H(v),i[140](null),$&&$.d(C)}}}function Mg(i,e,t){var ut,xi;let n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O,$,C,D,re,L,ae,pe,ge,ce,Y,{bottomHidden:fe}=e,{bottomNoSmooth:ze}=e,{showControls:de}=e,{controlsElementRef:Le=void 0}=e,{isAds:Pe=!1}=e,{canRewindLive:ue}=e,{logoClickable:Ee}=e,{logoHidden:A}=e,{videoLogoUrl:oe}=e,{showNextPrevButtons:Me}=e,{nextButtonActive:Ce}=e,{prevButtonActive:Te}=e,{isOneVideoPlaylist:le=!1}=e,{supportLink:Q}=e,{customFullscreenSupported:U=!0}=e,{playNextVideo:Ne}=e,{playPrevVideo:et}=e,{repeatPlaylist:rt}=e,{toggleFullscreen:Ze}=e,{returnFocus:Ve}=e,{seekToInteractive:Je}=e,{toggleGraph:pt}=e,{playPrevChapter:at}=e;const Ie=Pt(),qt=pn(),ft=Ie.actions.internal.toggleMuted,It=Ie.actions.internal.togglePlay,Rt=Ie.actions.internal.pause,Vt=(ut=Ie.callbacks)==null?void 0:ut.onAudioDoesNotExistHint,me=(xi=Ie.callbacks)==null?void 0:xi.onAudioDisabledHint,At=Ie.playerPhase;z(i,At,J=>t(116,X=J));const it=Ie.state.duration$;z(i,it,J=>t(62,Y=J));const Tt=Ie.state.positionWithScrubbing$;z(i,Tt,J=>t(61,ce=J));const wt=Ie.state.playbackState$;z(i,wt,J=>t(112,m=J));const ht=Ie.state.isAudioAvailable$;z(i,ht,J=>t(51,h=J));const Qe=Ie.state.isAudioDisabled,Ue=Ie.state.isEnded$;z(i,Ue,J=>t(117,K=J));const yt=Ie.state.isLive$;z(i,yt,J=>t(25,_=J));const Bi=Ie.state.muted$;z(i,Bi,J=>t(54,C=J));const zi=Ie.state.isActiveLive$;z(i,zi,J=>t(114,v=J));const li=Ie.state.isRewindableLive$;z(i,li,J=>t(24,y=J));const Fi=Ie.ui.scrubbingInProgress;z(i,Fi,J=>t(29,V=J));const Qi=Ie.ui.mobileNotReportControlHidden$;z(i,Qi,J=>t(27,w=J));const Ot=Ie.ui.isPictureInPictureActive$;z(i,Ot,J=>t(26,k=J));const jt=Ie.ui.pictureInPictureType$;z(i,jt,J=>t(115,S=J));const ri=Ie.ui.mobileUnmuteButtonExpanded;z(i,ri,J=>t(55,D=J));const Wt=Ie.ui.mobileUnmuteButtonVisible;z(i,Wt,J=>t(53,$=J));const di=Ie.ui.settingsMenuVisible;z(i,di,J=>t(23,f=J));const Dt=Ie.ui.settingsMenuOpenedByKeyboard;z(i,Dt,J=>t(111,c=J));const Ni=Ie.ui.controls,si=Ie.actions.internal.getVideoEpisodes(),Et=Ie.webApi.pictureInPictureApi,Ri=Ie.state.chromecastState$;z(i,Ri,J=>t(28,R=J));const Si=Ie.state.crashed$;z(i,Si,J=>t(57,L=J));const mi=Ni.disabledControls$;z(i,mi,J=>t(118,ne=J));const Ci=Ie.ads.duration;z(i,Ci,J=>t(60,ge=J));const zt=Ie.ads.position;z(i,zt,J=>t(59,pe=J));const $t=Ie.ads.playbackState;z(i,$t,J=>t(30,se=J));const pi=Ie.ui.isFullscreen;z(i,pi,J=>t(52,O=J));const ai=Ie.ui.playerSize;z(i,ai,J=>t(113,b=J));const Zt=Ie.ui.additionalButtons$;z(i,Zt,J=>t(56,re=J));const vt=Ie.actions.internal.getVideoElement,nt=Ie.actions.internal.replayInteractive,Ft=Ie.state.isInteractive,ui=Ie.state.isInteractiveGraphEnabled,Oi=Ie.state.isSeekToInteractiveEnable,Pi=Ie.state.isPlayPrevChapterEnabled,Gt=Ie.state.graphIsOpened$;z(i,Gt,J=>t(58,ae=J));let Kt,Hi,ei,Ui,Yt,Ht,Qt,Ti,Lt,hi,Ei,qi,vi,Xt,ji,gi,Ai;const Oe={},Wi=ie.throttleFn(ef,g1,{leading:!1}),Zi=()=>Ie.actions.internal.toggleChromecast();function bi(){Qe?me==null||me():h?ft():Vt==null||Vt()}async function Di(){Et!=null&&Et.isActive()?await(Et==null?void 0:Et.remove()):await(Et==null?void 0:Et.request())}function Li(){!Qe&&h&&Wt.set(!1),bi()}const ci=le?It:rt;let He="";const Gi=(J,fn)=>{if(!J){t(45,He=G("tooltip_live"));return}fn===xe.PlaybackState.PAUSED&&t(45,He=G("tooltip_play"))};let Jt,ti;function Ki(J){i.$$.not_equal(Oe.volume,J)&&(Oe.volume=J,t(20,Oe))}function Ii(J){i.$$.not_equal(Oe.chromecast,J)&&(Oe.chromecast=J,t(20,Oe))}function un(J){i.$$.not_equal(Oe.pip,J)&&(Oe.pip=J,t(20,Oe))}function en(J){ti=J,t(22,ti)}function Vi(J){i.$$.not_equal(Oe.vkLogo,J)&&(Oe.vkLogo=J,t(20,Oe))}function Mi(J){i.$$.not_equal(Oe.prevButton,J)&&(Oe.prevButton=J,t(20,Oe))}function _i(J){i.$$.not_equal(Oe.playButton,J)&&(Oe.playButton=J,t(20,Oe))}function tn(J){i.$$.not_equal(Oe.replayButton,J)&&(Oe.replayButton=J,t(20,Oe))}function Xi(J){i.$$.not_equal(Oe.nextButton,J)&&(Oe.nextButton=J,t(20,Oe))}function Ji(J){i.$$.not_equal(Oe.interactiveGraphButton,J)&&(Oe.interactiveGraphButton=J,t(20,Oe))}function nn(J){i.$$.not_equal(Oe.seekToInteractiveButton,J)&&(Oe.seekToInteractiveButton=J,t(20,Oe))}function wi(J){i.$$.not_equal(Oe.volume,J)&&(Oe.volume=J,t(20,Oe))}function te(J){i.$$.not_equal(Oe.playButton,J)&&(Oe.playButton=J,t(20,Oe))}function tt(J){i.$$.not_equal(Oe.replayButton,J)&&(Oe.replayButton=J,t(20,Oe))}function Mt(J){i.$$.not_equal(Oe.liveButton,J)&&(Oe.liveButton=J,t(20,Oe))}function Yi(J){i.$$.not_equal(Oe.time,J)&&(Oe.time=J,t(20,Oe))}function dt(J){i.$$.not_equal(Oe.episodes,J)&&(Oe.episodes=J,t(20,Oe))}function on(J){ti=J,t(22,ti)}function cn(J){i.$$.not_equal(Oe.settings,J)&&(Oe.settings=J,t(20,Oe))}function ln(J){i.$$.not_equal(Oe.fullscreen,J)&&(Oe.fullscreen=J,t(20,Oe))}function rn(J){Se[J?"unshift":"push"](()=>{gi=J,t(44,gi)})}function vn(J){Se[J?"unshift":"push"](()=>{Le=J,t(0,Le)})}function x(J){Jt=J,t(21,Jt)}return i.$$set=J=>{"bottomHidden"in J&&t(1,fe=J.bottomHidden),"bottomNoSmooth"in J&&t(2,ze=J.bottomNoSmooth),"showControls"in J&&t(3,de=J.showControls),"controlsElementRef"in J&&t(0,Le=J.controlsElementRef),"isAds"in J&&t(4,Pe=J.isAds),"canRewindLive"in J&&t(5,ue=J.canRewindLive),"logoClickable"in J&&t(6,Ee=J.logoClickable),"logoHidden"in J&&t(104,A=J.logoHidden),"videoLogoUrl"in J&&t(7,oe=J.videoLogoUrl),"showNextPrevButtons"in J&&t(8,Me=J.showNextPrevButtons),"nextButtonActive"in J&&t(9,Ce=J.nextButtonActive),"prevButtonActive"in J&&t(10,Te=J.prevButtonActive),"isOneVideoPlaylist"in J&&t(105,le=J.isOneVideoPlaylist),"supportLink"in J&&t(11,Q=J.supportLink),"customFullscreenSupported"in J&&t(106,U=J.customFullscreenSupported),"playNextVideo"in J&&t(12,Ne=J.playNextVideo),"playPrevVideo"in J&&t(13,et=J.playPrevVideo),"repeatPlaylist"in J&&t(107,rt=J.repeatPlaylist),"toggleFullscreen"in J&&t(14,Ze=J.toggleFullscreen),"returnFocus"in J&&t(15,Ve=J.returnFocus),"seekToInteractive"in J&&t(16,Je=J.seekToInteractive),"toggleGraph"in J&&t(17,pt=J.toggleGraph),"playPrevChapter"in J&&t(18,at=J.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&33554432&&t(110,n=ne.has(ct.EPISODE_BUTTON)),i.$$.dirty[3]&33554432&&t(50,o=ne.has(ct.GRAPH_BUTTON)),i.$$.dirty[3]&33554432&&t(49,r=ne.has(ct.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&33554432&&t(48,l=ne.has(ct.PLAY_BUTTON)),i.$$.dirty[3]&33554432&&t(47,s=ne.has(ct.REPLAY_BUTTON)),i.$$.dirty[3]&33554432&&t(46,a=ne.has(ct.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&524288&&t(31,Kt=m===xe.PlaybackState.PLAYING),i.$$.dirty[0]&1073741824&&t(32,Hi=se===ni.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&16777216&&t(33,ei=K&&!Pe&&!Ft),i.$$.dirty[0]&16|i.$$.dirty[3]&16777216&&t(34,Ui=!K||Pe),i.$$.dirty[3]&1048576&&t(108,Yt=b.width>300),i.$$.dirty[3]&1048576&&t(35,Ht=b.width>400),i.$$.dirty[0]&536870912&&t(109,Qt=V),i.$$.dirty[0]&469762048|i.$$.dirty[3]&4194304&&t(36,Ti=R!==xe.ChromecastState.NOT_AVAILABLE&&!(k&&S===En.DocumentPictureInPicture)&&!w&&!Ft),i.$$.dirty[0]&402653184|i.$$.dirty[3]&12648448){const J=X===De.WaitingLive;t(37,Lt=!!Et&&R!==xe.ChromecastState.CONNECTED&&!w&&(S===En.DocumentPictureInPicture&&J||!J)&&!Qt&&!Ft)}i.$$.dirty[3]&65536&&t(38,hi=!Qt),i.$$.dirty[3]&1050624&&t(39,Ei=!A&&b.width>350),i.$$.dirty[0]&67108864|i.$$.dirty[3]&4268032&&t(40,qi=qt.features.fullscreen&&!(k&&S===En.DocumentPictureInPicture)&&(Ft?U:!0)&&!Qt),i.$$.dirty[0]&33554448|i.$$.dirty[3]&1114112&&t(41,vi=(!_||Pe)&&b.width>260&&!Qt&&!(qt.features.interactiveHideTime&&Ft)),i.$$.dirty[0]&8388616&&t(42,Xt=f||de),i.$$.dirty[0]&33554448|i.$$.dirty[3]&229376&&t(43,ji=!Pe&&!_&&!!(si!=null&&si.length)&&Yt&&!n&&!Qt),i.$$.dirty[0]&16777216|i.$$.dirty[3]&2097152&&t(19,Ai=!y||v),i.$$.dirty[0]&1048584|i.$$.dirty[3]&1048576&&Wi(vt(),Ni,Oe,de),i.$$.dirty[0]&524288|i.$$.dirty[3]&524288&&Gi(Ai,m),i.$$.dirty[0]&12582912&&vr(ti,f,Dt),i.$$.dirty[0]&10485760|i.$$.dirty[3]&262144&&gr(Jt,f,c)},[Le,fe,ze,de,Pe,ue,Ee,oe,Me,Ce,Te,Q,Ne,et,Ze,Ve,Je,pt,at,Ai,Oe,Jt,ti,f,y,_,k,w,R,V,se,Kt,Hi,ei,Ui,Ht,Ti,Lt,hi,Ei,qi,vi,Xt,ji,gi,He,a,s,l,r,o,h,O,$,C,D,re,L,ae,pe,ge,ce,Y,It,Rt,At,it,Tt,wt,ht,Qe,Ue,yt,Bi,zi,li,Fi,Qi,Ot,jt,ri,Wt,di,Dt,si,Ri,Si,mi,Ci,zt,$t,pi,ai,Zt,nt,Ft,ui,Oi,Pi,Gt,Zi,Di,Li,ci,A,le,U,rt,Yt,Qt,n,c,m,b,v,S,X,K,ne,Ki,Ii,un,en,Vi,Mi,_i,tn,Xi,Ji,nn,wi,te,tt,Mt,Yi,dt,on,cn,ln,rn,vn,x]}class Bg extends ke{constructor(e){super(),ye(this,e,Mg,Vg,we,{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},yg,[-1,-1,-1,-1,-1,-1])}}function Ng(i){let e,t,n;function o(l){i[26](l)}let r={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&&(r.controlsElementRef=i[0]),e=new sg({props:r}),Se.push(()=>We(e,"controlsElementRef",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s&2&&(a.bottomHidden=l[1]),s&4&&(a.bottomNoSmooth=l[2]),s&8&&(a.showControls=l[3]),s&16&&(a.isAds=l[4]),s&32&&(a.canRewindLive=l[5]),s&64&&(a.logoClickable=l[6]),s&128&&(a.logoHidden=l[7]),s&256&&(a.videoLogoUrl=l[8]),s&512&&(a.showNextPrevButtons=l[9]),s&1024&&(a.nextButtonActive=l[10]),s&2048&&(a.prevButtonActive=l[11]),s&4096&&(a.isOneVideoPlaylist=l[12]),s&8192&&(a.supportLink=l[13]),s&16384&&(a.customFullscreenSupported=l[14]),s&32768&&(a.playNextVideo=l[15]),s&65536&&(a.playPrevVideo=l[16]),s&131072&&(a.repeatPlaylist=l[17]),s&262144&&(a.toggleFullscreen=l[18]),s&524288&&(a.returnFocus=l[19]),s&1048576&&(a.seekToInteractive=l[20]),s&2097152&&(a.toggleGraph=l[21]),s&4194304&&(a.playPrevChapter=l[22]),!t&&s&1&&(t=!0,a.controlsElementRef=l[0],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Rg(i){let e,t,n;function o(l){i[25](l)}let r={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&&(r.controlsElementRef=i[0]),e=new Bg({props:r}),Se.push(()=>We(e,"controlsElementRef",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s&2&&(a.bottomHidden=l[1]),s&4&&(a.bottomNoSmooth=l[2]),s&8&&(a.showControls=l[3]),s&16&&(a.isAds=l[4]),s&32&&(a.canRewindLive=l[5]),s&64&&(a.logoClickable=l[6]),s&128&&(a.logoHidden=l[7]),s&256&&(a.videoLogoUrl=l[8]),s&512&&(a.showNextPrevButtons=l[9]),s&1024&&(a.nextButtonActive=l[10]),s&2048&&(a.prevButtonActive=l[11]),s&4096&&(a.isOneVideoPlaylist=l[12]),s&8192&&(a.supportLink=l[13]),s&16384&&(a.customFullscreenSupported=l[14]),s&32768&&(a.playNextVideo=l[15]),s&65536&&(a.playPrevVideo=l[16]),s&131072&&(a.repeatPlaylist=l[17]),s&262144&&(a.toggleFullscreen=l[18]),s&524288&&(a.returnFocus=l[19]),s&1048576&&(a.seekToInteractive=l[20]),s&2097152&&(a.toggleGraph=l[21]),s&4194304&&(a.playPrevChapter=l[22]),!t&&s&1&&(t=!0,a.controlsElementRef=l[0],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Og(i){let e,t,n,o;const r=[Rg,Ng],l=[];function s(a,c){return a[23]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Dg(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:r=!1}=e,{showControls:l}=e,{controlsElementRef:s=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:m}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:b}=e,{nextButtonActive:v}=e,{prevButtonActive:y}=e,{isOneVideoPlaylist:_=!1}=e,{supportLink:S}=e,{customFullscreenSupported:k=!0}=e,{playNextVideo:w}=e,{playPrevVideo:R}=e,{repeatPlaylist:X}=e,{toggleFullscreen:V}=e,{returnFocus:K=ie.noop}=e,{seekToInteractive:se}=e,{toggleGraph:ne}=e,{playPrevChapter:O}=e;const C=Pt().ui.isMobile;z(i,C,L=>t(23,n=L));function D(L){s=L,t(0,s)}function re(L){s=L,t(0,s)}return i.$$set=L=>{"bottomHidden"in L&&t(1,o=L.bottomHidden),"bottomNoSmooth"in L&&t(2,r=L.bottomNoSmooth),"showControls"in L&&t(3,l=L.showControls),"controlsElementRef"in L&&t(0,s=L.controlsElementRef),"isAds"in L&&t(4,a=L.isAds),"canRewindLive"in L&&t(5,c=L.canRewindLive),"logoClickable"in L&&t(6,f=L.logoClickable),"logoHidden"in L&&t(7,m=L.logoHidden),"videoLogoUrl"in L&&t(8,h=L.videoLogoUrl),"showNextPrevButtons"in L&&t(9,b=L.showNextPrevButtons),"nextButtonActive"in L&&t(10,v=L.nextButtonActive),"prevButtonActive"in L&&t(11,y=L.prevButtonActive),"isOneVideoPlaylist"in L&&t(12,_=L.isOneVideoPlaylist),"supportLink"in L&&t(13,S=L.supportLink),"customFullscreenSupported"in L&&t(14,k=L.customFullscreenSupported),"playNextVideo"in L&&t(15,w=L.playNextVideo),"playPrevVideo"in L&&t(16,R=L.playPrevVideo),"repeatPlaylist"in L&&t(17,X=L.repeatPlaylist),"toggleFullscreen"in L&&t(18,V=L.toggleFullscreen),"returnFocus"in L&&t(19,K=L.returnFocus),"seekToInteractive"in L&&t(20,se=L.seekToInteractive),"toggleGraph"in L&&t(21,ne=L.toggleGraph),"playPrevChapter"in L&&t(22,O=L.playPrevChapter)},[s,o,r,l,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O,n,C,D,re]}class nf extends ke{constructor(e){super(),ye(this,e,Dg,Og,we,{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 zg(i){qe(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Fg(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),b=B("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(s,"flood-opacity","0"),u(s,"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(m,"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(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_100684"),u(b,"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"),M(e,"reversed",i[0])},m(v,y){E(v,e,y),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,b)},p(v,[y]){y&1&&M(e,"reversed",v[0])},i:W,o:W,d(v){v&&P(e)}}}function Hg(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Ug extends ke{constructor(e){super(),ye(this,e,Hg,Fg,we,{reversed:0},zg)}}function qg(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("clipPath"),s=B("path"),a=B("filter"),c=B("feFlood"),f=B("feColorMatrix"),m=B("feOffset"),h=B("feGaussianBlur"),b=B("feColorMatrix"),v=B("feBlend"),y=B("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(s,"fill","#fff"),u(s,"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(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(v,"in2","BackgroundImageFix"),u(v,"result","effect1_dropShadow_2260_104204"),u(y,"in","SourceGraphic"),u(y,"in2","effect1_dropShadow_2260_104204"),u(y,"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(_,S){E(_,e,S),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(r,a),p(a,c),p(a,f),p(a,m),p(a,h),p(a,b),p(a,v),p(a,y)},d(_){_&&P(e)}}}function jg(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),l=B("defs"),s=B("clipPath"),a=B("path"),c=B("filter"),f=B("feFlood"),m=B("feColorMatrix"),h=B("feOffset"),b=B("feGaussianBlur"),v=B("feColorMatrix"),y=B("feBlend"),_=B("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(r,"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(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"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(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(m,"in","SourceAlpha"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(m,"result","hardAlpha"),u(b,"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(y,"in2","BackgroundImageFix"),u(y,"result","effect1_dropShadow_2260_104293"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_104293"),u(_,"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(S,k){E(S,e,k),p(e,t),p(t,n),p(t,o),p(t,r),p(e,l),p(l,s),p(s,a),p(l,c),p(c,f),p(c,m),p(c,h),p(c,b),p(c,v),p(c,y),p(c,_)},d(S){S&&P(e)}}}function Wg(i){let e;function t(r,l){return r[0]?jg:qg}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,[l]){n!==(n=t(r))&&(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(r){r&&P(e),o.d(r)}}}function Zg(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class of extends ke{constructor(e){super(),ye(this,e,Zg,Wg,we,{isOff:0})}}function Gg(i){qe(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Kg(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),b=B("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(s,"flood-opacity","0"),u(s,"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(m,"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(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_106627"),u(b,"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"),M(e,"reversed",i[0])},m(v,y){E(v,e,y),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,b)},p(v,[y]){y&1&&M(e,"reversed",v[0])},i:W,o:W,d(v){v&&P(e)}}}function Yg(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Qg extends ke{constructor(e){super(),ye(this,e,Yg,Kg,we,{reversed:0},Gg)}}function Xg(i){qe(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Jg(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),b=B("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(s,"flood-opacity","0"),u(s,"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(m,"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(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2340_106922"),u(b,"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"),M(e,"reversed",i[0])},m(v,y){E(v,e,y),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,b)},p(v,[y]){y&1&&M(e,"reversed",v[0])},i:W,o:W,d(v){v&&P(e)}}}function xg(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class $g extends ke{constructor(e){super(),ye(this,e,xg,Jg,we,{reversed:0},Xg)}}function eb(i){qe(i,"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 su(i){let e,t=[Ye.BACKWARD_SEEK,Ye.FORWARD_SEEK].includes(i[4]),n,o,r,l,s,a,c=[Ye.RATE_DOWN,Ye.RATE_UP].includes(i[4]),f,m=[Ye.EPISODE_PREV,Ye.EPISODE_NEXT].includes(i[4]),h,b,v,y,_,S=t&&au(i),k=i[4]===Ye.PAUSE&&uu(),w=i[4]===Ye.PLAY&&cu(),R=i[4]===Ye.REPLAY&&fu(),X=i[4]===Ye.SUBTITLES_OFF&&du(),V=i[4]===Ye.SUBTITLES_ON&&mu(),K=c&&pu(i),se=m&&hu(i),ne=i[4]===Ye.MUTE&&vu(),O=i[4]===Ye.VOLUME&&gu(),$=i[5]&&bu(i);return{c(){e=T("div"),S&&S.c(),n=N(),k&&k.c(),o=N(),w&&w.c(),r=N(),R&&R.c(),l=N(),X&&X.c(),s=N(),V&&V.c(),a=N(),K&&K.c(),f=N(),se&&se.c(),h=N(),ne&&ne.c(),b=N(),O&&O.c(),v=N(),$&&$.c(),y=bt(),u(e,"class","v-4ftgwp")},m(C,D){E(C,e,D),S&&S.m(e,null),p(e,n),k&&k.m(e,null),p(e,o),w&&w.m(e,null),p(e,r),R&&R.m(e,null),p(e,l),X&&X.m(e,null),p(e,s),V&&V.m(e,null),p(e,a),K&&K.m(e,null),p(e,f),se&&se.m(e,null),p(e,h),ne&&ne.m(e,null),p(e,b),O&&O.m(e,null),E(C,v,D),$&&$.m(C,D),E(C,y,D),_=!0},p(C,D){D&16&&(t=[Ye.BACKWARD_SEEK,Ye.FORWARD_SEEK].includes(C[4])),t?S?(S.p(C,D),D&16&&d(S,1)):(S=au(C),S.c(),d(S,1),S.m(e,n)):S&&(he(),g(S,1,1,()=>{S=null}),ve()),C[4]===Ye.PAUSE?k?D&16&&d(k,1):(k=uu(),k.c(),d(k,1),k.m(e,o)):k&&(he(),g(k,1,1,()=>{k=null}),ve()),C[4]===Ye.PLAY?w?D&16&&d(w,1):(w=cu(),w.c(),d(w,1),w.m(e,r)):w&&(he(),g(w,1,1,()=>{w=null}),ve()),C[4]===Ye.REPLAY?R?D&16&&d(R,1):(R=fu(),R.c(),d(R,1),R.m(e,l)):R&&(he(),g(R,1,1,()=>{R=null}),ve()),C[4]===Ye.SUBTITLES_OFF?X?D&16&&d(X,1):(X=du(),X.c(),d(X,1),X.m(e,s)):X&&(he(),g(X,1,1,()=>{X=null}),ve()),C[4]===Ye.SUBTITLES_ON?V?D&16&&d(V,1):(V=mu(),V.c(),d(V,1),V.m(e,a)):V&&(he(),g(V,1,1,()=>{V=null}),ve()),D&16&&(c=[Ye.RATE_DOWN,Ye.RATE_UP].includes(C[4])),c?K?(K.p(C,D),D&16&&d(K,1)):(K=pu(C),K.c(),d(K,1),K.m(e,f)):K&&(he(),g(K,1,1,()=>{K=null}),ve()),D&16&&(m=[Ye.EPISODE_PREV,Ye.EPISODE_NEXT].includes(C[4])),m?se?(se.p(C,D),D&16&&d(se,1)):(se=hu(C),se.c(),d(se,1),se.m(e,h)):se&&(he(),g(se,1,1,()=>{se=null}),ve()),C[4]===Ye.MUTE?ne?D&16&&d(ne,1):(ne=vu(),ne.c(),d(ne,1),ne.m(e,b)):ne&&(he(),g(ne,1,1,()=>{ne=null}),ve()),C[4]===Ye.VOLUME?O?D&16&&d(O,1):(O=gu(),O.c(),d(O,1),O.m(e,null)):O&&(he(),g(O,1,1,()=>{O=null}),ve()),C[5]?$?$.p(C,D):($=bu(C),$.c(),$.m(y.parentNode,y)):$&&($.d(1),$=null)},i(C){_||(d(S),d(k),d(w),d(R),d(X),d(V),d(K),d(se),d(ne),d(O),_=!0)},o(C){g(S),g(k),g(w),g(R),g(X),g(V),g(K),g(se),g(ne),g(O),_=!1},d(C){C&&(P(e),P(v),P(y)),S&&S.d(),k&&k.d(),w&&w.d(),R&&R.d(),X&&X.d(),V&&V.d(),K&&K.d(),se&&se.d(),ne&&ne.d(),O&&O.d(),$&&$.d(C)}}}function au(i){let e,t;return e=new Ug({props:{reversed:i[4]===Ye.FORWARD_SEEK}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ye.FORWARD_SEEK),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function uu(i){let e,t;return e=new Dc({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function cu(i){let e,t;return e=new kr({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function fu(i){let e,t;return e=new Kc({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function du(i){let e,t;return e=new of({props:{isOff:!0}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function mu(i){let e,t;return e=new of({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function pu(i){let e,t;return e=new Qg({props:{reversed:i[4]===Ye.RATE_UP}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ye.RATE_UP),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function hu(i){let e,t;return e=new $g({props:{reversed:i[4]===Ye.EPISODE_NEXT}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ye.EPISODE_NEXT),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function vu(i){let e,t;return e=new _l({props:{volume:0}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function gu(i){let e,t;return e=new _l({props:{volume:1}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function bu(i){let e,t;return{c(){e=T("span"),t=Fe(i[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o&32&&$e(t,n[5])},d(n){n&&P(e)}}}function tb(i){let e,t,n=!i[1]&&i[4]&&su(i);return{c(){e=T("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),M(e,"hidden",i[1]),M(e,"hot-key-helpers-container--left",i[2]),M(e,"hot-key-helpers-container--right",i[3])},m(o,r){E(o,e,r),n&&n.m(e,null),t=!0},p(o,[r]){!o[1]&&o[4]?n?(n.p(o,r),r&18&&d(n,1)):(n=su(o),n.c(),d(n,1),n.m(e,null)):n&&(he(),g(n,1,1,()=>{n=null}),ve()),(!t||r&2)&&M(e,"hidden",o[1]),(!t||r&4)&&M(e,"hot-key-helpers-container--left",o[2]),(!t||r&8)&&M(e,"hot-key-helpers-container--right",o[3])},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d()}}}function ib(i,e,t){let n,o=W,r=()=>(o(),o=ii(l,h=>t(6,n=h)),l);i.$$.on_destroy.push(()=>o());let{data:l}=e;r();let s,a,c,f,m;return i.$$set=h=>{"data"in h&&r(t(0,l=h.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,s=!n),t(2,a=(n==null?void 0:n.type)===Ye.BACKWARD_SEEK),t(3,c=(n==null?void 0:n.type)===Ye.FORWARD_SEEK),t(4,f=n==null?void 0:n.type),n!=null&&n.t?t(5,m=G(n.t.key,{value:n.t.value||""})):t(5,m=n==null?void 0:n.text))},[l,s,a,c,f,m,n]}class nb extends ke{constructor(e){super(),ye(this,e,ib,tb,we,{data:0},eb)}}function ob(i){qe(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 lb(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k;return r=new zn({props:{direction:"up"}}),a=new zn({props:{direction:"up"}}),h=new zn({props:{direction:"up"}}),y=new zn({props:{direction:"up"}}),{c(){e=T("div"),t=T("div"),n=T("div"),o=T("div"),q(r.$$.fragment),l=N(),s=T("div"),q(a.$$.fragment),c=N(),f=T("div"),m=T("div"),q(h.$$.fragment),b=N(),v=T("div"),q(y.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(s,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(m,"class","button button-left v-1yzc86r"),u(v,"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",G("aria_label_spherical_control")),M(e,"m-shifted",i[0])},m(w,R){E(w,e,R),p(e,t),p(t,n),p(n,o),F(r,o,null),p(n,l),p(n,s),F(a,s,null),p(t,c),p(t,f),p(f,m),F(h,m,null),p(f,b),p(f,v),F(y,v,null),_=!0,S||(k=[_e(o,"mousedown",i[1]),_e(o,"mouseup",i[5]),_e(o,"mouseleave",i[5]),_e(s,"mousedown",i[3]),_e(s,"mouseup",i[5]),_e(s,"mouseleave",i[5]),_e(m,"mousedown",i[4]),_e(m,"mouseup",i[5]),_e(m,"mouseleave",i[5]),_e(v,"mousedown",i[2]),_e(v,"mouseup",i[5]),_e(v,"mouseleave",i[5]),_e(e,"keydown",i[6]),_e(e,"keyup",i[7])],S=!0)},p(w,[R]){(!_||R&1)&&M(e,"m-shifted",w[0])},i(w){_||(d(r.$$.fragment,w),d(a.$$.fragment,w),d(h.$$.fragment,w),d(y.$$.fragment,w),_=!0)},o(w){g(r.$$.fragment,w),g(a.$$.fragment,w),g(h.$$.fragment,w),g(y.$$.fragment,w),_=!1},d(w){w&&P(e),H(r),H(a),H(h),H(y),S=!1,ot(k)}}}function rb(i,e,t){let{isShifted:n=!1}=e;const o=Pt(),r=new Set([Ae.ArrowUp,Ae.ArrowDown,Ae.ArrowLeft,Ae.ArrowRight]),l=()=>{o.actions.internal.startCameraManualRotation(0,1)},s=()=>{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),m=b=>{if(r.has(b.code))switch(b.preventDefault(),b.stopPropagation(),b.code){case Ae.ArrowUp:l();break;case Ae.ArrowDown:s();break;case Ae.ArrowLeft:c();break;case Ae.ArrowRight:a();break}},h=b=>{r.has(b.code)&&(b.preventDefault(),b.stopPropagation(),f())};return i.$$set=b=>{"isShifted"in b&&t(0,n=b.isShifted)},[n,l,s,a,c,f,m,h]}class lf extends ke{constructor(e){super(),ye(this,e,rb,lb,we,{isShifted:0},ob)}}function sb(i){qe(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 _u(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function wu(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function yu(i){let e,t;function n(l,s){return l[7]&&l[8]?cb:l[5]?ub:ab}let o=n(i),r=o(i);return{c(){e=T("div"),t=T("span"),r.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),M(e,"mobile",i[3])},m(l,s){E(l,e,s),p(e,t),r.m(t,null)},p(l,s){o===(o=n(l))&&r?r.p(l,s):(r.d(1),r=o(l),r&&(r.c(),r.m(t,null))),s&8&&M(e,"mobile",l[3])},d(l){l&&P(e),r.d()}}}function ab(i){let e,t=xt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=ku(_u(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=bt()},m(o,r){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(o,r);E(o,e,r)},p(o,r){if(r&18){t=xt(o[1]);let l;for(l=0;l<t.length;l+=1){const s=_u(o,t,l);n[l]?n[l].p(s,r):(n[l]=ku(s),n[l].c(),n[l].m(e.parentNode,e))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},d(o){o&&P(e),yn(n,o)}}}function ub(i){let e,t,n=xt(i[6]),o=[];for(let r=0;r<n.length;r+=1)o[r]=Cu(wu(i,n,r));return{c(){e=T("span"),t=T("span");for(let r=0;r<o.length;r+=1)o[r].c();u(t,"class","caption-segment v-ovfyp5"),Nt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,l){E(r,e,l),p(e,t);for(let s=0;s<o.length;s+=1)o[s]&&o[s].m(t,null)},p(r,l){if(l&68){n=xt(r[6]);let s;for(s=0;s<n.length;s+=1){const a=wu(r,n,s);o[s]?o[s].p(a,l):(o[s]=Cu(a),o[s].c(),o[s].m(t,null))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}l&16&&Nt(t,"font-size",r[4]+"px")},d(r){r&&P(e),yn(o,r)}}}function cb(i){let e,t,n=G("subtitles_auto_caption")+"",o;return{c(){e=T("span"),t=T("span"),o=Fe(n),u(t,"class","caption-segment v-ovfyp5"),Nt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,l){E(r,e,l),p(e,t),p(t,o)},p(r,l){l&16&&Nt(t,"font-size",r[4]+"px")},d(r){r&&P(e)}}}function ku(i){let e,t,n=i[16]+"",o,r;return{c(){e=T("span"),t=T("span"),o=Fe(n),r=N(),u(t,"class","caption-segment v-ovfyp5"),Nt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){E(l,e,s),p(e,t),p(t,o),p(e,r)},p(l,s){s&2&&n!==(n=l[16]+"")&&$e(o,n),s&16&&Nt(t,"font-size",l[4]+"px")},d(l){l&&P(e)}}}function Su(i){let e=i[16]+"",t;return{c(){t=Fe(e)},m(n,o){E(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&$e(t,e)},d(n){n&&P(t)}}}function Cu(i){let e,t=(!i[17]||i[17]<=i[2])&&Su(i);return{c(){t&&t.c(),e=bt()},m(n,o){t&&t.m(n,o),E(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?t?t.p(n,o):(t=Su(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&P(e),t&&t.d(n)}}}function fb(i){let e,t=i[1].length>0&&yu(i);return{c(){e=T("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),M(e,"shifted",i[0]),M(e,"auto",i[5]&&!i[8])},m(n,o){E(n,e,o),t&&t.m(e,null)},p(n,[o]){n[1].length>0?t?t.p(n,o):(t=yu(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),o&1&&M(e,"shifted",n[0]),o&288&&M(e,"auto",n[5]&&!n[8])},i:W,o:W,d(n){n&&P(e),t&&t.d()}}}function db(i,e,t){let n,o,{shifted:r}=e,{captions:l}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=Pt(),m=pn(),h=f.state.currentSubtitle$;z(i,h,w=>t(12,n=w));const b=f.state.isAutoSubtitleCaptionVisible$;z(i,b,w=>t(8,o=w));let v,y,_,S,k;return mn(()=>{k=window.setTimeout(()=>{b.set(!1)},m.autoSubtitlesTimeout)}),ml(()=>{window.clearTimeout(k)}),i.$$set=w=>{"shifted"in w&&t(0,r=w.shifted),"captions"in w&&t(1,l=w.captions),"position"in w&&t(2,s=w.position),"playerSize"in w&&t(11,a=w.playerSize),"isMobile"in w&&t(3,c=w.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const w=a.width*.02;t(4,v=w<=m.minSubtitlesFontSize?m.minSubtitlesFontSize:w)}i.$$.dirty&2&&t(5,y=l.some(w=>w.type==="timestamp")),i.$$.dirty&2&&t(6,_=l.reduce((w,{type:R,value:X})=>(R==="timestamp"?w.push({timeAppeared:Number(X),value:""}):w.length===0?w.push({value:String(X)}):w[w.length-1].value=String(X),w),[])),i.$$.dirty&4096&&t(7,S=!!n.isAuto)},[r,l,s,c,v,y,_,S,o,h,b,a,n]}class rf extends ke{constructor(e){super(),ye(this,e,db,fb,we,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},sb)}}function mb(i){qe(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 Pu(i){let e,t,n;return{c(){e=T("div"),t=Fe("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Fe(i[1]),u(e,"class","text v-1o62kpz")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p(o,r){r&2&&$e(n,o[1])},d(o){o&&P(e)}}}function pb(i){let e,t,n,o,r,l,s=i[1]&&Pu(i);return{c(){e=T("div"),t=T("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(),s&&s.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(a,c){E(a,e,c),p(e,t),p(e,n),s&&s.m(e,null),r||(l=_e(e,"click",i[2]),r=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=Pu(a),s.c(),s.m(e,null)):s&&(s.d(1),s=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&&P(e),s&&s.d(),r=!1,l()}}}function hb(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function r(l){_o.call(this,i,l)}return i.$$set=l=>{"thumbUrl"in l&&t(0,n=l.thumbUrl),"chromecastDeviceName"in l&&t(1,o=l.chromecastDeviceName)},[n,o,r]}class sf extends ke{constructor(e){super(),ye(this,e,hb,pb,we,{thumbUrl:0,chromecastDeviceName:1},mb)}}function vb(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class gb extends ke{constructor(e){super(),ye(this,e,null,vb,we,{})}}function bb(i){qe(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 _b(i){let e,t,n;return t=new gb({}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,r){E(o,e,r),F(t,e,null),n=!0},p:W,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}class af extends ke{constructor(e){super(),ye(this,e,null,_b,we,{},bb)}}function wb(i){qe(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 yb(i){let e,t,n,o,r,l,s,a,c;return r=new kr({}),{c(){e=T("div"),t=T("div"),n=T("div"),o=N(),q(r.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(t,"class","playButton v-17wno3"),u(e,"class","container v-17wno3"),u(e,"style",l=`background-color: #222; background-image: url('${i[0]||""}')`),M(e,"hidden",i[1])},m(f,m){E(f,e,m),p(e,t),p(t,n),p(t,o),F(r,t,null),s=!0,a||(c=_e(e,"click",lt(function(){wn(i[2])&&i[2].apply(this,arguments)})),a=!0)},p(f,[m]){i=f,(!s||m&1&&l!==(l=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",l),(!s||m&2)&&M(e,"hidden",i[1])},i(f){s||(d(r.$$.fragment,f),s=!0)},o(f){g(r.$$.fragment,f),s=!1},d(f){f&&P(e),H(r),a=!1,c()}}}function kb(i,e,t){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:r}=e;return i.$$set=l=>{"thumbUrl"in l&&t(0,n=l.thumbUrl),"hidden"in l&&t(1,o=l.hidden),"startVideo"in l&&t(2,r=l.startVideo)},[n,o,r]}class uf extends ke{constructor(e){super(),ye(this,e,kb,yb,we,{thumbUrl:0,hidden:1,startVideo:2},wb)}}function Sb(i){qe(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(
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 Q5(i){let e,t;return{c(){e=k("div"),t=De(i[0]),u(e,"class","title v-1bcvcf2"),V(e,"hidden",i[1])},m(n,o){S(n,e,o),d(e,t)},p(n,[o]){o&1&&ot(t,n[0]),o&2&&V(e,"hidden",n[1])},i:K,o:K,d(n){n&&y(e)}}}function X5(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 J5 extends Se{constructor(e){super(),ye(this,e,X5,Q5,_e,{title:0,isHidden:1},Y5)}}function x5(i){je(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 Fa(i){let e,t,n,o,l,r,s;return{c(){e=k("div"),t=k("span"),n=De(i[0]),o=R(),l=k("span"),l.textContent=`${Z("waiting_live_day_value")}`,r=R(),s=k("span"),s.textContent=`${Z("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(s,"class","timer__points v-1qpxtfg")},m(a,c){S(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),S(a,r,c),S(a,s,c)},p(a,c){c&1&&ot(n,a[0])},d(a){a&&(y(e),y(r),y(s))}}}function Ha(i){let e,t,n,o,l,r,s;return{c(){e=k("div"),t=k("span"),n=De(i[1]),o=R(),l=k("span"),l.textContent=`${Z("waiting_live_hour_value")}`,r=R(),s=k("span"),s.textContent=`${Z("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(s,"class","timer__points v-1qpxtfg")},m(a,c){S(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),S(a,r,c),S(a,s,c)},p(a,c){c&2&&ot(n,a[1])},d(a){a&&(y(e),y(r),y(s))}}}function Ua(i){let e,t,n,o,l,r,s;return{c(){e=k("div"),t=k("span"),n=De(i[2]),o=R(),l=k("span"),l.textContent=`${Z("waiting_live_minute_value")}`,r=R(),s=k("span"),s.textContent=`${Z("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(s,"class","timer__points v-1qpxtfg")},m(a,c){S(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),S(a,r,c),S(a,s,c)},p(a,c){c&4&&ot(n,a[2])},d(a){a&&(y(e),y(r),y(s))}}}function qa(i){let e,t,n,o,l;return{c(){e=k("div"),t=k("span"),n=De(i[3]),o=R(),l=k("span"),l.textContent=`${Z("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(r,s){S(r,e,s),d(e,t),d(t,n),d(e,o),d(e,l)},p(r,s){s&8&&ot(n,r[3])},d(r){r&&y(e)}}}function $5(i){let e,t,n,o,l=i[0]&&Fa(i),r=i[1]&&Ha(i),s=i[2]&&Ua(i),a=i[3]&&qa(i);return{c(){e=k("div"),l&&l.c(),t=R(),r&&r.c(),n=R(),s&&s.c(),o=R(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){S(c,e,f),l&&l.m(e,null),d(e,t),r&&r.m(e,null),d(e,n),s&&s.m(e,null),d(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?l?l.p(c,f):(l=Fa(c),l.c(),l.m(e,t)):l&&(l.d(1),l=null),c[1]?r?r.p(c,f):(r=Ha(c),r.c(),r.m(e,n)):r&&(r.d(1),r=null),c[2]?s?s.p(c,f):(s=Ua(c),s.c(),s.m(e,o)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=qa(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:K,o:K,d(c){c&&y(e),l&&l.d(),r&&r.d(),s&&s.d(),a&&a.d()}}}function eg(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,l,r,s,a,c;const f=b=>String(b).padStart(2,"0"),h=b=>{const g=Math.floor(b/86400);g&&(b-=g*86400,t(0,l=f(g)));const _=Math.floor(b/3600);t(1,r=f(_));const L=Math.floor(b/60)%60;t(2,s=f(L));const E=b%60;t(3,a=f(E))},p=()=>{const b=Math.floor(Date.now()/1e3),g=n-b;h(g),g>=1?c=requestAnimationFrame(p):o()};return Yi(()=>{c=requestAnimationFrame(p)}),jo(()=>{cancelAnimationFrame(c)}),i.$$set=b=>{"startTime"in b&&t(4,n=b.startTime),"onTimerOver"in b&&t(5,o=b.onTimerOver)},[l,r,s,a,n,o]}class tg extends Se{constructor(e){super(),ye(this,e,eg,$5,_e,{startTime:4,onTimerOver:5},x5)}}function ig(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"),Ft(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"),Ft(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"),Ft(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"),Ft(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"),Ft(e,"shape-rendering","geometricPrecision"),Ft(e,"text-rendering","geometricPrecision"),Ft(e,"image-rendering","optimizeQuality"),Ft(e,"fill-rule","evenodd"),Ft(e,"clip-rule","evenodd"),Ft(e,"width","100%"),Ft(e,"height","100%")},m(r,s){S(r,e,s),d(e,t),d(e,n),d(e,o),d(e,l)},p:K,i:K,o:K,d(r){r&&y(e)}}}class ng extends Se{constructor(e){super(),ye(this,e,null,ig,_e,{})}}function og(i){je(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 lg(i){let e,t,n,o,l;return o=new tg({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=k("div"),t=k("span"),t.textContent=`${Z("waiting_live_timer_title")}`,n=R(),F(o.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(r,s){S(r,e,s),d(e,t),d(e,n),z(o,e,null),l=!0},p(r,s){const a={};s&2&&(a.startTime=r[1]||0),s&4&&(a.onTimerOver=r[3]),o.$set(a)},i(r){l||(m(o.$$.fragment,r),l=!0)},o(r){v(o.$$.fragment,r),l=!1},d(r){r&&y(e),D(o)}}}function rg(i){let e,t,n,o,l,r;return n=new ng({}),{c(){e=k("div"),t=k("div"),F(n.$$.fragment),o=R(),l=k("span"),l.textContent=`${Z("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(s,a){S(s,e,a),d(e,t),z(n,t,null),d(e,o),d(e,l),r=!0},p:K,i(s){r||(m(n.$$.fragment,s),r=!0)},o(s){v(n.$$.fragment,s),r=!1},d(s){s&&y(e),D(n)}}}function sg(i){let e,t,n,o,l;const r=[rg,lg],s=[];function a(c,f){return c[2]?0:1}return t=a(i),n=s[t]=r[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){S(c,e,f),s[t].m(e,null),l=!0},p(c,[f]){let h=t;t=a(c),t===h?s[t].p(c,f):(he(),v(s[h],1,1,()=>{s[h]=null}),pe(),n=s[t],n?n.p(c,f):(n=s[t]=r[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){v(n),l=!1},d(c){c&&y(e),s[t].d()}}}function ag(i,e,t){let n,{thumbUrl:o}=e,{startTime:l}=e;const r=()=>t(2,n=!0);return i.$$set=s=>{"thumbUrl"in s&&t(0,o=s.thumbUrl),"startTime"in s&&t(1,l=s.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=l===void 0||l<Math.floor(Date.now()/1e3))},[o,l,n,r]}class vc extends Se{constructor(e){super(),ye(this,e,ag,sg,_e,{thumbUrl:0,startTime:1},og)}}function ug(i){je(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 cg(i){let e,t;return{c(){e=k("div"),t=k("p"),t.textContent=`${Z("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class gc extends Se{constructor(e){super(),ye(this,e,null,cg,_e,{},ug)}}const{window:fg}=A1;function dg(i){je(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 ja(i){var n;let e,t;return e=new vc({props:{thumbUrl:i[3],startTime:(n=i[5])==null?void 0:n.startTime}}),{c(){F(e.$$.fragment)},m(o,l){z(e,o,l),t=!0},p(o,l){var s;const r={};l[0]&8&&(r.thumbUrl=o[3]),l[0]&32&&(r.startTime=(s=o[5])==null?void 0:s.startTime),e.$set(r)},i(o){t||(m(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){D(e,o)}}}function Wa(i){let e,t;return e=new gc({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Za(i){let e,t,n;return t=new Iu({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),V(e,"hidden",i[36]!==Be.Ads)},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[0]&512&&(r.adsSlotId=o[9]),l[0]&1024&&(r.adsParams=o[10]),l[0]&2048&&(r.adsPreviewParam=o[11]),l[0]&4096&&(r.duration=o[12]),t.$set(r),(!n||l[1]&32)&&V(e,"hidden",o[36]!==Be.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Ga(i){let e,t;return e=new X4({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ka(i){let e,t;return e=new J5({props:{title:i[2],isHidden:!i[34]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ya(i){let e,t;return e=new fc({props:{isShifted:i[36]===Be.Video&&i[34]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&40&&(l.isShifted=n[36]===Be.Video&&n[34]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Qa(i){let e,t,n;return t=new K1({props:{ariaLabel:Z("video360")}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,l){S(o,e,l),z(t,e,null),n=!0},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Xa(i){let e,t;return e=new mc({props:{thumbUrl:i[3],chromecastDeviceName:i[54]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ja(i){let e,t;return e=new dc({props:{shifted:i[34],captions:i[56],position:i[57],playerSize:i[32]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function xa(i){let e,t;return e=new Mu({props:{showControls:i[34]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function $a(i){let e,t,n,o,l;return t=new hc({}),{c(){e=k("div"),F(t.$$.fragment)},m(r,s){S(r,e,s),z(t,e,null),n=!0,o||(l=[Ae(e,"contextmenu",wi(i[106])),Ae(e,"click",ft(i[117]))],o=!0)},p:K,i(r){n||(m(t.$$.fragment,r),n=!0)},o(r){v(t.$$.fragment,r),n=!1},d(r){r&&y(e),D(t),o=!1,ni(l)}}}function e1(i){let e,t;return e=new Hu({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function t1(i){let e,t;return e=new bm({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function i1(i){let e,t;return e=new Bu({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function n1(i){let e,t,n,o,l,r,s,a,c,f,h,p,b,g,_,L,E,w,P,B,N,U,Y,W,ne,X;e=new pc({props:{hidden:i[36]!==Be.Thumb||i[35]||i[92]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let ee=i[36]===Be.WaitingLive&&ja(i),T=i[36]===Be.WaitingRecord&&Wa(),te=i[8]&&i[22]&&Za(i),fe=i[31]&&i[18]&&i[19]&&Ga(i),A=i[44]&&Ka(i),oe=i[50]&&Ya(i),ae=i[53]&&Qa(),ke=i[37]&&Xa(i),we=i[55].value!=="off"&&Ja(i),Ee=i[1].features.annotations&&xa(i),Pe=i[35]&&$a(i);function H(M){i[146](M)}let G={bottomHidden:i[36]===Be.Thumb||i[36]===Be.WaitingLive||i[36]===Be.WaitingRecord,bottomNoSmooth:i[51],showControls:i[34],isAds:i[36]===Be.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:pg,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&&(G.controlsElementRef=i[39]),g=new uc({props:G}),We.push(()=>Tt(g,"controlsElementRef",H)),E=new Ru({props:{isLive:i[59],isHidden:!i[43],isPlaying:i[60],position:i[57],duration:i[61]}}),P=new A5({props:{data:i[101]}}),N=new L4({props:{supportLink:i[21],returnFocus:i[147],visible:i[49],playerContainerRef:i[38],controlsContainerRef:i[39],x:i[40],y:i[41]}});let O=i[42]&&e1(),ge=i[62]&&t1(),Q=i[63]&&i1();return{c(){F(e.$$.fragment),t=R(),ee&&ee.c(),n=R(),T&&T.c(),o=R(),te&&te.c(),l=R(),fe&&fe.c(),r=R(),A&&A.c(),s=R(),oe&&oe.c(),a=R(),ae&&ae.c(),c=R(),ke&&ke.c(),f=R(),we&&we.c(),h=R(),Ee&&Ee.c(),p=R(),Pe&&Pe.c(),b=R(),F(g.$$.fragment),L=R(),F(E.$$.fragment),w=R(),F(P.$$.fragment),B=R(),F(N.$$.fragment),U=R(),O&&O.c(),Y=R(),ge&&ge.c(),W=R(),Q&&Q.c(),ne=bt()},m(M,J){z(e,M,J),S(M,t,J),ee&&ee.m(M,J),S(M,n,J),T&&T.m(M,J),S(M,o,J),te&&te.m(M,J),S(M,l,J),fe&&fe.m(M,J),S(M,r,J),A&&A.m(M,J),S(M,s,J),oe&&oe.m(M,J),S(M,a,J),ae&&ae.m(M,J),S(M,c,J),ke&&ke.m(M,J),S(M,f,J),we&&we.m(M,J),S(M,h,J),Ee&&Ee.m(M,J),S(M,p,J),Pe&&Pe.m(M,J),S(M,b,J),z(g,M,J),S(M,L,J),z(E,M,J),S(M,w,J),z(P,M,J),S(M,B,J),z(N,M,J),S(M,U,J),O&&O.m(M,J),S(M,Y,J),ge&&ge.m(M,J),S(M,W,J),Q&&Q.m(M,J),S(M,ne,J),X=!0},p(M,J){const Me={};J[0]&64|J[1]&48&&(Me.hidden=M[36]!==Be.Thumb||M[35]||M[92]&&M[6]),J[0]&8&&(Me.thumbUrl=M[3]),J[0]&536870912&&(Me.startVideo=M[29]),e.$set(Me),M[36]===Be.WaitingLive?ee?(ee.p(M,J),J[1]&32&&m(ee,1)):(ee=ja(M),ee.c(),m(ee,1),ee.m(n.parentNode,n)):ee&&(he(),v(ee,1,1,()=>{ee=null}),pe()),M[36]===Be.WaitingRecord?T?J[1]&32&&m(T,1):(T=Wa(),T.c(),m(T,1),T.m(o.parentNode,o)):T&&(he(),v(T,1,1,()=>{T=null}),pe()),M[8]&&M[22]?te?(te.p(M,J),J[0]&4194560&&m(te,1)):(te=Za(M),te.c(),m(te,1),te.m(l.parentNode,l)):te&&(he(),v(te,1,1,()=>{te=null}),pe()),M[31]&&M[18]&&M[19]?fe?(fe.p(M,J),J[0]&786432|J[1]&1&&m(fe,1)):(fe=Ga(M),fe.c(),m(fe,1),fe.m(r.parentNode,r)):fe&&(he(),v(fe,1,1,()=>{fe=null}),pe()),M[44]?A?(A.p(M,J),J[1]&8192&&m(A,1)):(A=Ka(M),A.c(),m(A,1),A.m(s.parentNode,s)):A&&(he(),v(A,1,1,()=>{A=null}),pe()),M[50]?oe?(oe.p(M,J),J[1]&524288&&m(oe,1)):(oe=Ya(M),oe.c(),m(oe,1),oe.m(a.parentNode,a)):oe&&(he(),v(oe,1,1,()=>{oe=null}),pe()),M[53]?ae?(ae.p(M,J),J[1]&4194304&&m(ae,1)):(ae=Qa(),ae.c(),m(ae,1),ae.m(c.parentNode,c)):ae&&(he(),v(ae,1,1,()=>{ae=null}),pe()),M[37]?ke?(ke.p(M,J),J[1]&64&&m(ke,1)):(ke=Xa(M),ke.c(),m(ke,1),ke.m(f.parentNode,f)):ke&&(he(),v(ke,1,1,()=>{ke=null}),pe()),M[55].value!=="off"?we?(we.p(M,J),J[1]&16777216&&m(we,1)):(we=Ja(M),we.c(),m(we,1),we.m(h.parentNode,h)):we&&(he(),v(we,1,1,()=>{we=null}),pe()),M[1].features.annotations?Ee?(Ee.p(M,J),J[0]&2&&m(Ee,1)):(Ee=xa(M),Ee.c(),m(Ee,1),Ee.m(p.parentNode,p)):Ee&&(he(),v(Ee,1,1,()=>{Ee=null}),pe()),M[35]?Pe?(Pe.p(M,J),J[1]&16&&m(Pe,1)):(Pe=$a(M),Pe.c(),m(Pe,1),Pe.m(b.parentNode,b)):Pe&&(he(),v(Pe,1,1,()=>{Pe=null}),pe());const Te={};J[1]&32&&(Te.bottomHidden=M[36]===Be.Thumb||M[36]===Be.WaitingLive||M[36]===Be.WaitingRecord),J[1]&1048576&&(Te.bottomNoSmooth=M[51]),J[1]&8&&(Te.showControls=M[34]),J[1]&32&&(Te.isAds=M[36]===Be.Ads),J[0]&128|J[1]&134217728&&(Te.canRewindLive=M[7]&&M[58]!==0),J[0]&8192&&(Te.logoClickable=M[13]),J[0]&16384&&(Te.logoHidden=M[14]),J[0]&16&&(Te.videoLogoUrl=M[4]),J[0]&32768&&(Te.showNextPrevButtons=M[15]),J[0]&65536&&(Te.nextButtonActive=M[16]),J[0]&131072&&(Te.prevButtonActive=M[17]),J[0]&1048576&&(Te.isOneVideoPlaylist=M[20]),J[0]&2097152&&(Te.supportLink=M[21]),J[0]&8388608&&(Te.playNextVideo=M[23]),J[0]&16777216&&(Te.playPrevVideo=M[24]),J[0]&33554432&&(Te.repeatPlaylist=M[25]),J[1]&131072&&(Te.returnFocus=M[145]),J[0]&67108864&&(Te.seekToInteractive=M[26]),J[0]&134217728&&(Te.toggleGraph=M[27]),J[0]&268435456&&(Te.playPrevChapter=M[28]),!_&&J[1]&256&&(_=!0,Te.controlsElementRef=M[39],Ct(()=>_=!1)),g.$set(Te);const Le={};J[1]&268435456&&(Le.isLive=M[59]),J[1]&4096&&(Le.isHidden=!M[43]),J[1]&536870912&&(Le.isPlaying=M[60]),J[1]&67108864&&(Le.position=M[57]),J[1]&1073741824&&(Le.duration=M[61]),E.$set(Le);const x={};J[0]&2097152&&(x.supportLink=M[21]),J[1]&131072&&(x.returnFocus=M[147]),J[1]&262144&&(x.visible=M[49]),J[1]&128&&(x.playerContainerRef=M[38]),J[1]&256&&(x.controlsContainerRef=M[39]),J[1]&512&&(x.x=M[40]),J[1]&1024&&(x.y=M[41]),N.$set(x),M[42]?O?J[1]&2048&&m(O,1):(O=e1(),O.c(),m(O,1),O.m(Y.parentNode,Y)):O&&(he(),v(O,1,1,()=>{O=null}),pe()),M[62]?ge?J[2]&1&&m(ge,1):(ge=t1(),ge.c(),m(ge,1),ge.m(W.parentNode,W)):ge&&(he(),v(ge,1,1,()=>{ge=null}),pe()),M[63]?Q?J[2]&2&&m(Q,1):(Q=i1(),Q.c(),m(Q,1),Q.m(ne.parentNode,ne)):Q&&(he(),v(Q,1,1,()=>{Q=null}),pe())},i(M){X||(m(e.$$.fragment,M),m(ee),m(T),m(te),m(fe),m(A),m(oe),m(ae),m(ke),m(we),m(Ee),m(Pe),m(g.$$.fragment,M),m(E.$$.fragment,M),m(P.$$.fragment,M),m(N.$$.fragment,M),m(O),m(ge),m(Q),X=!0)},o(M){v(e.$$.fragment,M),v(ee),v(T),v(te),v(fe),v(A),v(oe),v(ae),v(ke),v(we),v(Ee),v(Pe),v(g.$$.fragment,M),v(E.$$.fragment,M),v(P.$$.fragment,M),v(N.$$.fragment,M),v(O),v(ge),v(Q),X=!1},d(M){M&&(y(t),y(n),y(o),y(l),y(r),y(s),y(a),y(c),y(f),y(h),y(p),y(b),y(L),y(w),y(B),y(U),y(Y),y(W),y(ne)),D(e,M),ee&&ee.d(M),T&&T.d(M),te&&te.d(M),fe&&fe.d(M),A&&A.d(M),oe&&oe.d(M),ae&&ae.d(M),ke&&ke.d(M),we&&we.d(M),Ee&&Ee.d(M),Pe&&Pe.d(M),D(g,M),D(E,M),D(P,M),D(N,M),O&&O.d(M),ge&&ge.d(M),Q&&Q.d(M)}}}function mg(i){let e,t,n,o,l=i[52],r,s,a,c,f=n1(i);return{c(){e=k("div"),t=k("div"),o=R(),f.c(),r=bt(),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]!==Be.Video),V(e,"nocursor",i[45])},m(h,p){S(h,e,p),d(e,t),i[144](t),S(h,o,p),f.m(h,p),S(h,r,p),s=!0,a||(c=[Ae(e,"contextmenu",wi(i[106])),Ae(e,"mousedown",wi(i[111])),Ae(e,"mouseup",wi(i[112])),Ae(e,"click",wi(i[114])),Ae(e,"dblclick",wi(i[113]))],a=!0)},p(h,p){(!s||p[1]&32772&&n!==(n=`transform: rotate(${h[33]}deg) scale(${h[46]})`))&&u(t,"style",n),(!s||p[0]&2)&&V(t,"fast-rotate",!h[1].isSmoothVideoRotate),(!s||p[1]&32)&&V(e,"hidden",h[36]!==Be.Video),(!s||p[1]&16384)&&V(e,"nocursor",h[45]),p[1]&2097152&&_e(l,l=h[52])?(he(),v(f,1,1,K),pe(),f=n1(h),f.c(),m(f,1),f.m(r.parentNode,r)):f.p(h,p)},i(h){s||(m(f),s=!0)},o(h){v(f),s=!1},d(h){h&&(y(e),y(o),y(r)),i[144](null),f.d(h),a=!1,ni(c)}}}function hg(i){let e,t,n,o,l,r,s,a={toggleFullscreen:i[104],hideContextMenu:i[105],showHotKeyHelpers:i[115],showKeyMap:i[116],isAds:i[36]===Be.Ads,fakePlayButtonHandler:i[47]?i[103]:void 0,$$slots:{default:[mg]},$$scope:{ctx:i}};return t=new em({props:a}),i[148](t),{c(){e=k("div"),F(t.$$.fragment),n=R(),o=k("div"),u(o,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){S(c,e,f),z(t,e,null),d(e,n),d(e,o),i[149](o),i[150](e),l=!0,r||(s=[Ae(fg,"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)],r=!0)},p(c,f){const h={};f[1]&32&&(h.isAds=c[36]===Be.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){v(t.$$.fragment,c),l=!1},d(c){c&&y(e),i[148](null),D(t),i[149](null),i[150](null),r=!1,ni(s)}}}let pg=!0;function bc(i){return i?i.offsetTop+bc(i.offsetParent):0}function vg(i,e,t){let n,o,l,r,s,a,c,f,h,p,b,g,_,L,E,w,P,B,N,U,Y,W,ne,X,ee,T,te,fe,A,oe,ae,ke,we,Ee,Pe,H,G,{store:O}=e,{uiConfig:ge}=e,{title:Q}=e,{thumbUrl:M}=e,{videoLogoUrl:J}=e,{videoContainer:Me}=e,{interactiveContainer:Te}=e,{live:Le}=e,{autoplay:x}=e,{canRewindLive:ue}=e,{showAds:ve}=e,{adsSlotId:se=void 0}=e,{adsParams:Fe=void 0}=e,{adsPreviewParam:He=void 0}=e,{duration:st=void 0}=e,{logoClickable:lt}=e,{logoHidden:ze}=e,{showNextPrevButtons:mt=!1}=e,{nextButtonActive:kt=!1}=e,{prevButtonActive:Re=!1}=e,{endScreenVideoTitle:Ne=void 0}=e,{endScreenVideoThumb:Wt=void 0}=e,{isOneVideoPlaylist:At=!1}=e,{supportLink:ut}=e,{outerContainerRef:et=void 0}=e,{playerStarted:ce=!1}=e,{fullScreenTarget:Xe=void 0}=e,{showMiniTimer:$e=!1}=e,{playNextVideo:Je=le.noop}=e,{playPrevVideo:Ze=le.noop}=e,{repeatPlaylist:dt=le.noop}=e,{seekToInteractive:xe}=e,{toggleGraph:rt}=e,{playPrevChapter:Ke}=e,{firstStart:tt}=e;const Xt=O.getLogger().createComponentLog("Root component"),ht=O.interfaceLanguage$;j(i,ht,q=>t(52,T=q));const Ye=O.state.playbackState$;j(i,Ye,q=>t(141,ne=q));const Lt=O.ads.playbackState;j(i,Lt,q=>t(142,X=q));const at=O.state.positionWithScrubbing$;j(i,at,q=>t(57,ae=q));const ci=O.state.duration$;j(i,ci,q=>t(61,Pe=q));const me=O.playerPhase;j(i,me,q=>t(36,B=q));const Ce=O.ui.isFullscreen;j(i,Ce,q=>t(131,c=q));const Ie=O.ui.controlsVisible;j(i,Ie,q=>t(34,_=q));const It=O.ui.settingsMenuVisible;j(i,It,q=>t(129,n=q));const fi=O.ui.scrubbingInProgress;j(i,fi,q=>t(133,b=q));const Mt=O.ui.contextMenuVisible;j(i,Mt,q=>t(49,o=q));const Ci=O.ui.debugPanelVisible;j(i,Ci,q=>t(63,G=q));const Vi=O.state.isLoaderVisible;j(i,Vi,q=>t(143,ee=q));const Ii=O.state.isEnded$;j(i,Ii,q=>t(130,r=q));const Ve=O.state.chromecastConnected$;j(i,Ve,q=>t(37,Y=q));const Nt=O.state.chromecastDeviceName$;j(i,Nt,q=>t(54,fe=q));const di=O.ads.postrollPassed;j(i,di,q=>t(136,w=q));const Ot=O.state.isLive$;j(i,Ot,q=>t(59,we=q));const Vt=O.state.isPlaying$;j(i,Vt,q=>t(60,Ee=q));const Mi=O.state.crashed$;j(i,Mi,q=>t(35,E=q));const Rt=O.webApi.pictureInPictureApi,oi=O.state.currentSubtitle$;j(i,oi,q=>t(55,A=q));const Xi=O.state.currentSubtitleCaptions$;j(i,Xi,q=>t(56,oe=q));const Pt=O.state.duration$;j(i,Pt,q=>t(58,ke=q));const Ui=O.state.graphIsOpened$;j(i,Ui,q=>t(137,P=q));const mi=O.ui.playerSize;j(i,mi,q=>t(32,a=q));const Ni=O.ui.is3DVideo;j(i,Ni,q=>t(50,s=q));const Ri=O.ui.icon3DVideoVisible;j(i,Ri,q=>t(53,te=q));const Ti=O.ui.rotateAlpha;j(i,Ti,q=>t(33,p=q));const li=O.state.isInteractive,Ei=O.state.isInteractiveTime$;j(i,Ei,q=>t(134,g=q));const yi=O.state.isInteractiveExpectation$;j(i,yi,q=>t(140,W=q));const hi=O.state.hasInteractiveBranches,ri=O.ui.touched;j(i,ri,q=>t(138,N=q));const pi=O.ui.modals.hotKeyMap.data;j(i,pi,q=>t(157,l=q));const qi=O.ui.modals.hotKeyMap.show;j(i,qi,q=>t(62,H=q));const ji=O.ui.overlayContainer$,{fakeIsPlaying$:Ht}=z1();j(i,Ht,q=>t(132,h=q));let Ut,Bi,Ji=0,vi=0,Oi,Ai,Si;pi.set(J2());let zi,Li;const Jt=Ue(!1);j(i,Jt,q=>t(51,f=q));let xt;const gi=Ue(!1);j(i,gi,q=>t(139,U=q));const Kt=Ue(),$t=Ue(!1);j(i,$t,q=>t(135,L=q));let si=!1,bi=!1,ei,ai,Wi,Di,Pi,Ki,ti=!1,_i,Fi=!1;const{toggle:Zi}=Ht;let zt=!1,Yt=null,de;Rt==null||Rt.setContext(L1());const Gi=()=>{x&&!li&&ui(ge.controls.hideTimeout)};O.setUiCallbacks({onStarted:Gi});const sn=()=>{window.clearTimeout(Oi),gi.set(!1)},Bn=()=>{window.clearTimeout(Ai),Kt.set(null)},ui=q=>{sn(),gi.set(!0),Oi=window.setTimeout(()=>gi.set(!1),q);const _t=q-100;xt=window.setTimeout(()=>{f&&Jt.set(!1)},_t>0?_t:q)},hn=(q,_t)=>{Bn(),Kt.set(_t),Ai=window.setTimeout(()=>Kt.set(null),q)},pn=Ni.subscribe(q=>{Ri.set(q),q&&(window.clearTimeout(Si),Si=window.setTimeout(()=>Ri.set(!1),ge.controls.hide360IconTimeout))}),an=async()=>{var _t,fn,nn,qn;const q=vo();if(q){ui(ge.controls.hideTimeoutFullscreen);try{await(Rt==null?void 0:Rt.remove())}catch(jn){Xt({message:String(jn)})}}Ce.set(q),O.getAdmanWrapper().setFullscreen(q),c?(fn=(_t=O.callbacks)==null?void 0:_t.onFullscreenEnter)==null||fn.call(_t):(qn=(nn=O.callbacks)==null?void 0:nn.onFullscreenExit)==null||qn.call(nn)},vn=q=>{const _t=q;mi.set({width:_t.target.width,height:_t.target.height})};Yi(()=>{var _t;return Lu(an),Ho(Rt)&&(Rt==null||Rt.assignPlayerContainer(Ut),Rt==null||Rt.registryExternalEventHandlers({resize:vn})),Te&&((_t=Me.parentElement)==null||_t.insertBefore(Te,Me.nextSibling)),()=>{window.clearTimeout(Oi),window.clearTimeout(xt),window.clearTimeout(Ai),window.clearTimeout(Si),pn(),Rt==null||Rt.dispose(),Vu(an)}});const Ln=async()=>{if(vo())await Au(document),Xt({message:"exit fullscreen"});else{Xt({message:"request fullscreen"});const q=et!=null?et:Ut,_t=q.getRootNode(),fn=_t instanceof ShadowRoot?_t.host:_t,nn=Xe instanceof HTMLElement&&Xe.contains(fn),qn=ge.allowChangingFullscreenTarget&&Xe&&nn?Xe:q;await Eu(qn)}},$i=()=>{It.set(!1),Mt.set(!1)},Vn=q=>{Mt.set(!0),t(40,Ji=q.clientX),t(41,vi=q.clientY)};function $(){$t.set(!0),li||ui(ge.controls.hideTimeoutCursor)}function gt(){li||(Jt.set(!0),ui(ge.controls.hideTimeoutCursor))}function un(){$t.set(!1),t(125,bi=!1),t(124,si=!1),zt=!1,O.actions.internal.releaseCamera()}function xi(q){if(Ut){const _t=bc(q.currentTarget),fn=a.height,nn=q.pageY-_t;nn<ir?t(125,bi=!0):nn>fn-ir?t(124,si=!0):(t(125,bi=!1),n||t(124,si=!1))}}function cn(q){xi(q),ai||ui(ge.controls.hideTimeoutCursor),s&&zt&&Yt&&O.actions.internal.moveCameraFocusPX(Yt.clientX-q.clientX,Yt.clientY-q.clientY,q.timeStamp-Yt.timeStamp),Yt=q}const en=q=>{q.button===0&&(zt=!0,O.actions.internal.holdCamera()),ui(ge.controls.hideTimeoutCursor)},lo=q=>{q.button===0&&(Yt=q,zt=!1,O.actions.internal.releaseCamera()),ui(ge.controls.hideTimeoutCursor)},ro=()=>{Xt({message:"double click on video"}),Ln(),ui(ge.controls.hideTimeoutCursor)},so=()=>{if(o||n){$i();return}if(!(r&&!hi)){if(Fi)return Zi();if(de==null||de.focus(),!ce){tt(),ui(ge.controls.hideTimeoutCursor);return}O.actions.internal.togglePlay(),ui(ge.controls.hideTimeoutCursor)}},ao=q=>{$i(),ri.set(!0),ui(ge.controls.hideTimeout),q&&hn(ge.controls.hideHotKeyHelpers,q)},uo=()=>{var q,_t;$i(),(q=O.callbacks)!=null&&q.onOpenHotKeyMap?(_t=O.callbacks)==null||_t.onOpenHotKeyMap(l):qi.update(fn=>!fn)},co=()=>{if(o||n){$i();return}},Hn=()=>{ri.set(!0)};function Un(q){We[q?"unshift":"push"](()=>{Me=q,t(0,Me)})}const re=()=>de==null?void 0:de.focus();function gn(q){Bi=q,t(39,Bi)}const ct=()=>de==null?void 0:de.focus();function qt(q){We[q?"unshift":"push"](()=>{de=q,t(48,de)})}function tn(q){We[q?"unshift":"push"](()=>{Li=q,t(30,Li)})}function bn(q){We[q?"unshift":"push"](()=>{Ut=q,t(38,Ut)})}return i.$$set=q=>{"store"in q&&t(119,O=q.store),"uiConfig"in q&&t(1,ge=q.uiConfig),"title"in q&&t(2,Q=q.title),"thumbUrl"in q&&t(3,M=q.thumbUrl),"videoLogoUrl"in q&&t(4,J=q.videoLogoUrl),"videoContainer"in q&&t(0,Me=q.videoContainer),"interactiveContainer"in q&&t(120,Te=q.interactiveContainer),"live"in q&&t(5,Le=q.live),"autoplay"in q&&t(6,x=q.autoplay),"canRewindLive"in q&&t(7,ue=q.canRewindLive),"showAds"in q&&t(8,ve=q.showAds),"adsSlotId"in q&&t(9,se=q.adsSlotId),"adsParams"in q&&t(10,Fe=q.adsParams),"adsPreviewParam"in q&&t(11,He=q.adsPreviewParam),"duration"in q&&t(12,st=q.duration),"logoClickable"in q&&t(13,lt=q.logoClickable),"logoHidden"in q&&t(14,ze=q.logoHidden),"showNextPrevButtons"in q&&t(15,mt=q.showNextPrevButtons),"nextButtonActive"in q&&t(16,kt=q.nextButtonActive),"prevButtonActive"in q&&t(17,Re=q.prevButtonActive),"endScreenVideoTitle"in q&&t(18,Ne=q.endScreenVideoTitle),"endScreenVideoThumb"in q&&t(19,Wt=q.endScreenVideoThumb),"isOneVideoPlaylist"in q&&t(20,At=q.isOneVideoPlaylist),"supportLink"in q&&t(21,ut=q.supportLink),"outerContainerRef"in q&&t(121,et=q.outerContainerRef),"playerStarted"in q&&t(22,ce=q.playerStarted),"fullScreenTarget"in q&&t(122,Xe=q.fullScreenTarget),"showMiniTimer"in q&&t(123,$e=q.showMiniTimer),"playNextVideo"in q&&t(23,Je=q.playNextVideo),"playPrevVideo"in q&&t(24,Ze=q.playPrevVideo),"repeatPlaylist"in q&&t(25,dt=q.repeatPlaylist),"seekToInteractive"in q&&t(26,xe=q.seekToInteractive),"toggleGraph"in q&&t(27,rt=q.toggleGraph),"playPrevChapter"in q&&t(28,Ke=q.playPrevChapter),"firstStart"in q&&t(29,tt=q.firstStart)},i.$$.update=()=>{i.$$.dirty[1]&48|i.$$.dirty[4]&786432&&t(42,zi=(B===Be.Video&&ee||B===Be.Ads&&X===Qt.INACTIVE)&&!E),i.$$.dirty[0]&1073741824&&ji.set(Li),i.$$.dirty[4]&131072&&t(126,ei=ne!==nt.PlaybackState.PLAYING),i.$$.dirty[4]&66567&&t(127,ai=g&&!(si||bi)&&!(ei&&!W)),i.$$.dirty[1]&112|i.$$.dirty[4]&33324&&Ie.set((ei||n||b||Y||U)&&!ai&&B===Be.Video&&!E),i.$$.dirty[0]&2|i.$$.dirty[1]&56|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&16384&&t(43,Wi=ge.features.thumbTimer&&$e&&B===Be.Video&&!_&&!E&&!li&&(ge.hideThumbTimerAfterTouch&&!N||!ge.hideThumbTimerAfterTouch)),i.$$.dirty[1]&32|i.$$.dirty[4]&8320&&t(44,Di=B===Be.Video&&!P&&c),i.$$.dirty[0]&256|i.$$.dirty[1]&16|i.$$.dirty[4]&4160&&t(31,Pi=(ve&&w||!ve)&&r&&!E),i.$$.dirty[1]&9|i.$$.dirty[4]&3072&&t(45,Ki=L&&!(_||Pi)&&!g),i.$$.dirty[0]&2|i.$$.dirty[4]&1552&&(!b&&ti&&!g&&ui(ge.controls.hideTimeoutCursor),t(128,ti=b)),i.$$.dirty[0]&1|i.$$.dirty[1]&6&&t(46,_i=Me&&p%180?a.height/a.width:1),i.$$.dirty[4]&256&&t(47,Fi=h!==null)},[Me,ge,Q,M,J,Le,x,ue,ve,se,Fe,He,st,lt,ze,mt,kt,Re,Ne,Wt,At,ut,ce,Je,Ze,dt,xe,rt,Ke,tt,Li,Pi,a,p,_,E,B,Y,Ut,Bi,Ji,vi,zi,Wi,Di,Ki,_i,Fi,de,o,s,f,T,te,fe,A,oe,ae,ke,we,Ee,Pe,H,G,ht,Ye,Lt,at,ci,me,Ce,Ie,It,fi,Mt,Ci,Vi,Ii,Ve,Nt,di,Ot,Vt,Mi,oi,Xi,Pt,Ui,mi,Ni,Ri,Ti,li,Ei,yi,ri,pi,qi,Ht,Jt,gi,Kt,$t,Zi,Ln,$i,Vn,$,gt,un,cn,en,lo,ro,so,ao,uo,co,Hn,O,Te,et,Xe,$e,si,bi,ei,ai,ti,n,r,c,h,b,g,L,w,P,N,U,W,ne,X,ee,Un,re,gn,ct,qt,tn,bn]}class gg extends Se{constructor(e){super(),ye(this,e,vg,hg,_e,{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},dg,[-1,-1,-1,-1,-1,-1])}}const bg=i=>{if(!le.isIOS(!0))return!1;const e=i.device===le.CurrentClientDevice.iPad||(window==null?void 0:window.screen.width)>700,t=le.getIOSVersion();return!e||e&&!!t&&t<16};function _g(i){je(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 o1(i){let e,t,n,o,l,r,s,a,c,f,h,p,b,g,_,L=Z("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",E;return{c(){e=k("div"),n=R(),o=k("div"),l=k("div"),r=k("div"),a=R(),c=k("div"),h=R(),p=k("div"),g=R(),_=k("p"),E=De(L),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(r,"class",s="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(p,"class",b="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(w,P){S(w,e,P),S(w,n,P),S(w,o,P),d(o,l),d(l,r),d(l,a),d(l,c),d(l,h),d(l,p),d(o,g),d(o,_),d(_,E)},p(w,P){P&1&&t!==(t="semicircle "+w[0]+" v-nhq2ld")&&u(e,"class",t),P&1&&s!==(s="triangle "+w[0]+" v-nhq2ld")&&u(r,"class",s),P&1&&f!==(f="triangle "+w[0]+" v-nhq2ld")&&u(c,"class",f),P&1&&b!==(b="triangle "+w[0]+" v-nhq2ld")&&u(p,"class",b),P&2&&L!==(L=Z("doubletap_seek_step",{seconds:w[1].toFixed(0)})+"")&&ot(E,L)},d(w){w&&(y(e),y(n),y(o))}}}function wg(i){let e,t,n,o,l=i[2]&&o1(i);return{c(){e=k("div"),l&&l.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(r,s){S(r,e,s),l&&l.m(e,null),n||(o=Ae(e,"click",ft(i[3]())),n=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=o1(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null),s&1&&t!==(t="double-click-area "+r[0]+" v-nhq2ld")&&u(e,"class",t)},i:K,o:K,d(r){r&&y(e),l&&l.d(),n=!1,o()}}}function kg(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:l}=e,{handleSecondClick:r}=e,s=!1,a=0,c=0;const f=()=>{let p=0;return()=>{p+=1,p===1?a=window.setTimeout(()=>{l(),p=0},300):(window.clearTimeout(a),p=0,r(),t(2,s=!0),c=window.setTimeout(()=>{t(2,s=!1)},500))}};return jo(()=>{window.clearTimeout(a),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,r=h.handleSecondClick)},[n,o,s,f,l,r]}class _c extends Se{constructor(e){super(),ye(this,e,kg,wg,_e,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},_g)}}function yg(i,e,t){let{playNextVideo:n}=e;return Yi(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class Sg extends Se{constructor(e){super(),ye(this,e,yg,null,_e,{playNextVideo:0})}}const{window:Pg}=A1;function Cg(i){je(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 l1(i){let e,t,n,o;e=new _c({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[127]}});let l=!i[48]&&r1(i);return{c(){F(e.$$.fragment),t=R(),l&&l.c(),n=bt()},m(r,s){z(e,r,s),S(r,t,s),l&&l.m(r,s),S(r,n,s),o=!0},p(r,s){const a={};s[0]&2&&(a.seekStep=r[1].controls.seekStepMobile/1e3),e.$set(a),r[48]?l&&(he(),v(l,1,1,()=>{l=null}),pe()):l?(l.p(r,s),s[1]&131072&&m(l,1)):(l=r1(r),l.c(),m(l,1),l.m(n.parentNode,n))},i(r){o||(m(e.$$.fragment,r),m(l),o=!0)},o(r){v(e.$$.fragment,r),v(l),o=!1},d(r){r&&(y(t),y(n)),D(e,r),l&&l.d(r)}}}function r1(i){let e,t;return e=new _c({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[128]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function s1(i){var n;let e,t;return e=new vc({props:{thumbUrl:i[2],startTime:(n=i[4])==null?void 0:n.startTime}}),{c(){F(e.$$.fragment)},m(o,l){z(e,o,l),t=!0},p(o,l){var s;const r={};l[0]&4&&(r.thumbUrl=o[2]),l[0]&16&&(r.startTime=(s=o[4])==null?void 0:s.startTime),e.$set(r)},i(o){t||(m(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){D(e,o)}}}function a1(i){let e,t;return e=new gc({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function u1(i){let e,t,n;return t=new Iu({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),V(e,"hidden",i[34]!==Be.Ads)},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[0]&256&&(r.adsSlotId=o[8]),l[0]&512&&(r.adsParams=o[9]),l[0]&1024&&(r.adsPreviewParam=o[10]),l[0]&2048&&(r.duration=o[11]),t.$set(r),(!n||l[1]&8)&&V(e,"hidden",o[34]!==Be.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function c1(i){let e,t;return e=new Sg({props:{playNextVideo:i[22]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function f1(i){let e,t;return e=new fc({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function d1(i){let e,t,n;return t=new K1({props:{ariaLabel:Z("video360")}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,l){S(o,e,l),z(t,e,null),n=!0},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function m1(i){let e,t;return e=new mc({props:{thumbUrl:i[2],chromecastDeviceName:i[51]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function h1(i){let e,t;return e=new dc({props:{shifted:i[30],captions:i[53],position:i[44],playerSize:i[31],isMobile:!0}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function p1(i){let e,t;return e=new Mu({props:{showControls:i[30]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function v1(i){let e,t,n,o,l;return t=new hc({}),{c(){e=k("div"),F(t.$$.fragment)},m(r,s){S(r,e,s),z(t,e,null),n=!0,o||(l=Ae(e,"click",ft(i[100])),o=!0)},p:K,i(r){n||(m(t.$$.fragment,r),n=!0)},o(r){v(t.$$.fragment,r),n=!1},d(r){r&&y(e),D(t),o=!1,l()}}}function g1(i){let e,t;return e=new Hu({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function b1(i){let e,t;return e=new Bu({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function _1(i){let e,t,n=i[6]&&i[78]&&!i[47].has(vt.TIMELINE),o,l,r,s,a,c,f,h,p,b,g,_,L,E,w,P,B,N,U;e=new pc({props:{hidden:i[34]!==Be.Thumb||i[33]||i[89]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let Y=n&&l1(i),W=i[34]===Be.WaitingLive&&s1(i),ne=i[34]===Be.WaitingRecord&&a1(),X=i[7]&&i[21]&&u1(i),ee=i[41]&&i[17]&&i[18]&&c1(i),T=i[49]&&f1(),te=i[50]&&d1(),fe=i[35]&&m1(i),A=i[52].value!=="off"&&h1(i),oe=i[1].features.annotations&&p1(i),ae=i[33]&&v1(i);function ke(H){i[129](H)}let we={bottomHidden:i[34]===Be.Thumb||i[34]===Be.WaitingLive||i[34]===Be.WaitingRecord||i[34]===Be.Ads,showControls:i[30],bottomNoSmooth:i[45],isAds:i[34]===Be.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&&(we.controlsElementRef=i[37]),_=new uc({props:we}),We.push(()=>Tt(_,"controlsElementRef",ke)),w=new Ru({props:{isLive:i[55],isHidden:!i[40],isPlaying:i[56],position:i[44],duration:i[43]}});let Ee=i[38]&&g1(),Pe=i[57]&&b1();return{c(){F(e.$$.fragment),t=R(),Y&&Y.c(),o=R(),W&&W.c(),l=R(),ne&&ne.c(),r=R(),X&&X.c(),s=R(),ee&&ee.c(),a=R(),T&&T.c(),c=R(),te&&te.c(),f=R(),fe&&fe.c(),h=R(),A&&A.c(),p=R(),oe&&oe.c(),b=R(),ae&&ae.c(),g=R(),F(_.$$.fragment),E=R(),F(w.$$.fragment),P=R(),Ee&&Ee.c(),B=R(),Pe&&Pe.c(),N=bt()},m(H,G){z(e,H,G),S(H,t,G),Y&&Y.m(H,G),S(H,o,G),W&&W.m(H,G),S(H,l,G),ne&&ne.m(H,G),S(H,r,G),X&&X.m(H,G),S(H,s,G),ee&&ee.m(H,G),S(H,a,G),T&&T.m(H,G),S(H,c,G),te&&te.m(H,G),S(H,f,G),fe&&fe.m(H,G),S(H,h,G),A&&A.m(H,G),S(H,p,G),oe&&oe.m(H,G),S(H,b,G),ae&&ae.m(H,G),S(H,g,G),z(_,H,G),S(H,E,G),z(w,H,G),S(H,P,G),Ee&&Ee.m(H,G),S(H,B,G),Pe&&Pe.m(H,G),S(H,N,G),U=!0},p(H,G){const O={};G[0]&32|G[1]&12&&(O.hidden=H[34]!==Be.Thumb||H[33]||H[89]&&H[5]),G[0]&4&&(O.thumbUrl=H[2]),G[0]&268435456&&(O.startVideo=H[28]),e.$set(O),G[0]&64|G[1]&65536&&(n=H[6]&&H[78]&&!H[47].has(vt.TIMELINE)),n?Y?(Y.p(H,G),G[0]&64|G[1]&65536&&m(Y,1)):(Y=l1(H),Y.c(),m(Y,1),Y.m(o.parentNode,o)):Y&&(he(),v(Y,1,1,()=>{Y=null}),pe()),H[34]===Be.WaitingLive?W?(W.p(H,G),G[1]&8&&m(W,1)):(W=s1(H),W.c(),m(W,1),W.m(l.parentNode,l)):W&&(he(),v(W,1,1,()=>{W=null}),pe()),H[34]===Be.WaitingRecord?ne?G[1]&8&&m(ne,1):(ne=a1(),ne.c(),m(ne,1),ne.m(r.parentNode,r)):ne&&(he(),v(ne,1,1,()=>{ne=null}),pe()),H[7]&&H[21]?X?(X.p(H,G),G[0]&2097280&&m(X,1)):(X=u1(H),X.c(),m(X,1),X.m(s.parentNode,s)):X&&(he(),v(X,1,1,()=>{X=null}),pe()),H[41]&&H[17]&&H[18]?ee?(ee.p(H,G),G[0]&393216|G[1]&1024&&m(ee,1)):(ee=c1(H),ee.c(),m(ee,1),ee.m(a.parentNode,a)):ee&&(he(),v(ee,1,1,()=>{ee=null}),pe()),H[49]?T?G[1]&262144&&m(T,1):(T=f1(),T.c(),m(T,1),T.m(c.parentNode,c)):T&&(he(),v(T,1,1,()=>{T=null}),pe()),H[50]?te?(te.p(H,G),G[1]&524288&&m(te,1)):(te=d1(),te.c(),m(te,1),te.m(f.parentNode,f)):te&&(he(),v(te,1,1,()=>{te=null}),pe()),H[35]?fe?(fe.p(H,G),G[1]&16&&m(fe,1)):(fe=m1(H),fe.c(),m(fe,1),fe.m(h.parentNode,h)):fe&&(he(),v(fe,1,1,()=>{fe=null}),pe()),H[52].value!=="off"?A?(A.p(H,G),G[1]&2097152&&m(A,1)):(A=h1(H),A.c(),m(A,1),A.m(p.parentNode,p)):A&&(he(),v(A,1,1,()=>{A=null}),pe()),H[1].features.annotations?oe?(oe.p(H,G),G[0]&2&&m(oe,1)):(oe=p1(H),oe.c(),m(oe,1),oe.m(b.parentNode,b)):oe&&(he(),v(oe,1,1,()=>{oe=null}),pe()),H[33]?ae?(ae.p(H,G),G[1]&4&&m(ae,1)):(ae=v1(H),ae.c(),m(ae,1),ae.m(g.parentNode,g)):ae&&(he(),v(ae,1,1,()=>{ae=null}),pe());const ge={};G[1]&8&&(ge.bottomHidden=H[34]===Be.Thumb||H[34]===Be.WaitingLive||H[34]===Be.WaitingRecord||H[34]===Be.Ads),G[0]&1073741824&&(ge.showControls=H[30]),G[1]&16384&&(ge.bottomNoSmooth=H[45]),G[1]&8&&(ge.isAds=H[34]===Be.Ads),G[0]&64|G[1]&8388608&&(ge.canRewindLive=H[6]&&H[54]!==0),G[0]&4096&&(ge.logoClickable=H[12]),G[0]&8192&&(ge.logoHidden=H[13]),G[0]&8&&(ge.videoLogoUrl=H[3]),G[0]&16384&&(ge.showNextPrevButtons=H[14]),G[0]&32768&&(ge.nextButtonActive=H[15]),G[0]&65536&&(ge.prevButtonActive=H[16]),G[0]&524288&&(ge.isOneVideoPlaylist=H[19]),G[0]&1048576&&(ge.supportLink=H[20]),G[1]&256&&(ge.customFullscreenSupported=H[39]),G[0]&4194304&&(ge.playNextVideo=H[22]),G[0]&8388608&&(ge.playPrevVideo=H[23]),G[0]&16777216&&(ge.repeatPlaylist=H[24]),G[0]&33554432&&(ge.seekToInteractive=H[25]),G[0]&67108864&&(ge.toggleGraph=H[26]),G[0]&134217728&&(ge.playPrevChapter=H[27]),!L&&G[1]&64&&(L=!0,ge.controlsElementRef=H[37],Ct(()=>L=!1)),_.$set(ge);const Q={};G[1]&16777216&&(Q.isLive=H[55]),G[1]&512&&(Q.isHidden=!H[40]),G[1]&33554432&&(Q.isPlaying=H[56]),G[1]&8192&&(Q.position=H[44]),G[1]&4096&&(Q.duration=H[43]),w.$set(Q),H[38]?Ee?G[1]&128&&m(Ee,1):(Ee=g1(),Ee.c(),m(Ee,1),Ee.m(B.parentNode,B)):Ee&&(he(),v(Ee,1,1,()=>{Ee=null}),pe()),H[57]?Pe?G[1]&67108864&&m(Pe,1):(Pe=b1(),Pe.c(),m(Pe,1),Pe.m(N.parentNode,N)):Pe&&(he(),v(Pe,1,1,()=>{Pe=null}),pe())},i(H){U||(m(e.$$.fragment,H),m(Y),m(W),m(ne),m(X),m(ee),m(T),m(te),m(fe),m(A),m(oe),m(ae),m(_.$$.fragment,H),m(w.$$.fragment,H),m(Ee),m(Pe),U=!0)},o(H){v(e.$$.fragment,H),v(Y),v(W),v(ne),v(X),v(ee),v(T),v(te),v(fe),v(A),v(oe),v(ae),v(_.$$.fragment,H),v(w.$$.fragment,H),v(Ee),v(Pe),U=!1},d(H){H&&(y(t),y(o),y(l),y(r),y(s),y(a),y(c),y(f),y(h),y(p),y(b),y(g),y(E),y(P),y(B),y(N)),D(e,H),Y&&Y.d(H),W&&W.d(H),ne&&ne.d(H),X&&X.d(H),ee&&ee.d(H),T&&T.d(H),te&&te.d(H),fe&&fe.d(H),A&&A.d(H),oe&&oe.d(H),ae&&ae.d(H),D(_,H),D(w,H),Ee&&Ee.d(H),Pe&&Pe.d(H)}}}function Tg(i){let e,t,n,o,l,r=i[46],s,a,c,f,h,p=_1(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=R(),p.c(),s=R(),a=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]!==Be.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut")},m(b,g){S(b,e,g),d(e,t),d(t,n),i[126](n),d(e,l),p.m(e,null),d(e,s),d(e,a),i[130](a),i[131](e),c=!0,f||(h=[Ae(Pg,"blur",i[98]),Ae(t,"click",wi(i[99])),Ae(e,"click",i[101],!0),Ae(e,"focusin",i[102],!0)],f=!0)},p(b,g){(!c||g[1]&2050&&o!==(o=`transform: rotate(${b[32]}deg) scale(${b[42]})`))&&u(n,"style",o),(!c||g[0]&2)&&V(n,"fast-rotate",!b[1].isSmoothVideoRotate),(!c||g[1]&8)&&V(t,"hidden",b[34]!==Be.Video),g[1]&32768&&_e(r,r=b[46])?(he(),v(p,1,1,K),pe(),p=_1(b),p.c(),m(p,1),p.m(e,s)):p.p(b,g)},i(b){c||(m(p),c=!0)},o(b){v(p),c=!1},d(b){b&&y(e),i[126](null),p.d(b),i[130](null),i[131](null),f=!1,ni(h)}}}function Eg(i,e,t){let n,o,l,r,s,a,c,f,h,p,b,g,_,L,E,w,P,B,N,U,Y,W,ne,X,ee,T,te,fe,A,oe,ae,ke,we,Ee,Pe,H,{store:G}=e,{uiConfig:O}=e,{thumbUrl:ge}=e,{videoLogoUrl:Q}=e,{videoContainer:M}=e,{interactiveContainer:J}=e,{live:Me}=e,{autoplay:Te}=e,{canRewindLive:Le}=e,{showAds:x}=e,{adsSlotId:ue=void 0}=e,{adsParams:ve=void 0}=e,{adsPreviewParam:se=void 0}=e,{duration:Fe=void 0}=e,{logoClickable:He}=e,{logoHidden:st}=e,{showNextPrevButtons:lt=!1}=e,{nextButtonActive:ze=!1}=e,{prevButtonActive:mt=!1}=e,{endScreenVideoTitle:kt=void 0}=e,{endScreenVideoThumb:Re=void 0}=e,{isOneVideoPlaylist:Ne=!1}=e,{supportLink:Wt}=e,{outerContainerRef:At=void 0}=e,{showMiniTimer:ut=!1}=e,{fullScreenTarget:et=void 0}=e,{playerStarted:ce=!1}=e,{playNextVideo:Xe=le.noop}=e,{playPrevVideo:$e=le.noop}=e,{repeatPlaylist:Je=le.noop}=e,{seekToInteractive:Ze}=e,{toggleGraph:dt}=e,{playPrevChapter:xe}=e,{firstStart:rt}=e,{seekTime:Ke}=e;const tt=G.getLogger().createComponentLog("Root component"),Xt=G.interfaceLanguage$;j(i,Xt,$=>t(46,ee=$));const ht=G.state.playbackState$;j(i,ht,$=>t(123,W=$));const Ye=G.ads.playbackState;j(i,Ye,$=>t(124,ne=$));const Lt=G.state.positionWithScrubbing$;j(i,Lt,$=>t(44,r=$));const at=G.state.duration$;j(i,at,$=>t(43,l=$));const ci=G.playerPhase;j(i,ci,$=>t(34,B=$));const me=G.ui.isFullscreen;j(i,me,$=>t(137,a=$));const Ce=G.ui.controlsVisible;j(i,Ce,$=>t(30,o=$));const Ie=G.ui.interactiveHideMobileControls;j(i,Ie,$=>t(115,p=$));const It=G.ui.settingsMenuVisible;j(i,It,$=>t(114,n=$));const fi=G.ui.scrubbingInProgress;j(i,fi,$=>t(116,g=$));const Mt=G.ui.debugPanelVisible;j(i,Mt,$=>t(57,H=$));const Ci=G.state.isLoaderVisible;j(i,Ci,$=>t(125,X=$));const Vi=G.state.isEnded$;j(i,Vi,$=>t(118,E=$));const Ii=G.state.chromecastConnected$;j(i,Ii,$=>t(35,N=$));const Ve=G.state.chromecastDeviceName$;j(i,Ve,$=>t(51,oe=$));const Nt=G.ads.postrollPassed;j(i,Nt,$=>t(119,w=$));const di=G.ui.mobileUnmuteButtonExpanded,Ot=G.ui.mobileUnmuteButtonVisible,Vt=G.state.isLive$;j(i,Vt,$=>t(55,Ee=$));const Mi=G.state.isPlaying$;j(i,Mi,$=>t(56,Pe=$));const Rt=G.state.isActiveLive$;j(i,Rt,$=>t(48,te=$));const oi=G.state.isRewindableLive$,Xi=G.state.crashed$;j(i,Xi,$=>t(33,L=$));const Pt=G.webApi.pictureInPictureApi,Ui=G.state.videoSize$;j(i,Ui,$=>t(138,f=$));const mi=G.state.currentSubtitle$;j(i,mi,$=>t(52,ae=$));const Ni=G.state.currentSubtitleCaptions$;j(i,Ni,$=>t(53,ke=$));const Ri=G.state.duration$;j(i,Ri,$=>t(54,we=$));const Ti=G.state.graphIsOpened$;j(i,Ti,$=>t(122,Y=$));const li=G.ui.playerSize;j(i,li,$=>t(31,c=$));const Ei=G.ui.is3DVideo;j(i,Ei,$=>t(49,fe=$));const yi=G.ui.icon3DVideoVisible;j(i,yi,$=>t(50,A=$));const hi=G.ui.rotateAlpha;j(i,hi,$=>t(32,b=$));const ri=G.state.isInteractive,pi=G.state.isInteractiveTime$;j(i,pi,$=>t(117,_=$));const qi=G.state.isInteractiveExpectation$;j(i,qi,$=>t(121,U=$));const ji=G.state.hasInteractiveBranches,Ht=G.ui.controls.disabledControls$;j(i,Ht,$=>t(47,T=$));const Ut=G.ui.touched;j(i,Ut,$=>t(120,P=$));const Bi=G.ui.clientInfo$;j(i,Bi,$=>t(136,s=$));const Ji=G.ui.overlayContainer$;let vi,Oi,Ai,Si,zi,Li,Jt;const xt=Ue(!1);j(i,xt,$=>t(45,h=$));let gi,Kt=!1,$t,si=!1,bi,ei=!0,ai,Wi,Di=!1,Pi;Pt==null||Pt.setContext(L1());const Ki=$=>{clearTimeout(Si),$&&(Ot.set(!0),di.set(!0),Si=window.setTimeout(()=>{di.set(!1)},O.controls.collapseMobileUnmute),ri||_i(O.controls.hideTimeoutMobile))};G.setUiCallbacks({onStarted:Ki});const ti=()=>{window.clearTimeout(Ai),t(109,Kt=!1),p&&Ie.set(!1)},_i=$=>{ti(),t(109,Kt=!0),Ai=window.setTimeout(()=>t(109,Kt=!1),$);const gt=$-100;gi=window.setTimeout(()=>{h&&xt.set(!1)},gt>0?gt:$)},Fi=Ei.subscribe($=>{yi.set($),$&&(window.clearTimeout(zi),zi=window.setTimeout(()=>yi.set(!1),O.controls.hide360IconTimeout))}),Zi=async()=>{var gt,un,xi,cn;const $=vo();if($){_i(O.controls.hideTimeoutFullscreen);try{await(Pt==null?void 0:Pt.remove())}catch(en){tt({message:String(en)})}try{const en=f!=null&&f.width&&(f!=null&&f.height)?f:c;await X2(en)}catch(en){tt({message:String(en)})}}me.set($),G.getAdmanWrapper().setFullscreen($),a?(un=(gt=G.callbacks)==null?void 0:gt.onFullscreenEnter)==null||un.call(gt):(cn=(xi=G.callbacks)==null?void 0:xi.onFullscreenExit)==null||cn.call(xi)},zt=$=>{const gt=$;li.set({width:gt.target.width,height:gt.target.height})};Yi(()=>{var gt;return Lu(Zi),Ho(Pt)&&(Pt==null||Pt.assignPlayerContainer(vi),Pt==null||Pt.registryExternalEventHandlers({resize:zt})),t(39,ei=!bg(s)),J&&((gt=M.parentElement)==null||gt.insertBefore(J,M.nextSibling)),()=>{window.clearTimeout(Ai),window.clearTimeout(gi),window.clearTimeout(Si),window.clearTimeout(zi),Fi(),Pt==null||Pt.dispose(),Vu(Zi)}});const Yt=$=>{let gt=r+($==="forward"?1:-1)*O.controls.seekStepMobile/1e3;gt<0?gt=0:gt>l&&(gt=l-1),t(111,si=!0),Ke(gt)},de=async()=>{if(vo())await Au(document),tt({message:"exit fullscreen"});else{tt({message:"request fullscreen"});const $=At!=null?At:vi,gt=$.getRootNode(),un=gt instanceof ShadowRoot?gt.host:gt,xi=et instanceof HTMLElement&&et.contains(un),cn=O.allowChangingFullscreenTarget&&et&&xi?et:$;await Eu(cn)}},Gi=()=>{It.set(!1)},sn=()=>{if(n){Gi();return}if(!ce){rt(),_i(O.controls.hideTimeoutCursor);return}t(111,si=!1),o?ti():_i(O.controls.hideTimeoutMobile)},Bn=()=>{if(n){Gi();return}},ui=()=>{Ut.set(!0)},hn=()=>{ri||(xt.set(!0),_i(O.controls.hideTimeoutCursor))};function pn($){We[$?"unshift":"push"](()=>{M=$,t(0,M)})}const an=()=>Yt("backward"),vn=()=>Yt("forward");function Ln($){Oi=$,t(37,Oi)}function $i($){We[$?"unshift":"push"](()=>{Jt=$,t(29,Jt)})}function Vn($){We[$?"unshift":"push"](()=>{vi=$,t(36,vi)})}return i.$$set=$=>{"store"in $&&t(103,G=$.store),"uiConfig"in $&&t(1,O=$.uiConfig),"thumbUrl"in $&&t(2,ge=$.thumbUrl),"videoLogoUrl"in $&&t(3,Q=$.videoLogoUrl),"videoContainer"in $&&t(0,M=$.videoContainer),"interactiveContainer"in $&&t(104,J=$.interactiveContainer),"live"in $&&t(4,Me=$.live),"autoplay"in $&&t(5,Te=$.autoplay),"canRewindLive"in $&&t(6,Le=$.canRewindLive),"showAds"in $&&t(7,x=$.showAds),"adsSlotId"in $&&t(8,ue=$.adsSlotId),"adsParams"in $&&t(9,ve=$.adsParams),"adsPreviewParam"in $&&t(10,se=$.adsPreviewParam),"duration"in $&&t(11,Fe=$.duration),"logoClickable"in $&&t(12,He=$.logoClickable),"logoHidden"in $&&t(13,st=$.logoHidden),"showNextPrevButtons"in $&&t(14,lt=$.showNextPrevButtons),"nextButtonActive"in $&&t(15,ze=$.nextButtonActive),"prevButtonActive"in $&&t(16,mt=$.prevButtonActive),"endScreenVideoTitle"in $&&t(17,kt=$.endScreenVideoTitle),"endScreenVideoThumb"in $&&t(18,Re=$.endScreenVideoThumb),"isOneVideoPlaylist"in $&&t(19,Ne=$.isOneVideoPlaylist),"supportLink"in $&&t(20,Wt=$.supportLink),"outerContainerRef"in $&&t(105,At=$.outerContainerRef),"showMiniTimer"in $&&t(106,ut=$.showMiniTimer),"fullScreenTarget"in $&&t(107,et=$.fullScreenTarget),"playerStarted"in $&&t(21,ce=$.playerStarted),"playNextVideo"in $&&t(22,Xe=$.playNextVideo),"playPrevVideo"in $&&t(23,$e=$.playPrevVideo),"repeatPlaylist"in $&&t(24,Je=$.repeatPlaylist),"seekToInteractive"in $&&t(25,Ze=$.seekToInteractive),"toggleGraph"in $&&t(26,dt=$.toggleGraph),"playPrevChapter"in $&&t(27,xe=$.playPrevChapter),"firstStart"in $&&t(28,rt=$.firstStart),"seekTime"in $&&t(108,Ke=$.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&12|i.$$.dirty[4]&3&&t(38,Li=(B===Be.Video&&X||B===Be.Ads&&ne===Qt.INACTIVE)&&!L),i.$$.dirty[0]&536870912&&Ji.set(Jt),i.$$.dirty[3]&1073741824&&t(110,$t=W!==nt.PlaybackState.PLAYING),i.$$.dirty[3]&843251712&&t(112,bi=Y||p||!Kt&&(E&&!!ji||$t&&U)),i.$$.dirty[1]&28|i.$$.dirty[3]&11468800&&Ce.set(($t||n||g||N||Kt&&!si)&&!bi&&B===Be.Video&&!L),i.$$.dirty[0]&1073741826|i.$$.dirty[1]&12|i.$$.dirty[3]&134225920&&t(40,ai=O.features.thumbTimer&&ut&&B===Be.Video&&!o&&!L&&!ri&&(O.hideThumbTimerAfterTouch&&!P||!O.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&4|i.$$.dirty[3]&100663296&&t(41,Wi=(x&&w||!x)&&E&&!L),i.$$.dirty[0]&2|i.$$.dirty[3]&26214400&&(!g&&Di&&!_&&_i(O.controls.hideTimeoutMobile),t(113,Di=g)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(42,Pi=M&&b%180?c.height/c.width:1)},[M,O,ge,Q,Me,Te,Le,x,ue,ve,se,Fe,He,st,lt,ze,mt,kt,Re,Ne,Wt,ce,Xe,$e,Je,Ze,dt,xe,rt,Jt,o,c,b,L,B,N,vi,Oi,Li,ei,ai,Wi,Pi,l,r,h,ee,T,te,fe,A,oe,ae,ke,we,Ee,Pe,H,Xt,ht,Ye,Lt,at,ci,me,Ce,Ie,It,fi,Mt,Ci,Vi,Ii,Ve,Nt,Vt,Mi,Rt,oi,Xi,Ui,mi,Ni,Ri,Ti,li,Ei,yi,hi,ri,pi,qi,Ht,Ut,Bi,xt,Yt,de,Gi,sn,Bn,ui,hn,G,J,At,ut,et,Ke,Kt,$t,si,bi,Di,n,p,g,_,E,w,P,U,Y,W,ne,X,pn,an,vn,Ln,$i,Vn]}class Ag extends Se{constructor(e){super(),ye(this,e,Eg,Tg,_e,{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},Cg,[-1,-1,-1,-1,-1])}}function Lg(i){je(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 Cb(i){let e,t;return{c(){e=T("div"),t=Fe(i[0]),u(e,"class","title v-1bcvcf2"),M(e,"hidden",i[1])},m(n,o){E(n,e,o),p(e,t)},p(n,[o]){o&1&&$e(t,n[0]),o&2&&M(e,"hidden",n[1])},i:W,o:W,d(n){n&&P(e)}}}function Pb(i,e,t){let{title:n=""}=e,{isHidden:o=!1}=e;return i.$$set=r=>{"title"in r&&t(0,n=r.title),"isHidden"in r&&t(1,o=r.isHidden)},[n,o]}class Tb extends ke{constructor(e){super(),ye(this,e,Pb,Cb,we,{title:0,isHidden:1},Sb)}}function Eb(i){qe(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 Tu(i){let e,t,n,o,r,l,s;return{c(){e=T("div"),t=T("span"),n=Fe(i[0]),o=N(),r=T("span"),r.textContent=`${G("waiting_live_day_value")}`,l=N(),s=T("span"),s.textContent=`${G("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),E(a,l,c),E(a,s,c)},p(a,c){c&1&&$e(n,a[0])},d(a){a&&(P(e),P(l),P(s))}}}function Eu(i){let e,t,n,o,r,l,s;return{c(){e=T("div"),t=T("span"),n=Fe(i[1]),o=N(),r=T("span"),r.textContent=`${G("waiting_live_hour_value")}`,l=N(),s=T("span"),s.textContent=`${G("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),E(a,l,c),E(a,s,c)},p(a,c){c&2&&$e(n,a[1])},d(a){a&&(P(e),P(l),P(s))}}}function Au(i){let e,t,n,o,r,l,s;return{c(){e=T("div"),t=T("span"),n=Fe(i[2]),o=N(),r=T("span"),r.textContent=`${G("waiting_live_minute_value")}`,l=N(),s=T("span"),s.textContent=`${G("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),E(a,l,c),E(a,s,c)},p(a,c){c&4&&$e(n,a[2])},d(a){a&&(P(e),P(l),P(s))}}}function Lu(i){let e,t,n,o,r;return{c(){e=T("div"),t=T("span"),n=Fe(i[3]),o=N(),r=T("span"),r.textContent=`${G("waiting_live_second_value")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(l,s){E(l,e,s),p(e,t),p(t,n),p(e,o),p(e,r)},p(l,s){s&8&&$e(n,l[3])},d(l){l&&P(e)}}}function Ab(i){let e,t,n,o,r=i[0]&&Tu(i),l=i[1]&&Eu(i),s=i[2]&&Au(i),a=i[3]&&Lu(i);return{c(){e=T("div"),r&&r.c(),t=N(),l&&l.c(),n=N(),s&&s.c(),o=N(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){E(c,e,f),r&&r.m(e,null),p(e,t),l&&l.m(e,null),p(e,n),s&&s.m(e,null),p(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?r?r.p(c,f):(r=Tu(c),r.c(),r.m(e,t)):r&&(r.d(1),r=null),c[1]?l?l.p(c,f):(l=Eu(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[2]?s?s.p(c,f):(s=Au(c),s.c(),s.m(e,o)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=Lu(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:W,o:W,d(c){c&&P(e),r&&r.d(),l&&l.d(),s&&s.d(),a&&a.d()}}}function Lb(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,r,l,s,a,c;const f=b=>String(b).padStart(2,"0"),m=b=>{const v=Math.floor(b/86400);v&&(b-=v*86400,t(0,r=f(v)));const y=Math.floor(b/3600);t(1,l=f(y));const _=Math.floor(b/60)%60;t(2,s=f(_));const S=b%60;t(3,a=f(S))},h=()=>{const b=Math.floor(Date.now()/1e3),v=n-b;m(v),v>=1?c=requestAnimationFrame(h):o()};return mn(()=>{c=requestAnimationFrame(h)}),ml(()=>{cancelAnimationFrame(c)}),i.$$set=b=>{"startTime"in b&&t(4,n=b.startTime),"onTimerOver"in b&&t(5,o=b.onTimerOver)},[r,l,s,a,n,o]}class Ib extends ke{constructor(e){super(),ye(this,e,Lb,Ab,we,{startTime:4,onTimerOver:5},Eb)}}function Vb(i){let e,t,n,o,r;return{c(){e=B("svg"),t=B("path"),n=B("path"),o=B("path"),r=B("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"),Nt(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"),Nt(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"),Nt(o,"opacity",".985"),u(r,"fill","#fefffe"),u(r,"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"),Nt(r,"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"),Nt(e,"shape-rendering","geometricPrecision"),Nt(e,"text-rendering","geometricPrecision"),Nt(e,"image-rendering","optimizeQuality"),Nt(e,"fill-rule","evenodd"),Nt(e,"clip-rule","evenodd"),Nt(e,"width","100%"),Nt(e,"height","100%")},m(l,s){E(l,e,s),p(e,t),p(e,n),p(e,o),p(e,r)},p:W,i:W,o:W,d(l){l&&P(e)}}}class Mb extends ke{constructor(e){super(),ye(this,e,null,Vb,we,{})}}function Bb(i){qe(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 Nb(i){let e,t,n,o,r;return o=new Ib({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=T("div"),t=T("span"),t.textContent=`${G("waiting_live_timer_title")}`,n=N(),q(o.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(l,s){E(l,e,s),p(e,t),p(e,n),F(o,e,null),r=!0},p(l,s){const a={};s&2&&(a.startTime=l[1]||0),s&4&&(a.onTimerOver=l[3]),o.$set(a)},i(l){r||(d(o.$$.fragment,l),r=!0)},o(l){g(o.$$.fragment,l),r=!1},d(l){l&&P(e),H(o)}}}function Rb(i){let e,t,n,o,r,l;return n=new Mb({}),{c(){e=T("div"),t=T("div"),q(n.$$.fragment),o=N(),r=T("span"),r.textContent=`${G("waiting_live_upcoming_title")}`,u(t,"class","upcoming-icon v-15pewff"),u(r,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(s,a){E(s,e,a),p(e,t),F(n,t,null),p(e,o),p(e,r),l=!0},p:W,i(s){l||(d(n.$$.fragment,s),l=!0)},o(s){g(n.$$.fragment,s),l=!1},d(s){s&&P(e),H(n)}}}function Ob(i){let e,t,n,o,r;const l=[Rb,Nb],s=[];function a(c,f){return c[2]?0:1}return t=a(i),n=s[t]=l[t](i),{c(){e=T("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${i[2]?"":i[0]})`)},m(c,f){E(c,e,f),s[t].m(e,null),r=!0},p(c,[f]){let m=t;t=a(c),t===m?s[t].p(c,f):(he(),g(s[m],1,1,()=>{s[m]=null}),ve(),n=s[t],n?n.p(c,f):(n=s[t]=l[t](c),n.c()),d(n,1),n.m(e,null)),(!r||f&5&&o!==(o=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",o)},i(c){r||(d(n),r=!0)},o(c){g(n),r=!1},d(c){c&&P(e),s[t].d()}}}function Db(i,e,t){let n,{thumbUrl:o}=e,{startTime:r}=e;const l=()=>t(2,n=!0);return i.$$set=s=>{"thumbUrl"in s&&t(0,o=s.thumbUrl),"startTime"in s&&t(1,r=s.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=r===void 0||r<Math.floor(Date.now()/1e3))},[o,r,n,l]}class cf extends ke{constructor(e){super(),ye(this,e,Db,Ob,we,{thumbUrl:0,startTime:1},Bb)}}function zb(i){qe(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 Fb(i){let e,t;return{c(){e=T("div"),t=T("p"),t.textContent=`${G("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class ff extends ke{constructor(e){super(),ye(this,e,null,Fb,we,{},zb)}}const{window:Hb}=f1;function Ub(i){qe(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 Iu(i){var n;let e,t;return e=new cf({props:{thumbUrl:i[3],startTime:(n=i[5])==null?void 0:n.startTime}}),{c(){q(e.$$.fragment)},m(o,r){F(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&8&&(l.thumbUrl=o[3]),r[0]&32&&(l.startTime=(s=o[5])==null?void 0:s.startTime),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){H(e,o)}}}function Vu(i){let e,t;return e=new ff({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Mu(i){let e,t,n;return t=new vc({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),M(e,"hidden",i[38]!==De.Ads)},m(o,r){E(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r[0]&512&&(l.adsSlotId=o[9]),r[0]&1024&&(l.adsParams=o[10]),r[0]&2048&&(l.adsPreviewParam=o[11]),r[0]&4096&&(l.duration=o[12]),t.$set(l),(!n||r[1]&128)&&M(e,"hidden",o[38]!==De.Ads)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Bu(i){let e,t;return e=new a3({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&262144&&(r.title=n[18]),o[0]&524288&&(r.thumb=n[19]),o[0]&8388608&&(r.playNextVideo=n[23]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Nu(i){let e,t;return e=new Tb({props:{title:i[2],isHidden:!i[36]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&4&&(r.title=n[2]),o[1]&32&&(r.isHidden=!n[36]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ru(i){let e,t;return e=new lf({props:{isShifted:i[38]===De.Video&&i[36]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&160&&(r.isShifted=n[38]===De.Video&&n[36]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ou(i){let e,t,n;return t=new M1({props:{ariaLabel:G("video360")}}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,r){E(o,e,r),F(t,e,null),n=!0},p:W,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Du(i){let e,t;return e=new sf({props:{thumbUrl:i[3],chromecastDeviceName:i[55]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&8&&(r.thumbUrl=n[3]),o[1]&16777216&&(r.chromecastDeviceName=n[55]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function zu(i){let e,t;return e=new rf({props:{shifted:i[36],captions:i[57],position:i[58],playerSize:i[34]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&32&&(r.shifted=n[36]),o[1]&67108864&&(r.captions=n[57]),o[1]&134217728&&(r.position=n[58]),o[1]&8&&(r.playerSize=n[34]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Fu(i){let e,t,n,o,r;return t=new af({}),{c(){e=T("div"),q(t.$$.fragment)},m(l,s){E(l,e,s),F(t,e,null),n=!0,o||(r=[_e(e,"contextmenu",oi(i[107])),_e(e,"click",lt(i[118]))],o=!0)},p:W,i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&P(e),H(t),o=!1,ot(r)}}}function Hu(i){let e,t;return e=new Ac({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Uu(i){let e,t;return e=new I3({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function qu(i){let e,t;return e=new Sc({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ju(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O;e=new uf({props:{hidden:i[38]!==De.Thumb||i[37]||i[93]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let $=i[38]===De.WaitingLive&&Iu(i),C=i[38]===De.WaitingRecord&&Vu(),D=i[8]&&i[22]&&Mu(i),re=i[31]&&i[18]&&i[19]&&Bu(i),L=i[46]&&Nu(i),ae=i[51]&&Ru(i),pe=i[54]&&Ou(),ge=i[39]&&Du(i),ce=i[56].value!=="off"&&zu(i),Y=i[37]&&Fu(i);function fe(A){i[151](A)}let ze={bottomHidden:i[38]===De.Thumb||i[38]===De.WaitingLive||i[38]===De.WaitingRecord,bottomNoSmooth:i[52],showControls:i[36],isAds:i[38]===De.Ads,canRewindLive:i[7]&&i[59]!==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:Wb,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[105],returnFocus:i[150],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};i[41]!==void 0&&(ze.controlsElementRef=i[41]),b=new nf({props:ze}),Se.push(()=>We(b,"controlsElementRef",fe)),_=new bc({props:{isLive:i[60],isHidden:!i[45],isPlaying:i[61],position:i[58],duration:i[62]}}),k=new nb({props:{data:i[102]}});function de(A){i[153](A)}let Le={supportLink:i[21],returnFocus:i[152],visible:i[33],playerContainerRef:i[40],controlsContainerRef:i[41],x:i[42],y:i[43]};i[32]!==void 0&&(Le.menuElementRef=i[32]),R=new U4({props:Le}),Se.push(()=>We(R,"menuElementRef",de));let Pe=i[44]&&Hu(),ue=i[63]&&Uu(),Ee=i[64]&&qu();return{c(){q(e.$$.fragment),t=N(),$&&$.c(),n=N(),C&&C.c(),o=N(),D&&D.c(),r=N(),re&&re.c(),l=N(),L&&L.c(),s=N(),ae&&ae.c(),a=N(),pe&&pe.c(),c=N(),ge&&ge.c(),f=N(),ce&&ce.c(),m=N(),Y&&Y.c(),h=N(),q(b.$$.fragment),y=N(),q(_.$$.fragment),S=N(),q(k.$$.fragment),w=N(),q(R.$$.fragment),V=N(),Pe&&Pe.c(),K=N(),ue&&ue.c(),se=N(),Ee&&Ee.c(),ne=bt()},m(A,oe){F(e,A,oe),E(A,t,oe),$&&$.m(A,oe),E(A,n,oe),C&&C.m(A,oe),E(A,o,oe),D&&D.m(A,oe),E(A,r,oe),re&&re.m(A,oe),E(A,l,oe),L&&L.m(A,oe),E(A,s,oe),ae&&ae.m(A,oe),E(A,a,oe),pe&&pe.m(A,oe),E(A,c,oe),ge&&ge.m(A,oe),E(A,f,oe),ce&&ce.m(A,oe),E(A,m,oe),Y&&Y.m(A,oe),E(A,h,oe),F(b,A,oe),E(A,y,oe),F(_,A,oe),E(A,S,oe),F(k,A,oe),E(A,w,oe),F(R,A,oe),E(A,V,oe),Pe&&Pe.m(A,oe),E(A,K,oe),ue&&ue.m(A,oe),E(A,se,oe),Ee&&Ee.m(A,oe),E(A,ne,oe),O=!0},p(A,oe){const Me={};oe[0]&64|oe[1]&192&&(Me.hidden=A[38]!==De.Thumb||A[37]||A[93]&&A[6]),oe[0]&8&&(Me.thumbUrl=A[3]),oe[0]&536870912&&(Me.startVideo=A[29]),e.$set(Me),A[38]===De.WaitingLive?$?($.p(A,oe),oe[1]&128&&d($,1)):($=Iu(A),$.c(),d($,1),$.m(n.parentNode,n)):$&&(he(),g($,1,1,()=>{$=null}),ve()),A[38]===De.WaitingRecord?C?oe[1]&128&&d(C,1):(C=Vu(),C.c(),d(C,1),C.m(o.parentNode,o)):C&&(he(),g(C,1,1,()=>{C=null}),ve()),A[8]&&A[22]?D?(D.p(A,oe),oe[0]&4194560&&d(D,1)):(D=Mu(A),D.c(),d(D,1),D.m(r.parentNode,r)):D&&(he(),g(D,1,1,()=>{D=null}),ve()),A[31]&&A[18]&&A[19]?re?(re.p(A,oe),oe[0]&786432|oe[1]&1&&d(re,1)):(re=Bu(A),re.c(),d(re,1),re.m(l.parentNode,l)):re&&(he(),g(re,1,1,()=>{re=null}),ve()),A[46]?L?(L.p(A,oe),oe[1]&32768&&d(L,1)):(L=Nu(A),L.c(),d(L,1),L.m(s.parentNode,s)):L&&(he(),g(L,1,1,()=>{L=null}),ve()),A[51]?ae?(ae.p(A,oe),oe[1]&1048576&&d(ae,1)):(ae=Ru(A),ae.c(),d(ae,1),ae.m(a.parentNode,a)):ae&&(he(),g(ae,1,1,()=>{ae=null}),ve()),A[54]?pe?(pe.p(A,oe),oe[1]&8388608&&d(pe,1)):(pe=Ou(),pe.c(),d(pe,1),pe.m(c.parentNode,c)):pe&&(he(),g(pe,1,1,()=>{pe=null}),ve()),A[39]?ge?(ge.p(A,oe),oe[1]&256&&d(ge,1)):(ge=Du(A),ge.c(),d(ge,1),ge.m(f.parentNode,f)):ge&&(he(),g(ge,1,1,()=>{ge=null}),ve()),A[56].value!=="off"?ce?(ce.p(A,oe),oe[1]&33554432&&d(ce,1)):(ce=zu(A),ce.c(),d(ce,1),ce.m(m.parentNode,m)):ce&&(he(),g(ce,1,1,()=>{ce=null}),ve()),A[37]?Y?(Y.p(A,oe),oe[1]&64&&d(Y,1)):(Y=Fu(A),Y.c(),d(Y,1),Y.m(h.parentNode,h)):Y&&(he(),g(Y,1,1,()=>{Y=null}),ve());const Ce={};oe[1]&128&&(Ce.bottomHidden=A[38]===De.Thumb||A[38]===De.WaitingLive||A[38]===De.WaitingRecord),oe[1]&2097152&&(Ce.bottomNoSmooth=A[52]),oe[1]&32&&(Ce.showControls=A[36]),oe[1]&128&&(Ce.isAds=A[38]===De.Ads),oe[0]&128|oe[1]&268435456&&(Ce.canRewindLive=A[7]&&A[59]!==0),oe[0]&8192&&(Ce.logoClickable=A[13]),oe[0]&16384&&(Ce.logoHidden=A[14]),oe[0]&16&&(Ce.videoLogoUrl=A[4]),oe[0]&32768&&(Ce.showNextPrevButtons=A[15]),oe[0]&65536&&(Ce.nextButtonActive=A[16]),oe[0]&131072&&(Ce.prevButtonActive=A[17]),oe[0]&1048576&&(Ce.isOneVideoPlaylist=A[20]),oe[0]&2097152&&(Ce.supportLink=A[21]),oe[0]&8388608&&(Ce.playNextVideo=A[23]),oe[0]&16777216&&(Ce.playPrevVideo=A[24]),oe[0]&33554432&&(Ce.repeatPlaylist=A[25]),oe[1]&524288&&(Ce.returnFocus=A[150]),oe[0]&67108864&&(Ce.seekToInteractive=A[26]),oe[0]&134217728&&(Ce.toggleGraph=A[27]),oe[0]&268435456&&(Ce.playPrevChapter=A[28]),!v&&oe[1]&1024&&(v=!0,Ce.controlsElementRef=A[41],je(()=>v=!1)),b.$set(Ce);const Te={};oe[1]&536870912&&(Te.isLive=A[60]),oe[1]&16384&&(Te.isHidden=!A[45]),oe[1]&1073741824&&(Te.isPlaying=A[61]),oe[1]&134217728&&(Te.position=A[58]),oe[2]&1&&(Te.duration=A[62]),_.$set(Te);const le={};oe[0]&2097152&&(le.supportLink=A[21]),oe[1]&524288&&(le.returnFocus=A[152]),oe[1]&4&&(le.visible=A[33]),oe[1]&512&&(le.playerContainerRef=A[40]),oe[1]&1024&&(le.controlsContainerRef=A[41]),oe[1]&2048&&(le.x=A[42]),oe[1]&4096&&(le.y=A[43]),!X&&oe[1]&2&&(X=!0,le.menuElementRef=A[32],je(()=>X=!1)),R.$set(le),A[44]?Pe?oe[1]&8192&&d(Pe,1):(Pe=Hu(),Pe.c(),d(Pe,1),Pe.m(K.parentNode,K)):Pe&&(he(),g(Pe,1,1,()=>{Pe=null}),ve()),A[63]?ue?oe[2]&2&&d(ue,1):(ue=Uu(),ue.c(),d(ue,1),ue.m(se.parentNode,se)):ue&&(he(),g(ue,1,1,()=>{ue=null}),ve()),A[64]?Ee?oe[2]&4&&d(Ee,1):(Ee=qu(),Ee.c(),d(Ee,1),Ee.m(ne.parentNode,ne)):Ee&&(he(),g(Ee,1,1,()=>{Ee=null}),ve())},i(A){O||(d(e.$$.fragment,A),d($),d(C),d(D),d(re),d(L),d(ae),d(pe),d(ge),d(ce),d(Y),d(b.$$.fragment,A),d(_.$$.fragment,A),d(k.$$.fragment,A),d(R.$$.fragment,A),d(Pe),d(ue),d(Ee),O=!0)},o(A){g(e.$$.fragment,A),g($),g(C),g(D),g(re),g(L),g(ae),g(pe),g(ge),g(ce),g(Y),g(b.$$.fragment,A),g(_.$$.fragment,A),g(k.$$.fragment,A),g(R.$$.fragment,A),g(Pe),g(ue),g(Ee),O=!1},d(A){A&&(P(t),P(n),P(o),P(r),P(l),P(s),P(a),P(c),P(f),P(m),P(h),P(y),P(S),P(w),P(V),P(K),P(se),P(ne)),H(e,A),$&&$.d(A),C&&C.d(A),D&&D.d(A),re&&re.d(A),L&&L.d(A),ae&&ae.d(A),pe&&pe.d(A),ge&&ge.d(A),ce&&ce.d(A),Y&&Y.d(A),H(b,A),H(_,A),H(k,A),H(R,A),Pe&&Pe.d(A),ue&&ue.d(A),Ee&&Ee.d(A)}}}function qb(i){let e,t,n,o,r=i[53],l,s,a,c,f=ju(i);return{c(){e=T("div"),t=T("div"),o=N(),f.c(),l=bt(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[35]}deg) scale(${i[48]})`),M(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),M(e,"hidden",i[38]!==De.Video),M(e,"nocursor",i[47])},m(m,h){E(m,e,h),p(e,t),i[149](t),E(m,o,h),f.m(m,h),E(m,l,h),s=!0,a||(c=[_e(e,"contextmenu",oi(i[107])),_e(e,"mousedown",oi(i[112])),_e(e,"mouseup",oi(i[113])),_e(e,"click",oi(i[115])),_e(e,"dblclick",oi(i[114]))],a=!0)},p(m,h){(!s||h[1]&131088&&n!==(n=`transform: rotate(${m[35]}deg) scale(${m[48]})`))&&u(t,"style",n),(!s||h[0]&2)&&M(t,"fast-rotate",!m[1].isSmoothVideoRotate),(!s||h[1]&128)&&M(e,"hidden",m[38]!==De.Video),(!s||h[1]&65536)&&M(e,"nocursor",m[47]),h[1]&4194304&&we(r,r=m[53])?(he(),g(f,1,1,W),ve(),f=ju(m),f.c(),d(f,1),f.m(l.parentNode,l)):f.p(m,h)},i(m){s||(d(f),s=!0)},o(m){g(f),s=!1},d(m){m&&(P(e),P(o),P(l)),i[149](null),f.d(m),a=!1,ot(c)}}}function jb(i){let e,t,n,o,r,l,s,a={toggleFullscreen:i[105],hideContextMenu:i[106],showHotKeyHelpers:i[116],showKeyMap:i[117],isAds:i[38]===De.Ads,fakePlayButtonHandler:i[49]?i[104]:void 0,$$slots:{default:[qb]},$$scope:{ctx:i}};return t=new d3({props:a}),i[154](t),{c(){e=T("div"),q(t.$$.fragment),n=N(),o=T("div"),u(o,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){E(c,e,f),F(t,e,null),p(e,n),p(e,o),i[155](o),i[156](e),r=!0,l||(s=[_e(Hb,"blur",i[106]),_e(e,"mouseenter",i[108]),_e(e,"mouseleave",i[110]),_e(e,"mousemove",i[111]),_e(e,"click",i[119],!0),_e(e,"focusin",i[109],!0)],l=!0)},p(c,f){const m={};f[1]&128&&(m.isAds=c[38]===De.Ads),f[1]&262144&&(m.fakePlayButtonHandler=c[49]?c[104]:void 0),f[0]&1073741823|f[1]&2147221503|f[2]&7|f[5]&8388608&&(m.$$scope={dirty:f,ctx:c}),t.$set(m)},i(c){r||(d(t.$$.fragment,c),r=!0)},o(c){g(t.$$.fragment,c),r=!1},d(c){c&&P(e),i[154](null),H(t),i[155](null),i[156](null),l=!1,ot(s)}}}let Wb=!0;function df(i){return i?i.offsetTop+df(i.offsetParent):0}function Zb(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O,$,C,D,re,L,ae,pe,ge,ce,Y,fe,ze,de,Le,Pe,{store:ue}=e,{uiConfig:Ee}=e,{title:A}=e,{thumbUrl:oe}=e,{videoLogoUrl:Me}=e,{videoContainer:Ce}=e,{interactiveContainer:Te}=e,{live:le}=e,{autoplay:Q}=e,{canRewindLive:U}=e,{showAds:Ne}=e,{adsSlotId:et=void 0}=e,{adsParams:rt=void 0}=e,{adsPreviewParam:Ze=void 0}=e,{duration:Ve=void 0}=e,{logoClickable:Je}=e,{logoHidden:pt}=e,{showNextPrevButtons:at=!1}=e,{nextButtonActive:Ie=!1}=e,{prevButtonActive:qt=!1}=e,{endScreenVideoTitle:ft=void 0}=e,{endScreenVideoThumb:It=void 0}=e,{isOneVideoPlaylist:Rt=!1}=e,{supportLink:Vt}=e,{outerContainerRef:me=void 0}=e,{playerStarted:At=!1}=e,{fullScreenTarget:it=void 0}=e,{showMiniTimer:Tt=!1}=e,{playNextVideo:wt=ie.noop}=e,{playPrevVideo:ht=ie.noop}=e,{repeatPlaylist:Qe=ie.noop}=e,{seekToInteractive:Ue}=e,{toggleGraph:yt}=e,{playPrevChapter:Bi}=e,{firstStart:zi}=e;const li=ue.getLogger().createComponentLog("Root component"),Fi=ue.interfaceLanguage$;z(i,Fi,j=>t(53,re=j));const Qi=ue.state.playbackState$;z(i,Qi,j=>t(146,$=j));const Ot=ue.ads.playbackState;z(i,Ot,j=>t(147,C=j));const jt=ue.state.positionWithScrubbing$;z(i,jt,j=>t(58,ce=j));const ri=ue.state.duration$;z(i,ri,j=>t(62,de=j));const Wt=ue.playerPhase;z(i,Wt,j=>t(38,V=j));const di=ue.ui.isFullscreen;z(i,di,j=>t(136,m=j));const Dt=ue.ui.controlsVisible;z(i,Dt,j=>t(36,S=j));const Ni=ue.ui.settingsMenuVisible;z(i,Ni,j=>t(134,l=j));const si=ue.ui.scrubbingInProgress;z(i,si,j=>t(138,y=j));const Et=ue.ui.contextMenuVisible;z(i,Et,j=>t(33,n=j));const Ri=ue.ui.debugPanelVisible;z(i,Ri,j=>t(64,Pe=j));const Si=ue.state.isLoaderVisible;z(i,Si,j=>t(148,D=j));const mi=ue.state.isEnded$;z(i,mi,j=>t(135,a=j));const Ci=ue.state.chromecastConnected$;z(i,Ci,j=>t(39,ne=j));const zt=ue.state.chromecastDeviceName$;z(i,zt,j=>t(55,ae=j));const $t=ue.ads.postrollPassed;z(i,$t,j=>t(141,R=j));const pi=ue.state.isLive$;z(i,pi,j=>t(60,fe=j));const ai=ue.state.isPlaying$;z(i,ai,j=>t(61,ze=j));const Zt=ue.state.crashed$;z(i,Zt,j=>t(37,w=j));const vt=ue.webApi.pictureInPictureApi,nt=ue.state.currentSubtitle$;z(i,nt,j=>t(56,pe=j));const Ft=ue.state.currentSubtitleCaptions$;z(i,Ft,j=>t(57,ge=j));const ui=ue.state.duration$;z(i,ui,j=>t(59,Y=j));const Oi=ue.state.graphIsOpened$;z(i,Oi,j=>t(142,X=j));const Pi=ue.ui.playerSize;z(i,Pi,j=>t(34,f=j));const Gt=ue.ui.is3DVideo;z(i,Gt,j=>t(51,c=j));const Kt=ue.ui.icon3DVideoVisible;z(i,Kt,j=>t(54,L=j));const Hi=ue.ui.rotateAlpha;z(i,Hi,j=>t(35,v=j));const ei=ue.state.isInteractive,Ui=ue.state.isInteractiveTime$;z(i,Ui,j=>t(139,_=j));const Yt=ue.state.isInteractiveExpectation$;z(i,Yt,j=>t(145,O=j));const Ht=ue.state.hasInteractiveBranches,Qt=ue.ui.touched;z(i,Qt,j=>t(143,K=j));const Ti=ue.ui.modals.hotKeyMap.data;z(i,Ti,j=>t(163,s=j));const Lt=ue.ui.modals.hotKeyMap.show;z(i,Lt,j=>t(63,Le=j));const hi=ue.ui.overlayContainer$,Ei=ue.actions.internal.closeSettingsMenu,{fakeIsPlaying$:qi}=sr();z(i,qi,j=>t(137,b=j));let vi,Xt,ji=0,gi=0,Ai,Oe,Wi;Ti.set(s4());let Zi,bi;const Di=Be(!1);z(i,Di,j=>t(52,h=j));let Li;const ci=Be(!1);z(i,ci,j=>t(144,se=j));const He=Be(),Gi=Be(!1);z(i,Gi,j=>t(140,k=j));let Jt=!1,ti=!1,Ki,Ii,un,en,Vi,Mi,_i=!1,tn,Xi=!1;const{toggle:Ji}=qi;let nn=!1,wi=null,te;vt==null||vt.setContext(d1());const tt=()=>{Q&&!ei&&dt(Ee.controls.hideTimeout)};ue.setUiCallbacks({onStarted:tt});const Mt=()=>{window.clearTimeout(Ai),ci.set(!1)},Yi=()=>{window.clearTimeout(Oe),He.set(null)},dt=j=>{Mt(),ci.set(!0),Ai=window.setTimeout(()=>ci.set(!1),j);const mt=j-100;Li=window.setTimeout(()=>{h&&Di.set(!1)},mt>0?mt:j)},on=(j,mt)=>{Yi(),He.set(mt),Oe=window.setTimeout(()=>He.set(null),j)},cn=Gt.subscribe(j=>{Kt.set(j),j&&(window.clearTimeout(Wi),Wi=window.setTimeout(()=>Kt.set(!1),Ee.controls.hide360IconTimeout))}),ln=async()=>{var mt,sn,an,kn;const j=Mo();if(j){dt(Ee.controls.hideTimeoutFullscreen);try{await(vt==null?void 0:vt.remove())}catch(On){li({message:String(On)})}}di.set(j),ue.getAdmanWrapper().setFullscreen(j),m?(sn=(mt=ue.callbacks)==null?void 0:mt.onFullscreenEnter)==null||sn.call(mt):(kn=(an=ue.callbacks)==null?void 0:an.onFullscreenExit)==null||kn.call(an)},rn=j=>{const mt=j;Pi.set({width:mt.target.width,height:mt.target.height})};mn(()=>{var mt;return pc(ln),dl(vt)&&(vt==null||vt.assignPlayerContainer(vi),vt==null||vt.registryExternalEventHandlers({resize:rn})),Te&&((mt=Ce.parentElement)==null||mt.insertBefore(Te,Ce.nextSibling)),()=>{window.clearTimeout(Ai),window.clearTimeout(Li),window.clearTimeout(Oe),window.clearTimeout(Wi),cn(),vt==null||vt.dispose(),hc(ln)}});const vn=async()=>{if(Mo())await mc(document),li({message:"exit fullscreen"});else{li({message:"request fullscreen"});const j=me!=null?me:vi,mt=j.getRootNode(),sn=mt instanceof ShadowRoot?mt.host:mt,an=it instanceof HTMLElement&&it.contains(sn),kn=Ee.allowChangingFullscreenTarget&&it&&an?it:j;await dc(kn)}},x=()=>{Ei(),Et.set(!1)},ut=j=>{Et.set(!0),t(42,ji=j.clientX),t(43,gi=j.clientY)};function xi(){Gi.set(!0),ei||dt(Ee.controls.hideTimeoutCursor)}function J(){ei||(Di.set(!0),dt(Ee.controls.hideTimeoutCursor))}function fn(){Gi.set(!1),t(128,ti=!1),t(127,Jt=!1),nn=!1,ue.actions.internal.releaseCamera()}function hn(j){if(vi){const mt=df(j.currentTarget),sn=f.height,an=j.pageY-mt;an<Rr?t(128,ti=!0):an>sn-Rr?t(127,Jt=!0):(t(128,ti=!1),l||t(127,Jt=!1))}}function Kn(j){hn(j),Ii||dt(Ee.controls.hideTimeoutCursor),c&&nn&&wi&&ue.actions.internal.moveCameraFocusPX(wi.clientX-j.clientX,wi.clientY-j.clientY,j.timeStamp-wi.timeStamp),wi=j}const Yn=j=>{j.button===0&&(nn=!0,ue.actions.internal.holdCamera()),dt(Ee.controls.hideTimeoutCursor)},Qn=j=>{j.button===0&&(wi=j,nn=!1,ue.actions.internal.releaseCamera()),dt(Ee.controls.hideTimeoutCursor)},Xn=()=>{li({message:"double click on video"}),vn(),dt(Ee.controls.hideTimeoutCursor)},Jn=()=>{if(n||l){x();return}if(!(a&&!Ht)){if(Xi)return Ji();if(te==null||te.focus(),!At){zi(),dt(Ee.controls.hideTimeoutCursor);return}ue.actions.internal.togglePlay(),dt(Ee.controls.hideTimeoutCursor)}},xn=j=>{x(),Qt.set(!0),dt(Ee.controls.hideTimeout),j&&on(Ee.controls.hideHotKeyHelpers,j)},$n=()=>{var j,mt;x(),(j=ue.callbacks)!=null&&j.onOpenHotKeyMap?(mt=ue.callbacks)==null||mt.onOpenHotKeyMap(s):Lt.update(sn=>!sn)},Co=()=>{if(n||l){x();return}},Po=()=>{Qt.set(!0)},dn=ue.ui.contextMenu.openedByKeyboard$;z(i,dn,j=>t(133,r=j));let Un=ue.ui.contextMenu.btnRef$;z(i,Un,j=>t(132,o=j));let Nn;function eo(j){Se[j?"unshift":"push"](()=>{Ce=j,t(0,Ce)})}const Rn=()=>te==null?void 0:te.focus();function to(j){Xt=j,t(41,Xt)}const io=()=>te==null?void 0:te.focus();function no(j){Nn=j,t(32,Nn)}function oo(j){Se[j?"unshift":"push"](()=>{te=j,t(50,te)})}function qn(j){Se[j?"unshift":"push"](()=>{bi=j,t(30,bi)})}function lo(j){Se[j?"unshift":"push"](()=>{vi=j,t(40,vi)})}return i.$$set=j=>{"store"in j&&t(122,ue=j.store),"uiConfig"in j&&t(1,Ee=j.uiConfig),"title"in j&&t(2,A=j.title),"thumbUrl"in j&&t(3,oe=j.thumbUrl),"videoLogoUrl"in j&&t(4,Me=j.videoLogoUrl),"videoContainer"in j&&t(0,Ce=j.videoContainer),"interactiveContainer"in j&&t(123,Te=j.interactiveContainer),"live"in j&&t(5,le=j.live),"autoplay"in j&&t(6,Q=j.autoplay),"canRewindLive"in j&&t(7,U=j.canRewindLive),"showAds"in j&&t(8,Ne=j.showAds),"adsSlotId"in j&&t(9,et=j.adsSlotId),"adsParams"in j&&t(10,rt=j.adsParams),"adsPreviewParam"in j&&t(11,Ze=j.adsPreviewParam),"duration"in j&&t(12,Ve=j.duration),"logoClickable"in j&&t(13,Je=j.logoClickable),"logoHidden"in j&&t(14,pt=j.logoHidden),"showNextPrevButtons"in j&&t(15,at=j.showNextPrevButtons),"nextButtonActive"in j&&t(16,Ie=j.nextButtonActive),"prevButtonActive"in j&&t(17,qt=j.prevButtonActive),"endScreenVideoTitle"in j&&t(18,ft=j.endScreenVideoTitle),"endScreenVideoThumb"in j&&t(19,It=j.endScreenVideoThumb),"isOneVideoPlaylist"in j&&t(20,Rt=j.isOneVideoPlaylist),"supportLink"in j&&t(21,Vt=j.supportLink),"outerContainerRef"in j&&t(124,me=j.outerContainerRef),"playerStarted"in j&&t(22,At=j.playerStarted),"fullScreenTarget"in j&&t(125,it=j.fullScreenTarget),"showMiniTimer"in j&&t(126,Tt=j.showMiniTimer),"playNextVideo"in j&&t(23,wt=j.playNextVideo),"playPrevVideo"in j&&t(24,ht=j.playPrevVideo),"repeatPlaylist"in j&&t(25,Qe=j.repeatPlaylist),"seekToInteractive"in j&&t(26,Ue=j.seekToInteractive),"toggleGraph"in j&&t(27,yt=j.toggleGraph),"playPrevChapter"in j&&t(28,Bi=j.playPrevChapter),"firstStart"in j&&t(29,zi=j.firstStart)},i.$$.update=()=>{if(i.$$.dirty[1]&192|i.$$.dirty[4]&25165824&&t(44,Zi=(V===De.Video&&D||V===De.Ads&&C===ni.INACTIVE)&&!w),i.$$.dirty[0]&1073741824&&hi.set(bi),i.$$.dirty[4]&4194304&&t(129,Ki=$!==xe.PlaybackState.PLAYING),i.$$.dirty[4]&2131e3&&t(130,Ii=_&&!l&&!(Jt||ti)&&!(Ki&&!O)),i.$$.dirty[1]&448|i.$$.dirty[4]&1066080&&Dt.set((Ki||l||y||ne||se)&&!Ii&&V===De.Video&&!w),i.$$.dirty[0]&2|i.$$.dirty[1]&224|i.$$.dirty[4]&524292&&t(45,un=Ee.features.thumbTimer&&Tt&&V===De.Video&&!S&&!w&&!ei&&(Ee.hideThumbTimerAfterTouch&&!K||!Ee.hideThumbTimerAfterTouch)),i.$$.dirty[1]&128|i.$$.dirty[4]&266240&&t(46,en=V===De.Video&&!X&&m),i.$$.dirty[0]&256|i.$$.dirty[1]&64|i.$$.dirty[4]&133120&&t(31,Vi=(Ne&&R||!Ne)&&a&&!w),i.$$.dirty[1]&33|i.$$.dirty[4]&98304&&t(47,Mi=k&&!(S||Vi)&&!_),i.$$.dirty[0]&2|i.$$.dirty[4]&49280&&(!y&&_i&&!_&&dt(Ee.controls.hideTimeoutCursor),t(131,_i=y)),i.$$.dirty[0]&1|i.$$.dirty[1]&24&&t(48,tn=Ce&&v%180?f.height/f.width:1),i.$$.dirty[4]&8192&&t(49,Xi=b!==null),i.$$.dirty[1]&6|i.$$.dirty[4]&512&&gr(Nn,n,r),i.$$.dirty[1]&4|i.$$.dirty[4]&256){const j=o;j&&vr(j,n,dn)}},[Ce,Ee,A,oe,Me,le,Q,U,Ne,et,rt,Ze,Ve,Je,pt,at,Ie,qt,ft,It,Rt,Vt,At,wt,ht,Qe,Ue,yt,Bi,zi,bi,Vi,Nn,n,f,v,S,w,V,ne,vi,Xt,ji,gi,Zi,un,en,Mi,tn,Xi,te,c,h,re,L,ae,pe,ge,ce,Y,fe,ze,de,Le,Pe,Fi,Qi,Ot,jt,ri,Wt,di,Dt,Ni,si,Et,Ri,Si,mi,Ci,zt,$t,pi,ai,Zt,nt,Ft,ui,Oi,Pi,Gt,Kt,Hi,ei,Ui,Yt,Qt,Ti,Lt,qi,Di,ci,He,Gi,Ji,vn,x,ut,xi,J,fn,Kn,Yn,Qn,Xn,Jn,xn,$n,Co,Po,dn,Un,ue,Te,me,it,Tt,Jt,ti,Ki,Ii,_i,o,r,l,a,m,b,y,_,k,R,X,K,se,O,$,C,D,eo,Rn,to,io,no,oo,qn,lo]}class Gb extends ke{constructor(e){super(),ye(this,e,Zb,jb,we,{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},Ub,[-1,-1,-1,-1,-1,-1])}}const Kb=i=>{if(!ie.isIOS(!0))return!1;const e=i.device===ie.CurrentClientDevice.iPad||(window==null?void 0:window.screen.width)>700,t=ie.getIOSVersion();return!e||e&&!!t&&t<16};function Yb(i){qe(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 Wu(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_=G("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",S;return{c(){e=T("div"),n=N(),o=T("div"),r=T("div"),l=T("div"),a=N(),c=T("div"),m=N(),h=T("div"),v=N(),y=T("p"),S=Fe(_),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(l,"class",s="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(h,"class",b="triangle "+i[0]+" v-nhq2ld"),u(r,"class","triangles-wrapper v-nhq2ld"),u(y,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(k,w){E(k,e,w),E(k,n,w),E(k,o,w),p(o,r),p(r,l),p(r,a),p(r,c),p(r,m),p(r,h),p(o,v),p(o,y),p(y,S)},p(k,w){w&1&&t!==(t="semicircle "+k[0]+" v-nhq2ld")&&u(e,"class",t),w&1&&s!==(s="triangle "+k[0]+" v-nhq2ld")&&u(l,"class",s),w&1&&f!==(f="triangle "+k[0]+" v-nhq2ld")&&u(c,"class",f),w&1&&b!==(b="triangle "+k[0]+" v-nhq2ld")&&u(h,"class",b),w&2&&_!==(_=G("doubletap_seek_step",{seconds:k[1].toFixed(0)})+"")&&$e(S,_)},d(k){k&&(P(e),P(n),P(o))}}}function Qb(i){let e,t,n,o,r=i[2]&&Wu(i);return{c(){e=T("div"),r&&r.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(l,s){E(l,e,s),r&&r.m(e,null),n||(o=_e(e,"click",lt(i[3]())),n=!0)},p(l,[s]){l[2]?r?r.p(l,s):(r=Wu(l),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&1&&t!==(t="double-click-area "+l[0]+" v-nhq2ld")&&u(e,"class",t)},i:W,o:W,d(l){l&&P(e),r&&r.d(),n=!1,o()}}}function Xb(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:r}=e,{handleSecondClick:l}=e,s=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{r(),h=0},300):(window.clearTimeout(a),h=0,l(),t(2,s=!0),c=window.setTimeout(()=>{t(2,s=!1)},500))}};return ml(()=>{window.clearTimeout(a),window.clearTimeout(c)}),i.$$set=m=>{"side"in m&&t(0,n=m.side),"seekStep"in m&&t(1,o=m.seekStep),"handleSingleFirstClick"in m&&t(4,r=m.handleSingleFirstClick),"handleSecondClick"in m&&t(5,l=m.handleSecondClick)},[n,o,s,f,r,l]}class mf extends ke{constructor(e){super(),ye(this,e,Xb,Qb,we,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},Yb)}}function Jb(i,e,t){let{playNextVideo:n}=e;return mn(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class xb extends ke{constructor(e){super(),ye(this,e,Jb,null,we,{playNextVideo:0})}}const{window:$b}=f1;function e_(i){qe(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 Zu(i){let e,t,n,o;e=new mf({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[127]}});let r=!i[48]&&Gu(i);return{c(){q(e.$$.fragment),t=N(),r&&r.c(),n=bt()},m(l,s){F(e,l,s),E(l,t,s),r&&r.m(l,s),E(l,n,s),o=!0},p(l,s){const a={};s[0]&2&&(a.seekStep=l[1].controls.seekStepMobile/1e3),e.$set(a),l[48]?r&&(he(),g(r,1,1,()=>{r=null}),ve()):r?(r.p(l,s),s[1]&131072&&d(r,1)):(r=Gu(l),r.c(),d(r,1),r.m(n.parentNode,n))},i(l){o||(d(e.$$.fragment,l),d(r),o=!0)},o(l){g(e.$$.fragment,l),g(r),o=!1},d(l){l&&(P(t),P(n)),H(e,l),r&&r.d(l)}}}function Gu(i){let e,t;return e=new mf({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[128]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2&&(r.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ku(i){var n;let e,t;return e=new cf({props:{thumbUrl:i[2],startTime:(n=i[4])==null?void 0:n.startTime}}),{c(){q(e.$$.fragment)},m(o,r){F(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&4&&(l.thumbUrl=o[2]),r[0]&16&&(l.startTime=(s=o[4])==null?void 0:s.startTime),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){H(e,o)}}}function Yu(i){let e,t;return e=new ff({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Qu(i){let e,t,n;return t=new vc({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),M(e,"hidden",i[34]!==De.Ads)},m(o,r){E(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r[0]&256&&(l.adsSlotId=o[8]),r[0]&512&&(l.adsParams=o[9]),r[0]&1024&&(l.adsPreviewParam=o[10]),r[0]&2048&&(l.duration=o[11]),t.$set(l),(!n||r[1]&8)&&M(e,"hidden",o[34]!==De.Ads)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Xu(i){let e,t;return e=new xb({props:{playNextVideo:i[22]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&4194304&&(r.playNextVideo=n[22]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ju(i){let e,t;return e=new lf({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function xu(i){let e,t,n;return t=new M1({props:{ariaLabel:G("video360")}}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,r){E(o,e,r),F(t,e,null),n=!0},p:W,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function $u(i){let e,t;return e=new sf({props:{thumbUrl:i[2],chromecastDeviceName:i[51]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&4&&(r.thumbUrl=n[2]),o[1]&1048576&&(r.chromecastDeviceName=n[51]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function e1(i){let e,t;return e=new rf({props:{shifted:i[30],captions:i[53],position:i[44],playerSize:i[31],isMobile:!0}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&1073741824&&(r.shifted=n[30]),o[1]&4194304&&(r.captions=n[53]),o[1]&8192&&(r.position=n[44]),o[1]&1&&(r.playerSize=n[31]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function t1(i){let e,t,n,o,r;return t=new af({}),{c(){e=T("div"),q(t.$$.fragment)},m(l,s){E(l,e,s),F(t,e,null),n=!0,o||(r=_e(e,"click",lt(i[100])),o=!0)},p:W,i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&P(e),H(t),o=!1,r()}}}function i1(i){let e,t;return e=new Ac({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function n1(i){let e,t;return e=new Sc({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function o1(i){let e,t,n=i[6]&&i[78]&&!i[47].has(ct.TIMELINE),o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X;e=new uf({props:{hidden:i[34]!==De.Thumb||i[33]||i[89]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let V=n&&Zu(i),K=i[34]===De.WaitingLive&&Ku(i),se=i[34]===De.WaitingRecord&&Yu(),ne=i[7]&&i[21]&&Qu(i),O=i[41]&&i[17]&&i[18]&&Xu(i),$=i[49]&&Ju(),C=i[50]&&xu(),D=i[35]&&$u(i),re=i[52].value!=="off"&&e1(i),L=i[33]&&t1(i);function ae(Y){i[129](Y)}let pe={bottomHidden:i[34]===De.Thumb||i[34]===De.WaitingLive||i[34]===De.WaitingRecord||i[34]===De.Ads,showControls:i[30],bottomNoSmooth:i[45],isAds:i[34]===De.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&&(pe.controlsElementRef=i[37]),v=new nf({props:pe}),Se.push(()=>We(v,"controlsElementRef",ae)),S=new bc({props:{isLive:i[55],isHidden:!i[40],isPlaying:i[56],position:i[44],duration:i[43]}});let ge=i[38]&&i1(),ce=i[57]&&n1();return{c(){q(e.$$.fragment),t=N(),V&&V.c(),o=N(),K&&K.c(),r=N(),se&&se.c(),l=N(),ne&&ne.c(),s=N(),O&&O.c(),a=N(),$&&$.c(),c=N(),C&&C.c(),f=N(),D&&D.c(),m=N(),re&&re.c(),h=N(),L&&L.c(),b=N(),q(v.$$.fragment),_=N(),q(S.$$.fragment),k=N(),ge&&ge.c(),w=N(),ce&&ce.c(),R=bt()},m(Y,fe){F(e,Y,fe),E(Y,t,fe),V&&V.m(Y,fe),E(Y,o,fe),K&&K.m(Y,fe),E(Y,r,fe),se&&se.m(Y,fe),E(Y,l,fe),ne&&ne.m(Y,fe),E(Y,s,fe),O&&O.m(Y,fe),E(Y,a,fe),$&&$.m(Y,fe),E(Y,c,fe),C&&C.m(Y,fe),E(Y,f,fe),D&&D.m(Y,fe),E(Y,m,fe),re&&re.m(Y,fe),E(Y,h,fe),L&&L.m(Y,fe),E(Y,b,fe),F(v,Y,fe),E(Y,_,fe),F(S,Y,fe),E(Y,k,fe),ge&&ge.m(Y,fe),E(Y,w,fe),ce&&ce.m(Y,fe),E(Y,R,fe),X=!0},p(Y,fe){const ze={};fe[0]&32|fe[1]&12&&(ze.hidden=Y[34]!==De.Thumb||Y[33]||Y[89]&&Y[5]),fe[0]&4&&(ze.thumbUrl=Y[2]),fe[0]&268435456&&(ze.startVideo=Y[28]),e.$set(ze),fe[0]&64|fe[1]&65536&&(n=Y[6]&&Y[78]&&!Y[47].has(ct.TIMELINE)),n?V?(V.p(Y,fe),fe[0]&64|fe[1]&65536&&d(V,1)):(V=Zu(Y),V.c(),d(V,1),V.m(o.parentNode,o)):V&&(he(),g(V,1,1,()=>{V=null}),ve()),Y[34]===De.WaitingLive?K?(K.p(Y,fe),fe[1]&8&&d(K,1)):(K=Ku(Y),K.c(),d(K,1),K.m(r.parentNode,r)):K&&(he(),g(K,1,1,()=>{K=null}),ve()),Y[34]===De.WaitingRecord?se?fe[1]&8&&d(se,1):(se=Yu(),se.c(),d(se,1),se.m(l.parentNode,l)):se&&(he(),g(se,1,1,()=>{se=null}),ve()),Y[7]&&Y[21]?ne?(ne.p(Y,fe),fe[0]&2097280&&d(ne,1)):(ne=Qu(Y),ne.c(),d(ne,1),ne.m(s.parentNode,s)):ne&&(he(),g(ne,1,1,()=>{ne=null}),ve()),Y[41]&&Y[17]&&Y[18]?O?(O.p(Y,fe),fe[0]&393216|fe[1]&1024&&d(O,1)):(O=Xu(Y),O.c(),d(O,1),O.m(a.parentNode,a)):O&&(he(),g(O,1,1,()=>{O=null}),ve()),Y[49]?$?fe[1]&262144&&d($,1):($=Ju(),$.c(),d($,1),$.m(c.parentNode,c)):$&&(he(),g($,1,1,()=>{$=null}),ve()),Y[50]?C?(C.p(Y,fe),fe[1]&524288&&d(C,1)):(C=xu(),C.c(),d(C,1),C.m(f.parentNode,f)):C&&(he(),g(C,1,1,()=>{C=null}),ve()),Y[35]?D?(D.p(Y,fe),fe[1]&16&&d(D,1)):(D=$u(Y),D.c(),d(D,1),D.m(m.parentNode,m)):D&&(he(),g(D,1,1,()=>{D=null}),ve()),Y[52].value!=="off"?re?(re.p(Y,fe),fe[1]&2097152&&d(re,1)):(re=e1(Y),re.c(),d(re,1),re.m(h.parentNode,h)):re&&(he(),g(re,1,1,()=>{re=null}),ve()),Y[33]?L?(L.p(Y,fe),fe[1]&4&&d(L,1)):(L=t1(Y),L.c(),d(L,1),L.m(b.parentNode,b)):L&&(he(),g(L,1,1,()=>{L=null}),ve());const de={};fe[1]&8&&(de.bottomHidden=Y[34]===De.Thumb||Y[34]===De.WaitingLive||Y[34]===De.WaitingRecord||Y[34]===De.Ads),fe[0]&1073741824&&(de.showControls=Y[30]),fe[1]&16384&&(de.bottomNoSmooth=Y[45]),fe[1]&8&&(de.isAds=Y[34]===De.Ads),fe[0]&64|fe[1]&8388608&&(de.canRewindLive=Y[6]&&Y[54]!==0),fe[0]&4096&&(de.logoClickable=Y[12]),fe[0]&8192&&(de.logoHidden=Y[13]),fe[0]&8&&(de.videoLogoUrl=Y[3]),fe[0]&16384&&(de.showNextPrevButtons=Y[14]),fe[0]&32768&&(de.nextButtonActive=Y[15]),fe[0]&65536&&(de.prevButtonActive=Y[16]),fe[0]&524288&&(de.isOneVideoPlaylist=Y[19]),fe[0]&1048576&&(de.supportLink=Y[20]),fe[1]&256&&(de.customFullscreenSupported=Y[39]),fe[0]&4194304&&(de.playNextVideo=Y[22]),fe[0]&8388608&&(de.playPrevVideo=Y[23]),fe[0]&16777216&&(de.repeatPlaylist=Y[24]),fe[0]&33554432&&(de.seekToInteractive=Y[25]),fe[0]&67108864&&(de.toggleGraph=Y[26]),fe[0]&134217728&&(de.playPrevChapter=Y[27]),!y&&fe[1]&64&&(y=!0,de.controlsElementRef=Y[37],je(()=>y=!1)),v.$set(de);const Le={};fe[1]&16777216&&(Le.isLive=Y[55]),fe[1]&512&&(Le.isHidden=!Y[40]),fe[1]&33554432&&(Le.isPlaying=Y[56]),fe[1]&8192&&(Le.position=Y[44]),fe[1]&4096&&(Le.duration=Y[43]),S.$set(Le),Y[38]?ge?fe[1]&128&&d(ge,1):(ge=i1(),ge.c(),d(ge,1),ge.m(w.parentNode,w)):ge&&(he(),g(ge,1,1,()=>{ge=null}),ve()),Y[57]?ce?fe[1]&67108864&&d(ce,1):(ce=n1(),ce.c(),d(ce,1),ce.m(R.parentNode,R)):ce&&(he(),g(ce,1,1,()=>{ce=null}),ve())},i(Y){X||(d(e.$$.fragment,Y),d(V),d(K),d(se),d(ne),d(O),d($),d(C),d(D),d(re),d(L),d(v.$$.fragment,Y),d(S.$$.fragment,Y),d(ge),d(ce),X=!0)},o(Y){g(e.$$.fragment,Y),g(V),g(K),g(se),g(ne),g(O),g($),g(C),g(D),g(re),g(L),g(v.$$.fragment,Y),g(S.$$.fragment,Y),g(ge),g(ce),X=!1},d(Y){Y&&(P(t),P(o),P(r),P(l),P(s),P(a),P(c),P(f),P(m),P(h),P(b),P(_),P(k),P(w),P(R)),H(e,Y),V&&V.d(Y),K&&K.d(Y),se&&se.d(Y),ne&&ne.d(Y),O&&O.d(Y),$&&$.d(Y),C&&C.d(Y),D&&D.d(Y),re&&re.d(Y),L&&L.d(Y),H(v,Y),H(S,Y),ge&&ge.d(Y),ce&&ce.d(Y)}}}function t_(i){let e,t,n,o,r,l=i[46],s,a,c,f,m,h=o1(i);return{c(){e=T("div"),t=T("div"),n=T("div"),r=N(),h.c(),s=N(),a=T("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${i[32]}deg) scale(${i[42]})`),M(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),M(t,"hidden",i[34]!==De.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut")},m(b,v){E(b,e,v),p(e,t),p(t,n),i[126](n),p(e,r),h.m(e,null),p(e,s),p(e,a),i[130](a),i[131](e),c=!0,f||(m=[_e($b,"blur",i[98]),_e(t,"click",oi(i[99])),_e(e,"click",i[101],!0),_e(e,"focusin",i[102],!0)],f=!0)},p(b,v){(!c||v[1]&2050&&o!==(o=`transform: rotate(${b[32]}deg) scale(${b[42]})`))&&u(n,"style",o),(!c||v[0]&2)&&M(n,"fast-rotate",!b[1].isSmoothVideoRotate),(!c||v[1]&8)&&M(t,"hidden",b[34]!==De.Video),v[1]&32768&&we(l,l=b[46])?(he(),g(h,1,1,W),ve(),h=o1(b),h.c(),d(h,1),h.m(e,s)):h.p(b,v)},i(b){c||(d(h),c=!0)},o(b){g(h),c=!1},d(b){b&&P(e),i[126](null),h.d(b),i[130](null),i[131](null),f=!1,ot(m)}}}function i_(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O,$,C,D,re,L,ae,pe,ge,ce,Y,fe,ze,{store:de}=e,{uiConfig:Le}=e,{thumbUrl:Pe}=e,{videoLogoUrl:ue}=e,{videoContainer:Ee}=e,{interactiveContainer:A}=e,{live:oe}=e,{autoplay:Me}=e,{canRewindLive:Ce}=e,{showAds:Te}=e,{adsSlotId:le=void 0}=e,{adsParams:Q=void 0}=e,{adsPreviewParam:U=void 0}=e,{duration:Ne=void 0}=e,{logoClickable:et}=e,{logoHidden:rt}=e,{showNextPrevButtons:Ze=!1}=e,{nextButtonActive:Ve=!1}=e,{prevButtonActive:Je=!1}=e,{endScreenVideoTitle:pt=void 0}=e,{endScreenVideoThumb:at=void 0}=e,{isOneVideoPlaylist:Ie=!1}=e,{supportLink:qt}=e,{outerContainerRef:ft=void 0}=e,{showMiniTimer:It=!1}=e,{fullScreenTarget:Rt=void 0}=e,{playerStarted:Vt=!1}=e,{playNextVideo:me=ie.noop}=e,{playPrevVideo:At=ie.noop}=e,{repeatPlaylist:it=ie.noop}=e,{seekToInteractive:Tt}=e,{toggleGraph:wt}=e,{playPrevChapter:ht}=e,{firstStart:Qe}=e,{seekTime:Ue}=e;const yt=de.getLogger().createComponentLog("Root component"),Bi=de.interfaceLanguage$;z(i,Bi,x=>t(46,$=x));const zi=de.state.playbackState$;z(i,zi,x=>t(123,se=x));const li=de.ads.playbackState;z(i,li,x=>t(124,ne=x));const Fi=de.state.positionWithScrubbing$;z(i,Fi,x=>t(44,l=x));const Qi=de.state.duration$;z(i,Qi,x=>t(43,r=x));const Ot=de.playerPhase;z(i,Ot,x=>t(34,R=x));const jt=de.ui.isFullscreen;z(i,jt,x=>t(137,a=x));const ri=de.ui.controlsVisible;z(i,ri,x=>t(30,o=x));const Wt=de.ui.interactiveHideMobileControls;z(i,Wt,x=>t(115,h=x));const di=de.ui.settingsMenuVisible;z(i,di,x=>t(114,n=x));const Dt=de.ui.scrubbingInProgress;z(i,Dt,x=>t(116,v=x));const Ni=de.ui.debugPanelVisible;z(i,Ni,x=>t(57,ze=x));const si=de.state.isLoaderVisible;z(i,si,x=>t(125,O=x));const Et=de.state.isEnded$;z(i,Et,x=>t(118,S=x));const Ri=de.state.chromecastConnected$;z(i,Ri,x=>t(35,X=x));const Si=de.state.chromecastDeviceName$;z(i,Si,x=>t(51,ae=x));const mi=de.ads.postrollPassed;z(i,mi,x=>t(119,k=x));const Ci=de.ui.mobileUnmuteButtonExpanded,zt=de.ui.mobileUnmuteButtonVisible,$t=de.state.isLive$;z(i,$t,x=>t(55,Y=x));const pi=de.state.isPlaying$;z(i,pi,x=>t(56,fe=x));const ai=de.state.isActiveLive$;z(i,ai,x=>t(48,D=x));const Zt=de.state.isRewindableLive$,vt=de.state.crashed$;z(i,vt,x=>t(33,_=x));const nt=de.webApi.pictureInPictureApi,Ft=de.state.videoSize$;z(i,Ft,x=>t(138,f=x));const ui=de.state.currentSubtitle$;z(i,ui,x=>t(52,pe=x));const Oi=de.state.currentSubtitleCaptions$;z(i,Oi,x=>t(53,ge=x));const Pi=de.state.duration$;z(i,Pi,x=>t(54,ce=x));const Gt=de.state.graphIsOpened$;z(i,Gt,x=>t(122,K=x));const Kt=de.ui.playerSize;z(i,Kt,x=>t(31,c=x));const Hi=de.ui.is3DVideo;z(i,Hi,x=>t(49,re=x));const ei=de.ui.icon3DVideoVisible;z(i,ei,x=>t(50,L=x));const Ui=de.ui.rotateAlpha;z(i,Ui,x=>t(32,b=x));const Yt=de.state.isInteractive,Ht=de.state.isInteractiveTime$;z(i,Ht,x=>t(117,y=x));const Qt=de.state.isInteractiveExpectation$;z(i,Qt,x=>t(121,V=x));const Ti=de.state.hasInteractiveBranches,Lt=de.ui.controls.disabledControls$;z(i,Lt,x=>t(47,C=x));const hi=de.ui.touched;z(i,hi,x=>t(120,w=x));const Ei=de.ui.clientInfo$;z(i,Ei,x=>t(136,s=x));const qi=de.ui.overlayContainer$,vi=de.actions.internal.closeSettingsMenu;let Xt,ji,gi,Ai,Oe,Wi,Zi;const bi=Be(!1);z(i,bi,x=>t(45,m=x));let Di,Li=!1,ci,He=!1,Gi,Jt=!0,ti,Ki,Ii=!1,un;nt==null||nt.setContext(d1());const en=x=>{clearTimeout(Ai),x&&(zt.set(!0),Ci.set(!0),Ai=window.setTimeout(()=>{Ci.set(!1)},Le.controls.collapseMobileUnmute),Yt||Mi(Le.controls.hideTimeoutMobile))};de.setUiCallbacks({onStarted:en});const Vi=()=>{window.clearTimeout(gi),t(109,Li=!1),h&&Wt.set(!1)},Mi=x=>{Vi(),t(109,Li=!0),gi=window.setTimeout(()=>t(109,Li=!1),x);const ut=x-100;Di=window.setTimeout(()=>{m&&bi.set(!1)},ut>0?ut:x)},_i=Hi.subscribe(x=>{ei.set(x),x&&(window.clearTimeout(Oe),Oe=window.setTimeout(()=>ei.set(!1),Le.controls.hide360IconTimeout))}),tn=async()=>{var ut,xi,J,fn;const x=Mo();if(x){Mi(Le.controls.hideTimeoutFullscreen);try{await(nt==null?void 0:nt.remove())}catch(hn){yt({message:String(hn)})}try{const hn=f!=null&&f.width&&(f!=null&&f.height)?f:c;await r4(hn)}catch(hn){yt({message:String(hn)})}}jt.set(x),de.getAdmanWrapper().setFullscreen(x),a?(xi=(ut=de.callbacks)==null?void 0:ut.onFullscreenEnter)==null||xi.call(ut):(fn=(J=de.callbacks)==null?void 0:J.onFullscreenExit)==null||fn.call(J)},Xi=x=>{const ut=x;Kt.set({width:ut.target.width,height:ut.target.height})};mn(()=>{var ut;return pc(tn),dl(nt)&&(nt==null||nt.assignPlayerContainer(Xt),nt==null||nt.registryExternalEventHandlers({resize:Xi})),t(39,Jt=!Kb(s)),A&&((ut=Ee.parentElement)==null||ut.insertBefore(A,Ee.nextSibling)),()=>{window.clearTimeout(gi),window.clearTimeout(Di),window.clearTimeout(Ai),window.clearTimeout(Oe),_i(),nt==null||nt.dispose(),hc(tn)}});const Ji=x=>{let ut=l+(x==="forward"?1:-1)*Le.controls.seekStepMobile/1e3;ut<0?ut=0:ut>r&&(ut=r-1),t(111,He=!0),Ue(ut)},nn=async()=>{if(Mo())await mc(document),yt({message:"exit fullscreen"});else{yt({message:"request fullscreen"});const x=ft!=null?ft:Xt,ut=x.getRootNode(),xi=ut instanceof ShadowRoot?ut.host:ut,J=Rt instanceof HTMLElement&&Rt.contains(xi),fn=Le.allowChangingFullscreenTarget&&Rt&&J?Rt:x;await dc(fn)}},wi=()=>{vi()},te=()=>{if(n){wi();return}if(!Vt){Qe(),Mi(Le.controls.hideTimeoutCursor);return}t(111,He=!1),o?Vi():Mi(Le.controls.hideTimeoutMobile)},tt=()=>{if(n){wi();return}},Mt=()=>{hi.set(!0)},Yi=()=>{Yt||(bi.set(!0),Mi(Le.controls.hideTimeoutCursor))};function dt(x){Se[x?"unshift":"push"](()=>{Ee=x,t(0,Ee)})}const on=()=>Ji("backward"),cn=()=>Ji("forward");function ln(x){ji=x,t(37,ji)}function rn(x){Se[x?"unshift":"push"](()=>{Zi=x,t(29,Zi)})}function vn(x){Se[x?"unshift":"push"](()=>{Xt=x,t(36,Xt)})}return i.$$set=x=>{"store"in x&&t(103,de=x.store),"uiConfig"in x&&t(1,Le=x.uiConfig),"thumbUrl"in x&&t(2,Pe=x.thumbUrl),"videoLogoUrl"in x&&t(3,ue=x.videoLogoUrl),"videoContainer"in x&&t(0,Ee=x.videoContainer),"interactiveContainer"in x&&t(104,A=x.interactiveContainer),"live"in x&&t(4,oe=x.live),"autoplay"in x&&t(5,Me=x.autoplay),"canRewindLive"in x&&t(6,Ce=x.canRewindLive),"showAds"in x&&t(7,Te=x.showAds),"adsSlotId"in x&&t(8,le=x.adsSlotId),"adsParams"in x&&t(9,Q=x.adsParams),"adsPreviewParam"in x&&t(10,U=x.adsPreviewParam),"duration"in x&&t(11,Ne=x.duration),"logoClickable"in x&&t(12,et=x.logoClickable),"logoHidden"in x&&t(13,rt=x.logoHidden),"showNextPrevButtons"in x&&t(14,Ze=x.showNextPrevButtons),"nextButtonActive"in x&&t(15,Ve=x.nextButtonActive),"prevButtonActive"in x&&t(16,Je=x.prevButtonActive),"endScreenVideoTitle"in x&&t(17,pt=x.endScreenVideoTitle),"endScreenVideoThumb"in x&&t(18,at=x.endScreenVideoThumb),"isOneVideoPlaylist"in x&&t(19,Ie=x.isOneVideoPlaylist),"supportLink"in x&&t(20,qt=x.supportLink),"outerContainerRef"in x&&t(105,ft=x.outerContainerRef),"showMiniTimer"in x&&t(106,It=x.showMiniTimer),"fullScreenTarget"in x&&t(107,Rt=x.fullScreenTarget),"playerStarted"in x&&t(21,Vt=x.playerStarted),"playNextVideo"in x&&t(22,me=x.playNextVideo),"playPrevVideo"in x&&t(23,At=x.playPrevVideo),"repeatPlaylist"in x&&t(24,it=x.repeatPlaylist),"seekToInteractive"in x&&t(25,Tt=x.seekToInteractive),"toggleGraph"in x&&t(26,wt=x.toggleGraph),"playPrevChapter"in x&&t(27,ht=x.playPrevChapter),"firstStart"in x&&t(28,Qe=x.firstStart),"seekTime"in x&&t(108,Ue=x.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&12|i.$$.dirty[4]&3&&t(38,Wi=(R===De.Video&&O||R===De.Ads&&ne===ni.INACTIVE)&&!_),i.$$.dirty[0]&536870912&&qi.set(Zi),i.$$.dirty[3]&1073741824&&t(110,ci=se!==xe.PlaybackState.PLAYING),i.$$.dirty[3]&843251712&&t(112,Gi=K||h||!Li&&(S&&!!Ti||ci&&V)),i.$$.dirty[1]&28|i.$$.dirty[3]&11468800&&ri.set((ci||n||v||X||Li&&!He)&&!Gi&&R===De.Video&&!_),i.$$.dirty[0]&1073741826|i.$$.dirty[1]&12|i.$$.dirty[3]&134225920&&t(40,ti=Le.features.thumbTimer&&It&&R===De.Video&&!o&&!_&&!Yt&&(Le.hideThumbTimerAfterTouch&&!w||!Le.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&4|i.$$.dirty[3]&100663296&&t(41,Ki=(Te&&k||!Te)&&S&&!_),i.$$.dirty[0]&2|i.$$.dirty[3]&26214400&&(!v&&Ii&&!y&&Mi(Le.controls.hideTimeoutMobile),t(113,Ii=v)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(42,un=Ee&&b%180?c.height/c.width:1)},[Ee,Le,Pe,ue,oe,Me,Ce,Te,le,Q,U,Ne,et,rt,Ze,Ve,Je,pt,at,Ie,qt,Vt,me,At,it,Tt,wt,ht,Qe,Zi,o,c,b,_,R,X,Xt,ji,Wi,Jt,ti,Ki,un,r,l,m,$,C,D,re,L,ae,pe,ge,ce,Y,fe,ze,Bi,zi,li,Fi,Qi,Ot,jt,ri,Wt,di,Dt,Ni,si,Et,Ri,Si,mi,$t,pi,ai,Zt,vt,Ft,ui,Oi,Pi,Gt,Kt,Hi,ei,Ui,Yt,Ht,Qt,Lt,hi,Ei,bi,Ji,nn,wi,te,tt,Mt,Yi,de,A,ft,It,Rt,Ue,Li,ci,He,Gi,Ii,n,h,v,y,S,k,w,V,K,se,ne,O,dt,on,cn,ln,rn,vn]}class n_ extends ke{constructor(e){super(),ye(this,e,i_,t_,we,{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},e_,[-1,-1,-1,-1,-1])}}function o_(i){qe(i,"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 @@
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 Vg(i){let e,t,n;function o(r){i[55](r)}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 gg({props:l}),We.push(()=>Tt(e,"videoContainer",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[0]&1&&(a.store=r[0]),s[0]&2&&(a.title=r[1]),s[0]&4&&(a.thumbUrl=r[2]),s[0]&8&&(a.videoLogoUrl=r[3]),s[0]&16&&(a.interactiveContainer=r[4]),s[0]&32&&(a.live=r[5]),s[0]&64&&(a.autoplay=r[6]),s[0]&128&&(a.canRewindLive=r[7]),s[0]&256&&(a.showAds=r[8]),s[0]&512&&(a.adsSlotId=r[9]),s[0]&1024&&(a.adsParams=r[10]),s[0]&2048&&(a.adsPreviewParam=r[11]),s[0]&4096&&(a.duration=r[12]),s[0]&8192&&(a.logoClickable=r[13]),s[0]&16384&&(a.logoHidden=r[14]),s[0]&65536&&(a.showNextPrevButtons=r[16]),s[0]&131072&&(a.nextButtonActive=r[17]),s[0]&262144&&(a.prevButtonActive=r[18]),s[0]&524288&&(a.endScreenVideoTitle=r[19]),s[0]&1048576&&(a.endScreenVideoThumb=r[20]),s[0]&2097152&&(a.isOneVideoPlaylist=r[21]),s[0]&4194304&&(a.supportLink=r[22]),s[0]&8388608&&(a.outerContainerRef=r[23]),s[0]&16777216&&(a.fullScreenTarget=r[24]),s[0]&33554432&&(a.showMiniTimer=r[25]),s[1]&8&&(a.playerStarted=r[34]),s[0]&67108864&&(a.playNextVideo=r[26]),s[0]&134217728&&(a.playPrevVideo=r[27]),s[0]&268435456&&(a.repeatPlaylist=r[28]),s[0]&536870912&&(a.seekToInteractive=r[29]),s[0]&1073741824&&(a.toggleGraph=r[30]),s[1]&1&&(a.playPrevChapter=r[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=r[33],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function Ig(i){let e,t,n;function o(r){i[54](r)}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 Ag({props:l}),We.push(()=>Tt(e,"videoContainer",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[0]&1&&(a.store=r[0]),s[0]&4&&(a.thumbUrl=r[2]),s[0]&8&&(a.videoLogoUrl=r[3]),s[0]&16&&(a.interactiveContainer=r[4]),s[0]&32&&(a.live=r[5]),s[0]&64&&(a.autoplay=r[6]),s[0]&128&&(a.canRewindLive=r[7]),s[0]&256&&(a.showAds=r[8]),s[0]&512&&(a.adsSlotId=r[9]),s[0]&1024&&(a.adsParams=r[10]),s[0]&2048&&(a.adsPreviewParam=r[11]),s[0]&4096&&(a.duration=r[12]),s[0]&8192&&(a.logoClickable=r[13]),s[0]&16384&&(a.logoHidden=r[14]),s[0]&65536&&(a.showNextPrevButtons=r[16]),s[0]&131072&&(a.nextButtonActive=r[17]),s[0]&262144&&(a.prevButtonActive=r[18]),s[0]&524288&&(a.endScreenVideoTitle=r[19]),s[0]&1048576&&(a.endScreenVideoThumb=r[20]),s[0]&2097152&&(a.isOneVideoPlaylist=r[21]),s[0]&4194304&&(a.supportLink=r[22]),s[0]&8388608&&(a.outerContainerRef=r[23]),s[0]&16777216&&(a.fullScreenTarget=r[24]),s[0]&33554432&&(a.showMiniTimer=r[25]),s[1]&8&&(a.playerStarted=r[34]),s[0]&67108864&&(a.playNextVideo=r[26]),s[0]&134217728&&(a.playPrevVideo=r[27]),s[0]&268435456&&(a.repeatPlaylist=r[28]),s[0]&536870912&&(a.seekToInteractive=r[29]),s[0]&1073741824&&(a.toggleGraph=r[30]),s[1]&1&&(a.playPrevChapter=r[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=r[33],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function Mg(i){let e,t,n,o;const l=[Ig,Vg],r=[];function s(a,c){return a[15]?0:1}return t=s(i),n=r[t]=l[t](i),{c(){e=k("div"),n.c(),u(e,"class","root v-labq99")},m(a,c){S(a,e,c),r[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?r[t].p(a,c):(he(),v(r[f],1,1,()=>{r[f]=null}),pe(),n=r[t],n?n.p(a,c):(n=r[t]=l[t](a),n.c()),m(n,1),n.m(e,null))},i(a){o||(m(n),o=!0)},o(a){v(n),o=!1},d(a){a&&y(e),r[t].d()}}}function Ng(i,e,t){let{sources:n}=e,{store:o}=e,{microStoresRoot:l}=e,{uiConfig:r}=e,{title:s}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:h}=e,{live:p}=e,{preload:b}=e,{autoplay:g}=e,{volume:_=void 0}=e,{muted:L=void 0}=e,{fromTime:E}=e,{canRewindLive:w}=e,{showAds:P}=e,{adsSlotId:B=void 0}=e,{adsParams:N=void 0}=e,{adsPreviewParam:U=void 0}=e,{duration:Y=void 0}=e,{logoClickable:W}=e,{logoHidden:ne}=e,{isMobile:X}=e,{showNextPrevButtons:ee=!1}=e,{nextButtonActive:T=!1}=e,{prevButtonActive:te=!1}=e,{endScreenVideoTitle:fe=void 0}=e,{endScreenVideoThumb:A=void 0}=e,{isOneVideoPlaylist:oe=!1}=e,{supportLink:ae}=e,{outerContainerRef:ke=void 0}=e,{fullScreenTarget:we=void 0}=e,{failoverHosts:Ee=void 0}=e,{showMiniTimer:Pe=!1}=e,{playNextVideo:H=le.noop}=e,{playPrevVideo:G=le.noop}=e,{repeatPlaylist:O=le.noop}=e,{seekToInteractive:ge=le.noop}=e,{toggleGraph:Q=le.noop}=e,{playPrevChapter:M=le.noop}=e;const{subscribers:J,stores:Me}=l;xc(r);const Te=Qi(),Le=o.ui.debugPanelVisible,x=o.ui.playerSize;let ue,ve=null,se=!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}),l0(o,Me);const Fe=(ce=!1)=>{t(34,se=!0),ce?o.actions.external.firstStart(P):o.actions.internal.firstStart(P)};function He(ce){var xe;const Xe=n||ce;Xe&&o.initVideo({container:ue,sources:Xe,failoverHosts:Ee,subtitles:h});const $e=le.safeStorage.get(Al)==="true";Le.set($e),E>0&&o.actions.external.seekTime(E);const Je=X?Te.volumeDefault:(xe=_!=null?_:j1())!=null?xe:Te.volumeDefault,Ze=L!=null?L:f0();if(o.actions.external.setVolume(Je),o.actions.external.setMuted(Ze),o.getAdmanWrapper().setInitialVolume(Ze?0:Je),Te.features.trafficSaving){const rt=m0();rt&&o.actions.internal.setTrafficSavingEnabled(rt)}const dt=c0(o.videoId);dt&&o.actions.internal.setQuality(dt),o.ui.isAutoplay.set(g),g?Fe():b&&Te.features.preload&&o.actions.internal.preload()}const st=ce=>{if(window.ResizeObserver){let Xe,$e;ve=new ResizeObserver(le.debounceFn(Je=>{const Ze=Je[0];if(Ze){if(Ze.contentBoxSize){const dt=Array.isArray(Ze.contentBoxSize)?Ze.contentBoxSize[0]:Ze.contentBoxSize;Xe=dt.inlineSize,$e=dt.blockSize}else Ze.contentRect&&(Xe=Ze.contentRect.width,$e=Ze.contentRect.height);x.set({width:Xe,height:$e})}},I1)),ve.observe(ce)}x.set({width:ce.clientWidth,height:ce.clientHeight})};Yi(()=>{st(ue);const ce=J.map($e=>$e.init(o,Me));if((p==null?void 0:p.status)==="upcoming"||(p==null?void 0:p.status)==="waiting"){o.actions.internal.setWaitingLive(!0);return}if(((p==null?void 0:p.status)==="finished"||(p==null?void 0:p.status)==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return He(),()=>{ve==null||ve.disconnect(),ce.forEach($e=>$e.unsubscribe()),o.destroy()}});function lt(){se?o.actions.external.play():Fe(!0)}function ze(){o.actions.external.pause()}function mt(ce){X||o.actions.external.setMuted(ce)}function kt(ce){X||ce>=0&&ce<=1&&o.actions.external.setVolume(ce)}function Re(ce){o.actions.internal.seekTime(ce,wt.SeekAction.UNKNOWN)}function Ne(ce){o.actions.external.seekEpisodeStartTime(ce)}function Wt(ce){o.actions.external.setPlaybackRate(ce)}function At(ce){o.actions.external.setAutoQualityLimits(ce)}function ut(ce){ue=ce,t(33,ue)}function et(ce){ue=ce,t(33,ue)}return i.$$set=ce=>{"sources"in ce&&t(37,n=ce.sources),"store"in ce&&t(0,o=ce.store),"microStoresRoot"in ce&&t(38,l=ce.microStoresRoot),"uiConfig"in ce&&t(39,r=ce.uiConfig),"title"in ce&&t(1,s=ce.title),"thumbUrl"in ce&&t(2,a=ce.thumbUrl),"videoLogoUrl"in ce&&t(3,c=ce.videoLogoUrl),"interactiveContainer"in ce&&t(4,f=ce.interactiveContainer),"subtitles"in ce&&t(40,h=ce.subtitles),"live"in ce&&t(5,p=ce.live),"preload"in ce&&t(41,b=ce.preload),"autoplay"in ce&&t(6,g=ce.autoplay),"volume"in ce&&t(42,_=ce.volume),"muted"in ce&&t(43,L=ce.muted),"fromTime"in ce&&t(44,E=ce.fromTime),"canRewindLive"in ce&&t(7,w=ce.canRewindLive),"showAds"in ce&&t(8,P=ce.showAds),"adsSlotId"in ce&&t(9,B=ce.adsSlotId),"adsParams"in ce&&t(10,N=ce.adsParams),"adsPreviewParam"in ce&&t(11,U=ce.adsPreviewParam),"duration"in ce&&t(12,Y=ce.duration),"logoClickable"in ce&&t(13,W=ce.logoClickable),"logoHidden"in ce&&t(14,ne=ce.logoHidden),"isMobile"in ce&&t(15,X=ce.isMobile),"showNextPrevButtons"in ce&&t(16,ee=ce.showNextPrevButtons),"nextButtonActive"in ce&&t(17,T=ce.nextButtonActive),"prevButtonActive"in ce&&t(18,te=ce.prevButtonActive),"endScreenVideoTitle"in ce&&t(19,fe=ce.endScreenVideoTitle),"endScreenVideoThumb"in ce&&t(20,A=ce.endScreenVideoThumb),"isOneVideoPlaylist"in ce&&t(21,oe=ce.isOneVideoPlaylist),"supportLink"in ce&&t(22,ae=ce.supportLink),"outerContainerRef"in ce&&t(23,ke=ce.outerContainerRef),"fullScreenTarget"in ce&&t(24,we=ce.fullScreenTarget),"failoverHosts"in ce&&t(45,Ee=ce.failoverHosts),"showMiniTimer"in ce&&t(25,Pe=ce.showMiniTimer),"playNextVideo"in ce&&t(26,H=ce.playNextVideo),"playPrevVideo"in ce&&t(27,G=ce.playPrevVideo),"repeatPlaylist"in ce&&t(28,O=ce.repeatPlaylist),"seekToInteractive"in ce&&t(29,ge=ce.seekToInteractive),"toggleGraph"in ce&&t(30,Q=ce.toggleGraph),"playPrevChapter"in ce&&t(31,M=ce.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(X)},[o,s,a,c,f,p,g,w,P,B,N,U,Y,W,ne,X,ee,T,te,fe,A,oe,ae,ke,we,Pe,H,G,O,ge,Q,M,Re,ue,se,Te,Fe,n,l,r,h,b,_,L,E,Ee,He,lt,ze,mt,kt,Ne,Wt,At,ut,et]}class Rg extends Se{constructor(e){super(),ye(this,e,Ng,Mg,_e,{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},Lg,[-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 Bg(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){S(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 Og(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 zg extends Se{constructor(e){super(),ye(this,e,Og,Bg,_e,{isWhite:1})}}function Dg(i){je(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 w1(i){let e,t;return{c(){e=k("div"),t=De(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){S(n,e,o),d(e,t)},p(n,o){o&1&&ot(t,n[0])},d(n){n&&y(e)}}}function k1(i){let e,t;return e=new zg({props:{isWhite:!!i[1]}}),{c(){F(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){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Fg(i){let e,t,n,o,l=i[0]&&w1(i),r=(!i[0]||!i[1])&&k1(i);return{c(){e=k("div"),l&&l.c(),t=R(),r&&r.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(s,a){S(s,e,a),l&&l.m(e,null),d(e,t),r&&r.m(e,null),o=!0},p(s,[a]){s[0]?l?l.p(s,a):(l=w1(s),l.c(),l.m(e,t)):l&&(l.d(1),l=null),!s[0]||!s[1]?r?(r.p(s,a),a&3&&m(r,1)):(r=k1(s),r.c(),m(r,1),r.m(e,null)):r&&(he(),v(r,1,1,()=>{r=null}),pe()),(!o||a&2&&n!==(n=s[1]?`background-image: url('${s[1]}')`:""))&&u(e,"style",n)},i(s){o||(m(r),o=!0)},o(s){v(r),o=!1},d(s){s&&y(e),l&&l.d(),r&&r.d()}}}function Hg(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 Ug extends Se{constructor(e){super(),ye(this,e,Hg,Fg,_e,{title:0,thumbUrl:1},Dg)}}class y1{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}removeEventListener(e,t){if(!(e in this.listeners))return;const n=this.listeners[e];for(let o=0,l=n.length;o<l;o++)if(n[o].callback===t){n.splice(o,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let o=0,l=n.length;o<l;o++){const r=n[o];try{r.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}r.options&&r.options.once&&this.removeEventListener(e.type,r.callback)}return!e.defaultPrevented}}class wc extends y1{constructor(){super(),this.listeners||y1.call(this),Object.defineProperty(this,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(this,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(this,"reason",{value:void 0,writable:!0,configurable:!0})}toString(){return"[object AbortSignal]"}dispatchEvent(e){e.type==="abort"&&(this.aborted=!0,typeof this.onabort=="function"&&this.onabort.call(this,e)),super.dispatchEvent(e)}}let qg=class{constructor(){Object.defineProperty(this,"signal",{value:new wc,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch(o){typeof document!="undefined"?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document=="undefined")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(o){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};typeof Symbol!="undefined"&&Symbol.toStringTag&&(qg.prototype[Symbol.toStringTag]="AbortController",wc.prototype[Symbol.toStringTag]="AbortSignal");function kc(i){return i.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof i.Request=="function"&&!i.Request.prototype.hasOwnProperty("signal")||!i.AbortController}function jg(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!kc({fetch:e,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:e,Request:l};let l=t;(l&&!l.prototype.hasOwnProperty("signal")||o)&&(l=function(c,f){let h;f&&f.signal&&(h=f.signal,delete f.signal);const p=new t(c,f);return h&&Object.defineProperty(p,"signal",{writable:!1,enumerable:!1,configurable:!0,value:h}),p},l.prototype=t.prototype);const r=e;return{fetch:(a,c)=>{const f=l&&l.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let h;try{h=new DOMException("Aborted","AbortError")}catch(b){h=new Error("Aborted"),h.name="AbortError"}if(f.aborted)return Promise.reject(h);const p=new Promise((b,g)=>{f.addEventListener("abort",()=>g(h),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([p,r(a,c)])}return r(a,c)},Request:l}}const Yl=kc({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),yc=Yl?jg({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,Wg=Yl?yc.fetch:window.fetch;Yl?yc.Request:window.Request;const Zg=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,Gg="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class Kg{constructor(e,t){this.adman=null,this.initialVolume=1,this.videoElement=null,this.currentAdSection=null,this.actions=null,this.adsState=null,this.playerState=null,this.events={slotRequested$:new le.Subject,started$:new le.Subject,paused$:new le.Subject,resumed$:new le.Subject,ended$:new le.Subject,skipped$:new le.Subject,clicked$:new le.Subject},this.loadAdman=n=>new Promise((o,l)=>{let r;const s=()=>{clearTimeout(r),delete window.admanAsyncInit,window.AdmanHTML?o():l()};le.addScript(Gg,n,this.loadTimeout).then(()=>{window.AdmanHTML?o():(window.admanAsyncInit=s,r=window.setTimeout(s,this.initTimeout))}).catch(()=>{l()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,o)=>{le.assertNonNullable(this.adsState),le.assertNonNullable(this.playerState),le.assertNonNullable(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(o)}`}),this.events.started$.next(n),o.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),it(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(o.duration),this.adsState.playbackState.set(Qt.PLAYING),this.adsState.canSkip.set(o.allowClose),this.adsState.secondsToWatchBeforeSkip.set(o.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{le.assertNonNullable(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{le.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Qt.PAUSED)},this.onAdPlayed=()=>{le.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Qt.PLAYING)},this.onAdMidrollPoint=()=>{le.assertNonNullable(this.adman),le.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=_n.Midroll,this.adman.start(_n.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var n;this.log({message:"ad clicked"}),(n=this.videoElement)===null||n===void 0||n.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},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}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:t,height:n,isFullscreen:o,isAutoplay:l,adsContainer:r,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:h}=e;let p;const b=this.playerState&&it(this.playerState.vsid);b&&(p=parseInt(b,36));const g={dl:encodeURIComponent(window.location.href),autoplay:l,player_width:t,player_height:n,puid10:Zg(t,n),puid11:o?0:1,preview:h,...p?{request_id:p}:{},duration:f,...c},_={slot:a,wrapper:r,videoEl:s,videoQuality:n,params:g,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=s,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}le.assertNonNullable(this.actions),le.assertNonNullable(this.adsState),le.assertNonNullable(this.playerState);const t=this.currentAdSection===_n.Postroll;this.adsState.playbackState.set(Qt.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(){le.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=it(this.adsState.playbackState);e===Qt.PLAYING?this.pause():e===Qt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var t;this.log({message:`set volume ${e}`}),(t=this.adman)===null||t===void 0||t.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var t;this.log({message:`set fullscreen ${e}`}),(t=this.adman)===null||t===void 0||t.setFullscreen(e)}startPreroll(){le.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=_n.Preroll,this.adman.start(_n.Preroll)}startPostroll(){le.assertNonNullable(this.adman),le.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=_n.Postroll,this.adman.start(_n.Postroll)}play(){le.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){le.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){le.assertNonNullable(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,t){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(t))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const Yg=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 Qg{constructor(){this.oneLineRegExp=/\r\n|\n|\r/,this.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:""},r=o.split(this.oneLineRegExp);for(const s of r)if(!l.startTime&&!l.endTime){const a=new Sc,{startTime:c,endTime:f}=a.parse(s);l.startTime=c,l.endTime=f}else if(s.trim()!==""){const a=new Xg,{texts:c}=a.parse(s);l.texts=[...l.texts,...c]}(l.startTime||l.endTime)&&l.texts.length>0&&t.push(l)}return t}}class Sc{constructor(){this.timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/,this.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,r=Number(t)*60,s=Number(n),a=+`0.${o}`;return l+r+s+a}}class Xg{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](r){let s=0;const a=[];for(;s<r.length;){const c=["<",">"].reduce((f,h)=>{const p=r.indexOf(h,s);return f===-1||f>p?p:f},-1);if(c===-1){a.push(r.substring(s));break}a.push(r.substring(s,c)),s=c+1}return a}}),l=new Sc;for(const r of o)l.isTime(r)?t.texts.push({type:"timestamp",value:l.parseTime(r)}):t.texts.push({type:"text",value:r});return t}}let In,Dt,kl=0,yl=!1;const Jg=(i,e,t)=>{var n;const o=i>=kl,l=i<kl,r=(f,h=0,p=0)=>f<h&&f<p,s=(f,h=0,p=0)=>f>=h&&f<=p,a=(f,h=0,p=0)=>f>h&&f>p,c=(n=t.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(kl=i,l&&(yl=!1),le.isNonNullable(In)&&s(i,In.startTime,In.endTime)&&In.lang===e.value)return In;if(!le.isNonNullable(Dt)&&(c!=null&&c.length)&&!yl){const f=c.find(({startTime:h,endTime:p})=>s(i,h,p)||o&&r(i,h,p));Dt=f&&{...f,lang:e.value},In=void 0,!le.isNonNullable(Dt)&&c[c.length-1].endTime<i&&(yl=!0);return}else{if(s(i,Dt==null?void 0:Dt.startTime,Dt==null?void 0:Dt.endTime))return In=Dt,Dt=void 0,In;(o&&a(i,Dt==null?void 0:Dt.startTime,Dt==null?void 0:Dt.endTime)||l&&r(i,Dt==null?void 0:Dt.startTime,Dt==null?void 0:Dt.endTime))&&(Dt=void 0)}},Sl={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 Ro=null;class mo{constructor(e,t){if(!Ro){const n=new wt.OneStat(e,t),o=new le.Subscription;Ro=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n==null||n.destroy(),o==null||o.unsubscribe(),Ro=null}})}}static getInstance(){return Ro}}const xg=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:l,canDownload:r,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:h,coreConfig:p,player:b,disabledControls:g,isInteractive:_,interactiveRanges:L,replayInteractive:E,hasInteractiveBranches:w,playPrevChapterDisabledTooltip:P,additionalButtons:B,looped:N=!1})=>{var U,Y,W,ne;const X={...p,configName:[...(U=p.configName)!==null&&U!==void 0?U:[],"ui"],isAudioDisabled:l,live:{...(Y=p.live)!==null&&Y!==void 0?Y:{},isLiveCatchUpMode:!!n}},ee=h,T=b||new nt.Player(X);T.setLooped(N);const te=new le.Logger,fe=new Kg(te,{loadTimeout:ee.ads.loadTimeout,initTimeout:ee.ads.initTimeout}),A=mo.getInstance(),oe=Ml.getInstance(),ae=a==null?void 0:a.pictureInPictureApi,ke=a==null?void 0:a.annotationsApi,we=te.createComponentLog("Store");let Ee,Pe,H={};const G=le.getCurrentBrowser(),O=A?St(A.oneStat.vsid$):dn(void 0),ge=Ue(vo()),Q=(W=ae==null?void 0:ae.info.isActive$)!==null&&W!==void 0?W:new le.ValueSubject(!1),M=ae==null?void 0:ae.info.type,J=Ue(0),Me=Ue([]),Te=le.merge(T.events.fatalError$,T.events.managedError$).subscribe(C=>Me.update(ie=>[...ie,C])),Le=dn(!1,C=>{const ie=T.events.fatalError$.subscribe(()=>C(!0));return()=>ie.unsubscribe()}),x=async C=>{var ie;const be=Object.values(le.InterfaceLanguage).includes(C);if(ee.downloadVKLanguages&&(be&&ee.updateBuiltinLanguages||!Vr(C))){let Ge;try{Ge=await le.loadVKLangPack(C,$c,e0)}catch(pt){(ie=A==null?void 0:A.oneStat)===null||ie===void 0||ie.logError({errorType:"VKLangPack",fatal:!1}),oe==null||oe.report(pt,{errorType:"VKLangPack",fatal:!1})}Ge&&(Lr({language:C,pack:Ge,fallback:ee.defaultLanguage}),ue.set(C))}Vr(C)&&ue.set(C)},ue=Ue(i);x(i);const ve=(C,ie)=>{const be=it(ue);return Cu(be,C,ie,ee.defaultLanguage)},se=Ue(Be.Thumb),Fe=(()=>{const C=ii([Le,se],([ie,be])=>ie?Be.Crashed:be);return{...C,is:ie=>it(C)===ie}})(),He=(()=>{const C=Ue(new Set(g));return{...C,add:ie=>{C.update(be=>new Set([...be].concat(ie)))},remove:ie=>{C.update(be=>{const Oe=[...be];return new Set(Array.isArray(ie)?Oe.filter(Ge=>!ie.includes(Ge)):Oe.filter(Ge=>Ge!==ie))})},includes:ie=>{const be=it(C);return Array.isArray(ie)?ie.every(Oe=>be.has(Oe)):be.has(ie)}}})();we({message:"create store"});const st=C=>{we({message:`init video, config: ${JSON.stringify(C)}`}),_?C.container.append(T.experimental.element$.getValue()):T.initVideo(C),C.subtitles&&T.setExternalTextTracks(C.subtitles),Ee=C},lt=new le.Subject,ze=C=>lt.next(C),mt=new le.Subject,kt=new le.Subject,Re=new le.Subject,Ne={actionRewind$:mt,actionSeek$:kt,inPiP$:Q,inFullscreen$:new le.Observable(C=>ge.subscribe(ie=>C.next(ie))),actionSetSubtitle$:Re,nextMovie$:lt};if(A){const{oneStat:C,statSubscription:ie}=A;ie.add(C.attachTo(T)),ie.add(C.attachToUi(Ne)),ie.add(C.attachToAds(fe.events)),C.authorize(o).catch(be=>{we({message:`onestat auth error ${String(be)}`})})}if(oe){const C=new le.Subscription,ie=(be,Oe)=>C.add(be.subscribe(Oe));if(ie(T.events.managedError$,be=>{oe.logIError(be)}),ie(T.events.fatalError$,be=>{oe.logIError(be,!0)}),A){const{oneStat:be}=A;ie(be.experimental.error$,Oe=>{oe.logIError(Oe)})}oe.sentrySubscription.add(C)}const Wt=()=>{le.isIOS()&&Pe&&Q2(Pe)},At=new le.Subscription().add(T.experimental.element$.subscribe(C=>{C&&(Pe=C,C.classList.add("player-media"),Ho(ae)&&(ae.updateVideoElement(),ae.registryEventHandlers()),_&&C.setAttribute("pip","false"))})).add(T.events.ended$.subscribe(()=>{var C;Wt(),(C=s==null?void 0:s.onEnded)===null||C===void 0||C.call(s)})).add(T.events.started$.subscribe(async()=>{var C,ie;Ho(ae)&&await(ae==null?void 0:ae.revealPictureInPicture());const be=T.info.muted$.getValue();(C=s==null?void 0:s.onStarted)===null||C===void 0||C.call(s),(ie=H.onStarted)===null||ie===void 0||ie.call(H,be)})).add(T.events.willSeek$.subscribe(({from:C,to:ie})=>{var be;(be=s==null?void 0:s.onSeek)===null||be===void 0||be.call(s,C,ie)})).add(T.info.position$.subscribe(C=>{var ie;const be=T.info.duration$.getValue();(ie=s==null?void 0:s.onTimeupdate)===null||ie===void 0||ie.call(s,be,C),fe.setPosition(C,be)})).add(T.events.fatalError$.subscribe(()=>{var C;(C=s==null?void 0:s.onCrashed)===null||C===void 0||C.call(s)})).add(T.info.is3DVideo$.subscribe(C=>{jt.ui.is3DVideo.set(C)})).add(T.info.isEnded$.subscribe(C=>{_&&(C?(it(Jo)&&He.add(N1),He.add(vt.PLAY_BUTTON)):He.remove(vt.PLAY_BUTTON))})).add(T.info.liveTime$.subscribe(C=>{var ie;(ie=s==null?void 0:s.onLiveTime)===null||ie===void 0||ie.call(s,C)})),ut=new le.Subscription,et=()=>{ut.add(T.events.log$.subscribe(C=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${C.component}`,C.message)})).add(te.log$.subscribe(C=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${C.component}.`,C.message)}))},ce=()=>{ut.unsubscribe()},Xe=(C,ie)=>{T.startCameraManualRotation(C,ie)},$e=(C=!1)=>{T.stopCameraManualRotation(C)},Je=(C,ie,be)=>{T.moveCameraFocusPX(C,ie,be)},Ze=()=>{T.holdCamera()},dt=()=>{T.releaseCamera()},xe=dn(T.info.position$.getValue(),C=>{let ie,be;const Oe=()=>{const Ge=T.info.playbackState$.getValue(),pt=T.info.isLive$.getValue(),Bt=T.info.duration$.getValue(),yt=T.info.position$.getValue();if([nt.PlaybackState.PLAYING,nt.PlaybackState.PAUSED].includes(Ge)){const Hi=pt?yt-Bt:T.getExactTime();Hi!==be&&C(Hi),be=Hi}ie=requestAnimationFrame(Oe)};return Oe(),()=>cancelAnimationFrame(ie)}),rt=St(Q),Ke=St(T.info.playbackState$),tt=St(T.info.currentBuffer$),Xt=St(T.info.isEnded$),ht=St(T.info.isLive$),Ye=ee.features.playbackRate?St(T.info.canChangePlaybackSpeed$):dn(!1),Lt=St(T.info.liveBufferTime$),at=St(T.info.volume$),ci=St(T.info.muted$),me=D1(T.info.autoQualityLimits$.pipe(le.map(({max:C})=>C!==void 0)),((ne=T.info.autoQualityLimits$.getValue())===null||ne===void 0?void 0:ne.max)!==void 0),Ce=St(T.info.autoQualityLimitingAvailable$),Ie=St(T.info.availableQualities$),It=St(T.info.availableQualitiesFps$),fi=St(T.info.chromecastState$),Mt=St(T.info.chromecastDeviceName$),Ci=St(T.info.currentFormat$),Vi=St(T.info.throughputEstimation$),Ii=St(T.info.videoBitrate$),Ve=St(T.info.intrinsicVideoSize$),Nt=St(T.info.duration$),di=St(T.info.isAudioAvailable$);let Ot=null;const Vt=T.info.isBuffering$,Mi=dn(Vt.getValue(),C=>{const ie=Vt.subscribe(be=>{be&&Ot===null?Ot=window.setTimeout(()=>{C(Vt.getValue()),Ot=null},ee.loaderDelay):C(be)});return()=>{ie.unsubscribe(),Ot&&clearTimeout(Ot)}}),Rt=()=>{Ot&&clearTimeout(Ot),Ot=null},oi=ii([Nt,ht],([C,ie])=>ie?-C:C),Xi=ii([Ke],([C])=>C===nt.PlaybackState.PLAYING),Pt=St(T.info.atLiveEdge$),Ui=St(T.info.atLiveDurationEdge$),mi=St(T.info.position$),Ni=ii([mi,Nt],([C,ie])=>isFinite(C)&&isFinite(ie)&&!!ie),Ri=ii([fi],([C])=>C===nt.ChromecastState.CONNECTED),Ti=Ue(void 0),li=St(T.info.isAutoQualityEnabled$,C=>C&&Ti.set(void 0)),Ei=St(T.info.currentQuality$,()=>Ti.set(void 0)),yi=ii([Ti,Ei],([C,ie])=>C!=null?C:ie),hi=ii([Ie,It,li,yi,Ci],([C,ie,be,Oe,Ge])=>{const pt=[];Ge!==nt.VideoFormat.MPEG&&pt.push({value:eo.AUTO,displayValue:ve("auto_quality_option"),selected:be});const Bt=C.filter(yt=>yt!==le.VideoQuality.INVARIANT);for(const yt of Bt){const Hi=ie[yt],Po=yt===le.VideoQuality.INVARIANT?ve("auto_quality_option"):yt;pt.push({value:yt,displayValue:`${Po}${Hi?Yg(Hi):""}`,selected:be?!1:yt===Oe})}return pt}),ri=St(T.info.currentPlaybackRate$),pi=ii([ri,Pt,Ui],([C,ie,be])=>{const Oe=be||_?1:ee.controls.playbackRateMin,Ge=ie?1:ee.controls.playbackRateMax,pt=ee.controls.playbackRateStep,Bt=[];for(let yt=Oe;yt<=Ge;yt+=pt)Bt.push({value:yt,displayValue:yt===1?ve("playback_rate_1"):ve("playback_rate",{multiplier:yt.toString(10)}),selected:C===yt});return Bt}),qi=ee.features.subtitles?St(T.info.availableTextTracks$):dn([]),ji=ii([qi],([C],ie)=>{const be=[],Oe=[];for(const Ge of C)Ge.url&&be.push(Wg(Ge.url));Promise.allSettled(be).then(Ge=>{for(const[pt,Bt]of Ge.entries())Bt.status==="fulfilled"&&Bt.value.text().then(yt=>{const Hi=new Qg,Po=C[pt].language,Ac=!!C[pt].isAuto,xl=Hi.parse(yt);Po&&xl&&Oe.push({lang:Po,subtitles:xl,isAuto:Ac}),pt===Ge.length-1&&ie(Oe)})})}),Ht={displayValue:ve("subtitles_off"),value:"off"},Ut=Ue({...Ht}),Bi=ii([ji,Ut,ji],([C,ie])=>{if((C==null?void 0:C.length)>0){const be=[{...Ht,selected:(ie==null?void 0:ie.value)===Ht.value}];for(const{lang:Oe,isAuto:Ge}of C)Sl[Oe]&&be.push({displayValue:Ge?ve("subtitles_auto",{language:Sl[Oe]}):Sl[Oe],value:Oe,selected:(ie==null?void 0:ie.value)===Oe,isAuto:Ge});return be}else return[]}),Ji=ii([xe,Ut,ji],([C,ie,be])=>{if(ie&&ie.value!==Ht.value)return Jg(C,ie,be)}),vi=ii([Ji],([C])=>C!=null&&C.texts?C.texts:[]),Oi=Ue(!0),Ai=ii([tt,oi,mi,Lt],([C,ie,be,Oe])=>{var Ge;const pt=(Ge=C==null?void 0:C.end)!==null&&Ge!==void 0?Ge:0;if(!Oe)return pt/ie;const yt=-be+Oe-ie;return(pt-yt)/ie}),Si=St(T.info.availableSources$),zi=ii([Si],([C])=>Object.keys((C==null?void 0:C[nt.VideoFormat.MPEG])||{}).length>0),Li=()=>{var C,ie,be;const Oe=Object.keys(((ie=(C=T.info.availableSources$)===null||C===void 0?void 0:C.getValue())===null||ie===void 0?void 0:ie[nt.VideoFormat.MPEG])||{}),Ge=le.getHighestQuality(Oe)||le.VideoQuality.Q_144P;return(be=Ee.sources[nt.VideoFormat.MPEG])===null||be===void 0?void 0:be[Ge]},Jt=()=>{var C;const ie=Li();ie?a0(ie,((C=Ee==null?void 0:Ee.meta)===null||C===void 0?void 0:C.title)||"video"):we({message:"There is no URL for download video"})},xt=()=>{we({message:"toggle muted"});const C=T.info.muted$.getValue(),Oe=!(T.info.volume$.getValue()===0||C);Kt(Oe)},gi=(C,ie=C,be=!1)=>{var Oe,Ge,pt;const Bt=!be,yt=T.info.muted$.getValue();we({message:`set volume, volume: ${C}, preferredVolume: ${ie}, internalCall: ${Bt}`}),T.setVolume(C),fe.setVolume(C),Bt&&((Oe=s==null?void 0:s.onVolumeChange)===null||Oe===void 0||Oe.call(s,C)),or(ie),yt?(T.setMuted(!1),Bt&&((Ge=s==null?void 0:s.onUnmute)===null||Ge===void 0||Ge.call(s)),tl(!1)):!yt&&C===0&&(T.setMuted(!0),Bt&&((pt=s==null?void 0:s.onMute)===null||pt===void 0||pt.call(s)),tl(!0))},Kt=(C,ie=!1)=>{var be,Oe,Ge,pt;const Bt=!ie,yt=T.info.volume$.getValue();if(we({message:`set muted, currentVolume: ${yt}, mute: ${C}, internalCall: ${Bt}`}),T.setMuted(C),fe.setVolume(C?0:yt),tl(C),Bt&&(C?(be=s==null?void 0:s.onMute)===null||be===void 0||be.call(s):(Oe=s==null?void 0:s.onUnmute)===null||Oe===void 0||Oe.call(s)),yt===0){let Hi=(Ge=j1())!==null&&Ge!==void 0?Ge:ee.volumeDefault;Hi===0&&(Hi=ee.volumeMinRestore,or(Hi)),T.setVolume(Hi),fe.setVolume(Hi),Bt&&((pt=s==null?void 0:s.onVolumeChange)===null||pt===void 0||pt.call(s,Hi))}},$t=()=>{T.prepare()},si=()=>{var C,ie;if(le.assertNonNullable(jt),!it(jt.ui.controls.disabledControls$).has(vt.PLAY_BUTTON)){if(we({message:"toggle play"}),it(jt.playerPhase)===Be.Ads){fe.togglePlay();return}if(T.info.playbackState$.getValue()!==nt.PlaybackState.PLAYING){if(T.info.isEnded$.getValue()){if(we({message:"toggle play, video ended, seek to 0"}),mt.next(),kt.next(wt.SeekAction.REWIND),_){E==null||E();return}T.seekTime(0)}we({message:"toggle play, call player.play"}),T.play(),(C=s==null?void 0:s.onPlay)===null||C===void 0||C.call(s)}else we({message:"toggle play, call player.pause"}),T.pause(),(ie=s==null?void 0:s.onPause)===null||ie===void 0||ie.call(s)}},bi=C=>{we({message:`set quality, quality: ${C}`}),T.setAutoQuality(C===eo.AUTO),C!==eo.AUTO?(u0(e,C),Ti.set(C),T.setQuality(C)):W1()},ei=C=>{we({message:`set trafficSavingEnabled, value: ${C}`}),T.setAutoQualityLimits({max:C?ee.trafficSavingLimit:void 0}),d0(C)},ai=C=>{T.setPlaybackRate(C)},Wi=()=>{const C=it(pi),ie=C.findIndex(({selected:Oe})=>Oe);if(ie===C.length-1)return;const be=C[ie+1];ai(be.value)},Di=()=>{const C=it(pi),ie=C.findIndex(({selected:Oe})=>Oe);if(ie===0)return;const be=C[ie-1];ai(be.value)},Pi=C=>{C&&C.value!==Ht.value&&Re.next(C.isAuto?C.value+"_auto":C.value),Ut.set(C)},Ki=()=>{const C=it(Bi),ie=it(Ut),be=it(ue);if((ie==null?void 0:ie.value)===Ht.value){const Oe=C.filter(Ge=>Ge.value!==Ht.value).find(Ge=>Ge.value===be)||C[1];Pi(Oe!=null?Oe:{...Ht})}else Pi({...Ht,selected:!1})},ti=(C,ie,be=!0)=>{if(we({message:`seek to time, time: ${C}`}),kt.next(ie),T.info.isLive$.getValue()){const Oe=T.info.duration$.getValue(),Ge=Math.min(0,Oe+C);T.seekTime(Ge,be)}else{if(it(Jo))return;T.seekTime(Jl(C),be)}},_i=C=>{we({message:`seek to episode start time: ${C}`}),ti(C,wt.SeekAction.EPISODE,!0)},Fi=(C,ie)=>{we({message:`seek to percent, percent: ${C}`});const be=Math.round(it(oi)*C);ti(be,ie,!1)},Zi=C=>{we({message:`seek external, time: ${C}`}),kt.next(wt.SeekAction.UNKNOWN),T.seekTime(T.info.isLive$.getValue()?-C:C)},zt=C=>{var ie,be;we({message:`set auto quality limitation. Max: ${(ie=C.max)!==null&&ie!==void 0?ie:"none"}. Min: ${(be=C.min)!==null&&be!==void 0?be:"none"}`}),T.setAutoQualityLimits(C)},Yt=C=>{we({message:`seek external to episode start time: ${C}`}),ti(C,wt.SeekAction.EPISODE,!0)},de=C=>{we({message:`set playback rate to: ${C}`}),T.setPlaybackRate(C)},Gi=Ue(void 0),sn=Ue(!1),Bn=C=>{we({message:`start scrubbing, progress: ${C}`}),sn.set(!0),ui(C)},ui=C=>{Gi.set(C)};let hn,pn;const an=()=>{Gi.set(void 0),sn.set(!1)},vn=()=>{clearTimeout(pn),clearTimeout(hn),hn=window.setTimeout(()=>{an()},500),Pe==null||Pe.removeEventListener("seeked",vn)},Ln=C=>{we({message:`complete scrubbing, progress: ${C}`}),Fi(C,wt.SeekAction.SLIDER),it(jt.ui.isMobile)&&it(jt.state.currentFormat$)===nt.VideoFormat.HLS?(Pe==null||Pe.addEventListener("seeked",vn),pn=window.setTimeout(()=>{vn()},300)):an()},$i=ii([xe,oi,Gi],([C,ie,be],Oe)=>{Oe(le.isNonNullable(be)?be*ie:C)}),Vn=Ue({width:0,height:0}),$=ii([Vn],([{width:C}],ie)=>{const be=t3(C);ie(be)}),gt=Ue(!1),un=ii([$,gt],([C,ie])=>ie?B.filter(be=>!be.hideOnMobile):B.filter(be=>{var Oe;return!(!((Oe=be.hideOnDesktopGridTypes)===null||Oe===void 0)&&Oe.includes(C))})),xi=ii([gt,Le],([C,ie],be)=>{be(C&&ie)}),cn=()=>{kt.next(wt.SeekAction.LIVE),we({message:"switch to active live"}),T.seekTime(0),T.info.playbackState$.getValue()!==nt.PlaybackState.PLAYING&&jt.actions.internal.togglePlay()},en=()=>fe.skip(),lo=(C=!0)=>{le.assertNonNullable(jt),we({message:`switch from ads to video, callPlay: ${C}`}),se.set(Be.Video),C&&T.play()},ro=()=>{le.assertNonNullable(jt),we({message:"switch from video to ads"}),jt.actions.internal.pause(),Wt(),se.set(Be.Ads)},so=C=>{le.assertNonNullable(jt);const ie=C?Be.WaitingLive:Be.Thumb;se.set(ie)},ao=C=>{le.assertNonNullable(jt);const ie=C?Be.WaitingRecord:Be.Thumb;se.set(ie)},uo=()=>(le.assertNonNullable(jt),r0(T,Ee,jt)),co=()=>(le.assertNonNullable(jt),s0(T,Ee,jt)),Hn=()=>Pe,Un=()=>{we({message:"toggle chromecast"}),T.toggleChromecast()},re=C=>{var ie;le.assertNonNullable(jt);const be=!C;if(it(jt.playerPhase)===Be.Ads){we({message:`pause ads, internalCall: ${be}`}),fe.pause();return}we({message:`pause video, internalCall: ${be}`}),be&&((ie=s==null?void 0:s.onPause)===null||ie===void 0||ie.call(s)),T.pause()},gn=C=>{var ie;le.assertNonNullable(jt);const be=!C;if(it(jt.playerPhase)===Be.Ads){we({message:`play ads, internalCall: ${be}`}),fe.play();return}we({message:`play video, internalCall: ${be}`}),be&&((ie=s==null?void 0:s.onPlay)===null||ie===void 0||ie.call(s)),T.play()},ct=(C,ie)=>{le.assertNonNullable(jt),we({message:`first start, show ads: ${C}, internalCall: ${!ie}`}),C?se.set(Be.Ads):(se.set(Be.Video),ie?T.play():jt.actions.internal.togglePlay())},qt=()=>(we({message:"getting time codes"}),c),tn=()=>{const C=qt();if(!C||[0,1].includes(C.length))return;const ie=T.info.position$.getValue();return C.find(be=>be.time>ie)},bn=C=>{let ie=C;ie||(ie=tn()),ie&&(we({message:"seek to next episode"}),ti(ie.time,wt.SeekAction.EPISODE,!0))},q=()=>{const C=qt();if(!C||[0,1].includes(C.length))return;const ie=T.info.position$.getValue(),be=C.findIndex(Ge=>Ge.time>ie),Oe=be===-1?C.length-2:be-2;if(!(Oe<0))return C[Oe]},_t=C=>{let ie=C;ie||(ie=q()),ie&&(we({message:"seek to prev episode"}),ti(ie.time,wt.SeekAction.EPISODE,!0))},fn=()=>(we({message:"getting preview thumbs data"}),f),nn=async()=>{ae!=null&&ae.isActive()?await(ae==null?void 0:ae.remove()):await(ae==null?void 0:ae.request())},qn=(C=-90)=>{J.update(ie=>ie+C)},jn=Ue(L),Ql=ii([jn],([C=[]])=>{const ie=[];for(let be=0;be<C.length;be++){const{range:[Oe,Ge],subjects:pt}=C[be];be===0&&Oe!==0&&ie.push({time:0,text:""}),ie.push({time:Oe/1e3,text:"",interactive:!0,completed:!pt.length}),Ge!==1/0&&ie.push({time:Ge/1e3,text:"",interactive:!1,completed:!pt.length})}return ie}),Tc=C=>{const ie=it(jn);jn.set(ie.map(be=>({...be,subjects:be.subjects.filter(Oe=>Oe!==C)})))},Xl=Ue(!1),Jo=ii([mi,jn,Xl],([C,ie,be])=>{if(!_)return!1;if(be)return!0;const Oe=C*1e3,Ge=ie==null?void 0:ie.find(({range:[pt,Bt],subjects:yt})=>pt<Oe&&Oe<Bt&&yt.length);return Ge&&it(sn)&&an(),!!Ge}),Jl=C=>{if(!_)return C;const ie=it(Ql),be=it(oi),Ge=it(mi)/be,pt=ie.find(Bt=>Bt.interactive&&!Bt.completed&&Bt.time>Ge);return typeof(pt==null?void 0:pt.time)=="number"?Math.min(C,pt.time-.05):C},Ec=()=>{clearTimeout(pn),clearTimeout(hn),At.unsubscribe(),ut.unsubscribe(),T.destroy(),fe.destroy(),A==null||A.destroy(),oe==null||oe.destroy(),Te.unsubscribe()},jt={interfaceLanguage$:ue,initVideo:st,videoId:e,isClip:t,playerPhase:Fe,vsid:O,state:{positionExact$:xe,positionWithScrubbing$:$i,duration$:oi,playbackState$:Ke,isPlaying$:Xi,isLoaderVisible:Mi,bufferedProgress$:Ai,isLive$:ht,canChangePlaybackSpeed$:Ye,isActiveLive$:Pt,isOldestAvailableLive$:Ui,isRewindableLive$:Ni,isEnded$:Xt,muted$:ci,volume$:at,trafficSavingEnabled$:me,autoQualityLimitingAvailable$:Ce,currentQuality$:yi,isAutoQualityEnabled$:li,availableQualities$:hi,currentPlaybackRate$:ri,availablePlaybackRates$:pi,currentSubtitle$:Ut,availableSubtitlesList$:Bi,currentSubtitleCaptions$:vi,isAutoSubtitleCaptionVisible$:Oi,chromecastState$:fi,chromecastDeviceName$:Mt,chromecastConnected$:Ri,currentFormat$:Ci,throughputEstimation$:Vi,videoBitrate$:Ii,videoSize$:Ve,errorLog$:Me,crashed$:Le,isAudioAvailable$:di,isAudioDisabled:!!l,canDownload:ee.features.download&&!!r,availableSources$:Si,hasMpegSources$:zi,isInteractive:_,isInteractiveGraphEnabled:ee.features.interactiveGraph,isSeekToInteractiveEnable:ee.features.seekToInteractive,isPlayPrevChapterEnabled:ee.features.interactivePlayPrevChapter,interactiveEpisodes$:Ql,isInteractiveTime$:Jo,graphIsOpened$:Ue(!1),isInteractiveExpectation$:Xl,hasInteractiveBranches:w,playPrevChapterDisabledTooltip:P},ui:{controlsVisible:Ue(!1),touched:Ue(!1),controls:{prevButton:Ue(void 0),playButton:Ue(void 0),replayButton:Ue(void 0),nextButton:Ue(void 0),playPrevChapterButton:Ue(void 0),seekToInteractiveButton:Ue(void 0),interactiveGraphButton:Ue(void 0),liveButton:Ue(void 0),time:Ue(void 0),episodes:Ue(void 0),volume:Ue(void 0),subtitles:Ue(void 0),settings:Ue(void 0),chromecast:Ue(void 0),fullscreen:Ue(void 0),vkLogo:Ue(void 0),additionalButtons:B.length?B.reduce(C=>[...C,Ue(void 0)],[]):[],disabledControls$:He},modals:{hotKeyMap:{show:Ue(!1),data:Ue({title:"",closeBtnText:"",groups:[]})}},isFullscreen:ge,rotateAlpha:J,isAutoplay:Ue(!1),contextMenuVisible:Ue(!1),debugPanelVisible:Ue(!1),playerSize:Vn,isMobile:gt,mobileNotReportControlHidden$:xi,mobileUnmuteButtonExpanded:Ue(!1),mobileUnmuteButtonVisible:Ue(!1),icon3DVideoVisible:Ue(!1),settingsMenuVisible:Ue(!1),scrubbingInProgress:sn,is3DVideo:Ue(!1),isPictureInPictureActive$:rt,pictureInPictureType$:dn(M),clientInfo$:dn(G),currentGridType$:$,additionalButtons$:un,interactiveHideMobileControls:Ue(!1),overlayContainer$:Ue(void 0)},ads:{position:Ue(0),duration:Ue(0),playbackState:Ue(Qt.INACTIVE),canSkip:Ue(!1),secondsToWatchBeforeSkip:Ue(0),postrollPassed:Ue(!1)},webApi:{pictureInPictureApi:ae,annotationsApi:ke},actions:{internal:{preload:$t,firstStart:C=>ct(C,!1),pause:()=>re(!1),togglePlay:si,toggleMuted:xt,setVolume:gi,setQuality:bi,setTrafficSavingEnabled:C=>ei(C),setPlaybackRate:ai,incrementPlaybackRate:Wi,decrementPlaybackRate:Di,setSubtitle:Pi,toggleSubtitle:Ki,togglePictureInPicture:nn,startScrubbing:Bn,progressScrubbing:ui,completeScrubbing:Ln,toggleChromecast:Un,switchToActiveLive:cn,switchFromAdsToVideo:lo,switchFromVideoToAds:ro,skipAd:en,setWaitingLive:so,setWaitingRecord:ao,getDebugTextData:uo,getDebugPanelData:co,getVideoElement:Hn,seekTime:(C,ie,be)=>ti(C,ie,be),clearDelayedBufferingCheckTimeout:Rt,seekEpisodeStartTime:_i,seekToPercent:Fi,getNextEpisode:tn,seekToNextEpisode:bn,getPrevEpisode:q,seekToPrevEpisode:_t,startLogging:et,stopLogging:ce,startCameraManualRotation:Xe,stopCameraManualRotation:$e,moveCameraFocusPX:Je,holdCamera:Ze,releaseCamera:dt,getVideoEpisodes:qt,getPreviewThumbsData:fn,downloadVideo:Jt,addLanguage:Lr,setLanguage:x,nextMovie:ze,videoRotate:qn,completeInteractiveRange:Tc,correctSeekTimeToInteractive:Jl,replayInteractive:E},external:{firstStart:C=>ct(C,!0),play:()=>gn(!0),pause:()=>re(!0),seekTime:C=>Zi(C),seekEpisodeStartTime:C=>Yt(C),setPlaybackRate:C=>de(C),setAutoQualityLimits:C=>zt(C),setMuted:C=>Kt(C,!0),setVolume:C=>gi(C,C,!0)}},callbacks:s,setUiCallbacks:C=>{H={...C}},getAdmanWrapper:()=>fe,getLogger:()=>te,destroy:Ec};return jt};class $g{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(o){throw new Error(`The media session action "${t}" is not supported yet.`)}}}function e6(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,r){S(l,e,r),d(e,t),d(t,n),d(t,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class t6 extends Se{constructor(e){super(),ye(this,e,null,e6,_e,{})}}function i6(i){je(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 n6(i){let e,t,n,o,l,r,s;return n=new t6({}),{c(){e=k("div"),t=k("div"),F(n.$$.fragment),o=R(),l=k("span"),r=De(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(a,c){S(a,e,c),d(e,t),z(n,t,null),d(e,o),d(e,l),d(l,r),s=!0},p(a,[c]){(!s||c&2)&&V(t,"desktop",!a[1]),(!s||c&1)&&ot(r,a[0])},i(a){s||(m(n.$$.fragment,a),s=!0)},o(a){v(n.$$.fragment,a),s=!1},d(a){a&&y(e),D(n)}}}function o6(i,e,t){let n,o;const l=Et(),r=!!l.webApi.pictureInPictureApi,s=l.interfaceLanguage$;j(i,s,f=>t(5,n=f));const a=l.ui.isMobile;j(i,a,f=>t(1,o=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&Z("pip_dummy_title"))},[c,o,r,s,a,n]}class l6 extends Se{constructor(e){super(),ye(this,e,o6,n6,_e,{},i6)}}const r6=460,s6=280;class Pc{constructor(){this.info={isActive$:new le.ValueSubject(!1),type:kn.DocumentPictureInPicture}}isSupported(){const e=le.getCurrentBrowser().browser===le.CurrentClientBrowser.Yandex,{isEmbed:t}=le.detectEmbed();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(){var e,t;if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:r6,height:s6,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
51
- `),o=document.createElement("style");o.textContent=n;const l=this.createStretchedContainer(),r=l.attachShadow({mode:"open"});r.append(o),r.append(this.playerDomElement),this.playerDummyElement=new l6({target:this.playerParentShadowRoot,context:this.svelteContext}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(l),this.info.isActive$.next(!0),(t=this.pipWindow)===null||t===void 0||t.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=>{var t;(t=documentPictureInPicture.window)===null||t===void 0||t.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function a6(i){return i instanceof Pc}class u6{static getLatestSupportedVersion(){const e=new Ul,t=new Pc;if(t.isSupported())return t;if(e.isSupported())return e}}function S1(i,e){var t,n;const o=new Set([...Object.keys(i),...Object.keys(e)]),l={};for(const r of o)l[r]=(n=(t=e[r])!==null&&t!==void 0?t:i[r])!==null&&n!==void 0?n:void 0;return l}const P1="Inner error. Unexpectedly root annotation container null reference exception",c6="Annotation layer with such name already exists";class Pl extends Error{constructor(e){super(e),this.name="AnnotationError"}}class f6{constructor(){this.layers=new Map}registryRootContainer(e){this.detach(),this.rootAnnotationsContainer=e}addLayer(e){if(!this.rootAnnotationsContainer)throw new Pl(P1);if(this.layers.has(e))throw new Pl(c6);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!=null&&t.lastChild;)t.lastChild.remove()}detach(){for(const e of this.layers.values())e.remove()}reattach(){if(!this.rootAnnotationsContainer)throw new Pl(P1);for(const e of this.layers.values())this.rootAnnotationsContainer.append(e)}destroy(){this.detach(),this.layers.clear(),this.rootAnnotationsContainer=void 0}}class Cc{init(e,t){return le.assertNonNullable(e),le.assertNonNullable(t),this.subscription=new le.Subscription,this.subscription}}class d6 extends Cc{constructor(){super(...arguments),this.stateName="fakeIsPlaying$",this.state$={...Ue(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 m6 extends Cc{constructor(){super(...arguments),this.stateName="interactiveControlsOpacity$",this.state$={...Ue(null),toggle:()=>this.state$.update(e=>!e)}}init(e,t){const n=super.init(e,t),{fakeIsPlaying$:o}=t,{isInteractiveExpectation$:l,isPlaying$:r}=e.state,{controlsVisible:s,isMobile:a}=e.ui,c=it(a),f=()=>c&&it(s);return n.add(s.subscribe(h=>{if(!c)return;const p=it(o);it(r)?this.state$.set(h):p!==null&&this.state$.set(!p||h)})),n.add(r.subscribe(h=>{this.state$.set(!h||f())})),n.add(o.subscribe(h=>{if(h===null)return;const p=it(l);if(f()){this.state$.set(!0);return}p&&this.state$.set(!h)})),n}}const h6=()=>[d6,m6].reduce(({subscribers:i,stores:e},t)=>{const n=new t;return{subscribers:[...i,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),p6={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:le.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:le.isMobile(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class v6 extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.videoConfig=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this.annotationsApi=void 0,this.prevIsid=void 0,this.isInited=!1,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 le.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new le.Subscription,this.graphMadePause=!1,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(t=>{console.log("%c player web component ","background:#77dd77;",`${t.component}`,t.message)}))}connectedCallback(){var e,t;if(this.isInited)return;const n=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,o=(t=this.getAttribute("stub-thumb-url"))!==null&&t!==void 0?t:void 0;this.svelteStubComponent=new Ug({target:this.playerContainer,props:{title:n,thumbUrl:o}})}disconnectedCallback(){var e,t,n,o,l;(e=this.annotationsApi)===null||e===void 0||e.destroy(),(t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),(n=this.svelteStubComponent)===null||n===void 0||n.$destroy(),this.subscription.unsubscribe(),(o=this.unsubscribePlayerPhaseSubscription)===null||o===void 0||o.call(this),(l=this.interactiveController)===null||l===void 0||l.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){var t;const n=(t=this.store)===null||t===void 0?void 0:t.ui.controls.disabledControls$;return(n==null?void 0:n.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){var o,l,r,s,a,c,f,h,p,b,g,_;if(!this.videoConfig)return;const{albumId:L,statPlace:E,statUserSalt:w,statAuthToken:P,statTrackCode:B,refreshStatAuthToken:N,preload:U,autoplay:Y,volume:W,muted:ne,fromTime:X,canRewindLive:ee,supportLink:T,showAds:te,adsSlotId:fe,adsParams:A={},adsPreviewParam:oe,interfaceLanguage:ae,logoClickable:ke,logoHidden:we,isMobile:Ee,isAudioDisabled:Pe,isLiveCatchUpMode:H,fullScreenTarget:G,failoverHosts:O,canDownload:ge,callbacks:Q,interactiveData:M,showThumbTimer:J,additionalButtons:Me=[],repeat:Te}=S1(this.videoConfig,t),{sources:Le,title:x,thumbUrl:ue,videoLogoUrl:ve,unitedVideoId:se,isClip:Fe=!1,duration:He,adsParams:st={},videoEpisodes:lt,previewThumbsData:ze,subtitles:mt,live:kt}=e,Re={...A,...st},Ne=this.getNextVideoInfo(),Wt={sources:Le,title:x,thumbUrl:ue,subtitles:mt,unitedVideoId:se,isClip:Fe,live:kt,albumId:L,statPlace:E,autoplay:Y,muted:ne,volume:W,fromTime:X,canRewindLive:ee,showAds:te,adsSlotId:fe,adsParams:Re,adsPreviewParam:oe,duration:He,logoClickable:ke,logoHidden:we,isMobile:Ee,repeat:Te,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Ne.nextVideoTitle,endScreenVideoThumb:Ne.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},At={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(Wt)}`});const ut=this.uiConfig.features.statistics&&!!se,{pid:et}=((l=(o=this.videoConfig)===null||o===void 0?void 0:o.interactiveData)===null||l===void 0?void 0:l.projectInfo)||{};ut&&new mo({movieId:se,albumId:L,place:E,trackCode:B,autoplay:(r=Y&&!this.interactiveController)!==null&&r!==void 0?r:!1,mobile:Ee,clip:Fe,...et&&!this.isInited&&{projectId:Number(et)}},{refreshAuthToken:N,userSalt:w,config:this.statistics.config,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new Ml(this.uiConfig.sentry,{version:Zo,env:o0},{movieId:se,albumId:L,place:E,autoplay:(s=Y&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:Ee,clip:Fe}),this.interactiveController&&((a=this.prevIsid)!==null&&a!==void 0||(this.prevIsid=(c=mo.getInstance())===null||c===void 0?void 0:c.oneStat.isid$.getValue())),this.statistics={...this.statistics,...mo.getInstance()},this.sentry={...this.sentry,...Ml.getInstance()};const Xe=!!M,$e=(f=this.interactiveController)===null||f===void 0?void 0:f.getInteractiveRanges(),Je=[];let Ze;if(Xe&&this.interactiveController){const rt=this.interactiveController.state,Ke=this.interactiveController.getHistoryState();rt.isInitialChapter$.getValue()&&Je.push(vt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||Je.push(vt.SEEK_TO_INTERACTIVE_BUTTON),Ke.hasPrevChapter$.getValue()||(rt.isInitialChapter$.getValue()?Ze="tooltip_interactive_go_back_disabled_first":rt.lastChapterChangeWasInitiatedByInteractive$.getValue()?Ze="tooltip_interactive_go_back_disabled":Ze="tooltip_interactive_go_back_disabled_limit",Je.push(vt.PLAY_PREV_CHAPTER_BUTTON))}const dt=()=>{var rt;this.isInited=!1,this.prevIsid=void 0;const Ke=(n==null?void 0:n.info.isEnded$.getValue())&&((rt=this.interactiveController)===null||rt===void 0?void 0:rt.state.isEndChapter$.getValue());Q.onReplayInteractiveVideo&&!Ke?Q.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=xg({player:n,interfaceLanguage:ae,videoId:se,isClip:Fe,isLiveCatchUpMode:H,isAudioDisabled:Pe,statAuthToken:P,callbacks:Q,webApi:At,videoEpisodes:lt,previewThumbsData:ze,canDownload:ge,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:Je,isInteractive:Xe,interactiveRanges:$e,replayInteractive:dt,playPrevChapterDisabledTooltip:Ze,hasInteractiveBranches:!!(!((p=(h=this.interactiveController)===null||h===void 0?void 0:h.getChapterBranches())===null||p===void 0)&&p.length),additionalButtons:this.uiConfig.features.additionalButtons?Me:[],looped:Te&&this.videoConfig.videos.length===1});const{stores:xe}=this.microStoresRoot=h6();this.subscription.add(this.store.state.currentFormat$.subscribe(rt=>{var Ke;return(Ke=Q==null?void 0:Q.onCurrentFormatChanged)===null||Ke===void 0?void 0:Ke.call(Q,rt)})),this.subscription.add(xe.interactiveControlsOpacity$.subscribe(rt=>{var Ke;rt!==null&&((Ke=this===null||this===void 0?void 0:this.interactiveController)===null||Ke===void 0||Ke.setDisabledControls(rt))})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(rt=>{var Ke;return(Ke=Q==null?void 0:Q.onThroughputEstimationChanged)===null||Ke===void 0?void 0:Ke.call(Q,rt)})),this.subscription.add(this.store.state.videoBitrate$.subscribe(rt=>{var Ke;return(Ke=Q==null?void 0:Q.onVideoBitrateChanged)===null||Ke===void 0?void 0:Ke.call(Q,rt)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(rt=>{var Ke;const tt=(Ke=this.store)===null||Ke===void 0?void 0:Ke.ui.controls.disabledControls$;tt&&(rt&&!tt.includes(Oo)&&tt.add(Oo),rt||tt.remove(Oo))})),this.initMediaSession(),this.interactiveController&&ut&&this.initInteractivesStatistics(),this.svelteRootComponent=new Rg({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Le,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:x,thumbUrl:ue,videoLogoUrl:ve,subtitles:mt,live:kt,preload:U,autoplay:Y,muted:ne,volume:W,fromTime:X,canRewindLive:ee,supportLink:T,showAds:te,adsSlotId:fe,adsParams:Re,adsPreviewParam:oe,duration:He,logoClickable:ke,logoHidden:we,isMobile:Ee,failoverHosts:O,fullScreenTarget:G,showMiniTimer:J,outerContainerRef:this.playerContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Ne.nextVideoTitle,endScreenVideoThumb:Ne.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,(_=(g=(b=this.videoConfig)===null||b===void 0?void 0:b.callbacks)===null||g===void 0?void 0:g.onInited)===null||_===void 0||_.call(g))}addPlayerInfoSubscriptions(){var e;if(this.isInited)return;const t=this.store,n=(e=this.videoConfig)===null||e===void 0?void 0:e.callbacks;n&&this.subscription.add(t.playerPhase.subscribe(l=>{var r;return(r=n.onPlayerPhaseChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.playbackState$.subscribe(l=>{var r;return(r=n.onPlaybackStateChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.isLive$.subscribe(l=>{var r;return(r=n.onIsLiveChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.isActiveLive$.subscribe(l=>{var r;return(r=n.onIsActiveLiveChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.isAudioAvailable$.subscribe(l=>{var r;return(r=n.onIsAudioAvailableChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.currentQuality$.subscribe(l=>{var r;return(r=n.onCurrentQualityChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.availableQualities$.subscribe(l=>{var r;return(r=n.onAvailableQualitiesChanged)===null||r===void 0?void 0:r.call(n,l.map(({value:s})=>s).filter(s=>s!==eo.AUTO))})).add(t.ui.isPictureInPictureActive$.subscribe(l=>{var r,s;return l?(r=n.onPiPEnter)===null||r===void 0?void 0:r.call(n):(s=n.onPiPExit)===null||s===void 0?void 0:s.call(n)}));const o=n==null?void 0:n.uiInfo;o&&this.subscription.add(t.ui.controlsVisible.subscribe(l=>{var r;return(r=o.onControlsVisibleChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.isMobile.subscribe(l=>{var r;return(r=o.onIsMobileChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.playerSize.subscribe(l=>{var r;return(r=o.onPlayerSizeChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.prevButton.subscribe(l=>{var r;return(r=o.onPrevButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.playButton.subscribe(l=>{var r;return(r=o.onPlayButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.replayButton.subscribe(l=>{var r;return(r=o.onReplayButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.nextButton.subscribe(l=>{var r;return(r=o.onNextButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.playPrevChapterButton.subscribe(l=>{var r;return(r=o.onPlayPrevChapterChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.seekToInteractiveButton.subscribe(l=>{var r;return(r=o.onSeekToInteractiveButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.interactiveGraphButton.subscribe(l=>{var r;return(r=o.onGraphButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.liveButton.subscribe(l=>{var r;return(r=o.onLiveButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.time.subscribe(l=>{var r;return(r=o.onTimeUpdateChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.episodes.subscribe(l=>{var r;return(r=o.onEpisodesChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.volume.subscribe(l=>{var r;return(r=o.onVolumeChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.subtitles.subscribe(l=>{var r;return(r=o.onSubtitlesChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.settings.subscribe(l=>{var r;return(r=o.onSettingsChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.fullscreen.subscribe(l=>{var r;return(r=o.onFullscreenChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.chromecast.subscribe(l=>{var r;return(r=o.onChromecastChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.vkLogo.subscribe(l=>{var r;return(r=o.onVkLogoChanged)===null||r===void 0?void 0:r.call(o,l)}))}playNextVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onNextVideoClick)try{t=this.videoConfig.callbacks.onNextVideoClick()}catch(n){this.log({message:"onNextVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onPrevVideoClick)try{t=this.videoConfig.callbacks.onPrevVideoClick()}catch(n){this.log({message:"onPrevVideoClick callback failed to execute"})}t&&(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){var n;if(!this.videoConfig)return;const o=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!o){this.log({message:"no next video"});return}this.isInited&&le.isNonNullable(o.unitedVideoId)&&this.store.actions.internal.nextMovie(o.unitedVideoId),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(o,{autoplay:t,fromTime:0},e)}playPrevChapter(){var e;(e=this.interactiveController)===null||e===void 0||e.playPrevChapter()}seekToInteractive(){var e;const t=(e=this.interactiveController)===null||e===void 0?void 0:e.getNextInteractiveStartTime();typeof t=="number"&&this.seekTime(t/1e3)}toggleGraph(){var e,t;if(!this.isInited)return;const n=this.store,{isEnded$:o,playbackState$:l,graphIsOpened$:r}=n.state,{disabledControls$:s}=n.ui.controls,a=it(o),c=it(l);it(r)?(r.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(nr),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",r.set(!0),(t=this.interactiveController)===null||t===void 0||t.toggleGraphView(!0),s.add(nr),!a&&this.graphMadePause&&this.pause())}async initInteractives(){var e,t,n,o;if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:l,EVENT_NAMES:r,CustomError:s}=await import("@vkontakte/videoplayer-interactive/es2018.cjs.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const a=(t=this.store)===null||t===void 0?void 0:t.interfaceLanguage$,c=a?it(a):this.videoConfig.interfaceLanguage,{projectInfo:f,historyApi:h,videoLoader:p}=this.videoConfig.interactiveData;this.interactiveController=new l({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:c,graph:this.uiConfig.features.interactiveGraph,projectInfo:f,historyApi:h,vkVideoLoader:p,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$:b}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(_=>{if(!this.isInited)return;const L=this.store;_?L.ui.controls.disabledControls$.remove(vt.SEEK_TO_INTERACTIVE_BUTTON):L.ui.controls.disabledControls$.add(vt.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(b.subscribe(_=>{this.store&&this.store.state.isInteractiveExpectation$.set(_)}));let g=!0;if(this.interactiveController.on(r.playerChanged,_=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={..._.config,title:(f==null?void 0:f.title)||_.config.title};const L=g?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(_.player,L),g&&(g=!1)}),this.interactiveController.on(r.interactives,({type:_,subjectId:L,actionType:E})=>{var w,P,B,N;if(!this.store)return;const U=b.getValue();if(_==="container-removed"&&this.store.actions.internal.completeInteractiveRange(L),_==="action-choice"&&E==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(N1)),_==="action-choice-canceled"){const Y=it(this.store.state.isPlaying$)||U;if(!((w=this.videoConfig)===null||w===void 0)&&w.isMobile&&Y){this.store.ui.interactiveHideMobileControls.set(!0);return}(N=(P=this.videoConfig)===null||P===void 0?void 0:(B=P.callbacks).onDisabledInteractiveClick)===null||N===void 0||N.call(B)}}),!((o=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||o===void 0)&&o.onInteractiveHistoryChanged){const _=this.interactiveController.getHistoryState();this.subscription.add(_.history$.subscribe(L=>{var E,w,P;L.length&&((P=(w=(E=this.videoConfig)===null||E===void 0?void 0:E.callbacks)===null||w===void 0?void 0:w.onInteractiveHistoryChanged)===null||P===void 0||P.call(w,L))}))}this.interactiveController.on(r.errors,_=>{this.log({message:_.toString()})})}catch(l){this.log({message:l.message})}}async initInteractivesStatistics(){var e,t;const{statSubscription:n,oneStat:o}=this.statistics;if(!(!n||!o||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:l}=await import("@vkontakte/videoplayer-interactive/es2018.cjs.js"),r={[l.GO_NEXT_BUTTON]:wt.InteractiveInterfaceClick.NEXT_BUTTON,[l.GO_NEXT_AREA]:wt.InteractiveInterfaceClick.NEXT_AREA,[l.WATCH_AGAIN]:wt.InteractiveInterfaceClick.WATCH_AGAIN,[l.OPEN_GRAPH]:wt.InteractiveInterfaceClick.GRAPH_SHOW,[l.CLOSE_GRAPH]:wt.InteractiveInterfaceClick.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new le.Subject;s.subscribe(f=>{var h,p;f in r?c.next(r[f]):(o==null||o.logError({errorType:"InteractiveVideosAction",fatal:!1}),(p=(h=this.sentry).report)===null||p===void 0||p.call(h,new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),n.add(o.attachToInteractive({click$:c,nextMovie$:a}))}catch(l){o==null||o.logError({errorType:"InteractiveVideos",fatal:!1}),(t=(e=this.sentry).report)===null||t===void 0||t.call(e,l,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,t={}){var n,o,l,r,s,a,c,f,h,p,b,g,_,L,E,w,P,B,N;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=S1(p6,le.cloneDeepWith(e,U=>U instanceof HTMLElement?U:void 0)),this.uiConfig=Jc((n=t.ui)!==null&&n!==void 0?n:{}),this.coreConfig=(o=t.core)!==null&&o!==void 0?o:{configName:[]},this.statistics={config:(l=t.statistics)!==null&&l!==void 0?l:{}},this.sentry={config:(r=this.uiConfig.sentry)!==null&&r!==void 0?r:{}},le.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(s=this.videoConfig.isMediaSessionEnabled)!==null&&s!==void 0?s:!0),le.isNonNullable(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=(c=(a=this.uiConfig.features.pip)!==null&&a!==void 0?a:this.videoConfig.isPictureInPictureEnabled)!==null&&c!==void 0?c:!0,this.uiConfig.features.dpip=(h=(f=this.uiConfig.features.dpip)!==null&&f!==void 0?f:this.videoConfig.isPictureInPictureEnabled)!==null&&h!==void 0?h:!0),this.videoConfig.isMobile=(p=this.uiConfig.isMobile)!==null&&p!==void 0?p:this.videoConfig.isMobile,(B=this.videoConfig).autoplay&&(B.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(b=this.uiConfig.ads.enable)!==null&&b!==void 0?b:this.videoConfig.showAds,this.videoConfig.adsSlotId=(g=this.uiConfig.ads.slot)!==null&&g!==void 0?g:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(_=this.uiConfig.ads.preview)!==null&&_!==void 0?_:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((L=this.uiConfig.showLogo)!==null&&L!==void 0?L:!this.videoConfig.logoHidden),(N=this.videoConfig).canRewindLive&&(N.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(E=this.videoConfig.supportLink)!==null&&E!==void 0?E:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=u6.getLatestSupportedVersion():this.pictureInPictureApi=new Ul),this.mediaSessionApi=this.uiConfig.features.mediaSession?new $g:void 0,this.annotationsApi=this.uiConfig.features.annotations?new f6:void 0,(w=this.svelteStubComponent)===null||w===void 0||w.$destroy(),(P=this.svelteRootComponent)===null||P===void 0||P.$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]),a6(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){var t;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 n=this.getNextVideoInfo();(t=this.svelteRootComponent)===null||t===void 0||t.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,t;this.mediaSessionApi&&((e=this.unsubscribePlayerPhaseSubscription)===null||e===void 0||e.call(this),this.unsubscribePlayerPhaseSubscription=(t=this.store)===null||t===void 0?void 0:t.playerPhase.subscribe(n=>{n===Be.Video?this.setupMediaSessionForVideo():n===Be.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(){var e,t;this.isControlDisabled(vt.PLAY_BUTTON)||!((e=this.store)===null||e===void 0)&&e.playerPhase.is(Be.WaitingLive)||(this.log({message:"play"}),(t=this.svelteRootComponent)===null||t===void 0||t.play())}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,t;if(!this.videoConfig)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.videoConfig.videos[0];n&&((t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),this.createPlayer(n))}setMuted(e){var t;this.log({message:`set muted, muted: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setMuted(e)}setVolume(e){var t;this.log({message:`set volume, volume: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setVolume(e)}setRepeat(e){var t;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(t=this.svelteRootComponent)===null||t===void 0||t.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var t;this.isControlDisabled(vt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekTime(e))}seekEpisodeStartTime(e){var t;this.log({message:`seek episode start time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekEpisodeStartTime(e)}setPlaybackRate(e){var t;this.log({message:`set playback rate to: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setPlaybackRate(e)}setAutoQualityLimits(e){var t,n,o;this.log({message:`set auto quality limitation. Max: ${(t=e.max)!==null&&t!==void 0?t:"none"}. Min: ${(n=e.min)!==null&&n!==void 0?n:"none"}`}),(o=this.svelteRootComponent)===null||o===void 0||o.setAutoQualityLimits(e)}addLanguage(e){var t;(t=this.store)===null||t===void 0||t.actions.internal.addLanguage(e)}async setLanguage(e){var t;await((t=this.store)===null||t===void 0?void 0:t.actions.internal.setLanguage(e))}setLiveStart(e){var t,n;this.log({message:"live started"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingLive(!1),(n=this.svelteRootComponent)===null||n===void 0||n.initVideo(e),this.play()}setWaitRecord(){var e,t;this.log({message:"post live"}),(e=this.store)===null||e===void 0||e.actions.internal.setWaitingRecord(!0),(t=this.store)===null||t===void 0||t.destroy()}setLiveEnd(e){var t,n;this.log({message:"live ended"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingRecord(!1),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){var e,t;return(t=(e=mo.getInstance())===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&t!==void 0?t:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const g6=()=>{window.customElements.define("vk-video-player",v6)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return nt.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return nt.VideoQuality}});Object.defineProperty(exports,"InterfaceLanguage",{enumerable:!0,get:function(){return le.InterfaceLanguage}});Object.defineProperty(exports,"VKNumericLanguage",{enumerable:!0,get:function(){return le.VKNumericLanguage}});Object.defineProperty(exports,"loadVKLangPack",{enumerable:!0,get:function(){return le.loadVKLangPack}});exports.VERSION=Zo;exports.registerPlayerWebComponent=g6;
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 l_(i){let e,t,n;function o(l){i[56](l)}let r={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&&(r.videoContainer=i[33]),e=new Gb({props:r}),Se.push(()=>We(e,"videoContainer",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&1&&(a.store=l[0]),s[0]&2&&(a.title=l[1]),s[0]&4&&(a.thumbUrl=l[2]),s[0]&8&&(a.videoLogoUrl=l[3]),s[0]&16&&(a.interactiveContainer=l[4]),s[0]&32&&(a.live=l[5]),s[0]&64&&(a.autoplay=l[6]),s[0]&128&&(a.canRewindLive=l[7]),s[0]&256&&(a.showAds=l[8]),s[0]&512&&(a.adsSlotId=l[9]),s[0]&1024&&(a.adsParams=l[10]),s[0]&2048&&(a.adsPreviewParam=l[11]),s[0]&4096&&(a.duration=l[12]),s[0]&8192&&(a.logoClickable=l[13]),s[0]&16384&&(a.logoHidden=l[14]),s[0]&65536&&(a.showNextPrevButtons=l[16]),s[0]&131072&&(a.nextButtonActive=l[17]),s[0]&262144&&(a.prevButtonActive=l[18]),s[0]&524288&&(a.endScreenVideoTitle=l[19]),s[0]&1048576&&(a.endScreenVideoThumb=l[20]),s[0]&2097152&&(a.isOneVideoPlaylist=l[21]),s[0]&4194304&&(a.supportLink=l[22]),s[0]&8388608&&(a.outerContainerRef=l[23]),s[0]&16777216&&(a.fullScreenTarget=l[24]),s[0]&33554432&&(a.showMiniTimer=l[25]),s[1]&8&&(a.playerStarted=l[34]),s[0]&67108864&&(a.playNextVideo=l[26]),s[0]&134217728&&(a.playPrevVideo=l[27]),s[0]&268435456&&(a.repeatPlaylist=l[28]),s[0]&536870912&&(a.seekToInteractive=l[29]),s[0]&1073741824&&(a.toggleGraph=l[30]),s[1]&1&&(a.playPrevChapter=l[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=l[33],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function r_(i){let e,t,n;function o(l){i[55](l)}let r={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&&(r.videoContainer=i[33]),e=new n_({props:r}),Se.push(()=>We(e,"videoContainer",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&1&&(a.store=l[0]),s[0]&4&&(a.thumbUrl=l[2]),s[0]&8&&(a.videoLogoUrl=l[3]),s[0]&16&&(a.interactiveContainer=l[4]),s[0]&32&&(a.live=l[5]),s[0]&64&&(a.autoplay=l[6]),s[0]&128&&(a.canRewindLive=l[7]),s[0]&256&&(a.showAds=l[8]),s[0]&512&&(a.adsSlotId=l[9]),s[0]&1024&&(a.adsParams=l[10]),s[0]&2048&&(a.adsPreviewParam=l[11]),s[0]&4096&&(a.duration=l[12]),s[0]&8192&&(a.logoClickable=l[13]),s[0]&16384&&(a.logoHidden=l[14]),s[0]&65536&&(a.showNextPrevButtons=l[16]),s[0]&131072&&(a.nextButtonActive=l[17]),s[0]&262144&&(a.prevButtonActive=l[18]),s[0]&524288&&(a.endScreenVideoTitle=l[19]),s[0]&1048576&&(a.endScreenVideoThumb=l[20]),s[0]&2097152&&(a.isOneVideoPlaylist=l[21]),s[0]&4194304&&(a.supportLink=l[22]),s[0]&8388608&&(a.outerContainerRef=l[23]),s[0]&16777216&&(a.fullScreenTarget=l[24]),s[0]&33554432&&(a.showMiniTimer=l[25]),s[1]&8&&(a.playerStarted=l[34]),s[0]&67108864&&(a.playNextVideo=l[26]),s[0]&134217728&&(a.playPrevVideo=l[27]),s[0]&268435456&&(a.repeatPlaylist=l[28]),s[0]&536870912&&(a.seekToInteractive=l[29]),s[0]&1073741824&&(a.toggleGraph=l[30]),s[1]&1&&(a.playPrevChapter=l[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=l[33],je(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function s_(i){let e,t,n,o;const r=[r_,l_],l=[];function s(a,c){return a[15]?0:1}return t=s(i),n=l[t]=r[t](i),{c(){e=T("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){E(a,e,c),l[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?l[t].p(a,c):(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),n=l[t],n?n.p(a,c):(n=l[t]=r[t](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&&P(e),l[t].d()}}}function a_(i,e,t){let{sources:n}=e,{store:o}=e,{microStoresRoot:r}=e,{uiConfig:l}=e,{title:s}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:m}=e,{live:h}=e,{preload:b}=e,{autoplay:v}=e,{volume:y=void 0}=e,{muted:_=void 0}=e,{fromTime:S}=e,{canRewindLive:k}=e,{showAds:w}=e,{adsSlotId:R=void 0}=e,{adsParams:X=void 0}=e,{adsPreviewParam:V=void 0}=e,{duration:K=void 0}=e,{logoClickable:se}=e,{logoHidden:ne}=e,{isMobile:O}=e,{showNextPrevButtons:$=!1}=e,{nextButtonActive:C=!1}=e,{prevButtonActive:D=!1}=e,{endScreenVideoTitle:re=void 0}=e,{endScreenVideoThumb:L=void 0}=e,{isOneVideoPlaylist:ae=!1}=e,{supportLink:pe}=e,{outerContainerRef:ge=void 0}=e,{fullScreenTarget:ce=void 0}=e,{failoverHosts:Y=void 0}=e,{showMiniTimer:fe=!1}=e,{playNextVideo:ze=ie.noop}=e,{playPrevVideo:de=ie.noop}=e,{repeatPlaylist:Le=ie.noop}=e,{seekToInteractive:Pe=ie.noop}=e,{toggleGraph:ue=ie.noop}=e,{playPrevChapter:Ee=ie.noop}=e;const{subscribers:A,stores:oe}=r;s0(l);const Me=pn(),Ce=o.ui.debugPanelVisible,Te=o.ui.playerSize;let le,Q=null,U=!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}),v0(o,oe);const Ne=(me=!1)=>{t(34,U=!0),me?o.actions.external.firstStart(w):o.actions.internal.firstStart(w)};function et(me){var Qe;const At=n||me;At&&o.initVideo({container:le,sources:At,failoverHosts:Y,subtitles:m});const it=ie.safeStorage.get($l)==="true";Ce.set(it),S>0&&o.actions.external.seekTime(S);const Tt=O?Me.volumeDefault:(Qe=y!=null?y:A1())!=null?Qe:Me.volumeDefault,wt=_!=null?_:k0();if(o.actions.external.setVolume(Tt),o.actions.external.setMuted(wt),o.getAdmanWrapper().setInitialVolume(wt?0:Tt),Me.features.trafficSaving){const Ue=C0();Ue&&o.actions.internal.setTrafficSavingEnabled(Ue)}const ht=y0(o.videoId);ht&&o.actions.internal.setQuality(ht),o.ui.isAutoplay.set(v),v?Ne():b&&Me.features.preload&&o.actions.internal.preload()}const rt=me=>{if(window.ResizeObserver){let At,it;Q=new ResizeObserver(ie.throttleFn(Tt=>{const wt=Tt[0];if(wt){if(wt.contentBoxSize){const ht=Array.isArray(wt.contentBoxSize)?wt.contentBoxSize[0]:wt.contentBoxSize;At=ht.inlineSize,it=ht.blockSize}else wt.contentRect&&(At=wt.contentRect.width,it=wt.contentRect.height);Te.set({width:At,height:it})}},v1)),Q.observe(me)}Te.set({width:me.clientWidth,height:me.clientHeight})};mn(()=>{rt(le);const me=A.map(it=>it.init(o,oe));if((h==null?void 0:h.status)==="upcoming"||(h==null?void 0:h.status)==="waiting"){o.actions.internal.setWaitingLive(!0);return}if(((h==null?void 0:h.status)==="finished"||(h==null?void 0:h.status)==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return et(),()=>{Q==null||Q.disconnect(),me.forEach(it=>it.unsubscribe()),o.destroy()}});function Ze(){U?o.actions.external.play():Ne(!0)}function Ve(){o.actions.external.pause()}function Je(me){O||o.actions.external.setMuted(me)}function pt(me){O||me>=0&&me<=1&&o.actions.external.setVolume(me)}function at(me){o.actions.internal.seekTime(me,kt.SeekAction.UNKNOWN)}function Ie(me){o.actions.external.seekEpisodeStartTime(me)}function qt(){o.actions.external.returnFocusToEpisodes()}function ft(me){o.actions.external.setPlaybackRate(me)}function It(me){o.actions.external.setAutoQualityLimits(me)}function Rt(me){le=me,t(33,le)}function Vt(me){le=me,t(33,le)}return i.$$set=me=>{"sources"in me&&t(37,n=me.sources),"store"in me&&t(0,o=me.store),"microStoresRoot"in me&&t(38,r=me.microStoresRoot),"uiConfig"in me&&t(39,l=me.uiConfig),"title"in me&&t(1,s=me.title),"thumbUrl"in me&&t(2,a=me.thumbUrl),"videoLogoUrl"in me&&t(3,c=me.videoLogoUrl),"interactiveContainer"in me&&t(4,f=me.interactiveContainer),"subtitles"in me&&t(40,m=me.subtitles),"live"in me&&t(5,h=me.live),"preload"in me&&t(41,b=me.preload),"autoplay"in me&&t(6,v=me.autoplay),"volume"in me&&t(42,y=me.volume),"muted"in me&&t(43,_=me.muted),"fromTime"in me&&t(44,S=me.fromTime),"canRewindLive"in me&&t(7,k=me.canRewindLive),"showAds"in me&&t(8,w=me.showAds),"adsSlotId"in me&&t(9,R=me.adsSlotId),"adsParams"in me&&t(10,X=me.adsParams),"adsPreviewParam"in me&&t(11,V=me.adsPreviewParam),"duration"in me&&t(12,K=me.duration),"logoClickable"in me&&t(13,se=me.logoClickable),"logoHidden"in me&&t(14,ne=me.logoHidden),"isMobile"in me&&t(15,O=me.isMobile),"showNextPrevButtons"in me&&t(16,$=me.showNextPrevButtons),"nextButtonActive"in me&&t(17,C=me.nextButtonActive),"prevButtonActive"in me&&t(18,D=me.prevButtonActive),"endScreenVideoTitle"in me&&t(19,re=me.endScreenVideoTitle),"endScreenVideoThumb"in me&&t(20,L=me.endScreenVideoThumb),"isOneVideoPlaylist"in me&&t(21,ae=me.isOneVideoPlaylist),"supportLink"in me&&t(22,pe=me.supportLink),"outerContainerRef"in me&&t(23,ge=me.outerContainerRef),"fullScreenTarget"in me&&t(24,ce=me.fullScreenTarget),"failoverHosts"in me&&t(45,Y=me.failoverHosts),"showMiniTimer"in me&&t(25,fe=me.showMiniTimer),"playNextVideo"in me&&t(26,ze=me.playNextVideo),"playPrevVideo"in me&&t(27,de=me.playPrevVideo),"repeatPlaylist"in me&&t(28,Le=me.repeatPlaylist),"seekToInteractive"in me&&t(29,Pe=me.seekToInteractive),"toggleGraph"in me&&t(30,ue=me.toggleGraph),"playPrevChapter"in me&&t(31,Ee=me.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(O)},[o,s,a,c,f,h,v,k,w,R,X,V,K,se,ne,O,$,C,D,re,L,ae,pe,ge,ce,fe,ze,de,Le,Pe,ue,Ee,at,le,U,Me,Ne,n,r,l,m,b,y,_,S,Y,et,Ze,Ve,Je,pt,Ie,qt,ft,It,Rt,Vt]}class u_ extends ke{constructor(e){super(),ye(this,e,a_,s_,we,{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},o_,[-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 c_(i){let e,t;return{c(){e=B("svg"),t=B("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){E(n,e,o),p(e,t)},p(n,[o]){o&1&&u(t,"fill",n[0])},i:W,o:W,d(n){n&&P(e)}}}function f_(i,e,t){let{isWhite:n=!1}=e,o;return i.$$set=r=>{"isWhite"in r&&t(1,n=r.isWhite)},i.$$.update=()=>{i.$$.dirty&2&&t(0,o=n?"#fff":"#909499")},[o,n]}class d_ extends ke{constructor(e){super(),ye(this,e,f_,c_,we,{isWhite:1})}}function m_(i){qe(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 l1(i){let e,t;return{c(){e=T("div"),t=Fe(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o&1&&$e(t,n[0])},d(n){n&&P(e)}}}function r1(i){let e,t;return e=new d_({props:{isWhite:!!i[1]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isWhite=!!n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function p_(i){let e,t,n,o,r=i[0]&&l1(i),l=(!i[0]||!i[1])&&r1(i);return{c(){e=T("div"),r&&r.c(),t=N(),l&&l.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(s,a){E(s,e,a),r&&r.m(e,null),p(e,t),l&&l.m(e,null),o=!0},p(s,[a]){s[0]?r?r.p(s,a):(r=l1(s),r.c(),r.m(e,t)):r&&(r.d(1),r=null),!s[0]||!s[1]?l?(l.p(s,a),a&3&&d(l,1)):(l=r1(s),l.c(),d(l,1),l.m(e,null)):l&&(he(),g(l,1,1,()=>{l=null}),ve()),(!o||a&2&&n!==(n=s[1]?`background-image: url('${s[1]}')`:""))&&u(e,"style",n)},i(s){o||(d(l),o=!0)},o(s){g(l),o=!1},d(s){s&&P(e),r&&r.d(),l&&l.d()}}}function h_(i,e,t){let{title:n}=e,{thumbUrl:o}=e;return i.$$set=r=>{"title"in r&&t(0,n=r.title),"thumbUrl"in r&&t(1,o=r.thumbUrl)},[n,o]}class v_ extends ke{constructor(e){super(),ye(this,e,h_,p_,we,{title:0,thumbUrl:1},m_)}}class g_{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(o){throw new Error(`The media session action "${t}" is not supported yet.`)}}}function b_(i){let e,t,n,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("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(r,l){E(r,e,l),p(e,t),p(t,n),p(t,o)},p:W,i:W,o:W,d(r){r&&P(e)}}}class __ extends ke{constructor(e){super(),ye(this,e,null,b_,we,{})}}function w_(i){qe(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 y_(i){let e,t,n,o,r,l,s;return n=new __({}),{c(){e=T("div"),t=T("div"),q(n.$$.fragment),o=N(),r=T("span"),l=Fe(i[0]),u(t,"class","dummy-image v-1pbsod4"),M(t,"desktop",!i[1]),u(r,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),M(e,"is-pip-api",i[2])},m(a,c){E(a,e,c),p(e,t),F(n,t,null),p(e,o),p(e,r),p(r,l),s=!0},p(a,[c]){(!s||c&2)&&M(t,"desktop",!a[1]),(!s||c&1)&&$e(l,a[0])},i(a){s||(d(n.$$.fragment,a),s=!0)},o(a){g(n.$$.fragment,a),s=!1},d(a){a&&P(e),H(n)}}}function k_(i,e,t){let n,o;const r=Pt(),l=!!r.webApi.pictureInPictureApi,s=r.interfaceLanguage$;z(i,s,f=>t(5,n=f));const a=r.ui.isMobile;z(i,a,f=>t(1,o=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&G("pip_dummy_title"))},[c,o,l,s,a,n]}class S_ extends ke{constructor(e){super(),ye(this,e,k_,y_,we,{},w_)}}const C_=460,P_=280;class pf{constructor(){this.info={isActive$:new ie.ValueSubject(!1),type:En.DocumentPictureInPicture}}isSupported(){const e=ie.getCurrentBrowser().browser===ie.CurrentClientBrowser.Yandex,{isEmbed:t}=ie.detectEmbed();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(){var e,t;if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:C_,height:P_,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
51
+ `),o=document.createElement("style");o.textContent=n;const r=this.createStretchedContainer(),l=r.attachShadow({mode:"open"});l.append(o),l.append(this.playerDomElement),this.playerDummyElement=new S_({target:this.playerParentShadowRoot,context:this.svelteContext}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(r),this.info.isActive$.next(!0),(t=this.pipWindow)===null||t===void 0||t.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=>{var t;(t=documentPictureInPicture.window)===null||t===void 0||t.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function T_(i){return i instanceof pf}class E_{static getLatestSupportedVersion(){const e=new pr,t=new pf;if(t.isSupported())return t;if(e.isSupported())return e}}function s1(i,e){var t,n;const o=new Set([...Object.keys(i),...Object.keys(e)]),r={};for(const l of o)r[l]=(n=(t=e[l])!==null&&t!==void 0?t:i[l])!==null&&n!==void 0?n:void 0;return r}const A_="Inner error. Unexpectedly root annotation container null reference exception",L_="Annotation with such name already exists",I_="Annotation with such name does not exist";class Ql extends Error{constructor(e){super(e),this.name="AnnotationError"}}const V_="1",M_=100;class B_{constructor(e){this.annotations=new Map,this.subscriptions=new ie.Subscription,this.rootAnnotationsContainer=e;const t=ie.throttleFn(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},M_);this.subscriptions.add(ie.observeElementSize(this.rootAnnotationsContainer).subscribe(({width:n,height:o})=>{this.playerSize={width:n,height:o},t()})),this.mutationObserver=new MutationObserver(t),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,t){var n;if(!this.rootAnnotationsContainer)throw new Ql(A_);if(this.annotations.has(e))throw new Ql(L_);t.style.zIndex=(n=t.style.zIndex)!==null&&n!==void 0?n:V_,t.style.position="absolute",this.rootAnnotationsContainer.append(t),this.annotations.set(e,t)}get(e){const t=this.annotations.get(e);if(!t)throw new Ql(I_);return t}remove(e){const t=this.get(e);this.annotations.delete(e)&&t.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,t,n){const o=e.offsetTop,r=e.offsetLeft,l=e.offsetWidth,s=e.offsetHeight;return o<0||r<0||r+l>t||o+s>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class Tr{init(e,t){return ie.assertNonNullable(e),ie.assertNonNullable(t),this.subscription=new ie.Subscription,this.subscription}}class N_ extends Tr{constructor(){super(...arguments),this.stateName="fakeIsPlaying$",this.state$={...Be(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(r=>{this.state$.set(r?!0:null)})),n}}class R_ extends Tr{constructor(){super(...arguments),this.stateName="interactiveControlsOpacity$",this.state$={...Be(null),toggle:()=>this.state$.update(e=>!e)}}init(e,t){const n=super.init(e,t),{fakeIsPlaying$:o}=t,{isInteractiveExpectation$:r,isPlaying$:l}=e.state,{controlsVisible:s,isMobile:a}=e.ui,c=Xe(a),f=()=>c&&Xe(s);return n.add(s.subscribe(m=>{if(!c)return;const h=Xe(o);Xe(l)?this.state$.set(m):h!==null&&this.state$.set(!h||m)})),n.add(l.subscribe(m=>{this.state$.set(!m||f())})),n.add(o.subscribe(m=>{if(m===null)return;const h=Xe(r);if(f()){this.state$.set(!0);return}h&&this.state$.set(!m)})),n}}class O_ extends Tr{constructor(){super(...arguments),this.stateName="seekToInteractiveDisabledTooltip$",this.state$=Be("tooltip_chapter_without_interactive")}init(e,t){const n=super.init(e,t);return n.add(e.state.interactiveEpisodes$.subscribe(o=>{o.length&&(o.every(r=>r.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),n}}const D_=()=>[N_,R_,O_].reduce(({subscribers:i,stores:e},t)=>{const n=new t;return{subscribers:[...i,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),z_={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:ie.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:ie.isMobile(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class F_ extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.videoConfig=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this.annotationsApi=void 0,this.prevIsid=void 0,this.isInited=!1,this.logger=new ie.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new ie.Subscription,this.graphMadePause=!1,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(t=>{console.log("%c player web component ","background:#77dd77;",`${t.component}`,t.message)}))}connectedCallback(){var e,t;if(this.isInited)return;this.initPlayerRootContainers();const n=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,o=(t=this.getAttribute("stub-thumb-url"))!==null&&t!==void 0?t:void 0;this.svelteStubComponent=new v_({target:this.playerContainer,props:{title:n,thumbUrl:o}})}disconnectedCallback(){var e,t,n,o,r;(e=this.annotationsApi)===null||e===void 0||e.destroy(),(t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),(n=this.svelteStubComponent)===null||n===void 0||n.$destroy(),this.subscription.unsubscribe(),(o=this.unsubscribePlayerPhaseSubscription)===null||o===void 0||o.call(this),(r=this.interactiveController)===null||r===void 0||r.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){var t;const n=(t=this.store)===null||t===void 0?void 0:t.ui.controls.disabledControls$;return(n==null?void 0:n.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){var o,r,l,s,a,c,f,m,h,b,v,y;if(!this.videoConfig)return;const{albumId:_,statPlace:S,statUserSalt:k,statAuthToken:w,statTrackCode:R,refreshStatAuthToken:X,preload:V,autoplay:K,volume:se,muted:ne,fromTime:O,canRewindLive:$,supportLink:C,showAds:D,adsSlotId:re,adsParams:L={},adsPreviewParam:ae,interfaceLanguage:pe,logoClickable:ge,logoHidden:ce,isMobile:Y,isAudioDisabled:fe,isLiveCatchUpMode:ze,fullScreenTarget:de,failoverHosts:Le,canDownload:Pe,callbacks:ue,interactiveData:Ee,showThumbTimer:A,additionalButtons:oe=[],repeat:Me}=s1(this.videoConfig,t),{sources:Ce,title:Te,thumbUrl:le,videoLogoUrl:Q,unitedVideoId:U,isClip:Ne=!1,duration:et,adsParams:rt={},videoEpisodes:Ze,previewThumbsData:Ve,subtitles:Je,live:pt}=e,at={...L,...rt},Ie=this.getNextVideoInfo(),qt={sources:Ce,title:Te,thumbUrl:le,subtitles:Je,unitedVideoId:U,isClip:Ne,live:pt,albumId:_,statPlace:S,autoplay:K,muted:ne,volume:se,fromTime:O,canRewindLive:$,showAds:D,adsSlotId:re,adsParams:at,adsPreviewParam:ae,duration:et,logoClickable:ge,logoHidden:ce,isMobile:Y,repeat:Me,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Ie.nextVideoTitle,endScreenVideoThumb:Ie.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},ft={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(qt)}`});const It=this.uiConfig.features.statistics&&!!U,{pid:Rt}=((r=(o=this.videoConfig)===null||o===void 0?void 0:o.interactiveData)===null||r===void 0?void 0:r.projectInfo)||{};It&&new Lo({movieId:U,albumId:_,place:S,trackCode:R,autoplay:(l=K&&!this.interactiveController)!==null&&l!==void 0?l:!1,mobile:Y,clip:Ne,...Rt&&!this.isInited&&{projectId:Number(Rt)}},{refreshAuthToken:X,userSalt:k,config:this.statistics.config,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new nr(this.uiConfig.sentry,{version:hl,env:h0},{movieId:U,albumId:_,place:S,autoplay:(s=K&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:Y,clip:Ne}),this.interactiveController&&((a=this.prevIsid)!==null&&a!==void 0||(this.prevIsid=(c=Lo.getInstance())===null||c===void 0?void 0:c.oneStat.isid$.getValue())),this.statistics={...this.statistics,...Lo.getInstance()},this.sentry={...this.sentry,...nr.getInstance()};const me=!!Ee,At=(f=this.interactiveController)===null||f===void 0?void 0:f.getInteractiveRanges(),it=[];let Tt="tooltip_interactive_go_back_disabled_first";if(me&&this.interactiveController){const Qe=this.interactiveController.state.isInitialChapter$.getValue(),Ue=this.interactiveController.getHistoryState();Qe&&it.push(ct.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||it.push(ct.SEEK_TO_INTERACTIVE_BUTTON),Ue.hasPrevChapter$.getValue()||(it.push(ct.PLAY_PREV_CHAPTER_BUTTON),Qe||(Ue.isGoBackLimited$.getValue()?Tt="tooltip_interactive_go_back_disabled_limit":Tt="tooltip_interactive_go_back_disabled"))}const wt=()=>{var Qe;this.isInited=!1,this.prevIsid=void 0;const Ue=(n==null?void 0:n.info.isEnded$.getValue())&&((Qe=this.interactiveController)===null||Qe===void 0?void 0:Qe.state.isEndChapter$.getValue());ue.onReplayInteractiveVideo&&!Ue?ue.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=V5({player:n,interfaceLanguage:pe,videoId:U,isClip:Ne,isLiveCatchUpMode:ze,isAudioDisabled:fe,statAuthToken:w,callbacks:ue,webApi:ft,videoEpisodes:Ze,previewThumbsData:Ve,canDownload:Pe,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:it,isInteractive:me,interactiveRanges:At,replayInteractive:wt,playPrevChapterDisabledTooltip:Tt,hasInteractiveBranches:!!(!((h=(m=this.interactiveController)===null||m===void 0?void 0:m.getChapterBranches())===null||h===void 0)&&h.length),additionalButtons:this.uiConfig.features.additionalButtons?oe:[],looped:Me&&this.videoConfig.videos.length===1});const{stores:ht}=this.microStoresRoot=D_();this.subscription.add(this.store.state.currentFormat$.subscribe(Qe=>{var Ue;return(Ue=ue==null?void 0:ue.onCurrentFormatChanged)===null||Ue===void 0?void 0:Ue.call(ue,Qe)})),this.subscription.add(ht.interactiveControlsOpacity$.subscribe(Qe=>{var Ue;Qe!==null&&((Ue=this===null||this===void 0?void 0:this.interactiveController)===null||Ue===void 0||Ue.setDisabledControls(Qe))})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Qe=>{var Ue;return(Ue=ue==null?void 0:ue.onThroughputEstimationChanged)===null||Ue===void 0?void 0:Ue.call(ue,Qe)})),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe(Qe=>{var Ue;return(Ue=ue==null?void 0:ue.onTrafficSavingEnabledChanged)===null||Ue===void 0?void 0:Ue.call(ue,Qe)})),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe(Qe=>{var Ue;return(Ue=ue==null?void 0:ue.onCurrentPlaybackRateChanged)===null||Ue===void 0?void 0:Ue.call(ue,Qe)})),this.subscription.add(this.store.state.volume$.subscribe(Qe=>{var Ue;return(Ue=ue==null?void 0:ue.onVolumeChange)===null||Ue===void 0?void 0:Ue.call(ue,Qe)})),this.subscription.add(this.store.state.muted$.subscribe(Qe=>{var Ue,yt;return Qe?(Ue=ue==null?void 0:ue.onMute)===null||Ue===void 0?void 0:Ue.call(ue):(yt=ue==null?void 0:ue.onUnmute)===null||yt===void 0?void 0:yt.call(ue)})),this.subscription.add(this.store.state.videoBitrate$.subscribe(Qe=>{var Ue;return(Ue=ue==null?void 0:ue.onVideoBitrateChanged)===null||Ue===void 0?void 0:Ue.call(ue,Qe)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Qe=>{var Ue;const yt=(Ue=this.store)===null||Ue===void 0?void 0:Ue.ui.controls.disabledControls$;yt&&(Qe&&!yt.includes(al)&&yt.add(al),Qe||yt.remove(al))})),this.initMediaSession(),this.interactiveController&&It&&this.initInteractivesStatistics(),this.svelteRootComponent=new u_({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Ce,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:Te,thumbUrl:le,videoLogoUrl:Q,subtitles:Je,live:pt,preload:V,autoplay:K,muted:ne,volume:se,fromTime:O,canRewindLive:$,supportLink:C,showAds:D,adsSlotId:re,adsParams:at,adsPreviewParam:ae,duration:et,logoClickable:ge,logoHidden:ce,isMobile:Y,failoverHosts:Le,fullScreenTarget:de,showMiniTimer:A,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Ie.nextVideoTitle,endScreenVideoThumb:Ie.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,(y=(v=(b=this.videoConfig)===null||b===void 0?void 0:b.callbacks)===null||v===void 0?void 0:v.onInited)===null||y===void 0||y.call(v))}addPlayerInfoSubscriptions(){var e;if(this.isInited)return;const t=this.store,n=(e=this.videoConfig)===null||e===void 0?void 0:e.callbacks;n&&this.subscription.add(t.playerPhase.subscribe(r=>{var l;return(l=n.onPlayerPhaseChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.playbackState$.subscribe(r=>{var l;return(l=n.onPlaybackStateChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.isLive$.subscribe(r=>{var l;return(l=n.onIsLiveChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.isActiveLive$.subscribe(r=>{var l;return(l=n.onIsActiveLiveChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.isAudioAvailable$.subscribe(r=>{var l;return(l=n.onIsAudioAvailableChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.currentQuality$.subscribe(r=>{var l;return(l=n.onCurrentQualityChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.availableQualities$.subscribe(r=>{var l;return(l=n.onAvailableQualitiesChanged)===null||l===void 0?void 0:l.call(n,r.map(({value:s})=>s).filter(s=>s!==bo.AUTO))})).add(t.ui.isPictureInPictureActive$.subscribe(r=>{var l,s;return r?(l=n.onPiPEnter)===null||l===void 0?void 0:l.call(n):(s=n.onPiPExit)===null||s===void 0?void 0:s.call(n)}));const o=n==null?void 0:n.uiInfo;o&&this.subscription.add(t.ui.controlsVisible.subscribe(r=>{var l;return(l=o.onControlsVisibleChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.isMobile.subscribe(r=>{var l;return(l=o.onIsMobileChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.playerSize.subscribe(r=>{var l;return(l=o.onPlayerSizeChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.prevButton.subscribe(r=>{var l;return(l=o.onPrevButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.playButton.subscribe(r=>{var l;return(l=o.onPlayButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.replayButton.subscribe(r=>{var l;return(l=o.onReplayButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.nextButton.subscribe(r=>{var l;return(l=o.onNextButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.playPrevChapterButton.subscribe(r=>{var l;return(l=o.onPlayPrevChapterChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.seekToInteractiveButton.subscribe(r=>{var l;return(l=o.onSeekToInteractiveButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.interactiveGraphButton.subscribe(r=>{var l;return(l=o.onGraphButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.liveButton.subscribe(r=>{var l;return(l=o.onLiveButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.time.subscribe(r=>{var l;return(l=o.onTimeUpdateChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.episodes.subscribe(r=>{var l;return(l=o.onEpisodesChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.subtitles.subscribe(r=>{var l;return(l=o.onSubtitlesChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.settings.subscribe(r=>{var l;return(l=o.onSettingsChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.fullscreen.subscribe(r=>{var l;return(l=o.onFullscreenChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.chromecast.subscribe(r=>{var l;return(l=o.onChromecastChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.pip.subscribe(r=>{var l;return(l=o.onPipChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.vkLogo.subscribe(r=>{var l;return(l=o.onVkLogoChanged)===null||l===void 0?void 0:l.call(o,r)}))}playNextVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onNextVideoClick)try{t=this.videoConfig.callbacks.onNextVideoClick()}catch(n){this.log({message:"onNextVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onPrevVideoClick)try{t=this.videoConfig.callbacks.onPrevVideoClick()}catch(n){this.log({message:"onPrevVideoClick callback failed to execute"})}t&&(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){var n;if(!this.videoConfig)return;const o=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!o){this.log({message:"no next video"});return}this.isInited&&ie.isNonNullable(o.unitedVideoId)&&this.store.actions.internal.nextMovie(o.unitedVideoId),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(o,{autoplay:t,fromTime:0},e)}playPrevChapter(){var e;(e=this.interactiveController)===null||e===void 0||e.playPrevChapter()}seekToInteractive(){var e;const t=(e=this.interactiveController)===null||e===void 0?void 0:e.getNextInteractiveStartTime();typeof t=="number"&&this.seekTime(t/1e3)}toggleGraph(){var e,t;if(!this.isInited)return;const n=this.store,{isEnded$:o,playbackState$:r,graphIsOpened$:l}=n.state,{disabledControls$:s}=n.ui.controls,a=Xe(o),c=Xe(r);Xe(l)?(l.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(Or),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",l.set(!0),(t=this.interactiveController)===null||t===void 0||t.toggleGraphView(!0),s.add(Or),!a&&this.graphMadePause&&this.pause())}async initInteractives(){var e,t,n,o;if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:r,EVENT_NAMES:l,CustomError:s}=await import("@vkontakte/videoplayer-interactive/es2018.cjs.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const a=(t=this.store)===null||t===void 0?void 0:t.interfaceLanguage$,c=a?Xe(a):this.videoConfig.interfaceLanguage,{projectInfo:f,historyApi:m,videoLoader:h}=this.videoConfig.interactiveData;this.interactiveController=new r({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:c,graph:this.uiConfig.features.interactiveGraph,projectInfo:f,historyApi:m,vkVideoLoader:h,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$:b}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(y=>{if(!this.isInited)return;const _=this.store;y?_.ui.controls.disabledControls$.remove(ct.SEEK_TO_INTERACTIVE_BUTTON):_.ui.controls.disabledControls$.add(ct.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(b.subscribe(y=>{this.store&&this.store.state.isInteractiveExpectation$.set(y)}));let v=!0;if(this.interactiveController.on(l.playerChanged,y=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...y.config,title:(f==null?void 0:f.title)||y.config.title};const _=v?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(y.player,_),v&&(v=!1)}),this.interactiveController.on(l.interactives,({type:y,subjectId:_,actionType:S})=>{var k,w,R,X;if(!this.store)return;const V=b.getValue();if(y==="container-removed"&&this.store.actions.internal.completeInteractiveRange(_),y==="action-choice"&&S==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(_1)),y==="action-choice-canceled"){const K=Xe(this.store.state.isPlaying$)||V;if(!((k=this.videoConfig)===null||k===void 0)&&k.isMobile&&K){this.store.ui.interactiveHideMobileControls.set(!0);return}(X=(w=this.videoConfig)===null||w===void 0?void 0:(R=w.callbacks).onDisabledInteractiveClick)===null||X===void 0||X.call(R)}}),!((o=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||o===void 0)&&o.onInteractiveHistoryChanged){const y=this.interactiveController.getHistoryState();this.subscription.add(y.history$.subscribe(_=>{var S,k,w;_.length&&((w=(k=(S=this.videoConfig)===null||S===void 0?void 0:S.callbacks)===null||k===void 0?void 0:k.onInteractiveHistoryChanged)===null||w===void 0||w.call(k,_))}))}this.interactiveController.on(l.errors,y=>{this.log({message:y.toString()})})}catch(r){this.log({message:r.message})}}async initInteractivesStatistics(){var e,t;const{statSubscription:n,oneStat:o}=this.statistics;if(!(!n||!o||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:r}=await import("@vkontakte/videoplayer-interactive/es2018.cjs.js"),l={[r.GO_NEXT_BUTTON]:kt.InteractiveInterfaceClick.NEXT_BUTTON,[r.GO_NEXT_AREA]:kt.InteractiveInterfaceClick.NEXT_AREA,[r.WATCH_AGAIN]:kt.InteractiveInterfaceClick.WATCH_AGAIN,[r.OPEN_GRAPH]:kt.InteractiveInterfaceClick.GRAPH_SHOW,[r.CLOSE_GRAPH]:kt.InteractiveInterfaceClick.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new ie.Subject;s.subscribe(f=>{var m,h;f in l?c.next(l[f]):(o==null||o.logError({errorType:"InteractiveVideosAction",fatal:!1}),(h=(m=this.sentry).report)===null||h===void 0||h.call(m,new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),n.add(o.attachToInteractive({click$:c,nextMovie$:a}))}catch(r){o==null||o.logError({errorType:"InteractiveVideos",fatal:!1}),(t=(e=this.sentry).report)===null||t===void 0||t.call(e,r,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,t={}){var n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=s1(z_,ie.cloneDeepWith(e,V=>V instanceof HTMLElement?V:void 0)),this.uiConfig=r0((n=t.ui)!==null&&n!==void 0?n:{}),this.coreConfig=(o=t.core)!==null&&o!==void 0?o:{configName:[]},this.statistics={config:(r=t.statistics)!==null&&r!==void 0?r:{}},this.sentry={config:(l=this.uiConfig.sentry)!==null&&l!==void 0?l:{}},ie.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(s=this.videoConfig.isMediaSessionEnabled)!==null&&s!==void 0?s:!0),ie.isNonNullable(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=(c=(a=this.uiConfig.features.pip)!==null&&a!==void 0?a:this.videoConfig.isPictureInPictureEnabled)!==null&&c!==void 0?c:!0,this.uiConfig.features.dpip=(m=(f=this.uiConfig.features.dpip)!==null&&f!==void 0?f:this.videoConfig.isPictureInPictureEnabled)!==null&&m!==void 0?m:!0),this.videoConfig.isMobile=(h=this.uiConfig.isMobile)!==null&&h!==void 0?h:this.videoConfig.isMobile,(R=this.videoConfig).autoplay&&(R.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(b=this.uiConfig.ads.enable)!==null&&b!==void 0?b:this.videoConfig.showAds,this.videoConfig.adsSlotId=(v=this.uiConfig.ads.slot)!==null&&v!==void 0?v:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(y=this.uiConfig.ads.preview)!==null&&y!==void 0?y:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((_=this.uiConfig.showLogo)!==null&&_!==void 0?_:!this.videoConfig.logoHidden),(X=this.videoConfig).canRewindLive&&(X.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(S=this.videoConfig.supportLink)!==null&&S!==void 0?S:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=E_.getLatestSupportedVersion():this.pictureInPictureApi=new pr),this.mediaSessionApi=this.uiConfig.features.mediaSession?new g_:void 0,this.annotationsApi=this.uiConfig.features.annotations?new B_(this.rootContainer):void 0,(k=this.svelteStubComponent)===null||k===void 0||k.$destroy(),(w=this.svelteRootComponent)===null||w===void 0||w.$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]),T_(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){var t;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 n=this.getNextVideoInfo();(t=this.svelteRootComponent)===null||t===void 0||t.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,t;this.mediaSessionApi&&((e=this.unsubscribePlayerPhaseSubscription)===null||e===void 0||e.call(this),this.unsubscribePlayerPhaseSubscription=(t=this.store)===null||t===void 0?void 0:t.playerPhase.subscribe(n=>{n===De.Video?this.setupMediaSessionForVideo():n===De.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(){var e,t;this.isControlDisabled(ct.PLAY_BUTTON)||!((e=this.store)===null||e===void 0)&&e.playerPhase.is(De.WaitingLive)||(this.log({message:"play"}),(t=this.svelteRootComponent)===null||t===void 0||t.play())}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,t;if(!this.videoConfig)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.videoConfig.videos[0];n&&((t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),this.createPlayer(n))}setMuted(e){var t;this.log({message:`set muted, muted: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setMuted(e)}setVolume(e){var t;this.log({message:`set volume, volume: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setVolume(e)}setRepeat(e){var t;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(t=this.svelteRootComponent)===null||t===void 0||t.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var t;this.isControlDisabled(ct.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekTime(e))}seekEpisodeStartTime(e){var t;this.log({message:`seek episode start time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekEpisodeStartTime(e)}returnFocusToEpisodes(){var e;this.log({message:"return focus to episodes button"}),(e=this.svelteRootComponent)===null||e===void 0||e.returnFocusToEpisodes()}setPlaybackRate(e){var t;this.log({message:`set playback rate to: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setPlaybackRate(e)}setAutoQualityLimits(e){var t,n,o;this.log({message:`set auto quality limitation. Max: ${(t=e.max)!==null&&t!==void 0?t:"none"}. Min: ${(n=e.min)!==null&&n!==void 0?n:"none"}`}),(o=this.svelteRootComponent)===null||o===void 0||o.setAutoQualityLimits(e)}addLanguage(e){var t;(t=this.store)===null||t===void 0||t.actions.internal.addLanguage(e)}async setLanguage(e){var t;await((t=this.store)===null||t===void 0?void 0:t.actions.internal.setLanguage(e))}setLiveStart(e){var t,n;this.log({message:"live started"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingLive(!1),(n=this.svelteRootComponent)===null||n===void 0||n.initVideo(e),this.play()}setWaitRecord(){var e,t;this.log({message:"post live"}),(e=this.store)===null||e===void 0||e.actions.internal.setWaitingRecord(!0),(t=this.store)===null||t===void 0||t.destroy()}setLiveEnd(e){var t,n;this.log({message:"live ended"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingRecord(!1),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){var e,t;return(t=(e=Lo.getInstance())===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&t!==void 0?t:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const H_=()=>{window.customElements.define("vk-video-player",F_)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return xe.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return xe.VideoQuality}});Object.defineProperty(exports,"InterfaceLanguage",{enumerable:!0,get:function(){return ie.InterfaceLanguage}});Object.defineProperty(exports,"VKNumericLanguage",{enumerable:!0,get:function(){return ie.VKNumericLanguage}});Object.defineProperty(exports,"loadVKLangPack",{enumerable:!0,get:function(){return ie.loadVKLangPack}});exports.VERSION=hl;exports.registerPlayerWebComponent=H_;