@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/evergreen.esm.js CHANGED
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @vkontakte/videoplayer v1.1.35-dev.2b16c033.0
3
- * Tue, 21 May 2024 09:02:41 GMT
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
- import{VERSION as hc,ChromecastState as Pn,PlaybackState as Ft,VideoQuality as mo,Player as gc,VideoFormat as Eo}from"@vkontakte/videoplayer-core/evergreen.esm.js";import{VideoFormat as _5,VideoQuality as v5}from"@vkontakte/videoplayer-core/evergreen.esm.js";import{InterfaceLanguage as Bo,VideoQuality as xo,fillWithDefault as bc,VERSION as _c,assertNonNullable as ot,safeStorage as vn,isNullable as tl,Subscription as Kn,isNonNullable as bn,isMacLike as es,debounceFn as vc,ValueSubject as Al,getCurrentBrowser as Il,CurrentClientBrowser as u1,noop as je,checkNever as wc,timeCodeToString as kc,Subject as fn,addScript as yc,Logger as c1,merge as Cc,Observable as Pc,map as Sc,loadVKLangPack as Tc,isIOS as Ll,getHighestQuality as Ec,throttleFn as ol,CurrentClientDevice as Ac,getIOSVersion as Ic,detectEmbed as Lc,observeElementSize as Vc,isMobile as Mc,cloneDeepWith as Bc}from"@vkontakte/videoplayer-shared/evergreen.esm.js";import{InterfaceLanguage as k5,VKNumericLanguage as y5,loadVKLangPack as C5}from"@vkontakte/videoplayer-shared/evergreen.esm.js";import{VERSION as Rc,SeekAction as Vt,OneStat as Nc,InteractiveInterfaceClick as Ao}from"@vkontakte/videoplayer-statistics/evergreen.esm.js";function W(){}function f1(t,e){for(const i in e)t[i]=e[i];return t}function d1(t){return t()}function ts(){return Object.create(null)}function $e(t){t.forEach(d1)}function _n(t){return typeof t=="function"}function pe(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let qo;function is(t,e){return qo||(qo=document.createElement("a")),qo.href=e,t===qo.href}function zc(t){return Object.keys(t).length===0}function Qt(t,...e){if(t==null){for(const n of e)n(void 0);return W}const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function Ye(t){let e;return Qt(t,i=>e=i)(),e}function O(t,e,i){t.$$.on_destroy.push(Qt(e,i))}function Mn(t,e,i,n){if(t){const o=m1(t,e,i,n);return t[0](o)}}function m1(t,e,i,n){return t[1]&&n?f1(i.ctx.slice(),t[1](n(e))):i.ctx}function Bn(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 Rn(t,e,i,n,o,s){if(o){const l=m1(e,i,n,s);t.p(l,o)}}function Nn(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 Dc(t){return t??""}const p1=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function p(t,e){t.appendChild(e)}function ze(t,e,i){const n=Oc(t);if(!n.getElementById(e)){const o=A("style");o.id=e,o.textContent=i,Hc(n,o)}}function Oc(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Hc(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 wn(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 N(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Re(t){return document.createTextNode(t)}function D(){return Re(" ")}function lt(){return Re("")}function me(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function Jt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function tt(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function u(t,e,i){i==null?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function Fc(t){return Array.from(t.childNodes)}function Qe(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 Zo;function Uc(){if(Zo===void 0){Zo=!1;try{typeof window<"u"&&window.parent&&window.parent.document}catch{Zo=!0}}return Zo}function Vl(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=Uc();let s;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=me(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{s=me(n.contentWindow,"resize",e),e()}),p(t,n),()=>{(o||s&&n.contentWindow)&&s(),T(n)}}function R(t,e,i){t.classList.toggle(e,!!i)}function Sn(t,e){return new t(e)}let Vo;function Lo(t){Vo=t}function Ro(){if(!Vo)throw new Error("Function called outside component initialization");return Vo}function on(t){Ro().$$.on_mount.push(t)}function ll(t){Ro().$$.on_destroy.push(t)}function yl(t,e){return Ro().$$.context.set(t,e),e}function Ml(t){return Ro().$$.context.get(t)}function h1(){return Ro().$$.context}function _o(t,e){const i=t.$$.callbacks[e.type];i&&i.slice().forEach(n=>n.call(this,e))}const po=[],ve=[];let go=[];const Cl=[],g1=Promise.resolve();let Pl=!1;function b1(){Pl||(Pl=!0,g1.then(_1))}function No(){return b1(),g1}function vo(t){go.push(t)}function Oe(t){Cl.push(t)}const dl=new Set;let uo=0;function _1(){if(uo!==0)return;const t=Vo;do{try{for(;uo<po.length;){const e=po[uo];uo++,Lo(e),qc(e.$$)}}catch(e){throw po.length=0,uo=0,e}for(Lo(null),po.length=0,uo=0;ve.length;)ve.pop()();for(let e=0;e<go.length;e+=1){const i=go[e];dl.has(i)||(dl.add(i),i())}go.length=0}while(po.length);for(;Cl.length;)Cl.pop()();Pl=!1,dl.clear(),Lo(t)}function qc(t){if(t.fragment!==null){t.update(),$e(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(vo)}}function Zc(t){const e=[],i=[];go.forEach(n=>t.indexOf(n)===-1?e.push(n):i.push(n)),i.forEach(n=>n()),go=e}const $o=new Set;let Xn;function fe(){Xn={r:0,c:[],p:Xn}}function de(){Xn.r||$e(Xn.c),Xn=Xn.p}function d(t,e){t&&t.i&&($o.delete(t),t.i(e))}function g(t,e,i,n){if(t&&t.o){if($o.has(t))return;$o.add(t),Xn.c.push(()=>{$o.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}function Ut(t){return t?.length!==void 0?t:Array.from(t)}function Wc(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 Kc(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 H(t,e,i){const{fragment:n,after_update:o}=t.$$;n&&n.m(e,i),vo(()=>{const s=t.$$.on_mount.map(d1).filter(_n);t.$$.on_destroy?t.$$.on_destroy.push(...s):$e(s),t.$$.on_mount=[]}),o.forEach(vo)}function F(t,e){const i=t.$$;i.fragment!==null&&(Zc(i.after_update),$e(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function jc(t,e){t.$$.dirty[0]===-1&&(po.push(t),b1(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function he(t,e,i,n,o,s,l,r=[-1]){const a=Vo;Lo(t);const c=t.$$={fragment:null,ctx:[],props:s,update:W,not_equal:o,bound:ts(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:ts(),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 b=v.length?v[0]:h;return c.ctx&&o(c.ctx[m],c.ctx[m]=b)&&(!c.skip_bound&&c.bound[m]&&c.bound[m](b),f&&jc(t,m)),h}):[],c.update(),f=!0,$e(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const m=Fc(e.target);c.fragment&&c.fragment.l(m),m.forEach(T)}else c.fragment&&c.fragment.c();e.intro&&d(t.$$.fragment),H(t,e.target,e.anchor),_1()}Lo(a)}class ge{$$=void 0;$$set=void 0;$destroy(){F(this,1),this.$destroy=W}$on(e,i){if(!_n(i))return W;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const o=n.indexOf(i);o!==-1&&n.splice(o,1)}}$set(e){this.$$set&&!zc(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Gc="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Gc);var wo;(function(t){t.VK="vk",t.VK_VIDEO="vk_video"})(wo||(wo={}));const Yc={isMobile:void 0,defaultLanguage:Bo.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:wo.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:xo.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0,contextMenuButton:!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}},Qc=t=>bc(t,Yc),Xc=t=>yl("ui-config",t),ln=()=>Ml("ui-config"),Sl="vk_player_debug_panel_opened",v1=300,Jc=100,xc="videoplayer",$c="videoplayer";var Se;(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"})(Se||(Se={}));const zo={[Se.KeyF]:"f",[Se.KeyK]:"k",[Se.KeyC]:"c",[Se.KeyM]:"m"},ef=new Set([Se.ArrowLeft,Se.ArrowRight,Se.KeyL,Se.KeyJ]),tf=new Set([Se.Tab,Se.Space,Se.ArrowLeft,Se.ArrowRight,Se.ArrowUp,Se.ArrowDown]),nf=new Set([Se.ShiftRight,Se.ShiftLeft]);var nt;(function(t){t.PLAY_BUTTON="PLAY_BUTTON",t.REPLAY_BUTTON="REPLAY_BUTTON",t.NEXT_BUTTON="NEXT_BUTTON",t.PREV_BUTTON="PREV_BUTTON",t.PICTURE_IN_PICTURE="PICTURE_IN_PICTURE",t.FULLSCREEN_BUTTON="FULLSCREEN_BUTTON",t.SETTINGS_BUTTON="SETTINGS_BUTTON",t.LIVE_BUTTON="LIVE_BUTTON",t.GRAPH_BUTTON="GRAPH_BUTTON",t.PLAY_PREV_CHAPTER_BUTTON="PLAY_PREV_CHAPTER_BUTTON",t.SEEK_TO_INTERACTIVE_BUTTON="SEEK_TO_INTERACTIVE_BUTTON",t.TIMELINE="TIMELINE",t.VOLUME_BAR="VOLUME_BAR",t.MUTE_BUTTON="MUTE_BUTTON",t.SUBTITLES_BUTTON="SUBTITLES_BUTTON",t.CHROMECAST_BUTTON="CHROMECAST_BUTTON",t.VK_BUTTON="VK_BUTTON",t.EPISODE_BUTTON="EPISODE_BUTTON",t.INCREMENT_PLAYBACK_RATE="INCREMENT_PLAYBACK_RATE",t.DECREMENT_PLAYBACK_RATE="DECREMENT_PLAYBACK_RATE"})(nt||(nt={}));const ns=40,w1=260,of=60,Wo=8,k1=[nt.TIMELINE],el=[...k1,nt.GRAPH_BUTTON],os=[...k1,nt.PLAY_BUTTON],y1=[...el,nt.PLAY_BUTTON];var ho;(function(t){t[t.XS=320]="XS",t[t.S=509]="S",t[t.M=599]="M",t[t.L=699]="L"})(ho||(ho={}));var _t;(function(t){t.XS="xs",t.S="s",t.M="m",t.L="l",t.XL="xl"})(_t||(_t={}));const ko={[_t.XS]:0,[_t.S]:1,[_t.M]:2,[_t.L]:3,[_t.XL]:4},co=[];function Cn(t,e){return{subscribe:Ee(t,e).subscribe}}function Ee(t,e=W){let i;const n=new Set;function o(r){if(pe(t,r)&&(t=r,i)){const a=!co.length;for(const c of n)c[1](),co.push(c,t);if(a){for(let c=0;c<co.length;c+=2)co[c][0](co[c+1]);co.length=0}}}function s(r){o(r(t))}function l(r,a=W){const c=[r,a];return n.add(c),n.size===1&&(i=e(o,s)||W),r(t),()=>{n.delete(c),n.size===0&&i&&(i(),i=null)}}return{set:o,update:s,subscribe:l}}function ri(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 Cn(i,(l,r)=>{let a=!1;const c=[];let f=0,m=W;const h=()=>{if(f)return;m();const b=e(n?c[0]:c,l,r);s?l(b):m=_n(b)?b:W},v=o.map((b,w)=>Qt(b,_=>{c[w]=_,f&=~(1<<w),a&&h()},()=>{f|=1<<w}));return a=!0,h(),function(){$e(v),m(),a=!1}})}const lf="prod",Bl="1.1.35-dev.2b16c033.0",C1=(t,e,i)=>{const n=document.createElement("a");n.href=t,n.download=`${e}.${i}`,n.style.display="none",n.click()},P1=Symbol("storeContext"),S1=Symbol("microStoresContext"),sf=(t,e)=>{yl(P1,t),yl(S1,e)},ut=()=>{const t=Ml(P1);return ot(t,"Store context is empty!"),t},sl=()=>{const t=Ml(S1);return ot(t,"MicroStores context is empty!"),t},dt=(t,e)=>T1(t,t.getValue(),e),T1=(t,e,i)=>Cn(e,n=>{const o=t.subscribe(s=>{n(s),i?.(s)});return()=>o.unsubscribe()}),rf=(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=`${Bl} (core: ${hc}, stat: ${Rc}, shared: ${_c})`,f=Ye(i.state.errorLog$),m=f.length?`
6
+ import{VERSION as hc,ChromecastState as Pn,PlaybackState as Ft,VideoQuality as mo,Player as gc,VideoFormat as Eo}from"@vkontakte/videoplayer-core/evergreen.esm.js";import{VideoFormat as _5,VideoQuality as v5}from"@vkontakte/videoplayer-core/evergreen.esm.js";import{InterfaceLanguage as Bo,VideoQuality as xo,fillWithDefault as bc,VERSION as _c,assertNonNullable as ot,safeStorage as vn,isNullable as tl,Subscription as jn,isNonNullable as bn,isMacLike as es,debounceFn as vc,ValueSubject as Al,getCurrentBrowser as Il,CurrentClientBrowser as u1,noop as Ke,checkNever as wc,timeCodeToString as kc,Subject as fn,addScript as yc,Logger as c1,merge as Cc,Observable as Pc,map as Sc,loadVKLangPack as Tc,isIOS as Ll,getHighestQuality as Ec,throttleFn as ol,CurrentClientDevice as Ac,getIOSVersion as Ic,detectEmbed as Lc,observeElementSize as Vc,isMobile as Mc,cloneDeepWith as Bc}from"@vkontakte/videoplayer-shared/evergreen.esm.js";import{InterfaceLanguage as k5,VKNumericLanguage as y5,loadVKLangPack as C5}from"@vkontakte/videoplayer-shared/evergreen.esm.js";import{VERSION as Rc,SeekAction as Vt,OneStat as Nc,InteractiveInterfaceClick as Ao}from"@vkontakte/videoplayer-statistics/evergreen.esm.js";function W(){}function f1(t,e){for(const i in e)t[i]=e[i];return t}function d1(t){return t()}function ts(){return Object.create(null)}function $e(t){t.forEach(d1)}function _n(t){return typeof t=="function"}function pe(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let qo;function is(t,e){return qo||(qo=document.createElement("a")),qo.href=e,t===qo.href}function zc(t){return Object.keys(t).length===0}function Qt(t,...e){if(t==null){for(const n of e)n(void 0);return W}const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function Ye(t){let e;return Qt(t,i=>e=i)(),e}function O(t,e,i){t.$$.on_destroy.push(Qt(e,i))}function Mn(t,e,i,n){if(t){const o=m1(t,e,i,n);return t[0](o)}}function m1(t,e,i,n){return t[1]&&n?f1(i.ctx.slice(),t[1](n(e))):i.ctx}function Bn(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 Rn(t,e,i,n,o,s){if(o){const l=m1(e,i,n,s);t.p(l,o)}}function Nn(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 Dc(t){return t??""}const p1=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function p(t,e){t.appendChild(e)}function ze(t,e,i){const n=Oc(t);if(!n.getElementById(e)){const o=A("style");o.id=e,o.textContent=i,Hc(n,o)}}function Oc(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Hc(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 wn(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 N(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Re(t){return document.createTextNode(t)}function D(){return Re(" ")}function lt(){return Re("")}function me(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function Jt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function tt(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function u(t,e,i){i==null?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function Fc(t){return Array.from(t.childNodes)}function Qe(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 Zo;function Uc(){if(Zo===void 0){Zo=!1;try{typeof window<"u"&&window.parent&&window.parent.document}catch{Zo=!0}}return Zo}function Vl(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=Uc();let s;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=me(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{s=me(n.contentWindow,"resize",e),e()}),p(t,n),()=>{(o||s&&n.contentWindow)&&s(),T(n)}}function R(t,e,i){t.classList.toggle(e,!!i)}function Sn(t,e){return new t(e)}let Vo;function Lo(t){Vo=t}function Ro(){if(!Vo)throw new Error("Function called outside component initialization");return Vo}function on(t){Ro().$$.on_mount.push(t)}function ll(t){Ro().$$.on_destroy.push(t)}function yl(t,e){return Ro().$$.context.set(t,e),e}function Ml(t){return Ro().$$.context.get(t)}function h1(){return Ro().$$.context}function _o(t,e){const i=t.$$.callbacks[e.type];i&&i.slice().forEach(n=>n.call(this,e))}const po=[],ve=[];let go=[];const Cl=[],g1=Promise.resolve();let Pl=!1;function b1(){Pl||(Pl=!0,g1.then(_1))}function No(){return b1(),g1}function vo(t){go.push(t)}function Oe(t){Cl.push(t)}const dl=new Set;let uo=0;function _1(){if(uo!==0)return;const t=Vo;do{try{for(;uo<po.length;){const e=po[uo];uo++,Lo(e),qc(e.$$)}}catch(e){throw po.length=0,uo=0,e}for(Lo(null),po.length=0,uo=0;ve.length;)ve.pop()();for(let e=0;e<go.length;e+=1){const i=go[e];dl.has(i)||(dl.add(i),i())}go.length=0}while(po.length);for(;Cl.length;)Cl.pop()();Pl=!1,dl.clear(),Lo(t)}function qc(t){if(t.fragment!==null){t.update(),$e(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(vo)}}function Zc(t){const e=[],i=[];go.forEach(n=>t.indexOf(n)===-1?e.push(n):i.push(n)),i.forEach(n=>n()),go=e}const $o=new Set;let Xn;function fe(){Xn={r:0,c:[],p:Xn}}function de(){Xn.r||$e(Xn.c),Xn=Xn.p}function d(t,e){t&&t.i&&($o.delete(t),t.i(e))}function g(t,e,i,n){if(t&&t.o){if($o.has(t))return;$o.add(t),Xn.c.push(()=>{$o.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}function Ut(t){return t?.length!==void 0?t:Array.from(t)}function Wc(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 jc(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 H(t,e,i){const{fragment:n,after_update:o}=t.$$;n&&n.m(e,i),vo(()=>{const s=t.$$.on_mount.map(d1).filter(_n);t.$$.on_destroy?t.$$.on_destroy.push(...s):$e(s),t.$$.on_mount=[]}),o.forEach(vo)}function F(t,e){const i=t.$$;i.fragment!==null&&(Zc(i.after_update),$e(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function Kc(t,e){t.$$.dirty[0]===-1&&(po.push(t),b1(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function he(t,e,i,n,o,s,l,r=[-1]){const a=Vo;Lo(t);const c=t.$$={fragment:null,ctx:[],props:s,update:W,not_equal:o,bound:ts(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:ts(),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 b=v.length?v[0]:h;return c.ctx&&o(c.ctx[m],c.ctx[m]=b)&&(!c.skip_bound&&c.bound[m]&&c.bound[m](b),f&&Kc(t,m)),h}):[],c.update(),f=!0,$e(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const m=Fc(e.target);c.fragment&&c.fragment.l(m),m.forEach(T)}else c.fragment&&c.fragment.c();e.intro&&d(t.$$.fragment),H(t,e.target,e.anchor),_1()}Lo(a)}class ge{$$=void 0;$$set=void 0;$destroy(){F(this,1),this.$destroy=W}$on(e,i){if(!_n(i))return W;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const o=n.indexOf(i);o!==-1&&n.splice(o,1)}}$set(e){this.$$set&&!zc(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Gc="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Gc);var wo;(function(t){t.VK="vk",t.VK_VIDEO="vk_video"})(wo||(wo={}));const Yc={isMobile:void 0,defaultLanguage:Bo.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:wo.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:xo.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0,contextMenuButton:!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}},Qc=t=>bc(t,Yc),Xc=t=>yl("ui-config",t),ln=()=>Ml("ui-config"),Sl="vk_player_debug_panel_opened",v1=300,Jc=100,xc="videoplayer",$c="videoplayer";var Se;(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"})(Se||(Se={}));const zo={[Se.KeyF]:"f",[Se.KeyK]:"k",[Se.KeyC]:"c",[Se.KeyM]:"m"},ef=new Set([Se.ArrowLeft,Se.ArrowRight,Se.KeyL,Se.KeyJ]),tf=new Set([Se.Tab,Se.Space,Se.ArrowLeft,Se.ArrowRight,Se.ArrowUp,Se.ArrowDown]),nf=new Set([Se.ShiftRight,Se.ShiftLeft]);var nt;(function(t){t.PLAY_BUTTON="PLAY_BUTTON",t.REPLAY_BUTTON="REPLAY_BUTTON",t.NEXT_BUTTON="NEXT_BUTTON",t.PREV_BUTTON="PREV_BUTTON",t.PICTURE_IN_PICTURE="PICTURE_IN_PICTURE",t.FULLSCREEN_BUTTON="FULLSCREEN_BUTTON",t.SETTINGS_BUTTON="SETTINGS_BUTTON",t.LIVE_BUTTON="LIVE_BUTTON",t.GRAPH_BUTTON="GRAPH_BUTTON",t.PLAY_PREV_CHAPTER_BUTTON="PLAY_PREV_CHAPTER_BUTTON",t.SEEK_TO_INTERACTIVE_BUTTON="SEEK_TO_INTERACTIVE_BUTTON",t.TIMELINE="TIMELINE",t.VOLUME_BAR="VOLUME_BAR",t.MUTE_BUTTON="MUTE_BUTTON",t.SUBTITLES_BUTTON="SUBTITLES_BUTTON",t.CHROMECAST_BUTTON="CHROMECAST_BUTTON",t.VK_BUTTON="VK_BUTTON",t.EPISODE_BUTTON="EPISODE_BUTTON",t.INCREMENT_PLAYBACK_RATE="INCREMENT_PLAYBACK_RATE",t.DECREMENT_PLAYBACK_RATE="DECREMENT_PLAYBACK_RATE"})(nt||(nt={}));const ns=40,w1=260,of=60,Wo=8,k1=[nt.TIMELINE],el=[...k1,nt.GRAPH_BUTTON],os=[...k1,nt.PLAY_BUTTON],y1=[...el,nt.PLAY_BUTTON];var ho;(function(t){t[t.XS=320]="XS",t[t.S=509]="S",t[t.M=599]="M",t[t.L=699]="L"})(ho||(ho={}));var _t;(function(t){t.XS="xs",t.S="s",t.M="m",t.L="l",t.XL="xl"})(_t||(_t={}));const ko={[_t.XS]:0,[_t.S]:1,[_t.M]:2,[_t.L]:3,[_t.XL]:4},co=[];function Cn(t,e){return{subscribe:Ee(t,e).subscribe}}function Ee(t,e=W){let i;const n=new Set;function o(r){if(pe(t,r)&&(t=r,i)){const a=!co.length;for(const c of n)c[1](),co.push(c,t);if(a){for(let c=0;c<co.length;c+=2)co[c][0](co[c+1]);co.length=0}}}function s(r){o(r(t))}function l(r,a=W){const c=[r,a];return n.add(c),n.size===1&&(i=e(o,s)||W),r(t),()=>{n.delete(c),n.size===0&&i&&(i(),i=null)}}return{set:o,update:s,subscribe:l}}function ri(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 Cn(i,(l,r)=>{let a=!1;const c=[];let f=0,m=W;const h=()=>{if(f)return;m();const b=e(n?c[0]:c,l,r);s?l(b):m=_n(b)?b:W},v=o.map((b,w)=>Qt(b,_=>{c[w]=_,f&=~(1<<w),a&&h()},()=>{f|=1<<w}));return a=!0,h(),function(){$e(v),m(),a=!1}})}const lf="prod",Bl="1.1.35-dev.9ff57f0f.0",C1=(t,e,i)=>{const n=document.createElement("a");n.href=t,n.download=`${e}.${i}`,n.style.display="none",n.click()},P1=Symbol("storeContext"),S1=Symbol("microStoresContext"),sf=(t,e)=>{yl(P1,t),yl(S1,e)},ut=()=>{const t=Ml(P1);return ot(t,"Store context is empty!"),t},sl=()=>{const t=Ml(S1);return ot(t,"MicroStores context is empty!"),t},dt=(t,e)=>T1(t,t.getValue(),e),T1=(t,e,i)=>Cn(e,n=>{const o=t.subscribe(s=>{n(s),i?.(s)});return()=>o.unsubscribe()}),rf=(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=`${Bl} (core: ${hc}, stat: ${Rc}, shared: ${_c})`,f=Ye(i.state.errorLog$),m=f.length?`
7
7
  `+f.map((b,w)=>{const _=`${w}) Type: ${b.id}
8
8
  `,S=`Message: ${b.message} (${b.thrown})
9
9
  `,k=`Trace: ${b.thrown?.stack}
10
10
  `;return _+S+k}).join(`
11
11
  `):void 0,h=i.state.isAudioDisabled?"disabled":Ye(i.state.isAudioAvailable$)?void 0:"unavailable",v={Version:c,Browser:navigator.userAgent,Config:t.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(i.videoId),"Content host":n.hostname$.getValue(),"Connection type":n.httpConnectionType$.getValue()+(n.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${l}Kbps @ ${r}ms RTT`,Format:n.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${a} ${n.currentQuality$.getValue()}`,"Available qualities":n.availableQualities$.getValue().join(", "),Audio:h,Position:`${Ye(i.state.positionExact$)}s`,State:`${Ye(i.playerPhase)} ${n.playbackState$.getValue()}`,"Player size":`${o}x${s}`,URL:window.location.href,Errors:m};return Object.entries(v).filter(([b,w])=>w!==void 0).map(([b,w])=>`${b}: ${w}`).join(`
12
- `)},af=(t,e,i)=>{const n=t.info,{width:o,height:s}=Ye(i.ui.playerSize),l={version:Bl,viewport:`${o}x${s}`,volume:Math.round(Ye(i.state.volume$)*100)};l.id=i.videoId,n.currentFormat$.getValue()&&(l.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(l.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(l.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(l.buffer=Math.max(f.end-Ye(i.state.positionExact$),0));const m=n.throughputEstimation$.getValue();m&&(l.speed=m);const h=n.videoBitrate$.getValue();return h&&(l.bitrate=h),l},uf=(t,e)=>C1(t,e,"mp4"),E1="vk_player_prefer_traffic_saving_enabled",A1="vk_player_preferred_volume",I1="vk_player_prefer_volume_mute",Rl="vk_player_preferred_quality",L1=t=>t>1?1:t<0?0:t,ls=t=>vn.set(A1,L1(t).toString(10)),V1=()=>{const t=vn.get(A1);return tl(t)?void 0:L1(parseFloat(t))},cf=(t,e)=>vn.set(Rl,JSON.stringify({videoId:t,value:e})),M1=()=>vn.remove(Rl),ff=t=>{const e=vn.get(Rl);if(tl(e))return;const{videoId:i,value:n}=JSON.parse(e);if(t!==i){M1();return}return n},B1=(t,e)=>{e?vn.set(t,"true"):vn.remove(t)},R1=t=>vn.get(t)==="true",ml=t=>B1(I1,t),df=()=>R1(I1),mf=t=>B1(E1,t),pf=()=>R1(E1);function hf(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("path"),l=N("path"),r=N("path"),a=N("defs"),c=N("filter"),f=N("feFlood"),m=N("feColorMatrix"),h=N("feOffset"),v=N("feGaussianBlur"),b=N("feColorMatrix"),w=N("feBlend"),_=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(o,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(o,"fill","#fff"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(s,"fill","#fff"),u(l,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(l,"fill","#fff"),u(r,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(r,"stroke-linecap","round"),u(r,"stroke-linejoin","round"),u(i,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(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(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_618_12297"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_618_12297"),u(_,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",S=!t[0]||null),u(e,"aria-label",k=t[0]||null)},m(C,V){E(C,e,V),p(e,i),p(i,n),p(i,o),p(i,s),p(i,l),p(i,r),p(e,a),p(a,c),p(c,f),p(c,m),p(c,h),p(c,v),p(c,b),p(c,w),p(c,_)},p(C,[V]){V&1&&S!==(S=!C[0]||null)&&u(e,"aria-hidden",S),V&1&&k!==(k=C[0]||null)&&u(e,"aria-label",k)},i:W,o:W,d(C){C&&T(e)}}}function gf(t,e,i){let{ariaLabel:n=""}=e;return t.$$set=o=>{"ariaLabel"in o&&i(0,n=o.ariaLabel)},[n]}class N1 extends ge{constructor(e){super(),he(this,e,gf,hf,pe,{ariaLabel:0})}}const bf={auto_quality_invariant:"\u0410\u0432\u0442\u043E",auto_quality:"\u0410\u0432\u0442\u043E ({actual})",auto_quality_option:"\u0410\u0432\u0442\u043E",menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",menu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",menu_report:"\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435",menu_pip:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",menu_copy_video_link:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E",menu_copy_video_link_with_timestamp:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043A\u0430\u0434\u0440",menu_video_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C",menu_chromecast:"Chromecast \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F",menu_copy_debug:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_save_debug:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",pip_dummy_title:"\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",submenu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",submenu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",submenu_settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",submenu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",mobile_unmute:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",playing_ads:"\u0420\u0435\u043A\u043B\u0430\u043C\u0430 {timeleft}",skip_ads_now:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",skip_ads_after:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u0447\u0435\u0440\u0435\u0437 {time}\u0441",visit_advertiser:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442",aria_timeline:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B",aria_timeline_value:"{position} (\u043E\u0431\u0449\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C {duration}",aria_open_settings:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0438\u0434\u0435\u043E\u043F\u043B\u0435\u0435\u0440\u0430",doubletap_seek_step:"{seconds} \u0441\u0435\u043A\u0443\u043D\u0434",playback_rate_1:"\u041E\u0431\u044B\u0447\u043D\u0430\u044F",playback_rate:"{multiplier}x",video360:"\u043F\u0430\u043D\u043E\u0440\u0430\u043C\u043D\u043E\u0435 \u0432\u0438\u0434\u0435\u043E",subtitles_caption:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_auto:"{language} (\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435)",subtitles_off:"\u0412\u044B\u043A\u043B.",subtitles_auto_caption:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",traffic_saving_off:"\u041E\u0442\u043A\u043B.",traffic_saving_on:"\u0412\u043A\u043B.",traffic_saving_disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_enable:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_helper_text:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u0432\u0438\u0434\u0435\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u0438\u0436\u0435\u043D\u043E \u0434\u043B\u044F \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043A\u0430",tooltip_button_disabled:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_previous:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_restart:"\u041D\u0430\u0447\u0430\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E",tooltip_play:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",tooltip_pause:"\u041F\u0430\u0443\u0437\u0430",tooltip_next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_interactive_go_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0433\u043B\u0430\u0432\u0435",tooltip_interactive_go_back_disabled:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_interactive_go_back_disabled_first:"\u0412\u044B \u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043F\u0435\u0440\u0432\u0443\u044E \u0433\u043B\u0430\u0432\u0443",tooltip_interactive_go_back_disabled_limit:"\u041B\u0438\u043C\u0438\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u0432 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",tooltip_chapter_without_interactive:"\u0412 \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u0435 \u043D\u0435\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_interactive_of_chapter_completed:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u044B \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u044B \u0443\u0436\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u044B",tooltip_interactive_seek:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0443",tooltip_interactive_graph_off:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_interactive_graph_on:"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_live:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u043D\u0430 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043B\u0430\u0439\u0432",tooltip_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",tooltip_volume:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_volume_muted:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_subtitles_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_subtitles_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_settings_off:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_settings_on:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_fullscreen_off:"\u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D",tooltip_fullscreen_on:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",tooltip_chromecast_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_chromecast_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_episode_finished:"\u0412\u044B \u0443\u0436\u0435 \u0441\u0434\u0435\u043B\u0430\u043B\u0438 \u0441\u0432\u043E\u0439 \u0432\u044B\u0431\u043E\u0440",tooltip_episode_unfinished:"\u041D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043E",tooltip_disabled_when_interactive:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432 \u0443\u0436\u0435 \u0438\u0434\u0451\u0442",tooltip_disabled_when_graph_on:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043A\u0430\u0440\u0442\u044B",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",aria_label_video_player:"\u0412\u0438\u0434\u0435\u043E \u043F\u043B\u0435\u0435\u0440",aria_label_spherical_control:"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440 \u0434\u043B\u044F \u0441\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0438\u0434\u0435\u043E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438 \u0434\u043B\u044F \u043F\u0430\u043D\u043E\u0440\u0430\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E.",aria_label_debug_panel:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0441 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439, \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0441\u043A\u0440\u0438\u043D\u0448\u043E\u0442 \u0434\u043B\u044F \u0442\u0435\u0445\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438",aria_label_new_tab_alert:"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435.",aria_label_context_menu_open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_context_menu_close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E: {actual}",aria_label_menu_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C: {actual}",aria_label_menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445: {actual}",aria_label_menu_subtitle:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B: {actual}",aria_label_menu_download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",aria_label_menu_debug_overlay_enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_debug_overlay_disable:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432",aria_label_submenu_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A",aria_label_submenu_traffic_saving_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_traffic_saving_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445"},_f={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_save_debug:"Save debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_restart:"Watch again",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_go_back:"Back to previous chapter",tooltip_interactive_go_back_disabled:"Interactive history unavailable",tooltip_interactive_go_back_disabled_first:"You're watching the first chapter",tooltip_interactive_go_back_disabled_limit:"Go-back limit exceeded",tooltip_chapter_without_interactive:"This chapter has no interactive segment",tooltip_interactive_of_chapter_completed:"Chapter's interactive segments already watched",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Interactive video in progress",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon",aria_label_video_player:"Video player",aria_label_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_debug_panel:"Technical information area, take a screenshot for technical support",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_context_menu_open:"Open context menu",aria_label_context_menu_close:"Close context menu",aria_label_menu_quality:"Quality: {actual}",aria_label_menu_rate:"Rate: {actual}",aria_label_menu_traffic_saving:"Data saving: {actual}",aria_label_menu_subtitle:"Subtitles: {actual}",aria_label_menu_download:"Download video",aria_label_menu_debug_overlay_enable:"Enable display of technical information",aria_label_menu_debug_overlay_disable:"Disable display of technical information",aria_label_menu_rotate:"Rotate video 90 degrees",aria_label_submenu_back:"Return to settings menu",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode"},In=new Map;In.set(Bo.EN,_f);In.set(Bo.RU,bf);const z1=new Map,ss=({language:t,pack:e,fallback:i})=>{if(In.has(t)){const n=In.get(t);In.set(t,{...n,...e})}else In.set(t,e);z1.set(t,i)},rs=t=>In.has(t),D1=(t,e,i,n)=>{let s=In.get(t)?.[e];if(tl(s)){const l=z1.get(t)??n;s=(l?In.get(l):void 0)?.[e]}return tl(s)?e+Object.values(i??{}).join(" "):i?s.replaceAll(/{(\w+?)}/g,(l,r)=>i[r]??""):s},Y=(t,e)=>{const{interfaceLanguage$:i}=ut(),n=Ye(i),o=ln();return D1(n,t,e,o.defaultLanguage)};var il;(function(t){t.fatal="fatal",t.error="error",t.warning="warning",t.log="log",t.info="info",t.debug="debug",t.critical="critical"})(il||(il={}));const vf=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,wf=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,kf=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Ko="?",yf="X-Sentry-Auth",Cf=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Pf(t){if(!t.stack)return null;const e=[],i=t.stack.split(`
13
- `);let n,o;for(let s=0;s<i.length;++s){if(n=vf.exec(i[s]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||Ko,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=kf.exec(i[s]))o={filename:n[2],function:n[1]||Ko,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=wf.exec(i[s]))s===0&&!n[5]&&t.columnNumber!==void 0&&(e[0].column=t.columnNumber+1),o={filename:n[3],function:n[1]||Ko,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=Ko),e.push(o)}return e.length?{value:O1(t),type:t.name,stacktrace:{frames:e.reverse()}}:null}function O1(t){return(t&&t.message||"No error message").split(`
14
- `).filter(i=>!!i)[0]}function Sf(t){try{const e=Pf(t);if(e)return e}catch{}return{value:O1(t),type:t&&t.name,stacktrace:{frames:[]}}}function Tf(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,t=>{const e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}class Ef{constructor(e){if(e&&e.dsn){const i=Cf.exec(e.dsn),n=i?i.slice(1):[],o=n[5].split("/"),s=o.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(s?"/"+s:"")+"/api/"+o.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return{...this.getRequestBlank(),exception:{values:[Sf(e)]}}}report(e){this.send(this.prepare(e))}send(e){!this.apiUrl||!e||this.createRequest(e)}createRequest(e){const i=new XMLHttpRequest;i.open("POST",this.apiUrl,!0),i.setRequestHeader("Content-type","application/json"),i.setRequestHeader(yf,this.authHeader||""),i.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:Tf(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function as(t,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(t):typeof e=="string"?t.indexOf(e)!==-1:!1}function Af(){return window}class Nl extends Ef{constructor(e,i=Af()){super(e),this.options=e,this.window=i,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:o=c=>c,beforeBreadcrumb:s=c=>c,blacklistUrls:l=[],ignoreErrors:r=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=s,this.blacklistUrls=l,this.ignoreErrors=r,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",{...e}),this}setTag(e,i){return this.extendState({tags:{[e]:i}}),this}setExtra(e,i){return this.extendState({extra:{[e]:i}}),this}setExtras(e){return this.setKeyState("extra",{...e}),this}setUser(e){return this.setKeyState("user",{...e}),this}clone(){const e=new Nl({...this.options,plugins:[]});return e.extendState(this.state),e}withScope(e){const i=this.clone();e(i),i.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[{timestamp:Date.now()/1e3,...this.beforeBreadcrumb(e)}]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,i){this.send({...this.getRequestBlank(),message:e,level:i})}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(i=>this.ignoreErrors.some(n=>as(i,n))):!1}getRequestBlank(){return{request:{url:this.window.location.toString(),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},...this.state}}send(e){this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e)||(super.send(this.beforeSend({release:this.release,...e})),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:i="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${i}: ${n}`]}catch{return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const i=this.getEventFilterUrl(e);return i?this.blacklistUrls.some(n=>as(i,n)):!1}getEventFilterUrl(e){try{if(e.exception){const i=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return i&&i[i.length-1].filename||null}return null}catch{return null}}extendState(e){this._state=Object.keys(e).reduce((i,n)=>{const o=this._state[n],s=Array.isArray(o)?o:null,l=e[n],r=Array.isArray(l)?l:null;return{...i,[n]:s||r?[...s||[],...r||[]]:{...typeof o!="string"?o:{},...typeof l!="string"?l:{}}}},this._state)}setKeyState(e,i){this._state[e]=i}}let jo=null;class Tl{sentrySubscription;options;version;context;sentryClient;constructor(e,i,n={}){!jo&&e.dsn&&(this.sentryClient=new Nl({dsn:e.dsn,environment:i.env}),this.version=i.version,this.sentrySubscription=new Kn,this.options=e,this.context=n,jo=this)}destroy(){this.sentryClient?.destroy(),this.sentrySubscription?.unsubscribe(),jo=null}logIError(e,i=!1){e.thrown&&this.report(e.thrown,{fatal:i,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,i={},n={}){const{sentryClient:o,context:s,options:l}=this,{sampleRate:r=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:m}=l,{errorType:h,category:v}=i;if(bn(v)&&m.includes(v)||bn(h)&&f.includes(h))return;if(Math.random()<=r||bn(v)&&c.includes(v)||bn(h)&&a.includes(h)){Object.keys(i).length&&o.setTags({version:this.version,...i}),(Object.keys(s).length||Object.keys(n).length)&&o.setExtras({...s,...n});try{h&&o.captureMessage(h,i.fatal?il.fatal:il.error),o.report(e)}catch(w){console.error(w)}}}static getInstance(){return jo}}var bo;(function(t){t.AUTO="auto"})(bo||(bo={}));var Ve;(function(t){t.Thumb="thumb",t.Video="video",t.Ads="ads",t.Crashed="crashed",t.WaitingLive="waitingLive",t.WaitingRecord="waitingRecord"})(Ve||(Ve={}));var An;(function(t){t.Preroll="preroll",t.Midroll="midroll",t.Postroll="postroll"})(An||(An={}));var Xt;(function(t){t.INACTIVE="inactive",t.PLAYING="playing",t.PAUSED="paused"})(Xt||(Xt={}));var Ln;(function(t){t[t.PictureInPicture=0]="PictureInPicture",t[t.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(Ln||(Ln={}));var We;(function(t){t.PLAY="PLAY",t.PAUSE="PAUSE",t.REPLAY="REPLAY",t.BACKWARD_SEEK="BACKWARD_SEEK",t.FORWARD_SEEK="FORWARD_SEEK",t.SUBTITLES_ON="SUBTITLES_ON",t.SUBTITLES_OFF="SUBTITLES_OFF",t.RATE_UP="RATE_UP",t.RATE_DOWN="RATE_DOWN",t.EPISODE_PREV="EPISODE_PREV",t.EPISODE_NEXT="EPISODE_NEXT",t.MUTE="MUTE",t.VOLUME="VOLUME"})(We||(We={}));var Jn;(function(t){t.FULL="FULL",t.COUNT="COUNT",t.SHORT="SHORT"})(Jn||(Jn={}));const H1=t=>{if(t.requestFullscreen)return t.requestFullscreen();if(t.msRequestFullscreen)return t.msRequestFullscreen();if(t.webkitRequestFullscreen)return t.webkitRequestFullscreen();if(t.mozRequestFullScreen)return t.mozRequestFullScreen();const e=t.querySelector("video");return e?.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},F1=t=>t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():Promise.reject(),If=t=>{const e=t;return e?.webkitExitFullscreen?e?.webkitExitFullscreen():Promise.reject()},Mo=()=>{const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)},U1=t=>{document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),document.addEventListener("mozfullscreenchange",t),document.addEventListener("MSFullscreenChange",t)},q1=t=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",t),document.removeEventListener("mozfullscreenchange",t),document.removeEventListener("MSFullscreenChange",t)},Lf=t=>{const e=window.screen;return(async o=>e.orientation?e.orientation.lock(o):e.mozLockOrientation?e.mozLockOrientation(o):e.msLockOrientation?e.msLockOrientation(o):Promise.reject())(((o={width:0,height:0})=>o.width<=o.height?"portrait":"landscape")(t))},Vf=()=>({title:Y("hotkey_map_modal_title"),closeBtnText:Y("hotkey_map_modal_close_btn_text"),groups:[{title:Y("hotkey_map_group_title_common"),items:[{description:Y("hotkey_map_item_mute_description"),value:Y("hotkey_map_item_mute_value")},{description:Y("hotkey_map_item_volume_up_description"),value:Y("hotkey_map_item_volume_up_value")},{description:Y("hotkey_map_item_volume_down_description"),value:Y("hotkey_map_item_volume_down_value")},{description:Y("hotkey_map_item_pip_description"),value:Y("hotkey_map_item_pip_value")},{description:Y("hotkey_map_item_full_screen_description"),value:Y("hotkey_map_item_full_screen_value")},{description:Y("hotkey_map_item_show_hotkey_map_description"),value:Y("hotkey_map_item_show_hotkey_map_value")}]},{title:Y("hotkey_map_group_title_playback"),items:[{description:Y("hotkey_map_item_play_toggle_description"),value:Y("hotkey_map_item_play_toggle_value")},{description:Y("hotkey_map_item_seek_backward_description"),value:Y("hotkey_map_item_seek_backward_value")},{description:Y("hotkey_map_item_seek_forward_description"),value:Y("hotkey_map_item_seek_forward_value")},{description:Y("hotkey_map_item_fast_seek_backward_description"),value:Y("hotkey_map_item_fast_seek_backward_value")},{description:Y("hotkey_map_item_fast_seek_forward_description"),value:Y("hotkey_map_item_fast_seek_forward_value")},{description:Y("hotkey_map_item_rate_down_description"),value:Y("hotkey_map_item_rate_down_value")},{description:Y("hotkey_map_item_rate_up_description"),value:Y("hotkey_map_item_rate_up_value")},{description:Y("hotkey_map_item_prev_frame_description"),value:Y("hotkey_map_item_prev_frame_value")},{description:Y("hotkey_map_item_next_frame_description"),value:Y("hotkey_map_item_next_frame_value")},{description:Y("hotkey_map_item_jump_seek_description"),value:Y("hotkey_map_item_jump_seek_value")}]},{title:Y("hotkey_map_group_title_subtitles"),items:[{description:Y("hotkey_map_item_subtitles_toggle_description"),value:Y("hotkey_map_item_subtitles_toggle_value")}]},{title:Y("hotkey_map_group_title_episodes"),items:[{description:Y("hotkey_map_item_prev_episode_description"),value:es()?Y("hotkey_map_item_prev_episode_mac_value"):Y("hotkey_map_item_prev_episode_pc_value")},{description:Y("hotkey_map_item_next_episode_description"),value:es()?Y("hotkey_map_item_next_episode_mac_value"):Y("hotkey_map_item_next_episode_pc_value")}]}]});class zl{isRequested=!1;videoElement=void 0;playerContainer=void 0;playerDummyElement;svelteContext;externalEventHandlers={};eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:vc(this.onResize.bind(this),v1)};info={isActive$:new Al(this.isActive()),type:Ln.PictureInPicture};isSupported(){const e=Il().browser===u1.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async request(){if(!(!this.isSupported()||this.isActive()))try{await this.videoElement?.requestPictureInPicture()}catch{this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){this.isSupported()&&(this.videoElement=this.playerContainer?.querySelector("video"))}registryEventHandlers(){this.videoElement?.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){this.videoElement?.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){const n=e.pictureInPictureWindow;n&&(this.info.isActive$.next(!0),this.isRequested=!0,n.addEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.enterpictureinpicture?.(e))}onLeavePictureInPicture(e){const n=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,n?.removeEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.leavepictureinpicture?.(e),this.playerDummyElement?.$destroy()}onResize(e){this.externalEventHandlers.resize?.(e)}}function nl(t){return t instanceof zl}function Mf(t){const e=ut();return on(()=>{e.getAdmanWrapper().startPostroll()}),[]}class Bf extends ge{constructor(e){super(),he(this,e,Mf,null,pe,{})}}function Rf(t){ze(t,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function Nf(t){let e=Y("skip_ads_after",{time:Math.ceil(t[1]-t[0]).toFixed(0)})+"",i;return{c(){i=Re(e)},m(n,o){E(n,i,o)},p(n,o){o&3&&e!==(e=Y("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&Qe(i,e)},d(n){n&&T(i)}}}function zf(t){let e,i=Y("skip_ads_now")+"",n,o,s,l,r,a;return{c(){e=A("div"),n=Re(i),o=D(),s=N("svg"),l=N("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(s,"class","icon v-22jj8o"),u(s,"width","7"),u(s,"height","12"),u(s,"viewBox","0 0 7 12"),u(s,"fill","none"),u(s,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){E(c,e,f),p(e,n),p(e,o),p(e,s),p(s,l),r||(a=me(e,"click",tt(function(){_n(t[2])&&t[2].apply(this,arguments)})),r=!0)},p(c,f){t=c},d(c){c&&T(e),r=!1,a()}}}function Df(t){let e;function i(s,l){return s[3]?zf:Nf}let n=i(t),o=n(t);return{c(){e=A("div"),o.c(),u(e,"class","container v-22jj8o"),R(e,"container-mobile",t[4]),R(e,"skippable",t[3])},m(s,l){E(s,e,l),o.m(e,null)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e,null))),l&16&&R(e,"container-mobile",s[4]),l&8&&R(e,"skippable",s[3])},i:W,o:W,d(s){s&&T(e),o.d()}}}function Of(t,e,i){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:s=0}=e,{skipAd:l=je}=e;const a=ut().ui.isMobile;O(t,a,f=>i(4,n=f));let c;return t.$$set=f=>{"position"in f&&i(0,o=f.position),"secondsToWatchBeforeSkip"in f&&i(1,s=f.secondsToWatchBeforeSkip),"skipAd"in f&&i(2,l=f.skipAd)},t.$$.update=()=>{t.$$.dirty&3&&i(3,c=o>0&&o>=s)},[o,s,l,c,n,a]}class Hf extends ge{constructor(e){super(),he(this,e,Of,Df,pe,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},Rf)}}function Ff(t){ze(t,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function Uf(t){let e;return{c(){e=A("button"),e.textContent=`${Y("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(i,n){E(i,e,n)},p:W,i:W,o:W,d(i){i&&T(e)}}}class qf extends ge{constructor(e){super(),he(this,e,null,Uf,pe,{},Ff)}}function Zf(t){ze(t,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
12
+ `)},af=(t,e,i)=>{const n=t.info,{width:o,height:s}=Ye(i.ui.playerSize),l={version:Bl,viewport:`${o}x${s}`,volume:Math.round(Ye(i.state.volume$)*100)};l.id=i.videoId,n.currentFormat$.getValue()&&(l.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(l.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(l.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(l.buffer=Math.max(f.end-Ye(i.state.positionExact$),0));const m=n.throughputEstimation$.getValue();m&&(l.speed=m);const h=n.videoBitrate$.getValue();return h&&(l.bitrate=h),l},uf=(t,e)=>C1(t,e,"mp4"),E1="vk_player_prefer_traffic_saving_enabled",A1="vk_player_preferred_volume",I1="vk_player_prefer_volume_mute",Rl="vk_player_preferred_quality",L1=t=>t>1?1:t<0?0:t,ls=t=>vn.set(A1,L1(t).toString(10)),V1=()=>{const t=vn.get(A1);return tl(t)?void 0:L1(parseFloat(t))},cf=(t,e)=>vn.set(Rl,JSON.stringify({videoId:t,value:e})),M1=()=>vn.remove(Rl),ff=t=>{const e=vn.get(Rl);if(tl(e))return;const{videoId:i,value:n}=JSON.parse(e);if(t!==i){M1();return}return n},B1=(t,e)=>{e?vn.set(t,"true"):vn.remove(t)},R1=t=>vn.get(t)==="true",ml=t=>B1(I1,t),df=()=>R1(I1),mf=t=>B1(E1,t),pf=()=>R1(E1);function hf(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("path"),l=N("path"),r=N("path"),a=N("defs"),c=N("filter"),f=N("feFlood"),m=N("feColorMatrix"),h=N("feOffset"),v=N("feGaussianBlur"),b=N("feColorMatrix"),w=N("feBlend"),_=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(o,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(o,"fill","#fff"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(s,"fill","#fff"),u(l,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(l,"fill","#fff"),u(r,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(r,"stroke-linecap","round"),u(r,"stroke-linejoin","round"),u(i,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(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(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_618_12297"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_618_12297"),u(_,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",S=!t[0]||null),u(e,"aria-label",k=t[0]||null)},m(C,V){E(C,e,V),p(e,i),p(i,n),p(i,o),p(i,s),p(i,l),p(i,r),p(e,a),p(a,c),p(c,f),p(c,m),p(c,h),p(c,v),p(c,b),p(c,w),p(c,_)},p(C,[V]){V&1&&S!==(S=!C[0]||null)&&u(e,"aria-hidden",S),V&1&&k!==(k=C[0]||null)&&u(e,"aria-label",k)},i:W,o:W,d(C){C&&T(e)}}}function gf(t,e,i){let{ariaLabel:n=""}=e;return t.$$set=o=>{"ariaLabel"in o&&i(0,n=o.ariaLabel)},[n]}class N1 extends ge{constructor(e){super(),he(this,e,gf,hf,pe,{ariaLabel:0})}}const bf={auto_quality_invariant:"\u0410\u0432\u0442\u043E",auto_quality:"\u0410\u0432\u0442\u043E ({actual})",auto_quality_option:"\u0410\u0432\u0442\u043E",menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",menu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",menu_report:"\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435",menu_pip:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",menu_copy_video_link:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E",menu_copy_video_link_with_timestamp:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043A\u0430\u0434\u0440",menu_video_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C",menu_chromecast:"Chromecast \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F",menu_copy_debug:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_save_debug:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",pip_dummy_title:"\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",submenu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",submenu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",submenu_settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",submenu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",mobile_unmute:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",playing_ads:"\u0420\u0435\u043A\u043B\u0430\u043C\u0430 {timeleft}",skip_ads_now:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",skip_ads_after:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u0447\u0435\u0440\u0435\u0437 {time}\u0441",visit_advertiser:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442",aria_timeline:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B",aria_timeline_value:"{position} (\u043E\u0431\u0449\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C {duration}",aria_open_settings:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0438\u0434\u0435\u043E\u043F\u043B\u0435\u0435\u0440\u0430",doubletap_seek_step:"{seconds} \u0441\u0435\u043A\u0443\u043D\u0434",playback_rate_1:"\u041E\u0431\u044B\u0447\u043D\u0430\u044F",playback_rate:"{multiplier}x",video360:"\u043F\u0430\u043D\u043E\u0440\u0430\u043C\u043D\u043E\u0435 \u0432\u0438\u0434\u0435\u043E",subtitles_caption:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_auto:"{language} (\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435)",subtitles_off:"\u0412\u044B\u043A\u043B.",subtitles_auto_caption:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",traffic_saving_off:"\u041E\u0442\u043A\u043B.",traffic_saving_on:"\u0412\u043A\u043B.",traffic_saving_disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_enable:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_helper_text:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u0432\u0438\u0434\u0435\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u0438\u0436\u0435\u043D\u043E \u0434\u043B\u044F \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043A\u0430",tooltip_button_disabled:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_previous:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_restart:"\u041D\u0430\u0447\u0430\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E",tooltip_play:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",tooltip_pause:"\u041F\u0430\u0443\u0437\u0430",tooltip_next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_interactive_go_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0433\u043B\u0430\u0432\u0435",tooltip_interactive_go_back_disabled:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_interactive_go_back_disabled_first:"\u0412\u044B \u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043F\u0435\u0440\u0432\u0443\u044E \u0433\u043B\u0430\u0432\u0443",tooltip_interactive_go_back_disabled_limit:"\u041B\u0438\u043C\u0438\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u0432 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",tooltip_chapter_without_interactive:"\u0412 \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u0435 \u043D\u0435\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_interactive_of_chapter_completed:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u044B \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u044B \u0443\u0436\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u044B",tooltip_interactive_seek:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0443",tooltip_interactive_graph_off:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_interactive_graph_on:"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_live:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u043D\u0430 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043B\u0430\u0439\u0432",tooltip_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",tooltip_volume:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_volume_muted:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_subtitles_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_subtitles_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_settings_off:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_settings_on:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_fullscreen_off:"\u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D",tooltip_fullscreen_on:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",tooltip_chromecast_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_chromecast_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_episode_finished:"\u0412\u044B \u0443\u0436\u0435 \u0441\u0434\u0435\u043B\u0430\u043B\u0438 \u0441\u0432\u043E\u0439 \u0432\u044B\u0431\u043E\u0440",tooltip_episode_unfinished:"\u041D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043E",tooltip_disabled_when_interactive:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432 \u0443\u0436\u0435 \u0438\u0434\u0451\u0442",tooltip_disabled_when_graph_on:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043A\u0430\u0440\u0442\u044B",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",aria_label_video_player:"\u0412\u0438\u0434\u0435\u043E \u043F\u043B\u0435\u0435\u0440",aria_label_spherical_control:"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440 \u0434\u043B\u044F \u0441\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0438\u0434\u0435\u043E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438 \u0434\u043B\u044F \u043F\u0430\u043D\u043E\u0440\u0430\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E.",aria_label_debug_panel:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0441 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439, \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0441\u043A\u0440\u0438\u043D\u0448\u043E\u0442 \u0434\u043B\u044F \u0442\u0435\u0445\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438",aria_label_new_tab_alert:"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435.",aria_label_context_menu_open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_context_menu_close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E: {actual}",aria_label_menu_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C: {actual}",aria_label_menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445: {actual}",aria_label_menu_subtitle:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B: {actual}",aria_label_menu_download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",aria_label_menu_debug_overlay_enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_debug_overlay_disable:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432",aria_label_submenu_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A",aria_label_submenu_traffic_saving_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_traffic_saving_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445"},_f={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_save_debug:"Save debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_restart:"Watch again",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_go_back:"Back to previous chapter",tooltip_interactive_go_back_disabled:"Interactive history unavailable",tooltip_interactive_go_back_disabled_first:"You're watching the first chapter",tooltip_interactive_go_back_disabled_limit:"Go-back limit exceeded",tooltip_chapter_without_interactive:"This chapter has no interactive segment",tooltip_interactive_of_chapter_completed:"Chapter's interactive segments already watched",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Interactive video in progress",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon",aria_label_video_player:"Video player",aria_label_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_debug_panel:"Technical information area, take a screenshot for technical support",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_context_menu_open:"Open context menu",aria_label_context_menu_close:"Close context menu",aria_label_menu_quality:"Quality: {actual}",aria_label_menu_rate:"Rate: {actual}",aria_label_menu_traffic_saving:"Data saving: {actual}",aria_label_menu_subtitle:"Subtitles: {actual}",aria_label_menu_download:"Download video",aria_label_menu_debug_overlay_enable:"Enable display of technical information",aria_label_menu_debug_overlay_disable:"Disable display of technical information",aria_label_menu_rotate:"Rotate video 90 degrees",aria_label_submenu_back:"Return to settings menu",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode"},In=new Map;In.set(Bo.EN,_f);In.set(Bo.RU,bf);const z1=new Map,ss=({language:t,pack:e,fallback:i})=>{if(In.has(t)){const n=In.get(t);In.set(t,{...n,...e})}else In.set(t,e);z1.set(t,i)},rs=t=>In.has(t),D1=(t,e,i,n)=>{let s=In.get(t)?.[e];if(tl(s)){const l=z1.get(t)??n;s=(l?In.get(l):void 0)?.[e]}return tl(s)?e+Object.values(i??{}).join(" "):i?s.replaceAll(/{(\w+?)}/g,(l,r)=>i[r]??""):s},Y=(t,e)=>{const{interfaceLanguage$:i}=ut(),n=Ye(i),o=ln();return D1(n,t,e,o.defaultLanguage)};var il;(function(t){t.fatal="fatal",t.error="error",t.warning="warning",t.log="log",t.info="info",t.debug="debug",t.critical="critical"})(il||(il={}));const vf=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,wf=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,kf=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,jo="?",yf="X-Sentry-Auth",Cf=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Pf(t){if(!t.stack)return null;const e=[],i=t.stack.split(`
13
+ `);let n,o;for(let s=0;s<i.length;++s){if(n=vf.exec(i[s]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||jo,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=kf.exec(i[s]))o={filename:n[2],function:n[1]||jo,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=wf.exec(i[s]))s===0&&!n[5]&&t.columnNumber!==void 0&&(e[0].column=t.columnNumber+1),o={filename:n[3],function:n[1]||jo,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=jo),e.push(o)}return e.length?{value:O1(t),type:t.name,stacktrace:{frames:e.reverse()}}:null}function O1(t){return(t&&t.message||"No error message").split(`
14
+ `).filter(i=>!!i)[0]}function Sf(t){try{const e=Pf(t);if(e)return e}catch{}return{value:O1(t),type:t&&t.name,stacktrace:{frames:[]}}}function Tf(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,t=>{const e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}class Ef{constructor(e){if(e&&e.dsn){const i=Cf.exec(e.dsn),n=i?i.slice(1):[],o=n[5].split("/"),s=o.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(s?"/"+s:"")+"/api/"+o.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return{...this.getRequestBlank(),exception:{values:[Sf(e)]}}}report(e){this.send(this.prepare(e))}send(e){!this.apiUrl||!e||this.createRequest(e)}createRequest(e){const i=new XMLHttpRequest;i.open("POST",this.apiUrl,!0),i.setRequestHeader("Content-type","application/json"),i.setRequestHeader(yf,this.authHeader||""),i.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:Tf(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function as(t,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(t):typeof e=="string"?t.indexOf(e)!==-1:!1}function Af(){return window}class Nl extends Ef{constructor(e,i=Af()){super(e),this.options=e,this.window=i,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:o=c=>c,beforeBreadcrumb:s=c=>c,blacklistUrls:l=[],ignoreErrors:r=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=s,this.blacklistUrls=l,this.ignoreErrors=r,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",{...e}),this}setTag(e,i){return this.extendState({tags:{[e]:i}}),this}setExtra(e,i){return this.extendState({extra:{[e]:i}}),this}setExtras(e){return this.setKeyState("extra",{...e}),this}setUser(e){return this.setKeyState("user",{...e}),this}clone(){const e=new Nl({...this.options,plugins:[]});return e.extendState(this.state),e}withScope(e){const i=this.clone();e(i),i.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[{timestamp:Date.now()/1e3,...this.beforeBreadcrumb(e)}]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,i){this.send({...this.getRequestBlank(),message:e,level:i})}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(i=>this.ignoreErrors.some(n=>as(i,n))):!1}getRequestBlank(){return{request:{url:this.window.location.toString(),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},...this.state}}send(e){this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e)||(super.send(this.beforeSend({release:this.release,...e})),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:i="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${i}: ${n}`]}catch{return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const i=this.getEventFilterUrl(e);return i?this.blacklistUrls.some(n=>as(i,n)):!1}getEventFilterUrl(e){try{if(e.exception){const i=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return i&&i[i.length-1].filename||null}return null}catch{return null}}extendState(e){this._state=Object.keys(e).reduce((i,n)=>{const o=this._state[n],s=Array.isArray(o)?o:null,l=e[n],r=Array.isArray(l)?l:null;return{...i,[n]:s||r?[...s||[],...r||[]]:{...typeof o!="string"?o:{},...typeof l!="string"?l:{}}}},this._state)}setKeyState(e,i){this._state[e]=i}}let Ko=null;class Tl{sentrySubscription;options;version;context;sentryClient;constructor(e,i,n={}){!Ko&&e.dsn&&(this.sentryClient=new Nl({dsn:e.dsn,environment:i.env}),this.version=i.version,this.sentrySubscription=new jn,this.options=e,this.context=n,Ko=this)}destroy(){this.sentryClient?.destroy(),this.sentrySubscription?.unsubscribe(),Ko=null}logIError(e,i=!1){e.thrown&&this.report(e.thrown,{fatal:i,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,i={},n={}){const{sentryClient:o,context:s,options:l}=this,{sampleRate:r=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:m}=l,{errorType:h,category:v}=i;if(bn(v)&&m.includes(v)||bn(h)&&f.includes(h))return;if(Math.random()<=r||bn(v)&&c.includes(v)||bn(h)&&a.includes(h)){Object.keys(i).length&&o.setTags({version:this.version,...i}),(Object.keys(s).length||Object.keys(n).length)&&o.setExtras({...s,...n});try{h&&o.captureMessage(h,i.fatal?il.fatal:il.error),o.report(e)}catch(w){console.error(w)}}}static getInstance(){return Ko}}var bo;(function(t){t.AUTO="auto"})(bo||(bo={}));var Ve;(function(t){t.Thumb="thumb",t.Video="video",t.Ads="ads",t.Crashed="crashed",t.WaitingLive="waitingLive",t.WaitingRecord="waitingRecord"})(Ve||(Ve={}));var An;(function(t){t.Preroll="preroll",t.Midroll="midroll",t.Postroll="postroll"})(An||(An={}));var Xt;(function(t){t.INACTIVE="inactive",t.PLAYING="playing",t.PAUSED="paused"})(Xt||(Xt={}));var Ln;(function(t){t[t.PictureInPicture=0]="PictureInPicture",t[t.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(Ln||(Ln={}));var We;(function(t){t.PLAY="PLAY",t.PAUSE="PAUSE",t.REPLAY="REPLAY",t.BACKWARD_SEEK="BACKWARD_SEEK",t.FORWARD_SEEK="FORWARD_SEEK",t.SUBTITLES_ON="SUBTITLES_ON",t.SUBTITLES_OFF="SUBTITLES_OFF",t.RATE_UP="RATE_UP",t.RATE_DOWN="RATE_DOWN",t.EPISODE_PREV="EPISODE_PREV",t.EPISODE_NEXT="EPISODE_NEXT",t.MUTE="MUTE",t.VOLUME="VOLUME"})(We||(We={}));var Jn;(function(t){t.FULL="FULL",t.COUNT="COUNT",t.SHORT="SHORT"})(Jn||(Jn={}));const H1=t=>{if(t.requestFullscreen)return t.requestFullscreen();if(t.msRequestFullscreen)return t.msRequestFullscreen();if(t.webkitRequestFullscreen)return t.webkitRequestFullscreen();if(t.mozRequestFullScreen)return t.mozRequestFullScreen();const e=t.querySelector("video");return e?.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},F1=t=>t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():Promise.reject(),If=t=>{const e=t;return e?.webkitExitFullscreen?e?.webkitExitFullscreen():Promise.reject()},Mo=()=>{const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)},U1=t=>{document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),document.addEventListener("mozfullscreenchange",t),document.addEventListener("MSFullscreenChange",t)},q1=t=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",t),document.removeEventListener("mozfullscreenchange",t),document.removeEventListener("MSFullscreenChange",t)},Lf=t=>{const e=window.screen;return(async o=>e.orientation?e.orientation.lock(o):e.mozLockOrientation?e.mozLockOrientation(o):e.msLockOrientation?e.msLockOrientation(o):Promise.reject())(((o={width:0,height:0})=>o.width<=o.height?"portrait":"landscape")(t))},Vf=()=>({title:Y("hotkey_map_modal_title"),closeBtnText:Y("hotkey_map_modal_close_btn_text"),groups:[{title:Y("hotkey_map_group_title_common"),items:[{description:Y("hotkey_map_item_mute_description"),value:Y("hotkey_map_item_mute_value")},{description:Y("hotkey_map_item_volume_up_description"),value:Y("hotkey_map_item_volume_up_value")},{description:Y("hotkey_map_item_volume_down_description"),value:Y("hotkey_map_item_volume_down_value")},{description:Y("hotkey_map_item_pip_description"),value:Y("hotkey_map_item_pip_value")},{description:Y("hotkey_map_item_full_screen_description"),value:Y("hotkey_map_item_full_screen_value")},{description:Y("hotkey_map_item_show_hotkey_map_description"),value:Y("hotkey_map_item_show_hotkey_map_value")}]},{title:Y("hotkey_map_group_title_playback"),items:[{description:Y("hotkey_map_item_play_toggle_description"),value:Y("hotkey_map_item_play_toggle_value")},{description:Y("hotkey_map_item_seek_backward_description"),value:Y("hotkey_map_item_seek_backward_value")},{description:Y("hotkey_map_item_seek_forward_description"),value:Y("hotkey_map_item_seek_forward_value")},{description:Y("hotkey_map_item_fast_seek_backward_description"),value:Y("hotkey_map_item_fast_seek_backward_value")},{description:Y("hotkey_map_item_fast_seek_forward_description"),value:Y("hotkey_map_item_fast_seek_forward_value")},{description:Y("hotkey_map_item_rate_down_description"),value:Y("hotkey_map_item_rate_down_value")},{description:Y("hotkey_map_item_rate_up_description"),value:Y("hotkey_map_item_rate_up_value")},{description:Y("hotkey_map_item_prev_frame_description"),value:Y("hotkey_map_item_prev_frame_value")},{description:Y("hotkey_map_item_next_frame_description"),value:Y("hotkey_map_item_next_frame_value")},{description:Y("hotkey_map_item_jump_seek_description"),value:Y("hotkey_map_item_jump_seek_value")}]},{title:Y("hotkey_map_group_title_subtitles"),items:[{description:Y("hotkey_map_item_subtitles_toggle_description"),value:Y("hotkey_map_item_subtitles_toggle_value")}]},{title:Y("hotkey_map_group_title_episodes"),items:[{description:Y("hotkey_map_item_prev_episode_description"),value:es()?Y("hotkey_map_item_prev_episode_mac_value"):Y("hotkey_map_item_prev_episode_pc_value")},{description:Y("hotkey_map_item_next_episode_description"),value:es()?Y("hotkey_map_item_next_episode_mac_value"):Y("hotkey_map_item_next_episode_pc_value")}]}]});class zl{isRequested=!1;videoElement=void 0;playerContainer=void 0;playerDummyElement;svelteContext;externalEventHandlers={};eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:vc(this.onResize.bind(this),v1)};info={isActive$:new Al(this.isActive()),type:Ln.PictureInPicture};isSupported(){const e=Il().browser===u1.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async request(){if(!(!this.isSupported()||this.isActive()))try{await this.videoElement?.requestPictureInPicture()}catch{this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){this.isSupported()&&(this.videoElement=this.playerContainer?.querySelector("video"))}registryEventHandlers(){this.videoElement?.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){this.videoElement?.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){const n=e.pictureInPictureWindow;n&&(this.info.isActive$.next(!0),this.isRequested=!0,n.addEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.enterpictureinpicture?.(e))}onLeavePictureInPicture(e){const n=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,n?.removeEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.leavepictureinpicture?.(e),this.playerDummyElement?.$destroy()}onResize(e){this.externalEventHandlers.resize?.(e)}}function nl(t){return t instanceof zl}function Mf(t){const e=ut();return on(()=>{e.getAdmanWrapper().startPostroll()}),[]}class Bf extends ge{constructor(e){super(),he(this,e,Mf,null,pe,{})}}function Rf(t){ze(t,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function Nf(t){let e=Y("skip_ads_after",{time:Math.ceil(t[1]-t[0]).toFixed(0)})+"",i;return{c(){i=Re(e)},m(n,o){E(n,i,o)},p(n,o){o&3&&e!==(e=Y("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&Qe(i,e)},d(n){n&&T(i)}}}function zf(t){let e,i=Y("skip_ads_now")+"",n,o,s,l,r,a;return{c(){e=A("div"),n=Re(i),o=D(),s=N("svg"),l=N("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(s,"class","icon v-22jj8o"),u(s,"width","7"),u(s,"height","12"),u(s,"viewBox","0 0 7 12"),u(s,"fill","none"),u(s,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){E(c,e,f),p(e,n),p(e,o),p(e,s),p(s,l),r||(a=me(e,"click",tt(function(){_n(t[2])&&t[2].apply(this,arguments)})),r=!0)},p(c,f){t=c},d(c){c&&T(e),r=!1,a()}}}function Df(t){let e;function i(s,l){return s[3]?zf:Nf}let n=i(t),o=n(t);return{c(){e=A("div"),o.c(),u(e,"class","container v-22jj8o"),R(e,"container-mobile",t[4]),R(e,"skippable",t[3])},m(s,l){E(s,e,l),o.m(e,null)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e,null))),l&16&&R(e,"container-mobile",s[4]),l&8&&R(e,"skippable",s[3])},i:W,o:W,d(s){s&&T(e),o.d()}}}function Of(t,e,i){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:s=0}=e,{skipAd:l=Ke}=e;const a=ut().ui.isMobile;O(t,a,f=>i(4,n=f));let c;return t.$$set=f=>{"position"in f&&i(0,o=f.position),"secondsToWatchBeforeSkip"in f&&i(1,s=f.secondsToWatchBeforeSkip),"skipAd"in f&&i(2,l=f.skipAd)},t.$$.update=()=>{t.$$.dirty&3&&i(3,c=o>0&&o>=s)},[o,s,l,c,n,a]}class Hf extends ge{constructor(e){super(),he(this,e,Of,Df,pe,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},Rf)}}function Ff(t){ze(t,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function Uf(t){let e;return{c(){e=A("button"),e.textContent=`${Y("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(i,n){E(i,e,n)},p:W,i:W,o:W,d(i){i&&T(e)}}}class qf extends ge{constructor(e){super(),he(this,e,null,Uf,pe,{},Ff)}}function Zf(t){ze(t,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
15
15
  360deg,
16
16
  rgba(0, 0, 0, 0) 0%,
17
17
  rgba(0, 0, 0, 0.05) 12%,
@@ -21,15 +21,15 @@ import{VERSION as hc,ChromecastState as Pn,PlaybackState as Ft,VideoQuality as m
21
21
  rgba(0, 0, 0, 0.5) 77%,
22
22
  rgba(0, 0, 0, 0.55) 88%,
23
23
  rgba(0, 0, 0, 0.65) 100%
24
- )}`)}function us(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 cs(t){let e,i;return e=new Hf({props:{position:t[5],secondsToWatchBeforeSkip:t[6],skipAd:t[8].actions.internal.skipAd}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&32&&(s.position=n[5]),o&64&&(s.secondsToWatchBeforeSkip=n[6]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function fs(t){let e,i;return e=new Bf({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ds(t){let e,i;return e=new qf({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Wf(t){let e,i,n,o,s,l,r,a=t[0]&&us(),c=t[3]&&cs(t),f=t[7]&&fs(),m=t[4]&&ds();return{c(){e=A("div"),a&&a.c(),i=D(),n=A("video"),o=D(),c&&c.c(),s=D(),f&&f.c(),l=D(),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=us(),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=cs(h),c.c(),d(c,1),c.m(e,s)):c&&(fe(),g(c,1,1,()=>{c=null}),de()),h[7]?f?v&128&&d(f,1):(f=fs(),f.c(),d(f,1),f.m(e,l)):f&&(fe(),g(f,1,1,()=>{f=null}),de()),h[4]?m?v&16&&d(m,1):(m=ds(),m.c(),d(m,1),m.m(e,null)):m&&(fe(),g(m,1,1,()=>{m=null}),de())},i(h){r||(d(c),d(f),d(m),r=!0)},o(h){g(c),g(f),g(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 Kf(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=ut(),v=h.state.isEnded$;O(t,v,L=>i(7,r=L));const b=h.ui.isMobile;O(t,b,L=>i(0,o=L));let w,_,S=!1;const k=h.ads.playbackState;O(t,k,L=>i(18,n=L));const C=h.ads.canSkip,V=h.ads.position;O(t,V,L=>i(5,s=L));const ie=h.ads.secondsToWatchBeforeSkip;O(t,ie,L=>i(6,l=L));let M,G;on(()=>{const L=new AbortController;let te=()=>{L.abort()};const z=h.getAdmanWrapper();if(!a){z.onAdmanLoadingError();return}const{width:X,height:le}=Ye(h.ui.playerSize),P=Ye(h.ui.isFullscreen),oe=Ye(h.ui.isAutoplay),K={width:X,height:le,isFullscreen:P,isAutoplay:oe,adsContainer:w,adsVideoElement:_,slotId:a,params:c,previewParam:f,duration:m};return window.AdmanHTML?(z.initAdman(K),S=!0):z.loadAdman(L.signal).then(()=>{z.initAdman(K),S=!0}).catch(()=>{z.onAdmanLoadingError()}),()=>{!S&&te()}});function B(L){ve[L?"unshift":"push"](()=>{_=L,i(2,_)})}function x(L){ve[L?"unshift":"push"](()=>{w=L,i(1,w)})}return t.$$set=L=>{"adsSlotId"in L&&i(14,a=L.adsSlotId),"adsParams"in L&&i(15,c=L.adsParams),"adsPreviewParam"in L&&i(16,f=L.adsPreviewParam),"duration"in L&&i(17,m=L.duration)},t.$$.update=()=>{t.$$.dirty&262144&&i(3,M=C&&n!==Xt.INACTIVE),t.$$.dirty&262145&&i(4,G=o&&n!==Xt.INACTIVE)},[o,w,_,M,G,s,l,r,h,v,b,k,V,ie,a,c,f,m,n,B,x]}class Z1 extends ge{constructor(e){super(),he(this,e,Kf,Wf,pe,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},Zf)}}const Vn=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 jf(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(i,"fill","none"),u(i,"stroke","#fff"),u(i,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(o,s){E(o,e,s),p(e,i),p(e,n)},d(o){o&&T(e)}}}function Gf(t){let e,i,n;return{c(){e=N("svg"),i=N("rect"),n=N("path"),u(i,"width","42"),u(i,"height","20"),u(i,"rx","5"),u(i,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(o,s){E(o,e,s),p(e,i),p(e,n)},d(o){o&&T(e)}}}function Yf(t){let e;function i(s,l){return s[0]?Gf:jf}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n!==(n=i(s))&&(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(s){s&&T(e),o.d(s)}}}function Qf(t,e,i){let{isActive:n=!1}=e;return t.$$set=o=>{"isActive"in o&&i(0,n=o.isActive)},[n]}class W1 extends ge{constructor(e){super(),he(this,e,Qf,Yf,pe,{isActive:0})}}function Xf(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 Jf(t){let e=Vn(t[4]-t[3])+"",i;return{c(){i=Re(e)},m(n,o){E(n,i,o)},p(n,o){o&24&&e!==(e=Vn(n[4]-n[3])+"")&&Qe(i,e)},i:W,o:W,d(n){n&&T(i)}}}function xf(t){let e,i,n;return i=new W1({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),H(i,e,null),n=!0},p:W,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function $f(t){let e,i,n,o,s,l,r;const a=[xf,Jf],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=D(),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"),R(e,"live",t[1]),R(e,"hidden",t[0]),R(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):(fe(),g(c[v],1,1,()=>{c[v]=null}),de(),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)&&R(e,"live",m[1]),(!r||h&1)&&R(e,"hidden",m[0]),(!r||h&4)&&R(e,"playing",m[2])},i(m){r||(d(l),r=!0)},o(m){g(l),r=!1},d(m){m&&T(e),c[s].d()}}}function e0(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 K1 extends ge{constructor(e){super(),he(this,e,e0,$f,pe,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},Xf)}}const El=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)}}},xn=t=>{t.stopPropagation(),t.preventDefault()},t0=t=>{let e=t.previousElementSibling;e||(e=t.parentNode?.lastElementChild),e?.focus()},i0=t=>{let e=t.nextElementSibling;e||(e=t.parentNode?.firstElementChild),e?.focus()},n0=t=>{const e=t.code;return e===Se.Tab&&!t.shiftKey||e===Se.ArrowDown},o0=t=>{const e=t.code;return e===Se.Tab||e===Se.ArrowUp},j1=t=>t.code===Se.Escape,l0=t=>t.code===Se.ArrowLeft,G1=(t,e=!0)=>{const i=t.code;return[Se.Enter,Se.Space].includes(i)||!e&&i===Se.ArrowRight},Y1=t=>{if(n0(t)){xn(t),i0(t.target);return}o0(t)&&(xn(t),t0(t.target))},Dl=t=>t?.detail===0,Ol=async(t,e,i)=>{await No(),t&&!t.classList.contains("opened")&&!e&&Ye(i)&&(i.set(!1),t.focus())},Hl=async(t,e,i)=>{await No(),!!t&&e&&i&&t.firstChild.focus()},Go=async(t,e,i)=>{!!t&&i&&(e.set(!1),setTimeout(()=>{t.focus()},Jc))},Q1=(t,e)=>{Y1(t),j1(t)&&(xn(t),e())},Yo=async(t,e,i)=>{G1(t,!1)&&(xn(t),e(),await No(),i()?.focus())},Qo=async(t,e,i,n)=>{if(Y1(t),l0(t)){xn(t),e(),i.set(!0);return}j1(t)&&(xn(t),n())},xi=(t,e)=>{G1(t)&&(xn(t),e())};function s0(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 ms(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,b,w,_=t[9].features.copyVideoLink&&t[8].callbacks?.onCopyVideoLink&&r0(t),S=t[11]&&t[5]!==Pn.CONNECTED&&!t[16]&&hs(t),k=t[9].features.videoRotate&&!t[16]&&a0(t),C=t[9].showSupport&&!t[6]&&gs(t);return{c(){e=A("ul"),_&&_.c(),i=D(),S&&S.c(),n=D(),k&&k.c(),o=D(),C&&C.c(),s=D(),l=A("li"),a=Re(r),c=D(),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,ie){E(V,e,ie),_&&_.m(e,null),p(e,i),S&&S.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),b||(w=[me(l,"click",tt(t[19])),me(l,"keydown",t[29]),me(f,"click",tt(t[20])),me(f,"keydown",t[30]),me(e,"contextmenu",Jt(t[37])),me(e,"keydown",t[23])],b=!0)},p(V,ie){V[9].features.copyVideoLink&&V[8].callbacks?.onCopyVideoLink&&_.p(V,ie),V[11]&&V[5]!==Pn.CONNECTED&&!V[16]?S?S.p(V,ie):(S=hs(V),S.c(),S.m(e,n)):S&&(S.d(1),S=null),V[9].features.videoRotate&&!V[16]&&k.p(V,ie),V[9].showSupport&&!V[6]?C?C.p(V,ie):(C=gs(V),C.c(),C.m(e,s)):C&&(C.d(1),C=null),ie[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),ie[0]&8&&Ct(e,"top",V[3]+"px"),ie[0]&4&&Ct(e,"left",V[2]+"px")},d(V){V&&T(e),_&&_.d(),S&&S.d(),k&&k.d(),C&&C.d(),t[40](null),b=!1,$e(w)}}}function r0(t){let e,i=Y("menu_copy_video_link")+"",n,o,s,l,r,a=!t[4]&&!t[16]&&ps(t);return{c(){e=A("li"),n=Re(i),o=D(),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=[me(e,"click",tt(t[38])),me(e,"keydown",t[24])],l=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=ps(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,$e(r)}}}function ps(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=[me(e,"click",tt(t[39])),me(e,"keydown",t[25])],o=!0)},p:W,d(l){l&&T(e),o=!1,$e(s)}}}function hs(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=[me(e,"click",tt(t[21])),me(e,"keydown",t[26])],o=!0)},p:W,d(l){l&&T(e),o=!1,$e(s)}}}function a0(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=[me(e,"click",tt(t[17])),me(e,"keydown",t[27])],o=!0)},p:W,d(l){l&&T(e),o=!1,$e(s)}}}function gs(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=[me(e,"click",tt(t[18])),me(e,"keydown",t[28])],o=!0)},p:W,d(l){l&&T(e),o=!1,$e(s)}}}function u0(t){let e,i=t[1]&&ms(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=ms(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},i:W,o:W,d(n){n&&T(e),i&&i.d(n)}}}function c0(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:b=void 0}=e,{returnFocus:w}=e,_=0,S=0;const k=ut(),C=ln(),V=k.ui.contextMenuVisible,ie=k.ui.debugPanelVisible;O(t,ie,re=>i(7,r=re));const M=k.webApi.pictureInPictureApi,G=k.webApi.pictureInPictureApi?.info.isActive$;O(t,G,re=>i(6,l=re));const B=k.state.chromecastState$;O(t,B,re=>i(5,s=re));const x=k.state.isLive$;O(t,x,re=>i(4,o=re));const L=k.state.positionExact$;O(t,L,re=>i(41,n=re));const te=k.state.isInteractive,z=()=>{V.set(!1)},X=(re,_e)=>{if(!b||!h||!v)return;const J=b.getBoundingClientRect(),Q=h.getBoundingClientRect();i(2,_=re-Q.left),i(3,S=_e-Q.top),_+J.width>Q.width&&i(2,_=Q.width-J.width),S+J.height>Q.height&&i(3,S=Q.height-J.height),i(2,_=Math.max(_,0)),i(3,S=Math.max(S,0))},le=()=>{z(),k.actions.internal.videoRotate()},P=()=>{window.open(c,"_blank"),z(),k.actions.internal.pause()},oe=()=>{const re=k.actions.internal.getDebugTextData();if(C.features.saveDebugInfoToFile){const _e=new Blob([...re],{type:"plain/text"}),J=window.URL.createObjectURL(_e);C1(J,"vk_player_debug_info","txt")}else El(k.actions.internal.getDebugTextData());z(),w?.()},K=()=>{ie.set(!0),z(),w?.()},ne=async()=>{try{M?.isActive()?await M?.remove():await M?.request()}finally{z(),w?.()}},we=(re=!1)=>{if(k.callbacks?.onCopyVideoLink){const _e=k.callbacks?.onCopyVideoLink(re,n);_e&&El(_e)}z()},Ue=re=>{Q1(re,z)},qe=re=>{xi(re,()=>we())},Ie=re=>{xi(re,()=>we(!0))},Ce=re=>{xi(re,()=>ne())},ue=re=>{xi(re,()=>le())},j=re=>{xi(re,()=>P())},ae=re=>{xi(re,()=>oe())},be=re=>{xi(re,()=>K())};function $(re){_o.call(this,t,re)}const Pe=()=>we(),Te=()=>we(!0);function Me(re){ve[re?"unshift":"push"](()=>{b=re,i(0,b)})}return t.$$set=re=>{"visible"in re&&i(1,a=re.visible),"supportLink"in re&&i(31,c=re.supportLink),"x"in re&&i(32,f=re.x),"y"in re&&i(33,m=re.y),"playerContainerRef"in re&&i(34,h=re.playerContainerRef),"controlsContainerRef"in re&&i(35,v=re.controlsContainerRef),"menuElementRef"in re&&i(0,b=re.menuElementRef),"returnFocus"in re&&i(36,w=re.returnFocus)},t.$$.update=()=>{t.$$.dirty[0]&1|t.$$.dirty[1]&30&&b&&h&&v&&X(f,m)},[b,a,_,S,o,s,l,r,k,C,ie,M,G,B,x,L,te,le,P,oe,K,ne,we,Ue,qe,Ie,Ce,ue,j,ae,be,c,f,m,h,v,w,$,Pe,Te,Me]}class f0 extends ge{constructor(e){super(),he(this,e,c0,u0,pe,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},s0,[-1,-1])}}class d0{value;next;constructor(e){this.value=e,this.next=null}}class pl{top;bottom;size;maxSize;constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const i=new d0(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 m0(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 p0(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:W,i:W,o:W,d(n){n&&T(e),t[3](null)}}}const hl=16,gl=120,bs=60;function h0(t,e,i,n,o){o===0&&(o=1),t.fillStyle="#fff",t.fillRect(e,i,n,o)}function g0(t,e,i){let{values:n=[]}=e,o,s;const l=gl/bs;on(()=>{i(0,o.width=gl,o),i(0,o.height=hl,o),i(2,s=o.getContext("2d"))});function r(a){ve[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,gl,hl);let c=bs-1;for(let f=n.length-1;f>=0;f--){const m=c*l,h=a>0?hl*(n[f]/a):0;h0(s,m,0,l,h),c--}}},[o,n,s,r]}class Fl extends ge{constructor(e){super(),he(this,e,g0,p0,pe,{values:1},m0)}}function b0(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 _s(t){let e,i,n,o,s=t[0].id+"",l;return{c(){e=A("div"),i=A("div"),i.textContent="Video id",n=D(),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+"")&&Qe(l,s)},d(r){r&&T(e)}}}function vs(t){let e,i,n,o,s=t[0].provider+"",l;return{c(){e=A("div"),i=A("div"),i.textContent="Provider",n=D(),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+"")&&Qe(l,s)},d(r){r&&T(e)}}}function ws(t){let e,i,n,o,s=t[0].viewport+"",l;return{c(){e=A("div"),i=A("div"),i.textContent="Viewport",n=D(),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+"")&&Qe(l,s)},d(r){r&&T(e)}}}function ks(t){let e,i,n,o,s=t[0].videoSize+"",l;return{c(){e=A("div"),i=A("div"),i.textContent="Video size",n=D(),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+"")&&Qe(l,s)},d(r){r&&T(e)}}}function ys(t){let e,i,n,o,s=t[0].cdn+"",l;return{c(){e=A("div"),i=A("div"),i.textContent="CDN host",n=D(),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+"")&&Qe(l,s)},d(r){r&&T(e)}}}function Cs(t){let e,i,n,o,s=t[0].volume+"",l,r;return{c(){e=A("div"),i=A("div"),i.textContent="Volume",n=D(),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+"")&&Qe(l,s)},d(a){a&&T(e)}}}function Ps(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=D(),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)+"")&&Qe(l,s)},d(a){a&&T(e)}}}function Ss(t){let e,i,n,o,s,l,r=t[0].speed.toFixed(2)+"",a,c,f;return o=new Fl({props:{values:t[5]}}),{c(){e=A("div"),i=A("div"),i.textContent="Network",n=D(),U(o.$$.fragment),s=D(),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),H(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)+"")&&Qe(a,r)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){g(o.$$.fragment,m),f=!1},d(m){m&&T(e),F(o)}}}function Ts(t){let e,i,n,o,s,l,r=t[0].bitrate.toFixed(2)+"",a,c,f;return o=new Fl({props:{values:t[6]}}),{c(){e=A("div"),i=A("div"),i.textContent="V bitrate",n=D(),U(o.$$.fragment),s=D(),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),H(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)+"")&&Qe(a,r)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){g(o.$$.fragment,m),f=!1},d(m){m&&T(e),F(o)}}}function _0(t){let e,i,n,o,s,l,r,a,c=t[0].version+"",f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B,x,L,te,z,X,le,P,oe,K,ne,we,Ue,qe,Ie,Ce,ue=t[0].id&&_s(t),j=t[0].provider&&vs(t),ae=t[0].viewport&&ws(t),be=t[0].videoSize&&ks(t),$=t[0].cdn&&ys(t),Pe=t[0].volume&&Cs(t),Te=t[0].buffer&&Ps(t),Me=t[0].speed&&Ss(t),re=t[0].bitrate&&Ts(t);return K=new Fl({props:{values:t[4]}}),{c(){e=A("div"),i=A("button"),i.textContent="[x]",n=D(),o=A("div"),s=A("div"),l=A("div"),l.textContent="Version",r=D(),a=A("span"),f=Re(c),m=D(),ue&&ue.c(),h=D(),j&&j.c(),v=D(),ae&&ae.c(),b=D(),be&&be.c(),w=D(),$&&$.c(),_=D(),Pe&&Pe.c(),S=D(),Te&&Te.c(),k=D(),C=A("div"),V=A("div"),V.textContent="Dropped",ie=D(),M=A("span"),G=Re(t[2]),B=Re(" / "),x=Re(t[1]),L=Re(" frames"),te=D(),Me&&Me.c(),z=D(),re&&re.c(),X=D(),le=A("div"),P=A("div"),P.textContent="FPS",oe=D(),U(K.$$.fragment),ne=D(),we=A("span"),Ue=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(P,"class","v-1gy2e68"),u(le,"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")),R(e,"container-mobile",t[7])},m(_e,J){E(_e,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),ue&&ue.m(o,null),p(o,h),j&&j.m(o,null),p(o,v),ae&&ae.m(o,null),p(o,b),be&&be.m(o,null),p(o,w),$&&$.m(o,null),p(o,_),Pe&&Pe.m(o,null),p(o,S),Te&&Te.m(o,null),p(o,k),p(o,C),p(C,V),p(C,ie),p(C,M),p(M,G),p(M,B),p(M,x),p(M,L),p(o,te),Me&&Me.m(o,null),p(o,z),re&&re.m(o,null),p(o,X),p(o,le),p(le,P),p(le,oe),H(K,le,null),p(le,ne),p(le,we),p(we,Ue),qe=!0,Ie||(Ce=me(i,"click",tt(t[9])),Ie=!0)},p(_e,[J]){(!qe||J&1)&&c!==(c=_e[0].version+"")&&Qe(f,c),_e[0].id?ue?ue.p(_e,J):(ue=_s(_e),ue.c(),ue.m(o,h)):ue&&(ue.d(1),ue=null),_e[0].provider?j?j.p(_e,J):(j=vs(_e),j.c(),j.m(o,v)):j&&(j.d(1),j=null),_e[0].viewport?ae?ae.p(_e,J):(ae=ws(_e),ae.c(),ae.m(o,b)):ae&&(ae.d(1),ae=null),_e[0].videoSize?be?be.p(_e,J):(be=ks(_e),be.c(),be.m(o,w)):be&&(be.d(1),be=null),_e[0].cdn?$?$.p(_e,J):($=ys(_e),$.c(),$.m(o,_)):$&&($.d(1),$=null),_e[0].volume?Pe?Pe.p(_e,J):(Pe=Cs(_e),Pe.c(),Pe.m(o,S)):Pe&&(Pe.d(1),Pe=null),_e[0].buffer?Te?Te.p(_e,J):(Te=Ps(_e),Te.c(),Te.m(o,k)):Te&&(Te.d(1),Te=null),(!qe||J&4)&&Qe(G,_e[2]),(!qe||J&2)&&Qe(x,_e[1]),_e[0].speed?Me?(Me.p(_e,J),J&1&&d(Me,1)):(Me=Ss(_e),Me.c(),d(Me,1),Me.m(o,z)):Me&&(fe(),g(Me,1,1,()=>{Me=null}),de()),_e[0].bitrate?re?(re.p(_e,J),J&1&&d(re,1)):(re=Ts(_e),re.c(),d(re,1),re.m(o,X)):re&&(fe(),g(re,1,1,()=>{re=null}),de());const Q={};J&16&&(Q.values=_e[4]),K.$set(Q),(!qe||J&8)&&Qe(Ue,_e[3]),(!qe||J&128)&&R(e,"container-mobile",_e[7])},i(_e){qe||(d(Me),d(re),d(K.$$.fragment,_e),qe=!0)},o(_e){g(Me),g(re),g(K.$$.fragment,_e),qe=!1},d(_e){_e&&T(e),ue&&ue.d(),j&&j.d(),ae&&ae.d(),be&&be.d(),$&&$.d(),Pe&&Pe.d(),Te&&Te.d(),Me&&Me.d(),re&&re.d(),F(K),Ie=!1,Ce()}}}function v0(t,e,i){let n;const o=ut(),s=o.ui.debugPanelVisible,l=o.ui.isMobile;O(t,l,C=>i(7,n=C));const r=()=>{vn.remove(Sl),s.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,m=0,h=0;const v=new pl(60),b=new pl(60),w=new pl(60);let _=[],S=[],k=[];return on(()=>{vn.set(Sl,"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 ie=c.getVideoPlaybackQuality().totalVideoFrames;i(3,h=ie-f),i(1,f=ie),v.push(h),a.speed&&b.push(a.speed),a.bitrate&&w.push(a.bitrate),i(4,_=v.getValuesFromBottom()),i(5,S=b.getValuesFromBottom()),i(6,k=w.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(C),V&&clearInterval(V)}}),[a,f,m,h,_,S,k,n,l,r]}class X1 extends ge{constructor(e){super(),he(this,e,v0,_0,pe,{},b0)}}function w0(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 k0(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=me(e,"click",tt(t[0])),i=!0)},p:W,i:W,o:W,d(o){o&&T(e),i=!1,n()}}}function y0(t){function e(i){_o.call(this,t,i)}return[e]}class C0 extends ge{constructor(e){super(),he(this,e,y0,k0,pe,{},w0)}}function P0(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 S0(t){let e,i,n,o,s,l,r;return{c(){e=A("div"),i=A("canvas"),n=D(),o=N("svg"),s=N("g"),l=N("g"),r=N("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:W,i:W,o:W,d(a){a&&T(e),t[2](null)}}}const T0=5e3;function E0(t,e,i){let{onTimerEnded:n=je}=e,o;on(()=>{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)/T0;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){ve[l?"unshift":"push"](()=>{o=l,i(0,o)})}return t.$$set=l=>{"onTimerEnded"in l&&i(1,n=l.onTimerEnded)},[o,n,s]}class A0 extends ge{constructor(e){super(),he(this,e,E0,S0,pe,{onTimerEnded:1},P0)}}function I0(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 Es(t){let e,i;return e=new A0({props:{onTimerEnded:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&4&&(s.onTimerEnded=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function L0(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie;r=new C0({}),r.$on("click",t[4]);let M=t[3]&&Es(t);return{c(){e=A("div"),i=D(),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=D(),U(r.$$.fragment),a=D(),c=A("div"),f=A("div"),m=A("div"),h=A("div"),v=D(),M&&M.c(),w=D(),_=A("div"),S=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",b=`background-image: url('${t[1]}')`),u(f,"class","column v-kisfwc"),u(S,"class","title v-kisfwc"),u(_,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(G,B){E(G,e,B),E(G,i,B),E(G,n,B),p(n,o),p(o,s),p(o,l),H(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(_,S),p(S,k),C=!0,V||(ie=me(c,"click",function(){_n(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=Es(t),M.c(),d(M,1),M.m(m,null)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),(!C||B&2&&b!==(b=`background-image: url('${t[1]}')`))&&u(m,"style",b),(!C||B&1)&&Qe(k,t[0])},i(G){C||(d(r.$$.fragment,G),d(M),C=!0)},o(G){g(r.$$.fragment,G),g(M),C=!1},d(G){G&&(T(e),T(i),T(n)),F(r),M&&M.d(),V=!1,ie()}}}function V0(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 M0 extends ge{constructor(e){super(),he(this,e,V0,L0,pe,{title:0,thumb:1,playNextVideo:2},I0)}}const J1=(t,e)=>Math.min(+(t+e).toFixed(2),1),x1=(t,e)=>Math.max(+(t-e).toFixed(2),0),$1=(t,e,i)=>{const n=J1(e,i);e<1&&t.actions.internal.setVolume(n)},eu=(t,e,i)=>{const n=x1(e,i);e>0&&t.actions.internal.setVolume(n)};function B0(t){ze(t,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function R0(t){let e,i,n,o;const s=t[22].default,l=Mn(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=[me(e,"keyup",t[13]),me(e,"keydown",t[12])],n=!0)},p(r,a){l&&l.p&&(!i||a[0]&2097152)&&Rn(l,s,r,r[21],i?Bn(s,r[21],a,null):Nn(r[21]),null)},i(r){i||(d(l,r),i=!0)},o(r){g(l,r),i=!1},d(r){r&&T(e),l&&l.d(r),t[23](null),n=!1,$e(o)}}}function N0(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,{$$slots:b={},$$scope:w}=e,{isAds:_}=e,{hideContextMenu:S}=e,{toggleFullscreen:k}=e,{showHotKeyHelpers:C}=e,{showKeyMap:V}=e,{fakePlayButtonHandler:ie}=e;const M=ut(),G=ln(),B=M.getLogger().createComponentLog("KeyboardControls component"),x=M.state.playbackState$;O(t,x,$=>i(27,o=$));const L=M.ads.playbackState;O(t,L,$=>i(26,n=$));const te=M.state.positionExact$;O(t,te,$=>i(33,f=$));const z=M.state.duration$;O(t,z,$=>i(32,c=$));const X=M.state.volume$;O(t,X,$=>i(36,v=$));const le=M.ui.controls.disabledControls$;O(t,le,$=>i(31,a=$));const P=M.state.muted$;O(t,P,$=>i(29,l=$));const oe=M.state.currentSubtitle$;O(t,oe,$=>i(28,s=$));const K=M.state.currentPlaybackRate$;O(t,K,$=>i(34,m=$));const ne=M.state.availablePlaybackRates$;O(t,ne,$=>i(35,h=$));const we=M.state.isEnded$;O(t,we,$=>i(30,r=$));let Ue=0,qe=!0,Ie;const Ce=()=>Ie?.focus(),ue=$=>($!==qe&&(qe=$,Ue=0),Ue+=1,(G.controls.seekStepKeyboard+G.controls.seekStepKeyboard*Ue)/1e3),j=$=>{const Pe=$.target,Te=Pe?.getAttribute("role")?.includes("menuitem"),Me=Pe.classList.contains("btn"),re=$.code;if(Me&&re===Se.Space)return;const _e=tf.has(re);if(Te&&_e)return;const J=!ef.has(re);if($.ctrlKey&&J||$.altKey&&J||$.metaKey)return;const Q=Te&&re===Se.Escape;nf.has(re)||Q||S();const De=o===Ft.PLAYING||o===Ft.PAUSED,et=_&&(n===Xt.PAUSED||n===Xt.PLAYING),Xe=!et&&!a.has(nt.TIMELINE);if(De||et)switch(B({message:`key down, code: ${re}`}),re){case Se.KeyJ:case Se.ArrowLeft:{if(!Xe)break;if($.ctrlKey||$.altKey){const ye=M.actions.internal.getPrevEpisode();M.actions.internal.seekToPrevEpisode(ye),ye&&C({type:We.EPISODE_PREV,text:ye.text}),$.preventDefault()}else{const ye=$.shiftKey?ue(!1):G.controls.seekStepKeyboard/1e3,Ge=Math.max(f-ye,0);f>0&&(M.actions.internal.seekTime(Ge,Vt.DOUBLE_TAP),C({type:We.BACKWARD_SEEK,text:ye.toString()}),$.preventDefault())}break}case Se.KeyL:case Se.ArrowRight:{if(!Xe)break;if($.ctrlKey||$.altKey){const ye=M.actions.internal.getNextEpisode();M.actions.internal.seekToNextEpisode(ye),ye&&C({type:We.EPISODE_NEXT,text:ye.text}),$.preventDefault()}else{const ye=$.shiftKey?ue(!0):G.controls.seekStepKeyboard/1e3,Ge=Math.min(f+ye,c);Math.round(f)<Math.round(c)&&(M.actions.internal.seekTime(Ge,Vt.DOUBLE_TAP),C({type:We.FORWARD_SEEK,text:ye.toString()}),$.preventDefault())}break}case Se.ArrowUp:{const ye=v,Ge=G.controls.volumeStepKeyboard,Je=ye<=1;if($1(M,ye,Ge),Je){const ct=Math.round(J1(ye,Ge)*100).toString();C({type:We.VOLUME,t:{key:"hotkey_helper_current_volume",value:ct}})}$.preventDefault();break}case Se.ArrowDown:{const ye=v,Ge=G.controls.volumeStepKeyboard,Je=ye>=0;if(eu(M,ye,Ge),Je){const ct=Math.round(x1(ye,Ge)*100).toString();C({type:We.VOLUME,t:{key:"hotkey_helper_current_volume",value:ct}})}$.preventDefault();break}case Se.Comma:{if($.shiftKey){M.actions.internal.decrementPlaybackRate();const ye=h.find(Ge=>Ge.value===m);C({type:We.RATE_DOWN,text:ye?.displayValue}),$.preventDefault()}else{if(et||o!==Ft.PAUSED)break;const ye=Math.max(f-G.controls.seekStepFrame/1e3,0);f>0&&(C({type:We.BACKWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(ye,Vt.DOUBLE_TAP),$.preventDefault())}break}case Se.Period:{if($.shiftKey){M.actions.internal.incrementPlaybackRate();const ye=h.find(Ge=>Ge.value===m);C({type:We.RATE_UP,text:ye?.displayValue}),$.preventDefault()}else{if(et||o!==Ft.PAUSED)break;const ye=Math.min(f+G.controls.seekStepFrame/1e3,c);f<c&&(C({type:We.FORWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(ye,Vt.DOUBLE_TAP),$.preventDefault())}break}case Se.KeyK:case Se.Space:if(!a.has(nt.PLAY_BUTTON))if(ie)ie();else{M.actions.internal.togglePlay();let ye=We.PLAY;o===Ft.PAUSED?ye=We.PAUSE:r&&(ye=We.REPLAY),C({type:ye})}$.preventDefault();break;case Se.KeyM:{C({type:l?We.VOLUME:We.MUTE}),M.actions.internal.toggleMuted(),$.preventDefault();break}case Se.KeyF:k(),$.preventDefault();break;case Se.KeyC:M.actions.internal.toggleSubtitle(),s.value!=="off"?C({type:We.SUBTITLES_ON,text:s?.displayValue}):C({type:We.SUBTITLES_OFF}),$.preventDefault();break;case Se.KeyI:M.actions.internal.togglePictureInPicture(),$.preventDefault();break;case Se.Digit1:case Se.Numpad1:C(),M.actions.internal.seekToPercent(.1,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit2:case Se.Numpad2:C(),M.actions.internal.seekToPercent(.2,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit3:case Se.Numpad3:C(),M.actions.internal.seekToPercent(.3,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit4:case Se.Numpad4:C(),M.actions.internal.seekToPercent(.4,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit5:case Se.Numpad5:C(),M.actions.internal.seekToPercent(.5,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit6:case Se.Numpad6:C(),M.actions.internal.seekToPercent(.6,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit7:case Se.Numpad7:C(),M.actions.internal.seekToPercent(.7,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit8:case Se.Numpad8:C(),M.actions.internal.seekToPercent(.8,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit9:case Se.Numpad9:C(),M.actions.internal.seekToPercent(.9,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit0:case Se.Numpad0:C(),M.actions.internal.seekToPercent(0,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Slash:{$.shiftKey&&G.features.hotKeyMapModal&&(V(),$.preventDefault());break}case Se.ShiftLeft:case Se.ShiftRight:$.preventDefault();break;case Se.Tab:case Se.Escape:case Se.Enter:break;default:wc(re);break}},ae=$=>{const Pe=$.code;if($.ctrlKey||$.altKey||$.metaKey)return;const Te=o===Ft.PLAYING||o===Ft.PAUSED,Me=_&&(n===Xt.PAUSED||n===Xt.PLAYING);if(Te||Me)switch(Pe){case Se.ShiftLeft:case Se.ShiftRight:Ue=0;break}};function be($){ve[$?"unshift":"push"](()=>{Ie=$,i(0,Ie)})}return t.$$set=$=>{"isAds"in $&&i(14,_=$.isAds),"hideContextMenu"in $&&i(15,S=$.hideContextMenu),"toggleFullscreen"in $&&i(16,k=$.toggleFullscreen),"showHotKeyHelpers"in $&&i(17,C=$.showHotKeyHelpers),"showKeyMap"in $&&i(18,V=$.showKeyMap),"fakePlayButtonHandler"in $&&i(19,ie=$.fakePlayButtonHandler),"$$scope"in $&&i(21,w=$.$$scope)},[Ie,x,L,te,z,X,le,P,oe,K,ne,we,j,ae,_,S,k,C,V,ie,Ce,w,b,be]}class z0 extends ge{constructor(e){super(),he(this,e,N0,R0,pe,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},B0,[-1,-1])}get focus(){return this.$$.ctx[20]}}function D0(t){let e,i,n,o,s;return{c(){e=N("svg"),i=N("rect"),o=N("path"),u(i,"width","20"),u(i,"height","20"),u(i,"rx","10"),u(i,"fill","white"),u(i,"fill-opacity",n=t[0]?1:.24),u(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:W,o:W,d(l){l&&T(e)}}}function O0(t,e,i){let{completed:n}=e;return t.$$set=o=>{"completed"in o&&i(0,n=o.completed)},[n]}class tu extends ge{constructor(e){super(),he(this,e,O0,D0,pe,{completed:0})}}function H0(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 F0(t){let e,i,n;return i=new tu({props:{completed:!0}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","interactive-episode-icon-animated v-12idafm"),R(e,"mobile",t[0]),R(e,"fullscreen",t[1]),R(e,"invisible",!t[2]||t[3])},m(o,s){E(o,e,s),H(i,e,null),n=!0},p(o,[s]){(!n||s&1)&&R(e,"mobile",o[0]),(!n||s&2)&&R(e,"fullscreen",o[1]),(!n||s&12)&&R(e,"invisible",!o[2]||o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function U0(t,e,i){let n,o,s,l;const r=ut(),a=r.ui.isMobile;O(t,a,h=>i(0,n=h));const c=r.ui.isFullscreen;O(t,c,h=>i(1,o=h));const f=r.state.isInteractiveTime$;O(t,f,h=>i(2,s=h));const{interactiveControlsOpacity$:m}=sl();return O(t,m,h=>i(3,l=h)),[n,o,s,l,a,c,f,m]}class iu extends ge{constructor(e){super(),he(this,e,U0,F0,pe,{},H0)}}function q0(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 Z0(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:W,i:W,o:W,d(i){i&&T(e)}}}class nu extends ge{constructor(e){super(),he(this,e,null,Z0,pe,{},q0)}}function W0(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("defs"),l=N("filter"),r=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),m=N("feColorMatrix"),h=N("feBlend"),v=N("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(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(b,w){E(b,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:W,i:W,o:W,d(b){b&&T(e)}}}class K0 extends ge{constructor(e){super(),he(this,e,null,W0,pe,{})}}function j0(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 G0(t){let e,i,n,o,s,l,r,a,c,f,m,h;const v=t[14].default,b=Mn(v,t,t[13],null);return{c(){e=A("button"),b&&b.c(),u(e,"class",i="btn "+t[1]+" v-1anemql"),u(e,"style",n=t[2]||null),e.disabled=o=t[3]??null,u(e,"aria-hidden",s=t[5]??null),u(e,"aria-label",l=t[6]??null),u(e,"aria-keyshortcuts",r=t[7]??null),u(e,"aria-expanded",a=t[8]??null),u(e,"data-testid",c=t[4]??null),u(e,"tabindex",t[9])},m(w,_){E(w,e,_),b&&b.m(e,null),t[16](e),f=!0,m||(h=[me(e,"pointerdown",tt(Jt(t[15]))),me(e,"click",tt(Jt(function(){_n(t[10]===je?null:t[10])&&(t[10]===je?null:t[10]).apply(this,arguments)}))),me(e,"focus",Jt(function(){_n(t[11]===je?null:t[11])&&(t[11]===je?null:t[11]).apply(this,arguments)})),me(e,"blur",Jt(function(){_n(t[12]===je?null:t[12])&&(t[12]===je?null:t[12]).apply(this,arguments)}))],m=!0)},p(w,[_]){t=w,b&&b.p&&(!f||_&8192)&&Rn(b,v,t,t[13],f?Bn(v,t[13],_,null):Nn(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(b,w),f=!0)},o(w){g(b,w),f=!1},d(w){w&&T(e),b&&b.d(w),t[16](null),m=!1,$e(h)}}}function Y0(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:b=0}=e,{click:w=je}=e,{focus:_=je}=e,{blur:S=je}=e;function k(V){_o.call(this,t,V)}function C(V){ve[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,b=V.tabIndex),"click"in V&&i(10,w=V.click),"focus"in V&&i(11,_=V.focus),"blur"in V&&i(12,S=V.blur),"$$scope"in V&&i(13,o=V.$$scope)},[m,s,l,r,a,c,f,h,v,b,w,_,S,o,n,k,C]}class hi extends ge{constructor(e){super(),he(this,e,Y0,G0,pe,{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},j0)}}function Q0(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 As(t){let e,i,n,o,s,l=t[2]&&Is(t);return{c(){e=A("div"),i=A("h3"),n=Re(t[3]),o=D(),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)&&Qe(n,r[3]),r[2]?l?(l.p(r,a),a&4&&d(l,1)):(l=Is(r),l.c(),d(l,1),l.m(e,null)):l&&(fe(),g(l,1,1,()=>{l=null}),de())},i(r){s||(d(l),s=!0)},o(r){g(l),s=!1},d(r){r&&T(e),l&&l.d()}}}function Is(t){let e,i;return e=new hi({props:{click:t[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:Y("hotkey_map_modal_close_btn_text"),$$slots:{default:[X0]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&1&&(s.click=n[0]),o&32&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function X0(t){let e,i;return e=new K0({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function J0(t){let e,i,n,o,s,l,r=t[1]&&As(t);const a=t[4].default,c=Mn(a,t,t[5],null);return{c(){e=A("div"),i=A("div"),r&&r.c(),n=D(),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=As(f),r.c(),d(r,1),r.m(i,n)):r&&(fe(),g(r,1,1,()=>{r=null}),de()),c&&c.p&&(!l||m&32)&&Rn(c,a,f,f[5],l?Bn(a,f[5],m,null):Nn(f[5]),null)},i(f){l||(d(r),d(c,f),l=!0)},o(f){g(r),g(c,f),l=!1},d(f){f&&T(e),r&&r.d(),c&&c.d(f)}}}function x0(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 $0 extends ge{constructor(e){super(),he(this,e,x0,J0,pe,{onClose:0,showHeader:1,showCloseCross:2,title:3},Q0)}}const ed=new Set(["BR"]),Ls=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;ed.has(s)||o.parentElement?.removeChild(o)}return e.innerHTML};function td(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 Vs(t,e,i){const n=t.slice();return n[5]=e[i].title,n[6]=e[i].items,n}function Ms(t,e,i){const n=t.slice();return n[9]=e[i].description,n[10]=e[i].value,n}function Bs(t){let e,i,n=Ls(t[9])+"",o,s,l=t[10]+"",r,a;return{c(){e=A("li"),i=A("span"),o=D(),s=A("span"),r=Re(l),a=D(),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=Ls(c[9])+"")&&(i.innerHTML=n),f&1&&l!==(l=c[10]+"")&&Qe(r,l)},d(c){c&&T(e)}}}function Rs(t){let e,i,n=t[5]+"",o,s,l,r,a=Ut(t[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Bs(Ms(t,a,f));return{c(){e=A("div"),i=A("h5"),o=Re(n),s=D(),l=A("ul");for(let f=0;f<c.length;f+=1)c[f].c();r=D(),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]+"")&&Qe(o,n),m&1){a=Ut(f[6]);let h;for(h=0;h<a.length;h+=1){const v=Ms(f,a,h);c[h]?c[h].p(v,m):(c[h]=Bs(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),wn(c,f)}}}function id(t){let e,i=Ut(t[0].groups),n=[];for(let o=0;o<i.length;o+=1)n[o]=Rs(Vs(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=Ut(o[0].groups);let l;for(l=0;l<i.length;l+=1){const r=Vs(o,i,l);n[l]?n[l].p(r,s):(n[l]=Rs(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),wn(n,o)}}}function nd(t){let e,i;return e=new $0({props:{title:t[0].title,onClose:t[2],$$slots:{default:[id]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.title=n[0].title),o&8193&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function od(t,e,i){let n;const o=ut(),{data:s,show:l}=o.ui.modals.hotKeyMap;return O(t,s,a=>i(0,n=a)),[n,s,()=>{l.set(!1)}]}class ld extends ge{constructor(e){super(),he(this,e,od,nd,pe,{},td)}}function sd(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 rd(t){let e,i;const n=t[1].default,o=Mn(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)&&Rn(o,n,s,s[0],i?Bn(n,s[0],l,null):Nn(s[0]),null)},i(s){i||(d(o,s),i=!0)},o(s){g(o,s),i=!1},d(s){s&&T(e),o&&o.d(s)}}}function ad(t,e,i){let{$$slots:n={},$$scope:o}=e;return t.$$set=s=>{"$$scope"in s&&i(0,o=s.$$scope)},[o,n]}class ud extends ge{constructor(e){super(),he(this,e,ad,rd,pe,{},sd)}}function cd(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p:W,i:W,o:W,d(o){o&&T(e)}}}class fd extends ge{constructor(e){super(),he(this,e,null,cd,pe,{})}}function dd(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p:W,i:W,o:W,d(o){o&&T(e)}}}class md extends ge{constructor(e){super(),he(this,e,null,dd,pe,{})}}function pd(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class hd extends ge{constructor(e){super(),he(this,e,null,pd,pe,{})}}function gd(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class ou extends ge{constructor(e){super(),he(this,e,null,gd,pe,{})}}function bd(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p:W,i:W,o:W,d(o){o&&T(e)}}}class lu extends ge{constructor(e){super(),he(this,e,null,bd,pe,{})}}const yo=t=>{switch(t){case mo.Q_720P:return hd;case mo.Q_1080P:return ou;case mo.Q_1440P:return lu;case mo.Q_2160P:return fd;case mo.Q_4320P:return md}};function _d(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 vd(t){let e,i,n,o,s,l,r=t[1]&&Ns(t);return{c(){e=A("div"),r&&r.c(),i=D(),n=N("svg"),o=N("path"),s=N("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(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"),R(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"),R(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=Ns(a),r.c(),d(r,1),r.m(e,i)):r&&(fe(),g(r,1,1,()=>{r=null}),de()),(!l||c&2)&&R(s,"hidden",!!a[1]),(!l||c&4)&&R(e,"triple",a[2])},i(a){l||(d(r),l=!0)},o(a){g(r),l=!1},d(a){a&&T(e),r&&r.d()}}}function wd(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}function Ns(t){let e,i;return e=new ud({props:{$$slots:{default:[kd]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&18&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function kd(t){let e,i,n;var o=t[1];function s(l){return{}}return o&&(e=Sn(o,s())),{c(){e&&U(e.$$.fragment),i=lt()},m(l,r){e&&H(e,l,r),E(l,i,r),n=!0},p(l,r){if(r&2&&o!==(o=l[1])){if(e){fe();const a=e;g(a.$$.fragment,1,0,()=>{F(a,1)}),de()}o?(e=Sn(o,s()),U(e.$$.fragment),d(e.$$.fragment,1),H(e,i.parentNode,i)):e=null}},i(l){n||(e&&d(e.$$.fragment,l),n=!0)},o(l){e&&g(e.$$.fragment,l),n=!1},d(l){l&&T(i),e&&F(e,l)}}}function yd(t){let e,i,n,o;const s=[wd,vd],l=[];function r(a,c){return a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function Cd(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=yo(s)),t.$$.dirty&2&&i(2,l=!!n&&[ou,lu].includes(n))},[o,n,l,s]}class su extends ge{constructor(e){super(),he(this,e,Cd,yd,pe,{isMobile:0,currentQuality:3},_d)}}function Pd(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class ru extends ge{constructor(e){super(),he(this,e,null,Pd,pe,{})}}function Sd(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(i,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class Td extends ge{constructor(e){super(),he(this,e,null,Sd,pe,{})}}function Ed(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(i,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class Ad extends ge{constructor(e){super(),he(this,e,null,Ed,pe,{})}}function Id(t){let e,i,n,o;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(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:W,i:W,o:W,d(s){s&&T(e)}}}class Ld extends ge{constructor(e){super(),he(this,e,null,Id,pe,{})}}function Vd(t){ze(t,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function Md(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),u(i,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(i,"fill",t[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),R(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&&R(e,"reverted",o[2])},d(o){o&&T(e)}}}function Bd(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(i,"fill",t[0]),u(i,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),R(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&&R(e,"reverted",o[2])},d(o){o&&T(e)}}}function Rd(t){let e;function i(s,l){return s[1]?Bd:Md}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(s){s&&T(e),o.d(s)}}}function Nd(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 Wn extends ge{constructor(e){super(),he(this,e,Nd,Rd,pe,{direction:3,color:0},Vd)}}function zd(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class Dd extends ge{constructor(e){super(),he(this,e,null,zd,pe,{})}}function Od(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(i,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class Do extends ge{constructor(e){super(),he(this,e,null,Od,pe,{})}}function Hd(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class Fd extends ge{constructor(e){super(),he(this,e,null,Hd,pe,{})}}function Ud(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class qd extends ge{constructor(e){super(),he(this,e,null,Ud,pe,{})}}function Zd(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 zs(t,e,i){const n=t.slice();return n[142]=e[i],n}function Ds(t,e,i){const n=t.slice();return n[145]=e[i],n}function Os(t,e,i){const n=t.slice();return n[148]=e[i],n}function Hs(t){let e,i,n,o,s,l,r,a,c,f,m,h=t[8]&&Fs(t),v=t[28]&&Us(t),b=t[27]&&Zs(t),w=t[26]&&Ws(t),_=t[25]&&Ks(t),S=t[24]&&js(t),k=t[8]&&Gs(t);return{c(){e=A("div"),h&&h.c(),i=D(),n=A("ul"),v&&v.c(),o=D(),b&&b.c(),s=D(),w&&w.c(),l=D(),_&&_.c(),r=D(),S&&S.c(),a=D(),k&&k.c(),u(n,"class","items v-5r0p3"),u(n,"role","menu"),R(n,"items-mobile",t[8]),u(e,"class","menu v-5r0p3"),R(e,"menu-desktop",!t[8]),R(e,"menu-mobile",t[8]),R(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),b&&b.m(n,null),p(n,s),w&&w.m(n,null),p(n,l),_&&_.m(n,null),p(n,r),S&&S.m(n,null),p(n,a),k&&k.m(n,null),t[116](n),c=!0,f||(m=[me(e,"keydown",t[79]),me(e,"mouseenter",t[73]),me(e,"mouseleave",t[74])],f=!0)},p(C,V){C[8]?h?h.p(C,V):(h=Fs(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=Us(C),v.c(),d(v,1),v.m(n,o)):v&&(fe(),g(v,1,1,()=>{v=null}),de()),C[27]?b?(b.p(C,V),V[0]&134217728&&d(b,1)):(b=Zs(C),b.c(),d(b,1),b.m(n,s)):b&&(fe(),g(b,1,1,()=>{b=null}),de()),C[26]?w?(w.p(C,V),V[0]&67108864&&d(w,1)):(w=Ws(C),w.c(),d(w,1),w.m(n,l)):w&&(fe(),g(w,1,1,()=>{w=null}),de()),C[25]?_?(_.p(C,V),V[0]&33554432&&d(_,1)):(_=Ks(C),_.c(),d(_,1),_.m(n,r)):_&&(fe(),g(_,1,1,()=>{_=null}),de()),C[24]?S?(S.p(C,V),V[0]&16777216&&d(S,1)):(S=js(C),S.c(),d(S,1),S.m(n,a)):S&&(fe(),g(S,1,1,()=>{S=null}),de()),C[8]?k?(k.p(C,V),V[0]&256&&d(k,1)):(k=Gs(C),k.c(),d(k,1),k.m(n,null)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),(!c||V[0]&256)&&R(n,"items-mobile",C[8]),(!c||V[0]&256)&&R(e,"menu-desktop",!C[8]),(!c||V[0]&256)&&R(e,"menu-mobile",C[8]),(!c||V[0]&32768)&&R(e,"hidden",!C[15])},i(C){c||(d(v),d(b),d(w),d(_),d(S),d(k),c=!0)},o(C){g(v),g(b),g(w),g(_),g(S),g(k),c=!1},d(C){C&&T(e),h&&h.d(),v&&v.d(),b&&b.d(),w&&w.d(),_&&_.d(),S&&S.d(),k&&k.d(),t[116](null),f=!1,$e(m)}}}function Fs(t){let e,i,n,o,s,l,r,a;return{c(){e=A("div"),i=A("div"),i.textContent=`${Y("submenu_settings")}`,n=D(),o=A("div"),s=D(),l=A("div"),u(o,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),R(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=me(o,"click",tt(t[59])),r=!0)},p(c,f){f[0]&256&&R(e,"item-mobile",c[8])},d(c){c&&(T(e),T(s),T(l)),r=!1,a()}}}function Us(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;n=new su({});let b=t[36]&&!t[8]&&qs(t);return{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=D(),s=A("div"),s.textContent=`${Y("menu_quality")}`,l=D(),r=A("div"),a=Re(t[20]),c=D(),b&&b.c(),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_quality",{actual:t[30]})),u(e,"aria-haspopup","true"),R(e,"item-mobile",t[8])},m(w,_){E(w,e,_),p(e,i),H(n,i,null),p(e,o),p(e,s),p(e,l),p(e,r),p(r,a),p(r,c),b&&b.m(r,null),t[112](e),m=!0,h||(v=[me(e,"click",tt(t[60])),me(e,"keydown",t[80])],h=!0)},p(w,_){(!m||_[0]&1048576)&&Qe(a,w[20]),w[36]&&!w[8]?b?(b.p(w,_),_[0]&256|_[1]&32&&d(b,1)):(b=qs(w),b.c(),d(b,1),b.m(r,null)):b&&(fe(),g(b,1,1,()=>{b=null}),de()),(!m||_[0]&1073741824&&f!==(f=Y("aria_label_menu_quality",{actual:w[30]})))&&u(e,"aria-label",f),(!m||_[0]&256)&&R(e,"item-mobile",w[8])},i(w){m||(d(n.$$.fragment,w),d(b),m=!0)},o(w){g(n.$$.fragment,w),g(b),m=!1},d(w){w&&T(e),F(n),b&&b.d(),t[112](null),h=!1,$e(v)}}}function qs(t){let e,i,n;var o=t[36];function s(l){return{}}return o&&(i=Sn(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&&H(i,e,null),n=!0},p(l,r){if(r[1]&32&&o!==(o=l[36])){if(i){fe();const a=i;g(a.$$.fragment,1,0,()=>{F(a,1)}),de()}o?(i=Sn(o,s()),U(i.$$.fragment),d(i.$$.fragment,1),H(i,e,null)):i=null}},i(l){n||(i&&d(i.$$.fragment,l),n=!0)},o(l){i&&g(i.$$.fragment,l),n=!1},d(l){l&&T(e),i&&F(i)}}}function Zs(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return n=new Ld({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=D(),s=A("div"),s.textContent=`${Y("menu_playback_rate")}`,l=D(),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"),R(e,"item-mobile",t[8])},m(b,w){E(b,e,w),p(e,i),H(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=[me(e,"click",tt(Jt(t[64]))),me(e,"keydown",t[83])],h=!0)},p(b,w){(!m||w[0]&8192)&&Qe(a,b[13]),(!m||w[1]&1&&f!==(f=Y("aria_label_menu_rate",{actual:b[31]})))&&u(e,"aria-label",f),(!m||w[0]&256)&&R(e,"item-mobile",b[8])},i(b){m||(d(n.$$.fragment,b),m=!0)},o(b){g(n.$$.fragment,b),m=!1},d(b){b&&T(e),F(n),t[113](null),h=!1,$e(v)}}}function Ws(t){let e,i,n,o,s,l,r,a=t[37].displayValue+"",c,f,m,h,v;return n=new ru({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=D(),s=A("div"),s.textContent=`${Y("subtitles_caption")}`,l=D(),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"),R(e,"item-mobile",t[8])},m(b,w){E(b,e,w),p(e,i),H(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=[me(e,"click",tt(t[66])),me(e,"keydown",t[86])],h=!0)},p(b,w){(!m||w[1]&64)&&a!==(a=b[37].displayValue+"")&&Qe(c,a),(!m||w[1]&64&&f!==(f=Y("aria_label_menu_subtitle",{actual:b[37].displayValue})))&&u(e,"aria-label",f),(!m||w[0]&256)&&R(e,"item-mobile",b[8])},i(b){m||(d(n.$$.fragment,b),m=!0)},o(b){g(n.$$.fragment,b),m=!1},d(b){b&&T(e),F(n),t[114](null),h=!1,$e(v)}}}function Ks(t){let e,i,n,o,s,l,r,a,c,f,m,h;return n=new Ad({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=D(),s=A("div"),s.textContent=`${Y("menu_traffic_saving")}`,l=D(),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"),R(e,"item-mobile",t[8])},m(v,b){E(v,e,b),p(e,i),H(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=[me(e,"click",tt(t[61])),me(e,"keydown",t[89])],m=!0)},p(v,b){(!f||b[0]&536870912)&&Qe(a,v[29]),(!f||b[0]&536870912&&c!==(c=Y("aria_label_menu_traffic_saving",{actual:v[29]})))&&u(e,"aria-label",c),(!f||b[0]&256)&&R(e,"item-mobile",v[8])},i(v){f||(d(n.$$.fragment,v),f=!0)},o(v){g(n.$$.fragment,v),f=!1},d(v){v&&T(e),F(n),t[115](null),m=!1,$e(h)}}}function js(t){let e,i,n,o,s,l,r,a;return n=new Td({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=D(),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")),R(e,"item-mobile",t[8])},m(c,f){E(c,e,f),p(e,i),H(n,i,null),p(e,o),p(e,s),l=!0,r||(a=[me(e,"click",tt(t[69])),me(e,"keydown",t[92])],r=!0)},p(c,f){(!l||f[0]&256)&&R(e,"item-mobile",c[8])},i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&T(e),F(n),r=!1,$e(a)}}}function Gs(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S=t[39].showSupport&&Wd(t);return o=new Fd({}),f=new qd({}),{c(){S&&S.c(),e=D(),i=A("li"),n=A("div"),U(o.$$.fragment),s=D(),l=A("div"),l.textContent=`${Y("menu_copy_debug")}`,r=D(),a=A("li"),c=A("div"),U(f.$$.fragment),m=D(),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){S&&S.m(k,C),E(k,e,C),E(k,i,C),p(i,n),H(o,n,null),p(i,s),p(i,l),E(k,r,C),E(k,a,C),p(a,c),H(f,c,null),p(a,m),p(a,h),b=!0,w||(_=[me(i,"click",tt(t[71])),me(i,"keydown",t[94]),me(a,"click",tt(t[72])),me(a,"keydown",t[95])],w=!0)},p(k,C){k[39].showSupport&&S.p(k,C),(!b||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){b||(d(S),d(o.$$.fragment,k),d(f.$$.fragment,k),b=!0)},o(k){g(S),g(o.$$.fragment,k),g(f.$$.fragment,k),b=!1},d(k){k&&(T(e),T(i),T(r),T(a)),S&&S.d(k),F(o),F(f),w=!1,$e(_)}}}function Wd(t){let e,i,n,o,s,l,r,a;return n=new Dd({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=D(),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),H(n,i,null),p(e,o),p(e,s),l=!0,r||(a=[me(e,"click",tt(t[70])),me(e,"keydown",t[93])],r=!0)},p:W,i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&T(e),F(n),r=!1,$e(a)}}}function Ys(t){let e,i,n,o,s,l,r,a,c,f,m,h;n=new Wn({props:{direction:"left"}});let v=Ut(t[12]),b=[];for(let _=0;_<v.length;_+=1)b[_]=Js(Os(t,v,_));const w=_=>g(b[_],1,1,()=>{b[_]=null});return{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=D(),s=A("div"),s.textContent=`${Y("submenu_quality")}`,l=D(),r=A("div"),a=D(),c=A("ul");for(let _=0;_<b.length;_+=1)b[_].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),R(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]),R(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),R(e,"menu-desktop",!t[8]),R(e,"menu-mobile",t[8])},m(_,S){E(_,e,S),p(e,i),H(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<b.length;k+=1)b[k]&&b[k].m(c,null);t[120](c),f=!0,m||(h=[me(i,"click",tt(t[68])),me(c,"keydown",t[81])],m=!0)},p(_,S){if((!f||S[0]&256)&&R(i,"item-mobile",_[8]),S[0]&4352|S[2]&1048577){v=Ut(_[12]);let k;for(k=0;k<v.length;k+=1){const C=Os(_,v,k);b[k]?(b[k].p(C,S),d(b[k],1)):(b[k]=Js(C),b[k].c(),d(b[k],1),b[k].m(c,null))}for(fe(),k=v.length;k<b.length;k+=1)w(k);de()}(!f||S[0]&2097152)&&u(c,"style",_[21]),(!f||S[0]&256)&&R(c,"items-mobile",_[8]),(!f||S[0]&256)&&R(e,"menu-desktop",!_[8]),(!f||S[0]&256)&&R(e,"menu-mobile",_[8])},i(_){if(!f){d(n.$$.fragment,_);for(let S=0;S<v.length;S+=1)d(b[S]);f=!0}},o(_){g(n.$$.fragment,_),b=b.filter(Boolean);for(let S=0;S<b.length;S+=1)g(b[S]);f=!1},d(_){_&&T(e),F(n),t[117](null),wn(b,_),t[120](null),m=!1,$e(h)}}}function Qs(t){let e,i,n;return i=new Do({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),H(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function Xs(t){let e,i,n;var o=yo(t[148].value);function s(l){return{}}return o&&(i=Sn(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&&H(i,e,null),n=!0},p(l,r){if(r[0]&4096&&o!==(o=yo(l[148].value))){if(i){fe();const a=i;g(a.$$.fragment,1,0,()=>{F(a,1)}),de()}o?(i=Sn(o,s()),U(i.$$.fragment),d(i.$$.fragment,1),H(i,e,null)):i=null}},i(l){n||(i&&d(i.$$.fragment,l),n=!0)},o(l){i&&g(i.$$.fragment,l),n=!1},d(l){l&&T(e),i&&F(i)}}}function Js(t){let e,i,n,o=t[148].displayValue+"",s,l,r=!t[8]&&yo(t[148].value),a,c,f,m,h,v,b=t[148].selected&&Qs(),w=r&&Xs(t);function _(){return t[118](t[148])}function S(...k){return t[119](t[148],...k)}return{c(){e=A("li"),b&&b.c(),i=D(),n=A("div"),s=Re(o),l=D(),w&&w.c(),a=D(),u(n,"class","v-5r0p3"),R(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),R(e,"item-mobile",t[8])},m(k,C){E(k,e,C),b&&b.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=[me(e,"click",tt(_)),me(e,"keydown",S)],h=!0)},p(k,C){t=k,t[148].selected?b?C[0]&4096&&d(b,1):(b=Qs(),b.c(),d(b,1),b.m(e,i)):b&&(fe(),g(b,1,1,()=>{b=null}),de()),(!m||C[0]&4096)&&o!==(o=t[148].displayValue+"")&&Qe(s,o),(!m||C[0]&256)&&R(n,"quality-title-mobile",t[8]),C[0]&4352&&(r=!t[8]&&yo(t[148].value)),r?w?(w.p(t,C),C[0]&4352&&d(w,1)):(w=Xs(t),w.c(),d(w,1),w.m(e,a)):w&&(fe(),g(w,1,1,()=>{w=null}),de()),(!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)&&R(e,"item-mobile",t[8])},i(k){m||(d(b),d(w),m=!0)},o(k){g(b),g(w),m=!1},d(k){k&&T(e),b&&b.d(),w&&w.d(),h=!1,$e(v)}}}function xs(t){let e,i,n,o,s,l,r,a,c,f,m,h;n=new Wn({props:{direction:"left"}});let v=Ut(t[11]),b=[];for(let _=0;_<v.length;_+=1)b[_]=er(Ds(t,v,_));const w=_=>g(b[_],1,1,()=>{b[_]=null});return{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=D(),s=A("div"),s.textContent=`${Y("submenu_playback_rate")}`,l=D(),r=A("div"),a=D(),c=A("ul");for(let _=0;_<b.length;_+=1)b[_].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),R(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]),R(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),R(e,"menu-desktop",!t[8]),R(e,"menu-mobile",t[8])},m(_,S){E(_,e,S),p(e,i),H(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<b.length;k+=1)b[k]&&b[k].m(c,null);t[124](c),f=!0,m||(h=[me(i,"click",tt(t[68])),me(c,"keydown",t[84])],m=!0)},p(_,S){if((!f||S[0]&256)&&R(i,"item-mobile",_[8]),S[0]&2304|S[2]&8388616){v=Ut(_[11]);let k;for(k=0;k<v.length;k+=1){const C=Ds(_,v,k);b[k]?(b[k].p(C,S),d(b[k],1)):(b[k]=er(C),b[k].c(),d(b[k],1),b[k].m(c,null))}for(fe(),k=v.length;k<b.length;k+=1)w(k);de()}(!f||S[0]&4194304)&&u(c,"style",_[22]),(!f||S[0]&256)&&R(c,"items-mobile",_[8]),(!f||S[0]&256)&&R(e,"menu-desktop",!_[8]),(!f||S[0]&256)&&R(e,"menu-mobile",_[8])},i(_){if(!f){d(n.$$.fragment,_);for(let S=0;S<v.length;S+=1)d(b[S]);f=!0}},o(_){g(n.$$.fragment,_),b=b.filter(Boolean);for(let S=0;S<b.length;S+=1)g(b[S]);f=!1},d(_){_&&T(e),F(n),t[121](null),wn(b,_),t[124](null),m=!1,$e(h)}}}function $s(t){let e,i,n;return i=new Do({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),H(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function er(t){let e,i,n,o=t[145].displayValue+"",s,l,r,a,c,f,m,h=t[145].selected&&$s();function v(){return t[122](t[145])}function b(...w){return t[123](t[145],...w)}return{c(){e=A("li"),h&&h.c(),i=D(),n=A("div"),s=Re(o),l=D(),u(n,"class","v-5r0p3"),R(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),R(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=[me(e,"click",tt(v)),me(e,"keydown",b)],f=!0)},p(w,_){t=w,t[145].selected?h?_[0]&2048&&d(h,1):(h=$s(),h.c(),d(h,1),h.m(e,i)):h&&(fe(),g(h,1,1,()=>{h=null}),de()),(!c||_[0]&2048)&&o!==(o=t[145].displayValue+"")&&Qe(s,o),(!c||_[0]&256)&&R(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)&&R(e,"item-mobile",t[8])},i(w){c||(d(h),c=!0)},o(w){g(h),c=!1},d(w){w&&T(e),h&&h.d(),f=!1,$e(m)}}}function tr(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B;n=new Wn({props:{direction:"left"}});let x=!t[9]&&ir(),L=t[9]&&nr();return{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=D(),s=A("div"),s.textContent=`${Y("submenu_traffic_saving")}`,l=D(),r=A("div"),a=D(),c=A("ul"),f=A("li"),x&&x.c(),m=D(),h=A("div"),h.textContent=`${Y("traffic_saving_disable")}`,v=D(),b=A("li"),L&&L.c(),w=D(),_=A("div"),_.textContent=`${Y("traffic_saving_enable")}`,S=D(),k=A("div"),C=D(),V=A("div"),ie=A("span"),ie.textContent=`${Y("traffic_saving_helper_text")}`,u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),R(i,"item-mobile",t[8]),u(r,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),R(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")),R(f,"item-mobile",t[8]),u(_,"class","v-5r0p3"),R(_,"quality-title-mobile",t[8]),u(b,"class","item item-traffic-saving v-5r0p3"),u(b,"role","menuitem"),u(b,"tabindex","0"),u(b,"aria-label",`${Y("aria_label_submenu_traffic_saving_on")}. ${Y("traffic_saving_helper_text")}`),R(b,"item-mobile",t[8]),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[23]),R(c,"items-mobile",t[8]),u(k,"class","menu-divider v-5r0p3"),u(ie,"class","v-5r0p3"),u(V,"class","item item-helper-text v-5r0p3"),R(V,"item-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),R(e,"menu-desktop",!t[8]),R(e,"menu-mobile",t[8])},m(te,z){E(te,e,z),p(e,i),H(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,b),L&&L.m(b,null),p(b,w),p(b,_),t[130](c),p(e,S),p(e,k),p(e,C),p(e,V),p(V,ie),M=!0,G||(B=[me(i,"click",tt(t[68])),me(f,"click",tt(t[126])),me(f,"keydown",t[127]),me(b,"click",tt(t[128])),me(b,"keydown",t[129]),me(c,"keydown",t[90])],G=!0)},p(te,z){(!M||z[0]&256)&&R(i,"item-mobile",te[8]),te[9]?x&&(fe(),g(x,1,1,()=>{x=null}),de()):x?z[0]&512&&d(x,1):(x=ir(),x.c(),d(x,1),x.m(f,m)),(!M||z[0]&256)&&R(h,"quality-title-mobile",te[8]),(!M||z[0]&256)&&R(f,"item-mobile",te[8]),te[9]?L?z[0]&512&&d(L,1):(L=nr(),L.c(),d(L,1),L.m(b,w)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),(!M||z[0]&256)&&R(_,"quality-title-mobile",te[8]),(!M||z[0]&256)&&R(b,"item-mobile",te[8]),(!M||z[0]&8388608)&&u(c,"style",te[23]),(!M||z[0]&256)&&R(c,"items-mobile",te[8]),(!M||z[0]&256)&&R(V,"item-mobile",te[8]),(!M||z[0]&256)&&R(e,"menu-desktop",!te[8]),(!M||z[0]&256)&&R(e,"menu-mobile",te[8])},i(te){M||(d(n.$$.fragment,te),d(x),d(L),M=!0)},o(te){g(n.$$.fragment,te),g(x),g(L),M=!1},d(te){te&&T(e),F(n),t[125](null),x&&x.d(),L&&L.d(),t[130](null),G=!1,$e(B)}}}function ir(t){let e,i,n;return i=new Do({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),H(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function nr(t){let e,i,n;return i=new Do({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),H(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function or(t){let e,i,n,o,s,l,r,a,c,f;n=new Wn({props:{direction:"left"}});let m=Ut(t[10]),h=[];for(let b=0;b<m.length;b+=1)h[b]=sr(zs(t,m,b));const v=b=>g(h[b],1,1,()=>{h[b]=null});return{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=D(),s=A("div"),s.textContent=`${Y("subtitles_caption")}`,l=D(),r=A("ul");for(let b=0;b<h.length;b+=1)h[b].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),R(i,"item-mobile",t[8]),u(r,"class","items v-5r0p3"),u(r,"role","menu"),R(r,"items-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),R(e,"menu-desktop",!t[8]),R(e,"menu-mobile",t[8])},m(b,w){E(b,e,w),p(e,i),H(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=[me(i,"click",tt(t[68])),me(r,"keydown",t[87])],c=!0)},p(b,w){if((!a||w[0]&256)&&R(i,"item-mobile",b[8]),w[0]&1280|w[2]&67108896){m=Ut(b[10]);let _;for(_=0;_<m.length;_+=1){const S=zs(b,m,_);h[_]?(h[_].p(S,w),d(h[_],1)):(h[_]=sr(S),h[_].c(),d(h[_],1),h[_].m(r,null))}for(fe(),_=m.length;_<h.length;_+=1)v(_);de()}(!a||w[0]&256)&&R(r,"items-mobile",b[8]),(!a||w[0]&256)&&R(e,"menu-desktop",!b[8]),(!a||w[0]&256)&&R(e,"menu-mobile",b[8])},i(b){if(!a){d(n.$$.fragment,b);for(let w=0;w<m.length;w+=1)d(h[w]);a=!0}},o(b){g(n.$$.fragment,b),h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)g(h[w]);a=!1},d(b){b&&T(e),F(n),wn(h,b),t[133](null),c=!1,$e(f)}}}function lr(t){let e,i,n;return i=new Do({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),H(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function sr(t){let e,i,n,o=t[142].displayValue+"",s,l,r,a,c,f,m,h=t[142].selected&&lr();function v(){return t[131](t[142])}function b(...w){return t[132](t[142],...w)}return{c(){e=A("li"),h&&h.c(),i=D(),n=A("div"),s=Re(o),l=D(),u(n,"class","v-5r0p3"),R(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),R(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=[me(e,"click",tt(v)),me(e,"keydown",b)],f=!0)},p(w,_){t=w,t[142].selected?h?_[0]&1024&&d(h,1):(h=lr(),h.c(),d(h,1),h.m(e,i)):h&&(fe(),g(h,1,1,()=>{h=null}),de()),(!c||_[0]&1024)&&o!==(o=t[142].displayValue+"")&&Qe(s,o),(!c||_[0]&256)&&R(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)&&R(e,"item-mobile",t[8])},i(w){c||(d(h),c=!0)},o(w){g(h),c=!1},d(w){w&&T(e),h&&h.d(),f=!1,$e(m)}}}function Kd(t){let e,i,n,o,s,l,r=t[14]&&Hs(t),a=t[16]&&Ys(t),c=t[17]&&xs(t),f=t[19]&&tr(t),m=t[18]&&or(t);return{c(){e=A("div"),r&&r.c(),i=D(),a&&a.c(),n=D(),c&&c.c(),o=D(),f&&f.c(),s=D(),m&&m.c(),u(e,"class","v-5r0p3"),R(e,"hidden",!t[14]),R(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=Hs(h),r.c(),d(r,1),r.m(e,i)):r&&(fe(),g(r,1,1,()=>{r=null}),de()),h[16]?a?(a.p(h,v),v[0]&65536&&d(a,1)):(a=Ys(h),a.c(),d(a,1),a.m(e,n)):a&&(fe(),g(a,1,1,()=>{a=null}),de()),h[17]?c?(c.p(h,v),v[0]&131072&&d(c,1)):(c=xs(h),c.c(),d(c,1),c.m(e,o)):c&&(fe(),g(c,1,1,()=>{c=null}),de()),h[19]?f?(f.p(h,v),v[0]&524288&&d(f,1)):(f=tr(h),f.c(),d(f,1),f.m(e,s)):f&&(fe(),g(f,1,1,()=>{f=null}),de()),h[18]?m?(m.p(h,v),v[0]&262144&&d(m,1)):(m=or(h),m.c(),d(m,1),m.m(e,null)):m&&(fe(),g(m,1,1,()=>{m=null}),de()),(!l||v[0]&16384)&&R(e,"hidden",!h[14]),(!l||v[0]&256)&&R(e,"container-mobile",h[8])},i(h){l||(d(r),d(a),d(c),d(f),d(m),l=!0)},o(h){g(r),g(a),g(c),g(f),g(m),l=!1},d(h){h&&T(e),r&&r.d(),a&&a.d(),c&&c.d(),f&&f.d(),m&&m.d()}}}const bl=18;function jd(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B,x,L,{ref:te=void 0}=e,{supportLink:z}=e,{playerControlsHeight:X=0}=e,{returnFocus:le}=e;const P=ut(),oe=ln(),K=P.state.currentQuality$;O(t,K,ee=>i(103,w=ee));const ne=P.state.availableQualities$;O(t,ne,ee=>i(12,v=ee));const we=P.state.autoQualityLimitingAvailable$;O(t,we,ee=>i(107,C=ee));const Ue=P.state.isAutoQualityEnabled$;O(t,Ue,ee=>i(104,_=ee));const qe=P.state.currentPlaybackRate$;O(t,qe,ee=>i(13,b=ee));const Ie=P.state.availablePlaybackRates$;O(t,Ie,ee=>i(11,m=ee));const Ce=P.state.currentSubtitle$;O(t,Ce,ee=>i(37,x=ee));const ue=P.state.availableSubtitlesList$;O(t,ue,ee=>i(10,c=ee));const j=P.state.canDownload,ae=P.state.hasMpegSources$;O(t,ae,ee=>i(108,V=ee));const be=P.ui.settingsMenuVisible;O(t,be,ee=>i(14,B=ee));const $=P.ui.settingsMenuOpenedByKeyboard;O(t,$,ee=>i(135,o=ee));const Pe=P.ui.isMobile;O(t,Pe,ee=>i(8,s=ee));const Te=P.ui.mobileNotReportControlHidden$;O(t,Te,ee=>i(105,S=ee));const Me=P.state.canChangePlaybackSpeed$;O(t,Me,ee=>i(106,k=ee));const re=P.ui.isFullscreen;O(t,re,ee=>i(111,G=ee));const _e=P.state.trafficSavingEnabled$;O(t,_e,ee=>i(9,r=ee));const J=P.ui.playerSize;O(t,J,ee=>i(110,M=ee));const Q=P.ui.debugPanelVisible;O(t,Q,ee=>i(38,L=ee));const De=P.ui.playerSize;O(t,De,ee=>i(109,ie=ee));const et=P.state.isInteractiveTime$,Xe=P.actions.internal.downloadVideo,ye=P.actions.internal.closeSettingsMenu;let Ge=!0,Je=!1,ct=!1,bt=!1,Fe=!1,Le=!1;function vt(){o||le?.(),ye(),Le=!1}function Bt(){i(15,Ge=!1),i(16,Je=!0)}function xt(){i(15,Ge=!1),i(19,Fe=!0)}function qt(ee){P.actions.internal.setQuality(ee),vt()}function ce(ee){P.actions.internal.setTrafficSavingEnabled(ee),vt()}function pt(){i(15,Ge=!1),i(17,ct=!0)}function ht(ee){P.actions.internal.setPlaybackRate(ee),vt()}function ft(){i(15,Ge=!1),i(18,bt=!0)}function st(ee){P.actions.internal.setSubtitle(ee),vt()}function kt(){i(15,Ge=!0),i(16,Je=!1),i(17,ct=!1),i(18,bt=!1),i(19,Fe=!1)}function Pt(){Xe(),vt()}function ai(){window.open(z,"_blank"),vt(),P.actions.internal.pause()}function Fi(){El(P.actions.internal.getDebugTextData()),vt()}function Zt(){Q.set(!0),vt()}function Ui(){Le=!0}function Yi(){Le=!1}function $t(ee,xe,gt){if(!ee)return"...";const li=xe.find(sn=>sn.value===ee),Ji=li?li.displayValue:ee;return gt?ee===mo.INVARIANT?Y("auto_quality_invariant"):Y("auto_quality",{actual:Ji}):Ji}let Bi,Ri,Rt,ei,ui,Wt,ci,Kt,gi,Ni,mt,fi,bi,_i,Nt,vi,ti,ii=Ee(!1);O(t,ii,ee=>i(102,h=ee));let St,wi,zt=Ee(!1);O(t,zt,ee=>i(101,f=ee));let rt,Tt,zi=Ee(!1);O(t,zi,ee=>i(100,a=ee));let ki,yi,ni=Ee(!1);O(t,ni,ee=>i(99,l=ee));const jt=ee=>{Q1(ee,ye)},qi=async ee=>{Yo(ee,Bt,()=>{const xe=v.findIndex(gt=>gt.selected);return ti.childNodes[xe]})},Et=async ee=>{Qo(ee,kt,ii,ye)},wt=(ee,xe)=>{xi(ee,()=>qt(xe))},yt=async ee=>{Yo(ee,pt,()=>{const xe=m.findIndex(gt=>gt.selected);return wi.childNodes[xe]})},At=async ee=>{Qo(ee,kt,zt,ye)},Zi=(ee,xe)=>{xi(ee,()=>ht(xe))},Gt=async ee=>{Yo(ee,ft,()=>{const xe=c.findIndex(gt=>gt.selected);return Tt.childNodes[xe]})},Ci=async ee=>{Qo(ee,kt,zi,ye)},Di=(ee,xe)=>{xi(ee,()=>st(xe))},Pi=async ee=>{Yo(ee,xt,()=>{const xe=r?2:0;return yi.childNodes[xe]})},Qi=async ee=>{Qo(ee,kt,ni,ye)},Si=(ee,xe)=>{xi(ee,()=>ce(xe))},di=ee=>{xi(ee,()=>Pt())},mi=ee=>{xi(ee,()=>ai())},Ti=ee=>{xi(ee,()=>Fi())},Ei=ee=>{xi(ee,()=>Zt())};on(()=>{const ee=et.subscribe(xe=>{xe&&!s&&!Le&&!o&&vt()});return()=>{ee()}});function Ai(ee){ve[ee?"unshift":"push"](()=>{vi=ee,i(4,vi)})}function Ae(ee){ve[ee?"unshift":"push"](()=>{St=ee,i(5,St)})}function Wi(ee){ve[ee?"unshift":"push"](()=>{rt=ee,i(6,rt)})}function Ki(ee){ve[ee?"unshift":"push"](()=>{ki=ee,i(7,ki)})}function Ii(ee){ve[ee?"unshift":"push"](()=>{te=ee,i(0,te)})}function ji(ee){ve[ee?"unshift":"push"](()=>{Ri=ee,i(1,Ri)})}const Li=ee=>qt(ee.value),Ne=(ee,xe)=>wt(xe,ee.value);function pi(ee){ve[ee?"unshift":"push"](()=>{ti=ee,i(32,ti)})}function Vi(ee){ve[ee?"unshift":"push"](()=>{Rt=ee,i(2,Rt)})}const Dt=ee=>ht(ee.value),Ot=(ee,xe)=>Zi(xe,ee.value);function oi(ee){ve[ee?"unshift":"push"](()=>{wi=ee,i(33,wi)})}function $i(ee){ve[ee?"unshift":"push"](()=>{ei=ee,i(3,ei)})}const Oi=()=>ce(!1),en=ee=>Si(ee,!1),tn=()=>ce(!0),Xi=ee=>Si(ee,!0);function Mi(ee){ve[ee?"unshift":"push"](()=>{yi=ee,i(35,yi)})}const Gi=ee=>st(ee),Hi=(ee,xe)=>Di(xe,ee);function nn(ee){ve[ee?"unshift":"push"](()=>{Tt=ee,i(34,Tt)})}return t.$$set=ee=>{"ref"in ee&&i(0,te=ee.ref),"supportLink"in ee&&i(96,z=ee.supportLink),"playerControlsHeight"in ee&&i(97,X=ee.playerControlsHeight),"returnFocus"in ee&&i(98,le=ee.returnFocus)},t.$$.update=()=>{if(t.$$.dirty[0]&16384&&B&&(i(15,Ge=!0),i(16,Je=!1),i(17,ct=!1),i(18,bt=!1),i(19,Fe=!1)),t.$$.dirty[3]&1024&&i(36,n=yo(w)),t.$$.dirty[0]&4096|t.$$.dirty[3]&3072&&i(20,Bi=$t(w,v,_)),t.$$.dirty[0]&258|t.$$.dirty[3]&458768)if(s&&G)i(21,ui=`max-height: ${Math.round(M.height*.6)}px`);else if(s)i(21,ui="");else{const ee=ie.height-bl-(Ri?.clientHeight??0)-X;i(21,ui=`max-height: ${ee}px; overflow: auto;`)}if(t.$$.dirty[0]&260|t.$$.dirty[3]&65552)if(s)i(22,Wt="");else{const ee=ie.height-bl-(Rt?.clientHeight??0)-X;i(22,Wt=`max-height: ${ee}px; overflow: auto;`)}if(t.$$.dirty[0]&264|t.$$.dirty[3]&65552)if(s)i(23,ci="");else{const ee=ie.height-bl-(ei?.clientHeight??0)-X;i(23,ci=`max-height: ${ee}px; overflow: auto;`)}t.$$.dirty[3]&36864&&i(24,Kt=j&&V&&!S),t.$$.dirty[3]&20480&&i(25,gi=oe.features.trafficSaving&&!S&&C),t.$$.dirty[0]&1024|t.$$.dirty[3]&4096&&i(26,Ni=c.length>0&&!S),t.$$.dirty[3]&12288&&i(27,mt=!!k&&!S),t.$$.dirty[3]&4096&&i(28,fi=!S),t.$$.dirty[0]&512&&i(29,bi=Y(r?"traffic_saving_on":"traffic_saving_off")),t.$$.dirty[3]&3072&&i(30,_i=_?Y("auto_quality_option"):w),t.$$.dirty[0]&10240&&i(31,Nt=m.find(ee=>ee.value===b)?.displayValue),t.$$.dirty[0]&16|t.$$.dirty[3]&512&&Go(vi,ii,h),t.$$.dirty[0]&32|t.$$.dirty[3]&256&&Go(St,zt,f),t.$$.dirty[0]&64|t.$$.dirty[3]&128&&Go(rt,zi,a),t.$$.dirty[0]&128|t.$$.dirty[3]&64&&Go(ki,ni,l)},[te,Ri,Rt,ei,vi,St,rt,ki,s,r,c,m,v,b,B,Ge,Je,ct,bt,Fe,Bi,ui,Wt,ci,Kt,gi,Ni,mt,fi,bi,_i,Nt,ti,wi,Tt,yi,n,x,L,oe,K,ne,we,Ue,qe,Ie,Ce,ue,ae,be,$,Pe,Te,Me,re,_e,J,Q,De,vt,Bt,xt,qt,ce,pt,ht,ft,st,kt,Pt,ai,Fi,Zt,Ui,Yi,ii,zt,zi,ni,jt,qi,Et,wt,yt,At,Zi,Gt,Ci,Di,Pi,Qi,Si,di,mi,Ti,Ei,z,X,le,l,a,f,h,w,_,S,k,C,V,ie,M,G,Ai,Ae,Wi,Ki,Ii,ji,Li,Ne,pi,Vi,Dt,Ot,oi,$i,Oi,en,tn,Xi,Mi,Gi,Hi,nn]}class au extends ge{constructor(e){super(),he(this,e,jd,Kd,pe,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},Zd,[-1,-1,-1,-1,-1])}}function Gd(t){ze(t,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function Yd(t){let e,i,n;return i=new su({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),H(i,e,null),n=!0},p(o,s){const l={};s&8&&(l.isMobile=o[3]),s&16&&(l.currentQuality=o[4]),i.$set(l)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function Qd(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:[Yd]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"opened":""),r&4&&(a.ariaLabel=l[2]),r&2&&(a.ariaExpanded=l[1]),r&4120&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Xd(t,e,i){let n,o,s,{ref:l=void 0}=e;const r=ut(),a=r.state.currentQuality$;O(t,a,w=>i(4,s=w));const c=r.ui.settingsMenuVisible;O(t,c,w=>i(1,n=w));const f=r.actions.internal.toggleSettingsMenu,m=r.ui.isMobile;O(t,m,w=>i(3,o=w));let h;function v(w){const _=Dl(w);f(_)}function b(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,b]}class Ul extends ge{constructor(e){super(),he(this,e,Xd,Qd,pe,{ref:0},Gd)}}function Jd(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class xd extends ge{constructor(e){super(),he(this,e,null,Jd,pe,{})}}function $d(t){let e,i;return e=new ru({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function e2(t){let e,i;return e=new xd({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function t2(t){let e,i,n,o;const s=[e2,$d],l=[];function r(a,c){return a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e!==f&&(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i||(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function i2(t){let e,i;return e=new hi({props:{testId:"btn-Subtitles",ariaLabel:t[2],click:t[1],ariaKeyShortCut:zo[Se.KeyC],$$slots:{default:[t2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function n2(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 o2 extends ge{constructor(e){super(),he(this,e,n2,i2,pe,{isSubtitlesEnabled:0,click:1})}}function l2(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 rr(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&&Qe(i,n[3])},d(n){n&&T(e)}}}function s2(t){let e,i,n,o,s=t[2]&&rr(t);return{c(){e=A("div"),i=A("span"),n=Re(t[4]),o=D(),s&&s.c(),u(i,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),R(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&&Qe(n,l[4]),l[2]?s?s.p(l,r):(s=rr(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&2&&R(e,"mobile",l[1])},i:W,o:W,d(l){l&&T(e),s&&s.d(),t[7](null)}}}function r2(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){ve[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=Vn(o)),t.$$.dirty&64&&i(4,c=Vn(s))},[r,n,l,a,c,o,s,f]}class uu extends ge{constructor(e){super(),he(this,e,r2,s2,pe,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},l2)}}function a2(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 u2(t){let e,i,n,o,s,l;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(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:W,o:W,d(r){r&&T(e)}}}function c2(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 rl extends ge{constructor(e){super(),he(this,e,c2,u2,pe,{volume:1,muted:2},a2)}}function f2(t){let e,i;const n=t[4].default,o=Mn(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)&&Rn(o,n,s,s[3],i?Bn(n,s[3],l,null):Nn(s[3]),null)},i(s){i||(d(o,s),i=!0)},o(s){g(o,s),i=!1},d(s){s&&T(e),o&&o.d(s),t[5](null)}}}function d2(t,e,i){let n,{$$slots:o={},$$scope:s}=e;const r=ut().ui.overlayContainer$;O(t,r,h=>i(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};on(()=>(f(n),()=>c(n)));function m(h){ve[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 m2 extends ge{constructor(e){super(),he(this,e,d2,f2,pe,{})}}function p2(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 ar(t){let e,i;return e=new m2({props:{$$slots:{default:[h2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&262387&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function h2(t){let e,i,n,o,s,l,r;return{c(){e=A("div"),i=A("div"),n=Re(t[1]),o=D(),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);`),R(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&&Qe(n,a[1]),c&32&&l!==(l=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(s,"style",l),c&192&&r!==(r=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",r),c&1&&R(e,"active",a[0])},d(a){a&&T(e),t[17](null)}}}function g2(t){let e,i,n,o,s,l;const r=t[15].default,a=Mn(r,t,t[18],null);let c=t[1]&&ar(t);return{c(){e=A("div"),a&&a.c(),i=D(),c&&c.c(),n=lt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),R(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=[me(e,"mouseenter",t[11]),me(e,"mousemove",t[11]),me(e,"mouseleave",t[12]),me(e,"mousedown",t[12]),me(e,"mouseup",t[11])],s=!0)},p(f,[m]){a&&a.p&&(!o||m&262144)&&Rn(a,r,f,f[18],o?Bn(r,f[18],m,null):Nn(f[18]),null),(!o||m&4)&&R(e,"full-width",f[2]),f[1]?c?(c.p(f,m),m&2&&d(c,1)):(c=ar(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(fe(),g(c,1,1,()=>{c=null}),de())},i(f){o||(d(a,f),d(c),o=!0)},o(f){g(a,f),g(c),o=!1},d(f){f&&(T(e),T(i),T(n)),a&&a.d(f),t[16](null),c&&c.d(f),s=!1,$e(l)}}}const Xo=5;function b2(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,b,w=0,_=Xo,S=0,k=0;const C=ln(),V=ut(),ie=V.ui.playerSize;O(t,ie,P=>i(21,o=P));const M=V.ui.overlayContainer$;O(t,M,P=>i(20,n=P));const G=V.getLogger().createComponentLog("Tooltip component"),B=()=>{if(!n)return;const P=n.getBoundingClientRect(),oe=h.getBoundingClientRect(),K=oe.width,ne=v.clientWidth,we=o.width,Ue=(K-ne)/2,qe=oe.left+c-P.left;let Ie=qe+Ue;const Ce=oe.top+f-P.top;let ue=ne/2-Xo;const j=Ie<Wo,ae=Ie+ne>we-Wo;j&&(Ie=Wo,ue=qe+oe.width/2-2.5*Xo),ae&&(Ie=we-Wo-ne,ue=oe.left-P.left+oe.width/2-Ie-Xo),i(6,S=Ie),i(7,k=Ce),i(5,w=ue)},x=()=>{try{if(!n||!h)return;B(),i(0,a=!0)}catch(P){G({message:String(P)})}},L=()=>{i(0,a=!1)},te=()=>{v&&(b||(b=window.setTimeout(x,C.controls.hideTimeoutTooltips)),a&&x())},z=()=>{L(),window.clearTimeout(b),b=void 0};ll(()=>window.clearTimeout(b));function X(P){ve[P?"unshift":"push"](()=>{h=P,i(3,h)})}function le(P){ve[P?"unshift":"push"](()=>{v=P,i(4,v)})}return t.$$set=P=>{"content"in P&&i(1,r=P.content),"active"in P&&i(0,a=P.active),"translateX"in P&&i(13,c=P.translateX),"translateY"in P&&i(14,f=P.translateY),"isFullWidthWrapper"in P&&i(2,m=P.isFullWidthWrapper),"$$scope"in P&&i(18,l=P.$$scope)},[a,r,m,h,v,w,S,k,_,ie,M,te,z,c,f,s,X,le,l]}class cu extends ge{constructor(e){super(),he(this,e,b2,g2,pe,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},p2)}}function _2(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 v2(t){let e;const i=t[16].default,n=Mn(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)&&Rn(n,i,o,o[21],e?Bn(i,o[21],s,null):Nn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function w2(t){let e,i;return e=new cu({props:{content:t[9],translateX:t[7],translateY:t[8],isFullWidthWrapper:t[4],$$slots:{default:[k2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&512&&(s.content=n[9]),o&128&&(s.translateX=n[7]),o&256&&(s.translateY=n[8]),o&16&&(s.isFullWidthWrapper=n[4]),o&2097152&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function k2(t){let e;const i=t[16].default,n=Mn(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)&&Rn(n,i,o,o[21],e?Bn(i,o[21],s,null):Nn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function y2(t){let e,i,n,o,s,l,r,a,c;const f=[w2,v2],m=[];function h(v,b){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),vo(()=>t[20].call(e))},m(v,b){E(v,e,b),m[i].m(e,null),t[19](e),l=Vl(e,t[20].bind(e)),r=!0,a||(c=[me(e,"pointerdown",tt(Jt(t[17]))),me(e,"click",tt(Jt(t[18])))],a=!0)},p(v,[b]){let w=i;i=h(v),i===w?m[i].p(v,b):(fe(),g(m[w],1,1,()=>{m[w]=null}),de(),n=m[i],n?n.p(v,b):(n=m[i]=f[i](v),n.c()),d(n,1),n.m(e,null)),(!r||b&4&&o!==(o="btn-container "+v[2]+" v-p9r045"))&&u(e,"class",o),(!r||b&64&&s!==(s=v[6]||null))&&u(e,"aria-hidden",s)},i(v){r||(d(n),r=!0)},o(v){g(n),r=!1},d(v){v&&T(e),m[i].d(),t[19](null),l(),a=!1,$e(c)}}}function C2(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:b=Y("tooltip_button_disabled")}=e,{isAriaHidden:w=!1}=e,{initialTranslateXPx:_=0}=e,{initialTranslateYPx:S=-18}=e;const k=ut(),C=k.ui.isMobile;O(t,C,L=>i(10,o=L));const V=k.state.graphIsOpened$;O(t,V,L=>i(15,n=L));let ie;function M(L){_o.call(this,t,L)}function G(L){_o.call(this,t,L)}function B(L){ve[L?"unshift":"push"](()=>{f=L,i(0,f)})}function x(){m=this.clientWidth,i(1,m)}return t.$$set=L=>{"className"in L&&i(2,r=L.className),"disabled"in L&&i(13,a=L.disabled),"hasTooltip"in L&&i(3,c=L.hasTooltip),"ref"in L&&i(0,f=L.ref),"width"in L&&i(1,m=L.width),"isFullWidthTooltip"in L&&i(4,h=L.isFullWidthTooltip),"tooltipContent"in L&&i(5,v=L.tooltipContent),"disabledTooltipContent"in L&&i(14,b=L.disabledTooltipContent),"isAriaHidden"in L&&i(6,w=L.isAriaHidden),"initialTranslateXPx"in L&&i(7,_=L.initialTranslateXPx),"initialTranslateYPx"in L&&i(8,S=L.initialTranslateYPx),"$$scope"in L&&i(21,l=L.$$scope)},t.$$.update=()=>{t.$$.dirty&57376&&(a?i(9,ie=n?Y("tooltip_disabled_when_graph_on"):b):i(9,ie=v))},[f,m,r,c,h,v,w,_,S,ie,o,C,V,a,b,n,s,M,G,B,x,l]}class Mt extends ge{constructor(e){super(),he(this,e,C2,y2,pe,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},_2)}}function P2(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 S2(t){let e,i,n,o,s;return i=new tu({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}%`),vo(()=>t[3].call(e)),R(e,"disabled",t[1])},m(l,r){E(l,e,r),H(i,e,null),o=Vl(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)&&R(e,"disabled",l[1])},i(l){s||(d(i.$$.fragment,l),s=!0)},o(l){g(i.$$.fragment,l),s=!1},d(l){l&&T(e),F(i),o()}}}function T2(t){let e,i;return e=new Mt({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:[S2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.tooltipContent=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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function E2(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 A2 extends ge{constructor(e){super(),he(this,e,E2,T2,pe,{videoEpisode:0,disabled:1},P2)}}function I2(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 ur(t,e,i){const n=t.slice();return n[2]=e[i],n}function cr(t){let e,i,n,o,s,l,r,a,c;return{c(){e=A("div"),i=A("div"),n=A("div"),s=D(),l=A("div"),a=D(),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}%)`),R(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}%`),R(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&&R(l,"mobile",f[1]),m&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),m&2&&R(e,"mobile",f[1])},d(f){f&&T(e)}}}function L2(t){let e,i=Ut(t[0]),n=[];for(let o=0;o<i.length;o+=1)n[o]=cr(ur(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=Ut(o[0]);let l;for(l=0;l<i.length;l+=1){const r=ur(o,i,l);n[l]?n[l].p(r,s):(n[l]=cr(r),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},i:W,o:W,d(o){o&&T(e),wn(n,o)}}}function V2(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 M2 extends ge{constructor(e){super(),he(this,e,V2,L2,pe,{videoEpisodes:0,isMobile:1},I2)}}function B2(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 fr(t,e,i){const n=t.slice();return n[48]=e[i],n}function dr(t){let e,i,n=Ut(t[21]),o=[];for(let l=0;l<n.length;l+=1)o[l]=pr(fr(t,n,l));const s=l=>g(o[l],1,1,()=>{o[l]=null});return{c(){e=A("div");for(let l=0;l<o.length;l+=1)o[l].c();u(e,"class","interactive-icons v-1golz1y"),R(e,"mobile",t[5]),R(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=Ut(l[21]);let a;for(a=0;a<n.length;a+=1){const c=fr(l,n,a);o[a]?(o[a].p(c,r),d(o[a],1)):(o[a]=pr(c),o[a].c(),d(o[a],1),o[a].m(e,null))}for(fe(),a=n.length;a<o.length;a+=1)s(a);de()}(!i||r[0]&32)&&R(e,"mobile",l[5]),(!i||r[0]&1048608)&&R(e,"hidden",l[5]&&!l[20])},i(l){if(!i){for(let r=0;r<n.length;r+=1)d(o[r]);i=!0}},o(l){o=o.filter(Boolean);for(let r=0;r<o.length;r+=1)g(o[r]);i=!1},d(l){l&&T(e),wn(o,l)}}}function mr(t){let e,i;return e=new A2({props:{videoEpisode:t[48],disabled:t[9]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisode=n[48]),o[0]&512&&(s.disabled=n[9]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function pr(t){let e,i,n=t[48].interactive&&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[48].interactive?n?(n.p(o,s),s[0]&2097152&&d(n,1)):(n=mr(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&T(e),n&&n.d(o)}}}function R2(t){let e,i,n,o,s,l;return{c(){e=A("div"),i=A("div"),o=D(),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}%);`),R(s,"active-live",t[4]),R(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&&R(s,"active-live",r[4]),a[0]&64&&R(s,"ads",r[6])},i:W,o:W,d(r){r&&T(e)}}}function N2(t){let e,i;return e=new M2({props:{videoEpisodes:t[21],isMobile:t[5]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisodes=n[21]),o[0]&32&&(s.isMobile=n[5]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function z2(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b=t[8]&&dr(t);const w=[N2,R2],_=[];function S(k,C){return k[21].length?0:1}return n=S(t),o=_[n]=w[n](t),{c(){b&&b.c(),e=D(),i=A("div"),o.c(),s=D(),l=A("div"),r=A("div"),u(r,"class","handle v-1golz1y"),R(r,"active-live",t[4]),u(l,"class","handleWrap v-1golz1y"),u(l,"style",a=`transform: translateX(${t[13]*100}%);`),R(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),R(i,"disabled",t[9]),R(i,"slider-dragging",t[20]),R(i,"hidden",t[2]),R(i,"slider-vertical",t[3]),R(i,"no-handle",t[10]),R(i,"square",t[7])},m(k,C){b&&b.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=[me(i,"pointerdown",Jt(t[22])),me(i,"pointermove",Jt(t[23])),me(i,"pointerup",Jt(t[24])),me(i,"pointerenter",Jt(t[25])),me(i,"pointerleave",Jt(t[26])),me(i,"click",tt(je)),me(i,"wheel",t[27])],h=!0)},p(k,C){k[8]?b?(b.p(k,C),C[0]&256&&d(b,1)):(b=dr(k),b.c(),d(b,1),b.m(e.parentNode,e)):b&&(fe(),g(b,1,1,()=>{b=null}),de());let V=n;n=S(k),n===V?_[n].p(k,C):(fe(),g(_[V],1,1,()=>{_[V]=null}),de(),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)&&R(r,"active-live",k[4]),(!m||C[0]&8192&&a!==(a=`transform: translateX(${k[13]*100}%);`))&&u(l,"style",a),(!m||C[0]&1024)&&R(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)&&R(i,"disabled",k[9]),(!m||C[0]&1048577)&&R(i,"slider-dragging",k[20]),(!m||C[0]&5)&&R(i,"hidden",k[2]),(!m||C[0]&9)&&R(i,"slider-vertical",k[3]),(!m||C[0]&1025)&&R(i,"no-handle",k[10]),(!m||C[0]&129)&&R(i,"square",k[7])},i(k){m||(d(b),d(o),m=!0)},o(k){g(b),g(o),m=!1},d(k){k&&(T(e),T(i)),b&&b.d(k),_[n].d(),t[42](null),h=!1,$e(v)}}}function D2(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:b=!1}=e,{isInteractive:w=!1}=e,{disabled:_=!1}=e,{hideHandel:S=!1}=e,k,C,{onPointerDown:V=je}=e,{onHandleMove:ie=je}=e,{onPointerUp:M=je}=e,{onPointerEnter:G=je}=e,{onPointerMove:B=je}=e,{onPointerLeave:x=je}=e,{onWheelUp:L=je}=e,{onWheelDown:te=je}=e,{onWheelLeft:z=je}=e,{onWheelRight:X=je}=e,{loadedProgress:le=0}=e,{filledProgress:P=0}=e,{handleProgress:oe=0}=e,{ariaLabel:K=""}=e,{ariaValueMin:ne=void 0}=e,{ariaValueMax:we=void 0}=e,{ariaValueNow:Ue=void 0}=e,{ariaValueText:qe=""}=e;const Ie=ln();let Ce=!1,ue;function j(Q){if(Ce)return;i(20,Ce=!0),C=k.getBoundingClientRect();const De=Me(Q.clientX,Q.clientY);V(De),k.setPointerCapture(Q.pointerId)}function ae(Q){const De=Me(Q.clientX,Q.clientY),et=re(Q.clientX);B(De,et,C.width),Ce&&ie(De)}function be(Q){if(!Ce)return;i(20,Ce=!1);const De=Me(Q.clientX,Q.clientY);M(De)}function $(Q){C=k.getBoundingClientRect();const De=Me(Q.clientX,Q.clientY),et=re(Q.clientX);G(De,et,C.width)}function Pe(){x()}function Te(Q){b&&(Q.preventDefault(),Q.deltaY<0?L():Q.deltaY>0?te():Q.deltaX>0?X():z())}function Me(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 re(Q){return Math.min(Math.max(Q-C.x,0),C.width)}function _e(Q,De){const et=Ie.features.episodesClustering&&!w?Ie.episodeMinWidthPc:0,Xe=[];let ye=0,Ge=0,Je=0;for(let Fe=1;Fe<v.length;Fe++)Ge=v[Fe].time/ue*100,Ge-ye>et&&(Xe.push({from:ye,width:Math.max(0,Ge-ye),loadedWidth:Math.max(0,Math.min(Ge,Q)-ye),filledWidth:Math.max(0,Math.min(Ge,De)-ye),interactive:v[Fe-1].interactive,completed:v[Fe-1].completed}),ye=v[Fe].time/ue*100,Je++);const ct={from:ye,width:Math.max(0,100-ye),loadedWidth:Math.max(0,Math.min(Q,100)-ye),filledWidth:Math.max(0,Math.min(De,100)-ye),interactive:v[Je].interactive,completed:v[Je].completed};100-ye<et?(Je-=1,Xe[Je].width+=100-ye,Xe[Je].loadedWidth+=Math.max(0,Math.min(Q,100)-ye),Xe[Je].filledWidth+=Math.max(0,Math.min(De,100)-ye)):Xe[Je]=ct;const bt=v[0].time;if(bt!==0){const Fe=bt/ue*100;Xe.unshift({from:0,width:Fe,loadedWidth:Math.min(Fe,Q),filledWidth:Math.min(Fe,De)})}return Xe}function J(Q){ve[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,b=Q.withWheelHandler),"isInteractive"in Q&&i(8,w=Q.isInteractive),"disabled"in Q&&i(9,_=Q.disabled),"hideHandel"in Q&&i(10,S=Q.hideHandel),"onPointerDown"in Q&&i(30,V=Q.onPointerDown),"onHandleMove"in Q&&i(31,ie=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,L=Q.onWheelUp),"onWheelDown"in Q&&i(37,te=Q.onWheelDown),"onWheelLeft"in Q&&i(38,z=Q.onWheelLeft),"onWheelRight"in Q&&i(39,X=Q.onWheelRight),"loadedProgress"in Q&&i(11,le=Q.loadedProgress),"filledProgress"in Q&&i(12,P=Q.filledProgress),"handleProgress"in Q&&i(13,oe=Q.handleProgress),"ariaLabel"in Q&&i(14,K=Q.ariaLabel),"ariaValueMin"in Q&&i(15,ne=Q.ariaValueMin),"ariaValueMax"in Q&&i(16,we=Q.ariaValueMax),"ariaValueNow"in Q&&i(17,Ue=Q.ariaValueNow),"ariaValueText"in Q&&i(18,qe=Q.ariaValueText)},t.$$.update=()=>{t.$$.dirty[0]&65536&&i(40,ue=we??0),t.$$.dirty[0]&268435456|t.$$.dirty[1]&512&&i(41,n=v[v.length-1]?.time<ue),t.$$.dirty[0]&268441600|t.$$.dirty[1]&1536&&i(21,o=v.length&&n&&ue?_e(le*100,P*100):[])},[s,l,r,a,c,f,m,h,w,_,S,le,P,oe,K,ne,we,Ue,qe,k,Ce,o,j,ae,be,$,Pe,Te,v,b,V,ie,M,G,B,x,L,te,z,X,ue,n,J]}class ql extends ge{constructor(e){super(),he(this,e,D2,z2,pe,{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},B2,[-1,-1])}}const gn=(t,e)=>ko[t]>=ko[e],O2=(t,e)=>ko[t]<ko[e],fu=(t,e)=>ko[t]<=ko[e],H2=t=>t>ho.L?_t.XL:t>ho.M?_t.L:t>ho.S?_t.M:t>ho.XS?_t.S:_t.XS;function F2(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 U2(t){let e,i;return e=new rl({props:{volume:t[4],muted:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&16&&(s.volume=n[4]),o[0]&4&&(s.muted=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function q2(t){let e,i;return e=new hi({props:{className:"btn-full-opacity",disabled:!t[0],testId:t[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:t[7],click:t[1],ariaKeyShortCut:zo[Se.KeyM],$$slots:{default:[U2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&1&&(s.disabled=!n[0]),o[0]&8&&(s.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(s.ariaLabel=n[7]),o[0]&2&&(s.click=n[1]),o[0]&20|o[1]&1&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function hr(t){let e,i,n;return i=new ql({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]:je,onPointerLeave:t[3]?t[18]:je,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"),R(e,"volumeBar-vertical",t[3])},m(o,s){E(o,e,s),H(i,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.className=o[3]?"volumeBar-slider-vertical":""),s[0]&40&&(l.isHidden=o[3]&&!o[5]),s[0]&8&&(l.isVertical=o[3]),s[0]&8&&(l.onPointerEnter=o[3]?o[17]:je),s[0]&8&&(l.onPointerLeave=o[3]?o[18]:je),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)&&R(e,"volumeBar-vertical",o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function Z2(t){let e,i,n,o,s,l;i=new cu({props:{content:t[6],translateY:-18,$$slots:{default:[q2]},$$scope:{ctx:t}}});let r=t[0]&&hr(t);return{c(){e=A("div"),U(i.$$.fragment),n=D(),r&&r.c(),u(e,"class","volumeBar-container v-1l78lz9"),R(e,"vertical",t[3])},m(a,c){E(a,e,c),H(i,e,null),p(e,n),r&&r.m(e,null),o=!0,s||(l=[me(e,"mouseenter",function(){_n(t[3]?t[19]:je)&&(t[3]?t[19]:je).apply(this,arguments)}),me(e,"mouseleave",function(){_n(t[3]?t[20]:je)&&(t[3]?t[20]:je).apply(this,arguments)}),me(e,"wheel",Jt(t[21]))],s=!0)},p(a,c){t=a;const f={};c[0]&64&&(f.content=t[6]),c[0]&159|c[1]&1&&(f.$$scope={dirty:c,ctx:t}),i.$set(f),t[0]?r?(r.p(t,c),c[0]&1&&d(r,1)):(r=hr(t),r.c(),d(r,1),r.m(e,null)):r&&(fe(),g(r,1,1,()=>{r=null}),de()),(!o||c[0]&8)&&R(e,"vertical",t[3])},i(a){o||(d(i.$$.fragment,a),d(r),o=!0)},o(a){g(i.$$.fragment,a),g(r),o=!1},d(a){a&&T(e),F(i),r&&r.d(),s=!1,$e(l)}}}function W2(t,e,i){let n,o,s,{isAudioAvailable:l=!0}=e,{click:r}=e;const a=ut(),c=ln(),f=a.state.volume$;O(t,f,ne=>i(4,n=ne));const m=a.state.muted$;O(t,m,ne=>i(23,s=ne));const h=a.actions.internal.setVolume,v=a.ui.currentGridType$;O(t,v,ne=>i(22,o=ne));let b=!1,w,_,S,k,C,V,ie=1,M=!1;function G(ne){ie=n,h(ne)}function B(){$1(a,n,c.controls.volumeStepWheel)}function x(){eu(a,n,c.controls.volumeStepWheel)}function L(ne){h(ne)}function te(ne){const we=ne;h(we,we===0?ie:we)}function z(){M=!0}function X(){M=!1,oe()}function le(){clearTimeout(w),i(5,b=!0)}function P(){oe()}function oe(){w=window.setTimeout(()=>{M||i(5,b=!1)},c.controls.volumeBarTimeout)}function K(ne){ne.deltaY<0?B():ne.deltaY>0&&x()}return t.$$set=ne=>{"isAudioAvailable"in ne&&i(0,l=ne.isAudioAvailable),"click"in ne&&i(1,r=ne.click)},t.$$.update=()=>{t.$$.dirty[0]&8388609&&i(2,k=!l||s),t.$$.dirty[0]&4194304&&i(3,C=fu(o,_t.S)),t.$$.dirty[0]&12&&(C?i(6,_=""):i(6,_=Y(k?"tooltip_volume":"tooltip_volume_muted")),i(7,S=Y(k?"tooltip_volume":"tooltip_volume_muted"))),t.$$.dirty[0]&20&&i(8,V=k?0:n)},[l,r,k,C,n,b,_,S,V,f,m,v,G,B,x,L,te,z,X,le,P,K,o,s]}class K2 extends ge{constructor(e){super(),he(this,e,W2,Z2,pe,{isAudioAvailable:0,click:1},F2,[-1,-1])}}function j2(t){let e;return{c(){e=N("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(i,n){E(i,e,n)},d(i){i&&T(e)}}}function G2(t){let e;return{c(){e=N("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(i,n){E(i,e,n)},d(i){i&&T(e)}}}function Y2(t){let e,i,n;function o(r,a){return r[0]?G2:j2}let s=o(t),l=s(t);return{c(){e=N("svg"),i=N("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:W,o:W,d(r){r&&T(e),l.d()}}}function Q2(t,e,i){let{isFullscreen:n=!1}=e;return t.$$set=o=>{"isFullscreen"in o&&i(0,n=o.isFullscreen)},[n]}class X2 extends ge{constructor(e){super(),he(this,e,Q2,Y2,pe,{isFullscreen:0})}}function J2(t){let e,i;return e=new X2({props:{isFullscreen:t[0]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&1&&(s.isFullscreen=n[0]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function x2(t){let e,i;return e=new hi({props:{testId:"btn-fullscreen",ariaLabel:t[2],click:t[1],ariaKeyShortCut:zo[Se.KeyF],$$slots:{default:[J2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function $2(t,e,i){let{isFullscreen:n=!1}=e,{click:o=je}=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 du extends ge{constructor(e){super(),he(this,e,$2,x2,pe,{isFullscreen:0,click:1})}}function em(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class Zl extends ge{constructor(e){super(),he(this,e,null,em,pe,{})}}function tm(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class mu extends ge{constructor(e){super(),he(this,e,null,tm,pe,{})}}function im(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 gr(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 nm(t){let e,i,n,o,s=t[1]&&gr();var l=t[8];function r(a){return{}}return l&&(n=Sn(l,r())),{c(){s&&s.c(),e=D(),i=A("div"),n&&U(n.$$.fragment),u(i,"class","v-1ot3duq"),R(i,"mobile",t[1])},m(a,c){s&&s.m(a,c),E(a,e,c),E(a,i,c),n&&H(n,i,null),o=!0},p(a,c){if(a[1]?s||(s=gr(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),c&256&&l!==(l=a[8])){if(n){fe();const f=n;g(f.$$.fragment,1,0,()=>{F(f,1)}),de()}l?(n=Sn(l,r()),U(n.$$.fragment),d(n.$$.fragment,1),H(n,i,null)):n=null}(!o||c&2)&&R(i,"mobile",a[1])},i(a){o||(n&&d(n.$$.fragment,a),o=!0)},o(a){n&&g(n.$$.fragment,a),o=!1},d(a){a&&(T(e),T(i)),s&&s.d(a),n&&F(n)}}}function om(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:zo[Se.KeyK],$$slots:{default:[nm]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&112&&(a.click=l[5]?l[6]:l[4]),r&4&&(a.disabled=l[2]),r&128&&(a.ariaLabel=l[7]),r&33026&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function lm(t,e,i){let n,o;const{fakeIsPlaying$:s}=sl();O(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=je}=e;const{toggle:h}=s;let v,b,w,_;function S(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,b=o!==null),t.$$.dirty&5152&&i(11,w=b?o:a),t.$$.dirty&2048&&i(7,_=Y(w?"tooltip_pause":"tooltip_play")),t.$$.dirty&2048&&i(8,n=w?mu:Zl)},i(6,v=h),[l,r,c,f,m,b,v,_,n,s,a,w,o,S]}class Wl extends ge{constructor(e){super(),he(this,e,lm,om,pe,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},im)}}function sm(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 rm(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),u(i,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(i,"fill","#fff"),u(e,"data-testid",n=t[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),R(e,"prev",t[0]),R(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&&R(e,"prev",o[0]),s&2&&R(e,"mobile",o[1])},i:W,o:W,d(o){o&&T(e)}}}function am(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 um extends ge{constructor(e){super(),he(this,e,am,rm,pe,{isPrev:0,isMobile:1},sm)}}function cm(t){let e,i;return e=new um({props:{isMobile:t[1],isPrev:t[3]==="prev"}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&8&&(s.isPrev=n[3]==="prev"),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function fm(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:[cm]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.testId="btn-"+l[3]),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&138&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function dm(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 al extends ge{constructor(e){super(),he(this,e,dm,fm,pe,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function mm(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class pm extends ge{constructor(e){super(),he(this,e,null,mm,pe,{})}}function hm(t){ze(t,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function br(t){let e,i,n,o,s,l,r;return{c(){e=N("path"),i=N("path"),n=N("path"),o=N("path"),s=N("path"),l=N("path"),r=N("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(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 gm(t){let e,i,n,o=!t[0]&&br();return{c(){e=N("svg"),i=N("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"),R(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=br(),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&&R(e,"mobile",s[1])},i:W,o:W,d(s){s&&T(e),o&&o.d()}}}function bm(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 _m extends ge{constructor(e){super(),he(this,e,bm,gm,pe,{short:0,isMobile:1},hm)}}function vm(t){let e,i;return e=new pm({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p:W,i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function wm(t){let e,i;return e=new _m({props:{short:t[4],isMobile:!!t[7]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.short=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function km(t){let e,i,n,o;const s=[wm,vm],l=[];function r(a,c){return a[2]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function ym(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:[km]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.disabled=!l[1]),r&4&&(a.testId=l[2]?"btn-vk-video-logo":"btn-vk-logo"),r&8&&(a.ariaLabel=l[3]),r&524308&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Cm(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=ln(),{logoLink:m,addTimeToLogoLink:h}=f,v=ut(),b=v.state.positionWithScrubbing$;O(t,b,M=>i(14,n=M));const w=v.ui.currentGridType$;O(t,w,M=>i(11,o=M));const _=v.ui.isMobile;O(t,_,M=>i(12,s=M));let S,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",kc(G)),M=B.toString()}else M=a}c(),window.open(M,"_blank")};function ie(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||fu(o,_t.L))&&k)},i(3,S=f.logoType===wo.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),i(2,k=f.logoType===wo.VK_VIDEO),[l,r,k,S,C,b,w,_,V,a,c,o,s,ie]}class pu extends ge{constructor(e){super(),he(this,e,Cm,ym,pe,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function Pm(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 Sm(t){let e,i,n,o,s,l,r,a;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("path"),l=N("path"),r=N("path"),a=N("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(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"),R(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"),R(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&&R(a,"hidden",!c[1]),f&4&&R(e,"connecting",c[2])},d(c){c&&T(e)}}}function Tm(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie;return{c(){e=N("svg"),i=N("g"),n=N("mask"),o=N("path"),l=N("path"),r=N("path"),c=N("path"),f=N("defs"),m=N("clipPath"),h=N("path"),b=N("filter"),w=N("feFlood"),_=N("feColorMatrix"),S=N("feOffset"),k=N("feGaussianBlur"),C=N("feColorMatrix"),V=N("feBlend"),ie=N("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(ie,"in","SourceGraphic"),u(ie,"in2","effect1_dropShadow_4085_178456"),u(ie,"result","shape"),u(b,"id","b"),u(b,"x","-3.4"),u(b,"y","-1.4"),u(b,"width","30.8"),u(b,"height","26.802"),u(b,"filterUnits","userSpaceOnUse"),u(b,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(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,b),p(b,w),p(b,_),p(b,S),p(b,k),p(b,C),p(b,V),p(b,ie)},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 Em(t){let e;function i(s,l){return s[0]?Tm:Sm}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(s){s&&T(e),o.d(s)}}}function Am(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===Pn.CONNECTING),i(1,s=o===Pn.CONNECTED))},[n,s,l,o]}class Im extends ge{constructor(e){super(),he(this,e,Am,Em,pe,{isMobile:0,state:3},Pm)}}function Lm(t){let e,i;return e=new Im({props:{isMobile:t[1],state:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&4&&(s.state=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Vm(t){let e,i,n;function o(l){t[5](l)}let s={ariaLabel:t[4],click:t[3],testId:"btn-chromecast",$$slots:{default:[Lm]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&16&&(a.ariaLabel=l[4]),r&8&&(a.click=l[3]),r&70&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Mm(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{state:s}=e,{click:l=je}=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===Pn.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off"))},[n,o,s,l,r,a]}class hu extends ge{constructor(e){super(),he(this,e,Mm,Vm,pe,{ref:0,isMobile:1,state:2,click:3})}}function Bm(t){let e,i;return e=new W1({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Rm(t){let e,i;return e=new hi({props:{className:t[0]?"":"btn--live btn-full-opacity",testId:t[1]?"btn-live":"btn-live-offset",disabled:t[1]&&t[3]===Ft.PLAYING,ariaLabel:t[2],click:t[4],$$slots:{default:[Bm]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(s.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(s.disabled=n[1]&&n[3]===Ft.PLAYING),o&4&&(s.ariaLabel=n[2]),o&16&&(s.click=n[4]),o&514&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Nm(t,e,i){let n,{isMobile:o=!1}=e,{isActiveLive:s=!1}=e,{ariaLabel:l=""}=e;const r=ut(),a=r.state.playbackState$;O(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===Ft.PAUSED&&f()})},[o,s,l,n,m,a]}class gu extends ge{constructor(e){super(),he(this,e,Nm,Rm,pe,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function zm(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 Dm(t){let e,i,n,o;const s=t[9].default,l=Mn(s,t,t[8],null);return{c(){e=A("div"),i=A("div"),l&&l.c(),u(i,"class","tooltip v-5ygsa2"),R(i,"active",t[0]),R(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)&&Rn(l,s,r,r[8],o?Bn(s,r[8],a,null):Nn(r[8]),null),(!o||a&1)&&R(i,"active",r[0]),(!o||a&2)&&R(i,"pointer",r[1]),(!o||a&36&&n!==(n=`transform: translate(${r[5]}px, ${r[2]}px);`))&&u(e,"style",n)},i(r){o||(d(l,r),o=!0)},o(r){g(l,r),o=!1},d(r){r&&T(e),l&&l.d(r),t[10](null),t[11](null)}}}function Om(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:S}=h.getBoundingClientRect(),k=S/2;return _<k?k:_>f-k?f-k:_}function b(_){ve[_?"unshift":"push"](()=>{h=_,i(4,h)})}function w(_){ve[_?"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,b,w]}class Hm extends ge{constructor(e){super(),he(this,e,Om,Dm,pe,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},zm)}}const bu=(t,e,i)=>i.filter(n=>n.time<t*e).pop();function Fm(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 _r(t){let e;function i(s,l){return s[2]&&s[10].completed===!1?qm:Um}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 Um(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||"")+"")&&Qe(i,e)},d(n){n&&T(i)}}}function qm(t){let e=Y("tooltip_episode_unfinished")+"",i;return{c(){i=Re(e)},m(n,o){E(n,i,o)},p:W,d(n){n&&T(i)}}}function Zm(t){let e,i,n,o,s,l,r,a,c=t[10]&&_r(t);return{c(){e=A("div"),i=A("div"),o=D(),s=A("div"),c&&c.c(),l=D(),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"),R(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=_r(f),c.c(),c.m(s,null)):c&&(c.d(1),c=null),m&1&&Qe(a,f[0]),m&2&&R(e,"mobile",f[1])},i:W,o:W,d(f){f&&T(e),c&&c.d()}}}const fo=150;function Wm(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=ut().ui.rotateAlpha;O(t,h,G=>i(11,n=G));let v,b,w,_,S,k,C,V;function ie(){let G=r.frameWidth,B=r.frameHeight;return G>fo?(B=B/G*fo,G=fo):B>fo&&(G=G/B*fo,B=fo),{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),L=Math.floor(B%r.countPerImage/r.countPerRow),te=B%r.countPerRow;let z=Math.floor(r.countPerImage/r.countPerRow);!r.isUV&&x===Math.floor(r.countTotal/r.countPerImage)&&(z=Math.floor(r.countTotal%r.countPerImage/r.countPerRow),r.countTotal%r.countPerImage%r.countPerRow>0&&z++);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 le=v*X,P=b*z,oe=-te*v,K=-L*b;return{imgSrc:r.links[x],imgWidth:le,imgHeight:P,imgOffsetX:oe,imgOffsetY:K}}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:S,imgOffsetX:k,imgOffsetY:C}=M(a),w,(i(6,_),i(15,a)),(i(7,S),i(15,a)),(i(8,k),i(15,a)),(i(9,C),i(15,a))),t.$$.dirty&106496&&i(10,V=bu(a,c,l))},i(3,{width:v,height:b}=ie(),v,i(4,b)),[o,s,f,v,b,w,_,S,k,C,V,n,h,l,r,a,c]}class Km extends ge{constructor(e){super(),he(this,e,Wm,Zm,pe,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},Fm)}}function jm(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 Gm(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&&Qe(i,n[7])},i:W,o:W,d(n){n&&T(e)}}}function Ym(t){let e,i;return e=new Km({props:{time:t[7],isMobile:t[10],videoEpisodes:t[3],previewThumbsData:t[21],progress:t[8],duration:t[1],isInteractive:t[23]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&128&&(s.time=n[7]),o[0]&1024&&(s.isMobile=n[10]),o[0]&8&&(s.videoEpisodes=n[3]),o[0]&256&&(s.progress=n[8]),o[0]&2&&(s.duration=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Qm(t){let e,i,n,o;const s=[Ym,Gm],l=[];function r(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function Xm(t){let e,i,n,o;const s=[t[9]];let l={$$slots:{default:[Qm]},$$scope:{ctx:t}};for(let r=0;r<s.length;r+=1)l=f1(l,s[r]);return e=new Hm({props:l}),n=new ql({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(nt.TIMELINE),hideHandel:t[2]}}),{c(){U(e.$$.fragment),i=D(),U(n.$$.fragment)},m(r,a){H(e,r,a),E(r,i,a),H(n,r,a),o=!0},p(r,a){const c=a[0]&512?Wc(s,[Kc(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(nt.TIMELINE)),a[0]&4&&(f.hideHandel=r[2]),n.$set(f)},i(r){o||(d(e.$$.fragment,r),d(n.$$.fragment,r),o=!0)},o(r){g(e.$$.fragment,r),g(n.$$.fragment,r),o=!1},d(r){r&&T(i),F(e,r),F(n,r)}}}function Jm(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,{showTimeline:b=!1}=e;const w=ut(),_=ln(),S=w.state.bufferedProgress$;O(t,S,J=>i(12,h=J));const k=w.state.positionWithScrubbing$;O(t,k,J=>i(39,a=J));const C=w.state.duration$;O(t,C,J=>i(1,s=J));const V=w.state.isLive$;O(t,V,J=>i(0,o=J));const ie=w.state.isActiveLive$;O(t,ie,J=>i(11,m=J));const M=w.ui.isMobile;O(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$;O(t,x,J=>i(40,c=J));const L=w.state.isInteractive,te=w.state.isInteractiveTime$;O(t,te,J=>i(2,l=J));const z=w.state.isInteractiveExpectation$;O(t,z,J=>i(38,r=J));const X=w.actions.internal.correctSeekTimeToInteractive,le=w.ui.controls.disabledControls$;O(t,le,J=>i(13,v=J));let P,oe,K,ne,we=!1,Ue="",qe=0,Ie=0,Ce=0,ue;function j(J){return!X||!L?J:X(J*s)/s}function ae(J){w.actions.internal.startScrubbing(j(J))}function be(J){l||w.actions.internal.progressScrubbing(j(J))}function $(J){w.actions.internal.completeScrubbing(j(J)),i(34,we=!1)}function Pe(J,Q,De){re(J,Q,De),i(34,we=!0)}function Te(J,Q,De){re(J,Q,De),i(34,we=!0)}function Me(){i(34,we=!1)}function re(J,Q,De){i(8,Ce=J),i(35,qe=Q),De&&i(36,Ie=De),i(7,Ue=_e(J))}function _e(J){const Q=Vn((o?1-J:J)*s);return o?`-${Q}`:Q}return t.$$set=J=>{"showTimeline"in J&&i(33,b=J.showTimeline)},t.$$.update=()=>{t.$$.dirty[1]&512&&i(3,P=L?c:G),t.$$.dirty[0]&2&&i(4,oe=Vn(s)),t.$$.dirty[1]&256&&i(5,K=Vn(a)),t.$$.dirty[0]&2|t.$$.dirty[1]&256&&i(6,ne=a/s),t.$$.dirty[0]&4|t.$$.dirty[1]&128&&i(37,ue=r||l),t.$$.dirty[0]&1|t.$$.dirty[1]&124&&i(9,n={containerWidth:Ie,translateXPx:qe,translateYPx:L&&B?-36:-16,active:we&&b&&!ue,pointer:!_.features.timelinePreview||!B||o})},[o,s,l,P,oe,K,ne,Ue,Ce,n,f,m,h,v,_,S,k,C,V,ie,M,B,x,L,te,z,le,ae,be,$,Pe,Te,Me,b,we,qe,Ie,ue,r,a,c]}let xm=class extends ge{constructor(e){super(),he(this,e,Jm,Xm,pe,{showTimeline:33},jm,[-1,-1])}};function $m(t){let e,i;return e=new ql({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){H(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.ariaValueMax=n[0]),o&8&&(s.ariaValueNow=Math.round(n[3]*100)),o&6&&(s.ariaValueText=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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function e4(t,e,i){let n,{position:o=0}=e,{duration:s=0}=e;const r=ut().ui.isMobile;O(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=Vn(s)),t.$$.dirty&64&&i(2,c=Vn(o)),t.$$.dirty&65&&i(3,f=o/s)},[s,a,c,f,n,r,o]}class _u extends ge{constructor(e){super(),he(this,e,e4,$m,pe,{position:6,duration:0})}}function t4(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 i4(t){let e;return{c(){e=A("div"),u(e,"class","timeline-stub v-1gqonyf"),R(e,"mobile",t[2])},m(i,n){E(i,e,n)},p(i,n){n&4&&R(e,"mobile",i[2])},i:W,o:W,d(i){i&&T(e)}}}function n4(t){let e,i,n,o;const s=[l4,o4],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"),R(e,"mobile",t[2])},m(a,c){E(a,e,c),l[i].m(e,null),o=!0},p(a,c){let f=i;i=r(a),i===f?l[i].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),n=l[i],n?n.p(a,c):(n=l[i]=s[i](a),n.c()),d(n,1),n.m(e,null)),(!o||c&4)&&R(e,"mobile",a[2])},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&T(e),l[i].d()}}}function o4(t){let e,i;return e=new xm({props:{showTimeline:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.showTimeline=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function l4(t){let e,i;return e=new _u({props:{position:t[3],duration:t[4]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&8&&(s.position=n[3]),o&16&&(s.duration=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function s4(t){let e,i,n,o;const s=[n4,i4],l=[];function r(a,c){return a[1]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function r4(t,e,i){let n,o,s,l,{isAds:r=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const m=ut(),h=m.state.isLive$;O(t,h,S=>i(12,n=S));const v=m.ads.duration;O(t,v,S=>i(4,l=S));const b=m.ads.position;O(t,b,S=>i(3,s=S));const w=m.ui.isMobile;O(t,w,S=>i(2,o=S));let _;return t.$$set=S=>{"isAds"in S&&i(0,r=S.isAds),"canRewindLive"in S&&i(9,a=S.canRewindLive),"isRewindableLive"in S&&i(10,c=S.isRewindableLive),"isHidden"in S&&i(11,f=S.isHidden)},t.$$.update=()=>{t.$$.dirty&7681&&i(1,_=!f&&(!n||n&&a&&c||r))},[r,_,o,s,l,h,v,b,w,a,c,f,n]}class vu extends ge{constructor(e){super(),he(this,e,r4,s4,pe,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},t4)}}function a4(t){let e,i,n,o;return{c(){e=N("svg"),i=N("path"),n=N("path"),o=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(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:W,i:W,o:W,d(s){s&&T(e)}}}class u4 extends ge{constructor(e){super(),he(this,e,null,a4,pe,{})}}function c4(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"opacity",".7"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(i,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class f4 extends ge{constructor(e){super(),he(this,e,null,c4,pe,{})}}function d4(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 m4(t){let e,i,n,o;e=new u4({});function s(a,c){if(a[4]===Jn.FULL)return g4;if(a[4]===Jn.COUNT)return h4}let l=s(t),r=l&&l(t);return{c(){U(e.$$.fragment),i=D(),r&&r.c(),n=lt()},m(a,c){H(e,a,c),E(a,i,c),r&&r.m(a,c),E(a,n,c),o=!0},p(a,c){l===(l=s(a))&&r?r.p(a,c):(r&&r.d(1),r=l&&l(a),r&&(r.c(),r.m(n.parentNode,n)))},i(a){o||(d(e.$$.fragment,a),o=!0)},o(a){g(e.$$.fragment,a),o=!1},d(a){a&&(T(i),T(n)),F(e,a),r&&r.d(a)}}}function p4(t){let e,i,n,o,s,l;return s=new f4({}),{c(){e=A("span"),i=Re(t[2]),n=D(),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),H(s,o,null),l=!0},p(r,a){(!l||a&4)&&Qe(i,r[2])},i(r){l||(d(s.$$.fragment,r),l=!0)},o(r){g(s.$$.fragment,r),l=!1},d(r){r&&(T(e),T(n),T(o)),F(s)}}}function h4(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+"")&&Qe(n,i)},d(o){o&&T(e)}}}function g4(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&&Qe(i,n[2])},d(n){n&&T(e)}}}function b4(t){let e,i,n,o;const s=[p4,m4],l=[];function r(a,c){return a[6]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function _4(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:[b4]},$$scope:{ctx:t}};return t[1]!==void 0&&(s.ref=t[1]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&64&&(a.className="w-max btn-full-opacity "+(l[6]?"px-0":"")),r&8&&(a.ariaExpanded=l[3]),r&32&&(a.ariaLabel=l[5]),r&8388693&&(a.$$scope={dirty:r,ctx:l}),!i&&r&2&&(i=!0,a.ref=l[1],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function v4(t,e,i){let n,o,s,l,r,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:m=[]}=e;const h=ut(),v=h.callbacks?.onEpisodeChanged??je,b=!!h.callbacks?.onEpisodeClicked,w=h.ui.currentGridType$;O(t,w,L=>i(18,r=L));const _=h.ui.episodes.openedByKeyboard$;O(t,_,L=>i(17,l=L));const S=h.ui.episodes.panelOpened$;O(t,S,L=>i(3,s=L));const k=h.ui.isMobile;O(t,k,L=>i(6,a=L));let C;const V=L=>{if(!!h.callbacks?.onEpisodeClicked){const z=Dl(L);_.set(z),S.set(!0),h.callbacks?.onEpisodeClicked?.(z)}};let ie,M,G;const B=async(L,te,z)=>{await No(),L?.getAttribute("aria-expanded")==="false"&&te&&!z&&(_.set(!1),L.focus())};function x(L){C=L,i(1,C)}return t.$$set=L=>{"position"in L&&i(13,c=L.position),"duration"in L&&i(14,f=L.duration),"timeCodes"in L&&i(0,m=L.timeCodes)},t.$$.update=()=>{if(t.$$.dirty&24576&&i(16,n=c/f),t.$$.dirty&114689){const L=bu(n,f,m);L&&ie?.text!==L.text&&(v(L),i(15,ie=L))}t.$$.dirty&32768&&i(2,o=ie?.text||""),t.$$.dirty&262144&&(gn(r,_t.XL)?i(4,M=Jn.FULL):gn(r,_t.M)&&O2(r,_t.XL)?i(4,M=Jn.COUNT):i(4,M=Jn.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,b,w,_,S,k,V,c,f,ie,n,l,r,x]}class wu extends ge{constructor(e){super(),he(this,e,v4,_4,pe,{position:13,duration:14,timeCodes:0},d4)}}function w4(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(i,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p:W,i:W,o:W,d(o){o&&T(e)}}}class k4 extends ge{constructor(e){super(),he(this,e,null,w4,pe,{})}}function y4(t){let e,i;return e=new k4({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function C4(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:[y4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&8&&(a.click=l[3]),r&32&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function P4(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 ku extends ge{constructor(e){super(),he(this,e,P4,C4,pe,{ref:0,hidden:1,disabled:2,click:3})}}function S4(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),R(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&&R(n,"hidden",!o[0])},i:W,o:W,d(o){o&&T(e)}}}function T4(t,e,i){let{isOpened:n=!1}=e;return t.$$set=o=>{"isOpened"in o&&i(0,n=o.isOpened)},[n]}class E4 extends ge{constructor(e){super(),he(this,e,T4,S4,pe,{isOpened:0})}}function A4(t){let e,i;return e=new E4({props:{isOpened:t[3]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&8&&(s.isOpened=n[3]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function I4(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:[A4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&136&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function L4(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 yu extends ge{constructor(e){super(),he(this,e,L4,I4,pe,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function V4(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class Cu extends ge{constructor(e){super(),he(this,e,null,V4,pe,{})}}function M4(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 vr(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 B4(t){let e,i,n,o,s=t[1]&&vr();return n=new Cu({}),{c(){s&&s.c(),e=D(),i=A("div"),U(n.$$.fragment),u(i,"class","v-1ot3duq"),R(i,"mobile",t[1])},m(l,r){s&&s.m(l,r),E(l,e,r),E(l,i,r),H(n,i,null),o=!0},p(l,r){l[1]?s||(s=vr(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),(!o||r&2)&&R(i,"mobile",l[1])},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){g(n.$$.fragment,l),o=!1},d(l){l&&(T(e),T(i)),s&&s.d(l),F(n)}}}function R4(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:zo[Se.KeyK],$$slots:{default:[B4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&4&&(a.disabled=l[2]),r&16&&(a.click=l[4]),r&66&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function N4(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:s=!1}=e,{className:l=""}=e,{click:r=je}=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 Kl extends ge{constructor(e){super(),he(this,e,N4,R4,pe,{ref:0,isMobile:1,disabled:2,className:3,click:4},M4)}}function z4(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class D4 extends ge{constructor(e){super(),he(this,e,null,z4,pe,{})}}function O4(t){let e,i;return e=new D4({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function H4(t){let e,i;return e=new hi({props:{className:t[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:Y("tooltip_interactive_go_back"),disabled:t[1],click:t[2],$$slots:{default:[O4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"hidden":""),o&2&&(s.disabled=n[1]),o&4&&(s.click=n[2]),o&8&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function F4(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 Pu extends ge{constructor(e){super(),he(this,e,F4,H4,pe,{hidden:0,disabled:1,click:2})}}function U4(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 q4(t){let e,i,n,o;return{c(){e=A("img"),u(e,"class","icon v-1x1zctw"),is(e.src,i=t[0])||u(e,"src",i),u(e,"aria-hidden","true")},m(s,l){E(s,e,l),n||(o=me(e,"error",t[7]),n=!0)},p(s,l){l&1&&!is(e.src,i=s[0])&&u(e,"src",i)},d(s){s&&T(e),n=!1,o()}}}function Z4(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:W,d(i){i&&T(e)}}}function W4(t){let e;function i(s,l){return s[5]?Z4:q4}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 K4(t){let e,i;return e=new hi({props:{className:t[4]?"btn-full-opacity":"",ariaLabel:t[1],click:t[3],disabled:t[6],testId:t[2],$$slots:{default:[W4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&16&&(s.className=n[4]?"btn-full-opacity":""),o&2&&(s.ariaLabel=n[1]),o&8&&(s.click=n[3]),o&64&&(s.disabled=n[6]),o&4&&(s.testId=n[2]),o&545&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function j4(t,e,i){let n,o,s,{iconUrl:l}=e,{ariaLabel:r}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=je}=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===je),t.$$.dirty&272&&i(6,o=n||a)},i(5,s=!1),[l,r,c,f,n,s,o,m,a]}class Su extends ge{constructor(e){super(),he(this,e,j4,K4,pe,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},U4)}}const G4=(t,e)=>t<400||e<225?5:t<640||e<360?0:t<960||e<540?1:t<1280||e<720?2:3,Y4="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class Q4{adman=null;initialVolume=1;videoElement=null;currentAdSection=null;actions=null;adsState=null;playerState=null;log;loadTimeout;initTimeout;events={slotRequested$:new fn,started$:new fn,paused$:new fn,resumed$:new fn,ended$:new fn,skipped$:new fn,clicked$:new fn};constructor(e,i){this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=i.loadTimeout,this.initTimeout=i.initTimeout}init(e,i,n){this.actions=e,this.adsState=i,this.playerState=n}loadAdman=e=>new Promise((i,n)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?i():n()};yc(Y4,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 b={dl:encodeURIComponent(window.location.href),autoplay:s,player_width:i,player_height:n,puid10:G4(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:b,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}ot(this.actions),ot(this.adsState),ot(this.playerState);const i=this.currentAdSection===An.Postroll;this.adsState.playbackState.set(Xt.INACTIVE),this.currentAdSection=null,this.playerState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${i}`}),i&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!i)}togglePlay(){ot(this.adsState),this.log({message:"toggle play"});const e=Ye(this.adsState.playbackState);e===Xt.PLAYING?this.pause():e===Xt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){this.log({message:`set volume ${e}`}),this.adman?.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){this.log({message:`set fullscreen ${e}`}),this.adman?.setFullscreen(e)}startPreroll(){ot(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=An.Preroll,this.adman.start(An.Preroll)}startPostroll(){ot(this.adman),ot(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=An.Postroll,this.adman.start(An.Postroll)}onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()};onAdStarted=(e,i)=>{ot(this.adsState),ot(this.playerState),ot(this.actions),this.log({message:`ad started, section: ${e}, banner: ${JSON.stringify(i)}`}),this.events.started$.next(e),i.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Ye(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(i.duration),this.adsState.playbackState.set(Xt.PLAYING),this.adsState.canSkip.set(i.allowClose),this.adsState.secondsToWatchBeforeSkip.set(i.allowCloseDelay)};onAdTimeRemained=({currentTime:e})=>{ot(this.adsState),this.adsState.position.set(e)};onAdPaused=()=>{ot(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Xt.PAUSED)};onAdPlayed=()=>{ot(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Xt.PLAYING)};onAdMidrollPoint=()=>{ot(this.adman),ot(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=An.Midroll,this.adman.start(An.Midroll)};onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()};onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()};onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()};onAdClicked=()=>{this.log({message:"ad clicked"}),this.videoElement?.pause(),this.events.clicked$.next()};onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)};play(){ot(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ot(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ot(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,i){this.adman?.setPosition(Math.floor(e),Math.floor(i))}destroy(){this.log({message:"destroy"}),this.adman?.destroy()}}const X4=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 J4{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 Tu,{startTime:c,endTime:f}=a.parse(r);s.startTime=c,s.endTime=f}else if(r.trim()!==""){const a=new x4,{texts:c}=a.parse(r);s.texts=[...s.texts,...c]}(s.startTime||s.endTime)&&s.texts.length>0&&i.push(s)}return i}}class Tu{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 x4{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 Tu;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,cn,_l=0,vl=!1;const $4=(t,e,i)=>{const n=t>=_l,o=t<_l,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(_l=t,o&&(vl=!1),bn(Zn)&&l(t,Zn.startTime,Zn.endTime)&&Zn.lang===e.value)return Zn;if(!bn(cn)&&a?.length&&!vl){const c=a.find(({startTime:f,endTime:m})=>l(t,f,m)||n&&s(t,f,m));cn=c&&{...c,lang:e.value},Zn=void 0,!bn(cn)&&a[a.length-1].endTime<t&&(vl=!0);return}else{if(l(t,cn?.startTime,cn?.endTime))return Zn=cn,cn=void 0,Zn;(n&&r(t,cn?.startTime,cn?.endTime)||o&&s(t,cn?.startTime,cn?.endTime))&&(cn=void 0)}},wl={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 Jo=null;class Io{constructor(e,i){if(!Jo){const n=new Nc(e,i),o=new Kn;Jo=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n?.destroy(),o?.unsubscribe(),Jo=null}})}}static getInstance(){return Jo}}const e3=({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:b,isInteractive:w,interactiveRanges:_,replayInteractive:S,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:C,additionalButtons:V,looped:ie=!1})=>{const M={...h,configName:[...h.configName??[],"ui"],isAudioDisabled:s,live:{...h.live??{},isLiveCatchUpMode:!!n}},G=m,B=v||new gc(M);B.setLooped(ie);const x=new c1,L=new Q4(x,{loadTimeout:G.ads.loadTimeout,initTimeout:G.ads.initTimeout}),te=Io.getInstance(),z=Tl.getInstance(),X=a?.pictureInPictureApi,le=a?.annotationsApi,P=x.createComponentLog("Store");let oe,K,ne={};const we=Il(),Ue=te?dt(te.oneStat.vsid$):Cn(void 0),qe=Ee(Mo()),Ie=X?.info.isActive$??new Al(!1),Ce=X?.info.type,ue=Ee(0),j=Ee([]),ae=Cc(B.events.fatalError$,B.events.managedError$).subscribe(I=>j.update(se=>[...se,I])),be=Cn(!1,I=>{const se=B.events.fatalError$.subscribe(()=>I(!0));return()=>se.unsubscribe()}),$=async I=>{const se=Object.values(Bo).includes(I);if(G.downloadVKLanguages&&(se&&G.updateBuiltinLanguages||!rs(I))){let Be;try{Be=await Tc(I,xc,$c)}catch(Ke){te?.oneStat?.logError({errorType:"VKLangPack",fatal:!1}),z?.report(Ke,{errorType:"VKLangPack",fatal:!1})}Be&&(ss({language:I,pack:Be,fallback:G.defaultLanguage}),Pe.set(I))}rs(I)&&Pe.set(I)},Pe=Ee(t);$(t);const Te=(I,se)=>{const ke=Ye(Pe);return D1(ke,I,se,G.defaultLanguage)},Me=Ee(Ve.Thumb),re=(()=>{const I=ri([be,Me],([se,ke])=>se?Ve.Crashed:ke);return{...I,is:se=>Ye(I)===se}})(),_e=(()=>{const I=Ee(new Set(b));return{...I,add:se=>{I.update(ke=>new Set([...ke].concat(se)))},remove:se=>{I.update(ke=>{const Be=[...ke];return new Set(Array.isArray(se)?Be.filter(Ke=>!se.includes(Ke)):Be.filter(Ke=>Ke!==se))})},includes:se=>{const ke=Ye(I);return Array.isArray(se)?se.every(Be=>ke.has(Be)):ke.has(se)}}})();P({message:"create store"});const J=I=>{P({message:`init video, config: ${JSON.stringify(I)}`}),w?I.container.append(B.experimental.element$.getValue()):B.initVideo(I),I.subtitles&&B.setExternalTextTracks(I.subtitles),oe=I},Q=new fn,De=I=>Q.next(I),et=new fn,Xe=new fn,ye=new fn,Ge={actionRewind$:et,actionSeek$:Xe,inPiP$:Ie,inFullscreen$:new Pc(I=>qe.subscribe(se=>I.next(se))),actionSetSubtitle$:ye,nextMovie$:Q};if(te){const{oneStat:I,statSubscription:se}=te;se.add(I.attachTo(B)),se.add(I.attachToUi(Ge)),se.add(I.attachToAds(L.events)),I.authorize(o).catch(ke=>{P({message:`onestat auth error ${String(ke)}`})})}if(z){const I=new Kn,se=(ke,Be)=>I.add(ke.subscribe(Be));if(se(B.events.managedError$,ke=>{z.logIError(ke)}),se(B.events.fatalError$,ke=>{z.logIError(ke,!0)}),te){const{oneStat:ke}=te;se(ke.experimental.error$,Be=>{z.logIError(Be)})}z.sentrySubscription.add(I)}const Je=()=>{Ll()&&K&&If(K)},ct=new Kn().add(B.experimental.element$.subscribe(I=>{I&&(K=I,I.classList.add("player-media"),nl(X)&&(X.updateVideoElement(),X.registryEventHandlers()),w&&I.setAttribute("pip","false"))})).add(B.events.ended$.subscribe(()=>{Je(),r?.onEnded?.()})).add(B.events.started$.subscribe(async()=>{nl(X)&&await X?.revealPictureInPicture();const I=B.info.muted$.getValue();r?.onStarted?.(),ne.onStarted?.(I)})).add(B.events.willSeek$.subscribe(({from:I,to:se})=>{r?.onSeek?.(I,se)})).add(B.info.position$.subscribe(I=>{const se=B.info.duration$.getValue();r?.onTimeupdate?.(se,I),L.setPosition(I,se)})).add(B.events.fatalError$.subscribe(()=>{r?.onCrashed?.()})).add(B.info.is3DVideo$.subscribe(I=>{it.ui.is3DVideo.set(I)})).add(B.info.isEnded$.subscribe(I=>{w&&(I?(Ye(Un)&&_e.add(y1),_e.add(nt.PLAY_BUTTON)):_e.remove(nt.PLAY_BUTTON))})).add(B.info.liveTime$.subscribe(I=>{r?.onLiveTime?.(I)})).add(B.info.isStalled$.subscribe(I=>{r?.onStalledChanged?.(I)})),bt=new Kn,Fe=()=>{bt.add(B.events.log$.subscribe(I=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${I.component}`,I.message)})).add(x.log$.subscribe(I=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${I.component}.`,I.message)}))},Le=()=>{bt.unsubscribe()},vt=(I,se)=>{B.startCameraManualRotation(I,se)},Bt=(I=!1)=>{B.stopCameraManualRotation(I)},xt=(I,se,ke)=>{B.moveCameraFocusPX(I,se,ke)},qt=()=>{B.holdCamera()},ce=()=>{B.releaseCamera()},pt=Cn(B.info.position$.getValue(),I=>{let se,ke;const Be=()=>{const Ke=B.info.playbackState$.getValue(),Ht=B.info.isLive$.getValue(),Yt=B.info.duration$.getValue(),Lt=B.info.position$.getValue();if([Ft.PLAYING,Ft.PAUSED].includes(Ke)){const un=Ht?Lt-Yt:B.getExactTime();un!==ke&&I(un),ke=un}se=requestAnimationFrame(Be)};return Be(),()=>cancelAnimationFrame(se)}),ht=dt(Ie),ft=dt(B.info.playbackState$),st=dt(B.info.currentBuffer$),kt=dt(B.info.isEnded$),Pt=dt(B.info.isLive$),ai=G.features.playbackRate?dt(B.info.canChangePlaybackSpeed$):Cn(!1),Fi=dt(B.info.liveBufferTime$),Zt=dt(B.info.volume$),Ui=dt(B.info.muted$),Yi=T1(B.info.autoQualityLimits$.pipe(Sc(({max:I})=>I!==void 0)),B.info.autoQualityLimits$.getValue()?.max!==void 0),$t=dt(B.info.autoQualityLimitingAvailable$),Bi=dt(B.info.availableQualities$),Ri=dt(B.info.availableQualitiesFps$),Rt=dt(B.info.chromecastState$),ei=dt(B.info.chromecastDeviceName$),ui=dt(B.info.currentFormat$),Wt=dt(B.info.throughputEstimation$),ci=dt(B.info.videoBitrate$),Kt=dt(B.info.intrinsicVideoSize$),gi=dt(B.info.duration$),Ni=dt(B.info.isAudioAvailable$);let mt=null;const fi=B.info.isBuffering$,bi=Cn(fi.getValue(),I=>{const se=fi.subscribe(ke=>{ke&&mt===null?mt=window.setTimeout(()=>{I(fi.getValue()),mt=null},G.loaderDelay):I(ke)});return()=>{se.unsubscribe(),mt&&clearTimeout(mt)}}),_i=()=>{mt&&clearTimeout(mt),mt=null},Nt=ri([gi,Pt],([I,se])=>se?-I:I),vi=ri([ft],([I])=>I===Ft.PLAYING),ti=dt(B.info.atLiveEdge$),ii=dt(B.info.atLiveDurationEdge$),St=dt(B.info.position$),wi=ri([St,gi],([I,se])=>isFinite(I)&&isFinite(se)&&!!se),zt=ri([Rt],([I])=>I===Pn.CONNECTED),rt=Ee(void 0),Tt=dt(B.info.isAutoQualityEnabled$,I=>I&&rt.set(void 0)),zi=dt(B.info.currentQuality$,()=>rt.set(void 0)),ki=ri([rt,zi],([I,se])=>I??se),yi=ri([Bi,Ri,Tt,ki,ui],([I,se,ke,Be,Ke])=>{const Ht=[];Ke!==Eo.MPEG&&Ht.push({value:bo.AUTO,displayValue:Te("auto_quality_option"),selected:ke});const Yt=I.filter(Lt=>Lt!==xo.INVARIANT);for(const Lt of Yt){const un=se[Lt],qn=Lt===xo.INVARIANT?Te("auto_quality_option"):Lt;Ht.push({value:Lt,displayValue:`${qn}${un?X4(un):""}`,selected:ke?!1:Lt===Be})}return Ht}),ni=dt(B.info.currentPlaybackRate$),jt=ri([ni,ti,ii],([I,se,ke])=>{const Be=ke||w?1:G.controls.playbackRateMin,Ke=se?1:G.controls.playbackRateMax,Ht=G.controls.playbackRateStep,Yt=[];for(let Lt=Be;Lt<=Ke;Lt+=Ht)Yt.push({value:Lt,displayValue:Lt===1?Te("playback_rate_1"):Te("playback_rate",{multiplier:Lt.toString(10)}),selected:I===Lt});return Yt}),qi=G.features.subtitles?dt(B.info.availableTextTracks$):Cn([]),Et=ri([qi],([I],se)=>{const ke=[],Be=[];for(const Ke of I)Ke.url&&ke.push(fetch(Ke.url));Promise.allSettled(ke).then(Ke=>{for(const[Ht,Yt]of Ke.entries())Yt.status==="fulfilled"&&Yt.value.text().then(Lt=>{const un=new J4,qn=I[Ht].language,Po=!!I[Ht].isAuto,So=un.parse(Lt);qn&&So&&Be.push({lang:qn,subtitles:So,isAuto:Po}),Ht===Ke.length-1&&se(Be)})})}),wt={displayValue:Te("subtitles_off"),value:"off"},yt=Ee({...wt}),At=ri([Et,yt,Et],([I,se])=>{if(I?.length>0){const ke=[{...wt,selected:se?.value===wt.value}];for(const{lang:Be,isAuto:Ke}of I)wl[Be]&&ke.push({displayValue:Ke?Te("subtitles_auto",{language:wl[Be]}):wl[Be],value:Be,selected:se?.value===Be,isAuto:Ke});return ke}else return[]}),Zi=ri([pt,yt,Et],([I,se,ke])=>{if(se&&se.value!==wt.value)return $4(I,se,ke)}),Gt=ri([Zi],([I])=>I?.texts?I.texts:[]),Ci=Ee(!0),Di=ri([st,Nt,St,Fi],([I,se,ke,Be])=>{const Ke=I?.end??0;if(!Be)return Ke/se;const Yt=-ke+Be-se;return(Ke-Yt)/se}),Pi=dt(B.info.availableSources$),Qi=ri([Pi],([I])=>Object.keys(I?.[Eo.MPEG]||{}).length>0),Si=()=>{const I=Object.keys(B.info.availableSources$?.getValue()?.[Eo.MPEG]||{}),se=Ec(I)||xo.Q_144P;return oe.sources[Eo.MPEG]?.[se]},di=()=>{const I=Si();I?uf(I,oe?.meta?.title||"video"):P({message:"There is no URL for download video"})},mi=()=>{P({message:"toggle muted"});const I=B.info.muted$.getValue(),Be=!(B.info.volume$.getValue()===0||I);Wi(Be)},Ti=()=>{it.ui.settingsMenuVisible.set(!1)},Ei=I=>{it.ui.settingsMenuOpenedByKeyboard.set(!!I),it.ui.settingsMenuVisible.set(!0)},Ai=I=>{Ye(it.ui.settingsMenuVisible)?Ti():Ei(I)},Ae=(I,se=I,ke=!1)=>{const Be=!ke,Ke=B.info.muted$.getValue();P({message:`set volume, volume: ${I}, preferredVolume: ${se}, internalCall: ${Be}`}),B.setVolume(I),L.setVolume(I),Be&&r?.onVolumeChange?.(I),ls(se),Ke?(B.setMuted(!1),Be&&r?.onUnmute?.(),ml(!1)):!Ke&&I===0&&(B.setMuted(!0),Be&&r?.onMute?.(),ml(!0))},Wi=(I,se=!1)=>{const ke=!se,Be=B.info.volume$.getValue();if(P({message:`set muted, currentVolume: ${Be}, mute: ${I}, internalCall: ${ke}`}),B.setMuted(I),L.setVolume(I?0:Be),ml(I),ke&&(I?r?.onMute?.():r?.onUnmute?.()),Be===0){let Ke=V1()??G.volumeDefault;Ke===0&&(Ke=G.volumeMinRestore,ls(Ke)),B.setVolume(Ke),L.setVolume(Ke),ke&&r?.onVolumeChange?.(Ke)}},Ki=()=>{B.prepare()},Ii=()=>{if(ot(it),!Ye(it.ui.controls.disabledControls$).has(nt.PLAY_BUTTON)){if(P({message:"toggle play"}),Ye(it.playerPhase)===Ve.Ads){L.togglePlay();return}if(B.info.playbackState$.getValue()!==Ft.PLAYING){if(B.info.isEnded$.getValue()){if(P({message:"toggle play, video ended, seek to 0"}),et.next(),Xe.next(Vt.REWIND),w){S?.();return}B.seekTime(0)}P({message:"toggle play, call player.play"}),B.play(),r?.onPlay?.()}else P({message:"toggle play, call player.pause"}),B.pause(),r?.onPause?.()}},ji=I=>{P({message:`set quality, quality: ${I}`}),B.setAutoQuality(I===bo.AUTO),I!==bo.AUTO?(cf(e,I),rt.set(I),B.setQuality(I)):M1()},Li=I=>{P({message:`set trafficSavingEnabled, value: ${I}`}),B.setAutoQualityLimits({max:I?G.trafficSavingLimit:void 0}),mf(I)},Ne=I=>{B.setPlaybackRate(I)},pi=()=>{const I=Ye(jt),se=I.findIndex(({selected:Be})=>Be);if(se===I.length-1)return;const ke=I[se+1];Ne(ke.value)},Vi=()=>{const I=Ye(jt),se=I.findIndex(({selected:Be})=>Be);if(se===0)return;const ke=I[se-1];Ne(ke.value)},Dt=I=>{I&&I.value!==wt.value&&ye.next(I.isAuto?I.value+"_auto":I.value),yt.set(I)},Ot=()=>{const I=Ye(At),se=Ye(yt),ke=Ye(Pe);if(se?.value===wt.value){const Be=I.filter(Ke=>Ke.value!==wt.value).find(Ke=>Ke.value===ke)||I[1];Dt(Be??{...wt})}else Dt({...wt,selected:!1})},oi=(I,se,ke=!0)=>{if(P({message:`seek to time, time: ${I}`}),Xe.next(se),B.info.isLive$.getValue()){const Be=B.info.duration$.getValue(),Ke=Math.min(0,Be+I);B.seekTime(Ke,ke)}else{if(Ye(Un))return;B.seekTime(Qn(I),ke)}},$i=I=>{P({message:`seek to episode start time: ${I}`}),oi(I,Vt.EPISODE,!0)},Oi=(I,se)=>{P({message:`seek to percent, percent: ${I}`});const ke=Math.round(Ye(Nt)*I);oi(ke,se,!1)},en=I=>{P({message:`seek external, time: ${I}`}),Xe.next(Vt.UNKNOWN),B.seekTime(B.info.isLive$.getValue()?-I:I)},tn=I=>{P({message:`set auto quality limitation. Max: ${I.max??"none"}. Min: ${I.min??"none"}`}),B.setAutoQualityLimits(I)},Xi=I=>{P({message:`seek external to episode start time: ${I}`}),oi(I,Vt.EPISODE,!0)},Mi=I=>{P({message:`set playback rate to: ${I}`}),B.setPlaybackRate(I)},Gi=Ee(void 0),Hi=Ee(!1),nn=I=>{P({message:`start scrubbing, progress: ${I}`}),Hi.set(!0),ee(I)},ee=I=>{Gi.set(I)};let xe,gt;const li=()=>{Gi.set(void 0),Hi.set(!1)},Ji=()=>{clearTimeout(gt),clearTimeout(xe),xe=window.setTimeout(()=>{li()},500),K?.removeEventListener("seeked",Ji)},sn=I=>{P({message:`complete scrubbing, progress: ${I}`}),Oi(I,Vt.SLIDER),Ye(it.ui.isMobile)&&Ye(it.state.currentFormat$)===Eo.HLS?(K?.addEventListener("seeked",Ji),gt=window.setTimeout(()=>{Ji()},300)):li()},kn=ri([pt,Nt,Gi],([I,se,ke],Be)=>{Be(bn(ke)?ke*se:I)}),It=Ee({width:0,height:0}),rn=ri([It],([{width:I}],se)=>{const ke=H2(I);se(ke)}),an=Ee(!1),dn=ri([rn,an],([I,se])=>se?V.filter(ke=>!ke.hideOnMobile):V.filter(ke=>!ke.hideOnDesktopGridTypes?.includes(I))),yn=ri([an,be],([I,se],ke)=>{ke(I&&se)}),mn=()=>{Xe.next(Vt.LIVE),P({message:"switch to active live"}),B.seekTime(0),B.info.playbackState$.getValue()!==Ft.PLAYING&&it.actions.internal.togglePlay()},y=()=>L.skip(),at=(I=!0)=>{ot(it),P({message:`switch from ads to video, callPlay: ${I}`}),Me.set(Ve.Video),I&&B.play()},zn=()=>{ot(it),P({message:"switch from video to ads"}),it.actions.internal.pause(),Je(),Me.set(Ve.Ads)},Dn=I=>{ot(it);const se=I?Ve.WaitingLive:Ve.Thumb;Me.set(se)},Tn=I=>{ot(it);const se=I?Ve.WaitingRecord:Ve.Thumb;Me.set(se)},$n=()=>(ot(it),rf(B,oe,it)),eo=()=>(ot(it),af(B,oe,it)),to=()=>K,io=()=>{P({message:"toggle chromecast"}),B.toggleChromecast()},jn=I=>{ot(it);const se=!I;if(Ye(it.playerPhase)===Ve.Ads){P({message:`pause ads, internalCall: ${se}`}),L.pause();return}P({message:`pause video, internalCall: ${se}`}),se&&r?.onPause?.(),B.pause()},no=I=>{ot(it);const se=!I;if(Ye(it.playerPhase)===Ve.Ads){P({message:`play ads, internalCall: ${se}`}),L.play();return}P({message:`play video, internalCall: ${se}`}),se&&r?.onPlay?.(),B.play()},Gn=(I,se)=>{ot(it),P({message:`first start, show ads: ${I}, internalCall: ${!se}`}),I?Me.set(Ve.Ads):(Me.set(Ve.Video),se?B.play():it.actions.internal.togglePlay())},Yn=()=>(P({message:"getting time codes"}),c),oo=()=>{const I=Yn();if(!I||[0,1].includes(I.length))return;const se=B.info.position$.getValue();return I.find(ke=>ke.time>se)},pn=I=>{let se=I;se||(se=oo()),se&&(P({message:"seek to next episode"}),oi(se.time,Vt.EPISODE,!0))},On=()=>{const I=Yn();if(!I||[0,1].includes(I.length))return;const se=B.info.position$.getValue(),ke=I.findIndex(Ke=>Ke.time>se),Be=ke===-1?I.length-2:ke-2;if(!(Be<0))return I[Be]},lo=I=>{let se=I;se||(se=On()),se&&(P({message:"seek to prev episode"}),oi(se.time,Vt.EPISODE,!0))},Hn=()=>(P({message:"getting preview thumbs data"}),f),so=async()=>{X?.isActive()?await X?.remove():await X?.request()},Co=(I=-90)=>{ue.update(se=>se+I)},En=Ee(_),ro=ri([En],([I=[]])=>{const se=[];for(let ke=0;ke<I.length;ke++){const{range:[Be,Ke],subjects:Ht}=I[ke];ke===0&&Be!==0&&se.push({time:0,text:"",interactive:!1,completed:!0}),se.push({time:Be/1e3,text:"",interactive:!0,completed:!Ht.length}),Ke!==1/0&&se.push({time:Ke/1e3,text:"",interactive:!1,completed:!0})}return se}),ao=I=>{const se=Ye(En);En.set(se.map(ke=>({...ke,subjects:ke.subjects.filter(Be=>Be!==I)})))},Fn=Ee(!1),Un=ri([St,En,Fn],([I,se,ke])=>{if(!w)return!1;if(ke)return!0;const Be=I*1e3,Ke=se?.find(({range:[Ht,Yt],subjects:Lt})=>Ht<Be&&Be<Yt&&Lt.length);return Ke&&Ye(Hi)&&li(),!!Ke}),Qn=I=>{if(!w)return I;const se=Ye(ro),ke=Ye(Nt),Ke=Ye(St)/ke,Ht=se.find(Yt=>Yt.interactive&&!Yt.completed&&Yt.time>Ke);return typeof Ht?.time=="number"?Math.min(I,Ht.time-.05):I},q=()=>{it.ui.episodes.panelOpened$.set(!1)},si=()=>{clearTimeout(gt),clearTimeout(xe),ct.unsubscribe(),bt.unsubscribe(),B.destroy(),L.destroy(),te?.destroy(),z?.destroy(),ae.unsubscribe()},it={interfaceLanguage$:Pe,initVideo:J,videoId:e,isClip:i,playerPhase:re,vsid:Ue,state:{positionExact$:pt,positionWithScrubbing$:kn,duration$:Nt,playbackState$:ft,isPlaying$:vi,isLoaderVisible:bi,bufferedProgress$:Di,isLive$:Pt,canChangePlaybackSpeed$:ai,isActiveLive$:ti,isOldestAvailableLive$:ii,isRewindableLive$:wi,isEnded$:kt,muted$:Ui,volume$:Zt,trafficSavingEnabled$:Yi,autoQualityLimitingAvailable$:$t,currentQuality$:ki,isAutoQualityEnabled$:Tt,availableQualities$:yi,currentPlaybackRate$:ni,availablePlaybackRates$:jt,currentSubtitle$:yt,availableSubtitlesList$:At,currentSubtitleCaptions$:Gt,isAutoSubtitleCaptionVisible$:Ci,chromecastState$:Rt,chromecastDeviceName$:ei,chromecastConnected$:zt,currentFormat$:ui,throughputEstimation$:Wt,videoBitrate$:ci,videoSize$:Kt,errorLog$:j,crashed$:be,isAudioAvailable$:Ni,isAudioDisabled:!!s,canDownload:G.features.download&&!!l,availableSources$:Pi,hasMpegSources$:Qi,isInteractive:w,isInteractiveGraphEnabled:G.features.interactiveGraph,isSeekToInteractiveEnable:G.features.seekToInteractive,isPlayPrevChapterEnabled:G.features.interactivePlayPrevChapter,interactiveEpisodes$:ro,isInteractiveTime$:Un,graphIsOpened$:Ee(!1),isInteractiveExpectation$:Fn,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:C},ui:{controlsVisible:Ee(!1),touched:Ee(!1),controls:{prevButton:Ee(void 0),playButton:Ee(void 0),replayButton:Ee(void 0),nextButton:Ee(void 0),playPrevChapterButton:Ee(void 0),seekToInteractiveButton:Ee(void 0),interactiveGraphButton:Ee(void 0),liveButton:Ee(void 0),time:Ee(void 0),episodes:Ee(void 0),volume:Ee(void 0),subtitles:Ee(void 0),settings:Ee(void 0),context:Ee(void 0),chromecast:Ee(void 0),pip:Ee(void 0),fullscreen:Ee(void 0),vkLogo:Ee(void 0),additionalButtons:V.length?V.reduce(I=>[...I,Ee(void 0)],[]):[],disabledControls$:_e},modals:{hotKeyMap:{show:Ee(!1),data:Ee({title:"",closeBtnText:"",groups:[]})}},isFullscreen:qe,rotateAlpha:ue,isAutoplay:Ee(!1),contextMenuVisible:Ee(!1),debugPanelVisible:Ee(!1),episodes:{panelOpened$:Ee(!1),openedByKeyboard$:Ee(!1)},contextMenu:{btnRef$:Ee(void 0),openedByKeyboard$:Ee(!1),showContextMenuBtn$:Ee(!1)},playerSize:It,isMobile:an,mobileNotReportControlHidden$:yn,mobileUnmuteButtonExpanded:Ee(!1),mobileUnmuteButtonVisible:Ee(!1),icon3DVideoVisible:Ee(!1),settingsMenuVisible:Ee(!1),settingsMenuOpenedByKeyboard:Ee(!1),scrubbingInProgress:Hi,is3DVideo:Ee(!1),isPictureInPictureActive$:ht,pictureInPictureType$:Cn(Ce),clientInfo$:Cn(we),currentGridType$:rn,additionalButtons$:dn,interactiveHideMobileControls:Ee(!1),overlayContainer$:Ee(void 0),startedByKeyboard$:Ee(!1)},ads:{position:Ee(0),duration:Ee(0),playbackState:Ee(Xt.INACTIVE),canSkip:Ee(!1),secondsToWatchBeforeSkip:Ee(0),postrollPassed:Ee(!1)},webApi:{pictureInPictureApi:X,annotationsApi:le},actions:{internal:{preload:Ki,firstStart:I=>Gn(I,!1),pause:()=>jn(!1),togglePlay:Ii,toggleMuted:mi,toggleSettingsMenu:Ai,openSettingsMenu:Ei,closeSettingsMenu:Ti,setVolume:Ae,setQuality:ji,setTrafficSavingEnabled:I=>Li(I),setPlaybackRate:Ne,incrementPlaybackRate:pi,decrementPlaybackRate:Vi,setSubtitle:Dt,toggleSubtitle:Ot,togglePictureInPicture:so,startScrubbing:nn,progressScrubbing:ee,completeScrubbing:sn,toggleChromecast:io,switchToActiveLive:mn,switchFromAdsToVideo:at,switchFromVideoToAds:zn,skipAd:y,setWaitingLive:Dn,setWaitingRecord:Tn,getDebugTextData:$n,getDebugPanelData:eo,getVideoElement:to,seekTime:(I,se,ke)=>oi(I,se,ke),clearDelayedBufferingCheckTimeout:_i,seekEpisodeStartTime:$i,seekToPercent:Oi,getNextEpisode:oo,seekToNextEpisode:pn,getPrevEpisode:On,seekToPrevEpisode:lo,startLogging:Fe,stopLogging:Le,startCameraManualRotation:vt,stopCameraManualRotation:Bt,moveCameraFocusPX:xt,holdCamera:qt,releaseCamera:ce,getVideoEpisodes:Yn,getPreviewThumbsData:Hn,downloadVideo:di,addLanguage:ss,setLanguage:$,nextMovie:De,videoRotate:Co,completeInteractiveRange:ao,correctSeekTimeToInteractive:Qn,replayInteractive:S},external:{firstStart:I=>Gn(I,!0),play:()=>no(!0),pause:()=>jn(!0),seekTime:I=>en(I),seekEpisodeStartTime:I=>Xi(I),setPlaybackRate:I=>Mi(I),setAutoQualityLimits:I=>tn(I),setMuted:I=>Wi(I,!0),setVolume:I=>Ae(I,I,!0),returnFocusToEpisodes:q}},callbacks:r,setUiCallbacks:I=>{ne={...I}},getAdmanWrapper:()=>L,getLogger:()=>x,destroy:si};return it},Eu=(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})}},Au=async(t,e,i)=>{await No(),e&&i&&(i.focus(),t.set(!1))};function t3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M18 10c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2Zm-6 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm-6 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","dots-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class i3 extends ge{constructor(e){super(),he(this,e,null,t3,pe,{})}}function n3(t){let e,i;return e=new i3({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function o3(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:[n3]},$$scope:{ctx:t}};return t[2]!==void 0&&(s.ref=t[2]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.className=l[3]?"opened":""),r&1&&(a.disabled=l[0]),r&2&&(a.ariaLabel=l[1]),r&8&&(a.ariaExpanded=l[3]),r&8192&&(a.$$scope={dirty:r,ctx:l}),!i&&r&4&&(i=!0,a.ref=l[2],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function l3(t,e,i){let n,{disabled:o=!1}=e,{ariaLabel:s=""}=e;const l=ut(),r=l.ui.contextMenuVisible;O(t,r,_=>i(3,n=_));const a=l.ui.contextMenu.openedByKeyboard$,c=l.ui.contextMenu.showContextMenuBtn$,f=l.ui.contextMenu.btnRef$,m=_=>{const S=Dl(_);a.set(S),r.set(!n)};let h;const v=()=>{c.set(!0)},b=()=>{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,b,w]}class s3 extends ge{constructor(e){super(),he(this,e,l3,o3,pe,{disabled:0,ariaLabel:1})}}function r3(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 wr(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 kr(t){let e,i,n;function o(l){t[171](l)}let s={disabled:!t[9],tooltipContent:Y("tooltip_previous"),$$slots:{default:[a3]},$$scope:{ctx:t}};return t[23].prevButton!==void 0&&(s.ref=t[23].prevButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&512&&(a.disabled=!l[9]),r[0]&4608|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].prevButton,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function a3(t){let e,i;return e=new al({props:{click:t[12],type:"prev",disabled:!t[9],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&4096&&(s.click=n[12]),o[0]&512&&(s.disabled=!n[9]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function yr(t){let e,i,n;function o(l){t[172](l)}let s={disabled:t[74],tooltipContent:Y("tooltip_restart"),$$slots:{default:[u3]},$$scope:{ctx:t}};return t[23].replayButton!==void 0&&(s.ref=t[23].replayButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function u3(t){let e,i;return e=new Kl({props:{click:t[127],disabled:t[74]}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Cr(t){let e,i,n;function o(l){t[174](l)}let s={tooltipContent:t[47],disabled:t[75],$$slots:{default:[c3]},$$scope:{ctx:t}};return t[23].playButton!==void 0&&(s.ref=t[23].playButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.tooltipContent=l[47]),r[2]&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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function c3(t){let e,i,n;function o(l){t[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 Wl({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(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],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Pr(t){let e,i,n;function o(l){t[175](l)}let s={disabled:!t[8],tooltipContent:Y("tooltip_next"),$$slots:{default:[f3]},$$scope:{ctx:t}};return t[23].nextButton!==void 0&&(s.ref=t[23].nextButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&256&&(a.disabled=!l[8]),r[0]&2304|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].nextButton,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function f3(t){let e,i;return e=new al({props:{click:t[11],type:"next",disabled:!t[8],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&2048&&(s.click=n[11]),o[0]&256&&(s.disabled=!n[8]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function d3(t){let e,i,n,o,s=t[121]&&m3(t),l=t[120]&&h3(t),r=t[119]&&b3(t);return{c(){s&&s.c(),e=D(),l&&l.c(),i=D(),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){g(s),g(l),g(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 m3(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:[p3]},$$scope:{ctx:t}};return t[23].playPrevChapterButton!==void 0&&(s.ref=t[23].playPrevChapterButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[2]&2048&&(a.disabled=l[73]),r[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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function p3(t){let e,i;return e=new Pu({props:{disabled:t[73],click:t[17]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[2]&2048&&(s.disabled=n[73]),o[0]&131072&&(s.click=n[17]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function h3(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:[g3]},$$scope:{ctx:t}};return t[23].seekToInteractiveButton!==void 0&&(s.ref=t[23].seekToInteractiveButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function g3(t){let e,i;return e=new ku({props:{disabled:t[76],click:t[15]}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function b3(t){let e,i,n;function o(l){t[178](l)}let s={tooltipContent:t[48],disabled:t[77],$$slots:{default:[_3]},$$scope:{ctx:t}};return t[23].interactiveGraphButton!==void 0&&(s.ref=t[23].interactiveGraphButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&131072&&(a.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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function _3(t){let e,i;return e=new yu({props:{click:t[16],graphIsOpened:t[31],disabled:t[77]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&65536&&(s.click=n[16]),o[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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Sr(t){let e,i,n;function o(l){t[179](l)}let s={tooltipContent:t[50],$$slots:{default:[v3]},$$scope:{ctx:t}};return t[23].liveButton!==void 0&&(s.ref=t[23].liveButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function v3(t){let e,i;return e=new gu({props:{isActiveLive:t[21],isMobile:!1,ariaLabel:t[50]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.isActiveLive=n[21]),o[1]&524288&&(s.ariaLabel=n[50]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Tr(t){let e,i,n;function o(l){t[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 uu({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Er(t){let e,i;return e=new wu({props:{position:t[81],duration:t[83],timeCodes:t[102]}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function w3(t){let e,i,n=t[20]&&Er(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=Er(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&T(e),n&&n.d(o)}}}function k3(t){let e,i;return e=new Su({props:{iconUrl:t[205],ariaLabel:t[206]??t[209],testId:t[207],onClick:t[208]}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ar(t){let e,i;return e=new Mt({props:{tooltipContent:t[209],width:40,$$slots:{default:[k3]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ir(t){let e,i,n;function o(l){t[183](l)}let s={disabled:!t[6],tooltipContent:t[51],$$slots:{default:[y3]},$$scope:{ctx:t}};return t[23].vkLogo!==void 0&&(s.ref=t[23].vkLogo),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.disabled=!l[6]),r[1]&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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function y3(t){let e,i;return e=new pu({props:{click:t[87],logoClickable:t[6],videoLogoUrl:t[7]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&64&&(s.logoClickable=n[6]),o[0]&128&&(s.videoLogoUrl=n[7]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function C3(t){let e,i;return e=new K2({props:{isAudioAvailable:t[78],click:t[126]}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Lr(t){let e,i,n;function o(l){t[185](l)}let s={tooltipContent:t[52],$$slots:{default:[P3]},$$scope:{ctx:t}};return t[23].subtitles!==void 0&&(s.ref=t[23].subtitles),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&2097152&&(a.tooltipContent=l[52]),r[0]&262144|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].subtitles,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function P3(t){let e,i;return e=new o2({props:{isSubtitlesEnabled:t[18],click:t[88]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&262144&&(s.isSubtitlesEnabled=n[18]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Vr(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 au({props:l}),ve.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),H(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],Oe(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&T(e),F(i)}}}function Mr(t){let e,i,n;function o(l){t[188](l)}let s={tooltipContent:t[27]?void 0:Y("tooltip_settings_off"),$$slots:{default:[S3]},$$scope:{ctx:t}};return t[23].settings!==void 0&&(s.ref=t[23].settings),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function S3(t){let e,i,n;function o(l){t[187](l)}let s={};return t[25]!==void 0&&(s.ref=t[25]),e=new Ul({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&33554432&&(i=!0,a.ref=l[25],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function T3(t){let e,i,n;function o(l){t[189](l)}let s={className:t[41]?"":"out-of-view",tooltipContent:t[49],$$slots:{default:[E3]},$$scope:{ctx:t}};return t[23].context!==void 0&&(s.ref=t[23].context),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function E3(t){let e,i;return e=new s3({props:{ariaLabel:t[49]}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Br(t){let e,i,n;function o(l){t[190](l)}let s={tooltipContent:t[53],$$slots:{default:[A3]},$$scope:{ctx:t}};return t[23].fullscreen!==void 0&&(s.ref=t[23].fullscreen),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&4194304&&(a.tooltipContent=l[53]),r[0]&1073750016|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].fullscreen,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function A3(t){let e,i;return e=new du({props:{click:t[13],isFullscreen:t[30]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&8192&&(s.click=n[13]),o[0]&1073741824&&(s.isFullscreen=n[30]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Rr(t){let e,i,n;function o(l){t[191](l)}let s={tooltipContent:t[54],$$slots:{default:[I3]},$$scope:{ctx:t}};return t[23].chromecast!==void 0&&(s.ref=t[23].chromecast),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&8388608&&(a.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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function I3(t){let e,i;return e=new hu({props:{isMobile:!1,state:t[29],click:t[125]}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function L3(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B,x,L,te,z;i=new vu({props:{isHidden:!t[45],isAds:t[4],canRewindLive:t[5],isRewindableLive:t[32]}});let X=t[38]&&kr(t),le=t[35]&&yr(t),P=t[36]&&Cr(t),oe=t[37]&&Pr(t),K=t[118]&&d3(t),ne=!t[4]&&t[33]&&Sr(t),we=t[19]&&Tr(t);function Ue(J){t[181](J)}let qe={className:"w-max",disabled:!t[20],tooltipContent:Y("tooltip_episodes"),$$slots:{default:[w3]},$$scope:{ctx:t}};t[23].episodes!==void 0&&(qe.ref=t[23].episodes),v=new Mt({props:qe}),ve.push(()=>He(v,"ref",Ue));let Ie=Ut(t[28]),Ce=[];for(let J=0;J<Ie.length;J+=1)Ce[J]=Ar(wr(t,Ie,J));const ue=J=>g(Ce[J],1,1,()=>{Ce[J]=null});let j=t[43]&&Ir(t);function ae(J){t[184](J)}let be={$$slots:{default:[C3]},$$scope:{ctx:t}};t[23].volume!==void 0&&(be.ref=t[23].volume),V=new Mt({props:be}),ve.push(()=>He(V,"ref",ae));let $=t[40]&&Lr(t),Pe=!t[84]&&!t[4]&&Vr(t),Te=t[42]&&Mr(t),Me=t[85].features.contextMenuButton&&T3(t),re=t[44]&&Br(t),_e=t[39]&&Rr(t);return{c(){e=A("div"),U(i.$$.fragment),n=D(),o=A("div"),s=A("div"),X&&X.c(),l=D(),le&&le.c(),r=D(),P&&P.c(),a=D(),oe&&oe.c(),c=D(),K&&K.c(),f=D(),ne&&ne.c(),m=D(),we&&we.c(),h=D(),U(v.$$.fragment),_=D(),S=A("div");for(let J=0;J<Ce.length;J+=1)Ce[J].c();k=D(),j&&j.c(),C=D(),U(V.$$.fragment),M=D(),$&&$.c(),G=D(),Pe&&Pe.c(),B=D(),Te&&Te.c(),x=D(),Me&&Me.c(),L=D(),re&&re.c(),te=D(),_e&&_e.c(),u(s,"class","controls-left v-st0uzk"),vo(()=>t[182].call(s)),u(S,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),R(e,"hidden",t[1]),R(e,"controls-hidden",!t[3]),R(e,"no-smooth",t[2])},m(J,Q){E(J,e,Q),H(i,e,null),p(e,n),p(e,o),p(o,s),X&&X.m(s,null),p(s,l),le&&le.m(s,null),p(s,r),P&&P.m(s,null),p(s,a),oe&&oe.m(s,null),p(s,c),K&&K.m(s,null),p(s,f),ne&&ne.m(s,null),p(s,m),we&&we.m(s,null),p(s,h),H(v,s,null),w=Vl(s,t[182].bind(s)),p(o,_),p(o,S);for(let De=0;De<Ce.length;De+=1)Ce[De]&&Ce[De].m(S,null);p(S,k),j&&j.m(S,null),p(S,C),H(V,S,null),p(S,M),$&&$.m(S,null),p(S,G),Pe&&Pe.m(S,null),p(S,B),Te&&Te.m(S,null),p(S,x),Me&&Me.m(S,null),p(S,L),re&&re.m(S,null),p(S,te),_e&&_e.m(S,null),t[192](o),t[193](e),z=!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=kr(J),X.c(),d(X,1),X.m(s,l)):X&&(fe(),g(X,1,1,()=>{X=null}),de()),J[35]?le?(le.p(J,Q),Q[1]&16&&d(le,1)):(le=yr(J),le.c(),d(le,1),le.m(s,r)):le&&(fe(),g(le,1,1,()=>{le=null}),de()),J[36]?P?(P.p(J,Q),Q[1]&32&&d(P,1)):(P=Cr(J),P.c(),d(P,1),P.m(s,a)):P&&(fe(),g(P,1,1,()=>{P=null}),de()),J[37]?oe?(oe.p(J,Q),Q[1]&64&&d(oe,1)):(oe=Pr(J),oe.c(),d(oe,1),oe.m(s,c)):oe&&(fe(),g(oe,1,1,()=>{oe=null}),de()),J[118]&&K.p(J,Q),!J[4]&&J[33]?ne?(ne.p(J,Q),Q[0]&16|Q[1]&4&&d(ne,1)):(ne=Sr(J),ne.c(),d(ne,1),ne.m(s,m)):ne&&(fe(),g(ne,1,1,()=>{ne=null}),de()),J[19]?we?(we.p(J,Q),Q[0]&524288&&d(we,1)):(we=Tr(J),we.c(),d(we,1),we.m(s,h)):we&&(fe(),g(we,1,1,()=>{we=null}),de());const et={};if(Q[0]&1048576&&(et.disabled=!J[20]),Q[0]&1048576|Q[2]&2621440|Q[6]&67108864&&(et.$$scope={dirty:Q,ctx:J}),!b&&Q[0]&8388608&&(b=!0,et.ref=J[23].episodes,Oe(()=>b=!1)),v.$set(et),Q[0]&268435456){Ie=Ut(J[28]);let ye;for(ye=0;ye<Ie.length;ye+=1){const Ge=wr(J,Ie,ye);Ce[ye]?(Ce[ye].p(Ge,Q),d(Ce[ye],1)):(Ce[ye]=Ar(Ge),Ce[ye].c(),d(Ce[ye],1),Ce[ye].m(S,k))}for(fe(),ye=Ie.length;ye<Ce.length;ye+=1)ue(ye);de()}J[43]?j?(j.p(J,Q),Q[1]&4096&&d(j,1)):(j=Ir(J),j.c(),d(j,1),j.m(S,C)):j&&(fe(),g(j,1,1,()=>{j=null}),de());const Xe={};Q[2]&65536|Q[6]&67108864&&(Xe.$$scope={dirty:Q,ctx:J}),!ie&&Q[0]&8388608&&(ie=!0,Xe.ref=J[23].volume,Oe(()=>ie=!1)),V.$set(Xe),J[40]?$?($.p(J,Q),Q[1]&512&&d($,1)):($=Lr(J),$.c(),d($,1),$.m(S,G)):$&&(fe(),g($,1,1,()=>{$=null}),de()),!J[84]&&!J[4]?Pe?(Pe.p(J,Q),Q[0]&16|Q[2]&4194304&&d(Pe,1)):(Pe=Vr(J),Pe.c(),d(Pe,1),Pe.m(S,B)):Pe&&(fe(),g(Pe,1,1,()=>{Pe=null}),de()),J[42]?Te?(Te.p(J,Q),Q[1]&2048&&d(Te,1)):(Te=Mr(J),Te.c(),d(Te,1),Te.m(S,x)):Te&&(fe(),g(Te,1,1,()=>{Te=null}),de()),J[85].features.contextMenuButton&&Me.p(J,Q),J[44]?re?(re.p(J,Q),Q[1]&8192&&d(re,1)):(re=Br(J),re.c(),d(re,1),re.m(S,te)):re&&(fe(),g(re,1,1,()=>{re=null}),de()),J[39]?_e?(_e.p(J,Q),Q[1]&256&&d(_e,1)):(_e=Rr(J),_e.c(),d(_e,1),_e.m(S,null)):_e&&(fe(),g(_e,1,1,()=>{_e=null}),de()),(!z||Q[0]&2)&&R(e,"hidden",J[1]),(!z||Q[0]&8)&&R(e,"controls-hidden",!J[3]),(!z||Q[0]&4)&&R(e,"no-smooth",J[2])},i(J){if(!z){d(i.$$.fragment,J),d(X),d(le),d(P),d(oe),d(K),d(ne),d(we),d(v.$$.fragment,J);for(let Q=0;Q<Ie.length;Q+=1)d(Ce[Q]);d(j),d(V.$$.fragment,J),d($),d(Pe),d(Te),d(Me),d(re),d(_e),z=!0}},o(J){g(i.$$.fragment,J),g(X),g(le),g(P),g(oe),g(K),g(ne),g(we),g(v.$$.fragment,J),Ce=Ce.filter(Boolean);for(let Q=0;Q<Ce.length;Q+=1)g(Ce[Q]);g(j),g(V.$$.fragment,J),g($),g(Pe),g(Te),g(Me),g(re),g(_e),z=!1},d(J){J&&T(e),F(i),X&&X.d(),le&&le.d(),P&&P.d(),oe&&oe.d(),K&&K.d(),ne&&ne.d(),we&&we.d(),F(v),w(),wn(Ce,J),j&&j.d(),F(V),$&&$.d(),Pe&&Pe.d(),Te&&Te.d(),Me&&Me.d(),re&&re.d(),_e&&_e.d(),t[192](null),t[193](null)}}}function V3(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B,x,L,te,z,X,le,P,oe,K,ne=W,we=()=>(ne(),ne=Qt(x,Z=>i(142,K=Z)),x),Ue,qe=W,Ie=()=>(qe(),qe=Qt(B,Z=>i(143,Ue=Z)),B),Ce,ue=W,j=()=>(ue(),ue=Qt(G,Z=>i(144,Ce=Z)),G),ae,be=W,$=()=>(be(),be=Qt(M,Z=>i(145,ae=Z)),M),Pe,Te=W,Me=()=>(Te(),Te=Qt(ie,Z=>i(146,Pe=Z)),ie),re,_e=W,J=()=>(_e(),_e=Qt(V,Z=>i(147,re=Z)),V),Q,De=W,et=()=>(De(),De=Qt(C,Z=>i(148,Q=Z)),C),Xe,ye=W,Ge=()=>(ye(),ye=Qt(k,Z=>i(149,Xe=Z)),k),Je,ct=W,bt=()=>(ct(),ct=Qt(S,Z=>i(150,Je=Z)),S),Fe,Le=W,vt=()=>(Le(),Le=Qt(_,Z=>i(151,Fe=Z)),_),Bt,xt=W,qt=()=>(xt(),xt=Qt(w,Z=>i(152,Bt=Z)),w),ce,pt=W,ht=()=>(pt(),pt=Qt(b,Z=>i(153,ce=Z)),b),ft,st=W,kt=()=>(st(),st=Qt(v,Z=>i(154,ft=Z)),v),Pt,ai=W,Fi=()=>(ai(),ai=Qt(h,Z=>i(155,Pt=Z)),h),Zt,Ui=W,Yi=()=>(Ui(),Ui=Qt(m,Z=>i(156,Zt=Z)),m),$t,Bi=W,Ri=()=>(Bi(),Bi=Qt(f,Z=>i(157,$t=Z)),f),Rt,ei=W,ui=()=>(ei(),ei=Qt(c,Z=>i(158,Rt=Z)),c),Wt,ci,Kt,gi,Ni,mt,fi,bi,_i,Nt,vi,ti,ii,St,wi,zt,rt,Tt,zi,ki,yi,ni,jt;t.$$.on_destroy.push(()=>ne()),t.$$.on_destroy.push(()=>qe()),t.$$.on_destroy.push(()=>ue()),t.$$.on_destroy.push(()=>be()),t.$$.on_destroy.push(()=>Te()),t.$$.on_destroy.push(()=>_e()),t.$$.on_destroy.push(()=>De()),t.$$.on_destroy.push(()=>ye()),t.$$.on_destroy.push(()=>ct()),t.$$.on_destroy.push(()=>Le()),t.$$.on_destroy.push(()=>xt()),t.$$.on_destroy.push(()=>pt()),t.$$.on_destroy.push(()=>st()),t.$$.on_destroy.push(()=>ai()),t.$$.on_destroy.push(()=>Ui()),t.$$.on_destroy.push(()=>Bi()),t.$$.on_destroy.push(()=>ei());let{bottomHidden:qi}=e,{bottomNoSmooth:Et}=e,{showControls:wt}=e,{controlsElementRef:yt=void 0}=e,{isAds:At=!1}=e,{canRewindLive:Zi}=e,{logoClickable:Gt}=e,{logoHidden:Ci}=e,{videoLogoUrl:Di}=e,{showNextPrevButtons:Pi}=e,{nextButtonActive:Qi}=e,{prevButtonActive:Si}=e,{isOneVideoPlaylist:di=!1}=e,{supportLink:mi}=e,{customFullscreenSupported:Ti=!0}=e,{playNextVideo:Ei}=e,{playPrevVideo:Ai}=e,{repeatPlaylist:Ae}=e,{toggleFullscreen:Wi}=e,{returnFocus:Ki}=e,{seekToInteractive:Ii}=e,{toggleGraph:ji}=e,{playPrevChapter:Li}=e;const Ne=ut(),pi=sl(),Vi=ln(),Dt=Ne.actions.internal.toggleMuted,Ot=Ne.actions.internal.togglePlay,oi=Ne.actions.internal.pause,$i=Ne.actions.internal.toggleSubtitle,Oi=Ne.callbacks?.onAudioDoesNotExistHint,en=Ne.callbacks?.onAudioDisabledHint,tn=Ne.state.duration$;O(t,tn,Z=>i(83,ni=Z));const Xi=Ne.state.positionWithScrubbing$;O(t,Xi,Z=>i(81,ki=Z));const Mi=Ne.state.playbackState$;O(t,Mi,Z=>i(159,Kt=Z));const Gi=Ne.state.chromecastConnected$;O(t,Gi,Z=>i(84,jt=Z));const Hi=Ne.state.isAudioAvailable$;O(t,Hi,Z=>i(78,L=Z));const nn=Ne.state.isAudioDisabled,ee=Ne.state.isEnded$;O(t,ee,Z=>i(167,St=Z));const xe=Ne.state.isLive$;O(t,xe,Z=>i(33,bi=Z));const gt=Ne.state.isActiveLive$;O(t,gt,Z=>i(161,mt=Z));const li=Ne.state.isRewindableLive$;O(t,li,Z=>i(32,fi=Z));const Ji=Ne.ui.isPictureInPictureActive$;O(t,Ji,Z=>i(163,Nt=Z));const sn=Ne.ui.pictureInPictureType$;O(t,sn,Z=>i(162,_i=Z));const kn=Ne.ui.settingsMenuVisible;O(t,kn,Z=>i(27,X=Z));const It=Ne.ui.settingsMenuOpenedByKeyboard;O(t,It,Z=>i(139,z=Z));const rn=Ne.ui.controls,an=Ne.actions.internal.getVideoEpisodes(),dn=Ne.state.chromecastState$;O(t,dn,Z=>i(29,Wt=Z));const yn=Ne.state.availableSubtitlesList$;O(t,yn,Z=>i(166,ii=Z));const mn=Ne.state.currentSubtitle$;O(t,mn,Z=>i(168,wi=Z));const y=rn.disabledControls$;O(t,y,Z=>i(170,rt=Z));const at=Ne.ui.contextMenuVisible;O(t,at,Z=>i(160,gi=Z));const zn=Ne.ui.contextMenu.showContextMenuBtn$;O(t,zn,Z=>i(164,vi=Z));const Dn=Ne.ui.contextMenu.openedByKeyboard$;O(t,Dn,Z=>i(165,ti=Z));const Tn=Ne.ui.startedByKeyboard$;O(t,Tn,Z=>i(138,te=Z));const $n=Ne.ads.duration;O(t,$n,Z=>i(82,yi=Z));const eo=Ne.ads.position;O(t,eo,Z=>i(80,zi=Z));const to=Ne.ads.playbackState;O(t,to,Z=>i(169,zt=Z));const io=Ne.ui.isFullscreen;O(t,io,Z=>i(30,ci=Z));const jn=Ne.ui.playerSize;O(t,jn,Z=>i(140,le=Z));const no=Ne.ui.currentGridType$;O(t,no,Z=>i(141,P=Z));const Gn=Ne.ui.additionalButtons$;O(t,Gn,Z=>i(28,oe=Z));const Yn=Ne.actions.internal.getVideoElement,oo=Ne.actions.internal.replayInteractive,pn=Ne.state.isInteractive,On=Ne.state.isInteractiveGraphEnabled,lo=Ne.state.isSeekToInteractiveEnable,Hn=Ne.state.isPlayPrevChapterEnabled,so=Ne.state.graphIsOpened$;O(t,so,Z=>i(31,Ni=Z));const Co=Ne.state.playPrevChapterDisabledTooltip,En=pi.seekToInteractiveDisabledTooltip$;O(t,En,Z=>i(79,Tt=Z));const ro=()=>Ne.actions.internal.toggleChromecast();let ao,Fn,Un,Qn,q,si,it,I,se,ke,Be,Ke,Ht,Yt,Lt,un,qn,Po,So,Gl,Yl,ul="";const qu=(Z,fl)=>{if(!Z){i(50,ul=Y("tooltip_live"));return}fl===Ft.PAUSED&&i(50,ul=Y("tooltip_play"))};let Ql,Xl,Jl,xl,Oo;const Ze={};let hn,To,cl,$l;const Zu=ol(Eu,w1,{leading:!1});let Ho,Fo,Uo;function Wu(){nn?en?.():L?Dt():Oi?.()}const Ku=pn?oo:di?Ot:Ae;function ju(Z){t.$$.not_equal(Ze.prevButton,Z)&&(Ze.prevButton=Z,i(23,Ze))}function Gu(Z){t.$$.not_equal(Ze.replayButton,Z)&&(Ze.replayButton=Z,i(23,Ze))}function Yu(Z){Uo=Z,i(26,Uo)}function Qu(Z){t.$$.not_equal(Ze.playButton,Z)&&(Ze.playButton=Z,i(23,Ze))}function Xu(Z){t.$$.not_equal(Ze.nextButton,Z)&&(Ze.nextButton=Z,i(23,Ze))}function Ju(Z){t.$$.not_equal(Ze.playPrevChapterButton,Z)&&(Ze.playPrevChapterButton=Z,i(23,Ze))}function xu(Z){t.$$.not_equal(Ze.seekToInteractiveButton,Z)&&(Ze.seekToInteractiveButton=Z,i(23,Ze))}function $u(Z){t.$$.not_equal(Ze.interactiveGraphButton,Z)&&(Ze.interactiveGraphButton=Z,i(23,Ze))}function ec(Z){t.$$.not_equal(Ze.liveButton,Z)&&(Ze.liveButton=Z,i(23,Ze))}function tc(Z){t.$$.not_equal(Ze.time,Z)&&(Ze.time=Z,i(23,Ze))}function ic(Z){t.$$.not_equal(Ze.episodes,Z)&&(Ze.episodes=Z,i(23,Ze))}function nc(){Oo=this.clientWidth,i(22,Oo)}function oc(Z){t.$$.not_equal(Ze.vkLogo,Z)&&(Ze.vkLogo=Z,i(23,Ze))}function lc(Z){t.$$.not_equal(Ze.volume,Z)&&(Ze.volume=Z,i(23,Ze))}function sc(Z){t.$$.not_equal(Ze.subtitles,Z)&&(Ze.subtitles=Z,i(23,Ze))}function rc(Z){Ho=Z,i(24,Ho)}function ac(Z){Fo=Z,i(25,Fo)}function uc(Z){t.$$.not_equal(Ze.settings,Z)&&(Ze.settings=Z,i(23,Ze))}function cc(Z){t.$$.not_equal(Ze.context,Z)&&(Ze.context=Z,i(23,Ze))}function fc(Z){t.$$.not_equal(Ze.fullscreen,Z)&&(Ze.fullscreen=Z,i(23,Ze))}function dc(Z){t.$$.not_equal(Ze.chromecast,Z)&&(Ze.chromecast=Z,i(23,Ze))}function mc(Z){ve[Z?"unshift":"push"](()=>{qn=Z,i(46,qn)})}function pc(Z){ve[Z?"unshift":"push"](()=>{yt=Z,i(0,yt)})}return t.$$set=Z=>{"bottomHidden"in Z&&i(1,qi=Z.bottomHidden),"bottomNoSmooth"in Z&&i(2,Et=Z.bottomNoSmooth),"showControls"in Z&&i(3,wt=Z.showControls),"controlsElementRef"in Z&&i(0,yt=Z.controlsElementRef),"isAds"in Z&&i(4,At=Z.isAds),"canRewindLive"in Z&&i(5,Zi=Z.canRewindLive),"logoClickable"in Z&&i(6,Gt=Z.logoClickable),"logoHidden"in Z&&i(128,Ci=Z.logoHidden),"videoLogoUrl"in Z&&i(7,Di=Z.videoLogoUrl),"showNextPrevButtons"in Z&&i(129,Pi=Z.showNextPrevButtons),"nextButtonActive"in Z&&i(8,Qi=Z.nextButtonActive),"prevButtonActive"in Z&&i(9,Si=Z.prevButtonActive),"isOneVideoPlaylist"in Z&&i(130,di=Z.isOneVideoPlaylist),"supportLink"in Z&&i(10,mi=Z.supportLink),"customFullscreenSupported"in Z&&i(131,Ti=Z.customFullscreenSupported),"playNextVideo"in Z&&i(11,Ei=Z.playNextVideo),"playPrevVideo"in Z&&i(12,Ai=Z.playPrevVideo),"repeatPlaylist"in Z&&i(132,Ae=Z.repeatPlaylist),"toggleFullscreen"in Z&&i(13,Wi=Z.toggleFullscreen),"returnFocus"in Z&&i(14,Ki=Z.returnFocus),"seekToInteractive"in Z&&i(15,Ii=Z.seekToInteractive),"toggleGraph"in Z&&i(16,ji=Z.toggleGraph),"playPrevChapter"in Z&&i(17,Li=Z.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[5]&32768&&i(137,n=rt.has(nt.EPISODE_BUTTON)),t.$$.dirty[5]&32768&&i(77,o=rt.has(nt.GRAPH_BUTTON)),t.$$.dirty[5]&32768&&i(76,s=rt.has(nt.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[5]&32768&&i(75,l=rt.has(nt.PLAY_BUTTON)),t.$$.dirty[5]&32768&&i(74,r=rt.has(nt.REPLAY_BUTTON)),t.$$.dirty[5]&32768&&i(73,a=rt.has(nt.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[0]&16|t.$$.dirty[5]&16400&&i(34,ao=At?zt===Xt.PLAYING:Kt===Ft.PLAYING),t.$$.dirty[5]&8192&&i(18,Fn=wi.value!=="off"),t.$$.dirty[0]&16|t.$$.dirty[5]&4096&&i(35,Un=St&&!At||pn),t.$$.dirty[0]&16|t.$$.dirty[5]&4096&&i(36,Qn=!St||pn||At),t.$$.dirty[4]&131072&&i(133,q=gn(P,_t.M)),t.$$.dirty[0]&272|t.$$.dirty[4]&131104&&i(37,si=Pi&&gn(P,_t.M)&&!At&&Qi),t.$$.dirty[0]&528|t.$$.dirty[4]&131104&&i(38,it=Pi&&gn(P,_t.M)&&!At&&Si),t.$$.dirty[0]&536870912|t.$$.dirty[4]&131072|t.$$.dirty[5]&384&&i(39,I=Wt!==Pn.NOT_AVAILABLE&&!(Nt&&_i===Ln.DocumentPictureInPicture)&&gn(P,_t.M)&&!pn),t.$$.dirty[4]&131072|t.$$.dirty[5]&2048&&i(40,se=ii.length>0&&gn(P,_t.M)),t.$$.dirty[5]&1536&&i(41,ke=ti||vi),t.$$.dirty[4]&131072&&i(42,Be=gn(P,_t.S)),t.$$.dirty[4]&16&&i(43,Ke=!Ci),t.$$.dirty[4]&131216|t.$$.dirty[5]&384&&i(44,Ht=Vi.features.fullscreen&&(Ci||gn(P,_t.S))&&!(Nt&&_i===Ln.DocumentPictureInPicture)&&(pn?Ti:!0)),t.$$.dirty[0]&16|t.$$.dirty[1]&4&&i(19,Yt=(!bi||At)&&!(Vi.features.interactiveHideTime&&pn)),t.$$.dirty[4]&65536&&i(45,Lt=le.width>100),t.$$.dirty[0]&16|t.$$.dirty[1]&4|t.$$.dirty[4]&8704&&i(20,un=!At&&!bi&&!!an?.length&&q&&!n),t.$$.dirty[1]&2|t.$$.dirty[5]&64&&i(21,Po=!fi||mt),t.$$.dirty[5]&16&&i(47,So=Kt===Ft.PLAYING?Y("tooltip_pause"):Y("tooltip_play")),t.$$.dirty[1]&1&&i(48,Gl=Y(Ni?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),t.$$.dirty[5]&32&&i(49,Yl=Y(gi?"aria_label_context_menu_close":"aria_label_context_menu_open")),t.$$.dirty[0]&2097152|t.$$.dirty[5]&16&&qu(Po,Kt),t.$$.dirty[0]&262144&&i(52,Xl=Y(Fn?"tooltip_subtitles_on":"tooltip_subtitles_off")),t.$$.dirty[0]&1073741824&&i(53,Jl=Y(ci?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),t.$$.dirty[0]&536870912&&i(54,xl=Wt===Pn.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off")),t.$$.dirty[0]&268435456|t.$$.dirty[4]&2147221504|t.$$.dirty[5]&15&&i(134,hn={prevButton:Rt?Rt.right-Rt.left:0,replayButton:$t?$t.right-$t.left:0,playButton:Zt?Zt.right-Zt.left:0,nextButton:Pt?Pt.right-Pt.left:0,playPrevChapterButton:ft?ft.right-ft.left:0,seekToInteractiveButton:ce?ce.right-ce.left:0,interactiveGraphButton:Bt?Bt.right-Bt.left:0,liveButton:Fe?Fe.right-Fe.left:0,time:Je?Je.right-Je.left:0,episodes:Xe?Xe.right-Xe.left:0,vkLogo:Q?Q.right-Q.left:0,volume:re?re.right-re.left:0,subtitles:Pe?Pe.right-Pe.left:0,settings:ae?ae.right-ae.left:0,context:Ce?Ce.right-Ce.left:0,fullscreen:Ue?Ue.right-Ue.left:0,chromecast:K?K.right-K.left:0,additionalButtons:oe.length?oe.reduce(Z=>[...Z,40],[]):[]}),t.$$.dirty[4]&3072&&(!To||To<hn.time)&&i(135,To=hn.time),t.$$.dirty[0]&5767168|t.$$.dirty[4]&134144){let Z=0;un&&(gn(P,_t.XL)?Z=hn.time:Z=of);const fl=hn.prevButton+hn.playButton+hn.nextButton+hn.seekToInteractiveButton+hn.interactiveGraphButton+hn.liveButton+To+Z;i(136,cl=Yt&&Oo>=fl)}t.$$.dirty[4]&135168&&i(55,$l=cl&&gn(P,_t.M)),t.$$.dirty[0]&8388616|t.$$.dirty[4]&65536&&Zu(Yn(),rn,Ze,wt),t.$$.dirty[0]&167772160&&Ol(Fo,X,It),t.$$.dirty[0]&150994944|t.$$.dirty[4]&32768&&Hl(Ho,X,z),t.$$.dirty[0]&67108864|t.$$.dirty[4]&16384&&Au(Tn,te,Uo)},i(51,Ql=Vi.logoType===wo.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),ui(i(72,{prevButton:c,replayButton:f,playButton:m,nextButton:h,playPrevChapterButton:v,seekToInteractiveButton:b,interactiveGraphButton:w,liveButton:_,time:S,episodes:k,vkLogo:C,volume:V,subtitles:ie,settings:M,context:G,fullscreen:B,chromecast:x}=rn,c,Ri(i(71,f)),Yi(i(70,m)),Fi(i(69,h)),kt(i(68,v)),ht(i(67,b)),qt(i(66,w)),vt(i(65,_)),bt(i(64,S)),Ge(i(63,k)),et(i(62,C)),J(i(61,V)),Me(i(60,ie)),$(i(59,M)),j(i(58,G)),Ie(i(57,B)),we(i(56,x)))),[yt,qi,Et,wt,At,Zi,Gt,Di,Qi,Si,mi,Ei,Ai,Wi,Ki,Ii,ji,Li,Fn,Yt,un,Po,Oo,Ze,Ho,Fo,Uo,X,oe,Wt,ci,Ni,fi,bi,ao,Un,Qn,si,it,I,se,ke,Be,Ke,Ht,Lt,qn,So,Gl,Yl,ul,Ql,Xl,Jl,xl,$l,x,B,G,M,ie,V,C,k,S,_,w,b,v,h,m,f,c,a,r,l,s,o,L,Tt,zi,ki,yi,ni,jt,Vi,Ot,oi,$i,tn,Xi,Mi,Gi,Hi,ee,xe,gt,li,Ji,sn,kn,It,an,dn,yn,mn,y,at,zn,Dn,Tn,$n,eo,to,io,jn,no,Gn,pn,On,lo,Hn,so,Co,En,ro,Wu,Ku,Ci,Pi,di,Ti,Ae,q,hn,To,cl,n,te,z,le,P,K,Ue,Ce,ae,Pe,re,Q,Xe,Je,Fe,Bt,ce,ft,Pt,Zt,$t,Rt,Kt,gi,mt,_i,Nt,vi,ti,ii,St,wi,zt,rt,ju,Gu,Yu,Qu,Xu,Ju,xu,$u,ec,tc,ic,nc,oc,lc,sc,rc,ac,uc,cc,fc,dc,mc,pc]}class M3 extends ge{constructor(e){super(),he(this,e,V3,L3,pe,{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},r3,[-1,-1,-1,-1,-1,-1,-1])}}function B3(t){let e,i,n,o;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(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:W,i:W,o:W,d(s){s&&T(e)}}}class R3 extends ge{constructor(e){super(),he(this,e,null,B3,pe,{})}}function N3(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 Nr(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:W,d(i){i&&T(e)}}}function z3(t){let e,i,n,o;var s=t[4];function l(a){return{}}s&&(i=Sn(s,l()));let r=t[1]&&Nr();return{c(){e=A("div"),i&&U(i.$$.fragment),n=D(),r&&r.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),R(e,"expanded",t[1])},m(a,c){E(a,e,c),i&&H(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){fe();const f=i;g(f.$$.fragment,1,0,()=>{F(f,1)}),de()}s?(i=Sn(s,l()),U(i.$$.fragment),d(i.$$.fragment,1),H(i,e,n)):i=null}a[1]?r?r.p(a,c):(r=Nr(),r.c(),r.m(e,null)):r&&(r.d(1),r=null),(!o||c&2)&&R(e,"expanded",a[1])},i(a){o||(i&&d(i.$$.fragment,a),o=!0)},o(a){i&&g(i.$$.fragment,a),o=!1},d(a){a&&T(e),i&&F(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:[z3]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.testId=l[1]?"btn-mobile-unmuted":"btn-mobile-muted"),r&4&&(a.click=l[2]),r&8&&(a.ariaLabel=l[3]),r&146&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function O3(t,e,i){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:s=je}=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?rl:R3)},[l,o,s,r,a,n,c]}class Iu extends ge{constructor(e){super(),he(this,e,O3,D3,pe,{muted:5,expanded:1,click:2,ref:0},N3)}}function H3(t){let e,i,n,o;return{c(){e=N("svg"),i=N("path"),n=N("path"),o=N("path"),u(i,"fill",t[1]),u(i,"clip-rule","evenodd"),u(i,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",t[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),R(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"),R(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&&R(n,"hidden",!s[0]),l&2&&u(o,"fill",s[1]),l&1&&R(o,"hidden",s[0])},i:W,o:W,d(s){s&&T(e)}}}function F3(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 U3 extends ge{constructor(e){super(),he(this,e,F3,H3,pe,{isActive:0})}}function q3(t){let e,i;return e=new U3({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Z3(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:[q3]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&4&&(a.click=l[2]),r&18&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function W3(t,e,i){let{ref:n=void 0}=e,{isPictureInPictureActive:o=!1}=e,{click:s=je}=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 K3 extends ge{constructor(e){super(),he(this,e,W3,Z3,pe,{ref:0,isPictureInPictureActive:1,click:2})}}function j3(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 zr(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 Dr(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k=(!t[51]||t[53])&&Or(t),C=Ut(t[56]),V=[];for(let P=0;P<C.length;P+=1)V[P]=Hr(zr(t,C,P));const ie=P=>g(V[P],1,1,()=>{V[P]=null});let M=t[36]&&Fr(t),G=t[37]&&Ur(t),B=t[57]&&qr(t),x=t[39]&&Zr(t),L=t[8]&&Wr(t),te=t[34]&&Kr(t),z=t[33]&&jr(t),X=t[8]&&Gr(t),le=t[95]&&!t[29]&&Yr(t);return{c(){e=A("div"),i=D(),n=A("div"),k&&k.c(),o=D(),s=A("div");for(let P=0;P<V.length;P+=1)V[P].c();l=D(),M&&M.c(),r=D(),G&&G.c(),a=D(),B&&B.c(),c=D(),x&&x.c(),f=D(),m=A("div"),L&&L.c(),h=D(),te&&te.c(),v=D(),z&&z.c(),b=D(),X&&X.c(),w=D(),le&&le.c(),_=lt(),u(e,"class","overlay-mobile v-1tcstu3"),R(e,"hidden",!t[42]),u(n,"class","wrapper-top-left v-1tcstu3"),R(n,"hidden",!t[3]),R(n,"fullscreen",t[52]),u(s,"class","wrapper-top-right v-1tcstu3"),R(s,"hidden",!t[3]&&!t[27]),R(s,"fullscreen",t[52]),u(m,"class","wrapper-middle v-1tcstu3"),R(m,"hidden",!t[3]||t[29])},m(P,oe){E(P,e,oe),E(P,i,oe),E(P,n,oe),k&&k.m(n,null),E(P,o,oe),E(P,s,oe);for(let K=0;K<V.length;K+=1)V[K]&&V[K].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(P,f,oe),E(P,m,oe),L&&L.m(m,null),p(m,h),te&&te.m(m,null),p(m,v),z&&z.m(m,null),p(m,b),X&&X.m(m,null),E(P,w,oe),le&&le.m(P,oe),E(P,_,oe),S=!0},p(P,oe){if((!S||oe[1]&2048)&&R(e,"hidden",!P[42]),!P[51]||P[53]?k?(k.p(P,oe),oe[1]&5242880&&d(k,1)):(k=Or(P),k.c(),d(k,1),k.m(n,null)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),(!S||oe[0]&8)&&R(n,"hidden",!P[3]),(!S||oe[1]&2097152)&&R(n,"fullscreen",P[52]),oe[1]&33554432){C=Ut(P[56]);let K;for(K=0;K<C.length;K+=1){const ne=zr(P,C,K);V[K]?(V[K].p(ne,oe),d(V[K],1)):(V[K]=Hr(ne),V[K].c(),d(V[K],1),V[K].m(s,l))}for(fe(),K=C.length;K<V.length;K+=1)ie(K);de()}P[36]?M?(M.p(P,oe),oe[1]&32&&d(M,1)):(M=Fr(P),M.c(),d(M,1),M.m(s,r)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),P[37]?G?(G.p(P,oe),oe[1]&64&&d(G,1)):(G=Ur(P),G.c(),d(G,1),G.m(s,a)):G&&(fe(),g(G,1,1,()=>{G=null}),de()),P[57]?B?(B.p(P,oe),oe[1]&67108864&&d(B,1)):(B=qr(P),B.c(),d(B,1),B.m(s,c)):B&&(fe(),g(B,1,1,()=>{B=null}),de()),P[39]?x?(x.p(P,oe),oe[1]&256&&d(x,1)):(x=Zr(P),x.c(),d(x,1),x.m(s,null)):x&&(fe(),g(x,1,1,()=>{x=null}),de()),(!S||oe[0]&134217736)&&R(s,"hidden",!P[3]&&!P[27]),(!S||oe[1]&2097152)&&R(s,"fullscreen",P[52]),P[8]?L?(L.p(P,oe),oe[0]&256&&d(L,1)):(L=Wr(P),L.c(),d(L,1),L.m(m,h)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),P[34]?te?(te.p(P,oe),oe[1]&8&&d(te,1)):(te=Kr(P),te.c(),d(te,1),te.m(m,v)):te&&(fe(),g(te,1,1,()=>{te=null}),de()),P[33]?z?(z.p(P,oe),oe[1]&4&&d(z,1)):(z=jr(P),z.c(),d(z,1),z.m(m,b)):z&&(fe(),g(z,1,1,()=>{z=null}),de()),P[8]?X?(X.p(P,oe),oe[0]&256&&d(X,1)):(X=Gr(P),X.c(),d(X,1),X.m(m,null)):X&&(fe(),g(X,1,1,()=>{X=null}),de()),(!S||oe[0]&536870920)&&R(m,"hidden",!P[3]||P[29]),P[95]&&!P[29]?le?(le.p(P,oe),oe[0]&536870912&&d(le,1)):(le=Yr(P),le.c(),d(le,1),le.m(_.parentNode,_)):le&&(fe(),g(le,1,1,()=>{le=null}),de())},i(P){if(!S){d(k);for(let oe=0;oe<C.length;oe+=1)d(V[oe]);d(M),d(G),d(B),d(x),d(L),d(te),d(z),d(X),d(le),S=!0}},o(P){g(k),V=V.filter(Boolean);for(let oe=0;oe<V.length;oe+=1)g(V[oe]);g(M),g(G),g(B),g(x),g(L),g(te),g(z),g(X),g(le),S=!1},d(P){P&&(T(e),T(i),T(n),T(o),T(s),T(f),T(m),T(w),T(_)),k&&k.d(),wn(V,P),M&&M.d(),G&&G.d(),B&&B.d(),x&&x.d(),L&&L.d(),te&&te.d(),z&&z.d(),X&&X.d(),le&&le.d(P)}}}function Or(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 Iu({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&8388608&&(a.muted=l[54]),r[1]&17825792&&(a.expanded=l[51]&&!l[70]&&l[55]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].volume,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Hr(t){let e,i;return e=new Su({props:{iconUrl:t[155],ariaLabel:t[156]??t[159],testId:t[157],onClick:t[158]}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Fr(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 hu({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&268435456&&(a.state=l[28]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].chromecast,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Ur(t){let e,i,n;function o(l){t[123](l)}let s={click:t[102],isPictureInPictureActive:t[26]};return t[20].pip!==void 0&&(s.ref=t[20].pip),e=new K3({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&67108864&&(a.isPictureInPictureActive=l[26]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].pip,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function qr(t){let e,i,n;function o(l){t[124](l)}let s={};return t[22]!==void 0&&(s.ref=t[22]),e=new Ul({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&4194304&&(i=!0,a.ref=l[22],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Zr(t){let e,i,n;function o(l){t[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 pu({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.logoClickable=l[6]),r[0]&128&&(a.videoLogoUrl=l[7]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].vkLogo,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Wr(t){let e,i,n;function o(l){t[126](l)}let s={click:t[13],type:"prev",disabled:!t[10],isMobile:!0};return t[20].prevButton!==void 0&&(s.ref=t[20].prevButton),e=new al({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&8192&&(a.click=l[13]),r[0]&1024&&(a.disabled=!l[10]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].prevButton,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Kr(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 Wl({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&131072&&(a.disabled=l[48]),r[1]&1&&(a.isPlaying=l[31]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].playButton,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function jr(t){let e,i,n;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 Kl({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.disabled=l[47]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].replayButton,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Gr(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 al({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&4096&&(a.click=l[12]),r[0]&512&&(a.disabled=!l[9]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].nextButton,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Yr(t){let e,i,n,o,s=t[98]&&G3(t),l=t[96]&&Y3(t),r=t[97]&&Q3(t);return{c(){s&&s.c(),e=D(),l&&l.c(),i=D(),r&&r.c(),n=lt()},m(a,c){s&&s.m(a,c),E(a,e,c),l&&l.m(a,c),E(a,i,c),r&&r.m(a,c),E(a,n,c),o=!0},p(a,c){a[98]&&s.p(a,c),a[96]&&l.p(a,c),a[97]&&r.p(a,c)},i(a){o||(d(s),d(l),d(r),o=!0)},o(a){g(s),g(l),g(r),o=!1},d(a){a&&(T(e),T(i),T(n)),s&&s.d(a),l&&l.d(a),r&&r.d(a)}}}function G3(t){let e,i,n;return i=new Pu({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"),R(e,"fullscreen",t[52]),R(e,"hidden",!t[3])},m(o,s){E(o,e,s),H(i,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.hidden=!o[3]),s[1]&32768&&(l.disabled=o[46]),s[0]&262144&&(l.click=o[18]),i.$set(l),(!n||s[1]&2097152)&&R(e,"fullscreen",o[52]),(!n||s[0]&8)&&R(e,"hidden",!o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function Y3(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 yu({props:l}),ve.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class",Dc(t[98]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),R(e,"fullscreen",t[52]),R(e,"hidden",!t[3]&&!t[58])},m(r,a){E(r,e,a),H(i,e,null),o=!0},p(r,a){const c={};a[0]&8|a[1]&134217728&&(c.hidden=!r[3]&&!r[58]),a[1]&524288&&(c.disabled=r[50]),a[0]&131072&&(c.click=r[17]),a[1]&134217728&&(c.graphIsOpened=r[58]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].interactiveGraphButton,Oe(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&R(e,"fullscreen",r[52]),(!o||a[0]&8|a[1]&134217728)&&R(e,"hidden",!r[3]&&!r[58])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&T(e),F(i)}}}function Q3(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 ku({props:l}),ve.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),R(e,"fullscreen",t[52]),R(e,"hidden",!t[3])},m(r,a){E(r,e,a),H(i,e,null),o=!0},p(r,a){const c={};a[0]&8&&(c.hidden=!r[3]),a[1]&262144&&(c.disabled=r[49]),a[0]&65536&&(c.click=r[16]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].seekToInteractiveButton,Oe(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&R(e,"fullscreen",r[52]),(!o||a[0]&8)&&R(e,"hidden",!r[3])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&T(e),F(i)}}}function Qr(t){let e,i,n,o,s,l=t[53]&&Xr(t),r=t[32]&&Jr(t);return o=new _u({props:{position:t[59],duration:t[60]}}),{c(){l&&l.c(),e=D(),r&&r.c(),i=D(),n=A("div"),U(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),R(n,"fullscreen",t[52])},m(a,c){l&&l.m(a,c),E(a,e,c),r&&r.m(a,c),E(a,i,c),E(a,n,c),H(o,n,null),s=!0},p(a,c){a[53]?l?(l.p(a,c),c[1]&4194304&&d(l,1)):(l=Xr(a),l.c(),d(l,1),l.m(e.parentNode,e)):l&&(fe(),g(l,1,1,()=>{l=null}),de()),a[32]?r?(r.p(a,c),c[1]&2&&d(r,1)):(r=Jr(a),r.c(),d(r,1),r.m(i.parentNode,i)):r&&(fe(),g(r,1,1,()=>{r=null}),de());const f={};c[1]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),o.$set(f),(!s||c[1]&2097152)&&R(n,"fullscreen",a[52])},i(a){s||(d(l),d(r),d(o.$$.fragment,a),s=!0)},o(a){g(l),g(r),g(o.$$.fragment,a),s=!1},d(a){a&&(T(e),T(i),T(n)),l&&l.d(a),r&&r.d(a),F(o)}}}function Xr(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 Iu({props:l}),ve.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),R(e,"fullscreen",t[52])},m(r,a){E(r,e,a),H(i,e,null),o=!0},p(r,a){const c={};a[1]&8388608&&(c.muted=r[54]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].volume,Oe(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&R(e,"fullscreen",r[52])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&T(e),F(i)}}}function Jr(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 Wl({props:l}),ve.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),H(i,e,null),o=!0},p(r,a){const c={};a[1]&131072&&(c.disabled=r[48]),a[1]&2&&(c.isPlaying=!r[32]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].playButton,Oe(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&T(e),F(i)}}}function X3(t){let e,i,n;function o(l){t[134](l)}let s={disabled:t[47],$$slots:{default:[J3]},$$scope:{ctx:t}};return t[20].replayButton!==void 0&&(s.ref=t[20].replayButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.disabled=l[47]),r[1]&65536|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].replayButton,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function J3(t){let e,i;return e=new Kl({props:{disabled:t[47],click:t[94]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[1]&65536&&(s.disabled=n[47]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function xr(t){let e,i,n;function o(l){t[135](l)}let s={$$slots:{default:[x3]},$$scope:{ctx:t}};return t[20].liveButton!==void 0&&(s.ref=t[20].liveButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&524288|r[1]&16384|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].liveButton,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function x3(t){let e,i;return e=new gu({props:{isActiveLive:t[19],isMobile:!0,ariaLabel:t[45]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&524288&&(s.isActiveLive=n[19]),o[1]&16384&&(s.ariaLabel=n[45]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function $r(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 uu({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&16&&(a.showDuration=l[35]),r[0]&16|r[1]&1342177280&&(a.position=l[4]?l[59]:l[61]),r[0]&16|r[1]&536870912|r[2]&1&&(a.duration=l[4]?l[60]:l[62]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].time,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function ea(t){let e,i,n,o;return n=new wu({props:{position:t[61],duration:t[62],timeCodes:t[84]}}),{c(){e=A("div"),e.textContent="\xB7",i=D(),U(n.$$.fragment),u(e,"aria-hidden","true")},m(s,l){E(s,e,l),E(s,i,l),H(n,s,l),o=!0},p(s,l){const r={};l[1]&1073741824&&(r.position=s[61]),l[2]&1&&(r.duration=s[62]),n.$set(r)},i(s){o||(d(n.$$.fragment,s),o=!0)},o(s){g(n.$$.fragment,s),o=!1},d(s){s&&(T(e),T(i)),F(n,s)}}}function $3(t){let e,i,n=t[43]&&ea(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=ea(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&T(e),n&&n.d(o)}}}function ta(t){let e,i,n;function o(l){t[139](l)}let s={$$slots:{default:[ep]},$$scope:{ctx:t}};return t[20].settings!==void 0&&(s.ref=t[20].settings),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&4194304|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].settings,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function ep(t){let e,i,n;function o(l){t[138](l)}let s={};return t[22]!==void 0&&(s.ref=t[22]),e=new Ul({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&4194304&&(i=!0,a.ref=l[22],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function ia(t){let e,i,n;function o(l){t[140](l)}let s={$$slots:{default:[tp]},$$scope:{ctx:t}};return t[20].fullscreen!==void 0&&(s.ref=t[20].fullscreen),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&16384|r[1]&2097152|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].fullscreen,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function tp(t){let e,i;return e=new du({props:{click:t[14],isFullscreen:t[52]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&16384&&(s.click=n[14]),o[1]&2097152&&(s.isFullscreen=n[52]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function na(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 au({props:l}),ve.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),H(i,e,null),o=!0},p(r,a){const c={};a[0]&2048&&(c.supportLink=r[11]),a[0]&32768&&(c.returnFocus=r[15]),!n&&a[0]&2097152&&(n=!0,c.ref=r[21],Oe(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&T(e),F(i)}}}function ip(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k=!t[4]&&Dr(t),C=t[4]&&t[30]!==Xt.INACTIVE&&Qr(t),V=t[95]&&X3(t),ie=!t[4]&&t[25]&&xr(t),M=t[41]&&$r(t);function G(z){t[137](z)}let B={className:"w-max",disabled:!t[43],$$slots:{default:[$3]},$$scope:{ctx:t}};t[20].episodes!==void 0&&(B.ref=t[20].episodes),c=new Mt({props:B}),ve.push(()=>He(c,"ref",G));let x=t[38]&&ta(t),L=t[40]&&ia(t);b=new vu({props:{isAds:t[4],canRewindLive:t[5],isRewindableLive:t[24]}});let te=t[23]&&na(t);return{c(){k&&k.c(),e=D(),C&&C.c(),i=D(),n=A("div"),o=A("div"),s=A("div"),V&&V.c(),l=D(),ie&&ie.c(),r=D(),M&&M.c(),a=D(),U(c.$$.fragment),m=D(),x&&x.c(),h=D(),L&&L.c(),v=D(),U(b.$$.fragment),w=D(),te&&te.c(),_=lt(),u(s,"class","controls v-1tcstu3"),R(s,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),R(o,"fullscreen",t[52]),u(n,"class","wrapper-bottom v-1tcstu3"),R(n,"hidden",t[1]),R(n,"controls-hidden",!t[3]),R(n,"no-smooth",t[2]),R(n,"mobile",!0)},m(z,X){k&&k.m(z,X),E(z,e,X),C&&C.m(z,X),E(z,i,X),E(z,n,X),p(n,o),p(o,s),V&&V.m(s,null),p(s,l),ie&&ie.m(s,null),p(s,r),M&&M.m(s,null),p(s,a),H(c,s,null),p(s,m),x&&x.m(s,null),p(s,h),L&&L.m(s,null),t[141](s),p(o,v),H(b,o,null),t[142](n),E(z,w,X),te&&te.m(z,X),E(z,_,X),S=!0},p(z,X){z[4]?k&&(fe(),g(k,1,1,()=>{k=null}),de()):k?(k.p(z,X),X[0]&16&&d(k,1)):(k=Dr(z),k.c(),d(k,1),k.m(e.parentNode,e)),z[4]&&z[30]!==Xt.INACTIVE?C?(C.p(z,X),X[0]&1073741840&&d(C,1)):(C=Qr(z),C.c(),d(C,1),C.m(i.parentNode,i)):C&&(fe(),g(C,1,1,()=>{C=null}),de()),z[95]&&V.p(z,X),!z[4]&&z[25]?ie?(ie.p(z,X),X[0]&33554448&&d(ie,1)):(ie=xr(z),ie.c(),d(ie,1),ie.m(s,r)):ie&&(fe(),g(ie,1,1,()=>{ie=null}),de()),z[41]?M?(M.p(z,X),X[1]&1024&&d(M,1)):(M=$r(z),M.c(),d(M,1),M.m(s,a)):M&&(fe(),g(M,1,1,()=>{M=null}),de());const le={};X[1]&4096&&(le.disabled=!z[43]),X[1]&1073745920|X[2]&1|X[5]&128&&(le.$$scope={dirty:X,ctx:z}),!f&&X[0]&1048576&&(f=!0,le.ref=z[20].episodes,Oe(()=>f=!1)),c.$set(le),z[38]?x?(x.p(z,X),X[1]&128&&d(x,1)):(x=ta(z),x.c(),d(x,1),x.m(s,h)):x&&(fe(),g(x,1,1,()=>{x=null}),de()),z[40]?L?(L.p(z,X),X[1]&512&&d(L,1)):(L=ia(z),L.c(),d(L,1),L.m(s,null)):L&&(fe(),g(L,1,1,()=>{L=null}),de());const P={};X[0]&16&&(P.isAds=z[4]),X[0]&32&&(P.canRewindLive=z[5]),X[0]&16777216&&(P.isRewindableLive=z[24]),b.$set(P),(!S||X[1]&2097152)&&R(o,"fullscreen",z[52]),(!S||X[0]&2)&&R(n,"hidden",z[1]),(!S||X[0]&8)&&R(n,"controls-hidden",!z[3]),(!S||X[0]&4)&&R(n,"no-smooth",z[2]),z[23]?te?(te.p(z,X),X[0]&8388608&&d(te,1)):(te=na(z),te.c(),d(te,1),te.m(_.parentNode,_)):te&&(fe(),g(te,1,1,()=>{te=null}),de())},i(z){S||(d(k),d(C),d(V),d(ie),d(M),d(c.$$.fragment,z),d(x),d(L),d(b.$$.fragment,z),d(te),S=!0)},o(z){g(k),g(C),g(V),g(ie),g(M),g(c.$$.fragment,z),g(x),g(L),g(b.$$.fragment,z),g(te),S=!1},d(z){z&&(T(e),T(i),T(n),T(w),T(_)),k&&k.d(z),C&&C.d(z),V&&V.d(),ie&&ie.d(),M&&M.d(),F(c),x&&x.d(),L&&L.d(),t[141](null),F(b),t[142](null),te&&te.d(z)}}}function np(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B,x,L,te,z,X,le,P,oe,K,ne,we,Ue,qe,{bottomHidden:Ie}=e,{bottomNoSmooth:Ce}=e,{showControls:ue}=e,{controlsElementRef:j=void 0}=e,{isAds:ae=!1}=e,{canRewindLive:be}=e,{logoClickable:$}=e,{logoHidden:Pe}=e,{videoLogoUrl:Te}=e,{showNextPrevButtons:Me}=e,{nextButtonActive:re}=e,{prevButtonActive:_e}=e,{isOneVideoPlaylist:J=!1}=e,{supportLink:Q}=e,{customFullscreenSupported:De=!0}=e,{playNextVideo:et}=e,{playPrevVideo:Xe}=e,{repeatPlaylist:ye}=e,{toggleFullscreen:Ge}=e,{returnFocus:Je}=e,{seekToInteractive:ct}=e,{toggleGraph:bt}=e,{playPrevChapter:Fe}=e;const Le=ut(),vt=ln(),Bt=Le.actions.internal.toggleMuted,xt=Le.actions.internal.togglePlay,qt=Le.actions.internal.pause,ce=Le.callbacks?.onAudioDoesNotExistHint,pt=Le.callbacks?.onAudioDisabledHint,ht=Le.playerPhase;O(t,ht,y=>i(118,M=y));const ft=Le.state.duration$;O(t,ft,y=>i(62,qe=y));const st=Le.state.positionWithScrubbing$;O(t,st,y=>i(61,Ue=y));const kt=Le.state.playbackState$;O(t,kt,y=>i(114,h=y));const Pt=Le.state.isAudioAvailable$;O(t,Pt,y=>i(51,v=y));const ai=Le.state.isAudioDisabled,Fi=Le.state.isEnded$;O(t,Fi,y=>i(119,B=y));const Zt=Le.state.isLive$;O(t,Zt,y=>i(25,S=y));const Ui=Le.state.muted$;O(t,Ui,y=>i(54,X=y));const Yi=Le.state.isActiveLive$;O(t,Yi,y=>i(116,w=y));const $t=Le.state.isRewindableLive$;O(t,$t,y=>i(24,_=y));const Bi=Le.ui.scrubbingInProgress;O(t,Bi,y=>i(29,G=y));const Ri=Le.ui.mobileNotReportControlHidden$;O(t,Ri,y=>i(27,V=y));const Rt=Le.ui.isPictureInPictureActive$;O(t,Rt,y=>i(26,C=y));const ei=Le.ui.pictureInPictureType$;O(t,ei,y=>i(117,k=y));const ui=Le.ui.mobileUnmuteButtonExpanded;O(t,ui,y=>i(55,le=y));const Wt=Le.ui.mobileUnmuteButtonVisible;O(t,Wt,y=>i(53,z=y));const ci=Le.ui.settingsMenuVisible;O(t,ci,y=>i(23,m=y));const Kt=Le.ui.settingsMenuOpenedByKeyboard;O(t,Kt,y=>i(113,f=y));const gi=Le.ui.controls,Ni=Le.actions.internal.getVideoEpisodes(),mt=Le.webApi.pictureInPictureApi,fi=Le.state.chromecastState$;O(t,fi,y=>i(28,ie=y));const bi=Le.state.crashed$;O(t,bi,y=>i(57,oe=y));const _i=gi.disabledControls$;O(t,_i,y=>i(120,L=y));const Nt=Le.ads.duration;O(t,Nt,y=>i(60,we=y));const vi=Le.ads.position;O(t,vi,y=>i(59,ne=y));const ti=Le.ads.playbackState;O(t,ti,y=>i(30,x=y));const ii=Le.ui.isFullscreen;O(t,ii,y=>i(52,te=y));const St=Le.ui.playerSize;O(t,St,y=>i(115,b=y));const wi=Le.ui.additionalButtons$;O(t,wi,y=>i(56,P=y));const zt=Le.actions.internal.getVideoElement,rt=Le.actions.internal.replayInteractive,Tt=Le.state.isInteractive,zi=Le.state.isInteractiveGraphEnabled,ki=Le.state.isSeekToInteractiveEnable,yi=Le.state.isPlayPrevChapterEnabled,ni=Le.state.graphIsOpened$;O(t,ni,y=>i(58,K=y));const jt=Le.ui.startedByKeyboard$;O(t,jt,y=>i(112,c=y));let qi,Et,wt,yt,At,Zi,Gt,Ci,Di,Pi,Qi,Si,di,mi,Ti,Ei,Ai;const Ae={},Wi=ol(Eu,w1,{leading:!1}),Ki=()=>Le.actions.internal.toggleChromecast();function Ii(){ai?pt?.():v?Bt():ce?.()}async function ji(){mt?.isActive()?await mt?.remove():await mt?.request()}function Li(){!ai&&v&&Wt.set(!1),Ii()}const Ne=J?xt:ye;let pi="";const Vi=(y,at)=>{if(!y){i(45,pi=Y("tooltip_live"));return}at===Ft.PAUSED&&i(45,pi=Y("tooltip_play"))};let Dt,Ot;function oi(y){t.$$.not_equal(Ae.volume,y)&&(Ae.volume=y,i(20,Ae))}function $i(y){t.$$.not_equal(Ae.chromecast,y)&&(Ae.chromecast=y,i(20,Ae))}function Oi(y){t.$$.not_equal(Ae.pip,y)&&(Ae.pip=y,i(20,Ae))}function en(y){Ot=y,i(22,Ot)}function tn(y){t.$$.not_equal(Ae.vkLogo,y)&&(Ae.vkLogo=y,i(20,Ae))}function Xi(y){t.$$.not_equal(Ae.prevButton,y)&&(Ae.prevButton=y,i(20,Ae))}function Mi(y){t.$$.not_equal(Ae.playButton,y)&&(Ae.playButton=y,i(20,Ae))}function Gi(y){t.$$.not_equal(Ae.replayButton,y)&&(Ae.replayButton=y,i(20,Ae))}function Hi(y){t.$$.not_equal(Ae.nextButton,y)&&(Ae.nextButton=y,i(20,Ae))}function nn(y){t.$$.not_equal(Ae.interactiveGraphButton,y)&&(Ae.interactiveGraphButton=y,i(20,Ae))}function ee(y){t.$$.not_equal(Ae.seekToInteractiveButton,y)&&(Ae.seekToInteractiveButton=y,i(20,Ae))}function xe(y){t.$$.not_equal(Ae.volume,y)&&(Ae.volume=y,i(20,Ae))}function gt(y){t.$$.not_equal(Ae.playButton,y)&&(Ae.playButton=y,i(20,Ae))}function li(y){t.$$.not_equal(Ae.replayButton,y)&&(Ae.replayButton=y,i(20,Ae))}function Ji(y){t.$$.not_equal(Ae.liveButton,y)&&(Ae.liveButton=y,i(20,Ae))}function sn(y){t.$$.not_equal(Ae.time,y)&&(Ae.time=y,i(20,Ae))}function kn(y){t.$$.not_equal(Ae.episodes,y)&&(Ae.episodes=y,i(20,Ae))}function It(y){Ot=y,i(22,Ot)}function rn(y){t.$$.not_equal(Ae.settings,y)&&(Ae.settings=y,i(20,Ae))}function an(y){t.$$.not_equal(Ae.fullscreen,y)&&(Ae.fullscreen=y,i(20,Ae))}function dn(y){ve[y?"unshift":"push"](()=>{Ei=y,i(44,Ei)})}function yn(y){ve[y?"unshift":"push"](()=>{j=y,i(0,j)})}function mn(y){Dt=y,i(21,Dt)}return t.$$set=y=>{"bottomHidden"in y&&i(1,Ie=y.bottomHidden),"bottomNoSmooth"in y&&i(2,Ce=y.bottomNoSmooth),"showControls"in y&&i(3,ue=y.showControls),"controlsElementRef"in y&&i(0,j=y.controlsElementRef),"isAds"in y&&i(4,ae=y.isAds),"canRewindLive"in y&&i(5,be=y.canRewindLive),"logoClickable"in y&&i(6,$=y.logoClickable),"logoHidden"in y&&i(105,Pe=y.logoHidden),"videoLogoUrl"in y&&i(7,Te=y.videoLogoUrl),"showNextPrevButtons"in y&&i(8,Me=y.showNextPrevButtons),"nextButtonActive"in y&&i(9,re=y.nextButtonActive),"prevButtonActive"in y&&i(10,_e=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,et=y.playNextVideo),"playPrevVideo"in y&&i(13,Xe=y.playPrevVideo),"repeatPlaylist"in y&&i(108,ye=y.repeatPlaylist),"toggleFullscreen"in y&&i(14,Ge=y.toggleFullscreen),"returnFocus"in y&&i(15,Je=y.returnFocus),"seekToInteractive"in y&&i(16,ct=y.seekToInteractive),"toggleGraph"in y&&i(17,bt=y.toggleGraph),"playPrevChapter"in y&&i(18,Fe=y.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[3]&134217728&&i(111,n=L.has(nt.EPISODE_BUTTON)),t.$$.dirty[3]&134217728&&i(50,o=L.has(nt.GRAPH_BUTTON)),t.$$.dirty[3]&134217728&&i(49,s=L.has(nt.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[3]&134217728&&i(48,l=L.has(nt.PLAY_BUTTON)),t.$$.dirty[3]&134217728&&i(47,r=L.has(nt.REPLAY_BUTTON)),t.$$.dirty[3]&134217728&&i(46,a=L.has(nt.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[3]&2097152&&i(31,qi=h===Ft.PLAYING),t.$$.dirty[0]&1073741824&&i(32,Et=x===Xt.PAUSED),t.$$.dirty[0]&16|t.$$.dirty[3]&67108864&&i(33,wt=B&&!ae&&!Tt),t.$$.dirty[0]&16|t.$$.dirty[3]&67108864&&i(34,yt=!B||ae),t.$$.dirty[3]&4194304&&i(109,At=b.width>300),t.$$.dirty[3]&4194304&&i(35,Zi=b.width>400),t.$$.dirty[0]&536870912&&i(110,Gt=G),t.$$.dirty[0]&469762048|t.$$.dirty[3]&16777216&&i(36,Ci=ie!==Pn.NOT_AVAILABLE&&!(C&&k===Ln.DocumentPictureInPicture)&&!V&&!Tt),t.$$.dirty[0]&402653184|t.$$.dirty[3]&50462720){const y=M===Ve.WaitingLive;i(37,Di=!!mt&&ie!==Pn.CONNECTED&&!V&&(k===Ln.DocumentPictureInPicture&&y||!y)&&!Gt&&!Tt)}t.$$.dirty[3]&131072&&i(38,Pi=!Gt),t.$$.dirty[3]&4198400&&i(39,Qi=!Pe&&b.width>350),t.$$.dirty[0]&67108864|t.$$.dirty[3]&16924672&&i(40,Si=vt.features.fullscreen&&!(C&&k===Ln.DocumentPictureInPicture)&&(Tt?De:!0)&&!Gt),t.$$.dirty[0]&33554448|t.$$.dirty[3]&4325376&&i(41,di=(!S||ae)&&b.width>260&&!Gt&&!(vt.features.interactiveHideTime&&Tt)),t.$$.dirty[0]&8388616&&i(42,mi=m||ue),t.$$.dirty[0]&33554448|t.$$.dirty[3]&458752&&i(43,Ti=!ae&&!S&&!!Ni?.length&&At&&!n&&!Gt),t.$$.dirty[0]&16777216|t.$$.dirty[3]&8388608&&i(19,Ai=!_||w),t.$$.dirty[0]&1048584|t.$$.dirty[3]&4194304&&Wi(zt(),gi,Ae,ue),t.$$.dirty[0]&524288|t.$$.dirty[3]&2097152&&Vi(Ai,h),t.$$.dirty[0]&12582912&&Ol(Ot,m,Kt),t.$$.dirty[0]&10485760|t.$$.dirty[3]&1048576&&Hl(Dt,m,f),t.$$.dirty[0]&1048576|t.$$.dirty[3]&524288&&Au(jt,c,Ae.playButton)},[j,Ie,Ce,ue,ae,be,$,Te,Me,re,_e,Q,et,Xe,Ge,Je,ct,bt,Fe,Ai,Ae,Dt,Ot,m,_,S,C,V,ie,G,x,qi,Et,wt,yt,Zi,Ci,Di,Pi,Qi,Si,di,mi,Ti,Ei,pi,a,r,l,s,o,v,te,z,X,le,P,oe,K,ne,we,Ue,qe,xt,qt,ht,ft,st,kt,Pt,ai,Fi,Zt,Ui,Yi,$t,Bi,Ri,Rt,ei,ui,Wt,ci,Kt,Ni,fi,bi,_i,Nt,vi,ti,ii,St,wi,rt,Tt,zi,ki,yi,ni,jt,Ki,ji,Li,Ne,Pe,J,De,ye,At,Gt,n,c,f,h,b,w,k,M,B,L,oi,$i,Oi,en,tn,Xi,Mi,Gi,Hi,nn,ee,xe,gt,li,Ji,sn,kn,It,rn,an,dn,yn,mn]}class op extends ge{constructor(e){super(),he(this,e,np,ip,pe,{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},j3,[-1,-1,-1,-1,-1,-1])}}function lp(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 M3({props:s}),ve.push(()=>He(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!i&&r&1&&(i=!0,a.controlsElementRef=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function sp(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 op({props:s}),ve.push(()=>He(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!i&&r&1&&(i=!0,a.controlsElementRef=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function rp(t){let e,i,n,o;const s=[sp,lp],l=[];function r(a,c){return a[23]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function ap(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:b}=e,{prevButtonActive:w}=e,{isOneVideoPlaylist:_=!1}=e,{supportLink:S}=e,{customFullscreenSupported:k=!0}=e,{playNextVideo:C}=e,{playPrevVideo:V}=e,{repeatPlaylist:ie}=e,{toggleFullscreen:M}=e,{returnFocus:G=je}=e,{seekToInteractive:B}=e,{toggleGraph:x}=e,{playPrevChapter:L}=e;const z=ut().ui.isMobile;O(t,z,P=>i(23,n=P));function X(P){r=P,i(0,r)}function le(P){r=P,i(0,r)}return t.$$set=P=>{"bottomHidden"in P&&i(1,o=P.bottomHidden),"bottomNoSmooth"in P&&i(2,s=P.bottomNoSmooth),"showControls"in P&&i(3,l=P.showControls),"controlsElementRef"in P&&i(0,r=P.controlsElementRef),"isAds"in P&&i(4,a=P.isAds),"canRewindLive"in P&&i(5,c=P.canRewindLive),"logoClickable"in P&&i(6,f=P.logoClickable),"logoHidden"in P&&i(7,m=P.logoHidden),"videoLogoUrl"in P&&i(8,h=P.videoLogoUrl),"showNextPrevButtons"in P&&i(9,v=P.showNextPrevButtons),"nextButtonActive"in P&&i(10,b=P.nextButtonActive),"prevButtonActive"in P&&i(11,w=P.prevButtonActive),"isOneVideoPlaylist"in P&&i(12,_=P.isOneVideoPlaylist),"supportLink"in P&&i(13,S=P.supportLink),"customFullscreenSupported"in P&&i(14,k=P.customFullscreenSupported),"playNextVideo"in P&&i(15,C=P.playNextVideo),"playPrevVideo"in P&&i(16,V=P.playPrevVideo),"repeatPlaylist"in P&&i(17,ie=P.repeatPlaylist),"toggleFullscreen"in P&&i(18,M=P.toggleFullscreen),"returnFocus"in P&&i(19,G=P.returnFocus),"seekToInteractive"in P&&i(20,B=P.seekToInteractive),"toggleGraph"in P&&i(21,x=P.toggleGraph),"playPrevChapter"in P&&i(22,L=P.playPrevChapter)},[r,o,s,l,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B,x,L,n,z,X,le]}class Lu extends ge{constructor(e){super(),he(this,e,ap,rp,pe,{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 up(t){ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function cp(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("defs"),l=N("filter"),r=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),m=N("feColorMatrix"),h=N("feBlend"),v=N("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(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"),R(e,"reversed",t[0])},m(b,w){E(b,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(b,[w]){w&1&&R(e,"reversed",b[0])},i:W,o:W,d(b){b&&T(e)}}}function fp(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class dp extends ge{constructor(e){super(),he(this,e,fp,cp,pe,{reversed:0},up)}}function mp(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("defs"),l=N("clipPath"),r=N("path"),a=N("filter"),c=N("feFlood"),f=N("feColorMatrix"),m=N("feOffset"),h=N("feGaussianBlur"),v=N("feColorMatrix"),b=N("feBlend"),w=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(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(b,"in2","BackgroundImageFix"),u(b,"result","effect1_dropShadow_2260_104204"),u(w,"in","SourceGraphic"),u(w,"in2","effect1_dropShadow_2260_104204"),u(w,"result","shape"),u(a,"id","b"),u(a,"x","-1.5"),u(a,"y","1.5"),u(a,"width","51"),u(a,"height","45"),u(a,"filterUnits","userSpaceOnUse"),u(a,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(_,S){E(_,e,S),p(e,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,b),p(a,w)},d(_){_&&T(e)}}}function pp(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("path"),l=N("defs"),r=N("clipPath"),a=N("path"),c=N("filter"),f=N("feFlood"),m=N("feColorMatrix"),h=N("feOffset"),v=N("feGaussianBlur"),b=N("feColorMatrix"),w=N("feBlend"),_=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(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(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_2260_104293"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_104293"),u(_,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(S,k){E(S,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,b),p(c,w),p(c,_)},d(S){S&&T(e)}}}function hp(t){let e;function i(s,l){return s[0]?pp:mp}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n!==(n=i(s))&&(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(s){s&&T(e),o.d(s)}}}function gp(t,e,i){let{isOff:n=!1}=e;return t.$$set=o=>{"isOff"in o&&i(0,n=o.isOff)},[n]}class Vu extends ge{constructor(e){super(),he(this,e,gp,hp,pe,{isOff:0})}}function bp(t){ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function _p(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("defs"),l=N("filter"),r=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),m=N("feColorMatrix"),h=N("feBlend"),v=N("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(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"),R(e,"reversed",t[0])},m(b,w){E(b,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(b,[w]){w&1&&R(e,"reversed",b[0])},i:W,o:W,d(b){b&&T(e)}}}function vp(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class wp extends ge{constructor(e){super(),he(this,e,vp,_p,pe,{reversed:0},bp)}}function kp(t){ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function yp(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("defs"),l=N("filter"),r=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),m=N("feColorMatrix"),h=N("feBlend"),v=N("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(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"),R(e,"reversed",t[0])},m(b,w){E(b,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(b,[w]){w&1&&R(e,"reversed",b[0])},i:W,o:W,d(b){b&&T(e)}}}function Cp(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class Pp extends ge{constructor(e){super(),he(this,e,Cp,yp,pe,{reversed:0},kp)}}function Sp(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 oa(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,b,w,_,S=i&&la(t),k=t[4]===We.PAUSE&&sa(),C=t[4]===We.PLAY&&ra(),V=t[4]===We.REPLAY&&aa(),ie=t[4]===We.SUBTITLES_OFF&&ua(),M=t[4]===We.SUBTITLES_ON&&ca(),G=c&&fa(t),B=m&&da(t),x=t[4]===We.MUTE&&ma(),L=t[4]===We.VOLUME&&pa(),te=t[5]&&ha(t);return{c(){e=A("div"),S&&S.c(),n=D(),k&&k.c(),o=D(),C&&C.c(),s=D(),V&&V.c(),l=D(),ie&&ie.c(),r=D(),M&&M.c(),a=D(),G&&G.c(),f=D(),B&&B.c(),h=D(),x&&x.c(),v=D(),L&&L.c(),b=D(),te&&te.c(),w=lt(),u(e,"class","v-4ftgwp")},m(z,X){E(z,e,X),S&&S.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),ie&&ie.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),L&&L.m(e,null),E(z,b,X),te&&te.m(z,X),E(z,w,X),_=!0},p(z,X){X&16&&(i=[We.BACKWARD_SEEK,We.FORWARD_SEEK].includes(z[4])),i?S?(S.p(z,X),X&16&&d(S,1)):(S=la(z),S.c(),d(S,1),S.m(e,n)):S&&(fe(),g(S,1,1,()=>{S=null}),de()),z[4]===We.PAUSE?k?X&16&&d(k,1):(k=sa(),k.c(),d(k,1),k.m(e,o)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),z[4]===We.PLAY?C?X&16&&d(C,1):(C=ra(),C.c(),d(C,1),C.m(e,s)):C&&(fe(),g(C,1,1,()=>{C=null}),de()),z[4]===We.REPLAY?V?X&16&&d(V,1):(V=aa(),V.c(),d(V,1),V.m(e,l)):V&&(fe(),g(V,1,1,()=>{V=null}),de()),z[4]===We.SUBTITLES_OFF?ie?X&16&&d(ie,1):(ie=ua(),ie.c(),d(ie,1),ie.m(e,r)):ie&&(fe(),g(ie,1,1,()=>{ie=null}),de()),z[4]===We.SUBTITLES_ON?M?X&16&&d(M,1):(M=ca(),M.c(),d(M,1),M.m(e,a)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),X&16&&(c=[We.RATE_DOWN,We.RATE_UP].includes(z[4])),c?G?(G.p(z,X),X&16&&d(G,1)):(G=fa(z),G.c(),d(G,1),G.m(e,f)):G&&(fe(),g(G,1,1,()=>{G=null}),de()),X&16&&(m=[We.EPISODE_PREV,We.EPISODE_NEXT].includes(z[4])),m?B?(B.p(z,X),X&16&&d(B,1)):(B=da(z),B.c(),d(B,1),B.m(e,h)):B&&(fe(),g(B,1,1,()=>{B=null}),de()),z[4]===We.MUTE?x?X&16&&d(x,1):(x=ma(),x.c(),d(x,1),x.m(e,v)):x&&(fe(),g(x,1,1,()=>{x=null}),de()),z[4]===We.VOLUME?L?X&16&&d(L,1):(L=pa(),L.c(),d(L,1),L.m(e,null)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),z[5]?te?te.p(z,X):(te=ha(z),te.c(),te.m(w.parentNode,w)):te&&(te.d(1),te=null)},i(z){_||(d(S),d(k),d(C),d(V),d(ie),d(M),d(G),d(B),d(x),d(L),_=!0)},o(z){g(S),g(k),g(C),g(V),g(ie),g(M),g(G),g(B),g(x),g(L),_=!1},d(z){z&&(T(e),T(b),T(w)),S&&S.d(),k&&k.d(),C&&C.d(),V&&V.d(),ie&&ie.d(),M&&M.d(),G&&G.d(),B&&B.d(),x&&x.d(),L&&L.d(),te&&te.d(z)}}}function la(t){let e,i;return e=new dp({props:{reversed:t[4]===We.FORWARD_SEEK}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===We.FORWARD_SEEK),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function sa(t){let e,i;return e=new mu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ra(t){let e,i;return e=new Zl({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function aa(t){let e,i;return e=new Cu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ua(t){let e,i;return e=new Vu({props:{isOff:!0}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ca(t){let e,i;return e=new Vu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function fa(t){let e,i;return e=new wp({props:{reversed:t[4]===We.RATE_UP}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===We.RATE_UP),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function da(t){let e,i;return e=new Pp({props:{reversed:t[4]===We.EPISODE_NEXT}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===We.EPISODE_NEXT),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ma(t){let e,i;return e=new rl({props:{volume:0}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function pa(t){let e,i;return e=new rl({props:{volume:1}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ha(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&&Qe(i,n[5])},d(n){n&&T(e)}}}function Tp(t){let e,i,n=!t[1]&&t[4]&&oa(t);return{c(){e=A("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),R(e,"hidden",t[1]),R(e,"hot-key-helpers-container--left",t[2]),R(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=oa(o),n.c(),d(n,1),n.m(e,null)):n&&(fe(),g(n,1,1,()=>{n=null}),de()),(!i||s&2)&&R(e,"hidden",o[1]),(!i||s&4)&&R(e,"hot-key-helpers-container--left",o[2]),(!i||s&8)&&R(e,"hot-key-helpers-container--right",o[3])},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&T(e),n&&n.d()}}}function Ep(t,e,i){let n,o=W,s=()=>(o(),o=Qt(l,h=>i(6,n=h)),l);t.$$.on_destroy.push(()=>o());let{data:l}=e;s();let r,a,c,f,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 Ap extends ge{constructor(e){super(),he(this,e,Ep,Tp,pe,{data:0},Sp)}}function Ip(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,b,w,_,S,k;return s=new Wn({props:{direction:"up"}}),a=new Wn({props:{direction:"up"}}),h=new Wn({props:{direction:"up"}}),w=new Wn({props:{direction:"up"}}),{c(){e=A("div"),i=A("div"),n=A("div"),o=A("div"),U(s.$$.fragment),l=D(),r=A("div"),U(a.$$.fragment),c=D(),f=A("div"),m=A("div"),U(h.$$.fragment),v=D(),b=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(b,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(i,"class","button-block v-1yzc86r"),u(i,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",Y("aria_label_spherical_control")),R(e,"m-shifted",t[0])},m(C,V){E(C,e,V),p(e,i),p(i,n),p(n,o),H(s,o,null),p(n,l),p(n,r),H(a,r,null),p(i,c),p(i,f),p(f,m),H(h,m,null),p(f,v),p(f,b),H(w,b,null),_=!0,S||(k=[me(o,"mousedown",t[1]),me(o,"mouseup",t[5]),me(o,"mouseleave",t[5]),me(r,"mousedown",t[3]),me(r,"mouseup",t[5]),me(r,"mouseleave",t[5]),me(m,"mousedown",t[4]),me(m,"mouseup",t[5]),me(m,"mouseleave",t[5]),me(b,"mousedown",t[2]),me(b,"mouseup",t[5]),me(b,"mouseleave",t[5]),me(e,"keydown",t[6]),me(e,"keyup",t[7])],S=!0)},p(C,[V]){(!_||V&1)&&R(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){g(s.$$.fragment,C),g(a.$$.fragment,C),g(h.$$.fragment,C),g(w.$$.fragment,C),_=!1},d(C){C&&T(e),F(s),F(a),F(h),F(w),S=!1,$e(k)}}}function Vp(t,e,i){let{isShifted:n=!1}=e;const o=ut(),s=new Set([Se.ArrowUp,Se.ArrowDown,Se.ArrowLeft,Se.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 Se.ArrowUp:l();break;case Se.ArrowDown:r();break;case Se.ArrowLeft:c();break;case Se.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 Mu extends ge{constructor(e){super(),he(this,e,Vp,Lp,pe,{isShifted:0},Ip)}}function Mp(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 ga(t,e,i){const n=t.slice();return n[16]=e[i].value,n}function ba(t,e,i){const n=t.slice();return n[16]=e[i].value,n[17]=e[i].timeAppeared,n}function _a(t){let e,i;function n(l,r){return l[7]&&l[8]?Np:l[5]?Rp:Bp}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"),R(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&&R(e,"mobile",l[3])},d(l){l&&T(e),s.d()}}}function Bp(t){let e,i=Ut(t[1]),n=[];for(let o=0;o<i.length;o+=1)n[o]=va(ga(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=Ut(o[1]);let l;for(l=0;l<i.length;l+=1){const r=ga(o,i,l);n[l]?n[l].p(r,s):(n[l]=va(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),wn(n,o)}}}function Rp(t){let e,i,n=Ut(t[6]),o=[];for(let s=0;s<n.length;s+=1)o[s]=ka(ba(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=Ut(s[6]);let r;for(r=0;r<n.length;r+=1){const a=ba(s,n,r);o[r]?o[r].p(a,l):(o[r]=ka(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),wn(o,s)}}}function Np(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 va(t){let e,i,n=t[16]+"",o,s;return{c(){e=A("span"),i=A("span"),o=Re(n),s=D(),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]+"")&&Qe(o,n),r&16&&Ct(i,"font-size",l[4]+"px")},d(l){l&&T(e)}}}function wa(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]+"")&&Qe(i,e)},d(n){n&&T(i)}}}function ka(t){let e,i=(!t[17]||t[17]<=t[2])&&wa(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=wa(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(n){n&&T(e),i&&i.d(n)}}}function zp(t){let e,i=t[1].length>0&&_a(t);return{c(){e=A("div"),i&&i.c(),u(e,"class","subtitles-container v-ovfyp5"),R(e,"shifted",t[0]),R(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=_a(n),i.c(),i.m(e,null)):i&&(i.d(1),i=null),o&1&&R(e,"shifted",n[0]),o&288&&R(e,"auto",n[5]&&!n[8])},i:W,o:W,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=ut(),m=ln(),h=f.state.currentSubtitle$;O(t,h,C=>i(12,n=C));const v=f.state.isAutoSubtitleCaptionVisible$;O(t,v,C=>i(8,o=C));let b,w,_,S,k;return on(()=>{k=window.setTimeout(()=>{v.set(!1)},m.autoSubtitlesTimeout)}),ll(()=>{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,b=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:ie})=>(V==="timestamp"?C.push({timeAppeared:Number(ie),value:""}):C.length===0?C.push({value:String(ie)}):C[C.length-1].value=String(ie),C),[])),t.$$.dirty&4096&&i(7,S=!!n.isAuto)},[s,l,r,c,b,w,_,S,o,h,v,a,n]}class Bu extends ge{constructor(e){super(),he(this,e,Dp,zp,pe,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},Mp)}}function Op(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 ya(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&&Qe(n,o[1])},d(o){o&&T(e)}}}function Hp(t){let e,i,n,o,s,l,r=t[1]&&ya(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=D(),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=me(e,"click",t[2]),s=!0)},p(a,[c]){a[1]?r?r.p(a,c):(r=ya(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:W,o:W,d(a){a&&T(e),r&&r.d(),s=!1,l()}}}function Fp(t,e,i){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function s(l){_o.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 Ru extends ge{constructor(e){super(),he(this,e,Fp,Hp,pe,{thumbUrl:0,chromecastDeviceName:1},Op)}}function Up(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class qp extends ge{constructor(e){super(),he(this,e,null,Up,pe,{})}}function Zp(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 Wp(t){let e,i,n;return i=new qp({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,s){E(o,e,s),H(i,e,null),n=!0},p:W,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}class Nu extends ge{constructor(e){super(),he(this,e,null,Wp,pe,{},Zp)}}function Kp(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 jp(t){let e,i,n,o,s,l,r,a,c;return s=new Zl({}),{c(){e=A("div"),i=A("div"),n=A("div"),o=D(),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]||""}')`),R(e,"hidden",t[1])},m(f,m){E(f,e,m),p(e,i),p(i,n),p(i,o),H(s,i,null),r=!0,a||(c=[me(i,"keydown",t[3]),me(e,"click",tt(function(){_n(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)&&R(e,"hidden",t[1])},i(f){r||(d(s.$$.fragment,f),r=!0)},o(f){g(s.$$.fragment,f),r=!1},d(f){f&&T(e),F(s),a=!1,$e(c)}}}function Gp(t,e,i){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:s}=e;const r=ut().ui.startedByKeyboard$,a=c=>{const f=c.code;[Se.Enter,Se.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 zu extends ge{constructor(e){super(),he(this,e,Gp,jp,pe,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},Kp)}get handlePressKey(){return this.$$.ctx[3]}}function Yp(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(
24
+ )}`)}function us(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 cs(t){let e,i;return e=new Hf({props:{position:t[5],secondsToWatchBeforeSkip:t[6],skipAd:t[8].actions.internal.skipAd}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&32&&(s.position=n[5]),o&64&&(s.secondsToWatchBeforeSkip=n[6]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function fs(t){let e,i;return e=new Bf({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ds(t){let e,i;return e=new qf({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Wf(t){let e,i,n,o,s,l,r,a=t[0]&&us(),c=t[3]&&cs(t),f=t[7]&&fs(),m=t[4]&&ds();return{c(){e=A("div"),a&&a.c(),i=D(),n=A("video"),o=D(),c&&c.c(),s=D(),f&&f.c(),l=D(),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=us(),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=cs(h),c.c(),d(c,1),c.m(e,s)):c&&(fe(),g(c,1,1,()=>{c=null}),de()),h[7]?f?v&128&&d(f,1):(f=fs(),f.c(),d(f,1),f.m(e,l)):f&&(fe(),g(f,1,1,()=>{f=null}),de()),h[4]?m?v&16&&d(m,1):(m=ds(),m.c(),d(m,1),m.m(e,null)):m&&(fe(),g(m,1,1,()=>{m=null}),de())},i(h){r||(d(c),d(f),d(m),r=!0)},o(h){g(c),g(f),g(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 jf(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=ut(),v=h.state.isEnded$;O(t,v,L=>i(7,r=L));const b=h.ui.isMobile;O(t,b,L=>i(0,o=L));let w,_,S=!1;const k=h.ads.playbackState;O(t,k,L=>i(18,n=L));const C=h.ads.canSkip,V=h.ads.position;O(t,V,L=>i(5,s=L));const ie=h.ads.secondsToWatchBeforeSkip;O(t,ie,L=>i(6,l=L));let M,G;on(()=>{const L=new AbortController;let te=()=>{L.abort()};const z=h.getAdmanWrapper();if(!a){z.onAdmanLoadingError();return}const{width:X,height:le}=Ye(h.ui.playerSize),P=Ye(h.ui.isFullscreen),oe=Ye(h.ui.isAutoplay),j={width:X,height:le,isFullscreen:P,isAutoplay:oe,adsContainer:w,adsVideoElement:_,slotId:a,params:c,previewParam:f,duration:m};return window.AdmanHTML?(z.initAdman(j),S=!0):z.loadAdman(L.signal).then(()=>{z.initAdman(j),S=!0}).catch(()=>{z.onAdmanLoadingError()}),()=>{!S&&te()}});function B(L){ve[L?"unshift":"push"](()=>{_=L,i(2,_)})}function x(L){ve[L?"unshift":"push"](()=>{w=L,i(1,w)})}return t.$$set=L=>{"adsSlotId"in L&&i(14,a=L.adsSlotId),"adsParams"in L&&i(15,c=L.adsParams),"adsPreviewParam"in L&&i(16,f=L.adsPreviewParam),"duration"in L&&i(17,m=L.duration)},t.$$.update=()=>{t.$$.dirty&262144&&i(3,M=C&&n!==Xt.INACTIVE),t.$$.dirty&262145&&i(4,G=o&&n!==Xt.INACTIVE)},[o,w,_,M,G,s,l,r,h,v,b,k,V,ie,a,c,f,m,n,B,x]}class Z1 extends ge{constructor(e){super(),he(this,e,jf,Wf,pe,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},Zf)}}const Vn=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 Kf(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(i,"fill","none"),u(i,"stroke","#fff"),u(i,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(o,s){E(o,e,s),p(e,i),p(e,n)},d(o){o&&T(e)}}}function Gf(t){let e,i,n;return{c(){e=N("svg"),i=N("rect"),n=N("path"),u(i,"width","42"),u(i,"height","20"),u(i,"rx","5"),u(i,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(o,s){E(o,e,s),p(e,i),p(e,n)},d(o){o&&T(e)}}}function Yf(t){let e;function i(s,l){return s[0]?Gf:Kf}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n!==(n=i(s))&&(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(s){s&&T(e),o.d(s)}}}function Qf(t,e,i){let{isActive:n=!1}=e;return t.$$set=o=>{"isActive"in o&&i(0,n=o.isActive)},[n]}class W1 extends ge{constructor(e){super(),he(this,e,Qf,Yf,pe,{isActive:0})}}function Xf(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 Jf(t){let e=Vn(t[4]-t[3])+"",i;return{c(){i=Re(e)},m(n,o){E(n,i,o)},p(n,o){o&24&&e!==(e=Vn(n[4]-n[3])+"")&&Qe(i,e)},i:W,o:W,d(n){n&&T(i)}}}function xf(t){let e,i,n;return i=new W1({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),H(i,e,null),n=!0},p:W,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function $f(t){let e,i,n,o,s,l,r;const a=[xf,Jf],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=D(),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"),R(e,"live",t[1]),R(e,"hidden",t[0]),R(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):(fe(),g(c[v],1,1,()=>{c[v]=null}),de(),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)&&R(e,"live",m[1]),(!r||h&1)&&R(e,"hidden",m[0]),(!r||h&4)&&R(e,"playing",m[2])},i(m){r||(d(l),r=!0)},o(m){g(l),r=!1},d(m){m&&T(e),c[s].d()}}}function e0(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 j1 extends ge{constructor(e){super(),he(this,e,e0,$f,pe,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},Xf)}}const El=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)}}},xn=t=>{t.stopPropagation(),t.preventDefault()},t0=t=>{let e=t.previousElementSibling;e||(e=t.parentNode?.lastElementChild),e?.focus()},i0=t=>{let e=t.nextElementSibling;e||(e=t.parentNode?.firstElementChild),e?.focus()},n0=t=>{const e=t.code;return e===Se.Tab&&!t.shiftKey||e===Se.ArrowDown},o0=t=>{const e=t.code;return e===Se.Tab||e===Se.ArrowUp},K1=t=>t.code===Se.Escape,l0=t=>t.code===Se.ArrowLeft,G1=(t,e=!0)=>{const i=t.code;return[Se.Enter,Se.Space].includes(i)||!e&&i===Se.ArrowRight},Y1=t=>{if(n0(t)){xn(t),i0(t.target);return}o0(t)&&(xn(t),t0(t.target))},Dl=t=>t?.detail===0,Ol=async(t,e,i)=>{await No(),t&&!t.classList.contains("opened")&&!e&&Ye(i)&&(i.set(!1),t.focus())},Hl=async(t,e,i)=>{await No(),!!t&&e&&i&&t.firstChild.focus()},Go=async(t,e,i)=>{!!t&&i&&(e.set(!1),setTimeout(()=>{t.focus()},Jc))},Q1=(t,e)=>{Y1(t),K1(t)&&(xn(t),e())},Yo=async(t,e,i)=>{G1(t,!1)&&(xn(t),e(),await No(),i()?.focus())},Qo=async(t,e,i,n)=>{if(Y1(t),l0(t)){xn(t),e(),i.set(!0);return}K1(t)&&(xn(t),n())},xi=(t,e)=>{G1(t)&&(xn(t),e())};function s0(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 ms(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,b,w,_=t[9].features.copyVideoLink&&t[8].callbacks?.onCopyVideoLink&&r0(t),S=t[11]&&t[5]!==Pn.CONNECTED&&!t[16]&&hs(t),k=t[9].features.videoRotate&&!t[16]&&a0(t),C=t[9].showSupport&&!t[6]&&gs(t);return{c(){e=A("ul"),_&&_.c(),i=D(),S&&S.c(),n=D(),k&&k.c(),o=D(),C&&C.c(),s=D(),l=A("li"),a=Re(r),c=D(),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,ie){E(V,e,ie),_&&_.m(e,null),p(e,i),S&&S.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),b||(w=[me(l,"click",tt(t[19])),me(l,"keydown",t[29]),me(f,"click",tt(t[20])),me(f,"keydown",t[30]),me(e,"contextmenu",Jt(t[37])),me(e,"keydown",t[23])],b=!0)},p(V,ie){V[9].features.copyVideoLink&&V[8].callbacks?.onCopyVideoLink&&_.p(V,ie),V[11]&&V[5]!==Pn.CONNECTED&&!V[16]?S?S.p(V,ie):(S=hs(V),S.c(),S.m(e,n)):S&&(S.d(1),S=null),V[9].features.videoRotate&&!V[16]&&k.p(V,ie),V[9].showSupport&&!V[6]?C?C.p(V,ie):(C=gs(V),C.c(),C.m(e,s)):C&&(C.d(1),C=null),ie[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),ie[0]&8&&Ct(e,"top",V[3]+"px"),ie[0]&4&&Ct(e,"left",V[2]+"px")},d(V){V&&T(e),_&&_.d(),S&&S.d(),k&&k.d(),C&&C.d(),t[40](null),b=!1,$e(w)}}}function r0(t){let e,i=Y("menu_copy_video_link")+"",n,o,s,l,r,a=!t[4]&&!t[16]&&ps(t);return{c(){e=A("li"),n=Re(i),o=D(),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=[me(e,"click",tt(t[38])),me(e,"keydown",t[24])],l=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=ps(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,$e(r)}}}function ps(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=[me(e,"click",tt(t[39])),me(e,"keydown",t[25])],o=!0)},p:W,d(l){l&&T(e),o=!1,$e(s)}}}function hs(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=[me(e,"click",tt(t[21])),me(e,"keydown",t[26])],o=!0)},p:W,d(l){l&&T(e),o=!1,$e(s)}}}function a0(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=[me(e,"click",tt(t[17])),me(e,"keydown",t[27])],o=!0)},p:W,d(l){l&&T(e),o=!1,$e(s)}}}function gs(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=[me(e,"click",tt(t[18])),me(e,"keydown",t[28])],o=!0)},p:W,d(l){l&&T(e),o=!1,$e(s)}}}function u0(t){let e,i=t[1]&&ms(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=ms(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},i:W,o:W,d(n){n&&T(e),i&&i.d(n)}}}function c0(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:b=void 0}=e,{returnFocus:w}=e,_=0,S=0;const k=ut(),C=ln(),V=k.ui.contextMenuVisible,ie=k.ui.debugPanelVisible;O(t,ie,re=>i(7,r=re));const M=k.webApi.pictureInPictureApi,G=k.webApi.pictureInPictureApi?.info.isActive$;O(t,G,re=>i(6,l=re));const B=k.state.chromecastState$;O(t,B,re=>i(5,s=re));const x=k.state.isLive$;O(t,x,re=>i(4,o=re));const L=k.state.positionExact$;O(t,L,re=>i(41,n=re));const te=k.state.isInteractive,z=()=>{V.set(!1)},X=(re,_e)=>{if(!b||!h||!v)return;const J=b.getBoundingClientRect(),Q=h.getBoundingClientRect();i(2,_=re-Q.left),i(3,S=_e-Q.top),_+J.width>Q.width&&i(2,_=Q.width-J.width),S+J.height>Q.height&&i(3,S=Q.height-J.height),i(2,_=Math.max(_,0)),i(3,S=Math.max(S,0))},le=()=>{z(),k.actions.internal.videoRotate()},P=()=>{window.open(c,"_blank"),z(),k.actions.internal.pause()},oe=()=>{const re=k.actions.internal.getDebugTextData();if(C.features.saveDebugInfoToFile){const _e=new Blob([...re],{type:"plain/text"}),J=window.URL.createObjectURL(_e);C1(J,"vk_player_debug_info","txt")}else El(k.actions.internal.getDebugTextData());z(),w?.()},j=()=>{ie.set(!0),z(),w?.()},ne=async()=>{try{M?.isActive()?await M?.remove():await M?.request()}finally{z(),w?.()}},we=(re=!1)=>{if(k.callbacks?.onCopyVideoLink){const _e=k.callbacks?.onCopyVideoLink(re,n);_e&&El(_e)}z()},Ue=re=>{Q1(re,z)},qe=re=>{xi(re,()=>we())},Ie=re=>{xi(re,()=>we(!0))},Ce=re=>{xi(re,()=>ne())},ue=re=>{xi(re,()=>le())},K=re=>{xi(re,()=>P())},ae=re=>{xi(re,()=>oe())},be=re=>{xi(re,()=>j())};function $(re){_o.call(this,t,re)}const Pe=()=>we(),Te=()=>we(!0);function Me(re){ve[re?"unshift":"push"](()=>{b=re,i(0,b)})}return t.$$set=re=>{"visible"in re&&i(1,a=re.visible),"supportLink"in re&&i(31,c=re.supportLink),"x"in re&&i(32,f=re.x),"y"in re&&i(33,m=re.y),"playerContainerRef"in re&&i(34,h=re.playerContainerRef),"controlsContainerRef"in re&&i(35,v=re.controlsContainerRef),"menuElementRef"in re&&i(0,b=re.menuElementRef),"returnFocus"in re&&i(36,w=re.returnFocus)},t.$$.update=()=>{t.$$.dirty[0]&1|t.$$.dirty[1]&30&&b&&h&&v&&X(f,m)},[b,a,_,S,o,s,l,r,k,C,ie,M,G,B,x,L,te,le,P,oe,j,ne,we,Ue,qe,Ie,Ce,ue,K,ae,be,c,f,m,h,v,w,$,Pe,Te,Me]}class f0 extends ge{constructor(e){super(),he(this,e,c0,u0,pe,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},s0,[-1,-1])}}class d0{value;next;constructor(e){this.value=e,this.next=null}}class pl{top;bottom;size;maxSize;constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const i=new d0(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 m0(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 p0(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:W,i:W,o:W,d(n){n&&T(e),t[3](null)}}}const hl=16,gl=120,bs=60;function h0(t,e,i,n,o){o===0&&(o=1),t.fillStyle="#fff",t.fillRect(e,i,n,o)}function g0(t,e,i){let{values:n=[]}=e,o,s;const l=gl/bs;on(()=>{i(0,o.width=gl,o),i(0,o.height=hl,o),i(2,s=o.getContext("2d"))});function r(a){ve[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,gl,hl);let c=bs-1;for(let f=n.length-1;f>=0;f--){const m=c*l,h=a>0?hl*(n[f]/a):0;h0(s,m,0,l,h),c--}}},[o,n,s,r]}class Fl extends ge{constructor(e){super(),he(this,e,g0,p0,pe,{values:1},m0)}}function b0(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 _s(t){let e,i,n,o,s=t[0].id+"",l;return{c(){e=A("div"),i=A("div"),i.textContent="Video id",n=D(),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+"")&&Qe(l,s)},d(r){r&&T(e)}}}function vs(t){let e,i,n,o,s=t[0].provider+"",l;return{c(){e=A("div"),i=A("div"),i.textContent="Provider",n=D(),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+"")&&Qe(l,s)},d(r){r&&T(e)}}}function ws(t){let e,i,n,o,s=t[0].viewport+"",l;return{c(){e=A("div"),i=A("div"),i.textContent="Viewport",n=D(),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+"")&&Qe(l,s)},d(r){r&&T(e)}}}function ks(t){let e,i,n,o,s=t[0].videoSize+"",l;return{c(){e=A("div"),i=A("div"),i.textContent="Video size",n=D(),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+"")&&Qe(l,s)},d(r){r&&T(e)}}}function ys(t){let e,i,n,o,s=t[0].cdn+"",l;return{c(){e=A("div"),i=A("div"),i.textContent="CDN host",n=D(),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+"")&&Qe(l,s)},d(r){r&&T(e)}}}function Cs(t){let e,i,n,o,s=t[0].volume+"",l,r;return{c(){e=A("div"),i=A("div"),i.textContent="Volume",n=D(),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+"")&&Qe(l,s)},d(a){a&&T(e)}}}function Ps(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=D(),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)+"")&&Qe(l,s)},d(a){a&&T(e)}}}function Ss(t){let e,i,n,o,s,l,r=t[0].speed.toFixed(2)+"",a,c,f;return o=new Fl({props:{values:t[5]}}),{c(){e=A("div"),i=A("div"),i.textContent="Network",n=D(),U(o.$$.fragment),s=D(),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),H(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)+"")&&Qe(a,r)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){g(o.$$.fragment,m),f=!1},d(m){m&&T(e),F(o)}}}function Ts(t){let e,i,n,o,s,l,r=t[0].bitrate.toFixed(2)+"",a,c,f;return o=new Fl({props:{values:t[6]}}),{c(){e=A("div"),i=A("div"),i.textContent="V bitrate",n=D(),U(o.$$.fragment),s=D(),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),H(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)+"")&&Qe(a,r)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){g(o.$$.fragment,m),f=!1},d(m){m&&T(e),F(o)}}}function _0(t){let e,i,n,o,s,l,r,a,c=t[0].version+"",f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B,x,L,te,z,X,le,P,oe,j,ne,we,Ue,qe,Ie,Ce,ue=t[0].id&&_s(t),K=t[0].provider&&vs(t),ae=t[0].viewport&&ws(t),be=t[0].videoSize&&ks(t),$=t[0].cdn&&ys(t),Pe=t[0].volume&&Cs(t),Te=t[0].buffer&&Ps(t),Me=t[0].speed&&Ss(t),re=t[0].bitrate&&Ts(t);return j=new Fl({props:{values:t[4]}}),{c(){e=A("div"),i=A("button"),i.textContent="[x]",n=D(),o=A("div"),s=A("div"),l=A("div"),l.textContent="Version",r=D(),a=A("span"),f=Re(c),m=D(),ue&&ue.c(),h=D(),K&&K.c(),v=D(),ae&&ae.c(),b=D(),be&&be.c(),w=D(),$&&$.c(),_=D(),Pe&&Pe.c(),S=D(),Te&&Te.c(),k=D(),C=A("div"),V=A("div"),V.textContent="Dropped",ie=D(),M=A("span"),G=Re(t[2]),B=Re(" / "),x=Re(t[1]),L=Re(" frames"),te=D(),Me&&Me.c(),z=D(),re&&re.c(),X=D(),le=A("div"),P=A("div"),P.textContent="FPS",oe=D(),U(j.$$.fragment),ne=D(),we=A("span"),Ue=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(P,"class","v-1gy2e68"),u(le,"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")),R(e,"container-mobile",t[7])},m(_e,J){E(_e,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),ue&&ue.m(o,null),p(o,h),K&&K.m(o,null),p(o,v),ae&&ae.m(o,null),p(o,b),be&&be.m(o,null),p(o,w),$&&$.m(o,null),p(o,_),Pe&&Pe.m(o,null),p(o,S),Te&&Te.m(o,null),p(o,k),p(o,C),p(C,V),p(C,ie),p(C,M),p(M,G),p(M,B),p(M,x),p(M,L),p(o,te),Me&&Me.m(o,null),p(o,z),re&&re.m(o,null),p(o,X),p(o,le),p(le,P),p(le,oe),H(j,le,null),p(le,ne),p(le,we),p(we,Ue),qe=!0,Ie||(Ce=me(i,"click",tt(t[9])),Ie=!0)},p(_e,[J]){(!qe||J&1)&&c!==(c=_e[0].version+"")&&Qe(f,c),_e[0].id?ue?ue.p(_e,J):(ue=_s(_e),ue.c(),ue.m(o,h)):ue&&(ue.d(1),ue=null),_e[0].provider?K?K.p(_e,J):(K=vs(_e),K.c(),K.m(o,v)):K&&(K.d(1),K=null),_e[0].viewport?ae?ae.p(_e,J):(ae=ws(_e),ae.c(),ae.m(o,b)):ae&&(ae.d(1),ae=null),_e[0].videoSize?be?be.p(_e,J):(be=ks(_e),be.c(),be.m(o,w)):be&&(be.d(1),be=null),_e[0].cdn?$?$.p(_e,J):($=ys(_e),$.c(),$.m(o,_)):$&&($.d(1),$=null),_e[0].volume?Pe?Pe.p(_e,J):(Pe=Cs(_e),Pe.c(),Pe.m(o,S)):Pe&&(Pe.d(1),Pe=null),_e[0].buffer?Te?Te.p(_e,J):(Te=Ps(_e),Te.c(),Te.m(o,k)):Te&&(Te.d(1),Te=null),(!qe||J&4)&&Qe(G,_e[2]),(!qe||J&2)&&Qe(x,_e[1]),_e[0].speed?Me?(Me.p(_e,J),J&1&&d(Me,1)):(Me=Ss(_e),Me.c(),d(Me,1),Me.m(o,z)):Me&&(fe(),g(Me,1,1,()=>{Me=null}),de()),_e[0].bitrate?re?(re.p(_e,J),J&1&&d(re,1)):(re=Ts(_e),re.c(),d(re,1),re.m(o,X)):re&&(fe(),g(re,1,1,()=>{re=null}),de());const Q={};J&16&&(Q.values=_e[4]),j.$set(Q),(!qe||J&8)&&Qe(Ue,_e[3]),(!qe||J&128)&&R(e,"container-mobile",_e[7])},i(_e){qe||(d(Me),d(re),d(j.$$.fragment,_e),qe=!0)},o(_e){g(Me),g(re),g(j.$$.fragment,_e),qe=!1},d(_e){_e&&T(e),ue&&ue.d(),K&&K.d(),ae&&ae.d(),be&&be.d(),$&&$.d(),Pe&&Pe.d(),Te&&Te.d(),Me&&Me.d(),re&&re.d(),F(j),Ie=!1,Ce()}}}function v0(t,e,i){let n;const o=ut(),s=o.ui.debugPanelVisible,l=o.ui.isMobile;O(t,l,C=>i(7,n=C));const r=()=>{vn.remove(Sl),s.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,m=0,h=0;const v=new pl(60),b=new pl(60),w=new pl(60);let _=[],S=[],k=[];return on(()=>{vn.set(Sl,"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 ie=c.getVideoPlaybackQuality().totalVideoFrames;i(3,h=ie-f),i(1,f=ie),v.push(h),a.speed&&b.push(a.speed),a.bitrate&&w.push(a.bitrate),i(4,_=v.getValuesFromBottom()),i(5,S=b.getValuesFromBottom()),i(6,k=w.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(C),V&&clearInterval(V)}}),[a,f,m,h,_,S,k,n,l,r]}class X1 extends ge{constructor(e){super(),he(this,e,v0,_0,pe,{},b0)}}function w0(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 k0(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=me(e,"click",tt(t[0])),i=!0)},p:W,i:W,o:W,d(o){o&&T(e),i=!1,n()}}}function y0(t){function e(i){_o.call(this,t,i)}return[e]}class C0 extends ge{constructor(e){super(),he(this,e,y0,k0,pe,{},w0)}}function P0(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 S0(t){let e,i,n,o,s,l,r;return{c(){e=A("div"),i=A("canvas"),n=D(),o=N("svg"),s=N("g"),l=N("g"),r=N("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:W,i:W,o:W,d(a){a&&T(e),t[2](null)}}}const T0=5e3;function E0(t,e,i){let{onTimerEnded:n=Ke}=e,o;on(()=>{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)/T0;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){ve[l?"unshift":"push"](()=>{o=l,i(0,o)})}return t.$$set=l=>{"onTimerEnded"in l&&i(1,n=l.onTimerEnded)},[o,n,s]}class A0 extends ge{constructor(e){super(),he(this,e,E0,S0,pe,{onTimerEnded:1},P0)}}function I0(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 Es(t){let e,i;return e=new A0({props:{onTimerEnded:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&4&&(s.onTimerEnded=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function L0(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie;r=new C0({}),r.$on("click",t[4]);let M=t[3]&&Es(t);return{c(){e=A("div"),i=D(),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=D(),U(r.$$.fragment),a=D(),c=A("div"),f=A("div"),m=A("div"),h=A("div"),v=D(),M&&M.c(),w=D(),_=A("div"),S=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",b=`background-image: url('${t[1]}')`),u(f,"class","column v-kisfwc"),u(S,"class","title v-kisfwc"),u(_,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(G,B){E(G,e,B),E(G,i,B),E(G,n,B),p(n,o),p(o,s),p(o,l),H(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(_,S),p(S,k),C=!0,V||(ie=me(c,"click",function(){_n(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=Es(t),M.c(),d(M,1),M.m(m,null)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),(!C||B&2&&b!==(b=`background-image: url('${t[1]}')`))&&u(m,"style",b),(!C||B&1)&&Qe(k,t[0])},i(G){C||(d(r.$$.fragment,G),d(M),C=!0)},o(G){g(r.$$.fragment,G),g(M),C=!1},d(G){G&&(T(e),T(i),T(n)),F(r),M&&M.d(),V=!1,ie()}}}function V0(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 M0 extends ge{constructor(e){super(),he(this,e,V0,L0,pe,{title:0,thumb:1,playNextVideo:2},I0)}}const J1=(t,e)=>Math.min(+(t+e).toFixed(2),1),x1=(t,e)=>Math.max(+(t-e).toFixed(2),0),$1=(t,e,i)=>{const n=J1(e,i);e<1&&t.actions.internal.setVolume(n)},eu=(t,e,i)=>{const n=x1(e,i);e>0&&t.actions.internal.setVolume(n)};function B0(t){ze(t,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function R0(t){let e,i,n,o;const s=t[22].default,l=Mn(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=[me(e,"keyup",t[13]),me(e,"keydown",t[12])],n=!0)},p(r,a){l&&l.p&&(!i||a[0]&2097152)&&Rn(l,s,r,r[21],i?Bn(s,r[21],a,null):Nn(r[21]),null)},i(r){i||(d(l,r),i=!0)},o(r){g(l,r),i=!1},d(r){r&&T(e),l&&l.d(r),t[23](null),n=!1,$e(o)}}}function N0(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,{$$slots:b={},$$scope:w}=e,{isAds:_}=e,{hideContextMenu:S}=e,{toggleFullscreen:k}=e,{showHotKeyHelpers:C}=e,{showKeyMap:V}=e,{fakePlayButtonHandler:ie}=e;const M=ut(),G=ln(),B=M.getLogger().createComponentLog("KeyboardControls component"),x=M.state.playbackState$;O(t,x,$=>i(27,o=$));const L=M.ads.playbackState;O(t,L,$=>i(26,n=$));const te=M.state.positionExact$;O(t,te,$=>i(33,f=$));const z=M.state.duration$;O(t,z,$=>i(32,c=$));const X=M.state.volume$;O(t,X,$=>i(36,v=$));const le=M.ui.controls.disabledControls$;O(t,le,$=>i(31,a=$));const P=M.state.muted$;O(t,P,$=>i(29,l=$));const oe=M.state.currentSubtitle$;O(t,oe,$=>i(28,s=$));const j=M.state.currentPlaybackRate$;O(t,j,$=>i(34,m=$));const ne=M.state.availablePlaybackRates$;O(t,ne,$=>i(35,h=$));const we=M.state.isEnded$;O(t,we,$=>i(30,r=$));let Ue=0,qe=!0,Ie;const Ce=()=>Ie?.focus(),ue=$=>($!==qe&&(qe=$,Ue=0),Ue+=1,(G.controls.seekStepKeyboard+G.controls.seekStepKeyboard*Ue)/1e3),K=$=>{const Pe=$.target,Te=Pe?.getAttribute("role")?.includes("menuitem"),Me=Pe.classList.contains("btn"),re=$.code;if(Me&&re===Se.Space)return;const _e=tf.has(re);if(Te&&_e)return;const J=!ef.has(re);if($.ctrlKey&&J||$.altKey&&J||$.metaKey)return;const Q=Te&&re===Se.Escape;nf.has(re)||Q||S();const De=o===Ft.PLAYING||o===Ft.PAUSED,et=_&&(n===Xt.PAUSED||n===Xt.PLAYING),Xe=!et&&!a.has(nt.TIMELINE);if(De||et)switch(B({message:`key down, code: ${re}`}),re){case Se.KeyJ:case Se.ArrowLeft:{if(!Xe)break;if($.ctrlKey||$.altKey){const ye=M.actions.internal.getPrevEpisode();M.actions.internal.seekToPrevEpisode(ye),ye&&C({type:We.EPISODE_PREV,text:ye.text}),$.preventDefault()}else{const ye=$.shiftKey?ue(!1):G.controls.seekStepKeyboard/1e3,Ge=Math.max(f-ye,0);f>0&&(M.actions.internal.seekTime(Ge,Vt.DOUBLE_TAP),C({type:We.BACKWARD_SEEK,text:ye.toString()}),$.preventDefault())}break}case Se.KeyL:case Se.ArrowRight:{if(!Xe)break;if($.ctrlKey||$.altKey){const ye=M.actions.internal.getNextEpisode();M.actions.internal.seekToNextEpisode(ye),ye&&C({type:We.EPISODE_NEXT,text:ye.text}),$.preventDefault()}else{const ye=$.shiftKey?ue(!0):G.controls.seekStepKeyboard/1e3,Ge=Math.min(f+ye,c);Math.round(f)<Math.round(c)&&(M.actions.internal.seekTime(Ge,Vt.DOUBLE_TAP),C({type:We.FORWARD_SEEK,text:ye.toString()}),$.preventDefault())}break}case Se.ArrowUp:{const ye=v,Ge=G.controls.volumeStepKeyboard,Je=ye<=1;if($1(M,ye,Ge),Je){const ct=Math.round(J1(ye,Ge)*100).toString();C({type:We.VOLUME,t:{key:"hotkey_helper_current_volume",value:ct}})}$.preventDefault();break}case Se.ArrowDown:{const ye=v,Ge=G.controls.volumeStepKeyboard,Je=ye>=0;if(eu(M,ye,Ge),Je){const ct=Math.round(x1(ye,Ge)*100).toString();C({type:We.VOLUME,t:{key:"hotkey_helper_current_volume",value:ct}})}$.preventDefault();break}case Se.Comma:{if($.shiftKey){M.actions.internal.decrementPlaybackRate();const ye=h.find(Ge=>Ge.value===m);C({type:We.RATE_DOWN,text:ye?.displayValue}),$.preventDefault()}else{if(et||o!==Ft.PAUSED)break;const ye=Math.max(f-G.controls.seekStepFrame/1e3,0);f>0&&(C({type:We.BACKWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(ye,Vt.DOUBLE_TAP),$.preventDefault())}break}case Se.Period:{if($.shiftKey){M.actions.internal.incrementPlaybackRate();const ye=h.find(Ge=>Ge.value===m);C({type:We.RATE_UP,text:ye?.displayValue}),$.preventDefault()}else{if(et||o!==Ft.PAUSED)break;const ye=Math.min(f+G.controls.seekStepFrame/1e3,c);f<c&&(C({type:We.FORWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(ye,Vt.DOUBLE_TAP),$.preventDefault())}break}case Se.KeyK:case Se.Space:if(!a.has(nt.PLAY_BUTTON))if(ie)ie();else{M.actions.internal.togglePlay();let ye=We.PLAY;o===Ft.PAUSED?ye=We.PAUSE:r&&(ye=We.REPLAY),C({type:ye})}$.preventDefault();break;case Se.KeyM:{C({type:l?We.VOLUME:We.MUTE}),M.actions.internal.toggleMuted(),$.preventDefault();break}case Se.KeyF:k(),$.preventDefault();break;case Se.KeyC:M.actions.internal.toggleSubtitle(),s.value!=="off"?C({type:We.SUBTITLES_ON,text:s?.displayValue}):C({type:We.SUBTITLES_OFF}),$.preventDefault();break;case Se.KeyI:M.actions.internal.togglePictureInPicture(),$.preventDefault();break;case Se.Digit1:case Se.Numpad1:C(),M.actions.internal.seekToPercent(.1,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit2:case Se.Numpad2:C(),M.actions.internal.seekToPercent(.2,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit3:case Se.Numpad3:C(),M.actions.internal.seekToPercent(.3,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit4:case Se.Numpad4:C(),M.actions.internal.seekToPercent(.4,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit5:case Se.Numpad5:C(),M.actions.internal.seekToPercent(.5,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit6:case Se.Numpad6:C(),M.actions.internal.seekToPercent(.6,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit7:case Se.Numpad7:C(),M.actions.internal.seekToPercent(.7,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit8:case Se.Numpad8:C(),M.actions.internal.seekToPercent(.8,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit9:case Se.Numpad9:C(),M.actions.internal.seekToPercent(.9,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Digit0:case Se.Numpad0:C(),M.actions.internal.seekToPercent(0,Vt.DOUBLE_TAP),$.preventDefault();break;case Se.Slash:{$.shiftKey&&G.features.hotKeyMapModal&&(V(),$.preventDefault());break}case Se.ShiftLeft:case Se.ShiftRight:$.preventDefault();break;case Se.Tab:case Se.Escape:case Se.Enter:break;default:wc(re);break}},ae=$=>{const Pe=$.code;if($.ctrlKey||$.altKey||$.metaKey)return;const Te=o===Ft.PLAYING||o===Ft.PAUSED,Me=_&&(n===Xt.PAUSED||n===Xt.PLAYING);if(Te||Me)switch(Pe){case Se.ShiftLeft:case Se.ShiftRight:Ue=0;break}};function be($){ve[$?"unshift":"push"](()=>{Ie=$,i(0,Ie)})}return t.$$set=$=>{"isAds"in $&&i(14,_=$.isAds),"hideContextMenu"in $&&i(15,S=$.hideContextMenu),"toggleFullscreen"in $&&i(16,k=$.toggleFullscreen),"showHotKeyHelpers"in $&&i(17,C=$.showHotKeyHelpers),"showKeyMap"in $&&i(18,V=$.showKeyMap),"fakePlayButtonHandler"in $&&i(19,ie=$.fakePlayButtonHandler),"$$scope"in $&&i(21,w=$.$$scope)},[Ie,x,L,te,z,X,le,P,oe,j,ne,we,K,ae,_,S,k,C,V,ie,Ce,w,b,be]}class z0 extends ge{constructor(e){super(),he(this,e,N0,R0,pe,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},B0,[-1,-1])}get focus(){return this.$$.ctx[20]}}function D0(t){let e,i,n,o,s;return{c(){e=N("svg"),i=N("rect"),o=N("path"),u(i,"width","20"),u(i,"height","20"),u(i,"rx","10"),u(i,"fill","white"),u(i,"fill-opacity",n=t[0]?1:.24),u(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:W,o:W,d(l){l&&T(e)}}}function O0(t,e,i){let{completed:n}=e;return t.$$set=o=>{"completed"in o&&i(0,n=o.completed)},[n]}class tu extends ge{constructor(e){super(),he(this,e,O0,D0,pe,{completed:0})}}function H0(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 F0(t){let e,i,n;return i=new tu({props:{completed:!0}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","interactive-episode-icon-animated v-4j4dx7"),R(e,"mobile",t[0]),R(e,"fullscreen",t[1]),R(e,"invisible",!t[2]||t[3])},m(o,s){E(o,e,s),H(i,e,null),n=!0},p(o,[s]){(!n||s&1)&&R(e,"mobile",o[0]),(!n||s&2)&&R(e,"fullscreen",o[1]),(!n||s&12)&&R(e,"invisible",!o[2]||o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function U0(t,e,i){let n,o,s,l;const r=ut(),a=r.ui.isMobile;O(t,a,h=>i(0,n=h));const c=r.ui.isFullscreen;O(t,c,h=>i(1,o=h));const f=r.state.isInteractiveTime$;O(t,f,h=>i(2,s=h));const{interactiveControlsOpacity$:m}=sl();return O(t,m,h=>i(3,l=h)),[n,o,s,l,a,c,f,m]}class iu extends ge{constructor(e){super(),he(this,e,U0,F0,pe,{},H0)}}function q0(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 Z0(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:W,i:W,o:W,d(i){i&&T(e)}}}class nu extends ge{constructor(e){super(),he(this,e,null,Z0,pe,{},q0)}}function W0(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("defs"),l=N("filter"),r=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),m=N("feColorMatrix"),h=N("feBlend"),v=N("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(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(b,w){E(b,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:W,i:W,o:W,d(b){b&&T(e)}}}class j0 extends ge{constructor(e){super(),he(this,e,null,W0,pe,{})}}function K0(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 G0(t){let e,i,n,o,s,l,r,a,c,f,m,h;const v=t[14].default,b=Mn(v,t,t[13],null);return{c(){e=A("button"),b&&b.c(),u(e,"class",i="btn "+t[1]+" v-1anemql"),u(e,"style",n=t[2]||null),e.disabled=o=t[3]??null,u(e,"aria-hidden",s=t[5]??null),u(e,"aria-label",l=t[6]??null),u(e,"aria-keyshortcuts",r=t[7]??null),u(e,"aria-expanded",a=t[8]??null),u(e,"data-testid",c=t[4]??null),u(e,"tabindex",t[9])},m(w,_){E(w,e,_),b&&b.m(e,null),t[16](e),f=!0,m||(h=[me(e,"pointerdown",tt(Jt(t[15]))),me(e,"click",tt(Jt(function(){_n(t[10]===Ke?null:t[10])&&(t[10]===Ke?null:t[10]).apply(this,arguments)}))),me(e,"focus",Jt(function(){_n(t[11]===Ke?null:t[11])&&(t[11]===Ke?null:t[11]).apply(this,arguments)})),me(e,"blur",Jt(function(){_n(t[12]===Ke?null:t[12])&&(t[12]===Ke?null:t[12]).apply(this,arguments)}))],m=!0)},p(w,[_]){t=w,b&&b.p&&(!f||_&8192)&&Rn(b,v,t,t[13],f?Bn(v,t[13],_,null):Nn(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(b,w),f=!0)},o(w){g(b,w),f=!1},d(w){w&&T(e),b&&b.d(w),t[16](null),m=!1,$e(h)}}}function Y0(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:b=0}=e,{click:w=Ke}=e,{focus:_=Ke}=e,{blur:S=Ke}=e;function k(V){_o.call(this,t,V)}function C(V){ve[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,b=V.tabIndex),"click"in V&&i(10,w=V.click),"focus"in V&&i(11,_=V.focus),"blur"in V&&i(12,S=V.blur),"$$scope"in V&&i(13,o=V.$$scope)},[m,s,l,r,a,c,f,h,v,b,w,_,S,o,n,k,C]}class hi extends ge{constructor(e){super(),he(this,e,Y0,G0,pe,{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},K0)}}function Q0(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 As(t){let e,i,n,o,s,l=t[2]&&Is(t);return{c(){e=A("div"),i=A("h3"),n=Re(t[3]),o=D(),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)&&Qe(n,r[3]),r[2]?l?(l.p(r,a),a&4&&d(l,1)):(l=Is(r),l.c(),d(l,1),l.m(e,null)):l&&(fe(),g(l,1,1,()=>{l=null}),de())},i(r){s||(d(l),s=!0)},o(r){g(l),s=!1},d(r){r&&T(e),l&&l.d()}}}function Is(t){let e,i;return e=new hi({props:{click:t[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:Y("hotkey_map_modal_close_btn_text"),$$slots:{default:[X0]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&1&&(s.click=n[0]),o&32&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function X0(t){let e,i;return e=new j0({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function J0(t){let e,i,n,o,s,l,r=t[1]&&As(t);const a=t[4].default,c=Mn(a,t,t[5],null);return{c(){e=A("div"),i=A("div"),r&&r.c(),n=D(),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=As(f),r.c(),d(r,1),r.m(i,n)):r&&(fe(),g(r,1,1,()=>{r=null}),de()),c&&c.p&&(!l||m&32)&&Rn(c,a,f,f[5],l?Bn(a,f[5],m,null):Nn(f[5]),null)},i(f){l||(d(r),d(c,f),l=!0)},o(f){g(r),g(c,f),l=!1},d(f){f&&T(e),r&&r.d(),c&&c.d(f)}}}function x0(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 $0 extends ge{constructor(e){super(),he(this,e,x0,J0,pe,{onClose:0,showHeader:1,showCloseCross:2,title:3},Q0)}}const ed=new Set(["BR"]),Ls=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;ed.has(s)||o.parentElement?.removeChild(o)}return e.innerHTML};function td(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 Vs(t,e,i){const n=t.slice();return n[5]=e[i].title,n[6]=e[i].items,n}function Ms(t,e,i){const n=t.slice();return n[9]=e[i].description,n[10]=e[i].value,n}function Bs(t){let e,i,n=Ls(t[9])+"",o,s,l=t[10]+"",r,a;return{c(){e=A("li"),i=A("span"),o=D(),s=A("span"),r=Re(l),a=D(),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=Ls(c[9])+"")&&(i.innerHTML=n),f&1&&l!==(l=c[10]+"")&&Qe(r,l)},d(c){c&&T(e)}}}function Rs(t){let e,i,n=t[5]+"",o,s,l,r,a=Ut(t[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Bs(Ms(t,a,f));return{c(){e=A("div"),i=A("h5"),o=Re(n),s=D(),l=A("ul");for(let f=0;f<c.length;f+=1)c[f].c();r=D(),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]+"")&&Qe(o,n),m&1){a=Ut(f[6]);let h;for(h=0;h<a.length;h+=1){const v=Ms(f,a,h);c[h]?c[h].p(v,m):(c[h]=Bs(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),wn(c,f)}}}function id(t){let e,i=Ut(t[0].groups),n=[];for(let o=0;o<i.length;o+=1)n[o]=Rs(Vs(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=Ut(o[0].groups);let l;for(l=0;l<i.length;l+=1){const r=Vs(o,i,l);n[l]?n[l].p(r,s):(n[l]=Rs(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),wn(n,o)}}}function nd(t){let e,i;return e=new $0({props:{title:t[0].title,onClose:t[2],$$slots:{default:[id]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.title=n[0].title),o&8193&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function od(t,e,i){let n;const o=ut(),{data:s,show:l}=o.ui.modals.hotKeyMap;return O(t,s,a=>i(0,n=a)),[n,s,()=>{l.set(!1)}]}class ld extends ge{constructor(e){super(),he(this,e,od,nd,pe,{},td)}}function sd(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 rd(t){let e,i;const n=t[1].default,o=Mn(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)&&Rn(o,n,s,s[0],i?Bn(n,s[0],l,null):Nn(s[0]),null)},i(s){i||(d(o,s),i=!0)},o(s){g(o,s),i=!1},d(s){s&&T(e),o&&o.d(s)}}}function ad(t,e,i){let{$$slots:n={},$$scope:o}=e;return t.$$set=s=>{"$$scope"in s&&i(0,o=s.$$scope)},[o,n]}class ud extends ge{constructor(e){super(),he(this,e,ad,rd,pe,{},sd)}}function cd(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p:W,i:W,o:W,d(o){o&&T(e)}}}class fd extends ge{constructor(e){super(),he(this,e,null,cd,pe,{})}}function dd(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p:W,i:W,o:W,d(o){o&&T(e)}}}class md extends ge{constructor(e){super(),he(this,e,null,dd,pe,{})}}function pd(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class hd extends ge{constructor(e){super(),he(this,e,null,pd,pe,{})}}function gd(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class ou extends ge{constructor(e){super(),he(this,e,null,gd,pe,{})}}function bd(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p:W,i:W,o:W,d(o){o&&T(e)}}}class lu extends ge{constructor(e){super(),he(this,e,null,bd,pe,{})}}const yo=t=>{switch(t){case mo.Q_720P:return hd;case mo.Q_1080P:return ou;case mo.Q_1440P:return lu;case mo.Q_2160P:return fd;case mo.Q_4320P:return md}};function _d(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 vd(t){let e,i,n,o,s,l,r=t[1]&&Ns(t);return{c(){e=A("div"),r&&r.c(),i=D(),n=N("svg"),o=N("path"),s=N("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(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"),R(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"),R(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=Ns(a),r.c(),d(r,1),r.m(e,i)):r&&(fe(),g(r,1,1,()=>{r=null}),de()),(!l||c&2)&&R(s,"hidden",!!a[1]),(!l||c&4)&&R(e,"triple",a[2])},i(a){l||(d(r),l=!0)},o(a){g(r),l=!1},d(a){a&&T(e),r&&r.d()}}}function wd(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}function Ns(t){let e,i;return e=new ud({props:{$$slots:{default:[kd]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&18&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function kd(t){let e,i,n;var o=t[1];function s(l){return{}}return o&&(e=Sn(o,s())),{c(){e&&U(e.$$.fragment),i=lt()},m(l,r){e&&H(e,l,r),E(l,i,r),n=!0},p(l,r){if(r&2&&o!==(o=l[1])){if(e){fe();const a=e;g(a.$$.fragment,1,0,()=>{F(a,1)}),de()}o?(e=Sn(o,s()),U(e.$$.fragment),d(e.$$.fragment,1),H(e,i.parentNode,i)):e=null}},i(l){n||(e&&d(e.$$.fragment,l),n=!0)},o(l){e&&g(e.$$.fragment,l),n=!1},d(l){l&&T(i),e&&F(e,l)}}}function yd(t){let e,i,n,o;const s=[wd,vd],l=[];function r(a,c){return a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function Cd(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=yo(s)),t.$$.dirty&2&&i(2,l=!!n&&[ou,lu].includes(n))},[o,n,l,s]}class su extends ge{constructor(e){super(),he(this,e,Cd,yd,pe,{isMobile:0,currentQuality:3},_d)}}function Pd(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class ru extends ge{constructor(e){super(),he(this,e,null,Pd,pe,{})}}function Sd(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(i,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class Td extends ge{constructor(e){super(),he(this,e,null,Sd,pe,{})}}function Ed(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(i,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class Ad extends ge{constructor(e){super(),he(this,e,null,Ed,pe,{})}}function Id(t){let e,i,n,o;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(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:W,i:W,o:W,d(s){s&&T(e)}}}class Ld extends ge{constructor(e){super(),he(this,e,null,Id,pe,{})}}function Vd(t){ze(t,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function Md(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),u(i,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(i,"fill",t[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),R(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&&R(e,"reverted",o[2])},d(o){o&&T(e)}}}function Bd(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(i,"fill",t[0]),u(i,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),R(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&&R(e,"reverted",o[2])},d(o){o&&T(e)}}}function Rd(t){let e;function i(s,l){return s[1]?Bd:Md}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(s){s&&T(e),o.d(s)}}}function Nd(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 Wn extends ge{constructor(e){super(),he(this,e,Nd,Rd,pe,{direction:3,color:0},Vd)}}function zd(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class Dd extends ge{constructor(e){super(),he(this,e,null,zd,pe,{})}}function Od(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(i,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class Do extends ge{constructor(e){super(),he(this,e,null,Od,pe,{})}}function Hd(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class Fd extends ge{constructor(e){super(),he(this,e,null,Hd,pe,{})}}function Ud(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class qd extends ge{constructor(e){super(),he(this,e,null,Ud,pe,{})}}function Zd(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 zs(t,e,i){const n=t.slice();return n[142]=e[i],n}function Ds(t,e,i){const n=t.slice();return n[145]=e[i],n}function Os(t,e,i){const n=t.slice();return n[148]=e[i],n}function Hs(t){let e,i,n,o,s,l,r,a,c,f,m,h=t[8]&&Fs(t),v=t[28]&&Us(t),b=t[27]&&Zs(t),w=t[26]&&Ws(t),_=t[25]&&js(t),S=t[24]&&Ks(t),k=t[8]&&Gs(t);return{c(){e=A("div"),h&&h.c(),i=D(),n=A("ul"),v&&v.c(),o=D(),b&&b.c(),s=D(),w&&w.c(),l=D(),_&&_.c(),r=D(),S&&S.c(),a=D(),k&&k.c(),u(n,"class","items v-5r0p3"),u(n,"role","menu"),R(n,"items-mobile",t[8]),u(e,"class","menu v-5r0p3"),R(e,"menu-desktop",!t[8]),R(e,"menu-mobile",t[8]),R(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),b&&b.m(n,null),p(n,s),w&&w.m(n,null),p(n,l),_&&_.m(n,null),p(n,r),S&&S.m(n,null),p(n,a),k&&k.m(n,null),t[116](n),c=!0,f||(m=[me(e,"keydown",t[79]),me(e,"mouseenter",t[73]),me(e,"mouseleave",t[74])],f=!0)},p(C,V){C[8]?h?h.p(C,V):(h=Fs(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=Us(C),v.c(),d(v,1),v.m(n,o)):v&&(fe(),g(v,1,1,()=>{v=null}),de()),C[27]?b?(b.p(C,V),V[0]&134217728&&d(b,1)):(b=Zs(C),b.c(),d(b,1),b.m(n,s)):b&&(fe(),g(b,1,1,()=>{b=null}),de()),C[26]?w?(w.p(C,V),V[0]&67108864&&d(w,1)):(w=Ws(C),w.c(),d(w,1),w.m(n,l)):w&&(fe(),g(w,1,1,()=>{w=null}),de()),C[25]?_?(_.p(C,V),V[0]&33554432&&d(_,1)):(_=js(C),_.c(),d(_,1),_.m(n,r)):_&&(fe(),g(_,1,1,()=>{_=null}),de()),C[24]?S?(S.p(C,V),V[0]&16777216&&d(S,1)):(S=Ks(C),S.c(),d(S,1),S.m(n,a)):S&&(fe(),g(S,1,1,()=>{S=null}),de()),C[8]?k?(k.p(C,V),V[0]&256&&d(k,1)):(k=Gs(C),k.c(),d(k,1),k.m(n,null)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),(!c||V[0]&256)&&R(n,"items-mobile",C[8]),(!c||V[0]&256)&&R(e,"menu-desktop",!C[8]),(!c||V[0]&256)&&R(e,"menu-mobile",C[8]),(!c||V[0]&32768)&&R(e,"hidden",!C[15])},i(C){c||(d(v),d(b),d(w),d(_),d(S),d(k),c=!0)},o(C){g(v),g(b),g(w),g(_),g(S),g(k),c=!1},d(C){C&&T(e),h&&h.d(),v&&v.d(),b&&b.d(),w&&w.d(),_&&_.d(),S&&S.d(),k&&k.d(),t[116](null),f=!1,$e(m)}}}function Fs(t){let e,i,n,o,s,l,r,a;return{c(){e=A("div"),i=A("div"),i.textContent=`${Y("submenu_settings")}`,n=D(),o=A("div"),s=D(),l=A("div"),u(o,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),R(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=me(o,"click",tt(t[59])),r=!0)},p(c,f){f[0]&256&&R(e,"item-mobile",c[8])},d(c){c&&(T(e),T(s),T(l)),r=!1,a()}}}function Us(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;n=new su({});let b=t[36]&&!t[8]&&qs(t);return{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=D(),s=A("div"),s.textContent=`${Y("menu_quality")}`,l=D(),r=A("div"),a=Re(t[20]),c=D(),b&&b.c(),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_quality",{actual:t[30]})),u(e,"aria-haspopup","true"),R(e,"item-mobile",t[8])},m(w,_){E(w,e,_),p(e,i),H(n,i,null),p(e,o),p(e,s),p(e,l),p(e,r),p(r,a),p(r,c),b&&b.m(r,null),t[112](e),m=!0,h||(v=[me(e,"click",tt(t[60])),me(e,"keydown",t[80])],h=!0)},p(w,_){(!m||_[0]&1048576)&&Qe(a,w[20]),w[36]&&!w[8]?b?(b.p(w,_),_[0]&256|_[1]&32&&d(b,1)):(b=qs(w),b.c(),d(b,1),b.m(r,null)):b&&(fe(),g(b,1,1,()=>{b=null}),de()),(!m||_[0]&1073741824&&f!==(f=Y("aria_label_menu_quality",{actual:w[30]})))&&u(e,"aria-label",f),(!m||_[0]&256)&&R(e,"item-mobile",w[8])},i(w){m||(d(n.$$.fragment,w),d(b),m=!0)},o(w){g(n.$$.fragment,w),g(b),m=!1},d(w){w&&T(e),F(n),b&&b.d(),t[112](null),h=!1,$e(v)}}}function qs(t){let e,i,n;var o=t[36];function s(l){return{}}return o&&(i=Sn(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&&H(i,e,null),n=!0},p(l,r){if(r[1]&32&&o!==(o=l[36])){if(i){fe();const a=i;g(a.$$.fragment,1,0,()=>{F(a,1)}),de()}o?(i=Sn(o,s()),U(i.$$.fragment),d(i.$$.fragment,1),H(i,e,null)):i=null}},i(l){n||(i&&d(i.$$.fragment,l),n=!0)},o(l){i&&g(i.$$.fragment,l),n=!1},d(l){l&&T(e),i&&F(i)}}}function Zs(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return n=new Ld({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=D(),s=A("div"),s.textContent=`${Y("menu_playback_rate")}`,l=D(),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"),R(e,"item-mobile",t[8])},m(b,w){E(b,e,w),p(e,i),H(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=[me(e,"click",tt(Jt(t[64]))),me(e,"keydown",t[83])],h=!0)},p(b,w){(!m||w[0]&8192)&&Qe(a,b[13]),(!m||w[1]&1&&f!==(f=Y("aria_label_menu_rate",{actual:b[31]})))&&u(e,"aria-label",f),(!m||w[0]&256)&&R(e,"item-mobile",b[8])},i(b){m||(d(n.$$.fragment,b),m=!0)},o(b){g(n.$$.fragment,b),m=!1},d(b){b&&T(e),F(n),t[113](null),h=!1,$e(v)}}}function Ws(t){let e,i,n,o,s,l,r,a=t[37].displayValue+"",c,f,m,h,v;return n=new ru({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=D(),s=A("div"),s.textContent=`${Y("subtitles_caption")}`,l=D(),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"),R(e,"item-mobile",t[8])},m(b,w){E(b,e,w),p(e,i),H(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=[me(e,"click",tt(t[66])),me(e,"keydown",t[86])],h=!0)},p(b,w){(!m||w[1]&64)&&a!==(a=b[37].displayValue+"")&&Qe(c,a),(!m||w[1]&64&&f!==(f=Y("aria_label_menu_subtitle",{actual:b[37].displayValue})))&&u(e,"aria-label",f),(!m||w[0]&256)&&R(e,"item-mobile",b[8])},i(b){m||(d(n.$$.fragment,b),m=!0)},o(b){g(n.$$.fragment,b),m=!1},d(b){b&&T(e),F(n),t[114](null),h=!1,$e(v)}}}function js(t){let e,i,n,o,s,l,r,a,c,f,m,h;return n=new Ad({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=D(),s=A("div"),s.textContent=`${Y("menu_traffic_saving")}`,l=D(),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"),R(e,"item-mobile",t[8])},m(v,b){E(v,e,b),p(e,i),H(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=[me(e,"click",tt(t[61])),me(e,"keydown",t[89])],m=!0)},p(v,b){(!f||b[0]&536870912)&&Qe(a,v[29]),(!f||b[0]&536870912&&c!==(c=Y("aria_label_menu_traffic_saving",{actual:v[29]})))&&u(e,"aria-label",c),(!f||b[0]&256)&&R(e,"item-mobile",v[8])},i(v){f||(d(n.$$.fragment,v),f=!0)},o(v){g(n.$$.fragment,v),f=!1},d(v){v&&T(e),F(n),t[115](null),m=!1,$e(h)}}}function Ks(t){let e,i,n,o,s,l,r,a;return n=new Td({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=D(),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")),R(e,"item-mobile",t[8])},m(c,f){E(c,e,f),p(e,i),H(n,i,null),p(e,o),p(e,s),l=!0,r||(a=[me(e,"click",tt(t[69])),me(e,"keydown",t[92])],r=!0)},p(c,f){(!l||f[0]&256)&&R(e,"item-mobile",c[8])},i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&T(e),F(n),r=!1,$e(a)}}}function Gs(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S=t[39].showSupport&&Wd(t);return o=new Fd({}),f=new qd({}),{c(){S&&S.c(),e=D(),i=A("li"),n=A("div"),U(o.$$.fragment),s=D(),l=A("div"),l.textContent=`${Y("menu_copy_debug")}`,r=D(),a=A("li"),c=A("div"),U(f.$$.fragment),m=D(),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){S&&S.m(k,C),E(k,e,C),E(k,i,C),p(i,n),H(o,n,null),p(i,s),p(i,l),E(k,r,C),E(k,a,C),p(a,c),H(f,c,null),p(a,m),p(a,h),b=!0,w||(_=[me(i,"click",tt(t[71])),me(i,"keydown",t[94]),me(a,"click",tt(t[72])),me(a,"keydown",t[95])],w=!0)},p(k,C){k[39].showSupport&&S.p(k,C),(!b||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){b||(d(S),d(o.$$.fragment,k),d(f.$$.fragment,k),b=!0)},o(k){g(S),g(o.$$.fragment,k),g(f.$$.fragment,k),b=!1},d(k){k&&(T(e),T(i),T(r),T(a)),S&&S.d(k),F(o),F(f),w=!1,$e(_)}}}function Wd(t){let e,i,n,o,s,l,r,a;return n=new Dd({}),{c(){e=A("li"),i=A("div"),U(n.$$.fragment),o=D(),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),H(n,i,null),p(e,o),p(e,s),l=!0,r||(a=[me(e,"click",tt(t[70])),me(e,"keydown",t[93])],r=!0)},p:W,i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&T(e),F(n),r=!1,$e(a)}}}function Ys(t){let e,i,n,o,s,l,r,a,c,f,m,h;n=new Wn({props:{direction:"left"}});let v=Ut(t[12]),b=[];for(let _=0;_<v.length;_+=1)b[_]=Js(Os(t,v,_));const w=_=>g(b[_],1,1,()=>{b[_]=null});return{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=D(),s=A("div"),s.textContent=`${Y("submenu_quality")}`,l=D(),r=A("div"),a=D(),c=A("ul");for(let _=0;_<b.length;_+=1)b[_].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),R(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]),R(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),R(e,"menu-desktop",!t[8]),R(e,"menu-mobile",t[8])},m(_,S){E(_,e,S),p(e,i),H(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<b.length;k+=1)b[k]&&b[k].m(c,null);t[120](c),f=!0,m||(h=[me(i,"click",tt(t[68])),me(c,"keydown",t[81])],m=!0)},p(_,S){if((!f||S[0]&256)&&R(i,"item-mobile",_[8]),S[0]&4352|S[2]&1048577){v=Ut(_[12]);let k;for(k=0;k<v.length;k+=1){const C=Os(_,v,k);b[k]?(b[k].p(C,S),d(b[k],1)):(b[k]=Js(C),b[k].c(),d(b[k],1),b[k].m(c,null))}for(fe(),k=v.length;k<b.length;k+=1)w(k);de()}(!f||S[0]&2097152)&&u(c,"style",_[21]),(!f||S[0]&256)&&R(c,"items-mobile",_[8]),(!f||S[0]&256)&&R(e,"menu-desktop",!_[8]),(!f||S[0]&256)&&R(e,"menu-mobile",_[8])},i(_){if(!f){d(n.$$.fragment,_);for(let S=0;S<v.length;S+=1)d(b[S]);f=!0}},o(_){g(n.$$.fragment,_),b=b.filter(Boolean);for(let S=0;S<b.length;S+=1)g(b[S]);f=!1},d(_){_&&T(e),F(n),t[117](null),wn(b,_),t[120](null),m=!1,$e(h)}}}function Qs(t){let e,i,n;return i=new Do({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),H(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function Xs(t){let e,i,n;var o=yo(t[148].value);function s(l){return{}}return o&&(i=Sn(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&&H(i,e,null),n=!0},p(l,r){if(r[0]&4096&&o!==(o=yo(l[148].value))){if(i){fe();const a=i;g(a.$$.fragment,1,0,()=>{F(a,1)}),de()}o?(i=Sn(o,s()),U(i.$$.fragment),d(i.$$.fragment,1),H(i,e,null)):i=null}},i(l){n||(i&&d(i.$$.fragment,l),n=!0)},o(l){i&&g(i.$$.fragment,l),n=!1},d(l){l&&T(e),i&&F(i)}}}function Js(t){let e,i,n,o=t[148].displayValue+"",s,l,r=!t[8]&&yo(t[148].value),a,c,f,m,h,v,b=t[148].selected&&Qs(),w=r&&Xs(t);function _(){return t[118](t[148])}function S(...k){return t[119](t[148],...k)}return{c(){e=A("li"),b&&b.c(),i=D(),n=A("div"),s=Re(o),l=D(),w&&w.c(),a=D(),u(n,"class","v-5r0p3"),R(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),R(e,"item-mobile",t[8])},m(k,C){E(k,e,C),b&&b.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=[me(e,"click",tt(_)),me(e,"keydown",S)],h=!0)},p(k,C){t=k,t[148].selected?b?C[0]&4096&&d(b,1):(b=Qs(),b.c(),d(b,1),b.m(e,i)):b&&(fe(),g(b,1,1,()=>{b=null}),de()),(!m||C[0]&4096)&&o!==(o=t[148].displayValue+"")&&Qe(s,o),(!m||C[0]&256)&&R(n,"quality-title-mobile",t[8]),C[0]&4352&&(r=!t[8]&&yo(t[148].value)),r?w?(w.p(t,C),C[0]&4352&&d(w,1)):(w=Xs(t),w.c(),d(w,1),w.m(e,a)):w&&(fe(),g(w,1,1,()=>{w=null}),de()),(!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)&&R(e,"item-mobile",t[8])},i(k){m||(d(b),d(w),m=!0)},o(k){g(b),g(w),m=!1},d(k){k&&T(e),b&&b.d(),w&&w.d(),h=!1,$e(v)}}}function xs(t){let e,i,n,o,s,l,r,a,c,f,m,h;n=new Wn({props:{direction:"left"}});let v=Ut(t[11]),b=[];for(let _=0;_<v.length;_+=1)b[_]=er(Ds(t,v,_));const w=_=>g(b[_],1,1,()=>{b[_]=null});return{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=D(),s=A("div"),s.textContent=`${Y("submenu_playback_rate")}`,l=D(),r=A("div"),a=D(),c=A("ul");for(let _=0;_<b.length;_+=1)b[_].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),R(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]),R(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),R(e,"menu-desktop",!t[8]),R(e,"menu-mobile",t[8])},m(_,S){E(_,e,S),p(e,i),H(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<b.length;k+=1)b[k]&&b[k].m(c,null);t[124](c),f=!0,m||(h=[me(i,"click",tt(t[68])),me(c,"keydown",t[84])],m=!0)},p(_,S){if((!f||S[0]&256)&&R(i,"item-mobile",_[8]),S[0]&2304|S[2]&8388616){v=Ut(_[11]);let k;for(k=0;k<v.length;k+=1){const C=Ds(_,v,k);b[k]?(b[k].p(C,S),d(b[k],1)):(b[k]=er(C),b[k].c(),d(b[k],1),b[k].m(c,null))}for(fe(),k=v.length;k<b.length;k+=1)w(k);de()}(!f||S[0]&4194304)&&u(c,"style",_[22]),(!f||S[0]&256)&&R(c,"items-mobile",_[8]),(!f||S[0]&256)&&R(e,"menu-desktop",!_[8]),(!f||S[0]&256)&&R(e,"menu-mobile",_[8])},i(_){if(!f){d(n.$$.fragment,_);for(let S=0;S<v.length;S+=1)d(b[S]);f=!0}},o(_){g(n.$$.fragment,_),b=b.filter(Boolean);for(let S=0;S<b.length;S+=1)g(b[S]);f=!1},d(_){_&&T(e),F(n),t[121](null),wn(b,_),t[124](null),m=!1,$e(h)}}}function $s(t){let e,i,n;return i=new Do({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),H(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function er(t){let e,i,n,o=t[145].displayValue+"",s,l,r,a,c,f,m,h=t[145].selected&&$s();function v(){return t[122](t[145])}function b(...w){return t[123](t[145],...w)}return{c(){e=A("li"),h&&h.c(),i=D(),n=A("div"),s=Re(o),l=D(),u(n,"class","v-5r0p3"),R(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),R(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=[me(e,"click",tt(v)),me(e,"keydown",b)],f=!0)},p(w,_){t=w,t[145].selected?h?_[0]&2048&&d(h,1):(h=$s(),h.c(),d(h,1),h.m(e,i)):h&&(fe(),g(h,1,1,()=>{h=null}),de()),(!c||_[0]&2048)&&o!==(o=t[145].displayValue+"")&&Qe(s,o),(!c||_[0]&256)&&R(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)&&R(e,"item-mobile",t[8])},i(w){c||(d(h),c=!0)},o(w){g(h),c=!1},d(w){w&&T(e),h&&h.d(),f=!1,$e(m)}}}function tr(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B;n=new Wn({props:{direction:"left"}});let x=!t[9]&&ir(),L=t[9]&&nr();return{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=D(),s=A("div"),s.textContent=`${Y("submenu_traffic_saving")}`,l=D(),r=A("div"),a=D(),c=A("ul"),f=A("li"),x&&x.c(),m=D(),h=A("div"),h.textContent=`${Y("traffic_saving_disable")}`,v=D(),b=A("li"),L&&L.c(),w=D(),_=A("div"),_.textContent=`${Y("traffic_saving_enable")}`,S=D(),k=A("div"),C=D(),V=A("div"),ie=A("span"),ie.textContent=`${Y("traffic_saving_helper_text")}`,u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),R(i,"item-mobile",t[8]),u(r,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),R(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")),R(f,"item-mobile",t[8]),u(_,"class","v-5r0p3"),R(_,"quality-title-mobile",t[8]),u(b,"class","item item-traffic-saving v-5r0p3"),u(b,"role","menuitem"),u(b,"tabindex","0"),u(b,"aria-label",`${Y("aria_label_submenu_traffic_saving_on")}. ${Y("traffic_saving_helper_text")}`),R(b,"item-mobile",t[8]),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[23]),R(c,"items-mobile",t[8]),u(k,"class","menu-divider v-5r0p3"),u(ie,"class","v-5r0p3"),u(V,"class","item item-helper-text v-5r0p3"),R(V,"item-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),R(e,"menu-desktop",!t[8]),R(e,"menu-mobile",t[8])},m(te,z){E(te,e,z),p(e,i),H(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,b),L&&L.m(b,null),p(b,w),p(b,_),t[130](c),p(e,S),p(e,k),p(e,C),p(e,V),p(V,ie),M=!0,G||(B=[me(i,"click",tt(t[68])),me(f,"click",tt(t[126])),me(f,"keydown",t[127]),me(b,"click",tt(t[128])),me(b,"keydown",t[129]),me(c,"keydown",t[90])],G=!0)},p(te,z){(!M||z[0]&256)&&R(i,"item-mobile",te[8]),te[9]?x&&(fe(),g(x,1,1,()=>{x=null}),de()):x?z[0]&512&&d(x,1):(x=ir(),x.c(),d(x,1),x.m(f,m)),(!M||z[0]&256)&&R(h,"quality-title-mobile",te[8]),(!M||z[0]&256)&&R(f,"item-mobile",te[8]),te[9]?L?z[0]&512&&d(L,1):(L=nr(),L.c(),d(L,1),L.m(b,w)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),(!M||z[0]&256)&&R(_,"quality-title-mobile",te[8]),(!M||z[0]&256)&&R(b,"item-mobile",te[8]),(!M||z[0]&8388608)&&u(c,"style",te[23]),(!M||z[0]&256)&&R(c,"items-mobile",te[8]),(!M||z[0]&256)&&R(V,"item-mobile",te[8]),(!M||z[0]&256)&&R(e,"menu-desktop",!te[8]),(!M||z[0]&256)&&R(e,"menu-mobile",te[8])},i(te){M||(d(n.$$.fragment,te),d(x),d(L),M=!0)},o(te){g(n.$$.fragment,te),g(x),g(L),M=!1},d(te){te&&T(e),F(n),t[125](null),x&&x.d(),L&&L.d(),t[130](null),G=!1,$e(B)}}}function ir(t){let e,i,n;return i=new Do({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),H(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function nr(t){let e,i,n;return i=new Do({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),H(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function or(t){let e,i,n,o,s,l,r,a,c,f;n=new Wn({props:{direction:"left"}});let m=Ut(t[10]),h=[];for(let b=0;b<m.length;b+=1)h[b]=sr(zs(t,m,b));const v=b=>g(h[b],1,1,()=>{h[b]=null});return{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=D(),s=A("div"),s.textContent=`${Y("subtitles_caption")}`,l=D(),r=A("ul");for(let b=0;b<h.length;b+=1)h[b].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),R(i,"item-mobile",t[8]),u(r,"class","items v-5r0p3"),u(r,"role","menu"),R(r,"items-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),R(e,"menu-desktop",!t[8]),R(e,"menu-mobile",t[8])},m(b,w){E(b,e,w),p(e,i),H(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=[me(i,"click",tt(t[68])),me(r,"keydown",t[87])],c=!0)},p(b,w){if((!a||w[0]&256)&&R(i,"item-mobile",b[8]),w[0]&1280|w[2]&67108896){m=Ut(b[10]);let _;for(_=0;_<m.length;_+=1){const S=zs(b,m,_);h[_]?(h[_].p(S,w),d(h[_],1)):(h[_]=sr(S),h[_].c(),d(h[_],1),h[_].m(r,null))}for(fe(),_=m.length;_<h.length;_+=1)v(_);de()}(!a||w[0]&256)&&R(r,"items-mobile",b[8]),(!a||w[0]&256)&&R(e,"menu-desktop",!b[8]),(!a||w[0]&256)&&R(e,"menu-mobile",b[8])},i(b){if(!a){d(n.$$.fragment,b);for(let w=0;w<m.length;w+=1)d(h[w]);a=!0}},o(b){g(n.$$.fragment,b),h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)g(h[w]);a=!1},d(b){b&&T(e),F(n),wn(h,b),t[133](null),c=!1,$e(f)}}}function lr(t){let e,i,n;return i=new Do({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),H(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function sr(t){let e,i,n,o=t[142].displayValue+"",s,l,r,a,c,f,m,h=t[142].selected&&lr();function v(){return t[131](t[142])}function b(...w){return t[132](t[142],...w)}return{c(){e=A("li"),h&&h.c(),i=D(),n=A("div"),s=Re(o),l=D(),u(n,"class","v-5r0p3"),R(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),R(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=[me(e,"click",tt(v)),me(e,"keydown",b)],f=!0)},p(w,_){t=w,t[142].selected?h?_[0]&1024&&d(h,1):(h=lr(),h.c(),d(h,1),h.m(e,i)):h&&(fe(),g(h,1,1,()=>{h=null}),de()),(!c||_[0]&1024)&&o!==(o=t[142].displayValue+"")&&Qe(s,o),(!c||_[0]&256)&&R(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)&&R(e,"item-mobile",t[8])},i(w){c||(d(h),c=!0)},o(w){g(h),c=!1},d(w){w&&T(e),h&&h.d(),f=!1,$e(m)}}}function jd(t){let e,i,n,o,s,l,r=t[14]&&Hs(t),a=t[16]&&Ys(t),c=t[17]&&xs(t),f=t[19]&&tr(t),m=t[18]&&or(t);return{c(){e=A("div"),r&&r.c(),i=D(),a&&a.c(),n=D(),c&&c.c(),o=D(),f&&f.c(),s=D(),m&&m.c(),u(e,"class","v-5r0p3"),R(e,"hidden",!t[14]),R(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=Hs(h),r.c(),d(r,1),r.m(e,i)):r&&(fe(),g(r,1,1,()=>{r=null}),de()),h[16]?a?(a.p(h,v),v[0]&65536&&d(a,1)):(a=Ys(h),a.c(),d(a,1),a.m(e,n)):a&&(fe(),g(a,1,1,()=>{a=null}),de()),h[17]?c?(c.p(h,v),v[0]&131072&&d(c,1)):(c=xs(h),c.c(),d(c,1),c.m(e,o)):c&&(fe(),g(c,1,1,()=>{c=null}),de()),h[19]?f?(f.p(h,v),v[0]&524288&&d(f,1)):(f=tr(h),f.c(),d(f,1),f.m(e,s)):f&&(fe(),g(f,1,1,()=>{f=null}),de()),h[18]?m?(m.p(h,v),v[0]&262144&&d(m,1)):(m=or(h),m.c(),d(m,1),m.m(e,null)):m&&(fe(),g(m,1,1,()=>{m=null}),de()),(!l||v[0]&16384)&&R(e,"hidden",!h[14]),(!l||v[0]&256)&&R(e,"container-mobile",h[8])},i(h){l||(d(r),d(a),d(c),d(f),d(m),l=!0)},o(h){g(r),g(a),g(c),g(f),g(m),l=!1},d(h){h&&T(e),r&&r.d(),a&&a.d(),c&&c.d(),f&&f.d(),m&&m.d()}}}const bl=18;function Kd(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B,x,L,{ref:te=void 0}=e,{supportLink:z}=e,{playerControlsHeight:X=0}=e,{returnFocus:le}=e;const P=ut(),oe=ln(),j=P.state.currentQuality$;O(t,j,ee=>i(103,w=ee));const ne=P.state.availableQualities$;O(t,ne,ee=>i(12,v=ee));const we=P.state.autoQualityLimitingAvailable$;O(t,we,ee=>i(107,C=ee));const Ue=P.state.isAutoQualityEnabled$;O(t,Ue,ee=>i(104,_=ee));const qe=P.state.currentPlaybackRate$;O(t,qe,ee=>i(13,b=ee));const Ie=P.state.availablePlaybackRates$;O(t,Ie,ee=>i(11,m=ee));const Ce=P.state.currentSubtitle$;O(t,Ce,ee=>i(37,x=ee));const ue=P.state.availableSubtitlesList$;O(t,ue,ee=>i(10,c=ee));const K=P.state.canDownload,ae=P.state.hasMpegSources$;O(t,ae,ee=>i(108,V=ee));const be=P.ui.settingsMenuVisible;O(t,be,ee=>i(14,B=ee));const $=P.ui.settingsMenuOpenedByKeyboard;O(t,$,ee=>i(135,o=ee));const Pe=P.ui.isMobile;O(t,Pe,ee=>i(8,s=ee));const Te=P.ui.mobileNotReportControlHidden$;O(t,Te,ee=>i(105,S=ee));const Me=P.state.canChangePlaybackSpeed$;O(t,Me,ee=>i(106,k=ee));const re=P.ui.isFullscreen;O(t,re,ee=>i(111,G=ee));const _e=P.state.trafficSavingEnabled$;O(t,_e,ee=>i(9,r=ee));const J=P.ui.playerSize;O(t,J,ee=>i(110,M=ee));const Q=P.ui.debugPanelVisible;O(t,Q,ee=>i(38,L=ee));const De=P.ui.playerSize;O(t,De,ee=>i(109,ie=ee));const et=P.state.isInteractiveTime$,Xe=P.actions.internal.downloadVideo,ye=P.actions.internal.closeSettingsMenu;let Ge=!0,Je=!1,ct=!1,bt=!1,Fe=!1,Le=!1;function vt(){o||le?.(),ye(),Le=!1}function Bt(){i(15,Ge=!1),i(16,Je=!0)}function xt(){i(15,Ge=!1),i(19,Fe=!0)}function qt(ee){P.actions.internal.setQuality(ee),vt()}function ce(ee){P.actions.internal.setTrafficSavingEnabled(ee),vt()}function pt(){i(15,Ge=!1),i(17,ct=!0)}function ht(ee){P.actions.internal.setPlaybackRate(ee),vt()}function ft(){i(15,Ge=!1),i(18,bt=!0)}function st(ee){P.actions.internal.setSubtitle(ee),vt()}function kt(){i(15,Ge=!0),i(16,Je=!1),i(17,ct=!1),i(18,bt=!1),i(19,Fe=!1)}function Pt(){Xe(),vt()}function ai(){window.open(z,"_blank"),vt(),P.actions.internal.pause()}function Fi(){El(P.actions.internal.getDebugTextData()),vt()}function Zt(){Q.set(!0),vt()}function Ui(){Le=!0}function Yi(){Le=!1}function $t(ee,xe,gt){if(!ee)return"...";const li=xe.find(sn=>sn.value===ee),Ji=li?li.displayValue:ee;return gt?ee===mo.INVARIANT?Y("auto_quality_invariant"):Y("auto_quality",{actual:Ji}):Ji}let Bi,Ri,Rt,ei,ui,Wt,ci,jt,gi,Ni,mt,fi,bi,_i,Nt,vi,ti,ii=Ee(!1);O(t,ii,ee=>i(102,h=ee));let St,wi,zt=Ee(!1);O(t,zt,ee=>i(101,f=ee));let rt,Tt,zi=Ee(!1);O(t,zi,ee=>i(100,a=ee));let ki,yi,ni=Ee(!1);O(t,ni,ee=>i(99,l=ee));const Kt=ee=>{Q1(ee,ye)},qi=async ee=>{Yo(ee,Bt,()=>{const xe=v.findIndex(gt=>gt.selected);return ti.childNodes[xe]})},Et=async ee=>{Qo(ee,kt,ii,ye)},wt=(ee,xe)=>{xi(ee,()=>qt(xe))},yt=async ee=>{Yo(ee,pt,()=>{const xe=m.findIndex(gt=>gt.selected);return wi.childNodes[xe]})},At=async ee=>{Qo(ee,kt,zt,ye)},Zi=(ee,xe)=>{xi(ee,()=>ht(xe))},Gt=async ee=>{Yo(ee,ft,()=>{const xe=c.findIndex(gt=>gt.selected);return Tt.childNodes[xe]})},Ci=async ee=>{Qo(ee,kt,zi,ye)},Di=(ee,xe)=>{xi(ee,()=>st(xe))},Pi=async ee=>{Yo(ee,xt,()=>{const xe=r?2:0;return yi.childNodes[xe]})},Qi=async ee=>{Qo(ee,kt,ni,ye)},Si=(ee,xe)=>{xi(ee,()=>ce(xe))},di=ee=>{xi(ee,()=>Pt())},mi=ee=>{xi(ee,()=>ai())},Ti=ee=>{xi(ee,()=>Fi())},Ei=ee=>{xi(ee,()=>Zt())};on(()=>{const ee=et.subscribe(xe=>{xe&&!s&&!Le&&!o&&vt()});return()=>{ee()}});function Ai(ee){ve[ee?"unshift":"push"](()=>{vi=ee,i(4,vi)})}function Ae(ee){ve[ee?"unshift":"push"](()=>{St=ee,i(5,St)})}function Wi(ee){ve[ee?"unshift":"push"](()=>{rt=ee,i(6,rt)})}function ji(ee){ve[ee?"unshift":"push"](()=>{ki=ee,i(7,ki)})}function Ii(ee){ve[ee?"unshift":"push"](()=>{te=ee,i(0,te)})}function Ki(ee){ve[ee?"unshift":"push"](()=>{Ri=ee,i(1,Ri)})}const Li=ee=>qt(ee.value),Ne=(ee,xe)=>wt(xe,ee.value);function pi(ee){ve[ee?"unshift":"push"](()=>{ti=ee,i(32,ti)})}function Vi(ee){ve[ee?"unshift":"push"](()=>{Rt=ee,i(2,Rt)})}const Dt=ee=>ht(ee.value),Ot=(ee,xe)=>Zi(xe,ee.value);function oi(ee){ve[ee?"unshift":"push"](()=>{wi=ee,i(33,wi)})}function $i(ee){ve[ee?"unshift":"push"](()=>{ei=ee,i(3,ei)})}const Oi=()=>ce(!1),en=ee=>Si(ee,!1),tn=()=>ce(!0),Xi=ee=>Si(ee,!0);function Mi(ee){ve[ee?"unshift":"push"](()=>{yi=ee,i(35,yi)})}const Gi=ee=>st(ee),Hi=(ee,xe)=>Di(xe,ee);function nn(ee){ve[ee?"unshift":"push"](()=>{Tt=ee,i(34,Tt)})}return t.$$set=ee=>{"ref"in ee&&i(0,te=ee.ref),"supportLink"in ee&&i(96,z=ee.supportLink),"playerControlsHeight"in ee&&i(97,X=ee.playerControlsHeight),"returnFocus"in ee&&i(98,le=ee.returnFocus)},t.$$.update=()=>{if(t.$$.dirty[0]&16384&&B&&(i(15,Ge=!0),i(16,Je=!1),i(17,ct=!1),i(18,bt=!1),i(19,Fe=!1)),t.$$.dirty[3]&1024&&i(36,n=yo(w)),t.$$.dirty[0]&4096|t.$$.dirty[3]&3072&&i(20,Bi=$t(w,v,_)),t.$$.dirty[0]&258|t.$$.dirty[3]&458768)if(s&&G)i(21,ui=`max-height: ${Math.round(M.height*.6)}px`);else if(s)i(21,ui="");else{const ee=ie.height-bl-(Ri?.clientHeight??0)-X;i(21,ui=`max-height: ${ee}px; overflow: auto;`)}if(t.$$.dirty[0]&260|t.$$.dirty[3]&65552)if(s)i(22,Wt="");else{const ee=ie.height-bl-(Rt?.clientHeight??0)-X;i(22,Wt=`max-height: ${ee}px; overflow: auto;`)}if(t.$$.dirty[0]&264|t.$$.dirty[3]&65552)if(s)i(23,ci="");else{const ee=ie.height-bl-(ei?.clientHeight??0)-X;i(23,ci=`max-height: ${ee}px; overflow: auto;`)}t.$$.dirty[3]&36864&&i(24,jt=K&&V&&!S),t.$$.dirty[3]&20480&&i(25,gi=oe.features.trafficSaving&&!S&&C),t.$$.dirty[0]&1024|t.$$.dirty[3]&4096&&i(26,Ni=c.length>0&&!S),t.$$.dirty[3]&12288&&i(27,mt=!!k&&!S),t.$$.dirty[3]&4096&&i(28,fi=!S),t.$$.dirty[0]&512&&i(29,bi=Y(r?"traffic_saving_on":"traffic_saving_off")),t.$$.dirty[3]&3072&&i(30,_i=_?Y("auto_quality_option"):w),t.$$.dirty[0]&10240&&i(31,Nt=m.find(ee=>ee.value===b)?.displayValue),t.$$.dirty[0]&16|t.$$.dirty[3]&512&&Go(vi,ii,h),t.$$.dirty[0]&32|t.$$.dirty[3]&256&&Go(St,zt,f),t.$$.dirty[0]&64|t.$$.dirty[3]&128&&Go(rt,zi,a),t.$$.dirty[0]&128|t.$$.dirty[3]&64&&Go(ki,ni,l)},[te,Ri,Rt,ei,vi,St,rt,ki,s,r,c,m,v,b,B,Ge,Je,ct,bt,Fe,Bi,ui,Wt,ci,jt,gi,Ni,mt,fi,bi,_i,Nt,ti,wi,Tt,yi,n,x,L,oe,j,ne,we,Ue,qe,Ie,Ce,ue,ae,be,$,Pe,Te,Me,re,_e,J,Q,De,vt,Bt,xt,qt,ce,pt,ht,ft,st,kt,Pt,ai,Fi,Zt,Ui,Yi,ii,zt,zi,ni,Kt,qi,Et,wt,yt,At,Zi,Gt,Ci,Di,Pi,Qi,Si,di,mi,Ti,Ei,z,X,le,l,a,f,h,w,_,S,k,C,V,ie,M,G,Ai,Ae,Wi,ji,Ii,Ki,Li,Ne,pi,Vi,Dt,Ot,oi,$i,Oi,en,tn,Xi,Mi,Gi,Hi,nn]}class au extends ge{constructor(e){super(),he(this,e,Kd,jd,pe,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},Zd,[-1,-1,-1,-1,-1])}}function Gd(t){ze(t,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function Yd(t){let e,i,n;return i=new su({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),H(i,e,null),n=!0},p(o,s){const l={};s&8&&(l.isMobile=o[3]),s&16&&(l.currentQuality=o[4]),i.$set(l)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function Qd(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:[Yd]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"opened":""),r&4&&(a.ariaLabel=l[2]),r&2&&(a.ariaExpanded=l[1]),r&4120&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Xd(t,e,i){let n,o,s,{ref:l=void 0}=e;const r=ut(),a=r.state.currentQuality$;O(t,a,w=>i(4,s=w));const c=r.ui.settingsMenuVisible;O(t,c,w=>i(1,n=w));const f=r.actions.internal.toggleSettingsMenu,m=r.ui.isMobile;O(t,m,w=>i(3,o=w));let h;function v(w){const _=Dl(w);f(_)}function b(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,b]}class Ul extends ge{constructor(e){super(),he(this,e,Xd,Qd,pe,{ref:0},Gd)}}function Jd(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class xd extends ge{constructor(e){super(),he(this,e,null,Jd,pe,{})}}function $d(t){let e,i;return e=new ru({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function e2(t){let e,i;return e=new xd({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function t2(t){let e,i,n,o;const s=[e2,$d],l=[];function r(a,c){return a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e!==f&&(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i||(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function i2(t){let e,i;return e=new hi({props:{testId:"btn-Subtitles",ariaLabel:t[2],click:t[1],ariaKeyShortCut:zo[Se.KeyC],$$slots:{default:[t2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function n2(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 o2 extends ge{constructor(e){super(),he(this,e,n2,i2,pe,{isSubtitlesEnabled:0,click:1})}}function l2(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 rr(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&&Qe(i,n[3])},d(n){n&&T(e)}}}function s2(t){let e,i,n,o,s=t[2]&&rr(t);return{c(){e=A("div"),i=A("span"),n=Re(t[4]),o=D(),s&&s.c(),u(i,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),R(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&&Qe(n,l[4]),l[2]?s?s.p(l,r):(s=rr(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&2&&R(e,"mobile",l[1])},i:W,o:W,d(l){l&&T(e),s&&s.d(),t[7](null)}}}function r2(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){ve[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=Vn(o)),t.$$.dirty&64&&i(4,c=Vn(s))},[r,n,l,a,c,o,s,f]}class uu extends ge{constructor(e){super(),he(this,e,r2,s2,pe,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},l2)}}function a2(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 u2(t){let e,i,n,o,s,l;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(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:W,o:W,d(r){r&&T(e)}}}function c2(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 rl extends ge{constructor(e){super(),he(this,e,c2,u2,pe,{volume:1,muted:2},a2)}}function f2(t){let e,i;const n=t[4].default,o=Mn(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)&&Rn(o,n,s,s[3],i?Bn(n,s[3],l,null):Nn(s[3]),null)},i(s){i||(d(o,s),i=!0)},o(s){g(o,s),i=!1},d(s){s&&T(e),o&&o.d(s),t[5](null)}}}function d2(t,e,i){let n,{$$slots:o={},$$scope:s}=e;const r=ut().ui.overlayContainer$;O(t,r,h=>i(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};on(()=>(f(n),()=>c(n)));function m(h){ve[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 m2 extends ge{constructor(e){super(),he(this,e,d2,f2,pe,{})}}function p2(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 ar(t){let e,i;return e=new m2({props:{$$slots:{default:[h2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&262387&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function h2(t){let e,i,n,o,s,l,r;return{c(){e=A("div"),i=A("div"),n=Re(t[1]),o=D(),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);`),R(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&&Qe(n,a[1]),c&32&&l!==(l=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(s,"style",l),c&192&&r!==(r=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",r),c&1&&R(e,"active",a[0])},d(a){a&&T(e),t[17](null)}}}function g2(t){let e,i,n,o,s,l;const r=t[15].default,a=Mn(r,t,t[18],null);let c=t[1]&&ar(t);return{c(){e=A("div"),a&&a.c(),i=D(),c&&c.c(),n=lt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),R(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=[me(e,"mouseenter",t[11]),me(e,"mousemove",t[11]),me(e,"mouseleave",t[12]),me(e,"mousedown",t[12]),me(e,"mouseup",t[11])],s=!0)},p(f,[m]){a&&a.p&&(!o||m&262144)&&Rn(a,r,f,f[18],o?Bn(r,f[18],m,null):Nn(f[18]),null),(!o||m&4)&&R(e,"full-width",f[2]),f[1]?c?(c.p(f,m),m&2&&d(c,1)):(c=ar(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(fe(),g(c,1,1,()=>{c=null}),de())},i(f){o||(d(a,f),d(c),o=!0)},o(f){g(a,f),g(c),o=!1},d(f){f&&(T(e),T(i),T(n)),a&&a.d(f),t[16](null),c&&c.d(f),s=!1,$e(l)}}}const Xo=5;function b2(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,b,w=0,_=Xo,S=0,k=0;const C=ln(),V=ut(),ie=V.ui.playerSize;O(t,ie,P=>i(21,o=P));const M=V.ui.overlayContainer$;O(t,M,P=>i(20,n=P));const G=V.getLogger().createComponentLog("Tooltip component"),B=()=>{if(!n)return;const P=n.getBoundingClientRect(),oe=h.getBoundingClientRect(),j=oe.width,ne=v.clientWidth,we=o.width,Ue=(j-ne)/2,qe=oe.left+c-P.left;let Ie=qe+Ue;const Ce=oe.top+f-P.top;let ue=ne/2-Xo;const K=Ie<Wo,ae=Ie+ne>we-Wo;K&&(Ie=Wo,ue=qe+oe.width/2-2.5*Xo),ae&&(Ie=we-Wo-ne,ue=oe.left-P.left+oe.width/2-Ie-Xo),i(6,S=Ie),i(7,k=Ce),i(5,w=ue)},x=()=>{try{if(!n||!h)return;B(),i(0,a=!0)}catch(P){G({message:String(P)})}},L=()=>{i(0,a=!1)},te=()=>{v&&(b||(b=window.setTimeout(x,C.controls.hideTimeoutTooltips)),a&&x())},z=()=>{L(),window.clearTimeout(b),b=void 0};ll(()=>window.clearTimeout(b));function X(P){ve[P?"unshift":"push"](()=>{h=P,i(3,h)})}function le(P){ve[P?"unshift":"push"](()=>{v=P,i(4,v)})}return t.$$set=P=>{"content"in P&&i(1,r=P.content),"active"in P&&i(0,a=P.active),"translateX"in P&&i(13,c=P.translateX),"translateY"in P&&i(14,f=P.translateY),"isFullWidthWrapper"in P&&i(2,m=P.isFullWidthWrapper),"$$scope"in P&&i(18,l=P.$$scope)},[a,r,m,h,v,w,S,k,_,ie,M,te,z,c,f,s,X,le,l]}class cu extends ge{constructor(e){super(),he(this,e,b2,g2,pe,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},p2)}}function _2(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 v2(t){let e;const i=t[16].default,n=Mn(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)&&Rn(n,i,o,o[21],e?Bn(i,o[21],s,null):Nn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function w2(t){let e,i;return e=new cu({props:{content:t[9],translateX:t[7],translateY:t[8],isFullWidthWrapper:t[4],$$slots:{default:[k2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&512&&(s.content=n[9]),o&128&&(s.translateX=n[7]),o&256&&(s.translateY=n[8]),o&16&&(s.isFullWidthWrapper=n[4]),o&2097152&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function k2(t){let e;const i=t[16].default,n=Mn(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)&&Rn(n,i,o,o[21],e?Bn(i,o[21],s,null):Nn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function y2(t){let e,i,n,o,s,l,r,a,c;const f=[w2,v2],m=[];function h(v,b){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),vo(()=>t[20].call(e))},m(v,b){E(v,e,b),m[i].m(e,null),t[19](e),l=Vl(e,t[20].bind(e)),r=!0,a||(c=[me(e,"pointerdown",tt(Jt(t[17]))),me(e,"click",tt(Jt(t[18])))],a=!0)},p(v,[b]){let w=i;i=h(v),i===w?m[i].p(v,b):(fe(),g(m[w],1,1,()=>{m[w]=null}),de(),n=m[i],n?n.p(v,b):(n=m[i]=f[i](v),n.c()),d(n,1),n.m(e,null)),(!r||b&4&&o!==(o="btn-container "+v[2]+" v-p9r045"))&&u(e,"class",o),(!r||b&64&&s!==(s=v[6]||null))&&u(e,"aria-hidden",s)},i(v){r||(d(n),r=!0)},o(v){g(n),r=!1},d(v){v&&T(e),m[i].d(),t[19](null),l(),a=!1,$e(c)}}}function C2(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:b=Y("tooltip_button_disabled")}=e,{isAriaHidden:w=!1}=e,{initialTranslateXPx:_=0}=e,{initialTranslateYPx:S=-18}=e;const k=ut(),C=k.ui.isMobile;O(t,C,L=>i(10,o=L));const V=k.state.graphIsOpened$;O(t,V,L=>i(15,n=L));let ie;function M(L){_o.call(this,t,L)}function G(L){_o.call(this,t,L)}function B(L){ve[L?"unshift":"push"](()=>{f=L,i(0,f)})}function x(){m=this.clientWidth,i(1,m)}return t.$$set=L=>{"className"in L&&i(2,r=L.className),"disabled"in L&&i(13,a=L.disabled),"hasTooltip"in L&&i(3,c=L.hasTooltip),"ref"in L&&i(0,f=L.ref),"width"in L&&i(1,m=L.width),"isFullWidthTooltip"in L&&i(4,h=L.isFullWidthTooltip),"tooltipContent"in L&&i(5,v=L.tooltipContent),"disabledTooltipContent"in L&&i(14,b=L.disabledTooltipContent),"isAriaHidden"in L&&i(6,w=L.isAriaHidden),"initialTranslateXPx"in L&&i(7,_=L.initialTranslateXPx),"initialTranslateYPx"in L&&i(8,S=L.initialTranslateYPx),"$$scope"in L&&i(21,l=L.$$scope)},t.$$.update=()=>{t.$$.dirty&57376&&(a?i(9,ie=n?Y("tooltip_disabled_when_graph_on"):b):i(9,ie=v))},[f,m,r,c,h,v,w,_,S,ie,o,C,V,a,b,n,s,M,G,B,x,l]}class Mt extends ge{constructor(e){super(),he(this,e,C2,y2,pe,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},_2)}}function P2(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 S2(t){let e,i,n,o,s;return i=new tu({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}%`),vo(()=>t[3].call(e)),R(e,"disabled",t[1])},m(l,r){E(l,e,r),H(i,e,null),o=Vl(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)&&R(e,"disabled",l[1])},i(l){s||(d(i.$$.fragment,l),s=!0)},o(l){g(i.$$.fragment,l),s=!1},d(l){l&&T(e),F(i),o()}}}function T2(t){let e,i;return e=new Mt({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:[S2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.tooltipContent=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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function E2(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 A2 extends ge{constructor(e){super(),he(this,e,E2,T2,pe,{videoEpisode:0,disabled:1},P2)}}function I2(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 ur(t,e,i){const n=t.slice();return n[2]=e[i],n}function cr(t){let e,i,n,o,s,l,r,a,c;return{c(){e=A("div"),i=A("div"),n=A("div"),s=D(),l=A("div"),a=D(),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}%)`),R(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}%`),R(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&&R(l,"mobile",f[1]),m&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),m&2&&R(e,"mobile",f[1])},d(f){f&&T(e)}}}function L2(t){let e,i=Ut(t[0]),n=[];for(let o=0;o<i.length;o+=1)n[o]=cr(ur(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=Ut(o[0]);let l;for(l=0;l<i.length;l+=1){const r=ur(o,i,l);n[l]?n[l].p(r,s):(n[l]=cr(r),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},i:W,o:W,d(o){o&&T(e),wn(n,o)}}}function V2(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 M2 extends ge{constructor(e){super(),he(this,e,V2,L2,pe,{videoEpisodes:0,isMobile:1},I2)}}function B2(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 fr(t,e,i){const n=t.slice();return n[48]=e[i],n}function dr(t){let e,i,n=Ut(t[21]),o=[];for(let l=0;l<n.length;l+=1)o[l]=pr(fr(t,n,l));const s=l=>g(o[l],1,1,()=>{o[l]=null});return{c(){e=A("div");for(let l=0;l<o.length;l+=1)o[l].c();u(e,"class","interactive-icons v-1golz1y"),R(e,"mobile",t[5]),R(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=Ut(l[21]);let a;for(a=0;a<n.length;a+=1){const c=fr(l,n,a);o[a]?(o[a].p(c,r),d(o[a],1)):(o[a]=pr(c),o[a].c(),d(o[a],1),o[a].m(e,null))}for(fe(),a=n.length;a<o.length;a+=1)s(a);de()}(!i||r[0]&32)&&R(e,"mobile",l[5]),(!i||r[0]&1048608)&&R(e,"hidden",l[5]&&!l[20])},i(l){if(!i){for(let r=0;r<n.length;r+=1)d(o[r]);i=!0}},o(l){o=o.filter(Boolean);for(let r=0;r<o.length;r+=1)g(o[r]);i=!1},d(l){l&&T(e),wn(o,l)}}}function mr(t){let e,i;return e=new A2({props:{videoEpisode:t[48],disabled:t[9]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisode=n[48]),o[0]&512&&(s.disabled=n[9]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function pr(t){let e,i,n=t[48].interactive&&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[48].interactive?n?(n.p(o,s),s[0]&2097152&&d(n,1)):(n=mr(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&T(e),n&&n.d(o)}}}function R2(t){let e,i,n,o,s,l;return{c(){e=A("div"),i=A("div"),o=D(),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}%);`),R(s,"active-live",t[4]),R(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&&R(s,"active-live",r[4]),a[0]&64&&R(s,"ads",r[6])},i:W,o:W,d(r){r&&T(e)}}}function N2(t){let e,i;return e=new M2({props:{videoEpisodes:t[21],isMobile:t[5]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisodes=n[21]),o[0]&32&&(s.isMobile=n[5]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function z2(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b=t[8]&&dr(t);const w=[N2,R2],_=[];function S(k,C){return k[21].length?0:1}return n=S(t),o=_[n]=w[n](t),{c(){b&&b.c(),e=D(),i=A("div"),o.c(),s=D(),l=A("div"),r=A("div"),u(r,"class","handle v-1golz1y"),R(r,"active-live",t[4]),u(l,"class","handleWrap v-1golz1y"),u(l,"style",a=`transform: translateX(${t[13]*100}%);`),R(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),R(i,"disabled",t[9]),R(i,"slider-dragging",t[20]),R(i,"hidden",t[2]),R(i,"slider-vertical",t[3]),R(i,"no-handle",t[10]),R(i,"square",t[7])},m(k,C){b&&b.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=[me(i,"pointerdown",Jt(t[22])),me(i,"pointermove",Jt(t[23])),me(i,"pointerup",Jt(t[24])),me(i,"pointerenter",Jt(t[25])),me(i,"pointerleave",Jt(t[26])),me(i,"click",tt(Ke)),me(i,"wheel",t[27])],h=!0)},p(k,C){k[8]?b?(b.p(k,C),C[0]&256&&d(b,1)):(b=dr(k),b.c(),d(b,1),b.m(e.parentNode,e)):b&&(fe(),g(b,1,1,()=>{b=null}),de());let V=n;n=S(k),n===V?_[n].p(k,C):(fe(),g(_[V],1,1,()=>{_[V]=null}),de(),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)&&R(r,"active-live",k[4]),(!m||C[0]&8192&&a!==(a=`transform: translateX(${k[13]*100}%);`))&&u(l,"style",a),(!m||C[0]&1024)&&R(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)&&R(i,"disabled",k[9]),(!m||C[0]&1048577)&&R(i,"slider-dragging",k[20]),(!m||C[0]&5)&&R(i,"hidden",k[2]),(!m||C[0]&9)&&R(i,"slider-vertical",k[3]),(!m||C[0]&1025)&&R(i,"no-handle",k[10]),(!m||C[0]&129)&&R(i,"square",k[7])},i(k){m||(d(b),d(o),m=!0)},o(k){g(b),g(o),m=!1},d(k){k&&(T(e),T(i)),b&&b.d(k),_[n].d(),t[42](null),h=!1,$e(v)}}}function D2(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:b=!1}=e,{isInteractive:w=!1}=e,{disabled:_=!1}=e,{hideHandel:S=!1}=e,k,C,{onPointerDown:V=Ke}=e,{onHandleMove:ie=Ke}=e,{onPointerUp:M=Ke}=e,{onPointerEnter:G=Ke}=e,{onPointerMove:B=Ke}=e,{onPointerLeave:x=Ke}=e,{onWheelUp:L=Ke}=e,{onWheelDown:te=Ke}=e,{onWheelLeft:z=Ke}=e,{onWheelRight:X=Ke}=e,{loadedProgress:le=0}=e,{filledProgress:P=0}=e,{handleProgress:oe=0}=e,{ariaLabel:j=""}=e,{ariaValueMin:ne=void 0}=e,{ariaValueMax:we=void 0}=e,{ariaValueNow:Ue=void 0}=e,{ariaValueText:qe=""}=e;const Ie=ln();let Ce=!1,ue;function K(Q){if(Ce)return;i(20,Ce=!0),C=k.getBoundingClientRect();const De=Me(Q.clientX,Q.clientY);V(De),k.setPointerCapture(Q.pointerId)}function ae(Q){const De=Me(Q.clientX,Q.clientY),et=re(Q.clientX);B(De,et,C.width),Ce&&ie(De)}function be(Q){if(!Ce)return;i(20,Ce=!1);const De=Me(Q.clientX,Q.clientY);M(De)}function $(Q){C=k.getBoundingClientRect();const De=Me(Q.clientX,Q.clientY),et=re(Q.clientX);G(De,et,C.width)}function Pe(){x()}function Te(Q){b&&(Q.preventDefault(),Q.deltaY<0?L():Q.deltaY>0?te():Q.deltaX>0?X():z())}function Me(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 re(Q){return Math.min(Math.max(Q-C.x,0),C.width)}function _e(Q,De){const et=Ie.features.episodesClustering&&!w?Ie.episodeMinWidthPc:0,Xe=[];let ye=0,Ge=0,Je=0;for(let Fe=1;Fe<v.length;Fe++)Ge=v[Fe].time/ue*100,Ge-ye>et&&(Xe.push({from:ye,width:Math.max(0,Ge-ye),loadedWidth:Math.max(0,Math.min(Ge,Q)-ye),filledWidth:Math.max(0,Math.min(Ge,De)-ye),interactive:v[Fe-1].interactive,completed:v[Fe-1].completed}),ye=v[Fe].time/ue*100,Je++);const ct={from:ye,width:Math.max(0,100-ye),loadedWidth:Math.max(0,Math.min(Q,100)-ye),filledWidth:Math.max(0,Math.min(De,100)-ye),interactive:v[Je].interactive,completed:v[Je].completed};100-ye<et?(Je-=1,Xe[Je].width+=100-ye,Xe[Je].loadedWidth+=Math.max(0,Math.min(Q,100)-ye),Xe[Je].filledWidth+=Math.max(0,Math.min(De,100)-ye)):Xe[Je]=ct;const bt=v[0].time;if(bt!==0){const Fe=bt/ue*100;Xe.unshift({from:0,width:Fe,loadedWidth:Math.min(Fe,Q),filledWidth:Math.min(Fe,De)})}return Xe}function J(Q){ve[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,b=Q.withWheelHandler),"isInteractive"in Q&&i(8,w=Q.isInteractive),"disabled"in Q&&i(9,_=Q.disabled),"hideHandel"in Q&&i(10,S=Q.hideHandel),"onPointerDown"in Q&&i(30,V=Q.onPointerDown),"onHandleMove"in Q&&i(31,ie=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,L=Q.onWheelUp),"onWheelDown"in Q&&i(37,te=Q.onWheelDown),"onWheelLeft"in Q&&i(38,z=Q.onWheelLeft),"onWheelRight"in Q&&i(39,X=Q.onWheelRight),"loadedProgress"in Q&&i(11,le=Q.loadedProgress),"filledProgress"in Q&&i(12,P=Q.filledProgress),"handleProgress"in Q&&i(13,oe=Q.handleProgress),"ariaLabel"in Q&&i(14,j=Q.ariaLabel),"ariaValueMin"in Q&&i(15,ne=Q.ariaValueMin),"ariaValueMax"in Q&&i(16,we=Q.ariaValueMax),"ariaValueNow"in Q&&i(17,Ue=Q.ariaValueNow),"ariaValueText"in Q&&i(18,qe=Q.ariaValueText)},t.$$.update=()=>{t.$$.dirty[0]&65536&&i(40,ue=we??0),t.$$.dirty[0]&268435456|t.$$.dirty[1]&512&&i(41,n=v[v.length-1]?.time<ue),t.$$.dirty[0]&268441600|t.$$.dirty[1]&1536&&i(21,o=v.length&&n&&ue?_e(le*100,P*100):[])},[s,l,r,a,c,f,m,h,w,_,S,le,P,oe,j,ne,we,Ue,qe,k,Ce,o,K,ae,be,$,Pe,Te,v,b,V,ie,M,G,B,x,L,te,z,X,ue,n,J]}class ql extends ge{constructor(e){super(),he(this,e,D2,z2,pe,{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},B2,[-1,-1])}}const gn=(t,e)=>ko[t]>=ko[e],O2=(t,e)=>ko[t]<ko[e],fu=(t,e)=>ko[t]<=ko[e],H2=t=>t>ho.L?_t.XL:t>ho.M?_t.L:t>ho.S?_t.M:t>ho.XS?_t.S:_t.XS;function F2(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 U2(t){let e,i;return e=new rl({props:{volume:t[4],muted:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&16&&(s.volume=n[4]),o[0]&4&&(s.muted=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function q2(t){let e,i;return e=new hi({props:{className:"btn-full-opacity",disabled:!t[0],testId:t[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:t[7],click:t[1],ariaKeyShortCut:zo[Se.KeyM],$$slots:{default:[U2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&1&&(s.disabled=!n[0]),o[0]&8&&(s.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(s.ariaLabel=n[7]),o[0]&2&&(s.click=n[1]),o[0]&20|o[1]&1&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function hr(t){let e,i,n;return i=new ql({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]:Ke,onPointerLeave:t[3]?t[18]:Ke,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"),R(e,"volumeBar-vertical",t[3])},m(o,s){E(o,e,s),H(i,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.className=o[3]?"volumeBar-slider-vertical":""),s[0]&40&&(l.isHidden=o[3]&&!o[5]),s[0]&8&&(l.isVertical=o[3]),s[0]&8&&(l.onPointerEnter=o[3]?o[17]:Ke),s[0]&8&&(l.onPointerLeave=o[3]?o[18]:Ke),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)&&R(e,"volumeBar-vertical",o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function Z2(t){let e,i,n,o,s,l;i=new cu({props:{content:t[6],translateY:-18,$$slots:{default:[q2]},$$scope:{ctx:t}}});let r=t[0]&&hr(t);return{c(){e=A("div"),U(i.$$.fragment),n=D(),r&&r.c(),u(e,"class","volumeBar-container v-1l78lz9"),R(e,"vertical",t[3])},m(a,c){E(a,e,c),H(i,e,null),p(e,n),r&&r.m(e,null),o=!0,s||(l=[me(e,"mouseenter",function(){_n(t[3]?t[19]:Ke)&&(t[3]?t[19]:Ke).apply(this,arguments)}),me(e,"mouseleave",function(){_n(t[3]?t[20]:Ke)&&(t[3]?t[20]:Ke).apply(this,arguments)}),me(e,"wheel",Jt(t[21]))],s=!0)},p(a,c){t=a;const f={};c[0]&64&&(f.content=t[6]),c[0]&159|c[1]&1&&(f.$$scope={dirty:c,ctx:t}),i.$set(f),t[0]?r?(r.p(t,c),c[0]&1&&d(r,1)):(r=hr(t),r.c(),d(r,1),r.m(e,null)):r&&(fe(),g(r,1,1,()=>{r=null}),de()),(!o||c[0]&8)&&R(e,"vertical",t[3])},i(a){o||(d(i.$$.fragment,a),d(r),o=!0)},o(a){g(i.$$.fragment,a),g(r),o=!1},d(a){a&&T(e),F(i),r&&r.d(),s=!1,$e(l)}}}function W2(t,e,i){let n,o,s,{isAudioAvailable:l=!0}=e,{click:r}=e;const a=ut(),c=ln(),f=a.state.volume$;O(t,f,ne=>i(4,n=ne));const m=a.state.muted$;O(t,m,ne=>i(23,s=ne));const h=a.actions.internal.setVolume,v=a.ui.currentGridType$;O(t,v,ne=>i(22,o=ne));let b=!1,w,_,S,k,C,V,ie=1,M=!1;function G(ne){ie=n,h(ne)}function B(){$1(a,n,c.controls.volumeStepWheel)}function x(){eu(a,n,c.controls.volumeStepWheel)}function L(ne){h(ne)}function te(ne){const we=ne;h(we,we===0?ie:we)}function z(){M=!0}function X(){M=!1,oe()}function le(){clearTimeout(w),i(5,b=!0)}function P(){oe()}function oe(){w=window.setTimeout(()=>{M||i(5,b=!1)},c.controls.volumeBarTimeout)}function j(ne){ne.deltaY<0?B():ne.deltaY>0&&x()}return t.$$set=ne=>{"isAudioAvailable"in ne&&i(0,l=ne.isAudioAvailable),"click"in ne&&i(1,r=ne.click)},t.$$.update=()=>{t.$$.dirty[0]&8388609&&i(2,k=!l||s),t.$$.dirty[0]&4194304&&i(3,C=fu(o,_t.S)),t.$$.dirty[0]&12&&(C?i(6,_=""):i(6,_=Y(k?"tooltip_volume":"tooltip_volume_muted")),i(7,S=Y(k?"tooltip_volume":"tooltip_volume_muted"))),t.$$.dirty[0]&20&&i(8,V=k?0:n)},[l,r,k,C,n,b,_,S,V,f,m,v,G,B,x,L,te,z,X,le,P,j,o,s]}class j2 extends ge{constructor(e){super(),he(this,e,W2,Z2,pe,{isAudioAvailable:0,click:1},F2,[-1,-1])}}function K2(t){let e;return{c(){e=N("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(i,n){E(i,e,n)},d(i){i&&T(e)}}}function G2(t){let e;return{c(){e=N("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(i,n){E(i,e,n)},d(i){i&&T(e)}}}function Y2(t){let e,i,n;function o(r,a){return r[0]?G2:K2}let s=o(t),l=s(t);return{c(){e=N("svg"),i=N("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:W,o:W,d(r){r&&T(e),l.d()}}}function Q2(t,e,i){let{isFullscreen:n=!1}=e;return t.$$set=o=>{"isFullscreen"in o&&i(0,n=o.isFullscreen)},[n]}class X2 extends ge{constructor(e){super(),he(this,e,Q2,Y2,pe,{isFullscreen:0})}}function J2(t){let e,i;return e=new X2({props:{isFullscreen:t[0]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&1&&(s.isFullscreen=n[0]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function x2(t){let e,i;return e=new hi({props:{testId:"btn-fullscreen",ariaLabel:t[2],click:t[1],ariaKeyShortCut:zo[Se.KeyF],$$slots:{default:[J2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function $2(t,e,i){let{isFullscreen:n=!1}=e,{click:o=Ke}=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 du extends ge{constructor(e){super(),he(this,e,$2,x2,pe,{isFullscreen:0,click:1})}}function em(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class Zl extends ge{constructor(e){super(),he(this,e,null,em,pe,{})}}function tm(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class mu extends ge{constructor(e){super(),he(this,e,null,tm,pe,{})}}function im(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 gr(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 nm(t){let e,i,n,o,s=t[1]&&gr();var l=t[8];function r(a){return{}}return l&&(n=Sn(l,r())),{c(){s&&s.c(),e=D(),i=A("div"),n&&U(n.$$.fragment),u(i,"class","v-1ot3duq"),R(i,"mobile",t[1])},m(a,c){s&&s.m(a,c),E(a,e,c),E(a,i,c),n&&H(n,i,null),o=!0},p(a,c){if(a[1]?s||(s=gr(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),c&256&&l!==(l=a[8])){if(n){fe();const f=n;g(f.$$.fragment,1,0,()=>{F(f,1)}),de()}l?(n=Sn(l,r()),U(n.$$.fragment),d(n.$$.fragment,1),H(n,i,null)):n=null}(!o||c&2)&&R(i,"mobile",a[1])},i(a){o||(n&&d(n.$$.fragment,a),o=!0)},o(a){n&&g(n.$$.fragment,a),o=!1},d(a){a&&(T(e),T(i)),s&&s.d(a),n&&F(n)}}}function om(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:zo[Se.KeyK],$$slots:{default:[nm]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&112&&(a.click=l[5]?l[6]:l[4]),r&4&&(a.disabled=l[2]),r&128&&(a.ariaLabel=l[7]),r&33026&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function lm(t,e,i){let n,o;const{fakeIsPlaying$:s}=sl();O(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=Ke}=e;const{toggle:h}=s;let v,b,w,_;function S(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,b=o!==null),t.$$.dirty&5152&&i(11,w=b?o:a),t.$$.dirty&2048&&i(7,_=Y(w?"tooltip_pause":"tooltip_play")),t.$$.dirty&2048&&i(8,n=w?mu:Zl)},i(6,v=h),[l,r,c,f,m,b,v,_,n,s,a,w,o,S]}class Wl extends ge{constructor(e){super(),he(this,e,lm,om,pe,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},im)}}function sm(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 rm(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),u(i,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(i,"fill","#fff"),u(e,"data-testid",n=t[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),R(e,"prev",t[0]),R(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&&R(e,"prev",o[0]),s&2&&R(e,"mobile",o[1])},i:W,o:W,d(o){o&&T(e)}}}function am(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 um extends ge{constructor(e){super(),he(this,e,am,rm,pe,{isPrev:0,isMobile:1},sm)}}function cm(t){let e,i;return e=new um({props:{isMobile:t[1],isPrev:t[3]==="prev"}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&8&&(s.isPrev=n[3]==="prev"),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function fm(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:[cm]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.testId="btn-"+l[3]),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&138&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function dm(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 al extends ge{constructor(e){super(),he(this,e,dm,fm,pe,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function mm(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class pm extends ge{constructor(e){super(),he(this,e,null,mm,pe,{})}}function hm(t){ze(t,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function br(t){let e,i,n,o,s,l,r;return{c(){e=N("path"),i=N("path"),n=N("path"),o=N("path"),s=N("path"),l=N("path"),r=N("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(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 gm(t){let e,i,n,o=!t[0]&&br();return{c(){e=N("svg"),i=N("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"),R(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=br(),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&&R(e,"mobile",s[1])},i:W,o:W,d(s){s&&T(e),o&&o.d()}}}function bm(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 _m extends ge{constructor(e){super(),he(this,e,bm,gm,pe,{short:0,isMobile:1},hm)}}function vm(t){let e,i;return e=new pm({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p:W,i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function wm(t){let e,i;return e=new _m({props:{short:t[4],isMobile:!!t[7]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.short=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function km(t){let e,i,n,o;const s=[wm,vm],l=[];function r(a,c){return a[2]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function ym(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:[km]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.disabled=!l[1]),r&4&&(a.testId=l[2]?"btn-vk-video-logo":"btn-vk-logo"),r&8&&(a.ariaLabel=l[3]),r&524308&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Cm(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=ln(),{logoLink:m,addTimeToLogoLink:h}=f,v=ut(),b=v.state.positionWithScrubbing$;O(t,b,M=>i(14,n=M));const w=v.ui.currentGridType$;O(t,w,M=>i(11,o=M));const _=v.ui.isMobile;O(t,_,M=>i(12,s=M));let S,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",kc(G)),M=B.toString()}else M=a}c(),window.open(M,"_blank")};function ie(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||fu(o,_t.L))&&k)},i(3,S=f.logoType===wo.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),i(2,k=f.logoType===wo.VK_VIDEO),[l,r,k,S,C,b,w,_,V,a,c,o,s,ie]}class pu extends ge{constructor(e){super(),he(this,e,Cm,ym,pe,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function Pm(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 Sm(t){let e,i,n,o,s,l,r,a;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("path"),l=N("path"),r=N("path"),a=N("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(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"),R(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"),R(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&&R(a,"hidden",!c[1]),f&4&&R(e,"connecting",c[2])},d(c){c&&T(e)}}}function Tm(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie;return{c(){e=N("svg"),i=N("g"),n=N("mask"),o=N("path"),l=N("path"),r=N("path"),c=N("path"),f=N("defs"),m=N("clipPath"),h=N("path"),b=N("filter"),w=N("feFlood"),_=N("feColorMatrix"),S=N("feOffset"),k=N("feGaussianBlur"),C=N("feColorMatrix"),V=N("feBlend"),ie=N("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(ie,"in","SourceGraphic"),u(ie,"in2","effect1_dropShadow_4085_178456"),u(ie,"result","shape"),u(b,"id","b"),u(b,"x","-3.4"),u(b,"y","-1.4"),u(b,"width","30.8"),u(b,"height","26.802"),u(b,"filterUnits","userSpaceOnUse"),u(b,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(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,b),p(b,w),p(b,_),p(b,S),p(b,k),p(b,C),p(b,V),p(b,ie)},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 Em(t){let e;function i(s,l){return s[0]?Tm:Sm}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(s){s&&T(e),o.d(s)}}}function Am(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===Pn.CONNECTING),i(1,s=o===Pn.CONNECTED))},[n,s,l,o]}class Im extends ge{constructor(e){super(),he(this,e,Am,Em,pe,{isMobile:0,state:3},Pm)}}function Lm(t){let e,i;return e=new Im({props:{isMobile:t[1],state:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&4&&(s.state=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Vm(t){let e,i,n;function o(l){t[5](l)}let s={ariaLabel:t[4],click:t[3],testId:"btn-chromecast",$$slots:{default:[Lm]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&16&&(a.ariaLabel=l[4]),r&8&&(a.click=l[3]),r&70&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Mm(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{state:s}=e,{click:l=Ke}=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===Pn.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off"))},[n,o,s,l,r,a]}class hu extends ge{constructor(e){super(),he(this,e,Mm,Vm,pe,{ref:0,isMobile:1,state:2,click:3})}}function Bm(t){let e,i;return e=new W1({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Rm(t){let e,i;return e=new hi({props:{className:t[0]?"":"btn--live btn-full-opacity",testId:t[1]?"btn-live":"btn-live-offset",disabled:t[1]&&t[3]===Ft.PLAYING,ariaLabel:t[2],click:t[4],$$slots:{default:[Bm]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(s.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(s.disabled=n[1]&&n[3]===Ft.PLAYING),o&4&&(s.ariaLabel=n[2]),o&16&&(s.click=n[4]),o&514&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Nm(t,e,i){let n,{isMobile:o=!1}=e,{isActiveLive:s=!1}=e,{ariaLabel:l=""}=e;const r=ut(),a=r.state.playbackState$;O(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===Ft.PAUSED&&f()})},[o,s,l,n,m,a]}class gu extends ge{constructor(e){super(),he(this,e,Nm,Rm,pe,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function zm(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 Dm(t){let e,i,n,o;const s=t[9].default,l=Mn(s,t,t[8],null);return{c(){e=A("div"),i=A("div"),l&&l.c(),u(i,"class","tooltip v-5ygsa2"),R(i,"active",t[0]),R(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)&&Rn(l,s,r,r[8],o?Bn(s,r[8],a,null):Nn(r[8]),null),(!o||a&1)&&R(i,"active",r[0]),(!o||a&2)&&R(i,"pointer",r[1]),(!o||a&36&&n!==(n=`transform: translate(${r[5]}px, ${r[2]}px);`))&&u(e,"style",n)},i(r){o||(d(l,r),o=!0)},o(r){g(l,r),o=!1},d(r){r&&T(e),l&&l.d(r),t[10](null),t[11](null)}}}function Om(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:S}=h.getBoundingClientRect(),k=S/2;return _<k?k:_>f-k?f-k:_}function b(_){ve[_?"unshift":"push"](()=>{h=_,i(4,h)})}function w(_){ve[_?"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,b,w]}class Hm extends ge{constructor(e){super(),he(this,e,Om,Dm,pe,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},zm)}}const bu=(t,e,i)=>i.filter(n=>n.time<t*e).pop();function Fm(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 _r(t){let e;function i(s,l){return s[2]&&s[10].completed===!1?qm:Um}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 Um(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||"")+"")&&Qe(i,e)},d(n){n&&T(i)}}}function qm(t){let e=Y("tooltip_episode_unfinished")+"",i;return{c(){i=Re(e)},m(n,o){E(n,i,o)},p:W,d(n){n&&T(i)}}}function Zm(t){let e,i,n,o,s,l,r,a,c=t[10]&&_r(t);return{c(){e=A("div"),i=A("div"),o=D(),s=A("div"),c&&c.c(),l=D(),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"),R(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=_r(f),c.c(),c.m(s,null)):c&&(c.d(1),c=null),m&1&&Qe(a,f[0]),m&2&&R(e,"mobile",f[1])},i:W,o:W,d(f){f&&T(e),c&&c.d()}}}const fo=150;function Wm(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=ut().ui.rotateAlpha;O(t,h,G=>i(11,n=G));let v,b,w,_,S,k,C,V;function ie(){let G=r.frameWidth,B=r.frameHeight;return G>fo?(B=B/G*fo,G=fo):B>fo&&(G=G/B*fo,B=fo),{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),L=Math.floor(B%r.countPerImage/r.countPerRow),te=B%r.countPerRow;let z=Math.floor(r.countPerImage/r.countPerRow);!r.isUV&&x===Math.floor(r.countTotal/r.countPerImage)&&(z=Math.floor(r.countTotal%r.countPerImage/r.countPerRow),r.countTotal%r.countPerImage%r.countPerRow>0&&z++);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 le=v*X,P=b*z,oe=-te*v,j=-L*b;return{imgSrc:r.links[x],imgWidth:le,imgHeight:P,imgOffsetX:oe,imgOffsetY:j}}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:S,imgOffsetX:k,imgOffsetY:C}=M(a),w,(i(6,_),i(15,a)),(i(7,S),i(15,a)),(i(8,k),i(15,a)),(i(9,C),i(15,a))),t.$$.dirty&106496&&i(10,V=bu(a,c,l))},i(3,{width:v,height:b}=ie(),v,i(4,b)),[o,s,f,v,b,w,_,S,k,C,V,n,h,l,r,a,c]}class jm extends ge{constructor(e){super(),he(this,e,Wm,Zm,pe,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},Fm)}}function Km(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 Gm(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&&Qe(i,n[7])},i:W,o:W,d(n){n&&T(e)}}}function Ym(t){let e,i;return e=new jm({props:{time:t[7],isMobile:t[10],videoEpisodes:t[3],previewThumbsData:t[21],progress:t[8],duration:t[1],isInteractive:t[23]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&128&&(s.time=n[7]),o[0]&1024&&(s.isMobile=n[10]),o[0]&8&&(s.videoEpisodes=n[3]),o[0]&256&&(s.progress=n[8]),o[0]&2&&(s.duration=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Qm(t){let e,i,n,o;const s=[Ym,Gm],l=[];function r(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function Xm(t){let e,i,n,o;const s=[t[9]];let l={$$slots:{default:[Qm]},$$scope:{ctx:t}};for(let r=0;r<s.length;r+=1)l=f1(l,s[r]);return e=new Hm({props:l}),n=new ql({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(nt.TIMELINE),hideHandel:t[2]}}),{c(){U(e.$$.fragment),i=D(),U(n.$$.fragment)},m(r,a){H(e,r,a),E(r,i,a),H(n,r,a),o=!0},p(r,a){const c=a[0]&512?Wc(s,[jc(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(nt.TIMELINE)),a[0]&4&&(f.hideHandel=r[2]),n.$set(f)},i(r){o||(d(e.$$.fragment,r),d(n.$$.fragment,r),o=!0)},o(r){g(e.$$.fragment,r),g(n.$$.fragment,r),o=!1},d(r){r&&T(i),F(e,r),F(n,r)}}}function Jm(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,{showTimeline:b=!1}=e;const w=ut(),_=ln(),S=w.state.bufferedProgress$;O(t,S,J=>i(12,h=J));const k=w.state.positionWithScrubbing$;O(t,k,J=>i(39,a=J));const C=w.state.duration$;O(t,C,J=>i(1,s=J));const V=w.state.isLive$;O(t,V,J=>i(0,o=J));const ie=w.state.isActiveLive$;O(t,ie,J=>i(11,m=J));const M=w.ui.isMobile;O(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$;O(t,x,J=>i(40,c=J));const L=w.state.isInteractive,te=w.state.isInteractiveTime$;O(t,te,J=>i(2,l=J));const z=w.state.isInteractiveExpectation$;O(t,z,J=>i(38,r=J));const X=w.actions.internal.correctSeekTimeToInteractive,le=w.ui.controls.disabledControls$;O(t,le,J=>i(13,v=J));let P,oe,j,ne,we=!1,Ue="",qe=0,Ie=0,Ce=0,ue;function K(J){return!X||!L?J:X(J*s)/s}function ae(J){w.actions.internal.startScrubbing(K(J))}function be(J){l||w.actions.internal.progressScrubbing(K(J))}function $(J){w.actions.internal.completeScrubbing(K(J)),i(34,we=!1)}function Pe(J,Q,De){re(J,Q,De),i(34,we=!0)}function Te(J,Q,De){re(J,Q,De),i(34,we=!0)}function Me(){i(34,we=!1)}function re(J,Q,De){i(8,Ce=J),i(35,qe=Q),De&&i(36,Ie=De),i(7,Ue=_e(J))}function _e(J){const Q=Vn((o?1-J:J)*s);return o?`-${Q}`:Q}return t.$$set=J=>{"showTimeline"in J&&i(33,b=J.showTimeline)},t.$$.update=()=>{t.$$.dirty[1]&512&&i(3,P=L?c:G),t.$$.dirty[0]&2&&i(4,oe=Vn(s)),t.$$.dirty[1]&256&&i(5,j=Vn(a)),t.$$.dirty[0]&2|t.$$.dirty[1]&256&&i(6,ne=a/s),t.$$.dirty[0]&4|t.$$.dirty[1]&128&&i(37,ue=r||l),t.$$.dirty[0]&1|t.$$.dirty[1]&124&&i(9,n={containerWidth:Ie,translateXPx:qe,translateYPx:L&&B?-36:-16,active:we&&b&&!ue,pointer:!_.features.timelinePreview||!B||o})},[o,s,l,P,oe,j,ne,Ue,Ce,n,f,m,h,v,_,S,k,C,V,ie,M,B,x,L,te,z,le,ae,be,$,Pe,Te,Me,b,we,qe,Ie,ue,r,a,c]}let xm=class extends ge{constructor(e){super(),he(this,e,Jm,Xm,pe,{showTimeline:33},Km,[-1,-1])}};function $m(t){let e,i;return e=new ql({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){H(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.ariaValueMax=n[0]),o&8&&(s.ariaValueNow=Math.round(n[3]*100)),o&6&&(s.ariaValueText=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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function e4(t,e,i){let n,{position:o=0}=e,{duration:s=0}=e;const r=ut().ui.isMobile;O(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=Vn(s)),t.$$.dirty&64&&i(2,c=Vn(o)),t.$$.dirty&65&&i(3,f=o/s)},[s,a,c,f,n,r,o]}class _u extends ge{constructor(e){super(),he(this,e,e4,$m,pe,{position:6,duration:0})}}function t4(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 i4(t){let e;return{c(){e=A("div"),u(e,"class","timeline-stub v-1gqonyf"),R(e,"mobile",t[2])},m(i,n){E(i,e,n)},p(i,n){n&4&&R(e,"mobile",i[2])},i:W,o:W,d(i){i&&T(e)}}}function n4(t){let e,i,n,o;const s=[l4,o4],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"),R(e,"mobile",t[2])},m(a,c){E(a,e,c),l[i].m(e,null),o=!0},p(a,c){let f=i;i=r(a),i===f?l[i].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),n=l[i],n?n.p(a,c):(n=l[i]=s[i](a),n.c()),d(n,1),n.m(e,null)),(!o||c&4)&&R(e,"mobile",a[2])},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&T(e),l[i].d()}}}function o4(t){let e,i;return e=new xm({props:{showTimeline:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.showTimeline=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function l4(t){let e,i;return e=new _u({props:{position:t[3],duration:t[4]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&8&&(s.position=n[3]),o&16&&(s.duration=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function s4(t){let e,i,n,o;const s=[n4,i4],l=[];function r(a,c){return a[1]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function r4(t,e,i){let n,o,s,l,{isAds:r=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const m=ut(),h=m.state.isLive$;O(t,h,S=>i(12,n=S));const v=m.ads.duration;O(t,v,S=>i(4,l=S));const b=m.ads.position;O(t,b,S=>i(3,s=S));const w=m.ui.isMobile;O(t,w,S=>i(2,o=S));let _;return t.$$set=S=>{"isAds"in S&&i(0,r=S.isAds),"canRewindLive"in S&&i(9,a=S.canRewindLive),"isRewindableLive"in S&&i(10,c=S.isRewindableLive),"isHidden"in S&&i(11,f=S.isHidden)},t.$$.update=()=>{t.$$.dirty&7681&&i(1,_=!f&&(!n||n&&a&&c||r))},[r,_,o,s,l,h,v,b,w,a,c,f,n]}class vu extends ge{constructor(e){super(),he(this,e,r4,s4,pe,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},t4)}}function a4(t){let e,i,n,o;return{c(){e=N("svg"),i=N("path"),n=N("path"),o=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(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:W,i:W,o:W,d(s){s&&T(e)}}}class u4 extends ge{constructor(e){super(),he(this,e,null,a4,pe,{})}}function c4(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"opacity",".7"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(i,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class f4 extends ge{constructor(e){super(),he(this,e,null,c4,pe,{})}}function d4(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 m4(t){let e,i,n,o;e=new u4({});function s(a,c){if(a[4]===Jn.FULL)return g4;if(a[4]===Jn.COUNT)return h4}let l=s(t),r=l&&l(t);return{c(){U(e.$$.fragment),i=D(),r&&r.c(),n=lt()},m(a,c){H(e,a,c),E(a,i,c),r&&r.m(a,c),E(a,n,c),o=!0},p(a,c){l===(l=s(a))&&r?r.p(a,c):(r&&r.d(1),r=l&&l(a),r&&(r.c(),r.m(n.parentNode,n)))},i(a){o||(d(e.$$.fragment,a),o=!0)},o(a){g(e.$$.fragment,a),o=!1},d(a){a&&(T(i),T(n)),F(e,a),r&&r.d(a)}}}function p4(t){let e,i,n,o,s,l;return s=new f4({}),{c(){e=A("span"),i=Re(t[2]),n=D(),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),H(s,o,null),l=!0},p(r,a){(!l||a&4)&&Qe(i,r[2])},i(r){l||(d(s.$$.fragment,r),l=!0)},o(r){g(s.$$.fragment,r),l=!1},d(r){r&&(T(e),T(n),T(o)),F(s)}}}function h4(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+"")&&Qe(n,i)},d(o){o&&T(e)}}}function g4(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&&Qe(i,n[2])},d(n){n&&T(e)}}}function b4(t){let e,i,n,o;const s=[p4,m4],l=[];function r(a,c){return a[6]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function _4(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:[b4]},$$scope:{ctx:t}};return t[1]!==void 0&&(s.ref=t[1]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&64&&(a.className="w-max btn-full-opacity "+(l[6]?"px-0":"")),r&8&&(a.ariaExpanded=l[3]),r&32&&(a.ariaLabel=l[5]),r&8388693&&(a.$$scope={dirty:r,ctx:l}),!i&&r&2&&(i=!0,a.ref=l[1],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function v4(t,e,i){let n,o,s,l,r,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:m=[]}=e;const h=ut(),v=h.callbacks?.onEpisodeChanged??Ke,b=!!h.callbacks?.onEpisodeClicked,w=h.ui.currentGridType$;O(t,w,L=>i(18,r=L));const _=h.ui.episodes.openedByKeyboard$;O(t,_,L=>i(17,l=L));const S=h.ui.episodes.panelOpened$;O(t,S,L=>i(3,s=L));const k=h.ui.isMobile;O(t,k,L=>i(6,a=L));let C;const V=L=>{if(!!h.callbacks?.onEpisodeClicked){const z=Dl(L);_.set(z),S.set(!0),h.callbacks?.onEpisodeClicked?.(z)}};let ie,M,G;const B=async(L,te,z)=>{await No(),L?.getAttribute("aria-expanded")==="false"&&te&&!z&&(_.set(!1),L.focus())};function x(L){C=L,i(1,C)}return t.$$set=L=>{"position"in L&&i(13,c=L.position),"duration"in L&&i(14,f=L.duration),"timeCodes"in L&&i(0,m=L.timeCodes)},t.$$.update=()=>{if(t.$$.dirty&24576&&i(16,n=c/f),t.$$.dirty&114689){const L=bu(n,f,m);L&&ie?.text!==L.text&&(v(L),i(15,ie=L))}t.$$.dirty&32768&&i(2,o=ie?.text||""),t.$$.dirty&262144&&(gn(r,_t.XL)?i(4,M=Jn.FULL):gn(r,_t.M)&&O2(r,_t.XL)?i(4,M=Jn.COUNT):i(4,M=Jn.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,b,w,_,S,k,V,c,f,ie,n,l,r,x]}class wu extends ge{constructor(e){super(),he(this,e,v4,_4,pe,{position:13,duration:14,timeCodes:0},d4)}}function w4(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(i,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p:W,i:W,o:W,d(o){o&&T(e)}}}class k4 extends ge{constructor(e){super(),he(this,e,null,w4,pe,{})}}function y4(t){let e,i;return e=new k4({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function C4(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:[y4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&8&&(a.click=l[3]),r&32&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function P4(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 ku extends ge{constructor(e){super(),he(this,e,P4,C4,pe,{ref:0,hidden:1,disabled:2,click:3})}}function S4(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),R(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&&R(n,"hidden",!o[0])},i:W,o:W,d(o){o&&T(e)}}}function T4(t,e,i){let{isOpened:n=!1}=e;return t.$$set=o=>{"isOpened"in o&&i(0,n=o.isOpened)},[n]}class E4 extends ge{constructor(e){super(),he(this,e,T4,S4,pe,{isOpened:0})}}function A4(t){let e,i;return e=new E4({props:{isOpened:t[3]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&8&&(s.isOpened=n[3]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function I4(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:[A4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&136&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function L4(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 yu extends ge{constructor(e){super(),he(this,e,L4,I4,pe,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function V4(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class Cu extends ge{constructor(e){super(),he(this,e,null,V4,pe,{})}}function M4(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 vr(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 B4(t){let e,i,n,o,s=t[1]&&vr();return n=new Cu({}),{c(){s&&s.c(),e=D(),i=A("div"),U(n.$$.fragment),u(i,"class","v-1ot3duq"),R(i,"mobile",t[1])},m(l,r){s&&s.m(l,r),E(l,e,r),E(l,i,r),H(n,i,null),o=!0},p(l,r){l[1]?s||(s=vr(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),(!o||r&2)&&R(i,"mobile",l[1])},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){g(n.$$.fragment,l),o=!1},d(l){l&&(T(e),T(i)),s&&s.d(l),F(n)}}}function R4(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:zo[Se.KeyK],$$slots:{default:[B4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&4&&(a.disabled=l[2]),r&16&&(a.click=l[4]),r&66&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function N4(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:s=!1}=e,{className:l=""}=e,{click:r=Ke}=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 jl extends ge{constructor(e){super(),he(this,e,N4,R4,pe,{ref:0,isMobile:1,disabled:2,className:3,click:4},M4)}}function z4(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class D4 extends ge{constructor(e){super(),he(this,e,null,z4,pe,{})}}function O4(t){let e,i;return e=new D4({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function H4(t){let e,i;return e=new hi({props:{className:t[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:Y("tooltip_interactive_go_back"),disabled:t[1],click:t[2],$$slots:{default:[O4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"hidden":""),o&2&&(s.disabled=n[1]),o&4&&(s.click=n[2]),o&8&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function F4(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 Pu extends ge{constructor(e){super(),he(this,e,F4,H4,pe,{hidden:0,disabled:1,click:2})}}function U4(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 q4(t){let e,i,n,o;return{c(){e=A("img"),u(e,"class","icon v-1x1zctw"),is(e.src,i=t[0])||u(e,"src",i),u(e,"aria-hidden","true")},m(s,l){E(s,e,l),n||(o=me(e,"error",t[7]),n=!0)},p(s,l){l&1&&!is(e.src,i=s[0])&&u(e,"src",i)},d(s){s&&T(e),n=!1,o()}}}function Z4(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:W,d(i){i&&T(e)}}}function W4(t){let e;function i(s,l){return s[5]?Z4:q4}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 j4(t){let e,i;return e=new hi({props:{className:t[4]?"btn-full-opacity":"",ariaLabel:t[1],click:t[3],disabled:t[6],testId:t[2],$$slots:{default:[W4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,[o]){const s={};o&16&&(s.className=n[4]?"btn-full-opacity":""),o&2&&(s.ariaLabel=n[1]),o&8&&(s.click=n[3]),o&64&&(s.disabled=n[6]),o&4&&(s.testId=n[2]),o&545&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function K4(t,e,i){let n,o,s,{iconUrl:l}=e,{ariaLabel:r}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=Ke}=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===Ke),t.$$.dirty&272&&i(6,o=n||a)},i(5,s=!1),[l,r,c,f,n,s,o,m,a]}class Su extends ge{constructor(e){super(),he(this,e,K4,j4,pe,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},U4)}}const G4=(t,e)=>t<400||e<225?5:t<640||e<360?0:t<960||e<540?1:t<1280||e<720?2:3,Y4="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class Q4{adman=null;initialVolume=1;videoElement=null;currentAdSection=null;actions=null;adsState=null;playerState=null;log;loadTimeout;initTimeout;events={slotRequested$:new fn,started$:new fn,paused$:new fn,resumed$:new fn,ended$:new fn,skipped$:new fn,clicked$:new fn};constructor(e,i){this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=i.loadTimeout,this.initTimeout=i.initTimeout}init(e,i,n){this.actions=e,this.adsState=i,this.playerState=n}loadAdman=e=>new Promise((i,n)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?i():n()};yc(Y4,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 b={dl:encodeURIComponent(window.location.href),autoplay:s,player_width:i,player_height:n,puid10:G4(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:b,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}ot(this.actions),ot(this.adsState),ot(this.playerState);const i=this.currentAdSection===An.Postroll;this.adsState.playbackState.set(Xt.INACTIVE),this.currentAdSection=null,this.playerState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${i}`}),i&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!i)}togglePlay(){ot(this.adsState),this.log({message:"toggle play"});const e=Ye(this.adsState.playbackState);e===Xt.PLAYING?this.pause():e===Xt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){this.log({message:`set volume ${e}`}),this.adman?.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){this.log({message:`set fullscreen ${e}`}),this.adman?.setFullscreen(e)}startPreroll(){ot(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=An.Preroll,this.adman.start(An.Preroll)}startPostroll(){ot(this.adman),ot(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=An.Postroll,this.adman.start(An.Postroll)}onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()};onAdStarted=(e,i)=>{ot(this.adsState),ot(this.playerState),ot(this.actions),this.log({message:`ad started, section: ${e}, banner: ${JSON.stringify(i)}`}),this.events.started$.next(e),i.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Ye(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(i.duration),this.adsState.playbackState.set(Xt.PLAYING),this.adsState.canSkip.set(i.allowClose),this.adsState.secondsToWatchBeforeSkip.set(i.allowCloseDelay)};onAdTimeRemained=({currentTime:e})=>{ot(this.adsState),this.adsState.position.set(e)};onAdPaused=()=>{ot(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Xt.PAUSED)};onAdPlayed=()=>{ot(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Xt.PLAYING)};onAdMidrollPoint=()=>{ot(this.adman),ot(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=An.Midroll,this.adman.start(An.Midroll)};onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()};onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()};onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()};onAdClicked=()=>{this.log({message:"ad clicked"}),this.videoElement?.pause(),this.events.clicked$.next()};onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)};play(){ot(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ot(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ot(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,i){this.adman?.setPosition(Math.floor(e),Math.floor(i))}destroy(){this.log({message:"destroy"}),this.adman?.destroy()}}const X4=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 J4{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 Tu,{startTime:c,endTime:f}=a.parse(r);s.startTime=c,s.endTime=f}else if(r.trim()!==""){const a=new x4,{texts:c}=a.parse(r);s.texts=[...s.texts,...c]}(s.startTime||s.endTime)&&s.texts.length>0&&i.push(s)}return i}}class Tu{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 x4{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 Tu;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,cn,_l=0,vl=!1;const $4=(t,e,i)=>{const n=t>=_l,o=t<_l,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(_l=t,o&&(vl=!1),bn(Zn)&&l(t,Zn.startTime,Zn.endTime)&&Zn.lang===e.value)return Zn;if(!bn(cn)&&a?.length&&!vl){const c=a.find(({startTime:f,endTime:m})=>l(t,f,m)||n&&s(t,f,m));cn=c&&{...c,lang:e.value},Zn=void 0,!bn(cn)&&a[a.length-1].endTime<t&&(vl=!0);return}else{if(l(t,cn?.startTime,cn?.endTime))return Zn=cn,cn=void 0,Zn;(n&&r(t,cn?.startTime,cn?.endTime)||o&&s(t,cn?.startTime,cn?.endTime))&&(cn=void 0)}},wl={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 Jo=null;class Io{constructor(e,i){if(!Jo){const n=new Nc(e,i),o=new jn;Jo=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n?.destroy(),o?.unsubscribe(),Jo=null}})}}static getInstance(){return Jo}}const e3=({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:b,isInteractive:w,interactiveRanges:_,replayInteractive:S,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:C,additionalButtons:V,looped:ie=!1})=>{const M={...h,configName:[...h.configName??[],"ui"],isAudioDisabled:s,live:{...h.live??{},isLiveCatchUpMode:!!n}},G=m,B=v||new gc(M);B.setLooped(ie);const x=new c1,L=new Q4(x,{loadTimeout:G.ads.loadTimeout,initTimeout:G.ads.initTimeout}),te=Io.getInstance(),z=Tl.getInstance(),X=a?.pictureInPictureApi,le=a?.annotationsApi,P=x.createComponentLog("Store");let oe,j,ne={};const we=Il(),Ue=te?dt(te.oneStat.vsid$):Cn(void 0),qe=Ee(Mo()),Ie=X?.info.isActive$??new Al(!1),Ce=X?.info.type,ue=Ee(0),K=Ee([]),ae=Cc(B.events.fatalError$,B.events.managedError$).subscribe(I=>K.update(se=>[...se,I])),be=Cn(!1,I=>{const se=B.events.fatalError$.subscribe(()=>I(!0));return()=>se.unsubscribe()}),$=async I=>{const se=Object.values(Bo).includes(I);if(G.downloadVKLanguages&&(se&&G.updateBuiltinLanguages||!rs(I))){let Be;try{Be=await Tc(I,xc,$c)}catch(je){te?.oneStat?.logError({errorType:"VKLangPack",fatal:!1}),z?.report(je,{errorType:"VKLangPack",fatal:!1})}Be&&(ss({language:I,pack:Be,fallback:G.defaultLanguage}),Pe.set(I))}rs(I)&&Pe.set(I)},Pe=Ee(t);$(t);const Te=(I,se)=>{const ke=Ye(Pe);return D1(ke,I,se,G.defaultLanguage)},Me=Ee(Ve.Thumb),re=(()=>{const I=ri([be,Me],([se,ke])=>se?Ve.Crashed:ke);return{...I,is:se=>Ye(I)===se}})(),_e=(()=>{const I=Ee(new Set(b));return{...I,add:se=>{I.update(ke=>new Set([...ke].concat(se)))},remove:se=>{I.update(ke=>{const Be=[...ke];return new Set(Array.isArray(se)?Be.filter(je=>!se.includes(je)):Be.filter(je=>je!==se))})},includes:se=>{const ke=Ye(I);return Array.isArray(se)?se.every(Be=>ke.has(Be)):ke.has(se)}}})();P({message:"create store"});const J=I=>{P({message:`init video, config: ${JSON.stringify(I)}`}),w?I.container.append(B.experimental.element$.getValue()):B.initVideo(I),I.subtitles&&B.setExternalTextTracks(I.subtitles),oe=I},Q=new fn,De=I=>Q.next(I),et=new fn,Xe=new fn,ye=new fn,Ge={actionRewind$:et,actionSeek$:Xe,inPiP$:Ie,inFullscreen$:new Pc(I=>qe.subscribe(se=>I.next(se))),actionSetSubtitle$:ye,nextMovie$:Q};if(te){const{oneStat:I,statSubscription:se}=te;se.add(I.attachTo(B)),se.add(I.attachToUi(Ge)),se.add(I.attachToAds(L.events)),I.authorize(o).catch(ke=>{P({message:`onestat auth error ${String(ke)}`})})}if(z){const I=new jn,se=(ke,Be)=>I.add(ke.subscribe(Be));if(se(B.events.managedError$,ke=>{z.logIError(ke)}),se(B.events.fatalError$,ke=>{z.logIError(ke,!0)}),te){const{oneStat:ke}=te;se(ke.experimental.error$,Be=>{z.logIError(Be)})}z.sentrySubscription.add(I)}const Je=()=>{Ll()&&j&&If(j)},ct=new jn().add(B.experimental.element$.subscribe(I=>{I&&(j=I,I.classList.add("player-media"),nl(X)&&(X.updateVideoElement(),X.registryEventHandlers()),w&&I.setAttribute("pip","false"))})).add(B.events.ended$.subscribe(()=>{Je(),r?.onEnded?.()})).add(B.events.started$.subscribe(async()=>{nl(X)&&await X?.revealPictureInPicture();const I=B.info.muted$.getValue();r?.onStarted?.(),ne.onStarted?.(I)})).add(B.events.willSeek$.subscribe(({from:I,to:se})=>{r?.onSeek?.(I,se)})).add(B.info.position$.subscribe(I=>{const se=B.info.duration$.getValue();r?.onTimeupdate?.(se,I),L.setPosition(I,se)})).add(B.events.fatalError$.subscribe(()=>{r?.onCrashed?.()})).add(B.info.is3DVideo$.subscribe(I=>{it.ui.is3DVideo.set(I)})).add(B.info.isEnded$.subscribe(I=>{w&&(I?(Ye(Un)&&_e.add(y1),_e.add(nt.PLAY_BUTTON)):_e.remove(nt.PLAY_BUTTON))})).add(B.info.liveTime$.subscribe(I=>{r?.onLiveTime?.(I)})).add(B.info.isStalled$.subscribe(I=>{r?.onStalledChanged?.(I)})),bt=new jn,Fe=()=>{bt.add(B.events.log$.subscribe(I=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${I.component}`,I.message)})).add(x.log$.subscribe(I=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${I.component}.`,I.message)}))},Le=()=>{bt.unsubscribe()},vt=(I,se)=>{B.startCameraManualRotation(I,se)},Bt=(I=!1)=>{B.stopCameraManualRotation(I)},xt=(I,se,ke)=>{B.moveCameraFocusPX(I,se,ke)},qt=()=>{B.holdCamera()},ce=()=>{B.releaseCamera()},pt=Cn(B.info.position$.getValue(),I=>{let se,ke;const Be=()=>{const je=B.info.playbackState$.getValue(),Ht=B.info.isLive$.getValue(),Yt=B.info.duration$.getValue(),Lt=B.info.position$.getValue();if([Ft.PLAYING,Ft.PAUSED].includes(je)){const un=Ht?Lt-Yt:B.getExactTime();un!==ke&&I(un),ke=un}se=requestAnimationFrame(Be)};return Be(),()=>cancelAnimationFrame(se)}),ht=dt(Ie),ft=dt(B.info.playbackState$),st=dt(B.info.currentBuffer$),kt=dt(B.info.isEnded$),Pt=dt(B.info.isLive$),ai=G.features.playbackRate?dt(B.info.canChangePlaybackSpeed$):Cn(!1),Fi=dt(B.info.liveBufferTime$),Zt=dt(B.info.volume$),Ui=dt(B.info.muted$),Yi=T1(B.info.autoQualityLimits$.pipe(Sc(({max:I})=>I!==void 0)),B.info.autoQualityLimits$.getValue()?.max!==void 0),$t=dt(B.info.autoQualityLimitingAvailable$),Bi=dt(B.info.availableQualities$),Ri=dt(B.info.availableQualitiesFps$),Rt=dt(B.info.chromecastState$),ei=dt(B.info.chromecastDeviceName$),ui=dt(B.info.currentFormat$),Wt=dt(B.info.throughputEstimation$),ci=dt(B.info.videoBitrate$),jt=dt(B.info.intrinsicVideoSize$),gi=dt(B.info.duration$),Ni=dt(B.info.isAudioAvailable$);let mt=null;const fi=B.info.isBuffering$,bi=Cn(fi.getValue(),I=>{const se=fi.subscribe(ke=>{ke&&mt===null?mt=window.setTimeout(()=>{I(fi.getValue()),mt=null},G.loaderDelay):I(ke)});return()=>{se.unsubscribe(),mt&&clearTimeout(mt)}}),_i=()=>{mt&&clearTimeout(mt),mt=null},Nt=ri([gi,Pt],([I,se])=>se?-I:I),vi=ri([ft],([I])=>I===Ft.PLAYING),ti=dt(B.info.atLiveEdge$),ii=dt(B.info.atLiveDurationEdge$),St=dt(B.info.position$),wi=ri([St,gi],([I,se])=>isFinite(I)&&isFinite(se)&&!!se),zt=ri([Rt],([I])=>I===Pn.CONNECTED),rt=Ee(void 0),Tt=dt(B.info.isAutoQualityEnabled$,I=>I&&rt.set(void 0)),zi=dt(B.info.currentQuality$,()=>rt.set(void 0)),ki=ri([rt,zi],([I,se])=>I??se),yi=ri([Bi,Ri,Tt,ki,ui],([I,se,ke,Be,je])=>{const Ht=[];je!==Eo.MPEG&&Ht.push({value:bo.AUTO,displayValue:Te("auto_quality_option"),selected:ke});const Yt=I.filter(Lt=>Lt!==xo.INVARIANT);for(const Lt of Yt){const un=se[Lt],qn=Lt===xo.INVARIANT?Te("auto_quality_option"):Lt;Ht.push({value:Lt,displayValue:`${qn}${un?X4(un):""}`,selected:ke?!1:Lt===Be})}return Ht}),ni=dt(B.info.currentPlaybackRate$),Kt=ri([ni,ti,ii],([I,se,ke])=>{const Be=ke||w?1:G.controls.playbackRateMin,je=se?1:G.controls.playbackRateMax,Ht=G.controls.playbackRateStep,Yt=[];for(let Lt=Be;Lt<=je;Lt+=Ht)Yt.push({value:Lt,displayValue:Lt===1?Te("playback_rate_1"):Te("playback_rate",{multiplier:Lt.toString(10)}),selected:I===Lt});return Yt}),qi=G.features.subtitles?dt(B.info.availableTextTracks$):Cn([]),Et=ri([qi],([I],se)=>{const ke=[],Be=[];for(const je of I)je.url&&ke.push(fetch(je.url));Promise.allSettled(ke).then(je=>{for(const[Ht,Yt]of je.entries())Yt.status==="fulfilled"&&Yt.value.text().then(Lt=>{const un=new J4,qn=I[Ht].language,Po=!!I[Ht].isAuto,So=un.parse(Lt);qn&&So&&Be.push({lang:qn,subtitles:So,isAuto:Po}),Ht===je.length-1&&se(Be)})})}),wt={displayValue:Te("subtitles_off"),value:"off"},yt=Ee({...wt}),At=ri([Et,yt,Et],([I,se])=>{if(I?.length>0){const ke=[{...wt,selected:se?.value===wt.value}];for(const{lang:Be,isAuto:je}of I)wl[Be]&&ke.push({displayValue:je?Te("subtitles_auto",{language:wl[Be]}):wl[Be],value:Be,selected:se?.value===Be,isAuto:je});return ke}else return[]}),Zi=ri([pt,yt,Et],([I,se,ke])=>{if(se&&se.value!==wt.value)return $4(I,se,ke)}),Gt=ri([Zi],([I])=>I?.texts?I.texts:[]),Ci=Ee(!0),Di=ri([st,Nt,St,Fi],([I,se,ke,Be])=>{const je=I?.end??0;if(!Be)return je/se;const Yt=-ke+Be-se;return(je-Yt)/se}),Pi=dt(B.info.availableSources$),Qi=ri([Pi],([I])=>Object.keys(I?.[Eo.MPEG]||{}).length>0),Si=()=>{const I=Object.keys(B.info.availableSources$?.getValue()?.[Eo.MPEG]||{}),se=Ec(I)||xo.Q_144P;return oe.sources[Eo.MPEG]?.[se]},di=()=>{const I=Si();I?uf(I,oe?.meta?.title||"video"):P({message:"There is no URL for download video"})},mi=()=>{P({message:"toggle muted"});const I=B.info.muted$.getValue(),Be=!(B.info.volume$.getValue()===0||I);Wi(Be)},Ti=()=>{it.ui.settingsMenuVisible.set(!1)},Ei=I=>{it.ui.settingsMenuOpenedByKeyboard.set(!!I),it.ui.settingsMenuVisible.set(!0)},Ai=I=>{Ye(it.ui.settingsMenuVisible)?Ti():Ei(I)},Ae=(I,se=I,ke=!1)=>{const Be=!ke,je=B.info.muted$.getValue();P({message:`set volume, volume: ${I}, preferredVolume: ${se}, internalCall: ${Be}`}),B.setVolume(I),L.setVolume(I),Be&&r?.onVolumeChange?.(I),ls(se),je?(B.setMuted(!1),Be&&r?.onUnmute?.(),ml(!1)):!je&&I===0&&(B.setMuted(!0),Be&&r?.onMute?.(),ml(!0))},Wi=(I,se=!1)=>{const ke=!se,Be=B.info.volume$.getValue();if(P({message:`set muted, currentVolume: ${Be}, mute: ${I}, internalCall: ${ke}`}),B.setMuted(I),L.setVolume(I?0:Be),ml(I),ke&&(I?r?.onMute?.():r?.onUnmute?.()),Be===0){let je=V1()??G.volumeDefault;je===0&&(je=G.volumeMinRestore,ls(je)),B.setVolume(je),L.setVolume(je),ke&&r?.onVolumeChange?.(je)}},ji=()=>{B.prepare()},Ii=()=>{if(ot(it),!Ye(it.ui.controls.disabledControls$).has(nt.PLAY_BUTTON)){if(P({message:"toggle play"}),Ye(it.playerPhase)===Ve.Ads){L.togglePlay();return}if(B.info.playbackState$.getValue()!==Ft.PLAYING){if(B.info.isEnded$.getValue()){if(P({message:"toggle play, video ended, seek to 0"}),et.next(),Xe.next(Vt.REWIND),w){S?.();return}B.seekTime(0)}P({message:"toggle play, call player.play"}),B.play(),r?.onPlay?.()}else P({message:"toggle play, call player.pause"}),B.pause(),r?.onPause?.()}},Ki=I=>{P({message:`set quality, quality: ${I}`}),B.setAutoQuality(I===bo.AUTO),I!==bo.AUTO?(cf(e,I),rt.set(I),B.setQuality(I)):M1()},Li=I=>{P({message:`set trafficSavingEnabled, value: ${I}`}),B.setAutoQualityLimits({max:I?G.trafficSavingLimit:void 0}),mf(I)},Ne=I=>{B.setPlaybackRate(I)},pi=()=>{const I=Ye(Kt),se=I.findIndex(({selected:Be})=>Be);if(se===I.length-1)return;const ke=I[se+1];Ne(ke.value)},Vi=()=>{const I=Ye(Kt),se=I.findIndex(({selected:Be})=>Be);if(se===0)return;const ke=I[se-1];Ne(ke.value)},Dt=I=>{I&&I.value!==wt.value&&ye.next(I.isAuto?I.value+"_auto":I.value),yt.set(I)},Ot=()=>{const I=Ye(At),se=Ye(yt),ke=Ye(Pe);if(se?.value===wt.value){const Be=I.filter(je=>je.value!==wt.value).find(je=>je.value===ke)||I[1];Dt(Be??{...wt})}else Dt({...wt,selected:!1})},oi=(I,se,ke=!0)=>{if(P({message:`seek to time, time: ${I}`}),Xe.next(se),B.info.isLive$.getValue()){const Be=B.info.duration$.getValue(),je=Math.min(0,Be+I);B.seekTime(je,ke)}else{if(Ye(Un))return;B.seekTime(Qn(I),ke)}},$i=I=>{P({message:`seek to episode start time: ${I}`}),oi(I,Vt.EPISODE,!0)},Oi=(I,se)=>{P({message:`seek to percent, percent: ${I}`});const ke=Math.round(Ye(Nt)*I);oi(ke,se,!1)},en=I=>{P({message:`seek external, time: ${I}`}),Xe.next(Vt.UNKNOWN),B.seekTime(B.info.isLive$.getValue()?-I:I)},tn=I=>{P({message:`set auto quality limitation. Max: ${I.max??"none"}. Min: ${I.min??"none"}`}),B.setAutoQualityLimits(I)},Xi=I=>{P({message:`seek external to episode start time: ${I}`}),oi(I,Vt.EPISODE,!0)},Mi=I=>{P({message:`set playback rate to: ${I}`}),B.setPlaybackRate(I)},Gi=Ee(void 0),Hi=Ee(!1),nn=I=>{P({message:`start scrubbing, progress: ${I}`}),Hi.set(!0),ee(I)},ee=I=>{Gi.set(I)};let xe,gt;const li=()=>{Gi.set(void 0),Hi.set(!1)},Ji=()=>{clearTimeout(gt),clearTimeout(xe),xe=window.setTimeout(()=>{li()},500),j?.removeEventListener("seeked",Ji)},sn=I=>{P({message:`complete scrubbing, progress: ${I}`}),Oi(I,Vt.SLIDER),Ye(it.ui.isMobile)&&Ye(it.state.currentFormat$)===Eo.HLS?(j?.addEventListener("seeked",Ji),gt=window.setTimeout(()=>{Ji()},300)):li()},kn=ri([pt,Nt,Gi],([I,se,ke],Be)=>{Be(bn(ke)?ke*se:I)}),It=Ee({width:0,height:0}),rn=ri([It],([{width:I}],se)=>{const ke=H2(I);se(ke)}),an=Ee(!1),dn=ri([rn,an],([I,se])=>se?V.filter(ke=>!ke.hideOnMobile):V.filter(ke=>!ke.hideOnDesktopGridTypes?.includes(I))),yn=ri([an,be],([I,se],ke)=>{ke(I&&se)}),mn=()=>{Xe.next(Vt.LIVE),P({message:"switch to active live"}),B.seekTime(0),B.info.playbackState$.getValue()!==Ft.PLAYING&&it.actions.internal.togglePlay()},y=()=>L.skip(),at=(I=!0)=>{ot(it),P({message:`switch from ads to video, callPlay: ${I}`}),Me.set(Ve.Video),I&&B.play()},zn=()=>{ot(it),P({message:"switch from video to ads"}),it.actions.internal.pause(),Je(),Me.set(Ve.Ads)},Dn=I=>{ot(it);const se=I?Ve.WaitingLive:Ve.Thumb;Me.set(se)},Tn=I=>{ot(it);const se=I?Ve.WaitingRecord:Ve.Thumb;Me.set(se)},$n=()=>(ot(it),rf(B,oe,it)),eo=()=>(ot(it),af(B,oe,it)),to=()=>j,io=()=>{P({message:"toggle chromecast"}),B.toggleChromecast()},Kn=I=>{ot(it);const se=!I;if(Ye(it.playerPhase)===Ve.Ads){P({message:`pause ads, internalCall: ${se}`}),L.pause();return}P({message:`pause video, internalCall: ${se}`}),se&&r?.onPause?.(),B.pause()},no=I=>{ot(it);const se=!I;if(Ye(it.playerPhase)===Ve.Ads){P({message:`play ads, internalCall: ${se}`}),L.play();return}P({message:`play video, internalCall: ${se}`}),se&&r?.onPlay?.(),B.play()},Gn=(I,se)=>{ot(it),P({message:`first start, show ads: ${I}, internalCall: ${!se}`}),I?Me.set(Ve.Ads):(Me.set(Ve.Video),se?B.play():it.actions.internal.togglePlay())},Yn=()=>(P({message:"getting time codes"}),c),oo=()=>{const I=Yn();if(!I||[0,1].includes(I.length))return;const se=B.info.position$.getValue();return I.find(ke=>ke.time>se)},pn=I=>{let se=I;se||(se=oo()),se&&(P({message:"seek to next episode"}),oi(se.time,Vt.EPISODE,!0))},On=()=>{const I=Yn();if(!I||[0,1].includes(I.length))return;const se=B.info.position$.getValue(),ke=I.findIndex(je=>je.time>se),Be=ke===-1?I.length-2:ke-2;if(!(Be<0))return I[Be]},lo=I=>{let se=I;se||(se=On()),se&&(P({message:"seek to prev episode"}),oi(se.time,Vt.EPISODE,!0))},Hn=()=>(P({message:"getting preview thumbs data"}),f),so=async()=>{X?.isActive()?await X?.remove():await X?.request()},Co=(I=-90)=>{ue.update(se=>se+I)},En=Ee(_),ro=ri([En],([I=[]])=>{const se=[];for(let ke=0;ke<I.length;ke++){const{range:[Be,je],subjects:Ht}=I[ke];ke===0&&Be!==0&&se.push({time:0,text:"",interactive:!1,completed:!0}),se.push({time:Be/1e3,text:"",interactive:!0,completed:!Ht.length}),je!==1/0&&se.push({time:je/1e3,text:"",interactive:!1,completed:!0})}return se}),ao=I=>{const se=Ye(En);En.set(se.map(ke=>({...ke,subjects:ke.subjects.filter(Be=>Be!==I)})))},Fn=Ee(!1),Un=ri([St,En,Fn],([I,se,ke])=>{if(!w)return!1;if(ke)return!0;const Be=I*1e3,je=se?.find(({range:[Ht,Yt],subjects:Lt})=>Ht<Be&&Be<Yt&&Lt.length);return je&&Ye(Hi)&&li(),!!je}),Qn=I=>{if(!w)return I;const se=Ye(ro),ke=Ye(Nt),je=Ye(St)/ke,Ht=se.find(Yt=>Yt.interactive&&!Yt.completed&&Yt.time>je);return typeof Ht?.time=="number"?Math.min(I,Ht.time-.05):I},q=()=>{it.ui.episodes.panelOpened$.set(!1)},si=()=>{clearTimeout(gt),clearTimeout(xe),ct.unsubscribe(),bt.unsubscribe(),B.destroy(),L.destroy(),te?.destroy(),z?.destroy(),ae.unsubscribe()},it={interfaceLanguage$:Pe,initVideo:J,videoId:e,isClip:i,playerPhase:re,vsid:Ue,state:{positionExact$:pt,positionWithScrubbing$:kn,duration$:Nt,playbackState$:ft,isPlaying$:vi,isLoaderVisible:bi,bufferedProgress$:Di,isLive$:Pt,canChangePlaybackSpeed$:ai,isActiveLive$:ti,isOldestAvailableLive$:ii,isRewindableLive$:wi,isEnded$:kt,muted$:Ui,volume$:Zt,trafficSavingEnabled$:Yi,autoQualityLimitingAvailable$:$t,currentQuality$:ki,isAutoQualityEnabled$:Tt,availableQualities$:yi,currentPlaybackRate$:ni,availablePlaybackRates$:Kt,currentSubtitle$:yt,availableSubtitlesList$:At,currentSubtitleCaptions$:Gt,isAutoSubtitleCaptionVisible$:Ci,chromecastState$:Rt,chromecastDeviceName$:ei,chromecastConnected$:zt,currentFormat$:ui,throughputEstimation$:Wt,videoBitrate$:ci,videoSize$:jt,errorLog$:K,crashed$:be,isAudioAvailable$:Ni,isAudioDisabled:!!s,canDownload:G.features.download&&!!l,availableSources$:Pi,hasMpegSources$:Qi,isInteractive:w,isInteractiveGraphEnabled:G.features.interactiveGraph,isSeekToInteractiveEnable:G.features.seekToInteractive,isPlayPrevChapterEnabled:G.features.interactivePlayPrevChapter,interactiveEpisodes$:ro,isInteractiveTime$:Un,graphIsOpened$:Ee(!1),isInteractiveExpectation$:Fn,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:C},ui:{controlsVisible:Ee(!1),touched:Ee(!1),controls:{prevButton:Ee(void 0),playButton:Ee(void 0),replayButton:Ee(void 0),nextButton:Ee(void 0),playPrevChapterButton:Ee(void 0),seekToInteractiveButton:Ee(void 0),interactiveGraphButton:Ee(void 0),liveButton:Ee(void 0),time:Ee(void 0),episodes:Ee(void 0),volume:Ee(void 0),subtitles:Ee(void 0),settings:Ee(void 0),context:Ee(void 0),chromecast:Ee(void 0),pip:Ee(void 0),fullscreen:Ee(void 0),vkLogo:Ee(void 0),additionalButtons:V.length?V.reduce(I=>[...I,Ee(void 0)],[]):[],disabledControls$:_e},modals:{hotKeyMap:{show:Ee(!1),data:Ee({title:"",closeBtnText:"",groups:[]})}},isFullscreen:qe,rotateAlpha:ue,isAutoplay:Ee(!1),contextMenuVisible:Ee(!1),debugPanelVisible:Ee(!1),episodes:{panelOpened$:Ee(!1),openedByKeyboard$:Ee(!1)},contextMenu:{btnRef$:Ee(void 0),openedByKeyboard$:Ee(!1),showContextMenuBtn$:Ee(!1)},playerSize:It,isMobile:an,mobileNotReportControlHidden$:yn,mobileUnmuteButtonExpanded:Ee(!1),mobileUnmuteButtonVisible:Ee(!1),icon3DVideoVisible:Ee(!1),settingsMenuVisible:Ee(!1),settingsMenuOpenedByKeyboard:Ee(!1),scrubbingInProgress:Hi,is3DVideo:Ee(!1),isPictureInPictureActive$:ht,pictureInPictureType$:Cn(Ce),clientInfo$:Cn(we),currentGridType$:rn,additionalButtons$:dn,interactiveHideMobileControls:Ee(!1),overlayContainer$:Ee(void 0),startedByKeyboard$:Ee(!1)},ads:{position:Ee(0),duration:Ee(0),playbackState:Ee(Xt.INACTIVE),canSkip:Ee(!1),secondsToWatchBeforeSkip:Ee(0),postrollPassed:Ee(!1)},webApi:{pictureInPictureApi:X,annotationsApi:le},actions:{internal:{preload:ji,firstStart:I=>Gn(I,!1),pause:()=>Kn(!1),togglePlay:Ii,toggleMuted:mi,toggleSettingsMenu:Ai,openSettingsMenu:Ei,closeSettingsMenu:Ti,setVolume:Ae,setQuality:Ki,setTrafficSavingEnabled:I=>Li(I),setPlaybackRate:Ne,incrementPlaybackRate:pi,decrementPlaybackRate:Vi,setSubtitle:Dt,toggleSubtitle:Ot,togglePictureInPicture:so,startScrubbing:nn,progressScrubbing:ee,completeScrubbing:sn,toggleChromecast:io,switchToActiveLive:mn,switchFromAdsToVideo:at,switchFromVideoToAds:zn,skipAd:y,setWaitingLive:Dn,setWaitingRecord:Tn,getDebugTextData:$n,getDebugPanelData:eo,getVideoElement:to,seekTime:(I,se,ke)=>oi(I,se,ke),clearDelayedBufferingCheckTimeout:_i,seekEpisodeStartTime:$i,seekToPercent:Oi,getNextEpisode:oo,seekToNextEpisode:pn,getPrevEpisode:On,seekToPrevEpisode:lo,startLogging:Fe,stopLogging:Le,startCameraManualRotation:vt,stopCameraManualRotation:Bt,moveCameraFocusPX:xt,holdCamera:qt,releaseCamera:ce,getVideoEpisodes:Yn,getPreviewThumbsData:Hn,downloadVideo:di,addLanguage:ss,setLanguage:$,nextMovie:De,videoRotate:Co,completeInteractiveRange:ao,correctSeekTimeToInteractive:Qn,replayInteractive:S},external:{firstStart:I=>Gn(I,!0),play:()=>no(!0),pause:()=>Kn(!0),seekTime:I=>en(I),seekEpisodeStartTime:I=>Xi(I),setPlaybackRate:I=>Mi(I),setAutoQualityLimits:I=>tn(I),setMuted:I=>Wi(I,!0),setVolume:I=>Ae(I,I,!0),returnFocusToEpisodes:q}},callbacks:r,setUiCallbacks:I=>{ne={...I}},getAdmanWrapper:()=>L,getLogger:()=>x,destroy:si};return it},Eu=(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})}},Au=async(t,e,i)=>{await No(),e&&i&&(i.focus(),t.set(!1))};function t3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M18 10c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2Zm-6 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm-6 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","dots-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class i3 extends ge{constructor(e){super(),he(this,e,null,t3,pe,{})}}function n3(t){let e,i;return e=new i3({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function o3(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:[n3]},$$scope:{ctx:t}};return t[2]!==void 0&&(s.ref=t[2]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.className=l[3]?"opened":""),r&1&&(a.disabled=l[0]),r&2&&(a.ariaLabel=l[1]),r&8&&(a.ariaExpanded=l[3]),r&8192&&(a.$$scope={dirty:r,ctx:l}),!i&&r&4&&(i=!0,a.ref=l[2],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function l3(t,e,i){let n,{disabled:o=!1}=e,{ariaLabel:s=""}=e;const l=ut(),r=l.ui.contextMenuVisible;O(t,r,_=>i(3,n=_));const a=l.ui.contextMenu.openedByKeyboard$,c=l.ui.contextMenu.showContextMenuBtn$,f=l.ui.contextMenu.btnRef$,m=_=>{const S=Dl(_);a.set(S),r.set(!n)};let h;const v=()=>{c.set(!0)},b=()=>{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,b,w]}class s3 extends ge{constructor(e){super(),he(this,e,l3,o3,pe,{disabled:0,ariaLabel:1})}}function r3(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 wr(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 kr(t){let e,i,n;function o(l){t[171](l)}let s={disabled:!t[9],tooltipContent:Y("tooltip_previous"),$$slots:{default:[a3]},$$scope:{ctx:t}};return t[23].prevButton!==void 0&&(s.ref=t[23].prevButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&512&&(a.disabled=!l[9]),r[0]&4608|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].prevButton,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function a3(t){let e,i;return e=new al({props:{click:t[12],type:"prev",disabled:!t[9],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&4096&&(s.click=n[12]),o[0]&512&&(s.disabled=!n[9]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function yr(t){let e,i,n;function o(l){t[172](l)}let s={disabled:t[74],tooltipContent:Y("tooltip_restart"),$$slots:{default:[u3]},$$scope:{ctx:t}};return t[23].replayButton!==void 0&&(s.ref=t[23].replayButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function u3(t){let e,i;return e=new jl({props:{click:t[127],disabled:t[74]}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Cr(t){let e,i,n;function o(l){t[174](l)}let s={tooltipContent:t[47],disabled:t[75],$$slots:{default:[c3]},$$scope:{ctx:t}};return t[23].playButton!==void 0&&(s.ref=t[23].playButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.tooltipContent=l[47]),r[2]&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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function c3(t){let e,i,n;function o(l){t[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 Wl({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(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],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Pr(t){let e,i,n;function o(l){t[175](l)}let s={disabled:!t[8],tooltipContent:Y("tooltip_next"),$$slots:{default:[f3]},$$scope:{ctx:t}};return t[23].nextButton!==void 0&&(s.ref=t[23].nextButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&256&&(a.disabled=!l[8]),r[0]&2304|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].nextButton,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function f3(t){let e,i;return e=new al({props:{click:t[11],type:"next",disabled:!t[8],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&2048&&(s.click=n[11]),o[0]&256&&(s.disabled=!n[8]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function d3(t){let e,i,n,o,s=t[121]&&m3(t),l=t[120]&&h3(t),r=t[119]&&b3(t);return{c(){s&&s.c(),e=D(),l&&l.c(),i=D(),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){g(s),g(l),g(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 m3(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:[p3]},$$scope:{ctx:t}};return t[23].playPrevChapterButton!==void 0&&(s.ref=t[23].playPrevChapterButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[2]&2048&&(a.disabled=l[73]),r[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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function p3(t){let e,i;return e=new Pu({props:{disabled:t[73],click:t[17]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[2]&2048&&(s.disabled=n[73]),o[0]&131072&&(s.click=n[17]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function h3(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:[g3]},$$scope:{ctx:t}};return t[23].seekToInteractiveButton!==void 0&&(s.ref=t[23].seekToInteractiveButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function g3(t){let e,i;return e=new ku({props:{disabled:t[76],click:t[15]}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function b3(t){let e,i,n;function o(l){t[178](l)}let s={tooltipContent:t[48],disabled:t[77],$$slots:{default:[_3]},$$scope:{ctx:t}};return t[23].interactiveGraphButton!==void 0&&(s.ref=t[23].interactiveGraphButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&131072&&(a.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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function _3(t){let e,i;return e=new yu({props:{click:t[16],graphIsOpened:t[31],disabled:t[77]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&65536&&(s.click=n[16]),o[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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Sr(t){let e,i,n;function o(l){t[179](l)}let s={tooltipContent:t[50],$$slots:{default:[v3]},$$scope:{ctx:t}};return t[23].liveButton!==void 0&&(s.ref=t[23].liveButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function v3(t){let e,i;return e=new gu({props:{isActiveLive:t[21],isMobile:!1,ariaLabel:t[50]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.isActiveLive=n[21]),o[1]&524288&&(s.ariaLabel=n[50]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Tr(t){let e,i,n;function o(l){t[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 uu({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Er(t){let e,i;return e=new wu({props:{position:t[81],duration:t[83],timeCodes:t[102]}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function w3(t){let e,i,n=t[20]&&Er(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=Er(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&T(e),n&&n.d(o)}}}function k3(t){let e,i;return e=new Su({props:{iconUrl:t[205],ariaLabel:t[206]??t[209],testId:t[207],onClick:t[208]}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ar(t){let e,i;return e=new Mt({props:{tooltipContent:t[209],width:40,$$slots:{default:[k3]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ir(t){let e,i,n;function o(l){t[183](l)}let s={disabled:!t[6],tooltipContent:t[51],$$slots:{default:[y3]},$$scope:{ctx:t}};return t[23].vkLogo!==void 0&&(s.ref=t[23].vkLogo),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.disabled=!l[6]),r[1]&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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function y3(t){let e,i;return e=new pu({props:{click:t[87],logoClickable:t[6],videoLogoUrl:t[7]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&64&&(s.logoClickable=n[6]),o[0]&128&&(s.videoLogoUrl=n[7]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function C3(t){let e,i;return e=new j2({props:{isAudioAvailable:t[78],click:t[126]}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Lr(t){let e,i,n;function o(l){t[185](l)}let s={tooltipContent:t[52],$$slots:{default:[P3]},$$scope:{ctx:t}};return t[23].subtitles!==void 0&&(s.ref=t[23].subtitles),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&2097152&&(a.tooltipContent=l[52]),r[0]&262144|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].subtitles,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function P3(t){let e,i;return e=new o2({props:{isSubtitlesEnabled:t[18],click:t[88]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&262144&&(s.isSubtitlesEnabled=n[18]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Vr(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 au({props:l}),ve.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),H(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],Oe(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&T(e),F(i)}}}function Mr(t){let e,i,n;function o(l){t[188](l)}let s={tooltipContent:t[27]?void 0:Y("tooltip_settings_off"),$$slots:{default:[S3]},$$scope:{ctx:t}};return t[23].settings!==void 0&&(s.ref=t[23].settings),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function S3(t){let e,i,n;function o(l){t[187](l)}let s={};return t[25]!==void 0&&(s.ref=t[25]),e=new Ul({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&33554432&&(i=!0,a.ref=l[25],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function T3(t){let e,i,n;function o(l){t[189](l)}let s={className:t[41]?"":"out-of-view",tooltipContent:t[49],$$slots:{default:[E3]},$$scope:{ctx:t}};return t[23].context!==void 0&&(s.ref=t[23].context),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function E3(t){let e,i;return e=new s3({props:{ariaLabel:t[49]}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Br(t){let e,i,n;function o(l){t[190](l)}let s={tooltipContent:t[53],$$slots:{default:[A3]},$$scope:{ctx:t}};return t[23].fullscreen!==void 0&&(s.ref=t[23].fullscreen),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&4194304&&(a.tooltipContent=l[53]),r[0]&1073750016|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].fullscreen,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function A3(t){let e,i;return e=new du({props:{click:t[13],isFullscreen:t[30]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&8192&&(s.click=n[13]),o[0]&1073741824&&(s.isFullscreen=n[30]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Rr(t){let e,i,n;function o(l){t[191](l)}let s={tooltipContent:t[54],$$slots:{default:[I3]},$$scope:{ctx:t}};return t[23].chromecast!==void 0&&(s.ref=t[23].chromecast),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&8388608&&(a.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,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function I3(t){let e,i;return e=new hu({props:{isMobile:!1,state:t[29],click:t[125]}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function L3(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B,x,L,te,z;i=new vu({props:{isHidden:!t[45],isAds:t[4],canRewindLive:t[5],isRewindableLive:t[32]}});let X=t[38]&&kr(t),le=t[35]&&yr(t),P=t[36]&&Cr(t),oe=t[37]&&Pr(t),j=t[118]&&d3(t),ne=!t[4]&&t[33]&&Sr(t),we=t[19]&&Tr(t);function Ue(J){t[181](J)}let qe={className:"w-max",disabled:!t[20],tooltipContent:Y("tooltip_episodes"),$$slots:{default:[w3]},$$scope:{ctx:t}};t[23].episodes!==void 0&&(qe.ref=t[23].episodes),v=new Mt({props:qe}),ve.push(()=>He(v,"ref",Ue));let Ie=Ut(t[28]),Ce=[];for(let J=0;J<Ie.length;J+=1)Ce[J]=Ar(wr(t,Ie,J));const ue=J=>g(Ce[J],1,1,()=>{Ce[J]=null});let K=t[43]&&Ir(t);function ae(J){t[184](J)}let be={$$slots:{default:[C3]},$$scope:{ctx:t}};t[23].volume!==void 0&&(be.ref=t[23].volume),V=new Mt({props:be}),ve.push(()=>He(V,"ref",ae));let $=t[40]&&Lr(t),Pe=!t[84]&&!t[4]&&Vr(t),Te=t[42]&&Mr(t),Me=t[85].features.contextMenuButton&&T3(t),re=t[44]&&Br(t),_e=t[39]&&Rr(t);return{c(){e=A("div"),U(i.$$.fragment),n=D(),o=A("div"),s=A("div"),X&&X.c(),l=D(),le&&le.c(),r=D(),P&&P.c(),a=D(),oe&&oe.c(),c=D(),j&&j.c(),f=D(),ne&&ne.c(),m=D(),we&&we.c(),h=D(),U(v.$$.fragment),_=D(),S=A("div");for(let J=0;J<Ce.length;J+=1)Ce[J].c();k=D(),K&&K.c(),C=D(),U(V.$$.fragment),M=D(),$&&$.c(),G=D(),Pe&&Pe.c(),B=D(),Te&&Te.c(),x=D(),Me&&Me.c(),L=D(),re&&re.c(),te=D(),_e&&_e.c(),u(s,"class","controls-left v-st0uzk"),vo(()=>t[182].call(s)),u(S,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),R(e,"hidden",t[1]),R(e,"controls-hidden",!t[3]),R(e,"no-smooth",t[2])},m(J,Q){E(J,e,Q),H(i,e,null),p(e,n),p(e,o),p(o,s),X&&X.m(s,null),p(s,l),le&&le.m(s,null),p(s,r),P&&P.m(s,null),p(s,a),oe&&oe.m(s,null),p(s,c),j&&j.m(s,null),p(s,f),ne&&ne.m(s,null),p(s,m),we&&we.m(s,null),p(s,h),H(v,s,null),w=Vl(s,t[182].bind(s)),p(o,_),p(o,S);for(let De=0;De<Ce.length;De+=1)Ce[De]&&Ce[De].m(S,null);p(S,k),K&&K.m(S,null),p(S,C),H(V,S,null),p(S,M),$&&$.m(S,null),p(S,G),Pe&&Pe.m(S,null),p(S,B),Te&&Te.m(S,null),p(S,x),Me&&Me.m(S,null),p(S,L),re&&re.m(S,null),p(S,te),_e&&_e.m(S,null),t[192](o),t[193](e),z=!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=kr(J),X.c(),d(X,1),X.m(s,l)):X&&(fe(),g(X,1,1,()=>{X=null}),de()),J[35]?le?(le.p(J,Q),Q[1]&16&&d(le,1)):(le=yr(J),le.c(),d(le,1),le.m(s,r)):le&&(fe(),g(le,1,1,()=>{le=null}),de()),J[36]?P?(P.p(J,Q),Q[1]&32&&d(P,1)):(P=Cr(J),P.c(),d(P,1),P.m(s,a)):P&&(fe(),g(P,1,1,()=>{P=null}),de()),J[37]?oe?(oe.p(J,Q),Q[1]&64&&d(oe,1)):(oe=Pr(J),oe.c(),d(oe,1),oe.m(s,c)):oe&&(fe(),g(oe,1,1,()=>{oe=null}),de()),J[118]&&j.p(J,Q),!J[4]&&J[33]?ne?(ne.p(J,Q),Q[0]&16|Q[1]&4&&d(ne,1)):(ne=Sr(J),ne.c(),d(ne,1),ne.m(s,m)):ne&&(fe(),g(ne,1,1,()=>{ne=null}),de()),J[19]?we?(we.p(J,Q),Q[0]&524288&&d(we,1)):(we=Tr(J),we.c(),d(we,1),we.m(s,h)):we&&(fe(),g(we,1,1,()=>{we=null}),de());const et={};if(Q[0]&1048576&&(et.disabled=!J[20]),Q[0]&1048576|Q[2]&2621440|Q[6]&67108864&&(et.$$scope={dirty:Q,ctx:J}),!b&&Q[0]&8388608&&(b=!0,et.ref=J[23].episodes,Oe(()=>b=!1)),v.$set(et),Q[0]&268435456){Ie=Ut(J[28]);let ye;for(ye=0;ye<Ie.length;ye+=1){const Ge=wr(J,Ie,ye);Ce[ye]?(Ce[ye].p(Ge,Q),d(Ce[ye],1)):(Ce[ye]=Ar(Ge),Ce[ye].c(),d(Ce[ye],1),Ce[ye].m(S,k))}for(fe(),ye=Ie.length;ye<Ce.length;ye+=1)ue(ye);de()}J[43]?K?(K.p(J,Q),Q[1]&4096&&d(K,1)):(K=Ir(J),K.c(),d(K,1),K.m(S,C)):K&&(fe(),g(K,1,1,()=>{K=null}),de());const Xe={};Q[2]&65536|Q[6]&67108864&&(Xe.$$scope={dirty:Q,ctx:J}),!ie&&Q[0]&8388608&&(ie=!0,Xe.ref=J[23].volume,Oe(()=>ie=!1)),V.$set(Xe),J[40]?$?($.p(J,Q),Q[1]&512&&d($,1)):($=Lr(J),$.c(),d($,1),$.m(S,G)):$&&(fe(),g($,1,1,()=>{$=null}),de()),!J[84]&&!J[4]?Pe?(Pe.p(J,Q),Q[0]&16|Q[2]&4194304&&d(Pe,1)):(Pe=Vr(J),Pe.c(),d(Pe,1),Pe.m(S,B)):Pe&&(fe(),g(Pe,1,1,()=>{Pe=null}),de()),J[42]?Te?(Te.p(J,Q),Q[1]&2048&&d(Te,1)):(Te=Mr(J),Te.c(),d(Te,1),Te.m(S,x)):Te&&(fe(),g(Te,1,1,()=>{Te=null}),de()),J[85].features.contextMenuButton&&Me.p(J,Q),J[44]?re?(re.p(J,Q),Q[1]&8192&&d(re,1)):(re=Br(J),re.c(),d(re,1),re.m(S,te)):re&&(fe(),g(re,1,1,()=>{re=null}),de()),J[39]?_e?(_e.p(J,Q),Q[1]&256&&d(_e,1)):(_e=Rr(J),_e.c(),d(_e,1),_e.m(S,null)):_e&&(fe(),g(_e,1,1,()=>{_e=null}),de()),(!z||Q[0]&2)&&R(e,"hidden",J[1]),(!z||Q[0]&8)&&R(e,"controls-hidden",!J[3]),(!z||Q[0]&4)&&R(e,"no-smooth",J[2])},i(J){if(!z){d(i.$$.fragment,J),d(X),d(le),d(P),d(oe),d(j),d(ne),d(we),d(v.$$.fragment,J);for(let Q=0;Q<Ie.length;Q+=1)d(Ce[Q]);d(K),d(V.$$.fragment,J),d($),d(Pe),d(Te),d(Me),d(re),d(_e),z=!0}},o(J){g(i.$$.fragment,J),g(X),g(le),g(P),g(oe),g(j),g(ne),g(we),g(v.$$.fragment,J),Ce=Ce.filter(Boolean);for(let Q=0;Q<Ce.length;Q+=1)g(Ce[Q]);g(K),g(V.$$.fragment,J),g($),g(Pe),g(Te),g(Me),g(re),g(_e),z=!1},d(J){J&&T(e),F(i),X&&X.d(),le&&le.d(),P&&P.d(),oe&&oe.d(),j&&j.d(),ne&&ne.d(),we&&we.d(),F(v),w(),wn(Ce,J),K&&K.d(),F(V),$&&$.d(),Pe&&Pe.d(),Te&&Te.d(),Me&&Me.d(),re&&re.d(),_e&&_e.d(),t[192](null),t[193](null)}}}function V3(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B,x,L,te,z,X,le,P,oe,j,ne=W,we=()=>(ne(),ne=Qt(x,Z=>i(142,j=Z)),x),Ue,qe=W,Ie=()=>(qe(),qe=Qt(B,Z=>i(143,Ue=Z)),B),Ce,ue=W,K=()=>(ue(),ue=Qt(G,Z=>i(144,Ce=Z)),G),ae,be=W,$=()=>(be(),be=Qt(M,Z=>i(145,ae=Z)),M),Pe,Te=W,Me=()=>(Te(),Te=Qt(ie,Z=>i(146,Pe=Z)),ie),re,_e=W,J=()=>(_e(),_e=Qt(V,Z=>i(147,re=Z)),V),Q,De=W,et=()=>(De(),De=Qt(C,Z=>i(148,Q=Z)),C),Xe,ye=W,Ge=()=>(ye(),ye=Qt(k,Z=>i(149,Xe=Z)),k),Je,ct=W,bt=()=>(ct(),ct=Qt(S,Z=>i(150,Je=Z)),S),Fe,Le=W,vt=()=>(Le(),Le=Qt(_,Z=>i(151,Fe=Z)),_),Bt,xt=W,qt=()=>(xt(),xt=Qt(w,Z=>i(152,Bt=Z)),w),ce,pt=W,ht=()=>(pt(),pt=Qt(b,Z=>i(153,ce=Z)),b),ft,st=W,kt=()=>(st(),st=Qt(v,Z=>i(154,ft=Z)),v),Pt,ai=W,Fi=()=>(ai(),ai=Qt(h,Z=>i(155,Pt=Z)),h),Zt,Ui=W,Yi=()=>(Ui(),Ui=Qt(m,Z=>i(156,Zt=Z)),m),$t,Bi=W,Ri=()=>(Bi(),Bi=Qt(f,Z=>i(157,$t=Z)),f),Rt,ei=W,ui=()=>(ei(),ei=Qt(c,Z=>i(158,Rt=Z)),c),Wt,ci,jt,gi,Ni,mt,fi,bi,_i,Nt,vi,ti,ii,St,wi,zt,rt,Tt,zi,ki,yi,ni,Kt;t.$$.on_destroy.push(()=>ne()),t.$$.on_destroy.push(()=>qe()),t.$$.on_destroy.push(()=>ue()),t.$$.on_destroy.push(()=>be()),t.$$.on_destroy.push(()=>Te()),t.$$.on_destroy.push(()=>_e()),t.$$.on_destroy.push(()=>De()),t.$$.on_destroy.push(()=>ye()),t.$$.on_destroy.push(()=>ct()),t.$$.on_destroy.push(()=>Le()),t.$$.on_destroy.push(()=>xt()),t.$$.on_destroy.push(()=>pt()),t.$$.on_destroy.push(()=>st()),t.$$.on_destroy.push(()=>ai()),t.$$.on_destroy.push(()=>Ui()),t.$$.on_destroy.push(()=>Bi()),t.$$.on_destroy.push(()=>ei());let{bottomHidden:qi}=e,{bottomNoSmooth:Et}=e,{showControls:wt}=e,{controlsElementRef:yt=void 0}=e,{isAds:At=!1}=e,{canRewindLive:Zi}=e,{logoClickable:Gt}=e,{logoHidden:Ci}=e,{videoLogoUrl:Di}=e,{showNextPrevButtons:Pi}=e,{nextButtonActive:Qi}=e,{prevButtonActive:Si}=e,{isOneVideoPlaylist:di=!1}=e,{supportLink:mi}=e,{customFullscreenSupported:Ti=!0}=e,{playNextVideo:Ei}=e,{playPrevVideo:Ai}=e,{repeatPlaylist:Ae}=e,{toggleFullscreen:Wi}=e,{returnFocus:ji}=e,{seekToInteractive:Ii}=e,{toggleGraph:Ki}=e,{playPrevChapter:Li}=e;const Ne=ut(),pi=sl(),Vi=ln(),Dt=Ne.actions.internal.toggleMuted,Ot=Ne.actions.internal.togglePlay,oi=Ne.actions.internal.pause,$i=Ne.actions.internal.toggleSubtitle,Oi=Ne.callbacks?.onAudioDoesNotExistHint,en=Ne.callbacks?.onAudioDisabledHint,tn=Ne.state.duration$;O(t,tn,Z=>i(83,ni=Z));const Xi=Ne.state.positionWithScrubbing$;O(t,Xi,Z=>i(81,ki=Z));const Mi=Ne.state.playbackState$;O(t,Mi,Z=>i(159,jt=Z));const Gi=Ne.state.chromecastConnected$;O(t,Gi,Z=>i(84,Kt=Z));const Hi=Ne.state.isAudioAvailable$;O(t,Hi,Z=>i(78,L=Z));const nn=Ne.state.isAudioDisabled,ee=Ne.state.isEnded$;O(t,ee,Z=>i(167,St=Z));const xe=Ne.state.isLive$;O(t,xe,Z=>i(33,bi=Z));const gt=Ne.state.isActiveLive$;O(t,gt,Z=>i(161,mt=Z));const li=Ne.state.isRewindableLive$;O(t,li,Z=>i(32,fi=Z));const Ji=Ne.ui.isPictureInPictureActive$;O(t,Ji,Z=>i(163,Nt=Z));const sn=Ne.ui.pictureInPictureType$;O(t,sn,Z=>i(162,_i=Z));const kn=Ne.ui.settingsMenuVisible;O(t,kn,Z=>i(27,X=Z));const It=Ne.ui.settingsMenuOpenedByKeyboard;O(t,It,Z=>i(139,z=Z));const rn=Ne.ui.controls,an=Ne.actions.internal.getVideoEpisodes(),dn=Ne.state.chromecastState$;O(t,dn,Z=>i(29,Wt=Z));const yn=Ne.state.availableSubtitlesList$;O(t,yn,Z=>i(166,ii=Z));const mn=Ne.state.currentSubtitle$;O(t,mn,Z=>i(168,wi=Z));const y=rn.disabledControls$;O(t,y,Z=>i(170,rt=Z));const at=Ne.ui.contextMenuVisible;O(t,at,Z=>i(160,gi=Z));const zn=Ne.ui.contextMenu.showContextMenuBtn$;O(t,zn,Z=>i(164,vi=Z));const Dn=Ne.ui.contextMenu.openedByKeyboard$;O(t,Dn,Z=>i(165,ti=Z));const Tn=Ne.ui.startedByKeyboard$;O(t,Tn,Z=>i(138,te=Z));const $n=Ne.ads.duration;O(t,$n,Z=>i(82,yi=Z));const eo=Ne.ads.position;O(t,eo,Z=>i(80,zi=Z));const to=Ne.ads.playbackState;O(t,to,Z=>i(169,zt=Z));const io=Ne.ui.isFullscreen;O(t,io,Z=>i(30,ci=Z));const Kn=Ne.ui.playerSize;O(t,Kn,Z=>i(140,le=Z));const no=Ne.ui.currentGridType$;O(t,no,Z=>i(141,P=Z));const Gn=Ne.ui.additionalButtons$;O(t,Gn,Z=>i(28,oe=Z));const Yn=Ne.actions.internal.getVideoElement,oo=Ne.actions.internal.replayInteractive,pn=Ne.state.isInteractive,On=Ne.state.isInteractiveGraphEnabled,lo=Ne.state.isSeekToInteractiveEnable,Hn=Ne.state.isPlayPrevChapterEnabled,so=Ne.state.graphIsOpened$;O(t,so,Z=>i(31,Ni=Z));const Co=Ne.state.playPrevChapterDisabledTooltip,En=pi.seekToInteractiveDisabledTooltip$;O(t,En,Z=>i(79,Tt=Z));const ro=()=>Ne.actions.internal.toggleChromecast();let ao,Fn,Un,Qn,q,si,it,I,se,ke,Be,je,Ht,Yt,Lt,un,qn,Po,So,Gl,Yl,ul="";const qu=(Z,fl)=>{if(!Z){i(50,ul=Y("tooltip_live"));return}fl===Ft.PAUSED&&i(50,ul=Y("tooltip_play"))};let Ql,Xl,Jl,xl,Oo;const Ze={};let hn,To,cl,$l;const Zu=ol(Eu,w1,{leading:!1});let Ho,Fo,Uo;function Wu(){nn?en?.():L?Dt():Oi?.()}const ju=pn?oo:di?Ot:Ae;function Ku(Z){t.$$.not_equal(Ze.prevButton,Z)&&(Ze.prevButton=Z,i(23,Ze))}function Gu(Z){t.$$.not_equal(Ze.replayButton,Z)&&(Ze.replayButton=Z,i(23,Ze))}function Yu(Z){Uo=Z,i(26,Uo)}function Qu(Z){t.$$.not_equal(Ze.playButton,Z)&&(Ze.playButton=Z,i(23,Ze))}function Xu(Z){t.$$.not_equal(Ze.nextButton,Z)&&(Ze.nextButton=Z,i(23,Ze))}function Ju(Z){t.$$.not_equal(Ze.playPrevChapterButton,Z)&&(Ze.playPrevChapterButton=Z,i(23,Ze))}function xu(Z){t.$$.not_equal(Ze.seekToInteractiveButton,Z)&&(Ze.seekToInteractiveButton=Z,i(23,Ze))}function $u(Z){t.$$.not_equal(Ze.interactiveGraphButton,Z)&&(Ze.interactiveGraphButton=Z,i(23,Ze))}function ec(Z){t.$$.not_equal(Ze.liveButton,Z)&&(Ze.liveButton=Z,i(23,Ze))}function tc(Z){t.$$.not_equal(Ze.time,Z)&&(Ze.time=Z,i(23,Ze))}function ic(Z){t.$$.not_equal(Ze.episodes,Z)&&(Ze.episodes=Z,i(23,Ze))}function nc(){Oo=this.clientWidth,i(22,Oo)}function oc(Z){t.$$.not_equal(Ze.vkLogo,Z)&&(Ze.vkLogo=Z,i(23,Ze))}function lc(Z){t.$$.not_equal(Ze.volume,Z)&&(Ze.volume=Z,i(23,Ze))}function sc(Z){t.$$.not_equal(Ze.subtitles,Z)&&(Ze.subtitles=Z,i(23,Ze))}function rc(Z){Ho=Z,i(24,Ho)}function ac(Z){Fo=Z,i(25,Fo)}function uc(Z){t.$$.not_equal(Ze.settings,Z)&&(Ze.settings=Z,i(23,Ze))}function cc(Z){t.$$.not_equal(Ze.context,Z)&&(Ze.context=Z,i(23,Ze))}function fc(Z){t.$$.not_equal(Ze.fullscreen,Z)&&(Ze.fullscreen=Z,i(23,Ze))}function dc(Z){t.$$.not_equal(Ze.chromecast,Z)&&(Ze.chromecast=Z,i(23,Ze))}function mc(Z){ve[Z?"unshift":"push"](()=>{qn=Z,i(46,qn)})}function pc(Z){ve[Z?"unshift":"push"](()=>{yt=Z,i(0,yt)})}return t.$$set=Z=>{"bottomHidden"in Z&&i(1,qi=Z.bottomHidden),"bottomNoSmooth"in Z&&i(2,Et=Z.bottomNoSmooth),"showControls"in Z&&i(3,wt=Z.showControls),"controlsElementRef"in Z&&i(0,yt=Z.controlsElementRef),"isAds"in Z&&i(4,At=Z.isAds),"canRewindLive"in Z&&i(5,Zi=Z.canRewindLive),"logoClickable"in Z&&i(6,Gt=Z.logoClickable),"logoHidden"in Z&&i(128,Ci=Z.logoHidden),"videoLogoUrl"in Z&&i(7,Di=Z.videoLogoUrl),"showNextPrevButtons"in Z&&i(129,Pi=Z.showNextPrevButtons),"nextButtonActive"in Z&&i(8,Qi=Z.nextButtonActive),"prevButtonActive"in Z&&i(9,Si=Z.prevButtonActive),"isOneVideoPlaylist"in Z&&i(130,di=Z.isOneVideoPlaylist),"supportLink"in Z&&i(10,mi=Z.supportLink),"customFullscreenSupported"in Z&&i(131,Ti=Z.customFullscreenSupported),"playNextVideo"in Z&&i(11,Ei=Z.playNextVideo),"playPrevVideo"in Z&&i(12,Ai=Z.playPrevVideo),"repeatPlaylist"in Z&&i(132,Ae=Z.repeatPlaylist),"toggleFullscreen"in Z&&i(13,Wi=Z.toggleFullscreen),"returnFocus"in Z&&i(14,ji=Z.returnFocus),"seekToInteractive"in Z&&i(15,Ii=Z.seekToInteractive),"toggleGraph"in Z&&i(16,Ki=Z.toggleGraph),"playPrevChapter"in Z&&i(17,Li=Z.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[5]&32768&&i(137,n=rt.has(nt.EPISODE_BUTTON)),t.$$.dirty[5]&32768&&i(77,o=rt.has(nt.GRAPH_BUTTON)),t.$$.dirty[5]&32768&&i(76,s=rt.has(nt.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[5]&32768&&i(75,l=rt.has(nt.PLAY_BUTTON)),t.$$.dirty[5]&32768&&i(74,r=rt.has(nt.REPLAY_BUTTON)),t.$$.dirty[5]&32768&&i(73,a=rt.has(nt.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[0]&16|t.$$.dirty[5]&16400&&i(34,ao=At?zt===Xt.PLAYING:jt===Ft.PLAYING),t.$$.dirty[5]&8192&&i(18,Fn=wi.value!=="off"),t.$$.dirty[0]&16|t.$$.dirty[5]&4096&&i(35,Un=St&&!At||pn),t.$$.dirty[0]&16|t.$$.dirty[5]&4096&&i(36,Qn=!St||pn||At),t.$$.dirty[4]&131072&&i(133,q=gn(P,_t.M)),t.$$.dirty[0]&272|t.$$.dirty[4]&131104&&i(37,si=Pi&&gn(P,_t.M)&&!At&&Qi),t.$$.dirty[0]&528|t.$$.dirty[4]&131104&&i(38,it=Pi&&gn(P,_t.M)&&!At&&Si),t.$$.dirty[0]&536870912|t.$$.dirty[4]&131072|t.$$.dirty[5]&384&&i(39,I=Wt!==Pn.NOT_AVAILABLE&&!(Nt&&_i===Ln.DocumentPictureInPicture)&&gn(P,_t.M)&&!pn),t.$$.dirty[4]&131072|t.$$.dirty[5]&2048&&i(40,se=ii.length>0&&gn(P,_t.M)),t.$$.dirty[5]&1536&&i(41,ke=ti||vi),t.$$.dirty[4]&131072&&i(42,Be=gn(P,_t.S)),t.$$.dirty[4]&16&&i(43,je=!Ci),t.$$.dirty[4]&131216|t.$$.dirty[5]&384&&i(44,Ht=Vi.features.fullscreen&&(Ci||gn(P,_t.S))&&!(Nt&&_i===Ln.DocumentPictureInPicture)&&(pn?Ti:!0)),t.$$.dirty[0]&16|t.$$.dirty[1]&4&&i(19,Yt=(!bi||At)&&!(Vi.features.interactiveHideTime&&pn)),t.$$.dirty[4]&65536&&i(45,Lt=le.width>100),t.$$.dirty[0]&16|t.$$.dirty[1]&4|t.$$.dirty[4]&8704&&i(20,un=!At&&!bi&&!!an?.length&&q&&!n),t.$$.dirty[1]&2|t.$$.dirty[5]&64&&i(21,Po=!fi||mt),t.$$.dirty[5]&16&&i(47,So=jt===Ft.PLAYING?Y("tooltip_pause"):Y("tooltip_play")),t.$$.dirty[1]&1&&i(48,Gl=Y(Ni?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),t.$$.dirty[5]&32&&i(49,Yl=Y(gi?"aria_label_context_menu_close":"aria_label_context_menu_open")),t.$$.dirty[0]&2097152|t.$$.dirty[5]&16&&qu(Po,jt),t.$$.dirty[0]&262144&&i(52,Xl=Y(Fn?"tooltip_subtitles_on":"tooltip_subtitles_off")),t.$$.dirty[0]&1073741824&&i(53,Jl=Y(ci?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),t.$$.dirty[0]&536870912&&i(54,xl=Wt===Pn.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off")),t.$$.dirty[0]&268435456|t.$$.dirty[4]&2147221504|t.$$.dirty[5]&15&&i(134,hn={prevButton:Rt?Rt.right-Rt.left:0,replayButton:$t?$t.right-$t.left:0,playButton:Zt?Zt.right-Zt.left:0,nextButton:Pt?Pt.right-Pt.left:0,playPrevChapterButton:ft?ft.right-ft.left:0,seekToInteractiveButton:ce?ce.right-ce.left:0,interactiveGraphButton:Bt?Bt.right-Bt.left:0,liveButton:Fe?Fe.right-Fe.left:0,time:Je?Je.right-Je.left:0,episodes:Xe?Xe.right-Xe.left:0,vkLogo:Q?Q.right-Q.left:0,volume:re?re.right-re.left:0,subtitles:Pe?Pe.right-Pe.left:0,settings:ae?ae.right-ae.left:0,context:Ce?Ce.right-Ce.left:0,fullscreen:Ue?Ue.right-Ue.left:0,chromecast:j?j.right-j.left:0,additionalButtons:oe.length?oe.reduce(Z=>[...Z,40],[]):[]}),t.$$.dirty[4]&3072&&(!To||To<hn.time)&&i(135,To=hn.time),t.$$.dirty[0]&5767168|t.$$.dirty[4]&134144){let Z=0;un&&(gn(P,_t.XL)?Z=hn.time:Z=of);const fl=hn.prevButton+hn.playButton+hn.nextButton+hn.seekToInteractiveButton+hn.interactiveGraphButton+hn.liveButton+To+Z;i(136,cl=Yt&&Oo>=fl)}t.$$.dirty[4]&135168&&i(55,$l=cl&&gn(P,_t.M)),t.$$.dirty[0]&8388616|t.$$.dirty[4]&65536&&Zu(Yn(),rn,Ze,wt),t.$$.dirty[0]&167772160&&Ol(Fo,X,It),t.$$.dirty[0]&150994944|t.$$.dirty[4]&32768&&Hl(Ho,X,z),t.$$.dirty[0]&67108864|t.$$.dirty[4]&16384&&Au(Tn,te,Uo)},i(51,Ql=Vi.logoType===wo.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),ui(i(72,{prevButton:c,replayButton:f,playButton:m,nextButton:h,playPrevChapterButton:v,seekToInteractiveButton:b,interactiveGraphButton:w,liveButton:_,time:S,episodes:k,vkLogo:C,volume:V,subtitles:ie,settings:M,context:G,fullscreen:B,chromecast:x}=rn,c,Ri(i(71,f)),Yi(i(70,m)),Fi(i(69,h)),kt(i(68,v)),ht(i(67,b)),qt(i(66,w)),vt(i(65,_)),bt(i(64,S)),Ge(i(63,k)),et(i(62,C)),J(i(61,V)),Me(i(60,ie)),$(i(59,M)),K(i(58,G)),Ie(i(57,B)),we(i(56,x)))),[yt,qi,Et,wt,At,Zi,Gt,Di,Qi,Si,mi,Ei,Ai,Wi,ji,Ii,Ki,Li,Fn,Yt,un,Po,Oo,Ze,Ho,Fo,Uo,X,oe,Wt,ci,Ni,fi,bi,ao,Un,Qn,si,it,I,se,ke,Be,je,Ht,Lt,qn,So,Gl,Yl,ul,Ql,Xl,Jl,xl,$l,x,B,G,M,ie,V,C,k,S,_,w,b,v,h,m,f,c,a,r,l,s,o,L,Tt,zi,ki,yi,ni,Kt,Vi,Ot,oi,$i,tn,Xi,Mi,Gi,Hi,ee,xe,gt,li,Ji,sn,kn,It,an,dn,yn,mn,y,at,zn,Dn,Tn,$n,eo,to,io,Kn,no,Gn,pn,On,lo,Hn,so,Co,En,ro,Wu,ju,Ci,Pi,di,Ti,Ae,q,hn,To,cl,n,te,z,le,P,j,Ue,Ce,ae,Pe,re,Q,Xe,Je,Fe,Bt,ce,ft,Pt,Zt,$t,Rt,jt,gi,mt,_i,Nt,vi,ti,ii,St,wi,zt,rt,Ku,Gu,Yu,Qu,Xu,Ju,xu,$u,ec,tc,ic,nc,oc,lc,sc,rc,ac,uc,cc,fc,dc,mc,pc]}class M3 extends ge{constructor(e){super(),he(this,e,V3,L3,pe,{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},r3,[-1,-1,-1,-1,-1,-1,-1])}}function B3(t){let e,i,n,o;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(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:W,i:W,o:W,d(s){s&&T(e)}}}class R3 extends ge{constructor(e){super(),he(this,e,null,B3,pe,{})}}function N3(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 Nr(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:W,d(i){i&&T(e)}}}function z3(t){let e,i,n,o;var s=t[4];function l(a){return{}}s&&(i=Sn(s,l()));let r=t[1]&&Nr();return{c(){e=A("div"),i&&U(i.$$.fragment),n=D(),r&&r.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),R(e,"expanded",t[1])},m(a,c){E(a,e,c),i&&H(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){fe();const f=i;g(f.$$.fragment,1,0,()=>{F(f,1)}),de()}s?(i=Sn(s,l()),U(i.$$.fragment),d(i.$$.fragment,1),H(i,e,n)):i=null}a[1]?r?r.p(a,c):(r=Nr(),r.c(),r.m(e,null)):r&&(r.d(1),r=null),(!o||c&2)&&R(e,"expanded",a[1])},i(a){o||(i&&d(i.$$.fragment,a),o=!0)},o(a){i&&g(i.$$.fragment,a),o=!1},d(a){a&&T(e),i&&F(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:[z3]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.testId=l[1]?"btn-mobile-unmuted":"btn-mobile-muted"),r&4&&(a.click=l[2]),r&8&&(a.ariaLabel=l[3]),r&146&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function O3(t,e,i){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:s=Ke}=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?rl:R3)},[l,o,s,r,a,n,c]}class Iu extends ge{constructor(e){super(),he(this,e,O3,D3,pe,{muted:5,expanded:1,click:2,ref:0},N3)}}function H3(t){let e,i,n,o;return{c(){e=N("svg"),i=N("path"),n=N("path"),o=N("path"),u(i,"fill",t[1]),u(i,"clip-rule","evenodd"),u(i,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",t[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),R(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"),R(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&&R(n,"hidden",!s[0]),l&2&&u(o,"fill",s[1]),l&1&&R(o,"hidden",s[0])},i:W,o:W,d(s){s&&T(e)}}}function F3(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 U3 extends ge{constructor(e){super(),he(this,e,F3,H3,pe,{isActive:0})}}function q3(t){let e,i;return e=new U3({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Z3(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:[q3]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new hi({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,[r]){const a={};r&4&&(a.click=l[2]),r&18&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function W3(t,e,i){let{ref:n=void 0}=e,{isPictureInPictureActive:o=!1}=e,{click:s=Ke}=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 j3 extends ge{constructor(e){super(),he(this,e,W3,Z3,pe,{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 zr(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 Dr(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k=(!t[51]||t[53])&&Or(t),C=Ut(t[56]),V=[];for(let P=0;P<C.length;P+=1)V[P]=Hr(zr(t,C,P));const ie=P=>g(V[P],1,1,()=>{V[P]=null});let M=t[36]&&Fr(t),G=t[37]&&Ur(t),B=t[57]&&qr(t),x=t[39]&&Zr(t),L=t[8]&&Wr(t),te=t[34]&&jr(t),z=t[33]&&Kr(t),X=t[8]&&Gr(t),le=t[95]&&!t[29]&&Yr(t);return{c(){e=A("div"),i=D(),n=A("div"),k&&k.c(),o=D(),s=A("div");for(let P=0;P<V.length;P+=1)V[P].c();l=D(),M&&M.c(),r=D(),G&&G.c(),a=D(),B&&B.c(),c=D(),x&&x.c(),f=D(),m=A("div"),L&&L.c(),h=D(),te&&te.c(),v=D(),z&&z.c(),b=D(),X&&X.c(),w=D(),le&&le.c(),_=lt(),u(e,"class","overlay-mobile v-1tcstu3"),R(e,"hidden",!t[42]),u(n,"class","wrapper-top-left v-1tcstu3"),R(n,"hidden",!t[3]),R(n,"fullscreen",t[52]),u(s,"class","wrapper-top-right v-1tcstu3"),R(s,"hidden",!t[3]&&!t[27]),R(s,"fullscreen",t[52]),u(m,"class","wrapper-middle v-1tcstu3"),R(m,"hidden",!t[3]||t[29])},m(P,oe){E(P,e,oe),E(P,i,oe),E(P,n,oe),k&&k.m(n,null),E(P,o,oe),E(P,s,oe);for(let j=0;j<V.length;j+=1)V[j]&&V[j].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(P,f,oe),E(P,m,oe),L&&L.m(m,null),p(m,h),te&&te.m(m,null),p(m,v),z&&z.m(m,null),p(m,b),X&&X.m(m,null),E(P,w,oe),le&&le.m(P,oe),E(P,_,oe),S=!0},p(P,oe){if((!S||oe[1]&2048)&&R(e,"hidden",!P[42]),!P[51]||P[53]?k?(k.p(P,oe),oe[1]&5242880&&d(k,1)):(k=Or(P),k.c(),d(k,1),k.m(n,null)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),(!S||oe[0]&8)&&R(n,"hidden",!P[3]),(!S||oe[1]&2097152)&&R(n,"fullscreen",P[52]),oe[1]&33554432){C=Ut(P[56]);let j;for(j=0;j<C.length;j+=1){const ne=zr(P,C,j);V[j]?(V[j].p(ne,oe),d(V[j],1)):(V[j]=Hr(ne),V[j].c(),d(V[j],1),V[j].m(s,l))}for(fe(),j=C.length;j<V.length;j+=1)ie(j);de()}P[36]?M?(M.p(P,oe),oe[1]&32&&d(M,1)):(M=Fr(P),M.c(),d(M,1),M.m(s,r)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),P[37]?G?(G.p(P,oe),oe[1]&64&&d(G,1)):(G=Ur(P),G.c(),d(G,1),G.m(s,a)):G&&(fe(),g(G,1,1,()=>{G=null}),de()),P[57]?B?(B.p(P,oe),oe[1]&67108864&&d(B,1)):(B=qr(P),B.c(),d(B,1),B.m(s,c)):B&&(fe(),g(B,1,1,()=>{B=null}),de()),P[39]?x?(x.p(P,oe),oe[1]&256&&d(x,1)):(x=Zr(P),x.c(),d(x,1),x.m(s,null)):x&&(fe(),g(x,1,1,()=>{x=null}),de()),(!S||oe[0]&134217736)&&R(s,"hidden",!P[3]&&!P[27]),(!S||oe[1]&2097152)&&R(s,"fullscreen",P[52]),P[8]?L?(L.p(P,oe),oe[0]&256&&d(L,1)):(L=Wr(P),L.c(),d(L,1),L.m(m,h)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),P[34]?te?(te.p(P,oe),oe[1]&8&&d(te,1)):(te=jr(P),te.c(),d(te,1),te.m(m,v)):te&&(fe(),g(te,1,1,()=>{te=null}),de()),P[33]?z?(z.p(P,oe),oe[1]&4&&d(z,1)):(z=Kr(P),z.c(),d(z,1),z.m(m,b)):z&&(fe(),g(z,1,1,()=>{z=null}),de()),P[8]?X?(X.p(P,oe),oe[0]&256&&d(X,1)):(X=Gr(P),X.c(),d(X,1),X.m(m,null)):X&&(fe(),g(X,1,1,()=>{X=null}),de()),(!S||oe[0]&536870920)&&R(m,"hidden",!P[3]||P[29]),P[95]&&!P[29]?le?(le.p(P,oe),oe[0]&536870912&&d(le,1)):(le=Yr(P),le.c(),d(le,1),le.m(_.parentNode,_)):le&&(fe(),g(le,1,1,()=>{le=null}),de())},i(P){if(!S){d(k);for(let oe=0;oe<C.length;oe+=1)d(V[oe]);d(M),d(G),d(B),d(x),d(L),d(te),d(z),d(X),d(le),S=!0}},o(P){g(k),V=V.filter(Boolean);for(let oe=0;oe<V.length;oe+=1)g(V[oe]);g(M),g(G),g(B),g(x),g(L),g(te),g(z),g(X),g(le),S=!1},d(P){P&&(T(e),T(i),T(n),T(o),T(s),T(f),T(m),T(w),T(_)),k&&k.d(),wn(V,P),M&&M.d(),G&&G.d(),B&&B.d(),x&&x.d(),L&&L.d(),te&&te.d(),z&&z.d(),X&&X.d(),le&&le.d(P)}}}function Or(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 Iu({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&8388608&&(a.muted=l[54]),r[1]&17825792&&(a.expanded=l[51]&&!l[70]&&l[55]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].volume,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Hr(t){let e,i;return e=new Su({props:{iconUrl:t[155],ariaLabel:t[156]??t[159],testId:t[157],onClick:t[158]}}),{c(){U(e.$$.fragment)},m(n,o){H(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){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Fr(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 hu({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&268435456&&(a.state=l[28]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].chromecast,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Ur(t){let e,i,n;function o(l){t[123](l)}let s={click:t[102],isPictureInPictureActive:t[26]};return t[20].pip!==void 0&&(s.ref=t[20].pip),e=new j3({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&67108864&&(a.isPictureInPictureActive=l[26]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].pip,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function qr(t){let e,i,n;function o(l){t[124](l)}let s={};return t[22]!==void 0&&(s.ref=t[22]),e=new Ul({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&4194304&&(i=!0,a.ref=l[22],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Zr(t){let e,i,n;function o(l){t[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 pu({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.logoClickable=l[6]),r[0]&128&&(a.videoLogoUrl=l[7]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].vkLogo,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Wr(t){let e,i,n;function o(l){t[126](l)}let s={click:t[13],type:"prev",disabled:!t[10],isMobile:!0};return t[20].prevButton!==void 0&&(s.ref=t[20].prevButton),e=new al({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&8192&&(a.click=l[13]),r[0]&1024&&(a.disabled=!l[10]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].prevButton,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function jr(t){let e,i,n;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 Wl({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&131072&&(a.disabled=l[48]),r[1]&1&&(a.isPlaying=l[31]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].playButton,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Kr(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 jl({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.disabled=l[47]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].replayButton,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Gr(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 al({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&4096&&(a.click=l[12]),r[0]&512&&(a.disabled=!l[9]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].nextButton,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Yr(t){let e,i,n,o,s=t[98]&&G3(t),l=t[96]&&Y3(t),r=t[97]&&Q3(t);return{c(){s&&s.c(),e=D(),l&&l.c(),i=D(),r&&r.c(),n=lt()},m(a,c){s&&s.m(a,c),E(a,e,c),l&&l.m(a,c),E(a,i,c),r&&r.m(a,c),E(a,n,c),o=!0},p(a,c){a[98]&&s.p(a,c),a[96]&&l.p(a,c),a[97]&&r.p(a,c)},i(a){o||(d(s),d(l),d(r),o=!0)},o(a){g(s),g(l),g(r),o=!1},d(a){a&&(T(e),T(i),T(n)),s&&s.d(a),l&&l.d(a),r&&r.d(a)}}}function G3(t){let e,i,n;return i=new Pu({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"),R(e,"fullscreen",t[52]),R(e,"hidden",!t[3])},m(o,s){E(o,e,s),H(i,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.hidden=!o[3]),s[1]&32768&&(l.disabled=o[46]),s[0]&262144&&(l.click=o[18]),i.$set(l),(!n||s[1]&2097152)&&R(e,"fullscreen",o[52]),(!n||s[0]&8)&&R(e,"hidden",!o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function Y3(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 yu({props:l}),ve.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class",Dc(t[98]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),R(e,"fullscreen",t[52]),R(e,"hidden",!t[3]&&!t[58])},m(r,a){E(r,e,a),H(i,e,null),o=!0},p(r,a){const c={};a[0]&8|a[1]&134217728&&(c.hidden=!r[3]&&!r[58]),a[1]&524288&&(c.disabled=r[50]),a[0]&131072&&(c.click=r[17]),a[1]&134217728&&(c.graphIsOpened=r[58]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].interactiveGraphButton,Oe(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&R(e,"fullscreen",r[52]),(!o||a[0]&8|a[1]&134217728)&&R(e,"hidden",!r[3]&&!r[58])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&T(e),F(i)}}}function Q3(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 ku({props:l}),ve.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),R(e,"fullscreen",t[52]),R(e,"hidden",!t[3])},m(r,a){E(r,e,a),H(i,e,null),o=!0},p(r,a){const c={};a[0]&8&&(c.hidden=!r[3]),a[1]&262144&&(c.disabled=r[49]),a[0]&65536&&(c.click=r[16]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].seekToInteractiveButton,Oe(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&R(e,"fullscreen",r[52]),(!o||a[0]&8)&&R(e,"hidden",!r[3])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&T(e),F(i)}}}function Qr(t){let e,i,n,o,s,l=t[53]&&Xr(t),r=t[32]&&Jr(t);return o=new _u({props:{position:t[59],duration:t[60]}}),{c(){l&&l.c(),e=D(),r&&r.c(),i=D(),n=A("div"),U(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),R(n,"fullscreen",t[52])},m(a,c){l&&l.m(a,c),E(a,e,c),r&&r.m(a,c),E(a,i,c),E(a,n,c),H(o,n,null),s=!0},p(a,c){a[53]?l?(l.p(a,c),c[1]&4194304&&d(l,1)):(l=Xr(a),l.c(),d(l,1),l.m(e.parentNode,e)):l&&(fe(),g(l,1,1,()=>{l=null}),de()),a[32]?r?(r.p(a,c),c[1]&2&&d(r,1)):(r=Jr(a),r.c(),d(r,1),r.m(i.parentNode,i)):r&&(fe(),g(r,1,1,()=>{r=null}),de());const f={};c[1]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),o.$set(f),(!s||c[1]&2097152)&&R(n,"fullscreen",a[52])},i(a){s||(d(l),d(r),d(o.$$.fragment,a),s=!0)},o(a){g(l),g(r),g(o.$$.fragment,a),s=!1},d(a){a&&(T(e),T(i),T(n)),l&&l.d(a),r&&r.d(a),F(o)}}}function Xr(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 Iu({props:l}),ve.push(()=>He(i,"ref",s)),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),R(e,"fullscreen",t[52])},m(r,a){E(r,e,a),H(i,e,null),o=!0},p(r,a){const c={};a[1]&8388608&&(c.muted=r[54]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].volume,Oe(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&R(e,"fullscreen",r[52])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&T(e),F(i)}}}function Jr(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 Wl({props:l}),ve.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),H(i,e,null),o=!0},p(r,a){const c={};a[1]&131072&&(c.disabled=r[48]),a[1]&2&&(c.isPlaying=!r[32]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].playButton,Oe(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&T(e),F(i)}}}function X3(t){let e,i,n;function o(l){t[134](l)}let s={disabled:t[47],$$slots:{default:[J3]},$$scope:{ctx:t}};return t[20].replayButton!==void 0&&(s.ref=t[20].replayButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.disabled=l[47]),r[1]&65536|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].replayButton,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function J3(t){let e,i;return e=new jl({props:{disabled:t[47],click:t[94]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[1]&65536&&(s.disabled=n[47]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function xr(t){let e,i,n;function o(l){t[135](l)}let s={$$slots:{default:[x3]},$$scope:{ctx:t}};return t[20].liveButton!==void 0&&(s.ref=t[20].liveButton),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&524288|r[1]&16384|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].liveButton,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function x3(t){let e,i;return e=new gu({props:{isActiveLive:t[19],isMobile:!0,ariaLabel:t[45]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&524288&&(s.isActiveLive=n[19]),o[1]&16384&&(s.ariaLabel=n[45]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function $r(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 uu({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&16&&(a.showDuration=l[35]),r[0]&16|r[1]&1342177280&&(a.position=l[4]?l[59]:l[61]),r[0]&16|r[1]&536870912|r[2]&1&&(a.duration=l[4]?l[60]:l[62]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].time,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function ea(t){let e,i,n,o;return n=new wu({props:{position:t[61],duration:t[62],timeCodes:t[84]}}),{c(){e=A("div"),e.textContent="\xB7",i=D(),U(n.$$.fragment),u(e,"aria-hidden","true")},m(s,l){E(s,e,l),E(s,i,l),H(n,s,l),o=!0},p(s,l){const r={};l[1]&1073741824&&(r.position=s[61]),l[2]&1&&(r.duration=s[62]),n.$set(r)},i(s){o||(d(n.$$.fragment,s),o=!0)},o(s){g(n.$$.fragment,s),o=!1},d(s){s&&(T(e),T(i)),F(n,s)}}}function $3(t){let e,i,n=t[43]&&ea(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=ea(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&T(e),n&&n.d(o)}}}function ta(t){let e,i,n;function o(l){t[139](l)}let s={$$slots:{default:[ep]},$$scope:{ctx:t}};return t[20].settings!==void 0&&(s.ref=t[20].settings),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&4194304|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].settings,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function ep(t){let e,i,n;function o(l){t[138](l)}let s={};return t[22]!==void 0&&(s.ref=t[22]),e=new Ul({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&4194304&&(i=!0,a.ref=l[22],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function ia(t){let e,i,n;function o(l){t[140](l)}let s={$$slots:{default:[tp]},$$scope:{ctx:t}};return t[20].fullscreen!==void 0&&(s.ref=t[20].fullscreen),e=new Mt({props:s}),ve.push(()=>He(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&16384|r[1]&2097152|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].fullscreen,Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function tp(t){let e,i;return e=new du({props:{click:t[14],isFullscreen:t[52]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&16384&&(s.click=n[14]),o[1]&2097152&&(s.isFullscreen=n[52]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function na(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 au({props:l}),ve.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),H(i,e,null),o=!0},p(r,a){const c={};a[0]&2048&&(c.supportLink=r[11]),a[0]&32768&&(c.returnFocus=r[15]),!n&&a[0]&2097152&&(n=!0,c.ref=r[21],Oe(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&T(e),F(i)}}}function ip(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k=!t[4]&&Dr(t),C=t[4]&&t[30]!==Xt.INACTIVE&&Qr(t),V=t[95]&&X3(t),ie=!t[4]&&t[25]&&xr(t),M=t[41]&&$r(t);function G(z){t[137](z)}let B={className:"w-max",disabled:!t[43],$$slots:{default:[$3]},$$scope:{ctx:t}};t[20].episodes!==void 0&&(B.ref=t[20].episodes),c=new Mt({props:B}),ve.push(()=>He(c,"ref",G));let x=t[38]&&ta(t),L=t[40]&&ia(t);b=new vu({props:{isAds:t[4],canRewindLive:t[5],isRewindableLive:t[24]}});let te=t[23]&&na(t);return{c(){k&&k.c(),e=D(),C&&C.c(),i=D(),n=A("div"),o=A("div"),s=A("div"),V&&V.c(),l=D(),ie&&ie.c(),r=D(),M&&M.c(),a=D(),U(c.$$.fragment),m=D(),x&&x.c(),h=D(),L&&L.c(),v=D(),U(b.$$.fragment),w=D(),te&&te.c(),_=lt(),u(s,"class","controls v-1tcstu3"),R(s,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),R(o,"fullscreen",t[52]),u(n,"class","wrapper-bottom v-1tcstu3"),R(n,"hidden",t[1]),R(n,"controls-hidden",!t[3]),R(n,"no-smooth",t[2]),R(n,"mobile",!0)},m(z,X){k&&k.m(z,X),E(z,e,X),C&&C.m(z,X),E(z,i,X),E(z,n,X),p(n,o),p(o,s),V&&V.m(s,null),p(s,l),ie&&ie.m(s,null),p(s,r),M&&M.m(s,null),p(s,a),H(c,s,null),p(s,m),x&&x.m(s,null),p(s,h),L&&L.m(s,null),t[141](s),p(o,v),H(b,o,null),t[142](n),E(z,w,X),te&&te.m(z,X),E(z,_,X),S=!0},p(z,X){z[4]?k&&(fe(),g(k,1,1,()=>{k=null}),de()):k?(k.p(z,X),X[0]&16&&d(k,1)):(k=Dr(z),k.c(),d(k,1),k.m(e.parentNode,e)),z[4]&&z[30]!==Xt.INACTIVE?C?(C.p(z,X),X[0]&1073741840&&d(C,1)):(C=Qr(z),C.c(),d(C,1),C.m(i.parentNode,i)):C&&(fe(),g(C,1,1,()=>{C=null}),de()),z[95]&&V.p(z,X),!z[4]&&z[25]?ie?(ie.p(z,X),X[0]&33554448&&d(ie,1)):(ie=xr(z),ie.c(),d(ie,1),ie.m(s,r)):ie&&(fe(),g(ie,1,1,()=>{ie=null}),de()),z[41]?M?(M.p(z,X),X[1]&1024&&d(M,1)):(M=$r(z),M.c(),d(M,1),M.m(s,a)):M&&(fe(),g(M,1,1,()=>{M=null}),de());const le={};X[1]&4096&&(le.disabled=!z[43]),X[1]&1073745920|X[2]&1|X[5]&128&&(le.$$scope={dirty:X,ctx:z}),!f&&X[0]&1048576&&(f=!0,le.ref=z[20].episodes,Oe(()=>f=!1)),c.$set(le),z[38]?x?(x.p(z,X),X[1]&128&&d(x,1)):(x=ta(z),x.c(),d(x,1),x.m(s,h)):x&&(fe(),g(x,1,1,()=>{x=null}),de()),z[40]?L?(L.p(z,X),X[1]&512&&d(L,1)):(L=ia(z),L.c(),d(L,1),L.m(s,null)):L&&(fe(),g(L,1,1,()=>{L=null}),de());const P={};X[0]&16&&(P.isAds=z[4]),X[0]&32&&(P.canRewindLive=z[5]),X[0]&16777216&&(P.isRewindableLive=z[24]),b.$set(P),(!S||X[1]&2097152)&&R(o,"fullscreen",z[52]),(!S||X[0]&2)&&R(n,"hidden",z[1]),(!S||X[0]&8)&&R(n,"controls-hidden",!z[3]),(!S||X[0]&4)&&R(n,"no-smooth",z[2]),z[23]?te?(te.p(z,X),X[0]&8388608&&d(te,1)):(te=na(z),te.c(),d(te,1),te.m(_.parentNode,_)):te&&(fe(),g(te,1,1,()=>{te=null}),de())},i(z){S||(d(k),d(C),d(V),d(ie),d(M),d(c.$$.fragment,z),d(x),d(L),d(b.$$.fragment,z),d(te),S=!0)},o(z){g(k),g(C),g(V),g(ie),g(M),g(c.$$.fragment,z),g(x),g(L),g(b.$$.fragment,z),g(te),S=!1},d(z){z&&(T(e),T(i),T(n),T(w),T(_)),k&&k.d(z),C&&C.d(z),V&&V.d(),ie&&ie.d(),M&&M.d(),F(c),x&&x.d(),L&&L.d(),t[141](null),F(b),t[142](null),te&&te.d(z)}}}function np(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B,x,L,te,z,X,le,P,oe,j,ne,we,Ue,qe,{bottomHidden:Ie}=e,{bottomNoSmooth:Ce}=e,{showControls:ue}=e,{controlsElementRef:K=void 0}=e,{isAds:ae=!1}=e,{canRewindLive:be}=e,{logoClickable:$}=e,{logoHidden:Pe}=e,{videoLogoUrl:Te}=e,{showNextPrevButtons:Me}=e,{nextButtonActive:re}=e,{prevButtonActive:_e}=e,{isOneVideoPlaylist:J=!1}=e,{supportLink:Q}=e,{customFullscreenSupported:De=!0}=e,{playNextVideo:et}=e,{playPrevVideo:Xe}=e,{repeatPlaylist:ye}=e,{toggleFullscreen:Ge}=e,{returnFocus:Je}=e,{seekToInteractive:ct}=e,{toggleGraph:bt}=e,{playPrevChapter:Fe}=e;const Le=ut(),vt=ln(),Bt=Le.actions.internal.toggleMuted,xt=Le.actions.internal.togglePlay,qt=Le.actions.internal.pause,ce=Le.callbacks?.onAudioDoesNotExistHint,pt=Le.callbacks?.onAudioDisabledHint,ht=Le.playerPhase;O(t,ht,y=>i(118,M=y));const ft=Le.state.duration$;O(t,ft,y=>i(62,qe=y));const st=Le.state.positionWithScrubbing$;O(t,st,y=>i(61,Ue=y));const kt=Le.state.playbackState$;O(t,kt,y=>i(114,h=y));const Pt=Le.state.isAudioAvailable$;O(t,Pt,y=>i(51,v=y));const ai=Le.state.isAudioDisabled,Fi=Le.state.isEnded$;O(t,Fi,y=>i(119,B=y));const Zt=Le.state.isLive$;O(t,Zt,y=>i(25,S=y));const Ui=Le.state.muted$;O(t,Ui,y=>i(54,X=y));const Yi=Le.state.isActiveLive$;O(t,Yi,y=>i(116,w=y));const $t=Le.state.isRewindableLive$;O(t,$t,y=>i(24,_=y));const Bi=Le.ui.scrubbingInProgress;O(t,Bi,y=>i(29,G=y));const Ri=Le.ui.mobileNotReportControlHidden$;O(t,Ri,y=>i(27,V=y));const Rt=Le.ui.isPictureInPictureActive$;O(t,Rt,y=>i(26,C=y));const ei=Le.ui.pictureInPictureType$;O(t,ei,y=>i(117,k=y));const ui=Le.ui.mobileUnmuteButtonExpanded;O(t,ui,y=>i(55,le=y));const Wt=Le.ui.mobileUnmuteButtonVisible;O(t,Wt,y=>i(53,z=y));const ci=Le.ui.settingsMenuVisible;O(t,ci,y=>i(23,m=y));const jt=Le.ui.settingsMenuOpenedByKeyboard;O(t,jt,y=>i(113,f=y));const gi=Le.ui.controls,Ni=Le.actions.internal.getVideoEpisodes(),mt=Le.webApi.pictureInPictureApi,fi=Le.state.chromecastState$;O(t,fi,y=>i(28,ie=y));const bi=Le.state.crashed$;O(t,bi,y=>i(57,oe=y));const _i=gi.disabledControls$;O(t,_i,y=>i(120,L=y));const Nt=Le.ads.duration;O(t,Nt,y=>i(60,we=y));const vi=Le.ads.position;O(t,vi,y=>i(59,ne=y));const ti=Le.ads.playbackState;O(t,ti,y=>i(30,x=y));const ii=Le.ui.isFullscreen;O(t,ii,y=>i(52,te=y));const St=Le.ui.playerSize;O(t,St,y=>i(115,b=y));const wi=Le.ui.additionalButtons$;O(t,wi,y=>i(56,P=y));const zt=Le.actions.internal.getVideoElement,rt=Le.actions.internal.replayInteractive,Tt=Le.state.isInteractive,zi=Le.state.isInteractiveGraphEnabled,ki=Le.state.isSeekToInteractiveEnable,yi=Le.state.isPlayPrevChapterEnabled,ni=Le.state.graphIsOpened$;O(t,ni,y=>i(58,j=y));const Kt=Le.ui.startedByKeyboard$;O(t,Kt,y=>i(112,c=y));let qi,Et,wt,yt,At,Zi,Gt,Ci,Di,Pi,Qi,Si,di,mi,Ti,Ei,Ai;const Ae={},Wi=ol(Eu,w1,{leading:!1}),ji=()=>Le.actions.internal.toggleChromecast();function Ii(){ai?pt?.():v?Bt():ce?.()}async function Ki(){mt?.isActive()?await mt?.remove():await mt?.request()}function Li(){!ai&&v&&Wt.set(!1),Ii()}const Ne=J?xt:ye;let pi="";const Vi=(y,at)=>{if(!y){i(45,pi=Y("tooltip_live"));return}at===Ft.PAUSED&&i(45,pi=Y("tooltip_play"))};let Dt,Ot;function oi(y){t.$$.not_equal(Ae.volume,y)&&(Ae.volume=y,i(20,Ae))}function $i(y){t.$$.not_equal(Ae.chromecast,y)&&(Ae.chromecast=y,i(20,Ae))}function Oi(y){t.$$.not_equal(Ae.pip,y)&&(Ae.pip=y,i(20,Ae))}function en(y){Ot=y,i(22,Ot)}function tn(y){t.$$.not_equal(Ae.vkLogo,y)&&(Ae.vkLogo=y,i(20,Ae))}function Xi(y){t.$$.not_equal(Ae.prevButton,y)&&(Ae.prevButton=y,i(20,Ae))}function Mi(y){t.$$.not_equal(Ae.playButton,y)&&(Ae.playButton=y,i(20,Ae))}function Gi(y){t.$$.not_equal(Ae.replayButton,y)&&(Ae.replayButton=y,i(20,Ae))}function Hi(y){t.$$.not_equal(Ae.nextButton,y)&&(Ae.nextButton=y,i(20,Ae))}function nn(y){t.$$.not_equal(Ae.interactiveGraphButton,y)&&(Ae.interactiveGraphButton=y,i(20,Ae))}function ee(y){t.$$.not_equal(Ae.seekToInteractiveButton,y)&&(Ae.seekToInteractiveButton=y,i(20,Ae))}function xe(y){t.$$.not_equal(Ae.volume,y)&&(Ae.volume=y,i(20,Ae))}function gt(y){t.$$.not_equal(Ae.playButton,y)&&(Ae.playButton=y,i(20,Ae))}function li(y){t.$$.not_equal(Ae.replayButton,y)&&(Ae.replayButton=y,i(20,Ae))}function Ji(y){t.$$.not_equal(Ae.liveButton,y)&&(Ae.liveButton=y,i(20,Ae))}function sn(y){t.$$.not_equal(Ae.time,y)&&(Ae.time=y,i(20,Ae))}function kn(y){t.$$.not_equal(Ae.episodes,y)&&(Ae.episodes=y,i(20,Ae))}function It(y){Ot=y,i(22,Ot)}function rn(y){t.$$.not_equal(Ae.settings,y)&&(Ae.settings=y,i(20,Ae))}function an(y){t.$$.not_equal(Ae.fullscreen,y)&&(Ae.fullscreen=y,i(20,Ae))}function dn(y){ve[y?"unshift":"push"](()=>{Ei=y,i(44,Ei)})}function yn(y){ve[y?"unshift":"push"](()=>{K=y,i(0,K)})}function mn(y){Dt=y,i(21,Dt)}return t.$$set=y=>{"bottomHidden"in y&&i(1,Ie=y.bottomHidden),"bottomNoSmooth"in y&&i(2,Ce=y.bottomNoSmooth),"showControls"in y&&i(3,ue=y.showControls),"controlsElementRef"in y&&i(0,K=y.controlsElementRef),"isAds"in y&&i(4,ae=y.isAds),"canRewindLive"in y&&i(5,be=y.canRewindLive),"logoClickable"in y&&i(6,$=y.logoClickable),"logoHidden"in y&&i(105,Pe=y.logoHidden),"videoLogoUrl"in y&&i(7,Te=y.videoLogoUrl),"showNextPrevButtons"in y&&i(8,Me=y.showNextPrevButtons),"nextButtonActive"in y&&i(9,re=y.nextButtonActive),"prevButtonActive"in y&&i(10,_e=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,et=y.playNextVideo),"playPrevVideo"in y&&i(13,Xe=y.playPrevVideo),"repeatPlaylist"in y&&i(108,ye=y.repeatPlaylist),"toggleFullscreen"in y&&i(14,Ge=y.toggleFullscreen),"returnFocus"in y&&i(15,Je=y.returnFocus),"seekToInteractive"in y&&i(16,ct=y.seekToInteractive),"toggleGraph"in y&&i(17,bt=y.toggleGraph),"playPrevChapter"in y&&i(18,Fe=y.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[3]&134217728&&i(111,n=L.has(nt.EPISODE_BUTTON)),t.$$.dirty[3]&134217728&&i(50,o=L.has(nt.GRAPH_BUTTON)),t.$$.dirty[3]&134217728&&i(49,s=L.has(nt.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[3]&134217728&&i(48,l=L.has(nt.PLAY_BUTTON)),t.$$.dirty[3]&134217728&&i(47,r=L.has(nt.REPLAY_BUTTON)),t.$$.dirty[3]&134217728&&i(46,a=L.has(nt.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[3]&2097152&&i(31,qi=h===Ft.PLAYING),t.$$.dirty[0]&1073741824&&i(32,Et=x===Xt.PAUSED),t.$$.dirty[0]&16|t.$$.dirty[3]&67108864&&i(33,wt=B&&!ae&&!Tt),t.$$.dirty[0]&16|t.$$.dirty[3]&67108864&&i(34,yt=!B||ae),t.$$.dirty[3]&4194304&&i(109,At=b.width>300),t.$$.dirty[3]&4194304&&i(35,Zi=b.width>400),t.$$.dirty[0]&536870912&&i(110,Gt=G),t.$$.dirty[0]&469762048|t.$$.dirty[3]&16777216&&i(36,Ci=ie!==Pn.NOT_AVAILABLE&&!(C&&k===Ln.DocumentPictureInPicture)&&!V&&!Tt),t.$$.dirty[0]&402653184|t.$$.dirty[3]&50462720){const y=M===Ve.WaitingLive;i(37,Di=!!mt&&ie!==Pn.CONNECTED&&!V&&(k===Ln.DocumentPictureInPicture&&y||!y)&&!Gt&&!Tt)}t.$$.dirty[3]&131072&&i(38,Pi=!Gt),t.$$.dirty[3]&4198400&&i(39,Qi=!Pe&&b.width>350),t.$$.dirty[0]&67108864|t.$$.dirty[3]&16924672&&i(40,Si=vt.features.fullscreen&&!(C&&k===Ln.DocumentPictureInPicture)&&(Tt?De:!0)&&!Gt),t.$$.dirty[0]&33554448|t.$$.dirty[3]&4325376&&i(41,di=(!S||ae)&&b.width>260&&!Gt&&!(vt.features.interactiveHideTime&&Tt)),t.$$.dirty[0]&8388616&&i(42,mi=m||ue),t.$$.dirty[0]&33554448|t.$$.dirty[3]&458752&&i(43,Ti=!ae&&!S&&!!Ni?.length&&At&&!n&&!Gt),t.$$.dirty[0]&16777216|t.$$.dirty[3]&8388608&&i(19,Ai=!_||w),t.$$.dirty[0]&1048584|t.$$.dirty[3]&4194304&&Wi(zt(),gi,Ae,ue),t.$$.dirty[0]&524288|t.$$.dirty[3]&2097152&&Vi(Ai,h),t.$$.dirty[0]&12582912&&Ol(Ot,m,jt),t.$$.dirty[0]&10485760|t.$$.dirty[3]&1048576&&Hl(Dt,m,f),t.$$.dirty[0]&1048576|t.$$.dirty[3]&524288&&Au(Kt,c,Ae.playButton)},[K,Ie,Ce,ue,ae,be,$,Te,Me,re,_e,Q,et,Xe,Ge,Je,ct,bt,Fe,Ai,Ae,Dt,Ot,m,_,S,C,V,ie,G,x,qi,Et,wt,yt,Zi,Ci,Di,Pi,Qi,Si,di,mi,Ti,Ei,pi,a,r,l,s,o,v,te,z,X,le,P,oe,j,ne,we,Ue,qe,xt,qt,ht,ft,st,kt,Pt,ai,Fi,Zt,Ui,Yi,$t,Bi,Ri,Rt,ei,ui,Wt,ci,jt,Ni,fi,bi,_i,Nt,vi,ti,ii,St,wi,rt,Tt,zi,ki,yi,ni,Kt,ji,Ki,Li,Ne,Pe,J,De,ye,At,Gt,n,c,f,h,b,w,k,M,B,L,oi,$i,Oi,en,tn,Xi,Mi,Gi,Hi,nn,ee,xe,gt,li,Ji,sn,kn,It,rn,an,dn,yn,mn]}class op extends ge{constructor(e){super(),he(this,e,np,ip,pe,{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 lp(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 M3({props:s}),ve.push(()=>He(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!i&&r&1&&(i=!0,a.controlsElementRef=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function sp(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 op({props:s}),ve.push(()=>He(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!i&&r&1&&(i=!0,a.controlsElementRef=l[0],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function rp(t){let e,i,n,o;const s=[sp,lp],l=[];function r(a,c){return a[23]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&T(n),l[e].d(a)}}}function ap(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:b}=e,{prevButtonActive:w}=e,{isOneVideoPlaylist:_=!1}=e,{supportLink:S}=e,{customFullscreenSupported:k=!0}=e,{playNextVideo:C}=e,{playPrevVideo:V}=e,{repeatPlaylist:ie}=e,{toggleFullscreen:M}=e,{returnFocus:G=Ke}=e,{seekToInteractive:B}=e,{toggleGraph:x}=e,{playPrevChapter:L}=e;const z=ut().ui.isMobile;O(t,z,P=>i(23,n=P));function X(P){r=P,i(0,r)}function le(P){r=P,i(0,r)}return t.$$set=P=>{"bottomHidden"in P&&i(1,o=P.bottomHidden),"bottomNoSmooth"in P&&i(2,s=P.bottomNoSmooth),"showControls"in P&&i(3,l=P.showControls),"controlsElementRef"in P&&i(0,r=P.controlsElementRef),"isAds"in P&&i(4,a=P.isAds),"canRewindLive"in P&&i(5,c=P.canRewindLive),"logoClickable"in P&&i(6,f=P.logoClickable),"logoHidden"in P&&i(7,m=P.logoHidden),"videoLogoUrl"in P&&i(8,h=P.videoLogoUrl),"showNextPrevButtons"in P&&i(9,v=P.showNextPrevButtons),"nextButtonActive"in P&&i(10,b=P.nextButtonActive),"prevButtonActive"in P&&i(11,w=P.prevButtonActive),"isOneVideoPlaylist"in P&&i(12,_=P.isOneVideoPlaylist),"supportLink"in P&&i(13,S=P.supportLink),"customFullscreenSupported"in P&&i(14,k=P.customFullscreenSupported),"playNextVideo"in P&&i(15,C=P.playNextVideo),"playPrevVideo"in P&&i(16,V=P.playPrevVideo),"repeatPlaylist"in P&&i(17,ie=P.repeatPlaylist),"toggleFullscreen"in P&&i(18,M=P.toggleFullscreen),"returnFocus"in P&&i(19,G=P.returnFocus),"seekToInteractive"in P&&i(20,B=P.seekToInteractive),"toggleGraph"in P&&i(21,x=P.toggleGraph),"playPrevChapter"in P&&i(22,L=P.playPrevChapter)},[r,o,s,l,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B,x,L,n,z,X,le]}class Lu extends ge{constructor(e){super(),he(this,e,ap,rp,pe,{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 up(t){ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function cp(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("defs"),l=N("filter"),r=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),m=N("feColorMatrix"),h=N("feBlend"),v=N("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(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"),R(e,"reversed",t[0])},m(b,w){E(b,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(b,[w]){w&1&&R(e,"reversed",b[0])},i:W,o:W,d(b){b&&T(e)}}}function fp(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class dp extends ge{constructor(e){super(),he(this,e,fp,cp,pe,{reversed:0},up)}}function mp(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("defs"),l=N("clipPath"),r=N("path"),a=N("filter"),c=N("feFlood"),f=N("feColorMatrix"),m=N("feOffset"),h=N("feGaussianBlur"),v=N("feColorMatrix"),b=N("feBlend"),w=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(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(b,"in2","BackgroundImageFix"),u(b,"result","effect1_dropShadow_2260_104204"),u(w,"in","SourceGraphic"),u(w,"in2","effect1_dropShadow_2260_104204"),u(w,"result","shape"),u(a,"id","b"),u(a,"x","-1.5"),u(a,"y","1.5"),u(a,"width","51"),u(a,"height","45"),u(a,"filterUnits","userSpaceOnUse"),u(a,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(_,S){E(_,e,S),p(e,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,b),p(a,w)},d(_){_&&T(e)}}}function pp(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("path"),l=N("defs"),r=N("clipPath"),a=N("path"),c=N("filter"),f=N("feFlood"),m=N("feColorMatrix"),h=N("feOffset"),v=N("feGaussianBlur"),b=N("feColorMatrix"),w=N("feBlend"),_=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(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(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_2260_104293"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_104293"),u(_,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(S,k){E(S,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,b),p(c,w),p(c,_)},d(S){S&&T(e)}}}function hp(t){let e;function i(s,l){return s[0]?pp:mp}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),E(s,e,l)},p(s,[l]){n!==(n=i(s))&&(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(s){s&&T(e),o.d(s)}}}function gp(t,e,i){let{isOff:n=!1}=e;return t.$$set=o=>{"isOff"in o&&i(0,n=o.isOff)},[n]}class Vu extends ge{constructor(e){super(),he(this,e,gp,hp,pe,{isOff:0})}}function bp(t){ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function _p(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("defs"),l=N("filter"),r=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),m=N("feColorMatrix"),h=N("feBlend"),v=N("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(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"),R(e,"reversed",t[0])},m(b,w){E(b,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(b,[w]){w&1&&R(e,"reversed",b[0])},i:W,o:W,d(b){b&&T(e)}}}function vp(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class wp extends ge{constructor(e){super(),he(this,e,vp,_p,pe,{reversed:0},bp)}}function kp(t){ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function yp(t){let e,i,n,o,s,l,r,a,c,f,m,h,v;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),s=N("defs"),l=N("filter"),r=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),m=N("feColorMatrix"),h=N("feBlend"),v=N("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(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"),R(e,"reversed",t[0])},m(b,w){E(b,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(b,[w]){w&1&&R(e,"reversed",b[0])},i:W,o:W,d(b){b&&T(e)}}}function Cp(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class Pp extends ge{constructor(e){super(),he(this,e,Cp,yp,pe,{reversed:0},kp)}}function Sp(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 oa(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,b,w,_,S=i&&la(t),k=t[4]===We.PAUSE&&sa(),C=t[4]===We.PLAY&&ra(),V=t[4]===We.REPLAY&&aa(),ie=t[4]===We.SUBTITLES_OFF&&ua(),M=t[4]===We.SUBTITLES_ON&&ca(),G=c&&fa(t),B=m&&da(t),x=t[4]===We.MUTE&&ma(),L=t[4]===We.VOLUME&&pa(),te=t[5]&&ha(t);return{c(){e=A("div"),S&&S.c(),n=D(),k&&k.c(),o=D(),C&&C.c(),s=D(),V&&V.c(),l=D(),ie&&ie.c(),r=D(),M&&M.c(),a=D(),G&&G.c(),f=D(),B&&B.c(),h=D(),x&&x.c(),v=D(),L&&L.c(),b=D(),te&&te.c(),w=lt(),u(e,"class","v-4ftgwp")},m(z,X){E(z,e,X),S&&S.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),ie&&ie.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),L&&L.m(e,null),E(z,b,X),te&&te.m(z,X),E(z,w,X),_=!0},p(z,X){X&16&&(i=[We.BACKWARD_SEEK,We.FORWARD_SEEK].includes(z[4])),i?S?(S.p(z,X),X&16&&d(S,1)):(S=la(z),S.c(),d(S,1),S.m(e,n)):S&&(fe(),g(S,1,1,()=>{S=null}),de()),z[4]===We.PAUSE?k?X&16&&d(k,1):(k=sa(),k.c(),d(k,1),k.m(e,o)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),z[4]===We.PLAY?C?X&16&&d(C,1):(C=ra(),C.c(),d(C,1),C.m(e,s)):C&&(fe(),g(C,1,1,()=>{C=null}),de()),z[4]===We.REPLAY?V?X&16&&d(V,1):(V=aa(),V.c(),d(V,1),V.m(e,l)):V&&(fe(),g(V,1,1,()=>{V=null}),de()),z[4]===We.SUBTITLES_OFF?ie?X&16&&d(ie,1):(ie=ua(),ie.c(),d(ie,1),ie.m(e,r)):ie&&(fe(),g(ie,1,1,()=>{ie=null}),de()),z[4]===We.SUBTITLES_ON?M?X&16&&d(M,1):(M=ca(),M.c(),d(M,1),M.m(e,a)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),X&16&&(c=[We.RATE_DOWN,We.RATE_UP].includes(z[4])),c?G?(G.p(z,X),X&16&&d(G,1)):(G=fa(z),G.c(),d(G,1),G.m(e,f)):G&&(fe(),g(G,1,1,()=>{G=null}),de()),X&16&&(m=[We.EPISODE_PREV,We.EPISODE_NEXT].includes(z[4])),m?B?(B.p(z,X),X&16&&d(B,1)):(B=da(z),B.c(),d(B,1),B.m(e,h)):B&&(fe(),g(B,1,1,()=>{B=null}),de()),z[4]===We.MUTE?x?X&16&&d(x,1):(x=ma(),x.c(),d(x,1),x.m(e,v)):x&&(fe(),g(x,1,1,()=>{x=null}),de()),z[4]===We.VOLUME?L?X&16&&d(L,1):(L=pa(),L.c(),d(L,1),L.m(e,null)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),z[5]?te?te.p(z,X):(te=ha(z),te.c(),te.m(w.parentNode,w)):te&&(te.d(1),te=null)},i(z){_||(d(S),d(k),d(C),d(V),d(ie),d(M),d(G),d(B),d(x),d(L),_=!0)},o(z){g(S),g(k),g(C),g(V),g(ie),g(M),g(G),g(B),g(x),g(L),_=!1},d(z){z&&(T(e),T(b),T(w)),S&&S.d(),k&&k.d(),C&&C.d(),V&&V.d(),ie&&ie.d(),M&&M.d(),G&&G.d(),B&&B.d(),x&&x.d(),L&&L.d(),te&&te.d(z)}}}function la(t){let e,i;return e=new dp({props:{reversed:t[4]===We.FORWARD_SEEK}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===We.FORWARD_SEEK),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function sa(t){let e,i;return e=new mu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ra(t){let e,i;return e=new Zl({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function aa(t){let e,i;return e=new Cu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ua(t){let e,i;return e=new Vu({props:{isOff:!0}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ca(t){let e,i;return e=new Vu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function fa(t){let e,i;return e=new wp({props:{reversed:t[4]===We.RATE_UP}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===We.RATE_UP),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function da(t){let e,i;return e=new Pp({props:{reversed:t[4]===We.EPISODE_NEXT}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===We.EPISODE_NEXT),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ma(t){let e,i;return e=new rl({props:{volume:0}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function pa(t){let e,i;return e=new rl({props:{volume:1}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ha(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&&Qe(i,n[5])},d(n){n&&T(e)}}}function Tp(t){let e,i,n=!t[1]&&t[4]&&oa(t);return{c(){e=A("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),R(e,"hidden",t[1]),R(e,"hot-key-helpers-container--left",t[2]),R(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=oa(o),n.c(),d(n,1),n.m(e,null)):n&&(fe(),g(n,1,1,()=>{n=null}),de()),(!i||s&2)&&R(e,"hidden",o[1]),(!i||s&4)&&R(e,"hot-key-helpers-container--left",o[2]),(!i||s&8)&&R(e,"hot-key-helpers-container--right",o[3])},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&T(e),n&&n.d()}}}function Ep(t,e,i){let n,o=W,s=()=>(o(),o=Qt(l,h=>i(6,n=h)),l);t.$$.on_destroy.push(()=>o());let{data:l}=e;s();let r,a,c,f,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 Ap extends ge{constructor(e){super(),he(this,e,Ep,Tp,pe,{data:0},Sp)}}function Ip(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,b,w,_,S,k;return s=new Wn({props:{direction:"up"}}),a=new Wn({props:{direction:"up"}}),h=new Wn({props:{direction:"up"}}),w=new Wn({props:{direction:"up"}}),{c(){e=A("div"),i=A("div"),n=A("div"),o=A("div"),U(s.$$.fragment),l=D(),r=A("div"),U(a.$$.fragment),c=D(),f=A("div"),m=A("div"),U(h.$$.fragment),v=D(),b=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(b,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(i,"class","button-block v-1yzc86r"),u(i,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",Y("aria_label_spherical_control")),R(e,"m-shifted",t[0])},m(C,V){E(C,e,V),p(e,i),p(i,n),p(n,o),H(s,o,null),p(n,l),p(n,r),H(a,r,null),p(i,c),p(i,f),p(f,m),H(h,m,null),p(f,v),p(f,b),H(w,b,null),_=!0,S||(k=[me(o,"mousedown",t[1]),me(o,"mouseup",t[5]),me(o,"mouseleave",t[5]),me(r,"mousedown",t[3]),me(r,"mouseup",t[5]),me(r,"mouseleave",t[5]),me(m,"mousedown",t[4]),me(m,"mouseup",t[5]),me(m,"mouseleave",t[5]),me(b,"mousedown",t[2]),me(b,"mouseup",t[5]),me(b,"mouseleave",t[5]),me(e,"keydown",t[6]),me(e,"keyup",t[7])],S=!0)},p(C,[V]){(!_||V&1)&&R(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){g(s.$$.fragment,C),g(a.$$.fragment,C),g(h.$$.fragment,C),g(w.$$.fragment,C),_=!1},d(C){C&&T(e),F(s),F(a),F(h),F(w),S=!1,$e(k)}}}function Vp(t,e,i){let{isShifted:n=!1}=e;const o=ut(),s=new Set([Se.ArrowUp,Se.ArrowDown,Se.ArrowLeft,Se.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 Se.ArrowUp:l();break;case Se.ArrowDown:r();break;case Se.ArrowLeft:c();break;case Se.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 Mu extends ge{constructor(e){super(),he(this,e,Vp,Lp,pe,{isShifted:0},Ip)}}function Mp(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 ga(t,e,i){const n=t.slice();return n[16]=e[i].value,n}function ba(t,e,i){const n=t.slice();return n[16]=e[i].value,n[17]=e[i].timeAppeared,n}function _a(t){let e,i;function n(l,r){return l[7]&&l[8]?Np:l[5]?Rp:Bp}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"),R(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&&R(e,"mobile",l[3])},d(l){l&&T(e),s.d()}}}function Bp(t){let e,i=Ut(t[1]),n=[];for(let o=0;o<i.length;o+=1)n[o]=va(ga(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=Ut(o[1]);let l;for(l=0;l<i.length;l+=1){const r=ga(o,i,l);n[l]?n[l].p(r,s):(n[l]=va(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),wn(n,o)}}}function Rp(t){let e,i,n=Ut(t[6]),o=[];for(let s=0;s<n.length;s+=1)o[s]=ka(ba(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=Ut(s[6]);let r;for(r=0;r<n.length;r+=1){const a=ba(s,n,r);o[r]?o[r].p(a,l):(o[r]=ka(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),wn(o,s)}}}function Np(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 va(t){let e,i,n=t[16]+"",o,s;return{c(){e=A("span"),i=A("span"),o=Re(n),s=D(),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]+"")&&Qe(o,n),r&16&&Ct(i,"font-size",l[4]+"px")},d(l){l&&T(e)}}}function wa(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]+"")&&Qe(i,e)},d(n){n&&T(i)}}}function ka(t){let e,i=(!t[17]||t[17]<=t[2])&&wa(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=wa(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(n){n&&T(e),i&&i.d(n)}}}function zp(t){let e,i=t[1].length>0&&_a(t);return{c(){e=A("div"),i&&i.c(),u(e,"class","subtitles-container v-ovfyp5"),R(e,"shifted",t[0]),R(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=_a(n),i.c(),i.m(e,null)):i&&(i.d(1),i=null),o&1&&R(e,"shifted",n[0]),o&288&&R(e,"auto",n[5]&&!n[8])},i:W,o:W,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=ut(),m=ln(),h=f.state.currentSubtitle$;O(t,h,C=>i(12,n=C));const v=f.state.isAutoSubtitleCaptionVisible$;O(t,v,C=>i(8,o=C));let b,w,_,S,k;return on(()=>{k=window.setTimeout(()=>{v.set(!1)},m.autoSubtitlesTimeout)}),ll(()=>{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,b=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:ie})=>(V==="timestamp"?C.push({timeAppeared:Number(ie),value:""}):C.length===0?C.push({value:String(ie)}):C[C.length-1].value=String(ie),C),[])),t.$$.dirty&4096&&i(7,S=!!n.isAuto)},[s,l,r,c,b,w,_,S,o,h,v,a,n]}class Bu extends ge{constructor(e){super(),he(this,e,Dp,zp,pe,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},Mp)}}function Op(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 ya(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&&Qe(n,o[1])},d(o){o&&T(e)}}}function Hp(t){let e,i,n,o,s,l,r=t[1]&&ya(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=D(),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=me(e,"click",t[2]),s=!0)},p(a,[c]){a[1]?r?r.p(a,c):(r=ya(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:W,o:W,d(a){a&&T(e),r&&r.d(),s=!1,l()}}}function Fp(t,e,i){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function s(l){_o.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 Ru extends ge{constructor(e){super(),he(this,e,Fp,Hp,pe,{thumbUrl:0,chromecastDeviceName:1},Op)}}function Up(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class qp extends ge{constructor(e){super(),he(this,e,null,Up,pe,{})}}function Zp(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 Wp(t){let e,i,n;return i=new qp({}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,s){E(o,e,s),H(i,e,null),n=!0},p:W,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}class Nu extends ge{constructor(e){super(),he(this,e,null,Wp,pe,{},Zp)}}function jp(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 Zl({}),{c(){e=A("div"),i=A("div"),n=A("div"),o=D(),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]||""}')`),R(e,"hidden",t[1])},m(f,m){E(f,e,m),p(e,i),p(i,n),p(i,o),H(s,i,null),r=!0,a||(c=[me(i,"keydown",t[3]),me(e,"click",tt(function(){_n(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)&&R(e,"hidden",t[1])},i(f){r||(d(s.$$.fragment,f),r=!0)},o(f){g(s.$$.fragment,f),r=!1},d(f){f&&T(e),F(s),a=!1,$e(c)}}}function Gp(t,e,i){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:s}=e;const r=ut().ui.startedByKeyboard$,a=c=>{const f=c.code;[Se.Enter,Se.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 zu extends ge{constructor(e){super(),he(this,e,Gp,Kp,pe,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},jp)}get handlePressKey(){return this.$$.ctx[3]}}function Yp(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%,
29
29
  rgba(0, 0, 0, 0.10) 34%,
30
30
  rgba(0, 0, 0, 0.40) 60%,
31
31
  rgba(0, 0, 0, 0.60) 100%
32
- )}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function Qp(t){let e,i;return{c(){e=A("div"),i=Re(t[0]),u(e,"class","title v-1bcvcf2"),R(e,"hidden",t[1])},m(n,o){E(n,e,o),p(e,i)},p(n,[o]){o&1&&Qe(i,n[0]),o&2&&R(e,"hidden",n[1])},i:W,o:W,d(n){n&&T(e)}}}function Xp(t,e,i){let{title:n=""}=e,{isHidden:o=!1}=e;return t.$$set=s=>{"title"in s&&i(0,n=s.title),"isHidden"in s&&i(1,o=s.isHidden)},[n,o]}class Jp extends ge{constructor(e){super(),he(this,e,Xp,Qp,pe,{title:0,isHidden:1},Yp)}}function xp(t){ze(t,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function Ca(t){let e,i,n,o,s,l,r;return{c(){e=A("div"),i=A("span"),n=Re(t[0]),o=D(),s=A("span"),s.textContent=`${Y("waiting_live_day_value")}`,l=D(),r=A("span"),r.textContent=`${Y("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,i),p(i,n),p(e,o),p(e,s),E(a,l,c),E(a,r,c)},p(a,c){c&1&&Qe(n,a[0])},d(a){a&&(T(e),T(l),T(r))}}}function Pa(t){let e,i,n,o,s,l,r;return{c(){e=A("div"),i=A("span"),n=Re(t[1]),o=D(),s=A("span"),s.textContent=`${Y("waiting_live_hour_value")}`,l=D(),r=A("span"),r.textContent=`${Y("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,i),p(i,n),p(e,o),p(e,s),E(a,l,c),E(a,r,c)},p(a,c){c&2&&Qe(n,a[1])},d(a){a&&(T(e),T(l),T(r))}}}function Sa(t){let e,i,n,o,s,l,r;return{c(){e=A("div"),i=A("span"),n=Re(t[2]),o=D(),s=A("span"),s.textContent=`${Y("waiting_live_minute_value")}`,l=D(),r=A("span"),r.textContent=`${Y("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,i),p(i,n),p(e,o),p(e,s),E(a,l,c),E(a,r,c)},p(a,c){c&4&&Qe(n,a[2])},d(a){a&&(T(e),T(l),T(r))}}}function Ta(t){let e,i,n,o,s;return{c(){e=A("div"),i=A("span"),n=Re(t[3]),o=D(),s=A("span"),s.textContent=`${Y("waiting_live_second_value")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(l,r){E(l,e,r),p(e,i),p(i,n),p(e,o),p(e,s)},p(l,r){r&8&&Qe(n,l[3])},d(l){l&&T(e)}}}function $p(t){let e,i,n,o,s=t[0]&&Ca(t),l=t[1]&&Pa(t),r=t[2]&&Sa(t),a=t[3]&&Ta(t);return{c(){e=A("div"),s&&s.c(),i=D(),l&&l.c(),n=D(),r&&r.c(),o=D(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){E(c,e,f),s&&s.m(e,null),p(e,i),l&&l.m(e,null),p(e,n),r&&r.m(e,null),p(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?s?s.p(c,f):(s=Ca(c),s.c(),s.m(e,i)):s&&(s.d(1),s=null),c[1]?l?l.p(c,f):(l=Pa(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[2]?r?r.p(c,f):(r=Sa(c),r.c(),r.m(e,o)):r&&(r.d(1),r=null),c[3]?a?a.p(c,f):(a=Ta(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:W,o:W,d(c){c&&T(e),s&&s.d(),l&&l.d(),r&&r.d(),a&&a.d()}}}function eh(t,e,i){let{startTime:n}=e,{onTimerOver:o}=e,s,l,r,a,c;const f=v=>String(v).padStart(2,"0"),m=v=>{const b=Math.floor(v/86400);b&&(v-=b*86400,i(0,s=f(b)));const w=Math.floor(v/3600);i(1,l=f(w));const _=Math.floor(v/60)%60;i(2,r=f(_));const S=v%60;i(3,a=f(S))},h=()=>{const v=Math.floor(Date.now()/1e3),b=n-v;m(b),b>=1?c=requestAnimationFrame(h):o()};return on(()=>{c=requestAnimationFrame(h)}),ll(()=>{cancelAnimationFrame(c)}),t.$$set=v=>{"startTime"in v&&i(4,n=v.startTime),"onTimerOver"in v&&i(5,o=v.onTimerOver)},[s,l,r,a,n,o]}class th extends ge{constructor(e){super(),he(this,e,eh,$p,pe,{startTime:4,onTimerOver:5},xp)}}function ih(t){let e,i,n,o,s;return{c(){e=N("svg"),i=N("path"),n=N("path"),o=N("path"),s=N("path"),u(i,"fill","#fefffe"),u(i,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),Ct(i,"opacity",".965"),u(n,"fill","#fefffe"),u(n,"d","M183.5 63.5c57.529-3.65 102.029 18.35 133.5 66 21.628 40.092 24.295 81.425 8 124a186.647 186.647 0 0 1-17.5 29.5 632.842 632.842 0 0 1-38-7c36.445-38.176 42.945-81.01 19.5-128.5-24.178-37.504-58.678-54.337-103.5-50.5-49.5 9.5-79 39-88.5 88.5-3.944 35.587 6.889 65.753 32.5 90.5a1149.466 1149.466 0 0 0-36 7.5c-1.53-.029-2.696-.696-3.5-2-29.298-42.431-34.631-87.764-16-136 21.866-46.852 58.366-74.185 109.5-82Z"),Ct(n,"opacity",".965"),u(o,"fill","#fefffe"),u(o,"d","M187.5 127.5c44.524-2.948 72.357 17.052 83.5 60 3.431 44.55-16.403 72.383-59.5 83.5-44.55 3.431-72.383-16.403-83.5-59.5-3.229-44.571 16.604-72.571 59.5-84Z"),Ct(o,"opacity",".985"),u(s,"fill","#fefffe"),u(s,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),Ct(s,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),Ct(e,"shape-rendering","geometricPrecision"),Ct(e,"text-rendering","geometricPrecision"),Ct(e,"image-rendering","optimizeQuality"),Ct(e,"fill-rule","evenodd"),Ct(e,"clip-rule","evenodd"),Ct(e,"width","100%"),Ct(e,"height","100%")},m(l,r){E(l,e,r),p(e,i),p(e,n),p(e,o),p(e,s)},p:W,i:W,o:W,d(l){l&&T(e)}}}class nh extends ge{constructor(e){super(),he(this,e,null,ih,pe,{})}}function oh(t){ze(t,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function lh(t){let e,i,n,o,s;return o=new th({props:{startTime:t[1]||0,onTimerOver:t[3]}}),{c(){e=A("div"),i=A("span"),i.textContent=`${Y("waiting_live_timer_title")}`,n=D(),U(o.$$.fragment),u(i,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(l,r){E(l,e,r),p(e,i),p(e,n),H(o,e,null),s=!0},p(l,r){const a={};r&2&&(a.startTime=l[1]||0),r&4&&(a.onTimerOver=l[3]),o.$set(a)},i(l){s||(d(o.$$.fragment,l),s=!0)},o(l){g(o.$$.fragment,l),s=!1},d(l){l&&T(e),F(o)}}}function sh(t){let e,i,n,o,s,l;return n=new nh({}),{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=D(),s=A("span"),s.textContent=`${Y("waiting_live_upcoming_title")}`,u(i,"class","upcoming-icon v-15pewff"),u(s,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(r,a){E(r,e,a),p(e,i),H(n,i,null),p(e,o),p(e,s),l=!0},p:W,i(r){l||(d(n.$$.fragment,r),l=!0)},o(r){g(n.$$.fragment,r),l=!1},d(r){r&&T(e),F(n)}}}function rh(t){let e,i,n,o,s;const l=[sh,lh],r=[];function a(c,f){return c[2]?0:1}return i=a(t),n=r[i]=l[i](t),{c(){e=A("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${t[2]?"":t[0]})`)},m(c,f){E(c,e,f),r[i].m(e,null),s=!0},p(c,[f]){let m=i;i=a(c),i===m?r[i].p(c,f):(fe(),g(r[m],1,1,()=>{r[m]=null}),de(),n=r[i],n?n.p(c,f):(n=r[i]=l[i](c),n.c()),d(n,1),n.m(e,null)),(!s||f&5&&o!==(o=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",o)},i(c){s||(d(n),s=!0)},o(c){g(n),s=!1},d(c){c&&T(e),r[i].d()}}}function ah(t,e,i){let n,{thumbUrl:o}=e,{startTime:s}=e;const l=()=>i(2,n=!0);return t.$$set=r=>{"thumbUrl"in r&&i(0,o=r.thumbUrl),"startTime"in r&&i(1,s=r.startTime)},t.$$.update=()=>{t.$$.dirty&2&&i(2,n=s===void 0||s<Math.floor(Date.now()/1e3))},[o,s,n,l]}class Du extends ge{constructor(e){super(),he(this,e,ah,rh,pe,{thumbUrl:0,startTime:1},oh)}}function uh(t){ze(t,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function ch(t){let e,i;return{c(){e=A("div"),i=A("p"),i.textContent=`${Y("waiting_record_title")}`,u(i,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class Ou extends ge{constructor(e){super(),he(this,e,null,ch,pe,{},uh)}}const{window:fh}=p1;function dh(t){ze(t,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function Ea(t){let e,i;return e=new Du({props:{thumbUrl:t[3],startTime:t[5]?.startTime}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&8&&(s.thumbUrl=n[3]),o[0]&32&&(s.startTime=n[5]?.startTime),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Aa(t){let e,i;return e=new Ou({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ia(t){let e,i,n;return i=new Z1({props:{adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12]}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),R(e,"hidden",t[38]!==Ve.Ads)},m(o,s){E(o,e,s),H(i,e,null),n=!0},p(o,s){const l={};s[0]&512&&(l.adsSlotId=o[9]),s[0]&1024&&(l.adsParams=o[10]),s[0]&2048&&(l.adsPreviewParam=o[11]),s[0]&4096&&(l.duration=o[12]),i.$set(l),(!n||s[1]&128)&&R(e,"hidden",o[38]!==Ve.Ads)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function La(t){let e,i;return e=new M0({props:{title:t[18],thumb:t[19],playNextVideo:t[23]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&262144&&(s.title=n[18]),o[0]&524288&&(s.thumb=n[19]),o[0]&8388608&&(s.playNextVideo=n[23]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Va(t){let e,i;return e=new Jp({props:{title:t[2],isHidden:!t[36]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&4&&(s.title=n[2]),o[1]&32&&(s.isHidden=!n[36]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ma(t){let e,i;return e=new Mu({props:{isShifted:t[38]===Ve.Video&&t[36]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[1]&160&&(s.isShifted=n[38]===Ve.Video&&n[36]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ba(t){let e,i,n;return i=new N1({props:{ariaLabel:Y("video360")}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,s){E(o,e,s),H(i,e,null),n=!0},p:W,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function Ra(t){let e,i;return e=new Ru({props:{thumbUrl:t[3],chromecastDeviceName:t[56]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&8&&(s.thumbUrl=n[3]),o[1]&33554432&&(s.chromecastDeviceName=n[56]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Na(t){let e,i;return e=new Bu({props:{shifted:t[36],captions:t[58],position:t[59],playerSize:t[34]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[1]&32&&(s.shifted=n[36]),o[1]&134217728&&(s.captions=n[58]),o[1]&268435456&&(s.position=n[59]),o[1]&8&&(s.playerSize=n[34]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function za(t){let e,i,n,o,s;return i=new Nu({}),{c(){e=A("div"),U(i.$$.fragment)},m(l,r){E(l,e,r),H(i,e,null),n=!0,o||(s=[me(e,"contextmenu",Jt(t[109])),me(e,"click",tt(t[120]))],o=!0)},p:W,i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&T(e),F(i),o=!1,$e(s)}}}function Da(t){let e,i,n;function o(l){t[153](l)}let s={bottomHidden:t[38]===Ve.Thumb||t[38]===Ve.WaitingLive||t[38]===Ve.WaitingRecord,bottomNoSmooth:t[53],showControls:t[36],isAds:t[38]===Ve.Ads,canRewindLive:t[7]&&t[60]!==0,logoClickable:t[13],logoHidden:t[14],videoLogoUrl:t[4],showNextPrevButtons:t[15],nextButtonActive:t[16],prevButtonActive:t[17],isOneVideoPlaylist:t[20],supportLink:t[21],customFullscreenSupported:hh,playNextVideo:t[23],playPrevVideo:t[24],repeatPlaylist:t[25],toggleFullscreen:t[107],returnFocus:t[152],seekToInteractive:t[26],toggleGraph:t[27],playPrevChapter:t[28]};return t[41]!==void 0&&(s.controlsElementRef=t[41]),e=new Lu({props:s}),ve.push(()=>He(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&128&&(a.bottomHidden=l[38]===Ve.Thumb||l[38]===Ve.WaitingLive||l[38]===Ve.WaitingRecord),r[1]&4194304&&(a.bottomNoSmooth=l[53]),r[1]&32&&(a.showControls=l[36]),r[1]&128&&(a.isAds=l[38]===Ve.Ads),r[0]&128|r[1]&536870912&&(a.canRewindLive=l[7]&&l[60]!==0),r[0]&8192&&(a.logoClickable=l[13]),r[0]&16384&&(a.logoHidden=l[14]),r[0]&16&&(a.videoLogoUrl=l[4]),r[0]&32768&&(a.showNextPrevButtons=l[15]),r[0]&65536&&(a.nextButtonActive=l[16]),r[0]&131072&&(a.prevButtonActive=l[17]),r[0]&1048576&&(a.isOneVideoPlaylist=l[20]),r[0]&2097152&&(a.supportLink=l[21]),r[0]&8388608&&(a.playNextVideo=l[23]),r[0]&16777216&&(a.playPrevVideo=l[24]),r[0]&33554432&&(a.repeatPlaylist=l[25]),r[1]&1048576&&(a.returnFocus=l[152]),r[0]&67108864&&(a.seekToInteractive=l[26]),r[0]&134217728&&(a.toggleGraph=l[27]),r[0]&268435456&&(a.playPrevChapter=l[28]),!i&&r[1]&1024&&(i=!0,a.controlsElementRef=l[41],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Oa(t){let e,i;return e=new nu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ha(t){let e,i;return e=new ld({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Fa(t){let e,i;return e=new X1({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ua(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B;e=new zu({props:{hidden:t[38]!==Ve.Thumb||t[37]||t[94]&&t[6],thumbUrl:t[3],startVideo:t[29]}});let x=t[38]===Ve.WaitingLive&&Ea(t),L=t[38]===Ve.WaitingRecord&&Aa(),te=t[8]&&t[22]&&Ia(t),z=t[31]&&t[18]&&t[19]&&La(t),X=t[47]&&Va(t),le=t[52]&&Ma(t),P=t[55]&&Ba(),oe=t[39]&&Ra(t),K=t[57].value!=="off"&&Na(t),ne=t[37]&&za(t),we=t[22]&&Da(t);b=new K1({props:{isLive:t[61],isHidden:!t[46],isPlaying:t[62],position:t[59],duration:t[63]}}),_=new Ap({props:{data:t[104]}});function Ue(j){t[155](j)}let qe={supportLink:t[21],returnFocus:t[154],visible:t[33],playerContainerRef:t[40],controlsContainerRef:t[41],x:t[42],y:t[43]};t[32]!==void 0&&(qe.menuElementRef=t[32]),k=new f0({props:qe}),ve.push(()=>He(k,"menuElementRef",Ue));let Ie=t[44]&&Oa(),Ce=t[64]&&Ha(),ue=t[65]&&Fa();return{c(){U(e.$$.fragment),i=D(),x&&x.c(),n=D(),L&&L.c(),o=D(),te&&te.c(),s=D(),z&&z.c(),l=D(),X&&X.c(),r=D(),le&&le.c(),a=D(),P&&P.c(),c=D(),oe&&oe.c(),f=D(),K&&K.c(),m=D(),ne&&ne.c(),h=D(),we&&we.c(),v=D(),U(b.$$.fragment),w=D(),U(_.$$.fragment),S=D(),U(k.$$.fragment),V=D(),Ie&&Ie.c(),ie=D(),Ce&&Ce.c(),M=D(),ue&&ue.c(),G=lt()},m(j,ae){H(e,j,ae),E(j,i,ae),x&&x.m(j,ae),E(j,n,ae),L&&L.m(j,ae),E(j,o,ae),te&&te.m(j,ae),E(j,s,ae),z&&z.m(j,ae),E(j,l,ae),X&&X.m(j,ae),E(j,r,ae),le&&le.m(j,ae),E(j,a,ae),P&&P.m(j,ae),E(j,c,ae),oe&&oe.m(j,ae),E(j,f,ae),K&&K.m(j,ae),E(j,m,ae),ne&&ne.m(j,ae),E(j,h,ae),we&&we.m(j,ae),E(j,v,ae),H(b,j,ae),E(j,w,ae),H(_,j,ae),E(j,S,ae),H(k,j,ae),E(j,V,ae),Ie&&Ie.m(j,ae),E(j,ie,ae),Ce&&Ce.m(j,ae),E(j,M,ae),ue&&ue.m(j,ae),E(j,G,ae),B=!0},p(j,ae){const be={};ae[0]&64|ae[1]&192&&(be.hidden=j[38]!==Ve.Thumb||j[37]||j[94]&&j[6]),ae[0]&8&&(be.thumbUrl=j[3]),ae[0]&536870912&&(be.startVideo=j[29]),e.$set(be),j[38]===Ve.WaitingLive?x?(x.p(j,ae),ae[1]&128&&d(x,1)):(x=Ea(j),x.c(),d(x,1),x.m(n.parentNode,n)):x&&(fe(),g(x,1,1,()=>{x=null}),de()),j[38]===Ve.WaitingRecord?L?ae[1]&128&&d(L,1):(L=Aa(),L.c(),d(L,1),L.m(o.parentNode,o)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),j[8]&&j[22]?te?(te.p(j,ae),ae[0]&4194560&&d(te,1)):(te=Ia(j),te.c(),d(te,1),te.m(s.parentNode,s)):te&&(fe(),g(te,1,1,()=>{te=null}),de()),j[31]&&j[18]&&j[19]?z?(z.p(j,ae),ae[0]&786432|ae[1]&1&&d(z,1)):(z=La(j),z.c(),d(z,1),z.m(l.parentNode,l)):z&&(fe(),g(z,1,1,()=>{z=null}),de()),j[47]?X?(X.p(j,ae),ae[1]&65536&&d(X,1)):(X=Va(j),X.c(),d(X,1),X.m(r.parentNode,r)):X&&(fe(),g(X,1,1,()=>{X=null}),de()),j[52]?le?(le.p(j,ae),ae[1]&2097152&&d(le,1)):(le=Ma(j),le.c(),d(le,1),le.m(a.parentNode,a)):le&&(fe(),g(le,1,1,()=>{le=null}),de()),j[55]?P?(P.p(j,ae),ae[1]&16777216&&d(P,1)):(P=Ba(),P.c(),d(P,1),P.m(c.parentNode,c)):P&&(fe(),g(P,1,1,()=>{P=null}),de()),j[39]?oe?(oe.p(j,ae),ae[1]&256&&d(oe,1)):(oe=Ra(j),oe.c(),d(oe,1),oe.m(f.parentNode,f)):oe&&(fe(),g(oe,1,1,()=>{oe=null}),de()),j[57].value!=="off"?K?(K.p(j,ae),ae[1]&67108864&&d(K,1)):(K=Na(j),K.c(),d(K,1),K.m(m.parentNode,m)):K&&(fe(),g(K,1,1,()=>{K=null}),de()),j[37]?ne?(ne.p(j,ae),ae[1]&64&&d(ne,1)):(ne=za(j),ne.c(),d(ne,1),ne.m(h.parentNode,h)):ne&&(fe(),g(ne,1,1,()=>{ne=null}),de()),j[22]?we?(we.p(j,ae),ae[0]&4194304&&d(we,1)):(we=Da(j),we.c(),d(we,1),we.m(v.parentNode,v)):we&&(fe(),g(we,1,1,()=>{we=null}),de());const $={};ae[1]&1073741824&&($.isLive=j[61]),ae[1]&32768&&($.isHidden=!j[46]),ae[2]&1&&($.isPlaying=j[62]),ae[1]&268435456&&($.position=j[59]),ae[2]&2&&($.duration=j[63]),b.$set($);const Pe={};ae[0]&2097152&&(Pe.supportLink=j[21]),ae[1]&1048576&&(Pe.returnFocus=j[154]),ae[1]&4&&(Pe.visible=j[33]),ae[1]&512&&(Pe.playerContainerRef=j[40]),ae[1]&1024&&(Pe.controlsContainerRef=j[41]),ae[1]&2048&&(Pe.x=j[42]),ae[1]&4096&&(Pe.y=j[43]),!C&&ae[1]&2&&(C=!0,Pe.menuElementRef=j[32],Oe(()=>C=!1)),k.$set(Pe),j[44]?Ie?ae[1]&8192&&d(Ie,1):(Ie=Oa(),Ie.c(),d(Ie,1),Ie.m(ie.parentNode,ie)):Ie&&(fe(),g(Ie,1,1,()=>{Ie=null}),de()),j[64]?Ce?ae[2]&4&&d(Ce,1):(Ce=Ha(),Ce.c(),d(Ce,1),Ce.m(M.parentNode,M)):Ce&&(fe(),g(Ce,1,1,()=>{Ce=null}),de()),j[65]?ue?ae[2]&8&&d(ue,1):(ue=Fa(),ue.c(),d(ue,1),ue.m(G.parentNode,G)):ue&&(fe(),g(ue,1,1,()=>{ue=null}),de())},i(j){B||(d(e.$$.fragment,j),d(x),d(L),d(te),d(z),d(X),d(le),d(P),d(oe),d(K),d(ne),d(we),d(b.$$.fragment,j),d(_.$$.fragment,j),d(k.$$.fragment,j),d(Ie),d(Ce),d(ue),B=!0)},o(j){g(e.$$.fragment,j),g(x),g(L),g(te),g(z),g(X),g(le),g(P),g(oe),g(K),g(ne),g(we),g(b.$$.fragment,j),g(_.$$.fragment,j),g(k.$$.fragment,j),g(Ie),g(Ce),g(ue),B=!1},d(j){j&&(T(i),T(n),T(o),T(s),T(l),T(r),T(a),T(c),T(f),T(m),T(h),T(v),T(w),T(S),T(V),T(ie),T(M),T(G)),F(e,j),x&&x.d(j),L&&L.d(j),te&&te.d(j),z&&z.d(j),X&&X.d(j),le&&le.d(j),P&&P.d(j),oe&&oe.d(j),K&&K.d(j),ne&&ne.d(j),we&&we.d(j),F(b,j),F(_,j),F(k,j),Ie&&Ie.d(j),Ce&&Ce.d(j),ue&&ue.d(j)}}}function mh(t){let e,i,n,o,s=t[54],l,r,a,c,f=Ua(t);return{c(){e=A("div"),i=A("div"),o=D(),f.c(),l=lt(),u(i,"class","video-container v-1o4wf3x"),u(i,"style",n=`transform: rotate(${t[35]}deg) scale(${t[49]})`),R(i,"fast-rotate",!t[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),R(e,"hidden",t[38]!==Ve.Video),R(e,"nocursor",t[48])},m(m,h){E(m,e,h),p(e,i),t[151](i),E(m,o,h),f.m(m,h),E(m,l,h),r=!0,a||(c=[me(e,"contextmenu",Jt(t[109])),me(e,"mousedown",Jt(t[114])),me(e,"mouseup",Jt(t[115])),me(e,"click",Jt(t[117])),me(e,"dblclick",Jt(t[116]))],a=!0)},p(m,h){(!r||h[1]&262160&&n!==(n=`transform: rotate(${m[35]}deg) scale(${m[49]})`))&&u(i,"style",n),(!r||h[0]&2)&&R(i,"fast-rotate",!m[1].isSmoothVideoRotate),(!r||h[1]&128)&&R(e,"hidden",m[38]!==Ve.Video),(!r||h[1]&131072)&&R(e,"nocursor",m[48]),h[1]&8388608&&pe(s,s=m[54])?(fe(),g(f,1,1,W),de(),f=Ua(m),f.c(),d(f,1),f.m(l.parentNode,l)):f.p(m,h)},i(m){r||(d(f),r=!0)},o(m){g(f),r=!1},d(m){m&&(T(e),T(o),T(l)),t[151](null),f.d(m),a=!1,$e(c)}}}function qa(t){let e,i;return e=new iu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ph(t){let e,i,n,o,s,l,r,a,c={toggleFullscreen:t[107],hideContextMenu:t[108],showHotKeyHelpers:t[118],showKeyMap:t[119],isAds:t[38]===Ve.Ads,fakePlayButtonHandler:t[50]?t[106]:void 0,$$slots:{default:[mh]},$$scope:{ctx:t}};i=new z0({props:c}),t[156](i);let f=t[45]&&qa();return{c(){e=A("div"),U(i.$$.fragment),n=D(),o=A("div"),s=D(),f&&f.c(),u(o,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(m,h){E(m,e,h),H(i,e,null),p(e,n),p(e,o),t[157](o),p(e,s),f&&f.m(e,null),t[158](e),l=!0,r||(a=[me(fh,"blur",t[108]),me(e,"mouseenter",t[110]),me(e,"mouseleave",t[112]),me(e,"mousemove",t[113]),me(e,"click",t[121],!0),me(e,"focusin",t[111],!0)],r=!0)},p(m,h){const v={};h[1]&128&&(v.isAds=m[38]===Ve.Ads),h[1]&524288&&(v.fakePlayButtonHandler=m[50]?m[106]:void 0),h[0]&1073741823|h[1]&2146942975|h[2]&15|h[5]&67108864&&(v.$$scope={dirty:h,ctx:m}),i.$set(v),m[45]?f?h[1]&16384&&d(f,1):(f=qa(),f.c(),d(f,1),f.m(e,null)):f&&(fe(),g(f,1,1,()=>{f=null}),de())},i(m){l||(d(i.$$.fragment,m),d(f),l=!0)},o(m){g(i.$$.fragment,m),g(f),l=!1},d(m){m&&T(e),t[156](null),F(i),t[157](null),f&&f.d(),t[158](null),r=!1,$e(a)}}}let hh=!0;function Hu(t){return t?t.offsetTop+Hu(t.offsetParent):0}function gh(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B,x,L,te,z,X,le,P,oe,K,ne,we,Ue,qe,Ie,Ce,ue,j,ae,{store:be}=e,{uiConfig:$}=e,{title:Pe}=e,{thumbUrl:Te}=e,{videoLogoUrl:Me}=e,{videoContainer:re}=e,{interactiveContainer:_e}=e,{live:J}=e,{autoplay:Q}=e,{canRewindLive:De}=e,{showAds:et}=e,{adsSlotId:Xe=void 0}=e,{adsParams:ye=void 0}=e,{adsPreviewParam:Ge=void 0}=e,{duration:Je=void 0}=e,{logoClickable:ct}=e,{logoHidden:bt}=e,{showNextPrevButtons:Fe=!1}=e,{nextButtonActive:Le=!1}=e,{prevButtonActive:vt=!1}=e,{endScreenVideoTitle:Bt=void 0}=e,{endScreenVideoThumb:xt=void 0}=e,{isOneVideoPlaylist:qt=!1}=e,{supportLink:ce}=e,{outerContainerRef:pt=void 0}=e,{playerStarted:ht=!1}=e,{fullScreenTarget:ft=void 0}=e,{showMiniTimer:st=!1}=e,{playNextVideo:kt=je}=e,{playPrevVideo:Pt=je}=e,{repeatPlaylist:ai=je}=e,{seekToInteractive:Fi}=e,{toggleGraph:Zt}=e,{playPrevChapter:Ui}=e,{firstStart:Yi}=e;const $t=be.getLogger().createComponentLog("Root component"),Bi=be.interfaceLanguage$;O(t,Bi,q=>i(54,P=q));const Ri=be.state.playbackState$;O(t,Ri,q=>i(148,z=q));const Rt=be.ads.playbackState;O(t,Rt,q=>i(149,X=q));const ei=be.state.positionWithScrubbing$;O(t,ei,q=>i(59,Ue=q));const ui=be.state.duration$;O(t,ui,q=>i(63,ue=q));const Wt=be.playerPhase;O(t,Wt,q=>i(38,M=q));const ci=be.ui.isFullscreen;O(t,ci,q=>i(138,m=q));const Kt=be.ui.controlsVisible;O(t,Kt,q=>i(36,S=q));const gi=be.ui.settingsMenuVisible;O(t,gi,q=>i(136,l=q));const Ni=be.ui.scrubbingInProgress;O(t,Ni,q=>i(140,w=q));const mt=be.ui.contextMenuVisible;O(t,mt,q=>i(33,n=q));const fi=be.ui.debugPanelVisible;O(t,fi,q=>i(65,ae=q));const bi=be.state.isLoaderVisible;O(t,bi,q=>i(150,le=q));const _i=be.state.isEnded$;O(t,_i,q=>i(137,a=q));const Nt=be.state.chromecastConnected$;O(t,Nt,q=>i(39,x=q));const vi=be.state.chromecastDeviceName$;O(t,vi,q=>i(56,K=q));const ti=be.ads.postrollPassed;O(t,ti,q=>i(143,V=q));const ii=be.state.isLive$;O(t,ii,q=>i(61,Ie=q));const St=be.state.isPlaying$;O(t,St,q=>i(62,Ce=q));const wi=be.state.crashed$;O(t,wi,q=>i(37,C=q));const zt=be.webApi.pictureInPictureApi,rt=be.state.currentSubtitle$;O(t,rt,q=>i(57,ne=q));const Tt=be.state.currentSubtitleCaptions$;O(t,Tt,q=>i(58,we=q));const zi=be.state.duration$;O(t,zi,q=>i(60,qe=q));const ki=be.state.graphIsOpened$;O(t,ki,q=>i(144,ie=q));const yi=be.ui.playerSize;O(t,yi,q=>i(34,f=q));const ni=be.ui.is3DVideo;O(t,ni,q=>i(52,c=q));const jt=be.ui.icon3DVideoVisible;O(t,jt,q=>i(55,oe=q));const qi=be.ui.rotateAlpha;O(t,qi,q=>i(35,b=q));const Et=be.state.isInteractive,wt=be.state.isInteractiveTime$;O(t,wt,q=>i(141,_=q));const yt=be.state.isInteractiveExpectation$;O(t,yt,q=>i(147,L=q));const At=be.state.hasInteractiveBranches,Zi=be.state.interactiveEpisodes$;O(t,Zi,q=>i(166,te=q));const Gt=be.ui.touched;O(t,Gt,q=>i(145,G=q));const Ci=be.ui.modals.hotKeyMap.data;O(t,Ci,q=>i(165,r=q));const Di=be.ui.modals.hotKeyMap.show;O(t,Di,q=>i(64,j=q));const Pi=be.ui.overlayContainer$,Qi=be.actions.internal.closeSettingsMenu,{fakeIsPlaying$:Si}=sl();O(t,Si,q=>i(139,v=q));let di,mi,Ti=0,Ei=0,Ai,Ae,Wi;Ci.set(Vf());let Ki,Ii;const ji=Ee(!1);O(t,ji,q=>i(53,h=q));let Li;const Ne=Ee(!1);O(t,Ne,q=>i(146,B=q));const pi=Ee(),Vi=Ee(!1);O(t,Vi,q=>i(142,k=q));let Dt=!1,Ot=!1,oi,$i;$i=!!(Et&&te.length);let Oi,en,tn,Xi,Mi,Gi=!1,Hi,nn=!1;const{toggle:ee}=Si;let xe=!1,gt=null,li;zt?.setContext(h1());const Ji=()=>{Q&&!Et&&It($.controls.hideTimeout)};be.setUiCallbacks({onStarted:Ji});const sn=()=>{window.clearTimeout(Ai),Ne.set(!1)},kn=()=>{window.clearTimeout(Ae),pi.set(null)},It=q=>{sn(),Ne.set(!0),Ai=window.setTimeout(()=>Ne.set(!1),q);const si=q-100;Li=window.setTimeout(()=>{h&&ji.set(!1)},si>0?si:q)},rn=(q,si)=>{kn(),pi.set(si),Ae=window.setTimeout(()=>pi.set(null),q)},an=ni.subscribe(q=>{jt.set(q),q&&(window.clearTimeout(Wi),Wi=window.setTimeout(()=>jt.set(!1),$.controls.hide360IconTimeout))}),dn=async()=>{const q=Mo();if(q){It($.controls.hideTimeoutFullscreen);try{await zt?.remove()}catch(si){$t({message:String(si)})}}ci.set(q),be.getAdmanWrapper().setFullscreen(q),m?be.callbacks?.onFullscreenEnter?.():be.callbacks?.onFullscreenExit?.()},yn=q=>{const si=q;yi.set({width:si.target.width,height:si.target.height})};on(()=>(U1(dn),nl(zt)&&(zt?.assignPlayerContainer(di),zt?.registryExternalEventHandlers({resize:yn})),_e&&re.parentElement?.insertBefore(_e,re.nextSibling),()=>{window.clearTimeout(Ai),window.clearTimeout(Li),window.clearTimeout(Ae),window.clearTimeout(Wi),an(),zt?.dispose(),q1(dn)}));const mn=async()=>{if(Mo())await F1(document),$t({message:"exit fullscreen"});else{$t({message:"request fullscreen"});const q=pt??di,si=q.getRootNode(),it=si instanceof ShadowRoot?si.host:si,I=ft instanceof HTMLElement&&ft.contains(it),se=$.allowChangingFullscreenTarget&&ft&&I?ft:q;await H1(se)}},y=()=>{Qi(),mt.set(!1)},at=q=>{mt.set(!0),i(42,Ti=q.clientX),i(43,Ei=q.clientY)};function zn(){Vi.set(!0),Et||It($.controls.hideTimeoutCursor)}function Dn(){Et||(ji.set(!0),It($.controls.hideTimeoutCursor))}function Tn(){Vi.set(!1),i(130,Ot=!1),i(129,Dt=!1),xe=!1,be.actions.internal.releaseCamera()}function $n(q){if(di){const si=Hu(q.currentTarget),it=f.height,I=q.pageY-si;I<ns?i(130,Ot=!0):I>it-ns?i(129,Dt=!0):(i(130,Ot=!1),l||i(129,Dt=!1))}}function eo(q){$n(q),Oi||It($.controls.hideTimeoutCursor),c&&xe&&gt&&be.actions.internal.moveCameraFocusPX(gt.clientX-q.clientX,gt.clientY-q.clientY,q.timeStamp-gt.timeStamp),gt=q}const to=q=>{q.button===0&&(xe=!0,be.actions.internal.holdCamera()),It($.controls.hideTimeoutCursor)},io=q=>{q.button===0&&(gt=q,xe=!1,be.actions.internal.releaseCamera()),It($.controls.hideTimeoutCursor)},jn=()=>{$t({message:"double click on video"}),mn(),It($.controls.hideTimeoutCursor)},no=()=>{if(n||l){y();return}if(!(a&&!At)){if(nn)return ee();if(li?.focus(),!ht){Yi(),It($.controls.hideTimeoutCursor);return}be.actions.internal.togglePlay(),It($.controls.hideTimeoutCursor)}},Gn=q=>{y(),Gt.set(!0),It($.controls.hideTimeout),q&&rn($.controls.hideHotKeyHelpers,q)},Yn=()=>{y(),be.callbacks?.onOpenHotKeyMap?be.callbacks?.onOpenHotKeyMap(r):Di.update(q=>!q)},oo=()=>{if(n||l){y();return}},pn=()=>{Gt.set(!0)},On=be.ui.contextMenu.openedByKeyboard$;O(t,On,q=>i(135,s=q));let lo=be.ui.contextMenu.btnRef$;O(t,lo,q=>i(134,o=q));let Hn;function so(q){ve[q?"unshift":"push"](()=>{re=q,i(0,re)})}const Co=()=>li?.focus();function En(q){mi=q,i(41,mi)}const ro=()=>li?.focus();function ao(q){Hn=q,i(32,Hn)}function Fn(q){ve[q?"unshift":"push"](()=>{li=q,i(51,li)})}function Un(q){ve[q?"unshift":"push"](()=>{Ii=q,i(30,Ii)})}function Qn(q){ve[q?"unshift":"push"](()=>{di=q,i(40,di)})}return t.$$set=q=>{"store"in q&&i(124,be=q.store),"uiConfig"in q&&i(1,$=q.uiConfig),"title"in q&&i(2,Pe=q.title),"thumbUrl"in q&&i(3,Te=q.thumbUrl),"videoLogoUrl"in q&&i(4,Me=q.videoLogoUrl),"videoContainer"in q&&i(0,re=q.videoContainer),"interactiveContainer"in q&&i(125,_e=q.interactiveContainer),"live"in q&&i(5,J=q.live),"autoplay"in q&&i(6,Q=q.autoplay),"canRewindLive"in q&&i(7,De=q.canRewindLive),"showAds"in q&&i(8,et=q.showAds),"adsSlotId"in q&&i(9,Xe=q.adsSlotId),"adsParams"in q&&i(10,ye=q.adsParams),"adsPreviewParam"in q&&i(11,Ge=q.adsPreviewParam),"duration"in q&&i(12,Je=q.duration),"logoClickable"in q&&i(13,ct=q.logoClickable),"logoHidden"in q&&i(14,bt=q.logoHidden),"showNextPrevButtons"in q&&i(15,Fe=q.showNextPrevButtons),"nextButtonActive"in q&&i(16,Le=q.nextButtonActive),"prevButtonActive"in q&&i(17,vt=q.prevButtonActive),"endScreenVideoTitle"in q&&i(18,Bt=q.endScreenVideoTitle),"endScreenVideoThumb"in q&&i(19,xt=q.endScreenVideoThumb),"isOneVideoPlaylist"in q&&i(20,qt=q.isOneVideoPlaylist),"supportLink"in q&&i(21,ce=q.supportLink),"outerContainerRef"in q&&i(126,pt=q.outerContainerRef),"playerStarted"in q&&i(22,ht=q.playerStarted),"fullScreenTarget"in q&&i(127,ft=q.fullScreenTarget),"showMiniTimer"in q&&i(128,st=q.showMiniTimer),"playNextVideo"in q&&i(23,kt=q.playNextVideo),"playPrevVideo"in q&&i(24,Pt=q.playPrevVideo),"repeatPlaylist"in q&&i(25,ai=q.repeatPlaylist),"seekToInteractive"in q&&i(26,Fi=q.seekToInteractive),"toggleGraph"in q&&i(27,Zt=q.toggleGraph),"playPrevChapter"in q&&i(28,Ui=q.playPrevChapter),"firstStart"in q&&i(29,Yi=q.firstStart)},t.$$.update=()=>{if(t.$$.dirty[1]&192|t.$$.dirty[4]&100663296&&i(44,Ki=(M===Ve.Video&&le||M===Ve.Ads&&X===Xt.INACTIVE)&&!C),t.$$.dirty[0]&1073741824&&Pi.set(Ii),t.$$.dirty[4]&16777216&&i(131,oi=z!==Ft.PLAYING),t.$$.dirty[4]&8524e3&&i(132,Oi=_&&!l&&!(Dt||Ot)&&!(oi&&!L)),t.$$.dirty[1]&448|t.$$.dirty[4]&4264320&&Kt.set((oi||l||w||x||B)&&!Oi&&M===Ve.Video&&!C),t.$$.dirty[0]&2|t.$$.dirty[1]&224|t.$$.dirty[4]&2097168&&i(46,en=$.features.thumbTimer&&st&&M===Ve.Video&&!S&&!C&&!Et&&($.hideThumbTimerAfterTouch&&!G||!$.hideThumbTimerAfterTouch)),t.$$.dirty[1]&128|t.$$.dirty[4]&1064960&&i(47,tn=M===Ve.Video&&!ie&&m),t.$$.dirty[0]&256|t.$$.dirty[1]&64|t.$$.dirty[4]&532480&&i(31,Xi=(et&&V||!et)&&a&&!C),t.$$.dirty[1]&33|t.$$.dirty[4]&393216&&i(48,Mi=k&&!(S||Xi)&&!_),t.$$.dirty[0]&2|t.$$.dirty[4]&197120&&(!w&&Gi&&!_&&It($.controls.hideTimeoutCursor),i(133,Gi=w)),t.$$.dirty[0]&1|t.$$.dirty[1]&24&&i(49,Hi=re&&b%180?f.height/f.width:1),t.$$.dirty[4]&32768&&i(50,nn=v!==null),t.$$.dirty[1]&6|t.$$.dirty[4]&2048&&Hl(Hn,n,s),t.$$.dirty[1]&4|t.$$.dirty[4]&1024){const q=o;q&&Ol(q,n,On)}},[re,$,Pe,Te,Me,J,Q,De,et,Xe,ye,Ge,Je,ct,bt,Fe,Le,vt,Bt,xt,qt,ce,ht,kt,Pt,ai,Fi,Zt,Ui,Yi,Ii,Xi,Hn,n,f,b,S,C,M,x,di,mi,Ti,Ei,Ki,$i,en,tn,Mi,Hi,nn,li,c,h,P,oe,K,ne,we,Ue,qe,Ie,Ce,ue,j,ae,Bi,Ri,Rt,ei,ui,Wt,ci,Kt,gi,Ni,mt,fi,bi,_i,Nt,vi,ti,ii,St,wi,rt,Tt,zi,ki,yi,ni,jt,qi,Et,wt,yt,Zi,Gt,Ci,Di,Si,ji,Ne,pi,Vi,ee,mn,y,at,zn,Dn,Tn,eo,to,io,jn,no,Gn,Yn,oo,pn,On,lo,be,_e,pt,ft,st,Dt,Ot,oi,Oi,Gi,o,s,l,a,m,v,w,_,k,V,ie,G,B,L,z,X,le,so,Co,En,ro,ao,Fn,Un,Qn]}class bh extends ge{constructor(e){super(),he(this,e,gh,ph,pe,{store:124,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:125,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:126,playerStarted:22,fullScreenTarget:127,showMiniTimer:128,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},dh,[-1,-1,-1,-1,-1,-1])}}const _h=t=>{if(!Ll(!0))return!1;const e=t.device===Ac.iPad||window?.screen.width>700,i=Ic();return!e||e&&!!i&&i<16};function vh(t){ze(t,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function Za(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_=Y("doubletap_seek_step",{seconds:t[1].toFixed(0)})+"",S;return{c(){e=A("div"),n=D(),o=A("div"),s=A("div"),l=A("div"),a=D(),c=A("div"),m=D(),h=A("div"),b=D(),w=A("p"),S=Re(_),u(e,"class",i="semicircle "+t[0]+" v-nhq2ld"),u(l,"class",r="triangle "+t[0]+" v-nhq2ld"),u(c,"class",f="triangle "+t[0]+" v-nhq2ld"),u(h,"class",v="triangle "+t[0]+" v-nhq2ld"),u(s,"class","triangles-wrapper v-nhq2ld"),u(w,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(k,C){E(k,e,C),E(k,n,C),E(k,o,C),p(o,s),p(s,l),p(s,a),p(s,c),p(s,m),p(s,h),p(o,b),p(o,w),p(w,S)},p(k,C){C&1&&i!==(i="semicircle "+k[0]+" v-nhq2ld")&&u(e,"class",i),C&1&&r!==(r="triangle "+k[0]+" v-nhq2ld")&&u(l,"class",r),C&1&&f!==(f="triangle "+k[0]+" v-nhq2ld")&&u(c,"class",f),C&1&&v!==(v="triangle "+k[0]+" v-nhq2ld")&&u(h,"class",v),C&2&&_!==(_=Y("doubletap_seek_step",{seconds:k[1].toFixed(0)})+"")&&Qe(S,_)},d(k){k&&(T(e),T(n),T(o))}}}function wh(t){let e,i,n,o,s=t[2]&&Za(t);return{c(){e=A("div"),s&&s.c(),u(e,"class",i="double-click-area "+t[0]+" v-nhq2ld")},m(l,r){E(l,e,r),s&&s.m(e,null),n||(o=me(e,"click",tt(t[3]())),n=!0)},p(l,[r]){l[2]?s?s.p(l,r):(s=Za(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&1&&i!==(i="double-click-area "+l[0]+" v-nhq2ld")&&u(e,"class",i)},i:W,o:W,d(l){l&&T(e),s&&s.d(),n=!1,o()}}}function kh(t,e,i){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:s}=e,{handleSecondClick:l}=e,r=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{s(),h=0},300):(window.clearTimeout(a),h=0,l(),i(2,r=!0),c=window.setTimeout(()=>{i(2,r=!1)},500))}};return ll(()=>{window.clearTimeout(a),window.clearTimeout(c)}),t.$$set=m=>{"side"in m&&i(0,n=m.side),"seekStep"in m&&i(1,o=m.seekStep),"handleSingleFirstClick"in m&&i(4,s=m.handleSingleFirstClick),"handleSecondClick"in m&&i(5,l=m.handleSecondClick)},[n,o,r,f,s,l]}class Fu extends ge{constructor(e){super(),he(this,e,kh,wh,pe,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},vh)}}function yh(t,e,i){let{playNextVideo:n}=e;return on(()=>{n()}),t.$$set=o=>{"playNextVideo"in o&&i(0,n=o.playNextVideo)},[n]}class Ch extends ge{constructor(e){super(),he(this,e,yh,null,pe,{playNextVideo:0})}}const{window:Ph}=p1;function Sh(t){ze(t,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function Wa(t){let e,i,n,o;e=new Fu({props:{side:"left",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[101],handleSecondClick:t[129]}});let s=!t[49]&&Ka(t);return{c(){U(e.$$.fragment),i=D(),s&&s.c(),n=lt()},m(l,r){H(e,l,r),E(l,i,r),s&&s.m(l,r),E(l,n,r),o=!0},p(l,r){const a={};r[0]&2&&(a.seekStep=l[1].controls.seekStepMobile/1e3),e.$set(a),l[49]?s&&(fe(),g(s,1,1,()=>{s=null}),de()):s?(s.p(l,r),r[1]&262144&&d(s,1)):(s=Ka(l),s.c(),d(s,1),s.m(n.parentNode,n))},i(l){o||(d(e.$$.fragment,l),d(s),o=!0)},o(l){g(e.$$.fragment,l),g(s),o=!1},d(l){l&&(T(i),T(n)),F(e,l),s&&s.d(l)}}}function Ka(t){let e,i;return e=new Fu({props:{side:"right",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[101],handleSecondClick:t[130]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&2&&(s.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ja(t){let e,i;return e=new Du({props:{thumbUrl:t[2],startTime:t[4]?.startTime}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&4&&(s.thumbUrl=n[2]),o[0]&16&&(s.startTime=n[4]?.startTime),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ga(t){let e,i;return e=new Ou({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ya(t){let e,i,n;return i=new Z1({props:{adsSlotId:t[8],adsParams:t[9],adsPreviewParam:t[10],duration:t[11]}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","ads-container v-1jy89ut"),R(e,"hidden",t[34]!==Ve.Ads)},m(o,s){E(o,e,s),H(i,e,null),n=!0},p(o,s){const l={};s[0]&256&&(l.adsSlotId=o[8]),s[0]&512&&(l.adsParams=o[9]),s[0]&1024&&(l.adsPreviewParam=o[10]),s[0]&2048&&(l.duration=o[11]),i.$set(l),(!n||s[1]&8)&&R(e,"hidden",o[34]!==Ve.Ads)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function Qa(t){let e,i;return e=new Ch({props:{playNextVideo:t[22]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&4194304&&(s.playNextVideo=n[22]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Xa(t){let e,i;return e=new Mu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ja(t){let e,i,n;return i=new N1({props:{ariaLabel:Y("video360")}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,s){E(o,e,s),H(i,e,null),n=!0},p:W,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function xa(t){let e,i;return e=new Ru({props:{thumbUrl:t[2],chromecastDeviceName:t[52]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&4&&(s.thumbUrl=n[2]),o[1]&2097152&&(s.chromecastDeviceName=n[52]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function $a(t){let e,i;return e=new Bu({props:{shifted:t[30],captions:t[54],position:t[45],playerSize:t[31],isMobile:!0}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&1073741824&&(s.shifted=n[30]),o[1]&8388608&&(s.captions=n[54]),o[1]&16384&&(s.position=n[45]),o[1]&1&&(s.playerSize=n[31]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function e1(t){let e,i,n,o,s;return i=new Nu({}),{c(){e=A("div"),U(i.$$.fragment)},m(l,r){E(l,e,r),H(i,e,null),n=!0,o||(s=me(e,"click",tt(t[102])),o=!0)},p:W,i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&T(e),F(i),o=!1,s()}}}function t1(t){let e,i,n;function o(l){t[131](l)}let s={bottomHidden:t[34]===Ve.Thumb||t[34]===Ve.WaitingLive||t[34]===Ve.WaitingRecord||t[34]===Ve.Ads,showControls:t[30],bottomNoSmooth:t[46],isAds:t[34]===Ve.Ads,canRewindLive:t[6]&&t[55]!==0,logoClickable:t[12],logoHidden:t[13],videoLogoUrl:t[3],showNextPrevButtons:t[14],nextButtonActive:t[15],prevButtonActive:t[16],isOneVideoPlaylist:t[19],supportLink:t[20],customFullscreenSupported:t[40],playNextVideo:t[22],playPrevVideo:t[23],repeatPlaylist:t[24],toggleFullscreen:t[99],seekToInteractive:t[25],toggleGraph:t[26],playPrevChapter:t[27]};return t[37]!==void 0&&(s.controlsElementRef=t[37]),e=new Lu({props:s}),ve.push(()=>He(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&8&&(a.bottomHidden=l[34]===Ve.Thumb||l[34]===Ve.WaitingLive||l[34]===Ve.WaitingRecord||l[34]===Ve.Ads),r[0]&1073741824&&(a.showControls=l[30]),r[1]&32768&&(a.bottomNoSmooth=l[46]),r[1]&8&&(a.isAds=l[34]===Ve.Ads),r[0]&64|r[1]&16777216&&(a.canRewindLive=l[6]&&l[55]!==0),r[0]&4096&&(a.logoClickable=l[12]),r[0]&8192&&(a.logoHidden=l[13]),r[0]&8&&(a.videoLogoUrl=l[3]),r[0]&16384&&(a.showNextPrevButtons=l[14]),r[0]&32768&&(a.nextButtonActive=l[15]),r[0]&65536&&(a.prevButtonActive=l[16]),r[0]&524288&&(a.isOneVideoPlaylist=l[19]),r[0]&1048576&&(a.supportLink=l[20]),r[1]&512&&(a.customFullscreenSupported=l[40]),r[0]&4194304&&(a.playNextVideo=l[22]),r[0]&8388608&&(a.playPrevVideo=l[23]),r[0]&16777216&&(a.repeatPlaylist=l[24]),r[0]&33554432&&(a.seekToInteractive=l[25]),r[0]&67108864&&(a.toggleGraph=l[26]),r[0]&134217728&&(a.playPrevChapter=l[27]),!i&&r[1]&64&&(i=!0,a.controlsElementRef=l[37],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function i1(t){let e,i;return e=new nu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function n1(t){let e,i;return e=new X1({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function o1(t){let e,i,n=t[6]&&t[79]&&!t[48].has(nt.TIMELINE),o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C;e=new zu({props:{hidden:t[34]!==Ve.Thumb||t[33]||t[90]&&t[5],thumbUrl:t[2],startVideo:t[28]}});let V=n&&Wa(t),ie=t[34]===Ve.WaitingLive&&ja(t),M=t[34]===Ve.WaitingRecord&&Ga(),G=t[7]&&t[21]&&Ya(t),B=t[42]&&t[17]&&t[18]&&Qa(t),x=t[50]&&Xa(),L=t[51]&&Ja(),te=t[35]&&xa(t),z=t[53].value!=="off"&&$a(t),X=t[33]&&e1(t),le=t[21]&&t1(t);w=new K1({props:{isLive:t[56],isHidden:!t[41],isPlaying:t[57],position:t[45],duration:t[44]}});let P=t[38]&&i1(),oe=t[58]&&n1();return{c(){U(e.$$.fragment),i=D(),V&&V.c(),o=D(),ie&&ie.c(),s=D(),M&&M.c(),l=D(),G&&G.c(),r=D(),B&&B.c(),a=D(),x&&x.c(),c=D(),L&&L.c(),f=D(),te&&te.c(),m=D(),z&&z.c(),h=D(),X&&X.c(),v=D(),le&&le.c(),b=D(),U(w.$$.fragment),_=D(),P&&P.c(),S=D(),oe&&oe.c(),k=lt()},m(K,ne){H(e,K,ne),E(K,i,ne),V&&V.m(K,ne),E(K,o,ne),ie&&ie.m(K,ne),E(K,s,ne),M&&M.m(K,ne),E(K,l,ne),G&&G.m(K,ne),E(K,r,ne),B&&B.m(K,ne),E(K,a,ne),x&&x.m(K,ne),E(K,c,ne),L&&L.m(K,ne),E(K,f,ne),te&&te.m(K,ne),E(K,m,ne),z&&z.m(K,ne),E(K,h,ne),X&&X.m(K,ne),E(K,v,ne),le&&le.m(K,ne),E(K,b,ne),H(w,K,ne),E(K,_,ne),P&&P.m(K,ne),E(K,S,ne),oe&&oe.m(K,ne),E(K,k,ne),C=!0},p(K,ne){const we={};ne[0]&32|ne[1]&12&&(we.hidden=K[34]!==Ve.Thumb||K[33]||K[90]&&K[5]),ne[0]&4&&(we.thumbUrl=K[2]),ne[0]&268435456&&(we.startVideo=K[28]),e.$set(we),ne[0]&64|ne[1]&131072&&(n=K[6]&&K[79]&&!K[48].has(nt.TIMELINE)),n?V?(V.p(K,ne),ne[0]&64|ne[1]&131072&&d(V,1)):(V=Wa(K),V.c(),d(V,1),V.m(o.parentNode,o)):V&&(fe(),g(V,1,1,()=>{V=null}),de()),K[34]===Ve.WaitingLive?ie?(ie.p(K,ne),ne[1]&8&&d(ie,1)):(ie=ja(K),ie.c(),d(ie,1),ie.m(s.parentNode,s)):ie&&(fe(),g(ie,1,1,()=>{ie=null}),de()),K[34]===Ve.WaitingRecord?M?ne[1]&8&&d(M,1):(M=Ga(),M.c(),d(M,1),M.m(l.parentNode,l)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),K[7]&&K[21]?G?(G.p(K,ne),ne[0]&2097280&&d(G,1)):(G=Ya(K),G.c(),d(G,1),G.m(r.parentNode,r)):G&&(fe(),g(G,1,1,()=>{G=null}),de()),K[42]&&K[17]&&K[18]?B?(B.p(K,ne),ne[0]&393216|ne[1]&2048&&d(B,1)):(B=Qa(K),B.c(),d(B,1),B.m(a.parentNode,a)):B&&(fe(),g(B,1,1,()=>{B=null}),de()),K[50]?x?ne[1]&524288&&d(x,1):(x=Xa(),x.c(),d(x,1),x.m(c.parentNode,c)):x&&(fe(),g(x,1,1,()=>{x=null}),de()),K[51]?L?(L.p(K,ne),ne[1]&1048576&&d(L,1)):(L=Ja(),L.c(),d(L,1),L.m(f.parentNode,f)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),K[35]?te?(te.p(K,ne),ne[1]&16&&d(te,1)):(te=xa(K),te.c(),d(te,1),te.m(m.parentNode,m)):te&&(fe(),g(te,1,1,()=>{te=null}),de()),K[53].value!=="off"?z?(z.p(K,ne),ne[1]&4194304&&d(z,1)):(z=$a(K),z.c(),d(z,1),z.m(h.parentNode,h)):z&&(fe(),g(z,1,1,()=>{z=null}),de()),K[33]?X?(X.p(K,ne),ne[1]&4&&d(X,1)):(X=e1(K),X.c(),d(X,1),X.m(v.parentNode,v)):X&&(fe(),g(X,1,1,()=>{X=null}),de()),K[21]?le?(le.p(K,ne),ne[0]&2097152&&d(le,1)):(le=t1(K),le.c(),d(le,1),le.m(b.parentNode,b)):le&&(fe(),g(le,1,1,()=>{le=null}),de());const Ue={};ne[1]&33554432&&(Ue.isLive=K[56]),ne[1]&1024&&(Ue.isHidden=!K[41]),ne[1]&67108864&&(Ue.isPlaying=K[57]),ne[1]&16384&&(Ue.position=K[45]),ne[1]&8192&&(Ue.duration=K[44]),w.$set(Ue),K[38]?P?ne[1]&128&&d(P,1):(P=i1(),P.c(),d(P,1),P.m(S.parentNode,S)):P&&(fe(),g(P,1,1,()=>{P=null}),de()),K[58]?oe?ne[1]&134217728&&d(oe,1):(oe=n1(),oe.c(),d(oe,1),oe.m(k.parentNode,k)):oe&&(fe(),g(oe,1,1,()=>{oe=null}),de())},i(K){C||(d(e.$$.fragment,K),d(V),d(ie),d(M),d(G),d(B),d(x),d(L),d(te),d(z),d(X),d(le),d(w.$$.fragment,K),d(P),d(oe),C=!0)},o(K){g(e.$$.fragment,K),g(V),g(ie),g(M),g(G),g(B),g(x),g(L),g(te),g(z),g(X),g(le),g(w.$$.fragment,K),g(P),g(oe),C=!1},d(K){K&&(T(i),T(o),T(s),T(l),T(r),T(a),T(c),T(f),T(m),T(h),T(v),T(b),T(_),T(S),T(k)),F(e,K),V&&V.d(K),ie&&ie.d(K),M&&M.d(K),G&&G.d(K),B&&B.d(K),x&&x.d(K),L&&L.d(K),te&&te.d(K),z&&z.d(K),X&&X.d(K),le&&le.d(K),F(w,K),P&&P.d(K),oe&&oe.d(K)}}}function l1(t){let e,i;return e=new iu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Th(t){let e,i,n,o,s,l=t[47],r,a,c,f,m,h,v=o1(t),b=t[39]&&l1();return{c(){e=A("div"),i=A("div"),n=A("div"),s=D(),v.c(),r=D(),a=A("div"),c=D(),b&&b.c(),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${t[32]}deg) scale(${t[43]})`),R(n,"fast-rotate",!t[1].isSmoothVideoRotate),u(i,"class","video-wrapper v-1jy89ut"),R(i,"hidden",t[34]!==Ve.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut"),u(e,"role","region"),u(e,"aria-label",Y("aria_label_video_player")),u(e,"tabindex","-1")},m(w,_){E(w,e,_),p(e,i),p(i,n),t[128](n),p(e,s),v.m(e,null),p(e,r),p(e,a),t[132](a),p(e,c),b&&b.m(e,null),t[133](e),f=!0,m||(h=[me(Ph,"blur",t[100]),me(i,"click",Jt(t[101])),me(e,"click",t[103],!0),me(e,"focusin",t[104],!0)],m=!0)},p(w,_){(!f||_[1]&4098&&o!==(o=`transform: rotate(${w[32]}deg) scale(${w[43]})`))&&u(n,"style",o),(!f||_[0]&2)&&R(n,"fast-rotate",!w[1].isSmoothVideoRotate),(!f||_[1]&8)&&R(i,"hidden",w[34]!==Ve.Video),_[1]&65536&&pe(l,l=w[47])?(fe(),g(v,1,1,W),de(),v=o1(w),v.c(),d(v,1),v.m(e,r)):v.p(w,_),w[39]?b?_[1]&256&&d(b,1):(b=l1(),b.c(),d(b,1),b.m(e,null)):b&&(fe(),g(b,1,1,()=>{b=null}),de())},i(w){f||(d(v),d(b),f=!0)},o(w){g(v),g(b),f=!1},d(w){w&&T(e),t[128](null),v.d(w),t[132](null),b&&b.d(),t[133](null),m=!1,$e(h)}}}function Eh(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B,x,L,te,z,X,le,P,oe,K,ne,we,Ue,qe,Ie,Ce,{store:ue}=e,{uiConfig:j}=e,{thumbUrl:ae}=e,{videoLogoUrl:be}=e,{videoContainer:$}=e,{interactiveContainer:Pe}=e,{live:Te}=e,{autoplay:Me}=e,{canRewindLive:re}=e,{showAds:_e}=e,{adsSlotId:J=void 0}=e,{adsParams:Q=void 0}=e,{adsPreviewParam:De=void 0}=e,{duration:et=void 0}=e,{logoClickable:Xe}=e,{logoHidden:ye}=e,{showNextPrevButtons:Ge=!1}=e,{nextButtonActive:Je=!1}=e,{prevButtonActive:ct=!1}=e,{endScreenVideoTitle:bt=void 0}=e,{endScreenVideoThumb:Fe=void 0}=e,{isOneVideoPlaylist:Le=!1}=e,{supportLink:vt}=e,{outerContainerRef:Bt=void 0}=e,{showMiniTimer:xt=!1}=e,{fullScreenTarget:qt=void 0}=e,{playerStarted:ce=!1}=e,{playNextVideo:pt=je}=e,{playPrevVideo:ht=je}=e,{repeatPlaylist:ft=je}=e,{seekToInteractive:st}=e,{toggleGraph:kt}=e,{playPrevChapter:Pt}=e,{firstStart:ai}=e,{seekTime:Fi}=e;const Zt=ue.getLogger().createComponentLog("Root component"),Ui=ue.interfaceLanguage$;O(t,Ui,y=>i(47,z=y));const Yi=ue.state.playbackState$;O(t,Yi,y=>i(125,x=y));const $t=ue.ads.playbackState;O(t,$t,y=>i(126,L=y));const Bi=ue.state.positionWithScrubbing$;O(t,Bi,y=>i(45,l=y));const Ri=ue.state.duration$;O(t,Ri,y=>i(44,s=y));const Rt=ue.playerPhase;O(t,Rt,y=>i(34,V=y));const ei=ue.ui.isFullscreen;O(t,ei,y=>i(139,a=y));const ui=ue.ui.controlsVisible;O(t,ui,y=>i(30,o=y));const Wt=ue.ui.interactiveHideMobileControls;O(t,Wt,y=>i(117,h=y));const ci=ue.ui.settingsMenuVisible;O(t,ci,y=>i(116,n=y));const Kt=ue.ui.scrubbingInProgress;O(t,Kt,y=>i(118,b=y));const gi=ue.ui.debugPanelVisible;O(t,gi,y=>i(58,Ce=y));const Ni=ue.state.isLoaderVisible;O(t,Ni,y=>i(127,te=y));const mt=ue.state.isEnded$;O(t,mt,y=>i(120,S=y));const fi=ue.state.chromecastConnected$;O(t,fi,y=>i(35,ie=y));const bi=ue.state.chromecastDeviceName$;O(t,bi,y=>i(52,K=y));const _i=ue.ads.postrollPassed;O(t,_i,y=>i(121,k=y));const Nt=ue.ui.mobileUnmuteButtonExpanded,vi=ue.ui.mobileUnmuteButtonVisible,ti=ue.state.isLive$;O(t,ti,y=>i(56,qe=y));const ii=ue.state.isPlaying$;O(t,ii,y=>i(57,Ie=y));const St=ue.state.isActiveLive$;O(t,St,y=>i(49,le=y));const wi=ue.state.isRewindableLive$,zt=ue.state.crashed$;O(t,zt,y=>i(33,_=y));const rt=ue.webApi.pictureInPictureApi,Tt=ue.state.videoSize$;O(t,Tt,y=>i(140,f=y));const zi=ue.state.currentSubtitle$;O(t,zi,y=>i(53,ne=y));const ki=ue.state.currentSubtitleCaptions$;O(t,ki,y=>i(54,we=y));const yi=ue.state.duration$;O(t,yi,y=>i(55,Ue=y));const ni=ue.state.graphIsOpened$;O(t,ni,y=>i(124,G=y));const jt=ue.ui.playerSize;O(t,jt,y=>i(31,c=y));const qi=ue.ui.is3DVideo;O(t,qi,y=>i(50,P=y));const Et=ue.ui.icon3DVideoVisible;O(t,Et,y=>i(51,oe=y));const wt=ue.ui.rotateAlpha;O(t,wt,y=>i(32,v=y));const yt=ue.state.isInteractive,At=ue.state.isInteractiveTime$;O(t,At,y=>i(119,w=y));const Zi=ue.state.isInteractiveExpectation$;O(t,Zi,y=>i(123,M=y));const Gt=ue.state.hasInteractiveBranches,Ci=ue.state.interactiveEpisodes$;O(t,Ci,y=>i(141,B=y));const Di=ue.ui.controls.disabledControls$;O(t,Di,y=>i(48,X=y));const Pi=ue.ui.touched;O(t,Pi,y=>i(122,C=y));const Qi=ue.ui.clientInfo$;O(t,Qi,y=>i(138,r=y));const Si=ue.ui.overlayContainer$,di=ue.actions.internal.closeSettingsMenu;let mi,Ti,Ei,Ai,Ae,Wi,Ki;const Ii=Ee(!1);O(t,Ii,y=>i(46,m=y));let ji,Li=!1,Ne,pi=!1,Vi;Vi=!!(yt&&B.length);let Dt,Ot=!0,oi,$i,Oi=!1,en;rt?.setContext(h1());const tn=y=>{clearTimeout(Ai),y&&(vi.set(!0),Nt.set(!0),Ai=window.setTimeout(()=>{Nt.set(!1)},j.controls.collapseMobileUnmute),yt||Mi(j.controls.hideTimeoutMobile))};ue.setUiCallbacks({onStarted:tn});const Xi=()=>{window.clearTimeout(Ei),i(111,Li=!1),h&&Wt.set(!1)},Mi=y=>{Xi(),i(111,Li=!0),Ei=window.setTimeout(()=>i(111,Li=!1),y);const at=y-100;ji=window.setTimeout(()=>{m&&Ii.set(!1)},at>0?at:y)},Gi=qi.subscribe(y=>{Et.set(y),y&&(window.clearTimeout(Ae),Ae=window.setTimeout(()=>Et.set(!1),j.controls.hide360IconTimeout))}),Hi=async()=>{const y=Mo();if(y){Mi(j.controls.hideTimeoutFullscreen);try{await rt?.remove()}catch(at){Zt({message:String(at)})}try{const at=f?.width&&f?.height?f:c;await Lf(at)}catch(at){Zt({message:String(at)})}}ei.set(y),ue.getAdmanWrapper().setFullscreen(y),a?ue.callbacks?.onFullscreenEnter?.():ue.callbacks?.onFullscreenExit?.()},nn=y=>{const at=y;jt.set({width:at.target.width,height:at.target.height})};on(()=>(U1(Hi),nl(rt)&&(rt?.assignPlayerContainer(mi),rt?.registryExternalEventHandlers({resize:nn})),i(40,Ot=!_h(r)),Pe&&$.parentElement?.insertBefore(Pe,$.nextSibling),()=>{window.clearTimeout(Ei),window.clearTimeout(ji),window.clearTimeout(Ai),window.clearTimeout(Ae),Gi(),rt?.dispose(),q1(Hi)}));const ee=y=>{let at=l+(y==="forward"?1:-1)*j.controls.seekStepMobile/1e3;at<0?at=0:at>s&&(at=s-1),i(113,pi=!0),Fi(at)},xe=async()=>{if(Mo())await F1(document),Zt({message:"exit fullscreen"});else{Zt({message:"request fullscreen"});const y=Ll()||!Bt?mi:Bt,at=y.getRootNode(),zn=at instanceof ShadowRoot?at.host:at,Dn=qt instanceof HTMLElement&&qt.contains(zn),Tn=j.allowChangingFullscreenTarget&&qt&&Dn?qt:y;await H1(Tn)}},gt=()=>{di()},li=()=>{if(n){gt();return}if(!ce){ai(),Mi(j.controls.hideTimeoutCursor);return}i(113,pi=!1),o?Xi():Mi(j.controls.hideTimeoutMobile)},Ji=()=>{if(n){gt();return}},sn=()=>{Pi.set(!0)},kn=()=>{yt||(Ii.set(!0),Mi(j.controls.hideTimeoutCursor))};function It(y){ve[y?"unshift":"push"](()=>{$=y,i(0,$)})}const rn=()=>ee("backward"),an=()=>ee("forward");function dn(y){Ti=y,i(37,Ti)}function yn(y){ve[y?"unshift":"push"](()=>{Ki=y,i(29,Ki)})}function mn(y){ve[y?"unshift":"push"](()=>{mi=y,i(36,mi)})}return t.$$set=y=>{"store"in y&&i(105,ue=y.store),"uiConfig"in y&&i(1,j=y.uiConfig),"thumbUrl"in y&&i(2,ae=y.thumbUrl),"videoLogoUrl"in y&&i(3,be=y.videoLogoUrl),"videoContainer"in y&&i(0,$=y.videoContainer),"interactiveContainer"in y&&i(106,Pe=y.interactiveContainer),"live"in y&&i(4,Te=y.live),"autoplay"in y&&i(5,Me=y.autoplay),"canRewindLive"in y&&i(6,re=y.canRewindLive),"showAds"in y&&i(7,_e=y.showAds),"adsSlotId"in y&&i(8,J=y.adsSlotId),"adsParams"in y&&i(9,Q=y.adsParams),"adsPreviewParam"in y&&i(10,De=y.adsPreviewParam),"duration"in y&&i(11,et=y.duration),"logoClickable"in y&&i(12,Xe=y.logoClickable),"logoHidden"in y&&i(13,ye=y.logoHidden),"showNextPrevButtons"in y&&i(14,Ge=y.showNextPrevButtons),"nextButtonActive"in y&&i(15,Je=y.nextButtonActive),"prevButtonActive"in y&&i(16,ct=y.prevButtonActive),"endScreenVideoTitle"in y&&i(17,bt=y.endScreenVideoTitle),"endScreenVideoThumb"in y&&i(18,Fe=y.endScreenVideoThumb),"isOneVideoPlaylist"in y&&i(19,Le=y.isOneVideoPlaylist),"supportLink"in y&&i(20,vt=y.supportLink),"outerContainerRef"in y&&i(107,Bt=y.outerContainerRef),"showMiniTimer"in y&&i(108,xt=y.showMiniTimer),"fullScreenTarget"in y&&i(109,qt=y.fullScreenTarget),"playerStarted"in y&&i(21,ce=y.playerStarted),"playNextVideo"in y&&i(22,pt=y.playNextVideo),"playPrevVideo"in y&&i(23,ht=y.playPrevVideo),"repeatPlaylist"in y&&i(24,ft=y.repeatPlaylist),"seekToInteractive"in y&&i(25,st=y.seekToInteractive),"toggleGraph"in y&&i(26,kt=y.toggleGraph),"playPrevChapter"in y&&i(27,Pt=y.playPrevChapter),"firstStart"in y&&i(28,ai=y.firstStart),"seekTime"in y&&i(110,Fi=y.seekTime)},t.$$.update=()=>{t.$$.dirty[1]&12|t.$$.dirty[4]&12&&i(38,Wi=(V===Ve.Video&&te||V===Ve.Ads&&L===Xt.INACTIVE)&&!_),t.$$.dirty[0]&536870912&&Si.set(Ki),t.$$.dirty[4]&2&&i(112,Ne=x!==Ft.PLAYING),t.$$.dirty[3]&1225523200|t.$$.dirty[4]&1&&i(114,Dt=G||h||!Li&&(S&&!!Gt||Ne&&M)),t.$$.dirty[1]&28|t.$$.dirty[3]&45875200&&ui.set((Ne||n||b||ie||Li&&!pi)&&!Dt&&V===Ve.Video&&!_),t.$$.dirty[0]&1073741826|t.$$.dirty[1]&12|t.$$.dirty[3]&536903680&&i(41,oi=j.features.thumbTimer&&xt&&V===Ve.Video&&!o&&!_&&!yt&&(j.hideThumbTimerAfterTouch&&!C||!j.hideThumbTimerAfterTouch)),t.$$.dirty[0]&128|t.$$.dirty[1]&4|t.$$.dirty[3]&402653184&&i(42,$i=(_e&&k||!_e)&&S&&!_),t.$$.dirty[0]&2|t.$$.dirty[3]&104857600&&(!b&&Oi&&!w&&Mi(j.controls.hideTimeoutMobile),i(115,Oi=b)),t.$$.dirty[0]&1|t.$$.dirty[1]&3&&i(43,en=$&&v%180?c.height/c.width:1)},[$,j,ae,be,Te,Me,re,_e,J,Q,De,et,Xe,ye,Ge,Je,ct,bt,Fe,Le,vt,ce,pt,ht,ft,st,kt,Pt,ai,Ki,o,c,v,_,V,ie,mi,Ti,Wi,Vi,Ot,oi,$i,en,s,l,m,z,X,le,P,oe,K,ne,we,Ue,qe,Ie,Ce,Ui,Yi,$t,Bi,Ri,Rt,ei,ui,Wt,ci,Kt,gi,Ni,mt,fi,bi,_i,ti,ii,St,wi,zt,Tt,zi,ki,yi,ni,jt,qi,Et,wt,yt,At,Zi,Ci,Di,Pi,Qi,Ii,ee,xe,gt,li,Ji,sn,kn,ue,Pe,Bt,xt,qt,Fi,Li,Ne,pi,Dt,Oi,n,h,b,w,S,k,C,M,G,x,L,te,It,rn,an,dn,yn,mn]}class Ah extends ge{constructor(e){super(),he(this,e,Eh,Th,pe,{store:105,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:106,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:107,showMiniTimer:108,fullScreenTarget:109,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:110},Sh,[-1,-1,-1,-1,-1])}}function Ih(t){ze(t,"v-cghoty",`.root.v-cghoty{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
32
+ )}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function Qp(t){let e,i;return{c(){e=A("div"),i=Re(t[0]),u(e,"class","title v-1bcvcf2"),R(e,"hidden",t[1])},m(n,o){E(n,e,o),p(e,i)},p(n,[o]){o&1&&Qe(i,n[0]),o&2&&R(e,"hidden",n[1])},i:W,o:W,d(n){n&&T(e)}}}function Xp(t,e,i){let{title:n=""}=e,{isHidden:o=!1}=e;return t.$$set=s=>{"title"in s&&i(0,n=s.title),"isHidden"in s&&i(1,o=s.isHidden)},[n,o]}class Jp extends ge{constructor(e){super(),he(this,e,Xp,Qp,pe,{title:0,isHidden:1},Yp)}}function xp(t){ze(t,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function Ca(t){let e,i,n,o,s,l,r;return{c(){e=A("div"),i=A("span"),n=Re(t[0]),o=D(),s=A("span"),s.textContent=`${Y("waiting_live_day_value")}`,l=D(),r=A("span"),r.textContent=`${Y("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,i),p(i,n),p(e,o),p(e,s),E(a,l,c),E(a,r,c)},p(a,c){c&1&&Qe(n,a[0])},d(a){a&&(T(e),T(l),T(r))}}}function Pa(t){let e,i,n,o,s,l,r;return{c(){e=A("div"),i=A("span"),n=Re(t[1]),o=D(),s=A("span"),s.textContent=`${Y("waiting_live_hour_value")}`,l=D(),r=A("span"),r.textContent=`${Y("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,i),p(i,n),p(e,o),p(e,s),E(a,l,c),E(a,r,c)},p(a,c){c&2&&Qe(n,a[1])},d(a){a&&(T(e),T(l),T(r))}}}function Sa(t){let e,i,n,o,s,l,r;return{c(){e=A("div"),i=A("span"),n=Re(t[2]),o=D(),s=A("span"),s.textContent=`${Y("waiting_live_minute_value")}`,l=D(),r=A("span"),r.textContent=`${Y("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,i),p(i,n),p(e,o),p(e,s),E(a,l,c),E(a,r,c)},p(a,c){c&4&&Qe(n,a[2])},d(a){a&&(T(e),T(l),T(r))}}}function Ta(t){let e,i,n,o,s;return{c(){e=A("div"),i=A("span"),n=Re(t[3]),o=D(),s=A("span"),s.textContent=`${Y("waiting_live_second_value")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(l,r){E(l,e,r),p(e,i),p(i,n),p(e,o),p(e,s)},p(l,r){r&8&&Qe(n,l[3])},d(l){l&&T(e)}}}function $p(t){let e,i,n,o,s=t[0]&&Ca(t),l=t[1]&&Pa(t),r=t[2]&&Sa(t),a=t[3]&&Ta(t);return{c(){e=A("div"),s&&s.c(),i=D(),l&&l.c(),n=D(),r&&r.c(),o=D(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){E(c,e,f),s&&s.m(e,null),p(e,i),l&&l.m(e,null),p(e,n),r&&r.m(e,null),p(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?s?s.p(c,f):(s=Ca(c),s.c(),s.m(e,i)):s&&(s.d(1),s=null),c[1]?l?l.p(c,f):(l=Pa(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[2]?r?r.p(c,f):(r=Sa(c),r.c(),r.m(e,o)):r&&(r.d(1),r=null),c[3]?a?a.p(c,f):(a=Ta(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:W,o:W,d(c){c&&T(e),s&&s.d(),l&&l.d(),r&&r.d(),a&&a.d()}}}function eh(t,e,i){let{startTime:n}=e,{onTimerOver:o}=e,s,l,r,a,c;const f=v=>String(v).padStart(2,"0"),m=v=>{const b=Math.floor(v/86400);b&&(v-=b*86400,i(0,s=f(b)));const w=Math.floor(v/3600);i(1,l=f(w));const _=Math.floor(v/60)%60;i(2,r=f(_));const S=v%60;i(3,a=f(S))},h=()=>{const v=Math.floor(Date.now()/1e3),b=n-v;m(b),b>=1?c=requestAnimationFrame(h):o()};return on(()=>{c=requestAnimationFrame(h)}),ll(()=>{cancelAnimationFrame(c)}),t.$$set=v=>{"startTime"in v&&i(4,n=v.startTime),"onTimerOver"in v&&i(5,o=v.onTimerOver)},[s,l,r,a,n,o]}class th extends ge{constructor(e){super(),he(this,e,eh,$p,pe,{startTime:4,onTimerOver:5},xp)}}function ih(t){let e,i,n,o,s;return{c(){e=N("svg"),i=N("path"),n=N("path"),o=N("path"),s=N("path"),u(i,"fill","#fefffe"),u(i,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),Ct(i,"opacity",".965"),u(n,"fill","#fefffe"),u(n,"d","M183.5 63.5c57.529-3.65 102.029 18.35 133.5 66 21.628 40.092 24.295 81.425 8 124a186.647 186.647 0 0 1-17.5 29.5 632.842 632.842 0 0 1-38-7c36.445-38.176 42.945-81.01 19.5-128.5-24.178-37.504-58.678-54.337-103.5-50.5-49.5 9.5-79 39-88.5 88.5-3.944 35.587 6.889 65.753 32.5 90.5a1149.466 1149.466 0 0 0-36 7.5c-1.53-.029-2.696-.696-3.5-2-29.298-42.431-34.631-87.764-16-136 21.866-46.852 58.366-74.185 109.5-82Z"),Ct(n,"opacity",".965"),u(o,"fill","#fefffe"),u(o,"d","M187.5 127.5c44.524-2.948 72.357 17.052 83.5 60 3.431 44.55-16.403 72.383-59.5 83.5-44.55 3.431-72.383-16.403-83.5-59.5-3.229-44.571 16.604-72.571 59.5-84Z"),Ct(o,"opacity",".985"),u(s,"fill","#fefffe"),u(s,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),Ct(s,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),Ct(e,"shape-rendering","geometricPrecision"),Ct(e,"text-rendering","geometricPrecision"),Ct(e,"image-rendering","optimizeQuality"),Ct(e,"fill-rule","evenodd"),Ct(e,"clip-rule","evenodd"),Ct(e,"width","100%"),Ct(e,"height","100%")},m(l,r){E(l,e,r),p(e,i),p(e,n),p(e,o),p(e,s)},p:W,i:W,o:W,d(l){l&&T(e)}}}class nh extends ge{constructor(e){super(),he(this,e,null,ih,pe,{})}}function oh(t){ze(t,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function lh(t){let e,i,n,o,s;return o=new th({props:{startTime:t[1]||0,onTimerOver:t[3]}}),{c(){e=A("div"),i=A("span"),i.textContent=`${Y("waiting_live_timer_title")}`,n=D(),U(o.$$.fragment),u(i,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(l,r){E(l,e,r),p(e,i),p(e,n),H(o,e,null),s=!0},p(l,r){const a={};r&2&&(a.startTime=l[1]||0),r&4&&(a.onTimerOver=l[3]),o.$set(a)},i(l){s||(d(o.$$.fragment,l),s=!0)},o(l){g(o.$$.fragment,l),s=!1},d(l){l&&T(e),F(o)}}}function sh(t){let e,i,n,o,s,l;return n=new nh({}),{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=D(),s=A("span"),s.textContent=`${Y("waiting_live_upcoming_title")}`,u(i,"class","upcoming-icon v-15pewff"),u(s,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(r,a){E(r,e,a),p(e,i),H(n,i,null),p(e,o),p(e,s),l=!0},p:W,i(r){l||(d(n.$$.fragment,r),l=!0)},o(r){g(n.$$.fragment,r),l=!1},d(r){r&&T(e),F(n)}}}function rh(t){let e,i,n,o,s;const l=[sh,lh],r=[];function a(c,f){return c[2]?0:1}return i=a(t),n=r[i]=l[i](t),{c(){e=A("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${t[2]?"":t[0]})`)},m(c,f){E(c,e,f),r[i].m(e,null),s=!0},p(c,[f]){let m=i;i=a(c),i===m?r[i].p(c,f):(fe(),g(r[m],1,1,()=>{r[m]=null}),de(),n=r[i],n?n.p(c,f):(n=r[i]=l[i](c),n.c()),d(n,1),n.m(e,null)),(!s||f&5&&o!==(o=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",o)},i(c){s||(d(n),s=!0)},o(c){g(n),s=!1},d(c){c&&T(e),r[i].d()}}}function ah(t,e,i){let n,{thumbUrl:o}=e,{startTime:s}=e;const l=()=>i(2,n=!0);return t.$$set=r=>{"thumbUrl"in r&&i(0,o=r.thumbUrl),"startTime"in r&&i(1,s=r.startTime)},t.$$.update=()=>{t.$$.dirty&2&&i(2,n=s===void 0||s<Math.floor(Date.now()/1e3))},[o,s,n,l]}class Du extends ge{constructor(e){super(),he(this,e,ah,rh,pe,{thumbUrl:0,startTime:1},oh)}}function uh(t){ze(t,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function ch(t){let e,i;return{c(){e=A("div"),i=A("p"),i.textContent=`${Y("waiting_record_title")}`,u(i,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){E(n,e,o),p(e,i)},p:W,i:W,o:W,d(n){n&&T(e)}}}class Ou extends ge{constructor(e){super(),he(this,e,null,ch,pe,{},uh)}}const{window:fh}=p1;function dh(t){ze(t,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function Ea(t){let e,i;return e=new Du({props:{thumbUrl:t[3],startTime:t[5]?.startTime}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&8&&(s.thumbUrl=n[3]),o[0]&32&&(s.startTime=n[5]?.startTime),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Aa(t){let e,i;return e=new Ou({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ia(t){let e,i,n;return i=new Z1({props:{adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12]}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),R(e,"hidden",t[38]!==Ve.Ads)},m(o,s){E(o,e,s),H(i,e,null),n=!0},p(o,s){const l={};s[0]&512&&(l.adsSlotId=o[9]),s[0]&1024&&(l.adsParams=o[10]),s[0]&2048&&(l.adsPreviewParam=o[11]),s[0]&4096&&(l.duration=o[12]),i.$set(l),(!n||s[1]&128)&&R(e,"hidden",o[38]!==Ve.Ads)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function La(t){let e,i;return e=new M0({props:{title:t[18],thumb:t[19],playNextVideo:t[23]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&262144&&(s.title=n[18]),o[0]&524288&&(s.thumb=n[19]),o[0]&8388608&&(s.playNextVideo=n[23]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Va(t){let e,i;return e=new Jp({props:{title:t[2],isHidden:!t[36]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&4&&(s.title=n[2]),o[1]&32&&(s.isHidden=!n[36]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ma(t){let e,i;return e=new Mu({props:{isShifted:t[38]===Ve.Video&&t[36]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[1]&160&&(s.isShifted=n[38]===Ve.Video&&n[36]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ba(t){let e,i,n;return i=new N1({props:{ariaLabel:Y("video360")}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,s){E(o,e,s),H(i,e,null),n=!0},p:W,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function Ra(t){let e,i;return e=new Ru({props:{thumbUrl:t[3],chromecastDeviceName:t[56]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&8&&(s.thumbUrl=n[3]),o[1]&33554432&&(s.chromecastDeviceName=n[56]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Na(t){let e,i;return e=new Bu({props:{shifted:t[36],captions:t[58],position:t[59],playerSize:t[34]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[1]&32&&(s.shifted=n[36]),o[1]&134217728&&(s.captions=n[58]),o[1]&268435456&&(s.position=n[59]),o[1]&8&&(s.playerSize=n[34]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function za(t){let e,i,n,o,s;return i=new Nu({}),{c(){e=A("div"),U(i.$$.fragment)},m(l,r){E(l,e,r),H(i,e,null),n=!0,o||(s=[me(e,"contextmenu",Jt(t[109])),me(e,"click",tt(t[120]))],o=!0)},p:W,i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&T(e),F(i),o=!1,$e(s)}}}function Da(t){let e,i,n;function o(l){t[153](l)}let s={bottomHidden:t[38]===Ve.Thumb||t[38]===Ve.WaitingLive||t[38]===Ve.WaitingRecord,bottomNoSmooth:t[53],showControls:t[36],isAds:t[38]===Ve.Ads,canRewindLive:t[7]&&t[60]!==0,logoClickable:t[13],logoHidden:t[14],videoLogoUrl:t[4],showNextPrevButtons:t[15],nextButtonActive:t[16],prevButtonActive:t[17],isOneVideoPlaylist:t[20],supportLink:t[21],customFullscreenSupported:hh,playNextVideo:t[23],playPrevVideo:t[24],repeatPlaylist:t[25],toggleFullscreen:t[107],returnFocus:t[152],seekToInteractive:t[26],toggleGraph:t[27],playPrevChapter:t[28]};return t[41]!==void 0&&(s.controlsElementRef=t[41]),e=new Lu({props:s}),ve.push(()=>He(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&128&&(a.bottomHidden=l[38]===Ve.Thumb||l[38]===Ve.WaitingLive||l[38]===Ve.WaitingRecord),r[1]&4194304&&(a.bottomNoSmooth=l[53]),r[1]&32&&(a.showControls=l[36]),r[1]&128&&(a.isAds=l[38]===Ve.Ads),r[0]&128|r[1]&536870912&&(a.canRewindLive=l[7]&&l[60]!==0),r[0]&8192&&(a.logoClickable=l[13]),r[0]&16384&&(a.logoHidden=l[14]),r[0]&16&&(a.videoLogoUrl=l[4]),r[0]&32768&&(a.showNextPrevButtons=l[15]),r[0]&65536&&(a.nextButtonActive=l[16]),r[0]&131072&&(a.prevButtonActive=l[17]),r[0]&1048576&&(a.isOneVideoPlaylist=l[20]),r[0]&2097152&&(a.supportLink=l[21]),r[0]&8388608&&(a.playNextVideo=l[23]),r[0]&16777216&&(a.playPrevVideo=l[24]),r[0]&33554432&&(a.repeatPlaylist=l[25]),r[1]&1048576&&(a.returnFocus=l[152]),r[0]&67108864&&(a.seekToInteractive=l[26]),r[0]&134217728&&(a.toggleGraph=l[27]),r[0]&268435456&&(a.playPrevChapter=l[28]),!i&&r[1]&1024&&(i=!0,a.controlsElementRef=l[41],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Oa(t){let e,i;return e=new nu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ha(t){let e,i;return e=new ld({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Fa(t){let e,i;return e=new X1({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ua(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B;e=new zu({props:{hidden:t[38]!==Ve.Thumb||t[37]||t[94]&&t[6],thumbUrl:t[3],startVideo:t[29]}});let x=t[38]===Ve.WaitingLive&&Ea(t),L=t[38]===Ve.WaitingRecord&&Aa(),te=t[8]&&t[22]&&Ia(t),z=t[31]&&t[18]&&t[19]&&La(t),X=t[47]&&Va(t),le=t[52]&&Ma(t),P=t[55]&&Ba(),oe=t[39]&&Ra(t),j=t[57].value!=="off"&&Na(t),ne=t[37]&&za(t),we=t[22]&&Da(t);b=new j1({props:{isLive:t[61],isHidden:!t[46],isPlaying:t[62],position:t[59],duration:t[63]}}),_=new Ap({props:{data:t[104]}});function Ue(K){t[155](K)}let qe={supportLink:t[21],returnFocus:t[154],visible:t[33],playerContainerRef:t[40],controlsContainerRef:t[41],x:t[42],y:t[43]};t[32]!==void 0&&(qe.menuElementRef=t[32]),k=new f0({props:qe}),ve.push(()=>He(k,"menuElementRef",Ue));let Ie=t[44]&&Oa(),Ce=t[64]&&Ha(),ue=t[65]&&Fa();return{c(){U(e.$$.fragment),i=D(),x&&x.c(),n=D(),L&&L.c(),o=D(),te&&te.c(),s=D(),z&&z.c(),l=D(),X&&X.c(),r=D(),le&&le.c(),a=D(),P&&P.c(),c=D(),oe&&oe.c(),f=D(),j&&j.c(),m=D(),ne&&ne.c(),h=D(),we&&we.c(),v=D(),U(b.$$.fragment),w=D(),U(_.$$.fragment),S=D(),U(k.$$.fragment),V=D(),Ie&&Ie.c(),ie=D(),Ce&&Ce.c(),M=D(),ue&&ue.c(),G=lt()},m(K,ae){H(e,K,ae),E(K,i,ae),x&&x.m(K,ae),E(K,n,ae),L&&L.m(K,ae),E(K,o,ae),te&&te.m(K,ae),E(K,s,ae),z&&z.m(K,ae),E(K,l,ae),X&&X.m(K,ae),E(K,r,ae),le&&le.m(K,ae),E(K,a,ae),P&&P.m(K,ae),E(K,c,ae),oe&&oe.m(K,ae),E(K,f,ae),j&&j.m(K,ae),E(K,m,ae),ne&&ne.m(K,ae),E(K,h,ae),we&&we.m(K,ae),E(K,v,ae),H(b,K,ae),E(K,w,ae),H(_,K,ae),E(K,S,ae),H(k,K,ae),E(K,V,ae),Ie&&Ie.m(K,ae),E(K,ie,ae),Ce&&Ce.m(K,ae),E(K,M,ae),ue&&ue.m(K,ae),E(K,G,ae),B=!0},p(K,ae){const be={};ae[0]&64|ae[1]&192&&(be.hidden=K[38]!==Ve.Thumb||K[37]||K[94]&&K[6]),ae[0]&8&&(be.thumbUrl=K[3]),ae[0]&536870912&&(be.startVideo=K[29]),e.$set(be),K[38]===Ve.WaitingLive?x?(x.p(K,ae),ae[1]&128&&d(x,1)):(x=Ea(K),x.c(),d(x,1),x.m(n.parentNode,n)):x&&(fe(),g(x,1,1,()=>{x=null}),de()),K[38]===Ve.WaitingRecord?L?ae[1]&128&&d(L,1):(L=Aa(),L.c(),d(L,1),L.m(o.parentNode,o)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),K[8]&&K[22]?te?(te.p(K,ae),ae[0]&4194560&&d(te,1)):(te=Ia(K),te.c(),d(te,1),te.m(s.parentNode,s)):te&&(fe(),g(te,1,1,()=>{te=null}),de()),K[31]&&K[18]&&K[19]?z?(z.p(K,ae),ae[0]&786432|ae[1]&1&&d(z,1)):(z=La(K),z.c(),d(z,1),z.m(l.parentNode,l)):z&&(fe(),g(z,1,1,()=>{z=null}),de()),K[47]?X?(X.p(K,ae),ae[1]&65536&&d(X,1)):(X=Va(K),X.c(),d(X,1),X.m(r.parentNode,r)):X&&(fe(),g(X,1,1,()=>{X=null}),de()),K[52]?le?(le.p(K,ae),ae[1]&2097152&&d(le,1)):(le=Ma(K),le.c(),d(le,1),le.m(a.parentNode,a)):le&&(fe(),g(le,1,1,()=>{le=null}),de()),K[55]?P?(P.p(K,ae),ae[1]&16777216&&d(P,1)):(P=Ba(),P.c(),d(P,1),P.m(c.parentNode,c)):P&&(fe(),g(P,1,1,()=>{P=null}),de()),K[39]?oe?(oe.p(K,ae),ae[1]&256&&d(oe,1)):(oe=Ra(K),oe.c(),d(oe,1),oe.m(f.parentNode,f)):oe&&(fe(),g(oe,1,1,()=>{oe=null}),de()),K[57].value!=="off"?j?(j.p(K,ae),ae[1]&67108864&&d(j,1)):(j=Na(K),j.c(),d(j,1),j.m(m.parentNode,m)):j&&(fe(),g(j,1,1,()=>{j=null}),de()),K[37]?ne?(ne.p(K,ae),ae[1]&64&&d(ne,1)):(ne=za(K),ne.c(),d(ne,1),ne.m(h.parentNode,h)):ne&&(fe(),g(ne,1,1,()=>{ne=null}),de()),K[22]?we?(we.p(K,ae),ae[0]&4194304&&d(we,1)):(we=Da(K),we.c(),d(we,1),we.m(v.parentNode,v)):we&&(fe(),g(we,1,1,()=>{we=null}),de());const $={};ae[1]&1073741824&&($.isLive=K[61]),ae[1]&32768&&($.isHidden=!K[46]),ae[2]&1&&($.isPlaying=K[62]),ae[1]&268435456&&($.position=K[59]),ae[2]&2&&($.duration=K[63]),b.$set($);const Pe={};ae[0]&2097152&&(Pe.supportLink=K[21]),ae[1]&1048576&&(Pe.returnFocus=K[154]),ae[1]&4&&(Pe.visible=K[33]),ae[1]&512&&(Pe.playerContainerRef=K[40]),ae[1]&1024&&(Pe.controlsContainerRef=K[41]),ae[1]&2048&&(Pe.x=K[42]),ae[1]&4096&&(Pe.y=K[43]),!C&&ae[1]&2&&(C=!0,Pe.menuElementRef=K[32],Oe(()=>C=!1)),k.$set(Pe),K[44]?Ie?ae[1]&8192&&d(Ie,1):(Ie=Oa(),Ie.c(),d(Ie,1),Ie.m(ie.parentNode,ie)):Ie&&(fe(),g(Ie,1,1,()=>{Ie=null}),de()),K[64]?Ce?ae[2]&4&&d(Ce,1):(Ce=Ha(),Ce.c(),d(Ce,1),Ce.m(M.parentNode,M)):Ce&&(fe(),g(Ce,1,1,()=>{Ce=null}),de()),K[65]?ue?ae[2]&8&&d(ue,1):(ue=Fa(),ue.c(),d(ue,1),ue.m(G.parentNode,G)):ue&&(fe(),g(ue,1,1,()=>{ue=null}),de())},i(K){B||(d(e.$$.fragment,K),d(x),d(L),d(te),d(z),d(X),d(le),d(P),d(oe),d(j),d(ne),d(we),d(b.$$.fragment,K),d(_.$$.fragment,K),d(k.$$.fragment,K),d(Ie),d(Ce),d(ue),B=!0)},o(K){g(e.$$.fragment,K),g(x),g(L),g(te),g(z),g(X),g(le),g(P),g(oe),g(j),g(ne),g(we),g(b.$$.fragment,K),g(_.$$.fragment,K),g(k.$$.fragment,K),g(Ie),g(Ce),g(ue),B=!1},d(K){K&&(T(i),T(n),T(o),T(s),T(l),T(r),T(a),T(c),T(f),T(m),T(h),T(v),T(w),T(S),T(V),T(ie),T(M),T(G)),F(e,K),x&&x.d(K),L&&L.d(K),te&&te.d(K),z&&z.d(K),X&&X.d(K),le&&le.d(K),P&&P.d(K),oe&&oe.d(K),j&&j.d(K),ne&&ne.d(K),we&&we.d(K),F(b,K),F(_,K),F(k,K),Ie&&Ie.d(K),Ce&&Ce.d(K),ue&&ue.d(K)}}}function mh(t){let e,i,n,o,s=t[54],l,r,a,c,f=Ua(t);return{c(){e=A("div"),i=A("div"),o=D(),f.c(),l=lt(),u(i,"class","video-container v-1o4wf3x"),u(i,"style",n=`transform: rotate(${t[35]}deg) scale(${t[49]})`),R(i,"fast-rotate",!t[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),R(e,"hidden",t[38]!==Ve.Video),R(e,"nocursor",t[48])},m(m,h){E(m,e,h),p(e,i),t[151](i),E(m,o,h),f.m(m,h),E(m,l,h),r=!0,a||(c=[me(e,"contextmenu",Jt(t[109])),me(e,"mousedown",Jt(t[114])),me(e,"mouseup",Jt(t[115])),me(e,"click",Jt(t[117])),me(e,"dblclick",Jt(t[116]))],a=!0)},p(m,h){(!r||h[1]&262160&&n!==(n=`transform: rotate(${m[35]}deg) scale(${m[49]})`))&&u(i,"style",n),(!r||h[0]&2)&&R(i,"fast-rotate",!m[1].isSmoothVideoRotate),(!r||h[1]&128)&&R(e,"hidden",m[38]!==Ve.Video),(!r||h[1]&131072)&&R(e,"nocursor",m[48]),h[1]&8388608&&pe(s,s=m[54])?(fe(),g(f,1,1,W),de(),f=Ua(m),f.c(),d(f,1),f.m(l.parentNode,l)):f.p(m,h)},i(m){r||(d(f),r=!0)},o(m){g(f),r=!1},d(m){m&&(T(e),T(o),T(l)),t[151](null),f.d(m),a=!1,$e(c)}}}function qa(t){let e,i;return e=new iu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function ph(t){let e,i,n,o,s,l,r,a,c={toggleFullscreen:t[107],hideContextMenu:t[108],showHotKeyHelpers:t[118],showKeyMap:t[119],isAds:t[38]===Ve.Ads,fakePlayButtonHandler:t[50]?t[106]:void 0,$$slots:{default:[mh]},$$scope:{ctx:t}};i=new z0({props:c}),t[156](i);let f=t[45]&&qa();return{c(){e=A("div"),U(i.$$.fragment),n=D(),o=A("div"),s=D(),f&&f.c(),u(o,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(m,h){E(m,e,h),H(i,e,null),p(e,n),p(e,o),t[157](o),p(e,s),f&&f.m(e,null),t[158](e),l=!0,r||(a=[me(fh,"blur",t[108]),me(e,"mouseenter",t[110]),me(e,"mouseleave",t[112]),me(e,"mousemove",t[113]),me(e,"click",t[121],!0),me(e,"focusin",t[111],!0)],r=!0)},p(m,h){const v={};h[1]&128&&(v.isAds=m[38]===Ve.Ads),h[1]&524288&&(v.fakePlayButtonHandler=m[50]?m[106]:void 0),h[0]&1073741823|h[1]&2146942975|h[2]&15|h[5]&67108864&&(v.$$scope={dirty:h,ctx:m}),i.$set(v),m[45]?f?h[1]&16384&&d(f,1):(f=qa(),f.c(),d(f,1),f.m(e,null)):f&&(fe(),g(f,1,1,()=>{f=null}),de())},i(m){l||(d(i.$$.fragment,m),d(f),l=!0)},o(m){g(i.$$.fragment,m),g(f),l=!1},d(m){m&&T(e),t[156](null),F(i),t[157](null),f&&f.d(),t[158](null),r=!1,$e(a)}}}let hh=!0;function Hu(t){return t?t.offsetTop+Hu(t.offsetParent):0}function gh(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B,x,L,te,z,X,le,P,oe,j,ne,we,Ue,qe,Ie,Ce,ue,K,ae,{store:be}=e,{uiConfig:$}=e,{title:Pe}=e,{thumbUrl:Te}=e,{videoLogoUrl:Me}=e,{videoContainer:re}=e,{interactiveContainer:_e}=e,{live:J}=e,{autoplay:Q}=e,{canRewindLive:De}=e,{showAds:et}=e,{adsSlotId:Xe=void 0}=e,{adsParams:ye=void 0}=e,{adsPreviewParam:Ge=void 0}=e,{duration:Je=void 0}=e,{logoClickable:ct}=e,{logoHidden:bt}=e,{showNextPrevButtons:Fe=!1}=e,{nextButtonActive:Le=!1}=e,{prevButtonActive:vt=!1}=e,{endScreenVideoTitle:Bt=void 0}=e,{endScreenVideoThumb:xt=void 0}=e,{isOneVideoPlaylist:qt=!1}=e,{supportLink:ce}=e,{outerContainerRef:pt=void 0}=e,{playerStarted:ht=!1}=e,{fullScreenTarget:ft=void 0}=e,{showMiniTimer:st=!1}=e,{playNextVideo:kt=Ke}=e,{playPrevVideo:Pt=Ke}=e,{repeatPlaylist:ai=Ke}=e,{seekToInteractive:Fi}=e,{toggleGraph:Zt}=e,{playPrevChapter:Ui}=e,{firstStart:Yi}=e;const $t=be.getLogger().createComponentLog("Root component"),Bi=be.interfaceLanguage$;O(t,Bi,q=>i(54,P=q));const Ri=be.state.playbackState$;O(t,Ri,q=>i(148,z=q));const Rt=be.ads.playbackState;O(t,Rt,q=>i(149,X=q));const ei=be.state.positionWithScrubbing$;O(t,ei,q=>i(59,Ue=q));const ui=be.state.duration$;O(t,ui,q=>i(63,ue=q));const Wt=be.playerPhase;O(t,Wt,q=>i(38,M=q));const ci=be.ui.isFullscreen;O(t,ci,q=>i(138,m=q));const jt=be.ui.controlsVisible;O(t,jt,q=>i(36,S=q));const gi=be.ui.settingsMenuVisible;O(t,gi,q=>i(136,l=q));const Ni=be.ui.scrubbingInProgress;O(t,Ni,q=>i(140,w=q));const mt=be.ui.contextMenuVisible;O(t,mt,q=>i(33,n=q));const fi=be.ui.debugPanelVisible;O(t,fi,q=>i(65,ae=q));const bi=be.state.isLoaderVisible;O(t,bi,q=>i(150,le=q));const _i=be.state.isEnded$;O(t,_i,q=>i(137,a=q));const Nt=be.state.chromecastConnected$;O(t,Nt,q=>i(39,x=q));const vi=be.state.chromecastDeviceName$;O(t,vi,q=>i(56,j=q));const ti=be.ads.postrollPassed;O(t,ti,q=>i(143,V=q));const ii=be.state.isLive$;O(t,ii,q=>i(61,Ie=q));const St=be.state.isPlaying$;O(t,St,q=>i(62,Ce=q));const wi=be.state.crashed$;O(t,wi,q=>i(37,C=q));const zt=be.webApi.pictureInPictureApi,rt=be.state.currentSubtitle$;O(t,rt,q=>i(57,ne=q));const Tt=be.state.currentSubtitleCaptions$;O(t,Tt,q=>i(58,we=q));const zi=be.state.duration$;O(t,zi,q=>i(60,qe=q));const ki=be.state.graphIsOpened$;O(t,ki,q=>i(144,ie=q));const yi=be.ui.playerSize;O(t,yi,q=>i(34,f=q));const ni=be.ui.is3DVideo;O(t,ni,q=>i(52,c=q));const Kt=be.ui.icon3DVideoVisible;O(t,Kt,q=>i(55,oe=q));const qi=be.ui.rotateAlpha;O(t,qi,q=>i(35,b=q));const Et=be.state.isInteractive,wt=be.state.isInteractiveTime$;O(t,wt,q=>i(141,_=q));const yt=be.state.isInteractiveExpectation$;O(t,yt,q=>i(147,L=q));const At=be.state.hasInteractiveBranches,Zi=be.state.interactiveEpisodes$;O(t,Zi,q=>i(166,te=q));const Gt=be.ui.touched;O(t,Gt,q=>i(145,G=q));const Ci=be.ui.modals.hotKeyMap.data;O(t,Ci,q=>i(165,r=q));const Di=be.ui.modals.hotKeyMap.show;O(t,Di,q=>i(64,K=q));const Pi=be.ui.overlayContainer$,Qi=be.actions.internal.closeSettingsMenu,{fakeIsPlaying$:Si}=sl();O(t,Si,q=>i(139,v=q));let di,mi,Ti=0,Ei=0,Ai,Ae,Wi;Ci.set(Vf());let ji,Ii;const Ki=Ee(!1);O(t,Ki,q=>i(53,h=q));let Li;const Ne=Ee(!1);O(t,Ne,q=>i(146,B=q));const pi=Ee(),Vi=Ee(!1);O(t,Vi,q=>i(142,k=q));let Dt=!1,Ot=!1,oi,$i;$i=!!(Et&&te.length);let Oi,en,tn,Xi,Mi,Gi=!1,Hi,nn=!1;const{toggle:ee}=Si;let xe=!1,gt=null,li;zt?.setContext(h1());const Ji=()=>{Q&&!Et&&It($.controls.hideTimeout)};be.setUiCallbacks({onStarted:Ji});const sn=()=>{window.clearTimeout(Ai),Ne.set(!1)},kn=()=>{window.clearTimeout(Ae),pi.set(null)},It=q=>{sn(),Ne.set(!0),Ai=window.setTimeout(()=>Ne.set(!1),q);const si=q-100;Li=window.setTimeout(()=>{h&&Ki.set(!1)},si>0?si:q)},rn=(q,si)=>{kn(),pi.set(si),Ae=window.setTimeout(()=>pi.set(null),q)},an=ni.subscribe(q=>{Kt.set(q),q&&(window.clearTimeout(Wi),Wi=window.setTimeout(()=>Kt.set(!1),$.controls.hide360IconTimeout))}),dn=async()=>{const q=Mo();if(q){It($.controls.hideTimeoutFullscreen);try{await zt?.remove()}catch(si){$t({message:String(si)})}}ci.set(q),be.getAdmanWrapper().setFullscreen(q),m?be.callbacks?.onFullscreenEnter?.():be.callbacks?.onFullscreenExit?.()},yn=q=>{const si=q;yi.set({width:si.target.width,height:si.target.height})};on(()=>(U1(dn),nl(zt)&&(zt?.assignPlayerContainer(di),zt?.registryExternalEventHandlers({resize:yn})),_e&&re.parentElement?.insertBefore(_e,re.nextSibling),()=>{window.clearTimeout(Ai),window.clearTimeout(Li),window.clearTimeout(Ae),window.clearTimeout(Wi),an(),zt?.dispose(),q1(dn)}));const mn=async()=>{if(Mo())await F1(document),$t({message:"exit fullscreen"});else{$t({message:"request fullscreen"});const q=pt??di,si=q.getRootNode(),it=si instanceof ShadowRoot?si.host:si,I=ft instanceof HTMLElement&&ft.contains(it),se=$.allowChangingFullscreenTarget&&ft&&I?ft:q;await H1(se)}},y=()=>{Qi(),mt.set(!1)},at=q=>{mt.set(!0),i(42,Ti=q.clientX),i(43,Ei=q.clientY)};function zn(){Vi.set(!0),Et||It($.controls.hideTimeoutCursor)}function Dn(){Et||(Ki.set(!0),It($.controls.hideTimeoutCursor))}function Tn(){Vi.set(!1),i(130,Ot=!1),i(129,Dt=!1),xe=!1,be.actions.internal.releaseCamera()}function $n(q){if(di){const si=Hu(q.currentTarget),it=f.height,I=q.pageY-si;I<ns?i(130,Ot=!0):I>it-ns?i(129,Dt=!0):(i(130,Ot=!1),l||i(129,Dt=!1))}}function eo(q){$n(q),Oi||It($.controls.hideTimeoutCursor),c&&xe&&gt&&be.actions.internal.moveCameraFocusPX(gt.clientX-q.clientX,gt.clientY-q.clientY,q.timeStamp-gt.timeStamp),gt=q}const to=q=>{q.button===0&&(xe=!0,be.actions.internal.holdCamera()),It($.controls.hideTimeoutCursor)},io=q=>{q.button===0&&(gt=q,xe=!1,be.actions.internal.releaseCamera()),It($.controls.hideTimeoutCursor)},Kn=()=>{$t({message:"double click on video"}),mn(),It($.controls.hideTimeoutCursor)},no=()=>{if(n||l){y();return}if(!(a&&!At)){if(nn)return ee();if(li?.focus(),!ht){Yi(),It($.controls.hideTimeoutCursor);return}be.actions.internal.togglePlay(),It($.controls.hideTimeoutCursor)}},Gn=q=>{y(),Gt.set(!0),It($.controls.hideTimeout),q&&rn($.controls.hideHotKeyHelpers,q)},Yn=()=>{y(),be.callbacks?.onOpenHotKeyMap?be.callbacks?.onOpenHotKeyMap(r):Di.update(q=>!q)},oo=()=>{if(n||l){y();return}},pn=()=>{Gt.set(!0)},On=be.ui.contextMenu.openedByKeyboard$;O(t,On,q=>i(135,s=q));let lo=be.ui.contextMenu.btnRef$;O(t,lo,q=>i(134,o=q));let Hn;function so(q){ve[q?"unshift":"push"](()=>{re=q,i(0,re)})}const Co=()=>li?.focus();function En(q){mi=q,i(41,mi)}const ro=()=>li?.focus();function ao(q){Hn=q,i(32,Hn)}function Fn(q){ve[q?"unshift":"push"](()=>{li=q,i(51,li)})}function Un(q){ve[q?"unshift":"push"](()=>{Ii=q,i(30,Ii)})}function Qn(q){ve[q?"unshift":"push"](()=>{di=q,i(40,di)})}return t.$$set=q=>{"store"in q&&i(124,be=q.store),"uiConfig"in q&&i(1,$=q.uiConfig),"title"in q&&i(2,Pe=q.title),"thumbUrl"in q&&i(3,Te=q.thumbUrl),"videoLogoUrl"in q&&i(4,Me=q.videoLogoUrl),"videoContainer"in q&&i(0,re=q.videoContainer),"interactiveContainer"in q&&i(125,_e=q.interactiveContainer),"live"in q&&i(5,J=q.live),"autoplay"in q&&i(6,Q=q.autoplay),"canRewindLive"in q&&i(7,De=q.canRewindLive),"showAds"in q&&i(8,et=q.showAds),"adsSlotId"in q&&i(9,Xe=q.adsSlotId),"adsParams"in q&&i(10,ye=q.adsParams),"adsPreviewParam"in q&&i(11,Ge=q.adsPreviewParam),"duration"in q&&i(12,Je=q.duration),"logoClickable"in q&&i(13,ct=q.logoClickable),"logoHidden"in q&&i(14,bt=q.logoHidden),"showNextPrevButtons"in q&&i(15,Fe=q.showNextPrevButtons),"nextButtonActive"in q&&i(16,Le=q.nextButtonActive),"prevButtonActive"in q&&i(17,vt=q.prevButtonActive),"endScreenVideoTitle"in q&&i(18,Bt=q.endScreenVideoTitle),"endScreenVideoThumb"in q&&i(19,xt=q.endScreenVideoThumb),"isOneVideoPlaylist"in q&&i(20,qt=q.isOneVideoPlaylist),"supportLink"in q&&i(21,ce=q.supportLink),"outerContainerRef"in q&&i(126,pt=q.outerContainerRef),"playerStarted"in q&&i(22,ht=q.playerStarted),"fullScreenTarget"in q&&i(127,ft=q.fullScreenTarget),"showMiniTimer"in q&&i(128,st=q.showMiniTimer),"playNextVideo"in q&&i(23,kt=q.playNextVideo),"playPrevVideo"in q&&i(24,Pt=q.playPrevVideo),"repeatPlaylist"in q&&i(25,ai=q.repeatPlaylist),"seekToInteractive"in q&&i(26,Fi=q.seekToInteractive),"toggleGraph"in q&&i(27,Zt=q.toggleGraph),"playPrevChapter"in q&&i(28,Ui=q.playPrevChapter),"firstStart"in q&&i(29,Yi=q.firstStart)},t.$$.update=()=>{if(t.$$.dirty[1]&192|t.$$.dirty[4]&100663296&&i(44,ji=(M===Ve.Video&&le||M===Ve.Ads&&X===Xt.INACTIVE)&&!C),t.$$.dirty[0]&1073741824&&Pi.set(Ii),t.$$.dirty[4]&16777216&&i(131,oi=z!==Ft.PLAYING),t.$$.dirty[4]&8524e3&&i(132,Oi=_&&!l&&!(Dt||Ot)&&!(oi&&!L)),t.$$.dirty[1]&448|t.$$.dirty[4]&4264320&&jt.set((oi||l||w||x||B)&&!Oi&&M===Ve.Video&&!C),t.$$.dirty[0]&2|t.$$.dirty[1]&224|t.$$.dirty[4]&2097168&&i(46,en=$.features.thumbTimer&&st&&M===Ve.Video&&!S&&!C&&!Et&&($.hideThumbTimerAfterTouch&&!G||!$.hideThumbTimerAfterTouch)),t.$$.dirty[1]&128|t.$$.dirty[4]&1064960&&i(47,tn=M===Ve.Video&&!ie&&m),t.$$.dirty[0]&256|t.$$.dirty[1]&64|t.$$.dirty[4]&532480&&i(31,Xi=(et&&V||!et)&&a&&!C),t.$$.dirty[1]&33|t.$$.dirty[4]&393216&&i(48,Mi=k&&!(S||Xi)&&!_),t.$$.dirty[0]&2|t.$$.dirty[4]&197120&&(!w&&Gi&&!_&&It($.controls.hideTimeoutCursor),i(133,Gi=w)),t.$$.dirty[0]&1|t.$$.dirty[1]&24&&i(49,Hi=re&&b%180?f.height/f.width:1),t.$$.dirty[4]&32768&&i(50,nn=v!==null),t.$$.dirty[1]&6|t.$$.dirty[4]&2048&&Hl(Hn,n,s),t.$$.dirty[1]&4|t.$$.dirty[4]&1024){const q=o;q&&Ol(q,n,On)}},[re,$,Pe,Te,Me,J,Q,De,et,Xe,ye,Ge,Je,ct,bt,Fe,Le,vt,Bt,xt,qt,ce,ht,kt,Pt,ai,Fi,Zt,Ui,Yi,Ii,Xi,Hn,n,f,b,S,C,M,x,di,mi,Ti,Ei,ji,$i,en,tn,Mi,Hi,nn,li,c,h,P,oe,j,ne,we,Ue,qe,Ie,Ce,ue,K,ae,Bi,Ri,Rt,ei,ui,Wt,ci,jt,gi,Ni,mt,fi,bi,_i,Nt,vi,ti,ii,St,wi,rt,Tt,zi,ki,yi,ni,Kt,qi,Et,wt,yt,Zi,Gt,Ci,Di,Si,Ki,Ne,pi,Vi,ee,mn,y,at,zn,Dn,Tn,eo,to,io,Kn,no,Gn,Yn,oo,pn,On,lo,be,_e,pt,ft,st,Dt,Ot,oi,Oi,Gi,o,s,l,a,m,v,w,_,k,V,ie,G,B,L,z,X,le,so,Co,En,ro,ao,Fn,Un,Qn]}class bh extends ge{constructor(e){super(),he(this,e,gh,ph,pe,{store:124,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:125,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:126,playerStarted:22,fullScreenTarget:127,showMiniTimer:128,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},dh,[-1,-1,-1,-1,-1,-1])}}const _h=t=>{if(!Ll(!0))return!1;const e=t.device===Ac.iPad||window?.screen.width>700,i=Ic();return!e||e&&!!i&&i<16};function vh(t){ze(t,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function Za(t){let e,i,n,o,s,l,r,a,c,f,m,h,v,b,w,_=Y("doubletap_seek_step",{seconds:t[1].toFixed(0)})+"",S;return{c(){e=A("div"),n=D(),o=A("div"),s=A("div"),l=A("div"),a=D(),c=A("div"),m=D(),h=A("div"),b=D(),w=A("p"),S=Re(_),u(e,"class",i="semicircle "+t[0]+" v-nhq2ld"),u(l,"class",r="triangle "+t[0]+" v-nhq2ld"),u(c,"class",f="triangle "+t[0]+" v-nhq2ld"),u(h,"class",v="triangle "+t[0]+" v-nhq2ld"),u(s,"class","triangles-wrapper v-nhq2ld"),u(w,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(k,C){E(k,e,C),E(k,n,C),E(k,o,C),p(o,s),p(s,l),p(s,a),p(s,c),p(s,m),p(s,h),p(o,b),p(o,w),p(w,S)},p(k,C){C&1&&i!==(i="semicircle "+k[0]+" v-nhq2ld")&&u(e,"class",i),C&1&&r!==(r="triangle "+k[0]+" v-nhq2ld")&&u(l,"class",r),C&1&&f!==(f="triangle "+k[0]+" v-nhq2ld")&&u(c,"class",f),C&1&&v!==(v="triangle "+k[0]+" v-nhq2ld")&&u(h,"class",v),C&2&&_!==(_=Y("doubletap_seek_step",{seconds:k[1].toFixed(0)})+"")&&Qe(S,_)},d(k){k&&(T(e),T(n),T(o))}}}function wh(t){let e,i,n,o,s=t[2]&&Za(t);return{c(){e=A("div"),s&&s.c(),u(e,"class",i="double-click-area "+t[0]+" v-nhq2ld")},m(l,r){E(l,e,r),s&&s.m(e,null),n||(o=me(e,"click",tt(t[3]())),n=!0)},p(l,[r]){l[2]?s?s.p(l,r):(s=Za(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&1&&i!==(i="double-click-area "+l[0]+" v-nhq2ld")&&u(e,"class",i)},i:W,o:W,d(l){l&&T(e),s&&s.d(),n=!1,o()}}}function kh(t,e,i){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:s}=e,{handleSecondClick:l}=e,r=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{s(),h=0},300):(window.clearTimeout(a),h=0,l(),i(2,r=!0),c=window.setTimeout(()=>{i(2,r=!1)},500))}};return ll(()=>{window.clearTimeout(a),window.clearTimeout(c)}),t.$$set=m=>{"side"in m&&i(0,n=m.side),"seekStep"in m&&i(1,o=m.seekStep),"handleSingleFirstClick"in m&&i(4,s=m.handleSingleFirstClick),"handleSecondClick"in m&&i(5,l=m.handleSecondClick)},[n,o,r,f,s,l]}class Fu extends ge{constructor(e){super(),he(this,e,kh,wh,pe,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},vh)}}function yh(t,e,i){let{playNextVideo:n}=e;return on(()=>{n()}),t.$$set=o=>{"playNextVideo"in o&&i(0,n=o.playNextVideo)},[n]}class Ch extends ge{constructor(e){super(),he(this,e,yh,null,pe,{playNextVideo:0})}}const{window:Ph}=p1;function Sh(t){ze(t,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function Wa(t){let e,i,n,o;e=new Fu({props:{side:"left",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[101],handleSecondClick:t[129]}});let s=!t[49]&&ja(t);return{c(){U(e.$$.fragment),i=D(),s&&s.c(),n=lt()},m(l,r){H(e,l,r),E(l,i,r),s&&s.m(l,r),E(l,n,r),o=!0},p(l,r){const a={};r[0]&2&&(a.seekStep=l[1].controls.seekStepMobile/1e3),e.$set(a),l[49]?s&&(fe(),g(s,1,1,()=>{s=null}),de()):s?(s.p(l,r),r[1]&262144&&d(s,1)):(s=ja(l),s.c(),d(s,1),s.m(n.parentNode,n))},i(l){o||(d(e.$$.fragment,l),d(s),o=!0)},o(l){g(e.$$.fragment,l),g(s),o=!1},d(l){l&&(T(i),T(n)),F(e,l),s&&s.d(l)}}}function ja(t){let e,i;return e=new Fu({props:{side:"right",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[101],handleSecondClick:t[130]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&2&&(s.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ka(t){let e,i;return e=new Du({props:{thumbUrl:t[2],startTime:t[4]?.startTime}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&4&&(s.thumbUrl=n[2]),o[0]&16&&(s.startTime=n[4]?.startTime),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ga(t){let e,i;return e=new Ou({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ya(t){let e,i,n;return i=new Z1({props:{adsSlotId:t[8],adsParams:t[9],adsPreviewParam:t[10],duration:t[11]}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","ads-container v-1jy89ut"),R(e,"hidden",t[34]!==Ve.Ads)},m(o,s){E(o,e,s),H(i,e,null),n=!0},p(o,s){const l={};s[0]&256&&(l.adsSlotId=o[8]),s[0]&512&&(l.adsParams=o[9]),s[0]&1024&&(l.adsPreviewParam=o[10]),s[0]&2048&&(l.duration=o[11]),i.$set(l),(!n||s[1]&8)&&R(e,"hidden",o[34]!==Ve.Ads)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function Qa(t){let e,i;return e=new Ch({props:{playNextVideo:t[22]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&4194304&&(s.playNextVideo=n[22]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Xa(t){let e,i;return e=new Mu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Ja(t){let e,i,n;return i=new N1({props:{ariaLabel:Y("video360")}}),{c(){e=A("div"),U(i.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,s){E(o,e,s),H(i,e,null),n=!0},p:W,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&T(e),F(i)}}}function xa(t){let e,i;return e=new Ru({props:{thumbUrl:t[2],chromecastDeviceName:t[52]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&4&&(s.thumbUrl=n[2]),o[1]&2097152&&(s.chromecastDeviceName=n[52]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function $a(t){let e,i;return e=new Bu({props:{shifted:t[30],captions:t[54],position:t[45],playerSize:t[31],isMobile:!0}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o[0]&1073741824&&(s.shifted=n[30]),o[1]&8388608&&(s.captions=n[54]),o[1]&16384&&(s.position=n[45]),o[1]&1&&(s.playerSize=n[31]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function e1(t){let e,i,n,o,s;return i=new Nu({}),{c(){e=A("div"),U(i.$$.fragment)},m(l,r){E(l,e,r),H(i,e,null),n=!0,o||(s=me(e,"click",tt(t[102])),o=!0)},p:W,i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&T(e),F(i),o=!1,s()}}}function t1(t){let e,i,n;function o(l){t[131](l)}let s={bottomHidden:t[34]===Ve.Thumb||t[34]===Ve.WaitingLive||t[34]===Ve.WaitingRecord||t[34]===Ve.Ads,showControls:t[30],bottomNoSmooth:t[46],isAds:t[34]===Ve.Ads,canRewindLive:t[6]&&t[55]!==0,logoClickable:t[12],logoHidden:t[13],videoLogoUrl:t[3],showNextPrevButtons:t[14],nextButtonActive:t[15],prevButtonActive:t[16],isOneVideoPlaylist:t[19],supportLink:t[20],customFullscreenSupported:t[40],playNextVideo:t[22],playPrevVideo:t[23],repeatPlaylist:t[24],toggleFullscreen:t[99],seekToInteractive:t[25],toggleGraph:t[26],playPrevChapter:t[27]};return t[37]!==void 0&&(s.controlsElementRef=t[37]),e=new Lu({props:s}),ve.push(()=>He(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[1]&8&&(a.bottomHidden=l[34]===Ve.Thumb||l[34]===Ve.WaitingLive||l[34]===Ve.WaitingRecord||l[34]===Ve.Ads),r[0]&1073741824&&(a.showControls=l[30]),r[1]&32768&&(a.bottomNoSmooth=l[46]),r[1]&8&&(a.isAds=l[34]===Ve.Ads),r[0]&64|r[1]&16777216&&(a.canRewindLive=l[6]&&l[55]!==0),r[0]&4096&&(a.logoClickable=l[12]),r[0]&8192&&(a.logoHidden=l[13]),r[0]&8&&(a.videoLogoUrl=l[3]),r[0]&16384&&(a.showNextPrevButtons=l[14]),r[0]&32768&&(a.nextButtonActive=l[15]),r[0]&65536&&(a.prevButtonActive=l[16]),r[0]&524288&&(a.isOneVideoPlaylist=l[19]),r[0]&1048576&&(a.supportLink=l[20]),r[1]&512&&(a.customFullscreenSupported=l[40]),r[0]&4194304&&(a.playNextVideo=l[22]),r[0]&8388608&&(a.playPrevVideo=l[23]),r[0]&16777216&&(a.repeatPlaylist=l[24]),r[0]&33554432&&(a.seekToInteractive=l[25]),r[0]&67108864&&(a.toggleGraph=l[26]),r[0]&134217728&&(a.playPrevChapter=l[27]),!i&&r[1]&64&&(i=!0,a.controlsElementRef=l[37],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function i1(t){let e,i;return e=new nu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function n1(t){let e,i;return e=new X1({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function o1(t){let e,i,n=t[6]&&t[79]&&!t[48].has(nt.TIMELINE),o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C;e=new zu({props:{hidden:t[34]!==Ve.Thumb||t[33]||t[90]&&t[5],thumbUrl:t[2],startVideo:t[28]}});let V=n&&Wa(t),ie=t[34]===Ve.WaitingLive&&Ka(t),M=t[34]===Ve.WaitingRecord&&Ga(),G=t[7]&&t[21]&&Ya(t),B=t[42]&&t[17]&&t[18]&&Qa(t),x=t[50]&&Xa(),L=t[51]&&Ja(),te=t[35]&&xa(t),z=t[53].value!=="off"&&$a(t),X=t[33]&&e1(t),le=t[21]&&t1(t);w=new j1({props:{isLive:t[56],isHidden:!t[41],isPlaying:t[57],position:t[45],duration:t[44]}});let P=t[38]&&i1(),oe=t[58]&&n1();return{c(){U(e.$$.fragment),i=D(),V&&V.c(),o=D(),ie&&ie.c(),s=D(),M&&M.c(),l=D(),G&&G.c(),r=D(),B&&B.c(),a=D(),x&&x.c(),c=D(),L&&L.c(),f=D(),te&&te.c(),m=D(),z&&z.c(),h=D(),X&&X.c(),v=D(),le&&le.c(),b=D(),U(w.$$.fragment),_=D(),P&&P.c(),S=D(),oe&&oe.c(),k=lt()},m(j,ne){H(e,j,ne),E(j,i,ne),V&&V.m(j,ne),E(j,o,ne),ie&&ie.m(j,ne),E(j,s,ne),M&&M.m(j,ne),E(j,l,ne),G&&G.m(j,ne),E(j,r,ne),B&&B.m(j,ne),E(j,a,ne),x&&x.m(j,ne),E(j,c,ne),L&&L.m(j,ne),E(j,f,ne),te&&te.m(j,ne),E(j,m,ne),z&&z.m(j,ne),E(j,h,ne),X&&X.m(j,ne),E(j,v,ne),le&&le.m(j,ne),E(j,b,ne),H(w,j,ne),E(j,_,ne),P&&P.m(j,ne),E(j,S,ne),oe&&oe.m(j,ne),E(j,k,ne),C=!0},p(j,ne){const we={};ne[0]&32|ne[1]&12&&(we.hidden=j[34]!==Ve.Thumb||j[33]||j[90]&&j[5]),ne[0]&4&&(we.thumbUrl=j[2]),ne[0]&268435456&&(we.startVideo=j[28]),e.$set(we),ne[0]&64|ne[1]&131072&&(n=j[6]&&j[79]&&!j[48].has(nt.TIMELINE)),n?V?(V.p(j,ne),ne[0]&64|ne[1]&131072&&d(V,1)):(V=Wa(j),V.c(),d(V,1),V.m(o.parentNode,o)):V&&(fe(),g(V,1,1,()=>{V=null}),de()),j[34]===Ve.WaitingLive?ie?(ie.p(j,ne),ne[1]&8&&d(ie,1)):(ie=Ka(j),ie.c(),d(ie,1),ie.m(s.parentNode,s)):ie&&(fe(),g(ie,1,1,()=>{ie=null}),de()),j[34]===Ve.WaitingRecord?M?ne[1]&8&&d(M,1):(M=Ga(),M.c(),d(M,1),M.m(l.parentNode,l)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),j[7]&&j[21]?G?(G.p(j,ne),ne[0]&2097280&&d(G,1)):(G=Ya(j),G.c(),d(G,1),G.m(r.parentNode,r)):G&&(fe(),g(G,1,1,()=>{G=null}),de()),j[42]&&j[17]&&j[18]?B?(B.p(j,ne),ne[0]&393216|ne[1]&2048&&d(B,1)):(B=Qa(j),B.c(),d(B,1),B.m(a.parentNode,a)):B&&(fe(),g(B,1,1,()=>{B=null}),de()),j[50]?x?ne[1]&524288&&d(x,1):(x=Xa(),x.c(),d(x,1),x.m(c.parentNode,c)):x&&(fe(),g(x,1,1,()=>{x=null}),de()),j[51]?L?(L.p(j,ne),ne[1]&1048576&&d(L,1)):(L=Ja(),L.c(),d(L,1),L.m(f.parentNode,f)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),j[35]?te?(te.p(j,ne),ne[1]&16&&d(te,1)):(te=xa(j),te.c(),d(te,1),te.m(m.parentNode,m)):te&&(fe(),g(te,1,1,()=>{te=null}),de()),j[53].value!=="off"?z?(z.p(j,ne),ne[1]&4194304&&d(z,1)):(z=$a(j),z.c(),d(z,1),z.m(h.parentNode,h)):z&&(fe(),g(z,1,1,()=>{z=null}),de()),j[33]?X?(X.p(j,ne),ne[1]&4&&d(X,1)):(X=e1(j),X.c(),d(X,1),X.m(v.parentNode,v)):X&&(fe(),g(X,1,1,()=>{X=null}),de()),j[21]?le?(le.p(j,ne),ne[0]&2097152&&d(le,1)):(le=t1(j),le.c(),d(le,1),le.m(b.parentNode,b)):le&&(fe(),g(le,1,1,()=>{le=null}),de());const Ue={};ne[1]&33554432&&(Ue.isLive=j[56]),ne[1]&1024&&(Ue.isHidden=!j[41]),ne[1]&67108864&&(Ue.isPlaying=j[57]),ne[1]&16384&&(Ue.position=j[45]),ne[1]&8192&&(Ue.duration=j[44]),w.$set(Ue),j[38]?P?ne[1]&128&&d(P,1):(P=i1(),P.c(),d(P,1),P.m(S.parentNode,S)):P&&(fe(),g(P,1,1,()=>{P=null}),de()),j[58]?oe?ne[1]&134217728&&d(oe,1):(oe=n1(),oe.c(),d(oe,1),oe.m(k.parentNode,k)):oe&&(fe(),g(oe,1,1,()=>{oe=null}),de())},i(j){C||(d(e.$$.fragment,j),d(V),d(ie),d(M),d(G),d(B),d(x),d(L),d(te),d(z),d(X),d(le),d(w.$$.fragment,j),d(P),d(oe),C=!0)},o(j){g(e.$$.fragment,j),g(V),g(ie),g(M),g(G),g(B),g(x),g(L),g(te),g(z),g(X),g(le),g(w.$$.fragment,j),g(P),g(oe),C=!1},d(j){j&&(T(i),T(o),T(s),T(l),T(r),T(a),T(c),T(f),T(m),T(h),T(v),T(b),T(_),T(S),T(k)),F(e,j),V&&V.d(j),ie&&ie.d(j),M&&M.d(j),G&&G.d(j),B&&B.d(j),x&&x.d(j),L&&L.d(j),te&&te.d(j),z&&z.d(j),X&&X.d(j),le&&le.d(j),F(w,j),P&&P.d(j),oe&&oe.d(j)}}}function l1(t){let e,i;return e=new iu({}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Th(t){let e,i,n,o,s,l=t[47],r,a,c,f,m,h,v=o1(t),b=t[39]&&l1();return{c(){e=A("div"),i=A("div"),n=A("div"),s=D(),v.c(),r=D(),a=A("div"),c=D(),b&&b.c(),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${t[32]}deg) scale(${t[43]})`),R(n,"fast-rotate",!t[1].isSmoothVideoRotate),u(i,"class","video-wrapper v-1jy89ut"),R(i,"hidden",t[34]!==Ve.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut"),u(e,"role","region"),u(e,"aria-label",Y("aria_label_video_player")),u(e,"tabindex","-1")},m(w,_){E(w,e,_),p(e,i),p(i,n),t[128](n),p(e,s),v.m(e,null),p(e,r),p(e,a),t[132](a),p(e,c),b&&b.m(e,null),t[133](e),f=!0,m||(h=[me(Ph,"blur",t[100]),me(i,"click",Jt(t[101])),me(e,"click",t[103],!0),me(e,"focusin",t[104],!0)],m=!0)},p(w,_){(!f||_[1]&4098&&o!==(o=`transform: rotate(${w[32]}deg) scale(${w[43]})`))&&u(n,"style",o),(!f||_[0]&2)&&R(n,"fast-rotate",!w[1].isSmoothVideoRotate),(!f||_[1]&8)&&R(i,"hidden",w[34]!==Ve.Video),_[1]&65536&&pe(l,l=w[47])?(fe(),g(v,1,1,W),de(),v=o1(w),v.c(),d(v,1),v.m(e,r)):v.p(w,_),w[39]?b?_[1]&256&&d(b,1):(b=l1(),b.c(),d(b,1),b.m(e,null)):b&&(fe(),g(b,1,1,()=>{b=null}),de())},i(w){f||(d(v),d(b),f=!0)},o(w){g(v),g(b),f=!1},d(w){w&&T(e),t[128](null),v.d(w),t[132](null),b&&b.d(),t[133](null),m=!1,$e(h)}}}function Eh(t,e,i){let n,o,s,l,r,a,c,f,m,h,v,b,w,_,S,k,C,V,ie,M,G,B,x,L,te,z,X,le,P,oe,j,ne,we,Ue,qe,Ie,Ce,{store:ue}=e,{uiConfig:K}=e,{thumbUrl:ae}=e,{videoLogoUrl:be}=e,{videoContainer:$}=e,{interactiveContainer:Pe}=e,{live:Te}=e,{autoplay:Me}=e,{canRewindLive:re}=e,{showAds:_e}=e,{adsSlotId:J=void 0}=e,{adsParams:Q=void 0}=e,{adsPreviewParam:De=void 0}=e,{duration:et=void 0}=e,{logoClickable:Xe}=e,{logoHidden:ye}=e,{showNextPrevButtons:Ge=!1}=e,{nextButtonActive:Je=!1}=e,{prevButtonActive:ct=!1}=e,{endScreenVideoTitle:bt=void 0}=e,{endScreenVideoThumb:Fe=void 0}=e,{isOneVideoPlaylist:Le=!1}=e,{supportLink:vt}=e,{outerContainerRef:Bt=void 0}=e,{showMiniTimer:xt=!1}=e,{fullScreenTarget:qt=void 0}=e,{playerStarted:ce=!1}=e,{playNextVideo:pt=Ke}=e,{playPrevVideo:ht=Ke}=e,{repeatPlaylist:ft=Ke}=e,{seekToInteractive:st}=e,{toggleGraph:kt}=e,{playPrevChapter:Pt}=e,{firstStart:ai}=e,{seekTime:Fi}=e;const Zt=ue.getLogger().createComponentLog("Root component"),Ui=ue.interfaceLanguage$;O(t,Ui,y=>i(47,z=y));const Yi=ue.state.playbackState$;O(t,Yi,y=>i(125,x=y));const $t=ue.ads.playbackState;O(t,$t,y=>i(126,L=y));const Bi=ue.state.positionWithScrubbing$;O(t,Bi,y=>i(45,l=y));const Ri=ue.state.duration$;O(t,Ri,y=>i(44,s=y));const Rt=ue.playerPhase;O(t,Rt,y=>i(34,V=y));const ei=ue.ui.isFullscreen;O(t,ei,y=>i(139,a=y));const ui=ue.ui.controlsVisible;O(t,ui,y=>i(30,o=y));const Wt=ue.ui.interactiveHideMobileControls;O(t,Wt,y=>i(117,h=y));const ci=ue.ui.settingsMenuVisible;O(t,ci,y=>i(116,n=y));const jt=ue.ui.scrubbingInProgress;O(t,jt,y=>i(118,b=y));const gi=ue.ui.debugPanelVisible;O(t,gi,y=>i(58,Ce=y));const Ni=ue.state.isLoaderVisible;O(t,Ni,y=>i(127,te=y));const mt=ue.state.isEnded$;O(t,mt,y=>i(120,S=y));const fi=ue.state.chromecastConnected$;O(t,fi,y=>i(35,ie=y));const bi=ue.state.chromecastDeviceName$;O(t,bi,y=>i(52,j=y));const _i=ue.ads.postrollPassed;O(t,_i,y=>i(121,k=y));const Nt=ue.ui.mobileUnmuteButtonExpanded,vi=ue.ui.mobileUnmuteButtonVisible,ti=ue.state.isLive$;O(t,ti,y=>i(56,qe=y));const ii=ue.state.isPlaying$;O(t,ii,y=>i(57,Ie=y));const St=ue.state.isActiveLive$;O(t,St,y=>i(49,le=y));const wi=ue.state.isRewindableLive$,zt=ue.state.crashed$;O(t,zt,y=>i(33,_=y));const rt=ue.webApi.pictureInPictureApi,Tt=ue.state.videoSize$;O(t,Tt,y=>i(140,f=y));const zi=ue.state.currentSubtitle$;O(t,zi,y=>i(53,ne=y));const ki=ue.state.currentSubtitleCaptions$;O(t,ki,y=>i(54,we=y));const yi=ue.state.duration$;O(t,yi,y=>i(55,Ue=y));const ni=ue.state.graphIsOpened$;O(t,ni,y=>i(124,G=y));const Kt=ue.ui.playerSize;O(t,Kt,y=>i(31,c=y));const qi=ue.ui.is3DVideo;O(t,qi,y=>i(50,P=y));const Et=ue.ui.icon3DVideoVisible;O(t,Et,y=>i(51,oe=y));const wt=ue.ui.rotateAlpha;O(t,wt,y=>i(32,v=y));const yt=ue.state.isInteractive,At=ue.state.isInteractiveTime$;O(t,At,y=>i(119,w=y));const Zi=ue.state.isInteractiveExpectation$;O(t,Zi,y=>i(123,M=y));const Gt=ue.state.hasInteractiveBranches,Ci=ue.state.interactiveEpisodes$;O(t,Ci,y=>i(141,B=y));const Di=ue.ui.controls.disabledControls$;O(t,Di,y=>i(48,X=y));const Pi=ue.ui.touched;O(t,Pi,y=>i(122,C=y));const Qi=ue.ui.clientInfo$;O(t,Qi,y=>i(138,r=y));const Si=ue.ui.overlayContainer$,di=ue.actions.internal.closeSettingsMenu;let mi,Ti,Ei,Ai,Ae,Wi,ji;const Ii=Ee(!1);O(t,Ii,y=>i(46,m=y));let Ki,Li=!1,Ne,pi=!1,Vi;Vi=!!(yt&&B.length);let Dt,Ot=!0,oi,$i,Oi=!1,en;rt?.setContext(h1());const tn=y=>{clearTimeout(Ai),y&&(vi.set(!0),Nt.set(!0),Ai=window.setTimeout(()=>{Nt.set(!1)},K.controls.collapseMobileUnmute),yt||Mi(K.controls.hideTimeoutMobile))};ue.setUiCallbacks({onStarted:tn});const Xi=()=>{window.clearTimeout(Ei),i(111,Li=!1),h&&Wt.set(!1)},Mi=y=>{Xi(),i(111,Li=!0),Ei=window.setTimeout(()=>i(111,Li=!1),y);const at=y-100;Ki=window.setTimeout(()=>{m&&Ii.set(!1)},at>0?at:y)},Gi=qi.subscribe(y=>{Et.set(y),y&&(window.clearTimeout(Ae),Ae=window.setTimeout(()=>Et.set(!1),K.controls.hide360IconTimeout))}),Hi=async()=>{const y=Mo();if(y){Mi(K.controls.hideTimeoutFullscreen);try{await rt?.remove()}catch(at){Zt({message:String(at)})}try{const at=f?.width&&f?.height?f:c;await Lf(at)}catch(at){Zt({message:String(at)})}}ei.set(y),ue.getAdmanWrapper().setFullscreen(y),a?ue.callbacks?.onFullscreenEnter?.():ue.callbacks?.onFullscreenExit?.()},nn=y=>{const at=y;Kt.set({width:at.target.width,height:at.target.height})};on(()=>(U1(Hi),nl(rt)&&(rt?.assignPlayerContainer(mi),rt?.registryExternalEventHandlers({resize:nn})),i(40,Ot=!_h(r)),Pe&&$.parentElement?.insertBefore(Pe,$.nextSibling),()=>{window.clearTimeout(Ei),window.clearTimeout(Ki),window.clearTimeout(Ai),window.clearTimeout(Ae),Gi(),rt?.dispose(),q1(Hi)}));const ee=y=>{let at=l+(y==="forward"?1:-1)*K.controls.seekStepMobile/1e3;at<0?at=0:at>s&&(at=s-1),i(113,pi=!0),Fi(at)},xe=async()=>{if(Mo())await F1(document),Zt({message:"exit fullscreen"});else{Zt({message:"request fullscreen"});const y=Ll()||!Bt?mi:Bt,at=y.getRootNode(),zn=at instanceof ShadowRoot?at.host:at,Dn=qt instanceof HTMLElement&&qt.contains(zn),Tn=K.allowChangingFullscreenTarget&&qt&&Dn?qt:y;await H1(Tn)}},gt=()=>{di()},li=()=>{if(n){gt();return}if(!ce){ai(),Mi(K.controls.hideTimeoutCursor);return}i(113,pi=!1),o?Xi():Mi(K.controls.hideTimeoutMobile)},Ji=()=>{if(n){gt();return}},sn=()=>{Pi.set(!0)},kn=()=>{yt||(Ii.set(!0),Mi(K.controls.hideTimeoutCursor))};function It(y){ve[y?"unshift":"push"](()=>{$=y,i(0,$)})}const rn=()=>ee("backward"),an=()=>ee("forward");function dn(y){Ti=y,i(37,Ti)}function yn(y){ve[y?"unshift":"push"](()=>{ji=y,i(29,ji)})}function mn(y){ve[y?"unshift":"push"](()=>{mi=y,i(36,mi)})}return t.$$set=y=>{"store"in y&&i(105,ue=y.store),"uiConfig"in y&&i(1,K=y.uiConfig),"thumbUrl"in y&&i(2,ae=y.thumbUrl),"videoLogoUrl"in y&&i(3,be=y.videoLogoUrl),"videoContainer"in y&&i(0,$=y.videoContainer),"interactiveContainer"in y&&i(106,Pe=y.interactiveContainer),"live"in y&&i(4,Te=y.live),"autoplay"in y&&i(5,Me=y.autoplay),"canRewindLive"in y&&i(6,re=y.canRewindLive),"showAds"in y&&i(7,_e=y.showAds),"adsSlotId"in y&&i(8,J=y.adsSlotId),"adsParams"in y&&i(9,Q=y.adsParams),"adsPreviewParam"in y&&i(10,De=y.adsPreviewParam),"duration"in y&&i(11,et=y.duration),"logoClickable"in y&&i(12,Xe=y.logoClickable),"logoHidden"in y&&i(13,ye=y.logoHidden),"showNextPrevButtons"in y&&i(14,Ge=y.showNextPrevButtons),"nextButtonActive"in y&&i(15,Je=y.nextButtonActive),"prevButtonActive"in y&&i(16,ct=y.prevButtonActive),"endScreenVideoTitle"in y&&i(17,bt=y.endScreenVideoTitle),"endScreenVideoThumb"in y&&i(18,Fe=y.endScreenVideoThumb),"isOneVideoPlaylist"in y&&i(19,Le=y.isOneVideoPlaylist),"supportLink"in y&&i(20,vt=y.supportLink),"outerContainerRef"in y&&i(107,Bt=y.outerContainerRef),"showMiniTimer"in y&&i(108,xt=y.showMiniTimer),"fullScreenTarget"in y&&i(109,qt=y.fullScreenTarget),"playerStarted"in y&&i(21,ce=y.playerStarted),"playNextVideo"in y&&i(22,pt=y.playNextVideo),"playPrevVideo"in y&&i(23,ht=y.playPrevVideo),"repeatPlaylist"in y&&i(24,ft=y.repeatPlaylist),"seekToInteractive"in y&&i(25,st=y.seekToInteractive),"toggleGraph"in y&&i(26,kt=y.toggleGraph),"playPrevChapter"in y&&i(27,Pt=y.playPrevChapter),"firstStart"in y&&i(28,ai=y.firstStart),"seekTime"in y&&i(110,Fi=y.seekTime)},t.$$.update=()=>{t.$$.dirty[1]&12|t.$$.dirty[4]&12&&i(38,Wi=(V===Ve.Video&&te||V===Ve.Ads&&L===Xt.INACTIVE)&&!_),t.$$.dirty[0]&536870912&&Si.set(ji),t.$$.dirty[4]&2&&i(112,Ne=x!==Ft.PLAYING),t.$$.dirty[3]&1225523200|t.$$.dirty[4]&1&&i(114,Dt=G||h||!Li&&(S&&!!Gt||Ne&&M)),t.$$.dirty[1]&28|t.$$.dirty[3]&45875200&&ui.set((Ne||n||b||ie||Li&&!pi)&&!Dt&&V===Ve.Video&&!_),t.$$.dirty[0]&1073741826|t.$$.dirty[1]&12|t.$$.dirty[3]&536903680&&i(41,oi=K.features.thumbTimer&&xt&&V===Ve.Video&&!o&&!_&&!yt&&(K.hideThumbTimerAfterTouch&&!C||!K.hideThumbTimerAfterTouch)),t.$$.dirty[0]&128|t.$$.dirty[1]&4|t.$$.dirty[3]&402653184&&i(42,$i=(_e&&k||!_e)&&S&&!_),t.$$.dirty[0]&2|t.$$.dirty[3]&104857600&&(!b&&Oi&&!w&&Mi(K.controls.hideTimeoutMobile),i(115,Oi=b)),t.$$.dirty[0]&1|t.$$.dirty[1]&3&&i(43,en=$&&v%180?c.height/c.width:1)},[$,K,ae,be,Te,Me,re,_e,J,Q,De,et,Xe,ye,Ge,Je,ct,bt,Fe,Le,vt,ce,pt,ht,ft,st,kt,Pt,ai,ji,o,c,v,_,V,ie,mi,Ti,Wi,Vi,Ot,oi,$i,en,s,l,m,z,X,le,P,oe,j,ne,we,Ue,qe,Ie,Ce,Ui,Yi,$t,Bi,Ri,Rt,ei,ui,Wt,ci,jt,gi,Ni,mt,fi,bi,_i,ti,ii,St,wi,zt,Tt,zi,ki,yi,ni,Kt,qi,Et,wt,yt,At,Zi,Ci,Di,Pi,Qi,Ii,ee,xe,gt,li,Ji,sn,kn,ue,Pe,Bt,xt,qt,Fi,Li,Ne,pi,Dt,Oi,n,h,b,w,S,k,C,M,G,x,L,te,It,rn,an,dn,yn,mn]}class Ah extends ge{constructor(e){super(),he(this,e,Eh,Th,pe,{store:105,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:106,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:107,showMiniTimer:108,fullScreenTarget:109,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:110},Sh,[-1,-1,-1,-1,-1])}}function Ih(t){ze(t,"v-cghoty",`.root.v-cghoty{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
33
33
  180deg,
34
34
  rgba(0, 0, 0, 0.00) 0%,
35
35
  rgba(0, 0, 0, 0.01) 6.67%,
@@ -47,5 +47,5 @@ import{VERSION as hc,ChromecastState as Pn,PlaybackState as Ft,VideoQuality as m
47
47
  rgba(0, 0, 0, 0.96) 86.67%,
48
48
  rgba(0, 0, 0, 0.99) 93.33%,
49
49
  #000 100%
50
- );--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg:not(.interactiveContainer svg){pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}.overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:10000}.out-of-view{position:absolute !important;left:-1000vh !important}`)}function Lh(t){let e,i,n;function o(l){t[56](l)}let s={store:t[0],uiConfig:t[35],title:t[1],thumbUrl:t[2],videoLogoUrl:t[3],interactiveContainer:t[4],live:t[5],autoplay:t[6],canRewindLive:t[7],showAds:t[8],adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12],logoClickable:t[13],logoHidden:t[14],showNextPrevButtons:t[16],nextButtonActive:t[17],prevButtonActive:t[18],endScreenVideoTitle:t[19],endScreenVideoThumb:t[20],isOneVideoPlaylist:t[21],supportLink:t[22],outerContainerRef:t[23],fullScreenTarget:t[24],showMiniTimer:t[25],playerStarted:t[34],playNextVideo:t[26],playPrevVideo:t[27],repeatPlaylist:t[28],seekToInteractive:t[29],toggleGraph:t[30],playPrevChapter:t[31],firstStart:t[36]};return t[33]!==void 0&&(s.videoContainer=t[33]),e=new bh({props:s}),ve.push(()=>He(e,"videoContainer",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&1&&(a.store=l[0]),r[0]&2&&(a.title=l[1]),r[0]&4&&(a.thumbUrl=l[2]),r[0]&8&&(a.videoLogoUrl=l[3]),r[0]&16&&(a.interactiveContainer=l[4]),r[0]&32&&(a.live=l[5]),r[0]&64&&(a.autoplay=l[6]),r[0]&128&&(a.canRewindLive=l[7]),r[0]&256&&(a.showAds=l[8]),r[0]&512&&(a.adsSlotId=l[9]),r[0]&1024&&(a.adsParams=l[10]),r[0]&2048&&(a.adsPreviewParam=l[11]),r[0]&4096&&(a.duration=l[12]),r[0]&8192&&(a.logoClickable=l[13]),r[0]&16384&&(a.logoHidden=l[14]),r[0]&65536&&(a.showNextPrevButtons=l[16]),r[0]&131072&&(a.nextButtonActive=l[17]),r[0]&262144&&(a.prevButtonActive=l[18]),r[0]&524288&&(a.endScreenVideoTitle=l[19]),r[0]&1048576&&(a.endScreenVideoThumb=l[20]),r[0]&2097152&&(a.isOneVideoPlaylist=l[21]),r[0]&4194304&&(a.supportLink=l[22]),r[0]&8388608&&(a.outerContainerRef=l[23]),r[0]&16777216&&(a.fullScreenTarget=l[24]),r[0]&33554432&&(a.showMiniTimer=l[25]),r[1]&8&&(a.playerStarted=l[34]),r[0]&67108864&&(a.playNextVideo=l[26]),r[0]&134217728&&(a.playPrevVideo=l[27]),r[0]&268435456&&(a.repeatPlaylist=l[28]),r[0]&536870912&&(a.seekToInteractive=l[29]),r[0]&1073741824&&(a.toggleGraph=l[30]),r[1]&1&&(a.playPrevChapter=l[31]),!i&&r[1]&4&&(i=!0,a.videoContainer=l[33],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Vh(t){let e,i,n;function o(l){t[55](l)}let s={store:t[0],uiConfig:t[35],thumbUrl:t[2],videoLogoUrl:t[3],interactiveContainer:t[4],live:t[5],autoplay:t[6],canRewindLive:t[7],showAds:t[8],adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12],logoClickable:t[13],logoHidden:t[14],showNextPrevButtons:t[16],nextButtonActive:t[17],prevButtonActive:t[18],endScreenVideoTitle:t[19],endScreenVideoThumb:t[20],isOneVideoPlaylist:t[21],supportLink:t[22],outerContainerRef:t[23],fullScreenTarget:t[24],showMiniTimer:t[25],playerStarted:t[34],playNextVideo:t[26],playPrevVideo:t[27],repeatPlaylist:t[28],seekToInteractive:t[29],toggleGraph:t[30],playPrevChapter:t[31],firstStart:t[36],seekTime:t[32]};return t[33]!==void 0&&(s.videoContainer=t[33]),e=new Ah({props:s}),ve.push(()=>He(e,"videoContainer",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&1&&(a.store=l[0]),r[0]&4&&(a.thumbUrl=l[2]),r[0]&8&&(a.videoLogoUrl=l[3]),r[0]&16&&(a.interactiveContainer=l[4]),r[0]&32&&(a.live=l[5]),r[0]&64&&(a.autoplay=l[6]),r[0]&128&&(a.canRewindLive=l[7]),r[0]&256&&(a.showAds=l[8]),r[0]&512&&(a.adsSlotId=l[9]),r[0]&1024&&(a.adsParams=l[10]),r[0]&2048&&(a.adsPreviewParam=l[11]),r[0]&4096&&(a.duration=l[12]),r[0]&8192&&(a.logoClickable=l[13]),r[0]&16384&&(a.logoHidden=l[14]),r[0]&65536&&(a.showNextPrevButtons=l[16]),r[0]&131072&&(a.nextButtonActive=l[17]),r[0]&262144&&(a.prevButtonActive=l[18]),r[0]&524288&&(a.endScreenVideoTitle=l[19]),r[0]&1048576&&(a.endScreenVideoThumb=l[20]),r[0]&2097152&&(a.isOneVideoPlaylist=l[21]),r[0]&4194304&&(a.supportLink=l[22]),r[0]&8388608&&(a.outerContainerRef=l[23]),r[0]&16777216&&(a.fullScreenTarget=l[24]),r[0]&33554432&&(a.showMiniTimer=l[25]),r[1]&8&&(a.playerStarted=l[34]),r[0]&67108864&&(a.playNextVideo=l[26]),r[0]&134217728&&(a.playPrevVideo=l[27]),r[0]&268435456&&(a.repeatPlaylist=l[28]),r[0]&536870912&&(a.seekToInteractive=l[29]),r[0]&1073741824&&(a.toggleGraph=l[30]),r[1]&1&&(a.playPrevChapter=l[31]),!i&&r[1]&4&&(i=!0,a.videoContainer=l[33],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Mh(t){let e,i,n,o;const s=[Vh,Lh],l=[];function r(a,c){return a[15]?0:1}return i=r(t),n=l[i]=s[i](t),{c(){e=A("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){E(a,e,c),l[i].m(e,null),o=!0},p(a,c){let f=i;i=r(a),i===f?l[i].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),n=l[i],n?n.p(a,c):(n=l[i]=s[i](a),n.c()),d(n,1),n.m(e,null))},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&T(e),l[i].d()}}}function Bh(t,e,i){let{sources:n}=e,{store:o}=e,{microStoresRoot:s}=e,{uiConfig:l}=e,{title:r}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:m}=e,{live:h}=e,{preload:v}=e,{autoplay:b}=e,{volume:w=void 0}=e,{muted:_=void 0}=e,{fromTime:S}=e,{canRewindLive:k}=e,{showAds:C}=e,{adsSlotId:V=void 0}=e,{adsParams:ie=void 0}=e,{adsPreviewParam:M=void 0}=e,{duration:G=void 0}=e,{logoClickable:B}=e,{logoHidden:x}=e,{isMobile:L}=e,{showNextPrevButtons:te=!1}=e,{nextButtonActive:z=!1}=e,{prevButtonActive:X=!1}=e,{endScreenVideoTitle:le=void 0}=e,{endScreenVideoThumb:P=void 0}=e,{isOneVideoPlaylist:oe=!1}=e,{supportLink:K}=e,{outerContainerRef:ne=void 0}=e,{fullScreenTarget:we=void 0}=e,{failoverHosts:Ue=void 0}=e,{showMiniTimer:qe=!1}=e,{playNextVideo:Ie=je}=e,{playPrevVideo:Ce=je}=e,{repeatPlaylist:ue=je}=e,{seekToInteractive:j=je}=e,{toggleGraph:ae=je}=e,{playPrevChapter:be=je}=e;const{subscribers:$,stores:Pe}=s;Xc(l);const Te=ln(),Me=o.ui.debugPanelVisible,re=o.ui.playerSize;let _e,J=null,Q=!1;o.getAdmanWrapper().init({switchFromAdsToVideo:o.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:o.actions.internal.switchFromVideoToAds,setMuted:o.actions.external.setMuted},o.ads,{isMobile:o.ui.isMobile,mobileUnmuteButtonVisible:o.ui.mobileUnmuteButtonVisible,vsid:o.vsid}),sf(o,Pe);const De=(ce=!1)=>{i(34,Q=!0),ce?o.actions.external.firstStart(C):o.actions.internal.firstStart(C)};function et(ce){const pt=n||ce;pt&&o.initVideo({container:_e,sources:pt,failoverHosts:Ue,subtitles:m});const ht=vn.get(Sl)==="true";Me.set(ht),S>0&&o.actions.external.seekTime(S);const ft=L?Te.volumeDefault:w??V1()??Te.volumeDefault,st=_??df();if(o.actions.external.setVolume(ft),o.actions.external.setMuted(st),o.getAdmanWrapper().setInitialVolume(st?0:ft),Te.features.trafficSaving){const Pt=pf();Pt&&o.actions.internal.setTrafficSavingEnabled(Pt)}const kt=ff(o.videoId);kt&&o.actions.internal.setQuality(kt),o.ui.isAutoplay.set(b),b?De():v&&Te.features.preload&&o.actions.internal.preload()}const Xe=ce=>{if(window.ResizeObserver){let pt,ht;J=new ResizeObserver(ol(ft=>{const st=ft[0];if(st){if(st.contentBoxSize){const kt=Array.isArray(st.contentBoxSize)?st.contentBoxSize[0]:st.contentBoxSize;pt=kt.inlineSize,ht=kt.blockSize}else st.contentRect&&(pt=st.contentRect.width,ht=st.contentRect.height);re.set({width:pt,height:ht})}},v1)),J.observe(ce)}re.set({width:ce.clientWidth,height:ce.clientHeight})};on(()=>{Xe(_e);const ce=$.map(ht=>ht.init(o,Pe));if(h?.status==="upcoming"||h?.status==="waiting"){o.actions.internal.setWaitingLive(!0);return}if((h?.status==="finished"||h?.status==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return et(),()=>{J?.disconnect(),ce.forEach(ht=>ht.unsubscribe()),o.destroy()}});function ye(){Q?o.actions.external.play():De(!0)}function Ge(){o.actions.external.pause()}function Je(ce){L||o.actions.external.setMuted(ce)}function ct(ce){L||ce>=0&&ce<=1&&o.actions.external.setVolume(ce)}function bt(ce){o.actions.internal.seekTime(ce,Vt.UNKNOWN)}function Fe(ce){o.actions.external.seekEpisodeStartTime(ce)}function Le(){o.actions.external.returnFocusToEpisodes()}function vt(ce){o.actions.external.setPlaybackRate(ce)}function Bt(ce){o.actions.external.setAutoQualityLimits(ce)}function xt(ce){_e=ce,i(33,_e)}function qt(ce){_e=ce,i(33,_e)}return t.$$set=ce=>{"sources"in ce&&i(37,n=ce.sources),"store"in ce&&i(0,o=ce.store),"microStoresRoot"in ce&&i(38,s=ce.microStoresRoot),"uiConfig"in ce&&i(39,l=ce.uiConfig),"title"in ce&&i(1,r=ce.title),"thumbUrl"in ce&&i(2,a=ce.thumbUrl),"videoLogoUrl"in ce&&i(3,c=ce.videoLogoUrl),"interactiveContainer"in ce&&i(4,f=ce.interactiveContainer),"subtitles"in ce&&i(40,m=ce.subtitles),"live"in ce&&i(5,h=ce.live),"preload"in ce&&i(41,v=ce.preload),"autoplay"in ce&&i(6,b=ce.autoplay),"volume"in ce&&i(42,w=ce.volume),"muted"in ce&&i(43,_=ce.muted),"fromTime"in ce&&i(44,S=ce.fromTime),"canRewindLive"in ce&&i(7,k=ce.canRewindLive),"showAds"in ce&&i(8,C=ce.showAds),"adsSlotId"in ce&&i(9,V=ce.adsSlotId),"adsParams"in ce&&i(10,ie=ce.adsParams),"adsPreviewParam"in ce&&i(11,M=ce.adsPreviewParam),"duration"in ce&&i(12,G=ce.duration),"logoClickable"in ce&&i(13,B=ce.logoClickable),"logoHidden"in ce&&i(14,x=ce.logoHidden),"isMobile"in ce&&i(15,L=ce.isMobile),"showNextPrevButtons"in ce&&i(16,te=ce.showNextPrevButtons),"nextButtonActive"in ce&&i(17,z=ce.nextButtonActive),"prevButtonActive"in ce&&i(18,X=ce.prevButtonActive),"endScreenVideoTitle"in ce&&i(19,le=ce.endScreenVideoTitle),"endScreenVideoThumb"in ce&&i(20,P=ce.endScreenVideoThumb),"isOneVideoPlaylist"in ce&&i(21,oe=ce.isOneVideoPlaylist),"supportLink"in ce&&i(22,K=ce.supportLink),"outerContainerRef"in ce&&i(23,ne=ce.outerContainerRef),"fullScreenTarget"in ce&&i(24,we=ce.fullScreenTarget),"failoverHosts"in ce&&i(45,Ue=ce.failoverHosts),"showMiniTimer"in ce&&i(25,qe=ce.showMiniTimer),"playNextVideo"in ce&&i(26,Ie=ce.playNextVideo),"playPrevVideo"in ce&&i(27,Ce=ce.playPrevVideo),"repeatPlaylist"in ce&&i(28,ue=ce.repeatPlaylist),"seekToInteractive"in ce&&i(29,j=ce.seekToInteractive),"toggleGraph"in ce&&i(30,ae=ce.toggleGraph),"playPrevChapter"in ce&&i(31,be=ce.playPrevChapter)},t.$$.update=()=>{t.$$.dirty[0]&32769&&o.ui.isMobile.set(L)},[o,r,a,c,f,h,b,k,C,V,ie,M,G,B,x,L,te,z,X,le,P,oe,K,ne,we,qe,Ie,Ce,ue,j,ae,be,bt,_e,Q,Te,De,n,s,l,m,v,w,_,S,Ue,et,ye,Ge,Je,ct,Fe,Le,vt,Bt,xt,qt]}class Rh extends ge{constructor(e){super(),he(this,e,Bh,Mh,pe,{sources:37,store:0,microStoresRoot:38,uiConfig:39,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:40,live:5,preload:41,autoplay:6,volume:42,muted:43,fromTime:44,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:45,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:46,play:47,pause:48,setMuted:49,setVolume:50,seekTime:32,seekEpisodeStartTime:51,returnFocusToEpisodes:52,setPlaybackRate:53,setAutoQualityLimits:54},Ih,[-1,-1,-1])}get initVideo(){return this.$$.ctx[46]}get play(){return this.$$.ctx[47]}get pause(){return this.$$.ctx[48]}get setMuted(){return this.$$.ctx[49]}get setVolume(){return this.$$.ctx[50]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[51]}get returnFocusToEpisodes(){return this.$$.ctx[52]}get setPlaybackRate(){return this.$$.ctx[53]}get setAutoQualityLimits(){return this.$$.ctx[54]}}function Nh(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill",t[0]),u(i,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,o){E(n,e,o),p(e,i)},p(n,[o]){o&1&&u(i,"fill",n[0])},i:W,o:W,d(n){n&&T(e)}}}function zh(t,e,i){let{isWhite:n=!1}=e,o;return t.$$set=s=>{"isWhite"in s&&i(1,n=s.isWhite)},t.$$.update=()=>{t.$$.dirty&2&&i(0,o=n?"#fff":"#909499")},[o,n]}class Dh extends ge{constructor(e){super(),he(this,e,zh,Nh,pe,{isWhite:1})}}function Oh(t){ze(t,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function s1(t){let e,i;return{c(){e=A("div"),i=Re(t[0]),u(e,"class","title v-1y9fytq")},m(n,o){E(n,e,o),p(e,i)},p(n,o){o&1&&Qe(i,n[0])},d(n){n&&T(e)}}}function r1(t){let e,i;return e=new Dh({props:{isWhite:!!t[1]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isWhite=!!n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Hh(t){let e,i,n,o,s=t[0]&&s1(t),l=(!t[0]||!t[1])&&r1(t);return{c(){e=A("div"),s&&s.c(),i=D(),l&&l.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=t[1]?`background-image: url('${t[1]}')`:"")},m(r,a){E(r,e,a),s&&s.m(e,null),p(e,i),l&&l.m(e,null),o=!0},p(r,[a]){r[0]?s?s.p(r,a):(s=s1(r),s.c(),s.m(e,i)):s&&(s.d(1),s=null),!r[0]||!r[1]?l?(l.p(r,a),a&3&&d(l,1)):(l=r1(r),l.c(),d(l,1),l.m(e,null)):l&&(fe(),g(l,1,1,()=>{l=null}),de()),(!o||a&2&&n!==(n=r[1]?`background-image: url('${r[1]}')`:""))&&u(e,"style",n)},i(r){o||(d(l),o=!0)},o(r){g(l),o=!1},d(r){r&&T(e),s&&s.d(),l&&l.d()}}}function Fh(t,e,i){let{title:n}=e,{thumbUrl:o}=e;return t.$$set=s=>{"title"in s&&i(0,n=s.title),"thumbUrl"in s&&i(1,o=s.thumbUrl)},[n,o]}class Uh extends ge{constructor(e){super(),he(this,e,Fh,Hh,pe,{title:0,thumbUrl:1},Oh)}}class qh{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:i="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:i,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",i=>null],["seekbackward",i=>null],["seekforward",i=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[i,n]of e)try{navigator.mediaSession.setActionHandler(i,n)}catch{throw new Error(`The media session action "${i}" is not supported yet.`)}}}function Zh(t){let e,i,n,o;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(o,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(i,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(s,l){E(s,e,l),p(e,i),p(i,n),p(i,o)},p:W,i:W,o:W,d(s){s&&T(e)}}}class Wh extends ge{constructor(e){super(),he(this,e,null,Zh,pe,{})}}function Kh(t){ze(t,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function jh(t){let e,i,n,o,s,l,r;return n=new Wh({}),{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=D(),s=A("span"),l=Re(t[0]),u(i,"class","dummy-image v-1pbsod4"),R(i,"desktop",!t[1]),u(s,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),R(e,"is-pip-api",t[2])},m(a,c){E(a,e,c),p(e,i),H(n,i,null),p(e,o),p(e,s),p(s,l),r=!0},p(a,[c]){(!r||c&2)&&R(i,"desktop",!a[1]),(!r||c&1)&&Qe(l,a[0])},i(a){r||(d(n.$$.fragment,a),r=!0)},o(a){g(n.$$.fragment,a),r=!1},d(a){a&&T(e),F(n)}}}function Gh(t,e,i){let n,o;const s=ut(),l=!!s.webApi.pictureInPictureApi,r=s.interfaceLanguage$;O(t,r,f=>i(5,n=f));const a=s.ui.isMobile;O(t,a,f=>i(1,o=f));let c;return t.$$.update=()=>{t.$$.dirty&32&&i(0,c=n&&Y("pip_dummy_title"))},[c,o,l,r,a,n]}class Yh extends ge{constructor(e){super(),he(this,e,Gh,jh,pe,{},Kh)}}const Qh=460,Xh=280;class Uu{playerDomElement;playerParentShadowRoot;playerDummyElement;svelteContext;pipWindow;info={isActive$:new Al(!1),type:Ln.DocumentPictureInPicture};isSupported(){const e=Il().browser===u1.Yandex,{isEmbed:i}=Lc();return"documentPictureInPicture"in window&&!e&&!i}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,i){this.playerDomElement=e,this.playerParentShadowRoot=i}setContext(e){this.svelteContext=e}async request(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:Qh,height:Xh,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const e=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(l=>l.cssText).join(" ")).filter(Boolean).join(`
51
- `),i=document.createElement("style");i.textContent=e;const n=this.createStretchedContainer(),o=n.attachShadow({mode:"open"});o.append(i),o.append(this.playerDomElement),this.playerDummyElement=new Yh({target:this.playerParentShadowRoot,context:this.svelteContext}),this.pipWindow?.document.body.append(n),this.info.isActive$.next(!0),this.pipWindow?.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})}async remove(){return new Promise(e=>{documentPictureInPicture.window?.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function Jh(t){return t instanceof Uu}class xh{static getLatestSupportedVersion(){const e=new zl,i=new Uu;if(i.isSupported())return i;if(e.isSupported())return e}}function a1(t,e){const i=new Set([...Object.keys(t),...Object.keys(e)]),n={};for(const o of i)n[o]=e[o]??t[o]??void 0;return n}const $h="Inner error. Unexpectedly root annotation container null reference exception",e5="Annotation with such name already exists",t5="Annotation with such name does not exist";class kl extends Error{constructor(e){super(e),this.name="AnnotationError"}}const i5="1",n5=100;class o5{rootAnnotationsContainer;annotations=new Map;subscriptions=new Kn;mutationObserver;playerSize;constructor(e){this.rootAnnotationsContainer=e;const i=ol(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},n5);this.subscriptions.add(Vc(this.rootAnnotationsContainer).subscribe(({width:n,height:o})=>{this.playerSize={width:n,height:o},i()})),this.mutationObserver=new MutationObserver(i),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,i){if(!this.rootAnnotationsContainer)throw new kl($h);if(this.annotations.has(e))throw new kl(e5);i.style.zIndex=i.style.zIndex??i5,i.style.position="absolute",this.rootAnnotationsContainer.append(i),this.annotations.set(e,i)}get(e){const i=this.annotations.get(e);if(!i)throw new kl(t5);return i}remove(e){const i=this.get(e);this.annotations.delete(e)&&i.remove()}clear(){for(const e in this.annotations.keys())this.remove(e)}destroy(){this.annotations.clear(),this.subscriptions.unsubscribe(),this.mutationObserver.disconnect(),this.rootAnnotationsContainer=null}isElementExceedsBoundaries(e,i,n){const o=e.offsetTop,s=e.offsetLeft,l=e.offsetWidth,r=e.offsetHeight;return o<0||s<0||s+l>i||o+r>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class jl{stateName;state$;subscription;init(e,i){return ot(e),ot(i),this.subscription=new Kn,this.subscription}}class l5 extends jl{stateName="fakeIsPlaying$";state$={...Ee(null),toggle:()=>this.state$.update(e=>!e)};init(e,i){const n=super.init(e,i),{isInteractiveExpectation$:o}=e.state;return n.add(o.subscribe(s=>{this.state$.set(s?!0:null)})),n}}class s5 extends jl{stateName="interactiveControlsOpacity$";state$={...Ee(null),toggle:()=>this.state$.update(e=>!e)};init(e,i){const n=super.init(e,i),{fakeIsPlaying$:o}=i,{isInteractiveExpectation$:s,isPlaying$:l}=e.state,{controlsVisible:r,isMobile:a}=e.ui,c=Ye(a),f=()=>c&&Ye(r);return n.add(r.subscribe(m=>{if(!c)return;const h=Ye(o);Ye(l)?this.state$.set(m):h!==null&&this.state$.set(!h||m)})),n.add(l.subscribe(m=>{this.state$.set(!m||f())})),n.add(o.subscribe(m=>{if(m===null)return;const h=Ye(s);if(f()){this.state$.set(!0);return}h&&this.state$.set(!m)})),n}}class r5 extends jl{stateName="seekToInteractiveDisabledTooltip$";state$=Ee("tooltip_chapter_without_interactive");init(e,i){const n=super.init(e,i);return n.add(e.state.interactiveEpisodes$.subscribe(o=>{o.length&&(o.every(s=>s.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),n}}const a5=()=>[l5,s5,r5].reduce(({subscribers:t,stores:e},i)=>{const n=new i;return{subscribers:[...t,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),u5={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:Bo.RU,logoClickable:!1,logoHidden:!1,isMobile:Mc(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class c5 extends HTMLElement{svelteStubComponent;svelteRootComponent;store;microStoresRoot;statistics;sentry;_shadowRoot;playerContainer;rootContainer;uiConfig;coreConfig;interactiveController;interactiveContainer;graphMadePause;currentPlayingVideoIndex=0;needToRepeatPlaylist=!1;videoConfig=void 0;pictureInPictureApi=void 0;mediaSessionApi=void 0;unsubscribePlayerPhaseSubscription=void 0;logger;log;subscription;annotationsApi=void 0;createPlayerTimeout;prevIsid=void 0;isInited=!1;constructor(){super(),this.logger=new c1,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new Kn,this.graphMadePause=!1,window?.videoPlayerConfig?.debugLogs&&this.subscription.add(this.logger.log$.subscribe(e=>{console.log("%c player web component ","background:#77dd77;",`${e.component}`,e.message)}))}connectedCallback(){if(this.isInited)return;this.initPlayerRootContainers();const e=this.getAttribute("stub-title")??void 0,i=this.getAttribute("stub-thumb-url")??void 0;this.svelteStubComponent=new Uh({target:this.playerContainer,props:{title:e,thumbUrl:i}})}disconnectedCallback(){this.annotationsApi?.destroy(),this.svelteRootComponent?.$destroy(),this.svelteStubComponent?.$destroy(),this.subscription.unsubscribe(),this.unsubscribePlayerPhaseSubscription?.(),this.interactiveController?.destroy()}initPlayerRootContainers(){this.rootContainer=document.createElement("div"),this.rootContainer.style.position="relative",this.rootContainer.className="root-container",this.rootContainer.style.width="100%",this.rootContainer.style.height="100%";const e=document.createElement("div");e.style.position="absolute",e.className="shadow-root-container",e.style.width="100%",e.style.height="100%",this._shadowRoot=e.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.rootContainer.append(e),this.append(this.rootContainer)}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){return this.store?.ui.controls.disabledControls$?.includes(e)||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,i={},n){if(!this.videoConfig)return;const{albumId:o,statPlace:s,statUserSalt:l,statAuthToken:r,statTrackCode:a,refreshStatAuthToken:c,preload:f,autoplay:m,volume:h,muted:v,fromTime:b,canRewindLive:w,supportLink:_,showAds:S,adsSlotId:k,adsParams:C={},adsPreviewParam:V,interfaceLanguage:ie,logoClickable:M,logoHidden:G,isMobile:B,isAudioDisabled:x,isLiveCatchUpMode:L,fullScreenTarget:te,failoverHosts:z,canDownload:X,callbacks:le,interactiveData:P,showThumbTimer:oe,additionalButtons:K=[],repeat:ne}=a1(this.videoConfig,i),{sources:we,title:Ue,thumbUrl:qe,videoLogoUrl:Ie,unitedVideoId:Ce,isClip:ue=!1,duration:j,adsParams:ae={},videoEpisodes:be,previewThumbsData:$,subtitles:Pe,live:Te}=e,Me={...C,...ae},re=this.getNextVideoInfo(),_e={sources:we,title:Ue,thumbUrl:qe,subtitles:Pe,unitedVideoId:Ce,isClip:ue,live:Te,albumId:o,statPlace:s,autoplay:m,muted:v,volume:h,fromTime:b,canRewindLive:w,showAds:S,adsSlotId:k,adsParams:Me,adsPreviewParam:V,duration:j,logoClickable:M,logoHidden:G,isMobile:B,repeat:ne,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:re.nextVideoTitle,endScreenVideoThumb:re.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},J={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(_e)}`});const Q=this.uiConfig.features.statistics&&!!Ce,{pid:De}=this.videoConfig?.interactiveData?.projectInfo||{};Q&&new Io({movieId:Ce,albumId:o,place:s,trackCode:a,autoplay:(m&&!this.interactiveController)??!1,mobile:B,clip:ue,...De&&!this.isInited&&{projectId:Number(De)}},{refreshAuthToken:c,userSalt:l,config:this.statistics.config,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new Tl(this.uiConfig.sentry,{version:Bl,env:lf},{movieId:Ce,albumId:o,place:s,autoplay:(m&&!this.interactiveController)??!1,mobile:B,clip:ue}),this.interactiveController&&(this.prevIsid??=Io.getInstance()?.oneStat.isid$.getValue()),this.statistics={...this.statistics,...Io.getInstance()},this.sentry={...this.sentry,...Tl.getInstance()};const Xe=!!P,ye=this.interactiveController?.getInteractiveRanges(),Ge=[];let Je="tooltip_interactive_go_back_disabled_first";if(Xe&&this.interactiveController){const Fe=this.interactiveController.state.isInitialChapter$.getValue(),Le=this.interactiveController.getHistoryState();Fe&&Ge.push(nt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||Ge.push(nt.SEEK_TO_INTERACTIVE_BUTTON),Le.hasPrevChapter$.getValue()||(Ge.push(nt.PLAY_PREV_CHAPTER_BUTTON),Fe||(Le.isGoBackLimited$.getValue()?Je="tooltip_interactive_go_back_disabled_limit":Je="tooltip_interactive_go_back_disabled"))}const ct=()=>{this.isInited=!1,this.prevIsid=void 0;const Fe=n?.info.isEnded$.getValue()&&this.interactiveController?.state.isEndChapter$.getValue();le.onReplayInteractiveVideo&&!Fe?le.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=e3({player:n,interfaceLanguage:ie,videoId:Ce,isClip:ue,isLiveCatchUpMode:L,isAudioDisabled:x,statAuthToken:r,callbacks:le,webApi:J,videoEpisodes:be,previewThumbsData:$,canDownload:X,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:Ge,isInteractive:Xe,interactiveRanges:ye,replayInteractive:ct,playPrevChapterDisabledTooltip:Je,hasInteractiveBranches:!!this.interactiveController?.getChapterBranches()?.length,additionalButtons:this.uiConfig.features.additionalButtons?K:[],looped:ne&&this.videoConfig.videos.length===1});const{stores:bt}=this.microStoresRoot=a5();this.subscription.add(this.store.state.currentFormat$.subscribe(Fe=>le?.onCurrentFormatChanged?.(Fe))),this.subscription.add(bt.interactiveControlsOpacity$.subscribe(Fe=>{Fe!==null&&this?.interactiveController?.setDisabledControls(Fe)})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Fe=>le?.onThroughputEstimationChanged?.(Fe))),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe(Fe=>le?.onTrafficSavingEnabledChanged?.(Fe))),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe(Fe=>le?.onCurrentPlaybackRateChanged?.(Fe))),this.subscription.add(this.store.state.volume$.subscribe(Fe=>le?.onVolumeChange?.(Fe))),this.subscription.add(this.store.state.muted$.subscribe(Fe=>Fe?le?.onMute?.():le?.onUnmute?.())),this.subscription.add(this.store.state.videoBitrate$.subscribe(Fe=>le?.onVideoBitrateChanged?.(Fe))),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Fe=>{const Le=this.store?.ui.controls.disabledControls$;Le&&(Fe&&!Le.includes(el)&&Le.add(el),Fe||Le.remove(el))})),this.initMediaSession(),this.interactiveController&&Q&&this.initInteractivesStatistics(),this.svelteRootComponent=new Rh({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:we,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:Ue,thumbUrl:qe,videoLogoUrl:Ie,subtitles:Pe,live:Te,preload:f,autoplay:m,muted:v,volume:h,fromTime:b,canRewindLive:w,supportLink:_,showAds:S,adsSlotId:k,adsParams:Me,adsPreviewParam:V,duration:j,logoClickable:M,logoHidden:G,isMobile:B,failoverHosts:z,fullScreenTarget:te,showMiniTimer:oe,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:re.nextVideoTitle,endScreenVideoThumb:re.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist(),playPrevChapter:()=>this.playPrevChapter(),seekToInteractive:()=>this.seekToInteractive(),toggleGraph:()=>this.toggleGraph()}}),this.addPlayerInfoSubscriptions(),this.isInited||(this.isInited=!0,this.videoConfig?.callbacks?.onInited?.())}addPlayerInfoSubscriptions(){if(this.isInited)return;const e=this.store,i=this.videoConfig?.callbacks;i&&this.subscription.add(e.playerPhase.subscribe(o=>i.onPlayerPhaseChanged?.(o))).add(e.state.playbackState$.subscribe(o=>i.onPlaybackStateChanged?.(o))).add(e.state.isLive$.subscribe(o=>i.onIsLiveChanged?.(o))).add(e.state.isActiveLive$.subscribe(o=>i.onIsActiveLiveChanged?.(o))).add(e.state.isAudioAvailable$.subscribe(o=>i.onIsAudioAvailableChanged?.(o))).add(e.state.currentQuality$.subscribe(o=>i.onCurrentQualityChanged?.(o))).add(e.state.availableQualities$.subscribe(o=>i.onAvailableQualitiesChanged?.(o.map(({value:s})=>s).filter(s=>s!==bo.AUTO)))).add(e.ui.isPictureInPictureActive$.subscribe(o=>o?i.onPiPEnter?.():i.onPiPExit?.()));const n=i?.uiInfo;n&&this.subscription.add(e.ui.controlsVisible.subscribe(o=>n.onControlsVisibleChanged?.(o))).add(e.ui.isMobile.subscribe(o=>n.onIsMobileChanged?.(o))).add(e.ui.playerSize.subscribe(o=>n.onPlayerSizeChanged?.(o))).add(e.ui.controls.prevButton.subscribe(o=>n.onPrevButtonChanged?.(o))).add(e.ui.controls.playButton.subscribe(o=>n.onPlayButtonChanged?.(o))).add(e.ui.controls.replayButton.subscribe(o=>n.onReplayButtonChanged?.(o))).add(e.ui.controls.nextButton.subscribe(o=>n.onNextButtonChanged?.(o))).add(e.ui.controls.playPrevChapterButton.subscribe(o=>n.onPlayPrevChapterChanged?.(o))).add(e.ui.controls.seekToInteractiveButton.subscribe(o=>n.onSeekToInteractiveButtonChanged?.(o))).add(e.ui.controls.interactiveGraphButton.subscribe(o=>n.onGraphButtonChanged?.(o))).add(e.ui.controls.liveButton.subscribe(o=>n.onLiveButtonChanged?.(o))).add(e.ui.controls.time.subscribe(o=>n.onTimeUpdateChanged?.(o))).add(e.ui.controls.episodes.subscribe(o=>n.onEpisodesChanged?.(o))).add(e.ui.controls.subtitles.subscribe(o=>n.onSubtitlesChanged?.(o))).add(e.ui.controls.settings.subscribe(o=>n.onSettingsChanged?.(o))).add(e.ui.controls.fullscreen.subscribe(o=>n.onFullscreenChanged?.(o))).add(e.ui.controls.chromecast.subscribe(o=>n.onChromecastChanged?.(o))).add(e.ui.controls.pip.subscribe(o=>n.onPipChanged?.(o))).add(e.ui.controls.vkLogo.subscribe(o=>n.onVkLogoChanged?.(o)))}playNextVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onNextVideoClick)try{e=this.videoConfig.callbacks.onNextVideoClick()}catch{this.log({message:"onNextVideoClick callback failed to execute"})}e&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onPrevVideoClick)try{e=this.videoConfig.callbacks.onPrevVideoClick()}catch{this.log({message:"onPrevVideoClick callback failed to execute"})}e&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,i=!0){if(!this.videoConfig)return;const n=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!n){this.log({message:"no next video"});return}this.isInited&&bn(n.unitedVideoId)&&this.store.actions.internal.nextMovie(n.unitedVideoId),this.svelteRootComponent?.$destroy(),this.createPlayer(n,{autoplay:i,fromTime:0},e)}playPrevChapter(){this.interactiveController?.playPrevChapter()}seekToInteractive(){const e=this.interactiveController?.getNextInteractiveStartTime();typeof e=="number"&&this.seekTime(e/1e3)}toggleGraph(){if(!this.isInited)return;const e=this.store,{isEnded$:i,playbackState$:n,graphIsOpened$:o}=e.state,{disabledControls$:s}=e.ui.controls,l=Ye(i),r=Ye(n);Ye(o)?(o.set(!1),this.interactiveController?.toggleGraphView(!1),s.remove(os),!l&&this.graphMadePause&&this.play()):(this.graphMadePause=r==="playing",o.set(!0),this.interactiveController?.toggleGraphView(!0),s.add(os),!l&&this.graphMadePause&&this.pause())}async initInteractives(){if(this.videoConfig?.interactiveData)try{const{Interactives:e,EVENT_NAMES:i,CustomError:n}=await import("@vkontakte/videoplayer-interactive/evergreen.esm.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const o=this.store?.interfaceLanguage$,s=o?Ye(o):this.videoConfig.interfaceLanguage,{projectInfo:l,historyApi:r,videoLoader:a}=this.videoConfig.interactiveData;this.interactiveController=new e({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:s,graph:this.uiConfig.features.interactiveGraph,projectInfo:l,historyApi:r,vkVideoLoader:a,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,historyParams:{maxLength:this.uiConfig.interactive.historyMaxLength}}),await this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:c}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(m=>{if(!this.isInited)return;const h=this.store;m?h.ui.controls.disabledControls$.remove(nt.SEEK_TO_INTERACTIVE_BUTTON):h.ui.controls.disabledControls$.add(nt.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(c.subscribe(m=>{this.store&&this.store.state.isInteractiveExpectation$.set(m)}));let f=!0;if(this.interactiveController.on(i.playerChanged,m=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...m.config,title:l?.title||m.config.title};const h=f?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(m.player,h),f&&(f=!1)}),this.interactiveController.on(i.interactives,({type:m,subjectId:h,actionType:v})=>{if(!this.store)return;const b=c.getValue();if(m==="container-removed"&&this.store.actions.internal.completeInteractiveRange(h),m==="action-choice"&&v==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(y1)),m==="action-choice-canceled"){const w=Ye(this.store.state.isPlaying$)||b;if(this.videoConfig?.isMobile&&w){this.store.ui.interactiveHideMobileControls.set(!0);return}this.videoConfig?.callbacks.onDisabledInteractiveClick?.()}}),this.videoConfig?.callbacks?.onInteractiveHistoryChanged){const m=this.interactiveController.getHistoryState();this.subscription.add(m.history$.subscribe(h=>{h.length&&this.videoConfig?.callbacks?.onInteractiveHistoryChanged?.(h)}))}this.interactiveController.on(i.errors,m=>{this.log({message:m.toString()})})}catch(e){this.log({message:e.message})}}async initInteractivesStatistics(){const{statSubscription:e,oneStat:i}=this.statistics;if(!(!e||!i||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:n}=await import("@vkontakte/videoplayer-interactive/evergreen.esm.js"),o={[n.GO_NEXT_BUTTON]:Ao.NEXT_BUTTON,[n.GO_NEXT_AREA]:Ao.NEXT_AREA,[n.WATCH_AGAIN]:Ao.WATCH_AGAIN,[n.OPEN_GRAPH]:Ao.GRAPH_SHOW,[n.CLOSE_GRAPH]:Ao.GRAPH_HIDE},{click$:s,nextMovie$:l}=this.interactiveController.getStatEvents(),r=new fn;s.subscribe(a=>{a in o?r.next(o[a]):(i?.logError({errorType:"InteractiveVideosAction",fatal:!1}),this.sentry.report?.(new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),e.add(i.attachToInteractive({click$:r,nextMovie$:l}))}catch(n){i?.logError({errorType:"InteractiveVideos",fatal:!1}),this.sentry.report?.(n,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,i={}){if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=a1(u5,Bc(e,n=>n instanceof HTMLElement?n:void 0)),this.uiConfig=Qc(i.ui??{}),this.coreConfig=i.core??{configName:[]},this.statistics={config:i.statistics??{}},this.sentry={config:this.uiConfig.sentry??{}},bn(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=this.videoConfig.isMediaSessionEnabled??!0),bn(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=this.uiConfig.features.pip??this.videoConfig.isPictureInPictureEnabled??!0,this.uiConfig.features.dpip=this.uiConfig.features.dpip??this.videoConfig.isPictureInPictureEnabled??!0),this.videoConfig.isMobile=this.uiConfig.isMobile??this.videoConfig.isMobile,this.videoConfig.autoplay&&=this.uiConfig.features.autoplay,this.videoConfig.showAds=this.uiConfig.ads.enable??this.videoConfig.showAds,this.videoConfig.adsSlotId=this.uiConfig.ads.slot??this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=this.uiConfig.ads.preview??this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!(this.uiConfig.showLogo??!this.videoConfig.logoHidden),this.videoConfig.canRewindLive&&=this.uiConfig.features.liveRewind,this.videoConfig.supportLink=this.videoConfig.supportLink??this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=xh.getLatestSupportedVersion():this.pictureInPictureApi=new zl),this.mediaSessionApi=this.uiConfig.features.mediaSession?new qh:void 0,this.annotationsApi=this.uiConfig.features.annotations?new o5(this.rootContainer):void 0,this.svelteStubComponent?.$destroy(),this.svelteRootComponent?.$destroy(),this.isInited=!1,this.prevIsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),Jh(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const i=this.getNextVideoInfo();this.svelteRootComponent?.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:i.nextVideoTitle,endScreenVideoThumb:i.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){this.mediaSessionApi&&(this.unsubscribePlayerPhaseSubscription?.(),this.unsubscribePlayerPhaseSubscription=this.store?.playerPhase.subscribe(e=>{e===Ve.Video?this.setupMediaSessionForVideo():e===Ve.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:i}={...this.videoConfig.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",o=>this.seekTime(o.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:i}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",i=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(i)}catch(e){this.log({message:e.message})}}play(){this.isControlDisabled(nt.PLAY_BUTTON)||this.store?.playerPhase.is(Ve.WaitingLive)||(this.log({message:"play"}),this.svelteRootComponent?.play())}pause(){this.log({message:"pause"}),this.svelteRootComponent?.pause()}stop(){if(!this.videoConfig)return;this.log({message:"stop"}),this.svelteStubComponent?.$destroy();const e=this.videoConfig.videos[0];e&&(this.svelteRootComponent?.$destroy(),this.createPlayer(e))}setMuted(e){this.log({message:`set muted, muted: ${e}`}),this.svelteRootComponent?.setMuted(e)}setVolume(e){this.log({message:`set volume, volume: ${e}`}),this.svelteRootComponent?.setVolume(e)}setRepeat(e){this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,this.svelteRootComponent?.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){this.isControlDisabled(nt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),this.svelteRootComponent?.seekTime(e))}seekEpisodeStartTime(e){this.log({message:`seek episode start time, time: ${e}`}),this.svelteRootComponent?.seekEpisodeStartTime(e)}returnFocusToEpisodes(){this.log({message:"return focus to episodes button"}),this.svelteRootComponent?.returnFocusToEpisodes()}setPlaybackRate(e){this.log({message:`set playback rate to: ${e}`}),this.svelteRootComponent?.setPlaybackRate(e)}setAutoQualityLimits(e){this.log({message:`set auto quality limitation. Max: ${e.max??"none"}. Min: ${e.min??"none"}`}),this.svelteRootComponent?.setAutoQualityLimits(e)}addLanguage(e){this.store?.actions.internal.addLanguage(e)}async setLanguage(e){await this.store?.actions.internal.setLanguage(e)}setLiveStart(e){this.log({message:"live started"}),this.store?.actions.internal.setWaitingLive(!1),this.svelteRootComponent?.initVideo(e),this.play()}setWaitRecord(){this.log({message:"post live"}),this.store?.actions.internal.setWaitingRecord(!0),this.store?.destroy()}setLiveEnd(e){this.log({message:"live ended"}),this.store?.actions.internal.setWaitingRecord(!1),this.svelteRootComponent?.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){return Io.getInstance()?.oneStat.getDeviceId()??void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const h5=()=>{window.customElements.define("vk-video-player",c5)};export{_t as GridTypes,k5 as InterfaceLanguage,Bl as VERSION,y5 as VKNumericLanguage,_5 as VideoFormat,v5 as VideoQuality,C5 as loadVKLangPack,h5 as registerPlayerWebComponent};
50
+ );--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg:not(.interactiveContainer svg){pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}.overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:10000}.out-of-view{position:absolute !important;left:-1000vh !important}`)}function Lh(t){let e,i,n;function o(l){t[56](l)}let s={store:t[0],uiConfig:t[35],title:t[1],thumbUrl:t[2],videoLogoUrl:t[3],interactiveContainer:t[4],live:t[5],autoplay:t[6],canRewindLive:t[7],showAds:t[8],adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12],logoClickable:t[13],logoHidden:t[14],showNextPrevButtons:t[16],nextButtonActive:t[17],prevButtonActive:t[18],endScreenVideoTitle:t[19],endScreenVideoThumb:t[20],isOneVideoPlaylist:t[21],supportLink:t[22],outerContainerRef:t[23],fullScreenTarget:t[24],showMiniTimer:t[25],playerStarted:t[34],playNextVideo:t[26],playPrevVideo:t[27],repeatPlaylist:t[28],seekToInteractive:t[29],toggleGraph:t[30],playPrevChapter:t[31],firstStart:t[36]};return t[33]!==void 0&&(s.videoContainer=t[33]),e=new bh({props:s}),ve.push(()=>He(e,"videoContainer",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&1&&(a.store=l[0]),r[0]&2&&(a.title=l[1]),r[0]&4&&(a.thumbUrl=l[2]),r[0]&8&&(a.videoLogoUrl=l[3]),r[0]&16&&(a.interactiveContainer=l[4]),r[0]&32&&(a.live=l[5]),r[0]&64&&(a.autoplay=l[6]),r[0]&128&&(a.canRewindLive=l[7]),r[0]&256&&(a.showAds=l[8]),r[0]&512&&(a.adsSlotId=l[9]),r[0]&1024&&(a.adsParams=l[10]),r[0]&2048&&(a.adsPreviewParam=l[11]),r[0]&4096&&(a.duration=l[12]),r[0]&8192&&(a.logoClickable=l[13]),r[0]&16384&&(a.logoHidden=l[14]),r[0]&65536&&(a.showNextPrevButtons=l[16]),r[0]&131072&&(a.nextButtonActive=l[17]),r[0]&262144&&(a.prevButtonActive=l[18]),r[0]&524288&&(a.endScreenVideoTitle=l[19]),r[0]&1048576&&(a.endScreenVideoThumb=l[20]),r[0]&2097152&&(a.isOneVideoPlaylist=l[21]),r[0]&4194304&&(a.supportLink=l[22]),r[0]&8388608&&(a.outerContainerRef=l[23]),r[0]&16777216&&(a.fullScreenTarget=l[24]),r[0]&33554432&&(a.showMiniTimer=l[25]),r[1]&8&&(a.playerStarted=l[34]),r[0]&67108864&&(a.playNextVideo=l[26]),r[0]&134217728&&(a.playPrevVideo=l[27]),r[0]&268435456&&(a.repeatPlaylist=l[28]),r[0]&536870912&&(a.seekToInteractive=l[29]),r[0]&1073741824&&(a.toggleGraph=l[30]),r[1]&1&&(a.playPrevChapter=l[31]),!i&&r[1]&4&&(i=!0,a.videoContainer=l[33],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Vh(t){let e,i,n;function o(l){t[55](l)}let s={store:t[0],uiConfig:t[35],thumbUrl:t[2],videoLogoUrl:t[3],interactiveContainer:t[4],live:t[5],autoplay:t[6],canRewindLive:t[7],showAds:t[8],adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12],logoClickable:t[13],logoHidden:t[14],showNextPrevButtons:t[16],nextButtonActive:t[17],prevButtonActive:t[18],endScreenVideoTitle:t[19],endScreenVideoThumb:t[20],isOneVideoPlaylist:t[21],supportLink:t[22],outerContainerRef:t[23],fullScreenTarget:t[24],showMiniTimer:t[25],playerStarted:t[34],playNextVideo:t[26],playPrevVideo:t[27],repeatPlaylist:t[28],seekToInteractive:t[29],toggleGraph:t[30],playPrevChapter:t[31],firstStart:t[36],seekTime:t[32]};return t[33]!==void 0&&(s.videoContainer=t[33]),e=new Ah({props:s}),ve.push(()=>He(e,"videoContainer",o)),{c(){U(e.$$.fragment)},m(l,r){H(e,l,r),n=!0},p(l,r){const a={};r[0]&1&&(a.store=l[0]),r[0]&4&&(a.thumbUrl=l[2]),r[0]&8&&(a.videoLogoUrl=l[3]),r[0]&16&&(a.interactiveContainer=l[4]),r[0]&32&&(a.live=l[5]),r[0]&64&&(a.autoplay=l[6]),r[0]&128&&(a.canRewindLive=l[7]),r[0]&256&&(a.showAds=l[8]),r[0]&512&&(a.adsSlotId=l[9]),r[0]&1024&&(a.adsParams=l[10]),r[0]&2048&&(a.adsPreviewParam=l[11]),r[0]&4096&&(a.duration=l[12]),r[0]&8192&&(a.logoClickable=l[13]),r[0]&16384&&(a.logoHidden=l[14]),r[0]&65536&&(a.showNextPrevButtons=l[16]),r[0]&131072&&(a.nextButtonActive=l[17]),r[0]&262144&&(a.prevButtonActive=l[18]),r[0]&524288&&(a.endScreenVideoTitle=l[19]),r[0]&1048576&&(a.endScreenVideoThumb=l[20]),r[0]&2097152&&(a.isOneVideoPlaylist=l[21]),r[0]&4194304&&(a.supportLink=l[22]),r[0]&8388608&&(a.outerContainerRef=l[23]),r[0]&16777216&&(a.fullScreenTarget=l[24]),r[0]&33554432&&(a.showMiniTimer=l[25]),r[1]&8&&(a.playerStarted=l[34]),r[0]&67108864&&(a.playNextVideo=l[26]),r[0]&134217728&&(a.playPrevVideo=l[27]),r[0]&268435456&&(a.repeatPlaylist=l[28]),r[0]&536870912&&(a.seekToInteractive=l[29]),r[0]&1073741824&&(a.toggleGraph=l[30]),r[1]&1&&(a.playPrevChapter=l[31]),!i&&r[1]&4&&(i=!0,a.videoContainer=l[33],Oe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Mh(t){let e,i,n,o;const s=[Vh,Lh],l=[];function r(a,c){return a[15]?0:1}return i=r(t),n=l[i]=s[i](t),{c(){e=A("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){E(a,e,c),l[i].m(e,null),o=!0},p(a,c){let f=i;i=r(a),i===f?l[i].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),n=l[i],n?n.p(a,c):(n=l[i]=s[i](a),n.c()),d(n,1),n.m(e,null))},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&T(e),l[i].d()}}}function Bh(t,e,i){let{sources:n}=e,{store:o}=e,{microStoresRoot:s}=e,{uiConfig:l}=e,{title:r}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:m}=e,{live:h}=e,{preload:v}=e,{autoplay:b}=e,{volume:w=void 0}=e,{muted:_=void 0}=e,{fromTime:S}=e,{canRewindLive:k}=e,{showAds:C}=e,{adsSlotId:V=void 0}=e,{adsParams:ie=void 0}=e,{adsPreviewParam:M=void 0}=e,{duration:G=void 0}=e,{logoClickable:B}=e,{logoHidden:x}=e,{isMobile:L}=e,{showNextPrevButtons:te=!1}=e,{nextButtonActive:z=!1}=e,{prevButtonActive:X=!1}=e,{endScreenVideoTitle:le=void 0}=e,{endScreenVideoThumb:P=void 0}=e,{isOneVideoPlaylist:oe=!1}=e,{supportLink:j}=e,{outerContainerRef:ne=void 0}=e,{fullScreenTarget:we=void 0}=e,{failoverHosts:Ue=void 0}=e,{showMiniTimer:qe=!1}=e,{playNextVideo:Ie=Ke}=e,{playPrevVideo:Ce=Ke}=e,{repeatPlaylist:ue=Ke}=e,{seekToInteractive:K=Ke}=e,{toggleGraph:ae=Ke}=e,{playPrevChapter:be=Ke}=e;const{subscribers:$,stores:Pe}=s;Xc(l);const Te=ln(),Me=o.ui.debugPanelVisible,re=o.ui.playerSize;let _e,J=null,Q=!1;o.getAdmanWrapper().init({switchFromAdsToVideo:o.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:o.actions.internal.switchFromVideoToAds,setMuted:o.actions.external.setMuted},o.ads,{isMobile:o.ui.isMobile,mobileUnmuteButtonVisible:o.ui.mobileUnmuteButtonVisible,vsid:o.vsid}),sf(o,Pe);const De=(ce=!1)=>{i(34,Q=!0),ce?o.actions.external.firstStart(C):o.actions.internal.firstStart(C)};function et(ce){const pt=n||ce;pt&&o.initVideo({container:_e,sources:pt,failoverHosts:Ue,subtitles:m});const ht=vn.get(Sl)==="true";Me.set(ht),S>0&&o.actions.external.seekTime(S);const ft=L?Te.volumeDefault:w??V1()??Te.volumeDefault,st=_??df();if(o.actions.external.setVolume(ft),o.actions.external.setMuted(st),o.getAdmanWrapper().setInitialVolume(st?0:ft),Te.features.trafficSaving){const Pt=pf();Pt&&o.actions.internal.setTrafficSavingEnabled(Pt)}const kt=ff(o.videoId);kt&&o.actions.internal.setQuality(kt),o.ui.isAutoplay.set(b),b?De():v&&Te.features.preload&&o.actions.internal.preload()}const Xe=ce=>{if(window.ResizeObserver){let pt,ht;J=new ResizeObserver(ol(ft=>{const st=ft[0];if(st){if(st.contentBoxSize){const kt=Array.isArray(st.contentBoxSize)?st.contentBoxSize[0]:st.contentBoxSize;pt=kt.inlineSize,ht=kt.blockSize}else st.contentRect&&(pt=st.contentRect.width,ht=st.contentRect.height);re.set({width:pt,height:ht})}},v1)),J.observe(ce)}re.set({width:ce.clientWidth,height:ce.clientHeight})};on(()=>{Xe(_e);const ce=$.map(ht=>ht.init(o,Pe));if(h?.status==="upcoming"||h?.status==="waiting"){o.actions.internal.setWaitingLive(!0);return}if((h?.status==="finished"||h?.status==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return et(),()=>{J?.disconnect(),ce.forEach(ht=>ht.unsubscribe()),o.destroy()}});function ye(){Q?o.actions.external.play():De(!0)}function Ge(){o.actions.external.pause()}function Je(ce){L||o.actions.external.setMuted(ce)}function ct(ce){L||ce>=0&&ce<=1&&o.actions.external.setVolume(ce)}function bt(ce){o.actions.internal.seekTime(ce,Vt.UNKNOWN)}function Fe(ce){o.actions.external.seekEpisodeStartTime(ce)}function Le(){o.actions.external.returnFocusToEpisodes()}function vt(ce){o.actions.external.setPlaybackRate(ce)}function Bt(ce){o.actions.external.setAutoQualityLimits(ce)}function xt(ce){_e=ce,i(33,_e)}function qt(ce){_e=ce,i(33,_e)}return t.$$set=ce=>{"sources"in ce&&i(37,n=ce.sources),"store"in ce&&i(0,o=ce.store),"microStoresRoot"in ce&&i(38,s=ce.microStoresRoot),"uiConfig"in ce&&i(39,l=ce.uiConfig),"title"in ce&&i(1,r=ce.title),"thumbUrl"in ce&&i(2,a=ce.thumbUrl),"videoLogoUrl"in ce&&i(3,c=ce.videoLogoUrl),"interactiveContainer"in ce&&i(4,f=ce.interactiveContainer),"subtitles"in ce&&i(40,m=ce.subtitles),"live"in ce&&i(5,h=ce.live),"preload"in ce&&i(41,v=ce.preload),"autoplay"in ce&&i(6,b=ce.autoplay),"volume"in ce&&i(42,w=ce.volume),"muted"in ce&&i(43,_=ce.muted),"fromTime"in ce&&i(44,S=ce.fromTime),"canRewindLive"in ce&&i(7,k=ce.canRewindLive),"showAds"in ce&&i(8,C=ce.showAds),"adsSlotId"in ce&&i(9,V=ce.adsSlotId),"adsParams"in ce&&i(10,ie=ce.adsParams),"adsPreviewParam"in ce&&i(11,M=ce.adsPreviewParam),"duration"in ce&&i(12,G=ce.duration),"logoClickable"in ce&&i(13,B=ce.logoClickable),"logoHidden"in ce&&i(14,x=ce.logoHidden),"isMobile"in ce&&i(15,L=ce.isMobile),"showNextPrevButtons"in ce&&i(16,te=ce.showNextPrevButtons),"nextButtonActive"in ce&&i(17,z=ce.nextButtonActive),"prevButtonActive"in ce&&i(18,X=ce.prevButtonActive),"endScreenVideoTitle"in ce&&i(19,le=ce.endScreenVideoTitle),"endScreenVideoThumb"in ce&&i(20,P=ce.endScreenVideoThumb),"isOneVideoPlaylist"in ce&&i(21,oe=ce.isOneVideoPlaylist),"supportLink"in ce&&i(22,j=ce.supportLink),"outerContainerRef"in ce&&i(23,ne=ce.outerContainerRef),"fullScreenTarget"in ce&&i(24,we=ce.fullScreenTarget),"failoverHosts"in ce&&i(45,Ue=ce.failoverHosts),"showMiniTimer"in ce&&i(25,qe=ce.showMiniTimer),"playNextVideo"in ce&&i(26,Ie=ce.playNextVideo),"playPrevVideo"in ce&&i(27,Ce=ce.playPrevVideo),"repeatPlaylist"in ce&&i(28,ue=ce.repeatPlaylist),"seekToInteractive"in ce&&i(29,K=ce.seekToInteractive),"toggleGraph"in ce&&i(30,ae=ce.toggleGraph),"playPrevChapter"in ce&&i(31,be=ce.playPrevChapter)},t.$$.update=()=>{t.$$.dirty[0]&32769&&o.ui.isMobile.set(L)},[o,r,a,c,f,h,b,k,C,V,ie,M,G,B,x,L,te,z,X,le,P,oe,j,ne,we,qe,Ie,Ce,ue,K,ae,be,bt,_e,Q,Te,De,n,s,l,m,v,w,_,S,Ue,et,ye,Ge,Je,ct,Fe,Le,vt,Bt,xt,qt]}class Rh extends ge{constructor(e){super(),he(this,e,Bh,Mh,pe,{sources:37,store:0,microStoresRoot:38,uiConfig:39,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:40,live:5,preload:41,autoplay:6,volume:42,muted:43,fromTime:44,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:45,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:46,play:47,pause:48,setMuted:49,setVolume:50,seekTime:32,seekEpisodeStartTime:51,returnFocusToEpisodes:52,setPlaybackRate:53,setAutoQualityLimits:54},Ih,[-1,-1,-1])}get initVideo(){return this.$$.ctx[46]}get play(){return this.$$.ctx[47]}get pause(){return this.$$.ctx[48]}get setMuted(){return this.$$.ctx[49]}get setVolume(){return this.$$.ctx[50]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[51]}get returnFocusToEpisodes(){return this.$$.ctx[52]}get setPlaybackRate(){return this.$$.ctx[53]}get setAutoQualityLimits(){return this.$$.ctx[54]}}function Nh(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill",t[0]),u(i,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,o){E(n,e,o),p(e,i)},p(n,[o]){o&1&&u(i,"fill",n[0])},i:W,o:W,d(n){n&&T(e)}}}function zh(t,e,i){let{isWhite:n=!1}=e,o;return t.$$set=s=>{"isWhite"in s&&i(1,n=s.isWhite)},t.$$.update=()=>{t.$$.dirty&2&&i(0,o=n?"#fff":"#909499")},[o,n]}class Dh extends ge{constructor(e){super(),he(this,e,zh,Nh,pe,{isWhite:1})}}function Oh(t){ze(t,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function s1(t){let e,i;return{c(){e=A("div"),i=Re(t[0]),u(e,"class","title v-1y9fytq")},m(n,o){E(n,e,o),p(e,i)},p(n,o){o&1&&Qe(i,n[0])},d(n){n&&T(e)}}}function r1(t){let e,i;return e=new Dh({props:{isWhite:!!t[1]}}),{c(){U(e.$$.fragment)},m(n,o){H(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isWhite=!!n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){F(e,n)}}}function Hh(t){let e,i,n,o,s=t[0]&&s1(t),l=(!t[0]||!t[1])&&r1(t);return{c(){e=A("div"),s&&s.c(),i=D(),l&&l.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=t[1]?`background-image: url('${t[1]}')`:"")},m(r,a){E(r,e,a),s&&s.m(e,null),p(e,i),l&&l.m(e,null),o=!0},p(r,[a]){r[0]?s?s.p(r,a):(s=s1(r),s.c(),s.m(e,i)):s&&(s.d(1),s=null),!r[0]||!r[1]?l?(l.p(r,a),a&3&&d(l,1)):(l=r1(r),l.c(),d(l,1),l.m(e,null)):l&&(fe(),g(l,1,1,()=>{l=null}),de()),(!o||a&2&&n!==(n=r[1]?`background-image: url('${r[1]}')`:""))&&u(e,"style",n)},i(r){o||(d(l),o=!0)},o(r){g(l),o=!1},d(r){r&&T(e),s&&s.d(),l&&l.d()}}}function Fh(t,e,i){let{title:n}=e,{thumbUrl:o}=e;return t.$$set=s=>{"title"in s&&i(0,n=s.title),"thumbUrl"in s&&i(1,o=s.thumbUrl)},[n,o]}class Uh extends ge{constructor(e){super(),he(this,e,Fh,Hh,pe,{title:0,thumbUrl:1},Oh)}}class qh{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:i="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:i,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",i=>null],["seekbackward",i=>null],["seekforward",i=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[i,n]of e)try{navigator.mediaSession.setActionHandler(i,n)}catch{throw new Error(`The media session action "${i}" is not supported yet.`)}}}function Zh(t){let e,i,n,o;return{c(){e=N("svg"),i=N("g"),n=N("path"),o=N("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(o,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(i,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(s,l){E(s,e,l),p(e,i),p(i,n),p(i,o)},p:W,i:W,o:W,d(s){s&&T(e)}}}class Wh extends ge{constructor(e){super(),he(this,e,null,Zh,pe,{})}}function jh(t){ze(t,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function Kh(t){let e,i,n,o,s,l,r;return n=new Wh({}),{c(){e=A("div"),i=A("div"),U(n.$$.fragment),o=D(),s=A("span"),l=Re(t[0]),u(i,"class","dummy-image v-1pbsod4"),R(i,"desktop",!t[1]),u(s,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),R(e,"is-pip-api",t[2])},m(a,c){E(a,e,c),p(e,i),H(n,i,null),p(e,o),p(e,s),p(s,l),r=!0},p(a,[c]){(!r||c&2)&&R(i,"desktop",!a[1]),(!r||c&1)&&Qe(l,a[0])},i(a){r||(d(n.$$.fragment,a),r=!0)},o(a){g(n.$$.fragment,a),r=!1},d(a){a&&T(e),F(n)}}}function Gh(t,e,i){let n,o;const s=ut(),l=!!s.webApi.pictureInPictureApi,r=s.interfaceLanguage$;O(t,r,f=>i(5,n=f));const a=s.ui.isMobile;O(t,a,f=>i(1,o=f));let c;return t.$$.update=()=>{t.$$.dirty&32&&i(0,c=n&&Y("pip_dummy_title"))},[c,o,l,r,a,n]}class Yh extends ge{constructor(e){super(),he(this,e,Gh,Kh,pe,{},jh)}}const Qh=460,Xh=280;class Uu{playerDomElement;playerParentShadowRoot;playerDummyElement;svelteContext;pipWindow;info={isActive$:new Al(!1),type:Ln.DocumentPictureInPicture};isSupported(){const e=Il().browser===u1.Yandex,{isEmbed:i}=Lc();return"documentPictureInPicture"in window&&!e&&!i}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,i){this.playerDomElement=e,this.playerParentShadowRoot=i}setContext(e){this.svelteContext=e}async request(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:Qh,height:Xh,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const e=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(l=>l.cssText).join(" ")).filter(Boolean).join(`
51
+ `),i=document.createElement("style");i.textContent=e;const n=this.createStretchedContainer(),o=n.attachShadow({mode:"open"});o.append(i),o.append(this.playerDomElement),this.playerDummyElement=new Yh({target:this.playerParentShadowRoot,context:this.svelteContext}),this.pipWindow?.document.body.append(n),this.info.isActive$.next(!0),this.pipWindow?.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})}async remove(){return new Promise(e=>{documentPictureInPicture.window?.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function Jh(t){return t instanceof Uu}class xh{static getLatestSupportedVersion(){const e=new zl,i=new Uu;if(i.isSupported())return i;if(e.isSupported())return e}}function a1(t,e){const i=new Set([...Object.keys(t),...Object.keys(e)]),n={};for(const o of i)n[o]=e[o]??t[o]??void 0;return n}const $h="Inner error. Unexpectedly root annotation container null reference exception",e5="Annotation with such name already exists",t5="Annotation with such name does not exist";class kl extends Error{constructor(e){super(e),this.name="AnnotationError"}}const i5="1",n5=100;class o5{rootAnnotationsContainer;annotations=new Map;subscriptions=new jn;mutationObserver;playerSize;constructor(e){this.rootAnnotationsContainer=e;const i=ol(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},n5);this.subscriptions.add(Vc(this.rootAnnotationsContainer).subscribe(({width:n,height:o})=>{this.playerSize={width:n,height:o},i()})),this.mutationObserver=new MutationObserver(i),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,i){if(!this.rootAnnotationsContainer)throw new kl($h);if(this.annotations.has(e))throw new kl(e5);i.style.zIndex=i.style.zIndex??i5,i.style.position="absolute",this.rootAnnotationsContainer.append(i),this.annotations.set(e,i)}get(e){const i=this.annotations.get(e);if(!i)throw new kl(t5);return i}remove(e){const i=this.get(e);this.annotations.delete(e)&&i.remove()}clear(){for(const e in this.annotations.keys())this.remove(e)}destroy(){this.annotations.clear(),this.subscriptions.unsubscribe(),this.mutationObserver.disconnect(),this.rootAnnotationsContainer=null}isElementExceedsBoundaries(e,i,n){const o=e.offsetTop,s=e.offsetLeft,l=e.offsetWidth,r=e.offsetHeight;return o<0||s<0||s+l>i||o+r>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class Kl{stateName;state$;subscription;init(e,i){return ot(e),ot(i),this.subscription=new jn,this.subscription}}class l5 extends Kl{stateName="fakeIsPlaying$";state$={...Ee(null),toggle:()=>this.state$.update(e=>!e)};init(e,i){const n=super.init(e,i),{isInteractiveExpectation$:o}=e.state;return n.add(o.subscribe(s=>{this.state$.set(s?!0:null)})),n}}class s5 extends Kl{stateName="interactiveControlsOpacity$";state$={...Ee(null),toggle:()=>this.state$.update(e=>!e)};init(e,i){const n=super.init(e,i),{fakeIsPlaying$:o}=i,{isInteractiveExpectation$:s,isPlaying$:l}=e.state,{controlsVisible:r,isMobile:a}=e.ui,c=Ye(a),f=()=>c&&Ye(r);return n.add(r.subscribe(m=>{if(!c)return;const h=Ye(o);Ye(l)?this.state$.set(m):h!==null&&this.state$.set(!h||m)})),n.add(l.subscribe(m=>{this.state$.set(!m||f())})),n.add(o.subscribe(m=>{if(m===null)return;const h=Ye(s);if(f()){this.state$.set(!0);return}h&&this.state$.set(!m)})),n}}class r5 extends Kl{stateName="seekToInteractiveDisabledTooltip$";state$=Ee("tooltip_chapter_without_interactive");init(e,i){const n=super.init(e,i);return n.add(e.state.interactiveEpisodes$.subscribe(o=>{o.length&&(o.every(s=>s.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),n}}const a5=()=>[l5,s5,r5].reduce(({subscribers:t,stores:e},i)=>{const n=new i;return{subscribers:[...t,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),u5={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:Bo.RU,logoClickable:!1,logoHidden:!1,isMobile:Mc(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class c5 extends HTMLElement{svelteStubComponent;svelteRootComponent;store;microStoresRoot;statistics;sentry;_shadowRoot;playerContainer;rootContainer;uiConfig;coreConfig;interactiveController;interactiveContainer;graphMadePause;currentPlayingVideoIndex=0;needToRepeatPlaylist=!1;videoConfig=void 0;pictureInPictureApi=void 0;mediaSessionApi=void 0;unsubscribePlayerPhaseSubscription=void 0;logger;log;subscription;annotationsApi=void 0;createPlayerTimeout;prevIsid=void 0;isInited=!1;constructor(){super(),this.logger=new c1,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new jn,this.graphMadePause=!1,window?.videoPlayerConfig?.debugLogs&&this.subscription.add(this.logger.log$.subscribe(e=>{console.log("%c player web component ","background:#77dd77;",`${e.component}`,e.message)}))}connectedCallback(){if(this.isInited)return;this.initPlayerRootContainers();const e=this.getAttribute("stub-title")??void 0,i=this.getAttribute("stub-thumb-url")??void 0;this.svelteStubComponent=new Uh({target:this.playerContainer,props:{title:e,thumbUrl:i}})}disconnectedCallback(){this.annotationsApi?.destroy(),this.svelteRootComponent?.$destroy(),this.svelteStubComponent?.$destroy(),this.subscription.unsubscribe(),this.unsubscribePlayerPhaseSubscription?.(),this.interactiveController?.destroy()}initPlayerRootContainers(){this.rootContainer=document.createElement("div"),this.rootContainer.style.position="relative",this.rootContainer.className="root-container",this.rootContainer.style.width="100%",this.rootContainer.style.height="100%";const e=document.createElement("div");e.style.position="absolute",e.className="shadow-root-container",e.style.width="100%",e.style.height="100%",this._shadowRoot=e.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.rootContainer.append(e),this.append(this.rootContainer)}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){return this.store?.ui.controls.disabledControls$?.includes(e)||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,i={},n){if(!this.videoConfig)return;const{albumId:o,statPlace:s,statUserSalt:l,statAuthToken:r,statTrackCode:a,refreshStatAuthToken:c,preload:f,autoplay:m,volume:h,muted:v,fromTime:b,canRewindLive:w,supportLink:_,showAds:S,adsSlotId:k,adsParams:C={},adsPreviewParam:V,interfaceLanguage:ie,logoClickable:M,logoHidden:G,isMobile:B,isAudioDisabled:x,isLiveCatchUpMode:L,fullScreenTarget:te,failoverHosts:z,canDownload:X,callbacks:le,interactiveData:P,showThumbTimer:oe,additionalButtons:j=[],repeat:ne}=a1(this.videoConfig,i),{sources:we,title:Ue,thumbUrl:qe,videoLogoUrl:Ie,unitedVideoId:Ce,isClip:ue=!1,duration:K,adsParams:ae={},videoEpisodes:be,previewThumbsData:$,subtitles:Pe,live:Te}=e,Me={...C,...ae},re=this.getNextVideoInfo(),_e={sources:we,title:Ue,thumbUrl:qe,subtitles:Pe,unitedVideoId:Ce,isClip:ue,live:Te,albumId:o,statPlace:s,autoplay:m,muted:v,volume:h,fromTime:b,canRewindLive:w,showAds:S,adsSlotId:k,adsParams:Me,adsPreviewParam:V,duration:K,logoClickable:M,logoHidden:G,isMobile:B,repeat:ne,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:re.nextVideoTitle,endScreenVideoThumb:re.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},J={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(_e)}`});const Q=this.uiConfig.features.statistics&&!!Ce,{pid:De}=this.videoConfig?.interactiveData?.projectInfo||{};Q&&new Io({movieId:Ce,albumId:o,place:s,trackCode:a,autoplay:(m&&!this.interactiveController)??!1,mobile:B,clip:ue,...De&&!this.isInited&&{projectId:Number(De)}},{refreshAuthToken:c,userSalt:l,config:this.statistics.config,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new Tl(this.uiConfig.sentry,{version:Bl,env:lf},{movieId:Ce,albumId:o,place:s,autoplay:(m&&!this.interactiveController)??!1,mobile:B,clip:ue}),this.interactiveController&&(this.prevIsid??=Io.getInstance()?.oneStat.isid$.getValue()),this.statistics={...this.statistics,...Io.getInstance()},this.sentry={...this.sentry,...Tl.getInstance()};const Xe=!!P,ye=this.interactiveController?.getInteractiveRanges(),Ge=[];let Je="tooltip_interactive_go_back_disabled_first";if(Xe&&this.interactiveController){const Fe=this.interactiveController.state.isInitialChapter$.getValue(),Le=this.interactiveController.getHistoryState();Fe&&Ge.push(nt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||Ge.push(nt.SEEK_TO_INTERACTIVE_BUTTON),Le.hasPrevChapter$.getValue()||(Ge.push(nt.PLAY_PREV_CHAPTER_BUTTON),Fe||(Le.isGoBackLimited$.getValue()?Je="tooltip_interactive_go_back_disabled_limit":Je="tooltip_interactive_go_back_disabled"))}const ct=()=>{this.isInited=!1,this.prevIsid=void 0;const Fe=n?.info.isEnded$.getValue()&&this.interactiveController?.state.isEndChapter$.getValue();le.onReplayInteractiveVideo&&!Fe?le.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=e3({player:n,interfaceLanguage:ie,videoId:Ce,isClip:ue,isLiveCatchUpMode:L,isAudioDisabled:x,statAuthToken:r,callbacks:le,webApi:J,videoEpisodes:be,previewThumbsData:$,canDownload:X,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:Ge,isInteractive:Xe,interactiveRanges:ye,replayInteractive:ct,playPrevChapterDisabledTooltip:Je,hasInteractiveBranches:!!this.interactiveController?.getChapterBranches()?.length,additionalButtons:this.uiConfig.features.additionalButtons?j:[],looped:ne&&this.videoConfig.videos.length===1});const{stores:bt}=this.microStoresRoot=a5();this.subscription.add(this.store.state.currentFormat$.subscribe(Fe=>le?.onCurrentFormatChanged?.(Fe))),this.subscription.add(bt.interactiveControlsOpacity$.subscribe(Fe=>{Fe!==null&&this?.interactiveController?.setDisabledControls(Fe)})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Fe=>le?.onThroughputEstimationChanged?.(Fe))),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe(Fe=>le?.onTrafficSavingEnabledChanged?.(Fe))),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe(Fe=>le?.onCurrentPlaybackRateChanged?.(Fe))),this.subscription.add(this.store.state.volume$.subscribe(Fe=>le?.onVolumeChange?.(Fe))),this.subscription.add(this.store.state.muted$.subscribe(Fe=>Fe?le?.onMute?.():le?.onUnmute?.())),this.subscription.add(this.store.state.videoBitrate$.subscribe(Fe=>le?.onVideoBitrateChanged?.(Fe))),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Fe=>{const Le=this.store?.ui.controls.disabledControls$;Le&&(Fe&&!Le.includes(el)&&Le.add(el),Fe||Le.remove(el))})),this.initMediaSession(),this.interactiveController&&Q&&this.initInteractivesStatistics(),this.svelteRootComponent=new Rh({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:we,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:Ue,thumbUrl:qe,videoLogoUrl:Ie,subtitles:Pe,live:Te,preload:f,autoplay:m,muted:v,volume:h,fromTime:b,canRewindLive:w,supportLink:_,showAds:S,adsSlotId:k,adsParams:Me,adsPreviewParam:V,duration:K,logoClickable:M,logoHidden:G,isMobile:B,failoverHosts:z,fullScreenTarget:te,showMiniTimer:oe,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:re.nextVideoTitle,endScreenVideoThumb:re.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist(),playPrevChapter:()=>this.playPrevChapter(),seekToInteractive:()=>this.seekToInteractive(),toggleGraph:()=>this.toggleGraph()}}),this.addPlayerInfoSubscriptions(),this.isInited||(this.isInited=!0,this.videoConfig?.callbacks?.onInited?.())}addPlayerInfoSubscriptions(){if(this.isInited)return;const e=this.store,i=this.videoConfig?.callbacks;i&&this.subscription.add(e.playerPhase.subscribe(o=>i.onPlayerPhaseChanged?.(o))).add(e.state.playbackState$.subscribe(o=>i.onPlaybackStateChanged?.(o))).add(e.state.isLive$.subscribe(o=>i.onIsLiveChanged?.(o))).add(e.state.isActiveLive$.subscribe(o=>i.onIsActiveLiveChanged?.(o))).add(e.state.isAudioAvailable$.subscribe(o=>i.onIsAudioAvailableChanged?.(o))).add(e.state.currentQuality$.subscribe(o=>i.onCurrentQualityChanged?.(o))).add(e.state.availableQualities$.subscribe(o=>i.onAvailableQualitiesChanged?.(o.map(({value:s})=>s).filter(s=>s!==bo.AUTO)))).add(e.ui.isPictureInPictureActive$.subscribe(o=>o?i.onPiPEnter?.():i.onPiPExit?.()));const n=i?.uiInfo;n&&this.subscription.add(e.ui.controlsVisible.subscribe(o=>n.onControlsVisibleChanged?.(o))).add(e.ui.isMobile.subscribe(o=>n.onIsMobileChanged?.(o))).add(e.ui.playerSize.subscribe(o=>n.onPlayerSizeChanged?.(o))).add(e.ui.controls.prevButton.subscribe(o=>n.onPrevButtonChanged?.(o))).add(e.ui.controls.playButton.subscribe(o=>n.onPlayButtonChanged?.(o))).add(e.ui.controls.replayButton.subscribe(o=>n.onReplayButtonChanged?.(o))).add(e.ui.controls.nextButton.subscribe(o=>n.onNextButtonChanged?.(o))).add(e.ui.controls.playPrevChapterButton.subscribe(o=>n.onPlayPrevChapterChanged?.(o))).add(e.ui.controls.seekToInteractiveButton.subscribe(o=>n.onSeekToInteractiveButtonChanged?.(o))).add(e.ui.controls.interactiveGraphButton.subscribe(o=>n.onGraphButtonChanged?.(o))).add(e.ui.controls.liveButton.subscribe(o=>n.onLiveButtonChanged?.(o))).add(e.ui.controls.time.subscribe(o=>n.onTimeUpdateChanged?.(o))).add(e.ui.controls.episodes.subscribe(o=>n.onEpisodesChanged?.(o))).add(e.ui.controls.subtitles.subscribe(o=>n.onSubtitlesChanged?.(o))).add(e.ui.controls.settings.subscribe(o=>n.onSettingsChanged?.(o))).add(e.ui.controls.fullscreen.subscribe(o=>n.onFullscreenChanged?.(o))).add(e.ui.controls.chromecast.subscribe(o=>n.onChromecastChanged?.(o))).add(e.ui.controls.pip.subscribe(o=>n.onPipChanged?.(o))).add(e.ui.controls.vkLogo.subscribe(o=>n.onVkLogoChanged?.(o)))}playNextVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onNextVideoClick)try{e=this.videoConfig.callbacks.onNextVideoClick()}catch{this.log({message:"onNextVideoClick callback failed to execute"})}e&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onPrevVideoClick)try{e=this.videoConfig.callbacks.onPrevVideoClick()}catch{this.log({message:"onPrevVideoClick callback failed to execute"})}e&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,i=!0){if(!this.videoConfig)return;const n=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!n){this.log({message:"no next video"});return}this.isInited&&bn(n.unitedVideoId)&&this.store.actions.internal.nextMovie(n.unitedVideoId),this.svelteRootComponent?.$destroy(),this.createPlayer(n,{autoplay:i,fromTime:0},e)}playPrevChapter(){this.interactiveController?.playPrevChapter()}seekToInteractive(){const e=this.interactiveController?.getNextInteractiveStartTime();typeof e=="number"&&this.seekTime(e/1e3)}toggleGraph(){if(!this.isInited)return;const e=this.store,{isEnded$:i,playbackState$:n,graphIsOpened$:o}=e.state,{disabledControls$:s}=e.ui.controls,l=Ye(i),r=Ye(n);Ye(o)?(o.set(!1),this.interactiveController?.toggleGraphView(!1),s.remove(os),!l&&this.graphMadePause&&this.play()):(this.graphMadePause=r==="playing",o.set(!0),this.interactiveController?.toggleGraphView(!0),s.add(os),!l&&this.graphMadePause&&this.pause())}async initInteractives(){if(this.videoConfig?.interactiveData)try{const{Interactives:e,EVENT_NAMES:i,CustomError:n}=await import("@vkontakte/videoplayer-interactive/evergreen.esm.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const o=this.store?.interfaceLanguage$,s=o?Ye(o):this.videoConfig.interfaceLanguage,{projectInfo:l,historyApi:r,videoLoader:a}=this.videoConfig.interactiveData;this.interactiveController=new e({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:s,graph:this.uiConfig.features.interactiveGraph,projectInfo:l,historyApi:r,vkVideoLoader:a,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,historyParams:{maxLength:this.uiConfig.interactive.historyMaxLength}}),await this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:c}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(m=>{if(!this.isInited)return;const h=this.store;m?h.ui.controls.disabledControls$.remove(nt.SEEK_TO_INTERACTIVE_BUTTON):h.ui.controls.disabledControls$.add(nt.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(c.subscribe(m=>{this.store&&this.store.state.isInteractiveExpectation$.set(m)}));let f=!0;if(this.interactiveController.on(i.playerChanged,m=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...m.config,title:l?.title||m.config.title};const h=f?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(m.player,h),f&&(f=!1)}),this.interactiveController.on(i.interactives,({type:m,subjectId:h,actionType:v})=>{if(!this.store)return;const b=c.getValue();if(m==="container-removed"&&this.store.actions.internal.completeInteractiveRange(h),m==="action-choice"&&v==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(y1)),m==="action-choice-canceled"){const w=Ye(this.store.state.isPlaying$)||b;if(this.videoConfig?.isMobile&&w){this.store.ui.interactiveHideMobileControls.set(!0);return}this.videoConfig?.callbacks.onDisabledInteractiveClick?.()}}),this.videoConfig?.callbacks?.onInteractiveHistoryChanged){const m=this.interactiveController.getHistoryState();this.subscription.add(m.history$.subscribe(h=>{h.length&&this.videoConfig?.callbacks?.onInteractiveHistoryChanged?.(h)}))}this.interactiveController.on(i.errors,m=>{this.log({message:m.toString()})})}catch(e){this.log({message:e.message})}}async initInteractivesStatistics(){const{statSubscription:e,oneStat:i}=this.statistics;if(!(!e||!i||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:n}=await import("@vkontakte/videoplayer-interactive/evergreen.esm.js"),o={[n.GO_NEXT_BUTTON]:Ao.NEXT_BUTTON,[n.GO_NEXT_AREA]:Ao.NEXT_AREA,[n.WATCH_AGAIN]:Ao.WATCH_AGAIN,[n.OPEN_GRAPH]:Ao.GRAPH_SHOW,[n.CLOSE_GRAPH]:Ao.GRAPH_HIDE},{click$:s,nextMovie$:l}=this.interactiveController.getStatEvents(),r=new fn;s.subscribe(a=>{a in o?r.next(o[a]):(i?.logError({errorType:"InteractiveVideosAction",fatal:!1}),this.sentry.report?.(new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),e.add(i.attachToInteractive({click$:r,nextMovie$:l}))}catch(n){i?.logError({errorType:"InteractiveVideos",fatal:!1}),this.sentry.report?.(n,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,i={}){if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=a1(u5,Bc(e,n=>n instanceof HTMLElement?n:void 0)),this.uiConfig=Qc(i.ui??{}),this.coreConfig=i.core??{configName:[]},this.statistics={config:i.statistics??{}},this.sentry={config:this.uiConfig.sentry??{}},bn(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=this.videoConfig.isMediaSessionEnabled??!0),bn(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=this.uiConfig.features.pip??this.videoConfig.isPictureInPictureEnabled??!0,this.uiConfig.features.dpip=this.uiConfig.features.dpip??this.videoConfig.isPictureInPictureEnabled??!0),this.videoConfig.isMobile=this.uiConfig.isMobile??this.videoConfig.isMobile,this.videoConfig.autoplay&&=this.uiConfig.features.autoplay,this.videoConfig.showAds=this.uiConfig.ads.enable??this.videoConfig.showAds,this.videoConfig.adsSlotId=this.uiConfig.ads.slot??this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=this.uiConfig.ads.preview??this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!(this.uiConfig.showLogo??!this.videoConfig.logoHidden),this.videoConfig.canRewindLive&&=this.uiConfig.features.liveRewind,this.videoConfig.supportLink=this.videoConfig.supportLink??this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=xh.getLatestSupportedVersion():this.pictureInPictureApi=new zl),this.mediaSessionApi=this.uiConfig.features.mediaSession?new qh:void 0,this.annotationsApi=this.uiConfig.features.annotations?new o5(this.rootContainer):void 0,this.svelteStubComponent?.$destroy(),this.svelteRootComponent?.$destroy(),this.isInited=!1,this.prevIsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),Jh(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const i=this.getNextVideoInfo();this.svelteRootComponent?.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:i.nextVideoTitle,endScreenVideoThumb:i.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){this.mediaSessionApi&&(this.unsubscribePlayerPhaseSubscription?.(),this.unsubscribePlayerPhaseSubscription=this.store?.playerPhase.subscribe(e=>{e===Ve.Video?this.setupMediaSessionForVideo():e===Ve.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:i}={...this.videoConfig.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",o=>this.seekTime(o.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:i}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",i=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(i)}catch(e){this.log({message:e.message})}}play(){this.isControlDisabled(nt.PLAY_BUTTON)||this.store?.playerPhase.is(Ve.WaitingLive)||(this.log({message:"play"}),this.svelteRootComponent?.play())}pause(){this.log({message:"pause"}),this.svelteRootComponent?.pause()}stop(){if(!this.videoConfig)return;this.log({message:"stop"}),this.svelteStubComponent?.$destroy();const e=this.videoConfig.videos[0];e&&(this.svelteRootComponent?.$destroy(),this.createPlayer(e))}setMuted(e){this.log({message:`set muted, muted: ${e}`}),this.svelteRootComponent?.setMuted(e)}setVolume(e){this.log({message:`set volume, volume: ${e}`}),this.svelteRootComponent?.setVolume(e)}setRepeat(e){this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,this.svelteRootComponent?.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){this.isControlDisabled(nt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),this.svelteRootComponent?.seekTime(e))}seekEpisodeStartTime(e){this.log({message:`seek episode start time, time: ${e}`}),this.svelteRootComponent?.seekEpisodeStartTime(e)}returnFocusToEpisodes(){this.log({message:"return focus to episodes button"}),this.svelteRootComponent?.returnFocusToEpisodes()}setPlaybackRate(e){this.log({message:`set playback rate to: ${e}`}),this.svelteRootComponent?.setPlaybackRate(e)}setAutoQualityLimits(e){this.log({message:`set auto quality limitation. Max: ${e.max??"none"}. Min: ${e.min??"none"}`}),this.svelteRootComponent?.setAutoQualityLimits(e)}addLanguage(e){this.store?.actions.internal.addLanguage(e)}async setLanguage(e){await this.store?.actions.internal.setLanguage(e)}setLiveStart(e){this.log({message:"live started"}),this.store?.actions.internal.setWaitingLive(!1),this.svelteRootComponent?.initVideo(e),this.play()}setWaitRecord(){this.log({message:"post live"}),this.store?.actions.internal.setWaitingRecord(!0),this.store?.destroy()}setLiveEnd(e){this.log({message:"live ended"}),this.store?.actions.internal.setWaitingRecord(!1),this.svelteRootComponent?.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){return Io.getInstance()?.oneStat.getDeviceId()??void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const h5=()=>{window.customElements.define("vk-video-player",c5)};export{_t as GridTypes,k5 as InterfaceLanguage,Bl as VERSION,y5 as VKNumericLanguage,_5 as VideoFormat,v5 as VideoQuality,C5 as loadVKLangPack,h5 as registerPlayerWebComponent};