@vkontakte/videoplayer 1.1.35 → 1.1.36-dev.d9958daa.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es2015.cjs.js +17 -17
- package/es2015.esm.js +17 -17
- package/es2018.cjs.js +17 -17
- package/es2018.esm.js +17 -17
- package/esnext.cjs.js +17 -17
- package/esnext.esm.js +17 -17
- package/evergreen.esm.js +17 -17
- package/index.d.ts +7 -1
- package/package.json +5 -5
package/es2015.cjs.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vkontakte/videoplayer v1.1.
|
|
3
|
-
* Thu,
|
|
4
|
-
* https://st.mycdn.me/static/vkontakte-videoplayer/1-1-
|
|
2
|
+
* @vkontakte/videoplayer v1.1.36-dev.d9958daa.0
|
|
3
|
+
* Thu, 30 May 2024 12:09:38 GMT
|
|
4
|
+
* https://st.mycdn.me/static/vkontakte-videoplayer/1-1-36/doc/
|
|
5
5
|
*/
|
|
6
|
-
"use strict";var e0=Object.create;var Ll=Object.defineProperty,t0=Object.defineProperties,i0=Object.getOwnPropertyDescriptor,n0=Object.getOwnPropertyDescriptors,o0=Object.getOwnPropertyNames,Fr=Object.getOwnPropertySymbols,l0=Object.getPrototypeOf,Hr=Object.prototype.hasOwnProperty,r0=Object.prototype.propertyIsEnumerable;var Al=(i,e,t)=>e in i?Ll(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,dn=(i,e)=>{for(var t in e||(e={}))Hr.call(e,t)&&Al(i,t,e[t]);if(Fr)for(var t of Fr(e))r0.call(e,t)&&Al(i,t,e[t]);return i},fo=(i,e)=>t0(i,n0(e));var s0=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of o0(e))!Hr.call(i,o)&&o!==t&&Ll(i,o,{get:()=>e[o],enumerable:!(n=i0(e,o))||n.enumerable});return i};var Ur=(i,e,t)=>(t=i!=null?e0(l0(i)):{},s0(e||!i||!i.__esModule?Ll(t,"default",{value:i,enumerable:!0}):t,i));var Il=(i,e,t)=>(Al(i,typeof e!="symbol"?e+"":e,t),t);var Ji=(i,e,t)=>new Promise((n,o)=>{var r=a=>{try{s(t.next(a))}catch(c){o(c)}},l=a=>{try{s(t.throw(a))}catch(c){o(c)}},s=a=>a.done?n(a.value):Promise.resolve(a.value).then(r,l);s((t=t.apply(i,e)).next())});var xe=require("@vkontakte/videoplayer-core/es2015.cjs.js"),oe=require("@vkontakte/videoplayer-shared/es2015.cjs.js"),wt=require("@vkontakte/videoplayer-statistics/es2015.cjs.js");function ai(i,e,t,n){function o(r){return r instanceof t?r:new t(function(l){l(r)})}return new(t||(t=Promise))(function(r,l){function s(f){try{c(n.next(f))}catch(m){l(m)}}function a(f){try{c(n.throw(f))}catch(m){l(m)}}function c(f){f.done?r(f.value):o(f.value).then(s,a)}c((n=n.apply(i,e||[])).next())})}function K(){}function _1(i,e){for(const t in e)i[t]=e[t];return i}function w1(i){return i()}function jr(){return Object.create(null)}function nt(i){i.forEach(w1)}function Sn(i){return typeof i=="function"}function be(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let $o;function qr(i,e){return $o||($o=document.createElement("a")),$o.href=e,i===$o.href}function a0(i){return Object.keys(i).length===0}function ei(i,...e){if(i==null){for(const n of e)n(void 0);return K}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Je(i){let e;return ei(i,t=>e=t)(),e}function z(i,e,t){i.$$.on_destroy.push(ei(e,t))}function Mn(i,e,t,n){if(i){const o=y1(i,e,t,n);return i[0](o)}}function y1(i,e,t,n){return i[1]&&n?_1(t.ctx.slice(),i[1](n(e))):t.ctx}function Bn(i,e,t,n){if(i[2]&&n){const o=i[2](n(t));if(e.dirty===void 0)return o;if(typeof o=="object"){const r=[],l=Math.max(e.dirty.length,o.length);for(let s=0;s<l;s+=1)r[s]=e.dirty[s]|o[s];return r}return e.dirty|o}return e.dirty}function Nn(i,e,t,n,o,r){if(o){const l=y1(e,t,n,r);i.p(l,o)}}function Rn(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 u0(i){return i==null?"":i}const k1=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(i,e){i.appendChild(e)}function je(i,e,t){const n=c0(i);if(!n.getElementById(e)){const o=A("style");o.id=e,o.textContent=t,f0(n,o)}}function c0(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function f0(i,e){return p(i.head||i,e),e.sheet}function E(i,e,t){i.insertBefore(e,t||null)}function P(i){i.parentNode&&i.parentNode.removeChild(i)}function Cn(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function A(i){return document.createElement(i)}function B(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Oe(i){return document.createTextNode(i)}function R(){return Oe(" ")}function gt(){return Oe("")}function ge(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function ii(i){return function(e){return e.preventDefault(),i.call(this,e)}}function rt(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function u(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function d0(i){return Array.from(i.childNodes)}function $e(i,e){e=""+e,i.data!==e&&(i.data=e)}function Ut(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let el;function m0(){if(el===void 0){el=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){el=!0}}return el}function fr(i,e){getComputedStyle(i).position==="static"&&(i.style.position="relative");const n=A("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=m0();let r;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=ge(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{r=ge(n.contentWindow,"resize",e),e()}),p(i,n),()=>{(o||r&&n.contentWindow)&&r(),P(n)}}function M(i,e,t){i.classList.toggle(e,!!t)}function En(i,e){return new i(e)}let Ro;function No(i){Ro=i}function Do(){if(!Ro)throw new Error("Function called outside component initialization");return Ro}function vn(i){Do().$$.on_mount.push(i)}function _l(i){Do().$$.on_destroy.push(i)}function ir(i,e){return Do().$$.context.set(i,e),e}function dr(i){return Do().$$.context.get(i)}function S1(){return Do().$$.context}function Co(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const _o=[],ye=[];let ko=[];const nr=[],C1=Promise.resolve();let or=!1;function P1(){or||(or=!0,C1.then(T1))}function zo(){return P1(),C1}function Po(i){ko.push(i)}function We(i){nr.push(i)}const Vl=new Set;let mo=0;function T1(){if(mo!==0)return;const i=Ro;do{try{for(;mo<_o.length;){const e=_o[mo];mo++,No(e),p0(e.$$)}}catch(e){throw _o.length=0,mo=0,e}for(No(null),_o.length=0,mo=0;ye.length;)ye.pop()();for(let e=0;e<ko.length;e+=1){const t=ko[e];Vl.has(t)||(Vl.add(t),t())}ko.length=0}while(_o.length);for(;nr.length;)nr.pop()();or=!1,Vl.clear(),No(i)}function p0(i){if(i.fragment!==null){i.update(),nt(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Po)}}function h0(i){const e=[],t=[];ko.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),ko=e}const ml=new Set;let Yn;function pe(){Yn={r:0,c:[],p:Yn}}function he(){Yn.r||nt(Yn.c),Yn=Yn.p}function d(i,e){i&&i.i&&(ml.delete(i),i.i(e))}function g(i,e,t,n){if(i&&i.o){if(ml.has(i))return;ml.add(i),Yn.c.push(()=>{ml.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Gt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function v0(i,e){const t={},n={},o={$$scope:1};let r=i.length;for(;r--;){const l=i[r],s=e[r];if(s){for(const a in l)a in s||(n[a]=1);for(const a in s)o[a]||(t[a]=s[a],o[a]=1);i[r]=s}else for(const a in l)o[a]=1}for(const l in n)l in t||(t[l]=void 0);return t}function g0(i){return typeof i=="object"&&i!==null?i:{}}function Ze(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function W(i){i&&i.c()}function U(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),Po(()=>{const r=i.$$.on_mount.map(w1).filter(Sn);i.$$.on_destroy?i.$$.on_destroy.push(...r):nt(r),i.$$.on_mount=[]}),o.forEach(Po)}function j(i,e){const t=i.$$;t.fragment!==null&&(h0(t.after_update),nt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function b0(i,e){i.$$.dirty[0]===-1&&(_o.push(i),P1(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function _e(i,e,t,n,o,r,l,s=[-1]){const a=Ro;No(i);const c=i.$$={fragment:null,ctx:[],props:r,update:K,not_equal:o,bound:jr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:jr(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};l&&l(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(m,h,...b)=>{const v=b.length?b[0]:h;return c.ctx&&o(c.ctx[m],c.ctx[m]=v)&&(!c.skip_bound&&c.bound[m]&&c.bound[m](v),f&&b0(i,m)),h}):[],c.update(),f=!0,nt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const m=d0(e.target);c.fragment&&c.fragment.l(m),m.forEach(P)}else c.fragment&&c.fragment.c();e.intro&&d(i.$$.fragment),U(i,e.target,e.anchor),T1()}No(a)}class we{constructor(){Il(this,"$$");Il(this,"$$set")}$destroy(){j(this,1),this.$destroy=K}$on(e,t){if(!Sn(t))return K;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const o=n.indexOf(t);o!==-1&&n.splice(o,1)}}$set(e){this.$$set&&!a0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const _0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(_0);var To;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(To||(To={}));const w0={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:To.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,contextMenuButton:!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},interactive:{historyMaxLength:100}},y0=i=>oe.fillWithDefault(i,w0),k0=i=>ir("ui-config",i),gn=()=>dr("ui-config"),lr="vk_player_debug_panel_opened",E1=300,S0=100,C0="videoplayer",P0="videoplayer";var Ce;(function(i){i.ArrowLeft="ArrowLeft",i.ArrowUp="ArrowUp",i.ArrowRight="ArrowRight",i.ArrowDown="ArrowDown",i.Comma="Comma",i.Period="Period",i.Space="Space",i.KeyM="KeyM",i.KeyF="KeyF",i.KeyK="KeyK",i.KeyL="KeyL",i.KeyJ="KeyJ",i.KeyC="KeyC",i.KeyI="KeyI",i.Digit1="Digit1",i.Digit2="Digit2",i.Digit3="Digit3",i.Digit4="Digit4",i.Digit5="Digit5",i.Digit6="Digit6",i.Digit7="Digit7",i.Digit8="Digit8",i.Digit9="Digit9",i.Digit0="Digit0",i.Numpad1="Numpad1",i.Numpad2="Numpad2",i.Numpad3="Numpad3",i.Numpad4="Numpad4",i.Numpad5="Numpad5",i.Numpad6="Numpad6",i.Numpad7="Numpad7",i.Numpad8="Numpad8",i.Numpad9="Numpad9",i.Numpad0="Numpad0",i.ShiftLeft="ShiftLeft",i.ShiftRight="ShiftRight",i.Slash="Slash",i.Tab="Tab",i.Escape="Escape",i.Enter="Enter"})(Ce||(Ce={}));const Fo={[Ce.KeyF]:"f",[Ce.KeyK]:"k",[Ce.KeyC]:"c",[Ce.KeyM]:"m"},T0=new Set([Ce.ArrowLeft,Ce.ArrowRight,Ce.KeyL,Ce.KeyJ]),E0=new Set([Ce.Tab,Ce.Space,Ce.ArrowLeft,Ce.ArrowRight,Ce.ArrowUp,Ce.ArrowDown]),A0=new Set([Ce.ShiftRight,Ce.ShiftLeft]);var ut;(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"})(ut||(ut={}));const Wr=40,A1=260,L0=60,tl=8,L1=[ut.TIMELINE],pl=[...L1,ut.GRAPH_BUTTON],Zr=[...L1,ut.PLAY_BUTTON],I1=[...pl,ut.PLAY_BUTTON];var wo;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(wo||(wo={}));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},po=[];function Tn(i,e){return{subscribe:Le(i,e).subscribe}}function Le(i,e=K){let t;const n=new Set;function o(s){if(be(i,s)&&(i=s,t)){const a=!po.length;for(const c of n)c[1](),po.push(c,i);if(a){for(let c=0;c<po.length;c+=2)po[c][0](po[c+1]);po.length=0}}}function r(s){o(s(i))}function l(s,a=K){const c=[s,a];return n.add(c),n.size===1&&(t=e(o,r)||K),s(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:r,subscribe:l}}function si(i,e,t){const n=!Array.isArray(i),o=n?[i]:i;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return Tn(t,(l,s)=>{let a=!1;const c=[];let f=0,m=K;const h=()=>{if(f)return;m();const v=e(n?c[0]:c,l,s);r?l(v):m=Sn(v)?v:K},b=o.map((v,w)=>ei(v,_=>{c[w]=_,f&=~(1<<w),a&&h()},()=>{f|=1<<w}));return a=!0,h(),function(){nt(b),m(),a=!1}})}const I0="prod",wl="1.1.35",V1=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},M1=Symbol("storeContext"),B1=Symbol("microStoresContext"),V0=(i,e)=>{ir(M1,i),ir(B1,e)},Et=()=>{const i=dr(M1);return oe.assertNonNullable(i,"Store context is empty!"),i},mr=()=>{const i=dr(B1);return oe.assertNonNullable(i,"MicroStores context is empty!"),i},Tt=(i,e)=>N1(i,i.getValue(),e),N1=(i,e,t)=>Tn(e,n=>{const o=i.subscribe(r=>{n(r),t==null||t(r)});return()=>o.unsubscribe()}),M0=(i,e,t)=>{var n,o,r,l;const s=i.info,{width:a,height:c}=Je(t.ui.playerSize),f=(o=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&o!==void 0?o:0,m=(l=(r=s.rttEstimation$.getValue())===null||r===void 0?void 0:r.toFixed(0))!==null&&l!==void 0?l:0,h=s.isAutoQualityEnabled$.getValue()?"auto":"manual",b=`${wl} (core: ${xe.VERSION}, stat: ${wt.VERSION}, shared: ${oe.VERSION})`,v=Je(t.state.errorLog$),w=v.length?`
|
|
7
|
-
`+v.map((y,
|
|
8
|
-
`,
|
|
9
|
-
`,
|
|
10
|
-
`;return
|
|
11
|
-
`):void 0,_=
|
|
12
|
-
`)},B0=(i,e,t)=>{const n=i.info,{width:o,height:r}=Je(t.ui.playerSize),l={version:wl,viewport:`${o}x${r}`,volume:Math.round(Je(t.state.volume$)*100)};l.id=t.videoId,n.currentFormat$.getValue()&&(l.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(l.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(l.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(l.buffer=Math.max(f.end-Je(t.state.positionExact$),0));const m=n.throughputEstimation$.getValue();m&&(l.speed=m);const h=n.videoBitrate$.getValue();return h&&(l.bitrate=h),l},N0=(i,e)=>V1(i,e,"mp4"),R1="vk_player_prefer_traffic_saving_enabled",O1="vk_player_preferred_volume",D1="vk_player_prefer_volume_mute",pr="vk_player_preferred_quality",z1=i=>i>1?1:i<0?0:i,Kr=i=>oe.safeStorage.set(O1,z1(i).toString(10)),F1=()=>{const i=oe.safeStorage.get(O1);return oe.isNullable(i)?void 0:z1(parseFloat(i))},R0=(i,e)=>oe.safeStorage.set(pr,JSON.stringify({videoId:i,value:e})),H1=()=>oe.safeStorage.remove(pr),O0=i=>{const e=oe.safeStorage.get(pr);if(oe.isNullable(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){H1();return}return n},U1=(i,e)=>{e?oe.safeStorage.set(i,"true"):oe.safeStorage.remove(i)},j1=i=>oe.safeStorage.get(i)==="true",Ml=i=>U1(D1,i),D0=()=>j1(D1),z0=i=>U1(R1,i),F0=()=>j1(R1);function H0(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,w,_,S,y;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),l=B("path"),s=B("path"),a=B("defs"),c=B("filter"),f=B("feFlood"),m=B("feColorMatrix"),h=B("feOffset"),b=B("feGaussianBlur"),v=B("feColorMatrix"),w=B("feBlend"),_=B("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(o,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(o,"fill","#fff"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(r,"fill","#fff"),u(l,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(l,"fill","#fff"),u(s,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(s,"stroke-linecap","round"),u(s,"stroke-linejoin","round"),u(t,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(m,"in","SourceAlpha"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(m,"result","hardAlpha"),u(b,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_618_12297"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_618_12297"),u(_,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",S=!i[0]||null),u(e,"aria-label",y=i[0]||null)},m(k,V){E(k,e,V),p(e,t),p(t,n),p(t,o),p(t,r),p(t,l),p(t,s),p(e,a),p(a,c),p(c,f),p(c,m),p(c,h),p(c,b),p(c,v),p(c,w),p(c,_)},p(k,[V]){V&1&&S!==(S=!k[0]||null)&&u(e,"aria-hidden",S),V&1&&y!==(y=k[0]||null)&&u(e,"aria-label",y)},i:K,o:K,d(k){k&&P(e)}}}function U0(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class q1 extends we{constructor(e){super(),_e(this,e,U0,H0,be,{ariaLabel:0})}}var Bl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function j0(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var il=function(i){return i&&i.Math==Math&&i},Un=il(typeof globalThis=="object"&&globalThis)||il(typeof window=="object"&&window)||il(typeof self=="object"&&self)||il(typeof Bl=="object"&&Bl)||function(){return this}()||Bl||Function("return this")(),Jn=function(i){try{return!!i()}catch(e){return!0}},q0=Jn,yl=!q0(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")}),W0=yl,W1=Function.prototype,Gr=W1.apply,Yr=W1.call,Z0=typeof Reflect=="object"&&Reflect.apply||(W0?Yr.bind(Gr):function(){return Yr.apply(Gr,arguments)}),Z1=yl,K1=Function.prototype,rr=K1.call,K0=Z1&&K1.bind.bind(rr,rr),jn=Z1?K0:function(i){return function(){return rr.apply(i,arguments)}},G1=jn,G0=G1({}.toString),Y0=G1("".slice),kl=function(i){return Y0(G0(i),8,-1)},Q0=kl,X0=jn,Y1=function(i){if(Q0(i)==="Function")return X0(i)},sr=typeof document=="object"&&document.all,J0=typeof sr=="undefined"&&sr!==void 0,Q1={all:sr,IS_HTMLDDA:J0},X1=Q1,x0=X1.all,On=X1.IS_HTMLDDA?function(i){return typeof i=="function"||i===x0}:function(i){return typeof i=="function"},J1={},$0=Jn,Ho=!$0(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),ed=yl,nl=Function.prototype.call,Uo=ed?nl.bind(nl):function(){return nl.apply(nl,arguments)},x1={},$1={}.propertyIsEnumerable,ec=Object.getOwnPropertyDescriptor,td=ec&&!$1.call({1:2},1);x1.f=td?function(e){var t=ec(this,e);return!!t&&t.enumerable}:$1;var tc=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}},id=jn,nd=Jn,od=kl,Nl=Object,ld=id("".split),rd=nd(function(){return!Nl("z").propertyIsEnumerable(0)})?function(i){return od(i)=="String"?ld(i,""):Nl(i)}:Nl,hr=function(i){return i==null},sd=hr,ad=TypeError,vr=function(i){if(sd(i))throw ad("Can't call method on "+i);return i},ud=rd,cd=vr,fd=function(i){return ud(cd(i))},Qr=On,ic=Q1,dd=ic.all,jo=ic.IS_HTMLDDA?function(i){return typeof i=="object"?i!==null:Qr(i)||i===dd}:function(i){return typeof i=="object"?i!==null:Qr(i)},nc={},Rl=nc,Ol=Un,md=On,Xr=function(i){return md(i)?i:void 0},oc=function(i,e){return arguments.length<2?Xr(Rl[i])||Xr(Ol[i]):Rl[i]&&Rl[i][e]||Ol[i]&&Ol[i][e]},pd=jn,lc=pd({}.isPrototypeOf),hd=typeof navigator!="undefined"&&String(navigator.userAgent)||"",rc=Un,Dl=hd,Jr=rc.process,xr=rc.Deno,$r=Jr&&Jr.versions||xr&&xr.version,es=$r&&$r.v8,kn,vl;es&&(kn=es.split("."),vl=kn[0]>0&&kn[0]<4?1:+(kn[0]+kn[1]));!vl&&Dl&&(kn=Dl.match(/Edge\/(\d+)/),(!kn||kn[1]>=74)&&(kn=Dl.match(/Chrome\/(\d+)/),kn&&(vl=+kn[1])));var vd=vl,ts=vd,gd=Jn,bd=Un,_d=bd.String,sc=!!Object.getOwnPropertySymbols&&!gd(function(){var i=Symbol();return!_d(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&ts&&ts<41}),wd=sc,ac=wd&&!Symbol.sham&&typeof Symbol.iterator=="symbol",yd=oc,kd=On,Sd=lc,Cd=ac,Pd=Object,uc=Cd?function(i){return typeof i=="symbol"}:function(i){var e=yd("Symbol");return kd(e)&&Sd(e.prototype,Pd(i))},Td=String,Ed=function(i){try{return Td(i)}catch(e){return"Object"}},Ad=On,Ld=Ed,Id=TypeError,cc=function(i){if(Ad(i))return i;throw Id(Ld(i)+" is not a function")},Vd=cc,Md=hr,fc=function(i,e){var t=i[e];return Md(t)?void 0:Vd(t)},zl=Uo,Fl=On,Hl=jo,Bd=TypeError,Nd=function(i,e){var t,n;if(e==="string"&&Fl(t=i.toString)&&!Hl(n=zl(t,i))||Fl(t=i.valueOf)&&!Hl(n=zl(t,i))||e!=="string"&&Fl(t=i.toString)&&!Hl(n=zl(t,i)))return n;throw Bd("Can't convert object to primitive value")},dc={exports:{}},is=Un,Rd=Object.defineProperty,Od=function(i,e){try{Rd(is,i,{value:e,configurable:!0,writable:!0})}catch(t){is[i]=e}return e},Dd=Un,zd=Od,ns="__core-js_shared__",Fd=Dd[ns]||zd(ns,{}),Hd=Fd,os=Hd;(dc.exports=function(i,e){return os[i]||(os[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 Ud=dc.exports,jd=vr,qd=Object,mc=function(i){return qd(jd(i))},Wd=jn,Zd=mc,Kd=Wd({}.hasOwnProperty),Sl=Object.hasOwn||function(e,t){return Kd(Zd(e),t)},Gd=jn,Yd=0,Qd=Math.random(),Xd=Gd(1 .toString),Jd=function(i){return"Symbol("+(i===void 0?"":i)+")_"+Xd(++Yd+Qd,36)},xd=Un,$d=Ud,ls=Sl,e2=Jd,t2=sc,i2=ac,yo=xd.Symbol,Ul=$d("wks"),n2=i2?yo.for||yo:yo&&yo.withoutSetter||e2,qo=function(i){return ls(Ul,i)||(Ul[i]=t2&&ls(yo,i)?yo[i]:n2("Symbol."+i)),Ul[i]},o2=Uo,rs=jo,ss=uc,l2=fc,r2=Nd,s2=qo,a2=TypeError,u2=s2("toPrimitive"),c2=function(i,e){if(!rs(i)||ss(i))return i;var t=l2(i,u2),n;if(t){if(e===void 0&&(e="default"),n=o2(t,i,e),!rs(n)||ss(n))return n;throw a2("Can't convert object to primitive value")}return e===void 0&&(e="number"),r2(i,e)},f2=c2,d2=uc,pc=function(i){var e=f2(i,"string");return d2(e)?e:e+""},m2=Un,as=jo,ar=m2.document,p2=as(ar)&&as(ar.createElement),h2=function(i){return p2?ar.createElement(i):{}},v2=Ho,g2=Jn,b2=h2,hc=!v2&&!g2(function(){return Object.defineProperty(b2("div"),"a",{get:function(){return 7}}).a!=7}),_2=Ho,w2=Uo,y2=x1,k2=tc,S2=fd,C2=pc,P2=Sl,T2=hc,us=Object.getOwnPropertyDescriptor;J1.f=_2?us:function(e,t){if(e=S2(e),t=C2(t),T2)try{return us(e,t)}catch(n){}if(P2(e,t))return k2(!w2(y2.f,e,t),e[t])};var E2=Jn,A2=On,L2=/#|\.prototype\./,Wo=function(i,e){var t=V2[I2(i)];return t==B2?!0:t==M2?!1:A2(e)?E2(e):!!e},I2=Wo.normalize=function(i){return String(i).replace(L2,".").toLowerCase()},V2=Wo.data={},M2=Wo.NATIVE="N",B2=Wo.POLYFILL="P",N2=Wo,cs=Y1,R2=cc,O2=yl,D2=cs(cs.bind),z2=function(i,e){return R2(i),e===void 0?i:O2?D2(i,e):function(){return i.apply(e,arguments)}},vc={},F2=Ho,H2=Jn,U2=F2&&H2(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),j2=jo,q2=String,W2=TypeError,gc=function(i){if(j2(i))return i;throw W2(q2(i)+" is not an object")},Z2=Ho,K2=hc,G2=U2,ol=gc,fs=pc,Y2=TypeError,jl=Object.defineProperty,Q2=Object.getOwnPropertyDescriptor,ql="enumerable",Wl="configurable",Zl="writable";vc.f=Z2?G2?function(e,t,n){if(ol(e),t=fs(t),ol(n),typeof e=="function"&&t==="prototype"&&"value"in n&&Zl in n&&!n[Zl]){var o=Q2(e,t);o&&o[Zl]&&(e[t]=n.value,n={configurable:Wl in n?n[Wl]:o[Wl],enumerable:ql in n?n[ql]:o[ql],writable:!1})}return jl(e,t,n)}:jl:function(e,t,n){if(ol(e),t=fs(t),ol(n),K2)try{return jl(e,t,n)}catch(o){}if("get"in n||"set"in n)throw Y2("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var X2=Ho,J2=vc,x2=tc,$2=X2?function(i,e,t){return J2.f(i,e,x2(1,t))}:function(i,e,t){return i[e]=t,i},ll=Un,em=Z0,tm=Y1,im=On,nm=J1.f,om=N2,ho=nc,lm=z2,vo=$2,ds=Sl,rm=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 em(i,this,arguments)};return e.prototype=i.prototype,e},sm=function(i,e){var t=i.target,n=i.global,o=i.stat,r=i.proto,l=n?ll:o?ll[t]:(ll[t]||{}).prototype,s=n?ho:ho[t]||vo(ho,t,{})[t],a=s.prototype,c,f,m,h,b,v,w,_,S;for(h in e)c=om(n?h:t+(o?".":"#")+h,i.forced),f=!c&&l&&ds(l,h),v=s[h],f&&(i.dontCallGetSet?(S=nm(l,h),w=S&&S.value):w=l[h]),b=f&&w?w:e[h],!(f&&typeof v==typeof b)&&(i.bind&&f?_=lm(b,ll):i.wrap&&f?_=rm(b):r&&im(b)?_=tm(b):_=b,(i.sham||b&&b.sham||v&&v.sham)&&vo(_,"sham",!0),vo(s,h,_),r&&(m=t+"Prototype",ds(ho,m)||vo(ho,m,{}),vo(ho[m],h,b),i.real&&a&&(c||!a[h])&&vo(a,h,b)))},am=jo,um=kl,cm=qo,fm=cm("match"),dm=function(i){var e;return am(i)&&((e=i[fm])!==void 0?!!e:um(i)=="RegExp")},mm=qo,pm=mm("toStringTag"),bc={};bc[pm]="z";var hm=String(bc)==="[object z]",vm=hm,gm=On,hl=kl,bm=qo,_m=bm("toStringTag"),wm=Object,ym=hl(function(){return arguments}())=="Arguments",km=function(i,e){try{return i[e]}catch(t){}},Sm=vm?hl:function(i){var e,t,n;return i===void 0?"Undefined":i===null?"Null":typeof(t=km(e=wm(i),_m))=="string"?t:ym?hl(e):(n=hl(e))=="Object"&&gm(e.callee)?"Arguments":n},Cm=Sm,Pm=String,Tm=function(i){if(Cm(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Pm(i)},Em=gc,Am=function(){var i=Em(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},Lm=Uo,Im=Sl,Vm=lc,Mm=Am,ms=RegExp.prototype,Bm=function(i){var e=i.flags;return e===void 0&&!("flags"in ms)&&!Im(i,"flags")&&Vm(ms,i)?Lm(Mm,i):e},gr=jn,Nm=mc,Rm=Math.floor,Kl=gr("".charAt),Om=gr("".replace),Gl=gr("".slice),Dm=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,zm=/\$([$&'`]|\d{1,2})/g,Fm=function(i,e,t,n,o,r){var l=t+i.length,s=n.length,a=zm;return o!==void 0&&(o=Nm(o),a=Dm),Om(r,a,function(c,f){var m;switch(Kl(f,0)){case"$":return"$";case"&":return i;case"`":return Gl(e,0,t);case"'":return Gl(e,l);case"<":m=o[Gl(f,1,-1)];break;default:var h=+f;if(h===0)return c;if(h>s){var b=Rm(h/10);return b===0?c:b<=s?n[b-1]===void 0?Kl(f,1):n[b-1]+Kl(f,1):c}m=n[h-1]}return m===void 0?"":m})},Hm=sm,Um=Uo,br=jn,ps=vr,jm=On,qm=hr,Wm=dm,go=Tm,Zm=fc,Km=Bm,Gm=Fm,Ym=qo,Qm=Ym("replace"),Xm=TypeError,_c=br("".indexOf),Jm=br("".replace),hs=br("".slice),xm=Math.max,vs=function(i,e,t){return t>i.length?-1:e===""?t:_c(i,e,t)};Hm({target:"String",proto:!0},{replaceAll:function(e,t){var n=ps(this),o,r,l,s,a,c,f,m,h,b=0,v=0,w="";if(!qm(e)){if(o=Wm(e),o&&(r=go(ps(Km(e))),!~_c(r,"g")))throw Xm("`.replaceAll` does not allow non-global regexes");if(l=Zm(e,Qm),l)return Um(l,e,n,t);if(o)return Jm(go(n),e,t)}for(s=go(n),a=go(e),c=jm(t),c||(t=go(t)),f=a.length,m=xm(1,f),b=vs(s,a,0);b!==-1;)h=c?go(t(a,b,s)):Gm(a,s,b,[],void 0,t),w+=hs(s,v,b)+h,v=b+f,b=vs(s,a,b+m);return v<s.length&&(w+=hs(s,v)),w}});var $m=oc,e4=$m,t4=e4,i4=t4("String","replaceAll"),n4=i4,o4=n4,l4=o4,r4=l4,s4=j0(r4);const a4={auto_quality_invariant:"\u0410\u0432\u0442\u043E",auto_quality:"\u0410\u0432\u0442\u043E ({actual})",auto_quality_option:"\u0410\u0432\u0442\u043E",menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",menu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",menu_report:"\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435",menu_pip:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",menu_copy_video_link:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E",menu_copy_video_link_with_timestamp:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043A\u0430\u0434\u0440",menu_video_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C",menu_chromecast:"Chromecast \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F",menu_copy_debug:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_save_debug:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",pip_dummy_title:"\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",submenu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",submenu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",submenu_settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",submenu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",mobile_unmute:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",playing_ads:"\u0420\u0435\u043A\u043B\u0430\u043C\u0430 {timeleft}",skip_ads_now:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",skip_ads_after:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u0447\u0435\u0440\u0435\u0437 {time}\u0441",visit_advertiser:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442",aria_timeline:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B",aria_timeline_value:"{position} (\u043E\u0431\u0449\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C {duration}",aria_open_settings:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0438\u0434\u0435\u043E\u043F\u043B\u0435\u0435\u0440\u0430",doubletap_seek_step:"{seconds} \u0441\u0435\u043A\u0443\u043D\u0434",playback_rate_1:"\u041E\u0431\u044B\u0447\u043D\u0430\u044F",playback_rate:"{multiplier}x",video360:"\u043F\u0430\u043D\u043E\u0440\u0430\u043C\u043D\u043E\u0435 \u0432\u0438\u0434\u0435\u043E",subtitles_caption:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_auto:"{language} (\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435)",subtitles_off:"\u0412\u044B\u043A\u043B.",subtitles_auto_caption:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",traffic_saving_off:"\u041E\u0442\u043A\u043B.",traffic_saving_on:"\u0412\u043A\u043B.",traffic_saving_disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_enable:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_helper_text:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u0432\u0438\u0434\u0435\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u0438\u0436\u0435\u043D\u043E \u0434\u043B\u044F \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043A\u0430",tooltip_button_disabled:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_previous:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_restart:"\u041D\u0430\u0447\u0430\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E",tooltip_play:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",tooltip_pause:"\u041F\u0430\u0443\u0437\u0430",tooltip_next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_interactive_go_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0433\u043B\u0430\u0432\u0435",tooltip_interactive_go_back_disabled:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_interactive_go_back_disabled_first:"\u0412\u044B \u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043F\u0435\u0440\u0432\u0443\u044E \u0433\u043B\u0430\u0432\u0443",tooltip_interactive_go_back_disabled_limit:"\u041B\u0438\u043C\u0438\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u0432 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",tooltip_chapter_without_interactive:"\u0412 \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u0435 \u043D\u0435\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_interactive_of_chapter_completed:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u044B \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u044B \u0443\u0436\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u044B",tooltip_interactive_seek:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0443",tooltip_interactive_graph_off:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_interactive_graph_on:"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_live:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u043D\u0430 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043B\u0430\u0439\u0432",tooltip_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",tooltip_volume:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_volume_muted:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_subtitles_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_subtitles_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_settings_off:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_settings_on:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_fullscreen_off:"\u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D",tooltip_fullscreen_on:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",tooltip_chromecast_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_chromecast_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_episode_finished:"\u0412\u044B \u0443\u0436\u0435 \u0441\u0434\u0435\u043B\u0430\u043B\u0438 \u0441\u0432\u043E\u0439 \u0432\u044B\u0431\u043E\u0440",tooltip_episode_unfinished:"\u041D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043E",tooltip_disabled_when_interactive:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432 \u0443\u0436\u0435 \u0438\u0434\u0451\u0442",tooltip_disabled_when_graph_on:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043A\u0430\u0440\u0442\u044B",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",aria_label_video_player:"\u0412\u0438\u0434\u0435\u043E \u043F\u043B\u0435\u0435\u0440",aria_label_spherical_control:"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440 \u0434\u043B\u044F \u0441\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0438\u0434\u0435\u043E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438 \u0434\u043B\u044F \u043F\u0430\u043D\u043E\u0440\u0430\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E.",aria_label_debug_panel:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0441 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439, \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0441\u043A\u0440\u0438\u043D\u0448\u043E\u0442 \u0434\u043B\u044F \u0442\u0435\u0445\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438",aria_label_new_tab_alert:"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435.",aria_label_context_menu_open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_context_menu_close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E: {actual}",aria_label_menu_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C: {actual}",aria_label_menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445: {actual}",aria_label_menu_subtitle:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B: {actual}",aria_label_menu_download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",aria_label_menu_debug_overlay_enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_debug_overlay_disable:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432",aria_label_submenu_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A",aria_label_submenu_traffic_saving_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_traffic_saving_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445"},u4={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_save_debug:"Save debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_restart:"Watch again",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_go_back:"Back to previous chapter",tooltip_interactive_go_back_disabled:"Interactive history unavailable",tooltip_interactive_go_back_disabled_first:"You're watching the first chapter",tooltip_interactive_go_back_disabled_limit:"Go-back limit exceeded",tooltip_chapter_without_interactive:"This chapter has no interactive segment",tooltip_interactive_of_chapter_completed:"Chapter's interactive segments already watched",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Interactive video in progress",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon",aria_label_video_player:"Video player",aria_label_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_debug_panel:"Technical information area, take a screenshot for technical support",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_context_menu_open:"Open context menu",aria_label_context_menu_close:"Close context menu",aria_label_menu_quality:"Quality: {actual}",aria_label_menu_rate:"Rate: {actual}",aria_label_menu_traffic_saving:"Data saving: {actual}",aria_label_menu_subtitle:"Subtitles: {actual}",aria_label_menu_download:"Download video",aria_label_menu_debug_overlay_enable:"Enable display of technical information",aria_label_menu_debug_overlay_disable:"Disable display of technical information",aria_label_menu_rotate:"Rotate video 90 degrees",aria_label_submenu_back:"Return to settings menu",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode"},Ln=new Map;Ln.set(oe.InterfaceLanguage.EN,u4);Ln.set(oe.InterfaceLanguage.RU,a4);const wc=new Map,gs=({language:i,pack:e,fallback:t})=>{if(Ln.has(i)){const n=Ln.get(i);Ln.set(i,Object.assign(Object.assign({},n),e))}else Ln.set(i,e);wc.set(i,t)},bs=i=>Ln.has(i),yc=(i,e,t,n)=>{var o;const r=Ln.get(i);let l=r==null?void 0:r[e];if(oe.isNullable(l)){const s=(o=wc.get(i))!==null&&o!==void 0?o:n,a=s?Ln.get(s):void 0;l=a==null?void 0:a[e]}return oe.isNullable(l)?e+Object.values(t!=null?t:{}).join(" "):t?s4(l,/{(\w+?)}/g,(s,a)=>{var c;return(c=t[a])!==null&&c!==void 0?c:""}):l},Y=(i,e)=>{const{interfaceLanguage$:t}=Et(),n=Je(t),o=gn();return yc(n,i,e,o.defaultLanguage)};var gl;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(gl||(gl={}));const c4=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,f4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,d4=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,rl="?",m4="X-Sentry-Auth",p4=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function h4(i){if(!i.stack)return null;const e=[],t=i.stack.split(`
|
|
13
|
-
`);let n,
|
|
14
|
-
`).filter(t=>!!t)[0]}function v4(i){try{const e=h4(i);if(e)return e}catch(e){}return{value:kc(i),type:i&&i.name,stacktrace:{frames:[]}}}function g4(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class b4{constructor(e){if(e&&e.dsn){const t=p4.exec(e.dsn),n=t?t.slice(1):[],o=n[5].split("/"),r=o.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(r?"/"+r:"")+"/api/"+o.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return fo(dn({},this.getRequestBlank()),{exception:{values:[v4(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(m4,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:g4(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function _s(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function _4(){return window}class _r extends b4{constructor(e,t=_4()){super(e),this.options=e,this.window=t,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:o=c=>c,beforeBreadcrumb:r=c=>c,blacklistUrls:l=[],ignoreErrors:s=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=r,this.blacklistUrls=l,this.ignoreErrors=s,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",dn({},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",dn({},e)),this}setUser(e){return this.setKeyState("user",dn({},e)),this}clone(){const e=new _r(fo(dn({},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:[dn({timestamp:Date.now()/1e3},this.beforeBreadcrumb(e))]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send(fo(dn({},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=>_s(t,n))):!1}getRequestBlank(){return dn(fo(dn({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(dn({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=>_s(t,n)):!1}getEventFilterUrl(e){try{if(e.exception){const t=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return t&&t[t.length-1].filename||null}return null}catch(t){return null}}extendState(e){this._state=Object.keys(e).reduce((t,n)=>{const o=this._state[n],r=Array.isArray(o)?o:null,l=e[n],s=Array.isArray(l)?l:null;return fo(dn({},t),{[n]:r||s?[...r||[],...s||[]]:dn(dn({},typeof o!="string"?o:{}),typeof l!="string"?l:{})})},this._state)}setKeyState(e,t){this._state[e]=t}}let sl=null;class ur{constructor(e,t,n={}){!sl&&e.dsn&&(this.sentryClient=new _r({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new oe.Subscription,this.options=e,this.context=n,sl=this)}destroy(){var e,t;(e=this.sentryClient)===null||e===void 0||e.destroy(),(t=this.sentrySubscription)===null||t===void 0||t.unsubscribe(),sl=null}logIError(e,t=!1){e.thrown&&this.report(e.thrown,{fatal:t,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,t={},n={}){const{sentryClient:o,context:r,options:l}=this,{sampleRate:s=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:m}=l,{errorType:h,category:b}=t;if(oe.isNonNullable(b)&&m.includes(b)||oe.isNonNullable(h)&&f.includes(h))return;if(Math.random()<=s||oe.isNonNullable(b)&&c.includes(b)||oe.isNonNullable(h)&&a.includes(h)){Object.keys(t).length&&o.setTags(Object.assign({version:this.version},t)),(Object.keys(r).length||Object.keys(n).length)&&o.setExtras(Object.assign(Object.assign({},r),n));try{h&&o.captureMessage(h,t.fatal?gl.fatal:gl.error),o.report(e)}catch(w){console.error(w)}}}static getInstance(){return sl}}var So;(function(i){i.AUTO="auto"})(So||(So={}));var Ne;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(Ne||(Ne={}));var An;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(An||(An={}));var ti;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(ti||(ti={}));var In;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(In||(In={}));var Ye;(function(i){i.PLAY="PLAY",i.PAUSE="PAUSE",i.REPLAY="REPLAY",i.BACKWARD_SEEK="BACKWARD_SEEK",i.FORWARD_SEEK="FORWARD_SEEK",i.SUBTITLES_ON="SUBTITLES_ON",i.SUBTITLES_OFF="SUBTITLES_OFF",i.RATE_UP="RATE_UP",i.RATE_DOWN="RATE_DOWN",i.EPISODE_PREV="EPISODE_PREV",i.EPISODE_NEXT="EPISODE_NEXT",i.MUTE="MUTE",i.VOLUME="VOLUME"})(Ye||(Ye={}));var Qn;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(Qn||(Qn={}));const Sc=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()},Cc=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),w4=i=>{const e=i;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},Oo=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},Pc=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},Tc=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},y4=i=>{const e=window.screen;return(o=>ai(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))},k4=()=>({title:Y("hotkey_map_modal_title"),closeBtnText:Y("hotkey_map_modal_close_btn_text"),groups:[{title:Y("hotkey_map_group_title_common"),items:[{description:Y("hotkey_map_item_mute_description"),value:Y("hotkey_map_item_mute_value")},{description:Y("hotkey_map_item_volume_up_description"),value:Y("hotkey_map_item_volume_up_value")},{description:Y("hotkey_map_item_volume_down_description"),value:Y("hotkey_map_item_volume_down_value")},{description:Y("hotkey_map_item_pip_description"),value:Y("hotkey_map_item_pip_value")},{description:Y("hotkey_map_item_full_screen_description"),value:Y("hotkey_map_item_full_screen_value")},{description:Y("hotkey_map_item_show_hotkey_map_description"),value:Y("hotkey_map_item_show_hotkey_map_value")}]},{title:Y("hotkey_map_group_title_playback"),items:[{description:Y("hotkey_map_item_play_toggle_description"),value:Y("hotkey_map_item_play_toggle_value")},{description:Y("hotkey_map_item_seek_backward_description"),value:Y("hotkey_map_item_seek_backward_value")},{description:Y("hotkey_map_item_seek_forward_description"),value:Y("hotkey_map_item_seek_forward_value")},{description:Y("hotkey_map_item_fast_seek_backward_description"),value:Y("hotkey_map_item_fast_seek_backward_value")},{description:Y("hotkey_map_item_fast_seek_forward_description"),value:Y("hotkey_map_item_fast_seek_forward_value")},{description:Y("hotkey_map_item_rate_down_description"),value:Y("hotkey_map_item_rate_down_value")},{description:Y("hotkey_map_item_rate_up_description"),value:Y("hotkey_map_item_rate_up_value")},{description:Y("hotkey_map_item_prev_frame_description"),value:Y("hotkey_map_item_prev_frame_value")},{description:Y("hotkey_map_item_next_frame_description"),value:Y("hotkey_map_item_next_frame_value")},{description:Y("hotkey_map_item_jump_seek_description"),value:Y("hotkey_map_item_jump_seek_value")}]},{title:Y("hotkey_map_group_title_subtitles"),items:[{description:Y("hotkey_map_item_subtitles_toggle_description"),value:Y("hotkey_map_item_subtitles_toggle_value")}]},{title:Y("hotkey_map_group_title_episodes"),items:[{description:Y("hotkey_map_item_prev_episode_description"),value:oe.isMacLike()?Y("hotkey_map_item_prev_episode_mac_value"):Y("hotkey_map_item_prev_episode_pc_value")},{description:Y("hotkey_map_item_next_episode_description"),value:oe.isMacLike()?Y("hotkey_map_item_next_episode_mac_value"):Y("hotkey_map_item_next_episode_pc_value")}]}]});class wr{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),E1)},this.info={isActive$:new oe.ValueSubject(this.isActive()),type:In.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 ai(this,void 0,void 0,function*(){this.isRequested&&(this.unregistryEventHandlers(),yield this.request(),this.registryEventHandlers())})}request(){var e;return ai(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 ai(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 ai(this,void 0,void 0,function*(){this.unregistryEventHandlers(),yield this.remove()})}onEnterPictureInPicture(e){var t,n;const r=e.pictureInPictureWindow;r&&(this.info.isActive$.next(!0),this.isRequested=!0,r.addEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(t,e))}onLeavePictureInPicture(e){var t,n,o;const l=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,l==null||l.removeEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(t,e),(o=this.playerDummyElement)===null||o===void 0||o.$destroy()}onResize(e){var t,n;(n=(t=this.externalEventHandlers).resize)===null||n===void 0||n.call(t,e)}}function bl(i){return i instanceof wr}function S4(i){const e=Et();return vn(()=>{e.getAdmanWrapper().startPostroll()}),[]}class C4 extends we{constructor(e){super(),_e(this,e,S4,null,be,{})}}function P4(i){je(i,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function T4(i){let e=Y("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=Oe(e)},m(n,o){E(n,t,o)},p(n,o){o&3&&e!==(e=Y("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&$e(t,e)},d(n){n&&P(t)}}}function E4(i){let e,t=Y("skip_ads_now")+"",n,o,r,l,s,a;return{c(){e=A("div"),n=Oe(t),o=R(),r=B("svg"),l=B("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(r,"class","icon v-22jj8o"),u(r,"width","7"),u(r,"height","12"),u(r,"viewBox","0 0 7 12"),u(r,"fill","none"),u(r,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){E(c,e,f),p(e,n),p(e,o),p(e,r),p(r,l),s||(a=ge(e,"click",rt(function(){Sn(i[2])&&i[2].apply(this,arguments)})),s=!0)},p(c,f){i=c},d(c){c&&P(e),s=!1,a()}}}function A4(i){let e;function t(r,l){return r[3]?E4:T4}let n=t(i),o=n(i);return{c(){e=A("div"),o.c(),u(e,"class","container v-22jj8o"),M(e,"container-mobile",i[4]),M(e,"skippable",i[3])},m(r,l){E(r,e,l),o.m(e,null)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e,null))),l&16&&M(e,"container-mobile",r[4]),l&8&&M(e,"skippable",r[3])},i:K,o:K,d(r){r&&P(e),o.d()}}}function L4(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:r=0}=e,{skipAd:l=oe.noop}=e;const a=Et().ui.isMobile;z(i,a,f=>t(4,n=f));let c;return i.$$set=f=>{"position"in f&&t(0,o=f.position),"secondsToWatchBeforeSkip"in f&&t(1,r=f.secondsToWatchBeforeSkip),"skipAd"in f&&t(2,l=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=o>0&&o>=r)},[o,r,l,c,n,a]}class I4 extends we{constructor(e){super(),_e(this,e,L4,A4,be,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},P4)}}function V4(i){je(i,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function M4(i){let e;return{c(){e=A("button"),e.textContent=`${Y("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){E(t,e,n)},p:K,i:K,o:K,d(t){t&&P(e)}}}class B4 extends we{constructor(e){super(),_e(this,e,null,M4,be,{},V4)}}function N4(i){je(i,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
|
|
6
|
+
"use strict";var a0=Object.create;var Ml=Object.defineProperty,u0=Object.defineProperties,c0=Object.getOwnPropertyDescriptor,f0=Object.getOwnPropertyDescriptors,d0=Object.getOwnPropertyNames,qr=Object.getOwnPropertySymbols,m0=Object.getPrototypeOf,jr=Object.prototype.hasOwnProperty,p0=Object.prototype.propertyIsEnumerable;var Ll=(t,e,i)=>e in t?Ml(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,cn=(t,e)=>{for(var i in e||(e={}))jr.call(e,i)&&Ll(t,i,e[i]);if(qr)for(var i of qr(e))p0.call(e,i)&&Ll(t,i,e[i]);return t},mo=(t,e)=>u0(t,f0(e));var h0=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of d0(e))!jr.call(t,l)&&l!==i&&Ml(t,l,{get:()=>e[l],enumerable:!(n=c0(e,l))||n.enumerable});return t};var Kr=(t,e,i)=>(i=t!=null?a0(m0(t)):{},h0(e||!t||!t.__esModule?Ml(i,"default",{value:t,enumerable:!0}):i,t));var Vl=(t,e,i)=>(Ll(t,typeof e!="symbol"?e+"":e,i),i);var Ji=(t,e,i)=>new Promise((n,l)=>{var r=a=>{try{s(i.next(a))}catch(c){l(c)}},o=a=>{try{s(i.throw(a))}catch(c){l(c)}},s=a=>a.done?n(a.value):Promise.resolve(a.value).then(r,o);s((i=i.apply(t,e)).next())});var et=require("@vkontakte/videoplayer-core/es2015.cjs.js"),te=require("@vkontakte/videoplayer-shared/es2015.cjs.js"),Pt=require("@vkontakte/videoplayer-statistics/es2015.cjs.js");require("@vkontakte/videoplayer-interactive/es2015.cjs.js");function ni(t,e,i,n){function l(r){return r instanceof i?r:new i(function(o){o(r)})}return new(i||(i=Promise))(function(r,o){function s(f){try{c(n.next(f))}catch(d){o(d)}}function a(f){try{c(n.throw(f))}catch(d){o(d)}}function c(f){f.done?r(f.value):l(f.value).then(s,a)}c((n=n.apply(t,e||[])).next())})}function G(){}function S1(t,e){for(const i in e)t[i]=e[i];return t}function P1(t){return t()}function Wr(){return Object.create(null)}function rt(t){t.forEach(P1)}function Ln(t){return typeof t=="function"}function ge(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let xo;function Zr(t,e){return xo||(xo=document.createElement("a")),xo.href=e,t===xo.href}function v0(t){return Object.keys(t).length===0}function ei(t,...e){if(t==null){for(const n of e)n(void 0);return G}const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function $e(t){let e;return ei(t,i=>e=i)(),e}function D(t,e,i){t.$$.on_destroy.push(ei(e,i))}function Fn(t,e,i,n){if(t){const l=T1(t,e,i,n);return t[0](l)}}function T1(t,e,i,n){return t[1]&&n?S1(i.ctx.slice(),t[1](n(e))):i.ctx}function Hn(t,e,i,n){if(t[2]&&n){const l=t[2](n(i));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],o=Math.max(e.dirty.length,l.length);for(let s=0;s<o;s+=1)r[s]=e.dirty[s]|l[s];return r}return e.dirty|l}return e.dirty}function Un(t,e,i,n,l,r){if(l){const o=T1(e,i,n,r);t.p(o,l)}}function qn(t){if(t.ctx.length>32){const e=[],i=t.ctx.length/32;for(let n=0;n<i;n++)e[n]=-1;return e}return-1}function g0(t){return t==null?"":t}const gl=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(t,e){t.appendChild(e)}function We(t,e,i){const n=b0(t);if(!n.getElementById(e)){const l=T("style");l.id=e,l.textContent=i,_0(n,l)}}function b0(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function _0(t,e){return p(t.head||t,e),e.sheet}function P(t,e,i){t.insertBefore(e,i||null)}function S(t){t.parentNode&&t.parentNode.removeChild(t)}function Mn(t,e){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(e)}function T(t){return document.createElement(t)}function N(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function ze(t){return document.createTextNode(t)}function z(){return ze(" ")}function bt(){return ze("")}function pe(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function ii(t){return function(e){return e.preventDefault(),t.call(this,e)}}function at(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function u(t,e,i){i==null?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function w0(t){return Array.from(t.childNodes)}function tt(t,e){e=""+e,t.data!==e&&(t.data=e)}function Ft(t,e,i,n){i==null?t.style.removeProperty(e):t.style.setProperty(e,i,n?"important":"")}let $o;function y0(){if($o===void 0){$o=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(t){$o=!0}}return $o}function mr(t,e){getComputedStyle(t).position==="static"&&(t.style.position="relative");const n=T("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const l=y0();let r;return l?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=pe(window,"message",o=>{o.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{r=pe(n.contentWindow,"resize",e),e()}),p(t,n),()=>{(l||r&&n.contentWindow)&&r(),S(n)}}function V(t,e,i){t.classList.toggle(e,!!i)}function Nn(t,e){return new t(e)}let Oo;function Ro(t){Oo=t}function zo(){if(!Oo)throw new Error("Function called outside component initialization");return Oo}function wn(t){zo().$$.on_mount.push(t)}function bl(t){zo().$$.on_destroy.push(t)}function or(t,e){return zo().$$.context.set(t,e),e}function pr(t){return zo().$$.context.get(t)}function E1(){return zo().$$.context}function Po(t,e){const i=t.$$.callbacks[e.type];i&&i.slice().forEach(n=>n.call(this,e))}const wo=[],ke=[];let Co=[];const lr=[],A1=Promise.resolve();let rr=!1;function I1(){rr||(rr=!0,A1.then(L1))}function eo(){return I1(),A1}function To(t){Co.push(t)}function Ue(t){lr.push(t)}const Bl=new Set;let po=0;function L1(){if(po!==0)return;const t=Oo;do{try{for(;po<wo.length;){const e=wo[po];po++,Ro(e),k0(e.$$)}}catch(e){throw wo.length=0,po=0,e}for(Ro(null),wo.length=0,po=0;ke.length;)ke.pop()();for(let e=0;e<Co.length;e+=1){const i=Co[e];Bl.has(i)||(Bl.add(i),i())}Co.length=0}while(wo.length);for(;lr.length;)lr.pop()();rr=!1,Bl.clear(),Ro(t)}function k0(t){if(t.fragment!==null){t.update(),rt(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(To)}}function C0(t){const e=[],i=[];Co.forEach(n=>t.indexOf(n)===-1?e.push(n):i.push(n)),i.forEach(n=>n()),Co=e}const cl=new Set;let oo;function fe(){oo={r:0,c:[],p:oo}}function de(){oo.r||rt(oo.c),oo=oo.p}function m(t,e){t&&t.i&&(cl.delete(t),t.i(e))}function g(t,e,i,n){if(t&&t.o){if(cl.has(t))return;cl.add(t),oo.c.push(()=>{cl.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}function Gt(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function S0(t,e){const i={},n={},l={$$scope:1};let r=t.length;for(;r--;){const o=t[r],s=e[r];if(s){for(const a in o)a in s||(n[a]=1);for(const a in s)l[a]||(i[a]=s[a],l[a]=1);t[r]=s}else for(const a in o)l[a]=1}for(const o in n)o in i||(i[o]=void 0);return i}function P0(t){return typeof t=="object"&&t!==null?t:{}}function qe(t,e,i){const n=t.$$.props[e];n!==void 0&&(t.$$.bound[n]=i,i(t.$$.ctx[n]))}function W(t){t&&t.c()}function q(t,e,i){const{fragment:n,after_update:l}=t.$$;n&&n.m(e,i),To(()=>{const r=t.$$.on_mount.map(P1).filter(Ln);t.$$.on_destroy?t.$$.on_destroy.push(...r):rt(r),t.$$.on_mount=[]}),l.forEach(To)}function j(t,e){const i=t.$$;i.fragment!==null&&(C0(i.after_update),rt(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function T0(t,e){t.$$.dirty[0]===-1&&(wo.push(t),I1(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function we(t,e,i,n,l,r,o,s=[-1]){const a=Oo;Ro(t);const c=t.$$={fragment:null,ctx:[],props:r,update:G,not_equal:l,bound:Wr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:Wr(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};o&&o(c.root);let f=!1;if(c.ctx=i?i(t,e.props||{},(d,h,...b)=>{const v=b.length?b[0]:h;return c.ctx&&l(c.ctx[d],c.ctx[d]=v)&&(!c.skip_bound&&c.bound[d]&&c.bound[d](v),f&&T0(t,d)),h}):[],c.update(),f=!0,rt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const d=w0(e.target);c.fragment&&c.fragment.l(d),d.forEach(S)}else c.fragment&&c.fragment.c();e.intro&&m(t.$$.fragment),q(t,e.target,e.anchor),L1()}Ro(a)}class ye{constructor(){Vl(this,"$$");Vl(this,"$$set")}$destroy(){j(this,1),this.$destroy=G}$on(e,i){if(!Ln(i))return G;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const l=n.indexOf(i);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!v0(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 Eo;(function(t){t.VK="vk",t.VK_VIDEO="vk_video"})(Eo||(Eo={}));const A0={isMobile:void 0,defaultLanguage:te.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:Eo.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:te.VideoQuality.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0,contextMenuButton:!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},interactive:{historyMaxLength:100,noInteractionEventTimeout:3e4}},I0=t=>te.fillWithDefault(t,A0),L0=t=>or("ui-config",t),yn=()=>pr("ui-config"),sr="vk_player_debug_panel_opened",M1=300,M0=100,V0="videoplayer",B0="videoplayer";var Ie;(function(t){t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Comma="Comma",t.Period="Period",t.Space="Space",t.KeyM="KeyM",t.KeyF="KeyF",t.KeyK="KeyK",t.KeyL="KeyL",t.KeyJ="KeyJ",t.KeyC="KeyC",t.KeyI="KeyI",t.Digit1="Digit1",t.Digit2="Digit2",t.Digit3="Digit3",t.Digit4="Digit4",t.Digit5="Digit5",t.Digit6="Digit6",t.Digit7="Digit7",t.Digit8="Digit8",t.Digit9="Digit9",t.Digit0="Digit0",t.Numpad1="Numpad1",t.Numpad2="Numpad2",t.Numpad3="Numpad3",t.Numpad4="Numpad4",t.Numpad5="Numpad5",t.Numpad6="Numpad6",t.Numpad7="Numpad7",t.Numpad8="Numpad8",t.Numpad9="Numpad9",t.Numpad0="Numpad0",t.ShiftLeft="ShiftLeft",t.ShiftRight="ShiftRight",t.Slash="Slash",t.Tab="Tab",t.Escape="Escape",t.Enter="Enter"})(Ie||(Ie={}));const Fo={[Ie.KeyF]:"f",[Ie.KeyK]:"k",[Ie.KeyC]:"c",[Ie.KeyM]:"m"},N0=new Set([Ie.ArrowLeft,Ie.ArrowRight,Ie.KeyL,Ie.KeyJ]),R0=new Set([Ie.Tab,Ie.Space,Ie.ArrowLeft,Ie.ArrowRight,Ie.ArrowUp,Ie.ArrowDown]),O0=new Set([Ie.ShiftRight,Ie.ShiftLeft]);var vt;(function(t){t.PLAY_BUTTON="PLAY_BUTTON",t.REPLAY_BUTTON="REPLAY_BUTTON",t.NEXT_BUTTON="NEXT_BUTTON",t.PREV_BUTTON="PREV_BUTTON",t.PICTURE_IN_PICTURE="PICTURE_IN_PICTURE",t.FULLSCREEN_BUTTON="FULLSCREEN_BUTTON",t.SETTINGS_BUTTON="SETTINGS_BUTTON",t.LIVE_BUTTON="LIVE_BUTTON",t.GRAPH_BUTTON="GRAPH_BUTTON",t.PLAY_PREV_CHAPTER_BUTTON="PLAY_PREV_CHAPTER_BUTTON",t.SEEK_TO_INTERACTIVE_BUTTON="SEEK_TO_INTERACTIVE_BUTTON",t.TIMELINE="TIMELINE",t.VOLUME_BAR="VOLUME_BAR",t.MUTE_BUTTON="MUTE_BUTTON",t.SUBTITLES_BUTTON="SUBTITLES_BUTTON",t.CHROMECAST_BUTTON="CHROMECAST_BUTTON",t.VK_BUTTON="VK_BUTTON",t.EPISODE_BUTTON="EPISODE_BUTTON",t.INCREMENT_PLAYBACK_RATE="INCREMENT_PLAYBACK_RATE",t.DECREMENT_PLAYBACK_RATE="DECREMENT_PLAYBACK_RATE"})(vt||(vt={}));const Gr=40,V1=260,D0=60,No=8,B1=[vt.TIMELINE],fl=[...B1,vt.GRAPH_BUTTON],Yr=[...B1,vt.PLAY_BUTTON],N1=[...fl,vt.PLAY_BUTTON];var yo;(function(t){t[t.XS=320]="XS",t[t.S=509]="S",t[t.M=599]="M",t[t.L=699]="L"})(yo||(yo={}));exports.GridTypes=void 0;(function(t){t.XS="xs",t.S="s",t.M="m",t.L="l",t.XL="xl"})(exports.GridTypes||(exports.GridTypes={}));const Ao={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},ho=[];function Bn(t,e){return{subscribe:Ve(t,e).subscribe}}function Ve(t,e=G){let i;const n=new Set;function l(s){if(ge(t,s)&&(t=s,i)){const a=!ho.length;for(const c of n)c[1](),ho.push(c,t);if(a){for(let c=0;c<ho.length;c+=2)ho[c][0](ho[c+1]);ho.length=0}}}function r(s){l(s(t))}function o(s,a=G){const c=[s,a];return n.add(c),n.size===1&&(i=e(l,r)||G),s(t),()=>{n.delete(c),n.size===0&&i&&(i(),i=null)}}return{set:l,update:r,subscribe:o}}function Ri(t,e,i){const n=!Array.isArray(t),l=n?[t]:t;if(!l.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return Bn(i,(o,s)=>{let a=!1;const c=[];let f=0,d=G;const h=()=>{if(f)return;d();const v=e(n?c[0]:c,o,s);r?o(v):d=Ln(v)?v:G},b=l.map((v,w)=>ei(v,_=>{c[w]=_,f&=~(1<<w),a&&h()},()=>{f|=1<<w}));return a=!0,h(),function(){rt(b),d(),a=!1}})}const z0="prod",_l="1.1.36-dev.d9958daa.0",R1=(t,e,i)=>{const n=document.createElement("a");n.href=t,n.download=`${e}.${i}`,n.style.display="none",n.click()},O1=Symbol("storeContext"),D1=Symbol("microStoresContext"),F0=(t,e)=>{or(O1,t),or(D1,e)},Tt=()=>{const t=pr(O1);return te.assertNonNullable(t,"Store context is empty!"),t},Ho=()=>{const t=pr(D1);return te.assertNonNullable(t,"MicroStores context is empty!"),t},St=(t,e)=>z1(t,t.getValue(),e),z1=(t,e,i)=>Bn(e,n=>{const l=t.subscribe(r=>{n(r),i==null||i(r)});return()=>l.unsubscribe()}),H0=(t,e,i)=>{var n,l,r,o;const s=t.info,{width:a,height:c}=$e(i.ui.playerSize),f=(l=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&l!==void 0?l:0,d=(o=(r=s.rttEstimation$.getValue())===null||r===void 0?void 0:r.toFixed(0))!==null&&o!==void 0?o:0,h=s.isAutoQualityEnabled$.getValue()?"auto":"manual",b=`${_l} (core: ${et.VERSION}, stat: ${Pt.VERSION}, shared: ${te.VERSION})`,v=$e(i.state.errorLog$),w=v.length?`
|
|
7
|
+
`+v.map((y,C)=>{var E;const F=`${C}) Type: ${y.id}
|
|
8
|
+
`,R=`Message: ${y.message} (${y.thrown})
|
|
9
|
+
`,B=`Trace: ${(E=y.thrown)===null||E===void 0?void 0:E.stack}
|
|
10
|
+
`;return F+R+B}).join(`
|
|
11
|
+
`):void 0,_=i.state.isAudioDisabled?"disabled":$e(i.state.isAudioAvailable$)?void 0:"unavailable",k={Version:b,Browser:navigator.userAgent,Config:t.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(i.videoId),"Content host":s.hostname$.getValue(),"Connection type":s.httpConnectionType$.getValue()+(s.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${d}ms RTT`,Format:s.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${h} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Audio:_,Position:`${$e(i.state.positionExact$)}s`,State:`${$e(i.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:w};return Object.entries(k).filter(([y,C])=>C!==void 0).map(([y,C])=>`${y}: ${C}`).join(`
|
|
12
|
+
`)},U0=(t,e,i)=>{const n=t.info,{width:l,height:r}=$e(i.ui.playerSize),o={version:_l,viewport:`${l}x${r}`,volume:Math.round($e(i.state.volume$)*100)};o.id=i.videoId,n.currentFormat$.getValue()&&(o.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(o.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(o.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(o.buffer=Math.max(f.end-$e(i.state.positionExact$),0));const d=n.throughputEstimation$.getValue();d&&(o.speed=d);const h=n.videoBitrate$.getValue();return h&&(o.bitrate=h),o},q0=(t,e)=>R1(t,e,"mp4"),F1="vk_player_prefer_traffic_saving_enabled",H1="vk_player_preferred_volume",U1="vk_player_prefer_volume_mute",hr="vk_player_preferred_quality",q1=t=>t>1?1:t<0?0:t,Qr=t=>te.safeStorage.set(H1,q1(t).toString(10)),j1=()=>{const t=te.safeStorage.get(H1);return te.isNullable(t)?void 0:q1(parseFloat(t))},j0=(t,e)=>te.safeStorage.set(hr,JSON.stringify({videoId:t,value:e})),K1=()=>te.safeStorage.remove(hr),K0=t=>{const e=te.safeStorage.get(hr);if(te.isNullable(e))return;const{videoId:i,value:n}=JSON.parse(e);if(t!==i){K1();return}return n},W1=(t,e)=>{e?te.safeStorage.set(t,"true"):te.safeStorage.remove(t)},Z1=t=>te.safeStorage.get(t)==="true",Nl=t=>W1(U1,t),W0=()=>Z1(U1),Z0=t=>W1(F1,t),G0=()=>Z1(F1);function Y0(t){let e,i,n,l,r,o,s,a,c,f,d,h,b,v,w,_,k,y;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("path"),o=N("path"),s=N("path"),a=N("defs"),c=N("filter"),f=N("feFlood"),d=N("feColorMatrix"),h=N("feOffset"),b=N("feGaussianBlur"),v=N("feColorMatrix"),w=N("feBlend"),_=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(l,"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(l,"fill","#fff"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(r,"fill","#fff"),u(o,"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(o,"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(i,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(d,"in","SourceAlpha"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(d,"result","hardAlpha"),u(b,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_618_12297"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_618_12297"),u(_,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",k=!t[0]||null),u(e,"aria-label",y=t[0]||null)},m(C,E){P(C,e,E),p(e,i),p(i,n),p(i,l),p(i,r),p(i,o),p(i,s),p(e,a),p(a,c),p(c,f),p(c,d),p(c,h),p(c,b),p(c,v),p(c,w),p(c,_)},p(C,[E]){E&1&&k!==(k=!C[0]||null)&&u(e,"aria-hidden",k),E&1&&y!==(y=C[0]||null)&&u(e,"aria-label",y)},i:G,o:G,d(C){C&&S(e)}}}function Q0(t,e,i){let{ariaLabel:n=""}=e;return t.$$set=l=>{"ariaLabel"in l&&i(0,n=l.ariaLabel)},[n]}class G1 extends ye{constructor(e){super(),we(this,e,Q0,Y0,ge,{ariaLabel:0})}}var Rl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function X0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var el=function(t){return t&&t.Math==Math&&t},to=el(typeof globalThis=="object"&&globalThis)||el(typeof window=="object"&&window)||el(typeof self=="object"&&self)||el(typeof Rl=="object"&&Rl)||function(){return this}()||Rl||Function("return this")(),so=function(t){try{return!!t()}catch(e){return!0}},J0=so,wl=!J0(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),x0=wl,Y1=Function.prototype,Xr=Y1.apply,Jr=Y1.call,$0=typeof Reflect=="object"&&Reflect.apply||(x0?Jr.bind(Xr):function(){return Jr.apply(Xr,arguments)}),Q1=wl,X1=Function.prototype,ar=X1.call,ed=Q1&&X1.bind.bind(ar,ar),io=Q1?ed:function(t){return function(){return ar.apply(t,arguments)}},J1=io,td=J1({}.toString),id=J1("".slice),yl=function(t){return id(td(t),8,-1)},nd=yl,od=io,x1=function(t){if(nd(t)==="Function")return od(t)},ur=typeof document=="object"&&document.all,ld=typeof ur=="undefined"&&ur!==void 0,$1={all:ur,IS_HTMLDDA:ld},ec=$1,rd=ec.all,jn=ec.IS_HTMLDDA?function(t){return typeof t=="function"||t===rd}:function(t){return typeof t=="function"},tc={},sd=so,Uo=!sd(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),ad=wl,tl=Function.prototype.call,qo=ad?tl.bind(tl):function(){return tl.apply(tl,arguments)},ic={},nc={}.propertyIsEnumerable,oc=Object.getOwnPropertyDescriptor,ud=oc&&!nc.call({1:2},1);ic.f=ud?function(e){var i=oc(this,e);return!!i&&i.enumerable}:nc;var lc=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},cd=io,fd=so,dd=yl,Ol=Object,md=cd("".split),pd=fd(function(){return!Ol("z").propertyIsEnumerable(0)})?function(t){return dd(t)=="String"?md(t,""):Ol(t)}:Ol,vr=function(t){return t==null},hd=vr,vd=TypeError,gr=function(t){if(hd(t))throw vd("Can't call method on "+t);return t},gd=pd,bd=gr,_d=function(t){return gd(bd(t))},xr=jn,rc=$1,wd=rc.all,jo=rc.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:xr(t)||t===wd}:function(t){return typeof t=="object"?t!==null:xr(t)},sc={},Dl=sc,zl=to,yd=jn,$r=function(t){return yd(t)?t:void 0},ac=function(t,e){return arguments.length<2?$r(Dl[t])||$r(zl[t]):Dl[t]&&Dl[t][e]||zl[t]&&zl[t][e]},kd=io,uc=kd({}.isPrototypeOf),Cd=typeof navigator!="undefined"&&String(navigator.userAgent)||"",cc=to,Fl=Cd,es=cc.process,ts=cc.Deno,is=es&&es.versions||ts&&ts.version,ns=is&&is.v8,In,ml;ns&&(In=ns.split("."),ml=In[0]>0&&In[0]<4?1:+(In[0]+In[1]));!ml&&Fl&&(In=Fl.match(/Edge\/(\d+)/),(!In||In[1]>=74)&&(In=Fl.match(/Chrome\/(\d+)/),In&&(ml=+In[1])));var Sd=ml,os=Sd,Pd=so,Td=to,Ed=Td.String,fc=!!Object.getOwnPropertySymbols&&!Pd(function(){var t=Symbol();return!Ed(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&os&&os<41}),Ad=fc,dc=Ad&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Id=ac,Ld=jn,Md=uc,Vd=dc,Bd=Object,mc=Vd?function(t){return typeof t=="symbol"}:function(t){var e=Id("Symbol");return Ld(e)&&Md(e.prototype,Bd(t))},Nd=String,Rd=function(t){try{return Nd(t)}catch(e){return"Object"}},Od=jn,Dd=Rd,zd=TypeError,pc=function(t){if(Od(t))return t;throw zd(Dd(t)+" is not a function")},Fd=pc,Hd=vr,hc=function(t,e){var i=t[e];return Hd(i)?void 0:Fd(i)},Hl=qo,Ul=jn,ql=jo,Ud=TypeError,qd=function(t,e){var i,n;if(e==="string"&&Ul(i=t.toString)&&!ql(n=Hl(i,t))||Ul(i=t.valueOf)&&!ql(n=Hl(i,t))||e!=="string"&&Ul(i=t.toString)&&!ql(n=Hl(i,t)))return n;throw Ud("Can't convert object to primitive value")},vc={exports:{}},ls=to,jd=Object.defineProperty,Kd=function(t,e){try{jd(ls,t,{value:e,configurable:!0,writable:!0})}catch(i){ls[t]=e}return e},Wd=to,Zd=Kd,rs="__core-js_shared__",Gd=Wd[rs]||Zd(rs,{}),Yd=Gd,ss=Yd;(vc.exports=function(t,e){return ss[t]||(ss[t]=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 Qd=vc.exports,Xd=gr,Jd=Object,gc=function(t){return Jd(Xd(t))},xd=io,$d=gc,e2=xd({}.hasOwnProperty),kl=Object.hasOwn||function(e,i){return e2($d(e),i)},t2=io,i2=0,n2=Math.random(),o2=t2(1 .toString),l2=function(t){return"Symbol("+(t===void 0?"":t)+")_"+o2(++i2+n2,36)},r2=to,s2=Qd,as=kl,a2=l2,u2=fc,c2=dc,ko=r2.Symbol,jl=s2("wks"),f2=c2?ko.for||ko:ko&&ko.withoutSetter||a2,Ko=function(t){return as(jl,t)||(jl[t]=u2&&as(ko,t)?ko[t]:f2("Symbol."+t)),jl[t]},d2=qo,us=jo,cs=mc,m2=hc,p2=qd,h2=Ko,v2=TypeError,g2=h2("toPrimitive"),b2=function(t,e){if(!us(t)||cs(t))return t;var i=m2(t,g2),n;if(i){if(e===void 0&&(e="default"),n=d2(i,t,e),!us(n)||cs(n))return n;throw v2("Can't convert object to primitive value")}return e===void 0&&(e="number"),p2(t,e)},_2=b2,w2=mc,bc=function(t){var e=_2(t,"string");return w2(e)?e:e+""},y2=to,fs=jo,cr=y2.document,k2=fs(cr)&&fs(cr.createElement),C2=function(t){return k2?cr.createElement(t):{}},S2=Uo,P2=so,T2=C2,_c=!S2&&!P2(function(){return Object.defineProperty(T2("div"),"a",{get:function(){return 7}}).a!=7}),E2=Uo,A2=qo,I2=ic,L2=lc,M2=_d,V2=bc,B2=kl,N2=_c,ds=Object.getOwnPropertyDescriptor;tc.f=E2?ds:function(e,i){if(e=M2(e),i=V2(i),N2)try{return ds(e,i)}catch(n){}if(B2(e,i))return L2(!A2(I2.f,e,i),e[i])};var R2=so,O2=jn,D2=/#|\.prototype\./,Wo=function(t,e){var i=F2[z2(t)];return i==U2?!0:i==H2?!1:O2(e)?R2(e):!!e},z2=Wo.normalize=function(t){return String(t).replace(D2,".").toLowerCase()},F2=Wo.data={},H2=Wo.NATIVE="N",U2=Wo.POLYFILL="P",q2=Wo,ms=x1,j2=pc,K2=wl,W2=ms(ms.bind),Z2=function(t,e){return j2(t),e===void 0?t:K2?W2(t,e):function(){return t.apply(e,arguments)}},wc={},G2=Uo,Y2=so,Q2=G2&&Y2(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),X2=jo,J2=String,x2=TypeError,yc=function(t){if(X2(t))return t;throw x2(J2(t)+" is not an object")},$2=Uo,em=_c,tm=Q2,il=yc,ps=bc,im=TypeError,Kl=Object.defineProperty,nm=Object.getOwnPropertyDescriptor,Wl="enumerable",Zl="configurable",Gl="writable";wc.f=$2?tm?function(e,i,n){if(il(e),i=ps(i),il(n),typeof e=="function"&&i==="prototype"&&"value"in n&&Gl in n&&!n[Gl]){var l=nm(e,i);l&&l[Gl]&&(e[i]=n.value,n={configurable:Zl in n?n[Zl]:l[Zl],enumerable:Wl in n?n[Wl]:l[Wl],writable:!1})}return Kl(e,i,n)}:Kl:function(e,i,n){if(il(e),i=ps(i),il(n),em)try{return Kl(e,i,n)}catch(l){}if("get"in n||"set"in n)throw im("Accessors not supported");return"value"in n&&(e[i]=n.value),e};var om=Uo,lm=wc,rm=lc,sm=om?function(t,e,i){return lm.f(t,e,rm(1,i))}:function(t,e,i){return t[e]=i,t},nl=to,am=$0,um=x1,cm=jn,fm=tc.f,dm=q2,vo=sc,mm=Z2,go=sm,hs=kl,pm=function(t){var e=function(i,n,l){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(i);case 2:return new t(i,n)}return new t(i,n,l)}return am(t,this,arguments)};return e.prototype=t.prototype,e},hm=function(t,e){var i=t.target,n=t.global,l=t.stat,r=t.proto,o=n?nl:l?nl[i]:(nl[i]||{}).prototype,s=n?vo:vo[i]||go(vo,i,{})[i],a=s.prototype,c,f,d,h,b,v,w,_,k;for(h in e)c=dm(n?h:i+(l?".":"#")+h,t.forced),f=!c&&o&&hs(o,h),v=s[h],f&&(t.dontCallGetSet?(k=fm(o,h),w=k&&k.value):w=o[h]),b=f&&w?w:e[h],!(f&&typeof v==typeof b)&&(t.bind&&f?_=mm(b,nl):t.wrap&&f?_=pm(b):r&&cm(b)?_=um(b):_=b,(t.sham||b&&b.sham||v&&v.sham)&&go(_,"sham",!0),go(s,h,_),r&&(d=i+"Prototype",hs(vo,d)||go(vo,d,{}),go(vo[d],h,b),t.real&&a&&(c||!a[h])&&go(a,h,b)))},vm=jo,gm=yl,bm=Ko,_m=bm("match"),wm=function(t){var e;return vm(t)&&((e=t[_m])!==void 0?!!e:gm(t)=="RegExp")},ym=Ko,km=ym("toStringTag"),kc={};kc[km]="z";var Cm=String(kc)==="[object z]",Sm=Cm,Pm=jn,dl=yl,Tm=Ko,Em=Tm("toStringTag"),Am=Object,Im=dl(function(){return arguments}())=="Arguments",Lm=function(t,e){try{return t[e]}catch(i){}},Mm=Sm?dl:function(t){var e,i,n;return t===void 0?"Undefined":t===null?"Null":typeof(i=Lm(e=Am(t),Em))=="string"?i:Im?dl(e):(n=dl(e))=="Object"&&Pm(e.callee)?"Arguments":n},Vm=Mm,Bm=String,Nm=function(t){if(Vm(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Bm(t)},Rm=yc,Om=function(){var t=Rm(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},Dm=qo,zm=kl,Fm=uc,Hm=Om,vs=RegExp.prototype,Um=function(t){var e=t.flags;return e===void 0&&!("flags"in vs)&&!zm(t,"flags")&&Fm(vs,t)?Dm(Hm,t):e},br=io,qm=gc,jm=Math.floor,Yl=br("".charAt),Km=br("".replace),Ql=br("".slice),Wm=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Zm=/\$([$&'`]|\d{1,2})/g,Gm=function(t,e,i,n,l,r){var o=i+t.length,s=n.length,a=Zm;return l!==void 0&&(l=qm(l),a=Wm),Km(r,a,function(c,f){var d;switch(Yl(f,0)){case"$":return"$";case"&":return t;case"`":return Ql(e,0,i);case"'":return Ql(e,o);case"<":d=l[Ql(f,1,-1)];break;default:var h=+f;if(h===0)return c;if(h>s){var b=jm(h/10);return b===0?c:b<=s?n[b-1]===void 0?Yl(f,1):n[b-1]+Yl(f,1):c}d=n[h-1]}return d===void 0?"":d})},Ym=hm,Qm=qo,_r=io,gs=gr,Xm=jn,Jm=vr,xm=wm,bo=Nm,$m=hc,e4=Um,t4=Gm,i4=Ko,n4=i4("replace"),o4=TypeError,Cc=_r("".indexOf),l4=_r("".replace),bs=_r("".slice),r4=Math.max,_s=function(t,e,i){return i>t.length?-1:e===""?i:Cc(t,e,i)};Ym({target:"String",proto:!0},{replaceAll:function(e,i){var n=gs(this),l,r,o,s,a,c,f,d,h,b=0,v=0,w="";if(!Jm(e)){if(l=xm(e),l&&(r=bo(gs(e4(e))),!~Cc(r,"g")))throw o4("`.replaceAll` does not allow non-global regexes");if(o=$m(e,n4),o)return Qm(o,e,n,i);if(l)return l4(bo(n),e,i)}for(s=bo(n),a=bo(e),c=Xm(i),c||(i=bo(i)),f=a.length,d=r4(1,f),b=_s(s,a,0);b!==-1;)h=c?bo(i(a,b,s)):t4(a,s,b,[],void 0,i),w+=bs(s,v,b)+h,v=b+f,b=_s(s,a,b+d);return v<s.length&&(w+=bs(s,v)),w}});var s4=ac,a4=s4,u4=a4,c4=u4("String","replaceAll"),f4=c4,d4=f4,m4=d4,p4=m4,h4=X0(p4);const v4={auto_quality_invariant:"\u0410\u0432\u0442\u043E",auto_quality:"\u0410\u0432\u0442\u043E ({actual})",auto_quality_option:"\u0410\u0432\u0442\u043E",menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",menu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",menu_report:"\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435",menu_pip:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",menu_copy_video_link:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E",menu_copy_video_link_with_timestamp:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043A\u0430\u0434\u0440",menu_video_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C",menu_chromecast:"Chromecast \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F",menu_copy_debug:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_save_debug:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",pip_dummy_title:"\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",submenu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",submenu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",submenu_settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",submenu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",mobile_unmute:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",playing_ads:"\u0420\u0435\u043A\u043B\u0430\u043C\u0430 {timeleft}",skip_ads_now:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",skip_ads_after:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u0447\u0435\u0440\u0435\u0437 {time}\u0441",visit_advertiser:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442",aria_timeline:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B",aria_timeline_value:"{position} (\u043E\u0431\u0449\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C {duration}",aria_open_settings:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0438\u0434\u0435\u043E\u043F\u043B\u0435\u0435\u0440\u0430",doubletap_seek_step:"{seconds} \u0441\u0435\u043A\u0443\u043D\u0434",playback_rate_1:"\u041E\u0431\u044B\u0447\u043D\u0430\u044F",playback_rate:"{multiplier}x",video360:"\u043F\u0430\u043D\u043E\u0440\u0430\u043C\u043D\u043E\u0435 \u0432\u0438\u0434\u0435\u043E",subtitles_caption:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_auto:"{language} (\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435)",subtitles_off:"\u0412\u044B\u043A\u043B.",subtitles_auto_caption:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",traffic_saving_off:"\u041E\u0442\u043A\u043B.",traffic_saving_on:"\u0412\u043A\u043B.",traffic_saving_disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_enable:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_helper_text:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u0432\u0438\u0434\u0435\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u0438\u0436\u0435\u043D\u043E \u0434\u043B\u044F \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043A\u0430",tooltip_button_disabled:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_previous:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_restart:"\u041D\u0430\u0447\u0430\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E",tooltip_play:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",tooltip_pause:"\u041F\u0430\u0443\u0437\u0430",tooltip_next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_interactive_go_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0433\u043B\u0430\u0432\u0435",tooltip_interactive_go_back_disabled:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_interactive_go_back_disabled_first:"\u0412\u044B \u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043F\u0435\u0440\u0432\u0443\u044E \u0433\u043B\u0430\u0432\u0443",tooltip_interactive_go_back_disabled_limit:"\u041B\u0438\u043C\u0438\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u0432 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",tooltip_chapter_without_interactive:"\u0412 \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u0435 \u043D\u0435\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_interactive_of_chapter_completed:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u044B \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u044B \u0443\u0436\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u044B",tooltip_interactive_seek:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0443",tooltip_interactive_graph_off:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_interactive_graph_on:"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_live:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u043D\u0430 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043B\u0430\u0439\u0432",tooltip_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",tooltip_volume:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_volume_muted:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_subtitles_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_subtitles_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_settings_off:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_settings_on:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_fullscreen_off:"\u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D",tooltip_fullscreen_on:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",tooltip_chromecast_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_chromecast_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_episode_finished:"\u0412\u044B \u0443\u0436\u0435 \u0441\u0434\u0435\u043B\u0430\u043B\u0438 \u0441\u0432\u043E\u0439 \u0432\u044B\u0431\u043E\u0440",tooltip_episode_unfinished:"\u041D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043E",tooltip_disabled_when_interactive:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432 \u0443\u0436\u0435 \u0438\u0434\u0451\u0442",tooltip_disabled_when_graph_on:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043A\u0430\u0440\u0442\u044B",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_context_menu_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",hotkey_map_item_show_context_menu_value:"Shift + !",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",aria_label_video_player:"\u0412\u0438\u0434\u0435\u043E \u043F\u043B\u0435\u0435\u0440",aria_label_spherical_control:"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440 \u0434\u043B\u044F \u0441\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0438\u0434\u0435\u043E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438 \u0434\u043B\u044F \u043F\u0430\u043D\u043E\u0440\u0430\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E.",aria_label_debug_panel:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0441 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439, \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0441\u043A\u0440\u0438\u043D\u0448\u043E\u0442 \u0434\u043B\u044F \u0442\u0435\u0445\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438",aria_label_new_tab_alert:"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435.",aria_label_context_menu_open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_context_menu_close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E: {actual}",aria_label_menu_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C: {actual}",aria_label_menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445: {actual}",aria_label_menu_subtitle:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B: {actual}",aria_label_menu_download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",aria_label_menu_debug_overlay_enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_debug_overlay_disable:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432",aria_label_submenu_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A",aria_label_submenu_traffic_saving_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_traffic_saving_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445"},g4={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_save_debug:"Save debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_restart:"Watch again",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_go_back:"Back to previous chapter",tooltip_interactive_go_back_disabled:"Interactive history unavailable",tooltip_interactive_go_back_disabled_first:"You're watching the first chapter",tooltip_interactive_go_back_disabled_limit:"Go-back limit exceeded",tooltip_chapter_without_interactive:"This chapter has no interactive segment",tooltip_interactive_of_chapter_completed:"Chapter's interactive segments already watched",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Interactive video in progress",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_context_menu_description:"Hide or show context menu",hotkey_map_item_show_context_menu_value:"Shift + !",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon",aria_label_video_player:"Video player",aria_label_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_debug_panel:"Technical information area, take a screenshot for technical support",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_context_menu_open:"Open context menu",aria_label_context_menu_close:"Close context menu",aria_label_menu_quality:"Quality: {actual}",aria_label_menu_rate:"Rate: {actual}",aria_label_menu_traffic_saving:"Data saving: {actual}",aria_label_menu_subtitle:"Subtitles: {actual}",aria_label_menu_download:"Download video",aria_label_menu_debug_overlay_enable:"Enable display of technical information",aria_label_menu_debug_overlay_disable:"Disable display of technical information",aria_label_menu_rotate:"Rotate video 90 degrees",aria_label_submenu_back:"Return to settings menu",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode"},On=new Map;On.set(te.InterfaceLanguage.EN,g4);On.set(te.InterfaceLanguage.RU,v4);const Sc=new Map,ws=({language:t,pack:e,fallback:i})=>{if(On.has(t)){const n=On.get(t);On.set(t,Object.assign(Object.assign({},n),e))}else On.set(t,e);Sc.set(t,i)},ys=t=>On.has(t),Pc=(t,e,i,n)=>{var l;const r=On.get(t);let o=r==null?void 0:r[e];if(te.isNullable(o)){const s=(l=Sc.get(t))!==null&&l!==void 0?l:n,a=s?On.get(s):void 0;o=a==null?void 0:a[e]}return te.isNullable(o)?e+Object.values(i!=null?i:{}).join(" "):i?h4(o,/{(\w+?)}/g,(s,a)=>{var c;return(c=i[a])!==null&&c!==void 0?c:""}):o},Y=(t,e)=>{const{interfaceLanguage$:i}=Tt(),n=$e(i),l=yn();return Pc(n,t,e,l.defaultLanguage)};var pl;(function(t){t.fatal="fatal",t.error="error",t.warning="warning",t.log="log",t.info="info",t.debug="debug",t.critical="critical"})(pl||(pl={}));const b4=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,_4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,w4=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ol="?",y4="X-Sentry-Auth",k4=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function C4(t){if(!t.stack)return null;const e=[],i=t.stack.split(`
|
|
13
|
+
`);let n,l;for(let r=0;r<i.length;++r){if(n=b4.exec(i[r]))l={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||ol,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=w4.exec(i[r]))l={filename:n[2],function:n[1]||ol,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=_4.exec(i[r]))r===0&&!n[5]&&t.columnNumber!==void 0&&(e[0].column=t.columnNumber+1),l={filename:n[3],function:n[1]||ol,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!l.function&&l.lineno&&(l.function=ol),e.push(l)}return e.length?{value:Tc(t),type:t.name,stacktrace:{frames:e.reverse()}}:null}function Tc(t){return(t&&t.message||"No error message").split(`
|
|
14
|
+
`).filter(i=>!!i)[0]}function S4(t){try{const e=C4(t);if(e)return e}catch(e){}return{value:Tc(t),type:t&&t.name,stacktrace:{frames:[]}}}function P4(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,t=>{const e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}class T4{constructor(e){if(e&&e.dsn){const i=k4.exec(e.dsn),n=i?i.slice(1):[],l=n[5].split("/"),r=l.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(r?"/"+r:"")+"/api/"+l.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 mo(cn({},this.getRequestBlank()),{exception:{values:[S4(e)]}})}report(e){this.send(this.prepare(e))}send(e){!this.apiUrl||!e||this.createRequest(e)}createRequest(e){const i=new XMLHttpRequest;i.open("POST",this.apiUrl,!0),i.setRequestHeader("Content-type","application/json"),i.setRequestHeader(y4,this.authHeader||""),i.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:P4(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function ks(t,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(t):typeof e=="string"?t.indexOf(e)!==-1:!1}function E4(){return window}class wr extends T4{constructor(e,i=E4()){super(e),this.options=e,this.window=i,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:l=c=>c,beforeBreadcrumb:r=c=>c,blacklistUrls:o=[],ignoreErrors:s=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=l,this.beforeBreadcrumb=r,this.blacklistUrls=o,this.ignoreErrors=s,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",cn({},e)),this}setTag(e,i){return this.extendState({tags:{[e]:i}}),this}setExtra(e,i){return this.extendState({extra:{[e]:i}}),this}setExtras(e){return this.setKeyState("extra",cn({},e)),this}setUser(e){return this.setKeyState("user",cn({},e)),this}clone(){const e=new wr(mo(cn({},this.options),{plugins:[]}));return e.extendState(this.state),e}withScope(e){const i=this.clone();e(i),i.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[cn({timestamp:Date.now()/1e3},this.beforeBreadcrumb(e))]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,i){this.send(mo(cn({},this.getRequestBlank()),{message:e,level:i}))}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(i=>this.ignoreErrors.some(n=>ks(i,n))):!1}getRequestBlank(){return cn(mo(cn({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(cn({release:this.release},e))),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:i="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${i}: ${n}`]}catch(i){return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const i=this.getEventFilterUrl(e);return i?this.blacklistUrls.some(n=>ks(i,n)):!1}getEventFilterUrl(e){try{if(e.exception){const i=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return i&&i[i.length-1].filename||null}return null}catch(i){return null}}extendState(e){this._state=Object.keys(e).reduce((i,n)=>{const l=this._state[n],r=Array.isArray(l)?l:null,o=e[n],s=Array.isArray(o)?o:null;return mo(cn({},i),{[n]:r||s?[...r||[],...s||[]]:cn(cn({},typeof l!="string"?l:{}),typeof o!="string"?o:{})})},this._state)}setKeyState(e,i){this._state[e]=i}}let ll=null;class fr{constructor(e,i,n={}){!ll&&e.dsn&&(this.sentryClient=new wr({dsn:e.dsn,environment:i.env}),this.version=i.version,this.sentrySubscription=new te.Subscription,this.options=e,this.context=n,ll=this)}destroy(){var e,i;(e=this.sentryClient)===null||e===void 0||e.destroy(),(i=this.sentrySubscription)===null||i===void 0||i.unsubscribe(),ll=null}logIError(e,i=!1){e.thrown&&this.report(e.thrown,{fatal:i,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,i={},n={}){const{sentryClient:l,context:r,options:o}=this,{sampleRate:s=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:d}=o,{errorType:h,category:b}=i;if(te.isNonNullable(b)&&d.includes(b)||te.isNonNullable(h)&&f.includes(h))return;if(Math.random()<=s||te.isNonNullable(b)&&c.includes(b)||te.isNonNullable(h)&&a.includes(h)){Object.keys(i).length&&l.setTags(Object.assign({version:this.version},i)),(Object.keys(r).length||Object.keys(n).length)&&l.setExtras(Object.assign(Object.assign({},r),n));try{h&&l.captureMessage(h,i.fatal?pl.fatal:pl.error),l.report(e)}catch(w){console.error(w)}}}static getInstance(){return ll}}var So;(function(t){t.AUTO="auto"})(So||(So={}));var De;(function(t){t.Thumb="thumb",t.Video="video",t.Ads="ads",t.Crashed="crashed",t.WaitingLive="waitingLive",t.WaitingRecord="waitingRecord"})(De||(De={}));var Rn;(function(t){t.Preroll="preroll",t.Midroll="midroll",t.Postroll="postroll"})(Rn||(Rn={}));var ti;(function(t){t.INACTIVE="inactive",t.PLAYING="playing",t.PAUSED="paused"})(ti||(ti={}));var Dn;(function(t){t[t.PictureInPicture=0]="PictureInPicture",t[t.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(Dn||(Dn={}));var Ye;(function(t){t.PLAY="PLAY",t.PAUSE="PAUSE",t.REPLAY="REPLAY",t.BACKWARD_SEEK="BACKWARD_SEEK",t.FORWARD_SEEK="FORWARD_SEEK",t.SUBTITLES_ON="SUBTITLES_ON",t.SUBTITLES_OFF="SUBTITLES_OFF",t.RATE_UP="RATE_UP",t.RATE_DOWN="RATE_DOWN",t.EPISODE_PREV="EPISODE_PREV",t.EPISODE_NEXT="EPISODE_NEXT",t.MUTE="MUTE",t.VOLUME="VOLUME"})(Ye||(Ye={}));var lo;(function(t){t.FULL="FULL",t.COUNT="COUNT",t.SHORT="SHORT"})(lo||(lo={}));const Ec=t=>{if(t.requestFullscreen)return t.requestFullscreen();if(t.msRequestFullscreen)return t.msRequestFullscreen();if(t.webkitRequestFullscreen)return t.webkitRequestFullscreen();if(t.mozRequestFullScreen)return t.mozRequestFullScreen();const e=t.querySelector("video");return e!=null&&e.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Ac=t=>t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():Promise.reject(),A4=t=>{const e=t;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},Do=()=>{const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)},Ic=t=>{document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),document.addEventListener("mozfullscreenchange",t),document.addEventListener("MSFullscreenChange",t)},Lc=t=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",t),document.removeEventListener("mozfullscreenchange",t),document.removeEventListener("MSFullscreenChange",t)},I4=t=>{const e=window.screen;return(l=>ni(void 0,void 0,void 0,function*(){return e.orientation?e.orientation.lock(l):e.mozLockOrientation?e.mozLockOrientation(l):e.msLockOrientation?e.msLockOrientation(l):Promise.reject()}))(((l={width:0,height:0})=>l.width<=l.height?"portrait":"landscape")(t))},L4=()=>({title:Y("hotkey_map_modal_title"),closeBtnText:Y("hotkey_map_modal_close_btn_text"),groups:[{title:Y("hotkey_map_group_title_common"),items:[{description:Y("hotkey_map_item_mute_description"),value:Y("hotkey_map_item_mute_value")},{description:Y("hotkey_map_item_volume_up_description"),value:Y("hotkey_map_item_volume_up_value")},{description:Y("hotkey_map_item_volume_down_description"),value:Y("hotkey_map_item_volume_down_value")},{description:Y("hotkey_map_item_pip_description"),value:Y("hotkey_map_item_pip_value")},{description:Y("hotkey_map_item_full_screen_description"),value:Y("hotkey_map_item_full_screen_value")},{description:Y("hotkey_map_item_show_context_menu_description"),value:Y("hotkey_map_item_show_context_menu_value")},{description:Y("hotkey_map_item_show_hotkey_map_description"),value:Y("hotkey_map_item_show_hotkey_map_value")}]},{title:Y("hotkey_map_group_title_playback"),items:[{description:Y("hotkey_map_item_play_toggle_description"),value:Y("hotkey_map_item_play_toggle_value")},{description:Y("hotkey_map_item_seek_backward_description"),value:Y("hotkey_map_item_seek_backward_value")},{description:Y("hotkey_map_item_seek_forward_description"),value:Y("hotkey_map_item_seek_forward_value")},{description:Y("hotkey_map_item_fast_seek_backward_description"),value:Y("hotkey_map_item_fast_seek_backward_value")},{description:Y("hotkey_map_item_fast_seek_forward_description"),value:Y("hotkey_map_item_fast_seek_forward_value")},{description:Y("hotkey_map_item_rate_down_description"),value:Y("hotkey_map_item_rate_down_value")},{description:Y("hotkey_map_item_rate_up_description"),value:Y("hotkey_map_item_rate_up_value")},{description:Y("hotkey_map_item_prev_frame_description"),value:Y("hotkey_map_item_prev_frame_value")},{description:Y("hotkey_map_item_next_frame_description"),value:Y("hotkey_map_item_next_frame_value")},{description:Y("hotkey_map_item_jump_seek_description"),value:Y("hotkey_map_item_jump_seek_value")}]},{title:Y("hotkey_map_group_title_subtitles"),items:[{description:Y("hotkey_map_item_subtitles_toggle_description"),value:Y("hotkey_map_item_subtitles_toggle_value")}]},{title:Y("hotkey_map_group_title_episodes"),items:[{description:Y("hotkey_map_item_prev_episode_description"),value:te.isMacLike()?Y("hotkey_map_item_prev_episode_mac_value"):Y("hotkey_map_item_prev_episode_pc_value")},{description:Y("hotkey_map_item_next_episode_description"),value:te.isMacLike()?Y("hotkey_map_item_next_episode_mac_value"):Y("hotkey_map_item_next_episode_pc_value")}]}]});class yr{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:te.debounceFn(this.onResize.bind(this),M1)},this.info={isActive$:new te.ValueSubject(this.isActive()),type:Dn.PictureInPicture}}isSupported(){const e=te.getCurrentBrowser().browser===te.CurrentClientBrowser.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}revealPictureInPicture(){return ni(this,void 0,void 0,function*(){this.isRequested&&(this.unregistryEventHandlers(),yield this.request(),this.registryEventHandlers())})}request(){var e;return ni(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(i){this.isRequested=!1}})}remove(){return ni(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,i;(e=this.videoElement)===null||e===void 0||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(i=this.videoElement)===null||i===void 0||i.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers=Object.assign({},e)}unregistryEventHandlers(){var e,i;(e=this.videoElement)===null||e===void 0||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(i=this.videoElement)===null||i===void 0||i.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}dispose(){return ni(this,void 0,void 0,function*(){this.unregistryEventHandlers(),yield this.remove()})}onEnterPictureInPicture(e){var i,n;const r=e.pictureInPictureWindow;r&&(this.info.isActive$.next(!0),this.isRequested=!0,r.addEventListener("resize",this.eventHandlers.resize),(n=(i=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(i,e))}onLeavePictureInPicture(e){var i,n,l;const o=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,o==null||o.removeEventListener("resize",this.eventHandlers.resize),(n=(i=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(i,e),(l=this.playerDummyElement)===null||l===void 0||l.$destroy()}onResize(e){var i,n;(n=(i=this.externalEventHandlers).resize)===null||n===void 0||n.call(i,e)}}function hl(t){return t instanceof yr}function M4(t){const e=Tt();return wn(()=>{e.getAdmanWrapper().startPostroll()}),[]}class V4 extends ye{constructor(e){super(),we(this,e,M4,null,ge,{})}}function B4(t){We(t,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function N4(t){let e=Y("skip_ads_after",{time:Math.ceil(t[1]-t[0]).toFixed(0)})+"",i;return{c(){i=ze(e)},m(n,l){P(n,i,l)},p(n,l){l&3&&e!==(e=Y("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&tt(i,e)},d(n){n&&S(i)}}}function R4(t){let e,i=Y("skip_ads_now")+"",n,l,r,o,s,a;return{c(){e=T("div"),n=ze(i),l=z(),r=N("svg"),o=N("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(r,"class","icon v-22jj8o"),u(r,"width","7"),u(r,"height","12"),u(r,"viewBox","0 0 7 12"),u(r,"fill","none"),u(r,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){P(c,e,f),p(e,n),p(e,l),p(e,r),p(r,o),s||(a=pe(e,"click",at(function(){Ln(t[2])&&t[2].apply(this,arguments)})),s=!0)},p(c,f){t=c},d(c){c&&S(e),s=!1,a()}}}function O4(t){let e;function i(r,o){return r[3]?R4:N4}let n=i(t),l=n(t);return{c(){e=T("div"),l.c(),u(e,"class","container v-22jj8o"),V(e,"container-mobile",t[4]),V(e,"skippable",t[3])},m(r,o){P(r,e,o),l.m(e,null)},p(r,[o]){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e,null))),o&16&&V(e,"container-mobile",r[4]),o&8&&V(e,"skippable",r[3])},i:G,o:G,d(r){r&&S(e),l.d()}}}function D4(t,e,i){let n,{position:l=0}=e,{secondsToWatchBeforeSkip:r=0}=e,{skipAd:o=te.noop}=e;const a=Tt().ui.isMobile;D(t,a,f=>i(4,n=f));let c;return t.$$set=f=>{"position"in f&&i(0,l=f.position),"secondsToWatchBeforeSkip"in f&&i(1,r=f.secondsToWatchBeforeSkip),"skipAd"in f&&i(2,o=f.skipAd)},t.$$.update=()=>{t.$$.dirty&3&&i(3,c=l>0&&l>=r)},[l,r,o,c,n,a]}class z4 extends ye{constructor(e){super(),we(this,e,D4,O4,ge,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},B4)}}function F4(t){We(t,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function H4(t){let e;return{c(){e=T("button"),e.textContent=`${Y("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(i,n){P(i,e,n)},p:G,i:G,o:G,d(i){i&&S(e)}}}class U4 extends ye{constructor(e){super(),we(this,e,null,H4,ge,{},F4)}}function q4(t){We(t,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
|
|
15
15
|
360deg,
|
|
16
16
|
rgba(0, 0, 0, 0) 0%,
|
|
17
17
|
rgba(0, 0, 0, 0.05) 12%,
|
|
@@ -21,15 +21,15 @@
|
|
|
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 ws(i){let e;return{c(){e=A("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function ys(i){let e,t;return e=new I4({props:{position:i[5],secondsToWatchBeforeSkip:i[6],skipAd:i[8].actions.internal.skipAd}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&32&&(r.position=n[5]),o&64&&(r.secondsToWatchBeforeSkip=n[6]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function ks(i){let e,t;return e=new C4({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ss(i){let e,t;return e=new B4({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function R4(i){let e,t,n,o,r,l,s,a=i[0]&&ws(),c=i[3]&&ys(i),f=i[7]&&ks(),m=i[4]&&Ss();return{c(){e=A("div"),a&&a.c(),t=R(),n=A("video"),o=R(),c&&c.c(),r=R(),f&&f.c(),l=R(),m&&m.c(),Ut(n,"width","100%"),Ut(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,b){E(h,e,b),a&&a.m(e,null),p(e,t),p(e,n),i[19](n),p(e,o),c&&c.m(e,null),p(e,r),f&&f.m(e,null),p(e,l),m&&m.m(e,null),i[20](e),s=!0},p(h,[b]){h[0]?a||(a=ws(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,b),b&8&&d(c,1)):(c=ys(h),c.c(),d(c,1),c.m(e,r)):c&&(pe(),g(c,1,1,()=>{c=null}),he()),h[7]?f?b&128&&d(f,1):(f=ks(),f.c(),d(f,1),f.m(e,l)):f&&(pe(),g(f,1,1,()=>{f=null}),he()),h[4]?m?b&16&&d(m,1):(m=Ss(),m.c(),d(m,1),m.m(e,null)):m&&(pe(),g(m,1,1,()=>{m=null}),he())},i(h){s||(d(c),d(f),d(m),s=!0)},o(h){g(c),g(f),g(m),s=!1},d(h){h&&P(e),a&&a.d(),i[19](null),c&&c.d(),f&&f.d(),m&&m.d(),i[20](null)}}}function O4(i,e,t){let n,o,r,l,s,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:m=0}=e;const h=Et(),b=h.state.isEnded$;z(i,b,N=>t(7,s=N));const v=h.ui.isMobile;z(i,v,N=>t(0,o=N));let w,_,S=!1;const y=h.ads.playbackState;z(i,y,N=>t(18,n=N));const k=h.ads.canSkip,V=h.ads.position;z(i,V,N=>t(5,r=N));const G=h.ads.secondsToWatchBeforeSkip;z(i,G,N=>t(6,l=N));let I,Q;vn(()=>{const N=new AbortController;let $=()=>{N.abort()};const C=h.getAdmanWrapper();if(!a){C.onAdmanLoadingError();return}const{width:D,height:ce}=Je(h.ui.playerSize),T=Je(h.ui.isFullscreen),re=Je(h.ui.isAutoplay),O={width:D,height:ce,isFullscreen:T,isAutoplay:re,adsContainer:w,adsVideoElement:_,slotId:a,params:c,previewParam:f,duration:m};return window.AdmanHTML?(C.initAdman(O),S=!0):C.loadAdman(N.signal).then(()=>{C.initAdman(O),S=!0}).catch(()=>{C.onAdmanLoadingError()}),()=>{!S&&$()}});function se(N){ye[N?"unshift":"push"](()=>{_=N,t(2,_)})}function te(N){ye[N?"unshift":"push"](()=>{w=N,t(1,w)})}return i.$$set=N=>{"adsSlotId"in N&&t(14,a=N.adsSlotId),"adsParams"in N&&t(15,c=N.adsParams),"adsPreviewParam"in N&&t(16,f=N.adsPreviewParam),"duration"in N&&t(17,m=N.duration)},i.$$.update=()=>{i.$$.dirty&262144&&t(3,I=k&&n!==ti.INACTIVE),i.$$.dirty&262145&&t(4,Q=o&&n!==ti.INACTIVE)},[o,w,_,I,Q,r,l,s,h,b,v,y,V,G,a,c,f,m,n,se,te]}class Ec extends we{constructor(e){super(),_e(this,e,O4,R4,be,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},N4)}}const Vn=i=>{if(!isFinite(i))return"00:00";let e=Math.round(i);const t=Math.floor(e/(60*60));e-=t*(60*60);const n=Math.floor(e/60);return e-=n*60,(t>0?[t,n,e]:[n,e]).map(r=>r>9?String(r):`0${r}`).join(":")};function D4(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(t,"fill","none"),u(t,"stroke","#fff"),u(t,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(o,r){E(o,e,r),p(e,t),p(e,n)},d(o){o&&P(e)}}}function z4(i){let e,t,n;return{c(){e=B("svg"),t=B("rect"),n=B("path"),u(t,"width","42"),u(t,"height","20"),u(t,"rx","5"),u(t,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(o,r){E(o,e,r),p(e,t),p(e,n)},d(o){o&&P(e)}}}function F4(i){let e;function t(r,l){return r[0]?z4:D4}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,[l]){n!==(n=t(r))&&(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:K,o:K,d(r){r&&P(e),o.d(r)}}}function H4(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class Ac extends we{constructor(e){super(),_e(this,e,H4,F4,be,{isActive:0})}}function U4(i){je(i,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function j4(i){let e=Vn(i[4]-i[3])+"",t;return{c(){t=Oe(e)},m(n,o){E(n,t,o)},p(n,o){o&24&&e!==(e=Vn(n[4]-n[3])+"")&&$e(t,e)},i:K,o:K,d(n){n&&P(t)}}}function q4(i){let e,t,n;return t=new Ac({props:{isActive:!0}}),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,r){E(o,e,r),U(t,e,null),n=!0},p:K,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),j(t)}}}function W4(i){let e,t,n,o,r,l,s;const a=[q4,j4],c=[];function f(m,h){return m[1]?0:1}return r=f(i),l=c[r]=a[r](i),{c(){e=A("div"),t=A("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=R(),o=A("span"),l.c(),u(t,"class","thumb-timer-equalizer v-7pnl2h"),u(o,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),M(e,"live",i[1]),M(e,"hidden",i[0]),M(e,"playing",i[2])},m(m,h){E(m,e,h),p(e,t),p(e,n),p(e,o),c[r].m(o,null),s=!0},p(m,[h]){let b=r;r=f(m),r===b?c[r].p(m,h):(pe(),g(c[b],1,1,()=>{c[b]=null}),he(),l=c[r],l?l.p(m,h):(l=c[r]=a[r](m),l.c()),d(l,1),l.m(o,null)),(!s||h&2)&&M(e,"live",m[1]),(!s||h&1)&&M(e,"hidden",m[0]),(!s||h&4)&&M(e,"playing",m[2])},i(m){s||(d(l),s=!0)},o(m){g(l),s=!1},d(m){m&&P(e),c[r].d()}}}function Z4(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:r=!1}=e,{position:l}=e,{duration:s}=e;return i.$$set=a=>{"isHidden"in a&&t(0,n=a.isHidden),"isLive"in a&&t(1,o=a.isLive),"isPlaying"in a&&t(2,r=a.isPlaying),"position"in a&&t(3,l=a.position),"duration"in a&&t(4,s=a.duration)},[n,o,r,l,s]}class Lc extends we{constructor(e){super(),_e(this,e,Z4,W4,be,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},U4)}}const cr=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)}}},Xn=i=>{i.stopPropagation(),i.preventDefault()},K4=i=>{var e;let t=i.previousElementSibling;t||(t=(e=i.parentNode)===null||e===void 0?void 0:e.lastElementChild),t==null||t.focus()},G4=i=>{var e;let t=i.nextElementSibling;t||(t=(e=i.parentNode)===null||e===void 0?void 0:e.firstElementChild),t==null||t.focus()},Y4=i=>{const e=i.code;return e===Ce.Tab&&!i.shiftKey||e===Ce.ArrowDown},Q4=i=>{const e=i.code;return e===Ce.Tab||e===Ce.ArrowUp},Ic=i=>i.code===Ce.Escape,X4=i=>i.code===Ce.ArrowLeft,Vc=(i,e=!0)=>{const t=i.code;return[Ce.Enter,Ce.Space].includes(t)||!e&&t===Ce.ArrowRight},Mc=i=>{if(Y4(i)){Xn(i),G4(i.target);return}Q4(i)&&(Xn(i),K4(i.target))},yr=i=>(i==null?void 0:i.detail)===0,kr=(i,e,t)=>ai(void 0,void 0,void 0,function*(){yield zo(),i&&!i.classList.contains("opened")&&!e&&Je(t)&&(t.set(!1),i.focus())}),Sr=(i,e,t)=>ai(void 0,void 0,void 0,function*(){yield zo(),!!i&&e&&t&&i.firstChild.focus()}),al=(i,e,t)=>ai(void 0,void 0,void 0,function*(){!!i&&t&&(e.set(!1),setTimeout(()=>{i.focus()},S0))}),Bc=(i,e)=>{Mc(i),Ic(i)&&(Xn(i),e())},ul=(i,e,t)=>ai(void 0,void 0,void 0,function*(){if(Vc(i,!1)){Xn(i),e(),yield zo();const n=t();n==null||n.focus()}}),cl=(i,e,t,n)=>ai(void 0,void 0,void 0,function*(){if(Mc(i),X4(i)){Xn(i),e(),t.set(!0);return}Ic(i)&&(Xn(i),n())}),on=(i,e)=>{Vc(i)&&(Xn(i),e())};function J4(i){je(i,"v-gew86s","ul.v-gew86s{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-gew86s{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-gew86s:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function Cs(i){var V;let e,t,n,o,r,l,s=(i[9].features.saveDebugInfoToFile?Y("menu_save_debug"):Y("menu_copy_debug"))+"",a,c,f,m=Y("menu_debug_overlay")+"",h,b,v,w,_=i[9].features.copyVideoLink&&((V=i[8].callbacks)==null?void 0:V.onCopyVideoLink)&&x4(i),S=i[11]&&i[5]!==xe.ChromecastState.CONNECTED&&!i[16]&&Ts(i),y=i[9].features.videoRotate&&!i[16]&&$4(i),k=i[9].showSupport&&!i[6]&&Es(i);return{c(){e=A("ul"),_&&_.c(),t=R(),S&&S.c(),n=R(),y&&y.c(),o=R(),k&&k.c(),r=R(),l=A("li"),a=Oe(s),c=R(),f=A("li"),h=Oe(m),u(l,"tabindex","0"),u(l,"role","menuitem"),u(l,"aria-label",i[9].features.saveDebugInfoToFile?Y("menu_save_debug"):Y("menu_copy_debug")),u(l,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",b=i[7]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),Ut(e,"top",i[3]+"px"),Ut(e,"left",i[2]+"px"),u(e,"class","v-gew86s")},m(G,I){E(G,e,I),_&&_.m(e,null),p(e,t),S&&S.m(e,null),p(e,n),y&&y.m(e,null),p(e,o),k&&k.m(e,null),p(e,r),p(e,l),p(l,a),p(e,c),p(e,f),p(f,h),i[40](e),v||(w=[ge(l,"click",rt(i[19])),ge(l,"keydown",i[29]),ge(f,"click",rt(i[20])),ge(f,"keydown",i[30]),ge(e,"contextmenu",ii(i[37])),ge(e,"keydown",i[23])],v=!0)},p(G,I){var Q;G[9].features.copyVideoLink&&((Q=G[8].callbacks)!=null&&Q.onCopyVideoLink)&&_.p(G,I),G[11]&&G[5]!==xe.ChromecastState.CONNECTED&&!G[16]?S?S.p(G,I):(S=Ts(G),S.c(),S.m(e,n)):S&&(S.d(1),S=null),G[9].features.videoRotate&&!G[16]&&y.p(G,I),G[9].showSupport&&!G[6]?k?k.p(G,I):(k=Es(G),k.c(),k.m(e,r)):k&&(k.d(1),k=null),I[0]&128&&b!==(b=G[7]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",b),I[0]&8&&Ut(e,"top",G[3]+"px"),I[0]&4&&Ut(e,"left",G[2]+"px")},d(G){G&&P(e),_&&_.d(),S&&S.d(),y&&y.d(),k&&k.d(),i[40](null),v=!1,nt(w)}}}function x4(i){let e,t=Y("menu_copy_video_link")+"",n,o,r,l,s,a=!i[4]&&!i[16]&&Ps(i);return{c(){e=A("li"),n=Oe(t),o=R(),a&&a.c(),r=gt(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){E(c,e,f),p(e,n),E(c,o,f),a&&a.m(c,f),E(c,r,f),l||(s=[ge(e,"click",rt(i[38])),ge(e,"keydown",i[24])],l=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=Ps(c),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(c){c&&(P(e),P(o),P(r)),a&&a.d(c),l=!1,nt(s)}}}function Ps(i){let e,t=Y("menu_copy_video_link_with_timestamp")+"",n,o,r;return{c(){e=A("li"),n=Oe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(l,s){E(l,e,s),p(e,n),o||(r=[ge(e,"click",rt(i[39])),ge(e,"keydown",i[25])],o=!0)},p:K,d(l){l&&P(e),o=!1,nt(r)}}}function Ts(i){let e,t=Y("menu_pip")+"",n,o,r;return{c(){e=A("li"),n=Oe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("menu_pip")),u(e,"class","v-gew86s")},m(l,s){E(l,e,s),p(e,n),o||(r=[ge(e,"click",rt(i[21])),ge(e,"keydown",i[26])],o=!0)},p:K,d(l){l&&P(e),o=!1,nt(r)}}}function $4(i){let e,t=Y("menu_video_rotate")+"",n,o,r;return{c(){e=A("li"),n=Oe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(l,s){E(l,e,s),p(e,n),o||(r=[ge(e,"click",rt(i[17])),ge(e,"keydown",i[27])],o=!0)},p:K,d(l){l&&P(e),o=!1,nt(r)}}}function Es(i){let e,t=Y("menu_report")+"",n,o,r;return{c(){e=A("li"),n=Oe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${Y("menu_report")}. ${Y("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(l,s){E(l,e,s),p(e,n),o||(r=[ge(e,"click",rt(i[18])),ge(e,"keydown",i[28])],o=!0)},p:K,d(l){l&&P(e),o=!1,nt(r)}}}function e3(i){let e,t=i[1]&&Cs(i);return{c(){t&&t.c(),e=gt()},m(n,o){t&&t.m(n,o),E(n,e,o)},p(n,o){n[1]?t?t.p(n,o):(t=Cs(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:K,o:K,d(n){n&&P(e),t&&t.d(n)}}}function t3(i,e,t){var Se;let n,o,r,l,s,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:m=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:b=void 0}=e,{menuElementRef:v=void 0}=e,{returnFocus:w}=e,_=0,S=0;const y=Et(),k=gn(),V=y.ui.contextMenuVisible,G=y.ui.debugPanelVisible;z(i,G,ue=>t(7,s=ue));const I=y.webApi.pictureInPictureApi,Q=(Se=y.webApi.pictureInPictureApi)==null?void 0:Se.info.isActive$;z(i,Q,ue=>t(6,l=ue));const se=y.state.chromecastState$;z(i,se,ue=>t(5,r=ue));const te=y.state.isLive$;z(i,te,ue=>t(4,o=ue));const N=y.state.positionExact$;z(i,N,ue=>t(41,n=ue));const $=y.state.isInteractive,C=()=>{V.set(!1)},D=(ue,J)=>{if(!v||!h||!b)return;const H=v.getBoundingClientRect(),Ae=h.getBoundingClientRect();t(2,_=ue-Ae.left),t(3,S=J-Ae.top),_+H.width>Ae.width&&t(2,_=Ae.width-H.width),S+H.height>Ae.height&&t(3,S=Ae.height-H.height),t(2,_=Math.max(_,0)),t(3,S=Math.max(S,0))},ce=()=>{C(),y.actions.internal.videoRotate()},T=()=>{window.open(c,"_blank"),C(),y.actions.internal.pause()},re=()=>{const ue=y.actions.internal.getDebugTextData();if(k.features.saveDebugInfoToFile){const J=new Blob([...ue],{type:"plain/text"}),H=window.URL.createObjectURL(J);V1(H,"vk_player_debug_info","txt")}else cr(y.actions.internal.getDebugTextData());C(),w==null||w()},O=()=>{G.set(!0),C(),w==null||w()},le=()=>Ji(this,null,function*(){try{I!=null&&I.isActive()?yield I==null?void 0:I.remove():yield I==null?void 0:I.request()}finally{C(),w==null||w()}}),me=(ue=!1)=>{var J,H;if((J=y.callbacks)!=null&&J.onCopyVideoLink){const Ae=(H=y.callbacks)==null?void 0:H.onCopyVideoLink(ue,n);Ae&&cr(Ae)}C()},ze=ue=>{Bc(ue,C)},He=ue=>{on(ue,()=>me())},Ee=ue=>{on(ue,()=>me(!0))},de=ue=>{on(ue,()=>le())},ke=ue=>{on(ue,()=>ce())},X=ue=>{on(ue,()=>T())},F=ue=>{on(ue,()=>re())},Te=ue=>{on(ue,()=>O())};function ae(ue){Co.call(this,i,ue)}const Pe=()=>me(),Ve=()=>me(!0);function Re(ue){ye[ue?"unshift":"push"](()=>{v=ue,t(0,v)})}return i.$$set=ue=>{"visible"in ue&&t(1,a=ue.visible),"supportLink"in ue&&t(31,c=ue.supportLink),"x"in ue&&t(32,f=ue.x),"y"in ue&&t(33,m=ue.y),"playerContainerRef"in ue&&t(34,h=ue.playerContainerRef),"controlsContainerRef"in ue&&t(35,b=ue.controlsContainerRef),"menuElementRef"in ue&&t(0,v=ue.menuElementRef),"returnFocus"in ue&&t(36,w=ue.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&1|i.$$.dirty[1]&30&&v&&h&&b&&D(f,m)},[v,a,_,S,o,r,l,s,y,k,G,I,Q,se,te,N,$,ce,T,re,O,le,me,ze,He,Ee,de,ke,X,F,Te,c,f,m,h,b,w,ae,Pe,Ve,Re]}class i3 extends we{constructor(e){super(),_e(this,e,t3,e3,be,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},J4,[-1,-1])}}class n3{constructor(e){this.value=e,this.next=null}}class Yl{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new n3(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 o3(i){je(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function l3(i){let e,t;return{c(){e=A("div"),t=A("canvas"),u(t,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,o){E(n,e,o),p(e,t),i[3](t)},p:K,i:K,o:K,d(n){n&&P(e),i[3](null)}}}const Ql=16,Xl=120,As=60;function r3(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function s3(i,e,t){let{values:n=[]}=e,o,r;const l=Xl/As;vn(()=>{t(0,o.width=Xl,o),t(0,o.height=Ql,o),t(2,r=o.getContext("2d"))});function s(a){ye[a?"unshift":"push"](()=>{o=a,t(0,o)})}return i.$$set=a=>{"values"in a&&t(1,n=a.values)},i.$$.update=()=>{if(i.$$.dirty&6&&r){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);r.clearRect(0,0,Xl,Ql);let c=As-1;for(let f=n.length-1;f>=0;f--){const m=c*l,h=a>0?Ql*(n[f]/a):0;r3(r,m,0,l,h),c--}}},[o,n,r,s]}class Cr extends we{constructor(e){super(),_e(this,e,s3,l3,be,{values:1},o3)}}function a3(i){je(i,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function Ls(i){let e,t,n,o,r=i[0].id+"",l;return{c(){e=A("div"),t=A("div"),t.textContent="Video id",n=R(),o=A("span"),l=Oe(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].id+"")&&$e(l,r)},d(s){s&&P(e)}}}function Is(i){let e,t,n,o,r=i[0].provider+"",l;return{c(){e=A("div"),t=A("div"),t.textContent="Provider",n=R(),o=A("span"),l=Oe(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].provider+"")&&$e(l,r)},d(s){s&&P(e)}}}function Vs(i){let e,t,n,o,r=i[0].viewport+"",l;return{c(){e=A("div"),t=A("div"),t.textContent="Viewport",n=R(),o=A("span"),l=Oe(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].viewport+"")&&$e(l,r)},d(s){s&&P(e)}}}function Ms(i){let e,t,n,o,r=i[0].videoSize+"",l;return{c(){e=A("div"),t=A("div"),t.textContent="Video size",n=R(),o=A("span"),l=Oe(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].videoSize+"")&&$e(l,r)},d(s){s&&P(e)}}}function Bs(i){let e,t,n,o,r=i[0].cdn+"",l;return{c(){e=A("div"),t=A("div"),t.textContent="CDN host",n=R(),o=A("span"),l=Oe(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].cdn+"")&&$e(l,r)},d(s){s&&P(e)}}}function Ns(i){let e,t,n,o,r=i[0].volume+"",l,s;return{c(){e=A("div"),t=A("div"),t.textContent="Volume",n=R(),o=A("span"),l=Oe(r),s=Oe(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){E(a,e,c),p(e,t),p(e,n),p(e,o),p(o,l),p(o,s)},p(a,c){c&1&&r!==(r=a[0].volume+"")&&$e(l,r)},d(a){a&&P(e)}}}function Rs(i){let e,t,n,o,r=i[0].buffer.toFixed(2)+"",l,s;return{c(){e=A("div"),t=A("div"),t.textContent="Buffer",n=R(),o=A("span"),l=Oe(r),s=Oe(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){E(a,e,c),p(e,t),p(e,n),p(e,o),p(o,l),p(o,s)},p(a,c){c&1&&r!==(r=a[0].buffer.toFixed(2)+"")&&$e(l,r)},d(a){a&&P(e)}}}function Os(i){let e,t,n,o,r,l,s=i[0].speed.toFixed(2)+"",a,c,f;return o=new Cr({props:{values:i[5]}}),{c(){e=A("div"),t=A("div"),t.textContent="Network",n=R(),W(o.$$.fragment),r=R(),l=A("span"),a=Oe(s),c=Oe(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){E(m,e,h),p(e,t),p(e,n),U(o,e,null),p(e,r),p(e,l),p(l,a),p(l,c),f=!0},p(m,h){const b={};h&32&&(b.values=m[5]),o.$set(b),(!f||h&1)&&s!==(s=m[0].speed.toFixed(2)+"")&&$e(a,s)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){g(o.$$.fragment,m),f=!1},d(m){m&&P(e),j(o)}}}function Ds(i){let e,t,n,o,r,l,s=i[0].bitrate.toFixed(2)+"",a,c,f;return o=new Cr({props:{values:i[6]}}),{c(){e=A("div"),t=A("div"),t.textContent="V bitrate",n=R(),W(o.$$.fragment),r=R(),l=A("span"),a=Oe(s),c=Oe(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){E(m,e,h),p(e,t),p(e,n),U(o,e,null),p(e,r),p(e,l),p(l,a),p(l,c),f=!0},p(m,h){const b={};h&64&&(b.values=m[6]),o.$set(b),(!f||h&1)&&s!==(s=m[0].bitrate.toFixed(2)+"")&&$e(a,s)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){g(o.$$.fragment,m),f=!1},d(m){m&&P(e),j(o)}}}function u3(i){let e,t,n,o,r,l,s,a,c=i[0].version+"",f,m,h,b,v,w,_,S,y,k,V,G,I,Q,se,te,N,$,C,D,ce,T,re,O,le,me,ze,He,Ee,de,ke=i[0].id&&Ls(i),X=i[0].provider&&Is(i),F=i[0].viewport&&Vs(i),Te=i[0].videoSize&&Ms(i),ae=i[0].cdn&&Bs(i),Pe=i[0].volume&&Ns(i),Ve=i[0].buffer&&Rs(i),Re=i[0].speed&&Os(i),Se=i[0].bitrate&&Ds(i);return O=new Cr({props:{values:i[4]}}),{c(){e=A("div"),t=A("button"),t.textContent="[x]",n=R(),o=A("div"),r=A("div"),l=A("div"),l.textContent="Version",s=R(),a=A("span"),f=Oe(c),m=R(),ke&&ke.c(),h=R(),X&&X.c(),b=R(),F&&F.c(),v=R(),Te&&Te.c(),w=R(),ae&&ae.c(),_=R(),Pe&&Pe.c(),S=R(),Ve&&Ve.c(),y=R(),k=A("div"),V=A("div"),V.textContent="Dropped",G=R(),I=A("span"),Q=Oe(i[2]),se=Oe(" / "),te=Oe(i[1]),N=Oe(" frames"),$=R(),Re&&Re.c(),C=R(),Se&&Se.c(),D=R(),ce=A("div"),T=A("div"),T.textContent="FPS",re=R(),W(O.$$.fragment),le=R(),me=A("span"),ze=Oe(i[3]),u(t,"class","close v-1gy2e68"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(l,"class","v-1gy2e68"),u(r,"class","v-1gy2e68"),u(V,"class","v-1gy2e68"),u(k,"class","v-1gy2e68"),u(T,"class","v-1gy2e68"),u(ce,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),u(e,"role","region"),u(e,"aria-label",Y("aria_label_debug_panel")),M(e,"container-mobile",i[7])},m(ue,J){E(ue,e,J),p(e,t),p(e,n),p(e,o),p(o,r),p(r,l),p(r,s),p(r,a),p(a,f),p(o,m),ke&&ke.m(o,null),p(o,h),X&&X.m(o,null),p(o,b),F&&F.m(o,null),p(o,v),Te&&Te.m(o,null),p(o,w),ae&&ae.m(o,null),p(o,_),Pe&&Pe.m(o,null),p(o,S),Ve&&Ve.m(o,null),p(o,y),p(o,k),p(k,V),p(k,G),p(k,I),p(I,Q),p(I,se),p(I,te),p(I,N),p(o,$),Re&&Re.m(o,null),p(o,C),Se&&Se.m(o,null),p(o,D),p(o,ce),p(ce,T),p(ce,re),U(O,ce,null),p(ce,le),p(ce,me),p(me,ze),He=!0,Ee||(de=ge(t,"click",rt(i[9])),Ee=!0)},p(ue,[J]){(!He||J&1)&&c!==(c=ue[0].version+"")&&$e(f,c),ue[0].id?ke?ke.p(ue,J):(ke=Ls(ue),ke.c(),ke.m(o,h)):ke&&(ke.d(1),ke=null),ue[0].provider?X?X.p(ue,J):(X=Is(ue),X.c(),X.m(o,b)):X&&(X.d(1),X=null),ue[0].viewport?F?F.p(ue,J):(F=Vs(ue),F.c(),F.m(o,v)):F&&(F.d(1),F=null),ue[0].videoSize?Te?Te.p(ue,J):(Te=Ms(ue),Te.c(),Te.m(o,w)):Te&&(Te.d(1),Te=null),ue[0].cdn?ae?ae.p(ue,J):(ae=Bs(ue),ae.c(),ae.m(o,_)):ae&&(ae.d(1),ae=null),ue[0].volume?Pe?Pe.p(ue,J):(Pe=Ns(ue),Pe.c(),Pe.m(o,S)):Pe&&(Pe.d(1),Pe=null),ue[0].buffer?Ve?Ve.p(ue,J):(Ve=Rs(ue),Ve.c(),Ve.m(o,y)):Ve&&(Ve.d(1),Ve=null),(!He||J&4)&&$e(Q,ue[2]),(!He||J&2)&&$e(te,ue[1]),ue[0].speed?Re?(Re.p(ue,J),J&1&&d(Re,1)):(Re=Os(ue),Re.c(),d(Re,1),Re.m(o,C)):Re&&(pe(),g(Re,1,1,()=>{Re=null}),he()),ue[0].bitrate?Se?(Se.p(ue,J),J&1&&d(Se,1)):(Se=Ds(ue),Se.c(),d(Se,1),Se.m(o,D)):Se&&(pe(),g(Se,1,1,()=>{Se=null}),he());const H={};J&16&&(H.values=ue[4]),O.$set(H),(!He||J&8)&&$e(ze,ue[3]),(!He||J&128)&&M(e,"container-mobile",ue[7])},i(ue){He||(d(Re),d(Se),d(O.$$.fragment,ue),He=!0)},o(ue){g(Re),g(Se),g(O.$$.fragment,ue),He=!1},d(ue){ue&&P(e),ke&&ke.d(),X&&X.d(),F&&F.d(),Te&&Te.d(),ae&&ae.d(),Pe&&Pe.d(),Ve&&Ve.d(),Re&&Re.d(),Se&&Se.d(),j(O),Ee=!1,de()}}}function c3(i,e,t){let n;const o=Et(),r=o.ui.debugPanelVisible,l=o.ui.isMobile;z(i,l,k=>t(7,n=k));const s=()=>{oe.safeStorage.remove(lr),r.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,m=0,h=0;const b=new Yl(60),v=new Yl(60),w=new Yl(60);let _=[],S=[],y=[];return vn(()=>{oe.safeStorage.set(lr,"true"),o.actions.internal.startLogging(),c&&(t(2,m=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const k=window.setInterval(()=>{t(0,a=o.actions.internal.getDebugPanelData())},500);let V;return c&&(V=window.setInterval(()=>{if(c){t(2,m=c.getVideoPlaybackQuality().droppedVideoFrames);const G=c.getVideoPlaybackQuality().totalVideoFrames;t(3,h=G-f),t(1,f=G),b.push(h),a.speed&&v.push(a.speed),a.bitrate&&w.push(a.bitrate),t(4,_=b.getValuesFromBottom()),t(5,S=v.getValuesFromBottom()),t(6,y=w.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(k),V&&clearInterval(V)}}),[a,f,m,h,_,S,y,n,l,s]}class Nc extends we{constructor(e){super(),_e(this,e,c3,u3,be,{},a3)}}function f3(i){je(i,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function d3(i){let e,t,n;return{c(){e=A("div"),u(e,"class","close v-1ome55p")},m(o,r){E(o,e,r),t||(n=ge(e,"click",rt(i[0])),t=!0)},p:K,i:K,o:K,d(o){o&&P(e),t=!1,n()}}}function m3(i){function e(t){Co.call(this,i,t)}return[e]}class p3 extends we{constructor(e){super(),_e(this,e,m3,d3,be,{},f3)}}function h3(i){je(i,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
|
|
25
|
-
}.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function v3(i){let e,t,n,o,r,l,s;return{c(){e=A("div"),t=A("canvas"),n=R(),o=B("svg"),r=B("g"),l=B("g"),s=B("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(s,"class","_play"),u(s,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(s,"fill","#fff"),u(l,"fill-rule","nonzero"),u(r,"fill","none"),u(r,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){E(a,e,c),p(e,t),i[2](t),p(e,n),p(e,o),p(o,r),p(r,l),p(l,s)},p:K,i:K,o:K,d(a){a&&P(e),i[2](null)}}}const g3=5e3;function b3(i,e,t){let{onTimerEnded:n=oe.noop}=e,o;vn(()=>{let l;const s=o.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/g3;f<1?(s.clearRect(0,0,100,100),s.beginPath(),s.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),s.stroke(),l=requestAnimationFrame(c)):n()};return l=requestAnimationFrame(c),()=>{cancelAnimationFrame(l)}});function r(l){ye[l?"unshift":"push"](()=>{o=l,t(0,o)})}return i.$$set=l=>{"onTimerEnded"in l&&t(1,n=l.onTimerEnded)},[o,n,r]}class _3 extends we{constructor(e){super(),_e(this,e,b3,v3,be,{onTimerEnded:1},h3)}}function w3(i){je(i,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function zs(i){let e,t;return e=new _3({props:{onTimerEnded:i[2]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&4&&(r.onTimerEnded=n[2]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function y3(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,w,_,S,y,k,V,G;s=new p3({}),s.$on("click",i[4]);let I=i[3]&&zs(i);return{c(){e=A("div"),t=R(),n=A("div"),o=A("div"),r=A("div"),r.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",l=R(),W(s.$$.fragment),a=R(),c=A("div"),f=A("div"),m=A("div"),h=A("div"),b=R(),I&&I.c(),w=R(),_=A("div"),S=A("div"),y=Oe(i[0]),u(e,"class","overlay v-kisfwc"),u(r,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(m,"class","thumb v-kisfwc"),u(m,"style",v=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(S,"class","title v-kisfwc"),u(_,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(Q,se){E(Q,e,se),E(Q,t,se),E(Q,n,se),p(n,o),p(o,r),p(o,l),U(s,o,null),p(n,a),p(n,c),p(c,f),p(f,m),p(m,h),p(m,b),I&&I.m(m,null),p(c,w),p(c,_),p(_,S),p(S,y),k=!0,V||(G=ge(c,"click",function(){Sn(i[2])&&i[2].apply(this,arguments)}),V=!0)},p(Q,[se]){i=Q,i[3]?I?(I.p(i,se),se&8&&d(I,1)):(I=zs(i),I.c(),d(I,1),I.m(m,null)):I&&(pe(),g(I,1,1,()=>{I=null}),he()),(!k||se&2&&v!==(v=`background-image: url('${i[1]}')`))&&u(m,"style",v),(!k||se&1)&&$e(y,i[0])},i(Q){k||(d(s.$$.fragment,Q),d(I),k=!0)},o(Q){g(s.$$.fragment,Q),g(I),k=!1},d(Q){Q&&(P(e),P(t),P(n)),j(s),I&&I.d(),V=!1,G()}}}function k3(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:r}=e,l=!0;const s=()=>t(3,l=!1);return i.$$set=a=>{"title"in a&&t(0,n=a.title),"thumb"in a&&t(1,o=a.thumb),"playNextVideo"in a&&t(2,r=a.playNextVideo)},[n,o,r,l,s]}class S3 extends we{constructor(e){super(),_e(this,e,k3,y3,be,{title:0,thumb:1,playNextVideo:2},w3)}}const Rc=(i,e)=>Math.min(+(i+e).toFixed(2),1),Oc=(i,e)=>Math.max(+(i-e).toFixed(2),0),Dc=(i,e,t)=>{const n=Rc(e,t);e<1&&i.actions.internal.setVolume(n)},zc=(i,e,t)=>{const n=Oc(e,t);e>0&&i.actions.internal.setVolume(n)};function C3(i){je(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function P3(i){let e,t,n,o;const r=i[22].default,l=Mn(r,i,i[21],null);return{c(){e=A("div"),l&&l.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","-1"),u(e,"role","region"),u(e,"aria-label",Y("aria_label_video_player"))},m(s,a){E(s,e,a),l&&l.m(e,null),i[23](e),t=!0,n||(o=[ge(e,"keyup",i[13]),ge(e,"keydown",i[12])],n=!0)},p(s,a){l&&l.p&&(!t||a[0]&2097152)&&Nn(l,r,s,s[21],t?Bn(r,s[21],a,null):Rn(s[21]),null)},i(s){t||(d(l,s),t=!0)},o(s){g(l,s),t=!1},d(s){s&&P(e),l&&l.d(s),i[23](null),n=!1,nt(o)}}}function T3(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,{$$slots:v={},$$scope:w}=e,{isAds:_}=e,{hideContextMenu:S}=e,{toggleFullscreen:y}=e,{showHotKeyHelpers:k}=e,{showKeyMap:V}=e,{fakePlayButtonHandler:G}=e;const I=Et(),Q=gn(),se=I.getLogger().createComponentLog("KeyboardControls component"),te=I.state.playbackState$;z(i,te,ae=>t(27,o=ae));const N=I.ads.playbackState;z(i,N,ae=>t(26,n=ae));const $=I.state.positionExact$;z(i,$,ae=>t(33,f=ae));const C=I.state.duration$;z(i,C,ae=>t(32,c=ae));const D=I.state.volume$;z(i,D,ae=>t(36,b=ae));const ce=I.ui.controls.disabledControls$;z(i,ce,ae=>t(31,a=ae));const T=I.state.muted$;z(i,T,ae=>t(29,l=ae));const re=I.state.currentSubtitle$;z(i,re,ae=>t(28,r=ae));const O=I.state.currentPlaybackRate$;z(i,O,ae=>t(34,m=ae));const le=I.state.availablePlaybackRates$;z(i,le,ae=>t(35,h=ae));const me=I.state.isEnded$;z(i,me,ae=>t(30,s=ae));let ze=0,He=!0,Ee;const de=()=>Ee==null?void 0:Ee.focus(),ke=ae=>(ae!==He&&(He=ae,ze=0),ze+=1,(Q.controls.seekStepKeyboard+Q.controls.seekStepKeyboard*ze)/1e3),X=ae=>{var Ue;const Pe=ae.target,Ve=(Ue=Pe==null?void 0:Pe.getAttribute("role"))==null?void 0:Ue.includes("menuitem"),Re=Pe.classList.contains("btn"),Se=ae.code;if(Re&&Se===Ce.Space)return;const ue=E0.has(Se);if(Ve&&ue)return;const J=!T0.has(Se);if(ae.ctrlKey&&J||ae.altKey&&J||ae.metaKey)return;const H=Ve&&Se===Ce.Escape;A0.has(Se)||H||S();const Ae=o===xe.PlaybackState.PLAYING||o===xe.PlaybackState.PAUSED,tt=_&&(n===ti.PAUSED||n===ti.PLAYING),ot=!tt&&!a.has(ut.TIMELINE);if(Ae||tt)switch(se({message:`key down, code: ${Se}`}),Se){case Ce.KeyJ:case Ce.ArrowLeft:{if(!ot)break;if(ae.ctrlKey||ae.altKey){const Me=I.actions.internal.getPrevEpisode();I.actions.internal.seekToPrevEpisode(Me),Me&&k({type:Ye.EPISODE_PREV,text:Me.text}),ae.preventDefault()}else{const Me=ae.shiftKey?ke(!1):Q.controls.seekStepKeyboard/1e3,Qe=Math.max(f-Me,0);f>0&&(I.actions.internal.seekTime(Qe,wt.SeekAction.DOUBLE_TAP),k({type:Ye.BACKWARD_SEEK,text:Me.toString()}),ae.preventDefault())}break}case Ce.KeyL:case Ce.ArrowRight:{if(!ot)break;if(ae.ctrlKey||ae.altKey){const Me=I.actions.internal.getNextEpisode();I.actions.internal.seekToNextEpisode(Me),Me&&k({type:Ye.EPISODE_NEXT,text:Me.text}),ae.preventDefault()}else{const Me=ae.shiftKey?ke(!0):Q.controls.seekStepKeyboard/1e3,Qe=Math.min(f+Me,c);Math.round(f)<Math.round(c)&&(I.actions.internal.seekTime(Qe,wt.SeekAction.DOUBLE_TAP),k({type:Ye.FORWARD_SEEK,text:Me.toString()}),ae.preventDefault())}break}case Ce.ArrowUp:{const Me=b,Qe=Q.controls.volumeStepKeyboard,at=Me<=1;if(Dc(I,Me,Qe),at){const _t=Math.round(Rc(Me,Qe)*100).toString();k({type:Ye.VOLUME,t:{key:"hotkey_helper_current_volume",value:_t}})}ae.preventDefault();break}case Ce.ArrowDown:{const Me=b,Qe=Q.controls.volumeStepKeyboard,at=Me>=0;if(zc(I,Me,Qe),at){const _t=Math.round(Oc(Me,Qe)*100).toString();k({type:Ye.VOLUME,t:{key:"hotkey_helper_current_volume",value:_t}})}ae.preventDefault();break}case Ce.Comma:{if(ae.shiftKey){I.actions.internal.decrementPlaybackRate();const Me=h.find(Qe=>Qe.value===m);k({type:Ye.RATE_DOWN,text:Me==null?void 0:Me.displayValue}),ae.preventDefault()}else{if(tt||o!==xe.PlaybackState.PAUSED)break;const Me=Math.max(f-Q.controls.seekStepFrame/1e3,0);f>0&&(k({type:Ye.BACKWARD_SEEK}),I.actions.internal.clearDelayedBufferingCheckTimeout(),I.actions.internal.seekTime(Me,wt.SeekAction.DOUBLE_TAP),ae.preventDefault())}break}case Ce.Period:{if(ae.shiftKey){I.actions.internal.incrementPlaybackRate();const Me=h.find(Qe=>Qe.value===m);k({type:Ye.RATE_UP,text:Me==null?void 0:Me.displayValue}),ae.preventDefault()}else{if(tt||o!==xe.PlaybackState.PAUSED)break;const Me=Math.min(f+Q.controls.seekStepFrame/1e3,c);f<c&&(k({type:Ye.FORWARD_SEEK}),I.actions.internal.clearDelayedBufferingCheckTimeout(),I.actions.internal.seekTime(Me,wt.SeekAction.DOUBLE_TAP),ae.preventDefault())}break}case Ce.KeyK:case Ce.Space:if(!a.has(ut.PLAY_BUTTON))if(G)G();else{I.actions.internal.togglePlay();let Me=Ye.PLAY;o===xe.PlaybackState.PAUSED?Me=Ye.PAUSE:s&&(Me=Ye.REPLAY),k({type:Me})}ae.preventDefault();break;case Ce.KeyM:{k({type:l?Ye.VOLUME:Ye.MUTE}),I.actions.internal.toggleMuted(),ae.preventDefault();break}case Ce.KeyF:y(),ae.preventDefault();break;case Ce.KeyC:I.actions.internal.toggleSubtitle(),r.value!=="off"?k({type:Ye.SUBTITLES_ON,text:r==null?void 0:r.displayValue}):k({type:Ye.SUBTITLES_OFF}),ae.preventDefault();break;case Ce.KeyI:I.actions.internal.togglePictureInPicture(),ae.preventDefault();break;case Ce.Digit1:case Ce.Numpad1:k(),I.actions.internal.seekToPercent(.1,wt.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ce.Digit2:case Ce.Numpad2:k(),I.actions.internal.seekToPercent(.2,wt.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ce.Digit3:case Ce.Numpad3:k(),I.actions.internal.seekToPercent(.3,wt.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ce.Digit4:case Ce.Numpad4:k(),I.actions.internal.seekToPercent(.4,wt.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ce.Digit5:case Ce.Numpad5:k(),I.actions.internal.seekToPercent(.5,wt.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ce.Digit6:case Ce.Numpad6:k(),I.actions.internal.seekToPercent(.6,wt.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ce.Digit7:case Ce.Numpad7:k(),I.actions.internal.seekToPercent(.7,wt.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ce.Digit8:case Ce.Numpad8:k(),I.actions.internal.seekToPercent(.8,wt.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ce.Digit9:case Ce.Numpad9:k(),I.actions.internal.seekToPercent(.9,wt.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ce.Digit0:case Ce.Numpad0:k(),I.actions.internal.seekToPercent(0,wt.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ce.Slash:{ae.shiftKey&&Q.features.hotKeyMapModal&&(V(),ae.preventDefault());break}case Ce.ShiftLeft:case Ce.ShiftRight:ae.preventDefault();break;case Ce.Tab:case Ce.Escape:case Ce.Enter:break;default:oe.checkNever(Se);break}},F=ae=>{const Pe=ae.code;if(ae.ctrlKey||ae.altKey||ae.metaKey)return;const Ve=o===xe.PlaybackState.PLAYING||o===xe.PlaybackState.PAUSED,Re=_&&(n===ti.PAUSED||n===ti.PLAYING);if(Ve||Re)switch(Pe){case Ce.ShiftLeft:case Ce.ShiftRight:ze=0;break}};function Te(ae){ye[ae?"unshift":"push"](()=>{Ee=ae,t(0,Ee)})}return i.$$set=ae=>{"isAds"in ae&&t(14,_=ae.isAds),"hideContextMenu"in ae&&t(15,S=ae.hideContextMenu),"toggleFullscreen"in ae&&t(16,y=ae.toggleFullscreen),"showHotKeyHelpers"in ae&&t(17,k=ae.showHotKeyHelpers),"showKeyMap"in ae&&t(18,V=ae.showKeyMap),"fakePlayButtonHandler"in ae&&t(19,G=ae.fakePlayButtonHandler),"$$scope"in ae&&t(21,w=ae.$$scope)},[Ee,te,N,$,C,D,ce,T,re,O,le,me,X,F,_,S,y,k,V,G,de,w,v,Te]}class E3 extends we{constructor(e){super(),_e(this,e,T3,P3,be,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},C3,[-1,-1])}get focus(){return this.$$.ctx[20]}}function A3(i){je(i,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function L3(i){let e;return{c(){e=A("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(t,n){E(t,e,n)},p:K,i:K,o:K,d(t){t&&P(e)}}}class Fc extends we{constructor(e){super(),_e(this,e,null,L3,be,{},A3)}}function I3(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),b=B("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2422_111980"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2422_111980"),u(b,"result","shape"),u(l,"id","a"),u(l,"x",".5"),u(l,"y",".5"),u(l,"width","23"),u(l,"height","23"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(v,w){E(v,e,w),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,b)},p:K,i:K,o:K,d(v){v&&P(e)}}}class V3 extends we{constructor(e){super(),_e(this,e,null,I3,be,{})}}function M3(i){je(i,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function B3(i){let e,t,n,o,r,l,s,a,c,f,m,h;const b=i[14].default,v=Mn(b,i,i[13],null);return{c(){var w,_,S,y,k,V;e=A("button"),v&&v.c(),u(e,"class",t="btn "+i[1]+" v-1anemql"),u(e,"style",n=i[2]||null),e.disabled=o=(w=i[3])!=null?w:null,u(e,"aria-hidden",r=(_=i[5])!=null?_:null),u(e,"aria-label",l=(S=i[6])!=null?S:null),u(e,"aria-keyshortcuts",s=(y=i[7])!=null?y:null),u(e,"aria-expanded",a=(k=i[8])!=null?k:null),u(e,"data-testid",c=(V=i[4])!=null?V:null),u(e,"tabindex",i[9])},m(w,_){E(w,e,_),v&&v.m(e,null),i[16](e),f=!0,m||(h=[ge(e,"pointerdown",rt(ii(i[15]))),ge(e,"click",rt(ii(function(){Sn(i[10]===oe.noop?null:i[10])&&(i[10]===oe.noop?null:i[10]).apply(this,arguments)}))),ge(e,"focus",ii(function(){Sn(i[11]===oe.noop?null:i[11])&&(i[11]===oe.noop?null:i[11]).apply(this,arguments)})),ge(e,"blur",ii(function(){Sn(i[12]===oe.noop?null:i[12])&&(i[12]===oe.noop?null:i[12]).apply(this,arguments)}))],m=!0)},p(w,[_]){var S,y,k,V,G,I;i=w,v&&v.p&&(!f||_&8192)&&Nn(v,b,i,i[13],f?Bn(b,i[13],_,null):Rn(i[13]),null),(!f||_&2&&t!==(t="btn "+i[1]+" v-1anemql"))&&u(e,"class",t),(!f||_&4&&n!==(n=i[2]||null))&&u(e,"style",n),(!f||_&8&&o!==(o=(S=i[3])!=null?S:null))&&(e.disabled=o),(!f||_&32&&r!==(r=(y=i[5])!=null?y:null))&&u(e,"aria-hidden",r),(!f||_&64&&l!==(l=(k=i[6])!=null?k:null))&&u(e,"aria-label",l),(!f||_&128&&s!==(s=(V=i[7])!=null?V:null))&&u(e,"aria-keyshortcuts",s),(!f||_&256&&a!==(a=(G=i[8])!=null?G:null))&&u(e,"aria-expanded",a),(!f||_&16&&c!==(c=(I=i[4])!=null?I:null))&&u(e,"data-testid",c),(!f||_&512)&&u(e,"tabindex",i[9])},i(w){f||(d(v,w),f=!0)},o(w){g(v,w),f=!1},d(w){w&&P(e),v&&v.d(w),i[16](null),m=!1,nt(h)}}}function N3(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:r=""}=e,{style:l=""}=e,{disabled:s=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:m=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:b=void 0}=e,{tabIndex:v=0}=e,{click:w=oe.noop}=e,{focus:_=oe.noop}=e,{blur:S=oe.noop}=e;function y(V){Co.call(this,i,V)}function k(V){ye[V?"unshift":"push"](()=>{m=V,t(0,m)})}return i.$$set=V=>{"className"in V&&t(1,r=V.className),"style"in V&&t(2,l=V.style),"disabled"in V&&t(3,s=V.disabled),"testId"in V&&t(4,a=V.testId),"ariaHidden"in V&&t(5,c=V.ariaHidden),"ariaLabel"in V&&t(6,f=V.ariaLabel),"ref"in V&&t(0,m=V.ref),"ariaKeyShortCut"in V&&t(7,h=V.ariaKeyShortCut),"ariaExpanded"in V&&t(8,b=V.ariaExpanded),"tabIndex"in V&&t(9,v=V.tabIndex),"click"in V&&t(10,w=V.click),"focus"in V&&t(11,_=V.focus),"blur"in V&&t(12,S=V.blur),"$$scope"in V&&t(13,o=V.$$scope)},[m,r,l,s,a,c,f,h,b,v,w,_,S,o,n,y,k]}class yi extends we{constructor(e){super(),_e(this,e,N3,B3,be,{className:1,style:2,disabled:3,testId:4,ariaHidden:5,ariaLabel:6,ref:0,ariaKeyShortCut:7,ariaExpanded:8,tabIndex:9,click:10,focus:11,blur:12},M3)}}function R3(i){je(i,"v-1witlsj",".modal-overlay.v-1witlsj{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-1witlsj{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-1witlsj{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-1witlsj{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-1witlsj{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-1witlsj::-webkit-scrollbar{width:8px}.modal-scroll.v-1witlsj::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-1witlsj{margin:-8px -4px 0 0}")}function Fs(i){let e,t,n,o,r,l=i[2]&&Hs(i);return{c(){e=A("div"),t=A("h3"),n=Oe(i[3]),o=R(),l&&l.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){E(s,e,a),p(e,t),p(t,n),p(e,o),l&&l.m(e,null),r=!0},p(s,a){(!r||a&8)&&$e(n,s[3]),s[2]?l?(l.p(s,a),a&4&&d(l,1)):(l=Hs(s),l.c(),d(l,1),l.m(e,null)):l&&(pe(),g(l,1,1,()=>{l=null}),he())},i(s){r||(d(l),r=!0)},o(s){g(l),r=!1},d(s){s&&P(e),l&&l.d()}}}function Hs(i){let e,t;return e=new yi({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:Y("hotkey_map_modal_close_btn_text"),$$slots:{default:[O3]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&1&&(r.click=n[0]),o&32&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function O3(i){let e,t;return e=new V3({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function D3(i){let e,t,n,o,r,l,s=i[1]&&Fs(i);const a=i[4].default,c=Mn(a,i,i[5],null);return{c(){e=A("div"),t=A("div"),s&&s.c(),n=R(),o=A("div"),r=A("div"),c&&c.c(),u(r,"class","modal-main v-1witlsj"),u(o,"class","modal-scroll v-1witlsj"),u(t,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,m){E(f,e,m),p(e,t),s&&s.m(t,null),p(t,n),p(t,o),p(o,r),c&&c.m(r,null),l=!0},p(f,[m]){f[1]?s?(s.p(f,m),m&2&&d(s,1)):(s=Fs(f),s.c(),d(s,1),s.m(t,n)):s&&(pe(),g(s,1,1,()=>{s=null}),he()),c&&c.p&&(!l||m&32)&&Nn(c,a,f,f[5],l?Bn(a,f[5],m,null):Rn(f[5]),null)},i(f){l||(d(s),d(c,f),l=!0)},o(f){g(s),g(c,f),l=!1},d(f){f&&P(e),s&&s.d(),c&&c.d(f)}}}function z3(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:r}=e,{showHeader:l=!0}=e,{showCloseCross:s=!0}=e,{title:a}=e;return i.$$set=c=>{"onClose"in c&&t(0,r=c.onClose),"showHeader"in c&&t(1,l=c.showHeader),"showCloseCross"in c&&t(2,s=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[r,l,s,a,n,o]}class F3 extends we{constructor(e){super(),_e(this,e,z3,D3,be,{onClose:0,showHeader:1,showCloseCross:2,title:3},R3)}}const H3=new Set(["BR"]),Us=i=>{var e;const t=document.createElement("DIV");t.innerHTML=i;const n=t.querySelectorAll("*");let o=n.length;for(;o--;){const r=n[o],l=r.tagName;H3.has(l)||(e=r.parentElement)===null||e===void 0||e.removeChild(r)}return t.innerHTML};function U3(i){je(i,"v-quklnq",".hot-key-map.v-quklnq{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-quklnq{border-bottom:1px solid var(--white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-quklnq:last-child{border-bottom:none}.hot-key-map-group-title.v-quklnq{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-quklnq,.hot-key-map-item.v-quklnq{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-quklnq{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-quklnq{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-quklnq{color:var(--white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-quklnq{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-quklnq,.hot-key-map-item-value.v-quklnq{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function js(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function qs(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function Ws(i){let e,t,n=Us(i[9])+"",o,r,l=i[10]+"",s,a;return{c(){e=A("li"),t=A("span"),o=R(),r=A("span"),s=Oe(l),a=R(),u(t,"class","hot-key-map-item-description v-quklnq"),u(r,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){E(c,e,f),p(e,t),t.innerHTML=n,p(e,o),p(e,r),p(r,s),p(e,a)},p(c,f){f&1&&n!==(n=Us(c[9])+"")&&(t.innerHTML=n),f&1&&l!==(l=c[10]+"")&&$e(s,l)},d(c){c&&P(e)}}}function Zs(i){let e,t,n=i[5]+"",o,r,l,s,a=Gt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Ws(qs(i,a,f));return{c(){e=A("div"),t=A("h5"),o=Oe(n),r=R(),l=A("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(l,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,m){E(f,e,m),p(e,t),p(t,o),p(e,r),p(e,l);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(l,null);p(e,s)},p(f,m){if(m&1&&n!==(n=f[5]+"")&&$e(o,n),m&1){a=Gt(f[6]);let h;for(h=0;h<a.length;h+=1){const b=qs(f,a,h);c[h]?c[h].p(b,m):(c[h]=Ws(b),c[h].c(),c[h].m(l,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&P(e),Cn(c,f)}}}function j3(i){let e,t=Gt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=Zs(js(i,t,o));return{c(){e=A("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,r){E(o,e,r);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,r){if(r&1){t=Gt(o[0].groups);let l;for(l=0;l<t.length;l+=1){const s=js(o,t,l);n[l]?n[l].p(s,r):(n[l]=Zs(s),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},d(o){o&&P(e),Cn(n,o)}}}function q3(i){let e,t;return e=new F3({props:{title:i[0].title,onClose:i[2],$$slots:{default:[j3]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.title=n[0].title),o&8193&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function W3(i,e,t){let n;const o=Et(),{data:r,show:l}=o.ui.modals.hotKeyMap;return z(i,r,a=>t(0,n=a)),[n,r,()=>{l.set(!1)}]}class Z3 extends we{constructor(e){super(),_e(this,e,W3,q3,be,{},U3)}}function K3(i){je(i,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function G3(i){let e,t;const n=i[1].default,o=Mn(n,i,i[0],null);return{c(){e=A("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(r,l){E(r,e,l),o&&o.m(e,null),t=!0},p(r,[l]){o&&o.p&&(!t||l&1)&&Nn(o,n,r,r[0],t?Bn(n,r[0],l,null):Rn(r[0]),null)},i(r){t||(d(o,r),t=!0)},o(r){g(o,r),t=!1},d(r){r&&P(e),o&&o.d(r)}}}function Y3(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=r=>{"$$scope"in r&&t(0,o=r.$$scope)},[o,n]}class Q3 extends we{constructor(e){super(),_e(this,e,Y3,G3,be,{},K3)}}function X3(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p:K,i:K,o:K,d(o){o&&P(e)}}}class J3 extends we{constructor(e){super(),_e(this,e,null,X3,be,{})}}function x3(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p:K,i:K,o:K,d(o){o&&P(e)}}}class $3 extends we{constructor(e){super(),_e(this,e,null,x3,be,{})}}function ep(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class tp extends we{constructor(e){super(),_e(this,e,null,ep,be,{})}}function ip(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class Hc extends we{constructor(e){super(),_e(this,e,null,ip,be,{})}}function np(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p:K,i:K,o:K,d(o){o&&P(e)}}}class Uc extends we{constructor(e){super(),_e(this,e,null,np,be,{})}}const Ao=i=>{switch(i){case xe.VideoQuality.Q_720P:return tp;case xe.VideoQuality.Q_1080P:return Hc;case xe.VideoQuality.Q_1440P:return Uc;case xe.VideoQuality.Q_2160P:return J3;case xe.VideoQuality.Q_4320P:return $3}};function op(i){je(i,"v-1fzhlx0",".icon.v-1fzhlx0{display:flex;position:relative;width:24px;height:24px}.icon.v-1fzhlx0 .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-1fzhlx0 .pillow{right:-13px}")}function lp(i){let e,t,n,o,r,l,s=i[1]&&Ks(i);return{c(){e=A("div"),s&&s.c(),t=R(),n=B("svg"),o=B("path"),r=B("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(r,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(r,"fill","#fff"),M(r,"hidden",!!i[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-1fzhlx0"),u(e,"aria-hidden","true"),M(e,"triple",i[2])},m(a,c){E(a,e,c),s&&s.m(e,null),p(e,t),p(e,n),p(n,o),p(n,r),l=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&d(s,1)):(s=Ks(a),s.c(),d(s,1),s.m(e,t)):s&&(pe(),g(s,1,1,()=>{s=null}),he()),(!l||c&2)&&M(r,"hidden",!!a[1]),(!l||c&4)&&M(e,"triple",a[2])},i(a){l||(d(s),l=!0)},o(a){g(s),l=!1},d(a){a&&P(e),s&&s.d()}}}function rp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}function Ks(i){let e,t;return e=new Q3({props:{$$slots:{default:[sp]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&18&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function sp(i){let e,t,n;var o=i[1];function r(l){return{}}return o&&(e=En(o,r())),{c(){e&&W(e.$$.fragment),t=gt()},m(l,s){e&&U(e,l,s),E(l,t,s),n=!0},p(l,s){if(s&2&&o!==(o=l[1])){if(e){pe();const a=e;g(a.$$.fragment,1,0,()=>{j(a,1)}),he()}o?(e=En(o,r()),W(e.$$.fragment),d(e.$$.fragment,1),U(e,t.parentNode,t)):e=null}},i(l){n||(e&&d(e.$$.fragment,l),n=!0)},o(l){e&&g(e.$$.fragment,l),n=!1},d(l){l&&P(t),e&&j(e,l)}}}function ap(i){let e,t,n,o;const r=[rp,lp],l=[];function s(a,c){return a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=gt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function up(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:r=void 0}=e,l;return i.$$set=s=>{"isMobile"in s&&t(0,o=s.isMobile),"currentQuality"in s&&t(3,r=s.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=Ao(r)),i.$$.dirty&2&&t(2,l=!!n&&[Hc,Uc].includes(n))},[o,n,l,r]}class jc extends we{constructor(e){super(),_e(this,e,up,ap,be,{isMobile:0,currentQuality:3},op)}}function cp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class qc extends we{constructor(e){super(),_e(this,e,null,cp,be,{})}}function fp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(t,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class dp extends we{constructor(e){super(),_e(this,e,null,fp,be,{})}}function mp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(t,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class pp extends we{constructor(e){super(),_e(this,e,null,mp,be,{})}}function hp(i){let e,t,n,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(r,l){E(r,e,l),p(e,t),p(t,n),p(t,o)},p:K,i:K,o:K,d(r){r&&P(e)}}}class vp extends we{constructor(e){super(),_e(this,e,null,hp,be,{})}}function gp(i){je(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function bp(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),u(t,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(t,"fill",i[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),M(e,"reverted",i[2])},m(o,r){E(o,e,r),p(e,t)},p(o,r){r&1&&u(t,"fill",o[0]),r&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),r&4&&M(e,"reverted",o[2])},d(o){o&&P(e)}}}function _p(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(t,"fill",i[0]),u(t,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),M(e,"reverted",i[2])},m(o,r){E(o,e,r),p(e,t)},p(o,r){r&1&&u(t,"fill",o[0]),r&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),r&4&&M(e,"reverted",o[2])},d(o){o&&P(e)}}}function wp(i){let e;function t(r,l){return r[1]?_p:bp}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:K,o:K,d(r){r&&P(e),o.d(r)}}}function yp(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,r,l;return i.$$set=s=>{"direction"in s&&t(3,n=s.direction),"color"in s&&t(0,o=s.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,r=["up","down"].includes(n)),t(2,l=["right","down"].includes(n)))},[o,r,l,n]}class Hn extends we{constructor(e){super(),_e(this,e,yp,wp,be,{direction:3,color:0},gp)}}function kp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class Sp extends we{constructor(e){super(),_e(this,e,null,kp,be,{})}}function Cp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(t,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class Zo extends we{constructor(e){super(),_e(this,e,null,Cp,be,{})}}function Pp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class Tp extends we{constructor(e){super(),_e(this,e,null,Pp,be,{})}}function Ep(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class Ap extends we{constructor(e){super(),_e(this,e,null,Ep,be,{})}}function Lp(i){je(i,"v-5r0p3","ul.v-5r0p3.v-5r0p3{margin:0;padding:0}.menu.v-5r0p3.v-5r0p3{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s}.container-mobile.v-5r0p3.v-5r0p3{width:100%}.menu-desktop.v-5r0p3.v-5r0p3{position:absolute;right:0;bottom:0}.menu-mobile.v-5r0p3.v-5r0p3{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-5r0p3.v-5r0p3{display:none}.menu-subList.v-5r0p3.v-5r0p3{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-5r0p3.v-5r0p3{min-width:164px}.menu-subList-traffic-saving.v-5r0p3.v-5r0p3{min-width:286px}.item.v-5r0p3.v-5r0p3{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-5r0p3.v-5r0p3{padding:0 14px}.item-quality.item-mobile.v-5r0p3.v-5r0p3,.item-traffic-saving.item-mobile.v-5r0p3.v-5r0p3,.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{flex-direction:row-reverse}.item-helper-text.v-5r0p3.v-5r0p3{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-5r0p3 span.v-5r0p3{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{padding:7px 14px}.item-helper-text.item-mobile.v-5r0p3 span.v-5r0p3{text-align:start}.quality-title-mobile.v-5r0p3.v-5r0p3{flex-grow:1}.item.v-5r0p3.v-5r0p3:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-5r0p3.v-5r0p3:hover{background:var(--mobile-settings-bg)}.menu-subList.v-5r0p3 .item.v-5r0p3{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-5r0p3 .item.v-5r0p3:last-child{margin-bottom:4px}.menu-icon-wrapper.v-5r0p3.v-5r0p3{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-5r0p3.v-5r0p3{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-5r0p3.v-5r0p3{position:relative;opacity:0.7}.menu-valueIcon.v-5r0p3.v-5r0p3{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-5r0p3.v-5r0p3{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-5r0p3 svg,.menu-valueIcon-list.v-5r0p3 svg{color:var(--blue-light)}.menu-divider.v-5r0p3.v-5r0p3{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-5r0p3.v-5r0p3{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-5r0p3.v-5r0p3{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar{width:8px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-5r0p3.v-5r0p3{overflow-y:auto;max-height:160px;text-align:left}.close.v-5r0p3.v-5r0p3{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-5r0p3.v-5r0p3:before,.close.v-5r0p3.v-5r0p3:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-5r0p3.v-5r0p3:before{transform:rotate(45deg)}.close.v-5r0p3.v-5r0p3:after{transform:rotate(-45deg)}")}function Gs(i,e,t){const n=i.slice();return n[142]=e[t],n}function Ys(i,e,t){const n=i.slice();return n[145]=e[t],n}function Qs(i,e,t){const n=i.slice();return n[148]=e[t],n}function Xs(i){let e,t,n,o,r,l,s,a,c,f,m,h=i[8]&&Js(i),b=i[28]&&xs(i),v=i[27]&&ea(i),w=i[26]&&ta(i),_=i[25]&&ia(i),S=i[24]&&na(i),y=i[8]&&oa(i);return{c(){e=A("div"),h&&h.c(),t=R(),n=A("ul"),b&&b.c(),o=R(),v&&v.c(),r=R(),w&&w.c(),l=R(),_&&_.c(),s=R(),S&&S.c(),a=R(),y&&y.c(),u(n,"class","items v-5r0p3"),u(n,"role","menu"),M(n,"items-mobile",i[8]),u(e,"class","menu v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8]),M(e,"hidden",!i[15])},m(k,V){E(k,e,V),h&&h.m(e,null),p(e,t),p(e,n),b&&b.m(n,null),p(n,o),v&&v.m(n,null),p(n,r),w&&w.m(n,null),p(n,l),_&&_.m(n,null),p(n,s),S&&S.m(n,null),p(n,a),y&&y.m(n,null),i[116](n),c=!0,f||(m=[ge(e,"keydown",i[79]),ge(e,"mouseenter",i[73]),ge(e,"mouseleave",i[74])],f=!0)},p(k,V){k[8]?h?h.p(k,V):(h=Js(k),h.c(),h.m(e,t)):h&&(h.d(1),h=null),k[28]?b?(b.p(k,V),V[0]&268435456&&d(b,1)):(b=xs(k),b.c(),d(b,1),b.m(n,o)):b&&(pe(),g(b,1,1,()=>{b=null}),he()),k[27]?v?(v.p(k,V),V[0]&134217728&&d(v,1)):(v=ea(k),v.c(),d(v,1),v.m(n,r)):v&&(pe(),g(v,1,1,()=>{v=null}),he()),k[26]?w?(w.p(k,V),V[0]&67108864&&d(w,1)):(w=ta(k),w.c(),d(w,1),w.m(n,l)):w&&(pe(),g(w,1,1,()=>{w=null}),he()),k[25]?_?(_.p(k,V),V[0]&33554432&&d(_,1)):(_=ia(k),_.c(),d(_,1),_.m(n,s)):_&&(pe(),g(_,1,1,()=>{_=null}),he()),k[24]?S?(S.p(k,V),V[0]&16777216&&d(S,1)):(S=na(k),S.c(),d(S,1),S.m(n,a)):S&&(pe(),g(S,1,1,()=>{S=null}),he()),k[8]?y?(y.p(k,V),V[0]&256&&d(y,1)):(y=oa(k),y.c(),d(y,1),y.m(n,null)):y&&(pe(),g(y,1,1,()=>{y=null}),he()),(!c||V[0]&256)&&M(n,"items-mobile",k[8]),(!c||V[0]&256)&&M(e,"menu-desktop",!k[8]),(!c||V[0]&256)&&M(e,"menu-mobile",k[8]),(!c||V[0]&32768)&&M(e,"hidden",!k[15])},i(k){c||(d(b),d(v),d(w),d(_),d(S),d(y),c=!0)},o(k){g(b),g(v),g(w),g(_),g(S),g(y),c=!1},d(k){k&&P(e),h&&h.d(),b&&b.d(),v&&v.d(),w&&w.d(),_&&_.d(),S&&S.d(),y&&y.d(),i[116](null),f=!1,nt(m)}}}function Js(i){let e,t,n,o,r,l,s,a;return{c(){e=A("div"),t=A("div"),t.textContent=`${Y("submenu_settings")}`,n=R(),o=A("div"),r=R(),l=A("div"),u(o,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),M(e,"item-mobile",i[8]),u(l,"class","menu-divider v-5r0p3")},m(c,f){E(c,e,f),p(e,t),p(e,n),p(e,o),E(c,r,f),E(c,l,f),s||(a=ge(o,"click",rt(i[59])),s=!0)},p(c,f){f[0]&256&&M(e,"item-mobile",c[8])},d(c){c&&(P(e),P(r),P(l)),s=!1,a()}}}function xs(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;n=new jc({});let v=i[36]&&!i[8]&&$s(i);return{c(){e=A("li"),t=A("div"),W(n.$$.fragment),o=R(),r=A("div"),r.textContent=`${Y("menu_quality")}`,l=R(),s=A("div"),a=Oe(i[20]),c=R(),v&&v.c(),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_quality",{actual:i[30]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(w,_){E(w,e,_),p(e,t),U(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),p(s,c),v&&v.m(s,null),i[112](e),m=!0,h||(b=[ge(e,"click",rt(i[60])),ge(e,"keydown",i[80])],h=!0)},p(w,_){(!m||_[0]&1048576)&&$e(a,w[20]),w[36]&&!w[8]?v?(v.p(w,_),_[0]&256|_[1]&32&&d(v,1)):(v=$s(w),v.c(),d(v,1),v.m(s,null)):v&&(pe(),g(v,1,1,()=>{v=null}),he()),(!m||_[0]&1073741824&&f!==(f=Y("aria_label_menu_quality",{actual:w[30]})))&&u(e,"aria-label",f),(!m||_[0]&256)&&M(e,"item-mobile",w[8])},i(w){m||(d(n.$$.fragment,w),d(v),m=!0)},o(w){g(n.$$.fragment,w),g(v),m=!1},d(w){w&&P(e),j(n),v&&v.d(),i[112](null),h=!1,nt(b)}}}function $s(i){let e,t,n;var o=i[36];function r(l){return{}}return o&&(t=En(o,r())),{c(){e=A("div"),t&&W(t.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(l,s){E(l,e,s),t&&U(t,e,null),n=!0},p(l,s){if(s[1]&32&&o!==(o=l[36])){if(t){pe();const a=t;g(a.$$.fragment,1,0,()=>{j(a,1)}),he()}o?(t=En(o,r()),W(t.$$.fragment),d(t.$$.fragment,1),U(t,e,null)):t=null}},i(l){n||(t&&d(t.$$.fragment,l),n=!0)},o(l){t&&g(t.$$.fragment,l),n=!1},d(l){l&&P(e),t&&j(t)}}}function ea(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return n=new vp({}),{c(){e=A("li"),t=A("div"),W(n.$$.fragment),o=R(),r=A("div"),r.textContent=`${Y("menu_playback_rate")}`,l=R(),s=A("div"),a=Oe(i[13]),c=Oe("x"),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_rate",{actual:i[31]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(v,w){E(v,e,w),p(e,t),U(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),p(s,c),i[113](e),m=!0,h||(b=[ge(e,"click",rt(ii(i[64]))),ge(e,"keydown",i[83])],h=!0)},p(v,w){(!m||w[0]&8192)&&$e(a,v[13]),(!m||w[1]&1&&f!==(f=Y("aria_label_menu_rate",{actual:v[31]})))&&u(e,"aria-label",f),(!m||w[0]&256)&&M(e,"item-mobile",v[8])},i(v){m||(d(n.$$.fragment,v),m=!0)},o(v){g(n.$$.fragment,v),m=!1},d(v){v&&P(e),j(n),i[113](null),h=!1,nt(b)}}}function ta(i){let e,t,n,o,r,l,s,a=i[37].displayValue+"",c,f,m,h,b;return n=new qc({}),{c(){e=A("li"),t=A("div"),W(n.$$.fragment),o=R(),r=A("div"),r.textContent=`${Y("subtitles_caption")}`,l=R(),s=A("div"),c=Oe(a),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_subtitle",{actual:i[37].displayValue})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(v,w){E(v,e,w),p(e,t),U(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,c),i[114](e),m=!0,h||(b=[ge(e,"click",rt(i[66])),ge(e,"keydown",i[86])],h=!0)},p(v,w){(!m||w[1]&64)&&a!==(a=v[37].displayValue+"")&&$e(c,a),(!m||w[1]&64&&f!==(f=Y("aria_label_menu_subtitle",{actual:v[37].displayValue})))&&u(e,"aria-label",f),(!m||w[0]&256)&&M(e,"item-mobile",v[8])},i(v){m||(d(n.$$.fragment,v),m=!0)},o(v){g(n.$$.fragment,v),m=!1},d(v){v&&P(e),j(n),i[114](null),h=!1,nt(b)}}}function ia(i){let e,t,n,o,r,l,s,a,c,f,m,h;return n=new pp({}),{c(){e=A("li"),t=A("div"),W(n.$$.fragment),o=R(),r=A("div"),r.textContent=`${Y("menu_traffic_saving")}`,l=R(),s=A("div"),a=Oe(i[29]),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=Y("aria_label_menu_traffic_saving",{actual:i[29]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(b,v){E(b,e,v),p(e,t),U(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),i[115](e),f=!0,m||(h=[ge(e,"click",rt(i[61])),ge(e,"keydown",i[89])],m=!0)},p(b,v){(!f||v[0]&536870912)&&$e(a,b[29]),(!f||v[0]&536870912&&c!==(c=Y("aria_label_menu_traffic_saving",{actual:b[29]})))&&u(e,"aria-label",c),(!f||v[0]&256)&&M(e,"item-mobile",b[8])},i(b){f||(d(n.$$.fragment,b),f=!0)},o(b){g(n.$$.fragment,b),f=!1},d(b){b&&P(e),j(n),i[115](null),m=!1,nt(h)}}}function na(i){let e,t,n,o,r,l,s,a;return n=new dp({}),{c(){e=A("li"),t=A("div"),W(n.$$.fragment),o=R(),r=A("div"),r.textContent=`${Y("download_video_caption")}`,u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",Y("aria_label_menu_download")),M(e,"item-mobile",i[8])},m(c,f){E(c,e,f),p(e,t),U(n,t,null),p(e,o),p(e,r),l=!0,s||(a=[ge(e,"click",rt(i[69])),ge(e,"keydown",i[92])],s=!0)},p(c,f){(!l||f[0]&256)&&M(e,"item-mobile",c[8])},i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&P(e),j(n),s=!1,nt(a)}}}function oa(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,w,_,S=i[39].showSupport&&Ip(i);return o=new Tp({}),f=new Ap({}),{c(){S&&S.c(),e=R(),t=A("li"),n=A("div"),W(o.$$.fragment),r=R(),l=A("div"),l.textContent=`${Y("menu_copy_debug")}`,s=R(),a=A("li"),c=A("div"),W(f.$$.fragment),m=R(),h=A("div"),h.textContent=`${Y("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(l,"class","menu-title v-5r0p3"),u(t,"class","item item-mobile v-5r0p3"),u(t,"role","menuitem"),u(t,"tabindex","0"),u(t,"aria-label",Y("menu_copy_debug")),u(c,"class","menu-icon-wrapper v-5r0p3"),u(h,"class","menu-title v-5r0p3"),u(a,"class","item item-mobile v-5r0p3"),u(a,"role","menuitem"),u(a,"tabindex","0"),u(a,"aria-label",b=i[38]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable"))},m(y,k){S&&S.m(y,k),E(y,e,k),E(y,t,k),p(t,n),U(o,n,null),p(t,r),p(t,l),E(y,s,k),E(y,a,k),p(a,c),U(f,c,null),p(a,m),p(a,h),v=!0,w||(_=[ge(t,"click",rt(i[71])),ge(t,"keydown",i[94]),ge(a,"click",rt(i[72])),ge(a,"keydown",i[95])],w=!0)},p(y,k){y[39].showSupport&&S.p(y,k),(!v||k[1]&128&&b!==(b=y[38]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",b)},i(y){v||(d(S),d(o.$$.fragment,y),d(f.$$.fragment,y),v=!0)},o(y){g(S),g(o.$$.fragment,y),g(f.$$.fragment,y),v=!1},d(y){y&&(P(e),P(t),P(s),P(a)),S&&S.d(y),j(o),j(f),w=!1,nt(_)}}}function Ip(i){let e,t,n,o,r,l,s,a;return n=new Sp({}),{c(){e=A("li"),t=A("div"),W(n.$$.fragment),o=R(),r=A("div"),r.textContent=`${Y("menu_report")}`,u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item item-mobile v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${Y("menu_report")}. ${Y("aria_label_new_tab_alert")}`)},m(c,f){E(c,e,f),p(e,t),U(n,t,null),p(e,o),p(e,r),l=!0,s||(a=[ge(e,"click",rt(i[70])),ge(e,"keydown",i[93])],s=!0)},p:K,i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&P(e),j(n),s=!1,nt(a)}}}function la(i){let e,t,n,o,r,l,s,a,c,f,m,h;n=new Hn({props:{direction:"left"}});let b=Gt(i[12]),v=[];for(let _=0;_<b.length;_+=1)v[_]=aa(Qs(i,b,_));const w=_=>g(v[_],1,1,()=>{v[_]=null});return{c(){e=A("div"),t=A("div"),W(n.$$.fragment),o=R(),r=A("div"),r.textContent=`${Y("submenu_quality")}`,l=R(),s=A("div"),a=R(),c=A("ul");for(let _=0;_<v.length;_+=1)v[_].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",Y("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",i[21]),M(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(_,S){E(_,e,S),p(e,t),U(n,t,null),p(t,o),p(t,r),i[117](t),p(e,l),p(e,s),p(e,a),p(e,c);for(let y=0;y<v.length;y+=1)v[y]&&v[y].m(c,null);i[120](c),f=!0,m||(h=[ge(t,"click",rt(i[68])),ge(c,"keydown",i[81])],m=!0)},p(_,S){if((!f||S[0]&256)&&M(t,"item-mobile",_[8]),S[0]&4352|S[2]&1048577){b=Gt(_[12]);let y;for(y=0;y<b.length;y+=1){const k=Qs(_,b,y);v[y]?(v[y].p(k,S),d(v[y],1)):(v[y]=aa(k),v[y].c(),d(v[y],1),v[y].m(c,null))}for(pe(),y=b.length;y<v.length;y+=1)w(y);he()}(!f||S[0]&2097152)&&u(c,"style",_[21]),(!f||S[0]&256)&&M(c,"items-mobile",_[8]),(!f||S[0]&256)&&M(e,"menu-desktop",!_[8]),(!f||S[0]&256)&&M(e,"menu-mobile",_[8])},i(_){if(!f){d(n.$$.fragment,_);for(let S=0;S<b.length;S+=1)d(v[S]);f=!0}},o(_){g(n.$$.fragment,_),v=v.filter(Boolean);for(let S=0;S<v.length;S+=1)g(v[S]);f=!1},d(_){_&&P(e),j(n),i[117](null),Cn(v,_),i[120](null),m=!1,nt(h)}}}function ra(i){let e,t,n;return t=new Zo({}),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),U(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),j(t)}}}function sa(i){let e,t,n;var o=Ao(i[148].value);function r(l){return{}}return o&&(t=En(o,r())),{c(){e=A("div"),t&&W(t.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(l,s){E(l,e,s),t&&U(t,e,null),n=!0},p(l,s){if(s[0]&4096&&o!==(o=Ao(l[148].value))){if(t){pe();const a=t;g(a.$$.fragment,1,0,()=>{j(a,1)}),he()}o?(t=En(o,r()),W(t.$$.fragment),d(t.$$.fragment,1),U(t,e,null)):t=null}},i(l){n||(t&&d(t.$$.fragment,l),n=!0)},o(l){t&&g(t.$$.fragment,l),n=!1},d(l){l&&P(e),t&&j(t)}}}function aa(i){let e,t,n,o=i[148].displayValue+"",r,l,s=!i[8]&&Ao(i[148].value),a,c,f,m,h,b,v=i[148].selected&&ra(),w=s&&sa(i);function _(){return i[118](i[148])}function S(...y){return i[119](i[148],...y)}return{c(){e=A("li"),v&&v.c(),t=R(),n=A("div"),r=Oe(o),l=R(),w&&w.c(),a=R(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",c=i[148].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=i[148].displayValue),M(e,"item-mobile",i[8])},m(y,k){E(y,e,k),v&&v.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),w&&w.m(e,null),p(e,a),m=!0,h||(b=[ge(e,"click",rt(_)),ge(e,"keydown",S)],h=!0)},p(y,k){i=y,i[148].selected?v?k[0]&4096&&d(v,1):(v=ra(),v.c(),d(v,1),v.m(e,t)):v&&(pe(),g(v,1,1,()=>{v=null}),he()),(!m||k[0]&4096)&&o!==(o=i[148].displayValue+"")&&$e(r,o),(!m||k[0]&256)&&M(n,"quality-title-mobile",i[8]),k[0]&4352&&(s=!i[8]&&Ao(i[148].value)),s?w?(w.p(i,k),k[0]&4352&&d(w,1)):(w=sa(i),w.c(),d(w,1),w.m(e,a)):w&&(pe(),g(w,1,1,()=>{w=null}),he()),(!m||k[0]&4096&&c!==(c=i[148].value))&&u(e,"data-value",c),(!m||k[0]&4096&&f!==(f=i[148].displayValue))&&u(e,"aria-label",f),(!m||k[0]&256)&&M(e,"item-mobile",i[8])},i(y){m||(d(v),d(w),m=!0)},o(y){g(v),g(w),m=!1},d(y){y&&P(e),v&&v.d(),w&&w.d(),h=!1,nt(b)}}}function ua(i){let e,t,n,o,r,l,s,a,c,f,m,h;n=new Hn({props:{direction:"left"}});let b=Gt(i[11]),v=[];for(let _=0;_<b.length;_+=1)v[_]=fa(Ys(i,b,_));const w=_=>g(v[_],1,1,()=>{v[_]=null});return{c(){e=A("div"),t=A("div"),W(n.$$.fragment),o=R(),r=A("div"),r.textContent=`${Y("submenu_playback_rate")}`,l=R(),s=A("div"),a=R(),c=A("ul");for(let _=0;_<v.length;_+=1)v[_].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",Y("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",i[22]),M(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(_,S){E(_,e,S),p(e,t),U(n,t,null),p(t,o),p(t,r),i[121](t),p(e,l),p(e,s),p(e,a),p(e,c);for(let y=0;y<v.length;y+=1)v[y]&&v[y].m(c,null);i[124](c),f=!0,m||(h=[ge(t,"click",rt(i[68])),ge(c,"keydown",i[84])],m=!0)},p(_,S){if((!f||S[0]&256)&&M(t,"item-mobile",_[8]),S[0]&2304|S[2]&8388616){b=Gt(_[11]);let y;for(y=0;y<b.length;y+=1){const k=Ys(_,b,y);v[y]?(v[y].p(k,S),d(v[y],1)):(v[y]=fa(k),v[y].c(),d(v[y],1),v[y].m(c,null))}for(pe(),y=b.length;y<v.length;y+=1)w(y);he()}(!f||S[0]&4194304)&&u(c,"style",_[22]),(!f||S[0]&256)&&M(c,"items-mobile",_[8]),(!f||S[0]&256)&&M(e,"menu-desktop",!_[8]),(!f||S[0]&256)&&M(e,"menu-mobile",_[8])},i(_){if(!f){d(n.$$.fragment,_);for(let S=0;S<b.length;S+=1)d(v[S]);f=!0}},o(_){g(n.$$.fragment,_),v=v.filter(Boolean);for(let S=0;S<v.length;S+=1)g(v[S]);f=!1},d(_){_&&P(e),j(n),i[121](null),Cn(v,_),i[124](null),m=!1,nt(h)}}}function ca(i){let e,t,n;return t=new Zo({}),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),U(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),j(t)}}}function fa(i){let e,t,n,o=i[145].displayValue+"",r,l,s,a,c,f,m,h=i[145].selected&&ca();function b(){return i[122](i[145])}function v(...w){return i[123](i[145],...w)}return{c(){e=A("li"),h&&h.c(),t=R(),n=A("div"),r=Oe(o),l=R(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=i[145].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=i[145].displayValue),M(e,"item-mobile",i[8])},m(w,_){E(w,e,_),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),c=!0,f||(m=[ge(e,"click",rt(b)),ge(e,"keydown",v)],f=!0)},p(w,_){i=w,i[145].selected?h?_[0]&2048&&d(h,1):(h=ca(),h.c(),d(h,1),h.m(e,t)):h&&(pe(),g(h,1,1,()=>{h=null}),he()),(!c||_[0]&2048)&&o!==(o=i[145].displayValue+"")&&$e(r,o),(!c||_[0]&256)&&M(n,"quality-title-mobile",i[8]),(!c||_[0]&2048&&s!==(s=i[145].value))&&u(e,"data-value",s),(!c||_[0]&2048&&a!==(a=i[145].displayValue))&&u(e,"aria-label",a),(!c||_[0]&256)&&M(e,"item-mobile",i[8])},i(w){c||(d(h),c=!0)},o(w){g(h),c=!1},d(w){w&&P(e),h&&h.d(),f=!1,nt(m)}}}function da(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,w,_,S,y,k,V,G,I,Q,se;n=new Hn({props:{direction:"left"}});let te=!i[9]&&ma(),N=i[9]&&pa();return{c(){e=A("div"),t=A("div"),W(n.$$.fragment),o=R(),r=A("div"),r.textContent=`${Y("submenu_traffic_saving")}`,l=R(),s=A("div"),a=R(),c=A("ul"),f=A("li"),te&&te.c(),m=R(),h=A("div"),h.textContent=`${Y("traffic_saving_disable")}`,b=R(),v=A("li"),N&&N.c(),w=R(),_=A("div"),_.textContent=`${Y("traffic_saving_enable")}`,S=R(),y=A("div"),k=R(),V=A("div"),G=A("span"),G.textContent=`${Y("traffic_saving_helper_text")}`,u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",Y("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),M(h,"quality-title-mobile",i[8]),u(f,"class","item item-traffic-saving v-5r0p3"),u(f,"role","menuitem"),u(f,"tabindex","0"),u(f,"aria-label",Y("aria_label_submenu_traffic_saving_off")),M(f,"item-mobile",i[8]),u(_,"class","v-5r0p3"),M(_,"quality-title-mobile",i[8]),u(v,"class","item item-traffic-saving v-5r0p3"),u(v,"role","menuitem"),u(v,"tabindex","0"),u(v,"aria-label",`${Y("aria_label_submenu_traffic_saving_on")}. ${Y("traffic_saving_helper_text")}`),M(v,"item-mobile",i[8]),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",i[23]),M(c,"items-mobile",i[8]),u(y,"class","menu-divider v-5r0p3"),u(G,"class","v-5r0p3"),u(V,"class","item item-helper-text v-5r0p3"),M(V,"item-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m($,C){E($,e,C),p(e,t),U(n,t,null),p(t,o),p(t,r),i[125](t),p(e,l),p(e,s),p(e,a),p(e,c),p(c,f),te&&te.m(f,null),p(f,m),p(f,h),p(c,b),p(c,v),N&&N.m(v,null),p(v,w),p(v,_),i[130](c),p(e,S),p(e,y),p(e,k),p(e,V),p(V,G),I=!0,Q||(se=[ge(t,"click",rt(i[68])),ge(f,"click",rt(i[126])),ge(f,"keydown",i[127]),ge(v,"click",rt(i[128])),ge(v,"keydown",i[129]),ge(c,"keydown",i[90])],Q=!0)},p($,C){(!I||C[0]&256)&&M(t,"item-mobile",$[8]),$[9]?te&&(pe(),g(te,1,1,()=>{te=null}),he()):te?C[0]&512&&d(te,1):(te=ma(),te.c(),d(te,1),te.m(f,m)),(!I||C[0]&256)&&M(h,"quality-title-mobile",$[8]),(!I||C[0]&256)&&M(f,"item-mobile",$[8]),$[9]?N?C[0]&512&&d(N,1):(N=pa(),N.c(),d(N,1),N.m(v,w)):N&&(pe(),g(N,1,1,()=>{N=null}),he()),(!I||C[0]&256)&&M(_,"quality-title-mobile",$[8]),(!I||C[0]&256)&&M(v,"item-mobile",$[8]),(!I||C[0]&8388608)&&u(c,"style",$[23]),(!I||C[0]&256)&&M(c,"items-mobile",$[8]),(!I||C[0]&256)&&M(V,"item-mobile",$[8]),(!I||C[0]&256)&&M(e,"menu-desktop",!$[8]),(!I||C[0]&256)&&M(e,"menu-mobile",$[8])},i($){I||(d(n.$$.fragment,$),d(te),d(N),I=!0)},o($){g(n.$$.fragment,$),g(te),g(N),I=!1},d($){$&&P(e),j(n),i[125](null),te&&te.d(),N&&N.d(),i[130](null),Q=!1,nt(se)}}}function ma(i){let e,t,n;return t=new Zo({}),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),U(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),j(t)}}}function pa(i){let e,t,n;return t=new Zo({}),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),U(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),j(t)}}}function ha(i){let e,t,n,o,r,l,s,a,c,f;n=new Hn({props:{direction:"left"}});let m=Gt(i[10]),h=[];for(let v=0;v<m.length;v+=1)h[v]=ga(Gs(i,m,v));const b=v=>g(h[v],1,1,()=>{h[v]=null});return{c(){e=A("div"),t=A("div"),W(n.$$.fragment),o=R(),r=A("div"),r.textContent=`${Y("subtitles_caption")}`,l=R(),s=A("ul");for(let v=0;v<h.length;v+=1)h[v].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",Y("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","items v-5r0p3"),u(s,"role","menu"),M(s,"items-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(v,w){E(v,e,w),p(e,t),U(n,t,null),p(t,o),p(t,r),p(e,l),p(e,s);for(let _=0;_<h.length;_+=1)h[_]&&h[_].m(s,null);i[133](s),a=!0,c||(f=[ge(t,"click",rt(i[68])),ge(s,"keydown",i[87])],c=!0)},p(v,w){if((!a||w[0]&256)&&M(t,"item-mobile",v[8]),w[0]&1280|w[2]&67108896){m=Gt(v[10]);let _;for(_=0;_<m.length;_+=1){const S=Gs(v,m,_);h[_]?(h[_].p(S,w),d(h[_],1)):(h[_]=ga(S),h[_].c(),d(h[_],1),h[_].m(s,null))}for(pe(),_=m.length;_<h.length;_+=1)b(_);he()}(!a||w[0]&256)&&M(s,"items-mobile",v[8]),(!a||w[0]&256)&&M(e,"menu-desktop",!v[8]),(!a||w[0]&256)&&M(e,"menu-mobile",v[8])},i(v){if(!a){d(n.$$.fragment,v);for(let w=0;w<m.length;w+=1)d(h[w]);a=!0}},o(v){g(n.$$.fragment,v),h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)g(h[w]);a=!1},d(v){v&&P(e),j(n),Cn(h,v),i[133](null),c=!1,nt(f)}}}function va(i){let e,t,n;return t=new Zo({}),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),U(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),j(t)}}}function ga(i){let e,t,n,o=i[142].displayValue+"",r,l,s,a,c,f,m,h=i[142].selected&&va();function b(){return i[131](i[142])}function v(...w){return i[132](i[142],...w)}return{c(){e=A("li"),h&&h.c(),t=R(),n=A("div"),r=Oe(o),l=R(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=i[142].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=i[142].displayValue),M(e,"item-mobile",i[8])},m(w,_){E(w,e,_),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),c=!0,f||(m=[ge(e,"click",rt(b)),ge(e,"keydown",v)],f=!0)},p(w,_){i=w,i[142].selected?h?_[0]&1024&&d(h,1):(h=va(),h.c(),d(h,1),h.m(e,t)):h&&(pe(),g(h,1,1,()=>{h=null}),he()),(!c||_[0]&1024)&&o!==(o=i[142].displayValue+"")&&$e(r,o),(!c||_[0]&256)&&M(n,"quality-title-mobile",i[8]),(!c||_[0]&1024&&s!==(s=i[142].value))&&u(e,"data-value",s),(!c||_[0]&1024&&a!==(a=i[142].displayValue))&&u(e,"aria-label",a),(!c||_[0]&256)&&M(e,"item-mobile",i[8])},i(w){c||(d(h),c=!0)},o(w){g(h),c=!1},d(w){w&&P(e),h&&h.d(),f=!1,nt(m)}}}function Vp(i){let e,t,n,o,r,l,s=i[14]&&Xs(i),a=i[16]&&la(i),c=i[17]&&ua(i),f=i[19]&&da(i),m=i[18]&&ha(i);return{c(){e=A("div"),s&&s.c(),t=R(),a&&a.c(),n=R(),c&&c.c(),o=R(),f&&f.c(),r=R(),m&&m.c(),u(e,"class","v-5r0p3"),M(e,"hidden",!i[14]),M(e,"container-mobile",i[8])},m(h,b){E(h,e,b),s&&s.m(e,null),p(e,t),a&&a.m(e,null),p(e,n),c&&c.m(e,null),p(e,o),f&&f.m(e,null),p(e,r),m&&m.m(e,null),l=!0},p(h,b){h[14]?s?(s.p(h,b),b[0]&16384&&d(s,1)):(s=Xs(h),s.c(),d(s,1),s.m(e,t)):s&&(pe(),g(s,1,1,()=>{s=null}),he()),h[16]?a?(a.p(h,b),b[0]&65536&&d(a,1)):(a=la(h),a.c(),d(a,1),a.m(e,n)):a&&(pe(),g(a,1,1,()=>{a=null}),he()),h[17]?c?(c.p(h,b),b[0]&131072&&d(c,1)):(c=ua(h),c.c(),d(c,1),c.m(e,o)):c&&(pe(),g(c,1,1,()=>{c=null}),he()),h[19]?f?(f.p(h,b),b[0]&524288&&d(f,1)):(f=da(h),f.c(),d(f,1),f.m(e,r)):f&&(pe(),g(f,1,1,()=>{f=null}),he()),h[18]?m?(m.p(h,b),b[0]&262144&&d(m,1)):(m=ha(h),m.c(),d(m,1),m.m(e,null)):m&&(pe(),g(m,1,1,()=>{m=null}),he()),(!l||b[0]&16384)&&M(e,"hidden",!h[14]),(!l||b[0]&256)&&M(e,"container-mobile",h[8])},i(h){l||(d(s),d(a),d(c),d(f),d(m),l=!0)},o(h){g(s),g(a),g(c),g(f),g(m),l=!1},d(h){h&&P(e),s&&s.d(),a&&a.d(),c&&c.d(),f&&f.d(),m&&m.d()}}}const Jl=18;function Mp(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,v,w,_,S,y,k,V,G,I,Q,se,te,N,{ref:$=void 0}=e,{supportLink:C}=e,{playerControlsHeight:D=0}=e,{returnFocus:ce}=e;const T=Et(),re=gn(),O=T.state.currentQuality$;z(i,O,ne=>t(103,w=ne));const le=T.state.availableQualities$;z(i,le,ne=>t(12,b=ne));const me=T.state.autoQualityLimitingAvailable$;z(i,me,ne=>t(107,k=ne));const ze=T.state.isAutoQualityEnabled$;z(i,ze,ne=>t(104,_=ne));const He=T.state.currentPlaybackRate$;z(i,He,ne=>t(13,v=ne));const Ee=T.state.availablePlaybackRates$;z(i,Ee,ne=>t(11,m=ne));const de=T.state.currentSubtitle$;z(i,de,ne=>t(37,te=ne));const ke=T.state.availableSubtitlesList$;z(i,ke,ne=>t(10,c=ne));const X=T.state.canDownload,F=T.state.hasMpegSources$;z(i,F,ne=>t(108,V=ne));const Te=T.ui.settingsMenuVisible;z(i,Te,ne=>t(14,se=ne));const ae=T.ui.settingsMenuOpenedByKeyboard;z(i,ae,ne=>t(135,o=ne));const Pe=T.ui.isMobile;z(i,Pe,ne=>t(8,r=ne));const Ve=T.ui.mobileNotReportControlHidden$;z(i,Ve,ne=>t(105,S=ne));const Re=T.state.canChangePlaybackSpeed$;z(i,Re,ne=>t(106,y=ne));const Se=T.ui.isFullscreen;z(i,Se,ne=>t(111,Q=ne));const ue=T.state.trafficSavingEnabled$;z(i,ue,ne=>t(9,s=ne));const J=T.ui.playerSize;z(i,J,ne=>t(110,I=ne));const H=T.ui.debugPanelVisible;z(i,H,ne=>t(38,N=ne));const Ae=T.ui.playerSize;z(i,Ae,ne=>t(109,G=ne));const tt=T.state.isInteractiveTime$,ot=T.actions.internal.downloadVideo,Ue=T.actions.internal.closeSettingsMenu;let Me=!0,Qe=!1,at=!1,_t=!1,it=!1,De=!1;function yt(){o||ce==null||ce(),Ue(),De=!1}function Lt(){t(15,Me=!1),t(16,Qe=!0)}function It(){t(15,Me=!1),t(19,it=!0)}function ui(ne){T.actions.internal.setQuality(ne),yt()}function fe(ne){T.actions.internal.setTrafficSavingEnabled(ne),yt()}function kt(){t(15,Me=!1),t(17,at=!0)}function st(ne){T.actions.internal.setPlaybackRate(ne),yt()}function St(){t(15,Me=!1),t(18,_t=!0)}function pt(ne){T.actions.internal.setSubtitle(ne),yt()}function At(){t(15,Me=!0),t(16,Qe=!1),t(17,at=!1),t(18,_t=!1),t(19,it=!1)}function Xe(){ot(),yt()}function Fe(){window.open(C,"_blank"),yt(),T.actions.internal.pause()}function Vt(){cr(T.actions.internal.getDebugTextData()),yt()}function ci(){H.set(!0),yt()}function ki(){De=!0}function Yi(){De=!1}function Si(ne,et,Ft){if(!ne)return"...";const Xi=et.find(rn=>rn.value===ne),dt=Xi?Xi.displayValue:ne;return Ft?ne===xe.VideoQuality.INVARIANT?Y("auto_quality_invariant"):Y("auto_quality",{actual:dt}):dt}let Fi,fi,Rt,Wt,Ci,Yt,ni,oi,Pi,Qt,Mt,Hi,di,Ti,Ot,Xt,mi,pi=Le(!1);z(i,pi,ne=>t(102,h=ne));let jt,ct,ft=Le(!1);z(i,ft,ne=>t(101,f=ne));let Dt,Bt,Ui=Le(!1);z(i,Ui,ne=>t(100,a=ne));let Ei,Jt,Zt=Le(!1);z(i,Zt,ne=>t(99,l=ne));const ji=ne=>{Bc(ne,Ue)},xt=ne=>Ji(this,null,function*(){ul(ne,Lt,()=>{const et=b.findIndex(Ft=>Ft.selected);return mi.childNodes[et]})}),xi=ne=>Ji(this,null,function*(){cl(ne,At,pi,Ue)}),li=(ne,et)=>{on(ne,()=>ui(et))},Ai=ne=>Ji(this,null,function*(){ul(ne,kt,()=>{const et=m.findIndex(Ft=>Ft.selected);return ct.childNodes[et]})}),Nt=ne=>Ji(this,null,function*(){cl(ne,At,ft,Ue)}),Li=(ne,et)=>{on(ne,()=>st(et))},Ct=ne=>Ji(this,null,function*(){ul(ne,St,()=>{const et=c.findIndex(Ft=>Ft.selected);return Bt.childNodes[et]})}),$t=ne=>Ji(this,null,function*(){cl(ne,At,Ui,Ue)}),Qi=(ne,et)=>{on(ne,()=>pt(et))},qi=ne=>Ji(this,null,function*(){ul(ne,It,()=>{const et=s?2:0;return Jt.childNodes[et]})}),hi=ne=>Ji(this,null,function*(){cl(ne,At,Zt,Ue)}),Kt=(ne,et)=>{on(ne,()=>fe(et))},Wi=ne=>{on(ne,()=>Xe())},Zi=ne=>{on(ne,()=>Fe())},Ii=ne=>{on(ne,()=>Vt())},Vi=ne=>{on(ne,()=>ci())};vn(()=>{const ne=tt.subscribe(et=>{et&&!r&&!De&&!o&&yt()});return()=>{ne()}});function Ki(ne){ye[ne?"unshift":"push"](()=>{Xt=ne,t(4,Xt)})}function Ie(ne){ye[ne?"unshift":"push"](()=>{jt=ne,t(5,jt)})}function vi(ne){ye[ne?"unshift":"push"](()=>{Dt=ne,t(6,Dt)})}function Gi(ne){ye[ne?"unshift":"push"](()=>{Ei=ne,t(7,Ei)})}function Mi(ne){ye[ne?"unshift":"push"](()=>{$=ne,t(0,$)})}function ri(ne){ye[ne?"unshift":"push"](()=>{fi=ne,t(1,fi)})}const gi=ne=>ui(ne.value),qe=(ne,et)=>li(et,ne.value);function Bi(ne){ye[ne?"unshift":"push"](()=>{mi=ne,t(32,mi)})}function bi(ne){ye[ne?"unshift":"push"](()=>{Rt=ne,t(2,Rt)})}const Ni=ne=>st(ne.value),zt=(ne,et)=>Li(et,ne.value);function mn(ne){ye[ne?"unshift":"push"](()=>{ct=ne,t(33,ct)})}function bn(ne){ye[ne?"unshift":"push"](()=>{Wt=ne,t(3,Wt)})}const Ri=()=>fe(!1),_i=ne=>Kt(ne,!1),wi=()=>fe(!0),ln=ne=>Kt(ne,!0);function $i(ne){ye[ne?"unshift":"push"](()=>{Jt=ne,t(35,Jt)})}const en=ne=>pt(ne),tn=(ne,et)=>Qi(et,ne);function Oi(ne){ye[ne?"unshift":"push"](()=>{Bt=ne,t(34,Bt)})}return i.$$set=ne=>{"ref"in ne&&t(0,$=ne.ref),"supportLink"in ne&&t(96,C=ne.supportLink),"playerControlsHeight"in ne&&t(97,D=ne.playerControlsHeight),"returnFocus"in ne&&t(98,ce=ne.returnFocus)},i.$$.update=()=>{var ne,et,Ft,Xi;if(i.$$.dirty[0]&16384&&se&&(t(15,Me=!0),t(16,Qe=!1),t(17,at=!1),t(18,_t=!1),t(19,it=!1)),i.$$.dirty[3]&1024&&t(36,n=Ao(w)),i.$$.dirty[0]&4096|i.$$.dirty[3]&3072&&t(20,Fi=Si(w,b,_)),i.$$.dirty[0]&258|i.$$.dirty[3]&458768)if(r&&Q)t(21,Ci=`max-height: ${Math.round(I.height*.6)}px`);else if(r)t(21,Ci="");else{const dt=G.height-Jl-((ne=fi==null?void 0:fi.clientHeight)!=null?ne:0)-D;t(21,Ci=`max-height: ${dt}px; overflow: auto;`)}if(i.$$.dirty[0]&260|i.$$.dirty[3]&65552)if(r)t(22,Yt="");else{const dt=G.height-Jl-((et=Rt==null?void 0:Rt.clientHeight)!=null?et:0)-D;t(22,Yt=`max-height: ${dt}px; overflow: auto;`)}if(i.$$.dirty[0]&264|i.$$.dirty[3]&65552)if(r)t(23,ni="");else{const dt=G.height-Jl-((Ft=Wt==null?void 0:Wt.clientHeight)!=null?Ft:0)-D;t(23,ni=`max-height: ${dt}px; overflow: auto;`)}i.$$.dirty[3]&36864&&t(24,oi=X&&V&&!S),i.$$.dirty[3]&20480&&t(25,Pi=re.features.trafficSaving&&!S&&k),i.$$.dirty[0]&1024|i.$$.dirty[3]&4096&&t(26,Qt=c.length>0&&!S),i.$$.dirty[3]&12288&&t(27,Mt=!!y&&!S),i.$$.dirty[3]&4096&&t(28,Hi=!S),i.$$.dirty[0]&512&&t(29,di=Y(s?"traffic_saving_on":"traffic_saving_off")),i.$$.dirty[3]&3072&&t(30,Ti=_?Y("auto_quality_option"):w),i.$$.dirty[0]&10240&&t(31,Ot=(Xi=m.find(dt=>dt.value===v))==null?void 0:Xi.displayValue),i.$$.dirty[0]&16|i.$$.dirty[3]&512&&al(Xt,pi,h),i.$$.dirty[0]&32|i.$$.dirty[3]&256&&al(jt,ft,f),i.$$.dirty[0]&64|i.$$.dirty[3]&128&&al(Dt,Ui,a),i.$$.dirty[0]&128|i.$$.dirty[3]&64&&al(Ei,Zt,l)},[$,fi,Rt,Wt,Xt,jt,Dt,Ei,r,s,c,m,b,v,se,Me,Qe,at,_t,it,Fi,Ci,Yt,ni,oi,Pi,Qt,Mt,Hi,di,Ti,Ot,mi,ct,Bt,Jt,n,te,N,re,O,le,me,ze,He,Ee,de,ke,F,Te,ae,Pe,Ve,Re,Se,ue,J,H,Ae,yt,Lt,It,ui,fe,kt,st,St,pt,At,Xe,Fe,Vt,ci,ki,Yi,pi,ft,Ui,Zt,ji,xt,xi,li,Ai,Nt,Li,Ct,$t,Qi,qi,hi,Kt,Wi,Zi,Ii,Vi,C,D,ce,l,a,f,h,w,_,S,y,k,V,G,I,Q,Ki,Ie,vi,Gi,Mi,ri,gi,qe,Bi,bi,Ni,zt,mn,bn,Ri,_i,wi,ln,$i,en,tn,Oi]}class Wc extends we{constructor(e){super(),_e(this,e,Mp,Vp,be,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},Lp,[-1,-1,-1,-1,-1])}}function Bp(i){je(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function Np(i){let e,t,n;return t=new jc({props:{isMobile:i[3],currentQuality:i[4]}}),{c(){e=A("span"),W(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,r){E(o,e,r),U(t,e,null),n=!0},p(o,r){const l={};r&8&&(l.isMobile=o[3]),r&16&&(l.currentQuality=o[4]),t.$set(l)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),j(t)}}}function Rp(i){let e,t,n;function o(l){i[9](l)}let r={className:i[1]?"opened":"",testId:"btn-settings",click:i[8],ariaLabel:i[2],ariaExpanded:i[1],$$slots:{default:[Np]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new yi({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"opened":""),s&4&&(a.ariaLabel=l[2]),s&2&&(a.ariaExpanded=l[1]),s&4120&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function Op(i,e,t){let n,o,r,{ref:l=void 0}=e;const s=Et(),a=s.state.currentQuality$;z(i,a,w=>t(4,r=w));const c=s.ui.settingsMenuVisible;z(i,c,w=>t(1,n=w));const f=s.actions.internal.toggleSettingsMenu,m=s.ui.isMobile;z(i,m,w=>t(3,o=w));let h;function b(w){const _=yr(w);f(_)}function v(w){l=w,t(0,l)}return i.$$set=w=>{"ref"in w&&t(0,l=w.ref)},i.$$.update=()=>{i.$$.dirty&2&&t(2,h=Y(n?"tooltip_settings_on":"tooltip_settings_off"))},[l,n,h,o,r,a,c,m,b,v]}class Pr extends we{constructor(e){super(),_e(this,e,Op,Rp,be,{ref:0},Bp)}}function Dp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class zp extends we{constructor(e){super(),_e(this,e,null,Dp,be,{})}}function Fp(i){let e,t;return e=new qc({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Hp(i){let e,t;return e=new zp({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Up(i){let e,t,n,o;const r=[Hp,Fp],l=[];function s(a,c){return a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=gt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e!==f&&(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t||(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function jp(i){let e,t;return e=new yi({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],ariaKeyShortCut:Fo[Ce.KeyC],$$slots:{default:[Up]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,[o]){const r={};o&4&&(r.ariaLabel=n[2]),o&2&&(r.click=n[1]),o&9&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function qp(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,r;return i.$$set=l=>{"isSubtitlesEnabled"in l&&t(0,n=l.isSubtitlesEnabled),"click"in l&&t(1,o=l.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=Y(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,r]}class Wp extends we{constructor(e){super(),_e(this,e,qp,jp,be,{isSubtitlesEnabled:0,click:1})}}function Zp(i){je(i,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function ba(i){let e,t;return{c(){e=A("span"),t=Oe(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o&8&&$e(t,n[3])},d(n){n&&P(e)}}}function Kp(i){let e,t,n,o,r=i[2]&&ba(i);return{c(){e=A("div"),t=A("span"),n=Oe(i[4]),o=R(),r&&r.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),M(e,"mobile",i[1])},m(l,s){E(l,e,s),p(e,t),p(t,n),p(e,o),r&&r.m(e,null),i[7](e)},p(l,[s]){s&16&&$e(n,l[4]),l[2]?r?r.p(l,s):(r=ba(l),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&2&&M(e,"mobile",l[1])},i:K,o:K,d(l){l&&P(e),r&&r.d(),i[7](null)}}}function Gp(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:r}=e,{showDuration:l=!0}=e,{ref:s}=e,a,c;function f(m){ye[m?"unshift":"push"](()=>{s=m,t(0,s)})}return i.$$set=m=>{"isMobile"in m&&t(1,n=m.isMobile),"duration"in m&&t(5,o=m.duration),"position"in m&&t(6,r=m.position),"showDuration"in m&&t(2,l=m.showDuration),"ref"in m&&t(0,s=m.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=Vn(o)),i.$$.dirty&64&&t(4,c=Vn(r))},[s,n,l,a,c,o,r,f]}class Zc extends we{constructor(e){super(),_e(this,e,Gp,Kp,be,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},Zp)}}function Yp(i){je(i,"v-1n5yyua",".icon.v-1n5yyua.v-1n5yyua{display:block;width:24px;height:24px}.icon.v-1n5yyua .cross.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .wave1.v-1n5yyua,.icon[data-value='off'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .cross.v-1n5yyua{visibility:visible}.icon[data-value='mid'].v-1n5yyua .wave2.v-1n5yyua,.icon[data-value='min'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}")}function Qp(i){let e,t,n,o,r,l;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(r,"class","cross v-1n5yyua"),u(r,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"data-value",i[0]),u(e,"data-testid",l="volume-"+i[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(s,a){E(s,e,a),p(e,t),p(t,n),p(t,o),p(t,r)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&l!==(l="volume-"+s[0]+"-icon")&&u(e,"data-testid",l)},i:K,o:K,d(s){s&&P(e)}}}function Xp(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const r=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let l;return i.$$set=s=>{"volume"in s&&t(1,n=s.volume),"muted"in s&&t(2,o=s.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,l=r(n,o))},[l,n,o]}class Cl extends we{constructor(e){super(),_e(this,e,Xp,Qp,be,{volume:1,muted:2},Yp)}}function Jp(i){let e,t;const n=i[4].default,o=Mn(n,i,i[3],null);return{c(){e=A("div"),o&&o.c(),u(e,"class","overlay")},m(r,l){E(r,e,l),o&&o.m(e,null),i[5](e),t=!0},p(r,[l]){o&&o.p&&(!t||l&8)&&Nn(o,n,r,r[3],t?Bn(n,r[3],l,null):Rn(r[3]),null)},i(r){t||(d(o,r),t=!0)},o(r){g(o,r),t=!1},d(r){r&&P(e),o&&o.d(r),i[5](null)}}}function xp(i,e,t){let n,{$$slots:o={},$$scope:r}=e;const s=Et().ui.overlayContainer$;z(i,s,h=>t(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};vn(()=>(f(n),()=>c(n)));function m(h){ye[h?"unshift":"push"](()=>{a=h,t(0,a)})}return i.$$set=h=>{"$$scope"in h&&t(3,r=h.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&f(n)},[a,s,n,r,o,m]}class $p extends we{constructor(e){super(),_e(this,e,xp,Jp,be,{})}}function eh(i){je(i,"v-1jbbzcj",'.tooltip-wrapper.v-1jbbzcj{display:flex;flex-direction:column;min-width:0}.full-width.v-1jbbzcj{width:100%}.tooltip.v-1jbbzcj{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-1jbbzcj{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-1jbbzcj{opacity:1;visibility:visible}.tooltip-pointer.v-1jbbzcj{position:absolute;bottom:0;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}')}function _a(i){let e,t;return e=new $p({props:{$$slots:{default:[th]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&262387&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function th(i){let e,t,n,o,r,l,s;return{c(){e=A("div"),t=A("div"),n=Oe(i[1]),o=R(),r=A("div"),u(t,"class","content v-1jbbzcj"),u(r,"class","tooltip-pointer v-1jbbzcj"),u(r,"style",l=`transform: translate(${i[5]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",s=`transform: translate(${i[6]}px, ${i[7]}px);`),M(e,"active",i[0])},m(a,c){E(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),i[17](e)},p(a,c){c&2&&$e(n,a[1]),c&32&&l!==(l=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(r,"style",l),c&192&&s!==(s=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",s),c&1&&M(e,"active",a[0])},d(a){a&&P(e),i[17](null)}}}function ih(i){let e,t,n,o,r,l;const s=i[15].default,a=Mn(s,i,i[18],null);let c=i[1]&&_a(i);return{c(){e=A("div"),a&&a.c(),t=R(),c&&c.c(),n=gt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),M(e,"full-width",i[2])},m(f,m){E(f,e,m),a&&a.m(e,null),i[16](e),E(f,t,m),c&&c.m(f,m),E(f,n,m),o=!0,r||(l=[ge(e,"mouseenter",i[11]),ge(e,"mousemove",i[11]),ge(e,"mouseleave",i[12]),ge(e,"mousedown",i[12]),ge(e,"mouseup",i[11])],r=!0)},p(f,[m]){a&&a.p&&(!o||m&262144)&&Nn(a,s,f,f[18],o?Bn(s,f[18],m,null):Rn(f[18]),null),(!o||m&4)&&M(e,"full-width",f[2]),f[1]?c?(c.p(f,m),m&2&&d(c,1)):(c=_a(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(pe(),g(c,1,1,()=>{c=null}),he())},i(f){o||(d(a,f),d(c),o=!0)},o(f){g(a,f),g(c),o=!1},d(f){f&&(P(e),P(t),P(n)),a&&a.d(f),i[16](null),c&&c.d(f),r=!1,nt(l)}}}const fl=5;function nh(i,e,t){let n,o,{$$slots:r={},$$scope:l}=e,{content:s=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:m=!1}=e,h,b,v,w=0,_=fl,S=0,y=0;const k=gn(),V=Et(),G=V.ui.playerSize;z(i,G,T=>t(21,o=T));const I=V.ui.overlayContainer$;z(i,I,T=>t(20,n=T));const Q=V.getLogger().createComponentLog("Tooltip component"),se=()=>{if(!n)return;const T=n.getBoundingClientRect(),re=h.getBoundingClientRect(),O=re.width,le=b.clientWidth,me=o.width,ze=(O-le)/2,He=re.left+c-T.left;let Ee=He+ze;const de=re.top+f-T.top;let ke=le/2-fl;const X=Ee<tl,F=Ee+le>me-tl;X&&(Ee=tl,ke=He+re.width/2-2.5*fl),F&&(Ee=me-tl-le,ke=re.left-T.left+re.width/2-Ee-fl),t(6,S=Ee),t(7,y=de),t(5,w=ke)},te=()=>{try{if(!n||!h)return;se(),t(0,a=!0)}catch(T){Q({message:String(T)})}},N=()=>{t(0,a=!1)},$=()=>{b&&(v||(v=window.setTimeout(te,k.controls.hideTimeoutTooltips)),a&&te())},C=()=>{N(),window.clearTimeout(v),v=void 0};_l(()=>window.clearTimeout(v));function D(T){ye[T?"unshift":"push"](()=>{h=T,t(3,h)})}function ce(T){ye[T?"unshift":"push"](()=>{b=T,t(4,b)})}return i.$$set=T=>{"content"in T&&t(1,s=T.content),"active"in T&&t(0,a=T.active),"translateX"in T&&t(13,c=T.translateX),"translateY"in T&&t(14,f=T.translateY),"isFullWidthWrapper"in T&&t(2,m=T.isFullWidthWrapper),"$$scope"in T&&t(18,l=T.$$scope)},[a,s,m,h,b,w,S,y,_,G,I,$,C,c,f,r,D,ce,l]}class Kc extends we{constructor(e){super(),_e(this,e,nh,ih,be,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},eh)}}function oh(i){je(i,"v-p9r045",".btn-container.v-p9r045{position:relative;display:flex;align-items:center;height:100%;transition:var(--button-hover-transition);will-change:opacity;-webkit-tap-highlight-color:transparent}.w-max.v-p9r045{width:100%;min-width:0}")}function lh(i){let e;const t=i[16].default,n=Mn(t,i,i[21],null);return{c(){n&&n.c()},m(o,r){n&&n.m(o,r),e=!0},p(o,r){n&&n.p&&(!e||r&2097152)&&Nn(n,t,o,o[21],e?Bn(t,o[21],r,null):Rn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function rh(i){let e,t;return e=new Kc({props:{content:i[9],translateX:i[7],translateY:i[8],isFullWidthWrapper:i[4],$$slots:{default:[sh]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&512&&(r.content=n[9]),o&128&&(r.translateX=n[7]),o&256&&(r.translateY=n[8]),o&16&&(r.isFullWidthWrapper=n[4]),o&2097152&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function sh(i){let e;const t=i[16].default,n=Mn(t,i,i[21],null);return{c(){n&&n.c()},m(o,r){n&&n.m(o,r),e=!0},p(o,r){n&&n.p&&(!e||r&2097152)&&Nn(n,t,o,o[21],e?Bn(t,o[21],r,null):Rn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function ah(i){let e,t,n,o,r,l,s,a,c;const f=[rh,lh],m=[];function h(b,v){return b[3]&&b[5]&&!b[10]?0:1}return t=h(i),n=m[t]=f[t](i),{c(){e=A("div"),n.c(),u(e,"class",o="btn-container "+i[2]+" v-p9r045"),u(e,"aria-hidden",r=i[6]||null),Po(()=>i[20].call(e))},m(b,v){E(b,e,v),m[t].m(e,null),i[19](e),l=fr(e,i[20].bind(e)),s=!0,a||(c=[ge(e,"pointerdown",rt(ii(i[17]))),ge(e,"click",rt(ii(i[18])))],a=!0)},p(b,[v]){let w=t;t=h(b),t===w?m[t].p(b,v):(pe(),g(m[w],1,1,()=>{m[w]=null}),he(),n=m[t],n?n.p(b,v):(n=m[t]=f[t](b),n.c()),d(n,1),n.m(e,null)),(!s||v&4&&o!==(o="btn-container "+b[2]+" v-p9r045"))&&u(e,"class",o),(!s||v&64&&r!==(r=b[6]||null))&&u(e,"aria-hidden",r)},i(b){s||(d(n),s=!0)},o(b){g(n),s=!1},d(b){b&&P(e),m[t].d(),i[19](null),l(),a=!1,nt(c)}}}function uh(i,e,t){let n,o,{$$slots:r={},$$scope:l}=e,{className:s=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:m=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:b=""}=e,{disabledTooltipContent:v=Y("tooltip_button_disabled")}=e,{isAriaHidden:w=!1}=e,{initialTranslateXPx:_=0}=e,{initialTranslateYPx:S=-18}=e;const y=Et(),k=y.ui.isMobile;z(i,k,N=>t(10,o=N));const V=y.state.graphIsOpened$;z(i,V,N=>t(15,n=N));let G;function I(N){Co.call(this,i,N)}function Q(N){Co.call(this,i,N)}function se(N){ye[N?"unshift":"push"](()=>{f=N,t(0,f)})}function te(){m=this.clientWidth,t(1,m)}return i.$$set=N=>{"className"in N&&t(2,s=N.className),"disabled"in N&&t(13,a=N.disabled),"hasTooltip"in N&&t(3,c=N.hasTooltip),"ref"in N&&t(0,f=N.ref),"width"in N&&t(1,m=N.width),"isFullWidthTooltip"in N&&t(4,h=N.isFullWidthTooltip),"tooltipContent"in N&&t(5,b=N.tooltipContent),"disabledTooltipContent"in N&&t(14,v=N.disabledTooltipContent),"isAriaHidden"in N&&t(6,w=N.isAriaHidden),"initialTranslateXPx"in N&&t(7,_=N.initialTranslateXPx),"initialTranslateYPx"in N&&t(8,S=N.initialTranslateYPx),"$$scope"in N&&t(21,l=N.$$scope)},i.$$.update=()=>{i.$$.dirty&57376&&(a?t(9,G=n?Y("tooltip_disabled_when_graph_on"):v):t(9,G=b))},[f,m,s,c,h,b,w,_,S,G,o,k,V,a,v,n,r,I,Q,se,te,l]}class qt extends we{constructor(e){super(),_e(this,e,uh,ah,be,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},oh)}}function ch(i){let e,t,n,o,r;return{c(){e=B("svg"),t=B("rect"),o=B("path"),u(t,"width","20"),u(t,"height","20"),u(t,"rx","10"),u(t,"fill","white"),u(t,"fill-opacity",n=i[0]?1:.24),u(o,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(o,"fill",r=i[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,s){E(l,e,s),p(e,t),p(e,o)},p(l,[s]){s&1&&n!==(n=l[0]?1:.24)&&u(t,"fill-opacity",n),s&1&&r!==(r=l[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",r)},i:K,o:K,d(l){l&&P(e)}}}function fh(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class dh extends we{constructor(e){super(),_e(this,e,fh,ch,be,{completed:0})}}function mh(i){je(i,"v-bklhpe",".interactive-episode-icon.v-bklhpe{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}.interactive-episode-icon.disabled.v-bklhpe{pointer-events:none;opacity:0.4}")}function ph(i){let e,t,n,o,r;return t=new dh({props:{completed:!!i[0].completed}}),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),Po(()=>i[3].call(e)),M(e,"disabled",i[1])},m(l,s){E(l,e,s),U(t,e,null),o=fr(e,i[3].bind(e)),r=!0},p(l,s){const a={};s&1&&(a.completed=!!l[0].completed),t.$set(a),(!r||s&1&&n!==(n=`left: ${l[0].from+l[0].width/2}%`))&&u(e,"style",n),(!r||s&2)&&M(e,"disabled",l[1])},i(l){r||(d(t.$$.fragment,l),r=!0)},o(l){g(t.$$.fragment,l),r=!1},d(l){l&&P(e),j(t),o()}}}function hh(i){let e,t;return e=new qt({props:{tooltipContent:Y(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:[ph]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.tooltipContent=Y(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(r.disabled=n[1]),o&4&&(r.width=n[2]||0),o&23&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function vh(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,r;function l(){r=this.clientWidth,t(2,r)}return i.$$set=s=>{"videoEpisode"in s&&t(0,n=s.videoEpisode),"disabled"in s&&t(1,o=s.disabled)},[n,o,r,l]}class gh extends we{constructor(e){super(),_e(this,e,vh,hh,be,{videoEpisode:0,disabled:1},mh)}}function bh(i){je(i,"v-1h9p3m2",".video-episodes-wrap.v-1h9p3m2{position:absolute;width:100%;height:100%}.video-episode.v-1h9p3m2{position:absolute;height:calc(3 * var(--slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--slider-height) var(--slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-1h9p3m2:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-1h9p3m2,.video-episode-loaded.v-1h9p3m2,.video-episode-filled.v-1h9p3m2{position:absolute;height:var(--slider-height);border-radius:var(--slider-radius)}.video-episode-inner.v-1h9p3m2{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--slider-video-episode-gap));background:var(--slider-bg)}.video-episode-loaded.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}")}function wa(i,e,t){const n=i.slice();return n[2]=e[t],n}function ya(i){let e,t,n,o,r,l,s,a,c;return{c(){e=A("div"),t=A("div"),n=A("div"),r=R(),l=A("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(l,"class","video-episode-filled v-1h9p3m2"),u(l,"style",s=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),M(l,"mobile",i[1]),u(t,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${i[2].from}%; width: ${i[2].width}%`),M(e,"mobile",i[1])},m(f,m){E(f,e,m),p(e,t),p(t,n),p(t,r),p(t,l),p(e,a)},p(f,m){m&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),m&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(l,"style",s),m&2&&M(l,"mobile",f[1]),m&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),m&2&&M(e,"mobile",f[1])},d(f){f&&P(e)}}}function _h(i){let e,t=Gt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=ya(wa(i,t,o));return{c(){e=A("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,r){E(o,e,r);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,[r]){if(r&3){t=Gt(o[0]);let l;for(l=0;l<t.length;l+=1){const s=wa(o,t,l);n[l]?n[l].p(s,r):(n[l]=ya(s),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},i:K,o:K,d(o){o&&P(e),Cn(n,o)}}}function wh(i,e,t){let{videoEpisodes:n=[]}=e,{isMobile:o}=e;return i.$$set=r=>{"videoEpisodes"in r&&t(0,n=r.videoEpisodes),"isMobile"in r&&t(1,o=r.isMobile)},[n,o]}class yh extends we{constructor(e){super(),_e(this,e,wh,_h,be,{videoEpisodes:0,isMobile:1},bh)}}function kh(i){je(i,"v-1golz1y",".interactive-icons.v-1golz1y.v-1golz1y{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-1golz1y.v-1golz1y{top:-10px}.slider.v-1golz1y.v-1golz1y{position:relative;height:var(--slider-height);border-radius:var(--slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-1golz1y.v-1golz1y{cursor:default}.slider.v-1golz1y.v-1golz1y:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--controls-height) / 2 - var(--slider-height)) / 2);height:calc(var(--controls-height) / 2)}.bars.v-1golz1y.v-1golz1y{position:absolute;width:100%;height:100%;border-radius:var(--slider-radius);overflow:hidden;background:var(--slider-bg)}.loaded.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.filled.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}.slider.square.v-1golz1y.v-1golz1y,.slider.square.v-1golz1y>.bars.v-1golz1y,.slider.square.v-1golz1y .loaded.v-1golz1y,.slider.square.v-1golz1y .filled.v-1golz1y{border-radius:unset}.filled.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.filled.ads.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-ads)}.handleWrap.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%}.handle.v-1golz1y.v-1golz1y{position:absolute;width:var(--slider-handle-size);height:var(--slider-handle-size);right:calc(-1 * var(--slider-handle-size) / 2);top:calc((var(--slider-height) - var(--slider-handle-size)) / 2);border-radius:50%;background-color:var(--slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.slider.v-1golz1y:hover .handle.v-1golz1y,.slider-dragging.v-1golz1y .handle.v-1golz1y{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-1golz1y .handle.v-1golz1y{transform:scale(1.3)}.slider-vertical.v-1golz1y.v-1golz1y{position:absolute;left:-8px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.slider.disabled.v-1golz1y.v-1golz1y{cursor:default;pointer-events:none;opacity:0.4}")}function ka(i,e,t){const n=i.slice();return n[48]=e[t],n}function Sa(i){let e,t,n=Gt(i[21]),o=[];for(let l=0;l<n.length;l+=1)o[l]=Pa(ka(i,n,l));const r=l=>g(o[l],1,1,()=>{o[l]=null});return{c(){e=A("div");for(let l=0;l<o.length;l+=1)o[l].c();u(e,"class","interactive-icons v-1golz1y"),M(e,"mobile",i[5]),M(e,"hidden",i[5]&&!i[20])},m(l,s){E(l,e,s);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);t=!0},p(l,s){if(s[0]&2097664){n=Gt(l[21]);let a;for(a=0;a<n.length;a+=1){const c=ka(l,n,a);o[a]?(o[a].p(c,s),d(o[a],1)):(o[a]=Pa(c),o[a].c(),d(o[a],1),o[a].m(e,null))}for(pe(),a=n.length;a<o.length;a+=1)r(a);he()}(!t||s[0]&32)&&M(e,"mobile",l[5]),(!t||s[0]&1048608)&&M(e,"hidden",l[5]&&!l[20])},i(l){if(!t){for(let s=0;s<n.length;s+=1)d(o[s]);t=!0}},o(l){o=o.filter(Boolean);for(let s=0;s<o.length;s+=1)g(o[s]);t=!1},d(l){l&&P(e),Cn(o,l)}}}function Ca(i){let e,t;return e=new gh({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.videoEpisode=n[48]),o[0]&512&&(r.disabled=n[9]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Pa(i){let e,t,n=i[48].interactive&&Ca(i);return{c(){n&&n.c(),e=gt()},m(o,r){n&&n.m(o,r),E(o,e,r),t=!0},p(o,r){o[48].interactive?n?(n.p(o,r),r[0]&2097152&&d(n,1)):(n=Ca(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(pe(),g(n,1,1,()=>{n=null}),he())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function Sh(i){let e,t,n,o,r,l;return{c(){e=A("div"),t=A("div"),o=R(),r=A("div"),u(t,"class","loaded v-1golz1y"),u(t,"style",n=`transform: translateX(${i[11]*100}%);`),u(r,"class","filled v-1golz1y"),u(r,"style",l=`transform: translateX(${i[12]*100}%);`),M(r,"active-live",i[4]),M(r,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(s,a){E(s,e,a),p(e,t),p(e,o),p(e,r)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&l!==(l=`transform: translateX(${s[12]*100}%);`)&&u(r,"style",l),a[0]&16&&M(r,"active-live",s[4]),a[0]&64&&M(r,"ads",s[6])},i:K,o:K,d(s){s&&P(e)}}}function Ch(i){let e,t;return e=new yh({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.videoEpisodes=n[21]),o[0]&32&&(r.isMobile=n[5]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ph(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v=i[8]&&Sa(i);const w=[Ch,Sh],_=[];function S(y,k){return y[21].length?0:1}return n=S(i),o=_[n]=w[n](i),{c(){var y;v&&v.c(),e=R(),t=A("div"),o.c(),r=R(),l=A("div"),s=A("div"),u(s,"class","handle v-1golz1y"),M(s,"active-live",i[4]),u(l,"class","handleWrap v-1golz1y"),u(l,"style",a=`transform: translateX(${i[13]*100}%);`),M(l,"hidden",i[10]),u(t,"class",c="slider "+i[0]+" v-1golz1y"),u(t,"aria-label",i[14]),u(t,"aria-valuemin",i[15]),u(t,"aria-valuemax",i[16]),u(t,"aria-valuenow",i[17]),u(t,"aria-valuetext",i[18]),u(t,"role","slider"),u(t,"tabindex","0"),u(t,"data-testid",f=(y=i[1])!=null?y:null),M(t,"disabled",i[9]),M(t,"slider-dragging",i[20]),M(t,"hidden",i[2]),M(t,"slider-vertical",i[3]),M(t,"no-handle",i[10]),M(t,"square",i[7])},m(y,k){v&&v.m(y,k),E(y,e,k),E(y,t,k),_[n].m(t,null),p(t,r),p(t,l),p(l,s),i[42](t),m=!0,h||(b=[ge(t,"pointerdown",ii(i[22])),ge(t,"pointermove",ii(i[23])),ge(t,"pointerup",ii(i[24])),ge(t,"pointerenter",ii(i[25])),ge(t,"pointerleave",ii(i[26])),ge(t,"click",rt(oe.noop)),ge(t,"wheel",i[27])],h=!0)},p(y,k){var G;y[8]?v?(v.p(y,k),k[0]&256&&d(v,1)):(v=Sa(y),v.c(),d(v,1),v.m(e.parentNode,e)):v&&(pe(),g(v,1,1,()=>{v=null}),he());let V=n;n=S(y),n===V?_[n].p(y,k):(pe(),g(_[V],1,1,()=>{_[V]=null}),he(),o=_[n],o?o.p(y,k):(o=_[n]=w[n](y),o.c()),d(o,1),o.m(t,r)),(!m||k[0]&16)&&M(s,"active-live",y[4]),(!m||k[0]&8192&&a!==(a=`transform: translateX(${y[13]*100}%);`))&&u(l,"style",a),(!m||k[0]&1024)&&M(l,"hidden",y[10]),(!m||k[0]&1&&c!==(c="slider "+y[0]+" v-1golz1y"))&&u(t,"class",c),(!m||k[0]&16384)&&u(t,"aria-label",y[14]),(!m||k[0]&32768)&&u(t,"aria-valuemin",y[15]),(!m||k[0]&65536)&&u(t,"aria-valuemax",y[16]),(!m||k[0]&131072)&&u(t,"aria-valuenow",y[17]),(!m||k[0]&262144)&&u(t,"aria-valuetext",y[18]),(!m||k[0]&2&&f!==(f=(G=y[1])!=null?G:null))&&u(t,"data-testid",f),(!m||k[0]&513)&&M(t,"disabled",y[9]),(!m||k[0]&1048577)&&M(t,"slider-dragging",y[20]),(!m||k[0]&5)&&M(t,"hidden",y[2]),(!m||k[0]&9)&&M(t,"slider-vertical",y[3]),(!m||k[0]&1025)&&M(t,"no-handle",y[10]),(!m||k[0]&129)&&M(t,"square",y[7])},i(y){m||(d(v),d(o),m=!0)},o(y){g(v),g(o),m=!1},d(y){y&&(P(e),P(t)),v&&v.d(y),_[n].d(),i[42](null),h=!1,nt(b)}}}function Th(i,e,t){let n,o,{className:r=""}=e,{testId:l=void 0}=e,{isHidden:s=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:m=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:b=[]}=e,{withWheelHandler:v=!1}=e,{isInteractive:w=!1}=e,{disabled:_=!1}=e,{hideHandel:S=!1}=e,y,k,{onPointerDown:V=oe.noop}=e,{onHandleMove:G=oe.noop}=e,{onPointerUp:I=oe.noop}=e,{onPointerEnter:Q=oe.noop}=e,{onPointerMove:se=oe.noop}=e,{onPointerLeave:te=oe.noop}=e,{onWheelUp:N=oe.noop}=e,{onWheelDown:$=oe.noop}=e,{onWheelLeft:C=oe.noop}=e,{onWheelRight:D=oe.noop}=e,{loadedProgress:ce=0}=e,{filledProgress:T=0}=e,{handleProgress:re=0}=e,{ariaLabel:O=""}=e,{ariaValueMin:le=void 0}=e,{ariaValueMax:me=void 0}=e,{ariaValueNow:ze=void 0}=e,{ariaValueText:He=""}=e;const Ee=gn();let de=!1,ke;function X(H){if(de)return;t(20,de=!0),k=y.getBoundingClientRect();const Ae=Re(H.clientX,H.clientY);V(Ae),y.setPointerCapture(H.pointerId)}function F(H){const Ae=Re(H.clientX,H.clientY),tt=Se(H.clientX);se(Ae,tt,k.width),de&&G(Ae)}function Te(H){if(!de)return;t(20,de=!1);const Ae=Re(H.clientX,H.clientY);I(Ae)}function ae(H){k=y.getBoundingClientRect();const Ae=Re(H.clientX,H.clientY),tt=Se(H.clientX);Q(Ae,tt,k.width)}function Pe(){te()}function Ve(H){v&&(H.preventDefault(),H.deltaY<0?N():H.deltaY>0?$():H.deltaX>0?D():C())}function Re(H,Ae){return a?Math.max(0,Math.min(1,(k.height-(Ae-k.top))/k.height)):Math.min(Math.max(H-k.x,0),k.width)/k.width}function Se(H){return Math.min(Math.max(H-k.x,0),k.width)}function ue(H,Ae){const tt=Ee.features.episodesClustering&&!w?Ee.episodeMinWidthPc:0,ot=[];let Ue=0,Me=0,Qe=0;for(let it=1;it<b.length;it++)Me=b[it].time/ke*100,Me-Ue>tt&&(ot.push({from:Ue,width:Math.max(0,Me-Ue),loadedWidth:Math.max(0,Math.min(Me,H)-Ue),filledWidth:Math.max(0,Math.min(Me,Ae)-Ue),interactive:b[it-1].interactive,completed:b[it-1].completed}),Ue=b[it].time/ke*100,Qe++);const at={from:Ue,width:Math.max(0,100-Ue),loadedWidth:Math.max(0,Math.min(H,100)-Ue),filledWidth:Math.max(0,Math.min(Ae,100)-Ue),interactive:b[Qe].interactive,completed:b[Qe].completed};100-Ue<tt?(Qe-=1,ot[Qe].width+=100-Ue,ot[Qe].loadedWidth+=Math.max(0,Math.min(H,100)-Ue),ot[Qe].filledWidth+=Math.max(0,Math.min(Ae,100)-Ue)):ot[Qe]=at;const _t=b[0].time;if(_t!==0){const it=_t/ke*100;ot.unshift({from:0,width:it,loadedWidth:Math.min(it,H),filledWidth:Math.min(it,Ae)})}return ot}function J(H){ye[H?"unshift":"push"](()=>{y=H,t(19,y)})}return i.$$set=H=>{"className"in H&&t(0,r=H.className),"testId"in H&&t(1,l=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,m=H.isAds),"squareBorders"in H&&t(7,h=H.squareBorders),"videoEpisodes"in H&&t(28,b=H.videoEpisodes),"withWheelHandler"in H&&t(29,v=H.withWheelHandler),"isInteractive"in H&&t(8,w=H.isInteractive),"disabled"in H&&t(9,_=H.disabled),"hideHandel"in H&&t(10,S=H.hideHandel),"onPointerDown"in H&&t(30,V=H.onPointerDown),"onHandleMove"in H&&t(31,G=H.onHandleMove),"onPointerUp"in H&&t(32,I=H.onPointerUp),"onPointerEnter"in H&&t(33,Q=H.onPointerEnter),"onPointerMove"in H&&t(34,se=H.onPointerMove),"onPointerLeave"in H&&t(35,te=H.onPointerLeave),"onWheelUp"in H&&t(36,N=H.onWheelUp),"onWheelDown"in H&&t(37,$=H.onWheelDown),"onWheelLeft"in H&&t(38,C=H.onWheelLeft),"onWheelRight"in H&&t(39,D=H.onWheelRight),"loadedProgress"in H&&t(11,ce=H.loadedProgress),"filledProgress"in H&&t(12,T=H.filledProgress),"handleProgress"in H&&t(13,re=H.handleProgress),"ariaLabel"in H&&t(14,O=H.ariaLabel),"ariaValueMin"in H&&t(15,le=H.ariaValueMin),"ariaValueMax"in H&&t(16,me=H.ariaValueMax),"ariaValueNow"in H&&t(17,ze=H.ariaValueNow),"ariaValueText"in H&&t(18,He=H.ariaValueText)},i.$$.update=()=>{var H;i.$$.dirty[0]&65536&&t(40,ke=me!=null?me:0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=((H=b[b.length-1])==null?void 0:H.time)<ke),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=b.length&&n&&ke?ue(ce*100,T*100):[])},[r,l,s,a,c,f,m,h,w,_,S,ce,T,re,O,le,me,ze,He,y,de,o,X,F,Te,ae,Pe,Ve,b,v,V,G,I,Q,se,te,N,$,C,D,ke,n,J]}class Tr extends we{constructor(e){super(),_e(this,e,Th,Ph,be,{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},kh,[-1,-1])}}const yn=(i,e)=>Eo[i]>=Eo[e],Eh=(i,e)=>Eo[i]<Eo[e],Gc=(i,e)=>Eo[i]<=Eo[e],Ah=i=>i>wo.L?exports.GridTypes.XL:i>wo.M?exports.GridTypes.L:i>wo.S?exports.GridTypes.M:i>wo.XS?exports.GridTypes.S:exports.GridTypes.XS;function Lh(i){je(i,"v-1l78lz9",".volumeBar-container.v-1l78lz9{display:flex;align-items:center}.volumeBar-container.vertical.v-1l78lz9,.vertical.v-1l78lz9 .tooltip-wrapper,.vertical.v-1l78lz9 .btn{width:40px}.volumeBar.v-1l78lz9{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1l78lz9{padding:0 8px 0 0;width:0}")}function Ih(i){let e,t;return e=new Cl({props:{volume:i[4],muted:i[2]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&16&&(r.volume=n[4]),o[0]&4&&(r.muted=n[2]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Vh(i){let e,t;return e=new yi({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],ariaKeyShortCut:Fo[Ce.KeyM],$$slots:{default:[Ih]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&1&&(r.disabled=!n[0]),o[0]&8&&(r.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(r.ariaLabel=n[7]),o[0]&2&&(r.click=n[1]),o[0]&20|o[1]&1&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ta(i){let e,t,n;return t=new Tr({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=A("div"),W(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),M(e,"volumeBar-vertical",i[3])},m(o,r){E(o,e,r),U(t,e,null),n=!0},p(o,r){const l={};r[0]&8&&(l.className=o[3]?"volumeBar-slider-vertical":""),r[0]&40&&(l.isHidden=o[3]&&!o[5]),r[0]&8&&(l.isVertical=o[3]),r[0]&8&&(l.onPointerEnter=o[3]?o[17]:oe.noop),r[0]&8&&(l.onPointerLeave=o[3]?o[18]:oe.noop),r[0]&256&&(l.ariaValueNow=Math.round(o[8]*100)),r[0]&256&&(l.ariaValueText=`${Math.round(o[8]*100)}%`),r[0]&256&&(l.filledProgress=o[8]),r[0]&256&&(l.handleProgress=o[8]),r[0]&8&&(l.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(l),(!n||r[0]&8)&&M(e,"volumeBar-vertical",o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),j(t)}}}function Mh(i){let e,t,n,o,r,l;t=new Kc({props:{content:i[6],translateY:-18,$$slots:{default:[Vh]},$$scope:{ctx:i}}});let s=i[0]&&Ta(i);return{c(){e=A("div"),W(t.$$.fragment),n=R(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),M(e,"vertical",i[3])},m(a,c){E(a,e,c),U(t,e,null),p(e,n),s&&s.m(e,null),o=!0,r||(l=[ge(e,"mouseenter",function(){Sn(i[3]?i[19]:oe.noop)&&(i[3]?i[19]:oe.noop).apply(this,arguments)}),ge(e,"mouseleave",function(){Sn(i[3]?i[20]:oe.noop)&&(i[3]?i[20]:oe.noop).apply(this,arguments)}),ge(e,"wheel",ii(i[21]))],r=!0)},p(a,c){i=a;const f={};c[0]&64&&(f.content=i[6]),c[0]&159|c[1]&1&&(f.$$scope={dirty:c,ctx:i}),t.$set(f),i[0]?s?(s.p(i,c),c[0]&1&&d(s,1)):(s=Ta(i),s.c(),d(s,1),s.m(e,null)):s&&(pe(),g(s,1,1,()=>{s=null}),he()),(!o||c[0]&8)&&M(e,"vertical",i[3])},i(a){o||(d(t.$$.fragment,a),d(s),o=!0)},o(a){g(t.$$.fragment,a),g(s),o=!1},d(a){a&&P(e),j(t),s&&s.d(),r=!1,nt(l)}}}function Bh(i,e,t){let n,o,r,{isAudioAvailable:l=!0}=e,{click:s}=e;const a=Et(),c=gn(),f=a.state.volume$;z(i,f,le=>t(4,n=le));const m=a.state.muted$;z(i,m,le=>t(23,r=le));const h=a.actions.internal.setVolume,b=a.ui.currentGridType$;z(i,b,le=>t(22,o=le));let v=!1,w,_,S,y,k,V,G=1,I=!1;function Q(le){G=n,h(le)}function se(){Dc(a,n,c.controls.volumeStepWheel)}function te(){zc(a,n,c.controls.volumeStepWheel)}function N(le){h(le)}function $(le){const me=le;h(me,me===0?G:me)}function C(){I=!0}function D(){I=!1,re()}function ce(){clearTimeout(w),t(5,v=!0)}function T(){re()}function re(){w=window.setTimeout(()=>{I||t(5,v=!1)},c.controls.volumeBarTimeout)}function O(le){le.deltaY<0?se():le.deltaY>0&&te()}return i.$$set=le=>{"isAudioAvailable"in le&&t(0,l=le.isAudioAvailable),"click"in le&&t(1,s=le.click)},i.$$.update=()=>{i.$$.dirty[0]&8388609&&t(2,y=!l||r),i.$$.dirty[0]&4194304&&t(3,k=Gc(o,exports.GridTypes.S)),i.$$.dirty[0]&12&&(k?t(6,_=""):t(6,_=Y(y?"tooltip_volume":"tooltip_volume_muted")),t(7,S=Y(y?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,V=y?0:n)},[l,s,y,k,n,v,_,S,V,f,m,b,Q,se,te,N,$,C,D,ce,T,O,o,r]}class Nh extends we{constructor(e){super(),_e(this,e,Bh,Mh,be,{isAudioAvailable:0,click:1},Lh,[-1,-1])}}function Rh(i){let e;return{c(){e=B("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function Oh(i){let e;return{c(){e=B("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function Dh(i){let e,t,n;function o(s,a){return s[0]?Oh:Rh}let r=o(i),l=r(i);return{c(){e=B("svg"),t=B("g"),l.c(),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(s,a){E(s,e,a),p(e,t),l.m(t,null)},p(s,[a]){r!==(r=o(s))&&(l.d(1),l=r(s),l&&(l.c(),l.m(t,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:K,o:K,d(s){s&&P(e),l.d()}}}function zh(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class Fh extends we{constructor(e){super(),_e(this,e,zh,Dh,be,{isFullscreen:0})}}function Hh(i){let e,t;return e=new Fh({props:{isFullscreen:i[0]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&1&&(r.isFullscreen=n[0]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Uh(i){let e,t;return e=new yi({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],ariaKeyShortCut:Fo[Ce.KeyF],$$slots:{default:[Hh]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,[o]){const r={};o&4&&(r.ariaLabel=n[2]),o&2&&(r.click=n[1]),o&9&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function jh(i,e,t){let{isFullscreen:n=!1}=e,{click:o=oe.noop}=e,r;return i.$$set=l=>{"isFullscreen"in l&&t(0,n=l.isFullscreen),"click"in l&&t(1,o=l.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=Y(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,r]}class Yc extends we{constructor(e){super(),_e(this,e,jh,Uh,be,{isFullscreen:0,click:1})}}function qh(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class Er extends we{constructor(e){super(),_e(this,e,null,qh,be,{})}}function Wh(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class Qc extends we{constructor(e){super(),_e(this,e,null,Wh,be,{})}}function Zh(i){je(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Ea(i){let e;return{c(){e=A("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function Kh(i){let e,t,n,o,r=i[1]&&Ea();var l=i[8];function s(a){return{}}return l&&(n=En(l,s())),{c(){r&&r.c(),e=R(),t=A("div"),n&&W(n.$$.fragment),u(t,"class","v-1ot3duq"),M(t,"mobile",i[1])},m(a,c){r&&r.m(a,c),E(a,e,c),E(a,t,c),n&&U(n,t,null),o=!0},p(a,c){if(a[1]?r||(r=Ea(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),c&256&&l!==(l=a[8])){if(n){pe();const f=n;g(f.$$.fragment,1,0,()=>{j(f,1)}),he()}l?(n=En(l,s()),W(n.$$.fragment),d(n.$$.fragment,1),U(n,t,null)):n=null}(!o||c&2)&&M(t,"mobile",a[1])},i(a){o||(n&&d(n.$$.fragment,a),o=!0)},o(a){n&&g(n.$$.fragment,a),o=!1},d(a){a&&(P(e),P(t)),r&&r.d(a),n&&j(n)}}}function Gh(i){let e,t,n;function o(l){i[13](l)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-play",click:i[5]?i[6]:i[4],disabled:i[2],ariaLabel:i[7],ariaKeyShortCut:Fo[Ce.KeyK],$$slots:{default:[Kh]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new yi({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,[s]){const a={};s&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),s&112&&(a.click=l[5]?l[6]:l[4]),s&4&&(a.disabled=l[2]),s&128&&(a.ariaLabel=l[7]),s&33026&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function Yh(i,e,t){let n,o;const{fakeIsPlaying$:r}=mr();z(i,r,y=>t(12,o=y));let{ref:l=void 0}=e,{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:m=oe.noop}=e;const{toggle:h}=r;let b,v,w,_;function S(y){l=y,t(0,l)}return i.$$set=y=>{"ref"in y&&t(0,l=y.ref),"isMobile"in y&&t(1,s=y.isMobile),"isPlaying"in y&&t(10,a=y.isPlaying),"disabled"in y&&t(2,c=y.disabled),"className"in y&&t(3,f=y.className),"click"in y&&t(4,m=y.click)},i.$$.update=()=>{i.$$.dirty&4096&&t(5,v=o!==null),i.$$.dirty&5152&&t(11,w=v?o:a),i.$$.dirty&2048&&t(7,_=Y(w?"tooltip_pause":"tooltip_play")),i.$$.dirty&2048&&t(8,n=w?Qc:Er)},t(6,b=h),[l,s,c,f,m,v,b,_,n,r,a,w,o,S]}class Ar extends we{constructor(e){super(),_e(this,e,Yh,Gh,be,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},Zh)}}function Qh(i){je(i,"v-mb3pjo",".prev.v-mb3pjo{transform:scaleX(-1)}.mobile.v-mb3pjo{transform:scale(1.3333)}.mobile.prev.v-mb3pjo{transform:scaleX(-1) scale(1.3333)}")}function Xh(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),u(t,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(t,"fill","#fff"),u(e,"data-testid",n=i[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),M(e,"prev",i[0]),M(e,"mobile",i[1])},m(o,r){E(o,e,r),p(e,t)},p(o,[r]){r&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),r&1&&M(e,"prev",o[0]),r&2&&M(e,"mobile",o[1])},i:K,o:K,d(o){o&&P(e)}}}function Jh(i,e,t){let{isPrev:n=!1}=e,{isMobile:o=!1}=e;return i.$$set=r=>{"isPrev"in r&&t(0,n=r.isPrev),"isMobile"in r&&t(1,o=r.isMobile)},[n,o]}class xh extends we{constructor(e){super(),_e(this,e,Jh,Xh,be,{isPrev:0,isMobile:1},Qh)}}function $h(i){let e,t;return e=new xh({props:{isMobile:i[1],isPrev:i[3]==="prev"}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isMobile=n[1]),o&8&&(r.isPrev=n[3]==="prev"),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function ev(i){let e,t,n;function o(l){i[6](l)}let r={testId:"btn-"+i[3],disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[$h]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new yi({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,[s]){const a={};s&8&&(a.testId="btn-"+l[3]),s&4&&(a.disabled=l[2]),s&32&&(a.ariaLabel=l[5]),s&16&&(a.click=l[4]),s&138&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function tv(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:r=!1}=e,{type:l}=e,{click:s}=e,a;function c(f){n=f,t(0,n)}return i.$$set=f=>{"ref"in f&&t(0,n=f.ref),"isMobile"in f&&t(1,o=f.isMobile),"disabled"in f&&t(2,r=f.disabled),"type"in f&&t(3,l=f.type),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=Y(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,r,l,s,a,c]}class Pl extends we{constructor(e){super(),_e(this,e,tv,ev,be,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function iv(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class nv extends we{constructor(e){super(),_e(this,e,null,iv,be,{})}}function ov(i){je(i,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function Aa(i){let e,t,n,o,r,l,s;return{c(){e=B("path"),t=B("path"),n=B("path"),o=B("path"),r=B("path"),l=B("path"),s=B("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(t,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(t,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"fill","white"),u(r,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(r,"fill","white"),u(l,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(l,"fill","white"),u(s,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(s,"fill","white")},m(a,c){E(a,e,c),E(a,t,c),E(a,n,c),E(a,o,c),E(a,r,c),E(a,l,c),E(a,s,c)},d(a){a&&(P(e),P(t),P(n),P(o),P(r),P(l),P(s))}}}function lv(i){let e,t,n,o=!i[0]&&Aa();return{c(){e=B("svg"),t=B("path"),o&&o.c(),u(t,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(t,"fill","white"),u(e,"width",i[2]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(i[2]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",i[3]),u(e,"class","v-1bbobod"),M(e,"mobile",i[1])},m(r,l){E(r,e,l),p(e,t),o&&o.m(e,null)},p(r,[l]){r[0]?o&&(o.d(1),o=null):o||(o=Aa(),o.c(),o.m(e,null)),l&4&&u(e,"width",r[2]),l&4&&n!==(n="0 0 "+(r[2]+1)+" 20")&&u(e,"viewBox",n),l&8&&u(e,"data-testid",r[3]),l&2&&M(e,"mobile",r[1])},i:K,o:K,d(r){r&&P(e),o&&o.d()}}}function rv(i,e,t){let{short:n=!1}=e,{isMobile:o=!1}=e,r,l;return i.$$set=s=>{"short"in s&&t(0,n=s.short),"isMobile"in s&&t(1,o=s.isMobile)},i.$$.update=()=>{i.$$.dirty&1&&(t(2,r=n?20:93),t(3,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,r,l]}class sv extends we{constructor(e){super(),_e(this,e,rv,lv,be,{short:0,isMobile:1},ov)}}function av(i){let e,t;return e=new nv({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p:K,i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function uv(i){let e,t;return e=new sv({props:{short:i[4],isMobile:!!i[7]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.short=n[4]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function cv(i){let e,t,n,o;const r=[uv,av],l=[];function s(a,c){return a[2]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=gt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function fv(i){let e,t,n;function o(l){i[13](l)}let r={className:"btn-full-opacity",disabled:!i[1],click:i[8],testId:i[2]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:i[3],$$slots:{default:[cv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new yi({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.disabled=!l[1]),s&4&&(a.testId=l[2]?"btn-vk-video-logo":"btn-vk-logo"),s&8&&(a.ariaLabel=l[3]),s&524308&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function dv(i,e,t){let n,o,r,{ref:l=void 0}=e,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=gn(),{logoLink:m,addTimeToLogoLink:h}=f,b=Et(),v=b.state.positionWithScrubbing$;z(i,v,I=>t(14,n=I));const w=b.ui.currentGridType$;z(i,w,I=>t(11,o=I));const _=b.ui.isMobile;z(i,_,I=>t(12,r=I));let S,y,k;const V=()=>{let I;if(y||!a)I=m;else{const Q=Math.round(n);if(h&&Q){const se=new URL(a);se.searchParams.append("t",oe.timeCodeToString(Q)),I=se.toString()}else I=a}c(),window.open(I,"_blank")};function G(I){l=I,t(0,l)}return i.$$set=I=>{"ref"in I&&t(0,l=I.ref),"logoClickable"in I&&t(1,s=I.logoClickable),"videoLogoUrl"in I&&t(9,a=I.videoLogoUrl),"click"in I&&t(10,c=I.click)},i.$$.update=()=>{i.$$.dirty&6148&&t(4,k=(r||Gc(o,exports.GridTypes.L))&&y)},t(3,S=f.logoType===To.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),t(2,y=f.logoType===To.VK_VIDEO),[l,s,y,S,k,v,w,_,V,a,c,o,r,G]}class Xc extends we{constructor(e){super(),_e(this,e,dv,fv,be,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function mv(i){je(i,"v-8z1bf5",".connecting.v-8z1bf5 .wave.v-8z1bf5{animation-duration:1s;animation-iteration-count:infinite}.connecting.v-8z1bf5 .wave1.v-8z1bf5{animation-name:v-8z1bf5-wave1}.connecting.v-8z1bf5 .wave2.v-8z1bf5{animation-name:v-8z1bf5-wave2}.connecting.v-8z1bf5 .wave3.v-8z1bf5{animation-name:v-8z1bf5-wave3}@keyframes v-8z1bf5-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function pv(i){let e,t,n,o,r,l,s,a;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),l=B("path"),s=B("path"),a=B("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(r,"class","wave wave3 v-8z1bf5"),u(r,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(r,"fill","#fff"),u(l,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(l,"fill","#fff"),u(s,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),M(a,"hidden",!i[1]),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-icon"),u(e,"class","v-8z1bf5"),M(e,"connecting",i[2])},m(c,f){E(c,e,f),p(e,t),p(t,n),p(t,o),p(t,r),p(t,l),p(t,s),p(t,a)},p(c,f){f&2&&M(a,"hidden",!c[1]),f&4&&M(e,"connecting",c[2])},d(c){c&&P(e)}}}function hv(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,w,_,S,y,k,V,G;return{c(){e=B("svg"),t=B("g"),n=B("mask"),o=B("path"),l=B("path"),s=B("path"),c=B("path"),f=B("defs"),m=B("clipPath"),h=B("path"),v=B("filter"),w=B("feFlood"),_=B("feColorMatrix"),S=B("feOffset"),y=B("feGaussianBlur"),k=B("feColorMatrix"),V=B("feBlend"),G=B("feBlend"),u(o,"fill",r=i[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(s,"fill",a=i[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(h,"fill",b=i[1]?"#2688EB":"#fff"),u(h,"d","M0 0h24v24H0z"),u(m,"id","a"),u(w,"flood-opacity","0"),u(w,"result","BackgroundImageFix"),u(_,"in","SourceAlpha"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(_,"result","hardAlpha"),u(y,"stdDeviation","2.5"),u(k,"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(G,"in","SourceGraphic"),u(G,"in2","effect1_dropShadow_4085_178456"),u(G,"result","shape"),u(v,"id","b"),u(v,"x","-3.4"),u(v,"y","-1.4"),u(v,"width","30.8"),u(v,"height","26.802"),u(v,"filterUnits","userSpaceOnUse"),u(v,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(I,Q){E(I,e,Q),p(e,t),p(t,n),p(n,o),p(n,l),p(t,s),p(t,c),p(e,f),p(f,m),p(m,h),p(f,v),p(v,w),p(v,_),p(v,S),p(v,y),p(v,k),p(v,V),p(v,G)},p(I,Q){Q&2&&r!==(r=I[1]?"#2688EB":"#fff")&&u(o,"fill",r),Q&2&&a!==(a=I[1]?"#2688EB":"#fff")&&u(s,"fill",a),Q&2&&b!==(b=I[1]?"#2688EB":"#fff")&&u(h,"fill",b)},d(I){I&&P(e)}}}function vv(i){let e;function t(r,l){return r[0]?hv:pv}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:K,o:K,d(r){r&&P(e),o.d(r)}}}function gv(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,r,l;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"state"in s&&t(3,o=s.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,l=o===xe.ChromecastState.CONNECTING),t(1,r=o===xe.ChromecastState.CONNECTED))},[n,r,l,o]}class bv extends we{constructor(e){super(),_e(this,e,gv,vv,be,{isMobile:0,state:3},mv)}}function _v(i){let e,t;return e=new bv({props:{isMobile:i[1],state:i[2]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isMobile=n[1]),o&4&&(r.state=n[2]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function wv(i){let e,t,n;function o(l){i[5](l)}let r={ariaLabel:i[4],click:i[3],testId:"btn-chromecast",$$slots:{default:[_v]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new yi({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,[s]){const a={};s&16&&(a.ariaLabel=l[4]),s&8&&(a.click=l[3]),s&70&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function yv(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{state:r}=e,{click:l=oe.noop}=e,s;function a(c){n=c,t(0,n)}return i.$$set=c=>{"ref"in c&&t(0,n=c.ref),"isMobile"in c&&t(1,o=c.isMobile),"state"in c&&t(2,r=c.state),"click"in c&&t(3,l=c.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,s=r===xe.ChromecastState.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off"))},[n,o,r,l,s,a]}class Jc extends we{constructor(e){super(),_e(this,e,yv,wv,be,{ref:0,isMobile:1,state:2,click:3})}}function kv(i){let e,t;return e=new Ac({props:{isActive:i[1]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isActive=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Sv(i){let e,t;return e=new yi({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1]&&i[3]===xe.PlaybackState.PLAYING,ariaLabel:i[2],click:i[4],$$slots:{default:[kv]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(r.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(r.disabled=n[1]&&n[3]===xe.PlaybackState.PLAYING),o&4&&(r.ariaLabel=n[2]),o&16&&(r.click=n[4]),o&514&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Cv(i,e,t){let n,{isMobile:o=!1}=e,{isActiveLive:r=!1}=e,{ariaLabel:l=""}=e;const s=Et(),a=s.state.playbackState$;z(i,a,h=>t(3,n=h));const c=s.actions.internal.switchToActiveLive,f=s.actions.internal.togglePlay;let m;return i.$$set=h=>{"isMobile"in h&&t(0,o=h.isMobile),"isActiveLive"in h&&t(1,r=h.isActiveLive),"ariaLabel"in h&&t(2,l=h.ariaLabel)},i.$$.update=()=>{i.$$.dirty&10&&t(4,m=()=>{if(!r){c();return}n===xe.PlaybackState.PAUSED&&f()})},[o,r,l,n,m,a]}class xc extends we{constructor(e){super(),_e(this,e,Cv,Sv,be,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function Pv(i){je(i,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function Tv(i){let e,t,n,o;const r=i[9].default,l=Mn(r,i,i[8],null);return{c(){e=A("div"),t=A("div"),l&&l.c(),u(t,"class","tooltip v-5ygsa2"),M(t,"active",i[0]),M(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(s,a){E(s,e,a),p(e,t),l&&l.m(t,null),i[10](t),i[11](e),o=!0},p(s,[a]){l&&l.p&&(!o||a&256)&&Nn(l,r,s,s[8],o?Bn(r,s[8],a,null):Rn(s[8]),null),(!o||a&1)&&M(t,"active",s[0]),(!o||a&2)&&M(t,"pointer",s[1]),(!o||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){o||(d(l,s),o=!0)},o(s){g(l,s),o=!1},d(s){s&&P(e),l&&l.d(s),i[10](null),i[11](null)}}}function Ev(i,e,t){let n,{$$slots:o={},$$scope:r}=e,{active:l=!1}=e,{pointer:s=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,m,h;function b(_){if(!h)return 0;const{width:S}=h.getBoundingClientRect(),y=S/2;return _<y?y:_>f-y?f-y:_}function v(_){ye[_?"unshift":"push"](()=>{h=_,t(4,h)})}function w(_){ye[_?"unshift":"push"](()=>{m=_,t(3,m)})}return i.$$set=_=>{"active"in _&&t(0,l=_.active),"pointer"in _&&t(1,s=_.pointer),"translateXPx"in _&&t(6,a=_.translateXPx),"translateYPx"in _&&t(2,c=_.translateYPx),"containerWidth"in _&&t(7,f=_.containerWidth),"$$scope"in _&&t(8,r=_.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=b(a))},[l,s,c,m,h,n,a,f,r,o,v,w]}class Av extends we{constructor(e){super(),_e(this,e,Ev,Tv,be,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Pv)}}const $c=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function Lv(i){je(i,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function La(i){let e;function t(r,l){return r[2]&&r[10].completed===!1?Vv:Iv}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,l){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},d(r){r&&P(e),o.d(r)}}}function Iv(i){let e=(i[10].text||"")+"",t;return{c(){t=Oe(e)},m(n,o){E(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&$e(t,e)},d(n){n&&P(t)}}}function Vv(i){let e=Y("tooltip_episode_unfinished")+"",t;return{c(){t=Oe(e)},m(n,o){E(n,t,o)},p:K,d(n){n&&P(t)}}}function Mv(i){let e,t,n,o,r,l,s,a,c=i[10]&&La(i);return{c(){e=A("div"),t=A("div"),o=R(),r=A("div"),c&&c.c(),l=R(),s=A("div"),a=Oe(i[0]),u(t,"class","preview v-l51fc1"),u(t,"style",n=`width: ${i[3]}px; height: ${i[4]}px; background-image: url(${i[5]}); background-size: ${i[6]}px ${i[7]}px; background-position: ${i[8]}px ${i[9]}px; transform: translateY(${i[11]%180?-35:0}px) rotate(${i[11]}deg);`),u(r,"class","episode v-l51fc1"),u(s,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),M(e,"mobile",i[1])},m(f,m){E(f,e,m),p(e,t),p(e,o),p(e,r),c&&c.m(r,null),p(e,l),p(e,s),p(s,a)},p(f,[m]){m&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(t,"style",n),f[10]?c?c.p(f,m):(c=La(f),c.c(),c.m(r,null)):c&&(c.d(1),c=null),m&1&&$e(a,f[0]),m&2&&M(e,"mobile",f[1])},i:K,o:K,d(f){f&&P(e),c&&c.d()}}}const bo=150;function Bv(i,e,t){let n,{time:o=""}=e,{isMobile:r=!1}=e,{videoEpisodes:l=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=Et().ui.rotateAlpha;z(i,h,Q=>t(11,n=Q));let b,v,w,_,S,y,k,V;function G(){let Q=s.frameWidth,se=s.frameHeight;return Q>bo?(se=se/Q*bo,Q=bo):se>bo&&(Q=Q/se*bo,se=bo),{width:Q,height:se}}function I(Q){let se;s.isUV?se=Math.floor(c*Q/s.frequency):se=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*Q)));const te=Math.floor(se/s.countPerImage),N=Math.floor(se%s.countPerImage/s.countPerRow),$=se%s.countPerRow;let C=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&te===Math.floor(s.countTotal/s.countPerImage)&&(C=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&C++);let D=s.countPerRow;!s.isUV&&te===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(D=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const ce=b*D,T=v*C,re=-$*b,O=-N*v;return{imgSrc:s.links[te],imgWidth:ce,imgHeight:T,imgOffsetX:re,imgOffsetY:O}}return i.$$set=Q=>{"time"in Q&&t(0,o=Q.time),"isMobile"in Q&&t(1,r=Q.isMobile),"videoEpisodes"in Q&&t(13,l=Q.videoEpisodes),"previewThumbsData"in Q&&t(14,s=Q.previewThumbsData),"progress"in Q&&t(15,a=Q.progress),"duration"in Q&&t(16,c=Q.duration),"isInteractive"in Q&&t(2,f=Q.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:w,imgWidth:_,imgHeight:S,imgOffsetX:y,imgOffsetY:k}=I(a),w,(t(6,_),t(15,a)),(t(7,S),t(15,a)),(t(8,y),t(15,a)),(t(9,k),t(15,a))),i.$$.dirty&106496&&t(10,V=$c(a,c,l))},t(3,{width:b,height:v}=G(),b,t(4,v)),[o,r,f,b,v,w,_,S,y,k,V,n,h,l,s,a,c]}class Nv extends we{constructor(e){super(),_e(this,e,Bv,Mv,be,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},Lv)}}function Rv(i){je(i,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function Ov(i){let e,t;return{c(){e=A("span"),t=Oe(i[7]),u(e,"class","time v-5lzly8")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o[0]&128&&$e(t,n[7])},i:K,o:K,d(n){n&&P(e)}}}function Dv(i){let e,t;return e=new Nv({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&128&&(r.time=n[7]),o[0]&1024&&(r.isMobile=n[10]),o[0]&8&&(r.videoEpisodes=n[3]),o[0]&256&&(r.progress=n[8]),o[0]&2&&(r.duration=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function zv(i){let e,t,n,o;const r=[Dv,Ov],l=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=gt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Fv(i){let e,t,n,o;const r=[i[9]];let l={$$slots:{default:[zv]},$$scope:{ctx:i}};for(let s=0;s<r.length;s+=1)l=_1(l,r[s]);return e=new Av({props:l}),n=new Tr({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:Y("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:Y("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(ut.TIMELINE),hideHandel:i[2]}}),{c(){W(e.$$.fragment),t=R(),W(n.$$.fragment)},m(s,a){U(e,s,a),E(s,t,a),U(n,s,a),o=!0},p(s,a){const c=a[0]&512?v0(r,[g0(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=Y("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(ut.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){o||(d(e.$$.fragment,s),d(n.$$.fragment,s),o=!0)},o(s){g(e.$$.fragment,s),g(n.$$.fragment,s),o=!1},d(s){s&&P(t),j(e,s),j(n,s)}}}function Hv(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,{showTimeline:v=!1}=e;const w=Et(),_=gn(),S=w.state.bufferedProgress$;z(i,S,J=>t(12,h=J));const y=w.state.positionWithScrubbing$;z(i,y,J=>t(39,a=J));const k=w.state.duration$;z(i,k,J=>t(1,r=J));const V=w.state.isLive$;z(i,V,J=>t(0,o=J));const G=w.state.isActiveLive$;z(i,G,J=>t(11,m=J));const I=w.ui.isMobile;z(i,I,J=>t(10,f=J));const Q=_.features.episodes?w.actions.internal.getVideoEpisodes():void 0,se=w.actions.internal.getPreviewThumbsData(),te=w.state.interactiveEpisodes$;z(i,te,J=>t(40,c=J));const N=w.state.isInteractive,$=w.state.isInteractiveTime$;z(i,$,J=>t(2,l=J));const C=w.state.isInteractiveExpectation$;z(i,C,J=>t(38,s=J));const D=w.actions.internal.correctSeekTimeToInteractive,ce=w.ui.controls.disabledControls$;z(i,ce,J=>t(13,b=J));let T,re,O,le,me=!1,ze="",He=0,Ee=0,de=0,ke;function X(J){return!D||!N?J:D(J*r)/r}function F(J){w.actions.internal.startScrubbing(X(J))}function Te(J){l||w.actions.internal.progressScrubbing(X(J))}function ae(J){w.actions.internal.completeScrubbing(X(J)),t(34,me=!1)}function Pe(J,H,Ae){Se(J,H,Ae),t(34,me=!0)}function Ve(J,H,Ae){Se(J,H,Ae),t(34,me=!0)}function Re(){t(34,me=!1)}function Se(J,H,Ae){t(8,de=J),t(35,He=H),Ae&&t(36,Ee=Ae),t(7,ze=ue(J))}function ue(J){const H=Vn((o?1-J:J)*r);return o?`-${H}`:H}return i.$$set=J=>{"showTimeline"in J&&t(33,v=J.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,T=N?c:Q),i.$$.dirty[0]&2&&t(4,re=Vn(r)),i.$$.dirty[1]&256&&t(5,O=Vn(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,le=a/r),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,ke=s||l),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:Ee,translateXPx:He,translateYPx:N&&se?-36:-16,active:me&&v&&!ke,pointer:!_.features.timelinePreview||!se||o})},[o,r,l,T,re,O,le,ze,de,n,f,m,h,b,_,S,y,k,V,G,I,se,te,N,$,C,ce,F,Te,ae,Pe,Ve,Re,v,me,He,Ee,ke,s,a,c]}let Uv=class extends we{constructor(e){super(),_e(this,e,Hv,Fv,be,{showTimeline:33},Rv,[-1,-1])}};function jv(i){let e,t;return e=new Tr({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:Y("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.ariaValueMax=n[0]),o&8&&(r.ariaValueNow=Math.round(n[3]*100)),o&6&&(r.ariaValueText=Y("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(r.filledProgress=n[3]),o&16&&(r.squareBorders=n[4]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function qv(i,e,t){let n,{position:o=0}=e,{duration:r=0}=e;const s=Et().ui.isMobile;z(i,s,m=>t(4,n=m));let a,c,f;return i.$$set=m=>{"position"in m&&t(6,o=m.position),"duration"in m&&t(0,r=m.duration)},i.$$.update=()=>{i.$$.dirty&1&&t(1,a=Vn(r)),i.$$.dirty&64&&t(2,c=Vn(o)),i.$$.dirty&65&&t(3,f=o/r)},[r,a,c,f,n,s,o]}class ef extends we{constructor(e){super(),_e(this,e,qv,jv,be,{position:6,duration:0})}}function Wv(i){je(i,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function Zv(i){let e;return{c(){e=A("div"),u(e,"class","timeline-stub v-1gqonyf"),M(e,"mobile",i[2])},m(t,n){E(t,e,n)},p(t,n){n&4&&M(e,"mobile",t[2])},i:K,o:K,d(t){t&&P(e)}}}function Kv(i){let e,t,n,o;const r=[Yv,Gv],l=[];function s(a,c){return a[0]?0:1}return t=s(i),n=l[t]=r[t](i),{c(){e=A("div"),n.c(),u(e,"class","timeline v-1gqonyf"),M(e,"mobile",i[2])},m(a,c){E(a,e,c),l[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?l[t].p(a,c):(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),n=l[t],n?n.p(a,c):(n=l[t]=r[t](a),n.c()),d(n,1),n.m(e,null)),(!o||c&4)&&M(e,"mobile",a[2])},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&P(e),l[t].d()}}}function Gv(i){let e,t;return e=new Uv({props:{showTimeline:i[1]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.showTimeline=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Yv(i){let e,t;return e=new ef({props:{position:i[3],duration:i[4]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&8&&(r.position=n[3]),o&16&&(r.duration=n[4]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Qv(i){let e,t,n,o;const r=[Kv,Zv],l=[];function s(a,c){return a[1]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=gt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Xv(i,e,t){let n,o,r,l,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const m=Et(),h=m.state.isLive$;z(i,h,S=>t(12,n=S));const b=m.ads.duration;z(i,b,S=>t(4,l=S));const v=m.ads.position;z(i,v,S=>t(3,r=S));const w=m.ui.isMobile;z(i,w,S=>t(2,o=S));let _;return i.$$set=S=>{"isAds"in S&&t(0,s=S.isAds),"canRewindLive"in S&&t(9,a=S.canRewindLive),"isRewindableLive"in S&&t(10,c=S.isRewindableLive),"isHidden"in S&&t(11,f=S.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,_=!f&&(!n||n&&a&&c||s))},[s,_,o,r,l,h,b,v,w,a,c,f,n]}class tf extends we{constructor(e){super(),_e(this,e,Xv,Qv,be,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},Wv)}}function Jv(i){let e,t,n,o;return{c(){e=B("svg"),t=B("path"),n=B("path"),o=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(o,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),Ut(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(r,l){E(r,e,l),p(e,t),p(e,n),p(e,o)},p:K,i:K,o:K,d(r){r&&P(e)}}}class xv extends we{constructor(e){super(),_e(this,e,null,Jv,be,{})}}function $v(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"opacity",".7"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(t,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class e5 extends we{constructor(e){super(),_e(this,e,null,$v,be,{})}}function t5(i){je(i,"v-1yhs2ga",".text.v-1yhs2ga{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text.count.v-1yhs2ga{overflow:visible}.text.mobile.v-1yhs2ga{padding:0 3px 0 4px}.chevron-episodes.v-1yhs2ga{margin-bottom:-4px}")}function i5(i){let e,t,n,o;e=new xv({});function r(a,c){if(a[4]===Qn.FULL)return l5;if(a[4]===Qn.COUNT)return o5}let l=r(i),s=l&&l(i);return{c(){W(e.$$.fragment),t=R(),s&&s.c(),n=gt()},m(a,c){U(e,a,c),E(a,t,c),s&&s.m(a,c),E(a,n,c),o=!0},p(a,c){l===(l=r(a))&&s?s.p(a,c):(s&&s.d(1),s=l&&l(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){o||(d(e.$$.fragment,a),o=!0)},o(a){g(e.$$.fragment,a),o=!1},d(a){a&&(P(t),P(n)),j(e,a),s&&s.d(a)}}}function n5(i){let e,t,n,o,r,l;return r=new e5({}),{c(){e=A("span"),t=Oe(i[2]),n=R(),o=A("div"),W(r.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(s,a){E(s,e,a),p(e,t),E(s,n,a),E(s,o,a),U(r,o,null),l=!0},p(s,a){(!l||a&4)&&$e(t,s[2])},i(s){l||(d(r.$$.fragment,s),l=!0)},o(s){g(r.$$.fragment,s),l=!1},d(s){s&&(P(e),P(n),P(o)),j(r)}}}function o5(i){let e,t=i[0].length+"",n;return{c(){e=A("span"),n=Oe(t),u(e,"class","text count v-1yhs2ga")},m(o,r){E(o,e,r),p(e,n)},p(o,r){r&1&&t!==(t=o[0].length+"")&&$e(n,t)},d(o){o&&P(e)}}}function l5(i){let e,t;return{c(){e=A("span"),t=Oe(i[2]),u(e,"class","text v-1yhs2ga")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o&4&&$e(t,n[2])},d(n){n&&P(e)}}}function r5(i){let e,t,n,o;const r=[n5,i5],l=[];function s(a,c){return a[6]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=gt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function s5(i){let e,t,n;function o(l){i[19](l)}let r={className:"w-max btn-full-opacity "+(i[6]?"px-0":""),testId:"btn-episodes",click:i[12],disabled:!i[7],ariaExpanded:i[3],ariaLabel:i[5],$$slots:{default:[r5]},$$scope:{ctx:i}};return i[1]!==void 0&&(r.ref=i[1]),e=new yi({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,[s]){const a={};s&64&&(a.className="w-max btn-full-opacity "+(l[6]?"px-0":"")),s&8&&(a.ariaExpanded=l[3]),s&32&&(a.ariaLabel=l[5]),s&8388693&&(a.$$scope={dirty:s,ctx:l}),!t&&s&2&&(t=!0,a.ref=l[1],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function a5(i,e,t){var N,$,C;let n,o,r,l,s,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:m=[]}=e;const h=Et(),b=($=(N=h.callbacks)==null?void 0:N.onEpisodeChanged)!=null?$:oe.noop,v=!!((C=h.callbacks)!=null&&C.onEpisodeClicked),w=h.ui.currentGridType$;z(i,w,D=>t(18,s=D));const _=h.ui.episodes.openedByKeyboard$;z(i,_,D=>t(17,l=D));const S=h.ui.episodes.panelOpened$;z(i,S,D=>t(3,r=D));const y=h.ui.isMobile;z(i,y,D=>t(6,a=D));let k;const V=D=>{var T,re,O;if(!!((T=h.callbacks)!=null&&T.onEpisodeClicked)){const le=yr(D);_.set(le),S.set(!0),(O=(re=h.callbacks)==null?void 0:re.onEpisodeClicked)==null||O.call(re,le)}};let G,I,Q;const se=(D,ce,T)=>Ji(this,null,function*(){yield zo(),(D==null?void 0:D.getAttribute("aria-expanded"))==="false"&&ce&&!T&&(_.set(!1),D.focus())});function te(D){k=D,t(1,k)}return i.$$set=D=>{"position"in D&&t(13,c=D.position),"duration"in D&&t(14,f=D.duration),"timeCodes"in D&&t(0,m=D.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&24576&&t(16,n=c/f),i.$$.dirty&114689){const D=$c(n,f,m);D&&(G==null?void 0:G.text)!==D.text&&(b(D),t(15,G=D))}i.$$.dirty&32768&&t(2,o=(G==null?void 0:G.text)||""),i.$$.dirty&262144&&(yn(s,exports.GridTypes.XL)?t(4,I=Qn.FULL):yn(s,exports.GridTypes.M)&&Eh(s,exports.GridTypes.XL)?t(4,I=Qn.COUNT):t(4,I=Qn.SHORT)),i.$$.dirty&4&&t(5,Q=`${Y("tooltip_episodes")}: ${o}`),i.$$.dirty&131082&&se(k,l,r)},[m,k,o,r,I,Q,a,v,w,_,S,y,V,c,f,G,n,l,s,te]}class nf extends we{constructor(e){super(),_e(this,e,a5,s5,be,{position:13,duration:14,timeCodes:0},t5)}}function u5(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(t,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p:K,i:K,o:K,d(o){o&&P(e)}}}class c5 extends we{constructor(e){super(),_e(this,e,null,u5,be,{})}}function f5(i){let e,t;return e=new c5({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function d5(i){let e,t,n;function o(l){i[4](l)}let r={className:i[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:Y("tooltip_interactive_seek"),disabled:i[2],click:i[3],$$slots:{default:[f5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new yi({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"hidden":""),s&4&&(a.disabled=l[2]),s&8&&(a.click=l[3]),s&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function m5(i,e,t){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:r=!1}=e,{click:l}=e;function s(a){n=a,t(0,n)}return i.$$set=a=>{"ref"in a&&t(0,n=a.ref),"hidden"in a&&t(1,o=a.hidden),"disabled"in a&&t(2,r=a.disabled),"click"in a&&t(3,l=a.click)},[n,o,r,l,s]}class of extends we{constructor(e){super(),_e(this,e,m5,d5,be,{ref:0,hidden:1,disabled:2,click:3})}}function p5(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),M(n,"hidden",!i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p(o,[r]){r&1&&M(n,"hidden",!o[0])},i:K,o:K,d(o){o&&P(e)}}}function h5(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class v5 extends we{constructor(e){super(),_e(this,e,h5,p5,be,{isOpened:0})}}function g5(i){let e,t;return e=new v5({props:{isOpened:i[3]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&8&&(r.isOpened=n[3]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function b5(i){let e,t,n;function o(l){i[6](l)}let r={className:i[1]?"hidden":"",testId:"btn-graph",disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[g5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new yi({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"hidden":""),s&4&&(a.disabled=l[2]),s&32&&(a.ariaLabel=l[5]),s&16&&(a.click=l[4]),s&136&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function _5(i,e,t){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:r=!1}=e,{graphIsOpened:l=!1}=e,{click:s}=e,a;function c(f){n=f,t(0,n)}return i.$$set=f=>{"ref"in f&&t(0,n=f.ref),"hidden"in f&&t(1,o=f.hidden),"disabled"in f&&t(2,r=f.disabled),"graphIsOpened"in f&&t(3,l=f.graphIsOpened),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=Y(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,r,l,s,a,c]}class lf extends we{constructor(e){super(),_e(this,e,_5,b5,be,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function w5(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class rf extends we{constructor(e){super(),_e(this,e,null,w5,be,{})}}function y5(i){je(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Ia(i){let e;return{c(){e=A("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function k5(i){let e,t,n,o,r=i[1]&&Ia();return n=new rf({}),{c(){r&&r.c(),e=R(),t=A("div"),W(n.$$.fragment),u(t,"class","v-1ot3duq"),M(t,"mobile",i[1])},m(l,s){r&&r.m(l,s),E(l,e,s),E(l,t,s),U(n,t,null),o=!0},p(l,s){l[1]?r||(r=Ia(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),(!o||s&2)&&M(t,"mobile",l[1])},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){g(n.$$.fragment,l),o=!1},d(l){l&&(P(e),P(t)),r&&r.d(l),j(n)}}}function S5(i){let e,t,n;function o(l){i[5](l)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-replay",ariaLabel:Y("tooltip_restart"),disabled:i[2],click:i[4],ariaKeyShortCut:Fo[Ce.KeyK],$$slots:{default:[k5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new yi({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,[s]){const a={};s&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),s&4&&(a.disabled=l[2]),s&16&&(a.click=l[4]),s&66&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function C5(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:r=!1}=e,{className:l=""}=e,{click:s=oe.noop}=e;function a(c){n=c,t(0,n)}return i.$$set=c=>{"ref"in c&&t(0,n=c.ref),"isMobile"in c&&t(1,o=c.isMobile),"disabled"in c&&t(2,r=c.disabled),"className"in c&&t(3,l=c.className),"click"in c&&t(4,s=c.click)},[n,o,r,l,s,a]}class Lr extends we{constructor(e){super(),_e(this,e,C5,S5,be,{ref:0,isMobile:1,disabled:2,className:3,click:4},y5)}}function P5(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class T5 extends we{constructor(e){super(),_e(this,e,null,P5,be,{})}}function E5(i){let e,t;return e=new T5({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function A5(i){let e,t;return e=new yi({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:Y("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[E5]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.className=n[0]?"hidden":""),o&2&&(r.disabled=n[1]),o&4&&(r.click=n[2]),o&8&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function L5(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:r}=e;return i.$$set=l=>{"hidden"in l&&t(0,n=l.hidden),"disabled"in l&&t(1,o=l.disabled),"click"in l&&t(2,r=l.click)},[n,o,r]}class sf extends we{constructor(e){super(),_e(this,e,L5,A5,be,{hidden:0,disabled:1,click:2})}}function I5(i){je(i,"v-1x1zctw",".icon.v-1x1zctw{width:24px !important;height:24px !important;;}.error-stub.v-1x1zctw{display:flex;justify-content:center;align-items:center}.inner.v-1x1zctw{width:16px;height:16px;background-color:var(--white)}")}function V5(i){let e,t,n,o;return{c(){e=A("img"),u(e,"class","icon v-1x1zctw"),qr(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(r,l){E(r,e,l),n||(o=ge(e,"error",i[7]),n=!0)},p(r,l){l&1&&!qr(e.src,t=r[0])&&u(e,"src",t)},d(r){r&&P(e),n=!1,o()}}}function M5(i){let e;return{c(){e=A("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(t,n){E(t,e,n)},p:K,d(t){t&&P(e)}}}function B5(i){let e;function t(r,l){return r[5]?M5:V5}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,l){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},d(r){r&&P(e),o.d(r)}}}function N5(i){let e,t;return e=new yi({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[B5]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,[o]){const r={};o&16&&(r.className=n[4]?"btn-full-opacity":""),o&2&&(r.ariaLabel=n[1]),o&8&&(r.click=n[3]),o&64&&(r.disabled=n[6]),o&4&&(r.testId=n[2]),o&545&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function R5(i,e,t){let n,o,r,{iconUrl:l}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=oe.noop}=e;const m=()=>{t(5,r=!0)};return i.$$set=h=>{"iconUrl"in h&&t(0,l=h.iconUrl),"ariaLabel"in h&&t(1,s=h.ariaLabel),"disabled"in h&&t(8,a=h.disabled),"testId"in h&&t(2,c=h.testId),"onClick"in h&&t(3,f=h.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===oe.noop),i.$$.dirty&272&&t(6,o=n||a)},t(5,r=!1),[l,s,c,f,n,r,o,m,a]}class af extends we{constructor(e){super(),_e(this,e,R5,N5,be,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},I5)}}class Va{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}removeEventListener(e,t){if(!(e in this.listeners))return;const n=this.listeners[e];for(let o=0,r=n.length;o<r;o++)if(n[o].callback===t){n.splice(o,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let o=0,r=n.length;o<r;o++){const l=n[o];try{l.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}l.options&&l.options.once&&this.removeEventListener(e.type,l.callback)}return!e.defaultPrevented}}class uf extends Va{constructor(){super(),this.listeners||Va.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 O5=class{constructor(){Object.defineProperty(this,"signal",{value:new uf,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&&(O5.prototype[Symbol.toStringTag]="AbortController",uf.prototype[Symbol.toStringTag]="AbortSignal");function cf(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 D5(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!cf({fetch:e,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:e,Request:r};let r=t;(r&&!r.prototype.hasOwnProperty("signal")||o)&&(r=function(c,f){let m;f&&f.signal&&(m=f.signal,delete f.signal);const h=new t(c,f);return m&&Object.defineProperty(h,"signal",{writable:!1,enumerable:!1,configurable:!0,value:m}),h},r.prototype=t.prototype);const l=e;return{fetch:(a,c)=>{const f=r&&r.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let m;try{m=new DOMException("Aborted","AbortError")}catch(b){m=new Error("Aborted"),m.name="AbortError"}if(f.aborted)return Promise.reject(m);const h=new Promise((b,v)=>{f.addEventListener("abort",()=>v(m),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([h,l(a,c)])}return l(a,c)},Request:r}}const Ir=cf({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),ff=Ir?D5({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,z5=Ir?ff.fetch:window.fetch;Ir?ff.Request:window.Request;const F5=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,H5="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class U5{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,r)=>{let l;const s=()=>{clearTimeout(l),delete window.admanAsyncInit,window.AdmanHTML?o():r()};oe.addScript(H5,n,this.loadTimeout).then(()=>{window.AdmanHTML?o():(window.admanAsyncInit=s,l=window.setTimeout(s,this.initTimeout))}).catch(()=>{r()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,o)=>{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"}),Je(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(o.duration),this.adsState.playbackState.set(ti.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(ti.PAUSED)},this.onAdPlayed=()=>{oe.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(ti.PLAYING)},this.onAdMidrollPoint=()=>{oe.assertNonNullable(this.adman),oe.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=An.Midroll,this.adman.start(An.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var n;this.log({message:"ad clicked"}),(n=this.videoElement)===null||n===void 0||n.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=t.loadTimeout,this.initTimeout=t.initTimeout}init(e,t,n){this.actions=e,this.adsState=t,this.playerState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:t,height:n,isFullscreen:o,isAutoplay:r,adsContainer:l,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:m}=e;let h;const b=this.playerState&&Je(this.playerState.vsid);b&&(h=parseInt(b,36));const v=Object.assign(Object.assign(Object.assign({dl:encodeURIComponent(window.location.href),autoplay:r,player_width:t,player_height:n,puid10:F5(t,n),puid11:o?0:1,preview:m},h?{request_id:h}:{}),{duration:f}),c),w={slot:a,wrapper:l,videoEl:s,videoQuality:n,params:v,browser:{mobile:!1}},_=new window.AdmanHTML;_.setDebug(!1),_.onReady(this.onAdsReady),_.onStarted(this.onAdStarted),_.onPlayed(this.onAdPlayed),_.onPaused(this.onAdPaused),_.adMidrollPoint(this.onAdMidrollPoint),_.onClosed(this.onAdClosed),_.onSkipped(this.onAdSkipped),_.onClicked(this.onAdClicked),_.onTimeRemained(this.onAdTimeRemained),_.onCompleted(this.onAdCompleted),_.onError(this.onAdError),_.init(w),this.adman=_,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(w)}`})}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===An.Postroll;this.adsState.playbackState.set(ti.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=Je(this.adsState.playbackState);e===ti.PLAYING?this.pause():e===ti.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=An.Preroll,this.adman.start(An.Preroll)}startPostroll(){oe.assertNonNullable(this.adman),oe.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=An.Postroll,this.adman.start(An.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 j5=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 q5{constructor(){this.oneLineRegExp=/\r\n|\n|\r/,this.twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/}parse(e){const t=[],n=e.split(this.twoLinesRegExp);for(const o of n){const r={startTime:0,endTime:0,texts:[],lang:""},l=o.split(this.oneLineRegExp);for(const s of l)if(!r.startTime&&!r.endTime){const a=new df,{startTime:c,endTime:f}=a.parse(s);r.startTime=c,r.endTime=f}else if(s.trim()!==""){const a=new W5,{texts:c}=a.parse(s);r.texts=[...r.texts,...c]}(r.startTime||r.endTime)&&r.texts.length>0&&t.push(r)}return t}}class df{constructor(){this.timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/,this.timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`)}parse(e){const t={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(t.startTime=this.calcTime(n[1],n[2],n[3],n[4]),t.endTime=this.calcTime(n[6],n[7],n[8],n[9])),t}parseTime(e){const t=this.timeRegExp.exec(e);return t?this.calcTime(t[1],t[2],t[3],t[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",t="0",n="0",o="0"){const r=Number(e)*60*60,l=Number(t)*60,s=Number(n),a=+`0.${o}`;return r+l+s+a}}class W5{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](l){let s=0;const a=[];for(;s<l.length;){const c=["<",">"].reduce((f,m)=>{const h=l.indexOf(m,s);return f===-1||f>h?h:f},-1);if(c===-1){a.push(l.substring(s));break}a.push(l.substring(s,c)),s=c+1}return a}}),r=new df;for(const l of o)r.isTime(l)?t.texts.push({type:"timestamp",value:r.parseTime(l)}):t.texts.push({type:"text",value:l});return t}}let Fn,Ht,xl=0,$l=!1;const Z5=(i,e,t)=>{var n;const o=i>=xl,r=i<xl,l=(f,m=0,h=0)=>f<m&&f<h,s=(f,m=0,h=0)=>f>=m&&f<=h,a=(f,m=0,h=0)=>f>m&&f>h,c=(n=t.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(xl=i,r&&($l=!1),oe.isNonNullable(Fn)&&s(i,Fn.startTime,Fn.endTime)&&Fn.lang===e.value)return Fn;if(!oe.isNonNullable(Ht)&&(c!=null&&c.length)&&!$l){const f=c.find(({startTime:m,endTime:h})=>s(i,m,h)||o&&l(i,m,h));Ht=f&&Object.assign(Object.assign({},f),{lang:e.value}),Fn=void 0,!oe.isNonNullable(Ht)&&c[c.length-1].endTime<i&&($l=!0);return}else{if(s(i,Ht==null?void 0:Ht.startTime,Ht==null?void 0:Ht.endTime))return Fn=Ht,Ht=void 0,Fn;(o&&a(i,Ht==null?void 0:Ht.startTime,Ht==null?void 0:Ht.endTime)||r&&l(i,Ht==null?void 0:Ht.startTime,Ht==null?void 0:Ht.endTime))&&(Ht=void 0)}},er={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 dl=null;class Bo{constructor(e,t){if(!dl){const n=new wt.OneStat(e,t),o=new oe.Subscription;dl=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n==null||n.destroy(),o==null||o.unsubscribe(),dl=null}})}}static getInstance(){return dl}}const K5=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:r,canDownload:l,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:m,coreConfig:h,player:b,disabledControls:v,isInteractive:w,interactiveRanges:_,replayInteractive:S,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:k,additionalButtons:V,looped:G=!1})=>{var I,Q,se,te;const N=Object.assign(Object.assign({},h),{configName:[...(I=h.configName)!==null&&I!==void 0?I:[],"ui"],isAudioDisabled:r,live:Object.assign(Object.assign({},(Q=h.live)!==null&&Q!==void 0?Q:{}),{isLiveCatchUpMode:!!n})}),$=m,C=b||new xe.Player(N);C.setLooped(G);const D=new oe.Logger,ce=new U5(D,{loadTimeout:$.ads.loadTimeout,initTimeout:$.ads.initTimeout}),T=Bo.getInstance(),re=ur.getInstance(),O=a==null?void 0:a.pictureInPictureApi,le=a==null?void 0:a.annotationsApi,me=D.createComponentLog("Store");let ze,He,Ee={};const de=oe.getCurrentBrowser(),ke=T?Tt(T.oneStat.vsid$):Tn(void 0),X=Le(Oo()),F=(se=O==null?void 0:O.info.isActive$)!==null&&se!==void 0?se:new oe.ValueSubject(!1),Te=O==null?void 0:O.info.type,ae=Le(0),Pe=Le([]),Ve=oe.merge(C.events.fatalError$,C.events.managedError$).subscribe(L=>Pe.update(ie=>[...ie,L])),Re=Tn(!1,L=>{const ie=C.events.fatalError$.subscribe(()=>L(!0));return()=>ie.unsubscribe()}),Se=L=>ai(void 0,void 0,void 0,function*(){var ie;const ve=Object.values(oe.InterfaceLanguage).includes(L);if($.downloadVKLanguages&&(ve&&$.updateBuiltinLanguages||!bs(L))){let Ke;try{Ke=yield oe.loadVKLangPack(L,C0,P0)}catch(lt){(ie=T==null?void 0:T.oneStat)===null||ie===void 0||ie.logError({errorType:"VKLangPack",fatal:!1}),re==null||re.report(lt,{errorType:"VKLangPack",fatal:!1})}Ke&&(gs({language:L,pack:Ke,fallback:$.defaultLanguage}),ue.set(L))}bs(L)&&ue.set(L)}),ue=Le(i);Se(i);const J=(L,ie)=>{const ve=Je(ue);return yc(ve,L,ie,$.defaultLanguage)},H=Le(Ne.Thumb),Ae=(()=>{const L=si([Re,H],([ie,ve])=>ie?Ne.Crashed:ve);return Object.assign(Object.assign({},L),{is:ie=>Je(L)===ie})})(),tt=(()=>{const L=Le(new Set(v));return Object.assign(Object.assign({},L),{add:ie=>{L.update(ve=>new Set([...ve].concat(ie)))},remove:ie=>{L.update(ve=>{const Be=[...ve];return new Set(Array.isArray(ie)?Be.filter(Ke=>!ie.includes(Ke)):Be.filter(Ke=>Ke!==ie))})},includes:ie=>{const ve=Je(L);return Array.isArray(ie)?ie.every(Be=>ve.has(Be)):ve.has(ie)}})})();me({message:"create store"});const ot=L=>{me({message:`init video, config: ${JSON.stringify(L)}`}),w?L.container.append(C.experimental.element$.getValue()):C.initVideo(L),L.subtitles&&C.setExternalTextTracks(L.subtitles),ze=L},Ue=new oe.Subject,Me=L=>Ue.next(L),Qe=new oe.Subject,at=new oe.Subject,_t=new oe.Subject,it={actionRewind$:Qe,actionSeek$:at,inPiP$:F,inFullscreen$:new oe.Observable(L=>X.subscribe(ie=>L.next(ie))),actionSetSubtitle$:_t,nextMovie$:Ue};if(T){const{oneStat:L,statSubscription:ie}=T;ie.add(L.attachTo(C)),ie.add(L.attachToUi(it)),ie.add(L.attachToAds(ce.events)),L.authorize(o).catch(ve=>{me({message:`onestat auth error ${String(ve)}`})})}if(re){const L=new oe.Subscription,ie=(ve,Be)=>L.add(ve.subscribe(Be));if(ie(C.events.managedError$,ve=>{re.logIError(ve)}),ie(C.events.fatalError$,ve=>{re.logIError(ve,!0)}),T){const{oneStat:ve}=T;ie(ve.experimental.error$,Be=>{re.logIError(Be)})}re.sentrySubscription.add(L)}const De=()=>{oe.isIOS()&&He&&w4(He)},yt=new oe.Subscription().add(C.experimental.element$.subscribe(L=>{L&&(He=L,L.classList.add("player-media"),bl(O)&&(O.updateVideoElement(),O.registryEventHandlers()),w&&L.setAttribute("pip","false"))})).add(C.events.ended$.subscribe(()=>{var L;De(),(L=s==null?void 0:s.onEnded)===null||L===void 0||L.call(s)})).add(C.events.started$.subscribe(()=>ai(void 0,void 0,void 0,function*(){var L,ie;bl(O)&&(yield O==null?void 0:O.revealPictureInPicture());const ve=C.info.muted$.getValue();(L=s==null?void 0:s.onStarted)===null||L===void 0||L.call(s),(ie=Ee.onStarted)===null||ie===void 0||ie.call(Ee,ve)}))).add(C.events.willSeek$.subscribe(({from:L,to:ie})=>{var ve;(ve=s==null?void 0:s.onSeek)===null||ve===void 0||ve.call(s,L,ie)})).add(C.info.position$.subscribe(L=>{var ie;const ve=C.info.duration$.getValue();(ie=s==null?void 0:s.onTimeupdate)===null||ie===void 0||ie.call(s,ve,L),ce.setPosition(L,ve)})).add(C.events.fatalError$.subscribe(()=>{var L;(L=s==null?void 0:s.onCrashed)===null||L===void 0||L.call(s)})).add(C.info.is3DVideo$.subscribe(L=>{bt.ui.is3DVideo.set(L)})).add(C.info.isEnded$.subscribe(L=>{w&&(L?(Je(zn)&&tt.add(I1),tt.add(ut.PLAY_BUTTON)):tt.remove(ut.PLAY_BUTTON))})).add(C.info.liveTime$.subscribe(L=>{var ie;(ie=s==null?void 0:s.onLiveTime)===null||ie===void 0||ie.call(s,L)})).add(C.info.isStalled$.subscribe(L=>{var ie;(ie=s==null?void 0:s.onStalledChanged)===null||ie===void 0||ie.call(s,L)})),Lt=new oe.Subscription,It=()=>{Lt.add(C.events.log$.subscribe(L=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${L.component}`,L.message)})).add(D.log$.subscribe(L=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${L.component}.`,L.message)}))},ui=()=>{Lt.unsubscribe()},fe=(L,ie)=>{C.startCameraManualRotation(L,ie)},kt=(L=!1)=>{C.stopCameraManualRotation(L)},st=(L,ie,ve)=>{C.moveCameraFocusPX(L,ie,ve)},St=()=>{C.holdCamera()},pt=()=>{C.releaseCamera()},At=Tn(C.info.position$.getValue(),L=>{let ie,ve;const Be=()=>{const Ke=C.info.playbackState$.getValue(),lt=C.info.isLive$.getValue(),Pt=C.info.duration$.getValue(),vt=C.info.position$.getValue();if([xe.PlaybackState.PLAYING,xe.PlaybackState.PAUSED].includes(Ke)){const zi=lt?vt-Pt:C.getExactTime();zi!==ve&&L(zi),ve=zi}ie=requestAnimationFrame(Be)};return Be(),()=>cancelAnimationFrame(ie)}),Xe=Tt(F),Fe=Tt(C.info.playbackState$),Vt=Tt(C.info.currentBuffer$),ci=Tt(C.info.isEnded$),ki=Tt(C.info.isLive$),Yi=$.features.playbackRate?Tt(C.info.canChangePlaybackSpeed$):Tn(!1),Si=Tt(C.info.liveBufferTime$),Fi=Tt(C.info.volume$),fi=Tt(C.info.muted$),Rt=N1(C.info.autoQualityLimits$.pipe(oe.map(({max:L})=>L!==void 0)),((te=C.info.autoQualityLimits$.getValue())===null||te===void 0?void 0:te.max)!==void 0),Wt=Tt(C.info.autoQualityLimitingAvailable$),Ci=Tt(C.info.availableQualities$),Yt=Tt(C.info.availableQualitiesFps$),ni=Tt(C.info.chromecastState$),oi=Tt(C.info.chromecastDeviceName$),Pi=Tt(C.info.currentFormat$),Qt=Tt(C.info.throughputEstimation$),Mt=Tt(C.info.videoBitrate$),Hi=Tt(C.info.intrinsicVideoSize$),di=Tt(C.info.duration$),Ti=Tt(C.info.isAudioAvailable$);let Ot=null;const Xt=C.info.isBuffering$,mi=Tn(Xt.getValue(),L=>{const ie=Xt.subscribe(ve=>{ve&&Ot===null?Ot=window.setTimeout(()=>{L(Xt.getValue()),Ot=null},$.loaderDelay):L(ve)});return()=>{ie.unsubscribe(),Ot&&clearTimeout(Ot)}}),pi=()=>{Ot&&clearTimeout(Ot),Ot=null},jt=si([di,ki],([L,ie])=>ie?-L:L),ct=si([Fe],([L])=>L===xe.PlaybackState.PLAYING),ft=Tt(C.info.atLiveEdge$),Dt=Tt(C.info.atLiveDurationEdge$),Bt=Tt(C.info.position$),Ui=si([Bt,di],([L,ie])=>isFinite(L)&&isFinite(ie)&&!!ie),Ei=si([ni],([L])=>L===xe.ChromecastState.CONNECTED),Jt=Le(void 0),Zt=Tt(C.info.isAutoQualityEnabled$,L=>L&&Jt.set(void 0)),ji=Tt(C.info.currentQuality$,()=>Jt.set(void 0)),xt=si([Jt,ji],([L,ie])=>L!=null?L:ie),xi=si([Ci,Yt,Zt,xt,Pi],([L,ie,ve,Be,Ke])=>{const lt=[];Ke!==xe.VideoFormat.MPEG&<.push({value:So.AUTO,displayValue:J("auto_quality_option"),selected:ve});const Pt=L.filter(vt=>vt!==oe.VideoQuality.INVARIANT);for(const vt of Pt){const zi=ie[vt],Gn=vt===oe.VideoQuality.INVARIANT?J("auto_quality_option"):vt;lt.push({value:vt,displayValue:`${Gn}${zi?j5(zi):""}`,selected:ve?!1:vt===Be})}return lt}),li=Tt(C.info.currentPlaybackRate$),Ai=si([li,ft,Dt],([L,ie,ve])=>{const Be=ve||w?1:$.controls.playbackRateMin,Ke=ie?1:$.controls.playbackRateMax,lt=$.controls.playbackRateStep,Pt=[];for(let vt=Be;vt<=Ke;vt+=lt)Pt.push({value:vt,displayValue:vt===1?J("playback_rate_1"):J("playback_rate",{multiplier:vt.toString(10)}),selected:L===vt});return Pt}),Nt=$.features.subtitles?Tt(C.info.availableTextTracks$):Tn([]),Li=si([Nt],([L],ie)=>{const ve=[],Be=[];for(const Ke of L)Ke.url&&ve.push(z5(Ke.url));Promise.allSettled(ve).then(Ke=>{for(const[lt,Pt]of Ke.entries())Pt.status==="fulfilled"&&Pt.value.text().then(vt=>{const zi=new q5,Gn=L[lt].language,Vo=!!L[lt].isAuto,Yo=zi.parse(vt);Gn&&Yo&&Be.push({lang:Gn,subtitles:Yo,isAuto:Vo}),lt===Ke.length-1&&ie(Be)})})}),Ct={displayValue:J("subtitles_off"),value:"off"},$t=Le(Object.assign({},Ct)),Qi=si([Li,$t,Li],([L,ie])=>{if((L==null?void 0:L.length)>0){const ve=[Object.assign(Object.assign({},Ct),{selected:(ie==null?void 0:ie.value)===Ct.value})];for(const{lang:Be,isAuto:Ke}of L)er[Be]&&ve.push({displayValue:Ke?J("subtitles_auto",{language:er[Be]}):er[Be],value:Be,selected:(ie==null?void 0:ie.value)===Be,isAuto:Ke});return ve}else return[]}),qi=si([At,$t,Li],([L,ie,ve])=>{if(ie&&ie.value!==Ct.value)return Z5(L,ie,ve)}),hi=si([qi],([L])=>L!=null&&L.texts?L.texts:[]),Kt=Le(!0),Wi=si([Vt,jt,Bt,Si],([L,ie,ve,Be])=>{var Ke;const lt=(Ke=L==null?void 0:L.end)!==null&&Ke!==void 0?Ke:0;if(!Be)return lt/ie;const vt=-ve+Be-ie;return(lt-vt)/ie}),Zi=Tt(C.info.availableSources$),Ii=si([Zi],([L])=>Object.keys((L==null?void 0:L[xe.VideoFormat.MPEG])||{}).length>0),Vi=()=>{var L,ie,ve;const Be=Object.keys(((ie=(L=C.info.availableSources$)===null||L===void 0?void 0:L.getValue())===null||ie===void 0?void 0:ie[xe.VideoFormat.MPEG])||{}),Ke=oe.getHighestQuality(Be)||oe.VideoQuality.Q_144P;return(ve=ze.sources[xe.VideoFormat.MPEG])===null||ve===void 0?void 0:ve[Ke]},Ki=()=>{var L;const ie=Vi();ie?N0(ie,((L=ze==null?void 0:ze.meta)===null||L===void 0?void 0:L.title)||"video"):me({message:"There is no URL for download video"})},Ie=()=>{me({message:"toggle muted"});const L=C.info.muted$.getValue(),Be=!(C.info.volume$.getValue()===0||L);gi(Be)},vi=()=>{bt.ui.settingsMenuVisible.set(!1)},Gi=L=>{bt.ui.settingsMenuOpenedByKeyboard.set(!!L),bt.ui.settingsMenuVisible.set(!0)},Mi=L=>{Je(bt.ui.settingsMenuVisible)?vi():Gi(L)},ri=(L,ie=L,ve=!1)=>{var Be,Ke,lt;const Pt=!ve,vt=C.info.muted$.getValue();me({message:`set volume, volume: ${L}, preferredVolume: ${ie}, internalCall: ${Pt}`}),C.setVolume(L),ce.setVolume(L),Pt&&((Be=s==null?void 0:s.onVolumeChange)===null||Be===void 0||Be.call(s,L)),Kr(ie),vt?(C.setMuted(!1),Pt&&((Ke=s==null?void 0:s.onUnmute)===null||Ke===void 0||Ke.call(s)),Ml(!1)):!vt&&L===0&&(C.setMuted(!0),Pt&&((lt=s==null?void 0:s.onMute)===null||lt===void 0||lt.call(s)),Ml(!0))},gi=(L,ie=!1)=>{var ve,Be,Ke,lt;const Pt=!ie,vt=C.info.volume$.getValue();if(me({message:`set muted, currentVolume: ${vt}, mute: ${L}, internalCall: ${Pt}`}),C.setMuted(L),ce.setVolume(L?0:vt),Ml(L),Pt&&(L?(ve=s==null?void 0:s.onMute)===null||ve===void 0||ve.call(s):(Be=s==null?void 0:s.onUnmute)===null||Be===void 0||Be.call(s)),vt===0){let zi=(Ke=F1())!==null&&Ke!==void 0?Ke:$.volumeDefault;zi===0&&(zi=$.volumeMinRestore,Kr(zi)),C.setVolume(zi),ce.setVolume(zi),Pt&&((lt=s==null?void 0:s.onVolumeChange)===null||lt===void 0||lt.call(s,zi))}},qe=()=>{C.prepare()},Bi=()=>{var L,ie;if(oe.assertNonNullable(bt),!Je(bt.ui.controls.disabledControls$).has(ut.PLAY_BUTTON)){if(me({message:"toggle play"}),Je(bt.playerPhase)===Ne.Ads){ce.togglePlay();return}if(C.info.playbackState$.getValue()!==xe.PlaybackState.PLAYING){if(C.info.isEnded$.getValue()){if(me({message:"toggle play, video ended, seek to 0"}),Qe.next(),at.next(wt.SeekAction.REWIND),w){S==null||S();return}C.seekTime(0)}me({message:"toggle play, call player.play"}),C.play(),(L=s==null?void 0:s.onPlay)===null||L===void 0||L.call(s)}else me({message:"toggle play, call player.pause"}),C.pause(),(ie=s==null?void 0:s.onPause)===null||ie===void 0||ie.call(s)}},bi=L=>{me({message:`set quality, quality: ${L}`}),C.setAutoQuality(L===So.AUTO),L!==So.AUTO?(R0(e,L),Jt.set(L),C.setQuality(L)):H1()},Ni=L=>{me({message:`set trafficSavingEnabled, value: ${L}`}),C.setAutoQualityLimits({max:L?$.trafficSavingLimit:void 0}),z0(L)},zt=L=>{C.setPlaybackRate(L)},mn=()=>{const L=Je(Ai),ie=L.findIndex(({selected:Be})=>Be);if(ie===L.length-1)return;const ve=L[ie+1];zt(ve.value)},bn=()=>{const L=Je(Ai),ie=L.findIndex(({selected:Be})=>Be);if(ie===0)return;const ve=L[ie-1];zt(ve.value)},Ri=L=>{L&&L.value!==Ct.value&&_t.next(L.isAuto?L.value+"_auto":L.value),$t.set(L)},_i=()=>{const L=Je(Qi),ie=Je($t),ve=Je(ue);if((ie==null?void 0:ie.value)===Ct.value){const Be=L.filter(Ke=>Ke.value!==Ct.value).find(Ke=>Ke.value===ve)||L[1];Ri(Be!=null?Be:Object.assign({},Ct))}else Ri(Object.assign(Object.assign({},Ct),{selected:!1}))},wi=(L,ie,ve=!0)=>{if(me({message:`seek to time, time: ${L}`}),at.next(ie),C.info.isLive$.getValue()){const Be=C.info.duration$.getValue(),Ke=Math.min(0,Be+L);C.seekTime(Ke,ve)}else{if(Je(zn))return;C.seekTime(Io(L),ve)}},ln=L=>{me({message:`seek to episode start time: ${L}`}),wi(L,wt.SeekAction.EPISODE,!0)},$i=(L,ie)=>{me({message:`seek to percent, percent: ${L}`});const ve=Math.round(Je(jt)*L);wi(ve,ie,!1)},en=L=>{me({message:`seek external, time: ${L}`}),at.next(wt.SeekAction.UNKNOWN),C.seekTime(C.info.isLive$.getValue()?-L:L)},tn=L=>{var ie,ve;me({message:`set auto quality limitation. Max: ${(ie=L.max)!==null&&ie!==void 0?ie:"none"}. Min: ${(ve=L.min)!==null&&ve!==void 0?ve:"none"}`}),C.setAutoQualityLimits(L)},Oi=L=>{me({message:`seek external to episode start time: ${L}`}),wi(L,wt.SeekAction.EPISODE,!0)},ne=L=>{me({message:`set playback rate to: ${L}`}),C.setPlaybackRate(L)},et=Le(void 0),Ft=Le(!1),Xi=L=>{me({message:`start scrubbing, progress: ${L}`}),Ft.set(!0),dt(L)},dt=L=>{et.set(L)};let rn,_n;const sn=()=>{et.set(void 0),Ft.set(!1)},pn=()=>{clearTimeout(_n),clearTimeout(rn),rn=window.setTimeout(()=>{sn()},500),He==null||He.removeEventListener("seeked",pn)},hn=L=>{me({message:`complete scrubbing, progress: ${L}`}),$i(L,wt.SeekAction.SLIDER),Je(bt.ui.isMobile)&&Je(bt.state.currentFormat$)===xe.VideoFormat.HLS?(He==null||He.addEventListener("seeked",pn),_n=window.setTimeout(()=>{pn()},300)):sn()},ee=si([At,jt,et],([L,ie,ve],Be)=>{Be(oe.isNonNullable(ve)?ve*ie:L)}),mt=Le({width:0,height:0}),an=si([mt],([{width:L}],ie)=>{const ve=Ah(L);ie(ve)}),Di=Le(!1),un=si([an,Di],([L,ie])=>ie?V.filter(ve=>!ve.hideOnMobile):V.filter(ve=>{var Be;return!(!((Be=ve.hideOnDesktopGridTypes)===null||Be===void 0)&&Be.includes(L))})),x=si([Di,Re],([L,ie],ve)=>{ve(L&&ie)}),Dn=()=>{at.next(wt.SeekAction.LIVE),me({message:"switch to active live"}),C.seekTime(0),C.info.playbackState$.getValue()!==xe.PlaybackState.PLAYING&&bt.actions.internal.togglePlay()},qn=()=>ce.skip(),xn=(L=!0)=>{oe.assertNonNullable(bt),me({message:`switch from ads to video, callPlay: ${L}`}),H.set(Ne.Video),L&&C.play()},$n=()=>{oe.assertNonNullable(bt),me({message:"switch from video to ads"}),bt.actions.internal.pause(),De(),H.set(Ne.Ads)},eo=L=>{oe.assertNonNullable(bt);const ie=L?Ne.WaitingLive:Ne.Thumb;H.set(ie)},to=L=>{oe.assertNonNullable(bt);const ie=L?Ne.WaitingRecord:Ne.Thumb;H.set(ie)},io=()=>(oe.assertNonNullable(bt),M0(C,ze,bt)),no=()=>(oe.assertNonNullable(bt),B0(C,ze,bt)),oo=()=>He,Wn=()=>{me({message:"toggle chromecast"}),C.toggleChromecast()},Zn=L=>{var ie;oe.assertNonNullable(bt);const ve=!L;if(Je(bt.playerPhase)===Ne.Ads){me({message:`pause ads, internalCall: ${ve}`}),ce.pause();return}me({message:`pause video, internalCall: ${ve}`}),ve&&((ie=s==null?void 0:s.onPause)===null||ie===void 0||ie.call(s)),C.pause()},cn=L=>{var ie;oe.assertNonNullable(bt);const ve=!L;if(Je(bt.playerPhase)===Ne.Ads){me({message:`play ads, internalCall: ${ve}`}),ce.play();return}me({message:`play video, internalCall: ${ve}`}),ve&&((ie=s==null?void 0:s.onPlay)===null||ie===void 0||ie.call(s)),C.play()},lo=(L,ie)=>{oe.assertNonNullable(bt),me({message:`first start, show ads: ${L}, internalCall: ${!ie}`}),L?H.set(Ne.Ads):(H.set(Ne.Video),ie?C.play():bt.actions.internal.togglePlay())},Kn=()=>(me({message:"getting time codes"}),c),ro=()=>{const L=Kn();if(!L||[0,1].includes(L.length))return;const ie=C.info.position$.getValue();return L.find(ve=>ve.time>ie)},so=L=>{let ie=L;ie||(ie=ro()),ie&&(me({message:"seek to next episode"}),wi(ie.time,wt.SeekAction.EPISODE,!0))},ao=()=>{const L=Kn();if(!L||[0,1].includes(L.length))return;const ie=C.info.position$.getValue(),ve=L.findIndex(Ke=>Ke.time>ie),Be=ve===-1?L.length-2:ve-2;if(!(Be<0))return L[Be]},uo=L=>{let ie=L;ie||(ie=ao()),ie&&(me({message:"seek to prev episode"}),wi(ie.time,wt.SeekAction.EPISODE,!0))},Lo=()=>(me({message:"getting preview thumbs data"}),f),co=()=>ai(void 0,void 0,void 0,function*(){O!=null&&O.isActive()?yield O==null?void 0:O.remove():yield O==null?void 0:O.request()}),q=(L=-90)=>{ae.update(ie=>ie+L)},ht=Le(_),fn=si([ht],([L=[]])=>{const ie=[];for(let ve=0;ve<L.length;ve++){const{range:[Be,Ke],subjects:lt}=L[ve];ve===0&&Be!==0&&ie.push({time:0,text:"",interactive:!1,completed:!0}),ie.push({time:Be/1e3,text:"",interactive:!0,completed:!lt.length}),Ke!==1/0&&ie.push({time:Ke/1e3,text:"",interactive:!1,completed:!0})}return ie}),nn=L=>{const ie=Je(ht);ht.set(ie.map(ve=>Object.assign(Object.assign({},ve),{subjects:ve.subjects.filter(Be=>Be!==L)})))},Pn=Le(!1),zn=si([Bt,ht,Pn],([L,ie,ve])=>{if(!w)return!1;if(ve)return!0;const Be=L*1e3,Ke=ie==null?void 0:ie.find(({range:[lt,Pt],subjects:vt})=>lt<Be&&Be<Pt&&vt.length);return Ke&&Je(Ft)&&sn(),!!Ke}),Io=L=>{if(!w)return L;const ie=Je(fn),ve=Je(jt),Ke=Je(Bt)/ve,lt=ie.find(Pt=>Pt.interactive&&!Pt.completed&&Pt.time>Ke);return typeof(lt==null?void 0:lt.time)=="number"?Math.min(L,lt.time-.05):L},Ko=()=>{bt.ui.episodes.panelOpened$.set(!1)},Go=()=>{clearTimeout(_n),clearTimeout(rn),yt.unsubscribe(),Lt.unsubscribe(),C.destroy(),ce.destroy(),T==null||T.destroy(),re==null||re.destroy(),Ve.unsubscribe()},bt={interfaceLanguage$:ue,initVideo:ot,videoId:e,isClip:t,playerPhase:Ae,vsid:ke,state:{positionExact$:At,positionWithScrubbing$:ee,duration$:jt,playbackState$:Fe,isPlaying$:ct,isLoaderVisible:mi,bufferedProgress$:Wi,isLive$:ki,canChangePlaybackSpeed$:Yi,isActiveLive$:ft,isOldestAvailableLive$:Dt,isRewindableLive$:Ui,isEnded$:ci,muted$:fi,volume$:Fi,trafficSavingEnabled$:Rt,autoQualityLimitingAvailable$:Wt,currentQuality$:xt,isAutoQualityEnabled$:Zt,availableQualities$:xi,currentPlaybackRate$:li,availablePlaybackRates$:Ai,currentSubtitle$:$t,availableSubtitlesList$:Qi,currentSubtitleCaptions$:hi,isAutoSubtitleCaptionVisible$:Kt,chromecastState$:ni,chromecastDeviceName$:oi,chromecastConnected$:Ei,currentFormat$:Pi,throughputEstimation$:Qt,videoBitrate$:Mt,videoSize$:Hi,errorLog$:Pe,crashed$:Re,isAudioAvailable$:Ti,isAudioDisabled:!!r,canDownload:$.features.download&&!!l,availableSources$:Zi,hasMpegSources$:Ii,isInteractive:w,isInteractiveGraphEnabled:$.features.interactiveGraph,isSeekToInteractiveEnable:$.features.seekToInteractive,isPlayPrevChapterEnabled:$.features.interactivePlayPrevChapter,interactiveEpisodes$:fn,isInteractiveTime$:zn,graphIsOpened$:Le(!1),isInteractiveExpectation$:Pn,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:k},ui:{controlsVisible:Le(!1),touched:Le(!1),controls:{prevButton:Le(void 0),playButton:Le(void 0),replayButton:Le(void 0),nextButton:Le(void 0),playPrevChapterButton:Le(void 0),seekToInteractiveButton:Le(void 0),interactiveGraphButton:Le(void 0),liveButton:Le(void 0),time:Le(void 0),episodes:Le(void 0),volume:Le(void 0),subtitles:Le(void 0),settings:Le(void 0),context:Le(void 0),chromecast:Le(void 0),pip:Le(void 0),fullscreen:Le(void 0),vkLogo:Le(void 0),additionalButtons:V.length?V.reduce(L=>[...L,Le(void 0)],[]):[],disabledControls$:tt},modals:{hotKeyMap:{show:Le(!1),data:Le({title:"",closeBtnText:"",groups:[]})}},isFullscreen:X,rotateAlpha:ae,isAutoplay:Le(!1),contextMenuVisible:Le(!1),debugPanelVisible:Le(!1),episodes:{panelOpened$:Le(!1),openedByKeyboard$:Le(!1)},contextMenu:{btnRef$:Le(void 0),openedByKeyboard$:Le(!1),showContextMenuBtn$:Le(!1)},playerSize:mt,isMobile:Di,mobileNotReportControlHidden$:x,mobileUnmuteButtonExpanded:Le(!1),mobileUnmuteButtonVisible:Le(!1),icon3DVideoVisible:Le(!1),settingsMenuVisible:Le(!1),settingsMenuOpenedByKeyboard:Le(!1),scrubbingInProgress:Ft,is3DVideo:Le(!1),isPictureInPictureActive$:Xe,pictureInPictureType$:Tn(Te),clientInfo$:Tn(de),currentGridType$:an,additionalButtons$:un,interactiveHideMobileControls:Le(!1),overlayContainer$:Le(void 0),startedByKeyboard$:Le(!1)},ads:{position:Le(0),duration:Le(0),playbackState:Le(ti.INACTIVE),canSkip:Le(!1),secondsToWatchBeforeSkip:Le(0),postrollPassed:Le(!1)},webApi:{pictureInPictureApi:O,annotationsApi:le},actions:{internal:{preload:qe,firstStart:L=>lo(L,!1),pause:()=>Zn(!1),togglePlay:Bi,toggleMuted:Ie,toggleSettingsMenu:Mi,openSettingsMenu:Gi,closeSettingsMenu:vi,setVolume:ri,setQuality:bi,setTrafficSavingEnabled:L=>Ni(L),setPlaybackRate:zt,incrementPlaybackRate:mn,decrementPlaybackRate:bn,setSubtitle:Ri,toggleSubtitle:_i,togglePictureInPicture:co,startScrubbing:Xi,progressScrubbing:dt,completeScrubbing:hn,toggleChromecast:Wn,switchToActiveLive:Dn,switchFromAdsToVideo:xn,switchFromVideoToAds:$n,skipAd:qn,setWaitingLive:eo,setWaitingRecord:to,getDebugTextData:io,getDebugPanelData:no,getVideoElement:oo,seekTime:(L,ie,ve)=>wi(L,ie,ve),clearDelayedBufferingCheckTimeout:pi,seekEpisodeStartTime:ln,seekToPercent:$i,getNextEpisode:ro,seekToNextEpisode:so,getPrevEpisode:ao,seekToPrevEpisode:uo,startLogging:It,stopLogging:ui,startCameraManualRotation:fe,stopCameraManualRotation:kt,moveCameraFocusPX:st,holdCamera:St,releaseCamera:pt,getVideoEpisodes:Kn,getPreviewThumbsData:Lo,downloadVideo:Ki,addLanguage:gs,setLanguage:Se,nextMovie:Me,videoRotate:q,completeInteractiveRange:nn,correctSeekTimeToInteractive:Io,replayInteractive:S},external:{firstStart:L=>lo(L,!0),play:()=>cn(!0),pause:()=>Zn(!0),seekTime:L=>en(L),seekEpisodeStartTime:L=>Oi(L),setPlaybackRate:L=>ne(L),setAutoQualityLimits:L=>tn(L),setMuted:L=>gi(L,!0),setVolume:L=>ri(L,L,!0),returnFocusToEpisodes:Ko}},callbacks:s,setUiCallbacks:L=>{Ee=Object.assign({},L)},getAdmanWrapper:()=>ce,getLogger:()=>D,destroy:Go};return bt},mf=(i,e,t,n)=>{var o;if(!i)return;const r=i.getBoundingClientRect();for(const[l,s]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(l)){const a=(o=t[l])===null||o===void 0?void 0:o.getBoundingClientRect(),c=n&&!!a&&!!(a.right-a.left);s.set({positionStartX:0,positionEndX:0,left:c?Math.round(a.left-r.left):0,right:c?Math.round(a.right-r.left):0,top:c?Math.round(a.top-r.top):0,bottom:c?Math.round(a.bottom-r.top):0,isDisplayed:c})}},pf=(i,e,t)=>ai(void 0,void 0,void 0,function*(){yield zo(),e&&t&&(t.focus(),i.set(!1))});function G5(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M18 10c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2Zm-6 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm-6 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z"),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","dots-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class Y5 extends we{constructor(e){super(),_e(this,e,null,G5,be,{})}}function Q5(i){let e,t;return e=new Y5({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function X5(i){let e,t,n;function o(l){i[8](l)}let r={className:i[3]?"opened":"",testId:"btn-context-menu",disabled:i[0],ariaLabel:i[1],click:i[5],focus:i[6],blur:i[7],ariaExpanded:i[3],$$slots:{default:[Q5]},$$scope:{ctx:i}};return i[2]!==void 0&&(r.ref=i[2]),e=new yi({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,[s]){const a={};s&8&&(a.className=l[3]?"opened":""),s&1&&(a.disabled=l[0]),s&2&&(a.ariaLabel=l[1]),s&8&&(a.ariaExpanded=l[3]),s&8192&&(a.$$scope={dirty:s,ctx:l}),!t&&s&4&&(t=!0,a.ref=l[2],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function J5(i,e,t){let n,{disabled:o=!1}=e,{ariaLabel:r=""}=e;const l=Et(),s=l.ui.contextMenuVisible;z(i,s,_=>t(3,n=_));const a=l.ui.contextMenu.openedByKeyboard$,c=l.ui.contextMenu.showContextMenuBtn$,f=l.ui.contextMenu.btnRef$,m=_=>{const S=yr(_);a.set(S),s.set(!n)};let h;const b=()=>{c.set(!0)},v=()=>{c.set(!1)};function w(_){h=_,t(2,h)}return i.$$set=_=>{"disabled"in _&&t(0,o=_.disabled),"ariaLabel"in _&&t(1,r=_.ariaLabel)},i.$$.update=()=>{i.$$.dirty&4&&h&&f.set(h)},[o,r,h,n,s,m,b,v,w]}class x5 extends we{constructor(e){super(),_e(this,e,J5,X5,be,{disabled:0,ariaLabel:1})}}function $5(i){je(i,"v-st0uzk",".wrapper-bottom.v-st0uzk.v-st0uzk{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-st0uzk>.v-st0uzk{pointer-events:auto}.controls.v-st0uzk.v-st0uzk{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-st0uzk.v-st0uzk,.controls-right.v-st0uzk.v-st0uzk{display:flex;align-content:center}.controls-left.v-st0uzk.v-st0uzk{flex-grow:1;min-width:0;overflow:hidden}.controls-left.v-st0uzk > *:not(:first-child),.controls-right.v-st0uzk > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-st0uzk.v-st0uzk{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-st0uzk.v-st0uzk{transition:none}.settings-menu.v-st0uzk.v-st0uzk{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function Ma(i,e,t){const n=i.slice();return n[205]=e[t].iconUrl,n[206]=e[t].ariaLabel,n[207]=e[t].testId,n[208]=e[t].onClick,n[209]=e[t].tooltip,n}function Ba(i){let e,t,n;function o(l){i[171](l)}let r={disabled:!i[9],tooltipContent:Y("tooltip_previous"),$$slots:{default:[eg]},$$scope:{ctx:i}};return i[23].prevButton!==void 0&&(r.ref=i[23].prevButton),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[0]&512&&(a.disabled=!l[9]),s[0]&4608|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].prevButton,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function eg(i){let e,t;return e=new Pl({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&4096&&(r.click=n[12]),o[0]&512&&(r.disabled=!n[9]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Na(i){let e,t,n;function o(l){i[172](l)}let r={disabled:i[74],tooltipContent:Y("tooltip_restart"),$$slots:{default:[tg]},$$scope:{ctx:i}};return i[23].replayButton!==void 0&&(r.ref=i[23].replayButton),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[2]&4096&&(a.disabled=l[74]),s[2]&4096|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].replayButton,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function tg(i){let e,t;return e=new Lr({props:{click:i[127],disabled:i[74]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[2]&4096&&(r.disabled=n[74]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ra(i){let e,t,n;function o(l){i[174](l)}let r={tooltipContent:i[47],disabled:i[75],$$slots:{default:[ig]},$$scope:{ctx:i}};return i[23].playButton!==void 0&&(r.ref=i[23].playButton),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.tooltipContent=l[47]),s[2]&8192&&(a.disabled=l[75]),s[0]&67108864|s[1]&8|s[2]&8192|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].playButton,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function ig(i){let e,t,n;function o(l){i[173](l)}let r={isMobile:!1,isPlaying:i[34],click:i[86],disabled:i[75]};return i[26]!==void 0&&(r.ref=i[26]),e=new Ar({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[1]&8&&(a.isPlaying=l[34]),s[2]&8192&&(a.disabled=l[75]),!t&&s[0]&67108864&&(t=!0,a.ref=l[26],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function Oa(i){let e,t,n;function o(l){i[175](l)}let r={disabled:!i[8],tooltipContent:Y("tooltip_next"),$$slots:{default:[ng]},$$scope:{ctx:i}};return i[23].nextButton!==void 0&&(r.ref=i[23].nextButton),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[0]&256&&(a.disabled=!l[8]),s[0]&2304|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].nextButton,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function ng(i){let e,t;return e=new Pl({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&2048&&(r.click=n[11]),o[0]&256&&(r.disabled=!n[8]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function og(i){let e,t,n,o,r=i[121]&&lg(i),l=i[120]&&sg(i),s=i[119]&&ug(i);return{c(){r&&r.c(),e=R(),l&&l.c(),t=R(),s&&s.c(),n=gt()},m(a,c){r&&r.m(a,c),E(a,e,c),l&&l.m(a,c),E(a,t,c),s&&s.m(a,c),E(a,n,c),o=!0},p(a,c){a[121]&&r.p(a,c),a[120]&&l.p(a,c),a[119]&&s.p(a,c)},i(a){o||(d(r),d(l),d(s),o=!0)},o(a){g(r),g(l),g(s),o=!1},d(a){a&&(P(e),P(t),P(n)),r&&r.d(a),l&&l.d(a),s&&s.d(a)}}}function lg(i){let e,t,n;function o(l){i[176](l)}let r={disabled:i[73],tooltipContent:Y("tooltip_interactive_go_back"),disabledTooltipContent:Y(i[123]),$$slots:{default:[rg]},$$scope:{ctx:i}};return i[23].playPrevChapterButton!==void 0&&(r.ref=i[23].playPrevChapterButton),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[2]&2048&&(a.disabled=l[73]),s[0]&131072|s[2]&2048|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].playPrevChapterButton,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function rg(i){let e,t;return e=new sf({props:{disabled:i[73],click:i[17]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[2]&2048&&(r.disabled=n[73]),o[0]&131072&&(r.click=n[17]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function sg(i){let e,t,n;function o(l){i[177](l)}let r={disabled:i[76],tooltipContent:Y("tooltip_interactive_seek"),disabledTooltipContent:Y(i[79]),$$slots:{default:[ag]},$$scope:{ctx:i}};return i[23].seekToInteractiveButton!==void 0&&(r.ref=i[23].seekToInteractiveButton),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[2]&16384&&(a.disabled=l[76]),s[2]&131072&&(a.disabledTooltipContent=Y(l[79])),s[0]&32768|s[2]&16384|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].seekToInteractiveButton,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function ag(i){let e,t;return e=new of({props:{disabled:i[76],click:i[15]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[2]&16384&&(r.disabled=n[76]),o[0]&32768&&(r.click=n[15]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function ug(i){let e,t,n;function o(l){i[178](l)}let r={tooltipContent:i[48],disabled:i[77],$$slots:{default:[cg]},$$scope:{ctx:i}};return i[23].interactiveGraphButton!==void 0&&(r.ref=i[23].interactiveGraphButton),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[1]&131072&&(a.tooltipContent=l[48]),s[2]&32768&&(a.disabled=l[77]),s[0]&65536|s[1]&1|s[2]&32768|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].interactiveGraphButton,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function cg(i){let e,t;return e=new lf({props:{click:i[16],graphIsOpened:i[31],disabled:i[77]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&65536&&(r.click=n[16]),o[1]&1&&(r.graphIsOpened=n[31]),o[2]&32768&&(r.disabled=n[77]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Da(i){let e,t,n;function o(l){i[179](l)}let r={tooltipContent:i[50],$$slots:{default:[fg]},$$scope:{ctx:i}};return i[23].liveButton!==void 0&&(r.ref=i[23].liveButton),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[1]&524288&&(a.tooltipContent=l[50]),s[0]&2097152|s[1]&524288|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].liveButton,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function fg(i){let e,t;return e=new xc({props:{isActiveLive:i[21],isMobile:!1,ariaLabel:i[50]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.isActiveLive=n[21]),o[1]&524288&&(r.ariaLabel=n[50]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function za(i){let e,t,n;function o(l){i[180](l)}let r={isMobile:!1,showDuration:i[55],position:i[4]?i[80]:i[81],duration:i[4]?i[82]:i[83]};return i[23].time!==void 0&&(r.ref=i[23].time),e=new Zc({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[1]&16777216&&(a.showDuration=l[55]),s[0]&16|s[2]&786432&&(a.position=l[4]?l[80]:l[81]),s[0]&16|s[2]&3145728&&(a.duration=l[4]?l[82]:l[83]),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].time,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function Fa(i){let e,t;return e=new nf({props:{position:i[81],duration:i[83],timeCodes:i[102]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[2]&524288&&(r.position=n[81]),o[2]&2097152&&(r.duration=n[83]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function dg(i){let e,t,n=i[20]&&Fa(i);return{c(){n&&n.c(),e=gt()},m(o,r){n&&n.m(o,r),E(o,e,r),t=!0},p(o,r){o[20]?n?(n.p(o,r),r[0]&1048576&&d(n,1)):(n=Fa(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(pe(),g(n,1,1,()=>{n=null}),he())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function mg(i){var n;let e,t;return e=new af({props:{iconUrl:i[205],ariaLabel:(n=i[206])!=null?n:i[209],testId:i[207],onClick:i[208]}}),{c(){W(e.$$.fragment)},m(o,r){U(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&268435456&&(l.iconUrl=o[205]),r[0]&268435456&&(l.ariaLabel=(s=o[206])!=null?s:o[209]),r[0]&268435456&&(l.testId=o[207]),r[0]&268435456&&(l.onClick=o[208]),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){j(e,o)}}}function Ha(i){let e,t;return e=new qt({props:{tooltipContent:i[209],width:40,$$slots:{default:[mg]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&268435456&&(r.tooltipContent=n[209]),o[0]&268435456|o[6]&67108864&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ua(i){let e,t,n;function o(l){i[183](l)}let r={disabled:!i[6],tooltipContent:i[51],$$slots:{default:[pg]},$$scope:{ctx:i}};return i[23].vkLogo!==void 0&&(r.ref=i[23].vkLogo),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[0]&64&&(a.disabled=!l[6]),s[1]&1048576&&(a.tooltipContent=l[51]),s[0]&192|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].vkLogo,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function pg(i){let e,t;return e=new Xc({props:{click:i[87],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&64&&(r.logoClickable=n[6]),o[0]&128&&(r.videoLogoUrl=n[7]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function hg(i){let e,t;return e=new Nh({props:{isAudioAvailable:i[78],click:i[126]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[2]&65536&&(r.isAudioAvailable=n[78]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function ja(i){let e,t,n;function o(l){i[185](l)}let r={tooltipContent:i[52],$$slots:{default:[vg]},$$scope:{ctx:i}};return i[23].subtitles!==void 0&&(r.ref=i[23].subtitles),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[1]&2097152&&(a.tooltipContent=l[52]),s[0]&262144|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].subtitles,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function vg(i){let e,t;return e=new Wp({props:{isSubtitlesEnabled:i[18],click:i[88]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&262144&&(r.isSubtitlesEnabled=n[18]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function qa(i){var s;let e,t,n,o;function r(a){i[186](a)}let l={supportLink:i[10],playerControlsHeight:(s=i[46])==null?void 0:s.clientHeight,returnFocus:i[14]};return i[24]!==void 0&&(l.ref=i[24]),t=new Wc({props:l}),ye.push(()=>Ze(t,"ref",r)),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(a,c){E(a,e,c),U(t,e,null),o=!0},p(a,c){var m;const f={};c[0]&1024&&(f.supportLink=a[10]),c[1]&32768&&(f.playerControlsHeight=(m=a[46])==null?void 0:m.clientHeight),c[0]&16384&&(f.returnFocus=a[14]),!n&&c[0]&16777216&&(n=!0,f.ref=a[24],We(()=>n=!1)),t.$set(f)},i(a){o||(d(t.$$.fragment,a),o=!0)},o(a){g(t.$$.fragment,a),o=!1},d(a){a&&P(e),j(t)}}}function Wa(i){let e,t,n;function o(l){i[188](l)}let r={tooltipContent:i[27]?void 0:Y("tooltip_settings_off"),$$slots:{default:[gg]},$$scope:{ctx:i}};return i[23].settings!==void 0&&(r.ref=i[23].settings),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[0]&134217728&&(a.tooltipContent=l[27]?void 0:Y("tooltip_settings_off")),s[0]&33554432|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].settings,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function gg(i){let e,t,n;function o(l){i[187](l)}let r={};return i[25]!==void 0&&(r.ref=i[25]),e=new Pr({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&33554432&&(t=!0,a.ref=l[25],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function bg(i){let e,t,n;function o(l){i[189](l)}let r={className:i[41]?"":"out-of-view",tooltipContent:i[49],$$slots:{default:[_g]},$$scope:{ctx:i}};return i[23].context!==void 0&&(r.ref=i[23].context),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[1]&1024&&(a.className=l[41]?"":"out-of-view"),s[1]&262144&&(a.tooltipContent=l[49]),s[1]&262144|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].context,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function _g(i){let e,t;return e=new x5({props:{ariaLabel:i[49]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[1]&262144&&(r.ariaLabel=n[49]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Za(i){let e,t,n;function o(l){i[190](l)}let r={tooltipContent:i[53],$$slots:{default:[wg]},$$scope:{ctx:i}};return i[23].fullscreen!==void 0&&(r.ref=i[23].fullscreen),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[1]&4194304&&(a.tooltipContent=l[53]),s[0]&1073750016|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].fullscreen,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function wg(i){let e,t;return e=new Yc({props:{click:i[13],isFullscreen:i[30]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&8192&&(r.click=n[13]),o[0]&1073741824&&(r.isFullscreen=n[30]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ka(i){let e,t,n;function o(l){i[191](l)}let r={tooltipContent:i[54],$$slots:{default:[yg]},$$scope:{ctx:i}};return i[23].chromecast!==void 0&&(r.ref=i[23].chromecast),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[1]&8388608&&(a.tooltipContent=l[54]),s[0]&536870912|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].chromecast,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function yg(i){let e,t;return e=new Jc({props:{isMobile:!1,state:i[29],click:i[125]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&536870912&&(r.state=n[29]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function kg(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,w,_,S,y,k,V,G,I,Q,se,te,N,$,C;t=new tf({props:{isHidden:!i[45],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[32]}});let D=i[38]&&Ba(i),ce=i[35]&&Na(i),T=i[36]&&Ra(i),re=i[37]&&Oa(i),O=i[118]&&og(i),le=!i[4]&&i[33]&&Da(i),me=i[19]&&za(i);function ze(J){i[181](J)}let He={className:"w-max",disabled:!i[20],tooltipContent:Y("tooltip_episodes"),$$slots:{default:[dg]},$$scope:{ctx:i}};i[23].episodes!==void 0&&(He.ref=i[23].episodes),b=new qt({props:He}),ye.push(()=>Ze(b,"ref",ze));let Ee=Gt(i[28]),de=[];for(let J=0;J<Ee.length;J+=1)de[J]=Ha(Ma(i,Ee,J));const ke=J=>g(de[J],1,1,()=>{de[J]=null});let X=i[43]&&Ua(i);function F(J){i[184](J)}let Te={$$slots:{default:[hg]},$$scope:{ctx:i}};i[23].volume!==void 0&&(Te.ref=i[23].volume),V=new qt({props:Te}),ye.push(()=>Ze(V,"ref",F));let ae=i[40]&&ja(i),Pe=!i[84]&&!i[4]&&qa(i),Ve=i[42]&&Wa(i),Re=i[85].features.contextMenuButton&&bg(i),Se=i[44]&&Za(i),ue=i[39]&&Ka(i);return{c(){e=A("div"),W(t.$$.fragment),n=R(),o=A("div"),r=A("div"),D&&D.c(),l=R(),ce&&ce.c(),s=R(),T&&T.c(),a=R(),re&&re.c(),c=R(),O&&O.c(),f=R(),le&&le.c(),m=R(),me&&me.c(),h=R(),W(b.$$.fragment),_=R(),S=A("div");for(let J=0;J<de.length;J+=1)de[J].c();y=R(),X&&X.c(),k=R(),W(V.$$.fragment),I=R(),ae&&ae.c(),Q=R(),Pe&&Pe.c(),se=R(),Ve&&Ve.c(),te=R(),Re&&Re.c(),N=R(),Se&&Se.c(),$=R(),ue&&ue.c(),u(r,"class","controls-left v-st0uzk"),Po(()=>i[182].call(r)),u(S,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),M(e,"hidden",i[1]),M(e,"controls-hidden",!i[3]),M(e,"no-smooth",i[2])},m(J,H){E(J,e,H),U(t,e,null),p(e,n),p(e,o),p(o,r),D&&D.m(r,null),p(r,l),ce&&ce.m(r,null),p(r,s),T&&T.m(r,null),p(r,a),re&&re.m(r,null),p(r,c),O&&O.m(r,null),p(r,f),le&&le.m(r,null),p(r,m),me&&me.m(r,null),p(r,h),U(b,r,null),w=fr(r,i[182].bind(r)),p(o,_),p(o,S);for(let Ae=0;Ae<de.length;Ae+=1)de[Ae]&&de[Ae].m(S,null);p(S,y),X&&X.m(S,null),p(S,k),U(V,S,null),p(S,I),ae&&ae.m(S,null),p(S,Q),Pe&&Pe.m(S,null),p(S,se),Ve&&Ve.m(S,null),p(S,te),Re&&Re.m(S,null),p(S,N),Se&&Se.m(S,null),p(S,$),ue&&ue.m(S,null),i[192](o),i[193](e),C=!0},p(J,H){const Ae={};H[1]&16384&&(Ae.isHidden=!J[45]),H[0]&16&&(Ae.isAds=J[4]),H[0]&32&&(Ae.canRewindLive=J[5]),H[1]&2&&(Ae.isRewindableLive=J[32]),t.$set(Ae),J[38]?D?(D.p(J,H),H[1]&128&&d(D,1)):(D=Ba(J),D.c(),d(D,1),D.m(r,l)):D&&(pe(),g(D,1,1,()=>{D=null}),he()),J[35]?ce?(ce.p(J,H),H[1]&16&&d(ce,1)):(ce=Na(J),ce.c(),d(ce,1),ce.m(r,s)):ce&&(pe(),g(ce,1,1,()=>{ce=null}),he()),J[36]?T?(T.p(J,H),H[1]&32&&d(T,1)):(T=Ra(J),T.c(),d(T,1),T.m(r,a)):T&&(pe(),g(T,1,1,()=>{T=null}),he()),J[37]?re?(re.p(J,H),H[1]&64&&d(re,1)):(re=Oa(J),re.c(),d(re,1),re.m(r,c)):re&&(pe(),g(re,1,1,()=>{re=null}),he()),J[118]&&O.p(J,H),!J[4]&&J[33]?le?(le.p(J,H),H[0]&16|H[1]&4&&d(le,1)):(le=Da(J),le.c(),d(le,1),le.m(r,m)):le&&(pe(),g(le,1,1,()=>{le=null}),he()),J[19]?me?(me.p(J,H),H[0]&524288&&d(me,1)):(me=za(J),me.c(),d(me,1),me.m(r,h)):me&&(pe(),g(me,1,1,()=>{me=null}),he());const tt={};if(H[0]&1048576&&(tt.disabled=!J[20]),H[0]&1048576|H[2]&2621440|H[6]&67108864&&(tt.$$scope={dirty:H,ctx:J}),!v&&H[0]&8388608&&(v=!0,tt.ref=J[23].episodes,We(()=>v=!1)),b.$set(tt),H[0]&268435456){Ee=Gt(J[28]);let Ue;for(Ue=0;Ue<Ee.length;Ue+=1){const Me=Ma(J,Ee,Ue);de[Ue]?(de[Ue].p(Me,H),d(de[Ue],1)):(de[Ue]=Ha(Me),de[Ue].c(),d(de[Ue],1),de[Ue].m(S,y))}for(pe(),Ue=Ee.length;Ue<de.length;Ue+=1)ke(Ue);he()}J[43]?X?(X.p(J,H),H[1]&4096&&d(X,1)):(X=Ua(J),X.c(),d(X,1),X.m(S,k)):X&&(pe(),g(X,1,1,()=>{X=null}),he());const ot={};H[2]&65536|H[6]&67108864&&(ot.$$scope={dirty:H,ctx:J}),!G&&H[0]&8388608&&(G=!0,ot.ref=J[23].volume,We(()=>G=!1)),V.$set(ot),J[40]?ae?(ae.p(J,H),H[1]&512&&d(ae,1)):(ae=ja(J),ae.c(),d(ae,1),ae.m(S,Q)):ae&&(pe(),g(ae,1,1,()=>{ae=null}),he()),!J[84]&&!J[4]?Pe?(Pe.p(J,H),H[0]&16|H[2]&4194304&&d(Pe,1)):(Pe=qa(J),Pe.c(),d(Pe,1),Pe.m(S,se)):Pe&&(pe(),g(Pe,1,1,()=>{Pe=null}),he()),J[42]?Ve?(Ve.p(J,H),H[1]&2048&&d(Ve,1)):(Ve=Wa(J),Ve.c(),d(Ve,1),Ve.m(S,te)):Ve&&(pe(),g(Ve,1,1,()=>{Ve=null}),he()),J[85].features.contextMenuButton&&Re.p(J,H),J[44]?Se?(Se.p(J,H),H[1]&8192&&d(Se,1)):(Se=Za(J),Se.c(),d(Se,1),Se.m(S,$)):Se&&(pe(),g(Se,1,1,()=>{Se=null}),he()),J[39]?ue?(ue.p(J,H),H[1]&256&&d(ue,1)):(ue=Ka(J),ue.c(),d(ue,1),ue.m(S,null)):ue&&(pe(),g(ue,1,1,()=>{ue=null}),he()),(!C||H[0]&2)&&M(e,"hidden",J[1]),(!C||H[0]&8)&&M(e,"controls-hidden",!J[3]),(!C||H[0]&4)&&M(e,"no-smooth",J[2])},i(J){if(!C){d(t.$$.fragment,J),d(D),d(ce),d(T),d(re),d(O),d(le),d(me),d(b.$$.fragment,J);for(let H=0;H<Ee.length;H+=1)d(de[H]);d(X),d(V.$$.fragment,J),d(ae),d(Pe),d(Ve),d(Re),d(Se),d(ue),C=!0}},o(J){g(t.$$.fragment,J),g(D),g(ce),g(T),g(re),g(O),g(le),g(me),g(b.$$.fragment,J),de=de.filter(Boolean);for(let H=0;H<de.length;H+=1)g(de[H]);g(X),g(V.$$.fragment,J),g(ae),g(Pe),g(Ve),g(Re),g(Se),g(ue),C=!1},d(J){J&&P(e),j(t),D&&D.d(),ce&&ce.d(),T&&T.d(),re&&re.d(),O&&O.d(),le&&le.d(),me&&me.d(),j(b),w(),Cn(de,J),X&&X.d(),j(V),ae&&ae.d(),Pe&&Pe.d(),Ve&&Ve.d(),Re&&Re.d(),Se&&Se.d(),ue&&ue.d(),i[192](null),i[193](null)}}}function Sg(i,e,t){var Dr,zr;let n,o,r,l,s,a,c,f,m,h,b,v,w,_,S,y,k,V,G,I,Q,se,te,N,$,C,D,ce,T,re,O,le=K,me=()=>(le(),le=ei(te,Z=>t(142,O=Z)),te),ze,He=K,Ee=()=>(He(),He=ei(se,Z=>t(143,ze=Z)),se),de,ke=K,X=()=>(ke(),ke=ei(Q,Z=>t(144,de=Z)),Q),F,Te=K,ae=()=>(Te(),Te=ei(I,Z=>t(145,F=Z)),I),Pe,Ve=K,Re=()=>(Ve(),Ve=ei(G,Z=>t(146,Pe=Z)),G),Se,ue=K,J=()=>(ue(),ue=ei(V,Z=>t(147,Se=Z)),V),H,Ae=K,tt=()=>(Ae(),Ae=ei(k,Z=>t(148,H=Z)),k),ot,Ue=K,Me=()=>(Ue(),Ue=ei(y,Z=>t(149,ot=Z)),y),Qe,at=K,_t=()=>(at(),at=ei(S,Z=>t(150,Qe=Z)),S),it,De=K,yt=()=>(De(),De=ei(_,Z=>t(151,it=Z)),_),Lt,It=K,ui=()=>(It(),It=ei(w,Z=>t(152,Lt=Z)),w),fe,kt=K,st=()=>(kt(),kt=ei(v,Z=>t(153,fe=Z)),v),St,pt=K,At=()=>(pt(),pt=ei(b,Z=>t(154,St=Z)),b),Xe,Fe=K,Vt=()=>(Fe(),Fe=ei(h,Z=>t(155,Xe=Z)),h),ci,ki=K,Yi=()=>(ki(),ki=ei(m,Z=>t(156,ci=Z)),m),Si,Fi=K,fi=()=>(Fi(),Fi=ei(f,Z=>t(157,Si=Z)),f),Rt,Wt=K,Ci=()=>(Wt(),Wt=ei(c,Z=>t(158,Rt=Z)),c),Yt,ni,oi,Pi,Qt,Mt,Hi,di,Ti,Ot,Xt,mi,pi,jt,ct,ft,Dt,Bt,Ui,Ei,Jt,Zt,ji;i.$$.on_destroy.push(()=>le()),i.$$.on_destroy.push(()=>He()),i.$$.on_destroy.push(()=>ke()),i.$$.on_destroy.push(()=>Te()),i.$$.on_destroy.push(()=>Ve()),i.$$.on_destroy.push(()=>ue()),i.$$.on_destroy.push(()=>Ae()),i.$$.on_destroy.push(()=>Ue()),i.$$.on_destroy.push(()=>at()),i.$$.on_destroy.push(()=>De()),i.$$.on_destroy.push(()=>It()),i.$$.on_destroy.push(()=>kt()),i.$$.on_destroy.push(()=>pt()),i.$$.on_destroy.push(()=>Fe()),i.$$.on_destroy.push(()=>ki()),i.$$.on_destroy.push(()=>Fi()),i.$$.on_destroy.push(()=>Wt());let{bottomHidden:xt}=e,{bottomNoSmooth:xi}=e,{showControls:li}=e,{controlsElementRef:Ai=void 0}=e,{isAds:Nt=!1}=e,{canRewindLive:Li}=e,{logoClickable:Ct}=e,{logoHidden:$t}=e,{videoLogoUrl:Qi}=e,{showNextPrevButtons:qi}=e,{nextButtonActive:hi}=e,{prevButtonActive:Kt}=e,{isOneVideoPlaylist:Wi=!1}=e,{supportLink:Zi}=e,{customFullscreenSupported:Ii=!0}=e,{playNextVideo:Vi}=e,{playPrevVideo:Ki}=e,{repeatPlaylist:Ie}=e,{toggleFullscreen:vi}=e,{returnFocus:Gi}=e,{seekToInteractive:Mi}=e,{toggleGraph:ri}=e,{playPrevChapter:gi}=e;const qe=Et(),Bi=mr(),bi=gn(),Ni=qe.actions.internal.toggleMuted,zt=qe.actions.internal.togglePlay,mn=qe.actions.internal.pause,bn=qe.actions.internal.toggleSubtitle,Ri=(Dr=qe.callbacks)==null?void 0:Dr.onAudioDoesNotExistHint,_i=(zr=qe.callbacks)==null?void 0:zr.onAudioDisabledHint,wi=qe.state.duration$;z(i,wi,Z=>t(83,Zt=Z));const ln=qe.state.positionWithScrubbing$;z(i,ln,Z=>t(81,Ei=Z));const $i=qe.state.playbackState$;z(i,$i,Z=>t(159,oi=Z));const en=qe.state.chromecastConnected$;z(i,en,Z=>t(84,ji=Z));const tn=qe.state.isAudioAvailable$;z(i,tn,Z=>t(78,N=Z));const Oi=qe.state.isAudioDisabled,ne=qe.state.isEnded$;z(i,ne,Z=>t(167,jt=Z));const et=qe.state.isLive$;z(i,et,Z=>t(33,di=Z));const Ft=qe.state.isActiveLive$;z(i,Ft,Z=>t(161,Mt=Z));const Xi=qe.state.isRewindableLive$;z(i,Xi,Z=>t(32,Hi=Z));const dt=qe.ui.isPictureInPictureActive$;z(i,dt,Z=>t(163,Ot=Z));const rn=qe.ui.pictureInPictureType$;z(i,rn,Z=>t(162,Ti=Z));const _n=qe.ui.settingsMenuVisible;z(i,_n,Z=>t(27,D=Z));const sn=qe.ui.settingsMenuOpenedByKeyboard;z(i,sn,Z=>t(139,C=Z));const pn=qe.ui.controls,hn=qe.actions.internal.getVideoEpisodes(),ee=qe.state.chromecastState$;z(i,ee,Z=>t(29,Yt=Z));const mt=qe.state.availableSubtitlesList$;z(i,mt,Z=>t(166,pi=Z));const an=qe.state.currentSubtitle$;z(i,an,Z=>t(168,ct=Z));const Di=pn.disabledControls$;z(i,Di,Z=>t(170,Dt=Z));const un=qe.ui.contextMenuVisible;z(i,un,Z=>t(160,Pi=Z));const x=qe.ui.contextMenu.showContextMenuBtn$;z(i,x,Z=>t(164,Xt=Z));const Dn=qe.ui.contextMenu.openedByKeyboard$;z(i,Dn,Z=>t(165,mi=Z));const qn=qe.ui.startedByKeyboard$;z(i,qn,Z=>t(138,$=Z));const xn=qe.ads.duration;z(i,xn,Z=>t(82,Jt=Z));const $n=qe.ads.position;z(i,$n,Z=>t(80,Ui=Z));const eo=qe.ads.playbackState;z(i,eo,Z=>t(169,ft=Z));const to=qe.ui.isFullscreen;z(i,to,Z=>t(30,ni=Z));const io=qe.ui.playerSize;z(i,io,Z=>t(140,ce=Z));const no=qe.ui.currentGridType$;z(i,no,Z=>t(141,T=Z));const oo=qe.ui.additionalButtons$;z(i,oo,Z=>t(28,re=Z));const Wn=qe.actions.internal.getVideoElement,Zn=qe.actions.internal.replayInteractive,cn=qe.state.isInteractive,lo=qe.state.isInteractiveGraphEnabled,Kn=qe.state.isSeekToInteractiveEnable,ro=qe.state.isPlayPrevChapterEnabled,so=qe.state.graphIsOpened$;z(i,so,Z=>t(31,Qt=Z));const ao=qe.state.playPrevChapterDisabledTooltip,uo=Bi.seekToInteractiveDisabledTooltip$;z(i,uo,Z=>t(79,Bt=Z));const Lo=()=>qe.actions.internal.toggleChromecast();let co,q,ht,fn,nn,Pn,zn,Io,Ko,Go,bt,L,ie,ve,Be,Ke,lt,Pt,vt,zi,Gn,Vo="";const Yo=(Z,El)=>{if(!Z){t(50,Vo=Y("tooltip_live"));return}El===xe.PlaybackState.PAUSED&&t(50,Vo=Y("tooltip_play"))};let Mr,Br,Nr,Rr,Qo;const Ge={};let wn,Mo,Tl,Or;const Af=oe.throttleFn(mf,A1,{leading:!1});let Xo,Jo,xo;function Lf(){Oi?_i==null||_i():N?Ni():Ri==null||Ri()}const If=cn?Zn:Wi?zt:Ie;function Vf(Z){i.$$.not_equal(Ge.prevButton,Z)&&(Ge.prevButton=Z,t(23,Ge))}function Mf(Z){i.$$.not_equal(Ge.replayButton,Z)&&(Ge.replayButton=Z,t(23,Ge))}function Bf(Z){xo=Z,t(26,xo)}function Nf(Z){i.$$.not_equal(Ge.playButton,Z)&&(Ge.playButton=Z,t(23,Ge))}function Rf(Z){i.$$.not_equal(Ge.nextButton,Z)&&(Ge.nextButton=Z,t(23,Ge))}function Of(Z){i.$$.not_equal(Ge.playPrevChapterButton,Z)&&(Ge.playPrevChapterButton=Z,t(23,Ge))}function Df(Z){i.$$.not_equal(Ge.seekToInteractiveButton,Z)&&(Ge.seekToInteractiveButton=Z,t(23,Ge))}function zf(Z){i.$$.not_equal(Ge.interactiveGraphButton,Z)&&(Ge.interactiveGraphButton=Z,t(23,Ge))}function Ff(Z){i.$$.not_equal(Ge.liveButton,Z)&&(Ge.liveButton=Z,t(23,Ge))}function Hf(Z){i.$$.not_equal(Ge.time,Z)&&(Ge.time=Z,t(23,Ge))}function Uf(Z){i.$$.not_equal(Ge.episodes,Z)&&(Ge.episodes=Z,t(23,Ge))}function jf(){Qo=this.clientWidth,t(22,Qo)}function qf(Z){i.$$.not_equal(Ge.vkLogo,Z)&&(Ge.vkLogo=Z,t(23,Ge))}function Wf(Z){i.$$.not_equal(Ge.volume,Z)&&(Ge.volume=Z,t(23,Ge))}function Zf(Z){i.$$.not_equal(Ge.subtitles,Z)&&(Ge.subtitles=Z,t(23,Ge))}function Kf(Z){Xo=Z,t(24,Xo)}function Gf(Z){Jo=Z,t(25,Jo)}function Yf(Z){i.$$.not_equal(Ge.settings,Z)&&(Ge.settings=Z,t(23,Ge))}function Qf(Z){i.$$.not_equal(Ge.context,Z)&&(Ge.context=Z,t(23,Ge))}function Xf(Z){i.$$.not_equal(Ge.fullscreen,Z)&&(Ge.fullscreen=Z,t(23,Ge))}function Jf(Z){i.$$.not_equal(Ge.chromecast,Z)&&(Ge.chromecast=Z,t(23,Ge))}function xf(Z){ye[Z?"unshift":"push"](()=>{lt=Z,t(46,lt)})}function $f(Z){ye[Z?"unshift":"push"](()=>{Ai=Z,t(0,Ai)})}return i.$$set=Z=>{"bottomHidden"in Z&&t(1,xt=Z.bottomHidden),"bottomNoSmooth"in Z&&t(2,xi=Z.bottomNoSmooth),"showControls"in Z&&t(3,li=Z.showControls),"controlsElementRef"in Z&&t(0,Ai=Z.controlsElementRef),"isAds"in Z&&t(4,Nt=Z.isAds),"canRewindLive"in Z&&t(5,Li=Z.canRewindLive),"logoClickable"in Z&&t(6,Ct=Z.logoClickable),"logoHidden"in Z&&t(128,$t=Z.logoHidden),"videoLogoUrl"in Z&&t(7,Qi=Z.videoLogoUrl),"showNextPrevButtons"in Z&&t(129,qi=Z.showNextPrevButtons),"nextButtonActive"in Z&&t(8,hi=Z.nextButtonActive),"prevButtonActive"in Z&&t(9,Kt=Z.prevButtonActive),"isOneVideoPlaylist"in Z&&t(130,Wi=Z.isOneVideoPlaylist),"supportLink"in Z&&t(10,Zi=Z.supportLink),"customFullscreenSupported"in Z&&t(131,Ii=Z.customFullscreenSupported),"playNextVideo"in Z&&t(11,Vi=Z.playNextVideo),"playPrevVideo"in Z&&t(12,Ki=Z.playPrevVideo),"repeatPlaylist"in Z&&t(132,Ie=Z.repeatPlaylist),"toggleFullscreen"in Z&&t(13,vi=Z.toggleFullscreen),"returnFocus"in Z&&t(14,Gi=Z.returnFocus),"seekToInteractive"in Z&&t(15,Mi=Z.seekToInteractive),"toggleGraph"in Z&&t(16,ri=Z.toggleGraph),"playPrevChapter"in Z&&t(17,gi=Z.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[5]&32768&&t(137,n=Dt.has(ut.EPISODE_BUTTON)),i.$$.dirty[5]&32768&&t(77,o=Dt.has(ut.GRAPH_BUTTON)),i.$$.dirty[5]&32768&&t(76,r=Dt.has(ut.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[5]&32768&&t(75,l=Dt.has(ut.PLAY_BUTTON)),i.$$.dirty[5]&32768&&t(74,s=Dt.has(ut.REPLAY_BUTTON)),i.$$.dirty[5]&32768&&t(73,a=Dt.has(ut.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[5]&16400&&t(34,co=Nt?ft===ti.PLAYING:oi===xe.PlaybackState.PLAYING),i.$$.dirty[5]&8192&&t(18,q=ct.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[5]&4096&&t(35,ht=jt&&!Nt||cn),i.$$.dirty[0]&16|i.$$.dirty[5]&4096&&t(36,fn=!jt||cn||Nt),i.$$.dirty[4]&131072&&t(133,nn=yn(T,exports.GridTypes.M)),i.$$.dirty[0]&272|i.$$.dirty[4]&131104&&t(37,Pn=qi&&yn(T,exports.GridTypes.M)&&!Nt&&hi),i.$$.dirty[0]&528|i.$$.dirty[4]&131104&&t(38,zn=qi&&yn(T,exports.GridTypes.M)&&!Nt&&Kt),i.$$.dirty[0]&536870912|i.$$.dirty[4]&131072|i.$$.dirty[5]&384&&t(39,Io=Yt!==xe.ChromecastState.NOT_AVAILABLE&&!(Ot&&Ti===In.DocumentPictureInPicture)&&yn(T,exports.GridTypes.M)&&!cn),i.$$.dirty[4]&131072|i.$$.dirty[5]&2048&&t(40,Ko=pi.length>0&&yn(T,exports.GridTypes.M)),i.$$.dirty[5]&1536&&t(41,Go=mi||Xt),i.$$.dirty[4]&131072&&t(42,bt=yn(T,exports.GridTypes.S)),i.$$.dirty[4]&16&&t(43,L=!$t),i.$$.dirty[4]&131216|i.$$.dirty[5]&384&&t(44,ie=bi.features.fullscreen&&($t||yn(T,exports.GridTypes.S))&&!(Ot&&Ti===In.DocumentPictureInPicture)&&(cn?Ii:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&4&&t(19,ve=(!di||Nt)&&!(bi.features.interactiveHideTime&&cn)),i.$$.dirty[4]&65536&&t(45,Be=ce.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&4|i.$$.dirty[4]&8704&&t(20,Ke=!Nt&&!di&&!!(hn!=null&&hn.length)&&nn&&!n),i.$$.dirty[1]&2|i.$$.dirty[5]&64&&t(21,Pt=!Hi||Mt),i.$$.dirty[5]&16&&t(47,vt=oi===xe.PlaybackState.PLAYING?Y("tooltip_pause"):Y("tooltip_play")),i.$$.dirty[1]&1&&t(48,zi=Y(Qt?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[5]&32&&t(49,Gn=Y(Pi?"aria_label_context_menu_close":"aria_label_context_menu_open")),i.$$.dirty[0]&2097152|i.$$.dirty[5]&16&&Yo(Pt,oi),i.$$.dirty[0]&262144&&t(52,Br=Y(q?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[0]&1073741824&&t(53,Nr=Y(ni?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[0]&536870912&&t(54,Rr=Yt===xe.ChromecastState.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off")),i.$$.dirty[0]&268435456|i.$$.dirty[4]&2147221504|i.$$.dirty[5]&15&&t(134,wn={prevButton:Rt?Rt.right-Rt.left:0,replayButton:Si?Si.right-Si.left:0,playButton:ci?ci.right-ci.left:0,nextButton:Xe?Xe.right-Xe.left:0,playPrevChapterButton:St?St.right-St.left:0,seekToInteractiveButton:fe?fe.right-fe.left:0,interactiveGraphButton:Lt?Lt.right-Lt.left:0,liveButton:it?it.right-it.left:0,time:Qe?Qe.right-Qe.left:0,episodes:ot?ot.right-ot.left:0,vkLogo:H?H.right-H.left:0,volume:Se?Se.right-Se.left:0,subtitles:Pe?Pe.right-Pe.left:0,settings:F?F.right-F.left:0,context:de?de.right-de.left:0,fullscreen:ze?ze.right-ze.left:0,chromecast:O?O.right-O.left:0,additionalButtons:re.length?re.reduce(Z=>[...Z,40],[]):[]}),i.$$.dirty[4]&3072&&(!Mo||Mo<wn.time)&&t(135,Mo=wn.time),i.$$.dirty[0]&5767168|i.$$.dirty[4]&134144){let Z=0;Ke&&(yn(T,exports.GridTypes.XL)?Z=wn.time:Z=L0);const El=wn.prevButton+wn.playButton+wn.nextButton+wn.seekToInteractiveButton+wn.interactiveGraphButton+wn.liveButton+Mo+Z;t(136,Tl=ve&&Qo>=El)}i.$$.dirty[4]&135168&&t(55,Or=Tl&&yn(T,exports.GridTypes.M)),i.$$.dirty[0]&8388616|i.$$.dirty[4]&65536&&Af(Wn(),pn,Ge,li),i.$$.dirty[0]&167772160&&kr(Jo,D,sn),i.$$.dirty[0]&150994944|i.$$.dirty[4]&32768&&Sr(Xo,D,C),i.$$.dirty[0]&67108864|i.$$.dirty[4]&16384&&pf(qn,$,xo)},t(51,Mr=bi.logoType===To.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),Ci(t(72,{prevButton:c,replayButton:f,playButton:m,nextButton:h,playPrevChapterButton:b,seekToInteractiveButton:v,interactiveGraphButton:w,liveButton:_,time:S,episodes:y,vkLogo:k,volume:V,subtitles:G,settings:I,context:Q,fullscreen:se,chromecast:te}=pn,c,fi(t(71,f)),Yi(t(70,m)),Vt(t(69,h)),At(t(68,b)),st(t(67,v)),ui(t(66,w)),yt(t(65,_)),_t(t(64,S)),Me(t(63,y)),tt(t(62,k)),J(t(61,V)),Re(t(60,G)),ae(t(59,I)),X(t(58,Q)),Ee(t(57,se)),me(t(56,te)))),[Ai,xt,xi,li,Nt,Li,Ct,Qi,hi,Kt,Zi,Vi,Ki,vi,Gi,Mi,ri,gi,q,ve,Ke,Pt,Qo,Ge,Xo,Jo,xo,D,re,Yt,ni,Qt,Hi,di,co,ht,fn,Pn,zn,Io,Ko,Go,bt,L,ie,Be,lt,vt,zi,Gn,Vo,Mr,Br,Nr,Rr,Or,te,se,Q,I,G,V,k,y,S,_,w,v,b,h,m,f,c,a,s,l,r,o,N,Bt,Ui,Ei,Jt,Zt,ji,bi,zt,mn,bn,wi,ln,$i,en,tn,ne,et,Ft,Xi,dt,rn,_n,sn,hn,ee,mt,an,Di,un,x,Dn,qn,xn,$n,eo,to,io,no,oo,cn,lo,Kn,ro,so,ao,uo,Lo,Lf,If,$t,qi,Wi,Ii,Ie,nn,wn,Mo,Tl,n,$,C,ce,T,O,ze,de,F,Pe,Se,H,ot,Qe,it,Lt,fe,St,Xe,ci,Si,Rt,oi,Pi,Mt,Ti,Ot,Xt,mi,pi,jt,ct,ft,Dt,Vf,Mf,Bf,Nf,Rf,Of,Df,zf,Ff,Hf,Uf,jf,qf,Wf,Zf,Kf,Gf,Yf,Qf,Xf,Jf,xf,$f]}class Cg extends we{constructor(e){super(),_e(this,e,Sg,kg,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:128,videoLogoUrl:7,showNextPrevButtons:129,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:130,supportLink:10,customFullscreenSupported:131,playNextVideo:11,playPrevVideo:12,repeatPlaylist:132,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},$5,[-1,-1,-1,-1,-1,-1,-1])}}function Pg(i){let e,t,n,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(r,l){E(r,e,l),p(e,t),p(t,n),p(t,o)},p:K,i:K,o:K,d(r){r&&P(e)}}}class Tg extends we{constructor(e){super(),_e(this,e,null,Pg,be,{})}}function Eg(i){je(i,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function Ga(i){let e;return{c(){e=A("span"),e.textContent=`${Y("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){E(t,e,n)},p:K,d(t){t&&P(e)}}}function Ag(i){let e,t,n,o;var r=i[4];function l(a){return{}}r&&(t=En(r,l()));let s=i[1]&&Ga();return{c(){e=A("div"),t&&W(t.$$.fragment),n=R(),s&&s.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),M(e,"expanded",i[1])},m(a,c){E(a,e,c),t&&U(t,e,null),p(e,n),s&&s.m(e,null),o=!0},p(a,c){if(c&16&&r!==(r=a[4])){if(t){pe();const f=t;g(f.$$.fragment,1,0,()=>{j(f,1)}),he()}r?(t=En(r,l()),W(t.$$.fragment),d(t.$$.fragment,1),U(t,e,n)):t=null}a[1]?s?s.p(a,c):(s=Ga(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!o||c&2)&&M(e,"expanded",a[1])},i(a){o||(t&&d(t.$$.fragment,a),o=!0)},o(a){t&&g(t.$$.fragment,a),o=!1},d(a){a&&P(e),t&&j(t),s&&s.d()}}}function Lg(i){let e,t,n;function o(l){i[6](l)}let r={testId:i[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[2],ariaLabel:i[3],$$slots:{default:[Ag]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new yi({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.testId=l[1]?"btn-mobile-unmuted":"btn-mobile-muted"),s&4&&(a.click=l[2]),s&8&&(a.ariaLabel=l[3]),s&146&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function Ig(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:r=oe.noop}=e,{ref:l=void 0}=e,s,a;function c(f){l=f,t(0,l)}return i.$$set=f=>{"muted"in f&&t(5,n=f.muted),"expanded"in f&&t(1,o=f.expanded),"click"in f&&t(2,r=f.click),"ref"in f&&t(0,l=f.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,s=Y(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&2&&t(4,a=o?Cl:Tg)},[l,o,r,s,a,n,c]}class hf extends we{constructor(e){super(),_e(this,e,Ig,Lg,be,{muted:5,expanded:1,click:2,ref:0},Eg)}}function Vg(i){let e,t,n,o;return{c(){e=B("svg"),t=B("path"),n=B("path"),o=B("path"),u(t,"fill",i[1]),u(t,"clip-rule","evenodd"),u(t,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",i[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),M(n,"hidden",!i[0]),u(o,"fill",i[1]),u(o,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),M(o,"hidden",i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(r,l){E(r,e,l),p(e,t),p(e,n),p(e,o)},p(r,[l]){l&2&&u(t,"fill",r[1]),l&2&&u(n,"fill",r[1]),l&1&&M(n,"hidden",!r[0]),l&2&&u(o,"fill",r[1]),l&1&&M(o,"hidden",r[0])},i:K,o:K,d(r){r&&P(e)}}}function Mg(i,e,t){let n,{isActive:o=!1}=e;return i.$$set=r=>{"isActive"in r&&t(0,o=r.isActive)},i.$$.update=()=>{i.$$.dirty&1&&t(1,n=o?"#2688EB":"#fff")},[o,n]}class Bg extends we{constructor(e){super(),_e(this,e,Mg,Vg,be,{isActive:0})}}function Ng(i){let e,t;return e=new Bg({props:{isActive:i[1]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isActive=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Rg(i){let e,t,n;function o(l){i[3](l)}let r={testId:"btn-pip",ariaLabel:Y("menu_pip"),click:i[2],$$slots:{default:[Ng]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new yi({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,[s]){const a={};s&4&&(a.click=l[2]),s&18&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function Og(i,e,t){let{ref:n=void 0}=e,{isPictureInPictureActive:o=!1}=e,{click:r=oe.noop}=e;function l(s){n=s,t(0,n)}return i.$$set=s=>{"ref"in s&&t(0,n=s.ref),"isPictureInPictureActive"in s&&t(1,o=s.isPictureInPictureActive),"click"in s&&t(2,r=s.click)},[n,o,r,l]}class Dg extends we{constructor(e){super(),_e(this,e,Og,Rg,be,{ref:0,isPictureInPictureActive:1,click:2})}}function zg(i){je(i,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function Ya(i,e,t){const n=i.slice();return n[155]=e[t].iconUrl,n[156]=e[t].ariaLabel,n[157]=e[t].testId,n[158]=e[t].onClick,n[159]=e[t].tooltip,n}function Qa(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,w,_,S,y=(!i[51]||i[53])&&Xa(i),k=Gt(i[56]),V=[];for(let T=0;T<k.length;T+=1)V[T]=Ja(Ya(i,k,T));const G=T=>g(V[T],1,1,()=>{V[T]=null});let I=i[36]&&xa(i),Q=i[37]&&$a(i),se=i[57]&&eu(i),te=i[39]&&tu(i),N=i[8]&&iu(i),$=i[34]&&nu(i),C=i[33]&&ou(i),D=i[8]&&lu(i),ce=i[95]&&!i[29]&&ru(i);return{c(){e=A("div"),t=R(),n=A("div"),y&&y.c(),o=R(),r=A("div");for(let T=0;T<V.length;T+=1)V[T].c();l=R(),I&&I.c(),s=R(),Q&&Q.c(),a=R(),se&&se.c(),c=R(),te&&te.c(),f=R(),m=A("div"),N&&N.c(),h=R(),$&&$.c(),b=R(),C&&C.c(),v=R(),D&&D.c(),w=R(),ce&&ce.c(),_=gt(),u(e,"class","overlay-mobile v-1tcstu3"),M(e,"hidden",!i[42]),u(n,"class","wrapper-top-left v-1tcstu3"),M(n,"hidden",!i[3]),M(n,"fullscreen",i[52]),u(r,"class","wrapper-top-right v-1tcstu3"),M(r,"hidden",!i[3]&&!i[27]),M(r,"fullscreen",i[52]),u(m,"class","wrapper-middle v-1tcstu3"),M(m,"hidden",!i[3]||i[29])},m(T,re){E(T,e,re),E(T,t,re),E(T,n,re),y&&y.m(n,null),E(T,o,re),E(T,r,re);for(let O=0;O<V.length;O+=1)V[O]&&V[O].m(r,null);p(r,l),I&&I.m(r,null),p(r,s),Q&&Q.m(r,null),p(r,a),se&&se.m(r,null),p(r,c),te&&te.m(r,null),E(T,f,re),E(T,m,re),N&&N.m(m,null),p(m,h),$&&$.m(m,null),p(m,b),C&&C.m(m,null),p(m,v),D&&D.m(m,null),E(T,w,re),ce&&ce.m(T,re),E(T,_,re),S=!0},p(T,re){if((!S||re[1]&2048)&&M(e,"hidden",!T[42]),!T[51]||T[53]?y?(y.p(T,re),re[1]&5242880&&d(y,1)):(y=Xa(T),y.c(),d(y,1),y.m(n,null)):y&&(pe(),g(y,1,1,()=>{y=null}),he()),(!S||re[0]&8)&&M(n,"hidden",!T[3]),(!S||re[1]&2097152)&&M(n,"fullscreen",T[52]),re[1]&33554432){k=Gt(T[56]);let O;for(O=0;O<k.length;O+=1){const le=Ya(T,k,O);V[O]?(V[O].p(le,re),d(V[O],1)):(V[O]=Ja(le),V[O].c(),d(V[O],1),V[O].m(r,l))}for(pe(),O=k.length;O<V.length;O+=1)G(O);he()}T[36]?I?(I.p(T,re),re[1]&32&&d(I,1)):(I=xa(T),I.c(),d(I,1),I.m(r,s)):I&&(pe(),g(I,1,1,()=>{I=null}),he()),T[37]?Q?(Q.p(T,re),re[1]&64&&d(Q,1)):(Q=$a(T),Q.c(),d(Q,1),Q.m(r,a)):Q&&(pe(),g(Q,1,1,()=>{Q=null}),he()),T[57]?se?(se.p(T,re),re[1]&67108864&&d(se,1)):(se=eu(T),se.c(),d(se,1),se.m(r,c)):se&&(pe(),g(se,1,1,()=>{se=null}),he()),T[39]?te?(te.p(T,re),re[1]&256&&d(te,1)):(te=tu(T),te.c(),d(te,1),te.m(r,null)):te&&(pe(),g(te,1,1,()=>{te=null}),he()),(!S||re[0]&134217736)&&M(r,"hidden",!T[3]&&!T[27]),(!S||re[1]&2097152)&&M(r,"fullscreen",T[52]),T[8]?N?(N.p(T,re),re[0]&256&&d(N,1)):(N=iu(T),N.c(),d(N,1),N.m(m,h)):N&&(pe(),g(N,1,1,()=>{N=null}),he()),T[34]?$?($.p(T,re),re[1]&8&&d($,1)):($=nu(T),$.c(),d($,1),$.m(m,b)):$&&(pe(),g($,1,1,()=>{$=null}),he()),T[33]?C?(C.p(T,re),re[1]&4&&d(C,1)):(C=ou(T),C.c(),d(C,1),C.m(m,v)):C&&(pe(),g(C,1,1,()=>{C=null}),he()),T[8]?D?(D.p(T,re),re[0]&256&&d(D,1)):(D=lu(T),D.c(),d(D,1),D.m(m,null)):D&&(pe(),g(D,1,1,()=>{D=null}),he()),(!S||re[0]&536870920)&&M(m,"hidden",!T[3]||T[29]),T[95]&&!T[29]?ce?(ce.p(T,re),re[0]&536870912&&d(ce,1)):(ce=ru(T),ce.c(),d(ce,1),ce.m(_.parentNode,_)):ce&&(pe(),g(ce,1,1,()=>{ce=null}),he())},i(T){if(!S){d(y);for(let re=0;re<k.length;re+=1)d(V[re]);d(I),d(Q),d(se),d(te),d(N),d($),d(C),d(D),d(ce),S=!0}},o(T){g(y),V=V.filter(Boolean);for(let re=0;re<V.length;re+=1)g(V[re]);g(I),g(Q),g(se),g(te),g(N),g($),g(C),g(D),g(ce),S=!1},d(T){T&&(P(e),P(t),P(n),P(o),P(r),P(f),P(m),P(w),P(_)),y&&y.d(),Cn(V,T),I&&I.d(),Q&&Q.d(),se&&se.d(),te&&te.d(),N&&N.d(),$&&$.d(),C&&C.d(),D&&D.d(),ce&&ce.d(T)}}}function Xa(i){let e,t,n;function o(l){i[121](l)}let r={muted:i[54],expanded:i[51]&&!i[70]&&i[55],click:i[103]};return i[20].volume!==void 0&&(r.ref=i[20].volume),e=new hf({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[1]&8388608&&(a.muted=l[54]),s[1]&17825792&&(a.expanded=l[51]&&!l[70]&&l[55]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].volume,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function Ja(i){var n;let e,t;return e=new af({props:{iconUrl:i[155],ariaLabel:(n=i[156])!=null?n:i[159],testId:i[157],onClick:i[158]}}),{c(){W(e.$$.fragment)},m(o,r){U(e,o,r),t=!0},p(o,r){var s;const l={};r[1]&33554432&&(l.iconUrl=o[155]),r[1]&33554432&&(l.ariaLabel=(s=o[156])!=null?s:o[159]),r[1]&33554432&&(l.testId=o[157]),r[1]&33554432&&(l.onClick=o[158]),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){j(e,o)}}}function xa(i){let e,t,n;function o(l){i[122](l)}let r={isMobile:!0,click:i[101],state:i[28]};return i[20].chromecast!==void 0&&(r.ref=i[20].chromecast),e=new Jc({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[0]&268435456&&(a.state=l[28]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].chromecast,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function $a(i){let e,t,n;function o(l){i[123](l)}let r={click:i[102],isPictureInPictureActive:i[26]};return i[20].pip!==void 0&&(r.ref=i[20].pip),e=new Dg({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[0]&67108864&&(a.isPictureInPictureActive=l[26]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].pip,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function eu(i){let e,t,n;function o(l){i[124](l)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new Pr({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=l[22],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function tu(i){let e,t,n;function o(l){i[125](l)}let r={click:i[64],logoClickable:i[6],videoLogoUrl:i[7]};return i[20].vkLogo!==void 0&&(r.ref=i[20].vkLogo),e=new Xc({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[0]&64&&(a.logoClickable=l[6]),s[0]&128&&(a.videoLogoUrl=l[7]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].vkLogo,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function iu(i){let e,t,n;function o(l){i[126](l)}let r={click:i[13],type:"prev",disabled:!i[10],isMobile:!0};return i[20].prevButton!==void 0&&(r.ref=i[20].prevButton),e=new Pl({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[0]&8192&&(a.click=l[13]),s[0]&1024&&(a.disabled=!l[10]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].prevButton,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function nu(i){let e,t,n;function o(l){i[127](l)}let r={disabled:i[48],click:i[63],isMobile:!0,isPlaying:i[31]};return i[20].playButton!==void 0&&(r.ref=i[20].playButton),e=new Ar({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[1]&131072&&(a.disabled=l[48]),s[1]&1&&(a.isPlaying=l[31]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].playButton,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function ou(i){let e,t,n;function o(l){i[128](l)}let r={disabled:i[47],click:i[104],isMobile:!0};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new Lr({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.disabled=l[47]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].replayButton,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function lu(i){let e,t,n;function o(l){i[129](l)}let r={click:i[12],type:"next",disabled:!i[9],isMobile:!0};return i[20].nextButton!==void 0&&(r.ref=i[20].nextButton),e=new Pl({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[0]&4096&&(a.click=l[12]),s[0]&512&&(a.disabled=!l[9]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].nextButton,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function ru(i){let e,t,n,o,r=i[98]&&Fg(i),l=i[96]&&Hg(i),s=i[97]&&Ug(i);return{c(){r&&r.c(),e=R(),l&&l.c(),t=R(),s&&s.c(),n=gt()},m(a,c){r&&r.m(a,c),E(a,e,c),l&&l.m(a,c),E(a,t,c),s&&s.m(a,c),E(a,n,c),o=!0},p(a,c){a[98]&&r.p(a,c),a[96]&&l.p(a,c),a[97]&&s.p(a,c)},i(a){o||(d(r),d(l),d(s),o=!0)},o(a){g(r),g(l),g(s),o=!1},d(a){a&&(P(e),P(t),P(n)),r&&r.d(a),l&&l.d(a),s&&s.d(a)}}}function Fg(i){let e,t,n;return t=new sf({props:{hidden:!i[3],disabled:i[46],click:i[18]}}),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),M(e,"fullscreen",i[52]),M(e,"hidden",!i[3])},m(o,r){E(o,e,r),U(t,e,null),n=!0},p(o,r){const l={};r[0]&8&&(l.hidden=!o[3]),r[1]&32768&&(l.disabled=o[46]),r[0]&262144&&(l.click=o[18]),t.$set(l),(!n||r[1]&2097152)&&M(e,"fullscreen",o[52]),(!n||r[0]&8)&&M(e,"hidden",!o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),j(t)}}}function Hg(i){let e,t,n,o;function r(s){i[130](s)}let l={hidden:!i[3]&&!i[58],disabled:i[50],click:i[17],graphIsOpened:i[58]};return i[20].interactiveGraphButton!==void 0&&(l.ref=i[20].interactiveGraphButton),t=new lf({props:l}),ye.push(()=>Ze(t,"ref",r)),{c(){e=A("div"),W(t.$$.fragment),u(e,"class",u0(i[98]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),M(e,"fullscreen",i[52]),M(e,"hidden",!i[3]&&!i[58])},m(s,a){E(s,e,a),U(t,e,null),o=!0},p(s,a){const c={};a[0]&8|a[1]&134217728&&(c.hidden=!s[3]&&!s[58]),a[1]&524288&&(c.disabled=s[50]),a[0]&131072&&(c.click=s[17]),a[1]&134217728&&(c.graphIsOpened=s[58]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].interactiveGraphButton,We(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&M(e,"fullscreen",s[52]),(!o||a[0]&8|a[1]&134217728)&&M(e,"hidden",!s[3]&&!s[58])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),j(t)}}}function Ug(i){let e,t,n,o;function r(s){i[131](s)}let l={hidden:!i[3],disabled:i[49],click:i[16]};return i[20].seekToInteractiveButton!==void 0&&(l.ref=i[20].seekToInteractiveButton),t=new of({props:l}),ye.push(()=>Ze(t,"ref",r)),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),M(e,"fullscreen",i[52]),M(e,"hidden",!i[3])},m(s,a){E(s,e,a),U(t,e,null),o=!0},p(s,a){const c={};a[0]&8&&(c.hidden=!s[3]),a[1]&262144&&(c.disabled=s[49]),a[0]&65536&&(c.click=s[16]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].seekToInteractiveButton,We(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&M(e,"fullscreen",s[52]),(!o||a[0]&8)&&M(e,"hidden",!s[3])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),j(t)}}}function su(i){let e,t,n,o,r,l=i[53]&&au(i),s=i[32]&&uu(i);return o=new ef({props:{position:i[59],duration:i[60]}}),{c(){l&&l.c(),e=R(),s&&s.c(),t=R(),n=A("div"),W(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),M(n,"fullscreen",i[52])},m(a,c){l&&l.m(a,c),E(a,e,c),s&&s.m(a,c),E(a,t,c),E(a,n,c),U(o,n,null),r=!0},p(a,c){a[53]?l?(l.p(a,c),c[1]&4194304&&d(l,1)):(l=au(a),l.c(),d(l,1),l.m(e.parentNode,e)):l&&(pe(),g(l,1,1,()=>{l=null}),he()),a[32]?s?(s.p(a,c),c[1]&2&&d(s,1)):(s=uu(a),s.c(),d(s,1),s.m(t.parentNode,t)):s&&(pe(),g(s,1,1,()=>{s=null}),he());const f={};c[1]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),o.$set(f),(!r||c[1]&2097152)&&M(n,"fullscreen",a[52])},i(a){r||(d(l),d(s),d(o.$$.fragment,a),r=!0)},o(a){g(l),g(s),g(o.$$.fragment,a),r=!1},d(a){a&&(P(e),P(t),P(n)),l&&l.d(a),s&&s.d(a),j(o)}}}function au(i){let e,t,n,o;function r(s){i[132](s)}let l={muted:i[54],expanded:!1,click:i[103]};return i[20].volume!==void 0&&(l.ref=i[20].volume),t=new hf({props:l}),ye.push(()=>Ze(t,"ref",r)),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),M(e,"fullscreen",i[52])},m(s,a){E(s,e,a),U(t,e,null),o=!0},p(s,a){const c={};a[1]&8388608&&(c.muted=s[54]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].volume,We(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&M(e,"fullscreen",s[52])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),j(t)}}}function uu(i){let e,t,n,o;function r(s){i[133](s)}let l={disabled:i[48],click:i[63],isMobile:!0,isPlaying:!i[32]};return i[20].playButton!==void 0&&(l.ref=i[20].playButton),t=new Ar({props:l}),ye.push(()=>Ze(t,"ref",r)),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(s,a){E(s,e,a),U(t,e,null),o=!0},p(s,a){const c={};a[1]&131072&&(c.disabled=s[48]),a[1]&2&&(c.isPlaying=!s[32]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].playButton,We(()=>n=!1)),t.$set(c)},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),j(t)}}}function jg(i){let e,t,n;function o(l){i[134](l)}let r={disabled:i[47],$$slots:{default:[qg]},$$scope:{ctx:i}};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.disabled=l[47]),s[1]&65536|s[5]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].replayButton,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function qg(i){let e,t;return e=new Lr({props:{disabled:i[47],click:i[94]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[1]&65536&&(r.disabled=n[47]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function cu(i){let e,t,n;function o(l){i[135](l)}let r={$$slots:{default:[Wg]},$$scope:{ctx:i}};return i[20].liveButton!==void 0&&(r.ref=i[20].liveButton),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[0]&524288|s[1]&16384|s[5]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].liveButton,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function Wg(i){let e,t;return e=new xc({props:{isActiveLive:i[19],isMobile:!0,ariaLabel:i[45]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&524288&&(r.isActiveLive=n[19]),o[1]&16384&&(r.ariaLabel=n[45]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function fu(i){let e,t,n;function o(l){i[136](l)}let r={showDuration:i[35],position:i[4]?i[59]:i[61],duration:i[4]?i[60]:i[62],isMobile:!0};return i[20].time!==void 0&&(r.ref=i[20].time),e=new Zc({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[1]&16&&(a.showDuration=l[35]),s[0]&16|s[1]&1342177280&&(a.position=l[4]?l[59]:l[61]),s[0]&16|s[1]&536870912|s[2]&1&&(a.duration=l[4]?l[60]:l[62]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].time,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function du(i){let e,t,n,o;return n=new nf({props:{position:i[61],duration:i[62],timeCodes:i[84]}}),{c(){e=A("div"),e.textContent="\xB7",t=R(),W(n.$$.fragment),u(e,"aria-hidden","true")},m(r,l){E(r,e,l),E(r,t,l),U(n,r,l),o=!0},p(r,l){const s={};l[1]&1073741824&&(s.position=r[61]),l[2]&1&&(s.duration=r[62]),n.$set(s)},i(r){o||(d(n.$$.fragment,r),o=!0)},o(r){g(n.$$.fragment,r),o=!1},d(r){r&&(P(e),P(t)),j(n,r)}}}function Zg(i){let e,t,n=i[43]&&du(i);return{c(){n&&n.c(),e=gt()},m(o,r){n&&n.m(o,r),E(o,e,r),t=!0},p(o,r){o[43]?n?(n.p(o,r),r[1]&4096&&d(n,1)):(n=du(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(pe(),g(n,1,1,()=>{n=null}),he())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function mu(i){let e,t,n;function o(l){i[139](l)}let r={$$slots:{default:[Kg]},$$scope:{ctx:i}};return i[20].settings!==void 0&&(r.ref=i[20].settings),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[0]&4194304|s[5]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].settings,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function Kg(i){let e,t,n;function o(l){i[138](l)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new Pr({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=l[22],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function pu(i){let e,t,n;function o(l){i[140](l)}let r={$$slots:{default:[Gg]},$$scope:{ctx:i}};return i[20].fullscreen!==void 0&&(r.ref=i[20].fullscreen),e=new qt({props:r}),ye.push(()=>Ze(e,"ref",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[0]&16384|s[1]&2097152|s[5]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].fullscreen,We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function Gg(i){let e,t;return e=new Yc({props:{click:i[14],isFullscreen:i[52]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&16384&&(r.click=n[14]),o[1]&2097152&&(r.isFullscreen=n[52]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function hu(i){let e,t,n,o;function r(s){i[143](s)}let l={supportLink:i[11],returnFocus:i[15]};return i[21]!==void 0&&(l.ref=i[21]),t=new Wc({props:l}),ye.push(()=>Ze(t,"ref",r)),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(s,a){E(s,e,a),U(t,e,null),o=!0},p(s,a){const c={};a[0]&2048&&(c.supportLink=s[11]),a[0]&32768&&(c.returnFocus=s[15]),!n&&a[0]&2097152&&(n=!0,c.ref=s[21],We(()=>n=!1)),t.$set(c)},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),j(t)}}}function Yg(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,w,_,S,y=!i[4]&&Qa(i),k=i[4]&&i[30]!==ti.INACTIVE&&su(i),V=i[95]&&jg(i),G=!i[4]&&i[25]&&cu(i),I=i[41]&&fu(i);function Q(C){i[137](C)}let se={className:"w-max",disabled:!i[43],$$slots:{default:[Zg]},$$scope:{ctx:i}};i[20].episodes!==void 0&&(se.ref=i[20].episodes),c=new qt({props:se}),ye.push(()=>Ze(c,"ref",Q));let te=i[38]&&mu(i),N=i[40]&&pu(i);v=new tf({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[24]}});let $=i[23]&&hu(i);return{c(){y&&y.c(),e=R(),k&&k.c(),t=R(),n=A("div"),o=A("div"),r=A("div"),V&&V.c(),l=R(),G&&G.c(),s=R(),I&&I.c(),a=R(),W(c.$$.fragment),m=R(),te&&te.c(),h=R(),N&&N.c(),b=R(),W(v.$$.fragment),w=R(),$&&$.c(),_=gt(),u(r,"class","controls v-1tcstu3"),M(r,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),M(o,"fullscreen",i[52]),u(n,"class","wrapper-bottom v-1tcstu3"),M(n,"hidden",i[1]),M(n,"controls-hidden",!i[3]),M(n,"no-smooth",i[2]),M(n,"mobile",!0)},m(C,D){y&&y.m(C,D),E(C,e,D),k&&k.m(C,D),E(C,t,D),E(C,n,D),p(n,o),p(o,r),V&&V.m(r,null),p(r,l),G&&G.m(r,null),p(r,s),I&&I.m(r,null),p(r,a),U(c,r,null),p(r,m),te&&te.m(r,null),p(r,h),N&&N.m(r,null),i[141](r),p(o,b),U(v,o,null),i[142](n),E(C,w,D),$&&$.m(C,D),E(C,_,D),S=!0},p(C,D){C[4]?y&&(pe(),g(y,1,1,()=>{y=null}),he()):y?(y.p(C,D),D[0]&16&&d(y,1)):(y=Qa(C),y.c(),d(y,1),y.m(e.parentNode,e)),C[4]&&C[30]!==ti.INACTIVE?k?(k.p(C,D),D[0]&1073741840&&d(k,1)):(k=su(C),k.c(),d(k,1),k.m(t.parentNode,t)):k&&(pe(),g(k,1,1,()=>{k=null}),he()),C[95]&&V.p(C,D),!C[4]&&C[25]?G?(G.p(C,D),D[0]&33554448&&d(G,1)):(G=cu(C),G.c(),d(G,1),G.m(r,s)):G&&(pe(),g(G,1,1,()=>{G=null}),he()),C[41]?I?(I.p(C,D),D[1]&1024&&d(I,1)):(I=fu(C),I.c(),d(I,1),I.m(r,a)):I&&(pe(),g(I,1,1,()=>{I=null}),he());const ce={};D[1]&4096&&(ce.disabled=!C[43]),D[1]&1073745920|D[2]&1|D[5]&128&&(ce.$$scope={dirty:D,ctx:C}),!f&&D[0]&1048576&&(f=!0,ce.ref=C[20].episodes,We(()=>f=!1)),c.$set(ce),C[38]?te?(te.p(C,D),D[1]&128&&d(te,1)):(te=mu(C),te.c(),d(te,1),te.m(r,h)):te&&(pe(),g(te,1,1,()=>{te=null}),he()),C[40]?N?(N.p(C,D),D[1]&512&&d(N,1)):(N=pu(C),N.c(),d(N,1),N.m(r,null)):N&&(pe(),g(N,1,1,()=>{N=null}),he());const T={};D[0]&16&&(T.isAds=C[4]),D[0]&32&&(T.canRewindLive=C[5]),D[0]&16777216&&(T.isRewindableLive=C[24]),v.$set(T),(!S||D[1]&2097152)&&M(o,"fullscreen",C[52]),(!S||D[0]&2)&&M(n,"hidden",C[1]),(!S||D[0]&8)&&M(n,"controls-hidden",!C[3]),(!S||D[0]&4)&&M(n,"no-smooth",C[2]),C[23]?$?($.p(C,D),D[0]&8388608&&d($,1)):($=hu(C),$.c(),d($,1),$.m(_.parentNode,_)):$&&(pe(),g($,1,1,()=>{$=null}),he())},i(C){S||(d(y),d(k),d(V),d(G),d(I),d(c.$$.fragment,C),d(te),d(N),d(v.$$.fragment,C),d($),S=!0)},o(C){g(y),g(k),g(V),g(G),g(I),g(c.$$.fragment,C),g(te),g(N),g(v.$$.fragment,C),g($),S=!1},d(C){C&&(P(e),P(t),P(n),P(w),P(_)),y&&y.d(C),k&&k.d(C),V&&V.d(),G&&G.d(),I&&I.d(),j(c),te&&te.d(),N&&N.d(),i[141](null),j(v),i[142](null),$&&$.d(C)}}}function Qg(i,e,t){var Di,un;let n,o,r,l,s,a,c,f,m,h,b,v,w,_,S,y,k,V,G,I,Q,se,te,N,$,C,D,ce,T,re,O,le,me,ze,He,{bottomHidden:Ee}=e,{bottomNoSmooth:de}=e,{showControls:ke}=e,{controlsElementRef:X=void 0}=e,{isAds:F=!1}=e,{canRewindLive:Te}=e,{logoClickable:ae}=e,{logoHidden:Pe}=e,{videoLogoUrl:Ve}=e,{showNextPrevButtons:Re}=e,{nextButtonActive:Se}=e,{prevButtonActive:ue}=e,{isOneVideoPlaylist:J=!1}=e,{supportLink:H}=e,{customFullscreenSupported:Ae=!0}=e,{playNextVideo:tt}=e,{playPrevVideo:ot}=e,{repeatPlaylist:Ue}=e,{toggleFullscreen:Me}=e,{returnFocus:Qe}=e,{seekToInteractive:at}=e,{toggleGraph:_t}=e,{playPrevChapter:it}=e;const De=Et(),yt=gn(),Lt=De.actions.internal.toggleMuted,It=De.actions.internal.togglePlay,ui=De.actions.internal.pause,fe=(Di=De.callbacks)==null?void 0:Di.onAudioDoesNotExistHint,kt=(un=De.callbacks)==null?void 0:un.onAudioDisabledHint,st=De.playerPhase;z(i,st,x=>t(118,I=x));const St=De.state.duration$;z(i,St,x=>t(62,He=x));const pt=De.state.positionWithScrubbing$;z(i,pt,x=>t(61,ze=x));const At=De.state.playbackState$;z(i,At,x=>t(114,h=x));const Xe=De.state.isAudioAvailable$;z(i,Xe,x=>t(51,b=x));const Fe=De.state.isAudioDisabled,Vt=De.state.isEnded$;z(i,Vt,x=>t(119,se=x));const ci=De.state.isLive$;z(i,ci,x=>t(25,S=x));const ki=De.state.muted$;z(i,ki,x=>t(54,D=x));const Yi=De.state.isActiveLive$;z(i,Yi,x=>t(116,w=x));const Si=De.state.isRewindableLive$;z(i,Si,x=>t(24,_=x));const Fi=De.ui.scrubbingInProgress;z(i,Fi,x=>t(29,Q=x));const fi=De.ui.mobileNotReportControlHidden$;z(i,fi,x=>t(27,V=x));const Rt=De.ui.isPictureInPictureActive$;z(i,Rt,x=>t(26,k=x));const Wt=De.ui.pictureInPictureType$;z(i,Wt,x=>t(117,y=x));const Ci=De.ui.mobileUnmuteButtonExpanded;z(i,Ci,x=>t(55,ce=x));const Yt=De.ui.mobileUnmuteButtonVisible;z(i,Yt,x=>t(53,C=x));const ni=De.ui.settingsMenuVisible;z(i,ni,x=>t(23,m=x));const oi=De.ui.settingsMenuOpenedByKeyboard;z(i,oi,x=>t(113,f=x));const Pi=De.ui.controls,Qt=De.actions.internal.getVideoEpisodes(),Mt=De.webApi.pictureInPictureApi,Hi=De.state.chromecastState$;z(i,Hi,x=>t(28,G=x));const di=De.state.crashed$;z(i,di,x=>t(57,re=x));const Ti=Pi.disabledControls$;z(i,Ti,x=>t(120,N=x));const Ot=De.ads.duration;z(i,Ot,x=>t(60,me=x));const Xt=De.ads.position;z(i,Xt,x=>t(59,le=x));const mi=De.ads.playbackState;z(i,mi,x=>t(30,te=x));const pi=De.ui.isFullscreen;z(i,pi,x=>t(52,$=x));const jt=De.ui.playerSize;z(i,jt,x=>t(115,v=x));const ct=De.ui.additionalButtons$;z(i,ct,x=>t(56,T=x));const ft=De.actions.internal.getVideoElement,Dt=De.actions.internal.replayInteractive,Bt=De.state.isInteractive,Ui=De.state.isInteractiveGraphEnabled,Ei=De.state.isSeekToInteractiveEnable,Jt=De.state.isPlayPrevChapterEnabled,Zt=De.state.graphIsOpened$;z(i,Zt,x=>t(58,O=x));const ji=De.ui.startedByKeyboard$;z(i,ji,x=>t(112,c=x));let xt,xi,li,Ai,Nt,Li,Ct,$t,Qi,qi,hi,Kt,Wi,Zi,Ii,Vi,Ki;const Ie={},vi=oe.throttleFn(mf,A1,{leading:!1}),Gi=()=>De.actions.internal.toggleChromecast();function Mi(){Fe?kt==null||kt():b?Lt():fe==null||fe()}function ri(){return Ji(this,null,function*(){Mt!=null&&Mt.isActive()?yield Mt==null?void 0:Mt.remove():yield Mt==null?void 0:Mt.request()})}function gi(){!Fe&&b&&Yt.set(!1),Mi()}const qe=J?It:Ue;let Bi="";const bi=(x,Dn)=>{if(!x){t(45,Bi=Y("tooltip_live"));return}Dn===xe.PlaybackState.PAUSED&&t(45,Bi=Y("tooltip_play"))};let Ni,zt;function mn(x){i.$$.not_equal(Ie.volume,x)&&(Ie.volume=x,t(20,Ie))}function bn(x){i.$$.not_equal(Ie.chromecast,x)&&(Ie.chromecast=x,t(20,Ie))}function Ri(x){i.$$.not_equal(Ie.pip,x)&&(Ie.pip=x,t(20,Ie))}function _i(x){zt=x,t(22,zt)}function wi(x){i.$$.not_equal(Ie.vkLogo,x)&&(Ie.vkLogo=x,t(20,Ie))}function ln(x){i.$$.not_equal(Ie.prevButton,x)&&(Ie.prevButton=x,t(20,Ie))}function $i(x){i.$$.not_equal(Ie.playButton,x)&&(Ie.playButton=x,t(20,Ie))}function en(x){i.$$.not_equal(Ie.replayButton,x)&&(Ie.replayButton=x,t(20,Ie))}function tn(x){i.$$.not_equal(Ie.nextButton,x)&&(Ie.nextButton=x,t(20,Ie))}function Oi(x){i.$$.not_equal(Ie.interactiveGraphButton,x)&&(Ie.interactiveGraphButton=x,t(20,Ie))}function ne(x){i.$$.not_equal(Ie.seekToInteractiveButton,x)&&(Ie.seekToInteractiveButton=x,t(20,Ie))}function et(x){i.$$.not_equal(Ie.volume,x)&&(Ie.volume=x,t(20,Ie))}function Ft(x){i.$$.not_equal(Ie.playButton,x)&&(Ie.playButton=x,t(20,Ie))}function Xi(x){i.$$.not_equal(Ie.replayButton,x)&&(Ie.replayButton=x,t(20,Ie))}function dt(x){i.$$.not_equal(Ie.liveButton,x)&&(Ie.liveButton=x,t(20,Ie))}function rn(x){i.$$.not_equal(Ie.time,x)&&(Ie.time=x,t(20,Ie))}function _n(x){i.$$.not_equal(Ie.episodes,x)&&(Ie.episodes=x,t(20,Ie))}function sn(x){zt=x,t(22,zt)}function pn(x){i.$$.not_equal(Ie.settings,x)&&(Ie.settings=x,t(20,Ie))}function hn(x){i.$$.not_equal(Ie.fullscreen,x)&&(Ie.fullscreen=x,t(20,Ie))}function ee(x){ye[x?"unshift":"push"](()=>{Vi=x,t(44,Vi)})}function mt(x){ye[x?"unshift":"push"](()=>{X=x,t(0,X)})}function an(x){Ni=x,t(21,Ni)}return i.$$set=x=>{"bottomHidden"in x&&t(1,Ee=x.bottomHidden),"bottomNoSmooth"in x&&t(2,de=x.bottomNoSmooth),"showControls"in x&&t(3,ke=x.showControls),"controlsElementRef"in x&&t(0,X=x.controlsElementRef),"isAds"in x&&t(4,F=x.isAds),"canRewindLive"in x&&t(5,Te=x.canRewindLive),"logoClickable"in x&&t(6,ae=x.logoClickable),"logoHidden"in x&&t(105,Pe=x.logoHidden),"videoLogoUrl"in x&&t(7,Ve=x.videoLogoUrl),"showNextPrevButtons"in x&&t(8,Re=x.showNextPrevButtons),"nextButtonActive"in x&&t(9,Se=x.nextButtonActive),"prevButtonActive"in x&&t(10,ue=x.prevButtonActive),"isOneVideoPlaylist"in x&&t(106,J=x.isOneVideoPlaylist),"supportLink"in x&&t(11,H=x.supportLink),"customFullscreenSupported"in x&&t(107,Ae=x.customFullscreenSupported),"playNextVideo"in x&&t(12,tt=x.playNextVideo),"playPrevVideo"in x&&t(13,ot=x.playPrevVideo),"repeatPlaylist"in x&&t(108,Ue=x.repeatPlaylist),"toggleFullscreen"in x&&t(14,Me=x.toggleFullscreen),"returnFocus"in x&&t(15,Qe=x.returnFocus),"seekToInteractive"in x&&t(16,at=x.seekToInteractive),"toggleGraph"in x&&t(17,_t=x.toggleGraph),"playPrevChapter"in x&&t(18,it=x.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&134217728&&t(111,n=N.has(ut.EPISODE_BUTTON)),i.$$.dirty[3]&134217728&&t(50,o=N.has(ut.GRAPH_BUTTON)),i.$$.dirty[3]&134217728&&t(49,r=N.has(ut.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&134217728&&t(48,l=N.has(ut.PLAY_BUTTON)),i.$$.dirty[3]&134217728&&t(47,s=N.has(ut.REPLAY_BUTTON)),i.$$.dirty[3]&134217728&&t(46,a=N.has(ut.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&2097152&&t(31,xt=h===xe.PlaybackState.PLAYING),i.$$.dirty[0]&1073741824&&t(32,xi=te===ti.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&67108864&&t(33,li=se&&!F&&!Bt),i.$$.dirty[0]&16|i.$$.dirty[3]&67108864&&t(34,Ai=!se||F),i.$$.dirty[3]&4194304&&t(109,Nt=v.width>300),i.$$.dirty[3]&4194304&&t(35,Li=v.width>400),i.$$.dirty[0]&536870912&&t(110,Ct=Q),i.$$.dirty[0]&469762048|i.$$.dirty[3]&16777216&&t(36,$t=G!==xe.ChromecastState.NOT_AVAILABLE&&!(k&&y===In.DocumentPictureInPicture)&&!V&&!Bt),i.$$.dirty[0]&402653184|i.$$.dirty[3]&50462720){const x=I===Ne.WaitingLive;t(37,Qi=!!Mt&&G!==xe.ChromecastState.CONNECTED&&!V&&(y===In.DocumentPictureInPicture&&x||!x)&&!Ct&&!Bt)}i.$$.dirty[3]&131072&&t(38,qi=!Ct),i.$$.dirty[3]&4198400&&t(39,hi=!Pe&&v.width>350),i.$$.dirty[0]&67108864|i.$$.dirty[3]&16924672&&t(40,Kt=yt.features.fullscreen&&!(k&&y===In.DocumentPictureInPicture)&&(Bt?Ae:!0)&&!Ct),i.$$.dirty[0]&33554448|i.$$.dirty[3]&4325376&&t(41,Wi=(!S||F)&&v.width>260&&!Ct&&!(yt.features.interactiveHideTime&&Bt)),i.$$.dirty[0]&8388616&&t(42,Zi=m||ke),i.$$.dirty[0]&33554448|i.$$.dirty[3]&458752&&t(43,Ii=!F&&!S&&!!(Qt!=null&&Qt.length)&&Nt&&!n&&!Ct),i.$$.dirty[0]&16777216|i.$$.dirty[3]&8388608&&t(19,Ki=!_||w),i.$$.dirty[0]&1048584|i.$$.dirty[3]&4194304&&vi(ft(),Pi,Ie,ke),i.$$.dirty[0]&524288|i.$$.dirty[3]&2097152&&bi(Ki,h),i.$$.dirty[0]&12582912&&kr(zt,m,oi),i.$$.dirty[0]&10485760|i.$$.dirty[3]&1048576&&Sr(Ni,m,f),i.$$.dirty[0]&1048576|i.$$.dirty[3]&524288&&pf(ji,c,Ie.playButton)},[X,Ee,de,ke,F,Te,ae,Ve,Re,Se,ue,H,tt,ot,Me,Qe,at,_t,it,Ki,Ie,Ni,zt,m,_,S,k,V,G,Q,te,xt,xi,li,Ai,Li,$t,Qi,qi,hi,Kt,Wi,Zi,Ii,Vi,Bi,a,s,l,r,o,b,$,C,D,ce,T,re,O,le,me,ze,He,It,ui,st,St,pt,At,Xe,Fe,Vt,ci,ki,Yi,Si,Fi,fi,Rt,Wt,Ci,Yt,ni,oi,Qt,Hi,di,Ti,Ot,Xt,mi,pi,jt,ct,Dt,Bt,Ui,Ei,Jt,Zt,ji,Gi,ri,gi,qe,Pe,J,Ae,Ue,Nt,Ct,n,c,f,h,v,w,y,I,se,N,mn,bn,Ri,_i,wi,ln,$i,en,tn,Oi,ne,et,Ft,Xi,dt,rn,_n,sn,pn,hn,ee,mt,an]}class Xg extends we{constructor(e){super(),_e(this,e,Qg,Yg,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:105,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:106,supportLink:11,customFullscreenSupported:107,playNextVideo:12,playPrevVideo:13,repeatPlaylist:108,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18},zg,[-1,-1,-1,-1,-1,-1])}}function Jg(i){let e,t,n;function o(l){i[26](l)}let r={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(r.controlsElementRef=i[0]),e=new Cg({props:r}),ye.push(()=>Ze(e,"controlsElementRef",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s&2&&(a.bottomHidden=l[1]),s&4&&(a.bottomNoSmooth=l[2]),s&8&&(a.showControls=l[3]),s&16&&(a.isAds=l[4]),s&32&&(a.canRewindLive=l[5]),s&64&&(a.logoClickable=l[6]),s&128&&(a.logoHidden=l[7]),s&256&&(a.videoLogoUrl=l[8]),s&512&&(a.showNextPrevButtons=l[9]),s&1024&&(a.nextButtonActive=l[10]),s&2048&&(a.prevButtonActive=l[11]),s&4096&&(a.isOneVideoPlaylist=l[12]),s&8192&&(a.supportLink=l[13]),s&16384&&(a.customFullscreenSupported=l[14]),s&32768&&(a.playNextVideo=l[15]),s&65536&&(a.playPrevVideo=l[16]),s&131072&&(a.repeatPlaylist=l[17]),s&262144&&(a.toggleFullscreen=l[18]),s&524288&&(a.returnFocus=l[19]),s&1048576&&(a.seekToInteractive=l[20]),s&2097152&&(a.toggleGraph=l[21]),s&4194304&&(a.playPrevChapter=l[22]),!t&&s&1&&(t=!0,a.controlsElementRef=l[0],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function xg(i){let e,t,n;function o(l){i[25](l)}let r={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(r.controlsElementRef=i[0]),e=new Xg({props:r}),ye.push(()=>Ze(e,"controlsElementRef",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s&2&&(a.bottomHidden=l[1]),s&4&&(a.bottomNoSmooth=l[2]),s&8&&(a.showControls=l[3]),s&16&&(a.isAds=l[4]),s&32&&(a.canRewindLive=l[5]),s&64&&(a.logoClickable=l[6]),s&128&&(a.logoHidden=l[7]),s&256&&(a.videoLogoUrl=l[8]),s&512&&(a.showNextPrevButtons=l[9]),s&1024&&(a.nextButtonActive=l[10]),s&2048&&(a.prevButtonActive=l[11]),s&4096&&(a.isOneVideoPlaylist=l[12]),s&8192&&(a.supportLink=l[13]),s&16384&&(a.customFullscreenSupported=l[14]),s&32768&&(a.playNextVideo=l[15]),s&65536&&(a.playPrevVideo=l[16]),s&131072&&(a.repeatPlaylist=l[17]),s&262144&&(a.toggleFullscreen=l[18]),s&524288&&(a.returnFocus=l[19]),s&1048576&&(a.seekToInteractive=l[20]),s&2097152&&(a.toggleGraph=l[21]),s&4194304&&(a.playPrevChapter=l[22]),!t&&s&1&&(t=!0,a.controlsElementRef=l[0],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function $g(i){let e,t,n,o;const r=[xg,Jg],l=[];function s(a,c){return a[23]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=gt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function eb(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:r=!1}=e,{showControls:l}=e,{controlsElementRef:s=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:m}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:b}=e,{nextButtonActive:v}=e,{prevButtonActive:w}=e,{isOneVideoPlaylist:_=!1}=e,{supportLink:S}=e,{customFullscreenSupported:y=!0}=e,{playNextVideo:k}=e,{playPrevVideo:V}=e,{repeatPlaylist:G}=e,{toggleFullscreen:I}=e,{returnFocus:Q=oe.noop}=e,{seekToInteractive:se}=e,{toggleGraph:te}=e,{playPrevChapter:N}=e;const C=Et().ui.isMobile;z(i,C,T=>t(23,n=T));function D(T){s=T,t(0,s)}function ce(T){s=T,t(0,s)}return i.$$set=T=>{"bottomHidden"in T&&t(1,o=T.bottomHidden),"bottomNoSmooth"in T&&t(2,r=T.bottomNoSmooth),"showControls"in T&&t(3,l=T.showControls),"controlsElementRef"in T&&t(0,s=T.controlsElementRef),"isAds"in T&&t(4,a=T.isAds),"canRewindLive"in T&&t(5,c=T.canRewindLive),"logoClickable"in T&&t(6,f=T.logoClickable),"logoHidden"in T&&t(7,m=T.logoHidden),"videoLogoUrl"in T&&t(8,h=T.videoLogoUrl),"showNextPrevButtons"in T&&t(9,b=T.showNextPrevButtons),"nextButtonActive"in T&&t(10,v=T.nextButtonActive),"prevButtonActive"in T&&t(11,w=T.prevButtonActive),"isOneVideoPlaylist"in T&&t(12,_=T.isOneVideoPlaylist),"supportLink"in T&&t(13,S=T.supportLink),"customFullscreenSupported"in T&&t(14,y=T.customFullscreenSupported),"playNextVideo"in T&&t(15,k=T.playNextVideo),"playPrevVideo"in T&&t(16,V=T.playPrevVideo),"repeatPlaylist"in T&&t(17,G=T.repeatPlaylist),"toggleFullscreen"in T&&t(18,I=T.toggleFullscreen),"returnFocus"in T&&t(19,Q=T.returnFocus),"seekToInteractive"in T&&t(20,se=T.seekToInteractive),"toggleGraph"in T&&t(21,te=T.toggleGraph),"playPrevChapter"in T&&t(22,N=T.playPrevChapter)},[s,o,r,l,a,c,f,m,h,b,v,w,_,S,y,k,V,G,I,Q,se,te,N,n,C,D,ce]}class vf extends we{constructor(e){super(),_e(this,e,eb,$g,be,{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 tb(i){je(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function ib(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),b=B("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_100684"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_100684"),u(b,"result","shape"),u(l,"id","a"),u(l,"x","2.5"),u(l,"y","0"),u(l,"width","43.996"),u(l,"height","49.5"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),M(e,"reversed",i[0])},m(v,w){E(v,e,w),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,b)},p(v,[w]){w&1&&M(e,"reversed",v[0])},i:K,o:K,d(v){v&&P(e)}}}function nb(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class ob extends we{constructor(e){super(),_e(this,e,nb,ib,be,{reversed:0},tb)}}function lb(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,w;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("clipPath"),s=B("path"),a=B("filter"),c=B("feFlood"),f=B("feColorMatrix"),m=B("feOffset"),h=B("feGaussianBlur"),b=B("feColorMatrix"),v=B("feBlend"),w=B("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(o,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(l,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(h,"stdDeviation","2.5"),u(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(v,"in2","BackgroundImageFix"),u(v,"result","effect1_dropShadow_2260_104204"),u(w,"in","SourceGraphic"),u(w,"in2","effect1_dropShadow_2260_104204"),u(w,"result","shape"),u(a,"id","b"),u(a,"x","-1.5"),u(a,"y","1.5"),u(a,"width","51"),u(a,"height","45"),u(a,"filterUnits","userSpaceOnUse"),u(a,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(_,S){E(_,e,S),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(r,a),p(a,c),p(a,f),p(a,m),p(a,h),p(a,b),p(a,v),p(a,w)},d(_){_&&P(e)}}}function rb(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,w,_;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),l=B("defs"),s=B("clipPath"),a=B("path"),c=B("filter"),f=B("feFlood"),m=B("feColorMatrix"),h=B("feOffset"),b=B("feGaussianBlur"),v=B("feColorMatrix"),w=B("feBlend"),_=B("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(o,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(o,"fill","#fff"),u(r,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(s,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(m,"in","SourceAlpha"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(m,"result","hardAlpha"),u(b,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_2260_104293"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_104293"),u(_,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(S,y){E(S,e,y),p(e,t),p(t,n),p(t,o),p(t,r),p(e,l),p(l,s),p(s,a),p(l,c),p(c,f),p(c,m),p(c,h),p(c,b),p(c,v),p(c,w),p(c,_)},d(S){S&&P(e)}}}function sb(i){let e;function t(r,l){return r[0]?rb:lb}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,[l]){n!==(n=t(r))&&(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:K,o:K,d(r){r&&P(e),o.d(r)}}}function ab(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class gf extends we{constructor(e){super(),_e(this,e,ab,sb,be,{isOff:0})}}function ub(i){je(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function cb(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),b=B("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_106627"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_106627"),u(b,"result","shape"),u(l,"id","a"),u(l,"x","3.402"),u(l,"y","10.105"),u(l,"width","40.098"),u(l,"height","27.785"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),M(e,"reversed",i[0])},m(v,w){E(v,e,w),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,b)},p(v,[w]){w&1&&M(e,"reversed",v[0])},i:K,o:K,d(v){v&&P(e)}}}function fb(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class db extends we{constructor(e){super(),_e(this,e,fb,cb,be,{reversed:0},ub)}}function mb(i){je(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function pb(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),b=B("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2340_106922"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2340_106922"),u(b,"result","shape"),u(l,"id","a"),u(l,"x","5.5"),u(l,"y","5.5"),u(l,"width","37"),u(l,"height","37"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),M(e,"reversed",i[0])},m(v,w){E(v,e,w),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,b)},p(v,[w]){w&1&&M(e,"reversed",v[0])},i:K,o:K,d(v){v&&P(e)}}}function hb(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class vb extends we{constructor(e){super(),_e(this,e,hb,pb,be,{reversed:0},mb)}}function gb(i){je(i,"v-4ftgwp",`.hot-key-helpers-container.v-4ftgwp.v-4ftgwp{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-4ftgwp-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-4ftgwp>div.v-4ftgwp{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-4ftgwp svg[data-testid="replay-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="play-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-4ftgwp.v-4ftgwp{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-4ftgwp.v-4ftgwp{left:calc(75% - 100px)}.hot-key-helpers-text.v-4ftgwp.v-4ftgwp{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-4ftgwp.v-4ftgwp{visibility:hidden;animation:v-4ftgwp-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-4ftgwp-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-4ftgwp-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function vu(i){let e,t=[Ye.BACKWARD_SEEK,Ye.FORWARD_SEEK].includes(i[4]),n,o,r,l,s,a,c=[Ye.RATE_DOWN,Ye.RATE_UP].includes(i[4]),f,m=[Ye.EPISODE_PREV,Ye.EPISODE_NEXT].includes(i[4]),h,b,v,w,_,S=t&&gu(i),y=i[4]===Ye.PAUSE&&bu(),k=i[4]===Ye.PLAY&&_u(),V=i[4]===Ye.REPLAY&&wu(),G=i[4]===Ye.SUBTITLES_OFF&&yu(),I=i[4]===Ye.SUBTITLES_ON&&ku(),Q=c&&Su(i),se=m&&Cu(i),te=i[4]===Ye.MUTE&&Pu(),N=i[4]===Ye.VOLUME&&Tu(),$=i[5]&&Eu(i);return{c(){e=A("div"),S&&S.c(),n=R(),y&&y.c(),o=R(),k&&k.c(),r=R(),V&&V.c(),l=R(),G&&G.c(),s=R(),I&&I.c(),a=R(),Q&&Q.c(),f=R(),se&&se.c(),h=R(),te&&te.c(),b=R(),N&&N.c(),v=R(),$&&$.c(),w=gt(),u(e,"class","v-4ftgwp")},m(C,D){E(C,e,D),S&&S.m(e,null),p(e,n),y&&y.m(e,null),p(e,o),k&&k.m(e,null),p(e,r),V&&V.m(e,null),p(e,l),G&&G.m(e,null),p(e,s),I&&I.m(e,null),p(e,a),Q&&Q.m(e,null),p(e,f),se&&se.m(e,null),p(e,h),te&&te.m(e,null),p(e,b),N&&N.m(e,null),E(C,v,D),$&&$.m(C,D),E(C,w,D),_=!0},p(C,D){D&16&&(t=[Ye.BACKWARD_SEEK,Ye.FORWARD_SEEK].includes(C[4])),t?S?(S.p(C,D),D&16&&d(S,1)):(S=gu(C),S.c(),d(S,1),S.m(e,n)):S&&(pe(),g(S,1,1,()=>{S=null}),he()),C[4]===Ye.PAUSE?y?D&16&&d(y,1):(y=bu(),y.c(),d(y,1),y.m(e,o)):y&&(pe(),g(y,1,1,()=>{y=null}),he()),C[4]===Ye.PLAY?k?D&16&&d(k,1):(k=_u(),k.c(),d(k,1),k.m(e,r)):k&&(pe(),g(k,1,1,()=>{k=null}),he()),C[4]===Ye.REPLAY?V?D&16&&d(V,1):(V=wu(),V.c(),d(V,1),V.m(e,l)):V&&(pe(),g(V,1,1,()=>{V=null}),he()),C[4]===Ye.SUBTITLES_OFF?G?D&16&&d(G,1):(G=yu(),G.c(),d(G,1),G.m(e,s)):G&&(pe(),g(G,1,1,()=>{G=null}),he()),C[4]===Ye.SUBTITLES_ON?I?D&16&&d(I,1):(I=ku(),I.c(),d(I,1),I.m(e,a)):I&&(pe(),g(I,1,1,()=>{I=null}),he()),D&16&&(c=[Ye.RATE_DOWN,Ye.RATE_UP].includes(C[4])),c?Q?(Q.p(C,D),D&16&&d(Q,1)):(Q=Su(C),Q.c(),d(Q,1),Q.m(e,f)):Q&&(pe(),g(Q,1,1,()=>{Q=null}),he()),D&16&&(m=[Ye.EPISODE_PREV,Ye.EPISODE_NEXT].includes(C[4])),m?se?(se.p(C,D),D&16&&d(se,1)):(se=Cu(C),se.c(),d(se,1),se.m(e,h)):se&&(pe(),g(se,1,1,()=>{se=null}),he()),C[4]===Ye.MUTE?te?D&16&&d(te,1):(te=Pu(),te.c(),d(te,1),te.m(e,b)):te&&(pe(),g(te,1,1,()=>{te=null}),he()),C[4]===Ye.VOLUME?N?D&16&&d(N,1):(N=Tu(),N.c(),d(N,1),N.m(e,null)):N&&(pe(),g(N,1,1,()=>{N=null}),he()),C[5]?$?$.p(C,D):($=Eu(C),$.c(),$.m(w.parentNode,w)):$&&($.d(1),$=null)},i(C){_||(d(S),d(y),d(k),d(V),d(G),d(I),d(Q),d(se),d(te),d(N),_=!0)},o(C){g(S),g(y),g(k),g(V),g(G),g(I),g(Q),g(se),g(te),g(N),_=!1},d(C){C&&(P(e),P(v),P(w)),S&&S.d(),y&&y.d(),k&&k.d(),V&&V.d(),G&&G.d(),I&&I.d(),Q&&Q.d(),se&&se.d(),te&&te.d(),N&&N.d(),$&&$.d(C)}}}function gu(i){let e,t;return e=new ob({props:{reversed:i[4]===Ye.FORWARD_SEEK}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ye.FORWARD_SEEK),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function bu(i){let e,t;return e=new Qc({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function _u(i){let e,t;return e=new Er({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function wu(i){let e,t;return e=new rf({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function yu(i){let e,t;return e=new gf({props:{isOff:!0}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function ku(i){let e,t;return e=new gf({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Su(i){let e,t;return e=new db({props:{reversed:i[4]===Ye.RATE_UP}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ye.RATE_UP),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Cu(i){let e,t;return e=new vb({props:{reversed:i[4]===Ye.EPISODE_NEXT}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ye.EPISODE_NEXT),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Pu(i){let e,t;return e=new Cl({props:{volume:0}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Tu(i){let e,t;return e=new Cl({props:{volume:1}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Eu(i){let e,t;return{c(){e=A("span"),t=Oe(i[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o&32&&$e(t,n[5])},d(n){n&&P(e)}}}function bb(i){let e,t,n=!i[1]&&i[4]&&vu(i);return{c(){e=A("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),M(e,"hidden",i[1]),M(e,"hot-key-helpers-container--left",i[2]),M(e,"hot-key-helpers-container--right",i[3])},m(o,r){E(o,e,r),n&&n.m(e,null),t=!0},p(o,[r]){!o[1]&&o[4]?n?(n.p(o,r),r&18&&d(n,1)):(n=vu(o),n.c(),d(n,1),n.m(e,null)):n&&(pe(),g(n,1,1,()=>{n=null}),he()),(!t||r&2)&&M(e,"hidden",o[1]),(!t||r&4)&&M(e,"hot-key-helpers-container--left",o[2]),(!t||r&8)&&M(e,"hot-key-helpers-container--right",o[3])},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d()}}}function _b(i,e,t){let n,o=K,r=()=>(o(),o=ei(l,h=>t(6,n=h)),l);i.$$.on_destroy.push(()=>o());let{data:l}=e;r();let s,a,c,f,m;return i.$$set=h=>{"data"in h&&r(t(0,l=h.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,s=!n),t(2,a=(n==null?void 0:n.type)===Ye.BACKWARD_SEEK),t(3,c=(n==null?void 0:n.type)===Ye.FORWARD_SEEK),t(4,f=n==null?void 0:n.type),n!=null&&n.t?t(5,m=Y(n.t.key,{value:n.t.value||""})):t(5,m=n==null?void 0:n.text))},[l,s,a,c,f,m,n]}class wb extends we{constructor(e){super(),_e(this,e,_b,bb,be,{data:0},gb)}}function yb(i){je(i,"v-1yzc86r",".immersive-controls.v-1yzc86r{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn)}.immersive-controls.m-shifted.v-1yzc86r{top:50px;left:20px}.button-block.v-1yzc86r{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-1yzc86r{display:flex;flex-direction:row;position:relative}.button.v-1yzc86r{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-1yzc86r svg{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-1yzc86r svg{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-1yzc86r svg{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-1yzc86r svg{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-1yzc86r svg{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-1yzc86r:hover svg{opacity:1}")}function kb(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,w,_,S,y;return r=new Hn({props:{direction:"up"}}),a=new Hn({props:{direction:"up"}}),h=new Hn({props:{direction:"up"}}),w=new Hn({props:{direction:"up"}}),{c(){e=A("div"),t=A("div"),n=A("div"),o=A("div"),W(r.$$.fragment),l=R(),s=A("div"),W(a.$$.fragment),c=R(),f=A("div"),m=A("div"),W(h.$$.fragment),b=R(),v=A("div"),W(w.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(s,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(m,"class","button button-left v-1yzc86r"),u(v,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(t,"class","button-block v-1yzc86r"),u(t,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",Y("aria_label_spherical_control")),M(e,"m-shifted",i[0])},m(k,V){E(k,e,V),p(e,t),p(t,n),p(n,o),U(r,o,null),p(n,l),p(n,s),U(a,s,null),p(t,c),p(t,f),p(f,m),U(h,m,null),p(f,b),p(f,v),U(w,v,null),_=!0,S||(y=[ge(o,"mousedown",i[1]),ge(o,"mouseup",i[5]),ge(o,"mouseleave",i[5]),ge(s,"mousedown",i[3]),ge(s,"mouseup",i[5]),ge(s,"mouseleave",i[5]),ge(m,"mousedown",i[4]),ge(m,"mouseup",i[5]),ge(m,"mouseleave",i[5]),ge(v,"mousedown",i[2]),ge(v,"mouseup",i[5]),ge(v,"mouseleave",i[5]),ge(e,"keydown",i[6]),ge(e,"keyup",i[7])],S=!0)},p(k,[V]){(!_||V&1)&&M(e,"m-shifted",k[0])},i(k){_||(d(r.$$.fragment,k),d(a.$$.fragment,k),d(h.$$.fragment,k),d(w.$$.fragment,k),_=!0)},o(k){g(r.$$.fragment,k),g(a.$$.fragment,k),g(h.$$.fragment,k),g(w.$$.fragment,k),_=!1},d(k){k&&P(e),j(r),j(a),j(h),j(w),S=!1,nt(y)}}}function Sb(i,e,t){let{isShifted:n=!1}=e;const o=Et(),r=new Set([Ce.ArrowUp,Ce.ArrowDown,Ce.ArrowLeft,Ce.ArrowRight]),l=()=>{o.actions.internal.startCameraManualRotation(0,1)},s=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),m=b=>{if(r.has(b.code))switch(b.preventDefault(),b.stopPropagation(),b.code){case Ce.ArrowUp:l();break;case Ce.ArrowDown:s();break;case Ce.ArrowLeft:c();break;case Ce.ArrowRight:a();break}},h=b=>{r.has(b.code)&&(b.preventDefault(),b.stopPropagation(),f())};return i.$$set=b=>{"isShifted"in b&&t(0,n=b.isShifted)},[n,l,s,a,c,f,m,h]}class bf extends we{constructor(e){super(),_e(this,e,Sb,kb,be,{isShifted:0},yb)}}function Cb(i){je(i,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function Au(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function Lu(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function Iu(i){let e,t;function n(l,s){return l[7]&&l[8]?Eb:l[5]?Tb:Pb}let o=n(i),r=o(i);return{c(){e=A("div"),t=A("span"),r.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),M(e,"mobile",i[3])},m(l,s){E(l,e,s),p(e,t),r.m(t,null)},p(l,s){o===(o=n(l))&&r?r.p(l,s):(r.d(1),r=o(l),r&&(r.c(),r.m(t,null))),s&8&&M(e,"mobile",l[3])},d(l){l&&P(e),r.d()}}}function Pb(i){let e,t=Gt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Vu(Au(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=gt()},m(o,r){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(o,r);E(o,e,r)},p(o,r){if(r&18){t=Gt(o[1]);let l;for(l=0;l<t.length;l+=1){const s=Au(o,t,l);n[l]?n[l].p(s,r):(n[l]=Vu(s),n[l].c(),n[l].m(e.parentNode,e))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},d(o){o&&P(e),Cn(n,o)}}}function Tb(i){let e,t,n=Gt(i[6]),o=[];for(let r=0;r<n.length;r+=1)o[r]=Bu(Lu(i,n,r));return{c(){e=A("span"),t=A("span");for(let r=0;r<o.length;r+=1)o[r].c();u(t,"class","caption-segment v-ovfyp5"),Ut(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,l){E(r,e,l),p(e,t);for(let s=0;s<o.length;s+=1)o[s]&&o[s].m(t,null)},p(r,l){if(l&68){n=Gt(r[6]);let s;for(s=0;s<n.length;s+=1){const a=Lu(r,n,s);o[s]?o[s].p(a,l):(o[s]=Bu(a),o[s].c(),o[s].m(t,null))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}l&16&&Ut(t,"font-size",r[4]+"px")},d(r){r&&P(e),Cn(o,r)}}}function Eb(i){let e,t,n=Y("subtitles_auto_caption")+"",o;return{c(){e=A("span"),t=A("span"),o=Oe(n),u(t,"class","caption-segment v-ovfyp5"),Ut(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,l){E(r,e,l),p(e,t),p(t,o)},p(r,l){l&16&&Ut(t,"font-size",r[4]+"px")},d(r){r&&P(e)}}}function Vu(i){let e,t,n=i[16]+"",o,r;return{c(){e=A("span"),t=A("span"),o=Oe(n),r=R(),u(t,"class","caption-segment v-ovfyp5"),Ut(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){E(l,e,s),p(e,t),p(t,o),p(e,r)},p(l,s){s&2&&n!==(n=l[16]+"")&&$e(o,n),s&16&&Ut(t,"font-size",l[4]+"px")},d(l){l&&P(e)}}}function Mu(i){let e=i[16]+"",t;return{c(){t=Oe(e)},m(n,o){E(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&$e(t,e)},d(n){n&&P(t)}}}function Bu(i){let e,t=(!i[17]||i[17]<=i[2])&&Mu(i);return{c(){t&&t.c(),e=gt()},m(n,o){t&&t.m(n,o),E(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?t?t.p(n,o):(t=Mu(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&P(e),t&&t.d(n)}}}function Ab(i){let e,t=i[1].length>0&&Iu(i);return{c(){e=A("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),M(e,"shifted",i[0]),M(e,"auto",i[5]&&!i[8])},m(n,o){E(n,e,o),t&&t.m(e,null)},p(n,[o]){n[1].length>0?t?t.p(n,o):(t=Iu(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),o&1&&M(e,"shifted",n[0]),o&288&&M(e,"auto",n[5]&&!n[8])},i:K,o:K,d(n){n&&P(e),t&&t.d()}}}function Lb(i,e,t){let n,o,{shifted:r}=e,{captions:l}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=Et(),m=gn(),h=f.state.currentSubtitle$;z(i,h,k=>t(12,n=k));const b=f.state.isAutoSubtitleCaptionVisible$;z(i,b,k=>t(8,o=k));let v,w,_,S,y;return vn(()=>{y=window.setTimeout(()=>{b.set(!1)},m.autoSubtitlesTimeout)}),_l(()=>{window.clearTimeout(y)}),i.$$set=k=>{"shifted"in k&&t(0,r=k.shifted),"captions"in k&&t(1,l=k.captions),"position"in k&&t(2,s=k.position),"playerSize"in k&&t(11,a=k.playerSize),"isMobile"in k&&t(3,c=k.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const k=a.width*.02;t(4,v=k<=m.minSubtitlesFontSize?m.minSubtitlesFontSize:k)}i.$$.dirty&2&&t(5,w=l.some(k=>k.type==="timestamp")),i.$$.dirty&2&&t(6,_=l.reduce((k,{type:V,value:G})=>(V==="timestamp"?k.push({timeAppeared:Number(G),value:""}):k.length===0?k.push({value:String(G)}):k[k.length-1].value=String(G),k),[])),i.$$.dirty&4096&&t(7,S=!!n.isAuto)},[r,l,s,c,v,w,_,S,o,h,b,a,n]}class _f extends we{constructor(e){super(),_e(this,e,Lb,Ab,be,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},Cb)}}function Ib(i){je(i,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function Nu(i){let e,t,n;return{c(){e=A("div"),t=Oe("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Oe(i[1]),u(e,"class","text v-1o62kpz")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p(o,r){r&2&&$e(n,o[1])},d(o){o&&P(e)}}}function Vb(i){let e,t,n,o,r,l,s=i[1]&&Nu(i);return{c(){e=A("div"),t=A("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){E(a,e,c),p(e,t),p(e,n),s&&s.m(e,null),r||(l=ge(e,"click",i[2]),r=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=Nu(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:K,o:K,d(a){a&&P(e),s&&s.d(),r=!1,l()}}}function Mb(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function r(l){Co.call(this,i,l)}return i.$$set=l=>{"thumbUrl"in l&&t(0,n=l.thumbUrl),"chromecastDeviceName"in l&&t(1,o=l.chromecastDeviceName)},[n,o,r]}class wf extends we{constructor(e){super(),_e(this,e,Mb,Vb,be,{thumbUrl:0,chromecastDeviceName:1},Ib)}}function Bb(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class Nb extends we{constructor(e){super(),_e(this,e,null,Bb,be,{})}}function Rb(i){je(i,"v-13zpvm8",".container.v-13zpvm8{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function Ob(i){let e,t,n;return t=new Nb({}),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,r){E(o,e,r),U(t,e,null),n=!0},p:K,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),j(t)}}}class yf extends we{constructor(e){super(),_e(this,e,null,Ob,be,{},Rb)}}function Db(i){je(i,"v-17wno3",".container.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-17wno3.v-17wno3{opacity:0;visibility:hidden}.playButton.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-17wno3:hover .playButtonBackground.v-17wno3{background-color:var(--big-play-hover-bg-color);transform:scale(1.15)}.playButton.v-17wno3 svg{transform:scale(2)}")}function zb(i){let e,t,n,o,r,l,s,a,c;return r=new Er({}),{c(){e=A("div"),t=A("div"),n=A("div"),o=R(),W(r.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(t,"class","playButton v-17wno3"),u(t,"tabindex","0"),u(t,"role","button"),u(t,"aria-label",Y("tooltip_play")),u(e,"class","container v-17wno3"),u(e,"style",l=`background-color: #222; background-image: url('${i[0]||""}')`),M(e,"hidden",i[1])},m(f,m){E(f,e,m),p(e,t),p(t,n),p(t,o),U(r,t,null),s=!0,a||(c=[ge(t,"keydown",i[3]),ge(e,"click",rt(function(){Sn(i[2])&&i[2].apply(this,arguments)}))],a=!0)},p(f,[m]){i=f,(!s||m&1&&l!==(l=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",l),(!s||m&2)&&M(e,"hidden",i[1])},i(f){s||(d(r.$$.fragment,f),s=!0)},o(f){g(r.$$.fragment,f),s=!1},d(f){f&&P(e),j(r),a=!1,nt(c)}}}function Fb(i,e,t){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:r}=e;const s=Et().ui.startedByKeyboard$,a=c=>{const f=c.code;[Ce.Enter,Ce.Space].includes(f)&&(c.stopPropagation(),c.preventDefault(),s.set(!0),r())};return i.$$set=c=>{"thumbUrl"in c&&t(0,n=c.thumbUrl),"hidden"in c&&t(1,o=c.hidden),"startVideo"in c&&t(2,r=c.startVideo)},[n,o,r,a]}class kf extends we{constructor(e){super(),_e(this,e,Fb,zb,be,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},Db)}get handlePressKey(){return this.$$.ctx[3]}}function Hb(i){je(i,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
|
|
24
|
+
)}`)}function Cs(t){let e;return{c(){e=T("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(i,n){P(i,e,n)},d(i){i&&S(e)}}}function Ss(t){let e,i;return e=new z4({props:{position:t[5],secondsToWatchBeforeSkip:t[6],skipAd:t[8].actions.internal.skipAd}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&32&&(r.position=n[5]),l&64&&(r.secondsToWatchBeforeSkip=n[6]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Ps(t){let e,i;return e=new V4({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Ts(t){let e,i;return e=new U4({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function j4(t){let e,i,n,l,r,o,s,a=t[0]&&Cs(),c=t[3]&&Ss(t),f=t[7]&&Ps(),d=t[4]&&Ts();return{c(){e=T("div"),a&&a.c(),i=z(),n=T("video"),l=z(),c&&c.c(),r=z(),f&&f.c(),o=z(),d&&d.c(),Ft(n,"width","100%"),Ft(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,b){P(h,e,b),a&&a.m(e,null),p(e,i),p(e,n),t[19](n),p(e,l),c&&c.m(e,null),p(e,r),f&&f.m(e,null),p(e,o),d&&d.m(e,null),t[20](e),s=!0},p(h,[b]){h[0]?a||(a=Cs(),a.c(),a.m(e,i)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,b),b&8&&m(c,1)):(c=Ss(h),c.c(),m(c,1),c.m(e,r)):c&&(fe(),g(c,1,1,()=>{c=null}),de()),h[7]?f?b&128&&m(f,1):(f=Ps(),f.c(),m(f,1),f.m(e,o)):f&&(fe(),g(f,1,1,()=>{f=null}),de()),h[4]?d?b&16&&m(d,1):(d=Ts(),d.c(),m(d,1),d.m(e,null)):d&&(fe(),g(d,1,1,()=>{d=null}),de())},i(h){s||(m(c),m(f),m(d),s=!0)},o(h){g(c),g(f),g(d),s=!1},d(h){h&&S(e),a&&a.d(),t[19](null),c&&c.d(),f&&f.d(),d&&d.d(),t[20](null)}}}function K4(t,e,i){let n,l,r,o,s,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:d=0}=e;const h=Tt(),b=h.state.isEnded$;D(t,b,O=>i(7,s=O));const v=h.ui.isMobile;D(t,v,O=>i(0,l=O));let w,_,k=!1;const y=h.ads.playbackState;D(t,y,O=>i(18,n=O));const C=h.ads.canSkip,E=h.ads.position;D(t,E,O=>i(5,r=O));const F=h.ads.secondsToWatchBeforeSkip;D(t,F,O=>i(6,o=O));let R,B;wn(()=>{const O=new AbortController;let $=()=>{O.abort()};const J=h.getAdmanWrapper();if(!a){J.onAdmanLoadingError();return}const{width:Q,height:I}=$e(h.ui.playerSize),M=$e(h.ui.isFullscreen),ee=$e(h.ui.isAutoplay),L={width:Q,height:I,isFullscreen:M,isAutoplay:ee,adsContainer:w,adsVideoElement:_,slotId:a,params:c,previewParam:f,duration:d};return window.AdmanHTML?(J.initAdman(L),k=!0):J.loadAdman(O.signal).then(()=>{J.initAdman(L),k=!0}).catch(()=>{J.onAdmanLoadingError()}),()=>{!k&&$()}});function se(O){ke[O?"unshift":"push"](()=>{_=O,i(2,_)})}function ae(O){ke[O?"unshift":"push"](()=>{w=O,i(1,w)})}return t.$$set=O=>{"adsSlotId"in O&&i(14,a=O.adsSlotId),"adsParams"in O&&i(15,c=O.adsParams),"adsPreviewParam"in O&&i(16,f=O.adsPreviewParam),"duration"in O&&i(17,d=O.duration)},t.$$.update=()=>{t.$$.dirty&262144&&i(3,R=C&&n!==ti.INACTIVE),t.$$.dirty&262145&&i(4,B=l&&n!==ti.INACTIVE)},[l,w,_,R,B,r,o,s,h,b,v,y,E,F,a,c,f,d,n,se,ae]}class Mc extends ye{constructor(e){super(),we(this,e,K4,j4,ge,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},q4)}}const zn=t=>{if(!isFinite(t))return"00:00";let e=Math.round(t);const i=Math.floor(e/(60*60));e-=i*(60*60);const n=Math.floor(e/60);return e-=n*60,(i>0?[i,n,e]:[n,e]).map(r=>r>9?String(r):`0${r}`).join(":")};function W4(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(i,"fill","none"),u(i,"stroke","#fff"),u(i,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(l,r){P(l,e,r),p(e,i),p(e,n)},d(l){l&&S(e)}}}function Z4(t){let e,i,n;return{c(){e=N("svg"),i=N("rect"),n=N("path"),u(i,"width","42"),u(i,"height","20"),u(i,"rx","5"),u(i,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(l,r){P(l,e,r),p(e,i),p(e,n)},d(l){l&&S(e)}}}function G4(t){let e;function i(r,o){return r[0]?Z4:W4}let n=i(t),l=n(t);return{c(){l.c(),e=bt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,[o]){n!==(n=i(r))&&(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:G,o:G,d(r){r&&S(e),l.d(r)}}}function Y4(t,e,i){let{isActive:n=!1}=e;return t.$$set=l=>{"isActive"in l&&i(0,n=l.isActive)},[n]}class Vc extends ye{constructor(e){super(),we(this,e,Y4,G4,ge,{isActive:0})}}function Q4(t){We(t,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function X4(t){let e=zn(t[4]-t[3])+"",i;return{c(){i=ze(e)},m(n,l){P(n,i,l)},p(n,l){l&24&&e!==(e=zn(n[4]-n[3])+"")&&tt(i,e)},i:G,o:G,d(n){n&&S(i)}}}function J4(t){let e,i,n;return i=new Vc({props:{isActive:!0}}),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(l,r){P(l,e,r),q(i,e,null),n=!0},p:G,i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),j(i)}}}function x4(t){let e,i,n,l,r,o,s;const a=[J4,X4],c=[];function f(d,h){return d[1]?0:1}return r=f(t),o=c[r]=a[r](t),{c(){e=T("div"),i=T("div"),i.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=z(),l=T("span"),o.c(),u(i,"class","thumb-timer-equalizer v-7pnl2h"),u(l,"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",t[1]),V(e,"hidden",t[0]),V(e,"playing",t[2])},m(d,h){P(d,e,h),p(e,i),p(e,n),p(e,l),c[r].m(l,null),s=!0},p(d,[h]){let b=r;r=f(d),r===b?c[r].p(d,h):(fe(),g(c[b],1,1,()=>{c[b]=null}),de(),o=c[r],o?o.p(d,h):(o=c[r]=a[r](d),o.c()),m(o,1),o.m(l,null)),(!s||h&2)&&V(e,"live",d[1]),(!s||h&1)&&V(e,"hidden",d[0]),(!s||h&4)&&V(e,"playing",d[2])},i(d){s||(m(o),s=!0)},o(d){g(o),s=!1},d(d){d&&S(e),c[r].d()}}}function $4(t,e,i){let{isHidden:n=!1}=e,{isLive:l=!1}=e,{isPlaying:r=!1}=e,{position:o}=e,{duration:s}=e;return t.$$set=a=>{"isHidden"in a&&i(0,n=a.isHidden),"isLive"in a&&i(1,l=a.isLive),"isPlaying"in a&&i(2,r=a.isPlaying),"position"in a&&i(3,o=a.position),"duration"in a&&i(4,s=a.duration)},[n,l,r,o,s]}class Bc extends ye{constructor(e){super(),we(this,e,$4,x4,ge,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},Q4)}}const dr=t=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const e=document.createElement("textarea");e.textContent=t,e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}}},ro=t=>{t.stopPropagation(),t.preventDefault()},ep=t=>{var e;let i=t.previousElementSibling;i||(i=(e=t.parentNode)===null||e===void 0?void 0:e.lastElementChild),i==null||i.focus()},tp=t=>{var e;let i=t.nextElementSibling;i||(i=(e=t.parentNode)===null||e===void 0?void 0:e.firstElementChild),i==null||i.focus()},ip=t=>{const e=t.code;return e===Ie.Tab&&!t.shiftKey||e===Ie.ArrowDown},np=t=>{const e=t.code;return e===Ie.Tab||e===Ie.ArrowUp},Nc=t=>t.code===Ie.Escape,op=t=>t.code===Ie.ArrowLeft,Rc=(t,e=!0)=>{const i=t.code;return[Ie.Enter,Ie.Space].includes(i)||!e&&i===Ie.ArrowRight},Oc=t=>{if(ip(t)){ro(t),tp(t.target);return}np(t)&&(ro(t),ep(t.target))},kr=t=>(t==null?void 0:t.detail)===0,Cr=(t,e,i)=>ni(void 0,void 0,void 0,function*(){yield eo(),t&&!t.classList.contains("opened")&&!e&&$e(i)&&(yield eo(),i.set(!1),t.focus())}),lp=(t,e,i)=>ni(void 0,void 0,void 0,function*(){yield eo(),t&&!e&&$e(i)&&(i.set(!1),t.focus())}),vl=(t,e,i)=>ni(void 0,void 0,void 0,function*(){yield eo(),!!t&&e&&i&&(yield eo(),t.firstChild.focus())}),rl=(t,e,i)=>ni(void 0,void 0,void 0,function*(){!!t&&i&&(e.set(!1),setTimeout(()=>{t.focus()},M0))}),Dc=(t,e)=>{Oc(t),Nc(t)&&(ro(t),e())},sl=(t,e,i)=>ni(void 0,void 0,void 0,function*(){if(Rc(t,!1)){ro(t),e(),yield eo();const n=i();n==null||n.focus()}}),al=(t,e,i,n)=>ni(void 0,void 0,void 0,function*(){if(Oc(t),op(t)){ro(t),e(),i.set(!0);return}Nc(t)&&(ro(t),n())}),on=(t,e)=>{Rc(t)&&(ro(t),e())},rp=t=>{const e=t.getBoundingClientRect(),i=-14,n=e.left+e.width,l=e.top+i;return{right:n,bottom:l}},sp=t=>{if(!t)return{top:0,left:0};const e=t.getBoundingClientRect(),i=-58,n=No,l=e.left+n;return{bottom:e.bottom+i,left:l}};function ap(t){We(t,"v-1vzqlps","ul.v-1vzqlps{position:absolute;border-radius:8px;background:rgba(0, 0, 0, 0.72);transition:visibility .1s,opacity .1s;list-style:none;margin:0;padding:6px 0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-1vzqlps{padding:8px 16px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;line-height:18px;letter-spacing:-0.14px;white-space:nowrap}li.v-1vzqlps:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function Es(t){var E;let e,i,n,l,r,o,s=(t[9].features.saveDebugInfoToFile?Y("menu_save_debug"):Y("menu_copy_debug"))+"",a,c,f,d=Y("menu_debug_overlay")+"",h,b,v,w,_=t[9].features.copyVideoLink&&((E=t[8].callbacks)==null?void 0:E.onCopyVideoLink)&&up(t),k=t[11]&&t[5]!==et.ChromecastState.CONNECTED&&!t[16]&&Is(t),y=t[9].features.videoRotate&&!t[16]&&cp(t),C=t[9].showSupport&&!t[6]&&Ls(t);return{c(){e=T("ul"),_&&_.c(),i=z(),k&&k.c(),n=z(),y&&y.c(),l=z(),C&&C.c(),r=z(),o=T("li"),a=ze(s),c=z(),f=T("li"),h=ze(d),u(o,"tabindex","0"),u(o,"role","menuitem"),u(o,"aria-label",t[9].features.saveDebugInfoToFile?Y("menu_save_debug"):Y("menu_copy_debug")),u(o,"class","v-1vzqlps"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",b=t[7]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable")),u(f,"class","v-1vzqlps"),u(e,"role","menu"),Ft(e,"top",t[3]+"px"),Ft(e,"left",t[2]+"px"),u(e,"class","v-1vzqlps")},m(F,R){P(F,e,R),_&&_.m(e,null),p(e,i),k&&k.m(e,null),p(e,n),y&&y.m(e,null),p(e,l),C&&C.m(e,null),p(e,r),p(e,o),p(o,a),p(e,c),p(e,f),p(f,h),t[39](e),v||(w=[pe(o,"click",at(t[19])),pe(o,"keydown",t[29]),pe(f,"click",at(t[20])),pe(f,"keydown",t[30]),pe(e,"contextmenu",ii(t[36])),pe(e,"keydown",t[23])],v=!0)},p(F,R){var B;F[9].features.copyVideoLink&&((B=F[8].callbacks)!=null&&B.onCopyVideoLink)&&_.p(F,R),F[11]&&F[5]!==et.ChromecastState.CONNECTED&&!F[16]?k?k.p(F,R):(k=Is(F),k.c(),k.m(e,n)):k&&(k.d(1),k=null),F[9].features.videoRotate&&!F[16]&&y.p(F,R),F[9].showSupport&&!F[6]?C?C.p(F,R):(C=Ls(F),C.c(),C.m(e,r)):C&&(C.d(1),C=null),R[0]&128&&b!==(b=F[7]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",b),R[0]&8&&Ft(e,"top",F[3]+"px"),R[0]&4&&Ft(e,"left",F[2]+"px")},d(F){F&&S(e),_&&_.d(),k&&k.d(),y&&y.d(),C&&C.d(),t[39](null),v=!1,rt(w)}}}function up(t){let e,i=Y("menu_copy_video_link")+"",n,l,r,o,s,a=!t[4]&&!t[16]&&As(t);return{c(){e=T("li"),n=ze(i),l=z(),a&&a.c(),r=bt(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("menu_copy_video_link")),u(e,"class","v-1vzqlps")},m(c,f){P(c,e,f),p(e,n),P(c,l,f),a&&a.m(c,f),P(c,r,f),o||(s=[pe(e,"click",at(t[37])),pe(e,"keydown",t[24])],o=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=As(c),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(c){c&&(S(e),S(l),S(r)),a&&a.d(c),o=!1,rt(s)}}}function As(t){let e,i=Y("menu_copy_video_link_with_timestamp")+"",n,l,r;return{c(){e=T("li"),n=ze(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("menu_copy_video_link_with_timestamp")),u(e,"class","v-1vzqlps")},m(o,s){P(o,e,s),p(e,n),l||(r=[pe(e,"click",at(t[38])),pe(e,"keydown",t[25])],l=!0)},p:G,d(o){o&&S(e),l=!1,rt(r)}}}function Is(t){let e,i=Y("menu_pip")+"",n,l,r;return{c(){e=T("li"),n=ze(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("menu_pip")),u(e,"class","v-1vzqlps")},m(o,s){P(o,e,s),p(e,n),l||(r=[pe(e,"click",at(t[21])),pe(e,"keydown",t[26])],l=!0)},p:G,d(o){o&&S(e),l=!1,rt(r)}}}function cp(t){let e,i=Y("menu_video_rotate")+"",n,l,r;return{c(){e=T("li"),n=ze(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("aria_label_menu_rotate")),u(e,"class","v-1vzqlps")},m(o,s){P(o,e,s),p(e,n),l||(r=[pe(e,"click",at(t[17])),pe(e,"keydown",t[27])],l=!0)},p:G,d(o){o&&S(e),l=!1,rt(r)}}}function Ls(t){let e,i=Y("menu_report")+"",n,l,r;return{c(){e=T("li"),n=ze(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${Y("menu_report")}. ${Y("aria_label_new_tab_alert")}`),u(e,"class","v-1vzqlps")},m(o,s){P(o,e,s),p(e,n),l||(r=[pe(e,"click",at(t[18])),pe(e,"keydown",t[28])],l=!0)},p:G,d(o){o&&S(e),l=!1,rt(r)}}}function fp(t){let e,i=t[1]&&Es(t);return{c(){i&&i.c(),e=bt()},m(n,l){i&&i.m(n,l),P(n,e,l)},p(n,l){n[1]?i?i.p(n,l):(i=Es(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},i:G,o:G,d(n){n&&S(e),i&&i.d(n)}}}function dp(t,e,i){var Re;let n,l,r,o,s,{visible:a=!1}=e,{supportLink:c}=e,{position:f={top:0,left:0}}=e,{playerContainerRef:d=void 0}=e,{controlsContainerRef:h=void 0}=e,{menuElementRef:b=void 0}=e,{returnFocus:v}=e,w=0,_=0;const k=Tt(),y=yn(),C=k.ui.contextMenu.visible$,E=k.ui.debugPanelVisible;D(t,E,me=>i(7,s=me));const F=k.webApi.pictureInPictureApi,R=(Re=k.webApi.pictureInPictureApi)==null?void 0:Re.info.isActive$;D(t,R,me=>i(6,o=me));const B=k.state.chromecastState$;D(t,B,me=>i(5,r=me));const se=k.state.isLive$;D(t,se,me=>i(4,l=me));const ae=k.state.positionExact$;D(t,ae,me=>i(40,n=me));const O=k.state.isInteractive,$=()=>{C.set(!1)},J=(me,Te)=>{if(!b||!d||!h)return;const H=b.getBoundingClientRect(),ne=d.getBoundingClientRect();i(2,w=me-ne.left),i(3,_=Te-ne.top),w+H.width>ne.width&&i(2,w=ne.width-H.width),_+H.height>ne.height&&i(3,_=ne.height-H.height),i(2,w=Math.max(w,0)),i(3,_=Math.max(_,0))},Q=()=>{$(),k.actions.internal.videoRotate()},I=()=>{window.open(c,"_blank"),$(),k.actions.internal.pause()},M=()=>{const me=k.actions.internal.getDebugTextData();if(y.features.saveDebugInfoToFile){const Te=new Blob([...me],{type:"plain/text"}),H=window.URL.createObjectURL(Te);R1(H,"vk_player_debug_info","txt")}else dr(k.actions.internal.getDebugTextData());$(),v==null||v()},ee=()=>{E.set(!0),$(),v==null||v()},L=()=>Ji(this,null,function*(){try{F!=null&&F.isActive()?yield F==null?void 0:F.remove():yield F==null?void 0:F.request()}finally{$(),v==null||v()}}),ie=(me=!1)=>{var Te,H;if((Te=k.callbacks)!=null&&Te.onCopyVideoLink){const ne=(H=k.callbacks)==null?void 0:H.onCopyVideoLink(me,n);ne&&dr(ne)}$()},Le=me=>{Dc(me,$)},Pe=me=>{on(me,()=>ie())},Me=me=>{on(me,()=>ie(!0))},Ne=me=>{on(me,()=>L())},be=me=>{on(me,()=>Q())},Ce=me=>{on(me,()=>I())},Z=me=>{on(me,()=>M())},ce=me=>{on(me,()=>ee())};function he(me){Po.call(this,t,me)}const Ke=()=>ie(),_e=()=>ie(!0);function Ee(me){ke[me?"unshift":"push"](()=>{b=me,i(0,b)})}return t.$$set=me=>{"visible"in me&&i(1,a=me.visible),"supportLink"in me&&i(31,c=me.supportLink),"position"in me&&i(32,f=me.position),"playerContainerRef"in me&&i(33,d=me.playerContainerRef),"controlsContainerRef"in me&&i(34,h=me.controlsContainerRef),"menuElementRef"in me&&i(0,b=me.menuElementRef),"returnFocus"in me&&i(35,v=me.returnFocus)},t.$$.update=()=>{if(t.$$.dirty[0]&1|t.$$.dirty[1]&14&&b&&d&&h){const{top:me,left:Te,bottom:H,right:ne}=f;let Ae=Te!=null?Te:0,ue=me!=null?me:0;const Se=b.getBoundingClientRect();te.isNullable(Te)&&!te.isNullable(ne)&&(Ae=ne-Se.width),te.isNullable(me)&&!te.isNullable(H)&&(ue=H-Se.height),Ae=Ae>=0?Ae:0,ue=ue>=0?ue:0,J(Ae,ue)}},[b,a,w,_,l,r,o,s,k,y,E,F,R,B,se,ae,O,Q,I,M,ee,L,ie,Le,Pe,Me,Ne,be,Ce,Z,ce,c,f,d,h,v,he,Ke,_e,Ee]}class mp extends ye{constructor(e){super(),we(this,e,dp,fp,ge,{visible:1,supportLink:31,position:32,playerContainerRef:33,controlsContainerRef:34,menuElementRef:0,returnFocus:35},ap,[-1,-1])}}class pp{constructor(e){this.value=e,this.next=null}}class Xl{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const i=new pp(e);this.top?(this.top.next=i,this.top=i):(this.top=i,this.bottom=i),this.size++,this.size>this.maxSize&&this.bottom&&(this.bottom=this.bottom.next)}getValuesFromBottom(){const e=[];let i=this.bottom;for(;i;)e.push(i.value),i=i.next;return e}}function hp(t){We(t,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function vp(t){let e,i;return{c(){e=T("div"),i=T("canvas"),u(i,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,l){P(n,e,l),p(e,i),t[3](i)},p:G,i:G,o:G,d(n){n&&S(e),t[3](null)}}}const Jl=16,xl=120,Ms=60;function gp(t,e,i,n,l){l===0&&(l=1),t.fillStyle="#fff",t.fillRect(e,i,n,l)}function bp(t,e,i){let{values:n=[]}=e,l,r;const o=xl/Ms;wn(()=>{i(0,l.width=xl,l),i(0,l.height=Jl,l),i(2,r=l.getContext("2d"))});function s(a){ke[a?"unshift":"push"](()=>{l=a,i(0,l)})}return t.$$set=a=>{"values"in a&&i(1,n=a.values)},t.$$.update=()=>{if(t.$$.dirty&6&&r){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);r.clearRect(0,0,xl,Jl);let c=Ms-1;for(let f=n.length-1;f>=0;f--){const d=c*o,h=a>0?Jl*(n[f]/a):0;gp(r,d,0,o,h),c--}}},[l,n,r,s]}class Sr extends ye{constructor(e){super(),we(this,e,bp,vp,ge,{values:1},hp)}}function _p(t){We(t,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function Vs(t){let e,i,n,l,r=t[0].id+"",o;return{c(){e=T("div"),i=T("div"),i.textContent="Video id",n=z(),l=T("span"),o=ze(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].id+"")&&tt(o,r)},d(s){s&&S(e)}}}function Bs(t){let e,i,n,l,r=t[0].provider+"",o;return{c(){e=T("div"),i=T("div"),i.textContent="Provider",n=z(),l=T("span"),o=ze(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].provider+"")&&tt(o,r)},d(s){s&&S(e)}}}function Ns(t){let e,i,n,l,r=t[0].viewport+"",o;return{c(){e=T("div"),i=T("div"),i.textContent="Viewport",n=z(),l=T("span"),o=ze(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].viewport+"")&&tt(o,r)},d(s){s&&S(e)}}}function Rs(t){let e,i,n,l,r=t[0].videoSize+"",o;return{c(){e=T("div"),i=T("div"),i.textContent="Video size",n=z(),l=T("span"),o=ze(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].videoSize+"")&&tt(o,r)},d(s){s&&S(e)}}}function Os(t){let e,i,n,l,r=t[0].cdn+"",o;return{c(){e=T("div"),i=T("div"),i.textContent="CDN host",n=z(),l=T("span"),o=ze(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].cdn+"")&&tt(o,r)},d(s){s&&S(e)}}}function Ds(t){let e,i,n,l,r=t[0].volume+"",o,s;return{c(){e=T("div"),i=T("div"),i.textContent="Volume",n=z(),l=T("span"),o=ze(r),s=ze(" %"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){P(a,e,c),p(e,i),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=a[0].volume+"")&&tt(o,r)},d(a){a&&S(e)}}}function zs(t){let e,i,n,l,r=t[0].buffer.toFixed(2)+"",o,s;return{c(){e=T("div"),i=T("div"),i.textContent="Buffer",n=z(),l=T("span"),o=ze(r),s=ze(" s"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){P(a,e,c),p(e,i),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=a[0].buffer.toFixed(2)+"")&&tt(o,r)},d(a){a&&S(e)}}}function Fs(t){let e,i,n,l,r,o,s=t[0].speed.toFixed(2)+"",a,c,f;return l=new Sr({props:{values:t[5]}}),{c(){e=T("div"),i=T("div"),i.textContent="Network",n=z(),W(l.$$.fragment),r=z(),o=T("span"),a=ze(s),c=ze(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(d,h){P(d,e,h),p(e,i),p(e,n),q(l,e,null),p(e,r),p(e,o),p(o,a),p(o,c),f=!0},p(d,h){const b={};h&32&&(b.values=d[5]),l.$set(b),(!f||h&1)&&s!==(s=d[0].speed.toFixed(2)+"")&&tt(a,s)},i(d){f||(m(l.$$.fragment,d),f=!0)},o(d){g(l.$$.fragment,d),f=!1},d(d){d&&S(e),j(l)}}}function Hs(t){let e,i,n,l,r,o,s=t[0].bitrate.toFixed(2)+"",a,c,f;return l=new Sr({props:{values:t[6]}}),{c(){e=T("div"),i=T("div"),i.textContent="V bitrate",n=z(),W(l.$$.fragment),r=z(),o=T("span"),a=ze(s),c=ze(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(d,h){P(d,e,h),p(e,i),p(e,n),q(l,e,null),p(e,r),p(e,o),p(o,a),p(o,c),f=!0},p(d,h){const b={};h&64&&(b.values=d[6]),l.$set(b),(!f||h&1)&&s!==(s=d[0].bitrate.toFixed(2)+"")&&tt(a,s)},i(d){f||(m(l.$$.fragment,d),f=!0)},o(d){g(l.$$.fragment,d),f=!1},d(d){d&&S(e),j(l)}}}function wp(t){let e,i,n,l,r,o,s,a,c=t[0].version+"",f,d,h,b,v,w,_,k,y,C,E,F,R,B,se,ae,O,$,J,Q,I,M,ee,L,ie,Le,Pe,Me,Ne,be,Ce=t[0].id&&Vs(t),Z=t[0].provider&&Bs(t),ce=t[0].viewport&&Ns(t),he=t[0].videoSize&&Rs(t),Ke=t[0].cdn&&Os(t),_e=t[0].volume&&Ds(t),Ee=t[0].buffer&&zs(t),Re=t[0].speed&&Fs(t),me=t[0].bitrate&&Hs(t);return L=new Sr({props:{values:t[4]}}),{c(){e=T("div"),i=T("button"),i.textContent="[x]",n=z(),l=T("div"),r=T("div"),o=T("div"),o.textContent="Version",s=z(),a=T("span"),f=ze(c),d=z(),Ce&&Ce.c(),h=z(),Z&&Z.c(),b=z(),ce&&ce.c(),v=z(),he&&he.c(),w=z(),Ke&&Ke.c(),_=z(),_e&&_e.c(),k=z(),Ee&&Ee.c(),y=z(),C=T("div"),E=T("div"),E.textContent="Dropped",F=z(),R=T("span"),B=ze(t[2]),se=ze(" / "),ae=ze(t[1]),O=ze(" frames"),$=z(),Re&&Re.c(),J=z(),me&&me.c(),Q=z(),I=T("div"),M=T("div"),M.textContent="FPS",ee=z(),W(L.$$.fragment),ie=z(),Le=T("span"),Pe=ze(t[3]),u(i,"class","close v-1gy2e68"),u(i,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(o,"class","v-1gy2e68"),u(r,"class","v-1gy2e68"),u(E,"class","v-1gy2e68"),u(C,"class","v-1gy2e68"),u(M,"class","v-1gy2e68"),u(I,"class","v-1gy2e68"),u(l,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),u(e,"role","region"),u(e,"aria-label",Y("aria_label_debug_panel")),V(e,"container-mobile",t[7])},m(Te,H){P(Te,e,H),p(e,i),p(e,n),p(e,l),p(l,r),p(r,o),p(r,s),p(r,a),p(a,f),p(l,d),Ce&&Ce.m(l,null),p(l,h),Z&&Z.m(l,null),p(l,b),ce&&ce.m(l,null),p(l,v),he&&he.m(l,null),p(l,w),Ke&&Ke.m(l,null),p(l,_),_e&&_e.m(l,null),p(l,k),Ee&&Ee.m(l,null),p(l,y),p(l,C),p(C,E),p(C,F),p(C,R),p(R,B),p(R,se),p(R,ae),p(R,O),p(l,$),Re&&Re.m(l,null),p(l,J),me&&me.m(l,null),p(l,Q),p(l,I),p(I,M),p(I,ee),q(L,I,null),p(I,ie),p(I,Le),p(Le,Pe),Me=!0,Ne||(be=pe(i,"click",at(t[9])),Ne=!0)},p(Te,[H]){(!Me||H&1)&&c!==(c=Te[0].version+"")&&tt(f,c),Te[0].id?Ce?Ce.p(Te,H):(Ce=Vs(Te),Ce.c(),Ce.m(l,h)):Ce&&(Ce.d(1),Ce=null),Te[0].provider?Z?Z.p(Te,H):(Z=Bs(Te),Z.c(),Z.m(l,b)):Z&&(Z.d(1),Z=null),Te[0].viewport?ce?ce.p(Te,H):(ce=Ns(Te),ce.c(),ce.m(l,v)):ce&&(ce.d(1),ce=null),Te[0].videoSize?he?he.p(Te,H):(he=Rs(Te),he.c(),he.m(l,w)):he&&(he.d(1),he=null),Te[0].cdn?Ke?Ke.p(Te,H):(Ke=Os(Te),Ke.c(),Ke.m(l,_)):Ke&&(Ke.d(1),Ke=null),Te[0].volume?_e?_e.p(Te,H):(_e=Ds(Te),_e.c(),_e.m(l,k)):_e&&(_e.d(1),_e=null),Te[0].buffer?Ee?Ee.p(Te,H):(Ee=zs(Te),Ee.c(),Ee.m(l,y)):Ee&&(Ee.d(1),Ee=null),(!Me||H&4)&&tt(B,Te[2]),(!Me||H&2)&&tt(ae,Te[1]),Te[0].speed?Re?(Re.p(Te,H),H&1&&m(Re,1)):(Re=Fs(Te),Re.c(),m(Re,1),Re.m(l,J)):Re&&(fe(),g(Re,1,1,()=>{Re=null}),de()),Te[0].bitrate?me?(me.p(Te,H),H&1&&m(me,1)):(me=Hs(Te),me.c(),m(me,1),me.m(l,Q)):me&&(fe(),g(me,1,1,()=>{me=null}),de());const ne={};H&16&&(ne.values=Te[4]),L.$set(ne),(!Me||H&8)&&tt(Pe,Te[3]),(!Me||H&128)&&V(e,"container-mobile",Te[7])},i(Te){Me||(m(Re),m(me),m(L.$$.fragment,Te),Me=!0)},o(Te){g(Re),g(me),g(L.$$.fragment,Te),Me=!1},d(Te){Te&&S(e),Ce&&Ce.d(),Z&&Z.d(),ce&&ce.d(),he&&he.d(),Ke&&Ke.d(),_e&&_e.d(),Ee&&Ee.d(),Re&&Re.d(),me&&me.d(),j(L),Ne=!1,be()}}}function yp(t,e,i){let n;const l=Tt(),r=l.ui.debugPanelVisible,o=l.ui.isMobile;D(t,o,C=>i(7,n=C));const s=()=>{te.safeStorage.remove(sr),r.set(!1)};let a=l.actions.internal.getDebugPanelData(),c=l.actions.internal.getVideoElement(),f=0,d=0,h=0;const b=new Xl(60),v=new Xl(60),w=new Xl(60);let _=[],k=[],y=[];return wn(()=>{te.safeStorage.set(sr,"true"),l.actions.internal.startLogging(),c&&(i(2,d=c.getVideoPlaybackQuality().droppedVideoFrames),i(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const C=window.setInterval(()=>{i(0,a=l.actions.internal.getDebugPanelData())},500);let E;return c&&(E=window.setInterval(()=>{if(c){i(2,d=c.getVideoPlaybackQuality().droppedVideoFrames);const F=c.getVideoPlaybackQuality().totalVideoFrames;i(3,h=F-f),i(1,f=F),b.push(h),a.speed&&v.push(a.speed),a.bitrate&&w.push(a.bitrate),i(4,_=b.getValuesFromBottom()),i(5,k=v.getValuesFromBottom()),i(6,y=w.getValuesFromBottom())}},1e3)),()=>{l.actions.internal.stopLogging(),clearInterval(C),E&&clearInterval(E)}}),[a,f,d,h,_,k,y,n,o,s]}class zc extends ye{constructor(e){super(),we(this,e,yp,wp,ge,{},_p)}}function kp(t){We(t,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function Cp(t){let e,i,n;return{c(){e=T("div"),u(e,"class","close v-1ome55p")},m(l,r){P(l,e,r),i||(n=pe(e,"click",at(t[0])),i=!0)},p:G,i:G,o:G,d(l){l&&S(e),i=!1,n()}}}function Sp(t){function e(i){Po.call(this,t,i)}return[e]}class Pp extends ye{constructor(e){super(),we(this,e,Sp,Cp,ge,{},kp)}}function Tp(t){We(t,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
|
|
25
|
+
}.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function Ep(t){let e,i,n,l,r,o,s;return{c(){e=T("div"),i=T("canvas"),n=z(),l=N("svg"),r=N("g"),o=N("g"),s=N("path"),u(i,"class","timer-canvas v-8jhsry"),u(i,"width","100"),u(i,"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(o,"fill-rule","nonzero"),u(r,"fill","none"),u(r,"fill-rule","evenodd"),u(l,"class","timer-play-icon v-8jhsry"),u(l,"viewBox","0 0 24 24"),u(l,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){P(a,e,c),p(e,i),t[2](i),p(e,n),p(e,l),p(l,r),p(r,o),p(o,s)},p:G,i:G,o:G,d(a){a&&S(e),t[2](null)}}}const Ap=5e3;function Ip(t,e,i){let{onTimerEnded:n=te.noop}=e,l;wn(()=>{let o;const s=l.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/Ap;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(),o=requestAnimationFrame(c)):n()};return o=requestAnimationFrame(c),()=>{cancelAnimationFrame(o)}});function r(o){ke[o?"unshift":"push"](()=>{l=o,i(0,l)})}return t.$$set=o=>{"onTimerEnded"in o&&i(1,n=o.onTimerEnded)},[l,n,r]}class Lp extends ye{constructor(e){super(),we(this,e,Ip,Ep,ge,{onTimerEnded:1},Tp)}}function Mp(t){We(t,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function Us(t){let e,i;return e=new Lp({props:{onTimerEnded:t[2]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&4&&(r.onTimerEnded=n[2]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Vp(t){let e,i,n,l,r,o,s,a,c,f,d,h,b,v,w,_,k,y,C,E,F;s=new Pp({}),s.$on("click",t[4]);let R=t[3]&&Us(t);return{c(){e=T("div"),i=z(),n=T("div"),l=T("div"),r=T("div"),r.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",o=z(),W(s.$$.fragment),a=z(),c=T("div"),f=T("div"),d=T("div"),h=T("div"),b=z(),R&&R.c(),w=z(),_=T("div"),k=T("div"),y=ze(t[0]),u(e,"class","overlay v-kisfwc"),u(r,"class","caption v-kisfwc"),u(l,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(d,"class","thumb v-kisfwc"),u(d,"style",v=`background-image: url('${t[1]}')`),u(f,"class","column v-kisfwc"),u(k,"class","title v-kisfwc"),u(_,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(B,se){P(B,e,se),P(B,i,se),P(B,n,se),p(n,l),p(l,r),p(l,o),q(s,l,null),p(n,a),p(n,c),p(c,f),p(f,d),p(d,h),p(d,b),R&&R.m(d,null),p(c,w),p(c,_),p(_,k),p(k,y),C=!0,E||(F=pe(c,"click",function(){Ln(t[2])&&t[2].apply(this,arguments)}),E=!0)},p(B,[se]){t=B,t[3]?R?(R.p(t,se),se&8&&m(R,1)):(R=Us(t),R.c(),m(R,1),R.m(d,null)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),(!C||se&2&&v!==(v=`background-image: url('${t[1]}')`))&&u(d,"style",v),(!C||se&1)&&tt(y,t[0])},i(B){C||(m(s.$$.fragment,B),m(R),C=!0)},o(B){g(s.$$.fragment,B),g(R),C=!1},d(B){B&&(S(e),S(i),S(n)),j(s),R&&R.d(),E=!1,F()}}}function Bp(t,e,i){let{title:n}=e,{thumb:l}=e,{playNextVideo:r}=e,o=!0;const s=()=>i(3,o=!1);return t.$$set=a=>{"title"in a&&i(0,n=a.title),"thumb"in a&&i(1,l=a.thumb),"playNextVideo"in a&&i(2,r=a.playNextVideo)},[n,l,r,o,s]}class Np extends ye{constructor(e){super(),we(this,e,Bp,Vp,ge,{title:0,thumb:1,playNextVideo:2},Mp)}}const Fc=(t,e)=>Math.min(+(t+e).toFixed(2),1),Hc=(t,e)=>Math.max(+(t-e).toFixed(2),0),Uc=(t,e,i)=>{const n=Fc(e,i);e<1&&t.actions.internal.setVolume(n)},qc=(t,e,i)=>{const n=Hc(e,i);e>0&&t.actions.internal.setVolume(n)};function Rp(t){We(t,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function Op(t){let e,i,n,l;const r=t[23].default,o=Fn(r,t,t[22],null);return{c(){e=T("div"),o&&o.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","-1"),u(e,"role","region"),u(e,"aria-label",Y("aria_label_video_player"))},m(s,a){P(s,e,a),o&&o.m(e,null),t[24](e),i=!0,n||(l=[pe(e,"keyup",t[14]),pe(e,"keydown",t[13])],n=!0)},p(s,a){o&&o.p&&(!i||a[0]&4194304)&&Un(o,r,s,s[22],i?Hn(r,s[22],a,null):qn(s[22]),null)},i(s){i||(m(o,s),i=!0)},o(s){g(o,s),i=!1},d(s){s&&S(e),o&&o.d(s),t[24](null),n=!1,rt(l)}}}function Dp(t,e,i){let n,l,r,o,s,a,c,f,d,h,b,v,{$$slots:w={},$$scope:_}=e,{isAds:k}=e,{hideContextMenu:y}=e,{toggleFullscreen:C}=e,{showHotKeyHelpers:E}=e,{showKeyMap:F}=e,{fakePlayButtonHandler:R}=e;const B=Tt(),se=yn(),ae=B.getLogger().createComponentLog("KeyboardControls component"),O=B.state.playbackState$;D(t,O,H=>i(28,l=H));const $=B.ads.playbackState;D(t,$,H=>i(27,n=H));const J=B.state.positionExact$;D(t,J,H=>i(35,d=H));const Q=B.state.duration$;D(t,Q,H=>i(34,f=H));const I=B.state.volume$;D(t,I,H=>i(38,v=H));const M=B.ui.controls.disabledControls$;D(t,M,H=>i(33,c=H));const ee=B.state.muted$;D(t,ee,H=>i(31,s=H));const L=B.state.currentSubtitle$;D(t,L,H=>i(30,o=H));const ie=B.state.currentPlaybackRate$;D(t,ie,H=>i(36,h=H));const Le=B.state.availablePlaybackRates$;D(t,Le,H=>i(37,b=H));const Pe=B.ui.contextMenu.openedByHotKey$,Me=B.ui.contextMenu.lastActiveElem$,Ne=B.ui.contextMenu.visible$,be=B.ui.contextMenu.position$,Ce=B.state.isEnded$;D(t,Ce,H=>i(32,a=H));const Z=B.ui.overlayContainer$;D(t,Z,H=>i(29,r=H));let ce=0,he=!0,Ke;const _e=()=>Ke==null?void 0:Ke.focus(),Ee=H=>(H!==he&&(he=H,ce=0),ce+=1,(se.controls.seekStepKeyboard+se.controls.seekStepKeyboard*ce)/1e3),Re=H=>{var wt;const ne=H.target,Ae=(wt=ne==null?void 0:ne.getAttribute("role"))==null?void 0:wt.includes("menuitem"),ue=ne.classList.contains("btn"),Se=H.code;if(ue&&Se===Ie.Space)return;const Ze=R0.has(Se);if(Ae&&Ze)return;const it=!N0.has(Se);if(H.ctrlKey&&it||H.altKey&&it||H.metaKey)return;const ut=Ae&&Se===Ie.Escape;O0.has(Se)||ut||y();const xe=l===et.PlaybackState.PLAYING||l===et.PlaybackState.PAUSED,ot=k&&(n===ti.PAUSED||n===ti.PLAYING),st=!ot&&!c.has(vt.TIMELINE);if(xe||ot)switch(ae({message:`key down, code: ${Se}`}),Se){case Ie.KeyJ:case Ie.ArrowLeft:{if(!st)break;if(H.ctrlKey||H.altKey){const Oe=B.actions.internal.getPrevEpisode();B.actions.internal.seekToPrevEpisode(Oe),Oe&&E({type:Ye.EPISODE_PREV,text:Oe.text}),H.preventDefault()}else{const Oe=H.shiftKey?Ee(!1):se.controls.seekStepKeyboard/1e3,dt=Math.max(d-Oe,0);d>0&&(B.actions.internal.seekTime(dt,Pt.SeekAction.DOUBLE_TAP),E({type:Ye.BACKWARD_SEEK,text:Oe.toString()}),H.preventDefault())}break}case Ie.KeyL:case Ie.ArrowRight:{if(!st)break;if(H.ctrlKey||H.altKey){const Oe=B.actions.internal.getNextEpisode();B.actions.internal.seekToNextEpisode(Oe),Oe&&E({type:Ye.EPISODE_NEXT,text:Oe.text}),H.preventDefault()}else{const Oe=H.shiftKey?Ee(!0):se.controls.seekStepKeyboard/1e3,dt=Math.min(d+Oe,f);Math.round(d)<Math.round(f)&&(B.actions.internal.seekTime(dt,Pt.SeekAction.DOUBLE_TAP),E({type:Ye.FORWARD_SEEK,text:Oe.toString()}),H.preventDefault())}break}case Ie.ArrowUp:{const Oe=v,dt=se.controls.volumeStepKeyboard,ct=Oe<=1;if(Uc(B,Oe,dt),ct){const Et=Math.round(Fc(Oe,dt)*100).toString();E({type:Ye.VOLUME,t:{key:"hotkey_helper_current_volume",value:Et}})}H.preventDefault();break}case Ie.ArrowDown:{const Oe=v,dt=se.controls.volumeStepKeyboard,ct=Oe>=0;if(qc(B,Oe,dt),ct){const Et=Math.round(Hc(Oe,dt)*100).toString();E({type:Ye.VOLUME,t:{key:"hotkey_helper_current_volume",value:Et}})}H.preventDefault();break}case Ie.Comma:{if(H.shiftKey){B.actions.internal.decrementPlaybackRate();const Oe=b.find(dt=>dt.value===h);E({type:Ye.RATE_DOWN,text:Oe==null?void 0:Oe.displayValue}),H.preventDefault()}else{if(ot||l!==et.PlaybackState.PAUSED)break;const Oe=Math.max(d-se.controls.seekStepFrame/1e3,0);d>0&&(E({type:Ye.BACKWARD_SEEK}),B.actions.internal.clearDelayedBufferingCheckTimeout(),B.actions.internal.seekTime(Oe,Pt.SeekAction.DOUBLE_TAP),H.preventDefault())}break}case Ie.Period:{if(H.shiftKey){B.actions.internal.incrementPlaybackRate();const Oe=b.find(dt=>dt.value===h);E({type:Ye.RATE_UP,text:Oe==null?void 0:Oe.displayValue}),H.preventDefault()}else{if(ot||l!==et.PlaybackState.PAUSED)break;const Oe=Math.min(d+se.controls.seekStepFrame/1e3,f);d<f&&(E({type:Ye.FORWARD_SEEK}),B.actions.internal.clearDelayedBufferingCheckTimeout(),B.actions.internal.seekTime(Oe,Pt.SeekAction.DOUBLE_TAP),H.preventDefault())}break}case Ie.KeyK:case Ie.Space:if(!c.has(vt.PLAY_BUTTON))if(R)R();else{B.actions.internal.togglePlay();let Oe=Ye.PLAY;l===et.PlaybackState.PAUSED?Oe=Ye.PAUSE:a&&(Oe=Ye.REPLAY),E({type:Oe})}H.preventDefault();break;case Ie.KeyM:{E({type:s?Ye.VOLUME:Ye.MUTE}),B.actions.internal.toggleMuted(),H.preventDefault();break}case Ie.KeyF:C(),H.preventDefault();break;case Ie.KeyC:B.actions.internal.toggleSubtitle(),o.value!=="off"?E({type:Ye.SUBTITLES_ON,text:o==null?void 0:o.displayValue}):E({type:Ye.SUBTITLES_OFF}),H.preventDefault();break;case Ie.KeyI:B.actions.internal.togglePictureInPicture(),H.preventDefault();break;case Ie.Digit1:case Ie.Numpad1:if(H.shiftKey){const Oe=sp(r);be.set(Oe),Me.set(ne),Pe.set(!0),Ne.set(!0),H.preventDefault();break}E(),B.actions.internal.seekToPercent(.1,Pt.SeekAction.DOUBLE_TAP),H.preventDefault();break;case Ie.Digit2:case Ie.Numpad2:E(),B.actions.internal.seekToPercent(.2,Pt.SeekAction.DOUBLE_TAP),H.preventDefault();break;case Ie.Digit3:case Ie.Numpad3:E(),B.actions.internal.seekToPercent(.3,Pt.SeekAction.DOUBLE_TAP),H.preventDefault();break;case Ie.Digit4:case Ie.Numpad4:E(),B.actions.internal.seekToPercent(.4,Pt.SeekAction.DOUBLE_TAP),H.preventDefault();break;case Ie.Digit5:case Ie.Numpad5:E(),B.actions.internal.seekToPercent(.5,Pt.SeekAction.DOUBLE_TAP),H.preventDefault();break;case Ie.Digit6:case Ie.Numpad6:E(),B.actions.internal.seekToPercent(.6,Pt.SeekAction.DOUBLE_TAP),H.preventDefault();break;case Ie.Digit7:case Ie.Numpad7:E(),B.actions.internal.seekToPercent(.7,Pt.SeekAction.DOUBLE_TAP),H.preventDefault();break;case Ie.Digit8:case Ie.Numpad8:E(),B.actions.internal.seekToPercent(.8,Pt.SeekAction.DOUBLE_TAP),H.preventDefault();break;case Ie.Digit9:case Ie.Numpad9:E(),B.actions.internal.seekToPercent(.9,Pt.SeekAction.DOUBLE_TAP),H.preventDefault();break;case Ie.Digit0:case Ie.Numpad0:E(),B.actions.internal.seekToPercent(0,Pt.SeekAction.DOUBLE_TAP),H.preventDefault();break;case Ie.Slash:{H.shiftKey&&se.features.hotKeyMapModal&&(F(),H.preventDefault());break}case Ie.ShiftLeft:case Ie.ShiftRight:H.preventDefault();break;case Ie.Tab:case Ie.Escape:case Ie.Enter:break;default:te.checkNever(Se);break}},me=H=>{const ne=H.code;if(H.ctrlKey||H.altKey||H.metaKey)return;const Ae=l===et.PlaybackState.PLAYING||l===et.PlaybackState.PAUSED,ue=k&&(n===ti.PAUSED||n===ti.PLAYING);if(Ae||ue)switch(ne){case Ie.ShiftLeft:case Ie.ShiftRight:ce=0;break}};function Te(H){ke[H?"unshift":"push"](()=>{Ke=H,i(0,Ke)})}return t.$$set=H=>{"isAds"in H&&i(15,k=H.isAds),"hideContextMenu"in H&&i(16,y=H.hideContextMenu),"toggleFullscreen"in H&&i(17,C=H.toggleFullscreen),"showHotKeyHelpers"in H&&i(18,E=H.showHotKeyHelpers),"showKeyMap"in H&&i(19,F=H.showKeyMap),"fakePlayButtonHandler"in H&&i(20,R=H.fakePlayButtonHandler),"$$scope"in H&&i(22,_=H.$$scope)},[Ke,O,$,J,Q,I,M,ee,L,ie,Le,Ce,Z,Re,me,k,y,C,E,F,R,_e,_,w,Te]}class zp extends ye{constructor(e){super(),we(this,e,Dp,Op,ge,{isAds:15,hideContextMenu:16,toggleFullscreen:17,showHotKeyHelpers:18,showKeyMap:19,fakePlayButtonHandler:20,focus:21},Rp,[-1,-1])}get focus(){return this.$$.ctx[21]}}function Fp(t){We(t,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function Hp(t){let e;return{c(){e=T("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(i,n){P(i,e,n)},p:G,i:G,o:G,d(i){i&&S(e)}}}class jc extends ye{constructor(e){super(),we(this,e,null,Hp,ge,{},Fp)}}function Up(t){let e,i,n,l,r,o,s,a,c,f,d,h,b;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),d=N("feColorMatrix"),h=N("feBlend"),b=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(l,"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(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"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(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2422_111980"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2422_111980"),u(b,"result","shape"),u(o,"id","a"),u(o,"x",".5"),u(o,"y",".5"),u(o,"width","23"),u(o,"height","23"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(v,w){P(v,e,w),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,b)},p:G,i:G,o:G,d(v){v&&S(e)}}}class qp extends ye{constructor(e){super(),we(this,e,null,Up,ge,{})}}function jp(t){We(t,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function Kp(t){let e,i,n,l,r,o,s,a,c,f,d,h;const b=t[14].default,v=Fn(b,t,t[13],null);return{c(){var w,_,k,y,C,E;e=T("button"),v&&v.c(),u(e,"class",i="btn "+t[1]+" v-1anemql"),u(e,"style",n=t[2]||null),e.disabled=l=(w=t[3])!=null?w:null,u(e,"aria-hidden",r=(_=t[5])!=null?_:null),u(e,"aria-label",o=(k=t[6])!=null?k:null),u(e,"aria-keyshortcuts",s=(y=t[7])!=null?y:null),u(e,"aria-expanded",a=(C=t[8])!=null?C:null),u(e,"data-testid",c=(E=t[4])!=null?E:null),u(e,"tabindex",t[9])},m(w,_){P(w,e,_),v&&v.m(e,null),t[16](e),f=!0,d||(h=[pe(e,"pointerdown",at(ii(t[15]))),pe(e,"click",at(ii(function(){Ln(t[10]===te.noop?null:t[10])&&(t[10]===te.noop?null:t[10]).apply(this,arguments)}))),pe(e,"focus",ii(function(){Ln(t[11]===te.noop?null:t[11])&&(t[11]===te.noop?null:t[11]).apply(this,arguments)})),pe(e,"blur",ii(function(){Ln(t[12]===te.noop?null:t[12])&&(t[12]===te.noop?null:t[12]).apply(this,arguments)}))],d=!0)},p(w,[_]){var k,y,C,E,F,R;t=w,v&&v.p&&(!f||_&8192)&&Un(v,b,t,t[13],f?Hn(b,t[13],_,null):qn(t[13]),null),(!f||_&2&&i!==(i="btn "+t[1]+" v-1anemql"))&&u(e,"class",i),(!f||_&4&&n!==(n=t[2]||null))&&u(e,"style",n),(!f||_&8&&l!==(l=(k=t[3])!=null?k:null))&&(e.disabled=l),(!f||_&32&&r!==(r=(y=t[5])!=null?y:null))&&u(e,"aria-hidden",r),(!f||_&64&&o!==(o=(C=t[6])!=null?C:null))&&u(e,"aria-label",o),(!f||_&128&&s!==(s=(E=t[7])!=null?E:null))&&u(e,"aria-keyshortcuts",s),(!f||_&256&&a!==(a=(F=t[8])!=null?F:null))&&u(e,"aria-expanded",a),(!f||_&16&&c!==(c=(R=t[4])!=null?R:null))&&u(e,"data-testid",c),(!f||_&512)&&u(e,"tabindex",t[9])},i(w){f||(m(v,w),f=!0)},o(w){g(v,w),f=!1},d(w){w&&S(e),v&&v.d(w),t[16](null),d=!1,rt(h)}}}function Wp(t,e,i){let{$$slots:n={},$$scope:l}=e,{className:r=""}=e,{style:o=""}=e,{disabled:s=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:d=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:b=void 0}=e,{tabIndex:v=0}=e,{click:w=te.noop}=e,{focus:_=te.noop}=e,{blur:k=te.noop}=e;function y(E){Po.call(this,t,E)}function C(E){ke[E?"unshift":"push"](()=>{d=E,i(0,d)})}return t.$$set=E=>{"className"in E&&i(1,r=E.className),"style"in E&&i(2,o=E.style),"disabled"in E&&i(3,s=E.disabled),"testId"in E&&i(4,a=E.testId),"ariaHidden"in E&&i(5,c=E.ariaHidden),"ariaLabel"in E&&i(6,f=E.ariaLabel),"ref"in E&&i(0,d=E.ref),"ariaKeyShortCut"in E&&i(7,h=E.ariaKeyShortCut),"ariaExpanded"in E&&i(8,b=E.ariaExpanded),"tabIndex"in E&&i(9,v=E.tabIndex),"click"in E&&i(10,w=E.click),"focus"in E&&i(11,_=E.focus),"blur"in E&&i(12,k=E.blur),"$$scope"in E&&i(13,l=E.$$scope)},[d,r,o,s,a,c,f,h,b,v,w,_,k,l,n,y,C]}class Si extends ye{constructor(e){super(),we(this,e,Wp,Kp,ge,{className:1,style:2,disabled:3,testId:4,ariaHidden:5,ariaLabel:6,ref:0,ariaKeyShortCut:7,ariaExpanded:8,tabIndex:9,click:10,focus:11,blur:12},jp)}}function Zp(t){We(t,"v-1witlsj",".modal-overlay.v-1witlsj{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-1witlsj{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-1witlsj{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-1witlsj{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-1witlsj{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-1witlsj::-webkit-scrollbar{width:8px}.modal-scroll.v-1witlsj::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-1witlsj{margin:-8px -4px 0 0}")}function qs(t){let e,i,n,l,r,o=t[2]&&js(t);return{c(){e=T("div"),i=T("h3"),n=ze(t[3]),l=z(),o&&o.c(),u(i,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){P(s,e,a),p(e,i),p(i,n),p(e,l),o&&o.m(e,null),r=!0},p(s,a){(!r||a&8)&&tt(n,s[3]),s[2]?o?(o.p(s,a),a&4&&m(o,1)):(o=js(s),o.c(),m(o,1),o.m(e,null)):o&&(fe(),g(o,1,1,()=>{o=null}),de())},i(s){r||(m(o),r=!0)},o(s){g(o),r=!1},d(s){s&&S(e),o&&o.d()}}}function js(t){let e,i;return e=new Si({props:{click:t[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:Y("hotkey_map_modal_close_btn_text"),$$slots:{default:[Gp]},$$scope:{ctx:t}}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&1&&(r.click=n[0]),l&32&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Gp(t){let e,i;return e=new qp({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Yp(t){let e,i,n,l,r,o,s=t[1]&&qs(t);const a=t[4].default,c=Fn(a,t,t[5],null);return{c(){e=T("div"),i=T("div"),s&&s.c(),n=z(),l=T("div"),r=T("div"),c&&c.c(),u(r,"class","modal-main v-1witlsj"),u(l,"class","modal-scroll v-1witlsj"),u(i,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,d){P(f,e,d),p(e,i),s&&s.m(i,null),p(i,n),p(i,l),p(l,r),c&&c.m(r,null),o=!0},p(f,[d]){f[1]?s?(s.p(f,d),d&2&&m(s,1)):(s=qs(f),s.c(),m(s,1),s.m(i,n)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),c&&c.p&&(!o||d&32)&&Un(c,a,f,f[5],o?Hn(a,f[5],d,null):qn(f[5]),null)},i(f){o||(m(s),m(c,f),o=!0)},o(f){g(s),g(c,f),o=!1},d(f){f&&S(e),s&&s.d(),c&&c.d(f)}}}function Qp(t,e,i){let{$$slots:n={},$$scope:l}=e,{onClose:r}=e,{showHeader:o=!0}=e,{showCloseCross:s=!0}=e,{title:a}=e;return t.$$set=c=>{"onClose"in c&&i(0,r=c.onClose),"showHeader"in c&&i(1,o=c.showHeader),"showCloseCross"in c&&i(2,s=c.showCloseCross),"title"in c&&i(3,a=c.title),"$$scope"in c&&i(5,l=c.$$scope)},[r,o,s,a,n,l]}class Xp extends ye{constructor(e){super(),we(this,e,Qp,Yp,ge,{onClose:0,showHeader:1,showCloseCross:2,title:3},Zp)}}const Jp=new Set(["BR"]),Ks=t=>{var e;const i=document.createElement("DIV");i.innerHTML=t;const n=i.querySelectorAll("*");let l=n.length;for(;l--;){const r=n[l],o=r.tagName;Jp.has(o)||(e=r.parentElement)===null||e===void 0||e.removeChild(r)}return i.innerHTML};function xp(t){We(t,"v-quklnq",".hot-key-map.v-quklnq{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-quklnq{border-bottom:1px solid var(--white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-quklnq:last-child{border-bottom:none}.hot-key-map-group-title.v-quklnq{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-quklnq,.hot-key-map-item.v-quklnq{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-quklnq{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-quklnq{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-quklnq{color:var(--white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-quklnq{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-quklnq,.hot-key-map-item-value.v-quklnq{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function Ws(t,e,i){const n=t.slice();return n[5]=e[i].title,n[6]=e[i].items,n}function Zs(t,e,i){const n=t.slice();return n[9]=e[i].description,n[10]=e[i].value,n}function Gs(t){let e,i,n=Ks(t[9])+"",l,r,o=t[10]+"",s,a;return{c(){e=T("li"),i=T("span"),l=z(),r=T("span"),s=ze(o),a=z(),u(i,"class","hot-key-map-item-description v-quklnq"),u(r,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){P(c,e,f),p(e,i),i.innerHTML=n,p(e,l),p(e,r),p(r,s),p(e,a)},p(c,f){f&1&&n!==(n=Ks(c[9])+"")&&(i.innerHTML=n),f&1&&o!==(o=c[10]+"")&&tt(s,o)},d(c){c&&S(e)}}}function Ys(t){let e,i,n=t[5]+"",l,r,o,s,a=Gt(t[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Gs(Zs(t,a,f));return{c(){e=T("div"),i=T("h5"),l=ze(n),r=z(),o=T("ul");for(let f=0;f<c.length;f+=1)c[f].c();s=z(),u(i,"class","hot-key-map-group-title v-quklnq"),u(o,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,d){P(f,e,d),p(e,i),p(i,l),p(e,r),p(e,o);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(o,null);p(e,s)},p(f,d){if(d&1&&n!==(n=f[5]+"")&&tt(l,n),d&1){a=Gt(f[6]);let h;for(h=0;h<a.length;h+=1){const b=Zs(f,a,h);c[h]?c[h].p(b,d):(c[h]=Gs(b),c[h].c(),c[h].m(o,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&S(e),Mn(c,f)}}}function $p(t){let e,i=Gt(t[0].groups),n=[];for(let l=0;l<i.length;l+=1)n[l]=Ys(Ws(t,i,l));return{c(){e=T("div");for(let l=0;l<n.length;l+=1)n[l].c();u(e,"class","hot-key-map v-quklnq")},m(l,r){P(l,e,r);for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(e,null)},p(l,r){if(r&1){i=Gt(l[0].groups);let o;for(o=0;o<i.length;o+=1){const s=Ws(l,i,o);n[o]?n[o].p(s,r):(n[o]=Ys(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(l){l&&S(e),Mn(n,l)}}}function e3(t){let e,i;return e=new Xp({props:{title:t[0].title,onClose:t[2],$$slots:{default:[$p]},$$scope:{ctx:t}}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.title=n[0].title),l&8193&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function t3(t,e,i){let n;const l=Tt(),{data:r,show:o}=l.ui.modals.hotKeyMap;return D(t,r,a=>i(0,n=a)),[n,r,()=>{o.set(!1)}]}class i3 extends ye{constructor(e){super(),we(this,e,t3,e3,ge,{},xp)}}function n3(t){We(t,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function o3(t){let e,i;const n=t[1].default,l=Fn(n,t,t[0],null);return{c(){e=T("div"),l&&l.c(),u(e,"class","pillow v-1oe0j8n")},m(r,o){P(r,e,o),l&&l.m(e,null),i=!0},p(r,[o]){l&&l.p&&(!i||o&1)&&Un(l,n,r,r[0],i?Hn(n,r[0],o,null):qn(r[0]),null)},i(r){i||(m(l,r),i=!0)},o(r){g(l,r),i=!1},d(r){r&&S(e),l&&l.d(r)}}}function l3(t,e,i){let{$$slots:n={},$$scope:l}=e;return t.$$set=r=>{"$$scope"in r&&i(0,l=r.$$scope)},[l,n]}class r3 extends ye{constructor(e){super(),we(this,e,l3,o3,ge,{},n3)}}function s3(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p:G,i:G,o:G,d(l){l&&S(e)}}}class a3 extends ye{constructor(e){super(),we(this,e,null,s3,ge,{})}}function u3(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p:G,i:G,o:G,d(l){l&&S(e)}}}class c3 extends ye{constructor(e){super(),we(this,e,null,u3,ge,{})}}function f3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class d3 extends ye{constructor(e){super(),we(this,e,null,f3,ge,{})}}function m3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class Kc extends ye{constructor(e){super(),we(this,e,null,m3,ge,{})}}function p3(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p:G,i:G,o:G,d(l){l&&S(e)}}}class Wc extends ye{constructor(e){super(),we(this,e,null,p3,ge,{})}}const Io=t=>{switch(t){case et.VideoQuality.Q_720P:return d3;case et.VideoQuality.Q_1080P:return Kc;case et.VideoQuality.Q_1440P:return Wc;case et.VideoQuality.Q_2160P:return a3;case et.VideoQuality.Q_4320P:return c3}};function h3(t){We(t,"v-1fzhlx0",".icon.v-1fzhlx0{display:flex;position:relative;width:24px;height:24px}.icon.v-1fzhlx0 .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-1fzhlx0 .pillow{right:-13px}")}function v3(t){let e,i,n,l,r,o,s=t[1]&&Qs(t);return{c(){e=T("div"),s&&s.c(),i=z(),n=N("svg"),l=N("path"),r=N("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"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(l,"fill","#fff"),u(r,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(r,"fill","#fff"),V(r,"hidden",!!t[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-1fzhlx0"),u(e,"aria-hidden","true"),V(e,"triple",t[2])},m(a,c){P(a,e,c),s&&s.m(e,null),p(e,i),p(e,n),p(n,l),p(n,r),o=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&m(s,1)):(s=Qs(a),s.c(),m(s,1),s.m(e,i)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),(!o||c&2)&&V(r,"hidden",!!a[1]),(!o||c&4)&&V(e,"triple",a[2])},i(a){o||(m(s),o=!0)},o(a){g(s),o=!1},d(a){a&&S(e),s&&s.d()}}}function g3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}function Qs(t){let e,i;return e=new r3({props:{$$slots:{default:[b3]},$$scope:{ctx:t}}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&18&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function b3(t){let e,i,n;var l=t[1];function r(o){return{}}return l&&(e=Nn(l,r())),{c(){e&&W(e.$$.fragment),i=bt()},m(o,s){e&&q(e,o,s),P(o,i,s),n=!0},p(o,s){if(s&2&&l!==(l=o[1])){if(e){fe();const a=e;g(a.$$.fragment,1,0,()=>{j(a,1)}),de()}l?(e=Nn(l,r()),W(e.$$.fragment),m(e.$$.fragment,1),q(e,i.parentNode,i)):e=null}},i(o){n||(e&&m(e.$$.fragment,o),n=!0)},o(o){e&&g(e.$$.fragment,o),n=!1},d(o){o&&S(i),e&&j(e,o)}}}function _3(t){let e,i,n,l;const r=[g3,v3],o=[];function s(a,c){return a[0]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=bt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){g(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function w3(t,e,i){let n,{isMobile:l=!1}=e,{currentQuality:r=void 0}=e,o;return t.$$set=s=>{"isMobile"in s&&i(0,l=s.isMobile),"currentQuality"in s&&i(3,r=s.currentQuality)},t.$$.update=()=>{t.$$.dirty&8&&i(1,n=Io(r)),t.$$.dirty&2&&i(2,o=!!n&&[Kc,Wc].includes(n))},[l,n,o,r]}class Zc extends ye{constructor(e){super(),we(this,e,w3,_3,ge,{isMobile:0,currentQuality:3},h3)}}function y3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class Gc extends ye{constructor(e){super(),we(this,e,null,y3,ge,{})}}function k3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(i,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class C3 extends ye{constructor(e){super(),we(this,e,null,k3,ge,{})}}function S3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(i,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class P3 extends ye{constructor(e){super(),we(this,e,null,S3,ge,{})}}function T3(t){let e,i,n,l;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),u(n,"d","M0 0h24v24H0z"),u(l,"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(l,"fill","#fff"),u(l,"fill-rule","nonzero"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(r,o){P(r,e,o),p(e,i),p(i,n),p(i,l)},p:G,i:G,o:G,d(r){r&&S(e)}}}class E3 extends ye{constructor(e){super(),we(this,e,null,T3,ge,{})}}function A3(t){We(t,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function I3(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),u(i,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(i,"fill",t[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),V(e,"reverted",t[2])},m(l,r){P(l,e,r),p(e,i)},p(l,r){r&1&&u(i,"fill",l[0]),r&4&&n!==(n=l[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),r&4&&V(e,"reverted",l[2])},d(l){l&&S(e)}}}function L3(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(i,"fill",t[0]),u(i,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),V(e,"reverted",t[2])},m(l,r){P(l,e,r),p(e,i)},p(l,r){r&1&&u(i,"fill",l[0]),r&4&&n!==(n=l[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),r&4&&V(e,"reverted",l[2])},d(l){l&&S(e)}}}function M3(t){let e;function i(r,o){return r[1]?L3:I3}let n=i(t),l=n(t);return{c(){l.c(),e=bt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,[o]){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:G,o:G,d(r){r&&S(e),l.d(r)}}}function V3(t,e,i){let{direction:n="left"}=e,{color:l="#fff"}=e,r,o;return t.$$set=s=>{"direction"in s&&i(3,n=s.direction),"color"in s&&i(0,l=s.color)},t.$$.update=()=>{t.$$.dirty&8&&(i(1,r=["up","down"].includes(n)),i(2,o=["right","down"].includes(n)))},[l,r,o,n]}class $n extends ye{constructor(e){super(),we(this,e,V3,M3,ge,{direction:3,color:0},A3)}}function B3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class N3 extends ye{constructor(e){super(),we(this,e,null,B3,ge,{})}}function R3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(i,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class Zo extends ye{constructor(e){super(),we(this,e,null,R3,ge,{})}}function O3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class D3 extends ye{constructor(e){super(),we(this,e,null,O3,ge,{})}}function z3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class F3 extends ye{constructor(e){super(),we(this,e,null,z3,ge,{})}}function H3(t){We(t,"v-5r0p3","ul.v-5r0p3.v-5r0p3{margin:0;padding:0}.menu.v-5r0p3.v-5r0p3{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s}.container-mobile.v-5r0p3.v-5r0p3{width:100%}.menu-desktop.v-5r0p3.v-5r0p3{position:absolute;right:0;bottom:0}.menu-mobile.v-5r0p3.v-5r0p3{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-5r0p3.v-5r0p3{display:none}.menu-subList.v-5r0p3.v-5r0p3{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-5r0p3.v-5r0p3{min-width:164px}.menu-subList-traffic-saving.v-5r0p3.v-5r0p3{min-width:286px}.item.v-5r0p3.v-5r0p3{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-5r0p3.v-5r0p3{padding:0 14px}.item-quality.item-mobile.v-5r0p3.v-5r0p3,.item-traffic-saving.item-mobile.v-5r0p3.v-5r0p3,.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{flex-direction:row-reverse}.item-helper-text.v-5r0p3.v-5r0p3{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-5r0p3 span.v-5r0p3{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{padding:7px 14px}.item-helper-text.item-mobile.v-5r0p3 span.v-5r0p3{text-align:start}.quality-title-mobile.v-5r0p3.v-5r0p3{flex-grow:1}.item.v-5r0p3.v-5r0p3:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-5r0p3.v-5r0p3:hover{background:var(--mobile-settings-bg)}.menu-subList.v-5r0p3 .item.v-5r0p3{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-5r0p3 .item.v-5r0p3:last-child{margin-bottom:4px}.menu-icon-wrapper.v-5r0p3.v-5r0p3{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-5r0p3.v-5r0p3{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-5r0p3.v-5r0p3{position:relative;opacity:0.7}.menu-valueIcon.v-5r0p3.v-5r0p3{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-5r0p3.v-5r0p3{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-5r0p3 svg,.menu-valueIcon-list.v-5r0p3 svg{color:var(--blue-light)}.menu-divider.v-5r0p3.v-5r0p3{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-5r0p3.v-5r0p3{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-5r0p3.v-5r0p3{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar{width:8px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-5r0p3.v-5r0p3{overflow-y:auto;max-height:160px;text-align:left}.close.v-5r0p3.v-5r0p3{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-5r0p3.v-5r0p3:before,.close.v-5r0p3.v-5r0p3:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-5r0p3.v-5r0p3:before{transform:rotate(45deg)}.close.v-5r0p3.v-5r0p3:after{transform:rotate(-45deg)}")}function Xs(t,e,i){const n=t.slice();return n[142]=e[i],n}function Js(t,e,i){const n=t.slice();return n[145]=e[i],n}function xs(t,e,i){const n=t.slice();return n[148]=e[i],n}function $s(t){let e,i,n,l,r,o,s,a,c,f,d,h=t[8]&&ea(t),b=t[28]&&ta(t),v=t[27]&&na(t),w=t[26]&&oa(t),_=t[25]&&la(t),k=t[24]&&ra(t),y=t[8]&&sa(t);return{c(){e=T("div"),h&&h.c(),i=z(),n=T("ul"),b&&b.c(),l=z(),v&&v.c(),r=z(),w&&w.c(),o=z(),_&&_.c(),s=z(),k&&k.c(),a=z(),y&&y.c(),u(n,"class","items v-5r0p3"),u(n,"role","menu"),V(n,"items-mobile",t[8]),u(e,"class","menu v-5r0p3"),V(e,"menu-desktop",!t[8]),V(e,"menu-mobile",t[8]),V(e,"hidden",!t[15])},m(C,E){P(C,e,E),h&&h.m(e,null),p(e,i),p(e,n),b&&b.m(n,null),p(n,l),v&&v.m(n,null),p(n,r),w&&w.m(n,null),p(n,o),_&&_.m(n,null),p(n,s),k&&k.m(n,null),p(n,a),y&&y.m(n,null),t[116](n),c=!0,f||(d=[pe(e,"keydown",t[79]),pe(e,"mouseenter",t[73]),pe(e,"mouseleave",t[74])],f=!0)},p(C,E){C[8]?h?h.p(C,E):(h=ea(C),h.c(),h.m(e,i)):h&&(h.d(1),h=null),C[28]?b?(b.p(C,E),E[0]&268435456&&m(b,1)):(b=ta(C),b.c(),m(b,1),b.m(n,l)):b&&(fe(),g(b,1,1,()=>{b=null}),de()),C[27]?v?(v.p(C,E),E[0]&134217728&&m(v,1)):(v=na(C),v.c(),m(v,1),v.m(n,r)):v&&(fe(),g(v,1,1,()=>{v=null}),de()),C[26]?w?(w.p(C,E),E[0]&67108864&&m(w,1)):(w=oa(C),w.c(),m(w,1),w.m(n,o)):w&&(fe(),g(w,1,1,()=>{w=null}),de()),C[25]?_?(_.p(C,E),E[0]&33554432&&m(_,1)):(_=la(C),_.c(),m(_,1),_.m(n,s)):_&&(fe(),g(_,1,1,()=>{_=null}),de()),C[24]?k?(k.p(C,E),E[0]&16777216&&m(k,1)):(k=ra(C),k.c(),m(k,1),k.m(n,a)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),C[8]?y?(y.p(C,E),E[0]&256&&m(y,1)):(y=sa(C),y.c(),m(y,1),y.m(n,null)):y&&(fe(),g(y,1,1,()=>{y=null}),de()),(!c||E[0]&256)&&V(n,"items-mobile",C[8]),(!c||E[0]&256)&&V(e,"menu-desktop",!C[8]),(!c||E[0]&256)&&V(e,"menu-mobile",C[8]),(!c||E[0]&32768)&&V(e,"hidden",!C[15])},i(C){c||(m(b),m(v),m(w),m(_),m(k),m(y),c=!0)},o(C){g(b),g(v),g(w),g(_),g(k),g(y),c=!1},d(C){C&&S(e),h&&h.d(),b&&b.d(),v&&v.d(),w&&w.d(),_&&_.d(),k&&k.d(),y&&y.d(),t[116](null),f=!1,rt(d)}}}function ea(t){let e,i,n,l,r,o,s,a;return{c(){e=T("div"),i=T("div"),i.textContent=`${Y("submenu_settings")}`,n=z(),l=T("div"),r=z(),o=T("div"),u(l,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),V(e,"item-mobile",t[8]),u(o,"class","menu-divider v-5r0p3")},m(c,f){P(c,e,f),p(e,i),p(e,n),p(e,l),P(c,r,f),P(c,o,f),s||(a=pe(l,"click",at(t[59])),s=!0)},p(c,f){f[0]&256&&V(e,"item-mobile",c[8])},d(c){c&&(S(e),S(r),S(o)),s=!1,a()}}}function ta(t){let e,i,n,l,r,o,s,a,c,f,d,h,b;n=new Zc({});let v=t[36]&&!t[8]&&ia(t);return{c(){e=T("li"),i=T("div"),W(n.$$.fragment),l=z(),r=T("div"),r.textContent=`${Y("menu_quality")}`,o=z(),s=T("div"),a=ze(t[20]),c=z(),v&&v.c(),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_quality",{actual:t[30]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",t[8])},m(w,_){P(w,e,_),p(e,i),q(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),p(s,c),v&&v.m(s,null),t[112](e),d=!0,h||(b=[pe(e,"click",at(t[60])),pe(e,"keydown",t[80])],h=!0)},p(w,_){(!d||_[0]&1048576)&&tt(a,w[20]),w[36]&&!w[8]?v?(v.p(w,_),_[0]&256|_[1]&32&&m(v,1)):(v=ia(w),v.c(),m(v,1),v.m(s,null)):v&&(fe(),g(v,1,1,()=>{v=null}),de()),(!d||_[0]&1073741824&&f!==(f=Y("aria_label_menu_quality",{actual:w[30]})))&&u(e,"aria-label",f),(!d||_[0]&256)&&V(e,"item-mobile",w[8])},i(w){d||(m(n.$$.fragment,w),m(v),d=!0)},o(w){g(n.$$.fragment,w),g(v),d=!1},d(w){w&&S(e),j(n),v&&v.d(),t[112](null),h=!1,rt(b)}}}function ia(t){let e,i,n;var l=t[36];function r(o){return{}}return l&&(i=Nn(l,r())),{c(){e=T("div"),i&&W(i.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(o,s){P(o,e,s),i&&q(i,e,null),n=!0},p(o,s){if(s[1]&32&&l!==(l=o[36])){if(i){fe();const a=i;g(a.$$.fragment,1,0,()=>{j(a,1)}),de()}l?(i=Nn(l,r()),W(i.$$.fragment),m(i.$$.fragment,1),q(i,e,null)):i=null}},i(o){n||(i&&m(i.$$.fragment,o),n=!0)},o(o){i&&g(i.$$.fragment,o),n=!1},d(o){o&&S(e),i&&j(i)}}}function na(t){let e,i,n,l,r,o,s,a,c,f,d,h,b;return n=new E3({}),{c(){e=T("li"),i=T("div"),W(n.$$.fragment),l=z(),r=T("div"),r.textContent=`${Y("menu_playback_rate")}`,o=z(),s=T("div"),a=ze(t[13]),c=ze("x"),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_rate",{actual:t[31]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",t[8])},m(v,w){P(v,e,w),p(e,i),q(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),p(s,c),t[113](e),d=!0,h||(b=[pe(e,"click",at(ii(t[64]))),pe(e,"keydown",t[83])],h=!0)},p(v,w){(!d||w[0]&8192)&&tt(a,v[13]),(!d||w[1]&1&&f!==(f=Y("aria_label_menu_rate",{actual:v[31]})))&&u(e,"aria-label",f),(!d||w[0]&256)&&V(e,"item-mobile",v[8])},i(v){d||(m(n.$$.fragment,v),d=!0)},o(v){g(n.$$.fragment,v),d=!1},d(v){v&&S(e),j(n),t[113](null),h=!1,rt(b)}}}function oa(t){let e,i,n,l,r,o,s,a=t[37].displayValue+"",c,f,d,h,b;return n=new Gc({}),{c(){e=T("li"),i=T("div"),W(n.$$.fragment),l=z(),r=T("div"),r.textContent=`${Y("subtitles_caption")}`,o=z(),s=T("div"),c=ze(a),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_subtitle",{actual:t[37].displayValue})),u(e,"aria-haspopup","true"),V(e,"item-mobile",t[8])},m(v,w){P(v,e,w),p(e,i),q(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,c),t[114](e),d=!0,h||(b=[pe(e,"click",at(t[66])),pe(e,"keydown",t[86])],h=!0)},p(v,w){(!d||w[1]&64)&&a!==(a=v[37].displayValue+"")&&tt(c,a),(!d||w[1]&64&&f!==(f=Y("aria_label_menu_subtitle",{actual:v[37].displayValue})))&&u(e,"aria-label",f),(!d||w[0]&256)&&V(e,"item-mobile",v[8])},i(v){d||(m(n.$$.fragment,v),d=!0)},o(v){g(n.$$.fragment,v),d=!1},d(v){v&&S(e),j(n),t[114](null),h=!1,rt(b)}}}function la(t){let e,i,n,l,r,o,s,a,c,f,d,h;return n=new P3({}),{c(){e=T("li"),i=T("div"),W(n.$$.fragment),l=z(),r=T("div"),r.textContent=`${Y("menu_traffic_saving")}`,o=z(),s=T("div"),a=ze(t[29]),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=Y("aria_label_menu_traffic_saving",{actual:t[29]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",t[8])},m(b,v){P(b,e,v),p(e,i),q(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),t[115](e),f=!0,d||(h=[pe(e,"click",at(t[61])),pe(e,"keydown",t[89])],d=!0)},p(b,v){(!f||v[0]&536870912)&&tt(a,b[29]),(!f||v[0]&536870912&&c!==(c=Y("aria_label_menu_traffic_saving",{actual:b[29]})))&&u(e,"aria-label",c),(!f||v[0]&256)&&V(e,"item-mobile",b[8])},i(b){f||(m(n.$$.fragment,b),f=!0)},o(b){g(n.$$.fragment,b),f=!1},d(b){b&&S(e),j(n),t[115](null),d=!1,rt(h)}}}function ra(t){let e,i,n,l,r,o,s,a;return n=new C3({}),{c(){e=T("li"),i=T("div"),W(n.$$.fragment),l=z(),r=T("div"),r.textContent=`${Y("download_video_caption")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",Y("aria_label_menu_download")),V(e,"item-mobile",t[8])},m(c,f){P(c,e,f),p(e,i),q(n,i,null),p(e,l),p(e,r),o=!0,s||(a=[pe(e,"click",at(t[69])),pe(e,"keydown",t[92])],s=!0)},p(c,f){(!o||f[0]&256)&&V(e,"item-mobile",c[8])},i(c){o||(m(n.$$.fragment,c),o=!0)},o(c){g(n.$$.fragment,c),o=!1},d(c){c&&S(e),j(n),s=!1,rt(a)}}}function sa(t){let e,i,n,l,r,o,s,a,c,f,d,h,b,v,w,_,k=t[39].showSupport&&U3(t);return l=new D3({}),f=new F3({}),{c(){k&&k.c(),e=z(),i=T("li"),n=T("div"),W(l.$$.fragment),r=z(),o=T("div"),o.textContent=`${Y("menu_copy_debug")}`,s=z(),a=T("li"),c=T("div"),W(f.$$.fragment),d=z(),h=T("div"),h.textContent=`${Y("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(o,"class","menu-title v-5r0p3"),u(i,"class","item item-mobile v-5r0p3"),u(i,"role","menuitem"),u(i,"tabindex","0"),u(i,"aria-label",Y("menu_copy_debug")),u(c,"class","menu-icon-wrapper v-5r0p3"),u(h,"class","menu-title v-5r0p3"),u(a,"class","item item-mobile v-5r0p3"),u(a,"role","menuitem"),u(a,"tabindex","0"),u(a,"aria-label",b=t[38]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable"))},m(y,C){k&&k.m(y,C),P(y,e,C),P(y,i,C),p(i,n),q(l,n,null),p(i,r),p(i,o),P(y,s,C),P(y,a,C),p(a,c),q(f,c,null),p(a,d),p(a,h),v=!0,w||(_=[pe(i,"click",at(t[71])),pe(i,"keydown",t[94]),pe(a,"click",at(t[72])),pe(a,"keydown",t[95])],w=!0)},p(y,C){y[39].showSupport&&k.p(y,C),(!v||C[1]&128&&b!==(b=y[38]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",b)},i(y){v||(m(k),m(l.$$.fragment,y),m(f.$$.fragment,y),v=!0)},o(y){g(k),g(l.$$.fragment,y),g(f.$$.fragment,y),v=!1},d(y){y&&(S(e),S(i),S(s),S(a)),k&&k.d(y),j(l),j(f),w=!1,rt(_)}}}function U3(t){let e,i,n,l,r,o,s,a;return n=new N3({}),{c(){e=T("li"),i=T("div"),W(n.$$.fragment),l=z(),r=T("div"),r.textContent=`${Y("menu_report")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item item-mobile v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${Y("menu_report")}. ${Y("aria_label_new_tab_alert")}`)},m(c,f){P(c,e,f),p(e,i),q(n,i,null),p(e,l),p(e,r),o=!0,s||(a=[pe(e,"click",at(t[70])),pe(e,"keydown",t[93])],s=!0)},p:G,i(c){o||(m(n.$$.fragment,c),o=!0)},o(c){g(n.$$.fragment,c),o=!1},d(c){c&&S(e),j(n),s=!1,rt(a)}}}function aa(t){let e,i,n,l,r,o,s,a,c,f,d,h;n=new $n({props:{direction:"left"}});let b=Gt(t[12]),v=[];for(let _=0;_<b.length;_+=1)v[_]=fa(xs(t,b,_));const w=_=>g(v[_],1,1,()=>{v[_]=null});return{c(){e=T("div"),i=T("div"),W(n.$$.fragment),l=z(),r=T("div"),r.textContent=`${Y("submenu_quality")}`,o=z(),s=T("div"),a=z(),c=T("ul");for(let _=0;_<v.length;_+=1)v[_].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),V(i,"item-mobile",t[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[21]),V(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),V(e,"menu-desktop",!t[8]),V(e,"menu-mobile",t[8])},m(_,k){P(_,e,k),p(e,i),q(n,i,null),p(i,l),p(i,r),t[117](i),p(e,o),p(e,s),p(e,a),p(e,c);for(let y=0;y<v.length;y+=1)v[y]&&v[y].m(c,null);t[120](c),f=!0,d||(h=[pe(i,"click",at(t[68])),pe(c,"keydown",t[81])],d=!0)},p(_,k){if((!f||k[0]&256)&&V(i,"item-mobile",_[8]),k[0]&4352|k[2]&1048577){b=Gt(_[12]);let y;for(y=0;y<b.length;y+=1){const C=xs(_,b,y);v[y]?(v[y].p(C,k),m(v[y],1)):(v[y]=fa(C),v[y].c(),m(v[y],1),v[y].m(c,null))}for(fe(),y=b.length;y<v.length;y+=1)w(y);de()}(!f||k[0]&2097152)&&u(c,"style",_[21]),(!f||k[0]&256)&&V(c,"items-mobile",_[8]),(!f||k[0]&256)&&V(e,"menu-desktop",!_[8]),(!f||k[0]&256)&&V(e,"menu-mobile",_[8])},i(_){if(!f){m(n.$$.fragment,_);for(let k=0;k<b.length;k+=1)m(v[k]);f=!0}},o(_){g(n.$$.fragment,_),v=v.filter(Boolean);for(let k=0;k<v.length;k+=1)g(v[k]);f=!1},d(_){_&&S(e),j(n),t[117](null),Mn(v,_),t[120](null),d=!1,rt(h)}}}function ua(t){let e,i,n;return i=new Zo({}),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),q(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),j(i)}}}function ca(t){let e,i,n;var l=Io(t[148].value);function r(o){return{}}return l&&(i=Nn(l,r())),{c(){e=T("div"),i&&W(i.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(o,s){P(o,e,s),i&&q(i,e,null),n=!0},p(o,s){if(s[0]&4096&&l!==(l=Io(o[148].value))){if(i){fe();const a=i;g(a.$$.fragment,1,0,()=>{j(a,1)}),de()}l?(i=Nn(l,r()),W(i.$$.fragment),m(i.$$.fragment,1),q(i,e,null)):i=null}},i(o){n||(i&&m(i.$$.fragment,o),n=!0)},o(o){i&&g(i.$$.fragment,o),n=!1},d(o){o&&S(e),i&&j(i)}}}function fa(t){let e,i,n,l=t[148].displayValue+"",r,o,s=!t[8]&&Io(t[148].value),a,c,f,d,h,b,v=t[148].selected&&ua(),w=s&&ca(t);function _(){return t[118](t[148])}function k(...y){return t[119](t[148],...y)}return{c(){e=T("li"),v&&v.c(),i=z(),n=T("div"),r=ze(l),o=z(),w&&w.c(),a=z(),u(n,"class","v-5r0p3"),V(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",c=t[148].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=t[148].displayValue),V(e,"item-mobile",t[8])},m(y,C){P(y,e,C),v&&v.m(e,null),p(e,i),p(e,n),p(n,r),p(e,o),w&&w.m(e,null),p(e,a),d=!0,h||(b=[pe(e,"click",at(_)),pe(e,"keydown",k)],h=!0)},p(y,C){t=y,t[148].selected?v?C[0]&4096&&m(v,1):(v=ua(),v.c(),m(v,1),v.m(e,i)):v&&(fe(),g(v,1,1,()=>{v=null}),de()),(!d||C[0]&4096)&&l!==(l=t[148].displayValue+"")&&tt(r,l),(!d||C[0]&256)&&V(n,"quality-title-mobile",t[8]),C[0]&4352&&(s=!t[8]&&Io(t[148].value)),s?w?(w.p(t,C),C[0]&4352&&m(w,1)):(w=ca(t),w.c(),m(w,1),w.m(e,a)):w&&(fe(),g(w,1,1,()=>{w=null}),de()),(!d||C[0]&4096&&c!==(c=t[148].value))&&u(e,"data-value",c),(!d||C[0]&4096&&f!==(f=t[148].displayValue))&&u(e,"aria-label",f),(!d||C[0]&256)&&V(e,"item-mobile",t[8])},i(y){d||(m(v),m(w),d=!0)},o(y){g(v),g(w),d=!1},d(y){y&&S(e),v&&v.d(),w&&w.d(),h=!1,rt(b)}}}function da(t){let e,i,n,l,r,o,s,a,c,f,d,h;n=new $n({props:{direction:"left"}});let b=Gt(t[11]),v=[];for(let _=0;_<b.length;_+=1)v[_]=pa(Js(t,b,_));const w=_=>g(v[_],1,1,()=>{v[_]=null});return{c(){e=T("div"),i=T("div"),W(n.$$.fragment),l=z(),r=T("div"),r.textContent=`${Y("submenu_playback_rate")}`,o=z(),s=T("div"),a=z(),c=T("ul");for(let _=0;_<v.length;_+=1)v[_].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),V(i,"item-mobile",t[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[22]),V(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),V(e,"menu-desktop",!t[8]),V(e,"menu-mobile",t[8])},m(_,k){P(_,e,k),p(e,i),q(n,i,null),p(i,l),p(i,r),t[121](i),p(e,o),p(e,s),p(e,a),p(e,c);for(let y=0;y<v.length;y+=1)v[y]&&v[y].m(c,null);t[124](c),f=!0,d||(h=[pe(i,"click",at(t[68])),pe(c,"keydown",t[84])],d=!0)},p(_,k){if((!f||k[0]&256)&&V(i,"item-mobile",_[8]),k[0]&2304|k[2]&8388616){b=Gt(_[11]);let y;for(y=0;y<b.length;y+=1){const C=Js(_,b,y);v[y]?(v[y].p(C,k),m(v[y],1)):(v[y]=pa(C),v[y].c(),m(v[y],1),v[y].m(c,null))}for(fe(),y=b.length;y<v.length;y+=1)w(y);de()}(!f||k[0]&4194304)&&u(c,"style",_[22]),(!f||k[0]&256)&&V(c,"items-mobile",_[8]),(!f||k[0]&256)&&V(e,"menu-desktop",!_[8]),(!f||k[0]&256)&&V(e,"menu-mobile",_[8])},i(_){if(!f){m(n.$$.fragment,_);for(let k=0;k<b.length;k+=1)m(v[k]);f=!0}},o(_){g(n.$$.fragment,_),v=v.filter(Boolean);for(let k=0;k<v.length;k+=1)g(v[k]);f=!1},d(_){_&&S(e),j(n),t[121](null),Mn(v,_),t[124](null),d=!1,rt(h)}}}function ma(t){let e,i,n;return i=new Zo({}),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),q(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),j(i)}}}function pa(t){let e,i,n,l=t[145].displayValue+"",r,o,s,a,c,f,d,h=t[145].selected&&ma();function b(){return t[122](t[145])}function v(...w){return t[123](t[145],...w)}return{c(){e=T("li"),h&&h.c(),i=z(),n=T("div"),r=ze(l),o=z(),u(n,"class","v-5r0p3"),V(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=t[145].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=t[145].displayValue),V(e,"item-mobile",t[8])},m(w,_){P(w,e,_),h&&h.m(e,null),p(e,i),p(e,n),p(n,r),p(e,o),c=!0,f||(d=[pe(e,"click",at(b)),pe(e,"keydown",v)],f=!0)},p(w,_){t=w,t[145].selected?h?_[0]&2048&&m(h,1):(h=ma(),h.c(),m(h,1),h.m(e,i)):h&&(fe(),g(h,1,1,()=>{h=null}),de()),(!c||_[0]&2048)&&l!==(l=t[145].displayValue+"")&&tt(r,l),(!c||_[0]&256)&&V(n,"quality-title-mobile",t[8]),(!c||_[0]&2048&&s!==(s=t[145].value))&&u(e,"data-value",s),(!c||_[0]&2048&&a!==(a=t[145].displayValue))&&u(e,"aria-label",a),(!c||_[0]&256)&&V(e,"item-mobile",t[8])},i(w){c||(m(h),c=!0)},o(w){g(h),c=!1},d(w){w&&S(e),h&&h.d(),f=!1,rt(d)}}}function ha(t){let e,i,n,l,r,o,s,a,c,f,d,h,b,v,w,_,k,y,C,E,F,R,B,se;n=new $n({props:{direction:"left"}});let ae=!t[9]&&va(),O=t[9]&&ga();return{c(){e=T("div"),i=T("div"),W(n.$$.fragment),l=z(),r=T("div"),r.textContent=`${Y("submenu_traffic_saving")}`,o=z(),s=T("div"),a=z(),c=T("ul"),f=T("li"),ae&&ae.c(),d=z(),h=T("div"),h.textContent=`${Y("traffic_saving_disable")}`,b=z(),v=T("li"),O&&O.c(),w=z(),_=T("div"),_.textContent=`${Y("traffic_saving_enable")}`,k=z(),y=T("div"),C=z(),E=T("div"),F=T("span"),F.textContent=`${Y("traffic_saving_helper_text")}`,u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),V(i,"item-mobile",t[8]),u(s,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),V(h,"quality-title-mobile",t[8]),u(f,"class","item item-traffic-saving v-5r0p3"),u(f,"role","menuitem"),u(f,"tabindex","0"),u(f,"aria-label",Y("aria_label_submenu_traffic_saving_off")),V(f,"item-mobile",t[8]),u(_,"class","v-5r0p3"),V(_,"quality-title-mobile",t[8]),u(v,"class","item item-traffic-saving v-5r0p3"),u(v,"role","menuitem"),u(v,"tabindex","0"),u(v,"aria-label",`${Y("aria_label_submenu_traffic_saving_on")}. ${Y("traffic_saving_helper_text")}`),V(v,"item-mobile",t[8]),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[23]),V(c,"items-mobile",t[8]),u(y,"class","menu-divider v-5r0p3"),u(F,"class","v-5r0p3"),u(E,"class","item item-helper-text v-5r0p3"),V(E,"item-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),V(e,"menu-desktop",!t[8]),V(e,"menu-mobile",t[8])},m($,J){P($,e,J),p(e,i),q(n,i,null),p(i,l),p(i,r),t[125](i),p(e,o),p(e,s),p(e,a),p(e,c),p(c,f),ae&&ae.m(f,null),p(f,d),p(f,h),p(c,b),p(c,v),O&&O.m(v,null),p(v,w),p(v,_),t[130](c),p(e,k),p(e,y),p(e,C),p(e,E),p(E,F),R=!0,B||(se=[pe(i,"click",at(t[68])),pe(f,"click",at(t[126])),pe(f,"keydown",t[127]),pe(v,"click",at(t[128])),pe(v,"keydown",t[129]),pe(c,"keydown",t[90])],B=!0)},p($,J){(!R||J[0]&256)&&V(i,"item-mobile",$[8]),$[9]?ae&&(fe(),g(ae,1,1,()=>{ae=null}),de()):ae?J[0]&512&&m(ae,1):(ae=va(),ae.c(),m(ae,1),ae.m(f,d)),(!R||J[0]&256)&&V(h,"quality-title-mobile",$[8]),(!R||J[0]&256)&&V(f,"item-mobile",$[8]),$[9]?O?J[0]&512&&m(O,1):(O=ga(),O.c(),m(O,1),O.m(v,w)):O&&(fe(),g(O,1,1,()=>{O=null}),de()),(!R||J[0]&256)&&V(_,"quality-title-mobile",$[8]),(!R||J[0]&256)&&V(v,"item-mobile",$[8]),(!R||J[0]&8388608)&&u(c,"style",$[23]),(!R||J[0]&256)&&V(c,"items-mobile",$[8]),(!R||J[0]&256)&&V(E,"item-mobile",$[8]),(!R||J[0]&256)&&V(e,"menu-desktop",!$[8]),(!R||J[0]&256)&&V(e,"menu-mobile",$[8])},i($){R||(m(n.$$.fragment,$),m(ae),m(O),R=!0)},o($){g(n.$$.fragment,$),g(ae),g(O),R=!1},d($){$&&S(e),j(n),t[125](null),ae&&ae.d(),O&&O.d(),t[130](null),B=!1,rt(se)}}}function va(t){let e,i,n;return i=new Zo({}),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),q(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),j(i)}}}function ga(t){let e,i,n;return i=new Zo({}),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),q(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),j(i)}}}function ba(t){let e,i,n,l,r,o,s,a,c,f;n=new $n({props:{direction:"left"}});let d=Gt(t[10]),h=[];for(let v=0;v<d.length;v+=1)h[v]=wa(Xs(t,d,v));const b=v=>g(h[v],1,1,()=>{h[v]=null});return{c(){e=T("div"),i=T("div"),W(n.$$.fragment),l=z(),r=T("div"),r.textContent=`${Y("subtitles_caption")}`,o=z(),s=T("ul");for(let v=0;v<h.length;v+=1)h[v].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),V(i,"item-mobile",t[8]),u(s,"class","items v-5r0p3"),u(s,"role","menu"),V(s,"items-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),V(e,"menu-desktop",!t[8]),V(e,"menu-mobile",t[8])},m(v,w){P(v,e,w),p(e,i),q(n,i,null),p(i,l),p(i,r),p(e,o),p(e,s);for(let _=0;_<h.length;_+=1)h[_]&&h[_].m(s,null);t[133](s),a=!0,c||(f=[pe(i,"click",at(t[68])),pe(s,"keydown",t[87])],c=!0)},p(v,w){if((!a||w[0]&256)&&V(i,"item-mobile",v[8]),w[0]&1280|w[2]&67108896){d=Gt(v[10]);let _;for(_=0;_<d.length;_+=1){const k=Xs(v,d,_);h[_]?(h[_].p(k,w),m(h[_],1)):(h[_]=wa(k),h[_].c(),m(h[_],1),h[_].m(s,null))}for(fe(),_=d.length;_<h.length;_+=1)b(_);de()}(!a||w[0]&256)&&V(s,"items-mobile",v[8]),(!a||w[0]&256)&&V(e,"menu-desktop",!v[8]),(!a||w[0]&256)&&V(e,"menu-mobile",v[8])},i(v){if(!a){m(n.$$.fragment,v);for(let w=0;w<d.length;w+=1)m(h[w]);a=!0}},o(v){g(n.$$.fragment,v),h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)g(h[w]);a=!1},d(v){v&&S(e),j(n),Mn(h,v),t[133](null),c=!1,rt(f)}}}function _a(t){let e,i,n;return i=new Zo({}),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),q(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),j(i)}}}function wa(t){let e,i,n,l=t[142].displayValue+"",r,o,s,a,c,f,d,h=t[142].selected&&_a();function b(){return t[131](t[142])}function v(...w){return t[132](t[142],...w)}return{c(){e=T("li"),h&&h.c(),i=z(),n=T("div"),r=ze(l),o=z(),u(n,"class","v-5r0p3"),V(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=t[142].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=t[142].displayValue),V(e,"item-mobile",t[8])},m(w,_){P(w,e,_),h&&h.m(e,null),p(e,i),p(e,n),p(n,r),p(e,o),c=!0,f||(d=[pe(e,"click",at(b)),pe(e,"keydown",v)],f=!0)},p(w,_){t=w,t[142].selected?h?_[0]&1024&&m(h,1):(h=_a(),h.c(),m(h,1),h.m(e,i)):h&&(fe(),g(h,1,1,()=>{h=null}),de()),(!c||_[0]&1024)&&l!==(l=t[142].displayValue+"")&&tt(r,l),(!c||_[0]&256)&&V(n,"quality-title-mobile",t[8]),(!c||_[0]&1024&&s!==(s=t[142].value))&&u(e,"data-value",s),(!c||_[0]&1024&&a!==(a=t[142].displayValue))&&u(e,"aria-label",a),(!c||_[0]&256)&&V(e,"item-mobile",t[8])},i(w){c||(m(h),c=!0)},o(w){g(h),c=!1},d(w){w&&S(e),h&&h.d(),f=!1,rt(d)}}}function q3(t){let e,i,n,l,r,o,s=t[14]&&$s(t),a=t[16]&&aa(t),c=t[17]&&da(t),f=t[19]&&ha(t),d=t[18]&&ba(t);return{c(){e=T("div"),s&&s.c(),i=z(),a&&a.c(),n=z(),c&&c.c(),l=z(),f&&f.c(),r=z(),d&&d.c(),u(e,"class","v-5r0p3"),V(e,"hidden",!t[14]),V(e,"container-mobile",t[8])},m(h,b){P(h,e,b),s&&s.m(e,null),p(e,i),a&&a.m(e,null),p(e,n),c&&c.m(e,null),p(e,l),f&&f.m(e,null),p(e,r),d&&d.m(e,null),o=!0},p(h,b){h[14]?s?(s.p(h,b),b[0]&16384&&m(s,1)):(s=$s(h),s.c(),m(s,1),s.m(e,i)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),h[16]?a?(a.p(h,b),b[0]&65536&&m(a,1)):(a=aa(h),a.c(),m(a,1),a.m(e,n)):a&&(fe(),g(a,1,1,()=>{a=null}),de()),h[17]?c?(c.p(h,b),b[0]&131072&&m(c,1)):(c=da(h),c.c(),m(c,1),c.m(e,l)):c&&(fe(),g(c,1,1,()=>{c=null}),de()),h[19]?f?(f.p(h,b),b[0]&524288&&m(f,1)):(f=ha(h),f.c(),m(f,1),f.m(e,r)):f&&(fe(),g(f,1,1,()=>{f=null}),de()),h[18]?d?(d.p(h,b),b[0]&262144&&m(d,1)):(d=ba(h),d.c(),m(d,1),d.m(e,null)):d&&(fe(),g(d,1,1,()=>{d=null}),de()),(!o||b[0]&16384)&&V(e,"hidden",!h[14]),(!o||b[0]&256)&&V(e,"container-mobile",h[8])},i(h){o||(m(s),m(a),m(c),m(f),m(d),o=!0)},o(h){g(s),g(a),g(c),g(f),g(d),o=!1},d(h){h&&S(e),s&&s.d(),a&&a.d(),c&&c.d(),f&&f.d(),d&&d.d()}}}const $l=18;function j3(t,e,i){let n,l,r,o,s,a,c,f,d,h,b,v,w,_,k,y,C,E,F,R,B,se,ae,O,{ref:$=void 0}=e,{supportLink:J}=e,{playerControlsHeight:Q=0}=e,{returnFocus:I}=e;const M=Tt(),ee=yn(),L=M.state.currentQuality$;D(t,L,le=>i(103,w=le));const ie=M.state.availableQualities$;D(t,ie,le=>i(12,b=le));const Le=M.state.autoQualityLimitingAvailable$;D(t,Le,le=>i(107,C=le));const Pe=M.state.isAutoQualityEnabled$;D(t,Pe,le=>i(104,_=le));const Me=M.state.currentPlaybackRate$;D(t,Me,le=>i(13,v=le));const Ne=M.state.availablePlaybackRates$;D(t,Ne,le=>i(11,d=le));const be=M.state.currentSubtitle$;D(t,be,le=>i(37,ae=le));const Ce=M.state.availableSubtitlesList$;D(t,Ce,le=>i(10,c=le));const Z=M.state.canDownload,ce=M.state.hasMpegSources$;D(t,ce,le=>i(108,E=le));const he=M.ui.settingsMenuVisible;D(t,he,le=>i(14,se=le));const Ke=M.ui.settingsMenuOpenedByKeyboard;D(t,Ke,le=>i(135,l=le));const _e=M.ui.isMobile;D(t,_e,le=>i(8,r=le));const Ee=M.ui.mobileNotReportControlHidden$;D(t,Ee,le=>i(105,k=le));const Re=M.state.canChangePlaybackSpeed$;D(t,Re,le=>i(106,y=le));const me=M.ui.isFullscreen;D(t,me,le=>i(111,B=le));const Te=M.state.trafficSavingEnabled$;D(t,Te,le=>i(9,s=le));const H=M.ui.playerSize;D(t,H,le=>i(110,R=le));const ne=M.ui.debugPanelVisible;D(t,ne,le=>i(38,O=le));const Ae=M.ui.playerSize;D(t,Ae,le=>i(109,F=le));const ue=M.state.isInteractiveTime$,Se=M.actions.internal.downloadVideo,Ze=M.actions.internal.closeSettingsMenu;let it=!0,ut=!1,xe=!1,ot=!1,st=!1,wt=!1;function Oe(){l||I==null||I(),Ze(),wt=!1}function dt(){i(15,it=!1),i(16,ut=!0)}function ct(){i(15,it=!1),i(19,st=!0)}function Et(le){M.actions.internal.setQuality(le),Oe()}function re(le){M.actions.internal.setTrafficSavingEnabled(le),Oe()}function At(){i(15,it=!1),i(17,xe=!0)}function gt(le){M.actions.internal.setPlaybackRate(le),Oe()}function Vt(){i(15,it=!1),i(18,ot=!0)}function ft(le){M.actions.internal.setSubtitle(le),Oe()}function yt(){i(15,it=!0),i(16,ut=!1),i(17,xe=!1),i(18,ot=!1),i(19,st=!1)}function Xe(){Se(),Oe()}function He(){window.open(J,"_blank"),Oe(),M.actions.internal.pause()}function It(){dr(M.actions.internal.getDebugTextData()),Oe()}function xi(){ne.set(!0),Oe()}function Pi(){wt=!0}function Oi(){wt=!1}function ln(le,Je,pt){if(!le)return"...";const Ci=Je.find(mn=>mn.value===le),$t=Ci?Ci.displayValue:le;return pt?le===et.VideoQuality.INVARIANT?Y("auto_quality_invariant"):Y("auto_quality",{actual:$t}):$t}let Yt,Ht,oi,Ot,li,Zi,hi,Ti,ri,vi,Di,Ei,gi,si,zi,Lt,Mt,bi=Ve(!1);D(t,bi,le=>i(102,h=le));let Ai,Dt,mt=Ve(!1);D(t,mt,le=>i(101,f=le));let ai,lt,ui=Ve(!1);D(t,ui,le=>i(100,a=le));let Ii,Li,Wt=Ve(!1);D(t,Wt,le=>i(99,o=le));const Fi=le=>{Dc(le,Ze)},Hi=le=>Ji(this,null,function*(){sl(le,dt,()=>{const Je=b.findIndex(pt=>pt.selected);return Mt.childNodes[Je]})}),Ut=le=>Ji(this,null,function*(){al(le,yt,bi,Ze)}),Mi=(le,Je)=>{on(le,()=>Et(Je))},Vi=le=>Ji(this,null,function*(){sl(le,At,()=>{const Je=d.findIndex(pt=>pt.selected);return Dt.childNodes[Je]})}),Ui=le=>Ji(this,null,function*(){al(le,yt,mt,Ze)}),Gi=(le,Je)=>{on(le,()=>gt(Je))},qt=le=>Ji(this,null,function*(){sl(le,Vt,()=>{const Je=c.findIndex(pt=>pt.selected);return lt.childNodes[Je]})}),Bt=le=>Ji(this,null,function*(){al(le,yt,ui,Ze)}),Qt=(le,Je)=>{on(le,()=>ft(Je))},Bi=le=>Ji(this,null,function*(){sl(le,ct,()=>{const Je=s?2:0;return Li.childNodes[Je]})}),fn=le=>Ji(this,null,function*(){al(le,yt,Wt,Ze)}),ci=(le,Je)=>{on(le,()=>re(Je))},$i=le=>{on(le,()=>Xe())},fi=le=>{on(le,()=>He())},Zt=le=>{on(le,()=>It())},qi=le=>{on(le,()=>xi())};wn(()=>{const le=ue.subscribe(Je=>{Je&&!r&&!wt&&!l&&Oe()});return()=>{le()}});function _i(le){ke[le?"unshift":"push"](()=>{Lt=le,i(4,Lt)})}function ji(le){ke[le?"unshift":"push"](()=>{Ai=le,i(5,Ai)})}function Xt(le){ke[le?"unshift":"push"](()=>{ai=le,i(6,ai)})}function wi(le){ke[le?"unshift":"push"](()=>{Ii=le,i(7,Ii)})}function di(le){ke[le?"unshift":"push"](()=>{$=le,i(0,$)})}function Ki(le){ke[le?"unshift":"push"](()=>{Ht=le,i(1,Ht)})}const mi=le=>Et(le.value),Jt=(le,Je)=>Mi(Je,le.value);function yi(le){ke[le?"unshift":"push"](()=>{Mt=le,i(32,Mt)})}function je(le){ke[le?"unshift":"push"](()=>{oi=le,i(2,oi)})}const Wi=le=>gt(le.value),xt=(le,Je)=>Gi(Je,le.value);function ki(le){ke[le?"unshift":"push"](()=>{Dt=le,i(33,Dt)})}function Be(le){ke[le?"unshift":"push"](()=>{Ot=le,i(3,Ot)})}const dn=()=>re(!1),rn=le=>ci(le,!1),Yi=()=>re(!0),Nt=le=>ci(le,!0);function sn(le){ke[le?"unshift":"push"](()=>{Li=le,i(35,Li)})}const en=le=>ft(le),Qi=(le,Je)=>Qt(Je,le);function tn(le){ke[le?"unshift":"push"](()=>{lt=le,i(34,lt)})}return t.$$set=le=>{"ref"in le&&i(0,$=le.ref),"supportLink"in le&&i(96,J=le.supportLink),"playerControlsHeight"in le&&i(97,Q=le.playerControlsHeight),"returnFocus"in le&&i(98,I=le.returnFocus)},t.$$.update=()=>{var le,Je,pt,Ci;if(t.$$.dirty[0]&16384&&se&&(i(15,it=!0),i(16,ut=!1),i(17,xe=!1),i(18,ot=!1),i(19,st=!1)),t.$$.dirty[3]&1024&&i(36,n=Io(w)),t.$$.dirty[0]&4096|t.$$.dirty[3]&3072&&i(20,Yt=ln(w,b,_)),t.$$.dirty[0]&258|t.$$.dirty[3]&458768)if(r&&B)i(21,li=`max-height: ${Math.round(R.height*.6)}px`);else if(r)i(21,li="");else{const $t=F.height-$l-((le=Ht==null?void 0:Ht.clientHeight)!=null?le:0)-Q;i(21,li=`max-height: ${$t}px; overflow: auto;`)}if(t.$$.dirty[0]&260|t.$$.dirty[3]&65552)if(r)i(22,Zi="");else{const $t=F.height-$l-((Je=oi==null?void 0:oi.clientHeight)!=null?Je:0)-Q;i(22,Zi=`max-height: ${$t}px; overflow: auto;`)}if(t.$$.dirty[0]&264|t.$$.dirty[3]&65552)if(r)i(23,hi="");else{const $t=F.height-$l-((pt=Ot==null?void 0:Ot.clientHeight)!=null?pt:0)-Q;i(23,hi=`max-height: ${$t}px; overflow: auto;`)}t.$$.dirty[3]&36864&&i(24,Ti=Z&&E&&!k),t.$$.dirty[3]&20480&&i(25,ri=ee.features.trafficSaving&&!k&&C),t.$$.dirty[0]&1024|t.$$.dirty[3]&4096&&i(26,vi=c.length>0&&!k),t.$$.dirty[3]&12288&&i(27,Di=!!y&&!k),t.$$.dirty[3]&4096&&i(28,Ei=!k),t.$$.dirty[0]&512&&i(29,gi=Y(s?"traffic_saving_on":"traffic_saving_off")),t.$$.dirty[3]&3072&&i(30,si=_?Y("auto_quality_option"):w),t.$$.dirty[0]&10240&&i(31,zi=(Ci=d.find($t=>$t.value===v))==null?void 0:Ci.displayValue),t.$$.dirty[0]&16|t.$$.dirty[3]&512&&rl(Lt,bi,h),t.$$.dirty[0]&32|t.$$.dirty[3]&256&&rl(Ai,mt,f),t.$$.dirty[0]&64|t.$$.dirty[3]&128&&rl(ai,ui,a),t.$$.dirty[0]&128|t.$$.dirty[3]&64&&rl(Ii,Wt,o)},[$,Ht,oi,Ot,Lt,Ai,ai,Ii,r,s,c,d,b,v,se,it,ut,xe,ot,st,Yt,li,Zi,hi,Ti,ri,vi,Di,Ei,gi,si,zi,Mt,Dt,lt,Li,n,ae,O,ee,L,ie,Le,Pe,Me,Ne,be,Ce,ce,he,Ke,_e,Ee,Re,me,Te,H,ne,Ae,Oe,dt,ct,Et,re,At,gt,Vt,ft,yt,Xe,He,It,xi,Pi,Oi,bi,mt,ui,Wt,Fi,Hi,Ut,Mi,Vi,Ui,Gi,qt,Bt,Qt,Bi,fn,ci,$i,fi,Zt,qi,J,Q,I,o,a,f,h,w,_,k,y,C,E,F,R,B,_i,ji,Xt,wi,di,Ki,mi,Jt,yi,je,Wi,xt,ki,Be,dn,rn,Yi,Nt,sn,en,Qi,tn]}class Yc extends ye{constructor(e){super(),we(this,e,j3,q3,ge,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},H3,[-1,-1,-1,-1,-1])}}function K3(t){We(t,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function W3(t){let e,i,n;return i=new Zc({props:{isMobile:t[3],currentQuality:t[4]}}),{c(){e=T("span"),W(i.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(l,r){P(l,e,r),q(i,e,null),n=!0},p(l,r){const o={};r&8&&(o.isMobile=l[3]),r&16&&(o.currentQuality=l[4]),i.$set(o)},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),j(i)}}}function Z3(t){let e,i,n;function l(o){t[9](o)}let r={className:t[1]?"opened":"",testId:"btn-settings",click:t[8],ariaLabel:t[2],ariaExpanded:t[1],$$slots:{default:[W3]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Si({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"opened":""),s&4&&(a.ariaLabel=o[2]),s&2&&(a.ariaExpanded=o[1]),s&4120&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function G3(t,e,i){let n,l,r,{ref:o=void 0}=e;const s=Tt(),a=s.state.currentQuality$;D(t,a,w=>i(4,r=w));const c=s.ui.settingsMenuVisible;D(t,c,w=>i(1,n=w));const f=s.actions.internal.toggleSettingsMenu,d=s.ui.isMobile;D(t,d,w=>i(3,l=w));let h;function b(w){const _=kr(w);f(_)}function v(w){o=w,i(0,o)}return t.$$set=w=>{"ref"in w&&i(0,o=w.ref)},t.$$.update=()=>{t.$$.dirty&2&&i(2,h=Y(n?"tooltip_settings_on":"tooltip_settings_off"))},[o,n,h,l,r,a,c,d,b,v]}class Pr extends ye{constructor(e){super(),we(this,e,G3,Z3,ge,{ref:0},K3)}}function Y3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class Q3 extends ye{constructor(e){super(),we(this,e,null,Y3,ge,{})}}function X3(t){let e,i;return e=new Gc({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function J3(t){let e,i;return e=new Q3({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function x3(t){let e,i,n,l;const r=[J3,X3],o=[];function s(a,c){return a[0]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=bt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e!==f&&(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),i=o[e],i||(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){g(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function $3(t){let e,i;return e=new Si({props:{testId:"btn-Subtitles",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Fo[Ie.KeyC],$$slots:{default:[x3]},$$scope:{ctx:t}}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,[l]){const r={};l&4&&(r.ariaLabel=n[2]),l&2&&(r.click=n[1]),l&9&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function eh(t,e,i){let{isSubtitlesEnabled:n=!1}=e,{click:l}=e,r;return t.$$set=o=>{"isSubtitlesEnabled"in o&&i(0,n=o.isSubtitlesEnabled),"click"in o&&i(1,l=o.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,r=Y(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,l,r]}class th extends ye{constructor(e){super(),we(this,e,eh,$3,ge,{isSubtitlesEnabled:0,click:1})}}function ih(t){We(t,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function ya(t){let e,i;return{c(){e=T("span"),i=ze(t[3]),u(e,"class","duration v-19o2urr")},m(n,l){P(n,e,l),p(e,i)},p(n,l){l&8&&tt(i,n[3])},d(n){n&&S(e)}}}function nh(t){let e,i,n,l,r=t[2]&&ya(t);return{c(){e=T("div"),i=T("span"),n=ze(t[4]),l=z(),r&&r.c(),u(i,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),V(e,"mobile",t[1])},m(o,s){P(o,e,s),p(e,i),p(i,n),p(e,l),r&&r.m(e,null),t[7](e)},p(o,[s]){s&16&&tt(n,o[4]),o[2]?r?r.p(o,s):(r=ya(o),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&2&&V(e,"mobile",o[1])},i:G,o:G,d(o){o&&S(e),r&&r.d(),t[7](null)}}}function oh(t,e,i){let{isMobile:n=!1}=e,{duration:l}=e,{position:r}=e,{showDuration:o=!0}=e,{ref:s}=e,a,c;function f(d){ke[d?"unshift":"push"](()=>{s=d,i(0,s)})}return t.$$set=d=>{"isMobile"in d&&i(1,n=d.isMobile),"duration"in d&&i(5,l=d.duration),"position"in d&&i(6,r=d.position),"showDuration"in d&&i(2,o=d.showDuration),"ref"in d&&i(0,s=d.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,a=zn(l)),t.$$.dirty&64&&i(4,c=zn(r))},[s,n,o,a,c,l,r,f]}class Qc extends ye{constructor(e){super(),we(this,e,oh,nh,ge,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},ih)}}function lh(t){We(t,"v-1n5yyua",".icon.v-1n5yyua.v-1n5yyua{display:block;width:24px;height:24px}.icon.v-1n5yyua .cross.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .wave1.v-1n5yyua,.icon[data-value='off'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .cross.v-1n5yyua{visibility:visible}.icon[data-value='mid'].v-1n5yyua .wave2.v-1n5yyua,.icon[data-value='min'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}")}function rh(t){let e,i,n,l,r,o;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=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(l,"class","wave1 v-1n5yyua"),u(l,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(r,"class","cross v-1n5yyua"),u(r,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"data-value",t[0]),u(e,"data-testid",o="volume-"+t[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(s,a){P(s,e,a),p(e,i),p(i,n),p(i,l),p(i,r)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&o!==(o="volume-"+s[0]+"-icon")&&u(e,"data-testid",o)},i:G,o:G,d(s){s&&S(e)}}}function sh(t,e,i){let{volume:n=1}=e,{muted:l=!1}=e;const r=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let o;return t.$$set=s=>{"volume"in s&&i(1,n=s.volume),"muted"in s&&i(2,l=s.muted)},t.$$.update=()=>{t.$$.dirty&6&&i(0,o=r(n,l))},[o,n,l]}class Cl extends ye{constructor(e){super(),we(this,e,sh,rh,ge,{volume:1,muted:2},lh)}}function ah(t){let e,i;const n=t[4].default,l=Fn(n,t,t[3],null);return{c(){e=T("div"),l&&l.c(),u(e,"class","overlay")},m(r,o){P(r,e,o),l&&l.m(e,null),t[5](e),i=!0},p(r,[o]){l&&l.p&&(!i||o&8)&&Un(l,n,r,r[3],i?Hn(n,r[3],o,null):qn(r[3]),null)},i(r){i||(m(l,r),i=!0)},o(r){g(l,r),i=!1},d(r){r&&S(e),l&&l.d(r),t[5](null)}}}function uh(t,e,i){let n,{$$slots:l={},$$scope:r}=e;const s=Tt().ui.overlayContainer$;D(t,s,h=>i(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};wn(()=>(f(n),()=>c(n)));function d(h){ke[h?"unshift":"push"](()=>{a=h,i(0,a)})}return t.$$set=h=>{"$$scope"in h&&i(3,r=h.$$scope)},t.$$.update=()=>{t.$$.dirty&4&&f(n)},[a,s,n,r,l,d]}class ch extends ye{constructor(e){super(),we(this,e,uh,ah,ge,{})}}function fh(t){We(t,"v-1jbbzcj",'.tooltip-wrapper.v-1jbbzcj{display:flex;flex-direction:column;min-width:0}.full-width.v-1jbbzcj{width:100%}.tooltip.v-1jbbzcj{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-1jbbzcj{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-1jbbzcj{opacity:1;visibility:visible}.tooltip-pointer.v-1jbbzcj{position:absolute;bottom:0;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}')}function ka(t){let e,i;return e=new ch({props:{$$slots:{default:[dh]},$$scope:{ctx:t}}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&262387&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function dh(t){let e,i,n,l,r,o,s;return{c(){e=T("div"),i=T("div"),n=ze(t[1]),l=z(),r=T("div"),u(i,"class","content v-1jbbzcj"),u(r,"class","tooltip-pointer v-1jbbzcj"),u(r,"style",o=`transform: translate(${t[5]}px, ${t[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",s=`transform: translate(${t[6]}px, ${t[7]}px);`),V(e,"active",t[0])},m(a,c){P(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),t[17](e)},p(a,c){c&2&&tt(n,a[1]),c&32&&o!==(o=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(r,"style",o),c&192&&s!==(s=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",s),c&1&&V(e,"active",a[0])},d(a){a&&S(e),t[17](null)}}}function mh(t){let e,i,n,l,r,o;const s=t[15].default,a=Fn(s,t,t[18],null);let c=t[1]&&ka(t);return{c(){e=T("div"),a&&a.c(),i=z(),c&&c.c(),n=bt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),V(e,"full-width",t[2])},m(f,d){P(f,e,d),a&&a.m(e,null),t[16](e),P(f,i,d),c&&c.m(f,d),P(f,n,d),l=!0,r||(o=[pe(e,"mouseenter",t[11]),pe(e,"mousemove",t[11]),pe(e,"mouseleave",t[12]),pe(e,"mousedown",t[12]),pe(e,"mouseup",t[11])],r=!0)},p(f,[d]){a&&a.p&&(!l||d&262144)&&Un(a,s,f,f[18],l?Hn(s,f[18],d,null):qn(f[18]),null),(!l||d&4)&&V(e,"full-width",f[2]),f[1]?c?(c.p(f,d),d&2&&m(c,1)):(c=ka(f),c.c(),m(c,1),c.m(n.parentNode,n)):c&&(fe(),g(c,1,1,()=>{c=null}),de())},i(f){l||(m(a,f),m(c),l=!0)},o(f){g(a,f),g(c),l=!1},d(f){f&&(S(e),S(i),S(n)),a&&a.d(f),t[16](null),c&&c.d(f),r=!1,rt(o)}}}const ul=5;function ph(t,e,i){let n,l,{$$slots:r={},$$scope:o}=e,{content:s=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:d=!1}=e,h,b,v,w=0,_=ul,k=0,y=0;const C=yn(),E=Tt(),F=E.ui.playerSize;D(t,F,M=>i(21,l=M));const R=E.ui.overlayContainer$;D(t,R,M=>i(20,n=M));const B=E.getLogger().createComponentLog("Tooltip component"),se=()=>{if(!n)return;const M=n.getBoundingClientRect(),ee=h.getBoundingClientRect(),L=ee.width,ie=b.clientWidth,Le=l.width,Pe=(L-ie)/2,Me=ee.left+c-M.left;let Ne=Me+Pe;const be=ee.top+f-M.top;let Ce=ie/2-ul;const Z=Ne<No,ce=Ne+ie>Le-No;Z&&(Ne=No,Ce=Me+ee.width/2-2.5*ul),ce&&(Ne=Le-No-ie,Ce=ee.left-M.left+ee.width/2-Ne-ul),i(6,k=Ne),i(7,y=be),i(5,w=Ce)},ae=()=>{try{if(!n||!h)return;se(),i(0,a=!0)}catch(M){B({message:String(M)})}},O=()=>{i(0,a=!1)},$=()=>{b&&(v||(v=window.setTimeout(ae,C.controls.hideTimeoutTooltips)),a&&ae())},J=()=>{O(),window.clearTimeout(v),v=void 0};bl(()=>window.clearTimeout(v));function Q(M){ke[M?"unshift":"push"](()=>{h=M,i(3,h)})}function I(M){ke[M?"unshift":"push"](()=>{b=M,i(4,b)})}return t.$$set=M=>{"content"in M&&i(1,s=M.content),"active"in M&&i(0,a=M.active),"translateX"in M&&i(13,c=M.translateX),"translateY"in M&&i(14,f=M.translateY),"isFullWidthWrapper"in M&&i(2,d=M.isFullWidthWrapper),"$$scope"in M&&i(18,o=M.$$scope)},[a,s,d,h,b,w,k,y,_,F,R,$,J,c,f,r,Q,I,o]}class Xc extends ye{constructor(e){super(),we(this,e,ph,mh,ge,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},fh)}}function hh(t){We(t,"v-p9r045",".btn-container.v-p9r045{position:relative;display:flex;align-items:center;height:100%;transition:var(--button-hover-transition);will-change:opacity;-webkit-tap-highlight-color:transparent}.w-max.v-p9r045{width:100%;min-width:0}")}function vh(t){let e;const i=t[16].default,n=Fn(i,t,t[21],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&2097152)&&Un(n,i,l,l[21],e?Hn(i,l[21],r,null):qn(l[21]),null)},i(l){e||(m(n,l),e=!0)},o(l){g(n,l),e=!1},d(l){n&&n.d(l)}}}function gh(t){let e,i;return e=new Xc({props:{content:t[9],translateX:t[7],translateY:t[8],isFullWidthWrapper:t[4],$$slots:{default:[bh]},$$scope:{ctx:t}}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&512&&(r.content=n[9]),l&128&&(r.translateX=n[7]),l&256&&(r.translateY=n[8]),l&16&&(r.isFullWidthWrapper=n[4]),l&2097152&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function bh(t){let e;const i=t[16].default,n=Fn(i,t,t[21],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&2097152)&&Un(n,i,l,l[21],e?Hn(i,l[21],r,null):qn(l[21]),null)},i(l){e||(m(n,l),e=!0)},o(l){g(n,l),e=!1},d(l){n&&n.d(l)}}}function _h(t){let e,i,n,l,r,o,s,a,c;const f=[gh,vh],d=[];function h(b,v){return b[3]&&b[5]&&!b[10]?0:1}return i=h(t),n=d[i]=f[i](t),{c(){e=T("div"),n.c(),u(e,"class",l="btn-container "+t[2]+" v-p9r045"),u(e,"aria-hidden",r=t[6]||null),To(()=>t[20].call(e))},m(b,v){P(b,e,v),d[i].m(e,null),t[19](e),o=mr(e,t[20].bind(e)),s=!0,a||(c=[pe(e,"pointerdown",at(ii(t[17]))),pe(e,"click",at(ii(t[18])))],a=!0)},p(b,[v]){let w=i;i=h(b),i===w?d[i].p(b,v):(fe(),g(d[w],1,1,()=>{d[w]=null}),de(),n=d[i],n?n.p(b,v):(n=d[i]=f[i](b),n.c()),m(n,1),n.m(e,null)),(!s||v&4&&l!==(l="btn-container "+b[2]+" v-p9r045"))&&u(e,"class",l),(!s||v&64&&r!==(r=b[6]||null))&&u(e,"aria-hidden",r)},i(b){s||(m(n),s=!0)},o(b){g(n),s=!1},d(b){b&&S(e),d[i].d(),t[19](null),o(),a=!1,rt(c)}}}function wh(t,e,i){let n,l,{$$slots:r={},$$scope:o}=e,{className:s=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:d=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:b=""}=e,{disabledTooltipContent:v=Y("tooltip_button_disabled")}=e,{isAriaHidden:w=!1}=e,{initialTranslateXPx:_=0}=e,{initialTranslateYPx:k=-18}=e;const y=Tt(),C=y.ui.isMobile;D(t,C,O=>i(10,l=O));const E=y.state.graphIsOpened$;D(t,E,O=>i(15,n=O));let F;function R(O){Po.call(this,t,O)}function B(O){Po.call(this,t,O)}function se(O){ke[O?"unshift":"push"](()=>{f=O,i(0,f)})}function ae(){d=this.clientWidth,i(1,d)}return t.$$set=O=>{"className"in O&&i(2,s=O.className),"disabled"in O&&i(13,a=O.disabled),"hasTooltip"in O&&i(3,c=O.hasTooltip),"ref"in O&&i(0,f=O.ref),"width"in O&&i(1,d=O.width),"isFullWidthTooltip"in O&&i(4,h=O.isFullWidthTooltip),"tooltipContent"in O&&i(5,b=O.tooltipContent),"disabledTooltipContent"in O&&i(14,v=O.disabledTooltipContent),"isAriaHidden"in O&&i(6,w=O.isAriaHidden),"initialTranslateXPx"in O&&i(7,_=O.initialTranslateXPx),"initialTranslateYPx"in O&&i(8,k=O.initialTranslateYPx),"$$scope"in O&&i(21,o=O.$$scope)},t.$$.update=()=>{t.$$.dirty&57376&&(a?i(9,F=n?Y("tooltip_disabled_when_graph_on"):v):i(9,F=b))},[f,d,s,c,h,b,w,_,k,F,l,C,E,a,v,n,r,R,B,se,ae,o]}class Kt extends ye{constructor(e){super(),we(this,e,wh,_h,ge,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},hh)}}function yh(t){let e,i,n,l,r;return{c(){e=N("svg"),i=N("rect"),l=N("path"),u(i,"width","20"),u(i,"height","20"),u(i,"rx","10"),u(i,"fill","white"),u(i,"fill-opacity",n=t[0]?1:.24),u(l,"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(l,"fill",r=t[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){P(o,e,s),p(e,i),p(e,l)},p(o,[s]){s&1&&n!==(n=o[0]?1:.24)&&u(i,"fill-opacity",n),s&1&&r!==(r=o[0]?"var(--interactive-episode-complete)":"white")&&u(l,"fill",r)},i:G,o:G,d(o){o&&S(e)}}}function kh(t,e,i){let{completed:n}=e;return t.$$set=l=>{"completed"in l&&i(0,n=l.completed)},[n]}class Jc extends ye{constructor(e){super(),we(this,e,kh,yh,ge,{completed:0})}}function Ch(t){We(t,"v-bklhpe",".interactive-episode-icon.v-bklhpe{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}.interactive-episode-icon.disabled.v-bklhpe{pointer-events:none;opacity:0.4}")}function Sh(t){let e,i,n,l,r;return i=new Jc({props:{completed:!!t[0].completed}}),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${t[0].from+t[0].width/2}%`),To(()=>t[3].call(e)),V(e,"disabled",t[1])},m(o,s){P(o,e,s),q(i,e,null),l=mr(e,t[3].bind(e)),r=!0},p(o,s){const a={};s&1&&(a.completed=!!o[0].completed),i.$set(a),(!r||s&1&&n!==(n=`left: ${o[0].from+o[0].width/2}%`))&&u(e,"style",n),(!r||s&2)&&V(e,"disabled",o[1])},i(o){r||(m(i.$$.fragment,o),r=!0)},o(o){g(i.$$.fragment,o),r=!1},d(o){o&&S(e),j(i),l()}}}function Ph(t){let e,i;return e=new Kt({props:{tooltipContent:Y(t[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished"),initialTranslateXPx:-10,initialTranslateYPx:-10,disabled:t[1],width:t[2]||0,isAriaHidden:!0,isFullWidthTooltip:!1,$$slots:{default:[Sh]},$$scope:{ctx:t}}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.tooltipContent=Y(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),l&2&&(r.disabled=n[1]),l&4&&(r.width=n[2]||0),l&23&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Th(t,e,i){let{videoEpisode:n}=e,{disabled:l}=e,r;function o(){r=this.clientWidth,i(2,r)}return t.$$set=s=>{"videoEpisode"in s&&i(0,n=s.videoEpisode),"disabled"in s&&i(1,l=s.disabled)},[n,l,r,o]}class Eh extends ye{constructor(e){super(),we(this,e,Th,Ph,ge,{videoEpisode:0,disabled:1},Ch)}}function Ah(t){We(t,"v-1h9p3m2",".video-episodes-wrap.v-1h9p3m2{position:absolute;width:100%;height:100%}.video-episode.v-1h9p3m2{position:absolute;height:calc(3 * var(--slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--slider-height) var(--slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-1h9p3m2:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-1h9p3m2,.video-episode-loaded.v-1h9p3m2,.video-episode-filled.v-1h9p3m2{position:absolute;height:var(--slider-height);border-radius:var(--slider-radius)}.video-episode-inner.v-1h9p3m2{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--slider-video-episode-gap));background:var(--slider-bg)}.video-episode-loaded.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}")}function Ca(t,e,i){const n=t.slice();return n[2]=e[i],n}function Sa(t){let e,i,n,l,r,o,s,a,c;return{c(){e=T("div"),i=T("div"),n=T("div"),r=z(),o=T("div"),a=z(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",l=`transform: translateX(${t[2].loadedWidth/t[2].width*100}%)`),u(o,"class","video-episode-filled v-1h9p3m2"),u(o,"style",s=`transform: translateX(${t[2].filledWidth/t[2].width*100}%)`),V(o,"mobile",t[1]),u(i,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${t[2].from}%; width: ${t[2].width}%`),V(e,"mobile",t[1])},m(f,d){P(f,e,d),p(e,i),p(i,n),p(i,r),p(i,o),p(e,a)},p(f,d){d&1&&l!==(l=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",l),d&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(o,"style",s),d&2&&V(o,"mobile",f[1]),d&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),d&2&&V(e,"mobile",f[1])},d(f){f&&S(e)}}}function Ih(t){let e,i=Gt(t[0]),n=[];for(let l=0;l<i.length;l+=1)n[l]=Sa(Ca(t,i,l));return{c(){e=T("div");for(let l=0;l<n.length;l+=1)n[l].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(l,r){P(l,e,r);for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(e,null)},p(l,[r]){if(r&3){i=Gt(l[0]);let o;for(o=0;o<i.length;o+=1){const s=Ca(l,i,o);n[o]?n[o].p(s,r):(n[o]=Sa(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},i:G,o:G,d(l){l&&S(e),Mn(n,l)}}}function Lh(t,e,i){let{videoEpisodes:n=[]}=e,{isMobile:l}=e;return t.$$set=r=>{"videoEpisodes"in r&&i(0,n=r.videoEpisodes),"isMobile"in r&&i(1,l=r.isMobile)},[n,l]}class Mh extends ye{constructor(e){super(),we(this,e,Lh,Ih,ge,{videoEpisodes:0,isMobile:1},Ah)}}function Vh(t){We(t,"v-1golz1y",".interactive-icons.v-1golz1y.v-1golz1y{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-1golz1y.v-1golz1y{top:-10px}.slider.v-1golz1y.v-1golz1y{position:relative;height:var(--slider-height);border-radius:var(--slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-1golz1y.v-1golz1y{cursor:default}.slider.v-1golz1y.v-1golz1y:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--controls-height) / 2 - var(--slider-height)) / 2);height:calc(var(--controls-height) / 2)}.bars.v-1golz1y.v-1golz1y{position:absolute;width:100%;height:100%;border-radius:var(--slider-radius);overflow:hidden;background:var(--slider-bg)}.loaded.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.filled.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}.slider.square.v-1golz1y.v-1golz1y,.slider.square.v-1golz1y>.bars.v-1golz1y,.slider.square.v-1golz1y .loaded.v-1golz1y,.slider.square.v-1golz1y .filled.v-1golz1y{border-radius:unset}.filled.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.filled.ads.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-ads)}.handleWrap.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%}.handle.v-1golz1y.v-1golz1y{position:absolute;width:var(--slider-handle-size);height:var(--slider-handle-size);right:calc(-1 * var(--slider-handle-size) / 2);top:calc((var(--slider-height) - var(--slider-handle-size)) / 2);border-radius:50%;background-color:var(--slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.slider.v-1golz1y:hover .handle.v-1golz1y,.slider-dragging.v-1golz1y .handle.v-1golz1y{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-1golz1y .handle.v-1golz1y{transform:scale(1.3)}.slider-vertical.v-1golz1y.v-1golz1y{position:absolute;left:-8px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.slider.disabled.v-1golz1y.v-1golz1y{cursor:default;pointer-events:none;opacity:0.4}")}function Pa(t,e,i){const n=t.slice();return n[48]=e[i],n}function Ta(t){let e,i,n=Gt(t[21]),l=[];for(let o=0;o<n.length;o+=1)l[o]=Aa(Pa(t,n,o));const r=o=>g(l[o],1,1,()=>{l[o]=null});return{c(){e=T("div");for(let o=0;o<l.length;o+=1)l[o].c();u(e,"class","interactive-icons v-1golz1y"),V(e,"mobile",t[5]),V(e,"hidden",t[5]&&!t[20])},m(o,s){P(o,e,s);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(e,null);i=!0},p(o,s){if(s[0]&2097664){n=Gt(o[21]);let a;for(a=0;a<n.length;a+=1){const c=Pa(o,n,a);l[a]?(l[a].p(c,s),m(l[a],1)):(l[a]=Aa(c),l[a].c(),m(l[a],1),l[a].m(e,null))}for(fe(),a=n.length;a<l.length;a+=1)r(a);de()}(!i||s[0]&32)&&V(e,"mobile",o[5]),(!i||s[0]&1048608)&&V(e,"hidden",o[5]&&!o[20])},i(o){if(!i){for(let s=0;s<n.length;s+=1)m(l[s]);i=!0}},o(o){l=l.filter(Boolean);for(let s=0;s<l.length;s+=1)g(l[s]);i=!1},d(o){o&&S(e),Mn(l,o)}}}function Ea(t){let e,i;return e=new Eh({props:{videoEpisode:t[48],disabled:t[9]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&2097152&&(r.videoEpisode=n[48]),l[0]&512&&(r.disabled=n[9]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Aa(t){let e,i,n=t[48].interactive&&Ea(t);return{c(){n&&n.c(),e=bt()},m(l,r){n&&n.m(l,r),P(l,e,r),i=!0},p(l,r){l[48].interactive?n?(n.p(l,r),r[0]&2097152&&m(n,1)):(n=Ea(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(l){i||(m(n),i=!0)},o(l){g(n),i=!1},d(l){l&&S(e),n&&n.d(l)}}}function Bh(t){let e,i,n,l,r,o;return{c(){e=T("div"),i=T("div"),l=z(),r=T("div"),u(i,"class","loaded v-1golz1y"),u(i,"style",n=`transform: translateX(${t[11]*100}%);`),u(r,"class","filled v-1golz1y"),u(r,"style",o=`transform: translateX(${t[12]*100}%);`),V(r,"active-live",t[4]),V(r,"ads",t[6]),u(e,"class","bars v-1golz1y")},m(s,a){P(s,e,a),p(e,i),p(e,l),p(e,r)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(i,"style",n),a[0]&4096&&o!==(o=`transform: translateX(${s[12]*100}%);`)&&u(r,"style",o),a[0]&16&&V(r,"active-live",s[4]),a[0]&64&&V(r,"ads",s[6])},i:G,o:G,d(s){s&&S(e)}}}function Nh(t){let e,i;return e=new Mh({props:{videoEpisodes:t[21],isMobile:t[5]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&2097152&&(r.videoEpisodes=n[21]),l[0]&32&&(r.isMobile=n[5]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Rh(t){let e,i,n,l,r,o,s,a,c,f,d,h,b,v=t[8]&&Ta(t);const w=[Nh,Bh],_=[];function k(y,C){return y[21].length?0:1}return n=k(t),l=_[n]=w[n](t),{c(){var y;v&&v.c(),e=z(),i=T("div"),l.c(),r=z(),o=T("div"),s=T("div"),u(s,"class","handle v-1golz1y"),V(s,"active-live",t[4]),u(o,"class","handleWrap v-1golz1y"),u(o,"style",a=`transform: translateX(${t[13]*100}%);`),V(o,"hidden",t[10]),u(i,"class",c="slider "+t[0]+" v-1golz1y"),u(i,"aria-label",t[14]),u(i,"aria-valuemin",t[15]),u(i,"aria-valuemax",t[16]),u(i,"aria-valuenow",t[17]),u(i,"aria-valuetext",t[18]),u(i,"role","slider"),u(i,"tabindex","0"),u(i,"data-testid",f=(y=t[1])!=null?y:null),V(i,"disabled",t[9]),V(i,"slider-dragging",t[20]),V(i,"hidden",t[2]),V(i,"slider-vertical",t[3]),V(i,"no-handle",t[10]),V(i,"square",t[7])},m(y,C){v&&v.m(y,C),P(y,e,C),P(y,i,C),_[n].m(i,null),p(i,r),p(i,o),p(o,s),t[42](i),d=!0,h||(b=[pe(i,"pointerdown",ii(t[22])),pe(i,"pointermove",ii(t[23])),pe(i,"pointerup",ii(t[24])),pe(i,"pointerenter",ii(t[25])),pe(i,"pointerleave",ii(t[26])),pe(i,"click",at(te.noop)),pe(i,"wheel",t[27])],h=!0)},p(y,C){var F;y[8]?v?(v.p(y,C),C[0]&256&&m(v,1)):(v=Ta(y),v.c(),m(v,1),v.m(e.parentNode,e)):v&&(fe(),g(v,1,1,()=>{v=null}),de());let E=n;n=k(y),n===E?_[n].p(y,C):(fe(),g(_[E],1,1,()=>{_[E]=null}),de(),l=_[n],l?l.p(y,C):(l=_[n]=w[n](y),l.c()),m(l,1),l.m(i,r)),(!d||C[0]&16)&&V(s,"active-live",y[4]),(!d||C[0]&8192&&a!==(a=`transform: translateX(${y[13]*100}%);`))&&u(o,"style",a),(!d||C[0]&1024)&&V(o,"hidden",y[10]),(!d||C[0]&1&&c!==(c="slider "+y[0]+" v-1golz1y"))&&u(i,"class",c),(!d||C[0]&16384)&&u(i,"aria-label",y[14]),(!d||C[0]&32768)&&u(i,"aria-valuemin",y[15]),(!d||C[0]&65536)&&u(i,"aria-valuemax",y[16]),(!d||C[0]&131072)&&u(i,"aria-valuenow",y[17]),(!d||C[0]&262144)&&u(i,"aria-valuetext",y[18]),(!d||C[0]&2&&f!==(f=(F=y[1])!=null?F:null))&&u(i,"data-testid",f),(!d||C[0]&513)&&V(i,"disabled",y[9]),(!d||C[0]&1048577)&&V(i,"slider-dragging",y[20]),(!d||C[0]&5)&&V(i,"hidden",y[2]),(!d||C[0]&9)&&V(i,"slider-vertical",y[3]),(!d||C[0]&1025)&&V(i,"no-handle",y[10]),(!d||C[0]&129)&&V(i,"square",y[7])},i(y){d||(m(v),m(l),d=!0)},o(y){g(v),g(l),d=!1},d(y){y&&(S(e),S(i)),v&&v.d(y),_[n].d(),t[42](null),h=!1,rt(b)}}}function Oh(t,e,i){let n,l,{className:r=""}=e,{testId:o=void 0}=e,{isHidden:s=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:d=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:b=[]}=e,{withWheelHandler:v=!1}=e,{isInteractive:w=!1}=e,{disabled:_=!1}=e,{hideHandel:k=!1}=e,y,C,{onPointerDown:E=te.noop}=e,{onHandleMove:F=te.noop}=e,{onPointerUp:R=te.noop}=e,{onPointerEnter:B=te.noop}=e,{onPointerMove:se=te.noop}=e,{onPointerLeave:ae=te.noop}=e,{onWheelUp:O=te.noop}=e,{onWheelDown:$=te.noop}=e,{onWheelLeft:J=te.noop}=e,{onWheelRight:Q=te.noop}=e,{loadedProgress:I=0}=e,{filledProgress:M=0}=e,{handleProgress:ee=0}=e,{ariaLabel:L=""}=e,{ariaValueMin:ie=void 0}=e,{ariaValueMax:Le=void 0}=e,{ariaValueNow:Pe=void 0}=e,{ariaValueText:Me=""}=e;const Ne=yn();let be=!1,Ce;function Z(ne){if(be)return;i(20,be=!0),C=y.getBoundingClientRect();const Ae=Re(ne.clientX,ne.clientY);E(Ae),y.setPointerCapture(ne.pointerId)}function ce(ne){const Ae=Re(ne.clientX,ne.clientY),ue=me(ne.clientX);se(Ae,ue,C.width),be&&F(Ae)}function he(ne){if(!be)return;i(20,be=!1);const Ae=Re(ne.clientX,ne.clientY);R(Ae)}function Ke(ne){C=y.getBoundingClientRect();const Ae=Re(ne.clientX,ne.clientY),ue=me(ne.clientX);B(Ae,ue,C.width)}function _e(){ae()}function Ee(ne){v&&(ne.preventDefault(),ne.deltaY<0?O():ne.deltaY>0?$():ne.deltaX>0?Q():J())}function Re(ne,Ae){return a?Math.max(0,Math.min(1,(C.height-(Ae-C.top))/C.height)):Math.min(Math.max(ne-C.x,0),C.width)/C.width}function me(ne){return Math.min(Math.max(ne-C.x,0),C.width)}function Te(ne,Ae){const ue=Ne.features.episodesClustering&&!w?Ne.episodeMinWidthPc:0,Se=[];let Ze=0,it=0,ut=0;for(let st=1;st<b.length;st++)it=b[st].time/Ce*100,it-Ze>ue&&(Se.push({from:Ze,width:Math.max(0,it-Ze),loadedWidth:Math.max(0,Math.min(it,ne)-Ze),filledWidth:Math.max(0,Math.min(it,Ae)-Ze),interactive:b[st-1].interactive,completed:b[st-1].completed}),Ze=b[st].time/Ce*100,ut++);const xe={from:Ze,width:Math.max(0,100-Ze),loadedWidth:Math.max(0,Math.min(ne,100)-Ze),filledWidth:Math.max(0,Math.min(Ae,100)-Ze),interactive:b[ut].interactive,completed:b[ut].completed};100-Ze<ue?(ut-=1,Se[ut].width+=100-Ze,Se[ut].loadedWidth+=Math.max(0,Math.min(ne,100)-Ze),Se[ut].filledWidth+=Math.max(0,Math.min(Ae,100)-Ze)):Se[ut]=xe;const ot=b[0].time;if(ot!==0){const st=ot/Ce*100;Se.unshift({from:0,width:st,loadedWidth:Math.min(st,ne),filledWidth:Math.min(st,Ae)})}return Se}function H(ne){ke[ne?"unshift":"push"](()=>{y=ne,i(19,y)})}return t.$$set=ne=>{"className"in ne&&i(0,r=ne.className),"testId"in ne&&i(1,o=ne.testId),"isHidden"in ne&&i(2,s=ne.isHidden),"isVertical"in ne&&i(3,a=ne.isVertical),"isActiveLive"in ne&&i(4,c=ne.isActiveLive),"isMobile"in ne&&i(5,f=ne.isMobile),"isAds"in ne&&i(6,d=ne.isAds),"squareBorders"in ne&&i(7,h=ne.squareBorders),"videoEpisodes"in ne&&i(28,b=ne.videoEpisodes),"withWheelHandler"in ne&&i(29,v=ne.withWheelHandler),"isInteractive"in ne&&i(8,w=ne.isInteractive),"disabled"in ne&&i(9,_=ne.disabled),"hideHandel"in ne&&i(10,k=ne.hideHandel),"onPointerDown"in ne&&i(30,E=ne.onPointerDown),"onHandleMove"in ne&&i(31,F=ne.onHandleMove),"onPointerUp"in ne&&i(32,R=ne.onPointerUp),"onPointerEnter"in ne&&i(33,B=ne.onPointerEnter),"onPointerMove"in ne&&i(34,se=ne.onPointerMove),"onPointerLeave"in ne&&i(35,ae=ne.onPointerLeave),"onWheelUp"in ne&&i(36,O=ne.onWheelUp),"onWheelDown"in ne&&i(37,$=ne.onWheelDown),"onWheelLeft"in ne&&i(38,J=ne.onWheelLeft),"onWheelRight"in ne&&i(39,Q=ne.onWheelRight),"loadedProgress"in ne&&i(11,I=ne.loadedProgress),"filledProgress"in ne&&i(12,M=ne.filledProgress),"handleProgress"in ne&&i(13,ee=ne.handleProgress),"ariaLabel"in ne&&i(14,L=ne.ariaLabel),"ariaValueMin"in ne&&i(15,ie=ne.ariaValueMin),"ariaValueMax"in ne&&i(16,Le=ne.ariaValueMax),"ariaValueNow"in ne&&i(17,Pe=ne.ariaValueNow),"ariaValueText"in ne&&i(18,Me=ne.ariaValueText)},t.$$.update=()=>{var ne;t.$$.dirty[0]&65536&&i(40,Ce=Le!=null?Le:0),t.$$.dirty[0]&268435456|t.$$.dirty[1]&512&&i(41,n=((ne=b[b.length-1])==null?void 0:ne.time)<Ce),t.$$.dirty[0]&268441600|t.$$.dirty[1]&1536&&i(21,l=b.length&&n&&Ce?Te(I*100,M*100):[])},[r,o,s,a,c,f,d,h,w,_,k,I,M,ee,L,ie,Le,Pe,Me,y,be,l,Z,ce,he,Ke,_e,Ee,b,v,E,F,R,B,se,ae,O,$,J,Q,Ce,n,H]}class Tr extends ye{constructor(e){super(),we(this,e,Oh,Rh,ge,{className:0,testId:1,isHidden:2,isVertical:3,isActiveLive:4,isMobile:5,isAds:6,squareBorders:7,videoEpisodes:28,withWheelHandler:29,isInteractive:8,disabled:9,hideHandel:10,onPointerDown:30,onHandleMove:31,onPointerUp:32,onPointerEnter:33,onPointerMove:34,onPointerLeave:35,onWheelUp:36,onWheelDown:37,onWheelLeft:38,onWheelRight:39,loadedProgress:11,filledProgress:12,handleProgress:13,ariaLabel:14,ariaValueMin:15,ariaValueMax:16,ariaValueNow:17,ariaValueText:18},Vh,[-1,-1])}}const An=(t,e)=>Ao[t]>=Ao[e],Dh=(t,e)=>Ao[t]<Ao[e],xc=(t,e)=>Ao[t]<=Ao[e],zh=t=>t>yo.L?exports.GridTypes.XL:t>yo.M?exports.GridTypes.L:t>yo.S?exports.GridTypes.M:t>yo.XS?exports.GridTypes.S:exports.GridTypes.XS;function Fh(t){We(t,"v-1l78lz9",".volumeBar-container.v-1l78lz9{display:flex;align-items:center}.volumeBar-container.vertical.v-1l78lz9,.vertical.v-1l78lz9 .tooltip-wrapper,.vertical.v-1l78lz9 .btn{width:40px}.volumeBar.v-1l78lz9{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1l78lz9{padding:0 8px 0 0;width:0}")}function Hh(t){let e,i;return e=new Cl({props:{volume:t[3],muted:t[1]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&8&&(r.volume=n[3]),l[0]&2&&(r.muted=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Uh(t){let e,i;return e=new Si({props:{className:"btn-full-opacity",disabled:t[9],testId:t[2]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:t[7],click:t[0],ariaKeyShortCut:Fo[Ie.KeyM],$$slots:{default:[Hh]},$$scope:{ctx:t}}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&512&&(r.disabled=n[9]),l[0]&4&&(r.testId=n[2]?"btn-volume-vertical":"btn-volume-horizontal"),l[0]&128&&(r.ariaLabel=n[7]),l[0]&1&&(r.click=n[0]),l[0]&10|l[1]&32&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Ia(t){let e,i,n;return i=new Tr({props:{className:t[2]?"volumeBar-slider-vertical":"",isHidden:t[2]&&!t[5],isVertical:t[2],withWheelHandler:!0,onWheelUp:t[15],onWheelDown:t[16],onPointerDown:t[14],onHandleMove:t[17],onPointerUp:t[18],onPointerEnter:t[2]?t[19]:te.noop,onPointerLeave:t[2]?t[20]:te.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(t[8]*100),ariaValueText:`${Math.round(t[8]*100)}%`,filledProgress:t[8],handleProgress:t[8],testId:t[2]?"volume-slider-vertical":"volume-slider"}}),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),V(e,"volumeBar-vertical",t[2])},m(l,r){P(l,e,r),q(i,e,null),n=!0},p(l,r){const o={};r[0]&4&&(o.className=l[2]?"volumeBar-slider-vertical":""),r[0]&36&&(o.isHidden=l[2]&&!l[5]),r[0]&4&&(o.isVertical=l[2]),r[0]&4&&(o.onPointerEnter=l[2]?l[19]:te.noop),r[0]&4&&(o.onPointerLeave=l[2]?l[20]:te.noop),r[0]&256&&(o.ariaValueNow=Math.round(l[8]*100)),r[0]&256&&(o.ariaValueText=`${Math.round(l[8]*100)}%`),r[0]&256&&(o.filledProgress=l[8]),r[0]&256&&(o.handleProgress=l[8]),r[0]&4&&(o.testId=l[2]?"volume-slider-vertical":"volume-slider"),i.$set(o),(!n||r[0]&4)&&V(e,"volumeBar-vertical",l[2])},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),j(i)}}}function qh(t){let e,i,n,l,r,o;i=new Xc({props:{content:t[6],translateY:-18,$$slots:{default:[Uh]},$$scope:{ctx:t}}});let s=t[4]&&Ia(t);return{c(){e=T("div"),W(i.$$.fragment),n=z(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),V(e,"vertical",t[2])},m(a,c){P(a,e,c),q(i,e,null),p(e,n),s&&s.m(e,null),l=!0,r||(o=[pe(e,"mouseenter",function(){Ln(t[2]?t[21]:te.noop)&&(t[2]?t[21]:te.noop).apply(this,arguments)}),pe(e,"mouseleave",function(){Ln(t[2]?t[22]:te.noop)&&(t[2]?t[22]:te.noop).apply(this,arguments)}),pe(e,"wheel",ii(t[23]))],r=!0)},p(a,c){t=a;const f={};c[0]&64&&(f.content=t[6]),c[0]&655|c[1]&32&&(f.$$scope={dirty:c,ctx:t}),i.$set(f),t[4]?s?(s.p(t,c),c[0]&16&&m(s,1)):(s=Ia(t),s.c(),m(s,1),s.m(e,null)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),(!l||c[0]&4)&&V(e,"vertical",t[2])},i(a){l||(m(i.$$.fragment,a),m(s),l=!0)},o(a){g(i.$$.fragment,a),g(s),l=!1},d(a){a&&S(e),j(i),s&&s.d(),r=!1,rt(o)}}}function jh(t,e,i){var be,Ce;let n,l,r,o,{click:s}=e;const a=Tt(),c=yn(),f=a.state.volume$;D(t,f,Z=>i(3,n=Z));const d=a.state.muted$;D(t,d,Z=>i(25,o=Z));const h=a.actions.internal.setVolume,b=a.ui.currentGridType$;D(t,b,Z=>i(24,r=Z));const v=(be=a.callbacks)==null?void 0:be.onAudioDoesNotExistHint,w=(Ce=a.callbacks)==null?void 0:Ce.onAudioDisabledHint,_=a.state.isAudioAvailable$;D(t,_,Z=>i(4,l=Z));const k=a.state.isAudioDisabled;let y=!1,C,E,F,R,B,se,ae=1,O=!1,$=!1;function J(Z){ae=n,h(Z)}function Q(){Uc(a,n,c.controls.volumeStepWheel)}function I(){qc(a,n,c.controls.volumeStepWheel)}function M(Z){h(Z)}function ee(Z){const ce=Z;h(ce,ce===0?ae:ce)}function L(){O=!0}function ie(){O=!1,Me()}function Le(){clearTimeout(C),i(5,y=!0)}function Pe(){Me()}function Me(){C=window.setTimeout(()=>{O||i(5,y=!1)},c.controls.volumeBarTimeout)}function Ne(Z){Z.deltaY<0?Q():Z.deltaY>0&&I()}return t.$$set=Z=>{"click"in Z&&i(0,s=Z.click)},t.$$.update=()=>{t.$$.dirty[0]&33554448&&i(1,R=!l||o),t.$$.dirty[0]&16777216&&i(2,B=xc(r,exports.GridTypes.S)),t.$$.dirty[0]&6&&(B?i(6,E=""):i(6,E=Y(R?"tooltip_volume":"tooltip_volume_muted")),i(7,F=Y(R?"tooltip_volume":"tooltip_volume_muted"))),t.$$.dirty[0]&10&&i(8,se=R?0:n),t.$$.dirty[0]&16&&i(9,$=k&&!w||!l&&!v)},[s,R,B,n,l,y,E,F,se,$,f,d,b,_,J,Q,I,M,ee,L,ie,Le,Pe,Ne,r,o]}class Kh extends ye{constructor(e){super(),we(this,e,jh,qh,ge,{click:0},Fh,[-1,-1])}}function Wh(t){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(i,n){P(i,e,n)},d(i){i&&S(e)}}}function Zh(t){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(i,n){P(i,e,n)},d(i){i&&S(e)}}}function Gh(t){let e,i,n;function l(s,a){return s[0]?Zh:Wh}let r=l(t),o=r(t);return{c(){e=N("svg"),i=N("g"),o.c(),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(s,a){P(s,e,a),p(e,i),o.m(i,null)},p(s,[a]){r!==(r=l(s))&&(o.d(1),o=r(s),o&&(o.c(),o.m(i,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&&S(e),o.d()}}}function Yh(t,e,i){let{isFullscreen:n=!1}=e;return t.$$set=l=>{"isFullscreen"in l&&i(0,n=l.isFullscreen)},[n]}class Qh extends ye{constructor(e){super(),we(this,e,Yh,Gh,ge,{isFullscreen:0})}}function Xh(t){let e,i;return e=new Qh({props:{isFullscreen:t[0]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&1&&(r.isFullscreen=n[0]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Jh(t){let e,i;return e=new Si({props:{testId:"btn-fullscreen",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Fo[Ie.KeyF],$$slots:{default:[Xh]},$$scope:{ctx:t}}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,[l]){const r={};l&4&&(r.ariaLabel=n[2]),l&2&&(r.click=n[1]),l&9&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function xh(t,e,i){let{isFullscreen:n=!1}=e,{click:l=te.noop}=e,r;return t.$$set=o=>{"isFullscreen"in o&&i(0,n=o.isFullscreen),"click"in o&&i(1,l=o.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,r=Y(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,l,r]}class $c extends ye{constructor(e){super(),we(this,e,xh,Jh,ge,{isFullscreen:0,click:1})}}function $h(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class Er extends ye{constructor(e){super(),we(this,e,null,$h,ge,{})}}function ev(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class ef extends ye{constructor(e){super(),we(this,e,null,ev,ge,{})}}function tv(t){We(t,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function La(t){let e;return{c(){e=T("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){P(i,e,n)},d(i){i&&S(e)}}}function iv(t){let e,i,n,l,r=t[1]&&La();var o=t[8];function s(a){return{}}return o&&(n=Nn(o,s())),{c(){r&&r.c(),e=z(),i=T("div"),n&&W(n.$$.fragment),u(i,"class","v-1ot3duq"),V(i,"mobile",t[1])},m(a,c){r&&r.m(a,c),P(a,e,c),P(a,i,c),n&&q(n,i,null),l=!0},p(a,c){if(a[1]?r||(r=La(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),c&256&&o!==(o=a[8])){if(n){fe();const f=n;g(f.$$.fragment,1,0,()=>{j(f,1)}),de()}o?(n=Nn(o,s()),W(n.$$.fragment),m(n.$$.fragment,1),q(n,i,null)):n=null}(!l||c&2)&&V(i,"mobile",a[1])},i(a){l||(n&&m(n.$$.fragment,a),l=!0)},o(a){n&&g(n.$$.fragment,a),l=!1},d(a){a&&(S(e),S(i)),r&&r.d(a),n&&j(n)}}}function nv(t){let e,i,n;function l(o){t[13](o)}let r={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-play",click:t[5]?t[6]:t[4],disabled:t[2],ariaLabel:t[7],ariaKeyShortCut:Fo[Ie.KeyK],$$slots:{default:[iv]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Si({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,[s]){const a={};s&10&&(a.className=(o[1]?"btn-m--play":"")+" "+o[3]),s&112&&(a.click=o[5]?o[6]:o[4]),s&4&&(a.disabled=o[2]),s&128&&(a.ariaLabel=o[7]),s&33026&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function ov(t,e,i){let n,l;const{fakeIsPlaying$:r}=Ho();D(t,r,y=>i(12,l=y));let{ref:o=void 0}=e,{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:d=te.noop}=e;const{toggle:h}=r;let b,v,w,_;function k(y){o=y,i(0,o)}return t.$$set=y=>{"ref"in y&&i(0,o=y.ref),"isMobile"in y&&i(1,s=y.isMobile),"isPlaying"in y&&i(10,a=y.isPlaying),"disabled"in y&&i(2,c=y.disabled),"className"in y&&i(3,f=y.className),"click"in y&&i(4,d=y.click)},t.$$.update=()=>{t.$$.dirty&4096&&i(5,v=l!==null),t.$$.dirty&5152&&i(11,w=v?l:a),t.$$.dirty&2048&&i(7,_=Y(w?"tooltip_pause":"tooltip_play")),t.$$.dirty&2048&&i(8,n=w?ef:Er)},i(6,b=h),[o,s,c,f,d,v,b,_,n,r,a,w,l,k]}class Ar extends ye{constructor(e){super(),we(this,e,ov,nv,ge,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},tv)}}function lv(t){We(t,"v-mb3pjo",".prev.v-mb3pjo{transform:scaleX(-1)}.mobile.v-mb3pjo{transform:scale(1.3333)}.mobile.prev.v-mb3pjo{transform:scaleX(-1) scale(1.3333)}")}function rv(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),u(i,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(i,"fill","#fff"),u(e,"data-testid",n=t[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),V(e,"prev",t[0]),V(e,"mobile",t[1])},m(l,r){P(l,e,r),p(e,i)},p(l,[r]){r&1&&n!==(n=l[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),r&1&&V(e,"prev",l[0]),r&2&&V(e,"mobile",l[1])},i:G,o:G,d(l){l&&S(e)}}}function sv(t,e,i){let{isPrev:n=!1}=e,{isMobile:l=!1}=e;return t.$$set=r=>{"isPrev"in r&&i(0,n=r.isPrev),"isMobile"in r&&i(1,l=r.isMobile)},[n,l]}class av extends ye{constructor(e){super(),we(this,e,sv,rv,ge,{isPrev:0,isMobile:1},lv)}}function uv(t){let e,i;return e=new av({props:{isMobile:t[1],isPrev:t[3]==="prev"}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isMobile=n[1]),l&8&&(r.isPrev=n[3]==="prev"),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function cv(t){let e,i,n;function l(o){t[6](o)}let r={testId:"btn-"+t[3],disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[uv]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Si({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,[s]){const a={};s&8&&(a.testId="btn-"+o[3]),s&4&&(a.disabled=o[2]),s&32&&(a.ariaLabel=o[5]),s&16&&(a.click=o[4]),s&138&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function fv(t,e,i){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{disabled:r=!1}=e,{type:o}=e,{click:s}=e,a;function c(f){n=f,i(0,n)}return t.$$set=f=>{"ref"in f&&i(0,n=f.ref),"isMobile"in f&&i(1,l=f.isMobile),"disabled"in f&&i(2,r=f.disabled),"type"in f&&i(3,o=f.type),"click"in f&&i(4,s=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=Y(o==="prev"?"tooltip_previous":"tooltip_next"))},[n,l,r,o,s,a,c]}class Sl extends ye{constructor(e){super(),we(this,e,fv,cv,ge,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function dv(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class mv extends ye{constructor(e){super(),we(this,e,null,dv,ge,{})}}function pv(t){We(t,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function Ma(t){let e,i,n,l,r,o,s;return{c(){e=N("path"),i=N("path"),n=N("path"),l=N("path"),r=N("path"),o=N("path"),s=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(i,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(i,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(l,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(l,"fill","white"),u(r,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(r,"fill","white"),u(o,"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(o,"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){P(a,e,c),P(a,i,c),P(a,n,c),P(a,l,c),P(a,r,c),P(a,o,c),P(a,s,c)},d(a){a&&(S(e),S(i),S(n),S(l),S(r),S(o),S(s))}}}function hv(t){let e,i,n,l=!t[0]&&Ma();return{c(){e=N("svg"),i=N("path"),l&&l.c(),u(i,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(i,"fill","white"),u(e,"width",t[2]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(t[2]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",t[3]),u(e,"class","v-1bbobod"),V(e,"mobile",t[1])},m(r,o){P(r,e,o),p(e,i),l&&l.m(e,null)},p(r,[o]){r[0]?l&&(l.d(1),l=null):l||(l=Ma(),l.c(),l.m(e,null)),o&4&&u(e,"width",r[2]),o&4&&n!==(n="0 0 "+(r[2]+1)+" 20")&&u(e,"viewBox",n),o&8&&u(e,"data-testid",r[3]),o&2&&V(e,"mobile",r[1])},i:G,o:G,d(r){r&&S(e),l&&l.d()}}}function vv(t,e,i){let{short:n=!1}=e,{isMobile:l=!1}=e,r,o;return t.$$set=s=>{"short"in s&&i(0,n=s.short),"isMobile"in s&&i(1,l=s.isMobile)},t.$$.update=()=>{t.$$.dirty&1&&(i(2,r=n?20:93),i(3,o=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,l,r,o]}class gv extends ye{constructor(e){super(),we(this,e,vv,hv,ge,{short:0,isMobile:1},pv)}}function bv(t){let e,i;return e=new mv({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p:G,i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function _v(t){let e,i;return e=new gv({props:{short:t[4],isMobile:!!t[7]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.short=n[4]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function wv(t){let e,i,n,l;const r=[_v,bv],o=[];function s(a,c){return a[2]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=bt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){g(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function yv(t){let e,i,n;function l(o){t[13](o)}let r={className:"btn-full-opacity",disabled:!t[1],click:t[8],testId:t[2]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:t[3],$$slots:{default:[wv]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Si({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.disabled=!o[1]),s&4&&(a.testId=o[2]?"btn-vk-video-logo":"btn-vk-logo"),s&8&&(a.ariaLabel=o[3]),s&524308&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function kv(t,e,i){let n,l,r,{ref:o=void 0}=e,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=yn(),{logoLink:d,addTimeToLogoLink:h}=f,b=Tt(),v=b.state.positionWithScrubbing$;D(t,v,R=>i(14,n=R));const w=b.ui.currentGridType$;D(t,w,R=>i(11,l=R));const _=b.ui.isMobile;D(t,_,R=>i(12,r=R));let k,y,C;const E=()=>{let R;if(y||!a)R=d;else{const B=Math.round(n);if(h&&B){const se=new URL(a);se.searchParams.append("t",te.timeCodeToString(B)),R=se.toString()}else R=a}c(),window.open(R,"_blank")};function F(R){o=R,i(0,o)}return t.$$set=R=>{"ref"in R&&i(0,o=R.ref),"logoClickable"in R&&i(1,s=R.logoClickable),"videoLogoUrl"in R&&i(9,a=R.videoLogoUrl),"click"in R&&i(10,c=R.click)},t.$$.update=()=>{t.$$.dirty&6148&&i(4,C=(r||xc(l,exports.GridTypes.L))&&y)},i(3,k=f.logoType===Eo.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),i(2,y=f.logoType===Eo.VK_VIDEO),[o,s,y,k,C,v,w,_,E,a,c,l,r,F]}class tf extends ye{constructor(e){super(),we(this,e,kv,yv,ge,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function Cv(t){We(t,"v-8z1bf5",".connecting.v-8z1bf5 .wave.v-8z1bf5{animation-duration:1s;animation-iteration-count:infinite}.connecting.v-8z1bf5 .wave1.v-8z1bf5{animation-name:v-8z1bf5-wave1}.connecting.v-8z1bf5 .wave2.v-8z1bf5{animation-name:v-8z1bf5-wave2}.connecting.v-8z1bf5 .wave3.v-8z1bf5{animation-name:v-8z1bf5-wave3}@keyframes v-8z1bf5-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function Sv(t){let e,i,n,l,r,o,s,a;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("path"),o=N("path"),s=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(l,"class","wave wave2 v-8z1bf5"),u(l,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(l,"fill","#fff"),u(r,"class","wave wave3 v-8z1bf5"),u(r,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(r,"fill","#fff"),u(o,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(o,"fill","#fff"),u(s,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),V(a,"hidden",!t[1]),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-icon"),u(e,"class","v-8z1bf5"),V(e,"connecting",t[2])},m(c,f){P(c,e,f),p(e,i),p(i,n),p(i,l),p(i,r),p(i,o),p(i,s),p(i,a)},p(c,f){f&2&&V(a,"hidden",!c[1]),f&4&&V(e,"connecting",c[2])},d(c){c&&S(e)}}}function Pv(t){let e,i,n,l,r,o,s,a,c,f,d,h,b,v,w,_,k,y,C,E,F;return{c(){e=N("svg"),i=N("g"),n=N("mask"),l=N("path"),o=N("path"),s=N("path"),c=N("path"),f=N("defs"),d=N("clipPath"),h=N("path"),v=N("filter"),w=N("feFlood"),_=N("feColorMatrix"),k=N("feOffset"),y=N("feGaussianBlur"),C=N("feColorMatrix"),E=N("feBlend"),F=N("feBlend"),u(l,"fill",r=t[1]?"#2688EB":"#fff"),u(l,"d","M1.1 3.1h22v18h-22z"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"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=t[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(h,"fill",b=t[1]?"#2688EB":"#fff"),u(h,"d","M0 0h24v24H0z"),u(d,"id","a"),u(w,"flood-opacity","0"),u(w,"result","BackgroundImageFix"),u(_,"in","SourceAlpha"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(_,"result","hardAlpha"),u(y,"stdDeviation","2.5"),u(C,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(E,"in2","BackgroundImageFix"),u(E,"result","effect1_dropShadow_4085_178456"),u(F,"in","SourceGraphic"),u(F,"in2","effect1_dropShadow_4085_178456"),u(F,"result","shape"),u(v,"id","b"),u(v,"x","-3.4"),u(v,"y","-1.4"),u(v,"width","30.8"),u(v,"height","26.802"),u(v,"filterUnits","userSpaceOnUse"),u(v,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(R,B){P(R,e,B),p(e,i),p(i,n),p(n,l),p(n,o),p(i,s),p(i,c),p(e,f),p(f,d),p(d,h),p(f,v),p(v,w),p(v,_),p(v,k),p(v,y),p(v,C),p(v,E),p(v,F)},p(R,B){B&2&&r!==(r=R[1]?"#2688EB":"#fff")&&u(l,"fill",r),B&2&&a!==(a=R[1]?"#2688EB":"#fff")&&u(s,"fill",a),B&2&&b!==(b=R[1]?"#2688EB":"#fff")&&u(h,"fill",b)},d(R){R&&S(e)}}}function Tv(t){let e;function i(r,o){return r[0]?Pv:Sv}let n=i(t),l=n(t);return{c(){l.c(),e=bt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,[o]){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:G,o:G,d(r){r&&S(e),l.d(r)}}}function Ev(t,e,i){let{isMobile:n=!1}=e,{state:l}=e,r,o;return t.$$set=s=>{"isMobile"in s&&i(0,n=s.isMobile),"state"in s&&i(3,l=s.state)},t.$$.update=()=>{t.$$.dirty&8&&(i(2,o=l===et.ChromecastState.CONNECTING),i(1,r=l===et.ChromecastState.CONNECTED))},[n,r,o,l]}class Av extends ye{constructor(e){super(),we(this,e,Ev,Tv,ge,{isMobile:0,state:3},Cv)}}function Iv(t){let e,i;return e=new Av({props:{isMobile:t[1],state:t[2]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isMobile=n[1]),l&4&&(r.state=n[2]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Lv(t){let e,i,n;function l(o){t[5](o)}let r={ariaLabel:t[4],click:t[3],testId:"btn-chromecast",$$slots:{default:[Iv]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Si({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,[s]){const a={};s&16&&(a.ariaLabel=o[4]),s&8&&(a.click=o[3]),s&70&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Mv(t,e,i){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{state:r}=e,{click:o=te.noop}=e,s;function a(c){n=c,i(0,n)}return t.$$set=c=>{"ref"in c&&i(0,n=c.ref),"isMobile"in c&&i(1,l=c.isMobile),"state"in c&&i(2,r=c.state),"click"in c&&i(3,o=c.click)},t.$$.update=()=>{t.$$.dirty&4&&i(4,s=r===et.ChromecastState.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off"))},[n,l,r,o,s,a]}class nf extends ye{constructor(e){super(),we(this,e,Mv,Lv,ge,{ref:0,isMobile:1,state:2,click:3})}}function Vv(t){let e,i;return e=new Vc({props:{isActive:t[1]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isActive=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Bv(t){let e,i;return e=new Si({props:{className:t[0]?"":"btn--live btn-full-opacity",testId:t[1]?"btn-live":"btn-live-offset",disabled:t[1]&&t[3]===et.PlaybackState.PLAYING,ariaLabel:t[2],click:t[4],$$slots:{default:[Vv]},$$scope:{ctx:t}}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.className=n[0]?"":"btn--live btn-full-opacity"),l&2&&(r.testId=n[1]?"btn-live":"btn-live-offset"),l&10&&(r.disabled=n[1]&&n[3]===et.PlaybackState.PLAYING),l&4&&(r.ariaLabel=n[2]),l&16&&(r.click=n[4]),l&514&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Nv(t,e,i){let n,{isMobile:l=!1}=e,{isActiveLive:r=!1}=e,{ariaLabel:o=""}=e;const s=Tt(),a=s.state.playbackState$;D(t,a,h=>i(3,n=h));const c=s.actions.internal.switchToActiveLive,f=s.actions.internal.togglePlay;let d;return t.$$set=h=>{"isMobile"in h&&i(0,l=h.isMobile),"isActiveLive"in h&&i(1,r=h.isActiveLive),"ariaLabel"in h&&i(2,o=h.ariaLabel)},t.$$.update=()=>{t.$$.dirty&10&&i(4,d=()=>{if(!r){c();return}n===et.PlaybackState.PAUSED&&f()})},[l,r,o,n,d,a]}class of extends ye{constructor(e){super(),we(this,e,Nv,Bv,ge,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function Rv(t){We(t,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function Ov(t){let e,i,n,l;const r=t[9].default,o=Fn(r,t,t[8],null);return{c(){e=T("div"),i=T("div"),o&&o.c(),u(i,"class","tooltip v-5ygsa2"),V(i,"active",t[0]),V(i,"pointer",t[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${t[5]}px, ${t[2]}px);`)},m(s,a){P(s,e,a),p(e,i),o&&o.m(i,null),t[10](i),t[11](e),l=!0},p(s,[a]){o&&o.p&&(!l||a&256)&&Un(o,r,s,s[8],l?Hn(r,s[8],a,null):qn(s[8]),null),(!l||a&1)&&V(i,"active",s[0]),(!l||a&2)&&V(i,"pointer",s[1]),(!l||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){l||(m(o,s),l=!0)},o(s){g(o,s),l=!1},d(s){s&&S(e),o&&o.d(s),t[10](null),t[11](null)}}}function Dv(t,e,i){let n,{$$slots:l={},$$scope:r}=e,{active:o=!1}=e,{pointer:s=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,d,h;function b(_){if(!h)return 0;const{width:k}=h.getBoundingClientRect(),y=k/2;return _<y?y:_>f-y?f-y:_}function v(_){ke[_?"unshift":"push"](()=>{h=_,i(4,h)})}function w(_){ke[_?"unshift":"push"](()=>{d=_,i(3,d)})}return t.$$set=_=>{"active"in _&&i(0,o=_.active),"pointer"in _&&i(1,s=_.pointer),"translateXPx"in _&&i(6,a=_.translateXPx),"translateYPx"in _&&i(2,c=_.translateYPx),"containerWidth"in _&&i(7,f=_.containerWidth),"$$scope"in _&&i(8,r=_.$$scope)},t.$$.update=()=>{t.$$.dirty&64&&i(5,n=b(a))},[o,s,c,d,h,n,a,f,r,l,v,w]}class zv extends ye{constructor(e){super(),we(this,e,Dv,Ov,ge,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Rv)}}const lf=(t,e,i)=>i.filter(n=>n.time<t*e).pop();function Fv(t){We(t,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function Va(t){let e;function i(r,o){return r[2]&&r[10].completed===!1?Uv:Hv}let n=i(t),l=n(t);return{c(){l.c(),e=bt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,o){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&S(e),l.d(r)}}}function Hv(t){let e=(t[10].text||"")+"",i;return{c(){i=ze(e)},m(n,l){P(n,i,l)},p(n,l){l&1024&&e!==(e=(n[10].text||"")+"")&&tt(i,e)},d(n){n&&S(i)}}}function Uv(t){let e=Y("tooltip_episode_unfinished")+"",i;return{c(){i=ze(e)},m(n,l){P(n,i,l)},p:G,d(n){n&&S(i)}}}function qv(t){let e,i,n,l,r,o,s,a,c=t[10]&&Va(t);return{c(){e=T("div"),i=T("div"),l=z(),r=T("div"),c&&c.c(),o=z(),s=T("div"),a=ze(t[0]),u(i,"class","preview v-l51fc1"),u(i,"style",n=`width: ${t[3]}px; height: ${t[4]}px; background-image: url(${t[5]}); background-size: ${t[6]}px ${t[7]}px; background-position: ${t[8]}px ${t[9]}px; transform: translateY(${t[11]%180?-35:0}px) rotate(${t[11]}deg);`),u(r,"class","episode v-l51fc1"),u(s,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),V(e,"mobile",t[1])},m(f,d){P(f,e,d),p(e,i),p(e,l),p(e,r),c&&c.m(r,null),p(e,o),p(e,s),p(s,a)},p(f,[d]){d&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(i,"style",n),f[10]?c?c.p(f,d):(c=Va(f),c.c(),c.m(r,null)):c&&(c.d(1),c=null),d&1&&tt(a,f[0]),d&2&&V(e,"mobile",f[1])},i:G,o:G,d(f){f&&S(e),c&&c.d()}}}const _o=150;function jv(t,e,i){let n,{time:l=""}=e,{isMobile:r=!1}=e,{videoEpisodes:o=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=Tt().ui.rotateAlpha;D(t,h,B=>i(11,n=B));let b,v,w,_,k,y,C,E;function F(){let B=s.frameWidth,se=s.frameHeight;return B>_o?(se=se/B*_o,B=_o):se>_o&&(B=B/se*_o,se=_o),{width:B,height:se}}function R(B){let se;s.isUV?se=Math.floor(c*B/s.frequency):se=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*B)));const ae=Math.floor(se/s.countPerImage),O=Math.floor(se%s.countPerImage/s.countPerRow),$=se%s.countPerRow;let J=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&ae===Math.floor(s.countTotal/s.countPerImage)&&(J=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&J++);let Q=s.countPerRow;!s.isUV&&ae===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(Q=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const I=b*Q,M=v*J,ee=-$*b,L=-O*v;return{imgSrc:s.links[ae],imgWidth:I,imgHeight:M,imgOffsetX:ee,imgOffsetY:L}}return t.$$set=B=>{"time"in B&&i(0,l=B.time),"isMobile"in B&&i(1,r=B.isMobile),"videoEpisodes"in B&&i(13,o=B.videoEpisodes),"previewThumbsData"in B&&i(14,s=B.previewThumbsData),"progress"in B&&i(15,a=B.progress),"duration"in B&&i(16,c=B.duration),"isInteractive"in B&&i(2,f=B.isInteractive)},t.$$.update=()=>{t.$$.dirty&32768&&i(5,{imgSrc:w,imgWidth:_,imgHeight:k,imgOffsetX:y,imgOffsetY:C}=R(a),w,(i(6,_),i(15,a)),(i(7,k),i(15,a)),(i(8,y),i(15,a)),(i(9,C),i(15,a))),t.$$.dirty&106496&&i(10,E=lf(a,c,o))},i(3,{width:b,height:v}=F(),b,i(4,v)),[l,r,f,b,v,w,_,k,y,C,E,n,h,o,s,a,c]}class Kv extends ye{constructor(e){super(),we(this,e,jv,qv,ge,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},Fv)}}function Wv(t){We(t,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function Zv(t){let e,i;return{c(){e=T("span"),i=ze(t[7]),u(e,"class","time v-5lzly8")},m(n,l){P(n,e,l),p(e,i)},p(n,l){l[0]&128&&tt(i,n[7])},i:G,o:G,d(n){n&&S(e)}}}function Gv(t){let e,i;return e=new Kv({props:{time:t[7],isMobile:t[10],videoEpisodes:t[3],previewThumbsData:t[21],progress:t[8],duration:t[1],isInteractive:t[23]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&128&&(r.time=n[7]),l[0]&1024&&(r.isMobile=n[10]),l[0]&8&&(r.videoEpisodes=n[3]),l[0]&256&&(r.progress=n[8]),l[0]&2&&(r.duration=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Yv(t){let e,i,n,l;const r=[Gv,Zv],o=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=bt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){g(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function Qv(t){let e,i,n,l;const r=[t[9]];let o={$$slots:{default:[Yv]},$$scope:{ctx:t}};for(let s=0;s<r.length;s+=1)o=S1(o,r[s]);return e=new zv({props:o}),n=new Tr({props:{isActiveLive:t[11],isMobile:t[10],ariaLabel:Y("aria_timeline"),ariaValueMin:0,ariaValueMax:t[1],ariaValueNow:Math.round(t[6]*100),ariaValueText:Y("aria_timeline_value",{position:t[5],duration:t[4]}),loadedProgress:t[12],filledProgress:t[6],handleProgress:t[6],videoEpisodes:t[3],onPointerDown:t[27],onHandleMove:t[28],onPointerMove:t[31],onPointerUp:t[29],onPointerEnter:t[30],onPointerLeave:t[32],isInteractive:t[23],disabled:t[13].has(vt.TIMELINE),hideHandel:t[2]}}),{c(){W(e.$$.fragment),i=z(),W(n.$$.fragment)},m(s,a){q(e,s,a),P(s,i,a),q(n,s,a),l=!0},p(s,a){const c=a[0]&512?S0(r,[P0(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=Y("aria_timeline_value",{position:s[5],duration:s[4]})),a[0]&4096&&(f.loadedProgress=s[12]),a[0]&64&&(f.filledProgress=s[6]),a[0]&64&&(f.handleProgress=s[6]),a[0]&8&&(f.videoEpisodes=s[3]),a[0]&8192&&(f.disabled=s[13].has(vt.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){l||(m(e.$$.fragment,s),m(n.$$.fragment,s),l=!0)},o(s){g(e.$$.fragment,s),g(n.$$.fragment,s),l=!1},d(s){s&&S(i),j(e,s),j(n,s)}}}function Xv(t,e,i){let n,l,r,o,s,a,c,f,d,h,b,{showTimeline:v=!1}=e;const w=Tt(),_=yn(),k=w.state.bufferedProgress$;D(t,k,H=>i(12,h=H));const y=w.state.positionWithScrubbing$;D(t,y,H=>i(39,a=H));const C=w.state.duration$;D(t,C,H=>i(1,r=H));const E=w.state.isLive$;D(t,E,H=>i(0,l=H));const F=w.state.isActiveLive$;D(t,F,H=>i(11,d=H));const R=w.ui.isMobile;D(t,R,H=>i(10,f=H));const B=_.features.episodes?w.actions.internal.getVideoEpisodes():void 0,se=w.actions.internal.getPreviewThumbsData(),ae=w.state.interactiveEpisodes$;D(t,ae,H=>i(40,c=H));const O=w.state.isInteractive,$=w.state.isInteractiveTime$;D(t,$,H=>i(2,o=H));const J=w.state.isInteractiveExpectation$;D(t,J,H=>i(38,s=H));const Q=w.actions.internal.correctSeekTimeToInteractive,I=w.ui.controls.disabledControls$;D(t,I,H=>i(13,b=H));let M,ee,L,ie,Le=!1,Pe="",Me=0,Ne=0,be=0,Ce;function Z(H){return!Q||!O?H:Q(H*r)/r}function ce(H){w.actions.internal.startScrubbing(Z(H))}function he(H){o||w.actions.internal.progressScrubbing(Z(H))}function Ke(H){w.actions.internal.completeScrubbing(Z(H)),i(34,Le=!1)}function _e(H,ne,Ae){me(H,ne,Ae),i(34,Le=!0)}function Ee(H,ne,Ae){me(H,ne,Ae),i(34,Le=!0)}function Re(){i(34,Le=!1)}function me(H,ne,Ae){i(8,be=H),i(35,Me=ne),Ae&&i(36,Ne=Ae),i(7,Pe=Te(H))}function Te(H){const ne=zn((l?1-H:H)*r);return l?`-${ne}`:ne}return t.$$set=H=>{"showTimeline"in H&&i(33,v=H.showTimeline)},t.$$.update=()=>{t.$$.dirty[1]&512&&i(3,M=O?c:B),t.$$.dirty[0]&2&&i(4,ee=zn(r)),t.$$.dirty[1]&256&&i(5,L=zn(a)),t.$$.dirty[0]&2|t.$$.dirty[1]&256&&i(6,ie=a/r),t.$$.dirty[0]&4|t.$$.dirty[1]&128&&i(37,Ce=s||o),t.$$.dirty[0]&1|t.$$.dirty[1]&124&&i(9,n={containerWidth:Ne,translateXPx:Me,translateYPx:O&&se?-36:-16,active:Le&&v&&!Ce,pointer:!_.features.timelinePreview||!se||l})},[l,r,o,M,ee,L,ie,Pe,be,n,f,d,h,b,_,k,y,C,E,F,R,se,ae,O,$,J,I,ce,he,Ke,_e,Ee,Re,v,Le,Me,Ne,Ce,s,a,c]}let Jv=class extends ye{constructor(e){super(),we(this,e,Xv,Qv,ge,{showTimeline:33},Wv,[-1,-1])}};function xv(t){let e,i;return e=new Tr({props:{ariaValueMin:0,ariaValueMax:t[0],ariaValueNow:Math.round(t[3]*100),ariaValueText:Y("aria_timeline_value",{position:t[2],duration:t[1]}),filledProgress:t[3],isAds:!0,hideHandel:!0,squareBorders:t[4]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.ariaValueMax=n[0]),l&8&&(r.ariaValueNow=Math.round(n[3]*100)),l&6&&(r.ariaValueText=Y("aria_timeline_value",{position:n[2],duration:n[1]})),l&8&&(r.filledProgress=n[3]),l&16&&(r.squareBorders=n[4]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function $v(t,e,i){let n,{position:l=0}=e,{duration:r=0}=e;const s=Tt().ui.isMobile;D(t,s,d=>i(4,n=d));let a,c,f;return t.$$set=d=>{"position"in d&&i(6,l=d.position),"duration"in d&&i(0,r=d.duration)},t.$$.update=()=>{t.$$.dirty&1&&i(1,a=zn(r)),t.$$.dirty&64&&i(2,c=zn(l)),t.$$.dirty&65&&i(3,f=l/r)},[r,a,c,f,n,s,l]}class rf extends ye{constructor(e){super(),we(this,e,$v,xv,ge,{position:6,duration:0})}}function e5(t){We(t,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function t5(t){let e;return{c(){e=T("div"),u(e,"class","timeline-stub v-1gqonyf"),V(e,"mobile",t[2])},m(i,n){P(i,e,n)},p(i,n){n&4&&V(e,"mobile",i[2])},i:G,o:G,d(i){i&&S(e)}}}function i5(t){let e,i,n,l;const r=[o5,n5],o=[];function s(a,c){return a[0]?0:1}return i=s(t),n=o[i]=r[i](t),{c(){e=T("div"),n.c(),u(e,"class","timeline v-1gqonyf"),V(e,"mobile",t[2])},m(a,c){P(a,e,c),o[i].m(e,null),l=!0},p(a,c){let f=i;i=s(a),i===f?o[i].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),n=o[i],n?n.p(a,c):(n=o[i]=r[i](a),n.c()),m(n,1),n.m(e,null)),(!l||c&4)&&V(e,"mobile",a[2])},i(a){l||(m(n),l=!0)},o(a){g(n),l=!1},d(a){a&&S(e),o[i].d()}}}function n5(t){let e,i;return e=new Jv({props:{showTimeline:t[1]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.showTimeline=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function o5(t){let e,i;return e=new rf({props:{position:t[3],duration:t[4]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&8&&(r.position=n[3]),l&16&&(r.duration=n[4]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function l5(t){let e,i,n,l;const r=[i5,t5],o=[];function s(a,c){return a[1]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=bt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){g(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function r5(t,e,i){let n,l,r,o,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const d=Tt(),h=d.state.isLive$;D(t,h,k=>i(12,n=k));const b=d.ads.duration;D(t,b,k=>i(4,o=k));const v=d.ads.position;D(t,v,k=>i(3,r=k));const w=d.ui.isMobile;D(t,w,k=>i(2,l=k));let _;return t.$$set=k=>{"isAds"in k&&i(0,s=k.isAds),"canRewindLive"in k&&i(9,a=k.canRewindLive),"isRewindableLive"in k&&i(10,c=k.isRewindableLive),"isHidden"in k&&i(11,f=k.isHidden)},t.$$.update=()=>{t.$$.dirty&7681&&i(1,_=!f&&(!n||n&&a&&c||s))},[s,_,l,r,o,h,b,v,w,a,c,f,n]}class sf extends ye{constructor(e){super(),we(this,e,r5,l5,ge,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},e5)}}function s5(t){let e,i,n,l;return{c(){e=N("svg"),i=N("path"),n=N("path"),l=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(l,"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(l,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),Ft(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(r,o){P(r,e,o),p(e,i),p(e,n),p(e,l)},p:G,i:G,o:G,d(r){r&&S(e)}}}class a5 extends ye{constructor(e){super(),we(this,e,null,s5,ge,{})}}function u5(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"opacity",".7"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(i,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class c5 extends ye{constructor(e){super(),we(this,e,null,u5,ge,{})}}function f5(t){We(t,"v-1yhs2ga",".text.v-1yhs2ga{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text.count.v-1yhs2ga{overflow:visible}.text.mobile.v-1yhs2ga{padding:0 3px 0 4px}.chevron-episodes.v-1yhs2ga{margin-bottom:-4px}")}function d5(t){let e,i,n,l;e=new a5({});function r(a,c){if(a[4]===lo.FULL)return h5;if(a[4]===lo.COUNT)return p5}let o=r(t),s=o&&o(t);return{c(){W(e.$$.fragment),i=z(),s&&s.c(),n=bt()},m(a,c){q(e,a,c),P(a,i,c),s&&s.m(a,c),P(a,n,c),l=!0},p(a,c){o===(o=r(a))&&s?s.p(a,c):(s&&s.d(1),s=o&&o(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){l||(m(e.$$.fragment,a),l=!0)},o(a){g(e.$$.fragment,a),l=!1},d(a){a&&(S(i),S(n)),j(e,a),s&&s.d(a)}}}function m5(t){let e,i,n,l,r,o;return r=new c5({}),{c(){e=T("span"),i=ze(t[2]),n=z(),l=T("div"),W(r.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(l,"class","chevron-episodes v-1yhs2ga")},m(s,a){P(s,e,a),p(e,i),P(s,n,a),P(s,l,a),q(r,l,null),o=!0},p(s,a){(!o||a&4)&&tt(i,s[2])},i(s){o||(m(r.$$.fragment,s),o=!0)},o(s){g(r.$$.fragment,s),o=!1},d(s){s&&(S(e),S(n),S(l)),j(r)}}}function p5(t){let e,i=t[0].length+"",n;return{c(){e=T("span"),n=ze(i),u(e,"class","text count v-1yhs2ga")},m(l,r){P(l,e,r),p(e,n)},p(l,r){r&1&&i!==(i=l[0].length+"")&&tt(n,i)},d(l){l&&S(e)}}}function h5(t){let e,i;return{c(){e=T("span"),i=ze(t[2]),u(e,"class","text v-1yhs2ga")},m(n,l){P(n,e,l),p(e,i)},p(n,l){l&4&&tt(i,n[2])},d(n){n&&S(e)}}}function v5(t){let e,i,n,l;const r=[m5,d5],o=[];function s(a,c){return a[6]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=bt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){g(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function g5(t){let e,i,n;function l(o){t[19](o)}let r={className:"w-max btn-full-opacity "+(t[6]?"px-0":""),testId:"btn-episodes",click:t[12],disabled:!t[7],ariaExpanded:t[3],ariaLabel:t[5],$$slots:{default:[v5]},$$scope:{ctx:t}};return t[1]!==void 0&&(r.ref=t[1]),e=new Si({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,[s]){const a={};s&64&&(a.className="w-max btn-full-opacity "+(o[6]?"px-0":"")),s&8&&(a.ariaExpanded=o[3]),s&32&&(a.ariaLabel=o[5]),s&8388693&&(a.$$scope={dirty:s,ctx:o}),!i&&s&2&&(i=!0,a.ref=o[1],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function b5(t,e,i){var O,$,J;let n,l,r,o,s,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:d=[]}=e;const h=Tt(),b=($=(O=h.callbacks)==null?void 0:O.onEpisodeChanged)!=null?$:te.noop,v=!!((J=h.callbacks)!=null&&J.onEpisodeClicked),w=h.ui.currentGridType$;D(t,w,Q=>i(18,s=Q));const _=h.ui.episodes.openedByKeyboard$;D(t,_,Q=>i(17,o=Q));const k=h.ui.episodes.panelOpened$;D(t,k,Q=>i(3,r=Q));const y=h.ui.isMobile;D(t,y,Q=>i(6,a=Q));let C;const E=Q=>{var M,ee,L;if(!!((M=h.callbacks)!=null&&M.onEpisodeClicked)){const ie=kr(Q);_.set(ie),k.set(!0),(L=(ee=h.callbacks)==null?void 0:ee.onEpisodeClicked)==null||L.call(ee,ie)}};let F,R,B;const se=(Q,I,M)=>Ji(this,null,function*(){yield eo(),(Q==null?void 0:Q.getAttribute("aria-expanded"))==="false"&&I&&!M&&(_.set(!1),Q.focus())});function ae(Q){C=Q,i(1,C)}return t.$$set=Q=>{"position"in Q&&i(13,c=Q.position),"duration"in Q&&i(14,f=Q.duration),"timeCodes"in Q&&i(0,d=Q.timeCodes)},t.$$.update=()=>{if(t.$$.dirty&24576&&i(16,n=c/f),t.$$.dirty&114689){const Q=lf(n,f,d);Q&&(F==null?void 0:F.text)!==Q.text&&(b(Q),i(15,F=Q))}t.$$.dirty&32768&&i(2,l=(F==null?void 0:F.text)||""),t.$$.dirty&262144&&(An(s,exports.GridTypes.XL)?i(4,R=lo.FULL):An(s,exports.GridTypes.M)&&Dh(s,exports.GridTypes.XL)?i(4,R=lo.COUNT):i(4,R=lo.SHORT)),t.$$.dirty&4&&i(5,B=`${Y("tooltip_episodes")}: ${l}`),t.$$.dirty&131082&&se(C,o,r)},[d,C,l,r,R,B,a,v,w,_,k,y,E,c,f,F,n,o,s,ae]}class af extends ye{constructor(e){super(),we(this,e,b5,g5,ge,{position:13,duration:14,timeCodes:0},f5)}}function _5(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(i,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p:G,i:G,o:G,d(l){l&&S(e)}}}class w5 extends ye{constructor(e){super(),we(this,e,null,_5,ge,{})}}function y5(t){let e,i;return e=new w5({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function k5(t){let e,i,n;function l(o){t[4](o)}let r={className:t[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:Y("tooltip_interactive_seek"),disabled:t[2],click:t[3],$$slots:{default:[y5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Si({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&8&&(a.click=o[3]),s&32&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function C5(t,e,i){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{click:o}=e;function s(a){n=a,i(0,n)}return t.$$set=a=>{"ref"in a&&i(0,n=a.ref),"hidden"in a&&i(1,l=a.hidden),"disabled"in a&&i(2,r=a.disabled),"click"in a&&i(3,o=a.click)},[n,l,r,o,s]}class uf extends ye{constructor(e){super(),we(this,e,C5,k5,ge,{ref:0,hidden:1,disabled:2,click:3})}}function S5(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),V(n,"hidden",!t[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p(l,[r]){r&1&&V(n,"hidden",!l[0])},i:G,o:G,d(l){l&&S(e)}}}function P5(t,e,i){let{isOpened:n=!1}=e;return t.$$set=l=>{"isOpened"in l&&i(0,n=l.isOpened)},[n]}class T5 extends ye{constructor(e){super(),we(this,e,P5,S5,ge,{isOpened:0})}}function E5(t){let e,i;return e=new T5({props:{isOpened:t[3]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&8&&(r.isOpened=n[3]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function A5(t){let e,i,n;function l(o){t[6](o)}let r={className:t[1]?"hidden":"",testId:"btn-graph",disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[E5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Si({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&32&&(a.ariaLabel=o[5]),s&16&&(a.click=o[4]),s&136&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function I5(t,e,i){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{graphIsOpened:o=!1}=e,{click:s}=e,a;function c(f){n=f,i(0,n)}return t.$$set=f=>{"ref"in f&&i(0,n=f.ref),"hidden"in f&&i(1,l=f.hidden),"disabled"in f&&i(2,r=f.disabled),"graphIsOpened"in f&&i(3,o=f.graphIsOpened),"click"in f&&i(4,s=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=Y(o?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,l,r,o,s,a,c]}class cf extends ye{constructor(e){super(),we(this,e,I5,A5,ge,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function L5(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class ff extends ye{constructor(e){super(),we(this,e,null,L5,ge,{})}}function M5(t){We(t,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Ba(t){let e;return{c(){e=T("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){P(i,e,n)},d(i){i&&S(e)}}}function V5(t){let e,i,n,l,r=t[1]&&Ba();return n=new ff({}),{c(){r&&r.c(),e=z(),i=T("div"),W(n.$$.fragment),u(i,"class","v-1ot3duq"),V(i,"mobile",t[1])},m(o,s){r&&r.m(o,s),P(o,e,s),P(o,i,s),q(n,i,null),l=!0},p(o,s){o[1]?r||(r=Ba(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),(!l||s&2)&&V(i,"mobile",o[1])},i(o){l||(m(n.$$.fragment,o),l=!0)},o(o){g(n.$$.fragment,o),l=!1},d(o){o&&(S(e),S(i)),r&&r.d(o),j(n)}}}function B5(t){let e,i,n;function l(o){t[5](o)}let r={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-replay",ariaLabel:Y("tooltip_restart"),disabled:t[2],click:t[4],ariaKeyShortCut:Fo[Ie.KeyK],$$slots:{default:[V5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Si({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,[s]){const a={};s&10&&(a.className=(o[1]?"btn-m--play":"")+" "+o[3]),s&4&&(a.disabled=o[2]),s&16&&(a.click=o[4]),s&66&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function N5(t,e,i){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{disabled:r=!1}=e,{className:o=""}=e,{click:s=te.noop}=e;function a(c){n=c,i(0,n)}return t.$$set=c=>{"ref"in c&&i(0,n=c.ref),"isMobile"in c&&i(1,l=c.isMobile),"disabled"in c&&i(2,r=c.disabled),"className"in c&&i(3,o=c.className),"click"in c&&i(4,s=c.click)},[n,l,r,o,s,a]}class Ir extends ye{constructor(e){super(),we(this,e,N5,B5,ge,{ref:0,isMobile:1,disabled:2,className:3,click:4},M5)}}function R5(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class O5 extends ye{constructor(e){super(),we(this,e,null,R5,ge,{})}}function D5(t){let e,i;return e=new O5({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function z5(t){let e,i,n;function l(o){t[4](o)}let r={className:t[1]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:Y("tooltip_interactive_go_back"),disabled:t[2],click:t[3],$$slots:{default:[D5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Si({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&8&&(a.click=o[3]),s&32&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function F5(t,e,i){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{click:o}=e;function s(a){n=a,i(0,n)}return t.$$set=a=>{"ref"in a&&i(0,n=a.ref),"hidden"in a&&i(1,l=a.hidden),"disabled"in a&&i(2,r=a.disabled),"click"in a&&i(3,o=a.click)},[n,l,r,o,s]}class df extends ye{constructor(e){super(),we(this,e,F5,z5,ge,{ref:0,hidden:1,disabled:2,click:3})}}function H5(t){We(t,"v-1x1zctw",".icon.v-1x1zctw{width:24px !important;height:24px !important;;}.error-stub.v-1x1zctw{display:flex;justify-content:center;align-items:center}.inner.v-1x1zctw{width:16px;height:16px;background-color:var(--white)}")}function U5(t){let e,i,n,l;return{c(){e=T("img"),u(e,"class","icon v-1x1zctw"),Zr(e.src,i=t[0])||u(e,"src",i),u(e,"aria-hidden","true")},m(r,o){P(r,e,o),n||(l=pe(e,"error",t[7]),n=!0)},p(r,o){o&1&&!Zr(e.src,i=r[0])&&u(e,"src",i)},d(r){r&&S(e),n=!1,l()}}}function q5(t){let e;return{c(){e=T("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(i,n){P(i,e,n)},p:G,d(i){i&&S(e)}}}function j5(t){let e;function i(r,o){return r[5]?q5:U5}let n=i(t),l=n(t);return{c(){l.c(),e=bt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,o){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&S(e),l.d(r)}}}function K5(t){let e,i;return e=new Si({props:{className:t[4]?"btn-full-opacity":"",ariaLabel:t[1],click:t[3],disabled:t[6],testId:t[2],$$slots:{default:[j5]},$$scope:{ctx:t}}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,[l]){const r={};l&16&&(r.className=n[4]?"btn-full-opacity":""),l&2&&(r.ariaLabel=n[1]),l&8&&(r.click=n[3]),l&64&&(r.disabled=n[6]),l&4&&(r.testId=n[2]),l&545&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function W5(t,e,i){let n,l,r,{iconUrl:o}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=te.noop}=e;const d=()=>{i(5,r=!0)};return t.$$set=h=>{"iconUrl"in h&&i(0,o=h.iconUrl),"ariaLabel"in h&&i(1,s=h.ariaLabel),"disabled"in h&&i(8,a=h.disabled),"testId"in h&&i(2,c=h.testId),"onClick"in h&&i(3,f=h.onClick)},t.$$.update=()=>{t.$$.dirty&8&&i(4,n=f===te.noop),t.$$.dirty&272&&i(6,l=n||a)},i(5,r=!1),[o,s,c,f,n,r,l,d,a]}class mf extends ye{constructor(e){super(),we(this,e,W5,K5,ge,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},H5)}}class Na{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,i,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:i,options:n})}removeEventListener(e,i){if(!(e in this.listeners))return;const n=this.listeners[e];for(let l=0,r=n.length;l<r;l++)if(n[l].callback===i){n.splice(l,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let l=0,r=n.length;l<r;l++){const o=n[l];try{o.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}o.options&&o.options.once&&this.removeEventListener(e.type,o.callback)}return!e.defaultPrevented}}class pf extends Na{constructor(){super(),this.listeners||Na.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 Z5=class{constructor(){Object.defineProperty(this,"signal",{value:new pf,writable:!0,configurable:!0})}abort(e){let i;try{i=new Event("abort")}catch(l){typeof document!="undefined"?document.createEvent?(i=document.createEvent("Event"),i.initEvent("abort",!1,!1)):(i=document.createEventObject(),i.type="abort"):i={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(l){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(i)}toString(){return"[object AbortController]"}};typeof Symbol!="undefined"&&Symbol.toStringTag&&(Z5.prototype[Symbol.toStringTag]="AbortController",pf.prototype[Symbol.toStringTag]="AbortSignal");function hf(t){return t.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof t.Request=="function"&&!t.Request.prototype.hasOwnProperty("signal")||!t.AbortController}function G5(t){typeof t=="function"&&(t={fetch:t});const{fetch:e,Request:i=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:l=!1}=t;if(!hf({fetch:e,Request:i,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:l}))return{fetch:e,Request:r};let r=i;(r&&!r.prototype.hasOwnProperty("signal")||l)&&(r=function(c,f){let d;f&&f.signal&&(d=f.signal,delete f.signal);const h=new i(c,f);return d&&Object.defineProperty(h,"signal",{writable:!1,enumerable:!1,configurable:!0,value:d}),h},r.prototype=i.prototype);const o=e;return{fetch:(a,c)=>{const f=r&&r.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let d;try{d=new DOMException("Aborted","AbortError")}catch(b){d=new Error("Aborted"),d.name="AbortError"}if(f.aborted)return Promise.reject(d);const h=new Promise((b,v)=>{f.addEventListener("abort",()=>v(d),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([h,o(a,c)])}return o(a,c)},Request:r}}const Lr=hf({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),vf=Lr?G5({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,Y5=Lr?vf.fetch:window.fetch;Lr?vf.Request:window.Request;const Q5=(t,e)=>t<400||e<225?5:t<640||e<360?0:t<960||e<540?1:t<1280||e<720?2:3,X5="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class J5{constructor(e,i){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 te.Subject,started$:new te.Subject,paused$:new te.Subject,resumed$:new te.Subject,ended$:new te.Subject,skipped$:new te.Subject,clicked$:new te.Subject},this.loadAdman=n=>new Promise((l,r)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?l():r()};te.addScript(X5,n,this.loadTimeout).then(()=>{window.AdmanHTML?l():(window.admanAsyncInit=s,o=window.setTimeout(s,this.initTimeout))}).catch(()=>{r()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,l)=>{te.assertNonNullable(this.adsState),te.assertNonNullable(this.playerState),te.assertNonNullable(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(l)}`}),this.events.started$.next(n),l.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),$e(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(l.duration),this.adsState.playbackState.set(ti.PLAYING),this.adsState.canSkip.set(l.allowClose),this.adsState.secondsToWatchBeforeSkip.set(l.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{te.assertNonNullable(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{te.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(ti.PAUSED)},this.onAdPlayed=()=>{te.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(ti.PLAYING)},this.onAdMidrollPoint=()=>{te.assertNonNullable(this.adman),te.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Rn.Midroll,this.adman.start(Rn.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=i.loadTimeout,this.initTimeout=i.initTimeout}init(e,i,n){this.actions=e,this.adsState=i,this.playerState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:i,height:n,isFullscreen:l,isAutoplay:r,adsContainer:o,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:d}=e;let h;const b=this.playerState&&$e(this.playerState.vsid);b&&(h=parseInt(b,36));const v=Object.assign(Object.assign(Object.assign({dl:encodeURIComponent(window.location.href),autoplay:r,player_width:i,player_height:n,puid10:Q5(i,n),puid11:l?0:1,preview:d},h?{request_id:h}:{}),{duration:f}),c),w={slot:a,wrapper:o,videoEl:s,videoQuality:n,params:v,browser:{mobile:!1}},_=new window.AdmanHTML;_.setDebug(!1),_.onReady(this.onAdsReady),_.onStarted(this.onAdStarted),_.onPlayed(this.onAdPlayed),_.onPaused(this.onAdPaused),_.adMidrollPoint(this.onAdMidrollPoint),_.onClosed(this.onAdClosed),_.onSkipped(this.onAdSkipped),_.onClicked(this.onAdClicked),_.onTimeRemained(this.onAdTimeRemained),_.onCompleted(this.onAdCompleted),_.onError(this.onAdError),_.init(w),this.adman=_,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(w)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}te.assertNonNullable(this.actions),te.assertNonNullable(this.adsState),te.assertNonNullable(this.playerState);const i=this.currentAdSection===Rn.Postroll;this.adsState.playbackState.set(ti.INACTIVE),this.currentAdSection=null,this.playerState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${i}`}),i&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!i)}togglePlay(){te.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=$e(this.adsState.playbackState);e===ti.PLAYING?this.pause():e===ti.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var i;this.log({message:`set volume ${e}`}),(i=this.adman)===null||i===void 0||i.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var i;this.log({message:`set fullscreen ${e}`}),(i=this.adman)===null||i===void 0||i.setFullscreen(e)}startPreroll(){te.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=Rn.Preroll,this.adman.start(Rn.Preroll)}startPostroll(){te.assertNonNullable(this.adman),te.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Rn.Postroll,this.adman.start(Rn.Postroll)}play(){te.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){te.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){te.assertNonNullable(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,i){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(i))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const x5=t=>{const e=Math.round(t);return isNaN(e)||e<40?"":e>=40&&e<55?50:e>=55&&e<90?60:e>=90&&e<180?120:e>=180?240:""};class $5{constructor(){this.oneLineRegExp=/\r\n|\n|\r/,this.twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/}parse(e){const i=[],n=e.split(this.twoLinesRegExp);for(const l of n){const r={startTime:0,endTime:0,texts:[],lang:""},o=l.split(this.oneLineRegExp);for(const s of o)if(!r.startTime&&!r.endTime){const a=new gf,{startTime:c,endTime:f}=a.parse(s);r.startTime=c,r.endTime=f}else if(s.trim()!==""){const a=new eg,{texts:c}=a.parse(s);r.texts=[...r.texts,...c]}(r.startTime||r.endTime)&&r.texts.length>0&&i.push(r)}return i}}class gf{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 i={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(i.startTime=this.calcTime(n[1],n[2],n[3],n[4]),i.endTime=this.calcTime(n[6],n[7],n[8],n[9])),i}parseTime(e){const i=this.timeRegExp.exec(e);return i?this.calcTime(i[1],i[2],i[3],i[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",i="0",n="0",l="0"){const r=Number(e)*60*60,o=Number(i)*60,s=Number(n),a=+`0.${l}`;return r+o+s+a}}class eg{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const i={texts:[]},l=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](o){let s=0;const a=[];for(;s<o.length;){const c=["<",">"].reduce((f,d)=>{const h=o.indexOf(d,s);return f===-1||f>h?h:f},-1);if(c===-1){a.push(o.substring(s));break}a.push(o.substring(s,c)),s=c+1}return a}}),r=new gf;for(const o of l)r.isTime(o)?i.texts.push({type:"timestamp",value:r.parseTime(o)}):i.texts.push({type:"text",value:o});return i}}let xn,zt,er=0,tr=!1;const tg=(t,e,i)=>{var n;const l=t>=er,r=t<er,o=(f,d=0,h=0)=>f<d&&f<h,s=(f,d=0,h=0)=>f>=d&&f<=h,a=(f,d=0,h=0)=>f>d&&f>h,c=(n=i.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(er=t,r&&(tr=!1),te.isNonNullable(xn)&&s(t,xn.startTime,xn.endTime)&&xn.lang===e.value)return xn;if(!te.isNonNullable(zt)&&(c!=null&&c.length)&&!tr){const f=c.find(({startTime:d,endTime:h})=>s(t,d,h)||l&&o(t,d,h));zt=f&&Object.assign(Object.assign({},f),{lang:e.value}),xn=void 0,!te.isNonNullable(zt)&&c[c.length-1].endTime<t&&(tr=!0);return}else{if(s(t,zt==null?void 0:zt.startTime,zt==null?void 0:zt.endTime))return xn=zt,zt=void 0,xn;(l&&a(t,zt==null?void 0:zt.startTime,zt==null?void 0:zt.endTime)||r&&o(t,zt==null?void 0:zt.startTime,zt==null?void 0:zt.endTime))&&(zt=void 0)}},ir={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"};class ig{constructor(e,i){this.oneStat=new Pt.OneStat(e,i),this.statSubscription=new te.Subscription}destroy(){this.oneStat.destroy(),this.statSubscription.unsubscribe()}}const ng=({interfaceLanguage:t,videoId:e,isClip:i,isLiveCatchUpMode:n,statAuthToken:l,isAudioDisabled:r,canDownload:o,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:d,coreConfig:h,player:b,disabledControls:v,isInteractive:w,interactiveRanges$:_,isInteractiveTime$:k,replayInteractive:y,hasInteractiveBranches:C,playPrevChapterDisabledTooltip:E,additionalButtons:F,looped:R=!1,statistics:B})=>{var se,ae,O,$;const J=Object.assign(Object.assign({},h),{configName:[...(se=h.configName)!==null&&se!==void 0?se:[],"ui"],isAudioDisabled:r,live:Object.assign(Object.assign({},(ae=h.live)!==null&&ae!==void 0?ae:{}),{isLiveCatchUpMode:!!n})}),Q=d,I=b||new et.Player(J);I.setLooped(R);const M=new te.Logger,ee=new J5(M,{loadTimeout:Q.ads.loadTimeout,initTimeout:Q.ads.initTimeout}),L=fr.getInstance(),ie=a==null?void 0:a.pictureInPictureApi,Le=a==null?void 0:a.annotationsApi,Pe=M.createComponentLog("Store");let Me,Ne,be={};const Ce=te.getCurrentBrowser(),Z=B?St(B.oneStat.vsid$):Bn(void 0),ce=Ve(Do()),he=(O=ie==null?void 0:ie.info.isActive$)!==null&&O!==void 0?O:new te.ValueSubject(!1),Ke=ie==null?void 0:ie.info.type,_e=Ve(0),Ee=Ve([]),Re=te.merge(I.events.fatalError$,I.events.managedError$).subscribe(A=>Ee.update(oe=>[...oe,A])),me=Bn(!1,A=>{const oe=I.events.fatalError$.subscribe(()=>A(!0));return()=>oe.unsubscribe()}),Te=A=>ni(void 0,void 0,void 0,function*(){var oe;const ve=Object.values(te.InterfaceLanguage).includes(A);if(Q.downloadVKLanguages&&(ve&&Q.updateBuiltinLanguages||!ys(A))){let Qe;try{Qe=yield te.loadVKLangPack(A,V0,B0)}catch(ht){(oe=B==null?void 0:B.oneStat)===null||oe===void 0||oe.logError({errorType:"VKLangPack",fatal:!1}),L==null||L.report(ht,{errorType:"VKLangPack",fatal:!1})}Qe&&(ws({language:A,pack:Qe,fallback:Q.defaultLanguage}),H.set(A))}ys(A)&&H.set(A)}),H=Ve(t);Te(t);const ne=(A,oe)=>{const ve=$e(H);return Pc(ve,A,oe,Q.defaultLanguage)},Ae=Ve(De.Thumb),ue=(()=>{const A=Ri([me,Ae],([oe,ve])=>oe?De.Crashed:ve);return Object.assign(Object.assign({},A),{is:oe=>$e(A)===oe})})(),Se=(()=>{const A=Ve(new Set(v));return Object.assign(Object.assign({},A),{add:oe=>{A.update(ve=>new Set([...ve].concat(oe)))},remove:oe=>{A.update(ve=>{const Fe=[...ve];return new Set(Array.isArray(oe)?Fe.filter(Qe=>!oe.includes(Qe)):Fe.filter(Qe=>Qe!==oe))})},includes:oe=>{const ve=$e(A);return Array.isArray(oe)?oe.every(Fe=>ve.has(Fe)):ve.has(oe)}})})();Pe({message:"create store"});const Ze=A=>{Pe({message:`init video, config: ${JSON.stringify(A)}`}),w?A.container.append(I.experimental.element$.getValue()):I.initVideo(A),A.subtitles&&I.setExternalTextTracks(A.subtitles),Me=A},it=new te.Subject,ut=A=>it.next(A),xe=new te.Subject,ot=new te.Subject,st=new te.Subject,wt={actionRewind$:xe,actionSeek$:ot,inPiP$:he,inFullscreen$:new te.Observable(A=>ce.subscribe(oe=>A.next(oe))),actionSetSubtitle$:st,nextMovie$:it};if(B){const{oneStat:A,statSubscription:oe}=B;oe.add(A.attachTo(I)),oe.add(A.attachToUi(wt)),oe.add(A.attachToAds(ee.events)),A.authorize(l).catch(ve=>{Pe({message:`onestat auth error ${String(ve)}`})})}if(L){const A=new te.Subscription,oe=(ve,Fe)=>A.add(ve.subscribe(Fe));if(oe(I.events.managedError$,ve=>{L.logIError(ve)}),oe(I.events.fatalError$,ve=>{L.logIError(ve,!0)}),B){const{oneStat:ve}=B;oe(ve.experimental.error$,Fe=>{L.logIError(Fe)})}L.sentrySubscription.add(A)}const Oe=()=>{te.isIOS()&&Ne&&A4(Ne)},dt=new te.Subscription().add(I.experimental.element$.subscribe(A=>{A&&(Ne=A,A.classList.add("player-media"),hl(ie)&&(ie.updateVideoElement(),ie.registryEventHandlers()),w&&A.setAttribute("pip","false"))})).add(I.events.ended$.subscribe(()=>{var A;Oe(),(A=s==null?void 0:s.onEnded)===null||A===void 0||A.call(s)})).add(I.events.started$.subscribe(()=>ni(void 0,void 0,void 0,function*(){var A,oe;hl(ie)&&(yield ie==null?void 0:ie.revealPictureInPicture());const ve=I.info.muted$.getValue();(A=s==null?void 0:s.onStarted)===null||A===void 0||A.call(s),(oe=be.onStarted)===null||oe===void 0||oe.call(be,ve)}))).add(I.events.willSeek$.subscribe(({from:A,to:oe})=>{var ve;(ve=s==null?void 0:s.onSeek)===null||ve===void 0||ve.call(s,A,oe)})).add(I.info.position$.subscribe(A=>{var oe;const ve=I.info.duration$.getValue();(oe=s==null?void 0:s.onTimeupdate)===null||oe===void 0||oe.call(s,ve,A),ee.setPosition(A,ve)})).add(I.events.fatalError$.subscribe(()=>{var A;(A=s==null?void 0:s.onCrashed)===null||A===void 0||A.call(s)})).add(I.info.is3DVideo$.subscribe(A=>{nt.ui.is3DVideo.set(A)})).add(I.info.isEnded$.subscribe(A=>{w&&(A?(k!=null&&k.getValue()&&Se.add(N1),Se.add(vt.PLAY_BUTTON)):Se.remove(vt.PLAY_BUTTON))})).add(I.info.liveTime$.subscribe(A=>{var oe;(oe=s==null?void 0:s.onLiveTime)===null||oe===void 0||oe.call(s,A)})).add(I.info.isStalled$.subscribe(A=>{var oe;(oe=s==null?void 0:s.onStalledChanged)===null||oe===void 0||oe.call(s,A)})),ct=new te.Subscription,Et=()=>{ct.add(I.events.log$.subscribe(A=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${A.component}`,A.message)})).add(M.log$.subscribe(A=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${A.component}.`,A.message)}))},re=()=>{ct.unsubscribe()},At=(A,oe)=>{I.startCameraManualRotation(A,oe)},gt=(A=!1)=>{I.stopCameraManualRotation(A)},Vt=(A,oe,ve)=>{I.moveCameraFocusPX(A,oe,ve)},ft=()=>{I.holdCamera()},yt=()=>{I.releaseCamera()},Xe=Bn(I.info.position$.getValue(),A=>{let oe,ve;const Fe=()=>{const Qe=I.info.playbackState$.getValue(),ht=I.info.isLive$.getValue(),Rt=I.info.duration$.getValue(),Ct=I.info.position$.getValue();if([et.PlaybackState.PLAYING,et.PlaybackState.PAUSED].includes(Qe)){const Ni=ht?Ct-Rt:I.getExactTime();Ni!==ve&&A(Ni),ve=Ni}oe=requestAnimationFrame(Fe)};return Fe(),()=>cancelAnimationFrame(oe)}),He=St(he),It=St(I.info.playbackState$),xi=St(I.info.currentBuffer$),Pi=St(I.info.isEnded$),Oi=St(I.info.isLive$),ln=Q.features.playbackRate?St(I.info.canChangePlaybackSpeed$):Bn(!1),Yt=St(I.info.liveBufferTime$),Ht=St(I.info.volume$),oi=St(I.info.muted$),Ot=z1(I.info.autoQualityLimits$.pipe(te.map(({max:A})=>A!==void 0)),(($=I.info.autoQualityLimits$.getValue())===null||$===void 0?void 0:$.max)!==void 0),li=St(I.info.autoQualityLimitingAvailable$),Zi=St(I.info.availableQualities$),hi=St(I.info.availableQualitiesFps$),Ti=St(I.info.chromecastState$),ri=St(I.info.chromecastDeviceName$),vi=St(I.info.currentFormat$),Di=St(I.info.throughputEstimation$),Ei=St(I.info.videoBitrate$),gi=St(I.info.intrinsicVideoSize$),si=St(I.info.duration$),zi=St(I.info.isAudioAvailable$);let Lt=null;const Mt=I.info.isBuffering$,bi=Bn(Mt.getValue(),A=>{const oe=Mt.subscribe(ve=>{ve&&Lt===null?Lt=window.setTimeout(()=>{A(Mt.getValue()),Lt=null},Q.loaderDelay):A(ve)});return()=>{oe.unsubscribe(),Lt&&clearTimeout(Lt)}}),Ai=()=>{Lt&&clearTimeout(Lt),Lt=null},Dt=Ri([si,Oi],([A,oe])=>oe?-A:A),mt=Ri([It],([A])=>A===et.PlaybackState.PLAYING),ai=St(I.info.atLiveEdge$),lt=St(I.info.atLiveDurationEdge$),ui=St(I.info.position$),Ii=Ri([ui,si],([A,oe])=>isFinite(A)&&isFinite(oe)&&!!oe),Li=Ri([Ti],([A])=>A===et.ChromecastState.CONNECTED),Wt=Ve(void 0),Fi=St(I.info.isAutoQualityEnabled$,A=>A&&Wt.set(void 0)),Hi=St(I.info.currentQuality$,()=>Wt.set(void 0)),Ut=Ri([Wt,Hi],([A,oe])=>A!=null?A:oe),Mi=Ri([Zi,hi,Fi,Ut,vi],([A,oe,ve,Fe,Qe])=>{const ht=[];Qe!==et.VideoFormat.MPEG&&ht.push({value:So.AUTO,displayValue:ne("auto_quality_option"),selected:ve});const Rt=A.filter(Ct=>Ct!==te.VideoQuality.INVARIANT);for(const Ct of Rt){const Ni=oe[Ct],Jn=Ct===te.VideoQuality.INVARIANT?ne("auto_quality_option"):Ct;ht.push({value:Ct,displayValue:`${Jn}${Ni?x5(Ni):""}`,selected:ve?!1:Ct===Fe})}return ht}),Vi=St(I.info.currentPlaybackRate$),Ui=Ri([Vi,ai,lt],([A,oe,ve])=>{const Fe=ve||w?1:Q.controls.playbackRateMin,Qe=oe?1:Q.controls.playbackRateMax,ht=Q.controls.playbackRateStep,Rt=[];for(let Ct=Fe;Ct<=Qe;Ct+=ht)Rt.push({value:Ct,displayValue:Ct===1?ne("playback_rate_1"):ne("playback_rate",{multiplier:Ct.toString(10)}),selected:A===Ct});return Rt}),Gi=Q.features.subtitles?St(I.info.availableTextTracks$):Bn([]),qt=Ri([Gi],([A],oe)=>{const ve=[],Fe=[];for(const Qe of A)Qe.url&&ve.push(Y5(Qe.url));Promise.allSettled(ve).then(Qe=>{for(const[ht,Rt]of Qe.entries())Rt.status==="fulfilled"&&Rt.value.text().then(Ct=>{const Ni=new $5,Jn=A[ht].language,Go=!!A[ht].isAuto,fo=Ni.parse(Ct);Jn&&fo&&Fe.push({lang:Jn,subtitles:fo,isAuto:Go}),ht===Qe.length-1&&oe(Fe)})})}),Bt={displayValue:ne("subtitles_off"),value:"off"},Qt=Ve(Object.assign({},Bt)),Bi=Ri([qt,Qt,qt],([A,oe])=>{if((A==null?void 0:A.length)>0){const ve=[Object.assign(Object.assign({},Bt),{selected:(oe==null?void 0:oe.value)===Bt.value})];for(const{lang:Fe,isAuto:Qe}of A)ir[Fe]&&ve.push({displayValue:Qe?ne("subtitles_auto",{language:ir[Fe]}):ir[Fe],value:Fe,selected:(oe==null?void 0:oe.value)===Fe,isAuto:Qe});return ve}else return[]}),fn=Ri([Xe,Qt,qt],([A,oe,ve])=>{if(oe&&oe.value!==Bt.value)return tg(A,oe,ve)}),ci=Ri([fn],([A])=>A!=null&&A.texts?A.texts:[]),$i=Ve(!0),fi=Ri([xi,Dt,ui,Yt],([A,oe,ve,Fe])=>{var Qe;const ht=(Qe=A==null?void 0:A.end)!==null&&Qe!==void 0?Qe:0;if(!Fe)return ht/oe;const Ct=-ve+Fe-oe;return(ht-Ct)/oe}),Zt=St(I.info.availableSources$),qi=Ri([Zt],([A])=>Object.keys((A==null?void 0:A[et.VideoFormat.MPEG])||{}).length>0),_i=()=>{var A,oe,ve;const Fe=Object.keys(((oe=(A=I.info.availableSources$)===null||A===void 0?void 0:A.getValue())===null||oe===void 0?void 0:oe[et.VideoFormat.MPEG])||{}),Qe=te.getHighestQuality(Fe)||te.VideoQuality.Q_144P;return(ve=Me.sources[et.VideoFormat.MPEG])===null||ve===void 0?void 0:ve[Qe]},ji=()=>{var A;const oe=_i();oe?q0(oe,((A=Me==null?void 0:Me.meta)===null||A===void 0?void 0:A.title)||"video"):Pe({message:"There is no URL for download video"})},Xt=()=>{Pe({message:"toggle muted"});const A=I.info.muted$.getValue(),Fe=!(I.info.volume$.getValue()===0||A);Jt(Fe)},wi=()=>{nt.ui.settingsMenuVisible.set(!1)},di=A=>{nt.ui.settingsMenuOpenedByKeyboard.set(!!A),nt.ui.settingsMenuVisible.set(!0)},Ki=A=>{$e(nt.ui.settingsMenuVisible)?wi():di(A)},mi=(A,oe=A,ve=!1)=>{var Fe,Qe,ht;const Rt=!ve,Ct=I.info.muted$.getValue();Pe({message:`set volume, volume: ${A}, preferredVolume: ${oe}, internalCall: ${Rt}`}),I.setVolume(A),ee.setVolume(A),Rt&&((Fe=s==null?void 0:s.onVolumeChange)===null||Fe===void 0||Fe.call(s,A)),Qr(oe),Ct?(I.setMuted(!1),Rt&&((Qe=s==null?void 0:s.onUnmute)===null||Qe===void 0||Qe.call(s)),Nl(!1)):!Ct&&A===0&&(I.setMuted(!0),Rt&&((ht=s==null?void 0:s.onMute)===null||ht===void 0||ht.call(s)),Nl(!0))},Jt=(A,oe=!1)=>{var ve,Fe,Qe,ht;const Rt=!oe,Ct=I.info.volume$.getValue();if(Pe({message:`set muted, currentVolume: ${Ct}, mute: ${A}, internalCall: ${Rt}`}),I.setMuted(A),ee.setVolume(A?0:Ct),Nl(A),Rt&&(A?(ve=s==null?void 0:s.onMute)===null||ve===void 0||ve.call(s):(Fe=s==null?void 0:s.onUnmute)===null||Fe===void 0||Fe.call(s)),Ct===0){let Ni=(Qe=j1())!==null&&Qe!==void 0?Qe:Q.volumeDefault;Ni===0&&(Ni=Q.volumeMinRestore,Qr(Ni)),I.setVolume(Ni),ee.setVolume(Ni),Rt&&((ht=s==null?void 0:s.onVolumeChange)===null||ht===void 0||ht.call(s,Ni))}},yi=()=>{I.prepare()},je=()=>{var A,oe;if(te.assertNonNullable(nt),!$e(nt.ui.controls.disabledControls$).has(vt.PLAY_BUTTON)){if(Pe({message:"toggle play"}),$e(nt.playerPhase)===De.Ads){ee.togglePlay();return}if(I.info.playbackState$.getValue()!==et.PlaybackState.PLAYING){if(I.info.isEnded$.getValue()){if(Pe({message:"toggle play, video ended, seek to 0"}),xe.next(),ot.next(Pt.SeekAction.REWIND),w){y==null||y();return}I.seekTime(0)}Pe({message:"toggle play, call player.play"}),I.play(),(A=s==null?void 0:s.onPlay)===null||A===void 0||A.call(s)}else Pe({message:"toggle play, call player.pause"}),I.pause(),(oe=s==null?void 0:s.onPause)===null||oe===void 0||oe.call(s)}},Wi=A=>{Pe({message:`set quality, quality: ${A}`}),I.setAutoQuality(A===So.AUTO),A!==So.AUTO?(j0(e,A),Wt.set(A),I.setQuality(A)):K1()},xt=A=>{Pe({message:`set trafficSavingEnabled, value: ${A}`}),I.setAutoQualityLimits({max:A?Q.trafficSavingLimit:void 0}),Z0(A)},ki=A=>{I.setPlaybackRate(A)},Be=()=>{const A=$e(Ui),oe=A.findIndex(({selected:Fe})=>Fe);if(oe===A.length-1)return;const ve=A[oe+1];ki(ve.value)},dn=()=>{const A=$e(Ui),oe=A.findIndex(({selected:Fe})=>Fe);if(oe===0)return;const ve=A[oe-1];ki(ve.value)},rn=A=>{A&&A.value!==Bt.value&&st.next(A.isAuto?A.value+"_auto":A.value),Qt.set(A)},Yi=()=>{const A=$e(Bi),oe=$e(Qt),ve=$e(H);if((oe==null?void 0:oe.value)===Bt.value){const Fe=A.filter(Qe=>Qe.value!==Bt.value).find(Qe=>Qe.value===ve)||A[1];rn(Fe!=null?Fe:Object.assign({},Bt))}else rn(Object.assign(Object.assign({},Bt),{selected:!1}))},Nt=(A,oe,ve=!0)=>{if(Pe({message:`seek to time, time: ${A}`}),ot.next(oe),I.info.isLive$.getValue()){const Fe=I.info.duration$.getValue(),Qe=Math.min(0,Fe+A);I.seekTime(Qe,ve)}else{if(k!=null&&k.getValue())return;I.seekTime(U(A),ve)}},sn=A=>{Pe({message:`seek to episode start time: ${A}`}),Nt(A,Pt.SeekAction.EPISODE,!0)},en=(A,oe)=>{Pe({message:`seek to percent, percent: ${A}`});const ve=Math.round($e(Dt)*A);Nt(ve,oe,!1)},Qi=A=>{Pe({message:`seek external, time: ${A}`}),ot.next(Pt.SeekAction.UNKNOWN),I.seekTime(I.info.isLive$.getValue()?-A:A)},tn=A=>{var oe,ve;Pe({message:`set auto quality limitation. Max: ${(oe=A.max)!==null&&oe!==void 0?oe:"none"}. Min: ${(ve=A.min)!==null&&ve!==void 0?ve:"none"}`}),I.setAutoQualityLimits(A)},le=A=>{Pe({message:`seek external to episode start time: ${A}`}),Nt(A,Pt.SeekAction.EPISODE,!0)},Je=A=>{Pe({message:`set playback rate to: ${A}`}),I.setPlaybackRate(A)},pt=Ve(void 0),Ci=Ve(!1),$t=A=>{Pe({message:`start scrubbing, progress: ${A}`}),Ci.set(!0),mn(A)},mn=A=>{pt.set(A)};let jt,kn;const Cn=()=>{pt.set(void 0),Ci.set(!1)},an=()=>{clearTimeout(kn),clearTimeout(jt),jt=window.setTimeout(()=>{Cn()},500),Ne==null||Ne.removeEventListener("seeked",an)},Sn=A=>{Pe({message:`complete scrubbing, progress: ${A}`}),en(A,Pt.SeekAction.SLIDER),$e(nt.ui.isMobile)&&$e(nt.state.currentFormat$)===et.VideoFormat.HLS?(Ne==null||Ne.addEventListener("seeked",an),kn=window.setTimeout(()=>{an()},300)):Cn()},pn=Ri([Xe,Dt,pt],([A,oe,ve],Fe)=>{Fe(te.isNonNullable(ve)?ve*oe:A)}),nn=Ve({width:0,height:0}),Pn=Ri([nn],([{width:A}],oe)=>{const ve=zh(A);oe(ve)}),hn=Ve(!1),Tn=Ri([Pn,hn],([A,oe])=>oe?F.filter(ve=>!ve.hideOnMobile):F.filter(ve=>{var Fe;return!(!((Fe=ve.hideOnDesktopGridTypes)===null||Fe===void 0)&&Fe.includes(A))})),x=Ri([hn,me],([A,oe],ve)=>{ve(A&&oe)}),_t=()=>{ot.next(Pt.SeekAction.LIVE),Pe({message:"switch to active live"}),I.seekTime(0),I.info.playbackState$.getValue()!==et.PlaybackState.PLAYING&&nt.actions.internal.togglePlay()},vn=()=>ee.skip(),Xi=(A=!0)=>{te.assertNonNullable(nt),Pe({message:`switch from ads to video, callPlay: ${A}`}),Ae.set(De.Video),A&&I.play()},gn=()=>{te.assertNonNullable(nt),Pe({message:"switch from video to ads"}),nt.actions.internal.pause(),Oe(),Ae.set(De.Ads)},un=A=>{te.assertNonNullable(nt);const oe=A?De.WaitingLive:De.Thumb;Ae.set(oe)},Kn=A=>{te.assertNonNullable(nt);const oe=A?De.WaitingRecord:De.Thumb;Ae.set(oe)},Wn=()=>(te.assertNonNullable(nt),H0(I,Me,nt)),Zn=()=>(te.assertNonNullable(nt),U0(I,Me,nt)),Gn=()=>Ne,Yn=()=>{Pe({message:"toggle chromecast"}),I.toggleChromecast()},Vn=A=>{var oe;te.assertNonNullable(nt);const ve=!A;if($e(nt.playerPhase)===De.Ads){Pe({message:`pause ads, internalCall: ${ve}`}),ee.pause();return}Pe({message:`pause video, internalCall: ${ve}`}),ve&&((oe=s==null?void 0:s.onPause)===null||oe===void 0||oe.call(s)),I.pause()},Qn=A=>{var oe;te.assertNonNullable(nt);const ve=!A;if($e(nt.playerPhase)===De.Ads){Pe({message:`play ads, internalCall: ${ve}`}),ee.play();return}Pe({message:`play video, internalCall: ${ve}`}),ve&&((oe=s==null?void 0:s.onPlay)===null||oe===void 0||oe.call(s)),I.play()},pi=(A,oe)=>{te.assertNonNullable(nt),Pe({message:`first start, show ads: ${A}, internalCall: ${!oe}`}),A?Ae.set(De.Ads):(Ae.set(De.Video),oe?I.play():nt.actions.internal.togglePlay())},bn=()=>(Pe({message:"getting time codes"}),c),X=()=>{const A=bn();if(!A||[0,1].includes(A.length))return;const oe=I.info.position$.getValue();return A.find(ve=>ve.time>oe)},no=A=>{let oe=A;oe||(oe=X()),oe&&(Pe({message:"seek to next episode"}),Nt(oe.time,Pt.SeekAction.EPISODE,!0))},ao=()=>{const A=bn();if(!A||[0,1].includes(A.length))return;const oe=I.info.position$.getValue(),ve=A.findIndex(Qe=>Qe.time>oe),Fe=ve===-1?A.length-2:ve-2;if(!(Fe<0))return A[Fe]},Lo=A=>{let oe=A;oe||(oe=ao()),oe&&(Pe({message:"seek to prev episode"}),Nt(oe.time,Pt.SeekAction.EPISODE,!0))},uo=()=>(Pe({message:"getting preview thumbs data"}),f),Mo=()=>ni(void 0,void 0,void 0,function*(){ie!=null&&ie.isActive()?yield ie==null?void 0:ie.remove():yield ie==null?void 0:ie.request()}),co=(A=-90)=>{_e.update(oe=>oe+A)},Xn=Ve([]);_==null||_.subscribe(A=>{const oe=[];for(let ve=0;ve<A.length;ve++){const{range:[Fe,Qe],subjects:ht}=A[ve];ve===0&&Fe!==0&&oe.push({time:0,text:"",interactive:!1,completed:!0}),oe.push({time:Fe/1e3,text:"",interactive:!0,completed:!ht.length}),Qe!==1/0&&oe.push({time:Qe/1e3,text:"",interactive:!1,completed:!0})}Xn.set(oe)});const Vo=Ve(!1);k==null||k.subscribe(A=>{A&&$e(Ci)&&Cn()});const U=A=>{if(!w)return A;const oe=$e(Xn),ve=$e(Dt),Qe=$e(ui)/ve,ht=oe.find(Rt=>Rt.interactive&&!Rt.completed&&Rt.time>Qe);return typeof(ht==null?void 0:ht.time)=="number"?Math.min(A,ht.time-.05):A},kt=()=>{nt.ui.episodes.panelOpened$.set(!1)},_n=()=>{clearTimeout(kn),clearTimeout(jt),dt.unsubscribe(),ct.unsubscribe(),I.destroy(),ee.destroy(),B==null||B.destroy(),L==null||L.destroy(),Re.unsubscribe()},nt={interfaceLanguage$:H,initVideo:Ze,videoId:e,isClip:i,playerPhase:ue,vsid:Z,state:{positionExact$:Xe,positionWithScrubbing$:pn,duration$:Dt,playbackState$:It,isPlaying$:mt,isLoaderVisible:bi,bufferedProgress$:fi,isLive$:Oi,canChangePlaybackSpeed$:ln,isActiveLive$:ai,isOldestAvailableLive$:lt,isRewindableLive$:Ii,isEnded$:Pi,muted$:oi,volume$:Ht,trafficSavingEnabled$:Ot,autoQualityLimitingAvailable$:li,currentQuality$:Ut,isAutoQualityEnabled$:Fi,availableQualities$:Mi,currentPlaybackRate$:Vi,availablePlaybackRates$:Ui,currentSubtitle$:Qt,availableSubtitlesList$:Bi,currentSubtitleCaptions$:ci,isAutoSubtitleCaptionVisible$:$i,chromecastState$:Ti,chromecastDeviceName$:ri,chromecastConnected$:Li,currentFormat$:vi,throughputEstimation$:Di,videoBitrate$:Ei,videoSize$:gi,errorLog$:Ee,crashed$:me,isAudioAvailable$:zi,isAudioDisabled:!!r,canDownload:Q.features.download&&!!o,availableSources$:Zt,hasMpegSources$:qi,isInteractive:w,showInteractiveGraph:Q.features.interactiveGraph,showSeekToInteractive:Q.features.seekToInteractive,showPlayPrevChapter:Q.features.interactivePlayPrevChapter,interactiveEpisodes$:Xn,isInteractiveTime$:k?St(k):Ve(!1),graphIsOpened$:Ve(!1),isInteractiveExpectation$:Vo,hasInteractiveBranches:C,playPrevChapterDisabledTooltip:E},ui:{controlsVisible:Ve(!1),touched:Ve(!1),controls:{prevButton:Ve(void 0),playButton:Ve(void 0),replayButton:Ve(void 0),nextButton:Ve(void 0),playPrevChapterButton:Ve(void 0),seekToInteractiveButton:Ve(void 0),interactiveGraphButton:Ve(void 0),liveButton:Ve(void 0),time:Ve(void 0),episodes:Ve(void 0),volume:Ve(void 0),subtitles:Ve(void 0),settings:Ve(void 0),context:Ve(void 0),chromecast:Ve(void 0),pip:Ve(void 0),fullscreen:Ve(void 0),vkLogo:Ve(void 0),interactiveTimeIcon:Ve(void 0),additionalButtons:F.length?F.reduce(A=>[...A,Ve(void 0)],[]):[],disabledControls$:Se},modals:{hotKeyMap:{show:Ve(!1),data:Ve({title:"",closeBtnText:"",groups:[]})}},isFullscreen:ce,rotateAlpha:_e,isAutoplay:Ve(!1),debugPanelVisible:Ve(!1),episodes:{panelOpened$:Ve(!1),openedByKeyboard$:Ve(!1)},contextMenu:{visible$:Ve(!1),btnRef$:Ve(void 0),openedByBtnKeyboard$:Ve(!1),openedByHotKey$:Ve(!1),lastActiveElem$:Ve(void 0),showContextMenuBtn$:Ve(!1),position$:Ve({top:0,left:0})},playerSize:nn,isMobile:hn,mobileNotReportControlHidden$:x,mobileUnmuteButtonExpanded:Ve(!1),mobileUnmuteButtonVisible:Ve(!1),icon3DVideoVisible:Ve(!1),settingsMenuVisible:Ve(!1),settingsMenuOpenedByKeyboard:Ve(!1),scrubbingInProgress:Ci,is3DVideo:Ve(!1),isPictureInPictureActive$:He,pictureInPictureType$:Bn(Ke),clientInfo$:Bn(Ce),currentGridType$:Pn,additionalButtons$:Tn,interactiveHideMobileControls:Ve(!1),overlayContainer$:Ve(void 0),startedByKeyboard$:Ve(!1)},ads:{position:Ve(0),duration:Ve(0),playbackState:Ve(ti.INACTIVE),canSkip:Ve(!1),secondsToWatchBeforeSkip:Ve(0),postrollPassed:Ve(!1)},webApi:{pictureInPictureApi:ie,annotationsApi:Le},actions:{internal:{preload:yi,firstStart:A=>pi(A,!1),pause:()=>Vn(!1),togglePlay:je,toggleMuted:Xt,toggleSettingsMenu:Ki,openSettingsMenu:di,closeSettingsMenu:wi,setVolume:mi,setQuality:Wi,setTrafficSavingEnabled:A=>xt(A),setPlaybackRate:ki,incrementPlaybackRate:Be,decrementPlaybackRate:dn,setSubtitle:rn,toggleSubtitle:Yi,togglePictureInPicture:Mo,startScrubbing:$t,progressScrubbing:mn,completeScrubbing:Sn,toggleChromecast:Yn,switchToActiveLive:_t,switchFromAdsToVideo:Xi,switchFromVideoToAds:gn,skipAd:vn,setWaitingLive:un,setWaitingRecord:Kn,getDebugTextData:Wn,getDebugPanelData:Zn,getVideoElement:Gn,seekTime:(A,oe,ve)=>Nt(A,oe,ve),clearDelayedBufferingCheckTimeout:Ai,seekEpisodeStartTime:sn,seekToPercent:en,getNextEpisode:X,seekToNextEpisode:no,getPrevEpisode:ao,seekToPrevEpisode:Lo,startLogging:Et,stopLogging:re,startCameraManualRotation:At,stopCameraManualRotation:gt,moveCameraFocusPX:Vt,holdCamera:ft,releaseCamera:yt,getVideoEpisodes:bn,getPreviewThumbsData:uo,downloadVideo:ji,addLanguage:ws,setLanguage:Te,nextMovie:ut,videoRotate:co,correctSeekTimeToInteractive:U,replayInteractive:y},external:{firstStart:A=>pi(A,!0),play:()=>Qn(!0),pause:()=>Vn(!0),seekTime:A=>Qi(A),seekEpisodeStartTime:A=>le(A),setPlaybackRate:A=>Je(A),setAutoQualityLimits:A=>tn(A),setMuted:A=>Jt(A,!0),setVolume:A=>mi(A,A,!0),returnFocusToEpisodes:kt}},callbacks:s,setUiCallbacks:A=>{be=Object.assign({},A)},getAdmanWrapper:()=>ee,getLogger:()=>M,destroy:_n};return nt},bf=(t,e,i,n)=>{var l;if(!t)return;const r=["interactiveTimeIcon"],o=t.getBoundingClientRect();for(const[s,a]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(s)){const c=(l=i[s])===null||l===void 0?void 0:l.getBoundingClientRect(),f=(n||r.includes(s))&&!!c&&!!(c.right-c.left);a.set({positionStartX:0,positionEndX:0,left:f?Math.round(c.left-o.left):0,right:f?Math.round(c.right-o.left):0,top:f?Math.round(c.top-o.top):0,bottom:f?Math.round(c.bottom-o.top):0,isDisplayed:f})}},_f=(t,e,i)=>ni(void 0,void 0,void 0,function*(){yield eo(),e&&i&&(i.focus(),t.set(!1))});function og(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M18 10c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2Zm-6 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm-6 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","dots-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class lg extends ye{constructor(e){super(),we(this,e,null,og,ge,{})}}function rg(t){let e,i;return e=new lg({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function sg(t){let e,i,n;function l(o){t[8](o)}let r={className:t[3]?"opened":"",testId:"btn-context-menu",disabled:t[0],ariaLabel:t[1],click:t[5],focus:t[6],blur:t[7],ariaExpanded:t[3],$$slots:{default:[rg]},$$scope:{ctx:t}};return t[2]!==void 0&&(r.ref=t[2]),e=new Si({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,[s]){const a={};s&8&&(a.className=o[3]?"opened":""),s&1&&(a.disabled=o[0]),s&2&&(a.ariaLabel=o[1]),s&8&&(a.ariaExpanded=o[3]),s&16384&&(a.$$scope={dirty:s,ctx:o}),!i&&s&4&&(i=!0,a.ref=o[2],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function ag(t,e,i){let n,{disabled:l=!1}=e,{ariaLabel:r=""}=e;const o=Tt(),s=o.ui.contextMenu.visible$;D(t,s,k=>i(3,n=k));const a=o.ui.contextMenu.openedByBtnKeyboard$,c=o.ui.contextMenu.showContextMenuBtn$,f=o.ui.contextMenu.position$,d=o.ui.contextMenu.btnRef$;let h;const b=k=>{const y=kr(k),C=rp(h);f.set(C),a.set(y),s.set(!n)},v=()=>{c.set(!0)},w=()=>{c.set(!1)};function _(k){h=k,i(2,h)}return t.$$set=k=>{"disabled"in k&&i(0,l=k.disabled),"ariaLabel"in k&&i(1,r=k.ariaLabel)},t.$$.update=()=>{t.$$.dirty&4&&h&&d.set(h)},[l,r,h,n,s,b,v,w,_]}class ug extends ye{constructor(e){super(),we(this,e,ag,sg,ge,{disabled:0,ariaLabel:1})}}function cg(t){We(t,"v-1syq7kl",".interactive-episode-icon-animated.v-1syq7kl{position:absolute;top:16px;right:16px;width:32px;height:32px;transition:0.7s;opacity:1}.invisible.v-1syq7kl{opacity:0;visibility:hidden}.fullscreen.v-1syq7kl:not(.mobile){width:40px;top:19px;right:23px;height:40px}.mobile.v-1syq7kl{width:28px;height:28px;top:12px;right:14px}.fullscreen.mobile.v-1syq7kl{width:32px;height:32px}@media screen and (orientation: portrait){.interactive-episode-icon-animated.mobile.fullscreen.v-1syq7kl{top:40px;right:16px}}@keyframes v-1syq7kl-pulse{0%{transform:scale(1);border-width:1px;opacity:0}10%{opacity:1}50%{transform:scale(1.5);border-width:1px;opacity:0.5}100%{transform:scale(1.5);border-width:0.5px;opacity:0}}.interactive-episode-icon-animated.v-1syq7kl:after{display:block;content:'';border:1px solid #fff;position:absolute;top:0;left:0;right:0;bottom:0;border-radius:100%;transform:scale(1.8);animation:1s v-1syq7kl-pulse infinite;transition:0.3ms}.interactive-episode-icon-animated svg{width:100%;height:100%}.ref-block.v-1syq7kl{position:absolute;top:0;width:100%;height:100%}.hidden.v-1syq7kl{display:none}")}function fg(t){let e,i,n,l,r,o,s;return i=new Jc({props:{completed:!0}}),{c(){e=T("div"),W(i.$$.fragment),n=z(),l=T("div"),u(l,"class","ref-block v-1syq7kl"),V(l,"hidden",t[2]),u(e,"class","interactive-episode-icon-animated v-1syq7kl"),V(e,"mobile",t[1]),V(e,"fullscreen",t[3]),V(e,"invisible",t[2])},m(a,c){P(a,e,c),q(i,e,null),p(e,n),p(e,l),t[14](l),r=!0,o||(s=pe(e,"click",t[9]),o=!0)},p(a,[c]){(!r||c&4)&&V(l,"hidden",a[2]),(!r||c&2)&&V(e,"mobile",a[1]),(!r||c&8)&&V(e,"fullscreen",a[3]),(!r||c&4)&&V(e,"invisible",a[2])},i(a){r||(m(i.$$.fragment,a),r=!0)},o(a){g(i.$$.fragment,a),r=!1},d(a){a&&S(e),j(i),t[14](null),o=!1,s()}}}function dg(t,e,i){var E;let n,l,r,o,s,{ref:a=void 0}=e;const c=Tt(),f=c.ui.isMobile;D(t,f,F=>i(1,o=F));const d=c.ui.isFullscreen;D(t,d,F=>i(3,s=F));const h=c.state.isInteractiveTime$;D(t,h,F=>i(12,l=F));const b=c.ui.controlsVisible;D(t,b,F=>i(13,r=F));const v=(E=c.callbacks)==null?void 0:E.onInteractiveTimeIconClick,{interactiveControlsOpacity$:w}=Ho();D(t,w,F=>i(11,n=F));let _,k;const y=()=>{k||v==null||v()};function C(F){ke[F?"unshift":"push"](()=>{a=F,i(0,a)})}return t.$$set=F=>{"ref"in F&&i(0,a=F.ref)},t.$$.update=()=>{t.$$.dirty&8194&&i(10,_=!o&&r),t.$$.dirty&7168&&i(2,k=!l||!!n||_)},[a,o,k,s,f,d,h,b,w,y,_,n,l,r,C]}class wf extends ye{constructor(e){super(),we(this,e,dg,fg,ge,{ref:0},cg)}}const{Boolean:mg}=gl;function pg(t){We(t,"v-st0uzk",".wrapper-bottom.v-st0uzk.v-st0uzk{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-st0uzk>.v-st0uzk{pointer-events:auto}.controls.v-st0uzk.v-st0uzk{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-st0uzk.v-st0uzk,.controls-right.v-st0uzk.v-st0uzk{display:flex;align-content:center}.controls-left.v-st0uzk.v-st0uzk{flex-grow:1;min-width:0;overflow:hidden}.controls-left.v-st0uzk > *:not(:first-child),.controls-right.v-st0uzk > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-st0uzk.v-st0uzk{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-st0uzk.v-st0uzk{transition:none}.settings-menu.v-st0uzk.v-st0uzk{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function Ra(t,e,i){const n=t.slice();return n[211]=e[i].iconUrl,n[212]=e[i].ariaLabel,n[213]=e[i].testId,n[214]=e[i].onClick,n[215]=e[i].tooltip,n}function Oa(t){let e,i,n;function l(o){t[174](o)}let r={disabled:!t[9],tooltipContent:Y("tooltip_previous"),$$slots:{default:[hg]},$$scope:{ctx:t}};return t[23].prevButton!==void 0&&(r.ref=t[23].prevButton),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[0]&512&&(a.disabled=!o[9]),s[0]&4608|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].prevButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function hg(t){let e,i;return e=new Sl({props:{click:t[12],type:"prev",disabled:!t[9],isMobile:!1}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&4096&&(r.click=n[12]),l[0]&512&&(r.disabled=!n[9]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Da(t){let e,i,n;function l(o){t[175](o)}let r={disabled:t[75],tooltipContent:Y("tooltip_restart"),$$slots:{default:[vg]},$$scope:{ctx:t}};return t[23].replayButton!==void 0&&(r.ref=t[23].replayButton),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[2]&8192&&(a.disabled=o[75]),s[2]&8192|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].replayButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function vg(t){let e,i;return e=new Ir({props:{click:t[129],disabled:t[75]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[2]&8192&&(r.disabled=n[75]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function za(t){let e,i,n;function l(o){t[177](o)}let r={tooltipContent:t[48],disabled:t[76],$$slots:{default:[gg]},$$scope:{ctx:t}};return t[23].playButton!==void 0&&(r.ref=t[23].playButton),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.tooltipContent=o[48]),s[2]&16384&&(a.disabled=o[76]),s[0]&67108864|s[1]&16|s[2]&16384|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].playButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function gg(t){let e,i,n;function l(o){t[176](o)}let r={isMobile:!1,isPlaying:t[35],click:t[86],disabled:t[76]};return t[26]!==void 0&&(r.ref=t[26]),e=new Ar({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[1]&16&&(a.isPlaying=o[35]),s[2]&16384&&(a.disabled=o[76]),!i&&s[0]&67108864&&(i=!0,a.ref=o[26],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Fa(t){let e,i,n;function l(o){t[178](o)}let r={disabled:!t[8],tooltipContent:Y("tooltip_next"),$$slots:{default:[bg]},$$scope:{ctx:t}};return t[23].nextButton!==void 0&&(r.ref=t[23].nextButton),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[0]&256&&(a.disabled=!o[8]),s[0]&2304|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].nextButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function bg(t){let e,i;return e=new Sl({props:{click:t[11],type:"next",disabled:!t[8],isMobile:!1}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&2048&&(r.click=n[11]),l[0]&256&&(r.disabled=!n[8]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function _g(t){let e,i,n,l,r=t[123]&&wg(t),o=t[122]&&kg(t),s=t[121]&&Sg(t);return{c(){r&&r.c(),e=z(),o&&o.c(),i=z(),s&&s.c(),n=bt()},m(a,c){r&&r.m(a,c),P(a,e,c),o&&o.m(a,c),P(a,i,c),s&&s.m(a,c),P(a,n,c),l=!0},p(a,c){a[123]&&r.p(a,c),a[122]&&o.p(a,c),a[121]&&s.p(a,c)},i(a){l||(m(r),m(o),m(s),l=!0)},o(a){g(r),g(o),g(s),l=!1},d(a){a&&(S(e),S(i),S(n)),r&&r.d(a),o&&o.d(a),s&&s.d(a)}}}function wg(t){let e,i,n;function l(o){t[179](o)}let r={disabled:t[74],tooltipContent:Y("tooltip_interactive_go_back"),disabledTooltipContent:Y(t[125]),$$slots:{default:[yg]},$$scope:{ctx:t}};return t[23].playPrevChapterButton!==void 0&&(r.ref=t[23].playPrevChapterButton),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[2]&4096&&(a.disabled=o[74]),s[0]&131072|s[2]&4096|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].playPrevChapterButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function yg(t){let e,i;return e=new df({props:{disabled:t[74],click:t[17]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[2]&4096&&(r.disabled=n[74]),l[0]&131072&&(r.click=n[17]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function kg(t){let e,i,n;function l(o){t[180](o)}let r={disabled:t[77],tooltipContent:Y("tooltip_interactive_seek"),disabledTooltipContent:Y(t[79]),$$slots:{default:[Cg]},$$scope:{ctx:t}};return t[23].seekToInteractiveButton!==void 0&&(r.ref=t[23].seekToInteractiveButton),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[2]&32768&&(a.disabled=o[77]),s[2]&131072&&(a.disabledTooltipContent=Y(o[79])),s[0]&32768|s[2]&32768|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].seekToInteractiveButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Cg(t){let e,i;return e=new uf({props:{disabled:t[77],click:t[15]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[2]&32768&&(r.disabled=n[77]),l[0]&32768&&(r.click=n[15]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Sg(t){let e,i,n;function l(o){t[181](o)}let r={tooltipContent:t[49],disabled:t[78],$$slots:{default:[Pg]},$$scope:{ctx:t}};return t[23].interactiveGraphButton!==void 0&&(r.ref=t[23].interactiveGraphButton),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[1]&262144&&(a.tooltipContent=o[49]),s[2]&65536&&(a.disabled=o[78]),s[0]&65536|s[1]&1|s[2]&65536|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].interactiveGraphButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Pg(t){let e,i;return e=new cf({props:{click:t[16],graphIsOpened:t[31],disabled:t[78]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&65536&&(r.click=n[16]),l[1]&1&&(r.graphIsOpened=n[31]),l[2]&65536&&(r.disabled=n[78]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Ha(t){let e,i,n;function l(o){t[182](o)}let r={tooltipContent:t[51],$$slots:{default:[Tg]},$$scope:{ctx:t}};return t[23].liveButton!==void 0&&(r.ref=t[23].liveButton),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[1]&1048576&&(a.tooltipContent=o[51]),s[0]&2097152|s[1]&1048576|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].liveButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Tg(t){let e,i;return e=new of({props:{isActiveLive:t[21],isMobile:!1,ariaLabel:t[51]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&2097152&&(r.isActiveLive=n[21]),l[1]&1048576&&(r.ariaLabel=n[51]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Ua(t){let e,i,n;function l(o){t[183](o)}let r={isMobile:!1,showDuration:t[56],position:t[4]?t[80]:t[81],duration:t[4]?t[82]:t[83]};return t[23].time!==void 0&&(r.ref=t[23].time),e=new Qc({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[1]&33554432&&(a.showDuration=o[56]),s[0]&16|s[2]&786432&&(a.position=o[4]?o[80]:o[81]),s[0]&16|s[2]&3145728&&(a.duration=o[4]?o[82]:o[83]),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].time,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function qa(t){let e,i;return e=new af({props:{position:t[81],duration:t[83],timeCodes:t[102]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[2]&524288&&(r.position=n[81]),l[2]&2097152&&(r.duration=n[83]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Eg(t){let e,i,n=t[20]&&qa(t);return{c(){n&&n.c(),e=bt()},m(l,r){n&&n.m(l,r),P(l,e,r),i=!0},p(l,r){l[20]?n?(n.p(l,r),r[0]&1048576&&m(n,1)):(n=qa(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(l){i||(m(n),i=!0)},o(l){g(n),i=!1},d(l){l&&S(e),n&&n.d(l)}}}function Ag(t){var n;let e,i;return e=new mf({props:{iconUrl:t[211],ariaLabel:(n=t[212])!=null?n:t[215],testId:t[213],onClick:t[214]}}),{c(){W(e.$$.fragment)},m(l,r){q(e,l,r),i=!0},p(l,r){var s;const o={};r[0]&268435456&&(o.iconUrl=l[211]),r[0]&268435456&&(o.ariaLabel=(s=l[212])!=null?s:l[215]),r[0]&268435456&&(o.testId=l[213]),r[0]&268435456&&(o.onClick=l[214]),e.$set(o)},i(l){i||(m(e.$$.fragment,l),i=!0)},o(l){g(e.$$.fragment,l),i=!1},d(l){j(e,l)}}}function ja(t){let e,i;return e=new Kt({props:{tooltipContent:t[215],width:40,$$slots:{default:[Ag]},$$scope:{ctx:t}}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&268435456&&(r.tooltipContent=n[215]),l[0]&268435456|l[7]&2&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Ka(t){let e,i,n;function l(o){t[186](o)}let r={disabled:!t[6],tooltipContent:t[52],$$slots:{default:[Ig]},$$scope:{ctx:t}};return t[23].vkLogo!==void 0&&(r.ref=t[23].vkLogo),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[0]&64&&(a.disabled=!o[6]),s[1]&2097152&&(a.tooltipContent=o[52]),s[0]&192|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].vkLogo,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Ig(t){let e,i;return e=new tf({props:{click:t[87],logoClickable:t[6],videoLogoUrl:t[7]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&64&&(r.logoClickable=n[6]),l[0]&128&&(r.videoLogoUrl=n[7]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Lg(t){let e,i;return e=new Kh({props:{click:t[128]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p:G,i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Wa(t){let e,i,n;function l(o){t[188](o)}let r={tooltipContent:t[53],$$slots:{default:[Mg]},$$scope:{ctx:t}};return t[23].subtitles!==void 0&&(r.ref=t[23].subtitles),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[1]&4194304&&(a.tooltipContent=o[53]),s[0]&262144|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].subtitles,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Mg(t){let e,i;return e=new th({props:{isSubtitlesEnabled:t[18],click:t[88]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&262144&&(r.isSubtitlesEnabled=n[18]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Za(t){var s;let e,i,n,l;function r(a){t[189](a)}let o={supportLink:t[10],playerControlsHeight:(s=t[47])==null?void 0:s.clientHeight,returnFocus:t[14]};return t[24]!==void 0&&(o.ref=t[24]),i=new Yc({props:o}),ke.push(()=>qe(i,"ref",r)),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(a,c){P(a,e,c),q(i,e,null),l=!0},p(a,c){var d;const f={};c[0]&1024&&(f.supportLink=a[10]),c[1]&65536&&(f.playerControlsHeight=(d=a[47])==null?void 0:d.clientHeight),c[0]&16384&&(f.returnFocus=a[14]),!n&&c[0]&16777216&&(n=!0,f.ref=a[24],Ue(()=>n=!1)),i.$set(f)},i(a){l||(m(i.$$.fragment,a),l=!0)},o(a){g(i.$$.fragment,a),l=!1},d(a){a&&S(e),j(i)}}}function Ga(t){let e,i,n;function l(o){t[191](o)}let r={tooltipContent:t[27]?void 0:Y("tooltip_settings_off"),$$slots:{default:[Vg]},$$scope:{ctx:t}};return t[23].settings!==void 0&&(r.ref=t[23].settings),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[0]&134217728&&(a.tooltipContent=o[27]?void 0:Y("tooltip_settings_off")),s[0]&33554432|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].settings,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Vg(t){let e,i,n;function l(o){t[190](o)}let r={};return t[25]!==void 0&&(r.ref=t[25]),e=new Pr({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&33554432&&(i=!0,a.ref=o[25],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Bg(t){let e,i,n;function l(o){t[192](o)}let r={className:t[42]?"":"out-of-view",tooltipContent:t[50],$$slots:{default:[Ng]},$$scope:{ctx:t}};return t[23].context!==void 0&&(r.ref=t[23].context),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[1]&2048&&(a.className=o[42]?"":"out-of-view"),s[1]&524288&&(a.tooltipContent=o[50]),s[1]&524288|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].context,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Ng(t){let e,i;return e=new ug({props:{ariaLabel:t[50]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[1]&524288&&(r.ariaLabel=n[50]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Ya(t){let e,i,n;function l(o){t[193](o)}let r={tooltipContent:t[54],$$slots:{default:[Rg]},$$scope:{ctx:t}};return t[23].fullscreen!==void 0&&(r.ref=t[23].fullscreen),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[1]&8388608&&(a.tooltipContent=o[54]),s[0]&1073750016|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].fullscreen,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Rg(t){let e,i;return e=new $c({props:{click:t[13],isFullscreen:t[30]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&8192&&(r.click=n[13]),l[0]&1073741824&&(r.isFullscreen=n[30]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Qa(t){let e,i,n;function l(o){t[194](o)}let r={tooltipContent:t[55],$$slots:{default:[Og]},$$scope:{ctx:t}};return t[23].chromecast!==void 0&&(r.ref=t[23].chromecast),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[1]&16777216&&(a.tooltipContent=o[55]),s[0]&536870912|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].chromecast,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Og(t){let e,i;return e=new nf({props:{isMobile:!1,state:t[29],click:t[127]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&536870912&&(r.state=n[29]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Xa(t){let e,i,n;function l(o){t[197](o)}let r={};return t[23].interactiveTimeIcon!==void 0&&(r.ref=t[23].interactiveTimeIcon),e=new wf({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&8388608&&(i=!0,a.ref=o[23].interactiveTimeIcon,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Dg(t){let e,i,n,l,r,o,s,a,c,f,d,h,b,v,w,_,k,y,C,E,F,R,B,se,ae,O,$,J,Q,I;i=new sf({props:{isHidden:!t[46],isAds:t[4],canRewindLive:t[5],isRewindableLive:t[32]}});let M=t[39]&&Oa(t),ee=t[36]&&Da(t),L=t[37]&&za(t),ie=t[38]&&Fa(t),Le=t[118]&&_g(t),Pe=!t[4]&&t[33]&&Ha(t),Me=t[19]&&Ua(t);function Ne(ue){t[184](ue)}let be={className:"w-max",disabled:!t[20],tooltipContent:Y("tooltip_episodes"),$$slots:{default:[Eg]},$$scope:{ctx:t}};t[23].episodes!==void 0&&(be.ref=t[23].episodes),b=new Kt({props:be}),ke.push(()=>qe(b,"ref",Ne));let Ce=Gt(t[28]),Z=[];for(let ue=0;ue<Ce.length;ue+=1)Z[ue]=ja(Ra(t,Ce,ue));const ce=ue=>g(Z[ue],1,1,()=>{Z[ue]=null});let he=t[44]&&Ka(t);function Ke(ue){t[187](ue)}let _e={$$slots:{default:[Lg]},$$scope:{ctx:t}};t[23].volume!==void 0&&(_e.ref=t[23].volume),E=new Kt({props:_e}),ke.push(()=>qe(E,"ref",Ke));let Ee=t[41]&&Wa(t),Re=!t[84]&&!t[4]&&Za(t),me=t[43]&&Ga(t),Te=t[85].features.contextMenuButton&&Bg(t),H=t[45]&&Ya(t),ne=t[40]&&Qa(t),Ae=t[34]&&Xa(t);return{c(){e=T("div"),W(i.$$.fragment),n=z(),l=T("div"),r=T("div"),M&&M.c(),o=z(),ee&&ee.c(),s=z(),L&&L.c(),a=z(),ie&&ie.c(),c=z(),Le&&Le.c(),f=z(),Pe&&Pe.c(),d=z(),Me&&Me.c(),h=z(),W(b.$$.fragment),_=z(),k=T("div");for(let ue=0;ue<Z.length;ue+=1)Z[ue].c();y=z(),he&&he.c(),C=z(),W(E.$$.fragment),R=z(),Ee&&Ee.c(),B=z(),Re&&Re.c(),se=z(),me&&me.c(),ae=z(),Te&&Te.c(),O=z(),H&&H.c(),$=z(),ne&&ne.c(),J=z(),Ae&&Ae.c(),Q=bt(),u(r,"class","controls-left v-st0uzk"),To(()=>t[185].call(r)),u(k,"class","controls-right v-st0uzk"),u(l,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),V(e,"hidden",t[1]),V(e,"controls-hidden",!t[3]),V(e,"no-smooth",t[2])},m(ue,Se){P(ue,e,Se),q(i,e,null),p(e,n),p(e,l),p(l,r),M&&M.m(r,null),p(r,o),ee&&ee.m(r,null),p(r,s),L&&L.m(r,null),p(r,a),ie&&ie.m(r,null),p(r,c),Le&&Le.m(r,null),p(r,f),Pe&&Pe.m(r,null),p(r,d),Me&&Me.m(r,null),p(r,h),q(b,r,null),w=mr(r,t[185].bind(r)),p(l,_),p(l,k);for(let Ze=0;Ze<Z.length;Ze+=1)Z[Ze]&&Z[Ze].m(k,null);p(k,y),he&&he.m(k,null),p(k,C),q(E,k,null),p(k,R),Ee&&Ee.m(k,null),p(k,B),Re&&Re.m(k,null),p(k,se),me&&me.m(k,null),p(k,ae),Te&&Te.m(k,null),p(k,O),H&&H.m(k,null),p(k,$),ne&&ne.m(k,null),t[195](l),t[196](e),P(ue,J,Se),Ae&&Ae.m(ue,Se),P(ue,Q,Se),I=!0},p(ue,Se){const Ze={};Se[1]&32768&&(Ze.isHidden=!ue[46]),Se[0]&16&&(Ze.isAds=ue[4]),Se[0]&32&&(Ze.canRewindLive=ue[5]),Se[1]&2&&(Ze.isRewindableLive=ue[32]),i.$set(Ze),ue[39]?M?(M.p(ue,Se),Se[1]&256&&m(M,1)):(M=Oa(ue),M.c(),m(M,1),M.m(r,o)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),ue[36]?ee?(ee.p(ue,Se),Se[1]&32&&m(ee,1)):(ee=Da(ue),ee.c(),m(ee,1),ee.m(r,s)):ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()),ue[37]?L?(L.p(ue,Se),Se[1]&64&&m(L,1)):(L=za(ue),L.c(),m(L,1),L.m(r,a)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),ue[38]?ie?(ie.p(ue,Se),Se[1]&128&&m(ie,1)):(ie=Fa(ue),ie.c(),m(ie,1),ie.m(r,c)):ie&&(fe(),g(ie,1,1,()=>{ie=null}),de()),ue[118]&&Le.p(ue,Se),!ue[4]&&ue[33]?Pe?(Pe.p(ue,Se),Se[0]&16|Se[1]&4&&m(Pe,1)):(Pe=Ha(ue),Pe.c(),m(Pe,1),Pe.m(r,d)):Pe&&(fe(),g(Pe,1,1,()=>{Pe=null}),de()),ue[19]?Me?(Me.p(ue,Se),Se[0]&524288&&m(Me,1)):(Me=Ua(ue),Me.c(),m(Me,1),Me.m(r,h)):Me&&(fe(),g(Me,1,1,()=>{Me=null}),de());const it={};if(Se[0]&1048576&&(it.disabled=!ue[20]),Se[0]&1048576|Se[2]&2621440|Se[7]&2&&(it.$$scope={dirty:Se,ctx:ue}),!v&&Se[0]&8388608&&(v=!0,it.ref=ue[23].episodes,Ue(()=>v=!1)),b.$set(it),Se[0]&268435456){Ce=Gt(ue[28]);let xe;for(xe=0;xe<Ce.length;xe+=1){const ot=Ra(ue,Ce,xe);Z[xe]?(Z[xe].p(ot,Se),m(Z[xe],1)):(Z[xe]=ja(ot),Z[xe].c(),m(Z[xe],1),Z[xe].m(k,y))}for(fe(),xe=Ce.length;xe<Z.length;xe+=1)ce(xe);de()}ue[44]?he?(he.p(ue,Se),Se[1]&8192&&m(he,1)):(he=Ka(ue),he.c(),m(he,1),he.m(k,C)):he&&(fe(),g(he,1,1,()=>{he=null}),de());const ut={};Se[7]&2&&(ut.$$scope={dirty:Se,ctx:ue}),!F&&Se[0]&8388608&&(F=!0,ut.ref=ue[23].volume,Ue(()=>F=!1)),E.$set(ut),ue[41]?Ee?(Ee.p(ue,Se),Se[1]&1024&&m(Ee,1)):(Ee=Wa(ue),Ee.c(),m(Ee,1),Ee.m(k,B)):Ee&&(fe(),g(Ee,1,1,()=>{Ee=null}),de()),!ue[84]&&!ue[4]?Re?(Re.p(ue,Se),Se[0]&16|Se[2]&4194304&&m(Re,1)):(Re=Za(ue),Re.c(),m(Re,1),Re.m(k,se)):Re&&(fe(),g(Re,1,1,()=>{Re=null}),de()),ue[43]?me?(me.p(ue,Se),Se[1]&4096&&m(me,1)):(me=Ga(ue),me.c(),m(me,1),me.m(k,ae)):me&&(fe(),g(me,1,1,()=>{me=null}),de()),ue[85].features.contextMenuButton&&Te.p(ue,Se),ue[45]?H?(H.p(ue,Se),Se[1]&16384&&m(H,1)):(H=Ya(ue),H.c(),m(H,1),H.m(k,$)):H&&(fe(),g(H,1,1,()=>{H=null}),de()),ue[40]?ne?(ne.p(ue,Se),Se[1]&512&&m(ne,1)):(ne=Qa(ue),ne.c(),m(ne,1),ne.m(k,null)):ne&&(fe(),g(ne,1,1,()=>{ne=null}),de()),(!I||Se[0]&2)&&V(e,"hidden",ue[1]),(!I||Se[0]&8)&&V(e,"controls-hidden",!ue[3]),(!I||Se[0]&4)&&V(e,"no-smooth",ue[2]),ue[34]?Ae?(Ae.p(ue,Se),Se[1]&8&&m(Ae,1)):(Ae=Xa(ue),Ae.c(),m(Ae,1),Ae.m(Q.parentNode,Q)):Ae&&(fe(),g(Ae,1,1,()=>{Ae=null}),de())},i(ue){if(!I){m(i.$$.fragment,ue),m(M),m(ee),m(L),m(ie),m(Le),m(Pe),m(Me),m(b.$$.fragment,ue);for(let Se=0;Se<Ce.length;Se+=1)m(Z[Se]);m(he),m(E.$$.fragment,ue),m(Ee),m(Re),m(me),m(Te),m(H),m(ne),m(Ae),I=!0}},o(ue){g(i.$$.fragment,ue),g(M),g(ee),g(L),g(ie),g(Le),g(Pe),g(Me),g(b.$$.fragment,ue),Z=Z.filter(mg);for(let Se=0;Se<Z.length;Se+=1)g(Z[Se]);g(he),g(E.$$.fragment,ue),g(Ee),g(Re),g(me),g(Te),g(H),g(ne),g(Ae),I=!1},d(ue){ue&&(S(e),S(J),S(Q)),j(i),M&&M.d(),ee&&ee.d(),L&&L.d(),ie&&ie.d(),Le&&Le.d(),Pe&&Pe.d(),Me&&Me.d(),j(b),w(),Mn(Z,ue),he&&he.d(),j(E),Ee&&Ee.d(),Re&&Re.d(),me&&me.d(),Te&&Te.d(),H&&H.d(),ne&&ne.d(),t[195](null),t[196](null),Ae&&Ae.d(ue)}}}function zg(t,e,i){var Hr,Ur;let n,l,r,o,s,a,c,f,d,h,b,v,w,_,k,y,C,E,F,R,B,se,ae,O,$,J,Q,I,M,ee,L,ie,Le=G,Pe=()=>(Le(),Le=ei(ae,K=>i(145,ie=K)),ae),Me,Ne=G,be=()=>(Ne(),Ne=ei(se,K=>i(146,Me=K)),se),Ce,Z=G,ce=()=>(Z(),Z=ei(B,K=>i(147,Ce=K)),B),he,Ke=G,_e=()=>(Ke(),Ke=ei(R,K=>i(148,he=K)),R),Ee,Re=G,me=()=>(Re(),Re=ei(F,K=>i(149,Ee=K)),F),Te,H=G,ne=()=>(H(),H=ei(E,K=>i(150,Te=K)),E),Ae,ue=G,Se=()=>(ue(),ue=ei(C,K=>i(151,Ae=K)),C),Ze,it=G,ut=()=>(it(),it=ei(y,K=>i(152,Ze=K)),y),xe,ot=G,st=()=>(ot(),ot=ei(k,K=>i(153,xe=K)),k),wt,Oe=G,dt=()=>(Oe(),Oe=ei(_,K=>i(154,wt=K)),_),ct,Et=G,re=()=>(Et(),Et=ei(w,K=>i(155,ct=K)),w),At,gt=G,Vt=()=>(gt(),gt=ei(v,K=>i(156,At=K)),v),ft,yt=G,Xe=()=>(yt(),yt=ei(b,K=>i(157,ft=K)),b),He,It=G,xi=()=>(It(),It=ei(h,K=>i(158,He=K)),h),Pi,Oi=G,ln=()=>(Oi(),Oi=ei(d,K=>i(159,Pi=K)),d),Yt,Ht=G,oi=()=>(Ht(),Ht=ei(f,K=>i(160,Yt=K)),f),Ot,li=G,Zi=()=>(li(),li=ei(c,K=>i(161,Ot=K)),c),hi,Ti,ri,vi,Di,Ei,gi,si,zi,Lt,Mt,bi,Ai,Dt,mt,ai,lt,ui,Ii,Li,Wt,Fi,Hi,Ut;t.$$.on_destroy.push(()=>Le()),t.$$.on_destroy.push(()=>Ne()),t.$$.on_destroy.push(()=>Z()),t.$$.on_destroy.push(()=>Ke()),t.$$.on_destroy.push(()=>Re()),t.$$.on_destroy.push(()=>H()),t.$$.on_destroy.push(()=>ue()),t.$$.on_destroy.push(()=>it()),t.$$.on_destroy.push(()=>ot()),t.$$.on_destroy.push(()=>Oe()),t.$$.on_destroy.push(()=>Et()),t.$$.on_destroy.push(()=>gt()),t.$$.on_destroy.push(()=>yt()),t.$$.on_destroy.push(()=>It()),t.$$.on_destroy.push(()=>Oi()),t.$$.on_destroy.push(()=>Ht()),t.$$.on_destroy.push(()=>li());let{bottomHidden:Mi}=e,{bottomNoSmooth:Vi}=e,{showControls:Ui}=e,{controlsElementRef:Gi=void 0}=e,{isAds:qt=!1}=e,{canRewindLive:Bt}=e,{logoClickable:Qt}=e,{logoHidden:Bi}=e,{videoLogoUrl:fn}=e,{showNextPrevButtons:ci}=e,{nextButtonActive:$i}=e,{prevButtonActive:fi}=e,{isOneVideoPlaylist:Zt=!1}=e,{supportLink:qi}=e,{customFullscreenSupported:_i=!0}=e,{playNextVideo:ji}=e,{playPrevVideo:Xt}=e,{repeatPlaylist:wi}=e,{toggleFullscreen:di}=e,{returnFocus:Ki}=e,{seekToInteractive:mi}=e,{toggleGraph:Jt}=e,{playPrevChapter:yi}=e;const je=Tt(),Wi=Ho(),xt=yn(),ki=je.actions.internal.toggleMuted,Be=je.actions.internal.togglePlay,dn=je.actions.internal.pause,rn=je.actions.internal.toggleSubtitle,Yi=(Hr=je.callbacks)==null?void 0:Hr.onAudioDoesNotExistHint,Nt=(Ur=je.callbacks)==null?void 0:Ur.onAudioDisabledHint,sn=je.state.duration$;D(t,sn,K=>i(83,Hi=K));const en=je.state.positionWithScrubbing$;D(t,en,K=>i(81,Wt=K));const Qi=je.state.playbackState$;D(t,Qi,K=>i(162,ri=K));const tn=je.state.chromecastConnected$;D(t,tn,K=>i(84,Ut=K));const le=je.state.isAudioAvailable$;D(t,le,K=>i(198,O=K));const Je=je.state.isAudioDisabled,pt=je.state.isEnded$;D(t,pt,K=>i(170,Dt=K));const Ci=je.state.isLive$;D(t,Ci,K=>i(33,si=K));const $t=je.state.isActiveLive$;D(t,$t,K=>i(164,Ei=K));const mn=je.state.isRewindableLive$;D(t,mn,K=>i(32,gi=K));const jt=je.ui.isPictureInPictureActive$;D(t,jt,K=>i(166,Lt=K));const kn=je.ui.pictureInPictureType$;D(t,kn,K=>i(165,zi=K));const Cn=je.ui.settingsMenuVisible;D(t,Cn,K=>i(27,Q=K));const an=je.ui.settingsMenuOpenedByKeyboard;D(t,an,K=>i(141,J=K));const Sn=je.ui.controls,pn=je.actions.internal.getVideoEpisodes(),nn=je.state.chromecastState$;D(t,nn,K=>i(29,hi=K));const Pn=je.state.availableSubtitlesList$;D(t,Pn,K=>i(169,Ai=K));const hn=je.state.currentSubtitle$;D(t,hn,K=>i(171,mt=K));const Tn=Sn.disabledControls$;D(t,Tn,K=>i(173,lt=K));const x=je.ui.contextMenu.visible$;D(t,x,K=>i(163,vi=K));const _t=je.ui.contextMenu.showContextMenuBtn$;D(t,_t,K=>i(167,Mt=K));const vn=je.ui.contextMenu.openedByBtnKeyboard$;D(t,vn,K=>i(168,bi=K));const Xi=je.ui.startedByKeyboard$;D(t,Xi,K=>i(140,$=K));const gn=je.ads.duration;D(t,gn,K=>i(82,Fi=K));const un=je.ads.position;D(t,un,K=>i(80,Li=K));const Kn=je.ads.playbackState;D(t,Kn,K=>i(172,ai=K));const Wn=je.ui.isFullscreen;D(t,Wn,K=>i(30,Ti=K));const Zn=je.ui.playerSize;D(t,Zn,K=>i(143,M=K));const Gn=je.ui.currentGridType$;D(t,Gn,K=>i(144,ee=K));const Yn=je.ui.additionalButtons$;D(t,Yn,K=>i(28,L=K));const Vn=je.actions.internal.getVideoElement,Qn=je.actions.internal.replayInteractive,pi=je.state.isInteractive,bn=je.state.isInteractiveTime$;D(t,bn,K=>i(142,I=K));const X=je.state.interactiveEpisodes$;D(t,X,K=>i(199,ui=K));const no=je.state.showInteractiveGraph,ao=je.state.showSeekToInteractive,Lo=je.state.showPlayPrevChapter,uo=je.state.graphIsOpened$;D(t,uo,K=>i(31,Di=K));const Mo=je.state.playPrevChapterDisabledTooltip,co=Wi.seekToInteractiveDisabledTooltip$;D(t,co,K=>i(79,Ii=K));let Xn;Xn=!!(pi&&ui.length);const Vo=()=>je.actions.internal.toggleChromecast();let U,kt,_n,nt,A,oe,ve,Fe,Qe,ht,Rt,Ct,Ni,Jn,Go,fo,Pl,Tl,Vr,Br,Nr,El="";const Nf=(K,Il)=>{if(!K){i(51,El=Y("tooltip_live"));return}Il===et.PlaybackState.PAUSED&&i(51,El=Y("tooltip_play"))};let Rr,Or,Dr,zr,Yo;const Ge={};let En,Bo,Al,Fr;const Rf=te.throttleFn(bf,V1,{leading:!1});let Qo,Xo,Jo;function Of(){Je?Nt==null||Nt():O?ki():Yi==null||Yi()}const Df=pi?Qn:Zt?Be:wi;function zf(K){t.$$.not_equal(Ge.prevButton,K)&&(Ge.prevButton=K,i(23,Ge))}function Ff(K){t.$$.not_equal(Ge.replayButton,K)&&(Ge.replayButton=K,i(23,Ge))}function Hf(K){Jo=K,i(26,Jo)}function Uf(K){t.$$.not_equal(Ge.playButton,K)&&(Ge.playButton=K,i(23,Ge))}function qf(K){t.$$.not_equal(Ge.nextButton,K)&&(Ge.nextButton=K,i(23,Ge))}function jf(K){t.$$.not_equal(Ge.playPrevChapterButton,K)&&(Ge.playPrevChapterButton=K,i(23,Ge))}function Kf(K){t.$$.not_equal(Ge.seekToInteractiveButton,K)&&(Ge.seekToInteractiveButton=K,i(23,Ge))}function Wf(K){t.$$.not_equal(Ge.interactiveGraphButton,K)&&(Ge.interactiveGraphButton=K,i(23,Ge))}function Zf(K){t.$$.not_equal(Ge.liveButton,K)&&(Ge.liveButton=K,i(23,Ge))}function Gf(K){t.$$.not_equal(Ge.time,K)&&(Ge.time=K,i(23,Ge))}function Yf(K){t.$$.not_equal(Ge.episodes,K)&&(Ge.episodes=K,i(23,Ge))}function Qf(){Yo=this.clientWidth,i(22,Yo)}function Xf(K){t.$$.not_equal(Ge.vkLogo,K)&&(Ge.vkLogo=K,i(23,Ge))}function Jf(K){t.$$.not_equal(Ge.volume,K)&&(Ge.volume=K,i(23,Ge))}function xf(K){t.$$.not_equal(Ge.subtitles,K)&&(Ge.subtitles=K,i(23,Ge))}function $f(K){Qo=K,i(24,Qo)}function e0(K){Xo=K,i(25,Xo)}function t0(K){t.$$.not_equal(Ge.settings,K)&&(Ge.settings=K,i(23,Ge))}function i0(K){t.$$.not_equal(Ge.context,K)&&(Ge.context=K,i(23,Ge))}function n0(K){t.$$.not_equal(Ge.fullscreen,K)&&(Ge.fullscreen=K,i(23,Ge))}function o0(K){t.$$.not_equal(Ge.chromecast,K)&&(Ge.chromecast=K,i(23,Ge))}function l0(K){ke[K?"unshift":"push"](()=>{Pl=K,i(47,Pl)})}function r0(K){ke[K?"unshift":"push"](()=>{Gi=K,i(0,Gi)})}function s0(K){t.$$.not_equal(Ge.interactiveTimeIcon,K)&&(Ge.interactiveTimeIcon=K,i(23,Ge))}return t.$$set=K=>{"bottomHidden"in K&&i(1,Mi=K.bottomHidden),"bottomNoSmooth"in K&&i(2,Vi=K.bottomNoSmooth),"showControls"in K&&i(3,Ui=K.showControls),"controlsElementRef"in K&&i(0,Gi=K.controlsElementRef),"isAds"in K&&i(4,qt=K.isAds),"canRewindLive"in K&&i(5,Bt=K.canRewindLive),"logoClickable"in K&&i(6,Qt=K.logoClickable),"logoHidden"in K&&i(130,Bi=K.logoHidden),"videoLogoUrl"in K&&i(7,fn=K.videoLogoUrl),"showNextPrevButtons"in K&&i(131,ci=K.showNextPrevButtons),"nextButtonActive"in K&&i(8,$i=K.nextButtonActive),"prevButtonActive"in K&&i(9,fi=K.prevButtonActive),"isOneVideoPlaylist"in K&&i(132,Zt=K.isOneVideoPlaylist),"supportLink"in K&&i(10,qi=K.supportLink),"customFullscreenSupported"in K&&i(133,_i=K.customFullscreenSupported),"playNextVideo"in K&&i(11,ji=K.playNextVideo),"playPrevVideo"in K&&i(12,Xt=K.playPrevVideo),"repeatPlaylist"in K&&i(134,wi=K.repeatPlaylist),"toggleFullscreen"in K&&i(13,di=K.toggleFullscreen),"returnFocus"in K&&i(14,Ki=K.returnFocus),"seekToInteractive"in K&&i(15,mi=K.seekToInteractive),"toggleGraph"in K&&i(16,Jt=K.toggleGraph),"playPrevChapter"in K&&i(17,yi=K.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[5]&262144&&i(139,n=lt.has(vt.EPISODE_BUTTON)),t.$$.dirty[5]&262144&&i(78,l=lt.has(vt.GRAPH_BUTTON)),t.$$.dirty[5]&262144&&i(77,r=lt.has(vt.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[5]&262144&&i(76,o=lt.has(vt.PLAY_BUTTON)),t.$$.dirty[5]&262144&&i(75,s=lt.has(vt.REPLAY_BUTTON)),t.$$.dirty[5]&262144&&i(74,a=lt.has(vt.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[0]&16|t.$$.dirty[5]&131200&&i(35,U=qt?ai===ti.PLAYING:ri===et.PlaybackState.PLAYING),t.$$.dirty[5]&65536&&i(18,kt=mt.value!=="off"),t.$$.dirty[0]&16|t.$$.dirty[5]&32768&&i(36,_n=Dt&&!qt||pi),t.$$.dirty[0]&16|t.$$.dirty[5]&32768&&i(37,nt=!Dt||pi||qt),t.$$.dirty[4]&1048576&&i(135,A=An(ee,exports.GridTypes.M)),t.$$.dirty[0]&272|t.$$.dirty[4]&1048704&&i(38,oe=ci&&An(ee,exports.GridTypes.M)&&!qt&&$i),t.$$.dirty[0]&528|t.$$.dirty[4]&1048704&&i(39,ve=ci&&An(ee,exports.GridTypes.M)&&!qt&&fi),t.$$.dirty[0]&536870912|t.$$.dirty[4]&1048576|t.$$.dirty[5]&3072&&i(40,Fe=hi!==et.ChromecastState.NOT_AVAILABLE&&!(Lt&&zi===Dn.DocumentPictureInPicture)&&An(ee,exports.GridTypes.M)&&!pi),t.$$.dirty[4]&1048576|t.$$.dirty[5]&16384&&i(41,Qe=Ai.length>0&&An(ee,exports.GridTypes.M)),t.$$.dirty[5]&12288&&i(42,ht=bi||Mt),t.$$.dirty[4]&1048576&&i(43,Rt=An(ee,exports.GridTypes.S)),t.$$.dirty[4]&64&&i(44,Ct=!Bi),t.$$.dirty[4]&1049152|t.$$.dirty[5]&3072&&i(45,Ni=xt.features.fullscreen&&(Bi||An(ee,exports.GridTypes.S))&&!(Lt&&zi===Dn.DocumentPictureInPicture)&&(pi?_i:!0)),t.$$.dirty[0]&16|t.$$.dirty[1]&4&&i(19,Jn=(!si||qt)&&!(xt.features.interactiveHideTime&&pi)),t.$$.dirty[4]&524288&&i(46,Go=M.width>100),t.$$.dirty[0]&16|t.$$.dirty[1]&4|t.$$.dirty[4]&34816&&i(20,fo=!qt&&!si&&!!(pn!=null&&pn.length)&&A&&!n),t.$$.dirty[1]&2|t.$$.dirty[5]&512&&i(21,Tl=!gi||Ei),t.$$.dirty[5]&128&&i(48,Vr=ri===et.PlaybackState.PLAYING?Y("tooltip_pause"):Y("tooltip_play")),t.$$.dirty[1]&1&&i(49,Br=Y(Di?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),t.$$.dirty[5]&256&&i(50,Nr=Y(vi?"aria_label_context_menu_close":"aria_label_context_menu_open")),t.$$.dirty[0]&2097152|t.$$.dirty[5]&128&&Nf(Tl,ri),t.$$.dirty[0]&262144&&i(53,Or=Y(kt?"tooltip_subtitles_on":"tooltip_subtitles_off")),t.$$.dirty[0]&1073741824&&i(54,Dr=Y(Ti?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),t.$$.dirty[0]&536870912&&i(55,zr=hi===et.ChromecastState.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off")),t.$$.dirty[0]&268435456|t.$$.dirty[4]&2145386496|t.$$.dirty[5]&127&&i(136,En={prevButton:Ot?Ot.right-Ot.left:0,replayButton:Yt?Yt.right-Yt.left:0,playButton:Pi?Pi.right-Pi.left:0,nextButton:He?He.right-He.left:0,playPrevChapterButton:ft?ft.right-ft.left:0,seekToInteractiveButton:At?At.right-At.left:0,interactiveGraphButton:ct?ct.right-ct.left:0,liveButton:wt?wt.right-wt.left:0,time:xe?xe.right-xe.left:0,episodes:Ze?Ze.right-Ze.left:0,vkLogo:Ae?Ae.right-Ae.left:0,volume:Te?Te.right-Te.left:0,subtitles:Ee?Ee.right-Ee.left:0,settings:he?he.right-he.left:0,context:Ce?Ce.right-Ce.left:0,fullscreen:Me?Me.right-Me.left:0,chromecast:ie?ie.right-ie.left:0,additionalButtons:L.length?L.reduce(K=>[...K,40],[]):[]}),t.$$.dirty[4]&12288&&(!Bo||Bo<En.time)&&i(137,Bo=En.time),t.$$.dirty[0]&5767168|t.$$.dirty[4]&1060864){let K=0;fo&&(An(ee,exports.GridTypes.XL)?K=En.time:K=D0);const Il=En.prevButton+En.playButton+En.nextButton+En.seekToInteractiveButton+En.interactiveGraphButton+En.liveButton+Bo+K;i(138,Al=Jn&&Yo>=Il)}t.$$.dirty[4]&1064960&&i(56,Fr=Al&&An(ee,exports.GridTypes.M)),t.$$.dirty[0]&8388616|t.$$.dirty[4]&786432&&Rf(Vn(),Sn,Ge,Ui),t.$$.dirty[0]&167772160&&Cr(Xo,Q,an),t.$$.dirty[0]&150994944|t.$$.dirty[4]&131072&&vl(Qo,Q,J),t.$$.dirty[0]&67108864|t.$$.dirty[4]&65536&&_f(Xi,$,Jo)},i(52,Rr=xt.logoType===Eo.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),Zi(i(73,{prevButton:c,replayButton:f,playButton:d,nextButton:h,playPrevChapterButton:b,seekToInteractiveButton:v,interactiveGraphButton:w,liveButton:_,time:k,episodes:y,vkLogo:C,volume:E,subtitles:F,settings:R,context:B,fullscreen:se,chromecast:ae}=Sn,c,oi(i(72,f)),ln(i(71,d)),xi(i(70,h)),Xe(i(69,b)),Vt(i(68,v)),re(i(67,w)),dt(i(66,_)),st(i(65,k)),ut(i(64,y)),Se(i(63,C)),ne(i(62,E)),me(i(61,F)),_e(i(60,R)),ce(i(59,B)),be(i(58,se)),Pe(i(57,ae)))),[Gi,Mi,Vi,Ui,qt,Bt,Qt,fn,$i,fi,qi,ji,Xt,di,Ki,mi,Jt,yi,kt,Jn,fo,Tl,Yo,Ge,Qo,Xo,Jo,Q,L,hi,Ti,Di,gi,si,Xn,U,_n,nt,oe,ve,Fe,Qe,ht,Rt,Ct,Ni,Go,Pl,Vr,Br,Nr,El,Rr,Or,Dr,zr,Fr,ae,se,B,R,F,E,C,y,k,_,w,v,b,h,d,f,c,a,s,o,r,l,Ii,Li,Wt,Fi,Hi,Ut,xt,Be,dn,rn,sn,en,Qi,tn,le,pt,Ci,$t,mn,jt,kn,Cn,an,pn,nn,Pn,hn,Tn,x,_t,vn,Xi,gn,un,Kn,Wn,Zn,Gn,Yn,pi,bn,X,no,ao,Lo,uo,Mo,co,Vo,Of,Df,Bi,ci,Zt,_i,wi,A,En,Bo,Al,n,$,J,I,M,ee,ie,Me,Ce,he,Ee,Te,Ae,Ze,xe,wt,ct,At,ft,He,Pi,Yt,Ot,ri,vi,Ei,zi,Lt,Mt,bi,Ai,Dt,mt,ai,lt,zf,Ff,Hf,Uf,qf,jf,Kf,Wf,Zf,Gf,Yf,Qf,Xf,Jf,xf,$f,e0,t0,i0,n0,o0,l0,r0,s0]}class Fg extends ye{constructor(e){super(),we(this,e,zg,Dg,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:130,videoLogoUrl:7,showNextPrevButtons:131,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:132,supportLink:10,customFullscreenSupported:133,playNextVideo:11,playPrevVideo:12,repeatPlaylist:134,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},pg,[-1,-1,-1,-1,-1,-1,-1,-1])}}function Hg(t){let e,i,n,l;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),u(n,"d","M0 0h24v24H0z"),u(l,"fill","#fff"),u(l,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(r,o){P(r,e,o),p(e,i),p(i,n),p(i,l)},p:G,i:G,o:G,d(r){r&&S(e)}}}class Ug extends ye{constructor(e){super(),we(this,e,null,Hg,ge,{})}}function qg(t){We(t,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function Ja(t){let e;return{c(){e=T("span"),e.textContent=`${Y("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(i,n){P(i,e,n)},p:G,d(i){i&&S(e)}}}function jg(t){let e,i,n,l;var r=t[4];function o(a){return{}}r&&(i=Nn(r,o()));let s=t[1]&&Ja();return{c(){e=T("div"),i&&W(i.$$.fragment),n=z(),s&&s.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),V(e,"expanded",t[1])},m(a,c){P(a,e,c),i&&q(i,e,null),p(e,n),s&&s.m(e,null),l=!0},p(a,c){if(c&16&&r!==(r=a[4])){if(i){fe();const f=i;g(f.$$.fragment,1,0,()=>{j(f,1)}),de()}r?(i=Nn(r,o()),W(i.$$.fragment),m(i.$$.fragment,1),q(i,e,n)):i=null}a[1]?s?s.p(a,c):(s=Ja(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!l||c&2)&&V(e,"expanded",a[1])},i(a){l||(i&&m(i.$$.fragment,a),l=!0)},o(a){i&&g(i.$$.fragment,a),l=!1},d(a){a&&S(e),i&&j(i),s&&s.d()}}}function Kg(t){let e,i,n;function l(o){t[6](o)}let r={testId:t[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:t[2],ariaLabel:t[3],$$slots:{default:[jg]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Si({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.testId=o[1]?"btn-mobile-unmuted":"btn-mobile-muted"),s&4&&(a.click=o[2]),s&8&&(a.ariaLabel=o[3]),s&146&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Wg(t,e,i){let{muted:n=!1}=e,{expanded:l=!1}=e,{click:r=te.noop}=e,{ref:o=void 0}=e,s,a;function c(f){o=f,i(0,o)}return t.$$set=f=>{"muted"in f&&i(5,n=f.muted),"expanded"in f&&i(1,l=f.expanded),"click"in f&&i(2,r=f.click),"ref"in f&&i(0,o=f.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,s=Y(n?"tooltip_volume":"tooltip_volume_muted")),t.$$.dirty&2&&i(4,a=l?Cl:Ug)},[o,l,r,s,a,n,c]}class yf extends ye{constructor(e){super(),we(this,e,Wg,Kg,ge,{muted:5,expanded:1,click:2,ref:0},qg)}}function Zg(t){let e,i,n,l;return{c(){e=N("svg"),i=N("path"),n=N("path"),l=N("path"),u(i,"fill",t[1]),u(i,"clip-rule","evenodd"),u(i,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",t[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),V(n,"hidden",!t[0]),u(l,"fill",t[1]),u(l,"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(l,"hidden",t[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(r,o){P(r,e,o),p(e,i),p(e,n),p(e,l)},p(r,[o]){o&2&&u(i,"fill",r[1]),o&2&&u(n,"fill",r[1]),o&1&&V(n,"hidden",!r[0]),o&2&&u(l,"fill",r[1]),o&1&&V(l,"hidden",r[0])},i:G,o:G,d(r){r&&S(e)}}}function Gg(t,e,i){let n,{isActive:l=!1}=e;return t.$$set=r=>{"isActive"in r&&i(0,l=r.isActive)},t.$$.update=()=>{t.$$.dirty&1&&i(1,n=l?"#2688EB":"#fff")},[l,n]}class Yg extends ye{constructor(e){super(),we(this,e,Gg,Zg,ge,{isActive:0})}}function Qg(t){let e,i;return e=new Yg({props:{isActive:t[1]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isActive=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Xg(t){let e,i,n;function l(o){t[3](o)}let r={testId:"btn-pip",ariaLabel:Y("menu_pip"),click:t[2],$$slots:{default:[Qg]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Si({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,[s]){const a={};s&4&&(a.click=o[2]),s&18&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Jg(t,e,i){let{ref:n=void 0}=e,{isPictureInPictureActive:l=!1}=e,{click:r=te.noop}=e;function o(s){n=s,i(0,n)}return t.$$set=s=>{"ref"in s&&i(0,n=s.ref),"isPictureInPictureActive"in s&&i(1,l=s.isPictureInPictureActive),"click"in s&&i(2,r=s.click)},[n,l,r,o]}class xg extends ye{constructor(e){super(),we(this,e,Jg,Xg,ge,{ref:0,isPictureInPictureActive:1,click:2})}}const{Boolean:$g}=gl;function eb(t){We(t,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function xa(t,e,i){const n=t.slice();return n[171]=e[i].iconUrl,n[172]=e[i].ariaLabel,n[173]=e[i].testId,n[174]=e[i].onClick,n[175]=e[i].tooltip,n}function $a(t){let e,i,n,l,r,o,s,a,c,f,d,h,b,v,w,_,k,y=(!t[52]||t[54])&&eu(t),C=Gt(t[57]),E=[];for(let M=0;M<C.length;M+=1)E[M]=tu(xa(t,C,M));const F=M=>g(E[M],1,1,()=>{E[M]=null});let R=t[37]&&iu(t),B=t[38]&&nu(t),se=t[58]&&ou(t),ae=t[40]&&lu(t),O=t[8]&&ru(t),$=t[35]&&su(t),J=t[34]&&au(t),Q=t[8]&&uu(t),I=t[97]&&!t[29]&&cu(t);return{c(){e=T("div"),i=z(),n=T("div"),y&&y.c(),l=z(),r=T("div");for(let M=0;M<E.length;M+=1)E[M].c();o=z(),R&&R.c(),s=z(),B&&B.c(),a=z(),se&&se.c(),c=z(),ae&&ae.c(),f=z(),d=T("div"),O&&O.c(),h=z(),$&&$.c(),b=z(),J&&J.c(),v=z(),Q&&Q.c(),w=z(),I&&I.c(),_=bt(),u(e,"class","overlay-mobile v-1tcstu3"),V(e,"hidden",!t[43]),u(n,"class","wrapper-top-left v-1tcstu3"),V(n,"hidden",!t[3]),V(n,"fullscreen",t[53]),u(r,"class","wrapper-top-right v-1tcstu3"),V(r,"hidden",!t[3]&&!t[27]),V(r,"fullscreen",t[53]),u(d,"class","wrapper-middle v-1tcstu3"),V(d,"hidden",!t[3]||t[29])},m(M,ee){P(M,e,ee),P(M,i,ee),P(M,n,ee),y&&y.m(n,null),P(M,l,ee),P(M,r,ee);for(let L=0;L<E.length;L+=1)E[L]&&E[L].m(r,null);p(r,o),R&&R.m(r,null),p(r,s),B&&B.m(r,null),p(r,a),se&&se.m(r,null),p(r,c),ae&&ae.m(r,null),P(M,f,ee),P(M,d,ee),O&&O.m(d,null),p(d,h),$&&$.m(d,null),p(d,b),J&&J.m(d,null),p(d,v),Q&&Q.m(d,null),P(M,w,ee),I&&I.m(M,ee),P(M,_,ee),k=!0},p(M,ee){if((!k||ee[1]&4096)&&V(e,"hidden",!M[43]),!M[52]||M[54]?y?(y.p(M,ee),ee[1]&10485760&&m(y,1)):(y=eu(M),y.c(),m(y,1),y.m(n,null)):y&&(fe(),g(y,1,1,()=>{y=null}),de()),(!k||ee[0]&8)&&V(n,"hidden",!M[3]),(!k||ee[1]&4194304)&&V(n,"fullscreen",M[53]),ee[1]&67108864){C=Gt(M[57]);let L;for(L=0;L<C.length;L+=1){const ie=xa(M,C,L);E[L]?(E[L].p(ie,ee),m(E[L],1)):(E[L]=tu(ie),E[L].c(),m(E[L],1),E[L].m(r,o))}for(fe(),L=C.length;L<E.length;L+=1)F(L);de()}M[37]?R?(R.p(M,ee),ee[1]&64&&m(R,1)):(R=iu(M),R.c(),m(R,1),R.m(r,s)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),M[38]?B?(B.p(M,ee),ee[1]&128&&m(B,1)):(B=nu(M),B.c(),m(B,1),B.m(r,a)):B&&(fe(),g(B,1,1,()=>{B=null}),de()),M[58]?se?(se.p(M,ee),ee[1]&134217728&&m(se,1)):(se=ou(M),se.c(),m(se,1),se.m(r,c)):se&&(fe(),g(se,1,1,()=>{se=null}),de()),M[40]?ae?(ae.p(M,ee),ee[1]&512&&m(ae,1)):(ae=lu(M),ae.c(),m(ae,1),ae.m(r,null)):ae&&(fe(),g(ae,1,1,()=>{ae=null}),de()),(!k||ee[0]&134217736)&&V(r,"hidden",!M[3]&&!M[27]),(!k||ee[1]&4194304)&&V(r,"fullscreen",M[53]),M[8]?O?(O.p(M,ee),ee[0]&256&&m(O,1)):(O=ru(M),O.c(),m(O,1),O.m(d,h)):O&&(fe(),g(O,1,1,()=>{O=null}),de()),M[35]?$?($.p(M,ee),ee[1]&16&&m($,1)):($=su(M),$.c(),m($,1),$.m(d,b)):$&&(fe(),g($,1,1,()=>{$=null}),de()),M[34]?J?(J.p(M,ee),ee[1]&8&&m(J,1)):(J=au(M),J.c(),m(J,1),J.m(d,v)):J&&(fe(),g(J,1,1,()=>{J=null}),de()),M[8]?Q?(Q.p(M,ee),ee[0]&256&&m(Q,1)):(Q=uu(M),Q.c(),m(Q,1),Q.m(d,null)):Q&&(fe(),g(Q,1,1,()=>{Q=null}),de()),(!k||ee[0]&536870920)&&V(d,"hidden",!M[3]||M[29]),M[97]&&!M[29]?I?(I.p(M,ee),ee[0]&536870912&&m(I,1)):(I=cu(M),I.c(),m(I,1),I.m(_.parentNode,_)):I&&(fe(),g(I,1,1,()=>{I=null}),de())},i(M){if(!k){m(y);for(let ee=0;ee<C.length;ee+=1)m(E[ee]);m(R),m(B),m(se),m(ae),m(O),m($),m(J),m(Q),m(I),k=!0}},o(M){g(y),E=E.filter($g);for(let ee=0;ee<E.length;ee+=1)g(E[ee]);g(R),g(B),g(se),g(ae),g(O),g($),g(J),g(Q),g(I),k=!1},d(M){M&&(S(e),S(i),S(n),S(l),S(r),S(f),S(d),S(w),S(_)),y&&y.d(),Mn(E,M),R&&R.d(),B&&B.d(),se&&se.d(),ae&&ae.d(),O&&O.d(),$&&$.d(),J&&J.d(),Q&&Q.d(),I&&I.d(M)}}}function eu(t){let e,i,n;function l(o){t[131](o)}let r={muted:t[55],expanded:t[52]&&!t[71]&&t[56],click:t[107]};return t[20].volume!==void 0&&(r.ref=t[20].volume),e=new yf({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[1]&16777216&&(a.muted=o[55]),s[1]&35651584&&(a.expanded=o[52]&&!o[71]&&o[56]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].volume,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function tu(t){var n;let e,i;return e=new mf({props:{iconUrl:t[171],ariaLabel:(n=t[172])!=null?n:t[175],testId:t[173],onClick:t[174]}}),{c(){W(e.$$.fragment)},m(l,r){q(e,l,r),i=!0},p(l,r){var s;const o={};r[1]&67108864&&(o.iconUrl=l[171]),r[1]&67108864&&(o.ariaLabel=(s=l[172])!=null?s:l[175]),r[1]&67108864&&(o.testId=l[173]),r[1]&67108864&&(o.onClick=l[174]),e.$set(o)},i(l){i||(m(e.$$.fragment,l),i=!0)},o(l){g(e.$$.fragment,l),i=!1},d(l){j(e,l)}}}function iu(t){let e,i,n;function l(o){t[132](o)}let r={isMobile:!0,click:t[105],state:t[28]};return t[20].chromecast!==void 0&&(r.ref=t[20].chromecast),e=new nf({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[0]&268435456&&(a.state=o[28]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].chromecast,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function nu(t){let e,i,n;function l(o){t[133](o)}let r={click:t[106],isPictureInPictureActive:t[26]};return t[20].pip!==void 0&&(r.ref=t[20].pip),e=new xg({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[0]&67108864&&(a.isPictureInPictureActive=o[26]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].pip,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function ou(t){let e,i,n;function l(o){t[134](o)}let r={};return t[22]!==void 0&&(r.ref=t[22]),e=new Pr({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&4194304&&(i=!0,a.ref=o[22],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function lu(t){let e,i,n;function l(o){t[135](o)}let r={click:t[65],logoClickable:t[6],videoLogoUrl:t[7]};return t[20].vkLogo!==void 0&&(r.ref=t[20].vkLogo),e=new tf({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[0]&64&&(a.logoClickable=o[6]),s[0]&128&&(a.videoLogoUrl=o[7]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].vkLogo,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function ru(t){let e,i,n;function l(o){t[136](o)}let r={click:t[13],type:"prev",disabled:!t[10],isMobile:!0};return t[20].prevButton!==void 0&&(r.ref=t[20].prevButton),e=new Sl({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[0]&8192&&(a.click=o[13]),s[0]&1024&&(a.disabled=!o[10]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].prevButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function su(t){let e,i,n;function l(o){t[137](o)}let r={disabled:t[50],click:t[64],isMobile:!0,isPlaying:t[32]};return t[20].playButton!==void 0&&(r.ref=t[20].playButton),e=new Ar({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[1]&524288&&(a.disabled=o[50]),s[1]&2&&(a.isPlaying=o[32]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].playButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function au(t){let e,i,n;function l(o){t[138](o)}let r={disabled:t[49],click:t[108],isMobile:!0};return t[20].replayButton!==void 0&&(r.ref=t[20].replayButton),e=new Ir({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[1]&262144&&(a.disabled=o[49]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].replayButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function uu(t){let e,i,n;function l(o){t[139](o)}let r={click:t[12],type:"next",disabled:!t[9],isMobile:!0};return t[20].nextButton!==void 0&&(r.ref=t[20].nextButton),e=new Sl({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[0]&4096&&(a.click=o[12]),s[0]&512&&(a.disabled=!o[9]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].nextButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function cu(t){let e,i,n,l,r=t[101]&&tb(t),o=t[99]&&ib(t),s=t[100]&&nb(t);return{c(){r&&r.c(),e=z(),o&&o.c(),i=z(),s&&s.c(),n=bt()},m(a,c){r&&r.m(a,c),P(a,e,c),o&&o.m(a,c),P(a,i,c),s&&s.m(a,c),P(a,n,c),l=!0},p(a,c){a[101]&&r.p(a,c),a[99]&&o.p(a,c),a[100]&&s.p(a,c)},i(a){l||(m(r),m(o),m(s),l=!0)},o(a){g(r),g(o),g(s),l=!1},d(a){a&&(S(e),S(i),S(n)),r&&r.d(a),o&&o.d(a),s&&s.d(a)}}}function tb(t){let e,i,n,l,r,o;function s(c){t[140](c)}let a={hidden:!t[3],disabled:t[48],click:t[18]};return t[20].playPrevChapterButton!==void 0&&(a.ref=t[20].playPrevChapterButton),i=new df({props:a}),ke.push(()=>qe(i,"ref",s)),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),V(e,"fullscreen",t[53]),V(e,"hidden",!t[3])},m(c,f){P(c,e,f),q(i,e,null),l=!0,r||(o=pe(e,"click",t[109]),r=!0)},p(c,f){const d={};f[0]&8&&(d.hidden=!c[3]),f[1]&131072&&(d.disabled=c[48]),f[0]&262144&&(d.click=c[18]),!n&&f[0]&1048576&&(n=!0,d.ref=c[20].playPrevChapterButton,Ue(()=>n=!1)),i.$set(d),(!l||f[1]&4194304)&&V(e,"fullscreen",c[53]),(!l||f[0]&8)&&V(e,"hidden",!c[3])},i(c){l||(m(i.$$.fragment,c),l=!0)},o(c){g(i.$$.fragment,c),l=!1},d(c){c&&S(e),j(i),r=!1,o()}}}function ib(t){let e,i,n,l;function r(s){t[141](s)}let o={hidden:!t[3]&&!t[59],disabled:t[51],click:t[17],graphIsOpened:t[59]};return t[20].interactiveGraphButton!==void 0&&(o.ref=t[20].interactiveGraphButton),i=new cf({props:o}),ke.push(()=>qe(i,"ref",r)),{c(){e=T("div"),W(i.$$.fragment),u(e,"class",g0(t[101]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),V(e,"fullscreen",t[53]),V(e,"hidden",!t[3]&&!t[59])},m(s,a){P(s,e,a),q(i,e,null),l=!0},p(s,a){const c={};a[0]&8|a[1]&268435456&&(c.hidden=!s[3]&&!s[59]),a[1]&1048576&&(c.disabled=s[51]),a[0]&131072&&(c.click=s[17]),a[1]&268435456&&(c.graphIsOpened=s[59]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].interactiveGraphButton,Ue(()=>n=!1)),i.$set(c),(!l||a[1]&4194304)&&V(e,"fullscreen",s[53]),(!l||a[0]&8|a[1]&268435456)&&V(e,"hidden",!s[3]&&!s[59])},i(s){l||(m(i.$$.fragment,s),l=!0)},o(s){g(i.$$.fragment,s),l=!1},d(s){s&&S(e),j(i)}}}function nb(t){let e,i,n,l,r,o;function s(c){t[142](c)}let a={hidden:!t[3],disabled:t[47],click:t[16]};return t[20].seekToInteractiveButton!==void 0&&(a.ref=t[20].seekToInteractiveButton),i=new uf({props:a}),ke.push(()=>qe(i,"ref",s)),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),V(e,"fullscreen",t[53]),V(e,"hidden",!t[3])},m(c,f){P(c,e,f),q(i,e,null),l=!0,r||(o=pe(e,"click",t[110]),r=!0)},p(c,f){const d={};f[0]&8&&(d.hidden=!c[3]),f[1]&65536&&(d.disabled=c[47]),f[0]&65536&&(d.click=c[16]),!n&&f[0]&1048576&&(n=!0,d.ref=c[20].seekToInteractiveButton,Ue(()=>n=!1)),i.$set(d),(!l||f[1]&4194304)&&V(e,"fullscreen",c[53]),(!l||f[0]&8)&&V(e,"hidden",!c[3])},i(c){l||(m(i.$$.fragment,c),l=!0)},o(c){g(i.$$.fragment,c),l=!1},d(c){c&&S(e),j(i),r=!1,o()}}}function fu(t){let e,i,n,l,r,o=t[54]&&du(t),s=t[33]&&mu(t);return l=new rf({props:{position:t[60],duration:t[61]}}),{c(){o&&o.c(),e=z(),s&&s.c(),i=z(),n=T("div"),W(l.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),V(n,"fullscreen",t[53])},m(a,c){o&&o.m(a,c),P(a,e,c),s&&s.m(a,c),P(a,i,c),P(a,n,c),q(l,n,null),r=!0},p(a,c){a[54]?o?(o.p(a,c),c[1]&8388608&&m(o,1)):(o=du(a),o.c(),m(o,1),o.m(e.parentNode,e)):o&&(fe(),g(o,1,1,()=>{o=null}),de()),a[33]?s?(s.p(a,c),c[1]&4&&m(s,1)):(s=mu(a),s.c(),m(s,1),s.m(i.parentNode,i)):s&&(fe(),g(s,1,1,()=>{s=null}),de());const f={};c[1]&536870912&&(f.position=a[60]),c[1]&1073741824&&(f.duration=a[61]),l.$set(f),(!r||c[1]&4194304)&&V(n,"fullscreen",a[53])},i(a){r||(m(o),m(s),m(l.$$.fragment,a),r=!0)},o(a){g(o),g(s),g(l.$$.fragment,a),r=!1},d(a){a&&(S(e),S(i),S(n)),o&&o.d(a),s&&s.d(a),j(l)}}}function du(t){let e,i,n,l;function r(s){t[143](s)}let o={muted:t[55],expanded:!1,click:t[107]};return t[20].volume!==void 0&&(o.ref=t[20].volume),i=new yf({props:o}),ke.push(()=>qe(i,"ref",r)),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),V(e,"fullscreen",t[53])},m(s,a){P(s,e,a),q(i,e,null),l=!0},p(s,a){const c={};a[1]&16777216&&(c.muted=s[55]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].volume,Ue(()=>n=!1)),i.$set(c),(!l||a[1]&4194304)&&V(e,"fullscreen",s[53])},i(s){l||(m(i.$$.fragment,s),l=!0)},o(s){g(i.$$.fragment,s),l=!1},d(s){s&&S(e),j(i)}}}function mu(t){let e,i,n,l;function r(s){t[144](s)}let o={disabled:t[50],click:t[64],isMobile:!0,isPlaying:!t[33]};return t[20].playButton!==void 0&&(o.ref=t[20].playButton),i=new Ar({props:o}),ke.push(()=>qe(i,"ref",r)),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(s,a){P(s,e,a),q(i,e,null),l=!0},p(s,a){const c={};a[1]&524288&&(c.disabled=s[50]),a[1]&4&&(c.isPlaying=!s[33]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].playButton,Ue(()=>n=!1)),i.$set(c)},i(s){l||(m(i.$$.fragment,s),l=!0)},o(s){g(i.$$.fragment,s),l=!1},d(s){s&&S(e),j(i)}}}function ob(t){let e,i,n;function l(o){t[145](o)}let r={disabled:t[49],$$slots:{default:[lb]},$$scope:{ctx:t}};return t[20].replayButton!==void 0&&(r.ref=t[20].replayButton),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[1]&262144&&(a.disabled=o[49]),s[1]&262144|s[5]&8388608&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].replayButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function lb(t){let e,i;return e=new Ir({props:{disabled:t[49],click:t[96]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[1]&262144&&(r.disabled=n[49]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function pu(t){let e,i,n;function l(o){t[146](o)}let r={$$slots:{default:[rb]},$$scope:{ctx:t}};return t[20].liveButton!==void 0&&(r.ref=t[20].liveButton),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[0]&524288|s[1]&32768|s[5]&8388608&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].liveButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function rb(t){let e,i;return e=new of({props:{isActiveLive:t[19],isMobile:!0,ariaLabel:t[46]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&524288&&(r.isActiveLive=n[19]),l[1]&32768&&(r.ariaLabel=n[46]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function hu(t){let e,i,n;function l(o){t[147](o)}let r={showDuration:t[36],position:t[4]?t[60]:t[62],duration:t[4]?t[61]:t[63],isMobile:!0};return t[20].time!==void 0&&(r.ref=t[20].time),e=new Qc({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[1]&32&&(a.showDuration=o[36]),s[0]&16|s[1]&536870912|s[2]&1&&(a.position=o[4]?o[60]:o[62]),s[0]&16|s[1]&1073741824|s[2]&2&&(a.duration=o[4]?o[61]:o[63]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].time,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function vu(t){let e,i,n,l;return n=new af({props:{position:t[62],duration:t[63],timeCodes:t[85]}}),{c(){e=T("div"),e.textContent="\xB7",i=z(),W(n.$$.fragment),u(e,"aria-hidden","true")},m(r,o){P(r,e,o),P(r,i,o),q(n,r,o),l=!0},p(r,o){const s={};o[2]&1&&(s.position=r[62]),o[2]&2&&(s.duration=r[63]),n.$set(s)},i(r){l||(m(n.$$.fragment,r),l=!0)},o(r){g(n.$$.fragment,r),l=!1},d(r){r&&(S(e),S(i)),j(n,r)}}}function sb(t){let e,i,n=t[44]&&vu(t);return{c(){n&&n.c(),e=bt()},m(l,r){n&&n.m(l,r),P(l,e,r),i=!0},p(l,r){l[44]?n?(n.p(l,r),r[1]&8192&&m(n,1)):(n=vu(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(l){i||(m(n),i=!0)},o(l){g(n),i=!1},d(l){l&&S(e),n&&n.d(l)}}}function gu(t){let e,i,n;function l(o){t[150](o)}let r={$$slots:{default:[ab]},$$scope:{ctx:t}};return t[20].settings!==void 0&&(r.ref=t[20].settings),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[0]&4194304|s[5]&8388608&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].settings,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function ab(t){let e,i,n;function l(o){t[149](o)}let r={};return t[22]!==void 0&&(r.ref=t[22]),e=new Pr({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&4194304&&(i=!0,a.ref=o[22],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function bu(t){let e,i,n;function l(o){t[151](o)}let r={$$slots:{default:[ub]},$$scope:{ctx:t}};return t[20].fullscreen!==void 0&&(r.ref=t[20].fullscreen),e=new Kt({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[0]&16384|s[1]&4194304|s[5]&8388608&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].fullscreen,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function ub(t){let e,i;return e=new $c({props:{click:t[14],isFullscreen:t[53]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&16384&&(r.click=n[14]),l[1]&4194304&&(r.isFullscreen=n[53]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function _u(t){let e,i,n,l;function r(s){t[154](s)}let o={supportLink:t[11],returnFocus:t[15]};return t[21]!==void 0&&(o.ref=t[21]),i=new Yc({props:o}),ke.push(()=>qe(i,"ref",r)),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(s,a){P(s,e,a),q(i,e,null),l=!0},p(s,a){const c={};a[0]&2048&&(c.supportLink=s[11]),a[0]&32768&&(c.returnFocus=s[15]),!n&&a[0]&2097152&&(n=!0,c.ref=s[21],Ue(()=>n=!1)),i.$set(c)},i(s){l||(m(i.$$.fragment,s),l=!0)},o(s){g(i.$$.fragment,s),l=!1},d(s){s&&S(e),j(i)}}}function wu(t){let e,i,n;function l(o){t[155](o)}let r={};return t[20].interactiveTimeIcon!==void 0&&(r.ref=t[20].interactiveTimeIcon),e=new wf({props:r}),ke.push(()=>qe(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&1048576&&(i=!0,a.ref=o[20].interactiveTimeIcon,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function cb(t){let e,i,n,l,r,o,s,a,c,f,d,h,b,v,w,_,k,y,C=!t[4]&&$a(t),E=t[4]&&t[30]!==ti.INACTIVE&&fu(t),F=t[97]&&ob(t),R=!t[4]&&t[25]&&pu(t),B=t[42]&&hu(t);function se(I){t[148](I)}let ae={className:"w-max",disabled:!t[44],$$slots:{default:[sb]},$$scope:{ctx:t}};t[20].episodes!==void 0&&(ae.ref=t[20].episodes),c=new Kt({props:ae}),ke.push(()=>qe(c,"ref",se));let O=t[39]&&gu(t),$=t[41]&&bu(t);v=new sf({props:{isAds:t[4],canRewindLive:t[5],isRewindableLive:t[24]}});let J=t[23]&&_u(t),Q=t[31]&&wu(t);return{c(){C&&C.c(),e=z(),E&&E.c(),i=z(),n=T("div"),l=T("div"),r=T("div"),F&&F.c(),o=z(),R&&R.c(),s=z(),B&&B.c(),a=z(),W(c.$$.fragment),d=z(),O&&O.c(),h=z(),$&&$.c(),b=z(),W(v.$$.fragment),w=z(),J&&J.c(),_=z(),Q&&Q.c(),k=bt(),u(r,"class","controls v-1tcstu3"),V(r,"mobile",!0),u(l,"class","controls-wrapper v-1tcstu3"),V(l,"fullscreen",t[53]),u(n,"class","wrapper-bottom v-1tcstu3"),V(n,"hidden",t[1]),V(n,"controls-hidden",!t[3]),V(n,"no-smooth",t[2]),V(n,"mobile",!0)},m(I,M){C&&C.m(I,M),P(I,e,M),E&&E.m(I,M),P(I,i,M),P(I,n,M),p(n,l),p(l,r),F&&F.m(r,null),p(r,o),R&&R.m(r,null),p(r,s),B&&B.m(r,null),p(r,a),q(c,r,null),p(r,d),O&&O.m(r,null),p(r,h),$&&$.m(r,null),t[152](r),p(l,b),q(v,l,null),t[153](n),P(I,w,M),J&&J.m(I,M),P(I,_,M),Q&&Q.m(I,M),P(I,k,M),y=!0},p(I,M){I[4]?C&&(fe(),g(C,1,1,()=>{C=null}),de()):C?(C.p(I,M),M[0]&16&&m(C,1)):(C=$a(I),C.c(),m(C,1),C.m(e.parentNode,e)),I[4]&&I[30]!==ti.INACTIVE?E?(E.p(I,M),M[0]&1073741840&&m(E,1)):(E=fu(I),E.c(),m(E,1),E.m(i.parentNode,i)):E&&(fe(),g(E,1,1,()=>{E=null}),de()),I[97]&&F.p(I,M),!I[4]&&I[25]?R?(R.p(I,M),M[0]&33554448&&m(R,1)):(R=pu(I),R.c(),m(R,1),R.m(r,s)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),I[42]?B?(B.p(I,M),M[1]&2048&&m(B,1)):(B=hu(I),B.c(),m(B,1),B.m(r,a)):B&&(fe(),g(B,1,1,()=>{B=null}),de());const ee={};M[1]&8192&&(ee.disabled=!I[44]),M[1]&8192|M[2]&3|M[5]&8388608&&(ee.$$scope={dirty:M,ctx:I}),!f&&M[0]&1048576&&(f=!0,ee.ref=I[20].episodes,Ue(()=>f=!1)),c.$set(ee),I[39]?O?(O.p(I,M),M[1]&256&&m(O,1)):(O=gu(I),O.c(),m(O,1),O.m(r,h)):O&&(fe(),g(O,1,1,()=>{O=null}),de()),I[41]?$?($.p(I,M),M[1]&1024&&m($,1)):($=bu(I),$.c(),m($,1),$.m(r,null)):$&&(fe(),g($,1,1,()=>{$=null}),de());const L={};M[0]&16&&(L.isAds=I[4]),M[0]&32&&(L.canRewindLive=I[5]),M[0]&16777216&&(L.isRewindableLive=I[24]),v.$set(L),(!y||M[1]&4194304)&&V(l,"fullscreen",I[53]),(!y||M[0]&2)&&V(n,"hidden",I[1]),(!y||M[0]&8)&&V(n,"controls-hidden",!I[3]),(!y||M[0]&4)&&V(n,"no-smooth",I[2]),I[23]?J?(J.p(I,M),M[0]&8388608&&m(J,1)):(J=_u(I),J.c(),m(J,1),J.m(_.parentNode,_)):J&&(fe(),g(J,1,1,()=>{J=null}),de()),I[31]?Q?(Q.p(I,M),M[1]&1&&m(Q,1)):(Q=wu(I),Q.c(),m(Q,1),Q.m(k.parentNode,k)):Q&&(fe(),g(Q,1,1,()=>{Q=null}),de())},i(I){y||(m(C),m(E),m(F),m(R),m(B),m(c.$$.fragment,I),m(O),m($),m(v.$$.fragment,I),m(J),m(Q),y=!0)},o(I){g(C),g(E),g(F),g(R),g(B),g(c.$$.fragment,I),g(O),g($),g(v.$$.fragment,I),g(J),g(Q),y=!1},d(I){I&&(S(e),S(i),S(n),S(w),S(_),S(k)),C&&C.d(I),E&&E.d(I),F&&F.d(),R&&R.d(),B&&B.d(),j(c),O&&O.d(),$&&$.d(),t[152](null),j(v),t[153](null),J&&J.d(I),Q&&Q.d(I)}}}function fb(t,e,i){var pi,bn;let n,l,r,o,s,a,c,f,d,h,b,v,w,_,k,y,C,E,F,R,B,se,ae,O,$,J,Q,I,M,ee,L,ie,Le,Pe,Me,Ne,be,Ce,{bottomHidden:Z}=e,{bottomNoSmooth:ce}=e,{showControls:he}=e,{controlsElementRef:Ke=void 0}=e,{isAds:_e=!1}=e,{canRewindLive:Ee}=e,{logoClickable:Re}=e,{logoHidden:me}=e,{videoLogoUrl:Te}=e,{showNextPrevButtons:H}=e,{nextButtonActive:ne}=e,{prevButtonActive:Ae}=e,{isOneVideoPlaylist:ue=!1}=e,{supportLink:Se}=e,{customFullscreenSupported:Ze=!0}=e,{playNextVideo:it}=e,{playPrevVideo:ut}=e,{repeatPlaylist:xe}=e,{toggleFullscreen:ot}=e,{returnFocus:st}=e,{seekToInteractive:wt}=e,{toggleGraph:Oe}=e,{playPrevChapter:dt}=e,{onDisabledPlayPrevChapterClick:ct}=e,{onDisabledSeekToInteractiveClick:Et}=e;const re=Tt(),At=Ho(),gt=yn(),Vt=re.actions.internal.toggleMuted,ft=re.actions.internal.togglePlay,yt=re.actions.internal.pause,Xe=(pi=re.callbacks)==null?void 0:pi.onAudioDoesNotExistHint,He=(bn=re.callbacks)==null?void 0:bn.onAudioDisabledHint,It=re.playerPhase;D(t,It,X=>i(127,B=X));const xi=re.state.duration$;D(t,xi,X=>i(63,Ce=X));const Pi=re.state.positionWithScrubbing$;D(t,Pi,X=>i(62,be=X));const Oi=re.state.playbackState$;D(t,Oi,X=>i(122,h=X));const ln=re.state.isAudioAvailable$;D(t,ln,X=>i(52,b=X));const Yt=re.state.isAudioDisabled,Ht=re.state.isEnded$;D(t,Ht,X=>i(128,ae=X));const oi=re.state.isLive$;D(t,oi,X=>i(25,y=X));const Ot=re.state.muted$;D(t,Ot,X=>i(55,ee=X));const li=re.state.isActiveLive$;D(t,li,X=>i(125,_=X));const Zi=re.state.isRewindableLive$;D(t,Zi,X=>i(24,k=X));const hi=re.ui.scrubbingInProgress;D(t,hi,X=>i(29,se=X));const Ti=re.ui.mobileNotReportControlHidden$;D(t,Ti,X=>i(27,F=X));const ri=re.ui.isPictureInPictureActive$;D(t,ri,X=>i(26,E=X));const vi=re.ui.pictureInPictureType$;D(t,vi,X=>i(126,C=X));const Di=re.ui.mobileUnmuteButtonExpanded;D(t,Di,X=>i(56,L=X));const Ei=re.ui.mobileUnmuteButtonVisible;D(t,Ei,X=>i(54,M=X));const gi=re.ui.settingsMenuVisible;D(t,gi,X=>i(23,d=X));const si=re.ui.settingsMenuOpenedByKeyboard;D(t,si,X=>i(121,f=X));const zi=re.ui.controls,Lt=re.actions.internal.getVideoEpisodes(),Mt=re.webApi.pictureInPictureApi,bi=re.state.chromecastState$;D(t,bi,X=>i(28,R=X));const Ai=re.state.crashed$;D(t,Ai,X=>i(58,Le=X));const Dt=zi.disabledControls$;D(t,Dt,X=>i(129,$=X));const mt=re.ui.startedByKeyboard$;D(t,mt,X=>i(120,c=X));const ai=re.ads.duration;D(t,ai,X=>i(61,Ne=X));const lt=re.ads.position;D(t,lt,X=>i(60,Me=X));const ui=re.ads.playbackState;D(t,ui,X=>i(30,O=X));const Ii=re.ui.isFullscreen;D(t,Ii,X=>i(53,I=X));const Li=re.ui.playerSize;D(t,Li,X=>i(124,w=X));const Wt=re.ui.additionalButtons$;D(t,Wt,X=>i(57,ie=X));const Fi=re.actions.internal.getVideoElement,Hi=re.actions.internal.replayInteractive,Ut=re.state.isInteractive,Mi=re.state.isInteractiveTime$;D(t,Mi,X=>i(123,v=X));const Vi=re.state.showInteractiveGraph,Ui=re.state.showSeekToInteractive,Gi=re.state.showPlayPrevChapter,qt=re.state.interactiveEpisodes$;D(t,qt,X=>i(158,Q=X));const Bt=re.state.graphIsOpened$;D(t,Bt,X=>i(59,Pe=X));const Qt=At.seekToInteractiveDisabledTooltip$;D(t,Qt,X=>i(130,J=X));let Bi;Bi=!!(Ut&&Q.length);let fn,ci,$i,fi,Zt,qi,_i,ji,Xt,wi,di,Ki,mi,Jt,yi,je,Wi,xt,ki;const Be={},dn=te.throttleFn(bf,V1,{leading:!1}),rn=()=>re.actions.internal.toggleChromecast();function Yi(){Yt?He==null||He():b?Vt():Xe==null||Xe()}function Nt(){return Ji(this,null,function*(){Mt!=null&&Mt.isActive()?yield Mt==null?void 0:Mt.remove():yield Mt==null?void 0:Mt.request()})}function sn(){!Yt&&b&&Ei.set(!1),Yi()}const en=ue?ft:xe;let Qi="";const tn=(X,no)=>{if(!X){i(46,Qi=Y("tooltip_live"));return}no===et.PlaybackState.PAUSED&&i(46,Qi=Y("tooltip_play"))};let le,Je;const pt=()=>{a&&ct(fn)},Ci=()=>{r&&Et(ci)};function $t(X){t.$$.not_equal(Be.volume,X)&&(Be.volume=X,i(20,Be))}function mn(X){t.$$.not_equal(Be.chromecast,X)&&(Be.chromecast=X,i(20,Be))}function jt(X){t.$$.not_equal(Be.pip,X)&&(Be.pip=X,i(20,Be))}function kn(X){Je=X,i(22,Je)}function Cn(X){t.$$.not_equal(Be.vkLogo,X)&&(Be.vkLogo=X,i(20,Be))}function an(X){t.$$.not_equal(Be.prevButton,X)&&(Be.prevButton=X,i(20,Be))}function Sn(X){t.$$.not_equal(Be.playButton,X)&&(Be.playButton=X,i(20,Be))}function pn(X){t.$$.not_equal(Be.replayButton,X)&&(Be.replayButton=X,i(20,Be))}function nn(X){t.$$.not_equal(Be.nextButton,X)&&(Be.nextButton=X,i(20,Be))}function Pn(X){t.$$.not_equal(Be.playPrevChapterButton,X)&&(Be.playPrevChapterButton=X,i(20,Be))}function hn(X){t.$$.not_equal(Be.interactiveGraphButton,X)&&(Be.interactiveGraphButton=X,i(20,Be))}function Tn(X){t.$$.not_equal(Be.seekToInteractiveButton,X)&&(Be.seekToInteractiveButton=X,i(20,Be))}function x(X){t.$$.not_equal(Be.volume,X)&&(Be.volume=X,i(20,Be))}function _t(X){t.$$.not_equal(Be.playButton,X)&&(Be.playButton=X,i(20,Be))}function vn(X){t.$$.not_equal(Be.replayButton,X)&&(Be.replayButton=X,i(20,Be))}function Xi(X){t.$$.not_equal(Be.liveButton,X)&&(Be.liveButton=X,i(20,Be))}function gn(X){t.$$.not_equal(Be.time,X)&&(Be.time=X,i(20,Be))}function un(X){t.$$.not_equal(Be.episodes,X)&&(Be.episodes=X,i(20,Be))}function Kn(X){Je=X,i(22,Je)}function Wn(X){t.$$.not_equal(Be.settings,X)&&(Be.settings=X,i(20,Be))}function Zn(X){t.$$.not_equal(Be.fullscreen,X)&&(Be.fullscreen=X,i(20,Be))}function Gn(X){ke[X?"unshift":"push"](()=>{xt=X,i(45,xt)})}function Yn(X){ke[X?"unshift":"push"](()=>{Ke=X,i(0,Ke)})}function Vn(X){le=X,i(21,le)}function Qn(X){t.$$.not_equal(Be.interactiveTimeIcon,X)&&(Be.interactiveTimeIcon=X,i(20,Be))}return t.$$set=X=>{"bottomHidden"in X&&i(1,Z=X.bottomHidden),"bottomNoSmooth"in X&&i(2,ce=X.bottomNoSmooth),"showControls"in X&&i(3,he=X.showControls),"controlsElementRef"in X&&i(0,Ke=X.controlsElementRef),"isAds"in X&&i(4,_e=X.isAds),"canRewindLive"in X&&i(5,Ee=X.canRewindLive),"logoClickable"in X&&i(6,Re=X.logoClickable),"logoHidden"in X&&i(111,me=X.logoHidden),"videoLogoUrl"in X&&i(7,Te=X.videoLogoUrl),"showNextPrevButtons"in X&&i(8,H=X.showNextPrevButtons),"nextButtonActive"in X&&i(9,ne=X.nextButtonActive),"prevButtonActive"in X&&i(10,Ae=X.prevButtonActive),"isOneVideoPlaylist"in X&&i(112,ue=X.isOneVideoPlaylist),"supportLink"in X&&i(11,Se=X.supportLink),"customFullscreenSupported"in X&&i(113,Ze=X.customFullscreenSupported),"playNextVideo"in X&&i(12,it=X.playNextVideo),"playPrevVideo"in X&&i(13,ut=X.playPrevVideo),"repeatPlaylist"in X&&i(114,xe=X.repeatPlaylist),"toggleFullscreen"in X&&i(14,ot=X.toggleFullscreen),"returnFocus"in X&&i(15,st=X.returnFocus),"seekToInteractive"in X&&i(16,wt=X.seekToInteractive),"toggleGraph"in X&&i(17,Oe=X.toggleGraph),"playPrevChapter"in X&&i(18,dt=X.playPrevChapter),"onDisabledPlayPrevChapterClick"in X&&i(115,ct=X.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in X&&i(116,Et=X.onDisabledSeekToInteractiveClick)},t.$$.update=()=>{if(t.$$.dirty[4]&64&&(ci=Y(J)),t.$$.dirty[4]&32&&i(119,n=$.has(vt.EPISODE_BUTTON)),t.$$.dirty[4]&32&&i(51,l=$.has(vt.GRAPH_BUTTON)),t.$$.dirty[4]&32&&i(47,r=$.has(vt.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[4]&32&&i(50,o=$.has(vt.PLAY_BUTTON)),t.$$.dirty[4]&32&&i(49,s=$.has(vt.REPLAY_BUTTON)),t.$$.dirty[4]&32&&i(48,a=$.has(vt.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[3]&536870912&&i(32,$i=h===et.PlaybackState.PLAYING),t.$$.dirty[0]&1073741824&&i(33,fi=O===ti.PAUSED),t.$$.dirty[0]&16|t.$$.dirty[4]&16&&i(34,Zt=ae&&!_e&&!Ut),t.$$.dirty[0]&16|t.$$.dirty[4]&16&&i(35,qi=!ae||_e),t.$$.dirty[4]&1&&i(117,_i=w.width>300),t.$$.dirty[4]&1&&i(36,ji=w.width>400),t.$$.dirty[0]&536870912&&i(118,Xt=se),t.$$.dirty[0]&469762048|t.$$.dirty[4]&4&&i(37,wi=R!==et.ChromecastState.NOT_AVAILABLE&&!(E&&C===Dn.DocumentPictureInPicture)&&!F&&!Ut),t.$$.dirty[0]&402653184|t.$$.dirty[3]&33554432|t.$$.dirty[4]&12){const X=B===De.WaitingLive;i(38,di=!!Mt&&R!==et.ChromecastState.CONNECTED&&!F&&(C===Dn.DocumentPictureInPicture&&X||!X)&&!Xt&&!Ut)}t.$$.dirty[3]&33554432&&i(39,Ki=!Xt),t.$$.dirty[3]&262144|t.$$.dirty[4]&1&&i(40,mi=!me&&w.width>350),t.$$.dirty[0]&67108864|t.$$.dirty[3]&34603008|t.$$.dirty[4]&4&&i(41,Jt=gt.features.fullscreen&&!(E&&C===Dn.DocumentPictureInPicture)&&(Ut?Ze:!0)&&!Xt),t.$$.dirty[0]&33554448|t.$$.dirty[3]&33554432|t.$$.dirty[4]&1&&i(42,yi=(!y||_e)&&w.width>260&&!Xt&&!(gt.features.interactiveHideTime&&Ut)),t.$$.dirty[0]&8388616&&i(43,je=d||he),t.$$.dirty[0]&33554448|t.$$.dirty[3]&117440512&&i(44,Wi=!_e&&!y&&!!(Lt!=null&&Lt.length)&&_i&&!n&&!Xt),t.$$.dirty[0]&16777216|t.$$.dirty[4]&2&&i(19,ki=!k||_),t.$$.dirty[0]&1048584|t.$$.dirty[3]&1073741824|t.$$.dirty[4]&1&&dn(Fi(),zi,Be,he),t.$$.dirty[0]&524288|t.$$.dirty[3]&536870912&&tn(ki,h),t.$$.dirty[0]&12582912&&Cr(Je,d,si),t.$$.dirty[0]&10485760|t.$$.dirty[3]&268435456&&vl(le,d,f),t.$$.dirty[0]&1048576|t.$$.dirty[3]&134217728&&_f(mt,c,Be.playButton)},fn=Y(re.state.playPrevChapterDisabledTooltip),[Ke,Z,ce,he,_e,Ee,Re,Te,H,ne,Ae,Se,it,ut,ot,st,wt,Oe,dt,ki,Be,le,Je,d,k,y,E,F,R,se,O,Bi,$i,fi,Zt,qi,ji,wi,di,Ki,mi,Jt,yi,je,Wi,xt,Qi,r,a,s,o,l,b,I,M,ee,L,ie,Le,Pe,Me,Ne,be,Ce,ft,yt,It,xi,Pi,Oi,ln,Yt,Ht,oi,Ot,li,Zi,hi,Ti,ri,vi,Di,Ei,gi,si,Lt,bi,Ai,Dt,mt,ai,lt,ui,Ii,Li,Wt,Hi,Ut,Mi,Vi,Ui,Gi,qt,Bt,Qt,rn,Nt,sn,en,pt,Ci,me,ue,Ze,xe,ct,Et,_i,Xt,n,c,f,h,v,w,_,C,B,ae,$,J,$t,mn,jt,kn,Cn,an,Sn,pn,nn,Pn,hn,Tn,x,_t,vn,Xi,gn,un,Kn,Wn,Zn,Gn,Yn,Vn,Qn]}class db extends ye{constructor(e){super(),we(this,e,fb,cb,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:111,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:112,supportLink:11,customFullscreenSupported:113,playNextVideo:12,playPrevVideo:13,repeatPlaylist:114,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18,onDisabledPlayPrevChapterClick:115,onDisabledSeekToInteractiveClick:116},eb,[-1,-1,-1,-1,-1,-1])}}function mb(t){let e,i,n;function l(o){t[28](o)}let r={bottomHidden:t[1],bottomNoSmooth:t[2],showControls:t[3],isAds:t[4],canRewindLive:t[5],logoClickable:t[6],logoHidden:t[7],videoLogoUrl:t[8],showNextPrevButtons:t[9],nextButtonActive:t[10],prevButtonActive:t[11],isOneVideoPlaylist:t[12],supportLink:t[13],customFullscreenSupported:t[14],playNextVideo:t[15],playPrevVideo:t[16],repeatPlaylist:t[17],toggleFullscreen:t[18],returnFocus:t[19],seekToInteractive:t[20],toggleGraph:t[21],playPrevChapter:t[22]};return t[0]!==void 0&&(r.controlsElementRef=t[0]),e=new Fg({props:r}),ke.push(()=>qe(e,"controlsElementRef",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s&2&&(a.bottomHidden=o[1]),s&4&&(a.bottomNoSmooth=o[2]),s&8&&(a.showControls=o[3]),s&16&&(a.isAds=o[4]),s&32&&(a.canRewindLive=o[5]),s&64&&(a.logoClickable=o[6]),s&128&&(a.logoHidden=o[7]),s&256&&(a.videoLogoUrl=o[8]),s&512&&(a.showNextPrevButtons=o[9]),s&1024&&(a.nextButtonActive=o[10]),s&2048&&(a.prevButtonActive=o[11]),s&4096&&(a.isOneVideoPlaylist=o[12]),s&8192&&(a.supportLink=o[13]),s&16384&&(a.customFullscreenSupported=o[14]),s&32768&&(a.playNextVideo=o[15]),s&65536&&(a.playPrevVideo=o[16]),s&131072&&(a.repeatPlaylist=o[17]),s&262144&&(a.toggleFullscreen=o[18]),s&524288&&(a.returnFocus=o[19]),s&1048576&&(a.seekToInteractive=o[20]),s&2097152&&(a.toggleGraph=o[21]),s&4194304&&(a.playPrevChapter=o[22]),!i&&s&1&&(i=!0,a.controlsElementRef=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function pb(t){let e,i,n;function l(o){t[27](o)}let r={bottomHidden:t[1],bottomNoSmooth:t[2],showControls:t[3],isAds:t[4],canRewindLive:t[5],logoClickable:t[6],logoHidden:t[7],videoLogoUrl:t[8],showNextPrevButtons:t[9],nextButtonActive:t[10],prevButtonActive:t[11],isOneVideoPlaylist:t[12],supportLink:t[13],customFullscreenSupported:t[14],playNextVideo:t[15],playPrevVideo:t[16],repeatPlaylist:t[17],toggleFullscreen:t[18],returnFocus:t[19],seekToInteractive:t[20],toggleGraph:t[21],playPrevChapter:t[22],onDisabledPlayPrevChapterClick:t[23],onDisabledSeekToInteractiveClick:t[24]};return t[0]!==void 0&&(r.controlsElementRef=t[0]),e=new db({props:r}),ke.push(()=>qe(e,"controlsElementRef",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s&2&&(a.bottomHidden=o[1]),s&4&&(a.bottomNoSmooth=o[2]),s&8&&(a.showControls=o[3]),s&16&&(a.isAds=o[4]),s&32&&(a.canRewindLive=o[5]),s&64&&(a.logoClickable=o[6]),s&128&&(a.logoHidden=o[7]),s&256&&(a.videoLogoUrl=o[8]),s&512&&(a.showNextPrevButtons=o[9]),s&1024&&(a.nextButtonActive=o[10]),s&2048&&(a.prevButtonActive=o[11]),s&4096&&(a.isOneVideoPlaylist=o[12]),s&8192&&(a.supportLink=o[13]),s&16384&&(a.customFullscreenSupported=o[14]),s&32768&&(a.playNextVideo=o[15]),s&65536&&(a.playPrevVideo=o[16]),s&131072&&(a.repeatPlaylist=o[17]),s&262144&&(a.toggleFullscreen=o[18]),s&524288&&(a.returnFocus=o[19]),s&1048576&&(a.seekToInteractive=o[20]),s&2097152&&(a.toggleGraph=o[21]),s&4194304&&(a.playPrevChapter=o[22]),s&8388608&&(a.onDisabledPlayPrevChapterClick=o[23]),s&16777216&&(a.onDisabledSeekToInteractiveClick=o[24]),!i&&s&1&&(i=!0,a.controlsElementRef=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function hb(t){let e,i,n,l;const r=[pb,mb],o=[];function s(a,c){return a[25]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=bt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){g(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function vb(t,e,i){let n,{bottomHidden:l}=e,{bottomNoSmooth:r=!1}=e,{showControls:o}=e,{controlsElementRef:s=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:d}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:b}=e,{nextButtonActive:v}=e,{prevButtonActive:w}=e,{isOneVideoPlaylist:_=!1}=e,{supportLink:k}=e,{customFullscreenSupported:y=!0}=e,{playNextVideo:C}=e,{playPrevVideo:E}=e,{repeatPlaylist:F}=e,{toggleFullscreen:R}=e,{returnFocus:B=te.noop}=e,{seekToInteractive:se}=e,{toggleGraph:ae}=e,{playPrevChapter:O}=e,{onDisabledPlayPrevChapterClick:$=te.noop}=e,{onDisabledSeekToInteractiveClick:J=te.noop}=e;const I=Tt().ui.isMobile;D(t,I,L=>i(25,n=L));function M(L){s=L,i(0,s)}function ee(L){s=L,i(0,s)}return t.$$set=L=>{"bottomHidden"in L&&i(1,l=L.bottomHidden),"bottomNoSmooth"in L&&i(2,r=L.bottomNoSmooth),"showControls"in L&&i(3,o=L.showControls),"controlsElementRef"in L&&i(0,s=L.controlsElementRef),"isAds"in L&&i(4,a=L.isAds),"canRewindLive"in L&&i(5,c=L.canRewindLive),"logoClickable"in L&&i(6,f=L.logoClickable),"logoHidden"in L&&i(7,d=L.logoHidden),"videoLogoUrl"in L&&i(8,h=L.videoLogoUrl),"showNextPrevButtons"in L&&i(9,b=L.showNextPrevButtons),"nextButtonActive"in L&&i(10,v=L.nextButtonActive),"prevButtonActive"in L&&i(11,w=L.prevButtonActive),"isOneVideoPlaylist"in L&&i(12,_=L.isOneVideoPlaylist),"supportLink"in L&&i(13,k=L.supportLink),"customFullscreenSupported"in L&&i(14,y=L.customFullscreenSupported),"playNextVideo"in L&&i(15,C=L.playNextVideo),"playPrevVideo"in L&&i(16,E=L.playPrevVideo),"repeatPlaylist"in L&&i(17,F=L.repeatPlaylist),"toggleFullscreen"in L&&i(18,R=L.toggleFullscreen),"returnFocus"in L&&i(19,B=L.returnFocus),"seekToInteractive"in L&&i(20,se=L.seekToInteractive),"toggleGraph"in L&&i(21,ae=L.toggleGraph),"playPrevChapter"in L&&i(22,O=L.playPrevChapter),"onDisabledPlayPrevChapterClick"in L&&i(23,$=L.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in L&&i(24,J=L.onDisabledSeekToInteractiveClick)},[s,l,r,o,a,c,f,d,h,b,v,w,_,k,y,C,E,F,R,B,se,ae,O,$,J,n,I,M,ee]}class kf extends ye{constructor(e){super(),we(this,e,vb,hb,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:7,videoLogoUrl:8,showNextPrevButtons:9,nextButtonActive:10,prevButtonActive:11,isOneVideoPlaylist:12,supportLink:13,customFullscreenSupported:14,playNextVideo:15,playPrevVideo:16,repeatPlaylist:17,toggleFullscreen:18,returnFocus:19,seekToInteractive:20,toggleGraph:21,playPrevChapter:22,onDisabledPlayPrevChapterClick:23,onDisabledSeekToInteractiveClick:24})}}function gb(t){We(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function bb(t){let e,i,n,l,r,o,s,a,c,f,d,h,b;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),d=N("feColorMatrix"),h=N("feBlend"),b=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(l,"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(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"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(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_100684"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_100684"),u(b,"result","shape"),u(o,"id","a"),u(o,"x","2.5"),u(o,"y","0"),u(o,"width","43.996"),u(o,"height","49.5"),u(o,"filterUnits","userSpaceOnUse"),u(o,"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",t[0])},m(v,w){P(v,e,w),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,b)},p(v,[w]){w&1&&V(e,"reversed",v[0])},i:G,o:G,d(v){v&&S(e)}}}function _b(t,e,i){let{reversed:n=!1}=e;return t.$$set=l=>{"reversed"in l&&i(0,n=l.reversed)},[n]}class wb extends ye{constructor(e){super(),we(this,e,_b,bb,ge,{reversed:0},gb)}}function yb(t){let e,i,n,l,r,o,s,a,c,f,d,h,b,v,w;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("clipPath"),s=N("path"),a=N("filter"),c=N("feFlood"),f=N("feColorMatrix"),d=N("feOffset"),h=N("feGaussianBlur"),b=N("feColorMatrix"),v=N("feBlend"),w=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(l,"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(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(o,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(h,"stdDeviation","2.5"),u(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(v,"in2","BackgroundImageFix"),u(v,"result","effect1_dropShadow_2260_104204"),u(w,"in","SourceGraphic"),u(w,"in2","effect1_dropShadow_2260_104204"),u(w,"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(_,k){P(_,e,k),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(r,a),p(a,c),p(a,f),p(a,d),p(a,h),p(a,b),p(a,v),p(a,w)},d(_){_&&S(e)}}}function kb(t){let e,i,n,l,r,o,s,a,c,f,d,h,b,v,w,_;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("path"),o=N("defs"),s=N("clipPath"),a=N("path"),c=N("filter"),f=N("feFlood"),d=N("feColorMatrix"),h=N("feOffset"),b=N("feGaussianBlur"),v=N("feColorMatrix"),w=N("feBlend"),_=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(l,"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(l,"fill","#fff"),u(r,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"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(d,"in","SourceAlpha"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(d,"result","hardAlpha"),u(b,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_2260_104293"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_104293"),u(_,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(k,y){P(k,e,y),p(e,i),p(i,n),p(i,l),p(i,r),p(e,o),p(o,s),p(s,a),p(o,c),p(c,f),p(c,d),p(c,h),p(c,b),p(c,v),p(c,w),p(c,_)},d(k){k&&S(e)}}}function Cb(t){let e;function i(r,o){return r[0]?kb:yb}let n=i(t),l=n(t);return{c(){l.c(),e=bt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,[o]){n!==(n=i(r))&&(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:G,o:G,d(r){r&&S(e),l.d(r)}}}function Sb(t,e,i){let{isOff:n=!1}=e;return t.$$set=l=>{"isOff"in l&&i(0,n=l.isOff)},[n]}class Cf extends ye{constructor(e){super(),we(this,e,Sb,Cb,ge,{isOff:0})}}function Pb(t){We(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Tb(t){let e,i,n,l,r,o,s,a,c,f,d,h,b;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),d=N("feColorMatrix"),h=N("feBlend"),b=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(l,"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(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"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(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_106627"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_106627"),u(b,"result","shape"),u(o,"id","a"),u(o,"x","3.402"),u(o,"y","10.105"),u(o,"width","40.098"),u(o,"height","27.785"),u(o,"filterUnits","userSpaceOnUse"),u(o,"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",t[0])},m(v,w){P(v,e,w),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,b)},p(v,[w]){w&1&&V(e,"reversed",v[0])},i:G,o:G,d(v){v&&S(e)}}}function Eb(t,e,i){let{reversed:n=!1}=e;return t.$$set=l=>{"reversed"in l&&i(0,n=l.reversed)},[n]}class Ab extends ye{constructor(e){super(),we(this,e,Eb,Tb,ge,{reversed:0},Pb)}}function Ib(t){We(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Lb(t){let e,i,n,l,r,o,s,a,c,f,d,h,b;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),d=N("feColorMatrix"),h=N("feBlend"),b=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(l,"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(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"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(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2340_106922"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2340_106922"),u(b,"result","shape"),u(o,"id","a"),u(o,"x","5.5"),u(o,"y","5.5"),u(o,"width","37"),u(o,"height","37"),u(o,"filterUnits","userSpaceOnUse"),u(o,"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",t[0])},m(v,w){P(v,e,w),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,b)},p(v,[w]){w&1&&V(e,"reversed",v[0])},i:G,o:G,d(v){v&&S(e)}}}function Mb(t,e,i){let{reversed:n=!1}=e;return t.$$set=l=>{"reversed"in l&&i(0,n=l.reversed)},[n]}class Vb extends ye{constructor(e){super(),we(this,e,Mb,Lb,ge,{reversed:0},Ib)}}function Bb(t){We(t,"v-4ftgwp",`.hot-key-helpers-container.v-4ftgwp.v-4ftgwp{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-4ftgwp-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-4ftgwp>div.v-4ftgwp{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-4ftgwp svg[data-testid="replay-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="play-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-4ftgwp.v-4ftgwp{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-4ftgwp.v-4ftgwp{left:calc(75% - 100px)}.hot-key-helpers-text.v-4ftgwp.v-4ftgwp{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-4ftgwp.v-4ftgwp{visibility:hidden;animation:v-4ftgwp-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-4ftgwp-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-4ftgwp-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function yu(t){let e,i=[Ye.BACKWARD_SEEK,Ye.FORWARD_SEEK].includes(t[4]),n,l,r,o,s,a,c=[Ye.RATE_DOWN,Ye.RATE_UP].includes(t[4]),f,d=[Ye.EPISODE_PREV,Ye.EPISODE_NEXT].includes(t[4]),h,b,v,w,_,k=i&&ku(t),y=t[4]===Ye.PAUSE&&Cu(),C=t[4]===Ye.PLAY&&Su(),E=t[4]===Ye.REPLAY&&Pu(),F=t[4]===Ye.SUBTITLES_OFF&&Tu(),R=t[4]===Ye.SUBTITLES_ON&&Eu(),B=c&&Au(t),se=d&&Iu(t),ae=t[4]===Ye.MUTE&&Lu(),O=t[4]===Ye.VOLUME&&Mu(),$=t[5]&&Vu(t);return{c(){e=T("div"),k&&k.c(),n=z(),y&&y.c(),l=z(),C&&C.c(),r=z(),E&&E.c(),o=z(),F&&F.c(),s=z(),R&&R.c(),a=z(),B&&B.c(),f=z(),se&&se.c(),h=z(),ae&&ae.c(),b=z(),O&&O.c(),v=z(),$&&$.c(),w=bt(),u(e,"class","v-4ftgwp")},m(J,Q){P(J,e,Q),k&&k.m(e,null),p(e,n),y&&y.m(e,null),p(e,l),C&&C.m(e,null),p(e,r),E&&E.m(e,null),p(e,o),F&&F.m(e,null),p(e,s),R&&R.m(e,null),p(e,a),B&&B.m(e,null),p(e,f),se&&se.m(e,null),p(e,h),ae&&ae.m(e,null),p(e,b),O&&O.m(e,null),P(J,v,Q),$&&$.m(J,Q),P(J,w,Q),_=!0},p(J,Q){Q&16&&(i=[Ye.BACKWARD_SEEK,Ye.FORWARD_SEEK].includes(J[4])),i?k?(k.p(J,Q),Q&16&&m(k,1)):(k=ku(J),k.c(),m(k,1),k.m(e,n)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),J[4]===Ye.PAUSE?y?Q&16&&m(y,1):(y=Cu(),y.c(),m(y,1),y.m(e,l)):y&&(fe(),g(y,1,1,()=>{y=null}),de()),J[4]===Ye.PLAY?C?Q&16&&m(C,1):(C=Su(),C.c(),m(C,1),C.m(e,r)):C&&(fe(),g(C,1,1,()=>{C=null}),de()),J[4]===Ye.REPLAY?E?Q&16&&m(E,1):(E=Pu(),E.c(),m(E,1),E.m(e,o)):E&&(fe(),g(E,1,1,()=>{E=null}),de()),J[4]===Ye.SUBTITLES_OFF?F?Q&16&&m(F,1):(F=Tu(),F.c(),m(F,1),F.m(e,s)):F&&(fe(),g(F,1,1,()=>{F=null}),de()),J[4]===Ye.SUBTITLES_ON?R?Q&16&&m(R,1):(R=Eu(),R.c(),m(R,1),R.m(e,a)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),Q&16&&(c=[Ye.RATE_DOWN,Ye.RATE_UP].includes(J[4])),c?B?(B.p(J,Q),Q&16&&m(B,1)):(B=Au(J),B.c(),m(B,1),B.m(e,f)):B&&(fe(),g(B,1,1,()=>{B=null}),de()),Q&16&&(d=[Ye.EPISODE_PREV,Ye.EPISODE_NEXT].includes(J[4])),d?se?(se.p(J,Q),Q&16&&m(se,1)):(se=Iu(J),se.c(),m(se,1),se.m(e,h)):se&&(fe(),g(se,1,1,()=>{se=null}),de()),J[4]===Ye.MUTE?ae?Q&16&&m(ae,1):(ae=Lu(),ae.c(),m(ae,1),ae.m(e,b)):ae&&(fe(),g(ae,1,1,()=>{ae=null}),de()),J[4]===Ye.VOLUME?O?Q&16&&m(O,1):(O=Mu(),O.c(),m(O,1),O.m(e,null)):O&&(fe(),g(O,1,1,()=>{O=null}),de()),J[5]?$?$.p(J,Q):($=Vu(J),$.c(),$.m(w.parentNode,w)):$&&($.d(1),$=null)},i(J){_||(m(k),m(y),m(C),m(E),m(F),m(R),m(B),m(se),m(ae),m(O),_=!0)},o(J){g(k),g(y),g(C),g(E),g(F),g(R),g(B),g(se),g(ae),g(O),_=!1},d(J){J&&(S(e),S(v),S(w)),k&&k.d(),y&&y.d(),C&&C.d(),E&&E.d(),F&&F.d(),R&&R.d(),B&&B.d(),se&&se.d(),ae&&ae.d(),O&&O.d(),$&&$.d(J)}}}function ku(t){let e,i;return e=new wb({props:{reversed:t[4]===Ye.FORWARD_SEEK}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Ye.FORWARD_SEEK),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Cu(t){let e,i;return e=new ef({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Su(t){let e,i;return e=new Er({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Pu(t){let e,i;return e=new ff({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Tu(t){let e,i;return e=new Cf({props:{isOff:!0}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Eu(t){let e,i;return e=new Cf({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Au(t){let e,i;return e=new Ab({props:{reversed:t[4]===Ye.RATE_UP}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Ye.RATE_UP),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Iu(t){let e,i;return e=new Vb({props:{reversed:t[4]===Ye.EPISODE_NEXT}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Ye.EPISODE_NEXT),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Lu(t){let e,i;return e=new Cl({props:{volume:0}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Mu(t){let e,i;return e=new Cl({props:{volume:1}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Vu(t){let e,i;return{c(){e=T("span"),i=ze(t[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,l){P(n,e,l),p(e,i)},p(n,l){l&32&&tt(i,n[5])},d(n){n&&S(e)}}}function Nb(t){let e,i,n=!t[1]&&t[4]&&yu(t);return{c(){e=T("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),V(e,"hidden",t[1]),V(e,"hot-key-helpers-container--left",t[2]),V(e,"hot-key-helpers-container--right",t[3])},m(l,r){P(l,e,r),n&&n.m(e,null),i=!0},p(l,[r]){!l[1]&&l[4]?n?(n.p(l,r),r&18&&m(n,1)):(n=yu(l),n.c(),m(n,1),n.m(e,null)):n&&(fe(),g(n,1,1,()=>{n=null}),de()),(!i||r&2)&&V(e,"hidden",l[1]),(!i||r&4)&&V(e,"hot-key-helpers-container--left",l[2]),(!i||r&8)&&V(e,"hot-key-helpers-container--right",l[3])},i(l){i||(m(n),i=!0)},o(l){g(n),i=!1},d(l){l&&S(e),n&&n.d()}}}function Rb(t,e,i){let n,l=G,r=()=>(l(),l=ei(o,h=>i(6,n=h)),o);t.$$.on_destroy.push(()=>l());let{data:o}=e;r();let s,a,c,f,d;return t.$$set=h=>{"data"in h&&r(i(0,o=h.data))},t.$$.update=()=>{t.$$.dirty&64&&(i(1,s=!n),i(2,a=(n==null?void 0:n.type)===Ye.BACKWARD_SEEK),i(3,c=(n==null?void 0:n.type)===Ye.FORWARD_SEEK),i(4,f=n==null?void 0:n.type),n!=null&&n.t?i(5,d=Y(n.t.key,{value:n.t.value||""})):i(5,d=n==null?void 0:n.text))},[o,s,a,c,f,d,n]}class Ob extends ye{constructor(e){super(),we(this,e,Rb,Nb,ge,{data:0},Bb)}}function Db(t){We(t,"v-1yzc86r",".immersive-controls.v-1yzc86r{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn)}.immersive-controls.m-shifted.v-1yzc86r{top:50px;left:20px}.button-block.v-1yzc86r{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-1yzc86r{display:flex;flex-direction:row;position:relative}.button.v-1yzc86r{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-1yzc86r svg{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-1yzc86r svg{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-1yzc86r svg{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-1yzc86r svg{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-1yzc86r svg{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-1yzc86r:hover svg{opacity:1}")}function zb(t){let e,i,n,l,r,o,s,a,c,f,d,h,b,v,w,_,k,y;return r=new $n({props:{direction:"up"}}),a=new $n({props:{direction:"up"}}),h=new $n({props:{direction:"up"}}),w=new $n({props:{direction:"up"}}),{c(){e=T("div"),i=T("div"),n=T("div"),l=T("div"),W(r.$$.fragment),o=z(),s=T("div"),W(a.$$.fragment),c=z(),f=T("div"),d=T("div"),W(h.$$.fragment),b=z(),v=T("div"),W(w.$$.fragment),u(l,"class","button button-up v-1yzc86r"),u(s,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(d,"class","button button-left v-1yzc86r"),u(v,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(i,"class","button-block v-1yzc86r"),u(i,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",Y("aria_label_spherical_control")),V(e,"m-shifted",t[0])},m(C,E){P(C,e,E),p(e,i),p(i,n),p(n,l),q(r,l,null),p(n,o),p(n,s),q(a,s,null),p(i,c),p(i,f),p(f,d),q(h,d,null),p(f,b),p(f,v),q(w,v,null),_=!0,k||(y=[pe(l,"mousedown",t[1]),pe(l,"mouseup",t[5]),pe(l,"mouseleave",t[5]),pe(s,"mousedown",t[3]),pe(s,"mouseup",t[5]),pe(s,"mouseleave",t[5]),pe(d,"mousedown",t[4]),pe(d,"mouseup",t[5]),pe(d,"mouseleave",t[5]),pe(v,"mousedown",t[2]),pe(v,"mouseup",t[5]),pe(v,"mouseleave",t[5]),pe(e,"keydown",t[6]),pe(e,"keyup",t[7])],k=!0)},p(C,[E]){(!_||E&1)&&V(e,"m-shifted",C[0])},i(C){_||(m(r.$$.fragment,C),m(a.$$.fragment,C),m(h.$$.fragment,C),m(w.$$.fragment,C),_=!0)},o(C){g(r.$$.fragment,C),g(a.$$.fragment,C),g(h.$$.fragment,C),g(w.$$.fragment,C),_=!1},d(C){C&&S(e),j(r),j(a),j(h),j(w),k=!1,rt(y)}}}function Fb(t,e,i){let{isShifted:n=!1}=e;const l=Tt(),r=new Set([Ie.ArrowUp,Ie.ArrowDown,Ie.ArrowLeft,Ie.ArrowRight]),o=()=>{l.actions.internal.startCameraManualRotation(0,1)},s=()=>{l.actions.internal.startCameraManualRotation(0,-1)},a=()=>{l.actions.internal.startCameraManualRotation(1,0)},c=()=>{l.actions.internal.startCameraManualRotation(-1,0)},f=()=>(l.actions.internal.stopCameraManualRotation(),null),d=b=>{if(r.has(b.code))switch(b.preventDefault(),b.stopPropagation(),b.code){case Ie.ArrowUp:o();break;case Ie.ArrowDown:s();break;case Ie.ArrowLeft:c();break;case Ie.ArrowRight:a();break}},h=b=>{r.has(b.code)&&(b.preventDefault(),b.stopPropagation(),f())};return t.$$set=b=>{"isShifted"in b&&i(0,n=b.isShifted)},[n,o,s,a,c,f,d,h]}class Sf extends ye{constructor(e){super(),we(this,e,Fb,zb,ge,{isShifted:0},Db)}}function Hb(t){We(t,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function Bu(t,e,i){const n=t.slice();return n[16]=e[i].value,n}function Nu(t,e,i){const n=t.slice();return n[16]=e[i].value,n[17]=e[i].timeAppeared,n}function Ru(t){let e,i;function n(o,s){return o[7]&&o[8]?jb:o[5]?qb:Ub}let l=n(t),r=l(t);return{c(){e=T("div"),i=T("span"),r.c(),u(i,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),V(e,"mobile",t[3])},m(o,s){P(o,e,s),p(e,i),r.m(i,null)},p(o,s){l===(l=n(o))&&r?r.p(o,s):(r.d(1),r=l(o),r&&(r.c(),r.m(i,null))),s&8&&V(e,"mobile",o[3])},d(o){o&&S(e),r.d()}}}function Ub(t){let e,i=Gt(t[1]),n=[];for(let l=0;l<i.length;l+=1)n[l]=Ou(Bu(t,i,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=bt()},m(l,r){for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(l,r);P(l,e,r)},p(l,r){if(r&18){i=Gt(l[1]);let o;for(o=0;o<i.length;o+=1){const s=Bu(l,i,o);n[o]?n[o].p(s,r):(n[o]=Ou(s),n[o].c(),n[o].m(e.parentNode,e))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(l){l&&S(e),Mn(n,l)}}}function qb(t){let e,i,n=Gt(t[6]),l=[];for(let r=0;r<n.length;r+=1)l[r]=zu(Nu(t,n,r));return{c(){e=T("span"),i=T("span");for(let r=0;r<l.length;r+=1)l[r].c();u(i,"class","caption-segment v-ovfyp5"),Ft(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,o){P(r,e,o),p(e,i);for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(i,null)},p(r,o){if(o&68){n=Gt(r[6]);let s;for(s=0;s<n.length;s+=1){const a=Nu(r,n,s);l[s]?l[s].p(a,o):(l[s]=zu(a),l[s].c(),l[s].m(i,null))}for(;s<l.length;s+=1)l[s].d(1);l.length=n.length}o&16&&Ft(i,"font-size",r[4]+"px")},d(r){r&&S(e),Mn(l,r)}}}function jb(t){let e,i,n=Y("subtitles_auto_caption")+"",l;return{c(){e=T("span"),i=T("span"),l=ze(n),u(i,"class","caption-segment v-ovfyp5"),Ft(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,o){P(r,e,o),p(e,i),p(i,l)},p(r,o){o&16&&Ft(i,"font-size",r[4]+"px")},d(r){r&&S(e)}}}function Ou(t){let e,i,n=t[16]+"",l,r;return{c(){e=T("span"),i=T("span"),l=ze(n),r=z(),u(i,"class","caption-segment v-ovfyp5"),Ft(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(o,s){P(o,e,s),p(e,i),p(i,l),p(e,r)},p(o,s){s&2&&n!==(n=o[16]+"")&&tt(l,n),s&16&&Ft(i,"font-size",o[4]+"px")},d(o){o&&S(e)}}}function Du(t){let e=t[16]+"",i;return{c(){i=ze(e)},m(n,l){P(n,i,l)},p(n,l){l&64&&e!==(e=n[16]+"")&&tt(i,e)},d(n){n&&S(i)}}}function zu(t){let e,i=(!t[17]||t[17]<=t[2])&&Du(t);return{c(){i&&i.c(),e=bt()},m(n,l){i&&i.m(n,l),P(n,e,l)},p(n,l){!n[17]||n[17]<=n[2]?i?i.p(n,l):(i=Du(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(n){n&&S(e),i&&i.d(n)}}}function Kb(t){let e,i=t[1].length>0&&Ru(t);return{c(){e=T("div"),i&&i.c(),u(e,"class","subtitles-container v-ovfyp5"),V(e,"shifted",t[0]),V(e,"auto",t[5]&&!t[8])},m(n,l){P(n,e,l),i&&i.m(e,null)},p(n,[l]){n[1].length>0?i?i.p(n,l):(i=Ru(n),i.c(),i.m(e,null)):i&&(i.d(1),i=null),l&1&&V(e,"shifted",n[0]),l&288&&V(e,"auto",n[5]&&!n[8])},i:G,o:G,d(n){n&&S(e),i&&i.d()}}}function Wb(t,e,i){let n,l,{shifted:r}=e,{captions:o}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=Tt(),d=yn(),h=f.state.currentSubtitle$;D(t,h,C=>i(12,n=C));const b=f.state.isAutoSubtitleCaptionVisible$;D(t,b,C=>i(8,l=C));let v,w,_,k,y;return wn(()=>{y=window.setTimeout(()=>{b.set(!1)},d.autoSubtitlesTimeout)}),bl(()=>{window.clearTimeout(y)}),t.$$set=C=>{"shifted"in C&&i(0,r=C.shifted),"captions"in C&&i(1,o=C.captions),"position"in C&&i(2,s=C.position),"playerSize"in C&&i(11,a=C.playerSize),"isMobile"in C&&i(3,c=C.isMobile)},t.$$.update=()=>{if(t.$$.dirty&2048){const C=a.width*.02;i(4,v=C<=d.minSubtitlesFontSize?d.minSubtitlesFontSize:C)}t.$$.dirty&2&&i(5,w=o.some(C=>C.type==="timestamp")),t.$$.dirty&2&&i(6,_=o.reduce((C,{type:E,value:F})=>(E==="timestamp"?C.push({timeAppeared:Number(F),value:""}):C.length===0?C.push({value:String(F)}):C[C.length-1].value=String(F),C),[])),t.$$.dirty&4096&&i(7,k=!!n.isAuto)},[r,o,s,c,v,w,_,k,l,h,b,a,n]}class Pf extends ye{constructor(e){super(),we(this,e,Wb,Kb,ge,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},Hb)}}function Zb(t){We(t,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function Fu(t){let e,i,n;return{c(){e=T("div"),i=ze("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=ze(t[1]),u(e,"class","text v-1o62kpz")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p(l,r){r&2&&tt(n,l[1])},d(l){l&&S(e)}}}function Gb(t){let e,i,n,l,r,o,s=t[1]&&Fu(t);return{c(){e=T("div"),i=T("div"),i.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=z(),s&&s.c(),u(i,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${t[0]||""}')`)},m(a,c){P(a,e,c),p(e,i),p(e,n),s&&s.m(e,null),r||(o=pe(e,"click",t[2]),r=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=Fu(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&l!==(l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",l)},i:G,o:G,d(a){a&&S(e),s&&s.d(),r=!1,o()}}}function Yb(t,e,i){let{thumbUrl:n}=e,{chromecastDeviceName:l}=e;function r(o){Po.call(this,t,o)}return t.$$set=o=>{"thumbUrl"in o&&i(0,n=o.thumbUrl),"chromecastDeviceName"in o&&i(1,l=o.chromecastDeviceName)},[n,l,r]}class Tf extends ye{constructor(e){super(),we(this,e,Yb,Gb,ge,{thumbUrl:0,chromecastDeviceName:1},Zb)}}function Qb(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class Xb extends ye{constructor(e){super(),we(this,e,null,Qb,ge,{})}}function Jb(t){We(t,"v-13zpvm8",".container.v-13zpvm8{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function xb(t){let e,i,n;return i=new Xb({}),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","container v-13zpvm8")},m(l,r){P(l,e,r),q(i,e,null),n=!0},p:G,i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),j(i)}}}class Ef extends ye{constructor(e){super(),we(this,e,null,xb,ge,{},Jb)}}function $b(t){We(t,"v-17wno3",".container.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-17wno3.v-17wno3{opacity:0;visibility:hidden}.playButton.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-17wno3:hover .playButtonBackground.v-17wno3{background-color:var(--big-play-hover-bg-color);transform:scale(1.15)}.playButton.v-17wno3 svg{transform:scale(2)}")}function e_(t){let e,i,n,l,r,o,s,a,c;return r=new Er({}),{c(){e=T("div"),i=T("div"),n=T("div"),l=z(),W(r.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(i,"class","playButton v-17wno3"),u(i,"tabindex","0"),u(i,"role","button"),u(i,"aria-label",Y("tooltip_play")),u(e,"class","container v-17wno3"),u(e,"style",o=`background-color: #222; background-image: url('${t[0]||""}')`),V(e,"hidden",t[1])},m(f,d){P(f,e,d),p(e,i),p(i,n),p(i,l),q(r,i,null),s=!0,a||(c=[pe(i,"keydown",t[3]),pe(e,"click",at(function(){Ln(t[2])&&t[2].apply(this,arguments)}))],a=!0)},p(f,[d]){t=f,(!s||d&1&&o!==(o=`background-color: #222; background-image: url('${t[0]||""}')`))&&u(e,"style",o),(!s||d&2)&&V(e,"hidden",t[1])},i(f){s||(m(r.$$.fragment,f),s=!0)},o(f){g(r.$$.fragment,f),s=!1},d(f){f&&S(e),j(r),a=!1,rt(c)}}}function t_(t,e,i){let{thumbUrl:n}=e,{hidden:l}=e,{startVideo:r}=e;const s=Tt().ui.startedByKeyboard$,a=c=>{const f=c.code;[Ie.Enter,Ie.Space].includes(f)&&(c.stopPropagation(),c.preventDefault(),s.set(!0),r())};return t.$$set=c=>{"thumbUrl"in c&&i(0,n=c.thumbUrl),"hidden"in c&&i(1,l=c.hidden),"startVideo"in c&&i(2,r=c.startVideo)},[n,l,r,a]}class Af extends ye{constructor(e){super(),we(this,e,t_,e_,ge,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},$b)}get handlePressKey(){return this.$$.ctx[3]}}function i_(t){We(t,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
|
|
26
26
|
0deg,
|
|
27
27
|
rgba(0, 0, 0, 0) 0%,
|
|
28
28
|
rgba(0, 0, 0, 0.02) 19%,
|
|
29
29
|
rgba(0, 0, 0, 0.10) 34%,
|
|
30
30
|
rgba(0, 0, 0, 0.40) 60%,
|
|
31
31
|
rgba(0, 0, 0, 0.60) 100%
|
|
32
|
-
)}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function Ub(i){let e,t;return{c(){e=A("div"),t=Oe(i[0]),u(e,"class","title v-1bcvcf2"),M(e,"hidden",i[1])},m(n,o){E(n,e,o),p(e,t)},p(n,[o]){o&1&&$e(t,n[0]),o&2&&M(e,"hidden",n[1])},i:K,o:K,d(n){n&&P(e)}}}function jb(i,e,t){let{title:n=""}=e,{isHidden:o=!1}=e;return i.$$set=r=>{"title"in r&&t(0,n=r.title),"isHidden"in r&&t(1,o=r.isHidden)},[n,o]}class qb extends we{constructor(e){super(),_e(this,e,jb,Ub,be,{title:0,isHidden:1},Hb)}}function Wb(i){je(i,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function Ru(i){let e,t,n,o,r,l,s;return{c(){e=A("div"),t=A("span"),n=Oe(i[0]),o=R(),r=A("span"),r.textContent=`${Y("waiting_live_day_value")}`,l=R(),s=A("span"),s.textContent=`${Y("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),E(a,l,c),E(a,s,c)},p(a,c){c&1&&$e(n,a[0])},d(a){a&&(P(e),P(l),P(s))}}}function Ou(i){let e,t,n,o,r,l,s;return{c(){e=A("div"),t=A("span"),n=Oe(i[1]),o=R(),r=A("span"),r.textContent=`${Y("waiting_live_hour_value")}`,l=R(),s=A("span"),s.textContent=`${Y("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),E(a,l,c),E(a,s,c)},p(a,c){c&2&&$e(n,a[1])},d(a){a&&(P(e),P(l),P(s))}}}function Du(i){let e,t,n,o,r,l,s;return{c(){e=A("div"),t=A("span"),n=Oe(i[2]),o=R(),r=A("span"),r.textContent=`${Y("waiting_live_minute_value")}`,l=R(),s=A("span"),s.textContent=`${Y("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),E(a,l,c),E(a,s,c)},p(a,c){c&4&&$e(n,a[2])},d(a){a&&(P(e),P(l),P(s))}}}function zu(i){let e,t,n,o,r;return{c(){e=A("div"),t=A("span"),n=Oe(i[3]),o=R(),r=A("span"),r.textContent=`${Y("waiting_live_second_value")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(l,s){E(l,e,s),p(e,t),p(t,n),p(e,o),p(e,r)},p(l,s){s&8&&$e(n,l[3])},d(l){l&&P(e)}}}function Zb(i){let e,t,n,o,r=i[0]&&Ru(i),l=i[1]&&Ou(i),s=i[2]&&Du(i),a=i[3]&&zu(i);return{c(){e=A("div"),r&&r.c(),t=R(),l&&l.c(),n=R(),s&&s.c(),o=R(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){E(c,e,f),r&&r.m(e,null),p(e,t),l&&l.m(e,null),p(e,n),s&&s.m(e,null),p(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?r?r.p(c,f):(r=Ru(c),r.c(),r.m(e,t)):r&&(r.d(1),r=null),c[1]?l?l.p(c,f):(l=Ou(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[2]?s?s.p(c,f):(s=Du(c),s.c(),s.m(e,o)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=zu(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:K,o:K,d(c){c&&P(e),r&&r.d(),l&&l.d(),s&&s.d(),a&&a.d()}}}function Kb(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,r,l,s,a,c;const f=b=>String(b).padStart(2,"0"),m=b=>{const v=Math.floor(b/86400);v&&(b-=v*86400,t(0,r=f(v)));const w=Math.floor(b/3600);t(1,l=f(w));const _=Math.floor(b/60)%60;t(2,s=f(_));const S=b%60;t(3,a=f(S))},h=()=>{const b=Math.floor(Date.now()/1e3),v=n-b;m(v),v>=1?c=requestAnimationFrame(h):o()};return vn(()=>{c=requestAnimationFrame(h)}),_l(()=>{cancelAnimationFrame(c)}),i.$$set=b=>{"startTime"in b&&t(4,n=b.startTime),"onTimerOver"in b&&t(5,o=b.onTimerOver)},[r,l,s,a,n,o]}class Gb extends we{constructor(e){super(),_e(this,e,Kb,Zb,be,{startTime:4,onTimerOver:5},Wb)}}function Yb(i){let e,t,n,o,r;return{c(){e=B("svg"),t=B("path"),n=B("path"),o=B("path"),r=B("path"),u(t,"fill","#fefffe"),u(t,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),Ut(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"),Ut(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"),Ut(o,"opacity",".985"),u(r,"fill","#fefffe"),u(r,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),Ut(r,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),Ut(e,"shape-rendering","geometricPrecision"),Ut(e,"text-rendering","geometricPrecision"),Ut(e,"image-rendering","optimizeQuality"),Ut(e,"fill-rule","evenodd"),Ut(e,"clip-rule","evenodd"),Ut(e,"width","100%"),Ut(e,"height","100%")},m(l,s){E(l,e,s),p(e,t),p(e,n),p(e,o),p(e,r)},p:K,i:K,o:K,d(l){l&&P(e)}}}class Qb extends we{constructor(e){super(),_e(this,e,null,Yb,be,{})}}function Xb(i){je(i,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function Jb(i){let e,t,n,o,r;return o=new Gb({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=A("div"),t=A("span"),t.textContent=`${Y("waiting_live_timer_title")}`,n=R(),W(o.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(l,s){E(l,e,s),p(e,t),p(e,n),U(o,e,null),r=!0},p(l,s){const a={};s&2&&(a.startTime=l[1]||0),s&4&&(a.onTimerOver=l[3]),o.$set(a)},i(l){r||(d(o.$$.fragment,l),r=!0)},o(l){g(o.$$.fragment,l),r=!1},d(l){l&&P(e),j(o)}}}function xb(i){let e,t,n,o,r,l;return n=new Qb({}),{c(){e=A("div"),t=A("div"),W(n.$$.fragment),o=R(),r=A("span"),r.textContent=`${Y("waiting_live_upcoming_title")}`,u(t,"class","upcoming-icon v-15pewff"),u(r,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(s,a){E(s,e,a),p(e,t),U(n,t,null),p(e,o),p(e,r),l=!0},p:K,i(s){l||(d(n.$$.fragment,s),l=!0)},o(s){g(n.$$.fragment,s),l=!1},d(s){s&&P(e),j(n)}}}function $b(i){let e,t,n,o,r;const l=[xb,Jb],s=[];function a(c,f){return c[2]?0:1}return t=a(i),n=s[t]=l[t](i),{c(){e=A("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${i[2]?"":i[0]})`)},m(c,f){E(c,e,f),s[t].m(e,null),r=!0},p(c,[f]){let m=t;t=a(c),t===m?s[t].p(c,f):(pe(),g(s[m],1,1,()=>{s[m]=null}),he(),n=s[t],n?n.p(c,f):(n=s[t]=l[t](c),n.c()),d(n,1),n.m(e,null)),(!r||f&5&&o!==(o=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",o)},i(c){r||(d(n),r=!0)},o(c){g(n),r=!1},d(c){c&&P(e),s[t].d()}}}function e_(i,e,t){let n,{thumbUrl:o}=e,{startTime:r}=e;const l=()=>t(2,n=!0);return i.$$set=s=>{"thumbUrl"in s&&t(0,o=s.thumbUrl),"startTime"in s&&t(1,r=s.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=r===void 0||r<Math.floor(Date.now()/1e3))},[o,r,n,l]}class Sf extends we{constructor(e){super(),_e(this,e,e_,$b,be,{thumbUrl:0,startTime:1},Xb)}}function t_(i){je(i,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function i_(i){let e,t;return{c(){e=A("div"),t=A("p"),t.textContent=`${Y("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){E(n,e,o),p(e,t)},p:K,i:K,o:K,d(n){n&&P(e)}}}class Cf extends we{constructor(e){super(),_e(this,e,null,i_,be,{},t_)}}const{window:n_}=k1;function o_(i){je(i,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function Fu(i){var n;let e,t;return e=new Sf({props:{thumbUrl:i[3],startTime:(n=i[5])==null?void 0:n.startTime}}),{c(){W(e.$$.fragment)},m(o,r){U(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&8&&(l.thumbUrl=o[3]),r[0]&32&&(l.startTime=(s=o[5])==null?void 0:s.startTime),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){j(e,o)}}}function Hu(i){let e,t;return e=new Cf({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Uu(i){let e,t,n;return t=new Ec({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),M(e,"hidden",i[38]!==Ne.Ads)},m(o,r){E(o,e,r),U(t,e,null),n=!0},p(o,r){const l={};r[0]&512&&(l.adsSlotId=o[9]),r[0]&1024&&(l.adsParams=o[10]),r[0]&2048&&(l.adsPreviewParam=o[11]),r[0]&4096&&(l.duration=o[12]),t.$set(l),(!n||r[1]&128)&&M(e,"hidden",o[38]!==Ne.Ads)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),j(t)}}}function ju(i){let e,t;return e=new S3({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&262144&&(r.title=n[18]),o[0]&524288&&(r.thumb=n[19]),o[0]&8388608&&(r.playNextVideo=n[23]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function qu(i){let e,t;return e=new qb({props:{title:i[2],isHidden:!i[36]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&4&&(r.title=n[2]),o[1]&32&&(r.isHidden=!n[36]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Wu(i){let e,t;return e=new bf({props:{isShifted:i[38]===Ne.Video&&i[36]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[1]&160&&(r.isShifted=n[38]===Ne.Video&&n[36]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Zu(i){let e,t,n;return t=new q1({props:{ariaLabel:Y("video360")}}),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,r){E(o,e,r),U(t,e,null),n=!0},p:K,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),j(t)}}}function Ku(i){let e,t;return e=new wf({props:{thumbUrl:i[3],chromecastDeviceName:i[55]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&8&&(r.thumbUrl=n[3]),o[1]&16777216&&(r.chromecastDeviceName=n[55]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Gu(i){let e,t;return e=new _f({props:{shifted:i[36],captions:i[57],position:i[58],playerSize:i[34]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[1]&32&&(r.shifted=n[36]),o[1]&67108864&&(r.captions=n[57]),o[1]&134217728&&(r.position=n[58]),o[1]&8&&(r.playerSize=n[34]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Yu(i){let e,t,n,o,r;return t=new yf({}),{c(){e=A("div"),W(t.$$.fragment)},m(l,s){E(l,e,s),U(t,e,null),n=!0,o||(r=[ge(e,"contextmenu",ii(i[107])),ge(e,"click",rt(i[118]))],o=!0)},p:K,i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&P(e),j(t),o=!1,nt(r)}}}function Qu(i){let e,t,n;function o(l){i[151](l)}let r={bottomHidden:i[38]===Ne.Thumb||i[38]===Ne.WaitingLive||i[38]===Ne.WaitingRecord,bottomNoSmooth:i[52],showControls:i[36],isAds:i[38]===Ne.Ads,canRewindLive:i[7]&&i[59]!==0,logoClickable:i[13],logoHidden:i[14],videoLogoUrl:i[4],showNextPrevButtons:i[15],nextButtonActive:i[16],prevButtonActive:i[17],isOneVideoPlaylist:i[20],supportLink:i[21],customFullscreenSupported:s_,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[105],returnFocus:i[150],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};return i[41]!==void 0&&(r.controlsElementRef=i[41]),e=new vf({props:r}),ye.push(()=>Ze(e,"controlsElementRef",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[1]&128&&(a.bottomHidden=l[38]===Ne.Thumb||l[38]===Ne.WaitingLive||l[38]===Ne.WaitingRecord),s[1]&2097152&&(a.bottomNoSmooth=l[52]),s[1]&32&&(a.showControls=l[36]),s[1]&128&&(a.isAds=l[38]===Ne.Ads),s[0]&128|s[1]&268435456&&(a.canRewindLive=l[7]&&l[59]!==0),s[0]&8192&&(a.logoClickable=l[13]),s[0]&16384&&(a.logoHidden=l[14]),s[0]&16&&(a.videoLogoUrl=l[4]),s[0]&32768&&(a.showNextPrevButtons=l[15]),s[0]&65536&&(a.nextButtonActive=l[16]),s[0]&131072&&(a.prevButtonActive=l[17]),s[0]&1048576&&(a.isOneVideoPlaylist=l[20]),s[0]&2097152&&(a.supportLink=l[21]),s[0]&8388608&&(a.playNextVideo=l[23]),s[0]&16777216&&(a.playPrevVideo=l[24]),s[0]&33554432&&(a.repeatPlaylist=l[25]),s[1]&524288&&(a.returnFocus=l[150]),s[0]&67108864&&(a.seekToInteractive=l[26]),s[0]&134217728&&(a.toggleGraph=l[27]),s[0]&268435456&&(a.playPrevChapter=l[28]),!t&&s[1]&1024&&(t=!0,a.controlsElementRef=l[41],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function Xu(i){let e,t;return e=new Fc({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ju(i){let e,t;return e=new Z3({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function xu(i){let e,t;return e=new Nc({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function $u(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,w,_,S,y,k,V,G,I,Q,se;e=new kf({props:{hidden:i[38]!==Ne.Thumb||i[37]||i[93]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let te=i[38]===Ne.WaitingLive&&Fu(i),N=i[38]===Ne.WaitingRecord&&Hu(),$=i[8]&&i[22]&&Uu(i),C=i[31]&&i[18]&&i[19]&&ju(i),D=i[46]&&qu(i),ce=i[51]&&Wu(i),T=i[54]&&Zu(),re=i[39]&&Ku(i),O=i[56].value!=="off"&&Gu(i),le=i[37]&&Yu(i),me=i[22]&&Qu(i);v=new Lc({props:{isLive:i[60],isHidden:!i[45],isPlaying:i[61],position:i[58],duration:i[62]}}),_=new wb({props:{data:i[102]}});function ze(X){i[153](X)}let He={supportLink:i[21],returnFocus:i[152],visible:i[33],playerContainerRef:i[40],controlsContainerRef:i[41],x:i[42],y:i[43]};i[32]!==void 0&&(He.menuElementRef=i[32]),y=new i3({props:He}),ye.push(()=>Ze(y,"menuElementRef",ze));let Ee=i[44]&&Xu(),de=i[63]&&Ju(),ke=i[64]&&xu();return{c(){W(e.$$.fragment),t=R(),te&&te.c(),n=R(),N&&N.c(),o=R(),$&&$.c(),r=R(),C&&C.c(),l=R(),D&&D.c(),s=R(),ce&&ce.c(),a=R(),T&&T.c(),c=R(),re&&re.c(),f=R(),O&&O.c(),m=R(),le&&le.c(),h=R(),me&&me.c(),b=R(),W(v.$$.fragment),w=R(),W(_.$$.fragment),S=R(),W(y.$$.fragment),V=R(),Ee&&Ee.c(),G=R(),de&&de.c(),I=R(),ke&&ke.c(),Q=gt()},m(X,F){U(e,X,F),E(X,t,F),te&&te.m(X,F),E(X,n,F),N&&N.m(X,F),E(X,o,F),$&&$.m(X,F),E(X,r,F),C&&C.m(X,F),E(X,l,F),D&&D.m(X,F),E(X,s,F),ce&&ce.m(X,F),E(X,a,F),T&&T.m(X,F),E(X,c,F),re&&re.m(X,F),E(X,f,F),O&&O.m(X,F),E(X,m,F),le&&le.m(X,F),E(X,h,F),me&&me.m(X,F),E(X,b,F),U(v,X,F),E(X,w,F),U(_,X,F),E(X,S,F),U(y,X,F),E(X,V,F),Ee&&Ee.m(X,F),E(X,G,F),de&&de.m(X,F),E(X,I,F),ke&&ke.m(X,F),E(X,Q,F),se=!0},p(X,F){const Te={};F[0]&64|F[1]&192&&(Te.hidden=X[38]!==Ne.Thumb||X[37]||X[93]&&X[6]),F[0]&8&&(Te.thumbUrl=X[3]),F[0]&536870912&&(Te.startVideo=X[29]),e.$set(Te),X[38]===Ne.WaitingLive?te?(te.p(X,F),F[1]&128&&d(te,1)):(te=Fu(X),te.c(),d(te,1),te.m(n.parentNode,n)):te&&(pe(),g(te,1,1,()=>{te=null}),he()),X[38]===Ne.WaitingRecord?N?F[1]&128&&d(N,1):(N=Hu(),N.c(),d(N,1),N.m(o.parentNode,o)):N&&(pe(),g(N,1,1,()=>{N=null}),he()),X[8]&&X[22]?$?($.p(X,F),F[0]&4194560&&d($,1)):($=Uu(X),$.c(),d($,1),$.m(r.parentNode,r)):$&&(pe(),g($,1,1,()=>{$=null}),he()),X[31]&&X[18]&&X[19]?C?(C.p(X,F),F[0]&786432|F[1]&1&&d(C,1)):(C=ju(X),C.c(),d(C,1),C.m(l.parentNode,l)):C&&(pe(),g(C,1,1,()=>{C=null}),he()),X[46]?D?(D.p(X,F),F[1]&32768&&d(D,1)):(D=qu(X),D.c(),d(D,1),D.m(s.parentNode,s)):D&&(pe(),g(D,1,1,()=>{D=null}),he()),X[51]?ce?(ce.p(X,F),F[1]&1048576&&d(ce,1)):(ce=Wu(X),ce.c(),d(ce,1),ce.m(a.parentNode,a)):ce&&(pe(),g(ce,1,1,()=>{ce=null}),he()),X[54]?T?(T.p(X,F),F[1]&8388608&&d(T,1)):(T=Zu(),T.c(),d(T,1),T.m(c.parentNode,c)):T&&(pe(),g(T,1,1,()=>{T=null}),he()),X[39]?re?(re.p(X,F),F[1]&256&&d(re,1)):(re=Ku(X),re.c(),d(re,1),re.m(f.parentNode,f)):re&&(pe(),g(re,1,1,()=>{re=null}),he()),X[56].value!=="off"?O?(O.p(X,F),F[1]&33554432&&d(O,1)):(O=Gu(X),O.c(),d(O,1),O.m(m.parentNode,m)):O&&(pe(),g(O,1,1,()=>{O=null}),he()),X[37]?le?(le.p(X,F),F[1]&64&&d(le,1)):(le=Yu(X),le.c(),d(le,1),le.m(h.parentNode,h)):le&&(pe(),g(le,1,1,()=>{le=null}),he()),X[22]?me?(me.p(X,F),F[0]&4194304&&d(me,1)):(me=Qu(X),me.c(),d(me,1),me.m(b.parentNode,b)):me&&(pe(),g(me,1,1,()=>{me=null}),he());const ae={};F[1]&536870912&&(ae.isLive=X[60]),F[1]&16384&&(ae.isHidden=!X[45]),F[1]&1073741824&&(ae.isPlaying=X[61]),F[1]&134217728&&(ae.position=X[58]),F[2]&1&&(ae.duration=X[62]),v.$set(ae);const Pe={};F[0]&2097152&&(Pe.supportLink=X[21]),F[1]&524288&&(Pe.returnFocus=X[152]),F[1]&4&&(Pe.visible=X[33]),F[1]&512&&(Pe.playerContainerRef=X[40]),F[1]&1024&&(Pe.controlsContainerRef=X[41]),F[1]&2048&&(Pe.x=X[42]),F[1]&4096&&(Pe.y=X[43]),!k&&F[1]&2&&(k=!0,Pe.menuElementRef=X[32],We(()=>k=!1)),y.$set(Pe),X[44]?Ee?F[1]&8192&&d(Ee,1):(Ee=Xu(),Ee.c(),d(Ee,1),Ee.m(G.parentNode,G)):Ee&&(pe(),g(Ee,1,1,()=>{Ee=null}),he()),X[63]?de?F[2]&2&&d(de,1):(de=Ju(),de.c(),d(de,1),de.m(I.parentNode,I)):de&&(pe(),g(de,1,1,()=>{de=null}),he()),X[64]?ke?F[2]&4&&d(ke,1):(ke=xu(),ke.c(),d(ke,1),ke.m(Q.parentNode,Q)):ke&&(pe(),g(ke,1,1,()=>{ke=null}),he())},i(X){se||(d(e.$$.fragment,X),d(te),d(N),d($),d(C),d(D),d(ce),d(T),d(re),d(O),d(le),d(me),d(v.$$.fragment,X),d(_.$$.fragment,X),d(y.$$.fragment,X),d(Ee),d(de),d(ke),se=!0)},o(X){g(e.$$.fragment,X),g(te),g(N),g($),g(C),g(D),g(ce),g(T),g(re),g(O),g(le),g(me),g(v.$$.fragment,X),g(_.$$.fragment,X),g(y.$$.fragment,X),g(Ee),g(de),g(ke),se=!1},d(X){X&&(P(t),P(n),P(o),P(r),P(l),P(s),P(a),P(c),P(f),P(m),P(h),P(b),P(w),P(S),P(V),P(G),P(I),P(Q)),j(e,X),te&&te.d(X),N&&N.d(X),$&&$.d(X),C&&C.d(X),D&&D.d(X),ce&&ce.d(X),T&&T.d(X),re&&re.d(X),O&&O.d(X),le&&le.d(X),me&&me.d(X),j(v,X),j(_,X),j(y,X),Ee&&Ee.d(X),de&&de.d(X),ke&&ke.d(X)}}}function l_(i){let e,t,n,o,r=i[53],l,s,a,c,f=$u(i);return{c(){e=A("div"),t=A("div"),o=R(),f.c(),l=gt(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[35]}deg) scale(${i[48]})`),M(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),M(e,"hidden",i[38]!==Ne.Video),M(e,"nocursor",i[47])},m(m,h){E(m,e,h),p(e,t),i[149](t),E(m,o,h),f.m(m,h),E(m,l,h),s=!0,a||(c=[ge(e,"contextmenu",ii(i[107])),ge(e,"mousedown",ii(i[112])),ge(e,"mouseup",ii(i[113])),ge(e,"click",ii(i[115])),ge(e,"dblclick",ii(i[114]))],a=!0)},p(m,h){(!s||h[1]&131088&&n!==(n=`transform: rotate(${m[35]}deg) scale(${m[48]})`))&&u(t,"style",n),(!s||h[0]&2)&&M(t,"fast-rotate",!m[1].isSmoothVideoRotate),(!s||h[1]&128)&&M(e,"hidden",m[38]!==Ne.Video),(!s||h[1]&65536)&&M(e,"nocursor",m[47]),h[1]&4194304&&be(r,r=m[53])?(pe(),g(f,1,1,K),he(),f=$u(m),f.c(),d(f,1),f.m(l.parentNode,l)):f.p(m,h)},i(m){s||(d(f),s=!0)},o(m){g(f),s=!1},d(m){m&&(P(e),P(o),P(l)),i[149](null),f.d(m),a=!1,nt(c)}}}function r_(i){let e,t,n,o,r,l,s,a={toggleFullscreen:i[105],hideContextMenu:i[106],showHotKeyHelpers:i[116],showKeyMap:i[117],isAds:i[38]===Ne.Ads,fakePlayButtonHandler:i[49]?i[104]:void 0,$$slots:{default:[l_]},$$scope:{ctx:i}};return t=new E3({props:a}),i[154](t),{c(){e=A("div"),W(t.$$.fragment),n=R(),o=A("div"),u(o,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){E(c,e,f),U(t,e,null),p(e,n),p(e,o),i[155](o),i[156](e),r=!0,l||(s=[ge(n_,"blur",i[106]),ge(e,"mouseenter",i[108]),ge(e,"mouseleave",i[110]),ge(e,"mousemove",i[111]),ge(e,"click",i[119],!0),ge(e,"focusin",i[109],!0)],l=!0)},p(c,f){const m={};f[1]&128&&(m.isAds=c[38]===Ne.Ads),f[1]&262144&&(m.fakePlayButtonHandler=c[49]?c[104]:void 0),f[0]&1073741823|f[1]&2147221503|f[2]&7|f[5]&8388608&&(m.$$scope={dirty:f,ctx:c}),t.$set(m)},i(c){r||(d(t.$$.fragment,c),r=!0)},o(c){g(t.$$.fragment,c),r=!1},d(c){c&&P(e),i[154](null),j(t),i[155](null),i[156](null),l=!1,nt(s)}}}let s_=!0;function Pf(i){return i?i.offsetTop+Pf(i.offsetParent):0}function a_(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,v,w,_,S,y,k,V,G,I,Q,se,te,N,$,C,D,ce,T,re,O,le,me,ze,He,Ee,de,ke,X,{store:F}=e,{uiConfig:Te}=e,{title:ae}=e,{thumbUrl:Pe}=e,{videoLogoUrl:Ve}=e,{videoContainer:Re}=e,{interactiveContainer:Se}=e,{live:ue}=e,{autoplay:J}=e,{canRewindLive:H}=e,{showAds:Ae}=e,{adsSlotId:tt=void 0}=e,{adsParams:ot=void 0}=e,{adsPreviewParam:Ue=void 0}=e,{duration:Me=void 0}=e,{logoClickable:Qe}=e,{logoHidden:at}=e,{showNextPrevButtons:_t=!1}=e,{nextButtonActive:it=!1}=e,{prevButtonActive:De=!1}=e,{endScreenVideoTitle:yt=void 0}=e,{endScreenVideoThumb:Lt=void 0}=e,{isOneVideoPlaylist:It=!1}=e,{supportLink:ui}=e,{outerContainerRef:fe=void 0}=e,{playerStarted:kt=!1}=e,{fullScreenTarget:st=void 0}=e,{showMiniTimer:St=!1}=e,{playNextVideo:pt=oe.noop}=e,{playPrevVideo:At=oe.noop}=e,{repeatPlaylist:Xe=oe.noop}=e,{seekToInteractive:Fe}=e,{toggleGraph:Vt}=e,{playPrevChapter:ci}=e,{firstStart:ki}=e;const Yi=F.getLogger().createComponentLog("Root component"),Si=F.interfaceLanguage$;z(i,Si,q=>t(53,ce=q));const Fi=F.state.playbackState$;z(i,Fi,q=>t(146,$=q));const fi=F.ads.playbackState;z(i,fi,q=>t(147,C=q));const Rt=F.state.positionWithScrubbing$;z(i,Rt,q=>t(58,me=q));const Wt=F.state.duration$;z(i,Wt,q=>t(62,de=q));const Ci=F.playerPhase;z(i,Ci,q=>t(38,I=q));const Yt=F.ui.isFullscreen;z(i,Yt,q=>t(136,m=q));const ni=F.ui.controlsVisible;z(i,ni,q=>t(36,S=q));const oi=F.ui.settingsMenuVisible;z(i,oi,q=>t(134,l=q));const Pi=F.ui.scrubbingInProgress;z(i,Pi,q=>t(138,w=q));const Qt=F.ui.contextMenuVisible;z(i,Qt,q=>t(33,n=q));const Mt=F.ui.debugPanelVisible;z(i,Mt,q=>t(64,X=q));const Hi=F.state.isLoaderVisible;z(i,Hi,q=>t(148,D=q));const di=F.state.isEnded$;z(i,di,q=>t(135,a=q));const Ti=F.state.chromecastConnected$;z(i,Ti,q=>t(39,te=q));const Ot=F.state.chromecastDeviceName$;z(i,Ot,q=>t(55,re=q));const Xt=F.ads.postrollPassed;z(i,Xt,q=>t(141,V=q));const mi=F.state.isLive$;z(i,mi,q=>t(60,He=q));const pi=F.state.isPlaying$;z(i,pi,q=>t(61,Ee=q));const jt=F.state.crashed$;z(i,jt,q=>t(37,k=q));const ct=F.webApi.pictureInPictureApi,ft=F.state.currentSubtitle$;z(i,ft,q=>t(56,O=q));const Dt=F.state.currentSubtitleCaptions$;z(i,Dt,q=>t(57,le=q));const Bt=F.state.duration$;z(i,Bt,q=>t(59,ze=q));const Ui=F.state.graphIsOpened$;z(i,Ui,q=>t(142,G=q));const Ei=F.ui.playerSize;z(i,Ei,q=>t(34,f=q));const Jt=F.ui.is3DVideo;z(i,Jt,q=>t(51,c=q));const Zt=F.ui.icon3DVideoVisible;z(i,Zt,q=>t(54,T=q));const ji=F.ui.rotateAlpha;z(i,ji,q=>t(35,v=q));const xt=F.state.isInteractive,xi=F.state.isInteractiveTime$;z(i,xi,q=>t(139,_=q));const li=F.state.isInteractiveExpectation$;z(i,li,q=>t(145,N=q));const Ai=F.state.hasInteractiveBranches,Nt=F.ui.touched;z(i,Nt,q=>t(143,Q=q));const Li=F.ui.modals.hotKeyMap.data;z(i,Li,q=>t(163,s=q));const Ct=F.ui.modals.hotKeyMap.show;z(i,Ct,q=>t(63,ke=q));const $t=F.ui.overlayContainer$,Qi=F.actions.internal.closeSettingsMenu,{fakeIsPlaying$:qi}=mr();z(i,qi,q=>t(137,b=q));let hi,Kt,Wi=0,Zi=0,Ii,Vi,Ki;Li.set(k4());let Ie,vi;const Gi=Le(!1);z(i,Gi,q=>t(52,h=q));let Mi;const ri=Le(!1);z(i,ri,q=>t(144,se=q));const gi=Le(),qe=Le(!1);z(i,qe,q=>t(140,y=q));let Bi=!1,bi=!1,Ni,zt,mn,bn,Ri,_i,wi=!1,ln,$i=!1;const{toggle:en}=qi;let tn=!1,Oi=null,ne;ct==null||ct.setContext(S1());const et=()=>{J&&!xt&&dt(Te.controls.hideTimeout)};F.setUiCallbacks({onStarted:et});const Ft=()=>{window.clearTimeout(Ii),ri.set(!1)},Xi=()=>{window.clearTimeout(Vi),gi.set(null)},dt=q=>{Ft(),ri.set(!0),Ii=window.setTimeout(()=>ri.set(!1),q);const ht=q-100;Mi=window.setTimeout(()=>{h&&Gi.set(!1)},ht>0?ht:q)},rn=(q,ht)=>{Xi(),gi.set(ht),Vi=window.setTimeout(()=>gi.set(null),q)},_n=Jt.subscribe(q=>{Zt.set(q),q&&(window.clearTimeout(Ki),Ki=window.setTimeout(()=>Zt.set(!1),Te.controls.hide360IconTimeout))}),sn=()=>Ji(this,null,function*(){var ht,fn,nn,Pn;const q=Oo();if(q){dt(Te.controls.hideTimeoutFullscreen);try{yield ct==null?void 0:ct.remove()}catch(zn){Yi({message:String(zn)})}}Yt.set(q),F.getAdmanWrapper().setFullscreen(q),m?(fn=(ht=F.callbacks)==null?void 0:ht.onFullscreenEnter)==null||fn.call(ht):(Pn=(nn=F.callbacks)==null?void 0:nn.onFullscreenExit)==null||Pn.call(nn)}),pn=q=>{const ht=q;Ei.set({width:ht.target.width,height:ht.target.height})};vn(()=>{var ht;return Pc(sn),bl(ct)&&(ct==null||ct.assignPlayerContainer(hi),ct==null||ct.registryExternalEventHandlers({resize:pn})),Se&&((ht=Re.parentElement)==null||ht.insertBefore(Se,Re.nextSibling)),()=>{window.clearTimeout(Ii),window.clearTimeout(Mi),window.clearTimeout(Vi),window.clearTimeout(Ki),_n(),ct==null||ct.dispose(),Tc(sn)}});const hn=()=>Ji(this,null,function*(){if(Oo())yield Cc(document),Yi({message:"exit fullscreen"});else{Yi({message:"request fullscreen"});const q=fe!=null?fe:hi,ht=q.getRootNode(),fn=ht instanceof ShadowRoot?ht.host:ht,nn=st instanceof HTMLElement&&st.contains(fn),Pn=Te.allowChangingFullscreenTarget&&st&&nn?st:q;yield Sc(Pn)}}),ee=()=>{Qi(),Qt.set(!1)},mt=q=>{Qt.set(!0),t(42,Wi=q.clientX),t(43,Zi=q.clientY)};function an(){qe.set(!0),xt||dt(Te.controls.hideTimeoutCursor)}function Di(){xt||(Gi.set(!0),dt(Te.controls.hideTimeoutCursor))}function un(){qe.set(!1),t(128,bi=!1),t(127,Bi=!1),tn=!1,F.actions.internal.releaseCamera()}function x(q){if(hi){const ht=Pf(q.currentTarget),fn=f.height,nn=q.pageY-ht;nn<Wr?t(128,bi=!0):nn>fn-Wr?t(127,Bi=!0):(t(128,bi=!1),l||t(127,Bi=!1))}}function Dn(q){x(q),zt||dt(Te.controls.hideTimeoutCursor),c&&tn&&Oi&&F.actions.internal.moveCameraFocusPX(Oi.clientX-q.clientX,Oi.clientY-q.clientY,q.timeStamp-Oi.timeStamp),Oi=q}const qn=q=>{q.button===0&&(tn=!0,F.actions.internal.holdCamera()),dt(Te.controls.hideTimeoutCursor)},xn=q=>{q.button===0&&(Oi=q,tn=!1,F.actions.internal.releaseCamera()),dt(Te.controls.hideTimeoutCursor)},$n=()=>{Yi({message:"double click on video"}),hn(),dt(Te.controls.hideTimeoutCursor)},eo=()=>{if(n||l){ee();return}if(!(a&&!Ai)){if($i)return en();if(ne==null||ne.focus(),!kt){ki(),dt(Te.controls.hideTimeoutCursor);return}F.actions.internal.togglePlay(),dt(Te.controls.hideTimeoutCursor)}},to=q=>{ee(),Nt.set(!0),dt(Te.controls.hideTimeout),q&&rn(Te.controls.hideHotKeyHelpers,q)},io=()=>{var q,ht;ee(),(q=F.callbacks)!=null&&q.onOpenHotKeyMap?(ht=F.callbacks)==null||ht.onOpenHotKeyMap(s):Ct.update(fn=>!fn)},no=()=>{if(n||l){ee();return}},oo=()=>{Nt.set(!0)},Wn=F.ui.contextMenu.openedByKeyboard$;z(i,Wn,q=>t(133,r=q));let Zn=F.ui.contextMenu.btnRef$;z(i,Zn,q=>t(132,o=q));let cn;function lo(q){ye[q?"unshift":"push"](()=>{Re=q,t(0,Re)})}const Kn=()=>ne==null?void 0:ne.focus();function ro(q){Kt=q,t(41,Kt)}const so=()=>ne==null?void 0:ne.focus();function ao(q){cn=q,t(32,cn)}function uo(q){ye[q?"unshift":"push"](()=>{ne=q,t(50,ne)})}function Lo(q){ye[q?"unshift":"push"](()=>{vi=q,t(30,vi)})}function co(q){ye[q?"unshift":"push"](()=>{hi=q,t(40,hi)})}return i.$$set=q=>{"store"in q&&t(122,F=q.store),"uiConfig"in q&&t(1,Te=q.uiConfig),"title"in q&&t(2,ae=q.title),"thumbUrl"in q&&t(3,Pe=q.thumbUrl),"videoLogoUrl"in q&&t(4,Ve=q.videoLogoUrl),"videoContainer"in q&&t(0,Re=q.videoContainer),"interactiveContainer"in q&&t(123,Se=q.interactiveContainer),"live"in q&&t(5,ue=q.live),"autoplay"in q&&t(6,J=q.autoplay),"canRewindLive"in q&&t(7,H=q.canRewindLive),"showAds"in q&&t(8,Ae=q.showAds),"adsSlotId"in q&&t(9,tt=q.adsSlotId),"adsParams"in q&&t(10,ot=q.adsParams),"adsPreviewParam"in q&&t(11,Ue=q.adsPreviewParam),"duration"in q&&t(12,Me=q.duration),"logoClickable"in q&&t(13,Qe=q.logoClickable),"logoHidden"in q&&t(14,at=q.logoHidden),"showNextPrevButtons"in q&&t(15,_t=q.showNextPrevButtons),"nextButtonActive"in q&&t(16,it=q.nextButtonActive),"prevButtonActive"in q&&t(17,De=q.prevButtonActive),"endScreenVideoTitle"in q&&t(18,yt=q.endScreenVideoTitle),"endScreenVideoThumb"in q&&t(19,Lt=q.endScreenVideoThumb),"isOneVideoPlaylist"in q&&t(20,It=q.isOneVideoPlaylist),"supportLink"in q&&t(21,ui=q.supportLink),"outerContainerRef"in q&&t(124,fe=q.outerContainerRef),"playerStarted"in q&&t(22,kt=q.playerStarted),"fullScreenTarget"in q&&t(125,st=q.fullScreenTarget),"showMiniTimer"in q&&t(126,St=q.showMiniTimer),"playNextVideo"in q&&t(23,pt=q.playNextVideo),"playPrevVideo"in q&&t(24,At=q.playPrevVideo),"repeatPlaylist"in q&&t(25,Xe=q.repeatPlaylist),"seekToInteractive"in q&&t(26,Fe=q.seekToInteractive),"toggleGraph"in q&&t(27,Vt=q.toggleGraph),"playPrevChapter"in q&&t(28,ci=q.playPrevChapter),"firstStart"in q&&t(29,ki=q.firstStart)},i.$$.update=()=>{if(i.$$.dirty[1]&192|i.$$.dirty[4]&25165824&&t(44,Ie=(I===Ne.Video&&D||I===Ne.Ads&&C===ti.INACTIVE)&&!k),i.$$.dirty[0]&1073741824&&$t.set(vi),i.$$.dirty[4]&4194304&&t(129,Ni=$!==xe.PlaybackState.PLAYING),i.$$.dirty[4]&2131e3&&t(130,zt=_&&!l&&!(Bi||bi)&&!(Ni&&!N)),i.$$.dirty[1]&448|i.$$.dirty[4]&1066080&&ni.set((Ni||l||w||te||se)&&!zt&&I===Ne.Video&&!k),i.$$.dirty[0]&2|i.$$.dirty[1]&224|i.$$.dirty[4]&524292&&t(45,mn=Te.features.thumbTimer&&St&&I===Ne.Video&&!S&&!k&&!xt&&(Te.hideThumbTimerAfterTouch&&!Q||!Te.hideThumbTimerAfterTouch)),i.$$.dirty[1]&128|i.$$.dirty[4]&266240&&t(46,bn=I===Ne.Video&&!G&&m),i.$$.dirty[0]&256|i.$$.dirty[1]&64|i.$$.dirty[4]&133120&&t(31,Ri=(Ae&&V||!Ae)&&a&&!k),i.$$.dirty[1]&33|i.$$.dirty[4]&98304&&t(47,_i=y&&!(S||Ri)&&!_),i.$$.dirty[0]&2|i.$$.dirty[4]&49280&&(!w&&wi&&!_&&dt(Te.controls.hideTimeoutCursor),t(131,wi=w)),i.$$.dirty[0]&1|i.$$.dirty[1]&24&&t(48,ln=Re&&v%180?f.height/f.width:1),i.$$.dirty[4]&8192&&t(49,$i=b!==null),i.$$.dirty[1]&6|i.$$.dirty[4]&512&&Sr(cn,n,r),i.$$.dirty[1]&4|i.$$.dirty[4]&256){const q=o;q&&kr(q,n,Wn)}},[Re,Te,ae,Pe,Ve,ue,J,H,Ae,tt,ot,Ue,Me,Qe,at,_t,it,De,yt,Lt,It,ui,kt,pt,At,Xe,Fe,Vt,ci,ki,vi,Ri,cn,n,f,v,S,k,I,te,hi,Kt,Wi,Zi,Ie,mn,bn,_i,ln,$i,ne,c,h,ce,T,re,O,le,me,ze,He,Ee,de,ke,X,Si,Fi,fi,Rt,Wt,Ci,Yt,ni,oi,Pi,Qt,Mt,Hi,di,Ti,Ot,Xt,mi,pi,jt,ft,Dt,Bt,Ui,Ei,Jt,Zt,ji,xt,xi,li,Nt,Li,Ct,qi,Gi,ri,gi,qe,en,hn,ee,mt,an,Di,un,Dn,qn,xn,$n,eo,to,io,no,oo,Wn,Zn,F,Se,fe,st,St,Bi,bi,Ni,zt,wi,o,r,l,a,m,b,w,_,y,V,G,Q,se,N,$,C,D,lo,Kn,ro,so,ao,uo,Lo,co]}class u_ extends we{constructor(e){super(),_e(this,e,a_,r_,be,{store:122,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:123,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:124,playerStarted:22,fullScreenTarget:125,showMiniTimer:126,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},o_,[-1,-1,-1,-1,-1,-1])}}const c_=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 f_(i){je(i,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function e1(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,w,_=Y("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",S;return{c(){e=A("div"),n=R(),o=A("div"),r=A("div"),l=A("div"),a=R(),c=A("div"),m=R(),h=A("div"),v=R(),w=A("p"),S=Oe(_),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(l,"class",s="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(h,"class",b="triangle "+i[0]+" v-nhq2ld"),u(r,"class","triangles-wrapper v-nhq2ld"),u(w,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(y,k){E(y,e,k),E(y,n,k),E(y,o,k),p(o,r),p(r,l),p(r,a),p(r,c),p(r,m),p(r,h),p(o,v),p(o,w),p(w,S)},p(y,k){k&1&&t!==(t="semicircle "+y[0]+" v-nhq2ld")&&u(e,"class",t),k&1&&s!==(s="triangle "+y[0]+" v-nhq2ld")&&u(l,"class",s),k&1&&f!==(f="triangle "+y[0]+" v-nhq2ld")&&u(c,"class",f),k&1&&b!==(b="triangle "+y[0]+" v-nhq2ld")&&u(h,"class",b),k&2&&_!==(_=Y("doubletap_seek_step",{seconds:y[1].toFixed(0)})+"")&&$e(S,_)},d(y){y&&(P(e),P(n),P(o))}}}function d_(i){let e,t,n,o,r=i[2]&&e1(i);return{c(){e=A("div"),r&&r.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(l,s){E(l,e,s),r&&r.m(e,null),n||(o=ge(e,"click",rt(i[3]())),n=!0)},p(l,[s]){l[2]?r?r.p(l,s):(r=e1(l),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&1&&t!==(t="double-click-area "+l[0]+" v-nhq2ld")&&u(e,"class",t)},i:K,o:K,d(l){l&&P(e),r&&r.d(),n=!1,o()}}}function m_(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:r}=e,{handleSecondClick:l}=e,s=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{r(),h=0},300):(window.clearTimeout(a),h=0,l(),t(2,s=!0),c=window.setTimeout(()=>{t(2,s=!1)},500))}};return _l(()=>{window.clearTimeout(a),window.clearTimeout(c)}),i.$$set=m=>{"side"in m&&t(0,n=m.side),"seekStep"in m&&t(1,o=m.seekStep),"handleSingleFirstClick"in m&&t(4,r=m.handleSingleFirstClick),"handleSecondClick"in m&&t(5,l=m.handleSecondClick)},[n,o,s,f,r,l]}class Tf extends we{constructor(e){super(),_e(this,e,m_,d_,be,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},f_)}}function p_(i,e,t){let{playNextVideo:n}=e;return vn(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class h_ extends we{constructor(e){super(),_e(this,e,p_,null,be,{playNextVideo:0})}}const{window:v_}=k1;function g_(i){je(i,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function t1(i){let e,t,n,o;e=new Tf({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[127]}});let r=!i[48]&&i1(i);return{c(){W(e.$$.fragment),t=R(),r&&r.c(),n=gt()},m(l,s){U(e,l,s),E(l,t,s),r&&r.m(l,s),E(l,n,s),o=!0},p(l,s){const a={};s[0]&2&&(a.seekStep=l[1].controls.seekStepMobile/1e3),e.$set(a),l[48]?r&&(pe(),g(r,1,1,()=>{r=null}),he()):r?(r.p(l,s),s[1]&131072&&d(r,1)):(r=i1(l),r.c(),d(r,1),r.m(n.parentNode,n))},i(l){o||(d(e.$$.fragment,l),d(r),o=!0)},o(l){g(e.$$.fragment,l),g(r),o=!1},d(l){l&&(P(t),P(n)),j(e,l),r&&r.d(l)}}}function i1(i){let e,t;return e=new Tf({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[128]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&2&&(r.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function n1(i){var n;let e,t;return e=new Sf({props:{thumbUrl:i[2],startTime:(n=i[4])==null?void 0:n.startTime}}),{c(){W(e.$$.fragment)},m(o,r){U(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&4&&(l.thumbUrl=o[2]),r[0]&16&&(l.startTime=(s=o[4])==null?void 0:s.startTime),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){j(e,o)}}}function o1(i){let e,t;return e=new Cf({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function l1(i){let e,t,n;return t=new Ec({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),M(e,"hidden",i[34]!==Ne.Ads)},m(o,r){E(o,e,r),U(t,e,null),n=!0},p(o,r){const l={};r[0]&256&&(l.adsSlotId=o[8]),r[0]&512&&(l.adsParams=o[9]),r[0]&1024&&(l.adsPreviewParam=o[10]),r[0]&2048&&(l.duration=o[11]),t.$set(l),(!n||r[1]&8)&&M(e,"hidden",o[34]!==Ne.Ads)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),j(t)}}}function r1(i){let e,t;return e=new h_({props:{playNextVideo:i[22]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&4194304&&(r.playNextVideo=n[22]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function s1(i){let e,t;return e=new bf({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function a1(i){let e,t,n;return t=new q1({props:{ariaLabel:Y("video360")}}),{c(){e=A("div"),W(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,r){E(o,e,r),U(t,e,null),n=!0},p:K,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),j(t)}}}function u1(i){let e,t;return e=new wf({props:{thumbUrl:i[2],chromecastDeviceName:i[51]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&4&&(r.thumbUrl=n[2]),o[1]&1048576&&(r.chromecastDeviceName=n[51]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function c1(i){let e,t;return e=new _f({props:{shifted:i[30],captions:i[53],position:i[44],playerSize:i[31],isMobile:!0}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o[0]&1073741824&&(r.shifted=n[30]),o[1]&4194304&&(r.captions=n[53]),o[1]&8192&&(r.position=n[44]),o[1]&1&&(r.playerSize=n[31]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function f1(i){let e,t,n,o,r;return t=new yf({}),{c(){e=A("div"),W(t.$$.fragment)},m(l,s){E(l,e,s),U(t,e,null),n=!0,o||(r=ge(e,"click",rt(i[100])),o=!0)},p:K,i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&P(e),j(t),o=!1,r()}}}function d1(i){let e,t,n;function o(l){i[129](l)}let r={bottomHidden:i[34]===Ne.Thumb||i[34]===Ne.WaitingLive||i[34]===Ne.WaitingRecord||i[34]===Ne.Ads,showControls:i[30],bottomNoSmooth:i[45],isAds:i[34]===Ne.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]};return i[37]!==void 0&&(r.controlsElementRef=i[37]),e=new vf({props:r}),ye.push(()=>Ze(e,"controlsElementRef",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[1]&8&&(a.bottomHidden=l[34]===Ne.Thumb||l[34]===Ne.WaitingLive||l[34]===Ne.WaitingRecord||l[34]===Ne.Ads),s[0]&1073741824&&(a.showControls=l[30]),s[1]&16384&&(a.bottomNoSmooth=l[45]),s[1]&8&&(a.isAds=l[34]===Ne.Ads),s[0]&64|s[1]&8388608&&(a.canRewindLive=l[6]&&l[54]!==0),s[0]&4096&&(a.logoClickable=l[12]),s[0]&8192&&(a.logoHidden=l[13]),s[0]&8&&(a.videoLogoUrl=l[3]),s[0]&16384&&(a.showNextPrevButtons=l[14]),s[0]&32768&&(a.nextButtonActive=l[15]),s[0]&65536&&(a.prevButtonActive=l[16]),s[0]&524288&&(a.isOneVideoPlaylist=l[19]),s[0]&1048576&&(a.supportLink=l[20]),s[1]&256&&(a.customFullscreenSupported=l[39]),s[0]&4194304&&(a.playNextVideo=l[22]),s[0]&8388608&&(a.playPrevVideo=l[23]),s[0]&16777216&&(a.repeatPlaylist=l[24]),s[0]&33554432&&(a.seekToInteractive=l[25]),s[0]&67108864&&(a.toggleGraph=l[26]),s[0]&134217728&&(a.playPrevChapter=l[27]),!t&&s[1]&64&&(t=!0,a.controlsElementRef=l[37],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function m1(i){let e,t;return e=new Fc({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function p1(i){let e,t;return e=new Nc({}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function h1(i){let e,t,n=i[6]&&i[78]&&!i[47].has(ut.TIMELINE),o,r,l,s,a,c,f,m,h,b,v,w,_,S,y,k;e=new kf({props:{hidden:i[34]!==Ne.Thumb||i[33]||i[89]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let V=n&&t1(i),G=i[34]===Ne.WaitingLive&&n1(i),I=i[34]===Ne.WaitingRecord&&o1(),Q=i[7]&&i[21]&&l1(i),se=i[41]&&i[17]&&i[18]&&r1(i),te=i[49]&&s1(),N=i[50]&&a1(),$=i[35]&&u1(i),C=i[52].value!=="off"&&c1(i),D=i[33]&&f1(i),ce=i[21]&&d1(i);w=new Lc({props:{isLive:i[55],isHidden:!i[40],isPlaying:i[56],position:i[44],duration:i[43]}});let T=i[38]&&m1(),re=i[57]&&p1();return{c(){W(e.$$.fragment),t=R(),V&&V.c(),o=R(),G&&G.c(),r=R(),I&&I.c(),l=R(),Q&&Q.c(),s=R(),se&&se.c(),a=R(),te&&te.c(),c=R(),N&&N.c(),f=R(),$&&$.c(),m=R(),C&&C.c(),h=R(),D&&D.c(),b=R(),ce&&ce.c(),v=R(),W(w.$$.fragment),_=R(),T&&T.c(),S=R(),re&&re.c(),y=gt()},m(O,le){U(e,O,le),E(O,t,le),V&&V.m(O,le),E(O,o,le),G&&G.m(O,le),E(O,r,le),I&&I.m(O,le),E(O,l,le),Q&&Q.m(O,le),E(O,s,le),se&&se.m(O,le),E(O,a,le),te&&te.m(O,le),E(O,c,le),N&&N.m(O,le),E(O,f,le),$&&$.m(O,le),E(O,m,le),C&&C.m(O,le),E(O,h,le),D&&D.m(O,le),E(O,b,le),ce&&ce.m(O,le),E(O,v,le),U(w,O,le),E(O,_,le),T&&T.m(O,le),E(O,S,le),re&&re.m(O,le),E(O,y,le),k=!0},p(O,le){const me={};le[0]&32|le[1]&12&&(me.hidden=O[34]!==Ne.Thumb||O[33]||O[89]&&O[5]),le[0]&4&&(me.thumbUrl=O[2]),le[0]&268435456&&(me.startVideo=O[28]),e.$set(me),le[0]&64|le[1]&65536&&(n=O[6]&&O[78]&&!O[47].has(ut.TIMELINE)),n?V?(V.p(O,le),le[0]&64|le[1]&65536&&d(V,1)):(V=t1(O),V.c(),d(V,1),V.m(o.parentNode,o)):V&&(pe(),g(V,1,1,()=>{V=null}),he()),O[34]===Ne.WaitingLive?G?(G.p(O,le),le[1]&8&&d(G,1)):(G=n1(O),G.c(),d(G,1),G.m(r.parentNode,r)):G&&(pe(),g(G,1,1,()=>{G=null}),he()),O[34]===Ne.WaitingRecord?I?le[1]&8&&d(I,1):(I=o1(),I.c(),d(I,1),I.m(l.parentNode,l)):I&&(pe(),g(I,1,1,()=>{I=null}),he()),O[7]&&O[21]?Q?(Q.p(O,le),le[0]&2097280&&d(Q,1)):(Q=l1(O),Q.c(),d(Q,1),Q.m(s.parentNode,s)):Q&&(pe(),g(Q,1,1,()=>{Q=null}),he()),O[41]&&O[17]&&O[18]?se?(se.p(O,le),le[0]&393216|le[1]&1024&&d(se,1)):(se=r1(O),se.c(),d(se,1),se.m(a.parentNode,a)):se&&(pe(),g(se,1,1,()=>{se=null}),he()),O[49]?te?le[1]&262144&&d(te,1):(te=s1(),te.c(),d(te,1),te.m(c.parentNode,c)):te&&(pe(),g(te,1,1,()=>{te=null}),he()),O[50]?N?(N.p(O,le),le[1]&524288&&d(N,1)):(N=a1(),N.c(),d(N,1),N.m(f.parentNode,f)):N&&(pe(),g(N,1,1,()=>{N=null}),he()),O[35]?$?($.p(O,le),le[1]&16&&d($,1)):($=u1(O),$.c(),d($,1),$.m(m.parentNode,m)):$&&(pe(),g($,1,1,()=>{$=null}),he()),O[52].value!=="off"?C?(C.p(O,le),le[1]&2097152&&d(C,1)):(C=c1(O),C.c(),d(C,1),C.m(h.parentNode,h)):C&&(pe(),g(C,1,1,()=>{C=null}),he()),O[33]?D?(D.p(O,le),le[1]&4&&d(D,1)):(D=f1(O),D.c(),d(D,1),D.m(b.parentNode,b)):D&&(pe(),g(D,1,1,()=>{D=null}),he()),O[21]?ce?(ce.p(O,le),le[0]&2097152&&d(ce,1)):(ce=d1(O),ce.c(),d(ce,1),ce.m(v.parentNode,v)):ce&&(pe(),g(ce,1,1,()=>{ce=null}),he());const ze={};le[1]&16777216&&(ze.isLive=O[55]),le[1]&512&&(ze.isHidden=!O[40]),le[1]&33554432&&(ze.isPlaying=O[56]),le[1]&8192&&(ze.position=O[44]),le[1]&4096&&(ze.duration=O[43]),w.$set(ze),O[38]?T?le[1]&128&&d(T,1):(T=m1(),T.c(),d(T,1),T.m(S.parentNode,S)):T&&(pe(),g(T,1,1,()=>{T=null}),he()),O[57]?re?le[1]&67108864&&d(re,1):(re=p1(),re.c(),d(re,1),re.m(y.parentNode,y)):re&&(pe(),g(re,1,1,()=>{re=null}),he())},i(O){k||(d(e.$$.fragment,O),d(V),d(G),d(I),d(Q),d(se),d(te),d(N),d($),d(C),d(D),d(ce),d(w.$$.fragment,O),d(T),d(re),k=!0)},o(O){g(e.$$.fragment,O),g(V),g(G),g(I),g(Q),g(se),g(te),g(N),g($),g(C),g(D),g(ce),g(w.$$.fragment,O),g(T),g(re),k=!1},d(O){O&&(P(t),P(o),P(r),P(l),P(s),P(a),P(c),P(f),P(m),P(h),P(b),P(v),P(_),P(S),P(y)),j(e,O),V&&V.d(O),G&&G.d(O),I&&I.d(O),Q&&Q.d(O),se&&se.d(O),te&&te.d(O),N&&N.d(O),$&&$.d(O),C&&C.d(O),D&&D.d(O),ce&&ce.d(O),j(w,O),T&&T.d(O),re&&re.d(O)}}}function b_(i){let e,t,n,o,r,l=i[46],s,a,c,f,m,h=h1(i);return{c(){e=A("div"),t=A("div"),n=A("div"),r=R(),h.c(),s=R(),a=A("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${i[32]}deg) scale(${i[42]})`),M(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),M(t,"hidden",i[34]!==Ne.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut"),u(e,"role","region"),u(e,"aria-label",Y("aria_label_video_player")),u(e,"tabindex","-1")},m(b,v){E(b,e,v),p(e,t),p(t,n),i[126](n),p(e,r),h.m(e,null),p(e,s),p(e,a),i[130](a),i[131](e),c=!0,f||(m=[ge(v_,"blur",i[98]),ge(t,"click",ii(i[99])),ge(e,"click",i[101],!0),ge(e,"focusin",i[102],!0)],f=!0)},p(b,v){(!c||v[1]&2050&&o!==(o=`transform: rotate(${b[32]}deg) scale(${b[42]})`))&&u(n,"style",o),(!c||v[0]&2)&&M(n,"fast-rotate",!b[1].isSmoothVideoRotate),(!c||v[1]&8)&&M(t,"hidden",b[34]!==Ne.Video),v[1]&32768&&be(l,l=b[46])?(pe(),g(h,1,1,K),he(),h=h1(b),h.c(),d(h,1),h.m(e,s)):h.p(b,v)},i(b){c||(d(h),c=!0)},o(b){g(h),c=!1},d(b){b&&P(e),i[126](null),h.d(b),i[130](null),i[131](null),f=!1,nt(m)}}}function __(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,v,w,_,S,y,k,V,G,I,Q,se,te,N,$,C,D,ce,T,re,O,le,me,ze,He,Ee,{store:de}=e,{uiConfig:ke}=e,{thumbUrl:X}=e,{videoLogoUrl:F}=e,{videoContainer:Te}=e,{interactiveContainer:ae}=e,{live:Pe}=e,{autoplay:Ve}=e,{canRewindLive:Re}=e,{showAds:Se}=e,{adsSlotId:ue=void 0}=e,{adsParams:J=void 0}=e,{adsPreviewParam:H=void 0}=e,{duration:Ae=void 0}=e,{logoClickable:tt}=e,{logoHidden:ot}=e,{showNextPrevButtons:Ue=!1}=e,{nextButtonActive:Me=!1}=e,{prevButtonActive:Qe=!1}=e,{endScreenVideoTitle:at=void 0}=e,{endScreenVideoThumb:_t=void 0}=e,{isOneVideoPlaylist:it=!1}=e,{supportLink:De}=e,{outerContainerRef:yt=void 0}=e,{showMiniTimer:Lt=!1}=e,{fullScreenTarget:It=void 0}=e,{playerStarted:ui=!1}=e,{playNextVideo:fe=oe.noop}=e,{playPrevVideo:kt=oe.noop}=e,{repeatPlaylist:st=oe.noop}=e,{seekToInteractive:St}=e,{toggleGraph:pt}=e,{playPrevChapter:At}=e,{firstStart:Xe}=e,{seekTime:Fe}=e;const Vt=de.getLogger().createComponentLog("Root component"),ci=de.interfaceLanguage$;z(i,ci,ee=>t(46,$=ee));const ki=de.state.playbackState$;z(i,ki,ee=>t(123,se=ee));const Yi=de.ads.playbackState;z(i,Yi,ee=>t(124,te=ee));const Si=de.state.positionWithScrubbing$;z(i,Si,ee=>t(44,l=ee));const Fi=de.state.duration$;z(i,Fi,ee=>t(43,r=ee));const fi=de.playerPhase;z(i,fi,ee=>t(34,V=ee));const Rt=de.ui.isFullscreen;z(i,Rt,ee=>t(137,a=ee));const Wt=de.ui.controlsVisible;z(i,Wt,ee=>t(30,o=ee));const Ci=de.ui.interactiveHideMobileControls;z(i,Ci,ee=>t(115,h=ee));const Yt=de.ui.settingsMenuVisible;z(i,Yt,ee=>t(114,n=ee));const ni=de.ui.scrubbingInProgress;z(i,ni,ee=>t(116,v=ee));const oi=de.ui.debugPanelVisible;z(i,oi,ee=>t(57,Ee=ee));const Pi=de.state.isLoaderVisible;z(i,Pi,ee=>t(125,N=ee));const Qt=de.state.isEnded$;z(i,Qt,ee=>t(118,S=ee));const Mt=de.state.chromecastConnected$;z(i,Mt,ee=>t(35,G=ee));const Hi=de.state.chromecastDeviceName$;z(i,Hi,ee=>t(51,re=ee));const di=de.ads.postrollPassed;z(i,di,ee=>t(119,y=ee));const Ti=de.ui.mobileUnmuteButtonExpanded,Ot=de.ui.mobileUnmuteButtonVisible,Xt=de.state.isLive$;z(i,Xt,ee=>t(55,ze=ee));const mi=de.state.isPlaying$;z(i,mi,ee=>t(56,He=ee));const pi=de.state.isActiveLive$;z(i,pi,ee=>t(48,D=ee));const jt=de.state.isRewindableLive$,ct=de.state.crashed$;z(i,ct,ee=>t(33,_=ee));const ft=de.webApi.pictureInPictureApi,Dt=de.state.videoSize$;z(i,Dt,ee=>t(138,f=ee));const Bt=de.state.currentSubtitle$;z(i,Bt,ee=>t(52,O=ee));const Ui=de.state.currentSubtitleCaptions$;z(i,Ui,ee=>t(53,le=ee));const Ei=de.state.duration$;z(i,Ei,ee=>t(54,me=ee));const Jt=de.state.graphIsOpened$;z(i,Jt,ee=>t(122,Q=ee));const Zt=de.ui.playerSize;z(i,Zt,ee=>t(31,c=ee));const ji=de.ui.is3DVideo;z(i,ji,ee=>t(49,ce=ee));const xt=de.ui.icon3DVideoVisible;z(i,xt,ee=>t(50,T=ee));const xi=de.ui.rotateAlpha;z(i,xi,ee=>t(32,b=ee));const li=de.state.isInteractive,Ai=de.state.isInteractiveTime$;z(i,Ai,ee=>t(117,w=ee));const Nt=de.state.isInteractiveExpectation$;z(i,Nt,ee=>t(121,I=ee));const Li=de.state.hasInteractiveBranches,Ct=de.ui.controls.disabledControls$;z(i,Ct,ee=>t(47,C=ee));const $t=de.ui.touched;z(i,$t,ee=>t(120,k=ee));const Qi=de.ui.clientInfo$;z(i,Qi,ee=>t(136,s=ee));const qi=de.ui.overlayContainer$,hi=de.actions.internal.closeSettingsMenu;let Kt,Wi,Zi,Ii,Vi,Ki,Ie;const vi=Le(!1);z(i,vi,ee=>t(45,m=ee));let Gi,Mi=!1,ri,gi=!1,qe,Bi=!0,bi,Ni,zt=!1,mn;ft==null||ft.setContext(S1());const bn=ee=>{clearTimeout(Ii),ee&&(Ot.set(!0),Ti.set(!0),Ii=window.setTimeout(()=>{Ti.set(!1)},ke.controls.collapseMobileUnmute),li||_i(ke.controls.hideTimeoutMobile))};de.setUiCallbacks({onStarted:bn});const Ri=()=>{window.clearTimeout(Zi),t(109,Mi=!1),h&&Ci.set(!1)},_i=ee=>{Ri(),t(109,Mi=!0),Zi=window.setTimeout(()=>t(109,Mi=!1),ee);const mt=ee-100;Gi=window.setTimeout(()=>{m&&vi.set(!1)},mt>0?mt:ee)},wi=ji.subscribe(ee=>{xt.set(ee),ee&&(window.clearTimeout(Vi),Vi=window.setTimeout(()=>xt.set(!1),ke.controls.hide360IconTimeout))}),ln=()=>Ji(this,null,function*(){var mt,an,Di,un;const ee=Oo();if(ee){_i(ke.controls.hideTimeoutFullscreen);try{yield ft==null?void 0:ft.remove()}catch(x){Vt({message:String(x)})}try{const x=f!=null&&f.width&&(f!=null&&f.height)?f:c;yield y4(x)}catch(x){Vt({message:String(x)})}}Rt.set(ee),de.getAdmanWrapper().setFullscreen(ee),a?(an=(mt=de.callbacks)==null?void 0:mt.onFullscreenEnter)==null||an.call(mt):(un=(Di=de.callbacks)==null?void 0:Di.onFullscreenExit)==null||un.call(Di)}),$i=ee=>{const mt=ee;Zt.set({width:mt.target.width,height:mt.target.height})};vn(()=>{var mt;return Pc(ln),bl(ft)&&(ft==null||ft.assignPlayerContainer(Kt),ft==null||ft.registryExternalEventHandlers({resize:$i})),t(39,Bi=!c_(s)),ae&&((mt=Te.parentElement)==null||mt.insertBefore(ae,Te.nextSibling)),()=>{window.clearTimeout(Zi),window.clearTimeout(Gi),window.clearTimeout(Ii),window.clearTimeout(Vi),wi(),ft==null||ft.dispose(),Tc(ln)}});const en=ee=>{let mt=l+(ee==="forward"?1:-1)*ke.controls.seekStepMobile/1e3;mt<0?mt=0:mt>r&&(mt=r-1),t(111,gi=!0),Fe(mt)},tn=()=>Ji(this,null,function*(){if(Oo())yield Cc(document),Vt({message:"exit fullscreen"});else{Vt({message:"request fullscreen"});const ee=oe.isIOS()||!yt?Kt:yt,mt=ee.getRootNode(),an=mt instanceof ShadowRoot?mt.host:mt,Di=It instanceof HTMLElement&&It.contains(an),un=ke.allowChangingFullscreenTarget&&It&&Di?It:ee;yield Sc(un)}}),Oi=()=>{hi()},ne=()=>{if(n){Oi();return}if(!ui){Xe(),_i(ke.controls.hideTimeoutCursor);return}t(111,gi=!1),o?Ri():_i(ke.controls.hideTimeoutMobile)},et=()=>{if(n){Oi();return}},Ft=()=>{$t.set(!0)},Xi=()=>{li||(vi.set(!0),_i(ke.controls.hideTimeoutCursor))};function dt(ee){ye[ee?"unshift":"push"](()=>{Te=ee,t(0,Te)})}const rn=()=>en("backward"),_n=()=>en("forward");function sn(ee){Wi=ee,t(37,Wi)}function pn(ee){ye[ee?"unshift":"push"](()=>{Ie=ee,t(29,Ie)})}function hn(ee){ye[ee?"unshift":"push"](()=>{Kt=ee,t(36,Kt)})}return i.$$set=ee=>{"store"in ee&&t(103,de=ee.store),"uiConfig"in ee&&t(1,ke=ee.uiConfig),"thumbUrl"in ee&&t(2,X=ee.thumbUrl),"videoLogoUrl"in ee&&t(3,F=ee.videoLogoUrl),"videoContainer"in ee&&t(0,Te=ee.videoContainer),"interactiveContainer"in ee&&t(104,ae=ee.interactiveContainer),"live"in ee&&t(4,Pe=ee.live),"autoplay"in ee&&t(5,Ve=ee.autoplay),"canRewindLive"in ee&&t(6,Re=ee.canRewindLive),"showAds"in ee&&t(7,Se=ee.showAds),"adsSlotId"in ee&&t(8,ue=ee.adsSlotId),"adsParams"in ee&&t(9,J=ee.adsParams),"adsPreviewParam"in ee&&t(10,H=ee.adsPreviewParam),"duration"in ee&&t(11,Ae=ee.duration),"logoClickable"in ee&&t(12,tt=ee.logoClickable),"logoHidden"in ee&&t(13,ot=ee.logoHidden),"showNextPrevButtons"in ee&&t(14,Ue=ee.showNextPrevButtons),"nextButtonActive"in ee&&t(15,Me=ee.nextButtonActive),"prevButtonActive"in ee&&t(16,Qe=ee.prevButtonActive),"endScreenVideoTitle"in ee&&t(17,at=ee.endScreenVideoTitle),"endScreenVideoThumb"in ee&&t(18,_t=ee.endScreenVideoThumb),"isOneVideoPlaylist"in ee&&t(19,it=ee.isOneVideoPlaylist),"supportLink"in ee&&t(20,De=ee.supportLink),"outerContainerRef"in ee&&t(105,yt=ee.outerContainerRef),"showMiniTimer"in ee&&t(106,Lt=ee.showMiniTimer),"fullScreenTarget"in ee&&t(107,It=ee.fullScreenTarget),"playerStarted"in ee&&t(21,ui=ee.playerStarted),"playNextVideo"in ee&&t(22,fe=ee.playNextVideo),"playPrevVideo"in ee&&t(23,kt=ee.playPrevVideo),"repeatPlaylist"in ee&&t(24,st=ee.repeatPlaylist),"seekToInteractive"in ee&&t(25,St=ee.seekToInteractive),"toggleGraph"in ee&&t(26,pt=ee.toggleGraph),"playPrevChapter"in ee&&t(27,At=ee.playPrevChapter),"firstStart"in ee&&t(28,Xe=ee.firstStart),"seekTime"in ee&&t(108,Fe=ee.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&12|i.$$.dirty[4]&3&&t(38,Ki=(V===Ne.Video&&N||V===Ne.Ads&&te===ti.INACTIVE)&&!_),i.$$.dirty[0]&536870912&&qi.set(Ie),i.$$.dirty[3]&1073741824&&t(110,ri=se!==xe.PlaybackState.PLAYING),i.$$.dirty[3]&843251712&&t(112,qe=Q||h||!Mi&&(S&&!!Li||ri&&I)),i.$$.dirty[1]&28|i.$$.dirty[3]&11468800&&Wt.set((ri||n||v||G||Mi&&!gi)&&!qe&&V===Ne.Video&&!_),i.$$.dirty[0]&1073741826|i.$$.dirty[1]&12|i.$$.dirty[3]&134225920&&t(40,bi=ke.features.thumbTimer&&Lt&&V===Ne.Video&&!o&&!_&&!li&&(ke.hideThumbTimerAfterTouch&&!k||!ke.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&4|i.$$.dirty[3]&100663296&&t(41,Ni=(Se&&y||!Se)&&S&&!_),i.$$.dirty[0]&2|i.$$.dirty[3]&26214400&&(!v&&zt&&!w&&_i(ke.controls.hideTimeoutMobile),t(113,zt=v)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(42,mn=Te&&b%180?c.height/c.width:1)},[Te,ke,X,F,Pe,Ve,Re,Se,ue,J,H,Ae,tt,ot,Ue,Me,Qe,at,_t,it,De,ui,fe,kt,st,St,pt,At,Xe,Ie,o,c,b,_,V,G,Kt,Wi,Ki,Bi,bi,Ni,mn,r,l,m,$,C,D,ce,T,re,O,le,me,ze,He,Ee,ci,ki,Yi,Si,Fi,fi,Rt,Wt,Ci,Yt,ni,oi,Pi,Qt,Mt,Hi,di,Xt,mi,pi,jt,ct,Dt,Bt,Ui,Ei,Jt,Zt,ji,xt,xi,li,Ai,Nt,Ct,$t,Qi,vi,en,tn,Oi,ne,et,Ft,Xi,de,ae,yt,Lt,It,Fe,Mi,ri,gi,qe,zt,n,h,v,w,S,y,k,I,Q,se,te,N,dt,rn,_n,sn,pn,hn]}class w_ extends we{constructor(e){super(),_e(this,e,__,b_,be,{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},g_,[-1,-1,-1,-1,-1])}}function y_(i){je(i,"v-cghoty",`.root.v-cghoty{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
|
|
32
|
+
)}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function n_(t){let e,i;return{c(){e=T("div"),i=ze(t[0]),u(e,"class","title v-1bcvcf2"),V(e,"hidden",t[1])},m(n,l){P(n,e,l),p(e,i)},p(n,[l]){l&1&&tt(i,n[0]),l&2&&V(e,"hidden",n[1])},i:G,o:G,d(n){n&&S(e)}}}function o_(t,e,i){let{title:n=""}=e,{isHidden:l=!1}=e;return t.$$set=r=>{"title"in r&&i(0,n=r.title),"isHidden"in r&&i(1,l=r.isHidden)},[n,l]}class l_ extends ye{constructor(e){super(),we(this,e,o_,n_,ge,{title:0,isHidden:1},i_)}}function r_(t){We(t,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function Hu(t){let e,i,n,l,r,o,s;return{c(){e=T("div"),i=T("span"),n=ze(t[0]),l=z(),r=T("span"),r.textContent=`${Y("waiting_live_day_value")}`,o=z(),s=T("span"),s.textContent=`${Y("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){P(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),P(a,o,c),P(a,s,c)},p(a,c){c&1&&tt(n,a[0])},d(a){a&&(S(e),S(o),S(s))}}}function Uu(t){let e,i,n,l,r,o,s;return{c(){e=T("div"),i=T("span"),n=ze(t[1]),l=z(),r=T("span"),r.textContent=`${Y("waiting_live_hour_value")}`,o=z(),s=T("span"),s.textContent=`${Y("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){P(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),P(a,o,c),P(a,s,c)},p(a,c){c&2&&tt(n,a[1])},d(a){a&&(S(e),S(o),S(s))}}}function qu(t){let e,i,n,l,r,o,s;return{c(){e=T("div"),i=T("span"),n=ze(t[2]),l=z(),r=T("span"),r.textContent=`${Y("waiting_live_minute_value")}`,o=z(),s=T("span"),s.textContent=`${Y("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){P(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),P(a,o,c),P(a,s,c)},p(a,c){c&4&&tt(n,a[2])},d(a){a&&(S(e),S(o),S(s))}}}function ju(t){let e,i,n,l,r;return{c(){e=T("div"),i=T("span"),n=ze(t[3]),l=z(),r=T("span"),r.textContent=`${Y("waiting_live_second_value")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(o,s){P(o,e,s),p(e,i),p(i,n),p(e,l),p(e,r)},p(o,s){s&8&&tt(n,o[3])},d(o){o&&S(e)}}}function s_(t){let e,i,n,l,r=t[0]&&Hu(t),o=t[1]&&Uu(t),s=t[2]&&qu(t),a=t[3]&&ju(t);return{c(){e=T("div"),r&&r.c(),i=z(),o&&o.c(),n=z(),s&&s.c(),l=z(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){P(c,e,f),r&&r.m(e,null),p(e,i),o&&o.m(e,null),p(e,n),s&&s.m(e,null),p(e,l),a&&a.m(e,null)},p(c,[f]){c[0]?r?r.p(c,f):(r=Hu(c),r.c(),r.m(e,i)):r&&(r.d(1),r=null),c[1]?o?o.p(c,f):(o=Uu(c),o.c(),o.m(e,n)):o&&(o.d(1),o=null),c[2]?s?s.p(c,f):(s=qu(c),s.c(),s.m(e,l)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=ju(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:G,o:G,d(c){c&&S(e),r&&r.d(),o&&o.d(),s&&s.d(),a&&a.d()}}}function a_(t,e,i){let{startTime:n}=e,{onTimerOver:l}=e,r,o,s,a,c;const f=b=>String(b).padStart(2,"0"),d=b=>{const v=Math.floor(b/86400);v&&(b-=v*86400,i(0,r=f(v)));const w=Math.floor(b/3600);i(1,o=f(w));const _=Math.floor(b/60)%60;i(2,s=f(_));const k=b%60;i(3,a=f(k))},h=()=>{const b=Math.floor(Date.now()/1e3),v=n-b;d(v),v>=1?c=requestAnimationFrame(h):l()};return wn(()=>{c=requestAnimationFrame(h)}),bl(()=>{cancelAnimationFrame(c)}),t.$$set=b=>{"startTime"in b&&i(4,n=b.startTime),"onTimerOver"in b&&i(5,l=b.onTimerOver)},[r,o,s,a,n,l]}class u_ extends ye{constructor(e){super(),we(this,e,a_,s_,ge,{startTime:4,onTimerOver:5},r_)}}function c_(t){let e,i,n,l,r;return{c(){e=N("svg"),i=N("path"),n=N("path"),l=N("path"),r=N("path"),u(i,"fill","#fefffe"),u(i,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),Ft(i,"opacity",".965"),u(n,"fill","#fefffe"),u(n,"d","M183.5 63.5c57.529-3.65 102.029 18.35 133.5 66 21.628 40.092 24.295 81.425 8 124a186.647 186.647 0 0 1-17.5 29.5 632.842 632.842 0 0 1-38-7c36.445-38.176 42.945-81.01 19.5-128.5-24.178-37.504-58.678-54.337-103.5-50.5-49.5 9.5-79 39-88.5 88.5-3.944 35.587 6.889 65.753 32.5 90.5a1149.466 1149.466 0 0 0-36 7.5c-1.53-.029-2.696-.696-3.5-2-29.298-42.431-34.631-87.764-16-136 21.866-46.852 58.366-74.185 109.5-82Z"),Ft(n,"opacity",".965"),u(l,"fill","#fefffe"),u(l,"d","M187.5 127.5c44.524-2.948 72.357 17.052 83.5 60 3.431 44.55-16.403 72.383-59.5 83.5-44.55 3.431-72.383-16.403-83.5-59.5-3.229-44.571 16.604-72.571 59.5-84Z"),Ft(l,"opacity",".985"),u(r,"fill","#fefffe"),u(r,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),Ft(r,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),Ft(e,"shape-rendering","geometricPrecision"),Ft(e,"text-rendering","geometricPrecision"),Ft(e,"image-rendering","optimizeQuality"),Ft(e,"fill-rule","evenodd"),Ft(e,"clip-rule","evenodd"),Ft(e,"width","100%"),Ft(e,"height","100%")},m(o,s){P(o,e,s),p(e,i),p(e,n),p(e,l),p(e,r)},p:G,i:G,o:G,d(o){o&&S(e)}}}class f_ extends ye{constructor(e){super(),we(this,e,null,c_,ge,{})}}function d_(t){We(t,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function m_(t){let e,i,n,l,r;return l=new u_({props:{startTime:t[1]||0,onTimerOver:t[3]}}),{c(){e=T("div"),i=T("span"),i.textContent=`${Y("waiting_live_timer_title")}`,n=z(),W(l.$$.fragment),u(i,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(o,s){P(o,e,s),p(e,i),p(e,n),q(l,e,null),r=!0},p(o,s){const a={};s&2&&(a.startTime=o[1]||0),s&4&&(a.onTimerOver=o[3]),l.$set(a)},i(o){r||(m(l.$$.fragment,o),r=!0)},o(o){g(l.$$.fragment,o),r=!1},d(o){o&&S(e),j(l)}}}function p_(t){let e,i,n,l,r,o;return n=new f_({}),{c(){e=T("div"),i=T("div"),W(n.$$.fragment),l=z(),r=T("span"),r.textContent=`${Y("waiting_live_upcoming_title")}`,u(i,"class","upcoming-icon v-15pewff"),u(r,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(s,a){P(s,e,a),p(e,i),q(n,i,null),p(e,l),p(e,r),o=!0},p:G,i(s){o||(m(n.$$.fragment,s),o=!0)},o(s){g(n.$$.fragment,s),o=!1},d(s){s&&S(e),j(n)}}}function h_(t){let e,i,n,l,r;const o=[p_,m_],s=[];function a(c,f){return c[2]?0:1}return i=a(t),n=s[i]=o[i](t),{c(){e=T("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",l=`background-image: url(${t[2]?"":t[0]})`)},m(c,f){P(c,e,f),s[i].m(e,null),r=!0},p(c,[f]){let d=i;i=a(c),i===d?s[i].p(c,f):(fe(),g(s[d],1,1,()=>{s[d]=null}),de(),n=s[i],n?n.p(c,f):(n=s[i]=o[i](c),n.c()),m(n,1),n.m(e,null)),(!r||f&5&&l!==(l=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",l)},i(c){r||(m(n),r=!0)},o(c){g(n),r=!1},d(c){c&&S(e),s[i].d()}}}function v_(t,e,i){let n,{thumbUrl:l}=e,{startTime:r}=e;const o=()=>i(2,n=!0);return t.$$set=s=>{"thumbUrl"in s&&i(0,l=s.thumbUrl),"startTime"in s&&i(1,r=s.startTime)},t.$$.update=()=>{t.$$.dirty&2&&i(2,n=r===void 0||r<Math.floor(Date.now()/1e3))},[l,r,n,o]}class If extends ye{constructor(e){super(),we(this,e,v_,h_,ge,{thumbUrl:0,startTime:1},d_)}}function g_(t){We(t,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function b_(t){let e,i;return{c(){e=T("div"),i=T("p"),i.textContent=`${Y("waiting_record_title")}`,u(i,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,l){P(n,e,l),p(e,i)},p:G,i:G,o:G,d(n){n&&S(e)}}}class Lf extends ye{constructor(e){super(),we(this,e,null,b_,ge,{},g_)}}const{window:__}=gl;function w_(t){We(t,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function Ku(t){var n;let e,i;return e=new If({props:{thumbUrl:t[3],startTime:(n=t[5])==null?void 0:n.startTime}}),{c(){W(e.$$.fragment)},m(l,r){q(e,l,r),i=!0},p(l,r){var s;const o={};r[0]&8&&(o.thumbUrl=l[3]),r[0]&32&&(o.startTime=(s=l[5])==null?void 0:s.startTime),e.$set(o)},i(l){i||(m(e.$$.fragment,l),i=!0)},o(l){g(e.$$.fragment,l),i=!1},d(l){j(e,l)}}}function Wu(t){let e,i;return e=new Lf({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Zu(t){let e,i,n;return i=new Mc({props:{adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12]}}),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),V(e,"hidden",t[38]!==De.Ads)},m(l,r){P(l,e,r),q(i,e,null),n=!0},p(l,r){const o={};r[0]&512&&(o.adsSlotId=l[9]),r[0]&1024&&(o.adsParams=l[10]),r[0]&2048&&(o.adsPreviewParam=l[11]),r[0]&4096&&(o.duration=l[12]),i.$set(o),(!n||r[1]&128)&&V(e,"hidden",l[38]!==De.Ads)},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),j(i)}}}function Gu(t){let e,i;return e=new Np({props:{title:t[18],thumb:t[19],playNextVideo:t[23]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&262144&&(r.title=n[18]),l[0]&524288&&(r.thumb=n[19]),l[0]&8388608&&(r.playNextVideo=n[23]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Yu(t){let e,i;return e=new l_({props:{title:t[2],isHidden:!t[36]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&4&&(r.title=n[2]),l[1]&32&&(r.isHidden=!n[36]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Qu(t){let e,i;return e=new Sf({props:{isShifted:t[38]===De.Video&&t[36]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[1]&160&&(r.isShifted=n[38]===De.Video&&n[36]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function Xu(t){let e,i,n;return i=new G1({props:{ariaLabel:Y("video360")}}),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(l,r){P(l,e,r),q(i,e,null),n=!0},p:G,i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),j(i)}}}function Ju(t){let e,i;return e=new Tf({props:{thumbUrl:t[3],chromecastDeviceName:t[53]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&8&&(r.thumbUrl=n[3]),l[1]&4194304&&(r.chromecastDeviceName=n[53]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function xu(t){let e,i;return e=new Pf({props:{shifted:t[36],captions:t[55],position:t[56],playerSize:t[34]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[1]&32&&(r.shifted=n[36]),l[1]&16777216&&(r.captions=n[55]),l[1]&33554432&&(r.position=n[56]),l[1]&8&&(r.playerSize=n[34]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function $u(t){let e,i,n,l,r;return i=new Ef({}),{c(){e=T("div"),W(i.$$.fragment)},m(o,s){P(o,e,s),q(i,e,null),n=!0,l||(r=[pe(e,"contextmenu",ii(t[107])),pe(e,"click",at(t[118]))],l=!0)},p:G,i(o){n||(m(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),j(i),l=!1,rt(r)}}}function e1(t){let e,i,n;function l(o){t[155](o)}let r={bottomHidden:t[38]===De.Thumb||t[38]===De.WaitingLive||t[38]===De.WaitingRecord,bottomNoSmooth:t[50],showControls:t[36],isAds:t[38]===De.Ads,canRewindLive:t[7]&&t[57]!==0,logoClickable:t[13],logoHidden:t[14],videoLogoUrl:t[4],showNextPrevButtons:t[15],nextButtonActive:t[16],prevButtonActive:t[17],isOneVideoPlaylist:t[20],supportLink:t[21],customFullscreenSupported:C_,playNextVideo:t[23],playPrevVideo:t[24],repeatPlaylist:t[25],toggleFullscreen:t[105],returnFocus:t[154],seekToInteractive:t[26],toggleGraph:t[27],playPrevChapter:t[28]};return t[41]!==void 0&&(r.controlsElementRef=t[41]),e=new kf({props:r}),ke.push(()=>qe(e,"controlsElementRef",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[1]&128&&(a.bottomHidden=o[38]===De.Thumb||o[38]===De.WaitingLive||o[38]===De.WaitingRecord),s[1]&524288&&(a.bottomNoSmooth=o[50]),s[1]&32&&(a.showControls=o[36]),s[1]&128&&(a.isAds=o[38]===De.Ads),s[0]&128|s[1]&67108864&&(a.canRewindLive=o[7]&&o[57]!==0),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&16&&(a.videoLogoUrl=o[4]),s[0]&32768&&(a.showNextPrevButtons=o[15]),s[0]&65536&&(a.nextButtonActive=o[16]),s[0]&131072&&(a.prevButtonActive=o[17]),s[0]&1048576&&(a.isOneVideoPlaylist=o[20]),s[0]&2097152&&(a.supportLink=o[21]),s[0]&8388608&&(a.playNextVideo=o[23]),s[0]&16777216&&(a.playPrevVideo=o[24]),s[0]&33554432&&(a.repeatPlaylist=o[25]),s[1]&131072&&(a.returnFocus=o[154]),s[0]&67108864&&(a.seekToInteractive=o[26]),s[0]&134217728&&(a.toggleGraph=o[27]),s[0]&268435456&&(a.playPrevChapter=o[28]),!i&&s[1]&1024&&(i=!0,a.controlsElementRef=o[41],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function t1(t){let e,i;return e=new jc({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function i1(t){let e,i;return e=new i3({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function n1(t){let e,i;return e=new zc({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function o1(t){let e,i,n,l,r,o,s,a,c,f,d,h,b,v,w,_,k,y,C,E,F,R,B,se;e=new Af({props:{hidden:t[38]!==De.Thumb||t[37]||t[92]&&t[6],thumbUrl:t[3],startVideo:t[29]}});let ae=t[38]===De.WaitingLive&&Ku(t),O=t[38]===De.WaitingRecord&&Wu(),$=t[8]&&t[22]&&Zu(t),J=t[31]&&t[18]&&t[19]&&Gu(t),Q=t[44]&&Yu(t),I=t[49]&&Qu(t),M=t[52]&&Xu(),ee=t[39]&&Ju(t),L=t[54].value!=="off"&&xu(t),ie=t[37]&&$u(t),Le=t[22]&&e1(t);v=new Bc({props:{isLive:t[58],isHidden:!t[43],isPlaying:t[59],position:t[56],duration:t[60]}}),_=new Ob({props:{data:t[102]}});function Pe(Z){t[157](Z)}let Me={supportLink:t[21],returnFocus:t[156],visible:t[33],playerContainerRef:t[40],controlsContainerRef:t[41],position:t[61]};t[32]!==void 0&&(Me.menuElementRef=t[32]),y=new mp({props:Me}),ke.push(()=>qe(y,"menuElementRef",Pe));let Ne=t[42]&&t1(),be=t[62]&&i1(),Ce=t[63]&&n1();return{c(){W(e.$$.fragment),i=z(),ae&&ae.c(),n=z(),O&&O.c(),l=z(),$&&$.c(),r=z(),J&&J.c(),o=z(),Q&&Q.c(),s=z(),I&&I.c(),a=z(),M&&M.c(),c=z(),ee&&ee.c(),f=z(),L&&L.c(),d=z(),ie&&ie.c(),h=z(),Le&&Le.c(),b=z(),W(v.$$.fragment),w=z(),W(_.$$.fragment),k=z(),W(y.$$.fragment),E=z(),Ne&&Ne.c(),F=z(),be&&be.c(),R=z(),Ce&&Ce.c(),B=bt()},m(Z,ce){q(e,Z,ce),P(Z,i,ce),ae&&ae.m(Z,ce),P(Z,n,ce),O&&O.m(Z,ce),P(Z,l,ce),$&&$.m(Z,ce),P(Z,r,ce),J&&J.m(Z,ce),P(Z,o,ce),Q&&Q.m(Z,ce),P(Z,s,ce),I&&I.m(Z,ce),P(Z,a,ce),M&&M.m(Z,ce),P(Z,c,ce),ee&&ee.m(Z,ce),P(Z,f,ce),L&&L.m(Z,ce),P(Z,d,ce),ie&&ie.m(Z,ce),P(Z,h,ce),Le&&Le.m(Z,ce),P(Z,b,ce),q(v,Z,ce),P(Z,w,ce),q(_,Z,ce),P(Z,k,ce),q(y,Z,ce),P(Z,E,ce),Ne&&Ne.m(Z,ce),P(Z,F,ce),be&&be.m(Z,ce),P(Z,R,ce),Ce&&Ce.m(Z,ce),P(Z,B,ce),se=!0},p(Z,ce){const he={};ce[0]&64|ce[1]&192&&(he.hidden=Z[38]!==De.Thumb||Z[37]||Z[92]&&Z[6]),ce[0]&8&&(he.thumbUrl=Z[3]),ce[0]&536870912&&(he.startVideo=Z[29]),e.$set(he),Z[38]===De.WaitingLive?ae?(ae.p(Z,ce),ce[1]&128&&m(ae,1)):(ae=Ku(Z),ae.c(),m(ae,1),ae.m(n.parentNode,n)):ae&&(fe(),g(ae,1,1,()=>{ae=null}),de()),Z[38]===De.WaitingRecord?O?ce[1]&128&&m(O,1):(O=Wu(),O.c(),m(O,1),O.m(l.parentNode,l)):O&&(fe(),g(O,1,1,()=>{O=null}),de()),Z[8]&&Z[22]?$?($.p(Z,ce),ce[0]&4194560&&m($,1)):($=Zu(Z),$.c(),m($,1),$.m(r.parentNode,r)):$&&(fe(),g($,1,1,()=>{$=null}),de()),Z[31]&&Z[18]&&Z[19]?J?(J.p(Z,ce),ce[0]&786432|ce[1]&1&&m(J,1)):(J=Gu(Z),J.c(),m(J,1),J.m(o.parentNode,o)):J&&(fe(),g(J,1,1,()=>{J=null}),de()),Z[44]?Q?(Q.p(Z,ce),ce[1]&8192&&m(Q,1)):(Q=Yu(Z),Q.c(),m(Q,1),Q.m(s.parentNode,s)):Q&&(fe(),g(Q,1,1,()=>{Q=null}),de()),Z[49]?I?(I.p(Z,ce),ce[1]&262144&&m(I,1)):(I=Qu(Z),I.c(),m(I,1),I.m(a.parentNode,a)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),Z[52]?M?(M.p(Z,ce),ce[1]&2097152&&m(M,1)):(M=Xu(),M.c(),m(M,1),M.m(c.parentNode,c)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),Z[39]?ee?(ee.p(Z,ce),ce[1]&256&&m(ee,1)):(ee=Ju(Z),ee.c(),m(ee,1),ee.m(f.parentNode,f)):ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()),Z[54].value!=="off"?L?(L.p(Z,ce),ce[1]&8388608&&m(L,1)):(L=xu(Z),L.c(),m(L,1),L.m(d.parentNode,d)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),Z[37]?ie?(ie.p(Z,ce),ce[1]&64&&m(ie,1)):(ie=$u(Z),ie.c(),m(ie,1),ie.m(h.parentNode,h)):ie&&(fe(),g(ie,1,1,()=>{ie=null}),de()),Z[22]?Le?(Le.p(Z,ce),ce[0]&4194304&&m(Le,1)):(Le=e1(Z),Le.c(),m(Le,1),Le.m(b.parentNode,b)):Le&&(fe(),g(Le,1,1,()=>{Le=null}),de());const Ke={};ce[1]&134217728&&(Ke.isLive=Z[58]),ce[1]&4096&&(Ke.isHidden=!Z[43]),ce[1]&268435456&&(Ke.isPlaying=Z[59]),ce[1]&33554432&&(Ke.position=Z[56]),ce[1]&536870912&&(Ke.duration=Z[60]),v.$set(Ke);const _e={};ce[0]&2097152&&(_e.supportLink=Z[21]),ce[1]&131072&&(_e.returnFocus=Z[156]),ce[1]&4&&(_e.visible=Z[33]),ce[1]&512&&(_e.playerContainerRef=Z[40]),ce[1]&1024&&(_e.controlsContainerRef=Z[41]),ce[1]&1073741824&&(_e.position=Z[61]),!C&&ce[1]&2&&(C=!0,_e.menuElementRef=Z[32],Ue(()=>C=!1)),y.$set(_e),Z[42]?Ne?ce[1]&2048&&m(Ne,1):(Ne=t1(),Ne.c(),m(Ne,1),Ne.m(F.parentNode,F)):Ne&&(fe(),g(Ne,1,1,()=>{Ne=null}),de()),Z[62]?be?ce[2]&1&&m(be,1):(be=i1(),be.c(),m(be,1),be.m(R.parentNode,R)):be&&(fe(),g(be,1,1,()=>{be=null}),de()),Z[63]?Ce?ce[2]&2&&m(Ce,1):(Ce=n1(),Ce.c(),m(Ce,1),Ce.m(B.parentNode,B)):Ce&&(fe(),g(Ce,1,1,()=>{Ce=null}),de())},i(Z){se||(m(e.$$.fragment,Z),m(ae),m(O),m($),m(J),m(Q),m(I),m(M),m(ee),m(L),m(ie),m(Le),m(v.$$.fragment,Z),m(_.$$.fragment,Z),m(y.$$.fragment,Z),m(Ne),m(be),m(Ce),se=!0)},o(Z){g(e.$$.fragment,Z),g(ae),g(O),g($),g(J),g(Q),g(I),g(M),g(ee),g(L),g(ie),g(Le),g(v.$$.fragment,Z),g(_.$$.fragment,Z),g(y.$$.fragment,Z),g(Ne),g(be),g(Ce),se=!1},d(Z){Z&&(S(i),S(n),S(l),S(r),S(o),S(s),S(a),S(c),S(f),S(d),S(h),S(b),S(w),S(k),S(E),S(F),S(R),S(B)),j(e,Z),ae&&ae.d(Z),O&&O.d(Z),$&&$.d(Z),J&&J.d(Z),Q&&Q.d(Z),I&&I.d(Z),M&&M.d(Z),ee&&ee.d(Z),L&&L.d(Z),ie&&ie.d(Z),Le&&Le.d(Z),j(v,Z),j(_,Z),j(y,Z),Ne&&Ne.d(Z),be&&be.d(Z),Ce&&Ce.d(Z)}}}function y_(t){let e,i,n,l,r=t[51],o,s,a,c,f=o1(t);return{c(){e=T("div"),i=T("div"),l=z(),f.c(),o=bt(),u(i,"class","video-container v-1o4wf3x"),u(i,"style",n=`transform: rotate(${t[35]}deg) scale(${t[46]})`),V(i,"fast-rotate",!t[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),V(e,"hidden",t[38]!==De.Video),V(e,"nocursor",t[45])},m(d,h){P(d,e,h),p(e,i),t[153](i),P(d,l,h),f.m(d,h),P(d,o,h),s=!0,a||(c=[pe(e,"contextmenu",ii(t[107])),pe(e,"mousedown",ii(t[112])),pe(e,"mouseup",ii(t[113])),pe(e,"click",ii(t[115])),pe(e,"dblclick",ii(t[114]))],a=!0)},p(d,h){(!s||h[1]&32784&&n!==(n=`transform: rotate(${d[35]}deg) scale(${d[46]})`))&&u(i,"style",n),(!s||h[0]&2)&&V(i,"fast-rotate",!d[1].isSmoothVideoRotate),(!s||h[1]&128)&&V(e,"hidden",d[38]!==De.Video),(!s||h[1]&16384)&&V(e,"nocursor",d[45]),h[1]&1048576&&ge(r,r=d[51])?(fe(),g(f,1,1,G),de(),f=o1(d),f.c(),m(f,1),f.m(o.parentNode,o)):f.p(d,h)},i(d){s||(m(f),s=!0)},o(d){g(f),s=!1},d(d){d&&(S(e),S(l),S(o)),t[153](null),f.d(d),a=!1,rt(c)}}}function k_(t){let e,i,n,l,r,o,s,a={toggleFullscreen:t[105],hideContextMenu:t[106],showHotKeyHelpers:t[116],showKeyMap:t[117],isAds:t[38]===De.Ads,fakePlayButtonHandler:t[47]?t[104]:void 0,$$slots:{default:[y_]},$$scope:{ctx:t}};return i=new zp({props:a}),t[158](i),{c(){e=T("div"),W(i.$$.fragment),n=z(),l=T("div"),u(l,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){P(c,e,f),q(i,e,null),p(e,n),p(e,l),t[159](l),t[160](e),r=!0,o||(s=[pe(__,"blur",t[106]),pe(e,"mouseenter",t[108]),pe(e,"mouseleave",t[110]),pe(e,"mousemove",t[111]),pe(e,"click",t[119],!0),pe(e,"focusin",t[109],!0)],o=!0)},p(c,f){const d={};f[1]&128&&(d.isAds=c[38]===De.Ads),f[1]&65536&&(d.fakePlayButtonHandler=c[47]?c[104]:void 0),f[0]&1073741823|f[1]&2147418111|f[2]&3|f[5]&134217728&&(d.$$scope={dirty:f,ctx:c}),i.$set(d)},i(c){r||(m(i.$$.fragment,c),r=!0)},o(c){g(i.$$.fragment,c),r=!1},d(c){c&&S(e),t[158](null),j(i),t[159](null),t[160](null),o=!1,rt(s)}}}let C_=!0;function Mf(t){return t?t.offsetTop+Mf(t.offsetParent):0}function S_(t,e,i){let n,l,r,o,s,a,c,f,d,h,b,v,w,_,k,y,C,E,F,R,B,se,ae,O,$,J,Q,I,M,ee,L,ie,Le,Pe,Me,Ne,be,Ce,Z,ce,he,Ke,{store:_e}=e,{uiConfig:Ee}=e,{title:Re}=e,{thumbUrl:me}=e,{videoLogoUrl:Te}=e,{videoContainer:H}=e,{interactiveContainer:ne}=e,{live:Ae}=e,{autoplay:ue}=e,{canRewindLive:Se}=e,{showAds:Ze}=e,{adsSlotId:it=void 0}=e,{adsParams:ut=void 0}=e,{adsPreviewParam:xe=void 0}=e,{duration:ot=void 0}=e,{logoClickable:st}=e,{logoHidden:wt}=e,{showNextPrevButtons:Oe=!1}=e,{nextButtonActive:dt=!1}=e,{prevButtonActive:ct=!1}=e,{endScreenVideoTitle:Et=void 0}=e,{endScreenVideoThumb:re=void 0}=e,{isOneVideoPlaylist:At=!1}=e,{supportLink:gt}=e,{outerContainerRef:Vt=void 0}=e,{playerStarted:ft=!1}=e,{fullScreenTarget:yt=void 0}=e,{showMiniTimer:Xe=!1}=e,{playNextVideo:He=te.noop}=e,{playPrevVideo:It=te.noop}=e,{repeatPlaylist:xi=te.noop}=e,{seekToInteractive:Pi}=e,{toggleGraph:Oi}=e,{playPrevChapter:ln}=e,{firstStart:Yt}=e;const Ht=_e.getLogger().createComponentLog("Root component"),oi=_e.interfaceLanguage$;D(t,oi,U=>i(51,ee=U));const Ot=_e.state.playbackState$;D(t,Ot,U=>i(150,Q=U));const li=_e.ads.playbackState;D(t,li,U=>i(151,I=U));const Zi=_e.state.positionWithScrubbing$;D(t,Zi,U=>i(56,Me=U));const hi=_e.state.duration$;D(t,hi,U=>i(60,Z=U));const Ti=_e.playerPhase;D(t,Ti,U=>i(38,se=U));const ri=_e.ui.isFullscreen;D(t,ri,U=>i(140,b=U));const vi=_e.ui.controlsVisible;D(t,vi,U=>i(36,C=U));const Di=_e.ui.settingsMenuVisible;D(t,Di,U=>i(138,a=U));const Ei=_e.ui.scrubbingInProgress;D(t,Ei,U=>i(142,k=U));const gi=_e.ui.contextMenu.visible$;D(t,gi,U=>i(33,n=U));const si=_e.ui.debugPanelVisible;D(t,si,U=>i(63,Ke=U));const zi=_e.state.isLoaderVisible;D(t,zi,U=>i(152,M=U));const Lt=_e.state.isEnded$;D(t,Lt,U=>i(139,f=U));const Mt=_e.state.chromecastConnected$;D(t,Mt,U=>i(39,$=U));const bi=_e.state.chromecastDeviceName$;D(t,bi,U=>i(53,ie=U));const Ai=_e.ads.postrollPassed;D(t,Ai,U=>i(145,R=U));const Dt=_e.state.isLive$;D(t,Dt,U=>i(58,be=U));const mt=_e.state.isPlaying$;D(t,mt,U=>i(59,Ce=U));const ai=_e.state.crashed$;D(t,ai,U=>i(37,F=U));const lt=_e.webApi.pictureInPictureApi,ui=_e.state.currentSubtitle$;D(t,ui,U=>i(54,Le=U));const Ii=_e.state.currentSubtitleCaptions$;D(t,Ii,U=>i(55,Pe=U));const Li=_e.state.duration$;D(t,Li,U=>i(57,Ne=U));const Wt=_e.state.graphIsOpened$;D(t,Wt,U=>i(146,B=U));const Fi=_e.ui.playerSize;D(t,Fi,U=>i(34,h=U));const Hi=_e.ui.is3DVideo;D(t,Hi,U=>i(49,d=U));const Ut=_e.ui.icon3DVideoVisible;D(t,Ut,U=>i(52,L=U));const Mi=_e.ui.rotateAlpha;D(t,Mi,U=>i(35,_=U));const Vi=_e.state.isInteractive,Ui=_e.state.isInteractiveTime$;D(t,Ui,U=>i(143,y=U));const Gi=_e.state.isInteractiveExpectation$;D(t,Gi,U=>i(149,J=U));const qt=_e.state.hasInteractiveBranches,Bt=_e.ui.touched;D(t,Bt,U=>i(147,ae=U));const Qt=_e.ui.modals.hotKeyMap.data;D(t,Qt,U=>i(167,c=U));const Bi=_e.ui.modals.hotKeyMap.show;D(t,Bi,U=>i(62,he=U));const fn=_e.ui.overlayContainer$,ci=_e.ui.contextMenu.position$;D(t,ci,U=>i(61,ce=U));const $i=_e.actions.internal.closeSettingsMenu,{fakeIsPlaying$:fi}=Ho();D(t,fi,U=>i(141,w=U));let Zt,qi,_i,ji,Xt;Qt.set(L4());let wi,di;const Ki=Ve(!1);D(t,Ki,U=>i(50,v=U));let mi;const Jt=Ve(!1);D(t,Jt,U=>i(148,O=U));const yi=Ve(),je=Ve(!1);D(t,je,U=>i(144,E=U));let Wi=!1,xt=!1,ki,Be,dn,rn,Yi,Nt,sn=!1,en,Qi=!1;const{toggle:tn}=fi;let le=!1,Je=null,pt;lt==null||lt.setContext(E1());const Ci=()=>{ue&&!Vi&&jt(Ee.controls.hideTimeout)};_e.setUiCallbacks({onStarted:Ci});const $t=()=>{window.clearTimeout(_i),Jt.set(!1)},mn=()=>{window.clearTimeout(ji),yi.set(null)},jt=U=>{$t(),Jt.set(!0),_i=window.setTimeout(()=>Jt.set(!1),U);const kt=U-100;mi=window.setTimeout(()=>{v&&Ki.set(!1)},kt>0?kt:U)},kn=(U,kt)=>{mn(),yi.set(kt),ji=window.setTimeout(()=>yi.set(null),U)},Cn=Hi.subscribe(U=>{Ut.set(U),U&&(window.clearTimeout(Xt),Xt=window.setTimeout(()=>Ut.set(!1),Ee.controls.hide360IconTimeout))}),an=()=>Ji(this,null,function*(){var kt,_n,nt,A;const U=Do();if(U){jt(Ee.controls.hideTimeoutFullscreen);try{yield lt==null?void 0:lt.remove()}catch(oe){Ht({message:String(oe)})}}ri.set(U),_e.getAdmanWrapper().setFullscreen(U),b?(_n=(kt=_e.callbacks)==null?void 0:kt.onFullscreenEnter)==null||_n.call(kt):(A=(nt=_e.callbacks)==null?void 0:nt.onFullscreenExit)==null||A.call(nt)}),Sn=U=>{const kt=U;Fi.set({width:kt.target.width,height:kt.target.height})};wn(()=>{var kt;return Ic(an),hl(lt)&&(lt==null||lt.assignPlayerContainer(Zt),lt==null||lt.registryExternalEventHandlers({resize:Sn})),ne&&((kt=H.parentElement)==null||kt.insertBefore(ne,H.nextSibling)),()=>{window.clearTimeout(_i),window.clearTimeout(mi),window.clearTimeout(ji),window.clearTimeout(Xt),Cn(),lt==null||lt.dispose(),Lc(an)}});const pn=()=>Ji(this,null,function*(){if(Do())yield Ac(document),Ht({message:"exit fullscreen"});else{Ht({message:"request fullscreen"});const U=Vt!=null?Vt:Zt,kt=U.getRootNode(),_n=kt instanceof ShadowRoot?kt.host:kt,nt=yt instanceof HTMLElement&&yt.contains(_n),A=Ee.allowChangingFullscreenTarget&&yt&&nt?yt:U;yield Ec(A)}}),nn=()=>{$i(),gi.set(!1)},Pn=U=>{gi.set(!0),ci.set({left:U.clientX,top:U.clientY})};function hn(){je.set(!0),Vi||jt(Ee.controls.hideTimeoutCursor)}function Tn(){Vi||(Ki.set(!0),jt(Ee.controls.hideTimeoutCursor))}function x(){je.set(!1),i(130,xt=!1),i(129,Wi=!1),le=!1,_e.actions.internal.releaseCamera()}function _t(U){if(Zt){const kt=Mf(U.currentTarget),_n=h.height,nt=U.pageY-kt;nt<Gr?i(130,xt=!0):nt>_n-Gr?i(129,Wi=!0):(i(130,xt=!1),a||i(129,Wi=!1))}}function vn(U){_t(U),Be||jt(Ee.controls.hideTimeoutCursor),d&&le&&Je&&_e.actions.internal.moveCameraFocusPX(Je.clientX-U.clientX,Je.clientY-U.clientY,U.timeStamp-Je.timeStamp),Je=U}const Xi=U=>{U.button===0&&(le=!0,_e.actions.internal.holdCamera()),jt(Ee.controls.hideTimeoutCursor)},gn=U=>{U.button===0&&(Je=U,le=!1,_e.actions.internal.releaseCamera()),jt(Ee.controls.hideTimeoutCursor)},un=()=>{Ht({message:"double click on video"}),pn(),jt(Ee.controls.hideTimeoutCursor)},Kn=()=>{if(n||a){nn();return}if(!(f&&!qt)){if(Qi)return tn();if(pt==null||pt.focus(),!ft){Yt(),jt(Ee.controls.hideTimeoutCursor);return}_e.actions.internal.togglePlay(),jt(Ee.controls.hideTimeoutCursor)}},Wn=U=>{nn(),Bt.set(!0),jt(Ee.controls.hideTimeout),U&&kn(Ee.controls.hideHotKeyHelpers,U)},Zn=()=>{var U,kt;nn(),(U=_e.callbacks)!=null&&U.onOpenHotKeyMap?(kt=_e.callbacks)==null||kt.onOpenHotKeyMap(c):Bi.update(_n=>!_n)},Gn=()=>{if(n||a){nn();return}},Yn=()=>{Bt.set(!0)},Vn=_e.ui.contextMenu.openedByBtnKeyboard$;D(t,Vn,U=>i(137,s=U));let Qn=_e.ui.contextMenu.btnRef$;D(t,Qn,U=>i(136,o=U));let pi;const bn=_e.ui.contextMenu.openedByHotKey$;D(t,bn,U=>i(135,r=U));const X=_e.ui.contextMenu.lastActiveElem$;D(t,X,U=>i(134,l=U));function no(U){ke[U?"unshift":"push"](()=>{H=U,i(0,H)})}const ao=()=>pt==null?void 0:pt.focus();function Lo(U){qi=U,i(41,qi)}const uo=()=>pt==null?void 0:pt.focus();function Mo(U){pi=U,i(32,pi)}function co(U){ke[U?"unshift":"push"](()=>{pt=U,i(48,pt)})}function Xn(U){ke[U?"unshift":"push"](()=>{di=U,i(30,di)})}function Vo(U){ke[U?"unshift":"push"](()=>{Zt=U,i(40,Zt)})}return t.$$set=U=>{"store"in U&&i(124,_e=U.store),"uiConfig"in U&&i(1,Ee=U.uiConfig),"title"in U&&i(2,Re=U.title),"thumbUrl"in U&&i(3,me=U.thumbUrl),"videoLogoUrl"in U&&i(4,Te=U.videoLogoUrl),"videoContainer"in U&&i(0,H=U.videoContainer),"interactiveContainer"in U&&i(125,ne=U.interactiveContainer),"live"in U&&i(5,Ae=U.live),"autoplay"in U&&i(6,ue=U.autoplay),"canRewindLive"in U&&i(7,Se=U.canRewindLive),"showAds"in U&&i(8,Ze=U.showAds),"adsSlotId"in U&&i(9,it=U.adsSlotId),"adsParams"in U&&i(10,ut=U.adsParams),"adsPreviewParam"in U&&i(11,xe=U.adsPreviewParam),"duration"in U&&i(12,ot=U.duration),"logoClickable"in U&&i(13,st=U.logoClickable),"logoHidden"in U&&i(14,wt=U.logoHidden),"showNextPrevButtons"in U&&i(15,Oe=U.showNextPrevButtons),"nextButtonActive"in U&&i(16,dt=U.nextButtonActive),"prevButtonActive"in U&&i(17,ct=U.prevButtonActive),"endScreenVideoTitle"in U&&i(18,Et=U.endScreenVideoTitle),"endScreenVideoThumb"in U&&i(19,re=U.endScreenVideoThumb),"isOneVideoPlaylist"in U&&i(20,At=U.isOneVideoPlaylist),"supportLink"in U&&i(21,gt=U.supportLink),"outerContainerRef"in U&&i(126,Vt=U.outerContainerRef),"playerStarted"in U&&i(22,ft=U.playerStarted),"fullScreenTarget"in U&&i(127,yt=U.fullScreenTarget),"showMiniTimer"in U&&i(128,Xe=U.showMiniTimer),"playNextVideo"in U&&i(23,He=U.playNextVideo),"playPrevVideo"in U&&i(24,It=U.playPrevVideo),"repeatPlaylist"in U&&i(25,xi=U.repeatPlaylist),"seekToInteractive"in U&&i(26,Pi=U.seekToInteractive),"toggleGraph"in U&&i(27,Oi=U.toggleGraph),"playPrevChapter"in U&&i(28,ln=U.playPrevChapter),"firstStart"in U&&i(29,Yt=U.firstStart)},t.$$.update=()=>{if(t.$$.dirty[1]&192|t.$$.dirty[4]&402653184&&i(42,wi=(se===De.Video&&M||se===De.Ads&&I===ti.INACTIVE)&&!F),t.$$.dirty[0]&1073741824&&fn.set(di),t.$$.dirty[4]&67108864&&i(131,ki=Q!==et.PlaybackState.PLAYING),t.$$.dirty[4]&34095328&&i(132,Be=y&&!a&&!(Wi||xt)&&!(ki&&!J)),t.$$.dirty[1]&448|t.$$.dirty[4]&17056128&&vi.set((ki||a||k||$||O)&&!Be&&se===De.Video&&!F),t.$$.dirty[0]&2|t.$$.dirty[1]&224|t.$$.dirty[4]&8388624&&i(43,dn=Ee.features.thumbTimer&&Xe&&se===De.Video&&!C&&!F&&!Vi&&(Ee.hideThumbTimerAfterTouch&&!ae||!Ee.hideThumbTimerAfterTouch)),t.$$.dirty[1]&128|t.$$.dirty[4]&4259840&&i(44,rn=se===De.Video&&!B&&b),t.$$.dirty[0]&256|t.$$.dirty[1]&64|t.$$.dirty[4]&2129920&&i(31,Yi=(Ze&&R||!Ze)&&f&&!F),t.$$.dirty[1]&33|t.$$.dirty[4]&1572864&&i(45,Nt=E&&!(C||Yi)&&!y),t.$$.dirty[0]&2|t.$$.dirty[4]&786944&&(!k&&sn&&!y&&jt(Ee.controls.hideTimeoutCursor),i(133,sn=k)),t.$$.dirty[0]&1|t.$$.dirty[1]&24&&i(46,en=H&&_%180?h.height/h.width:1),t.$$.dirty[4]&131072&&i(47,Qi=w!==null),t.$$.dirty[1]&6|t.$$.dirty[4]&8192&&vl(pi,n,s),t.$$.dirty[1]&4|t.$$.dirty[4]&4096){const U=o;U&&Cr(U,n,Vn)}if(t.$$.dirty[1]&6|t.$$.dirty[4]&2048&&vl(pi,n,r),t.$$.dirty[1]&4|t.$$.dirty[4]&1024){const U=l;U&&lp(U,n,bn)}},[H,Ee,Re,me,Te,Ae,ue,Se,Ze,it,ut,xe,ot,st,wt,Oe,dt,ct,Et,re,At,gt,ft,He,It,xi,Pi,Oi,ln,Yt,di,Yi,pi,n,h,_,C,F,se,$,Zt,qi,wi,dn,rn,Nt,en,Qi,pt,d,v,ee,L,ie,Le,Pe,Me,Ne,be,Ce,Z,ce,he,Ke,oi,Ot,li,Zi,hi,Ti,ri,vi,Di,Ei,gi,si,zi,Lt,Mt,bi,Ai,Dt,mt,ai,ui,Ii,Li,Wt,Fi,Hi,Ut,Mi,Vi,Ui,Gi,Bt,Qt,Bi,ci,fi,Ki,Jt,yi,je,tn,pn,nn,Pn,hn,Tn,x,vn,Xi,gn,un,Kn,Wn,Zn,Gn,Yn,Vn,Qn,bn,X,_e,ne,Vt,yt,Xe,Wi,xt,ki,Be,sn,l,r,o,s,a,f,b,w,k,y,E,R,B,ae,O,J,Q,I,M,no,ao,Lo,uo,Mo,co,Xn,Vo]}class P_ extends ye{constructor(e){super(),we(this,e,S_,k_,ge,{store:124,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:125,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:126,playerStarted:22,fullScreenTarget:127,showMiniTimer:128,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},w_,[-1,-1,-1,-1,-1,-1])}}const T_=t=>{if(!te.isIOS(!0))return!1;const e=t.device===te.CurrentClientDevice.iPad||(window==null?void 0:window.screen.width)>700,i=te.getIOSVersion();return!e||e&&!!i&&i<16};function E_(t){We(t,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function l1(t){let e,i,n,l,r,o,s,a,c,f,d,h,b,v,w,_=Y("doubletap_seek_step",{seconds:t[1].toFixed(0)})+"",k;return{c(){e=T("div"),n=z(),l=T("div"),r=T("div"),o=T("div"),a=z(),c=T("div"),d=z(),h=T("div"),v=z(),w=T("p"),k=ze(_),u(e,"class",i="semicircle "+t[0]+" v-nhq2ld"),u(o,"class",s="triangle "+t[0]+" v-nhq2ld"),u(c,"class",f="triangle "+t[0]+" v-nhq2ld"),u(h,"class",b="triangle "+t[0]+" v-nhq2ld"),u(r,"class","triangles-wrapper v-nhq2ld"),u(w,"class","step-caption v-nhq2ld"),u(l,"class","info v-nhq2ld")},m(y,C){P(y,e,C),P(y,n,C),P(y,l,C),p(l,r),p(r,o),p(r,a),p(r,c),p(r,d),p(r,h),p(l,v),p(l,w),p(w,k)},p(y,C){C&1&&i!==(i="semicircle "+y[0]+" v-nhq2ld")&&u(e,"class",i),C&1&&s!==(s="triangle "+y[0]+" v-nhq2ld")&&u(o,"class",s),C&1&&f!==(f="triangle "+y[0]+" v-nhq2ld")&&u(c,"class",f),C&1&&b!==(b="triangle "+y[0]+" v-nhq2ld")&&u(h,"class",b),C&2&&_!==(_=Y("doubletap_seek_step",{seconds:y[1].toFixed(0)})+"")&&tt(k,_)},d(y){y&&(S(e),S(n),S(l))}}}function A_(t){let e,i,n,l,r=t[2]&&l1(t);return{c(){e=T("div"),r&&r.c(),u(e,"class",i="double-click-area "+t[0]+" v-nhq2ld")},m(o,s){P(o,e,s),r&&r.m(e,null),n||(l=pe(e,"click",at(t[3]())),n=!0)},p(o,[s]){o[2]?r?r.p(o,s):(r=l1(o),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&1&&i!==(i="double-click-area "+o[0]+" v-nhq2ld")&&u(e,"class",i)},i:G,o:G,d(o){o&&S(e),r&&r.d(),n=!1,l()}}}function I_(t,e,i){let{side:n}=e,{seekStep:l}=e,{handleSingleFirstClick:r}=e,{handleSecondClick:o}=e,s=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{r(),h=0},300):(window.clearTimeout(a),h=0,o(),i(2,s=!0),c=window.setTimeout(()=>{i(2,s=!1)},500))}};return bl(()=>{window.clearTimeout(a),window.clearTimeout(c)}),t.$$set=d=>{"side"in d&&i(0,n=d.side),"seekStep"in d&&i(1,l=d.seekStep),"handleSingleFirstClick"in d&&i(4,r=d.handleSingleFirstClick),"handleSecondClick"in d&&i(5,o=d.handleSecondClick)},[n,l,s,f,r,o]}class Vf extends ye{constructor(e){super(),we(this,e,I_,A_,ge,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},E_)}}function L_(t,e,i){let{playNextVideo:n}=e;return wn(()=>{n()}),t.$$set=l=>{"playNextVideo"in l&&i(0,n=l.playNextVideo)},[n]}class M_ extends ye{constructor(e){super(),we(this,e,L_,null,ge,{playNextVideo:0})}}const{window:V_}=gl;function B_(t){We(t,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function r1(t){let e,i,n,l;e=new Vf({props:{side:"left",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[99],handleSecondClick:t[129]}});let r=!t[48]&&s1(t);return{c(){W(e.$$.fragment),i=z(),r&&r.c(),n=bt()},m(o,s){q(e,o,s),P(o,i,s),r&&r.m(o,s),P(o,n,s),l=!0},p(o,s){const a={};s[0]&2&&(a.seekStep=o[1].controls.seekStepMobile/1e3),e.$set(a),o[48]?r&&(fe(),g(r,1,1,()=>{r=null}),de()):r?(r.p(o,s),s[1]&131072&&m(r,1)):(r=s1(o),r.c(),m(r,1),r.m(n.parentNode,n))},i(o){l||(m(e.$$.fragment,o),m(r),l=!0)},o(o){g(e.$$.fragment,o),g(r),l=!1},d(o){o&&(S(i),S(n)),j(e,o),r&&r.d(o)}}}function s1(t){let e,i;return e=new Vf({props:{side:"right",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[99],handleSecondClick:t[130]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&2&&(r.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function a1(t){var n;let e,i;return e=new If({props:{thumbUrl:t[2],startTime:(n=t[4])==null?void 0:n.startTime}}),{c(){W(e.$$.fragment)},m(l,r){q(e,l,r),i=!0},p(l,r){var s;const o={};r[0]&4&&(o.thumbUrl=l[2]),r[0]&16&&(o.startTime=(s=l[4])==null?void 0:s.startTime),e.$set(o)},i(l){i||(m(e.$$.fragment,l),i=!0)},o(l){g(e.$$.fragment,l),i=!1},d(l){j(e,l)}}}function u1(t){let e,i;return e=new Lf({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function c1(t){let e,i,n;return i=new Mc({props:{adsSlotId:t[8],adsParams:t[9],adsPreviewParam:t[10],duration:t[11]}}),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","ads-container v-1jy89ut"),V(e,"hidden",t[34]!==De.Ads)},m(l,r){P(l,e,r),q(i,e,null),n=!0},p(l,r){const o={};r[0]&256&&(o.adsSlotId=l[8]),r[0]&512&&(o.adsParams=l[9]),r[0]&1024&&(o.adsPreviewParam=l[10]),r[0]&2048&&(o.duration=l[11]),i.$set(o),(!n||r[1]&8)&&V(e,"hidden",l[34]!==De.Ads)},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),j(i)}}}function f1(t){let e,i;return e=new M_({props:{playNextVideo:t[22]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&4194304&&(r.playNextVideo=n[22]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function d1(t){let e,i;return e=new Sf({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function m1(t){let e,i,n;return i=new G1({props:{ariaLabel:Y("video360")}}),{c(){e=T("div"),W(i.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(l,r){P(l,e,r),q(i,e,null),n=!0},p:G,i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),j(i)}}}function p1(t){let e,i;return e=new Tf({props:{thumbUrl:t[2],chromecastDeviceName:t[51]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&4&&(r.thumbUrl=n[2]),l[1]&1048576&&(r.chromecastDeviceName=n[51]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function h1(t){let e,i;return e=new Pf({props:{shifted:t[30],captions:t[53],position:t[44],playerSize:t[31],isMobile:!0}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l[0]&1073741824&&(r.shifted=n[30]),l[1]&4194304&&(r.captions=n[53]),l[1]&8192&&(r.position=n[44]),l[1]&1&&(r.playerSize=n[31]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function v1(t){let e,i,n,l,r;return i=new Ef({}),{c(){e=T("div"),W(i.$$.fragment)},m(o,s){P(o,e,s),q(i,e,null),n=!0,l||(r=pe(e,"click",at(t[100])),l=!0)},p:G,i(o){n||(m(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),j(i),l=!1,r()}}}function g1(t){let e,i,n;function l(o){t[131](o)}let r={bottomHidden:t[34]===De.Thumb||t[34]===De.WaitingLive||t[34]===De.WaitingRecord||t[34]===De.Ads,showControls:t[30],bottomNoSmooth:t[45],isAds:t[34]===De.Ads,canRewindLive:t[6]&&t[54]!==0,logoClickable:t[12],logoHidden:t[13],videoLogoUrl:t[3],showNextPrevButtons:t[14],nextButtonActive:t[15],prevButtonActive:t[16],isOneVideoPlaylist:t[19],supportLink:t[20],customFullscreenSupported:t[39],playNextVideo:t[22],playPrevVideo:t[23],repeatPlaylist:t[24],toggleFullscreen:t[97],seekToInteractive:t[25],toggleGraph:t[26],playPrevChapter:t[27],onDisabledPlayPrevChapterClick:t[103],onDisabledSeekToInteractiveClick:t[104]};return t[37]!==void 0&&(r.controlsElementRef=t[37]),e=new kf({props:r}),ke.push(()=>qe(e,"controlsElementRef",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[1]&8&&(a.bottomHidden=o[34]===De.Thumb||o[34]===De.WaitingLive||o[34]===De.WaitingRecord||o[34]===De.Ads),s[0]&1073741824&&(a.showControls=o[30]),s[1]&16384&&(a.bottomNoSmooth=o[45]),s[1]&8&&(a.isAds=o[34]===De.Ads),s[0]&64|s[1]&8388608&&(a.canRewindLive=o[6]&&o[54]!==0),s[0]&4096&&(a.logoClickable=o[12]),s[0]&8192&&(a.logoHidden=o[13]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16384&&(a.showNextPrevButtons=o[14]),s[0]&32768&&(a.nextButtonActive=o[15]),s[0]&65536&&(a.prevButtonActive=o[16]),s[0]&524288&&(a.isOneVideoPlaylist=o[19]),s[0]&1048576&&(a.supportLink=o[20]),s[1]&256&&(a.customFullscreenSupported=o[39]),s[0]&4194304&&(a.playNextVideo=o[22]),s[0]&8388608&&(a.playPrevVideo=o[23]),s[0]&16777216&&(a.repeatPlaylist=o[24]),s[0]&33554432&&(a.seekToInteractive=o[25]),s[0]&67108864&&(a.toggleGraph=o[26]),s[0]&134217728&&(a.playPrevChapter=o[27]),!i&&s[1]&64&&(i=!0,a.controlsElementRef=o[37],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function b1(t){let e,i;return e=new jc({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function _1(t){let e,i;return e=new zc({}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function w1(t){let e,i,n=t[6]&&t[78]&&!t[47].has(vt.TIMELINE),l,r,o,s,a,c,f,d,h,b,v,w,_,k,y,C;e=new Af({props:{hidden:t[34]!==De.Thumb||t[33]||t[89]&&t[5],thumbUrl:t[2],startVideo:t[28]}});let E=n&&r1(t),F=t[34]===De.WaitingLive&&a1(t),R=t[34]===De.WaitingRecord&&u1(),B=t[7]&&t[21]&&c1(t),se=t[41]&&t[17]&&t[18]&&f1(t),ae=t[49]&&d1(),O=t[50]&&m1(),$=t[35]&&p1(t),J=t[52].value!=="off"&&h1(t),Q=t[33]&&v1(t),I=t[21]&&g1(t);w=new Bc({props:{isLive:t[55],isHidden:!t[40],isPlaying:t[56],position:t[44],duration:t[43]}});let M=t[38]&&b1(),ee=t[57]&&_1();return{c(){W(e.$$.fragment),i=z(),E&&E.c(),l=z(),F&&F.c(),r=z(),R&&R.c(),o=z(),B&&B.c(),s=z(),se&&se.c(),a=z(),ae&&ae.c(),c=z(),O&&O.c(),f=z(),$&&$.c(),d=z(),J&&J.c(),h=z(),Q&&Q.c(),b=z(),I&&I.c(),v=z(),W(w.$$.fragment),_=z(),M&&M.c(),k=z(),ee&&ee.c(),y=bt()},m(L,ie){q(e,L,ie),P(L,i,ie),E&&E.m(L,ie),P(L,l,ie),F&&F.m(L,ie),P(L,r,ie),R&&R.m(L,ie),P(L,o,ie),B&&B.m(L,ie),P(L,s,ie),se&&se.m(L,ie),P(L,a,ie),ae&&ae.m(L,ie),P(L,c,ie),O&&O.m(L,ie),P(L,f,ie),$&&$.m(L,ie),P(L,d,ie),J&&J.m(L,ie),P(L,h,ie),Q&&Q.m(L,ie),P(L,b,ie),I&&I.m(L,ie),P(L,v,ie),q(w,L,ie),P(L,_,ie),M&&M.m(L,ie),P(L,k,ie),ee&&ee.m(L,ie),P(L,y,ie),C=!0},p(L,ie){const Le={};ie[0]&32|ie[1]&12&&(Le.hidden=L[34]!==De.Thumb||L[33]||L[89]&&L[5]),ie[0]&4&&(Le.thumbUrl=L[2]),ie[0]&268435456&&(Le.startVideo=L[28]),e.$set(Le),ie[0]&64|ie[1]&65536&&(n=L[6]&&L[78]&&!L[47].has(vt.TIMELINE)),n?E?(E.p(L,ie),ie[0]&64|ie[1]&65536&&m(E,1)):(E=r1(L),E.c(),m(E,1),E.m(l.parentNode,l)):E&&(fe(),g(E,1,1,()=>{E=null}),de()),L[34]===De.WaitingLive?F?(F.p(L,ie),ie[1]&8&&m(F,1)):(F=a1(L),F.c(),m(F,1),F.m(r.parentNode,r)):F&&(fe(),g(F,1,1,()=>{F=null}),de()),L[34]===De.WaitingRecord?R?ie[1]&8&&m(R,1):(R=u1(),R.c(),m(R,1),R.m(o.parentNode,o)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),L[7]&&L[21]?B?(B.p(L,ie),ie[0]&2097280&&m(B,1)):(B=c1(L),B.c(),m(B,1),B.m(s.parentNode,s)):B&&(fe(),g(B,1,1,()=>{B=null}),de()),L[41]&&L[17]&&L[18]?se?(se.p(L,ie),ie[0]&393216|ie[1]&1024&&m(se,1)):(se=f1(L),se.c(),m(se,1),se.m(a.parentNode,a)):se&&(fe(),g(se,1,1,()=>{se=null}),de()),L[49]?ae?ie[1]&262144&&m(ae,1):(ae=d1(),ae.c(),m(ae,1),ae.m(c.parentNode,c)):ae&&(fe(),g(ae,1,1,()=>{ae=null}),de()),L[50]?O?(O.p(L,ie),ie[1]&524288&&m(O,1)):(O=m1(),O.c(),m(O,1),O.m(f.parentNode,f)):O&&(fe(),g(O,1,1,()=>{O=null}),de()),L[35]?$?($.p(L,ie),ie[1]&16&&m($,1)):($=p1(L),$.c(),m($,1),$.m(d.parentNode,d)):$&&(fe(),g($,1,1,()=>{$=null}),de()),L[52].value!=="off"?J?(J.p(L,ie),ie[1]&2097152&&m(J,1)):(J=h1(L),J.c(),m(J,1),J.m(h.parentNode,h)):J&&(fe(),g(J,1,1,()=>{J=null}),de()),L[33]?Q?(Q.p(L,ie),ie[1]&4&&m(Q,1)):(Q=v1(L),Q.c(),m(Q,1),Q.m(b.parentNode,b)):Q&&(fe(),g(Q,1,1,()=>{Q=null}),de()),L[21]?I?(I.p(L,ie),ie[0]&2097152&&m(I,1)):(I=g1(L),I.c(),m(I,1),I.m(v.parentNode,v)):I&&(fe(),g(I,1,1,()=>{I=null}),de());const Pe={};ie[1]&16777216&&(Pe.isLive=L[55]),ie[1]&512&&(Pe.isHidden=!L[40]),ie[1]&33554432&&(Pe.isPlaying=L[56]),ie[1]&8192&&(Pe.position=L[44]),ie[1]&4096&&(Pe.duration=L[43]),w.$set(Pe),L[38]?M?ie[1]&128&&m(M,1):(M=b1(),M.c(),m(M,1),M.m(k.parentNode,k)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),L[57]?ee?ie[1]&67108864&&m(ee,1):(ee=_1(),ee.c(),m(ee,1),ee.m(y.parentNode,y)):ee&&(fe(),g(ee,1,1,()=>{ee=null}),de())},i(L){C||(m(e.$$.fragment,L),m(E),m(F),m(R),m(B),m(se),m(ae),m(O),m($),m(J),m(Q),m(I),m(w.$$.fragment,L),m(M),m(ee),C=!0)},o(L){g(e.$$.fragment,L),g(E),g(F),g(R),g(B),g(se),g(ae),g(O),g($),g(J),g(Q),g(I),g(w.$$.fragment,L),g(M),g(ee),C=!1},d(L){L&&(S(i),S(l),S(r),S(o),S(s),S(a),S(c),S(f),S(d),S(h),S(b),S(v),S(_),S(k),S(y)),j(e,L),E&&E.d(L),F&&F.d(L),R&&R.d(L),B&&B.d(L),se&&se.d(L),ae&&ae.d(L),O&&O.d(L),$&&$.d(L),J&&J.d(L),Q&&Q.d(L),I&&I.d(L),j(w,L),M&&M.d(L),ee&&ee.d(L)}}}function N_(t){let e,i,n,l,r,o=t[46],s,a,c,f,d,h=w1(t);return{c(){e=T("div"),i=T("div"),n=T("div"),r=z(),h.c(),s=z(),a=T("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",l=`transform: rotate(${t[32]}deg) scale(${t[42]})`),V(n,"fast-rotate",!t[1].isSmoothVideoRotate),u(i,"class","video-wrapper v-1jy89ut"),V(i,"hidden",t[34]!==De.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut"),u(e,"role","region"),u(e,"aria-label",Y("aria_label_video_player")),u(e,"tabindex","-1")},m(b,v){P(b,e,v),p(e,i),p(i,n),t[128](n),p(e,r),h.m(e,null),p(e,s),p(e,a),t[132](a),t[133](e),c=!0,f||(d=[pe(V_,"blur",t[98]),pe(i,"click",ii(t[99])),pe(e,"click",t[101],!0),pe(e,"focusin",t[102],!0)],f=!0)},p(b,v){(!c||v[1]&2050&&l!==(l=`transform: rotate(${b[32]}deg) scale(${b[42]})`))&&u(n,"style",l),(!c||v[0]&2)&&V(n,"fast-rotate",!b[1].isSmoothVideoRotate),(!c||v[1]&8)&&V(i,"hidden",b[34]!==De.Video),v[1]&32768&&ge(o,o=b[46])?(fe(),g(h,1,1,G),de(),h=w1(b),h.c(),m(h,1),h.m(e,s)):h.p(b,v)},i(b){c||(m(h),c=!0)},o(b){g(h),c=!1},d(b){b&&S(e),t[128](null),h.d(b),t[132](null),t[133](null),f=!1,rt(d)}}}function R_(t,e,i){var hn,Tn;let n,l,r,o,s,a,c,f,d,h,b,v,w,_,k,y,C,E,F,R,B,se,ae,O,$,J,Q,I,M,ee,L,ie,Le,Pe,Me,Ne,{store:be}=e,{uiConfig:Ce}=e,{thumbUrl:Z}=e,{videoLogoUrl:ce}=e,{videoContainer:he}=e,{interactiveContainer:Ke}=e,{live:_e}=e,{autoplay:Ee}=e,{canRewindLive:Re}=e,{showAds:me}=e,{adsSlotId:Te=void 0}=e,{adsParams:H=void 0}=e,{adsPreviewParam:ne=void 0}=e,{duration:Ae=void 0}=e,{logoClickable:ue}=e,{logoHidden:Se}=e,{showNextPrevButtons:Ze=!1}=e,{nextButtonActive:it=!1}=e,{prevButtonActive:ut=!1}=e,{endScreenVideoTitle:xe=void 0}=e,{endScreenVideoThumb:ot=void 0}=e,{isOneVideoPlaylist:st=!1}=e,{supportLink:wt}=e,{outerContainerRef:Oe=void 0}=e,{showMiniTimer:dt=!1}=e,{fullScreenTarget:ct=void 0}=e,{playerStarted:Et=!1}=e,{playNextVideo:re=te.noop}=e,{playPrevVideo:At=te.noop}=e,{repeatPlaylist:gt=te.noop}=e,{seekToInteractive:Vt}=e,{toggleGraph:ft}=e,{playPrevChapter:yt}=e,{firstStart:Xe}=e,{seekTime:He}=e;const It=be.getLogger().createComponentLog("Root component"),xi=be.interfaceLanguage$;D(t,xi,x=>i(46,$=x));const Pi=be.state.playbackState$;D(t,Pi,x=>i(125,se=x));const Oi=be.ads.playbackState;D(t,Oi,x=>i(126,ae=x));const ln=be.state.positionWithScrubbing$;D(t,ln,x=>i(44,o=x));const Yt=be.state.duration$;D(t,Yt,x=>i(43,r=x));const Ht=be.playerPhase;D(t,Ht,x=>i(34,E=x));const oi=be.ui.isFullscreen;D(t,oi,x=>i(139,a=x));const Ot=be.ui.controlsVisible;D(t,Ot,x=>i(30,l=x));const li=be.ui.interactiveHideMobileControls;D(t,li,x=>i(117,h=x));const Zi=be.ui.settingsMenuVisible;D(t,Zi,x=>i(116,n=x));const hi=be.ui.scrubbingInProgress;D(t,hi,x=>i(118,v=x));const Ti=be.ui.debugPanelVisible;D(t,Ti,x=>i(57,Ne=x));const ri=be.state.isLoaderVisible;D(t,ri,x=>i(127,O=x));const vi=be.state.isEnded$;D(t,vi,x=>i(120,k=x));const Di=be.state.chromecastConnected$;D(t,Di,x=>i(35,F=x));const Ei=be.state.chromecastDeviceName$;D(t,Ei,x=>i(51,ee=x));const gi=be.ads.postrollPassed;D(t,gi,x=>i(121,y=x));const si=be.ui.mobileUnmuteButtonExpanded,zi=be.ui.mobileUnmuteButtonVisible,Lt=be.state.isLive$;D(t,Lt,x=>i(55,Pe=x));const Mt=be.state.isPlaying$;D(t,Mt,x=>i(56,Me=x));const bi=be.state.isActiveLive$;D(t,bi,x=>i(48,Q=x));const Ai=be.state.isRewindableLive$,Dt=be.state.crashed$;D(t,Dt,x=>i(33,_=x));const mt=be.webApi.pictureInPictureApi,ai=be.state.videoSize$;D(t,ai,x=>i(140,f=x));const lt=be.state.currentSubtitle$;D(t,lt,x=>i(52,L=x));const ui=be.state.currentSubtitleCaptions$;D(t,ui,x=>i(53,ie=x));const Ii=be.state.duration$;D(t,Ii,x=>i(54,Le=x));const Li=be.state.graphIsOpened$;D(t,Li,x=>i(124,B=x));const Wt=be.ui.playerSize;D(t,Wt,x=>i(31,c=x));const Fi=be.ui.is3DVideo;D(t,Fi,x=>i(49,I=x));const Hi=be.ui.icon3DVideoVisible;D(t,Hi,x=>i(50,M=x));const Ut=be.ui.rotateAlpha;D(t,Ut,x=>i(32,b=x));const Mi=be.state.isInteractive,Vi=be.state.isInteractiveTime$;D(t,Vi,x=>i(119,w=x));const Ui=be.state.isInteractiveExpectation$;D(t,Ui,x=>i(123,R=x));const Gi=be.state.hasInteractiveBranches,qt=be.ui.controls.disabledControls$;D(t,qt,x=>i(47,J=x));const Bt=be.ui.touched;D(t,Bt,x=>i(122,C=x));const Qt=be.ui.clientInfo$;D(t,Qt,x=>i(138,s=x));const Bi=be.ui.overlayContainer$,fn=be.actions.internal.closeSettingsMenu,ci=(hn=be.callbacks)==null?void 0:hn.onDisabledPlayPrevChapterClick,$i=(Tn=be.callbacks)==null?void 0:Tn.onDisabledSeekToInteractiveClick;let fi,Zt,qi,_i,ji,Xt,wi;const di=Ve(!1);D(t,di,x=>i(45,d=x));let Ki,mi=!1,Jt,yi=!1,je,Wi=!0,xt,ki,Be=!1,dn;mt==null||mt.setContext(E1());const rn=x=>{clearTimeout(_i),x&&(zi.set(!0),si.set(!0),_i=window.setTimeout(()=>{si.set(!1)},Ce.controls.collapseMobileUnmute),Mi||Nt(Ce.controls.hideTimeoutMobile))};be.setUiCallbacks({onStarted:rn});const Yi=()=>{window.clearTimeout(qi),i(111,mi=!1),h&&li.set(!1)},Nt=x=>{Yi(),i(111,mi=!0),qi=window.setTimeout(()=>i(111,mi=!1),x);const _t=x-100;Ki=window.setTimeout(()=>{d&&di.set(!1)},_t>0?_t:x)},sn=Fi.subscribe(x=>{Hi.set(x),x&&(window.clearTimeout(ji),ji=window.setTimeout(()=>Hi.set(!1),Ce.controls.hide360IconTimeout))}),en=()=>Ji(this,null,function*(){var _t,vn,Xi,gn;const x=Do();if(x){Nt(Ce.controls.hideTimeoutFullscreen);try{yield mt==null?void 0:mt.remove()}catch(un){It({message:String(un)})}try{const un=f!=null&&f.width&&(f!=null&&f.height)?f:c;yield I4(un)}catch(un){It({message:String(un)})}}oi.set(x),be.getAdmanWrapper().setFullscreen(x),a?(vn=(_t=be.callbacks)==null?void 0:_t.onFullscreenEnter)==null||vn.call(_t):(gn=(Xi=be.callbacks)==null?void 0:Xi.onFullscreenExit)==null||gn.call(Xi)}),Qi=x=>{const _t=x;Wt.set({width:_t.target.width,height:_t.target.height})};wn(()=>{var _t;return Ic(en),hl(mt)&&(mt==null||mt.assignPlayerContainer(fi),mt==null||mt.registryExternalEventHandlers({resize:Qi})),i(39,Wi=!T_(s)),Ke&&((_t=he.parentElement)==null||_t.insertBefore(Ke,he.nextSibling)),()=>{window.clearTimeout(qi),window.clearTimeout(Ki),window.clearTimeout(_i),window.clearTimeout(ji),sn(),mt==null||mt.dispose(),Lc(en)}});const tn=x=>{let _t=o+(x==="forward"?1:-1)*Ce.controls.seekStepMobile/1e3;_t<0?_t=0:_t>r&&(_t=r-1),i(113,yi=!0),He(_t)},le=()=>Ji(this,null,function*(){if(Do())yield Ac(document),It({message:"exit fullscreen"});else{It({message:"request fullscreen"});const x=te.isIOS()||!Oe?fi:Oe,_t=x.getRootNode(),vn=_t instanceof ShadowRoot?_t.host:_t,Xi=ct instanceof HTMLElement&&ct.contains(vn),gn=Ce.allowChangingFullscreenTarget&&ct&&Xi?ct:x;yield Ec(gn)}}),Je=()=>{fn()},pt=()=>{if(n){Je();return}if(!Et){Xe(),Nt(Ce.controls.hideTimeoutCursor);return}i(113,yi=!1),l?Yi():Nt(Ce.controls.hideTimeoutMobile)},Ci=()=>{if(n){Je();return}},$t=()=>{Bt.set(!0)},mn=()=>{Mi||(di.set(!0),Nt(Ce.controls.hideTimeoutCursor))},jt=x=>{ci&&(ci(x),Nt(Ce.controls.hideTimeoutMobile))},kn=x=>{$i&&($i(x),Nt(Ce.controls.hideTimeoutMobile))};function Cn(x){ke[x?"unshift":"push"](()=>{he=x,i(0,he)})}const an=()=>tn("backward"),Sn=()=>tn("forward");function pn(x){Zt=x,i(37,Zt)}function nn(x){ke[x?"unshift":"push"](()=>{wi=x,i(29,wi)})}function Pn(x){ke[x?"unshift":"push"](()=>{fi=x,i(36,fi)})}return t.$$set=x=>{"store"in x&&i(105,be=x.store),"uiConfig"in x&&i(1,Ce=x.uiConfig),"thumbUrl"in x&&i(2,Z=x.thumbUrl),"videoLogoUrl"in x&&i(3,ce=x.videoLogoUrl),"videoContainer"in x&&i(0,he=x.videoContainer),"interactiveContainer"in x&&i(106,Ke=x.interactiveContainer),"live"in x&&i(4,_e=x.live),"autoplay"in x&&i(5,Ee=x.autoplay),"canRewindLive"in x&&i(6,Re=x.canRewindLive),"showAds"in x&&i(7,me=x.showAds),"adsSlotId"in x&&i(8,Te=x.adsSlotId),"adsParams"in x&&i(9,H=x.adsParams),"adsPreviewParam"in x&&i(10,ne=x.adsPreviewParam),"duration"in x&&i(11,Ae=x.duration),"logoClickable"in x&&i(12,ue=x.logoClickable),"logoHidden"in x&&i(13,Se=x.logoHidden),"showNextPrevButtons"in x&&i(14,Ze=x.showNextPrevButtons),"nextButtonActive"in x&&i(15,it=x.nextButtonActive),"prevButtonActive"in x&&i(16,ut=x.prevButtonActive),"endScreenVideoTitle"in x&&i(17,xe=x.endScreenVideoTitle),"endScreenVideoThumb"in x&&i(18,ot=x.endScreenVideoThumb),"isOneVideoPlaylist"in x&&i(19,st=x.isOneVideoPlaylist),"supportLink"in x&&i(20,wt=x.supportLink),"outerContainerRef"in x&&i(107,Oe=x.outerContainerRef),"showMiniTimer"in x&&i(108,dt=x.showMiniTimer),"fullScreenTarget"in x&&i(109,ct=x.fullScreenTarget),"playerStarted"in x&&i(21,Et=x.playerStarted),"playNextVideo"in x&&i(22,re=x.playNextVideo),"playPrevVideo"in x&&i(23,At=x.playPrevVideo),"repeatPlaylist"in x&&i(24,gt=x.repeatPlaylist),"seekToInteractive"in x&&i(25,Vt=x.seekToInteractive),"toggleGraph"in x&&i(26,ft=x.toggleGraph),"playPrevChapter"in x&&i(27,yt=x.playPrevChapter),"firstStart"in x&&i(28,Xe=x.firstStart),"seekTime"in x&&i(110,He=x.seekTime)},t.$$.update=()=>{t.$$.dirty[1]&12|t.$$.dirty[4]&12&&i(38,Xt=(E===De.Video&&O||E===De.Ads&&ae===ti.INACTIVE)&&!_),t.$$.dirty[0]&536870912&&Bi.set(wi),t.$$.dirty[4]&2&&i(112,Jt=se!==et.PlaybackState.PLAYING),t.$$.dirty[3]&1225523200|t.$$.dirty[4]&1&&i(114,je=B||h||!mi&&(k&&!!Gi||Jt&&R)),t.$$.dirty[1]&28|t.$$.dirty[3]&45875200&&Ot.set((Jt||n||v||F||mi&&!yi)&&!je&&E===De.Video&&!_),t.$$.dirty[0]&1073741826|t.$$.dirty[1]&12|t.$$.dirty[3]&536903680&&i(40,xt=Ce.features.thumbTimer&&dt&&E===De.Video&&!l&&!_&&!Mi&&(Ce.hideThumbTimerAfterTouch&&!C||!Ce.hideThumbTimerAfterTouch)),t.$$.dirty[0]&128|t.$$.dirty[1]&4|t.$$.dirty[3]&402653184&&i(41,ki=(me&&y||!me)&&k&&!_),t.$$.dirty[0]&2|t.$$.dirty[3]&104857600&&(!v&&Be&&!w&&Nt(Ce.controls.hideTimeoutMobile),i(115,Be=v)),t.$$.dirty[0]&1|t.$$.dirty[1]&3&&i(42,dn=he&&b%180?c.height/c.width:1)},[he,Ce,Z,ce,_e,Ee,Re,me,Te,H,ne,Ae,ue,Se,Ze,it,ut,xe,ot,st,wt,Et,re,At,gt,Vt,ft,yt,Xe,wi,l,c,b,_,E,F,fi,Zt,Xt,Wi,xt,ki,dn,r,o,d,$,J,Q,I,M,ee,L,ie,Le,Pe,Me,Ne,xi,Pi,Oi,ln,Yt,Ht,oi,Ot,li,Zi,hi,Ti,ri,vi,Di,Ei,gi,Lt,Mt,bi,Ai,Dt,ai,lt,ui,Ii,Li,Wt,Fi,Hi,Ut,Mi,Vi,Ui,qt,Bt,Qt,di,tn,le,Je,pt,Ci,$t,mn,jt,kn,be,Ke,Oe,dt,ct,He,mi,Jt,yi,je,Be,n,h,v,w,k,y,C,R,B,se,ae,O,Cn,an,Sn,pn,nn,Pn]}class O_ extends ye{constructor(e){super(),we(this,e,R_,N_,ge,{store:105,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:106,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:107,showMiniTimer:108,fullScreenTarget:109,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:110},B_,[-1,-1,-1,-1,-1,-1])}}function D_(t){We(t,"v-cghoty",`.root.v-cghoty{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
|
|
33
33
|
180deg,
|
|
34
34
|
rgba(0, 0, 0, 0.00) 0%,
|
|
35
35
|
rgba(0, 0, 0, 0.01) 6.67%,
|
|
@@ -47,5 +47,5 @@
|
|
|
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:not(.interactiveContainer svg){pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}.overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:10000}.out-of-view{position:absolute !important;left:-1000vh !important}`)}function k_(i){let e,t,n;function o(l){i[56](l)}let r={store:i[0],uiConfig:i[35],title:i[1],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36]};return i[33]!==void 0&&(r.videoContainer=i[33]),e=new u_({props:r}),ye.push(()=>Ze(e,"videoContainer",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[0]&1&&(a.store=l[0]),s[0]&2&&(a.title=l[1]),s[0]&4&&(a.thumbUrl=l[2]),s[0]&8&&(a.videoLogoUrl=l[3]),s[0]&16&&(a.interactiveContainer=l[4]),s[0]&32&&(a.live=l[5]),s[0]&64&&(a.autoplay=l[6]),s[0]&128&&(a.canRewindLive=l[7]),s[0]&256&&(a.showAds=l[8]),s[0]&512&&(a.adsSlotId=l[9]),s[0]&1024&&(a.adsParams=l[10]),s[0]&2048&&(a.adsPreviewParam=l[11]),s[0]&4096&&(a.duration=l[12]),s[0]&8192&&(a.logoClickable=l[13]),s[0]&16384&&(a.logoHidden=l[14]),s[0]&65536&&(a.showNextPrevButtons=l[16]),s[0]&131072&&(a.nextButtonActive=l[17]),s[0]&262144&&(a.prevButtonActive=l[18]),s[0]&524288&&(a.endScreenVideoTitle=l[19]),s[0]&1048576&&(a.endScreenVideoThumb=l[20]),s[0]&2097152&&(a.isOneVideoPlaylist=l[21]),s[0]&4194304&&(a.supportLink=l[22]),s[0]&8388608&&(a.outerContainerRef=l[23]),s[0]&16777216&&(a.fullScreenTarget=l[24]),s[0]&33554432&&(a.showMiniTimer=l[25]),s[1]&8&&(a.playerStarted=l[34]),s[0]&67108864&&(a.playNextVideo=l[26]),s[0]&134217728&&(a.playPrevVideo=l[27]),s[0]&268435456&&(a.repeatPlaylist=l[28]),s[0]&536870912&&(a.seekToInteractive=l[29]),s[0]&1073741824&&(a.toggleGraph=l[30]),s[1]&1&&(a.playPrevChapter=l[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=l[33],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function S_(i){let e,t,n;function o(l){i[55](l)}let r={store:i[0],uiConfig:i[35],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36],seekTime:i[32]};return i[33]!==void 0&&(r.videoContainer=i[33]),e=new w_({props:r}),ye.push(()=>Ze(e,"videoContainer",o)),{c(){W(e.$$.fragment)},m(l,s){U(e,l,s),n=!0},p(l,s){const a={};s[0]&1&&(a.store=l[0]),s[0]&4&&(a.thumbUrl=l[2]),s[0]&8&&(a.videoLogoUrl=l[3]),s[0]&16&&(a.interactiveContainer=l[4]),s[0]&32&&(a.live=l[5]),s[0]&64&&(a.autoplay=l[6]),s[0]&128&&(a.canRewindLive=l[7]),s[0]&256&&(a.showAds=l[8]),s[0]&512&&(a.adsSlotId=l[9]),s[0]&1024&&(a.adsParams=l[10]),s[0]&2048&&(a.adsPreviewParam=l[11]),s[0]&4096&&(a.duration=l[12]),s[0]&8192&&(a.logoClickable=l[13]),s[0]&16384&&(a.logoHidden=l[14]),s[0]&65536&&(a.showNextPrevButtons=l[16]),s[0]&131072&&(a.nextButtonActive=l[17]),s[0]&262144&&(a.prevButtonActive=l[18]),s[0]&524288&&(a.endScreenVideoTitle=l[19]),s[0]&1048576&&(a.endScreenVideoThumb=l[20]),s[0]&2097152&&(a.isOneVideoPlaylist=l[21]),s[0]&4194304&&(a.supportLink=l[22]),s[0]&8388608&&(a.outerContainerRef=l[23]),s[0]&16777216&&(a.fullScreenTarget=l[24]),s[0]&33554432&&(a.showMiniTimer=l[25]),s[1]&8&&(a.playerStarted=l[34]),s[0]&67108864&&(a.playNextVideo=l[26]),s[0]&134217728&&(a.playPrevVideo=l[27]),s[0]&268435456&&(a.repeatPlaylist=l[28]),s[0]&536870912&&(a.seekToInteractive=l[29]),s[0]&1073741824&&(a.toggleGraph=l[30]),s[1]&1&&(a.playPrevChapter=l[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=l[33],We(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){j(e,l)}}}function C_(i){let e,t,n,o;const r=[S_,k_],l=[];function s(a,c){return a[15]?0:1}return t=s(i),n=l[t]=r[t](i),{c(){e=A("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){E(a,e,c),l[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?l[t].p(a,c):(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),n=l[t],n?n.p(a,c):(n=l[t]=r[t](a),n.c()),d(n,1),n.m(e,null))},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&P(e),l[t].d()}}}function P_(i,e,t){let{sources:n}=e,{store:o}=e,{microStoresRoot:r}=e,{uiConfig:l}=e,{title:s}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:m}=e,{live:h}=e,{preload:b}=e,{autoplay:v}=e,{volume:w=void 0}=e,{muted:_=void 0}=e,{fromTime:S}=e,{canRewindLive:y}=e,{showAds:k}=e,{adsSlotId:V=void 0}=e,{adsParams:G=void 0}=e,{adsPreviewParam:I=void 0}=e,{duration:Q=void 0}=e,{logoClickable:se}=e,{logoHidden:te}=e,{isMobile:N}=e,{showNextPrevButtons:$=!1}=e,{nextButtonActive:C=!1}=e,{prevButtonActive:D=!1}=e,{endScreenVideoTitle:ce=void 0}=e,{endScreenVideoThumb:T=void 0}=e,{isOneVideoPlaylist:re=!1}=e,{supportLink:O}=e,{outerContainerRef:le=void 0}=e,{fullScreenTarget:me=void 0}=e,{failoverHosts:ze=void 0}=e,{showMiniTimer:He=!1}=e,{playNextVideo:Ee=oe.noop}=e,{playPrevVideo:de=oe.noop}=e,{repeatPlaylist:ke=oe.noop}=e,{seekToInteractive:X=oe.noop}=e,{toggleGraph:F=oe.noop}=e,{playPrevChapter:Te=oe.noop}=e;const{subscribers:ae,stores:Pe}=r;k0(l);const Ve=gn(),Re=o.ui.debugPanelVisible,Se=o.ui.playerSize;let ue,J=null,H=!1;o.getAdmanWrapper().init({switchFromAdsToVideo:o.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:o.actions.internal.switchFromVideoToAds,setMuted:o.actions.external.setMuted},o.ads,{isMobile:o.ui.isMobile,mobileUnmuteButtonVisible:o.ui.mobileUnmuteButtonVisible,vsid:o.vsid}),V0(o,Pe);const Ae=(fe=!1)=>{t(34,H=!0),fe?o.actions.external.firstStart(k):o.actions.internal.firstStart(k)};function tt(fe){var Xe;const kt=n||fe;kt&&o.initVideo({container:ue,sources:kt,failoverHosts:ze,subtitles:m});const st=oe.safeStorage.get(lr)==="true";Re.set(st),S>0&&o.actions.external.seekTime(S);const St=N?Ve.volumeDefault:(Xe=w!=null?w:F1())!=null?Xe:Ve.volumeDefault,pt=_!=null?_:D0();if(o.actions.external.setVolume(St),o.actions.external.setMuted(pt),o.getAdmanWrapper().setInitialVolume(pt?0:St),Ve.features.trafficSaving){const Fe=F0();Fe&&o.actions.internal.setTrafficSavingEnabled(Fe)}const At=O0(o.videoId);At&&o.actions.internal.setQuality(At),o.ui.isAutoplay.set(v),v?Ae():b&&Ve.features.preload&&o.actions.internal.preload()}const ot=fe=>{if(window.ResizeObserver){let kt,st;J=new ResizeObserver(oe.throttleFn(St=>{const pt=St[0];if(pt){if(pt.contentBoxSize){const At=Array.isArray(pt.contentBoxSize)?pt.contentBoxSize[0]:pt.contentBoxSize;kt=At.inlineSize,st=At.blockSize}else pt.contentRect&&(kt=pt.contentRect.width,st=pt.contentRect.height);Se.set({width:kt,height:st})}},E1)),J.observe(fe)}Se.set({width:fe.clientWidth,height:fe.clientHeight})};vn(()=>{ot(ue);const fe=ae.map(st=>st.init(o,Pe));if((h==null?void 0:h.status)==="upcoming"||(h==null?void 0:h.status)==="waiting"){o.actions.internal.setWaitingLive(!0);return}if(((h==null?void 0:h.status)==="finished"||(h==null?void 0:h.status)==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return tt(),()=>{J==null||J.disconnect(),fe.forEach(st=>st.unsubscribe()),o.destroy()}});function Ue(){H?o.actions.external.play():Ae(!0)}function Me(){o.actions.external.pause()}function Qe(fe){N||o.actions.external.setMuted(fe)}function at(fe){N||fe>=0&&fe<=1&&o.actions.external.setVolume(fe)}function _t(fe){o.actions.internal.seekTime(fe,wt.SeekAction.UNKNOWN)}function it(fe){o.actions.external.seekEpisodeStartTime(fe)}function De(){o.actions.external.returnFocusToEpisodes()}function yt(fe){o.actions.external.setPlaybackRate(fe)}function Lt(fe){o.actions.external.setAutoQualityLimits(fe)}function It(fe){ue=fe,t(33,ue)}function ui(fe){ue=fe,t(33,ue)}return i.$$set=fe=>{"sources"in fe&&t(37,n=fe.sources),"store"in fe&&t(0,o=fe.store),"microStoresRoot"in fe&&t(38,r=fe.microStoresRoot),"uiConfig"in fe&&t(39,l=fe.uiConfig),"title"in fe&&t(1,s=fe.title),"thumbUrl"in fe&&t(2,a=fe.thumbUrl),"videoLogoUrl"in fe&&t(3,c=fe.videoLogoUrl),"interactiveContainer"in fe&&t(4,f=fe.interactiveContainer),"subtitles"in fe&&t(40,m=fe.subtitles),"live"in fe&&t(5,h=fe.live),"preload"in fe&&t(41,b=fe.preload),"autoplay"in fe&&t(6,v=fe.autoplay),"volume"in fe&&t(42,w=fe.volume),"muted"in fe&&t(43,_=fe.muted),"fromTime"in fe&&t(44,S=fe.fromTime),"canRewindLive"in fe&&t(7,y=fe.canRewindLive),"showAds"in fe&&t(8,k=fe.showAds),"adsSlotId"in fe&&t(9,V=fe.adsSlotId),"adsParams"in fe&&t(10,G=fe.adsParams),"adsPreviewParam"in fe&&t(11,I=fe.adsPreviewParam),"duration"in fe&&t(12,Q=fe.duration),"logoClickable"in fe&&t(13,se=fe.logoClickable),"logoHidden"in fe&&t(14,te=fe.logoHidden),"isMobile"in fe&&t(15,N=fe.isMobile),"showNextPrevButtons"in fe&&t(16,$=fe.showNextPrevButtons),"nextButtonActive"in fe&&t(17,C=fe.nextButtonActive),"prevButtonActive"in fe&&t(18,D=fe.prevButtonActive),"endScreenVideoTitle"in fe&&t(19,ce=fe.endScreenVideoTitle),"endScreenVideoThumb"in fe&&t(20,T=fe.endScreenVideoThumb),"isOneVideoPlaylist"in fe&&t(21,re=fe.isOneVideoPlaylist),"supportLink"in fe&&t(22,O=fe.supportLink),"outerContainerRef"in fe&&t(23,le=fe.outerContainerRef),"fullScreenTarget"in fe&&t(24,me=fe.fullScreenTarget),"failoverHosts"in fe&&t(45,ze=fe.failoverHosts),"showMiniTimer"in fe&&t(25,He=fe.showMiniTimer),"playNextVideo"in fe&&t(26,Ee=fe.playNextVideo),"playPrevVideo"in fe&&t(27,de=fe.playPrevVideo),"repeatPlaylist"in fe&&t(28,ke=fe.repeatPlaylist),"seekToInteractive"in fe&&t(29,X=fe.seekToInteractive),"toggleGraph"in fe&&t(30,F=fe.toggleGraph),"playPrevChapter"in fe&&t(31,Te=fe.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(N)},[o,s,a,c,f,h,v,y,k,V,G,I,Q,se,te,N,$,C,D,ce,T,re,O,le,me,He,Ee,de,ke,X,F,Te,_t,ue,H,Ve,Ae,n,r,l,m,b,w,_,S,ze,tt,Ue,Me,Qe,at,it,De,yt,Lt,It,ui]}class T_ extends we{constructor(e){super(),_e(this,e,P_,C_,be,{sources:37,store:0,microStoresRoot:38,uiConfig:39,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:40,live:5,preload:41,autoplay:6,volume:42,muted:43,fromTime:44,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:45,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:46,play:47,pause:48,setMuted:49,setVolume:50,seekTime:32,seekEpisodeStartTime:51,returnFocusToEpisodes:52,setPlaybackRate:53,setAutoQualityLimits:54},y_,[-1,-1,-1])}get initVideo(){return this.$$.ctx[46]}get play(){return this.$$.ctx[47]}get pause(){return this.$$.ctx[48]}get setMuted(){return this.$$.ctx[49]}get setVolume(){return this.$$.ctx[50]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[51]}get returnFocusToEpisodes(){return this.$$.ctx[52]}get setPlaybackRate(){return this.$$.ctx[53]}get setAutoQualityLimits(){return this.$$.ctx[54]}}function E_(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill",i[0]),u(t,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,o){E(n,e,o),p(e,t)},p(n,[o]){o&1&&u(t,"fill",n[0])},i:K,o:K,d(n){n&&P(e)}}}function A_(i,e,t){let{isWhite:n=!1}=e,o;return i.$$set=r=>{"isWhite"in r&&t(1,n=r.isWhite)},i.$$.update=()=>{i.$$.dirty&2&&t(0,o=n?"#fff":"#909499")},[o,n]}class L_ extends we{constructor(e){super(),_e(this,e,A_,E_,be,{isWhite:1})}}function I_(i){je(i,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function v1(i){let e,t;return{c(){e=A("div"),t=Oe(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o&1&&$e(t,n[0])},d(n){n&&P(e)}}}function g1(i){let e,t;return e=new L_({props:{isWhite:!!i[1]}}),{c(){W(e.$$.fragment)},m(n,o){U(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isWhite=!!n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function V_(i){let e,t,n,o,r=i[0]&&v1(i),l=(!i[0]||!i[1])&&g1(i);return{c(){e=A("div"),r&&r.c(),t=R(),l&&l.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(s,a){E(s,e,a),r&&r.m(e,null),p(e,t),l&&l.m(e,null),o=!0},p(s,[a]){s[0]?r?r.p(s,a):(r=v1(s),r.c(),r.m(e,t)):r&&(r.d(1),r=null),!s[0]||!s[1]?l?(l.p(s,a),a&3&&d(l,1)):(l=g1(s),l.c(),d(l,1),l.m(e,null)):l&&(pe(),g(l,1,1,()=>{l=null}),he()),(!o||a&2&&n!==(n=s[1]?`background-image: url('${s[1]}')`:""))&&u(e,"style",n)},i(s){o||(d(l),o=!0)},o(s){g(l),o=!1},d(s){s&&P(e),r&&r.d(),l&&l.d()}}}function M_(i,e,t){let{title:n}=e,{thumbUrl:o}=e;return i.$$set=r=>{"title"in r&&t(0,n=r.title),"thumbUrl"in r&&t(1,o=r.thumbUrl)},[n,o]}class B_ extends we{constructor(e){super(),_e(this,e,M_,V_,be,{title:0,thumbUrl:1},I_)}}class N_{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 R_(i){let e,t,n,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(o,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(t,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(r,l){E(r,e,l),p(e,t),p(t,n),p(t,o)},p:K,i:K,o:K,d(r){r&&P(e)}}}class O_ extends we{constructor(e){super(),_e(this,e,null,R_,be,{})}}function D_(i){je(i,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function z_(i){let e,t,n,o,r,l,s;return n=new O_({}),{c(){e=A("div"),t=A("div"),W(n.$$.fragment),o=R(),r=A("span"),l=Oe(i[0]),u(t,"class","dummy-image v-1pbsod4"),M(t,"desktop",!i[1]),u(r,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),M(e,"is-pip-api",i[2])},m(a,c){E(a,e,c),p(e,t),U(n,t,null),p(e,o),p(e,r),p(r,l),s=!0},p(a,[c]){(!s||c&2)&&M(t,"desktop",!a[1]),(!s||c&1)&&$e(l,a[0])},i(a){s||(d(n.$$.fragment,a),s=!0)},o(a){g(n.$$.fragment,a),s=!1},d(a){a&&P(e),j(n)}}}function F_(i,e,t){let n,o;const r=Et(),l=!!r.webApi.pictureInPictureApi,s=r.interfaceLanguage$;z(i,s,f=>t(5,n=f));const a=r.ui.isMobile;z(i,a,f=>t(1,o=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&Y("pip_dummy_title"))},[c,o,l,s,a,n]}class H_ extends we{constructor(e){super(),_e(this,e,F_,z_,be,{},D_)}}const U_=460,j_=280;class Ef{constructor(){this.info={isActive$:new oe.ValueSubject(!1),type:In.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 ai(this,void 0,void 0,function*(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=yield documentPictureInPicture.requestWindow({width:U_,height:j_,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
|
|
51
|
-
`),o=document.createElement("style");o.textContent=n;const r=this.createStretchedContainer(),l=r.attachShadow({mode:"open"});l.append(o),l.append(this.playerDomElement),this.playerDummyElement=new H_({target:this.playerParentShadowRoot,context:this.svelteContext}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(r),this.info.isActive$.next(!0),(t=this.pipWindow)===null||t===void 0||t.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})})}remove(){return ai(this,void 0,void 0,function*(){return new Promise(e=>{var t;(t=documentPictureInPicture.window)===null||t===void 0||t.close(),e()})})}dispose(){return ai(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 q_(i){return i instanceof Ef}class W_{static getLatestSupportedVersion(){const e=new wr,t=new Ef;if(t.isSupported())return t;if(e.isSupported())return e}}function b1(i,e){var t,n;const o=new Set([...Object.keys(i),...Object.keys(e)]),r={};for(const l of o)r[l]=(n=(t=e[l])!==null&&t!==void 0?t:i[l])!==null&&n!==void 0?n:void 0;return r}const Z_="Inner error. Unexpectedly root annotation container null reference exception",K_="Annotation with such name already exists",G_="Annotation with such name does not exist";class tr extends Error{constructor(e){super(e),this.name="AnnotationError"}}const Y_="1",Q_=100;class X_{constructor(e){this.annotations=new Map,this.subscriptions=new oe.Subscription,this.rootAnnotationsContainer=e;const t=oe.throttleFn(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},Q_);this.subscriptions.add(oe.observeElementSize(this.rootAnnotationsContainer).subscribe(({width:n,height:o})=>{this.playerSize={width:n,height:o},t()})),this.mutationObserver=new MutationObserver(t),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,t){var n;if(!this.rootAnnotationsContainer)throw new tr(Z_);if(this.annotations.has(e))throw new tr(K_);t.style.zIndex=(n=t.style.zIndex)!==null&&n!==void 0?n:Y_,t.style.position="absolute",this.rootAnnotationsContainer.append(t),this.annotations.set(e,t)}get(e){const t=this.annotations.get(e);if(!t)throw new tr(G_);return t}remove(e){const t=this.get(e);this.annotations.delete(e)&&t.remove()}clear(){for(const e in this.annotations.keys())this.remove(e)}destroy(){this.annotations.clear(),this.subscriptions.unsubscribe(),this.mutationObserver.disconnect(),this.rootAnnotationsContainer=null}isElementExceedsBoundaries(e,t,n){const o=e.offsetTop,r=e.offsetLeft,l=e.offsetWidth,s=e.offsetHeight;return o<0||r<0||r+l>t||o+s>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class Vr{init(e,t){return oe.assertNonNullable(e),oe.assertNonNullable(t),this.subscription=new oe.Subscription,this.subscription}}class J_ extends Vr{constructor(){super(...arguments),this.stateName="fakeIsPlaying$",this.state$=Object.assign(Object.assign({},Le(null)),{toggle:()=>this.state$.update(e=>!e)})}init(e,t){const n=super.init(e,t),{isInteractiveExpectation$:o}=e.state;return n.add(o.subscribe(r=>{this.state$.set(r?!0:null)})),n}}class x_ extends Vr{constructor(){super(...arguments),this.stateName="interactiveControlsOpacity$",this.state$=Object.assign(Object.assign({},Le(null)),{toggle:()=>this.state$.update(e=>!e)})}init(e,t){const n=super.init(e,t),{fakeIsPlaying$:o}=t,{isInteractiveExpectation$:r,isPlaying$:l}=e.state,{controlsVisible:s,isMobile:a}=e.ui,c=Je(a),f=()=>c&&Je(s);return n.add(s.subscribe(m=>{if(!c)return;const h=Je(o);Je(l)?this.state$.set(m):h!==null&&this.state$.set(!h||m)})),n.add(l.subscribe(m=>{this.state$.set(!m||f())})),n.add(o.subscribe(m=>{if(m===null)return;const h=Je(r);if(f()){this.state$.set(!0);return}h&&this.state$.set(!m)})),n}}class $_ extends Vr{constructor(){super(...arguments),this.stateName="seekToInteractiveDisabledTooltip$",this.state$=Le("tooltip_chapter_without_interactive")}init(e,t){const n=super.init(e,t);return n.add(e.state.interactiveEpisodes$.subscribe(o=>{o.length&&(o.every(r=>r.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),n}}const e6=()=>[J_,x_,$_].reduce(({subscribers:i,stores:e},t)=>{const n=new t;return{subscribers:[...i,n],stores:Object.assign(Object.assign({},e),{[n.stateName]:n.state$})}},{subscribers:[],stores:{}}),t6={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 i6 extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.videoConfig=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this.annotationsApi=void 0,this.prevIsid=void 0,this.isInited=!1,this.logger=new 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;this.initPlayerRootContainers();const n=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,o=(t=this.getAttribute("stub-thumb-url"))!==null&&t!==void 0?t:void 0;this.svelteStubComponent=new B_({target:this.playerContainer,props:{title:n,thumbUrl:o}})}disconnectedCallback(){var e,t,n,o,r;(e=this.annotationsApi)===null||e===void 0||e.destroy(),(t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),(n=this.svelteStubComponent)===null||n===void 0||n.$destroy(),this.subscription.unsubscribe(),(o=this.unsubscribePlayerPhaseSubscription)===null||o===void 0||o.call(this),(r=this.interactiveController)===null||r===void 0||r.destroy()}initPlayerRootContainers(){this.rootContainer=document.createElement("div"),this.rootContainer.style.position="relative",this.rootContainer.className="root-container",this.rootContainer.style.width="100%",this.rootContainer.style.height="100%";const e=document.createElement("div");e.style.position="absolute",e.className="shadow-root-container",e.style.width="100%",e.style.height="100%",this._shadowRoot=e.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.rootContainer.append(e),this.append(this.rootContainer)}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){var t;const n=(t=this.store)===null||t===void 0?void 0:t.ui.controls.disabledControls$;return(n==null?void 0:n.includes(e))||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,t={},n){var o,r,l,s,a,c,f,m,h,b,v,w;if(!this.videoConfig)return;const{albumId:_,statPlace:S,statUserSalt:y,statAuthToken:k,statTrackCode:V,refreshStatAuthToken:G,preload:I,autoplay:Q,volume:se,muted:te,fromTime:N,canRewindLive:$,supportLink:C,showAds:D,adsSlotId:ce,adsParams:T={},adsPreviewParam:re,interfaceLanguage:O,logoClickable:le,logoHidden:me,isMobile:ze,isAudioDisabled:He,isLiveCatchUpMode:Ee,fullScreenTarget:de,failoverHosts:ke,canDownload:X,callbacks:F,interactiveData:Te,showThumbTimer:ae,additionalButtons:Pe=[],repeat:Ve}=b1(this.videoConfig,t),{sources:Re,title:Se,thumbUrl:ue,videoLogoUrl:J,unitedVideoId:H,isClip:Ae=!1,duration:tt,adsParams:ot={},videoEpisodes:Ue,previewThumbsData:Me,subtitles:Qe,live:at}=e,_t=Object.assign(Object.assign({},T),ot),it=this.getNextVideoInfo(),De={sources:Re,title:Se,thumbUrl:ue,subtitles:Qe,unitedVideoId:H,isClip:Ae,live:at,albumId:_,statPlace:S,autoplay:Q,muted:te,volume:se,fromTime:N,canRewindLive:$,showAds:D,adsSlotId:ce,adsParams:_t,adsPreviewParam:re,duration:tt,logoClickable:le,logoHidden:me,isMobile:ze,repeat:Ve,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:it.nextVideoTitle,endScreenVideoThumb:it.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},yt={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(De)}`});const Lt=this.uiConfig.features.statistics&&!!H,{pid:It}=((r=(o=this.videoConfig)===null||o===void 0?void 0:o.interactiveData)===null||r===void 0?void 0:r.projectInfo)||{};Lt&&new Bo(Object.assign({movieId:H,albumId:_,place:S,trackCode:V,autoplay:(l=Q&&!this.interactiveController)!==null&&l!==void 0?l:!1,mobile:ze,clip:Ae},It&&!this.isInited&&{projectId:Number(It)}),Object.assign({refreshAuthToken:G,userSalt:y,config:this.statistics.config},this.interactiveController&&{useIsid:!0,isid:this.prevIsid})),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new ur(this.uiConfig.sentry,{version:wl,env:I0},{movieId:H,albumId:_,place:S,autoplay:(s=Q&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:ze,clip:Ae}),this.interactiveController&&((a=this.prevIsid)!==null&&a!==void 0||(this.prevIsid=(c=Bo.getInstance())===null||c===void 0?void 0:c.oneStat.isid$.getValue())),this.statistics=Object.assign(Object.assign({},this.statistics),Bo.getInstance()),this.sentry=Object.assign(Object.assign({},this.sentry),ur.getInstance());const fe=!!Te,kt=(f=this.interactiveController)===null||f===void 0?void 0:f.getInteractiveRanges(),st=[];let St="tooltip_interactive_go_back_disabled_first";if(fe&&this.interactiveController){const Xe=this.interactiveController.state.isInitialChapter$.getValue(),Fe=this.interactiveController.getHistoryState();Xe&&st.push(ut.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||st.push(ut.SEEK_TO_INTERACTIVE_BUTTON),Fe.hasPrevChapter$.getValue()||(st.push(ut.PLAY_PREV_CHAPTER_BUTTON),Xe||(Fe.isGoBackLimited$.getValue()?St="tooltip_interactive_go_back_disabled_limit":St="tooltip_interactive_go_back_disabled"))}const pt=()=>{var Xe;this.isInited=!1,this.prevIsid=void 0;const Fe=(n==null?void 0:n.info.isEnded$.getValue())&&((Xe=this.interactiveController)===null||Xe===void 0?void 0:Xe.state.isEndChapter$.getValue());F.onReplayInteractiveVideo&&!Fe?F.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=K5({player:n,interfaceLanguage:O,videoId:H,isClip:Ae,isLiveCatchUpMode:Ee,isAudioDisabled:He,statAuthToken:k,callbacks:F,webApi:yt,videoEpisodes:Ue,previewThumbsData:Me,canDownload:X,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:st,isInteractive:fe,interactiveRanges:kt,replayInteractive:pt,playPrevChapterDisabledTooltip:St,hasInteractiveBranches:!!(!((h=(m=this.interactiveController)===null||m===void 0?void 0:m.getChapterBranches())===null||h===void 0)&&h.length),additionalButtons:this.uiConfig.features.additionalButtons?Pe:[],looped:Ve&&this.videoConfig.videos.length===1});const{stores:At}=this.microStoresRoot=e6();this.subscription.add(this.store.state.currentFormat$.subscribe(Xe=>{var Fe;return(Fe=F==null?void 0:F.onCurrentFormatChanged)===null||Fe===void 0?void 0:Fe.call(F,Xe)})),this.subscription.add(At.interactiveControlsOpacity$.subscribe(Xe=>{var Fe;Xe!==null&&((Fe=this===null||this===void 0?void 0:this.interactiveController)===null||Fe===void 0||Fe.setDisabledControls(Xe))})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Xe=>{var Fe;return(Fe=F==null?void 0:F.onThroughputEstimationChanged)===null||Fe===void 0?void 0:Fe.call(F,Xe)})),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe(Xe=>{var Fe;return(Fe=F==null?void 0:F.onTrafficSavingEnabledChanged)===null||Fe===void 0?void 0:Fe.call(F,Xe)})),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe(Xe=>{var Fe;return(Fe=F==null?void 0:F.onCurrentPlaybackRateChanged)===null||Fe===void 0?void 0:Fe.call(F,Xe)})),this.subscription.add(this.store.state.volume$.subscribe(Xe=>{var Fe;return(Fe=F==null?void 0:F.onVolumeChange)===null||Fe===void 0?void 0:Fe.call(F,Xe)})),this.subscription.add(this.store.state.muted$.subscribe(Xe=>{var Fe,Vt;return Xe?(Fe=F==null?void 0:F.onMute)===null||Fe===void 0?void 0:Fe.call(F):(Vt=F==null?void 0:F.onUnmute)===null||Vt===void 0?void 0:Vt.call(F)})),this.subscription.add(this.store.state.videoBitrate$.subscribe(Xe=>{var Fe;return(Fe=F==null?void 0:F.onVideoBitrateChanged)===null||Fe===void 0?void 0:Fe.call(F,Xe)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Xe=>{var Fe;const Vt=(Fe=this.store)===null||Fe===void 0?void 0:Fe.ui.controls.disabledControls$;Vt&&(Xe&&!Vt.includes(pl)&&Vt.add(pl),Xe||Vt.remove(pl))})),this.initMediaSession(),this.interactiveController&&Lt&&this.initInteractivesStatistics(),this.svelteRootComponent=new T_({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Re,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:Se,thumbUrl:ue,videoLogoUrl:J,subtitles:Qe,live:at,preload:I,autoplay:Q,muted:te,volume:se,fromTime:N,canRewindLive:$,supportLink:C,showAds:D,adsSlotId:ce,adsParams:_t,adsPreviewParam:re,duration:tt,logoClickable:le,logoHidden:me,isMobile:ze,failoverHosts:ke,fullScreenTarget:de,showMiniTimer:ae,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:it.nextVideoTitle,endScreenVideoThumb:it.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,(w=(v=(b=this.videoConfig)===null||b===void 0?void 0:b.callbacks)===null||v===void 0?void 0:v.onInited)===null||w===void 0||w.call(v))}addPlayerInfoSubscriptions(){var e;if(this.isInited)return;const t=this.store,n=(e=this.videoConfig)===null||e===void 0?void 0:e.callbacks;n&&this.subscription.add(t.playerPhase.subscribe(r=>{var l;return(l=n.onPlayerPhaseChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.playbackState$.subscribe(r=>{var l;return(l=n.onPlaybackStateChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.isLive$.subscribe(r=>{var l;return(l=n.onIsLiveChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.isActiveLive$.subscribe(r=>{var l;return(l=n.onIsActiveLiveChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.isAudioAvailable$.subscribe(r=>{var l;return(l=n.onIsAudioAvailableChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.currentQuality$.subscribe(r=>{var l;return(l=n.onCurrentQualityChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.availableQualities$.subscribe(r=>{var l;return(l=n.onAvailableQualitiesChanged)===null||l===void 0?void 0:l.call(n,r.map(({value:s})=>s).filter(s=>s!==So.AUTO))})).add(t.ui.isPictureInPictureActive$.subscribe(r=>{var l,s;return r?(l=n.onPiPEnter)===null||l===void 0?void 0:l.call(n):(s=n.onPiPExit)===null||s===void 0?void 0:s.call(n)}));const o=n==null?void 0:n.uiInfo;o&&this.subscription.add(t.ui.controlsVisible.subscribe(r=>{var l;return(l=o.onControlsVisibleChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.isMobile.subscribe(r=>{var l;return(l=o.onIsMobileChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.playerSize.subscribe(r=>{var l;return(l=o.onPlayerSizeChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.prevButton.subscribe(r=>{var l;return(l=o.onPrevButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.playButton.subscribe(r=>{var l;return(l=o.onPlayButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.replayButton.subscribe(r=>{var l;return(l=o.onReplayButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.nextButton.subscribe(r=>{var l;return(l=o.onNextButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.playPrevChapterButton.subscribe(r=>{var l;return(l=o.onPlayPrevChapterChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.seekToInteractiveButton.subscribe(r=>{var l;return(l=o.onSeekToInteractiveButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.interactiveGraphButton.subscribe(r=>{var l;return(l=o.onGraphButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.liveButton.subscribe(r=>{var l;return(l=o.onLiveButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.time.subscribe(r=>{var l;return(l=o.onTimeUpdateChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.episodes.subscribe(r=>{var l;return(l=o.onEpisodesChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.subtitles.subscribe(r=>{var l;return(l=o.onSubtitlesChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.settings.subscribe(r=>{var l;return(l=o.onSettingsChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.fullscreen.subscribe(r=>{var l;return(l=o.onFullscreenChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.chromecast.subscribe(r=>{var l;return(l=o.onChromecastChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.pip.subscribe(r=>{var l;return(l=o.onPipChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.vkLogo.subscribe(r=>{var l;return(l=o.onVkLogoChanged)===null||l===void 0?void 0:l.call(o,r)}))}playNextVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onNextVideoClick)try{t=this.videoConfig.callbacks.onNextVideoClick()}catch(n){this.log({message:"onNextVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onPrevVideoClick)try{t=this.videoConfig.callbacks.onPrevVideoClick()}catch(n){this.log({message:"onPrevVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,t=!0){var n;if(!this.videoConfig)return;const o=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!o){this.log({message:"no next video"});return}this.isInited&&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$:r,graphIsOpened$:l}=n.state,{disabledControls$:s}=n.ui.controls,a=Je(o),c=Je(r);Je(l)?(l.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(Zr),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",l.set(!0),(t=this.interactiveController)===null||t===void 0||t.toggleGraphView(!0),s.add(Zr),!a&&this.graphMadePause&&this.pause())}initInteractives(){var e,t,n,o;return ai(this,void 0,void 0,function*(){if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:r,EVENT_NAMES:l,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?Je(a):this.videoConfig.interfaceLanguage,{projectInfo:f,historyApi:m,videoLoader:h}=this.videoConfig.interactiveData;this.interactiveController=new r({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:c,graph:this.uiConfig.features.interactiveGraph,projectInfo:f,historyApi:m,vkVideoLoader:h,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,historyParams:{maxLength:this.uiConfig.interactive.historyMaxLength}}),yield this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:b}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(w=>{if(!this.isInited)return;const _=this.store;w?_.ui.controls.disabledControls$.remove(ut.SEEK_TO_INTERACTIVE_BUTTON):_.ui.controls.disabledControls$.add(ut.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(b.subscribe(w=>{this.store&&this.store.state.isInteractiveExpectation$.set(w)}));let v=!0;if(this.interactiveController.on(l.playerChanged,w=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]=Object.assign(Object.assign({},w.config),{title:(f==null?void 0:f.title)||w.config.title});const _=v?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(w.player,_),v&&(v=!1)}),this.interactiveController.on(l.interactives,({type:w,subjectId:_,actionType:S})=>{var y,k,V,G;if(!this.store)return;const I=b.getValue();if(w==="container-removed"&&this.store.actions.internal.completeInteractiveRange(_),w==="action-choice"&&S==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(I1)),w==="action-choice-canceled"){const Q=Je(this.store.state.isPlaying$)||I;if(!((y=this.videoConfig)===null||y===void 0)&&y.isMobile&&Q){this.store.ui.interactiveHideMobileControls.set(!0);return}(G=(k=this.videoConfig)===null||k===void 0?void 0:(V=k.callbacks).onDisabledInteractiveClick)===null||G===void 0||G.call(V)}}),!((o=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||o===void 0)&&o.onInteractiveHistoryChanged){const w=this.interactiveController.getHistoryState();this.subscription.add(w.history$.subscribe(_=>{var S,y,k;_.length&&((k=(y=(S=this.videoConfig)===null||S===void 0?void 0:S.callbacks)===null||y===void 0?void 0:y.onInteractiveHistoryChanged)===null||k===void 0||k.call(y,_))}))}this.interactiveController.on(l.errors,w=>{this.log({message:w.toString()})})}catch(r){this.log({message:r.message})}})}initInteractivesStatistics(){var e,t;return ai(this,void 0,void 0,function*(){const{statSubscription:n,oneStat:o}=this.statistics;if(!(!n||!o||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:r}=yield import("@vkontakte/videoplayer-interactive/es2015.cjs.js"),l={[r.GO_NEXT_BUTTON]:wt.InteractiveInterfaceClick.NEXT_BUTTON,[r.GO_NEXT_AREA]:wt.InteractiveInterfaceClick.NEXT_AREA,[r.WATCH_AGAIN]:wt.InteractiveInterfaceClick.WATCH_AGAIN,[r.OPEN_GRAPH]:wt.InteractiveInterfaceClick.GRAPH_SHOW,[r.CLOSE_GRAPH]:wt.InteractiveInterfaceClick.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new oe.Subject;s.subscribe(f=>{var m,h;f in l?c.next(l[f]):(o==null||o.logError({errorType:"InteractiveVideosAction",fatal:!1}),(h=(m=this.sentry).report)===null||h===void 0||h.call(m,new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),n.add(o.attachToInteractive({click$:c,nextMovie$:a}))}catch(r){o==null||o.logError({errorType:"InteractiveVideos",fatal:!1}),(t=(e=this.sentry).report)===null||t===void 0||t.call(e,r,{errorType:"InteractiveVideosAction",fatal:!1})}})}initPlayer(e,t={}){var n,o,r,l,s,a,c,f,m,h,b,v,w,_,S,y,k,V,G;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=b1(t6,oe.cloneDeepWith(e,I=>I instanceof HTMLElement?I:void 0)),this.uiConfig=y0((n=t.ui)!==null&&n!==void 0?n:{}),this.coreConfig=(o=t.core)!==null&&o!==void 0?o:{configName:[]},this.statistics={config:(r=t.statistics)!==null&&r!==void 0?r:{}},this.sentry={config:(l=this.uiConfig.sentry)!==null&&l!==void 0?l:{}},oe.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(s=this.videoConfig.isMediaSessionEnabled)!==null&&s!==void 0?s:!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=(m=(f=this.uiConfig.features.dpip)!==null&&f!==void 0?f:this.videoConfig.isPictureInPictureEnabled)!==null&&m!==void 0?m:!0),this.videoConfig.isMobile=(h=this.uiConfig.isMobile)!==null&&h!==void 0?h:this.videoConfig.isMobile,(V=this.videoConfig).autoplay&&(V.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(b=this.uiConfig.ads.enable)!==null&&b!==void 0?b:this.videoConfig.showAds,this.videoConfig.adsSlotId=(v=this.uiConfig.ads.slot)!==null&&v!==void 0?v:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(w=this.uiConfig.ads.preview)!==null&&w!==void 0?w:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((_=this.uiConfig.showLogo)!==null&&_!==void 0?_:!this.videoConfig.logoHidden),(G=this.videoConfig).canRewindLive&&(G.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(S=this.videoConfig.supportLink)!==null&&S!==void 0?S:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=W_.getLatestSupportedVersion():this.pictureInPictureApi=new wr),this.mediaSessionApi=this.uiConfig.features.mediaSession?new N_:void 0,this.annotationsApi=this.uiConfig.features.annotations?new X_(this.rootContainer):void 0,(y=this.svelteStubComponent)===null||y===void 0||y.$destroy(),(k=this.svelteRootComponent)===null||k===void 0||k.$destroy(),this.isInited=!1,this.prevIsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),q_(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===Ne.Video?this.setupMediaSessionForVideo():n===Ne.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,t;this.isControlDisabled(ut.PLAY_BUTTON)||!((e=this.store)===null||e===void 0)&&e.playerPhase.is(Ne.WaitingLive)||(this.log({message:"play"}),(t=this.svelteRootComponent)===null||t===void 0||t.play())}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,t;if(!this.videoConfig)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.videoConfig.videos[0];n&&((t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),this.createPlayer(n))}setMuted(e){var t;this.log({message:`set muted, muted: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setMuted(e)}setVolume(e){var t;this.log({message:`set volume, volume: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setVolume(e)}setRepeat(e){var t;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(t=this.svelteRootComponent)===null||t===void 0||t.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var t;this.isControlDisabled(ut.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekTime(e))}seekEpisodeStartTime(e){var t;this.log({message:`seek episode start time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekEpisodeStartTime(e)}returnFocusToEpisodes(){var e;this.log({message:"return focus to episodes button"}),(e=this.svelteRootComponent)===null||e===void 0||e.returnFocusToEpisodes()}setPlaybackRate(e){var t;this.log({message:`set playback rate to: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setPlaybackRate(e)}setAutoQualityLimits(e){var t,n,o;this.log({message:`set auto quality limitation. Max: ${(t=e.max)!==null&&t!==void 0?t:"none"}. Min: ${(n=e.min)!==null&&n!==void 0?n:"none"}`}),(o=this.svelteRootComponent)===null||o===void 0||o.setAutoQualityLimits(e)}addLanguage(e){var t;(t=this.store)===null||t===void 0||t.actions.internal.addLanguage(e)}setLanguage(e){var t;return ai(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=Bo.getInstance())===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&t!==void 0?t:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const n6=()=>{window.customElements.define("vk-video-player",i6)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return xe.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return xe.VideoQuality}});Object.defineProperty(exports,"InterfaceLanguage",{enumerable:!0,get:function(){return 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=wl;exports.registerPlayerWebComponent=n6;
|
|
50
|
+
);--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg:not(.interactiveContainer svg){pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}.overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:10000}.out-of-view{position:absolute !important;left:-1000vh !important}`)}function z_(t){let e,i,n;function l(o){t[56](o)}let r={store:t[0],uiConfig:t[35],title:t[1],thumbUrl:t[2],videoLogoUrl:t[3],interactiveContainer:t[4],live:t[5],autoplay:t[6],canRewindLive:t[7],showAds:t[8],adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12],logoClickable:t[13],logoHidden:t[14],showNextPrevButtons:t[16],nextButtonActive:t[17],prevButtonActive:t[18],endScreenVideoTitle:t[19],endScreenVideoThumb:t[20],isOneVideoPlaylist:t[21],supportLink:t[22],outerContainerRef:t[23],fullScreenTarget:t[24],showMiniTimer:t[25],playerStarted:t[34],playNextVideo:t[26],playPrevVideo:t[27],repeatPlaylist:t[28],seekToInteractive:t[29],toggleGraph:t[30],playPrevChapter:t[31],firstStart:t[36]};return t[33]!==void 0&&(r.videoContainer=t[33]),e=new P_({props:r}),ke.push(()=>qe(e,"videoContainer",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[0]&1&&(a.store=o[0]),s[0]&2&&(a.title=o[1]),s[0]&4&&(a.thumbUrl=o[2]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16&&(a.interactiveContainer=o[4]),s[0]&32&&(a.live=o[5]),s[0]&64&&(a.autoplay=o[6]),s[0]&128&&(a.canRewindLive=o[7]),s[0]&256&&(a.showAds=o[8]),s[0]&512&&(a.adsSlotId=o[9]),s[0]&1024&&(a.adsParams=o[10]),s[0]&2048&&(a.adsPreviewParam=o[11]),s[0]&4096&&(a.duration=o[12]),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&65536&&(a.showNextPrevButtons=o[16]),s[0]&131072&&(a.nextButtonActive=o[17]),s[0]&262144&&(a.prevButtonActive=o[18]),s[0]&524288&&(a.endScreenVideoTitle=o[19]),s[0]&1048576&&(a.endScreenVideoThumb=o[20]),s[0]&2097152&&(a.isOneVideoPlaylist=o[21]),s[0]&4194304&&(a.supportLink=o[22]),s[0]&8388608&&(a.outerContainerRef=o[23]),s[0]&16777216&&(a.fullScreenTarget=o[24]),s[0]&33554432&&(a.showMiniTimer=o[25]),s[1]&8&&(a.playerStarted=o[34]),s[0]&67108864&&(a.playNextVideo=o[26]),s[0]&134217728&&(a.playPrevVideo=o[27]),s[0]&268435456&&(a.repeatPlaylist=o[28]),s[0]&536870912&&(a.seekToInteractive=o[29]),s[0]&1073741824&&(a.toggleGraph=o[30]),s[1]&1&&(a.playPrevChapter=o[31]),!i&&s[1]&4&&(i=!0,a.videoContainer=o[33],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function F_(t){let e,i,n;function l(o){t[55](o)}let r={store:t[0],uiConfig:t[35],thumbUrl:t[2],videoLogoUrl:t[3],interactiveContainer:t[4],live:t[5],autoplay:t[6],canRewindLive:t[7],showAds:t[8],adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12],logoClickable:t[13],logoHidden:t[14],showNextPrevButtons:t[16],nextButtonActive:t[17],prevButtonActive:t[18],endScreenVideoTitle:t[19],endScreenVideoThumb:t[20],isOneVideoPlaylist:t[21],supportLink:t[22],outerContainerRef:t[23],fullScreenTarget:t[24],showMiniTimer:t[25],playerStarted:t[34],playNextVideo:t[26],playPrevVideo:t[27],repeatPlaylist:t[28],seekToInteractive:t[29],toggleGraph:t[30],playPrevChapter:t[31],firstStart:t[36],seekTime:t[32]};return t[33]!==void 0&&(r.videoContainer=t[33]),e=new O_({props:r}),ke.push(()=>qe(e,"videoContainer",l)),{c(){W(e.$$.fragment)},m(o,s){q(e,o,s),n=!0},p(o,s){const a={};s[0]&1&&(a.store=o[0]),s[0]&4&&(a.thumbUrl=o[2]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16&&(a.interactiveContainer=o[4]),s[0]&32&&(a.live=o[5]),s[0]&64&&(a.autoplay=o[6]),s[0]&128&&(a.canRewindLive=o[7]),s[0]&256&&(a.showAds=o[8]),s[0]&512&&(a.adsSlotId=o[9]),s[0]&1024&&(a.adsParams=o[10]),s[0]&2048&&(a.adsPreviewParam=o[11]),s[0]&4096&&(a.duration=o[12]),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&65536&&(a.showNextPrevButtons=o[16]),s[0]&131072&&(a.nextButtonActive=o[17]),s[0]&262144&&(a.prevButtonActive=o[18]),s[0]&524288&&(a.endScreenVideoTitle=o[19]),s[0]&1048576&&(a.endScreenVideoThumb=o[20]),s[0]&2097152&&(a.isOneVideoPlaylist=o[21]),s[0]&4194304&&(a.supportLink=o[22]),s[0]&8388608&&(a.outerContainerRef=o[23]),s[0]&16777216&&(a.fullScreenTarget=o[24]),s[0]&33554432&&(a.showMiniTimer=o[25]),s[1]&8&&(a.playerStarted=o[34]),s[0]&67108864&&(a.playNextVideo=o[26]),s[0]&134217728&&(a.playPrevVideo=o[27]),s[0]&268435456&&(a.repeatPlaylist=o[28]),s[0]&536870912&&(a.seekToInteractive=o[29]),s[0]&1073741824&&(a.toggleGraph=o[30]),s[1]&1&&(a.playPrevChapter=o[31]),!i&&s[1]&4&&(i=!0,a.videoContainer=o[33],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function H_(t){let e,i,n,l;const r=[F_,z_],o=[];function s(a,c){return a[15]?0:1}return i=s(t),n=o[i]=r[i](t),{c(){e=T("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){P(a,e,c),o[i].m(e,null),l=!0},p(a,c){let f=i;i=s(a),i===f?o[i].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),n=o[i],n?n.p(a,c):(n=o[i]=r[i](a),n.c()),m(n,1),n.m(e,null))},i(a){l||(m(n),l=!0)},o(a){g(n),l=!1},d(a){a&&S(e),o[i].d()}}}function U_(t,e,i){let{sources:n}=e,{store:l}=e,{microStoresRoot:r}=e,{uiConfig:o}=e,{title:s}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:d}=e,{live:h}=e,{preload:b}=e,{autoplay:v}=e,{volume:w=void 0}=e,{muted:_=void 0}=e,{fromTime:k}=e,{canRewindLive:y}=e,{showAds:C}=e,{adsSlotId:E=void 0}=e,{adsParams:F=void 0}=e,{adsPreviewParam:R=void 0}=e,{duration:B=void 0}=e,{logoClickable:se}=e,{logoHidden:ae}=e,{isMobile:O}=e,{showNextPrevButtons:$=!1}=e,{nextButtonActive:J=!1}=e,{prevButtonActive:Q=!1}=e,{endScreenVideoTitle:I=void 0}=e,{endScreenVideoThumb:M=void 0}=e,{isOneVideoPlaylist:ee=!1}=e,{supportLink:L}=e,{outerContainerRef:ie=void 0}=e,{fullScreenTarget:Le=void 0}=e,{failoverHosts:Pe=void 0}=e,{showMiniTimer:Me=!1}=e,{playNextVideo:Ne=te.noop}=e,{playPrevVideo:be=te.noop}=e,{repeatPlaylist:Ce=te.noop}=e,{seekToInteractive:Z=te.noop}=e,{toggleGraph:ce=te.noop}=e,{playPrevChapter:he=te.noop}=e;const{subscribers:Ke,stores:_e}=r;L0(o);const Ee=yn(),Re=l.ui.debugPanelVisible,me=l.ui.playerSize;let Te,H=null,ne=!1;l.getAdmanWrapper().init({switchFromAdsToVideo:l.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:l.actions.internal.switchFromVideoToAds,setMuted:l.actions.external.setMuted},l.ads,{isMobile:l.ui.isMobile,mobileUnmuteButtonVisible:l.ui.mobileUnmuteButtonVisible,vsid:l.vsid}),F0(l,_e);const Ae=(re=!1)=>{i(34,ne=!0),re?l.actions.external.firstStart(C):l.actions.internal.firstStart(C)};function ue(re){var Xe;const At=n||re;At&&l.initVideo({container:Te,sources:At,failoverHosts:Pe,subtitles:d});const gt=te.safeStorage.get(sr)==="true";Re.set(gt),k>0&&l.actions.external.seekTime(k);const Vt=O?Ee.volumeDefault:(Xe=w!=null?w:j1())!=null?Xe:Ee.volumeDefault,ft=_!=null?_:W0();if(l.actions.external.setVolume(Vt),l.actions.external.setMuted(ft),l.getAdmanWrapper().setInitialVolume(ft?0:Vt),Ee.features.trafficSaving){const He=G0();He&&l.actions.internal.setTrafficSavingEnabled(He)}const yt=K0(l.videoId);yt&&l.actions.internal.setQuality(yt),l.ui.isAutoplay.set(v),v?Ae():b&&Ee.features.preload&&l.actions.internal.preload()}const Se=re=>{if(window.ResizeObserver){let At,gt;H=new ResizeObserver(te.throttleFn(Vt=>{const ft=Vt[0];if(ft){if(ft.contentBoxSize){const yt=Array.isArray(ft.contentBoxSize)?ft.contentBoxSize[0]:ft.contentBoxSize;At=yt.inlineSize,gt=yt.blockSize}else ft.contentRect&&(At=ft.contentRect.width,gt=ft.contentRect.height);me.set({width:At,height:gt})}},M1)),H.observe(re)}me.set({width:re.clientWidth,height:re.clientHeight})};wn(()=>{Se(Te);const re=Ke.map(gt=>gt.init(l,_e));if((h==null?void 0:h.status)==="upcoming"||(h==null?void 0:h.status)==="waiting"){l.actions.internal.setWaitingLive(!0);return}if(((h==null?void 0:h.status)==="finished"||(h==null?void 0:h.status)==="postlive")&&!Object.keys(n||[]).length){l.actions.internal.setWaitingRecord(!0);return}return ue(),()=>{H==null||H.disconnect(),re.forEach(gt=>gt.unsubscribe()),l.destroy()}});function Ze(){ne?l.actions.external.play():Ae(!0)}function it(){l.actions.external.pause()}function ut(re){O||l.actions.external.setMuted(re)}function xe(re){O||re>=0&&re<=1&&l.actions.external.setVolume(re)}function ot(re){l.actions.internal.seekTime(re,Pt.SeekAction.UNKNOWN)}function st(re){l.actions.external.seekEpisodeStartTime(re)}function wt(){l.actions.external.returnFocusToEpisodes()}function Oe(re){l.actions.external.setPlaybackRate(re)}function dt(re){l.actions.external.setAutoQualityLimits(re)}function ct(re){Te=re,i(33,Te)}function Et(re){Te=re,i(33,Te)}return t.$$set=re=>{"sources"in re&&i(37,n=re.sources),"store"in re&&i(0,l=re.store),"microStoresRoot"in re&&i(38,r=re.microStoresRoot),"uiConfig"in re&&i(39,o=re.uiConfig),"title"in re&&i(1,s=re.title),"thumbUrl"in re&&i(2,a=re.thumbUrl),"videoLogoUrl"in re&&i(3,c=re.videoLogoUrl),"interactiveContainer"in re&&i(4,f=re.interactiveContainer),"subtitles"in re&&i(40,d=re.subtitles),"live"in re&&i(5,h=re.live),"preload"in re&&i(41,b=re.preload),"autoplay"in re&&i(6,v=re.autoplay),"volume"in re&&i(42,w=re.volume),"muted"in re&&i(43,_=re.muted),"fromTime"in re&&i(44,k=re.fromTime),"canRewindLive"in re&&i(7,y=re.canRewindLive),"showAds"in re&&i(8,C=re.showAds),"adsSlotId"in re&&i(9,E=re.adsSlotId),"adsParams"in re&&i(10,F=re.adsParams),"adsPreviewParam"in re&&i(11,R=re.adsPreviewParam),"duration"in re&&i(12,B=re.duration),"logoClickable"in re&&i(13,se=re.logoClickable),"logoHidden"in re&&i(14,ae=re.logoHidden),"isMobile"in re&&i(15,O=re.isMobile),"showNextPrevButtons"in re&&i(16,$=re.showNextPrevButtons),"nextButtonActive"in re&&i(17,J=re.nextButtonActive),"prevButtonActive"in re&&i(18,Q=re.prevButtonActive),"endScreenVideoTitle"in re&&i(19,I=re.endScreenVideoTitle),"endScreenVideoThumb"in re&&i(20,M=re.endScreenVideoThumb),"isOneVideoPlaylist"in re&&i(21,ee=re.isOneVideoPlaylist),"supportLink"in re&&i(22,L=re.supportLink),"outerContainerRef"in re&&i(23,ie=re.outerContainerRef),"fullScreenTarget"in re&&i(24,Le=re.fullScreenTarget),"failoverHosts"in re&&i(45,Pe=re.failoverHosts),"showMiniTimer"in re&&i(25,Me=re.showMiniTimer),"playNextVideo"in re&&i(26,Ne=re.playNextVideo),"playPrevVideo"in re&&i(27,be=re.playPrevVideo),"repeatPlaylist"in re&&i(28,Ce=re.repeatPlaylist),"seekToInteractive"in re&&i(29,Z=re.seekToInteractive),"toggleGraph"in re&&i(30,ce=re.toggleGraph),"playPrevChapter"in re&&i(31,he=re.playPrevChapter)},t.$$.update=()=>{t.$$.dirty[0]&32769&&l.ui.isMobile.set(O)},[l,s,a,c,f,h,v,y,C,E,F,R,B,se,ae,O,$,J,Q,I,M,ee,L,ie,Le,Me,Ne,be,Ce,Z,ce,he,ot,Te,ne,Ee,Ae,n,r,o,d,b,w,_,k,Pe,ue,Ze,it,ut,xe,st,wt,Oe,dt,ct,Et]}class q_ extends ye{constructor(e){super(),we(this,e,U_,H_,ge,{sources:37,store:0,microStoresRoot:38,uiConfig:39,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:40,live:5,preload:41,autoplay:6,volume:42,muted:43,fromTime:44,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:45,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:46,play:47,pause:48,setMuted:49,setVolume:50,seekTime:32,seekEpisodeStartTime:51,returnFocusToEpisodes:52,setPlaybackRate:53,setAutoQualityLimits:54},D_,[-1,-1,-1])}get initVideo(){return this.$$.ctx[46]}get play(){return this.$$.ctx[47]}get pause(){return this.$$.ctx[48]}get setMuted(){return this.$$.ctx[49]}get setVolume(){return this.$$.ctx[50]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[51]}get returnFocusToEpisodes(){return this.$$.ctx[52]}get setPlaybackRate(){return this.$$.ctx[53]}get setAutoQualityLimits(){return this.$$.ctx[54]}}function j_(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill",t[0]),u(i,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,l){P(n,e,l),p(e,i)},p(n,[l]){l&1&&u(i,"fill",n[0])},i:G,o:G,d(n){n&&S(e)}}}function K_(t,e,i){let{isWhite:n=!1}=e,l;return t.$$set=r=>{"isWhite"in r&&i(1,n=r.isWhite)},t.$$.update=()=>{t.$$.dirty&2&&i(0,l=n?"#fff":"#909499")},[l,n]}class W_ extends ye{constructor(e){super(),we(this,e,K_,j_,ge,{isWhite:1})}}function Z_(t){We(t,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function y1(t){let e,i;return{c(){e=T("div"),i=ze(t[0]),u(e,"class","title v-1y9fytq")},m(n,l){P(n,e,l),p(e,i)},p(n,l){l&1&&tt(i,n[0])},d(n){n&&S(e)}}}function k1(t){let e,i;return e=new W_({props:{isWhite:!!t[1]}}),{c(){W(e.$$.fragment)},m(n,l){q(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isWhite=!!n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){j(e,n)}}}function G_(t){let e,i,n,l,r=t[0]&&y1(t),o=(!t[0]||!t[1])&&k1(t);return{c(){e=T("div"),r&&r.c(),i=z(),o&&o.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=t[1]?`background-image: url('${t[1]}')`:"")},m(s,a){P(s,e,a),r&&r.m(e,null),p(e,i),o&&o.m(e,null),l=!0},p(s,[a]){s[0]?r?r.p(s,a):(r=y1(s),r.c(),r.m(e,i)):r&&(r.d(1),r=null),!s[0]||!s[1]?o?(o.p(s,a),a&3&&m(o,1)):(o=k1(s),o.c(),m(o,1),o.m(e,null)):o&&(fe(),g(o,1,1,()=>{o=null}),de()),(!l||a&2&&n!==(n=s[1]?`background-image: url('${s[1]}')`:""))&&u(e,"style",n)},i(s){l||(m(o),l=!0)},o(s){g(o),l=!1},d(s){s&&S(e),r&&r.d(),o&&o.d()}}}function Y_(t,e,i){let{title:n}=e,{thumbUrl:l}=e;return t.$$set=r=>{"title"in r&&i(0,n=r.title),"thumbUrl"in r&&i(1,l=r.thumbUrl)},[n,l]}class Q_ extends ye{constructor(e){super(),we(this,e,Y_,G_,ge,{title:0,thumbUrl:1},Z_)}}class X_{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:i="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:i,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",i=>null],["seekbackward",i=>null],["seekforward",i=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[i,n]of e)try{navigator.mediaSession.setActionHandler(i,n)}catch(l){throw new Error(`The media session action "${i}" is not supported yet.`)}}}function J_(t){let e,i,n,l;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=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(l,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(i,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(r,o){P(r,e,o),p(e,i),p(i,n),p(i,l)},p:G,i:G,o:G,d(r){r&&S(e)}}}class x_ extends ye{constructor(e){super(),we(this,e,null,J_,ge,{})}}function $_(t){We(t,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function e6(t){let e,i,n,l,r,o,s;return n=new x_({}),{c(){e=T("div"),i=T("div"),W(n.$$.fragment),l=z(),r=T("span"),o=ze(t[0]),u(i,"class","dummy-image v-1pbsod4"),V(i,"desktop",!t[1]),u(r,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),V(e,"is-pip-api",t[2])},m(a,c){P(a,e,c),p(e,i),q(n,i,null),p(e,l),p(e,r),p(r,o),s=!0},p(a,[c]){(!s||c&2)&&V(i,"desktop",!a[1]),(!s||c&1)&&tt(o,a[0])},i(a){s||(m(n.$$.fragment,a),s=!0)},o(a){g(n.$$.fragment,a),s=!1},d(a){a&&S(e),j(n)}}}function t6(t,e,i){let n,l;const r=Tt(),o=!!r.webApi.pictureInPictureApi,s=r.interfaceLanguage$;D(t,s,f=>i(5,n=f));const a=r.ui.isMobile;D(t,a,f=>i(1,l=f));let c;return t.$$.update=()=>{t.$$.dirty&32&&i(0,c=n&&Y("pip_dummy_title"))},[c,l,o,s,a,n]}class i6 extends ye{constructor(e){super(),we(this,e,t6,e6,ge,{},$_)}}const n6=460,o6=280;class Bf{constructor(){this.info={isActive$:new te.ValueSubject(!1),type:Dn.DocumentPictureInPicture}}isSupported(){const e=te.getCurrentBrowser().browser===te.CurrentClientBrowser.Yandex,{isEmbed:i}=te.detectEmbed();return"documentPictureInPicture"in window&&!e&&!i}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,i){this.playerDomElement=e,this.playerParentShadowRoot=i}setContext(e){this.svelteContext=e}request(){var e,i;return ni(this,void 0,void 0,function*(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=yield documentPictureInPicture.requestWindow({width:n6,height:o6,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
|
+
`),l=document.createElement("style");l.textContent=n;const r=this.createStretchedContainer(),o=r.attachShadow({mode:"open"});o.append(l),o.append(this.playerDomElement),this.playerDummyElement=new i6({target:this.playerParentShadowRoot,context:this.svelteContext}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(r),this.info.isActive$.next(!0),(i=this.pipWindow)===null||i===void 0||i.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})})}remove(){return ni(this,void 0,void 0,function*(){return new Promise(e=>{var i;(i=documentPictureInPicture.window)===null||i===void 0||i.close(),e()})})}dispose(){return ni(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 l6(t){return t instanceof Bf}class r6{static getLatestSupportedVersion(){const e=new yr,i=new Bf;if(i.isSupported())return i;if(e.isSupported())return e}}function C1(t,e){var i,n;const l=new Set([...Object.keys(t),...Object.keys(e)]),r={};for(const o of l)r[o]=(n=(i=e[o])!==null&&i!==void 0?i:t[o])!==null&&n!==void 0?n:void 0;return r}const s6="Inner error. Unexpectedly root annotation container null reference exception",a6="Annotation with such name already exists",u6="Annotation with such name does not exist";class nr extends Error{constructor(e){super(e),this.name="AnnotationError"}}const c6="1",f6=100;class d6{constructor(e){this.annotations=new Map,this.subscriptions=new te.Subscription,this.rootAnnotationsContainer=e;const i=te.throttleFn(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},f6);this.subscriptions.add(te.observeElementSize(this.rootAnnotationsContainer).subscribe(({width:n,height:l})=>{this.playerSize={width:n,height:l},i()})),this.mutationObserver=new MutationObserver(i),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,i){var n;if(!this.rootAnnotationsContainer)throw new nr(s6);if(this.annotations.has(e))throw new nr(a6);i.style.zIndex=(n=i.style.zIndex)!==null&&n!==void 0?n:c6,i.style.position="absolute",this.rootAnnotationsContainer.append(i),this.annotations.set(e,i)}get(e){const i=this.annotations.get(e);if(!i)throw new nr(u6);return i}remove(e){const i=this.get(e);this.annotations.delete(e)&&i.remove()}clear(){for(const e in this.annotations.keys())this.remove(e)}destroy(){this.annotations.clear(),this.subscriptions.unsubscribe(),this.mutationObserver.disconnect(),this.rootAnnotationsContainer=null}isElementExceedsBoundaries(e,i,n){const l=e.offsetTop,r=e.offsetLeft,o=e.offsetWidth,s=e.offsetHeight;return l<0||r<0||r+o>i||l+s>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class Mr{init(e,i){return te.assertNonNullable(e),te.assertNonNullable(i),this.subscription=new te.Subscription,this.subscription}}class m6 extends Mr{constructor(){super(...arguments),this.stateName="fakeIsPlaying$",this.state$=Object.assign(Object.assign({},Ve(null)),{toggle:()=>this.state$.update(e=>!e)})}init(e,i){const n=super.init(e,i),{isInteractiveExpectation$:l}=e.state;return n.add(l.subscribe(r=>{this.state$.set(r?!0:null)})),n}}class p6 extends Mr{constructor(){super(...arguments),this.stateName="interactiveControlsOpacity$",this.state$=Object.assign(Object.assign({},Ve(null)),{toggle:()=>this.state$.update(e=>!e)})}init(e,i){const n=super.init(e,i),{fakeIsPlaying$:l}=i,{isInteractiveExpectation$:r,isPlaying$:o}=e.state,{controlsVisible:s,isMobile:a}=e.ui,c=$e(a),f=()=>c&&$e(s);return n.add(s.subscribe(d=>{if(!c)return;const h=$e(l);$e(o)?this.state$.set(d):h!==null&&this.state$.set(!h||d)})),n.add(o.subscribe(d=>{this.state$.set(!d||f())})),n.add(l.subscribe(d=>{if(d===null)return;const h=$e(r);if(f()){this.state$.set(!0);return}h&&this.state$.set(!d)})),n}}class h6 extends Mr{constructor(){super(...arguments),this.stateName="seekToInteractiveDisabledTooltip$",this.state$=Ve("tooltip_chapter_without_interactive")}init(e,i){const n=super.init(e,i);return n.add(e.state.interactiveEpisodes$.subscribe(l=>{l.length&&(l.every(r=>r.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),n}}const v6=()=>[m6,p6,h6].reduce(({subscribers:t,stores:e},i)=>{const n=new i;return{subscribers:[...t,n],stores:Object.assign(Object.assign({},e),{[n.stateName]:n.state$})}},{subscribers:[],stores:{}}),g6={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:te.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:te.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.prevIsid=void 0,this.isInited=!1,this.logger=new te.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new te.Subscription,this.graphMadePause=!1,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(i=>{console.log("%c player web component ","background:#77dd77;",`${i.component}`,i.message)}))}connectedCallback(){var e,i;if(this.isInited)return;this.initPlayerRootContainers();const n=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,l=(i=this.getAttribute("stub-thumb-url"))!==null&&i!==void 0?i:void 0;this.svelteStubComponent=new Q_({target:this.playerContainer,props:{title:n,thumbUrl:l}})}disconnectedCallback(){var e,i,n,l,r;(e=this.annotationsApi)===null||e===void 0||e.destroy(),(i=this.svelteRootComponent)===null||i===void 0||i.$destroy(),(n=this.svelteStubComponent)===null||n===void 0||n.$destroy(),this.subscription.unsubscribe(),(l=this.unsubscribePlayerPhaseSubscription)===null||l===void 0||l.call(this),(r=this.interactiveController)===null||r===void 0||r.destroy()}initPlayerRootContainers(){this.rootContainer=document.createElement("div"),this.rootContainer.style.position="relative",this.rootContainer.className="root-container",this.rootContainer.style.width="100%",this.rootContainer.style.height="100%";const e=document.createElement("div");e.style.position="absolute",e.className="shadow-root-container",e.style.width="100%",e.style.height="100%",this._shadowRoot=e.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.rootContainer.append(e),this.append(this.rootContainer)}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){var i;const n=(i=this.store)===null||i===void 0?void 0:i.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,i={},n){var l,r,o,s,a,c,f,d,h,b,v,w,_;if(!this.videoConfig)return;const{albumId:k,statPlace:y,statUserSalt:C,statAuthToken:E,statTrackCode:F,refreshStatAuthToken:R,preload:B,autoplay:se,volume:ae,muted:O,fromTime:$,canRewindLive:J,supportLink:Q,showAds:I,adsSlotId:M,adsParams:ee={},adsPreviewParam:L,interfaceLanguage:ie,logoClickable:Le,logoHidden:Pe,isMobile:Me,isAudioDisabled:Ne,isLiveCatchUpMode:be,fullScreenTarget:Ce,failoverHosts:Z,canDownload:ce,callbacks:he,interactiveData:Ke,showThumbTimer:_e,additionalButtons:Ee=[],repeat:Re}=C1(this.videoConfig,i),{sources:me,title:Te,thumbUrl:H,videoLogoUrl:ne,unitedVideoId:Ae,isClip:ue=!1,duration:Se,adsParams:Ze={},videoEpisodes:it,previewThumbsData:ut,subtitles:xe,live:ot}=e,st=Object.assign(Object.assign({},ee),Ze),wt=this.getNextVideoInfo(),Oe={sources:me,title:Te,thumbUrl:H,subtitles:xe,unitedVideoId:Ae,isClip:ue,live:ot,albumId:k,statPlace:y,autoplay:se,muted:O,volume:ae,fromTime:$,canRewindLive:J,showAds:I,adsSlotId:M,adsParams:st,adsPreviewParam:L,duration:Se,logoClickable:Le,logoHidden:Pe,isMobile:Me,repeat:Re,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:wt.nextVideoTitle,endScreenVideoThumb:wt.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},dt={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(Oe)}`});const ct=this.uiConfig.features.statistics&&!!Ae,{pid:Et}=((r=(l=this.videoConfig)===null||l===void 0?void 0:l.interactiveData)===null||r===void 0?void 0:r.projectInfo)||{};ct&&(this.statistics=new ig(Object.assign({movieId:Ae,albumId:k,place:y,trackCode:F,autoplay:(o=se&&!this.interactiveController)!==null&&o!==void 0?o:!1,mobile:Me,clip:ue},Et&&!this.isInited&&{projectId:Number(Et)}),Object.assign({refreshAuthToken:R,userSalt:C,config:this.statisticsConfig},this.interactiveController&&{useIsid:!0,isid:this.prevIsid}))),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new fr(this.uiConfig.sentry,{version:_l,env:z0},{movieId:Ae,albumId:k,place:y,autoplay:(s=se&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:Me,clip:ue}),this.interactiveController&&((a=this.prevIsid)!==null&&a!==void 0||(this.prevIsid=(c=this.statistics)===null||c===void 0?void 0:c.oneStat.isid$.getValue())),this.sentry=Object.assign(Object.assign({},this.sentry),fr.getInstance());const At=!!Ke,gt=[];let Vt="tooltip_interactive_go_back_disabled_first";if(At&&this.interactiveController){const Xe=this.interactiveController.state.isInitialChapter$.getValue(),He=this.interactiveController.getHistoryState();Xe&>.push(vt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||gt.push(vt.SEEK_TO_INTERACTIVE_BUTTON),He.hasPrevChapter$.getValue()||(gt.push(vt.PLAY_PREV_CHAPTER_BUTTON),Xe||(He.isGoBackLimited$.getValue()?Vt="tooltip_interactive_go_back_disabled_limit":Vt="tooltip_interactive_go_back_disabled"))}const ft=()=>{var Xe;this.isInited=!1,this.prevIsid=void 0;const He=(n==null?void 0:n.info.isEnded$.getValue())&&((Xe=this.interactiveController)===null||Xe===void 0?void 0:Xe.state.isEndChapter$.getValue());he.onReplayInteractiveVideo&&!He?he.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=ng({player:n,interfaceLanguage:ie,videoId:Ae,isClip:ue,isLiveCatchUpMode:be,isAudioDisabled:Ne,statAuthToken:E,callbacks:he,webApi:dt,videoEpisodes:it,previewThumbsData:ut,canDownload:ce,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:gt,isInteractive:At,interactiveRanges$:(f=this.interactiveController)===null||f===void 0?void 0:f.state.interactiveRanges$,isInteractiveTime$:(d=this.interactiveController)===null||d===void 0?void 0:d.state.isInteractiveTime$,replayInteractive:ft,playPrevChapterDisabledTooltip:Vt,hasInteractiveBranches:!!(!((b=(h=this.interactiveController)===null||h===void 0?void 0:h.getChapterBranches())===null||b===void 0)&&b.length),additionalButtons:this.uiConfig.features.additionalButtons?Ee:[],looped:Re&&this.videoConfig.videos.length===1,statistics:this.statistics});const{stores:yt}=this.microStoresRoot=v6();this.subscription.add(this.store.state.currentFormat$.subscribe(Xe=>{var He;return(He=he==null?void 0:he.onCurrentFormatChanged)===null||He===void 0?void 0:He.call(he,Xe)})),this.subscription.add(yt.interactiveControlsOpacity$.subscribe(Xe=>{var He;Xe!==null&&((He=this===null||this===void 0?void 0:this.interactiveController)===null||He===void 0||He.setDisabledControls(Xe))})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Xe=>{var He;return(He=he==null?void 0:he.onThroughputEstimationChanged)===null||He===void 0?void 0:He.call(he,Xe)})),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe(Xe=>{var He;return(He=he==null?void 0:he.onTrafficSavingEnabledChanged)===null||He===void 0?void 0:He.call(he,Xe)})),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe(Xe=>{var He;return(He=he==null?void 0:he.onCurrentPlaybackRateChanged)===null||He===void 0?void 0:He.call(he,Xe)})),this.subscription.add(this.store.state.volume$.subscribe(Xe=>{var He;return(He=he==null?void 0:he.onVolumeChange)===null||He===void 0?void 0:He.call(he,Xe)})),this.subscription.add(this.store.state.muted$.subscribe(Xe=>{var He,It;return Xe?(He=he==null?void 0:he.onMute)===null||He===void 0?void 0:He.call(he):(It=he==null?void 0:he.onUnmute)===null||It===void 0?void 0:It.call(he)})),this.subscription.add(this.store.state.videoBitrate$.subscribe(Xe=>{var He;return(He=he==null?void 0:he.onVideoBitrateChanged)===null||He===void 0?void 0:He.call(he,Xe)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Xe=>{var He;const It=(He=this.store)===null||He===void 0?void 0:He.ui.controls.disabledControls$;It&&(Xe&&!It.includes(fl)&&It.add(fl),Xe||It.remove(fl))})),this.initMediaSession(),this.interactiveController&&ct&&this.initInteractivesStatistics(),this.svelteRootComponent=new q_({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:me,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:Te,thumbUrl:H,videoLogoUrl:ne,subtitles:xe,live:ot,preload:B,autoplay:se,muted:O,volume:ae,fromTime:$,canRewindLive:J,supportLink:Q,showAds:I,adsSlotId:M,adsParams:st,adsPreviewParam:L,duration:Se,logoClickable:Le,logoHidden:Pe,isMobile:Me,failoverHosts:Z,fullScreenTarget:Ce,showMiniTimer:_e,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:wt.nextVideoTitle,endScreenVideoThumb:wt.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,(_=(w=(v=this.videoConfig)===null||v===void 0?void 0:v.callbacks)===null||w===void 0?void 0:w.onInited)===null||_===void 0||_.call(w))}addPlayerInfoSubscriptions(){var e;const i=this.store;if(!i)return;const n=(e=this.videoConfig)===null||e===void 0?void 0:e.callbacks;n&&this.subscription.add(i.playerPhase.subscribe(r=>{var o;return(o=n.onPlayerPhaseChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.playbackState$.subscribe(r=>{var o;return(o=n.onPlaybackStateChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.isLive$.subscribe(r=>{var o;return(o=n.onIsLiveChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.isActiveLive$.subscribe(r=>{var o;return(o=n.onIsActiveLiveChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.isAudioAvailable$.subscribe(r=>{var o;return(o=n.onIsAudioAvailableChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.currentQuality$.subscribe(r=>{var o;return(o=n.onCurrentQualityChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.availableQualities$.subscribe(r=>{var o;return(o=n.onAvailableQualitiesChanged)===null||o===void 0?void 0:o.call(n,r.map(({value:s})=>s).filter(s=>s!==So.AUTO))})).add(i.ui.isPictureInPictureActive$.subscribe(r=>{var o,s;return r?(o=n.onPiPEnter)===null||o===void 0?void 0:o.call(n):(s=n.onPiPExit)===null||s===void 0?void 0:s.call(n)}));const l=n==null?void 0:n.uiInfo;l&&this.subscription.add(i.ui.controlsVisible.subscribe(r=>{var o;return(o=l.onControlsVisibleChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.isMobile.subscribe(r=>{var o;return(o=l.onIsMobileChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.playerSize.subscribe(r=>{var o;return(o=l.onPlayerSizeChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.prevButton.subscribe(r=>{var o;return(o=l.onPrevButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.playButton.subscribe(r=>{var o;return(o=l.onPlayButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.replayButton.subscribe(r=>{var o;return(o=l.onReplayButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.nextButton.subscribe(r=>{var o;return(o=l.onNextButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.playPrevChapterButton.subscribe(r=>{var o;return(o=l.onPlayPrevChapterChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.seekToInteractiveButton.subscribe(r=>{var o;return(o=l.onSeekToInteractiveButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.interactiveGraphButton.subscribe(r=>{var o;return(o=l.onGraphButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.liveButton.subscribe(r=>{var o;return(o=l.onLiveButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.time.subscribe(r=>{var o;return(o=l.onTimeUpdateChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.episodes.subscribe(r=>{var o;return(o=l.onEpisodesChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.subtitles.subscribe(r=>{var o;return(o=l.onSubtitlesChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.settings.subscribe(r=>{var o;return(o=l.onSettingsChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.fullscreen.subscribe(r=>{var o;return(o=l.onFullscreenChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.chromecast.subscribe(r=>{var o;return(o=l.onChromecastChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.pip.subscribe(r=>{var o;return(o=l.onPipChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.vkLogo.subscribe(r=>{var o;return(o=l.onVkLogoChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.interactiveTimeIcon.subscribe(r=>{var o;return(o=l.onInteractiveTimeIconChanged)===null||o===void 0?void 0:o.call(l,r)}))}playNextVideo(){var e;if(!this.videoConfig)return;let i=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onNextVideoClick)try{i=this.videoConfig.callbacks.onNextVideoClick()}catch(n){this.log({message:"onNextVideoClick callback failed to execute"})}i&&(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 i=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onPrevVideoClick)try{i=this.videoConfig.callbacks.onPrevVideoClick()}catch(n){this.log({message:"onPrevVideoClick callback failed to execute"})}i&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,i=!0){var n;if(!this.videoConfig)return;const l=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!l){this.log({message:"no next video"});return}this.isInited&&te.isNonNullable(l.unitedVideoId)&&this.store.actions.internal.nextMovie(l.unitedVideoId),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(l,{autoplay:i,fromTime:0},e)}playPrevChapter(){var e;(e=this.interactiveController)===null||e===void 0||e.playPrevChapter()}seekToInteractive(){var e;const i=(e=this.interactiveController)===null||e===void 0?void 0:e.getNextInteractiveStartTime();typeof i=="number"&&this.seekTime(i/1e3)}toggleGraph(){var e,i;if(!this.isInited)return;const n=this.store,{isEnded$:l,playbackState$:r,graphIsOpened$:o}=n.state,{disabledControls$:s}=n.ui.controls,a=$e(l),c=$e(r);$e(o)?(o.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(Yr),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",o.set(!0),(i=this.interactiveController)===null||i===void 0||i.toggleGraphView(!0),s.add(Yr),!a&&this.graphMadePause&&this.pause())}initInteractives(){var e,i,n,l;return ni(this,void 0,void 0,function*(){if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:r,EVENT_NAMES:o,CustomError:s}=yield import("@vkontakte/videoplayer-interactive/es2015.cjs.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const a=(i=this.store)===null||i===void 0?void 0:i.interfaceLanguage$,c=a?$e(a):this.videoConfig.interfaceLanguage,{projectInfo:f,initChapterId:d,historyApi:h,videoLoader:b}=this.videoConfig.interactiveData;this.interactiveController=new r({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:c,graph:this.uiConfig.features.interactiveGraph,projectInfo:f,initChapterId:d,historyApi:h,vkVideoLoader:b,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,config:this.uiConfig.interactive,coreConfig:this.coreConfig}),yield this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:v}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(_=>{if(!this.isInited)return;const k=this.store;_?k.ui.controls.disabledControls$.remove(vt.SEEK_TO_INTERACTIVE_BUTTON):k.ui.controls.disabledControls$.add(vt.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(v.subscribe(_=>{this.store&&this.store.state.isInteractiveExpectation$.set(_)}));let w=!0;if(this.interactiveController.on(o.playerChanged,_=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]=Object.assign(Object.assign({},_.config),{title:(f==null?void 0:f.title)||_.config.title});const k=w?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(_.player,k),w&&(w=!1)}),this.interactiveController.on(o.interactives,({type:_,actionType:k})=>{var y,C,E,F;if(!this.store)return;const R=v.getValue();if(_==="action-choice"&&k==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(N1)),_==="action-choice-canceled"){const B=$e(this.store.state.isPlaying$)||R;if(!((y=this.videoConfig)===null||y===void 0)&&y.isMobile&&B){this.store.ui.interactiveHideMobileControls.set(!0);return}(F=(C=this.videoConfig)===null||C===void 0?void 0:(E=C.callbacks).onDisabledInteractiveClick)===null||F===void 0||F.call(E)}}),!((l=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||l===void 0)&&l.onInteractiveHistoryChanged){const _=this.interactiveController.getHistoryState();this.subscription.add(_.history$.subscribe(k=>{var y,C,E;k.length&&((E=(C=(y=this.videoConfig)===null||y===void 0?void 0:y.callbacks)===null||C===void 0?void 0:C.onInteractiveHistoryChanged)===null||E===void 0||E.call(C,k))}))}this.interactiveController.events.noInteraction$.subscribe(()=>{var _,k,y;(y=(_=this.videoConfig)===null||_===void 0?void 0:(k=_.callbacks).onInteractiveTimeIconClick)===null||y===void 0||y.call(k)}),this.interactiveController.on(o.errors,_=>{this.log({message:_.toString()})})}catch(r){this.log({message:r.message})}})}initInteractivesStatistics(){var e,i;return ni(this,void 0,void 0,function*(){const{statSubscription:n,oneStat:l}=this.statistics;if(!(!n||!l||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:r}=yield import("@vkontakte/videoplayer-interactive/es2015.cjs.js"),o={[r.GO_NEXT_BUTTON]:Pt.InteractiveInterfaceClick.NEXT_BUTTON,[r.GO_NEXT_AREA]:Pt.InteractiveInterfaceClick.NEXT_AREA,[r.WATCH_AGAIN]:Pt.InteractiveInterfaceClick.WATCH_AGAIN,[r.OPEN_GRAPH]:Pt.InteractiveInterfaceClick.GRAPH_SHOW,[r.CLOSE_GRAPH]:Pt.InteractiveInterfaceClick.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new te.Subject;s.subscribe(f=>{var d,h;f in o?c.next(o[f]):(l==null||l.logError({errorType:"InteractiveVideosAction",fatal:!1}),(h=(d=this.sentry).report)===null||h===void 0||h.call(d,new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),n.add(l.attachToInteractive({click$:c,nextMovie$:a}))}catch(r){l==null||l.logError({errorType:"InteractiveVideos",fatal:!1}),(i=(e=this.sentry).report)===null||i===void 0||i.call(e,r,{errorType:"InteractiveVideosAction",fatal:!1})}})}initPlayer(e,i={}){var n,l,r,o,s,a,c,f,d,h,b,v,w,_,k,y,C,E,F;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=C1(g6,te.cloneDeepWith(e,R=>R instanceof HTMLElement?R:void 0)),this.uiConfig=I0((n=i.ui)!==null&&n!==void 0?n:{}),this.coreConfig=(l=i.core)!==null&&l!==void 0?l:{configName:[]},this.statisticsConfig=(r=i.statistics)!==null&&r!==void 0?r:{},this.sentry={config:(o=this.uiConfig.sentry)!==null&&o!==void 0?o:{}},te.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(s=this.videoConfig.isMediaSessionEnabled)!==null&&s!==void 0?s:!0),te.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=(d=(f=this.uiConfig.features.dpip)!==null&&f!==void 0?f:this.videoConfig.isPictureInPictureEnabled)!==null&&d!==void 0?d:!0),this.videoConfig.isMobile=(h=this.uiConfig.isMobile)!==null&&h!==void 0?h:this.videoConfig.isMobile,(E=this.videoConfig).autoplay&&(E.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(b=this.uiConfig.ads.enable)!==null&&b!==void 0?b:this.videoConfig.showAds,this.videoConfig.adsSlotId=(v=this.uiConfig.ads.slot)!==null&&v!==void 0?v:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(w=this.uiConfig.ads.preview)!==null&&w!==void 0?w:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((_=this.uiConfig.showLogo)!==null&&_!==void 0?_:!this.videoConfig.logoHidden),(F=this.videoConfig).canRewindLive&&(F.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(k=this.videoConfig.supportLink)!==null&&k!==void 0?k:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=r6.getLatestSupportedVersion():this.pictureInPictureApi=new yr),this.mediaSessionApi=this.uiConfig.features.mediaSession?new X_:void 0,this.annotationsApi=this.uiConfig.features.annotations?new d6(this.rootContainer):void 0,(y=this.svelteStubComponent)===null||y===void 0||y.$destroy(),(C=this.svelteRootComponent)===null||C===void 0||C.$destroy(),this.isInited=!1,this.prevIsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),l6(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){var i;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();(i=this.svelteRootComponent)===null||i===void 0||i.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,i;this.mediaSessionApi&&((e=this.unsubscribePlayerPhaseSubscription)===null||e===void 0||e.call(this),this.unsubscribePlayerPhaseSubscription=(i=this.store)===null||i===void 0?void 0:i.playerPhase.subscribe(n=>{n===De.Video?this.setupMediaSessionForVideo():n===De.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:i}=Object.assign({},this.videoConfig.videos[this.currentPlayingVideoIndex]),n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",l=>this.seekTime(l.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:i}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",i=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(i)}catch(e){this.log({message:e.message})}}play(){var e,i;this.isControlDisabled(vt.PLAY_BUTTON)||!((e=this.store)===null||e===void 0)&&e.playerPhase.is(De.WaitingLive)||(this.log({message:"play"}),(i=this.svelteRootComponent)===null||i===void 0||i.play())}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,i;if(!this.videoConfig)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.videoConfig.videos[0];n&&((i=this.svelteRootComponent)===null||i===void 0||i.$destroy(),this.createPlayer(n))}setMuted(e){var i;this.log({message:`set muted, muted: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setMuted(e)}setVolume(e){var i;this.log({message:`set volume, volume: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setVolume(e)}setRepeat(e){var i;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(i=this.svelteRootComponent)===null||i===void 0||i.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var i;this.isControlDisabled(vt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.seekTime(e))}seekEpisodeStartTime(e){var i;this.log({message:`seek episode start time, time: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.seekEpisodeStartTime(e)}returnFocusToEpisodes(){var e;this.log({message:"return focus to episodes button"}),(e=this.svelteRootComponent)===null||e===void 0||e.returnFocusToEpisodes()}setPlaybackRate(e){var i;this.log({message:`set playback rate to: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setPlaybackRate(e)}setAutoQualityLimits(e){var i,n,l;this.log({message:`set auto quality limitation. Max: ${(i=e.max)!==null&&i!==void 0?i:"none"}. Min: ${(n=e.min)!==null&&n!==void 0?n:"none"}`}),(l=this.svelteRootComponent)===null||l===void 0||l.setAutoQualityLimits(e)}addLanguage(e){var i;(i=this.store)===null||i===void 0||i.actions.internal.addLanguage(e)}setLanguage(e){var i;return ni(this,void 0,void 0,function*(){yield(i=this.store)===null||i===void 0?void 0:i.actions.internal.setLanguage(e)})}setLiveStart(e){var i,n;this.log({message:"live started"}),(i=this.store)===null||i===void 0||i.actions.internal.setWaitingLive(!1),(n=this.svelteRootComponent)===null||n===void 0||n.initVideo(e),this.play()}setWaitRecord(){var e,i;this.log({message:"post live"}),(e=this.store)===null||e===void 0||e.actions.internal.setWaitingRecord(!0),(i=this.store)===null||i===void 0||i.destroy()}setLiveEnd(e){var i,n;this.log({message:"live ended"}),(i=this.store)===null||i===void 0||i.actions.internal.setWaitingRecord(!1),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){var e,i;return(i=(e=this.statistics)===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&i!==void 0?i: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 et.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return et.VideoQuality}});Object.defineProperty(exports,"InterfaceLanguage",{enumerable:!0,get:function(){return te.InterfaceLanguage}});Object.defineProperty(exports,"VKNumericLanguage",{enumerable:!0,get:function(){return te.VKNumericLanguage}});Object.defineProperty(exports,"loadVKLangPack",{enumerable:!0,get:function(){return te.loadVKLangPack}});exports.VERSION=_l;exports.registerPlayerWebComponent=_6;
|