@vkontakte/videoplayer 1.1.32 → 1.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es2015.cjs.js CHANGED
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @vkontakte/videoplayer v1.1.32
3
- * Mon, 08 Apr 2024 01:45:57 GMT
4
- * https://st.mycdn.me/static/vkontakte-videoplayer/1-1-32/doc/
2
+ * @vkontakte/videoplayer v1.1.33
3
+ * Tue, 09 Apr 2024 13:44:03 GMT
4
+ * https://st.mycdn.me/static/vkontakte-videoplayer/1-1-33/doc/
5
5
  */
6
- "use strict";var Nc=Object.create;var $o=Object.defineProperty,Rc=Object.defineProperties,Bc=Object.getOwnPropertyDescriptor,Oc=Object.getOwnPropertyDescriptors,zc=Object.getOwnPropertyNames,$l=Object.getOwnPropertySymbols,Dc=Object.getPrototypeOf,es=Object.prototype.hasOwnProperty,Fc=Object.prototype.propertyIsEnumerable;var xo=(i,e,t)=>e in i?$o(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,qi=(i,e)=>{for(var t in e||(e={}))es.call(e,t)&&xo(i,t,e[t]);if($l)for(var t of $l(e))Fc.call(e,t)&&xo(i,t,e[t]);return i},qn=(i,e)=>Rc(i,Oc(e));var Hc=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of zc(e))!es.call(i,o)&&o!==t&&$o(i,o,{get:()=>e[o],enumerable:!(n=Bc(e,o))||n.enumerable});return i};var ts=(i,e,t)=>(t=i!=null?Nc(Dc(i)):{},Hc(e||!i||!i.__esModule?$o(t,"default",{value:i,enumerable:!0}):t,i));var el=(i,e,t)=>(xo(i,typeof e!="symbol"?e+"":e,t),t);var On=(i,e,t)=>new Promise((n,o)=>{var l=a=>{try{r(t.next(a))}catch(c){o(c)}},s=a=>{try{r(t.throw(a))}catch(c){o(c)}},r=a=>a.done?n(a.value):Promise.resolve(a.value).then(l,s);r((t=t.apply(i,e)).next())});var at=require("@vkontakte/videoplayer-core/es2015.cjs.js"),oe=require("@vkontakte/videoplayer-shared/es2015.cjs.js"),bt=require("@vkontakte/videoplayer-statistics/es2015.cjs.js");function Wi(i,e,t,n){function o(l){return l instanceof t?l:new t(function(s){s(l)})}return new(t||(t=Promise))(function(l,s){function r(f){try{c(n.next(f))}catch(h){s(h)}}function a(f){try{c(n.throw(f))}catch(h){s(h)}}function c(f){f.done?l(f.value):o(f.value).then(r,a)}c((n=n.apply(i,e||[])).next())})}function Z(){}function A1(i,e){for(const t in e)i[t]=e[t];return i}function L1(i){return i()}function is(){return Object.create(null)}function ei(i){i.forEach(L1)}function _n(i){return typeof i=="function"}function we(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Eo;function ns(i,e){return Eo||(Eo=document.createElement("a")),Eo.href=e,i===Eo.href}function Uc(i){return Object.keys(i).length===0}function jo(i,...e){if(i==null){for(const n of e)n(void 0);return Z}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function rt(i){let e;return jo(i,t=>e=t)(),e}function W(i,e,t){i.$$.on_destroy.push(jo(e,t))}function wn(i,e,t,n){if(i){const o=V1(i,e,t,n);return i[0](o)}}function V1(i,e,t,n){return i[1]&&n?A1(t.ctx.slice(),i[1](n(e))):t.ctx}function kn(i,e,t,n){if(i[2]&&n){const o=i[2](n(t));if(e.dirty===void 0)return o;if(typeof o=="object"){const l=[],s=Math.max(e.dirty.length,o.length);for(let r=0;r<s;r+=1)l[r]=e.dirty[r]|o[r];return l}return e.dirty|o}return e.dirty}function yn(i,e,t,n,o,l){if(o){const s=V1(e,t,n,l);i.p(s,o)}}function Sn(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 jc(i){return i==null?"":i}const I1=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function m(i,e){i.appendChild(e)}function Fe(i,e,t){const n=qc(i);if(!n.getElementById(e)){const o=_("style");o.id=e,o.textContent=t,Wc(n,o)}}function qc(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Wc(i,e){return m(i.head||i,e),e.sheet}function y(i,e,t){i.insertBefore(e,t||null)}function k(i){i.parentNode&&i.parentNode.removeChild(i)}function ln(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function _(i){return document.createElement(i)}function N(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function He(i){return document.createTextNode(i)}function B(){return He(" ")}function gt(){return He("")}function Ve(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function pi(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 Zc(i){return Array.from(i.childNodes)}function xe(i,e){e=""+e,i.data!==e&&(i.data=e)}function Rt(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let Ao;function Gc(){if(Ao===void 0){Ao=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){Ao=!0}}return Ao}function qo(i,e){getComputedStyle(i).position==="static"&&(i.style.position="relative");const n=_("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=Gc();let l;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",l=Ve(window,"message",s=>{s.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{l=Ve(n.contentWindow,"resize",e),e()}),m(i,n),()=>{(o||l&&n.contentWindow)&&l(),k(n)}}function V(i,e,t){i.classList.toggle(e,!!t)}function dn(i,e){return new i(e)}let vo;function po(i){vo=i}function bo(){if(!vo)throw new Error("Function called outside component initialization");return vo}function Qi(i){bo().$$.on_mount.push(i)}function Wo(i){bo().$$.on_destroy.push(i)}function M1(i,e){return bo().$$.context.set(i,e),e}function N1(i){return bo().$$.context.get(i)}function R1(){return bo().$$.context}function to(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Xn=[],qe=[];let $n=[];const Tl=[],Kc=Promise.resolve();let El=!1;function Yc(){El||(El=!0,Kc.then(B1))}function Fn(i){$n.push(i)}function yt(i){Tl.push(i)}const tl=new Set;let Wn=0;function B1(){if(Wn!==0)return;const i=vo;do{try{for(;Wn<Xn.length;){const e=Xn[Wn];Wn++,po(e),Qc(e.$$)}}catch(e){throw Xn.length=0,Wn=0,e}for(po(null),Xn.length=0,Wn=0;qe.length;)qe.pop()();for(let e=0;e<$n.length;e+=1){const t=$n[e];tl.has(t)||(tl.add(t),t())}$n.length=0}while(Xn.length);for(;Tl.length;)Tl.pop()();El=!1,tl.clear(),po(i)}function Qc(i){if(i.fragment!==null){i.update(),ei(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Fn)}}function Xc(i){const e=[],t=[];$n.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),$n=e}const zo=new Set;let zn;function he(){zn={r:0,c:[],p:zn}}function pe(){zn.r||ei(zn.c),zn=zn.p}function d(i,e){i&&i.i&&(zo.delete(i),i.i(e))}function v(i,e,t,n){if(i&&i.o){if(zo.has(i))return;zo.add(i),zn.c.push(()=>{zo.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function qt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function Jc(i,e){const t={},n={},o={$$scope:1};let l=i.length;for(;l--;){const s=i[l],r=e[l];if(r){for(const a in s)a in r||(n[a]=1);for(const a in r)o[a]||(t[a]=r[a],o[a]=1);i[l]=r}else for(const a in s)o[a]=1}for(const s in n)s in t||(t[s]=void 0);return t}function xc(i){return typeof i=="object"&&i!==null?i:{}}function St(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function H(i){i&&i.c()}function D(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),Fn(()=>{const l=i.$$.on_mount.map(L1).filter(_n);i.$$.on_destroy?i.$$.on_destroy.push(...l):ei(l),i.$$.on_mount=[]}),o.forEach(Fn)}function F(i,e){const t=i.$$;t.fragment!==null&&(Xc(t.after_update),ei(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function $c(i,e){i.$$.dirty[0]===-1&&(Xn.push(i),Yc(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function ke(i,e,t,n,o,l,s,r=[-1]){const a=vo;po(i);const c=i.$$={fragment:null,ctx:[],props:l,update:Z,not_equal:o,bound:is(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:is(),dirty:r,skip_bound:!1,root:e.target||a.$$.root};s&&s(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(h,g,...p)=>{const b=p.length?p[0]:g;return c.ctx&&o(c.ctx[h],c.ctx[h]=b)&&(!c.skip_bound&&c.bound[h]&&c.bound[h](b),f&&$c(i,h)),g}):[],c.update(),f=!0,ei(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const h=Zc(e.target);c.fragment&&c.fragment.l(h),h.forEach(k)}else c.fragment&&c.fragment.c();e.intro&&d(i.$$.fragment),D(i,e.target,e.anchor),B1()}po(a)}class ye{constructor(){el(this,"$$");el(this,"$$set")}$destroy(){F(this,1),this.$destroy=Z}$on(e,t){if(!_n(t))return Z;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&&!Uc(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const e0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(e0);var io;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(io||(io={}));const t0={isMobile:void 0,defaultLanguage:oe.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:oe.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}},i0=i=>oe.fillWithDefault(i,t0),n0=i=>M1("ui-config",i),Xi=()=>N1("ui-config"),Al="vk_player_debug_panel_opened",O1=300,o0="videoplayer",l0="videoplayer";var We;(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"})(We||(We={}));const s0=new Set([We.ArrowLeft,We.ArrowRight,We.KeyL,We.KeyJ]);var pt;(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"})(pt||(pt={}));const os=40,r0=4,a0=60,fo=8,z1=[pt.TIMELINE],Ll=[...z1,pt.GRAPH_BUTTON],ls=[...z1,pt.PLAY_BUTTON],mo=[...Ll,pt.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 cn(i,e){return{subscribe:je(i,e).subscribe}}function je(i,e=Z){let t;const n=new Set;function o(r){if(we(i,r)&&(i=r,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(r){o(r(i))}function s(r,a=Z){const c=[r,a];return n.add(c),n.size===1&&(t=e(o,l)||Z),r(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:l,subscribe:s}}function $t(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 cn(t,(s,r)=>{let a=!1;const c=[];let f=0,h=Z;const g=()=>{if(f)return;h();const b=e(n?c[0]:c,s,r);l?s(b):h=_n(b)?b:Z},p=o.map((b,L)=>jo(b,w=>{c[L]=w,f&=~(1<<L),a&&g()},()=>{f|=1<<L}));return a=!0,g(),function(){ei(p),h(),a=!1}})}const u0="prod",Zo="1.1.32",D1=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},F1=Symbol("storeContext"),c0=i=>{M1(F1,i)},Ct=()=>{const i=N1(F1);return oe.assertNonNullable(i,"Store context is empty!"),i},wt=(i,e)=>H1(i,i.getValue(),e),H1=(i,e,t)=>cn(e,n=>{const o=i.subscribe(l=>{n(l),t==null||t(l)});return()=>o.unsubscribe()}),f0=(i,e,t)=>{var n,o,l,s;const r=i.info,{width:a,height:c}=rt(t.ui.playerSize),f=(o=(n=r.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&o!==void 0?o:0,h=(s=(l=r.rttEstimation$.getValue())===null||l===void 0?void 0:l.toFixed(0))!==null&&s!==void 0?s:0,g=r.isAutoQualityEnabled$.getValue()?"auto":"manual",p=`${Zo} (core: ${at.VERSION}, stat: ${bt.VERSION}, shared: ${oe.VERSION})`,b=rt(t.state.errorLog$),L=b.length?`
7
- `+b.map((C,I)=>{var M;const J=`${I}) Type: ${C.id}
8
- `,G=`Message: ${C.message} (${C.thrown})
9
- `,Y=`Trace: ${(M=C.thrown)===null||M===void 0?void 0:M.stack}
10
- `;return J+G+Y}).join(`
11
- `):void 0,w=t.state.isAudioDisabled?"disabled":rt(t.state.isAudioAvailable$)?void 0:"unavailable",A={Version:p,Browser:navigator.userAgent,Config:i.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(t.videoId),"Content host":r.hostname$.getValue(),"Connection type":r.httpConnectionType$.getValue()+(r.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${h}ms RTT`,Format:r.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${g} ${r.currentQuality$.getValue()}`,"Available qualities":r.availableQualities$.getValue().join(", "),Audio:w,Position:`${rt(t.state.positionExact$)}s`,State:`${rt(t.playerPhase)} ${r.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:L};return Object.entries(A).filter(([C,I])=>I!==void 0).map(([C,I])=>`${C}: ${I}`).join(`
12
- `)},d0=(i,e,t)=>{const n=i.info,{width:o,height:l}=rt(t.ui.playerSize),s={version:Zo,viewport:`${o}x${l}`,volume:Math.round(rt(t.state.volume$)*100)};s.id=t.videoId,n.currentFormat$.getValue()&&(s.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(s.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(s.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(s.buffer=Math.max(f.end-rt(t.state.positionExact$),0));const h=n.throughputEstimation$.getValue();h&&(s.speed=h);const g=n.videoBitrate$.getValue();return g&&(s.bitrate=g),s},m0=(i,e)=>D1(i,e,"mp4"),U1="vk_player_prefer_traffic_saving_enabled",j1="vk_player_preferred_volume",q1="vk_player_prefer_volume_mute",Bl="vk_player_preferred_quality",W1=i=>i>1?1:i<0?0:i,ss=i=>oe.safeStorage.set(j1,W1(i).toString(10)),Z1=()=>{const i=oe.safeStorage.get(j1);return oe.isNullable(i)?void 0:W1(parseFloat(i))},h0=(i,e)=>oe.safeStorage.set(Bl,JSON.stringify({videoId:i,value:e})),G1=()=>oe.safeStorage.remove(Bl),p0=i=>{const e=oe.safeStorage.get(Bl);if(oe.isNullable(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){G1();return}return n},K1=(i,e)=>{e?oe.safeStorage.set(i,"true"):oe.safeStorage.remove(i)},Y1=i=>oe.safeStorage.get(i)==="true",il=i=>K1(q1,i),v0=()=>Y1(q1),g0=i=>K1(U1,i),b0=()=>Y1(U1);function _0(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,C;return{c(){e=N("svg"),t=N("g"),n=N("path"),o=N("path"),l=N("path"),s=N("path"),r=N("path"),a=N("defs"),c=N("filter"),f=N("feFlood"),h=N("feColorMatrix"),g=N("feOffset"),p=N("feGaussianBlur"),b=N("feColorMatrix"),L=N("feBlend"),w=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(o,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(o,"fill","#fff"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(l,"fill","#fff"),u(s,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(s,"fill","#fff"),u(r,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(r,"stroke-linecap","round"),u(r,"stroke-linejoin","round"),u(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(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(L,"in2","BackgroundImageFix"),u(L,"result","effect1_dropShadow_618_12297"),u(w,"in","SourceGraphic"),u(w,"in2","effect1_dropShadow_618_12297"),u(w,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",A=!i[0]||null),u(e,"aria-label",C=i[0]||null)},m(I,M){y(I,e,M),m(e,t),m(t,n),m(t,o),m(t,l),m(t,s),m(t,r),m(e,a),m(a,c),m(c,f),m(c,h),m(c,g),m(c,p),m(c,b),m(c,L),m(c,w)},p(I,[M]){M&1&&A!==(A=!I[0]||null)&&u(e,"aria-hidden",A),M&1&&C!==(C=I[0]||null)&&u(e,"aria-label",C)},i:Z,o:Z,d(I){I&&k(e)}}}function w0(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class Q1 extends ye{constructor(e){super(),ke(this,e,w0,_0,we,{ariaLabel:0})}}var nl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function k0(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Lo=function(i){return i&&i.Math==Math&&i},Vn=Lo(typeof globalThis=="object"&&globalThis)||Lo(typeof window=="object"&&window)||Lo(typeof self=="object"&&self)||Lo(typeof nl=="object"&&nl)||function(){return this}()||nl||Function("return this")(),Hn=function(i){try{return!!i()}catch(e){return!0}},y0=Hn,Go=!y0(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")}),S0=Go,X1=Function.prototype,rs=X1.apply,as=X1.call,C0=typeof Reflect=="object"&&Reflect.apply||(S0?as.bind(rs):function(){return as.apply(rs,arguments)}),J1=Go,x1=Function.prototype,Vl=x1.call,P0=J1&&x1.bind.bind(Vl,Vl),In=J1?P0:function(i){return function(){return Vl.apply(i,arguments)}},$1=In,T0=$1({}.toString),E0=$1("".slice),Ko=function(i){return E0(T0(i),8,-1)},A0=Ko,L0=In,eu=function(i){if(A0(i)==="Function")return L0(i)},Il=typeof document=="object"&&document.all,V0=typeof Il=="undefined"&&Il!==void 0,tu={all:Il,IS_HTMLDDA:V0},iu=tu,I0=iu.all,Cn=iu.IS_HTMLDDA?function(i){return typeof i=="function"||i===I0}:function(i){return typeof i=="function"},nu={},M0=Hn,_o=!M0(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),N0=Go,Vo=Function.prototype.call,wo=N0?Vo.bind(Vo):function(){return Vo.apply(Vo,arguments)},ou={},lu={}.propertyIsEnumerable,su=Object.getOwnPropertyDescriptor,R0=su&&!lu.call({1:2},1);ou.f=R0?function(e){var t=su(this,e);return!!t&&t.enumerable}:lu;var ru=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}},B0=In,O0=Hn,z0=Ko,ol=Object,D0=B0("".split),F0=O0(function(){return!ol("z").propertyIsEnumerable(0)})?function(i){return z0(i)=="String"?D0(i,""):ol(i)}:ol,Ol=function(i){return i==null},H0=Ol,U0=TypeError,zl=function(i){if(H0(i))throw U0("Can't call method on "+i);return i},j0=F0,q0=zl,W0=function(i){return j0(q0(i))},us=Cn,au=tu,Z0=au.all,ko=au.IS_HTMLDDA?function(i){return typeof i=="object"?i!==null:us(i)||i===Z0}:function(i){return typeof i=="object"?i!==null:us(i)},uu={},ll=uu,sl=Vn,G0=Cn,cs=function(i){return G0(i)?i:void 0},cu=function(i,e){return arguments.length<2?cs(ll[i])||cs(sl[i]):ll[i]&&ll[i][e]||sl[i]&&sl[i][e]},K0=In,fu=K0({}.isPrototypeOf),Y0=typeof navigator!="undefined"&&String(navigator.userAgent)||"",du=Vn,rl=Y0,fs=du.process,ds=du.Deno,ms=fs&&fs.versions||ds&&ds.version,hs=ms&&ms.v8,on,Fo;hs&&(on=hs.split("."),Fo=on[0]>0&&on[0]<4?1:+(on[0]+on[1]));!Fo&&rl&&(on=rl.match(/Edge\/(\d+)/),(!on||on[1]>=74)&&(on=rl.match(/Chrome\/(\d+)/),on&&(Fo=+on[1])));var Q0=Fo,ps=Q0,X0=Hn,J0=Vn,x0=J0.String,mu=!!Object.getOwnPropertySymbols&&!X0(function(){var i=Symbol();return!x0(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&ps&&ps<41}),$0=mu,hu=$0&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ef=cu,tf=Cn,nf=fu,of=hu,lf=Object,pu=of?function(i){return typeof i=="symbol"}:function(i){var e=ef("Symbol");return tf(e)&&nf(e.prototype,lf(i))},sf=String,rf=function(i){try{return sf(i)}catch(e){return"Object"}},af=Cn,uf=rf,cf=TypeError,vu=function(i){if(af(i))return i;throw cf(uf(i)+" is not a function")},ff=vu,df=Ol,gu=function(i,e){var t=i[e];return df(t)?void 0:ff(t)},al=wo,ul=Cn,cl=ko,mf=TypeError,hf=function(i,e){var t,n;if(e==="string"&&ul(t=i.toString)&&!cl(n=al(t,i))||ul(t=i.valueOf)&&!cl(n=al(t,i))||e!=="string"&&ul(t=i.toString)&&!cl(n=al(t,i)))return n;throw mf("Can't convert object to primitive value")},bu={exports:{}},vs=Vn,pf=Object.defineProperty,vf=function(i,e){try{pf(vs,i,{value:e,configurable:!0,writable:!0})}catch(t){vs[i]=e}return e},gf=Vn,bf=vf,gs="__core-js_shared__",_f=gf[gs]||bf(gs,{}),wf=_f,bs=wf;(bu.exports=function(i,e){return bs[i]||(bs[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 kf=bu.exports,yf=zl,Sf=Object,_u=function(i){return Sf(yf(i))},Cf=In,Pf=_u,Tf=Cf({}.hasOwnProperty),Yo=Object.hasOwn||function(e,t){return Tf(Pf(e),t)},Ef=In,Af=0,Lf=Math.random(),Vf=Ef(1 .toString),If=function(i){return"Symbol("+(i===void 0?"":i)+")_"+Vf(++Af+Lf,36)},Mf=Vn,Nf=kf,_s=Yo,Rf=If,Bf=mu,Of=hu,xn=Mf.Symbol,fl=Nf("wks"),zf=Of?xn.for||xn:xn&&xn.withoutSetter||Rf,yo=function(i){return _s(fl,i)||(fl[i]=Bf&&_s(xn,i)?xn[i]:zf("Symbol."+i)),fl[i]},Df=wo,ws=ko,ks=pu,Ff=gu,Hf=hf,Uf=yo,jf=TypeError,qf=Uf("toPrimitive"),Wf=function(i,e){if(!ws(i)||ks(i))return i;var t=Ff(i,qf),n;if(t){if(e===void 0&&(e="default"),n=Df(t,i,e),!ws(n)||ks(n))return n;throw jf("Can't convert object to primitive value")}return e===void 0&&(e="number"),Hf(i,e)},Zf=Wf,Gf=pu,wu=function(i){var e=Zf(i,"string");return Gf(e)?e:e+""},Kf=Vn,ys=ko,Ml=Kf.document,Yf=ys(Ml)&&ys(Ml.createElement),Qf=function(i){return Yf?Ml.createElement(i):{}},Xf=_o,Jf=Hn,xf=Qf,ku=!Xf&&!Jf(function(){return Object.defineProperty(xf("div"),"a",{get:function(){return 7}}).a!=7}),$f=_o,ed=wo,td=ou,id=ru,nd=W0,od=wu,ld=Yo,sd=ku,Ss=Object.getOwnPropertyDescriptor;nu.f=$f?Ss:function(e,t){if(e=nd(e),t=od(t),sd)try{return Ss(e,t)}catch(n){}if(ld(e,t))return id(!ed(td.f,e,t),e[t])};var rd=Hn,ad=Cn,ud=/#|\.prototype\./,So=function(i,e){var t=fd[cd(i)];return t==md?!0:t==dd?!1:ad(e)?rd(e):!!e},cd=So.normalize=function(i){return String(i).replace(ud,".").toLowerCase()},fd=So.data={},dd=So.NATIVE="N",md=So.POLYFILL="P",hd=So,Cs=eu,pd=vu,vd=Go,gd=Cs(Cs.bind),bd=function(i,e){return pd(i),e===void 0?i:vd?gd(i,e):function(){return i.apply(e,arguments)}},yu={},_d=_o,wd=Hn,kd=_d&&wd(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),yd=ko,Sd=String,Cd=TypeError,Su=function(i){if(yd(i))return i;throw Cd(Sd(i)+" is not an object")},Pd=_o,Td=ku,Ed=kd,Io=Su,Ps=wu,Ad=TypeError,dl=Object.defineProperty,Ld=Object.getOwnPropertyDescriptor,ml="enumerable",hl="configurable",pl="writable";yu.f=Pd?Ed?function(e,t,n){if(Io(e),t=Ps(t),Io(n),typeof e=="function"&&t==="prototype"&&"value"in n&&pl in n&&!n[pl]){var o=Ld(e,t);o&&o[pl]&&(e[t]=n.value,n={configurable:hl in n?n[hl]:o[hl],enumerable:ml in n?n[ml]:o[ml],writable:!1})}return dl(e,t,n)}:dl:function(e,t,n){if(Io(e),t=Ps(t),Io(n),Td)try{return dl(e,t,n)}catch(o){}if("get"in n||"set"in n)throw Ad("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Vd=_o,Id=yu,Md=ru,Nd=Vd?function(i,e,t){return Id.f(i,e,Md(1,t))}:function(i,e,t){return i[e]=t,i},Mo=Vn,Rd=C0,Bd=eu,Od=Cn,zd=nu.f,Dd=hd,Gn=uu,Fd=bd,Kn=Nd,Ts=Yo,Hd=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 Rd(i,this,arguments)};return e.prototype=i.prototype,e},Ud=function(i,e){var t=i.target,n=i.global,o=i.stat,l=i.proto,s=n?Mo:o?Mo[t]:(Mo[t]||{}).prototype,r=n?Gn:Gn[t]||Kn(Gn,t,{})[t],a=r.prototype,c,f,h,g,p,b,L,w,A;for(g in e)c=Dd(n?g:t+(o?".":"#")+g,i.forced),f=!c&&s&&Ts(s,g),b=r[g],f&&(i.dontCallGetSet?(A=zd(s,g),L=A&&A.value):L=s[g]),p=f&&L?L:e[g],!(f&&typeof b==typeof p)&&(i.bind&&f?w=Fd(p,Mo):i.wrap&&f?w=Hd(p):l&&Od(p)?w=Bd(p):w=p,(i.sham||p&&p.sham||b&&b.sham)&&Kn(w,"sham",!0),Kn(r,g,w),l&&(h=t+"Prototype",Ts(Gn,h)||Kn(Gn,h,{}),Kn(Gn[h],g,p),i.real&&a&&(c||!a[g])&&Kn(a,g,p)))},jd=ko,qd=Ko,Wd=yo,Zd=Wd("match"),Gd=function(i){var e;return jd(i)&&((e=i[Zd])!==void 0?!!e:qd(i)=="RegExp")},Kd=yo,Yd=Kd("toStringTag"),Cu={};Cu[Yd]="z";var Qd=String(Cu)==="[object z]",Xd=Qd,Jd=Cn,Do=Ko,xd=yo,$d=xd("toStringTag"),e2=Object,t2=Do(function(){return arguments}())=="Arguments",i2=function(i,e){try{return i[e]}catch(t){}},n2=Xd?Do:function(i){var e,t,n;return i===void 0?"Undefined":i===null?"Null":typeof(t=i2(e=e2(i),$d))=="string"?t:t2?Do(e):(n=Do(e))=="Object"&&Jd(e.callee)?"Arguments":n},o2=n2,l2=String,s2=function(i){if(o2(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return l2(i)},r2=Su,a2=function(){var i=r2(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},u2=wo,c2=Yo,f2=fu,d2=a2,Es=RegExp.prototype,m2=function(i){var e=i.flags;return e===void 0&&!("flags"in Es)&&!c2(i,"flags")&&f2(Es,i)?u2(d2,i):e},Dl=In,h2=_u,p2=Math.floor,vl=Dl("".charAt),v2=Dl("".replace),gl=Dl("".slice),g2=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,b2=/\$([$&'`]|\d{1,2})/g,_2=function(i,e,t,n,o,l){var s=t+i.length,r=n.length,a=b2;return o!==void 0&&(o=h2(o),a=g2),v2(l,a,function(c,f){var h;switch(vl(f,0)){case"$":return"$";case"&":return i;case"`":return gl(e,0,t);case"'":return gl(e,s);case"<":h=o[gl(f,1,-1)];break;default:var g=+f;if(g===0)return c;if(g>r){var p=p2(g/10);return p===0?c:p<=r?n[p-1]===void 0?vl(f,1):n[p-1]+vl(f,1):c}h=n[g-1]}return h===void 0?"":h})},w2=Ud,k2=wo,Fl=In,As=zl,y2=Cn,S2=Ol,C2=Gd,Yn=s2,P2=gu,T2=m2,E2=_2,A2=yo,L2=A2("replace"),V2=TypeError,Pu=Fl("".indexOf),I2=Fl("".replace),Ls=Fl("".slice),M2=Math.max,Vs=function(i,e,t){return t>i.length?-1:e===""?t:Pu(i,e,t)};w2({target:"String",proto:!0},{replaceAll:function(e,t){var n=As(this),o,l,s,r,a,c,f,h,g,p=0,b=0,L="";if(!S2(e)){if(o=C2(e),o&&(l=Yn(As(T2(e))),!~Pu(l,"g")))throw V2("`.replaceAll` does not allow non-global regexes");if(s=P2(e,L2),s)return k2(s,e,n,t);if(o)return I2(Yn(n),e,t)}for(r=Yn(n),a=Yn(e),c=y2(t),c||(t=Yn(t)),f=a.length,h=M2(1,f),p=Vs(r,a,0);p!==-1;)g=c?Yn(t(a,p,r)):E2(a,r,p,[],void 0,t),L+=Ls(r,b,p)+g,b=p+f,p=Vs(r,a,p+h);return b<r.length&&(L+=Ls(r,b)),L}});var N2=cu,R2=N2,B2=R2,O2=B2("String","replaceAll"),z2=O2,D2=z2,F2=D2,H2=F2,U2=k0(H2);const j2={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"},q2={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"},gn=new Map;gn.set(oe.InterfaceLanguage.EN,q2);gn.set(oe.InterfaceLanguage.RU,j2);const Tu=new Map,Is=({language:i,pack:e,fallback:t})=>{if(gn.has(i)){const n=gn.get(i);gn.set(i,Object.assign(Object.assign({},n),e))}else gn.set(i,e);Tu.set(i,t)},Ms=i=>gn.has(i),Eu=(i,e,t,n)=>{var o;const l=gn.get(i);let s=l==null?void 0:l[e];if(oe.isNullable(s)){const r=(o=Tu.get(i))!==null&&o!==void 0?o:n,a=r?gn.get(r):void 0;s=a==null?void 0:a[e]}return oe.isNullable(s)?e+Object.values(t!=null?t:{}).join(" "):t?U2(s,/{(\w+?)}/g,(r,a)=>{var c;return(c=t[a])!==null&&c!==void 0?c:""}):s},ne=(i,e)=>{const{interfaceLanguage$:t}=Ct(),n=rt(t),o=Xi();return Eu(n,i,e,o.defaultLanguage)};var Ho;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(Ho||(Ho={}));const W2=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Z2=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,G2=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,No="?",K2="X-Sentry-Auth",Y2=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Q2(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=W2.exec(t[l]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||No,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=G2.exec(t[l]))o={filename:n[2],function:n[1]||No,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=Z2.exec(t[l]))l===0&&!n[5]&&i.columnNumber!==void 0&&(e[0].column=i.columnNumber+1),o={filename:n[3],function:n[1]||No,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=No),e.push(o)}return e.length?{value:Au(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function Au(i){return(i&&i.message||"No error message").split(`
14
- `).filter(t=>!!t)[0]}function X2(i){try{const e=Q2(i);if(e)return e}catch(e){}return{value:Au(i),type:i&&i.name,stacktrace:{frames:[]}}}function J2(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class x2{constructor(e){if(e&&e.dsn){const t=Y2.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 qn(qi({},this.getRequestBlank()),{exception:{values:[X2(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(K2,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:J2(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function Ns(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function $2(){return window}class Hl extends x2{constructor(e,t=$2()){super(e),this.options=e,this.window=t,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:o=c=>c,beforeBreadcrumb:l=c=>c,blacklistUrls:s=[],ignoreErrors:r=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=l,this.blacklistUrls=s,this.ignoreErrors=r,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",qi({},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",qi({},e)),this}setUser(e){return this.setKeyState("user",qi({},e)),this}clone(){const e=new Hl(qn(qi({},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:[qi({timestamp:Date.now()/1e3},this.beforeBreadcrumb(e))]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send(qn(qi({},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=>Ns(t,n))):!1}getRequestBlank(){return qi(qn(qi({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(qi({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=>Ns(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,s=e[n],r=Array.isArray(s)?s:null;return qn(qi({},t),{[n]:l||r?[...l||[],...r||[]]:qi(qi({},typeof o!="string"?o:{}),typeof s!="string"?s:{})})},this._state)}setKeyState(e,t){this._state[e]=t}}let Ro=null;class Nl{constructor(e,t,n={}){!Ro&&e.dsn&&(this.sentryClient=new Hl({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new oe.Subscription,this.options=e,this.context=n,Ro=this)}destroy(){var e,t;(e=this.sentryClient)===null||e===void 0||e.destroy(),(t=this.sentrySubscription)===null||t===void 0||t.unsubscribe(),Ro=null}logIError(e,t=!1){e.thrown&&this.report(e.thrown,{fatal:t,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,t={},n={}){const{sentryClient:o,context:l,options:s}=this,{sampleRate:r=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:h}=s,{errorType:g,category:p}=t;if(oe.isNonNullable(p)&&h.includes(p)||oe.isNonNullable(g)&&f.includes(g))return;if(Math.random()<=r||oe.isNonNullable(p)&&c.includes(p)||oe.isNonNullable(g)&&a.includes(g)){Object.keys(t).length&&o.setTags(Object.assign({version:this.version},t)),(Object.keys(l).length||Object.keys(n).length)&&o.setExtras(Object.assign(Object.assign({},l),n));try{g&&o.captureMessage(g,t.fatal?Ho.fatal:Ho.error),o.report(e)}catch(L){console.error(L)}}}static getInstance(){return Ro}}var eo;(function(i){i.AUTO="auto"})(eo||(eo={}));var Re;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(Re||(Re={}));var vn;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(vn||(vn={}));var Wt;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(Wt||(Wt={}));var bn;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(bn||(bn={}));var Xe;(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"})(Xe||(Xe={}));var Dn;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(Dn||(Dn={}));const Lu=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()},Vu=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),e4=i=>{const e=i;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},go=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},Iu=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},Mu=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},t4=i=>{const e=window.screen;return(o=>Wi(void 0,void 0,void 0,function*(){return 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))},i4=()=>({title:ne("hotkey_map_modal_title"),closeBtnText:ne("hotkey_map_modal_close_btn_text"),groups:[{title:ne("hotkey_map_group_title_common"),items:[{description:ne("hotkey_map_item_mute_description"),value:ne("hotkey_map_item_mute_value")},{description:ne("hotkey_map_item_volume_up_description"),value:ne("hotkey_map_item_volume_up_value")},{description:ne("hotkey_map_item_volume_down_description"),value:ne("hotkey_map_item_volume_down_value")},{description:ne("hotkey_map_item_pip_description"),value:ne("hotkey_map_item_pip_value")},{description:ne("hotkey_map_item_full_screen_description"),value:ne("hotkey_map_item_full_screen_value")},{description:ne("hotkey_map_item_show_hotkey_map_description"),value:ne("hotkey_map_item_show_hotkey_map_value")}]},{title:ne("hotkey_map_group_title_playback"),items:[{description:ne("hotkey_map_item_play_toggle_description"),value:ne("hotkey_map_item_play_toggle_value")},{description:ne("hotkey_map_item_seek_backward_description"),value:ne("hotkey_map_item_seek_backward_value")},{description:ne("hotkey_map_item_seek_forward_description"),value:ne("hotkey_map_item_seek_forward_value")},{description:ne("hotkey_map_item_fast_seek_backward_description"),value:ne("hotkey_map_item_fast_seek_backward_value")},{description:ne("hotkey_map_item_fast_seek_forward_description"),value:ne("hotkey_map_item_fast_seek_forward_value")},{description:ne("hotkey_map_item_rate_down_description"),value:ne("hotkey_map_item_rate_down_value")},{description:ne("hotkey_map_item_rate_up_description"),value:ne("hotkey_map_item_rate_up_value")},{description:ne("hotkey_map_item_prev_frame_description"),value:ne("hotkey_map_item_prev_frame_value")},{description:ne("hotkey_map_item_next_frame_description"),value:ne("hotkey_map_item_next_frame_value")},{description:ne("hotkey_map_item_jump_seek_description"),value:ne("hotkey_map_item_jump_seek_value")}]},{title:ne("hotkey_map_group_title_subtitles"),items:[{description:ne("hotkey_map_item_subtitles_toggle_description"),value:ne("hotkey_map_item_subtitles_toggle_value")}]},{title:ne("hotkey_map_group_title_episodes"),items:[{description:ne("hotkey_map_item_prev_episode_description"),value:oe.isMacLike()?ne("hotkey_map_item_prev_episode_mac_value"):ne("hotkey_map_item_prev_episode_pc_value")},{description:ne("hotkey_map_item_next_episode_description"),value:oe.isMacLike()?ne("hotkey_map_item_next_episode_mac_value"):ne("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:oe.debounceFn(this.onResize.bind(this),O1)},this.info={isActive$:new oe.ValueSubject(this.isActive()),type:bn.PictureInPicture}}isSupported(){const e=oe.getCurrentBrowser().browser===oe.CurrentClientBrowser.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}revealPictureInPicture(){return Wi(this,void 0,void 0,function*(){this.isRequested&&(this.unregistryEventHandlers(),yield this.request(),this.registryEventHandlers())})}request(){var e;return Wi(this,void 0,void 0,function*(){if(!(!this.isSupported()||this.isActive()))try{yield(e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture()}catch(t){this.isRequested=!1}})}remove(){return Wi(this,void 0,void 0,function*(){!this.isSupported()||!this.isActive()||(yield 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=Object.assign({},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)}dispose(){return Wi(this,void 0,void 0,function*(){this.unregistryEventHandlers(),yield 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 s=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,s==null||s.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 Uo(i){return i instanceof Ul}function n4(i){const e=Ct();return Qi(()=>{e.getAdmanWrapper().startPostroll()}),[]}class o4 extends ye{constructor(e){super(),ke(this,e,n4,null,we,{})}}const fn=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 l4(i){Fe(i,"v-17pubzn",".container.v-17pubzn{position:absolute;top:14px;left:16px;padding:4px 8px;font-size:13px;color:var(--white);background:rgba(0, 0, 0, 0.35);border-radius:4px}.container-mobile.v-17pubzn{font-size:15px;background:unset;border-radius:unset}")}function s4(i){let e,t=ne("playing_ads",{timeleft:i[0]})+"",n;return{c(){e=_("div"),n=He(t),u(e,"class","container v-17pubzn"),V(e,"container-mobile",i[1])},m(o,l){y(o,e,l),m(e,n)},p(o,[l]){l&1&&t!==(t=ne("playing_ads",{timeleft:o[0]})+"")&&xe(n,t),l&2&&V(e,"container-mobile",o[1])},i:Z,o:Z,d(o){o&&k(e)}}}function r4(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const r=Ct().ui.isMobile;W(i,r,c=>t(1,n=c));let a;return i.$$set=c=>{"position"in c&&t(3,o=c.position),"duration"in c&&t(4,l=c.duration)},i.$$.update=()=>{i.$$.dirty&24&&t(0,a=fn(l-o))},[a,n,r,o,l]}class a4 extends ye{constructor(e){super(),ke(this,e,r4,s4,we,{position:3,duration:4},l4)}}function u4(i){Fe(i,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function c4(i){let e=ne("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=He(e)},m(n,o){y(n,t,o)},p(n,o){o&3&&e!==(e=ne("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&xe(t,e)},d(n){n&&k(t)}}}function f4(i){let e,t=ne("skip_ads_now")+"",n,o,l,s,r,a;return{c(){e=_("div"),n=He(t),o=B(),l=N("svg"),s=N("path"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(l,"class","icon v-22jj8o"),u(l,"width","7"),u(l,"height","12"),u(l,"viewBox","0 0 7 12"),u(l,"fill","none"),u(l,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){y(c,e,f),m(e,n),m(e,o),m(e,l),m(l,s),r||(a=Ve(e,"click",ft(function(){_n(i[2])&&i[2].apply(this,arguments)})),r=!0)},p(c,f){i=c},d(c){c&&k(e),r=!1,a()}}}function d4(i){let e;function t(l,s){return l[3]?f4:c4}let n=t(i),o=n(i);return{c(){e=_("div"),o.c(),u(e,"class","container v-22jj8o"),V(e,"container-mobile",i[4]),V(e,"skippable",i[3])},m(l,s){y(l,e,s),o.m(e,null)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e,null))),s&16&&V(e,"container-mobile",l[4]),s&8&&V(e,"skippable",l[3])},i:Z,o:Z,d(l){l&&k(e),o.d()}}}function m4(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:l=0}=e,{skipAd:s=oe.noop}=e;const a=Ct().ui.isMobile;W(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,s=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=o>0&&o>=l)},[o,l,s,c,n,a]}class h4 extends ye{constructor(e){super(),ke(this,e,m4,d4,we,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},u4)}}function p4(i){Fe(i,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function v4(i){let e;return{c(){e=_("button"),e.textContent=`${ne("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){y(t,e,n)},p:Z,i:Z,o:Z,d(t){t&&k(e)}}}class g4 extends ye{constructor(e){super(),ke(this,e,null,v4,we,{},p4)}}function b4(i){Fe(i,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
6
+ "use strict";var Nc=Object.create;var tl=Object.defineProperty,Rc=Object.defineProperties,Bc=Object.getOwnPropertyDescriptor,Oc=Object.getOwnPropertyDescriptors,zc=Object.getOwnPropertyNames,tr=Object.getOwnPropertySymbols,Dc=Object.getPrototypeOf,ir=Object.prototype.hasOwnProperty,Fc=Object.prototype.propertyIsEnumerable;var el=(i,e,t)=>e in i?tl(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,Zi=(i,e)=>{for(var t in e||(e={}))ir.call(e,t)&&el(i,t,e[t]);if(tr)for(var t of tr(e))Fc.call(e,t)&&el(i,t,e[t]);return i},Hn=(i,e)=>Rc(i,Oc(e));var Hc=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of zc(e))!ir.call(i,o)&&o!==t&&tl(i,o,{get:()=>e[o],enumerable:!(n=Bc(e,o))||n.enumerable});return i};var nr=(i,e,t)=>(t=i!=null?Nc(Dc(i)):{},Hc(e||!i||!i.__esModule?tl(t,"default",{value:i,enumerable:!0}):t,i));var il=(i,e,t)=>(el(i,typeof e!="symbol"?e+"":e,t),t);var Bn=(i,e,t)=>new Promise((n,o)=>{var l=a=>{try{s(t.next(a))}catch(c){o(c)}},r=a=>{try{s(t.throw(a))}catch(c){o(c)}},s=a=>a.done?n(a.value):Promise.resolve(a.value).then(l,r);s((t=t.apply(i,e)).next())});var at=require("@vkontakte/videoplayer-core/es2015.cjs.js"),le=require("@vkontakte/videoplayer-shared/es2015.cjs.js"),vt=require("@vkontakte/videoplayer-statistics/es2015.cjs.js");function Gi(i,e,t,n){function o(l){return l instanceof t?l:new t(function(r){r(l)})}return new(t||(t=Promise))(function(l,r){function s(f){try{c(n.next(f))}catch(h){r(h)}}function a(f){try{c(n.throw(f))}catch(h){r(h)}}function c(f){f.done?l(f.value):o(f.value).then(s,a)}c((n=n.apply(i,e||[])).next())})}function G(){}function I1(i,e){for(const t in e)i[t]=e[t];return i}function M1(i){return i()}function or(){return Object.create(null)}function Kt(i){i.forEach(M1)}function on(i){return typeof i=="function"}function _e(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Lo;function lr(i,e){return Lo||(Lo=document.createElement("a")),Lo.href=e,i===Lo.href}function Uc(i){return Object.keys(i).length===0}function _o(i,...e){if(i==null){for(const n of e)n(void 0);return G}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function rt(i){let e;return _o(i,t=>e=t)(),e}function j(i,e,t){i.$$.on_destroy.push(_o(e,t))}function An(i,e,t,n){if(i){const o=N1(i,e,t,n);return i[0](o)}}function N1(i,e,t,n){return i[1]&&n?I1(t.ctx.slice(),i[1](n(e))):t.ctx}function Ln(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 Vn(i,e,t,n,o,l){if(o){const r=N1(e,t,n,l);i.p(r,o)}}function In(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 jc(i){return i==null?"":i}const R1=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function m(i,e){i.appendChild(e)}function Fe(i,e,t){const n=qc(i);if(!n.getElementById(e)){const o=k("style");o.id=e,o.textContent=t,Wc(n,o)}}function qc(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Wc(i,e){return m(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 fn(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 M(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ue(i){return document.createTextNode(i)}function R(){return Ue(" ")}function gt(){return Ue("")}function Le(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function pi(i){return function(e){return e.preventDefault(),i.call(this,e)}}function ct(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 Zc(i){return Array.from(i.childNodes)}function $e(i,e){e=""+e,i.data!==e&&(i.data=e)}function Ot(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let Vo;function Gc(){if(Vo===void 0){Vo=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){Vo=!0}}return Vo}function Wo(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=Gc();let l;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",l=Le(window,"message",r=>{r.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{l=Le(n.contentWindow,"resize",e),e()}),m(i,n),()=>{(o||l&&n.contentWindow)&&l(),y(n)}}function L(i,e,t){i.classList.toggle(e,!!t)}function pn(i,e){return new i(e)}let go;function vo(i){go=i}function wo(){if(!go)throw new Error("Function called outside component initialization");return go}function Ki(i){wo().$$.on_mount.push(i)}function Zo(i){wo().$$.on_destroy.push(i)}function B1(i,e){return wo().$$.context.set(i,e),e}function O1(i){return wo().$$.context.get(i)}function z1(){return wo().$$.context}function xn(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Kn=[],Ze=[];let Qn=[];const Al=[],Kc=Promise.resolve();let Ll=!1;function Yc(){Ll||(Ll=!0,Kc.then(D1))}function Dn(i){Qn.push(i)}function Pt(i){Al.push(i)}const nl=new Set;let Un=0;function D1(){if(Un!==0)return;const i=go;do{try{for(;Un<Kn.length;){const e=Kn[Un];Un++,vo(e),Xc(e.$$)}}catch(e){throw Kn.length=0,Un=0,e}for(vo(null),Kn.length=0,Un=0;Ze.length;)Ze.pop()();for(let e=0;e<Qn.length;e+=1){const t=Qn[e];nl.has(t)||(nl.add(t),t())}Qn.length=0}while(Kn.length);for(;Al.length;)Al.pop()();Ll=!1,nl.clear(),vo(i)}function Xc(i){if(i.fragment!==null){i.update(),Kt(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Dn)}}function Qc(i){const e=[],t=[];Qn.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),Qn=e}const Fo=new Set;let On;function he(){On={r:0,c:[],p:On}}function pe(){On.r||Kt(On.c),On=On.p}function d(i,e){i&&i.i&&(Fo.delete(i),i.i(e))}function v(i,e,t,n){if(i&&i.o){if(Fo.has(i))return;Fo.add(i),On.c.push(()=>{Fo.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Wt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function Jc(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 xc(i){return typeof i=="object"&&i!==null?i:{}}function Ct(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 B(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),Dn(()=>{const l=i.$$.on_mount.map(M1).filter(on);i.$$.on_destroy?i.$$.on_destroy.push(...l):Kt(l),i.$$.on_mount=[]}),o.forEach(Dn)}function O(i,e){const t=i.$$;t.fragment!==null&&(Qc(t.after_update),Kt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function $c(i,e){i.$$.dirty[0]===-1&&(Kn.push(i),Yc(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function we(i,e,t,n,o,l,r,s=[-1]){const a=go;vo(i);const c=i.$$={fragment:null,ctx:[],props:l,update:G,not_equal:o,bound:or(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:or(),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,g,...p)=>{const b=p.length?p[0]:g;return c.ctx&&o(c.ctx[h],c.ctx[h]=b)&&(!c.skip_bound&&c.bound[h]&&c.bound[h](b),f&&$c(i,h)),g}):[],c.update(),f=!0,Kt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const h=Zc(e.target);c.fragment&&c.fragment.l(h),h.forEach(y)}else c.fragment&&c.fragment.c();e.intro&&d(i.$$.fragment),B(i,e.target,e.anchor),D1()}vo(a)}class ke{constructor(){il(this,"$$");il(this,"$$set")}$destroy(){O(this,1),this.$destroy=G}$on(e,t){if(!on(t))return G;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&&!Uc(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const e0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(e0);var $n;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})($n||($n={}));const t0={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:$n.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}},i0=i=>le.fillWithDefault(i,t0),n0=i=>B1("ui-config",i),tn=()=>O1("ui-config"),Vl="vk_player_debug_panel_opened",F1=300,o0="videoplayer",l0="videoplayer";var We;(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"})(We||(We={}));const r0=new Set([We.ArrowLeft,We.ArrowRight,We.KeyL,We.KeyJ]);var pt;(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"})(pt||(pt={}));const rr=40,s0=4,a0=60,H1=[pt.TIMELINE],Il=[...H1,pt.GRAPH_BUTTON],sr=[...H1,pt.PLAY_BUTTON],ho=[...Il,pt.PLAY_BUTTON];var Yn;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(Yn||(Yn={}));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 eo={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},jn=[];function mn(i,e){return{subscribe:He(i,e).subscribe}}function He(i,e=G){let t;const n=new Set;function o(s){if(_e(i,s)&&(i=s,t)){const a=!jn.length;for(const c of n)c[1](),jn.push(c,i);if(a){for(let c=0;c<jn.length;c+=2)jn[c][0](jn[c+1]);jn.length=0}}}function l(s){o(s(i))}function r(s,a=G){const c=[s,a];return n.add(c),n.size===1&&(t=e(o,l)||G),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 mn(t,(r,s)=>{let a=!1;const c=[];let f=0,h=G;const g=()=>{if(f)return;h();const b=e(n?c[0]:c,r,s);l?r(b):h=on(b)?b:G},p=o.map((b,A)=>_o(b,w=>{c[A]=w,f&=~(1<<A),a&&g()},()=>{f|=1<<A}));return a=!0,g(),function(){Kt(p),h(),a=!1}})}const u0="prod",Go="1.1.33",U1=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},j1=Symbol("storeContext"),c0=i=>{B1(j1,i)},At=()=>{const i=O1(j1);return le.assertNonNullable(i,"Store context is empty!"),i},kt=(i,e)=>q1(i,i.getValue(),e),q1=(i,e,t)=>mn(e,n=>{const o=i.subscribe(l=>{n(l),t==null||t(l)});return()=>o.unsubscribe()}),f0=(i,e,t)=>{var n,o,l,r;const s=i.info,{width:a,height:c}=rt(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,g=s.isAutoQualityEnabled$.getValue()?"auto":"manual",p=`${Go} (core: ${at.VERSION}, stat: ${vt.VERSION}, shared: ${le.VERSION})`,b=rt(t.state.errorLog$),A=b.length?`
7
+ `+b.map((E,I)=>{var V;const Q=`${I}) Type: ${E.id}
8
+ `,J=`Message: ${E.message} (${E.thrown})
9
+ `,U=`Trace: ${(V=E.thrown)===null||V===void 0?void 0:V.stack}
10
+ `;return Q+J+U}).join(`
11
+ `):void 0,w=t.state.isAudioDisabled?"disabled":rt(t.state.isAudioAvailable$)?void 0:"unavailable",T={Version:p,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:`${g} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Audio:w,Position:`${rt(t.state.positionExact$)}s`,State:`${rt(t.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:A};return Object.entries(T).filter(([E,I])=>I!==void 0).map(([E,I])=>`${E}: ${I}`).join(`
12
+ `)},d0=(i,e,t)=>{const n=i.info,{width:o,height:l}=rt(t.ui.playerSize),r={version:Go,viewport:`${o}x${l}`,volume:Math.round(rt(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-rt(t.state.positionExact$),0));const h=n.throughputEstimation$.getValue();h&&(r.speed=h);const g=n.videoBitrate$.getValue();return g&&(r.bitrate=g),r},m0=(i,e)=>U1(i,e,"mp4"),W1="vk_player_prefer_traffic_saving_enabled",Z1="vk_player_preferred_volume",G1="vk_player_prefer_volume_mute",zl="vk_player_preferred_quality",K1=i=>i>1?1:i<0?0:i,ar=i=>le.safeStorage.set(Z1,K1(i).toString(10)),Y1=()=>{const i=le.safeStorage.get(Z1);return le.isNullable(i)?void 0:K1(parseFloat(i))},h0=(i,e)=>le.safeStorage.set(zl,JSON.stringify({videoId:i,value:e})),X1=()=>le.safeStorage.remove(zl),p0=i=>{const e=le.safeStorage.get(zl);if(le.isNullable(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){X1();return}return n},Q1=(i,e)=>{e?le.safeStorage.set(i,"true"):le.safeStorage.remove(i)},J1=i=>le.safeStorage.get(i)==="true",ol=i=>Q1(G1,i),v0=()=>J1(G1),g0=i=>Q1(W1,i),b0=()=>J1(W1);function _0(i){let e,t,n,o,l,r,s,a,c,f,h,g,p,b,A,w,T,E;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("path"),r=M("path"),s=M("path"),a=M("defs"),c=M("filter"),f=M("feFlood"),h=M("feColorMatrix"),g=M("feOffset"),p=M("feGaussianBlur"),b=M("feColorMatrix"),A=M("feBlend"),w=M("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(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(A,"in2","BackgroundImageFix"),u(A,"result","effect1_dropShadow_618_12297"),u(w,"in","SourceGraphic"),u(w,"in2","effect1_dropShadow_618_12297"),u(w,"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",T=!i[0]||null),u(e,"aria-label",E=i[0]||null)},m(I,V){S(I,e,V),m(e,t),m(t,n),m(t,o),m(t,l),m(t,r),m(t,s),m(e,a),m(a,c),m(c,f),m(c,h),m(c,g),m(c,p),m(c,b),m(c,A),m(c,w)},p(I,[V]){V&1&&T!==(T=!I[0]||null)&&u(e,"aria-hidden",T),V&1&&E!==(E=I[0]||null)&&u(e,"aria-label",E)},i:G,o:G,d(I){I&&y(e)}}}function w0(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class x1 extends ke{constructor(e){super(),we(this,e,w0,_0,_e,{ariaLabel:0})}}var ll=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function k0(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Io=function(i){return i&&i.Math==Math&&i},Mn=Io(typeof globalThis=="object"&&globalThis)||Io(typeof window=="object"&&window)||Io(typeof self=="object"&&self)||Io(typeof ll=="object"&&ll)||function(){return this}()||ll||Function("return this")(),Fn=function(i){try{return!!i()}catch(e){return!0}},y0=Fn,Ko=!y0(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")}),S0=Ko,$1=Function.prototype,ur=$1.apply,cr=$1.call,P0=typeof Reflect=="object"&&Reflect.apply||(S0?cr.bind(ur):function(){return cr.apply(ur,arguments)}),eu=Ko,tu=Function.prototype,Ml=tu.call,C0=eu&&tu.bind.bind(Ml,Ml),Nn=eu?C0:function(i){return function(){return Ml.apply(i,arguments)}},iu=Nn,T0=iu({}.toString),E0=iu("".slice),Yo=function(i){return E0(T0(i),8,-1)},A0=Yo,L0=Nn,nu=function(i){if(A0(i)==="Function")return L0(i)},Nl=typeof document=="object"&&document.all,V0=typeof Nl=="undefined"&&Nl!==void 0,ou={all:Nl,IS_HTMLDDA:V0},lu=ou,I0=lu.all,Sn=lu.IS_HTMLDDA?function(i){return typeof i=="function"||i===I0}:function(i){return typeof i=="function"},ru={},M0=Fn,ko=!M0(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),N0=Ko,Mo=Function.prototype.call,yo=N0?Mo.bind(Mo):function(){return Mo.apply(Mo,arguments)},su={},au={}.propertyIsEnumerable,uu=Object.getOwnPropertyDescriptor,R0=uu&&!au.call({1:2},1);su.f=R0?function(e){var t=uu(this,e);return!!t&&t.enumerable}:au;var cu=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}},B0=Nn,O0=Fn,z0=Yo,rl=Object,D0=B0("".split),F0=O0(function(){return!rl("z").propertyIsEnumerable(0)})?function(i){return z0(i)=="String"?D0(i,""):rl(i)}:rl,Dl=function(i){return i==null},H0=Dl,U0=TypeError,Fl=function(i){if(H0(i))throw U0("Can't call method on "+i);return i},j0=F0,q0=Fl,W0=function(i){return j0(q0(i))},fr=Sn,fu=ou,Z0=fu.all,So=fu.IS_HTMLDDA?function(i){return typeof i=="object"?i!==null:fr(i)||i===Z0}:function(i){return typeof i=="object"?i!==null:fr(i)},du={},sl=du,al=Mn,G0=Sn,dr=function(i){return G0(i)?i:void 0},mu=function(i,e){return arguments.length<2?dr(sl[i])||dr(al[i]):sl[i]&&sl[i][e]||al[i]&&al[i][e]},K0=Nn,hu=K0({}.isPrototypeOf),Y0=typeof navigator!="undefined"&&String(navigator.userAgent)||"",pu=Mn,ul=Y0,mr=pu.process,hr=pu.Deno,pr=mr&&mr.versions||hr&&hr.version,vr=pr&&pr.v8,cn,Uo;vr&&(cn=vr.split("."),Uo=cn[0]>0&&cn[0]<4?1:+(cn[0]+cn[1]));!Uo&&ul&&(cn=ul.match(/Edge\/(\d+)/),(!cn||cn[1]>=74)&&(cn=ul.match(/Chrome\/(\d+)/),cn&&(Uo=+cn[1])));var X0=Uo,gr=X0,Q0=Fn,J0=Mn,x0=J0.String,vu=!!Object.getOwnPropertySymbols&&!Q0(function(){var i=Symbol();return!x0(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&gr&&gr<41}),$0=vu,gu=$0&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ef=mu,tf=Sn,nf=hu,of=gu,lf=Object,bu=of?function(i){return typeof i=="symbol"}:function(i){var e=ef("Symbol");return tf(e)&&nf(e.prototype,lf(i))},rf=String,sf=function(i){try{return rf(i)}catch(e){return"Object"}},af=Sn,uf=sf,cf=TypeError,_u=function(i){if(af(i))return i;throw cf(uf(i)+" is not a function")},ff=_u,df=Dl,wu=function(i,e){var t=i[e];return df(t)?void 0:ff(t)},cl=yo,fl=Sn,dl=So,mf=TypeError,hf=function(i,e){var t,n;if(e==="string"&&fl(t=i.toString)&&!dl(n=cl(t,i))||fl(t=i.valueOf)&&!dl(n=cl(t,i))||e!=="string"&&fl(t=i.toString)&&!dl(n=cl(t,i)))return n;throw mf("Can't convert object to primitive value")},ku={exports:{}},br=Mn,pf=Object.defineProperty,vf=function(i,e){try{pf(br,i,{value:e,configurable:!0,writable:!0})}catch(t){br[i]=e}return e},gf=Mn,bf=vf,_r="__core-js_shared__",_f=gf[_r]||bf(_r,{}),wf=_f,wr=wf;(ku.exports=function(i,e){return wr[i]||(wr[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 kf=ku.exports,yf=Fl,Sf=Object,yu=function(i){return Sf(yf(i))},Pf=Nn,Cf=yu,Tf=Pf({}.hasOwnProperty),Xo=Object.hasOwn||function(e,t){return Tf(Cf(e),t)},Ef=Nn,Af=0,Lf=Math.random(),Vf=Ef(1 .toString),If=function(i){return"Symbol("+(i===void 0?"":i)+")_"+Vf(++Af+Lf,36)},Mf=Mn,Nf=kf,kr=Xo,Rf=If,Bf=vu,Of=gu,Xn=Mf.Symbol,ml=Nf("wks"),zf=Of?Xn.for||Xn:Xn&&Xn.withoutSetter||Rf,Po=function(i){return kr(ml,i)||(ml[i]=Bf&&kr(Xn,i)?Xn[i]:zf("Symbol."+i)),ml[i]},Df=yo,yr=So,Sr=bu,Ff=wu,Hf=hf,Uf=Po,jf=TypeError,qf=Uf("toPrimitive"),Wf=function(i,e){if(!yr(i)||Sr(i))return i;var t=Ff(i,qf),n;if(t){if(e===void 0&&(e="default"),n=Df(t,i,e),!yr(n)||Sr(n))return n;throw jf("Can't convert object to primitive value")}return e===void 0&&(e="number"),Hf(i,e)},Zf=Wf,Gf=bu,Su=function(i){var e=Zf(i,"string");return Gf(e)?e:e+""},Kf=Mn,Pr=So,Rl=Kf.document,Yf=Pr(Rl)&&Pr(Rl.createElement),Xf=function(i){return Yf?Rl.createElement(i):{}},Qf=ko,Jf=Fn,xf=Xf,Pu=!Qf&&!Jf(function(){return Object.defineProperty(xf("div"),"a",{get:function(){return 7}}).a!=7}),$f=ko,ed=yo,td=su,id=cu,nd=W0,od=Su,ld=Xo,rd=Pu,Cr=Object.getOwnPropertyDescriptor;ru.f=$f?Cr:function(e,t){if(e=nd(e),t=od(t),rd)try{return Cr(e,t)}catch(n){}if(ld(e,t))return id(!ed(td.f,e,t),e[t])};var sd=Fn,ad=Sn,ud=/#|\.prototype\./,Co=function(i,e){var t=fd[cd(i)];return t==md?!0:t==dd?!1:ad(e)?sd(e):!!e},cd=Co.normalize=function(i){return String(i).replace(ud,".").toLowerCase()},fd=Co.data={},dd=Co.NATIVE="N",md=Co.POLYFILL="P",hd=Co,Tr=nu,pd=_u,vd=Ko,gd=Tr(Tr.bind),bd=function(i,e){return pd(i),e===void 0?i:vd?gd(i,e):function(){return i.apply(e,arguments)}},Cu={},_d=ko,wd=Fn,kd=_d&&wd(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),yd=So,Sd=String,Pd=TypeError,Tu=function(i){if(yd(i))return i;throw Pd(Sd(i)+" is not an object")},Cd=ko,Td=Pu,Ed=kd,No=Tu,Er=Su,Ad=TypeError,hl=Object.defineProperty,Ld=Object.getOwnPropertyDescriptor,pl="enumerable",vl="configurable",gl="writable";Cu.f=Cd?Ed?function(e,t,n){if(No(e),t=Er(t),No(n),typeof e=="function"&&t==="prototype"&&"value"in n&&gl in n&&!n[gl]){var o=Ld(e,t);o&&o[gl]&&(e[t]=n.value,n={configurable:vl in n?n[vl]:o[vl],enumerable:pl in n?n[pl]:o[pl],writable:!1})}return hl(e,t,n)}:hl:function(e,t,n){if(No(e),t=Er(t),No(n),Td)try{return hl(e,t,n)}catch(o){}if("get"in n||"set"in n)throw Ad("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Vd=ko,Id=Cu,Md=cu,Nd=Vd?function(i,e,t){return Id.f(i,e,Md(1,t))}:function(i,e,t){return i[e]=t,i},Ro=Mn,Rd=P0,Bd=nu,Od=Sn,zd=ru.f,Dd=hd,qn=du,Fd=bd,Wn=Nd,Ar=Xo,Hd=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 Rd(i,this,arguments)};return e.prototype=i.prototype,e},Ud=function(i,e){var t=i.target,n=i.global,o=i.stat,l=i.proto,r=n?Ro:o?Ro[t]:(Ro[t]||{}).prototype,s=n?qn:qn[t]||Wn(qn,t,{})[t],a=s.prototype,c,f,h,g,p,b,A,w,T;for(g in e)c=Dd(n?g:t+(o?".":"#")+g,i.forced),f=!c&&r&&Ar(r,g),b=s[g],f&&(i.dontCallGetSet?(T=zd(r,g),A=T&&T.value):A=r[g]),p=f&&A?A:e[g],!(f&&typeof b==typeof p)&&(i.bind&&f?w=Fd(p,Ro):i.wrap&&f?w=Hd(p):l&&Od(p)?w=Bd(p):w=p,(i.sham||p&&p.sham||b&&b.sham)&&Wn(w,"sham",!0),Wn(s,g,w),l&&(h=t+"Prototype",Ar(qn,h)||Wn(qn,h,{}),Wn(qn[h],g,p),i.real&&a&&(c||!a[g])&&Wn(a,g,p)))},jd=So,qd=Yo,Wd=Po,Zd=Wd("match"),Gd=function(i){var e;return jd(i)&&((e=i[Zd])!==void 0?!!e:qd(i)=="RegExp")},Kd=Po,Yd=Kd("toStringTag"),Eu={};Eu[Yd]="z";var Xd=String(Eu)==="[object z]",Qd=Xd,Jd=Sn,Ho=Yo,xd=Po,$d=xd("toStringTag"),e2=Object,t2=Ho(function(){return arguments}())=="Arguments",i2=function(i,e){try{return i[e]}catch(t){}},n2=Qd?Ho:function(i){var e,t,n;return i===void 0?"Undefined":i===null?"Null":typeof(t=i2(e=e2(i),$d))=="string"?t:t2?Ho(e):(n=Ho(e))=="Object"&&Jd(e.callee)?"Arguments":n},o2=n2,l2=String,r2=function(i){if(o2(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return l2(i)},s2=Tu,a2=function(){var i=s2(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},u2=yo,c2=Xo,f2=hu,d2=a2,Lr=RegExp.prototype,m2=function(i){var e=i.flags;return e===void 0&&!("flags"in Lr)&&!c2(i,"flags")&&f2(Lr,i)?u2(d2,i):e},Hl=Nn,h2=yu,p2=Math.floor,bl=Hl("".charAt),v2=Hl("".replace),_l=Hl("".slice),g2=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,b2=/\$([$&'`]|\d{1,2})/g,_2=function(i,e,t,n,o,l){var r=t+i.length,s=n.length,a=b2;return o!==void 0&&(o=h2(o),a=g2),v2(l,a,function(c,f){var h;switch(bl(f,0)){case"$":return"$";case"&":return i;case"`":return _l(e,0,t);case"'":return _l(e,r);case"<":h=o[_l(f,1,-1)];break;default:var g=+f;if(g===0)return c;if(g>s){var p=p2(g/10);return p===0?c:p<=s?n[p-1]===void 0?bl(f,1):n[p-1]+bl(f,1):c}h=n[g-1]}return h===void 0?"":h})},w2=Ud,k2=yo,Ul=Nn,Vr=Fl,y2=Sn,S2=Dl,P2=Gd,Zn=r2,C2=wu,T2=m2,E2=_2,A2=Po,L2=A2("replace"),V2=TypeError,Au=Ul("".indexOf),I2=Ul("".replace),Ir=Ul("".slice),M2=Math.max,Mr=function(i,e,t){return t>i.length?-1:e===""?t:Au(i,e,t)};w2({target:"String",proto:!0},{replaceAll:function(e,t){var n=Vr(this),o,l,r,s,a,c,f,h,g,p=0,b=0,A="";if(!S2(e)){if(o=P2(e),o&&(l=Zn(Vr(T2(e))),!~Au(l,"g")))throw V2("`.replaceAll` does not allow non-global regexes");if(r=C2(e,L2),r)return k2(r,e,n,t);if(o)return I2(Zn(n),e,t)}for(s=Zn(n),a=Zn(e),c=y2(t),c||(t=Zn(t)),f=a.length,h=M2(1,f),p=Mr(s,a,0);p!==-1;)g=c?Zn(t(a,p,s)):E2(a,s,p,[],void 0,t),A+=Ir(s,b,p)+g,b=p+f,p=Mr(s,a,p+h);return b<s.length&&(A+=Ir(s,b)),A}});var N2=mu,R2=N2,B2=R2,O2=B2("String","replaceAll"),z2=O2,D2=z2,F2=D2,H2=F2,U2=k0(H2);const j2={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"},q2={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"},kn=new Map;kn.set(le.InterfaceLanguage.EN,q2);kn.set(le.InterfaceLanguage.RU,j2);const Lu=new Map,Nr=({language:i,pack:e,fallback:t})=>{if(kn.has(i)){const n=kn.get(i);kn.set(i,Object.assign(Object.assign({},n),e))}else kn.set(i,e);Lu.set(i,t)},Rr=i=>kn.has(i),Vu=(i,e,t,n)=>{var o;const l=kn.get(i);let r=l==null?void 0:l[e];if(le.isNullable(r)){const s=(o=Lu.get(i))!==null&&o!==void 0?o:n,a=s?kn.get(s):void 0;r=a==null?void 0:a[e]}return le.isNullable(r)?e+Object.values(t!=null?t:{}).join(" "):t?U2(r,/{(\w+?)}/g,(s,a)=>{var c;return(c=t[a])!==null&&c!==void 0?c:""}):r},se=(i,e)=>{const{interfaceLanguage$:t}=At(),n=rt(t),o=tn();return Vu(n,i,e,o.defaultLanguage)};var jo;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(jo||(jo={}));const W2=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Z2=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,G2=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Bo="?",K2="X-Sentry-Auth",Y2=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function X2(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=W2.exec(t[l]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||Bo,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=G2.exec(t[l]))o={filename:n[2],function:n[1]||Bo,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=Z2.exec(t[l]))l===0&&!n[5]&&i.columnNumber!==void 0&&(e[0].column=i.columnNumber+1),o={filename:n[3],function:n[1]||Bo,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=Bo),e.push(o)}return e.length?{value:Iu(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function Iu(i){return(i&&i.message||"No error message").split(`
14
+ `).filter(t=>!!t)[0]}function Q2(i){try{const e=X2(i);if(e)return e}catch(e){}return{value:Iu(i),type:i&&i.name,stacktrace:{frames:[]}}}function J2(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class x2{constructor(e){if(e&&e.dsn){const t=Y2.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 Hn(Zi({},this.getRequestBlank()),{exception:{values:[Q2(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(K2,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:J2(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function Br(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function $2(){return window}class jl extends x2{constructor(e,t=$2()){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",Zi({},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",Zi({},e)),this}setUser(e){return this.setKeyState("user",Zi({},e)),this}clone(){const e=new jl(Hn(Zi({},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:[Zi({timestamp:Date.now()/1e3},this.beforeBreadcrumb(e))]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send(Hn(Zi({},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=>Br(t,n))):!1}getRequestBlank(){return Zi(Hn(Zi({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(Zi({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=>Br(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 Hn(Zi({},t),{[n]:l||s?[...l||[],...s||[]]:Zi(Zi({},typeof o!="string"?o:{}),typeof r!="string"?r:{})})},this._state)}setKeyState(e,t){this._state[e]=t}}let Oo=null;class Bl{constructor(e,t,n={}){!Oo&&e.dsn&&(this.sentryClient=new jl({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new le.Subscription,this.options=e,this.context=n,Oo=this)}destroy(){var e,t;(e=this.sentryClient)===null||e===void 0||e.destroy(),(t=this.sentrySubscription)===null||t===void 0||t.unsubscribe(),Oo=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:g,category:p}=t;if(le.isNonNullable(p)&&h.includes(p)||le.isNonNullable(g)&&f.includes(g))return;if(Math.random()<=s||le.isNonNullable(p)&&c.includes(p)||le.isNonNullable(g)&&a.includes(g)){Object.keys(t).length&&o.setTags(Object.assign({version:this.version},t)),(Object.keys(l).length||Object.keys(n).length)&&o.setExtras(Object.assign(Object.assign({},l),n));try{g&&o.captureMessage(g,t.fatal?jo.fatal:jo.error),o.report(e)}catch(A){console.error(A)}}}static getInstance(){return Oo}}var Jn;(function(i){i.AUTO="auto"})(Jn||(Jn={}));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 wn;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(wn||(wn={}));var Zt;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(Zt||(Zt={}));var yn;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(yn||(yn={}));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 Mu=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()},Nu=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),e4=i=>{const e=i;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},bo=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},Ru=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},Bu=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},t4=i=>{const e=window.screen;return(o=>Gi(void 0,void 0,void 0,function*(){return 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))},i4=()=>({title:se("hotkey_map_modal_title"),closeBtnText:se("hotkey_map_modal_close_btn_text"),groups:[{title:se("hotkey_map_group_title_common"),items:[{description:se("hotkey_map_item_mute_description"),value:se("hotkey_map_item_mute_value")},{description:se("hotkey_map_item_volume_up_description"),value:se("hotkey_map_item_volume_up_value")},{description:se("hotkey_map_item_volume_down_description"),value:se("hotkey_map_item_volume_down_value")},{description:se("hotkey_map_item_pip_description"),value:se("hotkey_map_item_pip_value")},{description:se("hotkey_map_item_full_screen_description"),value:se("hotkey_map_item_full_screen_value")},{description:se("hotkey_map_item_show_hotkey_map_description"),value:se("hotkey_map_item_show_hotkey_map_value")}]},{title:se("hotkey_map_group_title_playback"),items:[{description:se("hotkey_map_item_play_toggle_description"),value:se("hotkey_map_item_play_toggle_value")},{description:se("hotkey_map_item_seek_backward_description"),value:se("hotkey_map_item_seek_backward_value")},{description:se("hotkey_map_item_seek_forward_description"),value:se("hotkey_map_item_seek_forward_value")},{description:se("hotkey_map_item_fast_seek_backward_description"),value:se("hotkey_map_item_fast_seek_backward_value")},{description:se("hotkey_map_item_fast_seek_forward_description"),value:se("hotkey_map_item_fast_seek_forward_value")},{description:se("hotkey_map_item_rate_down_description"),value:se("hotkey_map_item_rate_down_value")},{description:se("hotkey_map_item_rate_up_description"),value:se("hotkey_map_item_rate_up_value")},{description:se("hotkey_map_item_prev_frame_description"),value:se("hotkey_map_item_prev_frame_value")},{description:se("hotkey_map_item_next_frame_description"),value:se("hotkey_map_item_next_frame_value")},{description:se("hotkey_map_item_jump_seek_description"),value:se("hotkey_map_item_jump_seek_value")}]},{title:se("hotkey_map_group_title_subtitles"),items:[{description:se("hotkey_map_item_subtitles_toggle_description"),value:se("hotkey_map_item_subtitles_toggle_value")}]},{title:se("hotkey_map_group_title_episodes"),items:[{description:se("hotkey_map_item_prev_episode_description"),value:le.isMacLike()?se("hotkey_map_item_prev_episode_mac_value"):se("hotkey_map_item_prev_episode_pc_value")},{description:se("hotkey_map_item_next_episode_description"),value:le.isMacLike()?se("hotkey_map_item_next_episode_mac_value"):se("hotkey_map_item_next_episode_pc_value")}]}]});class ql{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),F1)},this.info={isActive$:new le.ValueSubject(this.isActive()),type:yn.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}revealPictureInPicture(){return Gi(this,void 0,void 0,function*(){this.isRequested&&(this.unregistryEventHandlers(),yield this.request(),this.registryEventHandlers())})}request(){var e;return Gi(this,void 0,void 0,function*(){if(!(!this.isSupported()||this.isActive()))try{yield(e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture()}catch(t){this.isRequested=!1}})}remove(){return Gi(this,void 0,void 0,function*(){!this.isSupported()||!this.isActive()||(yield 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=Object.assign({},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)}dispose(){return Gi(this,void 0,void 0,function*(){this.unregistryEventHandlers(),yield 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 qo(i){return i instanceof ql}function n4(i){const e=At();return Ki(()=>{e.getAdmanWrapper().startPostroll()}),[]}class o4 extends ke{constructor(e){super(),we(this,e,n4,null,_e,{})}}const hn=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 l4(i){Fe(i,"v-17pubzn",".container.v-17pubzn{position:absolute;top:14px;left:16px;padding:4px 8px;font-size:13px;color:var(--white);background:rgba(0, 0, 0, 0.35);border-radius:4px}.container-mobile.v-17pubzn{font-size:15px;background:unset;border-radius:unset}")}function r4(i){let e,t=se("playing_ads",{timeleft:i[0]})+"",n;return{c(){e=k("div"),n=Ue(t),u(e,"class","container v-17pubzn"),L(e,"container-mobile",i[1])},m(o,l){S(o,e,l),m(e,n)},p(o,[l]){l&1&&t!==(t=se("playing_ads",{timeleft:o[0]})+"")&&$e(n,t),l&2&&L(e,"container-mobile",o[1])},i:G,o:G,d(o){o&&y(e)}}}function s4(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const s=At().ui.isMobile;j(i,s,c=>t(1,n=c));let a;return i.$$set=c=>{"position"in c&&t(3,o=c.position),"duration"in c&&t(4,l=c.duration)},i.$$.update=()=>{i.$$.dirty&24&&t(0,a=hn(l-o))},[a,n,s,o,l]}class a4 extends ke{constructor(e){super(),we(this,e,s4,r4,_e,{position:3,duration:4},l4)}}function u4(i){Fe(i,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function c4(i){let e=se("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=Ue(e)},m(n,o){S(n,t,o)},p(n,o){o&3&&e!==(e=se("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&$e(t,e)},d(n){n&&y(t)}}}function f4(i){let e,t=se("skip_ads_now")+"",n,o,l,r,s,a;return{c(){e=k("div"),n=Ue(t),o=R(),l=M("svg"),r=M("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),m(e,n),m(e,o),m(e,l),m(l,r),s||(a=Le(e,"click",ct(function(){on(i[2])&&i[2].apply(this,arguments)})),s=!0)},p(c,f){i=c},d(c){c&&y(e),s=!1,a()}}}function d4(i){let e;function t(l,r){return l[3]?f4:c4}let n=t(i),o=n(i);return{c(){e=k("div"),o.c(),u(e,"class","container v-22jj8o"),L(e,"container-mobile",i[4]),L(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&&L(e,"container-mobile",l[4]),r&8&&L(e,"skippable",l[3])},i:G,o:G,d(l){l&&y(e),o.d()}}}function m4(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:l=0}=e,{skipAd:r=le.noop}=e;const a=At().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 h4 extends ke{constructor(e){super(),we(this,e,m4,d4,_e,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},u4)}}function p4(i){Fe(i,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function v4(i){let e;return{c(){e=k("button"),e.textContent=`${se("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){S(t,e,n)},p:G,i:G,o:G,d(t){t&&y(e)}}}class g4 extends ke{constructor(e){super(),we(this,e,null,v4,_e,{},p4)}}function b4(i){Fe(i,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
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 Rs(i){let e;return{c(){e=_("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function Bs(i){let e,t;return e=new a4({props:{position:i[6],duration:i[7]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&64&&(l.position=n[6]),o&128&&(l.duration=n[7]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Os(i){let e,t;return e=new h4({props:{position:i[6],secondsToWatchBeforeSkip:i[8],skipAd:i[10].actions.internal.skipAd}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&64&&(l.position=n[6]),o&256&&(l.secondsToWatchBeforeSkip=n[8]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function zs(i){let e,t;return e=new o4({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ds(i){let e,t;return e=new g4({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function _4(i){let e,t,n,o,l,s,r,a,c=i[0]&&Rs(),f=i[3]&&Bs(i),h=i[4]&&Os(i),g=i[9]&&zs(),p=i[5]&&Ds();return{c(){e=_("div"),c&&c.c(),t=B(),n=_("video"),o=B(),f&&f.c(),l=B(),h&&h.c(),s=B(),g&&g.c(),r=B(),p&&p.c(),Rt(n,"width","100%"),Rt(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(b,L){y(b,e,L),c&&c.m(e,null),m(e,t),m(e,n),i[22](n),m(e,o),f&&f.m(e,null),m(e,l),h&&h.m(e,null),m(e,s),g&&g.m(e,null),m(e,r),p&&p.m(e,null),i[23](e),a=!0},p(b,[L]){b[0]?c||(c=Rs(),c.c(),c.m(e,t)):c&&(c.d(1),c=null),b[3]?f?(f.p(b,L),L&8&&d(f,1)):(f=Bs(b),f.c(),d(f,1),f.m(e,l)):f&&(he(),v(f,1,1,()=>{f=null}),pe()),b[4]?h?(h.p(b,L),L&16&&d(h,1)):(h=Os(b),h.c(),d(h,1),h.m(e,s)):h&&(he(),v(h,1,1,()=>{h=null}),pe()),b[9]?g?L&512&&d(g,1):(g=zs(),g.c(),d(g,1),g.m(e,r)):g&&(he(),v(g,1,1,()=>{g=null}),pe()),b[5]?p?L&32&&d(p,1):(p=Ds(),p.c(),d(p,1),p.m(e,null)):p&&(he(),v(p,1,1,()=>{p=null}),pe())},i(b){a||(d(f),d(h),d(g),d(p),a=!0)},o(b){v(f),v(h),v(g),v(p),a=!1},d(b){b&&k(e),c&&c.d(),i[22](null),f&&f.d(),h&&h.d(),g&&g.d(),p&&p.d(),i[23](null)}}}function w4(i,e,t){let n,o,l,s,r,a,{adsSlotId:c=void 0}=e,{adsParams:f=void 0}=e,{adsPreviewParam:h=void 0}=e,{duration:g=0}=e;const p=Ct(),b=p.state.isEnded$;W(i,b,j=>t(9,a=j));const L=p.ui.isMobile;W(i,L,j=>t(0,o=j));let w,A,C=!1;const I=p.ads.playbackState;W(i,I,j=>t(21,n=j));const M=p.ads.canSkip,J=p.ads.duration;W(i,J,j=>t(7,s=j));const G=p.ads.position;W(i,G,j=>t(6,l=j));const Y=p.ads.secondsToWatchBeforeSkip;W(i,Y,j=>t(8,r=j));let z,ae,te;Qi(()=>{const j=new AbortController;let ue=()=>{j.abort()};const S=p.getAdmanWrapper();if(!c){S.onAdmanLoadingError();return}const{width:$,height:le}=rt(p.ui.playerSize),Ce=rt(p.ui.isFullscreen),ve=rt(p.ui.isAutoplay),Ae={width:$,height:le,isFullscreen:Ce,isAutoplay:ve,adsContainer:w,adsVideoElement:A,slotId:c,params:f,previewParam:h,duration:g};return window.AdmanHTML?(S.initAdman(Ae),C=!0):S.loadAdman(j.signal).then(()=>{S.initAdman(Ae),C=!0}).catch(()=>{S.onAdmanLoadingError()}),()=>{!C&&ue()}});function X(j){qe[j?"unshift":"push"](()=>{A=j,t(2,A)})}function T(j){qe[j?"unshift":"push"](()=>{w=j,t(1,w)})}return i.$$set=j=>{"adsSlotId"in j&&t(17,c=j.adsSlotId),"adsParams"in j&&t(18,f=j.adsParams),"adsPreviewParam"in j&&t(19,h=j.adsPreviewParam),"duration"in j&&t(20,g=j.duration)},i.$$.update=()=>{i.$$.dirty&2097152&&t(3,z=n!==Wt.INACTIVE),i.$$.dirty&2097152&&t(4,ae=M&&n!==Wt.INACTIVE),i.$$.dirty&2097153&&t(5,te=o&&n!==Wt.INACTIVE)},[o,w,A,z,ae,te,l,s,r,a,p,b,L,I,J,G,Y,c,f,h,g,n,X,T]}class Nu extends ye{constructor(e){super(),ke(this,e,w4,_4,we,{adsSlotId:17,adsParams:18,adsPreviewParam:19,duration:20},b4)}}function k4(i){Fe(i,"v-1f6baix",".annotations-container.v-1f6baix{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.annotations-container .annotations-layer > *{pointer-events:initial}.annotations-container.shifted.v-1f6baix{height:calc(100% - var(--controls-height) - var(--slider-height))}")}function y4(i){let e;return{c(){e=_("div"),e.innerHTML="",u(e,"class","annotations-container v-1f6baix"),V(e,"shifted",i[0])},m(t,n){y(t,e,n),i[2](e)},p(t,[n]){n&1&&V(e,"shifted",t[0])},i:Z,o:Z,d(t){t&&k(e),i[2](null)}}}function S4(i,e,t){let{showControls:n}=e,o;const s=Ct().webApi.annotationsApi;Qi(()=>{if(s)return s.registryRootContainer(o),s.reattach(),()=>s.detach()});function r(a){qe[a?"unshift":"push"](()=>{o=a,t(1,o)})}return i.$$set=a=>{"showControls"in a&&t(0,n=a.showControls)},[n,o,r]}class Ru extends ye{constructor(e){super(),ke(this,e,S4,y4,we,{showControls:0},k4)}}function C4(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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){y(o,e,l),m(e,t),m(e,n)},d(o){o&&k(e)}}}function P4(i){let e,t,n;return{c(){e=N("svg"),t=N("rect"),n=N("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){y(o,e,l),m(e,t),m(e,n)},d(o){o&&k(e)}}}function T4(i){let e;function t(l,s){return l[0]?P4:C4}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,[s]){n!==(n=t(l))&&(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(l){l&&k(e),o.d(l)}}}function E4(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class Bu extends ye{constructor(e){super(),ke(this,e,E4,T4,we,{isActive:0})}}function A4(i){Fe(i,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function L4(i){let e=fn(i[4]-i[3])+"",t;return{c(){t=He(e)},m(n,o){y(n,t,o)},p(n,o){o&24&&e!==(e=fn(n[4]-n[3])+"")&&xe(t,e)},i:Z,o:Z,d(n){n&&k(t)}}}function V4(i){let e,t,n;return t=new Bu({props:{isActive:!0}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,l){y(o,e,l),D(t,e,null),n=!0},p:Z,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function I4(i){let e,t,n,o,l,s,r;const a=[V4,L4],c=[];function f(h,g){return h[1]?0:1}return l=f(i),s=c[l]=a[l](i),{c(){e=_("div"),t=_("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=B(),o=_("span"),s.c(),u(t,"class","thumb-timer-equalizer v-7pnl2h"),u(o,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),V(e,"live",i[1]),V(e,"hidden",i[0]),V(e,"playing",i[2])},m(h,g){y(h,e,g),m(e,t),m(e,n),m(e,o),c[l].m(o,null),r=!0},p(h,[g]){let p=l;l=f(h),l===p?c[l].p(h,g):(he(),v(c[p],1,1,()=>{c[p]=null}),pe(),s=c[l],s?s.p(h,g):(s=c[l]=a[l](h),s.c()),d(s,1),s.m(o,null)),(!r||g&2)&&V(e,"live",h[1]),(!r||g&1)&&V(e,"hidden",h[0]),(!r||g&4)&&V(e,"playing",h[2])},i(h){r||(d(s),r=!0)},o(h){v(s),r=!1},d(h){h&&k(e),c[l].d()}}}function M4(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:l=!1}=e,{position:s}=e,{duration:r}=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,s=a.position),"duration"in a&&t(4,r=a.duration)},[n,o,l,s,r]}class Ou extends ye{constructor(e){super(),ke(this,e,M4,I4,we,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},A4)}}const Rl=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 N4(i){Fe(i,"v-gew86s","ul.v-gew86s{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-gew86s{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-gew86s:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function R4(i){let e,t,n,o,l,s=!i[4]&&!i[14]&&Fs(i);return{c(){e=_("li"),e.textContent=`${ne("menu_copy_video_link")}`,t=B(),s&&s.c(),n=gt(),u(e,"class","v-gew86s")},m(r,a){y(r,e,a),y(r,t,a),s&&s.m(r,a),y(r,n,a),o||(l=Ve(e,"click",ft(i[28])),o=!0)},p(r,a){!r[4]&&!r[14]?s?s.p(r,a):(s=Fs(r),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(r){r&&(k(e),k(t),k(n)),s&&s.d(r),o=!1,l()}}}function Fs(i){let e,t,n;return{c(){e=_("li"),e.textContent=`${ne("menu_copy_video_link_with_timestamp")}`,u(e,"class","v-gew86s")},m(o,l){y(o,e,l),t||(n=Ve(e,"click",ft(i[29])),t=!0)},p:Z,d(o){o&&k(e),t=!1,n()}}}function Hs(i){let e,t,n;return{c(){e=_("li"),e.textContent=`${ne("menu_pip")}`,u(e,"class","v-gew86s")},m(o,l){y(o,e,l),t||(n=Ve(e,"click",ft(i[19])),t=!0)},p:Z,d(o){o&&k(e),t=!1,n()}}}function B4(i){let e,t,n;return{c(){e=_("li"),e.textContent=`${ne("menu_video_rotate")}`,u(e,"class","v-gew86s")},m(o,l){y(o,e,l),t||(n=Ve(e,"click",ft(i[15])),t=!0)},p:Z,d(o){o&&k(e),t=!1,n()}}}function Us(i){let e,t,n;return{c(){e=_("li"),e.textContent=`${ne("menu_report")}`,u(e,"class","v-gew86s")},m(o,l){y(o,e,l),t||(n=Ve(e,"click",ft(i[16])),t=!0)},p:Z,d(o){o&&k(e),t=!1,n()}}}function O4(i){var L;let e,t,n,o,l,s,r,a,c,f,h=i[8].features.copyVideoLink&&((L=i[7].callbacks)==null?void 0:L.onCopyVideoLink)&&R4(i),g=i[9]&&i[5]!==at.ChromecastState.CONNECTED&&!i[14]&&Hs(i),p=i[8].features.videoRotate&&!i[14]&&B4(i),b=i[8].showSupport&&!i[6]&&Us(i);return{c(){e=_("ul"),h&&h.c(),t=B(),g&&g.c(),n=B(),p&&p.c(),o=B(),b&&b.c(),l=B(),s=_("li"),s.textContent=`${i[8].features.saveDebugInfoToFile?ne("menu_save_debug"):ne("menu_copy_debug")}`,r=B(),a=_("li"),a.textContent=`${ne("menu_debug_overlay")}`,u(s,"class","v-gew86s"),u(a,"class","v-gew86s"),Rt(e,"top",i[2]+"px"),Rt(e,"left",i[1]+"px"),u(e,"class","v-gew86s"),V(e,"hidden",!i[0])},m(w,A){y(w,e,A),h&&h.m(e,null),m(e,t),g&&g.m(e,null),m(e,n),p&&p.m(e,null),m(e,o),b&&b.m(e,null),m(e,l),m(e,s),m(e,r),m(e,a),i[30](e),c||(f=[Ve(s,"click",ft(i[17])),Ve(a,"click",ft(i[18])),Ve(e,"contextmenu",pi(i[27]))],c=!0)},p(w,A){var C;w[8].features.copyVideoLink&&((C=w[7].callbacks)!=null&&C.onCopyVideoLink)&&h.p(w,A),w[9]&&w[5]!==at.ChromecastState.CONNECTED&&!w[14]?g?g.p(w,A):(g=Hs(w),g.c(),g.m(e,n)):g&&(g.d(1),g=null),w[8].features.videoRotate&&!w[14]&&p.p(w,A),w[8].showSupport&&!w[6]?b?b.p(w,A):(b=Us(w),b.c(),b.m(e,l)):b&&(b.d(1),b=null),A[0]&4&&Rt(e,"top",w[2]+"px"),A[0]&2&&Rt(e,"left",w[1]+"px"),A[0]&1&&V(e,"hidden",!w[0])},i:Z,o:Z,d(w){w&&k(e),h&&h.d(),g&&g.d(),p&&p.d(),b&&b.d(),i[30](null),c=!1,ei(f)}}}function z4(i,e,t){var U;let n,o,l,s,{visible:r=!1}=e,{supportLink:a}=e,{x:c=0}=e,{y:f=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:g=void 0}=e,{returnFocus:p}=e,b=0,L=0;const w=Ct(),A=Xi(),C=w.ui.contextMenuVisible,I=w.ui.debugPanelVisible,M=w.webApi.pictureInPictureApi,J=(U=w.webApi.pictureInPictureApi)==null?void 0:U.info.isActive$;W(i,J,E=>t(6,s=E));const G=w.state.chromecastState$;W(i,G,E=>t(5,l=E));const Y=w.state.isLive$;W(i,Y,E=>t(4,o=E));const z=w.state.positionExact$;W(i,z,E=>t(31,n=E));const ae=w.state.isInteractive;let te;const X=(E,re)=>{if(!te||!h||!g)return;const q=te.getBoundingClientRect(),Ee=h.getBoundingClientRect();t(1,b=E-Ee.left),t(2,L=re-Ee.top),b+q.width>Ee.width&&t(1,b=Ee.width-q.width),L+q.height>Ee.height&&t(2,L=Ee.height-q.height),t(1,b=Math.max(b,0)),t(2,L=Math.max(L,0))},T=()=>{C.set(!1),w.actions.internal.videoRotate()},j=()=>{window.open(a,"_blank"),C.set(!1),w.actions.internal.pause()},ue=()=>{const E=w.actions.internal.getDebugTextData();if(A.features.saveDebugInfoToFile){const re=new Blob([...E],{type:"plain/text"}),q=window.URL.createObjectURL(re);D1(q,"vk_player_debug_info","txt")}else Rl(w.actions.internal.getDebugTextData());C.set(!1),p==null||p()},S=()=>{I.set(!0),C.set(!1),p==null||p()},$=()=>On(this,null,function*(){try{M!=null&&M.isActive()?yield M==null?void 0:M.remove():yield M==null?void 0:M.request()}finally{C.set(!1),p==null||p()}}),le=(E=!1)=>{var re,q;if((re=w.callbacks)!=null&&re.onCopyVideoLink){const Ee=(q=w.callbacks)==null?void 0:q.onCopyVideoLink(E,n);Ee&&Rl(Ee)}C.set(!1)};function Ce(E){to.call(this,i,E)}const ve=()=>le(),Ae=()=>le(!0);function Se(E){qe[E?"unshift":"push"](()=>{te=E,t(3,te)})}return i.$$set=E=>{"visible"in E&&t(0,r=E.visible),"supportLink"in E&&t(21,a=E.supportLink),"x"in E&&t(22,c=E.x),"y"in E&&t(23,f=E.y),"playerContainerRef"in E&&t(24,h=E.playerContainerRef),"controlsContainerRef"in E&&t(25,g=E.controlsContainerRef),"returnFocus"in E&&t(26,p=E.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&12582912&&X(c,f)},[r,b,L,te,o,l,s,w,A,M,J,G,Y,z,ae,T,j,ue,S,$,le,a,c,f,h,g,p,Ce,ve,Ae,Se]}class D4 extends ye{constructor(e){super(),ke(this,e,z4,O4,we,{visible:0,supportLink:21,x:22,y:23,playerContainerRef:24,controlsContainerRef:25,returnFocus:26},N4,[-1,-1])}}class F4{constructor(e){this.value=e,this.next=null}}class bl{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new F4(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 H4(i){Fe(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function U4(i){let e,t;return{c(){e=_("div"),t=_("canvas"),u(t,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,o){y(n,e,o),m(e,t),i[3](t)},p:Z,i:Z,o:Z,d(n){n&&k(e),i[3](null)}}}const _l=16,wl=120,js=60;function j4(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function q4(i,e,t){let{values:n=[]}=e,o,l;const s=wl/js;Qi(()=>{t(0,o.width=wl,o),t(0,o.height=_l,o),t(2,l=o.getContext("2d"))});function r(a){qe[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,wl,_l);let c=js-1;for(let f=n.length-1;f>=0;f--){const h=c*s,g=a>0?_l*(n[f]/a):0;j4(l,h,0,s,g),c--}}},[o,n,l,r]}class jl extends ye{constructor(e){super(),ke(this,e,q4,U4,we,{values:1},H4)}}function W4(i){Fe(i,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function qs(i){let e,t,n,o,l=i[0].id+"",s;return{c(){e=_("div"),t=_("div"),t.textContent="Video id",n=B(),o=_("span"),s=He(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){y(r,e,a),m(e,t),m(e,n),m(e,o),m(o,s)},p(r,a){a&1&&l!==(l=r[0].id+"")&&xe(s,l)},d(r){r&&k(e)}}}function Ws(i){let e,t,n,o,l=i[0].provider+"",s;return{c(){e=_("div"),t=_("div"),t.textContent="Provider",n=B(),o=_("span"),s=He(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){y(r,e,a),m(e,t),m(e,n),m(e,o),m(o,s)},p(r,a){a&1&&l!==(l=r[0].provider+"")&&xe(s,l)},d(r){r&&k(e)}}}function Zs(i){let e,t,n,o,l=i[0].viewport+"",s;return{c(){e=_("div"),t=_("div"),t.textContent="Viewport",n=B(),o=_("span"),s=He(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){y(r,e,a),m(e,t),m(e,n),m(e,o),m(o,s)},p(r,a){a&1&&l!==(l=r[0].viewport+"")&&xe(s,l)},d(r){r&&k(e)}}}function Gs(i){let e,t,n,o,l=i[0].videoSize+"",s;return{c(){e=_("div"),t=_("div"),t.textContent="Video size",n=B(),o=_("span"),s=He(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){y(r,e,a),m(e,t),m(e,n),m(e,o),m(o,s)},p(r,a){a&1&&l!==(l=r[0].videoSize+"")&&xe(s,l)},d(r){r&&k(e)}}}function Ks(i){let e,t,n,o,l=i[0].cdn+"",s;return{c(){e=_("div"),t=_("div"),t.textContent="CDN host",n=B(),o=_("span"),s=He(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){y(r,e,a),m(e,t),m(e,n),m(e,o),m(o,s)},p(r,a){a&1&&l!==(l=r[0].cdn+"")&&xe(s,l)},d(r){r&&k(e)}}}function Ys(i){let e,t,n,o,l=i[0].volume+"",s,r;return{c(){e=_("div"),t=_("div"),t.textContent="Volume",n=B(),o=_("span"),s=He(l),r=He(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){y(a,e,c),m(e,t),m(e,n),m(e,o),m(o,s),m(o,r)},p(a,c){c&1&&l!==(l=a[0].volume+"")&&xe(s,l)},d(a){a&&k(e)}}}function Qs(i){let e,t,n,o,l=i[0].buffer.toFixed(2)+"",s,r;return{c(){e=_("div"),t=_("div"),t.textContent="Buffer",n=B(),o=_("span"),s=He(l),r=He(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){y(a,e,c),m(e,t),m(e,n),m(e,o),m(o,s),m(o,r)},p(a,c){c&1&&l!==(l=a[0].buffer.toFixed(2)+"")&&xe(s,l)},d(a){a&&k(e)}}}function Xs(i){let e,t,n,o,l,s,r=i[0].speed.toFixed(2)+"",a,c,f;return o=new jl({props:{values:i[5]}}),{c(){e=_("div"),t=_("div"),t.textContent="Network",n=B(),H(o.$$.fragment),l=B(),s=_("span"),a=He(r),c=He(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,g){y(h,e,g),m(e,t),m(e,n),D(o,e,null),m(e,l),m(e,s),m(s,a),m(s,c),f=!0},p(h,g){const p={};g&32&&(p.values=h[5]),o.$set(p),(!f||g&1)&&r!==(r=h[0].speed.toFixed(2)+"")&&xe(a,r)},i(h){f||(d(o.$$.fragment,h),f=!0)},o(h){v(o.$$.fragment,h),f=!1},d(h){h&&k(e),F(o)}}}function Js(i){let e,t,n,o,l,s,r=i[0].bitrate.toFixed(2)+"",a,c,f;return o=new jl({props:{values:i[6]}}),{c(){e=_("div"),t=_("div"),t.textContent="V bitrate",n=B(),H(o.$$.fragment),l=B(),s=_("span"),a=He(r),c=He(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,g){y(h,e,g),m(e,t),m(e,n),D(o,e,null),m(e,l),m(e,s),m(s,a),m(s,c),f=!0},p(h,g){const p={};g&64&&(p.values=h[6]),o.$set(p),(!f||g&1)&&r!==(r=h[0].bitrate.toFixed(2)+"")&&xe(a,r)},i(h){f||(d(o.$$.fragment,h),f=!0)},o(h){v(o.$$.fragment,h),f=!1},d(h){h&&k(e),F(o)}}}function Z4(i){let e,t,n,o,l,s,r,a,c=i[0].version+"",f,h,g,p,b,L,w,A,C,I,M,J,G,Y,z,ae,te,X,T,j,ue,S,$,le,Ce,ve,Ae,Se,U,E,re=i[0].id&&qs(i),q=i[0].provider&&Ws(i),Ee=i[0].viewport&&Zs(i),O=i[0].videoSize&&Gs(i),K=i[0].cdn&&Ks(i),Me=i[0].volume&&Ys(i),Pe=i[0].buffer&&Qs(i),ge=i[0].speed&&Xs(i),ee=i[0].bitrate&&Js(i);return le=new jl({props:{values:i[4]}}),{c(){e=_("div"),t=_("button"),t.textContent="[x]",n=B(),o=_("div"),l=_("div"),s=_("div"),s.textContent="Version",r=B(),a=_("span"),f=He(c),h=B(),re&&re.c(),g=B(),q&&q.c(),p=B(),Ee&&Ee.c(),b=B(),O&&O.c(),L=B(),K&&K.c(),w=B(),Me&&Me.c(),A=B(),Pe&&Pe.c(),C=B(),I=_("div"),M=_("div"),M.textContent="Dropped",J=B(),G=_("span"),Y=He(i[2]),z=He(" / "),ae=He(i[1]),te=He(" frames"),X=B(),ge&&ge.c(),T=B(),ee&&ee.c(),j=B(),ue=_("div"),S=_("div"),S.textContent="FPS",$=B(),H(le.$$.fragment),Ce=B(),ve=_("span"),Ae=He(i[3]),u(t,"class","close v-1gy2e68"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(s,"class","v-1gy2e68"),u(l,"class","v-1gy2e68"),u(M,"class","v-1gy2e68"),u(I,"class","v-1gy2e68"),u(S,"class","v-1gy2e68"),u(ue,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),V(e,"container-mobile",i[7])},m(ce,be){y(ce,e,be),m(e,t),m(e,n),m(e,o),m(o,l),m(l,s),m(l,r),m(l,a),m(a,f),m(o,h),re&&re.m(o,null),m(o,g),q&&q.m(o,null),m(o,p),Ee&&Ee.m(o,null),m(o,b),O&&O.m(o,null),m(o,L),K&&K.m(o,null),m(o,w),Me&&Me.m(o,null),m(o,A),Pe&&Pe.m(o,null),m(o,C),m(o,I),m(I,M),m(I,J),m(I,G),m(G,Y),m(G,z),m(G,ae),m(G,te),m(o,X),ge&&ge.m(o,null),m(o,T),ee&&ee.m(o,null),m(o,j),m(o,ue),m(ue,S),m(ue,$),D(le,ue,null),m(ue,Ce),m(ue,ve),m(ve,Ae),Se=!0,U||(E=Ve(t,"click",ft(i[9])),U=!0)},p(ce,[be]){(!Se||be&1)&&c!==(c=ce[0].version+"")&&xe(f,c),ce[0].id?re?re.p(ce,be):(re=qs(ce),re.c(),re.m(o,g)):re&&(re.d(1),re=null),ce[0].provider?q?q.p(ce,be):(q=Ws(ce),q.c(),q.m(o,p)):q&&(q.d(1),q=null),ce[0].viewport?Ee?Ee.p(ce,be):(Ee=Zs(ce),Ee.c(),Ee.m(o,b)):Ee&&(Ee.d(1),Ee=null),ce[0].videoSize?O?O.p(ce,be):(O=Gs(ce),O.c(),O.m(o,L)):O&&(O.d(1),O=null),ce[0].cdn?K?K.p(ce,be):(K=Ks(ce),K.c(),K.m(o,w)):K&&(K.d(1),K=null),ce[0].volume?Me?Me.p(ce,be):(Me=Ys(ce),Me.c(),Me.m(o,A)):Me&&(Me.d(1),Me=null),ce[0].buffer?Pe?Pe.p(ce,be):(Pe=Qs(ce),Pe.c(),Pe.m(o,C)):Pe&&(Pe.d(1),Pe=null),(!Se||be&4)&&xe(Y,ce[2]),(!Se||be&2)&&xe(ae,ce[1]),ce[0].speed?ge?(ge.p(ce,be),be&1&&d(ge,1)):(ge=Xs(ce),ge.c(),d(ge,1),ge.m(o,T)):ge&&(he(),v(ge,1,1,()=>{ge=null}),pe()),ce[0].bitrate?ee?(ee.p(ce,be),be&1&&d(ee,1)):(ee=Js(ce),ee.c(),d(ee,1),ee.m(o,j)):ee&&(he(),v(ee,1,1,()=>{ee=null}),pe());const se={};be&16&&(se.values=ce[4]),le.$set(se),(!Se||be&8)&&xe(Ae,ce[3]),(!Se||be&128)&&V(e,"container-mobile",ce[7])},i(ce){Se||(d(ge),d(ee),d(le.$$.fragment,ce),Se=!0)},o(ce){v(ge),v(ee),v(le.$$.fragment,ce),Se=!1},d(ce){ce&&k(e),re&&re.d(),q&&q.d(),Ee&&Ee.d(),O&&O.d(),K&&K.d(),Me&&Me.d(),Pe&&Pe.d(),ge&&ge.d(),ee&&ee.d(),F(le),U=!1,E()}}}function G4(i,e,t){let n;const o=Ct(),l=o.ui.debugPanelVisible,s=o.ui.isMobile;W(i,s,I=>t(7,n=I));const r=()=>{oe.safeStorage.remove(Al),l.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,h=0,g=0;const p=new bl(60),b=new bl(60),L=new bl(60);let w=[],A=[],C=[];return Qi(()=>{oe.safeStorage.set(Al,"true"),o.actions.internal.startLogging(),c&&(t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const I=window.setInterval(()=>{t(0,a=o.actions.internal.getDebugPanelData())},500);let M;return c&&(M=window.setInterval(()=>{if(c){t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames);const J=c.getVideoPlaybackQuality().totalVideoFrames;t(3,g=J-f),t(1,f=J),p.push(g),a.speed&&b.push(a.speed),a.bitrate&&L.push(a.bitrate),t(4,w=p.getValuesFromBottom()),t(5,A=b.getValuesFromBottom()),t(6,C=L.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(I),M&&clearInterval(M)}}),[a,f,h,g,w,A,C,n,s,r]}class zu extends ye{constructor(e){super(),ke(this,e,G4,Z4,we,{},W4)}}function K4(i){Fe(i,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function Y4(i){let e,t,n;return{c(){e=_("div"),u(e,"class","close v-1ome55p")},m(o,l){y(o,e,l),t||(n=Ve(e,"click",ft(i[0])),t=!0)},p:Z,i:Z,o:Z,d(o){o&&k(e),t=!1,n()}}}function Q4(i){function e(t){to.call(this,i,t)}return[e]}class X4 extends ye{constructor(e){super(),ke(this,e,Q4,Y4,we,{},K4)}}function J4(i){Fe(i,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
25
- }.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function x4(i){let e,t,n,o,l,s,r;return{c(){e=_("div"),t=_("canvas"),n=B(),o=N("svg"),l=N("g"),s=N("g"),r=N("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(r,"class","_play"),u(r,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(r,"fill","#fff"),u(s,"fill-rule","nonzero"),u(l,"fill","none"),u(l,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){y(a,e,c),m(e,t),i[2](t),m(e,n),m(e,o),m(o,l),m(l,s),m(s,r)},p:Z,i:Z,o:Z,d(a){a&&k(e),i[2](null)}}}const $4=5e3;function em(i,e,t){let{onTimerEnded:n=oe.noop}=e,o;Qi(()=>{let s;const r=o.getContext("2d");if(!r)return;r.lineWidth=6,r.lineCap="round",r.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/$4;f<1?(r.clearRect(0,0,100,100),r.beginPath(),r.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),r.stroke(),s=requestAnimationFrame(c)):n()};return s=requestAnimationFrame(c),()=>{cancelAnimationFrame(s)}});function l(s){qe[s?"unshift":"push"](()=>{o=s,t(0,o)})}return i.$$set=s=>{"onTimerEnded"in s&&t(1,n=s.onTimerEnded)},[o,n,l]}class tm extends ye{constructor(e){super(),ke(this,e,em,x4,we,{onTimerEnded:1},J4)}}function im(i){Fe(i,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function xs(i){let e,t;return e=new tm({props:{onTimerEnded:i[2]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&4&&(l.onTimerEnded=n[2]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function nm(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,C,I,M,J;r=new X4({}),r.$on("click",i[4]);let G=i[3]&&xs(i);return{c(){e=_("div"),t=B(),n=_("div"),o=_("div"),l=_("div"),l.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",s=B(),H(r.$$.fragment),a=B(),c=_("div"),f=_("div"),h=_("div"),g=_("div"),p=B(),G&&G.c(),L=B(),w=_("div"),A=_("div"),C=He(i[0]),u(e,"class","overlay v-kisfwc"),u(l,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(g,"class","thumb-overlay v-kisfwc"),u(h,"class","thumb v-kisfwc"),u(h,"style",b=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(A,"class","title v-kisfwc"),u(w,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(Y,z){y(Y,e,z),y(Y,t,z),y(Y,n,z),m(n,o),m(o,l),m(o,s),D(r,o,null),m(n,a),m(n,c),m(c,f),m(f,h),m(h,g),m(h,p),G&&G.m(h,null),m(c,L),m(c,w),m(w,A),m(A,C),I=!0,M||(J=Ve(c,"click",function(){_n(i[2])&&i[2].apply(this,arguments)}),M=!0)},p(Y,[z]){i=Y,i[3]?G?(G.p(i,z),z&8&&d(G,1)):(G=xs(i),G.c(),d(G,1),G.m(h,null)):G&&(he(),v(G,1,1,()=>{G=null}),pe()),(!I||z&2&&b!==(b=`background-image: url('${i[1]}')`))&&u(h,"style",b),(!I||z&1)&&xe(C,i[0])},i(Y){I||(d(r.$$.fragment,Y),d(G),I=!0)},o(Y){v(r.$$.fragment,Y),v(G),I=!1},d(Y){Y&&(k(e),k(t),k(n)),F(r),G&&G.d(),M=!1,J()}}}function om(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:l}=e,s=!0;const r=()=>t(3,s=!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,s,r]}class lm extends ye{constructor(e){super(),ke(this,e,om,nm,we,{title:0,thumb:1,playNextVideo:2},im)}}const Du=(i,e)=>Math.min(+(i+e).toFixed(2),1),Fu=(i,e)=>Math.max(+(i-e).toFixed(2),0),Hu=(i,e,t)=>{const n=Du(e,t);e<1&&i.actions.internal.setVolume(n)},Uu=(i,e,t)=>{const n=Fu(e,t);e>0&&i.actions.internal.setVolume(n)};function sm(i){Fe(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function rm(i){let e,t,n,o;const l=i[20].default,s=wn(l,i,i[19],null);return{c(){e=_("div"),s&&s.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(r,a){y(r,e,a),s&&s.m(e,null),i[21](e),t=!0,n||(o=[Ve(e,"keyup",i[12]),Ve(e,"keydown",i[11])],n=!0)},p(r,a){s&&s.p&&(!t||a[0]&524288)&&yn(s,l,r,r[19],t?kn(l,r[19],a,null):Sn(r[19]),null)},i(r){t||(d(s,r),t=!0)},o(r){v(s,r),t=!1},d(r){r&&k(e),s&&s.d(r),i[21](null),n=!1,ei(o)}}}function am(i,e,t){let n,o,l,s,r,a,c,f,h,g,{$$slots:p={},$$scope:b}=e,{isAds:L}=e,{hideContextMenu:w}=e,{toggleFullscreen:A}=e,{showHotKeyHelpers:C}=e,{showKeyMap:I}=e;const M=Ct(),J=Xi(),G=M.getLogger().createComponentLog("KeyboardControls component"),Y=M.state.playbackState$;W(i,Y,q=>t(25,o=q));const z=M.ads.playbackState;W(i,z,q=>t(24,n=q));const ae=M.state.positionExact$;W(i,ae,q=>t(30,c=q));const te=M.state.duration$;W(i,te,q=>t(29,a=q));const X=M.state.volume$;W(i,X,q=>t(33,g=q));const T=M.ui.controls.disabledControls$;W(i,T,q=>t(28,r=q));const j=M.state.muted$;W(i,j,q=>t(27,s=q));const ue=M.state.currentSubtitle$;W(i,ue,q=>t(26,l=q));const S=M.state.currentPlaybackRate$;W(i,S,q=>t(31,f=q));const $=M.state.availablePlaybackRates$;W(i,$,q=>t(32,h=q));let le=0,Ce=!0,ve;const Ae=()=>ve==null?void 0:ve.focus(),Se=q=>(q!==Ce&&(Ce=q,le=0),le+=1,(J.controls.seekStepKeyboard+J.controls.seekStepKeyboard*le)/1e3),U=q=>{w();const Ee=q.code,O=!s0.has(Ee);if(q.ctrlKey&&O||q.altKey&&O||q.metaKey)return;const K=o===at.PlaybackState.PLAYING||o===at.PlaybackState.PAUSED,Me=L&&(n===Wt.PAUSED||n===Wt.PLAYING),Pe=!Me&&!r.has(pt.TIMELINE);if(K||Me)switch(G({message:`key down, code: ${Ee}`}),Ee){case We.KeyJ:case We.ArrowLeft:{if(!Pe)break;if(q.ctrlKey||q.altKey){const ge=M.actions.internal.getPrevEpisode();M.actions.internal.seekToPrevEpisode(ge),ge&&C({type:Xe.EPISODE_PREV,text:ge.text}),q.preventDefault()}else{const ge=q.shiftKey?Se(!1):J.controls.seekStepKeyboard/1e3,ee=Math.max(c-ge,0);c>0&&(M.actions.internal.seekTime(ee,bt.SeekAction.DOUBLE_TAP),C({type:Xe.BACKWARD_SEEK,text:ge.toString()}),q.preventDefault())}break}case We.KeyL:case We.ArrowRight:{if(!Pe)break;if(q.ctrlKey||q.altKey){const ge=M.actions.internal.getNextEpisode();M.actions.internal.seekToNextEpisode(ge),ge&&C({type:Xe.EPISODE_NEXT,text:ge.text}),q.preventDefault()}else{const ge=q.shiftKey?Se(!0):J.controls.seekStepKeyboard/1e3,ee=Math.min(c+ge,a);Math.round(c)<Math.round(a)&&(M.actions.internal.seekTime(ee,bt.SeekAction.DOUBLE_TAP),C({type:Xe.FORWARD_SEEK,text:ge.toString()}),q.preventDefault())}break}case We.ArrowUp:{const ge=g,ee=J.controls.volumeStepKeyboard,ce=ge<=1;if(Hu(M,ge,ee),ce){const be=Math.round(Du(ge,ee)*100).toString();C({type:Xe.VOLUME,t:{key:"hotkey_helper_current_volume",value:be}})}q.preventDefault();break}case We.ArrowDown:{const ge=g,ee=J.controls.volumeStepKeyboard,ce=ge>=0;if(Uu(M,ge,ee),ce){const be=Math.round(Fu(ge,ee)*100).toString();C({type:Xe.VOLUME,t:{key:"hotkey_helper_current_volume",value:be}})}q.preventDefault();break}case We.Comma:{if(q.shiftKey){M.actions.internal.decrementPlaybackRate();const ge=h.find(ee=>ee.value===f);C({type:Xe.RATE_DOWN,text:ge==null?void 0:ge.displayValue}),q.preventDefault()}else{if(Me||o!==at.PlaybackState.PAUSED)break;const ge=Math.max(c-J.controls.seekStepFrame/1e3,0);c>0&&(C({type:Xe.BACKWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(ge,bt.SeekAction.DOUBLE_TAP),q.preventDefault())}break}case We.Period:{if(q.shiftKey){M.actions.internal.incrementPlaybackRate();const ge=h.find(ee=>ee.value===f);C({type:Xe.RATE_UP,text:ge==null?void 0:ge.displayValue}),q.preventDefault()}else{if(Me||o!==at.PlaybackState.PAUSED)break;const ge=Math.min(c+J.controls.seekStepFrame/1e3,a);c<a&&(C({type:Xe.FORWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(ge,bt.SeekAction.DOUBLE_TAP),q.preventDefault())}break}case We.KeyK:case We.Space:r.has(pt.PLAY_BUTTON)||(M.actions.internal.togglePlay(),C({type:o===at.PlaybackState.PLAYING?Xe.PLAY:Xe.STOP})),q.preventDefault();break;case We.KeyM:{C({type:s?Xe.VOLUME:Xe.MUTE}),M.actions.internal.toggleMuted(),q.preventDefault();break}case We.KeyF:A(),q.preventDefault();break;case We.KeyC:M.actions.internal.toggleSubtitle(),l.value!=="off"?C({type:Xe.SUBTITLES_ON,text:l==null?void 0:l.displayValue}):C({type:Xe.SUBTITLES_OFF}),q.preventDefault();break;case We.KeyI:M.actions.internal.togglePictureInPicture(),q.preventDefault();break;case We.Digit1:case We.Numpad1:C(),M.actions.internal.seekToPercent(.1,bt.SeekAction.DOUBLE_TAP),q.preventDefault();break;case We.Digit2:case We.Numpad2:C(),M.actions.internal.seekToPercent(.2,bt.SeekAction.DOUBLE_TAP),q.preventDefault();break;case We.Digit3:case We.Numpad3:C(),M.actions.internal.seekToPercent(.3,bt.SeekAction.DOUBLE_TAP),q.preventDefault();break;case We.Digit4:case We.Numpad4:C(),M.actions.internal.seekToPercent(.4,bt.SeekAction.DOUBLE_TAP),q.preventDefault();break;case We.Digit5:case We.Numpad5:C(),M.actions.internal.seekToPercent(.5,bt.SeekAction.DOUBLE_TAP),q.preventDefault();break;case We.Digit6:case We.Numpad6:C(),M.actions.internal.seekToPercent(.6,bt.SeekAction.DOUBLE_TAP),q.preventDefault();break;case We.Digit7:case We.Numpad7:C(),M.actions.internal.seekToPercent(.7,bt.SeekAction.DOUBLE_TAP),q.preventDefault();break;case We.Digit8:case We.Numpad8:C(),M.actions.internal.seekToPercent(.8,bt.SeekAction.DOUBLE_TAP),q.preventDefault();break;case We.Digit9:case We.Numpad9:C(),M.actions.internal.seekToPercent(.9,bt.SeekAction.DOUBLE_TAP),q.preventDefault();break;case We.Digit0:case We.Numpad0:C(),M.actions.internal.seekToPercent(0,bt.SeekAction.DOUBLE_TAP),q.preventDefault();break;case We.Slash:{q.shiftKey&&J.features.hotKeyMapModal&&(I(),q.preventDefault());break}case We.ShiftLeft:case We.ShiftRight:q.preventDefault();break;default:oe.checkNever(Ee);break}},E=q=>{const Ee=q.code;if(q.ctrlKey||q.altKey||q.metaKey)return;const O=o===at.PlaybackState.PLAYING||o===at.PlaybackState.PAUSED,K=L&&(n===Wt.PAUSED||n===Wt.PLAYING);if(O||K)switch(Ee){case We.ShiftLeft:case We.ShiftRight:le=0;break}};function re(q){qe[q?"unshift":"push"](()=>{ve=q,t(0,ve)})}return i.$$set=q=>{"isAds"in q&&t(13,L=q.isAds),"hideContextMenu"in q&&t(14,w=q.hideContextMenu),"toggleFullscreen"in q&&t(15,A=q.toggleFullscreen),"showHotKeyHelpers"in q&&t(16,C=q.showHotKeyHelpers),"showKeyMap"in q&&t(17,I=q.showKeyMap),"$$scope"in q&&t(19,b=q.$$scope)},[ve,Y,z,ae,te,X,T,j,ue,S,$,U,E,L,w,A,C,I,Ae,b,p,re]}class um extends ye{constructor(e){super(),ke(this,e,am,rm,we,{isAds:13,hideContextMenu:14,toggleFullscreen:15,showHotKeyHelpers:16,showKeyMap:17,focus:18},sm,[-1,-1])}get focus(){return this.$$.ctx[18]}}function cm(i){Fe(i,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function fm(i){let e;return{c(){e=_("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){y(t,e,n)},p:Z,i:Z,o:Z,d(t){t&&k(e)}}}class ju extends ye{constructor(e){super(),ke(this,e,null,fm,we,{},cm)}}function dm(i){let e,t,n,o,l,s,r,a,c,f,h,g,p;return{c(){e=N("svg"),t=N("g"),n=N("path"),o=N("path"),l=N("defs"),s=N("filter"),r=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),h=N("feColorMatrix"),g=N("feBlend"),p=N("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(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2422_111980"),u(p,"in","SourceGraphic"),u(p,"in2","effect1_dropShadow_2422_111980"),u(p,"result","shape"),u(s,"id","a"),u(s,"x",".5"),u(s,"y",".5"),u(s,"width","23"),u(s,"height","23"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(b,L){y(b,e,L),m(e,t),m(t,n),m(t,o),m(e,l),m(l,s),m(s,r),m(s,a),m(s,c),m(s,f),m(s,h),m(s,g),m(s,p)},p:Z,i:Z,o:Z,d(b){b&&k(e)}}}class mm extends ye{constructor(e){super(),ke(this,e,null,dm,we,{})}}function hm(i){Fe(i,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function pm(i){let e,t,n,o,l,s,r,a,c,f;const h=i[8].default,g=wn(h,i,i[7],null);return{c(){var p,b,L,w;e=_("button"),g&&g.c(),u(e,"class",t="btn "+i[0]+" v-1anemql"),u(e,"style",n=i[1]||null),e.disabled=o=(p=i[2])!=null?p:null,u(e,"aria-hidden",l=(b=i[4])!=null?b:null),u(e,"aria-label",s=(L=i[5])!=null?L:null),u(e,"data-testid",r=(w=i[3])!=null?w:null)},m(p,b){y(p,e,b),g&&g.m(e,null),a=!0,c||(f=[Ve(e,"pointerdown",ft(pi(i[9]))),Ve(e,"click",ft(pi(function(){_n(i[6])&&i[6].apply(this,arguments)})))],c=!0)},p(p,[b]){var L,w,A,C;i=p,g&&g.p&&(!a||b&128)&&yn(g,h,i,i[7],a?kn(h,i[7],b,null):Sn(i[7]),null),(!a||b&1&&t!==(t="btn "+i[0]+" v-1anemql"))&&u(e,"class",t),(!a||b&2&&n!==(n=i[1]||null))&&u(e,"style",n),(!a||b&4&&o!==(o=(L=i[2])!=null?L:null))&&(e.disabled=o),(!a||b&16&&l!==(l=(w=i[4])!=null?w:null))&&u(e,"aria-hidden",l),(!a||b&32&&s!==(s=(A=i[5])!=null?A:null))&&u(e,"aria-label",s),(!a||b&8&&r!==(r=(C=i[3])!=null?C:null))&&u(e,"data-testid",r)},i(p){a||(d(g,p),a=!0)},o(p){v(g,p),a=!1},d(p){p&&k(e),g&&g.d(p),c=!1,ei(f)}}}function vm(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:l=""}=e,{style:s=""}=e,{disabled:r=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{click:h=oe.noop}=e;function g(p){to.call(this,i,p)}return i.$$set=p=>{"className"in p&&t(0,l=p.className),"style"in p&&t(1,s=p.style),"disabled"in p&&t(2,r=p.disabled),"testId"in p&&t(3,a=p.testId),"ariaHidden"in p&&t(4,c=p.ariaHidden),"ariaLabel"in p&&t(5,f=p.ariaLabel),"click"in p&&t(6,h=p.click),"$$scope"in p&&t(7,o=p.$$scope)},[l,s,r,a,c,f,h,o,n,g]}class vi extends ye{constructor(e){super(),ke(this,e,vm,pm,we,{className:0,style:1,disabled:2,testId:3,ariaHidden:4,ariaLabel:5,click:6},hm)}}function gm(i){Fe(i,"v-1witlsj",".modal-overlay.v-1witlsj{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-1witlsj{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-1witlsj{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-1witlsj{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-1witlsj{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-1witlsj::-webkit-scrollbar{width:8px}.modal-scroll.v-1witlsj::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-1witlsj{margin:-8px -4px 0 0}")}function $s(i){let e,t,n,o,l,s=i[2]&&er(i);return{c(){e=_("div"),t=_("h3"),n=He(i[3]),o=B(),s&&s.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(r,a){y(r,e,a),m(e,t),m(t,n),m(e,o),s&&s.m(e,null),l=!0},p(r,a){(!l||a&8)&&xe(n,r[3]),r[2]?s?(s.p(r,a),a&4&&d(s,1)):(s=er(r),s.c(),d(s,1),s.m(e,null)):s&&(he(),v(s,1,1,()=>{s=null}),pe())},i(r){l||(d(s),l=!0)},o(r){v(s),l=!1},d(r){r&&k(e),s&&s.d()}}}function er(i){let e,t;return e=new vi({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:ne("hotkey_map_modal_close_btn_text"),$$slots:{default:[bm]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function bm(i){let e,t;return e=new mm({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function _m(i){let e,t,n,o,l,s,r=i[1]&&$s(i);const a=i[4].default,c=wn(a,i,i[5],null);return{c(){e=_("div"),t=_("div"),r&&r.c(),n=B(),o=_("div"),l=_("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){y(f,e,h),m(e,t),r&&r.m(t,null),m(t,n),m(t,o),m(o,l),c&&c.m(l,null),s=!0},p(f,[h]){f[1]?r?(r.p(f,h),h&2&&d(r,1)):(r=$s(f),r.c(),d(r,1),r.m(t,n)):r&&(he(),v(r,1,1,()=>{r=null}),pe()),c&&c.p&&(!s||h&32)&&yn(c,a,f,f[5],s?kn(a,f[5],h,null):Sn(f[5]),null)},i(f){s||(d(r),d(c,f),s=!0)},o(f){v(r),v(c,f),s=!1},d(f){f&&k(e),r&&r.d(),c&&c.d(f)}}}function wm(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:l}=e,{showHeader:s=!0}=e,{showCloseCross:r=!0}=e,{title:a}=e;return i.$$set=c=>{"onClose"in c&&t(0,l=c.onClose),"showHeader"in c&&t(1,s=c.showHeader),"showCloseCross"in c&&t(2,r=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[l,s,r,a,n,o]}class km extends ye{constructor(e){super(),ke(this,e,wm,_m,we,{onClose:0,showHeader:1,showCloseCross:2,title:3},gm)}}const ym=new Set(["BR"]),tr=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],s=l.tagName;ym.has(s)||(e=l.parentElement)===null||e===void 0||e.removeChild(l)}return t.innerHTML};function Sm(i){Fe(i,"v-quklnq",".hot-key-map.v-quklnq{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-quklnq{border-bottom:1px solid var(--white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-quklnq:last-child{border-bottom:none}.hot-key-map-group-title.v-quklnq{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-quklnq,.hot-key-map-item.v-quklnq{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-quklnq{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-quklnq{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-quklnq{color:var(--white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-quklnq{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-quklnq,.hot-key-map-item-value.v-quklnq{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function ir(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function nr(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function or(i){let e,t,n=tr(i[9])+"",o,l,s=i[10]+"",r,a;return{c(){e=_("li"),t=_("span"),o=B(),l=_("span"),r=He(s),a=B(),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){y(c,e,f),m(e,t),t.innerHTML=n,m(e,o),m(e,l),m(l,r),m(e,a)},p(c,f){f&1&&n!==(n=tr(c[9])+"")&&(t.innerHTML=n),f&1&&s!==(s=c[10]+"")&&xe(r,s)},d(c){c&&k(e)}}}function lr(i){let e,t,n=i[5]+"",o,l,s,r,a=qt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=or(nr(i,a,f));return{c(){e=_("div"),t=_("h5"),o=He(n),l=B(),s=_("ul");for(let f=0;f<c.length;f+=1)c[f].c();r=B(),u(t,"class","hot-key-map-group-title v-quklnq"),u(s,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,h){y(f,e,h),m(e,t),m(t,o),m(e,l),m(e,s);for(let g=0;g<c.length;g+=1)c[g]&&c[g].m(s,null);m(e,r)},p(f,h){if(h&1&&n!==(n=f[5]+"")&&xe(o,n),h&1){a=qt(f[6]);let g;for(g=0;g<a.length;g+=1){const p=nr(f,a,g);c[g]?c[g].p(p,h):(c[g]=or(p),c[g].c(),c[g].m(s,null))}for(;g<c.length;g+=1)c[g].d(1);c.length=a.length}},d(f){f&&k(e),ln(c,f)}}}function Cm(i){let e,t=qt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=lr(ir(i,t,o));return{c(){e=_("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,l){y(o,e,l);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(e,null)},p(o,l){if(l&1){t=qt(o[0].groups);let s;for(s=0;s<t.length;s+=1){const r=ir(o,t,s);n[s]?n[s].p(r,l):(n[s]=lr(r),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(o){o&&k(e),ln(n,o)}}}function Pm(i){let e,t;return e=new km({props:{title:i[0].title,onClose:i[2],$$slots:{default:[Cm]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Tm(i,e,t){let n;const o=Ct(),{data:l,show:s}=o.ui.modals.hotKeyMap;return W(i,l,a=>t(0,n=a)),[n,l,()=>{s.set(!1)}]}class Em extends ye{constructor(e){super(),ke(this,e,Tm,Pm,we,{},Sm)}}function Am(i){Fe(i,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function Lm(i){let e,t;const n=i[1].default,o=wn(n,i,i[0],null);return{c(){e=_("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(l,s){y(l,e,s),o&&o.m(e,null),t=!0},p(l,[s]){o&&o.p&&(!t||s&1)&&yn(o,n,l,l[0],t?kn(n,l[0],s,null):Sn(l[0]),null)},i(l){t||(d(o,l),t=!0)},o(l){v(o,l),t=!1},d(l){l&&k(e),o&&o.d(l)}}}function Vm(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=l=>{"$$scope"in l&&t(0,o=l.$$scope)},[o,n]}class Im extends ye{constructor(e){super(),ke(this,e,Vm,Lm,we,{},Am)}}function Mm(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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){y(o,e,l),m(e,t),m(e,n)},p:Z,i:Z,o:Z,d(o){o&&k(e)}}}class Nm extends ye{constructor(e){super(),ke(this,e,null,Mm,we,{})}}function Rm(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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){y(o,e,l),m(e,t),m(e,n)},p:Z,i:Z,o:Z,d(o){o&&k(e)}}}class Bm extends ye{constructor(e){super(),ke(this,e,null,Rm,we,{})}}function Om(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class zm extends ye{constructor(e){super(),ke(this,e,null,Om,we,{})}}function Dm(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class qu extends ye{constructor(e){super(),ke(this,e,null,Dm,we,{})}}function Fm(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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){y(o,e,l),m(e,t),m(e,n)},p:Z,i:Z,o:Z,d(o){o&&k(e)}}}class Wu extends ye{constructor(e){super(),ke(this,e,null,Fm,we,{})}}const oo=i=>{switch(i){case at.VideoQuality.Q_720P:return zm;case at.VideoQuality.Q_1080P:return qu;case at.VideoQuality.Q_1440P:return Wu;case at.VideoQuality.Q_2160P:return Nm;case at.VideoQuality.Q_4320P:return Bm}};function Hm(i){Fe(i,"v-1fzhlx0",".icon.v-1fzhlx0{display:flex;position:relative;width:24px;height:24px}.icon.v-1fzhlx0 .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-1fzhlx0 .pillow{right:-13px}")}function Um(i){let e,t,n,o,l,s,r=i[1]&&sr(i);return{c(){e=_("div"),r&&r.c(),t=B(),n=N("svg"),o=N("path"),l=N("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){y(a,e,c),r&&r.m(e,null),m(e,t),m(e,n),m(n,o),m(n,l),s=!0},p(a,c){a[1]?r?(r.p(a,c),c&2&&d(r,1)):(r=sr(a),r.c(),d(r,1),r.m(e,t)):r&&(he(),v(r,1,1,()=>{r=null}),pe()),(!s||c&2)&&V(l,"hidden",!!a[1]),(!s||c&4)&&V(e,"triple",a[2])},i(a){s||(d(r),s=!0)},o(a){v(r),s=!1},d(a){a&&k(e),r&&r.d()}}}function jm(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}function sr(i){let e,t;return e=new Im({props:{$$slots:{default:[qm]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&18&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function qm(i){let e,t,n;var o=i[1];function l(s){return{}}return o&&(e=dn(o,l())),{c(){e&&H(e.$$.fragment),t=gt()},m(s,r){e&&D(e,s,r),y(s,t,r),n=!0},p(s,r){if(r&2&&o!==(o=s[1])){if(e){he();const a=e;v(a.$$.fragment,1,0,()=>{F(a,1)}),pe()}o?(e=dn(o,l()),H(e.$$.fragment),d(e.$$.fragment,1),D(e,t.parentNode,t)):e=null}},i(s){n||(e&&d(e.$$.fragment,s),n=!0)},o(s){e&&v(e.$$.fragment,s),n=!1},d(s){s&&k(t),e&&F(e,s)}}}function Wm(i){let e,t,n,o;const l=[jm,Um],s=[];function r(a,c){return a[0]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=gt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?s[e].p(a,c):(he(),v(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function Zm(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:l=void 0}=e,s;return i.$$set=r=>{"isMobile"in r&&t(0,o=r.isMobile),"currentQuality"in r&&t(3,l=r.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=oo(l)),i.$$.dirty&2&&t(2,s=!!n&&[qu,Wu].includes(n))},[o,n,s,l]}class Zu extends ye{constructor(e){super(),ke(this,e,Zm,Wm,we,{isMobile:0,currentQuality:3},Hm)}}function Gm(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Gu extends ye{constructor(e){super(),ke(this,e,null,Gm,we,{})}}function Km(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Ym extends ye{constructor(e){super(),ke(this,e,null,Km,we,{})}}function Qm(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Xm extends ye{constructor(e){super(),ke(this,e,null,Qm,we,{})}}function Jm(i){let e,t,n,o;return{c(){e=N("svg"),t=N("g"),n=N("path"),o=N("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(l,s){y(l,e,s),m(e,t),m(t,n),m(t,o)},p:Z,i:Z,o:Z,d(l){l&&k(e)}}}class xm extends ye{constructor(e){super(),ke(this,e,null,Jm,we,{})}}function $m(i){Fe(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function eh(i){let e,t,n;return{c(){e=N("svg"),t=N("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){y(o,e,l),m(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&&k(e)}}}function th(i){let e,t,n;return{c(){e=N("svg"),t=N("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){y(o,e,l),m(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&&k(e)}}}function ih(i){let e;function t(l,s){return l[1]?th:eh}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(l){l&&k(e),o.d(l)}}}function nh(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,l,s;return i.$$set=r=>{"direction"in r&&t(3,n=r.direction),"color"in r&&t(0,o=r.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,l=["up","down"].includes(n)),t(2,s=["right","down"].includes(n)))},[o,l,s,n]}class Ln extends ye{constructor(e){super(),ke(this,e,nh,ih,we,{direction:3,color:0},$m)}}function oh(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class lh extends ye{constructor(e){super(),ke(this,e,null,oh,we,{})}}function sh(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Co extends ye{constructor(e){super(),ke(this,e,null,sh,we,{})}}function rh(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class ah extends ye{constructor(e){super(),ke(this,e,null,rh,we,{})}}function uh(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class ch extends ye{constructor(e){super(),ke(this,e,null,uh,we,{})}}function fh(i){Fe(i,"v-79x8pk","ul.v-79x8pk.v-79x8pk{margin:0;padding:0}.menu.v-79x8pk.v-79x8pk{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s;overflow:hidden}.container-mobile.v-79x8pk.v-79x8pk{width:100%}.menu-desktop.v-79x8pk.v-79x8pk{position:absolute;right:0;bottom:0}.menu-mobile.v-79x8pk.v-79x8pk{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-79x8pk.v-79x8pk{display:none}.menu-subList.v-79x8pk.v-79x8pk{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-79x8pk.v-79x8pk{min-width:164px}.menu-subList-traffic-saving.v-79x8pk.v-79x8pk{min-width:286px}.item.v-79x8pk.v-79x8pk{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-79x8pk.v-79x8pk{padding:0 14px}.item-quality.item-mobile.v-79x8pk.v-79x8pk,.item-traffic-saving.item-mobile.v-79x8pk.v-79x8pk,.item-helper-text.item-mobile.v-79x8pk.v-79x8pk{flex-direction:row-reverse}.item-helper-text.v-79x8pk.v-79x8pk{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-79x8pk span.v-79x8pk{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-79x8pk.v-79x8pk{padding:7px 14px}.item-helper-text.item-mobile.v-79x8pk span.v-79x8pk{text-align:start}.quality-title-mobile.v-79x8pk.v-79x8pk{flex-grow:1}.item.v-79x8pk.v-79x8pk:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-79x8pk.v-79x8pk:hover{background:var(--mobile-settings-bg)}.menu-subList.v-79x8pk .item.v-79x8pk{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-79x8pk .item.v-79x8pk:last-child{margin-bottom:4px}.menu-icon-wrapper.v-79x8pk.v-79x8pk{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-79x8pk.v-79x8pk{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-79x8pk.v-79x8pk{position:relative;opacity:0.7}.menu-valueIcon.v-79x8pk.v-79x8pk{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-79x8pk.v-79x8pk{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-79x8pk svg,.menu-valueIcon-list.v-79x8pk svg{color:var(--blue-light)}.menu-divider.v-79x8pk.v-79x8pk{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-79x8pk.v-79x8pk{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-79x8pk.v-79x8pk{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar{width:8px}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-79x8pk.v-79x8pk{overflow-y:auto;max-height:160px;text-align:left}.close.v-79x8pk.v-79x8pk{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-79x8pk.v-79x8pk:before,.close.v-79x8pk.v-79x8pk:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-79x8pk.v-79x8pk:before{transform:rotate(45deg)}.close.v-79x8pk.v-79x8pk:after{transform:rotate(-45deg)}")}function rr(i,e,t){const n=i.slice();return n[83]=e[t],n}function ar(i,e,t){const n=i.slice();return n[86]=e[t],n}function ur(i,e,t){const n=i.slice();return n[89]=e[t],n}function cr(i){let e,t,n,o,l,s,r,a;return{c(){e=_("div"),t=_("div"),t.textContent=`${ne("submenu_settings")}`,n=B(),o=_("div"),l=B(),s=_("div"),u(o,"class","close v-79x8pk"),u(e,"class","item menu-header v-79x8pk"),V(e,"item-mobile",i[4]),u(s,"class","menu-divider v-79x8pk")},m(c,f){y(c,e,f),m(e,t),m(e,n),m(e,o),y(c,l,f),y(c,s,f),r||(a=Ve(o,"click",ft(i[44])),r=!0)},p(c,f){f[0]&16&&V(e,"item-mobile",c[4])},d(c){c&&(k(e),k(l),k(s)),r=!1,a()}}}function fr(i){let e,t,n,o,l,s,r,a,c,f,h,g;n=new Zu({});let p=i[21]&&!i[4]&&dr(i);return{c(){e=_("li"),t=_("div"),H(n.$$.fragment),o=B(),l=_("div"),l.textContent=`${ne("menu_quality")}`,s=B(),r=_("div"),a=He(i[12]),c=B(),p&&p.c(),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(r,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),V(e,"item-mobile",i[4])},m(b,L){y(b,e,L),m(e,t),D(n,t,null),m(e,o),m(e,l),m(e,s),m(e,r),m(r,a),m(r,c),p&&p.m(r,null),f=!0,h||(g=Ve(e,"click",ft(i[45])),h=!0)},p(b,L){(!f||L[0]&4096)&&xe(a,b[12]),b[21]&&!b[4]?p?(p.p(b,L),L[0]&2097168&&d(p,1)):(p=dr(b),p.c(),d(p,1),p.m(r,null)):p&&(he(),v(p,1,1,()=>{p=null}),pe()),(!f||L[0]&16)&&V(e,"item-mobile",b[4])},i(b){f||(d(n.$$.fragment,b),d(p),f=!0)},o(b){v(n.$$.fragment,b),v(p),f=!1},d(b){b&&k(e),F(n),p&&p.d(),h=!1,g()}}}function dr(i){let e,t,n;var o=i[21];function l(s){return{}}return o&&(t=dn(o,l())),{c(){e=_("div"),t&&H(t.$$.fragment),u(e,"class","menu-valueIcon v-79x8pk")},m(s,r){y(s,e,r),t&&D(t,e,null),n=!0},p(s,r){if(r[0]&2097152&&o!==(o=s[21])){if(t){he();const a=t;v(a.$$.fragment,1,0,()=>{F(a,1)}),pe()}o?(t=dn(o,l()),H(t.$$.fragment),d(t.$$.fragment,1),D(t,e,null)):t=null}},i(s){n||(t&&d(t.$$.fragment,s),n=!0)},o(s){t&&v(t.$$.fragment,s),n=!1},d(s){s&&k(e),t&&F(t)}}}function mr(i){let e,t,n,o,l,s,r,a,c,f,h,g;return n=new xm({}),{c(){e=_("li"),t=_("div"),H(n.$$.fragment),o=B(),l=_("div"),l.textContent=`${ne("menu_playback_rate")}`,s=B(),r=_("div"),a=He(i[22]),c=He("x"),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(r,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),V(e,"item-mobile",i[4])},m(p,b){y(p,e,b),m(e,t),D(n,t,null),m(e,o),m(e,l),m(e,s),m(e,r),m(r,a),m(r,c),f=!0,h||(g=Ve(e,"click",ft(i[49])),h=!0)},p(p,b){(!f||b[0]&4194304)&&xe(a,p[22]),(!f||b[0]&16)&&V(e,"item-mobile",p[4])},i(p){f||(d(n.$$.fragment,p),f=!0)},o(p){v(n.$$.fragment,p),f=!1},d(p){p&&k(e),F(n),h=!1,g()}}}function hr(i){let e,t,n,o,l,s,r,a=i[23].displayValue+"",c,f,h,g;return n=new Gu({}),{c(){e=_("li"),t=_("div"),H(n.$$.fragment),o=B(),l=_("div"),l.textContent=`${ne("subtitles_caption")}`,s=B(),r=_("div"),c=He(a),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(r,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),V(e,"item-mobile",i[4])},m(p,b){y(p,e,b),m(e,t),D(n,t,null),m(e,o),m(e,l),m(e,s),m(e,r),m(r,c),f=!0,h||(g=Ve(e,"click",ft(i[51])),h=!0)},p(p,b){(!f||b[0]&8388608)&&a!==(a=p[23].displayValue+"")&&xe(c,a),(!f||b[0]&16)&&V(e,"item-mobile",p[4])},i(p){f||(d(n.$$.fragment,p),f=!0)},o(p){v(n.$$.fragment,p),f=!1},d(p){p&&k(e),F(n),h=!1,g()}}}function pr(i){let e,t,n,o,l,s,r,a=(i[24]?ne("traffic_saving_on"):ne("traffic_saving_off"))+"",c,f,h,g;return n=new Xm({}),{c(){e=_("li"),t=_("div"),H(n.$$.fragment),o=B(),l=_("div"),l.textContent=`${ne("menu_traffic_saving")}`,s=B(),r=_("div"),c=He(a),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(r,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),V(e,"item-mobile",i[4])},m(p,b){y(p,e,b),m(e,t),D(n,t,null),m(e,o),m(e,l),m(e,s),m(e,r),m(r,c),f=!0,h||(g=Ve(e,"click",ft(i[46])),h=!0)},p(p,b){(!f||b[0]&16777216)&&a!==(a=(p[24]?ne("traffic_saving_on"):ne("traffic_saving_off"))+"")&&xe(c,a),(!f||b[0]&16)&&V(e,"item-mobile",p[4])},i(p){f||(d(n.$$.fragment,p),f=!0)},o(p){v(n.$$.fragment,p),f=!1},d(p){p&&k(e),F(n),h=!1,g()}}}function vr(i){let e,t,n,o,l,s,r,a;return n=new Ym({}),{c(){e=_("li"),t=_("div"),H(n.$$.fragment),o=B(),l=_("div"),l.textContent=`${ne("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","menuitemradio"),u(e,"tabindex","0"),V(e,"item-mobile",i[4])},m(c,f){y(c,e,f),m(e,t),D(n,t,null),m(e,o),m(e,l),s=!0,r||(a=Ve(e,"click",ft(i[54])),r=!0)},p(c,f){(!s||f[0]&16)&&V(e,"item-mobile",c[4])},i(c){s||(d(n.$$.fragment,c),s=!0)},o(c){v(n.$$.fragment,c),s=!1},d(c){c&&k(e),F(n),r=!1,a()}}}function gr(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w=i[26].showSupport&&dh(i);return o=new ah({}),f=new ch({}),{c(){w&&w.c(),e=B(),t=_("li"),n=_("div"),H(o.$$.fragment),l=B(),s=_("div"),s.textContent=`${ne("menu_copy_debug")}`,r=B(),a=_("li"),c=_("div"),H(f.$$.fragment),h=B(),g=_("div"),g.textContent=`${ne("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-79x8pk"),u(s,"class","menu-title v-79x8pk"),u(t,"class","item item-mobile v-79x8pk"),u(t,"role","menuitemradio"),u(t,"tabindex","0"),u(c,"class","menu-icon-wrapper v-79x8pk"),u(g,"class","menu-title v-79x8pk"),u(a,"class","item item-mobile v-79x8pk"),u(a,"role","menuitemradio"),u(a,"tabindex","0")},m(A,C){w&&w.m(A,C),y(A,e,C),y(A,t,C),m(t,n),D(o,n,null),m(t,l),m(t,s),y(A,r,C),y(A,a,C),m(a,c),D(f,c,null),m(a,h),m(a,g),p=!0,b||(L=[Ve(t,"click",ft(i[56])),Ve(a,"click",ft(i[57]))],b=!0)},p(A,C){A[26].showSupport&&w.p(A,C)},i(A){p||(d(w),d(o.$$.fragment,A),d(f.$$.fragment,A),p=!0)},o(A){v(w),v(o.$$.fragment,A),v(f.$$.fragment,A),p=!1},d(A){A&&(k(e),k(t),k(r),k(a)),w&&w.d(A),F(o),F(f),b=!1,ei(L)}}}function dh(i){let e,t,n,o,l,s,r,a;return n=new lh({}),{c(){e=_("li"),t=_("div"),H(n.$$.fragment),o=B(),l=_("div"),l.textContent=`${ne("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","menuitemradio"),u(e,"tabindex","0")},m(c,f){y(c,e,f),m(e,t),D(n,t,null),m(e,o),m(e,l),s=!0,r||(a=Ve(e,"click",ft(i[55])),r=!0)},p:Z,i(c){s||(d(n.$$.fragment,c),s=!0)},o(c){v(n.$$.fragment,c),s=!1},d(c){c&&k(e),F(n),r=!1,a()}}}function br(i){let e,t,n;return t=new Co({}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){y(o,e,l),D(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function _r(i){let e,t,n;var o=oo(i[89].value);function l(s){return{}}return o&&(t=dn(o,l())),{c(){e=_("div"),t&&H(t.$$.fragment),u(e,"class","menu-valueIcon-list v-79x8pk")},m(s,r){y(s,e,r),t&&D(t,e,null),n=!0},p(s,r){if(r[0]&32&&o!==(o=oo(s[89].value))){if(t){he();const a=t;v(a.$$.fragment,1,0,()=>{F(a,1)}),pe()}o?(t=dn(o,l()),H(t.$$.fragment),d(t.$$.fragment,1),D(t,e,null)):t=null}},i(s){n||(t&&d(t.$$.fragment,s),n=!0)},o(s){t&&v(t.$$.fragment,s),n=!1},d(s){s&&k(e),t&&F(t)}}}function wr(i){let e,t,n,o=i[89].displayValue+"",l,s,r=!i[4]&&oo(i[89].value),a,c,f,h,g,p=i[89].selected&&br(),b=r&&_r(i);function L(){return i[71](i[89])}return{c(){e=_("li"),p&&p.c(),t=B(),n=_("div"),l=He(o),s=B(),b&&b.c(),a=B(),u(n,"class","v-79x8pk"),V(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",c=i[89].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),V(e,"item-mobile",i[4])},m(w,A){y(w,e,A),p&&p.m(e,null),m(e,t),m(e,n),m(n,l),m(e,s),b&&b.m(e,null),m(e,a),f=!0,h||(g=Ve(e,"click",ft(L)),h=!0)},p(w,A){i=w,i[89].selected?p?A[0]&32&&d(p,1):(p=br(),p.c(),d(p,1),p.m(e,t)):p&&(he(),v(p,1,1,()=>{p=null}),pe()),(!f||A[0]&32)&&o!==(o=i[89].displayValue+"")&&xe(l,o),(!f||A[0]&16)&&V(n,"quality-title-mobile",i[4]),A[0]&48&&(r=!i[4]&&oo(i[89].value)),r?b?(b.p(i,A),A[0]&48&&d(b,1)):(b=_r(i),b.c(),d(b,1),b.m(e,a)):b&&(he(),v(b,1,1,()=>{b=null}),pe()),(!f||A[0]&32&&c!==(c=i[89].value))&&u(e,"data-value",c),(!f||A[0]&16)&&V(e,"item-mobile",i[4])},i(w){f||(d(p),d(b),f=!0)},o(w){v(p),v(b),f=!1},d(w){w&&k(e),p&&p.d(),b&&b.d(),h=!1,g()}}}function kr(i){let e,t,n;return t=new Co({}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){y(o,e,l),D(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function yr(i){let e,t,n,o=i[86].displayValue+"",l,s,r,a,c,f,h=i[86].selected&&kr();function g(){return i[73](i[86])}return{c(){e=_("li"),h&&h.c(),t=B(),n=_("div"),l=He(o),s=B(),u(n,"class","v-79x8pk"),V(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",r=i[86].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),V(e,"item-mobile",i[4])},m(p,b){y(p,e,b),h&&h.m(e,null),m(e,t),m(e,n),m(n,l),m(e,s),a=!0,c||(f=Ve(e,"click",ft(g)),c=!0)},p(p,b){i=p,i[86].selected?h?b[0]&33554432&&d(h,1):(h=kr(),h.c(),d(h,1),h.m(e,t)):h&&(he(),v(h,1,1,()=>{h=null}),pe()),(!a||b[0]&33554432)&&o!==(o=i[86].displayValue+"")&&xe(l,o),(!a||b[0]&16)&&V(n,"quality-title-mobile",i[4]),(!a||b[0]&33554432&&r!==(r=i[86].value))&&u(e,"data-value",r),(!a||b[0]&16)&&V(e,"item-mobile",i[4])},i(p){a||(d(h),a=!0)},o(p){v(h),a=!1},d(p){p&&k(e),h&&h.d(),c=!1,f()}}}function Sr(i){let e,t,n;return t=new Co({}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){y(o,e,l),D(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function Cr(i){let e,t,n;return t=new Co({}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){y(o,e,l),D(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function Pr(i){let e,t,n;return t=new Co({}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){y(o,e,l),D(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function Tr(i){let e,t,n,o=i[83].displayValue+"",l,s,r,a,c,f,h=i[83].selected&&Pr();function g(){return i[77](i[83])}return{c(){e=_("li"),h&&h.c(),t=B(),n=_("div"),l=He(o),s=B(),u(n,"class","v-79x8pk"),V(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",r=i[83].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),V(e,"item-mobile",i[4])},m(p,b){y(p,e,b),h&&h.m(e,null),m(e,t),m(e,n),m(n,l),m(e,s),a=!0,c||(f=Ve(e,"click",ft(g)),c=!0)},p(p,b){i=p,i[83].selected?h?b[0]&8&&d(h,1):(h=Pr(),h.c(),d(h,1),h.m(e,t)):h&&(he(),v(h,1,1,()=>{h=null}),pe()),(!a||b[0]&8)&&o!==(o=i[83].displayValue+"")&&xe(l,o),(!a||b[0]&16)&&V(n,"quality-title-mobile",i[4]),(!a||b[0]&8&&r!==(r=i[83].value))&&u(e,"data-value",r),(!a||b[0]&16)&&V(e,"item-mobile",i[4])},i(p){a||(d(h),a=!0)},o(p){v(h),a=!1},d(p){p&&k(e),h&&h.d(),c=!1,f()}}}function mh(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,C,I,M,J,G,Y,z,ae,te,X,T,j,ue,S,$,le,Ce,ve,Ae,Se,U,E,re,q,Ee,O,K,Me,Pe,ge,ee,ce,be,se,Ge,Ue,ut,nt,ze,dt,kt,Ne,Be,zt,me,tt=i[4]&&cr(i),$e=i[20]&&fr(i),Je=i[19]&&mr(i),Ke=i[18]&&hr(i),Ye=i[17]&&pr(i),et=i[16]&&vr(i),lt=i[4]&&gr(i);p=new Ln({props:{direction:"left"}});let ot=qt(i[5]),De=[];for(let de=0;de<ot.length;de+=1)De[de]=wr(ur(i,ot,de));const Vt=de=>v(De[de],1,1,()=>{De[de]=null});Y=new Ln({props:{direction:"left"}});let Pt=qt(i[25]),st=[];for(let de=0;de<Pt.length;de+=1)st[de]=yr(ar(i,Pt,de));const li=de=>v(st[de],1,1,()=>{st[de]=null});le=new Ln({props:{direction:"left"}});let mt=!i[24]&&Sr(),Qe=i[24]&&Cr();nt=new Ln({props:{direction:"left"}});let At=qt(i[3]),ct=[];for(let de=0;de<At.length;de+=1)ct[de]=Tr(rr(i,At,de));const gi=de=>v(ct[de],1,1,()=>{ct[de]=null});return{c(){e=_("div"),t=_("div"),tt&&tt.c(),n=B(),o=_("ul"),$e&&$e.c(),l=B(),Je&&Je.c(),s=B(),Ke&&Ke.c(),r=B(),Ye&&Ye.c(),a=B(),et&&et.c(),c=B(),lt&&lt.c(),f=B(),h=_("div"),g=_("div"),H(p.$$.fragment),b=B(),L=_("div"),L.textContent=`${ne("submenu_quality")}`,w=B(),A=_("div"),C=B(),I=_("ul");for(let de=0;de<De.length;de+=1)De[de].c();M=B(),J=_("div"),G=_("div"),H(Y.$$.fragment),z=B(),ae=_("div"),ae.textContent=`${ne("submenu_playback_rate")}`,te=B(),X=_("div"),T=B(),j=_("ul");for(let de=0;de<st.length;de+=1)st[de].c();ue=B(),S=_("div"),$=_("div"),H(le.$$.fragment),Ce=B(),ve=_("div"),ve.textContent=`${ne("submenu_traffic_saving")}`,Ae=B(),Se=_("div"),U=B(),E=_("ul"),re=_("li"),mt&&mt.c(),q=B(),Ee=_("div"),Ee.textContent=`${ne("traffic_saving_disable")}`,O=B(),K=_("li"),Qe&&Qe.c(),Me=B(),Pe=_("div"),Pe.textContent=`${ne("traffic_saving_enable")}`,ge=B(),ee=_("div"),ce=B(),be=_("div"),se=_("span"),se.textContent=`${ne("traffic_saving_helper_text")}`,Ge=B(),Ue=_("div"),ut=_("div"),H(nt.$$.fragment),ze=B(),dt=_("div"),dt.textContent=`${ne("subtitles_caption")}`,kt=B(),Ne=_("ul");for(let de=0;de<ct.length;de+=1)ct[de].c();u(o,"class","items v-79x8pk"),V(o,"items-mobile",i[4]),u(t,"class","menu v-79x8pk"),u(t,"role","menu"),V(t,"menu-desktop",!i[4]),V(t,"menu-mobile",i[4]),V(t,"hidden",!i[7]),u(g,"class","item menu-header v-79x8pk"),V(g,"item-mobile",i[4]),u(A,"class","menu-divider v-79x8pk"),u(I,"class","items v-79x8pk"),u(I,"style",i[13]),V(I,"items-mobile",i[4]),u(h,"class","menu menu-subList v-79x8pk"),V(h,"menu-desktop",!i[4]),V(h,"menu-mobile",i[4]),V(h,"hidden",!i[8]),u(G,"class","item menu-header v-79x8pk"),V(G,"item-mobile",i[4]),u(X,"class","menu-divider v-79x8pk"),u(j,"class","items v-79x8pk"),u(j,"style",i[14]),V(j,"items-mobile",i[4]),u(J,"class","menu menu-subList v-79x8pk"),V(J,"menu-desktop",!i[4]),V(J,"menu-mobile",i[4]),V(J,"hidden",!i[9]),u($,"class","item menu-header v-79x8pk"),V($,"item-mobile",i[4]),u(Se,"class","menu-divider v-79x8pk"),u(Ee,"class","v-79x8pk"),V(Ee,"quality-title-mobile",i[4]),u(re,"class","item item-traffic-saving v-79x8pk"),u(re,"role","menuitemradio"),u(re,"tabindex","0"),V(re,"item-mobile",i[4]),u(Pe,"class","v-79x8pk"),V(Pe,"quality-title-mobile",i[4]),u(K,"class","item item-traffic-saving v-79x8pk"),u(K,"role","menuitemradio"),u(K,"tabindex","0"),V(K,"item-mobile",i[4]),u(E,"class","items v-79x8pk"),u(E,"style",i[15]),V(E,"items-mobile",i[4]),u(ee,"class","menu-divider v-79x8pk"),u(se,"class","v-79x8pk"),u(be,"class","item item-helper-text v-79x8pk"),V(be,"item-mobile",i[4]),u(S,"class","menu menu-subList menu-subList-traffic-saving v-79x8pk"),V(S,"menu-desktop",!i[4]),V(S,"menu-mobile",i[4]),V(S,"hidden",!i[11]),u(ut,"class","item menu-header v-79x8pk"),V(ut,"item-mobile",i[4]),u(Ne,"class","items v-79x8pk"),V(Ne,"items-mobile",i[4]),u(Ue,"class","menu menu-subList menu-subList-subtitles v-79x8pk"),V(Ue,"menu-desktop",!i[4]),V(Ue,"menu-mobile",i[4]),V(Ue,"hidden",!i[10]),u(e,"class","v-79x8pk"),V(e,"hidden",!i[6]),V(e,"container-mobile",i[4])},m(de,Te){y(de,e,Te),m(e,t),tt&&tt.m(t,null),m(t,n),m(t,o),$e&&$e.m(o,null),m(o,l),Je&&Je.m(o,null),m(o,s),Ke&&Ke.m(o,null),m(o,r),Ye&&Ye.m(o,null),m(o,a),et&&et.m(o,null),m(o,c),lt&&lt.m(o,null),m(e,f),m(e,h),m(h,g),D(p,g,null),m(g,b),m(g,L),i[70](g),m(h,w),m(h,A),m(h,C),m(h,I);for(let Ie=0;Ie<De.length;Ie+=1)De[Ie]&&De[Ie].m(I,null);m(e,M),m(e,J),m(J,G),D(Y,G,null),m(G,z),m(G,ae),i[72](G),m(J,te),m(J,X),m(J,T),m(J,j);for(let Ie=0;Ie<st.length;Ie+=1)st[Ie]&&st[Ie].m(j,null);m(e,ue),m(e,S),m(S,$),D(le,$,null),m($,Ce),m($,ve),i[74]($),m(S,Ae),m(S,Se),m(S,U),m(S,E),m(E,re),mt&&mt.m(re,null),m(re,q),m(re,Ee),m(E,O),m(E,K),Qe&&Qe.m(K,null),m(K,Me),m(K,Pe),m(S,ge),m(S,ee),m(S,ce),m(S,be),m(be,se),m(e,Ge),m(e,Ue),m(Ue,ut),D(nt,ut,null),m(ut,ze),m(ut,dt),m(Ue,kt),m(Ue,Ne);for(let Ie=0;Ie<ct.length;Ie+=1)ct[Ie]&&ct[Ie].m(Ne,null);Be=!0,zt||(me=[Ve(g,"click",ft(i[53])),Ve(G,"click",ft(i[53])),Ve($,"click",ft(i[53])),Ve(re,"click",ft(i[75])),Ve(K,"click",ft(i[76])),Ve(ut,"click",ft(i[53]))],zt=!0)},p(de,Te){if(de[4]?tt?tt.p(de,Te):(tt=cr(de),tt.c(),tt.m(t,n)):tt&&(tt.d(1),tt=null),de[20]?$e?($e.p(de,Te),Te[0]&1048576&&d($e,1)):($e=fr(de),$e.c(),d($e,1),$e.m(o,l)):$e&&(he(),v($e,1,1,()=>{$e=null}),pe()),de[19]?Je?(Je.p(de,Te),Te[0]&524288&&d(Je,1)):(Je=mr(de),Je.c(),d(Je,1),Je.m(o,s)):Je&&(he(),v(Je,1,1,()=>{Je=null}),pe()),de[18]?Ke?(Ke.p(de,Te),Te[0]&262144&&d(Ke,1)):(Ke=hr(de),Ke.c(),d(Ke,1),Ke.m(o,r)):Ke&&(he(),v(Ke,1,1,()=>{Ke=null}),pe()),de[17]?Ye?(Ye.p(de,Te),Te[0]&131072&&d(Ye,1)):(Ye=pr(de),Ye.c(),d(Ye,1),Ye.m(o,a)):Ye&&(he(),v(Ye,1,1,()=>{Ye=null}),pe()),de[16]?et?(et.p(de,Te),Te[0]&65536&&d(et,1)):(et=vr(de),et.c(),d(et,1),et.m(o,c)):et&&(he(),v(et,1,1,()=>{et=null}),pe()),de[4]?lt?(lt.p(de,Te),Te[0]&16&&d(lt,1)):(lt=gr(de),lt.c(),d(lt,1),lt.m(o,null)):lt&&(he(),v(lt,1,1,()=>{lt=null}),pe()),(!Be||Te[0]&16)&&V(o,"items-mobile",de[4]),(!Be||Te[0]&16)&&V(t,"menu-desktop",!de[4]),(!Be||Te[0]&16)&&V(t,"menu-mobile",de[4]),(!Be||Te[0]&128)&&V(t,"hidden",!de[7]),(!Be||Te[0]&16)&&V(g,"item-mobile",de[4]),Te[0]&48|Te[1]&65536){ot=qt(de[5]);let Ie;for(Ie=0;Ie<ot.length;Ie+=1){const It=ur(de,ot,Ie);De[Ie]?(De[Ie].p(It,Te),d(De[Ie],1)):(De[Ie]=wr(It),De[Ie].c(),d(De[Ie],1),De[Ie].m(I,null))}for(he(),Ie=ot.length;Ie<De.length;Ie+=1)Vt(Ie);pe()}if((!Be||Te[0]&8192)&&u(I,"style",de[13]),(!Be||Te[0]&16)&&V(I,"items-mobile",de[4]),(!Be||Te[0]&16)&&V(h,"menu-desktop",!de[4]),(!Be||Te[0]&16)&&V(h,"menu-mobile",de[4]),(!Be||Te[0]&256)&&V(h,"hidden",!de[8]),(!Be||Te[0]&16)&&V(G,"item-mobile",de[4]),Te[0]&33554448|Te[1]&524288){Pt=qt(de[25]);let Ie;for(Ie=0;Ie<Pt.length;Ie+=1){const It=ar(de,Pt,Ie);st[Ie]?(st[Ie].p(It,Te),d(st[Ie],1)):(st[Ie]=yr(It),st[Ie].c(),d(st[Ie],1),st[Ie].m(j,null))}for(he(),Ie=Pt.length;Ie<st.length;Ie+=1)li(Ie);pe()}if((!Be||Te[0]&16384)&&u(j,"style",de[14]),(!Be||Te[0]&16)&&V(j,"items-mobile",de[4]),(!Be||Te[0]&16)&&V(J,"menu-desktop",!de[4]),(!Be||Te[0]&16)&&V(J,"menu-mobile",de[4]),(!Be||Te[0]&512)&&V(J,"hidden",!de[9]),(!Be||Te[0]&16)&&V($,"item-mobile",de[4]),de[24]?mt&&(he(),v(mt,1,1,()=>{mt=null}),pe()):mt?Te[0]&16777216&&d(mt,1):(mt=Sr(),mt.c(),d(mt,1),mt.m(re,q)),(!Be||Te[0]&16)&&V(Ee,"quality-title-mobile",de[4]),(!Be||Te[0]&16)&&V(re,"item-mobile",de[4]),de[24]?Qe?Te[0]&16777216&&d(Qe,1):(Qe=Cr(),Qe.c(),d(Qe,1),Qe.m(K,Me)):Qe&&(he(),v(Qe,1,1,()=>{Qe=null}),pe()),(!Be||Te[0]&16)&&V(Pe,"quality-title-mobile",de[4]),(!Be||Te[0]&16)&&V(K,"item-mobile",de[4]),(!Be||Te[0]&32768)&&u(E,"style",de[15]),(!Be||Te[0]&16)&&V(E,"items-mobile",de[4]),(!Be||Te[0]&16)&&V(be,"item-mobile",de[4]),(!Be||Te[0]&16)&&V(S,"menu-desktop",!de[4]),(!Be||Te[0]&16)&&V(S,"menu-mobile",de[4]),(!Be||Te[0]&2048)&&V(S,"hidden",!de[11]),(!Be||Te[0]&16)&&V(ut,"item-mobile",de[4]),Te[0]&24|Te[1]&2097152){At=qt(de[3]);let Ie;for(Ie=0;Ie<At.length;Ie+=1){const It=rr(de,At,Ie);ct[Ie]?(ct[Ie].p(It,Te),d(ct[Ie],1)):(ct[Ie]=Tr(It),ct[Ie].c(),d(ct[Ie],1),ct[Ie].m(Ne,null))}for(he(),Ie=At.length;Ie<ct.length;Ie+=1)gi(Ie);pe()}(!Be||Te[0]&16)&&V(Ne,"items-mobile",de[4]),(!Be||Te[0]&16)&&V(Ue,"menu-desktop",!de[4]),(!Be||Te[0]&16)&&V(Ue,"menu-mobile",de[4]),(!Be||Te[0]&1024)&&V(Ue,"hidden",!de[10]),(!Be||Te[0]&64)&&V(e,"hidden",!de[6]),(!Be||Te[0]&16)&&V(e,"container-mobile",de[4])},i(de){if(!Be){d($e),d(Je),d(Ke),d(Ye),d(et),d(lt),d(p.$$.fragment,de);for(let Te=0;Te<ot.length;Te+=1)d(De[Te]);d(Y.$$.fragment,de);for(let Te=0;Te<Pt.length;Te+=1)d(st[Te]);d(le.$$.fragment,de),d(mt),d(Qe),d(nt.$$.fragment,de);for(let Te=0;Te<At.length;Te+=1)d(ct[Te]);Be=!0}},o(de){v($e),v(Je),v(Ke),v(Ye),v(et),v(lt),v(p.$$.fragment,de),De=De.filter(Boolean);for(let Te=0;Te<De.length;Te+=1)v(De[Te]);v(Y.$$.fragment,de),st=st.filter(Boolean);for(let Te=0;Te<st.length;Te+=1)v(st[Te]);v(le.$$.fragment,de),v(mt),v(Qe),v(nt.$$.fragment,de),ct=ct.filter(Boolean);for(let Te=0;Te<ct.length;Te+=1)v(ct[Te]);Be=!1},d(de){de&&k(e),tt&&tt.d(),$e&&$e.d(),Je&&Je.d(),Ke&&Ke.d(),Ye&&Ye.d(),et&&et.d(),lt&&lt.d(),F(p),i[70](null),ln(De,de),F(Y),i[72](null),ln(st,de),F(le),i[74](null),mt&&mt.d(),Qe&&Qe.d(),F(nt),ln(ct,de),zt=!1,ei(me)}}}const kl=18;function hh(i,e,t){let n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,C,I,M,{supportLink:J}=e,{playerControlsHeight:G=0}=e,{returnFocus:Y}=e;const z=Ct(),ae=Xi(),te=z.state.currentQuality$;W(i,te,Le=>t(69,L=Le));const X=z.state.availableQualities$;W(i,X,Le=>t(5,b=Le));const T=z.state.autoQualityLimitingAvailable$;W(i,T,Le=>t(63,r=Le));const j=z.state.isAutoQualityEnabled$;W(i,j,Le=>t(68,p=Le));const ue=z.state.currentPlaybackRate$;W(i,ue,Le=>t(22,A=Le));const S=z.state.availablePlaybackRates$;W(i,S,Le=>t(25,M=Le));const $=z.state.currentSubtitle$;W(i,$,Le=>t(23,C=Le));const le=z.state.availableSubtitlesList$;W(i,le,Le=>t(3,s=Le));const Ce=z.state.canDownload,ve=z.state.hasMpegSources$;W(i,ve,Le=>t(64,a=Le));const Ae=z.ui.settingsMenuVisible;W(i,Ae,Le=>t(6,w=Le));const Se=z.ui.isMobile;W(i,Se,Le=>t(4,f=Le));const U=z.ui.mobileNotReportControlHidden$;W(i,U,Le=>t(61,o=Le));const E=z.state.canChangePlaybackSpeed$;W(i,E,Le=>t(62,l=Le));const re=z.ui.isFullscreen;W(i,re,Le=>t(67,g=Le));const q=z.state.trafficSavingEnabled$;W(i,q,Le=>t(24,I=Le));const Ee=z.ui.playerSize;W(i,Ee,Le=>t(66,h=Le));const O=z.ui.debugPanelVisible,K=z.ui.playerSize;W(i,K,Le=>t(65,c=Le));const Me=z.actions.internal.downloadVideo;let Pe=!0,ge=!1,ee=!1,ce=!1,be=!1;function se(){Y==null||Y(),Ae.set(!1)}function Ge(){t(7,Pe=!1),t(8,ge=!0)}function Ue(){t(7,Pe=!1),t(11,be=!0)}function ut(Le){z.actions.internal.setQuality(Le),se()}function nt(Le){z.actions.internal.setTrafficSavingEnabled(Le),se()}function ze(){t(7,Pe=!1),t(9,ee=!0)}function dt(Le){z.actions.internal.setPlaybackRate(Le),se()}function kt(){t(7,Pe=!1),t(10,ce=!0)}function Ne(Le){z.actions.internal.setSubtitle(Le),se()}function Be(){t(7,Pe=!0),t(8,ge=!1),t(9,ee=!1),t(10,ce=!1),t(11,be=!1)}function zt(){Me(),se()}function me(){window.open(J,"_blank"),se(),z.actions.internal.pause()}function tt(){Rl(z.actions.internal.getDebugTextData()),se()}function $e(){O.set(!0),se()}function Je(Le,ti,si){if(!Le)return"...";const Dt=ti.find(Ft=>Ft.value===Le),Li=Dt?Dt.displayValue:Le;return si?Le===at.VideoQuality.INVARIANT?ne("auto_quality_invariant"):ne("auto_quality",{actual:Li}):Li}let Ke,Ye,et,lt,ot,De,Vt,Pt,st,li,mt,Qe;function At(Le){qe[Le?"unshift":"push"](()=>{Ye=Le,t(0,Ye)})}const ct=Le=>ut(Le.value);function gi(Le){qe[Le?"unshift":"push"](()=>{et=Le,t(1,et)})}const de=Le=>dt(Le.value);function Te(Le){qe[Le?"unshift":"push"](()=>{lt=Le,t(2,lt)})}const Ie=()=>nt(!1),It=()=>nt(!0),Jt=Le=>Ne(Le);return i.$$set=Le=>{"supportLink"in Le&&t(58,J=Le.supportLink),"playerControlsHeight"in Le&&t(59,G=Le.playerControlsHeight),"returnFocus"in Le&&t(60,Y=Le.returnFocus)},i.$$.update=()=>{var Le,ti,si;if(i.$$.dirty[0]&64&&w&&(t(7,Pe=!0),t(8,ge=!1),t(9,ee=!1),t(10,ce=!1),t(11,be=!1)),i.$$.dirty[2]&128&&t(21,n=oo(L)),i.$$.dirty[0]&32|i.$$.dirty[2]&192&&t(12,Ke=Je(L,b,p)),i.$$.dirty[0]&17|i.$$.dirty[1]&268435456|i.$$.dirty[2]&56)if(f&&g)t(13,ot=`max-height: ${Math.round(h.height*.6)}px`);else if(f)t(13,ot="");else{const Dt=c.height-kl-((Le=Ye==null?void 0:Ye.clientHeight)!=null?Le:0)-G;t(13,ot=`max-height: ${Dt}px; overflow: auto;`)}if(i.$$.dirty[0]&18|i.$$.dirty[1]&268435456|i.$$.dirty[2]&8)if(f)t(14,De="");else{const Dt=c.height-kl-((ti=et==null?void 0:et.clientHeight)!=null?ti:0)-G;t(14,De=`max-height: ${Dt}px; overflow: auto;`)}if(i.$$.dirty[0]&20|i.$$.dirty[1]&268435456|i.$$.dirty[2]&8)if(f)t(15,Vt="");else{const Dt=c.height-kl-((si=lt==null?void 0:lt.clientHeight)!=null?si:0)-G;t(15,Vt=`max-height: ${Dt}px; overflow: auto;`)}i.$$.dirty[1]&1073741824|i.$$.dirty[2]&4&&t(16,Pt=Ce&&a&&!o),i.$$.dirty[1]&1073741824|i.$$.dirty[2]&2&&t(17,st=ae.features.trafficSaving&&!o&&r),i.$$.dirty[0]&8|i.$$.dirty[1]&1073741824&&t(18,li=s.length>0&&!o),i.$$.dirty[1]&1073741824|i.$$.dirty[2]&1&&t(19,mt=!!l&&!o),i.$$.dirty[1]&1073741824&&t(20,Qe=!o)},[Ye,et,lt,s,f,b,w,Pe,ge,ee,ce,be,Ke,ot,De,Vt,Pt,st,li,mt,Qe,n,A,C,I,M,ae,te,X,T,j,ue,S,$,le,ve,Ae,Se,U,E,re,q,Ee,K,se,Ge,Ue,ut,nt,ze,dt,kt,Ne,Be,zt,me,tt,$e,J,G,Y,o,l,r,a,c,h,g,p,L,At,ct,gi,de,Te,Ie,It,Jt]}class Ku extends ye{constructor(e){super(),ke(this,e,hh,mh,we,{supportLink:58,playerControlsHeight:59,returnFocus:60},fh,[-1,-1,-1])}}function ph(i){Fe(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function vh(i){let e,t,n;return t=new Zu({props:{isMobile:i[1],currentQuality:i[2]}}),{c(){e=_("span"),H(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l&2&&(s.isMobile=o[1]),l&4&&(s.currentQuality=o[2]),t.$set(s)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function gh(i){let e,t;return e=new vi({props:{testId:"btn-settings",click:i[6],ariaLabel:i[0],$$slots:{default:[vh]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function bh(i,e,t){let n,o,l;const s=Ct(),r=s.state.currentQuality$;W(i,r,g=>t(2,l=g));const a=s.ui.settingsMenuVisible;W(i,a,g=>t(7,n=g));const c=s.ui.isMobile;W(i,c,g=>t(1,o=g));let f;function h(){a.set(!n)}return i.$$.update=()=>{i.$$.dirty&128&&t(0,f=ne(n?"tooltip_settings_on":"tooltip_settings_off"))},[f,o,l,r,a,c,h,n]}class ql extends ye{constructor(e){super(),ke(this,e,bh,gh,we,{},ph)}}function _h(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class wh extends ye{constructor(e){super(),ke(this,e,null,_h,we,{})}}function kh(i){let e,t;return e=new Gu({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function yh(i){let e,t;return e=new wh({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Sh(i){let e,t,n,o;const l=[yh,kh],s=[];function r(a,c){return a[0]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=gt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e!==f&&(he(),v(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t||(t=s[e]=l[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function Ch(i){let e,t;return e=new vi({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],$$slots:{default:[Sh]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ph(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,l;return i.$$set=s=>{"isSubtitlesEnabled"in s&&t(0,n=s.isSubtitlesEnabled),"click"in s&&t(1,o=s.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=ne(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,l]}class Th extends ye{constructor(e){super(),ke(this,e,Ph,Ch,we,{isSubtitlesEnabled:0,click:1})}}function Eh(i){Fe(i,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function Er(i){let e,t;return{c(){e=_("span"),t=He(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){y(n,e,o),m(e,t)},p(n,o){o&8&&xe(t,n[3])},d(n){n&&k(e)}}}function Ah(i){let e,t,n,o,l,s=i[2]&&Er(i);return{c(){e=_("div"),t=_("span"),n=He(i[4]),o=B(),s&&s.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),Fn(()=>i[7].call(e)),V(e,"mobile",i[1])},m(r,a){y(r,e,a),m(e,t),m(t,n),m(e,o),s&&s.m(e,null),l=qo(e,i[7].bind(e))},p(r,[a]){a&16&&xe(n,r[4]),r[2]?s?s.p(r,a):(s=Er(r),s.c(),s.m(e,null)):s&&(s.d(1),s=null),a&2&&V(e,"mobile",r[1])},i:Z,o:Z,d(r){r&&k(e),s&&s.d(),l()}}}function Lh(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:l}=e,{showDuration:s=!0}=e,{width:r}=e,a,c;function f(){r=this.clientWidth,t(0,r)}return i.$$set=h=>{"isMobile"in h&&t(1,n=h.isMobile),"duration"in h&&t(5,o=h.duration),"position"in h&&t(6,l=h.position),"showDuration"in h&&t(2,s=h.showDuration),"width"in h&&t(0,r=h.width)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=fn(o)),i.$$.dirty&64&&t(4,c=fn(l))},[r,n,s,a,c,o,l,f]}class Yu extends ye{constructor(e){super(),ke(this,e,Lh,Ah,we,{isMobile:1,duration:5,position:6,showDuration:2,width:0},Eh)}}function Vh(i){Fe(i,"v-1n5yyua",".icon.v-1n5yyua.v-1n5yyua{display:block;width:24px;height:24px}.icon.v-1n5yyua .cross.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .wave1.v-1n5yyua,.icon[data-value='off'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .cross.v-1n5yyua{visibility:visible}.icon[data-value='mid'].v-1n5yyua .wave2.v-1n5yyua,.icon[data-value='min'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}")}function Ih(i){let e,t,n,o,l,s;return{c(){e=N("svg"),t=N("g"),n=N("path"),o=N("path"),l=N("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(l,"class","cross v-1n5yyua"),u(l,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"data-value",i[0]),u(e,"data-testid",s="volume-"+i[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(r,a){y(r,e,a),m(e,t),m(t,n),m(t,o),m(t,l)},p(r,[a]){a&1&&u(e,"data-value",r[0]),a&1&&s!==(s="volume-"+r[0]+"-icon")&&u(e,"data-testid",s)},i:Z,o:Z,d(r){r&&k(e)}}}function Mh(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const l=(r,a)=>a?"off":r>.5?"max":r>.2?"mid":r>0?"min":"off";let s;return i.$$set=r=>{"volume"in r&&t(1,n=r.volume),"muted"in r&&t(2,o=r.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,s=l(n,o))},[s,n,o]}class Qo extends ye{constructor(e){super(),ke(this,e,Mh,Ih,we,{volume:1,muted:2},Vh)}}function Nh(i){let e,t;const n=i[4].default,o=wn(n,i,i[3],null);return{c(){e=_("div"),o&&o.c(),u(e,"class","overlay")},m(l,s){y(l,e,s),o&&o.m(e,null),i[5](e),t=!0},p(l,[s]){o&&o.p&&(!t||s&8)&&yn(o,n,l,l[3],t?kn(n,l[3],s,null):Sn(l[3]),null)},i(l){t||(d(o,l),t=!0)},o(l){v(o,l),t=!1},d(l){l&&k(e),o&&o.d(l),i[5](null)}}}function Rh(i,e,t){let n,{$$slots:o={},$$scope:l}=e;const r=Ct().ui.overlayContainer$;W(i,r,g=>t(2,n=g));let a;const c=g=>{!g||!a||!g.contains(a)||g.removeChild(a)},f=g=>{!g||!a||g.contains(a)||g.appendChild(a)};Qi(()=>(f(n),()=>c(n)));function h(g){qe[g?"unshift":"push"](()=>{a=g,t(0,a)})}return i.$$set=g=>{"$$scope"in g&&t(3,l=g.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&f(n)},[a,r,n,l,o,h]}class Bh extends ye{constructor(e){super(),ke(this,e,Rh,Nh,we,{})}}function Oh(i){Fe(i,"v-1jbbzcj",'.tooltip-wrapper.v-1jbbzcj{display:flex;flex-direction:column;min-width:0}.full-width.v-1jbbzcj{width:100%}.tooltip.v-1jbbzcj{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-1jbbzcj{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-1jbbzcj{opacity:1;visibility:visible}.tooltip-pointer.v-1jbbzcj{position:absolute;bottom:0;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}')}function Ar(i){let e,t;return e=new Bh({props:{$$slots:{default:[zh]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&262387&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function zh(i){let e,t,n,o,l,s,r;return{c(){e=_("div"),t=_("div"),n=He(i[1]),o=B(),l=_("div"),u(t,"class","content v-1jbbzcj"),u(l,"class","tooltip-pointer v-1jbbzcj"),u(l,"style",s=`transform: translate(${i[5]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",r=`transform: translate(${i[6]}px, ${i[7]}px);`),V(e,"active",i[0])},m(a,c){y(a,e,c),m(e,t),m(t,n),m(e,o),m(e,l),i[17](e)},p(a,c){c&2&&xe(n,a[1]),c&32&&s!==(s=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(l,"style",s),c&192&&r!==(r=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",r),c&1&&V(e,"active",a[0])},d(a){a&&k(e),i[17](null)}}}function Dh(i){let e,t,n,o,l,s;const r=i[15].default,a=wn(r,i,i[18],null);let c=i[1]&&Ar(i);return{c(){e=_("div"),a&&a.c(),t=B(),c&&c.c(),n=gt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),V(e,"full-width",i[2])},m(f,h){y(f,e,h),a&&a.m(e,null),i[16](e),y(f,t,h),c&&c.m(f,h),y(f,n,h),o=!0,l||(s=[Ve(e,"mouseenter",i[11]),Ve(e,"mousemove",i[11]),Ve(e,"mouseleave",i[12]),Ve(e,"mousedown",i[12]),Ve(e,"mouseup",i[11])],l=!0)},p(f,[h]){a&&a.p&&(!o||h&262144)&&yn(a,r,f,f[18],o?kn(r,f[18],h,null):Sn(f[18]),null),(!o||h&4)&&V(e,"full-width",f[2]),f[1]?c?(c.p(f,h),h&2&&d(c,1)):(c=Ar(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(he(),v(c,1,1,()=>{c=null}),pe())},i(f){o||(d(a,f),d(c),o=!0)},o(f){v(a,f),v(c),o=!1},d(f){f&&(k(e),k(t),k(n)),a&&a.d(f),i[16](null),c&&c.d(f),l=!1,ei(s)}}}const Bo=5;function Fh(i,e,t){let n,o,{$$slots:l={},$$scope:s}=e,{content:r=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:h=!1}=e,g,p,b,L=0,w=Bo,A=0,C=0;const I=Xi(),M=Ct(),J=M.ui.playerSize;W(i,J,S=>t(21,o=S));const G=M.ui.overlayContainer$;W(i,G,S=>t(20,n=S));const Y=M.getLogger().createComponentLog("Tooltip component"),z=()=>{if(!n)return;const S=n.getBoundingClientRect(),$=g.getBoundingClientRect(),le=$.width,Ce=p.clientWidth,ve=o.width,Ae=(le-Ce)/2,Se=$.left+c-S.left;let U=Se+Ae;const E=$.top+f-S.top;let re=Ce/2-Bo;const q=U<S.left+fo,Ee=U+Ce>ve-fo;q&&(U=fo,re=Se+$.width/2-2.5*Bo),Ee&&(U=ve-fo-Ce,re=$.left-S.left+$.width/2-U-Bo),t(6,A=U),t(7,C=E),t(5,L=re)},ae=()=>{try{if(!n||!g)return;z(),t(0,a=!0)}catch(S){Y({message:String(S)})}},te=()=>{t(0,a=!1)},X=()=>{p&&(b||(b=window.setTimeout(ae,I.controls.hideTimeoutTooltips)),a&&ae())},T=()=>{te(),window.clearTimeout(b),b=void 0};Wo(()=>window.clearTimeout(b));function j(S){qe[S?"unshift":"push"](()=>{g=S,t(3,g)})}function ue(S){qe[S?"unshift":"push"](()=>{p=S,t(4,p)})}return i.$$set=S=>{"content"in S&&t(1,r=S.content),"active"in S&&t(0,a=S.active),"translateX"in S&&t(13,c=S.translateX),"translateY"in S&&t(14,f=S.translateY),"isFullWidthWrapper"in S&&t(2,h=S.isFullWidthWrapper),"$$scope"in S&&t(18,s=S.$$scope)},[a,r,h,g,p,L,A,C,w,J,G,X,T,c,f,l,j,ue,s]}class Qu extends ye{constructor(e){super(),ke(this,e,Fh,Dh,we,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},Oh)}}function Hh(i){Fe(i,"v-p9r045",".btn-container.v-p9r045{position:relative;display:flex;align-items:center;height:100%;transition:var(--button-hover-transition);will-change:opacity;-webkit-tap-highlight-color:transparent}.w-max.v-p9r045{width:100%;min-width:0}")}function Uh(i){let e;const t=i[15].default,n=wn(t,i,i[19],null);return{c(){n&&n.c()},m(o,l){n&&n.m(o,l),e=!0},p(o,l){n&&n.p&&(!e||l&524288)&&yn(n,t,o,o[19],e?kn(t,o[19],l,null):Sn(o[19]),null)},i(o){e||(d(n,o),e=!0)},o(o){v(n,o),e=!1},d(o){n&&n.d(o)}}}function jh(i){let e,t;return e=new Qu({props:{content:i[8],translateX:i[6],translateY:i[7],isFullWidthWrapper:i[3],$$slots:{default:[qh]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function qh(i){let e;const t=i[15].default,n=wn(t,i,i[19],null);return{c(){n&&n.c()},m(o,l){n&&n.m(o,l),e=!0},p(o,l){n&&n.p&&(!e||l&524288)&&yn(n,t,o,o[19],e?kn(t,o[19],l,null):Sn(o[19]),null)},i(o){e||(d(n,o),e=!0)},o(o){v(n,o),e=!1},d(o){n&&n.d(o)}}}function Wh(i){let e,t,n,o,l,s,r,a,c;const f=[jh,Uh],h=[];function g(p,b){return p[2]&&p[4]&&!p[9]?0:1}return t=g(i),n=h[t]=f[t](i),{c(){e=_("div"),n.c(),u(e,"class",o="btn-container "+i[1]+" v-p9r045"),u(e,"aria-hidden",l=i[5]||null),Fn(()=>i[18].call(e))},m(p,b){y(p,e,b),h[t].m(e,null),s=qo(e,i[18].bind(e)),r=!0,a||(c=[Ve(e,"pointerdown",ft(pi(i[16]))),Ve(e,"click",ft(pi(i[17])))],a=!0)},p(p,[b]){let L=t;t=g(p),t===L?h[t].p(p,b):(he(),v(h[L],1,1,()=>{h[L]=null}),pe(),n=h[t],n?n.p(p,b):(n=h[t]=f[t](p),n.c()),d(n,1),n.m(e,null)),(!r||b&2&&o!==(o="btn-container "+p[1]+" v-p9r045"))&&u(e,"class",o),(!r||b&32&&l!==(l=p[5]||null))&&u(e,"aria-hidden",l)},i(p){r||(d(n),r=!0)},o(p){v(n),r=!1},d(p){p&&k(e),h[t].d(),s(),a=!1,ei(c)}}}function Zh(i,e,t){let n,o,{$$slots:l={},$$scope:s}=e,{className:r=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{width:f}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:g=""}=e,{disabledTooltipContent:p=ne("tooltip_button_disabled")}=e,{isAriaHidden:b=!1}=e,{initialTranslateXPx:L=0}=e,{initialTranslateYPx:w=-18}=e;const A=Ct(),C=A.ui.isMobile;W(i,C,z=>t(9,o=z));const I=A.state.graphIsOpened$;W(i,I,z=>t(14,n=z));let M;function J(z){to.call(this,i,z)}function G(z){to.call(this,i,z)}function Y(){f=this.clientWidth,t(0,f)}return i.$$set=z=>{"className"in z&&t(1,r=z.className),"disabled"in z&&t(12,a=z.disabled),"hasTooltip"in z&&t(2,c=z.hasTooltip),"width"in z&&t(0,f=z.width),"isFullWidthTooltip"in z&&t(3,h=z.isFullWidthTooltip),"tooltipContent"in z&&t(4,g=z.tooltipContent),"disabledTooltipContent"in z&&t(13,p=z.disabledTooltipContent),"isAriaHidden"in z&&t(5,b=z.isAriaHidden),"initialTranslateXPx"in z&&t(6,L=z.initialTranslateXPx),"initialTranslateYPx"in z&&t(7,w=z.initialTranslateYPx),"$$scope"in z&&t(19,s=z.$$scope)},i.$$.update=()=>{i.$$.dirty&28688&&(a?t(8,M=n?ne("tooltip_disabled_when_graph_on"):p):t(8,M=g))},[f,r,c,h,g,b,L,w,M,o,C,I,a,p,n,l,J,G,Y,s]}class Zt extends ye{constructor(e){super(),ke(this,e,Zh,Wh,we,{className:1,disabled:12,hasTooltip:2,width:0,isFullWidthTooltip:3,tooltipContent:4,disabledTooltipContent:13,isAriaHidden:5,initialTranslateXPx:6,initialTranslateYPx:7},Hh)}}function Gh(i){let e,t,n,o,l;return{c(){e=N("svg"),t=N("rect"),o=N("path"),u(t,"width","20"),u(t,"height","20"),u(t,"rx","10"),u(t,"fill","white"),u(t,"fill-opacity",n=i[0]?1:.24),u(o,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(o,"fill",l=i[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(s,r){y(s,e,r),m(e,t),m(e,o)},p(s,[r]){r&1&&n!==(n=s[0]?1:.24)&&u(t,"fill-opacity",n),r&1&&l!==(l=s[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",l)},i:Z,o:Z,d(s){s&&k(e)}}}function Kh(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class Yh extends ye{constructor(e){super(),ke(this,e,Kh,Gh,we,{completed:0})}}function Qh(i){Fe(i,"v-bklhpe",".interactive-episode-icon.v-bklhpe{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}.interactive-episode-icon.disabled.v-bklhpe{pointer-events:none;opacity:0.4}")}function Xh(i){let e,t,n,o,l;return t=new Yh({props:{completed:!!i[0].completed}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),Fn(()=>i[3].call(e)),V(e,"disabled",i[1])},m(s,r){y(s,e,r),D(t,e,null),o=qo(e,i[3].bind(e)),l=!0},p(s,r){const a={};r&1&&(a.completed=!!s[0].completed),t.$set(a),(!l||r&1&&n!==(n=`left: ${s[0].from+s[0].width/2}%`))&&u(e,"style",n),(!l||r&2)&&V(e,"disabled",s[1])},i(s){l||(d(t.$$.fragment,s),l=!0)},o(s){v(t.$$.fragment,s),l=!1},d(s){s&&k(e),F(t),o()}}}function Jh(i){let e,t;return e=new Zt({props:{tooltipContent:ne(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:[Xh]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.tooltipContent=ne(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function xh(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,l;function s(){l=this.clientWidth,t(2,l)}return i.$$set=r=>{"videoEpisode"in r&&t(0,n=r.videoEpisode),"disabled"in r&&t(1,o=r.disabled)},[n,o,l,s]}class $h extends ye{constructor(e){super(),ke(this,e,xh,Jh,we,{videoEpisode:0,disabled:1},Qh)}}function e3(i){Fe(i,"v-1h9p3m2",".video-episodes-wrap.v-1h9p3m2{position:absolute;width:100%;height:100%}.video-episode.v-1h9p3m2{position:absolute;height:calc(3 * var(--slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--slider-height) var(--slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-1h9p3m2:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-1h9p3m2,.video-episode-loaded.v-1h9p3m2,.video-episode-filled.v-1h9p3m2{position:absolute;height:var(--slider-height);border-radius:var(--slider-radius)}.video-episode-inner.v-1h9p3m2{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--slider-video-episode-gap));background:var(--slider-bg)}.video-episode-loaded.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}")}function Lr(i,e,t){const n=i.slice();return n[2]=e[t],n}function Vr(i){let e,t,n,o,l,s,r,a,c;return{c(){e=_("div"),t=_("div"),n=_("div"),l=B(),s=_("div"),a=B(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${i[2].loadedWidth/i[2].width*100}%)`),u(s,"class","video-episode-filled v-1h9p3m2"),u(s,"style",r=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),V(s,"mobile",i[1]),u(t,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${i[2].from}%; width: ${i[2].width}%`),V(e,"mobile",i[1])},m(f,h){y(f,e,h),m(e,t),m(t,n),m(t,l),m(t,s),m(e,a)},p(f,h){h&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),h&1&&r!==(r=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(s,"style",r),h&2&&V(s,"mobile",f[1]),h&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),h&2&&V(e,"mobile",f[1])},d(f){f&&k(e)}}}function t3(i){let e,t=qt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Vr(Lr(i,t,o));return{c(){e=_("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,l){y(o,e,l);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(e,null)},p(o,[l]){if(l&3){t=qt(o[0]);let s;for(s=0;s<t.length;s+=1){const r=Lr(o,t,s);n[s]?n[s].p(r,l):(n[s]=Vr(r),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:Z,o:Z,d(o){o&&k(e),ln(n,o)}}}function i3(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 n3 extends ye{constructor(e){super(),ke(this,e,i3,t3,we,{videoEpisodes:0,isMobile:1},e3)}}function o3(i){Fe(i,"v-1golz1y",".interactive-icons.v-1golz1y.v-1golz1y{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-1golz1y.v-1golz1y{top:-10px}.slider.v-1golz1y.v-1golz1y{position:relative;height:var(--slider-height);border-radius:var(--slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-1golz1y.v-1golz1y{cursor:default}.slider.v-1golz1y.v-1golz1y:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--controls-height) / 2 - var(--slider-height)) / 2);height:calc(var(--controls-height) / 2)}.bars.v-1golz1y.v-1golz1y{position:absolute;width:100%;height:100%;border-radius:var(--slider-radius);overflow:hidden;background:var(--slider-bg)}.loaded.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.filled.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}.slider.square.v-1golz1y.v-1golz1y,.slider.square.v-1golz1y>.bars.v-1golz1y,.slider.square.v-1golz1y .loaded.v-1golz1y,.slider.square.v-1golz1y .filled.v-1golz1y{border-radius:unset}.filled.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.filled.ads.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-ads)}.handleWrap.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%}.handle.v-1golz1y.v-1golz1y{position:absolute;width:var(--slider-handle-size);height:var(--slider-handle-size);right:calc(-1 * var(--slider-handle-size) / 2);top:calc((var(--slider-height) - var(--slider-handle-size)) / 2);border-radius:50%;background-color:var(--slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.slider.v-1golz1y:hover .handle.v-1golz1y,.slider-dragging.v-1golz1y .handle.v-1golz1y{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-1golz1y .handle.v-1golz1y{transform:scale(1.3)}.slider-vertical.v-1golz1y.v-1golz1y{position:absolute;left:-8px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.slider.disabled.v-1golz1y.v-1golz1y{cursor:default;pointer-events:none;opacity:0.4}")}function Ir(i,e,t){const n=i.slice();return n[48]=e[t],n}function Mr(i){let e,t,n=qt(i[21]),o=[];for(let s=0;s<n.length;s+=1)o[s]=Rr(Ir(i,n,s));const l=s=>v(o[s],1,1,()=>{o[s]=null});return{c(){e=_("div");for(let s=0;s<o.length;s+=1)o[s].c();u(e,"class","interactive-icons v-1golz1y"),V(e,"mobile",i[5]),V(e,"hidden",i[5]&&!i[20])},m(s,r){y(s,e,r);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);t=!0},p(s,r){if(r[0]&2097664){n=qt(s[21]);let a;for(a=0;a<n.length;a+=1){const c=Ir(s,n,a);o[a]?(o[a].p(c,r),d(o[a],1)):(o[a]=Rr(c),o[a].c(),d(o[a],1),o[a].m(e,null))}for(he(),a=n.length;a<o.length;a+=1)l(a);pe()}(!t||r[0]&32)&&V(e,"mobile",s[5]),(!t||r[0]&1048608)&&V(e,"hidden",s[5]&&!s[20])},i(s){if(!t){for(let r=0;r<n.length;r+=1)d(o[r]);t=!0}},o(s){o=o.filter(Boolean);for(let r=0;r<o.length;r+=1)v(o[r]);t=!1},d(s){s&&k(e),ln(o,s)}}}function Nr(i){let e,t;return e=new $h({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Rr(i){let e,t,n=i[48].interactive&&Nr(i);return{c(){n&&n.c(),e=gt()},m(o,l){n&&n.m(o,l),y(o,e,l),t=!0},p(o,l){o[48].interactive?n?(n.p(o,l),l[0]&2097152&&d(n,1)):(n=Nr(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(he(),v(n,1,1,()=>{n=null}),pe())},i(o){t||(d(n),t=!0)},o(o){v(n),t=!1},d(o){o&&k(e),n&&n.d(o)}}}function l3(i){let e,t,n,o,l,s;return{c(){e=_("div"),t=_("div"),o=B(),l=_("div"),u(t,"class","loaded v-1golz1y"),u(t,"style",n=`transform: translateX(${i[11]*100}%);`),u(l,"class","filled v-1golz1y"),u(l,"style",s=`transform: translateX(${i[12]*100}%);`),V(l,"active-live",i[4]),V(l,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(r,a){y(r,e,a),m(e,t),m(e,o),m(e,l)},p(r,a){a[0]&2048&&n!==(n=`transform: translateX(${r[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&s!==(s=`transform: translateX(${r[12]*100}%);`)&&u(l,"style",s),a[0]&16&&V(l,"active-live",r[4]),a[0]&64&&V(l,"ads",r[6])},i:Z,o:Z,d(r){r&&k(e)}}}function s3(i){let e,t;return e=new n3({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function r3(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b=i[8]&&Mr(i);const L=[s3,l3],w=[];function A(C,I){return C[21].length?0:1}return n=A(i),o=w[n]=L[n](i),{c(){var C;b&&b.c(),e=B(),t=_("div"),o.c(),l=B(),s=_("div"),r=_("div"),u(r,"class","handle v-1golz1y"),V(r,"active-live",i[4]),u(s,"class","handleWrap v-1golz1y"),u(s,"style",a=`transform: translateX(${i[13]*100}%);`),V(s,"hidden",i[10]),u(t,"class",c="slider "+i[0]+" v-1golz1y"),u(t,"aria-label",i[14]),u(t,"aria-valuemin",i[15]),u(t,"aria-valuemax",i[16]),u(t,"aria-valuenow",i[17]),u(t,"aria-valuetext",i[18]),u(t,"role","slider"),u(t,"tabindex","0"),u(t,"data-testid",f=(C=i[1])!=null?C: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(C,I){b&&b.m(C,I),y(C,e,I),y(C,t,I),w[n].m(t,null),m(t,l),m(t,s),m(s,r),i[42](t),h=!0,g||(p=[Ve(t,"pointerdown",pi(i[22])),Ve(t,"pointermove",pi(i[23])),Ve(t,"pointerup",pi(i[24])),Ve(t,"pointerenter",pi(i[25])),Ve(t,"pointerleave",pi(i[26])),Ve(t,"click",ft(oe.noop)),Ve(t,"wheel",i[27])],g=!0)},p(C,I){var J;C[8]?b?(b.p(C,I),I[0]&256&&d(b,1)):(b=Mr(C),b.c(),d(b,1),b.m(e.parentNode,e)):b&&(he(),v(b,1,1,()=>{b=null}),pe());let M=n;n=A(C),n===M?w[n].p(C,I):(he(),v(w[M],1,1,()=>{w[M]=null}),pe(),o=w[n],o?o.p(C,I):(o=w[n]=L[n](C),o.c()),d(o,1),o.m(t,l)),(!h||I[0]&16)&&V(r,"active-live",C[4]),(!h||I[0]&8192&&a!==(a=`transform: translateX(${C[13]*100}%);`))&&u(s,"style",a),(!h||I[0]&1024)&&V(s,"hidden",C[10]),(!h||I[0]&1&&c!==(c="slider "+C[0]+" v-1golz1y"))&&u(t,"class",c),(!h||I[0]&16384)&&u(t,"aria-label",C[14]),(!h||I[0]&32768)&&u(t,"aria-valuemin",C[15]),(!h||I[0]&65536)&&u(t,"aria-valuemax",C[16]),(!h||I[0]&131072)&&u(t,"aria-valuenow",C[17]),(!h||I[0]&262144)&&u(t,"aria-valuetext",C[18]),(!h||I[0]&2&&f!==(f=(J=C[1])!=null?J:null))&&u(t,"data-testid",f),(!h||I[0]&513)&&V(t,"disabled",C[9]),(!h||I[0]&1048577)&&V(t,"slider-dragging",C[20]),(!h||I[0]&5)&&V(t,"hidden",C[2]),(!h||I[0]&9)&&V(t,"slider-vertical",C[3]),(!h||I[0]&1025)&&V(t,"no-handle",C[10]),(!h||I[0]&129)&&V(t,"square",C[7])},i(C){h||(d(b),d(o),h=!0)},o(C){v(b),v(o),h=!1},d(C){C&&(k(e),k(t)),b&&b.d(C),w[n].d(),i[42](null),g=!1,ei(p)}}}function a3(i,e,t){let n,o,{className:l=""}=e,{testId:s=void 0}=e,{isHidden:r=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:h=!1}=e,{squareBorders:g=!1}=e,{videoEpisodes:p=[]}=e,{withWheelHandler:b=!1}=e,{isInteractive:L=!1}=e,{disabled:w=!1}=e,{hideHandel:A=!1}=e,C,I,{onPointerDown:M=oe.noop}=e,{onHandleMove:J=oe.noop}=e,{onPointerUp:G=oe.noop}=e,{onPointerEnter:Y=oe.noop}=e,{onPointerMove:z=oe.noop}=e,{onPointerLeave:ae=oe.noop}=e,{onWheelUp:te=oe.noop}=e,{onWheelDown:X=oe.noop}=e,{onWheelLeft:T=oe.noop}=e,{onWheelRight:j=oe.noop}=e,{loadedProgress:ue=0}=e,{filledProgress:S=0}=e,{handleProgress:$=0}=e,{ariaLabel:le=""}=e,{ariaValueMin:Ce=void 0}=e,{ariaValueMax:ve=void 0}=e,{ariaValueNow:Ae=void 0}=e,{ariaValueText:Se=""}=e;const U=Xi();let E=!1,re;function q(se){if(E)return;t(20,E=!0),I=C.getBoundingClientRect();const Ge=ge(se.clientX,se.clientY);M(Ge),C.setPointerCapture(se.pointerId)}function Ee(se){const Ge=ge(se.clientX,se.clientY),Ue=ee(se.clientX);z(Ge,Ue,I.width),E&&J(Ge)}function O(se){if(!E)return;t(20,E=!1);const Ge=ge(se.clientX,se.clientY);G(Ge)}function K(se){I=C.getBoundingClientRect();const Ge=ge(se.clientX,se.clientY),Ue=ee(se.clientX);Y(Ge,Ue,I.width)}function Me(){ae()}function Pe(se){b&&(se.preventDefault(),se.deltaY<0?te():se.deltaY>0?X():se.deltaX>0?j():T())}function ge(se,Ge){return a?Math.max(0,Math.min(1,(I.height-(Ge-I.top))/I.height)):Math.min(Math.max(se-I.x,0),I.width)/I.width}function ee(se){return Math.min(Math.max(se-I.x,0),I.width)}function ce(se,Ge){const Ue=U.features.episodesClustering&&!L?U.episodeMinWidthPc:0,ut=[];let nt=0,ze=0,dt=0;for(let Be=1;Be<p.length;Be++)ze=p[Be].time/re*100,ze-nt>Ue&&(ut.push({from:nt,width:Math.max(0,ze-nt),loadedWidth:Math.max(0,Math.min(ze,se)-nt),filledWidth:Math.max(0,Math.min(ze,Ge)-nt),interactive:p[Be-1].interactive,completed:p[Be-1].completed}),nt=p[Be].time/re*100,dt++);const kt={from:nt,width:Math.max(0,100-nt),loadedWidth:Math.max(0,Math.min(se,100)-nt),filledWidth:Math.max(0,Math.min(Ge,100)-nt),interactive:p[dt].interactive,completed:p[dt].completed};100-nt<Ue?(dt-=1,ut[dt].width+=100-nt,ut[dt].loadedWidth+=Math.max(0,Math.min(se,100)-nt),ut[dt].filledWidth+=Math.max(0,Math.min(Ge,100)-nt)):ut[dt]=kt;const Ne=p[0].time;if(Ne!==0){const Be=Ne/re*100;ut.unshift({from:0,width:Be,loadedWidth:Math.min(Be,se),filledWidth:Math.min(Be,Ge)})}return ut}function be(se){qe[se?"unshift":"push"](()=>{C=se,t(19,C)})}return i.$$set=se=>{"className"in se&&t(0,l=se.className),"testId"in se&&t(1,s=se.testId),"isHidden"in se&&t(2,r=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,g=se.squareBorders),"videoEpisodes"in se&&t(28,p=se.videoEpisodes),"withWheelHandler"in se&&t(29,b=se.withWheelHandler),"isInteractive"in se&&t(8,L=se.isInteractive),"disabled"in se&&t(9,w=se.disabled),"hideHandel"in se&&t(10,A=se.hideHandel),"onPointerDown"in se&&t(30,M=se.onPointerDown),"onHandleMove"in se&&t(31,J=se.onHandleMove),"onPointerUp"in se&&t(32,G=se.onPointerUp),"onPointerEnter"in se&&t(33,Y=se.onPointerEnter),"onPointerMove"in se&&t(34,z=se.onPointerMove),"onPointerLeave"in se&&t(35,ae=se.onPointerLeave),"onWheelUp"in se&&t(36,te=se.onWheelUp),"onWheelDown"in se&&t(37,X=se.onWheelDown),"onWheelLeft"in se&&t(38,T=se.onWheelLeft),"onWheelRight"in se&&t(39,j=se.onWheelRight),"loadedProgress"in se&&t(11,ue=se.loadedProgress),"filledProgress"in se&&t(12,S=se.filledProgress),"handleProgress"in se&&t(13,$=se.handleProgress),"ariaLabel"in se&&t(14,le=se.ariaLabel),"ariaValueMin"in se&&t(15,Ce=se.ariaValueMin),"ariaValueMax"in se&&t(16,ve=se.ariaValueMax),"ariaValueNow"in se&&t(17,Ae=se.ariaValueNow),"ariaValueText"in se&&t(18,Se=se.ariaValueText)},i.$$.update=()=>{var se;i.$$.dirty[0]&65536&&t(40,re=ve!=null?ve:0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=((se=p[p.length-1])==null?void 0:se.time)<re),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=p.length&&n&&re?ce(ue*100,S*100):[])},[l,s,r,a,c,f,h,g,L,w,A,ue,S,$,le,Ce,ve,Ae,Se,C,E,o,q,Ee,O,K,Me,Pe,p,b,M,J,G,Y,z,ae,te,X,T,j,re,n,be]}class Wl extends ye{constructor(e){super(),ke(this,e,a3,r3,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},o3,[-1,-1])}}const nn=(i,e)=>no[i]>=no[e],u3=(i,e)=>no[i]<no[e],Xu=(i,e)=>no[i]<=no[e],c3=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 f3(i){Fe(i,"v-1l78lz9",".volumeBar-container.v-1l78lz9{display:flex;align-items:center}.volumeBar-container.vertical.v-1l78lz9,.vertical.v-1l78lz9 .tooltip-wrapper,.vertical.v-1l78lz9 .btn{width:40px}.volumeBar.v-1l78lz9{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1l78lz9{padding:0 8px 0 0;width:0}")}function d3(i){let e,t;return e=new Qo({props:{volume:i[4],muted:i[2]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function m3(i){let e,t;return e=new vi({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],$$slots:{default:[d3]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Br(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]:oe.noop,onPointerLeave:i[3]?i[18]:oe.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=_("div"),H(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),V(e,"volumeBar-vertical",i[3])},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.className=o[3]?"volumeBar-slider-vertical":""),l[0]&40&&(s.isHidden=o[3]&&!o[5]),l[0]&8&&(s.isVertical=o[3]),l[0]&8&&(s.onPointerEnter=o[3]?o[17]:oe.noop),l[0]&8&&(s.onPointerLeave=o[3]?o[18]:oe.noop),l[0]&256&&(s.ariaValueNow=Math.round(o[8]*100)),l[0]&256&&(s.ariaValueText=`${Math.round(o[8]*100)}%`),l[0]&256&&(s.filledProgress=o[8]),l[0]&256&&(s.handleProgress=o[8]),l[0]&8&&(s.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(s),(!n||l[0]&8)&&V(e,"volumeBar-vertical",o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function h3(i){let e,t,n,o,l,s;t=new Qu({props:{content:i[6],translateY:-18,$$slots:{default:[m3]},$$scope:{ctx:i}}});let r=i[0]&&Br(i);return{c(){e=_("div"),H(t.$$.fragment),n=B(),r&&r.c(),u(e,"class","volumeBar-container v-1l78lz9"),V(e,"vertical",i[3])},m(a,c){y(a,e,c),D(t,e,null),m(e,n),r&&r.m(e,null),o=!0,l||(s=[Ve(e,"mouseenter",function(){_n(i[3]?i[19]:oe.noop)&&(i[3]?i[19]:oe.noop).apply(this,arguments)}),Ve(e,"mouseleave",function(){_n(i[3]?i[20]:oe.noop)&&(i[3]?i[20]:oe.noop).apply(this,arguments)}),Ve(e,"wheel",pi(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]?r?(r.p(i,c),c[0]&1&&d(r,1)):(r=Br(i),r.c(),d(r,1),r.m(e,null)):r&&(he(),v(r,1,1,()=>{r=null}),pe()),(!o||c[0]&8)&&V(e,"vertical",i[3])},i(a){o||(d(t.$$.fragment,a),d(r),o=!0)},o(a){v(t.$$.fragment,a),v(r),o=!1},d(a){a&&k(e),F(t),r&&r.d(),l=!1,ei(s)}}}function p3(i,e,t){let n,o,l,{isAudioAvailable:s=!0}=e,{click:r}=e;const a=Ct(),c=Xi(),f=a.state.volume$;W(i,f,Ce=>t(4,n=Ce));const h=a.state.muted$;W(i,h,Ce=>t(23,l=Ce));const g=a.actions.internal.setVolume,p=a.ui.currentGridType$;W(i,p,Ce=>t(22,o=Ce));let b=!1,L,w,A,C,I,M,J=1,G=!1;function Y(Ce){J=n,g(Ce)}function z(){Hu(a,n,c.controls.volumeStepWheel)}function ae(){Uu(a,n,c.controls.volumeStepWheel)}function te(Ce){g(Ce)}function X(Ce){const ve=Ce;g(ve,ve===0?J:ve)}function T(){G=!0}function j(){G=!1,$()}function ue(){clearTimeout(L),t(5,b=!0)}function S(){$()}function $(){L=window.setTimeout(()=>{G||t(5,b=!1)},c.controls.volumeBarTimeout)}function le(Ce){Ce.deltaY<0?z():Ce.deltaY>0&&ae()}return i.$$set=Ce=>{"isAudioAvailable"in Ce&&t(0,s=Ce.isAudioAvailable),"click"in Ce&&t(1,r=Ce.click)},i.$$.update=()=>{i.$$.dirty[0]&8388609&&t(2,C=!s||l),i.$$.dirty[0]&4194304&&t(3,I=Xu(o,exports.GridTypes.S)),i.$$.dirty[0]&12&&(I?t(6,w=""):t(6,w=ne(C?"tooltip_volume":"tooltip_volume_muted")),t(7,A=ne(C?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,M=C?0:n)},[s,r,C,I,n,b,w,A,M,f,h,p,Y,z,ae,te,X,T,j,ue,S,le,o,l]}class v3 extends ye{constructor(e){super(),ke(this,e,p3,h3,we,{isAudioAvailable:0,click:1},f3,[-1,-1])}}function g3(i){let e;return{c(){e=N("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){y(t,e,n)},d(t){t&&k(e)}}}function b3(i){let e;return{c(){e=N("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){y(t,e,n)},d(t){t&&k(e)}}}function _3(i){let e,t,n;function o(r,a){return r[0]?b3:g3}let l=o(i),s=l(i);return{c(){e=N("svg"),t=N("g"),s.c(),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(r,a){y(r,e,a),m(e,t),s.m(t,null)},p(r,[a]){l!==(l=o(r))&&(s.d(1),s=l(r),s&&(s.c(),s.m(t,null))),a&1&&n!==(n=r[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:Z,o:Z,d(r){r&&k(e),s.d()}}}function w3(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class k3 extends ye{constructor(e){super(),ke(this,e,w3,_3,we,{isFullscreen:0})}}function y3(i){let e,t;return e=new k3({props:{isFullscreen:i[0]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isFullscreen=n[0]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function S3(i){let e,t;return e=new vi({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],$$slots:{default:[y3]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function C3(i,e,t){let{isFullscreen:n=!1}=e,{click:o=oe.noop}=e,l;return i.$$set=s=>{"isFullscreen"in s&&t(0,n=s.isFullscreen),"click"in s&&t(1,o=s.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=ne(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,l]}class Ju extends ye{constructor(e){super(),ke(this,e,C3,S3,we,{isFullscreen:0,click:1})}}function P3(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Zl extends ye{constructor(e){super(),ke(this,e,null,P3,we,{})}}function T3(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class xu extends ye{constructor(e){super(),ke(this,e,null,T3,we,{})}}function E3(i){Fe(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Or(i){let e;return{c(){e=_("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function A3(i){let e,t,n,o,l=i[0]&&Or();var s=i[5];function r(a){return{}}return s&&(n=dn(s,r())),{c(){l&&l.c(),e=B(),t=_("div"),n&&H(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[0])},m(a,c){l&&l.m(a,c),y(a,e,c),y(a,t,c),n&&D(n,t,null),o=!0},p(a,c){if(a[0]?l||(l=Or(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),c&32&&s!==(s=a[5])){if(n){he();const f=n;v(f.$$.fragment,1,0,()=>{F(f,1)}),pe()}s?(n=dn(s,r()),H(n.$$.fragment),d(n.$$.fragment,1),D(n,t,null)):n=null}(!o||c&1)&&V(t,"mobile",a[0])},i(a){o||(n&&d(n.$$.fragment,a),o=!0)},o(a){n&&v(n.$$.fragment,a),o=!1},d(a){a&&(k(e),k(t)),l&&l.d(a),n&&F(n)}}}function L3(i){let e,t;return e=new vi({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-play",click:i[3],disabled:i[1],ariaLabel:i[4],$$slots:{default:[A3]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,[o]){const l={};o&5&&(l.className=(n[0]?"btn-m--play":"")+" "+n[2]),o&8&&(l.click=n[3]),o&2&&(l.disabled=n[1]),o&16&&(l.ariaLabel=n[4]),o&161&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function V3(i,e,t){let n,{isMobile:o=!1}=e,{isPlaying:l=!1}=e,{disabled:s=!1}=e,{className:r=""}=e,{click:a=oe.noop}=e,c;return i.$$set=f=>{"isMobile"in f&&t(0,o=f.isMobile),"isPlaying"in f&&t(6,l=f.isPlaying),"disabled"in f&&t(1,s=f.disabled),"className"in f&&t(2,r=f.className),"click"in f&&t(3,a=f.click)},i.$$.update=()=>{i.$$.dirty&64&&t(4,c=ne(l?"tooltip_pause":"tooltip_play")),i.$$.dirty&64&&t(5,n=l?xu:Zl)},[o,s,r,a,c,n,l]}class Gl extends ye{constructor(e){super(),ke(this,e,V3,L3,we,{isMobile:0,isPlaying:6,disabled:1,className:2,click:3},E3)}}function I3(i){Fe(i,"v-mb3pjo",".prev.v-mb3pjo{transform:scaleX(-1)}.mobile.v-mb3pjo{transform:scale(1.3333)}.mobile.prev.v-mb3pjo{transform:scaleX(-1) scale(1.3333)}")}function M3(i){let e,t,n;return{c(){e=N("svg"),t=N("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){y(o,e,l),m(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:Z,o:Z,d(o){o&&k(e)}}}function N3(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 R3 extends ye{constructor(e){super(),ke(this,e,N3,M3,we,{isPrev:0,isMobile:1},I3)}}function B3(i){let e,t;return e=new R3({props:{isMobile:i[0],isPrev:i[2]==="prev"}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function O3(i){let e,t;return e=new vi({props:{testId:"btn-"+i[2],disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[B3]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function z3(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{type:l}=e,{click:s}=e,r;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,s=a.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,r=ne(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,l,s,r]}class Xo extends ye{constructor(e){super(),ke(this,e,z3,O3,we,{isMobile:0,disabled:1,type:2,click:3})}}function D3(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class F3 extends ye{constructor(e){super(),ke(this,e,null,D3,we,{})}}function zr(i){let e,t,n,o,l,s,r;return{c(){e=N("path"),t=N("path"),n=N("path"),o=N("path"),l=N("path"),s=N("path"),r=N("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(t,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(t,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"fill","white"),u(l,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(l,"fill","white"),u(s,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(s,"fill","white"),u(r,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(r,"fill","white")},m(a,c){y(a,e,c),y(a,t,c),y(a,n,c),y(a,o,c),y(a,l,c),y(a,s,c),y(a,r,c)},d(a){a&&(k(e),k(t),k(n),k(o),k(l),k(s),k(r))}}}function H3(i){let e,t,n,o=!i[0]&&zr();return{c(){e=N("svg"),t=N("path"),o&&o.c(),u(t,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(t,"fill","white"),u(e,"width",i[1]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(i[1]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",i[2])},m(l,s){y(l,e,s),m(e,t),o&&o.m(e,null)},p(l,[s]){l[0]?o&&(o.d(1),o=null):o||(o=zr(),o.c(),o.m(e,null)),s&2&&u(e,"width",l[1]),s&2&&n!==(n="0 0 "+(l[1]+1)+" 20")&&u(e,"viewBox",n),s&4&&u(e,"data-testid",l[2])},i:Z,o:Z,d(l){l&&k(e),o&&o.d()}}}function U3(i,e,t){let{short:n=!1}=e,o,l;return i.$$set=s=>{"short"in s&&t(0,n=s.short)},i.$$.update=()=>{i.$$.dirty&1&&(t(1,o=n?20:93),t(2,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,l]}class j3 extends ye{constructor(e){super(),ke(this,e,U3,H3,we,{short:0})}}function q3(i){let e,t;return e=new F3({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p:Z,i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function W3(i){let e,t;return e=new j3({props:{short:i[3]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&8&&(l.short=n[3]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Z3(i){let e,t,n,o;const l=[W3,q3],s=[];function r(a,c){return a[1]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=gt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?s[e].p(a,c):(he(),v(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function G3(i){let e,t;return e=new vi({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:[Z3]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function K3(i,e,t){let n,o,l,{logoClickable:s=!1}=e,{videoLogoUrl:r=void 0}=e,{click:a}=e;const c=Xi(),{logoLink:f,addTimeToLogoLink:h}=c,g=Ct(),p=g.state.positionWithScrubbing$;W(i,p,M=>t(12,n=M));const b=g.ui.currentGridType$;W(i,b,M=>t(10,o=M));const L=g.ui.isMobile;W(i,L,M=>t(11,l=M));let w,A,C;const I=()=>{let M;if(A||!r)M=f;else{const J=Math.round(n);if(h&&J){const G=new URL(r);G.searchParams.append("t",oe.timeCodeToString(J)),M=G.toString()}else M=r}a(),window.open(M,"_blank")};return i.$$set=M=>{"logoClickable"in M&&t(0,s=M.logoClickable),"videoLogoUrl"in M&&t(8,r=M.videoLogoUrl),"click"in M&&t(9,a=M.click)},i.$$.update=()=>{i.$$.dirty&3074&&t(3,C=(l||Xu(o,exports.GridTypes.L))&&A)},t(2,w=c.logoType===io.VK_VIDEO?ne("tooltip_vk_video_logo"):ne("tooltip_vk_logo")),t(1,A=c.logoType===io.VK_VIDEO),[s,A,w,C,p,b,L,I,r,a,o,l]}class $u extends ye{constructor(e){super(),ke(this,e,K3,G3,we,{logoClickable:0,videoLogoUrl:8,click:9})}}function Y3(i){Fe(i,"v-8z1bf5",".connecting.v-8z1bf5 .wave.v-8z1bf5{animation-duration:1s;animation-iteration-count:infinite}.connecting.v-8z1bf5 .wave1.v-8z1bf5{animation-name:v-8z1bf5-wave1}.connecting.v-8z1bf5 .wave2.v-8z1bf5{animation-name:v-8z1bf5-wave2}.connecting.v-8z1bf5 .wave3.v-8z1bf5{animation-name:v-8z1bf5-wave3}@keyframes v-8z1bf5-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function Q3(i){let e,t,n,o,l,s,r,a;return{c(){e=N("svg"),t=N("g"),n=N("path"),o=N("path"),l=N("path"),s=N("path"),r=N("path"),a=N("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(l,"class","wave wave3 v-8z1bf5"),u(l,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(l,"fill","#fff"),u(s,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(s,"fill","#fff"),u(r,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),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){y(c,e,f),m(e,t),m(t,n),m(t,o),m(t,l),m(t,s),m(t,r),m(t,a)},p(c,f){f&2&&V(a,"hidden",!c[1]),f&4&&V(e,"connecting",c[2])},d(c){c&&k(e)}}}function X3(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,C,I,M,J;return{c(){e=N("svg"),t=N("g"),n=N("mask"),o=N("path"),s=N("path"),r=N("path"),c=N("path"),f=N("defs"),h=N("clipPath"),g=N("path"),b=N("filter"),L=N("feFlood"),w=N("feColorMatrix"),A=N("feOffset"),C=N("feGaussianBlur"),I=N("feColorMatrix"),M=N("feBlend"),J=N("feBlend"),u(o,"fill",l=i[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(r,"fill",a=i[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(g,"fill",p=i[1]?"#2688EB":"#fff"),u(g,"d","M0 0h24v24H0z"),u(h,"id","a"),u(L,"flood-opacity","0"),u(L,"result","BackgroundImageFix"),u(w,"in","SourceAlpha"),u(w,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(w,"result","hardAlpha"),u(C,"stdDeviation","2.5"),u(I,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(M,"in2","BackgroundImageFix"),u(M,"result","effect1_dropShadow_4085_178456"),u(J,"in","SourceGraphic"),u(J,"in2","effect1_dropShadow_4085_178456"),u(J,"result","shape"),u(b,"id","b"),u(b,"x","-3.4"),u(b,"y","-1.4"),u(b,"width","30.8"),u(b,"height","26.802"),u(b,"filterUnits","userSpaceOnUse"),u(b,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(G,Y){y(G,e,Y),m(e,t),m(t,n),m(n,o),m(n,s),m(t,r),m(t,c),m(e,f),m(f,h),m(h,g),m(f,b),m(b,L),m(b,w),m(b,A),m(b,C),m(b,I),m(b,M),m(b,J)},p(G,Y){Y&2&&l!==(l=G[1]?"#2688EB":"#fff")&&u(o,"fill",l),Y&2&&a!==(a=G[1]?"#2688EB":"#fff")&&u(r,"fill",a),Y&2&&p!==(p=G[1]?"#2688EB":"#fff")&&u(g,"fill",p)},d(G){G&&k(e)}}}function J3(i){let e;function t(l,s){return l[0]?X3:Q3}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(l){l&&k(e),o.d(l)}}}function x3(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,l,s;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"state"in r&&t(3,o=r.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,s=o===at.ChromecastState.CONNECTING),t(1,l=o===at.ChromecastState.CONNECTED))},[n,l,s,o]}class $3 extends ye{constructor(e){super(),ke(this,e,x3,J3,we,{isMobile:0,state:3},Y3)}}function ep(i){let e,t;return e=new $3({props:{isMobile:i[0],state:i[1]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function tp(i){let e,t;return e=new vi({props:{ariaLabel:i[3],click:i[2],testId:"btn-chromecast",$$slots:{default:[ep]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ip(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,{click:l=oe.noop}=e,s;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"state"in r&&t(1,o=r.state),"click"in r&&t(2,l=r.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,s=o===at.ChromecastState.CONNECTED?ne("tooltip_chromecast_on"):ne("tooltip_chromecast_off"))},[n,o,l,s]}class ec extends ye{constructor(e){super(),ke(this,e,ip,tp,we,{isMobile:0,state:1,click:2})}}function np(i){let e,t;return e=new Bu({props:{isActive:i[1]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.isActive=n[1]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function op(i){let e,t;return e=new vi({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1],ariaLabel:i[3],click:i[2],$$slots:{default:[np]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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&2&&(l.disabled=n[1]),o&8&&(l.ariaLabel=n[3]),o&4&&(l.click=n[2]),o&18&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function lp(i,e,t){let{isMobile:n=!1}=e,{isActiveLive:o=!1}=e,{click:l}=e,s;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"isActiveLive"in r&&t(1,o=r.isActiveLive),"click"in r&&t(2,l=r.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,s=o?"":ne("tooltip_live"))},[n,o,l,s]}class tc extends ye{constructor(e){super(),ke(this,e,lp,op,we,{isMobile:0,isActiveLive:1,click:2})}}function sp(i){Fe(i,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function rp(i){let e,t,n,o;const l=i[9].default,s=wn(l,i,i[8],null);return{c(){e=_("div"),t=_("div"),s&&s.c(),u(t,"class","tooltip v-5ygsa2"),V(t,"active",i[0]),V(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(r,a){y(r,e,a),m(e,t),s&&s.m(t,null),i[10](t),i[11](e),o=!0},p(r,[a]){s&&s.p&&(!o||a&256)&&yn(s,l,r,r[8],o?kn(l,r[8],a,null):Sn(r[8]),null),(!o||a&1)&&V(t,"active",r[0]),(!o||a&2)&&V(t,"pointer",r[1]),(!o||a&36&&n!==(n=`transform: translate(${r[5]}px, ${r[2]}px);`))&&u(e,"style",n)},i(r){o||(d(s,r),o=!0)},o(r){v(s,r),o=!1},d(r){r&&k(e),s&&s.d(r),i[10](null),i[11](null)}}}function ap(i,e,t){let n,{$$slots:o={},$$scope:l}=e,{active:s=!1}=e,{pointer:r=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,h,g;function p(w){if(!g)return 0;const{width:A}=g.getBoundingClientRect(),C=A/2;return w<C?C:w>f-C?f-C:w}function b(w){qe[w?"unshift":"push"](()=>{g=w,t(4,g)})}function L(w){qe[w?"unshift":"push"](()=>{h=w,t(3,h)})}return i.$$set=w=>{"active"in w&&t(0,s=w.active),"pointer"in w&&t(1,r=w.pointer),"translateXPx"in w&&t(6,a=w.translateXPx),"translateYPx"in w&&t(2,c=w.translateYPx),"containerWidth"in w&&t(7,f=w.containerWidth),"$$scope"in w&&t(8,l=w.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=p(a))},[s,r,c,h,g,n,a,f,l,o,b,L]}class up extends ye{constructor(e){super(),ke(this,e,ap,rp,we,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},sp)}}const ic=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function cp(i){Fe(i,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function Dr(i){let e;function t(l,s){return l[2]&&l[10].completed===!1?dp:fp}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,s){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&k(e),o.d(l)}}}function fp(i){let e=(i[10].text||"")+"",t;return{c(){t=He(e)},m(n,o){y(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&xe(t,e)},d(n){n&&k(t)}}}function dp(i){let e=ne("tooltip_episode_unfinished")+"",t;return{c(){t=He(e)},m(n,o){y(n,t,o)},p:Z,d(n){n&&k(t)}}}function mp(i){let e,t,n,o,l,s,r,a,c=i[10]&&Dr(i);return{c(){e=_("div"),t=_("div"),o=B(),l=_("div"),c&&c.c(),s=B(),r=_("div"),a=He(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(r,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),V(e,"mobile",i[1])},m(f,h){y(f,e,h),m(e,t),m(e,o),m(e,l),c&&c.m(l,null),m(e,s),m(e,r),m(r,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=Dr(f),c.c(),c.m(l,null)):c&&(c.d(1),c=null),h&1&&xe(a,f[0]),h&2&&V(e,"mobile",f[1])},i:Z,o:Z,d(f){f&&k(e),c&&c.d()}}}const Qn=150;function hp(i,e,t){let n,{time:o=""}=e,{isMobile:l=!1}=e,{videoEpisodes:s=[]}=e,{previewThumbsData:r}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const g=Ct().ui.rotateAlpha;W(i,g,Y=>t(11,n=Y));let p,b,L,w,A,C,I,M;function J(){let Y=r.frameWidth,z=r.frameHeight;return Y>Qn?(z=z/Y*Qn,Y=Qn):z>Qn&&(Y=Y/z*Qn,z=Qn),{width:Y,height:z}}function G(Y){let z;r.isUV?z=Math.floor(c*Y/r.frequency):z=Math.min(r.countTotal,Math.max(0,Math.floor(r.countTotal*Y)));const ae=Math.floor(z/r.countPerImage),te=Math.floor(z%r.countPerImage/r.countPerRow),X=z%r.countPerRow;let T=Math.floor(r.countPerImage/r.countPerRow);!r.isUV&&ae===Math.floor(r.countTotal/r.countPerImage)&&(T=Math.floor(r.countTotal%r.countPerImage/r.countPerRow),r.countTotal%r.countPerImage%r.countPerRow>0&&T++);let j=r.countPerRow;!r.isUV&&ae===Math.floor(r.countTotal/r.countPerImage)&&r.countTotal%r.countPerImage>0&&(j=Math.min(r.countPerRow,r.countTotal%r.countPerImage));const ue=p*j,S=b*T,$=-X*p,le=-te*b;return{imgSrc:r.links[ae],imgWidth:ue,imgHeight:S,imgOffsetX:$,imgOffsetY:le}}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,s=Y.videoEpisodes),"previewThumbsData"in Y&&t(14,r=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:L,imgWidth:w,imgHeight:A,imgOffsetX:C,imgOffsetY:I}=G(a),L,(t(6,w),t(15,a)),(t(7,A),t(15,a)),(t(8,C),t(15,a)),(t(9,I),t(15,a))),i.$$.dirty&106496&&t(10,M=ic(a,c,s))},t(3,{width:p,height:b}=J(),p,t(4,b)),[o,l,f,p,b,L,w,A,C,I,M,n,g,s,r,a,c]}class pp extends ye{constructor(e){super(),ke(this,e,hp,mp,we,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},cp)}}function vp(i){Fe(i,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function gp(i){let e,t;return{c(){e=_("span"),t=He(i[7]),u(e,"class","time v-5lzly8")},m(n,o){y(n,e,o),m(e,t)},p(n,o){o[0]&128&&xe(t,n[7])},i:Z,o:Z,d(n){n&&k(e)}}}function bp(i){let e,t;return e=new pp({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function _p(i){let e,t,n,o;const l=[bp,gp],s=[];function r(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=gt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?s[e].p(a,c):(he(),v(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function wp(i){let e,t,n,o;const l=[i[9]];let s={$$slots:{default:[_p]},$$scope:{ctx:i}};for(let r=0;r<l.length;r+=1)s=A1(s,l[r]);return e=new up({props:s}),n=new Wl({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:ne("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:ne("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(pt.TIMELINE),hideHandel:i[2]}}),{c(){H(e.$$.fragment),t=B(),H(n.$$.fragment)},m(r,a){D(e,r,a),y(r,t,a),D(n,r,a),o=!0},p(r,a){const c=a[0]&512?Jc(l,[xc(r[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:r}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=r[11]),a[0]&1024&&(f.isMobile=r[10]),a[0]&2&&(f.ariaValueMax=r[1]),a[0]&64&&(f.ariaValueNow=Math.round(r[6]*100)),a[0]&48&&(f.ariaValueText=ne("aria_timeline_value",{position:r[5],duration:r[4]})),a[0]&4096&&(f.loadedProgress=r[12]),a[0]&64&&(f.filledProgress=r[6]),a[0]&64&&(f.handleProgress=r[6]),a[0]&8&&(f.videoEpisodes=r[3]),a[0]&8192&&(f.disabled=r[13].has(pt.TIMELINE)),a[0]&4&&(f.hideHandel=r[2]),n.$set(f)},i(r){o||(d(e.$$.fragment,r),d(n.$$.fragment,r),o=!0)},o(r){v(e.$$.fragment,r),v(n.$$.fragment,r),o=!1},d(r){r&&k(t),F(e,r),F(n,r)}}}function kp(i,e,t){let n,o,l,s,r,a,c,f,h,g,p,{showTimeline:b=!1}=e;const L=Ct(),w=Xi(),A=L.state.bufferedProgress$;W(i,A,be=>t(12,g=be));const C=L.state.positionWithScrubbing$;W(i,C,be=>t(39,a=be));const I=L.state.duration$;W(i,I,be=>t(1,l=be));const M=L.state.isLive$;W(i,M,be=>t(0,o=be));const J=L.state.isActiveLive$;W(i,J,be=>t(11,h=be));const G=L.ui.isMobile;W(i,G,be=>t(10,f=be));const Y=w.features.episodes?L.actions.internal.getVideoEpisodes():void 0,z=L.actions.internal.getPreviewThumbsData(),ae=L.state.interactiveEpisodes$;W(i,ae,be=>t(40,c=be));const te=L.state.isInteractive,X=L.state.isInteractiveTime$;W(i,X,be=>t(2,s=be));const T=L.state.isInteractiveExpectation$;W(i,T,be=>t(38,r=be));const j=L.actions.internal.correctSeekTimeToInteractive,ue=L.ui.controls.disabledControls$;W(i,ue,be=>t(13,p=be));let S,$,le,Ce,ve=!1,Ae="",Se=0,U=0,E=0,re;function q(be){return!j||!te?be:j(be*l)/l}function Ee(be){L.actions.internal.startScrubbing(q(be))}function O(be){s||L.actions.internal.progressScrubbing(q(be))}function K(be){L.actions.internal.completeScrubbing(q(be)),t(34,ve=!1)}function Me(be,se,Ge){ee(be,se,Ge),t(34,ve=!0)}function Pe(be,se,Ge){ee(be,se,Ge),t(34,ve=!0)}function ge(){t(34,ve=!1)}function ee(be,se,Ge){t(8,E=be),t(35,Se=se),Ge&&t(36,U=Ge),t(7,Ae=ce(be))}function ce(be){const se=fn((o?1-be:be)*l);return o?`-${se}`:se}return i.$$set=be=>{"showTimeline"in be&&t(33,b=be.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,S=te?c:Y),i.$$.dirty[0]&2&&t(4,$=fn(l)),i.$$.dirty[1]&256&&t(5,le=fn(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,Ce=a/l),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,re=r||s),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:U,translateXPx:Se,translateYPx:te&&z?-36:-16,active:ve&&b&&!re,pointer:!w.features.timelinePreview||!z||o})},[o,l,s,S,$,le,Ce,Ae,E,n,f,h,g,p,w,A,C,I,M,J,G,z,ae,te,X,T,ue,Ee,O,K,Me,Pe,ge,b,ve,Se,U,re,r,a,c]}let yp=class extends ye{constructor(e){super(),ke(this,e,kp,wp,we,{showTimeline:33},vp,[-1,-1])}};function Sp(i){let e,t;return e=new Wl({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:ne("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){H(e.$$.fragment)},m(n,o){D(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=ne("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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Cp(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const r=Ct().ui.isMobile;W(i,r,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=fn(l)),i.$$.dirty&64&&t(2,c=fn(o)),i.$$.dirty&65&&t(3,f=o/l)},[l,a,c,f,n,r,o]}class nc extends ye{constructor(e){super(),ke(this,e,Cp,Sp,we,{position:6,duration:0})}}function Pp(i){Fe(i,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function Tp(i){let e;return{c(){e=_("div"),u(e,"class","timeline-stub v-1gqonyf"),V(e,"mobile",i[2])},m(t,n){y(t,e,n)},p(t,n){n&4&&V(e,"mobile",t[2])},i:Z,o:Z,d(t){t&&k(e)}}}function Ep(i){let e,t,n,o;const l=[Lp,Ap],s=[];function r(a,c){return a[0]?0:1}return t=r(i),n=s[t]=l[t](i),{c(){e=_("div"),n.c(),u(e,"class","timeline v-1gqonyf"),V(e,"mobile",i[2])},m(a,c){y(a,e,c),s[t].m(e,null),o=!0},p(a,c){let f=t;t=r(a),t===f?s[t].p(a,c):(he(),v(s[f],1,1,()=>{s[f]=null}),pe(),n=s[t],n?n.p(a,c):(n=s[t]=l[t](a),n.c()),d(n,1),n.m(e,null)),(!o||c&4)&&V(e,"mobile",a[2])},i(a){o||(d(n),o=!0)},o(a){v(n),o=!1},d(a){a&&k(e),s[t].d()}}}function Ap(i){let e,t;return e=new yp({props:{showTimeline:i[1]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.showTimeline=n[1]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Lp(i){let e,t;return e=new nc({props:{position:i[3],duration:i[4]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Vp(i){let e,t,n,o;const l=[Ep,Tp],s=[];function r(a,c){return a[1]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=gt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?s[e].p(a,c):(he(),v(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function Ip(i,e,t){let n,o,l,s,{isAds:r=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const h=Ct(),g=h.state.isLive$;W(i,g,A=>t(12,n=A));const p=h.ads.duration;W(i,p,A=>t(4,s=A));const b=h.ads.position;W(i,b,A=>t(3,l=A));const L=h.ui.isMobile;W(i,L,A=>t(2,o=A));let w;return i.$$set=A=>{"isAds"in A&&t(0,r=A.isAds),"canRewindLive"in A&&t(9,a=A.canRewindLive),"isRewindableLive"in A&&t(10,c=A.isRewindableLive),"isHidden"in A&&t(11,f=A.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,w=!f&&(!n||n&&a&&c||r))},[r,w,o,l,s,g,p,b,L,a,c,f,n]}class oc extends ye{constructor(e){super(),ke(this,e,Ip,Vp,we,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},Pp)}}function Mp(i){let e,t,n,o;return{c(){e=N("svg"),t=N("path"),n=N("path"),o=N("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"),Rt(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(l,s){y(l,e,s),m(e,t),m(e,n),m(e,o)},p:Z,i:Z,o:Z,d(l){l&&k(e)}}}class Np extends ye{constructor(e){super(),ke(this,e,null,Mp,we,{})}}function Rp(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Bp extends ye{constructor(e){super(),ke(this,e,null,Rp,we,{})}}function Op(i){Fe(i,"v-1yhs2ga",".text.v-1yhs2ga{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text.count.v-1yhs2ga{overflow:visible}.text.mobile.v-1yhs2ga{padding:0 3px 0 4px}.chevron-episodes.v-1yhs2ga{margin-bottom:-4px}")}function zp(i){let e,t,n,o;e=new Np({});function l(a,c){if(a[2]===Dn.FULL)return Hp;if(a[2]===Dn.COUNT)return Fp}let s=l(i),r=s&&s(i);return{c(){H(e.$$.fragment),t=B(),r&&r.c(),n=gt()},m(a,c){D(e,a,c),y(a,t,c),r&&r.m(a,c),y(a,n,c),o=!0},p(a,c){s===(s=l(a))&&r?r.p(a,c):(r&&r.d(1),r=s&&s(a),r&&(r.c(),r.m(n.parentNode,n)))},i(a){o||(d(e.$$.fragment,a),o=!0)},o(a){v(e.$$.fragment,a),o=!1},d(a){a&&(k(t),k(n)),F(e,a),r&&r.d(a)}}}function Dp(i){let e,t,n,o,l,s;return l=new Bp({}),{c(){e=_("span"),t=He(i[1]),n=B(),o=_("div"),H(l.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(r,a){y(r,e,a),m(e,t),y(r,n,a),y(r,o,a),D(l,o,null),s=!0},p(r,a){(!s||a&2)&&xe(t,r[1])},i(r){s||(d(l.$$.fragment,r),s=!0)},o(r){v(l.$$.fragment,r),s=!1},d(r){r&&(k(e),k(n),k(o)),F(l)}}}function Fp(i){let e,t=i[0].length+"",n;return{c(){e=_("span"),n=He(t),u(e,"class","text count v-1yhs2ga")},m(o,l){y(o,e,l),m(e,n)},p(o,l){l&1&&t!==(t=o[0].length+"")&&xe(n,t)},d(o){o&&k(e)}}}function Hp(i){let e,t;return{c(){e=_("span"),t=He(i[1]),u(e,"class","text v-1yhs2ga")},m(n,o){y(n,e,o),m(e,t)},p(n,o){o&2&&xe(t,n[1])},d(n){n&&k(e)}}}function Up(i){let e,t,n,o;const l=[Dp,zp],s=[];function r(a,c){return a[4]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=gt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?s[e].p(a,c):(he(),v(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function jp(i){let e,t;return e=new vi({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:[Up]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function qp(i,e,t){var I,M,J,G,Y;let n,o,l,s,{position:r=0}=e,{duration:a=0}=e,{timeCodes:c=[]}=e;const f=Ct(),h=(M=(I=f.callbacks)==null?void 0:I.onEpisodeChanged)!=null?M:oe.noop,g=(G=(J=f.callbacks)==null?void 0:J.onEpisodeClicked)!=null?G:oe.noop,p=!!((Y=f.callbacks)!=null&&Y.onEpisodeClicked),b=f.ui.currentGridType$;W(i,b,z=>t(13,l=z));const L=f.ui.isMobile;W(i,L,z=>t(4,s=z));let w,A,C;return i.$$set=z=>{"position"in z&&t(9,r=z.position),"duration"in z&&t(10,a=z.duration),"timeCodes"in z&&t(0,c=z.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&1536&&t(12,n=r/a),i.$$.dirty&7169){const z=ic(n,a,c);z&&(w==null?void 0:w.text)!==z.text&&(h(z),t(11,w=z))}i.$$.dirty&2048&&t(1,o=(w==null?void 0:w.text)||""),i.$$.dirty&8192&&(nn(l,exports.GridTypes.XL)?t(2,A=Dn.FULL):nn(l,exports.GridTypes.M)&&u3(l,exports.GridTypes.XL)?t(2,A=Dn.COUNT):t(2,A=Dn.SHORT)),i.$$.dirty&2&&t(3,C=`${ne("tooltip_episodes")}: ${o}`)},[c,o,A,C,s,g,p,b,L,r,a,w,n,l]}class lc extends ye{constructor(e){super(),ke(this,e,qp,jp,we,{position:9,duration:10,timeCodes:0},Op)}}function Wp(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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){y(o,e,l),m(e,t),m(e,n)},p:Z,i:Z,o:Z,d(o){o&&k(e)}}}class Zp extends ye{constructor(e){super(),ke(this,e,null,Wp,we,{})}}function Gp(i){let e,t;return e=new Zp({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Kp(i){let e,t;return e=new vi({props:{className:i[0]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:ne("tooltip_interactive_seek"),disabled:i[1],click:i[2],$$slots:{default:[Gp]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Yp(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=s=>{"hidden"in s&&t(0,n=s.hidden),"disabled"in s&&t(1,o=s.disabled),"click"in s&&t(2,l=s.click)},[n,o,l]}class sc extends ye{constructor(e){super(),ke(this,e,Yp,Kp,we,{hidden:0,disabled:1,click:2})}}function Qp(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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){y(o,e,l),m(e,t),m(e,n)},p(o,[l]){l&1&&V(n,"hidden",!o[0])},i:Z,o:Z,d(o){o&&k(e)}}}function Xp(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class Jp extends ye{constructor(e){super(),ke(this,e,Xp,Qp,we,{isOpened:0})}}function xp(i){let e,t;return e=new Jp({props:{isOpened:i[2]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&4&&(l.isOpened=n[2]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function $p(i){let e,t;return e=new vi({props:{className:i[0]?"hidden":"",testId:"btn-graph",disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[xp]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ev(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{graphIsOpened:l=!1}=e,{click:s}=e,r;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,s=a.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,r=ne(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,l,s,r]}class rc extends ye{constructor(e){super(),ke(this,e,ev,$p,we,{hidden:0,disabled:1,graphIsOpened:2,click:3})}}function tv(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class iv extends ye{constructor(e){super(),ke(this,e,null,tv,we,{})}}function nv(i){Fe(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Fr(i){let e;return{c(){e=_("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function ov(i){let e,t,n,o,l=i[0]&&Fr();return n=new iv({}),{c(){l&&l.c(),e=B(),t=_("div"),H(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[0])},m(s,r){l&&l.m(s,r),y(s,e,r),y(s,t,r),D(n,t,null),o=!0},p(s,r){s[0]?l||(l=Fr(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),(!o||r&1)&&V(t,"mobile",s[0])},i(s){o||(d(n.$$.fragment,s),o=!0)},o(s){v(n.$$.fragment,s),o=!1},d(s){s&&(k(e),k(t)),l&&l.d(s),F(n)}}}function lv(i){let e,t;return e=new vi({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-replay",ariaLabel:ne("tooltip_restart"),disabled:i[1],click:i[3],$$slots:{default:[ov]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function sv(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{className:l=""}=e,{click:s=oe.noop}=e;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"disabled"in r&&t(1,o=r.disabled),"className"in r&&t(2,l=r.className),"click"in r&&t(3,s=r.click)},[n,o,l,s]}class Kl extends ye{constructor(e){super(),ke(this,e,sv,lv,we,{isMobile:0,disabled:1,className:2,click:3},nv)}}function rv(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class av extends ye{constructor(e){super(),ke(this,e,null,rv,we,{})}}function uv(i){let e,t;return e=new av({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function cv(i){let e,t;return e=new vi({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:ne("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[uv]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function fv(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=s=>{"hidden"in s&&t(0,n=s.hidden),"disabled"in s&&t(1,o=s.disabled),"click"in s&&t(2,l=s.click)},[n,o,l]}class ac extends ye{constructor(e){super(),ke(this,e,fv,cv,we,{hidden:0,disabled:1,click:2})}}function dv(i){Fe(i,"v-1x1zctw",".icon.v-1x1zctw{width:24px !important;height:24px !important;;}.error-stub.v-1x1zctw{display:flex;justify-content:center;align-items:center}.inner.v-1x1zctw{width:16px;height:16px;background-color:var(--white)}")}function mv(i){let e,t,n,o;return{c(){e=_("img"),u(e,"class","icon v-1x1zctw"),ns(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(l,s){y(l,e,s),n||(o=Ve(e,"error",i[7]),n=!0)},p(l,s){s&1&&!ns(e.src,t=l[0])&&u(e,"src",t)},d(l){l&&k(e),n=!1,o()}}}function hv(i){let e;return{c(){e=_("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(t,n){y(t,e,n)},p:Z,d(t){t&&k(e)}}}function pv(i){let e;function t(l,s){return l[5]?hv:mv}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,s){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&k(e),o.d(l)}}}function vv(i){let e,t;return e=new vi({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[pv]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function gv(i,e,t){let n,o,l,{iconUrl:s}=e,{ariaLabel:r}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=oe.noop}=e;const h=()=>{t(5,l=!0)};return i.$$set=g=>{"iconUrl"in g&&t(0,s=g.iconUrl),"ariaLabel"in g&&t(1,r=g.ariaLabel),"disabled"in g&&t(8,a=g.disabled),"testId"in g&&t(2,c=g.testId),"onClick"in g&&t(3,f=g.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===oe.noop),i.$$.dirty&272&&t(6,o=n||a)},t(5,l=!1),[s,r,c,f,n,l,o,h,a]}class uc extends ye{constructor(e){super(),ke(this,e,gv,vv,we,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},dv)}}function bv(i){Fe(i,"v-st0uzk",".wrapper-bottom.v-st0uzk.v-st0uzk{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-st0uzk>.v-st0uzk{pointer-events:auto}.controls.v-st0uzk.v-st0uzk{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-st0uzk.v-st0uzk,.controls-right.v-st0uzk.v-st0uzk{display:flex;align-content:center}.controls-left.v-st0uzk.v-st0uzk{flex-grow:1;min-width:0;overflow:hidden}.controls-left.v-st0uzk > *:not(:first-child),.controls-right.v-st0uzk > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-st0uzk.v-st0uzk{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-st0uzk.v-st0uzk{transition:none}.settings-menu.v-st0uzk.v-st0uzk{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function Hr(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 Ur(i){let e,t,n;function o(s){i[135](s)}let l={disabled:!i[9],tooltipContent:ne("tooltip_previous"),$$slots:{default:[_v]},$$scope:{ctx:i}};return i[30]!==void 0&&(l.width=i[30]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[0]&512&&(a.disabled=!s[9]),r[0]&4608|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[0]&1073741824&&(t=!0,a.width=s[30],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function _v(i){let e,t;return e=new Xo({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function jr(i){let e,t,n;function o(s){i[136](s)}let l={disabled:i[66],tooltipContent:ne("tooltip_restart"),$$slots:{default:[wv]},$$scope:{ctx:i}};return i[31]!==void 0&&(l.width=i[31]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[2]&16&&(a.disabled=s[66]),r[2]&16|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&1&&(t=!0,a.width=s[31],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function wv(i){let e,t;return e=new Kl({props:{click:i[113],disabled:i[66]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[2]&16&&(l.disabled=n[66]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function qr(i){let e,t,n;function o(s){i[137](s)}let l={tooltipContent:i[57],disabled:i[67],$$slots:{default:[kv]},$$scope:{ctx:i}};return i[32]!==void 0&&(l.width=i[32]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[1]&67108864&&(a.tooltipContent=s[57]),r[2]&32&&(a.disabled=s[67]),r[1]&2097152|r[2]&32|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&2&&(t=!0,a.width=s[32],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function kv(i){let e,t;return e=new Gl({props:{isMobile:!1,isPlaying:i[52],click:i[77],disabled:i[67]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Wr(i){let e,t,n;function o(s){i[138](s)}let l={disabled:!i[8],tooltipContent:ne("tooltip_next"),$$slots:{default:[yv]},$$scope:{ctx:i}};return i[33]!==void 0&&(l.width=i[33]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[0]&256&&(a.disabled=!s[8]),r[0]&2304|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&4&&(t=!0,a.width=s[33],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function yv(i){let e,t;return e=new Xo({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Sv(i){let e,t,n,o,l=i[107]&&Cv(i),s=i[106]&&Tv(i),r=i[105]&&Av(i);return{c(){l&&l.c(),e=B(),s&&s.c(),t=B(),r&&r.c(),n=gt()},m(a,c){l&&l.m(a,c),y(a,e,c),s&&s.m(a,c),y(a,t,c),r&&r.m(a,c),y(a,n,c),o=!0},p(a,c){a[107]&&l.p(a,c),a[106]&&s.p(a,c),a[105]&&r.p(a,c)},i(a){o||(d(l),d(s),d(r),o=!0)},o(a){v(l),v(s),v(r),o=!1},d(a){a&&(k(e),k(t),k(n)),l&&l.d(a),s&&s.d(a),r&&r.d(a)}}}function Cv(i){let e,t,n;function o(s){i[139](s)}let l={disabled:i[65],tooltipContent:ne("tooltip_interactive_go_back"),disabledTooltipContent:i[109]&&ne(i[109]),$$slots:{default:[Pv]},$$scope:{ctx:i}};return i[34]!==void 0&&(l.width=i[34]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[2]&8&&(a.disabled=s[65]),r[0]&131072|r[2]&8|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&8&&(t=!0,a.width=s[34],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function Pv(i){let e,t;return e=new ac({props:{disabled:i[65],click:i[17]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Tv(i){let e,t,n;function o(s){i[140](s)}let l={disabled:i[68],tooltipContent:ne("tooltip_interactive_seek"),$$slots:{default:[Ev]},$$scope:{ctx:i}};return i[35]!==void 0&&(l.width=i[35]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[2]&64&&(a.disabled=s[68]),r[0]&32768|r[2]&64|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&16&&(t=!0,a.width=s[35],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function Ev(i){let e,t;return e=new sc({props:{disabled:i[68],click:i[15]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Av(i){let e,t,n;function o(s){i[141](s)}let l={tooltipContent:i[58],disabled:i[69],$$slots:{default:[Lv]},$$scope:{ctx:i}};return i[36]!==void 0&&(l.width=i[36]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[1]&134217728&&(a.tooltipContent=s[58]),r[2]&128&&(a.disabled=s[69]),r[0]&65536|r[1]&524288|r[2]&128|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&32&&(t=!0,a.width=s[36],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function Lv(i){let e,t;return e=new rc({props:{click:i[16],graphIsOpened:i[50],disabled:i[69]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Zr(i){let e,t,n;function o(s){i[142](s)}let l={tooltipContent:i[59],$$slots:{default:[Vv]},$$scope:{ctx:i}};return i[37]!==void 0&&(l.width=i[37]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[1]&268435456&&(a.tooltipContent=s[59]),r[0]&268435456|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&64&&(t=!0,a.width=s[37],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function Vv(i){let e,t;return e=new tc({props:{isActiveLive:i[28],click:i[111],isMobile:!1}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[0]&268435456&&(l.isActiveLive=n[28]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Gr(i){let e,t,n;function o(s){i[143](s)}let l={isMobile:!1,showDuration:i[64],position:i[4]?i[71]:i[72],duration:i[4]?i[73]:i[74]};return i[38]!==void 0&&(l.width=i[38]),e=new Yu({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[2]&4&&(a.showDuration=s[64]),r[0]&16|r[2]&1536&&(a.position=s[4]?s[71]:s[72]),r[0]&16|r[2]&6144&&(a.duration=s[4]?s[73]:s[74]),!t&&r[1]&128&&(t=!0,a.width=s[38],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function Kr(i){let e,t;return e=new lc({props:{position:i[72],duration:i[74],timeCodes:i[92]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Iv(i){let e,t,n=i[27]&&Kr(i);return{c(){n&&n.c(),e=gt()},m(o,l){n&&n.m(o,l),y(o,e,l),t=!0},p(o,l){o[27]?n?(n.p(o,l),l[0]&134217728&&d(n,1)):(n=Kr(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(he(),v(n,1,1,()=>{n=null}),pe())},i(o){t||(d(n),t=!0)},o(o){v(n),t=!1},d(o){o&&k(e),n&&n.d(o)}}}function Mv(i){var n;let e,t;return e=new uc({props:{iconUrl:i[163],ariaLabel:(n=i[164])!=null?n:i[167],testId:i[165],onClick:i[166]}}),{c(){H(e.$$.fragment)},m(o,l){D(e,o,l),t=!0},p(o,l){var r;const s={};l[1]&32768&&(s.iconUrl=o[163]),l[1]&32768&&(s.ariaLabel=(r=o[164])!=null?r:o[167]),l[1]&32768&&(s.testId=o[165]),l[1]&32768&&(s.onClick=o[166]),e.$set(s)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){F(e,o)}}}function Yr(i){let e,t;return e=new Zt({props:{tooltipContent:i[167],width:40,$$slots:{default:[Mv]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Qr(i){let e,t,n;function o(s){i[146](s)}let l={disabled:!i[6],tooltipContent:i[60],$$slots:{default:[Nv]},$$scope:{ctx:i}};return i[40]!==void 0&&(l.width=i[40]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[0]&64&&(a.disabled=!s[6]),r[1]&536870912&&(a.tooltipContent=s[60]),r[0]&192|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&512&&(t=!0,a.width=s[40],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function Nv(i){let e,t;return e=new $u({props:{click:i[78],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Rv(i){let e,t;return e=new v3({props:{isAudioAvailable:i[70],click:i[112]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[2]&256&&(l.isAudioAvailable=n[70]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Xr(i){let e,t,n;function o(s){i[148](s)}let l={tooltipContent:i[61],$$slots:{default:[Bv]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[1]&1073741824&&(a.tooltipContent=s[61]),r[0]&262144|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&2048&&(t=!0,a.width=s[42],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function Bv(i){let e,t;return e=new Th({props:{isSubtitlesEnabled:i[18],click:i[79]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[0]&262144&&(l.isSubtitlesEnabled=n[18]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Jr(i){var o;let e,t,n;return t=new Ku({props:{supportLink:i[10],playerControlsHeight:(o=i[56])==null?void 0:o.clientHeight,returnFocus:i[14]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(l,s){y(l,e,s),D(t,e,null),n=!0},p(l,s){var a;const r={};s[0]&1024&&(r.supportLink=l[10]),s[1]&33554432&&(r.playerControlsHeight=(a=l[56])==null?void 0:a.clientHeight),s[0]&16384&&(r.returnFocus=l[14]),t.$set(r)},i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&k(e),F(t)}}}function xr(i){let e,t,n;function o(s){i[149](s)}let l={tooltipContent:i[76]?void 0:ne("tooltip_settings_off"),$$slots:{default:[Ov]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[2]&16384&&(a.tooltipContent=s[76]?void 0:ne("tooltip_settings_off")),r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&4096&&(t=!0,a.width=s[43],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function Ov(i){let e,t;return e=new ql({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function $r(i){let e,t,n;function o(s){i[150](s)}let l={tooltipContent:i[62],$$slots:{default:[zv]},$$scope:{ctx:i}};return i[44]!==void 0&&(l.width=i[44]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[2]&1&&(a.tooltipContent=s[62]),r[0]&8192|r[1]&262144|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&8192&&(t=!0,a.width=s[44],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function zv(i){let e,t;return e=new Ju({props:{click:i[13],isFullscreen:i[49]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ea(i){let e,t,n;function o(s){i[151](s)}let l={tooltipContent:i[63],$$slots:{default:[Dv]},$$scope:{ctx:i}};return i[45]!==void 0&&(l.width=i[45]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[2]&2&&(a.tooltipContent=s[63]),r[1]&131072|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&16384&&(t=!0,a.width=s[45],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function Dv(i){let e,t;return e=new ec({props:{isMobile:!1,state:i[48],click:i[110]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&131072&&(l.state=n[48]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Fv(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,C,I,M,J,G,Y,z,ae,te,X;t=new oc({props:{isHidden:!i[55],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[51]}});let T=i[54]&&Ur(i),j=i[19]&&jr(i),ue=i[20]&&qr(i),S=i[53]&&Wr(i),$=i[104]&&Sv(i),le=!i[4]&&i[47]&&Zr(i),Ce=i[26]&&Gr(i);function ve(ee){i[144](ee)}let Ae={className:"w-max",disabled:!i[27],tooltipContent:ne("tooltip_episodes"),$$slots:{default:[Iv]},$$scope:{ctx:i}};i[39]!==void 0&&(Ae.width=i[39]),p=new Zt({props:Ae}),qe.push(()=>St(p,"width",ve));let Se=qt(i[46]),U=[];for(let ee=0;ee<Se.length;ee+=1)U[ee]=Yr(Hr(i,Se,ee));const E=ee=>v(U[ee],1,1,()=>{U[ee]=null});let re=i[24]&&Qr(i);function q(ee){i[147](ee)}let Ee={$$slots:{default:[Rv]},$$scope:{ctx:i}};i[41]!==void 0&&(Ee.width=i[41]),M=new Zt({props:Ee}),qe.push(()=>St(M,"width",q));let O=i[22]&&Xr(i),K=!i[75]&&!i[4]&&Jr(i),Me=i[23]&&xr(i),Pe=i[25]&&$r(i),ge=i[21]&&ea(i);return{c(){e=_("div"),H(t.$$.fragment),n=B(),o=_("div"),l=_("div"),T&&T.c(),s=B(),j&&j.c(),r=B(),ue&&ue.c(),a=B(),S&&S.c(),c=B(),$&&$.c(),f=B(),le&&le.c(),h=B(),Ce&&Ce.c(),g=B(),H(p.$$.fragment),w=B(),A=_("div");for(let ee=0;ee<U.length;ee+=1)U[ee].c();C=B(),re&&re.c(),I=B(),H(M.$$.fragment),G=B(),O&&O.c(),Y=B(),K&&K.c(),z=B(),Me&&Me.c(),ae=B(),Pe&&Pe.c(),te=B(),ge&&ge.c(),u(l,"class","controls-left v-st0uzk"),Fn(()=>i[145].call(l)),u(A,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),V(e,"hidden",i[1]),V(e,"controls-hidden",!i[3]),V(e,"no-smooth",i[2])},m(ee,ce){y(ee,e,ce),D(t,e,null),m(e,n),m(e,o),m(o,l),T&&T.m(l,null),m(l,s),j&&j.m(l,null),m(l,r),ue&&ue.m(l,null),m(l,a),S&&S.m(l,null),m(l,c),$&&$.m(l,null),m(l,f),le&&le.m(l,null),m(l,h),Ce&&Ce.m(l,null),m(l,g),D(p,l,null),L=qo(l,i[145].bind(l)),m(o,w),m(o,A);for(let be=0;be<U.length;be+=1)U[be]&&U[be].m(A,null);m(A,C),re&&re.m(A,null),m(A,I),D(M,A,null),m(A,G),O&&O.m(A,null),m(A,Y),K&&K.m(A,null),m(A,z),Me&&Me.m(A,null),m(A,ae),Pe&&Pe.m(A,null),m(A,te),ge&&ge.m(A,null),i[152](o),i[153](e),X=!0},p(ee,ce){const be={};ce[1]&16777216&&(be.isHidden=!ee[55]),ce[0]&16&&(be.isAds=ee[4]),ce[0]&32&&(be.canRewindLive=ee[5]),ce[1]&1048576&&(be.isRewindableLive=ee[51]),t.$set(be),ee[54]?T?(T.p(ee,ce),ce[1]&8388608&&d(T,1)):(T=Ur(ee),T.c(),d(T,1),T.m(l,s)):T&&(he(),v(T,1,1,()=>{T=null}),pe()),ee[19]?j?(j.p(ee,ce),ce[0]&524288&&d(j,1)):(j=jr(ee),j.c(),d(j,1),j.m(l,r)):j&&(he(),v(j,1,1,()=>{j=null}),pe()),ee[20]?ue?(ue.p(ee,ce),ce[0]&1048576&&d(ue,1)):(ue=qr(ee),ue.c(),d(ue,1),ue.m(l,a)):ue&&(he(),v(ue,1,1,()=>{ue=null}),pe()),ee[53]?S?(S.p(ee,ce),ce[1]&4194304&&d(S,1)):(S=Wr(ee),S.c(),d(S,1),S.m(l,c)):S&&(he(),v(S,1,1,()=>{S=null}),pe()),ee[104]&&$.p(ee,ce),!ee[4]&&ee[47]?le?(le.p(ee,ce),ce[0]&16|ce[1]&65536&&d(le,1)):(le=Zr(ee),le.c(),d(le,1),le.m(l,h)):le&&(he(),v(le,1,1,()=>{le=null}),pe()),ee[26]?Ce?(Ce.p(ee,ce),ce[0]&67108864&&d(Ce,1)):(Ce=Gr(ee),Ce.c(),d(Ce,1),Ce.m(l,g)):Ce&&(he(),v(Ce,1,1,()=>{Ce=null}),pe());const se={};if(ce[0]&134217728&&(se.disabled=!ee[27]),ce[0]&134217728|ce[2]&5120|ce[5]&32768&&(se.$$scope={dirty:ce,ctx:ee}),!b&&ce[1]&256&&(b=!0,se.width=ee[39],yt(()=>b=!1)),p.$set(se),ce[1]&32768){Se=qt(ee[46]);let Ue;for(Ue=0;Ue<Se.length;Ue+=1){const ut=Hr(ee,Se,Ue);U[Ue]?(U[Ue].p(ut,ce),d(U[Ue],1)):(U[Ue]=Yr(ut),U[Ue].c(),d(U[Ue],1),U[Ue].m(A,C))}for(he(),Ue=Se.length;Ue<U.length;Ue+=1)E(Ue);pe()}ee[24]?re?(re.p(ee,ce),ce[0]&16777216&&d(re,1)):(re=Qr(ee),re.c(),d(re,1),re.m(A,I)):re&&(he(),v(re,1,1,()=>{re=null}),pe());const Ge={};ce[2]&256|ce[5]&32768&&(Ge.$$scope={dirty:ce,ctx:ee}),!J&&ce[1]&1024&&(J=!0,Ge.width=ee[41],yt(()=>J=!1)),M.$set(Ge),ee[22]?O?(O.p(ee,ce),ce[0]&4194304&&d(O,1)):(O=Xr(ee),O.c(),d(O,1),O.m(A,Y)):O&&(he(),v(O,1,1,()=>{O=null}),pe()),!ee[75]&&!ee[4]?K?(K.p(ee,ce),ce[0]&16|ce[2]&8192&&d(K,1)):(K=Jr(ee),K.c(),d(K,1),K.m(A,z)):K&&(he(),v(K,1,1,()=>{K=null}),pe()),ee[23]?Me?(Me.p(ee,ce),ce[0]&8388608&&d(Me,1)):(Me=xr(ee),Me.c(),d(Me,1),Me.m(A,ae)):Me&&(he(),v(Me,1,1,()=>{Me=null}),pe()),ee[25]?Pe?(Pe.p(ee,ce),ce[0]&33554432&&d(Pe,1)):(Pe=$r(ee),Pe.c(),d(Pe,1),Pe.m(A,te)):Pe&&(he(),v(Pe,1,1,()=>{Pe=null}),pe()),ee[21]?ge?(ge.p(ee,ce),ce[0]&2097152&&d(ge,1)):(ge=ea(ee),ge.c(),d(ge,1),ge.m(A,null)):ge&&(he(),v(ge,1,1,()=>{ge=null}),pe()),(!X||ce[0]&2)&&V(e,"hidden",ee[1]),(!X||ce[0]&8)&&V(e,"controls-hidden",!ee[3]),(!X||ce[0]&4)&&V(e,"no-smooth",ee[2])},i(ee){if(!X){d(t.$$.fragment,ee),d(T),d(j),d(ue),d(S),d($),d(le),d(Ce),d(p.$$.fragment,ee);for(let ce=0;ce<Se.length;ce+=1)d(U[ce]);d(re),d(M.$$.fragment,ee),d(O),d(K),d(Me),d(Pe),d(ge),X=!0}},o(ee){v(t.$$.fragment,ee),v(T),v(j),v(ue),v(S),v($),v(le),v(Ce),v(p.$$.fragment,ee),U=U.filter(Boolean);for(let ce=0;ce<U.length;ce+=1)v(U[ce]);v(re),v(M.$$.fragment,ee),v(O),v(K),v(Me),v(Pe),v(ge),X=!1},d(ee){ee&&k(e),F(t),T&&T.d(),j&&j.d(),ue&&ue.d(),S&&S.d(),$&&$.d(),le&&le.d(),Ce&&Ce.d(),F(p),L(),ln(U,ee),re&&re.d(),F(M),O&&O.d(),K&&K.d(),Me&&Me.d(),Pe&&Pe.d(),ge&&ge.d(),i[152](null),i[153](null)}}}function Hv(i,e,t){var Un,jn;let n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,C,I,M,J,G,Y,z,ae,te,X,T,j,ue,S,$,{bottomHidden:le}=e,{bottomNoSmooth:Ce}=e,{showControls:ve}=e,{controlsElementRef:Ae=void 0}=e,{isAds:Se=!1}=e,{canRewindLive:U}=e,{logoClickable:E}=e,{logoHidden:re}=e,{videoLogoUrl:q}=e,{showNextPrevButtons:Ee}=e,{nextButtonActive:O}=e,{prevButtonActive:K}=e,{isOneVideoPlaylist:Me=!1}=e,{supportLink:Pe}=e,{customFullscreenSupported:ge=!0}=e,{playNextVideo:ee}=e,{playPrevVideo:ce}=e,{repeatPlaylist:be}=e,{toggleFullscreen:se}=e,{returnFocus:Ge}=e,{seekToInteractive:Ue}=e,{toggleGraph:ut}=e,{playPrevChapter:nt}=e;const ze=Ct(),dt=Xi(),kt=ze.actions.internal.toggleMuted,Ne=ze.actions.internal.togglePlay,Be=ze.actions.internal.pause,zt=ze.actions.internal.toggleSubtitle,me=(Un=ze.callbacks)==null?void 0:Un.onAudioDoesNotExistHint,tt=(jn=ze.callbacks)==null?void 0:jn.onAudioDisabledHint,$e=ze.state.duration$;W(i,$e,ie=>t(74,ue=ie));const Je=ze.state.positionWithScrubbing$;W(i,Je,ie=>t(72,T=ie));const Ke=ze.state.playbackState$;W(i,Ke,ie=>t(125,w=ie));const Ye=ze.state.chromecastConnected$;W(i,Ye,ie=>t(75,S=ie));const et=ze.state.isAudioAvailable$;W(i,et,ie=>t(70,c=ie));const lt=ze.state.isAudioDisabled,ot=ze.state.isEnded$;W(i,ot,ie=>t(131,Y=ie));const De=ze.state.isLive$;W(i,De,ie=>t(47,g=ie));const Vt=ze.state.isActiveLive$;W(i,Vt,ie=>t(126,A=ie));const Pt=ze.state.isRewindableLive$;W(i,Pt,ie=>t(51,C=ie));const st=ze.ui.isPictureInPictureActive$;W(i,st,ie=>t(129,J=ie));const li=ze.ui.pictureInPictureType$;W(i,li,ie=>t(128,M=ie));const mt=ze.ui.settingsMenuVisible;W(i,mt,ie=>t(76,$=ie));const Qe=ze.ui.controls,At=ze.actions.internal.getVideoEpisodes(),ct=ze.state.chromecastState$;W(i,ct,ie=>t(48,p=ie));const gi=ze.state.availableSubtitlesList$;W(i,gi,ie=>t(130,G=ie));const de=ze.state.currentSubtitle$;W(i,de,ie=>t(132,z=ie));const Te=Qe.disabledControls$;W(i,Te,ie=>t(134,te=ie));const Ie=ze.ads.duration;W(i,Ie,ie=>t(73,j=ie));const It=ze.ads.position;W(i,It,ie=>t(71,X=ie));const Jt=ze.ads.playbackState;W(i,Jt,ie=>t(133,ae=ie));const Le=ze.ui.isFullscreen;W(i,Le,ie=>t(49,b=ie));const ti=ze.ui.playerSize;W(i,ti,ie=>t(127,I=ie));const si=ze.ui.currentGridType$;W(i,si,ie=>t(124,h=ie));const Dt=ze.ui.additionalButtons$;W(i,Dt,ie=>t(46,f=ie));const Li=ze.actions.internal.replayInteractive,Ft=ze.state.isInteractive,Zi=ze.state.isInteractiveGraphEnabled,ri=ze.state.isSeekToInteractiveEnable,Vi=ze.state.isPlayPrevChapterEnabled,Tt=ze.state.graphIsOpened$;W(i,Tt,ie=>t(50,L=ie));const $i=ze.state.playPrevChapterDisabledTooltip,ii=()=>ze.actions.internal.toggleChromecast(),en=()=>ze.actions.internal.switchToActiveLive();let Et,Ii,ai,Pi,Fi,ni,Mi,Ti,Ei,Gt,ui,bi,Hi,ci,Bt,oi,Ni,Gi,fi,Ri,Bi,di,_i,Ui,Kt,Ht,wi,Ut,Yt,mi,ki,Ai,yi,Oi,zi,Si,Ki,Qt,jt,Mt,ji,Xt,fe,xt,Ji;function sn(ie,Rn){let R=fo;const it=(hi,Ci,pn)=>{let Bn=Ci?hi+Ci+(hi?r0:0):hi;return pn.set({positionStartX:hi,positionEndX:Bn,isDisplayed:Rn&&hi!==Bn}),Bn};R=it(R,ie.prevButtonWidth,Qe.prevButton),R=it(R,ie.replayButtonWidth,Qe.replayButton),R=it(R,ie.playButtonWidth,Qe.playButton),R=it(R,ie.nextButtonWidth,Qe.nextButton),R=it(R,ie.playPrevChapterWidth,Qe.playPrevChapterButton),R=it(R,ie.seekToInteractiveWidth,Qe.seekToInteractiveButton),R=it(R,ie.interactiveGraphWidth,Qe.interactiveGraphButton),R=it(R,ie.liveButtonWidth,Qe.liveButton),R=it(R,ie.timeWidth,Qe.time),R=it(R,ie.episodesWidth,Qe.episodes),f.forEach((hi,Ci)=>{R=it(R,ie.additionalButtonWidths[Ci],Qe.additionalButtons[Ci])}),R=it(R,ie.vkLogoWidth,Qe.vkLogo),R=it(R,ie.volumeWidth,Qe.volume),R=it(R,ie.subtitlesWidth,Qe.subtitles),R=it(R,ie.settingsWidth,Qe.settings),R=it(R,ie.fullscreenWidth,Qe.fullscreen),it(R,ie.chromecastWidth,Qe.chromecast)}function Pn(){lt?tt==null||tt():c?kt():me==null||me()}const Tn=Ft?Li:Me?Ne:be;function rn(ie){Ht=ie,t(30,Ht)}function Yi(ie){wi=ie,t(31,wi)}function mn(ie){Ut=ie,t(32,Ut)}function hn(ie){Yt=ie,t(33,Yt)}function Mn(ie){mi=ie,t(34,mi)}function Nn(ie){ki=ie,t(35,ki)}function En(ie){Ai=ie,t(36,Ai)}function Q(ie){yi=ie,t(37,yi)}function vt(ie){Oi=ie,t(38,Oi)}function an(ie){zi=ie,t(39,zi)}function xi(){Kt=this.clientWidth,t(29,Kt)}function un(ie){Si=ie,t(40,Si)}function tn(ie){Ki=ie,t(41,Ki)}function lo(ie){Qt=ie,t(42,Qt)}function so(ie){jt=ie,t(43,jt)}function ro(ie){Mt=ie,t(44,Mt)}function ao(ie){ji=ie,t(45,ji)}function uo(ie){qe[ie?"unshift":"push"](()=>{oi=ie,t(56,oi)})}function co(ie){qe[ie?"unshift":"push"](()=>{Ae=ie,t(0,Ae)})}return i.$$set=ie=>{"bottomHidden"in ie&&t(1,le=ie.bottomHidden),"bottomNoSmooth"in ie&&t(2,Ce=ie.bottomNoSmooth),"showControls"in ie&&t(3,ve=ie.showControls),"controlsElementRef"in ie&&t(0,Ae=ie.controlsElementRef),"isAds"in ie&&t(4,Se=ie.isAds),"canRewindLive"in ie&&t(5,U=ie.canRewindLive),"logoClickable"in ie&&t(6,E=ie.logoClickable),"logoHidden"in ie&&t(114,re=ie.logoHidden),"videoLogoUrl"in ie&&t(7,q=ie.videoLogoUrl),"showNextPrevButtons"in ie&&t(115,Ee=ie.showNextPrevButtons),"nextButtonActive"in ie&&t(8,O=ie.nextButtonActive),"prevButtonActive"in ie&&t(9,K=ie.prevButtonActive),"isOneVideoPlaylist"in ie&&t(116,Me=ie.isOneVideoPlaylist),"supportLink"in ie&&t(10,Pe=ie.supportLink),"customFullscreenSupported"in ie&&t(117,ge=ie.customFullscreenSupported),"playNextVideo"in ie&&t(11,ee=ie.playNextVideo),"playPrevVideo"in ie&&t(12,ce=ie.playPrevVideo),"repeatPlaylist"in ie&&t(118,be=ie.repeatPlaylist),"toggleFullscreen"in ie&&t(13,se=ie.toggleFullscreen),"returnFocus"in ie&&t(14,Ge=ie.returnFocus),"seekToInteractive"in ie&&t(15,Ue=ie.seekToInteractive),"toggleGraph"in ie&&t(16,ut=ie.toggleGraph),"playPrevChapter"in ie&&t(17,nt=ie.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[4]&1024&&t(123,n=te.has(pt.EPISODE_BUTTON)),i.$$.dirty[4]&1024&&t(69,o=te.has(pt.GRAPH_BUTTON)),i.$$.dirty[4]&1024&&t(68,l=te.has(pt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[4]&1024&&t(67,s=te.has(pt.PLAY_BUTTON)),i.$$.dirty[4]&1024&&t(66,r=te.has(pt.REPLAY_BUTTON)),i.$$.dirty[4]&1024&&t(65,a=te.has(pt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[4]&514&&t(52,Et=Se?ae===Wt.PLAYING:w===at.PlaybackState.PLAYING),i.$$.dirty[4]&256&&t(18,Ii=z.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[4]&128&&t(19,ai=Y&&!Se||Ft),i.$$.dirty[0]&16|i.$$.dirty[4]&128&&t(20,Pi=!Y||Ft||Se),i.$$.dirty[4]&1&&t(119,Fi=nn(h,exports.GridTypes.M)),i.$$.dirty[0]&272|i.$$.dirty[3]&4194304|i.$$.dirty[4]&1&&t(53,ni=Ee&&nn(h,exports.GridTypes.M)&&!Se&&O),i.$$.dirty[0]&528|i.$$.dirty[3]&4194304|i.$$.dirty[4]&1&&t(54,Mi=Ee&&nn(h,exports.GridTypes.M)&&!Se&&K),i.$$.dirty[1]&131072|i.$$.dirty[4]&49&&t(21,Ti=p!==at.ChromecastState.NOT_AVAILABLE&&!(J&&M===bn.DocumentPictureInPicture)&&nn(h,exports.GridTypes.M)&&!Ft),i.$$.dirty[4]&65&&t(22,Ei=G.length>0&&nn(h,exports.GridTypes.M)),i.$$.dirty[4]&1&&t(23,Gt=nn(h,exports.GridTypes.S)),i.$$.dirty[3]&2097152&&t(24,ui=!re),i.$$.dirty[3]&18874368|i.$$.dirty[4]&49&&t(25,bi=dt.features.fullscreen&&(re||nn(h,exports.GridTypes.S))&&!(J&&M===bn.DocumentPictureInPicture)&&(Ft?ge:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&65536&&t(26,Hi=(!g||Se)&&!(dt.features.interactiveHideTime&&Ft)),i.$$.dirty[4]&8&&t(55,ci=I.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&65536|i.$$.dirty[3]&1140850688&&t(27,Bt=!Se&&!g&&!!(At!=null&&At.length)&&Fi&&!n),i.$$.dirty[1]&1048576|i.$$.dirty[4]&4&&t(28,Ni=!C||A),i.$$.dirty[4]&2&&t(57,Gi=w===at.PlaybackState.PLAYING?ne("tooltip_pause"):ne("tooltip_play")),i.$$.dirty[1]&524288&&t(58,fi=ne(L?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[0]&268435456&&t(59,Ri=Ni?"":ne("tooltip_live")),i.$$.dirty[0]&262144&&t(61,di=ne(Ii?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[1]&262144&&t(62,_i=ne(b?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[1]&131072&&t(63,Ui=p===at.ChromecastState.CONNECTED?ne("tooltip_chromecast_on"):ne("tooltip_chromecast_off")),i.$$.dirty[0]&1207435264|i.$$.dirty[1]&131071&&t(120,Xt={prevButtonWidth:Ht!=null?Ht:0,replayButtonWidth:ai?wi:0,playButtonWidth:Pi?Ut:0,nextButtonWidth:Yt!=null?Yt:0,playPrevChapterWidth:Vi?mi:0,seekToInteractiveWidth:Ft?ki:0,interactiveGraphWidth:Zi&&Ai!=null?Ai:0,liveButtonWidth:g&&yi?yi:0,timeWidth:Hi?Oi:0,episodesWidth:zi,vkLogoWidth:ui?Si:0,volumeWidth:Ki,subtitlesWidth:Ei?Qt:0,settingsWidth:Gt?jt:0,fullscreenWidth:bi?Mt:0,chromecastWidth:Ti?ji:0,additionalButtonWidths:f.length?f.reduce(ie=>[...ie,40],[]):[]}),i.$$.dirty[3]&402653184&&(!fe||fe<Xt.timeWidth)&&t(121,fe=Xt.timeWidth),i.$$.dirty[0]&738197504|i.$$.dirty[3]&402653184|i.$$.dirty[4]&1){let ie=0;Bt&&(nn(h,exports.GridTypes.XL)?ie=Xt.timeWidth:ie=a0);const Rn=Xt.prevButtonWidth+Xt.playButtonWidth+Xt.nextButtonWidth+Xt.seekToInteractiveWidth+Xt.interactiveGraphWidth+Xt.liveButtonWidth+fe+ie;t(122,xt=Hi&&Kt>=Rn)}i.$$.dirty[3]&536870912|i.$$.dirty[4]&1&&t(64,Ji=xt&&nn(h,exports.GridTypes.M)),i.$$.dirty[0]&8|i.$$.dirty[3]&134217728&&sn(Xt,ve)},t(60,Bi=dt.logoType===io.VK_VIDEO?ne("tooltip_vk_video_logo"):ne("tooltip_vk_logo")),[Ae,le,Ce,ve,Se,U,E,q,O,K,Pe,ee,ce,se,Ge,Ue,ut,nt,Ii,ai,Pi,Ti,Ei,Gt,ui,bi,Hi,Bt,Ni,Kt,Ht,wi,Ut,Yt,mi,ki,Ai,yi,Oi,zi,Si,Ki,Qt,jt,Mt,ji,f,g,p,b,L,C,Et,ni,Mi,ci,oi,Gi,fi,Ri,Bi,di,_i,Ui,Ji,a,r,s,l,o,c,X,T,j,ue,S,$,Ne,Be,zt,$e,Je,Ke,Ye,et,ot,De,Vt,Pt,st,li,mt,At,ct,gi,de,Te,Ie,It,Jt,Le,ti,si,Dt,Ft,Zi,ri,Vi,Tt,$i,ii,en,Pn,Tn,re,Ee,Me,ge,be,Fi,Xt,fe,xt,n,h,w,A,I,M,J,G,Y,z,ae,te,rn,Yi,mn,hn,Mn,Nn,En,Q,vt,an,xi,un,tn,lo,so,ro,ao,uo,co]}class Uv extends ye{constructor(e){super(),ke(this,e,Hv,Fv,we,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:114,videoLogoUrl:7,showNextPrevButtons:115,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:116,supportLink:10,customFullscreenSupported:117,playNextVideo:11,playPrevVideo:12,repeatPlaylist:118,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},bv,[-1,-1,-1,-1,-1,-1])}}function jv(i){let e,t,n,o;return{c(){e=N("svg"),t=N("g"),n=N("path"),o=N("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(l,s){y(l,e,s),m(e,t),m(t,n),m(t,o)},p:Z,i:Z,o:Z,d(l){l&&k(e)}}}class qv extends ye{constructor(e){super(),ke(this,e,null,jv,we,{})}}function Wv(i){Fe(i,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function ta(i){let e;return{c(){e=_("span"),e.textContent=`${ne("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){y(t,e,n)},p:Z,d(t){t&&k(e)}}}function Zv(i){let e,t,n,o;var l=i[3];function s(a){return{}}l&&(t=dn(l,s()));let r=i[0]&&ta();return{c(){e=_("div"),t&&H(t.$$.fragment),n=B(),r&&r.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),V(e,"expanded",i[0])},m(a,c){y(a,e,c),t&&D(t,e,null),m(e,n),r&&r.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,()=>{F(f,1)}),pe()}l?(t=dn(l,s()),H(t.$$.fragment),d(t.$$.fragment,1),D(t,e,n)):t=null}a[0]?r?r.p(a,c):(r=ta(),r.c(),r.m(e,null)):r&&(r.d(1),r=null),(!o||c&1)&&V(e,"expanded",a[0])},i(a){o||(t&&d(t.$$.fragment,a),o=!0)},o(a){t&&v(t.$$.fragment,a),o=!1},d(a){a&&k(e),t&&F(t),r&&r.d()}}}function Gv(i){let e,t;return e=new vi({props:{testId:i[0]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[1],ariaLabel:i[2],$$slots:{default:[Zv]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Kv(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:l=oe.noop}=e,s,r;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,s=ne(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&1&&t(3,r=o?Qo:qv)},[o,l,s,r,n]}class cc extends ye{constructor(e){super(),ke(this,e,Kv,Gv,we,{muted:4,expanded:0,click:1},Wv)}}function Yv(i){let e,t,n,o;return{c(){e=N("svg"),t=N("path"),n=N("path"),o=N("path"),u(t,"fill",i[1]),u(t,"clip-rule","evenodd"),u(t,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",i[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),V(n,"hidden",!i[0]),u(o,"fill",i[1]),u(o,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),V(o,"hidden",i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,s){y(l,e,s),m(e,t),m(e,n),m(e,o)},p(l,[s]){s&2&&u(t,"fill",l[1]),s&2&&u(n,"fill",l[1]),s&1&&V(n,"hidden",!l[0]),s&2&&u(o,"fill",l[1]),s&1&&V(o,"hidden",l[0])},i:Z,o:Z,d(l){l&&k(e)}}}function Qv(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 Xv extends ye{constructor(e){super(),ke(this,e,Qv,Yv,we,{isActive:0})}}function Jv(i){let e,t;return e=new Xv({props:{isActive:i[0]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isActive=n[0]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function xv(i){let e,t;return e=new vi({props:{testId:"btn-pip",ariaLabel:ne("menu_pip"),click:i[1],$$slots:{default:[Jv]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function $v(i,e,t){let{isPictureInPictureActive:n=!1}=e,{click:o=oe.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 e5 extends ye{constructor(e){super(),ke(this,e,$v,xv,we,{isPictureInPictureActive:0,click:1})}}function t5(i){Fe(i,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function ia(i,e,t){const n=i.slice();return n[136]=e[t].iconUrl,n[137]=e[t].ariaLabel,n[138]=e[t].testId,n[139]=e[t].onClick,n[140]=e[t].tooltip,n}function na(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,C=(!i[53]||i[55])&&oa(i),I=qt(i[58]),M=[];for(let S=0;S<I.length;S+=1)M[S]=la(ia(i,I,S));const J=S=>v(M[S],1,1,()=>{M[S]=null});let G=i[32]&&sa(i),Y=i[33]&&ra(i),z=i[59]&&aa(),ae=i[35]&&ua(i),te=i[8]&&ca(i),X=i[30]&&fa(i),T=i[29]&&da(i),j=i[8]&&ma(i),ue=i[96]&&!i[25]&&ha(i);return{c(){e=_("div"),t=B(),n=_("div"),C&&C.c(),o=B(),l=_("div");for(let S=0;S<M.length;S+=1)M[S].c();s=B(),G&&G.c(),r=B(),Y&&Y.c(),a=B(),z&&z.c(),c=B(),ae&&ae.c(),f=B(),h=_("div"),te&&te.c(),g=B(),X&&X.c(),p=B(),T&&T.c(),b=B(),j&&j.c(),L=B(),ue&&ue.c(),w=gt(),u(e,"class","overlay-mobile v-1tcstu3"),V(e,"hidden",!i[38]),u(n,"class","wrapper-top-left v-1tcstu3"),V(n,"hidden",!i[3]),V(n,"fullscreen",i[54]),u(l,"class","wrapper-top-right v-1tcstu3"),V(l,"hidden",!i[3]&&!i[23]),V(l,"fullscreen",i[54]),u(h,"class","wrapper-middle v-1tcstu3"),V(h,"hidden",!i[3]||i[25])},m(S,$){y(S,e,$),y(S,t,$),y(S,n,$),C&&C.m(n,null),y(S,o,$),y(S,l,$);for(let le=0;le<M.length;le+=1)M[le]&&M[le].m(l,null);m(l,s),G&&G.m(l,null),m(l,r),Y&&Y.m(l,null),m(l,a),z&&z.m(l,null),m(l,c),ae&&ae.m(l,null),y(S,f,$),y(S,h,$),te&&te.m(h,null),m(h,g),X&&X.m(h,null),m(h,p),T&&T.m(h,null),m(h,b),j&&j.m(h,null),y(S,L,$),ue&&ue.m(S,$),y(S,w,$),A=!0},p(S,$){if((!A||$[1]&128)&&V(e,"hidden",!S[38]),!S[53]||S[55]?C?(C.p(S,$),$[1]&20971520&&d(C,1)):(C=oa(S),C.c(),d(C,1),C.m(n,null)):C&&(he(),v(C,1,1,()=>{C=null}),pe()),(!A||$[0]&8)&&V(n,"hidden",!S[3]),(!A||$[1]&8388608)&&V(n,"fullscreen",S[54]),$[1]&134217728){I=qt(S[58]);let le;for(le=0;le<I.length;le+=1){const Ce=ia(S,I,le);M[le]?(M[le].p(Ce,$),d(M[le],1)):(M[le]=la(Ce),M[le].c(),d(M[le],1),M[le].m(l,s))}for(he(),le=I.length;le<M.length;le+=1)J(le);pe()}S[32]?G?(G.p(S,$),$[1]&2&&d(G,1)):(G=sa(S),G.c(),d(G,1),G.m(l,r)):G&&(he(),v(G,1,1,()=>{G=null}),pe()),S[33]?Y?(Y.p(S,$),$[1]&4&&d(Y,1)):(Y=ra(S),Y.c(),d(Y,1),Y.m(l,a)):Y&&(he(),v(Y,1,1,()=>{Y=null}),pe()),S[59]?z?$[1]&268435456&&d(z,1):(z=aa(),z.c(),d(z,1),z.m(l,c)):z&&(he(),v(z,1,1,()=>{z=null}),pe()),S[35]?ae?(ae.p(S,$),$[1]&16&&d(ae,1)):(ae=ua(S),ae.c(),d(ae,1),ae.m(l,null)):ae&&(he(),v(ae,1,1,()=>{ae=null}),pe()),(!A||$[0]&8388616)&&V(l,"hidden",!S[3]&&!S[23]),(!A||$[1]&8388608)&&V(l,"fullscreen",S[54]),S[8]?te?(te.p(S,$),$[0]&256&&d(te,1)):(te=ca(S),te.c(),d(te,1),te.m(h,g)):te&&(he(),v(te,1,1,()=>{te=null}),pe()),S[30]?X?(X.p(S,$),$[0]&1073741824&&d(X,1)):(X=fa(S),X.c(),d(X,1),X.m(h,p)):X&&(he(),v(X,1,1,()=>{X=null}),pe()),S[29]?T?(T.p(S,$),$[0]&536870912&&d(T,1)):(T=da(S),T.c(),d(T,1),T.m(h,b)):T&&(he(),v(T,1,1,()=>{T=null}),pe()),S[8]?j?(j.p(S,$),$[0]&256&&d(j,1)):(j=ma(S),j.c(),d(j,1),j.m(h,null)):j&&(he(),v(j,1,1,()=>{j=null}),pe()),(!A||$[0]&33554440)&&V(h,"hidden",!S[3]||S[25]),S[96]&&!S[25]?ue?(ue.p(S,$),$[0]&33554432&&d(ue,1)):(ue=ha(S),ue.c(),d(ue,1),ue.m(w.parentNode,w)):ue&&(he(),v(ue,1,1,()=>{ue=null}),pe())},i(S){if(!A){d(C);for(let $=0;$<I.length;$+=1)d(M[$]);d(G),d(Y),d(z),d(ae),d(te),d(X),d(T),d(j),d(ue),A=!0}},o(S){v(C),M=M.filter(Boolean);for(let $=0;$<M.length;$+=1)v(M[$]);v(G),v(Y),v(z),v(ae),v(te),v(X),v(T),v(j),v(ue),A=!1},d(S){S&&(k(e),k(t),k(n),k(o),k(l),k(f),k(h),k(L),k(w)),C&&C.d(),ln(M,S),G&&G.d(),Y&&Y.d(),z&&z.d(),ae&&ae.d(),te&&te.d(),X&&X.d(),T&&T.d(),j&&j.d(),ue&&ue.d(S)}}}function oa(i){let e,t;return e=new cc({props:{muted:i[56],expanded:i[53]&&!i[72]&&i[57],click:i[104]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&33554432&&(l.muted=n[56]),o[1]&71303168&&(l.expanded=n[53]&&!n[72]&&n[57]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function la(i){var n;let e,t;return e=new uc({props:{iconUrl:i[136],ariaLabel:(n=i[137])!=null?n:i[140],testId:i[138],onClick:i[139]}}),{c(){H(e.$$.fragment)},m(o,l){D(e,o,l),t=!0},p(o,l){var r;const s={};l[1]&134217728&&(s.iconUrl=o[136]),l[1]&134217728&&(s.ariaLabel=(r=o[137])!=null?r:o[140]),l[1]&134217728&&(s.testId=o[138]),l[1]&134217728&&(s.onClick=o[139]),e.$set(s)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){F(e,o)}}}function sa(i){let e,t;return e=new ec({props:{isMobile:!0,click:i[101],state:i[24]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[0]&16777216&&(l.state=n[24]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ra(i){let e,t;return e=new e5({props:{click:i[103],isPictureInPictureActive:i[22]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[0]&4194304&&(l.isPictureInPictureActive=n[22]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function aa(i){let e,t;return e=new ql({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ua(i){let e,t;return e=new $u({props:{click:i[66],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ca(i){let e,t;return e=new Xo({props:{click:i[13],type:"prev",disabled:!i[10],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function fa(i){let e,t;return e=new Gl({props:{disabled:i[50],click:i[65],isMobile:!0,isPlaying:i[27]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&524288&&(l.disabled=n[50]),o[0]&134217728&&(l.isPlaying=n[27]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function da(i){let e,t;return e=new Kl({props:{disabled:i[49],click:i[105],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&262144&&(l.disabled=n[49]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ma(i){let e,t;return e=new Xo({props:{click:i[12],type:"next",disabled:!i[9],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ha(i){let e,t,n,o,l=i[99]&&i5(i),s=i[97]&&n5(i),r=i[98]&&o5(i);return{c(){l&&l.c(),e=B(),s&&s.c(),t=B(),r&&r.c(),n=gt()},m(a,c){l&&l.m(a,c),y(a,e,c),s&&s.m(a,c),y(a,t,c),r&&r.m(a,c),y(a,n,c),o=!0},p(a,c){a[99]&&l.p(a,c),a[97]&&s.p(a,c),a[98]&&r.p(a,c)},i(a){o||(d(l),d(s),d(r),o=!0)},o(a){v(l),v(s),v(r),o=!1},d(a){a&&(k(e),k(t),k(n)),l&&l.d(a),s&&s.d(a),r&&r.d(a)}}}function i5(i){let e,t,n;return t=new ac({props:{hidden:!i[3],disabled:i[48],click:i[18]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),V(e,"fullscreen",i[54]),V(e,"hidden",!i[3])},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.hidden=!o[3]),l[1]&131072&&(s.disabled=o[48]),l[0]&262144&&(s.click=o[18]),t.$set(s),(!n||l[1]&8388608)&&V(e,"fullscreen",o[54]),(!n||l[0]&8)&&V(e,"hidden",!o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function n5(i){let e,t,n;return t=new rc({props:{hidden:!i[3]&&!i[60],disabled:i[52],click:i[17],graphIsOpened:i[60]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class",jc(i[99]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),V(e,"fullscreen",i[54]),V(e,"hidden",!i[3]&&!i[60])},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[0]&8|l[1]&536870912&&(s.hidden=!o[3]&&!o[60]),l[1]&2097152&&(s.disabled=o[52]),l[0]&131072&&(s.click=o[17]),l[1]&536870912&&(s.graphIsOpened=o[60]),t.$set(s),(!n||l[1]&8388608)&&V(e,"fullscreen",o[54]),(!n||l[0]&8|l[1]&536870912)&&V(e,"hidden",!o[3]&&!o[60])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function o5(i){let e,t,n;return t=new sc({props:{hidden:!i[3],disabled:i[51],click:i[16]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),V(e,"fullscreen",i[54]),V(e,"hidden",!i[3])},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.hidden=!o[3]),l[1]&1048576&&(s.disabled=o[51]),l[0]&65536&&(s.click=o[16]),t.$set(s),(!n||l[1]&8388608)&&V(e,"fullscreen",o[54]),(!n||l[0]&8)&&V(e,"hidden",!o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function pa(i){let e,t,n,o,l,s=i[55]&&va(i),r=i[28]&&ga(i);return o=new nc({props:{position:i[61],duration:i[62]}}),{c(){s&&s.c(),e=B(),r&&r.c(),t=B(),n=_("div"),H(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),V(n,"fullscreen",i[54])},m(a,c){s&&s.m(a,c),y(a,e,c),r&&r.m(a,c),y(a,t,c),y(a,n,c),D(o,n,null),l=!0},p(a,c){a[55]?s?(s.p(a,c),c[1]&16777216&&d(s,1)):(s=va(a),s.c(),d(s,1),s.m(e.parentNode,e)):s&&(he(),v(s,1,1,()=>{s=null}),pe()),a[28]?r?(r.p(a,c),c[0]&268435456&&d(r,1)):(r=ga(a),r.c(),d(r,1),r.m(t.parentNode,t)):r&&(he(),v(r,1,1,()=>{r=null}),pe());const f={};c[1]&1073741824&&(f.position=a[61]),c[2]&1&&(f.duration=a[62]),o.$set(f),(!l||c[1]&8388608)&&V(n,"fullscreen",a[54])},i(a){l||(d(s),d(r),d(o.$$.fragment,a),l=!0)},o(a){v(s),v(r),v(o.$$.fragment,a),l=!1},d(a){a&&(k(e),k(t),k(n)),s&&s.d(a),r&&r.d(a),F(o)}}}function va(i){let e,t,n;return t=new cc({props:{muted:i[56],expanded:!1,click:i[104]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),V(e,"fullscreen",i[54])},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[1]&33554432&&(s.muted=o[56]),t.$set(s),(!n||l[1]&8388608)&&V(e,"fullscreen",o[54])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function ga(i){let e,t,n;return t=new Gl({props:{disabled:i[50],click:i[65],isMobile:!0,isPlaying:!i[28]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[1]&524288&&(s.disabled=o[50]),l[0]&268435456&&(s.isPlaying=!o[28]),t.$set(s)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function l5(i){let e,t,n;function o(s){i[120](s)}let l={disabled:i[49],$$slots:{default:[s5]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[1]&262144&&(a.disabled=s[49]),r[1]&262144|r[4]&524288&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&2048&&(t=!0,a.width=s[42],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function s5(i){let e,t;return e=new Kl({props:{disabled:i[49],click:i[95]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&262144&&(l.disabled=n[49]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ba(i){let e,t,n;function o(s){i[121](s)}let l={$$slots:{default:[r5]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[1]&1024|r[4]&524288&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&4096&&(t=!0,a.width=s[43],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function r5(i){let e,t;return e=new tc({props:{isActiveLive:i[41],click:i[102],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&1024&&(l.isActiveLive=n[41]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function _a(i){let e,t,n;function o(s){i[122](s)}let l={showDuration:i[31],position:i[4]?i[61]:i[63],duration:i[4]?i[62]:i[64],isMobile:!0};return i[44]!==void 0&&(l.width=i[44]),e=new Yu({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[1]&1&&(a.showDuration=s[31]),r[0]&16|r[1]&1073741824|r[2]&2&&(a.position=s[4]?s[61]:s[63]),r[0]&16|r[2]&5&&(a.duration=s[4]?s[62]:s[64]),!t&&r[1]&8192&&(t=!0,a.width=s[44],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function wa(i){let e,t,n,o;return n=new lc({props:{position:i[63],duration:i[64],timeCodes:i[85]}}),{c(){e=_("div"),e.textContent="\xB7",t=B(),H(n.$$.fragment),u(e,"aria-hidden","true")},m(l,s){y(l,e,s),y(l,t,s),D(n,l,s),o=!0},p(l,s){const r={};s[2]&2&&(r.position=l[63]),s[2]&4&&(r.duration=l[64]),n.$set(r)},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){v(n.$$.fragment,l),o=!1},d(l){l&&(k(e),k(t)),F(n,l)}}}function a5(i){let e,t,n=i[39]&&wa(i);return{c(){n&&n.c(),e=gt()},m(o,l){n&&n.m(o,l),y(o,e,l),t=!0},p(o,l){o[39]?n?(n.p(o,l),l[1]&256&&d(n,1)):(n=wa(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(he(),v(n,1,1,()=>{n=null}),pe())},i(o){t||(d(n),t=!0)},o(o){v(n),t=!1},d(o){o&&k(e),n&&n.d(o)}}}function ka(i){let e,t,n;function o(s){i[124](s)}let l={$$slots:{default:[u5]},$$scope:{ctx:i}};return i[46]!==void 0&&(l.width=i[46]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[4]&524288&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&32768&&(t=!0,a.width=s[46],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function u5(i){let e,t;return e=new ql({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ya(i){let e,t,n;function o(s){i[125](s)}let l={$$slots:{default:[c5]},$$scope:{ctx:i}};return i[47]!==void 0&&(l.width=i[47]),e=new Zt({props:l}),qe.push(()=>St(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[0]&16384|r[1]&8388608|r[4]&524288&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&65536&&(t=!0,a.width=s[47],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function c5(i){let e,t;return e=new Ju({props:{click:i[14],isFullscreen:i[54]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[0]&16384&&(l.click=n[14]),o[1]&8388608&&(l.isFullscreen=n[54]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Sa(i){let e,t,n;return t=new Ku({props:{supportLink:i[11],returnFocus:i[15]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[0]&2048&&(s.supportLink=o[11]),l[0]&32768&&(s.returnFocus=o[15]),t.$set(s)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function f5(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,C=!i[4]&&na(i),I=i[4]&&i[26]!==Wt.INACTIVE&&pa(i),M=i[96]&&l5(i),J=!i[4]&&i[20]&&ba(i),G=i[37]&&_a(i);function Y(T){i[123](T)}let z={className:"w-max",disabled:!i[39],$$slots:{default:[a5]},$$scope:{ctx:i}};i[45]!==void 0&&(z.width=i[45]),c=new Zt({props:z}),qe.push(()=>St(c,"width",Y));let ae=i[34]&&ka(i),te=i[36]&&ya(i);b=new oc({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[19]}});let X=i[21]&&Sa(i);return{c(){C&&C.c(),e=B(),I&&I.c(),t=B(),n=_("div"),o=_("div"),l=_("div"),M&&M.c(),s=B(),J&&J.c(),r=B(),G&&G.c(),a=B(),H(c.$$.fragment),h=B(),ae&&ae.c(),g=B(),te&&te.c(),p=B(),H(b.$$.fragment),L=B(),X&&X.c(),w=gt(),u(l,"class","controls v-1tcstu3"),V(l,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),V(o,"fullscreen",i[54]),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,j){C&&C.m(T,j),y(T,e,j),I&&I.m(T,j),y(T,t,j),y(T,n,j),m(n,o),m(o,l),M&&M.m(l,null),m(l,s),J&&J.m(l,null),m(l,r),G&&G.m(l,null),m(l,a),D(c,l,null),m(l,h),ae&&ae.m(l,null),m(l,g),te&&te.m(l,null),i[126](l),m(o,p),D(b,o,null),i[127](n),y(T,L,j),X&&X.m(T,j),y(T,w,j),A=!0},p(T,j){T[4]?C&&(he(),v(C,1,1,()=>{C=null}),pe()):C?(C.p(T,j),j[0]&16&&d(C,1)):(C=na(T),C.c(),d(C,1),C.m(e.parentNode,e)),T[4]&&T[26]!==Wt.INACTIVE?I?(I.p(T,j),j[0]&67108880&&d(I,1)):(I=pa(T),I.c(),d(I,1),I.m(t.parentNode,t)):I&&(he(),v(I,1,1,()=>{I=null}),pe()),T[96]&&M.p(T,j),!T[4]&&T[20]?J?(J.p(T,j),j[0]&1048592&&d(J,1)):(J=ba(T),J.c(),d(J,1),J.m(l,r)):J&&(he(),v(J,1,1,()=>{J=null}),pe()),T[37]?G?(G.p(T,j),j[1]&64&&d(G,1)):(G=_a(T),G.c(),d(G,1),G.m(l,a)):G&&(he(),v(G,1,1,()=>{G=null}),pe());const ue={};j[1]&256&&(ue.disabled=!T[39]),j[1]&256|j[2]&6|j[4]&524288&&(ue.$$scope={dirty:j,ctx:T}),!f&&j[1]&16384&&(f=!0,ue.width=T[45],yt(()=>f=!1)),c.$set(ue),T[34]?ae?(ae.p(T,j),j[1]&8&&d(ae,1)):(ae=ka(T),ae.c(),d(ae,1),ae.m(l,g)):ae&&(he(),v(ae,1,1,()=>{ae=null}),pe()),T[36]?te?(te.p(T,j),j[1]&32&&d(te,1)):(te=ya(T),te.c(),d(te,1),te.m(l,null)):te&&(he(),v(te,1,1,()=>{te=null}),pe());const S={};j[0]&16&&(S.isAds=T[4]),j[0]&32&&(S.canRewindLive=T[5]),j[0]&524288&&(S.isRewindableLive=T[19]),b.$set(S),(!A||j[1]&8388608)&&V(o,"fullscreen",T[54]),(!A||j[0]&2)&&V(n,"hidden",T[1]),(!A||j[0]&8)&&V(n,"controls-hidden",!T[3]),(!A||j[0]&4)&&V(n,"no-smooth",T[2]),T[21]?X?(X.p(T,j),j[0]&2097152&&d(X,1)):(X=Sa(T),X.c(),d(X,1),X.m(w.parentNode,w)):X&&(he(),v(X,1,1,()=>{X=null}),pe())},i(T){A||(d(C),d(I),d(M),d(J),d(G),d(c.$$.fragment,T),d(ae),d(te),d(b.$$.fragment,T),d(X),A=!0)},o(T){v(C),v(I),v(M),v(J),v(G),v(c.$$.fragment,T),v(ae),v(te),v(b.$$.fragment,T),v(X),A=!1},d(T){T&&(k(e),k(t),k(n),k(L),k(w)),C&&C.d(T),I&&I.d(T),M&&M.d(),J&&J.d(),G&&G.d(),F(c),ae&&ae.d(),te&&te.d(),i[126](null),F(b),i[127](null),X&&X.d(T)}}}function d5(i,e,t){var ji,Xt;let n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,C,I,M,J,G,Y,z,ae,te,X,T,j,ue,S,$,le,Ce,ve,{bottomHidden:Ae}=e,{bottomNoSmooth:Se}=e,{showControls:U}=e,{controlsElementRef:E=void 0}=e,{isAds:re=!1}=e,{canRewindLive:q}=e,{logoClickable:Ee}=e,{logoHidden:O}=e,{videoLogoUrl:K}=e,{showNextPrevButtons:Me}=e,{nextButtonActive:Pe}=e,{prevButtonActive:ge}=e,{isOneVideoPlaylist:ee=!1}=e,{supportLink:ce}=e,{customFullscreenSupported:be=!0}=e,{playNextVideo:se}=e,{playPrevVideo:Ge}=e,{repeatPlaylist:Ue}=e,{toggleFullscreen:ut}=e,{returnFocus:nt}=e,{seekToInteractive:ze}=e,{toggleGraph:dt}=e,{playPrevChapter:kt}=e;const Ne=Ct(),Be=Xi(),zt=Ne.actions.internal.toggleMuted,me=Ne.actions.internal.togglePlay,tt=Ne.actions.internal.pause,$e=(ji=Ne.callbacks)==null?void 0:ji.onAudioDoesNotExistHint,Je=(Xt=Ne.callbacks)==null?void 0:Xt.onAudioDisabledHint,Ke=Ne.playerPhase;W(i,Ke,fe=>t(116,I=fe));const Ye=Ne.state.duration$;W(i,Ye,fe=>t(64,ve=fe));const et=Ne.state.positionWithScrubbing$;W(i,et,fe=>t(63,Ce=fe));const lt=Ne.state.playbackState$;W(i,lt,fe=>t(118,Y=fe));const ot=Ne.state.isAudioAvailable$;W(i,ot,fe=>t(53,c=fe));const De=Ne.state.isAudioDisabled,Vt=Ne.state.isEnded$;W(i,Vt,fe=>t(117,J=fe));const Pt=Ne.state.isLive$;W(i,Pt,fe=>t(20,g=fe));const st=Ne.state.muted$;W(i,st,fe=>t(56,X=fe));const li=Ne.state.isActiveLive$;W(i,li,fe=>t(113,f=fe));const mt=Ne.state.isRewindableLive$;W(i,mt,fe=>t(19,h=fe));const Qe=Ne.ui.scrubbingInProgress;W(i,Qe,fe=>t(25,M=fe));const At=Ne.ui.mobileNotReportControlHidden$;W(i,At,fe=>t(23,A=fe));const ct=Ne.ui.isPictureInPictureActive$;W(i,ct,fe=>t(22,w=fe));const gi=Ne.ui.pictureInPictureType$;W(i,gi,fe=>t(115,L=fe));const de=Ne.ui.mobileUnmuteButtonExpanded;W(i,de,fe=>t(57,T=fe));const Te=Ne.ui.mobileUnmuteButtonVisible;W(i,Te,fe=>t(55,te=fe));const Ie=Ne.ui.settingsMenuVisible;W(i,Ie,fe=>t(21,p=fe));const It=Ne.ui.controls,Jt=Ne.actions.internal.getVideoEpisodes(),Le=Ne.webApi.pictureInPictureApi,ti=Ne.state.chromecastState$;W(i,ti,fe=>t(24,C=fe));const si=Ne.state.crashed$;W(i,si,fe=>t(59,ue=fe));const Dt=It.disabledControls$;W(i,Dt,fe=>t(119,z=fe));const Li=Ne.ads.duration;W(i,Li,fe=>t(62,le=fe));const Ft=Ne.ads.position;W(i,Ft,fe=>t(61,$=fe));const Zi=Ne.ads.playbackState;W(i,Zi,fe=>t(26,G=fe));const ri=Ne.ui.isFullscreen;W(i,ri,fe=>t(54,ae=fe));const Vi=Ne.ui.playerSize;W(i,Vi,fe=>t(114,b=fe));const Tt=Ne.ui.additionalButtons$;W(i,Tt,fe=>t(58,j=fe));const $i=Ne.actions.internal.replayInteractive,ii=Ne.state.isInteractive,en=Ne.state.isInteractiveGraphEnabled,Et=Ne.state.isSeekToInteractiveEnable,Ii=Ne.state.isPlayPrevChapterEnabled,ai=Ne.state.graphIsOpened$;W(i,ai,fe=>t(60,S=fe));let Pi,Fi,ni,Mi,Ti,Ei,Gt,ui,bi,Hi,ci,Bt,oi,Ni,Gi,fi,Ri,Bi,di,_i,Ui,Kt,Ht;const wi=()=>Ne.actions.internal.toggleChromecast(),Ut=()=>Ne.actions.internal.switchToActiveLive();function Yt(){De?Je==null||Je():c?zt():$e==null||$e()}function mi(){return On(this,null,function*(){Le!=null&&Le.isActive()?yield Le==null?void 0:Le.remove():yield Le==null?void 0:Le.request()})}function ki(){!De&&c&&Te.set(!1),Yt()}const Ai=ee?me:Ue;function yi(fe){Bi=fe,t(42,Bi)}function Oi(fe){di=fe,t(43,di)}function zi(fe){_i=fe,t(44,_i)}function Si(fe){Ui=fe,t(45,Ui)}function Ki(fe){Kt=fe,t(46,Kt)}function Qt(fe){Ht=fe,t(47,Ht)}function jt(fe){qe[fe?"unshift":"push"](()=>{fi=fe,t(40,fi)})}function Mt(fe){qe[fe?"unshift":"push"](()=>{E=fe,t(0,E)})}return i.$$set=fe=>{"bottomHidden"in fe&&t(1,Ae=fe.bottomHidden),"bottomNoSmooth"in fe&&t(2,Se=fe.bottomNoSmooth),"showControls"in fe&&t(3,U=fe.showControls),"controlsElementRef"in fe&&t(0,E=fe.controlsElementRef),"isAds"in fe&&t(4,re=fe.isAds),"canRewindLive"in fe&&t(5,q=fe.canRewindLive),"logoClickable"in fe&&t(6,Ee=fe.logoClickable),"logoHidden"in fe&&t(106,O=fe.logoHidden),"videoLogoUrl"in fe&&t(7,K=fe.videoLogoUrl),"showNextPrevButtons"in fe&&t(8,Me=fe.showNextPrevButtons),"nextButtonActive"in fe&&t(9,Pe=fe.nextButtonActive),"prevButtonActive"in fe&&t(10,ge=fe.prevButtonActive),"isOneVideoPlaylist"in fe&&t(107,ee=fe.isOneVideoPlaylist),"supportLink"in fe&&t(11,ce=fe.supportLink),"customFullscreenSupported"in fe&&t(108,be=fe.customFullscreenSupported),"playNextVideo"in fe&&t(12,se=fe.playNextVideo),"playPrevVideo"in fe&&t(13,Ge=fe.playPrevVideo),"repeatPlaylist"in fe&&t(109,Ue=fe.repeatPlaylist),"toggleFullscreen"in fe&&t(14,ut=fe.toggleFullscreen),"returnFocus"in fe&&t(15,nt=fe.returnFocus),"seekToInteractive"in fe&&t(16,ze=fe.seekToInteractive),"toggleGraph"in fe&&t(17,dt=fe.toggleGraph),"playPrevChapter"in fe&&t(18,kt=fe.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&67108864&&t(112,n=z.has(pt.EPISODE_BUTTON)),i.$$.dirty[3]&67108864&&t(52,o=z.has(pt.GRAPH_BUTTON)),i.$$.dirty[3]&67108864&&t(51,l=z.has(pt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&67108864&&t(50,s=z.has(pt.PLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(49,r=z.has(pt.REPLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(48,a=z.has(pt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&33554432&&t(27,Pi=Y===at.PlaybackState.PLAYING),i.$$.dirty[0]&67108864&&t(28,Fi=G===Wt.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&16777216&&t(29,ni=J&&!re&&!ii),i.$$.dirty[0]&16|i.$$.dirty[3]&16777216&&t(30,Mi=!J||re),i.$$.dirty[3]&2097152&&t(110,Ti=b.width>300),i.$$.dirty[3]&2097152&&t(31,Ei=b.width>400),i.$$.dirty[0]&33554432&&t(111,Gt=M),i.$$.dirty[0]&29360128|i.$$.dirty[3]&4194304&&t(32,ui=C!==at.ChromecastState.NOT_AVAILABLE&&!(w&&L===bn.DocumentPictureInPicture)&&!A&&!ii),i.$$.dirty[0]&25165824|i.$$.dirty[3]&12845056){const fe=I===Re.WaitingLive;t(33,bi=!!Le&&C!==at.ChromecastState.CONNECTED&&!A&&(L===bn.DocumentPictureInPicture&&fe||!fe)&&!Gt&&!ii)}i.$$.dirty[3]&262144&&t(34,Hi=!Gt),i.$$.dirty[3]&2105344&&t(35,ci=!O&&b.width>350),i.$$.dirty[0]&4194304|i.$$.dirty[3]&4489216&&t(36,Bt=Be.features.fullscreen&&!(w&&L===bn.DocumentPictureInPicture)&&(ii?be:!0)&&!Gt),i.$$.dirty[0]&1048592|i.$$.dirty[3]&2359296&&t(37,oi=(!g||re)&&b.width>260&&!Gt&&!(Be.features.interactiveHideTime&&ii)),i.$$.dirty[0]&2097160&&t(38,Ni=p||U),i.$$.dirty[0]&1048592|i.$$.dirty[3]&917504&&t(39,Gi=!re&&!g&&!!(Jt!=null&&Jt.length)&&Ti&&!n&&!Gt),i.$$.dirty[0]&524288|i.$$.dirty[3]&1048576&&t(41,Ri=!h||f)},[E,Ae,Se,U,re,q,Ee,K,Me,Pe,ge,ce,se,Ge,ut,nt,ze,dt,kt,h,g,p,w,A,C,M,G,Pi,Fi,ni,Mi,Ei,ui,bi,Hi,ci,Bt,oi,Ni,Gi,fi,Ri,Bi,di,_i,Ui,Kt,Ht,a,r,s,l,o,c,ae,te,X,T,j,ue,S,$,le,Ce,ve,me,tt,Ke,Ye,et,lt,ot,De,Vt,Pt,st,li,mt,Qe,At,ct,gi,de,Te,Ie,Jt,ti,si,Dt,Li,Ft,Zi,ri,Vi,Tt,$i,ii,en,Et,Ii,ai,wi,Ut,mi,ki,Ai,O,ee,be,Ue,Ti,Gt,n,f,b,L,I,J,Y,z,yi,Oi,zi,Si,Ki,Qt,jt,Mt]}class m5 extends ye{constructor(e){super(),ke(this,e,d5,f5,we,{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},t5,[-1,-1,-1,-1,-1])}}function h5(i){let e,t,n;function o(s){i[26](s)}let l={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(l.controlsElementRef=i[0]),e=new Uv({props:l}),qe.push(()=>St(e,"controlsElementRef",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r&2&&(a.bottomHidden=s[1]),r&4&&(a.bottomNoSmooth=s[2]),r&8&&(a.showControls=s[3]),r&16&&(a.isAds=s[4]),r&32&&(a.canRewindLive=s[5]),r&64&&(a.logoClickable=s[6]),r&128&&(a.logoHidden=s[7]),r&256&&(a.videoLogoUrl=s[8]),r&512&&(a.showNextPrevButtons=s[9]),r&1024&&(a.nextButtonActive=s[10]),r&2048&&(a.prevButtonActive=s[11]),r&4096&&(a.isOneVideoPlaylist=s[12]),r&8192&&(a.supportLink=s[13]),r&16384&&(a.customFullscreenSupported=s[14]),r&32768&&(a.playNextVideo=s[15]),r&65536&&(a.playPrevVideo=s[16]),r&131072&&(a.repeatPlaylist=s[17]),r&262144&&(a.toggleFullscreen=s[18]),r&524288&&(a.returnFocus=s[19]),r&1048576&&(a.seekToInteractive=s[20]),r&2097152&&(a.toggleGraph=s[21]),r&4194304&&(a.playPrevChapter=s[22]),!t&&r&1&&(t=!0,a.controlsElementRef=s[0],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function p5(i){let e,t,n;function o(s){i[25](s)}let l={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(l.controlsElementRef=i[0]),e=new m5({props:l}),qe.push(()=>St(e,"controlsElementRef",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r&2&&(a.bottomHidden=s[1]),r&4&&(a.bottomNoSmooth=s[2]),r&8&&(a.showControls=s[3]),r&16&&(a.isAds=s[4]),r&32&&(a.canRewindLive=s[5]),r&64&&(a.logoClickable=s[6]),r&128&&(a.logoHidden=s[7]),r&256&&(a.videoLogoUrl=s[8]),r&512&&(a.showNextPrevButtons=s[9]),r&1024&&(a.nextButtonActive=s[10]),r&2048&&(a.prevButtonActive=s[11]),r&4096&&(a.isOneVideoPlaylist=s[12]),r&8192&&(a.supportLink=s[13]),r&16384&&(a.customFullscreenSupported=s[14]),r&32768&&(a.playNextVideo=s[15]),r&65536&&(a.playPrevVideo=s[16]),r&131072&&(a.repeatPlaylist=s[17]),r&262144&&(a.toggleFullscreen=s[18]),r&524288&&(a.returnFocus=s[19]),r&1048576&&(a.seekToInteractive=s[20]),r&2097152&&(a.toggleGraph=s[21]),r&4194304&&(a.playPrevChapter=s[22]),!t&&r&1&&(t=!0,a.controlsElementRef=s[0],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function v5(i){let e,t,n,o;const l=[p5,h5],s=[];function r(a,c){return a[23]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=gt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?s[e].p(a,c):(he(),v(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function g5(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:l=!1}=e,{showControls:s}=e,{controlsElementRef:r=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:h}=e,{videoLogoUrl:g}=e,{showNextPrevButtons:p}=e,{nextButtonActive:b}=e,{prevButtonActive:L}=e,{isOneVideoPlaylist:w=!1}=e,{supportLink:A}=e,{customFullscreenSupported:C=!0}=e,{playNextVideo:I}=e,{playPrevVideo:M}=e,{repeatPlaylist:J}=e,{toggleFullscreen:G}=e,{returnFocus:Y=oe.noop}=e,{seekToInteractive:z}=e,{toggleGraph:ae}=e,{playPrevChapter:te}=e;const T=Ct().ui.isMobile;W(i,T,S=>t(23,n=S));function j(S){r=S,t(0,r)}function ue(S){r=S,t(0,r)}return i.$$set=S=>{"bottomHidden"in S&&t(1,o=S.bottomHidden),"bottomNoSmooth"in S&&t(2,l=S.bottomNoSmooth),"showControls"in S&&t(3,s=S.showControls),"controlsElementRef"in S&&t(0,r=S.controlsElementRef),"isAds"in S&&t(4,a=S.isAds),"canRewindLive"in S&&t(5,c=S.canRewindLive),"logoClickable"in S&&t(6,f=S.logoClickable),"logoHidden"in S&&t(7,h=S.logoHidden),"videoLogoUrl"in S&&t(8,g=S.videoLogoUrl),"showNextPrevButtons"in S&&t(9,p=S.showNextPrevButtons),"nextButtonActive"in S&&t(10,b=S.nextButtonActive),"prevButtonActive"in S&&t(11,L=S.prevButtonActive),"isOneVideoPlaylist"in S&&t(12,w=S.isOneVideoPlaylist),"supportLink"in S&&t(13,A=S.supportLink),"customFullscreenSupported"in S&&t(14,C=S.customFullscreenSupported),"playNextVideo"in S&&t(15,I=S.playNextVideo),"playPrevVideo"in S&&t(16,M=S.playPrevVideo),"repeatPlaylist"in S&&t(17,J=S.repeatPlaylist),"toggleFullscreen"in S&&t(18,G=S.toggleFullscreen),"returnFocus"in S&&t(19,Y=S.returnFocus),"seekToInteractive"in S&&t(20,z=S.seekToInteractive),"toggleGraph"in S&&t(21,ae=S.toggleGraph),"playPrevChapter"in S&&t(22,te=S.playPrevChapter)},[r,o,l,s,a,c,f,h,g,p,b,L,w,A,C,I,M,J,G,Y,z,ae,te,n,T,j,ue]}class fc extends ye{constructor(e){super(),ke(this,e,g5,v5,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 b5(i){Fe(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function _5(i){let e,t,n,o,l,s,r,a,c,f,h,g,p;return{c(){e=N("svg"),t=N("g"),n=N("path"),o=N("path"),l=N("defs"),s=N("filter"),r=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),h=N("feColorMatrix"),g=N("feBlend"),p=N("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(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_100684"),u(p,"in","SourceGraphic"),u(p,"in2","effect1_dropShadow_2260_100684"),u(p,"result","shape"),u(s,"id","a"),u(s,"x","2.5"),u(s,"y","0"),u(s,"width","43.996"),u(s,"height","49.5"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",i[0])},m(b,L){y(b,e,L),m(e,t),m(t,n),m(t,o),m(e,l),m(l,s),m(s,r),m(s,a),m(s,c),m(s,f),m(s,h),m(s,g),m(s,p)},p(b,[L]){L&1&&V(e,"reversed",b[0])},i:Z,o:Z,d(b){b&&k(e)}}}function w5(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class k5 extends ye{constructor(e){super(),ke(this,e,w5,_5,we,{reversed:0},b5)}}function y5(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L;return{c(){e=N("svg"),t=N("g"),n=N("path"),o=N("path"),l=N("defs"),s=N("clipPath"),r=N("path"),a=N("filter"),c=N("feFlood"),f=N("feColorMatrix"),h=N("feOffset"),g=N("feGaussianBlur"),p=N("feColorMatrix"),b=N("feBlend"),L=N("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(r,"fill","#fff"),u(r,"d","M0 0h48v48H0z"),u(s,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(g,"stdDeviation","2.5"),u(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_2260_104204"),u(L,"in","SourceGraphic"),u(L,"in2","effect1_dropShadow_2260_104204"),u(L,"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(w,A){y(w,e,A),m(e,t),m(t,n),m(t,o),m(e,l),m(l,s),m(s,r),m(l,a),m(a,c),m(a,f),m(a,h),m(a,g),m(a,p),m(a,b),m(a,L)},d(w){w&&k(e)}}}function S5(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w;return{c(){e=N("svg"),t=N("g"),n=N("path"),o=N("path"),l=N("path"),s=N("defs"),r=N("clipPath"),a=N("path"),c=N("filter"),f=N("feFlood"),h=N("feColorMatrix"),g=N("feOffset"),p=N("feGaussianBlur"),b=N("feColorMatrix"),L=N("feBlend"),w=N("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(r,"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(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(L,"in2","BackgroundImageFix"),u(L,"result","effect1_dropShadow_2260_104293"),u(w,"in","SourceGraphic"),u(w,"in2","effect1_dropShadow_2260_104293"),u(w,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(A,C){y(A,e,C),m(e,t),m(t,n),m(t,o),m(t,l),m(e,s),m(s,r),m(r,a),m(s,c),m(c,f),m(c,h),m(c,g),m(c,p),m(c,b),m(c,L),m(c,w)},d(A){A&&k(e)}}}function C5(i){let e;function t(l,s){return l[0]?S5:y5}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,[s]){n!==(n=t(l))&&(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(l){l&&k(e),o.d(l)}}}function P5(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class dc extends ye{constructor(e){super(),ke(this,e,P5,C5,we,{isOff:0})}}function T5(i){Fe(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function E5(i){let e,t,n,o,l,s,r,a,c,f,h,g,p;return{c(){e=N("svg"),t=N("g"),n=N("path"),o=N("path"),l=N("defs"),s=N("filter"),r=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),h=N("feColorMatrix"),g=N("feBlend"),p=N("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(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_106627"),u(p,"in","SourceGraphic"),u(p,"in2","effect1_dropShadow_2260_106627"),u(p,"result","shape"),u(s,"id","a"),u(s,"x","3.402"),u(s,"y","10.105"),u(s,"width","40.098"),u(s,"height","27.785"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",i[0])},m(b,L){y(b,e,L),m(e,t),m(t,n),m(t,o),m(e,l),m(l,s),m(s,r),m(s,a),m(s,c),m(s,f),m(s,h),m(s,g),m(s,p)},p(b,[L]){L&1&&V(e,"reversed",b[0])},i:Z,o:Z,d(b){b&&k(e)}}}function A5(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class L5 extends ye{constructor(e){super(),ke(this,e,A5,E5,we,{reversed:0},T5)}}function V5(i){Fe(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function I5(i){let e,t,n,o,l,s,r,a,c,f,h,g,p;return{c(){e=N("svg"),t=N("g"),n=N("path"),o=N("path"),l=N("defs"),s=N("filter"),r=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),h=N("feColorMatrix"),g=N("feBlend"),p=N("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(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2340_106922"),u(p,"in","SourceGraphic"),u(p,"in2","effect1_dropShadow_2340_106922"),u(p,"result","shape"),u(s,"id","a"),u(s,"x","5.5"),u(s,"y","5.5"),u(s,"width","37"),u(s,"height","37"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",i[0])},m(b,L){y(b,e,L),m(e,t),m(t,n),m(t,o),m(e,l),m(l,s),m(s,r),m(s,a),m(s,c),m(s,f),m(s,h),m(s,g),m(s,p)},p(b,[L]){L&1&&V(e,"reversed",b[0])},i:Z,o:Z,d(b){b&&k(e)}}}function M5(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class N5 extends ye{constructor(e){super(),ke(this,e,M5,I5,we,{reversed:0},V5)}}function R5(i){Fe(i,"v-1lbk7aq",`.hot-key-helpers-container.v-1lbk7aq.v-1lbk7aq{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-1lbk7aq-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-1lbk7aq>div.v-1lbk7aq{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-1lbk7aq svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-1lbk7aq svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-1lbk7aq svg[data-testid="play-icon"],.hot-key-helpers-container.v-1lbk7aq svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-1lbk7aq.v-1lbk7aq{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-1lbk7aq.v-1lbk7aq{left:calc(75% - 100px)}.hot-key-helpers-text.v-1lbk7aq.v-1lbk7aq{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-1lbk7aq.v-1lbk7aq{visibility:hidden;animation:v-1lbk7aq-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-1lbk7aq-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-1lbk7aq-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function Ca(i){let e,t=[Xe.BACKWARD_SEEK,Xe.FORWARD_SEEK].includes(i[4]),n,o,l,s,r,a=[Xe.RATE_DOWN,Xe.RATE_UP].includes(i[4]),c,f=[Xe.EPISODE_PREV,Xe.EPISODE_NEXT].includes(i[4]),h,g,p,b,L,w=t&&Pa(i),A=i[4]===Xe.STOP&&Ta(),C=i[4]===Xe.PLAY&&Ea(),I=i[4]===Xe.SUBTITLES_OFF&&Aa(),M=i[4]===Xe.SUBTITLES_ON&&La(),J=a&&Va(i),G=f&&Ia(i),Y=i[4]===Xe.MUTE&&Ma(),z=i[4]===Xe.VOLUME&&Na(),ae=i[5]&&Ra(i);return{c(){e=_("div"),w&&w.c(),n=B(),A&&A.c(),o=B(),C&&C.c(),l=B(),I&&I.c(),s=B(),M&&M.c(),r=B(),J&&J.c(),c=B(),G&&G.c(),h=B(),Y&&Y.c(),g=B(),z&&z.c(),p=B(),ae&&ae.c(),b=gt(),u(e,"class","v-1lbk7aq")},m(te,X){y(te,e,X),w&&w.m(e,null),m(e,n),A&&A.m(e,null),m(e,o),C&&C.m(e,null),m(e,l),I&&I.m(e,null),m(e,s),M&&M.m(e,null),m(e,r),J&&J.m(e,null),m(e,c),G&&G.m(e,null),m(e,h),Y&&Y.m(e,null),m(e,g),z&&z.m(e,null),y(te,p,X),ae&&ae.m(te,X),y(te,b,X),L=!0},p(te,X){X&16&&(t=[Xe.BACKWARD_SEEK,Xe.FORWARD_SEEK].includes(te[4])),t?w?(w.p(te,X),X&16&&d(w,1)):(w=Pa(te),w.c(),d(w,1),w.m(e,n)):w&&(he(),v(w,1,1,()=>{w=null}),pe()),te[4]===Xe.STOP?A?X&16&&d(A,1):(A=Ta(),A.c(),d(A,1),A.m(e,o)):A&&(he(),v(A,1,1,()=>{A=null}),pe()),te[4]===Xe.PLAY?C?X&16&&d(C,1):(C=Ea(),C.c(),d(C,1),C.m(e,l)):C&&(he(),v(C,1,1,()=>{C=null}),pe()),te[4]===Xe.SUBTITLES_OFF?I?X&16&&d(I,1):(I=Aa(),I.c(),d(I,1),I.m(e,s)):I&&(he(),v(I,1,1,()=>{I=null}),pe()),te[4]===Xe.SUBTITLES_ON?M?X&16&&d(M,1):(M=La(),M.c(),d(M,1),M.m(e,r)):M&&(he(),v(M,1,1,()=>{M=null}),pe()),X&16&&(a=[Xe.RATE_DOWN,Xe.RATE_UP].includes(te[4])),a?J?(J.p(te,X),X&16&&d(J,1)):(J=Va(te),J.c(),d(J,1),J.m(e,c)):J&&(he(),v(J,1,1,()=>{J=null}),pe()),X&16&&(f=[Xe.EPISODE_PREV,Xe.EPISODE_NEXT].includes(te[4])),f?G?(G.p(te,X),X&16&&d(G,1)):(G=Ia(te),G.c(),d(G,1),G.m(e,h)):G&&(he(),v(G,1,1,()=>{G=null}),pe()),te[4]===Xe.MUTE?Y?X&16&&d(Y,1):(Y=Ma(),Y.c(),d(Y,1),Y.m(e,g)):Y&&(he(),v(Y,1,1,()=>{Y=null}),pe()),te[4]===Xe.VOLUME?z?X&16&&d(z,1):(z=Na(),z.c(),d(z,1),z.m(e,null)):z&&(he(),v(z,1,1,()=>{z=null}),pe()),te[5]?ae?ae.p(te,X):(ae=Ra(te),ae.c(),ae.m(b.parentNode,b)):ae&&(ae.d(1),ae=null)},i(te){L||(d(w),d(A),d(C),d(I),d(M),d(J),d(G),d(Y),d(z),L=!0)},o(te){v(w),v(A),v(C),v(I),v(M),v(J),v(G),v(Y),v(z),L=!1},d(te){te&&(k(e),k(p),k(b)),w&&w.d(),A&&A.d(),C&&C.d(),I&&I.d(),M&&M.d(),J&&J.d(),G&&G.d(),Y&&Y.d(),z&&z.d(),ae&&ae.d(te)}}}function Pa(i){let e,t;return e=new k5({props:{reversed:i[4]===Xe.FORWARD_SEEK}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Xe.FORWARD_SEEK),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ta(i){let e,t;return e=new xu({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ea(i){let e,t;return e=new Zl({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Aa(i){let e,t;return e=new dc({props:{isOff:!0}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function La(i){let e,t;return e=new dc({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Va(i){let e,t;return e=new L5({props:{reversed:i[4]===Xe.RATE_UP}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Xe.RATE_UP),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ia(i){let e,t;return e=new N5({props:{reversed:i[4]===Xe.EPISODE_NEXT}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Xe.EPISODE_NEXT),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ma(i){let e,t;return e=new Qo({props:{volume:0}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Na(i){let e,t;return e=new Qo({props:{volume:1}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ra(i){let e,t;return{c(){e=_("span"),t=He(i[5]),u(e,"class","hot-key-helpers-text v-1lbk7aq")},m(n,o){y(n,e,o),m(e,t)},p(n,o){o&32&&xe(t,n[5])},d(n){n&&k(e)}}}function B5(i){let e,t,n=!i[1]&&i[4]&&Ca(i);return{c(){e=_("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){y(o,e,l),n&&n.m(e,null),t=!0},p(o,[l]){!o[1]&&o[4]?n?(n.p(o,l),l&18&&d(n,1)):(n=Ca(o),n.c(),d(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||(d(n),t=!0)},o(o){v(n),t=!1},d(o){o&&k(e),n&&n.d()}}}function O5(i,e,t){let n,o=Z,l=()=>(o(),o=jo(s,g=>t(6,n=g)),s);i.$$.on_destroy.push(()=>o());let{data:s}=e;l();let r,a,c,f,h;return i.$$set=g=>{"data"in g&&l(t(0,s=g.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,r=!n),t(2,a=(n==null?void 0:n.type)===Xe.BACKWARD_SEEK),t(3,c=(n==null?void 0:n.type)===Xe.FORWARD_SEEK),t(4,f=n==null?void 0:n.type),n!=null&&n.t?t(5,h=ne(n.t.key,{value:n.t.value||""})):t(5,h=n==null?void 0:n.text))},[s,r,a,c,f,h,n]}class z5 extends ye{constructor(e){super(),ke(this,e,O5,B5,we,{data:0},R5)}}function D5(i){Fe(i,"v-1yzc86r",".immersive-controls.v-1yzc86r{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn)}.immersive-controls.m-shifted.v-1yzc86r{top:50px;left:20px}.button-block.v-1yzc86r{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-1yzc86r{display:flex;flex-direction:row;position:relative}.button.v-1yzc86r{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-1yzc86r svg{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-1yzc86r svg{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-1yzc86r svg{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-1yzc86r svg{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-1yzc86r svg{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-1yzc86r:hover svg{opacity:1}")}function F5(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,C;return l=new Ln({props:{direction:"up"}}),a=new Ln({props:{direction:"up"}}),g=new Ln({props:{direction:"up"}}),L=new Ln({props:{direction:"up"}}),{c(){e=_("div"),t=_("div"),n=_("div"),o=_("div"),H(l.$$.fragment),s=B(),r=_("div"),H(a.$$.fragment),c=B(),f=_("div"),h=_("div"),H(g.$$.fragment),p=B(),b=_("div"),H(L.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(r,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(h,"class","button button-left v-1yzc86r"),u(b,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(t,"class","button-block v-1yzc86r"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),V(e,"m-shifted",i[0])},m(I,M){y(I,e,M),m(e,t),m(t,n),m(n,o),D(l,o,null),m(n,s),m(n,r),D(a,r,null),m(t,c),m(t,f),m(f,h),D(g,h,null),m(f,p),m(f,b),D(L,b,null),w=!0,A||(C=[Ve(o,"mousedown",i[1]),Ve(o,"mouseup",i[5]),Ve(o,"mouseleave",i[5]),Ve(r,"mousedown",i[3]),Ve(r,"mouseup",i[5]),Ve(r,"mouseleave",i[5]),Ve(h,"mousedown",i[4]),Ve(h,"mouseup",i[5]),Ve(h,"mouseleave",i[5]),Ve(b,"mousedown",i[2]),Ve(b,"mouseup",i[5]),Ve(b,"mouseleave",i[5]),Ve(e,"keydown",i[6]),Ve(e,"keyup",i[7])],A=!0)},p(I,[M]){(!w||M&1)&&V(e,"m-shifted",I[0])},i(I){w||(d(l.$$.fragment,I),d(a.$$.fragment,I),d(g.$$.fragment,I),d(L.$$.fragment,I),w=!0)},o(I){v(l.$$.fragment,I),v(a.$$.fragment,I),v(g.$$.fragment,I),v(L.$$.fragment,I),w=!1},d(I){I&&k(e),F(l),F(a),F(g),F(L),A=!1,ei(C)}}}function H5(i,e,t){let{isShifted:n=!1}=e;const o=Ct(),l=new Set([We.ArrowUp,We.ArrowDown,We.ArrowLeft,We.ArrowRight]),s=()=>{o.actions.internal.startCameraManualRotation(0,1)},r=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),h=p=>{if(l.has(p.code))switch(p.preventDefault(),p.stopPropagation(),p.code){case We.ArrowUp:s();break;case We.ArrowDown:r();break;case We.ArrowLeft:c();break;case We.ArrowRight:a();break}},g=p=>{l.has(p.code)&&(p.preventDefault(),p.stopPropagation(),f())};return i.$$set=p=>{"isShifted"in p&&t(0,n=p.isShifted)},[n,s,r,a,c,f,h,g]}class mc extends ye{constructor(e){super(),ke(this,e,H5,F5,we,{isShifted:0},D5)}}function U5(i){Fe(i,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function Ba(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function Oa(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function za(i){let e,t;function n(s,r){return s[7]&&s[8]?W5:s[5]?q5:j5}let o=n(i),l=o(i);return{c(){e=_("div"),t=_("span"),l.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),V(e,"mobile",i[3])},m(s,r){y(s,e,r),m(e,t),l.m(t,null)},p(s,r){o===(o=n(s))&&l?l.p(s,r):(l.d(1),l=o(s),l&&(l.c(),l.m(t,null))),r&8&&V(e,"mobile",s[3])},d(s){s&&k(e),l.d()}}}function j5(i){let e,t=qt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Da(Ba(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=gt()},m(o,l){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(o,l);y(o,e,l)},p(o,l){if(l&18){t=qt(o[1]);let s;for(s=0;s<t.length;s+=1){const r=Ba(o,t,s);n[s]?n[s].p(r,l):(n[s]=Da(r),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(o){o&&k(e),ln(n,o)}}}function q5(i){let e,t,n=qt(i[6]),o=[];for(let l=0;l<n.length;l+=1)o[l]=Ha(Oa(i,n,l));return{c(){e=_("span"),t=_("span");for(let l=0;l<o.length;l+=1)o[l].c();u(t,"class","caption-segment v-ovfyp5"),Rt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){y(l,e,s),m(e,t);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(t,null)},p(l,s){if(s&68){n=qt(l[6]);let r;for(r=0;r<n.length;r+=1){const a=Oa(l,n,r);o[r]?o[r].p(a,s):(o[r]=Ha(a),o[r].c(),o[r].m(t,null))}for(;r<o.length;r+=1)o[r].d(1);o.length=n.length}s&16&&Rt(t,"font-size",l[4]+"px")},d(l){l&&k(e),ln(o,l)}}}function W5(i){let e,t,n=ne("subtitles_auto_caption")+"",o;return{c(){e=_("span"),t=_("span"),o=He(n),u(t,"class","caption-segment v-ovfyp5"),Rt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){y(l,e,s),m(e,t),m(t,o)},p(l,s){s&16&&Rt(t,"font-size",l[4]+"px")},d(l){l&&k(e)}}}function Da(i){let e,t,n=i[16]+"",o,l;return{c(){e=_("span"),t=_("span"),o=He(n),l=B(),u(t,"class","caption-segment v-ovfyp5"),Rt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,r){y(s,e,r),m(e,t),m(t,o),m(e,l)},p(s,r){r&2&&n!==(n=s[16]+"")&&xe(o,n),r&16&&Rt(t,"font-size",s[4]+"px")},d(s){s&&k(e)}}}function Fa(i){let e=i[16]+"",t;return{c(){t=He(e)},m(n,o){y(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&xe(t,e)},d(n){n&&k(t)}}}function Ha(i){let e,t=(!i[17]||i[17]<=i[2])&&Fa(i);return{c(){t&&t.c(),e=gt()},m(n,o){t&&t.m(n,o),y(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?t?t.p(n,o):(t=Fa(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&k(e),t&&t.d(n)}}}function Z5(i){let e,t=i[1].length>0&&za(i);return{c(){e=_("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){y(n,e,o),t&&t.m(e,null)},p(n,[o]){n[1].length>0?t?t.p(n,o):(t=za(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:Z,o:Z,d(n){n&&k(e),t&&t.d()}}}function G5(i,e,t){let n,o,{shifted:l}=e,{captions:s}=e,{position:r}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=Ct(),h=Xi(),g=f.state.currentSubtitle$;W(i,g,I=>t(12,n=I));const p=f.state.isAutoSubtitleCaptionVisible$;W(i,p,I=>t(8,o=I));let b,L,w,A,C;return Qi(()=>{C=window.setTimeout(()=>{p.set(!1)},h.autoSubtitlesTimeout)}),Wo(()=>{window.clearTimeout(C)}),i.$$set=I=>{"shifted"in I&&t(0,l=I.shifted),"captions"in I&&t(1,s=I.captions),"position"in I&&t(2,r=I.position),"playerSize"in I&&t(11,a=I.playerSize),"isMobile"in I&&t(3,c=I.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const I=a.width*.02;t(4,b=I<=h.minSubtitlesFontSize?h.minSubtitlesFontSize:I)}i.$$.dirty&2&&t(5,L=s.some(I=>I.type==="timestamp")),i.$$.dirty&2&&t(6,w=s.reduce((I,{type:M,value:J})=>(M==="timestamp"?I.push({timeAppeared:Number(J),value:""}):I.length===0?I.push({value:String(J)}):I[I.length-1].value=String(J),I),[])),i.$$.dirty&4096&&t(7,A=!!n.isAuto)},[l,s,r,c,b,L,w,A,o,g,p,a,n]}class hc extends ye{constructor(e){super(),ke(this,e,G5,Z5,we,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},U5)}}function K5(i){Fe(i,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function Ua(i){let e,t,n;return{c(){e=_("div"),t=He("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=He(i[1]),u(e,"class","text v-1o62kpz")},m(o,l){y(o,e,l),m(e,t),m(e,n)},p(o,l){l&2&&xe(n,o[1])},d(o){o&&k(e)}}}function Y5(i){let e,t,n,o,l,s,r=i[1]&&Ua(i);return{c(){e=_("div"),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=B(),r&&r.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){y(a,e,c),m(e,t),m(e,n),r&&r.m(e,null),l||(s=Ve(e,"click",i[2]),l=!0)},p(a,[c]){a[1]?r?r.p(a,c):(r=Ua(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:Z,o:Z,d(a){a&&k(e),r&&r.d(),l=!1,s()}}}function Q5(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function l(s){to.call(this,i,s)}return i.$$set=s=>{"thumbUrl"in s&&t(0,n=s.thumbUrl),"chromecastDeviceName"in s&&t(1,o=s.chromecastDeviceName)},[n,o,l]}class pc extends ye{constructor(e){super(),ke(this,e,Q5,Y5,we,{thumbUrl:0,chromecastDeviceName:1},K5)}}function X5(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class J5 extends ye{constructor(e){super(),ke(this,e,null,X5,we,{})}}function x5(i){Fe(i,"v-13zpvm8",".container.v-13zpvm8{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function $5(i){let e,t,n;return t=new J5({}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,l){y(o,e,l),D(t,e,null),n=!0},p:Z,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}class vc extends ye{constructor(e){super(),ke(this,e,null,$5,we,{},x5)}}function eg(i){Fe(i,"v-17wno3",".container.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-17wno3.v-17wno3{opacity:0;visibility:hidden}.playButton.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-17wno3:hover .playButtonBackground.v-17wno3{background-color:var(--big-play-hover-bg-color);transform:scale(1.15)}.playButton.v-17wno3 svg{transform:scale(2)}")}function tg(i){let e,t,n,o,l,s,r,a,c;return l=new Zl({}),{c(){e=_("div"),t=_("div"),n=_("div"),o=B(),H(l.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(t,"class","playButton v-17wno3"),u(e,"class","container v-17wno3"),u(e,"style",s=`background-color: #222; background-image: url('${i[0]||""}')`),V(e,"hidden",i[1])},m(f,h){y(f,e,h),m(e,t),m(t,n),m(t,o),D(l,t,null),r=!0,a||(c=Ve(e,"click",ft(function(){_n(i[2])&&i[2].apply(this,arguments)})),a=!0)},p(f,[h]){i=f,(!r||h&1&&s!==(s=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",s),(!r||h&2)&&V(e,"hidden",i[1])},i(f){r||(d(l.$$.fragment,f),r=!0)},o(f){v(l.$$.fragment,f),r=!1},d(f){f&&k(e),F(l),a=!1,c()}}}function ig(i,e,t){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:l}=e;return i.$$set=s=>{"thumbUrl"in s&&t(0,n=s.thumbUrl),"hidden"in s&&t(1,o=s.hidden),"startVideo"in s&&t(2,l=s.startVideo)},[n,o,l]}class gc extends ye{constructor(e){super(),ke(this,e,ig,tg,we,{thumbUrl:0,hidden:1,startVideo:2},eg)}}function ng(i){Fe(i,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
24
+ )}`)}function Or(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 zr(i){let e,t;return e=new a4({props:{position:i[6],duration:i[7]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o&64&&(l.position=n[6]),o&128&&(l.duration=n[7]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Dr(i){let e,t;return e=new h4({props:{position:i[6],secondsToWatchBeforeSkip:i[8],skipAd:i[10].actions.internal.skipAd}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o&64&&(l.position=n[6]),o&256&&(l.secondsToWatchBeforeSkip=n[8]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Fr(i){let e,t;return e=new o4({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Hr(i){let e,t;return e=new g4({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function _4(i){let e,t,n,o,l,r,s,a,c=i[0]&&Or(),f=i[3]&&zr(i),h=i[4]&&Dr(i),g=i[9]&&Fr(),p=i[5]&&Hr();return{c(){e=k("div"),c&&c.c(),t=R(),n=k("video"),o=R(),f&&f.c(),l=R(),h&&h.c(),r=R(),g&&g.c(),s=R(),p&&p.c(),Ot(n,"width","100%"),Ot(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(b,A){S(b,e,A),c&&c.m(e,null),m(e,t),m(e,n),i[22](n),m(e,o),f&&f.m(e,null),m(e,l),h&&h.m(e,null),m(e,r),g&&g.m(e,null),m(e,s),p&&p.m(e,null),i[23](e),a=!0},p(b,[A]){b[0]?c||(c=Or(),c.c(),c.m(e,t)):c&&(c.d(1),c=null),b[3]?f?(f.p(b,A),A&8&&d(f,1)):(f=zr(b),f.c(),d(f,1),f.m(e,l)):f&&(he(),v(f,1,1,()=>{f=null}),pe()),b[4]?h?(h.p(b,A),A&16&&d(h,1)):(h=Dr(b),h.c(),d(h,1),h.m(e,r)):h&&(he(),v(h,1,1,()=>{h=null}),pe()),b[9]?g?A&512&&d(g,1):(g=Fr(),g.c(),d(g,1),g.m(e,s)):g&&(he(),v(g,1,1,()=>{g=null}),pe()),b[5]?p?A&32&&d(p,1):(p=Hr(),p.c(),d(p,1),p.m(e,null)):p&&(he(),v(p,1,1,()=>{p=null}),pe())},i(b){a||(d(f),d(h),d(g),d(p),a=!0)},o(b){v(f),v(h),v(g),v(p),a=!1},d(b){b&&y(e),c&&c.d(),i[22](null),f&&f.d(),h&&h.d(),g&&g.d(),p&&p.d(),i[23](null)}}}function w4(i,e,t){let n,o,l,r,s,a,{adsSlotId:c=void 0}=e,{adsParams:f=void 0}=e,{adsPreviewParam:h=void 0}=e,{duration:g=0}=e;const p=At(),b=p.state.isEnded$;j(i,b,ie=>t(9,a=ie));const A=p.ui.isMobile;j(i,A,ie=>t(0,o=ie));let w,T,E=!1;const I=p.ads.playbackState;j(i,I,ie=>t(21,n=ie));const V=p.ads.canSkip,Q=p.ads.duration;j(i,Q,ie=>t(7,r=ie));const J=p.ads.position;j(i,J,ie=>t(6,l=ie));const U=p.ads.secondsToWatchBeforeSkip;j(i,U,ie=>t(8,s=ie));let z,re,ce;Ki(()=>{const ie=new AbortController;let q=()=>{ie.abort()};const _=p.getAdmanWrapper();if(!c){_.onAdmanLoadingError();return}const{width:x,height:ne}=rt(p.ui.playerSize),Ie=rt(p.ui.isFullscreen),ae=rt(p.ui.isAutoplay),ge={width:x,height:ne,isFullscreen:Ie,isAutoplay:ae,adsContainer:w,adsVideoElement:T,slotId:c,params:f,previewParam:h,duration:g};return window.AdmanHTML?(_.initAdman(ge),E=!0):_.loadAdman(ie.signal).then(()=>{_.initAdman(ge),E=!0}).catch(()=>{_.onAdmanLoadingError()}),()=>{!E&&q()}});function $(ie){Ze[ie?"unshift":"push"](()=>{T=ie,t(2,T)})}function N(ie){Ze[ie?"unshift":"push"](()=>{w=ie,t(1,w)})}return i.$$set=ie=>{"adsSlotId"in ie&&t(17,c=ie.adsSlotId),"adsParams"in ie&&t(18,f=ie.adsParams),"adsPreviewParam"in ie&&t(19,h=ie.adsPreviewParam),"duration"in ie&&t(20,g=ie.duration)},i.$$.update=()=>{i.$$.dirty&2097152&&t(3,z=n!==Zt.INACTIVE),i.$$.dirty&2097152&&t(4,re=V&&n!==Zt.INACTIVE),i.$$.dirty&2097153&&t(5,ce=o&&n!==Zt.INACTIVE)},[o,w,T,z,re,ce,l,r,s,a,p,b,A,I,Q,J,U,c,f,h,g,n,$,N]}class Ou extends ke{constructor(e){super(),we(this,e,w4,_4,_e,{adsSlotId:17,adsParams:18,adsPreviewParam:19,duration:20},b4)}}function k4(i){Fe(i,"v-1f6baix",".annotations-container.v-1f6baix{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.annotations-container .annotations-layer > *{pointer-events:initial}.annotations-container.shifted.v-1f6baix{height:calc(100% - var(--controls-height) - var(--slider-height))}")}function y4(i){let e;return{c(){e=k("div"),e.innerHTML="",u(e,"class","annotations-container v-1f6baix"),L(e,"shifted",i[0])},m(t,n){S(t,e,n),i[2](e)},p(t,[n]){n&1&&L(e,"shifted",t[0])},i:G,o:G,d(t){t&&y(e),i[2](null)}}}function S4(i,e,t){let{showControls:n}=e,o;const r=At().webApi.annotationsApi;Ki(()=>{if(r)return r.registryRootContainer(o),r.reattach(),()=>r.detach()});function s(a){Ze[a?"unshift":"push"](()=>{o=a,t(1,o)})}return i.$$set=a=>{"showControls"in a&&t(0,n=a.showControls)},[n,o,s]}class zu extends ke{constructor(e){super(),we(this,e,S4,y4,_e,{showControls:0},k4)}}function P4(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("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),m(e,t),m(e,n)},d(o){o&&y(e)}}}function C4(i){let e,t,n;return{c(){e=M("svg"),t=M("rect"),n=M("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),m(e,t),m(e,n)},d(o){o&&y(e)}}}function T4(i){let e;function t(l,r){return l[0]?C4:P4}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},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:G,o:G,d(l){l&&y(e),o.d(l)}}}function E4(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class Du extends ke{constructor(e){super(),we(this,e,E4,T4,_e,{isActive:0})}}function A4(i){Fe(i,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function L4(i){let e=hn(i[4]-i[3])+"",t;return{c(){t=Ue(e)},m(n,o){S(n,t,o)},p(n,o){o&24&&e!==(e=hn(n[4]-n[3])+"")&&$e(t,e)},i:G,o:G,d(n){n&&y(t)}}}function V4(i){let e,t,n;return t=new Du({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),B(t,e,null),n=!0},p:G,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function I4(i){let e,t,n,o,l,r,s;const a=[V4,L4],c=[];function f(h,g){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"),L(e,"live",i[1]),L(e,"hidden",i[0]),L(e,"playing",i[2])},m(h,g){S(h,e,g),m(e,t),m(e,n),m(e,o),c[l].m(o,null),s=!0},p(h,[g]){let p=l;l=f(h),l===p?c[l].p(h,g):(he(),v(c[p],1,1,()=>{c[p]=null}),pe(),r=c[l],r?r.p(h,g):(r=c[l]=a[l](h),r.c()),d(r,1),r.m(o,null)),(!s||g&2)&&L(e,"live",h[1]),(!s||g&1)&&L(e,"hidden",h[0]),(!s||g&4)&&L(e,"playing",h[2])},i(h){s||(d(r),s=!0)},o(h){v(r),s=!1},d(h){h&&y(e),c[l].d()}}}function M4(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 Fu extends ke{constructor(e){super(),we(this,e,M4,I4,_e,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},A4)}}const Ol=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 N4(i){Fe(i,"v-gew86s","ul.v-gew86s{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-gew86s{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-gew86s:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function R4(i){let e,t,n,o,l,r=!i[4]&&!i[14]&&Ur(i);return{c(){e=k("li"),e.textContent=`${se("menu_copy_video_link")}`,t=R(),r&&r.c(),n=gt(),u(e,"class","v-gew86s")},m(s,a){S(s,e,a),S(s,t,a),r&&r.m(s,a),S(s,n,a),o||(l=Le(e,"click",ct(i[28])),o=!0)},p(s,a){!s[4]&&!s[14]?r?r.p(s,a):(r=Ur(s),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(s){s&&(y(e),y(t),y(n)),r&&r.d(s),o=!1,l()}}}function Ur(i){let e,t,n;return{c(){e=k("li"),e.textContent=`${se("menu_copy_video_link_with_timestamp")}`,u(e,"class","v-gew86s")},m(o,l){S(o,e,l),t||(n=Le(e,"click",ct(i[29])),t=!0)},p:G,d(o){o&&y(e),t=!1,n()}}}function jr(i){let e,t,n;return{c(){e=k("li"),e.textContent=`${se("menu_pip")}`,u(e,"class","v-gew86s")},m(o,l){S(o,e,l),t||(n=Le(e,"click",ct(i[19])),t=!0)},p:G,d(o){o&&y(e),t=!1,n()}}}function B4(i){let e,t,n;return{c(){e=k("li"),e.textContent=`${se("menu_video_rotate")}`,u(e,"class","v-gew86s")},m(o,l){S(o,e,l),t||(n=Le(e,"click",ct(i[15])),t=!0)},p:G,d(o){o&&y(e),t=!1,n()}}}function qr(i){let e,t,n;return{c(){e=k("li"),e.textContent=`${se("menu_report")}`,u(e,"class","v-gew86s")},m(o,l){S(o,e,l),t||(n=Le(e,"click",ct(i[16])),t=!0)},p:G,d(o){o&&y(e),t=!1,n()}}}function O4(i){var A;let e,t,n,o,l,r,s,a,c,f,h=i[8].features.copyVideoLink&&((A=i[7].callbacks)==null?void 0:A.onCopyVideoLink)&&R4(i),g=i[9]&&i[5]!==at.ChromecastState.CONNECTED&&!i[14]&&jr(i),p=i[8].features.videoRotate&&!i[14]&&B4(i),b=i[8].showSupport&&!i[6]&&qr(i);return{c(){e=k("ul"),h&&h.c(),t=R(),g&&g.c(),n=R(),p&&p.c(),o=R(),b&&b.c(),l=R(),r=k("li"),r.textContent=`${i[8].features.saveDebugInfoToFile?se("menu_save_debug"):se("menu_copy_debug")}`,s=R(),a=k("li"),a.textContent=`${se("menu_debug_overlay")}`,u(r,"class","v-gew86s"),u(a,"class","v-gew86s"),Ot(e,"top",i[2]+"px"),Ot(e,"left",i[1]+"px"),u(e,"class","v-gew86s"),L(e,"hidden",!i[0])},m(w,T){S(w,e,T),h&&h.m(e,null),m(e,t),g&&g.m(e,null),m(e,n),p&&p.m(e,null),m(e,o),b&&b.m(e,null),m(e,l),m(e,r),m(e,s),m(e,a),i[30](e),c||(f=[Le(r,"click",ct(i[17])),Le(a,"click",ct(i[18])),Le(e,"contextmenu",pi(i[27]))],c=!0)},p(w,T){var E;w[8].features.copyVideoLink&&((E=w[7].callbacks)!=null&&E.onCopyVideoLink)&&h.p(w,T),w[9]&&w[5]!==at.ChromecastState.CONNECTED&&!w[14]?g?g.p(w,T):(g=jr(w),g.c(),g.m(e,n)):g&&(g.d(1),g=null),w[8].features.videoRotate&&!w[14]&&p.p(w,T),w[8].showSupport&&!w[6]?b?b.p(w,T):(b=qr(w),b.c(),b.m(e,l)):b&&(b.d(1),b=null),T[0]&4&&Ot(e,"top",w[2]+"px"),T[0]&2&&Ot(e,"left",w[1]+"px"),T[0]&1&&L(e,"hidden",!w[0])},i:G,o:G,d(w){w&&y(e),h&&h.d(),g&&g.d(),p&&p.d(),b&&b.d(),i[30](null),c=!1,Kt(f)}}}function z4(i,e,t){var Y;let n,o,l,r,{visible:s=!1}=e,{supportLink:a}=e,{x:c=0}=e,{y:f=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:g=void 0}=e,{returnFocus:p}=e,b=0,A=0;const w=At(),T=tn(),E=w.ui.contextMenuVisible,I=w.ui.debugPanelVisible,V=w.webApi.pictureInPictureApi,Q=(Y=w.webApi.pictureInPictureApi)==null?void 0:Y.info.isActive$;j(i,Q,C=>t(6,r=C));const J=w.state.chromecastState$;j(i,J,C=>t(5,l=C));const U=w.state.isLive$;j(i,U,C=>t(4,o=C));const z=w.state.positionExact$;j(i,z,C=>t(31,n=C));const re=w.state.isInteractive;let ce;const $=(C,ue)=>{if(!ce||!h||!g)return;const W=ce.getBoundingClientRect(),ye=h.getBoundingClientRect();t(1,b=C-ye.left),t(2,A=ue-ye.top),b+W.width>ye.width&&t(1,b=ye.width-W.width),A+W.height>ye.height&&t(2,A=ye.height-W.height),t(1,b=Math.max(b,0)),t(2,A=Math.max(A,0))},N=()=>{E.set(!1),w.actions.internal.videoRotate()},ie=()=>{window.open(a,"_blank"),E.set(!1),w.actions.internal.pause()},q=()=>{const C=w.actions.internal.getDebugTextData();if(T.features.saveDebugInfoToFile){const ue=new Blob([...C],{type:"plain/text"}),W=window.URL.createObjectURL(ue);U1(W,"vk_player_debug_info","txt")}else Ol(w.actions.internal.getDebugTextData());E.set(!1),p==null||p()},_=()=>{I.set(!0),E.set(!1),p==null||p()},x=()=>Bn(this,null,function*(){try{V!=null&&V.isActive()?yield V==null?void 0:V.remove():yield V==null?void 0:V.request()}finally{E.set(!1),p==null||p()}}),ne=(C=!1)=>{var ue,W;if((ue=w.callbacks)!=null&&ue.onCopyVideoLink){const ye=(W=w.callbacks)==null?void 0:W.onCopyVideoLink(C,n);ye&&Ol(ye)}E.set(!1)};function Ie(C){xn.call(this,i,C)}const ae=()=>ne(),ge=()=>ne(!0);function Se(C){Ze[C?"unshift":"push"](()=>{ce=C,t(3,ce)})}return i.$$set=C=>{"visible"in C&&t(0,s=C.visible),"supportLink"in C&&t(21,a=C.supportLink),"x"in C&&t(22,c=C.x),"y"in C&&t(23,f=C.y),"playerContainerRef"in C&&t(24,h=C.playerContainerRef),"controlsContainerRef"in C&&t(25,g=C.controlsContainerRef),"returnFocus"in C&&t(26,p=C.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&12582912&&$(c,f)},[s,b,A,ce,o,l,r,w,T,V,Q,J,U,z,re,N,ie,q,_,x,ne,a,c,f,h,g,p,Ie,ae,ge,Se]}class D4 extends ke{constructor(e){super(),we(this,e,z4,O4,_e,{visible:0,supportLink:21,x:22,y:23,playerContainerRef:24,controlsContainerRef:25,returnFocus:26},N4,[-1,-1])}}class F4{constructor(e){this.value=e,this.next=null}}class wl{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new F4(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 H4(i){Fe(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function U4(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),m(e,t),i[3](t)},p:G,i:G,o:G,d(n){n&&y(e),i[3](null)}}}const kl=16,yl=120,Wr=60;function j4(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function q4(i,e,t){let{values:n=[]}=e,o,l;const r=yl/Wr;Ki(()=>{t(0,o.width=yl,o),t(0,o.height=kl,o),t(2,l=o.getContext("2d"))});function s(a){Ze[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,yl,kl);let c=Wr-1;for(let f=n.length-1;f>=0;f--){const h=c*r,g=a>0?kl*(n[f]/a):0;j4(l,h,0,r,g),c--}}},[o,n,l,s]}class Wl extends ke{constructor(e){super(),we(this,e,q4,U4,_e,{values:1},H4)}}function W4(i){Fe(i,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function Zr(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=Ue(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){S(s,e,a),m(e,t),m(e,n),m(e,o),m(o,r)},p(s,a){a&1&&l!==(l=s[0].id+"")&&$e(r,l)},d(s){s&&y(e)}}}function Gr(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=Ue(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){S(s,e,a),m(e,t),m(e,n),m(e,o),m(o,r)},p(s,a){a&1&&l!==(l=s[0].provider+"")&&$e(r,l)},d(s){s&&y(e)}}}function Kr(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=Ue(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){S(s,e,a),m(e,t),m(e,n),m(e,o),m(o,r)},p(s,a){a&1&&l!==(l=s[0].viewport+"")&&$e(r,l)},d(s){s&&y(e)}}}function Yr(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=Ue(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){S(s,e,a),m(e,t),m(e,n),m(e,o),m(o,r)},p(s,a){a&1&&l!==(l=s[0].videoSize+"")&&$e(r,l)},d(s){s&&y(e)}}}function Xr(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=Ue(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){S(s,e,a),m(e,t),m(e,n),m(e,o),m(o,r)},p(s,a){a&1&&l!==(l=s[0].cdn+"")&&$e(r,l)},d(s){s&&y(e)}}}function Qr(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=Ue(l),s=Ue(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){S(a,e,c),m(e,t),m(e,n),m(e,o),m(o,r),m(o,s)},p(a,c){c&1&&l!==(l=a[0].volume+"")&&$e(r,l)},d(a){a&&y(e)}}}function Jr(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=Ue(l),s=Ue(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){S(a,e,c),m(e,t),m(e,n),m(e,o),m(o,r),m(o,s)},p(a,c){c&1&&l!==(l=a[0].buffer.toFixed(2)+"")&&$e(r,l)},d(a){a&&y(e)}}}function xr(i){let e,t,n,o,l,r,s=i[0].speed.toFixed(2)+"",a,c,f;return o=new Wl({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=Ue(s),c=Ue(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,g){S(h,e,g),m(e,t),m(e,n),B(o,e,null),m(e,l),m(e,r),m(r,a),m(r,c),f=!0},p(h,g){const p={};g&32&&(p.values=h[5]),o.$set(p),(!f||g&1)&&s!==(s=h[0].speed.toFixed(2)+"")&&$e(a,s)},i(h){f||(d(o.$$.fragment,h),f=!0)},o(h){v(o.$$.fragment,h),f=!1},d(h){h&&y(e),O(o)}}}function $r(i){let e,t,n,o,l,r,s=i[0].bitrate.toFixed(2)+"",a,c,f;return o=new Wl({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=Ue(s),c=Ue(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,g){S(h,e,g),m(e,t),m(e,n),B(o,e,null),m(e,l),m(e,r),m(r,a),m(r,c),f=!0},p(h,g){const p={};g&64&&(p.values=h[6]),o.$set(p),(!f||g&1)&&s!==(s=h[0].bitrate.toFixed(2)+"")&&$e(a,s)},i(h){f||(d(o.$$.fragment,h),f=!0)},o(h){v(o.$$.fragment,h),f=!1},d(h){h&&y(e),O(o)}}}function Z4(i){let e,t,n,o,l,r,s,a,c=i[0].version+"",f,h,g,p,b,A,w,T,E,I,V,Q,J,U,z,re,ce,$,N,ie,q,_,x,ne,Ie,ae,ge,Se,Y,C,ue=i[0].id&&Zr(i),W=i[0].provider&&Gr(i),ye=i[0].viewport&&Kr(i),D=i[0].videoSize&&Yr(i),te=i[0].cdn&&Xr(i),Me=i[0].volume&&Qr(i),Pe=i[0].buffer&&Jr(i),ve=i[0].speed&&xr(i),Ee=i[0].bitrate&&$r(i);return ne=new Wl({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=Ue(c),h=R(),ue&&ue.c(),g=R(),W&&W.c(),p=R(),ye&&ye.c(),b=R(),D&&D.c(),A=R(),te&&te.c(),w=R(),Me&&Me.c(),T=R(),Pe&&Pe.c(),E=R(),I=k("div"),V=k("div"),V.textContent="Dropped",Q=R(),J=k("span"),U=Ue(i[2]),z=Ue(" / "),re=Ue(i[1]),ce=Ue(" frames"),$=R(),ve&&ve.c(),N=R(),Ee&&Ee.c(),ie=R(),q=k("div"),_=k("div"),_.textContent="FPS",x=R(),F(ne.$$.fragment),Ie=R(),ae=k("span"),ge=Ue(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(V,"class","v-1gy2e68"),u(I,"class","v-1gy2e68"),u(_,"class","v-1gy2e68"),u(q,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),L(e,"container-mobile",i[7])},m(Te,K){S(Te,e,K),m(e,t),m(e,n),m(e,o),m(o,l),m(l,r),m(l,s),m(l,a),m(a,f),m(o,h),ue&&ue.m(o,null),m(o,g),W&&W.m(o,null),m(o,p),ye&&ye.m(o,null),m(o,b),D&&D.m(o,null),m(o,A),te&&te.m(o,null),m(o,w),Me&&Me.m(o,null),m(o,T),Pe&&Pe.m(o,null),m(o,E),m(o,I),m(I,V),m(I,Q),m(I,J),m(J,U),m(J,z),m(J,re),m(J,ce),m(o,$),ve&&ve.m(o,null),m(o,N),Ee&&Ee.m(o,null),m(o,ie),m(o,q),m(q,_),m(q,x),B(ne,q,null),m(q,Ie),m(q,ae),m(ae,ge),Se=!0,Y||(C=Le(t,"click",ct(i[9])),Y=!0)},p(Te,[K]){(!Se||K&1)&&c!==(c=Te[0].version+"")&&$e(f,c),Te[0].id?ue?ue.p(Te,K):(ue=Zr(Te),ue.c(),ue.m(o,g)):ue&&(ue.d(1),ue=null),Te[0].provider?W?W.p(Te,K):(W=Gr(Te),W.c(),W.m(o,p)):W&&(W.d(1),W=null),Te[0].viewport?ye?ye.p(Te,K):(ye=Kr(Te),ye.c(),ye.m(o,b)):ye&&(ye.d(1),ye=null),Te[0].videoSize?D?D.p(Te,K):(D=Yr(Te),D.c(),D.m(o,A)):D&&(D.d(1),D=null),Te[0].cdn?te?te.p(Te,K):(te=Xr(Te),te.c(),te.m(o,w)):te&&(te.d(1),te=null),Te[0].volume?Me?Me.p(Te,K):(Me=Qr(Te),Me.c(),Me.m(o,T)):Me&&(Me.d(1),Me=null),Te[0].buffer?Pe?Pe.p(Te,K):(Pe=Jr(Te),Pe.c(),Pe.m(o,E)):Pe&&(Pe.d(1),Pe=null),(!Se||K&4)&&$e(U,Te[2]),(!Se||K&2)&&$e(re,Te[1]),Te[0].speed?ve?(ve.p(Te,K),K&1&&d(ve,1)):(ve=xr(Te),ve.c(),d(ve,1),ve.m(o,N)):ve&&(he(),v(ve,1,1,()=>{ve=null}),pe()),Te[0].bitrate?Ee?(Ee.p(Te,K),K&1&&d(Ee,1)):(Ee=$r(Te),Ee.c(),d(Ee,1),Ee.m(o,ie)):Ee&&(he(),v(Ee,1,1,()=>{Ee=null}),pe());const H={};K&16&&(H.values=Te[4]),ne.$set(H),(!Se||K&8)&&$e(ge,Te[3]),(!Se||K&128)&&L(e,"container-mobile",Te[7])},i(Te){Se||(d(ve),d(Ee),d(ne.$$.fragment,Te),Se=!0)},o(Te){v(ve),v(Ee),v(ne.$$.fragment,Te),Se=!1},d(Te){Te&&y(e),ue&&ue.d(),W&&W.d(),ye&&ye.d(),D&&D.d(),te&&te.d(),Me&&Me.d(),Pe&&Pe.d(),ve&&ve.d(),Ee&&Ee.d(),O(ne),Y=!1,C()}}}function G4(i,e,t){let n;const o=At(),l=o.ui.debugPanelVisible,r=o.ui.isMobile;j(i,r,I=>t(7,n=I));const s=()=>{le.safeStorage.remove(Vl),l.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,h=0,g=0;const p=new wl(60),b=new wl(60),A=new wl(60);let w=[],T=[],E=[];return Ki(()=>{le.safeStorage.set(Vl,"true"),o.actions.internal.startLogging(),c&&(t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const I=window.setInterval(()=>{t(0,a=o.actions.internal.getDebugPanelData())},500);let V;return c&&(V=window.setInterval(()=>{if(c){t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames);const Q=c.getVideoPlaybackQuality().totalVideoFrames;t(3,g=Q-f),t(1,f=Q),p.push(g),a.speed&&b.push(a.speed),a.bitrate&&A.push(a.bitrate),t(4,w=p.getValuesFromBottom()),t(5,T=b.getValuesFromBottom()),t(6,E=A.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(I),V&&clearInterval(V)}}),[a,f,h,g,w,T,E,n,r,s]}class Hu extends ke{constructor(e){super(),we(this,e,G4,Z4,_e,{},W4)}}function K4(i){Fe(i,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function Y4(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=Le(e,"click",ct(i[0])),t=!0)},p:G,i:G,o:G,d(o){o&&y(e),t=!1,n()}}}function X4(i){function e(t){xn.call(this,i,t)}return[e]}class Q4 extends ke{constructor(e){super(),we(this,e,X4,Y4,_e,{},K4)}}function J4(i){Fe(i,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
25
+ }.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function x4(i){let e,t,n,o,l,r,s;return{c(){e=k("div"),t=k("canvas"),n=R(),o=M("svg"),l=M("g"),r=M("g"),s=M("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),m(e,t),i[2](t),m(e,n),m(e,o),m(o,l),m(l,r),m(r,s)},p:G,i:G,o:G,d(a){a&&y(e),i[2](null)}}}const $4=5e3;function em(i,e,t){let{onTimerEnded:n=le.noop}=e,o;Ki(()=>{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)/$4;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){Ze[r?"unshift":"push"](()=>{o=r,t(0,o)})}return i.$$set=r=>{"onTimerEnded"in r&&t(1,n=r.onTimerEnded)},[o,n,l]}class tm extends ke{constructor(e){super(),we(this,e,em,x4,_e,{onTimerEnded:1},J4)}}function im(i){Fe(i,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function es(i){let e,t;return e=new tm({props:{onTimerEnded:i[2]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o&4&&(l.onTimerEnded=n[2]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function nm(i){let e,t,n,o,l,r,s,a,c,f,h,g,p,b,A,w,T,E,I,V,Q;s=new Q4({}),s.$on("click",i[4]);let J=i[3]&&es(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"),g=k("div"),p=R(),J&&J.c(),A=R(),w=k("div"),T=k("div"),E=Ue(i[0]),u(e,"class","overlay v-kisfwc"),u(l,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(g,"class","thumb-overlay v-kisfwc"),u(h,"class","thumb v-kisfwc"),u(h,"style",b=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(T,"class","title v-kisfwc"),u(w,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(U,z){S(U,e,z),S(U,t,z),S(U,n,z),m(n,o),m(o,l),m(o,r),B(s,o,null),m(n,a),m(n,c),m(c,f),m(f,h),m(h,g),m(h,p),J&&J.m(h,null),m(c,A),m(c,w),m(w,T),m(T,E),I=!0,V||(Q=Le(c,"click",function(){on(i[2])&&i[2].apply(this,arguments)}),V=!0)},p(U,[z]){i=U,i[3]?J?(J.p(i,z),z&8&&d(J,1)):(J=es(i),J.c(),d(J,1),J.m(h,null)):J&&(he(),v(J,1,1,()=>{J=null}),pe()),(!I||z&2&&b!==(b=`background-image: url('${i[1]}')`))&&u(h,"style",b),(!I||z&1)&&$e(E,i[0])},i(U){I||(d(s.$$.fragment,U),d(J),I=!0)},o(U){v(s.$$.fragment,U),v(J),I=!1},d(U){U&&(y(e),y(t),y(n)),O(s),J&&J.d(),V=!1,Q()}}}function om(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 lm extends ke{constructor(e){super(),we(this,e,om,nm,_e,{title:0,thumb:1,playNextVideo:2},im)}}const Uu=(i,e)=>Math.min(+(i+e).toFixed(2),1),ju=(i,e)=>Math.max(+(i-e).toFixed(2),0),qu=(i,e,t)=>{const n=Uu(e,t);e<1&&i.actions.internal.setVolume(n)},Wu=(i,e,t)=>{const n=ju(e,t);e>0&&i.actions.internal.setVolume(n)};function rm(i){Fe(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function sm(i){let e,t,n,o;const l=i[20].default,r=An(l,i,i[19],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[21](e),t=!0,n||(o=[Le(e,"keyup",i[12]),Le(e,"keydown",i[11])],n=!0)},p(s,a){r&&r.p&&(!t||a[0]&524288)&&Vn(r,l,s,s[19],t?Ln(l,s[19],a,null):In(s[19]),null)},i(s){t||(d(r,s),t=!0)},o(s){v(r,s),t=!1},d(s){s&&y(e),r&&r.d(s),i[21](null),n=!1,Kt(o)}}}function am(i,e,t){let n,o,l,r,s,a,c,f,h,g,{$$slots:p={},$$scope:b}=e,{isAds:A}=e,{hideContextMenu:w}=e,{toggleFullscreen:T}=e,{showHotKeyHelpers:E}=e,{showKeyMap:I}=e;const V=At(),Q=tn(),J=V.getLogger().createComponentLog("KeyboardControls component"),U=V.state.playbackState$;j(i,U,W=>t(25,o=W));const z=V.ads.playbackState;j(i,z,W=>t(24,n=W));const re=V.state.positionExact$;j(i,re,W=>t(30,c=W));const ce=V.state.duration$;j(i,ce,W=>t(29,a=W));const $=V.state.volume$;j(i,$,W=>t(33,g=W));const N=V.ui.controls.disabledControls$;j(i,N,W=>t(28,s=W));const ie=V.state.muted$;j(i,ie,W=>t(27,r=W));const q=V.state.currentSubtitle$;j(i,q,W=>t(26,l=W));const _=V.state.currentPlaybackRate$;j(i,_,W=>t(31,f=W));const x=V.state.availablePlaybackRates$;j(i,x,W=>t(32,h=W));let ne=0,Ie=!0,ae;const ge=()=>ae==null?void 0:ae.focus(),Se=W=>(W!==Ie&&(Ie=W,ne=0),ne+=1,(Q.controls.seekStepKeyboard+Q.controls.seekStepKeyboard*ne)/1e3),Y=W=>{w();const ye=W.code,D=!r0.has(ye);if(W.ctrlKey&&D||W.altKey&&D||W.metaKey)return;const te=o===at.PlaybackState.PLAYING||o===at.PlaybackState.PAUSED,Me=A&&(n===Zt.PAUSED||n===Zt.PLAYING),Pe=!Me&&!s.has(pt.TIMELINE);if(te||Me)switch(J({message:`key down, code: ${ye}`}),ye){case We.KeyJ:case We.ArrowLeft:{if(!Pe)break;if(W.ctrlKey||W.altKey){const ve=V.actions.internal.getPrevEpisode();V.actions.internal.seekToPrevEpisode(ve),ve&&E({type:Qe.EPISODE_PREV,text:ve.text}),W.preventDefault()}else{const ve=W.shiftKey?Se(!1):Q.controls.seekStepKeyboard/1e3,Ee=Math.max(c-ve,0);c>0&&(V.actions.internal.seekTime(Ee,vt.SeekAction.DOUBLE_TAP),E({type:Qe.BACKWARD_SEEK,text:ve.toString()}),W.preventDefault())}break}case We.KeyL:case We.ArrowRight:{if(!Pe)break;if(W.ctrlKey||W.altKey){const ve=V.actions.internal.getNextEpisode();V.actions.internal.seekToNextEpisode(ve),ve&&E({type:Qe.EPISODE_NEXT,text:ve.text}),W.preventDefault()}else{const ve=W.shiftKey?Se(!0):Q.controls.seekStepKeyboard/1e3,Ee=Math.min(c+ve,a);Math.round(c)<Math.round(a)&&(V.actions.internal.seekTime(Ee,vt.SeekAction.DOUBLE_TAP),E({type:Qe.FORWARD_SEEK,text:ve.toString()}),W.preventDefault())}break}case We.ArrowUp:{const ve=g,Ee=Q.controls.volumeStepKeyboard,Te=ve<=1;if(qu(V,ve,Ee),Te){const K=Math.round(Uu(ve,Ee)*100).toString();E({type:Qe.VOLUME,t:{key:"hotkey_helper_current_volume",value:K}})}W.preventDefault();break}case We.ArrowDown:{const ve=g,Ee=Q.controls.volumeStepKeyboard,Te=ve>=0;if(Wu(V,ve,Ee),Te){const K=Math.round(ju(ve,Ee)*100).toString();E({type:Qe.VOLUME,t:{key:"hotkey_helper_current_volume",value:K}})}W.preventDefault();break}case We.Comma:{if(W.shiftKey){V.actions.internal.decrementPlaybackRate();const ve=h.find(Ee=>Ee.value===f);E({type:Qe.RATE_DOWN,text:ve==null?void 0:ve.displayValue}),W.preventDefault()}else{if(Me||o!==at.PlaybackState.PAUSED)break;const ve=Math.max(c-Q.controls.seekStepFrame/1e3,0);c>0&&(E({type:Qe.BACKWARD_SEEK}),V.actions.internal.clearDelayedBufferingCheckTimeout(),V.actions.internal.seekTime(ve,vt.SeekAction.DOUBLE_TAP),W.preventDefault())}break}case We.Period:{if(W.shiftKey){V.actions.internal.incrementPlaybackRate();const ve=h.find(Ee=>Ee.value===f);E({type:Qe.RATE_UP,text:ve==null?void 0:ve.displayValue}),W.preventDefault()}else{if(Me||o!==at.PlaybackState.PAUSED)break;const ve=Math.min(c+Q.controls.seekStepFrame/1e3,a);c<a&&(E({type:Qe.FORWARD_SEEK}),V.actions.internal.clearDelayedBufferingCheckTimeout(),V.actions.internal.seekTime(ve,vt.SeekAction.DOUBLE_TAP),W.preventDefault())}break}case We.KeyK:case We.Space:s.has(pt.PLAY_BUTTON)||(V.actions.internal.togglePlay(),E({type:o===at.PlaybackState.PLAYING?Qe.PLAY:Qe.STOP})),W.preventDefault();break;case We.KeyM:{E({type:r?Qe.VOLUME:Qe.MUTE}),V.actions.internal.toggleMuted(),W.preventDefault();break}case We.KeyF:T(),W.preventDefault();break;case We.KeyC:V.actions.internal.toggleSubtitle(),l.value!=="off"?E({type:Qe.SUBTITLES_ON,text:l==null?void 0:l.displayValue}):E({type:Qe.SUBTITLES_OFF}),W.preventDefault();break;case We.KeyI:V.actions.internal.togglePictureInPicture(),W.preventDefault();break;case We.Digit1:case We.Numpad1:E(),V.actions.internal.seekToPercent(.1,vt.SeekAction.DOUBLE_TAP),W.preventDefault();break;case We.Digit2:case We.Numpad2:E(),V.actions.internal.seekToPercent(.2,vt.SeekAction.DOUBLE_TAP),W.preventDefault();break;case We.Digit3:case We.Numpad3:E(),V.actions.internal.seekToPercent(.3,vt.SeekAction.DOUBLE_TAP),W.preventDefault();break;case We.Digit4:case We.Numpad4:E(),V.actions.internal.seekToPercent(.4,vt.SeekAction.DOUBLE_TAP),W.preventDefault();break;case We.Digit5:case We.Numpad5:E(),V.actions.internal.seekToPercent(.5,vt.SeekAction.DOUBLE_TAP),W.preventDefault();break;case We.Digit6:case We.Numpad6:E(),V.actions.internal.seekToPercent(.6,vt.SeekAction.DOUBLE_TAP),W.preventDefault();break;case We.Digit7:case We.Numpad7:E(),V.actions.internal.seekToPercent(.7,vt.SeekAction.DOUBLE_TAP),W.preventDefault();break;case We.Digit8:case We.Numpad8:E(),V.actions.internal.seekToPercent(.8,vt.SeekAction.DOUBLE_TAP),W.preventDefault();break;case We.Digit9:case We.Numpad9:E(),V.actions.internal.seekToPercent(.9,vt.SeekAction.DOUBLE_TAP),W.preventDefault();break;case We.Digit0:case We.Numpad0:E(),V.actions.internal.seekToPercent(0,vt.SeekAction.DOUBLE_TAP),W.preventDefault();break;case We.Slash:{W.shiftKey&&Q.features.hotKeyMapModal&&(I(),W.preventDefault());break}case We.ShiftLeft:case We.ShiftRight:W.preventDefault();break;default:le.checkNever(ye);break}},C=W=>{const ye=W.code;if(W.ctrlKey||W.altKey||W.metaKey)return;const D=o===at.PlaybackState.PLAYING||o===at.PlaybackState.PAUSED,te=A&&(n===Zt.PAUSED||n===Zt.PLAYING);if(D||te)switch(ye){case We.ShiftLeft:case We.ShiftRight:ne=0;break}};function ue(W){Ze[W?"unshift":"push"](()=>{ae=W,t(0,ae)})}return i.$$set=W=>{"isAds"in W&&t(13,A=W.isAds),"hideContextMenu"in W&&t(14,w=W.hideContextMenu),"toggleFullscreen"in W&&t(15,T=W.toggleFullscreen),"showHotKeyHelpers"in W&&t(16,E=W.showHotKeyHelpers),"showKeyMap"in W&&t(17,I=W.showKeyMap),"$$scope"in W&&t(19,b=W.$$scope)},[ae,U,z,re,ce,$,N,ie,q,_,x,Y,C,A,w,T,E,I,ge,b,p,ue]}class um extends ke{constructor(e){super(),we(this,e,am,sm,_e,{isAds:13,hideContextMenu:14,toggleFullscreen:15,showHotKeyHelpers:16,showKeyMap:17,focus:18},rm,[-1,-1])}get focus(){return this.$$.ctx[18]}}function cm(i){Fe(i,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function fm(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:G,i:G,o:G,d(t){t&&y(e)}}}class Zu extends ke{constructor(e){super(),we(this,e,null,fm,_e,{},cm)}}function dm(i){let e,t,n,o,l,r,s,a,c,f,h,g,p;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("defs"),r=M("filter"),s=M("feFlood"),a=M("feColorMatrix"),c=M("feOffset"),f=M("feGaussianBlur"),h=M("feColorMatrix"),g=M("feBlend"),p=M("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(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2422_111980"),u(p,"in","SourceGraphic"),u(p,"in2","effect1_dropShadow_2422_111980"),u(p,"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(b,A){S(b,e,A),m(e,t),m(t,n),m(t,o),m(e,l),m(l,r),m(r,s),m(r,a),m(r,c),m(r,f),m(r,h),m(r,g),m(r,p)},p:G,i:G,o:G,d(b){b&&y(e)}}}class mm extends ke{constructor(e){super(),we(this,e,null,dm,_e,{})}}function hm(i){Fe(i,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function pm(i){let e,t,n,o,l,r,s,a,c,f;const h=i[8].default,g=An(h,i,i[7],null);return{c(){var p,b,A,w;e=k("button"),g&&g.c(),u(e,"class",t="btn "+i[0]+" v-1anemql"),u(e,"style",n=i[1]||null),e.disabled=o=(p=i[2])!=null?p:null,u(e,"aria-hidden",l=(b=i[4])!=null?b:null),u(e,"aria-label",r=(A=i[5])!=null?A:null),u(e,"data-testid",s=(w=i[3])!=null?w:null)},m(p,b){S(p,e,b),g&&g.m(e,null),a=!0,c||(f=[Le(e,"pointerdown",ct(pi(i[9]))),Le(e,"click",ct(pi(function(){on(i[6])&&i[6].apply(this,arguments)})))],c=!0)},p(p,[b]){var A,w,T,E;i=p,g&&g.p&&(!a||b&128)&&Vn(g,h,i,i[7],a?Ln(h,i[7],b,null):In(i[7]),null),(!a||b&1&&t!==(t="btn "+i[0]+" v-1anemql"))&&u(e,"class",t),(!a||b&2&&n!==(n=i[1]||null))&&u(e,"style",n),(!a||b&4&&o!==(o=(A=i[2])!=null?A:null))&&(e.disabled=o),(!a||b&16&&l!==(l=(w=i[4])!=null?w:null))&&u(e,"aria-hidden",l),(!a||b&32&&r!==(r=(T=i[5])!=null?T:null))&&u(e,"aria-label",r),(!a||b&8&&s!==(s=(E=i[3])!=null?E:null))&&u(e,"data-testid",s)},i(p){a||(d(g,p),a=!0)},o(p){v(g,p),a=!1},d(p){p&&y(e),g&&g.d(p),c=!1,Kt(f)}}}function vm(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,{click:h=le.noop}=e;function g(p){xn.call(this,i,p)}return i.$$set=p=>{"className"in p&&t(0,l=p.className),"style"in p&&t(1,r=p.style),"disabled"in p&&t(2,s=p.disabled),"testId"in p&&t(3,a=p.testId),"ariaHidden"in p&&t(4,c=p.ariaHidden),"ariaLabel"in p&&t(5,f=p.ariaLabel),"click"in p&&t(6,h=p.click),"$$scope"in p&&t(7,o=p.$$scope)},[l,r,s,a,c,f,h,o,n,g]}class vi extends ke{constructor(e){super(),we(this,e,vm,pm,_e,{className:0,style:1,disabled:2,testId:3,ariaHidden:4,ariaLabel:5,click:6},hm)}}function gm(i){Fe(i,"v-1witlsj",".modal-overlay.v-1witlsj{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-1witlsj{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-1witlsj{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-1witlsj{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-1witlsj{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-1witlsj::-webkit-scrollbar{width:8px}.modal-scroll.v-1witlsj::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-1witlsj{margin:-8px -4px 0 0}")}function ts(i){let e,t,n,o,l,r=i[2]&&is(i);return{c(){e=k("div"),t=k("h3"),n=Ue(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),m(e,t),m(t,n),m(e,o),r&&r.m(e,null),l=!0},p(s,a){(!l||a&8)&&$e(n,s[3]),s[2]?r?(r.p(s,a),a&4&&d(r,1)):(r=is(s),r.c(),d(r,1),r.m(e,null)):r&&(he(),v(r,1,1,()=>{r=null}),pe())},i(s){l||(d(r),l=!0)},o(s){v(r),l=!1},d(s){s&&y(e),r&&r.d()}}}function is(i){let e,t;return e=new vi({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:se("hotkey_map_modal_close_btn_text"),$$slots:{default:[bm]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function bm(i){let e,t;return e=new mm({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function _m(i){let e,t,n,o,l,r,s=i[1]&&ts(i);const a=i[4].default,c=An(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),m(e,t),s&&s.m(t,null),m(t,n),m(t,o),m(o,l),c&&c.m(l,null),r=!0},p(f,[h]){f[1]?s?(s.p(f,h),h&2&&d(s,1)):(s=ts(f),s.c(),d(s,1),s.m(t,n)):s&&(he(),v(s,1,1,()=>{s=null}),pe()),c&&c.p&&(!r||h&32)&&Vn(c,a,f,f[5],r?Ln(a,f[5],h,null):In(f[5]),null)},i(f){r||(d(s),d(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 wm(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 km extends ke{constructor(e){super(),we(this,e,wm,_m,_e,{onClose:0,showHeader:1,showCloseCross:2,title:3},gm)}}const ym=new Set(["BR"]),ns=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;ym.has(r)||(e=l.parentElement)===null||e===void 0||e.removeChild(l)}return t.innerHTML};function Sm(i){Fe(i,"v-quklnq",".hot-key-map.v-quklnq{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-quklnq{border-bottom:1px solid var(--white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-quklnq:last-child{border-bottom:none}.hot-key-map-group-title.v-quklnq{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-quklnq,.hot-key-map-item.v-quklnq{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-quklnq{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-quklnq{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-quklnq{color:var(--white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-quklnq{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-quklnq,.hot-key-map-item-value.v-quklnq{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function os(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function ls(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=ns(i[9])+"",o,l,r=i[10]+"",s,a;return{c(){e=k("li"),t=k("span"),o=R(),l=k("span"),s=Ue(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),m(e,t),t.innerHTML=n,m(e,o),m(e,l),m(l,s),m(e,a)},p(c,f){f&1&&n!==(n=ns(c[9])+"")&&(t.innerHTML=n),f&1&&r!==(r=c[10]+"")&&$e(s,r)},d(c){c&&y(e)}}}function ss(i){let e,t,n=i[5]+"",o,l,r,s,a=Wt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=rs(ls(i,a,f));return{c(){e=k("div"),t=k("h5"),o=Ue(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),m(e,t),m(t,o),m(e,l),m(e,r);for(let g=0;g<c.length;g+=1)c[g]&&c[g].m(r,null);m(e,s)},p(f,h){if(h&1&&n!==(n=f[5]+"")&&$e(o,n),h&1){a=Wt(f[6]);let g;for(g=0;g<a.length;g+=1){const p=ls(f,a,g);c[g]?c[g].p(p,h):(c[g]=rs(p),c[g].c(),c[g].m(r,null))}for(;g<c.length;g+=1)c[g].d(1);c.length=a.length}},d(f){f&&y(e),fn(c,f)}}}function Pm(i){let e,t=Wt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=ss(os(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=Wt(o[0].groups);let r;for(r=0;r<t.length;r+=1){const s=os(o,t,r);n[r]?n[r].p(s,l):(n[r]=ss(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),fn(n,o)}}}function Cm(i){let e,t;return e=new km({props:{title:i[0].title,onClose:i[2],$$slots:{default:[Pm]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Tm(i,e,t){let n;const o=At(),{data:l,show:r}=o.ui.modals.hotKeyMap;return j(i,l,a=>t(0,n=a)),[n,l,()=>{r.set(!1)}]}class Em extends ke{constructor(e){super(),we(this,e,Tm,Cm,_e,{},Sm)}}function Am(i){Fe(i,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function Lm(i){let e,t;const n=i[1].default,o=An(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)&&Vn(o,n,l,l[0],t?Ln(n,l[0],r,null):In(l[0]),null)},i(l){t||(d(o,l),t=!0)},o(l){v(o,l),t=!1},d(l){l&&y(e),o&&o.d(l)}}}function Vm(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=l=>{"$$scope"in l&&t(0,o=l.$$scope)},[o,n]}class Im extends ke{constructor(e){super(),we(this,e,Vm,Lm,_e,{},Am)}}function Mm(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("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),m(e,t),m(e,n)},p:G,i:G,o:G,d(o){o&&y(e)}}}class Nm extends ke{constructor(e){super(),we(this,e,null,Mm,_e,{})}}function Rm(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("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),m(e,t),m(e,n)},p:G,i:G,o:G,d(o){o&&y(e)}}}class Bm extends ke{constructor(e){super(),we(this,e,null,Rm,_e,{})}}function Om(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class zm extends ke{constructor(e){super(),we(this,e,null,Om,_e,{})}}function Dm(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class Gu extends ke{constructor(e){super(),we(this,e,null,Dm,_e,{})}}function Fm(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("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),m(e,t),m(e,n)},p:G,i:G,o:G,d(o){o&&y(e)}}}class Ku extends ke{constructor(e){super(),we(this,e,null,Fm,_e,{})}}const to=i=>{switch(i){case at.VideoQuality.Q_720P:return zm;case at.VideoQuality.Q_1080P:return Gu;case at.VideoQuality.Q_1440P:return Ku;case at.VideoQuality.Q_2160P:return Nm;case at.VideoQuality.Q_4320P:return Bm}};function Hm(i){Fe(i,"v-1fzhlx0",".icon.v-1fzhlx0{display:flex;position:relative;width:24px;height:24px}.icon.v-1fzhlx0 .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-1fzhlx0 .pillow{right:-13px}")}function Um(i){let e,t,n,o,l,r,s=i[1]&&as(i);return{c(){e=k("div"),s&&s.c(),t=R(),n=M("svg"),o=M("path"),l=M("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"),L(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"),L(e,"triple",i[2])},m(a,c){S(a,e,c),s&&s.m(e,null),m(e,t),m(e,n),m(n,o),m(n,l),r=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&d(s,1)):(s=as(a),s.c(),d(s,1),s.m(e,t)):s&&(he(),v(s,1,1,()=>{s=null}),pe()),(!r||c&2)&&L(l,"hidden",!!a[1]),(!r||c&4)&&L(e,"triple",a[2])},i(a){r||(d(s),r=!0)},o(a){v(s),r=!1},d(a){a&&y(e),s&&s.d()}}}function jm(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}function as(i){let e,t;return e=new Im({props:{$$slots:{default:[qm]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o&18&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function qm(i){let e,t,n;var o=i[1];function l(r){return{}}return o&&(e=pn(o,l())),{c(){e&&F(e.$$.fragment),t=gt()},m(r,s){e&&B(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,()=>{O(a,1)}),pe()}o?(e=pn(o,l()),F(e.$$.fragment),d(e.$$.fragment,1),B(e,t.parentNode,t)):e=null}},i(r){n||(e&&d(e.$$.fragment,r),n=!0)},o(r){e&&v(e.$$.fragment,r),n=!1},d(r){r&&y(t),e&&O(e,r)}}}function Wm(i){let e,t,n,o;const l=[jm,Um],r=[];function s(a,c){return a[0]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=gt()},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()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function Zm(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=to(l)),i.$$.dirty&2&&t(2,r=!!n&&[Gu,Ku].includes(n))},[o,n,r,l]}class Yu extends ke{constructor(e){super(),we(this,e,Zm,Wm,_e,{isMobile:0,currentQuality:3},Hm)}}function Gm(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class Xu extends ke{constructor(e){super(),we(this,e,null,Gm,_e,{})}}function Km(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class Ym extends ke{constructor(e){super(),we(this,e,null,Km,_e,{})}}function Xm(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class Qm extends ke{constructor(e){super(),we(this,e,null,Xm,_e,{})}}function Jm(i){let e,t,n,o;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("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),m(e,t),m(t,n),m(t,o)},p:G,i:G,o:G,d(l){l&&y(e)}}}class xm extends ke{constructor(e){super(),we(this,e,null,Jm,_e,{})}}function $m(i){Fe(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function eh(i){let e,t,n;return{c(){e=M("svg"),t=M("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"),L(e,"reverted",i[2])},m(o,l){S(o,e,l),m(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&&L(e,"reverted",o[2])},d(o){o&&y(e)}}}function th(i){let e,t,n;return{c(){e=M("svg"),t=M("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"),L(e,"reverted",i[2])},m(o,l){S(o,e,l),m(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&&L(e,"reverted",o[2])},d(o){o&&y(e)}}}function ih(i){let e;function t(l,r){return l[1]?th:eh}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},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:G,o:G,d(l){l&&y(e),o.d(l)}}}function nh(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 En extends ke{constructor(e){super(),we(this,e,nh,ih,_e,{direction:3,color:0},$m)}}function oh(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class lh extends ke{constructor(e){super(),we(this,e,null,oh,_e,{})}}function rh(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class To extends ke{constructor(e){super(),we(this,e,null,rh,_e,{})}}function sh(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class ah extends ke{constructor(e){super(),we(this,e,null,sh,_e,{})}}function uh(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class ch extends ke{constructor(e){super(),we(this,e,null,uh,_e,{})}}function fh(i){Fe(i,"v-79x8pk","ul.v-79x8pk.v-79x8pk{margin:0;padding:0}.menu.v-79x8pk.v-79x8pk{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s;overflow:hidden}.container-mobile.v-79x8pk.v-79x8pk{width:100%}.menu-desktop.v-79x8pk.v-79x8pk{position:absolute;right:0;bottom:0}.menu-mobile.v-79x8pk.v-79x8pk{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-79x8pk.v-79x8pk{display:none}.menu-subList.v-79x8pk.v-79x8pk{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-79x8pk.v-79x8pk{min-width:164px}.menu-subList-traffic-saving.v-79x8pk.v-79x8pk{min-width:286px}.item.v-79x8pk.v-79x8pk{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-79x8pk.v-79x8pk{padding:0 14px}.item-quality.item-mobile.v-79x8pk.v-79x8pk,.item-traffic-saving.item-mobile.v-79x8pk.v-79x8pk,.item-helper-text.item-mobile.v-79x8pk.v-79x8pk{flex-direction:row-reverse}.item-helper-text.v-79x8pk.v-79x8pk{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-79x8pk span.v-79x8pk{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-79x8pk.v-79x8pk{padding:7px 14px}.item-helper-text.item-mobile.v-79x8pk span.v-79x8pk{text-align:start}.quality-title-mobile.v-79x8pk.v-79x8pk{flex-grow:1}.item.v-79x8pk.v-79x8pk:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-79x8pk.v-79x8pk:hover{background:var(--mobile-settings-bg)}.menu-subList.v-79x8pk .item.v-79x8pk{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-79x8pk .item.v-79x8pk:last-child{margin-bottom:4px}.menu-icon-wrapper.v-79x8pk.v-79x8pk{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-79x8pk.v-79x8pk{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-79x8pk.v-79x8pk{position:relative;opacity:0.7}.menu-valueIcon.v-79x8pk.v-79x8pk{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-79x8pk.v-79x8pk{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-79x8pk svg,.menu-valueIcon-list.v-79x8pk svg{color:var(--blue-light)}.menu-divider.v-79x8pk.v-79x8pk{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-79x8pk.v-79x8pk{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-79x8pk.v-79x8pk{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar{width:8px}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-79x8pk.v-79x8pk{overflow-y:auto;max-height:160px;text-align:left}.close.v-79x8pk.v-79x8pk{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-79x8pk.v-79x8pk:before,.close.v-79x8pk.v-79x8pk:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-79x8pk.v-79x8pk:before{transform:rotate(45deg)}.close.v-79x8pk.v-79x8pk:after{transform:rotate(-45deg)}")}function us(i,e,t){const n=i.slice();return n[83]=e[t],n}function cs(i,e,t){const n=i.slice();return n[86]=e[t],n}function fs(i,e,t){const n=i.slice();return n[89]=e[t],n}function ds(i){let e,t,n,o,l,r,s,a;return{c(){e=k("div"),t=k("div"),t.textContent=`${se("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"),L(e,"item-mobile",i[4]),u(r,"class","menu-divider v-79x8pk")},m(c,f){S(c,e,f),m(e,t),m(e,n),m(e,o),S(c,l,f),S(c,r,f),s||(a=Le(o,"click",ct(i[44])),s=!0)},p(c,f){f[0]&16&&L(e,"item-mobile",c[4])},d(c){c&&(y(e),y(l),y(r)),s=!1,a()}}}function ms(i){let e,t,n,o,l,r,s,a,c,f,h,g;n=new Yu({});let p=i[21]&&!i[4]&&hs(i);return{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${se("menu_quality")}`,r=R(),s=k("div"),a=Ue(i[12]),c=R(),p&&p.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","menuitemradio"),u(e,"tabindex","0"),L(e,"item-mobile",i[4])},m(b,A){S(b,e,A),m(e,t),B(n,t,null),m(e,o),m(e,l),m(e,r),m(e,s),m(s,a),m(s,c),p&&p.m(s,null),f=!0,h||(g=Le(e,"click",ct(i[45])),h=!0)},p(b,A){(!f||A[0]&4096)&&$e(a,b[12]),b[21]&&!b[4]?p?(p.p(b,A),A[0]&2097168&&d(p,1)):(p=hs(b),p.c(),d(p,1),p.m(s,null)):p&&(he(),v(p,1,1,()=>{p=null}),pe()),(!f||A[0]&16)&&L(e,"item-mobile",b[4])},i(b){f||(d(n.$$.fragment,b),d(p),f=!0)},o(b){v(n.$$.fragment,b),v(p),f=!1},d(b){b&&y(e),O(n),p&&p.d(),h=!1,g()}}}function hs(i){let e,t,n;var o=i[21];function l(r){return{}}return o&&(t=pn(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&&B(t,e,null),n=!0},p(r,s){if(s[0]&2097152&&o!==(o=r[21])){if(t){he();const a=t;v(a.$$.fragment,1,0,()=>{O(a,1)}),pe()}o?(t=pn(o,l()),F(t.$$.fragment),d(t.$$.fragment,1),B(t,e,null)):t=null}},i(r){n||(t&&d(t.$$.fragment,r),n=!0)},o(r){t&&v(t.$$.fragment,r),n=!1},d(r){r&&y(e),t&&O(t)}}}function ps(i){let e,t,n,o,l,r,s,a,c,f,h,g;return n=new xm({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${se("menu_playback_rate")}`,r=R(),s=k("div"),a=Ue(i[22]),c=Ue("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","menuitemradio"),u(e,"tabindex","0"),L(e,"item-mobile",i[4])},m(p,b){S(p,e,b),m(e,t),B(n,t,null),m(e,o),m(e,l),m(e,r),m(e,s),m(s,a),m(s,c),f=!0,h||(g=Le(e,"click",ct(i[49])),h=!0)},p(p,b){(!f||b[0]&4194304)&&$e(a,p[22]),(!f||b[0]&16)&&L(e,"item-mobile",p[4])},i(p){f||(d(n.$$.fragment,p),f=!0)},o(p){v(n.$$.fragment,p),f=!1},d(p){p&&y(e),O(n),h=!1,g()}}}function vs(i){let e,t,n,o,l,r,s,a=i[23].displayValue+"",c,f,h,g;return n=new Xu({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${se("subtitles_caption")}`,r=R(),s=k("div"),c=Ue(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","menuitemradio"),u(e,"tabindex","0"),L(e,"item-mobile",i[4])},m(p,b){S(p,e,b),m(e,t),B(n,t,null),m(e,o),m(e,l),m(e,r),m(e,s),m(s,c),f=!0,h||(g=Le(e,"click",ct(i[51])),h=!0)},p(p,b){(!f||b[0]&8388608)&&a!==(a=p[23].displayValue+"")&&$e(c,a),(!f||b[0]&16)&&L(e,"item-mobile",p[4])},i(p){f||(d(n.$$.fragment,p),f=!0)},o(p){v(n.$$.fragment,p),f=!1},d(p){p&&y(e),O(n),h=!1,g()}}}function gs(i){let e,t,n,o,l,r,s,a=(i[24]?se("traffic_saving_on"):se("traffic_saving_off"))+"",c,f,h,g;return n=new Qm({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${se("menu_traffic_saving")}`,r=R(),s=k("div"),c=Ue(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","menuitemradio"),u(e,"tabindex","0"),L(e,"item-mobile",i[4])},m(p,b){S(p,e,b),m(e,t),B(n,t,null),m(e,o),m(e,l),m(e,r),m(e,s),m(s,c),f=!0,h||(g=Le(e,"click",ct(i[46])),h=!0)},p(p,b){(!f||b[0]&16777216)&&a!==(a=(p[24]?se("traffic_saving_on"):se("traffic_saving_off"))+"")&&$e(c,a),(!f||b[0]&16)&&L(e,"item-mobile",p[4])},i(p){f||(d(n.$$.fragment,p),f=!0)},o(p){v(n.$$.fragment,p),f=!1},d(p){p&&y(e),O(n),h=!1,g()}}}function bs(i){let e,t,n,o,l,r,s,a;return n=new Ym({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${se("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","menuitemradio"),u(e,"tabindex","0"),L(e,"item-mobile",i[4])},m(c,f){S(c,e,f),m(e,t),B(n,t,null),m(e,o),m(e,l),r=!0,s||(a=Le(e,"click",ct(i[54])),s=!0)},p(c,f){(!r||f[0]&16)&&L(e,"item-mobile",c[4])},i(c){r||(d(n.$$.fragment,c),r=!0)},o(c){v(n.$$.fragment,c),r=!1},d(c){c&&y(e),O(n),s=!1,a()}}}function _s(i){let e,t,n,o,l,r,s,a,c,f,h,g,p,b,A,w=i[26].showSupport&&dh(i);return o=new ah({}),f=new ch({}),{c(){w&&w.c(),e=R(),t=k("li"),n=k("div"),F(o.$$.fragment),l=R(),r=k("div"),r.textContent=`${se("menu_copy_debug")}`,s=R(),a=k("li"),c=k("div"),F(f.$$.fragment),h=R(),g=k("div"),g.textContent=`${se("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","menuitemradio"),u(t,"tabindex","0"),u(c,"class","menu-icon-wrapper v-79x8pk"),u(g,"class","menu-title v-79x8pk"),u(a,"class","item item-mobile v-79x8pk"),u(a,"role","menuitemradio"),u(a,"tabindex","0")},m(T,E){w&&w.m(T,E),S(T,e,E),S(T,t,E),m(t,n),B(o,n,null),m(t,l),m(t,r),S(T,s,E),S(T,a,E),m(a,c),B(f,c,null),m(a,h),m(a,g),p=!0,b||(A=[Le(t,"click",ct(i[56])),Le(a,"click",ct(i[57]))],b=!0)},p(T,E){T[26].showSupport&&w.p(T,E)},i(T){p||(d(w),d(o.$$.fragment,T),d(f.$$.fragment,T),p=!0)},o(T){v(w),v(o.$$.fragment,T),v(f.$$.fragment,T),p=!1},d(T){T&&(y(e),y(t),y(s),y(a)),w&&w.d(T),O(o),O(f),b=!1,Kt(A)}}}function dh(i){let e,t,n,o,l,r,s,a;return n=new lh({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${se("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","menuitemradio"),u(e,"tabindex","0")},m(c,f){S(c,e,f),m(e,t),B(n,t,null),m(e,o),m(e,l),r=!0,s||(a=Le(e,"click",ct(i[55])),s=!0)},p:G,i(c){r||(d(n.$$.fragment,c),r=!0)},o(c){v(n.$$.fragment,c),r=!1},d(c){c&&y(e),O(n),s=!1,a()}}}function ws(i){let e,t,n;return t=new To({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){S(o,e,l),B(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function ks(i){let e,t,n;var o=to(i[89].value);function l(r){return{}}return o&&(t=pn(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&&B(t,e,null),n=!0},p(r,s){if(s[0]&32&&o!==(o=to(r[89].value))){if(t){he();const a=t;v(a.$$.fragment,1,0,()=>{O(a,1)}),pe()}o?(t=pn(o,l()),F(t.$$.fragment),d(t.$$.fragment,1),B(t,e,null)):t=null}},i(r){n||(t&&d(t.$$.fragment,r),n=!0)},o(r){t&&v(t.$$.fragment,r),n=!1},d(r){r&&y(e),t&&O(t)}}}function ys(i){let e,t,n,o=i[89].displayValue+"",l,r,s=!i[4]&&to(i[89].value),a,c,f,h,g,p=i[89].selected&&ws(),b=s&&ks(i);function A(){return i[71](i[89])}return{c(){e=k("li"),p&&p.c(),t=R(),n=k("div"),l=Ue(o),r=R(),b&&b.c(),a=R(),u(n,"class","v-79x8pk"),L(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",c=i[89].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),L(e,"item-mobile",i[4])},m(w,T){S(w,e,T),p&&p.m(e,null),m(e,t),m(e,n),m(n,l),m(e,r),b&&b.m(e,null),m(e,a),f=!0,h||(g=Le(e,"click",ct(A)),h=!0)},p(w,T){i=w,i[89].selected?p?T[0]&32&&d(p,1):(p=ws(),p.c(),d(p,1),p.m(e,t)):p&&(he(),v(p,1,1,()=>{p=null}),pe()),(!f||T[0]&32)&&o!==(o=i[89].displayValue+"")&&$e(l,o),(!f||T[0]&16)&&L(n,"quality-title-mobile",i[4]),T[0]&48&&(s=!i[4]&&to(i[89].value)),s?b?(b.p(i,T),T[0]&48&&d(b,1)):(b=ks(i),b.c(),d(b,1),b.m(e,a)):b&&(he(),v(b,1,1,()=>{b=null}),pe()),(!f||T[0]&32&&c!==(c=i[89].value))&&u(e,"data-value",c),(!f||T[0]&16)&&L(e,"item-mobile",i[4])},i(w){f||(d(p),d(b),f=!0)},o(w){v(p),v(b),f=!1},d(w){w&&y(e),p&&p.d(),b&&b.d(),h=!1,g()}}}function Ss(i){let e,t,n;return t=new To({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){S(o,e,l),B(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Ps(i){let e,t,n,o=i[86].displayValue+"",l,r,s,a,c,f,h=i[86].selected&&Ss();function g(){return i[73](i[86])}return{c(){e=k("li"),h&&h.c(),t=R(),n=k("div"),l=Ue(o),r=R(),u(n,"class","v-79x8pk"),L(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",s=i[86].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),L(e,"item-mobile",i[4])},m(p,b){S(p,e,b),h&&h.m(e,null),m(e,t),m(e,n),m(n,l),m(e,r),a=!0,c||(f=Le(e,"click",ct(g)),c=!0)},p(p,b){i=p,i[86].selected?h?b[0]&33554432&&d(h,1):(h=Ss(),h.c(),d(h,1),h.m(e,t)):h&&(he(),v(h,1,1,()=>{h=null}),pe()),(!a||b[0]&33554432)&&o!==(o=i[86].displayValue+"")&&$e(l,o),(!a||b[0]&16)&&L(n,"quality-title-mobile",i[4]),(!a||b[0]&33554432&&s!==(s=i[86].value))&&u(e,"data-value",s),(!a||b[0]&16)&&L(e,"item-mobile",i[4])},i(p){a||(d(h),a=!0)},o(p){v(h),a=!1},d(p){p&&y(e),h&&h.d(),c=!1,f()}}}function Cs(i){let e,t,n;return t=new To({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){S(o,e,l),B(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Ts(i){let e,t,n;return t=new To({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){S(o,e,l),B(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Es(i){let e,t,n;return t=new To({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){S(o,e,l),B(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function As(i){let e,t,n,o=i[83].displayValue+"",l,r,s,a,c,f,h=i[83].selected&&Es();function g(){return i[77](i[83])}return{c(){e=k("li"),h&&h.c(),t=R(),n=k("div"),l=Ue(o),r=R(),u(n,"class","v-79x8pk"),L(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",s=i[83].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),L(e,"item-mobile",i[4])},m(p,b){S(p,e,b),h&&h.m(e,null),m(e,t),m(e,n),m(n,l),m(e,r),a=!0,c||(f=Le(e,"click",ct(g)),c=!0)},p(p,b){i=p,i[83].selected?h?b[0]&8&&d(h,1):(h=Es(),h.c(),d(h,1),h.m(e,t)):h&&(he(),v(h,1,1,()=>{h=null}),pe()),(!a||b[0]&8)&&o!==(o=i[83].displayValue+"")&&$e(l,o),(!a||b[0]&16)&&L(n,"quality-title-mobile",i[4]),(!a||b[0]&8&&s!==(s=i[83].value))&&u(e,"data-value",s),(!a||b[0]&16)&&L(e,"item-mobile",i[4])},i(p){a||(d(h),a=!0)},o(p){v(h),a=!1},d(p){p&&y(e),h&&h.d(),c=!1,f()}}}function mh(i){let e,t,n,o,l,r,s,a,c,f,h,g,p,b,A,w,T,E,I,V,Q,J,U,z,re,ce,$,N,ie,q,_,x,ne,Ie,ae,ge,Se,Y,C,ue,W,ye,D,te,Me,Pe,ve,Ee,Te,K,H,qe,Je,st,je,Re,ft,yt,Ne,Oe,Ft,me,it=i[4]&&ds(i),et=i[20]&&ms(i),xe=i[19]&&ps(i),Ye=i[18]&&vs(i),Xe=i[17]&&gs(i),tt=i[16]&&bs(i),ot=i[4]&&_s(i);p=new En({props:{direction:"left"}});let nt=Wt(i[5]),De=[];for(let de=0;de<nt.length;de+=1)De[de]=ys(fs(i,nt,de));const Nt=de=>v(De[de],1,1,()=>{De[de]=null});U=new En({props:{direction:"left"}});let Tt=Wt(i[25]),lt=[];for(let de=0;de<Tt.length;de+=1)lt[de]=Ps(cs(i,Tt,de));const si=de=>v(lt[de],1,1,()=>{lt[de]=null});ne=new En({props:{direction:"left"}});let dt=!i[24]&&Cs(),Ke=i[24]&&Ts();je=new En({props:{direction:"left"}});let Vt=Wt(i[3]),ut=[];for(let de=0;de<Vt.length;de+=1)ut[de]=As(us(i,Vt,de));const gi=de=>v(ut[de],1,1,()=>{ut[de]=null});return{c(){e=k("div"),t=k("div"),it&&it.c(),n=R(),o=k("ul"),et&&et.c(),l=R(),xe&&xe.c(),r=R(),Ye&&Ye.c(),s=R(),Xe&&Xe.c(),a=R(),tt&&tt.c(),c=R(),ot&&ot.c(),f=R(),h=k("div"),g=k("div"),F(p.$$.fragment),b=R(),A=k("div"),A.textContent=`${se("submenu_quality")}`,w=R(),T=k("div"),E=R(),I=k("ul");for(let de=0;de<De.length;de+=1)De[de].c();V=R(),Q=k("div"),J=k("div"),F(U.$$.fragment),z=R(),re=k("div"),re.textContent=`${se("submenu_playback_rate")}`,ce=R(),$=k("div"),N=R(),ie=k("ul");for(let de=0;de<lt.length;de+=1)lt[de].c();q=R(),_=k("div"),x=k("div"),F(ne.$$.fragment),Ie=R(),ae=k("div"),ae.textContent=`${se("submenu_traffic_saving")}`,ge=R(),Se=k("div"),Y=R(),C=k("ul"),ue=k("li"),dt&&dt.c(),W=R(),ye=k("div"),ye.textContent=`${se("traffic_saving_disable")}`,D=R(),te=k("li"),Ke&&Ke.c(),Me=R(),Pe=k("div"),Pe.textContent=`${se("traffic_saving_enable")}`,ve=R(),Ee=k("div"),Te=R(),K=k("div"),H=k("span"),H.textContent=`${se("traffic_saving_helper_text")}`,qe=R(),Je=k("div"),st=k("div"),F(je.$$.fragment),Re=R(),ft=k("div"),ft.textContent=`${se("subtitles_caption")}`,yt=R(),Ne=k("ul");for(let de=0;de<ut.length;de+=1)ut[de].c();u(o,"class","items v-79x8pk"),L(o,"items-mobile",i[4]),u(t,"class","menu v-79x8pk"),u(t,"role","menu"),L(t,"menu-desktop",!i[4]),L(t,"menu-mobile",i[4]),L(t,"hidden",!i[7]),u(g,"class","item menu-header v-79x8pk"),L(g,"item-mobile",i[4]),u(T,"class","menu-divider v-79x8pk"),u(I,"class","items v-79x8pk"),u(I,"style",i[13]),L(I,"items-mobile",i[4]),u(h,"class","menu menu-subList v-79x8pk"),L(h,"menu-desktop",!i[4]),L(h,"menu-mobile",i[4]),L(h,"hidden",!i[8]),u(J,"class","item menu-header v-79x8pk"),L(J,"item-mobile",i[4]),u($,"class","menu-divider v-79x8pk"),u(ie,"class","items v-79x8pk"),u(ie,"style",i[14]),L(ie,"items-mobile",i[4]),u(Q,"class","menu menu-subList v-79x8pk"),L(Q,"menu-desktop",!i[4]),L(Q,"menu-mobile",i[4]),L(Q,"hidden",!i[9]),u(x,"class","item menu-header v-79x8pk"),L(x,"item-mobile",i[4]),u(Se,"class","menu-divider v-79x8pk"),u(ye,"class","v-79x8pk"),L(ye,"quality-title-mobile",i[4]),u(ue,"class","item item-traffic-saving v-79x8pk"),u(ue,"role","menuitemradio"),u(ue,"tabindex","0"),L(ue,"item-mobile",i[4]),u(Pe,"class","v-79x8pk"),L(Pe,"quality-title-mobile",i[4]),u(te,"class","item item-traffic-saving v-79x8pk"),u(te,"role","menuitemradio"),u(te,"tabindex","0"),L(te,"item-mobile",i[4]),u(C,"class","items v-79x8pk"),u(C,"style",i[15]),L(C,"items-mobile",i[4]),u(Ee,"class","menu-divider v-79x8pk"),u(H,"class","v-79x8pk"),u(K,"class","item item-helper-text v-79x8pk"),L(K,"item-mobile",i[4]),u(_,"class","menu menu-subList menu-subList-traffic-saving v-79x8pk"),L(_,"menu-desktop",!i[4]),L(_,"menu-mobile",i[4]),L(_,"hidden",!i[11]),u(st,"class","item menu-header v-79x8pk"),L(st,"item-mobile",i[4]),u(Ne,"class","items v-79x8pk"),L(Ne,"items-mobile",i[4]),u(Je,"class","menu menu-subList menu-subList-subtitles v-79x8pk"),L(Je,"menu-desktop",!i[4]),L(Je,"menu-mobile",i[4]),L(Je,"hidden",!i[10]),u(e,"class","v-79x8pk"),L(e,"hidden",!i[6]),L(e,"container-mobile",i[4])},m(de,Ce){S(de,e,Ce),m(e,t),it&&it.m(t,null),m(t,n),m(t,o),et&&et.m(o,null),m(o,l),xe&&xe.m(o,null),m(o,r),Ye&&Ye.m(o,null),m(o,s),Xe&&Xe.m(o,null),m(o,a),tt&&tt.m(o,null),m(o,c),ot&&ot.m(o,null),m(e,f),m(e,h),m(h,g),B(p,g,null),m(g,b),m(g,A),i[70](g),m(h,w),m(h,T),m(h,E),m(h,I);for(let Ve=0;Ve<De.length;Ve+=1)De[Ve]&&De[Ve].m(I,null);m(e,V),m(e,Q),m(Q,J),B(U,J,null),m(J,z),m(J,re),i[72](J),m(Q,ce),m(Q,$),m(Q,N),m(Q,ie);for(let Ve=0;Ve<lt.length;Ve+=1)lt[Ve]&&lt[Ve].m(ie,null);m(e,q),m(e,_),m(_,x),B(ne,x,null),m(x,Ie),m(x,ae),i[74](x),m(_,ge),m(_,Se),m(_,Y),m(_,C),m(C,ue),dt&&dt.m(ue,null),m(ue,W),m(ue,ye),m(C,D),m(C,te),Ke&&Ke.m(te,null),m(te,Me),m(te,Pe),m(_,ve),m(_,Ee),m(_,Te),m(_,K),m(K,H),m(e,qe),m(e,Je),m(Je,st),B(je,st,null),m(st,Re),m(st,ft),m(Je,yt),m(Je,Ne);for(let Ve=0;Ve<ut.length;Ve+=1)ut[Ve]&&ut[Ve].m(Ne,null);Oe=!0,Ft||(me=[Le(g,"click",ct(i[53])),Le(J,"click",ct(i[53])),Le(x,"click",ct(i[53])),Le(ue,"click",ct(i[75])),Le(te,"click",ct(i[76])),Le(st,"click",ct(i[53]))],Ft=!0)},p(de,Ce){if(de[4]?it?it.p(de,Ce):(it=ds(de),it.c(),it.m(t,n)):it&&(it.d(1),it=null),de[20]?et?(et.p(de,Ce),Ce[0]&1048576&&d(et,1)):(et=ms(de),et.c(),d(et,1),et.m(o,l)):et&&(he(),v(et,1,1,()=>{et=null}),pe()),de[19]?xe?(xe.p(de,Ce),Ce[0]&524288&&d(xe,1)):(xe=ps(de),xe.c(),d(xe,1),xe.m(o,r)):xe&&(he(),v(xe,1,1,()=>{xe=null}),pe()),de[18]?Ye?(Ye.p(de,Ce),Ce[0]&262144&&d(Ye,1)):(Ye=vs(de),Ye.c(),d(Ye,1),Ye.m(o,s)):Ye&&(he(),v(Ye,1,1,()=>{Ye=null}),pe()),de[17]?Xe?(Xe.p(de,Ce),Ce[0]&131072&&d(Xe,1)):(Xe=gs(de),Xe.c(),d(Xe,1),Xe.m(o,a)):Xe&&(he(),v(Xe,1,1,()=>{Xe=null}),pe()),de[16]?tt?(tt.p(de,Ce),Ce[0]&65536&&d(tt,1)):(tt=bs(de),tt.c(),d(tt,1),tt.m(o,c)):tt&&(he(),v(tt,1,1,()=>{tt=null}),pe()),de[4]?ot?(ot.p(de,Ce),Ce[0]&16&&d(ot,1)):(ot=_s(de),ot.c(),d(ot,1),ot.m(o,null)):ot&&(he(),v(ot,1,1,()=>{ot=null}),pe()),(!Oe||Ce[0]&16)&&L(o,"items-mobile",de[4]),(!Oe||Ce[0]&16)&&L(t,"menu-desktop",!de[4]),(!Oe||Ce[0]&16)&&L(t,"menu-mobile",de[4]),(!Oe||Ce[0]&128)&&L(t,"hidden",!de[7]),(!Oe||Ce[0]&16)&&L(g,"item-mobile",de[4]),Ce[0]&48|Ce[1]&65536){nt=Wt(de[5]);let Ve;for(Ve=0;Ve<nt.length;Ve+=1){const It=fs(de,nt,Ve);De[Ve]?(De[Ve].p(It,Ce),d(De[Ve],1)):(De[Ve]=ys(It),De[Ve].c(),d(De[Ve],1),De[Ve].m(I,null))}for(he(),Ve=nt.length;Ve<De.length;Ve+=1)Nt(Ve);pe()}if((!Oe||Ce[0]&8192)&&u(I,"style",de[13]),(!Oe||Ce[0]&16)&&L(I,"items-mobile",de[4]),(!Oe||Ce[0]&16)&&L(h,"menu-desktop",!de[4]),(!Oe||Ce[0]&16)&&L(h,"menu-mobile",de[4]),(!Oe||Ce[0]&256)&&L(h,"hidden",!de[8]),(!Oe||Ce[0]&16)&&L(J,"item-mobile",de[4]),Ce[0]&33554448|Ce[1]&524288){Tt=Wt(de[25]);let Ve;for(Ve=0;Ve<Tt.length;Ve+=1){const It=cs(de,Tt,Ve);lt[Ve]?(lt[Ve].p(It,Ce),d(lt[Ve],1)):(lt[Ve]=Ps(It),lt[Ve].c(),d(lt[Ve],1),lt[Ve].m(ie,null))}for(he(),Ve=Tt.length;Ve<lt.length;Ve+=1)si(Ve);pe()}if((!Oe||Ce[0]&16384)&&u(ie,"style",de[14]),(!Oe||Ce[0]&16)&&L(ie,"items-mobile",de[4]),(!Oe||Ce[0]&16)&&L(Q,"menu-desktop",!de[4]),(!Oe||Ce[0]&16)&&L(Q,"menu-mobile",de[4]),(!Oe||Ce[0]&512)&&L(Q,"hidden",!de[9]),(!Oe||Ce[0]&16)&&L(x,"item-mobile",de[4]),de[24]?dt&&(he(),v(dt,1,1,()=>{dt=null}),pe()):dt?Ce[0]&16777216&&d(dt,1):(dt=Cs(),dt.c(),d(dt,1),dt.m(ue,W)),(!Oe||Ce[0]&16)&&L(ye,"quality-title-mobile",de[4]),(!Oe||Ce[0]&16)&&L(ue,"item-mobile",de[4]),de[24]?Ke?Ce[0]&16777216&&d(Ke,1):(Ke=Ts(),Ke.c(),d(Ke,1),Ke.m(te,Me)):Ke&&(he(),v(Ke,1,1,()=>{Ke=null}),pe()),(!Oe||Ce[0]&16)&&L(Pe,"quality-title-mobile",de[4]),(!Oe||Ce[0]&16)&&L(te,"item-mobile",de[4]),(!Oe||Ce[0]&32768)&&u(C,"style",de[15]),(!Oe||Ce[0]&16)&&L(C,"items-mobile",de[4]),(!Oe||Ce[0]&16)&&L(K,"item-mobile",de[4]),(!Oe||Ce[0]&16)&&L(_,"menu-desktop",!de[4]),(!Oe||Ce[0]&16)&&L(_,"menu-mobile",de[4]),(!Oe||Ce[0]&2048)&&L(_,"hidden",!de[11]),(!Oe||Ce[0]&16)&&L(st,"item-mobile",de[4]),Ce[0]&24|Ce[1]&2097152){Vt=Wt(de[3]);let Ve;for(Ve=0;Ve<Vt.length;Ve+=1){const It=us(de,Vt,Ve);ut[Ve]?(ut[Ve].p(It,Ce),d(ut[Ve],1)):(ut[Ve]=As(It),ut[Ve].c(),d(ut[Ve],1),ut[Ve].m(Ne,null))}for(he(),Ve=Vt.length;Ve<ut.length;Ve+=1)gi(Ve);pe()}(!Oe||Ce[0]&16)&&L(Ne,"items-mobile",de[4]),(!Oe||Ce[0]&16)&&L(Je,"menu-desktop",!de[4]),(!Oe||Ce[0]&16)&&L(Je,"menu-mobile",de[4]),(!Oe||Ce[0]&1024)&&L(Je,"hidden",!de[10]),(!Oe||Ce[0]&64)&&L(e,"hidden",!de[6]),(!Oe||Ce[0]&16)&&L(e,"container-mobile",de[4])},i(de){if(!Oe){d(et),d(xe),d(Ye),d(Xe),d(tt),d(ot),d(p.$$.fragment,de);for(let Ce=0;Ce<nt.length;Ce+=1)d(De[Ce]);d(U.$$.fragment,de);for(let Ce=0;Ce<Tt.length;Ce+=1)d(lt[Ce]);d(ne.$$.fragment,de),d(dt),d(Ke),d(je.$$.fragment,de);for(let Ce=0;Ce<Vt.length;Ce+=1)d(ut[Ce]);Oe=!0}},o(de){v(et),v(xe),v(Ye),v(Xe),v(tt),v(ot),v(p.$$.fragment,de),De=De.filter(Boolean);for(let Ce=0;Ce<De.length;Ce+=1)v(De[Ce]);v(U.$$.fragment,de),lt=lt.filter(Boolean);for(let Ce=0;Ce<lt.length;Ce+=1)v(lt[Ce]);v(ne.$$.fragment,de),v(dt),v(Ke),v(je.$$.fragment,de),ut=ut.filter(Boolean);for(let Ce=0;Ce<ut.length;Ce+=1)v(ut[Ce]);Oe=!1},d(de){de&&y(e),it&&it.d(),et&&et.d(),xe&&xe.d(),Ye&&Ye.d(),Xe&&Xe.d(),tt&&tt.d(),ot&&ot.d(),O(p),i[70](null),fn(De,de),O(U),i[72](null),fn(lt,de),O(ne),i[74](null),dt&&dt.d(),Ke&&Ke.d(),O(je),fn(ut,de),Ft=!1,Kt(me)}}}const Sl=18;function hh(i,e,t){let n,o,l,r,s,a,c,f,h,g,p,b,A,w,T,E,I,V,{supportLink:Q}=e,{playerControlsHeight:J=0}=e,{returnFocus:U}=e;const z=At(),re=tn(),ce=z.state.currentQuality$;j(i,ce,Ae=>t(69,A=Ae));const $=z.state.availableQualities$;j(i,$,Ae=>t(5,b=Ae));const N=z.state.autoQualityLimitingAvailable$;j(i,N,Ae=>t(63,s=Ae));const ie=z.state.isAutoQualityEnabled$;j(i,ie,Ae=>t(68,p=Ae));const q=z.state.currentPlaybackRate$;j(i,q,Ae=>t(22,T=Ae));const _=z.state.availablePlaybackRates$;j(i,_,Ae=>t(25,V=Ae));const x=z.state.currentSubtitle$;j(i,x,Ae=>t(23,E=Ae));const ne=z.state.availableSubtitlesList$;j(i,ne,Ae=>t(3,r=Ae));const Ie=z.state.canDownload,ae=z.state.hasMpegSources$;j(i,ae,Ae=>t(64,a=Ae));const ge=z.ui.settingsMenuVisible;j(i,ge,Ae=>t(6,w=Ae));const Se=z.ui.isMobile;j(i,Se,Ae=>t(4,f=Ae));const Y=z.ui.mobileNotReportControlHidden$;j(i,Y,Ae=>t(61,o=Ae));const C=z.state.canChangePlaybackSpeed$;j(i,C,Ae=>t(62,l=Ae));const ue=z.ui.isFullscreen;j(i,ue,Ae=>t(67,g=Ae));const W=z.state.trafficSavingEnabled$;j(i,W,Ae=>t(24,I=Ae));const ye=z.ui.playerSize;j(i,ye,Ae=>t(66,h=Ae));const D=z.ui.debugPanelVisible,te=z.ui.playerSize;j(i,te,Ae=>t(65,c=Ae));const Me=z.actions.internal.downloadVideo;let Pe=!0,ve=!1,Ee=!1,Te=!1,K=!1;function H(){U==null||U(),ge.set(!1)}function qe(){t(7,Pe=!1),t(8,ve=!0)}function Je(){t(7,Pe=!1),t(11,K=!0)}function st(Ae){z.actions.internal.setQuality(Ae),H()}function je(Ae){z.actions.internal.setTrafficSavingEnabled(Ae),H()}function Re(){t(7,Pe=!1),t(9,Ee=!0)}function ft(Ae){z.actions.internal.setPlaybackRate(Ae),H()}function yt(){t(7,Pe=!1),t(10,Te=!0)}function Ne(Ae){z.actions.internal.setSubtitle(Ae),H()}function Oe(){t(7,Pe=!0),t(8,ve=!1),t(9,Ee=!1),t(10,Te=!1),t(11,K=!1)}function Ft(){Me(),H()}function me(){window.open(Q,"_blank"),H(),z.actions.internal.pause()}function it(){Ol(z.actions.internal.getDebugTextData()),H()}function et(){D.set(!0),H()}function xe(Ae,ni,ai){if(!Ae)return"...";const Ht=ni.find(Ut=>Ut.value===Ae),Vi=Ht?Ht.displayValue:Ae;return ai?Ae===at.VideoQuality.INVARIANT?se("auto_quality_invariant"):se("auto_quality",{actual:Vi}):Vi}let Ye,Xe,tt,ot,nt,De,Nt,Tt,lt,si,dt,Ke;function Vt(Ae){Ze[Ae?"unshift":"push"](()=>{Xe=Ae,t(0,Xe)})}const ut=Ae=>st(Ae.value);function gi(Ae){Ze[Ae?"unshift":"push"](()=>{tt=Ae,t(1,tt)})}const de=Ae=>ft(Ae.value);function Ce(Ae){Ze[Ae?"unshift":"push"](()=>{ot=Ae,t(2,ot)})}const Ve=()=>je(!1),It=()=>je(!0),Jt=Ae=>Ne(Ae);return i.$$set=Ae=>{"supportLink"in Ae&&t(58,Q=Ae.supportLink),"playerControlsHeight"in Ae&&t(59,J=Ae.playerControlsHeight),"returnFocus"in Ae&&t(60,U=Ae.returnFocus)},i.$$.update=()=>{var Ae,ni,ai;if(i.$$.dirty[0]&64&&w&&(t(7,Pe=!0),t(8,ve=!1),t(9,Ee=!1),t(10,Te=!1),t(11,K=!1)),i.$$.dirty[2]&128&&t(21,n=to(A)),i.$$.dirty[0]&32|i.$$.dirty[2]&192&&t(12,Ye=xe(A,b,p)),i.$$.dirty[0]&17|i.$$.dirty[1]&268435456|i.$$.dirty[2]&56)if(f&&g)t(13,nt=`max-height: ${Math.round(h.height*.6)}px`);else if(f)t(13,nt="");else{const Ht=c.height-Sl-((Ae=Xe==null?void 0:Xe.clientHeight)!=null?Ae:0)-J;t(13,nt=`max-height: ${Ht}px; overflow: auto;`)}if(i.$$.dirty[0]&18|i.$$.dirty[1]&268435456|i.$$.dirty[2]&8)if(f)t(14,De="");else{const Ht=c.height-Sl-((ni=tt==null?void 0:tt.clientHeight)!=null?ni:0)-J;t(14,De=`max-height: ${Ht}px; overflow: auto;`)}if(i.$$.dirty[0]&20|i.$$.dirty[1]&268435456|i.$$.dirty[2]&8)if(f)t(15,Nt="");else{const Ht=c.height-Sl-((ai=ot==null?void 0:ot.clientHeight)!=null?ai:0)-J;t(15,Nt=`max-height: ${Ht}px; overflow: auto;`)}i.$$.dirty[1]&1073741824|i.$$.dirty[2]&4&&t(16,Tt=Ie&&a&&!o),i.$$.dirty[1]&1073741824|i.$$.dirty[2]&2&&t(17,lt=re.features.trafficSaving&&!o&&s),i.$$.dirty[0]&8|i.$$.dirty[1]&1073741824&&t(18,si=r.length>0&&!o),i.$$.dirty[1]&1073741824|i.$$.dirty[2]&1&&t(19,dt=!!l&&!o),i.$$.dirty[1]&1073741824&&t(20,Ke=!o)},[Xe,tt,ot,r,f,b,w,Pe,ve,Ee,Te,K,Ye,nt,De,Nt,Tt,lt,si,dt,Ke,n,T,E,I,V,re,ce,$,N,ie,q,_,x,ne,ae,ge,Se,Y,C,ue,W,ye,te,H,qe,Je,st,je,Re,ft,yt,Ne,Oe,Ft,me,it,et,Q,J,U,o,l,s,a,c,h,g,p,A,Vt,ut,gi,de,Ce,Ve,It,Jt]}class Qu extends ke{constructor(e){super(),we(this,e,hh,mh,_e,{supportLink:58,playerControlsHeight:59,returnFocus:60},fh,[-1,-1,-1])}}function ph(i){Fe(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function vh(i){let e,t,n;return t=new Yu({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),B(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||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function gh(i){let e,t;return e=new vi({props:{testId:"btn-settings",click:i[6],ariaLabel:i[0],$$slots:{default:[vh]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function bh(i,e,t){let n,o,l;const r=At(),s=r.state.currentQuality$;j(i,s,g=>t(2,l=g));const a=r.ui.settingsMenuVisible;j(i,a,g=>t(7,n=g));const c=r.ui.isMobile;j(i,c,g=>t(1,o=g));let f;function h(){a.set(!n)}return i.$$.update=()=>{i.$$.dirty&128&&t(0,f=se(n?"tooltip_settings_on":"tooltip_settings_off"))},[f,o,l,s,a,c,h,n]}class Zl extends ke{constructor(e){super(),we(this,e,bh,gh,_e,{},ph)}}function _h(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class wh extends ke{constructor(e){super(),we(this,e,null,_h,_e,{})}}function kh(i){let e,t;return e=new Xu({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function yh(i){let e,t;return e=new wh({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Sh(i){let e,t,n,o;const l=[yh,kh],r=[];function s(a,c){return a[0]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=gt()},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()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(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 vi({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],$$slots:{default:[Sh]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ch(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=se(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,l]}class Th extends ke{constructor(e){super(),we(this,e,Ch,Ph,_e,{isSubtitlesEnabled:0,click:1})}}function Eh(i){Fe(i,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function Ls(i){let e,t;return{c(){e=k("span"),t=Ue(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){S(n,e,o),m(e,t)},p(n,o){o&8&&$e(t,n[3])},d(n){n&&y(e)}}}function Ah(i){let e,t,n,o,l,r=i[2]&&Ls(i);return{c(){e=k("div"),t=k("span"),n=Ue(i[4]),o=R(),r&&r.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),Dn(()=>i[7].call(e)),L(e,"mobile",i[1])},m(s,a){S(s,e,a),m(e,t),m(t,n),m(e,o),r&&r.m(e,null),l=Wo(e,i[7].bind(e))},p(s,[a]){a&16&&$e(n,s[4]),s[2]?r?r.p(s,a):(r=Ls(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),a&2&&L(e,"mobile",s[1])},i:G,o:G,d(s){s&&y(e),r&&r.d(),l()}}}function Lh(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=hn(o)),i.$$.dirty&64&&t(4,c=hn(l))},[s,n,r,a,c,o,l,f]}class Ju extends ke{constructor(e){super(),we(this,e,Lh,Ah,_e,{isMobile:1,duration:5,position:6,showDuration:2,width:0},Eh)}}function Vh(i){Fe(i,"v-1n5yyua",".icon.v-1n5yyua.v-1n5yyua{display:block;width:24px;height:24px}.icon.v-1n5yyua .cross.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .wave1.v-1n5yyua,.icon[data-value='off'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .cross.v-1n5yyua{visibility:visible}.icon[data-value='mid'].v-1n5yyua .wave2.v-1n5yyua,.icon[data-value='min'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}")}function Ih(i){let e,t,n,o,l,r;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("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),m(e,t),m(t,n),m(t,o),m(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:G,o:G,d(s){s&&y(e)}}}function Mh(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 ke{constructor(e){super(),we(this,e,Mh,Ih,_e,{volume:1,muted:2},Vh)}}function Nh(i){Fe(i,"v-1jbbzcj",'.tooltip-wrapper.v-1jbbzcj{display:flex;flex-direction:column;min-width:0}.full-width.v-1jbbzcj{width:100%}.tooltip.v-1jbbzcj{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-1jbbzcj{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-1jbbzcj{opacity:1;visibility:visible}.tooltip-pointer.v-1jbbzcj{position:absolute;bottom:0;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}')}function Vs(i){let e,t,n,o,l,r,s;return{c(){e=k("div"),t=k("div"),n=Ue(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[6]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",s=`transform: translate(${i[5]}px, ${i[2]}px);`),L(e,"active",i[4])},m(a,c){S(a,e,c),m(e,t),m(t,n),m(e,o),m(e,l),i[17](e)},p(a,c){c&2&&$e(n,a[1]),c&64&&r!==(r=`transform: translate(${a[6]}px, ${a[8]}px);`)&&u(l,"style",r),c&36&&s!==(s=`transform: translate(${a[5]}px, ${a[2]}px);`)&&u(e,"style",s),c&16&&L(e,"active",a[4])},d(a){a&&y(e),i[17](null)}}}function Rh(i){let e,t,n,o,l;const r=i[16].default,s=An(r,i,i[15],null);let a=i[1]&&Vs(i);return{c(){e=k("div"),s&&s.c(),t=R(),a&&a.c(),u(e,"class","tooltip-wrapper v-1jbbzcj"),L(e,"full-width",i[3])},m(c,f){S(c,e,f),s&&s.m(e,null),m(e,t),a&&a.m(e,null),n=!0,o||(l=[Le(e,"mouseenter",function(){on(i[7]?i[11]:le.noop)&&(i[7]?i[11]:le.noop).apply(this,arguments)}),Le(e,"mousemove",function(){on(i[7]?i[11]:le.noop)&&(i[7]?i[11]:le.noop).apply(this,arguments)}),Le(e,"mouseleave",i[12]),Le(e,"mousedown",i[12]),Le(e,"mouseup",function(){on(i[7]?i[11]:le.noop)&&(i[7]?i[11]:le.noop).apply(this,arguments)})],o=!0)},p(c,[f]){i=c,s&&s.p&&(!n||f&32768)&&Vn(s,r,i,i[15],n?Ln(r,i[15],f,null):In(i[15]),null),i[1]?a?a.p(i,f):(a=Vs(i),a.c(),a.m(e,null)):a&&(a.d(1),a=null),(!n||f&8)&&L(e,"full-width",i[3])},i(c){n||(d(s,c),n=!0)},o(c){v(s,c),n=!1},d(c){c&&y(e),s&&s.d(c),a&&a.d(),o=!1,Kt(l)}}}const Is=5,zo=8;function Bh(i,e,t){let n,o,l,r,s=G,a=()=>(s(),s=_o(h,_=>t(14,r=_)),h);i.$$.on_destroy.push(()=>s());let{$$slots:c={},$$scope:f}=e,{controlInfo:h=He(void 0)}=e;a();let{tooltipContent:g=""}=e,{initialTranslateXPx:p=0}=e,{initialTranslateYPx:b=0}=e,{isFullWidth:A=!1}=e,w=!1,T=0,E=0,I=Is,V,Q;const J=tn(),U=At(),z=U.ui.playerSize;j(i,z,_=>t(21,l=_));const re=U.ui.controls.tooltipPointerOffsetX;j(i,re,_=>t(20,o=_));const ce=()=>{t(4,w=!0);const _=Q.clientWidth,x=l.width,ne=o-_/2+p,Ie=o-n;t(5,T=Ie-_/2+p),t(6,E=_/2-Is);let ae=0;ne<zo&&(ae=zo-ne,t(6,E-=ae),t(5,T+=ae));let ge=0;ne+_>x-zo&&(ge=ne+_-(x-zo),t(6,E+=ge),t(5,T-=ge))},$=()=>{t(4,w=!1)},N=()=>{V||(V=window.setTimeout(ce,J.controls.hideTimeoutTooltips)),w&&ce()},ie=()=>{$(),window.clearTimeout(V),V=void 0};Zo(()=>window.clearTimeout(V));function q(_){Ze[_?"unshift":"push"](()=>{Q=_,t(7,Q)})}return i.$$set=_=>{"controlInfo"in _&&a(t(0,h=_.controlInfo)),"tooltipContent"in _&&t(1,g=_.tooltipContent),"initialTranslateXPx"in _&&t(13,p=_.initialTranslateXPx),"initialTranslateYPx"in _&&t(2,b=_.initialTranslateYPx),"isFullWidth"in _&&t(3,A=_.isFullWidth),"$$scope"in _&&t(15,f=_.$$scope)},i.$$.update=()=>{var _;i.$$.dirty&16384&&(n=(_=r==null?void 0:r.positionStartX)!=null?_:0)},[h,g,b,A,w,T,E,Q,I,z,re,N,ie,p,r,f,c,q]}class xu extends ke{constructor(e){super(),we(this,e,Bh,Rh,_e,{controlInfo:0,tooltipContent:1,initialTranslateXPx:13,initialTranslateYPx:2,isFullWidth:3},Nh)}}function Oh(i){Fe(i,"v-p9r045",".btn-container.v-p9r045{position:relative;display:flex;align-items:center;height:100%;transition:var(--button-hover-transition);will-change:opacity;-webkit-tap-highlight-color:transparent}.w-max.v-p9r045{width:100%;min-width:0}")}function zh(i){let e;const t=i[16].default,n=An(t,i,i[20],null);return{c(){n&&n.c()},m(o,l){n&&n.m(o,l),e=!0},p(o,l){n&&n.p&&(!e||l&1048576)&&Vn(n,t,o,o[20],e?Ln(t,o[20],l,null):In(o[20]),null)},i(o){e||(d(n,o),e=!0)},o(o){v(n,o),e=!1},d(o){n&&n.d(o)}}}function Dh(i){let e,t;return e=new xu({props:{controlInfo:i[4],tooltipContent:i[9],initialTranslateXPx:i[7],initialTranslateYPx:i[8],isFullWidth:i[3],$$slots:{default:[Fh]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.controlInfo=n[4]),o&512&&(l.tooltipContent=n[9]),o&128&&(l.initialTranslateXPx=n[7]),o&256&&(l.initialTranslateYPx=n[8]),o&8&&(l.isFullWidth=n[3]),o&1048576&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Fh(i){let e;const t=i[16].default,n=An(t,i,i[20],null);return{c(){n&&n.c()},m(o,l){n&&n.m(o,l),e=!0},p(o,l){n&&n.p&&(!e||l&1048576)&&Vn(n,t,o,o[20],e?Ln(t,o[20],l,null):In(o[20]),null)},i(o){e||(d(n,o),e=!0)},o(o){v(n,o),e=!1},d(o){n&&n.d(o)}}}function Hh(i){let e,t,n,o,l,r,s,a,c;const f=[Dh,zh],h=[];function g(p,b){return p[2]&&p[5]&&!p[10]?0:1}return t=g(i),n=h[t]=f[t](i),{c(){e=k("div"),n.c(),u(e,"class",o="btn-container "+i[1]+" v-p9r045"),u(e,"aria-hidden",l=i[6]||null),Dn(()=>i[19].call(e))},m(p,b){S(p,e,b),h[t].m(e,null),r=Wo(e,i[19].bind(e)),s=!0,a||(c=[Le(e,"pointerdown",ct(pi(i[17]))),Le(e,"click",ct(pi(i[18])))],a=!0)},p(p,[b]){let A=t;t=g(p),t===A?h[t].p(p,b):(he(),v(h[A],1,1,()=>{h[A]=null}),pe(),n=h[t],n?n.p(p,b):(n=h[t]=f[t](p),n.c()),d(n,1),n.m(e,null)),(!s||b&2&&o!==(o="btn-container "+p[1]+" v-p9r045"))&&u(e,"class",o),(!s||b&64&&l!==(l=p[6]||null))&&u(e,"aria-hidden",l)},i(p){s||(d(n),s=!0)},o(p){v(n),s=!1},d(p){p&&y(e),h[t].d(),r(),a=!1,Kt(c)}}}function Uh(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,{controlInfo:g=He(void 0)}=e,{tooltipContent:p=""}=e,{disabledTooltipContent:b=se("tooltip_button_disabled")}=e,{isAriaHidden:A=!1}=e,{initialTranslateXPx:w=0}=e,{initialTranslateYPx:T=-18}=e;const E=At(),I=E.ui.isMobile;j(i,I,re=>t(10,o=re));const V=E.state.graphIsOpened$;j(i,V,re=>t(15,n=re));let Q;function J(re){xn.call(this,i,re)}function U(re){xn.call(this,i,re)}function z(){f=this.clientWidth,t(0,f)}return i.$$set=re=>{"className"in re&&t(1,s=re.className),"disabled"in re&&t(13,a=re.disabled),"hasTooltip"in re&&t(2,c=re.hasTooltip),"width"in re&&t(0,f=re.width),"isFullWidthTooltip"in re&&t(3,h=re.isFullWidthTooltip),"controlInfo"in re&&t(4,g=re.controlInfo),"tooltipContent"in re&&t(5,p=re.tooltipContent),"disabledTooltipContent"in re&&t(14,b=re.disabledTooltipContent),"isAriaHidden"in re&&t(6,A=re.isAriaHidden),"initialTranslateXPx"in re&&t(7,w=re.initialTranslateXPx),"initialTranslateYPx"in re&&t(8,T=re.initialTranslateYPx),"$$scope"in re&&t(20,r=re.$$scope)},i.$$.update=()=>{i.$$.dirty&57376&&(a?t(9,Q=n?se("tooltip_disabled_when_graph_on"):b):t(9,Q=p))},[f,s,c,h,g,p,A,w,T,Q,o,I,V,a,b,n,l,J,U,z,r]}class Gt extends ke{constructor(e){super(),we(this,e,Uh,Hh,_e,{className:1,disabled:13,hasTooltip:2,width:0,isFullWidthTooltip:3,controlInfo:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},Oh)}}function jh(i){let e,t,n,o,l;return{c(){e=M("svg"),t=M("rect"),o=M("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),m(e,t),m(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:G,o:G,d(r){r&&y(e)}}}function qh(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class Wh extends ke{constructor(e){super(),we(this,e,qh,jh,_e,{completed:0})}}function Zh(i){Fe(i,"v-bklhpe",".interactive-episode-icon.v-bklhpe{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}.interactive-episode-icon.disabled.v-bklhpe{pointer-events:none;opacity:0.4}")}function Gh(i){let e,t,n,o,l;return t=new Wh({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)),L(e,"disabled",i[1])},m(r,s){S(r,e,s),B(t,e,null),o=Wo(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)&&L(e,"disabled",r[1])},i(r){l||(d(t.$$.fragment,r),l=!0)},o(r){v(t.$$.fragment,r),l=!1},d(r){r&&y(e),O(t),o()}}}function Kh(i){let e,t;return e=new Gt({props:{tooltipContent:se(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:[Gh]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.tooltipContent=se(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Yh(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 Xh extends ke{constructor(e){super(),we(this,e,Yh,Kh,_e,{videoEpisode:0,disabled:1},Zh)}}function Qh(i){Fe(i,"v-1h9p3m2",".video-episodes-wrap.v-1h9p3m2{position:absolute;width:100%;height:100%}.video-episode.v-1h9p3m2{position:absolute;height:calc(3 * var(--slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--slider-height) var(--slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-1h9p3m2:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-1h9p3m2,.video-episode-loaded.v-1h9p3m2,.video-episode-filled.v-1h9p3m2{position:absolute;height:var(--slider-height);border-radius:var(--slider-radius)}.video-episode-inner.v-1h9p3m2{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--slider-video-episode-gap));background:var(--slider-bg)}.video-episode-loaded.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}")}function Ms(i,e,t){const n=i.slice();return n[2]=e[t],n}function Ns(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}%)`),L(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}%`),L(e,"mobile",i[1])},m(f,h){S(f,e,h),m(e,t),m(t,n),m(t,l),m(t,r),m(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&&L(r,"mobile",f[1]),h&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),h&2&&L(e,"mobile",f[1])},d(f){f&&y(e)}}}function Jh(i){let e,t=Wt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Ns(Ms(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=Wt(o[0]);let r;for(r=0;r<t.length;r+=1){const s=Ms(o,t,r);n[r]?n[r].p(s,l):(n[r]=Ns(s),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},i:G,o:G,d(o){o&&y(e),fn(n,o)}}}function xh(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 $h extends ke{constructor(e){super(),we(this,e,xh,Jh,_e,{videoEpisodes:0,isMobile:1},Qh)}}function e3(i){Fe(i,"v-1golz1y",".interactive-icons.v-1golz1y.v-1golz1y{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-1golz1y.v-1golz1y{top:-10px}.slider.v-1golz1y.v-1golz1y{position:relative;height:var(--slider-height);border-radius:var(--slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-1golz1y.v-1golz1y{cursor:default}.slider.v-1golz1y.v-1golz1y:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--controls-height) / 2 - var(--slider-height)) / 2);height:calc(var(--controls-height) / 2)}.bars.v-1golz1y.v-1golz1y{position:absolute;width:100%;height:100%;border-radius:var(--slider-radius);overflow:hidden;background:var(--slider-bg)}.loaded.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.filled.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}.slider.square.v-1golz1y.v-1golz1y,.slider.square.v-1golz1y>.bars.v-1golz1y,.slider.square.v-1golz1y .loaded.v-1golz1y,.slider.square.v-1golz1y .filled.v-1golz1y{border-radius:unset}.filled.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.filled.ads.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-ads)}.handleWrap.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%}.handle.v-1golz1y.v-1golz1y{position:absolute;width:var(--slider-handle-size);height:var(--slider-handle-size);right:calc(-1 * var(--slider-handle-size) / 2);top:calc((var(--slider-height) - var(--slider-handle-size)) / 2);border-radius:50%;background-color:var(--slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.slider.v-1golz1y:hover .handle.v-1golz1y,.slider-dragging.v-1golz1y .handle.v-1golz1y{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-1golz1y .handle.v-1golz1y{transform:scale(1.3)}.slider-vertical.v-1golz1y.v-1golz1y{position:absolute;left:-8px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.slider.disabled.v-1golz1y.v-1golz1y{cursor:default;pointer-events:none;opacity:0.4}")}function Rs(i,e,t){const n=i.slice();return n[48]=e[t],n}function Bs(i){let e,t,n=Wt(i[21]),o=[];for(let r=0;r<n.length;r+=1)o[r]=zs(Rs(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"),L(e,"mobile",i[5]),L(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=Wt(r[21]);let a;for(a=0;a<n.length;a+=1){const c=Rs(r,n,a);o[a]?(o[a].p(c,s),d(o[a],1)):(o[a]=zs(c),o[a].c(),d(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)&&L(e,"mobile",r[5]),(!t||s[0]&1048608)&&L(e,"hidden",r[5]&&!r[20])},i(r){if(!t){for(let s=0;s<n.length;s+=1)d(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),fn(o,r)}}}function Os(i){let e,t;return e=new Xh({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function zs(i){let e,t,n=i[48].interactive&&Os(i);return{c(){n&&n.c(),e=gt()},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&&d(n,1)):(n=Os(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(he(),v(n,1,1,()=>{n=null}),pe())},i(o){t||(d(n),t=!0)},o(o){v(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function t3(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}%);`),L(l,"active-live",i[4]),L(l,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(s,a){S(s,e,a),m(e,t),m(e,o),m(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&&L(l,"active-live",s[4]),a[0]&64&&L(l,"ads",s[6])},i:G,o:G,d(s){s&&y(e)}}}function i3(i){let e,t;return e=new $h({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function n3(i){let e,t,n,o,l,r,s,a,c,f,h,g,p,b=i[8]&&Bs(i);const A=[i3,t3],w=[];function T(E,I){return E[21].length?0:1}return n=T(i),o=w[n]=A[n](i),{c(){var E;b&&b.c(),e=R(),t=k("div"),o.c(),l=R(),r=k("div"),s=k("div"),u(s,"class","handle v-1golz1y"),L(s,"active-live",i[4]),u(r,"class","handleWrap v-1golz1y"),u(r,"style",a=`transform: translateX(${i[13]*100}%);`),L(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=(E=i[1])!=null?E:null),L(t,"disabled",i[9]),L(t,"slider-dragging",i[20]),L(t,"hidden",i[2]),L(t,"slider-vertical",i[3]),L(t,"no-handle",i[10]),L(t,"square",i[7])},m(E,I){b&&b.m(E,I),S(E,e,I),S(E,t,I),w[n].m(t,null),m(t,l),m(t,r),m(r,s),i[42](t),h=!0,g||(p=[Le(t,"pointerdown",pi(i[22])),Le(t,"pointermove",pi(i[23])),Le(t,"pointerup",pi(i[24])),Le(t,"pointerenter",pi(i[25])),Le(t,"pointerleave",pi(i[26])),Le(t,"click",ct(le.noop)),Le(t,"wheel",i[27])],g=!0)},p(E,I){var Q;E[8]?b?(b.p(E,I),I[0]&256&&d(b,1)):(b=Bs(E),b.c(),d(b,1),b.m(e.parentNode,e)):b&&(he(),v(b,1,1,()=>{b=null}),pe());let V=n;n=T(E),n===V?w[n].p(E,I):(he(),v(w[V],1,1,()=>{w[V]=null}),pe(),o=w[n],o?o.p(E,I):(o=w[n]=A[n](E),o.c()),d(o,1),o.m(t,l)),(!h||I[0]&16)&&L(s,"active-live",E[4]),(!h||I[0]&8192&&a!==(a=`transform: translateX(${E[13]*100}%);`))&&u(r,"style",a),(!h||I[0]&1024)&&L(r,"hidden",E[10]),(!h||I[0]&1&&c!==(c="slider "+E[0]+" v-1golz1y"))&&u(t,"class",c),(!h||I[0]&16384)&&u(t,"aria-label",E[14]),(!h||I[0]&32768)&&u(t,"aria-valuemin",E[15]),(!h||I[0]&65536)&&u(t,"aria-valuemax",E[16]),(!h||I[0]&131072)&&u(t,"aria-valuenow",E[17]),(!h||I[0]&262144)&&u(t,"aria-valuetext",E[18]),(!h||I[0]&2&&f!==(f=(Q=E[1])!=null?Q:null))&&u(t,"data-testid",f),(!h||I[0]&513)&&L(t,"disabled",E[9]),(!h||I[0]&1048577)&&L(t,"slider-dragging",E[20]),(!h||I[0]&5)&&L(t,"hidden",E[2]),(!h||I[0]&9)&&L(t,"slider-vertical",E[3]),(!h||I[0]&1025)&&L(t,"no-handle",E[10]),(!h||I[0]&129)&&L(t,"square",E[7])},i(E){h||(d(b),d(o),h=!0)},o(E){v(b),v(o),h=!1},d(E){E&&(y(e),y(t)),b&&b.d(E),w[n].d(),i[42](null),g=!1,Kt(p)}}}function o3(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:g=!1}=e,{videoEpisodes:p=[]}=e,{withWheelHandler:b=!1}=e,{isInteractive:A=!1}=e,{disabled:w=!1}=e,{hideHandel:T=!1}=e,E,I,{onPointerDown:V=le.noop}=e,{onHandleMove:Q=le.noop}=e,{onPointerUp:J=le.noop}=e,{onPointerEnter:U=le.noop}=e,{onPointerMove:z=le.noop}=e,{onPointerLeave:re=le.noop}=e,{onWheelUp:ce=le.noop}=e,{onWheelDown:$=le.noop}=e,{onWheelLeft:N=le.noop}=e,{onWheelRight:ie=le.noop}=e,{loadedProgress:q=0}=e,{filledProgress:_=0}=e,{handleProgress:x=0}=e,{ariaLabel:ne=""}=e,{ariaValueMin:Ie=void 0}=e,{ariaValueMax:ae=void 0}=e,{ariaValueNow:ge=void 0}=e,{ariaValueText:Se=""}=e;const Y=tn();let C=!1,ue;function W(H){if(C)return;t(20,C=!0),I=E.getBoundingClientRect();const qe=ve(H.clientX,H.clientY);V(qe),E.setPointerCapture(H.pointerId)}function ye(H){const qe=ve(H.clientX,H.clientY),Je=Ee(H.clientX);z(qe,Je,I.width),C&&Q(qe)}function D(H){if(!C)return;t(20,C=!1);const qe=ve(H.clientX,H.clientY);J(qe)}function te(H){I=E.getBoundingClientRect();const qe=ve(H.clientX,H.clientY),Je=Ee(H.clientX);U(qe,Je,I.width)}function Me(){re()}function Pe(H){b&&(H.preventDefault(),H.deltaY<0?ce():H.deltaY>0?$():H.deltaX>0?ie():N())}function ve(H,qe){return a?Math.max(0,Math.min(1,(I.height-(qe-I.top))/I.height)):Math.min(Math.max(H-I.x,0),I.width)/I.width}function Ee(H){return Math.min(Math.max(H-I.x,0),I.width)}function Te(H,qe){const Je=Y.features.episodesClustering&&!A?Y.episodeMinWidthPc:0,st=[];let je=0,Re=0,ft=0;for(let Oe=1;Oe<p.length;Oe++)Re=p[Oe].time/ue*100,Re-je>Je&&(st.push({from:je,width:Math.max(0,Re-je),loadedWidth:Math.max(0,Math.min(Re,H)-je),filledWidth:Math.max(0,Math.min(Re,qe)-je),interactive:p[Oe-1].interactive,completed:p[Oe-1].completed}),je=p[Oe].time/ue*100,ft++);const yt={from:je,width:Math.max(0,100-je),loadedWidth:Math.max(0,Math.min(H,100)-je),filledWidth:Math.max(0,Math.min(qe,100)-je),interactive:p[ft].interactive,completed:p[ft].completed};100-je<Je?(ft-=1,st[ft].width+=100-je,st[ft].loadedWidth+=Math.max(0,Math.min(H,100)-je),st[ft].filledWidth+=Math.max(0,Math.min(qe,100)-je)):st[ft]=yt;const Ne=p[0].time;if(Ne!==0){const Oe=Ne/ue*100;st.unshift({from:0,width:Oe,loadedWidth:Math.min(Oe,H),filledWidth:Math.min(Oe,qe)})}return st}function K(H){Ze[H?"unshift":"push"](()=>{E=H,t(19,E)})}return i.$$set=H=>{"className"in H&&t(0,l=H.className),"testId"in H&&t(1,r=H.testId),"isHidden"in H&&t(2,s=H.isHidden),"isVertical"in H&&t(3,a=H.isVertical),"isActiveLive"in H&&t(4,c=H.isActiveLive),"isMobile"in H&&t(5,f=H.isMobile),"isAds"in H&&t(6,h=H.isAds),"squareBorders"in H&&t(7,g=H.squareBorders),"videoEpisodes"in H&&t(28,p=H.videoEpisodes),"withWheelHandler"in H&&t(29,b=H.withWheelHandler),"isInteractive"in H&&t(8,A=H.isInteractive),"disabled"in H&&t(9,w=H.disabled),"hideHandel"in H&&t(10,T=H.hideHandel),"onPointerDown"in H&&t(30,V=H.onPointerDown),"onHandleMove"in H&&t(31,Q=H.onHandleMove),"onPointerUp"in H&&t(32,J=H.onPointerUp),"onPointerEnter"in H&&t(33,U=H.onPointerEnter),"onPointerMove"in H&&t(34,z=H.onPointerMove),"onPointerLeave"in H&&t(35,re=H.onPointerLeave),"onWheelUp"in H&&t(36,ce=H.onWheelUp),"onWheelDown"in H&&t(37,$=H.onWheelDown),"onWheelLeft"in H&&t(38,N=H.onWheelLeft),"onWheelRight"in H&&t(39,ie=H.onWheelRight),"loadedProgress"in H&&t(11,q=H.loadedProgress),"filledProgress"in H&&t(12,_=H.filledProgress),"handleProgress"in H&&t(13,x=H.handleProgress),"ariaLabel"in H&&t(14,ne=H.ariaLabel),"ariaValueMin"in H&&t(15,Ie=H.ariaValueMin),"ariaValueMax"in H&&t(16,ae=H.ariaValueMax),"ariaValueNow"in H&&t(17,ge=H.ariaValueNow),"ariaValueText"in H&&t(18,Se=H.ariaValueText)},i.$$.update=()=>{var H;i.$$.dirty[0]&65536&&t(40,ue=ae!=null?ae:0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=((H=p[p.length-1])==null?void 0:H.time)<ue),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=p.length&&n&&ue?Te(q*100,_*100):[])},[l,r,s,a,c,f,h,g,A,w,T,q,_,x,ne,Ie,ae,ge,Se,E,C,o,W,ye,D,te,Me,Pe,p,b,V,Q,J,U,z,re,ce,$,N,ie,ue,n,K]}class Gl extends ke{constructor(e){super(),we(this,e,o3,n3,_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},e3,[-1,-1])}}const un=(i,e)=>eo[i]>=eo[e],l3=(i,e)=>eo[i]<eo[e],$u=(i,e)=>eo[i]<=eo[e],r3=i=>i>Yn.L?exports.GridTypes.XL:i>Yn.M?exports.GridTypes.L:i>Yn.S?exports.GridTypes.M:i>Yn.XS?exports.GridTypes.S:exports.GridTypes.XS;function s3(i){Fe(i,"v-1l78lz9",".volumeBar-container.v-1l78lz9{display:flex;align-items:center}.volumeBar-container.vertical.v-1l78lz9,.vertical.v-1l78lz9 .tooltip-wrapper,.vertical.v-1l78lz9 .btn{width:40px}.volumeBar.v-1l78lz9{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1l78lz9{padding:0 8px 0 0;width:0}")}function a3(i){let e,t;return e=new Qo({props:{volume:i[4],muted:i[2]}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function u3(i){let e,t;return e=new vi({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],$$slots:{default:[a3]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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]&2&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ds(i){let e,t,n;return t=new Gl({props:{className:i[3]?"volumeBar-slider-vertical":"",isHidden:i[3]&&!i[5],isVertical:i[3],withWheelHandler:!0,onWheelUp:i[14],onWheelDown:i[15],onPointerDown:i[13],onHandleMove:i[16],onPointerUp:i[17],onPointerEnter:i[3]?i[18]:le.noop,onPointerLeave:i[3]?i[19]: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"),L(e,"volumeBar-vertical",i[3])},m(o,l){S(o,e,l),B(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[18]:le.noop),l[0]&8&&(r.onPointerLeave=o[3]?o[19]: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)&&L(e,"volumeBar-vertical",o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function c3(i){let e,t,n,o,l,r;t=new xu({props:{controlInfo:i[11],tooltipContent:i[6],initialTranslateYPx:-18,$$slots:{default:[u3]},$$scope:{ctx:i}}});let s=i[0]&&Ds(i);return{c(){e=k("div"),F(t.$$.fragment),n=R(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),L(e,"vertical",i[3])},m(a,c){S(a,e,c),B(t,e,null),m(e,n),s&&s.m(e,null),o=!0,l||(r=[Le(e,"mouseenter",function(){on(i[3]?i[20]:le.noop)&&(i[3]?i[20]:le.noop).apply(this,arguments)}),Le(e,"mouseleave",function(){on(i[3]?i[21]:le.noop)&&(i[3]?i[21]:le.noop).apply(this,arguments)}),Le(e,"wheel",pi(i[22]))],l=!0)},p(a,c){i=a;const f={};c[0]&64&&(f.tooltipContent=i[6]),c[0]&159|c[1]&2&&(f.$$scope={dirty:c,ctx:i}),t.$set(f),i[0]?s?(s.p(i,c),c[0]&1&&d(s,1)):(s=Ds(i),s.c(),d(s,1),s.m(e,null)):s&&(he(),v(s,1,1,()=>{s=null}),pe()),(!o||c[0]&8)&&L(e,"vertical",i[3])},i(a){o||(d(t.$$.fragment,a),d(s),o=!0)},o(a){v(t.$$.fragment,a),v(s),o=!1},d(a){a&&y(e),O(t),s&&s.d(),l=!1,Kt(r)}}}function f3(i,e,t){let n,o,l,{isAudioAvailable:r=!0}=e,{click:s}=e;const a=At(),c=tn(),f=a.state.volume$;j(i,f,ae=>t(4,n=ae));const h=a.state.muted$;j(i,h,ae=>t(24,l=ae));const g=a.actions.internal.setVolume,p=a.ui.controls.volume,b=a.ui.currentGridType$;j(i,b,ae=>t(23,o=ae));let A=!1,w,T,E,I,V,Q,J=1,U=!1;function z(ae){J=n,g(ae)}function re(){qu(a,n,c.controls.volumeStepWheel)}function ce(){Wu(a,n,c.controls.volumeStepWheel)}function $(ae){g(ae)}function N(ae){const ge=ae;g(ge,ge===0?J:ge)}function ie(){U=!0}function q(){U=!1,ne()}function _(){clearTimeout(w),t(5,A=!0)}function x(){ne()}function ne(){w=window.setTimeout(()=>{U||t(5,A=!1)},c.controls.volumeBarTimeout)}function Ie(ae){ae.deltaY<0?re():ae.deltaY>0&&ce()}return i.$$set=ae=>{"isAudioAvailable"in ae&&t(0,r=ae.isAudioAvailable),"click"in ae&&t(1,s=ae.click)},i.$$.update=()=>{i.$$.dirty[0]&16777217&&t(2,I=!r||l),i.$$.dirty[0]&8388608&&t(3,V=$u(o,exports.GridTypes.S)),i.$$.dirty[0]&12&&(V?t(6,T=""):t(6,T=se(I?"tooltip_volume":"tooltip_volume_muted")),t(7,E=se(I?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,Q=I?0:n)},[r,s,I,V,n,A,T,E,Q,f,h,p,b,z,re,ce,$,N,ie,q,_,x,Ie,o,l]}class d3 extends ke{constructor(e){super(),we(this,e,f3,c3,_e,{isAudioAvailable:0,click:1},s3,[-1,-1])}}function m3(i){let e;return{c(){e=M("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 h3(i){let e;return{c(){e=M("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 p3(i){let e,t,n;function o(s,a){return s[0]?h3:m3}let l=o(i),r=l(i);return{c(){e=M("svg"),t=M("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),m(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:G,o:G,d(s){s&&y(e),r.d()}}}function v3(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class g3 extends ke{constructor(e){super(),we(this,e,v3,p3,_e,{isFullscreen:0})}}function b3(i){let e,t;return e=new g3({props:{isFullscreen:i[0]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isFullscreen=n[0]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function _3(i){let e,t;return e=new vi({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],$$slots:{default:[b3]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function w3(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=se(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,l]}class ec extends ke{constructor(e){super(),we(this,e,w3,_3,_e,{isFullscreen:0,click:1})}}function k3(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class Kl extends ke{constructor(e){super(),we(this,e,null,k3,_e,{})}}function y3(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class tc extends ke{constructor(e){super(),we(this,e,null,y3,_e,{})}}function S3(i){Fe(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Fs(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 P3(i){let e,t,n,o,l=i[0]&&Fs();var r=i[5];function s(a){return{}}return r&&(n=pn(r,s())),{c(){l&&l.c(),e=R(),t=k("div"),n&&F(n.$$.fragment),u(t,"class","v-1ot3duq"),L(t,"mobile",i[0])},m(a,c){l&&l.m(a,c),S(a,e,c),S(a,t,c),n&&B(n,t,null),o=!0},p(a,c){if(a[0]?l||(l=Fs(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),c&32&&r!==(r=a[5])){if(n){he();const f=n;v(f.$$.fragment,1,0,()=>{O(f,1)}),pe()}r?(n=pn(r,s()),F(n.$$.fragment),d(n.$$.fragment,1),B(n,t,null)):n=null}(!o||c&1)&&L(t,"mobile",a[0])},i(a){o||(n&&d(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&&O(n)}}}function C3(i){let e,t;return e=new vi({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-play",click:i[3],disabled:i[1],ariaLabel:i[4],$$slots:{default:[P3]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,[o]){const l={};o&5&&(l.className=(n[0]?"btn-m--play":"")+" "+n[2]),o&8&&(l.click=n[3]),o&2&&(l.disabled=n[1]),o&16&&(l.ariaLabel=n[4]),o&161&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function T3(i,e,t){let n,{isMobile:o=!1}=e,{isPlaying:l=!1}=e,{disabled:r=!1}=e,{className:s=""}=e,{click:a=le.noop}=e,c;return i.$$set=f=>{"isMobile"in f&&t(0,o=f.isMobile),"isPlaying"in f&&t(6,l=f.isPlaying),"disabled"in f&&t(1,r=f.disabled),"className"in f&&t(2,s=f.className),"click"in f&&t(3,a=f.click)},i.$$.update=()=>{i.$$.dirty&64&&t(4,c=se(l?"tooltip_pause":"tooltip_play")),i.$$.dirty&64&&t(5,n=l?tc:Kl)},[o,r,s,a,c,n,l]}class Yl extends ke{constructor(e){super(),we(this,e,T3,C3,_e,{isMobile:0,isPlaying:6,disabled:1,className:2,click:3},S3)}}function E3(i){Fe(i,"v-mb3pjo",".prev.v-mb3pjo{transform:scaleX(-1)}.mobile.v-mb3pjo{transform:scale(1.3333)}.mobile.prev.v-mb3pjo{transform:scaleX(-1) scale(1.3333)}")}function A3(i){let e,t,n;return{c(){e=M("svg"),t=M("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"),L(e,"prev",i[0]),L(e,"mobile",i[1])},m(o,l){S(o,e,l),m(e,t)},p(o,[l]){l&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),l&1&&L(e,"prev",o[0]),l&2&&L(e,"mobile",o[1])},i:G,o:G,d(o){o&&y(e)}}}function L3(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 V3 extends ke{constructor(e){super(),we(this,e,L3,A3,_e,{isPrev:0,isMobile:1},E3)}}function I3(i){let e,t;return e=new V3({props:{isMobile:i[0],isPrev:i[2]==="prev"}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function M3(i){let e,t;return e=new vi({props:{testId:"btn-"+i[2],disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[I3]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function N3(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=se(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,l,r,s]}class Jo extends ke{constructor(e){super(),we(this,e,N3,M3,_e,{isMobile:0,disabled:1,type:2,click:3})}}function R3(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class B3 extends ke{constructor(e){super(),we(this,e,null,R3,_e,{})}}function Hs(i){let e,t,n,o,l,r,s;return{c(){e=M("path"),t=M("path"),n=M("path"),o=M("path"),l=M("path"),r=M("path"),s=M("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 O3(i){let e,t,n,o=!i[0]&&Hs();return{c(){e=M("svg"),t=M("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),m(e,t),o&&o.m(e,null)},p(l,[r]){l[0]?o&&(o.d(1),o=null):o||(o=Hs(),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:G,o:G,d(l){l&&y(e),o&&o.d()}}}function z3(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 D3 extends ke{constructor(e){super(),we(this,e,z3,O3,_e,{short:0})}}function F3(i){let e,t;return e=new B3({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p:G,i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function H3(i){let e,t;return e=new D3({props:{short:i[3]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o&8&&(l.short=n[3]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function U3(i){let e,t,n,o;const l=[H3,F3],r=[];function s(a,c){return a[1]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=gt()},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()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function j3(i){let e,t;return e=new vi({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:[U3]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function q3(i,e,t){let n,o,l,{logoClickable:r=!1}=e,{videoLogoUrl:s=void 0}=e,{click:a}=e;const c=tn(),{logoLink:f,addTimeToLogoLink:h}=c,g=At(),p=g.state.positionWithScrubbing$;j(i,p,V=>t(12,n=V));const b=g.ui.currentGridType$;j(i,b,V=>t(10,o=V));const A=g.ui.isMobile;j(i,A,V=>t(11,l=V));let w,T,E;const I=()=>{let V;if(T||!s)V=f;else{const Q=Math.round(n);if(h&&Q){const J=new URL(s);J.searchParams.append("t",le.timeCodeToString(Q)),V=J.toString()}else V=s}a(),window.open(V,"_blank")};return i.$$set=V=>{"logoClickable"in V&&t(0,r=V.logoClickable),"videoLogoUrl"in V&&t(8,s=V.videoLogoUrl),"click"in V&&t(9,a=V.click)},i.$$.update=()=>{i.$$.dirty&3074&&t(3,E=(l||$u(o,exports.GridTypes.L))&&T)},t(2,w=c.logoType===$n.VK_VIDEO?se("tooltip_vk_video_logo"):se("tooltip_vk_logo")),t(1,T=c.logoType===$n.VK_VIDEO),[r,T,w,E,p,b,A,I,s,a,o,l]}class ic extends ke{constructor(e){super(),we(this,e,q3,j3,_e,{logoClickable:0,videoLogoUrl:8,click:9})}}function W3(i){Fe(i,"v-8z1bf5",".connecting.v-8z1bf5 .wave.v-8z1bf5{animation-duration:1s;animation-iteration-count:infinite}.connecting.v-8z1bf5 .wave1.v-8z1bf5{animation-name:v-8z1bf5-wave1}.connecting.v-8z1bf5 .wave2.v-8z1bf5{animation-name:v-8z1bf5-wave2}.connecting.v-8z1bf5 .wave3.v-8z1bf5{animation-name:v-8z1bf5-wave3}@keyframes v-8z1bf5-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function Z3(i){let e,t,n,o,l,r,s,a;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("path"),r=M("path"),s=M("path"),a=M("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"),L(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"),L(e,"connecting",i[2])},m(c,f){S(c,e,f),m(e,t),m(t,n),m(t,o),m(t,l),m(t,r),m(t,s),m(t,a)},p(c,f){f&2&&L(a,"hidden",!c[1]),f&4&&L(e,"connecting",c[2])},d(c){c&&y(e)}}}function G3(i){let e,t,n,o,l,r,s,a,c,f,h,g,p,b,A,w,T,E,I,V,Q;return{c(){e=M("svg"),t=M("g"),n=M("mask"),o=M("path"),r=M("path"),s=M("path"),c=M("path"),f=M("defs"),h=M("clipPath"),g=M("path"),b=M("filter"),A=M("feFlood"),w=M("feColorMatrix"),T=M("feOffset"),E=M("feGaussianBlur"),I=M("feColorMatrix"),V=M("feBlend"),Q=M("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(g,"fill",p=i[1]?"#2688EB":"#fff"),u(g,"d","M0 0h24v24H0z"),u(h,"id","a"),u(A,"flood-opacity","0"),u(A,"result","BackgroundImageFix"),u(w,"in","SourceAlpha"),u(w,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(w,"result","hardAlpha"),u(E,"stdDeviation","2.5"),u(I,"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_4085_178456"),u(Q,"in","SourceGraphic"),u(Q,"in2","effect1_dropShadow_4085_178456"),u(Q,"result","shape"),u(b,"id","b"),u(b,"x","-3.4"),u(b,"y","-1.4"),u(b,"width","30.8"),u(b,"height","26.802"),u(b,"filterUnits","userSpaceOnUse"),u(b,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(J,U){S(J,e,U),m(e,t),m(t,n),m(n,o),m(n,r),m(t,s),m(t,c),m(e,f),m(f,h),m(h,g),m(f,b),m(b,A),m(b,w),m(b,T),m(b,E),m(b,I),m(b,V),m(b,Q)},p(J,U){U&2&&l!==(l=J[1]?"#2688EB":"#fff")&&u(o,"fill",l),U&2&&a!==(a=J[1]?"#2688EB":"#fff")&&u(s,"fill",a),U&2&&p!==(p=J[1]?"#2688EB":"#fff")&&u(g,"fill",p)},d(J){J&&y(e)}}}function K3(i){let e;function t(l,r){return l[0]?G3:Z3}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},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:G,o:G,d(l){l&&y(e),o.d(l)}}}function Y3(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===at.ChromecastState.CONNECTING),t(1,l=o===at.ChromecastState.CONNECTED))},[n,l,r,o]}class X3 extends ke{constructor(e){super(),we(this,e,Y3,K3,_e,{isMobile:0,state:3},W3)}}function Q3(i){let e,t;return e=new X3({props:{isMobile:i[0],state:i[1]}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function J3(i){let e,t;return e=new vi({props:{ariaLabel:i[3],click:i[2],testId:"btn-chromecast",$$slots:{default:[Q3]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function x3(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===at.ChromecastState.CONNECTED?se("tooltip_chromecast_on"):se("tooltip_chromecast_off"))},[n,o,l,r]}class nc extends ke{constructor(e){super(),we(this,e,x3,J3,_e,{isMobile:0,state:1,click:2})}}function $3(i){let e,t;return e=new Du({props:{isActive:i[1]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.isActive=n[1]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ep(i){let e,t;return e=new vi({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1],ariaLabel:i[3],click:i[2],$$slots:{default:[$3]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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&2&&(l.disabled=n[1]),o&8&&(l.ariaLabel=n[3]),o&4&&(l.click=n[2]),o&18&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function tp(i,e,t){let{isMobile:n=!1}=e,{isActiveLive:o=!1}=e,{click:l}=e,r;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"isActiveLive"in s&&t(1,o=s.isActiveLive),"click"in s&&t(2,l=s.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=o?"":se("tooltip_live"))},[n,o,l,r]}class oc extends ke{constructor(e){super(),we(this,e,tp,ep,_e,{isMobile:0,isActiveLive:1,click:2})}}function ip(i){Fe(i,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function np(i){let e,t,n,o;const l=i[9].default,r=An(l,i,i[8],null);return{c(){e=k("div"),t=k("div"),r&&r.c(),u(t,"class","tooltip v-5ygsa2"),L(t,"active",i[0]),L(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),m(e,t),r&&r.m(t,null),i[10](t),i[11](e),o=!0},p(s,[a]){r&&r.p&&(!o||a&256)&&Vn(r,l,s,s[8],o?Ln(l,s[8],a,null):In(s[8]),null),(!o||a&1)&&L(t,"active",s[0]),(!o||a&2)&&L(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(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 op(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,g;function p(w){if(!g)return 0;const{width:T}=g.getBoundingClientRect(),E=T/2;return w<E?E:w>f-E?f-E:w}function b(w){Ze[w?"unshift":"push"](()=>{g=w,t(4,g)})}function A(w){Ze[w?"unshift":"push"](()=>{h=w,t(3,h)})}return i.$$set=w=>{"active"in w&&t(0,r=w.active),"pointer"in w&&t(1,s=w.pointer),"translateXPx"in w&&t(6,a=w.translateXPx),"translateYPx"in w&&t(2,c=w.translateYPx),"containerWidth"in w&&t(7,f=w.containerWidth),"$$scope"in w&&t(8,l=w.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=p(a))},[r,s,c,h,g,n,a,f,l,o,b,A]}class lp extends ke{constructor(e){super(),we(this,e,op,np,_e,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},ip)}}const lc=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function rp(i){Fe(i,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function Us(i){let e;function t(l,r){return l[2]&&l[10].completed===!1?ap:sp}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},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 sp(i){let e=(i[10].text||"")+"",t;return{c(){t=Ue(e)},m(n,o){S(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&$e(t,e)},d(n){n&&y(t)}}}function ap(i){let e=se("tooltip_episode_unfinished")+"",t;return{c(){t=Ue(e)},m(n,o){S(n,t,o)},p:G,d(n){n&&y(t)}}}function up(i){let e,t,n,o,l,r,s,a,c=i[10]&&Us(i);return{c(){e=k("div"),t=k("div"),o=R(),l=k("div"),c&&c.c(),r=R(),s=k("div"),a=Ue(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"),L(e,"mobile",i[1])},m(f,h){S(f,e,h),m(e,t),m(e,o),m(e,l),c&&c.m(l,null),m(e,r),m(e,s),m(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=Us(f),c.c(),c.m(l,null)):c&&(c.d(1),c=null),h&1&&$e(a,f[0]),h&2&&L(e,"mobile",f[1])},i:G,o:G,d(f){f&&y(e),c&&c.d()}}}const Gn=150;function cp(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 g=At().ui.rotateAlpha;j(i,g,U=>t(11,n=U));let p,b,A,w,T,E,I,V;function Q(){let U=s.frameWidth,z=s.frameHeight;return U>Gn?(z=z/U*Gn,U=Gn):z>Gn&&(U=U/z*Gn,z=Gn),{width:U,height:z}}function J(U){let z;s.isUV?z=Math.floor(c*U/s.frequency):z=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*U)));const re=Math.floor(z/s.countPerImage),ce=Math.floor(z%s.countPerImage/s.countPerRow),$=z%s.countPerRow;let N=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&re===Math.floor(s.countTotal/s.countPerImage)&&(N=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&N++);let ie=s.countPerRow;!s.isUV&&re===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(ie=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const q=p*ie,_=b*N,x=-$*p,ne=-ce*b;return{imgSrc:s.links[re],imgWidth:q,imgHeight:_,imgOffsetX:x,imgOffsetY:ne}}return i.$$set=U=>{"time"in U&&t(0,o=U.time),"isMobile"in U&&t(1,l=U.isMobile),"videoEpisodes"in U&&t(13,r=U.videoEpisodes),"previewThumbsData"in U&&t(14,s=U.previewThumbsData),"progress"in U&&t(15,a=U.progress),"duration"in U&&t(16,c=U.duration),"isInteractive"in U&&t(2,f=U.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:A,imgWidth:w,imgHeight:T,imgOffsetX:E,imgOffsetY:I}=J(a),A,(t(6,w),t(15,a)),(t(7,T),t(15,a)),(t(8,E),t(15,a)),(t(9,I),t(15,a))),i.$$.dirty&106496&&t(10,V=lc(a,c,r))},t(3,{width:p,height:b}=Q(),p,t(4,b)),[o,l,f,p,b,A,w,T,E,I,V,n,g,r,s,a,c]}class fp extends ke{constructor(e){super(),we(this,e,cp,up,_e,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},rp)}}function dp(i){Fe(i,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function mp(i){let e,t;return{c(){e=k("span"),t=Ue(i[7]),u(e,"class","time v-5lzly8")},m(n,o){S(n,e,o),m(e,t)},p(n,o){o[0]&128&&$e(t,n[7])},i:G,o:G,d(n){n&&y(e)}}}function hp(i){let e,t;return e=new fp({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){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function pp(i){let e,t,n,o;const l=[hp,mp],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=gt()},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()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function vp(i){let e,t,n,o;const l=[i[9]];let r={$$slots:{default:[pp]},$$scope:{ctx:i}};for(let s=0;s<l.length;s+=1)r=I1(r,l[s]);return e=new lp({props:r}),n=new Gl({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:se("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:se("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(pt.TIMELINE),hideHandel:i[2]}}),{c(){F(e.$$.fragment),t=R(),F(n.$$.fragment)},m(s,a){B(e,s,a),S(s,t,a),B(n,s,a),o=!0},p(s,a){const c=a[0]&512?Jc(l,[xc(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=se("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(pt.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){v(e.$$.fragment,s),v(n.$$.fragment,s),o=!1},d(s){s&&y(t),O(e,s),O(n,s)}}}function gp(i,e,t){let n,o,l,r,s,a,c,f,h,g,p,{showTimeline:b=!1}=e;const A=At(),w=tn(),T=A.state.bufferedProgress$;j(i,T,K=>t(12,g=K));const E=A.state.positionWithScrubbing$;j(i,E,K=>t(39,a=K));const I=A.state.duration$;j(i,I,K=>t(1,l=K));const V=A.state.isLive$;j(i,V,K=>t(0,o=K));const Q=A.state.isActiveLive$;j(i,Q,K=>t(11,h=K));const J=A.ui.isMobile;j(i,J,K=>t(10,f=K));const U=w.features.episodes?A.actions.internal.getVideoEpisodes():void 0,z=A.actions.internal.getPreviewThumbsData(),re=A.state.interactiveEpisodes$;j(i,re,K=>t(40,c=K));const ce=A.state.isInteractive,$=A.state.isInteractiveTime$;j(i,$,K=>t(2,r=K));const N=A.state.isInteractiveExpectation$;j(i,N,K=>t(38,s=K));const ie=A.actions.internal.correctSeekTimeToInteractive,q=A.ui.controls.disabledControls$;j(i,q,K=>t(13,p=K));let _,x,ne,Ie,ae=!1,ge="",Se=0,Y=0,C=0,ue;function W(K){return!ie||!ce?K:ie(K*l)/l}function ye(K){A.actions.internal.startScrubbing(W(K))}function D(K){r||A.actions.internal.progressScrubbing(W(K))}function te(K){A.actions.internal.completeScrubbing(W(K)),t(34,ae=!1)}function Me(K,H,qe){Ee(K,H,qe),t(34,ae=!0)}function Pe(K,H,qe){Ee(K,H,qe),t(34,ae=!0)}function ve(){t(34,ae=!1)}function Ee(K,H,qe){t(8,C=K),t(35,Se=H),qe&&t(36,Y=qe),t(7,ge=Te(K))}function Te(K){const H=hn((o?1-K:K)*l);return o?`-${H}`:H}return i.$$set=K=>{"showTimeline"in K&&t(33,b=K.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,_=ce?c:U),i.$$.dirty[0]&2&&t(4,x=hn(l)),i.$$.dirty[1]&256&&t(5,ne=hn(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,Ie=a/l),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,ue=s||r),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:Y,translateXPx:Se,translateYPx:ce&&z?-36:-16,active:ae&&b&&!ue,pointer:!w.features.timelinePreview||!z||o})},[o,l,r,_,x,ne,Ie,ge,C,n,f,h,g,p,w,T,E,I,V,Q,J,z,re,ce,$,N,q,ye,D,te,Me,Pe,ve,b,ae,Se,Y,ue,s,a,c]}let bp=class extends ke{constructor(e){super(),we(this,e,gp,vp,_e,{showTimeline:33},dp,[-1,-1])}};function _p(i){let e,t;return e=new Gl({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:se("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){B(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=se("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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function wp(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const s=At().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=hn(l)),i.$$.dirty&64&&t(2,c=hn(o)),i.$$.dirty&65&&t(3,f=o/l)},[l,a,c,f,n,s,o]}class rc extends ke{constructor(e){super(),we(this,e,wp,_p,_e,{position:6,duration:0})}}function kp(i){Fe(i,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function yp(i){let e;return{c(){e=k("div"),u(e,"class","timeline-stub v-1gqonyf"),L(e,"mobile",i[2])},m(t,n){S(t,e,n)},p(t,n){n&4&&L(e,"mobile",t[2])},i:G,o:G,d(t){t&&y(e)}}}function Sp(i){let e,t,n,o;const l=[Cp,Pp],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"),L(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()),d(n,1),n.m(e,null)),(!o||c&4)&&L(e,"mobile",a[2])},i(a){o||(d(n),o=!0)},o(a){v(n),o=!1},d(a){a&&y(e),r[t].d()}}}function Pp(i){let e,t;return e=new bp({props:{showTimeline:i[1]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.showTimeline=n[1]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Cp(i){let e,t;return e=new rc({props:{position:i[3],duration:i[4]}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Tp(i){let e,t,n,o;const l=[Sp,yp],r=[];function s(a,c){return a[1]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=gt()},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()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function Ep(i,e,t){let n,o,l,r,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const h=At(),g=h.state.isLive$;j(i,g,T=>t(12,n=T));const p=h.ads.duration;j(i,p,T=>t(4,r=T));const b=h.ads.position;j(i,b,T=>t(3,l=T));const A=h.ui.isMobile;j(i,A,T=>t(2,o=T));let w;return i.$$set=T=>{"isAds"in T&&t(0,s=T.isAds),"canRewindLive"in T&&t(9,a=T.canRewindLive),"isRewindableLive"in T&&t(10,c=T.isRewindableLive),"isHidden"in T&&t(11,f=T.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,w=!f&&(!n||n&&a&&c||s))},[s,w,o,l,r,g,p,b,A,a,c,f,n]}class sc extends ke{constructor(e){super(),we(this,e,Ep,Tp,_e,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},kp)}}function Ap(i){let e,t,n,o;return{c(){e=M("svg"),t=M("path"),n=M("path"),o=M("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"),Ot(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),m(e,t),m(e,n),m(e,o)},p:G,i:G,o:G,d(l){l&&y(e)}}}class Lp extends ke{constructor(e){super(),we(this,e,null,Ap,_e,{})}}function Vp(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class Ip extends ke{constructor(e){super(),we(this,e,null,Vp,_e,{})}}function Mp(i){Fe(i,"v-1yhs2ga",".text.v-1yhs2ga{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text.count.v-1yhs2ga{overflow:visible}.text.mobile.v-1yhs2ga{padding:0 3px 0 4px}.chevron-episodes.v-1yhs2ga{margin-bottom:-4px}")}function Np(i){let e,t,n,o;e=new Lp({});function l(a,c){if(a[2]===zn.FULL)return Op;if(a[2]===zn.COUNT)return Bp}let r=l(i),s=r&&r(i);return{c(){F(e.$$.fragment),t=R(),s&&s.c(),n=gt()},m(a,c){B(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||(d(e.$$.fragment,a),o=!0)},o(a){v(e.$$.fragment,a),o=!1},d(a){a&&(y(t),y(n)),O(e,a),s&&s.d(a)}}}function Rp(i){let e,t,n,o,l,r;return l=new Ip({}),{c(){e=k("span"),t=Ue(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),m(e,t),S(s,n,a),S(s,o,a),B(l,o,null),r=!0},p(s,a){(!r||a&2)&&$e(t,s[1])},i(s){r||(d(l.$$.fragment,s),r=!0)},o(s){v(l.$$.fragment,s),r=!1},d(s){s&&(y(e),y(n),y(o)),O(l)}}}function Bp(i){let e,t=i[0].length+"",n;return{c(){e=k("span"),n=Ue(t),u(e,"class","text count v-1yhs2ga")},m(o,l){S(o,e,l),m(e,n)},p(o,l){l&1&&t!==(t=o[0].length+"")&&$e(n,t)},d(o){o&&y(e)}}}function Op(i){let e,t;return{c(){e=k("span"),t=Ue(i[1]),u(e,"class","text v-1yhs2ga")},m(n,o){S(n,e,o),m(e,t)},p(n,o){o&2&&$e(t,n[1])},d(n){n&&y(e)}}}function zp(i){let e,t,n,o;const l=[Rp,Np],r=[];function s(a,c){return a[4]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=gt()},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()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function Dp(i){let e,t;return e=new vi({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:[zp]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Fp(i,e,t){var I,V,Q,J,U;let n,o,l,r,{position:s=0}=e,{duration:a=0}=e,{timeCodes:c=[]}=e;const f=At(),h=(V=(I=f.callbacks)==null?void 0:I.onEpisodeChanged)!=null?V:le.noop,g=(J=(Q=f.callbacks)==null?void 0:Q.onEpisodeClicked)!=null?J:le.noop,p=!!((U=f.callbacks)!=null&&U.onEpisodeClicked),b=f.ui.currentGridType$;j(i,b,z=>t(13,l=z));const A=f.ui.isMobile;j(i,A,z=>t(4,r=z));let w,T,E;return i.$$set=z=>{"position"in z&&t(9,s=z.position),"duration"in z&&t(10,a=z.duration),"timeCodes"in z&&t(0,c=z.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&1536&&t(12,n=s/a),i.$$.dirty&7169){const z=lc(n,a,c);z&&(w==null?void 0:w.text)!==z.text&&(h(z),t(11,w=z))}i.$$.dirty&2048&&t(1,o=(w==null?void 0:w.text)||""),i.$$.dirty&8192&&(un(l,exports.GridTypes.XL)?t(2,T=zn.FULL):un(l,exports.GridTypes.M)&&l3(l,exports.GridTypes.XL)?t(2,T=zn.COUNT):t(2,T=zn.SHORT)),i.$$.dirty&2&&t(3,E=`${se("tooltip_episodes")}: ${o}`)},[c,o,T,E,r,g,p,b,A,s,a,w,n,l]}class ac extends ke{constructor(e){super(),we(this,e,Fp,Dp,_e,{position:9,duration:10,timeCodes:0},Mp)}}function Hp(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("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),m(e,t),m(e,n)},p:G,i:G,o:G,d(o){o&&y(e)}}}class Up extends ke{constructor(e){super(),we(this,e,null,Hp,_e,{})}}function jp(i){let e,t;return e=new Up({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function qp(i){let e,t;return e=new vi({props:{className:i[0]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:se("tooltip_interactive_seek"),disabled:i[1],click:i[2],$$slots:{default:[jp]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Wp(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 uc extends ke{constructor(e){super(),we(this,e,Wp,qp,_e,{hidden:0,disabled:1,click:2})}}function Zp(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("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"),L(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),m(e,t),m(e,n)},p(o,[l]){l&1&&L(n,"hidden",!o[0])},i:G,o:G,d(o){o&&y(e)}}}function Gp(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class Kp extends ke{constructor(e){super(),we(this,e,Gp,Zp,_e,{isOpened:0})}}function Yp(i){let e,t;return e=new Kp({props:{isOpened:i[2]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o&4&&(l.isOpened=n[2]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Xp(i){let e,t;return e=new vi({props:{className:i[0]?"hidden":"",testId:"btn-graph",disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[Yp]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Qp(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=se(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,l,r,s]}class cc extends ke{constructor(e){super(),we(this,e,Qp,Xp,_e,{hidden:0,disabled:1,graphIsOpened:2,click:3})}}function Jp(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class xp extends ke{constructor(e){super(),we(this,e,null,Jp,_e,{})}}function $p(i){Fe(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function js(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 ev(i){let e,t,n,o,l=i[0]&&js();return n=new xp({}),{c(){l&&l.c(),e=R(),t=k("div"),F(n.$$.fragment),u(t,"class","v-1ot3duq"),L(t,"mobile",i[0])},m(r,s){l&&l.m(r,s),S(r,e,s),S(r,t,s),B(n,t,null),o=!0},p(r,s){r[0]?l||(l=js(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),(!o||s&1)&&L(t,"mobile",r[0])},i(r){o||(d(n.$$.fragment,r),o=!0)},o(r){v(n.$$.fragment,r),o=!1},d(r){r&&(y(e),y(t)),l&&l.d(r),O(n)}}}function tv(i){let e,t;return e=new vi({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-replay",ariaLabel:se("tooltip_restart"),disabled:i[1],click:i[3],$$slots:{default:[ev]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function iv(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 Xl extends ke{constructor(e){super(),we(this,e,iv,tv,_e,{isMobile:0,disabled:1,className:2,click:3},$p)}}function nv(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class ov extends ke{constructor(e){super(),we(this,e,null,nv,_e,{})}}function lv(i){let e,t;return e=new ov({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function rv(i){let e,t;return e=new vi({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:se("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[lv]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function sv(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 fc extends ke{constructor(e){super(),we(this,e,sv,rv,_e,{hidden:0,disabled:1,click:2})}}function av(i){Fe(i,"v-1x1zctw",".icon.v-1x1zctw{width:24px !important;height:24px !important;;}.error-stub.v-1x1zctw{display:flex;justify-content:center;align-items:center}.inner.v-1x1zctw{width:16px;height:16px;background-color:var(--white)}")}function uv(i){let e,t,n,o;return{c(){e=k("img"),u(e,"class","icon v-1x1zctw"),lr(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(l,r){S(l,e,r),n||(o=Le(e,"error",i[7]),n=!0)},p(l,r){r&1&&!lr(e.src,t=l[0])&&u(e,"src",t)},d(l){l&&y(e),n=!1,o()}}}function cv(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:G,d(t){t&&y(e)}}}function fv(i){let e;function t(l,r){return l[5]?cv:uv}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},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 dv(i){let e,t;return e=new vi({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[fv]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function mv(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=g=>{"iconUrl"in g&&t(0,r=g.iconUrl),"ariaLabel"in g&&t(1,s=g.ariaLabel),"disabled"in g&&t(8,a=g.disabled),"testId"in g&&t(2,c=g.testId),"onClick"in g&&t(3,f=g.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===le.noop),i.$$.dirty&272&&t(6,o=n||a)},t(5,l=!1),[r,s,c,f,n,l,o,h,a]}class dc extends ke{constructor(e){super(),we(this,e,mv,dv,_e,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},av)}}function hv(i){Fe(i,"v-1cwzjrb",".wrapper-bottom.v-1cwzjrb.v-1cwzjrb{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-1cwzjrb>.v-1cwzjrb{pointer-events:auto}.controls.v-1cwzjrb.v-1cwzjrb{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-1cwzjrb.v-1cwzjrb,.controls-right.v-1cwzjrb.v-1cwzjrb{display:flex;align-content:center}.controls-left.v-1cwzjrb.v-1cwzjrb{flex-grow:1;min-width:0}.controls-left.v-1cwzjrb > *:not(:first-child),.controls-right.v-1cwzjrb > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-1cwzjrb.v-1cwzjrb{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1cwzjrb.v-1cwzjrb{transition:none}.settings-menu.v-1cwzjrb.v-1cwzjrb{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function qs(i,e,t){const n=i.slice();return n[166]=e[t].iconUrl,n[167]=e[t].ariaLabel,n[168]=e[t].testId,n[169]=e[t].onClick,n[170]=e[t].tooltip,n[172]=t,n}function Ws(i){let e,t,n;function o(r){i[137](r)}let l={disabled:!i[9],controlInfo:i[92].prevButton,tooltipContent:se("tooltip_previous"),$$slots:{default:[pv]},$$scope:{ctx:i}};return i[30]!==void 0&&(l.width=i[30]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(e,r,s),n=!0},p(r,s){const a={};s[0]&512&&(a.disabled=!r[9]),s[0]&4608|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[0]&1073741824&&(t=!0,a.width=r[30],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function pv(i){let e,t;return e=new Jo({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Zs(i){let e,t,n;function o(r){i[138](r)}let l={disabled:i[66],controlInfo:i[92].replayButton,tooltipContent:se("tooltip_restart"),$$slots:{default:[vv]},$$scope:{ctx:i}};return i[31]!==void 0&&(l.width=i[31]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(e,r,s),n=!0},p(r,s){const a={};s[2]&16&&(a.disabled=r[66]),s[2]&16|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&1&&(t=!0,a.width=r[31],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function vv(i){let e,t;return e=new Xl({props:{click:i[115],disabled:i[66]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[2]&16&&(l.disabled=n[66]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Gs(i){let e,t,n;function o(r){i[139](r)}let l={controlInfo:i[92].playButton,tooltipContent:i[57],disabled:i[67],$$slots:{default:[gv]},$$scope:{ctx:i}};return i[32]!==void 0&&(l.width=i[32]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(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]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&2&&(t=!0,a.width=r[32],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function gv(i){let e,t;return e=new Yl({props:{isMobile:!1,isPlaying:i[52],click:i[77],disabled:i[67]}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ks(i){let e,t,n;function o(r){i[140](r)}let l={disabled:!i[8],controlInfo:i[92].nextButton,tooltipContent:se("tooltip_next"),$$slots:{default:[bv]},$$scope:{ctx:i}};return i[33]!==void 0&&(l.width=i[33]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(e,r,s),n=!0},p(r,s){const a={};s[0]&256&&(a.disabled=!r[8]),s[0]&2304|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&4&&(t=!0,a.width=r[33],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function bv(i){let e,t;return e=new Jo({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function _v(i){let e,t,n,o,l=i[108]&&wv(i),r=i[107]&&yv(i),s=i[106]&&Pv(i);return{c(){l&&l.c(),e=R(),r&&r.c(),t=R(),s&&s.c(),n=gt()},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[108]&&l.p(a,c),a[107]&&r.p(a,c),a[106]&&s.p(a,c)},i(a){o||(d(l),d(r),d(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 wv(i){let e,t,n;function o(r){i[141](r)}let l={disabled:i[65],controlInfo:i[92].playPrevChapterButton,tooltipContent:se("tooltip_interactive_go_back"),disabledTooltipContent:i[110]&&se(i[110]),$$slots:{default:[kv]},$$scope:{ctx:i}};return i[34]!==void 0&&(l.width=i[34]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(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]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&8&&(t=!0,a.width=r[34],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function kv(i){let e,t;return e=new fc({props:{disabled:i[65],click:i[17]}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function yv(i){let e,t,n;function o(r){i[142](r)}let l={disabled:i[68],controlInfo:i[92].seekToInteractiveButton,tooltipContent:se("tooltip_interactive_seek"),$$slots:{default:[Sv]},$$scope:{ctx:i}};return i[35]!==void 0&&(l.width=i[35]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(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]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&16&&(t=!0,a.width=r[35],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Sv(i){let e,t;return e=new uc({props:{disabled:i[68],click:i[15]}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Pv(i){let e,t,n;function o(r){i[143](r)}let l={controlInfo:i[92].interactiveGraphButton,tooltipContent:i[58],disabled:i[69],$$slots:{default:[Cv]},$$scope:{ctx:i}};return i[36]!==void 0&&(l.width=i[36]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(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]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&32&&(t=!0,a.width=r[36],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Cv(i){let e,t;return e=new cc({props:{click:i[16],graphIsOpened:i[50],disabled:i[69]}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ys(i){let e,t,n;function o(r){i[144](r)}let l={controlInfo:i[92].liveButton,tooltipContent:i[59],$$slots:{default:[Tv]},$$scope:{ctx:i}};return i[37]!==void 0&&(l.width=i[37]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(e,r,s),n=!0},p(r,s){const a={};s[1]&268435456&&(a.tooltipContent=r[59]),s[0]&268435456|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&64&&(t=!0,a.width=r[37],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Tv(i){let e,t;return e=new oc({props:{isActiveLive:i[28],click:i[112],isMobile:!1}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[0]&268435456&&(l.isActiveLive=n[28]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Xs(i){let e,t,n;function o(r){i[145](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 Ju({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(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],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Qs(i){let e,t;return e=new ac({props:{position:i[72],duration:i[74],timeCodes:i[93]}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ev(i){let e,t,n=i[27]&&Qs(i);return{c(){n&&n.c(),e=gt()},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&&d(n,1)):(n=Qs(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(he(),v(n,1,1,()=>{n=null}),pe())},i(o){t||(d(n),t=!0)},o(o){v(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function Av(i){var n;let e,t;return e=new dc({props:{iconUrl:i[166],ariaLabel:(n=i[167])!=null?n:i[170],testId:i[168],onClick:i[169]}}),{c(){F(e.$$.fragment)},m(o,l){B(e,o,l),t=!0},p(o,l){var s;const r={};l[1]&32768&&(r.iconUrl=o[166]),l[1]&32768&&(r.ariaLabel=(s=o[167])!=null?s:o[170]),l[1]&32768&&(r.testId=o[168]),l[1]&32768&&(r.onClick=o[169]),e.$set(r)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){O(e,o)}}}function Js(i){let e,t;return e=new Gt({props:{tooltipContent:i[170],controlInfo:i[92].additionalButtons[i[172]],width:40,$$slots:{default:[Av]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[1]&32768&&(l.tooltipContent=n[170]),o[1]&32768|o[5]&262144&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function xs(i){let e,t,n;function o(r){i[148](r)}let l={disabled:!i[6],controlInfo:i[92].vkLogo,tooltipContent:i[60],$$slots:{default:[Lv]},$$scope:{ctx:i}};return i[40]!==void 0&&(l.width=i[40]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(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]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&512&&(t=!0,a.width=r[40],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Lv(i){let e,t;return e=new ic({props:{click:i[78],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Vv(i){let e,t;return e=new d3({props:{isAudioAvailable:i[70],click:i[114]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[2]&256&&(l.isAudioAvailable=n[70]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function $s(i){let e,t,n;function o(r){i[150](r)}let l={controlInfo:i[92].subtitles,tooltipContent:i[61],$$slots:{default:[Iv]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(e,r,s),n=!0},p(r,s){const a={};s[1]&1073741824&&(a.tooltipContent=r[61]),s[0]&262144|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&2048&&(t=!0,a.width=r[42],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Iv(i){let e,t;return e=new Th({props:{isSubtitlesEnabled:i[18],click:i[79]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[0]&262144&&(l.isSubtitlesEnabled=n[18]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ea(i){var o;let e,t,n;return t=new Qu({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-1cwzjrb")},m(l,r){S(l,e,r),B(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||(d(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&y(e),O(t)}}}function ta(i){let e,t,n;function o(r){i[151](r)}let l={controlInfo:i[92].settings,tooltipContent:i[76]?void 0:se("tooltip_settings_off"),$$slots:{default:[Mv]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(e,r,s),n=!0},p(r,s){const a={};s[2]&16384&&(a.tooltipContent=r[76]?void 0:se("tooltip_settings_off")),s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&4096&&(t=!0,a.width=r[43],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Mv(i){let e,t;return e=new Zl({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ia(i){let e,t,n;function o(r){i[152](r)}let l={controlInfo:i[92].fullscreen,tooltipContent:i[62],$$slots:{default:[Nv]},$$scope:{ctx:i}};return i[44]!==void 0&&(l.width=i[44]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(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]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&8192&&(t=!0,a.width=r[44],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Nv(i){let e,t;return e=new ec({props:{click:i[13],isFullscreen:i[49]}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function na(i){let e,t,n;function o(r){i[153](r)}let l={controlInfo:i[92].chromecast,tooltipContent:i[63],$$slots:{default:[Rv]},$$scope:{ctx:i}};return i[45]!==void 0&&(l.width=i[45]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(e,r,s),n=!0},p(r,s){const a={};s[2]&2&&(a.tooltipContent=r[63]),s[1]&131072|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&16384&&(t=!0,a.width=r[45],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Rv(i){let e,t;return e=new nc({props:{isMobile:!1,state:i[48],click:i[111]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[1]&131072&&(l.state=n[48]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Bv(i){let e,t,n,o,l,r,s,a,c,f,h,g,p,b,A,w,T,E,I,V,Q,J,U,z,re,ce,$,N,ie;t=new sc({props:{isHidden:!i[55],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[51]}});let q=i[54]&&Ws(i),_=i[19]&&Zs(i),x=i[20]&&Gs(i),ne=i[53]&&Ks(i),Ie=i[105]&&_v(i),ae=!i[4]&&i[47]&&Ys(i),ge=i[26]&&Xs(i);function Se(K){i[146](K)}let Y={className:"w-max",disabled:!i[27],controlInfo:i[92].episodes,tooltipContent:se("tooltip_episodes"),$$slots:{default:[Ev]},$$scope:{ctx:i}};i[39]!==void 0&&(Y.width=i[39]),p=new Gt({props:Y}),Ze.push(()=>Ct(p,"width",Se));let C=Wt(i[46]),ue=[];for(let K=0;K<C.length;K+=1)ue[K]=Js(qs(i,C,K));const W=K=>v(ue[K],1,1,()=>{ue[K]=null});let ye=i[24]&&xs(i);function D(K){i[149](K)}let te={$$slots:{default:[Vv]},$$scope:{ctx:i}};i[41]!==void 0&&(te.width=i[41]),V=new Gt({props:te}),Ze.push(()=>Ct(V,"width",D));let Me=i[22]&&$s(i),Pe=!i[75]&&!i[4]&&ea(i),ve=i[23]&&ta(i),Ee=i[25]&&ia(i),Te=i[21]&&na(i);return{c(){e=k("div"),F(t.$$.fragment),n=R(),o=k("div"),l=k("div"),q&&q.c(),r=R(),_&&_.c(),s=R(),x&&x.c(),a=R(),ne&&ne.c(),c=R(),Ie&&Ie.c(),f=R(),ae&&ae.c(),h=R(),ge&&ge.c(),g=R(),F(p.$$.fragment),w=R(),T=k("div");for(let K=0;K<ue.length;K+=1)ue[K].c();E=R(),ye&&ye.c(),I=R(),F(V.$$.fragment),J=R(),Me&&Me.c(),U=R(),Pe&&Pe.c(),z=R(),ve&&ve.c(),re=R(),Ee&&Ee.c(),ce=R(),Te&&Te.c(),u(l,"class","controls-left v-1cwzjrb"),Dn(()=>i[147].call(l)),u(T,"class","controls-right v-1cwzjrb"),u(o,"class","controls v-1cwzjrb"),u(e,"class","wrapper-bottom v-1cwzjrb"),L(e,"hidden",i[1]),L(e,"controls-hidden",!i[3]),L(e,"no-smooth",i[2])},m(K,H){S(K,e,H),B(t,e,null),m(e,n),m(e,o),m(o,l),q&&q.m(l,null),m(l,r),_&&_.m(l,null),m(l,s),x&&x.m(l,null),m(l,a),ne&&ne.m(l,null),m(l,c),Ie&&Ie.m(l,null),m(l,f),ae&&ae.m(l,null),m(l,h),ge&&ge.m(l,null),m(l,g),B(p,l,null),A=Wo(l,i[147].bind(l)),m(o,w),m(o,T);for(let qe=0;qe<ue.length;qe+=1)ue[qe]&&ue[qe].m(T,null);m(T,E),ye&&ye.m(T,null),m(T,I),B(V,T,null),m(T,J),Me&&Me.m(T,null),m(T,U),Pe&&Pe.m(T,null),m(T,z),ve&&ve.m(T,null),m(T,re),Ee&&Ee.m(T,null),m(T,ce),Te&&Te.m(T,null),i[154](o),i[155](e),$=!0,N||(ie=[Le(e,"pointermove",i[113]),Le(e,"pointerenter",i[113])],N=!0)},p(K,H){const qe={};H[1]&16777216&&(qe.isHidden=!K[55]),H[0]&16&&(qe.isAds=K[4]),H[0]&32&&(qe.canRewindLive=K[5]),H[1]&1048576&&(qe.isRewindableLive=K[51]),t.$set(qe),K[54]?q?(q.p(K,H),H[1]&8388608&&d(q,1)):(q=Ws(K),q.c(),d(q,1),q.m(l,r)):q&&(he(),v(q,1,1,()=>{q=null}),pe()),K[19]?_?(_.p(K,H),H[0]&524288&&d(_,1)):(_=Zs(K),_.c(),d(_,1),_.m(l,s)):_&&(he(),v(_,1,1,()=>{_=null}),pe()),K[20]?x?(x.p(K,H),H[0]&1048576&&d(x,1)):(x=Gs(K),x.c(),d(x,1),x.m(l,a)):x&&(he(),v(x,1,1,()=>{x=null}),pe()),K[53]?ne?(ne.p(K,H),H[1]&4194304&&d(ne,1)):(ne=Ks(K),ne.c(),d(ne,1),ne.m(l,c)):ne&&(he(),v(ne,1,1,()=>{ne=null}),pe()),K[105]&&Ie.p(K,H),!K[4]&&K[47]?ae?(ae.p(K,H),H[0]&16|H[1]&65536&&d(ae,1)):(ae=Ys(K),ae.c(),d(ae,1),ae.m(l,h)):ae&&(he(),v(ae,1,1,()=>{ae=null}),pe()),K[26]?ge?(ge.p(K,H),H[0]&67108864&&d(ge,1)):(ge=Xs(K),ge.c(),d(ge,1),ge.m(l,g)):ge&&(he(),v(ge,1,1,()=>{ge=null}),pe());const Je={};if(H[0]&134217728&&(Je.disabled=!K[27]),H[0]&134217728|H[2]&5120|H[5]&262144&&(Je.$$scope={dirty:H,ctx:K}),!b&&H[1]&256&&(b=!0,Je.width=K[39],Pt(()=>b=!1)),p.$set(Je),H[1]&32768|H[2]&1073741824){C=Wt(K[46]);let je;for(je=0;je<C.length;je+=1){const Re=qs(K,C,je);ue[je]?(ue[je].p(Re,H),d(ue[je],1)):(ue[je]=Js(Re),ue[je].c(),d(ue[je],1),ue[je].m(T,E))}for(he(),je=C.length;je<ue.length;je+=1)W(je);pe()}K[24]?ye?(ye.p(K,H),H[0]&16777216&&d(ye,1)):(ye=xs(K),ye.c(),d(ye,1),ye.m(T,I)):ye&&(he(),v(ye,1,1,()=>{ye=null}),pe());const st={};H[2]&256|H[5]&262144&&(st.$$scope={dirty:H,ctx:K}),!Q&&H[1]&1024&&(Q=!0,st.width=K[41],Pt(()=>Q=!1)),V.$set(st),K[22]?Me?(Me.p(K,H),H[0]&4194304&&d(Me,1)):(Me=$s(K),Me.c(),d(Me,1),Me.m(T,U)):Me&&(he(),v(Me,1,1,()=>{Me=null}),pe()),!K[75]&&!K[4]?Pe?(Pe.p(K,H),H[0]&16|H[2]&8192&&d(Pe,1)):(Pe=ea(K),Pe.c(),d(Pe,1),Pe.m(T,z)):Pe&&(he(),v(Pe,1,1,()=>{Pe=null}),pe()),K[23]?ve?(ve.p(K,H),H[0]&8388608&&d(ve,1)):(ve=ta(K),ve.c(),d(ve,1),ve.m(T,re)):ve&&(he(),v(ve,1,1,()=>{ve=null}),pe()),K[25]?Ee?(Ee.p(K,H),H[0]&33554432&&d(Ee,1)):(Ee=ia(K),Ee.c(),d(Ee,1),Ee.m(T,ce)):Ee&&(he(),v(Ee,1,1,()=>{Ee=null}),pe()),K[21]?Te?(Te.p(K,H),H[0]&2097152&&d(Te,1)):(Te=na(K),Te.c(),d(Te,1),Te.m(T,null)):Te&&(he(),v(Te,1,1,()=>{Te=null}),pe()),(!$||H[0]&2)&&L(e,"hidden",K[1]),(!$||H[0]&8)&&L(e,"controls-hidden",!K[3]),(!$||H[0]&4)&&L(e,"no-smooth",K[2])},i(K){if(!$){d(t.$$.fragment,K),d(q),d(_),d(x),d(ne),d(Ie),d(ae),d(ge),d(p.$$.fragment,K);for(let H=0;H<C.length;H+=1)d(ue[H]);d(ye),d(V.$$.fragment,K),d(Me),d(Pe),d(ve),d(Ee),d(Te),$=!0}},o(K){v(t.$$.fragment,K),v(q),v(_),v(x),v(ne),v(Ie),v(ae),v(ge),v(p.$$.fragment,K),ue=ue.filter(Boolean);for(let H=0;H<ue.length;H+=1)v(ue[H]);v(ye),v(V.$$.fragment,K),v(Me),v(Pe),v(ve),v(Ee),v(Te),$=!1},d(K){K&&y(e),O(t),q&&q.d(),_&&_.d(),x&&x.d(),ne&&ne.d(),Ie&&Ie.d(),ae&&ae.d(),ge&&ge.d(),O(p),A(),fn(ue,K),ye&&ye.d(),O(V),Me&&Me.d(),Pe&&Pe.d(),ve&&ve.d(),Ee&&Ee.d(),Te&&Te.d(),i[154](null),i[155](null),N=!1,Kt(ie)}}}function Ov(i,e,t){var en,Di;let n,o,l,r,s,a,c,f,h,g,p,b,A,w,T,E,I,V,Q,J,U,z,re,ce,$,N,ie,q,_,x,{bottomHidden:ne}=e,{bottomNoSmooth:Ie}=e,{showControls:ae}=e,{controlsElementRef:ge=void 0}=e,{isAds:Se=!1}=e,{canRewindLive:Y}=e,{logoClickable:C}=e,{logoHidden:ue}=e,{videoLogoUrl:W}=e,{showNextPrevButtons:ye}=e,{nextButtonActive:D}=e,{prevButtonActive:te}=e,{isOneVideoPlaylist:Me=!1}=e,{supportLink:Pe}=e,{customFullscreenSupported:ve=!0}=e,{playNextVideo:Ee}=e,{playPrevVideo:Te}=e,{repeatPlaylist:K}=e,{toggleFullscreen:H}=e,{returnFocus:qe}=e,{seekToInteractive:Je}=e,{toggleGraph:st}=e,{playPrevChapter:je}=e;const Re=At(),ft=tn(),yt=Re.actions.internal.toggleMuted,Ne=Re.actions.internal.togglePlay,Oe=Re.actions.internal.pause,Ft=Re.actions.internal.toggleSubtitle,me=(en=Re.callbacks)==null?void 0:en.onAudioDoesNotExistHint,it=(Di=Re.callbacks)==null?void 0:Di.onAudioDisabledHint,et=Re.state.duration$;j(i,et,oe=>t(74,q=oe));const xe=Re.state.positionWithScrubbing$;j(i,xe,oe=>t(72,N=oe));const Ye=Re.state.playbackState$;j(i,Ye,oe=>t(127,w=oe));const Xe=Re.state.chromecastConnected$;j(i,Xe,oe=>t(75,_=oe));const tt=Re.state.isAudioAvailable$;j(i,tt,oe=>t(70,c=oe));const ot=Re.state.isAudioDisabled,nt=Re.state.isEnded$;j(i,nt,oe=>t(133,U=oe));const De=Re.state.isLive$;j(i,De,oe=>t(47,g=oe));const Nt=Re.state.isActiveLive$;j(i,Nt,oe=>t(128,T=oe));const Tt=Re.state.isRewindableLive$;j(i,Tt,oe=>t(51,E=oe));const lt=Re.ui.isPictureInPictureActive$;j(i,lt,oe=>t(131,Q=oe));const si=Re.ui.pictureInPictureType$;j(i,si,oe=>t(130,V=oe));const dt=Re.ui.settingsMenuVisible;j(i,dt,oe=>t(76,x=oe));const Ke=Re.ui.controls,Vt=Re.actions.internal.getVideoEpisodes(),ut=Re.state.chromecastState$;j(i,ut,oe=>t(48,p=oe));const gi=Re.state.availableSubtitlesList$;j(i,gi,oe=>t(132,J=oe));const de=Re.state.currentSubtitle$;j(i,de,oe=>t(134,z=oe));const Ce=Ke.disabledControls$;j(i,Ce,oe=>t(136,ce=oe));const Ve=Re.ads.duration;j(i,Ve,oe=>t(73,ie=oe));const It=Re.ads.position;j(i,It,oe=>t(71,$=oe));const Jt=Re.ads.playbackState;j(i,Jt,oe=>t(135,re=oe));const Ae=Re.ui.isFullscreen;j(i,Ae,oe=>t(49,b=oe));const ni=Re.ui.playerSize;j(i,ni,oe=>t(129,I=oe));const ai=Re.ui.currentGridType$;j(i,ai,oe=>t(126,h=oe));const Ht=Re.ui.additionalButtons$;j(i,Ht,oe=>t(46,f=oe));const Vi=Re.actions.internal.replayInteractive,Ut=Re.state.isInteractive,Yi=Re.state.isInteractiveGraphEnabled,ui=Re.state.isSeekToInteractiveEnable,Ii=Re.state.isPlayPrevChapterEnabled,Et=Re.state.graphIsOpened$;j(i,Et,oe=>t(50,A=oe));const ln=Re.state.playPrevChapterDisabledTooltip,oi=()=>Re.actions.internal.toggleChromecast(),rn=()=>Re.actions.internal.switchToActiveLive(),Lt=oe=>{Re.ui.controls.tooltipPointerOffsetX.update(()=>Pi?Math.min(Math.max(oe.x-Pi.x,0),Pi.width):0)};let Pi;function ci(){Pi=ge==null?void 0:ge.getBoundingClientRect()}Ki(()=>(window.addEventListener("resize",ci),()=>{window.removeEventListener("resize",ci)}));let Mi,Hi,xt,Ci,Ti,Ni,$t,fi,bi,di,Ei,jt,ei,Ri,mi,_i,Bi,wi,Ai,ki,hi,Li,Yt,Xt,Qt,li,Ui,ji,yi,Si,Oi,zi,ri,qt,St,Xi,Qi,qi,zt,Wi,Ji,Rt,fe,dn,xi;function vn(oe,Pn){let mt=8;const ti=(Cn,Rn,xo)=>{let mo=Rn?Cn+Rn+(Cn?s0:0):Cn;return xo.set({positionStartX:Cn,positionEndX:mo,isDisplayed:Pn&&Cn!==mo}),mo};mt=ti(mt,oe.prevButtonWidth,Ke.prevButton),mt=ti(mt,oe.replayButtonWidth,Ke.replayButton),mt=ti(mt,oe.playButtonWidth,Ke.playButton),mt=ti(mt,oe.nextButtonWidth,Ke.nextButton),mt=ti(mt,oe.playPrevChapterWidth,Ke.playPrevChapterButton),mt=ti(mt,oe.seekToInteractiveWidth,Ke.seekToInteractiveButton),mt=ti(mt,oe.interactiveGraphWidth,Ke.interactiveGraphButton),mt=ti(mt,oe.liveButtonWidth,Ke.liveButton),mt=ti(mt,oe.timeWidth,Ke.time),mt=ti(mt,oe.episodesWidth,Ke.episodes),f.forEach((Cn,Rn)=>{mt=ti(mt,oe.additionalButtonWidths[Rn],Ke.additionalButtons[Rn])}),mt=ti(mt,oe.vkLogoWidth,Ke.vkLogo),mt=ti(mt,oe.volumeWidth,Ke.volume),mt=ti(mt,oe.subtitlesWidth,Ke.subtitles),mt=ti(mt,oe.settingsWidth,Ke.settings),mt=ti(mt,oe.fullscreenWidth,Ke.fullscreen),ti(mt,oe.chromecastWidth,Ke.chromecast)}function gn(){ot?it==null||it():c?yt():me==null||me()}const bn=Ut?Vi:Me?Ne:K;function _n(oe){li=oe,t(30,li)}function X(oe){Ui=oe,t(31,Ui)}function bt(oe){ji=oe,t(32,ji)}function sn(oe){yi=oe,t(33,yi)}function $i(oe){Si=oe,t(34,Si)}function nn(oe){Oi=oe,t(35,Oi)}function an(oe){zi=oe,t(36,zi)}function io(oe){ri=oe,t(37,ri)}function no(oe){qt=oe,t(38,qt)}function oo(oe){St=oe,t(39,St)}function lo(){Qt=this.clientWidth,t(29,Qt)}function ro(oe){Xi=oe,t(40,Xi)}function so(oe){Qi=oe,t(41,Qi)}function ao(oe){qi=oe,t(42,qi)}function uo(oe){zt=oe,t(43,zt)}function co(oe){Wi=oe,t(44,Wi)}function fo(oe){Ji=oe,t(45,Ji)}function Z(oe){Ze[oe?"unshift":"push"](()=>{_i=oe,t(56,_i)})}function _t(oe){Ze[oe?"unshift":"push"](()=>{ge=oe,t(0,ge)})}return i.$$set=oe=>{"bottomHidden"in oe&&t(1,ne=oe.bottomHidden),"bottomNoSmooth"in oe&&t(2,Ie=oe.bottomNoSmooth),"showControls"in oe&&t(3,ae=oe.showControls),"controlsElementRef"in oe&&t(0,ge=oe.controlsElementRef),"isAds"in oe&&t(4,Se=oe.isAds),"canRewindLive"in oe&&t(5,Y=oe.canRewindLive),"logoClickable"in oe&&t(6,C=oe.logoClickable),"logoHidden"in oe&&t(116,ue=oe.logoHidden),"videoLogoUrl"in oe&&t(7,W=oe.videoLogoUrl),"showNextPrevButtons"in oe&&t(117,ye=oe.showNextPrevButtons),"nextButtonActive"in oe&&t(8,D=oe.nextButtonActive),"prevButtonActive"in oe&&t(9,te=oe.prevButtonActive),"isOneVideoPlaylist"in oe&&t(118,Me=oe.isOneVideoPlaylist),"supportLink"in oe&&t(10,Pe=oe.supportLink),"customFullscreenSupported"in oe&&t(119,ve=oe.customFullscreenSupported),"playNextVideo"in oe&&t(11,Ee=oe.playNextVideo),"playPrevVideo"in oe&&t(12,Te=oe.playPrevVideo),"repeatPlaylist"in oe&&t(120,K=oe.repeatPlaylist),"toggleFullscreen"in oe&&t(13,H=oe.toggleFullscreen),"returnFocus"in oe&&t(14,qe=oe.returnFocus),"seekToInteractive"in oe&&t(15,Je=oe.seekToInteractive),"toggleGraph"in oe&&t(16,st=oe.toggleGraph),"playPrevChapter"in oe&&t(17,je=oe.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[4]&4096&&t(125,n=ce.has(pt.EPISODE_BUTTON)),i.$$.dirty[4]&4096&&t(69,o=ce.has(pt.GRAPH_BUTTON)),i.$$.dirty[4]&4096&&t(68,l=ce.has(pt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[4]&4096&&t(67,r=ce.has(pt.PLAY_BUTTON)),i.$$.dirty[4]&4096&&t(66,s=ce.has(pt.REPLAY_BUTTON)),i.$$.dirty[4]&4096&&t(65,a=ce.has(pt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&1&&ge&&ci(),i.$$.dirty[0]&16|i.$$.dirty[4]&2056&&t(52,Mi=Se?re===Zt.PLAYING:w===at.PlaybackState.PLAYING),i.$$.dirty[4]&1024&&t(18,Hi=z.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[4]&512&&t(19,xt=U&&!Se||Ut),i.$$.dirty[0]&16|i.$$.dirty[4]&512&&t(20,Ci=!U||Ut||Se),i.$$.dirty[4]&4&&t(121,Ti=un(h,exports.GridTypes.M)),i.$$.dirty[0]&272|i.$$.dirty[3]&16777216|i.$$.dirty[4]&4&&t(53,Ni=ye&&un(h,exports.GridTypes.M)&&!Se&&D),i.$$.dirty[0]&528|i.$$.dirty[3]&16777216|i.$$.dirty[4]&4&&t(54,$t=ye&&un(h,exports.GridTypes.M)&&!Se&&te),i.$$.dirty[1]&131072|i.$$.dirty[4]&196&&t(21,fi=p!==at.ChromecastState.NOT_AVAILABLE&&!(Q&&V===yn.DocumentPictureInPicture)&&un(h,exports.GridTypes.M)&&!Ut),i.$$.dirty[4]&260&&t(22,bi=J.length>0&&un(h,exports.GridTypes.M)),i.$$.dirty[4]&4&&t(23,di=un(h,exports.GridTypes.S)),i.$$.dirty[3]&8388608&&t(24,Ei=!ue),i.$$.dirty[3]&75497472|i.$$.dirty[4]&196&&t(25,jt=ft.features.fullscreen&&(ue||un(h,exports.GridTypes.S))&&!(Q&&V===yn.DocumentPictureInPicture)&&(Ut?ve:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&65536&&t(26,ei=(!g||Se)&&!(ft.features.interactiveHideTime&&Ut)),i.$$.dirty[4]&32&&t(55,Ri=I.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&65536|i.$$.dirty[3]&268435456|i.$$.dirty[4]&2&&t(27,mi=!Se&&!g&&!!(Vt!=null&&Vt.length)&&Ti&&!n),i.$$.dirty[1]&1048576|i.$$.dirty[4]&16&&t(28,Bi=!E||T),i.$$.dirty[4]&8&&t(57,wi=w===at.PlaybackState.PLAYING?se("tooltip_pause"):se("tooltip_play")),i.$$.dirty[1]&524288&&t(58,Ai=se(A?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[0]&268435456&&t(59,ki=Bi?"":se("tooltip_live")),i.$$.dirty[0]&262144&&t(61,Li=se(Hi?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[1]&262144&&t(62,Yt=se(b?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[1]&131072&&t(63,Xt=p===at.ChromecastState.CONNECTED?se("tooltip_chromecast_on"):se("tooltip_chromecast_off")),i.$$.dirty[0]&1207435264|i.$$.dirty[1]&131071&&t(122,Rt={prevButtonWidth:li!=null?li:0,replayButtonWidth:xt?Ui:0,playButtonWidth:Ci?ji:0,nextButtonWidth:yi!=null?yi:0,playPrevChapterWidth:Ii?Si:0,seekToInteractiveWidth:Ut?Oi:0,interactiveGraphWidth:Yi&&zi!=null?zi:0,liveButtonWidth:g&&ri?ri:0,timeWidth:ei?qt:0,episodesWidth:St,vkLogoWidth:Ei?Xi:0,volumeWidth:Qi,subtitlesWidth:bi?qi:0,settingsWidth:di?zt:0,fullscreenWidth:jt?Wi:0,chromecastWidth:fi?Ji:0,additionalButtonWidths:f.length?f.reduce(oe=>[...oe,40],[]):[]}),i.$$.dirty[3]&1610612736&&(!fe||fe<Rt.timeWidth)&&t(123,fe=Rt.timeWidth),i.$$.dirty[0]&738197504|i.$$.dirty[3]&1610612736|i.$$.dirty[4]&4){let oe=0;mi&&(un(h,exports.GridTypes.XL)?oe=Rt.timeWidth:oe=a0);const Pn=Rt.prevButtonWidth+Rt.playButtonWidth+Rt.nextButtonWidth+Rt.seekToInteractiveWidth+Rt.interactiveGraphWidth+Rt.liveButtonWidth+fe+oe;t(124,dn=ei&&Qt>=Pn)}i.$$.dirty[4]&5&&t(64,xi=dn&&un(h,exports.GridTypes.M)),i.$$.dirty[0]&8|i.$$.dirty[3]&536870912&&vn(Rt,ae)},t(60,hi=ft.logoType===$n.VK_VIDEO?se("tooltip_vk_video_logo"):se("tooltip_vk_logo")),[ge,ne,Ie,ae,Se,Y,C,W,D,te,Pe,Ee,Te,H,qe,Je,st,je,Hi,xt,Ci,fi,bi,di,Ei,jt,ei,mi,Bi,Qt,li,Ui,ji,yi,Si,Oi,zi,ri,qt,St,Xi,Qi,qi,zt,Wi,Ji,f,g,p,b,A,E,Mi,Ni,$t,Ri,_i,wi,Ai,ki,hi,Li,Yt,Xt,xi,a,s,r,l,o,c,$,N,ie,q,_,x,Ne,Oe,Ft,et,xe,Ye,Xe,tt,nt,De,Nt,Tt,lt,si,dt,Ke,Vt,ut,gi,de,Ce,Ve,It,Jt,Ae,ni,ai,Ht,Ut,Yi,ui,Ii,Et,ln,oi,rn,Lt,gn,bn,ue,ye,Me,ve,K,Ti,Rt,fe,dn,n,h,w,T,I,V,Q,J,U,z,re,ce,_n,X,bt,sn,$i,nn,an,io,no,oo,lo,ro,so,ao,uo,co,fo,Z,_t]}class zv extends ke{constructor(e){super(),we(this,e,Ov,Bv,_e,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:116,videoLogoUrl:7,showNextPrevButtons:117,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:118,supportLink:10,customFullscreenSupported:119,playNextVideo:11,playPrevVideo:12,repeatPlaylist:120,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},hv,[-1,-1,-1,-1,-1,-1])}}function Dv(i){let e,t,n,o;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("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),m(e,t),m(t,n),m(t,o)},p:G,i:G,o:G,d(l){l&&y(e)}}}class Fv extends ke{constructor(e){super(),we(this,e,null,Dv,_e,{})}}function Hv(i){Fe(i,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function oa(i){let e;return{c(){e=k("span"),e.textContent=`${se("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){S(t,e,n)},p:G,d(t){t&&y(e)}}}function Uv(i){let e,t,n,o;var l=i[3];function r(a){return{}}l&&(t=pn(l,r()));let s=i[0]&&oa();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"),L(e,"expanded",i[0])},m(a,c){S(a,e,c),t&&B(t,e,null),m(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,()=>{O(f,1)}),pe()}l?(t=pn(l,r()),F(t.$$.fragment),d(t.$$.fragment,1),B(t,e,n)):t=null}a[0]?s?s.p(a,c):(s=oa(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!o||c&1)&&L(e,"expanded",a[0])},i(a){o||(t&&d(t.$$.fragment,a),o=!0)},o(a){t&&v(t.$$.fragment,a),o=!1},d(a){a&&y(e),t&&O(t),s&&s.d()}}}function jv(i){let e,t;return e=new vi({props:{testId:i[0]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[1],ariaLabel:i[2],$$slots:{default:[Uv]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function qv(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=se(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&1&&t(3,s=o?Qo:Fv)},[o,l,r,s,n]}class mc extends ke{constructor(e){super(),we(this,e,qv,jv,_e,{muted:4,expanded:0,click:1},Hv)}}function Wv(i){let e,t,n,o;return{c(){e=M("svg"),t=M("path"),n=M("path"),o=M("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"),L(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"),L(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),m(e,t),m(e,n),m(e,o)},p(l,[r]){r&2&&u(t,"fill",l[1]),r&2&&u(n,"fill",l[1]),r&1&&L(n,"hidden",!l[0]),r&2&&u(o,"fill",l[1]),r&1&&L(o,"hidden",l[0])},i:G,o:G,d(l){l&&y(e)}}}function Zv(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 Gv extends ke{constructor(e){super(),we(this,e,Zv,Wv,_e,{isActive:0})}}function Kv(i){let e,t;return e=new Gv({props:{isActive:i[0]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isActive=n[0]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Yv(i){let e,t;return e=new vi({props:{testId:"btn-pip",ariaLabel:se("menu_pip"),click:i[1],$$slots:{default:[Kv]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Xv(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 Qv extends ke{constructor(e){super(),we(this,e,Xv,Yv,_e,{isPictureInPictureActive:0,click:1})}}function Jv(i){Fe(i,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function la(i,e,t){const n=i.slice();return n[139]=e[t].iconUrl,n[140]=e[t].ariaLabel,n[141]=e[t].testId,n[142]=e[t].onClick,n[143]=e[t].tooltip,n}function ra(i){let e,t,n,o,l,r,s,a,c,f,h,g,p,b,A,w,T,E=(!i[53]||i[55])&&sa(i),I=Wt(i[58]),V=[];for(let _=0;_<I.length;_+=1)V[_]=aa(la(i,I,_));const Q=_=>v(V[_],1,1,()=>{V[_]=null});let J=i[32]&&ua(i),U=i[33]&&ca(i),z=i[59]&&fa(),re=i[35]&&da(i),ce=i[8]&&ma(i),$=i[30]&&ha(i),N=i[29]&&pa(i),ie=i[8]&&va(i),q=i[97]&&!i[25]&&ga(i);return{c(){e=k("div"),t=R(),n=k("div"),E&&E.c(),o=R(),l=k("div");for(let _=0;_<V.length;_+=1)V[_].c();r=R(),J&&J.c(),s=R(),U&&U.c(),a=R(),z&&z.c(),c=R(),re&&re.c(),f=R(),h=k("div"),ce&&ce.c(),g=R(),$&&$.c(),p=R(),N&&N.c(),b=R(),ie&&ie.c(),A=R(),q&&q.c(),w=gt(),u(e,"class","overlay-mobile v-1tcstu3"),L(e,"hidden",!i[38]),u(n,"class","wrapper-top-left v-1tcstu3"),L(n,"hidden",!i[3]),L(n,"fullscreen",i[54]),u(l,"class","wrapper-top-right v-1tcstu3"),L(l,"hidden",!i[3]&&!i[23]),L(l,"fullscreen",i[54]),u(h,"class","wrapper-middle v-1tcstu3"),L(h,"hidden",!i[3]||i[25])},m(_,x){S(_,e,x),S(_,t,x),S(_,n,x),E&&E.m(n,null),S(_,o,x),S(_,l,x);for(let ne=0;ne<V.length;ne+=1)V[ne]&&V[ne].m(l,null);m(l,r),J&&J.m(l,null),m(l,s),U&&U.m(l,null),m(l,a),z&&z.m(l,null),m(l,c),re&&re.m(l,null),S(_,f,x),S(_,h,x),ce&&ce.m(h,null),m(h,g),$&&$.m(h,null),m(h,p),N&&N.m(h,null),m(h,b),ie&&ie.m(h,null),S(_,A,x),q&&q.m(_,x),S(_,w,x),T=!0},p(_,x){if((!T||x[1]&128)&&L(e,"hidden",!_[38]),!_[53]||_[55]?E?(E.p(_,x),x[1]&20971520&&d(E,1)):(E=sa(_),E.c(),d(E,1),E.m(n,null)):E&&(he(),v(E,1,1,()=>{E=null}),pe()),(!T||x[0]&8)&&L(n,"hidden",!_[3]),(!T||x[1]&8388608)&&L(n,"fullscreen",_[54]),x[1]&134217728){I=Wt(_[58]);let ne;for(ne=0;ne<I.length;ne+=1){const Ie=la(_,I,ne);V[ne]?(V[ne].p(Ie,x),d(V[ne],1)):(V[ne]=aa(Ie),V[ne].c(),d(V[ne],1),V[ne].m(l,r))}for(he(),ne=I.length;ne<V.length;ne+=1)Q(ne);pe()}_[32]?J?(J.p(_,x),x[1]&2&&d(J,1)):(J=ua(_),J.c(),d(J,1),J.m(l,s)):J&&(he(),v(J,1,1,()=>{J=null}),pe()),_[33]?U?(U.p(_,x),x[1]&4&&d(U,1)):(U=ca(_),U.c(),d(U,1),U.m(l,a)):U&&(he(),v(U,1,1,()=>{U=null}),pe()),_[59]?z?x[1]&268435456&&d(z,1):(z=fa(),z.c(),d(z,1),z.m(l,c)):z&&(he(),v(z,1,1,()=>{z=null}),pe()),_[35]?re?(re.p(_,x),x[1]&16&&d(re,1)):(re=da(_),re.c(),d(re,1),re.m(l,null)):re&&(he(),v(re,1,1,()=>{re=null}),pe()),(!T||x[0]&8388616)&&L(l,"hidden",!_[3]&&!_[23]),(!T||x[1]&8388608)&&L(l,"fullscreen",_[54]),_[8]?ce?(ce.p(_,x),x[0]&256&&d(ce,1)):(ce=ma(_),ce.c(),d(ce,1),ce.m(h,g)):ce&&(he(),v(ce,1,1,()=>{ce=null}),pe()),_[30]?$?($.p(_,x),x[0]&1073741824&&d($,1)):($=ha(_),$.c(),d($,1),$.m(h,p)):$&&(he(),v($,1,1,()=>{$=null}),pe()),_[29]?N?(N.p(_,x),x[0]&536870912&&d(N,1)):(N=pa(_),N.c(),d(N,1),N.m(h,b)):N&&(he(),v(N,1,1,()=>{N=null}),pe()),_[8]?ie?(ie.p(_,x),x[0]&256&&d(ie,1)):(ie=va(_),ie.c(),d(ie,1),ie.m(h,null)):ie&&(he(),v(ie,1,1,()=>{ie=null}),pe()),(!T||x[0]&33554440)&&L(h,"hidden",!_[3]||_[25]),_[97]&&!_[25]?q?(q.p(_,x),x[0]&33554432&&d(q,1)):(q=ga(_),q.c(),d(q,1),q.m(w.parentNode,w)):q&&(he(),v(q,1,1,()=>{q=null}),pe())},i(_){if(!T){d(E);for(let x=0;x<I.length;x+=1)d(V[x]);d(J),d(U),d(z),d(re),d(ce),d($),d(N),d(ie),d(q),T=!0}},o(_){v(E),V=V.filter(Boolean);for(let x=0;x<V.length;x+=1)v(V[x]);v(J),v(U),v(z),v(re),v(ce),v($),v(N),v(ie),v(q),T=!1},d(_){_&&(y(e),y(t),y(n),y(o),y(l),y(f),y(h),y(A),y(w)),E&&E.d(),fn(V,_),J&&J.d(),U&&U.d(),z&&z.d(),re&&re.d(),ce&&ce.d(),$&&$.d(),N&&N.d(),ie&&ie.d(),q&&q.d(_)}}}function sa(i){let e,t;return e=new mc({props:{muted:i[56],expanded:i[53]&&!i[72]&&i[57],click:i[106]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[1]&33554432&&(l.muted=n[56]),o[1]&71303168&&(l.expanded=n[53]&&!n[72]&&n[57]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function aa(i){var n;let e,t;return e=new dc({props:{iconUrl:i[139],ariaLabel:(n=i[140])!=null?n:i[143],testId:i[141],onClick:i[142]}}),{c(){F(e.$$.fragment)},m(o,l){B(e,o,l),t=!0},p(o,l){var s;const r={};l[1]&134217728&&(r.iconUrl=o[139]),l[1]&134217728&&(r.ariaLabel=(s=o[140])!=null?s:o[143]),l[1]&134217728&&(r.testId=o[141]),l[1]&134217728&&(r.onClick=o[142]),e.$set(r)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){O(e,o)}}}function ua(i){let e,t;return e=new nc({props:{isMobile:!0,click:i[102],state:i[24]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[0]&16777216&&(l.state=n[24]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ca(i){let e,t;return e=new Qv({props:{click:i[105],isPictureInPictureActive:i[22]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[0]&4194304&&(l.isPictureInPictureActive=n[22]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function fa(i){let e,t;return e=new Zl({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function da(i){let e,t;return e=new ic({props:{click:i[66],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ma(i){let e,t;return e=new Jo({props:{click:i[13],type:"prev",disabled:!i[10],isMobile:!0}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ha(i){let e,t;return e=new Yl({props:{disabled:i[50],click:i[65],isMobile:!0,isPlaying:i[27]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[1]&524288&&(l.disabled=n[50]),o[0]&134217728&&(l.isPlaying=n[27]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function pa(i){let e,t;return e=new Xl({props:{disabled:i[49],click:i[107],isMobile:!0}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[1]&262144&&(l.disabled=n[49]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function va(i){let e,t;return e=new Jo({props:{click:i[12],type:"next",disabled:!i[9],isMobile:!0}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ga(i){let e,t,n,o,l=i[100]&&xv(i),r=i[98]&&$v(i),s=i[99]&&e5(i);return{c(){l&&l.c(),e=R(),r&&r.c(),t=R(),s&&s.c(),n=gt()},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||(d(l),d(r),d(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 xv(i){let e,t,n;return t=new fc({props:{hidden:!i[3],disabled:i[48],click:i[18]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),L(e,"fullscreen",i[54]),L(e,"hidden",!i[3])},m(o,l){S(o,e,l),B(t,e,null),n=!0},p(o,l){const r={};l[0]&8&&(r.hidden=!o[3]),l[1]&131072&&(r.disabled=o[48]),l[0]&262144&&(r.click=o[18]),t.$set(r),(!n||l[1]&8388608)&&L(e,"fullscreen",o[54]),(!n||l[0]&8)&&L(e,"hidden",!o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function $v(i){let e,t,n;return t=new cc({props:{hidden:!i[3]&&!i[60],disabled:i[52],click:i[17],graphIsOpened:i[60]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class",jc(i[100]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),L(e,"fullscreen",i[54]),L(e,"hidden",!i[3]&&!i[60])},m(o,l){S(o,e,l),B(t,e,null),n=!0},p(o,l){const r={};l[0]&8|l[1]&536870912&&(r.hidden=!o[3]&&!o[60]),l[1]&2097152&&(r.disabled=o[52]),l[0]&131072&&(r.click=o[17]),l[1]&536870912&&(r.graphIsOpened=o[60]),t.$set(r),(!n||l[1]&8388608)&&L(e,"fullscreen",o[54]),(!n||l[0]&8|l[1]&536870912)&&L(e,"hidden",!o[3]&&!o[60])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function e5(i){let e,t,n;return t=new uc({props:{hidden:!i[3],disabled:i[51],click:i[16]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),L(e,"fullscreen",i[54]),L(e,"hidden",!i[3])},m(o,l){S(o,e,l),B(t,e,null),n=!0},p(o,l){const r={};l[0]&8&&(r.hidden=!o[3]),l[1]&1048576&&(r.disabled=o[51]),l[0]&65536&&(r.click=o[16]),t.$set(r),(!n||l[1]&8388608)&&L(e,"fullscreen",o[54]),(!n||l[0]&8)&&L(e,"hidden",!o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function ba(i){let e,t,n,o,l,r=i[55]&&_a(i),s=i[28]&&wa(i);return o=new rc({props:{position:i[61],duration:i[62]}}),{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"),L(n,"fullscreen",i[54])},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),B(o,n,null),l=!0},p(a,c){a[55]?r?(r.p(a,c),c[1]&16777216&&d(r,1)):(r=_a(a),r.c(),d(r,1),r.m(e.parentNode,e)):r&&(he(),v(r,1,1,()=>{r=null}),pe()),a[28]?s?(s.p(a,c),c[0]&268435456&&d(s,1)):(s=wa(a),s.c(),d(s,1),s.m(t.parentNode,t)):s&&(he(),v(s,1,1,()=>{s=null}),pe());const f={};c[1]&1073741824&&(f.position=a[61]),c[2]&1&&(f.duration=a[62]),o.$set(f),(!l||c[1]&8388608)&&L(n,"fullscreen",a[54])},i(a){l||(d(r),d(s),d(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),O(o)}}}function _a(i){let e,t,n;return t=new mc({props:{muted:i[56],expanded:!1,click:i[106]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),L(e,"fullscreen",i[54])},m(o,l){S(o,e,l),B(t,e,null),n=!0},p(o,l){const r={};l[1]&33554432&&(r.muted=o[56]),t.$set(r),(!n||l[1]&8388608)&&L(e,"fullscreen",o[54])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function wa(i){let e,t,n;return t=new Yl({props:{disabled:i[50],click:i[65],isMobile:!0,isPlaying:!i[28]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(o,l){S(o,e,l),B(t,e,null),n=!0},p(o,l){const r={};l[1]&524288&&(r.disabled=o[50]),l[0]&268435456&&(r.isPlaying=!o[28]),t.$set(r)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function t5(i){let e,t,n;function o(r){i[122](r)}let l={disabled:i[49],controlInfo:i[85].replayButton,$$slots:{default:[i5]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(e,r,s),n=!0},p(r,s){const a={};s[1]&262144&&(a.disabled=r[49]),s[1]&262144|s[4]&4194304&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&2048&&(t=!0,a.width=r[42],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function i5(i){let e,t;return e=new Xl({props:{disabled:i[49],click:i[96]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[1]&262144&&(l.disabled=n[49]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ka(i){let e,t,n;function o(r){i[123](r)}let l={controlInfo:i[85].liveButton,$$slots:{default:[n5]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(e,r,s),n=!0},p(r,s){const a={};s[1]&1024|s[4]&4194304&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&4096&&(t=!0,a.width=r[43],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function n5(i){let e,t;return e=new oc({props:{isActiveLive:i[41],click:i[103],isMobile:!0}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[1]&1024&&(l.isActiveLive=n[41]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ya(i){let e,t,n;function o(r){i[124](r)}let l={showDuration:i[31],position:i[4]?i[61]:i[63],duration:i[4]?i[62]:i[64],isMobile:!0};return i[44]!==void 0&&(l.width=i[44]),e=new Ju({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(e,r,s),n=!0},p(r,s){const a={};s[1]&1&&(a.showDuration=r[31]),s[0]&16|s[1]&1073741824|s[2]&2&&(a.position=r[4]?r[61]:r[63]),s[0]&16|s[2]&5&&(a.duration=r[4]?r[62]:r[64]),!t&&s[1]&8192&&(t=!0,a.width=r[44],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Sa(i){let e,t,n,o;return n=new ac({props:{position:i[63],duration:i[64],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),B(n,l,r),o=!0},p(l,r){const s={};r[2]&2&&(s.position=l[63]),r[2]&4&&(s.duration=l[64]),n.$set(s)},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){v(n.$$.fragment,l),o=!1},d(l){l&&(y(e),y(t)),O(n,l)}}}function o5(i){let e,t,n=i[39]&&Sa(i);return{c(){n&&n.c(),e=gt()},m(o,l){n&&n.m(o,l),S(o,e,l),t=!0},p(o,l){o[39]?n?(n.p(o,l),l[1]&256&&d(n,1)):(n=Sa(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(he(),v(n,1,1,()=>{n=null}),pe())},i(o){t||(d(n),t=!0)},o(o){v(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function Pa(i){let e,t,n;function o(r){i[126](r)}let l={controlInfo:i[85].settings,$$slots:{default:[l5]},$$scope:{ctx:i}};return i[46]!==void 0&&(l.width=i[46]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(e,r,s),n=!0},p(r,s){const a={};s[4]&4194304&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&32768&&(t=!0,a.width=r[46],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function l5(i){let e,t;return e=new Zl({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ca(i){let e,t,n;function o(r){i[127](r)}let l={controlInfo:i[85].fullscreen,$$slots:{default:[r5]},$$scope:{ctx:i}};return i[47]!==void 0&&(l.width=i[47]),e=new Gt({props:l}),Ze.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){B(e,r,s),n=!0},p(r,s){const a={};s[0]&16384|s[1]&8388608|s[4]&4194304&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&65536&&(t=!0,a.width=r[47],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function r5(i){let e,t;return e=new ec({props:{click:i[14],isFullscreen:i[54]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[0]&16384&&(l.click=n[14]),o[1]&8388608&&(l.isFullscreen=n[54]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ta(i){let e,t,n;return t=new Qu({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),B(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||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function s5(i){let e,t,n,o,l,r,s,a,c,f,h,g,p,b,A,w,T,E,I,V=!i[4]&&ra(i),Q=i[4]&&i[26]!==Zt.INACTIVE&&ba(i),J=i[97]&&t5(i),U=!i[4]&&i[20]&&ka(i),z=i[37]&&ya(i);function re(q){i[125](q)}let ce={className:"w-max",disabled:!i[39],controlInfo:i[85].episodes,$$slots:{default:[o5]},$$scope:{ctx:i}};i[45]!==void 0&&(ce.width=i[45]),c=new Gt({props:ce}),Ze.push(()=>Ct(c,"width",re));let $=i[34]&&Pa(i),N=i[36]&&Ca(i);b=new sc({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[19]}});let ie=i[21]&&Ta(i);return{c(){V&&V.c(),e=R(),Q&&Q.c(),t=R(),n=k("div"),o=k("div"),l=k("div"),J&&J.c(),r=R(),U&&U.c(),s=R(),z&&z.c(),a=R(),F(c.$$.fragment),h=R(),$&&$.c(),g=R(),N&&N.c(),p=R(),F(b.$$.fragment),A=R(),ie&&ie.c(),w=gt(),u(l,"class","controls v-1tcstu3"),L(l,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),L(o,"fullscreen",i[54]),u(n,"class","wrapper-bottom v-1tcstu3"),L(n,"hidden",i[1]),L(n,"controls-hidden",!i[3]),L(n,"no-smooth",i[2]),L(n,"mobile",!0)},m(q,_){V&&V.m(q,_),S(q,e,_),Q&&Q.m(q,_),S(q,t,_),S(q,n,_),m(n,o),m(o,l),J&&J.m(l,null),m(l,r),U&&U.m(l,null),m(l,s),z&&z.m(l,null),m(l,a),B(c,l,null),m(l,h),$&&$.m(l,null),m(l,g),N&&N.m(l,null),i[128](l),m(o,p),B(b,o,null),i[129](n),S(q,A,_),ie&&ie.m(q,_),S(q,w,_),T=!0,E||(I=[Le(n,"pointermove",i[104]),Le(n,"pointerenter",i[104])],E=!0)},p(q,_){q[4]?V&&(he(),v(V,1,1,()=>{V=null}),pe()):V?(V.p(q,_),_[0]&16&&d(V,1)):(V=ra(q),V.c(),d(V,1),V.m(e.parentNode,e)),q[4]&&q[26]!==Zt.INACTIVE?Q?(Q.p(q,_),_[0]&67108880&&d(Q,1)):(Q=ba(q),Q.c(),d(Q,1),Q.m(t.parentNode,t)):Q&&(he(),v(Q,1,1,()=>{Q=null}),pe()),q[97]&&J.p(q,_),!q[4]&&q[20]?U?(U.p(q,_),_[0]&1048592&&d(U,1)):(U=ka(q),U.c(),d(U,1),U.m(l,s)):U&&(he(),v(U,1,1,()=>{U=null}),pe()),q[37]?z?(z.p(q,_),_[1]&64&&d(z,1)):(z=ya(q),z.c(),d(z,1),z.m(l,a)):z&&(he(),v(z,1,1,()=>{z=null}),pe());const x={};_[1]&256&&(x.disabled=!q[39]),_[1]&256|_[2]&6|_[4]&4194304&&(x.$$scope={dirty:_,ctx:q}),!f&&_[1]&16384&&(f=!0,x.width=q[45],Pt(()=>f=!1)),c.$set(x),q[34]?$?($.p(q,_),_[1]&8&&d($,1)):($=Pa(q),$.c(),d($,1),$.m(l,g)):$&&(he(),v($,1,1,()=>{$=null}),pe()),q[36]?N?(N.p(q,_),_[1]&32&&d(N,1)):(N=Ca(q),N.c(),d(N,1),N.m(l,null)):N&&(he(),v(N,1,1,()=>{N=null}),pe());const ne={};_[0]&16&&(ne.isAds=q[4]),_[0]&32&&(ne.canRewindLive=q[5]),_[0]&524288&&(ne.isRewindableLive=q[19]),b.$set(ne),(!T||_[1]&8388608)&&L(o,"fullscreen",q[54]),(!T||_[0]&2)&&L(n,"hidden",q[1]),(!T||_[0]&8)&&L(n,"controls-hidden",!q[3]),(!T||_[0]&4)&&L(n,"no-smooth",q[2]),q[21]?ie?(ie.p(q,_),_[0]&2097152&&d(ie,1)):(ie=Ta(q),ie.c(),d(ie,1),ie.m(w.parentNode,w)):ie&&(he(),v(ie,1,1,()=>{ie=null}),pe())},i(q){T||(d(V),d(Q),d(J),d(U),d(z),d(c.$$.fragment,q),d($),d(N),d(b.$$.fragment,q),d(ie),T=!0)},o(q){v(V),v(Q),v(J),v(U),v(z),v(c.$$.fragment,q),v($),v(N),v(b.$$.fragment,q),v(ie),T=!1},d(q){q&&(y(e),y(t),y(n),y(A),y(w)),V&&V.d(q),Q&&Q.d(q),J&&J.d(),U&&U.d(),z&&z.d(),O(c),$&&$.d(),N&&N.d(),i[128](null),O(b),i[129](null),ie&&ie.d(q),E=!1,Kt(I)}}}function a5(i,e,t){var Ji,Rt;let n,o,l,r,s,a,c,f,h,g,p,b,A,w,T,E,I,V,Q,J,U,z,re,ce,$,N,ie,q,_,x,ne,Ie,ae,{bottomHidden:ge}=e,{bottomNoSmooth:Se}=e,{showControls:Y}=e,{controlsElementRef:C=void 0}=e,{isAds:ue=!1}=e,{canRewindLive:W}=e,{logoClickable:ye}=e,{logoHidden:D}=e,{videoLogoUrl:te}=e,{showNextPrevButtons:Me}=e,{nextButtonActive:Pe}=e,{prevButtonActive:ve}=e,{isOneVideoPlaylist:Ee=!1}=e,{supportLink:Te}=e,{customFullscreenSupported:K=!0}=e,{playNextVideo:H}=e,{playPrevVideo:qe}=e,{repeatPlaylist:Je}=e,{toggleFullscreen:st}=e,{returnFocus:je}=e,{seekToInteractive:Re}=e,{toggleGraph:ft}=e,{playPrevChapter:yt}=e;const Ne=At(),Oe=tn(),Ft=Ne.actions.internal.toggleMuted,me=Ne.actions.internal.togglePlay,it=Ne.actions.internal.pause,et=(Ji=Ne.callbacks)==null?void 0:Ji.onAudioDoesNotExistHint,xe=(Rt=Ne.callbacks)==null?void 0:Rt.onAudioDisabledHint,Ye=Ne.playerPhase;j(i,Ye,fe=>t(118,I=fe));const Xe=Ne.state.duration$;j(i,Xe,fe=>t(64,ae=fe));const tt=Ne.state.positionWithScrubbing$;j(i,tt,fe=>t(63,Ie=fe));const ot=Ne.state.playbackState$;j(i,ot,fe=>t(120,U=fe));const nt=Ne.state.isAudioAvailable$;j(i,nt,fe=>t(53,c=fe));const De=Ne.state.isAudioDisabled,Nt=Ne.state.isEnded$;j(i,Nt,fe=>t(119,Q=fe));const Tt=Ne.state.isLive$;j(i,Tt,fe=>t(20,g=fe));const lt=Ne.state.muted$;j(i,lt,fe=>t(56,$=fe));const si=Ne.state.isActiveLive$;j(i,si,fe=>t(115,f=fe));const dt=Ne.state.isRewindableLive$;j(i,dt,fe=>t(19,h=fe));const Ke=Ne.ui.scrubbingInProgress;j(i,Ke,fe=>t(25,V=fe));const Vt=Ne.ui.mobileNotReportControlHidden$;j(i,Vt,fe=>t(23,T=fe));const ut=Ne.ui.isPictureInPictureActive$;j(i,ut,fe=>t(22,w=fe));const gi=Ne.ui.pictureInPictureType$;j(i,gi,fe=>t(117,A=fe));const de=Ne.ui.mobileUnmuteButtonExpanded;j(i,de,fe=>t(57,N=fe));const Ce=Ne.ui.mobileUnmuteButtonVisible;j(i,Ce,fe=>t(55,ce=fe));const Ve=Ne.ui.settingsMenuVisible;j(i,Ve,fe=>t(21,p=fe));const It=Ne.ui.controls,Jt=Ne.actions.internal.getVideoEpisodes(),Ae=Ne.webApi.pictureInPictureApi,ni=Ne.state.chromecastState$;j(i,ni,fe=>t(24,E=fe));const ai=Ne.state.crashed$;j(i,ai,fe=>t(59,q=fe));const Ht=It.disabledControls$;j(i,Ht,fe=>t(121,z=fe));const Vi=Ne.ads.duration;j(i,Vi,fe=>t(62,ne=fe));const Ut=Ne.ads.position;j(i,Ut,fe=>t(61,x=fe));const Yi=Ne.ads.playbackState;j(i,Yi,fe=>t(26,J=fe));const ui=Ne.ui.isFullscreen;j(i,ui,fe=>t(54,re=fe));const Ii=Ne.ui.playerSize;j(i,Ii,fe=>t(116,b=fe));const Et=Ne.ui.additionalButtons$;j(i,Et,fe=>t(58,ie=fe));const ln=Ne.actions.internal.replayInteractive,oi=Ne.state.isInteractive,rn=Ne.state.isInteractiveGraphEnabled,Lt=Ne.state.isSeekToInteractiveEnable,Pi=Ne.state.isPlayPrevChapterEnabled,ci=Ne.state.graphIsOpened$;j(i,ci,fe=>t(60,_=fe));let Mi,Hi,xt,Ci,Ti,Ni,$t,fi,bi,di,Ei,jt,ei,Ri,mi,_i,Bi,wi,Ai,ki,hi,Li,Yt,Xt;function Qt(){Xt=C==null?void 0:C.getBoundingClientRect()}Ki(()=>(window.addEventListener("resize",Qt),()=>{window.removeEventListener("resize",Qt)}));const li=()=>Ne.actions.internal.toggleChromecast(),Ui=()=>Ne.actions.internal.switchToActiveLive(),ji=fe=>{Ne.ui.controls.tooltipPointerOffsetX.update(()=>Xt?Math.min(Math.max(fe.x-Xt.x,0),Xt.width):0)};function yi(){De?xe==null||xe():c?Ft():et==null||et()}function Si(){return Bn(this,null,function*(){Ae!=null&&Ae.isActive()?yield Ae==null?void 0:Ae.remove():yield Ae==null?void 0:Ae.request()})}function Oi(){!De&&c&&Ce.set(!1),yi()}const zi=Ee?me:Je;function ri(fe){wi=fe,t(42,wi)}function qt(fe){Ai=fe,t(43,Ai)}function St(fe){ki=fe,t(44,ki)}function Xi(fe){hi=fe,t(45,hi)}function Qi(fe){Li=fe,t(46,Li)}function qi(fe){Yt=fe,t(47,Yt)}function zt(fe){Ze[fe?"unshift":"push"](()=>{_i=fe,t(40,_i)})}function Wi(fe){Ze[fe?"unshift":"push"](()=>{C=fe,t(0,C)})}return i.$$set=fe=>{"bottomHidden"in fe&&t(1,ge=fe.bottomHidden),"bottomNoSmooth"in fe&&t(2,Se=fe.bottomNoSmooth),"showControls"in fe&&t(3,Y=fe.showControls),"controlsElementRef"in fe&&t(0,C=fe.controlsElementRef),"isAds"in fe&&t(4,ue=fe.isAds),"canRewindLive"in fe&&t(5,W=fe.canRewindLive),"logoClickable"in fe&&t(6,ye=fe.logoClickable),"logoHidden"in fe&&t(108,D=fe.logoHidden),"videoLogoUrl"in fe&&t(7,te=fe.videoLogoUrl),"showNextPrevButtons"in fe&&t(8,Me=fe.showNextPrevButtons),"nextButtonActive"in fe&&t(9,Pe=fe.nextButtonActive),"prevButtonActive"in fe&&t(10,ve=fe.prevButtonActive),"isOneVideoPlaylist"in fe&&t(109,Ee=fe.isOneVideoPlaylist),"supportLink"in fe&&t(11,Te=fe.supportLink),"customFullscreenSupported"in fe&&t(110,K=fe.customFullscreenSupported),"playNextVideo"in fe&&t(12,H=fe.playNextVideo),"playPrevVideo"in fe&&t(13,qe=fe.playPrevVideo),"repeatPlaylist"in fe&&t(111,Je=fe.repeatPlaylist),"toggleFullscreen"in fe&&t(14,st=fe.toggleFullscreen),"returnFocus"in fe&&t(15,je=fe.returnFocus),"seekToInteractive"in fe&&t(16,Re=fe.seekToInteractive),"toggleGraph"in fe&&t(17,ft=fe.toggleGraph),"playPrevChapter"in fe&&t(18,yt=fe.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&268435456&&t(114,n=z.has(pt.EPISODE_BUTTON)),i.$$.dirty[3]&268435456&&t(52,o=z.has(pt.GRAPH_BUTTON)),i.$$.dirty[3]&268435456&&t(51,l=z.has(pt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&268435456&&t(50,r=z.has(pt.PLAY_BUTTON)),i.$$.dirty[3]&268435456&&t(49,s=z.has(pt.REPLAY_BUTTON)),i.$$.dirty[3]&268435456&&t(48,a=z.has(pt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&134217728&&t(27,Mi=U===at.PlaybackState.PLAYING),i.$$.dirty[0]&67108864&&t(28,Hi=J===Zt.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&67108864&&t(29,xt=Q&&!ue&&!oi),i.$$.dirty[0]&16|i.$$.dirty[3]&67108864&&t(30,Ci=!Q||ue),i.$$.dirty[3]&8388608&&t(112,Ti=b.width>300),i.$$.dirty[3]&8388608&&t(31,Ni=b.width>400),i.$$.dirty[0]&33554432&&t(113,$t=V),i.$$.dirty[0]&29360128|i.$$.dirty[3]&16777216&&t(32,fi=E!==at.ChromecastState.NOT_AVAILABLE&&!(w&&A===yn.DocumentPictureInPicture)&&!T&&!oi),i.$$.dirty[0]&25165824|i.$$.dirty[3]&51380224){const fe=I===Be.WaitingLive;t(33,bi=!!Ae&&E!==at.ChromecastState.CONNECTED&&!T&&(A===yn.DocumentPictureInPicture&&fe||!fe)&&!$t&&!oi)}i.$$.dirty[3]&1048576&&t(34,di=!$t),i.$$.dirty[3]&8421376&&t(35,Ei=!D&&b.width>350),i.$$.dirty[0]&4194304|i.$$.dirty[3]&17956864&&t(36,jt=Oe.features.fullscreen&&!(w&&A===yn.DocumentPictureInPicture)&&(oi?K:!0)&&!$t),i.$$.dirty[0]&1048592|i.$$.dirty[3]&9437184&&t(37,ei=(!g||ue)&&b.width>260&&!$t&&!(Oe.features.interactiveHideTime&&oi)),i.$$.dirty[0]&2097160&&t(38,Ri=p||Y),i.$$.dirty[0]&1048592|i.$$.dirty[3]&3670016&&t(39,mi=!ue&&!g&&!!(Jt!=null&&Jt.length)&&Ti&&!n&&!$t),i.$$.dirty[0]&524288|i.$$.dirty[3]&4194304&&t(41,Bi=!h||f),i.$$.dirty[0]&1&&C&&Qt()},[C,ge,Se,Y,ue,W,ye,te,Me,Pe,ve,Te,H,qe,st,je,Re,ft,yt,h,g,p,w,T,E,V,J,Mi,Hi,xt,Ci,Ni,fi,bi,di,Ei,jt,ei,Ri,mi,_i,Bi,wi,Ai,ki,hi,Li,Yt,a,s,r,l,o,c,re,ce,$,N,ie,q,_,x,ne,Ie,ae,me,it,Ye,Xe,tt,ot,nt,De,Nt,Tt,lt,si,dt,Ke,Vt,ut,gi,de,Ce,Ve,It,Jt,ni,ai,Ht,Vi,Ut,Yi,ui,Ii,Et,ln,oi,rn,Lt,Pi,ci,li,Ui,ji,Si,Oi,zi,D,Ee,K,Je,Ti,$t,n,f,b,A,I,Q,U,z,ri,qt,St,Xi,Qi,qi,zt,Wi]}class u5 extends ke{constructor(e){super(),we(this,e,a5,s5,_e,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:108,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:109,supportLink:11,customFullscreenSupported:110,playNextVideo:12,playPrevVideo:13,repeatPlaylist:111,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18},Jv,[-1,-1,-1,-1,-1])}}function c5(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 zv({props:l}),Ze.push(()=>Ct(e,"controlsElementRef",o)),{c(){F(e.$$.fragment)},m(r,s){B(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],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function f5(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 u5({props:l}),Ze.push(()=>Ct(e,"controlsElementRef",o)),{c(){F(e.$$.fragment)},m(r,s){B(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],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function d5(i){let e,t,n,o;const l=[f5,c5],r=[];function s(a,c){return a[23]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=gt()},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()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function m5(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:g}=e,{showNextPrevButtons:p}=e,{nextButtonActive:b}=e,{prevButtonActive:A}=e,{isOneVideoPlaylist:w=!1}=e,{supportLink:T}=e,{customFullscreenSupported:E=!0}=e,{playNextVideo:I}=e,{playPrevVideo:V}=e,{repeatPlaylist:Q}=e,{toggleFullscreen:J}=e,{returnFocus:U=le.noop}=e,{seekToInteractive:z}=e,{toggleGraph:re}=e,{playPrevChapter:ce}=e;const N=At().ui.isMobile;j(i,N,_=>t(23,n=_));function ie(_){s=_,t(0,s)}function q(_){s=_,t(0,s)}return i.$$set=_=>{"bottomHidden"in _&&t(1,o=_.bottomHidden),"bottomNoSmooth"in _&&t(2,l=_.bottomNoSmooth),"showControls"in _&&t(3,r=_.showControls),"controlsElementRef"in _&&t(0,s=_.controlsElementRef),"isAds"in _&&t(4,a=_.isAds),"canRewindLive"in _&&t(5,c=_.canRewindLive),"logoClickable"in _&&t(6,f=_.logoClickable),"logoHidden"in _&&t(7,h=_.logoHidden),"videoLogoUrl"in _&&t(8,g=_.videoLogoUrl),"showNextPrevButtons"in _&&t(9,p=_.showNextPrevButtons),"nextButtonActive"in _&&t(10,b=_.nextButtonActive),"prevButtonActive"in _&&t(11,A=_.prevButtonActive),"isOneVideoPlaylist"in _&&t(12,w=_.isOneVideoPlaylist),"supportLink"in _&&t(13,T=_.supportLink),"customFullscreenSupported"in _&&t(14,E=_.customFullscreenSupported),"playNextVideo"in _&&t(15,I=_.playNextVideo),"playPrevVideo"in _&&t(16,V=_.playPrevVideo),"repeatPlaylist"in _&&t(17,Q=_.repeatPlaylist),"toggleFullscreen"in _&&t(18,J=_.toggleFullscreen),"returnFocus"in _&&t(19,U=_.returnFocus),"seekToInteractive"in _&&t(20,z=_.seekToInteractive),"toggleGraph"in _&&t(21,re=_.toggleGraph),"playPrevChapter"in _&&t(22,ce=_.playPrevChapter)},[s,o,l,r,a,c,f,h,g,p,b,A,w,T,E,I,V,Q,J,U,z,re,ce,n,N,ie,q]}class hc extends ke{constructor(e){super(),we(this,e,m5,d5,_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 h5(i){Fe(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function p5(i){let e,t,n,o,l,r,s,a,c,f,h,g,p;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("defs"),r=M("filter"),s=M("feFlood"),a=M("feColorMatrix"),c=M("feOffset"),f=M("feGaussianBlur"),h=M("feColorMatrix"),g=M("feBlend"),p=M("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(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_100684"),u(p,"in","SourceGraphic"),u(p,"in2","effect1_dropShadow_2260_100684"),u(p,"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"),L(e,"reversed",i[0])},m(b,A){S(b,e,A),m(e,t),m(t,n),m(t,o),m(e,l),m(l,r),m(r,s),m(r,a),m(r,c),m(r,f),m(r,h),m(r,g),m(r,p)},p(b,[A]){A&1&&L(e,"reversed",b[0])},i:G,o:G,d(b){b&&y(e)}}}function v5(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class g5 extends ke{constructor(e){super(),we(this,e,v5,p5,_e,{reversed:0},h5)}}function b5(i){let e,t,n,o,l,r,s,a,c,f,h,g,p,b,A;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("defs"),r=M("clipPath"),s=M("path"),a=M("filter"),c=M("feFlood"),f=M("feColorMatrix"),h=M("feOffset"),g=M("feGaussianBlur"),p=M("feColorMatrix"),b=M("feBlend"),A=M("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(g,"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_2260_104204"),u(A,"in","SourceGraphic"),u(A,"in2","effect1_dropShadow_2260_104204"),u(A,"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(w,T){S(w,e,T),m(e,t),m(t,n),m(t,o),m(e,l),m(l,r),m(r,s),m(l,a),m(a,c),m(a,f),m(a,h),m(a,g),m(a,p),m(a,b),m(a,A)},d(w){w&&y(e)}}}function _5(i){let e,t,n,o,l,r,s,a,c,f,h,g,p,b,A,w;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("path"),r=M("defs"),s=M("clipPath"),a=M("path"),c=M("filter"),f=M("feFlood"),h=M("feColorMatrix"),g=M("feOffset"),p=M("feGaussianBlur"),b=M("feColorMatrix"),A=M("feBlend"),w=M("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(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(A,"in2","BackgroundImageFix"),u(A,"result","effect1_dropShadow_2260_104293"),u(w,"in","SourceGraphic"),u(w,"in2","effect1_dropShadow_2260_104293"),u(w,"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(T,E){S(T,e,E),m(e,t),m(t,n),m(t,o),m(t,l),m(e,r),m(r,s),m(s,a),m(r,c),m(c,f),m(c,h),m(c,g),m(c,p),m(c,b),m(c,A),m(c,w)},d(T){T&&y(e)}}}function w5(i){let e;function t(l,r){return l[0]?_5:b5}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},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:G,o:G,d(l){l&&y(e),o.d(l)}}}function k5(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class pc extends ke{constructor(e){super(),we(this,e,k5,w5,_e,{isOff:0})}}function y5(i){Fe(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function S5(i){let e,t,n,o,l,r,s,a,c,f,h,g,p;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("defs"),r=M("filter"),s=M("feFlood"),a=M("feColorMatrix"),c=M("feOffset"),f=M("feGaussianBlur"),h=M("feColorMatrix"),g=M("feBlend"),p=M("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(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_106627"),u(p,"in","SourceGraphic"),u(p,"in2","effect1_dropShadow_2260_106627"),u(p,"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"),L(e,"reversed",i[0])},m(b,A){S(b,e,A),m(e,t),m(t,n),m(t,o),m(e,l),m(l,r),m(r,s),m(r,a),m(r,c),m(r,f),m(r,h),m(r,g),m(r,p)},p(b,[A]){A&1&&L(e,"reversed",b[0])},i:G,o:G,d(b){b&&y(e)}}}function P5(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class C5 extends ke{constructor(e){super(),we(this,e,P5,S5,_e,{reversed:0},y5)}}function T5(i){Fe(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function E5(i){let e,t,n,o,l,r,s,a,c,f,h,g,p;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("defs"),r=M("filter"),s=M("feFlood"),a=M("feColorMatrix"),c=M("feOffset"),f=M("feGaussianBlur"),h=M("feColorMatrix"),g=M("feBlend"),p=M("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(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2340_106922"),u(p,"in","SourceGraphic"),u(p,"in2","effect1_dropShadow_2340_106922"),u(p,"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"),L(e,"reversed",i[0])},m(b,A){S(b,e,A),m(e,t),m(t,n),m(t,o),m(e,l),m(l,r),m(r,s),m(r,a),m(r,c),m(r,f),m(r,h),m(r,g),m(r,p)},p(b,[A]){A&1&&L(e,"reversed",b[0])},i:G,o:G,d(b){b&&y(e)}}}function A5(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class L5 extends ke{constructor(e){super(),we(this,e,A5,E5,_e,{reversed:0},T5)}}function V5(i){Fe(i,"v-1lbk7aq",`.hot-key-helpers-container.v-1lbk7aq.v-1lbk7aq{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-1lbk7aq-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-1lbk7aq>div.v-1lbk7aq{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-1lbk7aq svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-1lbk7aq svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-1lbk7aq svg[data-testid="play-icon"],.hot-key-helpers-container.v-1lbk7aq svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-1lbk7aq.v-1lbk7aq{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-1lbk7aq.v-1lbk7aq{left:calc(75% - 100px)}.hot-key-helpers-text.v-1lbk7aq.v-1lbk7aq{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-1lbk7aq.v-1lbk7aq{visibility:hidden;animation:v-1lbk7aq-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-1lbk7aq-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-1lbk7aq-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function Ea(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,g,p,b,A,w=t&&Aa(i),T=i[4]===Qe.STOP&&La(),E=i[4]===Qe.PLAY&&Va(),I=i[4]===Qe.SUBTITLES_OFF&&Ia(),V=i[4]===Qe.SUBTITLES_ON&&Ma(),Q=a&&Na(i),J=f&&Ra(i),U=i[4]===Qe.MUTE&&Ba(),z=i[4]===Qe.VOLUME&&Oa(),re=i[5]&&za(i);return{c(){e=k("div"),w&&w.c(),n=R(),T&&T.c(),o=R(),E&&E.c(),l=R(),I&&I.c(),r=R(),V&&V.c(),s=R(),Q&&Q.c(),c=R(),J&&J.c(),h=R(),U&&U.c(),g=R(),z&&z.c(),p=R(),re&&re.c(),b=gt(),u(e,"class","v-1lbk7aq")},m(ce,$){S(ce,e,$),w&&w.m(e,null),m(e,n),T&&T.m(e,null),m(e,o),E&&E.m(e,null),m(e,l),I&&I.m(e,null),m(e,r),V&&V.m(e,null),m(e,s),Q&&Q.m(e,null),m(e,c),J&&J.m(e,null),m(e,h),U&&U.m(e,null),m(e,g),z&&z.m(e,null),S(ce,p,$),re&&re.m(ce,$),S(ce,b,$),A=!0},p(ce,$){$&16&&(t=[Qe.BACKWARD_SEEK,Qe.FORWARD_SEEK].includes(ce[4])),t?w?(w.p(ce,$),$&16&&d(w,1)):(w=Aa(ce),w.c(),d(w,1),w.m(e,n)):w&&(he(),v(w,1,1,()=>{w=null}),pe()),ce[4]===Qe.STOP?T?$&16&&d(T,1):(T=La(),T.c(),d(T,1),T.m(e,o)):T&&(he(),v(T,1,1,()=>{T=null}),pe()),ce[4]===Qe.PLAY?E?$&16&&d(E,1):(E=Va(),E.c(),d(E,1),E.m(e,l)):E&&(he(),v(E,1,1,()=>{E=null}),pe()),ce[4]===Qe.SUBTITLES_OFF?I?$&16&&d(I,1):(I=Ia(),I.c(),d(I,1),I.m(e,r)):I&&(he(),v(I,1,1,()=>{I=null}),pe()),ce[4]===Qe.SUBTITLES_ON?V?$&16&&d(V,1):(V=Ma(),V.c(),d(V,1),V.m(e,s)):V&&(he(),v(V,1,1,()=>{V=null}),pe()),$&16&&(a=[Qe.RATE_DOWN,Qe.RATE_UP].includes(ce[4])),a?Q?(Q.p(ce,$),$&16&&d(Q,1)):(Q=Na(ce),Q.c(),d(Q,1),Q.m(e,c)):Q&&(he(),v(Q,1,1,()=>{Q=null}),pe()),$&16&&(f=[Qe.EPISODE_PREV,Qe.EPISODE_NEXT].includes(ce[4])),f?J?(J.p(ce,$),$&16&&d(J,1)):(J=Ra(ce),J.c(),d(J,1),J.m(e,h)):J&&(he(),v(J,1,1,()=>{J=null}),pe()),ce[4]===Qe.MUTE?U?$&16&&d(U,1):(U=Ba(),U.c(),d(U,1),U.m(e,g)):U&&(he(),v(U,1,1,()=>{U=null}),pe()),ce[4]===Qe.VOLUME?z?$&16&&d(z,1):(z=Oa(),z.c(),d(z,1),z.m(e,null)):z&&(he(),v(z,1,1,()=>{z=null}),pe()),ce[5]?re?re.p(ce,$):(re=za(ce),re.c(),re.m(b.parentNode,b)):re&&(re.d(1),re=null)},i(ce){A||(d(w),d(T),d(E),d(I),d(V),d(Q),d(J),d(U),d(z),A=!0)},o(ce){v(w),v(T),v(E),v(I),v(V),v(Q),v(J),v(U),v(z),A=!1},d(ce){ce&&(y(e),y(p),y(b)),w&&w.d(),T&&T.d(),E&&E.d(),I&&I.d(),V&&V.d(),Q&&Q.d(),J&&J.d(),U&&U.d(),z&&z.d(),re&&re.d(ce)}}}function Aa(i){let e,t;return e=new g5({props:{reversed:i[4]===Qe.FORWARD_SEEK}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function La(i){let e,t;return e=new tc({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Va(i){let e,t;return e=new Kl({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ia(i){let e,t;return e=new pc({props:{isOff:!0}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ma(i){let e,t;return e=new pc({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Na(i){let e,t;return e=new C5({props:{reversed:i[4]===Qe.RATE_UP}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ra(i){let e,t;return e=new L5({props:{reversed:i[4]===Qe.EPISODE_NEXT}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ba(i){let e,t;return e=new Qo({props:{volume:0}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Oa(i){let e,t;return e=new Qo({props:{volume:1}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function za(i){let e,t;return{c(){e=k("span"),t=Ue(i[5]),u(e,"class","hot-key-helpers-text v-1lbk7aq")},m(n,o){S(n,e,o),m(e,t)},p(n,o){o&32&&$e(t,n[5])},d(n){n&&y(e)}}}function I5(i){let e,t,n=!i[1]&&i[4]&&Ea(i);return{c(){e=k("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-1lbk7aq"),L(e,"hidden",i[1]),L(e,"hot-key-helpers-container--left",i[2]),L(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&&d(n,1)):(n=Ea(o),n.c(),d(n,1),n.m(e,null)):n&&(he(),v(n,1,1,()=>{n=null}),pe()),(!t||l&2)&&L(e,"hidden",o[1]),(!t||l&4)&&L(e,"hot-key-helpers-container--left",o[2]),(!t||l&8)&&L(e,"hot-key-helpers-container--right",o[3])},i(o){t||(d(n),t=!0)},o(o){v(n),t=!1},d(o){o&&y(e),n&&n.d()}}}function M5(i,e,t){let n,o=G,l=()=>(o(),o=_o(r,g=>t(6,n=g)),r);i.$$.on_destroy.push(()=>o());let{data:r}=e;l();let s,a,c,f,h;return i.$$set=g=>{"data"in g&&l(t(0,r=g.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=se(n.t.key,{value:n.t.value||""})):t(5,h=n==null?void 0:n.text))},[r,s,a,c,f,h,n]}class N5 extends ke{constructor(e){super(),we(this,e,M5,I5,_e,{data:0},V5)}}function R5(i){Fe(i,"v-1yzc86r",".immersive-controls.v-1yzc86r{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn)}.immersive-controls.m-shifted.v-1yzc86r{top:50px;left:20px}.button-block.v-1yzc86r{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-1yzc86r{display:flex;flex-direction:row;position:relative}.button.v-1yzc86r{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-1yzc86r svg{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-1yzc86r svg{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-1yzc86r svg{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-1yzc86r svg{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-1yzc86r svg{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-1yzc86r:hover svg{opacity:1}")}function B5(i){let e,t,n,o,l,r,s,a,c,f,h,g,p,b,A,w,T,E;return l=new En({props:{direction:"up"}}),a=new En({props:{direction:"up"}}),g=new En({props:{direction:"up"}}),A=new En({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(g.$$.fragment),p=R(),b=k("div"),F(A.$$.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(b,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(t,"class","button-block v-1yzc86r"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),L(e,"m-shifted",i[0])},m(I,V){S(I,e,V),m(e,t),m(t,n),m(n,o),B(l,o,null),m(n,r),m(n,s),B(a,s,null),m(t,c),m(t,f),m(f,h),B(g,h,null),m(f,p),m(f,b),B(A,b,null),w=!0,T||(E=[Le(o,"mousedown",i[1]),Le(o,"mouseup",i[5]),Le(o,"mouseleave",i[5]),Le(s,"mousedown",i[3]),Le(s,"mouseup",i[5]),Le(s,"mouseleave",i[5]),Le(h,"mousedown",i[4]),Le(h,"mouseup",i[5]),Le(h,"mouseleave",i[5]),Le(b,"mousedown",i[2]),Le(b,"mouseup",i[5]),Le(b,"mouseleave",i[5]),Le(e,"keydown",i[6]),Le(e,"keyup",i[7])],T=!0)},p(I,[V]){(!w||V&1)&&L(e,"m-shifted",I[0])},i(I){w||(d(l.$$.fragment,I),d(a.$$.fragment,I),d(g.$$.fragment,I),d(A.$$.fragment,I),w=!0)},o(I){v(l.$$.fragment,I),v(a.$$.fragment,I),v(g.$$.fragment,I),v(A.$$.fragment,I),w=!1},d(I){I&&y(e),O(l),O(a),O(g),O(A),T=!1,Kt(E)}}}function O5(i,e,t){let{isShifted:n=!1}=e;const o=At(),l=new Set([We.ArrowUp,We.ArrowDown,We.ArrowLeft,We.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=p=>{if(l.has(p.code))switch(p.preventDefault(),p.stopPropagation(),p.code){case We.ArrowUp:r();break;case We.ArrowDown:s();break;case We.ArrowLeft:c();break;case We.ArrowRight:a();break}},g=p=>{l.has(p.code)&&(p.preventDefault(),p.stopPropagation(),f())};return i.$$set=p=>{"isShifted"in p&&t(0,n=p.isShifted)},[n,r,s,a,c,f,h,g]}class vc extends ke{constructor(e){super(),we(this,e,O5,B5,_e,{isShifted:0},R5)}}function z5(i){Fe(i,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function Da(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function Fa(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function Ha(i){let e,t;function n(r,s){return r[7]&&r[8]?H5:r[5]?F5:D5}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"),L(e,"mobile",i[3])},m(r,s){S(r,e,s),m(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&&L(e,"mobile",r[3])},d(r){r&&y(e),l.d()}}}function D5(i){let e,t=Wt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Ua(Da(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=gt()},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=Wt(o[1]);let r;for(r=0;r<t.length;r+=1){const s=Da(o,t,r);n[r]?n[r].p(s,l):(n[r]=Ua(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),fn(n,o)}}}function F5(i){let e,t,n=Wt(i[6]),o=[];for(let l=0;l<n.length;l+=1)o[l]=qa(Fa(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"),Ot(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,r){S(l,e,r),m(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=Wt(l[6]);let s;for(s=0;s<n.length;s+=1){const a=Fa(l,n,s);o[s]?o[s].p(a,r):(o[s]=qa(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&&Ot(t,"font-size",l[4]+"px")},d(l){l&&y(e),fn(o,l)}}}function H5(i){let e,t,n=se("subtitles_auto_caption")+"",o;return{c(){e=k("span"),t=k("span"),o=Ue(n),u(t,"class","caption-segment v-ovfyp5"),Ot(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,r){S(l,e,r),m(e,t),m(t,o)},p(l,r){r&16&&Ot(t,"font-size",l[4]+"px")},d(l){l&&y(e)}}}function Ua(i){let e,t,n=i[16]+"",o,l;return{c(){e=k("span"),t=k("span"),o=Ue(n),l=R(),u(t,"class","caption-segment v-ovfyp5"),Ot(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,s){S(r,e,s),m(e,t),m(t,o),m(e,l)},p(r,s){s&2&&n!==(n=r[16]+"")&&$e(o,n),s&16&&Ot(t,"font-size",r[4]+"px")},d(r){r&&y(e)}}}function ja(i){let e=i[16]+"",t;return{c(){t=Ue(e)},m(n,o){S(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&$e(t,e)},d(n){n&&y(t)}}}function qa(i){let e,t=(!i[17]||i[17]<=i[2])&&ja(i);return{c(){t&&t.c(),e=gt()},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=ja(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&y(e),t&&t.d(n)}}}function U5(i){let e,t=i[1].length>0&&Ha(i);return{c(){e=k("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),L(e,"shifted",i[0]),L(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=Ha(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),o&1&&L(e,"shifted",n[0]),o&288&&L(e,"auto",n[5]&&!n[8])},i:G,o:G,d(n){n&&y(e),t&&t.d()}}}function j5(i,e,t){let n,o,{shifted:l}=e,{captions:r}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=At(),h=tn(),g=f.state.currentSubtitle$;j(i,g,I=>t(12,n=I));const p=f.state.isAutoSubtitleCaptionVisible$;j(i,p,I=>t(8,o=I));let b,A,w,T,E;return Ki(()=>{E=window.setTimeout(()=>{p.set(!1)},h.autoSubtitlesTimeout)}),Zo(()=>{window.clearTimeout(E)}),i.$$set=I=>{"shifted"in I&&t(0,l=I.shifted),"captions"in I&&t(1,r=I.captions),"position"in I&&t(2,s=I.position),"playerSize"in I&&t(11,a=I.playerSize),"isMobile"in I&&t(3,c=I.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const I=a.width*.02;t(4,b=I<=h.minSubtitlesFontSize?h.minSubtitlesFontSize:I)}i.$$.dirty&2&&t(5,A=r.some(I=>I.type==="timestamp")),i.$$.dirty&2&&t(6,w=r.reduce((I,{type:V,value:Q})=>(V==="timestamp"?I.push({timeAppeared:Number(Q),value:""}):I.length===0?I.push({value:String(Q)}):I[I.length-1].value=String(Q),I),[])),i.$$.dirty&4096&&t(7,T=!!n.isAuto)},[l,r,s,c,b,A,w,T,o,g,p,a,n]}class gc extends ke{constructor(e){super(),we(this,e,j5,U5,_e,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},z5)}}function q5(i){Fe(i,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function Wa(i){let e,t,n;return{c(){e=k("div"),t=Ue("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Ue(i[1]),u(e,"class","text v-1o62kpz")},m(o,l){S(o,e,l),m(e,t),m(e,n)},p(o,l){l&2&&$e(n,o[1])},d(o){o&&y(e)}}}function W5(i){let e,t,n,o,l,r,s=i[1]&&Wa(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),m(e,t),m(e,n),s&&s.m(e,null),l||(r=Le(e,"click",i[2]),l=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=Wa(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:G,o:G,d(a){a&&y(e),s&&s.d(),l=!1,r()}}}function Z5(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function l(r){xn.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 bc extends ke{constructor(e){super(),we(this,e,Z5,W5,_e,{thumbUrl:0,chromecastDeviceName:1},q5)}}function G5(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class K5 extends ke{constructor(e){super(),we(this,e,null,G5,_e,{})}}function Y5(i){Fe(i,"v-13zpvm8",".container.v-13zpvm8{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function X5(i){let e,t,n;return t=new K5({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,l){S(o,e,l),B(t,e,null),n=!0},p:G,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}class _c extends ke{constructor(e){super(),we(this,e,null,X5,_e,{},Y5)}}function Q5(i){Fe(i,"v-17wno3",".container.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-17wno3.v-17wno3{opacity:0;visibility:hidden}.playButton.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-17wno3:hover .playButtonBackground.v-17wno3{background-color:var(--big-play-hover-bg-color);transform:scale(1.15)}.playButton.v-17wno3 svg{transform:scale(2)}")}function J5(i){let e,t,n,o,l,r,s,a,c;return l=new Kl({}),{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]||""}')`),L(e,"hidden",i[1])},m(f,h){S(f,e,h),m(e,t),m(t,n),m(t,o),B(l,t,null),s=!0,a||(c=Le(e,"click",ct(function(){on(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)&&L(e,"hidden",i[1])},i(f){s||(d(l.$$.fragment,f),s=!0)},o(f){v(l.$$.fragment,f),s=!1},d(f){f&&y(e),O(l),a=!1,c()}}}function x5(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 wc extends ke{constructor(e){super(),we(this,e,x5,J5,_e,{thumbUrl:0,hidden:1,startVideo:2},Q5)}}function $5(i){Fe(i,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
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 og(i){let e,t;return{c(){e=_("div"),t=He(i[0]),u(e,"class","title v-1bcvcf2"),V(e,"hidden",i[1])},m(n,o){y(n,e,o),m(e,t)},p(n,[o]){o&1&&xe(t,n[0]),o&2&&V(e,"hidden",n[1])},i:Z,o:Z,d(n){n&&k(e)}}}function lg(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 sg extends ye{constructor(e){super(),ke(this,e,lg,og,we,{title:0,isHidden:1},ng)}}function rg(i){Fe(i,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function ja(i){let e,t,n,o,l,s,r;return{c(){e=_("div"),t=_("span"),n=He(i[0]),o=B(),l=_("span"),l.textContent=`${ne("waiting_live_day_value")}`,s=B(),r=_("span"),r.textContent=`${ne("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(r,"class","timer__points v-1qpxtfg")},m(a,c){y(a,e,c),m(e,t),m(t,n),m(e,o),m(e,l),y(a,s,c),y(a,r,c)},p(a,c){c&1&&xe(n,a[0])},d(a){a&&(k(e),k(s),k(r))}}}function qa(i){let e,t,n,o,l,s,r;return{c(){e=_("div"),t=_("span"),n=He(i[1]),o=B(),l=_("span"),l.textContent=`${ne("waiting_live_hour_value")}`,s=B(),r=_("span"),r.textContent=`${ne("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(r,"class","timer__points v-1qpxtfg")},m(a,c){y(a,e,c),m(e,t),m(t,n),m(e,o),m(e,l),y(a,s,c),y(a,r,c)},p(a,c){c&2&&xe(n,a[1])},d(a){a&&(k(e),k(s),k(r))}}}function Wa(i){let e,t,n,o,l,s,r;return{c(){e=_("div"),t=_("span"),n=He(i[2]),o=B(),l=_("span"),l.textContent=`${ne("waiting_live_minute_value")}`,s=B(),r=_("span"),r.textContent=`${ne("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(r,"class","timer__points v-1qpxtfg")},m(a,c){y(a,e,c),m(e,t),m(t,n),m(e,o),m(e,l),y(a,s,c),y(a,r,c)},p(a,c){c&4&&xe(n,a[2])},d(a){a&&(k(e),k(s),k(r))}}}function Za(i){let e,t,n,o,l;return{c(){e=_("div"),t=_("span"),n=He(i[3]),o=B(),l=_("span"),l.textContent=`${ne("waiting_live_second_value")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(s,r){y(s,e,r),m(e,t),m(t,n),m(e,o),m(e,l)},p(s,r){r&8&&xe(n,s[3])},d(s){s&&k(e)}}}function ag(i){let e,t,n,o,l=i[0]&&ja(i),s=i[1]&&qa(i),r=i[2]&&Wa(i),a=i[3]&&Za(i);return{c(){e=_("div"),l&&l.c(),t=B(),s&&s.c(),n=B(),r&&r.c(),o=B(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){y(c,e,f),l&&l.m(e,null),m(e,t),s&&s.m(e,null),m(e,n),r&&r.m(e,null),m(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?l?l.p(c,f):(l=ja(c),l.c(),l.m(e,t)):l&&(l.d(1),l=null),c[1]?s?s.p(c,f):(s=qa(c),s.c(),s.m(e,n)):s&&(s.d(1),s=null),c[2]?r?r.p(c,f):(r=Wa(c),r.c(),r.m(e,o)):r&&(r.d(1),r=null),c[3]?a?a.p(c,f):(a=Za(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:Z,o:Z,d(c){c&&k(e),l&&l.d(),s&&s.d(),r&&r.d(),a&&a.d()}}}function ug(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,l,s,r,a,c;const f=p=>String(p).padStart(2,"0"),h=p=>{const b=Math.floor(p/86400);b&&(p-=b*86400,t(0,l=f(b)));const L=Math.floor(p/3600);t(1,s=f(L));const w=Math.floor(p/60)%60;t(2,r=f(w));const A=p%60;t(3,a=f(A))},g=()=>{const p=Math.floor(Date.now()/1e3),b=n-p;h(b),b>=1?c=requestAnimationFrame(g):o()};return Qi(()=>{c=requestAnimationFrame(g)}),Wo(()=>{cancelAnimationFrame(c)}),i.$$set=p=>{"startTime"in p&&t(4,n=p.startTime),"onTimerOver"in p&&t(5,o=p.onTimerOver)},[l,s,r,a,n,o]}class cg extends ye{constructor(e){super(),ke(this,e,ug,ag,we,{startTime:4,onTimerOver:5},rg)}}function fg(i){let e,t,n,o,l;return{c(){e=N("svg"),t=N("path"),n=N("path"),o=N("path"),l=N("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"),Rt(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"),Rt(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"),Rt(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"),Rt(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"),Rt(e,"shape-rendering","geometricPrecision"),Rt(e,"text-rendering","geometricPrecision"),Rt(e,"image-rendering","optimizeQuality"),Rt(e,"fill-rule","evenodd"),Rt(e,"clip-rule","evenodd"),Rt(e,"width","100%"),Rt(e,"height","100%")},m(s,r){y(s,e,r),m(e,t),m(e,n),m(e,o),m(e,l)},p:Z,i:Z,o:Z,d(s){s&&k(e)}}}class dg extends ye{constructor(e){super(),ke(this,e,null,fg,we,{})}}function mg(i){Fe(i,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function hg(i){let e,t,n,o,l;return o=new cg({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=_("div"),t=_("span"),t.textContent=`${ne("waiting_live_timer_title")}`,n=B(),H(o.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(s,r){y(s,e,r),m(e,t),m(e,n),D(o,e,null),l=!0},p(s,r){const a={};r&2&&(a.startTime=s[1]||0),r&4&&(a.onTimerOver=s[3]),o.$set(a)},i(s){l||(d(o.$$.fragment,s),l=!0)},o(s){v(o.$$.fragment,s),l=!1},d(s){s&&k(e),F(o)}}}function pg(i){let e,t,n,o,l,s;return n=new dg({}),{c(){e=_("div"),t=_("div"),H(n.$$.fragment),o=B(),l=_("span"),l.textContent=`${ne("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(r,a){y(r,e,a),m(e,t),D(n,t,null),m(e,o),m(e,l),s=!0},p:Z,i(r){s||(d(n.$$.fragment,r),s=!0)},o(r){v(n.$$.fragment,r),s=!1},d(r){r&&k(e),F(n)}}}function vg(i){let e,t,n,o,l;const s=[pg,hg],r=[];function a(c,f){return c[2]?0:1}return t=a(i),n=r[t]=s[t](i),{c(){e=_("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${i[2]?"":i[0]})`)},m(c,f){y(c,e,f),r[t].m(e,null),l=!0},p(c,[f]){let h=t;t=a(c),t===h?r[t].p(c,f):(he(),v(r[h],1,1,()=>{r[h]=null}),pe(),n=r[t],n?n.p(c,f):(n=r[t]=s[t](c),n.c()),d(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||(d(n),l=!0)},o(c){v(n),l=!1},d(c){c&&k(e),r[t].d()}}}function gg(i,e,t){let n,{thumbUrl:o}=e,{startTime:l}=e;const s=()=>t(2,n=!0);return i.$$set=r=>{"thumbUrl"in r&&t(0,o=r.thumbUrl),"startTime"in r&&t(1,l=r.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=l===void 0||l<Math.floor(Date.now()/1e3))},[o,l,n,s]}class bc extends ye{constructor(e){super(),ke(this,e,gg,vg,we,{thumbUrl:0,startTime:1},mg)}}function bg(i){Fe(i,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function _g(i){let e,t;return{c(){e=_("div"),t=_("p"),t.textContent=`${ne("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class _c extends ye{constructor(e){super(),ke(this,e,null,_g,we,{},bg)}}const{window:wg}=I1;function kg(i){Fe(i,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function Ga(i){var n;let e,t;return e=new bc({props:{thumbUrl:i[3],startTime:(n=i[5])==null?void 0:n.startTime}}),{c(){H(e.$$.fragment)},m(o,l){D(e,o,l),t=!0},p(o,l){var r;const s={};l[0]&8&&(s.thumbUrl=o[3]),l[0]&32&&(s.startTime=(r=o[5])==null?void 0:r.startTime),e.$set(s)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){F(e,o)}}}function Ka(i){let e,t;return e=new _c({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ya(i){let e,t,n;return t=new Nu({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),V(e,"hidden",i[36]!==Re.Ads)},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[0]&512&&(s.adsSlotId=o[9]),l[0]&1024&&(s.adsParams=o[10]),l[0]&2048&&(s.adsPreviewParam=o[11]),l[0]&4096&&(s.duration=o[12]),t.$set(s),(!n||l[1]&32)&&V(e,"hidden",o[36]!==Re.Ads)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function Qa(i){let e,t;return e=new lm({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Xa(i){let e,t;return e=new sg({props:{title:i[2],isHidden:!i[34]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ja(i){let e,t;return e=new mc({props:{isShifted:i[36]===Re.Video&&i[34]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&40&&(l.isShifted=n[36]===Re.Video&&n[34]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function xa(i){let e,t,n;return t=new Q1({props:{ariaLabel:ne("video360")}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,l){y(o,e,l),D(t,e,null),n=!0},p:Z,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function $a(i){let e,t;return e=new pc({props:{thumbUrl:i[3],chromecastDeviceName:i[53]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[0]&8&&(l.thumbUrl=n[3]),o[1]&4194304&&(l.chromecastDeviceName=n[53]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function e1(i){let e,t;return e=new hc({props:{shifted:i[34],captions:i[55],position:i[56],playerSize:i[32]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&8&&(l.shifted=n[34]),o[1]&16777216&&(l.captions=n[55]),o[1]&33554432&&(l.position=n[56]),o[1]&2&&(l.playerSize=n[32]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function t1(i){let e,t;return e=new Ru({props:{showControls:i[34]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&8&&(l.showControls=n[34]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function i1(i){let e,t,n,o,l;return t=new vc({}),{c(){e=_("div"),H(t.$$.fragment)},m(s,r){y(s,e,r),D(t,e,null),n=!0,o||(l=[Ve(e,"contextmenu",pi(i[103])),Ve(e,"click",ft(i[114]))],o=!0)},p:Z,i(s){n||(d(t.$$.fragment,s),n=!0)},o(s){v(t.$$.fragment,s),n=!1},d(s){s&&k(e),F(t),o=!1,ei(l)}}}function n1(i){let e,t;return e=new ju({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function o1(i){let e,t;return e=new Em({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function l1(i){let e,t;return e=new zu({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function s1(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,C,I,M,J,G,Y,z,ae,te;e=new gc({props:{hidden:i[36]!==Re.Thumb||i[35]||i[91]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let X=i[36]===Re.WaitingLive&&Ga(i),T=i[36]===Re.WaitingRecord&&Ka(),j=i[8]&&i[22]&&Ya(i),ue=i[31]&&i[18]&&i[19]&&Qa(i),S=i[44]&&Xa(i),$=i[49]&&Ja(i),le=i[52]&&xa(),Ce=i[37]&&$a(i),ve=i[54].value!=="off"&&e1(i),Ae=i[1].features.annotations&&t1(i),Se=i[35]&&i1(i);function U(O){i[142](O)}let E={bottomHidden:i[36]===Re.Thumb||i[36]===Re.WaitingLive||i[36]===Re.WaitingRecord,bottomNoSmooth:i[50],showControls:i[34],isAds:i[36]===Re.Ads,canRewindLive:i[7]&&i[57]!==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:Cg,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[101],returnFocus:i[141],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};i[39]!==void 0&&(E.controlsElementRef=i[39]),b=new fc({props:E}),qe.push(()=>St(b,"controlsElementRef",U)),A=new Ou({props:{isLive:i[58],isHidden:!i[43],isPlaying:i[59],position:i[56],duration:i[60]}}),I=new z5({props:{data:i[99]}}),J=new D4({props:{supportLink:i[21],returnFocus:i[143],visible:i[48],playerContainerRef:i[38],controlsContainerRef:i[39],x:i[40],y:i[41]}});let re=i[42]&&n1(),q=i[61]&&o1(),Ee=i[62]&&l1();return{c(){H(e.$$.fragment),t=B(),X&&X.c(),n=B(),T&&T.c(),o=B(),j&&j.c(),l=B(),ue&&ue.c(),s=B(),S&&S.c(),r=B(),$&&$.c(),a=B(),le&&le.c(),c=B(),Ce&&Ce.c(),f=B(),ve&&ve.c(),h=B(),Ae&&Ae.c(),g=B(),Se&&Se.c(),p=B(),H(b.$$.fragment),w=B(),H(A.$$.fragment),C=B(),H(I.$$.fragment),M=B(),H(J.$$.fragment),G=B(),re&&re.c(),Y=B(),q&&q.c(),z=B(),Ee&&Ee.c(),ae=gt()},m(O,K){D(e,O,K),y(O,t,K),X&&X.m(O,K),y(O,n,K),T&&T.m(O,K),y(O,o,K),j&&j.m(O,K),y(O,l,K),ue&&ue.m(O,K),y(O,s,K),S&&S.m(O,K),y(O,r,K),$&&$.m(O,K),y(O,a,K),le&&le.m(O,K),y(O,c,K),Ce&&Ce.m(O,K),y(O,f,K),ve&&ve.m(O,K),y(O,h,K),Ae&&Ae.m(O,K),y(O,g,K),Se&&Se.m(O,K),y(O,p,K),D(b,O,K),y(O,w,K),D(A,O,K),y(O,C,K),D(I,O,K),y(O,M,K),D(J,O,K),y(O,G,K),re&&re.m(O,K),y(O,Y,K),q&&q.m(O,K),y(O,z,K),Ee&&Ee.m(O,K),y(O,ae,K),te=!0},p(O,K){const Me={};K[0]&64|K[1]&48&&(Me.hidden=O[36]!==Re.Thumb||O[35]||O[91]&&O[6]),K[0]&8&&(Me.thumbUrl=O[3]),K[0]&536870912&&(Me.startVideo=O[29]),e.$set(Me),O[36]===Re.WaitingLive?X?(X.p(O,K),K[1]&32&&d(X,1)):(X=Ga(O),X.c(),d(X,1),X.m(n.parentNode,n)):X&&(he(),v(X,1,1,()=>{X=null}),pe()),O[36]===Re.WaitingRecord?T?K[1]&32&&d(T,1):(T=Ka(),T.c(),d(T,1),T.m(o.parentNode,o)):T&&(he(),v(T,1,1,()=>{T=null}),pe()),O[8]&&O[22]?j?(j.p(O,K),K[0]&4194560&&d(j,1)):(j=Ya(O),j.c(),d(j,1),j.m(l.parentNode,l)):j&&(he(),v(j,1,1,()=>{j=null}),pe()),O[31]&&O[18]&&O[19]?ue?(ue.p(O,K),K[0]&786432|K[1]&1&&d(ue,1)):(ue=Qa(O),ue.c(),d(ue,1),ue.m(s.parentNode,s)):ue&&(he(),v(ue,1,1,()=>{ue=null}),pe()),O[44]?S?(S.p(O,K),K[1]&8192&&d(S,1)):(S=Xa(O),S.c(),d(S,1),S.m(r.parentNode,r)):S&&(he(),v(S,1,1,()=>{S=null}),pe()),O[49]?$?($.p(O,K),K[1]&262144&&d($,1)):($=Ja(O),$.c(),d($,1),$.m(a.parentNode,a)):$&&(he(),v($,1,1,()=>{$=null}),pe()),O[52]?le?(le.p(O,K),K[1]&2097152&&d(le,1)):(le=xa(),le.c(),d(le,1),le.m(c.parentNode,c)):le&&(he(),v(le,1,1,()=>{le=null}),pe()),O[37]?Ce?(Ce.p(O,K),K[1]&64&&d(Ce,1)):(Ce=$a(O),Ce.c(),d(Ce,1),Ce.m(f.parentNode,f)):Ce&&(he(),v(Ce,1,1,()=>{Ce=null}),pe()),O[54].value!=="off"?ve?(ve.p(O,K),K[1]&8388608&&d(ve,1)):(ve=e1(O),ve.c(),d(ve,1),ve.m(h.parentNode,h)):ve&&(he(),v(ve,1,1,()=>{ve=null}),pe()),O[1].features.annotations?Ae?(Ae.p(O,K),K[0]&2&&d(Ae,1)):(Ae=t1(O),Ae.c(),d(Ae,1),Ae.m(g.parentNode,g)):Ae&&(he(),v(Ae,1,1,()=>{Ae=null}),pe()),O[35]?Se?(Se.p(O,K),K[1]&16&&d(Se,1)):(Se=i1(O),Se.c(),d(Se,1),Se.m(p.parentNode,p)):Se&&(he(),v(Se,1,1,()=>{Se=null}),pe());const Pe={};K[1]&32&&(Pe.bottomHidden=O[36]===Re.Thumb||O[36]===Re.WaitingLive||O[36]===Re.WaitingRecord),K[1]&524288&&(Pe.bottomNoSmooth=O[50]),K[1]&8&&(Pe.showControls=O[34]),K[1]&32&&(Pe.isAds=O[36]===Re.Ads),K[0]&128|K[1]&67108864&&(Pe.canRewindLive=O[7]&&O[57]!==0),K[0]&8192&&(Pe.logoClickable=O[13]),K[0]&16384&&(Pe.logoHidden=O[14]),K[0]&16&&(Pe.videoLogoUrl=O[4]),K[0]&32768&&(Pe.showNextPrevButtons=O[15]),K[0]&65536&&(Pe.nextButtonActive=O[16]),K[0]&131072&&(Pe.prevButtonActive=O[17]),K[0]&1048576&&(Pe.isOneVideoPlaylist=O[20]),K[0]&2097152&&(Pe.supportLink=O[21]),K[0]&8388608&&(Pe.playNextVideo=O[23]),K[0]&16777216&&(Pe.playPrevVideo=O[24]),K[0]&33554432&&(Pe.repeatPlaylist=O[25]),K[1]&65536&&(Pe.returnFocus=O[141]),K[0]&67108864&&(Pe.seekToInteractive=O[26]),K[0]&134217728&&(Pe.toggleGraph=O[27]),K[0]&268435456&&(Pe.playPrevChapter=O[28]),!L&&K[1]&256&&(L=!0,Pe.controlsElementRef=O[39],yt(()=>L=!1)),b.$set(Pe);const ge={};K[1]&134217728&&(ge.isLive=O[58]),K[1]&4096&&(ge.isHidden=!O[43]),K[1]&268435456&&(ge.isPlaying=O[59]),K[1]&33554432&&(ge.position=O[56]),K[1]&536870912&&(ge.duration=O[60]),A.$set(ge);const ee={};K[0]&2097152&&(ee.supportLink=O[21]),K[1]&65536&&(ee.returnFocus=O[143]),K[1]&131072&&(ee.visible=O[48]),K[1]&128&&(ee.playerContainerRef=O[38]),K[1]&256&&(ee.controlsContainerRef=O[39]),K[1]&512&&(ee.x=O[40]),K[1]&1024&&(ee.y=O[41]),J.$set(ee),O[42]?re?K[1]&2048&&d(re,1):(re=n1(),re.c(),d(re,1),re.m(Y.parentNode,Y)):re&&(he(),v(re,1,1,()=>{re=null}),pe()),O[61]?q?K[1]&1073741824&&d(q,1):(q=o1(),q.c(),d(q,1),q.m(z.parentNode,z)):q&&(he(),v(q,1,1,()=>{q=null}),pe()),O[62]?Ee?K[2]&1&&d(Ee,1):(Ee=l1(),Ee.c(),d(Ee,1),Ee.m(ae.parentNode,ae)):Ee&&(he(),v(Ee,1,1,()=>{Ee=null}),pe())},i(O){te||(d(e.$$.fragment,O),d(X),d(T),d(j),d(ue),d(S),d($),d(le),d(Ce),d(ve),d(Ae),d(Se),d(b.$$.fragment,O),d(A.$$.fragment,O),d(I.$$.fragment,O),d(J.$$.fragment,O),d(re),d(q),d(Ee),te=!0)},o(O){v(e.$$.fragment,O),v(X),v(T),v(j),v(ue),v(S),v($),v(le),v(Ce),v(ve),v(Ae),v(Se),v(b.$$.fragment,O),v(A.$$.fragment,O),v(I.$$.fragment,O),v(J.$$.fragment,O),v(re),v(q),v(Ee),te=!1},d(O){O&&(k(t),k(n),k(o),k(l),k(s),k(r),k(a),k(c),k(f),k(h),k(g),k(p),k(w),k(C),k(M),k(G),k(Y),k(z),k(ae)),F(e,O),X&&X.d(O),T&&T.d(O),j&&j.d(O),ue&&ue.d(O),S&&S.d(O),$&&$.d(O),le&&le.d(O),Ce&&Ce.d(O),ve&&ve.d(O),Ae&&Ae.d(O),Se&&Se.d(O),F(b,O),F(A,O),F(I,O),F(J,O),re&&re.d(O),q&&q.d(O),Ee&&Ee.d(O)}}}function yg(i){let e,t,n,o,l=i[51],s,r,a,c,f=s1(i);return{c(){e=_("div"),t=_("div"),o=B(),f.c(),s=gt(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[33]}deg) scale(${i[46]})`),V(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),V(e,"hidden",i[36]!==Re.Video),V(e,"nocursor",i[45])},m(h,g){y(h,e,g),m(e,t),i[140](t),y(h,o,g),f.m(h,g),y(h,s,g),r=!0,a||(c=[Ve(e,"contextmenu",pi(i[103])),Ve(e,"mousedown",pi(i[108])),Ve(e,"mouseup",pi(i[109])),Ve(e,"click",pi(i[111])),Ve(e,"dblclick",pi(i[110]))],a=!0)},p(h,g){(!r||g[1]&32772&&n!==(n=`transform: rotate(${h[33]}deg) scale(${h[46]})`))&&u(t,"style",n),(!r||g[0]&2)&&V(t,"fast-rotate",!h[1].isSmoothVideoRotate),(!r||g[1]&32)&&V(e,"hidden",h[36]!==Re.Video),(!r||g[1]&16384)&&V(e,"nocursor",h[45]),g[1]&1048576&&we(l,l=h[51])?(he(),v(f,1,1,Z),pe(),f=s1(h),f.c(),d(f,1),f.m(s.parentNode,s)):f.p(h,g)},i(h){r||(d(f),r=!0)},o(h){v(f),r=!1},d(h){h&&(k(e),k(o),k(s)),i[140](null),f.d(h),a=!1,ei(c)}}}function Sg(i){let e,t,n,o,l,s,r,a={toggleFullscreen:i[101],hideContextMenu:i[102],showHotKeyHelpers:i[112],showKeyMap:i[113],isAds:i[36]===Re.Ads,$$slots:{default:[yg]},$$scope:{ctx:i}};return t=new um({props:a}),i[144](t),{c(){e=_("div"),H(t.$$.fragment),n=B(),o=_("div"),u(o,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){y(c,e,f),D(t,e,null),m(e,n),m(e,o),i[145](o),i[146](e),l=!0,s||(r=[Ve(wg,"blur",i[102]),Ve(e,"mouseenter",i[104]),Ve(e,"mouseleave",i[106]),Ve(e,"mousemove",i[107]),Ve(e,"click",i[115],!0),Ve(e,"focusin",i[105],!0)],s=!0)},p(c,f){const h={};f[1]&32&&(h.isAds=c[36]===Re.Ads),f[0]&1073741823|f[1]&2147483647|f[2]&1|f[5]&4096&&(h.$$scope={dirty:f,ctx:c}),t.$set(h)},i(c){l||(d(t.$$.fragment,c),l=!0)},o(c){v(t.$$.fragment,c),l=!1},d(c){c&&k(e),i[144](null),F(t),i[145](null),i[146](null),s=!1,ei(r)}}}let Cg=!0;function wc(i){return i?i.offsetTop+wc(i.offsetParent):0}function Pg(i,e,t){let n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,C,I,M,J,G,Y,z,ae,te,X,T,j,ue,S,$,le,Ce,ve,Ae,Se,U,{store:E}=e,{uiConfig:re}=e,{title:q}=e,{thumbUrl:Ee}=e,{videoLogoUrl:O}=e,{videoContainer:K}=e,{interactiveContainer:Me}=e,{live:Pe}=e,{autoplay:ge}=e,{canRewindLive:ee}=e,{showAds:ce}=e,{adsSlotId:be=void 0}=e,{adsParams:se=void 0}=e,{adsPreviewParam:Ge=void 0}=e,{duration:Ue=void 0}=e,{logoClickable:ut}=e,{logoHidden:nt}=e,{showNextPrevButtons:ze=!1}=e,{nextButtonActive:dt=!1}=e,{prevButtonActive:kt=!1}=e,{endScreenVideoTitle:Ne=void 0}=e,{endScreenVideoThumb:Be=void 0}=e,{isOneVideoPlaylist:zt=!1}=e,{supportLink:me}=e,{outerContainerRef:tt=void 0}=e,{playerStarted:$e=!1}=e,{fullScreenTarget:Je=void 0}=e,{showMiniTimer:Ke=!1}=e,{playNextVideo:Ye=oe.noop}=e,{playPrevVideo:et=oe.noop}=e,{repeatPlaylist:lt=oe.noop}=e,{seekToInteractive:ot}=e,{toggleGraph:De}=e,{playPrevChapter:Vt}=e,{firstStart:Pt}=e;const st=E.getLogger().createComponentLog("Root component"),li=E.interfaceLanguage$;W(i,li,R=>t(51,X=R));const mt=E.state.playbackState$;W(i,mt,R=>t(137,z=R));const Qe=E.ads.playbackState;W(i,Qe,R=>t(138,ae=R));const At=E.state.positionWithScrubbing$;W(i,At,R=>t(56,$=R));const ct=E.state.duration$;W(i,ct,R=>t(60,Ae=R));const gi=E.playerPhase;W(i,gi,R=>t(36,I=R));const de=E.ui.isFullscreen;W(i,de,R=>t(128,c=R));const Te=E.ui.controlsVisible;W(i,Te,R=>t(34,b=R));const Ie=E.ui.settingsMenuVisible;W(i,Ie,R=>t(126,n=R));const It=E.ui.scrubbingInProgress;W(i,It,R=>t(129,g=R));const Jt=E.ui.contextMenuVisible;W(i,Jt,R=>t(48,o=R));const Le=E.ui.debugPanelVisible;W(i,Le,R=>t(62,U=R));const ti=E.state.isLoaderVisible;W(i,ti,R=>t(139,te=R));const si=E.state.isEnded$;W(i,si,R=>t(127,s=R));const Dt=E.state.chromecastConnected$;W(i,Dt,R=>t(37,G=R));const Li=E.state.chromecastDeviceName$;W(i,Li,R=>t(53,j=R));const Ft=E.ads.postrollPassed;W(i,Ft,R=>t(132,A=R));const Zi=E.state.isLive$;W(i,Zi,R=>t(58,Ce=R));const ri=E.state.isPlaying$;W(i,ri,R=>t(59,ve=R));const Vi=E.state.crashed$;W(i,Vi,R=>t(35,w=R));const Tt=E.webApi.pictureInPictureApi,$i=E.state.currentSubtitle$;W(i,$i,R=>t(54,ue=R));const ii=E.state.currentSubtitleCaptions$;W(i,ii,R=>t(55,S=R));const en=E.state.duration$;W(i,en,R=>t(57,le=R));const Et=E.state.graphIsOpened$;W(i,Et,R=>t(133,C=R));const Ii=E.ui.playerSize;W(i,Ii,R=>t(32,a=R));const ai=E.ui.is3DVideo;W(i,ai,R=>t(49,r=R));const Pi=E.ui.icon3DVideoVisible;W(i,Pi,R=>t(52,T=R));const Fi=E.ui.rotateAlpha;W(i,Fi,R=>t(33,h=R));const ni=E.state.isInteractive,Mi=E.state.isInteractiveTime$;W(i,Mi,R=>t(130,p=R));const Ti=E.state.isInteractiveExpectation$;W(i,Ti,R=>t(136,Y=R));const Ei=E.state.hasInteractiveBranches,Gt=E.ui.touched;W(i,Gt,R=>t(134,M=R));const ui=E.ui.modals.hotKeyMap.data;W(i,ui,R=>t(153,l=R));const bi=E.ui.modals.hotKeyMap.show;W(i,bi,R=>t(61,Se=R));const Hi=E.ui.overlayContainer$;let ci,Bt,oi=0,Ni=0,Gi,fi,Ri;ui.set(i4());let Bi,di;const _i=je(!1);W(i,_i,R=>t(50,f=R));let Ui;const Kt=je(!1);W(i,Kt,R=>t(135,J=R));const Ht=je(),wi=je(!1);W(i,wi,R=>t(131,L=R));let Ut=!1,Yt=!1,mi,ki,Ai,yi,Oi,zi,Si=!1,Ki,Qt=!1,jt=null,Mt;Tt==null||Tt.setContext(R1());const ji=()=>{ge&&!ni&&xt(re.controls.hideTimeout)};E.setUiCallbacks({onStarted:ji});const Xt=()=>{window.clearTimeout(Gi),Kt.set(!1)},fe=()=>{window.clearTimeout(fi),Ht.set(null)},xt=R=>{Xt(),Kt.set(!0),Gi=window.setTimeout(()=>Kt.set(!1),R);const it=R-100;Ui=window.setTimeout(()=>{f&&_i.set(!1)},it>0?it:R)},Ji=(R,it)=>{fe(),Ht.set(it),fi=window.setTimeout(()=>Ht.set(null),R)},sn=ai.subscribe(R=>{Pi.set(R),R&&(window.clearTimeout(Ri),Ri=window.setTimeout(()=>Pi.set(!1),re.controls.hide360IconTimeout))}),Pn=()=>On(this,null,function*(){var it,hi,Ci,pn;const R=go();if(R){xt(re.controls.hideTimeoutFullscreen);try{yield Tt==null?void 0:Tt.remove()}catch(Bn){st({message:String(Bn)})}}de.set(R),E.getAdmanWrapper().setFullscreen(R),c?(hi=(it=E.callbacks)==null?void 0:it.onFullscreenEnter)==null||hi.call(it):(pn=(Ci=E.callbacks)==null?void 0:Ci.onFullscreenExit)==null||pn.call(Ci)}),Tn=R=>{const it=R;Ii.set({width:it.target.width,height:it.target.height})};Qi(()=>{var it;return Iu(Pn),Uo(Tt)&&(Tt==null||Tt.assignPlayerContainer(ci),Tt==null||Tt.registryExternalEventHandlers({resize:Tn})),Me&&((it=K.parentElement)==null||it.insertBefore(Me,K.nextSibling)),()=>{window.clearTimeout(Gi),window.clearTimeout(Ui),window.clearTimeout(fi),window.clearTimeout(Ri),sn(),Tt==null||Tt.dispose(),Mu(Pn)}});const rn=()=>On(this,null,function*(){if(go())yield Vu(document),st({message:"exit fullscreen"});else{st({message:"request fullscreen"});const R=tt!=null?tt:ci,it=R.getRootNode(),hi=it instanceof ShadowRoot?it.host:it,Ci=Je instanceof HTMLElement&&Je.contains(hi),pn=re.allowChangingFullscreenTarget&&Je&&Ci?Je:R;yield Lu(pn)}}),Yi=()=>{Ie.set(!1),Jt.set(!1)},mn=R=>{Jt.set(!0),t(40,oi=R.clientX),t(41,Ni=R.clientY)};function hn(){wi.set(!0),ni||xt(re.controls.hideTimeoutCursor)}function Mn(){ni||(_i.set(!0),xt(re.controls.hideTimeoutCursor))}function Nn(){wi.set(!1),t(122,Yt=!1),t(121,Ut=!1),Qt=!1,E.actions.internal.releaseCamera()}function En(R){if(ci){const it=wc(R.currentTarget),hi=a.height,Ci=R.pageY-it;Ci<os?t(122,Yt=!0):Ci>hi-os?t(121,Ut=!0):(t(122,Yt=!1),n||t(121,Ut=!1))}}function Q(R){En(R),ki||xt(re.controls.hideTimeoutCursor),r&&Qt&&jt&&E.actions.internal.moveCameraFocusPX(jt.clientX-R.clientX,jt.clientY-R.clientY,R.timeStamp-jt.timeStamp),jt=R}const vt=R=>{R.button===0&&(Qt=!0,E.actions.internal.holdCamera()),xt(re.controls.hideTimeoutCursor)},an=R=>{R.button===0&&(jt=R,Qt=!1,E.actions.internal.releaseCamera()),xt(re.controls.hideTimeoutCursor)},xi=()=>{st({message:"double click on video"}),rn(),xt(re.controls.hideTimeoutCursor)},un=()=>{if(o||n){Yi();return}if(!(s&&!Ei)){if(Mt==null||Mt.focus(),!$e){Pt(),xt(re.controls.hideTimeoutCursor);return}E.actions.internal.togglePlay(),xt(re.controls.hideTimeoutCursor)}},tn=R=>{Yi(),Gt.set(!0),xt(re.controls.hideTimeout),R&&Ji(re.controls.hideHotKeyHelpers,R)},lo=()=>{var R,it;Yi(),(R=E.callbacks)!=null&&R.onOpenHotKeyMap?(it=E.callbacks)==null||it.onOpenHotKeyMap(l):bi.update(hi=>!hi)},so=()=>{if(o||n){Yi();return}},ro=()=>{Gt.set(!0)};function ao(R){qe[R?"unshift":"push"](()=>{K=R,t(0,K)})}const uo=()=>Mt==null?void 0:Mt.focus();function co(R){Bt=R,t(39,Bt)}const Un=()=>Mt==null?void 0:Mt.focus();function jn(R){qe[R?"unshift":"push"](()=>{Mt=R,t(47,Mt)})}function ie(R){qe[R?"unshift":"push"](()=>{di=R,t(30,di)})}function Rn(R){qe[R?"unshift":"push"](()=>{ci=R,t(38,ci)})}return i.$$set=R=>{"store"in R&&t(116,E=R.store),"uiConfig"in R&&t(1,re=R.uiConfig),"title"in R&&t(2,q=R.title),"thumbUrl"in R&&t(3,Ee=R.thumbUrl),"videoLogoUrl"in R&&t(4,O=R.videoLogoUrl),"videoContainer"in R&&t(0,K=R.videoContainer),"interactiveContainer"in R&&t(117,Me=R.interactiveContainer),"live"in R&&t(5,Pe=R.live),"autoplay"in R&&t(6,ge=R.autoplay),"canRewindLive"in R&&t(7,ee=R.canRewindLive),"showAds"in R&&t(8,ce=R.showAds),"adsSlotId"in R&&t(9,be=R.adsSlotId),"adsParams"in R&&t(10,se=R.adsParams),"adsPreviewParam"in R&&t(11,Ge=R.adsPreviewParam),"duration"in R&&t(12,Ue=R.duration),"logoClickable"in R&&t(13,ut=R.logoClickable),"logoHidden"in R&&t(14,nt=R.logoHidden),"showNextPrevButtons"in R&&t(15,ze=R.showNextPrevButtons),"nextButtonActive"in R&&t(16,dt=R.nextButtonActive),"prevButtonActive"in R&&t(17,kt=R.prevButtonActive),"endScreenVideoTitle"in R&&t(18,Ne=R.endScreenVideoTitle),"endScreenVideoThumb"in R&&t(19,Be=R.endScreenVideoThumb),"isOneVideoPlaylist"in R&&t(20,zt=R.isOneVideoPlaylist),"supportLink"in R&&t(21,me=R.supportLink),"outerContainerRef"in R&&t(118,tt=R.outerContainerRef),"playerStarted"in R&&t(22,$e=R.playerStarted),"fullScreenTarget"in R&&t(119,Je=R.fullScreenTarget),"showMiniTimer"in R&&t(120,Ke=R.showMiniTimer),"playNextVideo"in R&&t(23,Ye=R.playNextVideo),"playPrevVideo"in R&&t(24,et=R.playPrevVideo),"repeatPlaylist"in R&&t(25,lt=R.repeatPlaylist),"seekToInteractive"in R&&t(26,ot=R.seekToInteractive),"toggleGraph"in R&&t(27,De=R.toggleGraph),"playPrevChapter"in R&&t(28,Vt=R.playPrevChapter),"firstStart"in R&&t(29,Pt=R.firstStart)},i.$$.update=()=>{i.$$.dirty[1]&48|i.$$.dirty[4]&49152&&t(42,Bi=(I===Re.Video&&te||I===Re.Ads&&ae===Wt.INACTIVE)&&!w),i.$$.dirty[0]&1073741824&&Hi.set(di),i.$$.dirty[4]&8192&&t(123,mi=z!==at.PlaybackState.PLAYING),i.$$.dirty[3]&1879048192|i.$$.dirty[4]&4160&&t(124,ki=p&&!(Ut||Yt)&&!(mi&&!Y)),i.$$.dirty[1]&112|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&2085&&Te.set((mi||n||g||G||J)&&!ki&&I===Re.Video&&!w),i.$$.dirty[0]&2|i.$$.dirty[1]&56|i.$$.dirty[3]&134217728|i.$$.dirty[4]&1024&&t(43,Ai=re.features.thumbTimer&&Ke&&I===Re.Video&&!b&&!w&&!ni&&(re.hideThumbTimerAfterTouch&&!M||!re.hideThumbTimerAfterTouch)),i.$$.dirty[1]&32|i.$$.dirty[4]&528&&t(44,yi=I===Re.Video&&!C&&c),i.$$.dirty[0]&256|i.$$.dirty[1]&16|i.$$.dirty[4]&264&&t(31,Oi=(ce&&A||!ce)&&s&&!w),i.$$.dirty[1]&9|i.$$.dirty[4]&192&&t(45,zi=L&&!(b||Oi)&&!p),i.$$.dirty[0]&2|i.$$.dirty[4]&98&&(!g&&Si&&!p&&xt(re.controls.hideTimeoutCursor),t(125,Si=g)),i.$$.dirty[0]&1|i.$$.dirty[1]&6&&t(46,Ki=K&&h%180?a.height/a.width:1)},[K,re,q,Ee,O,Pe,ge,ee,ce,be,se,Ge,Ue,ut,nt,ze,dt,kt,Ne,Be,zt,me,$e,Ye,et,lt,ot,De,Vt,Pt,di,Oi,a,h,b,w,I,G,ci,Bt,oi,Ni,Bi,Ai,yi,zi,Ki,Mt,o,r,f,X,T,j,ue,S,$,le,Ce,ve,Ae,Se,U,li,mt,Qe,At,ct,gi,de,Te,Ie,It,Jt,Le,ti,si,Dt,Li,Ft,Zi,ri,Vi,$i,ii,en,Et,Ii,ai,Pi,Fi,ni,Mi,Ti,Gt,ui,bi,_i,Kt,Ht,wi,rn,Yi,mn,hn,Mn,Nn,Q,vt,an,xi,un,tn,lo,so,ro,E,Me,tt,Je,Ke,Ut,Yt,mi,ki,Si,n,s,c,g,p,L,A,C,M,J,Y,z,ae,te,ao,uo,co,Un,jn,ie,Rn]}class Tg extends ye{constructor(e){super(),ke(this,e,Pg,Sg,we,{store:116,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:117,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:118,playerStarted:22,fullScreenTarget:119,showMiniTimer:120,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},kg,[-1,-1,-1,-1,-1,-1])}}const Eg=i=>{if(!oe.isIOS(!0))return!1;const e=i.device===oe.CurrentClientDevice.iPad||(window==null?void 0:window.screen.width)>700,t=oe.getIOSVersion();return!e||e&&!!t&&t<16};function Ag(i){Fe(i,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function r1(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w=ne("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",A;return{c(){e=_("div"),n=B(),o=_("div"),l=_("div"),s=_("div"),a=B(),c=_("div"),h=B(),g=_("div"),b=B(),L=_("p"),A=He(w),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(s,"class",r="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(g,"class",p="triangle "+i[0]+" v-nhq2ld"),u(l,"class","triangles-wrapper v-nhq2ld"),u(L,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(C,I){y(C,e,I),y(C,n,I),y(C,o,I),m(o,l),m(l,s),m(l,a),m(l,c),m(l,h),m(l,g),m(o,b),m(o,L),m(L,A)},p(C,I){I&1&&t!==(t="semicircle "+C[0]+" v-nhq2ld")&&u(e,"class",t),I&1&&r!==(r="triangle "+C[0]+" v-nhq2ld")&&u(s,"class",r),I&1&&f!==(f="triangle "+C[0]+" v-nhq2ld")&&u(c,"class",f),I&1&&p!==(p="triangle "+C[0]+" v-nhq2ld")&&u(g,"class",p),I&2&&w!==(w=ne("doubletap_seek_step",{seconds:C[1].toFixed(0)})+"")&&xe(A,w)},d(C){C&&(k(e),k(n),k(o))}}}function Lg(i){let e,t,n,o,l=i[2]&&r1(i);return{c(){e=_("div"),l&&l.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(s,r){y(s,e,r),l&&l.m(e,null),n||(o=Ve(e,"click",ft(i[3]())),n=!0)},p(s,[r]){s[2]?l?l.p(s,r):(l=r1(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),r&1&&t!==(t="double-click-area "+s[0]+" v-nhq2ld")&&u(e,"class",t)},i:Z,o:Z,d(s){s&&k(e),l&&l.d(),n=!1,o()}}}function Vg(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:l}=e,{handleSecondClick:s}=e,r=!1,a=0,c=0;const f=()=>{let g=0;return()=>{g+=1,g===1?a=window.setTimeout(()=>{l(),g=0},300):(window.clearTimeout(a),g=0,s(),t(2,r=!0),c=window.setTimeout(()=>{t(2,r=!1)},500))}};return Wo(()=>{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,s=h.handleSecondClick)},[n,o,r,f,l,s]}class kc extends ye{constructor(e){super(),ke(this,e,Vg,Lg,we,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},Ag)}}function Ig(i,e,t){let{playNextVideo:n}=e;return Qi(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class Mg extends ye{constructor(e){super(),ke(this,e,Ig,null,we,{playNextVideo:0})}}const{window:Ng}=I1;function Rg(i){Fe(i,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function a1(i){let e,t,n,o;e=new kc({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[127]}});let l=!i[48]&&u1(i);return{c(){H(e.$$.fragment),t=B(),l&&l.c(),n=gt()},m(s,r){D(e,s,r),y(s,t,r),l&&l.m(s,r),y(s,n,r),o=!0},p(s,r){const a={};r[0]&2&&(a.seekStep=s[1].controls.seekStepMobile/1e3),e.$set(a),s[48]?l&&(he(),v(l,1,1,()=>{l=null}),pe()):l?(l.p(s,r),r[1]&131072&&d(l,1)):(l=u1(s),l.c(),d(l,1),l.m(n.parentNode,n))},i(s){o||(d(e.$$.fragment,s),d(l),o=!0)},o(s){v(e.$$.fragment,s),v(l),o=!1},d(s){s&&(k(t),k(n)),F(e,s),l&&l.d(s)}}}function u1(i){let e,t;return e=new kc({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[128]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function c1(i){var n;let e,t;return e=new bc({props:{thumbUrl:i[2],startTime:(n=i[4])==null?void 0:n.startTime}}),{c(){H(e.$$.fragment)},m(o,l){D(e,o,l),t=!0},p(o,l){var r;const s={};l[0]&4&&(s.thumbUrl=o[2]),l[0]&16&&(s.startTime=(r=o[4])==null?void 0:r.startTime),e.$set(s)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){F(e,o)}}}function f1(i){let e,t;return e=new _c({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function d1(i){let e,t,n;return t=new Nu({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),V(e,"hidden",i[34]!==Re.Ads)},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[0]&256&&(s.adsSlotId=o[8]),l[0]&512&&(s.adsParams=o[9]),l[0]&1024&&(s.adsPreviewParam=o[10]),l[0]&2048&&(s.duration=o[11]),t.$set(s),(!n||l[1]&8)&&V(e,"hidden",o[34]!==Re.Ads)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function m1(i){let e,t;return e=new Mg({props:{playNextVideo:i[22]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[0]&4194304&&(l.playNextVideo=n[22]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function h1(i){let e,t;return e=new mc({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function p1(i){let e,t,n;return t=new Q1({props:{ariaLabel:ne("video360")}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,l){y(o,e,l),D(t,e,null),n=!0},p:Z,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function v1(i){let e,t;return e=new pc({props:{thumbUrl:i[2],chromecastDeviceName:i[51]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function g1(i){let e,t;return e=new hc({props:{shifted:i[30],captions:i[53],position:i[44],playerSize:i[31],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function b1(i){let e,t;return e=new Ru({props:{showControls:i[30]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[0]&1073741824&&(l.showControls=n[30]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function _1(i){let e,t,n,o,l;return t=new vc({}),{c(){e=_("div"),H(t.$$.fragment)},m(s,r){y(s,e,r),D(t,e,null),n=!0,o||(l=Ve(e,"click",ft(i[100])),o=!0)},p:Z,i(s){n||(d(t.$$.fragment,s),n=!0)},o(s){v(t.$$.fragment,s),n=!1},d(s){s&&k(e),F(t),o=!1,l()}}}function w1(i){let e,t;return e=new ju({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function k1(i){let e,t;return e=new zu({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function y1(i){let e,t,n=i[6]&&i[78]&&!i[47].has(pt.TIMELINE),o,l,s,r,a,c,f,h,g,p,b,L,w,A,C,I,M,J,G;e=new gc({props:{hidden:i[34]!==Re.Thumb||i[33]||i[89]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let Y=n&&a1(i),z=i[34]===Re.WaitingLive&&c1(i),ae=i[34]===Re.WaitingRecord&&f1(),te=i[7]&&i[21]&&d1(i),X=i[41]&&i[17]&&i[18]&&m1(i),T=i[49]&&h1(),j=i[50]&&p1(),ue=i[35]&&v1(i),S=i[52].value!=="off"&&g1(i),$=i[1].features.annotations&&b1(i),le=i[33]&&_1(i);function Ce(U){i[129](U)}let ve={bottomHidden:i[34]===Re.Thumb||i[34]===Re.WaitingLive||i[34]===Re.WaitingRecord||i[34]===Re.Ads,showControls:i[30],bottomNoSmooth:i[45],isAds:i[34]===Re.Ads,canRewindLive:i[6]&&i[54]!==0,logoClickable:i[12],logoHidden:i[13],videoLogoUrl:i[3],showNextPrevButtons:i[14],nextButtonActive:i[15],prevButtonActive:i[16],isOneVideoPlaylist:i[19],supportLink:i[20],customFullscreenSupported:i[39],playNextVideo:i[22],playPrevVideo:i[23],repeatPlaylist:i[24],toggleFullscreen:i[97],seekToInteractive:i[25],toggleGraph:i[26],playPrevChapter:i[27]};i[37]!==void 0&&(ve.controlsElementRef=i[37]),L=new fc({props:ve}),qe.push(()=>St(L,"controlsElementRef",Ce)),C=new Ou({props:{isLive:i[55],isHidden:!i[40],isPlaying:i[56],position:i[44],duration:i[43]}});let Ae=i[38]&&w1(),Se=i[57]&&k1();return{c(){H(e.$$.fragment),t=B(),Y&&Y.c(),o=B(),z&&z.c(),l=B(),ae&&ae.c(),s=B(),te&&te.c(),r=B(),X&&X.c(),a=B(),T&&T.c(),c=B(),j&&j.c(),f=B(),ue&&ue.c(),h=B(),S&&S.c(),g=B(),$&&$.c(),p=B(),le&&le.c(),b=B(),H(L.$$.fragment),A=B(),H(C.$$.fragment),I=B(),Ae&&Ae.c(),M=B(),Se&&Se.c(),J=gt()},m(U,E){D(e,U,E),y(U,t,E),Y&&Y.m(U,E),y(U,o,E),z&&z.m(U,E),y(U,l,E),ae&&ae.m(U,E),y(U,s,E),te&&te.m(U,E),y(U,r,E),X&&X.m(U,E),y(U,a,E),T&&T.m(U,E),y(U,c,E),j&&j.m(U,E),y(U,f,E),ue&&ue.m(U,E),y(U,h,E),S&&S.m(U,E),y(U,g,E),$&&$.m(U,E),y(U,p,E),le&&le.m(U,E),y(U,b,E),D(L,U,E),y(U,A,E),D(C,U,E),y(U,I,E),Ae&&Ae.m(U,E),y(U,M,E),Se&&Se.m(U,E),y(U,J,E),G=!0},p(U,E){const re={};E[0]&32|E[1]&12&&(re.hidden=U[34]!==Re.Thumb||U[33]||U[89]&&U[5]),E[0]&4&&(re.thumbUrl=U[2]),E[0]&268435456&&(re.startVideo=U[28]),e.$set(re),E[0]&64|E[1]&65536&&(n=U[6]&&U[78]&&!U[47].has(pt.TIMELINE)),n?Y?(Y.p(U,E),E[0]&64|E[1]&65536&&d(Y,1)):(Y=a1(U),Y.c(),d(Y,1),Y.m(o.parentNode,o)):Y&&(he(),v(Y,1,1,()=>{Y=null}),pe()),U[34]===Re.WaitingLive?z?(z.p(U,E),E[1]&8&&d(z,1)):(z=c1(U),z.c(),d(z,1),z.m(l.parentNode,l)):z&&(he(),v(z,1,1,()=>{z=null}),pe()),U[34]===Re.WaitingRecord?ae?E[1]&8&&d(ae,1):(ae=f1(),ae.c(),d(ae,1),ae.m(s.parentNode,s)):ae&&(he(),v(ae,1,1,()=>{ae=null}),pe()),U[7]&&U[21]?te?(te.p(U,E),E[0]&2097280&&d(te,1)):(te=d1(U),te.c(),d(te,1),te.m(r.parentNode,r)):te&&(he(),v(te,1,1,()=>{te=null}),pe()),U[41]&&U[17]&&U[18]?X?(X.p(U,E),E[0]&393216|E[1]&1024&&d(X,1)):(X=m1(U),X.c(),d(X,1),X.m(a.parentNode,a)):X&&(he(),v(X,1,1,()=>{X=null}),pe()),U[49]?T?E[1]&262144&&d(T,1):(T=h1(),T.c(),d(T,1),T.m(c.parentNode,c)):T&&(he(),v(T,1,1,()=>{T=null}),pe()),U[50]?j?(j.p(U,E),E[1]&524288&&d(j,1)):(j=p1(),j.c(),d(j,1),j.m(f.parentNode,f)):j&&(he(),v(j,1,1,()=>{j=null}),pe()),U[35]?ue?(ue.p(U,E),E[1]&16&&d(ue,1)):(ue=v1(U),ue.c(),d(ue,1),ue.m(h.parentNode,h)):ue&&(he(),v(ue,1,1,()=>{ue=null}),pe()),U[52].value!=="off"?S?(S.p(U,E),E[1]&2097152&&d(S,1)):(S=g1(U),S.c(),d(S,1),S.m(g.parentNode,g)):S&&(he(),v(S,1,1,()=>{S=null}),pe()),U[1].features.annotations?$?($.p(U,E),E[0]&2&&d($,1)):($=b1(U),$.c(),d($,1),$.m(p.parentNode,p)):$&&(he(),v($,1,1,()=>{$=null}),pe()),U[33]?le?(le.p(U,E),E[1]&4&&d(le,1)):(le=_1(U),le.c(),d(le,1),le.m(b.parentNode,b)):le&&(he(),v(le,1,1,()=>{le=null}),pe());const q={};E[1]&8&&(q.bottomHidden=U[34]===Re.Thumb||U[34]===Re.WaitingLive||U[34]===Re.WaitingRecord||U[34]===Re.Ads),E[0]&1073741824&&(q.showControls=U[30]),E[1]&16384&&(q.bottomNoSmooth=U[45]),E[1]&8&&(q.isAds=U[34]===Re.Ads),E[0]&64|E[1]&8388608&&(q.canRewindLive=U[6]&&U[54]!==0),E[0]&4096&&(q.logoClickable=U[12]),E[0]&8192&&(q.logoHidden=U[13]),E[0]&8&&(q.videoLogoUrl=U[3]),E[0]&16384&&(q.showNextPrevButtons=U[14]),E[0]&32768&&(q.nextButtonActive=U[15]),E[0]&65536&&(q.prevButtonActive=U[16]),E[0]&524288&&(q.isOneVideoPlaylist=U[19]),E[0]&1048576&&(q.supportLink=U[20]),E[1]&256&&(q.customFullscreenSupported=U[39]),E[0]&4194304&&(q.playNextVideo=U[22]),E[0]&8388608&&(q.playPrevVideo=U[23]),E[0]&16777216&&(q.repeatPlaylist=U[24]),E[0]&33554432&&(q.seekToInteractive=U[25]),E[0]&67108864&&(q.toggleGraph=U[26]),E[0]&134217728&&(q.playPrevChapter=U[27]),!w&&E[1]&64&&(w=!0,q.controlsElementRef=U[37],yt(()=>w=!1)),L.$set(q);const Ee={};E[1]&16777216&&(Ee.isLive=U[55]),E[1]&512&&(Ee.isHidden=!U[40]),E[1]&33554432&&(Ee.isPlaying=U[56]),E[1]&8192&&(Ee.position=U[44]),E[1]&4096&&(Ee.duration=U[43]),C.$set(Ee),U[38]?Ae?E[1]&128&&d(Ae,1):(Ae=w1(),Ae.c(),d(Ae,1),Ae.m(M.parentNode,M)):Ae&&(he(),v(Ae,1,1,()=>{Ae=null}),pe()),U[57]?Se?E[1]&67108864&&d(Se,1):(Se=k1(),Se.c(),d(Se,1),Se.m(J.parentNode,J)):Se&&(he(),v(Se,1,1,()=>{Se=null}),pe())},i(U){G||(d(e.$$.fragment,U),d(Y),d(z),d(ae),d(te),d(X),d(T),d(j),d(ue),d(S),d($),d(le),d(L.$$.fragment,U),d(C.$$.fragment,U),d(Ae),d(Se),G=!0)},o(U){v(e.$$.fragment,U),v(Y),v(z),v(ae),v(te),v(X),v(T),v(j),v(ue),v(S),v($),v(le),v(L.$$.fragment,U),v(C.$$.fragment,U),v(Ae),v(Se),G=!1},d(U){U&&(k(t),k(o),k(l),k(s),k(r),k(a),k(c),k(f),k(h),k(g),k(p),k(b),k(A),k(I),k(M),k(J)),F(e,U),Y&&Y.d(U),z&&z.d(U),ae&&ae.d(U),te&&te.d(U),X&&X.d(U),T&&T.d(U),j&&j.d(U),ue&&ue.d(U),S&&S.d(U),$&&$.d(U),le&&le.d(U),F(L,U),F(C,U),Ae&&Ae.d(U),Se&&Se.d(U)}}}function Bg(i){let e,t,n,o,l,s=i[46],r,a,c,f,h,g=y1(i);return{c(){e=_("div"),t=_("div"),n=_("div"),l=B(),g.c(),r=B(),a=_("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${i[32]}deg) scale(${i[42]})`),V(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),V(t,"hidden",i[34]!==Re.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut")},m(p,b){y(p,e,b),m(e,t),m(t,n),i[126](n),m(e,l),g.m(e,null),m(e,r),m(e,a),i[130](a),i[131](e),c=!0,f||(h=[Ve(Ng,"blur",i[98]),Ve(t,"click",pi(i[99])),Ve(e,"click",i[101],!0),Ve(e,"focusin",i[102],!0)],f=!0)},p(p,b){(!c||b[1]&2050&&o!==(o=`transform: rotate(${p[32]}deg) scale(${p[42]})`))&&u(n,"style",o),(!c||b[0]&2)&&V(n,"fast-rotate",!p[1].isSmoothVideoRotate),(!c||b[1]&8)&&V(t,"hidden",p[34]!==Re.Video),b[1]&32768&&we(s,s=p[46])?(he(),v(g,1,1,Z),pe(),g=y1(p),g.c(),d(g,1),g.m(e,r)):g.p(p,b)},i(p){c||(d(g),c=!0)},o(p){v(g),c=!1},d(p){p&&k(e),i[126](null),g.d(p),i[130](null),i[131](null),f=!1,ei(h)}}}function Og(i,e,t){let n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,C,I,M,J,G,Y,z,ae,te,X,T,j,ue,S,$,le,Ce,ve,Ae,Se,U,{store:E}=e,{uiConfig:re}=e,{thumbUrl:q}=e,{videoLogoUrl:Ee}=e,{videoContainer:O}=e,{interactiveContainer:K}=e,{live:Me}=e,{autoplay:Pe}=e,{canRewindLive:ge}=e,{showAds:ee}=e,{adsSlotId:ce=void 0}=e,{adsParams:be=void 0}=e,{adsPreviewParam:se=void 0}=e,{duration:Ge=void 0}=e,{logoClickable:Ue}=e,{logoHidden:ut}=e,{showNextPrevButtons:nt=!1}=e,{nextButtonActive:ze=!1}=e,{prevButtonActive:dt=!1}=e,{endScreenVideoTitle:kt=void 0}=e,{endScreenVideoThumb:Ne=void 0}=e,{isOneVideoPlaylist:Be=!1}=e,{supportLink:zt}=e,{outerContainerRef:me=void 0}=e,{showMiniTimer:tt=!1}=e,{fullScreenTarget:$e=void 0}=e,{playerStarted:Je=!1}=e,{playNextVideo:Ke=oe.noop}=e,{playPrevVideo:Ye=oe.noop}=e,{repeatPlaylist:et=oe.noop}=e,{seekToInteractive:lt}=e,{toggleGraph:ot}=e,{playPrevChapter:De}=e,{firstStart:Vt}=e,{seekTime:Pt}=e;const st=E.getLogger().createComponentLog("Root component"),li=E.interfaceLanguage$;W(i,li,Q=>t(46,X=Q));const mt=E.state.playbackState$;W(i,mt,Q=>t(123,z=Q));const Qe=E.ads.playbackState;W(i,Qe,Q=>t(124,ae=Q));const At=E.state.positionWithScrubbing$;W(i,At,Q=>t(44,s=Q));const ct=E.state.duration$;W(i,ct,Q=>t(43,l=Q));const gi=E.playerPhase;W(i,gi,Q=>t(34,M=Q));const de=E.ui.isFullscreen;W(i,de,Q=>t(137,a=Q));const Te=E.ui.controlsVisible;W(i,Te,Q=>t(30,o=Q));const Ie=E.ui.interactiveHideMobileControls;W(i,Ie,Q=>t(115,g=Q));const It=E.ui.settingsMenuVisible;W(i,It,Q=>t(114,n=Q));const Jt=E.ui.scrubbingInProgress;W(i,Jt,Q=>t(116,b=Q));const Le=E.ui.debugPanelVisible;W(i,Le,Q=>t(57,U=Q));const ti=E.state.isLoaderVisible;W(i,ti,Q=>t(125,te=Q));const si=E.state.isEnded$;W(i,si,Q=>t(118,A=Q));const Dt=E.state.chromecastConnected$;W(i,Dt,Q=>t(35,J=Q));const Li=E.state.chromecastDeviceName$;W(i,Li,Q=>t(51,$=Q));const Ft=E.ads.postrollPassed;W(i,Ft,Q=>t(119,C=Q));const Zi=E.ui.mobileUnmuteButtonExpanded,ri=E.ui.mobileUnmuteButtonVisible,Vi=E.state.isLive$;W(i,Vi,Q=>t(55,Ae=Q));const Tt=E.state.isPlaying$;W(i,Tt,Q=>t(56,Se=Q));const $i=E.state.isActiveLive$;W(i,$i,Q=>t(48,j=Q));const ii=E.state.isRewindableLive$,en=E.state.crashed$;W(i,en,Q=>t(33,w=Q));const Et=E.webApi.pictureInPictureApi,Ii=E.state.videoSize$;W(i,Ii,Q=>t(138,f=Q));const ai=E.state.currentSubtitle$;W(i,ai,Q=>t(52,le=Q));const Pi=E.state.currentSubtitleCaptions$;W(i,Pi,Q=>t(53,Ce=Q));const Fi=E.state.duration$;W(i,Fi,Q=>t(54,ve=Q));const ni=E.state.graphIsOpened$;W(i,ni,Q=>t(122,Y=Q));const Mi=E.ui.playerSize;W(i,Mi,Q=>t(31,c=Q));const Ti=E.ui.is3DVideo;W(i,Ti,Q=>t(49,ue=Q));const Ei=E.ui.icon3DVideoVisible;W(i,Ei,Q=>t(50,S=Q));const Gt=E.ui.rotateAlpha;W(i,Gt,Q=>t(32,p=Q));const ui=E.state.isInteractive,bi=E.state.isInteractiveTime$;W(i,bi,Q=>t(117,L=Q));const Hi=E.state.isInteractiveExpectation$;W(i,Hi,Q=>t(121,G=Q));const ci=E.state.hasInteractiveBranches,Bt=E.ui.controls.disabledControls$;W(i,Bt,Q=>t(47,T=Q));const oi=E.ui.touched;W(i,oi,Q=>t(120,I=Q));const Ni=E.ui.clientInfo$;W(i,Ni,Q=>t(136,r=Q));const Gi=E.ui.overlayContainer$;let fi,Ri,Bi,di,_i,Ui,Kt;const Ht=je(!1);W(i,Ht,Q=>t(45,h=Q));let wi,Ut=!1,Yt,mi=!1,ki,Ai=!0,yi,Oi,zi=!1,Si;Et==null||Et.setContext(R1());const Ki=Q=>{clearTimeout(di),Q&&(ri.set(!0),Zi.set(!0),di=window.setTimeout(()=>{Zi.set(!1)},re.controls.collapseMobileUnmute),ui||jt(re.controls.hideTimeoutMobile))};E.setUiCallbacks({onStarted:Ki});const Qt=()=>{window.clearTimeout(Bi),t(109,Ut=!1),g&&Ie.set(!1)},jt=Q=>{Qt(),t(109,Ut=!0),Bi=window.setTimeout(()=>t(109,Ut=!1),Q);const vt=Q-100;wi=window.setTimeout(()=>{h&&Ht.set(!1)},vt>0?vt:Q)},Mt=Ti.subscribe(Q=>{Ei.set(Q),Q&&(window.clearTimeout(_i),_i=window.setTimeout(()=>Ei.set(!1),re.controls.hide360IconTimeout))}),ji=()=>On(this,null,function*(){var vt,an,xi,un;const Q=go();if(Q){jt(re.controls.hideTimeoutFullscreen);try{yield Et==null?void 0:Et.remove()}catch(tn){st({message:String(tn)})}try{const tn=f!=null&&f.width&&(f!=null&&f.height)?f:c;yield t4(tn)}catch(tn){st({message:String(tn)})}}de.set(Q),E.getAdmanWrapper().setFullscreen(Q),a?(an=(vt=E.callbacks)==null?void 0:vt.onFullscreenEnter)==null||an.call(vt):(un=(xi=E.callbacks)==null?void 0:xi.onFullscreenExit)==null||un.call(xi)}),Xt=Q=>{const vt=Q;Mi.set({width:vt.target.width,height:vt.target.height})};Qi(()=>{var vt;return Iu(ji),Uo(Et)&&(Et==null||Et.assignPlayerContainer(fi),Et==null||Et.registryExternalEventHandlers({resize:Xt})),t(39,Ai=!Eg(r)),K&&((vt=O.parentElement)==null||vt.insertBefore(K,O.nextSibling)),()=>{window.clearTimeout(Bi),window.clearTimeout(wi),window.clearTimeout(di),window.clearTimeout(_i),Mt(),Et==null||Et.dispose(),Mu(ji)}});const fe=Q=>{let vt=s+(Q==="forward"?1:-1)*re.controls.seekStepMobile/1e3;vt<0?vt=0:vt>l&&(vt=l-1),t(111,mi=!0),Pt(vt)},xt=()=>On(this,null,function*(){if(go())yield Vu(document),st({message:"exit fullscreen"});else{st({message:"request fullscreen"});const Q=me!=null?me:fi,vt=Q.getRootNode(),an=vt instanceof ShadowRoot?vt.host:vt,xi=$e instanceof HTMLElement&&$e.contains(an),un=re.allowChangingFullscreenTarget&&$e&&xi?$e:Q;yield Lu(un)}}),Ji=()=>{It.set(!1)},sn=()=>{if(n){Ji();return}if(!Je){Vt(),jt(re.controls.hideTimeoutCursor);return}t(111,mi=!1),o?Qt():jt(re.controls.hideTimeoutMobile)},Pn=()=>{if(n){Ji();return}},Tn=()=>{oi.set(!0)},rn=()=>{ui||(Ht.set(!0),jt(re.controls.hideTimeoutCursor))};function Yi(Q){qe[Q?"unshift":"push"](()=>{O=Q,t(0,O)})}const mn=()=>fe("backward"),hn=()=>fe("forward");function Mn(Q){Ri=Q,t(37,Ri)}function Nn(Q){qe[Q?"unshift":"push"](()=>{Kt=Q,t(29,Kt)})}function En(Q){qe[Q?"unshift":"push"](()=>{fi=Q,t(36,fi)})}return i.$$set=Q=>{"store"in Q&&t(103,E=Q.store),"uiConfig"in Q&&t(1,re=Q.uiConfig),"thumbUrl"in Q&&t(2,q=Q.thumbUrl),"videoLogoUrl"in Q&&t(3,Ee=Q.videoLogoUrl),"videoContainer"in Q&&t(0,O=Q.videoContainer),"interactiveContainer"in Q&&t(104,K=Q.interactiveContainer),"live"in Q&&t(4,Me=Q.live),"autoplay"in Q&&t(5,Pe=Q.autoplay),"canRewindLive"in Q&&t(6,ge=Q.canRewindLive),"showAds"in Q&&t(7,ee=Q.showAds),"adsSlotId"in Q&&t(8,ce=Q.adsSlotId),"adsParams"in Q&&t(9,be=Q.adsParams),"adsPreviewParam"in Q&&t(10,se=Q.adsPreviewParam),"duration"in Q&&t(11,Ge=Q.duration),"logoClickable"in Q&&t(12,Ue=Q.logoClickable),"logoHidden"in Q&&t(13,ut=Q.logoHidden),"showNextPrevButtons"in Q&&t(14,nt=Q.showNextPrevButtons),"nextButtonActive"in Q&&t(15,ze=Q.nextButtonActive),"prevButtonActive"in Q&&t(16,dt=Q.prevButtonActive),"endScreenVideoTitle"in Q&&t(17,kt=Q.endScreenVideoTitle),"endScreenVideoThumb"in Q&&t(18,Ne=Q.endScreenVideoThumb),"isOneVideoPlaylist"in Q&&t(19,Be=Q.isOneVideoPlaylist),"supportLink"in Q&&t(20,zt=Q.supportLink),"outerContainerRef"in Q&&t(105,me=Q.outerContainerRef),"showMiniTimer"in Q&&t(106,tt=Q.showMiniTimer),"fullScreenTarget"in Q&&t(107,$e=Q.fullScreenTarget),"playerStarted"in Q&&t(21,Je=Q.playerStarted),"playNextVideo"in Q&&t(22,Ke=Q.playNextVideo),"playPrevVideo"in Q&&t(23,Ye=Q.playPrevVideo),"repeatPlaylist"in Q&&t(24,et=Q.repeatPlaylist),"seekToInteractive"in Q&&t(25,lt=Q.seekToInteractive),"toggleGraph"in Q&&t(26,ot=Q.toggleGraph),"playPrevChapter"in Q&&t(27,De=Q.playPrevChapter),"firstStart"in Q&&t(28,Vt=Q.firstStart),"seekTime"in Q&&t(108,Pt=Q.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&12|i.$$.dirty[4]&3&&t(38,Ui=(M===Re.Video&&te||M===Re.Ads&&ae===Wt.INACTIVE)&&!w),i.$$.dirty[0]&536870912&&Gi.set(Kt),i.$$.dirty[3]&1073741824&&t(110,Yt=z!==at.PlaybackState.PLAYING),i.$$.dirty[3]&843251712&&t(112,ki=Y||g||!Ut&&(A&&!!ci||Yt&&G)),i.$$.dirty[1]&28|i.$$.dirty[3]&11468800&&Te.set((Yt||n||b||J||Ut&&!mi)&&!ki&&M===Re.Video&&!w),i.$$.dirty[0]&1073741826|i.$$.dirty[1]&12|i.$$.dirty[3]&134225920&&t(40,yi=re.features.thumbTimer&&tt&&M===Re.Video&&!o&&!w&&!ui&&(re.hideThumbTimerAfterTouch&&!I||!re.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&4|i.$$.dirty[3]&100663296&&t(41,Oi=(ee&&C||!ee)&&A&&!w),i.$$.dirty[0]&2|i.$$.dirty[3]&26214400&&(!b&&zi&&!L&&jt(re.controls.hideTimeoutMobile),t(113,zi=b)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(42,Si=O&&p%180?c.height/c.width:1)},[O,re,q,Ee,Me,Pe,ge,ee,ce,be,se,Ge,Ue,ut,nt,ze,dt,kt,Ne,Be,zt,Je,Ke,Ye,et,lt,ot,De,Vt,Kt,o,c,p,w,M,J,fi,Ri,Ui,Ai,yi,Oi,Si,l,s,h,X,T,j,ue,S,$,le,Ce,ve,Ae,Se,U,li,mt,Qe,At,ct,gi,de,Te,Ie,It,Jt,Le,ti,si,Dt,Li,Ft,Vi,Tt,$i,ii,en,Ii,ai,Pi,Fi,ni,Mi,Ti,Ei,Gt,ui,bi,Hi,Bt,oi,Ni,Ht,fe,xt,Ji,sn,Pn,Tn,rn,E,K,me,tt,$e,Pt,Ut,Yt,mi,ki,zi,n,g,b,L,A,C,I,G,Y,z,ae,te,Yi,mn,hn,Mn,Nn,En]}class zg extends ye{constructor(e){super(),ke(this,e,Og,Bg,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},Rg,[-1,-1,-1,-1,-1])}}function Dg(i){Fe(i,"v-labq99",`.root.v-labq99{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
32
+ )}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function eg(i){let e,t;return{c(){e=k("div"),t=Ue(i[0]),u(e,"class","title v-1bcvcf2"),L(e,"hidden",i[1])},m(n,o){S(n,e,o),m(e,t)},p(n,[o]){o&1&&$e(t,n[0]),o&2&&L(e,"hidden",n[1])},i:G,o:G,d(n){n&&y(e)}}}function tg(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 ig extends ke{constructor(e){super(),we(this,e,tg,eg,_e,{title:0,isHidden:1},$5)}}function ng(i){Fe(i,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function Za(i){let e,t,n,o,l,r,s;return{c(){e=k("div"),t=k("span"),n=Ue(i[0]),o=R(),l=k("span"),l.textContent=`${se("waiting_live_day_value")}`,r=R(),s=k("span"),s.textContent=`${se("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),m(e,t),m(t,n),m(e,o),m(e,l),S(a,r,c),S(a,s,c)},p(a,c){c&1&&$e(n,a[0])},d(a){a&&(y(e),y(r),y(s))}}}function Ga(i){let e,t,n,o,l,r,s;return{c(){e=k("div"),t=k("span"),n=Ue(i[1]),o=R(),l=k("span"),l.textContent=`${se("waiting_live_hour_value")}`,r=R(),s=k("span"),s.textContent=`${se("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),m(e,t),m(t,n),m(e,o),m(e,l),S(a,r,c),S(a,s,c)},p(a,c){c&2&&$e(n,a[1])},d(a){a&&(y(e),y(r),y(s))}}}function Ka(i){let e,t,n,o,l,r,s;return{c(){e=k("div"),t=k("span"),n=Ue(i[2]),o=R(),l=k("span"),l.textContent=`${se("waiting_live_minute_value")}`,r=R(),s=k("span"),s.textContent=`${se("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),m(e,t),m(t,n),m(e,o),m(e,l),S(a,r,c),S(a,s,c)},p(a,c){c&4&&$e(n,a[2])},d(a){a&&(y(e),y(r),y(s))}}}function Ya(i){let e,t,n,o,l;return{c(){e=k("div"),t=k("span"),n=Ue(i[3]),o=R(),l=k("span"),l.textContent=`${se("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),m(e,t),m(t,n),m(e,o),m(e,l)},p(r,s){s&8&&$e(n,r[3])},d(r){r&&y(e)}}}function og(i){let e,t,n,o,l=i[0]&&Za(i),r=i[1]&&Ga(i),s=i[2]&&Ka(i),a=i[3]&&Ya(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),m(e,t),r&&r.m(e,null),m(e,n),s&&s.m(e,null),m(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?l?l.p(c,f):(l=Za(c),l.c(),l.m(e,t)):l&&(l.d(1),l=null),c[1]?r?r.p(c,f):(r=Ga(c),r.c(),r.m(e,n)):r&&(r.d(1),r=null),c[2]?s?s.p(c,f):(s=Ka(c),s.c(),s.m(e,o)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=Ya(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:G,o:G,d(c){c&&y(e),l&&l.d(),r&&r.d(),s&&s.d(),a&&a.d()}}}function lg(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,l,r,s,a,c;const f=p=>String(p).padStart(2,"0"),h=p=>{const b=Math.floor(p/86400);b&&(p-=b*86400,t(0,l=f(b)));const A=Math.floor(p/3600);t(1,r=f(A));const w=Math.floor(p/60)%60;t(2,s=f(w));const T=p%60;t(3,a=f(T))},g=()=>{const p=Math.floor(Date.now()/1e3),b=n-p;h(b),b>=1?c=requestAnimationFrame(g):o()};return Ki(()=>{c=requestAnimationFrame(g)}),Zo(()=>{cancelAnimationFrame(c)}),i.$$set=p=>{"startTime"in p&&t(4,n=p.startTime),"onTimerOver"in p&&t(5,o=p.onTimerOver)},[l,r,s,a,n,o]}class rg extends ke{constructor(e){super(),we(this,e,lg,og,_e,{startTime:4,onTimerOver:5},ng)}}function sg(i){let e,t,n,o,l;return{c(){e=M("svg"),t=M("path"),n=M("path"),o=M("path"),l=M("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"),Ot(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"),Ot(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"),Ot(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"),Ot(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"),Ot(e,"shape-rendering","geometricPrecision"),Ot(e,"text-rendering","geometricPrecision"),Ot(e,"image-rendering","optimizeQuality"),Ot(e,"fill-rule","evenodd"),Ot(e,"clip-rule","evenodd"),Ot(e,"width","100%"),Ot(e,"height","100%")},m(r,s){S(r,e,s),m(e,t),m(e,n),m(e,o),m(e,l)},p:G,i:G,o:G,d(r){r&&y(e)}}}class ag extends ke{constructor(e){super(),we(this,e,null,sg,_e,{})}}function ug(i){Fe(i,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function cg(i){let e,t,n,o,l;return o=new rg({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=k("div"),t=k("span"),t.textContent=`${se("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),m(e,t),m(e,n),B(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||(d(o.$$.fragment,r),l=!0)},o(r){v(o.$$.fragment,r),l=!1},d(r){r&&y(e),O(o)}}}function fg(i){let e,t,n,o,l,r;return n=new ag({}),{c(){e=k("div"),t=k("div"),F(n.$$.fragment),o=R(),l=k("span"),l.textContent=`${se("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),m(e,t),B(n,t,null),m(e,o),m(e,l),r=!0},p:G,i(s){r||(d(n.$$.fragment,s),r=!0)},o(s){v(n.$$.fragment,s),r=!1},d(s){s&&y(e),O(n)}}}function dg(i){let e,t,n,o,l;const r=[fg,cg],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()),d(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||(d(n),l=!0)},o(c){v(n),l=!1},d(c){c&&y(e),s[t].d()}}}function mg(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 kc extends ke{constructor(e){super(),we(this,e,mg,dg,_e,{thumbUrl:0,startTime:1},ug)}}function hg(i){Fe(i,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function pg(i){let e,t;return{c(){e=k("div"),t=k("p"),t.textContent=`${se("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){S(n,e,o),m(e,t)},p:G,i:G,o:G,d(n){n&&y(e)}}}class yc extends ke{constructor(e){super(),we(this,e,null,pg,_e,{},hg)}}const{window:vg}=R1;function gg(i){Fe(i,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function Xa(i){var n;let e,t;return e=new kc({props:{thumbUrl:i[3],startTime:(n=i[5])==null?void 0:n.startTime}}),{c(){F(e.$$.fragment)},m(o,l){B(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||(d(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){O(e,o)}}}function Qa(i){let e,t;return e=new yc({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ja(i){let e,t,n;return t=new Ou({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"),L(e,"hidden",i[35]!==Be.Ads)},m(o,l){S(o,e,l),B(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]&16)&&L(e,"hidden",o[35]!==Be.Ads)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function xa(i){let e,t;return e=new lm({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function $a(i){let e,t;return e=new ig({props:{title:i[2],isHidden:!i[33]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.title=n[2]),o[1]&4&&(l.isHidden=!n[33]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function e1(i){let e,t;return e=new vc({props:{isShifted:i[35]===Be.Video&&i[33]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[1]&20&&(l.isShifted=n[35]===Be.Video&&n[33]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function t1(i){let e,t,n;return t=new x1({props:{ariaLabel:se("video360")}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,l){S(o,e,l),B(t,e,null),n=!0},p:G,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function i1(i){let e,t;return e=new bc({props:{thumbUrl:i[3],chromecastDeviceName:i[52]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[0]&8&&(l.thumbUrl=n[3]),o[1]&2097152&&(l.chromecastDeviceName=n[52]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function n1(i){let e,t;return e=new gc({props:{shifted:i[33],captions:i[54],position:i[55],playerSize:i[31]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[1]&4&&(l.shifted=n[33]),o[1]&8388608&&(l.captions=n[54]),o[1]&16777216&&(l.position=n[55]),o[1]&1&&(l.playerSize=n[31]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function o1(i){let e,t;return e=new zu({props:{showControls:i[33]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[1]&4&&(l.showControls=n[33]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function l1(i){let e,t,n,o,l;return t=new _c({}),{c(){e=k("div"),F(t.$$.fragment)},m(r,s){S(r,e,s),B(t,e,null),n=!0,o||(l=[Le(e,"contextmenu",pi(i[102])),Le(e,"click",ct(i[113]))],o=!0)},p:G,i(r){n||(d(t.$$.fragment,r),n=!0)},o(r){v(t.$$.fragment,r),n=!1},d(r){r&&y(e),O(t),o=!1,Kt(l)}}}function r1(i){let e,t;return e=new Zu({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function s1(i){let e,t;return e=new Em({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function a1(i){let e,t;return e=new Hu({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function u1(i){let e,t,n,o,l,r,s,a,c,f,h,g,p,b,A,w,T,E,I,V,Q,J,U,z,re,ce;e=new wc({props:{hidden:i[35]!==Be.Thumb||i[34]||i[90]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let $=i[35]===Be.WaitingLive&&Xa(i),N=i[35]===Be.WaitingRecord&&Qa(),ie=i[8]&&i[22]&&Ja(i),q=i[30]&&i[18]&&i[19]&&xa(i),_=i[43]&&$a(i),x=i[48]&&e1(i),ne=i[51]&&t1(),Ie=i[36]&&i1(i),ae=i[53].value!=="off"&&n1(i),ge=i[1].features.annotations&&o1(i),Se=i[34]&&l1(i);function Y(D){i[141](D)}let C={bottomHidden:i[35]===Be.Thumb||i[35]===Be.WaitingLive||i[35]===Be.WaitingRecord,bottomNoSmooth:i[49],showControls:i[33],isAds:i[35]===Be.Ads,canRewindLive:i[7]&&i[56]!==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:wg,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[100],returnFocus:i[140],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};i[38]!==void 0&&(C.controlsElementRef=i[38]),b=new hc({props:C}),Ze.push(()=>Ct(b,"controlsElementRef",Y)),T=new Fu({props:{isLive:i[57],isHidden:!i[42],isPlaying:i[58],position:i[55],duration:i[59]}}),I=new N5({props:{data:i[98]}}),Q=new D4({props:{supportLink:i[21],returnFocus:i[142],visible:i[47],playerContainerRef:i[37],controlsContainerRef:i[38],x:i[39],y:i[40]}});let ue=i[41]&&r1(),W=i[60]&&s1(),ye=i[61]&&a1();return{c(){F(e.$$.fragment),t=R(),$&&$.c(),n=R(),N&&N.c(),o=R(),ie&&ie.c(),l=R(),q&&q.c(),r=R(),_&&_.c(),s=R(),x&&x.c(),a=R(),ne&&ne.c(),c=R(),Ie&&Ie.c(),f=R(),ae&&ae.c(),h=R(),ge&&ge.c(),g=R(),Se&&Se.c(),p=R(),F(b.$$.fragment),w=R(),F(T.$$.fragment),E=R(),F(I.$$.fragment),V=R(),F(Q.$$.fragment),J=R(),ue&&ue.c(),U=R(),W&&W.c(),z=R(),ye&&ye.c(),re=gt()},m(D,te){B(e,D,te),S(D,t,te),$&&$.m(D,te),S(D,n,te),N&&N.m(D,te),S(D,o,te),ie&&ie.m(D,te),S(D,l,te),q&&q.m(D,te),S(D,r,te),_&&_.m(D,te),S(D,s,te),x&&x.m(D,te),S(D,a,te),ne&&ne.m(D,te),S(D,c,te),Ie&&Ie.m(D,te),S(D,f,te),ae&&ae.m(D,te),S(D,h,te),ge&&ge.m(D,te),S(D,g,te),Se&&Se.m(D,te),S(D,p,te),B(b,D,te),S(D,w,te),B(T,D,te),S(D,E,te),B(I,D,te),S(D,V,te),B(Q,D,te),S(D,J,te),ue&&ue.m(D,te),S(D,U,te),W&&W.m(D,te),S(D,z,te),ye&&ye.m(D,te),S(D,re,te),ce=!0},p(D,te){const Me={};te[0]&64|te[1]&24&&(Me.hidden=D[35]!==Be.Thumb||D[34]||D[90]&&D[6]),te[0]&8&&(Me.thumbUrl=D[3]),te[0]&536870912&&(Me.startVideo=D[29]),e.$set(Me),D[35]===Be.WaitingLive?$?($.p(D,te),te[1]&16&&d($,1)):($=Xa(D),$.c(),d($,1),$.m(n.parentNode,n)):$&&(he(),v($,1,1,()=>{$=null}),pe()),D[35]===Be.WaitingRecord?N?te[1]&16&&d(N,1):(N=Qa(),N.c(),d(N,1),N.m(o.parentNode,o)):N&&(he(),v(N,1,1,()=>{N=null}),pe()),D[8]&&D[22]?ie?(ie.p(D,te),te[0]&4194560&&d(ie,1)):(ie=Ja(D),ie.c(),d(ie,1),ie.m(l.parentNode,l)):ie&&(he(),v(ie,1,1,()=>{ie=null}),pe()),D[30]&&D[18]&&D[19]?q?(q.p(D,te),te[0]&1074528256&&d(q,1)):(q=xa(D),q.c(),d(q,1),q.m(r.parentNode,r)):q&&(he(),v(q,1,1,()=>{q=null}),pe()),D[43]?_?(_.p(D,te),te[1]&4096&&d(_,1)):(_=$a(D),_.c(),d(_,1),_.m(s.parentNode,s)):_&&(he(),v(_,1,1,()=>{_=null}),pe()),D[48]?x?(x.p(D,te),te[1]&131072&&d(x,1)):(x=e1(D),x.c(),d(x,1),x.m(a.parentNode,a)):x&&(he(),v(x,1,1,()=>{x=null}),pe()),D[51]?ne?(ne.p(D,te),te[1]&1048576&&d(ne,1)):(ne=t1(),ne.c(),d(ne,1),ne.m(c.parentNode,c)):ne&&(he(),v(ne,1,1,()=>{ne=null}),pe()),D[36]?Ie?(Ie.p(D,te),te[1]&32&&d(Ie,1)):(Ie=i1(D),Ie.c(),d(Ie,1),Ie.m(f.parentNode,f)):Ie&&(he(),v(Ie,1,1,()=>{Ie=null}),pe()),D[53].value!=="off"?ae?(ae.p(D,te),te[1]&4194304&&d(ae,1)):(ae=n1(D),ae.c(),d(ae,1),ae.m(h.parentNode,h)):ae&&(he(),v(ae,1,1,()=>{ae=null}),pe()),D[1].features.annotations?ge?(ge.p(D,te),te[0]&2&&d(ge,1)):(ge=o1(D),ge.c(),d(ge,1),ge.m(g.parentNode,g)):ge&&(he(),v(ge,1,1,()=>{ge=null}),pe()),D[34]?Se?(Se.p(D,te),te[1]&8&&d(Se,1)):(Se=l1(D),Se.c(),d(Se,1),Se.m(p.parentNode,p)):Se&&(he(),v(Se,1,1,()=>{Se=null}),pe());const Pe={};te[1]&16&&(Pe.bottomHidden=D[35]===Be.Thumb||D[35]===Be.WaitingLive||D[35]===Be.WaitingRecord),te[1]&262144&&(Pe.bottomNoSmooth=D[49]),te[1]&4&&(Pe.showControls=D[33]),te[1]&16&&(Pe.isAds=D[35]===Be.Ads),te[0]&128|te[1]&33554432&&(Pe.canRewindLive=D[7]&&D[56]!==0),te[0]&8192&&(Pe.logoClickable=D[13]),te[0]&16384&&(Pe.logoHidden=D[14]),te[0]&16&&(Pe.videoLogoUrl=D[4]),te[0]&32768&&(Pe.showNextPrevButtons=D[15]),te[0]&65536&&(Pe.nextButtonActive=D[16]),te[0]&131072&&(Pe.prevButtonActive=D[17]),te[0]&1048576&&(Pe.isOneVideoPlaylist=D[20]),te[0]&2097152&&(Pe.supportLink=D[21]),te[0]&8388608&&(Pe.playNextVideo=D[23]),te[0]&16777216&&(Pe.playPrevVideo=D[24]),te[0]&33554432&&(Pe.repeatPlaylist=D[25]),te[1]&32768&&(Pe.returnFocus=D[140]),te[0]&67108864&&(Pe.seekToInteractive=D[26]),te[0]&134217728&&(Pe.toggleGraph=D[27]),te[0]&268435456&&(Pe.playPrevChapter=D[28]),!A&&te[1]&128&&(A=!0,Pe.controlsElementRef=D[38],Pt(()=>A=!1)),b.$set(Pe);const ve={};te[1]&67108864&&(ve.isLive=D[57]),te[1]&2048&&(ve.isHidden=!D[42]),te[1]&134217728&&(ve.isPlaying=D[58]),te[1]&16777216&&(ve.position=D[55]),te[1]&268435456&&(ve.duration=D[59]),T.$set(ve);const Ee={};te[0]&2097152&&(Ee.supportLink=D[21]),te[1]&32768&&(Ee.returnFocus=D[142]),te[1]&65536&&(Ee.visible=D[47]),te[1]&64&&(Ee.playerContainerRef=D[37]),te[1]&128&&(Ee.controlsContainerRef=D[38]),te[1]&256&&(Ee.x=D[39]),te[1]&512&&(Ee.y=D[40]),Q.$set(Ee),D[41]?ue?te[1]&1024&&d(ue,1):(ue=r1(),ue.c(),d(ue,1),ue.m(U.parentNode,U)):ue&&(he(),v(ue,1,1,()=>{ue=null}),pe()),D[60]?W?te[1]&536870912&&d(W,1):(W=s1(),W.c(),d(W,1),W.m(z.parentNode,z)):W&&(he(),v(W,1,1,()=>{W=null}),pe()),D[61]?ye?te[1]&1073741824&&d(ye,1):(ye=a1(),ye.c(),d(ye,1),ye.m(re.parentNode,re)):ye&&(he(),v(ye,1,1,()=>{ye=null}),pe())},i(D){ce||(d(e.$$.fragment,D),d($),d(N),d(ie),d(q),d(_),d(x),d(ne),d(Ie),d(ae),d(ge),d(Se),d(b.$$.fragment,D),d(T.$$.fragment,D),d(I.$$.fragment,D),d(Q.$$.fragment,D),d(ue),d(W),d(ye),ce=!0)},o(D){v(e.$$.fragment,D),v($),v(N),v(ie),v(q),v(_),v(x),v(ne),v(Ie),v(ae),v(ge),v(Se),v(b.$$.fragment,D),v(T.$$.fragment,D),v(I.$$.fragment,D),v(Q.$$.fragment,D),v(ue),v(W),v(ye),ce=!1},d(D){D&&(y(t),y(n),y(o),y(l),y(r),y(s),y(a),y(c),y(f),y(h),y(g),y(p),y(w),y(E),y(V),y(J),y(U),y(z),y(re)),O(e,D),$&&$.d(D),N&&N.d(D),ie&&ie.d(D),q&&q.d(D),_&&_.d(D),x&&x.d(D),ne&&ne.d(D),Ie&&Ie.d(D),ae&&ae.d(D),ge&&ge.d(D),Se&&Se.d(D),O(b,D),O(T,D),O(I,D),O(Q,D),ue&&ue.d(D),W&&W.d(D),ye&&ye.d(D)}}}function bg(i){let e,t,n,o,l=i[50],r,s,a,c,f=u1(i);return{c(){e=k("div"),t=k("div"),o=R(),f.c(),r=gt(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[32]}deg) scale(${i[45]})`),L(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),L(e,"hidden",i[35]!==Be.Video),L(e,"nocursor",i[44])},m(h,g){S(h,e,g),m(e,t),i[139](t),S(h,o,g),f.m(h,g),S(h,r,g),s=!0,a||(c=[Le(e,"contextmenu",pi(i[102])),Le(e,"mousedown",pi(i[107])),Le(e,"mouseup",pi(i[108])),Le(e,"click",pi(i[110])),Le(e,"dblclick",pi(i[109]))],a=!0)},p(h,g){(!s||g[1]&16386&&n!==(n=`transform: rotate(${h[32]}deg) scale(${h[45]})`))&&u(t,"style",n),(!s||g[0]&2)&&L(t,"fast-rotate",!h[1].isSmoothVideoRotate),(!s||g[1]&16)&&L(e,"hidden",h[35]!==Be.Video),(!s||g[1]&8192)&&L(e,"nocursor",h[44]),g[1]&524288&&_e(l,l=h[50])?(he(),v(f,1,1,G),pe(),f=u1(h),f.c(),d(f,1),f.m(r.parentNode,r)):f.p(h,g)},i(h){s||(d(f),s=!0)},o(h){v(f),s=!1},d(h){h&&(y(e),y(o),y(r)),i[139](null),f.d(h),a=!1,Kt(c)}}}function _g(i){let e,t,n,o,l,r={toggleFullscreen:i[100],hideContextMenu:i[101],showHotKeyHelpers:i[111],showKeyMap:i[112],isAds:i[35]===Be.Ads,$$slots:{default:[bg]},$$scope:{ctx:i}};return t=new um({props:r}),i[143](t),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","player-wrapper v-1o4wf3x")},m(s,a){S(s,e,a),B(t,e,null),i[144](e),n=!0,o||(l=[Le(vg,"blur",i[101]),Le(e,"mouseenter",i[103]),Le(e,"mouseleave",i[105]),Le(e,"mousemove",i[106]),Le(e,"click",i[114],!0),Le(e,"focusin",i[104],!0)],o=!0)},p(s,a){const c={};a[1]&16&&(c.isAds=s[35]===Be.Ads),a[0]&2147483647|a[1]&2147483647|a[5]&512&&(c.$$scope={dirty:a,ctx:s}),t.$set(c)},i(s){n||(d(t.$$.fragment,s),n=!0)},o(s){v(t.$$.fragment,s),n=!1},d(s){s&&y(e),i[143](null),O(t),i[144](null),o=!1,Kt(l)}}}let wg=!0;function Sc(i){return i?i.offsetTop+Sc(i.offsetParent):0}function kg(i,e,t){let n,o,l,r,s,a,c,f,h,g,p,b,A,w,T,E,I,V,Q,J,U,z,re,ce,$,N,ie,q,_,x,ne,Ie,ae,ge,Se,Y,{store:C}=e,{uiConfig:ue}=e,{title:W}=e,{thumbUrl:ye}=e,{videoLogoUrl:D}=e,{videoContainer:te}=e,{interactiveContainer:Me}=e,{live:Pe}=e,{autoplay:ve}=e,{canRewindLive:Ee}=e,{showAds:Te}=e,{adsSlotId:K=void 0}=e,{adsParams:H=void 0}=e,{adsPreviewParam:qe=void 0}=e,{duration:Je=void 0}=e,{logoClickable:st}=e,{logoHidden:je}=e,{showNextPrevButtons:Re=!1}=e,{nextButtonActive:ft=!1}=e,{prevButtonActive:yt=!1}=e,{endScreenVideoTitle:Ne=void 0}=e,{endScreenVideoThumb:Oe=void 0}=e,{isOneVideoPlaylist:Ft=!1}=e,{supportLink:me}=e,{outerContainerRef:it=void 0}=e,{playerStarted:et=!1}=e,{fullScreenTarget:xe=void 0}=e,{showMiniTimer:Ye=!1}=e,{playNextVideo:Xe=le.noop}=e,{playPrevVideo:tt=le.noop}=e,{repeatPlaylist:ot=le.noop}=e,{seekToInteractive:nt}=e,{toggleGraph:De}=e,{playPrevChapter:Nt}=e,{firstStart:Tt}=e;const lt=C.getLogger().createComponentLog("Root component"),si=C.interfaceLanguage$;j(i,si,Z=>t(50,$=Z));const dt=C.state.playbackState$;j(i,dt,Z=>t(136,z=Z));const Ke=C.ads.playbackState;j(i,Ke,Z=>t(137,re=Z));const Vt=C.state.positionWithScrubbing$;j(i,Vt,Z=>t(55,x=Z));const ut=C.state.duration$;j(i,ut,Z=>t(59,ge=Z));const gi=C.playerPhase;j(i,gi,Z=>t(35,I=Z));const de=C.ui.isFullscreen;j(i,de,Z=>t(127,c=Z));const Ce=C.ui.controlsVisible;j(i,Ce,Z=>t(33,b=Z));const Ve=C.ui.settingsMenuVisible;j(i,Ve,Z=>t(125,n=Z));const It=C.ui.scrubbingInProgress;j(i,It,Z=>t(128,g=Z));const Jt=C.ui.contextMenuVisible;j(i,Jt,Z=>t(47,o=Z));const Ae=C.ui.debugPanelVisible;j(i,Ae,Z=>t(61,Y=Z));const ni=C.state.isLoaderVisible;j(i,ni,Z=>t(138,ce=Z));const ai=C.state.isEnded$;j(i,ai,Z=>t(126,r=Z));const Ht=C.state.chromecastConnected$;j(i,Ht,Z=>t(36,J=Z));const Vi=C.state.chromecastDeviceName$;j(i,Vi,Z=>t(52,ie=Z));const Ut=C.ads.postrollPassed;j(i,Ut,Z=>t(131,T=Z));const Yi=C.state.isLive$;j(i,Yi,Z=>t(57,Ie=Z));const ui=C.state.isPlaying$;j(i,ui,Z=>t(58,ae=Z));const Ii=C.state.crashed$;j(i,Ii,Z=>t(34,w=Z));const Et=C.webApi.pictureInPictureApi,ln=C.state.currentSubtitle$;j(i,ln,Z=>t(53,q=Z));const oi=C.state.currentSubtitleCaptions$;j(i,oi,Z=>t(54,_=Z));const rn=C.state.duration$;j(i,rn,Z=>t(56,ne=Z));const Lt=C.state.graphIsOpened$;j(i,Lt,Z=>t(132,E=Z));const Pi=C.ui.playerSize;j(i,Pi,Z=>t(31,a=Z));const ci=C.ui.is3DVideo;j(i,ci,Z=>t(48,s=Z));const Mi=C.ui.icon3DVideoVisible;j(i,Mi,Z=>t(51,N=Z));const Hi=C.ui.rotateAlpha;j(i,Hi,Z=>t(32,h=Z));const xt=C.state.isInteractive,Ci=C.state.isInteractiveTime$;j(i,Ci,Z=>t(129,p=Z));const Ti=C.state.isInteractiveExpectation$;j(i,Ti,Z=>t(135,U=Z));const Ni=C.state.hasInteractiveBranches,$t=C.ui.touched;j(i,$t,Z=>t(133,V=Z));const fi=C.ui.modals.hotKeyMap.data;j(i,fi,Z=>t(151,l=Z));const bi=C.ui.modals.hotKeyMap.show;j(i,bi,Z=>t(60,Se=Z));let di,Ei,jt=0,ei=0,Ri,mi,_i;fi.set(i4());let Bi;const wi=He(!1);j(i,wi,Z=>t(49,f=Z));let Ai;const ki=He(!1);j(i,ki,Z=>t(134,Q=Z));const hi=He(),Li=He(!1);j(i,Li,Z=>t(130,A=Z));let Yt=!1,Xt=!1,Qt,li,Ui,ji,yi,Si,Oi=!1,zi,ri=!1,qt=null,St;Et==null||Et.setContext(z1());const Xi=()=>{ve&&!xt&&zt(ue.controls.hideTimeout)};C.setUiCallbacks({onStarted:Xi});const Qi=()=>{window.clearTimeout(Ri),ki.set(!1)},qi=()=>{window.clearTimeout(mi),hi.set(null)},zt=Z=>{Qi(),ki.set(!0),Ri=window.setTimeout(()=>ki.set(!1),Z);const _t=Z-100;Ai=window.setTimeout(()=>{f&&wi.set(!1)},_t>0?_t:Z)},Wi=(Z,_t)=>{qi(),hi.set(_t),mi=window.setTimeout(()=>hi.set(null),Z)},Ji=ci.subscribe(Z=>{Mi.set(Z),Z&&(window.clearTimeout(_i),_i=window.setTimeout(()=>Mi.set(!1),ue.controls.hide360IconTimeout))}),Rt=()=>Bn(this,null,function*(){var _t,en,Di,oe;const Z=bo();if(Z){zt(ue.controls.hideTimeoutFullscreen);try{yield Et==null?void 0:Et.remove()}catch(Pn){lt({message:String(Pn)})}}de.set(Z),C.getAdmanWrapper().setFullscreen(Z),c?(en=(_t=C.callbacks)==null?void 0:_t.onFullscreenEnter)==null||en.call(_t):(oe=(Di=C.callbacks)==null?void 0:Di.onFullscreenExit)==null||oe.call(Di)}),fe=Z=>{const _t=Z;Pi.set({width:_t.target.width,height:_t.target.height})};Ki(()=>{var _t;return Ru(Rt),qo(Et)&&(Et==null||Et.assignPlayerContainer(di),Et==null||Et.registryExternalEventHandlers({resize:fe})),Me&&((_t=te.parentElement)==null||_t.insertBefore(Me,te.nextSibling)),()=>{window.clearTimeout(Ri),window.clearTimeout(Ai),window.clearTimeout(mi),window.clearTimeout(_i),Ji(),Et==null||Et.dispose(),Bu(Rt)}});const dn=()=>Bn(this,null,function*(){if(bo())yield Nu(document),lt({message:"exit fullscreen"});else{lt({message:"request fullscreen"});const Z=it!=null?it:di,_t=Z.getRootNode(),en=_t instanceof ShadowRoot?_t.host:_t,Di=xe instanceof HTMLElement&&xe.contains(en),oe=ue.allowChangingFullscreenTarget&&xe&&Di?xe:Z;yield Mu(oe)}}),xi=()=>{Ve.set(!1),Jt.set(!1)},vn=Z=>{Jt.set(!0),t(39,jt=Z.clientX),t(40,ei=Z.clientY)};function gn(){Li.set(!0),xt||zt(ue.controls.hideTimeoutCursor)}function bn(){xt||(wi.set(!0),zt(ue.controls.hideTimeoutCursor))}function _n(){Li.set(!1),t(121,Xt=!1),t(120,Yt=!1),ri=!1,C.actions.internal.releaseCamera()}function X(Z){if(di){const _t=Sc(Z.currentTarget),en=a.height,Di=Z.pageY-_t;Di<rr?t(121,Xt=!0):Di>en-rr?t(120,Yt=!0):(t(121,Xt=!1),n||t(120,Yt=!1))}}function bt(Z){X(Z),li||zt(ue.controls.hideTimeoutCursor),s&&ri&&qt&&C.actions.internal.moveCameraFocusPX(qt.clientX-Z.clientX,qt.clientY-Z.clientY,Z.timeStamp-qt.timeStamp),qt=Z}const sn=Z=>{Z.button===0&&(ri=!0,C.actions.internal.holdCamera()),zt(ue.controls.hideTimeoutCursor)},$i=Z=>{Z.button===0&&(qt=Z,ri=!1,C.actions.internal.releaseCamera()),zt(ue.controls.hideTimeoutCursor)},nn=()=>{lt({message:"double click on video"}),dn(),zt(ue.controls.hideTimeoutCursor)},an=()=>{if(o||n){xi();return}if(!(r&&!Ni)){if(St==null||St.focus(),!et){Tt(),zt(ue.controls.hideTimeoutCursor);return}C.actions.internal.togglePlay(),zt(ue.controls.hideTimeoutCursor)}},io=Z=>{xi(),$t.set(!0),zt(ue.controls.hideTimeout),Z&&Wi(ue.controls.hideHotKeyHelpers,Z)},no=()=>{var Z,_t;xi(),(Z=C.callbacks)!=null&&Z.onOpenHotKeyMap?(_t=C.callbacks)==null||_t.onOpenHotKeyMap(l):bi.update(en=>!en)},oo=()=>{if(o||n){xi();return}},lo=()=>{$t.set(!0)};function ro(Z){Ze[Z?"unshift":"push"](()=>{te=Z,t(0,te)})}const so=()=>St==null?void 0:St.focus();function ao(Z){Ei=Z,t(38,Ei)}const uo=()=>St==null?void 0:St.focus();function co(Z){Ze[Z?"unshift":"push"](()=>{St=Z,t(46,St)})}function fo(Z){Ze[Z?"unshift":"push"](()=>{di=Z,t(37,di)})}return i.$$set=Z=>{"store"in Z&&t(115,C=Z.store),"uiConfig"in Z&&t(1,ue=Z.uiConfig),"title"in Z&&t(2,W=Z.title),"thumbUrl"in Z&&t(3,ye=Z.thumbUrl),"videoLogoUrl"in Z&&t(4,D=Z.videoLogoUrl),"videoContainer"in Z&&t(0,te=Z.videoContainer),"interactiveContainer"in Z&&t(116,Me=Z.interactiveContainer),"live"in Z&&t(5,Pe=Z.live),"autoplay"in Z&&t(6,ve=Z.autoplay),"canRewindLive"in Z&&t(7,Ee=Z.canRewindLive),"showAds"in Z&&t(8,Te=Z.showAds),"adsSlotId"in Z&&t(9,K=Z.adsSlotId),"adsParams"in Z&&t(10,H=Z.adsParams),"adsPreviewParam"in Z&&t(11,qe=Z.adsPreviewParam),"duration"in Z&&t(12,Je=Z.duration),"logoClickable"in Z&&t(13,st=Z.logoClickable),"logoHidden"in Z&&t(14,je=Z.logoHidden),"showNextPrevButtons"in Z&&t(15,Re=Z.showNextPrevButtons),"nextButtonActive"in Z&&t(16,ft=Z.nextButtonActive),"prevButtonActive"in Z&&t(17,yt=Z.prevButtonActive),"endScreenVideoTitle"in Z&&t(18,Ne=Z.endScreenVideoTitle),"endScreenVideoThumb"in Z&&t(19,Oe=Z.endScreenVideoThumb),"isOneVideoPlaylist"in Z&&t(20,Ft=Z.isOneVideoPlaylist),"supportLink"in Z&&t(21,me=Z.supportLink),"outerContainerRef"in Z&&t(117,it=Z.outerContainerRef),"playerStarted"in Z&&t(22,et=Z.playerStarted),"fullScreenTarget"in Z&&t(118,xe=Z.fullScreenTarget),"showMiniTimer"in Z&&t(119,Ye=Z.showMiniTimer),"playNextVideo"in Z&&t(23,Xe=Z.playNextVideo),"playPrevVideo"in Z&&t(24,tt=Z.playPrevVideo),"repeatPlaylist"in Z&&t(25,ot=Z.repeatPlaylist),"seekToInteractive"in Z&&t(26,nt=Z.seekToInteractive),"toggleGraph"in Z&&t(27,De=Z.toggleGraph),"playPrevChapter"in Z&&t(28,Nt=Z.playPrevChapter),"firstStart"in Z&&t(29,Tt=Z.firstStart)},i.$$.update=()=>{i.$$.dirty[1]&24|i.$$.dirty[4]&24576&&t(41,Bi=(I===Be.Video&&ce||I===Be.Ads&&re===Zt.INACTIVE)&&!w),i.$$.dirty[4]&4096&&t(122,Qt=z!==at.PlaybackState.PLAYING),i.$$.dirty[3]&939524096|i.$$.dirty[4]&2080&&t(123,li=p&&!(Yt||Xt)&&!(Qt&&!U)),i.$$.dirty[1]&56|i.$$.dirty[3]&1610612736|i.$$.dirty[4]&1042&&Ce.set((Qt||n||g||J||Q)&&!li&&I===Be.Video&&!w),i.$$.dirty[0]&2|i.$$.dirty[1]&28|i.$$.dirty[3]&67108864|i.$$.dirty[4]&512&&t(42,Ui=ue.features.thumbTimer&&Ye&&I===Be.Video&&!b&&!w&&!xt&&(ue.hideThumbTimerAfterTouch&&!V||!ue.hideThumbTimerAfterTouch)),i.$$.dirty[1]&16|i.$$.dirty[4]&264&&t(43,ji=I===Be.Video&&!E&&c),i.$$.dirty[0]&256|i.$$.dirty[1]&8|i.$$.dirty[4]&132&&t(30,yi=(Te&&T||!Te)&&r&&!w),i.$$.dirty[0]&1073741824|i.$$.dirty[1]&4|i.$$.dirty[4]&96&&t(44,Si=A&&!(b||yi)&&!p),i.$$.dirty[0]&2|i.$$.dirty[4]&49&&(!g&&Oi&&!p&&zt(ue.controls.hideTimeoutCursor),t(124,Oi=g)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(45,zi=te&&h%180?a.height/a.width:1)},[te,ue,W,ye,D,Pe,ve,Ee,Te,K,H,qe,Je,st,je,Re,ft,yt,Ne,Oe,Ft,me,et,Xe,tt,ot,nt,De,Nt,Tt,yi,a,h,b,w,I,J,di,Ei,jt,ei,Bi,Ui,ji,Si,zi,St,o,s,f,$,N,ie,q,_,x,ne,Ie,ae,ge,Se,Y,si,dt,Ke,Vt,ut,gi,de,Ce,Ve,It,Jt,Ae,ni,ai,Ht,Vi,Ut,Yi,ui,Ii,ln,oi,rn,Lt,Pi,ci,Mi,Hi,xt,Ci,Ti,$t,fi,bi,wi,ki,hi,Li,dn,xi,vn,gn,bn,_n,bt,sn,$i,nn,an,io,no,oo,lo,C,Me,it,xe,Ye,Yt,Xt,Qt,li,Oi,n,r,c,g,p,A,T,E,V,Q,U,z,re,ce,ro,so,ao,uo,co,fo]}class yg extends ke{constructor(e){super(),we(this,e,kg,_g,_e,{store:115,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:116,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:117,playerStarted:22,fullScreenTarget:118,showMiniTimer:119,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},gg,[-1,-1,-1,-1,-1,-1])}}const Sg=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 Pg(i){Fe(i,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function c1(i){let e,t,n,o,l,r,s,a,c,f,h,g,p,b,A,w=se("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",T;return{c(){e=k("div"),n=R(),o=k("div"),l=k("div"),r=k("div"),a=R(),c=k("div"),h=R(),g=k("div"),b=R(),A=k("p"),T=Ue(w),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(g,"class",p="triangle "+i[0]+" v-nhq2ld"),u(l,"class","triangles-wrapper v-nhq2ld"),u(A,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(E,I){S(E,e,I),S(E,n,I),S(E,o,I),m(o,l),m(l,r),m(l,a),m(l,c),m(l,h),m(l,g),m(o,b),m(o,A),m(A,T)},p(E,I){I&1&&t!==(t="semicircle "+E[0]+" v-nhq2ld")&&u(e,"class",t),I&1&&s!==(s="triangle "+E[0]+" v-nhq2ld")&&u(r,"class",s),I&1&&f!==(f="triangle "+E[0]+" v-nhq2ld")&&u(c,"class",f),I&1&&p!==(p="triangle "+E[0]+" v-nhq2ld")&&u(g,"class",p),I&2&&w!==(w=se("doubletap_seek_step",{seconds:E[1].toFixed(0)})+"")&&$e(T,w)},d(E){E&&(y(e),y(n),y(o))}}}function Cg(i){let e,t,n,o,l=i[2]&&c1(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=Le(e,"click",ct(i[3]())),n=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=c1(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:G,o:G,d(r){r&&y(e),l&&l.d(),n=!1,o()}}}function Tg(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 g=0;return()=>{g+=1,g===1?a=window.setTimeout(()=>{l(),g=0},300):(window.clearTimeout(a),g=0,r(),t(2,s=!0),c=window.setTimeout(()=>{t(2,s=!1)},500))}};return Zo(()=>{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 Pc extends ke{constructor(e){super(),we(this,e,Tg,Cg,_e,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},Pg)}}function Eg(i,e,t){let{playNextVideo:n}=e;return Ki(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class Ag extends ke{constructor(e){super(),we(this,e,Eg,null,_e,{playNextVideo:0})}}const{window:Lg}=R1;function Vg(i){Fe(i,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function f1(i){let e,t,n,o;e=new Pc({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[98],handleSecondClick:i[126]}});let l=!i[47]&&d1(i);return{c(){F(e.$$.fragment),t=R(),l&&l.c(),n=gt()},m(r,s){B(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[47]?l&&(he(),v(l,1,1,()=>{l=null}),pe()):l?(l.p(r,s),s[1]&65536&&d(l,1)):(l=d1(r),l.c(),d(l,1),l.m(n.parentNode,n))},i(r){o||(d(e.$$.fragment,r),d(l),o=!0)},o(r){v(e.$$.fragment,r),v(l),o=!1},d(r){r&&(y(t),y(n)),O(e,r),l&&l.d(r)}}}function d1(i){let e,t;return e=new Pc({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[98],handleSecondClick:i[127]}}),{c(){F(e.$$.fragment)},m(n,o){B(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function m1(i){var n;let e,t;return e=new kc({props:{thumbUrl:i[2],startTime:(n=i[4])==null?void 0:n.startTime}}),{c(){F(e.$$.fragment)},m(o,l){B(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||(d(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){O(e,o)}}}function h1(i){let e,t;return e=new yc({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function p1(i){let e,t,n;return t=new Ou({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"),L(e,"hidden",i[33]!==Be.Ads)},m(o,l){S(o,e,l),B(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]&4)&&L(e,"hidden",o[33]!==Be.Ads)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function v1(i){let e,t;return e=new Ag({props:{playNextVideo:i[22]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[0]&4194304&&(l.playNextVideo=n[22]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function g1(i){let e,t;return e=new vc({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function b1(i){let e,t,n;return t=new x1({props:{ariaLabel:se("video360")}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,l){S(o,e,l),B(t,e,null),n=!0},p:G,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function _1(i){let e,t;return e=new bc({props:{thumbUrl:i[2],chromecastDeviceName:i[50]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.thumbUrl=n[2]),o[1]&524288&&(l.chromecastDeviceName=n[50]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function w1(i){let e,t;return e=new gc({props:{shifted:i[29],captions:i[52],position:i[43],playerSize:i[30],isMobile:!0}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[0]&536870912&&(l.shifted=n[29]),o[1]&2097152&&(l.captions=n[52]),o[1]&4096&&(l.position=n[43]),o[0]&1073741824&&(l.playerSize=n[30]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function k1(i){let e,t;return e=new zu({props:{showControls:i[29]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o[0]&536870912&&(l.showControls=n[29]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function y1(i){let e,t,n,o,l;return t=new _c({}),{c(){e=k("div"),F(t.$$.fragment)},m(r,s){S(r,e,s),B(t,e,null),n=!0,o||(l=Le(e,"click",ct(i[99])),o=!0)},p:G,i(r){n||(d(t.$$.fragment,r),n=!0)},o(r){v(t.$$.fragment,r),n=!1},d(r){r&&y(e),O(t),o=!1,l()}}}function S1(i){let e,t;return e=new Zu({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function P1(i){let e,t;return e=new Hu({}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function C1(i){let e,t,n=i[6]&&i[77]&&!i[46].has(pt.TIMELINE),o,l,r,s,a,c,f,h,g,p,b,A,w,T,E,I,V,Q,J;e=new wc({props:{hidden:i[33]!==Be.Thumb||i[32]||i[88]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let U=n&&f1(i),z=i[33]===Be.WaitingLive&&m1(i),re=i[33]===Be.WaitingRecord&&h1(),ce=i[7]&&i[21]&&p1(i),$=i[40]&&i[17]&&i[18]&&v1(i),N=i[48]&&g1(),ie=i[49]&&b1(),q=i[34]&&_1(i),_=i[51].value!=="off"&&w1(i),x=i[1].features.annotations&&k1(i),ne=i[32]&&y1(i);function Ie(Y){i[128](Y)}let ae={bottomHidden:i[33]===Be.Thumb||i[33]===Be.WaitingLive||i[33]===Be.WaitingRecord||i[33]===Be.Ads,showControls:i[29],bottomNoSmooth:i[44],isAds:i[33]===Be.Ads,canRewindLive:i[6]&&i[53]!==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[38],playNextVideo:i[22],playPrevVideo:i[23],repeatPlaylist:i[24],toggleFullscreen:i[96],seekToInteractive:i[25],toggleGraph:i[26],playPrevChapter:i[27]};i[36]!==void 0&&(ae.controlsElementRef=i[36]),A=new hc({props:ae}),Ze.push(()=>Ct(A,"controlsElementRef",Ie)),E=new Fu({props:{isLive:i[54],isHidden:!i[39],isPlaying:i[55],position:i[43],duration:i[42]}});let ge=i[37]&&S1(),Se=i[56]&&P1();return{c(){F(e.$$.fragment),t=R(),U&&U.c(),o=R(),z&&z.c(),l=R(),re&&re.c(),r=R(),ce&&ce.c(),s=R(),$&&$.c(),a=R(),N&&N.c(),c=R(),ie&&ie.c(),f=R(),q&&q.c(),h=R(),_&&_.c(),g=R(),x&&x.c(),p=R(),ne&&ne.c(),b=R(),F(A.$$.fragment),T=R(),F(E.$$.fragment),I=R(),ge&&ge.c(),V=R(),Se&&Se.c(),Q=gt()},m(Y,C){B(e,Y,C),S(Y,t,C),U&&U.m(Y,C),S(Y,o,C),z&&z.m(Y,C),S(Y,l,C),re&&re.m(Y,C),S(Y,r,C),ce&&ce.m(Y,C),S(Y,s,C),$&&$.m(Y,C),S(Y,a,C),N&&N.m(Y,C),S(Y,c,C),ie&&ie.m(Y,C),S(Y,f,C),q&&q.m(Y,C),S(Y,h,C),_&&_.m(Y,C),S(Y,g,C),x&&x.m(Y,C),S(Y,p,C),ne&&ne.m(Y,C),S(Y,b,C),B(A,Y,C),S(Y,T,C),B(E,Y,C),S(Y,I,C),ge&&ge.m(Y,C),S(Y,V,C),Se&&Se.m(Y,C),S(Y,Q,C),J=!0},p(Y,C){const ue={};C[0]&32|C[1]&6&&(ue.hidden=Y[33]!==Be.Thumb||Y[32]||Y[88]&&Y[5]),C[0]&4&&(ue.thumbUrl=Y[2]),C[0]&268435456&&(ue.startVideo=Y[28]),e.$set(ue),C[0]&64|C[1]&32768&&(n=Y[6]&&Y[77]&&!Y[46].has(pt.TIMELINE)),n?U?(U.p(Y,C),C[0]&64|C[1]&32768&&d(U,1)):(U=f1(Y),U.c(),d(U,1),U.m(o.parentNode,o)):U&&(he(),v(U,1,1,()=>{U=null}),pe()),Y[33]===Be.WaitingLive?z?(z.p(Y,C),C[1]&4&&d(z,1)):(z=m1(Y),z.c(),d(z,1),z.m(l.parentNode,l)):z&&(he(),v(z,1,1,()=>{z=null}),pe()),Y[33]===Be.WaitingRecord?re?C[1]&4&&d(re,1):(re=h1(),re.c(),d(re,1),re.m(r.parentNode,r)):re&&(he(),v(re,1,1,()=>{re=null}),pe()),Y[7]&&Y[21]?ce?(ce.p(Y,C),C[0]&2097280&&d(ce,1)):(ce=p1(Y),ce.c(),d(ce,1),ce.m(s.parentNode,s)):ce&&(he(),v(ce,1,1,()=>{ce=null}),pe()),Y[40]&&Y[17]&&Y[18]?$?($.p(Y,C),C[0]&393216|C[1]&512&&d($,1)):($=v1(Y),$.c(),d($,1),$.m(a.parentNode,a)):$&&(he(),v($,1,1,()=>{$=null}),pe()),Y[48]?N?C[1]&131072&&d(N,1):(N=g1(),N.c(),d(N,1),N.m(c.parentNode,c)):N&&(he(),v(N,1,1,()=>{N=null}),pe()),Y[49]?ie?(ie.p(Y,C),C[1]&262144&&d(ie,1)):(ie=b1(),ie.c(),d(ie,1),ie.m(f.parentNode,f)):ie&&(he(),v(ie,1,1,()=>{ie=null}),pe()),Y[34]?q?(q.p(Y,C),C[1]&8&&d(q,1)):(q=_1(Y),q.c(),d(q,1),q.m(h.parentNode,h)):q&&(he(),v(q,1,1,()=>{q=null}),pe()),Y[51].value!=="off"?_?(_.p(Y,C),C[1]&1048576&&d(_,1)):(_=w1(Y),_.c(),d(_,1),_.m(g.parentNode,g)):_&&(he(),v(_,1,1,()=>{_=null}),pe()),Y[1].features.annotations?x?(x.p(Y,C),C[0]&2&&d(x,1)):(x=k1(Y),x.c(),d(x,1),x.m(p.parentNode,p)):x&&(he(),v(x,1,1,()=>{x=null}),pe()),Y[32]?ne?(ne.p(Y,C),C[1]&2&&d(ne,1)):(ne=y1(Y),ne.c(),d(ne,1),ne.m(b.parentNode,b)):ne&&(he(),v(ne,1,1,()=>{ne=null}),pe());const W={};C[1]&4&&(W.bottomHidden=Y[33]===Be.Thumb||Y[33]===Be.WaitingLive||Y[33]===Be.WaitingRecord||Y[33]===Be.Ads),C[0]&536870912&&(W.showControls=Y[29]),C[1]&8192&&(W.bottomNoSmooth=Y[44]),C[1]&4&&(W.isAds=Y[33]===Be.Ads),C[0]&64|C[1]&4194304&&(W.canRewindLive=Y[6]&&Y[53]!==0),C[0]&4096&&(W.logoClickable=Y[12]),C[0]&8192&&(W.logoHidden=Y[13]),C[0]&8&&(W.videoLogoUrl=Y[3]),C[0]&16384&&(W.showNextPrevButtons=Y[14]),C[0]&32768&&(W.nextButtonActive=Y[15]),C[0]&65536&&(W.prevButtonActive=Y[16]),C[0]&524288&&(W.isOneVideoPlaylist=Y[19]),C[0]&1048576&&(W.supportLink=Y[20]),C[1]&128&&(W.customFullscreenSupported=Y[38]),C[0]&4194304&&(W.playNextVideo=Y[22]),C[0]&8388608&&(W.playPrevVideo=Y[23]),C[0]&16777216&&(W.repeatPlaylist=Y[24]),C[0]&33554432&&(W.seekToInteractive=Y[25]),C[0]&67108864&&(W.toggleGraph=Y[26]),C[0]&134217728&&(W.playPrevChapter=Y[27]),!w&&C[1]&32&&(w=!0,W.controlsElementRef=Y[36],Pt(()=>w=!1)),A.$set(W);const ye={};C[1]&8388608&&(ye.isLive=Y[54]),C[1]&256&&(ye.isHidden=!Y[39]),C[1]&16777216&&(ye.isPlaying=Y[55]),C[1]&4096&&(ye.position=Y[43]),C[1]&2048&&(ye.duration=Y[42]),E.$set(ye),Y[37]?ge?C[1]&64&&d(ge,1):(ge=S1(),ge.c(),d(ge,1),ge.m(V.parentNode,V)):ge&&(he(),v(ge,1,1,()=>{ge=null}),pe()),Y[56]?Se?C[1]&33554432&&d(Se,1):(Se=P1(),Se.c(),d(Se,1),Se.m(Q.parentNode,Q)):Se&&(he(),v(Se,1,1,()=>{Se=null}),pe())},i(Y){J||(d(e.$$.fragment,Y),d(U),d(z),d(re),d(ce),d($),d(N),d(ie),d(q),d(_),d(x),d(ne),d(A.$$.fragment,Y),d(E.$$.fragment,Y),d(ge),d(Se),J=!0)},o(Y){v(e.$$.fragment,Y),v(U),v(z),v(re),v(ce),v($),v(N),v(ie),v(q),v(_),v(x),v(ne),v(A.$$.fragment,Y),v(E.$$.fragment,Y),v(ge),v(Se),J=!1},d(Y){Y&&(y(t),y(o),y(l),y(r),y(s),y(a),y(c),y(f),y(h),y(g),y(p),y(b),y(T),y(I),y(V),y(Q)),O(e,Y),U&&U.d(Y),z&&z.d(Y),re&&re.d(Y),ce&&ce.d(Y),$&&$.d(Y),N&&N.d(Y),ie&&ie.d(Y),q&&q.d(Y),_&&_.d(Y),x&&x.d(Y),ne&&ne.d(Y),O(A,Y),O(E,Y),ge&&ge.d(Y),Se&&Se.d(Y)}}}function Ig(i){let e,t,n,o,l,r=i[45],s,a,c,f=C1(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=R(),f.c(),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${i[31]}deg) scale(${i[41]})`),L(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),L(t,"hidden",i[33]!==Be.Video),u(e,"class","player-wrapper v-1jy89ut")},m(h,g){S(h,e,g),m(e,t),m(t,n),i[125](n),m(e,l),f.m(e,null),i[129](e),s=!0,a||(c=[Le(Lg,"blur",i[97]),Le(t,"click",pi(i[98])),Le(e,"click",i[100],!0),Le(e,"focusin",i[101],!0)],a=!0)},p(h,g){(!s||g[1]&1025&&o!==(o=`transform: rotate(${h[31]}deg) scale(${h[41]})`))&&u(n,"style",o),(!s||g[0]&2)&&L(n,"fast-rotate",!h[1].isSmoothVideoRotate),(!s||g[1]&4)&&L(t,"hidden",h[33]!==Be.Video),g[1]&16384&&_e(r,r=h[45])?(he(),v(f,1,1,G),pe(),f=C1(h),f.c(),d(f,1),f.m(e,null)):f.p(h,g)},i(h){s||(d(f),s=!0)},o(h){v(f),s=!1},d(h){h&&y(e),i[125](null),f.d(h),i[129](null),a=!1,Kt(c)}}}function Mg(i,e,t){let n,o,l,r,s,a,c,f,h,g,p,b,A,w,T,E,I,V,Q,J,U,z,re,ce,$,N,ie,q,_,x,ne,Ie,ae,ge,Se,Y,{store:C}=e,{uiConfig:ue}=e,{thumbUrl:W}=e,{videoLogoUrl:ye}=e,{videoContainer:D}=e,{interactiveContainer:te}=e,{live:Me}=e,{autoplay:Pe}=e,{canRewindLive:ve}=e,{showAds:Ee}=e,{adsSlotId:Te=void 0}=e,{adsParams:K=void 0}=e,{adsPreviewParam:H=void 0}=e,{duration:qe=void 0}=e,{logoClickable:Je}=e,{logoHidden:st}=e,{showNextPrevButtons:je=!1}=e,{nextButtonActive:Re=!1}=e,{prevButtonActive:ft=!1}=e,{endScreenVideoTitle:yt=void 0}=e,{endScreenVideoThumb:Ne=void 0}=e,{isOneVideoPlaylist:Oe=!1}=e,{supportLink:Ft}=e,{outerContainerRef:me=void 0}=e,{showMiniTimer:it=!1}=e,{fullScreenTarget:et=void 0}=e,{playerStarted:xe=!1}=e,{playNextVideo:Ye=le.noop}=e,{playPrevVideo:Xe=le.noop}=e,{repeatPlaylist:tt=le.noop}=e,{seekToInteractive:ot}=e,{toggleGraph:nt}=e,{playPrevChapter:De}=e,{firstStart:Nt}=e,{seekTime:Tt}=e;const lt=C.getLogger().createComponentLog("Root component"),si=C.interfaceLanguage$;j(i,si,X=>t(45,$=X));const dt=C.state.playbackState$;j(i,dt,X=>t(122,z=X));const Ke=C.ads.playbackState;j(i,Ke,X=>t(123,re=X));const Vt=C.state.positionWithScrubbing$;j(i,Vt,X=>t(43,r=X));const ut=C.state.duration$;j(i,ut,X=>t(42,l=X));const gi=C.playerPhase;j(i,gi,X=>t(33,V=X));const de=C.ui.isFullscreen;j(i,de,X=>t(135,a=X));const Ce=C.ui.controlsVisible;j(i,Ce,X=>t(29,o=X));const Ve=C.ui.interactiveHideMobileControls;j(i,Ve,X=>t(114,g=X));const It=C.ui.settingsMenuVisible;j(i,It,X=>t(113,n=X));const Jt=C.ui.scrubbingInProgress;j(i,Jt,X=>t(115,b=X));const Ae=C.ui.debugPanelVisible;j(i,Ae,X=>t(56,Y=X));const ni=C.state.isLoaderVisible;j(i,ni,X=>t(124,ce=X));const ai=C.state.isEnded$;j(i,ai,X=>t(117,T=X));const Ht=C.state.chromecastConnected$;j(i,Ht,X=>t(34,Q=X));const Vi=C.state.chromecastDeviceName$;j(i,Vi,X=>t(50,x=X));const Ut=C.ads.postrollPassed;j(i,Ut,X=>t(118,E=X));const Yi=C.ui.mobileUnmuteButtonExpanded,ui=C.ui.mobileUnmuteButtonVisible,Ii=C.state.isLive$;j(i,Ii,X=>t(54,ge=X));const Et=C.state.isPlaying$;j(i,Et,X=>t(55,Se=X));const ln=C.state.isActiveLive$;j(i,ln,X=>t(47,ie=X));const oi=C.state.isRewindableLive$,rn=C.state.crashed$;j(i,rn,X=>t(32,w=X));const Lt=C.webApi.pictureInPictureApi,Pi=C.state.videoSize$;j(i,Pi,X=>t(136,f=X));const ci=C.state.currentSubtitle$;j(i,ci,X=>t(51,ne=X));const Mi=C.state.currentSubtitleCaptions$;j(i,Mi,X=>t(52,Ie=X));const Hi=C.state.duration$;j(i,Hi,X=>t(53,ae=X));const xt=C.state.graphIsOpened$;j(i,xt,X=>t(121,U=X));const Ci=C.ui.playerSize;j(i,Ci,X=>t(30,c=X));const Ti=C.ui.is3DVideo;j(i,Ti,X=>t(48,q=X));const Ni=C.ui.icon3DVideoVisible;j(i,Ni,X=>t(49,_=X));const $t=C.ui.rotateAlpha;j(i,$t,X=>t(31,p=X));const fi=C.state.isInteractive,bi=C.state.isInteractiveTime$;j(i,bi,X=>t(116,A=X));const di=C.state.isInteractiveExpectation$;j(i,di,X=>t(120,J=X));const Ei=C.state.hasInteractiveBranches,jt=C.ui.controls.disabledControls$;j(i,jt,X=>t(46,N=X));const ei=C.ui.touched;j(i,ei,X=>t(119,I=X));const Ri=C.ui.clientInfo$;j(i,Ri,X=>t(134,s=X));let mi,_i,Bi,wi,Ai,ki;const hi=He(!1);j(i,hi,X=>t(44,h=X));let Li,Yt=!1,Xt,Qt=!1,li,Ui=!0,ji,yi,Si=!1,Oi;Lt==null||Lt.setContext(z1());const zi=X=>{clearTimeout(wi),X&&(ui.set(!0),Yi.set(!0),wi=window.setTimeout(()=>{Yi.set(!1)},ue.controls.collapseMobileUnmute),fi||qt(ue.controls.hideTimeoutMobile))};C.setUiCallbacks({onStarted:zi});const ri=()=>{window.clearTimeout(Bi),t(108,Yt=!1),g&&Ve.set(!1)},qt=X=>{ri(),t(108,Yt=!0),Bi=window.setTimeout(()=>t(108,Yt=!1),X);const bt=X-100;Li=window.setTimeout(()=>{h&&hi.set(!1)},bt>0?bt:X)},St=Ti.subscribe(X=>{Ni.set(X),X&&(window.clearTimeout(Ai),Ai=window.setTimeout(()=>Ni.set(!1),ue.controls.hide360IconTimeout))}),Xi=()=>Bn(this,null,function*(){var bt,sn,$i,nn;const X=bo();if(X){qt(ue.controls.hideTimeoutFullscreen);try{yield Lt==null?void 0:Lt.remove()}catch(an){lt({message:String(an)})}try{const an=f!=null&&f.width&&(f!=null&&f.height)?f:c;yield t4(an)}catch(an){lt({message:String(an)})}}de.set(X),C.getAdmanWrapper().setFullscreen(X),a?(sn=(bt=C.callbacks)==null?void 0:bt.onFullscreenEnter)==null||sn.call(bt):(nn=($i=C.callbacks)==null?void 0:$i.onFullscreenExit)==null||nn.call($i)}),Qi=X=>{const bt=X;Ci.set({width:bt.target.width,height:bt.target.height})};Ki(()=>{var bt;return Ru(Xi),qo(Lt)&&(Lt==null||Lt.assignPlayerContainer(mi),Lt==null||Lt.registryExternalEventHandlers({resize:Qi})),t(38,Ui=!Sg(s)),te&&((bt=D.parentElement)==null||bt.insertBefore(te,D.nextSibling)),()=>{window.clearTimeout(Bi),window.clearTimeout(Li),window.clearTimeout(wi),window.clearTimeout(Ai),St(),Lt==null||Lt.dispose(),Bu(Xi)}});const qi=X=>{let bt=r+(X==="forward"?1:-1)*ue.controls.seekStepMobile/1e3;bt<0?bt=0:bt>l&&(bt=l-1),t(110,Qt=!0),Tt(bt)},zt=()=>Bn(this,null,function*(){if(bo())yield Nu(document),lt({message:"exit fullscreen"});else{lt({message:"request fullscreen"});const X=me!=null?me:mi,bt=X.getRootNode(),sn=bt instanceof ShadowRoot?bt.host:bt,$i=et instanceof HTMLElement&&et.contains(sn),nn=ue.allowChangingFullscreenTarget&&et&&$i?et:X;yield Mu(nn)}}),Wi=()=>{It.set(!1)},Ji=()=>{if(n){Wi();return}if(!xe){Nt(),qt(ue.controls.hideTimeoutCursor);return}t(110,Qt=!1),o?ri():qt(ue.controls.hideTimeoutMobile)},Rt=()=>{if(n){Wi();return}},fe=()=>{ei.set(!0)},dn=()=>{fi||(hi.set(!0),qt(ue.controls.hideTimeoutCursor))};function xi(X){Ze[X?"unshift":"push"](()=>{D=X,t(0,D)})}const vn=()=>qi("backward"),gn=()=>qi("forward");function bn(X){_i=X,t(36,_i)}function _n(X){Ze[X?"unshift":"push"](()=>{mi=X,t(35,mi)})}return i.$$set=X=>{"store"in X&&t(102,C=X.store),"uiConfig"in X&&t(1,ue=X.uiConfig),"thumbUrl"in X&&t(2,W=X.thumbUrl),"videoLogoUrl"in X&&t(3,ye=X.videoLogoUrl),"videoContainer"in X&&t(0,D=X.videoContainer),"interactiveContainer"in X&&t(103,te=X.interactiveContainer),"live"in X&&t(4,Me=X.live),"autoplay"in X&&t(5,Pe=X.autoplay),"canRewindLive"in X&&t(6,ve=X.canRewindLive),"showAds"in X&&t(7,Ee=X.showAds),"adsSlotId"in X&&t(8,Te=X.adsSlotId),"adsParams"in X&&t(9,K=X.adsParams),"adsPreviewParam"in X&&t(10,H=X.adsPreviewParam),"duration"in X&&t(11,qe=X.duration),"logoClickable"in X&&t(12,Je=X.logoClickable),"logoHidden"in X&&t(13,st=X.logoHidden),"showNextPrevButtons"in X&&t(14,je=X.showNextPrevButtons),"nextButtonActive"in X&&t(15,Re=X.nextButtonActive),"prevButtonActive"in X&&t(16,ft=X.prevButtonActive),"endScreenVideoTitle"in X&&t(17,yt=X.endScreenVideoTitle),"endScreenVideoThumb"in X&&t(18,Ne=X.endScreenVideoThumb),"isOneVideoPlaylist"in X&&t(19,Oe=X.isOneVideoPlaylist),"supportLink"in X&&t(20,Ft=X.supportLink),"outerContainerRef"in X&&t(104,me=X.outerContainerRef),"showMiniTimer"in X&&t(105,it=X.showMiniTimer),"fullScreenTarget"in X&&t(106,et=X.fullScreenTarget),"playerStarted"in X&&t(21,xe=X.playerStarted),"playNextVideo"in X&&t(22,Ye=X.playNextVideo),"playPrevVideo"in X&&t(23,Xe=X.playPrevVideo),"repeatPlaylist"in X&&t(24,tt=X.repeatPlaylist),"seekToInteractive"in X&&t(25,ot=X.seekToInteractive),"toggleGraph"in X&&t(26,nt=X.toggleGraph),"playPrevChapter"in X&&t(27,De=X.playPrevChapter),"firstStart"in X&&t(28,Nt=X.firstStart),"seekTime"in X&&t(107,Tt=X.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&6|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&1&&t(37,ki=(V===Be.Video&&ce||V===Be.Ads&&re===Zt.INACTIVE)&&!w),i.$$.dirty[3]&536870912&&t(109,Xt=z!==at.PlaybackState.PLAYING),i.$$.dirty[3]&421625856&&t(111,li=U||g||!Yt&&(T&&!!Ei||Xt&&J)),i.$$.dirty[1]&14|i.$$.dirty[3]&5734400&&Ce.set((Xt||n||b||Q||Yt&&!Qt)&&!li&&V===Be.Video&&!w),i.$$.dirty[0]&536870914|i.$$.dirty[1]&6|i.$$.dirty[3]&67112960&&t(39,ji=ue.features.thumbTimer&&it&&V===Be.Video&&!o&&!w&&!fi&&(ue.hideThumbTimerAfterTouch&&!I||!ue.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&2|i.$$.dirty[3]&50331648&&t(40,yi=(Ee&&E||!Ee)&&T&&!w),i.$$.dirty[0]&2|i.$$.dirty[3]&13107200&&(!b&&Si&&!A&&qt(ue.controls.hideTimeoutMobile),t(112,Si=b)),i.$$.dirty[0]&1073741825|i.$$.dirty[1]&1&&t(41,Oi=D&&p%180?c.height/c.width:1)},[D,ue,W,ye,Me,Pe,ve,Ee,Te,K,H,qe,Je,st,je,Re,ft,yt,Ne,Oe,Ft,xe,Ye,Xe,tt,ot,nt,De,Nt,o,c,p,w,V,Q,mi,_i,ki,Ui,ji,yi,Oi,l,r,h,$,N,ie,q,_,x,ne,Ie,ae,ge,Se,Y,si,dt,Ke,Vt,ut,gi,de,Ce,Ve,It,Jt,Ae,ni,ai,Ht,Vi,Ut,Ii,Et,ln,oi,rn,Pi,ci,Mi,Hi,xt,Ci,Ti,Ni,$t,fi,bi,di,jt,ei,Ri,hi,qi,zt,Wi,Ji,Rt,fe,dn,C,te,me,it,et,Tt,Yt,Xt,Qt,li,Si,n,g,b,A,T,E,I,J,U,z,re,ce,xi,vn,gn,bn,_n]}class Ng extends ke{constructor(e){super(),we(this,e,Mg,Ig,_e,{store:102,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:103,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:104,showMiniTimer:105,fullScreenTarget:106,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:107},Vg,[-1,-1,-1,-1,-1])}}function Rg(i){Fe(i,"v-xu043z",`.root.v-xu043z{--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 Fg(i){let e,t,n;function o(s){i[54](s)}let l={store:i[0],uiConfig:i[35],title:i[1],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36]};return i[33]!==void 0&&(l.videoContainer=i[33]),e=new Tg({props:l}),qe.push(()=>St(e,"videoContainer",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[0]&1&&(a.store=s[0]),r[0]&2&&(a.title=s[1]),r[0]&4&&(a.thumbUrl=s[2]),r[0]&8&&(a.videoLogoUrl=s[3]),r[0]&16&&(a.interactiveContainer=s[4]),r[0]&32&&(a.live=s[5]),r[0]&64&&(a.autoplay=s[6]),r[0]&128&&(a.canRewindLive=s[7]),r[0]&256&&(a.showAds=s[8]),r[0]&512&&(a.adsSlotId=s[9]),r[0]&1024&&(a.adsParams=s[10]),r[0]&2048&&(a.adsPreviewParam=s[11]),r[0]&4096&&(a.duration=s[12]),r[0]&8192&&(a.logoClickable=s[13]),r[0]&16384&&(a.logoHidden=s[14]),r[0]&65536&&(a.showNextPrevButtons=s[16]),r[0]&131072&&(a.nextButtonActive=s[17]),r[0]&262144&&(a.prevButtonActive=s[18]),r[0]&524288&&(a.endScreenVideoTitle=s[19]),r[0]&1048576&&(a.endScreenVideoThumb=s[20]),r[0]&2097152&&(a.isOneVideoPlaylist=s[21]),r[0]&4194304&&(a.supportLink=s[22]),r[0]&8388608&&(a.outerContainerRef=s[23]),r[0]&16777216&&(a.fullScreenTarget=s[24]),r[0]&33554432&&(a.showMiniTimer=s[25]),r[1]&8&&(a.playerStarted=s[34]),r[0]&67108864&&(a.playNextVideo=s[26]),r[0]&134217728&&(a.playPrevVideo=s[27]),r[0]&268435456&&(a.repeatPlaylist=s[28]),r[0]&536870912&&(a.seekToInteractive=s[29]),r[0]&1073741824&&(a.toggleGraph=s[30]),r[1]&1&&(a.playPrevChapter=s[31]),!t&&r[1]&4&&(t=!0,a.videoContainer=s[33],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function Hg(i){let e,t,n;function o(s){i[53](s)}let l={store:i[0],uiConfig:i[35],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36],seekTime:i[32]};return i[33]!==void 0&&(l.videoContainer=i[33]),e=new zg({props:l}),qe.push(()=>St(e,"videoContainer",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[0]&1&&(a.store=s[0]),r[0]&4&&(a.thumbUrl=s[2]),r[0]&8&&(a.videoLogoUrl=s[3]),r[0]&16&&(a.interactiveContainer=s[4]),r[0]&32&&(a.live=s[5]),r[0]&64&&(a.autoplay=s[6]),r[0]&128&&(a.canRewindLive=s[7]),r[0]&256&&(a.showAds=s[8]),r[0]&512&&(a.adsSlotId=s[9]),r[0]&1024&&(a.adsParams=s[10]),r[0]&2048&&(a.adsPreviewParam=s[11]),r[0]&4096&&(a.duration=s[12]),r[0]&8192&&(a.logoClickable=s[13]),r[0]&16384&&(a.logoHidden=s[14]),r[0]&65536&&(a.showNextPrevButtons=s[16]),r[0]&131072&&(a.nextButtonActive=s[17]),r[0]&262144&&(a.prevButtonActive=s[18]),r[0]&524288&&(a.endScreenVideoTitle=s[19]),r[0]&1048576&&(a.endScreenVideoThumb=s[20]),r[0]&2097152&&(a.isOneVideoPlaylist=s[21]),r[0]&4194304&&(a.supportLink=s[22]),r[0]&8388608&&(a.outerContainerRef=s[23]),r[0]&16777216&&(a.fullScreenTarget=s[24]),r[0]&33554432&&(a.showMiniTimer=s[25]),r[1]&8&&(a.playerStarted=s[34]),r[0]&67108864&&(a.playNextVideo=s[26]),r[0]&134217728&&(a.playPrevVideo=s[27]),r[0]&268435456&&(a.repeatPlaylist=s[28]),r[0]&536870912&&(a.seekToInteractive=s[29]),r[0]&1073741824&&(a.toggleGraph=s[30]),r[1]&1&&(a.playPrevChapter=s[31]),!t&&r[1]&4&&(t=!0,a.videoContainer=s[33],yt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function Ug(i){let e,t,n,o;const l=[Hg,Fg],s=[];function r(a,c){return a[15]?0:1}return t=r(i),n=s[t]=l[t](i),{c(){e=_("div"),n.c(),u(e,"class","root v-labq99")},m(a,c){y(a,e,c),s[t].m(e,null),o=!0},p(a,c){let f=t;t=r(a),t===f?s[t].p(a,c):(he(),v(s[f],1,1,()=>{s[f]=null}),pe(),n=s[t],n?n.p(a,c):(n=s[t]=l[t](a),n.c()),d(n,1),n.m(e,null))},i(a){o||(d(n),o=!0)},o(a){v(n),o=!1},d(a){a&&k(e),s[t].d()}}}function jg(i,e,t){let{sources:n}=e,{store:o}=e,{uiConfig:l}=e,{title:s}=e,{thumbUrl:r}=e,{videoLogoUrl:a}=e,{interactiveContainer:c}=e,{subtitles:f}=e,{live:h}=e,{preload:g}=e,{autoplay:p}=e,{volume:b=void 0}=e,{muted:L=void 0}=e,{fromTime:w}=e,{canRewindLive:A}=e,{showAds:C}=e,{adsSlotId:I=void 0}=e,{adsParams:M=void 0}=e,{adsPreviewParam:J=void 0}=e,{duration:G=void 0}=e,{logoClickable:Y}=e,{logoHidden:z}=e,{isMobile:ae}=e,{showNextPrevButtons:te=!1}=e,{nextButtonActive:X=!1}=e,{prevButtonActive:T=!1}=e,{endScreenVideoTitle:j=void 0}=e,{endScreenVideoThumb:ue=void 0}=e,{isOneVideoPlaylist:S=!1}=e,{supportLink:$}=e,{outerContainerRef:le=void 0}=e,{fullScreenTarget:Ce=void 0}=e,{failoverHosts:ve=void 0}=e,{showMiniTimer:Ae=!1}=e,{playNextVideo:Se=oe.noop}=e,{playPrevVideo:U=oe.noop}=e,{repeatPlaylist:E=oe.noop}=e,{seekToInteractive:re=oe.noop}=e,{toggleGraph:q=oe.noop}=e,{playPrevChapter:Ee=oe.noop}=e;n0(l);const O=Xi(),K=o.ui.debugPanelVisible,Me=o.ui.playerSize;let Pe,ge=null,ee=!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}),c0(o);const ce=(me=!1)=>{t(34,ee=!0),me?o.actions.external.firstStart(C):o.actions.internal.firstStart(C)};function be(me){var et;const tt=n||me;tt&&o.initVideo({container:Pe,sources:tt,failoverHosts:ve,subtitles:f});const $e=oe.safeStorage.get(Al)==="true";K.set($e),w>0&&o.actions.external.seekTime(w);const Je=ae?O.volumeDefault:(et=b!=null?b:Z1())!=null?et:O.volumeDefault,Ke=L!=null?L:v0();if(o.actions.external.setVolume(Je),o.actions.external.setMuted(Ke),o.getAdmanWrapper().setInitialVolume(Ke?0:Je),O.features.trafficSaving){const lt=b0();lt&&o.actions.internal.setTrafficSavingEnabled(lt)}const Ye=p0(o.videoId);Ye&&o.actions.internal.setQuality(Ye),o.ui.isAutoplay.set(p),p?ce():g&&O.features.preload&&o.actions.internal.preload()}const se=me=>{if(window.ResizeObserver){let tt,$e;ge=new ResizeObserver(oe.debounceFn(Je=>{const Ke=Je[0];if(Ke){if(Ke.contentBoxSize){const Ye=Array.isArray(Ke.contentBoxSize)?Ke.contentBoxSize[0]:Ke.contentBoxSize;tt=Ye.inlineSize,$e=Ye.blockSize}else Ke.contentRect&&(tt=Ke.contentRect.width,$e=Ke.contentRect.height);Me.set({width:tt,height:$e})}},O1)),ge.observe(me)}Me.set({width:me.clientWidth,height:me.clientHeight})};Qi(()=>{if(se(Pe),(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 be(),()=>{ge==null||ge.disconnect(),o.destroy()}});function Ge(){ee?o.actions.external.play():ce(!0)}function Ue(){o.actions.external.pause()}function ut(me){ae||o.actions.external.setMuted(me)}function nt(me){ae||me>=0&&me<=1&&o.actions.external.setVolume(me)}function ze(me){o.actions.internal.seekTime(me,bt.SeekAction.UNKNOWN)}function dt(me){o.actions.external.seekEpisodeStartTime(me)}function kt(me){o.actions.external.setPlaybackRate(me)}function Ne(me){o.actions.external.setAutoQualityLimits(me)}function Be(me){Pe=me,t(33,Pe)}function zt(me){Pe=me,t(33,Pe)}return i.$$set=me=>{"sources"in me&&t(37,n=me.sources),"store"in me&&t(0,o=me.store),"uiConfig"in me&&t(38,l=me.uiConfig),"title"in me&&t(1,s=me.title),"thumbUrl"in me&&t(2,r=me.thumbUrl),"videoLogoUrl"in me&&t(3,a=me.videoLogoUrl),"interactiveContainer"in me&&t(4,c=me.interactiveContainer),"subtitles"in me&&t(39,f=me.subtitles),"live"in me&&t(5,h=me.live),"preload"in me&&t(40,g=me.preload),"autoplay"in me&&t(6,p=me.autoplay),"volume"in me&&t(41,b=me.volume),"muted"in me&&t(42,L=me.muted),"fromTime"in me&&t(43,w=me.fromTime),"canRewindLive"in me&&t(7,A=me.canRewindLive),"showAds"in me&&t(8,C=me.showAds),"adsSlotId"in me&&t(9,I=me.adsSlotId),"adsParams"in me&&t(10,M=me.adsParams),"adsPreviewParam"in me&&t(11,J=me.adsPreviewParam),"duration"in me&&t(12,G=me.duration),"logoClickable"in me&&t(13,Y=me.logoClickable),"logoHidden"in me&&t(14,z=me.logoHidden),"isMobile"in me&&t(15,ae=me.isMobile),"showNextPrevButtons"in me&&t(16,te=me.showNextPrevButtons),"nextButtonActive"in me&&t(17,X=me.nextButtonActive),"prevButtonActive"in me&&t(18,T=me.prevButtonActive),"endScreenVideoTitle"in me&&t(19,j=me.endScreenVideoTitle),"endScreenVideoThumb"in me&&t(20,ue=me.endScreenVideoThumb),"isOneVideoPlaylist"in me&&t(21,S=me.isOneVideoPlaylist),"supportLink"in me&&t(22,$=me.supportLink),"outerContainerRef"in me&&t(23,le=me.outerContainerRef),"fullScreenTarget"in me&&t(24,Ce=me.fullScreenTarget),"failoverHosts"in me&&t(44,ve=me.failoverHosts),"showMiniTimer"in me&&t(25,Ae=me.showMiniTimer),"playNextVideo"in me&&t(26,Se=me.playNextVideo),"playPrevVideo"in me&&t(27,U=me.playPrevVideo),"repeatPlaylist"in me&&t(28,E=me.repeatPlaylist),"seekToInteractive"in me&&t(29,re=me.seekToInteractive),"toggleGraph"in me&&t(30,q=me.toggleGraph),"playPrevChapter"in me&&t(31,Ee=me.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(ae)},[o,s,r,a,c,h,p,A,C,I,M,J,G,Y,z,ae,te,X,T,j,ue,S,$,le,Ce,Ae,Se,U,E,re,q,Ee,ze,Pe,ee,O,ce,n,l,f,g,b,L,w,ve,be,Ge,Ue,ut,nt,dt,kt,Ne,Be,zt]}class qg extends ye{constructor(e){super(),ke(this,e,jg,Ug,we,{sources:37,store:0,uiConfig:38,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:39,live:5,preload:40,autoplay:6,volume:41,muted:42,fromTime:43,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:44,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:45,play:46,pause:47,setMuted:48,setVolume:49,seekTime:32,seekEpisodeStartTime:50,setPlaybackRate:51,setAutoQualityLimits:52},Dg,[-1,-1])}get initVideo(){return this.$$.ctx[45]}get play(){return this.$$.ctx[46]}get pause(){return this.$$.ctx[47]}get setMuted(){return this.$$.ctx[48]}get setVolume(){return this.$$.ctx[49]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[50]}get setPlaybackRate(){return this.$$.ctx[51]}get setAutoQualityLimits(){return this.$$.ctx[52]}}function Wg(i){let e,t;return{c(){e=N("svg"),t=N("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){y(n,e,o),m(e,t)},p(n,[o]){o&1&&u(t,"fill",n[0])},i:Z,o:Z,d(n){n&&k(e)}}}function Zg(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 Gg extends ye{constructor(e){super(),ke(this,e,Zg,Wg,we,{isWhite:1})}}function Kg(i){Fe(i,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function S1(i){let e,t;return{c(){e=_("div"),t=He(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){y(n,e,o),m(e,t)},p(n,o){o&1&&xe(t,n[0])},d(n){n&&k(e)}}}function C1(i){let e,t;return e=new Gg({props:{isWhite:!!i[1]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.isWhite=!!n[1]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Yg(i){let e,t,n,o,l=i[0]&&S1(i),s=(!i[0]||!i[1])&&C1(i);return{c(){e=_("div"),l&&l.c(),t=B(),s&&s.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(r,a){y(r,e,a),l&&l.m(e,null),m(e,t),s&&s.m(e,null),o=!0},p(r,[a]){r[0]?l?l.p(r,a):(l=S1(r),l.c(),l.m(e,t)):l&&(l.d(1),l=null),!r[0]||!r[1]?s?(s.p(r,a),a&3&&d(s,1)):(s=C1(r),s.c(),d(s,1),s.m(e,null)):s&&(he(),v(s,1,1,()=>{s=null}),pe()),(!o||a&2&&n!==(n=r[1]?`background-image: url('${r[1]}')`:""))&&u(e,"style",n)},i(r){o||(d(s),o=!0)},o(r){v(s),o=!1},d(r){r&&k(e),l&&l.d(),s&&s.d()}}}function Qg(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 Xg extends ye{constructor(e){super(),ke(this,e,Qg,Yg,we,{title:0,thumbUrl:1},Kg)}}class P1{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 s=n[o];try{s.callback.call(this,e)}catch(r){Promise.resolve().then(()=>{throw r})}s.options&&s.options.once&&this.removeEventListener(e.type,s.callback)}return!e.defaultPrevented}}class yc extends P1{constructor(){super(),this.listeners||P1.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 Jg=class{constructor(){Object.defineProperty(this,"signal",{value:new yc,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&&(Jg.prototype[Symbol.toStringTag]="AbortController",yc.prototype[Symbol.toStringTag]="AbortSignal");function Sc(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 xg(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!Sc({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 g=new t(c,f);return h&&Object.defineProperty(g,"signal",{writable:!1,enumerable:!1,configurable:!0,value:h}),g},l.prototype=t.prototype);const s=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(p){h=new Error("Aborted"),h.name="AbortError"}if(f.aborted)return Promise.reject(h);const g=new Promise((p,b)=>{f.addEventListener("abort",()=>b(h),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([g,s(a,c)])}return s(a,c)},Request:l}}const Yl=Sc({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),Cc=Yl?xg({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,$g=Yl?Cc.fetch:window.fetch;Yl?Cc.Request:window.Request;const e6=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,t6="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class i6{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 oe.Subject,started$:new oe.Subject,paused$:new oe.Subject,resumed$:new oe.Subject,ended$:new oe.Subject,skipped$:new oe.Subject,clicked$:new oe.Subject},this.loadAdman=n=>new Promise((o,l)=>{let s;const r=()=>{clearTimeout(s),delete window.admanAsyncInit,window.AdmanHTML?o():l()};oe.addScript(t6,n,this.loadTimeout).then(()=>{window.AdmanHTML?o():(window.admanAsyncInit=r,s=window.setTimeout(r,this.initTimeout))}).catch(()=>{l()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,o)=>{oe.assertNonNullable(this.adsState),oe.assertNonNullable(this.playerState),oe.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"}),rt(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(o.duration),this.adsState.playbackState.set(Wt.PLAYING),this.adsState.canSkip.set(o.allowClose),this.adsState.secondsToWatchBeforeSkip.set(o.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{oe.assertNonNullable(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{oe.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Wt.PAUSED)},this.onAdPlayed=()=>{oe.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Wt.PLAYING)},this.onAdMidrollPoint=()=>{oe.assertNonNullable(this.adman),oe.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=vn.Midroll,this.adman.start(vn.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:s,adsVideoElement:r,slotId:a,params:c={},duration:f,previewParam:h}=e;let g;const p=this.playerState&&rt(this.playerState.vsid);p&&(g=parseInt(p,36));const b=Object.assign(Object.assign(Object.assign({dl:encodeURIComponent(window.location.href),autoplay:l,player_width:t,player_height:n,puid10:e6(t,n),puid11:o?0:1,preview:h},g?{request_id:g}:{}),{duration:f}),c),L={slot:a,wrapper:s,videoEl:r,videoQuality:n,params:b,browser:{mobile:!1}},w=new window.AdmanHTML;w.setDebug(!1),w.onReady(this.onAdsReady),w.onStarted(this.onAdStarted),w.onPlayed(this.onAdPlayed),w.onPaused(this.onAdPaused),w.adMidrollPoint(this.onAdMidrollPoint),w.onClosed(this.onAdClosed),w.onSkipped(this.onAdSkipped),w.onClicked(this.onAdClicked),w.onTimeRemained(this.onAdTimeRemained),w.onCompleted(this.onAdCompleted),w.onError(this.onAdError),w.init(L),this.adman=w,this.videoElement=r,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(L)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}oe.assertNonNullable(this.actions),oe.assertNonNullable(this.adsState),oe.assertNonNullable(this.playerState);const t=this.currentAdSection===vn.Postroll;this.adsState.playbackState.set(Wt.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(){oe.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=rt(this.adsState.playbackState);e===Wt.PLAYING?this.pause():e===Wt.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(){oe.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=vn.Preroll,this.adman.start(vn.Preroll)}startPostroll(){oe.assertNonNullable(this.adman),oe.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=vn.Postroll,this.adman.start(vn.Postroll)}play(){oe.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){oe.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){oe.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 n6=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 o6{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:""},s=o.split(this.oneLineRegExp);for(const r of s)if(!l.startTime&&!l.endTime){const a=new Pc,{startTime:c,endTime:f}=a.parse(r);l.startTime=c,l.endTime=f}else if(r.trim()!==""){const a=new l6,{texts:c}=a.parse(r);l.texts=[...l.texts,...c]}(l.startTime||l.endTime)&&l.texts.length>0&&t.push(l)}return t}}class Pc{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,s=Number(t)*60,r=Number(n),a=+`0.${o}`;return l+s+r+a}}class l6{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](s){let r=0;const a=[];for(;r<s.length;){const c=["<",">"].reduce((f,h)=>{const g=s.indexOf(h,r);return f===-1||f>g?g:f},-1);if(c===-1){a.push(s.substring(r));break}a.push(s.substring(r,c)),r=c+1}return a}}),l=new Pc;for(const s of o)l.isTime(s)?t.texts.push({type:"timestamp",value:l.parseTime(s)}):t.texts.push({type:"text",value:s});return t}}let An,Nt,yl=0,Sl=!1;const s6=(i,e,t)=>{var n;const o=i>=yl,l=i<yl,s=(f,h=0,g=0)=>f<h&&f<g,r=(f,h=0,g=0)=>f>=h&&f<=g,a=(f,h=0,g=0)=>f>h&&f>g,c=(n=t.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(yl=i,l&&(Sl=!1),oe.isNonNullable(An)&&r(i,An.startTime,An.endTime)&&An.lang===e.value)return An;if(!oe.isNonNullable(Nt)&&(c!=null&&c.length)&&!Sl){const f=c.find(({startTime:h,endTime:g})=>r(i,h,g)||o&&s(i,h,g));Nt=f&&Object.assign(Object.assign({},f),{lang:e.value}),An=void 0,!oe.isNonNullable(Nt)&&c[c.length-1].endTime<i&&(Sl=!0);return}else{if(r(i,Nt==null?void 0:Nt.startTime,Nt==null?void 0:Nt.endTime))return An=Nt,Nt=void 0,An;(o&&a(i,Nt==null?void 0:Nt.startTime,Nt==null?void 0:Nt.endTime)||l&&s(i,Nt==null?void 0:Nt.startTime,Nt==null?void 0:Nt.endTime))&&(Nt=void 0)}},Cl={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 Oo=null;class ho{constructor(e,t){if(!Oo){const n=new bt.OneStat(e,t),o=new oe.Subscription;Oo=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n==null||n.destroy(),o==null||o.unsubscribe(),Oo=null}})}}static getInstance(){return Oo}}const r6=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:l,canDownload:s,callbacks:r,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:h,coreConfig:g,player:p,disabledControls:b,isInteractive:L,interactiveRanges:w,replayInteractive:A,hasInteractiveBranches:C,playPrevChapterDisabledTooltip:I,additionalButtons:M,looped:J=!1})=>{var G,Y,z,ae;const te=Object.assign(Object.assign({},g),{configName:[...(G=g.configName)!==null&&G!==void 0?G:[],"ui"],isAudioDisabled:l,live:Object.assign(Object.assign({},(Y=g.live)!==null&&Y!==void 0?Y:{}),{isLiveCatchUpMode:!!n})}),X=h,T=p||new at.Player(te);T.setLooped(J);const j=new oe.Logger,ue=new i6(j,{loadTimeout:X.ads.loadTimeout,initTimeout:X.ads.initTimeout}),S=ho.getInstance(),$=Nl.getInstance(),le=a==null?void 0:a.pictureInPictureApi,Ce=a==null?void 0:a.annotationsApi,ve=j.createComponentLog("Store");let Ae,Se,U={};const E=oe.getCurrentBrowser(),re=S?wt(S.oneStat.vsid$):cn(void 0),q=je(go()),Ee=(z=le==null?void 0:le.info.isActive$)!==null&&z!==void 0?z:new oe.ValueSubject(!1),O=le==null?void 0:le.info.type,K=je(0),Me=je([]),Pe=oe.merge(T.events.fatalError$,T.events.managedError$).subscribe(P=>Me.update(x=>[...x,P])),ge=cn(!1,P=>{const x=T.events.fatalError$.subscribe(()=>P(!0));return()=>x.unsubscribe()}),ee=P=>Wi(void 0,void 0,void 0,function*(){var x;const _e=Object.values(oe.InterfaceLanguage).includes(P);if(X.downloadVKLanguages&&(_e&&X.updateBuiltinLanguages||!Ms(P))){let Ze;try{Ze=yield oe.loadVKLangPack(P,o0,l0)}catch(ht){(x=S==null?void 0:S.oneStat)===null||x===void 0||x.logError({errorType:"VKLangPack",fatal:!1}),$==null||$.report(ht,{errorType:"VKLangPack",fatal:!1})}Ze&&(Is({language:P,pack:Ze,fallback:X.defaultLanguage}),ce.set(P))}Ms(P)&&ce.set(P)}),ce=je(i);ee(i);const be=(P,x)=>{const _e=rt(ce);return Eu(_e,P,x,X.defaultLanguage)},se=je(Re.Thumb),Ge=$t([ge,se],([P,x])=>P?Re.Crashed:x),Ue=(()=>{const P=je(new Set(b));return Object.assign(Object.assign({},P),{add:x=>{P.update(_e=>new Set([..._e].concat(x)))},remove:x=>{P.update(_e=>{const Oe=[..._e];return new Set(Array.isArray(x)?Oe.filter(Ze=>!x.includes(Ze)):Oe.filter(Ze=>Ze!==x))})},includes:x=>{const _e=rt(P);return Array.isArray(x)?x.every(Oe=>_e.has(Oe)):_e.has(x)}})})();ve({message:"create store"});const ut=P=>{ve({message:`init video, config: ${JSON.stringify(P)}`}),L?P.container.append(T.experimental.element$.getValue()):T.initVideo(P),P.subtitles&&T.setExternalTextTracks(P.subtitles),Ae=P},nt=new oe.Subject,ze=P=>nt.next(P),dt=new oe.Subject,kt=new oe.Subject,Ne=new oe.Subject,Be={actionRewind$:dt,actionSeek$:kt,inPiP$:Ee,inFullscreen$:new oe.Observable(P=>q.subscribe(x=>P.next(x))),actionSetSubtitle$:Ne,nextMovie$:nt};if(S){const{oneStat:P,statSubscription:x}=S;x.add(P.attachTo(T)),x.add(P.attachToUi(Be)),x.add(P.attachToAds(ue.events)),P.authorize(o).catch(_e=>{ve({message:`onestat auth error ${String(_e)}`})})}if($){const P=new oe.Subscription,x=(_e,Oe)=>P.add(_e.subscribe(Oe));if(x(T.events.managedError$,_e=>{$.logIError(_e)}),x(T.events.fatalError$,_e=>{$.logIError(_e,!0)}),S){const{oneStat:_e}=S;x(_e.experimental.error$,Oe=>{$.logIError(Oe)})}$.sentrySubscription.add(P)}const zt=()=>{oe.isIOS()&&Se&&e4(Se)},me=new oe.Subscription().add(T.experimental.element$.subscribe(P=>{P&&(Se=P,P.classList.add("player-media"),Uo(le)&&(le.updateVideoElement(),le.registryEventHandlers()),L&&P.setAttribute("pip","false"))})).add(T.events.ended$.subscribe(()=>{var P;zt(),(P=r==null?void 0:r.onEnded)===null||P===void 0||P.call(r)})).add(T.events.started$.subscribe(()=>Wi(void 0,void 0,void 0,function*(){var P,x;Uo(le)&&(yield le==null?void 0:le.revealPictureInPicture());const _e=T.info.muted$.getValue();(P=r==null?void 0:r.onStarted)===null||P===void 0||P.call(r),(x=U.onStarted)===null||x===void 0||x.call(U,_e)}))).add(T.events.willSeek$.subscribe(({from:P,to:x})=>{var _e;(_e=r==null?void 0:r.onSeek)===null||_e===void 0||_e.call(r,P,x)})).add(T.info.position$.subscribe(P=>{var x;const _e=T.info.duration$.getValue();(x=r==null?void 0:r.onTimeupdate)===null||x===void 0||x.call(r,_e,P),ue.setPosition(P,_e)})).add(T.events.fatalError$.subscribe(()=>{var P;(P=r==null?void 0:r.onCrashed)===null||P===void 0||P.call(r)})).add(T.info.is3DVideo$.subscribe(P=>{Ot.ui.is3DVideo.set(P)})).add(T.info.isEnded$.subscribe(P=>{L&&(P?(rt(Jo)&&Ue.add(mo),Ue.add(pt.PLAY_BUTTON)):Ue.remove(pt.PLAY_BUTTON))})).add(T.info.liveTime$.subscribe(P=>{var x;(x=r==null?void 0:r.onLiveTime)===null||x===void 0||x.call(r,P)})),tt=new oe.Subscription,$e=()=>{tt.add(T.events.log$.subscribe(P=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${P.component}`,P.message)})).add(j.log$.subscribe(P=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${P.component}.`,P.message)}))},Je=()=>{tt.unsubscribe()},Ke=(P,x)=>{T.startCameraManualRotation(P,x)},Ye=(P=!1)=>{T.stopCameraManualRotation(P)},et=(P,x,_e)=>{T.moveCameraFocusPX(P,x,_e)},lt=()=>{T.holdCamera()},ot=()=>{T.releaseCamera()},De=cn(T.info.position$.getValue(),P=>{let x,_e;const Oe=()=>{const Ze=T.info.playbackState$.getValue(),ht=T.info.isLive$.getValue(),Lt=T.info.duration$.getValue(),_t=T.info.position$.getValue();if([at.PlaybackState.PLAYING,at.PlaybackState.PAUSED].includes(Ze)){const Di=ht?_t-Lt:T.getExactTime();Di!==_e&&P(Di),_e=Di}x=requestAnimationFrame(Oe)};return Oe(),()=>cancelAnimationFrame(x)}),Vt=wt(Ee),Pt=wt(T.info.playbackState$),st=wt(T.info.currentBuffer$),li=wt(T.info.isEnded$),mt=wt(T.info.isLive$),Qe=X.features.playbackRate?wt(T.info.canChangePlaybackSpeed$):cn(!1),At=wt(T.info.liveBufferTime$),ct=wt(T.info.volume$),gi=wt(T.info.muted$),de=H1(T.info.autoQualityLimits$.pipe(oe.map(({max:P})=>P!==void 0)),((ae=T.info.autoQualityLimits$.getValue())===null||ae===void 0?void 0:ae.max)!==void 0),Te=wt(T.info.autoQualityLimitingAvailable$),Ie=wt(T.info.availableQualities$),It=wt(T.info.availableQualitiesFps$),Jt=wt(T.info.chromecastState$),Le=wt(T.info.chromecastDeviceName$),ti=wt(T.info.currentFormat$),si=wt(T.info.throughputEstimation$),Dt=wt(T.info.videoBitrate$),Li=wt(T.info.intrinsicVideoSize$),Ft=wt(T.info.duration$),Zi=wt(T.info.isAudioAvailable$);let ri=null;const Vi=T.info.isBuffering$,Tt=cn(Vi.getValue(),P=>{const x=Vi.subscribe(_e=>{_e&&ri===null?ri=window.setTimeout(()=>{P(Vi.getValue()),ri=null},X.loaderDelay):P(_e)});return()=>{x.unsubscribe(),ri&&clearTimeout(ri)}}),$i=()=>{ri&&clearTimeout(ri),ri=null},ii=$t([Ft,mt],([P,x])=>x?-P:P),en=$t([Pt],([P])=>P===at.PlaybackState.PLAYING),Et=wt(T.info.atLiveEdge$),Ii=wt(T.info.atLiveDurationEdge$),ai=wt(T.info.position$),Pi=$t([ai,Ft],([P,x])=>isFinite(P)&&isFinite(x)&&!!x),Fi=$t([Jt],([P])=>P===at.ChromecastState.CONNECTED),ni=je(void 0),Mi=wt(T.info.isAutoQualityEnabled$,P=>P&&ni.set(void 0)),Ti=wt(T.info.currentQuality$,()=>ni.set(void 0)),Ei=$t([ni,Ti],([P,x])=>P!=null?P:x),Gt=$t([Ie,It,Mi,Ei,ti],([P,x,_e,Oe,Ze])=>{const ht=[];Ze!==at.VideoFormat.MPEG&&ht.push({value:eo.AUTO,displayValue:be("auto_quality_option"),selected:_e});const Lt=P.filter(_t=>_t!==oe.VideoQuality.INVARIANT);for(const _t of Lt){const Di=x[_t],To=_t===oe.VideoQuality.INVARIANT?be("auto_quality_option"):_t;ht.push({value:_t,displayValue:`${To}${Di?n6(Di):""}`,selected:_e?!1:_t===Oe})}return ht}),ui=wt(T.info.currentPlaybackRate$),bi=$t([ui,Et,Ii],([P,x,_e])=>{const Oe=_e||L?1:X.controls.playbackRateMin,Ze=x?1:X.controls.playbackRateMax,ht=X.controls.playbackRateStep,Lt=[];for(let _t=Oe;_t<=Ze;_t+=ht)Lt.push({value:_t,displayValue:_t===1?be("playback_rate_1"):be("playback_rate",{multiplier:_t.toString(10)}),selected:P===_t});return Lt}),Hi=X.features.subtitles?wt(T.info.availableTextTracks$):cn([]),ci=$t([Hi],([P],x)=>{const _e=[],Oe=[];for(const Ze of P)Ze.url&&_e.push($g(Ze.url));Promise.allSettled(_e).then(Ze=>{for(const[ht,Lt]of Ze.entries())Lt.status==="fulfilled"&&Lt.value.text().then(_t=>{const Di=new o6,To=P[ht].language,Mc=!!P[ht].isAuto,xl=Di.parse(_t);To&&xl&&Oe.push({lang:To,subtitles:xl,isAuto:Mc}),ht===Ze.length-1&&x(Oe)})})}),Bt={displayValue:be("subtitles_off"),value:"off"},oi=je(Object.assign({},Bt)),Ni=$t([ci,oi,ci],([P,x])=>{if((P==null?void 0:P.length)>0){const _e=[Object.assign(Object.assign({},Bt),{selected:(x==null?void 0:x.value)===Bt.value})];for(const{lang:Oe,isAuto:Ze}of P)Cl[Oe]&&_e.push({displayValue:Ze?be("subtitles_auto",{language:Cl[Oe]}):Cl[Oe],value:Oe,selected:(x==null?void 0:x.value)===Oe,isAuto:Ze});return _e}else return[]}),Gi=$t([De,oi,ci],([P,x,_e])=>{if(x&&x.value!==Bt.value)return s6(P,x,_e)}),fi=$t([Gi],([P])=>P!=null&&P.texts?P.texts:[]),Ri=je(!0),Bi=$t([st,ii,ai,At],([P,x,_e,Oe])=>{var Ze;const ht=(Ze=P==null?void 0:P.end)!==null&&Ze!==void 0?Ze:0;if(!Oe)return ht/x;const _t=-_e+Oe-x;return(ht-_t)/x}),di=wt(T.info.availableSources$),_i=$t([di],([P])=>Object.keys((P==null?void 0:P[at.VideoFormat.MPEG])||{}).length>0),Ui=()=>{var P,x,_e;const Oe=Object.keys(((x=(P=T.info.availableSources$)===null||P===void 0?void 0:P.getValue())===null||x===void 0?void 0:x[at.VideoFormat.MPEG])||{}),Ze=oe.getHighestQuality(Oe)||oe.VideoQuality.Q_144P;return(_e=Ae.sources[at.VideoFormat.MPEG])===null||_e===void 0?void 0:_e[Ze]},Kt=()=>{var P;const x=Ui();x?m0(x,((P=Ae==null?void 0:Ae.meta)===null||P===void 0?void 0:P.title)||"video"):ve({message:"There is no URL for download video"})},Ht=()=>{ve({message:"toggle muted"});const P=T.info.muted$.getValue(),Oe=!(T.info.volume$.getValue()===0||P);Ut(Oe)},wi=(P,x=P,_e=!1)=>{var Oe,Ze,ht;const Lt=!_e,_t=T.info.muted$.getValue();ve({message:`set volume, volume: ${P}, preferredVolume: ${x}, internalCall: ${Lt}`}),T.setVolume(P),ue.setVolume(P),Lt&&((Oe=r==null?void 0:r.onVolumeChange)===null||Oe===void 0||Oe.call(r,P)),ss(x),_t?(T.setMuted(!1),Lt&&((Ze=r==null?void 0:r.onUnmute)===null||Ze===void 0||Ze.call(r)),il(!1)):!_t&&P===0&&(T.setMuted(!0),Lt&&((ht=r==null?void 0:r.onMute)===null||ht===void 0||ht.call(r)),il(!0))},Ut=(P,x=!1)=>{var _e,Oe,Ze,ht;const Lt=!x,_t=T.info.volume$.getValue();if(ve({message:`set muted, currentVolume: ${_t}, mute: ${P}, internalCall: ${Lt}`}),T.setMuted(P),ue.setVolume(P?0:_t),il(P),Lt&&(P?(_e=r==null?void 0:r.onMute)===null||_e===void 0||_e.call(r):(Oe=r==null?void 0:r.onUnmute)===null||Oe===void 0||Oe.call(r)),_t===0){let Di=(Ze=Z1())!==null&&Ze!==void 0?Ze:X.volumeDefault;Di===0&&(Di=X.volumeMinRestore,ss(Di)),T.setVolume(Di),ue.setVolume(Di),Lt&&((ht=r==null?void 0:r.onVolumeChange)===null||ht===void 0||ht.call(r,Di))}},Yt=()=>{T.prepare()},mi=()=>{var P,x;if(oe.assertNonNullable(Ot),!rt(Ot.ui.controls.disabledControls$).has(pt.PLAY_BUTTON)){if(ve({message:"toggle play"}),rt(Ot.playerPhase)===Re.Ads){ue.togglePlay();return}if(T.info.playbackState$.getValue()!==at.PlaybackState.PLAYING){if(T.info.isEnded$.getValue()){if(ve({message:"toggle play, video ended, seek to 0"}),dt.next(),kt.next(bt.SeekAction.REWIND),L){A==null||A();return}T.seekTime(0)}ve({message:"toggle play, call player.play"}),T.play(),(P=r==null?void 0:r.onPlay)===null||P===void 0||P.call(r)}else ve({message:"toggle play, call player.pause"}),T.pause(),(x=r==null?void 0:r.onPause)===null||x===void 0||x.call(r)}},ki=P=>{ve({message:`set quality, quality: ${P}`}),T.setAutoQuality(P===eo.AUTO),P!==eo.AUTO?(h0(e,P),ni.set(P),T.setQuality(P)):G1()},Ai=P=>{ve({message:`set trafficSavingEnabled, value: ${P}`}),T.setAutoQualityLimits({max:P?X.trafficSavingLimit:void 0}),g0(P)},yi=P=>{T.setPlaybackRate(P)},Oi=()=>{const P=rt(bi),x=P.findIndex(({selected:Oe})=>Oe);if(x===P.length-1)return;const _e=P[x+1];yi(_e.value)},zi=()=>{const P=rt(bi),x=P.findIndex(({selected:Oe})=>Oe);if(x===0)return;const _e=P[x-1];yi(_e.value)},Si=P=>{P&&P.value!==Bt.value&&Ne.next(P.isAuto?P.value+"_auto":P.value),oi.set(P)},Ki=()=>{const P=rt(Ni),x=rt(oi),_e=rt(ce);if((x==null?void 0:x.value)===Bt.value){const Oe=P.filter(Ze=>Ze.value!==Bt.value).find(Ze=>Ze.value===_e)||P[1];Si(Oe!=null?Oe:Object.assign({},Bt))}else Si(Object.assign(Object.assign({},Bt),{selected:!1}))},Qt=(P,x,_e=!0)=>{if(ve({message:`seek to time, time: ${P}`}),kt.next(x),T.info.isLive$.getValue()){const Oe=T.info.duration$.getValue(),Ze=Math.min(0,Oe+P);T.seekTime(Ze,_e)}else{if(rt(Jo))return;T.seekTime(Jl(P),_e)}},jt=P=>{ve({message:`seek to episode start time: ${P}`}),Qt(P,bt.SeekAction.EPISODE,!0)},Mt=(P,x)=>{ve({message:`seek to percent, percent: ${P}`});const _e=Math.round(rt(ii)*P);Qt(_e,x,!1)},ji=P=>{ve({message:`seek external, time: ${P}`}),kt.next(bt.SeekAction.UNKNOWN),T.seekTime(T.info.isLive$.getValue()?-P:P)},Xt=P=>{var x,_e;ve({message:`set auto quality limitation. Max: ${(x=P.max)!==null&&x!==void 0?x:"none"}. Min: ${(_e=P.min)!==null&&_e!==void 0?_e:"none"}`}),T.setAutoQualityLimits(P)},fe=P=>{ve({message:`seek external to episode start time: ${P}`}),Qt(P,bt.SeekAction.EPISODE,!0)},xt=P=>{ve({message:`set playback rate to: ${P}`}),T.setPlaybackRate(P)},Ji=je(void 0),sn=je(!1),Pn=P=>{ve({message:`start scrubbing, progress: ${P}`}),sn.set(!0),Tn(P)},Tn=P=>{Ji.set(P)};let rn,Yi;const mn=()=>{Ji.set(void 0),sn.set(!1)},hn=()=>{clearTimeout(Yi),clearTimeout(rn),rn=window.setTimeout(()=>{mn()},500),Se==null||Se.removeEventListener("seeked",hn)},Mn=P=>{ve({message:`complete scrubbing, progress: ${P}`}),Mt(P,bt.SeekAction.SLIDER),rt(Ot.ui.isMobile)&&rt(Ot.state.currentFormat$)===at.VideoFormat.HLS?(Se==null||Se.addEventListener("seeked",hn),Yi=window.setTimeout(()=>{hn()},300)):mn()},Nn=$t([De,ii,Ji],([P,x,_e],Oe)=>{Oe(oe.isNonNullable(_e)?_e*x:P)}),En=je({width:0,height:0}),Q=$t([En],([{width:P}],x)=>{const _e=c3(P);x(_e)}),vt=je(!1),an=$t([Q,vt],([P,x])=>x?M.filter(_e=>!_e.hideOnMobile):M.filter(_e=>{var Oe;return!(!((Oe=_e.hideOnDesktopGridTypes)===null||Oe===void 0)&&Oe.includes(P))})),xi=$t([vt,ge],([P,x],_e)=>{_e(P&&x)}),un=()=>{kt.next(bt.SeekAction.LIVE),ve({message:"switch to active live"}),T.seekTime(0),T.info.playbackState$.getValue()!==at.PlaybackState.PLAYING&&Ot.actions.internal.togglePlay()},tn=()=>ue.skip(),lo=(P=!0)=>{oe.assertNonNullable(Ot),ve({message:`switch from ads to video, callPlay: ${P}`}),se.set(Re.Video),P&&T.play()},so=()=>{oe.assertNonNullable(Ot),ve({message:"switch from video to ads"}),Ot.actions.internal.pause(),zt(),se.set(Re.Ads)},ro=P=>{oe.assertNonNullable(Ot);const x=P?Re.WaitingLive:Re.Thumb;se.set(x)},ao=P=>{oe.assertNonNullable(Ot);const x=P?Re.WaitingRecord:Re.Thumb;se.set(x)},uo=()=>(oe.assertNonNullable(Ot),f0(T,Ae,Ot)),co=()=>(oe.assertNonNullable(Ot),d0(T,Ae,Ot)),Un=()=>Se,jn=()=>{ve({message:"toggle chromecast"}),T.toggleChromecast()},ie=P=>{var x;oe.assertNonNullable(Ot);const _e=!P;if(rt(Ot.playerPhase)===Re.Ads){ve({message:`pause ads, internalCall: ${_e}`}),ue.pause();return}ve({message:`pause video, internalCall: ${_e}`}),_e&&((x=r==null?void 0:r.onPause)===null||x===void 0||x.call(r)),T.pause()},Rn=P=>{var x;oe.assertNonNullable(Ot);const _e=!P;if(rt(Ot.playerPhase)===Re.Ads){ve({message:`play ads, internalCall: ${_e}`}),ue.play();return}ve({message:`play video, internalCall: ${_e}`}),_e&&((x=r==null?void 0:r.onPlay)===null||x===void 0||x.call(r)),T.play()},R=(P,x)=>{oe.assertNonNullable(Ot),ve({message:`first start, show ads: ${P}, internalCall: ${!x}`}),P?se.set(Re.Ads):(se.set(Re.Video),x?T.play():Ot.actions.internal.togglePlay())},it=()=>(ve({message:"getting time codes"}),c),hi=()=>{const P=it();if(!P||[0,1].includes(P.length))return;const x=T.info.position$.getValue();return P.find(_e=>_e.time>x)},Ci=P=>{let x=P;x||(x=hi()),x&&(ve({message:"seek to next episode"}),Qt(x.time,bt.SeekAction.EPISODE,!0))},pn=()=>{const P=it();if(!P||[0,1].includes(P.length))return;const x=T.info.position$.getValue(),_e=P.findIndex(Ze=>Ze.time>x),Oe=_e===-1?P.length-2:_e-2;if(!(Oe<0))return P[Oe]},Bn=P=>{let x=P;x||(x=pn()),x&&(ve({message:"seek to prev episode"}),Qt(x.time,bt.SeekAction.EPISODE,!0))},Ec=()=>(ve({message:"getting preview thumbs data"}),f),Ac=()=>Wi(void 0,void 0,void 0,function*(){le!=null&&le.isActive()?yield le==null?void 0:le.remove():yield le==null?void 0:le.request()}),Lc=(P=-90)=>{K.update(x=>x+P)},Po=je(w),Ql=$t([Po],([P=[]])=>{const x=[];for(let _e=0;_e<P.length;_e++){const{range:[Oe,Ze],subjects:ht}=P[_e];_e===0&&Oe!==0&&x.push({time:0,text:""}),x.push({time:Oe/1e3,text:"",interactive:!0,completed:!ht.length}),Ze!==1/0&&x.push({time:Ze/1e3,text:"",interactive:!1,completed:!ht.length})}return x}),Vc=P=>{const x=rt(Po);Po.set(x.map(_e=>Object.assign(Object.assign({},_e),{subjects:_e.subjects.filter(Oe=>Oe!==P)})))},Xl=je(!1),Jo=$t([ai,Po,Xl],([P,x,_e])=>{if(!L)return!1;if(_e)return!0;const Oe=P*1e3,Ze=x==null?void 0:x.find(({range:[ht,Lt],subjects:_t})=>ht<Oe&&Oe<Lt&&_t.length);return Ze&&rt(sn)&&mn(),!!Ze}),Jl=P=>{if(!L)return P;const x=rt(Ql),_e=rt(ii),Ze=rt(ai)/_e,ht=x.find(Lt=>Lt.interactive&&!Lt.completed&&Lt.time>Ze);return typeof(ht==null?void 0:ht.time)=="number"?Math.min(P,ht.time-.05):P},Ic=()=>{clearTimeout(Yi),clearTimeout(rn),me.unsubscribe(),tt.unsubscribe(),T.destroy(),ue.destroy(),S==null||S.destroy(),$==null||$.destroy(),Pe.unsubscribe()},Ot={interfaceLanguage$:ce,initVideo:ut,videoId:e,isClip:t,playerPhase:Ge,vsid:re,state:{positionExact$:De,positionWithScrubbing$:Nn,duration$:ii,playbackState$:Pt,isPlaying$:en,isLoaderVisible:Tt,bufferedProgress$:Bi,isLive$:mt,canChangePlaybackSpeed$:Qe,isActiveLive$:Et,isOldestAvailableLive$:Ii,isRewindableLive$:Pi,isEnded$:li,muted$:gi,volume$:ct,trafficSavingEnabled$:de,autoQualityLimitingAvailable$:Te,currentQuality$:Ei,isAutoQualityEnabled$:Mi,availableQualities$:Gt,currentPlaybackRate$:ui,availablePlaybackRates$:bi,currentSubtitle$:oi,availableSubtitlesList$:Ni,currentSubtitleCaptions$:fi,isAutoSubtitleCaptionVisible$:Ri,chromecastState$:Jt,chromecastDeviceName$:Le,chromecastConnected$:Fi,currentFormat$:ti,throughputEstimation$:si,videoBitrate$:Dt,videoSize$:Li,errorLog$:Me,crashed$:ge,isAudioAvailable$:Zi,isAudioDisabled:!!l,canDownload:X.features.download&&!!s,availableSources$:di,hasMpegSources$:_i,isInteractive:L,isInteractiveGraphEnabled:X.features.interactiveGraph,isSeekToInteractiveEnable:X.features.seekToInteractive,isPlayPrevChapterEnabled:X.features.interactivePlayPrevChapter,interactiveEpisodes$:Ql,isInteractiveTime$:Jo,graphIsOpened$:je(!1),isInteractiveExpectation$:Xl,hasInteractiveBranches:C,playPrevChapterDisabledTooltip:I},ui:{controlsVisible:je(!1),touched:je(!1),controls:{prevButton:je(void 0),playButton:je(void 0),replayButton:je(void 0),nextButton:je(void 0),playPrevChapterButton:je(void 0),seekToInteractiveButton:je(void 0),interactiveGraphButton:je(void 0),liveButton:je(void 0),time:je(void 0),episodes:je(void 0),volume:je(void 0),subtitles:je(void 0),settings:je(void 0),chromecast:je(void 0),fullscreen:je(void 0),vkLogo:je(void 0),additionalButtons:M.length?M.reduce(P=>[...P,je(void 0)],[]):[],disabledControls$:Ue},modals:{hotKeyMap:{show:je(!1),data:je({title:"",closeBtnText:"",groups:[]})}},isFullscreen:q,rotateAlpha:K,isAutoplay:je(!1),contextMenuVisible:je(!1),debugPanelVisible:je(!1),playerSize:En,isMobile:vt,mobileNotReportControlHidden$:xi,mobileUnmuteButtonExpanded:je(!1),mobileUnmuteButtonVisible:je(!1),icon3DVideoVisible:je(!1),settingsMenuVisible:je(!1),scrubbingInProgress:sn,is3DVideo:je(!1),isPictureInPictureActive$:Vt,pictureInPictureType$:cn(O),clientInfo$:cn(E),currentGridType$:Q,additionalButtons$:an,interactiveHideMobileControls:je(!1),overlayContainer$:je(void 0)},ads:{position:je(0),duration:je(0),playbackState:je(Wt.INACTIVE),canSkip:je(!1),secondsToWatchBeforeSkip:je(0),postrollPassed:je(!1)},webApi:{pictureInPictureApi:le,annotationsApi:Ce},actions:{internal:{preload:Yt,firstStart:P=>R(P,!1),pause:()=>ie(!1),togglePlay:mi,toggleMuted:Ht,setVolume:wi,setQuality:ki,setTrafficSavingEnabled:P=>Ai(P),setPlaybackRate:yi,incrementPlaybackRate:Oi,decrementPlaybackRate:zi,setSubtitle:Si,toggleSubtitle:Ki,togglePictureInPicture:Ac,startScrubbing:Pn,progressScrubbing:Tn,completeScrubbing:Mn,toggleChromecast:jn,switchToActiveLive:un,switchFromAdsToVideo:lo,switchFromVideoToAds:so,skipAd:tn,setWaitingLive:ro,setWaitingRecord:ao,getDebugTextData:uo,getDebugPanelData:co,getVideoElement:Un,seekTime:(P,x,_e)=>Qt(P,x,_e),clearDelayedBufferingCheckTimeout:$i,seekEpisodeStartTime:jt,seekToPercent:Mt,getNextEpisode:hi,seekToNextEpisode:Ci,getPrevEpisode:pn,seekToPrevEpisode:Bn,startLogging:$e,stopLogging:Je,startCameraManualRotation:Ke,stopCameraManualRotation:Ye,moveCameraFocusPX:et,holdCamera:lt,releaseCamera:ot,getVideoEpisodes:it,getPreviewThumbsData:Ec,downloadVideo:Kt,addLanguage:Is,setLanguage:ee,nextMovie:ze,videoRotate:Lc,completeInteractiveRange:Vc,correctSeekTimeToInteractive:Jl,replayInteractive:A},external:{firstStart:P=>R(P,!0),play:()=>Rn(!0),pause:()=>ie(!0),seekTime:P=>ji(P),seekEpisodeStartTime:P=>fe(P),setPlaybackRate:P=>xt(P),setAutoQualityLimits:P=>Xt(P),setMuted:P=>Ut(P,!0),setVolume:P=>wi(P,P,!0)}},callbacks:r,setUiCallbacks:P=>{U=Object.assign({},P)},getAdmanWrapper:()=>ue,getLogger:()=>j,destroy:Ic};return Ot};class a6{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 u6(i){let e,t,n,o;return{c(){e=N("svg"),t=N("g"),n=N("path"),o=N("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(o,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(t,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(l,s){y(l,e,s),m(e,t),m(t,n),m(t,o)},p:Z,i:Z,o:Z,d(l){l&&k(e)}}}class c6 extends ye{constructor(e){super(),ke(this,e,null,u6,we,{})}}function f6(i){Fe(i,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function d6(i){let e,t,n,o,l,s,r;return n=new c6({}),{c(){e=_("div"),t=_("div"),H(n.$$.fragment),o=B(),l=_("span"),s=He(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){y(a,e,c),m(e,t),D(n,t,null),m(e,o),m(e,l),m(l,s),r=!0},p(a,[c]){(!r||c&2)&&V(t,"desktop",!a[1]),(!r||c&1)&&xe(s,a[0])},i(a){r||(d(n.$$.fragment,a),r=!0)},o(a){v(n.$$.fragment,a),r=!1},d(a){a&&k(e),F(n)}}}function m6(i,e,t){let n,o;const l=Ct(),s=!!l.webApi.pictureInPictureApi,r=l.interfaceLanguage$;W(i,r,f=>t(5,n=f));const a=l.ui.isMobile;W(i,a,f=>t(1,o=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&ne("pip_dummy_title"))},[c,o,s,r,a,n]}class h6 extends ye{constructor(e){super(),ke(this,e,m6,d6,we,{},f6)}}const p6=460,v6=280;class Tc{constructor(){this.info={isActive$:new oe.ValueSubject(!1),type:bn.DocumentPictureInPicture}}isSupported(){const e=oe.getCurrentBrowser().browser===oe.CurrentClientBrowser.Yandex,{isEmbed:t}=oe.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}request(){var e,t;return Wi(this,void 0,void 0,function*(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=yield documentPictureInPicture.requestWindow({width:p6,height:v6,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(r=>[...r.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
51
- `),o=document.createElement("style");o.textContent=n;const l=this.createStretchedContainer(),s=l.attachShadow({mode:"open"});s.append(o),s.append(this.playerDomElement),this.playerDummyElement=new h6({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",r=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})})}remove(){return Wi(this,void 0,void 0,function*(){return new Promise(e=>{var t;(t=documentPictureInPicture.window)===null||t===void 0||t.close(),e()})})}dispose(){return Wi(this,void 0,void 0,function*(){yield this.remove()})}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function g6(i){return i instanceof Tc}class b6{static getLatestSupportedVersion(){const e=new Ul,t=new Tc;if(t.isSupported())return t;if(e.isSupported())return e}}function T1(i,e){var t,n;const o=new Set([...Object.keys(i),...Object.keys(e)]),l={};for(const s of o)l[s]=(n=(t=e[s])!==null&&t!==void 0?t:i[s])!==null&&n!==void 0?n:void 0;return l}const E1="Inner error. Unexpectedly root annotation container null reference exception",_6="Annotation layer with such name already exists";class Pl extends Error{constructor(e){super(e),this.name="AnnotationError"}}class w6{constructor(){this.layers=new Map}registryRootContainer(e){this.detach(),this.rootAnnotationsContainer=e}addLayer(e){if(!this.rootAnnotationsContainer)throw new Pl(E1);if(this.layers.has(e))throw new Pl(_6);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(E1);for(const e of this.layers.values())this.rootAnnotationsContainer.append(e)}destroy(){this.detach(),this.layers.clear(),this.rootAnnotationsContainer=void 0}}const k6={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:oe.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:oe.isMobile(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class y6 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.prevVsid=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 oe.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new oe.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 Xg({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,s,r,a,c,f,h,g,p,b;if(!this.videoConfig)return;const{albumId:L,statPlace:w,statUserSalt:A,statAuthToken:C,statTrackCode:I,refreshStatAuthToken:M,preload:J,autoplay:G,volume:Y,muted:z,fromTime:ae,canRewindLive:te,supportLink:X,showAds:T,adsSlotId:j,adsParams:ue={},adsPreviewParam:S,interfaceLanguage:$,logoClickable:le,logoHidden:Ce,isMobile:ve,isAudioDisabled:Ae,isLiveCatchUpMode:Se,fullScreenTarget:U,failoverHosts:E,canDownload:re,callbacks:q,interactiveData:Ee,showThumbTimer:O,additionalButtons:K=[],repeat:Me}=T1(this.videoConfig,t),{sources:Pe,title:ge,thumbUrl:ee,videoLogoUrl:ce,unitedVideoId:be,isClip:se=!1,duration:Ge,adsParams:Ue={},videoEpisodes:ut,previewThumbsData:nt,subtitles:ze,live:dt}=e,kt=Object.assign(Object.assign({},ue),Ue),Ne=this.getNextVideoInfo(),Be={sources:Pe,title:ge,thumbUrl:ee,subtitles:ze,unitedVideoId:be,isClip:se,live:dt,albumId:L,statPlace:w,autoplay:G,muted:z,volume:Y,fromTime:ae,canRewindLive:te,showAds:T,adsSlotId:j,adsParams:kt,adsPreviewParam:S,duration:Ge,logoClickable:le,logoHidden:Ce,isMobile:ve,repeat:Me,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Ne.nextVideoTitle,endScreenVideoThumb:Ne.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},zt={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(Be)}`});const me=this.uiConfig.features.statistics&&!!be,{pid:tt}=((l=(o=this.videoConfig)===null||o===void 0?void 0:o.interactiveData)===null||l===void 0?void 0:l.projectInfo)||{};me&&new ho(Object.assign({movieId:be,albumId:L,place:w,trackCode:I,autoplay:(s=G&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:ve,clip:se},tt&&!this.isInited&&{projectId:Number(tt)}),Object.assign({refreshAuthToken:M,userSalt:A,config:this.statistics.config},this.interactiveController&&this.isInited&&{vsid:this.prevVsid})),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new Nl(this.uiConfig.sentry,{version:Zo,env:u0},{movieId:be,albumId:L,place:w,autoplay:(r=G&&!this.interactiveController)!==null&&r!==void 0?r:!1,mobile:ve,clip:se}),this.interactiveController&&!this.isInited&&(this.prevVsid=(a=ho.getInstance())===null||a===void 0?void 0:a.oneStat.vsid$.getValue()),this.statistics=Object.assign(Object.assign({},this.statistics),ho.getInstance()),this.sentry=Object.assign(Object.assign({},this.sentry),Nl.getInstance());const Je=!!Ee,Ke=(c=this.interactiveController)===null||c===void 0?void 0:c.getInteractiveRanges(),Ye=[];let et;if(Je&&this.interactiveController){const ot=this.interactiveController.state,De=this.interactiveController.getHistoryState();ot.isInitialChapter$.getValue()&&Ye.push(pt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||Ye.push(pt.SEEK_TO_INTERACTIVE_BUTTON),De.hasPrevChapter$.getValue()||(ot.isInitialChapter$.getValue()?et="tooltip_interactive_go_back_disabled_first":ot.lastChapterChangeWasInitiatedByInteractive$.getValue()?et="tooltip_interactive_go_back_disabled":et="tooltip_interactive_go_back_disabled_limit",Ye.push(pt.PLAY_PREV_CHAPTER_BUTTON))}const lt=()=>{var ot;const De=(n==null?void 0:n.info.isEnded$.getValue())&&((ot=this.interactiveController)===null||ot===void 0?void 0:ot.state.isEndChapter$.getValue());q.onReplayInteractiveVideo&&!De?q.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=r6({player:n,interfaceLanguage:$,videoId:be,isClip:se,isLiveCatchUpMode:Se,isAudioDisabled:Ae,statAuthToken:C,callbacks:q,webApi:zt,videoEpisodes:ut,previewThumbsData:nt,canDownload:re,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:Ye,isInteractive:Je,interactiveRanges:Ke,replayInteractive:lt,playPrevChapterDisabledTooltip:et,hasInteractiveBranches:!!(!((h=(f=this.interactiveController)===null||f===void 0?void 0:f.getChapterBranches())===null||h===void 0)&&h.length),additionalButtons:this.uiConfig.features.additionalButtons?K:[],looped:Me&&this.videoConfig.videos.length===1}),this.subscription.add(this.store.state.currentFormat$.subscribe(ot=>{var De;return(De=q==null?void 0:q.onCurrentFormatChanged)===null||De===void 0?void 0:De.call(q,ot)})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(ot=>{var De;return(De=q==null?void 0:q.onThroughputEstimationChanged)===null||De===void 0?void 0:De.call(q,ot)})),this.subscription.add(this.store.state.videoBitrate$.subscribe(ot=>{var De;return(De=q==null?void 0:q.onVideoBitrateChanged)===null||De===void 0?void 0:De.call(q,ot)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(ot=>{var De;const Vt=(De=this.store)===null||De===void 0?void 0:De.ui.controls.disabledControls$;Vt&&ot&&!Vt.includes(Ll)&&Vt.add(Ll)})),this.videoConfig.isMobile&&this.interactiveController&&this.subscription.add(this.store.ui.controlsVisible.subscribe(ot=>{var De;(De=this.interactiveController)===null||De===void 0||De.setDisabledControls(ot)})),this.initMediaSession(),this.interactiveController&&me&&this.initInteractivesStatistics(),this.svelteRootComponent=new qg({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Pe,store:this.store,uiConfig:this.uiConfig,title:ge,thumbUrl:ee,videoLogoUrl:ce,subtitles:ze,live:dt,preload:J,autoplay:G,muted:z,volume:Y,fromTime:ae,canRewindLive:te,supportLink:X,showAds:T,adsSlotId:j,adsParams:kt,adsPreviewParam:S,duration:Ge,logoClickable:le,logoHidden:Ce,isMobile:ve,failoverHosts:E,fullScreenTarget:U,showMiniTimer:O,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,(b=(p=(g=this.videoConfig)===null||g===void 0?void 0:g.callbacks)===null||p===void 0?void 0:p.onInited)===null||b===void 0||b.call(p))}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 s;return(s=n.onPlayerPhaseChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.playbackState$.subscribe(l=>{var s;return(s=n.onPlaybackStateChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.isLive$.subscribe(l=>{var s;return(s=n.onIsLiveChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.isActiveLive$.subscribe(l=>{var s;return(s=n.onIsActiveLiveChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.isAudioAvailable$.subscribe(l=>{var s;return(s=n.onIsAudioAvailableChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.currentQuality$.subscribe(l=>{var s;return(s=n.onCurrentQualityChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.availableQualities$.subscribe(l=>{var s;return(s=n.onAvailableQualitiesChanged)===null||s===void 0?void 0:s.call(n,l.map(({value:r})=>r).filter(r=>r!==eo.AUTO))})).add(t.ui.isPictureInPictureActive$.subscribe(l=>{var s,r;return l?(s=n.onPiPEnter)===null||s===void 0?void 0:s.call(n):(r=n.onPiPExit)===null||r===void 0?void 0:r.call(n)}));const o=n==null?void 0:n.uiInfo;o&&this.subscription.add(t.ui.controlsVisible.subscribe(l=>{var s;return(s=o.onControlsVisibleChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.isMobile.subscribe(l=>{var s;return(s=o.onIsMobileChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.playerSize.subscribe(l=>{var s;return(s=o.onPlayerSizeChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.prevButton.subscribe(l=>{var s;return(s=o.onPrevButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.playButton.subscribe(l=>{var s;return(s=o.onPlayButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.replayButton.subscribe(l=>{var s;return(s=o.onReplayButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.nextButton.subscribe(l=>{var s;return(s=o.onNextButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.playPrevChapterButton.subscribe(l=>{var s;return(s=o.onPlayPrevChapterChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.seekToInteractiveButton.subscribe(l=>{var s;return(s=o.onSeekToInteractiveButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.interactiveGraphButton.subscribe(l=>{var s;return(s=o.onGraphButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.liveButton.subscribe(l=>{var s;return(s=o.onLiveButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.time.subscribe(l=>{var s;return(s=o.onTimeUpdateChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.episodes.subscribe(l=>{var s;return(s=o.onEpisodesChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.volume.subscribe(l=>{var s;return(s=o.onVolumeChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.subtitles.subscribe(l=>{var s;return(s=o.onSubtitlesChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.settings.subscribe(l=>{var s;return(s=o.onSettingsChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.fullscreen.subscribe(l=>{var s;return(s=o.onFullscreenChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.chromecast.subscribe(l=>{var s;return(s=o.onChromecastChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.vkLogo.subscribe(l=>{var s;return(s=o.onVkLogoChanged)===null||s===void 0?void 0:s.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&&oe.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$:s}=n.state,{disabledControls$:r}=n.ui.controls,a=rt(o),c=rt(l);rt(s)?(s.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),r.remove(ls),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",s.set(!0),(t=this.interactiveController)===null||t===void 0||t.toggleGraphView(!0),r.add(ls),!a&&this.graphMadePause&&this.pause())}initInteractives(){var e,t,n,o;return Wi(this,void 0,void 0,function*(){if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:l,EVENT_NAMES:s,CustomError:r}=yield import("@vkontakte/videoplayer-interactive/es2015.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?rt(a):this.videoConfig.interfaceLanguage,{projectInfo:f,historyApi:h,videoLoader:g}=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:g,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,disableControlsOnPause:!this.videoConfig.isMobile}),yield this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest),this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(b=>{if(!this.isInited)return;const L=this.store;b?L.ui.controls.disabledControls$.remove(pt.SEEK_TO_INTERACTIVE_BUTTON):L.ui.controls.disabledControls$.add(pt.SEEK_TO_INTERACTIVE_BUTTON)}));let p=!0;if(this.interactiveController.on(s.playerChanged,b=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]=Object.assign(Object.assign({},b.config),{title:f.title});const L=p?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(b.player,L),p&&(p=!1)}),this.interactiveController.on(s.interactives,({type:b,subjectId:L,actionType:w})=>{var A,C,I,M;if(this.store&&(b==="container-removed"&&this.store.actions.internal.completeInteractiveRange(L),b==="range-ended"&&(rt(this.store.state.isInteractiveExpectation$)||this.store.ui.controls.disabledControls$.remove(mo)),b==="action-execution"&&w==="expect"&&(this.store.ui.controls.disabledControls$.add(mo),this.store.state.isInteractiveExpectation$.set(!0)),b==="action-choice"&&w==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(mo)),b==="action-execution"&&w==="after-expect"&&(this.store.ui.controls.disabledControls$.remove(mo),this.store.state.isInteractiveExpectation$.set(!1)),b==="action-choice-canceled")){const J=rt(this.store.state.isPlaying$)||rt(this.store.state.isInteractiveExpectation$);if(!((A=this.videoConfig)===null||A===void 0)&&A.isMobile&&J){this.store.ui.interactiveHideMobileControls.set(!0);return}(M=(C=this.videoConfig)===null||C===void 0?void 0:(I=C.callbacks).onDisabledInteractiveClick)===null||M===void 0||M.call(I)}}),!((o=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||o===void 0)&&o.onInteractiveHistoryChanged){const b=this.interactiveController.getHistoryState();this.subscription.add(b.history$.subscribe(L=>{var w,A,C;L.length&&((C=(A=(w=this.videoConfig)===null||w===void 0?void 0:w.callbacks)===null||A===void 0?void 0:A.onInteractiveHistoryChanged)===null||C===void 0||C.call(A,L))}))}this.interactiveController.on(s.errors,b=>{this.log({message:b.toString()})})}catch(l){this.log({message:l.message})}})}initInteractivesStatistics(){var e,t;return Wi(this,void 0,void 0,function*(){const{statSubscription:n,oneStat:o}=this.statistics;if(!(!n||!o||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:l}=yield import("@vkontakte/videoplayer-interactive/es2015.cjs.js"),s={[l.GO_NEXT_BUTTON]:bt.InteractiveInterfaceClick.NEXT_BUTTON,[l.GO_NEXT_AREA]:bt.InteractiveInterfaceClick.NEXT_AREA,[l.WATCH_AGAIN]:bt.InteractiveInterfaceClick.WATCH_AGAIN,[l.OPEN_GRAPH]:bt.InteractiveInterfaceClick.GRAPH_SHOW,[l.CLOSE_GRAPH]:bt.InteractiveInterfaceClick.GRAPH_HIDE},{click$:r,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new oe.Subject;r.subscribe(f=>{var h,g;f in s?c.next(s[f]):(o==null||o.logError({errorType:"InteractiveVideosAction",fatal:!1}),(g=(h=this.sentry).report)===null||g===void 0||g.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,s,r,a,c,f,h,g,p,b,L,w,A,C,I,M,J;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=T1(k6,oe.cloneDeepWith(e,G=>G instanceof HTMLElement?G:void 0)),this.uiConfig=i0((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:(s=this.uiConfig.sentry)!==null&&s!==void 0?s:{}},oe.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(r=this.videoConfig.isMediaSessionEnabled)!==null&&r!==void 0?r:!0),oe.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=(g=this.uiConfig.isMobile)!==null&&g!==void 0?g:this.videoConfig.isMobile,(M=this.videoConfig).autoplay&&(M.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(p=this.uiConfig.ads.enable)!==null&&p!==void 0?p:this.videoConfig.showAds,this.videoConfig.adsSlotId=(b=this.uiConfig.ads.slot)!==null&&b!==void 0?b:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(L=this.uiConfig.ads.preview)!==null&&L!==void 0?L:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((w=this.uiConfig.showLogo)!==null&&w!==void 0?w:!this.videoConfig.logoHidden),(J=this.videoConfig).canRewindLive&&(J.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(A=this.videoConfig.supportLink)!==null&&A!==void 0?A:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=b6.getLatestSupportedVersion():this.pictureInPictureApi=new Ul),this.mediaSessionApi=this.uiConfig.features.mediaSession?new a6:void 0,this.annotationsApi=this.uiConfig.features.annotations?new w6:void 0,(C=this.svelteStubComponent)===null||C===void 0||C.$destroy(),(I=this.svelteRootComponent)===null||I===void 0||I.$destroy(),this.isInited=!1,this.prevVsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),g6(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===Re.Video?this.setupMediaSessionForVideo():n===Re.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}=Object.assign({},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;this.isControlDisabled(pt.PLAY_BUTTON)||(this.log({message:"play"}),(e=this.svelteRootComponent)===null||e===void 0||e.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(pt.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)}setLanguage(e){var t;return Wi(this,void 0,void 0,function*(){yield(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=ho.getInstance())===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&t!==void 0?t:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const S6=()=>{window.customElements.define("vk-video-player",y6)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return at.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return at.VideoQuality}});Object.defineProperty(exports,"InterfaceLanguage",{enumerable:!0,get:function(){return oe.InterfaceLanguage}});Object.defineProperty(exports,"VKNumericLanguage",{enumerable:!0,get:function(){return oe.VKNumericLanguage}});Object.defineProperty(exports,"loadVKLangPack",{enumerable:!0,get:function(){return oe.loadVKLangPack}});exports.VERSION=Zo;exports.registerPlayerWebComponent=S6;
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}`)}function Bg(i){let e,t,n;function o(r){i[54](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 yg({props:l}),Ze.push(()=>Ct(e,"videoContainer",o)),{c(){F(e.$$.fragment)},m(r,s){B(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],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Og(i){let e,t,n;function o(r){i[53](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 Ng({props:l}),Ze.push(()=>Ct(e,"videoContainer",o)),{c(){F(e.$$.fragment)},m(r,s){B(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],Pt(()=>t=!1)),e.$set(a)},i(r){n||(d(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function zg(i){let e,t,n,o;const l=[Og,Bg],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-xu043z")},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()),d(n,1),n.m(e,null))},i(a){o||(d(n),o=!0)},o(a){v(n),o=!1},d(a){a&&y(e),r[t].d()}}}function Dg(i,e,t){let{sources:n}=e,{store:o}=e,{uiConfig:l}=e,{title:r}=e,{thumbUrl:s}=e,{videoLogoUrl:a}=e,{interactiveContainer:c}=e,{subtitles:f}=e,{live:h}=e,{preload:g}=e,{autoplay:p}=e,{volume:b=void 0}=e,{muted:A=void 0}=e,{fromTime:w}=e,{canRewindLive:T}=e,{showAds:E}=e,{adsSlotId:I=void 0}=e,{adsParams:V=void 0}=e,{adsPreviewParam:Q=void 0}=e,{duration:J=void 0}=e,{logoClickable:U}=e,{logoHidden:z}=e,{isMobile:re}=e,{showNextPrevButtons:ce=!1}=e,{nextButtonActive:$=!1}=e,{prevButtonActive:N=!1}=e,{endScreenVideoTitle:ie=void 0}=e,{endScreenVideoThumb:q=void 0}=e,{isOneVideoPlaylist:_=!1}=e,{supportLink:x}=e,{outerContainerRef:ne=void 0}=e,{fullScreenTarget:Ie=void 0}=e,{failoverHosts:ae=void 0}=e,{showMiniTimer:ge=!1}=e,{playNextVideo:Se=le.noop}=e,{playPrevVideo:Y=le.noop}=e,{repeatPlaylist:C=le.noop}=e,{seekToInteractive:ue=le.noop}=e,{toggleGraph:W=le.noop}=e,{playPrevChapter:ye=le.noop}=e;n0(l);const D=tn(),te=o.ui.debugPanelVisible,Me=o.ui.playerSize;let Pe,ve=null,Ee=!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}),c0(o);const Te=(me=!1)=>{t(34,Ee=!0),me?o.actions.external.firstStart(E):o.actions.internal.firstStart(E)};function K(me){var tt;const it=n||me;it&&o.initVideo({container:Pe,sources:it,failoverHosts:ae,subtitles:f});const et=le.safeStorage.get(Vl)==="true";te.set(et),w>0&&o.actions.external.seekTime(w);const xe=re?D.volumeDefault:(tt=b!=null?b:Y1())!=null?tt:D.volumeDefault,Ye=A!=null?A:v0();if(o.actions.external.setVolume(xe),o.actions.external.setMuted(Ye),o.getAdmanWrapper().setInitialVolume(Ye?0:xe),D.features.trafficSaving){const ot=b0();ot&&o.actions.internal.setTrafficSavingEnabled(ot)}const Xe=p0(o.videoId);Xe&&o.actions.internal.setQuality(Xe),o.ui.isAutoplay.set(p),p?Te():g&&D.features.preload&&o.actions.internal.preload()}const H=me=>{if(window.ResizeObserver){let it,et;ve=new ResizeObserver(le.debounceFn(xe=>{const Ye=xe[0];if(Ye){if(Ye.contentBoxSize){const Xe=Array.isArray(Ye.contentBoxSize)?Ye.contentBoxSize[0]:Ye.contentBoxSize;it=Xe.inlineSize,et=Xe.blockSize}else Ye.contentRect&&(it=Ye.contentRect.width,et=Ye.contentRect.height);Me.set({width:it,height:et})}},F1)),ve.observe(me)}Me.set({width:me.clientWidth,height:me.clientHeight})};Ki(()=>{if(H(Pe),(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 K(),()=>{ve==null||ve.disconnect(),o.destroy()}});function qe(){Ee?o.actions.external.play():Te(!0)}function Je(){o.actions.external.pause()}function st(me){re||o.actions.external.setMuted(me)}function je(me){re||me>=0&&me<=1&&o.actions.external.setVolume(me)}function Re(me){o.actions.internal.seekTime(me,vt.SeekAction.UNKNOWN)}function ft(me){o.actions.external.seekEpisodeStartTime(me)}function yt(me){o.actions.external.setPlaybackRate(me)}function Ne(me){o.actions.external.setAutoQualityLimits(me)}function Oe(me){Pe=me,t(33,Pe)}function Ft(me){Pe=me,t(33,Pe)}return i.$$set=me=>{"sources"in me&&t(37,n=me.sources),"store"in me&&t(0,o=me.store),"uiConfig"in me&&t(38,l=me.uiConfig),"title"in me&&t(1,r=me.title),"thumbUrl"in me&&t(2,s=me.thumbUrl),"videoLogoUrl"in me&&t(3,a=me.videoLogoUrl),"interactiveContainer"in me&&t(4,c=me.interactiveContainer),"subtitles"in me&&t(39,f=me.subtitles),"live"in me&&t(5,h=me.live),"preload"in me&&t(40,g=me.preload),"autoplay"in me&&t(6,p=me.autoplay),"volume"in me&&t(41,b=me.volume),"muted"in me&&t(42,A=me.muted),"fromTime"in me&&t(43,w=me.fromTime),"canRewindLive"in me&&t(7,T=me.canRewindLive),"showAds"in me&&t(8,E=me.showAds),"adsSlotId"in me&&t(9,I=me.adsSlotId),"adsParams"in me&&t(10,V=me.adsParams),"adsPreviewParam"in me&&t(11,Q=me.adsPreviewParam),"duration"in me&&t(12,J=me.duration),"logoClickable"in me&&t(13,U=me.logoClickable),"logoHidden"in me&&t(14,z=me.logoHidden),"isMobile"in me&&t(15,re=me.isMobile),"showNextPrevButtons"in me&&t(16,ce=me.showNextPrevButtons),"nextButtonActive"in me&&t(17,$=me.nextButtonActive),"prevButtonActive"in me&&t(18,N=me.prevButtonActive),"endScreenVideoTitle"in me&&t(19,ie=me.endScreenVideoTitle),"endScreenVideoThumb"in me&&t(20,q=me.endScreenVideoThumb),"isOneVideoPlaylist"in me&&t(21,_=me.isOneVideoPlaylist),"supportLink"in me&&t(22,x=me.supportLink),"outerContainerRef"in me&&t(23,ne=me.outerContainerRef),"fullScreenTarget"in me&&t(24,Ie=me.fullScreenTarget),"failoverHosts"in me&&t(44,ae=me.failoverHosts),"showMiniTimer"in me&&t(25,ge=me.showMiniTimer),"playNextVideo"in me&&t(26,Se=me.playNextVideo),"playPrevVideo"in me&&t(27,Y=me.playPrevVideo),"repeatPlaylist"in me&&t(28,C=me.repeatPlaylist),"seekToInteractive"in me&&t(29,ue=me.seekToInteractive),"toggleGraph"in me&&t(30,W=me.toggleGraph),"playPrevChapter"in me&&t(31,ye=me.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(re)},[o,r,s,a,c,h,p,T,E,I,V,Q,J,U,z,re,ce,$,N,ie,q,_,x,ne,Ie,ge,Se,Y,C,ue,W,ye,Re,Pe,Ee,D,Te,n,l,f,g,b,A,w,ae,K,qe,Je,st,je,ft,yt,Ne,Oe,Ft]}class Fg extends ke{constructor(e){super(),we(this,e,Dg,zg,_e,{sources:37,store:0,uiConfig:38,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:39,live:5,preload:40,autoplay:6,volume:41,muted:42,fromTime:43,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:44,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:45,play:46,pause:47,setMuted:48,setVolume:49,seekTime:32,seekEpisodeStartTime:50,setPlaybackRate:51,setAutoQualityLimits:52},Rg,[-1,-1])}get initVideo(){return this.$$.ctx[45]}get play(){return this.$$.ctx[46]}get pause(){return this.$$.ctx[47]}get setMuted(){return this.$$.ctx[48]}get setVolume(){return this.$$.ctx[49]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[50]}get setPlaybackRate(){return this.$$.ctx[51]}get setAutoQualityLimits(){return this.$$.ctx[52]}}function Hg(i){let e,t;return{c(){e=M("svg"),t=M("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),m(e,t)},p(n,[o]){o&1&&u(t,"fill",n[0])},i:G,o:G,d(n){n&&y(e)}}}function Ug(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 jg extends ke{constructor(e){super(),we(this,e,Ug,Hg,_e,{isWhite:1})}}function qg(i){Fe(i,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function T1(i){let e,t;return{c(){e=k("div"),t=Ue(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){S(n,e,o),m(e,t)},p(n,o){o&1&&$e(t,n[0])},d(n){n&&y(e)}}}function E1(i){let e,t;return e=new jg({props:{isWhite:!!i[1]}}),{c(){F(e.$$.fragment)},m(n,o){B(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.isWhite=!!n[1]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Wg(i){let e,t,n,o,l=i[0]&&T1(i),r=(!i[0]||!i[1])&&E1(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),m(e,t),r&&r.m(e,null),o=!0},p(s,[a]){s[0]?l?l.p(s,a):(l=T1(s),l.c(),l.m(e,t)):l&&(l.d(1),l=null),!s[0]||!s[1]?r?(r.p(s,a),a&3&&d(r,1)):(r=E1(s),r.c(),d(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||(d(r),o=!0)},o(s){v(r),o=!1},d(s){s&&y(e),l&&l.d(),r&&r.d()}}}function Zg(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 Gg extends ke{constructor(e){super(),we(this,e,Zg,Wg,_e,{title:0,thumbUrl:1},qg)}}class A1{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 Cc extends A1{constructor(){super(),this.listeners||A1.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 Kg=class{constructor(){Object.defineProperty(this,"signal",{value:new Cc,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&&(Kg.prototype[Symbol.toStringTag]="AbortController",Cc.prototype[Symbol.toStringTag]="AbortSignal");function Tc(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 Yg(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!Tc({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 g=new t(c,f);return h&&Object.defineProperty(g,"signal",{writable:!1,enumerable:!1,configurable:!0,value:h}),g},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(p){h=new Error("Aborted"),h.name="AbortError"}if(f.aborted)return Promise.reject(h);const g=new Promise((p,b)=>{f.addEventListener("abort",()=>b(h),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([g,r(a,c)])}return r(a,c)},Request:l}}const Ql=Tc({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),Ec=Ql?Yg({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,Xg=Ql?Ec.fetch:window.fetch;Ql?Ec.Request:window.Request;const Qg=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,Jg="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class xg{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(Jg,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"}),rt(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(o.duration),this.adsState.playbackState.set(Zt.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(Zt.PAUSED)},this.onAdPlayed=()=>{le.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Zt.PLAYING)},this.onAdMidrollPoint=()=>{le.assertNonNullable(this.adman),le.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=wn.Midroll,this.adman.start(wn.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 g;const p=this.playerState&&rt(this.playerState.vsid);p&&(g=parseInt(p,36));const b=Object.assign(Object.assign(Object.assign({dl:encodeURIComponent(window.location.href),autoplay:l,player_width:t,player_height:n,puid10:Qg(t,n),puid11:o?0:1,preview:h},g?{request_id:g}:{}),{duration:f}),c),A={slot:a,wrapper:r,videoEl:s,videoQuality:n,params:b,browser:{mobile:!1}},w=new window.AdmanHTML;w.setDebug(!1),w.onReady(this.onAdsReady),w.onStarted(this.onAdStarted),w.onPlayed(this.onAdPlayed),w.onPaused(this.onAdPaused),w.adMidrollPoint(this.onAdMidrollPoint),w.onClosed(this.onAdClosed),w.onSkipped(this.onAdSkipped),w.onClicked(this.onAdClicked),w.onTimeRemained(this.onAdTimeRemained),w.onCompleted(this.onAdCompleted),w.onError(this.onAdError),w.init(A),this.adman=w,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(A)}`})}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===wn.Postroll;this.adsState.playbackState.set(Zt.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=rt(this.adsState.playbackState);e===Zt.PLAYING?this.pause():e===Zt.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=wn.Preroll,this.adman.start(wn.Preroll)}startPostroll(){le.assertNonNullable(this.adman),le.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=wn.Postroll,this.adman.start(wn.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 $g=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 e6{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 Ac,{startTime:c,endTime:f}=a.parse(s);l.startTime=c,l.endTime=f}else if(s.trim()!==""){const a=new t6,{texts:c}=a.parse(s);l.texts=[...l.texts,...c]}(l.startTime||l.endTime)&&l.texts.length>0&&t.push(l)}return t}}class Ac{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 t6{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 g=r.indexOf(h,s);return f===-1||f>g?g:f},-1);if(c===-1){a.push(r.substring(s));break}a.push(r.substring(s,c)),s=c+1}return a}}),l=new Ac;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 Tn,Bt,Pl=0,Cl=!1;const i6=(i,e,t)=>{var n;const o=i>=Pl,l=i<Pl,r=(f,h=0,g=0)=>f<h&&f<g,s=(f,h=0,g=0)=>f>=h&&f<=g,a=(f,h=0,g=0)=>f>h&&f>g,c=(n=t.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(Pl=i,l&&(Cl=!1),le.isNonNullable(Tn)&&s(i,Tn.startTime,Tn.endTime)&&Tn.lang===e.value)return Tn;if(!le.isNonNullable(Bt)&&(c!=null&&c.length)&&!Cl){const f=c.find(({startTime:h,endTime:g})=>s(i,h,g)||o&&r(i,h,g));Bt=f&&Object.assign(Object.assign({},f),{lang:e.value}),Tn=void 0,!le.isNonNullable(Bt)&&c[c.length-1].endTime<i&&(Cl=!0);return}else{if(s(i,Bt==null?void 0:Bt.startTime,Bt==null?void 0:Bt.endTime))return Tn=Bt,Bt=void 0,Tn;(o&&a(i,Bt==null?void 0:Bt.startTime,Bt==null?void 0:Bt.endTime)||l&&r(i,Bt==null?void 0:Bt.startTime,Bt==null?void 0:Bt.endTime))&&(Bt=void 0)}},Tl={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 Do=null;class po{constructor(e,t){if(!Do){const n=new vt.OneStat(e,t),o=new le.Subscription;Do=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n==null||n.destroy(),o==null||o.unsubscribe(),Do=null}})}}static getInstance(){return Do}}const n6=({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:g,player:p,disabledControls:b,isInteractive:A,interactiveRanges:w,replayInteractive:T,hasInteractiveBranches:E,playPrevChapterDisabledTooltip:I,additionalButtons:V,looped:Q=!1})=>{var J,U,z,re;const ce=Object.assign(Object.assign({},g),{configName:[...(J=g.configName)!==null&&J!==void 0?J:[],"ui"],isAudioDisabled:l,live:Object.assign(Object.assign({},(U=g.live)!==null&&U!==void 0?U:{}),{isLiveCatchUpMode:!!n})}),$=h,N=p||new at.Player(ce);N.setLooped(Q);const ie=new le.Logger,q=new xg(ie,{loadTimeout:$.ads.loadTimeout,initTimeout:$.ads.initTimeout}),_=po.getInstance(),x=Bl.getInstance(),ne=a==null?void 0:a.pictureInPictureApi,Ie=a==null?void 0:a.annotationsApi,ae=ie.createComponentLog("Store");let ge,Se,Y={};const C=le.getCurrentBrowser(),ue=_?kt(_.oneStat.vsid$):mn(void 0),W=He(bo()),ye=(z=ne==null?void 0:ne.info.isActive$)!==null&&z!==void 0?z:new le.ValueSubject(!1),D=ne==null?void 0:ne.info.type,te=He(0),Me=He([]),Pe=le.merge(N.events.fatalError$,N.events.managedError$).subscribe(P=>Me.update(ee=>[...ee,P])),ve=mn(!1,P=>{const ee=N.events.fatalError$.subscribe(()=>P(!0));return()=>ee.unsubscribe()}),Ee=P=>Gi(void 0,void 0,void 0,function*(){var ee;const be=Object.values(le.InterfaceLanguage).includes(P);if($.downloadVKLanguages&&(be&&$.updateBuiltinLanguages||!Rr(P))){let Ge;try{Ge=yield le.loadVKLangPack(P,o0,l0)}catch(ht){(ee=_==null?void 0:_.oneStat)===null||ee===void 0||ee.logError({errorType:"VKLangPack",fatal:!1}),x==null||x.report(ht,{errorType:"VKLangPack",fatal:!1})}Ge&&(Nr({language:P,pack:Ge,fallback:$.defaultLanguage}),Te.set(P))}Rr(P)&&Te.set(P)}),Te=He(i);Ee(i);const K=(P,ee)=>{const be=rt(Te);return Vu(be,P,ee,$.defaultLanguage)},H=He(Be.Thumb),qe=ii([ve,H],([P,ee])=>P?Be.Crashed:ee),Je=(()=>{const P=He(new Set(b));return Object.assign(Object.assign({},P),{add:ee=>{P.update(be=>new Set([...be].concat(ee)))},remove:ee=>{P.update(be=>{const ze=[...be];return new Set(Array.isArray(ee)?ze.filter(Ge=>!ee.includes(Ge)):ze.filter(Ge=>Ge!==ee))})},includes:ee=>{const be=rt(P);return Array.isArray(ee)?ee.every(ze=>be.has(ze)):be.has(ee)}})})();ae({message:"create store"});const st=P=>{ae({message:`init video, config: ${JSON.stringify(P)}`}),A?P.container.append(N.experimental.element$.getValue()):N.initVideo(P),P.subtitles&&N.setExternalTextTracks(P.subtitles),ge=P},je=new le.Subject,Re=P=>je.next(P),ft=new le.Subject,yt=new le.Subject,Ne=new le.Subject,Oe={actionRewind$:ft,actionSeek$:yt,inPiP$:ye,inFullscreen$:new le.Observable(P=>W.subscribe(ee=>P.next(ee))),actionSetSubtitle$:Ne,nextMovie$:je};if(_){const{oneStat:P,statSubscription:ee}=_;ee.add(P.attachTo(N)),ee.add(P.attachToUi(Oe)),ee.add(P.attachToAds(q.events)),P.authorize(o).catch(be=>{ae({message:`onestat auth error ${String(be)}`})})}if(x){const P=new le.Subscription,ee=(be,ze)=>P.add(be.subscribe(ze));if(ee(N.events.managedError$,be=>{x.logIError(be)}),ee(N.events.fatalError$,be=>{x.logIError(be,!0)}),_){const{oneStat:be}=_;ee(be.experimental.error$,ze=>{x.logIError(ze)})}x.sentrySubscription.add(P)}const Ft=()=>{le.isIOS()&&Se&&e4(Se)},me=new le.Subscription().add(N.experimental.element$.subscribe(P=>{P&&(Se=P,P.classList.add("player-media"),qo(ne)&&(ne.updateVideoElement(),ne.registryEventHandlers()),A&&P.setAttribute("pip","false"))})).add(N.events.ended$.subscribe(()=>{var P;Ft(),(P=s==null?void 0:s.onEnded)===null||P===void 0||P.call(s)})).add(N.events.started$.subscribe(()=>Gi(void 0,void 0,void 0,function*(){var P,ee;qo(ne)&&(yield ne==null?void 0:ne.revealPictureInPicture());const be=N.info.muted$.getValue();(P=s==null?void 0:s.onStarted)===null||P===void 0||P.call(s),(ee=Y.onStarted)===null||ee===void 0||ee.call(Y,be)}))).add(N.events.willSeek$.subscribe(({from:P,to:ee})=>{var be;(be=s==null?void 0:s.onSeek)===null||be===void 0||be.call(s,P,ee)})).add(N.info.position$.subscribe(P=>{var ee;const be=N.info.duration$.getValue();(ee=s==null?void 0:s.onTimeupdate)===null||ee===void 0||ee.call(s,be,P),q.setPosition(P,be)})).add(N.events.fatalError$.subscribe(()=>{var P;(P=s==null?void 0:s.onCrashed)===null||P===void 0||P.call(s)})).add(N.info.is3DVideo$.subscribe(P=>{Dt.ui.is3DVideo.set(P)})).add(N.info.isEnded$.subscribe(P=>{A&&(P?(rt($o)&&Je.add(ho),Je.add(pt.PLAY_BUTTON)):Je.remove(pt.PLAY_BUTTON))})).add(N.info.liveTime$.subscribe(P=>{var ee;(ee=s==null?void 0:s.onLiveTime)===null||ee===void 0||ee.call(s,P)})),it=new le.Subscription,et=()=>{it.add(N.events.log$.subscribe(P=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${P.component}`,P.message)})).add(ie.log$.subscribe(P=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${P.component}.`,P.message)}))},xe=()=>{it.unsubscribe()},Ye=(P,ee)=>{N.startCameraManualRotation(P,ee)},Xe=(P=!1)=>{N.stopCameraManualRotation(P)},tt=(P,ee,be)=>{N.moveCameraFocusPX(P,ee,be)},ot=()=>{N.holdCamera()},nt=()=>{N.releaseCamera()},De=mn(N.info.position$.getValue(),P=>{let ee,be;const ze=()=>{const Ge=N.info.playbackState$.getValue(),ht=N.info.isLive$.getValue(),Mt=N.info.duration$.getValue(),wt=N.info.position$.getValue();if([at.PlaybackState.PLAYING,at.PlaybackState.PAUSED].includes(Ge)){const Fi=ht?wt-Mt:N.getExactTime();Fi!==be&&P(Fi),be=Fi}ee=requestAnimationFrame(ze)};return ze(),()=>cancelAnimationFrame(ee)}),Nt=kt(ye),Tt=kt(N.info.playbackState$),lt=kt(N.info.currentBuffer$),si=kt(N.info.isEnded$),dt=kt(N.info.isLive$),Ke=$.features.playbackRate?kt(N.info.canChangePlaybackSpeed$):mn(!1),Vt=kt(N.info.liveBufferTime$),ut=kt(N.info.volume$),gi=kt(N.info.muted$),de=q1(N.info.autoQualityLimits$.pipe(le.map(({max:P})=>P!==void 0)),((re=N.info.autoQualityLimits$.getValue())===null||re===void 0?void 0:re.max)!==void 0),Ce=kt(N.info.autoQualityLimitingAvailable$),Ve=kt(N.info.availableQualities$),It=kt(N.info.availableQualitiesFps$),Jt=kt(N.info.chromecastState$),Ae=kt(N.info.chromecastDeviceName$),ni=kt(N.info.currentFormat$),ai=kt(N.info.throughputEstimation$),Ht=kt(N.info.videoBitrate$),Vi=kt(N.info.intrinsicVideoSize$),Ut=kt(N.info.duration$),Yi=kt(N.info.isAudioAvailable$);let ui=null;const Ii=N.info.isBuffering$,Et=mn(Ii.getValue(),P=>{const ee=Ii.subscribe(be=>{be&&ui===null?ui=window.setTimeout(()=>{P(Ii.getValue()),ui=null},$.loaderDelay):P(be)});return()=>{ee.unsubscribe(),ui&&clearTimeout(ui)}}),ln=()=>{ui&&clearTimeout(ui),ui=null},oi=ii([Ut,dt],([P,ee])=>ee?-P:P),rn=ii([Tt],([P])=>P===at.PlaybackState.PLAYING),Lt=kt(N.info.atLiveEdge$),Pi=kt(N.info.atLiveDurationEdge$),ci=kt(N.info.position$),Mi=ii([ci,Ut],([P,ee])=>isFinite(P)&&isFinite(ee)&&!!ee),Hi=ii([Jt],([P])=>P===at.ChromecastState.CONNECTED),xt=He(void 0),Ci=kt(N.info.isAutoQualityEnabled$,P=>P&&xt.set(void 0)),Ti=kt(N.info.currentQuality$,()=>xt.set(void 0)),Ni=ii([xt,Ti],([P,ee])=>P!=null?P:ee),$t=ii([Ve,It,Ci,Ni,ni],([P,ee,be,ze,Ge])=>{const ht=[];Ge!==at.VideoFormat.MPEG&&ht.push({value:Jn.AUTO,displayValue:K("auto_quality_option"),selected:be});const Mt=P.filter(wt=>wt!==le.VideoQuality.INVARIANT);for(const wt of Mt){const Fi=ee[wt],Ao=wt===le.VideoQuality.INVARIANT?K("auto_quality_option"):wt;ht.push({value:wt,displayValue:`${Ao}${Fi?$g(Fi):""}`,selected:be?!1:wt===ze})}return ht}),fi=kt(N.info.currentPlaybackRate$),bi=ii([fi,Lt,Pi],([P,ee,be])=>{const ze=be||A?1:$.controls.playbackRateMin,Ge=ee?1:$.controls.playbackRateMax,ht=$.controls.playbackRateStep,Mt=[];for(let wt=ze;wt<=Ge;wt+=ht)Mt.push({value:wt,displayValue:wt===1?K("playback_rate_1"):K("playback_rate",{multiplier:wt.toString(10)}),selected:P===wt});return Mt}),di=$.features.subtitles?kt(N.info.availableTextTracks$):mn([]),Ei=ii([di],([P],ee)=>{const be=[],ze=[];for(const Ge of P)Ge.url&&be.push(Xg(Ge.url));Promise.allSettled(be).then(Ge=>{for(const[ht,Mt]of Ge.entries())Mt.status==="fulfilled"&&Mt.value.text().then(wt=>{const Fi=new e6,Ao=P[ht].language,Mc=!!P[ht].isAuto,er=Fi.parse(wt);Ao&&er&&ze.push({lang:Ao,subtitles:er,isAuto:Mc}),ht===Ge.length-1&&ee(ze)})})}),jt={displayValue:K("subtitles_off"),value:"off"},ei=He(Object.assign({},jt)),Ri=ii([Ei,ei,Ei],([P,ee])=>{if((P==null?void 0:P.length)>0){const be=[Object.assign(Object.assign({},jt),{selected:(ee==null?void 0:ee.value)===jt.value})];for(const{lang:ze,isAuto:Ge}of P)Tl[ze]&&be.push({displayValue:Ge?K("subtitles_auto",{language:Tl[ze]}):Tl[ze],value:ze,selected:(ee==null?void 0:ee.value)===ze,isAuto:Ge});return be}else return[]}),mi=ii([De,ei,Ei],([P,ee,be])=>{if(ee&&ee.value!==jt.value)return i6(P,ee,be)}),_i=ii([mi],([P])=>P!=null&&P.texts?P.texts:[]),Bi=He(!0),wi=ii([lt,oi,ci,Vt],([P,ee,be,ze])=>{var Ge;const ht=(Ge=P==null?void 0:P.end)!==null&&Ge!==void 0?Ge:0;if(!ze)return ht/ee;const wt=-be+ze-ee;return(ht-wt)/ee}),Ai=kt(N.info.availableSources$),ki=ii([Ai],([P])=>Object.keys((P==null?void 0:P[at.VideoFormat.MPEG])||{}).length>0),hi=()=>{var P,ee,be;const ze=Object.keys(((ee=(P=N.info.availableSources$)===null||P===void 0?void 0:P.getValue())===null||ee===void 0?void 0:ee[at.VideoFormat.MPEG])||{}),Ge=le.getHighestQuality(ze)||le.VideoQuality.Q_144P;return(be=ge.sources[at.VideoFormat.MPEG])===null||be===void 0?void 0:be[Ge]},Li=()=>{var P;const ee=hi();ee?m0(ee,((P=ge==null?void 0:ge.meta)===null||P===void 0?void 0:P.title)||"video"):ae({message:"There is no URL for download video"})},Yt=()=>{ae({message:"toggle muted"});const P=N.info.muted$.getValue(),ze=!(N.info.volume$.getValue()===0||P);Qt(ze)},Xt=(P,ee=P,be=!1)=>{var ze,Ge,ht;const Mt=!be,wt=N.info.muted$.getValue();ae({message:`set volume, volume: ${P}, preferredVolume: ${ee}, internalCall: ${Mt}`}),N.setVolume(P),q.setVolume(P),Mt&&((ze=s==null?void 0:s.onVolumeChange)===null||ze===void 0||ze.call(s,P)),ar(ee),wt?(N.setMuted(!1),Mt&&((Ge=s==null?void 0:s.onUnmute)===null||Ge===void 0||Ge.call(s)),ol(!1)):!wt&&P===0&&(N.setMuted(!0),Mt&&((ht=s==null?void 0:s.onMute)===null||ht===void 0||ht.call(s)),ol(!0))},Qt=(P,ee=!1)=>{var be,ze,Ge,ht;const Mt=!ee,wt=N.info.volume$.getValue();if(ae({message:`set muted, currentVolume: ${wt}, mute: ${P}, internalCall: ${Mt}`}),N.setMuted(P),q.setVolume(P?0:wt),ol(P),Mt&&(P?(be=s==null?void 0:s.onMute)===null||be===void 0||be.call(s):(ze=s==null?void 0:s.onUnmute)===null||ze===void 0||ze.call(s)),wt===0){let Fi=(Ge=Y1())!==null&&Ge!==void 0?Ge:$.volumeDefault;Fi===0&&(Fi=$.volumeMinRestore,ar(Fi)),N.setVolume(Fi),q.setVolume(Fi),Mt&&((ht=s==null?void 0:s.onVolumeChange)===null||ht===void 0||ht.call(s,Fi))}},li=()=>{N.prepare()},Ui=()=>{var P,ee;if(le.assertNonNullable(Dt),!rt(Dt.ui.controls.disabledControls$).has(pt.PLAY_BUTTON)){if(ae({message:"toggle play"}),rt(Dt.playerPhase)===Be.Ads){q.togglePlay();return}if(N.info.playbackState$.getValue()!==at.PlaybackState.PLAYING){if(N.info.isEnded$.getValue()){if(ae({message:"toggle play, video ended, seek to 0"}),ft.next(),yt.next(vt.SeekAction.REWIND),A){T==null||T();return}N.seekTime(0)}ae({message:"toggle play, call player.play"}),N.play(),(P=s==null?void 0:s.onPlay)===null||P===void 0||P.call(s)}else ae({message:"toggle play, call player.pause"}),N.pause(),(ee=s==null?void 0:s.onPause)===null||ee===void 0||ee.call(s)}},ji=P=>{ae({message:`set quality, quality: ${P}`}),N.setAutoQuality(P===Jn.AUTO),P!==Jn.AUTO?(h0(e,P),xt.set(P),N.setQuality(P)):X1()},yi=P=>{ae({message:`set trafficSavingEnabled, value: ${P}`}),N.setAutoQualityLimits({max:P?$.trafficSavingLimit:void 0}),g0(P)},Si=P=>{N.setPlaybackRate(P)},Oi=()=>{const P=rt(bi),ee=P.findIndex(({selected:ze})=>ze);if(ee===P.length-1)return;const be=P[ee+1];Si(be.value)},zi=()=>{const P=rt(bi),ee=P.findIndex(({selected:ze})=>ze);if(ee===0)return;const be=P[ee-1];Si(be.value)},ri=P=>{P&&P.value!==jt.value&&Ne.next(P.isAuto?P.value+"_auto":P.value),ei.set(P)},qt=()=>{const P=rt(Ri),ee=rt(ei),be=rt(Te);if((ee==null?void 0:ee.value)===jt.value){const ze=P.filter(Ge=>Ge.value!==jt.value).find(Ge=>Ge.value===be)||P[1];ri(ze!=null?ze:Object.assign({},jt))}else ri(Object.assign(Object.assign({},jt),{selected:!1}))},St=(P,ee,be=!0)=>{if(ae({message:`seek to time, time: ${P}`}),yt.next(ee),N.info.isLive$.getValue()){const ze=N.info.duration$.getValue(),Ge=Math.min(0,ze+P);N.seekTime(Ge,be)}else{if(rt($o))return;N.seekTime($l(P),be)}},Xi=P=>{ae({message:`seek to episode start time: ${P}`}),St(P,vt.SeekAction.EPISODE,!0)},Qi=(P,ee)=>{ae({message:`seek to percent, percent: ${P}`});const be=Math.round(rt(oi)*P);St(be,ee,!1)},qi=P=>{ae({message:`seek external, time: ${P}`}),yt.next(vt.SeekAction.UNKNOWN),N.seekTime(N.info.isLive$.getValue()?-P:P)},zt=P=>{var ee,be;ae({message:`set auto quality limitation. Max: ${(ee=P.max)!==null&&ee!==void 0?ee:"none"}. Min: ${(be=P.min)!==null&&be!==void 0?be:"none"}`}),N.setAutoQualityLimits(P)},Wi=P=>{ae({message:`seek external to episode start time: ${P}`}),St(P,vt.SeekAction.EPISODE,!0)},Ji=P=>{ae({message:`set playback rate to: ${P}`}),N.setPlaybackRate(P)},Rt=He(void 0),fe=He(!1),dn=P=>{ae({message:`start scrubbing, progress: ${P}`}),fe.set(!0),xi(P)},xi=P=>{Rt.set(P)};let vn,gn;const bn=()=>{Rt.set(void 0),fe.set(!1)},_n=()=>{clearTimeout(gn),clearTimeout(vn),vn=window.setTimeout(()=>{bn()},500),Se==null||Se.removeEventListener("seeked",_n)},X=P=>{ae({message:`complete scrubbing, progress: ${P}`}),Qi(P,vt.SeekAction.SLIDER),rt(Dt.ui.isMobile)&&rt(Dt.state.currentFormat$)===at.VideoFormat.HLS?(Se==null||Se.addEventListener("seeked",_n),gn=window.setTimeout(()=>{_n()},300)):bn()},bt=ii([De,oi,Rt],([P,ee,be],ze)=>{ze(le.isNonNullable(be)?be*ee:P)}),sn=He({width:0,height:0}),$i=ii([sn],([{width:P}],ee)=>{const be=r3(P);ee(be)}),nn=He(!1),an=ii([$i,nn],([P,ee])=>ee?V.filter(be=>!be.hideOnMobile):V.filter(be=>{var ze;return!(!((ze=be.hideOnDesktopGridTypes)===null||ze===void 0)&&ze.includes(P))})),io=ii([nn,ve],([P,ee],be)=>{be(P&&ee)}),no=()=>{yt.next(vt.SeekAction.LIVE),ae({message:"switch to active live"}),N.seekTime(0),N.info.playbackState$.getValue()!==at.PlaybackState.PLAYING&&Dt.actions.internal.togglePlay()},oo=()=>q.skip(),lo=(P=!0)=>{le.assertNonNullable(Dt),ae({message:`switch from ads to video, callPlay: ${P}`}),H.set(Be.Video),P&&N.play()},ro=()=>{le.assertNonNullable(Dt),ae({message:"switch from video to ads"}),Dt.actions.internal.pause(),Ft(),H.set(Be.Ads)},so=P=>{le.assertNonNullable(Dt);const ee=P?Be.WaitingLive:Be.Thumb;H.set(ee)},ao=P=>{le.assertNonNullable(Dt);const ee=P?Be.WaitingRecord:Be.Thumb;H.set(ee)},uo=()=>(le.assertNonNullable(Dt),f0(N,ge,Dt)),co=()=>(le.assertNonNullable(Dt),d0(N,ge,Dt)),fo=()=>Se,Z=()=>{ae({message:"toggle chromecast"}),N.toggleChromecast()},_t=P=>{var ee;le.assertNonNullable(Dt);const be=!P;if(rt(Dt.playerPhase)===Be.Ads){ae({message:`pause ads, internalCall: ${be}`}),q.pause();return}ae({message:`pause video, internalCall: ${be}`}),be&&((ee=s==null?void 0:s.onPause)===null||ee===void 0||ee.call(s)),N.pause()},en=P=>{var ee;le.assertNonNullable(Dt);const be=!P;if(rt(Dt.playerPhase)===Be.Ads){ae({message:`play ads, internalCall: ${be}`}),q.play();return}ae({message:`play video, internalCall: ${be}`}),be&&((ee=s==null?void 0:s.onPlay)===null||ee===void 0||ee.call(s)),N.play()},Di=(P,ee)=>{le.assertNonNullable(Dt),ae({message:`first start, show ads: ${P}, internalCall: ${!ee}`}),P?H.set(Be.Ads):(H.set(Be.Video),ee?N.play():Dt.actions.internal.togglePlay())},oe=()=>(ae({message:"getting time codes"}),c),Pn=()=>{const P=oe();if(!P||[0,1].includes(P.length))return;const ee=N.info.position$.getValue();return P.find(be=>be.time>ee)},mt=P=>{let ee=P;ee||(ee=Pn()),ee&&(ae({message:"seek to next episode"}),St(ee.time,vt.SeekAction.EPISODE,!0))},ti=()=>{const P=oe();if(!P||[0,1].includes(P.length))return;const ee=N.info.position$.getValue(),be=P.findIndex(Ge=>Ge.time>ee),ze=be===-1?P.length-2:be-2;if(!(ze<0))return P[ze]},Cn=P=>{let ee=P;ee||(ee=ti()),ee&&(ae({message:"seek to prev episode"}),St(ee.time,vt.SeekAction.EPISODE,!0))},Rn=()=>(ae({message:"getting preview thumbs data"}),f),xo=()=>Gi(void 0,void 0,void 0,function*(){ne!=null&&ne.isActive()?yield ne==null?void 0:ne.remove():yield ne==null?void 0:ne.request()}),mo=(P=-90)=>{te.update(ee=>ee+P)},Eo=He(w),Jl=ii([Eo],([P=[]])=>{const ee=[];for(let be=0;be<P.length;be++){const{range:[ze,Ge],subjects:ht}=P[be];be===0&&ze!==0&&ee.push({time:0,text:""}),ee.push({time:ze/1e3,text:"",interactive:!0,completed:!ht.length}),Ge!==1/0&&ee.push({time:Ge/1e3,text:"",interactive:!1,completed:!ht.length})}return ee}),Vc=P=>{const ee=rt(Eo);Eo.set(ee.map(be=>Object.assign(Object.assign({},be),{subjects:be.subjects.filter(ze=>ze!==P)})))},xl=He(!1),$o=ii([ci,Eo,xl],([P,ee,be])=>{if(!A)return!1;if(be)return!0;const ze=P*1e3,Ge=ee==null?void 0:ee.find(({range:[ht,Mt],subjects:wt})=>ht<ze&&ze<Mt&&wt.length);return Ge&&rt(fe)&&bn(),!!Ge}),$l=P=>{if(!A)return P;const ee=rt(Jl),be=rt(oi),Ge=rt(ci)/be,ht=ee.find(Mt=>Mt.interactive&&!Mt.completed&&Mt.time>Ge);return typeof(ht==null?void 0:ht.time)=="number"?Math.min(P,ht.time-.05):P},Ic=()=>{clearTimeout(gn),clearTimeout(vn),me.unsubscribe(),it.unsubscribe(),N.destroy(),q.destroy(),_==null||_.destroy(),x==null||x.destroy(),Pe.unsubscribe()},Dt={interfaceLanguage$:Te,initVideo:st,videoId:e,isClip:t,playerPhase:qe,vsid:ue,state:{positionExact$:De,positionWithScrubbing$:bt,duration$:oi,playbackState$:Tt,isPlaying$:rn,isLoaderVisible:Et,bufferedProgress$:wi,isLive$:dt,canChangePlaybackSpeed$:Ke,isActiveLive$:Lt,isOldestAvailableLive$:Pi,isRewindableLive$:Mi,isEnded$:si,muted$:gi,volume$:ut,trafficSavingEnabled$:de,autoQualityLimitingAvailable$:Ce,currentQuality$:Ni,isAutoQualityEnabled$:Ci,availableQualities$:$t,currentPlaybackRate$:fi,availablePlaybackRates$:bi,currentSubtitle$:ei,availableSubtitlesList$:Ri,currentSubtitleCaptions$:_i,isAutoSubtitleCaptionVisible$:Bi,chromecastState$:Jt,chromecastDeviceName$:Ae,chromecastConnected$:Hi,currentFormat$:ni,throughputEstimation$:ai,videoBitrate$:Ht,videoSize$:Vi,errorLog$:Me,crashed$:ve,isAudioAvailable$:Yi,isAudioDisabled:!!l,canDownload:$.features.download&&!!r,availableSources$:Ai,hasMpegSources$:ki,isInteractive:A,isInteractiveGraphEnabled:$.features.interactiveGraph,isSeekToInteractiveEnable:$.features.seekToInteractive,isPlayPrevChapterEnabled:$.features.interactivePlayPrevChapter,interactiveEpisodes$:Jl,isInteractiveTime$:$o,graphIsOpened$:He(!1),isInteractiveExpectation$:xl,hasInteractiveBranches:E,playPrevChapterDisabledTooltip:I},ui:{controlsVisible:He(!1),touched:He(!1),controls:{tooltipPointerOffsetX:He(0),prevButton:He(void 0),playButton:He(void 0),replayButton:He(void 0),nextButton:He(void 0),playPrevChapterButton:He(void 0),seekToInteractiveButton:He(void 0),interactiveGraphButton:He(void 0),liveButton:He(void 0),time:He(void 0),episodes:He(void 0),volume:He(void 0),subtitles:He(void 0),settings:He(void 0),chromecast:He(void 0),fullscreen:He(void 0),vkLogo:He(void 0),additionalButtons:V.length?V.reduce(P=>[...P,He(void 0)],[]):[],disabledControls$:Je},modals:{hotKeyMap:{show:He(!1),data:He({title:"",closeBtnText:"",groups:[]})}},isFullscreen:W,rotateAlpha:te,isAutoplay:He(!1),contextMenuVisible:He(!1),debugPanelVisible:He(!1),playerSize:sn,isMobile:nn,mobileNotReportControlHidden$:io,mobileUnmuteButtonExpanded:He(!1),mobileUnmuteButtonVisible:He(!1),icon3DVideoVisible:He(!1),settingsMenuVisible:He(!1),scrubbingInProgress:fe,is3DVideo:He(!1),isPictureInPictureActive$:Nt,pictureInPictureType$:mn(D),clientInfo$:mn(C),currentGridType$:$i,additionalButtons$:an,interactiveHideMobileControls:He(!1)},ads:{position:He(0),duration:He(0),playbackState:He(Zt.INACTIVE),canSkip:He(!1),secondsToWatchBeforeSkip:He(0),postrollPassed:He(!1)},webApi:{pictureInPictureApi:ne,annotationsApi:Ie},actions:{internal:{preload:li,firstStart:P=>Di(P,!1),pause:()=>_t(!1),togglePlay:Ui,toggleMuted:Yt,setVolume:Xt,setQuality:ji,setTrafficSavingEnabled:P=>yi(P),setPlaybackRate:Si,incrementPlaybackRate:Oi,decrementPlaybackRate:zi,setSubtitle:ri,toggleSubtitle:qt,togglePictureInPicture:xo,startScrubbing:dn,progressScrubbing:xi,completeScrubbing:X,toggleChromecast:Z,switchToActiveLive:no,switchFromAdsToVideo:lo,switchFromVideoToAds:ro,skipAd:oo,setWaitingLive:so,setWaitingRecord:ao,getDebugTextData:uo,getDebugPanelData:co,getVideoElement:fo,seekTime:(P,ee,be)=>St(P,ee,be),clearDelayedBufferingCheckTimeout:ln,seekEpisodeStartTime:Xi,seekToPercent:Qi,getNextEpisode:Pn,seekToNextEpisode:mt,getPrevEpisode:ti,seekToPrevEpisode:Cn,startLogging:et,stopLogging:xe,startCameraManualRotation:Ye,stopCameraManualRotation:Xe,moveCameraFocusPX:tt,holdCamera:ot,releaseCamera:nt,getVideoEpisodes:oe,getPreviewThumbsData:Rn,downloadVideo:Li,addLanguage:Nr,setLanguage:Ee,nextMovie:Re,videoRotate:mo,completeInteractiveRange:Vc,correctSeekTimeToInteractive:$l,replayInteractive:T},external:{firstStart:P=>Di(P,!0),play:()=>en(!0),pause:()=>_t(!0),seekTime:P=>qi(P),seekEpisodeStartTime:P=>Wi(P),setPlaybackRate:P=>Ji(P),setAutoQualityLimits:P=>zt(P),setMuted:P=>Qt(P,!0),setVolume:P=>Xt(P,P,!0)}},callbacks:s,setUiCallbacks:P=>{Y=Object.assign({},P)},getAdmanWrapper:()=>q,getLogger:()=>ie,destroy:Ic};return Dt};class o6{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 l6(i){let e,t,n,o;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("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),m(e,t),m(t,n),m(t,o)},p:G,i:G,o:G,d(l){l&&y(e)}}}class r6 extends ke{constructor(e){super(),we(this,e,null,l6,_e,{})}}function s6(i){Fe(i,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function a6(i){let e,t,n,o,l,r,s;return n=new r6({}),{c(){e=k("div"),t=k("div"),F(n.$$.fragment),o=R(),l=k("span"),r=Ue(i[0]),u(t,"class","dummy-image v-1pbsod4"),L(t,"desktop",!i[1]),u(l,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),L(e,"is-pip-api",i[2])},m(a,c){S(a,e,c),m(e,t),B(n,t,null),m(e,o),m(e,l),m(l,r),s=!0},p(a,[c]){(!s||c&2)&&L(t,"desktop",!a[1]),(!s||c&1)&&$e(r,a[0])},i(a){s||(d(n.$$.fragment,a),s=!0)},o(a){v(n.$$.fragment,a),s=!1},d(a){a&&y(e),O(n)}}}function u6(i,e,t){let n,o;const l=At(),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&&se("pip_dummy_title"))},[c,o,r,s,a,n]}class c6 extends ke{constructor(e){super(),we(this,e,u6,a6,_e,{},s6)}}const f6=460,d6=280;class Lc{constructor(){this.info={isActive$:new le.ValueSubject(!1),type:yn.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}request(){var e,t;return Gi(this,void 0,void 0,function*(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=yield documentPictureInPicture.requestWindow({width:f6,height:d6,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 c6({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))})})}remove(){return Gi(this,void 0,void 0,function*(){return new Promise(e=>{var t;(t=documentPictureInPicture.window)===null||t===void 0||t.close(),e()})})}dispose(){return Gi(this,void 0,void 0,function*(){yield this.remove()})}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function m6(i){return i instanceof Lc}class h6{static getLatestSupportedVersion(){const e=new ql,t=new Lc;if(t.isSupported())return t;if(e.isSupported())return e}}function L1(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 V1="Inner error. Unexpectedly root annotation container null reference exception",p6="Annotation layer with such name already exists";class El extends Error{constructor(e){super(e),this.name="AnnotationError"}}class v6{constructor(){this.layers=new Map}registryRootContainer(e){this.detach(),this.rootAnnotationsContainer=e}addLayer(e){if(!this.rootAnnotationsContainer)throw new El(V1);if(this.layers.has(e))throw new El(p6);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 El(V1);for(const e of this.layers.values())this.rootAnnotationsContainer.append(e)}destroy(){this.detach(),this.layers.clear(),this.rootAnnotationsContainer=void 0}}const g6={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 b6 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.prevVsid=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 Gg({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,g,p,b;if(!this.videoConfig)return;const{albumId:A,statPlace:w,statUserSalt:T,statAuthToken:E,statTrackCode:I,refreshStatAuthToken:V,preload:Q,autoplay:J,volume:U,muted:z,fromTime:re,canRewindLive:ce,supportLink:$,showAds:N,adsSlotId:ie,adsParams:q={},adsPreviewParam:_,interfaceLanguage:x,logoClickable:ne,logoHidden:Ie,isMobile:ae,isAudioDisabled:ge,isLiveCatchUpMode:Se,fullScreenTarget:Y,failoverHosts:C,canDownload:ue,callbacks:W,interactiveData:ye,showThumbTimer:D,additionalButtons:te=[],repeat:Me}=L1(this.videoConfig,t),{sources:Pe,title:ve,thumbUrl:Ee,videoLogoUrl:Te,unitedVideoId:K,isClip:H=!1,duration:qe,adsParams:Je={},videoEpisodes:st,previewThumbsData:je,subtitles:Re,live:ft}=e,yt=Object.assign(Object.assign({},q),Je),Ne=this.getNextVideoInfo(),Oe={sources:Pe,title:ve,thumbUrl:Ee,subtitles:Re,unitedVideoId:K,isClip:H,live:ft,albumId:A,statPlace:w,autoplay:J,muted:z,volume:U,fromTime:re,canRewindLive:ce,showAds:N,adsSlotId:ie,adsParams:yt,adsPreviewParam:_,duration:qe,logoClickable:ne,logoHidden:Ie,isMobile:ae,repeat:Me,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Ne.nextVideoTitle,endScreenVideoThumb:Ne.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},Ft={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(Oe)}`});const me=this.uiConfig.features.statistics&&!!K,{pid:it}=((l=(o=this.videoConfig)===null||o===void 0?void 0:o.interactiveData)===null||l===void 0?void 0:l.projectInfo)||{};me&&new po(Object.assign({movieId:K,albumId:A,place:w,trackCode:I,autoplay:(r=J&&!this.interactiveController)!==null&&r!==void 0?r:!1,mobile:ae,clip:H},it&&!this.isInited&&{projectId:Number(it)}),Object.assign({refreshAuthToken:V,userSalt:T,config:this.statistics.config},this.interactiveController&&this.isInited&&{vsid:this.prevVsid})),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new Bl(this.uiConfig.sentry,{version:Go,env:u0},{movieId:K,albumId:A,place:w,autoplay:(s=J&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:ae,clip:H}),this.interactiveController&&!this.isInited&&(this.prevVsid=(a=po.getInstance())===null||a===void 0?void 0:a.oneStat.vsid$.getValue()),this.statistics=Object.assign(Object.assign({},this.statistics),po.getInstance()),this.sentry=Object.assign(Object.assign({},this.sentry),Bl.getInstance());const xe=!!ye,Ye=(c=this.interactiveController)===null||c===void 0?void 0:c.getInteractiveRanges(),Xe=[];let tt;if(xe&&this.interactiveController){const nt=this.interactiveController.state,De=this.interactiveController.getHistoryState();nt.isInitialChapter$.getValue()&&Xe.push(pt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||Xe.push(pt.SEEK_TO_INTERACTIVE_BUTTON),De.hasPrevChapter$.getValue()||(nt.isInitialChapter$.getValue()?tt="tooltip_interactive_go_back_disabled_first":nt.lastChapterChangeWasInitiatedByInteractive$.getValue()?tt="tooltip_interactive_go_back_disabled":tt="tooltip_interactive_go_back_disabled_limit",Xe.push(pt.PLAY_PREV_CHAPTER_BUTTON))}const ot=()=>{var nt;const De=(n==null?void 0:n.info.isEnded$.getValue())&&((nt=this.interactiveController)===null||nt===void 0?void 0:nt.state.isEndChapter$.getValue());W.onReplayInteractiveVideo&&!De?W.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=n6({player:n,interfaceLanguage:x,videoId:K,isClip:H,isLiveCatchUpMode:Se,isAudioDisabled:ge,statAuthToken:E,callbacks:W,webApi:Ft,videoEpisodes:st,previewThumbsData:je,canDownload:ue,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:Xe,isInteractive:xe,interactiveRanges:Ye,replayInteractive:ot,playPrevChapterDisabledTooltip:tt,hasInteractiveBranches:!!(!((h=(f=this.interactiveController)===null||f===void 0?void 0:f.getChapterBranches())===null||h===void 0)&&h.length),additionalButtons:this.uiConfig.features.additionalButtons?te:[],looped:Me&&this.videoConfig.videos.length===1}),this.subscription.add(this.store.state.currentFormat$.subscribe(nt=>{var De;return(De=W==null?void 0:W.onCurrentFormatChanged)===null||De===void 0?void 0:De.call(W,nt)})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(nt=>{var De;return(De=W==null?void 0:W.onThroughputEstimationChanged)===null||De===void 0?void 0:De.call(W,nt)})),this.subscription.add(this.store.state.videoBitrate$.subscribe(nt=>{var De;return(De=W==null?void 0:W.onVideoBitrateChanged)===null||De===void 0?void 0:De.call(W,nt)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(nt=>{var De;const Nt=(De=this.store)===null||De===void 0?void 0:De.ui.controls.disabledControls$;Nt&&nt&&!Nt.includes(Il)&&Nt.add(Il)})),this.videoConfig.isMobile&&this.interactiveController&&this.subscription.add(this.store.ui.controlsVisible.subscribe(nt=>{var De;(De=this.interactiveController)===null||De===void 0||De.setDisabledControls(nt)})),this.initMediaSession(),this.interactiveController&&me&&this.initInteractivesStatistics(),this.svelteRootComponent=new Fg({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Pe,store:this.store,uiConfig:this.uiConfig,title:ve,thumbUrl:Ee,videoLogoUrl:Te,subtitles:Re,live:ft,preload:Q,autoplay:J,muted:z,volume:U,fromTime:re,canRewindLive:ce,supportLink:$,showAds:N,adsSlotId:ie,adsParams:yt,adsPreviewParam:_,duration:qe,logoClickable:ne,logoHidden:Ie,isMobile:ae,failoverHosts:C,fullScreenTarget:Y,showMiniTimer:D,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,(b=(p=(g=this.videoConfig)===null||g===void 0?void 0:g.callbacks)===null||p===void 0?void 0:p.onInited)===null||b===void 0||b.call(p))}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!==Jn.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=rt(o),c=rt(l);rt(r)?(r.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(sr),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",r.set(!0),(t=this.interactiveController)===null||t===void 0||t.toggleGraphView(!0),s.add(sr),!a&&this.graphMadePause&&this.pause())}initInteractives(){var e,t,n,o;return Gi(this,void 0,void 0,function*(){if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:l,EVENT_NAMES:r,CustomError:s}=yield import("@vkontakte/videoplayer-interactive/es2015.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?rt(a):this.videoConfig.interfaceLanguage,{projectInfo:f,historyApi:h,videoLoader:g}=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:g,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,disableControlsOnPause:!this.videoConfig.isMobile}),yield this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest),this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(b=>{if(!this.isInited)return;const A=this.store;b?A.ui.controls.disabledControls$.remove(pt.SEEK_TO_INTERACTIVE_BUTTON):A.ui.controls.disabledControls$.add(pt.SEEK_TO_INTERACTIVE_BUTTON)}));let p=!0;if(this.interactiveController.on(r.playerChanged,b=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]=Object.assign(Object.assign({},b.config),{title:f.title});const A=p?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(b.player,A),p&&(p=!1)}),this.interactiveController.on(r.interactives,({type:b,subjectId:A,actionType:w})=>{var T,E,I,V;if(this.store&&(b==="container-removed"&&this.store.actions.internal.completeInteractiveRange(A),b==="range-ended"&&(rt(this.store.state.isInteractiveExpectation$)||this.store.ui.controls.disabledControls$.remove(ho)),b==="action-execution"&&w==="expect"&&(this.store.ui.controls.disabledControls$.add(ho),this.store.state.isInteractiveExpectation$.set(!0)),b==="action-choice"&&w==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(ho)),b==="action-execution"&&w==="after-expect"&&(this.store.ui.controls.disabledControls$.remove(ho),this.store.state.isInteractiveExpectation$.set(!1)),b==="action-choice-canceled")){const Q=rt(this.store.state.isPlaying$)||rt(this.store.state.isInteractiveExpectation$);if(!((T=this.videoConfig)===null||T===void 0)&&T.isMobile&&Q){this.store.ui.interactiveHideMobileControls.set(!0);return}(V=(E=this.videoConfig)===null||E===void 0?void 0:(I=E.callbacks).onDisabledInteractiveClick)===null||V===void 0||V.call(I)}}),!((o=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||o===void 0)&&o.onInteractiveHistoryChanged){const b=this.interactiveController.getHistoryState();this.subscription.add(b.history$.subscribe(A=>{var w,T,E;A.length&&((E=(T=(w=this.videoConfig)===null||w===void 0?void 0:w.callbacks)===null||T===void 0?void 0:T.onInteractiveHistoryChanged)===null||E===void 0||E.call(T,A))}))}this.interactiveController.on(r.errors,b=>{this.log({message:b.toString()})})}catch(l){this.log({message:l.message})}})}initInteractivesStatistics(){var e,t;return Gi(this,void 0,void 0,function*(){const{statSubscription:n,oneStat:o}=this.statistics;if(!(!n||!o||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:l}=yield import("@vkontakte/videoplayer-interactive/es2015.cjs.js"),r={[l.GO_NEXT_BUTTON]:vt.InteractiveInterfaceClick.NEXT_BUTTON,[l.GO_NEXT_AREA]:vt.InteractiveInterfaceClick.NEXT_AREA,[l.WATCH_AGAIN]:vt.InteractiveInterfaceClick.WATCH_AGAIN,[l.OPEN_GRAPH]:vt.InteractiveInterfaceClick.GRAPH_SHOW,[l.CLOSE_GRAPH]:vt.InteractiveInterfaceClick.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new le.Subject;s.subscribe(f=>{var h,g;f in r?c.next(r[f]):(o==null||o.logError({errorType:"InteractiveVideosAction",fatal:!1}),(g=(h=this.sentry).report)===null||g===void 0||g.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,g,p,b,A,w,T,E,I,V,Q;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=L1(g6,le.cloneDeepWith(e,J=>J instanceof HTMLElement?J:void 0)),this.uiConfig=i0((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=(g=this.uiConfig.isMobile)!==null&&g!==void 0?g:this.videoConfig.isMobile,(V=this.videoConfig).autoplay&&(V.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(p=this.uiConfig.ads.enable)!==null&&p!==void 0?p:this.videoConfig.showAds,this.videoConfig.adsSlotId=(b=this.uiConfig.ads.slot)!==null&&b!==void 0?b:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(A=this.uiConfig.ads.preview)!==null&&A!==void 0?A:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((w=this.uiConfig.showLogo)!==null&&w!==void 0?w:!this.videoConfig.logoHidden),(Q=this.videoConfig).canRewindLive&&(Q.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(T=this.videoConfig.supportLink)!==null&&T!==void 0?T:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=h6.getLatestSupportedVersion():this.pictureInPictureApi=new ql),this.mediaSessionApi=this.uiConfig.features.mediaSession?new o6:void 0,this.annotationsApi=this.uiConfig.features.annotations?new v6:void 0,(E=this.svelteStubComponent)===null||E===void 0||E.$destroy(),(I=this.svelteRootComponent)===null||I===void 0||I.$destroy(),this.isInited=!1,this.prevVsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),m6(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}=Object.assign({},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;this.isControlDisabled(pt.PLAY_BUTTON)||(this.log({message:"play"}),(e=this.svelteRootComponent)===null||e===void 0||e.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(pt.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)}setLanguage(e){var t;return Gi(this,void 0,void 0,function*(){yield(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=po.getInstance())===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&t!==void 0?t:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const _6=()=>{window.customElements.define("vk-video-player",b6)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return at.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return at.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=Go;exports.registerPlayerWebComponent=_6;