@vkontakte/videoplayer 1.1.35-dev.2b16c033.0 → 1.1.35-dev.9ff57f0f.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 +4 -4
- package/es2015.esm.js +4 -4
- package/es2018.cjs.js +4 -4
- package/es2018.esm.js +4 -4
- package/esnext.cjs.js +4 -4
- package/esnext.esm.js +4 -4
- package/evergreen.esm.js +11 -11
- package/package.json +1 -1
package/esnext.cjs.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vkontakte/videoplayer v1.1.35-dev.
|
|
3
|
-
* Tue, 21 May 2024
|
|
2
|
+
* @vkontakte/videoplayer v1.1.35-dev.9ff57f0f.0
|
|
3
|
+
* Tue, 21 May 2024 08:07:59 GMT
|
|
4
4
|
* https://st.mycdn.me/static/vkontakte-videoplayer/1-1-35/doc/
|
|
5
5
|
*/
|
|
6
|
-
"use strict";var ic=Object.create;var Dl=Object.defineProperty;var nc=Object.getOwnPropertyDescriptor;var oc=Object.getOwnPropertyNames;var lc=Object.getPrototypeOf,sc=Object.prototype.hasOwnProperty;var rc=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of oc(e))!sc.call(t,o)&&o!==i&&Dl(t,o,{get:()=>e[o],enumerable:!(n=nc(e,o))||n.enumerable});return t};var Fl=(t,e,i)=>(i=t!=null?ic(lc(t)):{},rc(e||!t||!t.__esModule?Dl(i,"default",{value:t,enumerable:!0}):i,t));var Qe=require("@vkontakte/videoplayer-core/esnext.cjs.js"),te=require("@vkontakte/videoplayer-shared/esnext.cjs.js"),ut=require("@vkontakte/videoplayer-statistics/esnext.cjs.js");function Z(){}function Qa(t,e){for(const i in e)t[i]=e[i];return t}function Xa(t){return t()}function Hl(){return Object.create(null)}function et(t){t.forEach(Xa)}function pn(t){return typeof t=="function"}function he(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let Vo;function Ul(t,e){return Vo||(Vo=document.createElement("a")),Vo.href=e,t===Vo.href}function ac(t){return Object.keys(t).length===0}function Gt(t,...e){if(t==null){for(const n of e)n(void 0);return Z}const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function Ye(t){let e;return Gt(t,i=>e=i)(),e}function D(t,e,i){t.$$.on_destroy.push(Gt(e,i))}function Tn(t,e,i,n){if(t){const o=Ja(t,e,i,n);return t[0](o)}}function Ja(t,e,i,n){return t[1]&&n?Qa(i.ctx.slice(),t[1](n(e))):i.ctx}function En(t,e,i,n){if(t[2]&&n){const o=t[2](n(i));if(e.dirty===void 0)return o;if(typeof o=="object"){const s=[],l=Math.max(e.dirty.length,o.length);for(let r=0;r<l;r+=1)s[r]=e.dirty[r]|o[r];return s}return e.dirty|o}return e.dirty}function An(t,e,i,n,o,s){if(o){const l=Ja(e,i,n,s);t.p(l,o)}}function Ln(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 uc(t){return t??""}const xa=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function p(t,e){t.appendChild(e)}function ze(t,e,i){const n=cc(t);if(!n.getElementById(e)){const o=A("style");o.id=e,o.textContent=i,fc(n,o)}}function cc(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function fc(t,e){return p(t.head||t,e),e.sheet}function E(t,e,i){t.insertBefore(e,i||null)}function T(t){t.parentNode&&t.parentNode.removeChild(t)}function hn(t,e){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(e)}function A(t){return document.createElement(t)}function R(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Re(t){return document.createTextNode(t)}function z(){return Re(" ")}function lt(){return Re("")}function pe(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function Qt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function it(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 dc(t){return Array.from(t.childNodes)}function Xe(t,e){e=""+e,t.data!==e&&(t.data=e)}function Ct(t,e,i,n){i==null?t.style.removeProperty(e):t.style.setProperty(e,i,n?"important":"")}let Mo;function mc(){if(Mo===void 0){Mo=!1;try{typeof window<"u"&&window.parent&&window.parent.document}catch{Mo=!0}}return Mo}function hl(t,e){getComputedStyle(t).position==="static"&&(t.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=mc();let s;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=pe(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{s=pe(n.contentWindow,"resize",e),e()}),p(t,n),()=>{(o||s&&n.contentWindow)&&s(),T(n)}}function N(t,e,i){t.classList.toggle(e,!!i)}function vn(t,e){return new t(e)}let ko;function wo(t){ko=t}function Co(){if(!ko)throw new Error("Function called outside component initialization");return ko}function tn(t){Co().$$.on_mount.push(t)}function Wo(t){Co().$$.on_destroy.push(t)}function ul(t,e){return Co().$$.context.set(t,e),e}function gl(t){return Co().$$.context.get(t)}function $a(){return Co().$$.context}function uo(t,e){const i=t.$$.callbacks[e.type];i&&i.slice().forEach(n=>n.call(this,e))}const lo=[],we=[];let ro=[];const cl=[],e1=Promise.resolve();let fl=!1;function t1(){fl||(fl=!0,e1.then(i1))}function So(){return t1(),e1}function co(t){ro.push(t)}function Fe(t){cl.push(t)}const $o=new Set;let io=0;function i1(){if(io!==0)return;const t=ko;do{try{for(;io<lo.length;){const e=lo[io];io++,wo(e),pc(e.$$)}}catch(e){throw lo.length=0,io=0,e}for(wo(null),lo.length=0,io=0;we.length;)we.pop()();for(let e=0;e<ro.length;e+=1){const i=ro[e];$o.has(i)||($o.add(i),i())}ro.length=0}while(lo.length);for(;cl.length;)cl.pop()();fl=!1,$o.clear(),wo(t)}function pc(t){if(t.fragment!==null){t.update(),et(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(co)}}function hc(t){const e=[],i=[];ro.forEach(n=>t.indexOf(n)===-1?e.push(n):i.push(n)),i.forEach(n=>n()),ro=e}const Uo=new Set;let jn;function de(){jn={r:0,c:[],p:jn}}function me(){jn.r||et(jn.c),jn=jn.p}function d(t,e){t&&t.i&&(Uo.delete(t),t.i(e))}function b(t,e,i,n){if(t&&t.o){if(Uo.has(t))return;Uo.add(t),jn.c.push(()=>{Uo.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}function Ft(t){return t?.length!==void 0?t:Array.from(t)}function gc(t,e){const i={},n={},o={$$scope:1};let s=t.length;for(;s--;){const l=t[s],r=e[s];if(r){for(const a in l)a in r||(n[a]=1);for(const a in r)o[a]||(i[a]=r[a],o[a]=1);t[s]=r}else for(const a in l)o[a]=1}for(const l in n)l in i||(i[l]=void 0);return i}function bc(t){return typeof t=="object"&&t!==null?t:{}}function He(t,e,i){const n=t.$$.props[e];n!==void 0&&(t.$$.bound[n]=i,i(t.$$.ctx[n]))}function U(t){t&&t.c()}function F(t,e,i){const{fragment:n,after_update:o}=t.$$;n&&n.m(e,i),co(()=>{const s=t.$$.on_mount.map(Xa).filter(pn);t.$$.on_destroy?t.$$.on_destroy.push(...s):et(s),t.$$.on_mount=[]}),o.forEach(co)}function H(t,e){const i=t.$$;i.fragment!==null&&(hc(i.after_update),et(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function _c(t,e){t.$$.dirty[0]===-1&&(lo.push(t),t1(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ge(t,e,i,n,o,s,l,r=[-1]){const a=ko;wo(t);const c=t.$$={fragment:null,ctx:[],props:s,update:Z,not_equal:o,bound:Hl(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:Hl(),dirty:r,skip_bound:!1,root:e.target||a.$$.root};l&&l(c.root);let f=!1;if(c.ctx=i?i(t,e.props||{},(m,h,...v)=>{const g=v.length?v[0]:h;return c.ctx&&o(c.ctx[m],c.ctx[m]=g)&&(!c.skip_bound&&c.bound[m]&&c.bound[m](g),f&&_c(t,m)),h}):[],c.update(),f=!0,et(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const m=dc(e.target);c.fragment&&c.fragment.l(m),m.forEach(T)}else c.fragment&&c.fragment.c();e.intro&&d(t.$$.fragment),F(t,e.target,e.anchor),i1()}wo(a)}class be{$$=void 0;$$set=void 0;$destroy(){H(this,1),this.$destroy=Z}$on(e,i){if(!pn(i))return Z;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const o=n.indexOf(i);o!==-1&&n.splice(o,1)}}$set(e){this.$$set&&!ac(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const vc="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(vc);var fo;(function(t){t.VK="vk",t.VK_VIDEO="vk_video"})(fo||(fo={}));const wc={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:fo.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}},kc=t=>te.fillWithDefault(t,wc),yc=t=>ul("ui-config",t),nn=()=>gl("ui-config"),dl="vk_player_debug_panel_opened",n1=300,Cc=100,Sc="videoplayer",Pc="videoplayer";var Te;(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"})(Te||(Te={}));const Po={[Te.KeyF]:"f",[Te.KeyK]:"k",[Te.KeyC]:"c",[Te.KeyM]:"m"},Tc=new Set([Te.ArrowLeft,Te.ArrowRight,Te.KeyL,Te.KeyJ]),Ec=new Set([Te.Tab,Te.Space,Te.ArrowLeft,Te.ArrowRight,Te.ArrowUp,Te.ArrowDown]),Ac=new Set([Te.ShiftRight,Te.ShiftLeft]);var ot;(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"})(ot||(ot={}));const ql=40,o1=260,Lc=60,Bo=8,l1=[ot.TIMELINE],qo=[...l1,ot.GRAPH_BUTTON],jl=[...l1,ot.PLAY_BUTTON],s1=[...qo,ot.PLAY_BUTTON];var so;(function(t){t[t.XS=320]="XS",t[t.S=509]="S",t[t.M=599]="M",t[t.L=699]="L"})(so||(so={}));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 mo={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},no=[];function _n(t,e){return{subscribe:Ae(t,e).subscribe}}function Ae(t,e=Z){let i;const n=new Set;function o(r){if(he(t,r)&&(t=r,i)){const a=!no.length;for(const c of n)c[1](),no.push(c,t);if(a){for(let c=0;c<no.length;c+=2)no[c][0](no[c+1]);no.length=0}}}function s(r){o(r(t))}function l(r,a=Z){const c=[r,a];return n.add(c),n.size===1&&(i=e(o,s)||Z),r(t),()=>{n.delete(c),n.size===0&&i&&(i(),i=null)}}return{set:o,update:s,subscribe:l}}function li(t,e,i){const n=!Array.isArray(t),o=n?[t]:t;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=e.length<2;return _n(i,(l,r)=>{let a=!1;const c=[];let f=0,m=Z;const h=()=>{if(f)return;m();const g=e(n?c[0]:c,l,r);s?l(g):m=pn(g)?g:Z},v=o.map((g,w)=>Gt(g,_=>{c[w]=_,f&=~(1<<w),a&&h()},()=>{f|=1<<w}));return a=!0,h(),function(){et(v),m(),a=!1}})}const Ic="prod",Ko="1.1.35-dev.2b16c033.0",r1=(t,e,i)=>{const n=document.createElement("a");n.href=t,n.download=`${e}.${i}`,n.style.display="none",n.click()},a1=Symbol("storeContext"),u1=Symbol("microStoresContext"),Vc=(t,e)=>{ul(a1,t),ul(u1,e)},ct=()=>{const t=gl(a1);return te.assertNonNullable(t,"Store context is empty!"),t},Go=()=>{const t=gl(u1);return te.assertNonNullable(t,"MicroStores context is empty!"),t},mt=(t,e)=>c1(t,t.getValue(),e),c1=(t,e,i)=>_n(e,n=>{const o=t.subscribe(s=>{n(s),i?.(s)});return()=>o.unsubscribe()}),Mc=(t,e,i)=>{const n=t.info,{width:o,height:s}=Ye(i.ui.playerSize),l=n.throughputEstimation$.getValue()?.toFixed(0)??0,r=n.rttEstimation$.getValue()?.toFixed(0)??0,a=n.isAutoQualityEnabled$.getValue()?"auto":"manual",c=`${Ko} (core: ${Qe.VERSION}, stat: ${ut.VERSION}, shared: ${te.VERSION})`,f=Ye(i.state.errorLog$),m=f.length?`
|
|
6
|
+
"use strict";var ic=Object.create;var Dl=Object.defineProperty;var nc=Object.getOwnPropertyDescriptor;var oc=Object.getOwnPropertyNames;var lc=Object.getPrototypeOf,sc=Object.prototype.hasOwnProperty;var rc=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of oc(e))!sc.call(t,o)&&o!==i&&Dl(t,o,{get:()=>e[o],enumerable:!(n=nc(e,o))||n.enumerable});return t};var Fl=(t,e,i)=>(i=t!=null?ic(lc(t)):{},rc(e||!t||!t.__esModule?Dl(i,"default",{value:t,enumerable:!0}):i,t));var Qe=require("@vkontakte/videoplayer-core/esnext.cjs.js"),te=require("@vkontakte/videoplayer-shared/esnext.cjs.js"),ut=require("@vkontakte/videoplayer-statistics/esnext.cjs.js");function Z(){}function Qa(t,e){for(const i in e)t[i]=e[i];return t}function Xa(t){return t()}function Hl(){return Object.create(null)}function et(t){t.forEach(Xa)}function pn(t){return typeof t=="function"}function he(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let Vo;function Ul(t,e){return Vo||(Vo=document.createElement("a")),Vo.href=e,t===Vo.href}function ac(t){return Object.keys(t).length===0}function Gt(t,...e){if(t==null){for(const n of e)n(void 0);return Z}const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function Ye(t){let e;return Gt(t,i=>e=i)(),e}function D(t,e,i){t.$$.on_destroy.push(Gt(e,i))}function Tn(t,e,i,n){if(t){const o=Ja(t,e,i,n);return t[0](o)}}function Ja(t,e,i,n){return t[1]&&n?Qa(i.ctx.slice(),t[1](n(e))):i.ctx}function En(t,e,i,n){if(t[2]&&n){const o=t[2](n(i));if(e.dirty===void 0)return o;if(typeof o=="object"){const s=[],l=Math.max(e.dirty.length,o.length);for(let r=0;r<l;r+=1)s[r]=e.dirty[r]|o[r];return s}return e.dirty|o}return e.dirty}function An(t,e,i,n,o,s){if(o){const l=Ja(e,i,n,s);t.p(l,o)}}function Ln(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 uc(t){return t??""}const xa=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function p(t,e){t.appendChild(e)}function ze(t,e,i){const n=cc(t);if(!n.getElementById(e)){const o=A("style");o.id=e,o.textContent=i,fc(n,o)}}function cc(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function fc(t,e){return p(t.head||t,e),e.sheet}function E(t,e,i){t.insertBefore(e,i||null)}function T(t){t.parentNode&&t.parentNode.removeChild(t)}function hn(t,e){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(e)}function A(t){return document.createElement(t)}function R(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Re(t){return document.createTextNode(t)}function z(){return Re(" ")}function lt(){return Re("")}function pe(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function Qt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function it(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 dc(t){return Array.from(t.childNodes)}function Xe(t,e){e=""+e,t.data!==e&&(t.data=e)}function Ct(t,e,i,n){i==null?t.style.removeProperty(e):t.style.setProperty(e,i,n?"important":"")}let Mo;function mc(){if(Mo===void 0){Mo=!1;try{typeof window<"u"&&window.parent&&window.parent.document}catch{Mo=!0}}return Mo}function hl(t,e){getComputedStyle(t).position==="static"&&(t.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=mc();let s;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=pe(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{s=pe(n.contentWindow,"resize",e),e()}),p(t,n),()=>{(o||s&&n.contentWindow)&&s(),T(n)}}function N(t,e,i){t.classList.toggle(e,!!i)}function vn(t,e){return new t(e)}let ko;function wo(t){ko=t}function Co(){if(!ko)throw new Error("Function called outside component initialization");return ko}function tn(t){Co().$$.on_mount.push(t)}function Wo(t){Co().$$.on_destroy.push(t)}function ul(t,e){return Co().$$.context.set(t,e),e}function gl(t){return Co().$$.context.get(t)}function $a(){return Co().$$.context}function uo(t,e){const i=t.$$.callbacks[e.type];i&&i.slice().forEach(n=>n.call(this,e))}const lo=[],we=[];let ro=[];const cl=[],e1=Promise.resolve();let fl=!1;function t1(){fl||(fl=!0,e1.then(i1))}function So(){return t1(),e1}function co(t){ro.push(t)}function Fe(t){cl.push(t)}const $o=new Set;let io=0;function i1(){if(io!==0)return;const t=ko;do{try{for(;io<lo.length;){const e=lo[io];io++,wo(e),pc(e.$$)}}catch(e){throw lo.length=0,io=0,e}for(wo(null),lo.length=0,io=0;we.length;)we.pop()();for(let e=0;e<ro.length;e+=1){const i=ro[e];$o.has(i)||($o.add(i),i())}ro.length=0}while(lo.length);for(;cl.length;)cl.pop()();fl=!1,$o.clear(),wo(t)}function pc(t){if(t.fragment!==null){t.update(),et(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(co)}}function hc(t){const e=[],i=[];ro.forEach(n=>t.indexOf(n)===-1?e.push(n):i.push(n)),i.forEach(n=>n()),ro=e}const Uo=new Set;let jn;function de(){jn={r:0,c:[],p:jn}}function me(){jn.r||et(jn.c),jn=jn.p}function d(t,e){t&&t.i&&(Uo.delete(t),t.i(e))}function b(t,e,i,n){if(t&&t.o){if(Uo.has(t))return;Uo.add(t),jn.c.push(()=>{Uo.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}function Ft(t){return t?.length!==void 0?t:Array.from(t)}function gc(t,e){const i={},n={},o={$$scope:1};let s=t.length;for(;s--;){const l=t[s],r=e[s];if(r){for(const a in l)a in r||(n[a]=1);for(const a in r)o[a]||(i[a]=r[a],o[a]=1);t[s]=r}else for(const a in l)o[a]=1}for(const l in n)l in i||(i[l]=void 0);return i}function bc(t){return typeof t=="object"&&t!==null?t:{}}function He(t,e,i){const n=t.$$.props[e];n!==void 0&&(t.$$.bound[n]=i,i(t.$$.ctx[n]))}function U(t){t&&t.c()}function F(t,e,i){const{fragment:n,after_update:o}=t.$$;n&&n.m(e,i),co(()=>{const s=t.$$.on_mount.map(Xa).filter(pn);t.$$.on_destroy?t.$$.on_destroy.push(...s):et(s),t.$$.on_mount=[]}),o.forEach(co)}function H(t,e){const i=t.$$;i.fragment!==null&&(hc(i.after_update),et(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function _c(t,e){t.$$.dirty[0]===-1&&(lo.push(t),t1(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ge(t,e,i,n,o,s,l,r=[-1]){const a=ko;wo(t);const c=t.$$={fragment:null,ctx:[],props:s,update:Z,not_equal:o,bound:Hl(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:Hl(),dirty:r,skip_bound:!1,root:e.target||a.$$.root};l&&l(c.root);let f=!1;if(c.ctx=i?i(t,e.props||{},(m,h,...v)=>{const g=v.length?v[0]:h;return c.ctx&&o(c.ctx[m],c.ctx[m]=g)&&(!c.skip_bound&&c.bound[m]&&c.bound[m](g),f&&_c(t,m)),h}):[],c.update(),f=!0,et(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const m=dc(e.target);c.fragment&&c.fragment.l(m),m.forEach(T)}else c.fragment&&c.fragment.c();e.intro&&d(t.$$.fragment),F(t,e.target,e.anchor),i1()}wo(a)}class be{$$=void 0;$$set=void 0;$destroy(){H(this,1),this.$destroy=Z}$on(e,i){if(!pn(i))return Z;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const o=n.indexOf(i);o!==-1&&n.splice(o,1)}}$set(e){this.$$set&&!ac(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const vc="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(vc);var fo;(function(t){t.VK="vk",t.VK_VIDEO="vk_video"})(fo||(fo={}));const wc={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:fo.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}},kc=t=>te.fillWithDefault(t,wc),yc=t=>ul("ui-config",t),nn=()=>gl("ui-config"),dl="vk_player_debug_panel_opened",n1=300,Cc=100,Sc="videoplayer",Pc="videoplayer";var Te;(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"})(Te||(Te={}));const Po={[Te.KeyF]:"f",[Te.KeyK]:"k",[Te.KeyC]:"c",[Te.KeyM]:"m"},Tc=new Set([Te.ArrowLeft,Te.ArrowRight,Te.KeyL,Te.KeyJ]),Ec=new Set([Te.Tab,Te.Space,Te.ArrowLeft,Te.ArrowRight,Te.ArrowUp,Te.ArrowDown]),Ac=new Set([Te.ShiftRight,Te.ShiftLeft]);var ot;(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"})(ot||(ot={}));const ql=40,o1=260,Lc=60,Bo=8,l1=[ot.TIMELINE],qo=[...l1,ot.GRAPH_BUTTON],jl=[...l1,ot.PLAY_BUTTON],s1=[...qo,ot.PLAY_BUTTON];var so;(function(t){t[t.XS=320]="XS",t[t.S=509]="S",t[t.M=599]="M",t[t.L=699]="L"})(so||(so={}));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 mo={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},no=[];function _n(t,e){return{subscribe:Ae(t,e).subscribe}}function Ae(t,e=Z){let i;const n=new Set;function o(r){if(he(t,r)&&(t=r,i)){const a=!no.length;for(const c of n)c[1](),no.push(c,t);if(a){for(let c=0;c<no.length;c+=2)no[c][0](no[c+1]);no.length=0}}}function s(r){o(r(t))}function l(r,a=Z){const c=[r,a];return n.add(c),n.size===1&&(i=e(o,s)||Z),r(t),()=>{n.delete(c),n.size===0&&i&&(i(),i=null)}}return{set:o,update:s,subscribe:l}}function li(t,e,i){const n=!Array.isArray(t),o=n?[t]:t;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=e.length<2;return _n(i,(l,r)=>{let a=!1;const c=[];let f=0,m=Z;const h=()=>{if(f)return;m();const g=e(n?c[0]:c,l,r);s?l(g):m=pn(g)?g:Z},v=o.map((g,w)=>Gt(g,_=>{c[w]=_,f&=~(1<<w),a&&h()},()=>{f|=1<<w}));return a=!0,h(),function(){et(v),m(),a=!1}})}const Ic="prod",Ko="1.1.35-dev.9ff57f0f.0",r1=(t,e,i)=>{const n=document.createElement("a");n.href=t,n.download=`${e}.${i}`,n.style.display="none",n.click()},a1=Symbol("storeContext"),u1=Symbol("microStoresContext"),Vc=(t,e)=>{ul(a1,t),ul(u1,e)},ct=()=>{const t=gl(a1);return te.assertNonNullable(t,"Store context is empty!"),t},Go=()=>{const t=gl(u1);return te.assertNonNullable(t,"MicroStores context is empty!"),t},mt=(t,e)=>c1(t,t.getValue(),e),c1=(t,e,i)=>_n(e,n=>{const o=t.subscribe(s=>{n(s),i?.(s)});return()=>o.unsubscribe()}),Mc=(t,e,i)=>{const n=t.info,{width:o,height:s}=Ye(i.ui.playerSize),l=n.throughputEstimation$.getValue()?.toFixed(0)??0,r=n.rttEstimation$.getValue()?.toFixed(0)??0,a=n.isAutoQualityEnabled$.getValue()?"auto":"manual",c=`${Ko} (core: ${Qe.VERSION}, stat: ${ut.VERSION}, shared: ${te.VERSION})`,f=Ye(i.state.errorLog$),m=f.length?`
|
|
7
7
|
`+f.map((g,w)=>{const _=`${w}) Type: ${g.id}
|
|
8
8
|
`,P=`Message: ${g.message} (${g.thrown})
|
|
9
9
|
`,k=`Trace: ${g.thrown?.stack}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
rgba(0, 0, 0, 0.55) 88%,
|
|
23
23
|
rgba(0, 0, 0, 0.65) 100%
|
|
24
24
|
)}`)}function Yl(t){let e;return{c(){e=A("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(i,n){E(i,e,n)},d(i){i&&T(e)}}}function Ql(t){let e,i;return e=new ff({props:{position:t[5],secondsToWatchBeforeSkip:t[6],skipAd:t[8].actions.internal.skipAd}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&32&&(s.position=n[5]),o&64&&(s.secondsToWatchBeforeSkip=n[6]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Xl(t){let e,i;return e=new lf({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Jl(t){let e,i;return e=new pf({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function gf(t){let e,i,n,o,s,l,r,a=t[0]&&Yl(),c=t[3]&&Ql(t),f=t[7]&&Xl(),m=t[4]&&Jl();return{c(){e=A("div"),a&&a.c(),i=z(),n=A("video"),o=z(),c&&c.c(),s=z(),f&&f.c(),l=z(),m&&m.c(),Ct(n,"width","100%"),Ct(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,v){E(h,e,v),a&&a.m(e,null),p(e,i),p(e,n),t[19](n),p(e,o),c&&c.m(e,null),p(e,s),f&&f.m(e,null),p(e,l),m&&m.m(e,null),t[20](e),r=!0},p(h,[v]){h[0]?a||(a=Yl(),a.c(),a.m(e,i)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,v),v&8&&d(c,1)):(c=Ql(h),c.c(),d(c,1),c.m(e,s)):c&&(de(),b(c,1,1,()=>{c=null}),me()),h[7]?f?v&128&&d(f,1):(f=Xl(),f.c(),d(f,1),f.m(e,l)):f&&(de(),b(f,1,1,()=>{f=null}),me()),h[4]?m?v&16&&d(m,1):(m=Jl(),m.c(),d(m,1),m.m(e,null)):m&&(de(),b(m,1,1,()=>{m=null}),me())},i(h){r||(d(c),d(f),d(m),r=!0)},o(h){b(c),b(f),b(m),r=!1},d(h){h&&T(e),a&&a.d(),t[19](null),c&&c.d(),f&&f.d(),m&&m.d(),t[20](null)}}}function bf(t,e,i){let n,o,s,l,r,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:m=0}=e;const h=ct(),v=h.state.isEnded$;D(t,v,I=>i(7,r=I));const g=h.ui.isMobile;D(t,g,I=>i(0,o=I));let w,_,P=!1;const k=h.ads.playbackState;D(t,k,I=>i(18,n=I));const C=h.ads.canSkip,V=h.ads.position;D(t,V,I=>i(5,s=I));const ne=h.ads.secondsToWatchBeforeSkip;D(t,ne,I=>i(6,l=I));let M,G;tn(()=>{const I=new AbortController;let ie=()=>{I.abort()};const O=h.getAdmanWrapper();if(!a){O.onAdmanLoadingError();return}const{width:X,height:se}=Ye(h.ui.playerSize),S=Ye(h.ui.isFullscreen),le=Ye(h.ui.isAutoplay),W={width:X,height:se,isFullscreen:S,isAutoplay:le,adsContainer:w,adsVideoElement:_,slotId:a,params:c,previewParam:f,duration:m};return window.AdmanHTML?(O.initAdman(W),P=!0):O.loadAdman(I.signal).then(()=>{O.initAdman(W),P=!0}).catch(()=>{O.onAdmanLoadingError()}),()=>{!P&&ie()}});function B(I){we[I?"unshift":"push"](()=>{_=I,i(2,_)})}function x(I){we[I?"unshift":"push"](()=>{w=I,i(1,w)})}return t.$$set=I=>{"adsSlotId"in I&&i(14,a=I.adsSlotId),"adsParams"in I&&i(15,c=I.adsParams),"adsPreviewParam"in I&&i(16,f=I.adsPreviewParam),"duration"in I&&i(17,m=I.duration)},t.$$.update=()=>{t.$$.dirty&262144&&i(3,M=C&&n!==Yt.INACTIVE),t.$$.dirty&262145&&i(4,G=o&&n!==Yt.INACTIVE)},[o,w,_,M,G,s,l,r,h,v,g,k,V,ne,a,c,f,m,n,B,x]}class E1 extends be{constructor(e){super(),ge(this,e,bf,gf,he,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},hf)}}const Pn=t=>{if(!isFinite(t))return"00:00";let e=Math.round(t);const i=Math.floor(e/(60*60));e-=i*(60*60);const n=Math.floor(e/60);return e-=n*60,(i>0?[i,n,e]:[n,e]).map(s=>s>9?String(s):`0${s}`).join(":")};function _f(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(i,"fill","none"),u(i,"stroke","#fff"),u(i,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(o,s){E(o,e,s),p(e,i),p(e,n)},d(o){o&&T(e)}}}function vf(t){let e,i,n;return{c(){e=R("svg"),i=R("rect"),n=R("path"),u(i,"width","42"),u(i,"height","20"),u(i,"rx","5"),u(i,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(o,s){E(o,e,s),p(e,i),p(e,n)},d(o){o&&T(e)}}}function wf(t){let e;function i(s,l){return s[0]?vf:_f}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n!==(n=i(s))&&(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(s){s&&T(e),o.d(s)}}}function kf(t,e,i){let{isActive:n=!1}=e;return t.$$set=o=>{"isActive"in o&&i(0,n=o.isActive)},[n]}class A1 extends be{constructor(e){super(),ge(this,e,kf,wf,he,{isActive:0})}}function yf(t){ze(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 Cf(t){let e=Pn(t[4]-t[3])+"",i;return{c(){i=Re(e)},m(n,o){E(n,i,o)},p(n,o){o&24&&e!==(e=Pn(n[4]-n[3])+"")&&Xe(i,e)},i:Z,o:Z,d(n){n&&T(i)}}}function Sf(t){let e,i,n;return i=new A1({props:{isActive:!0}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,s){E(o,e,s),F(i,e,null),n=!0},p:Z,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function Pf(t){let e,i,n,o,s,l,r;const a=[Sf,Cf],c=[];function f(m,h){return m[1]?0:1}return s=f(t),l=c[s]=a[s](t),{c(){e=A("div"),i=A("div"),i.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=z(),o=A("span"),l.c(),u(i,"class","thumb-timer-equalizer v-7pnl2h"),u(o,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),N(e,"live",t[1]),N(e,"hidden",t[0]),N(e,"playing",t[2])},m(m,h){E(m,e,h),p(e,i),p(e,n),p(e,o),c[s].m(o,null),r=!0},p(m,[h]){let v=s;s=f(m),s===v?c[s].p(m,h):(de(),b(c[v],1,1,()=>{c[v]=null}),me(),l=c[s],l?l.p(m,h):(l=c[s]=a[s](m),l.c()),d(l,1),l.m(o,null)),(!r||h&2)&&N(e,"live",m[1]),(!r||h&1)&&N(e,"hidden",m[0]),(!r||h&4)&&N(e,"playing",m[2])},i(m){r||(d(l),r=!0)},o(m){b(l),r=!1},d(m){m&&T(e),c[s].d()}}}function Tf(t,e,i){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:s=!1}=e,{position:l}=e,{duration:r}=e;return t.$$set=a=>{"isHidden"in a&&i(0,n=a.isHidden),"isLive"in a&&i(1,o=a.isLive),"isPlaying"in a&&i(2,s=a.isPlaying),"position"in a&&i(3,l=a.position),"duration"in a&&i(4,r=a.duration)},[n,o,s,l,r]}class L1 extends be{constructor(e){super(),ge(this,e,Tf,Pf,he,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},yf)}}const pl=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)}}},Wn=t=>{t.stopPropagation(),t.preventDefault()},Ef=t=>{let e=t.previousElementSibling;e||(e=t.parentNode?.lastElementChild),e?.focus()},Af=t=>{let e=t.nextElementSibling;e||(e=t.parentNode?.firstElementChild),e?.focus()},Lf=t=>{const e=t.code;return e===Te.Tab&&!t.shiftKey||e===Te.ArrowDown},If=t=>{const e=t.code;return e===Te.Tab||e===Te.ArrowUp},I1=t=>t.code===Te.Escape,Vf=t=>t.code===Te.ArrowLeft,V1=(t,e=!0)=>{const i=t.code;return[Te.Enter,Te.Space].includes(i)||!e&&i===Te.ArrowRight},M1=t=>{if(Lf(t)){Wn(t),Af(t.target);return}If(t)&&(Wn(t),Ef(t.target))},wl=t=>t?.detail===0,kl=async(t,e,i)=>{await So(),t&&!t.classList.contains("opened")&&!e&&Ye(i)&&(i.set(!1),t.focus())},yl=async(t,e,i)=>{await So(),!!t&&e&&i&&t.firstChild.focus()},Oo=async(t,e,i)=>{!!t&&i&&(e.set(!1),setTimeout(()=>{t.focus()},Cc))},B1=(t,e)=>{M1(t),I1(t)&&(Wn(t),e())},zo=async(t,e,i)=>{V1(t,!1)&&(Wn(t),e(),await So(),i()?.focus())},Do=async(t,e,i,n)=>{if(M1(t),Vf(t)){Wn(t),e(),i.set(!0);return}I1(t)&&(Wn(t),n())},Xi=(t,e)=>{V1(t)&&(Wn(t),e())};function Mf(t){ze(t,"v-gew86s","ul.v-gew86s{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-gew86s{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-gew86s:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function xl(t){let e,i,n,o,s,l,r=(t[9].features.saveDebugInfoToFile?Y("menu_save_debug"):Y("menu_copy_debug"))+"",a,c,f,m=Y("menu_debug_overlay")+"",h,v,g,w,_=t[9].features.copyVideoLink&&t[8].callbacks?.onCopyVideoLink&&Bf(t),P=t[11]&&t[5]!==Qe.ChromecastState.CONNECTED&&!t[16]&&es(t),k=t[9].features.videoRotate&&!t[16]&&Nf(t),C=t[9].showSupport&&!t[6]&&ts(t);return{c(){e=A("ul"),_&&_.c(),i=z(),P&&P.c(),n=z(),k&&k.c(),o=z(),C&&C.c(),s=z(),l=A("li"),a=Re(r),c=z(),f=A("li"),h=Re(m),u(l,"tabindex","0"),u(l,"role","menuitem"),u(l,"aria-label",t[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",v=t[7]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),Ct(e,"top",t[3]+"px"),Ct(e,"left",t[2]+"px"),u(e,"class","v-gew86s")},m(V,ne){E(V,e,ne),_&&_.m(e,null),p(e,i),P&&P.m(e,null),p(e,n),k&&k.m(e,null),p(e,o),C&&C.m(e,null),p(e,s),p(e,l),p(l,a),p(e,c),p(e,f),p(f,h),t[40](e),g||(w=[pe(l,"click",it(t[19])),pe(l,"keydown",t[29]),pe(f,"click",it(t[20])),pe(f,"keydown",t[30]),pe(e,"contextmenu",Qt(t[37])),pe(e,"keydown",t[23])],g=!0)},p(V,ne){V[9].features.copyVideoLink&&V[8].callbacks?.onCopyVideoLink&&_.p(V,ne),V[11]&&V[5]!==Qe.ChromecastState.CONNECTED&&!V[16]?P?P.p(V,ne):(P=es(V),P.c(),P.m(e,n)):P&&(P.d(1),P=null),V[9].features.videoRotate&&!V[16]&&k.p(V,ne),V[9].showSupport&&!V[6]?C?C.p(V,ne):(C=ts(V),C.c(),C.m(e,s)):C&&(C.d(1),C=null),ne[0]&128&&v!==(v=V[7]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",v),ne[0]&8&&Ct(e,"top",V[3]+"px"),ne[0]&4&&Ct(e,"left",V[2]+"px")},d(V){V&&T(e),_&&_.d(),P&&P.d(),k&&k.d(),C&&C.d(),t[40](null),g=!1,et(w)}}}function Bf(t){let e,i=Y("menu_copy_video_link")+"",n,o,s,l,r,a=!t[4]&&!t[16]&&$l(t);return{c(){e=A("li"),n=Re(i),o=z(),a&&a.c(),s=lt(),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,s,f),l||(r=[pe(e,"click",it(t[38])),pe(e,"keydown",t[24])],l=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=$l(c),a.c(),a.m(s.parentNode,s)):a&&(a.d(1),a=null)},d(c){c&&(T(e),T(o),T(s)),a&&a.d(c),l=!1,et(r)}}}function $l(t){let e,i=Y("menu_copy_video_link_with_timestamp")+"",n,o,s;return{c(){e=A("li"),n=Re(i),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,r){E(l,e,r),p(e,n),o||(s=[pe(e,"click",it(t[39])),pe(e,"keydown",t[25])],o=!0)},p:Z,d(l){l&&T(e),o=!1,et(s)}}}function es(t){let e,i=Y("menu_pip")+"",n,o,s;return{c(){e=A("li"),n=Re(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("menu_pip")),u(e,"class","v-gew86s")},m(l,r){E(l,e,r),p(e,n),o||(s=[pe(e,"click",it(t[21])),pe(e,"keydown",t[26])],o=!0)},p:Z,d(l){l&&T(e),o=!1,et(s)}}}function Nf(t){let e,i=Y("menu_video_rotate")+"",n,o,s;return{c(){e=A("li"),n=Re(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(l,r){E(l,e,r),p(e,n),o||(s=[pe(e,"click",it(t[17])),pe(e,"keydown",t[27])],o=!0)},p:Z,d(l){l&&T(e),o=!1,et(s)}}}function ts(t){let e,i=Y("menu_report")+"",n,o,s;return{c(){e=A("li"),n=Re(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-gew86s")},m(l,r){E(l,e,r),p(e,n),o||(s=[pe(e,"click",it(t[18])),pe(e,"keydown",t[28])],o=!0)},p:Z,d(l){l&&T(e),o=!1,et(s)}}}function Rf(t){let e,i=t[1]&&xl(t);return{c(){i&&i.c(),e=lt()},m(n,o){i&&i.m(n,o),E(n,e,o)},p(n,o){n[1]?i?i.p(n,o):(i=xl(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},i:Z,o:Z,d(n){n&&T(e),i&&i.d(n)}}}function Of(t,e,i){let n,o,s,l,r,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:m=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:v=void 0}=e,{menuElementRef:g=void 0}=e,{returnFocus:w}=e,_=0,P=0;const k=ct(),C=nn(),V=k.ui.contextMenuVisible,ne=k.ui.debugPanelVisible;D(t,ne,ae=>i(7,r=ae));const M=k.webApi.pictureInPictureApi,G=k.webApi.pictureInPictureApi?.info.isActive$;D(t,G,ae=>i(6,l=ae));const B=k.state.chromecastState$;D(t,B,ae=>i(5,s=ae));const x=k.state.isLive$;D(t,x,ae=>i(4,o=ae));const I=k.state.positionExact$;D(t,I,ae=>i(41,n=ae));const ie=k.state.isInteractive,O=()=>{V.set(!1)},X=(ae,ve)=>{if(!g||!h||!v)return;const J=g.getBoundingClientRect(),Q=h.getBoundingClientRect();i(2,_=ae-Q.left),i(3,P=ve-Q.top),_+J.width>Q.width&&i(2,_=Q.width-J.width),P+J.height>Q.height&&i(3,P=Q.height-J.height),i(2,_=Math.max(_,0)),i(3,P=Math.max(P,0))},se=()=>{O(),k.actions.internal.videoRotate()},S=()=>{window.open(c,"_blank"),O(),k.actions.internal.pause()},le=()=>{const ae=k.actions.internal.getDebugTextData();if(C.features.saveDebugInfoToFile){const ve=new Blob([...ae],{type:"plain/text"}),J=window.URL.createObjectURL(ve);r1(J,"vk_player_debug_info","txt")}else pl(k.actions.internal.getDebugTextData());O(),w?.()},W=()=>{ne.set(!0),O(),w?.()},oe=async()=>{try{M?.isActive()?await M?.remove():await M?.request()}finally{O(),w?.()}},ke=(ae=!1)=>{if(k.callbacks?.onCopyVideoLink){const ve=k.callbacks?.onCopyVideoLink(ae,n);ve&&pl(ve)}O()},qe=ae=>{B1(ae,O)},je=ae=>{Xi(ae,()=>ke())},Ie=ae=>{Xi(ae,()=>ke(!0))},Se=ae=>{Xi(ae,()=>oe())},ce=ae=>{Xi(ae,()=>se())},K=ae=>{Xi(ae,()=>S())},ue=ae=>{Xi(ae,()=>le())},_e=ae=>{Xi(ae,()=>W())};function $(ae){uo.call(this,t,ae)}const Pe=()=>ke(),Ee=()=>ke(!0);function Be(ae){we[ae?"unshift":"push"](()=>{g=ae,i(0,g)})}return t.$$set=ae=>{"visible"in ae&&i(1,a=ae.visible),"supportLink"in ae&&i(31,c=ae.supportLink),"x"in ae&&i(32,f=ae.x),"y"in ae&&i(33,m=ae.y),"playerContainerRef"in ae&&i(34,h=ae.playerContainerRef),"controlsContainerRef"in ae&&i(35,v=ae.controlsContainerRef),"menuElementRef"in ae&&i(0,g=ae.menuElementRef),"returnFocus"in ae&&i(36,w=ae.returnFocus)},t.$$.update=()=>{t.$$.dirty[0]&1|t.$$.dirty[1]&30&&g&&h&&v&&X(f,m)},[g,a,_,P,o,s,l,r,k,C,ne,M,G,B,x,I,ie,se,S,le,W,oe,ke,qe,je,Ie,Se,ce,K,ue,_e,c,f,m,h,v,w,$,Pe,Ee,Be]}class zf extends be{constructor(e){super(),ge(this,e,Of,Rf,he,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},Mf,[-1,-1])}}class Df{value;next;constructor(e){this.value=e,this.next=null}}class tl{top;bottom;size;maxSize;constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const i=new Df(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 Ff(t){ze(t,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function Hf(t){let e,i;return{c(){e=A("div"),i=A("canvas"),u(i,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,o){E(n,e,o),p(e,i),t[3](i)},p:Z,i:Z,o:Z,d(n){n&&T(e),t[3](null)}}}const il=16,nl=120,is=60;function Uf(t,e,i,n,o){o===0&&(o=1),t.fillStyle="#fff",t.fillRect(e,i,n,o)}function qf(t,e,i){let{values:n=[]}=e,o,s;const l=nl/is;tn(()=>{i(0,o.width=nl,o),i(0,o.height=il,o),i(2,s=o.getContext("2d"))});function r(a){we[a?"unshift":"push"](()=>{o=a,i(0,o)})}return t.$$set=a=>{"values"in a&&i(1,n=a.values)},t.$$.update=()=>{if(t.$$.dirty&6&&s){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);s.clearRect(0,0,nl,il);let c=is-1;for(let f=n.length-1;f>=0;f--){const m=c*l,h=a>0?il*(n[f]/a):0;Uf(s,m,0,l,h),c--}}},[o,n,s,r]}class Cl extends be{constructor(e){super(),ge(this,e,qf,Hf,he,{values:1},Ff)}}function jf(t){ze(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 ns(t){let e,i,n,o,s=t[0].id+"",l;return{c(){e=A("div"),i=A("div"),i.textContent="Video id",n=z(),o=A("span"),l=Re(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){E(r,e,a),p(e,i),p(e,n),p(e,o),p(o,l)},p(r,a){a&1&&s!==(s=r[0].id+"")&&Xe(l,s)},d(r){r&&T(e)}}}function os(t){let e,i,n,o,s=t[0].provider+"",l;return{c(){e=A("div"),i=A("div"),i.textContent="Provider",n=z(),o=A("span"),l=Re(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){E(r,e,a),p(e,i),p(e,n),p(e,o),p(o,l)},p(r,a){a&1&&s!==(s=r[0].provider+"")&&Xe(l,s)},d(r){r&&T(e)}}}function ls(t){let e,i,n,o,s=t[0].viewport+"",l;return{c(){e=A("div"),i=A("div"),i.textContent="Viewport",n=z(),o=A("span"),l=Re(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){E(r,e,a),p(e,i),p(e,n),p(e,o),p(o,l)},p(r,a){a&1&&s!==(s=r[0].viewport+"")&&Xe(l,s)},d(r){r&&T(e)}}}function ss(t){let e,i,n,o,s=t[0].videoSize+"",l;return{c(){e=A("div"),i=A("div"),i.textContent="Video size",n=z(),o=A("span"),l=Re(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){E(r,e,a),p(e,i),p(e,n),p(e,o),p(o,l)},p(r,a){a&1&&s!==(s=r[0].videoSize+"")&&Xe(l,s)},d(r){r&&T(e)}}}function rs(t){let e,i,n,o,s=t[0].cdn+"",l;return{c(){e=A("div"),i=A("div"),i.textContent="CDN host",n=z(),o=A("span"),l=Re(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){E(r,e,a),p(e,i),p(e,n),p(e,o),p(o,l)},p(r,a){a&1&&s!==(s=r[0].cdn+"")&&Xe(l,s)},d(r){r&&T(e)}}}function as(t){let e,i,n,o,s=t[0].volume+"",l,r;return{c(){e=A("div"),i=A("div"),i.textContent="Volume",n=z(),o=A("span"),l=Re(s),r=Re(" %"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){E(a,e,c),p(e,i),p(e,n),p(e,o),p(o,l),p(o,r)},p(a,c){c&1&&s!==(s=a[0].volume+"")&&Xe(l,s)},d(a){a&&T(e)}}}function us(t){let e,i,n,o,s=t[0].buffer.toFixed(2)+"",l,r;return{c(){e=A("div"),i=A("div"),i.textContent="Buffer",n=z(),o=A("span"),l=Re(s),r=Re(" s"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){E(a,e,c),p(e,i),p(e,n),p(e,o),p(o,l),p(o,r)},p(a,c){c&1&&s!==(s=a[0].buffer.toFixed(2)+"")&&Xe(l,s)},d(a){a&&T(e)}}}function cs(t){let e,i,n,o,s,l,r=t[0].speed.toFixed(2)+"",a,c,f;return o=new Cl({props:{values:t[5]}}),{c(){e=A("div"),i=A("div"),i.textContent="Network",n=z(),U(o.$$.fragment),s=z(),l=A("span"),a=Re(r),c=Re(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){E(m,e,h),p(e,i),p(e,n),F(o,e,null),p(e,s),p(e,l),p(l,a),p(l,c),f=!0},p(m,h){const v={};h&32&&(v.values=m[5]),o.$set(v),(!f||h&1)&&r!==(r=m[0].speed.toFixed(2)+"")&&Xe(a,r)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){b(o.$$.fragment,m),f=!1},d(m){m&&T(e),H(o)}}}function fs(t){let e,i,n,o,s,l,r=t[0].bitrate.toFixed(2)+"",a,c,f;return o=new Cl({props:{values:t[6]}}),{c(){e=A("div"),i=A("div"),i.textContent="V bitrate",n=z(),U(o.$$.fragment),s=z(),l=A("span"),a=Re(r),c=Re(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){E(m,e,h),p(e,i),p(e,n),F(o,e,null),p(e,s),p(e,l),p(l,a),p(l,c),f=!0},p(m,h){const v={};h&64&&(v.values=m[6]),o.$set(v),(!f||h&1)&&r!==(r=m[0].bitrate.toFixed(2)+"")&&Xe(a,r)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){b(o.$$.fragment,m),f=!1},d(m){m&&T(e),H(o)}}}function Zf(t){let e,i,n,o,s,l,r,a,c=t[0].version+"",f,m,h,v,g,w,_,P,k,C,V,ne,M,G,B,x,I,ie,O,X,se,S,le,W,oe,ke,qe,je,Ie,Se,ce=t[0].id&&ns(t),K=t[0].provider&&os(t),ue=t[0].viewport&&ls(t),_e=t[0].videoSize&&ss(t),$=t[0].cdn&&rs(t),Pe=t[0].volume&&as(t),Ee=t[0].buffer&&us(t),Be=t[0].speed&&cs(t),ae=t[0].bitrate&&fs(t);return W=new Cl({props:{values:t[4]}}),{c(){e=A("div"),i=A("button"),i.textContent="[x]",n=z(),o=A("div"),s=A("div"),l=A("div"),l.textContent="Version",r=z(),a=A("span"),f=Re(c),m=z(),ce&&ce.c(),h=z(),K&&K.c(),v=z(),ue&&ue.c(),g=z(),_e&&_e.c(),w=z(),$&&$.c(),_=z(),Pe&&Pe.c(),P=z(),Ee&&Ee.c(),k=z(),C=A("div"),V=A("div"),V.textContent="Dropped",ne=z(),M=A("span"),G=Re(t[2]),B=Re(" / "),x=Re(t[1]),I=Re(" frames"),ie=z(),Be&&Be.c(),O=z(),ae&&ae.c(),X=z(),se=A("div"),S=A("div"),S.textContent="FPS",le=z(),U(W.$$.fragment),oe=z(),ke=A("span"),qe=Re(t[3]),u(i,"class","close v-1gy2e68"),u(i,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(l,"class","v-1gy2e68"),u(s,"class","v-1gy2e68"),u(V,"class","v-1gy2e68"),u(C,"class","v-1gy2e68"),u(S,"class","v-1gy2e68"),u(se,"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")),N(e,"container-mobile",t[7])},m(ve,J){E(ve,e,J),p(e,i),p(e,n),p(e,o),p(o,s),p(s,l),p(s,r),p(s,a),p(a,f),p(o,m),ce&&ce.m(o,null),p(o,h),K&&K.m(o,null),p(o,v),ue&&ue.m(o,null),p(o,g),_e&&_e.m(o,null),p(o,w),$&&$.m(o,null),p(o,_),Pe&&Pe.m(o,null),p(o,P),Ee&&Ee.m(o,null),p(o,k),p(o,C),p(C,V),p(C,ne),p(C,M),p(M,G),p(M,B),p(M,x),p(M,I),p(o,ie),Be&&Be.m(o,null),p(o,O),ae&&ae.m(o,null),p(o,X),p(o,se),p(se,S),p(se,le),F(W,se,null),p(se,oe),p(se,ke),p(ke,qe),je=!0,Ie||(Se=pe(i,"click",it(t[9])),Ie=!0)},p(ve,[J]){(!je||J&1)&&c!==(c=ve[0].version+"")&&Xe(f,c),ve[0].id?ce?ce.p(ve,J):(ce=ns(ve),ce.c(),ce.m(o,h)):ce&&(ce.d(1),ce=null),ve[0].provider?K?K.p(ve,J):(K=os(ve),K.c(),K.m(o,v)):K&&(K.d(1),K=null),ve[0].viewport?ue?ue.p(ve,J):(ue=ls(ve),ue.c(),ue.m(o,g)):ue&&(ue.d(1),ue=null),ve[0].videoSize?_e?_e.p(ve,J):(_e=ss(ve),_e.c(),_e.m(o,w)):_e&&(_e.d(1),_e=null),ve[0].cdn?$?$.p(ve,J):($=rs(ve),$.c(),$.m(o,_)):$&&($.d(1),$=null),ve[0].volume?Pe?Pe.p(ve,J):(Pe=as(ve),Pe.c(),Pe.m(o,P)):Pe&&(Pe.d(1),Pe=null),ve[0].buffer?Ee?Ee.p(ve,J):(Ee=us(ve),Ee.c(),Ee.m(o,k)):Ee&&(Ee.d(1),Ee=null),(!je||J&4)&&Xe(G,ve[2]),(!je||J&2)&&Xe(x,ve[1]),ve[0].speed?Be?(Be.p(ve,J),J&1&&d(Be,1)):(Be=cs(ve),Be.c(),d(Be,1),Be.m(o,O)):Be&&(de(),b(Be,1,1,()=>{Be=null}),me()),ve[0].bitrate?ae?(ae.p(ve,J),J&1&&d(ae,1)):(ae=fs(ve),ae.c(),d(ae,1),ae.m(o,X)):ae&&(de(),b(ae,1,1,()=>{ae=null}),me());const Q={};J&16&&(Q.values=ve[4]),W.$set(Q),(!je||J&8)&&Xe(qe,ve[3]),(!je||J&128)&&N(e,"container-mobile",ve[7])},i(ve){je||(d(Be),d(ae),d(W.$$.fragment,ve),je=!0)},o(ve){b(Be),b(ae),b(W.$$.fragment,ve),je=!1},d(ve){ve&&T(e),ce&&ce.d(),K&&K.d(),ue&&ue.d(),_e&&_e.d(),$&&$.d(),Pe&&Pe.d(),Ee&&Ee.d(),Be&&Be.d(),ae&&ae.d(),H(W),Ie=!1,Se()}}}function Wf(t,e,i){let n;const o=ct(),s=o.ui.debugPanelVisible,l=o.ui.isMobile;D(t,l,C=>i(7,n=C));const r=()=>{te.safeStorage.remove(dl),s.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,m=0,h=0;const v=new tl(60),g=new tl(60),w=new tl(60);let _=[],P=[],k=[];return tn(()=>{te.safeStorage.set(dl,"true"),o.actions.internal.startLogging(),c&&(i(2,m=c.getVideoPlaybackQuality().droppedVideoFrames),i(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const C=window.setInterval(()=>{i(0,a=o.actions.internal.getDebugPanelData())},500);let V;return c&&(V=window.setInterval(()=>{if(c){i(2,m=c.getVideoPlaybackQuality().droppedVideoFrames);const ne=c.getVideoPlaybackQuality().totalVideoFrames;i(3,h=ne-f),i(1,f=ne),v.push(h),a.speed&&g.push(a.speed),a.bitrate&&w.push(a.bitrate),i(4,_=v.getValuesFromBottom()),i(5,P=g.getValuesFromBottom()),i(6,k=w.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(C),V&&clearInterval(V)}}),[a,f,m,h,_,P,k,n,l,r]}class N1 extends be{constructor(e){super(),ge(this,e,Wf,Zf,he,{},jf)}}function Kf(t){ze(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 Gf(t){let e,i,n;return{c(){e=A("div"),u(e,"class","close v-1ome55p")},m(o,s){E(o,e,s),i||(n=pe(e,"click",it(t[0])),i=!0)},p:Z,i:Z,o:Z,d(o){o&&T(e),i=!1,n()}}}function Yf(t){function e(i){uo.call(this,t,i)}return[e]}class Qf extends be{constructor(e){super(),ge(this,e,Yf,Gf,he,{},Kf)}}function Xf(t){ze(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 Jf(t){let e,i,n,o,s,l,r;return{c(){e=A("div"),i=A("canvas"),n=z(),o=R("svg"),s=R("g"),l=R("g"),r=R("path"),u(i,"class","timer-canvas v-8jhsry"),u(i,"width","100"),u(i,"height","100"),u(r,"class","_play"),u(r,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(r,"fill","#fff"),u(l,"fill-rule","nonzero"),u(s,"fill","none"),u(s,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){E(a,e,c),p(e,i),t[2](i),p(e,n),p(e,o),p(o,s),p(s,l),p(l,r)},p:Z,i:Z,o:Z,d(a){a&&T(e),t[2](null)}}}const xf=5e3;function $f(t,e,i){let{onTimerEnded:n=te.noop}=e,o;tn(()=>{let l;const r=o.getContext("2d");if(!r)return;r.lineWidth=6,r.lineCap="round",r.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/xf;f<1?(r.clearRect(0,0,100,100),r.beginPath(),r.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),r.stroke(),l=requestAnimationFrame(c)):n()};return l=requestAnimationFrame(c),()=>{cancelAnimationFrame(l)}});function s(l){we[l?"unshift":"push"](()=>{o=l,i(0,o)})}return t.$$set=l=>{"onTimerEnded"in l&&i(1,n=l.onTimerEnded)},[o,n,s]}class e0 extends be{constructor(e){super(),ge(this,e,$f,Jf,he,{onTimerEnded:1},Xf)}}function t0(t){ze(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 ds(t){let e,i;return e=new e0({props:{onTimerEnded:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&4&&(s.onTimerEnded=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function i0(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k,C,V,ne;r=new Qf({}),r.$on("click",t[4]);let M=t[3]&&ds(t);return{c(){e=A("div"),i=z(),n=A("div"),o=A("div"),s=A("div"),s.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",l=z(),U(r.$$.fragment),a=z(),c=A("div"),f=A("div"),m=A("div"),h=A("div"),v=z(),M&&M.c(),w=z(),_=A("div"),P=A("div"),k=Re(t[0]),u(e,"class","overlay v-kisfwc"),u(s,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(m,"class","thumb v-kisfwc"),u(m,"style",g=`background-image: url('${t[1]}')`),u(f,"class","column v-kisfwc"),u(P,"class","title v-kisfwc"),u(_,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(G,B){E(G,e,B),E(G,i,B),E(G,n,B),p(n,o),p(o,s),p(o,l),F(r,o,null),p(n,a),p(n,c),p(c,f),p(f,m),p(m,h),p(m,v),M&&M.m(m,null),p(c,w),p(c,_),p(_,P),p(P,k),C=!0,V||(ne=pe(c,"click",function(){pn(t[2])&&t[2].apply(this,arguments)}),V=!0)},p(G,[B]){t=G,t[3]?M?(M.p(t,B),B&8&&d(M,1)):(M=ds(t),M.c(),d(M,1),M.m(m,null)):M&&(de(),b(M,1,1,()=>{M=null}),me()),(!C||B&2&&g!==(g=`background-image: url('${t[1]}')`))&&u(m,"style",g),(!C||B&1)&&Xe(k,t[0])},i(G){C||(d(r.$$.fragment,G),d(M),C=!0)},o(G){b(r.$$.fragment,G),b(M),C=!1},d(G){G&&(T(e),T(i),T(n)),H(r),M&&M.d(),V=!1,ne()}}}function n0(t,e,i){let{title:n}=e,{thumb:o}=e,{playNextVideo:s}=e,l=!0;const r=()=>i(3,l=!1);return t.$$set=a=>{"title"in a&&i(0,n=a.title),"thumb"in a&&i(1,o=a.thumb),"playNextVideo"in a&&i(2,s=a.playNextVideo)},[n,o,s,l,r]}class o0 extends be{constructor(e){super(),ge(this,e,n0,i0,he,{title:0,thumb:1,playNextVideo:2},t0)}}const R1=(t,e)=>Math.min(+(t+e).toFixed(2),1),O1=(t,e)=>Math.max(+(t-e).toFixed(2),0),z1=(t,e,i)=>{const n=R1(e,i);e<1&&t.actions.internal.setVolume(n)},D1=(t,e,i)=>{const n=O1(e,i);e>0&&t.actions.internal.setVolume(n)};function l0(t){ze(t,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function s0(t){let e,i,n,o;const s=t[22].default,l=Tn(s,t,t[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(r,a){E(r,e,a),l&&l.m(e,null),t[23](e),i=!0,n||(o=[pe(e,"keyup",t[13]),pe(e,"keydown",t[12])],n=!0)},p(r,a){l&&l.p&&(!i||a[0]&2097152)&&An(l,s,r,r[21],i?En(s,r[21],a,null):Ln(r[21]),null)},i(r){i||(d(l,r),i=!0)},o(r){b(l,r),i=!1},d(r){r&&T(e),l&&l.d(r),t[23](null),n=!1,et(o)}}}function r0(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,{$$slots:g={},$$scope:w}=e,{isAds:_}=e,{hideContextMenu:P}=e,{toggleFullscreen:k}=e,{showHotKeyHelpers:C}=e,{showKeyMap:V}=e,{fakePlayButtonHandler:ne}=e;const M=ct(),G=nn(),B=M.getLogger().createComponentLog("KeyboardControls component"),x=M.state.playbackState$;D(t,x,$=>i(27,o=$));const I=M.ads.playbackState;D(t,I,$=>i(26,n=$));const ie=M.state.positionExact$;D(t,ie,$=>i(33,f=$));const O=M.state.duration$;D(t,O,$=>i(32,c=$));const X=M.state.volume$;D(t,X,$=>i(36,v=$));const se=M.ui.controls.disabledControls$;D(t,se,$=>i(31,a=$));const S=M.state.muted$;D(t,S,$=>i(29,l=$));const le=M.state.currentSubtitle$;D(t,le,$=>i(28,s=$));const W=M.state.currentPlaybackRate$;D(t,W,$=>i(34,m=$));const oe=M.state.availablePlaybackRates$;D(t,oe,$=>i(35,h=$));const ke=M.state.isEnded$;D(t,ke,$=>i(30,r=$));let qe=0,je=!0,Ie;const Se=()=>Ie?.focus(),ce=$=>($!==je&&(je=$,qe=0),qe+=1,(G.controls.seekStepKeyboard+G.controls.seekStepKeyboard*qe)/1e3),K=$=>{const Pe=$.target,Ee=Pe?.getAttribute("role")?.includes("menuitem"),Be=Pe.classList.contains("btn"),ae=$.code;if(Be&&ae===Te.Space)return;const ve=Ec.has(ae);if(Ee&&ve)return;const J=!Tc.has(ae);if($.ctrlKey&&J||$.altKey&&J||$.metaKey)return;const Q=Ee&&ae===Te.Escape;Ac.has(ae)||Q||P();const De=o===Qe.PlaybackState.PLAYING||o===Qe.PlaybackState.PAUSED,tt=_&&(n===Yt.PAUSED||n===Yt.PLAYING),Je=!tt&&!a.has(ot.TIMELINE);if(De||tt)switch(B({message:`key down, code: ${ae}`}),ae){case Te.KeyJ:case Te.ArrowLeft:{if(!Je)break;if($.ctrlKey||$.altKey){const Ce=M.actions.internal.getPrevEpisode();M.actions.internal.seekToPrevEpisode(Ce),Ce&&C({type:We.EPISODE_PREV,text:Ce.text}),$.preventDefault()}else{const Ce=$.shiftKey?ce(!1):G.controls.seekStepKeyboard/1e3,Ge=Math.max(f-Ce,0);f>0&&(M.actions.internal.seekTime(Ge,ut.SeekAction.DOUBLE_TAP),C({type:We.BACKWARD_SEEK,text:Ce.toString()}),$.preventDefault())}break}case Te.KeyL:case Te.ArrowRight:{if(!Je)break;if($.ctrlKey||$.altKey){const Ce=M.actions.internal.getNextEpisode();M.actions.internal.seekToNextEpisode(Ce),Ce&&C({type:We.EPISODE_NEXT,text:Ce.text}),$.preventDefault()}else{const Ce=$.shiftKey?ce(!0):G.controls.seekStepKeyboard/1e3,Ge=Math.min(f+Ce,c);Math.round(f)<Math.round(c)&&(M.actions.internal.seekTime(Ge,ut.SeekAction.DOUBLE_TAP),C({type:We.FORWARD_SEEK,text:Ce.toString()}),$.preventDefault())}break}case Te.ArrowUp:{const Ce=v,Ge=G.controls.volumeStepKeyboard,xe=Ce<=1;if(z1(M,Ce,Ge),xe){const ft=Math.round(R1(Ce,Ge)*100).toString();C({type:We.VOLUME,t:{key:"hotkey_helper_current_volume",value:ft}})}$.preventDefault();break}case Te.ArrowDown:{const Ce=v,Ge=G.controls.volumeStepKeyboard,xe=Ce>=0;if(D1(M,Ce,Ge),xe){const ft=Math.round(O1(Ce,Ge)*100).toString();C({type:We.VOLUME,t:{key:"hotkey_helper_current_volume",value:ft}})}$.preventDefault();break}case Te.Comma:{if($.shiftKey){M.actions.internal.decrementPlaybackRate();const Ce=h.find(Ge=>Ge.value===m);C({type:We.RATE_DOWN,text:Ce?.displayValue}),$.preventDefault()}else{if(tt||o!==Qe.PlaybackState.PAUSED)break;const Ce=Math.max(f-G.controls.seekStepFrame/1e3,0);f>0&&(C({type:We.BACKWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(Ce,ut.SeekAction.DOUBLE_TAP),$.preventDefault())}break}case Te.Period:{if($.shiftKey){M.actions.internal.incrementPlaybackRate();const Ce=h.find(Ge=>Ge.value===m);C({type:We.RATE_UP,text:Ce?.displayValue}),$.preventDefault()}else{if(tt||o!==Qe.PlaybackState.PAUSED)break;const Ce=Math.min(f+G.controls.seekStepFrame/1e3,c);f<c&&(C({type:We.FORWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(Ce,ut.SeekAction.DOUBLE_TAP),$.preventDefault())}break}case Te.KeyK:case Te.Space:if(!a.has(ot.PLAY_BUTTON))if(ne)ne();else{M.actions.internal.togglePlay();let Ce=We.PLAY;o===Qe.PlaybackState.PAUSED?Ce=We.PAUSE:r&&(Ce=We.REPLAY),C({type:Ce})}$.preventDefault();break;case Te.KeyM:{C({type:l?We.VOLUME:We.MUTE}),M.actions.internal.toggleMuted(),$.preventDefault();break}case Te.KeyF:k(),$.preventDefault();break;case Te.KeyC:M.actions.internal.toggleSubtitle(),s.value!=="off"?C({type:We.SUBTITLES_ON,text:s?.displayValue}):C({type:We.SUBTITLES_OFF}),$.preventDefault();break;case Te.KeyI:M.actions.internal.togglePictureInPicture(),$.preventDefault();break;case Te.Digit1:case Te.Numpad1:C(),M.actions.internal.seekToPercent(.1,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit2:case Te.Numpad2:C(),M.actions.internal.seekToPercent(.2,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit3:case Te.Numpad3:C(),M.actions.internal.seekToPercent(.3,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit4:case Te.Numpad4:C(),M.actions.internal.seekToPercent(.4,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit5:case Te.Numpad5:C(),M.actions.internal.seekToPercent(.5,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit6:case Te.Numpad6:C(),M.actions.internal.seekToPercent(.6,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit7:case Te.Numpad7:C(),M.actions.internal.seekToPercent(.7,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit8:case Te.Numpad8:C(),M.actions.internal.seekToPercent(.8,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit9:case Te.Numpad9:C(),M.actions.internal.seekToPercent(.9,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit0:case Te.Numpad0:C(),M.actions.internal.seekToPercent(0,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Slash:{$.shiftKey&&G.features.hotKeyMapModal&&(V(),$.preventDefault());break}case Te.ShiftLeft:case Te.ShiftRight:$.preventDefault();break;case Te.Tab:case Te.Escape:case Te.Enter:break;default:te.checkNever(ae);break}},ue=$=>{const Pe=$.code;if($.ctrlKey||$.altKey||$.metaKey)return;const Ee=o===Qe.PlaybackState.PLAYING||o===Qe.PlaybackState.PAUSED,Be=_&&(n===Yt.PAUSED||n===Yt.PLAYING);if(Ee||Be)switch(Pe){case Te.ShiftLeft:case Te.ShiftRight:qe=0;break}};function _e($){we[$?"unshift":"push"](()=>{Ie=$,i(0,Ie)})}return t.$$set=$=>{"isAds"in $&&i(14,_=$.isAds),"hideContextMenu"in $&&i(15,P=$.hideContextMenu),"toggleFullscreen"in $&&i(16,k=$.toggleFullscreen),"showHotKeyHelpers"in $&&i(17,C=$.showHotKeyHelpers),"showKeyMap"in $&&i(18,V=$.showKeyMap),"fakePlayButtonHandler"in $&&i(19,ne=$.fakePlayButtonHandler),"$$scope"in $&&i(21,w=$.$$scope)},[Ie,x,I,ie,O,X,se,S,le,W,oe,ke,K,ue,_,P,k,C,V,ne,Se,w,g,_e]}class a0 extends be{constructor(e){super(),ge(this,e,r0,s0,he,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},l0,[-1,-1])}get focus(){return this.$$.ctx[20]}}function u0(t){let e,i,n,o,s;return{c(){e=R("svg"),i=R("rect"),o=R("path"),u(i,"width","20"),u(i,"height","20"),u(i,"rx","10"),u(i,"fill","white"),u(i,"fill-opacity",n=t[0]?1:.24),u(o,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(o,"fill",s=t[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){E(l,e,r),p(e,i),p(e,o)},p(l,[r]){r&1&&n!==(n=l[0]?1:.24)&&u(i,"fill-opacity",n),r&1&&s!==(s=l[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",s)},i:Z,o:Z,d(l){l&&T(e)}}}function c0(t,e,i){let{completed:n}=e;return t.$$set=o=>{"completed"in o&&i(0,n=o.completed)},[n]}class F1 extends be{constructor(e){super(),ge(this,e,c0,u0,he,{completed:0})}}function f0(t){ze(t,"v-12idafm",".interactive-episode-icon-animated.v-12idafm{position:absolute;right:0;width:32px;height:32px;transform:translate(-50%, 50%);transition:0.7s;opacity:1}.invisible.v-12idafm{opacity:0}.fullscreen.v-12idafm:not(.mobile){width:40px;height:40px}.mobile.v-12idafm{width:28px;height:28px}.fullscreen.mobile.v-12idafm{width:32px;height:32px}@keyframes v-12idafm-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-12idafm: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-12idafm-pulse infinite;transition:0.7ms}.interactive-episode-icon-animated svg{width:100%;height:100%}")}function d0(t){let e,i,n;return i=new F1({props:{completed:!0}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","interactive-episode-icon-animated v-12idafm"),N(e,"mobile",t[0]),N(e,"fullscreen",t[1]),N(e,"invisible",!t[2]||t[3])},m(o,s){E(o,e,s),F(i,e,null),n=!0},p(o,[s]){(!n||s&1)&&N(e,"mobile",o[0]),(!n||s&2)&&N(e,"fullscreen",o[1]),(!n||s&12)&&N(e,"invisible",!o[2]||o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function m0(t,e,i){let n,o,s,l;const r=ct(),a=r.ui.isMobile;D(t,a,h=>i(0,n=h));const c=r.ui.isFullscreen;D(t,c,h=>i(1,o=h));const f=r.state.isInteractiveTime$;D(t,f,h=>i(2,s=h));const{interactiveControlsOpacity$:m}=Go();return D(t,m,h=>i(3,l=h)),[n,o,s,l,a,c,f,m]}class H1 extends be{constructor(e){super(),ge(this,e,m0,d0,he,{},f0)}}function p0(t){ze(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 h0(t){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(i,n){E(i,e,n)},p:Z,i:Z,o:Z,d(i){i&&T(e)}}}class U1 extends be{constructor(e){super(),ge(this,e,null,h0,he,{},p0)}}function g0(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),m=R("feColorMatrix"),h=R("feBlend"),v=R("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2422_111980"),u(v,"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(g,w){E(g,e,w),p(e,i),p(i,n),p(i,o),p(e,s),p(s,l),p(l,r),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,v)},p:Z,i:Z,o:Z,d(g){g&&T(e)}}}class b0 extends be{constructor(e){super(),ge(this,e,null,g0,he,{})}}function _0(t){ze(t,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function v0(t){let e,i,n,o,s,l,r,a,c,f,m,h;const v=t[14].default,g=Tn(v,t,t[13],null);return{c(){e=A("button"),g&&g.c(),u(e,"class",i="btn "+t[1]+" v-1anemql"),u(e,"style",n=t[2]||null),e.disabled=o=t[3]??null,u(e,"aria-hidden",s=t[5]??null),u(e,"aria-label",l=t[6]??null),u(e,"aria-keyshortcuts",r=t[7]??null),u(e,"aria-expanded",a=t[8]??null),u(e,"data-testid",c=t[4]??null),u(e,"tabindex",t[9])},m(w,_){E(w,e,_),g&&g.m(e,null),t[16](e),f=!0,m||(h=[pe(e,"pointerdown",it(Qt(t[15]))),pe(e,"click",it(Qt(function(){pn(t[10]===te.noop?null:t[10])&&(t[10]===te.noop?null:t[10]).apply(this,arguments)}))),pe(e,"focus",Qt(function(){pn(t[11]===te.noop?null:t[11])&&(t[11]===te.noop?null:t[11]).apply(this,arguments)})),pe(e,"blur",Qt(function(){pn(t[12]===te.noop?null:t[12])&&(t[12]===te.noop?null:t[12]).apply(this,arguments)}))],m=!0)},p(w,[_]){t=w,g&&g.p&&(!f||_&8192)&&An(g,v,t,t[13],f?En(v,t[13],_,null):Ln(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&&o!==(o=t[3]??null))&&(e.disabled=o),(!f||_&32&&s!==(s=t[5]??null))&&u(e,"aria-hidden",s),(!f||_&64&&l!==(l=t[6]??null))&&u(e,"aria-label",l),(!f||_&128&&r!==(r=t[7]??null))&&u(e,"aria-keyshortcuts",r),(!f||_&256&&a!==(a=t[8]??null))&&u(e,"aria-expanded",a),(!f||_&16&&c!==(c=t[4]??null))&&u(e,"data-testid",c),(!f||_&512)&&u(e,"tabindex",t[9])},i(w){f||(d(g,w),f=!0)},o(w){b(g,w),f=!1},d(w){w&&T(e),g&&g.d(w),t[16](null),m=!1,et(h)}}}function w0(t,e,i){let{$$slots:n={},$$scope:o}=e,{className:s=""}=e,{style:l=""}=e,{disabled:r=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:m=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:v=void 0}=e,{tabIndex:g=0}=e,{click:w=te.noop}=e,{focus:_=te.noop}=e,{blur:P=te.noop}=e;function k(V){uo.call(this,t,V)}function C(V){we[V?"unshift":"push"](()=>{m=V,i(0,m)})}return t.$$set=V=>{"className"in V&&i(1,s=V.className),"style"in V&&i(2,l=V.style),"disabled"in V&&i(3,r=V.disabled),"testId"in V&&i(4,a=V.testId),"ariaHidden"in V&&i(5,c=V.ariaHidden),"ariaLabel"in V&&i(6,f=V.ariaLabel),"ref"in V&&i(0,m=V.ref),"ariaKeyShortCut"in V&&i(7,h=V.ariaKeyShortCut),"ariaExpanded"in V&&i(8,v=V.ariaExpanded),"tabIndex"in V&&i(9,g=V.tabIndex),"click"in V&&i(10,w=V.click),"focus"in V&&i(11,_=V.focus),"blur"in V&&i(12,P=V.blur),"$$scope"in V&&i(13,o=V.$$scope)},[m,s,l,r,a,c,f,h,v,g,w,_,P,o,n,k,C]}class mi extends be{constructor(e){super(),ge(this,e,w0,v0,he,{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},_0)}}function k0(t){ze(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 ms(t){let e,i,n,o,s,l=t[2]&&ps(t);return{c(){e=A("div"),i=A("h3"),n=Re(t[3]),o=z(),l&&l.c(),u(i,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(r,a){E(r,e,a),p(e,i),p(i,n),p(e,o),l&&l.m(e,null),s=!0},p(r,a){(!s||a&8)&&Xe(n,r[3]),r[2]?l?(l.p(r,a),a&4&&d(l,1)):(l=ps(r),l.c(),d(l,1),l.m(e,null)):l&&(de(),b(l,1,1,()=>{l=null}),me())},i(r){s||(d(l),s=!0)},o(r){b(l),s=!1},d(r){r&&T(e),l&&l.d()}}}function ps(t){let e,i;return e=new mi({props:{click:t[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:Y("hotkey_map_modal_close_btn_text"),$$slots:{default:[y0]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&1&&(s.click=n[0]),o&32&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function y0(t){let e,i;return e=new b0({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function C0(t){let e,i,n,o,s,l,r=t[1]&&ms(t);const a=t[4].default,c=Tn(a,t,t[5],null);return{c(){e=A("div"),i=A("div"),r&&r.c(),n=z(),o=A("div"),s=A("div"),c&&c.c(),u(s,"class","modal-main v-1witlsj"),u(o,"class","modal-scroll v-1witlsj"),u(i,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,m){E(f,e,m),p(e,i),r&&r.m(i,null),p(i,n),p(i,o),p(o,s),c&&c.m(s,null),l=!0},p(f,[m]){f[1]?r?(r.p(f,m),m&2&&d(r,1)):(r=ms(f),r.c(),d(r,1),r.m(i,n)):r&&(de(),b(r,1,1,()=>{r=null}),me()),c&&c.p&&(!l||m&32)&&An(c,a,f,f[5],l?En(a,f[5],m,null):Ln(f[5]),null)},i(f){l||(d(r),d(c,f),l=!0)},o(f){b(r),b(c,f),l=!1},d(f){f&&T(e),r&&r.d(),c&&c.d(f)}}}function S0(t,e,i){let{$$slots:n={},$$scope:o}=e,{onClose:s}=e,{showHeader:l=!0}=e,{showCloseCross:r=!0}=e,{title:a}=e;return t.$$set=c=>{"onClose"in c&&i(0,s=c.onClose),"showHeader"in c&&i(1,l=c.showHeader),"showCloseCross"in c&&i(2,r=c.showCloseCross),"title"in c&&i(3,a=c.title),"$$scope"in c&&i(5,o=c.$$scope)},[s,l,r,a,n,o]}class P0 extends be{constructor(e){super(),ge(this,e,S0,C0,he,{onClose:0,showHeader:1,showCloseCross:2,title:3},k0)}}const T0=new Set(["BR"]),hs=t=>{const e=document.createElement("DIV");e.innerHTML=t;const i=e.querySelectorAll("*");let n=i.length;for(;n--;){const o=i[n],s=o.tagName;T0.has(s)||o.parentElement?.removeChild(o)}return e.innerHTML};function E0(t){ze(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 gs(t,e,i){const n=t.slice();return n[5]=e[i].title,n[6]=e[i].items,n}function bs(t,e,i){const n=t.slice();return n[9]=e[i].description,n[10]=e[i].value,n}function _s(t){let e,i,n=hs(t[9])+"",o,s,l=t[10]+"",r,a;return{c(){e=A("li"),i=A("span"),o=z(),s=A("span"),r=Re(l),a=z(),u(i,"class","hot-key-map-item-description v-quklnq"),u(s,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){E(c,e,f),p(e,i),i.innerHTML=n,p(e,o),p(e,s),p(s,r),p(e,a)},p(c,f){f&1&&n!==(n=hs(c[9])+"")&&(i.innerHTML=n),f&1&&l!==(l=c[10]+"")&&Xe(r,l)},d(c){c&&T(e)}}}function vs(t){let e,i,n=t[5]+"",o,s,l,r,a=Ft(t[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=_s(bs(t,a,f));return{c(){e=A("div"),i=A("h5"),o=Re(n),s=z(),l=A("ul");for(let f=0;f<c.length;f+=1)c[f].c();r=z(),u(i,"class","hot-key-map-group-title v-quklnq"),u(l,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,m){E(f,e,m),p(e,i),p(i,o),p(e,s),p(e,l);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(l,null);p(e,r)},p(f,m){if(m&1&&n!==(n=f[5]+"")&&Xe(o,n),m&1){a=Ft(f[6]);let h;for(h=0;h<a.length;h+=1){const v=bs(f,a,h);c[h]?c[h].p(v,m):(c[h]=_s(v),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&&T(e),hn(c,f)}}}function A0(t){let e,i=Ft(t[0].groups),n=[];for(let o=0;o<i.length;o+=1)n[o]=vs(gs(t,i,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,s){E(o,e,s);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,s){if(s&1){i=Ft(o[0].groups);let l;for(l=0;l<i.length;l+=1){const r=gs(o,i,l);n[l]?n[l].p(r,s):(n[l]=vs(r),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},d(o){o&&T(e),hn(n,o)}}}function L0(t){let e,i;return e=new P0({props:{title:t[0].title,onClose:t[2],$$slots:{default:[A0]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.title=n[0].title),o&8193&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function I0(t,e,i){let n;const o=ct(),{data:s,show:l}=o.ui.modals.hotKeyMap;return D(t,s,a=>i(0,n=a)),[n,s,()=>{l.set(!1)}]}class V0 extends be{constructor(e){super(),ge(this,e,I0,L0,he,{},E0)}}function M0(t){ze(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 B0(t){let e,i;const n=t[1].default,o=Tn(n,t,t[0],null);return{c(){e=A("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(s,l){E(s,e,l),o&&o.m(e,null),i=!0},p(s,[l]){o&&o.p&&(!i||l&1)&&An(o,n,s,s[0],i?En(n,s[0],l,null):Ln(s[0]),null)},i(s){i||(d(o,s),i=!0)},o(s){b(o,s),i=!1},d(s){s&&T(e),o&&o.d(s)}}}function N0(t,e,i){let{$$slots:n={},$$scope:o}=e;return t.$$set=s=>{"$$scope"in s&&i(0,o=s.$$scope)},[o,n]}class R0 extends be{constructor(e){super(),ge(this,e,N0,B0,he,{},M0)}}function O0(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p:Z,i:Z,o:Z,d(o){o&&T(e)}}}class z0 extends be{constructor(e){super(),ge(this,e,null,O0,he,{})}}function D0(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p:Z,i:Z,o:Z,d(o){o&&T(e)}}}class F0 extends be{constructor(e){super(),ge(this,e,null,D0,he,{})}}function H0(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class U0 extends be{constructor(e){super(),ge(this,e,null,H0,he,{})}}function q0(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class q1 extends be{constructor(e){super(),ge(this,e,null,q0,he,{})}}function j0(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p:Z,i:Z,o:Z,d(o){o&&T(e)}}}class j1 extends be{constructor(e){super(),ge(this,e,null,j0,he,{})}}const po=t=>{switch(t){case Qe.VideoQuality.Q_720P:return U0;case Qe.VideoQuality.Q_1080P:return q1;case Qe.VideoQuality.Q_1440P:return j1;case Qe.VideoQuality.Q_2160P:return z0;case Qe.VideoQuality.Q_4320P:return F0}};function Z0(t){ze(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 W0(t){let e,i,n,o,s,l,r=t[1]&&ws(t);return{c(){e=A("div"),r&&r.c(),i=z(),n=R("svg"),o=R("path"),s=R("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(s,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(s,"fill","#fff"),N(s,"hidden",!!t[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-1fzhlx0"),u(e,"aria-hidden","true"),N(e,"triple",t[2])},m(a,c){E(a,e,c),r&&r.m(e,null),p(e,i),p(e,n),p(n,o),p(n,s),l=!0},p(a,c){a[1]?r?(r.p(a,c),c&2&&d(r,1)):(r=ws(a),r.c(),d(r,1),r.m(e,i)):r&&(de(),b(r,1,1,()=>{r=null}),me()),(!l||c&2)&&N(s,"hidden",!!a[1]),(!l||c&4)&&N(e,"triple",a[2])},i(a){l||(d(r),l=!0)},o(a){b(r),l=!1},d(a){a&&T(e),r&&r.d()}}}function K0(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}function ws(t){let e,i;return e=new R0({props:{$$slots:{default:[G0]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&18&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function G0(t){let e,i,n;var o=t[1];function s(l){return{}}return o&&(e=vn(o,s())),{c(){e&&U(e.$$.fragment),i=lt()},m(l,r){e&&F(e,l,r),E(l,i,r),n=!0},p(l,r){if(r&2&&o!==(o=l[1])){if(e){de();const a=e;b(a.$$.fragment,1,0,()=>{H(a,1)}),me()}o?(e=vn(o,s()),U(e.$$.fragment),d(e.$$.fragment,1),F(e,i.parentNode,i)):e=null}},i(l){n||(e&&d(e.$$.fragment,l),n=!0)},o(l){e&&b(e.$$.fragment,l),n=!1},d(l){l&&T(i),e&&H(e,l)}}}function Y0(t){let e,i,n,o;const s=[K0,W0],l=[];function r(a,c){return a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),b(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){b(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function Q0(t,e,i){let n,{isMobile:o=!1}=e,{currentQuality:s=void 0}=e,l;return t.$$set=r=>{"isMobile"in r&&i(0,o=r.isMobile),"currentQuality"in r&&i(3,s=r.currentQuality)},t.$$.update=()=>{t.$$.dirty&8&&i(1,n=po(s)),t.$$.dirty&2&&i(2,l=!!n&&[q1,j1].includes(n))},[o,n,l,s]}class Z1 extends be{constructor(e){super(),ge(this,e,Q0,Y0,he,{isMobile:0,currentQuality:3},Z0)}}function X0(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class W1 extends be{constructor(e){super(),ge(this,e,null,X0,he,{})}}function J0(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(i,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class x0 extends be{constructor(e){super(),ge(this,e,null,J0,he,{})}}function $0(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(i,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class ed extends be{constructor(e){super(),ge(this,e,null,$0,he,{})}}function td(t){let e,i,n,o;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(s,l){E(s,e,l),p(e,i),p(i,n),p(i,o)},p:Z,i:Z,o:Z,d(s){s&&T(e)}}}class id extends be{constructor(e){super(),ge(this,e,null,td,he,{})}}function nd(t){ze(t,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function od(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(i,"fill",t[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),N(e,"reverted",t[2])},m(o,s){E(o,e,s),p(e,i)},p(o,s){s&1&&u(i,"fill",o[0]),s&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),s&4&&N(e,"reverted",o[2])},d(o){o&&T(e)}}}function ld(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(i,"fill",t[0]),u(i,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),N(e,"reverted",t[2])},m(o,s){E(o,e,s),p(e,i)},p(o,s){s&1&&u(i,"fill",o[0]),s&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),s&4&&N(e,"reverted",o[2])},d(o){o&&T(e)}}}function sd(t){let e;function i(s,l){return s[1]?ld:od}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(s){s&&T(e),o.d(s)}}}function rd(t,e,i){let{direction:n="left"}=e,{color:o="#fff"}=e,s,l;return t.$$set=r=>{"direction"in r&&i(3,n=r.direction),"color"in r&&i(0,o=r.color)},t.$$.update=()=>{t.$$.dirty&8&&(i(1,s=["up","down"].includes(n)),i(2,l=["right","down"].includes(n)))},[o,s,l,n]}class Dn extends be{constructor(e){super(),ge(this,e,rd,sd,he,{direction:3,color:0},nd)}}function ad(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class ud extends be{constructor(e){super(),ge(this,e,null,ad,he,{})}}function cd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(i,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class To extends be{constructor(e){super(),ge(this,e,null,cd,he,{})}}function fd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class dd extends be{constructor(e){super(),ge(this,e,null,fd,he,{})}}function md(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class pd extends be{constructor(e){super(),ge(this,e,null,md,he,{})}}function hd(t){ze(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 ks(t,e,i){const n=t.slice();return n[142]=e[i],n}function ys(t,e,i){const n=t.slice();return n[145]=e[i],n}function Cs(t,e,i){const n=t.slice();return n[148]=e[i],n}function Ss(t){let e,i,n,o,s,l,r,a,c,f,m,h=t[8]&&Ps(t),v=t[28]&&Ts(t),g=t[27]&&As(t),w=t[26]&&Ls(t),_=t[25]&&Is(t),P=t[24]&&Vs(t),k=t[8]&&Ms(t);return{c(){e=A("div"),h&&h.c(),i=z(),n=A("ul"),v&&v.c(),o=z(),g&&g.c(),s=z(),w&&w.c(),l=z(),_&&_.c(),r=z(),P&&P.c(),a=z(),k&&k.c(),u(n,"class","items v-5r0p3"),u(n,"role","menu"),N(n,"items-mobile",t[8]),u(e,"class","menu v-5r0p3"),N(e,"menu-desktop",!t[8]),N(e,"menu-mobile",t[8]),N(e,"hidden",!t[15])},m(C,V){E(C,e,V),h&&h.m(e,null),p(e,i),p(e,n),v&&v.m(n,null),p(n,o),g&&g.m(n,null),p(n,s),w&&w.m(n,null),p(n,l),_&&_.m(n,null),p(n,r),P&&P.m(n,null),p(n,a),k&&k.m(n,null),t[116](n),c=!0,f||(m=[pe(e,"keydown",t[79]),pe(e,"mouseenter",t[73]),pe(e,"mouseleave",t[74])],f=!0)},p(C,V){C[8]?h?h.p(C,V):(h=Ps(C),h.c(),h.m(e,i)):h&&(h.d(1),h=null),C[28]?v?(v.p(C,V),V[0]&268435456&&d(v,1)):(v=Ts(C),v.c(),d(v,1),v.m(n,o)):v&&(de(),b(v,1,1,()=>{v=null}),me()),C[27]?g?(g.p(C,V),V[0]&134217728&&d(g,1)):(g=As(C),g.c(),d(g,1),g.m(n,s)):g&&(de(),b(g,1,1,()=>{g=null}),me()),C[26]?w?(w.p(C,V),V[0]&67108864&&d(w,1)):(w=Ls(C),w.c(),d(w,1),w.m(n,l)):w&&(de(),b(w,1,1,()=>{w=null}),me()),C[25]?_?(_.p(C,V),V[0]&33554432&&d(_,1)):(_=Is(C),_.c(),d(_,1),_.m(n,r)):_&&(de(),b(_,1,1,()=>{_=null}),me()),C[24]?P?(P.p(C,V),V[0]&16777216&&d(P,1)):(P=Vs(C),P.c(),d(P,1),P.m(n,a)):P&&(de(),b(P,1,1,()=>{P=null}),me()),C[8]?k?(k.p(C,V),V[0]&256&&d(k,1)):(k=Ms(C),k.c(),d(k,1),k.m(n,null)):k&&(de(),b(k,1,1,()=>{k=null}),me()),(!c||V[0]&256)&&N(n,"items-mobile",C[8]),(!c||V[0]&256)&&N(e,"menu-desktop",!C[8]),(!c||V[0]&256)&&N(e,"menu-mobile",C[8]),(!c||V[0]&32768)&&N(e,"hidden",!C[15])},i(C){c||(d(v),d(g),d(w),d(_),d(P),d(k),c=!0)},o(C){b(v),b(g),b(w),b(_),b(P),b(k),c=!1},d(C){C&&T(e),h&&h.d(),v&&v.d(),g&&g.d(),w&&w.d(),_&&_.d(),P&&P.d(),k&&k.d(),t[116](null),f=!1,et(m)}}}function Ps(t){let e,i,n,o,s,l,r,a;return{c(){e=A("div"),i=A("div"),i.textContent=`${Y("submenu_settings")}`,n=z(),o=A("div"),s=z(),l=A("div"),u(o,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),N(e,"item-mobile",t[8]),u(l,"class","menu-divider v-5r0p3")},m(c,f){E(c,e,f),p(e,i),p(e,n),p(e,o),E(c,s,f),E(c,l,f),r||(a=pe(o,"click",it(t[59])),r=!0)},p(c,f){f[0]&256&&N(e,"item-mobile",c[8])},d(c){c&&(T(e),T(s),T(l)),r=!1,a()}}}function Ts(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;n=new Z1({});let g=t[36]&&!t[8]&&Es(t);return{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("menu_quality")}`,l=z(),r=A("div"),a=Re(t[20]),c=z(),g&&g.c(),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_quality",{actual:t[30]})),u(e,"aria-haspopup","true"),N(e,"item-mobile",t[8])},m(w,_){E(w,e,_),p(e,i),F(n,i,null),p(e,o),p(e,s),p(e,l),p(e,r),p(r,a),p(r,c),g&&g.m(r,null),t[112](e),m=!0,h||(v=[pe(e,"click",it(t[60])),pe(e,"keydown",t[80])],h=!0)},p(w,_){(!m||_[0]&1048576)&&Xe(a,w[20]),w[36]&&!w[8]?g?(g.p(w,_),_[0]&256|_[1]&32&&d(g,1)):(g=Es(w),g.c(),d(g,1),g.m(r,null)):g&&(de(),b(g,1,1,()=>{g=null}),me()),(!m||_[0]&1073741824&&f!==(f=Y("aria_label_menu_quality",{actual:w[30]})))&&u(e,"aria-label",f),(!m||_[0]&256)&&N(e,"item-mobile",w[8])},i(w){m||(d(n.$$.fragment,w),d(g),m=!0)},o(w){b(n.$$.fragment,w),b(g),m=!1},d(w){w&&T(e),H(n),g&&g.d(),t[112](null),h=!1,et(v)}}}function Es(t){let e,i,n;var o=t[36];function s(l){return{}}return o&&(i=vn(o,s())),{c(){e=A("div"),i&&U(i.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(l,r){E(l,e,r),i&&F(i,e,null),n=!0},p(l,r){if(r[1]&32&&o!==(o=l[36])){if(i){de();const a=i;b(a.$$.fragment,1,0,()=>{H(a,1)}),me()}o?(i=vn(o,s()),U(i.$$.fragment),d(i.$$.fragment,1),F(i,e,null)):i=null}},i(l){n||(i&&d(i.$$.fragment,l),n=!0)},o(l){i&&b(i.$$.fragment,l),n=!1},d(l){l&&T(e),i&&H(i)}}}function As(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return n=new id({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("menu_playback_rate")}`,l=z(),r=A("div"),a=Re(t[13]),c=Re("x"),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_rate",{actual:t[31]})),u(e,"aria-haspopup","true"),N(e,"item-mobile",t[8])},m(g,w){E(g,e,w),p(e,i),F(n,i,null),p(e,o),p(e,s),p(e,l),p(e,r),p(r,a),p(r,c),t[113](e),m=!0,h||(v=[pe(e,"click",it(Qt(t[64]))),pe(e,"keydown",t[83])],h=!0)},p(g,w){(!m||w[0]&8192)&&Xe(a,g[13]),(!m||w[1]&1&&f!==(f=Y("aria_label_menu_rate",{actual:g[31]})))&&u(e,"aria-label",f),(!m||w[0]&256)&&N(e,"item-mobile",g[8])},i(g){m||(d(n.$$.fragment,g),m=!0)},o(g){b(n.$$.fragment,g),m=!1},d(g){g&&T(e),H(n),t[113](null),h=!1,et(v)}}}function Ls(t){let e,i,n,o,s,l,r,a=t[37].displayValue+"",c,f,m,h,v;return n=new W1({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("subtitles_caption")}`,l=z(),r=A("div"),c=Re(a),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_subtitle",{actual:t[37].displayValue})),u(e,"aria-haspopup","true"),N(e,"item-mobile",t[8])},m(g,w){E(g,e,w),p(e,i),F(n,i,null),p(e,o),p(e,s),p(e,l),p(e,r),p(r,c),t[114](e),m=!0,h||(v=[pe(e,"click",it(t[66])),pe(e,"keydown",t[86])],h=!0)},p(g,w){(!m||w[1]&64)&&a!==(a=g[37].displayValue+"")&&Xe(c,a),(!m||w[1]&64&&f!==(f=Y("aria_label_menu_subtitle",{actual:g[37].displayValue})))&&u(e,"aria-label",f),(!m||w[0]&256)&&N(e,"item-mobile",g[8])},i(g){m||(d(n.$$.fragment,g),m=!0)},o(g){b(n.$$.fragment,g),m=!1},d(g){g&&T(e),H(n),t[114](null),h=!1,et(v)}}}function Is(t){let e,i,n,o,s,l,r,a,c,f,m,h;return n=new ed({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("menu_traffic_saving")}`,l=z(),r=A("div"),a=Re(t[29]),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=Y("aria_label_menu_traffic_saving",{actual:t[29]})),u(e,"aria-haspopup","true"),N(e,"item-mobile",t[8])},m(v,g){E(v,e,g),p(e,i),F(n,i,null),p(e,o),p(e,s),p(e,l),p(e,r),p(r,a),t[115](e),f=!0,m||(h=[pe(e,"click",it(t[61])),pe(e,"keydown",t[89])],m=!0)},p(v,g){(!f||g[0]&536870912)&&Xe(a,v[29]),(!f||g[0]&536870912&&c!==(c=Y("aria_label_menu_traffic_saving",{actual:v[29]})))&&u(e,"aria-label",c),(!f||g[0]&256)&&N(e,"item-mobile",v[8])},i(v){f||(d(n.$$.fragment,v),f=!0)},o(v){b(n.$$.fragment,v),f=!1},d(v){v&&T(e),H(n),t[115](null),m=!1,et(h)}}}function Vs(t){let e,i,n,o,s,l,r,a;return n=new x0({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("download_video_caption")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",Y("aria_label_menu_download")),N(e,"item-mobile",t[8])},m(c,f){E(c,e,f),p(e,i),F(n,i,null),p(e,o),p(e,s),l=!0,r||(a=[pe(e,"click",it(t[69])),pe(e,"keydown",t[92])],r=!0)},p(c,f){(!l||f[0]&256)&&N(e,"item-mobile",c[8])},i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){b(n.$$.fragment,c),l=!1},d(c){c&&T(e),H(n),r=!1,et(a)}}}function Ms(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_,P=t[39].showSupport&&gd(t);return o=new dd({}),f=new pd({}),{c(){P&&P.c(),e=z(),i=A("li"),n=A("div"),U(o.$$.fragment),s=z(),l=A("div"),l.textContent=`${Y("menu_copy_debug")}`,r=z(),a=A("li"),c=A("div"),U(f.$$.fragment),m=z(),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(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",v=t[38]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable"))},m(k,C){P&&P.m(k,C),E(k,e,C),E(k,i,C),p(i,n),F(o,n,null),p(i,s),p(i,l),E(k,r,C),E(k,a,C),p(a,c),F(f,c,null),p(a,m),p(a,h),g=!0,w||(_=[pe(i,"click",it(t[71])),pe(i,"keydown",t[94]),pe(a,"click",it(t[72])),pe(a,"keydown",t[95])],w=!0)},p(k,C){k[39].showSupport&&P.p(k,C),(!g||C[1]&128&&v!==(v=k[38]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",v)},i(k){g||(d(P),d(o.$$.fragment,k),d(f.$$.fragment,k),g=!0)},o(k){b(P),b(o.$$.fragment,k),b(f.$$.fragment,k),g=!1},d(k){k&&(T(e),T(i),T(r),T(a)),P&&P.d(k),H(o),H(f),w=!1,et(_)}}}function gd(t){let e,i,n,o,s,l,r,a;return n=new ud({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("menu_report")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(e,"class","item item-mobile v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${Y("menu_report")}. ${Y("aria_label_new_tab_alert")}`)},m(c,f){E(c,e,f),p(e,i),F(n,i,null),p(e,o),p(e,s),l=!0,r||(a=[pe(e,"click",it(t[70])),pe(e,"keydown",t[93])],r=!0)},p:Z,i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){b(n.$$.fragment,c),l=!1},d(c){c&&T(e),H(n),r=!1,et(a)}}}function Bs(t){let e,i,n,o,s,l,r,a,c,f,m,h;n=new Dn({props:{direction:"left"}});let v=Ft(t[12]),g=[];for(let _=0;_<v.length;_+=1)g[_]=Os(Cs(t,v,_));const w=_=>b(g[_],1,1,()=>{g[_]=null});return{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("submenu_quality")}`,l=z(),r=A("div"),a=z(),c=A("ul");for(let _=0;_<g.length;_+=1)g[_].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),N(i,"item-mobile",t[8]),u(r,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[21]),N(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),N(e,"menu-desktop",!t[8]),N(e,"menu-mobile",t[8])},m(_,P){E(_,e,P),p(e,i),F(n,i,null),p(i,o),p(i,s),t[117](i),p(e,l),p(e,r),p(e,a),p(e,c);for(let k=0;k<g.length;k+=1)g[k]&&g[k].m(c,null);t[120](c),f=!0,m||(h=[pe(i,"click",it(t[68])),pe(c,"keydown",t[81])],m=!0)},p(_,P){if((!f||P[0]&256)&&N(i,"item-mobile",_[8]),P[0]&4352|P[2]&1048577){v=Ft(_[12]);let k;for(k=0;k<v.length;k+=1){const C=Cs(_,v,k);g[k]?(g[k].p(C,P),d(g[k],1)):(g[k]=Os(C),g[k].c(),d(g[k],1),g[k].m(c,null))}for(de(),k=v.length;k<g.length;k+=1)w(k);me()}(!f||P[0]&2097152)&&u(c,"style",_[21]),(!f||P[0]&256)&&N(c,"items-mobile",_[8]),(!f||P[0]&256)&&N(e,"menu-desktop",!_[8]),(!f||P[0]&256)&&N(e,"menu-mobile",_[8])},i(_){if(!f){d(n.$$.fragment,_);for(let P=0;P<v.length;P+=1)d(g[P]);f=!0}},o(_){b(n.$$.fragment,_),g=g.filter(Boolean);for(let P=0;P<g.length;P+=1)b(g[P]);f=!1},d(_){_&&T(e),H(n),t[117](null),hn(g,_),t[120](null),m=!1,et(h)}}}function Ns(t){let e,i,n;return i=new To({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),F(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function Rs(t){let e,i,n;var o=po(t[148].value);function s(l){return{}}return o&&(i=vn(o,s())),{c(){e=A("div"),i&&U(i.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(l,r){E(l,e,r),i&&F(i,e,null),n=!0},p(l,r){if(r[0]&4096&&o!==(o=po(l[148].value))){if(i){de();const a=i;b(a.$$.fragment,1,0,()=>{H(a,1)}),me()}o?(i=vn(o,s()),U(i.$$.fragment),d(i.$$.fragment,1),F(i,e,null)):i=null}},i(l){n||(i&&d(i.$$.fragment,l),n=!0)},o(l){i&&b(i.$$.fragment,l),n=!1},d(l){l&&T(e),i&&H(i)}}}function Os(t){let e,i,n,o=t[148].displayValue+"",s,l,r=!t[8]&&po(t[148].value),a,c,f,m,h,v,g=t[148].selected&&Ns(),w=r&&Rs(t);function _(){return t[118](t[148])}function P(...k){return t[119](t[148],...k)}return{c(){e=A("li"),g&&g.c(),i=z(),n=A("div"),s=Re(o),l=z(),w&&w.c(),a=z(),u(n,"class","v-5r0p3"),N(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),N(e,"item-mobile",t[8])},m(k,C){E(k,e,C),g&&g.m(e,null),p(e,i),p(e,n),p(n,s),p(e,l),w&&w.m(e,null),p(e,a),m=!0,h||(v=[pe(e,"click",it(_)),pe(e,"keydown",P)],h=!0)},p(k,C){t=k,t[148].selected?g?C[0]&4096&&d(g,1):(g=Ns(),g.c(),d(g,1),g.m(e,i)):g&&(de(),b(g,1,1,()=>{g=null}),me()),(!m||C[0]&4096)&&o!==(o=t[148].displayValue+"")&&Xe(s,o),(!m||C[0]&256)&&N(n,"quality-title-mobile",t[8]),C[0]&4352&&(r=!t[8]&&po(t[148].value)),r?w?(w.p(t,C),C[0]&4352&&d(w,1)):(w=Rs(t),w.c(),d(w,1),w.m(e,a)):w&&(de(),b(w,1,1,()=>{w=null}),me()),(!m||C[0]&4096&&c!==(c=t[148].value))&&u(e,"data-value",c),(!m||C[0]&4096&&f!==(f=t[148].displayValue))&&u(e,"aria-label",f),(!m||C[0]&256)&&N(e,"item-mobile",t[8])},i(k){m||(d(g),d(w),m=!0)},o(k){b(g),b(w),m=!1},d(k){k&&T(e),g&&g.d(),w&&w.d(),h=!1,et(v)}}}function zs(t){let e,i,n,o,s,l,r,a,c,f,m,h;n=new Dn({props:{direction:"left"}});let v=Ft(t[11]),g=[];for(let _=0;_<v.length;_+=1)g[_]=Fs(ys(t,v,_));const w=_=>b(g[_],1,1,()=>{g[_]=null});return{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("submenu_playback_rate")}`,l=z(),r=A("div"),a=z(),c=A("ul");for(let _=0;_<g.length;_+=1)g[_].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),N(i,"item-mobile",t[8]),u(r,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[22]),N(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),N(e,"menu-desktop",!t[8]),N(e,"menu-mobile",t[8])},m(_,P){E(_,e,P),p(e,i),F(n,i,null),p(i,o),p(i,s),t[121](i),p(e,l),p(e,r),p(e,a),p(e,c);for(let k=0;k<g.length;k+=1)g[k]&&g[k].m(c,null);t[124](c),f=!0,m||(h=[pe(i,"click",it(t[68])),pe(c,"keydown",t[84])],m=!0)},p(_,P){if((!f||P[0]&256)&&N(i,"item-mobile",_[8]),P[0]&2304|P[2]&8388616){v=Ft(_[11]);let k;for(k=0;k<v.length;k+=1){const C=ys(_,v,k);g[k]?(g[k].p(C,P),d(g[k],1)):(g[k]=Fs(C),g[k].c(),d(g[k],1),g[k].m(c,null))}for(de(),k=v.length;k<g.length;k+=1)w(k);me()}(!f||P[0]&4194304)&&u(c,"style",_[22]),(!f||P[0]&256)&&N(c,"items-mobile",_[8]),(!f||P[0]&256)&&N(e,"menu-desktop",!_[8]),(!f||P[0]&256)&&N(e,"menu-mobile",_[8])},i(_){if(!f){d(n.$$.fragment,_);for(let P=0;P<v.length;P+=1)d(g[P]);f=!0}},o(_){b(n.$$.fragment,_),g=g.filter(Boolean);for(let P=0;P<g.length;P+=1)b(g[P]);f=!1},d(_){_&&T(e),H(n),t[121](null),hn(g,_),t[124](null),m=!1,et(h)}}}function Ds(t){let e,i,n;return i=new To({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),F(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function Fs(t){let e,i,n,o=t[145].displayValue+"",s,l,r,a,c,f,m,h=t[145].selected&&Ds();function v(){return t[122](t[145])}function g(...w){return t[123](t[145],...w)}return{c(){e=A("li"),h&&h.c(),i=z(),n=A("div"),s=Re(o),l=z(),u(n,"class","v-5r0p3"),N(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",r=t[145].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=t[145].displayValue),N(e,"item-mobile",t[8])},m(w,_){E(w,e,_),h&&h.m(e,null),p(e,i),p(e,n),p(n,s),p(e,l),c=!0,f||(m=[pe(e,"click",it(v)),pe(e,"keydown",g)],f=!0)},p(w,_){t=w,t[145].selected?h?_[0]&2048&&d(h,1):(h=Ds(),h.c(),d(h,1),h.m(e,i)):h&&(de(),b(h,1,1,()=>{h=null}),me()),(!c||_[0]&2048)&&o!==(o=t[145].displayValue+"")&&Xe(s,o),(!c||_[0]&256)&&N(n,"quality-title-mobile",t[8]),(!c||_[0]&2048&&r!==(r=t[145].value))&&u(e,"data-value",r),(!c||_[0]&2048&&a!==(a=t[145].displayValue))&&u(e,"aria-label",a),(!c||_[0]&256)&&N(e,"item-mobile",t[8])},i(w){c||(d(h),c=!0)},o(w){b(h),c=!1},d(w){w&&T(e),h&&h.d(),f=!1,et(m)}}}function Hs(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k,C,V,ne,M,G,B;n=new Dn({props:{direction:"left"}});let x=!t[9]&&Us(),I=t[9]&&qs();return{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("submenu_traffic_saving")}`,l=z(),r=A("div"),a=z(),c=A("ul"),f=A("li"),x&&x.c(),m=z(),h=A("div"),h.textContent=`${Y("traffic_saving_disable")}`,v=z(),g=A("li"),I&&I.c(),w=z(),_=A("div"),_.textContent=`${Y("traffic_saving_enable")}`,P=z(),k=A("div"),C=z(),V=A("div"),ne=A("span"),ne.textContent=`${Y("traffic_saving_helper_text")}`,u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),N(i,"item-mobile",t[8]),u(r,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),N(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")),N(f,"item-mobile",t[8]),u(_,"class","v-5r0p3"),N(_,"quality-title-mobile",t[8]),u(g,"class","item item-traffic-saving v-5r0p3"),u(g,"role","menuitem"),u(g,"tabindex","0"),u(g,"aria-label",`${Y("aria_label_submenu_traffic_saving_on")}. ${Y("traffic_saving_helper_text")}`),N(g,"item-mobile",t[8]),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[23]),N(c,"items-mobile",t[8]),u(k,"class","menu-divider v-5r0p3"),u(ne,"class","v-5r0p3"),u(V,"class","item item-helper-text v-5r0p3"),N(V,"item-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),N(e,"menu-desktop",!t[8]),N(e,"menu-mobile",t[8])},m(ie,O){E(ie,e,O),p(e,i),F(n,i,null),p(i,o),p(i,s),t[125](i),p(e,l),p(e,r),p(e,a),p(e,c),p(c,f),x&&x.m(f,null),p(f,m),p(f,h),p(c,v),p(c,g),I&&I.m(g,null),p(g,w),p(g,_),t[130](c),p(e,P),p(e,k),p(e,C),p(e,V),p(V,ne),M=!0,G||(B=[pe(i,"click",it(t[68])),pe(f,"click",it(t[126])),pe(f,"keydown",t[127]),pe(g,"click",it(t[128])),pe(g,"keydown",t[129]),pe(c,"keydown",t[90])],G=!0)},p(ie,O){(!M||O[0]&256)&&N(i,"item-mobile",ie[8]),ie[9]?x&&(de(),b(x,1,1,()=>{x=null}),me()):x?O[0]&512&&d(x,1):(x=Us(),x.c(),d(x,1),x.m(f,m)),(!M||O[0]&256)&&N(h,"quality-title-mobile",ie[8]),(!M||O[0]&256)&&N(f,"item-mobile",ie[8]),ie[9]?I?O[0]&512&&d(I,1):(I=qs(),I.c(),d(I,1),I.m(g,w)):I&&(de(),b(I,1,1,()=>{I=null}),me()),(!M||O[0]&256)&&N(_,"quality-title-mobile",ie[8]),(!M||O[0]&256)&&N(g,"item-mobile",ie[8]),(!M||O[0]&8388608)&&u(c,"style",ie[23]),(!M||O[0]&256)&&N(c,"items-mobile",ie[8]),(!M||O[0]&256)&&N(V,"item-mobile",ie[8]),(!M||O[0]&256)&&N(e,"menu-desktop",!ie[8]),(!M||O[0]&256)&&N(e,"menu-mobile",ie[8])},i(ie){M||(d(n.$$.fragment,ie),d(x),d(I),M=!0)},o(ie){b(n.$$.fragment,ie),b(x),b(I),M=!1},d(ie){ie&&T(e),H(n),t[125](null),x&&x.d(),I&&I.d(),t[130](null),G=!1,et(B)}}}function Us(t){let e,i,n;return i=new To({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),F(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function qs(t){let e,i,n;return i=new To({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),F(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function js(t){let e,i,n,o,s,l,r,a,c,f;n=new Dn({props:{direction:"left"}});let m=Ft(t[10]),h=[];for(let g=0;g<m.length;g+=1)h[g]=Ws(ks(t,m,g));const v=g=>b(h[g],1,1,()=>{h[g]=null});return{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("subtitles_caption")}`,l=z(),r=A("ul");for(let g=0;g<h.length;g+=1)h[g].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),N(i,"item-mobile",t[8]),u(r,"class","items v-5r0p3"),u(r,"role","menu"),N(r,"items-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),N(e,"menu-desktop",!t[8]),N(e,"menu-mobile",t[8])},m(g,w){E(g,e,w),p(e,i),F(n,i,null),p(i,o),p(i,s),p(e,l),p(e,r);for(let _=0;_<h.length;_+=1)h[_]&&h[_].m(r,null);t[133](r),a=!0,c||(f=[pe(i,"click",it(t[68])),pe(r,"keydown",t[87])],c=!0)},p(g,w){if((!a||w[0]&256)&&N(i,"item-mobile",g[8]),w[0]&1280|w[2]&67108896){m=Ft(g[10]);let _;for(_=0;_<m.length;_+=1){const P=ks(g,m,_);h[_]?(h[_].p(P,w),d(h[_],1)):(h[_]=Ws(P),h[_].c(),d(h[_],1),h[_].m(r,null))}for(de(),_=m.length;_<h.length;_+=1)v(_);me()}(!a||w[0]&256)&&N(r,"items-mobile",g[8]),(!a||w[0]&256)&&N(e,"menu-desktop",!g[8]),(!a||w[0]&256)&&N(e,"menu-mobile",g[8])},i(g){if(!a){d(n.$$.fragment,g);for(let w=0;w<m.length;w+=1)d(h[w]);a=!0}},o(g){b(n.$$.fragment,g),h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)b(h[w]);a=!1},d(g){g&&T(e),H(n),hn(h,g),t[133](null),c=!1,et(f)}}}function Zs(t){let e,i,n;return i=new To({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),F(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function Ws(t){let e,i,n,o=t[142].displayValue+"",s,l,r,a,c,f,m,h=t[142].selected&&Zs();function v(){return t[131](t[142])}function g(...w){return t[132](t[142],...w)}return{c(){e=A("li"),h&&h.c(),i=z(),n=A("div"),s=Re(o),l=z(),u(n,"class","v-5r0p3"),N(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",r=t[142].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=t[142].displayValue),N(e,"item-mobile",t[8])},m(w,_){E(w,e,_),h&&h.m(e,null),p(e,i),p(e,n),p(n,s),p(e,l),c=!0,f||(m=[pe(e,"click",it(v)),pe(e,"keydown",g)],f=!0)},p(w,_){t=w,t[142].selected?h?_[0]&1024&&d(h,1):(h=Zs(),h.c(),d(h,1),h.m(e,i)):h&&(de(),b(h,1,1,()=>{h=null}),me()),(!c||_[0]&1024)&&o!==(o=t[142].displayValue+"")&&Xe(s,o),(!c||_[0]&256)&&N(n,"quality-title-mobile",t[8]),(!c||_[0]&1024&&r!==(r=t[142].value))&&u(e,"data-value",r),(!c||_[0]&1024&&a!==(a=t[142].displayValue))&&u(e,"aria-label",a),(!c||_[0]&256)&&N(e,"item-mobile",t[8])},i(w){c||(d(h),c=!0)},o(w){b(h),c=!1},d(w){w&&T(e),h&&h.d(),f=!1,et(m)}}}function bd(t){let e,i,n,o,s,l,r=t[14]&&Ss(t),a=t[16]&&Bs(t),c=t[17]&&zs(t),f=t[19]&&Hs(t),m=t[18]&&js(t);return{c(){e=A("div"),r&&r.c(),i=z(),a&&a.c(),n=z(),c&&c.c(),o=z(),f&&f.c(),s=z(),m&&m.c(),u(e,"class","v-5r0p3"),N(e,"hidden",!t[14]),N(e,"container-mobile",t[8])},m(h,v){E(h,e,v),r&&r.m(e,null),p(e,i),a&&a.m(e,null),p(e,n),c&&c.m(e,null),p(e,o),f&&f.m(e,null),p(e,s),m&&m.m(e,null),l=!0},p(h,v){h[14]?r?(r.p(h,v),v[0]&16384&&d(r,1)):(r=Ss(h),r.c(),d(r,1),r.m(e,i)):r&&(de(),b(r,1,1,()=>{r=null}),me()),h[16]?a?(a.p(h,v),v[0]&65536&&d(a,1)):(a=Bs(h),a.c(),d(a,1),a.m(e,n)):a&&(de(),b(a,1,1,()=>{a=null}),me()),h[17]?c?(c.p(h,v),v[0]&131072&&d(c,1)):(c=zs(h),c.c(),d(c,1),c.m(e,o)):c&&(de(),b(c,1,1,()=>{c=null}),me()),h[19]?f?(f.p(h,v),v[0]&524288&&d(f,1)):(f=Hs(h),f.c(),d(f,1),f.m(e,s)):f&&(de(),b(f,1,1,()=>{f=null}),me()),h[18]?m?(m.p(h,v),v[0]&262144&&d(m,1)):(m=js(h),m.c(),d(m,1),m.m(e,null)):m&&(de(),b(m,1,1,()=>{m=null}),me()),(!l||v[0]&16384)&&N(e,"hidden",!h[14]),(!l||v[0]&256)&&N(e,"container-mobile",h[8])},i(h){l||(d(r),d(a),d(c),d(f),d(m),l=!0)},o(h){b(r),b(a),b(c),b(f),b(m),l=!1},d(h){h&&T(e),r&&r.d(),a&&a.d(),c&&c.d(),f&&f.d(),m&&m.d()}}}const ol=18;function _d(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k,C,V,ne,M,G,B,x,I,{ref:ie=void 0}=e,{supportLink:O}=e,{playerControlsHeight:X=0}=e,{returnFocus:se}=e;const S=ct(),le=nn(),W=S.state.currentQuality$;D(t,W,ee=>i(103,w=ee));const oe=S.state.availableQualities$;D(t,oe,ee=>i(12,v=ee));const ke=S.state.autoQualityLimitingAvailable$;D(t,ke,ee=>i(107,C=ee));const qe=S.state.isAutoQualityEnabled$;D(t,qe,ee=>i(104,_=ee));const je=S.state.currentPlaybackRate$;D(t,je,ee=>i(13,g=ee));const Ie=S.state.availablePlaybackRates$;D(t,Ie,ee=>i(11,m=ee));const Se=S.state.currentSubtitle$;D(t,Se,ee=>i(37,x=ee));const ce=S.state.availableSubtitlesList$;D(t,ce,ee=>i(10,c=ee));const K=S.state.canDownload,ue=S.state.hasMpegSources$;D(t,ue,ee=>i(108,V=ee));const _e=S.ui.settingsMenuVisible;D(t,_e,ee=>i(14,B=ee));const $=S.ui.settingsMenuOpenedByKeyboard;D(t,$,ee=>i(135,o=ee));const Pe=S.ui.isMobile;D(t,Pe,ee=>i(8,s=ee));const Ee=S.ui.mobileNotReportControlHidden$;D(t,Ee,ee=>i(105,P=ee));const Be=S.state.canChangePlaybackSpeed$;D(t,Be,ee=>i(106,k=ee));const ae=S.ui.isFullscreen;D(t,ae,ee=>i(111,G=ee));const ve=S.state.trafficSavingEnabled$;D(t,ve,ee=>i(9,r=ee));const J=S.ui.playerSize;D(t,J,ee=>i(110,M=ee));const Q=S.ui.debugPanelVisible;D(t,Q,ee=>i(38,I=ee));const De=S.ui.playerSize;D(t,De,ee=>i(109,ne=ee));const tt=S.state.isInteractiveTime$,Je=S.actions.internal.downloadVideo,Ce=S.actions.internal.closeSettingsMenu;let Ge=!0,xe=!1,ft=!1,_t=!1,Ue=!1,Ve=!1;function vt(){o||se?.(),Ce(),Ve=!1}function Mt(){i(15,Ge=!1),i(16,xe=!0)}function Xt(){i(15,Ge=!1),i(19,Ue=!0)}function Ht(ee){S.actions.internal.setQuality(ee),vt()}function fe(ee){S.actions.internal.setTrafficSavingEnabled(ee),vt()}function ht(){i(15,Ge=!1),i(17,ft=!0)}function gt(ee){S.actions.internal.setPlaybackRate(ee),vt()}function dt(){i(15,Ge=!1),i(18,_t=!0)}function st(ee){S.actions.internal.setSubtitle(ee),vt()}function kt(){i(15,Ge=!0),i(16,xe=!1),i(17,ft=!1),i(18,_t=!1),i(19,Ue=!1)}function St(){Je(),vt()}function si(){window.open(O,"_blank"),vt(),S.actions.internal.pause()}function Di(){pl(S.actions.internal.getDebugTextData()),vt()}function Ut(){Q.set(!0),vt()}function Fi(){Ve=!0}function Ki(){Ve=!1}function Jt(ee,$e,bt){if(!ee)return"...";const ni=$e.find(on=>on.value===ee),Qi=ni?ni.displayValue:ee;return bt?ee===Qe.VideoQuality.INVARIANT?Y("auto_quality_invariant"):Y("auto_quality",{actual:Qi}):Qi}let Vi,Mi,Bt,xt,ri,qt,ai,jt,pi,Bi,pt,ui,hi,gi,Nt,bi,$t,ei=Ae(!1);D(t,ei,ee=>i(102,h=ee));let Pt,_i,Rt=Ae(!1);D(t,Rt,ee=>i(101,f=ee));let rt,Tt,Ni=Ae(!1);D(t,Ni,ee=>i(100,a=ee));let vi,wi,ti=Ae(!1);D(t,ti,ee=>i(99,l=ee));const Zt=ee=>{B1(ee,Ce)},Hi=async ee=>{zo(ee,Mt,()=>{const $e=v.findIndex(bt=>bt.selected);return $t.childNodes[$e]})},Et=async ee=>{Do(ee,kt,ei,Ce)},wt=(ee,$e)=>{Xi(ee,()=>Ht($e))},yt=async ee=>{zo(ee,ht,()=>{const $e=m.findIndex(bt=>bt.selected);return _i.childNodes[$e]})},At=async ee=>{Do(ee,kt,Rt,Ce)},Ui=(ee,$e)=>{Xi(ee,()=>gt($e))},Wt=async ee=>{zo(ee,dt,()=>{const $e=c.findIndex(bt=>bt.selected);return Tt.childNodes[$e]})},ki=async ee=>{Do(ee,kt,Ni,Ce)},Ri=(ee,$e)=>{Xi(ee,()=>st($e))},yi=async ee=>{zo(ee,Xt,()=>{const $e=r?2:0;return wi.childNodes[$e]})},Gi=async ee=>{Do(ee,kt,ti,Ce)},Ci=(ee,$e)=>{Xi(ee,()=>fe($e))},ci=ee=>{Xi(ee,()=>St())},fi=ee=>{Xi(ee,()=>si())},Si=ee=>{Xi(ee,()=>Di())},Pi=ee=>{Xi(ee,()=>Ut())};tn(()=>{const ee=tt.subscribe($e=>{$e&&!s&&!Ve&&!o&&vt()});return()=>{ee()}});function Ti(ee){we[ee?"unshift":"push"](()=>{bi=ee,i(4,bi)})}function Le(ee){we[ee?"unshift":"push"](()=>{Pt=ee,i(5,Pt)})}function qi(ee){we[ee?"unshift":"push"](()=>{rt=ee,i(6,rt)})}function ji(ee){we[ee?"unshift":"push"](()=>{vi=ee,i(7,vi)})}function Ei(ee){we[ee?"unshift":"push"](()=>{ie=ee,i(0,ie)})}function Zi(ee){we[ee?"unshift":"push"](()=>{Mi=ee,i(1,Mi)})}const Ai=ee=>Ht(ee.value),Oe=(ee,$e)=>wt($e,ee.value);function di(ee){we[ee?"unshift":"push"](()=>{$t=ee,i(32,$t)})}function Li(ee){we[ee?"unshift":"push"](()=>{Bt=ee,i(2,Bt)})}const Ot=ee=>gt(ee.value),zt=(ee,$e)=>Ui($e,ee.value);function ii(ee){we[ee?"unshift":"push"](()=>{_i=ee,i(33,_i)})}function Ji(ee){we[ee?"unshift":"push"](()=>{xt=ee,i(3,xt)})}const Oi=()=>fe(!1),xi=ee=>Ci(ee,!1),$i=()=>fe(!0),Yi=ee=>Ci(ee,!0);function Ii(ee){we[ee?"unshift":"push"](()=>{wi=ee,i(35,wi)})}const Wi=ee=>st(ee),zi=(ee,$e)=>Ri($e,ee);function en(ee){we[ee?"unshift":"push"](()=>{Tt=ee,i(34,Tt)})}return t.$$set=ee=>{"ref"in ee&&i(0,ie=ee.ref),"supportLink"in ee&&i(96,O=ee.supportLink),"playerControlsHeight"in ee&&i(97,X=ee.playerControlsHeight),"returnFocus"in ee&&i(98,se=ee.returnFocus)},t.$$.update=()=>{if(t.$$.dirty[0]&16384&&B&&(i(15,Ge=!0),i(16,xe=!1),i(17,ft=!1),i(18,_t=!1),i(19,Ue=!1)),t.$$.dirty[3]&1024&&i(36,n=po(w)),t.$$.dirty[0]&4096|t.$$.dirty[3]&3072&&i(20,Vi=Jt(w,v,_)),t.$$.dirty[0]&258|t.$$.dirty[3]&458768)if(s&&G)i(21,ri=`max-height: ${Math.round(M.height*.6)}px`);else if(s)i(21,ri="");else{const ee=ne.height-ol-(Mi?.clientHeight??0)-X;i(21,ri=`max-height: ${ee}px; overflow: auto;`)}if(t.$$.dirty[0]&260|t.$$.dirty[3]&65552)if(s)i(22,qt="");else{const ee=ne.height-ol-(Bt?.clientHeight??0)-X;i(22,qt=`max-height: ${ee}px; overflow: auto;`)}if(t.$$.dirty[0]&264|t.$$.dirty[3]&65552)if(s)i(23,ai="");else{const ee=ne.height-ol-(xt?.clientHeight??0)-X;i(23,ai=`max-height: ${ee}px; overflow: auto;`)}t.$$.dirty[3]&36864&&i(24,jt=K&&V&&!P),t.$$.dirty[3]&20480&&i(25,pi=le.features.trafficSaving&&!P&&C),t.$$.dirty[0]&1024|t.$$.dirty[3]&4096&&i(26,Bi=c.length>0&&!P),t.$$.dirty[3]&12288&&i(27,pt=!!k&&!P),t.$$.dirty[3]&4096&&i(28,ui=!P),t.$$.dirty[0]&512&&i(29,hi=Y(r?"traffic_saving_on":"traffic_saving_off")),t.$$.dirty[3]&3072&&i(30,gi=_?Y("auto_quality_option"):w),t.$$.dirty[0]&10240&&i(31,Nt=m.find(ee=>ee.value===g)?.displayValue),t.$$.dirty[0]&16|t.$$.dirty[3]&512&&Oo(bi,ei,h),t.$$.dirty[0]&32|t.$$.dirty[3]&256&&Oo(Pt,Rt,f),t.$$.dirty[0]&64|t.$$.dirty[3]&128&&Oo(rt,Ni,a),t.$$.dirty[0]&128|t.$$.dirty[3]&64&&Oo(vi,ti,l)},[ie,Mi,Bt,xt,bi,Pt,rt,vi,s,r,c,m,v,g,B,Ge,xe,ft,_t,Ue,Vi,ri,qt,ai,jt,pi,Bi,pt,ui,hi,gi,Nt,$t,_i,Tt,wi,n,x,I,le,W,oe,ke,qe,je,Ie,Se,ce,ue,_e,$,Pe,Ee,Be,ae,ve,J,Q,De,vt,Mt,Xt,Ht,fe,ht,gt,dt,st,kt,St,si,Di,Ut,Fi,Ki,ei,Rt,Ni,ti,Zt,Hi,Et,wt,yt,At,Ui,Wt,ki,Ri,yi,Gi,Ci,ci,fi,Si,Pi,O,X,se,l,a,f,h,w,_,P,k,C,V,ne,M,G,Ti,Le,qi,ji,Ei,Zi,Ai,Oe,di,Li,Ot,zt,ii,Ji,Oi,xi,$i,Yi,Ii,Wi,zi,en]}class K1 extends be{constructor(e){super(),ge(this,e,_d,bd,he,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},hd,[-1,-1,-1,-1,-1])}}function vd(t){ze(t,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function wd(t){let e,i,n;return i=new Z1({props:{isMobile:t[3],currentQuality:t[4]}}),{c(){e=A("span"),U(i.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,s){E(o,e,s),F(i,e,null),n=!0},p(o,s){const l={};s&8&&(l.isMobile=o[3]),s&16&&(l.currentQuality=o[4]),i.$set(l)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function kd(t){let e,i,n;function o(l){t[9](l)}let s={className:t[1]?"opened":"",testId:"btn-settings",click:t[8],ariaLabel:t[2],ariaExpanded:t[1],$$slots:{default:[wd]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"opened":""),r&4&&(a.ariaLabel=l[2]),r&2&&(a.ariaExpanded=l[1]),r&4120&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function yd(t,e,i){let n,o,s,{ref:l=void 0}=e;const r=ct(),a=r.state.currentQuality$;D(t,a,w=>i(4,s=w));const c=r.ui.settingsMenuVisible;D(t,c,w=>i(1,n=w));const f=r.actions.internal.toggleSettingsMenu,m=r.ui.isMobile;D(t,m,w=>i(3,o=w));let h;function v(w){const _=wl(w);f(_)}function g(w){l=w,i(0,l)}return t.$$set=w=>{"ref"in w&&i(0,l=w.ref)},t.$$.update=()=>{t.$$.dirty&2&&i(2,h=Y(n?"tooltip_settings_on":"tooltip_settings_off"))},[l,n,h,o,s,a,c,m,v,g]}class Sl extends be{constructor(e){super(),ge(this,e,yd,kd,he,{ref:0},vd)}}function Cd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class Sd extends be{constructor(e){super(),ge(this,e,null,Cd,he,{})}}function Pd(t){let e,i;return e=new W1({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Td(t){let e,i;return e=new Sd({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ed(t){let e,i,n,o;const s=[Td,Pd],l=[];function r(a,c){return a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e!==f&&(de(),b(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i||(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){b(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function Ad(t){let e,i;return e=new mi({props:{testId:"btn-Subtitles",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Po[Te.KeyC],$$slots:{default:[Ed]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ld(t,e,i){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,s;return t.$$set=l=>{"isSubtitlesEnabled"in l&&i(0,n=l.isSubtitlesEnabled),"click"in l&&i(1,o=l.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,s=Y(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,s]}class Id extends be{constructor(e){super(),ge(this,e,Ld,Ad,he,{isSubtitlesEnabled:0,click:1})}}function Vd(t){ze(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 Ks(t){let e,i;return{c(){e=A("span"),i=Re(t[3]),u(e,"class","duration v-19o2urr")},m(n,o){E(n,e,o),p(e,i)},p(n,o){o&8&&Xe(i,n[3])},d(n){n&&T(e)}}}function Md(t){let e,i,n,o,s=t[2]&&Ks(t);return{c(){e=A("div"),i=A("span"),n=Re(t[4]),o=z(),s&&s.c(),u(i,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),N(e,"mobile",t[1])},m(l,r){E(l,e,r),p(e,i),p(i,n),p(e,o),s&&s.m(e,null),t[7](e)},p(l,[r]){r&16&&Xe(n,l[4]),l[2]?s?s.p(l,r):(s=Ks(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&2&&N(e,"mobile",l[1])},i:Z,o:Z,d(l){l&&T(e),s&&s.d(),t[7](null)}}}function Bd(t,e,i){let{isMobile:n=!1}=e,{duration:o}=e,{position:s}=e,{showDuration:l=!0}=e,{ref:r}=e,a,c;function f(m){we[m?"unshift":"push"](()=>{r=m,i(0,r)})}return t.$$set=m=>{"isMobile"in m&&i(1,n=m.isMobile),"duration"in m&&i(5,o=m.duration),"position"in m&&i(6,s=m.position),"showDuration"in m&&i(2,l=m.showDuration),"ref"in m&&i(0,r=m.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,a=Pn(o)),t.$$.dirty&64&&i(4,c=Pn(s))},[r,n,l,a,c,o,s,f]}class G1 extends be{constructor(e){super(),ge(this,e,Bd,Md,he,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},Vd)}}function Nd(t){ze(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 Rd(t){let e,i,n,o,s,l;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(s,"class","cross v-1n5yyua"),u(s,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"data-value",t[0]),u(e,"data-testid",l="volume-"+t[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(r,a){E(r,e,a),p(e,i),p(i,n),p(i,o),p(i,s)},p(r,[a]){a&1&&u(e,"data-value",r[0]),a&1&&l!==(l="volume-"+r[0]+"-icon")&&u(e,"data-testid",l)},i:Z,o:Z,d(r){r&&T(e)}}}function Od(t,e,i){let{volume:n=1}=e,{muted:o=!1}=e;const s=(r,a)=>a?"off":r>.5?"max":r>.2?"mid":r>0?"min":"off";let l;return t.$$set=r=>{"volume"in r&&i(1,n=r.volume),"muted"in r&&i(2,o=r.muted)},t.$$.update=()=>{t.$$.dirty&6&&i(0,l=s(n,o))},[l,n,o]}class Yo extends be{constructor(e){super(),ge(this,e,Od,Rd,he,{volume:1,muted:2},Nd)}}function zd(t){let e,i;const n=t[4].default,o=Tn(n,t,t[3],null);return{c(){e=A("div"),o&&o.c(),u(e,"class","overlay")},m(s,l){E(s,e,l),o&&o.m(e,null),t[5](e),i=!0},p(s,[l]){o&&o.p&&(!i||l&8)&&An(o,n,s,s[3],i?En(n,s[3],l,null):Ln(s[3]),null)},i(s){i||(d(o,s),i=!0)},o(s){b(o,s),i=!1},d(s){s&&T(e),o&&o.d(s),t[5](null)}}}function Dd(t,e,i){let n,{$$slots:o={},$$scope:s}=e;const r=ct().ui.overlayContainer$;D(t,r,h=>i(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};tn(()=>(f(n),()=>c(n)));function m(h){we[h?"unshift":"push"](()=>{a=h,i(0,a)})}return t.$$set=h=>{"$$scope"in h&&i(3,s=h.$$scope)},t.$$.update=()=>{t.$$.dirty&4&&f(n)},[a,r,n,s,o,m]}class Fd extends be{constructor(e){super(),ge(this,e,Dd,zd,he,{})}}function Hd(t){ze(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 Gs(t){let e,i;return e=new Fd({props:{$$slots:{default:[Ud]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&262387&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ud(t){let e,i,n,o,s,l,r;return{c(){e=A("div"),i=A("div"),n=Re(t[1]),o=z(),s=A("div"),u(i,"class","content v-1jbbzcj"),u(s,"class","tooltip-pointer v-1jbbzcj"),u(s,"style",l=`transform: translate(${t[5]}px, ${t[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",r=`transform: translate(${t[6]}px, ${t[7]}px);`),N(e,"active",t[0])},m(a,c){E(a,e,c),p(e,i),p(i,n),p(e,o),p(e,s),t[17](e)},p(a,c){c&2&&Xe(n,a[1]),c&32&&l!==(l=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(s,"style",l),c&192&&r!==(r=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",r),c&1&&N(e,"active",a[0])},d(a){a&&T(e),t[17](null)}}}function qd(t){let e,i,n,o,s,l;const r=t[15].default,a=Tn(r,t,t[18],null);let c=t[1]&&Gs(t);return{c(){e=A("div"),a&&a.c(),i=z(),c&&c.c(),n=lt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),N(e,"full-width",t[2])},m(f,m){E(f,e,m),a&&a.m(e,null),t[16](e),E(f,i,m),c&&c.m(f,m),E(f,n,m),o=!0,s||(l=[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])],s=!0)},p(f,[m]){a&&a.p&&(!o||m&262144)&&An(a,r,f,f[18],o?En(r,f[18],m,null):Ln(f[18]),null),(!o||m&4)&&N(e,"full-width",f[2]),f[1]?c?(c.p(f,m),m&2&&d(c,1)):(c=Gs(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(de(),b(c,1,1,()=>{c=null}),me())},i(f){o||(d(a,f),d(c),o=!0)},o(f){b(a,f),b(c),o=!1},d(f){f&&(T(e),T(i),T(n)),a&&a.d(f),t[16](null),c&&c.d(f),s=!1,et(l)}}}const Fo=5;function jd(t,e,i){let n,o,{$$slots:s={},$$scope:l}=e,{content:r=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:m=!1}=e,h,v,g,w=0,_=Fo,P=0,k=0;const C=nn(),V=ct(),ne=V.ui.playerSize;D(t,ne,S=>i(21,o=S));const M=V.ui.overlayContainer$;D(t,M,S=>i(20,n=S));const G=V.getLogger().createComponentLog("Tooltip component"),B=()=>{if(!n)return;const S=n.getBoundingClientRect(),le=h.getBoundingClientRect(),W=le.width,oe=v.clientWidth,ke=o.width,qe=(W-oe)/2,je=le.left+c-S.left;let Ie=je+qe;const Se=le.top+f-S.top;let ce=oe/2-Fo;const K=Ie<Bo,ue=Ie+oe>ke-Bo;K&&(Ie=Bo,ce=je+le.width/2-2.5*Fo),ue&&(Ie=ke-Bo-oe,ce=le.left-S.left+le.width/2-Ie-Fo),i(6,P=Ie),i(7,k=Se),i(5,w=ce)},x=()=>{try{if(!n||!h)return;B(),i(0,a=!0)}catch(S){G({message:String(S)})}},I=()=>{i(0,a=!1)},ie=()=>{v&&(g||(g=window.setTimeout(x,C.controls.hideTimeoutTooltips)),a&&x())},O=()=>{I(),window.clearTimeout(g),g=void 0};Wo(()=>window.clearTimeout(g));function X(S){we[S?"unshift":"push"](()=>{h=S,i(3,h)})}function se(S){we[S?"unshift":"push"](()=>{v=S,i(4,v)})}return t.$$set=S=>{"content"in S&&i(1,r=S.content),"active"in S&&i(0,a=S.active),"translateX"in S&&i(13,c=S.translateX),"translateY"in S&&i(14,f=S.translateY),"isFullWidthWrapper"in S&&i(2,m=S.isFullWidthWrapper),"$$scope"in S&&i(18,l=S.$$scope)},[a,r,m,h,v,w,P,k,_,ne,M,ie,O,c,f,s,X,se,l]}class Y1 extends be{constructor(e){super(),ge(this,e,jd,qd,he,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},Hd)}}function Zd(t){ze(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 Wd(t){let e;const i=t[16].default,n=Tn(i,t,t[21],null);return{c(){n&&n.c()},m(o,s){n&&n.m(o,s),e=!0},p(o,s){n&&n.p&&(!e||s&2097152)&&An(n,i,o,o[21],e?En(i,o[21],s,null):Ln(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){b(n,o),e=!1},d(o){n&&n.d(o)}}}function Kd(t){let e,i;return e=new Y1({props:{content:t[9],translateX:t[7],translateY:t[8],isFullWidthWrapper:t[4],$$slots:{default:[Gd]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&512&&(s.content=n[9]),o&128&&(s.translateX=n[7]),o&256&&(s.translateY=n[8]),o&16&&(s.isFullWidthWrapper=n[4]),o&2097152&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Gd(t){let e;const i=t[16].default,n=Tn(i,t,t[21],null);return{c(){n&&n.c()},m(o,s){n&&n.m(o,s),e=!0},p(o,s){n&&n.p&&(!e||s&2097152)&&An(n,i,o,o[21],e?En(i,o[21],s,null):Ln(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){b(n,o),e=!1},d(o){n&&n.d(o)}}}function Yd(t){let e,i,n,o,s,l,r,a,c;const f=[Kd,Wd],m=[];function h(v,g){return v[3]&&v[5]&&!v[10]?0:1}return i=h(t),n=m[i]=f[i](t),{c(){e=A("div"),n.c(),u(e,"class",o="btn-container "+t[2]+" v-p9r045"),u(e,"aria-hidden",s=t[6]||null),co(()=>t[20].call(e))},m(v,g){E(v,e,g),m[i].m(e,null),t[19](e),l=hl(e,t[20].bind(e)),r=!0,a||(c=[pe(e,"pointerdown",it(Qt(t[17]))),pe(e,"click",it(Qt(t[18])))],a=!0)},p(v,[g]){let w=i;i=h(v),i===w?m[i].p(v,g):(de(),b(m[w],1,1,()=>{m[w]=null}),me(),n=m[i],n?n.p(v,g):(n=m[i]=f[i](v),n.c()),d(n,1),n.m(e,null)),(!r||g&4&&o!==(o="btn-container "+v[2]+" v-p9r045"))&&u(e,"class",o),(!r||g&64&&s!==(s=v[6]||null))&&u(e,"aria-hidden",s)},i(v){r||(d(n),r=!0)},o(v){b(n),r=!1},d(v){v&&T(e),m[i].d(),t[19](null),l(),a=!1,et(c)}}}function Qd(t,e,i){let n,o,{$$slots:s={},$$scope:l}=e,{className:r=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:m=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:v=""}=e,{disabledTooltipContent:g=Y("tooltip_button_disabled")}=e,{isAriaHidden:w=!1}=e,{initialTranslateXPx:_=0}=e,{initialTranslateYPx:P=-18}=e;const k=ct(),C=k.ui.isMobile;D(t,C,I=>i(10,o=I));const V=k.state.graphIsOpened$;D(t,V,I=>i(15,n=I));let ne;function M(I){uo.call(this,t,I)}function G(I){uo.call(this,t,I)}function B(I){we[I?"unshift":"push"](()=>{f=I,i(0,f)})}function x(){m=this.clientWidth,i(1,m)}return t.$$set=I=>{"className"in I&&i(2,r=I.className),"disabled"in I&&i(13,a=I.disabled),"hasTooltip"in I&&i(3,c=I.hasTooltip),"ref"in I&&i(0,f=I.ref),"width"in I&&i(1,m=I.width),"isFullWidthTooltip"in I&&i(4,h=I.isFullWidthTooltip),"tooltipContent"in I&&i(5,v=I.tooltipContent),"disabledTooltipContent"in I&&i(14,g=I.disabledTooltipContent),"isAriaHidden"in I&&i(6,w=I.isAriaHidden),"initialTranslateXPx"in I&&i(7,_=I.initialTranslateXPx),"initialTranslateYPx"in I&&i(8,P=I.initialTranslateYPx),"$$scope"in I&&i(21,l=I.$$scope)},t.$$.update=()=>{t.$$.dirty&57376&&(a?i(9,ne=n?Y("tooltip_disabled_when_graph_on"):g):i(9,ne=v))},[f,m,r,c,h,v,w,_,P,ne,o,C,V,a,g,n,s,M,G,B,x,l]}class Vt extends be{constructor(e){super(),ge(this,e,Qd,Yd,he,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},Zd)}}function Xd(t){ze(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 Jd(t){let e,i,n,o,s;return i=new F1({props:{completed:!!t[0].completed}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${t[0].from+t[0].width/2}%`),co(()=>t[3].call(e)),N(e,"disabled",t[1])},m(l,r){E(l,e,r),F(i,e,null),o=hl(e,t[3].bind(e)),s=!0},p(l,r){const a={};r&1&&(a.completed=!!l[0].completed),i.$set(a),(!s||r&1&&n!==(n=`left: ${l[0].from+l[0].width/2}%`))&&u(e,"style",n),(!s||r&2)&&N(e,"disabled",l[1])},i(l){s||(d(i.$$.fragment,l),s=!0)},o(l){b(i.$$.fragment,l),s=!1},d(l){l&&T(e),H(i),o()}}}function xd(t){let e,i;return e=new Vt({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:[Jd]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.tooltipContent=Y(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(s.disabled=n[1]),o&4&&(s.width=n[2]||0),o&23&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function $d(t,e,i){let{videoEpisode:n}=e,{disabled:o}=e,s;function l(){s=this.clientWidth,i(2,s)}return t.$$set=r=>{"videoEpisode"in r&&i(0,n=r.videoEpisode),"disabled"in r&&i(1,o=r.disabled)},[n,o,s,l]}class e2 extends be{constructor(e){super(),ge(this,e,$d,xd,he,{videoEpisode:0,disabled:1},Xd)}}function t2(t){ze(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 Ys(t,e,i){const n=t.slice();return n[2]=e[i],n}function Qs(t){let e,i,n,o,s,l,r,a,c;return{c(){e=A("div"),i=A("div"),n=A("div"),s=z(),l=A("div"),a=z(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${t[2].loadedWidth/t[2].width*100}%)`),u(l,"class","video-episode-filled v-1h9p3m2"),u(l,"style",r=`transform: translateX(${t[2].filledWidth/t[2].width*100}%)`),N(l,"mobile",t[1]),u(i,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${t[2].from}%; width: ${t[2].width}%`),N(e,"mobile",t[1])},m(f,m){E(f,e,m),p(e,i),p(i,n),p(i,s),p(i,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&&r!==(r=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(l,"style",r),m&2&&N(l,"mobile",f[1]),m&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),m&2&&N(e,"mobile",f[1])},d(f){f&&T(e)}}}function i2(t){let e,i=Ft(t[0]),n=[];for(let o=0;o<i.length;o+=1)n[o]=Qs(Ys(t,i,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,s){E(o,e,s);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,[s]){if(s&3){i=Ft(o[0]);let l;for(l=0;l<i.length;l+=1){const r=Ys(o,i,l);n[l]?n[l].p(r,s):(n[l]=Qs(r),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},i:Z,o:Z,d(o){o&&T(e),hn(n,o)}}}function n2(t,e,i){let{videoEpisodes:n=[]}=e,{isMobile:o}=e;return t.$$set=s=>{"videoEpisodes"in s&&i(0,n=s.videoEpisodes),"isMobile"in s&&i(1,o=s.isMobile)},[n,o]}class o2 extends be{constructor(e){super(),ge(this,e,n2,i2,he,{videoEpisodes:0,isMobile:1},t2)}}function l2(t){ze(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 Xs(t,e,i){const n=t.slice();return n[48]=e[i],n}function Js(t){let e,i,n=Ft(t[21]),o=[];for(let l=0;l<n.length;l+=1)o[l]=$s(Xs(t,n,l));const s=l=>b(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"),N(e,"mobile",t[5]),N(e,"hidden",t[5]&&!t[20])},m(l,r){E(l,e,r);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);i=!0},p(l,r){if(r[0]&2097664){n=Ft(l[21]);let a;for(a=0;a<n.length;a+=1){const c=Xs(l,n,a);o[a]?(o[a].p(c,r),d(o[a],1)):(o[a]=$s(c),o[a].c(),d(o[a],1),o[a].m(e,null))}for(de(),a=n.length;a<o.length;a+=1)s(a);me()}(!i||r[0]&32)&&N(e,"mobile",l[5]),(!i||r[0]&1048608)&&N(e,"hidden",l[5]&&!l[20])},i(l){if(!i){for(let r=0;r<n.length;r+=1)d(o[r]);i=!0}},o(l){o=o.filter(Boolean);for(let r=0;r<o.length;r+=1)b(o[r]);i=!1},d(l){l&&T(e),hn(o,l)}}}function xs(t){let e,i;return e=new e2({props:{videoEpisode:t[48],disabled:t[9]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisode=n[48]),o[0]&512&&(s.disabled=n[9]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function $s(t){let e,i,n=t[48].interactive&&xs(t);return{c(){n&&n.c(),e=lt()},m(o,s){n&&n.m(o,s),E(o,e,s),i=!0},p(o,s){o[48].interactive?n?(n.p(o,s),s[0]&2097152&&d(n,1)):(n=xs(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(de(),b(n,1,1,()=>{n=null}),me())},i(o){i||(d(n),i=!0)},o(o){b(n),i=!1},d(o){o&&T(e),n&&n.d(o)}}}function s2(t){let e,i,n,o,s,l;return{c(){e=A("div"),i=A("div"),o=z(),s=A("div"),u(i,"class","loaded v-1golz1y"),u(i,"style",n=`transform: translateX(${t[11]*100}%);`),u(s,"class","filled v-1golz1y"),u(s,"style",l=`transform: translateX(${t[12]*100}%);`),N(s,"active-live",t[4]),N(s,"ads",t[6]),u(e,"class","bars v-1golz1y")},m(r,a){E(r,e,a),p(e,i),p(e,o),p(e,s)},p(r,a){a[0]&2048&&n!==(n=`transform: translateX(${r[11]*100}%);`)&&u(i,"style",n),a[0]&4096&&l!==(l=`transform: translateX(${r[12]*100}%);`)&&u(s,"style",l),a[0]&16&&N(s,"active-live",r[4]),a[0]&64&&N(s,"ads",r[6])},i:Z,o:Z,d(r){r&&T(e)}}}function r2(t){let e,i;return e=new o2({props:{videoEpisodes:t[21],isMobile:t[5]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisodes=n[21]),o[0]&32&&(s.isMobile=n[5]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function a2(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g=t[8]&&Js(t);const w=[r2,s2],_=[];function P(k,C){return k[21].length?0:1}return n=P(t),o=_[n]=w[n](t),{c(){g&&g.c(),e=z(),i=A("div"),o.c(),s=z(),l=A("div"),r=A("div"),u(r,"class","handle v-1golz1y"),N(r,"active-live",t[4]),u(l,"class","handleWrap v-1golz1y"),u(l,"style",a=`transform: translateX(${t[13]*100}%);`),N(l,"hidden",t[10]),u(i,"class",c="slider "+t[0]+" v-1golz1y"),u(i,"aria-label",t[14]),u(i,"aria-valuemin",t[15]),u(i,"aria-valuemax",t[16]),u(i,"aria-valuenow",t[17]),u(i,"aria-valuetext",t[18]),u(i,"role","slider"),u(i,"tabindex","0"),u(i,"data-testid",f=t[1]??null),N(i,"disabled",t[9]),N(i,"slider-dragging",t[20]),N(i,"hidden",t[2]),N(i,"slider-vertical",t[3]),N(i,"no-handle",t[10]),N(i,"square",t[7])},m(k,C){g&&g.m(k,C),E(k,e,C),E(k,i,C),_[n].m(i,null),p(i,s),p(i,l),p(l,r),t[42](i),m=!0,h||(v=[pe(i,"pointerdown",Qt(t[22])),pe(i,"pointermove",Qt(t[23])),pe(i,"pointerup",Qt(t[24])),pe(i,"pointerenter",Qt(t[25])),pe(i,"pointerleave",Qt(t[26])),pe(i,"click",it(te.noop)),pe(i,"wheel",t[27])],h=!0)},p(k,C){k[8]?g?(g.p(k,C),C[0]&256&&d(g,1)):(g=Js(k),g.c(),d(g,1),g.m(e.parentNode,e)):g&&(de(),b(g,1,1,()=>{g=null}),me());let V=n;n=P(k),n===V?_[n].p(k,C):(de(),b(_[V],1,1,()=>{_[V]=null}),me(),o=_[n],o?o.p(k,C):(o=_[n]=w[n](k),o.c()),d(o,1),o.m(i,s)),(!m||C[0]&16)&&N(r,"active-live",k[4]),(!m||C[0]&8192&&a!==(a=`transform: translateX(${k[13]*100}%);`))&&u(l,"style",a),(!m||C[0]&1024)&&N(l,"hidden",k[10]),(!m||C[0]&1&&c!==(c="slider "+k[0]+" v-1golz1y"))&&u(i,"class",c),(!m||C[0]&16384)&&u(i,"aria-label",k[14]),(!m||C[0]&32768)&&u(i,"aria-valuemin",k[15]),(!m||C[0]&65536)&&u(i,"aria-valuemax",k[16]),(!m||C[0]&131072)&&u(i,"aria-valuenow",k[17]),(!m||C[0]&262144)&&u(i,"aria-valuetext",k[18]),(!m||C[0]&2&&f!==(f=k[1]??null))&&u(i,"data-testid",f),(!m||C[0]&513)&&N(i,"disabled",k[9]),(!m||C[0]&1048577)&&N(i,"slider-dragging",k[20]),(!m||C[0]&5)&&N(i,"hidden",k[2]),(!m||C[0]&9)&&N(i,"slider-vertical",k[3]),(!m||C[0]&1025)&&N(i,"no-handle",k[10]),(!m||C[0]&129)&&N(i,"square",k[7])},i(k){m||(d(g),d(o),m=!0)},o(k){b(g),b(o),m=!1},d(k){k&&(T(e),T(i)),g&&g.d(k),_[n].d(),t[42](null),h=!1,et(v)}}}function u2(t,e,i){let n,o,{className:s=""}=e,{testId:l=void 0}=e,{isHidden:r=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:m=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:v=[]}=e,{withWheelHandler:g=!1}=e,{isInteractive:w=!1}=e,{disabled:_=!1}=e,{hideHandel:P=!1}=e,k,C,{onPointerDown:V=te.noop}=e,{onHandleMove:ne=te.noop}=e,{onPointerUp:M=te.noop}=e,{onPointerEnter:G=te.noop}=e,{onPointerMove:B=te.noop}=e,{onPointerLeave:x=te.noop}=e,{onWheelUp:I=te.noop}=e,{onWheelDown:ie=te.noop}=e,{onWheelLeft:O=te.noop}=e,{onWheelRight:X=te.noop}=e,{loadedProgress:se=0}=e,{filledProgress:S=0}=e,{handleProgress:le=0}=e,{ariaLabel:W=""}=e,{ariaValueMin:oe=void 0}=e,{ariaValueMax:ke=void 0}=e,{ariaValueNow:qe=void 0}=e,{ariaValueText:je=""}=e;const Ie=nn();let Se=!1,ce;function K(Q){if(Se)return;i(20,Se=!0),C=k.getBoundingClientRect();const De=Be(Q.clientX,Q.clientY);V(De),k.setPointerCapture(Q.pointerId)}function ue(Q){const De=Be(Q.clientX,Q.clientY),tt=ae(Q.clientX);B(De,tt,C.width),Se&&ne(De)}function _e(Q){if(!Se)return;i(20,Se=!1);const De=Be(Q.clientX,Q.clientY);M(De)}function $(Q){C=k.getBoundingClientRect();const De=Be(Q.clientX,Q.clientY),tt=ae(Q.clientX);G(De,tt,C.width)}function Pe(){x()}function Ee(Q){g&&(Q.preventDefault(),Q.deltaY<0?I():Q.deltaY>0?ie():Q.deltaX>0?X():O())}function Be(Q,De){return a?Math.max(0,Math.min(1,(C.height-(De-C.top))/C.height)):Math.min(Math.max(Q-C.x,0),C.width)/C.width}function ae(Q){return Math.min(Math.max(Q-C.x,0),C.width)}function ve(Q,De){const tt=Ie.features.episodesClustering&&!w?Ie.episodeMinWidthPc:0,Je=[];let Ce=0,Ge=0,xe=0;for(let Ue=1;Ue<v.length;Ue++)Ge=v[Ue].time/ce*100,Ge-Ce>tt&&(Je.push({from:Ce,width:Math.max(0,Ge-Ce),loadedWidth:Math.max(0,Math.min(Ge,Q)-Ce),filledWidth:Math.max(0,Math.min(Ge,De)-Ce),interactive:v[Ue-1].interactive,completed:v[Ue-1].completed}),Ce=v[Ue].time/ce*100,xe++);const ft={from:Ce,width:Math.max(0,100-Ce),loadedWidth:Math.max(0,Math.min(Q,100)-Ce),filledWidth:Math.max(0,Math.min(De,100)-Ce),interactive:v[xe].interactive,completed:v[xe].completed};100-Ce<tt?(xe-=1,Je[xe].width+=100-Ce,Je[xe].loadedWidth+=Math.max(0,Math.min(Q,100)-Ce),Je[xe].filledWidth+=Math.max(0,Math.min(De,100)-Ce)):Je[xe]=ft;const _t=v[0].time;if(_t!==0){const Ue=_t/ce*100;Je.unshift({from:0,width:Ue,loadedWidth:Math.min(Ue,Q),filledWidth:Math.min(Ue,De)})}return Je}function J(Q){we[Q?"unshift":"push"](()=>{k=Q,i(19,k)})}return t.$$set=Q=>{"className"in Q&&i(0,s=Q.className),"testId"in Q&&i(1,l=Q.testId),"isHidden"in Q&&i(2,r=Q.isHidden),"isVertical"in Q&&i(3,a=Q.isVertical),"isActiveLive"in Q&&i(4,c=Q.isActiveLive),"isMobile"in Q&&i(5,f=Q.isMobile),"isAds"in Q&&i(6,m=Q.isAds),"squareBorders"in Q&&i(7,h=Q.squareBorders),"videoEpisodes"in Q&&i(28,v=Q.videoEpisodes),"withWheelHandler"in Q&&i(29,g=Q.withWheelHandler),"isInteractive"in Q&&i(8,w=Q.isInteractive),"disabled"in Q&&i(9,_=Q.disabled),"hideHandel"in Q&&i(10,P=Q.hideHandel),"onPointerDown"in Q&&i(30,V=Q.onPointerDown),"onHandleMove"in Q&&i(31,ne=Q.onHandleMove),"onPointerUp"in Q&&i(32,M=Q.onPointerUp),"onPointerEnter"in Q&&i(33,G=Q.onPointerEnter),"onPointerMove"in Q&&i(34,B=Q.onPointerMove),"onPointerLeave"in Q&&i(35,x=Q.onPointerLeave),"onWheelUp"in Q&&i(36,I=Q.onWheelUp),"onWheelDown"in Q&&i(37,ie=Q.onWheelDown),"onWheelLeft"in Q&&i(38,O=Q.onWheelLeft),"onWheelRight"in Q&&i(39,X=Q.onWheelRight),"loadedProgress"in Q&&i(11,se=Q.loadedProgress),"filledProgress"in Q&&i(12,S=Q.filledProgress),"handleProgress"in Q&&i(13,le=Q.handleProgress),"ariaLabel"in Q&&i(14,W=Q.ariaLabel),"ariaValueMin"in Q&&i(15,oe=Q.ariaValueMin),"ariaValueMax"in Q&&i(16,ke=Q.ariaValueMax),"ariaValueNow"in Q&&i(17,qe=Q.ariaValueNow),"ariaValueText"in Q&&i(18,je=Q.ariaValueText)},t.$$.update=()=>{t.$$.dirty[0]&65536&&i(40,ce=ke??0),t.$$.dirty[0]&268435456|t.$$.dirty[1]&512&&i(41,n=v[v.length-1]?.time<ce),t.$$.dirty[0]&268441600|t.$$.dirty[1]&1536&&i(21,o=v.length&&n&&ce?ve(se*100,S*100):[])},[s,l,r,a,c,f,m,h,w,_,P,se,S,le,W,oe,ke,qe,je,k,Se,o,K,ue,_e,$,Pe,Ee,v,g,V,ne,M,G,B,x,I,ie,O,X,ce,n,J]}class Pl extends be{constructor(e){super(),ge(this,e,u2,a2,he,{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},l2,[-1,-1])}}const mn=(t,e)=>mo[t]>=mo[e],c2=(t,e)=>mo[t]<mo[e],Q1=(t,e)=>mo[t]<=mo[e],f2=t=>t>so.L?exports.GridTypes.XL:t>so.M?exports.GridTypes.L:t>so.S?exports.GridTypes.M:t>so.XS?exports.GridTypes.S:exports.GridTypes.XS;function d2(t){ze(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 m2(t){let e,i;return e=new Yo({props:{volume:t[4],muted:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&16&&(s.volume=n[4]),o[0]&4&&(s.muted=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function p2(t){let e,i;return e=new mi({props:{className:"btn-full-opacity",disabled:!t[0],testId:t[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:t[7],click:t[1],ariaKeyShortCut:Po[Te.KeyM],$$slots:{default:[m2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&1&&(s.disabled=!n[0]),o[0]&8&&(s.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(s.ariaLabel=n[7]),o[0]&2&&(s.click=n[1]),o[0]&20|o[1]&1&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function er(t){let e,i,n;return i=new Pl({props:{className:t[3]?"volumeBar-slider-vertical":"",isHidden:t[3]&&!t[5],isVertical:t[3],withWheelHandler:!0,onWheelUp:t[13],onWheelDown:t[14],onPointerDown:t[12],onHandleMove:t[15],onPointerUp:t[16],onPointerEnter:t[3]?t[17]:te.noop,onPointerLeave:t[3]?t[18]: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[3]?"volume-slider-vertical":"volume-slider"}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),N(e,"volumeBar-vertical",t[3])},m(o,s){E(o,e,s),F(i,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.className=o[3]?"volumeBar-slider-vertical":""),s[0]&40&&(l.isHidden=o[3]&&!o[5]),s[0]&8&&(l.isVertical=o[3]),s[0]&8&&(l.onPointerEnter=o[3]?o[17]:te.noop),s[0]&8&&(l.onPointerLeave=o[3]?o[18]:te.noop),s[0]&256&&(l.ariaValueNow=Math.round(o[8]*100)),s[0]&256&&(l.ariaValueText=`${Math.round(o[8]*100)}%`),s[0]&256&&(l.filledProgress=o[8]),s[0]&256&&(l.handleProgress=o[8]),s[0]&8&&(l.testId=o[3]?"volume-slider-vertical":"volume-slider"),i.$set(l),(!n||s[0]&8)&&N(e,"volumeBar-vertical",o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function h2(t){let e,i,n,o,s,l;i=new Y1({props:{content:t[6],translateY:-18,$$slots:{default:[p2]},$$scope:{ctx:t}}});let r=t[0]&&er(t);return{c(){e=A("div"),U(i.$$.fragment),n=z(),r&&r.c(),u(e,"class","volumeBar-container v-1l78lz9"),N(e,"vertical",t[3])},m(a,c){E(a,e,c),F(i,e,null),p(e,n),r&&r.m(e,null),o=!0,s||(l=[pe(e,"mouseenter",function(){pn(t[3]?t[19]:te.noop)&&(t[3]?t[19]:te.noop).apply(this,arguments)}),pe(e,"mouseleave",function(){pn(t[3]?t[20]:te.noop)&&(t[3]?t[20]:te.noop).apply(this,arguments)}),pe(e,"wheel",Qt(t[21]))],s=!0)},p(a,c){t=a;const f={};c[0]&64&&(f.content=t[6]),c[0]&159|c[1]&1&&(f.$$scope={dirty:c,ctx:t}),i.$set(f),t[0]?r?(r.p(t,c),c[0]&1&&d(r,1)):(r=er(t),r.c(),d(r,1),r.m(e,null)):r&&(de(),b(r,1,1,()=>{r=null}),me()),(!o||c[0]&8)&&N(e,"vertical",t[3])},i(a){o||(d(i.$$.fragment,a),d(r),o=!0)},o(a){b(i.$$.fragment,a),b(r),o=!1},d(a){a&&T(e),H(i),r&&r.d(),s=!1,et(l)}}}function g2(t,e,i){let n,o,s,{isAudioAvailable:l=!0}=e,{click:r}=e;const a=ct(),c=nn(),f=a.state.volume$;D(t,f,oe=>i(4,n=oe));const m=a.state.muted$;D(t,m,oe=>i(23,s=oe));const h=a.actions.internal.setVolume,v=a.ui.currentGridType$;D(t,v,oe=>i(22,o=oe));let g=!1,w,_,P,k,C,V,ne=1,M=!1;function G(oe){ne=n,h(oe)}function B(){z1(a,n,c.controls.volumeStepWheel)}function x(){D1(a,n,c.controls.volumeStepWheel)}function I(oe){h(oe)}function ie(oe){const ke=oe;h(ke,ke===0?ne:ke)}function O(){M=!0}function X(){M=!1,le()}function se(){clearTimeout(w),i(5,g=!0)}function S(){le()}function le(){w=window.setTimeout(()=>{M||i(5,g=!1)},c.controls.volumeBarTimeout)}function W(oe){oe.deltaY<0?B():oe.deltaY>0&&x()}return t.$$set=oe=>{"isAudioAvailable"in oe&&i(0,l=oe.isAudioAvailable),"click"in oe&&i(1,r=oe.click)},t.$$.update=()=>{t.$$.dirty[0]&8388609&&i(2,k=!l||s),t.$$.dirty[0]&4194304&&i(3,C=Q1(o,exports.GridTypes.S)),t.$$.dirty[0]&12&&(C?i(6,_=""):i(6,_=Y(k?"tooltip_volume":"tooltip_volume_muted")),i(7,P=Y(k?"tooltip_volume":"tooltip_volume_muted"))),t.$$.dirty[0]&20&&i(8,V=k?0:n)},[l,r,k,C,n,g,_,P,V,f,m,v,G,B,x,I,ie,O,X,se,S,W,o,s]}class b2 extends be{constructor(e){super(),ge(this,e,g2,h2,he,{isAudioAvailable:0,click:1},d2,[-1,-1])}}function _2(t){let e;return{c(){e=R("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(i,n){E(i,e,n)},d(i){i&&T(e)}}}function v2(t){let e;return{c(){e=R("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(i,n){E(i,e,n)},d(i){i&&T(e)}}}function w2(t){let e,i,n;function o(r,a){return r[0]?v2:_2}let s=o(t),l=s(t);return{c(){e=R("svg"),i=R("g"),l.c(),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(r,a){E(r,e,a),p(e,i),l.m(i,null)},p(r,[a]){s!==(s=o(r))&&(l.d(1),l=s(r),l&&(l.c(),l.m(i,null))),a&1&&n!==(n=r[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:Z,o:Z,d(r){r&&T(e),l.d()}}}function k2(t,e,i){let{isFullscreen:n=!1}=e;return t.$$set=o=>{"isFullscreen"in o&&i(0,n=o.isFullscreen)},[n]}class y2 extends be{constructor(e){super(),ge(this,e,k2,w2,he,{isFullscreen:0})}}function C2(t){let e,i;return e=new y2({props:{isFullscreen:t[0]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&1&&(s.isFullscreen=n[0]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function S2(t){let e,i;return e=new mi({props:{testId:"btn-fullscreen",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Po[Te.KeyF],$$slots:{default:[C2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function P2(t,e,i){let{isFullscreen:n=!1}=e,{click:o=te.noop}=e,s;return t.$$set=l=>{"isFullscreen"in l&&i(0,n=l.isFullscreen),"click"in l&&i(1,o=l.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,s=Y(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,s]}class X1 extends be{constructor(e){super(),ge(this,e,P2,S2,he,{isFullscreen:0,click:1})}}function T2(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class Tl extends be{constructor(e){super(),ge(this,e,null,T2,he,{})}}function E2(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class J1 extends be{constructor(e){super(),ge(this,e,null,E2,he,{})}}function A2(t){ze(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 tr(t){let e;return{c(){e=A("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){E(i,e,n)},d(i){i&&T(e)}}}function L2(t){let e,i,n,o,s=t[1]&&tr();var l=t[8];function r(a){return{}}return l&&(n=vn(l,r())),{c(){s&&s.c(),e=z(),i=A("div"),n&&U(n.$$.fragment),u(i,"class","v-1ot3duq"),N(i,"mobile",t[1])},m(a,c){s&&s.m(a,c),E(a,e,c),E(a,i,c),n&&F(n,i,null),o=!0},p(a,c){if(a[1]?s||(s=tr(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),c&256&&l!==(l=a[8])){if(n){de();const f=n;b(f.$$.fragment,1,0,()=>{H(f,1)}),me()}l?(n=vn(l,r()),U(n.$$.fragment),d(n.$$.fragment,1),F(n,i,null)):n=null}(!o||c&2)&&N(i,"mobile",a[1])},i(a){o||(n&&d(n.$$.fragment,a),o=!0)},o(a){n&&b(n.$$.fragment,a),o=!1},d(a){a&&(T(e),T(i)),s&&s.d(a),n&&H(n)}}}function I2(t){let e,i,n;function o(l){t[13](l)}let s={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-play",click:t[5]?t[6]:t[4],disabled:t[2],ariaLabel:t[7],ariaKeyShortCut:Po[Te.KeyK],$$slots:{default:[L2]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&112&&(a.click=l[5]?l[6]:l[4]),r&4&&(a.disabled=l[2]),r&128&&(a.ariaLabel=l[7]),r&33026&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function V2(t,e,i){let n,o;const{fakeIsPlaying$:s}=Go();D(t,s,k=>i(12,o=k));let{ref:l=void 0}=e,{isMobile:r=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:m=te.noop}=e;const{toggle:h}=s;let v,g,w,_;function P(k){l=k,i(0,l)}return t.$$set=k=>{"ref"in k&&i(0,l=k.ref),"isMobile"in k&&i(1,r=k.isMobile),"isPlaying"in k&&i(10,a=k.isPlaying),"disabled"in k&&i(2,c=k.disabled),"className"in k&&i(3,f=k.className),"click"in k&&i(4,m=k.click)},t.$$.update=()=>{t.$$.dirty&4096&&i(5,g=o!==null),t.$$.dirty&5152&&i(11,w=g?o:a),t.$$.dirty&2048&&i(7,_=Y(w?"tooltip_pause":"tooltip_play")),t.$$.dirty&2048&&i(8,n=w?J1:Tl)},i(6,v=h),[l,r,c,f,m,g,v,_,n,s,a,w,o,P]}class El extends be{constructor(e){super(),ge(this,e,V2,I2,he,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},A2)}}function M2(t){ze(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 B2(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(i,"fill","#fff"),u(e,"data-testid",n=t[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),N(e,"prev",t[0]),N(e,"mobile",t[1])},m(o,s){E(o,e,s),p(e,i)},p(o,[s]){s&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),s&1&&N(e,"prev",o[0]),s&2&&N(e,"mobile",o[1])},i:Z,o:Z,d(o){o&&T(e)}}}function N2(t,e,i){let{isPrev:n=!1}=e,{isMobile:o=!1}=e;return t.$$set=s=>{"isPrev"in s&&i(0,n=s.isPrev),"isMobile"in s&&i(1,o=s.isMobile)},[n,o]}class R2 extends be{constructor(e){super(),ge(this,e,N2,B2,he,{isPrev:0,isMobile:1},M2)}}function O2(t){let e,i;return e=new R2({props:{isMobile:t[1],isPrev:t[3]==="prev"}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&8&&(s.isPrev=n[3]==="prev"),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function z2(t){let e,i,n;function o(l){t[6](l)}let s={testId:"btn-"+t[3],disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[O2]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.testId="btn-"+l[3]),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&138&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function D2(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:s=!1}=e,{type:l}=e,{click:r}=e,a;function c(f){n=f,i(0,n)}return t.$$set=f=>{"ref"in f&&i(0,n=f.ref),"isMobile"in f&&i(1,o=f.isMobile),"disabled"in f&&i(2,s=f.disabled),"type"in f&&i(3,l=f.type),"click"in f&&i(4,r=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=Y(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,s,l,r,a,c]}class Qo extends be{constructor(e){super(),ge(this,e,D2,z2,he,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function F2(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class H2 extends be{constructor(e){super(),ge(this,e,null,F2,he,{})}}function U2(t){ze(t,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function ir(t){let e,i,n,o,s,l,r;return{c(){e=R("path"),i=R("path"),n=R("path"),o=R("path"),s=R("path"),l=R("path"),r=R("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(i,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(i,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"fill","white"),u(s,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(s,"fill","white"),u(l,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(l,"fill","white"),u(r,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(r,"fill","white")},m(a,c){E(a,e,c),E(a,i,c),E(a,n,c),E(a,o,c),E(a,s,c),E(a,l,c),E(a,r,c)},d(a){a&&(T(e),T(i),T(n),T(o),T(s),T(l),T(r))}}}function q2(t){let e,i,n,o=!t[0]&&ir();return{c(){e=R("svg"),i=R("path"),o&&o.c(),u(i,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(i,"fill","white"),u(e,"width",t[2]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(t[2]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",t[3]),u(e,"class","v-1bbobod"),N(e,"mobile",t[1])},m(s,l){E(s,e,l),p(e,i),o&&o.m(e,null)},p(s,[l]){s[0]?o&&(o.d(1),o=null):o||(o=ir(),o.c(),o.m(e,null)),l&4&&u(e,"width",s[2]),l&4&&n!==(n="0 0 "+(s[2]+1)+" 20")&&u(e,"viewBox",n),l&8&&u(e,"data-testid",s[3]),l&2&&N(e,"mobile",s[1])},i:Z,o:Z,d(s){s&&T(e),o&&o.d()}}}function j2(t,e,i){let{short:n=!1}=e,{isMobile:o=!1}=e,s,l;return t.$$set=r=>{"short"in r&&i(0,n=r.short),"isMobile"in r&&i(1,o=r.isMobile)},t.$$.update=()=>{t.$$.dirty&1&&(i(2,s=n?20:93),i(3,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,s,l]}class Z2 extends be{constructor(e){super(),ge(this,e,j2,q2,he,{short:0,isMobile:1},U2)}}function W2(t){let e,i;return e=new H2({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p:Z,i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function K2(t){let e,i;return e=new Z2({props:{short:t[4],isMobile:!!t[7]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.short=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function G2(t){let e,i,n,o;const s=[K2,W2],l=[];function r(a,c){return a[2]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),b(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){b(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function Y2(t){let e,i,n;function o(l){t[13](l)}let s={className:"btn-full-opacity",disabled:!t[1],click:t[8],testId:t[2]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:t[3],$$slots:{default:[G2]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.disabled=!l[1]),r&4&&(a.testId=l[2]?"btn-vk-video-logo":"btn-vk-logo"),r&8&&(a.ariaLabel=l[3]),r&524308&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Q2(t,e,i){let n,o,s,{ref:l=void 0}=e,{logoClickable:r=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=nn(),{logoLink:m,addTimeToLogoLink:h}=f,v=ct(),g=v.state.positionWithScrubbing$;D(t,g,M=>i(14,n=M));const w=v.ui.currentGridType$;D(t,w,M=>i(11,o=M));const _=v.ui.isMobile;D(t,_,M=>i(12,s=M));let P,k,C;const V=()=>{let M;if(k||!a)M=m;else{const G=Math.round(n);if(h&&G){const B=new URL(a);B.searchParams.append("t",te.timeCodeToString(G)),M=B.toString()}else M=a}c(),window.open(M,"_blank")};function ne(M){l=M,i(0,l)}return t.$$set=M=>{"ref"in M&&i(0,l=M.ref),"logoClickable"in M&&i(1,r=M.logoClickable),"videoLogoUrl"in M&&i(9,a=M.videoLogoUrl),"click"in M&&i(10,c=M.click)},t.$$.update=()=>{t.$$.dirty&6148&&i(4,C=(s||Q1(o,exports.GridTypes.L))&&k)},i(3,P=f.logoType===fo.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),i(2,k=f.logoType===fo.VK_VIDEO),[l,r,k,P,C,g,w,_,V,a,c,o,s,ne]}class x1 extends be{constructor(e){super(),ge(this,e,Q2,Y2,he,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function X2(t){ze(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 J2(t){let e,i,n,o,s,l,r,a;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),l=R("path"),r=R("path"),a=R("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(s,"class","wave wave3 v-8z1bf5"),u(s,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(s,"fill","#fff"),u(l,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(l,"fill","#fff"),u(r,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),N(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"),N(e,"connecting",t[2])},m(c,f){E(c,e,f),p(e,i),p(i,n),p(i,o),p(i,s),p(i,l),p(i,r),p(i,a)},p(c,f){f&2&&N(a,"hidden",!c[1]),f&4&&N(e,"connecting",c[2])},d(c){c&&T(e)}}}function x2(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k,C,V,ne;return{c(){e=R("svg"),i=R("g"),n=R("mask"),o=R("path"),l=R("path"),r=R("path"),c=R("path"),f=R("defs"),m=R("clipPath"),h=R("path"),g=R("filter"),w=R("feFlood"),_=R("feColorMatrix"),P=R("feOffset"),k=R("feGaussianBlur"),C=R("feColorMatrix"),V=R("feBlend"),ne=R("feBlend"),u(o,"fill",s=t[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(r,"fill",a=t[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(h,"fill",v=t[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(k,"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(V,"in2","BackgroundImageFix"),u(V,"result","effect1_dropShadow_4085_178456"),u(ne,"in","SourceGraphic"),u(ne,"in2","effect1_dropShadow_4085_178456"),u(ne,"result","shape"),u(g,"id","b"),u(g,"x","-3.4"),u(g,"y","-1.4"),u(g,"width","30.8"),u(g,"height","26.802"),u(g,"filterUnits","userSpaceOnUse"),u(g,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(M,G){E(M,e,G),p(e,i),p(i,n),p(n,o),p(n,l),p(i,r),p(i,c),p(e,f),p(f,m),p(m,h),p(f,g),p(g,w),p(g,_),p(g,P),p(g,k),p(g,C),p(g,V),p(g,ne)},p(M,G){G&2&&s!==(s=M[1]?"#2688EB":"#fff")&&u(o,"fill",s),G&2&&a!==(a=M[1]?"#2688EB":"#fff")&&u(r,"fill",a),G&2&&v!==(v=M[1]?"#2688EB":"#fff")&&u(h,"fill",v)},d(M){M&&T(e)}}}function $2(t){let e;function i(s,l){return s[0]?x2:J2}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(s){s&&T(e),o.d(s)}}}function em(t,e,i){let{isMobile:n=!1}=e,{state:o}=e,s,l;return t.$$set=r=>{"isMobile"in r&&i(0,n=r.isMobile),"state"in r&&i(3,o=r.state)},t.$$.update=()=>{t.$$.dirty&8&&(i(2,l=o===Qe.ChromecastState.CONNECTING),i(1,s=o===Qe.ChromecastState.CONNECTED))},[n,s,l,o]}class tm extends be{constructor(e){super(),ge(this,e,em,$2,he,{isMobile:0,state:3},X2)}}function im(t){let e,i;return e=new tm({props:{isMobile:t[1],state:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&4&&(s.state=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function nm(t){let e,i,n;function o(l){t[5](l)}let s={ariaLabel:t[4],click:t[3],testId:"btn-chromecast",$$slots:{default:[im]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&16&&(a.ariaLabel=l[4]),r&8&&(a.click=l[3]),r&70&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function om(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{state:s}=e,{click:l=te.noop}=e,r;function a(c){n=c,i(0,n)}return t.$$set=c=>{"ref"in c&&i(0,n=c.ref),"isMobile"in c&&i(1,o=c.isMobile),"state"in c&&i(2,s=c.state),"click"in c&&i(3,l=c.click)},t.$$.update=()=>{t.$$.dirty&4&&i(4,r=s===Qe.ChromecastState.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off"))},[n,o,s,l,r,a]}class $1 extends be{constructor(e){super(),ge(this,e,om,nm,he,{ref:0,isMobile:1,state:2,click:3})}}function lm(t){let e,i;return e=new A1({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function sm(t){let e,i;return e=new mi({props:{className:t[0]?"":"btn--live btn-full-opacity",testId:t[1]?"btn-live":"btn-live-offset",disabled:t[1]&&t[3]===Qe.PlaybackState.PLAYING,ariaLabel:t[2],click:t[4],$$slots:{default:[lm]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(s.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(s.disabled=n[1]&&n[3]===Qe.PlaybackState.PLAYING),o&4&&(s.ariaLabel=n[2]),o&16&&(s.click=n[4]),o&514&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function rm(t,e,i){let n,{isMobile:o=!1}=e,{isActiveLive:s=!1}=e,{ariaLabel:l=""}=e;const r=ct(),a=r.state.playbackState$;D(t,a,h=>i(3,n=h));const c=r.actions.internal.switchToActiveLive,f=r.actions.internal.togglePlay;let m;return t.$$set=h=>{"isMobile"in h&&i(0,o=h.isMobile),"isActiveLive"in h&&i(1,s=h.isActiveLive),"ariaLabel"in h&&i(2,l=h.ariaLabel)},t.$$.update=()=>{t.$$.dirty&10&&i(4,m=()=>{if(!s){c();return}n===Qe.PlaybackState.PAUSED&&f()})},[o,s,l,n,m,a]}class eu extends be{constructor(e){super(),ge(this,e,rm,sm,he,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function am(t){ze(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 um(t){let e,i,n,o;const s=t[9].default,l=Tn(s,t,t[8],null);return{c(){e=A("div"),i=A("div"),l&&l.c(),u(i,"class","tooltip v-5ygsa2"),N(i,"active",t[0]),N(i,"pointer",t[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${t[5]}px, ${t[2]}px);`)},m(r,a){E(r,e,a),p(e,i),l&&l.m(i,null),t[10](i),t[11](e),o=!0},p(r,[a]){l&&l.p&&(!o||a&256)&&An(l,s,r,r[8],o?En(s,r[8],a,null):Ln(r[8]),null),(!o||a&1)&&N(i,"active",r[0]),(!o||a&2)&&N(i,"pointer",r[1]),(!o||a&36&&n!==(n=`transform: translate(${r[5]}px, ${r[2]}px);`))&&u(e,"style",n)},i(r){o||(d(l,r),o=!0)},o(r){b(l,r),o=!1},d(r){r&&T(e),l&&l.d(r),t[10](null),t[11](null)}}}function cm(t,e,i){let n,{$$slots:o={},$$scope:s}=e,{active:l=!1}=e,{pointer:r=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,m,h;function v(_){if(!h)return 0;const{width:P}=h.getBoundingClientRect(),k=P/2;return _<k?k:_>f-k?f-k:_}function g(_){we[_?"unshift":"push"](()=>{h=_,i(4,h)})}function w(_){we[_?"unshift":"push"](()=>{m=_,i(3,m)})}return t.$$set=_=>{"active"in _&&i(0,l=_.active),"pointer"in _&&i(1,r=_.pointer),"translateXPx"in _&&i(6,a=_.translateXPx),"translateYPx"in _&&i(2,c=_.translateYPx),"containerWidth"in _&&i(7,f=_.containerWidth),"$$scope"in _&&i(8,s=_.$$scope)},t.$$.update=()=>{t.$$.dirty&64&&i(5,n=v(a))},[l,r,c,m,h,n,a,f,s,o,g,w]}class fm extends be{constructor(e){super(),ge(this,e,cm,um,he,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},am)}}const tu=(t,e,i)=>i.filter(n=>n.time<t*e).pop();function dm(t){ze(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 nr(t){let e;function i(s,l){return s[2]&&s[10].completed===!1?pm:mm}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,l){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},d(s){s&&T(e),o.d(s)}}}function mm(t){let e=(t[10].text||"")+"",i;return{c(){i=Re(e)},m(n,o){E(n,i,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&Xe(i,e)},d(n){n&&T(i)}}}function pm(t){let e=Y("tooltip_episode_unfinished")+"",i;return{c(){i=Re(e)},m(n,o){E(n,i,o)},p:Z,d(n){n&&T(i)}}}function hm(t){let e,i,n,o,s,l,r,a,c=t[10]&&nr(t);return{c(){e=A("div"),i=A("div"),o=z(),s=A("div"),c&&c.c(),l=z(),r=A("div"),a=Re(t[0]),u(i,"class","preview v-l51fc1"),u(i,"style",n=`width: ${t[3]}px; height: ${t[4]}px; background-image: url(${t[5]}); background-size: ${t[6]}px ${t[7]}px; background-position: ${t[8]}px ${t[9]}px; transform: translateY(${t[11]%180?-35:0}px) rotate(${t[11]}deg);`),u(s,"class","episode v-l51fc1"),u(r,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),N(e,"mobile",t[1])},m(f,m){E(f,e,m),p(e,i),p(e,o),p(e,s),c&&c.m(s,null),p(e,l),p(e,r),p(r,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(i,"style",n),f[10]?c?c.p(f,m):(c=nr(f),c.c(),c.m(s,null)):c&&(c.d(1),c=null),m&1&&Xe(a,f[0]),m&2&&N(e,"mobile",f[1])},i:Z,o:Z,d(f){f&&T(e),c&&c.d()}}}const oo=150;function gm(t,e,i){let n,{time:o=""}=e,{isMobile:s=!1}=e,{videoEpisodes:l=[]}=e,{previewThumbsData:r}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=ct().ui.rotateAlpha;D(t,h,G=>i(11,n=G));let v,g,w,_,P,k,C,V;function ne(){let G=r.frameWidth,B=r.frameHeight;return G>oo?(B=B/G*oo,G=oo):B>oo&&(G=G/B*oo,B=oo),{width:G,height:B}}function M(G){let B;r.isUV?B=Math.floor(c*G/r.frequency):B=Math.min(r.countTotal,Math.max(0,Math.floor(r.countTotal*G)));const x=Math.floor(B/r.countPerImage),I=Math.floor(B%r.countPerImage/r.countPerRow),ie=B%r.countPerRow;let O=Math.floor(r.countPerImage/r.countPerRow);!r.isUV&&x===Math.floor(r.countTotal/r.countPerImage)&&(O=Math.floor(r.countTotal%r.countPerImage/r.countPerRow),r.countTotal%r.countPerImage%r.countPerRow>0&&O++);let X=r.countPerRow;!r.isUV&&x===Math.floor(r.countTotal/r.countPerImage)&&r.countTotal%r.countPerImage>0&&(X=Math.min(r.countPerRow,r.countTotal%r.countPerImage));const se=v*X,S=g*O,le=-ie*v,W=-I*g;return{imgSrc:r.links[x],imgWidth:se,imgHeight:S,imgOffsetX:le,imgOffsetY:W}}return t.$$set=G=>{"time"in G&&i(0,o=G.time),"isMobile"in G&&i(1,s=G.isMobile),"videoEpisodes"in G&&i(13,l=G.videoEpisodes),"previewThumbsData"in G&&i(14,r=G.previewThumbsData),"progress"in G&&i(15,a=G.progress),"duration"in G&&i(16,c=G.duration),"isInteractive"in G&&i(2,f=G.isInteractive)},t.$$.update=()=>{t.$$.dirty&32768&&i(5,{imgSrc:w,imgWidth:_,imgHeight:P,imgOffsetX:k,imgOffsetY:C}=M(a),w,(i(6,_),i(15,a)),(i(7,P),i(15,a)),(i(8,k),i(15,a)),(i(9,C),i(15,a))),t.$$.dirty&106496&&i(10,V=tu(a,c,l))},i(3,{width:v,height:g}=ne(),v,i(4,g)),[o,s,f,v,g,w,_,P,k,C,V,n,h,l,r,a,c]}class bm extends be{constructor(e){super(),ge(this,e,gm,hm,he,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},dm)}}function _m(t){ze(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 vm(t){let e,i;return{c(){e=A("span"),i=Re(t[7]),u(e,"class","time v-5lzly8")},m(n,o){E(n,e,o),p(e,i)},p(n,o){o[0]&128&&Xe(i,n[7])},i:Z,o:Z,d(n){n&&T(e)}}}function wm(t){let e,i;return e=new bm({props:{time:t[7],isMobile:t[10],videoEpisodes:t[3],previewThumbsData:t[21],progress:t[8],duration:t[1],isInteractive:t[23]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&128&&(s.time=n[7]),o[0]&1024&&(s.isMobile=n[10]),o[0]&8&&(s.videoEpisodes=n[3]),o[0]&256&&(s.progress=n[8]),o[0]&2&&(s.duration=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function km(t){let e,i,n,o;const s=[wm,vm],l=[];function r(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),b(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){b(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function ym(t){let e,i,n,o;const s=[t[9]];let l={$$slots:{default:[km]},$$scope:{ctx:t}};for(let r=0;r<s.length;r+=1)l=Qa(l,s[r]);return e=new fm({props:l}),n=new Pl({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(ot.TIMELINE),hideHandel:t[2]}}),{c(){U(e.$$.fragment),i=z(),U(n.$$.fragment)},m(r,a){F(e,r,a),E(r,i,a),F(n,r,a),o=!0},p(r,a){const c=a[0]&512?gc(s,[bc(r[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:r}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=r[11]),a[0]&1024&&(f.isMobile=r[10]),a[0]&2&&(f.ariaValueMax=r[1]),a[0]&64&&(f.ariaValueNow=Math.round(r[6]*100)),a[0]&48&&(f.ariaValueText=Y("aria_timeline_value",{position:r[5],duration:r[4]})),a[0]&4096&&(f.loadedProgress=r[12]),a[0]&64&&(f.filledProgress=r[6]),a[0]&64&&(f.handleProgress=r[6]),a[0]&8&&(f.videoEpisodes=r[3]),a[0]&8192&&(f.disabled=r[13].has(ot.TIMELINE)),a[0]&4&&(f.hideHandel=r[2]),n.$set(f)},i(r){o||(d(e.$$.fragment,r),d(n.$$.fragment,r),o=!0)},o(r){b(e.$$.fragment,r),b(n.$$.fragment,r),o=!1},d(r){r&&T(i),H(e,r),H(n,r)}}}function Cm(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,{showTimeline:g=!1}=e;const w=ct(),_=nn(),P=w.state.bufferedProgress$;D(t,P,J=>i(12,h=J));const k=w.state.positionWithScrubbing$;D(t,k,J=>i(39,a=J));const C=w.state.duration$;D(t,C,J=>i(1,s=J));const V=w.state.isLive$;D(t,V,J=>i(0,o=J));const ne=w.state.isActiveLive$;D(t,ne,J=>i(11,m=J));const M=w.ui.isMobile;D(t,M,J=>i(10,f=J));const G=_.features.episodes?w.actions.internal.getVideoEpisodes():void 0,B=w.actions.internal.getPreviewThumbsData(),x=w.state.interactiveEpisodes$;D(t,x,J=>i(40,c=J));const I=w.state.isInteractive,ie=w.state.isInteractiveTime$;D(t,ie,J=>i(2,l=J));const O=w.state.isInteractiveExpectation$;D(t,O,J=>i(38,r=J));const X=w.actions.internal.correctSeekTimeToInteractive,se=w.ui.controls.disabledControls$;D(t,se,J=>i(13,v=J));let S,le,W,oe,ke=!1,qe="",je=0,Ie=0,Se=0,ce;function K(J){return!X||!I?J:X(J*s)/s}function ue(J){w.actions.internal.startScrubbing(K(J))}function _e(J){l||w.actions.internal.progressScrubbing(K(J))}function $(J){w.actions.internal.completeScrubbing(K(J)),i(34,ke=!1)}function Pe(J,Q,De){ae(J,Q,De),i(34,ke=!0)}function Ee(J,Q,De){ae(J,Q,De),i(34,ke=!0)}function Be(){i(34,ke=!1)}function ae(J,Q,De){i(8,Se=J),i(35,je=Q),De&&i(36,Ie=De),i(7,qe=ve(J))}function ve(J){const Q=Pn((o?1-J:J)*s);return o?`-${Q}`:Q}return t.$$set=J=>{"showTimeline"in J&&i(33,g=J.showTimeline)},t.$$.update=()=>{t.$$.dirty[1]&512&&i(3,S=I?c:G),t.$$.dirty[0]&2&&i(4,le=Pn(s)),t.$$.dirty[1]&256&&i(5,W=Pn(a)),t.$$.dirty[0]&2|t.$$.dirty[1]&256&&i(6,oe=a/s),t.$$.dirty[0]&4|t.$$.dirty[1]&128&&i(37,ce=r||l),t.$$.dirty[0]&1|t.$$.dirty[1]&124&&i(9,n={containerWidth:Ie,translateXPx:je,translateYPx:I&&B?-36:-16,active:ke&&g&&!ce,pointer:!_.features.timelinePreview||!B||o})},[o,s,l,S,le,W,oe,qe,Se,n,f,m,h,v,_,P,k,C,V,ne,M,B,x,I,ie,O,se,ue,_e,$,Pe,Ee,Be,g,ke,je,Ie,ce,r,a,c]}let Sm=class extends be{constructor(e){super(),ge(this,e,Cm,ym,he,{showTimeline:33},_m,[-1,-1])}};function Pm(t){let e,i;return e=new Pl({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(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.ariaValueMax=n[0]),o&8&&(s.ariaValueNow=Math.round(n[3]*100)),o&6&&(s.ariaValueText=Y("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(s.filledProgress=n[3]),o&16&&(s.squareBorders=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Tm(t,e,i){let n,{position:o=0}=e,{duration:s=0}=e;const r=ct().ui.isMobile;D(t,r,m=>i(4,n=m));let a,c,f;return t.$$set=m=>{"position"in m&&i(6,o=m.position),"duration"in m&&i(0,s=m.duration)},t.$$.update=()=>{t.$$.dirty&1&&i(1,a=Pn(s)),t.$$.dirty&64&&i(2,c=Pn(o)),t.$$.dirty&65&&i(3,f=o/s)},[s,a,c,f,n,r,o]}class iu extends be{constructor(e){super(),ge(this,e,Tm,Pm,he,{position:6,duration:0})}}function Em(t){ze(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 Am(t){let e;return{c(){e=A("div"),u(e,"class","timeline-stub v-1gqonyf"),N(e,"mobile",t[2])},m(i,n){E(i,e,n)},p(i,n){n&4&&N(e,"mobile",i[2])},i:Z,o:Z,d(i){i&&T(e)}}}function Lm(t){let e,i,n,o;const s=[Vm,Im],l=[];function r(a,c){return a[0]?0:1}return i=r(t),n=l[i]=s[i](t),{c(){e=A("div"),n.c(),u(e,"class","timeline v-1gqonyf"),N(e,"mobile",t[2])},m(a,c){E(a,e,c),l[i].m(e,null),o=!0},p(a,c){let f=i;i=r(a),i===f?l[i].p(a,c):(de(),b(l[f],1,1,()=>{l[f]=null}),me(),n=l[i],n?n.p(a,c):(n=l[i]=s[i](a),n.c()),d(n,1),n.m(e,null)),(!o||c&4)&&N(e,"mobile",a[2])},i(a){o||(d(n),o=!0)},o(a){b(n),o=!1},d(a){a&&T(e),l[i].d()}}}function Im(t){let e,i;return e=new Sm({props:{showTimeline:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.showTimeline=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Vm(t){let e,i;return e=new iu({props:{position:t[3],duration:t[4]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&8&&(s.position=n[3]),o&16&&(s.duration=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Mm(t){let e,i,n,o;const s=[Lm,Am],l=[];function r(a,c){return a[1]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),b(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){b(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function Bm(t,e,i){let n,o,s,l,{isAds:r=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const m=ct(),h=m.state.isLive$;D(t,h,P=>i(12,n=P));const v=m.ads.duration;D(t,v,P=>i(4,l=P));const g=m.ads.position;D(t,g,P=>i(3,s=P));const w=m.ui.isMobile;D(t,w,P=>i(2,o=P));let _;return t.$$set=P=>{"isAds"in P&&i(0,r=P.isAds),"canRewindLive"in P&&i(9,a=P.canRewindLive),"isRewindableLive"in P&&i(10,c=P.isRewindableLive),"isHidden"in P&&i(11,f=P.isHidden)},t.$$.update=()=>{t.$$.dirty&7681&&i(1,_=!f&&(!n||n&&a&&c||r))},[r,_,o,s,l,h,v,g,w,a,c,f,n]}class nu extends be{constructor(e){super(),ge(this,e,Bm,Mm,he,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},Em)}}function Nm(t){let e,i,n,o;return{c(){e=R("svg"),i=R("path"),n=R("path"),o=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(o,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),Ct(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(s,l){E(s,e,l),p(e,i),p(e,n),p(e,o)},p:Z,i:Z,o:Z,d(s){s&&T(e)}}}class Rm extends be{constructor(e){super(),ge(this,e,null,Nm,he,{})}}function Om(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"opacity",".7"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(i,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class zm extends be{constructor(e){super(),ge(this,e,null,Om,he,{})}}function Dm(t){ze(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 Fm(t){let e,i,n,o;e=new Rm({});function s(a,c){if(a[4]===Zn.FULL)return qm;if(a[4]===Zn.COUNT)return Um}let l=s(t),r=l&&l(t);return{c(){U(e.$$.fragment),i=z(),r&&r.c(),n=lt()},m(a,c){F(e,a,c),E(a,i,c),r&&r.m(a,c),E(a,n,c),o=!0},p(a,c){l===(l=s(a))&&r?r.p(a,c):(r&&r.d(1),r=l&&l(a),r&&(r.c(),r.m(n.parentNode,n)))},i(a){o||(d(e.$$.fragment,a),o=!0)},o(a){b(e.$$.fragment,a),o=!1},d(a){a&&(T(i),T(n)),H(e,a),r&&r.d(a)}}}function Hm(t){let e,i,n,o,s,l;return s=new zm({}),{c(){e=A("span"),i=Re(t[2]),n=z(),o=A("div"),U(s.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(r,a){E(r,e,a),p(e,i),E(r,n,a),E(r,o,a),F(s,o,null),l=!0},p(r,a){(!l||a&4)&&Xe(i,r[2])},i(r){l||(d(s.$$.fragment,r),l=!0)},o(r){b(s.$$.fragment,r),l=!1},d(r){r&&(T(e),T(n),T(o)),H(s)}}}function Um(t){let e,i=t[0].length+"",n;return{c(){e=A("span"),n=Re(i),u(e,"class","text count v-1yhs2ga")},m(o,s){E(o,e,s),p(e,n)},p(o,s){s&1&&i!==(i=o[0].length+"")&&Xe(n,i)},d(o){o&&T(e)}}}function qm(t){let e,i;return{c(){e=A("span"),i=Re(t[2]),u(e,"class","text v-1yhs2ga")},m(n,o){E(n,e,o),p(e,i)},p(n,o){o&4&&Xe(i,n[2])},d(n){n&&T(e)}}}function jm(t){let e,i,n,o;const s=[Hm,Fm],l=[];function r(a,c){return a[6]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),b(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){b(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function Zm(t){let e,i,n;function o(l){t[19](l)}let s={className:"w-max btn-full-opacity "+(t[6]?"px-0":""),testId:"btn-episodes",click:t[12],disabled:!t[7],ariaExpanded:t[3],ariaLabel:t[5],$$slots:{default:[jm]},$$scope:{ctx:t}};return t[1]!==void 0&&(s.ref=t[1]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&64&&(a.className="w-max btn-full-opacity "+(l[6]?"px-0":"")),r&8&&(a.ariaExpanded=l[3]),r&32&&(a.ariaLabel=l[5]),r&8388693&&(a.$$scope={dirty:r,ctx:l}),!i&&r&2&&(i=!0,a.ref=l[1],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Wm(t,e,i){let n,o,s,l,r,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:m=[]}=e;const h=ct(),v=h.callbacks?.onEpisodeChanged??te.noop,g=!!h.callbacks?.onEpisodeClicked,w=h.ui.currentGridType$;D(t,w,I=>i(18,r=I));const _=h.ui.episodes.openedByKeyboard$;D(t,_,I=>i(17,l=I));const P=h.ui.episodes.panelOpened$;D(t,P,I=>i(3,s=I));const k=h.ui.isMobile;D(t,k,I=>i(6,a=I));let C;const V=I=>{if(!!h.callbacks?.onEpisodeClicked){const O=wl(I);_.set(O),P.set(!0),h.callbacks?.onEpisodeClicked?.(O)}};let ne,M,G;const B=async(I,ie,O)=>{await So(),I?.getAttribute("aria-expanded")==="false"&&ie&&!O&&(_.set(!1),I.focus())};function x(I){C=I,i(1,C)}return t.$$set=I=>{"position"in I&&i(13,c=I.position),"duration"in I&&i(14,f=I.duration),"timeCodes"in I&&i(0,m=I.timeCodes)},t.$$.update=()=>{if(t.$$.dirty&24576&&i(16,n=c/f),t.$$.dirty&114689){const I=tu(n,f,m);I&&ne?.text!==I.text&&(v(I),i(15,ne=I))}t.$$.dirty&32768&&i(2,o=ne?.text||""),t.$$.dirty&262144&&(mn(r,exports.GridTypes.XL)?i(4,M=Zn.FULL):mn(r,exports.GridTypes.M)&&c2(r,exports.GridTypes.XL)?i(4,M=Zn.COUNT):i(4,M=Zn.SHORT)),t.$$.dirty&4&&i(5,G=`${Y("tooltip_episodes")}: ${o}`),t.$$.dirty&131082&&B(C,l,s)},[m,C,o,s,M,G,a,g,w,_,P,k,V,c,f,ne,n,l,r,x]}class ou extends be{constructor(e){super(),ge(this,e,Wm,Zm,he,{position:13,duration:14,timeCodes:0},Dm)}}function Km(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(i,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p:Z,i:Z,o:Z,d(o){o&&T(e)}}}class Gm extends be{constructor(e){super(),ge(this,e,null,Km,he,{})}}function Ym(t){let e,i;return e=new Gm({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Qm(t){let e,i,n;function o(l){t[4](l)}let s={className:t[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:Y("tooltip_interactive_seek"),disabled:t[2],click:t[3],$$slots:{default:[Ym]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&8&&(a.click=l[3]),r&32&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Xm(t,e,i){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:s=!1}=e,{click:l}=e;function r(a){n=a,i(0,n)}return t.$$set=a=>{"ref"in a&&i(0,n=a.ref),"hidden"in a&&i(1,o=a.hidden),"disabled"in a&&i(2,s=a.disabled),"click"in a&&i(3,l=a.click)},[n,o,s,l,r]}class lu extends be{constructor(e){super(),ge(this,e,Xm,Qm,he,{ref:0,hidden:1,disabled:2,click:3})}}function Jm(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),N(n,"hidden",!t[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p(o,[s]){s&1&&N(n,"hidden",!o[0])},i:Z,o:Z,d(o){o&&T(e)}}}function xm(t,e,i){let{isOpened:n=!1}=e;return t.$$set=o=>{"isOpened"in o&&i(0,n=o.isOpened)},[n]}class $m extends be{constructor(e){super(),ge(this,e,xm,Jm,he,{isOpened:0})}}function e4(t){let e,i;return e=new $m({props:{isOpened:t[3]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&8&&(s.isOpened=n[3]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function t4(t){let e,i,n;function o(l){t[6](l)}let s={className:t[1]?"hidden":"",testId:"btn-graph",disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[e4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&136&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function i4(t,e,i){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:s=!1}=e,{graphIsOpened:l=!1}=e,{click:r}=e,a;function c(f){n=f,i(0,n)}return t.$$set=f=>{"ref"in f&&i(0,n=f.ref),"hidden"in f&&i(1,o=f.hidden),"disabled"in f&&i(2,s=f.disabled),"graphIsOpened"in f&&i(3,l=f.graphIsOpened),"click"in f&&i(4,r=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=Y(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,s,l,r,a,c]}class su extends be{constructor(e){super(),ge(this,e,i4,t4,he,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function n4(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class ru extends be{constructor(e){super(),ge(this,e,null,n4,he,{})}}function o4(t){ze(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 or(t){let e;return{c(){e=A("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){E(i,e,n)},d(i){i&&T(e)}}}function l4(t){let e,i,n,o,s=t[1]&&or();return n=new ru({}),{c(){s&&s.c(),e=z(),i=A("div"),U(n.$$.fragment),u(i,"class","v-1ot3duq"),N(i,"mobile",t[1])},m(l,r){s&&s.m(l,r),E(l,e,r),E(l,i,r),F(n,i,null),o=!0},p(l,r){l[1]?s||(s=or(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),(!o||r&2)&&N(i,"mobile",l[1])},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){b(n.$$.fragment,l),o=!1},d(l){l&&(T(e),T(i)),s&&s.d(l),H(n)}}}function s4(t){let e,i,n;function o(l){t[5](l)}let s={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-replay",ariaLabel:Y("tooltip_restart"),disabled:t[2],click:t[4],ariaKeyShortCut:Po[Te.KeyK],$$slots:{default:[l4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&4&&(a.disabled=l[2]),r&16&&(a.click=l[4]),r&66&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function r4(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:s=!1}=e,{className:l=""}=e,{click:r=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,o=c.isMobile),"disabled"in c&&i(2,s=c.disabled),"className"in c&&i(3,l=c.className),"click"in c&&i(4,r=c.click)},[n,o,s,l,r,a]}class Al extends be{constructor(e){super(),ge(this,e,r4,s4,he,{ref:0,isMobile:1,disabled:2,className:3,click:4},o4)}}function a4(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class u4 extends be{constructor(e){super(),ge(this,e,null,a4,he,{})}}function c4(t){let e,i;return e=new u4({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function f4(t){let e,i;return e=new mi({props:{className:t[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:Y("tooltip_interactive_go_back"),disabled:t[1],click:t[2],$$slots:{default:[c4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"hidden":""),o&2&&(s.disabled=n[1]),o&4&&(s.click=n[2]),o&8&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function d4(t,e,i){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:s}=e;return t.$$set=l=>{"hidden"in l&&i(0,n=l.hidden),"disabled"in l&&i(1,o=l.disabled),"click"in l&&i(2,s=l.click)},[n,o,s]}class au extends be{constructor(e){super(),ge(this,e,d4,f4,he,{hidden:0,disabled:1,click:2})}}function m4(t){ze(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 p4(t){let e,i,n,o;return{c(){e=A("img"),u(e,"class","icon v-1x1zctw"),Ul(e.src,i=t[0])||u(e,"src",i),u(e,"aria-hidden","true")},m(s,l){E(s,e,l),n||(o=pe(e,"error",t[7]),n=!0)},p(s,l){l&1&&!Ul(e.src,i=s[0])&&u(e,"src",i)},d(s){s&&T(e),n=!1,o()}}}function h4(t){let e;return{c(){e=A("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(i,n){E(i,e,n)},p:Z,d(i){i&&T(e)}}}function g4(t){let e;function i(s,l){return s[5]?h4:p4}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,l){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},d(s){s&&T(e),o.d(s)}}}function b4(t){let e,i;return e=new mi({props:{className:t[4]?"btn-full-opacity":"",ariaLabel:t[1],click:t[3],disabled:t[6],testId:t[2],$$slots:{default:[g4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&16&&(s.className=n[4]?"btn-full-opacity":""),o&2&&(s.ariaLabel=n[1]),o&8&&(s.click=n[3]),o&64&&(s.disabled=n[6]),o&4&&(s.testId=n[2]),o&545&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _4(t,e,i){let n,o,s,{iconUrl:l}=e,{ariaLabel:r}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=te.noop}=e;const m=()=>{i(5,s=!0)};return t.$$set=h=>{"iconUrl"in h&&i(0,l=h.iconUrl),"ariaLabel"in h&&i(1,r=h.ariaLabel),"disabled"in h&&i(8,a=h.disabled),"testId"in h&&i(2,c=h.testId),"onClick"in h&&i(3,f=h.onClick)},t.$$.update=()=>{t.$$.dirty&8&&i(4,n=f===te.noop),t.$$.dirty&272&&i(6,o=n||a)},i(5,s=!1),[l,r,c,f,n,s,o,m,a]}class uu extends be{constructor(e){super(),ge(this,e,_4,b4,he,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},m4)}}class lr{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 o=0,s=n.length;o<s;o++)if(n[o].callback===i){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,s=n.length;o<s;o++){const l=n[o];try{l.callback.call(this,e)}catch(r){Promise.resolve().then(()=>{throw r})}l.options&&l.options.once&&this.removeEventListener(e.type,l.callback)}return!e.defaultPrevented}}class cu extends lr{constructor(){super(),this.listeners||lr.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 v4=class{constructor(){Object.defineProperty(this,"signal",{value:new cu,writable:!0,configurable:!0})}abort(e){let i;try{i=new Event("abort")}catch{typeof document<"u"?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>"u")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch{n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(i)}toString(){return"[object AbortController]"}};typeof Symbol<"u"&&Symbol.toStringTag&&(v4.prototype[Symbol.toStringTag]="AbortController",cu.prototype[Symbol.toStringTag]="AbortSignal");function fu(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 w4(t){typeof t=="function"&&(t={fetch:t});const{fetch:e,Request:i=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=t;if(!fu({fetch:e,Request:i,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:e,Request:s};let s=i;(s&&!s.prototype.hasOwnProperty("signal")||o)&&(s=function(c,f){let m;f&&f.signal&&(m=f.signal,delete f.signal);const h=new i(c,f);return m&&Object.defineProperty(h,"signal",{writable:!1,enumerable:!1,configurable:!0,value:m}),h},s.prototype=i.prototype);const l=e;return{fetch:(a,c)=>{const f=s&&s.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let m;try{m=new DOMException("Aborted","AbortError")}catch{m=new Error("Aborted"),m.name="AbortError"}if(f.aborted)return Promise.reject(m);const h=new Promise((v,g)=>{f.addEventListener("abort",()=>g(m),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([h,l(a,c)])}return l(a,c)},Request:s}}const Ll=fu({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),du=Ll?w4({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,k4=Ll?du.fetch:window.fetch;Ll?du.Request:window.Request;const y4=(t,e)=>t<400||e<225?5:t<640||e<360?0:t<960||e<540?1:t<1280||e<720?2:3,C4="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class S4{adman=null;initialVolume=1;videoElement=null;currentAdSection=null;actions=null;adsState=null;playerState=null;log;loadTimeout;initTimeout;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};constructor(e,i){this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=i.loadTimeout,this.initTimeout=i.initTimeout}init(e,i,n){this.actions=e,this.adsState=i,this.playerState=n}loadAdman=e=>new Promise((i,n)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?i():n()};te.addScript(C4,e,this.loadTimeout).then(()=>{window.AdmanHTML?i():(window.admanAsyncInit=s,o=window.setTimeout(s,this.initTimeout))}).catch(()=>{n()})});onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:i,height:n,isFullscreen:o,isAutoplay:s,adsContainer:l,adsVideoElement:r,slotId:a,params:c={},duration:f,previewParam:m}=e;let h;const v=this.playerState&&Ye(this.playerState.vsid);v&&(h=parseInt(v,36));const g={dl:encodeURIComponent(window.location.href),autoplay:s,player_width:i,player_height:n,puid10:y4(i,n),puid11:o?0:1,preview:m,...h?{request_id:h}:{},duration:f,...c},w={slot:a,wrapper:l,videoEl:r,videoQuality:n,params:g,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=r,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===yn.Postroll;this.adsState.playbackState.set(Yt.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=Ye(this.adsState.playbackState);e===Yt.PLAYING?this.pause():e===Yt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){this.log({message:`set volume ${e}`}),this.adman?.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){this.log({message:`set fullscreen ${e}`}),this.adman?.setFullscreen(e)}startPreroll(){te.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=yn.Preroll,this.adman.start(yn.Preroll)}startPostroll(){te.assertNonNullable(this.adman),te.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=yn.Postroll,this.adman.start(yn.Postroll)}onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()};onAdStarted=(e,i)=>{te.assertNonNullable(this.adsState),te.assertNonNullable(this.playerState),te.assertNonNullable(this.actions),this.log({message:`ad started, section: ${e}, banner: ${JSON.stringify(i)}`}),this.events.started$.next(e),i.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Ye(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(i.duration),this.adsState.playbackState.set(Yt.PLAYING),this.adsState.canSkip.set(i.allowClose),this.adsState.secondsToWatchBeforeSkip.set(i.allowCloseDelay)};onAdTimeRemained=({currentTime:e})=>{te.assertNonNullable(this.adsState),this.adsState.position.set(e)};onAdPaused=()=>{te.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Yt.PAUSED)};onAdPlayed=()=>{te.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Yt.PLAYING)};onAdMidrollPoint=()=>{te.assertNonNullable(this.adman),te.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=yn.Midroll,this.adman.start(yn.Midroll)};onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()};onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()};onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()};onAdClicked=()=>{this.log({message:"ad clicked"}),this.videoElement?.pause(),this.events.clicked$.next()};onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)};play(){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){this.adman?.setPosition(Math.floor(e),Math.floor(i))}destroy(){this.log({message:"destroy"}),this.adman?.destroy()}}const P4=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 T4{oneLineRegExp=/\r\n|\n|\r/;twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/;parse(e){const i=[],n=e.split(this.twoLinesRegExp);for(const o of n){const s={startTime:0,endTime:0,texts:[],lang:""},l=o.split(this.oneLineRegExp);for(const r of l)if(!s.startTime&&!s.endTime){const a=new mu,{startTime:c,endTime:f}=a.parse(r);s.startTime=c,s.endTime=f}else if(r.trim()!==""){const a=new E4,{texts:c}=a.parse(r);s.texts=[...s.texts,...c]}(s.startTime||s.endTime)&&s.texts.length>0&&i.push(s)}return i}}class mu{timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/;timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`);parse(e){const i={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(i.startTime=this.calcTime(n[1],n[2],n[3],n[4]),i.endTime=this.calcTime(n[6],n[7],n[8],n[9])),i}parseTime(e){const i=this.timeRegExp.exec(e);return i?this.calcTime(i[1],i[2],i[3],i[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",i="0",n="0",o="0"){const s=Number(e)*60*60,l=Number(i)*60,r=Number(n),a=+`0.${o}`;return s+l+r+a}}class E4{letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/;parse(e){const i={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](l){let r=0;const a=[];for(;r<l.length;){const c=["<",">"].reduce((f,m)=>{const h=l.indexOf(m,r);return f===-1||f>h?h:f},-1);if(c===-1){a.push(l.substring(r));break}a.push(l.substring(r,c)),r=c+1}return a}}),s=new mu;for(const l of o)s.isTime(l)?i.texts.push({type:"timestamp",value:s.parseTime(l)}):i.texts.push({type:"text",value:l});return i}}let zn,an,ll=0,sl=!1;const A4=(t,e,i)=>{const n=t>=ll,o=t<ll,s=(c,f=0,m=0)=>c<f&&c<m,l=(c,f=0,m=0)=>c>=f&&c<=m,r=(c,f=0,m=0)=>c>f&&c>m,a=i.find(({lang:c})=>c===e.value)?.subtitles;if(ll=t,o&&(sl=!1),te.isNonNullable(zn)&&l(t,zn.startTime,zn.endTime)&&zn.lang===e.value)return zn;if(!te.isNonNullable(an)&&a?.length&&!sl){const c=a.find(({startTime:f,endTime:m})=>l(t,f,m)||n&&s(t,f,m));an=c&&{...c,lang:e.value},zn=void 0,!te.isNonNullable(an)&&a[a.length-1].endTime<t&&(sl=!0);return}else{if(l(t,an?.startTime,an?.endTime))return zn=an,an=void 0,zn;(n&&r(t,an?.startTime,an?.endTime)||o&&s(t,an?.startTime,an?.endTime))&&(an=void 0)}},rl={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 Ho=null;class vo{constructor(e,i){if(!Ho){const n=new ut.OneStat(e,i),o=new te.Subscription;Ho=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n?.destroy(),o?.unsubscribe(),Ho=null}})}}static getInstance(){return Ho}}const L4=({interfaceLanguage:t,videoId:e,isClip:i,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:s,canDownload:l,callbacks:r,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:m,coreConfig:h,player:v,disabledControls:g,isInteractive:w,interactiveRanges:_,replayInteractive:P,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:C,additionalButtons:V,looped:ne=!1})=>{const M={...h,configName:[...h.configName??[],"ui"],isAudioDisabled:s,live:{...h.live??{},isLiveCatchUpMode:!!n}},G=m,B=v||new Qe.Player(M);B.setLooped(ne);const x=new te.Logger,I=new S4(x,{loadTimeout:G.ads.loadTimeout,initTimeout:G.ads.initTimeout}),ie=vo.getInstance(),O=ml.getInstance(),X=a?.pictureInPictureApi,se=a?.annotationsApi,S=x.createComponentLog("Store");let le,W,oe={};const ke=te.getCurrentBrowser(),qe=ie?mt(ie.oneStat.vsid$):_n(void 0),je=Ae(yo()),Ie=X?.info.isActive$??new te.ValueSubject(!1),Se=X?.info.type,ce=Ae(0),K=Ae([]),ue=te.merge(B.events.fatalError$,B.events.managedError$).subscribe(L=>K.update(re=>[...re,L])),_e=_n(!1,L=>{const re=B.events.fatalError$.subscribe(()=>L(!0));return()=>re.unsubscribe()}),$=async L=>{const re=Object.values(te.InterfaceLanguage).includes(L);if(G.downloadVKLanguages&&(re&&G.updateBuiltinLanguages||!Kl(L))){let Ne;try{Ne=await te.loadVKLangPack(L,Sc,Pc)}catch(Ke){ie?.oneStat?.logError({errorType:"VKLangPack",fatal:!1}),O?.report(Ke,{errorType:"VKLangPack",fatal:!1})}Ne&&(Wl({language:L,pack:Ne,fallback:G.defaultLanguage}),Pe.set(L))}Kl(L)&&Pe.set(L)},Pe=Ae(t);$(t);const Ee=(L,re)=>{const ye=Ye(Pe);return k1(ye,L,re,G.defaultLanguage)},Be=Ae(Me.Thumb),ae=(()=>{const L=li([_e,Be],([re,ye])=>re?Me.Crashed:ye);return{...L,is:re=>Ye(L)===re}})(),ve=(()=>{const L=Ae(new Set(g));return{...L,add:re=>{L.update(ye=>new Set([...ye].concat(re)))},remove:re=>{L.update(ye=>{const Ne=[...ye];return new Set(Array.isArray(re)?Ne.filter(Ke=>!re.includes(Ke)):Ne.filter(Ke=>Ke!==re))})},includes:re=>{const ye=Ye(L);return Array.isArray(re)?re.every(Ne=>ye.has(Ne)):ye.has(re)}}})();S({message:"create store"});const J=L=>{S({message:`init video, config: ${JSON.stringify(L)}`}),w?L.container.append(B.experimental.element$.getValue()):B.initVideo(L),L.subtitles&&B.setExternalTextTracks(L.subtitles),le=L},Q=new te.Subject,De=L=>Q.next(L),tt=new te.Subject,Je=new te.Subject,Ce=new te.Subject,Ge={actionRewind$:tt,actionSeek$:Je,inPiP$:Ie,inFullscreen$:new te.Observable(L=>je.subscribe(re=>L.next(re))),actionSetSubtitle$:Ce,nextMovie$:Q};if(ie){const{oneStat:L,statSubscription:re}=ie;re.add(L.attachTo(B)),re.add(L.attachToUi(Ge)),re.add(L.attachToAds(I.events)),L.authorize(o).catch(ye=>{S({message:`onestat auth error ${String(ye)}`})})}if(O){const L=new te.Subscription,re=(ye,Ne)=>L.add(ye.subscribe(Ne));if(re(B.events.managedError$,ye=>{O.logIError(ye)}),re(B.events.fatalError$,ye=>{O.logIError(ye,!0)}),ie){const{oneStat:ye}=ie;re(ye.experimental.error$,Ne=>{O.logIError(Ne)})}O.sentrySubscription.add(L)}const xe=()=>{te.isIOS()&&W&&ef(W)},ft=new te.Subscription().add(B.experimental.element$.subscribe(L=>{L&&(W=L,L.classList.add("player-media"),Zo(X)&&(X.updateVideoElement(),X.registryEventHandlers()),w&&L.setAttribute("pip","false"))})).add(B.events.ended$.subscribe(()=>{xe(),r?.onEnded?.()})).add(B.events.started$.subscribe(async()=>{Zo(X)&&await X?.revealPictureInPicture();const L=B.info.muted$.getValue();r?.onStarted?.(),oe.onStarted?.(L)})).add(B.events.willSeek$.subscribe(({from:L,to:re})=>{r?.onSeek?.(L,re)})).add(B.info.position$.subscribe(L=>{const re=B.info.duration$.getValue();r?.onTimeupdate?.(re,L),I.setPosition(L,re)})).add(B.events.fatalError$.subscribe(()=>{r?.onCrashed?.()})).add(B.info.is3DVideo$.subscribe(L=>{nt.ui.is3DVideo.set(L)})).add(B.info.isEnded$.subscribe(L=>{w&&(L?(Ye(Rn)&&ve.add(s1),ve.add(ot.PLAY_BUTTON)):ve.remove(ot.PLAY_BUTTON))})).add(B.info.liveTime$.subscribe(L=>{r?.onLiveTime?.(L)})).add(B.info.isStalled$.subscribe(L=>{r?.onStalledChanged?.(L)})),_t=new te.Subscription,Ue=()=>{_t.add(B.events.log$.subscribe(L=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${L.component}`,L.message)})).add(x.log$.subscribe(L=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${L.component}.`,L.message)}))},Ve=()=>{_t.unsubscribe()},vt=(L,re)=>{B.startCameraManualRotation(L,re)},Mt=(L=!1)=>{B.stopCameraManualRotation(L)},Xt=(L,re,ye)=>{B.moveCameraFocusPX(L,re,ye)},Ht=()=>{B.holdCamera()},fe=()=>{B.releaseCamera()},ht=_n(B.info.position$.getValue(),L=>{let re,ye;const Ne=()=>{const Ke=B.info.playbackState$.getValue(),Dt=B.info.isLive$.getValue(),Kt=B.info.duration$.getValue(),It=B.info.position$.getValue();if([Qe.PlaybackState.PLAYING,Qe.PlaybackState.PAUSED].includes(Ke)){const rn=Dt?It-Kt:B.getExactTime();rn!==ye&&L(rn),ye=rn}re=requestAnimationFrame(Ne)};return Ne(),()=>cancelAnimationFrame(re)}),gt=mt(Ie),dt=mt(B.info.playbackState$),st=mt(B.info.currentBuffer$),kt=mt(B.info.isEnded$),St=mt(B.info.isLive$),si=G.features.playbackRate?mt(B.info.canChangePlaybackSpeed$):_n(!1),Di=mt(B.info.liveBufferTime$),Ut=mt(B.info.volume$),Fi=mt(B.info.muted$),Ki=c1(B.info.autoQualityLimits$.pipe(te.map(({max:L})=>L!==void 0)),B.info.autoQualityLimits$.getValue()?.max!==void 0),Jt=mt(B.info.autoQualityLimitingAvailable$),Vi=mt(B.info.availableQualities$),Mi=mt(B.info.availableQualitiesFps$),Bt=mt(B.info.chromecastState$),xt=mt(B.info.chromecastDeviceName$),ri=mt(B.info.currentFormat$),qt=mt(B.info.throughputEstimation$),ai=mt(B.info.videoBitrate$),jt=mt(B.info.intrinsicVideoSize$),pi=mt(B.info.duration$),Bi=mt(B.info.isAudioAvailable$);let pt=null;const ui=B.info.isBuffering$,hi=_n(ui.getValue(),L=>{const re=ui.subscribe(ye=>{ye&&pt===null?pt=window.setTimeout(()=>{L(ui.getValue()),pt=null},G.loaderDelay):L(ye)});return()=>{re.unsubscribe(),pt&&clearTimeout(pt)}}),gi=()=>{pt&&clearTimeout(pt),pt=null},Nt=li([pi,St],([L,re])=>re?-L:L),bi=li([dt],([L])=>L===Qe.PlaybackState.PLAYING),$t=mt(B.info.atLiveEdge$),ei=mt(B.info.atLiveDurationEdge$),Pt=mt(B.info.position$),_i=li([Pt,pi],([L,re])=>isFinite(L)&&isFinite(re)&&!!re),Rt=li([Bt],([L])=>L===Qe.ChromecastState.CONNECTED),rt=Ae(void 0),Tt=mt(B.info.isAutoQualityEnabled$,L=>L&&rt.set(void 0)),Ni=mt(B.info.currentQuality$,()=>rt.set(void 0)),vi=li([rt,Ni],([L,re])=>L??re),wi=li([Vi,Mi,Tt,vi,ri],([L,re,ye,Ne,Ke])=>{const Dt=[];Ke!==Qe.VideoFormat.MPEG&&Dt.push({value:ao.AUTO,displayValue:Ee("auto_quality_option"),selected:ye});const Kt=L.filter(It=>It!==te.VideoQuality.INVARIANT);for(const It of Kt){const rn=re[It],On=It===te.VideoQuality.INVARIANT?Ee("auto_quality_option"):It;Dt.push({value:It,displayValue:`${On}${rn?P4(rn):""}`,selected:ye?!1:It===Ne})}return Dt}),ti=mt(B.info.currentPlaybackRate$),Zt=li([ti,$t,ei],([L,re,ye])=>{const Ne=ye||w?1:G.controls.playbackRateMin,Ke=re?1:G.controls.playbackRateMax,Dt=G.controls.playbackRateStep,Kt=[];for(let It=Ne;It<=Ke;It+=Dt)Kt.push({value:It,displayValue:It===1?Ee("playback_rate_1"):Ee("playback_rate",{multiplier:It.toString(10)}),selected:L===It});return Kt}),Hi=G.features.subtitles?mt(B.info.availableTextTracks$):_n([]),Et=li([Hi],([L],re)=>{const ye=[],Ne=[];for(const Ke of L)Ke.url&&ye.push(k4(Ke.url));Promise.allSettled(ye).then(Ke=>{for(const[Dt,Kt]of Ke.entries())Kt.status==="fulfilled"&&Kt.value.text().then(It=>{const rn=new T4,On=L[Dt].language,go=!!L[Dt].isAuto,bo=rn.parse(It);On&&bo&&Ne.push({lang:On,subtitles:bo,isAuto:go}),Dt===Ke.length-1&&re(Ne)})})}),wt={displayValue:Ee("subtitles_off"),value:"off"},yt=Ae({...wt}),At=li([Et,yt,Et],([L,re])=>{if(L?.length>0){const ye=[{...wt,selected:re?.value===wt.value}];for(const{lang:Ne,isAuto:Ke}of L)rl[Ne]&&ye.push({displayValue:Ke?Ee("subtitles_auto",{language:rl[Ne]}):rl[Ne],value:Ne,selected:re?.value===Ne,isAuto:Ke});return ye}else return[]}),Ui=li([ht,yt,Et],([L,re,ye])=>{if(re&&re.value!==wt.value)return A4(L,re,ye)}),Wt=li([Ui],([L])=>L?.texts?L.texts:[]),ki=Ae(!0),Ri=li([st,Nt,Pt,Di],([L,re,ye,Ne])=>{const Ke=L?.end??0;if(!Ne)return Ke/re;const Kt=-ye+Ne-re;return(Ke-Kt)/re}),yi=mt(B.info.availableSources$),Gi=li([yi],([L])=>Object.keys(L?.[Qe.VideoFormat.MPEG]||{}).length>0),Ci=()=>{const L=Object.keys(B.info.availableSources$?.getValue()?.[Qe.VideoFormat.MPEG]||{}),re=te.getHighestQuality(L)||te.VideoQuality.Q_144P;return le.sources[Qe.VideoFormat.MPEG]?.[re]},ci=()=>{const L=Ci();L?Nc(L,le?.meta?.title||"video"):S({message:"There is no URL for download video"})},fi=()=>{S({message:"toggle muted"});const L=B.info.muted$.getValue(),Ne=!(B.info.volume$.getValue()===0||L);qi(Ne)},Si=()=>{nt.ui.settingsMenuVisible.set(!1)},Pi=L=>{nt.ui.settingsMenuOpenedByKeyboard.set(!!L),nt.ui.settingsMenuVisible.set(!0)},Ti=L=>{Ye(nt.ui.settingsMenuVisible)?Si():Pi(L)},Le=(L,re=L,ye=!1)=>{const Ne=!ye,Ke=B.info.muted$.getValue();S({message:`set volume, volume: ${L}, preferredVolume: ${re}, internalCall: ${Ne}`}),B.setVolume(L),I.setVolume(L),Ne&&r?.onVolumeChange?.(L),Zl(re),Ke?(B.setMuted(!1),Ne&&r?.onUnmute?.(),el(!1)):!Ke&&L===0&&(B.setMuted(!0),Ne&&r?.onMute?.(),el(!0))},qi=(L,re=!1)=>{const ye=!re,Ne=B.info.volume$.getValue();if(S({message:`set muted, currentVolume: ${Ne}, mute: ${L}, internalCall: ${ye}`}),B.setMuted(L),I.setVolume(L?0:Ne),el(L),ye&&(L?r?.onMute?.():r?.onUnmute?.()),Ne===0){let Ke=h1()??G.volumeDefault;Ke===0&&(Ke=G.volumeMinRestore,Zl(Ke)),B.setVolume(Ke),I.setVolume(Ke),ye&&r?.onVolumeChange?.(Ke)}},ji=()=>{B.prepare()},Ei=()=>{if(te.assertNonNullable(nt),!Ye(nt.ui.controls.disabledControls$).has(ot.PLAY_BUTTON)){if(S({message:"toggle play"}),Ye(nt.playerPhase)===Me.Ads){I.togglePlay();return}if(B.info.playbackState$.getValue()!==Qe.PlaybackState.PLAYING){if(B.info.isEnded$.getValue()){if(S({message:"toggle play, video ended, seek to 0"}),tt.next(),Je.next(ut.SeekAction.REWIND),w){P?.();return}B.seekTime(0)}S({message:"toggle play, call player.play"}),B.play(),r?.onPlay?.()}else S({message:"toggle play, call player.pause"}),B.pause(),r?.onPause?.()}},Zi=L=>{S({message:`set quality, quality: ${L}`}),B.setAutoQuality(L===ao.AUTO),L!==ao.AUTO?(Rc(e,L),rt.set(L),B.setQuality(L)):g1()},Ai=L=>{S({message:`set trafficSavingEnabled, value: ${L}`}),B.setAutoQualityLimits({max:L?G.trafficSavingLimit:void 0}),Dc(L)},Oe=L=>{B.setPlaybackRate(L)},di=()=>{const L=Ye(Zt),re=L.findIndex(({selected:Ne})=>Ne);if(re===L.length-1)return;const ye=L[re+1];Oe(ye.value)},Li=()=>{const L=Ye(Zt),re=L.findIndex(({selected:Ne})=>Ne);if(re===0)return;const ye=L[re-1];Oe(ye.value)},Ot=L=>{L&&L.value!==wt.value&&Ce.next(L.isAuto?L.value+"_auto":L.value),yt.set(L)},zt=()=>{const L=Ye(At),re=Ye(yt),ye=Ye(Pe);if(re?.value===wt.value){const Ne=L.filter(Ke=>Ke.value!==wt.value).find(Ke=>Ke.value===ye)||L[1];Ot(Ne??{...wt})}else Ot({...wt,selected:!1})},ii=(L,re,ye=!0)=>{if(S({message:`seek to time, time: ${L}`}),Je.next(re),B.info.isLive$.getValue()){const Ne=B.info.duration$.getValue(),Ke=Math.min(0,Ne+L);B.seekTime(Ke,ye)}else{if(Ye(Rn))return;B.seekTime(qn(L),ye)}},Ji=L=>{S({message:`seek to episode start time: ${L}`}),ii(L,ut.SeekAction.EPISODE,!0)},Oi=(L,re)=>{S({message:`seek to percent, percent: ${L}`});const ye=Math.round(Ye(Nt)*L);ii(ye,re,!1)},xi=L=>{S({message:`seek external, time: ${L}`}),Je.next(ut.SeekAction.UNKNOWN),B.seekTime(B.info.isLive$.getValue()?-L:L)},$i=L=>{S({message:`set auto quality limitation. Max: ${L.max??"none"}. Min: ${L.min??"none"}`}),B.setAutoQualityLimits(L)},Yi=L=>{S({message:`seek external to episode start time: ${L}`}),ii(L,ut.SeekAction.EPISODE,!0)},Ii=L=>{S({message:`set playback rate to: ${L}`}),B.setPlaybackRate(L)},Wi=Ae(void 0),zi=Ae(!1),en=L=>{S({message:`start scrubbing, progress: ${L}`}),zi.set(!0),ee(L)},ee=L=>{Wi.set(L)};let $e,bt;const ni=()=>{Wi.set(void 0),zi.set(!1)},Qi=()=>{clearTimeout(bt),clearTimeout($e),$e=window.setTimeout(()=>{ni()},500),W?.removeEventListener("seeked",Qi)},on=L=>{S({message:`complete scrubbing, progress: ${L}`}),Oi(L,ut.SeekAction.SLIDER),Ye(nt.ui.isMobile)&&Ye(nt.state.currentFormat$)===Qe.VideoFormat.HLS?(W?.addEventListener("seeked",Qi),bt=window.setTimeout(()=>{Qi()},300)):ni()},gn=li([ht,Nt,Wi],([L,re,ye],Ne)=>{Ne(te.isNonNullable(ye)?ye*re:L)}),Lt=Ae({width:0,height:0}),ln=li([Lt],([{width:L}],re)=>{const ye=f2(L);re(ye)}),sn=Ae(!1),un=li([ln,sn],([L,re])=>re?V.filter(ye=>!ye.hideOnMobile):V.filter(ye=>!ye.hideOnDesktopGridTypes?.includes(L))),bn=li([sn,_e],([L,re],ye)=>{ye(L&&re)}),cn=()=>{Je.next(ut.SeekAction.LIVE),S({message:"switch to active live"}),B.seekTime(0),B.info.playbackState$.getValue()!==Qe.PlaybackState.PLAYING&&nt.actions.internal.togglePlay()},y=()=>I.skip(),at=(L=!0)=>{te.assertNonNullable(nt),S({message:`switch from ads to video, callPlay: ${L}`}),Be.set(Me.Video),L&&B.play()},In=()=>{te.assertNonNullable(nt),S({message:"switch from video to ads"}),nt.actions.internal.pause(),xe(),Be.set(Me.Ads)},Vn=L=>{te.assertNonNullable(nt);const re=L?Me.WaitingLive:Me.Thumb;Be.set(re)},wn=L=>{te.assertNonNullable(nt);const re=L?Me.WaitingRecord:Me.Thumb;Be.set(re)},Kn=()=>(te.assertNonNullable(nt),Mc(B,le,nt)),Gn=()=>(te.assertNonNullable(nt),Bc(B,le,nt)),Yn=()=>W,Qn=()=>{S({message:"toggle chromecast"}),B.toggleChromecast()},Fn=L=>{te.assertNonNullable(nt);const re=!L;if(Ye(nt.playerPhase)===Me.Ads){S({message:`pause ads, internalCall: ${re}`}),I.pause();return}S({message:`pause video, internalCall: ${re}`}),re&&r?.onPause?.(),B.pause()},Xn=L=>{te.assertNonNullable(nt);const re=!L;if(Ye(nt.playerPhase)===Me.Ads){S({message:`play ads, internalCall: ${re}`}),I.play();return}S({message:`play video, internalCall: ${re}`}),re&&r?.onPlay?.(),B.play()},Hn=(L,re)=>{te.assertNonNullable(nt),S({message:`first start, show ads: ${L}, internalCall: ${!re}`}),L?Be.set(Me.Ads):(Be.set(Me.Video),re?B.play():nt.actions.internal.togglePlay())},Un=()=>(S({message:"getting time codes"}),c),Jn=()=>{const L=Un();if(!L||[0,1].includes(L.length))return;const re=B.info.position$.getValue();return L.find(ye=>ye.time>re)},fn=L=>{let re=L;re||(re=Jn()),re&&(S({message:"seek to next episode"}),ii(re.time,ut.SeekAction.EPISODE,!0))},Mn=()=>{const L=Un();if(!L||[0,1].includes(L.length))return;const re=B.info.position$.getValue(),ye=L.findIndex(Ke=>Ke.time>re),Ne=ye===-1?L.length-2:ye-2;if(!(Ne<0))return L[Ne]},xn=L=>{let re=L;re||(re=Mn()),re&&(S({message:"seek to prev episode"}),ii(re.time,ut.SeekAction.EPISODE,!0))},Bn=()=>(S({message:"getting preview thumbs data"}),f),$n=async()=>{X?.isActive()?await X?.remove():await X?.request()},ho=(L=-90)=>{ce.update(re=>re+L)},kn=Ae(_),eo=li([kn],([L=[]])=>{const re=[];for(let ye=0;ye<L.length;ye++){const{range:[Ne,Ke],subjects:Dt}=L[ye];ye===0&&Ne!==0&&re.push({time:0,text:"",interactive:!1,completed:!0}),re.push({time:Ne/1e3,text:"",interactive:!0,completed:!Dt.length}),Ke!==1/0&&re.push({time:Ke/1e3,text:"",interactive:!1,completed:!0})}return re}),to=L=>{const re=Ye(kn);kn.set(re.map(ye=>({...ye,subjects:ye.subjects.filter(Ne=>Ne!==L)})))},Nn=Ae(!1),Rn=li([Pt,kn,Nn],([L,re,ye])=>{if(!w)return!1;if(ye)return!0;const Ne=L*1e3,Ke=re?.find(({range:[Dt,Kt],subjects:It})=>Dt<Ne&&Ne<Kt&&It.length);return Ke&&Ye(zi)&&ni(),!!Ke}),qn=L=>{if(!w)return L;const re=Ye(eo),ye=Ye(Nt),Ke=Ye(Pt)/ye,Dt=re.find(Kt=>Kt.interactive&&!Kt.completed&&Kt.time>Ke);return typeof Dt?.time=="number"?Math.min(L,Dt.time-.05):L},q=()=>{nt.ui.episodes.panelOpened$.set(!1)},oi=()=>{clearTimeout(bt),clearTimeout($e),ft.unsubscribe(),_t.unsubscribe(),B.destroy(),I.destroy(),ie?.destroy(),O?.destroy(),ue.unsubscribe()},nt={interfaceLanguage$:Pe,initVideo:J,videoId:e,isClip:i,playerPhase:ae,vsid:qe,state:{positionExact$:ht,positionWithScrubbing$:gn,duration$:Nt,playbackState$:dt,isPlaying$:bi,isLoaderVisible:hi,bufferedProgress$:Ri,isLive$:St,canChangePlaybackSpeed$:si,isActiveLive$:$t,isOldestAvailableLive$:ei,isRewindableLive$:_i,isEnded$:kt,muted$:Fi,volume$:Ut,trafficSavingEnabled$:Ki,autoQualityLimitingAvailable$:Jt,currentQuality$:vi,isAutoQualityEnabled$:Tt,availableQualities$:wi,currentPlaybackRate$:ti,availablePlaybackRates$:Zt,currentSubtitle$:yt,availableSubtitlesList$:At,currentSubtitleCaptions$:Wt,isAutoSubtitleCaptionVisible$:ki,chromecastState$:Bt,chromecastDeviceName$:xt,chromecastConnected$:Rt,currentFormat$:ri,throughputEstimation$:qt,videoBitrate$:ai,videoSize$:jt,errorLog$:K,crashed$:_e,isAudioAvailable$:Bi,isAudioDisabled:!!s,canDownload:G.features.download&&!!l,availableSources$:yi,hasMpegSources$:Gi,isInteractive:w,isInteractiveGraphEnabled:G.features.interactiveGraph,isSeekToInteractiveEnable:G.features.seekToInteractive,isPlayPrevChapterEnabled:G.features.interactivePlayPrevChapter,interactiveEpisodes$:eo,isInteractiveTime$:Rn,graphIsOpened$:Ae(!1),isInteractiveExpectation$:Nn,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:C},ui:{controlsVisible:Ae(!1),touched:Ae(!1),controls:{prevButton:Ae(void 0),playButton:Ae(void 0),replayButton:Ae(void 0),nextButton:Ae(void 0),playPrevChapterButton:Ae(void 0),seekToInteractiveButton:Ae(void 0),interactiveGraphButton:Ae(void 0),liveButton:Ae(void 0),time:Ae(void 0),episodes:Ae(void 0),volume:Ae(void 0),subtitles:Ae(void 0),settings:Ae(void 0),context:Ae(void 0),chromecast:Ae(void 0),pip:Ae(void 0),fullscreen:Ae(void 0),vkLogo:Ae(void 0),additionalButtons:V.length?V.reduce(L=>[...L,Ae(void 0)],[]):[],disabledControls$:ve},modals:{hotKeyMap:{show:Ae(!1),data:Ae({title:"",closeBtnText:"",groups:[]})}},isFullscreen:je,rotateAlpha:ce,isAutoplay:Ae(!1),contextMenuVisible:Ae(!1),debugPanelVisible:Ae(!1),episodes:{panelOpened$:Ae(!1),openedByKeyboard$:Ae(!1)},contextMenu:{btnRef$:Ae(void 0),openedByKeyboard$:Ae(!1),showContextMenuBtn$:Ae(!1)},playerSize:Lt,isMobile:sn,mobileNotReportControlHidden$:bn,mobileUnmuteButtonExpanded:Ae(!1),mobileUnmuteButtonVisible:Ae(!1),icon3DVideoVisible:Ae(!1),settingsMenuVisible:Ae(!1),settingsMenuOpenedByKeyboard:Ae(!1),scrubbingInProgress:zi,is3DVideo:Ae(!1),isPictureInPictureActive$:gt,pictureInPictureType$:_n(Se),clientInfo$:_n(ke),currentGridType$:ln,additionalButtons$:un,interactiveHideMobileControls:Ae(!1),overlayContainer$:Ae(void 0),startedByKeyboard$:Ae(!1)},ads:{position:Ae(0),duration:Ae(0),playbackState:Ae(Yt.INACTIVE),canSkip:Ae(!1),secondsToWatchBeforeSkip:Ae(0),postrollPassed:Ae(!1)},webApi:{pictureInPictureApi:X,annotationsApi:se},actions:{internal:{preload:ji,firstStart:L=>Hn(L,!1),pause:()=>Fn(!1),togglePlay:Ei,toggleMuted:fi,toggleSettingsMenu:Ti,openSettingsMenu:Pi,closeSettingsMenu:Si,setVolume:Le,setQuality:Zi,setTrafficSavingEnabled:L=>Ai(L),setPlaybackRate:Oe,incrementPlaybackRate:di,decrementPlaybackRate:Li,setSubtitle:Ot,toggleSubtitle:zt,togglePictureInPicture:$n,startScrubbing:en,progressScrubbing:ee,completeScrubbing:on,toggleChromecast:Qn,switchToActiveLive:cn,switchFromAdsToVideo:at,switchFromVideoToAds:In,skipAd:y,setWaitingLive:Vn,setWaitingRecord:wn,getDebugTextData:Kn,getDebugPanelData:Gn,getVideoElement:Yn,seekTime:(L,re,ye)=>ii(L,re,ye),clearDelayedBufferingCheckTimeout:gi,seekEpisodeStartTime:Ji,seekToPercent:Oi,getNextEpisode:Jn,seekToNextEpisode:fn,getPrevEpisode:Mn,seekToPrevEpisode:xn,startLogging:Ue,stopLogging:Ve,startCameraManualRotation:vt,stopCameraManualRotation:Mt,moveCameraFocusPX:Xt,holdCamera:Ht,releaseCamera:fe,getVideoEpisodes:Un,getPreviewThumbsData:Bn,downloadVideo:ci,addLanguage:Wl,setLanguage:$,nextMovie:De,videoRotate:ho,completeInteractiveRange:to,correctSeekTimeToInteractive:qn,replayInteractive:P},external:{firstStart:L=>Hn(L,!0),play:()=>Xn(!0),pause:()=>Fn(!0),seekTime:L=>xi(L),seekEpisodeStartTime:L=>Yi(L),setPlaybackRate:L=>Ii(L),setAutoQualityLimits:L=>$i(L),setMuted:L=>qi(L,!0),setVolume:L=>Le(L,L,!0),returnFocusToEpisodes:q}},callbacks:r,setUiCallbacks:L=>{oe={...L}},getAdmanWrapper:()=>I,getLogger:()=>x,destroy:oi};return nt},pu=(t,e,i,n)=>{if(!t)return;const o=t.getBoundingClientRect();for(const[s,l]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(s)){const r=i[s]?.getBoundingClientRect(),a=n&&!!r&&!!(r.right-r.left);l.set({positionStartX:0,positionEndX:0,left:a?Math.round(r.left-o.left):0,right:a?Math.round(r.right-o.left):0,top:a?Math.round(r.top-o.top):0,bottom:a?Math.round(r.bottom-o.top):0,isDisplayed:a})}},hu=async(t,e,i)=>{await So(),e&&i&&(i.focus(),t.set(!1))};function I4(t){let e,i;return{c(){e=R("svg"),i=R("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,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class V4 extends be{constructor(e){super(),ge(this,e,null,I4,he,{})}}function M4(t){let e,i;return e=new V4({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function B4(t){let e,i,n;function o(l){t[8](l)}let s={className:t[3]?"opened":"",testId:"btn-context-menu",disabled:t[0],ariaLabel:t[1],click:t[5],focus:t[6],blur:t[7],ariaExpanded:t[3],$$slots:{default:[M4]},$$scope:{ctx:t}};return t[2]!==void 0&&(s.ref=t[2]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.className=l[3]?"opened":""),r&1&&(a.disabled=l[0]),r&2&&(a.ariaLabel=l[1]),r&8&&(a.ariaExpanded=l[3]),r&8192&&(a.$$scope={dirty:r,ctx:l}),!i&&r&4&&(i=!0,a.ref=l[2],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function N4(t,e,i){let n,{disabled:o=!1}=e,{ariaLabel:s=""}=e;const l=ct(),r=l.ui.contextMenuVisible;D(t,r,_=>i(3,n=_));const a=l.ui.contextMenu.openedByKeyboard$,c=l.ui.contextMenu.showContextMenuBtn$,f=l.ui.contextMenu.btnRef$,m=_=>{const P=wl(_);a.set(P),r.set(!n)};let h;const v=()=>{c.set(!0)},g=()=>{c.set(!1)};function w(_){h=_,i(2,h)}return t.$$set=_=>{"disabled"in _&&i(0,o=_.disabled),"ariaLabel"in _&&i(1,s=_.ariaLabel)},t.$$.update=()=>{t.$$.dirty&4&&h&&f.set(h)},[o,s,h,n,r,m,v,g,w]}class R4 extends be{constructor(e){super(),ge(this,e,N4,B4,he,{disabled:0,ariaLabel:1})}}function O4(t){ze(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 sr(t,e,i){const n=t.slice();return n[205]=e[i].iconUrl,n[206]=e[i].ariaLabel,n[207]=e[i].testId,n[208]=e[i].onClick,n[209]=e[i].tooltip,n}function rr(t){let e,i,n;function o(l){t[171](l)}let s={disabled:!t[9],tooltipContent:Y("tooltip_previous"),$$slots:{default:[z4]},$$scope:{ctx:t}};return t[23].prevButton!==void 0&&(s.ref=t[23].prevButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&512&&(a.disabled=!l[9]),r[0]&4608|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].prevButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function z4(t){let e,i;return e=new Qo({props:{click:t[12],type:"prev",disabled:!t[9],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&4096&&(s.click=n[12]),o[0]&512&&(s.disabled=!n[9]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ar(t){let e,i,n;function o(l){t[172](l)}let s={disabled:t[74],tooltipContent:Y("tooltip_restart"),$$slots:{default:[D4]},$$scope:{ctx:t}};return t[23].replayButton!==void 0&&(s.ref=t[23].replayButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[2]&4096&&(a.disabled=l[74]),r[2]&4096|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].replayButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function D4(t){let e,i;return e=new Al({props:{click:t[127],disabled:t[74]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[2]&4096&&(s.disabled=n[74]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ur(t){let e,i,n;function o(l){t[174](l)}let s={tooltipContent:t[47],disabled:t[75],$$slots:{default:[F4]},$$scope:{ctx:t}};return t[23].playButton!==void 0&&(s.ref=t[23].playButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.tooltipContent=l[47]),r[2]&8192&&(a.disabled=l[75]),r[0]&67108864|r[1]&8|r[2]&8192|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].playButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function F4(t){let e,i,n;function o(l){t[173](l)}let s={isMobile:!1,isPlaying:t[34],click:t[86],disabled:t[75]};return t[26]!==void 0&&(s.ref=t[26]),e=new El({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&8&&(a.isPlaying=l[34]),r[2]&8192&&(a.disabled=l[75]),!i&&r[0]&67108864&&(i=!0,a.ref=l[26],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function cr(t){let e,i,n;function o(l){t[175](l)}let s={disabled:!t[8],tooltipContent:Y("tooltip_next"),$$slots:{default:[H4]},$$scope:{ctx:t}};return t[23].nextButton!==void 0&&(s.ref=t[23].nextButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&256&&(a.disabled=!l[8]),r[0]&2304|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].nextButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function H4(t){let e,i;return e=new Qo({props:{click:t[11],type:"next",disabled:!t[8],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&2048&&(s.click=n[11]),o[0]&256&&(s.disabled=!n[8]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function U4(t){let e,i,n,o,s=t[121]&&q4(t),l=t[120]&&Z4(t),r=t[119]&&K4(t);return{c(){s&&s.c(),e=z(),l&&l.c(),i=z(),r&&r.c(),n=lt()},m(a,c){s&&s.m(a,c),E(a,e,c),l&&l.m(a,c),E(a,i,c),r&&r.m(a,c),E(a,n,c),o=!0},p(a,c){a[121]&&s.p(a,c),a[120]&&l.p(a,c),a[119]&&r.p(a,c)},i(a){o||(d(s),d(l),d(r),o=!0)},o(a){b(s),b(l),b(r),o=!1},d(a){a&&(T(e),T(i),T(n)),s&&s.d(a),l&&l.d(a),r&&r.d(a)}}}function q4(t){let e,i,n;function o(l){t[176](l)}let s={disabled:t[73],tooltipContent:Y("tooltip_interactive_go_back"),disabledTooltipContent:Y(t[123]),$$slots:{default:[j4]},$$scope:{ctx:t}};return t[23].playPrevChapterButton!==void 0&&(s.ref=t[23].playPrevChapterButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[2]&2048&&(a.disabled=l[73]),r[0]&131072|r[2]&2048|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].playPrevChapterButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function j4(t){let e,i;return e=new au({props:{disabled:t[73],click:t[17]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[2]&2048&&(s.disabled=n[73]),o[0]&131072&&(s.click=n[17]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Z4(t){let e,i,n;function o(l){t[177](l)}let s={disabled:t[76],tooltipContent:Y("tooltip_interactive_seek"),disabledTooltipContent:Y(t[79]),$$slots:{default:[W4]},$$scope:{ctx:t}};return t[23].seekToInteractiveButton!==void 0&&(s.ref=t[23].seekToInteractiveButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[2]&16384&&(a.disabled=l[76]),r[2]&131072&&(a.disabledTooltipContent=Y(l[79])),r[0]&32768|r[2]&16384|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].seekToInteractiveButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function W4(t){let e,i;return e=new lu({props:{disabled:t[76],click:t[15]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[2]&16384&&(s.disabled=n[76]),o[0]&32768&&(s.click=n[15]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function K4(t){let e,i,n;function o(l){t[178](l)}let s={tooltipContent:t[48],disabled:t[77],$$slots:{default:[G4]},$$scope:{ctx:t}};return t[23].interactiveGraphButton!==void 0&&(s.ref=t[23].interactiveGraphButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&131072&&(a.tooltipContent=l[48]),r[2]&32768&&(a.disabled=l[77]),r[0]&65536|r[1]&1|r[2]&32768|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].interactiveGraphButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function G4(t){let e,i;return e=new su({props:{click:t[16],graphIsOpened:t[31],disabled:t[77]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&65536&&(s.click=n[16]),o[1]&1&&(s.graphIsOpened=n[31]),o[2]&32768&&(s.disabled=n[77]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function fr(t){let e,i,n;function o(l){t[179](l)}let s={tooltipContent:t[50],$$slots:{default:[Y4]},$$scope:{ctx:t}};return t[23].liveButton!==void 0&&(s.ref=t[23].liveButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&524288&&(a.tooltipContent=l[50]),r[0]&2097152|r[1]&524288|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].liveButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Y4(t){let e,i;return e=new eu({props:{isActiveLive:t[21],isMobile:!1,ariaLabel:t[50]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.isActiveLive=n[21]),o[1]&524288&&(s.ariaLabel=n[50]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function dr(t){let e,i,n;function o(l){t[180](l)}let s={isMobile:!1,showDuration:t[55],position:t[4]?t[80]:t[81],duration:t[4]?t[82]:t[83]};return t[23].time!==void 0&&(s.ref=t[23].time),e=new G1({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&16777216&&(a.showDuration=l[55]),r[0]&16|r[2]&786432&&(a.position=l[4]?l[80]:l[81]),r[0]&16|r[2]&3145728&&(a.duration=l[4]?l[82]:l[83]),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].time,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function mr(t){let e,i;return e=new ou({props:{position:t[81],duration:t[83],timeCodes:t[102]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[2]&524288&&(s.position=n[81]),o[2]&2097152&&(s.duration=n[83]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Q4(t){let e,i,n=t[20]&&mr(t);return{c(){n&&n.c(),e=lt()},m(o,s){n&&n.m(o,s),E(o,e,s),i=!0},p(o,s){o[20]?n?(n.p(o,s),s[0]&1048576&&d(n,1)):(n=mr(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(de(),b(n,1,1,()=>{n=null}),me())},i(o){i||(d(n),i=!0)},o(o){b(n),i=!1},d(o){o&&T(e),n&&n.d(o)}}}function X4(t){let e,i;return e=new uu({props:{iconUrl:t[205],ariaLabel:t[206]??t[209],testId:t[207],onClick:t[208]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&268435456&&(s.iconUrl=n[205]),o[0]&268435456&&(s.ariaLabel=n[206]??n[209]),o[0]&268435456&&(s.testId=n[207]),o[0]&268435456&&(s.onClick=n[208]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function pr(t){let e,i;return e=new Vt({props:{tooltipContent:t[209],width:40,$$slots:{default:[X4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&268435456&&(s.tooltipContent=n[209]),o[0]&268435456|o[6]&67108864&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function hr(t){let e,i,n;function o(l){t[183](l)}let s={disabled:!t[6],tooltipContent:t[51],$$slots:{default:[J4]},$$scope:{ctx:t}};return t[23].vkLogo!==void 0&&(s.ref=t[23].vkLogo),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.disabled=!l[6]),r[1]&1048576&&(a.tooltipContent=l[51]),r[0]&192|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].vkLogo,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function J4(t){let e,i;return e=new x1({props:{click:t[87],logoClickable:t[6],videoLogoUrl:t[7]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&64&&(s.logoClickable=n[6]),o[0]&128&&(s.videoLogoUrl=n[7]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function x4(t){let e,i;return e=new b2({props:{isAudioAvailable:t[78],click:t[126]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[2]&65536&&(s.isAudioAvailable=n[78]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function gr(t){let e,i,n;function o(l){t[185](l)}let s={tooltipContent:t[52],$$slots:{default:[$4]},$$scope:{ctx:t}};return t[23].subtitles!==void 0&&(s.ref=t[23].subtitles),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&2097152&&(a.tooltipContent=l[52]),r[0]&262144|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].subtitles,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function $4(t){let e,i;return e=new Id({props:{isSubtitlesEnabled:t[18],click:t[88]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&262144&&(s.isSubtitlesEnabled=n[18]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function br(t){let e,i,n,o;function s(r){t[186](r)}let l={supportLink:t[10],playerControlsHeight:t[46]?.clientHeight,returnFocus:t[14]};return t[24]!==void 0&&(l.ref=t[24]),i=new K1({props:l}),we.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[0]&1024&&(c.supportLink=r[10]),a[1]&32768&&(c.playerControlsHeight=r[46]?.clientHeight),a[0]&16384&&(c.returnFocus=r[14]),!n&&a[0]&16777216&&(n=!0,c.ref=r[24],Fe(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){b(i.$$.fragment,r),o=!1},d(r){r&&T(e),H(i)}}}function _r(t){let e,i,n;function o(l){t[188](l)}let s={tooltipContent:t[27]?void 0:Y("tooltip_settings_off"),$$slots:{default:[e3]},$$scope:{ctx:t}};return t[23].settings!==void 0&&(s.ref=t[23].settings),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&134217728&&(a.tooltipContent=l[27]?void 0:Y("tooltip_settings_off")),r[0]&33554432|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].settings,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function e3(t){let e,i,n;function o(l){t[187](l)}let s={};return t[25]!==void 0&&(s.ref=t[25]),e=new Sl({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&33554432&&(i=!0,a.ref=l[25],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function t3(t){let e,i,n;function o(l){t[189](l)}let s={className:t[41]?"":"out-of-view",tooltipContent:t[49],$$slots:{default:[i3]},$$scope:{ctx:t}};return t[23].context!==void 0&&(s.ref=t[23].context),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&1024&&(a.className=l[41]?"":"out-of-view"),r[1]&262144&&(a.tooltipContent=l[49]),r[1]&262144|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].context,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function i3(t){let e,i;return e=new R4({props:{ariaLabel:t[49]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[1]&262144&&(s.ariaLabel=n[49]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function vr(t){let e,i,n;function o(l){t[190](l)}let s={tooltipContent:t[53],$$slots:{default:[n3]},$$scope:{ctx:t}};return t[23].fullscreen!==void 0&&(s.ref=t[23].fullscreen),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&4194304&&(a.tooltipContent=l[53]),r[0]&1073750016|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].fullscreen,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function n3(t){let e,i;return e=new X1({props:{click:t[13],isFullscreen:t[30]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&8192&&(s.click=n[13]),o[0]&1073741824&&(s.isFullscreen=n[30]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function wr(t){let e,i,n;function o(l){t[191](l)}let s={tooltipContent:t[54],$$slots:{default:[o3]},$$scope:{ctx:t}};return t[23].chromecast!==void 0&&(s.ref=t[23].chromecast),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&8388608&&(a.tooltipContent=l[54]),r[0]&536870912|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].chromecast,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function o3(t){let e,i;return e=new $1({props:{isMobile:!1,state:t[29],click:t[125]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&536870912&&(s.state=n[29]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function l3(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k,C,V,ne,M,G,B,x,I,ie,O;i=new nu({props:{isHidden:!t[45],isAds:t[4],canRewindLive:t[5],isRewindableLive:t[32]}});let X=t[38]&&rr(t),se=t[35]&&ar(t),S=t[36]&&ur(t),le=t[37]&&cr(t),W=t[118]&&U4(t),oe=!t[4]&&t[33]&&fr(t),ke=t[19]&&dr(t);function qe(J){t[181](J)}let je={className:"w-max",disabled:!t[20],tooltipContent:Y("tooltip_episodes"),$$slots:{default:[Q4]},$$scope:{ctx:t}};t[23].episodes!==void 0&&(je.ref=t[23].episodes),v=new Vt({props:je}),we.push(()=>He(v,"ref",qe));let Ie=Ft(t[28]),Se=[];for(let J=0;J<Ie.length;J+=1)Se[J]=pr(sr(t,Ie,J));const ce=J=>b(Se[J],1,1,()=>{Se[J]=null});let K=t[43]&&hr(t);function ue(J){t[184](J)}let _e={$$slots:{default:[x4]},$$scope:{ctx:t}};t[23].volume!==void 0&&(_e.ref=t[23].volume),V=new Vt({props:_e}),we.push(()=>He(V,"ref",ue));let $=t[40]&&gr(t),Pe=!t[84]&&!t[4]&&br(t),Ee=t[42]&&_r(t),Be=t[85].features.contextMenuButton&&t3(t),ae=t[44]&&vr(t),ve=t[39]&&wr(t);return{c(){e=A("div"),U(i.$$.fragment),n=z(),o=A("div"),s=A("div"),X&&X.c(),l=z(),se&&se.c(),r=z(),S&&S.c(),a=z(),le&&le.c(),c=z(),W&&W.c(),f=z(),oe&&oe.c(),m=z(),ke&&ke.c(),h=z(),U(v.$$.fragment),_=z(),P=A("div");for(let J=0;J<Se.length;J+=1)Se[J].c();k=z(),K&&K.c(),C=z(),U(V.$$.fragment),M=z(),$&&$.c(),G=z(),Pe&&Pe.c(),B=z(),Ee&&Ee.c(),x=z(),Be&&Be.c(),I=z(),ae&&ae.c(),ie=z(),ve&&ve.c(),u(s,"class","controls-left v-st0uzk"),co(()=>t[182].call(s)),u(P,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),N(e,"hidden",t[1]),N(e,"controls-hidden",!t[3]),N(e,"no-smooth",t[2])},m(J,Q){E(J,e,Q),F(i,e,null),p(e,n),p(e,o),p(o,s),X&&X.m(s,null),p(s,l),se&&se.m(s,null),p(s,r),S&&S.m(s,null),p(s,a),le&&le.m(s,null),p(s,c),W&&W.m(s,null),p(s,f),oe&&oe.m(s,null),p(s,m),ke&&ke.m(s,null),p(s,h),F(v,s,null),w=hl(s,t[182].bind(s)),p(o,_),p(o,P);for(let De=0;De<Se.length;De+=1)Se[De]&&Se[De].m(P,null);p(P,k),K&&K.m(P,null),p(P,C),F(V,P,null),p(P,M),$&&$.m(P,null),p(P,G),Pe&&Pe.m(P,null),p(P,B),Ee&&Ee.m(P,null),p(P,x),Be&&Be.m(P,null),p(P,I),ae&&ae.m(P,null),p(P,ie),ve&&ve.m(P,null),t[192](o),t[193](e),O=!0},p(J,Q){const De={};Q[1]&16384&&(De.isHidden=!J[45]),Q[0]&16&&(De.isAds=J[4]),Q[0]&32&&(De.canRewindLive=J[5]),Q[1]&2&&(De.isRewindableLive=J[32]),i.$set(De),J[38]?X?(X.p(J,Q),Q[1]&128&&d(X,1)):(X=rr(J),X.c(),d(X,1),X.m(s,l)):X&&(de(),b(X,1,1,()=>{X=null}),me()),J[35]?se?(se.p(J,Q),Q[1]&16&&d(se,1)):(se=ar(J),se.c(),d(se,1),se.m(s,r)):se&&(de(),b(se,1,1,()=>{se=null}),me()),J[36]?S?(S.p(J,Q),Q[1]&32&&d(S,1)):(S=ur(J),S.c(),d(S,1),S.m(s,a)):S&&(de(),b(S,1,1,()=>{S=null}),me()),J[37]?le?(le.p(J,Q),Q[1]&64&&d(le,1)):(le=cr(J),le.c(),d(le,1),le.m(s,c)):le&&(de(),b(le,1,1,()=>{le=null}),me()),J[118]&&W.p(J,Q),!J[4]&&J[33]?oe?(oe.p(J,Q),Q[0]&16|Q[1]&4&&d(oe,1)):(oe=fr(J),oe.c(),d(oe,1),oe.m(s,m)):oe&&(de(),b(oe,1,1,()=>{oe=null}),me()),J[19]?ke?(ke.p(J,Q),Q[0]&524288&&d(ke,1)):(ke=dr(J),ke.c(),d(ke,1),ke.m(s,h)):ke&&(de(),b(ke,1,1,()=>{ke=null}),me());const tt={};if(Q[0]&1048576&&(tt.disabled=!J[20]),Q[0]&1048576|Q[2]&2621440|Q[6]&67108864&&(tt.$$scope={dirty:Q,ctx:J}),!g&&Q[0]&8388608&&(g=!0,tt.ref=J[23].episodes,Fe(()=>g=!1)),v.$set(tt),Q[0]&268435456){Ie=Ft(J[28]);let Ce;for(Ce=0;Ce<Ie.length;Ce+=1){const Ge=sr(J,Ie,Ce);Se[Ce]?(Se[Ce].p(Ge,Q),d(Se[Ce],1)):(Se[Ce]=pr(Ge),Se[Ce].c(),d(Se[Ce],1),Se[Ce].m(P,k))}for(de(),Ce=Ie.length;Ce<Se.length;Ce+=1)ce(Ce);me()}J[43]?K?(K.p(J,Q),Q[1]&4096&&d(K,1)):(K=hr(J),K.c(),d(K,1),K.m(P,C)):K&&(de(),b(K,1,1,()=>{K=null}),me());const Je={};Q[2]&65536|Q[6]&67108864&&(Je.$$scope={dirty:Q,ctx:J}),!ne&&Q[0]&8388608&&(ne=!0,Je.ref=J[23].volume,Fe(()=>ne=!1)),V.$set(Je),J[40]?$?($.p(J,Q),Q[1]&512&&d($,1)):($=gr(J),$.c(),d($,1),$.m(P,G)):$&&(de(),b($,1,1,()=>{$=null}),me()),!J[84]&&!J[4]?Pe?(Pe.p(J,Q),Q[0]&16|Q[2]&4194304&&d(Pe,1)):(Pe=br(J),Pe.c(),d(Pe,1),Pe.m(P,B)):Pe&&(de(),b(Pe,1,1,()=>{Pe=null}),me()),J[42]?Ee?(Ee.p(J,Q),Q[1]&2048&&d(Ee,1)):(Ee=_r(J),Ee.c(),d(Ee,1),Ee.m(P,x)):Ee&&(de(),b(Ee,1,1,()=>{Ee=null}),me()),J[85].features.contextMenuButton&&Be.p(J,Q),J[44]?ae?(ae.p(J,Q),Q[1]&8192&&d(ae,1)):(ae=vr(J),ae.c(),d(ae,1),ae.m(P,ie)):ae&&(de(),b(ae,1,1,()=>{ae=null}),me()),J[39]?ve?(ve.p(J,Q),Q[1]&256&&d(ve,1)):(ve=wr(J),ve.c(),d(ve,1),ve.m(P,null)):ve&&(de(),b(ve,1,1,()=>{ve=null}),me()),(!O||Q[0]&2)&&N(e,"hidden",J[1]),(!O||Q[0]&8)&&N(e,"controls-hidden",!J[3]),(!O||Q[0]&4)&&N(e,"no-smooth",J[2])},i(J){if(!O){d(i.$$.fragment,J),d(X),d(se),d(S),d(le),d(W),d(oe),d(ke),d(v.$$.fragment,J);for(let Q=0;Q<Ie.length;Q+=1)d(Se[Q]);d(K),d(V.$$.fragment,J),d($),d(Pe),d(Ee),d(Be),d(ae),d(ve),O=!0}},o(J){b(i.$$.fragment,J),b(X),b(se),b(S),b(le),b(W),b(oe),b(ke),b(v.$$.fragment,J),Se=Se.filter(Boolean);for(let Q=0;Q<Se.length;Q+=1)b(Se[Q]);b(K),b(V.$$.fragment,J),b($),b(Pe),b(Ee),b(Be),b(ae),b(ve),O=!1},d(J){J&&T(e),H(i),X&&X.d(),se&&se.d(),S&&S.d(),le&&le.d(),W&&W.d(),oe&&oe.d(),ke&&ke.d(),H(v),w(),hn(Se,J),K&&K.d(),H(V),$&&$.d(),Pe&&Pe.d(),Ee&&Ee.d(),Be&&Be.d(),ae&&ae.d(),ve&&ve.d(),t[192](null),t[193](null)}}}function s3(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k,C,V,ne,M,G,B,x,I,ie,O,X,se,S,le,W,oe=Z,ke=()=>(oe(),oe=Gt(x,j=>i(142,W=j)),x),qe,je=Z,Ie=()=>(je(),je=Gt(B,j=>i(143,qe=j)),B),Se,ce=Z,K=()=>(ce(),ce=Gt(G,j=>i(144,Se=j)),G),ue,_e=Z,$=()=>(_e(),_e=Gt(M,j=>i(145,ue=j)),M),Pe,Ee=Z,Be=()=>(Ee(),Ee=Gt(ne,j=>i(146,Pe=j)),ne),ae,ve=Z,J=()=>(ve(),ve=Gt(V,j=>i(147,ae=j)),V),Q,De=Z,tt=()=>(De(),De=Gt(C,j=>i(148,Q=j)),C),Je,Ce=Z,Ge=()=>(Ce(),Ce=Gt(k,j=>i(149,Je=j)),k),xe,ft=Z,_t=()=>(ft(),ft=Gt(P,j=>i(150,xe=j)),P),Ue,Ve=Z,vt=()=>(Ve(),Ve=Gt(_,j=>i(151,Ue=j)),_),Mt,Xt=Z,Ht=()=>(Xt(),Xt=Gt(w,j=>i(152,Mt=j)),w),fe,ht=Z,gt=()=>(ht(),ht=Gt(g,j=>i(153,fe=j)),g),dt,st=Z,kt=()=>(st(),st=Gt(v,j=>i(154,dt=j)),v),St,si=Z,Di=()=>(si(),si=Gt(h,j=>i(155,St=j)),h),Ut,Fi=Z,Ki=()=>(Fi(),Fi=Gt(m,j=>i(156,Ut=j)),m),Jt,Vi=Z,Mi=()=>(Vi(),Vi=Gt(f,j=>i(157,Jt=j)),f),Bt,xt=Z,ri=()=>(xt(),xt=Gt(c,j=>i(158,Bt=j)),c),qt,ai,jt,pi,Bi,pt,ui,hi,gi,Nt,bi,$t,ei,Pt,_i,Rt,rt,Tt,Ni,vi,wi,ti,Zt;t.$$.on_destroy.push(()=>oe()),t.$$.on_destroy.push(()=>je()),t.$$.on_destroy.push(()=>ce()),t.$$.on_destroy.push(()=>_e()),t.$$.on_destroy.push(()=>Ee()),t.$$.on_destroy.push(()=>ve()),t.$$.on_destroy.push(()=>De()),t.$$.on_destroy.push(()=>Ce()),t.$$.on_destroy.push(()=>ft()),t.$$.on_destroy.push(()=>Ve()),t.$$.on_destroy.push(()=>Xt()),t.$$.on_destroy.push(()=>ht()),t.$$.on_destroy.push(()=>st()),t.$$.on_destroy.push(()=>si()),t.$$.on_destroy.push(()=>Fi()),t.$$.on_destroy.push(()=>Vi()),t.$$.on_destroy.push(()=>xt());let{bottomHidden:Hi}=e,{bottomNoSmooth:Et}=e,{showControls:wt}=e,{controlsElementRef:yt=void 0}=e,{isAds:At=!1}=e,{canRewindLive:Ui}=e,{logoClickable:Wt}=e,{logoHidden:ki}=e,{videoLogoUrl:Ri}=e,{showNextPrevButtons:yi}=e,{nextButtonActive:Gi}=e,{prevButtonActive:Ci}=e,{isOneVideoPlaylist:ci=!1}=e,{supportLink:fi}=e,{customFullscreenSupported:Si=!0}=e,{playNextVideo:Pi}=e,{playPrevVideo:Ti}=e,{repeatPlaylist:Le}=e,{toggleFullscreen:qi}=e,{returnFocus:ji}=e,{seekToInteractive:Ei}=e,{toggleGraph:Zi}=e,{playPrevChapter:Ai}=e;const Oe=ct(),di=Go(),Li=nn(),Ot=Oe.actions.internal.toggleMuted,zt=Oe.actions.internal.togglePlay,ii=Oe.actions.internal.pause,Ji=Oe.actions.internal.toggleSubtitle,Oi=Oe.callbacks?.onAudioDoesNotExistHint,xi=Oe.callbacks?.onAudioDisabledHint,$i=Oe.state.duration$;D(t,$i,j=>i(83,ti=j));const Yi=Oe.state.positionWithScrubbing$;D(t,Yi,j=>i(81,vi=j));const Ii=Oe.state.playbackState$;D(t,Ii,j=>i(159,jt=j));const Wi=Oe.state.chromecastConnected$;D(t,Wi,j=>i(84,Zt=j));const zi=Oe.state.isAudioAvailable$;D(t,zi,j=>i(78,I=j));const en=Oe.state.isAudioDisabled,ee=Oe.state.isEnded$;D(t,ee,j=>i(167,Pt=j));const $e=Oe.state.isLive$;D(t,$e,j=>i(33,hi=j));const bt=Oe.state.isActiveLive$;D(t,bt,j=>i(161,pt=j));const ni=Oe.state.isRewindableLive$;D(t,ni,j=>i(32,ui=j));const Qi=Oe.ui.isPictureInPictureActive$;D(t,Qi,j=>i(163,Nt=j));const on=Oe.ui.pictureInPictureType$;D(t,on,j=>i(162,gi=j));const gn=Oe.ui.settingsMenuVisible;D(t,gn,j=>i(27,X=j));const Lt=Oe.ui.settingsMenuOpenedByKeyboard;D(t,Lt,j=>i(139,O=j));const ln=Oe.ui.controls,sn=Oe.actions.internal.getVideoEpisodes(),un=Oe.state.chromecastState$;D(t,un,j=>i(29,qt=j));const bn=Oe.state.availableSubtitlesList$;D(t,bn,j=>i(166,ei=j));const cn=Oe.state.currentSubtitle$;D(t,cn,j=>i(168,_i=j));const y=ln.disabledControls$;D(t,y,j=>i(170,rt=j));const at=Oe.ui.contextMenuVisible;D(t,at,j=>i(160,pi=j));const In=Oe.ui.contextMenu.showContextMenuBtn$;D(t,In,j=>i(164,bi=j));const Vn=Oe.ui.contextMenu.openedByKeyboard$;D(t,Vn,j=>i(165,$t=j));const wn=Oe.ui.startedByKeyboard$;D(t,wn,j=>i(138,ie=j));const Kn=Oe.ads.duration;D(t,Kn,j=>i(82,wi=j));const Gn=Oe.ads.position;D(t,Gn,j=>i(80,Ni=j));const Yn=Oe.ads.playbackState;D(t,Yn,j=>i(169,Rt=j));const Qn=Oe.ui.isFullscreen;D(t,Qn,j=>i(30,ai=j));const Fn=Oe.ui.playerSize;D(t,Fn,j=>i(140,se=j));const Xn=Oe.ui.currentGridType$;D(t,Xn,j=>i(141,S=j));const Hn=Oe.ui.additionalButtons$;D(t,Hn,j=>i(28,le=j));const Un=Oe.actions.internal.getVideoElement,Jn=Oe.actions.internal.replayInteractive,fn=Oe.state.isInteractive,Mn=Oe.state.isInteractiveGraphEnabled,xn=Oe.state.isSeekToInteractiveEnable,Bn=Oe.state.isPlayPrevChapterEnabled,$n=Oe.state.graphIsOpened$;D(t,$n,j=>i(31,Bi=j));const ho=Oe.state.playPrevChapterDisabledTooltip,kn=di.seekToInteractiveDisabledTooltip$;D(t,kn,j=>i(79,Tt=j));const eo=()=>Oe.actions.internal.toggleChromecast();let to,Nn,Rn,qn,q,oi,nt,L,re,ye,Ne,Ke,Dt,Kt,It,rn,On,go,bo,Vl,Ml,Xo="";const Lu=(j,xo)=>{if(!j){i(50,Xo=Y("tooltip_live"));return}xo===Qe.PlaybackState.PAUSED&&i(50,Xo=Y("tooltip_play"))};let Bl,Nl,Rl,Ol,Eo;const Ze={};let dn,_o,Jo,zl;const Iu=te.throttleFn(pu,o1,{leading:!1});let Ao,Lo,Io;function Vu(){en?xi?.():I?Ot():Oi?.()}const Mu=fn?Jn:ci?zt:Le;function Bu(j){t.$$.not_equal(Ze.prevButton,j)&&(Ze.prevButton=j,i(23,Ze))}function Nu(j){t.$$.not_equal(Ze.replayButton,j)&&(Ze.replayButton=j,i(23,Ze))}function Ru(j){Io=j,i(26,Io)}function Ou(j){t.$$.not_equal(Ze.playButton,j)&&(Ze.playButton=j,i(23,Ze))}function zu(j){t.$$.not_equal(Ze.nextButton,j)&&(Ze.nextButton=j,i(23,Ze))}function Du(j){t.$$.not_equal(Ze.playPrevChapterButton,j)&&(Ze.playPrevChapterButton=j,i(23,Ze))}function Fu(j){t.$$.not_equal(Ze.seekToInteractiveButton,j)&&(Ze.seekToInteractiveButton=j,i(23,Ze))}function Hu(j){t.$$.not_equal(Ze.interactiveGraphButton,j)&&(Ze.interactiveGraphButton=j,i(23,Ze))}function Uu(j){t.$$.not_equal(Ze.liveButton,j)&&(Ze.liveButton=j,i(23,Ze))}function qu(j){t.$$.not_equal(Ze.time,j)&&(Ze.time=j,i(23,Ze))}function ju(j){t.$$.not_equal(Ze.episodes,j)&&(Ze.episodes=j,i(23,Ze))}function Zu(){Eo=this.clientWidth,i(22,Eo)}function Wu(j){t.$$.not_equal(Ze.vkLogo,j)&&(Ze.vkLogo=j,i(23,Ze))}function Ku(j){t.$$.not_equal(Ze.volume,j)&&(Ze.volume=j,i(23,Ze))}function Gu(j){t.$$.not_equal(Ze.subtitles,j)&&(Ze.subtitles=j,i(23,Ze))}function Yu(j){Ao=j,i(24,Ao)}function Qu(j){Lo=j,i(25,Lo)}function Xu(j){t.$$.not_equal(Ze.settings,j)&&(Ze.settings=j,i(23,Ze))}function Ju(j){t.$$.not_equal(Ze.context,j)&&(Ze.context=j,i(23,Ze))}function xu(j){t.$$.not_equal(Ze.fullscreen,j)&&(Ze.fullscreen=j,i(23,Ze))}function $u(j){t.$$.not_equal(Ze.chromecast,j)&&(Ze.chromecast=j,i(23,Ze))}function ec(j){we[j?"unshift":"push"](()=>{On=j,i(46,On)})}function tc(j){we[j?"unshift":"push"](()=>{yt=j,i(0,yt)})}return t.$$set=j=>{"bottomHidden"in j&&i(1,Hi=j.bottomHidden),"bottomNoSmooth"in j&&i(2,Et=j.bottomNoSmooth),"showControls"in j&&i(3,wt=j.showControls),"controlsElementRef"in j&&i(0,yt=j.controlsElementRef),"isAds"in j&&i(4,At=j.isAds),"canRewindLive"in j&&i(5,Ui=j.canRewindLive),"logoClickable"in j&&i(6,Wt=j.logoClickable),"logoHidden"in j&&i(128,ki=j.logoHidden),"videoLogoUrl"in j&&i(7,Ri=j.videoLogoUrl),"showNextPrevButtons"in j&&i(129,yi=j.showNextPrevButtons),"nextButtonActive"in j&&i(8,Gi=j.nextButtonActive),"prevButtonActive"in j&&i(9,Ci=j.prevButtonActive),"isOneVideoPlaylist"in j&&i(130,ci=j.isOneVideoPlaylist),"supportLink"in j&&i(10,fi=j.supportLink),"customFullscreenSupported"in j&&i(131,Si=j.customFullscreenSupported),"playNextVideo"in j&&i(11,Pi=j.playNextVideo),"playPrevVideo"in j&&i(12,Ti=j.playPrevVideo),"repeatPlaylist"in j&&i(132,Le=j.repeatPlaylist),"toggleFullscreen"in j&&i(13,qi=j.toggleFullscreen),"returnFocus"in j&&i(14,ji=j.returnFocus),"seekToInteractive"in j&&i(15,Ei=j.seekToInteractive),"toggleGraph"in j&&i(16,Zi=j.toggleGraph),"playPrevChapter"in j&&i(17,Ai=j.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[5]&32768&&i(137,n=rt.has(ot.EPISODE_BUTTON)),t.$$.dirty[5]&32768&&i(77,o=rt.has(ot.GRAPH_BUTTON)),t.$$.dirty[5]&32768&&i(76,s=rt.has(ot.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[5]&32768&&i(75,l=rt.has(ot.PLAY_BUTTON)),t.$$.dirty[5]&32768&&i(74,r=rt.has(ot.REPLAY_BUTTON)),t.$$.dirty[5]&32768&&i(73,a=rt.has(ot.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[0]&16|t.$$.dirty[5]&16400&&i(34,to=At?Rt===Yt.PLAYING:jt===Qe.PlaybackState.PLAYING),t.$$.dirty[5]&8192&&i(18,Nn=_i.value!=="off"),t.$$.dirty[0]&16|t.$$.dirty[5]&4096&&i(35,Rn=Pt&&!At||fn),t.$$.dirty[0]&16|t.$$.dirty[5]&4096&&i(36,qn=!Pt||fn||At),t.$$.dirty[4]&131072&&i(133,q=mn(S,exports.GridTypes.M)),t.$$.dirty[0]&272|t.$$.dirty[4]&131104&&i(37,oi=yi&&mn(S,exports.GridTypes.M)&&!At&&Gi),t.$$.dirty[0]&528|t.$$.dirty[4]&131104&&i(38,nt=yi&&mn(S,exports.GridTypes.M)&&!At&&Ci),t.$$.dirty[0]&536870912|t.$$.dirty[4]&131072|t.$$.dirty[5]&384&&i(39,L=qt!==Qe.ChromecastState.NOT_AVAILABLE&&!(Nt&&gi===Sn.DocumentPictureInPicture)&&mn(S,exports.GridTypes.M)&&!fn),t.$$.dirty[4]&131072|t.$$.dirty[5]&2048&&i(40,re=ei.length>0&&mn(S,exports.GridTypes.M)),t.$$.dirty[5]&1536&&i(41,ye=$t||bi),t.$$.dirty[4]&131072&&i(42,Ne=mn(S,exports.GridTypes.S)),t.$$.dirty[4]&16&&i(43,Ke=!ki),t.$$.dirty[4]&131216|t.$$.dirty[5]&384&&i(44,Dt=Li.features.fullscreen&&(ki||mn(S,exports.GridTypes.S))&&!(Nt&&gi===Sn.DocumentPictureInPicture)&&(fn?Si:!0)),t.$$.dirty[0]&16|t.$$.dirty[1]&4&&i(19,Kt=(!hi||At)&&!(Li.features.interactiveHideTime&&fn)),t.$$.dirty[4]&65536&&i(45,It=se.width>100),t.$$.dirty[0]&16|t.$$.dirty[1]&4|t.$$.dirty[4]&8704&&i(20,rn=!At&&!hi&&!!sn?.length&&q&&!n),t.$$.dirty[1]&2|t.$$.dirty[5]&64&&i(21,go=!ui||pt),t.$$.dirty[5]&16&&i(47,bo=jt===Qe.PlaybackState.PLAYING?Y("tooltip_pause"):Y("tooltip_play")),t.$$.dirty[1]&1&&i(48,Vl=Y(Bi?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),t.$$.dirty[5]&32&&i(49,Ml=Y(pi?"aria_label_context_menu_close":"aria_label_context_menu_open")),t.$$.dirty[0]&2097152|t.$$.dirty[5]&16&&Lu(go,jt),t.$$.dirty[0]&262144&&i(52,Nl=Y(Nn?"tooltip_subtitles_on":"tooltip_subtitles_off")),t.$$.dirty[0]&1073741824&&i(53,Rl=Y(ai?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),t.$$.dirty[0]&536870912&&i(54,Ol=qt===Qe.ChromecastState.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off")),t.$$.dirty[0]&268435456|t.$$.dirty[4]&2147221504|t.$$.dirty[5]&15&&i(134,dn={prevButton:Bt?Bt.right-Bt.left:0,replayButton:Jt?Jt.right-Jt.left:0,playButton:Ut?Ut.right-Ut.left:0,nextButton:St?St.right-St.left:0,playPrevChapterButton:dt?dt.right-dt.left:0,seekToInteractiveButton:fe?fe.right-fe.left:0,interactiveGraphButton:Mt?Mt.right-Mt.left:0,liveButton:Ue?Ue.right-Ue.left:0,time:xe?xe.right-xe.left:0,episodes:Je?Je.right-Je.left:0,vkLogo:Q?Q.right-Q.left:0,volume:ae?ae.right-ae.left:0,subtitles:Pe?Pe.right-Pe.left:0,settings:ue?ue.right-ue.left:0,context:Se?Se.right-Se.left:0,fullscreen:qe?qe.right-qe.left:0,chromecast:W?W.right-W.left:0,additionalButtons:le.length?le.reduce(j=>[...j,40],[]):[]}),t.$$.dirty[4]&3072&&(!_o||_o<dn.time)&&i(135,_o=dn.time),t.$$.dirty[0]&5767168|t.$$.dirty[4]&134144){let j=0;rn&&(mn(S,exports.GridTypes.XL)?j=dn.time:j=Lc);const xo=dn.prevButton+dn.playButton+dn.nextButton+dn.seekToInteractiveButton+dn.interactiveGraphButton+dn.liveButton+_o+j;i(136,Jo=Kt&&Eo>=xo)}t.$$.dirty[4]&135168&&i(55,zl=Jo&&mn(S,exports.GridTypes.M)),t.$$.dirty[0]&8388616|t.$$.dirty[4]&65536&&Iu(Un(),ln,Ze,wt),t.$$.dirty[0]&167772160&&kl(Lo,X,Lt),t.$$.dirty[0]&150994944|t.$$.dirty[4]&32768&&yl(Ao,X,O),t.$$.dirty[0]&67108864|t.$$.dirty[4]&16384&&hu(wn,ie,Io)},i(51,Bl=Li.logoType===fo.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),ri(i(72,{prevButton:c,replayButton:f,playButton:m,nextButton:h,playPrevChapterButton:v,seekToInteractiveButton:g,interactiveGraphButton:w,liveButton:_,time:P,episodes:k,vkLogo:C,volume:V,subtitles:ne,settings:M,context:G,fullscreen:B,chromecast:x}=ln,c,Mi(i(71,f)),Ki(i(70,m)),Di(i(69,h)),kt(i(68,v)),gt(i(67,g)),Ht(i(66,w)),vt(i(65,_)),_t(i(64,P)),Ge(i(63,k)),tt(i(62,C)),J(i(61,V)),Be(i(60,ne)),$(i(59,M)),K(i(58,G)),Ie(i(57,B)),ke(i(56,x)))),[yt,Hi,Et,wt,At,Ui,Wt,Ri,Gi,Ci,fi,Pi,Ti,qi,ji,Ei,Zi,Ai,Nn,Kt,rn,go,Eo,Ze,Ao,Lo,Io,X,le,qt,ai,Bi,ui,hi,to,Rn,qn,oi,nt,L,re,ye,Ne,Ke,Dt,It,On,bo,Vl,Ml,Xo,Bl,Nl,Rl,Ol,zl,x,B,G,M,ne,V,C,k,P,_,w,g,v,h,m,f,c,a,r,l,s,o,I,Tt,Ni,vi,wi,ti,Zt,Li,zt,ii,Ji,$i,Yi,Ii,Wi,zi,ee,$e,bt,ni,Qi,on,gn,Lt,sn,un,bn,cn,y,at,In,Vn,wn,Kn,Gn,Yn,Qn,Fn,Xn,Hn,fn,Mn,xn,Bn,$n,ho,kn,eo,Vu,Mu,ki,yi,ci,Si,Le,q,dn,_o,Jo,n,ie,O,se,S,W,qe,Se,ue,Pe,ae,Q,Je,xe,Ue,Mt,fe,dt,St,Ut,Jt,Bt,jt,pi,pt,gi,Nt,bi,$t,ei,Pt,_i,Rt,rt,Bu,Nu,Ru,Ou,zu,Du,Fu,Hu,Uu,qu,ju,Zu,Wu,Ku,Gu,Yu,Qu,Xu,Ju,xu,$u,ec,tc]}class r3 extends be{constructor(e){super(),ge(this,e,s3,l3,he,{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},O4,[-1,-1,-1,-1,-1,-1,-1])}}function a3(t){let e,i,n,o;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(s,l){E(s,e,l),p(e,i),p(i,n),p(i,o)},p:Z,i:Z,o:Z,d(s){s&&T(e)}}}class u3 extends be{constructor(e){super(),ge(this,e,null,a3,he,{})}}function c3(t){ze(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 kr(t){let e;return{c(){e=A("span"),e.textContent=`${Y("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(i,n){E(i,e,n)},p:Z,d(i){i&&T(e)}}}function f3(t){let e,i,n,o;var s=t[4];function l(a){return{}}s&&(i=vn(s,l()));let r=t[1]&&kr();return{c(){e=A("div"),i&&U(i.$$.fragment),n=z(),r&&r.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),N(e,"expanded",t[1])},m(a,c){E(a,e,c),i&&F(i,e,null),p(e,n),r&&r.m(e,null),o=!0},p(a,c){if(c&16&&s!==(s=a[4])){if(i){de();const f=i;b(f.$$.fragment,1,0,()=>{H(f,1)}),me()}s?(i=vn(s,l()),U(i.$$.fragment),d(i.$$.fragment,1),F(i,e,n)):i=null}a[1]?r?r.p(a,c):(r=kr(),r.c(),r.m(e,null)):r&&(r.d(1),r=null),(!o||c&2)&&N(e,"expanded",a[1])},i(a){o||(i&&d(i.$$.fragment,a),o=!0)},o(a){i&&b(i.$$.fragment,a),o=!1},d(a){a&&T(e),i&&H(i),r&&r.d()}}}function d3(t){let e,i,n;function o(l){t[6](l)}let s={testId:t[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:t[2],ariaLabel:t[3],$$slots:{default:[f3]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.testId=l[1]?"btn-mobile-unmuted":"btn-mobile-muted"),r&4&&(a.click=l[2]),r&8&&(a.ariaLabel=l[3]),r&146&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function m3(t,e,i){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:s=te.noop}=e,{ref:l=void 0}=e,r,a;function c(f){l=f,i(0,l)}return t.$$set=f=>{"muted"in f&&i(5,n=f.muted),"expanded"in f&&i(1,o=f.expanded),"click"in f&&i(2,s=f.click),"ref"in f&&i(0,l=f.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,r=Y(n?"tooltip_volume":"tooltip_volume_muted")),t.$$.dirty&2&&i(4,a=o?Yo:u3)},[l,o,s,r,a,n,c]}class gu extends be{constructor(e){super(),ge(this,e,m3,d3,he,{muted:5,expanded:1,click:2,ref:0},c3)}}function p3(t){let e,i,n,o;return{c(){e=R("svg"),i=R("path"),n=R("path"),o=R("path"),u(i,"fill",t[1]),u(i,"clip-rule","evenodd"),u(i,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",t[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),N(n,"hidden",!t[0]),u(o,"fill",t[1]),u(o,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),N(o,"hidden",t[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(s,l){E(s,e,l),p(e,i),p(e,n),p(e,o)},p(s,[l]){l&2&&u(i,"fill",s[1]),l&2&&u(n,"fill",s[1]),l&1&&N(n,"hidden",!s[0]),l&2&&u(o,"fill",s[1]),l&1&&N(o,"hidden",s[0])},i:Z,o:Z,d(s){s&&T(e)}}}function h3(t,e,i){let n,{isActive:o=!1}=e;return t.$$set=s=>{"isActive"in s&&i(0,o=s.isActive)},t.$$.update=()=>{t.$$.dirty&1&&i(1,n=o?"#2688EB":"#fff")},[o,n]}class g3 extends be{constructor(e){super(),ge(this,e,h3,p3,he,{isActive:0})}}function b3(t){let e,i;return e=new g3({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _3(t){let e,i,n;function o(l){t[3](l)}let s={testId:"btn-pip",ariaLabel:Y("menu_pip"),click:t[2],$$slots:{default:[b3]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&4&&(a.click=l[2]),r&18&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function v3(t,e,i){let{ref:n=void 0}=e,{isPictureInPictureActive:o=!1}=e,{click:s=te.noop}=e;function l(r){n=r,i(0,n)}return t.$$set=r=>{"ref"in r&&i(0,n=r.ref),"isPictureInPictureActive"in r&&i(1,o=r.isPictureInPictureActive),"click"in r&&i(2,s=r.click)},[n,o,s,l]}class w3 extends be{constructor(e){super(),ge(this,e,v3,_3,he,{ref:0,isPictureInPictureActive:1,click:2})}}function k3(t){ze(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 yr(t,e,i){const n=t.slice();return n[155]=e[i].iconUrl,n[156]=e[i].ariaLabel,n[157]=e[i].testId,n[158]=e[i].onClick,n[159]=e[i].tooltip,n}function Cr(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k=(!t[51]||t[53])&&Sr(t),C=Ft(t[56]),V=[];for(let S=0;S<C.length;S+=1)V[S]=Pr(yr(t,C,S));const ne=S=>b(V[S],1,1,()=>{V[S]=null});let M=t[36]&&Tr(t),G=t[37]&&Er(t),B=t[57]&&Ar(t),x=t[39]&&Lr(t),I=t[8]&&Ir(t),ie=t[34]&&Vr(t),O=t[33]&&Mr(t),X=t[8]&&Br(t),se=t[95]&&!t[29]&&Nr(t);return{c(){e=A("div"),i=z(),n=A("div"),k&&k.c(),o=z(),s=A("div");for(let S=0;S<V.length;S+=1)V[S].c();l=z(),M&&M.c(),r=z(),G&&G.c(),a=z(),B&&B.c(),c=z(),x&&x.c(),f=z(),m=A("div"),I&&I.c(),h=z(),ie&&ie.c(),v=z(),O&&O.c(),g=z(),X&&X.c(),w=z(),se&&se.c(),_=lt(),u(e,"class","overlay-mobile v-1tcstu3"),N(e,"hidden",!t[42]),u(n,"class","wrapper-top-left v-1tcstu3"),N(n,"hidden",!t[3]),N(n,"fullscreen",t[52]),u(s,"class","wrapper-top-right v-1tcstu3"),N(s,"hidden",!t[3]&&!t[27]),N(s,"fullscreen",t[52]),u(m,"class","wrapper-middle v-1tcstu3"),N(m,"hidden",!t[3]||t[29])},m(S,le){E(S,e,le),E(S,i,le),E(S,n,le),k&&k.m(n,null),E(S,o,le),E(S,s,le);for(let W=0;W<V.length;W+=1)V[W]&&V[W].m(s,null);p(s,l),M&&M.m(s,null),p(s,r),G&&G.m(s,null),p(s,a),B&&B.m(s,null),p(s,c),x&&x.m(s,null),E(S,f,le),E(S,m,le),I&&I.m(m,null),p(m,h),ie&&ie.m(m,null),p(m,v),O&&O.m(m,null),p(m,g),X&&X.m(m,null),E(S,w,le),se&&se.m(S,le),E(S,_,le),P=!0},p(S,le){if((!P||le[1]&2048)&&N(e,"hidden",!S[42]),!S[51]||S[53]?k?(k.p(S,le),le[1]&5242880&&d(k,1)):(k=Sr(S),k.c(),d(k,1),k.m(n,null)):k&&(de(),b(k,1,1,()=>{k=null}),me()),(!P||le[0]&8)&&N(n,"hidden",!S[3]),(!P||le[1]&2097152)&&N(n,"fullscreen",S[52]),le[1]&33554432){C=Ft(S[56]);let W;for(W=0;W<C.length;W+=1){const oe=yr(S,C,W);V[W]?(V[W].p(oe,le),d(V[W],1)):(V[W]=Pr(oe),V[W].c(),d(V[W],1),V[W].m(s,l))}for(de(),W=C.length;W<V.length;W+=1)ne(W);me()}S[36]?M?(M.p(S,le),le[1]&32&&d(M,1)):(M=Tr(S),M.c(),d(M,1),M.m(s,r)):M&&(de(),b(M,1,1,()=>{M=null}),me()),S[37]?G?(G.p(S,le),le[1]&64&&d(G,1)):(G=Er(S),G.c(),d(G,1),G.m(s,a)):G&&(de(),b(G,1,1,()=>{G=null}),me()),S[57]?B?(B.p(S,le),le[1]&67108864&&d(B,1)):(B=Ar(S),B.c(),d(B,1),B.m(s,c)):B&&(de(),b(B,1,1,()=>{B=null}),me()),S[39]?x?(x.p(S,le),le[1]&256&&d(x,1)):(x=Lr(S),x.c(),d(x,1),x.m(s,null)):x&&(de(),b(x,1,1,()=>{x=null}),me()),(!P||le[0]&134217736)&&N(s,"hidden",!S[3]&&!S[27]),(!P||le[1]&2097152)&&N(s,"fullscreen",S[52]),S[8]?I?(I.p(S,le),le[0]&256&&d(I,1)):(I=Ir(S),I.c(),d(I,1),I.m(m,h)):I&&(de(),b(I,1,1,()=>{I=null}),me()),S[34]?ie?(ie.p(S,le),le[1]&8&&d(ie,1)):(ie=Vr(S),ie.c(),d(ie,1),ie.m(m,v)):ie&&(de(),b(ie,1,1,()=>{ie=null}),me()),S[33]?O?(O.p(S,le),le[1]&4&&d(O,1)):(O=Mr(S),O.c(),d(O,1),O.m(m,g)):O&&(de(),b(O,1,1,()=>{O=null}),me()),S[8]?X?(X.p(S,le),le[0]&256&&d(X,1)):(X=Br(S),X.c(),d(X,1),X.m(m,null)):X&&(de(),b(X,1,1,()=>{X=null}),me()),(!P||le[0]&536870920)&&N(m,"hidden",!S[3]||S[29]),S[95]&&!S[29]?se?(se.p(S,le),le[0]&536870912&&d(se,1)):(se=Nr(S),se.c(),d(se,1),se.m(_.parentNode,_)):se&&(de(),b(se,1,1,()=>{se=null}),me())},i(S){if(!P){d(k);for(let le=0;le<C.length;le+=1)d(V[le]);d(M),d(G),d(B),d(x),d(I),d(ie),d(O),d(X),d(se),P=!0}},o(S){b(k),V=V.filter(Boolean);for(let le=0;le<V.length;le+=1)b(V[le]);b(M),b(G),b(B),b(x),b(I),b(ie),b(O),b(X),b(se),P=!1},d(S){S&&(T(e),T(i),T(n),T(o),T(s),T(f),T(m),T(w),T(_)),k&&k.d(),hn(V,S),M&&M.d(),G&&G.d(),B&&B.d(),x&&x.d(),I&&I.d(),ie&&ie.d(),O&&O.d(),X&&X.d(),se&&se.d(S)}}}function Sr(t){let e,i,n;function o(l){t[121](l)}let s={muted:t[54],expanded:t[51]&&!t[70]&&t[55],click:t[103]};return t[20].volume!==void 0&&(s.ref=t[20].volume),e=new gu({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&8388608&&(a.muted=l[54]),r[1]&17825792&&(a.expanded=l[51]&&!l[70]&&l[55]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].volume,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Pr(t){let e,i;return e=new uu({props:{iconUrl:t[155],ariaLabel:t[156]??t[159],testId:t[157],onClick:t[158]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[1]&33554432&&(s.iconUrl=n[155]),o[1]&33554432&&(s.ariaLabel=n[156]??n[159]),o[1]&33554432&&(s.testId=n[157]),o[1]&33554432&&(s.onClick=n[158]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Tr(t){let e,i,n;function o(l){t[122](l)}let s={isMobile:!0,click:t[101],state:t[28]};return t[20].chromecast!==void 0&&(s.ref=t[20].chromecast),e=new $1({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&268435456&&(a.state=l[28]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].chromecast,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Er(t){let e,i,n;function o(l){t[123](l)}let s={click:t[102],isPictureInPictureActive:t[26]};return t[20].pip!==void 0&&(s.ref=t[20].pip),e=new w3({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&67108864&&(a.isPictureInPictureActive=l[26]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].pip,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ar(t){let e,i,n;function o(l){t[124](l)}let s={};return t[22]!==void 0&&(s.ref=t[22]),e=new Sl({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&4194304&&(i=!0,a.ref=l[22],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Lr(t){let e,i,n;function o(l){t[125](l)}let s={click:t[64],logoClickable:t[6],videoLogoUrl:t[7]};return t[20].vkLogo!==void 0&&(s.ref=t[20].vkLogo),e=new x1({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.logoClickable=l[6]),r[0]&128&&(a.videoLogoUrl=l[7]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].vkLogo,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ir(t){let e,i,n;function o(l){t[126](l)}let s={click:t[13],type:"prev",disabled:!t[10],isMobile:!0};return t[20].prevButton!==void 0&&(s.ref=t[20].prevButton),e=new Qo({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&8192&&(a.click=l[13]),r[0]&1024&&(a.disabled=!l[10]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].prevButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Vr(t){let e,i,n;function o(l){t[127](l)}let s={disabled:t[48],click:t[63],isMobile:!0,isPlaying:t[31]};return t[20].playButton!==void 0&&(s.ref=t[20].playButton),e=new El({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&131072&&(a.disabled=l[48]),r[1]&1&&(a.isPlaying=l[31]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].playButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Mr(t){let e,i,n;function o(l){t[128](l)}let s={disabled:t[47],click:t[104],isMobile:!0};return t[20].replayButton!==void 0&&(s.ref=t[20].replayButton),e=new Al({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.disabled=l[47]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].replayButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Br(t){let e,i,n;function o(l){t[129](l)}let s={click:t[12],type:"next",disabled:!t[9],isMobile:!0};return t[20].nextButton!==void 0&&(s.ref=t[20].nextButton),e=new Qo({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&4096&&(a.click=l[12]),r[0]&512&&(a.disabled=!l[9]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].nextButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Nr(t){let e,i,n,o,s=t[98]&&y3(t),l=t[96]&&C3(t),r=t[97]&&S3(t);return{c(){s&&s.c(),e=z(),l&&l.c(),i=z(),r&&r.c(),n=lt()},m(a,c){s&&s.m(a,c),E(a,e,c),l&&l.m(a,c),E(a,i,c),r&&r.m(a,c),E(a,n,c),o=!0},p(a,c){a[98]&&s.p(a,c),a[96]&&l.p(a,c),a[97]&&r.p(a,c)},i(a){o||(d(s),d(l),d(r),o=!0)},o(a){b(s),b(l),b(r),o=!1},d(a){a&&(T(e),T(i),T(n)),s&&s.d(a),l&&l.d(a),r&&r.d(a)}}}function y3(t){let e,i,n;return i=new au({props:{hidden:!t[3],disabled:t[46],click:t[18]}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),N(e,"fullscreen",t[52]),N(e,"hidden",!t[3])},m(o,s){E(o,e,s),F(i,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.hidden=!o[3]),s[1]&32768&&(l.disabled=o[46]),s[0]&262144&&(l.click=o[18]),i.$set(l),(!n||s[1]&2097152)&&N(e,"fullscreen",o[52]),(!n||s[0]&8)&&N(e,"hidden",!o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function C3(t){let e,i,n,o;function s(r){t[130](r)}let l={hidden:!t[3]&&!t[58],disabled:t[50],click:t[17],graphIsOpened:t[58]};return t[20].interactiveGraphButton!==void 0&&(l.ref=t[20].interactiveGraphButton),i=new su({props:l}),we.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class",uc(t[98]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),N(e,"fullscreen",t[52]),N(e,"hidden",!t[3]&&!t[58])},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[0]&8|a[1]&134217728&&(c.hidden=!r[3]&&!r[58]),a[1]&524288&&(c.disabled=r[50]),a[0]&131072&&(c.click=r[17]),a[1]&134217728&&(c.graphIsOpened=r[58]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].interactiveGraphButton,Fe(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&N(e,"fullscreen",r[52]),(!o||a[0]&8|a[1]&134217728)&&N(e,"hidden",!r[3]&&!r[58])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){b(i.$$.fragment,r),o=!1},d(r){r&&T(e),H(i)}}}function S3(t){let e,i,n,o;function s(r){t[131](r)}let l={hidden:!t[3],disabled:t[49],click:t[16]};return t[20].seekToInteractiveButton!==void 0&&(l.ref=t[20].seekToInteractiveButton),i=new lu({props:l}),we.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),N(e,"fullscreen",t[52]),N(e,"hidden",!t[3])},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[0]&8&&(c.hidden=!r[3]),a[1]&262144&&(c.disabled=r[49]),a[0]&65536&&(c.click=r[16]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].seekToInteractiveButton,Fe(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&N(e,"fullscreen",r[52]),(!o||a[0]&8)&&N(e,"hidden",!r[3])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){b(i.$$.fragment,r),o=!1},d(r){r&&T(e),H(i)}}}function Rr(t){let e,i,n,o,s,l=t[53]&&Or(t),r=t[32]&&zr(t);return o=new iu({props:{position:t[59],duration:t[60]}}),{c(){l&&l.c(),e=z(),r&&r.c(),i=z(),n=A("div"),U(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),N(n,"fullscreen",t[52])},m(a,c){l&&l.m(a,c),E(a,e,c),r&&r.m(a,c),E(a,i,c),E(a,n,c),F(o,n,null),s=!0},p(a,c){a[53]?l?(l.p(a,c),c[1]&4194304&&d(l,1)):(l=Or(a),l.c(),d(l,1),l.m(e.parentNode,e)):l&&(de(),b(l,1,1,()=>{l=null}),me()),a[32]?r?(r.p(a,c),c[1]&2&&d(r,1)):(r=zr(a),r.c(),d(r,1),r.m(i.parentNode,i)):r&&(de(),b(r,1,1,()=>{r=null}),me());const f={};c[1]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),o.$set(f),(!s||c[1]&2097152)&&N(n,"fullscreen",a[52])},i(a){s||(d(l),d(r),d(o.$$.fragment,a),s=!0)},o(a){b(l),b(r),b(o.$$.fragment,a),s=!1},d(a){a&&(T(e),T(i),T(n)),l&&l.d(a),r&&r.d(a),H(o)}}}function Or(t){let e,i,n,o;function s(r){t[132](r)}let l={muted:t[54],expanded:!1,click:t[103]};return t[20].volume!==void 0&&(l.ref=t[20].volume),i=new gu({props:l}),we.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),N(e,"fullscreen",t[52])},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[1]&8388608&&(c.muted=r[54]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].volume,Fe(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&N(e,"fullscreen",r[52])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){b(i.$$.fragment,r),o=!1},d(r){r&&T(e),H(i)}}}function zr(t){let e,i,n,o;function s(r){t[133](r)}let l={disabled:t[48],click:t[63],isMobile:!0,isPlaying:!t[32]};return t[20].playButton!==void 0&&(l.ref=t[20].playButton),i=new El({props:l}),we.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[1]&131072&&(c.disabled=r[48]),a[1]&2&&(c.isPlaying=!r[32]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].playButton,Fe(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){b(i.$$.fragment,r),o=!1},d(r){r&&T(e),H(i)}}}function P3(t){let e,i,n;function o(l){t[134](l)}let s={disabled:t[47],$$slots:{default:[T3]},$$scope:{ctx:t}};return t[20].replayButton!==void 0&&(s.ref=t[20].replayButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.disabled=l[47]),r[1]&65536|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].replayButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function T3(t){let e,i;return e=new Al({props:{disabled:t[47],click:t[94]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[1]&65536&&(s.disabled=n[47]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Dr(t){let e,i,n;function o(l){t[135](l)}let s={$$slots:{default:[E3]},$$scope:{ctx:t}};return t[20].liveButton!==void 0&&(s.ref=t[20].liveButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&524288|r[1]&16384|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].liveButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function E3(t){let e,i;return e=new eu({props:{isActiveLive:t[19],isMobile:!0,ariaLabel:t[45]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&524288&&(s.isActiveLive=n[19]),o[1]&16384&&(s.ariaLabel=n[45]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Fr(t){let e,i,n;function o(l){t[136](l)}let s={showDuration:t[35],position:t[4]?t[59]:t[61],duration:t[4]?t[60]:t[62],isMobile:!0};return t[20].time!==void 0&&(s.ref=t[20].time),e=new G1({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&16&&(a.showDuration=l[35]),r[0]&16|r[1]&1342177280&&(a.position=l[4]?l[59]:l[61]),r[0]&16|r[1]&536870912|r[2]&1&&(a.duration=l[4]?l[60]:l[62]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].time,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Hr(t){let e,i,n,o;return n=new ou({props:{position:t[61],duration:t[62],timeCodes:t[84]}}),{c(){e=A("div"),e.textContent="\xB7",i=z(),U(n.$$.fragment),u(e,"aria-hidden","true")},m(s,l){E(s,e,l),E(s,i,l),F(n,s,l),o=!0},p(s,l){const r={};l[1]&1073741824&&(r.position=s[61]),l[2]&1&&(r.duration=s[62]),n.$set(r)},i(s){o||(d(n.$$.fragment,s),o=!0)},o(s){b(n.$$.fragment,s),o=!1},d(s){s&&(T(e),T(i)),H(n,s)}}}function A3(t){let e,i,n=t[43]&&Hr(t);return{c(){n&&n.c(),e=lt()},m(o,s){n&&n.m(o,s),E(o,e,s),i=!0},p(o,s){o[43]?n?(n.p(o,s),s[1]&4096&&d(n,1)):(n=Hr(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(de(),b(n,1,1,()=>{n=null}),me())},i(o){i||(d(n),i=!0)},o(o){b(n),i=!1},d(o){o&&T(e),n&&n.d(o)}}}function Ur(t){let e,i,n;function o(l){t[139](l)}let s={$$slots:{default:[L3]},$$scope:{ctx:t}};return t[20].settings!==void 0&&(s.ref=t[20].settings),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&4194304|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].settings,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function L3(t){let e,i,n;function o(l){t[138](l)}let s={};return t[22]!==void 0&&(s.ref=t[22]),e=new Sl({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&4194304&&(i=!0,a.ref=l[22],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function qr(t){let e,i,n;function o(l){t[140](l)}let s={$$slots:{default:[I3]},$$scope:{ctx:t}};return t[20].fullscreen!==void 0&&(s.ref=t[20].fullscreen),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&16384|r[1]&2097152|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].fullscreen,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function I3(t){let e,i;return e=new X1({props:{click:t[14],isFullscreen:t[52]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&16384&&(s.click=n[14]),o[1]&2097152&&(s.isFullscreen=n[52]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function jr(t){let e,i,n,o;function s(r){t[143](r)}let l={supportLink:t[11],returnFocus:t[15]};return t[21]!==void 0&&(l.ref=t[21]),i=new K1({props:l}),we.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[0]&2048&&(c.supportLink=r[11]),a[0]&32768&&(c.returnFocus=r[15]),!n&&a[0]&2097152&&(n=!0,c.ref=r[21],Fe(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){b(i.$$.fragment,r),o=!1},d(r){r&&T(e),H(i)}}}function V3(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k=!t[4]&&Cr(t),C=t[4]&&t[30]!==Yt.INACTIVE&&Rr(t),V=t[95]&&P3(t),ne=!t[4]&&t[25]&&Dr(t),M=t[41]&&Fr(t);function G(O){t[137](O)}let B={className:"w-max",disabled:!t[43],$$slots:{default:[A3]},$$scope:{ctx:t}};t[20].episodes!==void 0&&(B.ref=t[20].episodes),c=new Vt({props:B}),we.push(()=>He(c,"ref",G));let x=t[38]&&Ur(t),I=t[40]&&qr(t);g=new nu({props:{isAds:t[4],canRewindLive:t[5],isRewindableLive:t[24]}});let ie=t[23]&&jr(t);return{c(){k&&k.c(),e=z(),C&&C.c(),i=z(),n=A("div"),o=A("div"),s=A("div"),V&&V.c(),l=z(),ne&&ne.c(),r=z(),M&&M.c(),a=z(),U(c.$$.fragment),m=z(),x&&x.c(),h=z(),I&&I.c(),v=z(),U(g.$$.fragment),w=z(),ie&&ie.c(),_=lt(),u(s,"class","controls v-1tcstu3"),N(s,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),N(o,"fullscreen",t[52]),u(n,"class","wrapper-bottom v-1tcstu3"),N(n,"hidden",t[1]),N(n,"controls-hidden",!t[3]),N(n,"no-smooth",t[2]),N(n,"mobile",!0)},m(O,X){k&&k.m(O,X),E(O,e,X),C&&C.m(O,X),E(O,i,X),E(O,n,X),p(n,o),p(o,s),V&&V.m(s,null),p(s,l),ne&&ne.m(s,null),p(s,r),M&&M.m(s,null),p(s,a),F(c,s,null),p(s,m),x&&x.m(s,null),p(s,h),I&&I.m(s,null),t[141](s),p(o,v),F(g,o,null),t[142](n),E(O,w,X),ie&&ie.m(O,X),E(O,_,X),P=!0},p(O,X){O[4]?k&&(de(),b(k,1,1,()=>{k=null}),me()):k?(k.p(O,X),X[0]&16&&d(k,1)):(k=Cr(O),k.c(),d(k,1),k.m(e.parentNode,e)),O[4]&&O[30]!==Yt.INACTIVE?C?(C.p(O,X),X[0]&1073741840&&d(C,1)):(C=Rr(O),C.c(),d(C,1),C.m(i.parentNode,i)):C&&(de(),b(C,1,1,()=>{C=null}),me()),O[95]&&V.p(O,X),!O[4]&&O[25]?ne?(ne.p(O,X),X[0]&33554448&&d(ne,1)):(ne=Dr(O),ne.c(),d(ne,1),ne.m(s,r)):ne&&(de(),b(ne,1,1,()=>{ne=null}),me()),O[41]?M?(M.p(O,X),X[1]&1024&&d(M,1)):(M=Fr(O),M.c(),d(M,1),M.m(s,a)):M&&(de(),b(M,1,1,()=>{M=null}),me());const se={};X[1]&4096&&(se.disabled=!O[43]),X[1]&1073745920|X[2]&1|X[5]&128&&(se.$$scope={dirty:X,ctx:O}),!f&&X[0]&1048576&&(f=!0,se.ref=O[20].episodes,Fe(()=>f=!1)),c.$set(se),O[38]?x?(x.p(O,X),X[1]&128&&d(x,1)):(x=Ur(O),x.c(),d(x,1),x.m(s,h)):x&&(de(),b(x,1,1,()=>{x=null}),me()),O[40]?I?(I.p(O,X),X[1]&512&&d(I,1)):(I=qr(O),I.c(),d(I,1),I.m(s,null)):I&&(de(),b(I,1,1,()=>{I=null}),me());const S={};X[0]&16&&(S.isAds=O[4]),X[0]&32&&(S.canRewindLive=O[5]),X[0]&16777216&&(S.isRewindableLive=O[24]),g.$set(S),(!P||X[1]&2097152)&&N(o,"fullscreen",O[52]),(!P||X[0]&2)&&N(n,"hidden",O[1]),(!P||X[0]&8)&&N(n,"controls-hidden",!O[3]),(!P||X[0]&4)&&N(n,"no-smooth",O[2]),O[23]?ie?(ie.p(O,X),X[0]&8388608&&d(ie,1)):(ie=jr(O),ie.c(),d(ie,1),ie.m(_.parentNode,_)):ie&&(de(),b(ie,1,1,()=>{ie=null}),me())},i(O){P||(d(k),d(C),d(V),d(ne),d(M),d(c.$$.fragment,O),d(x),d(I),d(g.$$.fragment,O),d(ie),P=!0)},o(O){b(k),b(C),b(V),b(ne),b(M),b(c.$$.fragment,O),b(x),b(I),b(g.$$.fragment,O),b(ie),P=!1},d(O){O&&(T(e),T(i),T(n),T(w),T(_)),k&&k.d(O),C&&C.d(O),V&&V.d(),ne&&ne.d(),M&&M.d(),H(c),x&&x.d(),I&&I.d(),t[141](null),H(g),t[142](null),ie&&ie.d(O)}}}function M3(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k,C,V,ne,M,G,B,x,I,ie,O,X,se,S,le,W,oe,ke,qe,je,{bottomHidden:Ie}=e,{bottomNoSmooth:Se}=e,{showControls:ce}=e,{controlsElementRef:K=void 0}=e,{isAds:ue=!1}=e,{canRewindLive:_e}=e,{logoClickable:$}=e,{logoHidden:Pe}=e,{videoLogoUrl:Ee}=e,{showNextPrevButtons:Be}=e,{nextButtonActive:ae}=e,{prevButtonActive:ve}=e,{isOneVideoPlaylist:J=!1}=e,{supportLink:Q}=e,{customFullscreenSupported:De=!0}=e,{playNextVideo:tt}=e,{playPrevVideo:Je}=e,{repeatPlaylist:Ce}=e,{toggleFullscreen:Ge}=e,{returnFocus:xe}=e,{seekToInteractive:ft}=e,{toggleGraph:_t}=e,{playPrevChapter:Ue}=e;const Ve=ct(),vt=nn(),Mt=Ve.actions.internal.toggleMuted,Xt=Ve.actions.internal.togglePlay,Ht=Ve.actions.internal.pause,fe=Ve.callbacks?.onAudioDoesNotExistHint,ht=Ve.callbacks?.onAudioDisabledHint,gt=Ve.playerPhase;D(t,gt,y=>i(118,M=y));const dt=Ve.state.duration$;D(t,dt,y=>i(62,je=y));const st=Ve.state.positionWithScrubbing$;D(t,st,y=>i(61,qe=y));const kt=Ve.state.playbackState$;D(t,kt,y=>i(114,h=y));const St=Ve.state.isAudioAvailable$;D(t,St,y=>i(51,v=y));const si=Ve.state.isAudioDisabled,Di=Ve.state.isEnded$;D(t,Di,y=>i(119,B=y));const Ut=Ve.state.isLive$;D(t,Ut,y=>i(25,P=y));const Fi=Ve.state.muted$;D(t,Fi,y=>i(54,X=y));const Ki=Ve.state.isActiveLive$;D(t,Ki,y=>i(116,w=y));const Jt=Ve.state.isRewindableLive$;D(t,Jt,y=>i(24,_=y));const Vi=Ve.ui.scrubbingInProgress;D(t,Vi,y=>i(29,G=y));const Mi=Ve.ui.mobileNotReportControlHidden$;D(t,Mi,y=>i(27,V=y));const Bt=Ve.ui.isPictureInPictureActive$;D(t,Bt,y=>i(26,C=y));const xt=Ve.ui.pictureInPictureType$;D(t,xt,y=>i(117,k=y));const ri=Ve.ui.mobileUnmuteButtonExpanded;D(t,ri,y=>i(55,se=y));const qt=Ve.ui.mobileUnmuteButtonVisible;D(t,qt,y=>i(53,O=y));const ai=Ve.ui.settingsMenuVisible;D(t,ai,y=>i(23,m=y));const jt=Ve.ui.settingsMenuOpenedByKeyboard;D(t,jt,y=>i(113,f=y));const pi=Ve.ui.controls,Bi=Ve.actions.internal.getVideoEpisodes(),pt=Ve.webApi.pictureInPictureApi,ui=Ve.state.chromecastState$;D(t,ui,y=>i(28,ne=y));const hi=Ve.state.crashed$;D(t,hi,y=>i(57,le=y));const gi=pi.disabledControls$;D(t,gi,y=>i(120,I=y));const Nt=Ve.ads.duration;D(t,Nt,y=>i(60,ke=y));const bi=Ve.ads.position;D(t,bi,y=>i(59,oe=y));const $t=Ve.ads.playbackState;D(t,$t,y=>i(30,x=y));const ei=Ve.ui.isFullscreen;D(t,ei,y=>i(52,ie=y));const Pt=Ve.ui.playerSize;D(t,Pt,y=>i(115,g=y));const _i=Ve.ui.additionalButtons$;D(t,_i,y=>i(56,S=y));const Rt=Ve.actions.internal.getVideoElement,rt=Ve.actions.internal.replayInteractive,Tt=Ve.state.isInteractive,Ni=Ve.state.isInteractiveGraphEnabled,vi=Ve.state.isSeekToInteractiveEnable,wi=Ve.state.isPlayPrevChapterEnabled,ti=Ve.state.graphIsOpened$;D(t,ti,y=>i(58,W=y));const Zt=Ve.ui.startedByKeyboard$;D(t,Zt,y=>i(112,c=y));let Hi,Et,wt,yt,At,Ui,Wt,ki,Ri,yi,Gi,Ci,ci,fi,Si,Pi,Ti;const Le={},qi=te.throttleFn(pu,o1,{leading:!1}),ji=()=>Ve.actions.internal.toggleChromecast();function Ei(){si?ht?.():v?Mt():fe?.()}async function Zi(){pt?.isActive()?await pt?.remove():await pt?.request()}function Ai(){!si&&v&&qt.set(!1),Ei()}const Oe=J?Xt:Ce;let di="";const Li=(y,at)=>{if(!y){i(45,di=Y("tooltip_live"));return}at===Qe.PlaybackState.PAUSED&&i(45,di=Y("tooltip_play"))};let Ot,zt;function ii(y){t.$$.not_equal(Le.volume,y)&&(Le.volume=y,i(20,Le))}function Ji(y){t.$$.not_equal(Le.chromecast,y)&&(Le.chromecast=y,i(20,Le))}function Oi(y){t.$$.not_equal(Le.pip,y)&&(Le.pip=y,i(20,Le))}function xi(y){zt=y,i(22,zt)}function $i(y){t.$$.not_equal(Le.vkLogo,y)&&(Le.vkLogo=y,i(20,Le))}function Yi(y){t.$$.not_equal(Le.prevButton,y)&&(Le.prevButton=y,i(20,Le))}function Ii(y){t.$$.not_equal(Le.playButton,y)&&(Le.playButton=y,i(20,Le))}function Wi(y){t.$$.not_equal(Le.replayButton,y)&&(Le.replayButton=y,i(20,Le))}function zi(y){t.$$.not_equal(Le.nextButton,y)&&(Le.nextButton=y,i(20,Le))}function en(y){t.$$.not_equal(Le.interactiveGraphButton,y)&&(Le.interactiveGraphButton=y,i(20,Le))}function ee(y){t.$$.not_equal(Le.seekToInteractiveButton,y)&&(Le.seekToInteractiveButton=y,i(20,Le))}function $e(y){t.$$.not_equal(Le.volume,y)&&(Le.volume=y,i(20,Le))}function bt(y){t.$$.not_equal(Le.playButton,y)&&(Le.playButton=y,i(20,Le))}function ni(y){t.$$.not_equal(Le.replayButton,y)&&(Le.replayButton=y,i(20,Le))}function Qi(y){t.$$.not_equal(Le.liveButton,y)&&(Le.liveButton=y,i(20,Le))}function on(y){t.$$.not_equal(Le.time,y)&&(Le.time=y,i(20,Le))}function gn(y){t.$$.not_equal(Le.episodes,y)&&(Le.episodes=y,i(20,Le))}function Lt(y){zt=y,i(22,zt)}function ln(y){t.$$.not_equal(Le.settings,y)&&(Le.settings=y,i(20,Le))}function sn(y){t.$$.not_equal(Le.fullscreen,y)&&(Le.fullscreen=y,i(20,Le))}function un(y){we[y?"unshift":"push"](()=>{Pi=y,i(44,Pi)})}function bn(y){we[y?"unshift":"push"](()=>{K=y,i(0,K)})}function cn(y){Ot=y,i(21,Ot)}return t.$$set=y=>{"bottomHidden"in y&&i(1,Ie=y.bottomHidden),"bottomNoSmooth"in y&&i(2,Se=y.bottomNoSmooth),"showControls"in y&&i(3,ce=y.showControls),"controlsElementRef"in y&&i(0,K=y.controlsElementRef),"isAds"in y&&i(4,ue=y.isAds),"canRewindLive"in y&&i(5,_e=y.canRewindLive),"logoClickable"in y&&i(6,$=y.logoClickable),"logoHidden"in y&&i(105,Pe=y.logoHidden),"videoLogoUrl"in y&&i(7,Ee=y.videoLogoUrl),"showNextPrevButtons"in y&&i(8,Be=y.showNextPrevButtons),"nextButtonActive"in y&&i(9,ae=y.nextButtonActive),"prevButtonActive"in y&&i(10,ve=y.prevButtonActive),"isOneVideoPlaylist"in y&&i(106,J=y.isOneVideoPlaylist),"supportLink"in y&&i(11,Q=y.supportLink),"customFullscreenSupported"in y&&i(107,De=y.customFullscreenSupported),"playNextVideo"in y&&i(12,tt=y.playNextVideo),"playPrevVideo"in y&&i(13,Je=y.playPrevVideo),"repeatPlaylist"in y&&i(108,Ce=y.repeatPlaylist),"toggleFullscreen"in y&&i(14,Ge=y.toggleFullscreen),"returnFocus"in y&&i(15,xe=y.returnFocus),"seekToInteractive"in y&&i(16,ft=y.seekToInteractive),"toggleGraph"in y&&i(17,_t=y.toggleGraph),"playPrevChapter"in y&&i(18,Ue=y.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[3]&134217728&&i(111,n=I.has(ot.EPISODE_BUTTON)),t.$$.dirty[3]&134217728&&i(50,o=I.has(ot.GRAPH_BUTTON)),t.$$.dirty[3]&134217728&&i(49,s=I.has(ot.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[3]&134217728&&i(48,l=I.has(ot.PLAY_BUTTON)),t.$$.dirty[3]&134217728&&i(47,r=I.has(ot.REPLAY_BUTTON)),t.$$.dirty[3]&134217728&&i(46,a=I.has(ot.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[3]&2097152&&i(31,Hi=h===Qe.PlaybackState.PLAYING),t.$$.dirty[0]&1073741824&&i(32,Et=x===Yt.PAUSED),t.$$.dirty[0]&16|t.$$.dirty[3]&67108864&&i(33,wt=B&&!ue&&!Tt),t.$$.dirty[0]&16|t.$$.dirty[3]&67108864&&i(34,yt=!B||ue),t.$$.dirty[3]&4194304&&i(109,At=g.width>300),t.$$.dirty[3]&4194304&&i(35,Ui=g.width>400),t.$$.dirty[0]&536870912&&i(110,Wt=G),t.$$.dirty[0]&469762048|t.$$.dirty[3]&16777216&&i(36,ki=ne!==Qe.ChromecastState.NOT_AVAILABLE&&!(C&&k===Sn.DocumentPictureInPicture)&&!V&&!Tt),t.$$.dirty[0]&402653184|t.$$.dirty[3]&50462720){const y=M===Me.WaitingLive;i(37,Ri=!!pt&&ne!==Qe.ChromecastState.CONNECTED&&!V&&(k===Sn.DocumentPictureInPicture&&y||!y)&&!Wt&&!Tt)}t.$$.dirty[3]&131072&&i(38,yi=!Wt),t.$$.dirty[3]&4198400&&i(39,Gi=!Pe&&g.width>350),t.$$.dirty[0]&67108864|t.$$.dirty[3]&16924672&&i(40,Ci=vt.features.fullscreen&&!(C&&k===Sn.DocumentPictureInPicture)&&(Tt?De:!0)&&!Wt),t.$$.dirty[0]&33554448|t.$$.dirty[3]&4325376&&i(41,ci=(!P||ue)&&g.width>260&&!Wt&&!(vt.features.interactiveHideTime&&Tt)),t.$$.dirty[0]&8388616&&i(42,fi=m||ce),t.$$.dirty[0]&33554448|t.$$.dirty[3]&458752&&i(43,Si=!ue&&!P&&!!Bi?.length&&At&&!n&&!Wt),t.$$.dirty[0]&16777216|t.$$.dirty[3]&8388608&&i(19,Ti=!_||w),t.$$.dirty[0]&1048584|t.$$.dirty[3]&4194304&&qi(Rt(),pi,Le,ce),t.$$.dirty[0]&524288|t.$$.dirty[3]&2097152&&Li(Ti,h),t.$$.dirty[0]&12582912&&kl(zt,m,jt),t.$$.dirty[0]&10485760|t.$$.dirty[3]&1048576&&yl(Ot,m,f),t.$$.dirty[0]&1048576|t.$$.dirty[3]&524288&&hu(Zt,c,Le.playButton)},[K,Ie,Se,ce,ue,_e,$,Ee,Be,ae,ve,Q,tt,Je,Ge,xe,ft,_t,Ue,Ti,Le,Ot,zt,m,_,P,C,V,ne,G,x,Hi,Et,wt,yt,Ui,ki,Ri,yi,Gi,Ci,ci,fi,Si,Pi,di,a,r,l,s,o,v,ie,O,X,se,S,le,W,oe,ke,qe,je,Xt,Ht,gt,dt,st,kt,St,si,Di,Ut,Fi,Ki,Jt,Vi,Mi,Bt,xt,ri,qt,ai,jt,Bi,ui,hi,gi,Nt,bi,$t,ei,Pt,_i,rt,Tt,Ni,vi,wi,ti,Zt,ji,Zi,Ai,Oe,Pe,J,De,Ce,At,Wt,n,c,f,h,g,w,k,M,B,I,ii,Ji,Oi,xi,$i,Yi,Ii,Wi,zi,en,ee,$e,bt,ni,Qi,on,gn,Lt,ln,sn,un,bn,cn]}class B3 extends be{constructor(e){super(),ge(this,e,M3,V3,he,{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},k3,[-1,-1,-1,-1,-1,-1])}}function N3(t){let e,i,n;function o(l){t[26](l)}let s={bottomHidden:t[1],bottomNoSmooth:t[2],showControls:t[3],isAds:t[4],canRewindLive:t[5],logoClickable:t[6],logoHidden:t[7],videoLogoUrl:t[8],showNextPrevButtons:t[9],nextButtonActive:t[10],prevButtonActive:t[11],isOneVideoPlaylist:t[12],supportLink:t[13],customFullscreenSupported:t[14],playNextVideo:t[15],playPrevVideo:t[16],repeatPlaylist:t[17],toggleFullscreen:t[18],returnFocus:t[19],seekToInteractive:t[20],toggleGraph:t[21],playPrevChapter:t[22]};return t[0]!==void 0&&(s.controlsElementRef=t[0]),e=new r3({props:s}),we.push(()=>He(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!i&&r&1&&(i=!0,a.controlsElementRef=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function R3(t){let e,i,n;function o(l){t[25](l)}let s={bottomHidden:t[1],bottomNoSmooth:t[2],showControls:t[3],isAds:t[4],canRewindLive:t[5],logoClickable:t[6],logoHidden:t[7],videoLogoUrl:t[8],showNextPrevButtons:t[9],nextButtonActive:t[10],prevButtonActive:t[11],isOneVideoPlaylist:t[12],supportLink:t[13],customFullscreenSupported:t[14],playNextVideo:t[15],playPrevVideo:t[16],repeatPlaylist:t[17],toggleFullscreen:t[18],returnFocus:t[19],seekToInteractive:t[20],toggleGraph:t[21],playPrevChapter:t[22]};return t[0]!==void 0&&(s.controlsElementRef=t[0]),e=new B3({props:s}),we.push(()=>He(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!i&&r&1&&(i=!0,a.controlsElementRef=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function O3(t){let e,i,n,o;const s=[R3,N3],l=[];function r(a,c){return a[23]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),b(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){b(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function z3(t,e,i){let n,{bottomHidden:o}=e,{bottomNoSmooth:s=!1}=e,{showControls:l}=e,{controlsElementRef:r=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:m}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:v}=e,{nextButtonActive:g}=e,{prevButtonActive:w}=e,{isOneVideoPlaylist:_=!1}=e,{supportLink:P}=e,{customFullscreenSupported:k=!0}=e,{playNextVideo:C}=e,{playPrevVideo:V}=e,{repeatPlaylist:ne}=e,{toggleFullscreen:M}=e,{returnFocus:G=te.noop}=e,{seekToInteractive:B}=e,{toggleGraph:x}=e,{playPrevChapter:I}=e;const O=ct().ui.isMobile;D(t,O,S=>i(23,n=S));function X(S){r=S,i(0,r)}function se(S){r=S,i(0,r)}return t.$$set=S=>{"bottomHidden"in S&&i(1,o=S.bottomHidden),"bottomNoSmooth"in S&&i(2,s=S.bottomNoSmooth),"showControls"in S&&i(3,l=S.showControls),"controlsElementRef"in S&&i(0,r=S.controlsElementRef),"isAds"in S&&i(4,a=S.isAds),"canRewindLive"in S&&i(5,c=S.canRewindLive),"logoClickable"in S&&i(6,f=S.logoClickable),"logoHidden"in S&&i(7,m=S.logoHidden),"videoLogoUrl"in S&&i(8,h=S.videoLogoUrl),"showNextPrevButtons"in S&&i(9,v=S.showNextPrevButtons),"nextButtonActive"in S&&i(10,g=S.nextButtonActive),"prevButtonActive"in S&&i(11,w=S.prevButtonActive),"isOneVideoPlaylist"in S&&i(12,_=S.isOneVideoPlaylist),"supportLink"in S&&i(13,P=S.supportLink),"customFullscreenSupported"in S&&i(14,k=S.customFullscreenSupported),"playNextVideo"in S&&i(15,C=S.playNextVideo),"playPrevVideo"in S&&i(16,V=S.playPrevVideo),"repeatPlaylist"in S&&i(17,ne=S.repeatPlaylist),"toggleFullscreen"in S&&i(18,M=S.toggleFullscreen),"returnFocus"in S&&i(19,G=S.returnFocus),"seekToInteractive"in S&&i(20,B=S.seekToInteractive),"toggleGraph"in S&&i(21,x=S.toggleGraph),"playPrevChapter"in S&&i(22,I=S.playPrevChapter)},[r,o,s,l,a,c,f,m,h,v,g,w,_,P,k,C,V,ne,M,G,B,x,I,n,O,X,se]}class bu extends be{constructor(e){super(),ge(this,e,z3,O3,he,{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 D3(t){ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function F3(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),m=R("feColorMatrix"),h=R("feBlend"),v=R("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_100684"),u(v,"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"),N(e,"reversed",t[0])},m(g,w){E(g,e,w),p(e,i),p(i,n),p(i,o),p(e,s),p(s,l),p(l,r),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,v)},p(g,[w]){w&1&&N(e,"reversed",g[0])},i:Z,o:Z,d(g){g&&T(e)}}}function H3(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class U3 extends be{constructor(e){super(),ge(this,e,H3,F3,he,{reversed:0},D3)}}function q3(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("clipPath"),r=R("path"),a=R("filter"),c=R("feFlood"),f=R("feColorMatrix"),m=R("feOffset"),h=R("feGaussianBlur"),v=R("feColorMatrix"),g=R("feBlend"),w=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(o,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(r,"fill","#fff"),u(r,"d","M0 0h48v48H0z"),u(l,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(h,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_104204"),u(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(_,P){E(_,e,P),p(e,i),p(i,n),p(i,o),p(e,s),p(s,l),p(l,r),p(s,a),p(a,c),p(a,f),p(a,m),p(a,h),p(a,v),p(a,g),p(a,w)},d(_){_&&T(e)}}}function j3(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),l=R("defs"),r=R("clipPath"),a=R("path"),c=R("filter"),f=R("feFlood"),m=R("feColorMatrix"),h=R("feOffset"),v=R("feGaussianBlur"),g=R("feColorMatrix"),w=R("feBlend"),_=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(o,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(o,"fill","#fff"),u(s,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(r,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(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(v,"stdDeviation","2.5"),u(g,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(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(P,k){E(P,e,k),p(e,i),p(i,n),p(i,o),p(i,s),p(e,l),p(l,r),p(r,a),p(l,c),p(c,f),p(c,m),p(c,h),p(c,v),p(c,g),p(c,w),p(c,_)},d(P){P&&T(e)}}}function Z3(t){let e;function i(s,l){return s[0]?j3:q3}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n!==(n=i(s))&&(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(s){s&&T(e),o.d(s)}}}function W3(t,e,i){let{isOff:n=!1}=e;return t.$$set=o=>{"isOff"in o&&i(0,n=o.isOff)},[n]}class _u extends be{constructor(e){super(),ge(this,e,W3,Z3,he,{isOff:0})}}function K3(t){ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function G3(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),m=R("feColorMatrix"),h=R("feBlend"),v=R("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_106627"),u(v,"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"),N(e,"reversed",t[0])},m(g,w){E(g,e,w),p(e,i),p(i,n),p(i,o),p(e,s),p(s,l),p(l,r),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,v)},p(g,[w]){w&1&&N(e,"reversed",g[0])},i:Z,o:Z,d(g){g&&T(e)}}}function Y3(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class Q3 extends be{constructor(e){super(),ge(this,e,Y3,G3,he,{reversed:0},K3)}}function X3(t){ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function J3(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),m=R("feColorMatrix"),h=R("feBlend"),v=R("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2340_106922"),u(v,"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"),N(e,"reversed",t[0])},m(g,w){E(g,e,w),p(e,i),p(i,n),p(i,o),p(e,s),p(s,l),p(l,r),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,v)},p(g,[w]){w&1&&N(e,"reversed",g[0])},i:Z,o:Z,d(g){g&&T(e)}}}function x3(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class $3 extends be{constructor(e){super(),ge(this,e,x3,J3,he,{reversed:0},X3)}}function ep(t){ze(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 Zr(t){let e,i=[We.BACKWARD_SEEK,We.FORWARD_SEEK].includes(t[4]),n,o,s,l,r,a,c=[We.RATE_DOWN,We.RATE_UP].includes(t[4]),f,m=[We.EPISODE_PREV,We.EPISODE_NEXT].includes(t[4]),h,v,g,w,_,P=i&&Wr(t),k=t[4]===We.PAUSE&&Kr(),C=t[4]===We.PLAY&&Gr(),V=t[4]===We.REPLAY&&Yr(),ne=t[4]===We.SUBTITLES_OFF&&Qr(),M=t[4]===We.SUBTITLES_ON&&Xr(),G=c&&Jr(t),B=m&&xr(t),x=t[4]===We.MUTE&&$r(),I=t[4]===We.VOLUME&&ea(),ie=t[5]&&ta(t);return{c(){e=A("div"),P&&P.c(),n=z(),k&&k.c(),o=z(),C&&C.c(),s=z(),V&&V.c(),l=z(),ne&&ne.c(),r=z(),M&&M.c(),a=z(),G&&G.c(),f=z(),B&&B.c(),h=z(),x&&x.c(),v=z(),I&&I.c(),g=z(),ie&&ie.c(),w=lt(),u(e,"class","v-4ftgwp")},m(O,X){E(O,e,X),P&&P.m(e,null),p(e,n),k&&k.m(e,null),p(e,o),C&&C.m(e,null),p(e,s),V&&V.m(e,null),p(e,l),ne&&ne.m(e,null),p(e,r),M&&M.m(e,null),p(e,a),G&&G.m(e,null),p(e,f),B&&B.m(e,null),p(e,h),x&&x.m(e,null),p(e,v),I&&I.m(e,null),E(O,g,X),ie&&ie.m(O,X),E(O,w,X),_=!0},p(O,X){X&16&&(i=[We.BACKWARD_SEEK,We.FORWARD_SEEK].includes(O[4])),i?P?(P.p(O,X),X&16&&d(P,1)):(P=Wr(O),P.c(),d(P,1),P.m(e,n)):P&&(de(),b(P,1,1,()=>{P=null}),me()),O[4]===We.PAUSE?k?X&16&&d(k,1):(k=Kr(),k.c(),d(k,1),k.m(e,o)):k&&(de(),b(k,1,1,()=>{k=null}),me()),O[4]===We.PLAY?C?X&16&&d(C,1):(C=Gr(),C.c(),d(C,1),C.m(e,s)):C&&(de(),b(C,1,1,()=>{C=null}),me()),O[4]===We.REPLAY?V?X&16&&d(V,1):(V=Yr(),V.c(),d(V,1),V.m(e,l)):V&&(de(),b(V,1,1,()=>{V=null}),me()),O[4]===We.SUBTITLES_OFF?ne?X&16&&d(ne,1):(ne=Qr(),ne.c(),d(ne,1),ne.m(e,r)):ne&&(de(),b(ne,1,1,()=>{ne=null}),me()),O[4]===We.SUBTITLES_ON?M?X&16&&d(M,1):(M=Xr(),M.c(),d(M,1),M.m(e,a)):M&&(de(),b(M,1,1,()=>{M=null}),me()),X&16&&(c=[We.RATE_DOWN,We.RATE_UP].includes(O[4])),c?G?(G.p(O,X),X&16&&d(G,1)):(G=Jr(O),G.c(),d(G,1),G.m(e,f)):G&&(de(),b(G,1,1,()=>{G=null}),me()),X&16&&(m=[We.EPISODE_PREV,We.EPISODE_NEXT].includes(O[4])),m?B?(B.p(O,X),X&16&&d(B,1)):(B=xr(O),B.c(),d(B,1),B.m(e,h)):B&&(de(),b(B,1,1,()=>{B=null}),me()),O[4]===We.MUTE?x?X&16&&d(x,1):(x=$r(),x.c(),d(x,1),x.m(e,v)):x&&(de(),b(x,1,1,()=>{x=null}),me()),O[4]===We.VOLUME?I?X&16&&d(I,1):(I=ea(),I.c(),d(I,1),I.m(e,null)):I&&(de(),b(I,1,1,()=>{I=null}),me()),O[5]?ie?ie.p(O,X):(ie=ta(O),ie.c(),ie.m(w.parentNode,w)):ie&&(ie.d(1),ie=null)},i(O){_||(d(P),d(k),d(C),d(V),d(ne),d(M),d(G),d(B),d(x),d(I),_=!0)},o(O){b(P),b(k),b(C),b(V),b(ne),b(M),b(G),b(B),b(x),b(I),_=!1},d(O){O&&(T(e),T(g),T(w)),P&&P.d(),k&&k.d(),C&&C.d(),V&&V.d(),ne&&ne.d(),M&&M.d(),G&&G.d(),B&&B.d(),x&&x.d(),I&&I.d(),ie&&ie.d(O)}}}function Wr(t){let e,i;return e=new U3({props:{reversed:t[4]===We.FORWARD_SEEK}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===We.FORWARD_SEEK),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Kr(t){let e,i;return e=new J1({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Gr(t){let e,i;return e=new Tl({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Yr(t){let e,i;return e=new ru({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Qr(t){let e,i;return e=new _u({props:{isOff:!0}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Xr(t){let e,i;return e=new _u({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Jr(t){let e,i;return e=new Q3({props:{reversed:t[4]===We.RATE_UP}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===We.RATE_UP),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function xr(t){let e,i;return e=new $3({props:{reversed:t[4]===We.EPISODE_NEXT}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===We.EPISODE_NEXT),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function $r(t){let e,i;return e=new Yo({props:{volume:0}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ea(t){let e,i;return e=new Yo({props:{volume:1}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ta(t){let e,i;return{c(){e=A("span"),i=Re(t[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,o){E(n,e,o),p(e,i)},p(n,o){o&32&&Xe(i,n[5])},d(n){n&&T(e)}}}function tp(t){let e,i,n=!t[1]&&t[4]&&Zr(t);return{c(){e=A("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),N(e,"hidden",t[1]),N(e,"hot-key-helpers-container--left",t[2]),N(e,"hot-key-helpers-container--right",t[3])},m(o,s){E(o,e,s),n&&n.m(e,null),i=!0},p(o,[s]){!o[1]&&o[4]?n?(n.p(o,s),s&18&&d(n,1)):(n=Zr(o),n.c(),d(n,1),n.m(e,null)):n&&(de(),b(n,1,1,()=>{n=null}),me()),(!i||s&2)&&N(e,"hidden",o[1]),(!i||s&4)&&N(e,"hot-key-helpers-container--left",o[2]),(!i||s&8)&&N(e,"hot-key-helpers-container--right",o[3])},i(o){i||(d(n),i=!0)},o(o){b(n),i=!1},d(o){o&&T(e),n&&n.d()}}}function ip(t,e,i){let n,o=Z,s=()=>(o(),o=Gt(l,h=>i(6,n=h)),l);t.$$.on_destroy.push(()=>o());let{data:l}=e;s();let r,a,c,f,m;return t.$$set=h=>{"data"in h&&s(i(0,l=h.data))},t.$$.update=()=>{t.$$.dirty&64&&(i(1,r=!n),i(2,a=n?.type===We.BACKWARD_SEEK),i(3,c=n?.type===We.FORWARD_SEEK),i(4,f=n?.type),n?.t?i(5,m=Y(n.t.key,{value:n.t.value||""})):i(5,m=n?.text))},[l,r,a,c,f,m,n]}class np extends be{constructor(e){super(),ge(this,e,ip,tp,he,{data:0},ep)}}function op(t){ze(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 lp(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k;return s=new Dn({props:{direction:"up"}}),a=new Dn({props:{direction:"up"}}),h=new Dn({props:{direction:"up"}}),w=new Dn({props:{direction:"up"}}),{c(){e=A("div"),i=A("div"),n=A("div"),o=A("div"),U(s.$$.fragment),l=z(),r=A("div"),U(a.$$.fragment),c=z(),f=A("div"),m=A("div"),U(h.$$.fragment),v=z(),g=A("div"),U(w.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(r,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(m,"class","button button-left v-1yzc86r"),u(g,"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")),N(e,"m-shifted",t[0])},m(C,V){E(C,e,V),p(e,i),p(i,n),p(n,o),F(s,o,null),p(n,l),p(n,r),F(a,r,null),p(i,c),p(i,f),p(f,m),F(h,m,null),p(f,v),p(f,g),F(w,g,null),_=!0,P||(k=[pe(o,"mousedown",t[1]),pe(o,"mouseup",t[5]),pe(o,"mouseleave",t[5]),pe(r,"mousedown",t[3]),pe(r,"mouseup",t[5]),pe(r,"mouseleave",t[5]),pe(m,"mousedown",t[4]),pe(m,"mouseup",t[5]),pe(m,"mouseleave",t[5]),pe(g,"mousedown",t[2]),pe(g,"mouseup",t[5]),pe(g,"mouseleave",t[5]),pe(e,"keydown",t[6]),pe(e,"keyup",t[7])],P=!0)},p(C,[V]){(!_||V&1)&&N(e,"m-shifted",C[0])},i(C){_||(d(s.$$.fragment,C),d(a.$$.fragment,C),d(h.$$.fragment,C),d(w.$$.fragment,C),_=!0)},o(C){b(s.$$.fragment,C),b(a.$$.fragment,C),b(h.$$.fragment,C),b(w.$$.fragment,C),_=!1},d(C){C&&T(e),H(s),H(a),H(h),H(w),P=!1,et(k)}}}function sp(t,e,i){let{isShifted:n=!1}=e;const o=ct(),s=new Set([Te.ArrowUp,Te.ArrowDown,Te.ArrowLeft,Te.ArrowRight]),l=()=>{o.actions.internal.startCameraManualRotation(0,1)},r=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),m=v=>{if(s.has(v.code))switch(v.preventDefault(),v.stopPropagation(),v.code){case Te.ArrowUp:l();break;case Te.ArrowDown:r();break;case Te.ArrowLeft:c();break;case Te.ArrowRight:a();break}},h=v=>{s.has(v.code)&&(v.preventDefault(),v.stopPropagation(),f())};return t.$$set=v=>{"isShifted"in v&&i(0,n=v.isShifted)},[n,l,r,a,c,f,m,h]}class vu extends be{constructor(e){super(),ge(this,e,sp,lp,he,{isShifted:0},op)}}function rp(t){ze(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 ia(t,e,i){const n=t.slice();return n[16]=e[i].value,n}function na(t,e,i){const n=t.slice();return n[16]=e[i].value,n[17]=e[i].timeAppeared,n}function oa(t){let e,i;function n(l,r){return l[7]&&l[8]?cp:l[5]?up:ap}let o=n(t),s=o(t);return{c(){e=A("div"),i=A("span"),s.c(),u(i,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),N(e,"mobile",t[3])},m(l,r){E(l,e,r),p(e,i),s.m(i,null)},p(l,r){o===(o=n(l))&&s?s.p(l,r):(s.d(1),s=o(l),s&&(s.c(),s.m(i,null))),r&8&&N(e,"mobile",l[3])},d(l){l&&T(e),s.d()}}}function ap(t){let e,i=Ft(t[1]),n=[];for(let o=0;o<i.length;o+=1)n[o]=la(ia(t,i,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=lt()},m(o,s){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(o,s);E(o,e,s)},p(o,s){if(s&18){i=Ft(o[1]);let l;for(l=0;l<i.length;l+=1){const r=ia(o,i,l);n[l]?n[l].p(r,s):(n[l]=la(r),n[l].c(),n[l].m(e.parentNode,e))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},d(o){o&&T(e),hn(n,o)}}}function up(t){let e,i,n=Ft(t[6]),o=[];for(let s=0;s<n.length;s+=1)o[s]=ra(na(t,n,s));return{c(){e=A("span"),i=A("span");for(let s=0;s<o.length;s+=1)o[s].c();u(i,"class","caption-segment v-ovfyp5"),Ct(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,l){E(s,e,l),p(e,i);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,null)},p(s,l){if(l&68){n=Ft(s[6]);let r;for(r=0;r<n.length;r+=1){const a=na(s,n,r);o[r]?o[r].p(a,l):(o[r]=ra(a),o[r].c(),o[r].m(i,null))}for(;r<o.length;r+=1)o[r].d(1);o.length=n.length}l&16&&Ct(i,"font-size",s[4]+"px")},d(s){s&&T(e),hn(o,s)}}}function cp(t){let e,i,n=Y("subtitles_auto_caption")+"",o;return{c(){e=A("span"),i=A("span"),o=Re(n),u(i,"class","caption-segment v-ovfyp5"),Ct(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,l){E(s,e,l),p(e,i),p(i,o)},p(s,l){l&16&&Ct(i,"font-size",s[4]+"px")},d(s){s&&T(e)}}}function la(t){let e,i,n=t[16]+"",o,s;return{c(){e=A("span"),i=A("span"),o=Re(n),s=z(),u(i,"class","caption-segment v-ovfyp5"),Ct(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,r){E(l,e,r),p(e,i),p(i,o),p(e,s)},p(l,r){r&2&&n!==(n=l[16]+"")&&Xe(o,n),r&16&&Ct(i,"font-size",l[4]+"px")},d(l){l&&T(e)}}}function sa(t){let e=t[16]+"",i;return{c(){i=Re(e)},m(n,o){E(n,i,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&Xe(i,e)},d(n){n&&T(i)}}}function ra(t){let e,i=(!t[17]||t[17]<=t[2])&&sa(t);return{c(){i&&i.c(),e=lt()},m(n,o){i&&i.m(n,o),E(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?i?i.p(n,o):(i=sa(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(n){n&&T(e),i&&i.d(n)}}}function fp(t){let e,i=t[1].length>0&&oa(t);return{c(){e=A("div"),i&&i.c(),u(e,"class","subtitles-container v-ovfyp5"),N(e,"shifted",t[0]),N(e,"auto",t[5]&&!t[8])},m(n,o){E(n,e,o),i&&i.m(e,null)},p(n,[o]){n[1].length>0?i?i.p(n,o):(i=oa(n),i.c(),i.m(e,null)):i&&(i.d(1),i=null),o&1&&N(e,"shifted",n[0]),o&288&&N(e,"auto",n[5]&&!n[8])},i:Z,o:Z,d(n){n&&T(e),i&&i.d()}}}function dp(t,e,i){let n,o,{shifted:s}=e,{captions:l}=e,{position:r}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=ct(),m=nn(),h=f.state.currentSubtitle$;D(t,h,C=>i(12,n=C));const v=f.state.isAutoSubtitleCaptionVisible$;D(t,v,C=>i(8,o=C));let g,w,_,P,k;return tn(()=>{k=window.setTimeout(()=>{v.set(!1)},m.autoSubtitlesTimeout)}),Wo(()=>{window.clearTimeout(k)}),t.$$set=C=>{"shifted"in C&&i(0,s=C.shifted),"captions"in C&&i(1,l=C.captions),"position"in C&&i(2,r=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,g=C<=m.minSubtitlesFontSize?m.minSubtitlesFontSize:C)}t.$$.dirty&2&&i(5,w=l.some(C=>C.type==="timestamp")),t.$$.dirty&2&&i(6,_=l.reduce((C,{type:V,value:ne})=>(V==="timestamp"?C.push({timeAppeared:Number(ne),value:""}):C.length===0?C.push({value:String(ne)}):C[C.length-1].value=String(ne),C),[])),t.$$.dirty&4096&&i(7,P=!!n.isAuto)},[s,l,r,c,g,w,_,P,o,h,v,a,n]}class wu extends be{constructor(e){super(),ge(this,e,dp,fp,he,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},rp)}}function mp(t){ze(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 aa(t){let e,i,n;return{c(){e=A("div"),i=Re("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Re(t[1]),u(e,"class","text v-1o62kpz")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p(o,s){s&2&&Xe(n,o[1])},d(o){o&&T(e)}}}function pp(t){let e,i,n,o,s,l,r=t[1]&&aa(t);return{c(){e=A("div"),i=A("div"),i.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=z(),r&&r.c(),u(i,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${t[0]||""}')`)},m(a,c){E(a,e,c),p(e,i),p(e,n),r&&r.m(e,null),s||(l=pe(e,"click",t[2]),s=!0)},p(a,[c]){a[1]?r?r.p(a,c):(r=aa(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:Z,o:Z,d(a){a&&T(e),r&&r.d(),s=!1,l()}}}function hp(t,e,i){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function s(l){uo.call(this,t,l)}return t.$$set=l=>{"thumbUrl"in l&&i(0,n=l.thumbUrl),"chromecastDeviceName"in l&&i(1,o=l.chromecastDeviceName)},[n,o,s]}class ku extends be{constructor(e){super(),ge(this,e,hp,pp,he,{thumbUrl:0,chromecastDeviceName:1},mp)}}function gp(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class bp extends be{constructor(e){super(),ge(this,e,null,gp,he,{})}}function _p(t){ze(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 vp(t){let e,i,n;return i=new bp({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,s){E(o,e,s),F(i,e,null),n=!0},p:Z,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}class yu extends be{constructor(e){super(),ge(this,e,null,vp,he,{},_p)}}function wp(t){ze(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 kp(t){let e,i,n,o,s,l,r,a,c;return s=new Tl({}),{c(){e=A("div"),i=A("div"),n=A("div"),o=z(),U(s.$$.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",l=`background-color: #222; background-image: url('${t[0]||""}')`),N(e,"hidden",t[1])},m(f,m){E(f,e,m),p(e,i),p(i,n),p(i,o),F(s,i,null),r=!0,a||(c=[pe(i,"keydown",t[3]),pe(e,"click",it(function(){pn(t[2])&&t[2].apply(this,arguments)}))],a=!0)},p(f,[m]){t=f,(!r||m&1&&l!==(l=`background-color: #222; background-image: url('${t[0]||""}')`))&&u(e,"style",l),(!r||m&2)&&N(e,"hidden",t[1])},i(f){r||(d(s.$$.fragment,f),r=!0)},o(f){b(s.$$.fragment,f),r=!1},d(f){f&&T(e),H(s),a=!1,et(c)}}}function yp(t,e,i){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:s}=e;const r=ct().ui.startedByKeyboard$,a=c=>{const f=c.code;[Te.Enter,Te.Space].includes(f)&&(c.stopPropagation(),c.preventDefault(),r.set(!0),s())};return t.$$set=c=>{"thumbUrl"in c&&i(0,n=c.thumbUrl),"hidden"in c&&i(1,o=c.hidden),"startVideo"in c&&i(2,s=c.startVideo)},[n,o,s,a]}class Cu extends be{constructor(e){super(),ge(this,e,yp,kp,he,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},wp)}get handlePressKey(){return this.$$.ctx[3]}}function Cp(t){ze(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(
|
|
25
|
+
}.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function Jf(t){let e,i,n,o,s,l,r;return{c(){e=A("div"),i=A("canvas"),n=z(),o=R("svg"),s=R("g"),l=R("g"),r=R("path"),u(i,"class","timer-canvas v-8jhsry"),u(i,"width","100"),u(i,"height","100"),u(r,"class","_play"),u(r,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(r,"fill","#fff"),u(l,"fill-rule","nonzero"),u(s,"fill","none"),u(s,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){E(a,e,c),p(e,i),t[2](i),p(e,n),p(e,o),p(o,s),p(s,l),p(l,r)},p:Z,i:Z,o:Z,d(a){a&&T(e),t[2](null)}}}const xf=5e3;function $f(t,e,i){let{onTimerEnded:n=te.noop}=e,o;tn(()=>{let l;const r=o.getContext("2d");if(!r)return;r.lineWidth=6,r.lineCap="round",r.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/xf;f<1?(r.clearRect(0,0,100,100),r.beginPath(),r.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),r.stroke(),l=requestAnimationFrame(c)):n()};return l=requestAnimationFrame(c),()=>{cancelAnimationFrame(l)}});function s(l){we[l?"unshift":"push"](()=>{o=l,i(0,o)})}return t.$$set=l=>{"onTimerEnded"in l&&i(1,n=l.onTimerEnded)},[o,n,s]}class e0 extends be{constructor(e){super(),ge(this,e,$f,Jf,he,{onTimerEnded:1},Xf)}}function t0(t){ze(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 ds(t){let e,i;return e=new e0({props:{onTimerEnded:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&4&&(s.onTimerEnded=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function i0(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k,C,V,ne;r=new Qf({}),r.$on("click",t[4]);let M=t[3]&&ds(t);return{c(){e=A("div"),i=z(),n=A("div"),o=A("div"),s=A("div"),s.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",l=z(),U(r.$$.fragment),a=z(),c=A("div"),f=A("div"),m=A("div"),h=A("div"),v=z(),M&&M.c(),w=z(),_=A("div"),P=A("div"),k=Re(t[0]),u(e,"class","overlay v-kisfwc"),u(s,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(m,"class","thumb v-kisfwc"),u(m,"style",g=`background-image: url('${t[1]}')`),u(f,"class","column v-kisfwc"),u(P,"class","title v-kisfwc"),u(_,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(G,B){E(G,e,B),E(G,i,B),E(G,n,B),p(n,o),p(o,s),p(o,l),F(r,o,null),p(n,a),p(n,c),p(c,f),p(f,m),p(m,h),p(m,v),M&&M.m(m,null),p(c,w),p(c,_),p(_,P),p(P,k),C=!0,V||(ne=pe(c,"click",function(){pn(t[2])&&t[2].apply(this,arguments)}),V=!0)},p(G,[B]){t=G,t[3]?M?(M.p(t,B),B&8&&d(M,1)):(M=ds(t),M.c(),d(M,1),M.m(m,null)):M&&(de(),b(M,1,1,()=>{M=null}),me()),(!C||B&2&&g!==(g=`background-image: url('${t[1]}')`))&&u(m,"style",g),(!C||B&1)&&Xe(k,t[0])},i(G){C||(d(r.$$.fragment,G),d(M),C=!0)},o(G){b(r.$$.fragment,G),b(M),C=!1},d(G){G&&(T(e),T(i),T(n)),H(r),M&&M.d(),V=!1,ne()}}}function n0(t,e,i){let{title:n}=e,{thumb:o}=e,{playNextVideo:s}=e,l=!0;const r=()=>i(3,l=!1);return t.$$set=a=>{"title"in a&&i(0,n=a.title),"thumb"in a&&i(1,o=a.thumb),"playNextVideo"in a&&i(2,s=a.playNextVideo)},[n,o,s,l,r]}class o0 extends be{constructor(e){super(),ge(this,e,n0,i0,he,{title:0,thumb:1,playNextVideo:2},t0)}}const R1=(t,e)=>Math.min(+(t+e).toFixed(2),1),O1=(t,e)=>Math.max(+(t-e).toFixed(2),0),z1=(t,e,i)=>{const n=R1(e,i);e<1&&t.actions.internal.setVolume(n)},D1=(t,e,i)=>{const n=O1(e,i);e>0&&t.actions.internal.setVolume(n)};function l0(t){ze(t,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function s0(t){let e,i,n,o;const s=t[22].default,l=Tn(s,t,t[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(r,a){E(r,e,a),l&&l.m(e,null),t[23](e),i=!0,n||(o=[pe(e,"keyup",t[13]),pe(e,"keydown",t[12])],n=!0)},p(r,a){l&&l.p&&(!i||a[0]&2097152)&&An(l,s,r,r[21],i?En(s,r[21],a,null):Ln(r[21]),null)},i(r){i||(d(l,r),i=!0)},o(r){b(l,r),i=!1},d(r){r&&T(e),l&&l.d(r),t[23](null),n=!1,et(o)}}}function r0(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,{$$slots:g={},$$scope:w}=e,{isAds:_}=e,{hideContextMenu:P}=e,{toggleFullscreen:k}=e,{showHotKeyHelpers:C}=e,{showKeyMap:V}=e,{fakePlayButtonHandler:ne}=e;const M=ct(),G=nn(),B=M.getLogger().createComponentLog("KeyboardControls component"),x=M.state.playbackState$;D(t,x,$=>i(27,o=$));const I=M.ads.playbackState;D(t,I,$=>i(26,n=$));const ie=M.state.positionExact$;D(t,ie,$=>i(33,f=$));const O=M.state.duration$;D(t,O,$=>i(32,c=$));const X=M.state.volume$;D(t,X,$=>i(36,v=$));const se=M.ui.controls.disabledControls$;D(t,se,$=>i(31,a=$));const S=M.state.muted$;D(t,S,$=>i(29,l=$));const le=M.state.currentSubtitle$;D(t,le,$=>i(28,s=$));const W=M.state.currentPlaybackRate$;D(t,W,$=>i(34,m=$));const oe=M.state.availablePlaybackRates$;D(t,oe,$=>i(35,h=$));const ke=M.state.isEnded$;D(t,ke,$=>i(30,r=$));let qe=0,je=!0,Ie;const Se=()=>Ie?.focus(),ce=$=>($!==je&&(je=$,qe=0),qe+=1,(G.controls.seekStepKeyboard+G.controls.seekStepKeyboard*qe)/1e3),K=$=>{const Pe=$.target,Ee=Pe?.getAttribute("role")?.includes("menuitem"),Be=Pe.classList.contains("btn"),ae=$.code;if(Be&&ae===Te.Space)return;const ve=Ec.has(ae);if(Ee&&ve)return;const J=!Tc.has(ae);if($.ctrlKey&&J||$.altKey&&J||$.metaKey)return;const Q=Ee&&ae===Te.Escape;Ac.has(ae)||Q||P();const De=o===Qe.PlaybackState.PLAYING||o===Qe.PlaybackState.PAUSED,tt=_&&(n===Yt.PAUSED||n===Yt.PLAYING),Je=!tt&&!a.has(ot.TIMELINE);if(De||tt)switch(B({message:`key down, code: ${ae}`}),ae){case Te.KeyJ:case Te.ArrowLeft:{if(!Je)break;if($.ctrlKey||$.altKey){const Ce=M.actions.internal.getPrevEpisode();M.actions.internal.seekToPrevEpisode(Ce),Ce&&C({type:We.EPISODE_PREV,text:Ce.text}),$.preventDefault()}else{const Ce=$.shiftKey?ce(!1):G.controls.seekStepKeyboard/1e3,Ge=Math.max(f-Ce,0);f>0&&(M.actions.internal.seekTime(Ge,ut.SeekAction.DOUBLE_TAP),C({type:We.BACKWARD_SEEK,text:Ce.toString()}),$.preventDefault())}break}case Te.KeyL:case Te.ArrowRight:{if(!Je)break;if($.ctrlKey||$.altKey){const Ce=M.actions.internal.getNextEpisode();M.actions.internal.seekToNextEpisode(Ce),Ce&&C({type:We.EPISODE_NEXT,text:Ce.text}),$.preventDefault()}else{const Ce=$.shiftKey?ce(!0):G.controls.seekStepKeyboard/1e3,Ge=Math.min(f+Ce,c);Math.round(f)<Math.round(c)&&(M.actions.internal.seekTime(Ge,ut.SeekAction.DOUBLE_TAP),C({type:We.FORWARD_SEEK,text:Ce.toString()}),$.preventDefault())}break}case Te.ArrowUp:{const Ce=v,Ge=G.controls.volumeStepKeyboard,xe=Ce<=1;if(z1(M,Ce,Ge),xe){const ft=Math.round(R1(Ce,Ge)*100).toString();C({type:We.VOLUME,t:{key:"hotkey_helper_current_volume",value:ft}})}$.preventDefault();break}case Te.ArrowDown:{const Ce=v,Ge=G.controls.volumeStepKeyboard,xe=Ce>=0;if(D1(M,Ce,Ge),xe){const ft=Math.round(O1(Ce,Ge)*100).toString();C({type:We.VOLUME,t:{key:"hotkey_helper_current_volume",value:ft}})}$.preventDefault();break}case Te.Comma:{if($.shiftKey){M.actions.internal.decrementPlaybackRate();const Ce=h.find(Ge=>Ge.value===m);C({type:We.RATE_DOWN,text:Ce?.displayValue}),$.preventDefault()}else{if(tt||o!==Qe.PlaybackState.PAUSED)break;const Ce=Math.max(f-G.controls.seekStepFrame/1e3,0);f>0&&(C({type:We.BACKWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(Ce,ut.SeekAction.DOUBLE_TAP),$.preventDefault())}break}case Te.Period:{if($.shiftKey){M.actions.internal.incrementPlaybackRate();const Ce=h.find(Ge=>Ge.value===m);C({type:We.RATE_UP,text:Ce?.displayValue}),$.preventDefault()}else{if(tt||o!==Qe.PlaybackState.PAUSED)break;const Ce=Math.min(f+G.controls.seekStepFrame/1e3,c);f<c&&(C({type:We.FORWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(Ce,ut.SeekAction.DOUBLE_TAP),$.preventDefault())}break}case Te.KeyK:case Te.Space:if(!a.has(ot.PLAY_BUTTON))if(ne)ne();else{M.actions.internal.togglePlay();let Ce=We.PLAY;o===Qe.PlaybackState.PAUSED?Ce=We.PAUSE:r&&(Ce=We.REPLAY),C({type:Ce})}$.preventDefault();break;case Te.KeyM:{C({type:l?We.VOLUME:We.MUTE}),M.actions.internal.toggleMuted(),$.preventDefault();break}case Te.KeyF:k(),$.preventDefault();break;case Te.KeyC:M.actions.internal.toggleSubtitle(),s.value!=="off"?C({type:We.SUBTITLES_ON,text:s?.displayValue}):C({type:We.SUBTITLES_OFF}),$.preventDefault();break;case Te.KeyI:M.actions.internal.togglePictureInPicture(),$.preventDefault();break;case Te.Digit1:case Te.Numpad1:C(),M.actions.internal.seekToPercent(.1,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit2:case Te.Numpad2:C(),M.actions.internal.seekToPercent(.2,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit3:case Te.Numpad3:C(),M.actions.internal.seekToPercent(.3,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit4:case Te.Numpad4:C(),M.actions.internal.seekToPercent(.4,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit5:case Te.Numpad5:C(),M.actions.internal.seekToPercent(.5,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit6:case Te.Numpad6:C(),M.actions.internal.seekToPercent(.6,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit7:case Te.Numpad7:C(),M.actions.internal.seekToPercent(.7,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit8:case Te.Numpad8:C(),M.actions.internal.seekToPercent(.8,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit9:case Te.Numpad9:C(),M.actions.internal.seekToPercent(.9,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Digit0:case Te.Numpad0:C(),M.actions.internal.seekToPercent(0,ut.SeekAction.DOUBLE_TAP),$.preventDefault();break;case Te.Slash:{$.shiftKey&&G.features.hotKeyMapModal&&(V(),$.preventDefault());break}case Te.ShiftLeft:case Te.ShiftRight:$.preventDefault();break;case Te.Tab:case Te.Escape:case Te.Enter:break;default:te.checkNever(ae);break}},ue=$=>{const Pe=$.code;if($.ctrlKey||$.altKey||$.metaKey)return;const Ee=o===Qe.PlaybackState.PLAYING||o===Qe.PlaybackState.PAUSED,Be=_&&(n===Yt.PAUSED||n===Yt.PLAYING);if(Ee||Be)switch(Pe){case Te.ShiftLeft:case Te.ShiftRight:qe=0;break}};function _e($){we[$?"unshift":"push"](()=>{Ie=$,i(0,Ie)})}return t.$$set=$=>{"isAds"in $&&i(14,_=$.isAds),"hideContextMenu"in $&&i(15,P=$.hideContextMenu),"toggleFullscreen"in $&&i(16,k=$.toggleFullscreen),"showHotKeyHelpers"in $&&i(17,C=$.showHotKeyHelpers),"showKeyMap"in $&&i(18,V=$.showKeyMap),"fakePlayButtonHandler"in $&&i(19,ne=$.fakePlayButtonHandler),"$$scope"in $&&i(21,w=$.$$scope)},[Ie,x,I,ie,O,X,se,S,le,W,oe,ke,K,ue,_,P,k,C,V,ne,Se,w,g,_e]}class a0 extends be{constructor(e){super(),ge(this,e,r0,s0,he,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},l0,[-1,-1])}get focus(){return this.$$.ctx[20]}}function u0(t){let e,i,n,o,s;return{c(){e=R("svg"),i=R("rect"),o=R("path"),u(i,"width","20"),u(i,"height","20"),u(i,"rx","10"),u(i,"fill","white"),u(i,"fill-opacity",n=t[0]?1:.24),u(o,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(o,"fill",s=t[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){E(l,e,r),p(e,i),p(e,o)},p(l,[r]){r&1&&n!==(n=l[0]?1:.24)&&u(i,"fill-opacity",n),r&1&&s!==(s=l[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",s)},i:Z,o:Z,d(l){l&&T(e)}}}function c0(t,e,i){let{completed:n}=e;return t.$$set=o=>{"completed"in o&&i(0,n=o.completed)},[n]}class F1 extends be{constructor(e){super(),ge(this,e,c0,u0,he,{completed:0})}}function f0(t){ze(t,"v-4j4dx7",".interactive-episode-icon-animated.v-4j4dx7{position:absolute;right:0;width:32px;height:32px;transform:translate3d(-50%, 50%);transition:0.7s;opacity:1}.invisible.v-4j4dx7{opacity:0}.fullscreen.v-4j4dx7:not(.mobile){width:40px;height:40px}.mobile.v-4j4dx7{width:28px;height:28px}.fullscreen.mobile.v-4j4dx7{width:32px;height:32px}@keyframes v-4j4dx7-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-4j4dx7: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-4j4dx7-pulse infinite;transition:0.7ms}.interactive-episode-icon-animated svg{width:100%;height:100%}")}function d0(t){let e,i,n;return i=new F1({props:{completed:!0}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","interactive-episode-icon-animated v-4j4dx7"),N(e,"mobile",t[0]),N(e,"fullscreen",t[1]),N(e,"invisible",!t[2]||t[3])},m(o,s){E(o,e,s),F(i,e,null),n=!0},p(o,[s]){(!n||s&1)&&N(e,"mobile",o[0]),(!n||s&2)&&N(e,"fullscreen",o[1]),(!n||s&12)&&N(e,"invisible",!o[2]||o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function m0(t,e,i){let n,o,s,l;const r=ct(),a=r.ui.isMobile;D(t,a,h=>i(0,n=h));const c=r.ui.isFullscreen;D(t,c,h=>i(1,o=h));const f=r.state.isInteractiveTime$;D(t,f,h=>i(2,s=h));const{interactiveControlsOpacity$:m}=Go();return D(t,m,h=>i(3,l=h)),[n,o,s,l,a,c,f,m]}class H1 extends be{constructor(e){super(),ge(this,e,m0,d0,he,{},f0)}}function p0(t){ze(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 h0(t){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(i,n){E(i,e,n)},p:Z,i:Z,o:Z,d(i){i&&T(e)}}}class U1 extends be{constructor(e){super(),ge(this,e,null,h0,he,{},p0)}}function g0(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),m=R("feColorMatrix"),h=R("feBlend"),v=R("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2422_111980"),u(v,"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(g,w){E(g,e,w),p(e,i),p(i,n),p(i,o),p(e,s),p(s,l),p(l,r),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,v)},p:Z,i:Z,o:Z,d(g){g&&T(e)}}}class b0 extends be{constructor(e){super(),ge(this,e,null,g0,he,{})}}function _0(t){ze(t,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function v0(t){let e,i,n,o,s,l,r,a,c,f,m,h;const v=t[14].default,g=Tn(v,t,t[13],null);return{c(){e=A("button"),g&&g.c(),u(e,"class",i="btn "+t[1]+" v-1anemql"),u(e,"style",n=t[2]||null),e.disabled=o=t[3]??null,u(e,"aria-hidden",s=t[5]??null),u(e,"aria-label",l=t[6]??null),u(e,"aria-keyshortcuts",r=t[7]??null),u(e,"aria-expanded",a=t[8]??null),u(e,"data-testid",c=t[4]??null),u(e,"tabindex",t[9])},m(w,_){E(w,e,_),g&&g.m(e,null),t[16](e),f=!0,m||(h=[pe(e,"pointerdown",it(Qt(t[15]))),pe(e,"click",it(Qt(function(){pn(t[10]===te.noop?null:t[10])&&(t[10]===te.noop?null:t[10]).apply(this,arguments)}))),pe(e,"focus",Qt(function(){pn(t[11]===te.noop?null:t[11])&&(t[11]===te.noop?null:t[11]).apply(this,arguments)})),pe(e,"blur",Qt(function(){pn(t[12]===te.noop?null:t[12])&&(t[12]===te.noop?null:t[12]).apply(this,arguments)}))],m=!0)},p(w,[_]){t=w,g&&g.p&&(!f||_&8192)&&An(g,v,t,t[13],f?En(v,t[13],_,null):Ln(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&&o!==(o=t[3]??null))&&(e.disabled=o),(!f||_&32&&s!==(s=t[5]??null))&&u(e,"aria-hidden",s),(!f||_&64&&l!==(l=t[6]??null))&&u(e,"aria-label",l),(!f||_&128&&r!==(r=t[7]??null))&&u(e,"aria-keyshortcuts",r),(!f||_&256&&a!==(a=t[8]??null))&&u(e,"aria-expanded",a),(!f||_&16&&c!==(c=t[4]??null))&&u(e,"data-testid",c),(!f||_&512)&&u(e,"tabindex",t[9])},i(w){f||(d(g,w),f=!0)},o(w){b(g,w),f=!1},d(w){w&&T(e),g&&g.d(w),t[16](null),m=!1,et(h)}}}function w0(t,e,i){let{$$slots:n={},$$scope:o}=e,{className:s=""}=e,{style:l=""}=e,{disabled:r=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:m=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:v=void 0}=e,{tabIndex:g=0}=e,{click:w=te.noop}=e,{focus:_=te.noop}=e,{blur:P=te.noop}=e;function k(V){uo.call(this,t,V)}function C(V){we[V?"unshift":"push"](()=>{m=V,i(0,m)})}return t.$$set=V=>{"className"in V&&i(1,s=V.className),"style"in V&&i(2,l=V.style),"disabled"in V&&i(3,r=V.disabled),"testId"in V&&i(4,a=V.testId),"ariaHidden"in V&&i(5,c=V.ariaHidden),"ariaLabel"in V&&i(6,f=V.ariaLabel),"ref"in V&&i(0,m=V.ref),"ariaKeyShortCut"in V&&i(7,h=V.ariaKeyShortCut),"ariaExpanded"in V&&i(8,v=V.ariaExpanded),"tabIndex"in V&&i(9,g=V.tabIndex),"click"in V&&i(10,w=V.click),"focus"in V&&i(11,_=V.focus),"blur"in V&&i(12,P=V.blur),"$$scope"in V&&i(13,o=V.$$scope)},[m,s,l,r,a,c,f,h,v,g,w,_,P,o,n,k,C]}class mi extends be{constructor(e){super(),ge(this,e,w0,v0,he,{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},_0)}}function k0(t){ze(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 ms(t){let e,i,n,o,s,l=t[2]&&ps(t);return{c(){e=A("div"),i=A("h3"),n=Re(t[3]),o=z(),l&&l.c(),u(i,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(r,a){E(r,e,a),p(e,i),p(i,n),p(e,o),l&&l.m(e,null),s=!0},p(r,a){(!s||a&8)&&Xe(n,r[3]),r[2]?l?(l.p(r,a),a&4&&d(l,1)):(l=ps(r),l.c(),d(l,1),l.m(e,null)):l&&(de(),b(l,1,1,()=>{l=null}),me())},i(r){s||(d(l),s=!0)},o(r){b(l),s=!1},d(r){r&&T(e),l&&l.d()}}}function ps(t){let e,i;return e=new mi({props:{click:t[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:Y("hotkey_map_modal_close_btn_text"),$$slots:{default:[y0]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&1&&(s.click=n[0]),o&32&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function y0(t){let e,i;return e=new b0({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function C0(t){let e,i,n,o,s,l,r=t[1]&&ms(t);const a=t[4].default,c=Tn(a,t,t[5],null);return{c(){e=A("div"),i=A("div"),r&&r.c(),n=z(),o=A("div"),s=A("div"),c&&c.c(),u(s,"class","modal-main v-1witlsj"),u(o,"class","modal-scroll v-1witlsj"),u(i,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,m){E(f,e,m),p(e,i),r&&r.m(i,null),p(i,n),p(i,o),p(o,s),c&&c.m(s,null),l=!0},p(f,[m]){f[1]?r?(r.p(f,m),m&2&&d(r,1)):(r=ms(f),r.c(),d(r,1),r.m(i,n)):r&&(de(),b(r,1,1,()=>{r=null}),me()),c&&c.p&&(!l||m&32)&&An(c,a,f,f[5],l?En(a,f[5],m,null):Ln(f[5]),null)},i(f){l||(d(r),d(c,f),l=!0)},o(f){b(r),b(c,f),l=!1},d(f){f&&T(e),r&&r.d(),c&&c.d(f)}}}function S0(t,e,i){let{$$slots:n={},$$scope:o}=e,{onClose:s}=e,{showHeader:l=!0}=e,{showCloseCross:r=!0}=e,{title:a}=e;return t.$$set=c=>{"onClose"in c&&i(0,s=c.onClose),"showHeader"in c&&i(1,l=c.showHeader),"showCloseCross"in c&&i(2,r=c.showCloseCross),"title"in c&&i(3,a=c.title),"$$scope"in c&&i(5,o=c.$$scope)},[s,l,r,a,n,o]}class P0 extends be{constructor(e){super(),ge(this,e,S0,C0,he,{onClose:0,showHeader:1,showCloseCross:2,title:3},k0)}}const T0=new Set(["BR"]),hs=t=>{const e=document.createElement("DIV");e.innerHTML=t;const i=e.querySelectorAll("*");let n=i.length;for(;n--;){const o=i[n],s=o.tagName;T0.has(s)||o.parentElement?.removeChild(o)}return e.innerHTML};function E0(t){ze(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 gs(t,e,i){const n=t.slice();return n[5]=e[i].title,n[6]=e[i].items,n}function bs(t,e,i){const n=t.slice();return n[9]=e[i].description,n[10]=e[i].value,n}function _s(t){let e,i,n=hs(t[9])+"",o,s,l=t[10]+"",r,a;return{c(){e=A("li"),i=A("span"),o=z(),s=A("span"),r=Re(l),a=z(),u(i,"class","hot-key-map-item-description v-quklnq"),u(s,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){E(c,e,f),p(e,i),i.innerHTML=n,p(e,o),p(e,s),p(s,r),p(e,a)},p(c,f){f&1&&n!==(n=hs(c[9])+"")&&(i.innerHTML=n),f&1&&l!==(l=c[10]+"")&&Xe(r,l)},d(c){c&&T(e)}}}function vs(t){let e,i,n=t[5]+"",o,s,l,r,a=Ft(t[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=_s(bs(t,a,f));return{c(){e=A("div"),i=A("h5"),o=Re(n),s=z(),l=A("ul");for(let f=0;f<c.length;f+=1)c[f].c();r=z(),u(i,"class","hot-key-map-group-title v-quklnq"),u(l,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,m){E(f,e,m),p(e,i),p(i,o),p(e,s),p(e,l);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(l,null);p(e,r)},p(f,m){if(m&1&&n!==(n=f[5]+"")&&Xe(o,n),m&1){a=Ft(f[6]);let h;for(h=0;h<a.length;h+=1){const v=bs(f,a,h);c[h]?c[h].p(v,m):(c[h]=_s(v),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&&T(e),hn(c,f)}}}function A0(t){let e,i=Ft(t[0].groups),n=[];for(let o=0;o<i.length;o+=1)n[o]=vs(gs(t,i,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,s){E(o,e,s);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,s){if(s&1){i=Ft(o[0].groups);let l;for(l=0;l<i.length;l+=1){const r=gs(o,i,l);n[l]?n[l].p(r,s):(n[l]=vs(r),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},d(o){o&&T(e),hn(n,o)}}}function L0(t){let e,i;return e=new P0({props:{title:t[0].title,onClose:t[2],$$slots:{default:[A0]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.title=n[0].title),o&8193&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function I0(t,e,i){let n;const o=ct(),{data:s,show:l}=o.ui.modals.hotKeyMap;return D(t,s,a=>i(0,n=a)),[n,s,()=>{l.set(!1)}]}class V0 extends be{constructor(e){super(),ge(this,e,I0,L0,he,{},E0)}}function M0(t){ze(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 B0(t){let e,i;const n=t[1].default,o=Tn(n,t,t[0],null);return{c(){e=A("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(s,l){E(s,e,l),o&&o.m(e,null),i=!0},p(s,[l]){o&&o.p&&(!i||l&1)&&An(o,n,s,s[0],i?En(n,s[0],l,null):Ln(s[0]),null)},i(s){i||(d(o,s),i=!0)},o(s){b(o,s),i=!1},d(s){s&&T(e),o&&o.d(s)}}}function N0(t,e,i){let{$$slots:n={},$$scope:o}=e;return t.$$set=s=>{"$$scope"in s&&i(0,o=s.$$scope)},[o,n]}class R0 extends be{constructor(e){super(),ge(this,e,N0,B0,he,{},M0)}}function O0(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p:Z,i:Z,o:Z,d(o){o&&T(e)}}}class z0 extends be{constructor(e){super(),ge(this,e,null,O0,he,{})}}function D0(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p:Z,i:Z,o:Z,d(o){o&&T(e)}}}class F0 extends be{constructor(e){super(),ge(this,e,null,D0,he,{})}}function H0(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class U0 extends be{constructor(e){super(),ge(this,e,null,H0,he,{})}}function q0(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class q1 extends be{constructor(e){super(),ge(this,e,null,q0,he,{})}}function j0(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p:Z,i:Z,o:Z,d(o){o&&T(e)}}}class j1 extends be{constructor(e){super(),ge(this,e,null,j0,he,{})}}const po=t=>{switch(t){case Qe.VideoQuality.Q_720P:return U0;case Qe.VideoQuality.Q_1080P:return q1;case Qe.VideoQuality.Q_1440P:return j1;case Qe.VideoQuality.Q_2160P:return z0;case Qe.VideoQuality.Q_4320P:return F0}};function Z0(t){ze(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 W0(t){let e,i,n,o,s,l,r=t[1]&&ws(t);return{c(){e=A("div"),r&&r.c(),i=z(),n=R("svg"),o=R("path"),s=R("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(s,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(s,"fill","#fff"),N(s,"hidden",!!t[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-1fzhlx0"),u(e,"aria-hidden","true"),N(e,"triple",t[2])},m(a,c){E(a,e,c),r&&r.m(e,null),p(e,i),p(e,n),p(n,o),p(n,s),l=!0},p(a,c){a[1]?r?(r.p(a,c),c&2&&d(r,1)):(r=ws(a),r.c(),d(r,1),r.m(e,i)):r&&(de(),b(r,1,1,()=>{r=null}),me()),(!l||c&2)&&N(s,"hidden",!!a[1]),(!l||c&4)&&N(e,"triple",a[2])},i(a){l||(d(r),l=!0)},o(a){b(r),l=!1},d(a){a&&T(e),r&&r.d()}}}function K0(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}function ws(t){let e,i;return e=new R0({props:{$$slots:{default:[G0]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&18&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function G0(t){let e,i,n;var o=t[1];function s(l){return{}}return o&&(e=vn(o,s())),{c(){e&&U(e.$$.fragment),i=lt()},m(l,r){e&&F(e,l,r),E(l,i,r),n=!0},p(l,r){if(r&2&&o!==(o=l[1])){if(e){de();const a=e;b(a.$$.fragment,1,0,()=>{H(a,1)}),me()}o?(e=vn(o,s()),U(e.$$.fragment),d(e.$$.fragment,1),F(e,i.parentNode,i)):e=null}},i(l){n||(e&&d(e.$$.fragment,l),n=!0)},o(l){e&&b(e.$$.fragment,l),n=!1},d(l){l&&T(i),e&&H(e,l)}}}function Y0(t){let e,i,n,o;const s=[K0,W0],l=[];function r(a,c){return a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),b(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){b(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function Q0(t,e,i){let n,{isMobile:o=!1}=e,{currentQuality:s=void 0}=e,l;return t.$$set=r=>{"isMobile"in r&&i(0,o=r.isMobile),"currentQuality"in r&&i(3,s=r.currentQuality)},t.$$.update=()=>{t.$$.dirty&8&&i(1,n=po(s)),t.$$.dirty&2&&i(2,l=!!n&&[q1,j1].includes(n))},[o,n,l,s]}class Z1 extends be{constructor(e){super(),ge(this,e,Q0,Y0,he,{isMobile:0,currentQuality:3},Z0)}}function X0(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class W1 extends be{constructor(e){super(),ge(this,e,null,X0,he,{})}}function J0(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(i,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class x0 extends be{constructor(e){super(),ge(this,e,null,J0,he,{})}}function $0(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(i,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class ed extends be{constructor(e){super(),ge(this,e,null,$0,he,{})}}function td(t){let e,i,n,o;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(s,l){E(s,e,l),p(e,i),p(i,n),p(i,o)},p:Z,i:Z,o:Z,d(s){s&&T(e)}}}class id extends be{constructor(e){super(),ge(this,e,null,td,he,{})}}function nd(t){ze(t,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function od(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(i,"fill",t[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),N(e,"reverted",t[2])},m(o,s){E(o,e,s),p(e,i)},p(o,s){s&1&&u(i,"fill",o[0]),s&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),s&4&&N(e,"reverted",o[2])},d(o){o&&T(e)}}}function ld(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(i,"fill",t[0]),u(i,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),N(e,"reverted",t[2])},m(o,s){E(o,e,s),p(e,i)},p(o,s){s&1&&u(i,"fill",o[0]),s&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),s&4&&N(e,"reverted",o[2])},d(o){o&&T(e)}}}function sd(t){let e;function i(s,l){return s[1]?ld:od}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(s){s&&T(e),o.d(s)}}}function rd(t,e,i){let{direction:n="left"}=e,{color:o="#fff"}=e,s,l;return t.$$set=r=>{"direction"in r&&i(3,n=r.direction),"color"in r&&i(0,o=r.color)},t.$$.update=()=>{t.$$.dirty&8&&(i(1,s=["up","down"].includes(n)),i(2,l=["right","down"].includes(n)))},[o,s,l,n]}class Dn extends be{constructor(e){super(),ge(this,e,rd,sd,he,{direction:3,color:0},nd)}}function ad(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class ud extends be{constructor(e){super(),ge(this,e,null,ad,he,{})}}function cd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(i,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class To extends be{constructor(e){super(),ge(this,e,null,cd,he,{})}}function fd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class dd extends be{constructor(e){super(),ge(this,e,null,fd,he,{})}}function md(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class pd extends be{constructor(e){super(),ge(this,e,null,md,he,{})}}function hd(t){ze(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 ks(t,e,i){const n=t.slice();return n[142]=e[i],n}function ys(t,e,i){const n=t.slice();return n[145]=e[i],n}function Cs(t,e,i){const n=t.slice();return n[148]=e[i],n}function Ss(t){let e,i,n,o,s,l,r,a,c,f,m,h=t[8]&&Ps(t),v=t[28]&&Ts(t),g=t[27]&&As(t),w=t[26]&&Ls(t),_=t[25]&&Is(t),P=t[24]&&Vs(t),k=t[8]&&Ms(t);return{c(){e=A("div"),h&&h.c(),i=z(),n=A("ul"),v&&v.c(),o=z(),g&&g.c(),s=z(),w&&w.c(),l=z(),_&&_.c(),r=z(),P&&P.c(),a=z(),k&&k.c(),u(n,"class","items v-5r0p3"),u(n,"role","menu"),N(n,"items-mobile",t[8]),u(e,"class","menu v-5r0p3"),N(e,"menu-desktop",!t[8]),N(e,"menu-mobile",t[8]),N(e,"hidden",!t[15])},m(C,V){E(C,e,V),h&&h.m(e,null),p(e,i),p(e,n),v&&v.m(n,null),p(n,o),g&&g.m(n,null),p(n,s),w&&w.m(n,null),p(n,l),_&&_.m(n,null),p(n,r),P&&P.m(n,null),p(n,a),k&&k.m(n,null),t[116](n),c=!0,f||(m=[pe(e,"keydown",t[79]),pe(e,"mouseenter",t[73]),pe(e,"mouseleave",t[74])],f=!0)},p(C,V){C[8]?h?h.p(C,V):(h=Ps(C),h.c(),h.m(e,i)):h&&(h.d(1),h=null),C[28]?v?(v.p(C,V),V[0]&268435456&&d(v,1)):(v=Ts(C),v.c(),d(v,1),v.m(n,o)):v&&(de(),b(v,1,1,()=>{v=null}),me()),C[27]?g?(g.p(C,V),V[0]&134217728&&d(g,1)):(g=As(C),g.c(),d(g,1),g.m(n,s)):g&&(de(),b(g,1,1,()=>{g=null}),me()),C[26]?w?(w.p(C,V),V[0]&67108864&&d(w,1)):(w=Ls(C),w.c(),d(w,1),w.m(n,l)):w&&(de(),b(w,1,1,()=>{w=null}),me()),C[25]?_?(_.p(C,V),V[0]&33554432&&d(_,1)):(_=Is(C),_.c(),d(_,1),_.m(n,r)):_&&(de(),b(_,1,1,()=>{_=null}),me()),C[24]?P?(P.p(C,V),V[0]&16777216&&d(P,1)):(P=Vs(C),P.c(),d(P,1),P.m(n,a)):P&&(de(),b(P,1,1,()=>{P=null}),me()),C[8]?k?(k.p(C,V),V[0]&256&&d(k,1)):(k=Ms(C),k.c(),d(k,1),k.m(n,null)):k&&(de(),b(k,1,1,()=>{k=null}),me()),(!c||V[0]&256)&&N(n,"items-mobile",C[8]),(!c||V[0]&256)&&N(e,"menu-desktop",!C[8]),(!c||V[0]&256)&&N(e,"menu-mobile",C[8]),(!c||V[0]&32768)&&N(e,"hidden",!C[15])},i(C){c||(d(v),d(g),d(w),d(_),d(P),d(k),c=!0)},o(C){b(v),b(g),b(w),b(_),b(P),b(k),c=!1},d(C){C&&T(e),h&&h.d(),v&&v.d(),g&&g.d(),w&&w.d(),_&&_.d(),P&&P.d(),k&&k.d(),t[116](null),f=!1,et(m)}}}function Ps(t){let e,i,n,o,s,l,r,a;return{c(){e=A("div"),i=A("div"),i.textContent=`${Y("submenu_settings")}`,n=z(),o=A("div"),s=z(),l=A("div"),u(o,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),N(e,"item-mobile",t[8]),u(l,"class","menu-divider v-5r0p3")},m(c,f){E(c,e,f),p(e,i),p(e,n),p(e,o),E(c,s,f),E(c,l,f),r||(a=pe(o,"click",it(t[59])),r=!0)},p(c,f){f[0]&256&&N(e,"item-mobile",c[8])},d(c){c&&(T(e),T(s),T(l)),r=!1,a()}}}function Ts(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;n=new Z1({});let g=t[36]&&!t[8]&&Es(t);return{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("menu_quality")}`,l=z(),r=A("div"),a=Re(t[20]),c=z(),g&&g.c(),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_quality",{actual:t[30]})),u(e,"aria-haspopup","true"),N(e,"item-mobile",t[8])},m(w,_){E(w,e,_),p(e,i),F(n,i,null),p(e,o),p(e,s),p(e,l),p(e,r),p(r,a),p(r,c),g&&g.m(r,null),t[112](e),m=!0,h||(v=[pe(e,"click",it(t[60])),pe(e,"keydown",t[80])],h=!0)},p(w,_){(!m||_[0]&1048576)&&Xe(a,w[20]),w[36]&&!w[8]?g?(g.p(w,_),_[0]&256|_[1]&32&&d(g,1)):(g=Es(w),g.c(),d(g,1),g.m(r,null)):g&&(de(),b(g,1,1,()=>{g=null}),me()),(!m||_[0]&1073741824&&f!==(f=Y("aria_label_menu_quality",{actual:w[30]})))&&u(e,"aria-label",f),(!m||_[0]&256)&&N(e,"item-mobile",w[8])},i(w){m||(d(n.$$.fragment,w),d(g),m=!0)},o(w){b(n.$$.fragment,w),b(g),m=!1},d(w){w&&T(e),H(n),g&&g.d(),t[112](null),h=!1,et(v)}}}function Es(t){let e,i,n;var o=t[36];function s(l){return{}}return o&&(i=vn(o,s())),{c(){e=A("div"),i&&U(i.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(l,r){E(l,e,r),i&&F(i,e,null),n=!0},p(l,r){if(r[1]&32&&o!==(o=l[36])){if(i){de();const a=i;b(a.$$.fragment,1,0,()=>{H(a,1)}),me()}o?(i=vn(o,s()),U(i.$$.fragment),d(i.$$.fragment,1),F(i,e,null)):i=null}},i(l){n||(i&&d(i.$$.fragment,l),n=!0)},o(l){i&&b(i.$$.fragment,l),n=!1},d(l){l&&T(e),i&&H(i)}}}function As(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return n=new id({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("menu_playback_rate")}`,l=z(),r=A("div"),a=Re(t[13]),c=Re("x"),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_rate",{actual:t[31]})),u(e,"aria-haspopup","true"),N(e,"item-mobile",t[8])},m(g,w){E(g,e,w),p(e,i),F(n,i,null),p(e,o),p(e,s),p(e,l),p(e,r),p(r,a),p(r,c),t[113](e),m=!0,h||(v=[pe(e,"click",it(Qt(t[64]))),pe(e,"keydown",t[83])],h=!0)},p(g,w){(!m||w[0]&8192)&&Xe(a,g[13]),(!m||w[1]&1&&f!==(f=Y("aria_label_menu_rate",{actual:g[31]})))&&u(e,"aria-label",f),(!m||w[0]&256)&&N(e,"item-mobile",g[8])},i(g){m||(d(n.$$.fragment,g),m=!0)},o(g){b(n.$$.fragment,g),m=!1},d(g){g&&T(e),H(n),t[113](null),h=!1,et(v)}}}function Ls(t){let e,i,n,o,s,l,r,a=t[37].displayValue+"",c,f,m,h,v;return n=new W1({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("subtitles_caption")}`,l=z(),r=A("div"),c=Re(a),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_subtitle",{actual:t[37].displayValue})),u(e,"aria-haspopup","true"),N(e,"item-mobile",t[8])},m(g,w){E(g,e,w),p(e,i),F(n,i,null),p(e,o),p(e,s),p(e,l),p(e,r),p(r,c),t[114](e),m=!0,h||(v=[pe(e,"click",it(t[66])),pe(e,"keydown",t[86])],h=!0)},p(g,w){(!m||w[1]&64)&&a!==(a=g[37].displayValue+"")&&Xe(c,a),(!m||w[1]&64&&f!==(f=Y("aria_label_menu_subtitle",{actual:g[37].displayValue})))&&u(e,"aria-label",f),(!m||w[0]&256)&&N(e,"item-mobile",g[8])},i(g){m||(d(n.$$.fragment,g),m=!0)},o(g){b(n.$$.fragment,g),m=!1},d(g){g&&T(e),H(n),t[114](null),h=!1,et(v)}}}function Is(t){let e,i,n,o,s,l,r,a,c,f,m,h;return n=new ed({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("menu_traffic_saving")}`,l=z(),r=A("div"),a=Re(t[29]),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=Y("aria_label_menu_traffic_saving",{actual:t[29]})),u(e,"aria-haspopup","true"),N(e,"item-mobile",t[8])},m(v,g){E(v,e,g),p(e,i),F(n,i,null),p(e,o),p(e,s),p(e,l),p(e,r),p(r,a),t[115](e),f=!0,m||(h=[pe(e,"click",it(t[61])),pe(e,"keydown",t[89])],m=!0)},p(v,g){(!f||g[0]&536870912)&&Xe(a,v[29]),(!f||g[0]&536870912&&c!==(c=Y("aria_label_menu_traffic_saving",{actual:v[29]})))&&u(e,"aria-label",c),(!f||g[0]&256)&&N(e,"item-mobile",v[8])},i(v){f||(d(n.$$.fragment,v),f=!0)},o(v){b(n.$$.fragment,v),f=!1},d(v){v&&T(e),H(n),t[115](null),m=!1,et(h)}}}function Vs(t){let e,i,n,o,s,l,r,a;return n=new x0({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("download_video_caption")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",Y("aria_label_menu_download")),N(e,"item-mobile",t[8])},m(c,f){E(c,e,f),p(e,i),F(n,i,null),p(e,o),p(e,s),l=!0,r||(a=[pe(e,"click",it(t[69])),pe(e,"keydown",t[92])],r=!0)},p(c,f){(!l||f[0]&256)&&N(e,"item-mobile",c[8])},i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){b(n.$$.fragment,c),l=!1},d(c){c&&T(e),H(n),r=!1,et(a)}}}function Ms(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_,P=t[39].showSupport&&gd(t);return o=new dd({}),f=new pd({}),{c(){P&&P.c(),e=z(),i=A("li"),n=A("div"),U(o.$$.fragment),s=z(),l=A("div"),l.textContent=`${Y("menu_copy_debug")}`,r=z(),a=A("li"),c=A("div"),U(f.$$.fragment),m=z(),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(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",v=t[38]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable"))},m(k,C){P&&P.m(k,C),E(k,e,C),E(k,i,C),p(i,n),F(o,n,null),p(i,s),p(i,l),E(k,r,C),E(k,a,C),p(a,c),F(f,c,null),p(a,m),p(a,h),g=!0,w||(_=[pe(i,"click",it(t[71])),pe(i,"keydown",t[94]),pe(a,"click",it(t[72])),pe(a,"keydown",t[95])],w=!0)},p(k,C){k[39].showSupport&&P.p(k,C),(!g||C[1]&128&&v!==(v=k[38]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",v)},i(k){g||(d(P),d(o.$$.fragment,k),d(f.$$.fragment,k),g=!0)},o(k){b(P),b(o.$$.fragment,k),b(f.$$.fragment,k),g=!1},d(k){k&&(T(e),T(i),T(r),T(a)),P&&P.d(k),H(o),H(f),w=!1,et(_)}}}function gd(t){let e,i,n,o,s,l,r,a;return n=new ud({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("menu_report")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(e,"class","item item-mobile v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${Y("menu_report")}. ${Y("aria_label_new_tab_alert")}`)},m(c,f){E(c,e,f),p(e,i),F(n,i,null),p(e,o),p(e,s),l=!0,r||(a=[pe(e,"click",it(t[70])),pe(e,"keydown",t[93])],r=!0)},p:Z,i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){b(n.$$.fragment,c),l=!1},d(c){c&&T(e),H(n),r=!1,et(a)}}}function Bs(t){let e,i,n,o,s,l,r,a,c,f,m,h;n=new Dn({props:{direction:"left"}});let v=Ft(t[12]),g=[];for(let _=0;_<v.length;_+=1)g[_]=Os(Cs(t,v,_));const w=_=>b(g[_],1,1,()=>{g[_]=null});return{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("submenu_quality")}`,l=z(),r=A("div"),a=z(),c=A("ul");for(let _=0;_<g.length;_+=1)g[_].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),N(i,"item-mobile",t[8]),u(r,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[21]),N(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),N(e,"menu-desktop",!t[8]),N(e,"menu-mobile",t[8])},m(_,P){E(_,e,P),p(e,i),F(n,i,null),p(i,o),p(i,s),t[117](i),p(e,l),p(e,r),p(e,a),p(e,c);for(let k=0;k<g.length;k+=1)g[k]&&g[k].m(c,null);t[120](c),f=!0,m||(h=[pe(i,"click",it(t[68])),pe(c,"keydown",t[81])],m=!0)},p(_,P){if((!f||P[0]&256)&&N(i,"item-mobile",_[8]),P[0]&4352|P[2]&1048577){v=Ft(_[12]);let k;for(k=0;k<v.length;k+=1){const C=Cs(_,v,k);g[k]?(g[k].p(C,P),d(g[k],1)):(g[k]=Os(C),g[k].c(),d(g[k],1),g[k].m(c,null))}for(de(),k=v.length;k<g.length;k+=1)w(k);me()}(!f||P[0]&2097152)&&u(c,"style",_[21]),(!f||P[0]&256)&&N(c,"items-mobile",_[8]),(!f||P[0]&256)&&N(e,"menu-desktop",!_[8]),(!f||P[0]&256)&&N(e,"menu-mobile",_[8])},i(_){if(!f){d(n.$$.fragment,_);for(let P=0;P<v.length;P+=1)d(g[P]);f=!0}},o(_){b(n.$$.fragment,_),g=g.filter(Boolean);for(let P=0;P<g.length;P+=1)b(g[P]);f=!1},d(_){_&&T(e),H(n),t[117](null),hn(g,_),t[120](null),m=!1,et(h)}}}function Ns(t){let e,i,n;return i=new To({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),F(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function Rs(t){let e,i,n;var o=po(t[148].value);function s(l){return{}}return o&&(i=vn(o,s())),{c(){e=A("div"),i&&U(i.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(l,r){E(l,e,r),i&&F(i,e,null),n=!0},p(l,r){if(r[0]&4096&&o!==(o=po(l[148].value))){if(i){de();const a=i;b(a.$$.fragment,1,0,()=>{H(a,1)}),me()}o?(i=vn(o,s()),U(i.$$.fragment),d(i.$$.fragment,1),F(i,e,null)):i=null}},i(l){n||(i&&d(i.$$.fragment,l),n=!0)},o(l){i&&b(i.$$.fragment,l),n=!1},d(l){l&&T(e),i&&H(i)}}}function Os(t){let e,i,n,o=t[148].displayValue+"",s,l,r=!t[8]&&po(t[148].value),a,c,f,m,h,v,g=t[148].selected&&Ns(),w=r&&Rs(t);function _(){return t[118](t[148])}function P(...k){return t[119](t[148],...k)}return{c(){e=A("li"),g&&g.c(),i=z(),n=A("div"),s=Re(o),l=z(),w&&w.c(),a=z(),u(n,"class","v-5r0p3"),N(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),N(e,"item-mobile",t[8])},m(k,C){E(k,e,C),g&&g.m(e,null),p(e,i),p(e,n),p(n,s),p(e,l),w&&w.m(e,null),p(e,a),m=!0,h||(v=[pe(e,"click",it(_)),pe(e,"keydown",P)],h=!0)},p(k,C){t=k,t[148].selected?g?C[0]&4096&&d(g,1):(g=Ns(),g.c(),d(g,1),g.m(e,i)):g&&(de(),b(g,1,1,()=>{g=null}),me()),(!m||C[0]&4096)&&o!==(o=t[148].displayValue+"")&&Xe(s,o),(!m||C[0]&256)&&N(n,"quality-title-mobile",t[8]),C[0]&4352&&(r=!t[8]&&po(t[148].value)),r?w?(w.p(t,C),C[0]&4352&&d(w,1)):(w=Rs(t),w.c(),d(w,1),w.m(e,a)):w&&(de(),b(w,1,1,()=>{w=null}),me()),(!m||C[0]&4096&&c!==(c=t[148].value))&&u(e,"data-value",c),(!m||C[0]&4096&&f!==(f=t[148].displayValue))&&u(e,"aria-label",f),(!m||C[0]&256)&&N(e,"item-mobile",t[8])},i(k){m||(d(g),d(w),m=!0)},o(k){b(g),b(w),m=!1},d(k){k&&T(e),g&&g.d(),w&&w.d(),h=!1,et(v)}}}function zs(t){let e,i,n,o,s,l,r,a,c,f,m,h;n=new Dn({props:{direction:"left"}});let v=Ft(t[11]),g=[];for(let _=0;_<v.length;_+=1)g[_]=Fs(ys(t,v,_));const w=_=>b(g[_],1,1,()=>{g[_]=null});return{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("submenu_playback_rate")}`,l=z(),r=A("div"),a=z(),c=A("ul");for(let _=0;_<g.length;_+=1)g[_].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),N(i,"item-mobile",t[8]),u(r,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[22]),N(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),N(e,"menu-desktop",!t[8]),N(e,"menu-mobile",t[8])},m(_,P){E(_,e,P),p(e,i),F(n,i,null),p(i,o),p(i,s),t[121](i),p(e,l),p(e,r),p(e,a),p(e,c);for(let k=0;k<g.length;k+=1)g[k]&&g[k].m(c,null);t[124](c),f=!0,m||(h=[pe(i,"click",it(t[68])),pe(c,"keydown",t[84])],m=!0)},p(_,P){if((!f||P[0]&256)&&N(i,"item-mobile",_[8]),P[0]&2304|P[2]&8388616){v=Ft(_[11]);let k;for(k=0;k<v.length;k+=1){const C=ys(_,v,k);g[k]?(g[k].p(C,P),d(g[k],1)):(g[k]=Fs(C),g[k].c(),d(g[k],1),g[k].m(c,null))}for(de(),k=v.length;k<g.length;k+=1)w(k);me()}(!f||P[0]&4194304)&&u(c,"style",_[22]),(!f||P[0]&256)&&N(c,"items-mobile",_[8]),(!f||P[0]&256)&&N(e,"menu-desktop",!_[8]),(!f||P[0]&256)&&N(e,"menu-mobile",_[8])},i(_){if(!f){d(n.$$.fragment,_);for(let P=0;P<v.length;P+=1)d(g[P]);f=!0}},o(_){b(n.$$.fragment,_),g=g.filter(Boolean);for(let P=0;P<g.length;P+=1)b(g[P]);f=!1},d(_){_&&T(e),H(n),t[121](null),hn(g,_),t[124](null),m=!1,et(h)}}}function Ds(t){let e,i,n;return i=new To({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),F(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function Fs(t){let e,i,n,o=t[145].displayValue+"",s,l,r,a,c,f,m,h=t[145].selected&&Ds();function v(){return t[122](t[145])}function g(...w){return t[123](t[145],...w)}return{c(){e=A("li"),h&&h.c(),i=z(),n=A("div"),s=Re(o),l=z(),u(n,"class","v-5r0p3"),N(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",r=t[145].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=t[145].displayValue),N(e,"item-mobile",t[8])},m(w,_){E(w,e,_),h&&h.m(e,null),p(e,i),p(e,n),p(n,s),p(e,l),c=!0,f||(m=[pe(e,"click",it(v)),pe(e,"keydown",g)],f=!0)},p(w,_){t=w,t[145].selected?h?_[0]&2048&&d(h,1):(h=Ds(),h.c(),d(h,1),h.m(e,i)):h&&(de(),b(h,1,1,()=>{h=null}),me()),(!c||_[0]&2048)&&o!==(o=t[145].displayValue+"")&&Xe(s,o),(!c||_[0]&256)&&N(n,"quality-title-mobile",t[8]),(!c||_[0]&2048&&r!==(r=t[145].value))&&u(e,"data-value",r),(!c||_[0]&2048&&a!==(a=t[145].displayValue))&&u(e,"aria-label",a),(!c||_[0]&256)&&N(e,"item-mobile",t[8])},i(w){c||(d(h),c=!0)},o(w){b(h),c=!1},d(w){w&&T(e),h&&h.d(),f=!1,et(m)}}}function Hs(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k,C,V,ne,M,G,B;n=new Dn({props:{direction:"left"}});let x=!t[9]&&Us(),I=t[9]&&qs();return{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("submenu_traffic_saving")}`,l=z(),r=A("div"),a=z(),c=A("ul"),f=A("li"),x&&x.c(),m=z(),h=A("div"),h.textContent=`${Y("traffic_saving_disable")}`,v=z(),g=A("li"),I&&I.c(),w=z(),_=A("div"),_.textContent=`${Y("traffic_saving_enable")}`,P=z(),k=A("div"),C=z(),V=A("div"),ne=A("span"),ne.textContent=`${Y("traffic_saving_helper_text")}`,u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),N(i,"item-mobile",t[8]),u(r,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),N(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")),N(f,"item-mobile",t[8]),u(_,"class","v-5r0p3"),N(_,"quality-title-mobile",t[8]),u(g,"class","item item-traffic-saving v-5r0p3"),u(g,"role","menuitem"),u(g,"tabindex","0"),u(g,"aria-label",`${Y("aria_label_submenu_traffic_saving_on")}. ${Y("traffic_saving_helper_text")}`),N(g,"item-mobile",t[8]),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[23]),N(c,"items-mobile",t[8]),u(k,"class","menu-divider v-5r0p3"),u(ne,"class","v-5r0p3"),u(V,"class","item item-helper-text v-5r0p3"),N(V,"item-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),N(e,"menu-desktop",!t[8]),N(e,"menu-mobile",t[8])},m(ie,O){E(ie,e,O),p(e,i),F(n,i,null),p(i,o),p(i,s),t[125](i),p(e,l),p(e,r),p(e,a),p(e,c),p(c,f),x&&x.m(f,null),p(f,m),p(f,h),p(c,v),p(c,g),I&&I.m(g,null),p(g,w),p(g,_),t[130](c),p(e,P),p(e,k),p(e,C),p(e,V),p(V,ne),M=!0,G||(B=[pe(i,"click",it(t[68])),pe(f,"click",it(t[126])),pe(f,"keydown",t[127]),pe(g,"click",it(t[128])),pe(g,"keydown",t[129]),pe(c,"keydown",t[90])],G=!0)},p(ie,O){(!M||O[0]&256)&&N(i,"item-mobile",ie[8]),ie[9]?x&&(de(),b(x,1,1,()=>{x=null}),me()):x?O[0]&512&&d(x,1):(x=Us(),x.c(),d(x,1),x.m(f,m)),(!M||O[0]&256)&&N(h,"quality-title-mobile",ie[8]),(!M||O[0]&256)&&N(f,"item-mobile",ie[8]),ie[9]?I?O[0]&512&&d(I,1):(I=qs(),I.c(),d(I,1),I.m(g,w)):I&&(de(),b(I,1,1,()=>{I=null}),me()),(!M||O[0]&256)&&N(_,"quality-title-mobile",ie[8]),(!M||O[0]&256)&&N(g,"item-mobile",ie[8]),(!M||O[0]&8388608)&&u(c,"style",ie[23]),(!M||O[0]&256)&&N(c,"items-mobile",ie[8]),(!M||O[0]&256)&&N(V,"item-mobile",ie[8]),(!M||O[0]&256)&&N(e,"menu-desktop",!ie[8]),(!M||O[0]&256)&&N(e,"menu-mobile",ie[8])},i(ie){M||(d(n.$$.fragment,ie),d(x),d(I),M=!0)},o(ie){b(n.$$.fragment,ie),b(x),b(I),M=!1},d(ie){ie&&T(e),H(n),t[125](null),x&&x.d(),I&&I.d(),t[130](null),G=!1,et(B)}}}function Us(t){let e,i,n;return i=new To({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),F(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function qs(t){let e,i,n;return i=new To({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),F(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function js(t){let e,i,n,o,s,l,r,a,c,f;n=new Dn({props:{direction:"left"}});let m=Ft(t[10]),h=[];for(let g=0;g<m.length;g+=1)h[g]=Ws(ks(t,m,g));const v=g=>b(h[g],1,1,()=>{h[g]=null});return{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=z(),s=A("div"),s.textContent=`${Y("subtitles_caption")}`,l=z(),r=A("ul");for(let g=0;g<h.length;g+=1)h[g].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),N(i,"item-mobile",t[8]),u(r,"class","items v-5r0p3"),u(r,"role","menu"),N(r,"items-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),N(e,"menu-desktop",!t[8]),N(e,"menu-mobile",t[8])},m(g,w){E(g,e,w),p(e,i),F(n,i,null),p(i,o),p(i,s),p(e,l),p(e,r);for(let _=0;_<h.length;_+=1)h[_]&&h[_].m(r,null);t[133](r),a=!0,c||(f=[pe(i,"click",it(t[68])),pe(r,"keydown",t[87])],c=!0)},p(g,w){if((!a||w[0]&256)&&N(i,"item-mobile",g[8]),w[0]&1280|w[2]&67108896){m=Ft(g[10]);let _;for(_=0;_<m.length;_+=1){const P=ks(g,m,_);h[_]?(h[_].p(P,w),d(h[_],1)):(h[_]=Ws(P),h[_].c(),d(h[_],1),h[_].m(r,null))}for(de(),_=m.length;_<h.length;_+=1)v(_);me()}(!a||w[0]&256)&&N(r,"items-mobile",g[8]),(!a||w[0]&256)&&N(e,"menu-desktop",!g[8]),(!a||w[0]&256)&&N(e,"menu-mobile",g[8])},i(g){if(!a){d(n.$$.fragment,g);for(let w=0;w<m.length;w+=1)d(h[w]);a=!0}},o(g){b(n.$$.fragment,g),h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)b(h[w]);a=!1},d(g){g&&T(e),H(n),hn(h,g),t[133](null),c=!1,et(f)}}}function Zs(t){let e,i,n;return i=new To({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),F(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function Ws(t){let e,i,n,o=t[142].displayValue+"",s,l,r,a,c,f,m,h=t[142].selected&&Zs();function v(){return t[131](t[142])}function g(...w){return t[132](t[142],...w)}return{c(){e=A("li"),h&&h.c(),i=z(),n=A("div"),s=Re(o),l=z(),u(n,"class","v-5r0p3"),N(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",r=t[142].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=t[142].displayValue),N(e,"item-mobile",t[8])},m(w,_){E(w,e,_),h&&h.m(e,null),p(e,i),p(e,n),p(n,s),p(e,l),c=!0,f||(m=[pe(e,"click",it(v)),pe(e,"keydown",g)],f=!0)},p(w,_){t=w,t[142].selected?h?_[0]&1024&&d(h,1):(h=Zs(),h.c(),d(h,1),h.m(e,i)):h&&(de(),b(h,1,1,()=>{h=null}),me()),(!c||_[0]&1024)&&o!==(o=t[142].displayValue+"")&&Xe(s,o),(!c||_[0]&256)&&N(n,"quality-title-mobile",t[8]),(!c||_[0]&1024&&r!==(r=t[142].value))&&u(e,"data-value",r),(!c||_[0]&1024&&a!==(a=t[142].displayValue))&&u(e,"aria-label",a),(!c||_[0]&256)&&N(e,"item-mobile",t[8])},i(w){c||(d(h),c=!0)},o(w){b(h),c=!1},d(w){w&&T(e),h&&h.d(),f=!1,et(m)}}}function bd(t){let e,i,n,o,s,l,r=t[14]&&Ss(t),a=t[16]&&Bs(t),c=t[17]&&zs(t),f=t[19]&&Hs(t),m=t[18]&&js(t);return{c(){e=A("div"),r&&r.c(),i=z(),a&&a.c(),n=z(),c&&c.c(),o=z(),f&&f.c(),s=z(),m&&m.c(),u(e,"class","v-5r0p3"),N(e,"hidden",!t[14]),N(e,"container-mobile",t[8])},m(h,v){E(h,e,v),r&&r.m(e,null),p(e,i),a&&a.m(e,null),p(e,n),c&&c.m(e,null),p(e,o),f&&f.m(e,null),p(e,s),m&&m.m(e,null),l=!0},p(h,v){h[14]?r?(r.p(h,v),v[0]&16384&&d(r,1)):(r=Ss(h),r.c(),d(r,1),r.m(e,i)):r&&(de(),b(r,1,1,()=>{r=null}),me()),h[16]?a?(a.p(h,v),v[0]&65536&&d(a,1)):(a=Bs(h),a.c(),d(a,1),a.m(e,n)):a&&(de(),b(a,1,1,()=>{a=null}),me()),h[17]?c?(c.p(h,v),v[0]&131072&&d(c,1)):(c=zs(h),c.c(),d(c,1),c.m(e,o)):c&&(de(),b(c,1,1,()=>{c=null}),me()),h[19]?f?(f.p(h,v),v[0]&524288&&d(f,1)):(f=Hs(h),f.c(),d(f,1),f.m(e,s)):f&&(de(),b(f,1,1,()=>{f=null}),me()),h[18]?m?(m.p(h,v),v[0]&262144&&d(m,1)):(m=js(h),m.c(),d(m,1),m.m(e,null)):m&&(de(),b(m,1,1,()=>{m=null}),me()),(!l||v[0]&16384)&&N(e,"hidden",!h[14]),(!l||v[0]&256)&&N(e,"container-mobile",h[8])},i(h){l||(d(r),d(a),d(c),d(f),d(m),l=!0)},o(h){b(r),b(a),b(c),b(f),b(m),l=!1},d(h){h&&T(e),r&&r.d(),a&&a.d(),c&&c.d(),f&&f.d(),m&&m.d()}}}const ol=18;function _d(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k,C,V,ne,M,G,B,x,I,{ref:ie=void 0}=e,{supportLink:O}=e,{playerControlsHeight:X=0}=e,{returnFocus:se}=e;const S=ct(),le=nn(),W=S.state.currentQuality$;D(t,W,ee=>i(103,w=ee));const oe=S.state.availableQualities$;D(t,oe,ee=>i(12,v=ee));const ke=S.state.autoQualityLimitingAvailable$;D(t,ke,ee=>i(107,C=ee));const qe=S.state.isAutoQualityEnabled$;D(t,qe,ee=>i(104,_=ee));const je=S.state.currentPlaybackRate$;D(t,je,ee=>i(13,g=ee));const Ie=S.state.availablePlaybackRates$;D(t,Ie,ee=>i(11,m=ee));const Se=S.state.currentSubtitle$;D(t,Se,ee=>i(37,x=ee));const ce=S.state.availableSubtitlesList$;D(t,ce,ee=>i(10,c=ee));const K=S.state.canDownload,ue=S.state.hasMpegSources$;D(t,ue,ee=>i(108,V=ee));const _e=S.ui.settingsMenuVisible;D(t,_e,ee=>i(14,B=ee));const $=S.ui.settingsMenuOpenedByKeyboard;D(t,$,ee=>i(135,o=ee));const Pe=S.ui.isMobile;D(t,Pe,ee=>i(8,s=ee));const Ee=S.ui.mobileNotReportControlHidden$;D(t,Ee,ee=>i(105,P=ee));const Be=S.state.canChangePlaybackSpeed$;D(t,Be,ee=>i(106,k=ee));const ae=S.ui.isFullscreen;D(t,ae,ee=>i(111,G=ee));const ve=S.state.trafficSavingEnabled$;D(t,ve,ee=>i(9,r=ee));const J=S.ui.playerSize;D(t,J,ee=>i(110,M=ee));const Q=S.ui.debugPanelVisible;D(t,Q,ee=>i(38,I=ee));const De=S.ui.playerSize;D(t,De,ee=>i(109,ne=ee));const tt=S.state.isInteractiveTime$,Je=S.actions.internal.downloadVideo,Ce=S.actions.internal.closeSettingsMenu;let Ge=!0,xe=!1,ft=!1,_t=!1,Ue=!1,Ve=!1;function vt(){o||se?.(),Ce(),Ve=!1}function Mt(){i(15,Ge=!1),i(16,xe=!0)}function Xt(){i(15,Ge=!1),i(19,Ue=!0)}function Ht(ee){S.actions.internal.setQuality(ee),vt()}function fe(ee){S.actions.internal.setTrafficSavingEnabled(ee),vt()}function ht(){i(15,Ge=!1),i(17,ft=!0)}function gt(ee){S.actions.internal.setPlaybackRate(ee),vt()}function dt(){i(15,Ge=!1),i(18,_t=!0)}function st(ee){S.actions.internal.setSubtitle(ee),vt()}function kt(){i(15,Ge=!0),i(16,xe=!1),i(17,ft=!1),i(18,_t=!1),i(19,Ue=!1)}function St(){Je(),vt()}function si(){window.open(O,"_blank"),vt(),S.actions.internal.pause()}function Di(){pl(S.actions.internal.getDebugTextData()),vt()}function Ut(){Q.set(!0),vt()}function Fi(){Ve=!0}function Ki(){Ve=!1}function Jt(ee,$e,bt){if(!ee)return"...";const ni=$e.find(on=>on.value===ee),Qi=ni?ni.displayValue:ee;return bt?ee===Qe.VideoQuality.INVARIANT?Y("auto_quality_invariant"):Y("auto_quality",{actual:Qi}):Qi}let Vi,Mi,Bt,xt,ri,qt,ai,jt,pi,Bi,pt,ui,hi,gi,Nt,bi,$t,ei=Ae(!1);D(t,ei,ee=>i(102,h=ee));let Pt,_i,Rt=Ae(!1);D(t,Rt,ee=>i(101,f=ee));let rt,Tt,Ni=Ae(!1);D(t,Ni,ee=>i(100,a=ee));let vi,wi,ti=Ae(!1);D(t,ti,ee=>i(99,l=ee));const Zt=ee=>{B1(ee,Ce)},Hi=async ee=>{zo(ee,Mt,()=>{const $e=v.findIndex(bt=>bt.selected);return $t.childNodes[$e]})},Et=async ee=>{Do(ee,kt,ei,Ce)},wt=(ee,$e)=>{Xi(ee,()=>Ht($e))},yt=async ee=>{zo(ee,ht,()=>{const $e=m.findIndex(bt=>bt.selected);return _i.childNodes[$e]})},At=async ee=>{Do(ee,kt,Rt,Ce)},Ui=(ee,$e)=>{Xi(ee,()=>gt($e))},Wt=async ee=>{zo(ee,dt,()=>{const $e=c.findIndex(bt=>bt.selected);return Tt.childNodes[$e]})},ki=async ee=>{Do(ee,kt,Ni,Ce)},Ri=(ee,$e)=>{Xi(ee,()=>st($e))},yi=async ee=>{zo(ee,Xt,()=>{const $e=r?2:0;return wi.childNodes[$e]})},Gi=async ee=>{Do(ee,kt,ti,Ce)},Ci=(ee,$e)=>{Xi(ee,()=>fe($e))},ci=ee=>{Xi(ee,()=>St())},fi=ee=>{Xi(ee,()=>si())},Si=ee=>{Xi(ee,()=>Di())},Pi=ee=>{Xi(ee,()=>Ut())};tn(()=>{const ee=tt.subscribe($e=>{$e&&!s&&!Ve&&!o&&vt()});return()=>{ee()}});function Ti(ee){we[ee?"unshift":"push"](()=>{bi=ee,i(4,bi)})}function Le(ee){we[ee?"unshift":"push"](()=>{Pt=ee,i(5,Pt)})}function qi(ee){we[ee?"unshift":"push"](()=>{rt=ee,i(6,rt)})}function ji(ee){we[ee?"unshift":"push"](()=>{vi=ee,i(7,vi)})}function Ei(ee){we[ee?"unshift":"push"](()=>{ie=ee,i(0,ie)})}function Zi(ee){we[ee?"unshift":"push"](()=>{Mi=ee,i(1,Mi)})}const Ai=ee=>Ht(ee.value),Oe=(ee,$e)=>wt($e,ee.value);function di(ee){we[ee?"unshift":"push"](()=>{$t=ee,i(32,$t)})}function Li(ee){we[ee?"unshift":"push"](()=>{Bt=ee,i(2,Bt)})}const Ot=ee=>gt(ee.value),zt=(ee,$e)=>Ui($e,ee.value);function ii(ee){we[ee?"unshift":"push"](()=>{_i=ee,i(33,_i)})}function Ji(ee){we[ee?"unshift":"push"](()=>{xt=ee,i(3,xt)})}const Oi=()=>fe(!1),xi=ee=>Ci(ee,!1),$i=()=>fe(!0),Yi=ee=>Ci(ee,!0);function Ii(ee){we[ee?"unshift":"push"](()=>{wi=ee,i(35,wi)})}const Wi=ee=>st(ee),zi=(ee,$e)=>Ri($e,ee);function en(ee){we[ee?"unshift":"push"](()=>{Tt=ee,i(34,Tt)})}return t.$$set=ee=>{"ref"in ee&&i(0,ie=ee.ref),"supportLink"in ee&&i(96,O=ee.supportLink),"playerControlsHeight"in ee&&i(97,X=ee.playerControlsHeight),"returnFocus"in ee&&i(98,se=ee.returnFocus)},t.$$.update=()=>{if(t.$$.dirty[0]&16384&&B&&(i(15,Ge=!0),i(16,xe=!1),i(17,ft=!1),i(18,_t=!1),i(19,Ue=!1)),t.$$.dirty[3]&1024&&i(36,n=po(w)),t.$$.dirty[0]&4096|t.$$.dirty[3]&3072&&i(20,Vi=Jt(w,v,_)),t.$$.dirty[0]&258|t.$$.dirty[3]&458768)if(s&&G)i(21,ri=`max-height: ${Math.round(M.height*.6)}px`);else if(s)i(21,ri="");else{const ee=ne.height-ol-(Mi?.clientHeight??0)-X;i(21,ri=`max-height: ${ee}px; overflow: auto;`)}if(t.$$.dirty[0]&260|t.$$.dirty[3]&65552)if(s)i(22,qt="");else{const ee=ne.height-ol-(Bt?.clientHeight??0)-X;i(22,qt=`max-height: ${ee}px; overflow: auto;`)}if(t.$$.dirty[0]&264|t.$$.dirty[3]&65552)if(s)i(23,ai="");else{const ee=ne.height-ol-(xt?.clientHeight??0)-X;i(23,ai=`max-height: ${ee}px; overflow: auto;`)}t.$$.dirty[3]&36864&&i(24,jt=K&&V&&!P),t.$$.dirty[3]&20480&&i(25,pi=le.features.trafficSaving&&!P&&C),t.$$.dirty[0]&1024|t.$$.dirty[3]&4096&&i(26,Bi=c.length>0&&!P),t.$$.dirty[3]&12288&&i(27,pt=!!k&&!P),t.$$.dirty[3]&4096&&i(28,ui=!P),t.$$.dirty[0]&512&&i(29,hi=Y(r?"traffic_saving_on":"traffic_saving_off")),t.$$.dirty[3]&3072&&i(30,gi=_?Y("auto_quality_option"):w),t.$$.dirty[0]&10240&&i(31,Nt=m.find(ee=>ee.value===g)?.displayValue),t.$$.dirty[0]&16|t.$$.dirty[3]&512&&Oo(bi,ei,h),t.$$.dirty[0]&32|t.$$.dirty[3]&256&&Oo(Pt,Rt,f),t.$$.dirty[0]&64|t.$$.dirty[3]&128&&Oo(rt,Ni,a),t.$$.dirty[0]&128|t.$$.dirty[3]&64&&Oo(vi,ti,l)},[ie,Mi,Bt,xt,bi,Pt,rt,vi,s,r,c,m,v,g,B,Ge,xe,ft,_t,Ue,Vi,ri,qt,ai,jt,pi,Bi,pt,ui,hi,gi,Nt,$t,_i,Tt,wi,n,x,I,le,W,oe,ke,qe,je,Ie,Se,ce,ue,_e,$,Pe,Ee,Be,ae,ve,J,Q,De,vt,Mt,Xt,Ht,fe,ht,gt,dt,st,kt,St,si,Di,Ut,Fi,Ki,ei,Rt,Ni,ti,Zt,Hi,Et,wt,yt,At,Ui,Wt,ki,Ri,yi,Gi,Ci,ci,fi,Si,Pi,O,X,se,l,a,f,h,w,_,P,k,C,V,ne,M,G,Ti,Le,qi,ji,Ei,Zi,Ai,Oe,di,Li,Ot,zt,ii,Ji,Oi,xi,$i,Yi,Ii,Wi,zi,en]}class K1 extends be{constructor(e){super(),ge(this,e,_d,bd,he,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},hd,[-1,-1,-1,-1,-1])}}function vd(t){ze(t,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function wd(t){let e,i,n;return i=new Z1({props:{isMobile:t[3],currentQuality:t[4]}}),{c(){e=A("span"),U(i.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,s){E(o,e,s),F(i,e,null),n=!0},p(o,s){const l={};s&8&&(l.isMobile=o[3]),s&16&&(l.currentQuality=o[4]),i.$set(l)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function kd(t){let e,i,n;function o(l){t[9](l)}let s={className:t[1]?"opened":"",testId:"btn-settings",click:t[8],ariaLabel:t[2],ariaExpanded:t[1],$$slots:{default:[wd]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"opened":""),r&4&&(a.ariaLabel=l[2]),r&2&&(a.ariaExpanded=l[1]),r&4120&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function yd(t,e,i){let n,o,s,{ref:l=void 0}=e;const r=ct(),a=r.state.currentQuality$;D(t,a,w=>i(4,s=w));const c=r.ui.settingsMenuVisible;D(t,c,w=>i(1,n=w));const f=r.actions.internal.toggleSettingsMenu,m=r.ui.isMobile;D(t,m,w=>i(3,o=w));let h;function v(w){const _=wl(w);f(_)}function g(w){l=w,i(0,l)}return t.$$set=w=>{"ref"in w&&i(0,l=w.ref)},t.$$.update=()=>{t.$$.dirty&2&&i(2,h=Y(n?"tooltip_settings_on":"tooltip_settings_off"))},[l,n,h,o,s,a,c,m,v,g]}class Sl extends be{constructor(e){super(),ge(this,e,yd,kd,he,{ref:0},vd)}}function Cd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class Sd extends be{constructor(e){super(),ge(this,e,null,Cd,he,{})}}function Pd(t){let e,i;return e=new W1({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Td(t){let e,i;return e=new Sd({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ed(t){let e,i,n,o;const s=[Td,Pd],l=[];function r(a,c){return a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e!==f&&(de(),b(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i||(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){b(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function Ad(t){let e,i;return e=new mi({props:{testId:"btn-Subtitles",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Po[Te.KeyC],$$slots:{default:[Ed]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ld(t,e,i){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,s;return t.$$set=l=>{"isSubtitlesEnabled"in l&&i(0,n=l.isSubtitlesEnabled),"click"in l&&i(1,o=l.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,s=Y(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,s]}class Id extends be{constructor(e){super(),ge(this,e,Ld,Ad,he,{isSubtitlesEnabled:0,click:1})}}function Vd(t){ze(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 Ks(t){let e,i;return{c(){e=A("span"),i=Re(t[3]),u(e,"class","duration v-19o2urr")},m(n,o){E(n,e,o),p(e,i)},p(n,o){o&8&&Xe(i,n[3])},d(n){n&&T(e)}}}function Md(t){let e,i,n,o,s=t[2]&&Ks(t);return{c(){e=A("div"),i=A("span"),n=Re(t[4]),o=z(),s&&s.c(),u(i,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),N(e,"mobile",t[1])},m(l,r){E(l,e,r),p(e,i),p(i,n),p(e,o),s&&s.m(e,null),t[7](e)},p(l,[r]){r&16&&Xe(n,l[4]),l[2]?s?s.p(l,r):(s=Ks(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&2&&N(e,"mobile",l[1])},i:Z,o:Z,d(l){l&&T(e),s&&s.d(),t[7](null)}}}function Bd(t,e,i){let{isMobile:n=!1}=e,{duration:o}=e,{position:s}=e,{showDuration:l=!0}=e,{ref:r}=e,a,c;function f(m){we[m?"unshift":"push"](()=>{r=m,i(0,r)})}return t.$$set=m=>{"isMobile"in m&&i(1,n=m.isMobile),"duration"in m&&i(5,o=m.duration),"position"in m&&i(6,s=m.position),"showDuration"in m&&i(2,l=m.showDuration),"ref"in m&&i(0,r=m.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,a=Pn(o)),t.$$.dirty&64&&i(4,c=Pn(s))},[r,n,l,a,c,o,s,f]}class G1 extends be{constructor(e){super(),ge(this,e,Bd,Md,he,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},Vd)}}function Nd(t){ze(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 Rd(t){let e,i,n,o,s,l;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(s,"class","cross v-1n5yyua"),u(s,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"data-value",t[0]),u(e,"data-testid",l="volume-"+t[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(r,a){E(r,e,a),p(e,i),p(i,n),p(i,o),p(i,s)},p(r,[a]){a&1&&u(e,"data-value",r[0]),a&1&&l!==(l="volume-"+r[0]+"-icon")&&u(e,"data-testid",l)},i:Z,o:Z,d(r){r&&T(e)}}}function Od(t,e,i){let{volume:n=1}=e,{muted:o=!1}=e;const s=(r,a)=>a?"off":r>.5?"max":r>.2?"mid":r>0?"min":"off";let l;return t.$$set=r=>{"volume"in r&&i(1,n=r.volume),"muted"in r&&i(2,o=r.muted)},t.$$.update=()=>{t.$$.dirty&6&&i(0,l=s(n,o))},[l,n,o]}class Yo extends be{constructor(e){super(),ge(this,e,Od,Rd,he,{volume:1,muted:2},Nd)}}function zd(t){let e,i;const n=t[4].default,o=Tn(n,t,t[3],null);return{c(){e=A("div"),o&&o.c(),u(e,"class","overlay")},m(s,l){E(s,e,l),o&&o.m(e,null),t[5](e),i=!0},p(s,[l]){o&&o.p&&(!i||l&8)&&An(o,n,s,s[3],i?En(n,s[3],l,null):Ln(s[3]),null)},i(s){i||(d(o,s),i=!0)},o(s){b(o,s),i=!1},d(s){s&&T(e),o&&o.d(s),t[5](null)}}}function Dd(t,e,i){let n,{$$slots:o={},$$scope:s}=e;const r=ct().ui.overlayContainer$;D(t,r,h=>i(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};tn(()=>(f(n),()=>c(n)));function m(h){we[h?"unshift":"push"](()=>{a=h,i(0,a)})}return t.$$set=h=>{"$$scope"in h&&i(3,s=h.$$scope)},t.$$.update=()=>{t.$$.dirty&4&&f(n)},[a,r,n,s,o,m]}class Fd extends be{constructor(e){super(),ge(this,e,Dd,zd,he,{})}}function Hd(t){ze(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 Gs(t){let e,i;return e=new Fd({props:{$$slots:{default:[Ud]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&262387&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ud(t){let e,i,n,o,s,l,r;return{c(){e=A("div"),i=A("div"),n=Re(t[1]),o=z(),s=A("div"),u(i,"class","content v-1jbbzcj"),u(s,"class","tooltip-pointer v-1jbbzcj"),u(s,"style",l=`transform: translate(${t[5]}px, ${t[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",r=`transform: translate(${t[6]}px, ${t[7]}px);`),N(e,"active",t[0])},m(a,c){E(a,e,c),p(e,i),p(i,n),p(e,o),p(e,s),t[17](e)},p(a,c){c&2&&Xe(n,a[1]),c&32&&l!==(l=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(s,"style",l),c&192&&r!==(r=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",r),c&1&&N(e,"active",a[0])},d(a){a&&T(e),t[17](null)}}}function qd(t){let e,i,n,o,s,l;const r=t[15].default,a=Tn(r,t,t[18],null);let c=t[1]&&Gs(t);return{c(){e=A("div"),a&&a.c(),i=z(),c&&c.c(),n=lt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),N(e,"full-width",t[2])},m(f,m){E(f,e,m),a&&a.m(e,null),t[16](e),E(f,i,m),c&&c.m(f,m),E(f,n,m),o=!0,s||(l=[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])],s=!0)},p(f,[m]){a&&a.p&&(!o||m&262144)&&An(a,r,f,f[18],o?En(r,f[18],m,null):Ln(f[18]),null),(!o||m&4)&&N(e,"full-width",f[2]),f[1]?c?(c.p(f,m),m&2&&d(c,1)):(c=Gs(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(de(),b(c,1,1,()=>{c=null}),me())},i(f){o||(d(a,f),d(c),o=!0)},o(f){b(a,f),b(c),o=!1},d(f){f&&(T(e),T(i),T(n)),a&&a.d(f),t[16](null),c&&c.d(f),s=!1,et(l)}}}const Fo=5;function jd(t,e,i){let n,o,{$$slots:s={},$$scope:l}=e,{content:r=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:m=!1}=e,h,v,g,w=0,_=Fo,P=0,k=0;const C=nn(),V=ct(),ne=V.ui.playerSize;D(t,ne,S=>i(21,o=S));const M=V.ui.overlayContainer$;D(t,M,S=>i(20,n=S));const G=V.getLogger().createComponentLog("Tooltip component"),B=()=>{if(!n)return;const S=n.getBoundingClientRect(),le=h.getBoundingClientRect(),W=le.width,oe=v.clientWidth,ke=o.width,qe=(W-oe)/2,je=le.left+c-S.left;let Ie=je+qe;const Se=le.top+f-S.top;let ce=oe/2-Fo;const K=Ie<Bo,ue=Ie+oe>ke-Bo;K&&(Ie=Bo,ce=je+le.width/2-2.5*Fo),ue&&(Ie=ke-Bo-oe,ce=le.left-S.left+le.width/2-Ie-Fo),i(6,P=Ie),i(7,k=Se),i(5,w=ce)},x=()=>{try{if(!n||!h)return;B(),i(0,a=!0)}catch(S){G({message:String(S)})}},I=()=>{i(0,a=!1)},ie=()=>{v&&(g||(g=window.setTimeout(x,C.controls.hideTimeoutTooltips)),a&&x())},O=()=>{I(),window.clearTimeout(g),g=void 0};Wo(()=>window.clearTimeout(g));function X(S){we[S?"unshift":"push"](()=>{h=S,i(3,h)})}function se(S){we[S?"unshift":"push"](()=>{v=S,i(4,v)})}return t.$$set=S=>{"content"in S&&i(1,r=S.content),"active"in S&&i(0,a=S.active),"translateX"in S&&i(13,c=S.translateX),"translateY"in S&&i(14,f=S.translateY),"isFullWidthWrapper"in S&&i(2,m=S.isFullWidthWrapper),"$$scope"in S&&i(18,l=S.$$scope)},[a,r,m,h,v,w,P,k,_,ne,M,ie,O,c,f,s,X,se,l]}class Y1 extends be{constructor(e){super(),ge(this,e,jd,qd,he,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},Hd)}}function Zd(t){ze(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 Wd(t){let e;const i=t[16].default,n=Tn(i,t,t[21],null);return{c(){n&&n.c()},m(o,s){n&&n.m(o,s),e=!0},p(o,s){n&&n.p&&(!e||s&2097152)&&An(n,i,o,o[21],e?En(i,o[21],s,null):Ln(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){b(n,o),e=!1},d(o){n&&n.d(o)}}}function Kd(t){let e,i;return e=new Y1({props:{content:t[9],translateX:t[7],translateY:t[8],isFullWidthWrapper:t[4],$$slots:{default:[Gd]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&512&&(s.content=n[9]),o&128&&(s.translateX=n[7]),o&256&&(s.translateY=n[8]),o&16&&(s.isFullWidthWrapper=n[4]),o&2097152&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Gd(t){let e;const i=t[16].default,n=Tn(i,t,t[21],null);return{c(){n&&n.c()},m(o,s){n&&n.m(o,s),e=!0},p(o,s){n&&n.p&&(!e||s&2097152)&&An(n,i,o,o[21],e?En(i,o[21],s,null):Ln(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){b(n,o),e=!1},d(o){n&&n.d(o)}}}function Yd(t){let e,i,n,o,s,l,r,a,c;const f=[Kd,Wd],m=[];function h(v,g){return v[3]&&v[5]&&!v[10]?0:1}return i=h(t),n=m[i]=f[i](t),{c(){e=A("div"),n.c(),u(e,"class",o="btn-container "+t[2]+" v-p9r045"),u(e,"aria-hidden",s=t[6]||null),co(()=>t[20].call(e))},m(v,g){E(v,e,g),m[i].m(e,null),t[19](e),l=hl(e,t[20].bind(e)),r=!0,a||(c=[pe(e,"pointerdown",it(Qt(t[17]))),pe(e,"click",it(Qt(t[18])))],a=!0)},p(v,[g]){let w=i;i=h(v),i===w?m[i].p(v,g):(de(),b(m[w],1,1,()=>{m[w]=null}),me(),n=m[i],n?n.p(v,g):(n=m[i]=f[i](v),n.c()),d(n,1),n.m(e,null)),(!r||g&4&&o!==(o="btn-container "+v[2]+" v-p9r045"))&&u(e,"class",o),(!r||g&64&&s!==(s=v[6]||null))&&u(e,"aria-hidden",s)},i(v){r||(d(n),r=!0)},o(v){b(n),r=!1},d(v){v&&T(e),m[i].d(),t[19](null),l(),a=!1,et(c)}}}function Qd(t,e,i){let n,o,{$$slots:s={},$$scope:l}=e,{className:r=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:m=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:v=""}=e,{disabledTooltipContent:g=Y("tooltip_button_disabled")}=e,{isAriaHidden:w=!1}=e,{initialTranslateXPx:_=0}=e,{initialTranslateYPx:P=-18}=e;const k=ct(),C=k.ui.isMobile;D(t,C,I=>i(10,o=I));const V=k.state.graphIsOpened$;D(t,V,I=>i(15,n=I));let ne;function M(I){uo.call(this,t,I)}function G(I){uo.call(this,t,I)}function B(I){we[I?"unshift":"push"](()=>{f=I,i(0,f)})}function x(){m=this.clientWidth,i(1,m)}return t.$$set=I=>{"className"in I&&i(2,r=I.className),"disabled"in I&&i(13,a=I.disabled),"hasTooltip"in I&&i(3,c=I.hasTooltip),"ref"in I&&i(0,f=I.ref),"width"in I&&i(1,m=I.width),"isFullWidthTooltip"in I&&i(4,h=I.isFullWidthTooltip),"tooltipContent"in I&&i(5,v=I.tooltipContent),"disabledTooltipContent"in I&&i(14,g=I.disabledTooltipContent),"isAriaHidden"in I&&i(6,w=I.isAriaHidden),"initialTranslateXPx"in I&&i(7,_=I.initialTranslateXPx),"initialTranslateYPx"in I&&i(8,P=I.initialTranslateYPx),"$$scope"in I&&i(21,l=I.$$scope)},t.$$.update=()=>{t.$$.dirty&57376&&(a?i(9,ne=n?Y("tooltip_disabled_when_graph_on"):g):i(9,ne=v))},[f,m,r,c,h,v,w,_,P,ne,o,C,V,a,g,n,s,M,G,B,x,l]}class Vt extends be{constructor(e){super(),ge(this,e,Qd,Yd,he,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},Zd)}}function Xd(t){ze(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 Jd(t){let e,i,n,o,s;return i=new F1({props:{completed:!!t[0].completed}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${t[0].from+t[0].width/2}%`),co(()=>t[3].call(e)),N(e,"disabled",t[1])},m(l,r){E(l,e,r),F(i,e,null),o=hl(e,t[3].bind(e)),s=!0},p(l,r){const a={};r&1&&(a.completed=!!l[0].completed),i.$set(a),(!s||r&1&&n!==(n=`left: ${l[0].from+l[0].width/2}%`))&&u(e,"style",n),(!s||r&2)&&N(e,"disabled",l[1])},i(l){s||(d(i.$$.fragment,l),s=!0)},o(l){b(i.$$.fragment,l),s=!1},d(l){l&&T(e),H(i),o()}}}function xd(t){let e,i;return e=new Vt({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:[Jd]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.tooltipContent=Y(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(s.disabled=n[1]),o&4&&(s.width=n[2]||0),o&23&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function $d(t,e,i){let{videoEpisode:n}=e,{disabled:o}=e,s;function l(){s=this.clientWidth,i(2,s)}return t.$$set=r=>{"videoEpisode"in r&&i(0,n=r.videoEpisode),"disabled"in r&&i(1,o=r.disabled)},[n,o,s,l]}class e2 extends be{constructor(e){super(),ge(this,e,$d,xd,he,{videoEpisode:0,disabled:1},Xd)}}function t2(t){ze(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 Ys(t,e,i){const n=t.slice();return n[2]=e[i],n}function Qs(t){let e,i,n,o,s,l,r,a,c;return{c(){e=A("div"),i=A("div"),n=A("div"),s=z(),l=A("div"),a=z(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${t[2].loadedWidth/t[2].width*100}%)`),u(l,"class","video-episode-filled v-1h9p3m2"),u(l,"style",r=`transform: translateX(${t[2].filledWidth/t[2].width*100}%)`),N(l,"mobile",t[1]),u(i,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${t[2].from}%; width: ${t[2].width}%`),N(e,"mobile",t[1])},m(f,m){E(f,e,m),p(e,i),p(i,n),p(i,s),p(i,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&&r!==(r=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(l,"style",r),m&2&&N(l,"mobile",f[1]),m&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),m&2&&N(e,"mobile",f[1])},d(f){f&&T(e)}}}function i2(t){let e,i=Ft(t[0]),n=[];for(let o=0;o<i.length;o+=1)n[o]=Qs(Ys(t,i,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,s){E(o,e,s);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,[s]){if(s&3){i=Ft(o[0]);let l;for(l=0;l<i.length;l+=1){const r=Ys(o,i,l);n[l]?n[l].p(r,s):(n[l]=Qs(r),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},i:Z,o:Z,d(o){o&&T(e),hn(n,o)}}}function n2(t,e,i){let{videoEpisodes:n=[]}=e,{isMobile:o}=e;return t.$$set=s=>{"videoEpisodes"in s&&i(0,n=s.videoEpisodes),"isMobile"in s&&i(1,o=s.isMobile)},[n,o]}class o2 extends be{constructor(e){super(),ge(this,e,n2,i2,he,{videoEpisodes:0,isMobile:1},t2)}}function l2(t){ze(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 Xs(t,e,i){const n=t.slice();return n[48]=e[i],n}function Js(t){let e,i,n=Ft(t[21]),o=[];for(let l=0;l<n.length;l+=1)o[l]=$s(Xs(t,n,l));const s=l=>b(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"),N(e,"mobile",t[5]),N(e,"hidden",t[5]&&!t[20])},m(l,r){E(l,e,r);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);i=!0},p(l,r){if(r[0]&2097664){n=Ft(l[21]);let a;for(a=0;a<n.length;a+=1){const c=Xs(l,n,a);o[a]?(o[a].p(c,r),d(o[a],1)):(o[a]=$s(c),o[a].c(),d(o[a],1),o[a].m(e,null))}for(de(),a=n.length;a<o.length;a+=1)s(a);me()}(!i||r[0]&32)&&N(e,"mobile",l[5]),(!i||r[0]&1048608)&&N(e,"hidden",l[5]&&!l[20])},i(l){if(!i){for(let r=0;r<n.length;r+=1)d(o[r]);i=!0}},o(l){o=o.filter(Boolean);for(let r=0;r<o.length;r+=1)b(o[r]);i=!1},d(l){l&&T(e),hn(o,l)}}}function xs(t){let e,i;return e=new e2({props:{videoEpisode:t[48],disabled:t[9]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisode=n[48]),o[0]&512&&(s.disabled=n[9]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function $s(t){let e,i,n=t[48].interactive&&xs(t);return{c(){n&&n.c(),e=lt()},m(o,s){n&&n.m(o,s),E(o,e,s),i=!0},p(o,s){o[48].interactive?n?(n.p(o,s),s[0]&2097152&&d(n,1)):(n=xs(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(de(),b(n,1,1,()=>{n=null}),me())},i(o){i||(d(n),i=!0)},o(o){b(n),i=!1},d(o){o&&T(e),n&&n.d(o)}}}function s2(t){let e,i,n,o,s,l;return{c(){e=A("div"),i=A("div"),o=z(),s=A("div"),u(i,"class","loaded v-1golz1y"),u(i,"style",n=`transform: translateX(${t[11]*100}%);`),u(s,"class","filled v-1golz1y"),u(s,"style",l=`transform: translateX(${t[12]*100}%);`),N(s,"active-live",t[4]),N(s,"ads",t[6]),u(e,"class","bars v-1golz1y")},m(r,a){E(r,e,a),p(e,i),p(e,o),p(e,s)},p(r,a){a[0]&2048&&n!==(n=`transform: translateX(${r[11]*100}%);`)&&u(i,"style",n),a[0]&4096&&l!==(l=`transform: translateX(${r[12]*100}%);`)&&u(s,"style",l),a[0]&16&&N(s,"active-live",r[4]),a[0]&64&&N(s,"ads",r[6])},i:Z,o:Z,d(r){r&&T(e)}}}function r2(t){let e,i;return e=new o2({props:{videoEpisodes:t[21],isMobile:t[5]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisodes=n[21]),o[0]&32&&(s.isMobile=n[5]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function a2(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g=t[8]&&Js(t);const w=[r2,s2],_=[];function P(k,C){return k[21].length?0:1}return n=P(t),o=_[n]=w[n](t),{c(){g&&g.c(),e=z(),i=A("div"),o.c(),s=z(),l=A("div"),r=A("div"),u(r,"class","handle v-1golz1y"),N(r,"active-live",t[4]),u(l,"class","handleWrap v-1golz1y"),u(l,"style",a=`transform: translateX(${t[13]*100}%);`),N(l,"hidden",t[10]),u(i,"class",c="slider "+t[0]+" v-1golz1y"),u(i,"aria-label",t[14]),u(i,"aria-valuemin",t[15]),u(i,"aria-valuemax",t[16]),u(i,"aria-valuenow",t[17]),u(i,"aria-valuetext",t[18]),u(i,"role","slider"),u(i,"tabindex","0"),u(i,"data-testid",f=t[1]??null),N(i,"disabled",t[9]),N(i,"slider-dragging",t[20]),N(i,"hidden",t[2]),N(i,"slider-vertical",t[3]),N(i,"no-handle",t[10]),N(i,"square",t[7])},m(k,C){g&&g.m(k,C),E(k,e,C),E(k,i,C),_[n].m(i,null),p(i,s),p(i,l),p(l,r),t[42](i),m=!0,h||(v=[pe(i,"pointerdown",Qt(t[22])),pe(i,"pointermove",Qt(t[23])),pe(i,"pointerup",Qt(t[24])),pe(i,"pointerenter",Qt(t[25])),pe(i,"pointerleave",Qt(t[26])),pe(i,"click",it(te.noop)),pe(i,"wheel",t[27])],h=!0)},p(k,C){k[8]?g?(g.p(k,C),C[0]&256&&d(g,1)):(g=Js(k),g.c(),d(g,1),g.m(e.parentNode,e)):g&&(de(),b(g,1,1,()=>{g=null}),me());let V=n;n=P(k),n===V?_[n].p(k,C):(de(),b(_[V],1,1,()=>{_[V]=null}),me(),o=_[n],o?o.p(k,C):(o=_[n]=w[n](k),o.c()),d(o,1),o.m(i,s)),(!m||C[0]&16)&&N(r,"active-live",k[4]),(!m||C[0]&8192&&a!==(a=`transform: translateX(${k[13]*100}%);`))&&u(l,"style",a),(!m||C[0]&1024)&&N(l,"hidden",k[10]),(!m||C[0]&1&&c!==(c="slider "+k[0]+" v-1golz1y"))&&u(i,"class",c),(!m||C[0]&16384)&&u(i,"aria-label",k[14]),(!m||C[0]&32768)&&u(i,"aria-valuemin",k[15]),(!m||C[0]&65536)&&u(i,"aria-valuemax",k[16]),(!m||C[0]&131072)&&u(i,"aria-valuenow",k[17]),(!m||C[0]&262144)&&u(i,"aria-valuetext",k[18]),(!m||C[0]&2&&f!==(f=k[1]??null))&&u(i,"data-testid",f),(!m||C[0]&513)&&N(i,"disabled",k[9]),(!m||C[0]&1048577)&&N(i,"slider-dragging",k[20]),(!m||C[0]&5)&&N(i,"hidden",k[2]),(!m||C[0]&9)&&N(i,"slider-vertical",k[3]),(!m||C[0]&1025)&&N(i,"no-handle",k[10]),(!m||C[0]&129)&&N(i,"square",k[7])},i(k){m||(d(g),d(o),m=!0)},o(k){b(g),b(o),m=!1},d(k){k&&(T(e),T(i)),g&&g.d(k),_[n].d(),t[42](null),h=!1,et(v)}}}function u2(t,e,i){let n,o,{className:s=""}=e,{testId:l=void 0}=e,{isHidden:r=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:m=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:v=[]}=e,{withWheelHandler:g=!1}=e,{isInteractive:w=!1}=e,{disabled:_=!1}=e,{hideHandel:P=!1}=e,k,C,{onPointerDown:V=te.noop}=e,{onHandleMove:ne=te.noop}=e,{onPointerUp:M=te.noop}=e,{onPointerEnter:G=te.noop}=e,{onPointerMove:B=te.noop}=e,{onPointerLeave:x=te.noop}=e,{onWheelUp:I=te.noop}=e,{onWheelDown:ie=te.noop}=e,{onWheelLeft:O=te.noop}=e,{onWheelRight:X=te.noop}=e,{loadedProgress:se=0}=e,{filledProgress:S=0}=e,{handleProgress:le=0}=e,{ariaLabel:W=""}=e,{ariaValueMin:oe=void 0}=e,{ariaValueMax:ke=void 0}=e,{ariaValueNow:qe=void 0}=e,{ariaValueText:je=""}=e;const Ie=nn();let Se=!1,ce;function K(Q){if(Se)return;i(20,Se=!0),C=k.getBoundingClientRect();const De=Be(Q.clientX,Q.clientY);V(De),k.setPointerCapture(Q.pointerId)}function ue(Q){const De=Be(Q.clientX,Q.clientY),tt=ae(Q.clientX);B(De,tt,C.width),Se&&ne(De)}function _e(Q){if(!Se)return;i(20,Se=!1);const De=Be(Q.clientX,Q.clientY);M(De)}function $(Q){C=k.getBoundingClientRect();const De=Be(Q.clientX,Q.clientY),tt=ae(Q.clientX);G(De,tt,C.width)}function Pe(){x()}function Ee(Q){g&&(Q.preventDefault(),Q.deltaY<0?I():Q.deltaY>0?ie():Q.deltaX>0?X():O())}function Be(Q,De){return a?Math.max(0,Math.min(1,(C.height-(De-C.top))/C.height)):Math.min(Math.max(Q-C.x,0),C.width)/C.width}function ae(Q){return Math.min(Math.max(Q-C.x,0),C.width)}function ve(Q,De){const tt=Ie.features.episodesClustering&&!w?Ie.episodeMinWidthPc:0,Je=[];let Ce=0,Ge=0,xe=0;for(let Ue=1;Ue<v.length;Ue++)Ge=v[Ue].time/ce*100,Ge-Ce>tt&&(Je.push({from:Ce,width:Math.max(0,Ge-Ce),loadedWidth:Math.max(0,Math.min(Ge,Q)-Ce),filledWidth:Math.max(0,Math.min(Ge,De)-Ce),interactive:v[Ue-1].interactive,completed:v[Ue-1].completed}),Ce=v[Ue].time/ce*100,xe++);const ft={from:Ce,width:Math.max(0,100-Ce),loadedWidth:Math.max(0,Math.min(Q,100)-Ce),filledWidth:Math.max(0,Math.min(De,100)-Ce),interactive:v[xe].interactive,completed:v[xe].completed};100-Ce<tt?(xe-=1,Je[xe].width+=100-Ce,Je[xe].loadedWidth+=Math.max(0,Math.min(Q,100)-Ce),Je[xe].filledWidth+=Math.max(0,Math.min(De,100)-Ce)):Je[xe]=ft;const _t=v[0].time;if(_t!==0){const Ue=_t/ce*100;Je.unshift({from:0,width:Ue,loadedWidth:Math.min(Ue,Q),filledWidth:Math.min(Ue,De)})}return Je}function J(Q){we[Q?"unshift":"push"](()=>{k=Q,i(19,k)})}return t.$$set=Q=>{"className"in Q&&i(0,s=Q.className),"testId"in Q&&i(1,l=Q.testId),"isHidden"in Q&&i(2,r=Q.isHidden),"isVertical"in Q&&i(3,a=Q.isVertical),"isActiveLive"in Q&&i(4,c=Q.isActiveLive),"isMobile"in Q&&i(5,f=Q.isMobile),"isAds"in Q&&i(6,m=Q.isAds),"squareBorders"in Q&&i(7,h=Q.squareBorders),"videoEpisodes"in Q&&i(28,v=Q.videoEpisodes),"withWheelHandler"in Q&&i(29,g=Q.withWheelHandler),"isInteractive"in Q&&i(8,w=Q.isInteractive),"disabled"in Q&&i(9,_=Q.disabled),"hideHandel"in Q&&i(10,P=Q.hideHandel),"onPointerDown"in Q&&i(30,V=Q.onPointerDown),"onHandleMove"in Q&&i(31,ne=Q.onHandleMove),"onPointerUp"in Q&&i(32,M=Q.onPointerUp),"onPointerEnter"in Q&&i(33,G=Q.onPointerEnter),"onPointerMove"in Q&&i(34,B=Q.onPointerMove),"onPointerLeave"in Q&&i(35,x=Q.onPointerLeave),"onWheelUp"in Q&&i(36,I=Q.onWheelUp),"onWheelDown"in Q&&i(37,ie=Q.onWheelDown),"onWheelLeft"in Q&&i(38,O=Q.onWheelLeft),"onWheelRight"in Q&&i(39,X=Q.onWheelRight),"loadedProgress"in Q&&i(11,se=Q.loadedProgress),"filledProgress"in Q&&i(12,S=Q.filledProgress),"handleProgress"in Q&&i(13,le=Q.handleProgress),"ariaLabel"in Q&&i(14,W=Q.ariaLabel),"ariaValueMin"in Q&&i(15,oe=Q.ariaValueMin),"ariaValueMax"in Q&&i(16,ke=Q.ariaValueMax),"ariaValueNow"in Q&&i(17,qe=Q.ariaValueNow),"ariaValueText"in Q&&i(18,je=Q.ariaValueText)},t.$$.update=()=>{t.$$.dirty[0]&65536&&i(40,ce=ke??0),t.$$.dirty[0]&268435456|t.$$.dirty[1]&512&&i(41,n=v[v.length-1]?.time<ce),t.$$.dirty[0]&268441600|t.$$.dirty[1]&1536&&i(21,o=v.length&&n&&ce?ve(se*100,S*100):[])},[s,l,r,a,c,f,m,h,w,_,P,se,S,le,W,oe,ke,qe,je,k,Se,o,K,ue,_e,$,Pe,Ee,v,g,V,ne,M,G,B,x,I,ie,O,X,ce,n,J]}class Pl extends be{constructor(e){super(),ge(this,e,u2,a2,he,{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},l2,[-1,-1])}}const mn=(t,e)=>mo[t]>=mo[e],c2=(t,e)=>mo[t]<mo[e],Q1=(t,e)=>mo[t]<=mo[e],f2=t=>t>so.L?exports.GridTypes.XL:t>so.M?exports.GridTypes.L:t>so.S?exports.GridTypes.M:t>so.XS?exports.GridTypes.S:exports.GridTypes.XS;function d2(t){ze(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 m2(t){let e,i;return e=new Yo({props:{volume:t[4],muted:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&16&&(s.volume=n[4]),o[0]&4&&(s.muted=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function p2(t){let e,i;return e=new mi({props:{className:"btn-full-opacity",disabled:!t[0],testId:t[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:t[7],click:t[1],ariaKeyShortCut:Po[Te.KeyM],$$slots:{default:[m2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&1&&(s.disabled=!n[0]),o[0]&8&&(s.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(s.ariaLabel=n[7]),o[0]&2&&(s.click=n[1]),o[0]&20|o[1]&1&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function er(t){let e,i,n;return i=new Pl({props:{className:t[3]?"volumeBar-slider-vertical":"",isHidden:t[3]&&!t[5],isVertical:t[3],withWheelHandler:!0,onWheelUp:t[13],onWheelDown:t[14],onPointerDown:t[12],onHandleMove:t[15],onPointerUp:t[16],onPointerEnter:t[3]?t[17]:te.noop,onPointerLeave:t[3]?t[18]: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[3]?"volume-slider-vertical":"volume-slider"}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),N(e,"volumeBar-vertical",t[3])},m(o,s){E(o,e,s),F(i,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.className=o[3]?"volumeBar-slider-vertical":""),s[0]&40&&(l.isHidden=o[3]&&!o[5]),s[0]&8&&(l.isVertical=o[3]),s[0]&8&&(l.onPointerEnter=o[3]?o[17]:te.noop),s[0]&8&&(l.onPointerLeave=o[3]?o[18]:te.noop),s[0]&256&&(l.ariaValueNow=Math.round(o[8]*100)),s[0]&256&&(l.ariaValueText=`${Math.round(o[8]*100)}%`),s[0]&256&&(l.filledProgress=o[8]),s[0]&256&&(l.handleProgress=o[8]),s[0]&8&&(l.testId=o[3]?"volume-slider-vertical":"volume-slider"),i.$set(l),(!n||s[0]&8)&&N(e,"volumeBar-vertical",o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function h2(t){let e,i,n,o,s,l;i=new Y1({props:{content:t[6],translateY:-18,$$slots:{default:[p2]},$$scope:{ctx:t}}});let r=t[0]&&er(t);return{c(){e=A("div"),U(i.$$.fragment),n=z(),r&&r.c(),u(e,"class","volumeBar-container v-1l78lz9"),N(e,"vertical",t[3])},m(a,c){E(a,e,c),F(i,e,null),p(e,n),r&&r.m(e,null),o=!0,s||(l=[pe(e,"mouseenter",function(){pn(t[3]?t[19]:te.noop)&&(t[3]?t[19]:te.noop).apply(this,arguments)}),pe(e,"mouseleave",function(){pn(t[3]?t[20]:te.noop)&&(t[3]?t[20]:te.noop).apply(this,arguments)}),pe(e,"wheel",Qt(t[21]))],s=!0)},p(a,c){t=a;const f={};c[0]&64&&(f.content=t[6]),c[0]&159|c[1]&1&&(f.$$scope={dirty:c,ctx:t}),i.$set(f),t[0]?r?(r.p(t,c),c[0]&1&&d(r,1)):(r=er(t),r.c(),d(r,1),r.m(e,null)):r&&(de(),b(r,1,1,()=>{r=null}),me()),(!o||c[0]&8)&&N(e,"vertical",t[3])},i(a){o||(d(i.$$.fragment,a),d(r),o=!0)},o(a){b(i.$$.fragment,a),b(r),o=!1},d(a){a&&T(e),H(i),r&&r.d(),s=!1,et(l)}}}function g2(t,e,i){let n,o,s,{isAudioAvailable:l=!0}=e,{click:r}=e;const a=ct(),c=nn(),f=a.state.volume$;D(t,f,oe=>i(4,n=oe));const m=a.state.muted$;D(t,m,oe=>i(23,s=oe));const h=a.actions.internal.setVolume,v=a.ui.currentGridType$;D(t,v,oe=>i(22,o=oe));let g=!1,w,_,P,k,C,V,ne=1,M=!1;function G(oe){ne=n,h(oe)}function B(){z1(a,n,c.controls.volumeStepWheel)}function x(){D1(a,n,c.controls.volumeStepWheel)}function I(oe){h(oe)}function ie(oe){const ke=oe;h(ke,ke===0?ne:ke)}function O(){M=!0}function X(){M=!1,le()}function se(){clearTimeout(w),i(5,g=!0)}function S(){le()}function le(){w=window.setTimeout(()=>{M||i(5,g=!1)},c.controls.volumeBarTimeout)}function W(oe){oe.deltaY<0?B():oe.deltaY>0&&x()}return t.$$set=oe=>{"isAudioAvailable"in oe&&i(0,l=oe.isAudioAvailable),"click"in oe&&i(1,r=oe.click)},t.$$.update=()=>{t.$$.dirty[0]&8388609&&i(2,k=!l||s),t.$$.dirty[0]&4194304&&i(3,C=Q1(o,exports.GridTypes.S)),t.$$.dirty[0]&12&&(C?i(6,_=""):i(6,_=Y(k?"tooltip_volume":"tooltip_volume_muted")),i(7,P=Y(k?"tooltip_volume":"tooltip_volume_muted"))),t.$$.dirty[0]&20&&i(8,V=k?0:n)},[l,r,k,C,n,g,_,P,V,f,m,v,G,B,x,I,ie,O,X,se,S,W,o,s]}class b2 extends be{constructor(e){super(),ge(this,e,g2,h2,he,{isAudioAvailable:0,click:1},d2,[-1,-1])}}function _2(t){let e;return{c(){e=R("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(i,n){E(i,e,n)},d(i){i&&T(e)}}}function v2(t){let e;return{c(){e=R("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(i,n){E(i,e,n)},d(i){i&&T(e)}}}function w2(t){let e,i,n;function o(r,a){return r[0]?v2:_2}let s=o(t),l=s(t);return{c(){e=R("svg"),i=R("g"),l.c(),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(r,a){E(r,e,a),p(e,i),l.m(i,null)},p(r,[a]){s!==(s=o(r))&&(l.d(1),l=s(r),l&&(l.c(),l.m(i,null))),a&1&&n!==(n=r[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:Z,o:Z,d(r){r&&T(e),l.d()}}}function k2(t,e,i){let{isFullscreen:n=!1}=e;return t.$$set=o=>{"isFullscreen"in o&&i(0,n=o.isFullscreen)},[n]}class y2 extends be{constructor(e){super(),ge(this,e,k2,w2,he,{isFullscreen:0})}}function C2(t){let e,i;return e=new y2({props:{isFullscreen:t[0]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&1&&(s.isFullscreen=n[0]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function S2(t){let e,i;return e=new mi({props:{testId:"btn-fullscreen",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Po[Te.KeyF],$$slots:{default:[C2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function P2(t,e,i){let{isFullscreen:n=!1}=e,{click:o=te.noop}=e,s;return t.$$set=l=>{"isFullscreen"in l&&i(0,n=l.isFullscreen),"click"in l&&i(1,o=l.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,s=Y(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,s]}class X1 extends be{constructor(e){super(),ge(this,e,P2,S2,he,{isFullscreen:0,click:1})}}function T2(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class Tl extends be{constructor(e){super(),ge(this,e,null,T2,he,{})}}function E2(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class J1 extends be{constructor(e){super(),ge(this,e,null,E2,he,{})}}function A2(t){ze(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 tr(t){let e;return{c(){e=A("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){E(i,e,n)},d(i){i&&T(e)}}}function L2(t){let e,i,n,o,s=t[1]&&tr();var l=t[8];function r(a){return{}}return l&&(n=vn(l,r())),{c(){s&&s.c(),e=z(),i=A("div"),n&&U(n.$$.fragment),u(i,"class","v-1ot3duq"),N(i,"mobile",t[1])},m(a,c){s&&s.m(a,c),E(a,e,c),E(a,i,c),n&&F(n,i,null),o=!0},p(a,c){if(a[1]?s||(s=tr(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),c&256&&l!==(l=a[8])){if(n){de();const f=n;b(f.$$.fragment,1,0,()=>{H(f,1)}),me()}l?(n=vn(l,r()),U(n.$$.fragment),d(n.$$.fragment,1),F(n,i,null)):n=null}(!o||c&2)&&N(i,"mobile",a[1])},i(a){o||(n&&d(n.$$.fragment,a),o=!0)},o(a){n&&b(n.$$.fragment,a),o=!1},d(a){a&&(T(e),T(i)),s&&s.d(a),n&&H(n)}}}function I2(t){let e,i,n;function o(l){t[13](l)}let s={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-play",click:t[5]?t[6]:t[4],disabled:t[2],ariaLabel:t[7],ariaKeyShortCut:Po[Te.KeyK],$$slots:{default:[L2]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&112&&(a.click=l[5]?l[6]:l[4]),r&4&&(a.disabled=l[2]),r&128&&(a.ariaLabel=l[7]),r&33026&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function V2(t,e,i){let n,o;const{fakeIsPlaying$:s}=Go();D(t,s,k=>i(12,o=k));let{ref:l=void 0}=e,{isMobile:r=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:m=te.noop}=e;const{toggle:h}=s;let v,g,w,_;function P(k){l=k,i(0,l)}return t.$$set=k=>{"ref"in k&&i(0,l=k.ref),"isMobile"in k&&i(1,r=k.isMobile),"isPlaying"in k&&i(10,a=k.isPlaying),"disabled"in k&&i(2,c=k.disabled),"className"in k&&i(3,f=k.className),"click"in k&&i(4,m=k.click)},t.$$.update=()=>{t.$$.dirty&4096&&i(5,g=o!==null),t.$$.dirty&5152&&i(11,w=g?o:a),t.$$.dirty&2048&&i(7,_=Y(w?"tooltip_pause":"tooltip_play")),t.$$.dirty&2048&&i(8,n=w?J1:Tl)},i(6,v=h),[l,r,c,f,m,g,v,_,n,s,a,w,o,P]}class El extends be{constructor(e){super(),ge(this,e,V2,I2,he,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},A2)}}function M2(t){ze(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 B2(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(i,"fill","#fff"),u(e,"data-testid",n=t[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),N(e,"prev",t[0]),N(e,"mobile",t[1])},m(o,s){E(o,e,s),p(e,i)},p(o,[s]){s&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),s&1&&N(e,"prev",o[0]),s&2&&N(e,"mobile",o[1])},i:Z,o:Z,d(o){o&&T(e)}}}function N2(t,e,i){let{isPrev:n=!1}=e,{isMobile:o=!1}=e;return t.$$set=s=>{"isPrev"in s&&i(0,n=s.isPrev),"isMobile"in s&&i(1,o=s.isMobile)},[n,o]}class R2 extends be{constructor(e){super(),ge(this,e,N2,B2,he,{isPrev:0,isMobile:1},M2)}}function O2(t){let e,i;return e=new R2({props:{isMobile:t[1],isPrev:t[3]==="prev"}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&8&&(s.isPrev=n[3]==="prev"),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function z2(t){let e,i,n;function o(l){t[6](l)}let s={testId:"btn-"+t[3],disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[O2]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.testId="btn-"+l[3]),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&138&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function D2(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:s=!1}=e,{type:l}=e,{click:r}=e,a;function c(f){n=f,i(0,n)}return t.$$set=f=>{"ref"in f&&i(0,n=f.ref),"isMobile"in f&&i(1,o=f.isMobile),"disabled"in f&&i(2,s=f.disabled),"type"in f&&i(3,l=f.type),"click"in f&&i(4,r=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=Y(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,s,l,r,a,c]}class Qo extends be{constructor(e){super(),ge(this,e,D2,z2,he,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function F2(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class H2 extends be{constructor(e){super(),ge(this,e,null,F2,he,{})}}function U2(t){ze(t,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function ir(t){let e,i,n,o,s,l,r;return{c(){e=R("path"),i=R("path"),n=R("path"),o=R("path"),s=R("path"),l=R("path"),r=R("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(i,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(i,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"fill","white"),u(s,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(s,"fill","white"),u(l,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(l,"fill","white"),u(r,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(r,"fill","white")},m(a,c){E(a,e,c),E(a,i,c),E(a,n,c),E(a,o,c),E(a,s,c),E(a,l,c),E(a,r,c)},d(a){a&&(T(e),T(i),T(n),T(o),T(s),T(l),T(r))}}}function q2(t){let e,i,n,o=!t[0]&&ir();return{c(){e=R("svg"),i=R("path"),o&&o.c(),u(i,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(i,"fill","white"),u(e,"width",t[2]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(t[2]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",t[3]),u(e,"class","v-1bbobod"),N(e,"mobile",t[1])},m(s,l){E(s,e,l),p(e,i),o&&o.m(e,null)},p(s,[l]){s[0]?o&&(o.d(1),o=null):o||(o=ir(),o.c(),o.m(e,null)),l&4&&u(e,"width",s[2]),l&4&&n!==(n="0 0 "+(s[2]+1)+" 20")&&u(e,"viewBox",n),l&8&&u(e,"data-testid",s[3]),l&2&&N(e,"mobile",s[1])},i:Z,o:Z,d(s){s&&T(e),o&&o.d()}}}function j2(t,e,i){let{short:n=!1}=e,{isMobile:o=!1}=e,s,l;return t.$$set=r=>{"short"in r&&i(0,n=r.short),"isMobile"in r&&i(1,o=r.isMobile)},t.$$.update=()=>{t.$$.dirty&1&&(i(2,s=n?20:93),i(3,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,s,l]}class Z2 extends be{constructor(e){super(),ge(this,e,j2,q2,he,{short:0,isMobile:1},U2)}}function W2(t){let e,i;return e=new H2({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p:Z,i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function K2(t){let e,i;return e=new Z2({props:{short:t[4],isMobile:!!t[7]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.short=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function G2(t){let e,i,n,o;const s=[K2,W2],l=[];function r(a,c){return a[2]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),b(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){b(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function Y2(t){let e,i,n;function o(l){t[13](l)}let s={className:"btn-full-opacity",disabled:!t[1],click:t[8],testId:t[2]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:t[3],$$slots:{default:[G2]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.disabled=!l[1]),r&4&&(a.testId=l[2]?"btn-vk-video-logo":"btn-vk-logo"),r&8&&(a.ariaLabel=l[3]),r&524308&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Q2(t,e,i){let n,o,s,{ref:l=void 0}=e,{logoClickable:r=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=nn(),{logoLink:m,addTimeToLogoLink:h}=f,v=ct(),g=v.state.positionWithScrubbing$;D(t,g,M=>i(14,n=M));const w=v.ui.currentGridType$;D(t,w,M=>i(11,o=M));const _=v.ui.isMobile;D(t,_,M=>i(12,s=M));let P,k,C;const V=()=>{let M;if(k||!a)M=m;else{const G=Math.round(n);if(h&&G){const B=new URL(a);B.searchParams.append("t",te.timeCodeToString(G)),M=B.toString()}else M=a}c(),window.open(M,"_blank")};function ne(M){l=M,i(0,l)}return t.$$set=M=>{"ref"in M&&i(0,l=M.ref),"logoClickable"in M&&i(1,r=M.logoClickable),"videoLogoUrl"in M&&i(9,a=M.videoLogoUrl),"click"in M&&i(10,c=M.click)},t.$$.update=()=>{t.$$.dirty&6148&&i(4,C=(s||Q1(o,exports.GridTypes.L))&&k)},i(3,P=f.logoType===fo.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),i(2,k=f.logoType===fo.VK_VIDEO),[l,r,k,P,C,g,w,_,V,a,c,o,s,ne]}class x1 extends be{constructor(e){super(),ge(this,e,Q2,Y2,he,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function X2(t){ze(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 J2(t){let e,i,n,o,s,l,r,a;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),l=R("path"),r=R("path"),a=R("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(s,"class","wave wave3 v-8z1bf5"),u(s,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(s,"fill","#fff"),u(l,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(l,"fill","#fff"),u(r,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),N(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"),N(e,"connecting",t[2])},m(c,f){E(c,e,f),p(e,i),p(i,n),p(i,o),p(i,s),p(i,l),p(i,r),p(i,a)},p(c,f){f&2&&N(a,"hidden",!c[1]),f&4&&N(e,"connecting",c[2])},d(c){c&&T(e)}}}function x2(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k,C,V,ne;return{c(){e=R("svg"),i=R("g"),n=R("mask"),o=R("path"),l=R("path"),r=R("path"),c=R("path"),f=R("defs"),m=R("clipPath"),h=R("path"),g=R("filter"),w=R("feFlood"),_=R("feColorMatrix"),P=R("feOffset"),k=R("feGaussianBlur"),C=R("feColorMatrix"),V=R("feBlend"),ne=R("feBlend"),u(o,"fill",s=t[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(r,"fill",a=t[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(h,"fill",v=t[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(k,"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(V,"in2","BackgroundImageFix"),u(V,"result","effect1_dropShadow_4085_178456"),u(ne,"in","SourceGraphic"),u(ne,"in2","effect1_dropShadow_4085_178456"),u(ne,"result","shape"),u(g,"id","b"),u(g,"x","-3.4"),u(g,"y","-1.4"),u(g,"width","30.8"),u(g,"height","26.802"),u(g,"filterUnits","userSpaceOnUse"),u(g,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(M,G){E(M,e,G),p(e,i),p(i,n),p(n,o),p(n,l),p(i,r),p(i,c),p(e,f),p(f,m),p(m,h),p(f,g),p(g,w),p(g,_),p(g,P),p(g,k),p(g,C),p(g,V),p(g,ne)},p(M,G){G&2&&s!==(s=M[1]?"#2688EB":"#fff")&&u(o,"fill",s),G&2&&a!==(a=M[1]?"#2688EB":"#fff")&&u(r,"fill",a),G&2&&v!==(v=M[1]?"#2688EB":"#fff")&&u(h,"fill",v)},d(M){M&&T(e)}}}function $2(t){let e;function i(s,l){return s[0]?x2:J2}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(s){s&&T(e),o.d(s)}}}function em(t,e,i){let{isMobile:n=!1}=e,{state:o}=e,s,l;return t.$$set=r=>{"isMobile"in r&&i(0,n=r.isMobile),"state"in r&&i(3,o=r.state)},t.$$.update=()=>{t.$$.dirty&8&&(i(2,l=o===Qe.ChromecastState.CONNECTING),i(1,s=o===Qe.ChromecastState.CONNECTED))},[n,s,l,o]}class tm extends be{constructor(e){super(),ge(this,e,em,$2,he,{isMobile:0,state:3},X2)}}function im(t){let e,i;return e=new tm({props:{isMobile:t[1],state:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&4&&(s.state=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function nm(t){let e,i,n;function o(l){t[5](l)}let s={ariaLabel:t[4],click:t[3],testId:"btn-chromecast",$$slots:{default:[im]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&16&&(a.ariaLabel=l[4]),r&8&&(a.click=l[3]),r&70&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function om(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{state:s}=e,{click:l=te.noop}=e,r;function a(c){n=c,i(0,n)}return t.$$set=c=>{"ref"in c&&i(0,n=c.ref),"isMobile"in c&&i(1,o=c.isMobile),"state"in c&&i(2,s=c.state),"click"in c&&i(3,l=c.click)},t.$$.update=()=>{t.$$.dirty&4&&i(4,r=s===Qe.ChromecastState.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off"))},[n,o,s,l,r,a]}class $1 extends be{constructor(e){super(),ge(this,e,om,nm,he,{ref:0,isMobile:1,state:2,click:3})}}function lm(t){let e,i;return e=new A1({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function sm(t){let e,i;return e=new mi({props:{className:t[0]?"":"btn--live btn-full-opacity",testId:t[1]?"btn-live":"btn-live-offset",disabled:t[1]&&t[3]===Qe.PlaybackState.PLAYING,ariaLabel:t[2],click:t[4],$$slots:{default:[lm]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(s.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(s.disabled=n[1]&&n[3]===Qe.PlaybackState.PLAYING),o&4&&(s.ariaLabel=n[2]),o&16&&(s.click=n[4]),o&514&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function rm(t,e,i){let n,{isMobile:o=!1}=e,{isActiveLive:s=!1}=e,{ariaLabel:l=""}=e;const r=ct(),a=r.state.playbackState$;D(t,a,h=>i(3,n=h));const c=r.actions.internal.switchToActiveLive,f=r.actions.internal.togglePlay;let m;return t.$$set=h=>{"isMobile"in h&&i(0,o=h.isMobile),"isActiveLive"in h&&i(1,s=h.isActiveLive),"ariaLabel"in h&&i(2,l=h.ariaLabel)},t.$$.update=()=>{t.$$.dirty&10&&i(4,m=()=>{if(!s){c();return}n===Qe.PlaybackState.PAUSED&&f()})},[o,s,l,n,m,a]}class eu extends be{constructor(e){super(),ge(this,e,rm,sm,he,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function am(t){ze(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 um(t){let e,i,n,o;const s=t[9].default,l=Tn(s,t,t[8],null);return{c(){e=A("div"),i=A("div"),l&&l.c(),u(i,"class","tooltip v-5ygsa2"),N(i,"active",t[0]),N(i,"pointer",t[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${t[5]}px, ${t[2]}px);`)},m(r,a){E(r,e,a),p(e,i),l&&l.m(i,null),t[10](i),t[11](e),o=!0},p(r,[a]){l&&l.p&&(!o||a&256)&&An(l,s,r,r[8],o?En(s,r[8],a,null):Ln(r[8]),null),(!o||a&1)&&N(i,"active",r[0]),(!o||a&2)&&N(i,"pointer",r[1]),(!o||a&36&&n!==(n=`transform: translate(${r[5]}px, ${r[2]}px);`))&&u(e,"style",n)},i(r){o||(d(l,r),o=!0)},o(r){b(l,r),o=!1},d(r){r&&T(e),l&&l.d(r),t[10](null),t[11](null)}}}function cm(t,e,i){let n,{$$slots:o={},$$scope:s}=e,{active:l=!1}=e,{pointer:r=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,m,h;function v(_){if(!h)return 0;const{width:P}=h.getBoundingClientRect(),k=P/2;return _<k?k:_>f-k?f-k:_}function g(_){we[_?"unshift":"push"](()=>{h=_,i(4,h)})}function w(_){we[_?"unshift":"push"](()=>{m=_,i(3,m)})}return t.$$set=_=>{"active"in _&&i(0,l=_.active),"pointer"in _&&i(1,r=_.pointer),"translateXPx"in _&&i(6,a=_.translateXPx),"translateYPx"in _&&i(2,c=_.translateYPx),"containerWidth"in _&&i(7,f=_.containerWidth),"$$scope"in _&&i(8,s=_.$$scope)},t.$$.update=()=>{t.$$.dirty&64&&i(5,n=v(a))},[l,r,c,m,h,n,a,f,s,o,g,w]}class fm extends be{constructor(e){super(),ge(this,e,cm,um,he,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},am)}}const tu=(t,e,i)=>i.filter(n=>n.time<t*e).pop();function dm(t){ze(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 nr(t){let e;function i(s,l){return s[2]&&s[10].completed===!1?pm:mm}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,l){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},d(s){s&&T(e),o.d(s)}}}function mm(t){let e=(t[10].text||"")+"",i;return{c(){i=Re(e)},m(n,o){E(n,i,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&Xe(i,e)},d(n){n&&T(i)}}}function pm(t){let e=Y("tooltip_episode_unfinished")+"",i;return{c(){i=Re(e)},m(n,o){E(n,i,o)},p:Z,d(n){n&&T(i)}}}function hm(t){let e,i,n,o,s,l,r,a,c=t[10]&&nr(t);return{c(){e=A("div"),i=A("div"),o=z(),s=A("div"),c&&c.c(),l=z(),r=A("div"),a=Re(t[0]),u(i,"class","preview v-l51fc1"),u(i,"style",n=`width: ${t[3]}px; height: ${t[4]}px; background-image: url(${t[5]}); background-size: ${t[6]}px ${t[7]}px; background-position: ${t[8]}px ${t[9]}px; transform: translateY(${t[11]%180?-35:0}px) rotate(${t[11]}deg);`),u(s,"class","episode v-l51fc1"),u(r,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),N(e,"mobile",t[1])},m(f,m){E(f,e,m),p(e,i),p(e,o),p(e,s),c&&c.m(s,null),p(e,l),p(e,r),p(r,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(i,"style",n),f[10]?c?c.p(f,m):(c=nr(f),c.c(),c.m(s,null)):c&&(c.d(1),c=null),m&1&&Xe(a,f[0]),m&2&&N(e,"mobile",f[1])},i:Z,o:Z,d(f){f&&T(e),c&&c.d()}}}const oo=150;function gm(t,e,i){let n,{time:o=""}=e,{isMobile:s=!1}=e,{videoEpisodes:l=[]}=e,{previewThumbsData:r}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=ct().ui.rotateAlpha;D(t,h,G=>i(11,n=G));let v,g,w,_,P,k,C,V;function ne(){let G=r.frameWidth,B=r.frameHeight;return G>oo?(B=B/G*oo,G=oo):B>oo&&(G=G/B*oo,B=oo),{width:G,height:B}}function M(G){let B;r.isUV?B=Math.floor(c*G/r.frequency):B=Math.min(r.countTotal,Math.max(0,Math.floor(r.countTotal*G)));const x=Math.floor(B/r.countPerImage),I=Math.floor(B%r.countPerImage/r.countPerRow),ie=B%r.countPerRow;let O=Math.floor(r.countPerImage/r.countPerRow);!r.isUV&&x===Math.floor(r.countTotal/r.countPerImage)&&(O=Math.floor(r.countTotal%r.countPerImage/r.countPerRow),r.countTotal%r.countPerImage%r.countPerRow>0&&O++);let X=r.countPerRow;!r.isUV&&x===Math.floor(r.countTotal/r.countPerImage)&&r.countTotal%r.countPerImage>0&&(X=Math.min(r.countPerRow,r.countTotal%r.countPerImage));const se=v*X,S=g*O,le=-ie*v,W=-I*g;return{imgSrc:r.links[x],imgWidth:se,imgHeight:S,imgOffsetX:le,imgOffsetY:W}}return t.$$set=G=>{"time"in G&&i(0,o=G.time),"isMobile"in G&&i(1,s=G.isMobile),"videoEpisodes"in G&&i(13,l=G.videoEpisodes),"previewThumbsData"in G&&i(14,r=G.previewThumbsData),"progress"in G&&i(15,a=G.progress),"duration"in G&&i(16,c=G.duration),"isInteractive"in G&&i(2,f=G.isInteractive)},t.$$.update=()=>{t.$$.dirty&32768&&i(5,{imgSrc:w,imgWidth:_,imgHeight:P,imgOffsetX:k,imgOffsetY:C}=M(a),w,(i(6,_),i(15,a)),(i(7,P),i(15,a)),(i(8,k),i(15,a)),(i(9,C),i(15,a))),t.$$.dirty&106496&&i(10,V=tu(a,c,l))},i(3,{width:v,height:g}=ne(),v,i(4,g)),[o,s,f,v,g,w,_,P,k,C,V,n,h,l,r,a,c]}class bm extends be{constructor(e){super(),ge(this,e,gm,hm,he,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},dm)}}function _m(t){ze(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 vm(t){let e,i;return{c(){e=A("span"),i=Re(t[7]),u(e,"class","time v-5lzly8")},m(n,o){E(n,e,o),p(e,i)},p(n,o){o[0]&128&&Xe(i,n[7])},i:Z,o:Z,d(n){n&&T(e)}}}function wm(t){let e,i;return e=new bm({props:{time:t[7],isMobile:t[10],videoEpisodes:t[3],previewThumbsData:t[21],progress:t[8],duration:t[1],isInteractive:t[23]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&128&&(s.time=n[7]),o[0]&1024&&(s.isMobile=n[10]),o[0]&8&&(s.videoEpisodes=n[3]),o[0]&256&&(s.progress=n[8]),o[0]&2&&(s.duration=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function km(t){let e,i,n,o;const s=[wm,vm],l=[];function r(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),b(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){b(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function ym(t){let e,i,n,o;const s=[t[9]];let l={$$slots:{default:[km]},$$scope:{ctx:t}};for(let r=0;r<s.length;r+=1)l=Qa(l,s[r]);return e=new fm({props:l}),n=new Pl({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(ot.TIMELINE),hideHandel:t[2]}}),{c(){U(e.$$.fragment),i=z(),U(n.$$.fragment)},m(r,a){F(e,r,a),E(r,i,a),F(n,r,a),o=!0},p(r,a){const c=a[0]&512?gc(s,[bc(r[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:r}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=r[11]),a[0]&1024&&(f.isMobile=r[10]),a[0]&2&&(f.ariaValueMax=r[1]),a[0]&64&&(f.ariaValueNow=Math.round(r[6]*100)),a[0]&48&&(f.ariaValueText=Y("aria_timeline_value",{position:r[5],duration:r[4]})),a[0]&4096&&(f.loadedProgress=r[12]),a[0]&64&&(f.filledProgress=r[6]),a[0]&64&&(f.handleProgress=r[6]),a[0]&8&&(f.videoEpisodes=r[3]),a[0]&8192&&(f.disabled=r[13].has(ot.TIMELINE)),a[0]&4&&(f.hideHandel=r[2]),n.$set(f)},i(r){o||(d(e.$$.fragment,r),d(n.$$.fragment,r),o=!0)},o(r){b(e.$$.fragment,r),b(n.$$.fragment,r),o=!1},d(r){r&&T(i),H(e,r),H(n,r)}}}function Cm(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,{showTimeline:g=!1}=e;const w=ct(),_=nn(),P=w.state.bufferedProgress$;D(t,P,J=>i(12,h=J));const k=w.state.positionWithScrubbing$;D(t,k,J=>i(39,a=J));const C=w.state.duration$;D(t,C,J=>i(1,s=J));const V=w.state.isLive$;D(t,V,J=>i(0,o=J));const ne=w.state.isActiveLive$;D(t,ne,J=>i(11,m=J));const M=w.ui.isMobile;D(t,M,J=>i(10,f=J));const G=_.features.episodes?w.actions.internal.getVideoEpisodes():void 0,B=w.actions.internal.getPreviewThumbsData(),x=w.state.interactiveEpisodes$;D(t,x,J=>i(40,c=J));const I=w.state.isInteractive,ie=w.state.isInteractiveTime$;D(t,ie,J=>i(2,l=J));const O=w.state.isInteractiveExpectation$;D(t,O,J=>i(38,r=J));const X=w.actions.internal.correctSeekTimeToInteractive,se=w.ui.controls.disabledControls$;D(t,se,J=>i(13,v=J));let S,le,W,oe,ke=!1,qe="",je=0,Ie=0,Se=0,ce;function K(J){return!X||!I?J:X(J*s)/s}function ue(J){w.actions.internal.startScrubbing(K(J))}function _e(J){l||w.actions.internal.progressScrubbing(K(J))}function $(J){w.actions.internal.completeScrubbing(K(J)),i(34,ke=!1)}function Pe(J,Q,De){ae(J,Q,De),i(34,ke=!0)}function Ee(J,Q,De){ae(J,Q,De),i(34,ke=!0)}function Be(){i(34,ke=!1)}function ae(J,Q,De){i(8,Se=J),i(35,je=Q),De&&i(36,Ie=De),i(7,qe=ve(J))}function ve(J){const Q=Pn((o?1-J:J)*s);return o?`-${Q}`:Q}return t.$$set=J=>{"showTimeline"in J&&i(33,g=J.showTimeline)},t.$$.update=()=>{t.$$.dirty[1]&512&&i(3,S=I?c:G),t.$$.dirty[0]&2&&i(4,le=Pn(s)),t.$$.dirty[1]&256&&i(5,W=Pn(a)),t.$$.dirty[0]&2|t.$$.dirty[1]&256&&i(6,oe=a/s),t.$$.dirty[0]&4|t.$$.dirty[1]&128&&i(37,ce=r||l),t.$$.dirty[0]&1|t.$$.dirty[1]&124&&i(9,n={containerWidth:Ie,translateXPx:je,translateYPx:I&&B?-36:-16,active:ke&&g&&!ce,pointer:!_.features.timelinePreview||!B||o})},[o,s,l,S,le,W,oe,qe,Se,n,f,m,h,v,_,P,k,C,V,ne,M,B,x,I,ie,O,se,ue,_e,$,Pe,Ee,Be,g,ke,je,Ie,ce,r,a,c]}let Sm=class extends be{constructor(e){super(),ge(this,e,Cm,ym,he,{showTimeline:33},_m,[-1,-1])}};function Pm(t){let e,i;return e=new Pl({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(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.ariaValueMax=n[0]),o&8&&(s.ariaValueNow=Math.round(n[3]*100)),o&6&&(s.ariaValueText=Y("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(s.filledProgress=n[3]),o&16&&(s.squareBorders=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Tm(t,e,i){let n,{position:o=0}=e,{duration:s=0}=e;const r=ct().ui.isMobile;D(t,r,m=>i(4,n=m));let a,c,f;return t.$$set=m=>{"position"in m&&i(6,o=m.position),"duration"in m&&i(0,s=m.duration)},t.$$.update=()=>{t.$$.dirty&1&&i(1,a=Pn(s)),t.$$.dirty&64&&i(2,c=Pn(o)),t.$$.dirty&65&&i(3,f=o/s)},[s,a,c,f,n,r,o]}class iu extends be{constructor(e){super(),ge(this,e,Tm,Pm,he,{position:6,duration:0})}}function Em(t){ze(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 Am(t){let e;return{c(){e=A("div"),u(e,"class","timeline-stub v-1gqonyf"),N(e,"mobile",t[2])},m(i,n){E(i,e,n)},p(i,n){n&4&&N(e,"mobile",i[2])},i:Z,o:Z,d(i){i&&T(e)}}}function Lm(t){let e,i,n,o;const s=[Vm,Im],l=[];function r(a,c){return a[0]?0:1}return i=r(t),n=l[i]=s[i](t),{c(){e=A("div"),n.c(),u(e,"class","timeline v-1gqonyf"),N(e,"mobile",t[2])},m(a,c){E(a,e,c),l[i].m(e,null),o=!0},p(a,c){let f=i;i=r(a),i===f?l[i].p(a,c):(de(),b(l[f],1,1,()=>{l[f]=null}),me(),n=l[i],n?n.p(a,c):(n=l[i]=s[i](a),n.c()),d(n,1),n.m(e,null)),(!o||c&4)&&N(e,"mobile",a[2])},i(a){o||(d(n),o=!0)},o(a){b(n),o=!1},d(a){a&&T(e),l[i].d()}}}function Im(t){let e,i;return e=new Sm({props:{showTimeline:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.showTimeline=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Vm(t){let e,i;return e=new iu({props:{position:t[3],duration:t[4]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&8&&(s.position=n[3]),o&16&&(s.duration=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Mm(t){let e,i,n,o;const s=[Lm,Am],l=[];function r(a,c){return a[1]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),b(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){b(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function Bm(t,e,i){let n,o,s,l,{isAds:r=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const m=ct(),h=m.state.isLive$;D(t,h,P=>i(12,n=P));const v=m.ads.duration;D(t,v,P=>i(4,l=P));const g=m.ads.position;D(t,g,P=>i(3,s=P));const w=m.ui.isMobile;D(t,w,P=>i(2,o=P));let _;return t.$$set=P=>{"isAds"in P&&i(0,r=P.isAds),"canRewindLive"in P&&i(9,a=P.canRewindLive),"isRewindableLive"in P&&i(10,c=P.isRewindableLive),"isHidden"in P&&i(11,f=P.isHidden)},t.$$.update=()=>{t.$$.dirty&7681&&i(1,_=!f&&(!n||n&&a&&c||r))},[r,_,o,s,l,h,v,g,w,a,c,f,n]}class nu extends be{constructor(e){super(),ge(this,e,Bm,Mm,he,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},Em)}}function Nm(t){let e,i,n,o;return{c(){e=R("svg"),i=R("path"),n=R("path"),o=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(o,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),Ct(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(s,l){E(s,e,l),p(e,i),p(e,n),p(e,o)},p:Z,i:Z,o:Z,d(s){s&&T(e)}}}class Rm extends be{constructor(e){super(),ge(this,e,null,Nm,he,{})}}function Om(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"opacity",".7"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(i,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class zm extends be{constructor(e){super(),ge(this,e,null,Om,he,{})}}function Dm(t){ze(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 Fm(t){let e,i,n,o;e=new Rm({});function s(a,c){if(a[4]===Zn.FULL)return qm;if(a[4]===Zn.COUNT)return Um}let l=s(t),r=l&&l(t);return{c(){U(e.$$.fragment),i=z(),r&&r.c(),n=lt()},m(a,c){F(e,a,c),E(a,i,c),r&&r.m(a,c),E(a,n,c),o=!0},p(a,c){l===(l=s(a))&&r?r.p(a,c):(r&&r.d(1),r=l&&l(a),r&&(r.c(),r.m(n.parentNode,n)))},i(a){o||(d(e.$$.fragment,a),o=!0)},o(a){b(e.$$.fragment,a),o=!1},d(a){a&&(T(i),T(n)),H(e,a),r&&r.d(a)}}}function Hm(t){let e,i,n,o,s,l;return s=new zm({}),{c(){e=A("span"),i=Re(t[2]),n=z(),o=A("div"),U(s.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(r,a){E(r,e,a),p(e,i),E(r,n,a),E(r,o,a),F(s,o,null),l=!0},p(r,a){(!l||a&4)&&Xe(i,r[2])},i(r){l||(d(s.$$.fragment,r),l=!0)},o(r){b(s.$$.fragment,r),l=!1},d(r){r&&(T(e),T(n),T(o)),H(s)}}}function Um(t){let e,i=t[0].length+"",n;return{c(){e=A("span"),n=Re(i),u(e,"class","text count v-1yhs2ga")},m(o,s){E(o,e,s),p(e,n)},p(o,s){s&1&&i!==(i=o[0].length+"")&&Xe(n,i)},d(o){o&&T(e)}}}function qm(t){let e,i;return{c(){e=A("span"),i=Re(t[2]),u(e,"class","text v-1yhs2ga")},m(n,o){E(n,e,o),p(e,i)},p(n,o){o&4&&Xe(i,n[2])},d(n){n&&T(e)}}}function jm(t){let e,i,n,o;const s=[Hm,Fm],l=[];function r(a,c){return a[6]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),b(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){b(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function Zm(t){let e,i,n;function o(l){t[19](l)}let s={className:"w-max btn-full-opacity "+(t[6]?"px-0":""),testId:"btn-episodes",click:t[12],disabled:!t[7],ariaExpanded:t[3],ariaLabel:t[5],$$slots:{default:[jm]},$$scope:{ctx:t}};return t[1]!==void 0&&(s.ref=t[1]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&64&&(a.className="w-max btn-full-opacity "+(l[6]?"px-0":"")),r&8&&(a.ariaExpanded=l[3]),r&32&&(a.ariaLabel=l[5]),r&8388693&&(a.$$scope={dirty:r,ctx:l}),!i&&r&2&&(i=!0,a.ref=l[1],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Wm(t,e,i){let n,o,s,l,r,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:m=[]}=e;const h=ct(),v=h.callbacks?.onEpisodeChanged??te.noop,g=!!h.callbacks?.onEpisodeClicked,w=h.ui.currentGridType$;D(t,w,I=>i(18,r=I));const _=h.ui.episodes.openedByKeyboard$;D(t,_,I=>i(17,l=I));const P=h.ui.episodes.panelOpened$;D(t,P,I=>i(3,s=I));const k=h.ui.isMobile;D(t,k,I=>i(6,a=I));let C;const V=I=>{if(!!h.callbacks?.onEpisodeClicked){const O=wl(I);_.set(O),P.set(!0),h.callbacks?.onEpisodeClicked?.(O)}};let ne,M,G;const B=async(I,ie,O)=>{await So(),I?.getAttribute("aria-expanded")==="false"&&ie&&!O&&(_.set(!1),I.focus())};function x(I){C=I,i(1,C)}return t.$$set=I=>{"position"in I&&i(13,c=I.position),"duration"in I&&i(14,f=I.duration),"timeCodes"in I&&i(0,m=I.timeCodes)},t.$$.update=()=>{if(t.$$.dirty&24576&&i(16,n=c/f),t.$$.dirty&114689){const I=tu(n,f,m);I&&ne?.text!==I.text&&(v(I),i(15,ne=I))}t.$$.dirty&32768&&i(2,o=ne?.text||""),t.$$.dirty&262144&&(mn(r,exports.GridTypes.XL)?i(4,M=Zn.FULL):mn(r,exports.GridTypes.M)&&c2(r,exports.GridTypes.XL)?i(4,M=Zn.COUNT):i(4,M=Zn.SHORT)),t.$$.dirty&4&&i(5,G=`${Y("tooltip_episodes")}: ${o}`),t.$$.dirty&131082&&B(C,l,s)},[m,C,o,s,M,G,a,g,w,_,P,k,V,c,f,ne,n,l,r,x]}class ou extends be{constructor(e){super(),ge(this,e,Wm,Zm,he,{position:13,duration:14,timeCodes:0},Dm)}}function Km(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(i,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p:Z,i:Z,o:Z,d(o){o&&T(e)}}}class Gm extends be{constructor(e){super(),ge(this,e,null,Km,he,{})}}function Ym(t){let e,i;return e=new Gm({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Qm(t){let e,i,n;function o(l){t[4](l)}let s={className:t[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:Y("tooltip_interactive_seek"),disabled:t[2],click:t[3],$$slots:{default:[Ym]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&8&&(a.click=l[3]),r&32&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Xm(t,e,i){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:s=!1}=e,{click:l}=e;function r(a){n=a,i(0,n)}return t.$$set=a=>{"ref"in a&&i(0,n=a.ref),"hidden"in a&&i(1,o=a.hidden),"disabled"in a&&i(2,s=a.disabled),"click"in a&&i(3,l=a.click)},[n,o,s,l,r]}class lu extends be{constructor(e){super(),ge(this,e,Xm,Qm,he,{ref:0,hidden:1,disabled:2,click:3})}}function Jm(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),N(n,"hidden",!t[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p(o,[s]){s&1&&N(n,"hidden",!o[0])},i:Z,o:Z,d(o){o&&T(e)}}}function xm(t,e,i){let{isOpened:n=!1}=e;return t.$$set=o=>{"isOpened"in o&&i(0,n=o.isOpened)},[n]}class $m extends be{constructor(e){super(),ge(this,e,xm,Jm,he,{isOpened:0})}}function e4(t){let e,i;return e=new $m({props:{isOpened:t[3]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&8&&(s.isOpened=n[3]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function t4(t){let e,i,n;function o(l){t[6](l)}let s={className:t[1]?"hidden":"",testId:"btn-graph",disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[e4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&136&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function i4(t,e,i){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:s=!1}=e,{graphIsOpened:l=!1}=e,{click:r}=e,a;function c(f){n=f,i(0,n)}return t.$$set=f=>{"ref"in f&&i(0,n=f.ref),"hidden"in f&&i(1,o=f.hidden),"disabled"in f&&i(2,s=f.disabled),"graphIsOpened"in f&&i(3,l=f.graphIsOpened),"click"in f&&i(4,r=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=Y(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,s,l,r,a,c]}class su extends be{constructor(e){super(),ge(this,e,i4,t4,he,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function n4(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class ru extends be{constructor(e){super(),ge(this,e,null,n4,he,{})}}function o4(t){ze(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 or(t){let e;return{c(){e=A("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){E(i,e,n)},d(i){i&&T(e)}}}function l4(t){let e,i,n,o,s=t[1]&&or();return n=new ru({}),{c(){s&&s.c(),e=z(),i=A("div"),U(n.$$.fragment),u(i,"class","v-1ot3duq"),N(i,"mobile",t[1])},m(l,r){s&&s.m(l,r),E(l,e,r),E(l,i,r),F(n,i,null),o=!0},p(l,r){l[1]?s||(s=or(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),(!o||r&2)&&N(i,"mobile",l[1])},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){b(n.$$.fragment,l),o=!1},d(l){l&&(T(e),T(i)),s&&s.d(l),H(n)}}}function s4(t){let e,i,n;function o(l){t[5](l)}let s={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-replay",ariaLabel:Y("tooltip_restart"),disabled:t[2],click:t[4],ariaKeyShortCut:Po[Te.KeyK],$$slots:{default:[l4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&4&&(a.disabled=l[2]),r&16&&(a.click=l[4]),r&66&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function r4(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:s=!1}=e,{className:l=""}=e,{click:r=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,o=c.isMobile),"disabled"in c&&i(2,s=c.disabled),"className"in c&&i(3,l=c.className),"click"in c&&i(4,r=c.click)},[n,o,s,l,r,a]}class Al extends be{constructor(e){super(),ge(this,e,r4,s4,he,{ref:0,isMobile:1,disabled:2,className:3,click:4},o4)}}function a4(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class u4 extends be{constructor(e){super(),ge(this,e,null,a4,he,{})}}function c4(t){let e,i;return e=new u4({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function f4(t){let e,i;return e=new mi({props:{className:t[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:Y("tooltip_interactive_go_back"),disabled:t[1],click:t[2],$$slots:{default:[c4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"hidden":""),o&2&&(s.disabled=n[1]),o&4&&(s.click=n[2]),o&8&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function d4(t,e,i){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:s}=e;return t.$$set=l=>{"hidden"in l&&i(0,n=l.hidden),"disabled"in l&&i(1,o=l.disabled),"click"in l&&i(2,s=l.click)},[n,o,s]}class au extends be{constructor(e){super(),ge(this,e,d4,f4,he,{hidden:0,disabled:1,click:2})}}function m4(t){ze(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 p4(t){let e,i,n,o;return{c(){e=A("img"),u(e,"class","icon v-1x1zctw"),Ul(e.src,i=t[0])||u(e,"src",i),u(e,"aria-hidden","true")},m(s,l){E(s,e,l),n||(o=pe(e,"error",t[7]),n=!0)},p(s,l){l&1&&!Ul(e.src,i=s[0])&&u(e,"src",i)},d(s){s&&T(e),n=!1,o()}}}function h4(t){let e;return{c(){e=A("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(i,n){E(i,e,n)},p:Z,d(i){i&&T(e)}}}function g4(t){let e;function i(s,l){return s[5]?h4:p4}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,l){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},d(s){s&&T(e),o.d(s)}}}function b4(t){let e,i;return e=new mi({props:{className:t[4]?"btn-full-opacity":"",ariaLabel:t[1],click:t[3],disabled:t[6],testId:t[2],$$slots:{default:[g4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&16&&(s.className=n[4]?"btn-full-opacity":""),o&2&&(s.ariaLabel=n[1]),o&8&&(s.click=n[3]),o&64&&(s.disabled=n[6]),o&4&&(s.testId=n[2]),o&545&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _4(t,e,i){let n,o,s,{iconUrl:l}=e,{ariaLabel:r}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=te.noop}=e;const m=()=>{i(5,s=!0)};return t.$$set=h=>{"iconUrl"in h&&i(0,l=h.iconUrl),"ariaLabel"in h&&i(1,r=h.ariaLabel),"disabled"in h&&i(8,a=h.disabled),"testId"in h&&i(2,c=h.testId),"onClick"in h&&i(3,f=h.onClick)},t.$$.update=()=>{t.$$.dirty&8&&i(4,n=f===te.noop),t.$$.dirty&272&&i(6,o=n||a)},i(5,s=!1),[l,r,c,f,n,s,o,m,a]}class uu extends be{constructor(e){super(),ge(this,e,_4,b4,he,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},m4)}}class lr{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 o=0,s=n.length;o<s;o++)if(n[o].callback===i){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,s=n.length;o<s;o++){const l=n[o];try{l.callback.call(this,e)}catch(r){Promise.resolve().then(()=>{throw r})}l.options&&l.options.once&&this.removeEventListener(e.type,l.callback)}return!e.defaultPrevented}}class cu extends lr{constructor(){super(),this.listeners||lr.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 v4=class{constructor(){Object.defineProperty(this,"signal",{value:new cu,writable:!0,configurable:!0})}abort(e){let i;try{i=new Event("abort")}catch{typeof document<"u"?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>"u")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch{n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(i)}toString(){return"[object AbortController]"}};typeof Symbol<"u"&&Symbol.toStringTag&&(v4.prototype[Symbol.toStringTag]="AbortController",cu.prototype[Symbol.toStringTag]="AbortSignal");function fu(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 w4(t){typeof t=="function"&&(t={fetch:t});const{fetch:e,Request:i=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=t;if(!fu({fetch:e,Request:i,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:e,Request:s};let s=i;(s&&!s.prototype.hasOwnProperty("signal")||o)&&(s=function(c,f){let m;f&&f.signal&&(m=f.signal,delete f.signal);const h=new i(c,f);return m&&Object.defineProperty(h,"signal",{writable:!1,enumerable:!1,configurable:!0,value:m}),h},s.prototype=i.prototype);const l=e;return{fetch:(a,c)=>{const f=s&&s.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let m;try{m=new DOMException("Aborted","AbortError")}catch{m=new Error("Aborted"),m.name="AbortError"}if(f.aborted)return Promise.reject(m);const h=new Promise((v,g)=>{f.addEventListener("abort",()=>g(m),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([h,l(a,c)])}return l(a,c)},Request:s}}const Ll=fu({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),du=Ll?w4({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,k4=Ll?du.fetch:window.fetch;Ll?du.Request:window.Request;const y4=(t,e)=>t<400||e<225?5:t<640||e<360?0:t<960||e<540?1:t<1280||e<720?2:3,C4="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class S4{adman=null;initialVolume=1;videoElement=null;currentAdSection=null;actions=null;adsState=null;playerState=null;log;loadTimeout;initTimeout;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};constructor(e,i){this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=i.loadTimeout,this.initTimeout=i.initTimeout}init(e,i,n){this.actions=e,this.adsState=i,this.playerState=n}loadAdman=e=>new Promise((i,n)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?i():n()};te.addScript(C4,e,this.loadTimeout).then(()=>{window.AdmanHTML?i():(window.admanAsyncInit=s,o=window.setTimeout(s,this.initTimeout))}).catch(()=>{n()})});onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:i,height:n,isFullscreen:o,isAutoplay:s,adsContainer:l,adsVideoElement:r,slotId:a,params:c={},duration:f,previewParam:m}=e;let h;const v=this.playerState&&Ye(this.playerState.vsid);v&&(h=parseInt(v,36));const g={dl:encodeURIComponent(window.location.href),autoplay:s,player_width:i,player_height:n,puid10:y4(i,n),puid11:o?0:1,preview:m,...h?{request_id:h}:{},duration:f,...c},w={slot:a,wrapper:l,videoEl:r,videoQuality:n,params:g,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=r,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===yn.Postroll;this.adsState.playbackState.set(Yt.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=Ye(this.adsState.playbackState);e===Yt.PLAYING?this.pause():e===Yt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){this.log({message:`set volume ${e}`}),this.adman?.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){this.log({message:`set fullscreen ${e}`}),this.adman?.setFullscreen(e)}startPreroll(){te.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=yn.Preroll,this.adman.start(yn.Preroll)}startPostroll(){te.assertNonNullable(this.adman),te.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=yn.Postroll,this.adman.start(yn.Postroll)}onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()};onAdStarted=(e,i)=>{te.assertNonNullable(this.adsState),te.assertNonNullable(this.playerState),te.assertNonNullable(this.actions),this.log({message:`ad started, section: ${e}, banner: ${JSON.stringify(i)}`}),this.events.started$.next(e),i.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Ye(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(i.duration),this.adsState.playbackState.set(Yt.PLAYING),this.adsState.canSkip.set(i.allowClose),this.adsState.secondsToWatchBeforeSkip.set(i.allowCloseDelay)};onAdTimeRemained=({currentTime:e})=>{te.assertNonNullable(this.adsState),this.adsState.position.set(e)};onAdPaused=()=>{te.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Yt.PAUSED)};onAdPlayed=()=>{te.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Yt.PLAYING)};onAdMidrollPoint=()=>{te.assertNonNullable(this.adman),te.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=yn.Midroll,this.adman.start(yn.Midroll)};onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()};onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()};onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()};onAdClicked=()=>{this.log({message:"ad clicked"}),this.videoElement?.pause(),this.events.clicked$.next()};onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)};play(){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){this.adman?.setPosition(Math.floor(e),Math.floor(i))}destroy(){this.log({message:"destroy"}),this.adman?.destroy()}}const P4=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 T4{oneLineRegExp=/\r\n|\n|\r/;twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/;parse(e){const i=[],n=e.split(this.twoLinesRegExp);for(const o of n){const s={startTime:0,endTime:0,texts:[],lang:""},l=o.split(this.oneLineRegExp);for(const r of l)if(!s.startTime&&!s.endTime){const a=new mu,{startTime:c,endTime:f}=a.parse(r);s.startTime=c,s.endTime=f}else if(r.trim()!==""){const a=new E4,{texts:c}=a.parse(r);s.texts=[...s.texts,...c]}(s.startTime||s.endTime)&&s.texts.length>0&&i.push(s)}return i}}class mu{timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/;timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`);parse(e){const i={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(i.startTime=this.calcTime(n[1],n[2],n[3],n[4]),i.endTime=this.calcTime(n[6],n[7],n[8],n[9])),i}parseTime(e){const i=this.timeRegExp.exec(e);return i?this.calcTime(i[1],i[2],i[3],i[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",i="0",n="0",o="0"){const s=Number(e)*60*60,l=Number(i)*60,r=Number(n),a=+`0.${o}`;return s+l+r+a}}class E4{letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/;parse(e){const i={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](l){let r=0;const a=[];for(;r<l.length;){const c=["<",">"].reduce((f,m)=>{const h=l.indexOf(m,r);return f===-1||f>h?h:f},-1);if(c===-1){a.push(l.substring(r));break}a.push(l.substring(r,c)),r=c+1}return a}}),s=new mu;for(const l of o)s.isTime(l)?i.texts.push({type:"timestamp",value:s.parseTime(l)}):i.texts.push({type:"text",value:l});return i}}let zn,an,ll=0,sl=!1;const A4=(t,e,i)=>{const n=t>=ll,o=t<ll,s=(c,f=0,m=0)=>c<f&&c<m,l=(c,f=0,m=0)=>c>=f&&c<=m,r=(c,f=0,m=0)=>c>f&&c>m,a=i.find(({lang:c})=>c===e.value)?.subtitles;if(ll=t,o&&(sl=!1),te.isNonNullable(zn)&&l(t,zn.startTime,zn.endTime)&&zn.lang===e.value)return zn;if(!te.isNonNullable(an)&&a?.length&&!sl){const c=a.find(({startTime:f,endTime:m})=>l(t,f,m)||n&&s(t,f,m));an=c&&{...c,lang:e.value},zn=void 0,!te.isNonNullable(an)&&a[a.length-1].endTime<t&&(sl=!0);return}else{if(l(t,an?.startTime,an?.endTime))return zn=an,an=void 0,zn;(n&&r(t,an?.startTime,an?.endTime)||o&&s(t,an?.startTime,an?.endTime))&&(an=void 0)}},rl={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 Ho=null;class vo{constructor(e,i){if(!Ho){const n=new ut.OneStat(e,i),o=new te.Subscription;Ho=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n?.destroy(),o?.unsubscribe(),Ho=null}})}}static getInstance(){return Ho}}const L4=({interfaceLanguage:t,videoId:e,isClip:i,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:s,canDownload:l,callbacks:r,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:m,coreConfig:h,player:v,disabledControls:g,isInteractive:w,interactiveRanges:_,replayInteractive:P,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:C,additionalButtons:V,looped:ne=!1})=>{const M={...h,configName:[...h.configName??[],"ui"],isAudioDisabled:s,live:{...h.live??{},isLiveCatchUpMode:!!n}},G=m,B=v||new Qe.Player(M);B.setLooped(ne);const x=new te.Logger,I=new S4(x,{loadTimeout:G.ads.loadTimeout,initTimeout:G.ads.initTimeout}),ie=vo.getInstance(),O=ml.getInstance(),X=a?.pictureInPictureApi,se=a?.annotationsApi,S=x.createComponentLog("Store");let le,W,oe={};const ke=te.getCurrentBrowser(),qe=ie?mt(ie.oneStat.vsid$):_n(void 0),je=Ae(yo()),Ie=X?.info.isActive$??new te.ValueSubject(!1),Se=X?.info.type,ce=Ae(0),K=Ae([]),ue=te.merge(B.events.fatalError$,B.events.managedError$).subscribe(L=>K.update(re=>[...re,L])),_e=_n(!1,L=>{const re=B.events.fatalError$.subscribe(()=>L(!0));return()=>re.unsubscribe()}),$=async L=>{const re=Object.values(te.InterfaceLanguage).includes(L);if(G.downloadVKLanguages&&(re&&G.updateBuiltinLanguages||!Kl(L))){let Ne;try{Ne=await te.loadVKLangPack(L,Sc,Pc)}catch(Ke){ie?.oneStat?.logError({errorType:"VKLangPack",fatal:!1}),O?.report(Ke,{errorType:"VKLangPack",fatal:!1})}Ne&&(Wl({language:L,pack:Ne,fallback:G.defaultLanguage}),Pe.set(L))}Kl(L)&&Pe.set(L)},Pe=Ae(t);$(t);const Ee=(L,re)=>{const ye=Ye(Pe);return k1(ye,L,re,G.defaultLanguage)},Be=Ae(Me.Thumb),ae=(()=>{const L=li([_e,Be],([re,ye])=>re?Me.Crashed:ye);return{...L,is:re=>Ye(L)===re}})(),ve=(()=>{const L=Ae(new Set(g));return{...L,add:re=>{L.update(ye=>new Set([...ye].concat(re)))},remove:re=>{L.update(ye=>{const Ne=[...ye];return new Set(Array.isArray(re)?Ne.filter(Ke=>!re.includes(Ke)):Ne.filter(Ke=>Ke!==re))})},includes:re=>{const ye=Ye(L);return Array.isArray(re)?re.every(Ne=>ye.has(Ne)):ye.has(re)}}})();S({message:"create store"});const J=L=>{S({message:`init video, config: ${JSON.stringify(L)}`}),w?L.container.append(B.experimental.element$.getValue()):B.initVideo(L),L.subtitles&&B.setExternalTextTracks(L.subtitles),le=L},Q=new te.Subject,De=L=>Q.next(L),tt=new te.Subject,Je=new te.Subject,Ce=new te.Subject,Ge={actionRewind$:tt,actionSeek$:Je,inPiP$:Ie,inFullscreen$:new te.Observable(L=>je.subscribe(re=>L.next(re))),actionSetSubtitle$:Ce,nextMovie$:Q};if(ie){const{oneStat:L,statSubscription:re}=ie;re.add(L.attachTo(B)),re.add(L.attachToUi(Ge)),re.add(L.attachToAds(I.events)),L.authorize(o).catch(ye=>{S({message:`onestat auth error ${String(ye)}`})})}if(O){const L=new te.Subscription,re=(ye,Ne)=>L.add(ye.subscribe(Ne));if(re(B.events.managedError$,ye=>{O.logIError(ye)}),re(B.events.fatalError$,ye=>{O.logIError(ye,!0)}),ie){const{oneStat:ye}=ie;re(ye.experimental.error$,Ne=>{O.logIError(Ne)})}O.sentrySubscription.add(L)}const xe=()=>{te.isIOS()&&W&&ef(W)},ft=new te.Subscription().add(B.experimental.element$.subscribe(L=>{L&&(W=L,L.classList.add("player-media"),Zo(X)&&(X.updateVideoElement(),X.registryEventHandlers()),w&&L.setAttribute("pip","false"))})).add(B.events.ended$.subscribe(()=>{xe(),r?.onEnded?.()})).add(B.events.started$.subscribe(async()=>{Zo(X)&&await X?.revealPictureInPicture();const L=B.info.muted$.getValue();r?.onStarted?.(),oe.onStarted?.(L)})).add(B.events.willSeek$.subscribe(({from:L,to:re})=>{r?.onSeek?.(L,re)})).add(B.info.position$.subscribe(L=>{const re=B.info.duration$.getValue();r?.onTimeupdate?.(re,L),I.setPosition(L,re)})).add(B.events.fatalError$.subscribe(()=>{r?.onCrashed?.()})).add(B.info.is3DVideo$.subscribe(L=>{nt.ui.is3DVideo.set(L)})).add(B.info.isEnded$.subscribe(L=>{w&&(L?(Ye(Rn)&&ve.add(s1),ve.add(ot.PLAY_BUTTON)):ve.remove(ot.PLAY_BUTTON))})).add(B.info.liveTime$.subscribe(L=>{r?.onLiveTime?.(L)})).add(B.info.isStalled$.subscribe(L=>{r?.onStalledChanged?.(L)})),_t=new te.Subscription,Ue=()=>{_t.add(B.events.log$.subscribe(L=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${L.component}`,L.message)})).add(x.log$.subscribe(L=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${L.component}.`,L.message)}))},Ve=()=>{_t.unsubscribe()},vt=(L,re)=>{B.startCameraManualRotation(L,re)},Mt=(L=!1)=>{B.stopCameraManualRotation(L)},Xt=(L,re,ye)=>{B.moveCameraFocusPX(L,re,ye)},Ht=()=>{B.holdCamera()},fe=()=>{B.releaseCamera()},ht=_n(B.info.position$.getValue(),L=>{let re,ye;const Ne=()=>{const Ke=B.info.playbackState$.getValue(),Dt=B.info.isLive$.getValue(),Kt=B.info.duration$.getValue(),It=B.info.position$.getValue();if([Qe.PlaybackState.PLAYING,Qe.PlaybackState.PAUSED].includes(Ke)){const rn=Dt?It-Kt:B.getExactTime();rn!==ye&&L(rn),ye=rn}re=requestAnimationFrame(Ne)};return Ne(),()=>cancelAnimationFrame(re)}),gt=mt(Ie),dt=mt(B.info.playbackState$),st=mt(B.info.currentBuffer$),kt=mt(B.info.isEnded$),St=mt(B.info.isLive$),si=G.features.playbackRate?mt(B.info.canChangePlaybackSpeed$):_n(!1),Di=mt(B.info.liveBufferTime$),Ut=mt(B.info.volume$),Fi=mt(B.info.muted$),Ki=c1(B.info.autoQualityLimits$.pipe(te.map(({max:L})=>L!==void 0)),B.info.autoQualityLimits$.getValue()?.max!==void 0),Jt=mt(B.info.autoQualityLimitingAvailable$),Vi=mt(B.info.availableQualities$),Mi=mt(B.info.availableQualitiesFps$),Bt=mt(B.info.chromecastState$),xt=mt(B.info.chromecastDeviceName$),ri=mt(B.info.currentFormat$),qt=mt(B.info.throughputEstimation$),ai=mt(B.info.videoBitrate$),jt=mt(B.info.intrinsicVideoSize$),pi=mt(B.info.duration$),Bi=mt(B.info.isAudioAvailable$);let pt=null;const ui=B.info.isBuffering$,hi=_n(ui.getValue(),L=>{const re=ui.subscribe(ye=>{ye&&pt===null?pt=window.setTimeout(()=>{L(ui.getValue()),pt=null},G.loaderDelay):L(ye)});return()=>{re.unsubscribe(),pt&&clearTimeout(pt)}}),gi=()=>{pt&&clearTimeout(pt),pt=null},Nt=li([pi,St],([L,re])=>re?-L:L),bi=li([dt],([L])=>L===Qe.PlaybackState.PLAYING),$t=mt(B.info.atLiveEdge$),ei=mt(B.info.atLiveDurationEdge$),Pt=mt(B.info.position$),_i=li([Pt,pi],([L,re])=>isFinite(L)&&isFinite(re)&&!!re),Rt=li([Bt],([L])=>L===Qe.ChromecastState.CONNECTED),rt=Ae(void 0),Tt=mt(B.info.isAutoQualityEnabled$,L=>L&&rt.set(void 0)),Ni=mt(B.info.currentQuality$,()=>rt.set(void 0)),vi=li([rt,Ni],([L,re])=>L??re),wi=li([Vi,Mi,Tt,vi,ri],([L,re,ye,Ne,Ke])=>{const Dt=[];Ke!==Qe.VideoFormat.MPEG&&Dt.push({value:ao.AUTO,displayValue:Ee("auto_quality_option"),selected:ye});const Kt=L.filter(It=>It!==te.VideoQuality.INVARIANT);for(const It of Kt){const rn=re[It],On=It===te.VideoQuality.INVARIANT?Ee("auto_quality_option"):It;Dt.push({value:It,displayValue:`${On}${rn?P4(rn):""}`,selected:ye?!1:It===Ne})}return Dt}),ti=mt(B.info.currentPlaybackRate$),Zt=li([ti,$t,ei],([L,re,ye])=>{const Ne=ye||w?1:G.controls.playbackRateMin,Ke=re?1:G.controls.playbackRateMax,Dt=G.controls.playbackRateStep,Kt=[];for(let It=Ne;It<=Ke;It+=Dt)Kt.push({value:It,displayValue:It===1?Ee("playback_rate_1"):Ee("playback_rate",{multiplier:It.toString(10)}),selected:L===It});return Kt}),Hi=G.features.subtitles?mt(B.info.availableTextTracks$):_n([]),Et=li([Hi],([L],re)=>{const ye=[],Ne=[];for(const Ke of L)Ke.url&&ye.push(k4(Ke.url));Promise.allSettled(ye).then(Ke=>{for(const[Dt,Kt]of Ke.entries())Kt.status==="fulfilled"&&Kt.value.text().then(It=>{const rn=new T4,On=L[Dt].language,go=!!L[Dt].isAuto,bo=rn.parse(It);On&&bo&&Ne.push({lang:On,subtitles:bo,isAuto:go}),Dt===Ke.length-1&&re(Ne)})})}),wt={displayValue:Ee("subtitles_off"),value:"off"},yt=Ae({...wt}),At=li([Et,yt,Et],([L,re])=>{if(L?.length>0){const ye=[{...wt,selected:re?.value===wt.value}];for(const{lang:Ne,isAuto:Ke}of L)rl[Ne]&&ye.push({displayValue:Ke?Ee("subtitles_auto",{language:rl[Ne]}):rl[Ne],value:Ne,selected:re?.value===Ne,isAuto:Ke});return ye}else return[]}),Ui=li([ht,yt,Et],([L,re,ye])=>{if(re&&re.value!==wt.value)return A4(L,re,ye)}),Wt=li([Ui],([L])=>L?.texts?L.texts:[]),ki=Ae(!0),Ri=li([st,Nt,Pt,Di],([L,re,ye,Ne])=>{const Ke=L?.end??0;if(!Ne)return Ke/re;const Kt=-ye+Ne-re;return(Ke-Kt)/re}),yi=mt(B.info.availableSources$),Gi=li([yi],([L])=>Object.keys(L?.[Qe.VideoFormat.MPEG]||{}).length>0),Ci=()=>{const L=Object.keys(B.info.availableSources$?.getValue()?.[Qe.VideoFormat.MPEG]||{}),re=te.getHighestQuality(L)||te.VideoQuality.Q_144P;return le.sources[Qe.VideoFormat.MPEG]?.[re]},ci=()=>{const L=Ci();L?Nc(L,le?.meta?.title||"video"):S({message:"There is no URL for download video"})},fi=()=>{S({message:"toggle muted"});const L=B.info.muted$.getValue(),Ne=!(B.info.volume$.getValue()===0||L);qi(Ne)},Si=()=>{nt.ui.settingsMenuVisible.set(!1)},Pi=L=>{nt.ui.settingsMenuOpenedByKeyboard.set(!!L),nt.ui.settingsMenuVisible.set(!0)},Ti=L=>{Ye(nt.ui.settingsMenuVisible)?Si():Pi(L)},Le=(L,re=L,ye=!1)=>{const Ne=!ye,Ke=B.info.muted$.getValue();S({message:`set volume, volume: ${L}, preferredVolume: ${re}, internalCall: ${Ne}`}),B.setVolume(L),I.setVolume(L),Ne&&r?.onVolumeChange?.(L),Zl(re),Ke?(B.setMuted(!1),Ne&&r?.onUnmute?.(),el(!1)):!Ke&&L===0&&(B.setMuted(!0),Ne&&r?.onMute?.(),el(!0))},qi=(L,re=!1)=>{const ye=!re,Ne=B.info.volume$.getValue();if(S({message:`set muted, currentVolume: ${Ne}, mute: ${L}, internalCall: ${ye}`}),B.setMuted(L),I.setVolume(L?0:Ne),el(L),ye&&(L?r?.onMute?.():r?.onUnmute?.()),Ne===0){let Ke=h1()??G.volumeDefault;Ke===0&&(Ke=G.volumeMinRestore,Zl(Ke)),B.setVolume(Ke),I.setVolume(Ke),ye&&r?.onVolumeChange?.(Ke)}},ji=()=>{B.prepare()},Ei=()=>{if(te.assertNonNullable(nt),!Ye(nt.ui.controls.disabledControls$).has(ot.PLAY_BUTTON)){if(S({message:"toggle play"}),Ye(nt.playerPhase)===Me.Ads){I.togglePlay();return}if(B.info.playbackState$.getValue()!==Qe.PlaybackState.PLAYING){if(B.info.isEnded$.getValue()){if(S({message:"toggle play, video ended, seek to 0"}),tt.next(),Je.next(ut.SeekAction.REWIND),w){P?.();return}B.seekTime(0)}S({message:"toggle play, call player.play"}),B.play(),r?.onPlay?.()}else S({message:"toggle play, call player.pause"}),B.pause(),r?.onPause?.()}},Zi=L=>{S({message:`set quality, quality: ${L}`}),B.setAutoQuality(L===ao.AUTO),L!==ao.AUTO?(Rc(e,L),rt.set(L),B.setQuality(L)):g1()},Ai=L=>{S({message:`set trafficSavingEnabled, value: ${L}`}),B.setAutoQualityLimits({max:L?G.trafficSavingLimit:void 0}),Dc(L)},Oe=L=>{B.setPlaybackRate(L)},di=()=>{const L=Ye(Zt),re=L.findIndex(({selected:Ne})=>Ne);if(re===L.length-1)return;const ye=L[re+1];Oe(ye.value)},Li=()=>{const L=Ye(Zt),re=L.findIndex(({selected:Ne})=>Ne);if(re===0)return;const ye=L[re-1];Oe(ye.value)},Ot=L=>{L&&L.value!==wt.value&&Ce.next(L.isAuto?L.value+"_auto":L.value),yt.set(L)},zt=()=>{const L=Ye(At),re=Ye(yt),ye=Ye(Pe);if(re?.value===wt.value){const Ne=L.filter(Ke=>Ke.value!==wt.value).find(Ke=>Ke.value===ye)||L[1];Ot(Ne??{...wt})}else Ot({...wt,selected:!1})},ii=(L,re,ye=!0)=>{if(S({message:`seek to time, time: ${L}`}),Je.next(re),B.info.isLive$.getValue()){const Ne=B.info.duration$.getValue(),Ke=Math.min(0,Ne+L);B.seekTime(Ke,ye)}else{if(Ye(Rn))return;B.seekTime(qn(L),ye)}},Ji=L=>{S({message:`seek to episode start time: ${L}`}),ii(L,ut.SeekAction.EPISODE,!0)},Oi=(L,re)=>{S({message:`seek to percent, percent: ${L}`});const ye=Math.round(Ye(Nt)*L);ii(ye,re,!1)},xi=L=>{S({message:`seek external, time: ${L}`}),Je.next(ut.SeekAction.UNKNOWN),B.seekTime(B.info.isLive$.getValue()?-L:L)},$i=L=>{S({message:`set auto quality limitation. Max: ${L.max??"none"}. Min: ${L.min??"none"}`}),B.setAutoQualityLimits(L)},Yi=L=>{S({message:`seek external to episode start time: ${L}`}),ii(L,ut.SeekAction.EPISODE,!0)},Ii=L=>{S({message:`set playback rate to: ${L}`}),B.setPlaybackRate(L)},Wi=Ae(void 0),zi=Ae(!1),en=L=>{S({message:`start scrubbing, progress: ${L}`}),zi.set(!0),ee(L)},ee=L=>{Wi.set(L)};let $e,bt;const ni=()=>{Wi.set(void 0),zi.set(!1)},Qi=()=>{clearTimeout(bt),clearTimeout($e),$e=window.setTimeout(()=>{ni()},500),W?.removeEventListener("seeked",Qi)},on=L=>{S({message:`complete scrubbing, progress: ${L}`}),Oi(L,ut.SeekAction.SLIDER),Ye(nt.ui.isMobile)&&Ye(nt.state.currentFormat$)===Qe.VideoFormat.HLS?(W?.addEventListener("seeked",Qi),bt=window.setTimeout(()=>{Qi()},300)):ni()},gn=li([ht,Nt,Wi],([L,re,ye],Ne)=>{Ne(te.isNonNullable(ye)?ye*re:L)}),Lt=Ae({width:0,height:0}),ln=li([Lt],([{width:L}],re)=>{const ye=f2(L);re(ye)}),sn=Ae(!1),un=li([ln,sn],([L,re])=>re?V.filter(ye=>!ye.hideOnMobile):V.filter(ye=>!ye.hideOnDesktopGridTypes?.includes(L))),bn=li([sn,_e],([L,re],ye)=>{ye(L&&re)}),cn=()=>{Je.next(ut.SeekAction.LIVE),S({message:"switch to active live"}),B.seekTime(0),B.info.playbackState$.getValue()!==Qe.PlaybackState.PLAYING&&nt.actions.internal.togglePlay()},y=()=>I.skip(),at=(L=!0)=>{te.assertNonNullable(nt),S({message:`switch from ads to video, callPlay: ${L}`}),Be.set(Me.Video),L&&B.play()},In=()=>{te.assertNonNullable(nt),S({message:"switch from video to ads"}),nt.actions.internal.pause(),xe(),Be.set(Me.Ads)},Vn=L=>{te.assertNonNullable(nt);const re=L?Me.WaitingLive:Me.Thumb;Be.set(re)},wn=L=>{te.assertNonNullable(nt);const re=L?Me.WaitingRecord:Me.Thumb;Be.set(re)},Kn=()=>(te.assertNonNullable(nt),Mc(B,le,nt)),Gn=()=>(te.assertNonNullable(nt),Bc(B,le,nt)),Yn=()=>W,Qn=()=>{S({message:"toggle chromecast"}),B.toggleChromecast()},Fn=L=>{te.assertNonNullable(nt);const re=!L;if(Ye(nt.playerPhase)===Me.Ads){S({message:`pause ads, internalCall: ${re}`}),I.pause();return}S({message:`pause video, internalCall: ${re}`}),re&&r?.onPause?.(),B.pause()},Xn=L=>{te.assertNonNullable(nt);const re=!L;if(Ye(nt.playerPhase)===Me.Ads){S({message:`play ads, internalCall: ${re}`}),I.play();return}S({message:`play video, internalCall: ${re}`}),re&&r?.onPlay?.(),B.play()},Hn=(L,re)=>{te.assertNonNullable(nt),S({message:`first start, show ads: ${L}, internalCall: ${!re}`}),L?Be.set(Me.Ads):(Be.set(Me.Video),re?B.play():nt.actions.internal.togglePlay())},Un=()=>(S({message:"getting time codes"}),c),Jn=()=>{const L=Un();if(!L||[0,1].includes(L.length))return;const re=B.info.position$.getValue();return L.find(ye=>ye.time>re)},fn=L=>{let re=L;re||(re=Jn()),re&&(S({message:"seek to next episode"}),ii(re.time,ut.SeekAction.EPISODE,!0))},Mn=()=>{const L=Un();if(!L||[0,1].includes(L.length))return;const re=B.info.position$.getValue(),ye=L.findIndex(Ke=>Ke.time>re),Ne=ye===-1?L.length-2:ye-2;if(!(Ne<0))return L[Ne]},xn=L=>{let re=L;re||(re=Mn()),re&&(S({message:"seek to prev episode"}),ii(re.time,ut.SeekAction.EPISODE,!0))},Bn=()=>(S({message:"getting preview thumbs data"}),f),$n=async()=>{X?.isActive()?await X?.remove():await X?.request()},ho=(L=-90)=>{ce.update(re=>re+L)},kn=Ae(_),eo=li([kn],([L=[]])=>{const re=[];for(let ye=0;ye<L.length;ye++){const{range:[Ne,Ke],subjects:Dt}=L[ye];ye===0&&Ne!==0&&re.push({time:0,text:"",interactive:!1,completed:!0}),re.push({time:Ne/1e3,text:"",interactive:!0,completed:!Dt.length}),Ke!==1/0&&re.push({time:Ke/1e3,text:"",interactive:!1,completed:!0})}return re}),to=L=>{const re=Ye(kn);kn.set(re.map(ye=>({...ye,subjects:ye.subjects.filter(Ne=>Ne!==L)})))},Nn=Ae(!1),Rn=li([Pt,kn,Nn],([L,re,ye])=>{if(!w)return!1;if(ye)return!0;const Ne=L*1e3,Ke=re?.find(({range:[Dt,Kt],subjects:It})=>Dt<Ne&&Ne<Kt&&It.length);return Ke&&Ye(zi)&&ni(),!!Ke}),qn=L=>{if(!w)return L;const re=Ye(eo),ye=Ye(Nt),Ke=Ye(Pt)/ye,Dt=re.find(Kt=>Kt.interactive&&!Kt.completed&&Kt.time>Ke);return typeof Dt?.time=="number"?Math.min(L,Dt.time-.05):L},q=()=>{nt.ui.episodes.panelOpened$.set(!1)},oi=()=>{clearTimeout(bt),clearTimeout($e),ft.unsubscribe(),_t.unsubscribe(),B.destroy(),I.destroy(),ie?.destroy(),O?.destroy(),ue.unsubscribe()},nt={interfaceLanguage$:Pe,initVideo:J,videoId:e,isClip:i,playerPhase:ae,vsid:qe,state:{positionExact$:ht,positionWithScrubbing$:gn,duration$:Nt,playbackState$:dt,isPlaying$:bi,isLoaderVisible:hi,bufferedProgress$:Ri,isLive$:St,canChangePlaybackSpeed$:si,isActiveLive$:$t,isOldestAvailableLive$:ei,isRewindableLive$:_i,isEnded$:kt,muted$:Fi,volume$:Ut,trafficSavingEnabled$:Ki,autoQualityLimitingAvailable$:Jt,currentQuality$:vi,isAutoQualityEnabled$:Tt,availableQualities$:wi,currentPlaybackRate$:ti,availablePlaybackRates$:Zt,currentSubtitle$:yt,availableSubtitlesList$:At,currentSubtitleCaptions$:Wt,isAutoSubtitleCaptionVisible$:ki,chromecastState$:Bt,chromecastDeviceName$:xt,chromecastConnected$:Rt,currentFormat$:ri,throughputEstimation$:qt,videoBitrate$:ai,videoSize$:jt,errorLog$:K,crashed$:_e,isAudioAvailable$:Bi,isAudioDisabled:!!s,canDownload:G.features.download&&!!l,availableSources$:yi,hasMpegSources$:Gi,isInteractive:w,isInteractiveGraphEnabled:G.features.interactiveGraph,isSeekToInteractiveEnable:G.features.seekToInteractive,isPlayPrevChapterEnabled:G.features.interactivePlayPrevChapter,interactiveEpisodes$:eo,isInteractiveTime$:Rn,graphIsOpened$:Ae(!1),isInteractiveExpectation$:Nn,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:C},ui:{controlsVisible:Ae(!1),touched:Ae(!1),controls:{prevButton:Ae(void 0),playButton:Ae(void 0),replayButton:Ae(void 0),nextButton:Ae(void 0),playPrevChapterButton:Ae(void 0),seekToInteractiveButton:Ae(void 0),interactiveGraphButton:Ae(void 0),liveButton:Ae(void 0),time:Ae(void 0),episodes:Ae(void 0),volume:Ae(void 0),subtitles:Ae(void 0),settings:Ae(void 0),context:Ae(void 0),chromecast:Ae(void 0),pip:Ae(void 0),fullscreen:Ae(void 0),vkLogo:Ae(void 0),additionalButtons:V.length?V.reduce(L=>[...L,Ae(void 0)],[]):[],disabledControls$:ve},modals:{hotKeyMap:{show:Ae(!1),data:Ae({title:"",closeBtnText:"",groups:[]})}},isFullscreen:je,rotateAlpha:ce,isAutoplay:Ae(!1),contextMenuVisible:Ae(!1),debugPanelVisible:Ae(!1),episodes:{panelOpened$:Ae(!1),openedByKeyboard$:Ae(!1)},contextMenu:{btnRef$:Ae(void 0),openedByKeyboard$:Ae(!1),showContextMenuBtn$:Ae(!1)},playerSize:Lt,isMobile:sn,mobileNotReportControlHidden$:bn,mobileUnmuteButtonExpanded:Ae(!1),mobileUnmuteButtonVisible:Ae(!1),icon3DVideoVisible:Ae(!1),settingsMenuVisible:Ae(!1),settingsMenuOpenedByKeyboard:Ae(!1),scrubbingInProgress:zi,is3DVideo:Ae(!1),isPictureInPictureActive$:gt,pictureInPictureType$:_n(Se),clientInfo$:_n(ke),currentGridType$:ln,additionalButtons$:un,interactiveHideMobileControls:Ae(!1),overlayContainer$:Ae(void 0),startedByKeyboard$:Ae(!1)},ads:{position:Ae(0),duration:Ae(0),playbackState:Ae(Yt.INACTIVE),canSkip:Ae(!1),secondsToWatchBeforeSkip:Ae(0),postrollPassed:Ae(!1)},webApi:{pictureInPictureApi:X,annotationsApi:se},actions:{internal:{preload:ji,firstStart:L=>Hn(L,!1),pause:()=>Fn(!1),togglePlay:Ei,toggleMuted:fi,toggleSettingsMenu:Ti,openSettingsMenu:Pi,closeSettingsMenu:Si,setVolume:Le,setQuality:Zi,setTrafficSavingEnabled:L=>Ai(L),setPlaybackRate:Oe,incrementPlaybackRate:di,decrementPlaybackRate:Li,setSubtitle:Ot,toggleSubtitle:zt,togglePictureInPicture:$n,startScrubbing:en,progressScrubbing:ee,completeScrubbing:on,toggleChromecast:Qn,switchToActiveLive:cn,switchFromAdsToVideo:at,switchFromVideoToAds:In,skipAd:y,setWaitingLive:Vn,setWaitingRecord:wn,getDebugTextData:Kn,getDebugPanelData:Gn,getVideoElement:Yn,seekTime:(L,re,ye)=>ii(L,re,ye),clearDelayedBufferingCheckTimeout:gi,seekEpisodeStartTime:Ji,seekToPercent:Oi,getNextEpisode:Jn,seekToNextEpisode:fn,getPrevEpisode:Mn,seekToPrevEpisode:xn,startLogging:Ue,stopLogging:Ve,startCameraManualRotation:vt,stopCameraManualRotation:Mt,moveCameraFocusPX:Xt,holdCamera:Ht,releaseCamera:fe,getVideoEpisodes:Un,getPreviewThumbsData:Bn,downloadVideo:ci,addLanguage:Wl,setLanguage:$,nextMovie:De,videoRotate:ho,completeInteractiveRange:to,correctSeekTimeToInteractive:qn,replayInteractive:P},external:{firstStart:L=>Hn(L,!0),play:()=>Xn(!0),pause:()=>Fn(!0),seekTime:L=>xi(L),seekEpisodeStartTime:L=>Yi(L),setPlaybackRate:L=>Ii(L),setAutoQualityLimits:L=>$i(L),setMuted:L=>qi(L,!0),setVolume:L=>Le(L,L,!0),returnFocusToEpisodes:q}},callbacks:r,setUiCallbacks:L=>{oe={...L}},getAdmanWrapper:()=>I,getLogger:()=>x,destroy:oi};return nt},pu=(t,e,i,n)=>{if(!t)return;const o=t.getBoundingClientRect();for(const[s,l]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(s)){const r=i[s]?.getBoundingClientRect(),a=n&&!!r&&!!(r.right-r.left);l.set({positionStartX:0,positionEndX:0,left:a?Math.round(r.left-o.left):0,right:a?Math.round(r.right-o.left):0,top:a?Math.round(r.top-o.top):0,bottom:a?Math.round(r.bottom-o.top):0,isDisplayed:a})}},hu=async(t,e,i)=>{await So(),e&&i&&(i.focus(),t.set(!1))};function I4(t){let e,i;return{c(){e=R("svg"),i=R("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,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class V4 extends be{constructor(e){super(),ge(this,e,null,I4,he,{})}}function M4(t){let e,i;return e=new V4({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function B4(t){let e,i,n;function o(l){t[8](l)}let s={className:t[3]?"opened":"",testId:"btn-context-menu",disabled:t[0],ariaLabel:t[1],click:t[5],focus:t[6],blur:t[7],ariaExpanded:t[3],$$slots:{default:[M4]},$$scope:{ctx:t}};return t[2]!==void 0&&(s.ref=t[2]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.className=l[3]?"opened":""),r&1&&(a.disabled=l[0]),r&2&&(a.ariaLabel=l[1]),r&8&&(a.ariaExpanded=l[3]),r&8192&&(a.$$scope={dirty:r,ctx:l}),!i&&r&4&&(i=!0,a.ref=l[2],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function N4(t,e,i){let n,{disabled:o=!1}=e,{ariaLabel:s=""}=e;const l=ct(),r=l.ui.contextMenuVisible;D(t,r,_=>i(3,n=_));const a=l.ui.contextMenu.openedByKeyboard$,c=l.ui.contextMenu.showContextMenuBtn$,f=l.ui.contextMenu.btnRef$,m=_=>{const P=wl(_);a.set(P),r.set(!n)};let h;const v=()=>{c.set(!0)},g=()=>{c.set(!1)};function w(_){h=_,i(2,h)}return t.$$set=_=>{"disabled"in _&&i(0,o=_.disabled),"ariaLabel"in _&&i(1,s=_.ariaLabel)},t.$$.update=()=>{t.$$.dirty&4&&h&&f.set(h)},[o,s,h,n,r,m,v,g,w]}class R4 extends be{constructor(e){super(),ge(this,e,N4,B4,he,{disabled:0,ariaLabel:1})}}function O4(t){ze(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 sr(t,e,i){const n=t.slice();return n[205]=e[i].iconUrl,n[206]=e[i].ariaLabel,n[207]=e[i].testId,n[208]=e[i].onClick,n[209]=e[i].tooltip,n}function rr(t){let e,i,n;function o(l){t[171](l)}let s={disabled:!t[9],tooltipContent:Y("tooltip_previous"),$$slots:{default:[z4]},$$scope:{ctx:t}};return t[23].prevButton!==void 0&&(s.ref=t[23].prevButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&512&&(a.disabled=!l[9]),r[0]&4608|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].prevButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function z4(t){let e,i;return e=new Qo({props:{click:t[12],type:"prev",disabled:!t[9],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&4096&&(s.click=n[12]),o[0]&512&&(s.disabled=!n[9]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ar(t){let e,i,n;function o(l){t[172](l)}let s={disabled:t[74],tooltipContent:Y("tooltip_restart"),$$slots:{default:[D4]},$$scope:{ctx:t}};return t[23].replayButton!==void 0&&(s.ref=t[23].replayButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[2]&4096&&(a.disabled=l[74]),r[2]&4096|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].replayButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function D4(t){let e,i;return e=new Al({props:{click:t[127],disabled:t[74]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[2]&4096&&(s.disabled=n[74]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ur(t){let e,i,n;function o(l){t[174](l)}let s={tooltipContent:t[47],disabled:t[75],$$slots:{default:[F4]},$$scope:{ctx:t}};return t[23].playButton!==void 0&&(s.ref=t[23].playButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.tooltipContent=l[47]),r[2]&8192&&(a.disabled=l[75]),r[0]&67108864|r[1]&8|r[2]&8192|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].playButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function F4(t){let e,i,n;function o(l){t[173](l)}let s={isMobile:!1,isPlaying:t[34],click:t[86],disabled:t[75]};return t[26]!==void 0&&(s.ref=t[26]),e=new El({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&8&&(a.isPlaying=l[34]),r[2]&8192&&(a.disabled=l[75]),!i&&r[0]&67108864&&(i=!0,a.ref=l[26],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function cr(t){let e,i,n;function o(l){t[175](l)}let s={disabled:!t[8],tooltipContent:Y("tooltip_next"),$$slots:{default:[H4]},$$scope:{ctx:t}};return t[23].nextButton!==void 0&&(s.ref=t[23].nextButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&256&&(a.disabled=!l[8]),r[0]&2304|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].nextButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function H4(t){let e,i;return e=new Qo({props:{click:t[11],type:"next",disabled:!t[8],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&2048&&(s.click=n[11]),o[0]&256&&(s.disabled=!n[8]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function U4(t){let e,i,n,o,s=t[121]&&q4(t),l=t[120]&&Z4(t),r=t[119]&&K4(t);return{c(){s&&s.c(),e=z(),l&&l.c(),i=z(),r&&r.c(),n=lt()},m(a,c){s&&s.m(a,c),E(a,e,c),l&&l.m(a,c),E(a,i,c),r&&r.m(a,c),E(a,n,c),o=!0},p(a,c){a[121]&&s.p(a,c),a[120]&&l.p(a,c),a[119]&&r.p(a,c)},i(a){o||(d(s),d(l),d(r),o=!0)},o(a){b(s),b(l),b(r),o=!1},d(a){a&&(T(e),T(i),T(n)),s&&s.d(a),l&&l.d(a),r&&r.d(a)}}}function q4(t){let e,i,n;function o(l){t[176](l)}let s={disabled:t[73],tooltipContent:Y("tooltip_interactive_go_back"),disabledTooltipContent:Y(t[123]),$$slots:{default:[j4]},$$scope:{ctx:t}};return t[23].playPrevChapterButton!==void 0&&(s.ref=t[23].playPrevChapterButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[2]&2048&&(a.disabled=l[73]),r[0]&131072|r[2]&2048|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].playPrevChapterButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function j4(t){let e,i;return e=new au({props:{disabled:t[73],click:t[17]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[2]&2048&&(s.disabled=n[73]),o[0]&131072&&(s.click=n[17]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Z4(t){let e,i,n;function o(l){t[177](l)}let s={disabled:t[76],tooltipContent:Y("tooltip_interactive_seek"),disabledTooltipContent:Y(t[79]),$$slots:{default:[W4]},$$scope:{ctx:t}};return t[23].seekToInteractiveButton!==void 0&&(s.ref=t[23].seekToInteractiveButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[2]&16384&&(a.disabled=l[76]),r[2]&131072&&(a.disabledTooltipContent=Y(l[79])),r[0]&32768|r[2]&16384|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].seekToInteractiveButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function W4(t){let e,i;return e=new lu({props:{disabled:t[76],click:t[15]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[2]&16384&&(s.disabled=n[76]),o[0]&32768&&(s.click=n[15]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function K4(t){let e,i,n;function o(l){t[178](l)}let s={tooltipContent:t[48],disabled:t[77],$$slots:{default:[G4]},$$scope:{ctx:t}};return t[23].interactiveGraphButton!==void 0&&(s.ref=t[23].interactiveGraphButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&131072&&(a.tooltipContent=l[48]),r[2]&32768&&(a.disabled=l[77]),r[0]&65536|r[1]&1|r[2]&32768|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].interactiveGraphButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function G4(t){let e,i;return e=new su({props:{click:t[16],graphIsOpened:t[31],disabled:t[77]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&65536&&(s.click=n[16]),o[1]&1&&(s.graphIsOpened=n[31]),o[2]&32768&&(s.disabled=n[77]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function fr(t){let e,i,n;function o(l){t[179](l)}let s={tooltipContent:t[50],$$slots:{default:[Y4]},$$scope:{ctx:t}};return t[23].liveButton!==void 0&&(s.ref=t[23].liveButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&524288&&(a.tooltipContent=l[50]),r[0]&2097152|r[1]&524288|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].liveButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Y4(t){let e,i;return e=new eu({props:{isActiveLive:t[21],isMobile:!1,ariaLabel:t[50]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.isActiveLive=n[21]),o[1]&524288&&(s.ariaLabel=n[50]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function dr(t){let e,i,n;function o(l){t[180](l)}let s={isMobile:!1,showDuration:t[55],position:t[4]?t[80]:t[81],duration:t[4]?t[82]:t[83]};return t[23].time!==void 0&&(s.ref=t[23].time),e=new G1({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&16777216&&(a.showDuration=l[55]),r[0]&16|r[2]&786432&&(a.position=l[4]?l[80]:l[81]),r[0]&16|r[2]&3145728&&(a.duration=l[4]?l[82]:l[83]),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].time,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function mr(t){let e,i;return e=new ou({props:{position:t[81],duration:t[83],timeCodes:t[102]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[2]&524288&&(s.position=n[81]),o[2]&2097152&&(s.duration=n[83]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Q4(t){let e,i,n=t[20]&&mr(t);return{c(){n&&n.c(),e=lt()},m(o,s){n&&n.m(o,s),E(o,e,s),i=!0},p(o,s){o[20]?n?(n.p(o,s),s[0]&1048576&&d(n,1)):(n=mr(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(de(),b(n,1,1,()=>{n=null}),me())},i(o){i||(d(n),i=!0)},o(o){b(n),i=!1},d(o){o&&T(e),n&&n.d(o)}}}function X4(t){let e,i;return e=new uu({props:{iconUrl:t[205],ariaLabel:t[206]??t[209],testId:t[207],onClick:t[208]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&268435456&&(s.iconUrl=n[205]),o[0]&268435456&&(s.ariaLabel=n[206]??n[209]),o[0]&268435456&&(s.testId=n[207]),o[0]&268435456&&(s.onClick=n[208]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function pr(t){let e,i;return e=new Vt({props:{tooltipContent:t[209],width:40,$$slots:{default:[X4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&268435456&&(s.tooltipContent=n[209]),o[0]&268435456|o[6]&67108864&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function hr(t){let e,i,n;function o(l){t[183](l)}let s={disabled:!t[6],tooltipContent:t[51],$$slots:{default:[J4]},$$scope:{ctx:t}};return t[23].vkLogo!==void 0&&(s.ref=t[23].vkLogo),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.disabled=!l[6]),r[1]&1048576&&(a.tooltipContent=l[51]),r[0]&192|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].vkLogo,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function J4(t){let e,i;return e=new x1({props:{click:t[87],logoClickable:t[6],videoLogoUrl:t[7]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&64&&(s.logoClickable=n[6]),o[0]&128&&(s.videoLogoUrl=n[7]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function x4(t){let e,i;return e=new b2({props:{isAudioAvailable:t[78],click:t[126]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[2]&65536&&(s.isAudioAvailable=n[78]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function gr(t){let e,i,n;function o(l){t[185](l)}let s={tooltipContent:t[52],$$slots:{default:[$4]},$$scope:{ctx:t}};return t[23].subtitles!==void 0&&(s.ref=t[23].subtitles),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&2097152&&(a.tooltipContent=l[52]),r[0]&262144|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].subtitles,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function $4(t){let e,i;return e=new Id({props:{isSubtitlesEnabled:t[18],click:t[88]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&262144&&(s.isSubtitlesEnabled=n[18]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function br(t){let e,i,n,o;function s(r){t[186](r)}let l={supportLink:t[10],playerControlsHeight:t[46]?.clientHeight,returnFocus:t[14]};return t[24]!==void 0&&(l.ref=t[24]),i=new K1({props:l}),we.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[0]&1024&&(c.supportLink=r[10]),a[1]&32768&&(c.playerControlsHeight=r[46]?.clientHeight),a[0]&16384&&(c.returnFocus=r[14]),!n&&a[0]&16777216&&(n=!0,c.ref=r[24],Fe(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){b(i.$$.fragment,r),o=!1},d(r){r&&T(e),H(i)}}}function _r(t){let e,i,n;function o(l){t[188](l)}let s={tooltipContent:t[27]?void 0:Y("tooltip_settings_off"),$$slots:{default:[e3]},$$scope:{ctx:t}};return t[23].settings!==void 0&&(s.ref=t[23].settings),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&134217728&&(a.tooltipContent=l[27]?void 0:Y("tooltip_settings_off")),r[0]&33554432|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].settings,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function e3(t){let e,i,n;function o(l){t[187](l)}let s={};return t[25]!==void 0&&(s.ref=t[25]),e=new Sl({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&33554432&&(i=!0,a.ref=l[25],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function t3(t){let e,i,n;function o(l){t[189](l)}let s={className:t[41]?"":"out-of-view",tooltipContent:t[49],$$slots:{default:[i3]},$$scope:{ctx:t}};return t[23].context!==void 0&&(s.ref=t[23].context),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&1024&&(a.className=l[41]?"":"out-of-view"),r[1]&262144&&(a.tooltipContent=l[49]),r[1]&262144|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].context,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function i3(t){let e,i;return e=new R4({props:{ariaLabel:t[49]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[1]&262144&&(s.ariaLabel=n[49]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function vr(t){let e,i,n;function o(l){t[190](l)}let s={tooltipContent:t[53],$$slots:{default:[n3]},$$scope:{ctx:t}};return t[23].fullscreen!==void 0&&(s.ref=t[23].fullscreen),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&4194304&&(a.tooltipContent=l[53]),r[0]&1073750016|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].fullscreen,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function n3(t){let e,i;return e=new X1({props:{click:t[13],isFullscreen:t[30]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&8192&&(s.click=n[13]),o[0]&1073741824&&(s.isFullscreen=n[30]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function wr(t){let e,i,n;function o(l){t[191](l)}let s={tooltipContent:t[54],$$slots:{default:[o3]},$$scope:{ctx:t}};return t[23].chromecast!==void 0&&(s.ref=t[23].chromecast),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&8388608&&(a.tooltipContent=l[54]),r[0]&536870912|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].chromecast,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function o3(t){let e,i;return e=new $1({props:{isMobile:!1,state:t[29],click:t[125]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&536870912&&(s.state=n[29]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function l3(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k,C,V,ne,M,G,B,x,I,ie,O;i=new nu({props:{isHidden:!t[45],isAds:t[4],canRewindLive:t[5],isRewindableLive:t[32]}});let X=t[38]&&rr(t),se=t[35]&&ar(t),S=t[36]&&ur(t),le=t[37]&&cr(t),W=t[118]&&U4(t),oe=!t[4]&&t[33]&&fr(t),ke=t[19]&&dr(t);function qe(J){t[181](J)}let je={className:"w-max",disabled:!t[20],tooltipContent:Y("tooltip_episodes"),$$slots:{default:[Q4]},$$scope:{ctx:t}};t[23].episodes!==void 0&&(je.ref=t[23].episodes),v=new Vt({props:je}),we.push(()=>He(v,"ref",qe));let Ie=Ft(t[28]),Se=[];for(let J=0;J<Ie.length;J+=1)Se[J]=pr(sr(t,Ie,J));const ce=J=>b(Se[J],1,1,()=>{Se[J]=null});let K=t[43]&&hr(t);function ue(J){t[184](J)}let _e={$$slots:{default:[x4]},$$scope:{ctx:t}};t[23].volume!==void 0&&(_e.ref=t[23].volume),V=new Vt({props:_e}),we.push(()=>He(V,"ref",ue));let $=t[40]&&gr(t),Pe=!t[84]&&!t[4]&&br(t),Ee=t[42]&&_r(t),Be=t[85].features.contextMenuButton&&t3(t),ae=t[44]&&vr(t),ve=t[39]&&wr(t);return{c(){e=A("div"),U(i.$$.fragment),n=z(),o=A("div"),s=A("div"),X&&X.c(),l=z(),se&&se.c(),r=z(),S&&S.c(),a=z(),le&&le.c(),c=z(),W&&W.c(),f=z(),oe&&oe.c(),m=z(),ke&&ke.c(),h=z(),U(v.$$.fragment),_=z(),P=A("div");for(let J=0;J<Se.length;J+=1)Se[J].c();k=z(),K&&K.c(),C=z(),U(V.$$.fragment),M=z(),$&&$.c(),G=z(),Pe&&Pe.c(),B=z(),Ee&&Ee.c(),x=z(),Be&&Be.c(),I=z(),ae&&ae.c(),ie=z(),ve&&ve.c(),u(s,"class","controls-left v-st0uzk"),co(()=>t[182].call(s)),u(P,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),N(e,"hidden",t[1]),N(e,"controls-hidden",!t[3]),N(e,"no-smooth",t[2])},m(J,Q){E(J,e,Q),F(i,e,null),p(e,n),p(e,o),p(o,s),X&&X.m(s,null),p(s,l),se&&se.m(s,null),p(s,r),S&&S.m(s,null),p(s,a),le&&le.m(s,null),p(s,c),W&&W.m(s,null),p(s,f),oe&&oe.m(s,null),p(s,m),ke&&ke.m(s,null),p(s,h),F(v,s,null),w=hl(s,t[182].bind(s)),p(o,_),p(o,P);for(let De=0;De<Se.length;De+=1)Se[De]&&Se[De].m(P,null);p(P,k),K&&K.m(P,null),p(P,C),F(V,P,null),p(P,M),$&&$.m(P,null),p(P,G),Pe&&Pe.m(P,null),p(P,B),Ee&&Ee.m(P,null),p(P,x),Be&&Be.m(P,null),p(P,I),ae&&ae.m(P,null),p(P,ie),ve&&ve.m(P,null),t[192](o),t[193](e),O=!0},p(J,Q){const De={};Q[1]&16384&&(De.isHidden=!J[45]),Q[0]&16&&(De.isAds=J[4]),Q[0]&32&&(De.canRewindLive=J[5]),Q[1]&2&&(De.isRewindableLive=J[32]),i.$set(De),J[38]?X?(X.p(J,Q),Q[1]&128&&d(X,1)):(X=rr(J),X.c(),d(X,1),X.m(s,l)):X&&(de(),b(X,1,1,()=>{X=null}),me()),J[35]?se?(se.p(J,Q),Q[1]&16&&d(se,1)):(se=ar(J),se.c(),d(se,1),se.m(s,r)):se&&(de(),b(se,1,1,()=>{se=null}),me()),J[36]?S?(S.p(J,Q),Q[1]&32&&d(S,1)):(S=ur(J),S.c(),d(S,1),S.m(s,a)):S&&(de(),b(S,1,1,()=>{S=null}),me()),J[37]?le?(le.p(J,Q),Q[1]&64&&d(le,1)):(le=cr(J),le.c(),d(le,1),le.m(s,c)):le&&(de(),b(le,1,1,()=>{le=null}),me()),J[118]&&W.p(J,Q),!J[4]&&J[33]?oe?(oe.p(J,Q),Q[0]&16|Q[1]&4&&d(oe,1)):(oe=fr(J),oe.c(),d(oe,1),oe.m(s,m)):oe&&(de(),b(oe,1,1,()=>{oe=null}),me()),J[19]?ke?(ke.p(J,Q),Q[0]&524288&&d(ke,1)):(ke=dr(J),ke.c(),d(ke,1),ke.m(s,h)):ke&&(de(),b(ke,1,1,()=>{ke=null}),me());const tt={};if(Q[0]&1048576&&(tt.disabled=!J[20]),Q[0]&1048576|Q[2]&2621440|Q[6]&67108864&&(tt.$$scope={dirty:Q,ctx:J}),!g&&Q[0]&8388608&&(g=!0,tt.ref=J[23].episodes,Fe(()=>g=!1)),v.$set(tt),Q[0]&268435456){Ie=Ft(J[28]);let Ce;for(Ce=0;Ce<Ie.length;Ce+=1){const Ge=sr(J,Ie,Ce);Se[Ce]?(Se[Ce].p(Ge,Q),d(Se[Ce],1)):(Se[Ce]=pr(Ge),Se[Ce].c(),d(Se[Ce],1),Se[Ce].m(P,k))}for(de(),Ce=Ie.length;Ce<Se.length;Ce+=1)ce(Ce);me()}J[43]?K?(K.p(J,Q),Q[1]&4096&&d(K,1)):(K=hr(J),K.c(),d(K,1),K.m(P,C)):K&&(de(),b(K,1,1,()=>{K=null}),me());const Je={};Q[2]&65536|Q[6]&67108864&&(Je.$$scope={dirty:Q,ctx:J}),!ne&&Q[0]&8388608&&(ne=!0,Je.ref=J[23].volume,Fe(()=>ne=!1)),V.$set(Je),J[40]?$?($.p(J,Q),Q[1]&512&&d($,1)):($=gr(J),$.c(),d($,1),$.m(P,G)):$&&(de(),b($,1,1,()=>{$=null}),me()),!J[84]&&!J[4]?Pe?(Pe.p(J,Q),Q[0]&16|Q[2]&4194304&&d(Pe,1)):(Pe=br(J),Pe.c(),d(Pe,1),Pe.m(P,B)):Pe&&(de(),b(Pe,1,1,()=>{Pe=null}),me()),J[42]?Ee?(Ee.p(J,Q),Q[1]&2048&&d(Ee,1)):(Ee=_r(J),Ee.c(),d(Ee,1),Ee.m(P,x)):Ee&&(de(),b(Ee,1,1,()=>{Ee=null}),me()),J[85].features.contextMenuButton&&Be.p(J,Q),J[44]?ae?(ae.p(J,Q),Q[1]&8192&&d(ae,1)):(ae=vr(J),ae.c(),d(ae,1),ae.m(P,ie)):ae&&(de(),b(ae,1,1,()=>{ae=null}),me()),J[39]?ve?(ve.p(J,Q),Q[1]&256&&d(ve,1)):(ve=wr(J),ve.c(),d(ve,1),ve.m(P,null)):ve&&(de(),b(ve,1,1,()=>{ve=null}),me()),(!O||Q[0]&2)&&N(e,"hidden",J[1]),(!O||Q[0]&8)&&N(e,"controls-hidden",!J[3]),(!O||Q[0]&4)&&N(e,"no-smooth",J[2])},i(J){if(!O){d(i.$$.fragment,J),d(X),d(se),d(S),d(le),d(W),d(oe),d(ke),d(v.$$.fragment,J);for(let Q=0;Q<Ie.length;Q+=1)d(Se[Q]);d(K),d(V.$$.fragment,J),d($),d(Pe),d(Ee),d(Be),d(ae),d(ve),O=!0}},o(J){b(i.$$.fragment,J),b(X),b(se),b(S),b(le),b(W),b(oe),b(ke),b(v.$$.fragment,J),Se=Se.filter(Boolean);for(let Q=0;Q<Se.length;Q+=1)b(Se[Q]);b(K),b(V.$$.fragment,J),b($),b(Pe),b(Ee),b(Be),b(ae),b(ve),O=!1},d(J){J&&T(e),H(i),X&&X.d(),se&&se.d(),S&&S.d(),le&&le.d(),W&&W.d(),oe&&oe.d(),ke&&ke.d(),H(v),w(),hn(Se,J),K&&K.d(),H(V),$&&$.d(),Pe&&Pe.d(),Ee&&Ee.d(),Be&&Be.d(),ae&&ae.d(),ve&&ve.d(),t[192](null),t[193](null)}}}function s3(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k,C,V,ne,M,G,B,x,I,ie,O,X,se,S,le,W,oe=Z,ke=()=>(oe(),oe=Gt(x,j=>i(142,W=j)),x),qe,je=Z,Ie=()=>(je(),je=Gt(B,j=>i(143,qe=j)),B),Se,ce=Z,K=()=>(ce(),ce=Gt(G,j=>i(144,Se=j)),G),ue,_e=Z,$=()=>(_e(),_e=Gt(M,j=>i(145,ue=j)),M),Pe,Ee=Z,Be=()=>(Ee(),Ee=Gt(ne,j=>i(146,Pe=j)),ne),ae,ve=Z,J=()=>(ve(),ve=Gt(V,j=>i(147,ae=j)),V),Q,De=Z,tt=()=>(De(),De=Gt(C,j=>i(148,Q=j)),C),Je,Ce=Z,Ge=()=>(Ce(),Ce=Gt(k,j=>i(149,Je=j)),k),xe,ft=Z,_t=()=>(ft(),ft=Gt(P,j=>i(150,xe=j)),P),Ue,Ve=Z,vt=()=>(Ve(),Ve=Gt(_,j=>i(151,Ue=j)),_),Mt,Xt=Z,Ht=()=>(Xt(),Xt=Gt(w,j=>i(152,Mt=j)),w),fe,ht=Z,gt=()=>(ht(),ht=Gt(g,j=>i(153,fe=j)),g),dt,st=Z,kt=()=>(st(),st=Gt(v,j=>i(154,dt=j)),v),St,si=Z,Di=()=>(si(),si=Gt(h,j=>i(155,St=j)),h),Ut,Fi=Z,Ki=()=>(Fi(),Fi=Gt(m,j=>i(156,Ut=j)),m),Jt,Vi=Z,Mi=()=>(Vi(),Vi=Gt(f,j=>i(157,Jt=j)),f),Bt,xt=Z,ri=()=>(xt(),xt=Gt(c,j=>i(158,Bt=j)),c),qt,ai,jt,pi,Bi,pt,ui,hi,gi,Nt,bi,$t,ei,Pt,_i,Rt,rt,Tt,Ni,vi,wi,ti,Zt;t.$$.on_destroy.push(()=>oe()),t.$$.on_destroy.push(()=>je()),t.$$.on_destroy.push(()=>ce()),t.$$.on_destroy.push(()=>_e()),t.$$.on_destroy.push(()=>Ee()),t.$$.on_destroy.push(()=>ve()),t.$$.on_destroy.push(()=>De()),t.$$.on_destroy.push(()=>Ce()),t.$$.on_destroy.push(()=>ft()),t.$$.on_destroy.push(()=>Ve()),t.$$.on_destroy.push(()=>Xt()),t.$$.on_destroy.push(()=>ht()),t.$$.on_destroy.push(()=>st()),t.$$.on_destroy.push(()=>si()),t.$$.on_destroy.push(()=>Fi()),t.$$.on_destroy.push(()=>Vi()),t.$$.on_destroy.push(()=>xt());let{bottomHidden:Hi}=e,{bottomNoSmooth:Et}=e,{showControls:wt}=e,{controlsElementRef:yt=void 0}=e,{isAds:At=!1}=e,{canRewindLive:Ui}=e,{logoClickable:Wt}=e,{logoHidden:ki}=e,{videoLogoUrl:Ri}=e,{showNextPrevButtons:yi}=e,{nextButtonActive:Gi}=e,{prevButtonActive:Ci}=e,{isOneVideoPlaylist:ci=!1}=e,{supportLink:fi}=e,{customFullscreenSupported:Si=!0}=e,{playNextVideo:Pi}=e,{playPrevVideo:Ti}=e,{repeatPlaylist:Le}=e,{toggleFullscreen:qi}=e,{returnFocus:ji}=e,{seekToInteractive:Ei}=e,{toggleGraph:Zi}=e,{playPrevChapter:Ai}=e;const Oe=ct(),di=Go(),Li=nn(),Ot=Oe.actions.internal.toggleMuted,zt=Oe.actions.internal.togglePlay,ii=Oe.actions.internal.pause,Ji=Oe.actions.internal.toggleSubtitle,Oi=Oe.callbacks?.onAudioDoesNotExistHint,xi=Oe.callbacks?.onAudioDisabledHint,$i=Oe.state.duration$;D(t,$i,j=>i(83,ti=j));const Yi=Oe.state.positionWithScrubbing$;D(t,Yi,j=>i(81,vi=j));const Ii=Oe.state.playbackState$;D(t,Ii,j=>i(159,jt=j));const Wi=Oe.state.chromecastConnected$;D(t,Wi,j=>i(84,Zt=j));const zi=Oe.state.isAudioAvailable$;D(t,zi,j=>i(78,I=j));const en=Oe.state.isAudioDisabled,ee=Oe.state.isEnded$;D(t,ee,j=>i(167,Pt=j));const $e=Oe.state.isLive$;D(t,$e,j=>i(33,hi=j));const bt=Oe.state.isActiveLive$;D(t,bt,j=>i(161,pt=j));const ni=Oe.state.isRewindableLive$;D(t,ni,j=>i(32,ui=j));const Qi=Oe.ui.isPictureInPictureActive$;D(t,Qi,j=>i(163,Nt=j));const on=Oe.ui.pictureInPictureType$;D(t,on,j=>i(162,gi=j));const gn=Oe.ui.settingsMenuVisible;D(t,gn,j=>i(27,X=j));const Lt=Oe.ui.settingsMenuOpenedByKeyboard;D(t,Lt,j=>i(139,O=j));const ln=Oe.ui.controls,sn=Oe.actions.internal.getVideoEpisodes(),un=Oe.state.chromecastState$;D(t,un,j=>i(29,qt=j));const bn=Oe.state.availableSubtitlesList$;D(t,bn,j=>i(166,ei=j));const cn=Oe.state.currentSubtitle$;D(t,cn,j=>i(168,_i=j));const y=ln.disabledControls$;D(t,y,j=>i(170,rt=j));const at=Oe.ui.contextMenuVisible;D(t,at,j=>i(160,pi=j));const In=Oe.ui.contextMenu.showContextMenuBtn$;D(t,In,j=>i(164,bi=j));const Vn=Oe.ui.contextMenu.openedByKeyboard$;D(t,Vn,j=>i(165,$t=j));const wn=Oe.ui.startedByKeyboard$;D(t,wn,j=>i(138,ie=j));const Kn=Oe.ads.duration;D(t,Kn,j=>i(82,wi=j));const Gn=Oe.ads.position;D(t,Gn,j=>i(80,Ni=j));const Yn=Oe.ads.playbackState;D(t,Yn,j=>i(169,Rt=j));const Qn=Oe.ui.isFullscreen;D(t,Qn,j=>i(30,ai=j));const Fn=Oe.ui.playerSize;D(t,Fn,j=>i(140,se=j));const Xn=Oe.ui.currentGridType$;D(t,Xn,j=>i(141,S=j));const Hn=Oe.ui.additionalButtons$;D(t,Hn,j=>i(28,le=j));const Un=Oe.actions.internal.getVideoElement,Jn=Oe.actions.internal.replayInteractive,fn=Oe.state.isInteractive,Mn=Oe.state.isInteractiveGraphEnabled,xn=Oe.state.isSeekToInteractiveEnable,Bn=Oe.state.isPlayPrevChapterEnabled,$n=Oe.state.graphIsOpened$;D(t,$n,j=>i(31,Bi=j));const ho=Oe.state.playPrevChapterDisabledTooltip,kn=di.seekToInteractiveDisabledTooltip$;D(t,kn,j=>i(79,Tt=j));const eo=()=>Oe.actions.internal.toggleChromecast();let to,Nn,Rn,qn,q,oi,nt,L,re,ye,Ne,Ke,Dt,Kt,It,rn,On,go,bo,Vl,Ml,Xo="";const Lu=(j,xo)=>{if(!j){i(50,Xo=Y("tooltip_live"));return}xo===Qe.PlaybackState.PAUSED&&i(50,Xo=Y("tooltip_play"))};let Bl,Nl,Rl,Ol,Eo;const Ze={};let dn,_o,Jo,zl;const Iu=te.throttleFn(pu,o1,{leading:!1});let Ao,Lo,Io;function Vu(){en?xi?.():I?Ot():Oi?.()}const Mu=fn?Jn:ci?zt:Le;function Bu(j){t.$$.not_equal(Ze.prevButton,j)&&(Ze.prevButton=j,i(23,Ze))}function Nu(j){t.$$.not_equal(Ze.replayButton,j)&&(Ze.replayButton=j,i(23,Ze))}function Ru(j){Io=j,i(26,Io)}function Ou(j){t.$$.not_equal(Ze.playButton,j)&&(Ze.playButton=j,i(23,Ze))}function zu(j){t.$$.not_equal(Ze.nextButton,j)&&(Ze.nextButton=j,i(23,Ze))}function Du(j){t.$$.not_equal(Ze.playPrevChapterButton,j)&&(Ze.playPrevChapterButton=j,i(23,Ze))}function Fu(j){t.$$.not_equal(Ze.seekToInteractiveButton,j)&&(Ze.seekToInteractiveButton=j,i(23,Ze))}function Hu(j){t.$$.not_equal(Ze.interactiveGraphButton,j)&&(Ze.interactiveGraphButton=j,i(23,Ze))}function Uu(j){t.$$.not_equal(Ze.liveButton,j)&&(Ze.liveButton=j,i(23,Ze))}function qu(j){t.$$.not_equal(Ze.time,j)&&(Ze.time=j,i(23,Ze))}function ju(j){t.$$.not_equal(Ze.episodes,j)&&(Ze.episodes=j,i(23,Ze))}function Zu(){Eo=this.clientWidth,i(22,Eo)}function Wu(j){t.$$.not_equal(Ze.vkLogo,j)&&(Ze.vkLogo=j,i(23,Ze))}function Ku(j){t.$$.not_equal(Ze.volume,j)&&(Ze.volume=j,i(23,Ze))}function Gu(j){t.$$.not_equal(Ze.subtitles,j)&&(Ze.subtitles=j,i(23,Ze))}function Yu(j){Ao=j,i(24,Ao)}function Qu(j){Lo=j,i(25,Lo)}function Xu(j){t.$$.not_equal(Ze.settings,j)&&(Ze.settings=j,i(23,Ze))}function Ju(j){t.$$.not_equal(Ze.context,j)&&(Ze.context=j,i(23,Ze))}function xu(j){t.$$.not_equal(Ze.fullscreen,j)&&(Ze.fullscreen=j,i(23,Ze))}function $u(j){t.$$.not_equal(Ze.chromecast,j)&&(Ze.chromecast=j,i(23,Ze))}function ec(j){we[j?"unshift":"push"](()=>{On=j,i(46,On)})}function tc(j){we[j?"unshift":"push"](()=>{yt=j,i(0,yt)})}return t.$$set=j=>{"bottomHidden"in j&&i(1,Hi=j.bottomHidden),"bottomNoSmooth"in j&&i(2,Et=j.bottomNoSmooth),"showControls"in j&&i(3,wt=j.showControls),"controlsElementRef"in j&&i(0,yt=j.controlsElementRef),"isAds"in j&&i(4,At=j.isAds),"canRewindLive"in j&&i(5,Ui=j.canRewindLive),"logoClickable"in j&&i(6,Wt=j.logoClickable),"logoHidden"in j&&i(128,ki=j.logoHidden),"videoLogoUrl"in j&&i(7,Ri=j.videoLogoUrl),"showNextPrevButtons"in j&&i(129,yi=j.showNextPrevButtons),"nextButtonActive"in j&&i(8,Gi=j.nextButtonActive),"prevButtonActive"in j&&i(9,Ci=j.prevButtonActive),"isOneVideoPlaylist"in j&&i(130,ci=j.isOneVideoPlaylist),"supportLink"in j&&i(10,fi=j.supportLink),"customFullscreenSupported"in j&&i(131,Si=j.customFullscreenSupported),"playNextVideo"in j&&i(11,Pi=j.playNextVideo),"playPrevVideo"in j&&i(12,Ti=j.playPrevVideo),"repeatPlaylist"in j&&i(132,Le=j.repeatPlaylist),"toggleFullscreen"in j&&i(13,qi=j.toggleFullscreen),"returnFocus"in j&&i(14,ji=j.returnFocus),"seekToInteractive"in j&&i(15,Ei=j.seekToInteractive),"toggleGraph"in j&&i(16,Zi=j.toggleGraph),"playPrevChapter"in j&&i(17,Ai=j.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[5]&32768&&i(137,n=rt.has(ot.EPISODE_BUTTON)),t.$$.dirty[5]&32768&&i(77,o=rt.has(ot.GRAPH_BUTTON)),t.$$.dirty[5]&32768&&i(76,s=rt.has(ot.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[5]&32768&&i(75,l=rt.has(ot.PLAY_BUTTON)),t.$$.dirty[5]&32768&&i(74,r=rt.has(ot.REPLAY_BUTTON)),t.$$.dirty[5]&32768&&i(73,a=rt.has(ot.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[0]&16|t.$$.dirty[5]&16400&&i(34,to=At?Rt===Yt.PLAYING:jt===Qe.PlaybackState.PLAYING),t.$$.dirty[5]&8192&&i(18,Nn=_i.value!=="off"),t.$$.dirty[0]&16|t.$$.dirty[5]&4096&&i(35,Rn=Pt&&!At||fn),t.$$.dirty[0]&16|t.$$.dirty[5]&4096&&i(36,qn=!Pt||fn||At),t.$$.dirty[4]&131072&&i(133,q=mn(S,exports.GridTypes.M)),t.$$.dirty[0]&272|t.$$.dirty[4]&131104&&i(37,oi=yi&&mn(S,exports.GridTypes.M)&&!At&&Gi),t.$$.dirty[0]&528|t.$$.dirty[4]&131104&&i(38,nt=yi&&mn(S,exports.GridTypes.M)&&!At&&Ci),t.$$.dirty[0]&536870912|t.$$.dirty[4]&131072|t.$$.dirty[5]&384&&i(39,L=qt!==Qe.ChromecastState.NOT_AVAILABLE&&!(Nt&&gi===Sn.DocumentPictureInPicture)&&mn(S,exports.GridTypes.M)&&!fn),t.$$.dirty[4]&131072|t.$$.dirty[5]&2048&&i(40,re=ei.length>0&&mn(S,exports.GridTypes.M)),t.$$.dirty[5]&1536&&i(41,ye=$t||bi),t.$$.dirty[4]&131072&&i(42,Ne=mn(S,exports.GridTypes.S)),t.$$.dirty[4]&16&&i(43,Ke=!ki),t.$$.dirty[4]&131216|t.$$.dirty[5]&384&&i(44,Dt=Li.features.fullscreen&&(ki||mn(S,exports.GridTypes.S))&&!(Nt&&gi===Sn.DocumentPictureInPicture)&&(fn?Si:!0)),t.$$.dirty[0]&16|t.$$.dirty[1]&4&&i(19,Kt=(!hi||At)&&!(Li.features.interactiveHideTime&&fn)),t.$$.dirty[4]&65536&&i(45,It=se.width>100),t.$$.dirty[0]&16|t.$$.dirty[1]&4|t.$$.dirty[4]&8704&&i(20,rn=!At&&!hi&&!!sn?.length&&q&&!n),t.$$.dirty[1]&2|t.$$.dirty[5]&64&&i(21,go=!ui||pt),t.$$.dirty[5]&16&&i(47,bo=jt===Qe.PlaybackState.PLAYING?Y("tooltip_pause"):Y("tooltip_play")),t.$$.dirty[1]&1&&i(48,Vl=Y(Bi?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),t.$$.dirty[5]&32&&i(49,Ml=Y(pi?"aria_label_context_menu_close":"aria_label_context_menu_open")),t.$$.dirty[0]&2097152|t.$$.dirty[5]&16&&Lu(go,jt),t.$$.dirty[0]&262144&&i(52,Nl=Y(Nn?"tooltip_subtitles_on":"tooltip_subtitles_off")),t.$$.dirty[0]&1073741824&&i(53,Rl=Y(ai?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),t.$$.dirty[0]&536870912&&i(54,Ol=qt===Qe.ChromecastState.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off")),t.$$.dirty[0]&268435456|t.$$.dirty[4]&2147221504|t.$$.dirty[5]&15&&i(134,dn={prevButton:Bt?Bt.right-Bt.left:0,replayButton:Jt?Jt.right-Jt.left:0,playButton:Ut?Ut.right-Ut.left:0,nextButton:St?St.right-St.left:0,playPrevChapterButton:dt?dt.right-dt.left:0,seekToInteractiveButton:fe?fe.right-fe.left:0,interactiveGraphButton:Mt?Mt.right-Mt.left:0,liveButton:Ue?Ue.right-Ue.left:0,time:xe?xe.right-xe.left:0,episodes:Je?Je.right-Je.left:0,vkLogo:Q?Q.right-Q.left:0,volume:ae?ae.right-ae.left:0,subtitles:Pe?Pe.right-Pe.left:0,settings:ue?ue.right-ue.left:0,context:Se?Se.right-Se.left:0,fullscreen:qe?qe.right-qe.left:0,chromecast:W?W.right-W.left:0,additionalButtons:le.length?le.reduce(j=>[...j,40],[]):[]}),t.$$.dirty[4]&3072&&(!_o||_o<dn.time)&&i(135,_o=dn.time),t.$$.dirty[0]&5767168|t.$$.dirty[4]&134144){let j=0;rn&&(mn(S,exports.GridTypes.XL)?j=dn.time:j=Lc);const xo=dn.prevButton+dn.playButton+dn.nextButton+dn.seekToInteractiveButton+dn.interactiveGraphButton+dn.liveButton+_o+j;i(136,Jo=Kt&&Eo>=xo)}t.$$.dirty[4]&135168&&i(55,zl=Jo&&mn(S,exports.GridTypes.M)),t.$$.dirty[0]&8388616|t.$$.dirty[4]&65536&&Iu(Un(),ln,Ze,wt),t.$$.dirty[0]&167772160&&kl(Lo,X,Lt),t.$$.dirty[0]&150994944|t.$$.dirty[4]&32768&&yl(Ao,X,O),t.$$.dirty[0]&67108864|t.$$.dirty[4]&16384&&hu(wn,ie,Io)},i(51,Bl=Li.logoType===fo.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),ri(i(72,{prevButton:c,replayButton:f,playButton:m,nextButton:h,playPrevChapterButton:v,seekToInteractiveButton:g,interactiveGraphButton:w,liveButton:_,time:P,episodes:k,vkLogo:C,volume:V,subtitles:ne,settings:M,context:G,fullscreen:B,chromecast:x}=ln,c,Mi(i(71,f)),Ki(i(70,m)),Di(i(69,h)),kt(i(68,v)),gt(i(67,g)),Ht(i(66,w)),vt(i(65,_)),_t(i(64,P)),Ge(i(63,k)),tt(i(62,C)),J(i(61,V)),Be(i(60,ne)),$(i(59,M)),K(i(58,G)),Ie(i(57,B)),ke(i(56,x)))),[yt,Hi,Et,wt,At,Ui,Wt,Ri,Gi,Ci,fi,Pi,Ti,qi,ji,Ei,Zi,Ai,Nn,Kt,rn,go,Eo,Ze,Ao,Lo,Io,X,le,qt,ai,Bi,ui,hi,to,Rn,qn,oi,nt,L,re,ye,Ne,Ke,Dt,It,On,bo,Vl,Ml,Xo,Bl,Nl,Rl,Ol,zl,x,B,G,M,ne,V,C,k,P,_,w,g,v,h,m,f,c,a,r,l,s,o,I,Tt,Ni,vi,wi,ti,Zt,Li,zt,ii,Ji,$i,Yi,Ii,Wi,zi,ee,$e,bt,ni,Qi,on,gn,Lt,sn,un,bn,cn,y,at,In,Vn,wn,Kn,Gn,Yn,Qn,Fn,Xn,Hn,fn,Mn,xn,Bn,$n,ho,kn,eo,Vu,Mu,ki,yi,ci,Si,Le,q,dn,_o,Jo,n,ie,O,se,S,W,qe,Se,ue,Pe,ae,Q,Je,xe,Ue,Mt,fe,dt,St,Ut,Jt,Bt,jt,pi,pt,gi,Nt,bi,$t,ei,Pt,_i,Rt,rt,Bu,Nu,Ru,Ou,zu,Du,Fu,Hu,Uu,qu,ju,Zu,Wu,Ku,Gu,Yu,Qu,Xu,Ju,xu,$u,ec,tc]}class r3 extends be{constructor(e){super(),ge(this,e,s3,l3,he,{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},O4,[-1,-1,-1,-1,-1,-1,-1])}}function a3(t){let e,i,n,o;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(s,l){E(s,e,l),p(e,i),p(i,n),p(i,o)},p:Z,i:Z,o:Z,d(s){s&&T(e)}}}class u3 extends be{constructor(e){super(),ge(this,e,null,a3,he,{})}}function c3(t){ze(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 kr(t){let e;return{c(){e=A("span"),e.textContent=`${Y("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(i,n){E(i,e,n)},p:Z,d(i){i&&T(e)}}}function f3(t){let e,i,n,o;var s=t[4];function l(a){return{}}s&&(i=vn(s,l()));let r=t[1]&&kr();return{c(){e=A("div"),i&&U(i.$$.fragment),n=z(),r&&r.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),N(e,"expanded",t[1])},m(a,c){E(a,e,c),i&&F(i,e,null),p(e,n),r&&r.m(e,null),o=!0},p(a,c){if(c&16&&s!==(s=a[4])){if(i){de();const f=i;b(f.$$.fragment,1,0,()=>{H(f,1)}),me()}s?(i=vn(s,l()),U(i.$$.fragment),d(i.$$.fragment,1),F(i,e,n)):i=null}a[1]?r?r.p(a,c):(r=kr(),r.c(),r.m(e,null)):r&&(r.d(1),r=null),(!o||c&2)&&N(e,"expanded",a[1])},i(a){o||(i&&d(i.$$.fragment,a),o=!0)},o(a){i&&b(i.$$.fragment,a),o=!1},d(a){a&&T(e),i&&H(i),r&&r.d()}}}function d3(t){let e,i,n;function o(l){t[6](l)}let s={testId:t[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:t[2],ariaLabel:t[3],$$slots:{default:[f3]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.testId=l[1]?"btn-mobile-unmuted":"btn-mobile-muted"),r&4&&(a.click=l[2]),r&8&&(a.ariaLabel=l[3]),r&146&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function m3(t,e,i){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:s=te.noop}=e,{ref:l=void 0}=e,r,a;function c(f){l=f,i(0,l)}return t.$$set=f=>{"muted"in f&&i(5,n=f.muted),"expanded"in f&&i(1,o=f.expanded),"click"in f&&i(2,s=f.click),"ref"in f&&i(0,l=f.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,r=Y(n?"tooltip_volume":"tooltip_volume_muted")),t.$$.dirty&2&&i(4,a=o?Yo:u3)},[l,o,s,r,a,n,c]}class gu extends be{constructor(e){super(),ge(this,e,m3,d3,he,{muted:5,expanded:1,click:2,ref:0},c3)}}function p3(t){let e,i,n,o;return{c(){e=R("svg"),i=R("path"),n=R("path"),o=R("path"),u(i,"fill",t[1]),u(i,"clip-rule","evenodd"),u(i,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",t[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),N(n,"hidden",!t[0]),u(o,"fill",t[1]),u(o,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),N(o,"hidden",t[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(s,l){E(s,e,l),p(e,i),p(e,n),p(e,o)},p(s,[l]){l&2&&u(i,"fill",s[1]),l&2&&u(n,"fill",s[1]),l&1&&N(n,"hidden",!s[0]),l&2&&u(o,"fill",s[1]),l&1&&N(o,"hidden",s[0])},i:Z,o:Z,d(s){s&&T(e)}}}function h3(t,e,i){let n,{isActive:o=!1}=e;return t.$$set=s=>{"isActive"in s&&i(0,o=s.isActive)},t.$$.update=()=>{t.$$.dirty&1&&i(1,n=o?"#2688EB":"#fff")},[o,n]}class g3 extends be{constructor(e){super(),ge(this,e,h3,p3,he,{isActive:0})}}function b3(t){let e,i;return e=new g3({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _3(t){let e,i,n;function o(l){t[3](l)}let s={testId:"btn-pip",ariaLabel:Y("menu_pip"),click:t[2],$$slots:{default:[b3]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new mi({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&4&&(a.click=l[2]),r&18&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function v3(t,e,i){let{ref:n=void 0}=e,{isPictureInPictureActive:o=!1}=e,{click:s=te.noop}=e;function l(r){n=r,i(0,n)}return t.$$set=r=>{"ref"in r&&i(0,n=r.ref),"isPictureInPictureActive"in r&&i(1,o=r.isPictureInPictureActive),"click"in r&&i(2,s=r.click)},[n,o,s,l]}class w3 extends be{constructor(e){super(),ge(this,e,v3,_3,he,{ref:0,isPictureInPictureActive:1,click:2})}}function k3(t){ze(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 yr(t,e,i){const n=t.slice();return n[155]=e[i].iconUrl,n[156]=e[i].ariaLabel,n[157]=e[i].testId,n[158]=e[i].onClick,n[159]=e[i].tooltip,n}function Cr(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k=(!t[51]||t[53])&&Sr(t),C=Ft(t[56]),V=[];for(let S=0;S<C.length;S+=1)V[S]=Pr(yr(t,C,S));const ne=S=>b(V[S],1,1,()=>{V[S]=null});let M=t[36]&&Tr(t),G=t[37]&&Er(t),B=t[57]&&Ar(t),x=t[39]&&Lr(t),I=t[8]&&Ir(t),ie=t[34]&&Vr(t),O=t[33]&&Mr(t),X=t[8]&&Br(t),se=t[95]&&!t[29]&&Nr(t);return{c(){e=A("div"),i=z(),n=A("div"),k&&k.c(),o=z(),s=A("div");for(let S=0;S<V.length;S+=1)V[S].c();l=z(),M&&M.c(),r=z(),G&&G.c(),a=z(),B&&B.c(),c=z(),x&&x.c(),f=z(),m=A("div"),I&&I.c(),h=z(),ie&&ie.c(),v=z(),O&&O.c(),g=z(),X&&X.c(),w=z(),se&&se.c(),_=lt(),u(e,"class","overlay-mobile v-1tcstu3"),N(e,"hidden",!t[42]),u(n,"class","wrapper-top-left v-1tcstu3"),N(n,"hidden",!t[3]),N(n,"fullscreen",t[52]),u(s,"class","wrapper-top-right v-1tcstu3"),N(s,"hidden",!t[3]&&!t[27]),N(s,"fullscreen",t[52]),u(m,"class","wrapper-middle v-1tcstu3"),N(m,"hidden",!t[3]||t[29])},m(S,le){E(S,e,le),E(S,i,le),E(S,n,le),k&&k.m(n,null),E(S,o,le),E(S,s,le);for(let W=0;W<V.length;W+=1)V[W]&&V[W].m(s,null);p(s,l),M&&M.m(s,null),p(s,r),G&&G.m(s,null),p(s,a),B&&B.m(s,null),p(s,c),x&&x.m(s,null),E(S,f,le),E(S,m,le),I&&I.m(m,null),p(m,h),ie&&ie.m(m,null),p(m,v),O&&O.m(m,null),p(m,g),X&&X.m(m,null),E(S,w,le),se&&se.m(S,le),E(S,_,le),P=!0},p(S,le){if((!P||le[1]&2048)&&N(e,"hidden",!S[42]),!S[51]||S[53]?k?(k.p(S,le),le[1]&5242880&&d(k,1)):(k=Sr(S),k.c(),d(k,1),k.m(n,null)):k&&(de(),b(k,1,1,()=>{k=null}),me()),(!P||le[0]&8)&&N(n,"hidden",!S[3]),(!P||le[1]&2097152)&&N(n,"fullscreen",S[52]),le[1]&33554432){C=Ft(S[56]);let W;for(W=0;W<C.length;W+=1){const oe=yr(S,C,W);V[W]?(V[W].p(oe,le),d(V[W],1)):(V[W]=Pr(oe),V[W].c(),d(V[W],1),V[W].m(s,l))}for(de(),W=C.length;W<V.length;W+=1)ne(W);me()}S[36]?M?(M.p(S,le),le[1]&32&&d(M,1)):(M=Tr(S),M.c(),d(M,1),M.m(s,r)):M&&(de(),b(M,1,1,()=>{M=null}),me()),S[37]?G?(G.p(S,le),le[1]&64&&d(G,1)):(G=Er(S),G.c(),d(G,1),G.m(s,a)):G&&(de(),b(G,1,1,()=>{G=null}),me()),S[57]?B?(B.p(S,le),le[1]&67108864&&d(B,1)):(B=Ar(S),B.c(),d(B,1),B.m(s,c)):B&&(de(),b(B,1,1,()=>{B=null}),me()),S[39]?x?(x.p(S,le),le[1]&256&&d(x,1)):(x=Lr(S),x.c(),d(x,1),x.m(s,null)):x&&(de(),b(x,1,1,()=>{x=null}),me()),(!P||le[0]&134217736)&&N(s,"hidden",!S[3]&&!S[27]),(!P||le[1]&2097152)&&N(s,"fullscreen",S[52]),S[8]?I?(I.p(S,le),le[0]&256&&d(I,1)):(I=Ir(S),I.c(),d(I,1),I.m(m,h)):I&&(de(),b(I,1,1,()=>{I=null}),me()),S[34]?ie?(ie.p(S,le),le[1]&8&&d(ie,1)):(ie=Vr(S),ie.c(),d(ie,1),ie.m(m,v)):ie&&(de(),b(ie,1,1,()=>{ie=null}),me()),S[33]?O?(O.p(S,le),le[1]&4&&d(O,1)):(O=Mr(S),O.c(),d(O,1),O.m(m,g)):O&&(de(),b(O,1,1,()=>{O=null}),me()),S[8]?X?(X.p(S,le),le[0]&256&&d(X,1)):(X=Br(S),X.c(),d(X,1),X.m(m,null)):X&&(de(),b(X,1,1,()=>{X=null}),me()),(!P||le[0]&536870920)&&N(m,"hidden",!S[3]||S[29]),S[95]&&!S[29]?se?(se.p(S,le),le[0]&536870912&&d(se,1)):(se=Nr(S),se.c(),d(se,1),se.m(_.parentNode,_)):se&&(de(),b(se,1,1,()=>{se=null}),me())},i(S){if(!P){d(k);for(let le=0;le<C.length;le+=1)d(V[le]);d(M),d(G),d(B),d(x),d(I),d(ie),d(O),d(X),d(se),P=!0}},o(S){b(k),V=V.filter(Boolean);for(let le=0;le<V.length;le+=1)b(V[le]);b(M),b(G),b(B),b(x),b(I),b(ie),b(O),b(X),b(se),P=!1},d(S){S&&(T(e),T(i),T(n),T(o),T(s),T(f),T(m),T(w),T(_)),k&&k.d(),hn(V,S),M&&M.d(),G&&G.d(),B&&B.d(),x&&x.d(),I&&I.d(),ie&&ie.d(),O&&O.d(),X&&X.d(),se&&se.d(S)}}}function Sr(t){let e,i,n;function o(l){t[121](l)}let s={muted:t[54],expanded:t[51]&&!t[70]&&t[55],click:t[103]};return t[20].volume!==void 0&&(s.ref=t[20].volume),e=new gu({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&8388608&&(a.muted=l[54]),r[1]&17825792&&(a.expanded=l[51]&&!l[70]&&l[55]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].volume,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Pr(t){let e,i;return e=new uu({props:{iconUrl:t[155],ariaLabel:t[156]??t[159],testId:t[157],onClick:t[158]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[1]&33554432&&(s.iconUrl=n[155]),o[1]&33554432&&(s.ariaLabel=n[156]??n[159]),o[1]&33554432&&(s.testId=n[157]),o[1]&33554432&&(s.onClick=n[158]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Tr(t){let e,i,n;function o(l){t[122](l)}let s={isMobile:!0,click:t[101],state:t[28]};return t[20].chromecast!==void 0&&(s.ref=t[20].chromecast),e=new $1({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&268435456&&(a.state=l[28]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].chromecast,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Er(t){let e,i,n;function o(l){t[123](l)}let s={click:t[102],isPictureInPictureActive:t[26]};return t[20].pip!==void 0&&(s.ref=t[20].pip),e=new w3({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&67108864&&(a.isPictureInPictureActive=l[26]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].pip,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ar(t){let e,i,n;function o(l){t[124](l)}let s={};return t[22]!==void 0&&(s.ref=t[22]),e=new Sl({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&4194304&&(i=!0,a.ref=l[22],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Lr(t){let e,i,n;function o(l){t[125](l)}let s={click:t[64],logoClickable:t[6],videoLogoUrl:t[7]};return t[20].vkLogo!==void 0&&(s.ref=t[20].vkLogo),e=new x1({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.logoClickable=l[6]),r[0]&128&&(a.videoLogoUrl=l[7]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].vkLogo,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ir(t){let e,i,n;function o(l){t[126](l)}let s={click:t[13],type:"prev",disabled:!t[10],isMobile:!0};return t[20].prevButton!==void 0&&(s.ref=t[20].prevButton),e=new Qo({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&8192&&(a.click=l[13]),r[0]&1024&&(a.disabled=!l[10]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].prevButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Vr(t){let e,i,n;function o(l){t[127](l)}let s={disabled:t[48],click:t[63],isMobile:!0,isPlaying:t[31]};return t[20].playButton!==void 0&&(s.ref=t[20].playButton),e=new El({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&131072&&(a.disabled=l[48]),r[1]&1&&(a.isPlaying=l[31]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].playButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Mr(t){let e,i,n;function o(l){t[128](l)}let s={disabled:t[47],click:t[104],isMobile:!0};return t[20].replayButton!==void 0&&(s.ref=t[20].replayButton),e=new Al({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.disabled=l[47]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].replayButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Br(t){let e,i,n;function o(l){t[129](l)}let s={click:t[12],type:"next",disabled:!t[9],isMobile:!0};return t[20].nextButton!==void 0&&(s.ref=t[20].nextButton),e=new Qo({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&4096&&(a.click=l[12]),r[0]&512&&(a.disabled=!l[9]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].nextButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Nr(t){let e,i,n,o,s=t[98]&&y3(t),l=t[96]&&C3(t),r=t[97]&&S3(t);return{c(){s&&s.c(),e=z(),l&&l.c(),i=z(),r&&r.c(),n=lt()},m(a,c){s&&s.m(a,c),E(a,e,c),l&&l.m(a,c),E(a,i,c),r&&r.m(a,c),E(a,n,c),o=!0},p(a,c){a[98]&&s.p(a,c),a[96]&&l.p(a,c),a[97]&&r.p(a,c)},i(a){o||(d(s),d(l),d(r),o=!0)},o(a){b(s),b(l),b(r),o=!1},d(a){a&&(T(e),T(i),T(n)),s&&s.d(a),l&&l.d(a),r&&r.d(a)}}}function y3(t){let e,i,n;return i=new au({props:{hidden:!t[3],disabled:t[46],click:t[18]}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),N(e,"fullscreen",t[52]),N(e,"hidden",!t[3])},m(o,s){E(o,e,s),F(i,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.hidden=!o[3]),s[1]&32768&&(l.disabled=o[46]),s[0]&262144&&(l.click=o[18]),i.$set(l),(!n||s[1]&2097152)&&N(e,"fullscreen",o[52]),(!n||s[0]&8)&&N(e,"hidden",!o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}function C3(t){let e,i,n,o;function s(r){t[130](r)}let l={hidden:!t[3]&&!t[58],disabled:t[50],click:t[17],graphIsOpened:t[58]};return t[20].interactiveGraphButton!==void 0&&(l.ref=t[20].interactiveGraphButton),i=new su({props:l}),we.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class",uc(t[98]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),N(e,"fullscreen",t[52]),N(e,"hidden",!t[3]&&!t[58])},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[0]&8|a[1]&134217728&&(c.hidden=!r[3]&&!r[58]),a[1]&524288&&(c.disabled=r[50]),a[0]&131072&&(c.click=r[17]),a[1]&134217728&&(c.graphIsOpened=r[58]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].interactiveGraphButton,Fe(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&N(e,"fullscreen",r[52]),(!o||a[0]&8|a[1]&134217728)&&N(e,"hidden",!r[3]&&!r[58])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){b(i.$$.fragment,r),o=!1},d(r){r&&T(e),H(i)}}}function S3(t){let e,i,n,o;function s(r){t[131](r)}let l={hidden:!t[3],disabled:t[49],click:t[16]};return t[20].seekToInteractiveButton!==void 0&&(l.ref=t[20].seekToInteractiveButton),i=new lu({props:l}),we.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),N(e,"fullscreen",t[52]),N(e,"hidden",!t[3])},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[0]&8&&(c.hidden=!r[3]),a[1]&262144&&(c.disabled=r[49]),a[0]&65536&&(c.click=r[16]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].seekToInteractiveButton,Fe(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&N(e,"fullscreen",r[52]),(!o||a[0]&8)&&N(e,"hidden",!r[3])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){b(i.$$.fragment,r),o=!1},d(r){r&&T(e),H(i)}}}function Rr(t){let e,i,n,o,s,l=t[53]&&Or(t),r=t[32]&&zr(t);return o=new iu({props:{position:t[59],duration:t[60]}}),{c(){l&&l.c(),e=z(),r&&r.c(),i=z(),n=A("div"),U(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),N(n,"fullscreen",t[52])},m(a,c){l&&l.m(a,c),E(a,e,c),r&&r.m(a,c),E(a,i,c),E(a,n,c),F(o,n,null),s=!0},p(a,c){a[53]?l?(l.p(a,c),c[1]&4194304&&d(l,1)):(l=Or(a),l.c(),d(l,1),l.m(e.parentNode,e)):l&&(de(),b(l,1,1,()=>{l=null}),me()),a[32]?r?(r.p(a,c),c[1]&2&&d(r,1)):(r=zr(a),r.c(),d(r,1),r.m(i.parentNode,i)):r&&(de(),b(r,1,1,()=>{r=null}),me());const f={};c[1]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),o.$set(f),(!s||c[1]&2097152)&&N(n,"fullscreen",a[52])},i(a){s||(d(l),d(r),d(o.$$.fragment,a),s=!0)},o(a){b(l),b(r),b(o.$$.fragment,a),s=!1},d(a){a&&(T(e),T(i),T(n)),l&&l.d(a),r&&r.d(a),H(o)}}}function Or(t){let e,i,n,o;function s(r){t[132](r)}let l={muted:t[54],expanded:!1,click:t[103]};return t[20].volume!==void 0&&(l.ref=t[20].volume),i=new gu({props:l}),we.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),N(e,"fullscreen",t[52])},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[1]&8388608&&(c.muted=r[54]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].volume,Fe(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&N(e,"fullscreen",r[52])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){b(i.$$.fragment,r),o=!1},d(r){r&&T(e),H(i)}}}function zr(t){let e,i,n,o;function s(r){t[133](r)}let l={disabled:t[48],click:t[63],isMobile:!0,isPlaying:!t[32]};return t[20].playButton!==void 0&&(l.ref=t[20].playButton),i=new El({props:l}),we.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[1]&131072&&(c.disabled=r[48]),a[1]&2&&(c.isPlaying=!r[32]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].playButton,Fe(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){b(i.$$.fragment,r),o=!1},d(r){r&&T(e),H(i)}}}function P3(t){let e,i,n;function o(l){t[134](l)}let s={disabled:t[47],$$slots:{default:[T3]},$$scope:{ctx:t}};return t[20].replayButton!==void 0&&(s.ref=t[20].replayButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.disabled=l[47]),r[1]&65536|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].replayButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function T3(t){let e,i;return e=new Al({props:{disabled:t[47],click:t[94]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[1]&65536&&(s.disabled=n[47]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Dr(t){let e,i,n;function o(l){t[135](l)}let s={$$slots:{default:[E3]},$$scope:{ctx:t}};return t[20].liveButton!==void 0&&(s.ref=t[20].liveButton),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&524288|r[1]&16384|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].liveButton,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function E3(t){let e,i;return e=new eu({props:{isActiveLive:t[19],isMobile:!0,ariaLabel:t[45]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&524288&&(s.isActiveLive=n[19]),o[1]&16384&&(s.ariaLabel=n[45]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Fr(t){let e,i,n;function o(l){t[136](l)}let s={showDuration:t[35],position:t[4]?t[59]:t[61],duration:t[4]?t[60]:t[62],isMobile:!0};return t[20].time!==void 0&&(s.ref=t[20].time),e=new G1({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&16&&(a.showDuration=l[35]),r[0]&16|r[1]&1342177280&&(a.position=l[4]?l[59]:l[61]),r[0]&16|r[1]&536870912|r[2]&1&&(a.duration=l[4]?l[60]:l[62]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].time,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Hr(t){let e,i,n,o;return n=new ou({props:{position:t[61],duration:t[62],timeCodes:t[84]}}),{c(){e=A("div"),e.textContent="\xB7",i=z(),U(n.$$.fragment),u(e,"aria-hidden","true")},m(s,l){E(s,e,l),E(s,i,l),F(n,s,l),o=!0},p(s,l){const r={};l[1]&1073741824&&(r.position=s[61]),l[2]&1&&(r.duration=s[62]),n.$set(r)},i(s){o||(d(n.$$.fragment,s),o=!0)},o(s){b(n.$$.fragment,s),o=!1},d(s){s&&(T(e),T(i)),H(n,s)}}}function A3(t){let e,i,n=t[43]&&Hr(t);return{c(){n&&n.c(),e=lt()},m(o,s){n&&n.m(o,s),E(o,e,s),i=!0},p(o,s){o[43]?n?(n.p(o,s),s[1]&4096&&d(n,1)):(n=Hr(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(de(),b(n,1,1,()=>{n=null}),me())},i(o){i||(d(n),i=!0)},o(o){b(n),i=!1},d(o){o&&T(e),n&&n.d(o)}}}function Ur(t){let e,i,n;function o(l){t[139](l)}let s={$$slots:{default:[L3]},$$scope:{ctx:t}};return t[20].settings!==void 0&&(s.ref=t[20].settings),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&4194304|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].settings,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function L3(t){let e,i,n;function o(l){t[138](l)}let s={};return t[22]!==void 0&&(s.ref=t[22]),e=new Sl({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&4194304&&(i=!0,a.ref=l[22],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function qr(t){let e,i,n;function o(l){t[140](l)}let s={$$slots:{default:[I3]},$$scope:{ctx:t}};return t[20].fullscreen!==void 0&&(s.ref=t[20].fullscreen),e=new Vt({props:s}),we.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&16384|r[1]&2097152|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].fullscreen,Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function I3(t){let e,i;return e=new X1({props:{click:t[14],isFullscreen:t[52]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&16384&&(s.click=n[14]),o[1]&2097152&&(s.isFullscreen=n[52]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function jr(t){let e,i,n,o;function s(r){t[143](r)}let l={supportLink:t[11],returnFocus:t[15]};return t[21]!==void 0&&(l.ref=t[21]),i=new K1({props:l}),we.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[0]&2048&&(c.supportLink=r[11]),a[0]&32768&&(c.returnFocus=r[15]),!n&&a[0]&2097152&&(n=!0,c.ref=r[21],Fe(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){b(i.$$.fragment,r),o=!1},d(r){r&&T(e),H(i)}}}function V3(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k=!t[4]&&Cr(t),C=t[4]&&t[30]!==Yt.INACTIVE&&Rr(t),V=t[95]&&P3(t),ne=!t[4]&&t[25]&&Dr(t),M=t[41]&&Fr(t);function G(O){t[137](O)}let B={className:"w-max",disabled:!t[43],$$slots:{default:[A3]},$$scope:{ctx:t}};t[20].episodes!==void 0&&(B.ref=t[20].episodes),c=new Vt({props:B}),we.push(()=>He(c,"ref",G));let x=t[38]&&Ur(t),I=t[40]&&qr(t);g=new nu({props:{isAds:t[4],canRewindLive:t[5],isRewindableLive:t[24]}});let ie=t[23]&&jr(t);return{c(){k&&k.c(),e=z(),C&&C.c(),i=z(),n=A("div"),o=A("div"),s=A("div"),V&&V.c(),l=z(),ne&&ne.c(),r=z(),M&&M.c(),a=z(),U(c.$$.fragment),m=z(),x&&x.c(),h=z(),I&&I.c(),v=z(),U(g.$$.fragment),w=z(),ie&&ie.c(),_=lt(),u(s,"class","controls v-1tcstu3"),N(s,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),N(o,"fullscreen",t[52]),u(n,"class","wrapper-bottom v-1tcstu3"),N(n,"hidden",t[1]),N(n,"controls-hidden",!t[3]),N(n,"no-smooth",t[2]),N(n,"mobile",!0)},m(O,X){k&&k.m(O,X),E(O,e,X),C&&C.m(O,X),E(O,i,X),E(O,n,X),p(n,o),p(o,s),V&&V.m(s,null),p(s,l),ne&&ne.m(s,null),p(s,r),M&&M.m(s,null),p(s,a),F(c,s,null),p(s,m),x&&x.m(s,null),p(s,h),I&&I.m(s,null),t[141](s),p(o,v),F(g,o,null),t[142](n),E(O,w,X),ie&&ie.m(O,X),E(O,_,X),P=!0},p(O,X){O[4]?k&&(de(),b(k,1,1,()=>{k=null}),me()):k?(k.p(O,X),X[0]&16&&d(k,1)):(k=Cr(O),k.c(),d(k,1),k.m(e.parentNode,e)),O[4]&&O[30]!==Yt.INACTIVE?C?(C.p(O,X),X[0]&1073741840&&d(C,1)):(C=Rr(O),C.c(),d(C,1),C.m(i.parentNode,i)):C&&(de(),b(C,1,1,()=>{C=null}),me()),O[95]&&V.p(O,X),!O[4]&&O[25]?ne?(ne.p(O,X),X[0]&33554448&&d(ne,1)):(ne=Dr(O),ne.c(),d(ne,1),ne.m(s,r)):ne&&(de(),b(ne,1,1,()=>{ne=null}),me()),O[41]?M?(M.p(O,X),X[1]&1024&&d(M,1)):(M=Fr(O),M.c(),d(M,1),M.m(s,a)):M&&(de(),b(M,1,1,()=>{M=null}),me());const se={};X[1]&4096&&(se.disabled=!O[43]),X[1]&1073745920|X[2]&1|X[5]&128&&(se.$$scope={dirty:X,ctx:O}),!f&&X[0]&1048576&&(f=!0,se.ref=O[20].episodes,Fe(()=>f=!1)),c.$set(se),O[38]?x?(x.p(O,X),X[1]&128&&d(x,1)):(x=Ur(O),x.c(),d(x,1),x.m(s,h)):x&&(de(),b(x,1,1,()=>{x=null}),me()),O[40]?I?(I.p(O,X),X[1]&512&&d(I,1)):(I=qr(O),I.c(),d(I,1),I.m(s,null)):I&&(de(),b(I,1,1,()=>{I=null}),me());const S={};X[0]&16&&(S.isAds=O[4]),X[0]&32&&(S.canRewindLive=O[5]),X[0]&16777216&&(S.isRewindableLive=O[24]),g.$set(S),(!P||X[1]&2097152)&&N(o,"fullscreen",O[52]),(!P||X[0]&2)&&N(n,"hidden",O[1]),(!P||X[0]&8)&&N(n,"controls-hidden",!O[3]),(!P||X[0]&4)&&N(n,"no-smooth",O[2]),O[23]?ie?(ie.p(O,X),X[0]&8388608&&d(ie,1)):(ie=jr(O),ie.c(),d(ie,1),ie.m(_.parentNode,_)):ie&&(de(),b(ie,1,1,()=>{ie=null}),me())},i(O){P||(d(k),d(C),d(V),d(ne),d(M),d(c.$$.fragment,O),d(x),d(I),d(g.$$.fragment,O),d(ie),P=!0)},o(O){b(k),b(C),b(V),b(ne),b(M),b(c.$$.fragment,O),b(x),b(I),b(g.$$.fragment,O),b(ie),P=!1},d(O){O&&(T(e),T(i),T(n),T(w),T(_)),k&&k.d(O),C&&C.d(O),V&&V.d(),ne&&ne.d(),M&&M.d(),H(c),x&&x.d(),I&&I.d(),t[141](null),H(g),t[142](null),ie&&ie.d(O)}}}function M3(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k,C,V,ne,M,G,B,x,I,ie,O,X,se,S,le,W,oe,ke,qe,je,{bottomHidden:Ie}=e,{bottomNoSmooth:Se}=e,{showControls:ce}=e,{controlsElementRef:K=void 0}=e,{isAds:ue=!1}=e,{canRewindLive:_e}=e,{logoClickable:$}=e,{logoHidden:Pe}=e,{videoLogoUrl:Ee}=e,{showNextPrevButtons:Be}=e,{nextButtonActive:ae}=e,{prevButtonActive:ve}=e,{isOneVideoPlaylist:J=!1}=e,{supportLink:Q}=e,{customFullscreenSupported:De=!0}=e,{playNextVideo:tt}=e,{playPrevVideo:Je}=e,{repeatPlaylist:Ce}=e,{toggleFullscreen:Ge}=e,{returnFocus:xe}=e,{seekToInteractive:ft}=e,{toggleGraph:_t}=e,{playPrevChapter:Ue}=e;const Ve=ct(),vt=nn(),Mt=Ve.actions.internal.toggleMuted,Xt=Ve.actions.internal.togglePlay,Ht=Ve.actions.internal.pause,fe=Ve.callbacks?.onAudioDoesNotExistHint,ht=Ve.callbacks?.onAudioDisabledHint,gt=Ve.playerPhase;D(t,gt,y=>i(118,M=y));const dt=Ve.state.duration$;D(t,dt,y=>i(62,je=y));const st=Ve.state.positionWithScrubbing$;D(t,st,y=>i(61,qe=y));const kt=Ve.state.playbackState$;D(t,kt,y=>i(114,h=y));const St=Ve.state.isAudioAvailable$;D(t,St,y=>i(51,v=y));const si=Ve.state.isAudioDisabled,Di=Ve.state.isEnded$;D(t,Di,y=>i(119,B=y));const Ut=Ve.state.isLive$;D(t,Ut,y=>i(25,P=y));const Fi=Ve.state.muted$;D(t,Fi,y=>i(54,X=y));const Ki=Ve.state.isActiveLive$;D(t,Ki,y=>i(116,w=y));const Jt=Ve.state.isRewindableLive$;D(t,Jt,y=>i(24,_=y));const Vi=Ve.ui.scrubbingInProgress;D(t,Vi,y=>i(29,G=y));const Mi=Ve.ui.mobileNotReportControlHidden$;D(t,Mi,y=>i(27,V=y));const Bt=Ve.ui.isPictureInPictureActive$;D(t,Bt,y=>i(26,C=y));const xt=Ve.ui.pictureInPictureType$;D(t,xt,y=>i(117,k=y));const ri=Ve.ui.mobileUnmuteButtonExpanded;D(t,ri,y=>i(55,se=y));const qt=Ve.ui.mobileUnmuteButtonVisible;D(t,qt,y=>i(53,O=y));const ai=Ve.ui.settingsMenuVisible;D(t,ai,y=>i(23,m=y));const jt=Ve.ui.settingsMenuOpenedByKeyboard;D(t,jt,y=>i(113,f=y));const pi=Ve.ui.controls,Bi=Ve.actions.internal.getVideoEpisodes(),pt=Ve.webApi.pictureInPictureApi,ui=Ve.state.chromecastState$;D(t,ui,y=>i(28,ne=y));const hi=Ve.state.crashed$;D(t,hi,y=>i(57,le=y));const gi=pi.disabledControls$;D(t,gi,y=>i(120,I=y));const Nt=Ve.ads.duration;D(t,Nt,y=>i(60,ke=y));const bi=Ve.ads.position;D(t,bi,y=>i(59,oe=y));const $t=Ve.ads.playbackState;D(t,$t,y=>i(30,x=y));const ei=Ve.ui.isFullscreen;D(t,ei,y=>i(52,ie=y));const Pt=Ve.ui.playerSize;D(t,Pt,y=>i(115,g=y));const _i=Ve.ui.additionalButtons$;D(t,_i,y=>i(56,S=y));const Rt=Ve.actions.internal.getVideoElement,rt=Ve.actions.internal.replayInteractive,Tt=Ve.state.isInteractive,Ni=Ve.state.isInteractiveGraphEnabled,vi=Ve.state.isSeekToInteractiveEnable,wi=Ve.state.isPlayPrevChapterEnabled,ti=Ve.state.graphIsOpened$;D(t,ti,y=>i(58,W=y));const Zt=Ve.ui.startedByKeyboard$;D(t,Zt,y=>i(112,c=y));let Hi,Et,wt,yt,At,Ui,Wt,ki,Ri,yi,Gi,Ci,ci,fi,Si,Pi,Ti;const Le={},qi=te.throttleFn(pu,o1,{leading:!1}),ji=()=>Ve.actions.internal.toggleChromecast();function Ei(){si?ht?.():v?Mt():fe?.()}async function Zi(){pt?.isActive()?await pt?.remove():await pt?.request()}function Ai(){!si&&v&&qt.set(!1),Ei()}const Oe=J?Xt:Ce;let di="";const Li=(y,at)=>{if(!y){i(45,di=Y("tooltip_live"));return}at===Qe.PlaybackState.PAUSED&&i(45,di=Y("tooltip_play"))};let Ot,zt;function ii(y){t.$$.not_equal(Le.volume,y)&&(Le.volume=y,i(20,Le))}function Ji(y){t.$$.not_equal(Le.chromecast,y)&&(Le.chromecast=y,i(20,Le))}function Oi(y){t.$$.not_equal(Le.pip,y)&&(Le.pip=y,i(20,Le))}function xi(y){zt=y,i(22,zt)}function $i(y){t.$$.not_equal(Le.vkLogo,y)&&(Le.vkLogo=y,i(20,Le))}function Yi(y){t.$$.not_equal(Le.prevButton,y)&&(Le.prevButton=y,i(20,Le))}function Ii(y){t.$$.not_equal(Le.playButton,y)&&(Le.playButton=y,i(20,Le))}function Wi(y){t.$$.not_equal(Le.replayButton,y)&&(Le.replayButton=y,i(20,Le))}function zi(y){t.$$.not_equal(Le.nextButton,y)&&(Le.nextButton=y,i(20,Le))}function en(y){t.$$.not_equal(Le.interactiveGraphButton,y)&&(Le.interactiveGraphButton=y,i(20,Le))}function ee(y){t.$$.not_equal(Le.seekToInteractiveButton,y)&&(Le.seekToInteractiveButton=y,i(20,Le))}function $e(y){t.$$.not_equal(Le.volume,y)&&(Le.volume=y,i(20,Le))}function bt(y){t.$$.not_equal(Le.playButton,y)&&(Le.playButton=y,i(20,Le))}function ni(y){t.$$.not_equal(Le.replayButton,y)&&(Le.replayButton=y,i(20,Le))}function Qi(y){t.$$.not_equal(Le.liveButton,y)&&(Le.liveButton=y,i(20,Le))}function on(y){t.$$.not_equal(Le.time,y)&&(Le.time=y,i(20,Le))}function gn(y){t.$$.not_equal(Le.episodes,y)&&(Le.episodes=y,i(20,Le))}function Lt(y){zt=y,i(22,zt)}function ln(y){t.$$.not_equal(Le.settings,y)&&(Le.settings=y,i(20,Le))}function sn(y){t.$$.not_equal(Le.fullscreen,y)&&(Le.fullscreen=y,i(20,Le))}function un(y){we[y?"unshift":"push"](()=>{Pi=y,i(44,Pi)})}function bn(y){we[y?"unshift":"push"](()=>{K=y,i(0,K)})}function cn(y){Ot=y,i(21,Ot)}return t.$$set=y=>{"bottomHidden"in y&&i(1,Ie=y.bottomHidden),"bottomNoSmooth"in y&&i(2,Se=y.bottomNoSmooth),"showControls"in y&&i(3,ce=y.showControls),"controlsElementRef"in y&&i(0,K=y.controlsElementRef),"isAds"in y&&i(4,ue=y.isAds),"canRewindLive"in y&&i(5,_e=y.canRewindLive),"logoClickable"in y&&i(6,$=y.logoClickable),"logoHidden"in y&&i(105,Pe=y.logoHidden),"videoLogoUrl"in y&&i(7,Ee=y.videoLogoUrl),"showNextPrevButtons"in y&&i(8,Be=y.showNextPrevButtons),"nextButtonActive"in y&&i(9,ae=y.nextButtonActive),"prevButtonActive"in y&&i(10,ve=y.prevButtonActive),"isOneVideoPlaylist"in y&&i(106,J=y.isOneVideoPlaylist),"supportLink"in y&&i(11,Q=y.supportLink),"customFullscreenSupported"in y&&i(107,De=y.customFullscreenSupported),"playNextVideo"in y&&i(12,tt=y.playNextVideo),"playPrevVideo"in y&&i(13,Je=y.playPrevVideo),"repeatPlaylist"in y&&i(108,Ce=y.repeatPlaylist),"toggleFullscreen"in y&&i(14,Ge=y.toggleFullscreen),"returnFocus"in y&&i(15,xe=y.returnFocus),"seekToInteractive"in y&&i(16,ft=y.seekToInteractive),"toggleGraph"in y&&i(17,_t=y.toggleGraph),"playPrevChapter"in y&&i(18,Ue=y.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[3]&134217728&&i(111,n=I.has(ot.EPISODE_BUTTON)),t.$$.dirty[3]&134217728&&i(50,o=I.has(ot.GRAPH_BUTTON)),t.$$.dirty[3]&134217728&&i(49,s=I.has(ot.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[3]&134217728&&i(48,l=I.has(ot.PLAY_BUTTON)),t.$$.dirty[3]&134217728&&i(47,r=I.has(ot.REPLAY_BUTTON)),t.$$.dirty[3]&134217728&&i(46,a=I.has(ot.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[3]&2097152&&i(31,Hi=h===Qe.PlaybackState.PLAYING),t.$$.dirty[0]&1073741824&&i(32,Et=x===Yt.PAUSED),t.$$.dirty[0]&16|t.$$.dirty[3]&67108864&&i(33,wt=B&&!ue&&!Tt),t.$$.dirty[0]&16|t.$$.dirty[3]&67108864&&i(34,yt=!B||ue),t.$$.dirty[3]&4194304&&i(109,At=g.width>300),t.$$.dirty[3]&4194304&&i(35,Ui=g.width>400),t.$$.dirty[0]&536870912&&i(110,Wt=G),t.$$.dirty[0]&469762048|t.$$.dirty[3]&16777216&&i(36,ki=ne!==Qe.ChromecastState.NOT_AVAILABLE&&!(C&&k===Sn.DocumentPictureInPicture)&&!V&&!Tt),t.$$.dirty[0]&402653184|t.$$.dirty[3]&50462720){const y=M===Me.WaitingLive;i(37,Ri=!!pt&&ne!==Qe.ChromecastState.CONNECTED&&!V&&(k===Sn.DocumentPictureInPicture&&y||!y)&&!Wt&&!Tt)}t.$$.dirty[3]&131072&&i(38,yi=!Wt),t.$$.dirty[3]&4198400&&i(39,Gi=!Pe&&g.width>350),t.$$.dirty[0]&67108864|t.$$.dirty[3]&16924672&&i(40,Ci=vt.features.fullscreen&&!(C&&k===Sn.DocumentPictureInPicture)&&(Tt?De:!0)&&!Wt),t.$$.dirty[0]&33554448|t.$$.dirty[3]&4325376&&i(41,ci=(!P||ue)&&g.width>260&&!Wt&&!(vt.features.interactiveHideTime&&Tt)),t.$$.dirty[0]&8388616&&i(42,fi=m||ce),t.$$.dirty[0]&33554448|t.$$.dirty[3]&458752&&i(43,Si=!ue&&!P&&!!Bi?.length&&At&&!n&&!Wt),t.$$.dirty[0]&16777216|t.$$.dirty[3]&8388608&&i(19,Ti=!_||w),t.$$.dirty[0]&1048584|t.$$.dirty[3]&4194304&&qi(Rt(),pi,Le,ce),t.$$.dirty[0]&524288|t.$$.dirty[3]&2097152&&Li(Ti,h),t.$$.dirty[0]&12582912&&kl(zt,m,jt),t.$$.dirty[0]&10485760|t.$$.dirty[3]&1048576&&yl(Ot,m,f),t.$$.dirty[0]&1048576|t.$$.dirty[3]&524288&&hu(Zt,c,Le.playButton)},[K,Ie,Se,ce,ue,_e,$,Ee,Be,ae,ve,Q,tt,Je,Ge,xe,ft,_t,Ue,Ti,Le,Ot,zt,m,_,P,C,V,ne,G,x,Hi,Et,wt,yt,Ui,ki,Ri,yi,Gi,Ci,ci,fi,Si,Pi,di,a,r,l,s,o,v,ie,O,X,se,S,le,W,oe,ke,qe,je,Xt,Ht,gt,dt,st,kt,St,si,Di,Ut,Fi,Ki,Jt,Vi,Mi,Bt,xt,ri,qt,ai,jt,Bi,ui,hi,gi,Nt,bi,$t,ei,Pt,_i,rt,Tt,Ni,vi,wi,ti,Zt,ji,Zi,Ai,Oe,Pe,J,De,Ce,At,Wt,n,c,f,h,g,w,k,M,B,I,ii,Ji,Oi,xi,$i,Yi,Ii,Wi,zi,en,ee,$e,bt,ni,Qi,on,gn,Lt,ln,sn,un,bn,cn]}class B3 extends be{constructor(e){super(),ge(this,e,M3,V3,he,{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},k3,[-1,-1,-1,-1,-1,-1])}}function N3(t){let e,i,n;function o(l){t[26](l)}let s={bottomHidden:t[1],bottomNoSmooth:t[2],showControls:t[3],isAds:t[4],canRewindLive:t[5],logoClickable:t[6],logoHidden:t[7],videoLogoUrl:t[8],showNextPrevButtons:t[9],nextButtonActive:t[10],prevButtonActive:t[11],isOneVideoPlaylist:t[12],supportLink:t[13],customFullscreenSupported:t[14],playNextVideo:t[15],playPrevVideo:t[16],repeatPlaylist:t[17],toggleFullscreen:t[18],returnFocus:t[19],seekToInteractive:t[20],toggleGraph:t[21],playPrevChapter:t[22]};return t[0]!==void 0&&(s.controlsElementRef=t[0]),e=new r3({props:s}),we.push(()=>He(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!i&&r&1&&(i=!0,a.controlsElementRef=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function R3(t){let e,i,n;function o(l){t[25](l)}let s={bottomHidden:t[1],bottomNoSmooth:t[2],showControls:t[3],isAds:t[4],canRewindLive:t[5],logoClickable:t[6],logoHidden:t[7],videoLogoUrl:t[8],showNextPrevButtons:t[9],nextButtonActive:t[10],prevButtonActive:t[11],isOneVideoPlaylist:t[12],supportLink:t[13],customFullscreenSupported:t[14],playNextVideo:t[15],playPrevVideo:t[16],repeatPlaylist:t[17],toggleFullscreen:t[18],returnFocus:t[19],seekToInteractive:t[20],toggleGraph:t[21],playPrevChapter:t[22]};return t[0]!==void 0&&(s.controlsElementRef=t[0]),e=new B3({props:s}),we.push(()=>He(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!i&&r&1&&(i=!0,a.controlsElementRef=l[0],Fe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function O3(t){let e,i,n,o;const s=[R3,N3],l=[];function r(a,c){return a[23]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),b(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){b(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function z3(t,e,i){let n,{bottomHidden:o}=e,{bottomNoSmooth:s=!1}=e,{showControls:l}=e,{controlsElementRef:r=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:m}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:v}=e,{nextButtonActive:g}=e,{prevButtonActive:w}=e,{isOneVideoPlaylist:_=!1}=e,{supportLink:P}=e,{customFullscreenSupported:k=!0}=e,{playNextVideo:C}=e,{playPrevVideo:V}=e,{repeatPlaylist:ne}=e,{toggleFullscreen:M}=e,{returnFocus:G=te.noop}=e,{seekToInteractive:B}=e,{toggleGraph:x}=e,{playPrevChapter:I}=e;const O=ct().ui.isMobile;D(t,O,S=>i(23,n=S));function X(S){r=S,i(0,r)}function se(S){r=S,i(0,r)}return t.$$set=S=>{"bottomHidden"in S&&i(1,o=S.bottomHidden),"bottomNoSmooth"in S&&i(2,s=S.bottomNoSmooth),"showControls"in S&&i(3,l=S.showControls),"controlsElementRef"in S&&i(0,r=S.controlsElementRef),"isAds"in S&&i(4,a=S.isAds),"canRewindLive"in S&&i(5,c=S.canRewindLive),"logoClickable"in S&&i(6,f=S.logoClickable),"logoHidden"in S&&i(7,m=S.logoHidden),"videoLogoUrl"in S&&i(8,h=S.videoLogoUrl),"showNextPrevButtons"in S&&i(9,v=S.showNextPrevButtons),"nextButtonActive"in S&&i(10,g=S.nextButtonActive),"prevButtonActive"in S&&i(11,w=S.prevButtonActive),"isOneVideoPlaylist"in S&&i(12,_=S.isOneVideoPlaylist),"supportLink"in S&&i(13,P=S.supportLink),"customFullscreenSupported"in S&&i(14,k=S.customFullscreenSupported),"playNextVideo"in S&&i(15,C=S.playNextVideo),"playPrevVideo"in S&&i(16,V=S.playPrevVideo),"repeatPlaylist"in S&&i(17,ne=S.repeatPlaylist),"toggleFullscreen"in S&&i(18,M=S.toggleFullscreen),"returnFocus"in S&&i(19,G=S.returnFocus),"seekToInteractive"in S&&i(20,B=S.seekToInteractive),"toggleGraph"in S&&i(21,x=S.toggleGraph),"playPrevChapter"in S&&i(22,I=S.playPrevChapter)},[r,o,s,l,a,c,f,m,h,v,g,w,_,P,k,C,V,ne,M,G,B,x,I,n,O,X,se]}class bu extends be{constructor(e){super(),ge(this,e,z3,O3,he,{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 D3(t){ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function F3(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),m=R("feColorMatrix"),h=R("feBlend"),v=R("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_100684"),u(v,"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"),N(e,"reversed",t[0])},m(g,w){E(g,e,w),p(e,i),p(i,n),p(i,o),p(e,s),p(s,l),p(l,r),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,v)},p(g,[w]){w&1&&N(e,"reversed",g[0])},i:Z,o:Z,d(g){g&&T(e)}}}function H3(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class U3 extends be{constructor(e){super(),ge(this,e,H3,F3,he,{reversed:0},D3)}}function q3(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("clipPath"),r=R("path"),a=R("filter"),c=R("feFlood"),f=R("feColorMatrix"),m=R("feOffset"),h=R("feGaussianBlur"),v=R("feColorMatrix"),g=R("feBlend"),w=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(o,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(r,"fill","#fff"),u(r,"d","M0 0h48v48H0z"),u(l,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(h,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_104204"),u(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(_,P){E(_,e,P),p(e,i),p(i,n),p(i,o),p(e,s),p(s,l),p(l,r),p(s,a),p(a,c),p(a,f),p(a,m),p(a,h),p(a,v),p(a,g),p(a,w)},d(_){_&&T(e)}}}function j3(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),l=R("defs"),r=R("clipPath"),a=R("path"),c=R("filter"),f=R("feFlood"),m=R("feColorMatrix"),h=R("feOffset"),v=R("feGaussianBlur"),g=R("feColorMatrix"),w=R("feBlend"),_=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(o,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(o,"fill","#fff"),u(s,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(r,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(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(v,"stdDeviation","2.5"),u(g,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(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(P,k){E(P,e,k),p(e,i),p(i,n),p(i,o),p(i,s),p(e,l),p(l,r),p(r,a),p(l,c),p(c,f),p(c,m),p(c,h),p(c,v),p(c,g),p(c,w),p(c,_)},d(P){P&&T(e)}}}function Z3(t){let e;function i(s,l){return s[0]?j3:q3}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n!==(n=i(s))&&(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(s){s&&T(e),o.d(s)}}}function W3(t,e,i){let{isOff:n=!1}=e;return t.$$set=o=>{"isOff"in o&&i(0,n=o.isOff)},[n]}class _u extends be{constructor(e){super(),ge(this,e,W3,Z3,he,{isOff:0})}}function K3(t){ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function G3(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),m=R("feColorMatrix"),h=R("feBlend"),v=R("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_106627"),u(v,"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"),N(e,"reversed",t[0])},m(g,w){E(g,e,w),p(e,i),p(i,n),p(i,o),p(e,s),p(s,l),p(l,r),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,v)},p(g,[w]){w&1&&N(e,"reversed",g[0])},i:Z,o:Z,d(g){g&&T(e)}}}function Y3(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class Q3 extends be{constructor(e){super(),ge(this,e,Y3,G3,he,{reversed:0},K3)}}function X3(t){ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function J3(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),m=R("feColorMatrix"),h=R("feBlend"),v=R("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2340_106922"),u(v,"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"),N(e,"reversed",t[0])},m(g,w){E(g,e,w),p(e,i),p(i,n),p(i,o),p(e,s),p(s,l),p(l,r),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,v)},p(g,[w]){w&1&&N(e,"reversed",g[0])},i:Z,o:Z,d(g){g&&T(e)}}}function x3(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class $3 extends be{constructor(e){super(),ge(this,e,x3,J3,he,{reversed:0},X3)}}function ep(t){ze(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 Zr(t){let e,i=[We.BACKWARD_SEEK,We.FORWARD_SEEK].includes(t[4]),n,o,s,l,r,a,c=[We.RATE_DOWN,We.RATE_UP].includes(t[4]),f,m=[We.EPISODE_PREV,We.EPISODE_NEXT].includes(t[4]),h,v,g,w,_,P=i&&Wr(t),k=t[4]===We.PAUSE&&Kr(),C=t[4]===We.PLAY&&Gr(),V=t[4]===We.REPLAY&&Yr(),ne=t[4]===We.SUBTITLES_OFF&&Qr(),M=t[4]===We.SUBTITLES_ON&&Xr(),G=c&&Jr(t),B=m&&xr(t),x=t[4]===We.MUTE&&$r(),I=t[4]===We.VOLUME&&ea(),ie=t[5]&&ta(t);return{c(){e=A("div"),P&&P.c(),n=z(),k&&k.c(),o=z(),C&&C.c(),s=z(),V&&V.c(),l=z(),ne&&ne.c(),r=z(),M&&M.c(),a=z(),G&&G.c(),f=z(),B&&B.c(),h=z(),x&&x.c(),v=z(),I&&I.c(),g=z(),ie&&ie.c(),w=lt(),u(e,"class","v-4ftgwp")},m(O,X){E(O,e,X),P&&P.m(e,null),p(e,n),k&&k.m(e,null),p(e,o),C&&C.m(e,null),p(e,s),V&&V.m(e,null),p(e,l),ne&&ne.m(e,null),p(e,r),M&&M.m(e,null),p(e,a),G&&G.m(e,null),p(e,f),B&&B.m(e,null),p(e,h),x&&x.m(e,null),p(e,v),I&&I.m(e,null),E(O,g,X),ie&&ie.m(O,X),E(O,w,X),_=!0},p(O,X){X&16&&(i=[We.BACKWARD_SEEK,We.FORWARD_SEEK].includes(O[4])),i?P?(P.p(O,X),X&16&&d(P,1)):(P=Wr(O),P.c(),d(P,1),P.m(e,n)):P&&(de(),b(P,1,1,()=>{P=null}),me()),O[4]===We.PAUSE?k?X&16&&d(k,1):(k=Kr(),k.c(),d(k,1),k.m(e,o)):k&&(de(),b(k,1,1,()=>{k=null}),me()),O[4]===We.PLAY?C?X&16&&d(C,1):(C=Gr(),C.c(),d(C,1),C.m(e,s)):C&&(de(),b(C,1,1,()=>{C=null}),me()),O[4]===We.REPLAY?V?X&16&&d(V,1):(V=Yr(),V.c(),d(V,1),V.m(e,l)):V&&(de(),b(V,1,1,()=>{V=null}),me()),O[4]===We.SUBTITLES_OFF?ne?X&16&&d(ne,1):(ne=Qr(),ne.c(),d(ne,1),ne.m(e,r)):ne&&(de(),b(ne,1,1,()=>{ne=null}),me()),O[4]===We.SUBTITLES_ON?M?X&16&&d(M,1):(M=Xr(),M.c(),d(M,1),M.m(e,a)):M&&(de(),b(M,1,1,()=>{M=null}),me()),X&16&&(c=[We.RATE_DOWN,We.RATE_UP].includes(O[4])),c?G?(G.p(O,X),X&16&&d(G,1)):(G=Jr(O),G.c(),d(G,1),G.m(e,f)):G&&(de(),b(G,1,1,()=>{G=null}),me()),X&16&&(m=[We.EPISODE_PREV,We.EPISODE_NEXT].includes(O[4])),m?B?(B.p(O,X),X&16&&d(B,1)):(B=xr(O),B.c(),d(B,1),B.m(e,h)):B&&(de(),b(B,1,1,()=>{B=null}),me()),O[4]===We.MUTE?x?X&16&&d(x,1):(x=$r(),x.c(),d(x,1),x.m(e,v)):x&&(de(),b(x,1,1,()=>{x=null}),me()),O[4]===We.VOLUME?I?X&16&&d(I,1):(I=ea(),I.c(),d(I,1),I.m(e,null)):I&&(de(),b(I,1,1,()=>{I=null}),me()),O[5]?ie?ie.p(O,X):(ie=ta(O),ie.c(),ie.m(w.parentNode,w)):ie&&(ie.d(1),ie=null)},i(O){_||(d(P),d(k),d(C),d(V),d(ne),d(M),d(G),d(B),d(x),d(I),_=!0)},o(O){b(P),b(k),b(C),b(V),b(ne),b(M),b(G),b(B),b(x),b(I),_=!1},d(O){O&&(T(e),T(g),T(w)),P&&P.d(),k&&k.d(),C&&C.d(),V&&V.d(),ne&&ne.d(),M&&M.d(),G&&G.d(),B&&B.d(),x&&x.d(),I&&I.d(),ie&&ie.d(O)}}}function Wr(t){let e,i;return e=new U3({props:{reversed:t[4]===We.FORWARD_SEEK}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===We.FORWARD_SEEK),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Kr(t){let e,i;return e=new J1({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Gr(t){let e,i;return e=new Tl({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Yr(t){let e,i;return e=new ru({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Qr(t){let e,i;return e=new _u({props:{isOff:!0}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Xr(t){let e,i;return e=new _u({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Jr(t){let e,i;return e=new Q3({props:{reversed:t[4]===We.RATE_UP}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===We.RATE_UP),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function xr(t){let e,i;return e=new $3({props:{reversed:t[4]===We.EPISODE_NEXT}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===We.EPISODE_NEXT),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function $r(t){let e,i;return e=new Yo({props:{volume:0}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ea(t){let e,i;return e=new Yo({props:{volume:1}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){b(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ta(t){let e,i;return{c(){e=A("span"),i=Re(t[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,o){E(n,e,o),p(e,i)},p(n,o){o&32&&Xe(i,n[5])},d(n){n&&T(e)}}}function tp(t){let e,i,n=!t[1]&&t[4]&&Zr(t);return{c(){e=A("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),N(e,"hidden",t[1]),N(e,"hot-key-helpers-container--left",t[2]),N(e,"hot-key-helpers-container--right",t[3])},m(o,s){E(o,e,s),n&&n.m(e,null),i=!0},p(o,[s]){!o[1]&&o[4]?n?(n.p(o,s),s&18&&d(n,1)):(n=Zr(o),n.c(),d(n,1),n.m(e,null)):n&&(de(),b(n,1,1,()=>{n=null}),me()),(!i||s&2)&&N(e,"hidden",o[1]),(!i||s&4)&&N(e,"hot-key-helpers-container--left",o[2]),(!i||s&8)&&N(e,"hot-key-helpers-container--right",o[3])},i(o){i||(d(n),i=!0)},o(o){b(n),i=!1},d(o){o&&T(e),n&&n.d()}}}function ip(t,e,i){let n,o=Z,s=()=>(o(),o=Gt(l,h=>i(6,n=h)),l);t.$$.on_destroy.push(()=>o());let{data:l}=e;s();let r,a,c,f,m;return t.$$set=h=>{"data"in h&&s(i(0,l=h.data))},t.$$.update=()=>{t.$$.dirty&64&&(i(1,r=!n),i(2,a=n?.type===We.BACKWARD_SEEK),i(3,c=n?.type===We.FORWARD_SEEK),i(4,f=n?.type),n?.t?i(5,m=Y(n.t.key,{value:n.t.value||""})):i(5,m=n?.text))},[l,r,a,c,f,m,n]}class np extends be{constructor(e){super(),ge(this,e,ip,tp,he,{data:0},ep)}}function op(t){ze(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 lp(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,g,w,_,P,k;return s=new Dn({props:{direction:"up"}}),a=new Dn({props:{direction:"up"}}),h=new Dn({props:{direction:"up"}}),w=new Dn({props:{direction:"up"}}),{c(){e=A("div"),i=A("div"),n=A("div"),o=A("div"),U(s.$$.fragment),l=z(),r=A("div"),U(a.$$.fragment),c=z(),f=A("div"),m=A("div"),U(h.$$.fragment),v=z(),g=A("div"),U(w.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(r,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(m,"class","button button-left v-1yzc86r"),u(g,"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")),N(e,"m-shifted",t[0])},m(C,V){E(C,e,V),p(e,i),p(i,n),p(n,o),F(s,o,null),p(n,l),p(n,r),F(a,r,null),p(i,c),p(i,f),p(f,m),F(h,m,null),p(f,v),p(f,g),F(w,g,null),_=!0,P||(k=[pe(o,"mousedown",t[1]),pe(o,"mouseup",t[5]),pe(o,"mouseleave",t[5]),pe(r,"mousedown",t[3]),pe(r,"mouseup",t[5]),pe(r,"mouseleave",t[5]),pe(m,"mousedown",t[4]),pe(m,"mouseup",t[5]),pe(m,"mouseleave",t[5]),pe(g,"mousedown",t[2]),pe(g,"mouseup",t[5]),pe(g,"mouseleave",t[5]),pe(e,"keydown",t[6]),pe(e,"keyup",t[7])],P=!0)},p(C,[V]){(!_||V&1)&&N(e,"m-shifted",C[0])},i(C){_||(d(s.$$.fragment,C),d(a.$$.fragment,C),d(h.$$.fragment,C),d(w.$$.fragment,C),_=!0)},o(C){b(s.$$.fragment,C),b(a.$$.fragment,C),b(h.$$.fragment,C),b(w.$$.fragment,C),_=!1},d(C){C&&T(e),H(s),H(a),H(h),H(w),P=!1,et(k)}}}function sp(t,e,i){let{isShifted:n=!1}=e;const o=ct(),s=new Set([Te.ArrowUp,Te.ArrowDown,Te.ArrowLeft,Te.ArrowRight]),l=()=>{o.actions.internal.startCameraManualRotation(0,1)},r=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),m=v=>{if(s.has(v.code))switch(v.preventDefault(),v.stopPropagation(),v.code){case Te.ArrowUp:l();break;case Te.ArrowDown:r();break;case Te.ArrowLeft:c();break;case Te.ArrowRight:a();break}},h=v=>{s.has(v.code)&&(v.preventDefault(),v.stopPropagation(),f())};return t.$$set=v=>{"isShifted"in v&&i(0,n=v.isShifted)},[n,l,r,a,c,f,m,h]}class vu extends be{constructor(e){super(),ge(this,e,sp,lp,he,{isShifted:0},op)}}function rp(t){ze(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 ia(t,e,i){const n=t.slice();return n[16]=e[i].value,n}function na(t,e,i){const n=t.slice();return n[16]=e[i].value,n[17]=e[i].timeAppeared,n}function oa(t){let e,i;function n(l,r){return l[7]&&l[8]?cp:l[5]?up:ap}let o=n(t),s=o(t);return{c(){e=A("div"),i=A("span"),s.c(),u(i,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),N(e,"mobile",t[3])},m(l,r){E(l,e,r),p(e,i),s.m(i,null)},p(l,r){o===(o=n(l))&&s?s.p(l,r):(s.d(1),s=o(l),s&&(s.c(),s.m(i,null))),r&8&&N(e,"mobile",l[3])},d(l){l&&T(e),s.d()}}}function ap(t){let e,i=Ft(t[1]),n=[];for(let o=0;o<i.length;o+=1)n[o]=la(ia(t,i,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=lt()},m(o,s){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(o,s);E(o,e,s)},p(o,s){if(s&18){i=Ft(o[1]);let l;for(l=0;l<i.length;l+=1){const r=ia(o,i,l);n[l]?n[l].p(r,s):(n[l]=la(r),n[l].c(),n[l].m(e.parentNode,e))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},d(o){o&&T(e),hn(n,o)}}}function up(t){let e,i,n=Ft(t[6]),o=[];for(let s=0;s<n.length;s+=1)o[s]=ra(na(t,n,s));return{c(){e=A("span"),i=A("span");for(let s=0;s<o.length;s+=1)o[s].c();u(i,"class","caption-segment v-ovfyp5"),Ct(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,l){E(s,e,l),p(e,i);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,null)},p(s,l){if(l&68){n=Ft(s[6]);let r;for(r=0;r<n.length;r+=1){const a=na(s,n,r);o[r]?o[r].p(a,l):(o[r]=ra(a),o[r].c(),o[r].m(i,null))}for(;r<o.length;r+=1)o[r].d(1);o.length=n.length}l&16&&Ct(i,"font-size",s[4]+"px")},d(s){s&&T(e),hn(o,s)}}}function cp(t){let e,i,n=Y("subtitles_auto_caption")+"",o;return{c(){e=A("span"),i=A("span"),o=Re(n),u(i,"class","caption-segment v-ovfyp5"),Ct(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,l){E(s,e,l),p(e,i),p(i,o)},p(s,l){l&16&&Ct(i,"font-size",s[4]+"px")},d(s){s&&T(e)}}}function la(t){let e,i,n=t[16]+"",o,s;return{c(){e=A("span"),i=A("span"),o=Re(n),s=z(),u(i,"class","caption-segment v-ovfyp5"),Ct(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,r){E(l,e,r),p(e,i),p(i,o),p(e,s)},p(l,r){r&2&&n!==(n=l[16]+"")&&Xe(o,n),r&16&&Ct(i,"font-size",l[4]+"px")},d(l){l&&T(e)}}}function sa(t){let e=t[16]+"",i;return{c(){i=Re(e)},m(n,o){E(n,i,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&Xe(i,e)},d(n){n&&T(i)}}}function ra(t){let e,i=(!t[17]||t[17]<=t[2])&&sa(t);return{c(){i&&i.c(),e=lt()},m(n,o){i&&i.m(n,o),E(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?i?i.p(n,o):(i=sa(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(n){n&&T(e),i&&i.d(n)}}}function fp(t){let e,i=t[1].length>0&&oa(t);return{c(){e=A("div"),i&&i.c(),u(e,"class","subtitles-container v-ovfyp5"),N(e,"shifted",t[0]),N(e,"auto",t[5]&&!t[8])},m(n,o){E(n,e,o),i&&i.m(e,null)},p(n,[o]){n[1].length>0?i?i.p(n,o):(i=oa(n),i.c(),i.m(e,null)):i&&(i.d(1),i=null),o&1&&N(e,"shifted",n[0]),o&288&&N(e,"auto",n[5]&&!n[8])},i:Z,o:Z,d(n){n&&T(e),i&&i.d()}}}function dp(t,e,i){let n,o,{shifted:s}=e,{captions:l}=e,{position:r}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=ct(),m=nn(),h=f.state.currentSubtitle$;D(t,h,C=>i(12,n=C));const v=f.state.isAutoSubtitleCaptionVisible$;D(t,v,C=>i(8,o=C));let g,w,_,P,k;return tn(()=>{k=window.setTimeout(()=>{v.set(!1)},m.autoSubtitlesTimeout)}),Wo(()=>{window.clearTimeout(k)}),t.$$set=C=>{"shifted"in C&&i(0,s=C.shifted),"captions"in C&&i(1,l=C.captions),"position"in C&&i(2,r=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,g=C<=m.minSubtitlesFontSize?m.minSubtitlesFontSize:C)}t.$$.dirty&2&&i(5,w=l.some(C=>C.type==="timestamp")),t.$$.dirty&2&&i(6,_=l.reduce((C,{type:V,value:ne})=>(V==="timestamp"?C.push({timeAppeared:Number(ne),value:""}):C.length===0?C.push({value:String(ne)}):C[C.length-1].value=String(ne),C),[])),t.$$.dirty&4096&&i(7,P=!!n.isAuto)},[s,l,r,c,g,w,_,P,o,h,v,a,n]}class wu extends be{constructor(e){super(),ge(this,e,dp,fp,he,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},rp)}}function mp(t){ze(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 aa(t){let e,i,n;return{c(){e=A("div"),i=Re("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Re(t[1]),u(e,"class","text v-1o62kpz")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p(o,s){s&2&&Xe(n,o[1])},d(o){o&&T(e)}}}function pp(t){let e,i,n,o,s,l,r=t[1]&&aa(t);return{c(){e=A("div"),i=A("div"),i.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=z(),r&&r.c(),u(i,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${t[0]||""}')`)},m(a,c){E(a,e,c),p(e,i),p(e,n),r&&r.m(e,null),s||(l=pe(e,"click",t[2]),s=!0)},p(a,[c]){a[1]?r?r.p(a,c):(r=aa(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:Z,o:Z,d(a){a&&T(e),r&&r.d(),s=!1,l()}}}function hp(t,e,i){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function s(l){uo.call(this,t,l)}return t.$$set=l=>{"thumbUrl"in l&&i(0,n=l.thumbUrl),"chromecastDeviceName"in l&&i(1,o=l.chromecastDeviceName)},[n,o,s]}class ku extends be{constructor(e){super(),ge(this,e,hp,pp,he,{thumbUrl:0,chromecastDeviceName:1},mp)}}function gp(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){E(n,e,o),p(e,i)},p:Z,i:Z,o:Z,d(n){n&&T(e)}}}class bp extends be{constructor(e){super(),ge(this,e,null,gp,he,{})}}function _p(t){ze(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 vp(t){let e,i,n;return i=new bp({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,s){E(o,e,s),F(i,e,null),n=!0},p:Z,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){b(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i)}}}class yu extends be{constructor(e){super(),ge(this,e,null,vp,he,{},_p)}}function wp(t){ze(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 kp(t){let e,i,n,o,s,l,r,a,c;return s=new Tl({}),{c(){e=A("div"),i=A("div"),n=A("div"),o=z(),U(s.$$.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",l=`background-color: #222; background-image: url('${t[0]||""}')`),N(e,"hidden",t[1])},m(f,m){E(f,e,m),p(e,i),p(i,n),p(i,o),F(s,i,null),r=!0,a||(c=[pe(i,"keydown",t[3]),pe(e,"click",it(function(){pn(t[2])&&t[2].apply(this,arguments)}))],a=!0)},p(f,[m]){t=f,(!r||m&1&&l!==(l=`background-color: #222; background-image: url('${t[0]||""}')`))&&u(e,"style",l),(!r||m&2)&&N(e,"hidden",t[1])},i(f){r||(d(s.$$.fragment,f),r=!0)},o(f){b(s.$$.fragment,f),r=!1},d(f){f&&T(e),H(s),a=!1,et(c)}}}function yp(t,e,i){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:s}=e;const r=ct().ui.startedByKeyboard$,a=c=>{const f=c.code;[Te.Enter,Te.Space].includes(f)&&(c.stopPropagation(),c.preventDefault(),r.set(!0),s())};return t.$$set=c=>{"thumbUrl"in c&&i(0,n=c.thumbUrl),"hidden"in c&&i(1,o=c.hidden),"startVideo"in c&&i(2,s=c.startVideo)},[n,o,s,a]}class Cu extends be{constructor(e){super(),ge(this,e,yp,kp,he,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},wp)}get handlePressKey(){return this.$$.ctx[3]}}function Cp(t){ze(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%,
|