@vkontakte/videoplayer 1.1.35-dev.4390a6f1.0 → 1.1.35-dev.effe86bb.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/esnext.cjs.js CHANGED
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @vkontakte/videoplayer v1.1.35-dev.4390a6f1.0
3
- * Fri, 03 May 2024 11:45:40 GMT
2
+ * @vkontakte/videoplayer v1.1.35-dev.effe86bb.0
3
+ * Mon, 13 May 2024 07:03:01 GMT
4
4
  * https://st.mycdn.me/static/vkontakte-videoplayer/1-1-35/doc/
5
5
  */
6
- "use strict";var N1=Object.create;var nl=Object.defineProperty;var R1=Object.getOwnPropertyDescriptor;var B1=Object.getOwnPropertyNames;var z1=Object.getPrototypeOf,O1=Object.prototype.hasOwnProperty;var D1=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of B1(e))!O1.call(i,o)&&o!==t&&nl(i,o,{get:()=>e[o],enumerable:!(n=R1(e,o))||n.enumerable});return i};var ol=(i,e,t)=>(t=i!=null?N1(z1(i)):{},D1(e||!i||!i.__esModule?nl(t,"default",{value:i,enumerable:!0}):t,i));var Je=require("@vkontakte/videoplayer-core/esnext.cjs.js"),ne=require("@vkontakte/videoplayer-shared/esnext.cjs.js"),pt=require("@vkontakte/videoplayer-statistics/esnext.cjs.js");function K(){}function sr(i,e){for(const t in e)i[t]=e[t];return i}function ar(i){return i()}function ll(){return Object.create(null)}function Xt(i){i.forEach(ar)}function hn(i){return typeof i=="function"}function be(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let uo;function sl(i,e){return uo||(uo=document.createElement("a")),uo.href=e,i===uo.href}function H1(i){return Object.keys(i).length===0}function ko(i,...e){if(i==null){for(const n of e)n(void 0);return K}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Xe(i){let e;return ko(i,t=>e=t)(),e}function F(i,e,t){i.$$.on_destroy.push(ko(e,t))}function pn(i,e,t,n){if(i){const o=rr(i,e,t,n);return i[0](o)}}function rr(i,e,t,n){return i[1]&&n?sr(t.ctx.slice(),i[1](n(e))):t.ctx}function gn(i,e,t,n){if(i[2]&&n){const o=i[2](n(t));if(e.dirty===void 0)return o;if(typeof o=="object"){const l=[],s=Math.max(e.dirty.length,o.length);for(let a=0;a<s;a+=1)l[a]=e.dirty[a]|o[a];return l}return e.dirty|o}return e.dirty}function bn(i,e,t,n,o,l){if(o){const s=rr(e,t,n,l);i.p(s,o)}}function vn(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function F1(i){return i??""}const ur=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function d(i,e){i.appendChild(e)}function Ue(i,e,t){const n=U1(i);if(!n.getElementById(e)){const o=k("style");o.id=e,o.textContent=t,q1(n,o)}}function U1(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function q1(i,e){return d(i.head||i,e),e.sheet}function C(i,e,t){i.insertBefore(e,t||null)}function y(i){i.parentNode&&i.parentNode.removeChild(i)}function tn(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function k(i){return document.createElement(i)}function I(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Oe(i){return document.createTextNode(i)}function R(){return Oe(" ")}function ht(){return Oe("")}function Ee(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function ci(i){return function(e){return e.preventDefault(),i.call(this,e)}}function ut(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function u(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function W1(i){return Array.from(i.childNodes)}function xe(i,e){e=""+e,i.data!==e&&(i.data=e)}function At(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let co;function j1(){if(co===void 0){co=!1;try{typeof window<"u"&&window.parent&&window.parent.document}catch{co=!0}}return co}function wo(i,e){getComputedStyle(i).position==="static"&&(i.style.position="relative");const n=k("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const o=j1();let l;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",l=Ee(window,"message",s=>{s.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{l=Ee(n.contentWindow,"resize",e),e()}),d(i,n),()=>{(o||l&&n.contentWindow)&&l(),y(n)}}function L(i,e,t){i.classList.toggle(e,!!t)}function ln(i,e){return new i(e)}let no;function io(i){no=i}function lo(){if(!no)throw new Error("Function called outside component initialization");return no}function Zi(i){lo().$$.on_mount.push(i)}function yo(i){lo().$$.on_destroy.push(i)}function Do(i,e){return lo().$$.context.set(i,e),e}function jo(i){return lo().$$.context.get(i)}function cr(){return lo().$$.context}function Wn(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Hn=[],je=[];let Un=[];const Ho=[],Z1=Promise.resolve();let Fo=!1;function G1(){Fo||(Fo=!0,Z1.then(fr))}function Mn(i){Un.push(i)}function bt(i){Ho.push(i)}const Eo=new Set;let zn=0;function fr(){if(zn!==0)return;const i=no;do{try{for(;zn<Hn.length;){const e=Hn[zn];zn++,io(e),K1(e.$$)}}catch(e){throw Hn.length=0,zn=0,e}for(io(null),Hn.length=0,zn=0;je.length;)je.pop()();for(let e=0;e<Un.length;e+=1){const t=Un[e];Eo.has(t)||(Eo.add(t),t())}Un.length=0}while(Hn.length);for(;Ho.length;)Ho.pop()();Fo=!1,Eo.clear(),io(i)}function K1(i){if(i.fragment!==null){i.update(),Xt(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Mn)}}function Y1(i){const e=[],t=[];Un.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),Un=e}const go=new Set;let Vn;function he(){Vn={r:0,c:[],p:Vn}}function pe(){Vn.r||Xt(Vn.c),Vn=Vn.p}function m(i,e){i&&i.i&&(go.delete(i),i.i(e))}function p(i,e,t,n){if(i&&i.o){if(go.has(i))return;go.add(i),Vn.c.push(()=>{go.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Vt(i){return i?.length!==void 0?i:Array.from(i)}function Q1(i,e){const t={},n={},o={$$scope:1};let l=i.length;for(;l--;){const s=i[l],a=e[l];if(a){for(const r in s)r in a||(n[r]=1);for(const r in a)o[r]||(t[r]=a[r],o[r]=1);i[l]=a}else for(const r in s)o[r]=1}for(const s in n)s in t||(t[s]=void 0);return t}function X1(i){return typeof i=="object"&&i!==null?i:{}}function vt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function D(i){i&&i.c()}function z(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),Mn(()=>{const l=i.$$.on_mount.map(ar).filter(hn);i.$$.on_destroy?i.$$.on_destroy.push(...l):Xt(l),i.$$.on_mount=[]}),o.forEach(Mn)}function O(i,e){const t=i.$$;t.fragment!==null&&(Y1(t.after_update),Xt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function J1(i,e){i.$$.dirty[0]===-1&&(Hn.push(i),G1(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function ke(i,e,t,n,o,l,s,a=[-1]){const r=no;io(i);const c=i.$$={fragment:null,ctx:[],props:l,update:K,not_equal:o,bound:ll(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(r?r.$$.context:[])),callbacks:ll(),dirty:a,skip_bound:!1,root:e.target||r.$$.root};s&&s(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(h,g,...v)=>{const b=v.length?v[0]:g;return c.ctx&&o(c.ctx[h],c.ctx[h]=b)&&(!c.skip_bound&&c.bound[h]&&c.bound[h](b),f&&J1(i,h)),g}):[],c.update(),f=!0,Xt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const h=W1(e.target);c.fragment&&c.fragment.l(h),h.forEach(y)}else c.fragment&&c.fragment.c();e.intro&&m(i.$$.fragment),z(i,e.target,e.anchor),fr()}io(r)}class we{$$=void 0;$$set=void 0;$destroy(){O(this,1),this.$destroy=K}$on(e,t){if(!hn(t))return K;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const o=n.indexOf(t);o!==-1&&n.splice(o,1)}}$set(e){this.$$set&&!H1(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const x1="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(x1);var jn;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(jn||(jn={}));const $1={isMobile:void 0,defaultLanguage:ne.InterfaceLanguage.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:jn.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:ne.VideoQuality.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0},controls:{hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,slot:void 0,preview:void 0}},eu=i=>ne.fillWithDefault(i,$1),tu=i=>Do("ui-config",i),Gi=()=>jo("ui-config"),Uo="vk_player_debug_panel_opened",dr=300,iu="videoplayer",nu="videoplayer";var Fe;(function(i){i.ArrowLeft="ArrowLeft",i.ArrowUp="ArrowUp",i.ArrowRight="ArrowRight",i.ArrowDown="ArrowDown",i.Comma="Comma",i.Period="Period",i.Space="Space",i.KeyM="KeyM",i.KeyF="KeyF",i.KeyK="KeyK",i.KeyL="KeyL",i.KeyJ="KeyJ",i.KeyC="KeyC",i.KeyI="KeyI",i.Digit1="Digit1",i.Digit2="Digit2",i.Digit3="Digit3",i.Digit4="Digit4",i.Digit5="Digit5",i.Digit6="Digit6",i.Digit7="Digit7",i.Digit8="Digit8",i.Digit9="Digit9",i.Digit0="Digit0",i.Numpad1="Numpad1",i.Numpad2="Numpad2",i.Numpad3="Numpad3",i.Numpad4="Numpad4",i.Numpad5="Numpad5",i.Numpad6="Numpad6",i.Numpad7="Numpad7",i.Numpad8="Numpad8",i.Numpad9="Numpad9",i.Numpad0="Numpad0",i.ShiftLeft="ShiftLeft",i.ShiftRight="ShiftRight",i.Slash="Slash"})(Fe||(Fe={}));const Co={[Fe.KeyF]:"f",[Fe.KeyK]:"k",[Fe.KeyC]:"c",[Fe.KeyM]:"m"},ou=new Set([Fe.ArrowLeft,Fe.ArrowRight,Fe.KeyL,Fe.KeyJ]);var ft;(function(i){i.PLAY_BUTTON="PLAY_BUTTON",i.REPLAY_BUTTON="REPLAY_BUTTON",i.NEXT_BUTTON="NEXT_BUTTON",i.PREV_BUTTON="PREV_BUTTON",i.PICTURE_IN_PICTURE="PICTURE_IN_PICTURE",i.FULLSCREEN_BUTTON="FULLSCREEN_BUTTON",i.SETTINGS_BUTTON="SETTINGS_BUTTON",i.LIVE_BUTTON="LIVE_BUTTON",i.GRAPH_BUTTON="GRAPH_BUTTON",i.PLAY_PREV_CHAPTER_BUTTON="PLAY_PREV_CHAPTER_BUTTON",i.SEEK_TO_INTERACTIVE_BUTTON="SEEK_TO_INTERACTIVE_BUTTON",i.TIMELINE="TIMELINE",i.VOLUME_BAR="VOLUME_BAR",i.MUTE_BUTTON="MUTE_BUTTON",i.SUBTITLES_BUTTON="SUBTITLES_BUTTON",i.CHROMECAST_BUTTON="CHROMECAST_BUTTON",i.VK_BUTTON="VK_BUTTON",i.EPISODE_BUTTON="EPISODE_BUTTON",i.INCREMENT_PLAYBACK_RATE="INCREMENT_PLAYBACK_RATE",i.DECREMENT_PLAYBACK_RATE="DECREMENT_PLAYBACK_RATE"})(ft||(ft={}));const al=40,lu=4,su=60,eo=8,mr=[ft.TIMELINE],bo=[...mr,ft.GRAPH_BUTTON],rl=[...mr,ft.PLAY_BUTTON],hr=[...bo,ft.PLAY_BUTTON];var Fn;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(Fn||(Fn={}));exports.GridTypes=void 0;(function(i){i.XS="xs",i.S="s",i.M="m",i.L="l",i.XL="xl"})(exports.GridTypes||(exports.GridTypes={}));const Zn={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},On=[];function on(i,e){return{subscribe:He(i,e).subscribe}}function He(i,e=K){let t;const n=new Set;function o(a){if(be(i,a)&&(i=a,t)){const r=!On.length;for(const c of n)c[1](),On.push(c,i);if(r){for(let c=0;c<On.length;c+=2)On[c][0](On[c+1]);On.length=0}}}function l(a){o(a(i))}function s(a,r=K){const c=[a,r];return n.add(c),n.size===1&&(t=e(o,l)||K),a(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:l,subscribe:s}}function Qt(i,e,t){const n=!Array.isArray(i),o=n?[i]:i;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const l=e.length<2;return on(t,(s,a)=>{let r=!1;const c=[];let f=0,h=K;const g=()=>{if(f)return;h();const b=e(n?c[0]:c,s,a);l?s(b):h=hn(b)?b:K},v=o.map((b,_)=>ko(b,V=>{c[_]=V,f&=~(1<<_),r&&g()},()=>{f|=1<<_}));return r=!0,g(),function(){Xt(v),h(),r=!1}})}const au="prod",Po="1.1.35-dev.4390a6f1.0",pr=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},gr=Symbol("storeContext"),br=Symbol("microStoresContext"),ru=(i,e)=>{Do(gr,i),Do(br,e)},_t=()=>{const i=jo(gr);return ne.assertNonNullable(i,"Store context is empty!"),i},vr=()=>{const i=jo(br);return ne.assertNonNullable(i,"MicroStores context is empty!"),i},gt=(i,e)=>_r(i,i.getValue(),e),_r=(i,e,t)=>on(e,n=>{const o=i.subscribe(l=>{n(l),t?.(l)});return()=>o.unsubscribe()}),uu=(i,e,t)=>{const n=i.info,{width:o,height:l}=Xe(t.ui.playerSize),s=n.throughputEstimation$.getValue()?.toFixed(0)??0,a=n.rttEstimation$.getValue()?.toFixed(0)??0,r=n.isAutoQualityEnabled$.getValue()?"auto":"manual",c=`${Po} (core: ${Je.VERSION}, stat: ${pt.VERSION}, shared: ${ne.VERSION})`,f=Xe(t.state.errorLog$),h=f.length?`
7
- `+f.map((b,_)=>{const V=`${_}) Type: ${b.id}
8
- `,A=`Message: ${b.message} (${b.thrown})
9
- `,S=`Trace: ${b.thrown?.stack}
10
- `;return V+A+S}).join(`
11
- `):void 0,g=t.state.isAudioDisabled?"disabled":Xe(t.state.isAudioAvailable$)?void 0:"unavailable",v={Version:c,Browser:navigator.userAgent,Config:i.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(t.videoId),"Content host":n.hostname$.getValue(),"Connection type":n.httpConnectionType$.getValue()+(n.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${s}Kbps @ ${a}ms RTT`,Format:n.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${r} ${n.currentQuality$.getValue()}`,"Available qualities":n.availableQualities$.getValue().join(", "),Audio:g,Position:`${Xe(t.state.positionExact$)}s`,State:`${Xe(t.playerPhase)} ${n.playbackState$.getValue()}`,"Player size":`${o}x${l}`,URL:window.location.href,Errors:h};return Object.entries(v).filter(([b,_])=>_!==void 0).map(([b,_])=>`${b}: ${_}`).join(`
12
- `)},cu=(i,e,t)=>{const n=i.info,{width:o,height:l}=Xe(t.ui.playerSize),s={version:Po,viewport:`${o}x${l}`,volume:Math.round(Xe(t.state.volume$)*100)};s.id=t.videoId,n.currentFormat$.getValue()&&(s.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(s.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(s.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(s.buffer=Math.max(f.end-Xe(t.state.positionExact$),0));const h=n.throughputEstimation$.getValue();h&&(s.speed=h);const g=n.videoBitrate$.getValue();return g&&(s.bitrate=g),s},fu=(i,e)=>pr(i,e,"mp4"),kr="vk_player_prefer_traffic_saving_enabled",wr="vk_player_preferred_volume",yr="vk_player_prefer_volume_mute",Zo="vk_player_preferred_quality",Cr=i=>i>1?1:i<0?0:i,ul=i=>ne.safeStorage.set(wr,Cr(i).toString(10)),Pr=()=>{const i=ne.safeStorage.get(wr);return ne.isNullable(i)?void 0:Cr(parseFloat(i))},du=(i,e)=>ne.safeStorage.set(Zo,JSON.stringify({videoId:i,value:e})),Sr=()=>ne.safeStorage.remove(Zo),mu=i=>{const e=ne.safeStorage.get(Zo);if(ne.isNullable(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){Sr();return}return n},Tr=(i,e)=>{e?ne.safeStorage.set(i,"true"):ne.safeStorage.remove(i)},Ar=i=>ne.safeStorage.get(i)==="true",Lo=i=>Tr(yr,i),hu=()=>Ar(yr),pu=i=>Tr(kr,i),gu=()=>Ar(kr);function bu(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),s=I("path"),a=I("path"),r=I("defs"),c=I("filter"),f=I("feFlood"),h=I("feColorMatrix"),g=I("feOffset"),v=I("feGaussianBlur"),b=I("feColorMatrix"),_=I("feBlend"),V=I("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(o,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(o,"fill","#fff"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(l,"fill","#fff"),u(s,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(s,"fill","#fff"),u(a,"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(a,"stroke","#000"),u(a,"stroke-opacity",".12"),u(a,"stroke-width",".5"),u(a,"stroke-linecap","round"),u(a,"stroke-linejoin","round"),u(t,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(h,"in","SourceAlpha"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(h,"result","hardAlpha"),u(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(_,"in2","BackgroundImageFix"),u(_,"result","effect1_dropShadow_618_12297"),u(V,"in","SourceGraphic"),u(V,"in2","effect1_dropShadow_618_12297"),u(V,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",A=!i[0]||null),u(e,"aria-label",S=i[0]||null)},m(P,B){C(P,e,B),d(e,t),d(t,n),d(t,o),d(t,l),d(t,s),d(t,a),d(e,r),d(r,c),d(c,f),d(c,h),d(c,g),d(c,v),d(c,b),d(c,_),d(c,V)},p(P,[B]){B&1&&A!==(A=!P[0]||null)&&u(e,"aria-hidden",A),B&1&&S!==(S=P[0]||null)&&u(e,"aria-label",S)},i:K,o:K,d(P){P&&y(e)}}}function vu(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class Er extends we{constructor(e){super(),ke(this,e,vu,bu,be,{ariaLabel:0})}}const _u={auto_quality_invariant:"\u0410\u0432\u0442\u043E",auto_quality:"\u0410\u0432\u0442\u043E ({actual})",auto_quality_option:"\u0410\u0432\u0442\u043E",menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",menu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",menu_report:"\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435",menu_pip:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",menu_copy_video_link:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E",menu_copy_video_link_with_timestamp:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043A\u0430\u0434\u0440",menu_video_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C",menu_chromecast:"Chromecast \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F",menu_copy_debug:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_save_debug:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",pip_dummy_title:"\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",submenu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",submenu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",submenu_settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",submenu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",mobile_unmute:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",playing_ads:"\u0420\u0435\u043A\u043B\u0430\u043C\u0430 {timeleft}",skip_ads_now:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",skip_ads_after:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u0447\u0435\u0440\u0435\u0437 {time}\u0441",visit_advertiser:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442",aria_timeline:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B",aria_timeline_value:"{position} (\u043E\u0431\u0449\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C {duration}",aria_open_settings:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0438\u0434\u0435\u043E\u043F\u043B\u0435\u0435\u0440\u0430",doubletap_seek_step:"{seconds} \u0441\u0435\u043A\u0443\u043D\u0434",playback_rate_1:"\u041E\u0431\u044B\u0447\u043D\u0430\u044F",playback_rate:"{multiplier}x",video360:"\u043F\u0430\u043D\u043E\u0440\u0430\u043C\u043D\u043E\u0435 \u0432\u0438\u0434\u0435\u043E",subtitles_caption:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_auto:"{language} (\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435)",subtitles_off:"\u0412\u044B\u043A\u043B.",subtitles_auto_caption:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",traffic_saving_off:"\u041E\u0442\u043A\u043B.",traffic_saving_on:"\u0412\u043A\u043B.",traffic_saving_disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_enable:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_helper_text:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u0432\u0438\u0434\u0435\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u0438\u0436\u0435\u043D\u043E \u0434\u043B\u044F \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043A\u0430",tooltip_button_disabled:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_previous:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_restart:"\u041D\u0430\u0447\u0430\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E",tooltip_play:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",tooltip_pause:"\u041F\u0430\u0443\u0437\u0430",tooltip_next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_interactive_go_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0433\u043B\u0430\u0432\u0435",tooltip_interactive_go_back_disabled:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_interactive_go_back_disabled_first:"\u0412\u044B \u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043F\u0435\u0440\u0432\u0443\u044E \u0433\u043B\u0430\u0432\u0443",tooltip_interactive_go_back_disabled_limit:"\u041B\u0438\u043C\u0438\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u0432 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",tooltip_interactive_seek:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0443",tooltip_interactive_graph_off:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_interactive_graph_on:"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_live:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u043D\u0430 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043B\u0430\u0439\u0432",tooltip_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",tooltip_volume:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_volume_muted:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_subtitles_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_subtitles_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_settings_off:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_settings_on:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_fullscreen_off:"\u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D",tooltip_fullscreen_on:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",tooltip_chromecast_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_chromecast_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_episode_finished:"\u0412\u044B \u0443\u0436\u0435 \u0441\u0434\u0435\u043B\u0430\u043B\u0438 \u0441\u0432\u043E\u0439 \u0432\u044B\u0431\u043E\u0440",tooltip_episode_unfinished:"\u041D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043E",tooltip_disabled_when_interactive:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_disabled_when_graph_on:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043A\u0430\u0440\u0442\u044B",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",aria_label_spherical_control:"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440 \u0434\u043B\u044F \u0441\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0438\u0434\u0435\u043E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438 \u0434\u043B\u044F \u043F\u0430\u043D\u043E\u0440\u0430\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E.",aria_label_new_tab_alert:"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435.",aria_label_menu_quality:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0430. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E {actual}",aria_label_menu_rate:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u0438. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C {actual}",aria_label_menu_traffic_saving:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0443 \u0440\u0435\u0436\u0438\u043C\u0430 \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 {actual}",aria_label_menu_subtitle:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043E\u0432. \u0422\u0435\u043A\u0443\u0449\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B {actual}",aria_label_menu_download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",aria_label_menu_debug_overlay_enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_debug_overlay_disable:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432",aria_label_submenu_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A",aria_label_submenu_quality_select_quality:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E {quality}",aria_label_submenu_rate_select_rate:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C {rate}",aria_label_submenu_traffic_saving_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_traffic_saving_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_subtitle_select_subtitle:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B {subtitle}"},ku={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_save_debug:"Save debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_restart:"Watch again",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_go_back:"Back to previous chapter",tooltip_interactive_go_back_disabled:"Interactive history unavailable",tooltip_interactive_go_back_disabled_first:"You're watching the first chapter",tooltip_interactive_go_back_disabled_limit:"Go-back limit exceeded",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Button is disabled during interactive video",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon",aria_label_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_menu_quality:"Open the quality selection menu. Current quality {actual}",aria_label_menu_rate:"Open the speed selection menu. Current rate {actual}",aria_label_menu_traffic_saving:"Open the data saving mode setting. Current state {actual}",aria_label_menu_subtitle:"Open the subtitle selection menu. Current subtitles {actual}",aria_label_menu_download:"Download video",aria_label_menu_debug_overlay_enable:"Enable display of technical information",aria_label_menu_debug_overlay_disable:"Disable display of technical information",aria_label_menu_rotate:"Rotate video 90 degrees",aria_label_submenu_back:"Return to settings menu",aria_label_submenu_quality_select_quality:"Select quality {quality}",aria_label_submenu_rate_select_rate:"Select rate {rate}",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode",aria_label_submenu_subtitle_select_subtitle:"Select subtitles {subtitle}"},fn=new Map;fn.set(ne.InterfaceLanguage.EN,ku);fn.set(ne.InterfaceLanguage.RU,_u);const Lr=new Map,cl=({language:i,pack:e,fallback:t})=>{if(fn.has(i)){const n=fn.get(i);fn.set(i,{...n,...e})}else fn.set(i,e);Lr.set(i,t)},fl=i=>fn.has(i),Vr=(i,e,t,n)=>{let l=fn.get(i)?.[e];if(ne.isNullable(l)){const s=Lr.get(i)??n;l=(s?fn.get(s):void 0)?.[e]}return ne.isNullable(l)?e+Object.values(t??{}).join(" "):t?l.replaceAll(/{(\w+?)}/g,(s,a)=>t[a]??""):l},U=(i,e)=>{const{interfaceLanguage$:t}=_t(),n=Xe(t),o=Gi();return Vr(n,i,e,o.defaultLanguage)};var vo;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(vo||(vo={}));const wu=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,yu=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,Cu=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,fo="?",Pu="X-Sentry-Auth",Su=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Tu(i){if(!i.stack)return null;const e=[],t=i.stack.split(`
13
- `);let n,o;for(let l=0;l<t.length;++l){if(n=wu.exec(t[l]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||fo,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=Cu.exec(t[l]))o={filename:n[2],function:n[1]||fo,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=yu.exec(t[l]))l===0&&!n[5]&&i.columnNumber!==void 0&&(e[0].column=i.columnNumber+1),o={filename:n[3],function:n[1]||fo,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=fo),e.push(o)}return e.length?{value:Ir(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function Ir(i){return(i&&i.message||"No error message").split(`
14
- `).filter(t=>!!t)[0]}function Au(i){try{const e=Tu(i);if(e)return e}catch{}return{value:Ir(i),type:i&&i.name,stacktrace:{frames:[]}}}function Eu(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class Lu{constructor(e){if(e&&e.dsn){const t=Su.exec(e.dsn),n=t?t.slice(1):[],o=n[5].split("/"),l=o.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(l?"/"+l:"")+"/api/"+o.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return{...this.getRequestBlank(),exception:{values:[Au(e)]}}}report(e){this.send(this.prepare(e))}send(e){!this.apiUrl||!e||this.createRequest(e)}createRequest(e){const t=new XMLHttpRequest;t.open("POST",this.apiUrl,!0),t.setRequestHeader("Content-type","application/json"),t.setRequestHeader(Pu,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:Eu(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function dl(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function Vu(){return window}class Go extends Lu{constructor(e,t=Vu()){super(e),this.options=e,this.window=t,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:o=c=>c,beforeBreadcrumb:l=c=>c,blacklistUrls:s=[],ignoreErrors:a=[],release:r=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=l,this.blacklistUrls=s,this.ignoreErrors=a,this.release=r}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",{...e}),this}setTag(e,t){return this.extendState({tags:{[e]:t}}),this}setExtra(e,t){return this.extendState({extra:{[e]:t}}),this}setExtras(e){return this.setKeyState("extra",{...e}),this}setUser(e){return this.setKeyState("user",{...e}),this}clone(){const e=new Go({...this.options,plugins:[]});return e.extendState(this.state),e}withScope(e){const t=this.clone();e(t),t.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[{timestamp:Date.now()/1e3,...this.beforeBreadcrumb(e)}]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send({...this.getRequestBlank(),message:e,level:t})}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(t=>this.ignoreErrors.some(n=>dl(t,n))):!1}getRequestBlank(){return{request:{url:this.window.location.toString(),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},...this.state}}send(e){this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e)||(super.send(this.beforeSend({release:this.release,...e})),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch{return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const t=this.getEventFilterUrl(e);return t?this.blacklistUrls.some(n=>dl(t,n)):!1}getEventFilterUrl(e){try{if(e.exception){const t=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return t&&t[t.length-1].filename||null}return null}catch{return null}}extendState(e){this._state=Object.keys(e).reduce((t,n)=>{const o=this._state[n],l=Array.isArray(o)?o:null,s=e[n],a=Array.isArray(s)?s:null;return{...t,[n]:l||a?[...l||[],...a||[]]:{...typeof o!="string"?o:{},...typeof s!="string"?s:{}}}},this._state)}setKeyState(e,t){this._state[e]=t}}let mo=null;class qo{sentrySubscription;options;version;context;sentryClient;constructor(e,t,n={}){!mo&&e.dsn&&(this.sentryClient=new Go({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new ne.Subscription,this.options=e,this.context=n,mo=this)}destroy(){this.sentryClient?.destroy(),this.sentrySubscription?.unsubscribe(),mo=null}logIError(e,t=!1){e.thrown&&this.report(e.thrown,{fatal:t,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,t={},n={}){const{sentryClient:o,context:l,options:s}=this,{sampleRate:a=0,whiteErrorIdList:r,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:h}=s,{errorType:g,category:v}=t;if(ne.isNonNullable(v)&&h.includes(v)||ne.isNonNullable(g)&&f.includes(g))return;if(Math.random()<=a||ne.isNonNullable(v)&&c.includes(v)||ne.isNonNullable(g)&&r.includes(g)){Object.keys(t).length&&o.setTags({version:this.version,...t}),(Object.keys(l).length||Object.keys(n).length)&&o.setExtras({...l,...n});try{g&&o.captureMessage(g,t.fatal?vo.fatal:vo.error),o.report(e)}catch(_){console.error(_)}}}static getInstance(){return mo}}var qn;(function(i){i.AUTO="auto"})(qn||(qn={}));var ze;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(ze||(ze={}));var cn;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(cn||(cn={}));var Bt;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(Bt||(Bt={}));var dn;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(dn||(dn={}));var Ge;(function(i){i.PLAY="PLAY",i.STOP="STOP",i.BACKWARD_SEEK="BACKWARD_SEEK",i.FORWARD_SEEK="FORWARD_SEEK",i.SUBTITLES_ON="SUBTITLES_ON",i.SUBTITLES_OFF="SUBTITLES_OFF",i.RATE_UP="RATE_UP",i.RATE_DOWN="RATE_DOWN",i.EPISODE_PREV="EPISODE_PREV",i.EPISODE_NEXT="EPISODE_NEXT",i.MUTE="MUTE",i.VOLUME="VOLUME"})(Ge||(Ge={}));var In;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(In||(In={}));const Mr=i=>{if(i.requestFullscreen)return i.requestFullscreen();if(i.msRequestFullscreen)return i.msRequestFullscreen();if(i.webkitRequestFullscreen)return i.webkitRequestFullscreen();if(i.mozRequestFullScreen)return i.mozRequestFullScreen();const e=i.querySelector("video");return e?.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Nr=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),Iu=i=>{const e=i;return e?.webkitExitFullscreen?e?.webkitExitFullscreen():Promise.reject()},oo=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},Rr=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},Br=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},Mu=i=>{const e=window.screen;return(async o=>e.orientation?e.orientation.lock(o):e.mozLockOrientation?e.mozLockOrientation(o):e.msLockOrientation?e.msLockOrientation(o):Promise.reject())(((o={width:0,height:0})=>o.width<=o.height?"portrait":"landscape")(i))},Nu=()=>({title:U("hotkey_map_modal_title"),closeBtnText:U("hotkey_map_modal_close_btn_text"),groups:[{title:U("hotkey_map_group_title_common"),items:[{description:U("hotkey_map_item_mute_description"),value:U("hotkey_map_item_mute_value")},{description:U("hotkey_map_item_volume_up_description"),value:U("hotkey_map_item_volume_up_value")},{description:U("hotkey_map_item_volume_down_description"),value:U("hotkey_map_item_volume_down_value")},{description:U("hotkey_map_item_pip_description"),value:U("hotkey_map_item_pip_value")},{description:U("hotkey_map_item_full_screen_description"),value:U("hotkey_map_item_full_screen_value")},{description:U("hotkey_map_item_show_hotkey_map_description"),value:U("hotkey_map_item_show_hotkey_map_value")}]},{title:U("hotkey_map_group_title_playback"),items:[{description:U("hotkey_map_item_play_toggle_description"),value:U("hotkey_map_item_play_toggle_value")},{description:U("hotkey_map_item_seek_backward_description"),value:U("hotkey_map_item_seek_backward_value")},{description:U("hotkey_map_item_seek_forward_description"),value:U("hotkey_map_item_seek_forward_value")},{description:U("hotkey_map_item_fast_seek_backward_description"),value:U("hotkey_map_item_fast_seek_backward_value")},{description:U("hotkey_map_item_fast_seek_forward_description"),value:U("hotkey_map_item_fast_seek_forward_value")},{description:U("hotkey_map_item_rate_down_description"),value:U("hotkey_map_item_rate_down_value")},{description:U("hotkey_map_item_rate_up_description"),value:U("hotkey_map_item_rate_up_value")},{description:U("hotkey_map_item_prev_frame_description"),value:U("hotkey_map_item_prev_frame_value")},{description:U("hotkey_map_item_next_frame_description"),value:U("hotkey_map_item_next_frame_value")},{description:U("hotkey_map_item_jump_seek_description"),value:U("hotkey_map_item_jump_seek_value")}]},{title:U("hotkey_map_group_title_subtitles"),items:[{description:U("hotkey_map_item_subtitles_toggle_description"),value:U("hotkey_map_item_subtitles_toggle_value")}]},{title:U("hotkey_map_group_title_episodes"),items:[{description:U("hotkey_map_item_prev_episode_description"),value:ne.isMacLike()?U("hotkey_map_item_prev_episode_mac_value"):U("hotkey_map_item_prev_episode_pc_value")},{description:U("hotkey_map_item_next_episode_description"),value:ne.isMacLike()?U("hotkey_map_item_next_episode_mac_value"):U("hotkey_map_item_next_episode_pc_value")}]}]});class Ko{isRequested=!1;videoElement=void 0;playerContainer=void 0;playerDummyElement;svelteContext;externalEventHandlers={};eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:ne.debounceFn(this.onResize.bind(this),dr)};info={isActive$:new ne.ValueSubject(this.isActive()),type:dn.PictureInPicture};isSupported(){const e=ne.getCurrentBrowser().browser===ne.CurrentClientBrowser.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async request(){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 _o(i){return i instanceof Ko}function Ru(i){const e=_t();return Zi(()=>{e.getAdmanWrapper().startPostroll()}),[]}class Bu extends we{constructor(e){super(),ke(this,e,Ru,null,be,{})}}function zu(i){Ue(i,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function Ou(i){let e=U("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=Oe(e)},m(n,o){C(n,t,o)},p(n,o){o&3&&e!==(e=U("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&xe(t,e)},d(n){n&&y(t)}}}function Du(i){let e,t=U("skip_ads_now")+"",n,o,l,s,a,r;return{c(){e=k("div"),n=Oe(t),o=R(),l=I("svg"),s=I("path"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(l,"class","icon v-22jj8o"),u(l,"width","7"),u(l,"height","12"),u(l,"viewBox","0 0 7 12"),u(l,"fill","none"),u(l,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){C(c,e,f),d(e,n),d(e,o),d(e,l),d(l,s),a||(r=Ee(e,"click",ut(function(){hn(i[2])&&i[2].apply(this,arguments)})),a=!0)},p(c,f){i=c},d(c){c&&y(e),a=!1,r()}}}function Hu(i){let e;function t(l,s){return l[3]?Du:Ou}let n=t(i),o=n(i);return{c(){e=k("div"),o.c(),u(e,"class","container v-22jj8o"),L(e,"container-mobile",i[4]),L(e,"skippable",i[3])},m(l,s){C(l,e,s),o.m(e,null)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e,null))),s&16&&L(e,"container-mobile",l[4]),s&8&&L(e,"skippable",l[3])},i:K,o:K,d(l){l&&y(e),o.d()}}}function Fu(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:l=0}=e,{skipAd:s=ne.noop}=e;const r=_t().ui.isMobile;F(i,r,f=>t(4,n=f));let c;return i.$$set=f=>{"position"in f&&t(0,o=f.position),"secondsToWatchBeforeSkip"in f&&t(1,l=f.secondsToWatchBeforeSkip),"skipAd"in f&&t(2,s=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=o>0&&o>=l)},[o,l,s,c,n,r]}class Uu extends we{constructor(e){super(),ke(this,e,Fu,Hu,be,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},zu)}}function qu(i){Ue(i,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function Wu(i){let e;return{c(){e=k("button"),e.textContent=`${U("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){C(t,e,n)},p:K,i:K,o:K,d(t){t&&y(e)}}}class ju extends we{constructor(e){super(),ke(this,e,null,Wu,be,{},qu)}}function Zu(i){Ue(i,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
6
+ "use strict";var Z1=Object.create;var Ol=Object.defineProperty;var K1=Object.getOwnPropertyDescriptor;var G1=Object.getOwnPropertyNames;var Y1=Object.getPrototypeOf,Q1=Object.prototype.hasOwnProperty;var X1=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of G1(e))!Q1.call(t,o)&&o!==i&&Ol(t,o,{get:()=>e[o],enumerable:!(n=K1(e,o))||n.enumerable});return t};var zl=(t,e,i)=>(i=t!=null?Z1(Y1(t)):{},X1(e||!t||!t.__esModule?Ol(i,"default",{value:t,enumerable:!0}):i,t));var Qe=require("@vkontakte/videoplayer-core/esnext.cjs.js"),ee=require("@vkontakte/videoplayer-shared/esnext.cjs.js"),at=require("@vkontakte/videoplayer-statistics/esnext.cjs.js");function j(){}function ja(t,e){for(const i in e)t[i]=e[i];return t}function Wa(t){return t()}function Dl(){return Object.create(null)}function tt(t){t.forEach(Wa)}function mn(t){return typeof t=="function"}function be(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let Lo;function Fl(t,e){return Lo||(Lo=document.createElement("a")),Lo.href=e,t===Lo.href}function J1(t){return Object.keys(t).length===0}function Gt(t,...e){if(t==null){for(const n of e)n(void 0);return j}const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function Ye(t){let e;return Gt(t,i=>e=i)(),e}function D(t,e,i){t.$$.on_destroy.push(Gt(e,i))}function Pn(t,e,i,n){if(t){const o=Za(t,e,i,n);return t[0](o)}}function Za(t,e,i,n){return t[1]&&n?ja(i.ctx.slice(),t[1](n(e))):i.ctx}function Tn(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 En(t,e,i,n,o,s){if(o){const l=Za(e,i,n,s);t.p(l,o)}}function An(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 x1(t){return t??""}const Ka=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function p(t,e){t.appendChild(e)}function He(t,e,i){const n=$1(t);if(!n.getElementById(e)){const o=T("style");o.id=e,o.textContent=i,ec(n,o)}}function $1(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function ec(t,e){return p(t.head||t,e),e.sheet}function E(t,e,i){t.insertBefore(e,i||null)}function P(t){t.parentNode&&t.parentNode.removeChild(t)}function pn(t,e){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(e)}function T(t){return document.createElement(t)}function N(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function ze(t){return document.createTextNode(t)}function O(){return ze(" ")}function lt(){return ze("")}function ge(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function Qt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function it(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function u(t,e,i){i==null?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function tc(t){return Array.from(t.childNodes)}function Xe(t,e){e=""+e,t.data!==e&&(t.data=e)}function Pt(t,e,i,n){i==null?t.style.removeProperty(e):t.style.setProperty(e,i,n?"important":"")}let Io;function ic(){if(Io===void 0){Io=!1;try{typeof window<"u"&&window.parent&&window.parent.document}catch{Io=!0}}return Io}function ml(t,e){getComputedStyle(t).position==="static"&&(t.style.position="relative");const n=T("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const o=ic();let s;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=ge(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{s=ge(n.contentWindow,"resize",e),e()}),p(t,n),()=>{(o||s&&n.contentWindow)&&s(),P(n)}}function B(t,e,i){t.classList.toggle(e,!!i)}function bn(t,e){return new t(e)}let wo;function vo(t){wo=t}function yo(){if(!wo)throw new Error("Function called outside component initialization");return wo}function nn(t){yo().$$.on_mount.push(t)}function jo(t){yo().$$.on_destroy.push(t)}function rl(t,e){return yo().$$.context.set(t,e),e}function pl(t){return yo().$$.context.get(t)}function Ga(){return yo().$$.context}function ro(t,e){const i=t.$$.callbacks[e.type];i&&i.slice().forEach(n=>n.call(this,e))}const no=[],Se=[];let lo=[];const al=[],Ya=Promise.resolve();let ul=!1;function Qa(){ul||(ul=!0,Ya.then(Xa))}function Wo(){return Qa(),Ya}function ao(t){lo.push(t)}function qe(t){al.push(t)}const Jo=new Set;let eo=0;function Xa(){if(eo!==0)return;const t=wo;do{try{for(;eo<no.length;){const e=no[eo];eo++,vo(e),nc(e.$$)}}catch(e){throw no.length=0,eo=0,e}for(vo(null),no.length=0,eo=0;Se.length;)Se.pop()();for(let e=0;e<lo.length;e+=1){const i=lo[e];Jo.has(i)||(Jo.add(i),i())}lo.length=0}while(no.length);for(;al.length;)al.pop()();ul=!1,Jo.clear(),vo(t)}function nc(t){if(t.fragment!==null){t.update(),tt(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(ao)}}function oc(t){const e=[],i=[];lo.forEach(n=>t.indexOf(n)===-1?e.push(n):i.push(n)),i.forEach(n=>n()),lo=e}const Fo=new Set;let Dn;function de(){Dn={r:0,c:[],p:Dn}}function me(){Dn.r||tt(Dn.c),Dn=Dn.p}function d(t,e){t&&t.i&&(Fo.delete(t),t.i(e))}function g(t,e,i,n){if(t&&t.o){if(Fo.has(t))return;Fo.add(t),Dn.c.push(()=>{Fo.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}function Dt(t){return t?.length!==void 0?t:Array.from(t)}function lc(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 sc(t){return typeof t=="object"&&t!==null?t:{}}function je(t,e,i){const n=t.$$.props[e];n!==void 0&&(t.$$.bound[n]=i,i(t.$$.ctx[n]))}function U(t){t&&t.c()}function F(t,e,i){const{fragment:n,after_update:o}=t.$$;n&&n.m(e,i),ao(()=>{const s=t.$$.on_mount.map(Wa).filter(mn);t.$$.on_destroy?t.$$.on_destroy.push(...s):tt(s),t.$$.on_mount=[]}),o.forEach(ao)}function H(t,e){const i=t.$$;i.fragment!==null&&(oc(i.after_update),tt(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function rc(t,e){t.$$.dirty[0]===-1&&(no.push(t),Qa(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function we(t,e,i,n,o,s,l,r=[-1]){const a=wo;vo(t);const c=t.$$={fragment:null,ctx:[],props:s,update:j,not_equal:o,bound:Dl(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:Dl(),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,..._)=>{const b=_.length?_[0]:h;return c.ctx&&o(c.ctx[m],c.ctx[m]=b)&&(!c.skip_bound&&c.bound[m]&&c.bound[m](b),f&&rc(t,m)),h}):[],c.update(),f=!0,tt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const m=tc(e.target);c.fragment&&c.fragment.l(m),m.forEach(P)}else c.fragment&&c.fragment.c();e.intro&&d(t.$$.fragment),F(t,e.target,e.anchor),Xa()}vo(a)}class ke{$$=void 0;$$set=void 0;$destroy(){H(this,1),this.$destroy=j}$on(e,i){if(!mn(i))return j;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&&!J1(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const ac="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ac);var uo;(function(t){t.VK="vk",t.VK_VIDEO="vk_video"})(uo||(uo={}));const uc={isMobile:void 0,defaultLanguage:ee.InterfaceLanguage.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:uo.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:ee.VideoQuality.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0,contextMenuButton:!1},controls:{hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,slot:void 0,preview:void 0},interactive:{historyMaxLength:100}},cc=t=>ee.fillWithDefault(t,uc),fc=t=>rl("ui-config",t),on=()=>pl("ui-config"),cl="vk_player_debug_panel_opened",Ja=300,dc=100,mc="videoplayer",pc="videoplayer";var Ve;(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"})(Ve||(Ve={}));const Co={[Ve.KeyF]:"f",[Ve.KeyK]:"k",[Ve.KeyC]:"c",[Ve.KeyM]:"m"},hc=new Set([Ve.ArrowLeft,Ve.ArrowRight,Ve.KeyL,Ve.KeyJ]),gc=new Set([Ve.Tab,Ve.Space,Ve.ArrowLeft,Ve.ArrowRight,Ve.ArrowUp,Ve.ArrowDown]),bc=new Set([Ve.ShiftRight,Ve.ShiftLeft]);var ot;(function(t){t.PLAY_BUTTON="PLAY_BUTTON",t.REPLAY_BUTTON="REPLAY_BUTTON",t.NEXT_BUTTON="NEXT_BUTTON",t.PREV_BUTTON="PREV_BUTTON",t.PICTURE_IN_PICTURE="PICTURE_IN_PICTURE",t.FULLSCREEN_BUTTON="FULLSCREEN_BUTTON",t.SETTINGS_BUTTON="SETTINGS_BUTTON",t.LIVE_BUTTON="LIVE_BUTTON",t.GRAPH_BUTTON="GRAPH_BUTTON",t.PLAY_PREV_CHAPTER_BUTTON="PLAY_PREV_CHAPTER_BUTTON",t.SEEK_TO_INTERACTIVE_BUTTON="SEEK_TO_INTERACTIVE_BUTTON",t.TIMELINE="TIMELINE",t.VOLUME_BAR="VOLUME_BAR",t.MUTE_BUTTON="MUTE_BUTTON",t.SUBTITLES_BUTTON="SUBTITLES_BUTTON",t.CHROMECAST_BUTTON="CHROMECAST_BUTTON",t.VK_BUTTON="VK_BUTTON",t.EPISODE_BUTTON="EPISODE_BUTTON",t.INCREMENT_PLAYBACK_RATE="INCREMENT_PLAYBACK_RATE",t.DECREMENT_PLAYBACK_RATE="DECREMENT_PLAYBACK_RATE"})(ot||(ot={}));const Hl=40,xa=260,_c=60,Vo=8,$a=[ot.TIMELINE],Ho=[...$a,ot.GRAPH_BUTTON],Ul=[...$a,ot.PLAY_BUTTON],eu=[...Ho,ot.PLAY_BUTTON];var oo;(function(t){t[t.XS=320]="XS",t[t.S=509]="S",t[t.M=599]="M",t[t.L=699]="L"})(oo||(oo={}));exports.GridTypes=void 0;(function(t){t.XS="xs",t.S="s",t.M="m",t.L="l",t.XL="xl"})(exports.GridTypes||(exports.GridTypes={}));const co={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},to=[];function gn(t,e){return{subscribe:Be(t,e).subscribe}}function Be(t,e=j){let i;const n=new Set;function o(r){if(be(t,r)&&(t=r,i)){const a=!to.length;for(const c of n)c[1](),to.push(c,t);if(a){for(let c=0;c<to.length;c+=2)to[c][0](to[c+1]);to.length=0}}}function s(r){o(r(t))}function l(r,a=j){const c=[r,a];return n.add(c),n.size===1&&(i=e(o,s)||j),r(t),()=>{n.delete(c),n.size===0&&i&&(i(),i=null)}}return{set:o,update:s,subscribe:l}}function oi(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 gn(i,(l,r)=>{let a=!1;const c=[];let f=0,m=j;const h=()=>{if(f)return;m();const b=e(n?c[0]:c,l,r);s?l(b):m=mn(b)?b:j},_=o.map((b,k)=>Gt(b,v=>{c[k]=v,f&=~(1<<k),a&&h()},()=>{f|=1<<k}));return a=!0,h(),function(){tt(_),m(),a=!1}})}const vc="prod",Zo="1.1.35-dev.effe86bb.0",tu=(t,e,i)=>{const n=document.createElement("a");n.href=t,n.download=`${e}.${i}`,n.style.display="none",n.click()},iu=Symbol("storeContext"),nu=Symbol("microStoresContext"),wc=(t,e)=>{rl(iu,t),rl(nu,e)},pt=()=>{const t=pl(iu);return ee.assertNonNullable(t,"Store context is empty!"),t},hl=()=>{const t=pl(nu);return ee.assertNonNullable(t,"MicroStores context is empty!"),t},ft=(t,e)=>ou(t,t.getValue(),e),ou=(t,e,i)=>gn(e,n=>{const o=t.subscribe(s=>{n(s),i?.(s)});return()=>o.unsubscribe()}),kc=(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=`${Zo} (core: ${Qe.VERSION}, stat: ${at.VERSION}, shared: ${ee.VERSION})`,f=Ye(i.state.errorLog$),m=f.length?`
7
+ `+f.map((b,k)=>{const v=`${k}) Type: ${b.id}
8
+ `,S=`Message: ${b.message} (${b.thrown})
9
+ `,y=`Trace: ${b.thrown?.stack}
10
+ `;return v+S+y}).join(`
11
+ `):void 0,h=i.state.isAudioDisabled?"disabled":Ye(i.state.isAudioAvailable$)?void 0:"unavailable",_={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(_).filter(([b,k])=>k!==void 0).map(([b,k])=>`${b}: ${k}`).join(`
12
+ `)},yc=(t,e,i)=>{const n=t.info,{width:o,height:s}=Ye(i.ui.playerSize),l={version:Zo,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},Cc=(t,e)=>tu(t,e,"mp4"),lu="vk_player_prefer_traffic_saving_enabled",su="vk_player_preferred_volume",ru="vk_player_prefer_volume_mute",gl="vk_player_preferred_quality",au=t=>t>1?1:t<0?0:t,ql=t=>ee.safeStorage.set(su,au(t).toString(10)),uu=()=>{const t=ee.safeStorage.get(su);return ee.isNullable(t)?void 0:au(parseFloat(t))},Sc=(t,e)=>ee.safeStorage.set(gl,JSON.stringify({videoId:t,value:e})),cu=()=>ee.safeStorage.remove(gl),Pc=t=>{const e=ee.safeStorage.get(gl);if(ee.isNullable(e))return;const{videoId:i,value:n}=JSON.parse(e);if(t!==i){cu();return}return n},fu=(t,e)=>{e?ee.safeStorage.set(t,"true"):ee.safeStorage.remove(t)},du=t=>ee.safeStorage.get(t)==="true",xo=t=>fu(ru,t),Tc=()=>du(ru),Ec=t=>fu(lu,t),Ac=()=>du(lu);function Lc(t){let e,i,n,o,s,l,r,a,c,f,m,h,_,b,k,v,S,y;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"),_=N("feGaussianBlur"),b=N("feColorMatrix"),k=N("feBlend"),v=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(_,"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(k,"in2","BackgroundImageFix"),u(k,"result","effect1_dropShadow_618_12297"),u(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_618_12297"),u(v,"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",y=t[0]||null)},m(w,z){E(w,e,z),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,_),p(c,b),p(c,k),p(c,v)},p(w,[z]){z&1&&S!==(S=!w[0]||null)&&u(e,"aria-hidden",S),z&1&&y!==(y=w[0]||null)&&u(e,"aria-label",y)},i:j,o:j,d(w){w&&P(e)}}}function Ic(t,e,i){let{ariaLabel:n=""}=e;return t.$$set=o=>{"ariaLabel"in o&&i(0,n=o.ariaLabel)},[n]}class mu extends ke{constructor(e){super(),we(this,e,Ic,Lc,be,{ariaLabel:0})}}const Vc={auto_quality_invariant:"\u0410\u0432\u0442\u043E",auto_quality:"\u0410\u0432\u0442\u043E ({actual})",auto_quality_option:"\u0410\u0432\u0442\u043E",menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",menu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",menu_report:"\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435",menu_pip:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",menu_copy_video_link:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E",menu_copy_video_link_with_timestamp:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043A\u0430\u0434\u0440",menu_video_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C",menu_chromecast:"Chromecast \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F",menu_copy_debug:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_save_debug:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",pip_dummy_title:"\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",submenu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",submenu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",submenu_settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",submenu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",mobile_unmute:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",playing_ads:"\u0420\u0435\u043A\u043B\u0430\u043C\u0430 {timeleft}",skip_ads_now:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",skip_ads_after:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u0447\u0435\u0440\u0435\u0437 {time}\u0441",visit_advertiser:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442",aria_timeline:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B",aria_timeline_value:"{position} (\u043E\u0431\u0449\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C {duration}",aria_open_settings:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0438\u0434\u0435\u043E\u043F\u043B\u0435\u0435\u0440\u0430",doubletap_seek_step:"{seconds} \u0441\u0435\u043A\u0443\u043D\u0434",playback_rate_1:"\u041E\u0431\u044B\u0447\u043D\u0430\u044F",playback_rate:"{multiplier}x",video360:"\u043F\u0430\u043D\u043E\u0440\u0430\u043C\u043D\u043E\u0435 \u0432\u0438\u0434\u0435\u043E",subtitles_caption:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_auto:"{language} (\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435)",subtitles_off:"\u0412\u044B\u043A\u043B.",subtitles_auto_caption:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",traffic_saving_off:"\u041E\u0442\u043A\u043B.",traffic_saving_on:"\u0412\u043A\u043B.",traffic_saving_disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_enable:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_helper_text:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u0432\u0438\u0434\u0435\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u0438\u0436\u0435\u043D\u043E \u0434\u043B\u044F \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043A\u0430",tooltip_button_disabled:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_previous:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_restart:"\u041D\u0430\u0447\u0430\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E",tooltip_play:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",tooltip_pause:"\u041F\u0430\u0443\u0437\u0430",tooltip_next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_interactive_go_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0433\u043B\u0430\u0432\u0435",tooltip_interactive_go_back_disabled:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_interactive_go_back_disabled_first:"\u0412\u044B \u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043F\u0435\u0440\u0432\u0443\u044E \u0433\u043B\u0430\u0432\u0443",tooltip_interactive_go_back_disabled_limit:"\u041B\u0438\u043C\u0438\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u0432 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",tooltip_chapter_without_interactive:"\u0412 \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u0435 \u043D\u0435\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_interactive_of_chapter_completed:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u044B \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u044B \u0443\u0436\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u044B",tooltip_interactive_seek:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0443",tooltip_interactive_graph_off:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_interactive_graph_on:"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_live:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u043D\u0430 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043B\u0430\u0439\u0432",tooltip_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",tooltip_volume:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_volume_muted:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_subtitles_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_subtitles_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_settings_off:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_settings_on:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_fullscreen_off:"\u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D",tooltip_fullscreen_on:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",tooltip_chromecast_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_chromecast_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_episode_finished:"\u0412\u044B \u0443\u0436\u0435 \u0441\u0434\u0435\u043B\u0430\u043B\u0438 \u0441\u0432\u043E\u0439 \u0432\u044B\u0431\u043E\u0440",tooltip_episode_unfinished:"\u041D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043E",tooltip_disabled_when_interactive:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432 \u0443\u0436\u0435 \u0438\u0434\u0451\u0442",tooltip_disabled_when_graph_on:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043A\u0430\u0440\u0442\u044B",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",aria_label_spherical_control:"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440 \u0434\u043B\u044F \u0441\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0438\u0434\u0435\u043E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438 \u0434\u043B\u044F \u043F\u0430\u043D\u043E\u0440\u0430\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E.",aria_label_debug_panel:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0441 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439, \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0441\u043A\u0440\u0438\u043D\u0448\u043E\u0442 \u0434\u043B\u044F \u0442\u0435\u0445\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438",aria_label_new_tab_alert:"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435.",aria_label_context_menu_open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_context_menu_close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_menu_quality:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0430. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E {actual}",aria_label_menu_rate:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u0438. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C {actual}",aria_label_menu_traffic_saving:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0443 \u0440\u0435\u0436\u0438\u043C\u0430 \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 {actual}",aria_label_menu_subtitle:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043E\u0432. \u0422\u0435\u043A\u0443\u0449\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B {actual}",aria_label_menu_download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",aria_label_menu_debug_overlay_enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_debug_overlay_disable:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432",aria_label_submenu_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A",aria_label_submenu_quality_select_quality:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E {quality}",aria_label_submenu_rate_select_rate:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C {rate}",aria_label_submenu_traffic_saving_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_traffic_saving_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_subtitle_select_subtitle:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B {subtitle}"},Mc={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_save_debug:"Save debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_restart:"Watch again",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_go_back:"Back to previous chapter",tooltip_interactive_go_back_disabled:"Interactive history unavailable",tooltip_interactive_go_back_disabled_first:"You're watching the first chapter",tooltip_interactive_go_back_disabled_limit:"Go-back limit exceeded",tooltip_chapter_without_interactive:"This chapter has no interactive segment",tooltip_interactive_of_chapter_completed:"Chapter's interactive segments already watched",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Interactive video in progress",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon",aria_label_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_debug_panel:"Technical information area, take a screenshot for technical support",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_context_menu_open:"Open context menu",aria_label_context_menu_close:"Close context menu",aria_label_menu_quality:"Open the quality selection menu. Current quality {actual}",aria_label_menu_rate:"Open the speed selection menu. Current rate {actual}",aria_label_menu_traffic_saving:"Open the data saving mode setting. Current state {actual}",aria_label_menu_subtitle:"Open the subtitle selection menu. Current subtitles {actual}",aria_label_menu_download:"Download video",aria_label_menu_debug_overlay_enable:"Enable display of technical information",aria_label_menu_debug_overlay_disable:"Disable display of technical information",aria_label_menu_rotate:"Rotate video 90 degrees",aria_label_submenu_back:"Return to settings menu",aria_label_submenu_quality_select_quality:"Select quality {quality}",aria_label_submenu_rate_select_rate:"Select rate {rate}",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode",aria_label_submenu_subtitle_select_subtitle:"Select subtitles {subtitle}"},yn=new Map;yn.set(ee.InterfaceLanguage.EN,Mc);yn.set(ee.InterfaceLanguage.RU,Vc);const pu=new Map,jl=({language:t,pack:e,fallback:i})=>{if(yn.has(t)){const n=yn.get(t);yn.set(t,{...n,...e})}else yn.set(t,e);pu.set(t,i)},Wl=t=>yn.has(t),hu=(t,e,i,n)=>{let s=yn.get(t)?.[e];if(ee.isNullable(s)){const l=pu.get(t)??n;s=(l?yn.get(l):void 0)?.[e]}return ee.isNullable(s)?e+Object.values(i??{}).join(" "):i?s.replaceAll(/{(\w+?)}/g,(l,r)=>i[r]??""):s},K=(t,e)=>{const{interfaceLanguage$:i}=pt(),n=Ye(i),o=on();return hu(n,t,e,o.defaultLanguage)};var Uo;(function(t){t.fatal="fatal",t.error="error",t.warning="warning",t.log="log",t.info="info",t.debug="debug",t.critical="critical"})(Uo||(Uo={}));const Bc=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Nc=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,Rc=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Mo="?",Oc="X-Sentry-Auth",zc=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Dc(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=Bc.exec(i[s]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||Mo,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=Rc.exec(i[s]))o={filename:n[2],function:n[1]||Mo,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=Nc.exec(i[s]))s===0&&!n[5]&&t.columnNumber!==void 0&&(e[0].column=t.columnNumber+1),o={filename:n[3],function:n[1]||Mo,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=Mo),e.push(o)}return e.length?{value:gu(t),type:t.name,stacktrace:{frames:e.reverse()}}:null}function gu(t){return(t&&t.message||"No error message").split(`
14
+ `).filter(i=>!!i)[0]}function Fc(t){try{const e=Dc(t);if(e)return e}catch{}return{value:gu(t),type:t&&t.name,stacktrace:{frames:[]}}}function Hc(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,t=>{const e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}class Uc{constructor(e){if(e&&e.dsn){const i=zc.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:[Fc(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(Oc,this.authHeader||""),i.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:Hc(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function Zl(t,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(t):typeof e=="string"?t.indexOf(e)!==-1:!1}function qc(){return window}class bl extends Uc{constructor(e,i=qc()){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 bl({...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=>Zl(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=>Zl(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 Bo=null;class fl{sentrySubscription;options;version;context;sentryClient;constructor(e,i,n={}){!Bo&&e.dsn&&(this.sentryClient=new bl({dsn:e.dsn,environment:i.env}),this.version=i.version,this.sentrySubscription=new ee.Subscription,this.options=e,this.context=n,Bo=this)}destroy(){this.sentryClient?.destroy(),this.sentrySubscription?.unsubscribe(),Bo=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:_}=i;if(ee.isNonNullable(_)&&m.includes(_)||ee.isNonNullable(h)&&f.includes(h))return;if(Math.random()<=r||ee.isNonNullable(_)&&c.includes(_)||ee.isNonNullable(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?Uo.fatal:Uo.error),o.report(e)}catch(k){console.error(k)}}}static getInstance(){return Bo}}var so;(function(t){t.AUTO="auto"})(so||(so={}));var Re;(function(t){t.Thumb="thumb",t.Video="video",t.Ads="ads",t.Crashed="crashed",t.WaitingLive="waitingLive",t.WaitingRecord="waitingRecord"})(Re||(Re={}));var kn;(function(t){t.Preroll="preroll",t.Midroll="midroll",t.Postroll="postroll"})(kn||(kn={}));var Yt;(function(t){t.INACTIVE="inactive",t.PLAYING="playing",t.PAUSED="paused"})(Yt||(Yt={}));var Cn;(function(t){t[t.PictureInPicture=0]="PictureInPicture",t[t.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(Cn||(Cn={}));var Ge;(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"})(Ge||(Ge={}));var Fn;(function(t){t.FULL="FULL",t.COUNT="COUNT",t.SHORT="SHORT"})(Fn||(Fn={}));const bu=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()},_u=t=>t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():Promise.reject(),jc=t=>{const e=t;return e?.webkitExitFullscreen?e?.webkitExitFullscreen():Promise.reject()},ko=()=>{const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)},vu=t=>{document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),document.addEventListener("mozfullscreenchange",t),document.addEventListener("MSFullscreenChange",t)},wu=t=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",t),document.removeEventListener("mozfullscreenchange",t),document.removeEventListener("MSFullscreenChange",t)},Wc=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))},Zc=()=>({title:K("hotkey_map_modal_title"),closeBtnText:K("hotkey_map_modal_close_btn_text"),groups:[{title:K("hotkey_map_group_title_common"),items:[{description:K("hotkey_map_item_mute_description"),value:K("hotkey_map_item_mute_value")},{description:K("hotkey_map_item_volume_up_description"),value:K("hotkey_map_item_volume_up_value")},{description:K("hotkey_map_item_volume_down_description"),value:K("hotkey_map_item_volume_down_value")},{description:K("hotkey_map_item_pip_description"),value:K("hotkey_map_item_pip_value")},{description:K("hotkey_map_item_full_screen_description"),value:K("hotkey_map_item_full_screen_value")},{description:K("hotkey_map_item_show_hotkey_map_description"),value:K("hotkey_map_item_show_hotkey_map_value")}]},{title:K("hotkey_map_group_title_playback"),items:[{description:K("hotkey_map_item_play_toggle_description"),value:K("hotkey_map_item_play_toggle_value")},{description:K("hotkey_map_item_seek_backward_description"),value:K("hotkey_map_item_seek_backward_value")},{description:K("hotkey_map_item_seek_forward_description"),value:K("hotkey_map_item_seek_forward_value")},{description:K("hotkey_map_item_fast_seek_backward_description"),value:K("hotkey_map_item_fast_seek_backward_value")},{description:K("hotkey_map_item_fast_seek_forward_description"),value:K("hotkey_map_item_fast_seek_forward_value")},{description:K("hotkey_map_item_rate_down_description"),value:K("hotkey_map_item_rate_down_value")},{description:K("hotkey_map_item_rate_up_description"),value:K("hotkey_map_item_rate_up_value")},{description:K("hotkey_map_item_prev_frame_description"),value:K("hotkey_map_item_prev_frame_value")},{description:K("hotkey_map_item_next_frame_description"),value:K("hotkey_map_item_next_frame_value")},{description:K("hotkey_map_item_jump_seek_description"),value:K("hotkey_map_item_jump_seek_value")}]},{title:K("hotkey_map_group_title_subtitles"),items:[{description:K("hotkey_map_item_subtitles_toggle_description"),value:K("hotkey_map_item_subtitles_toggle_value")}]},{title:K("hotkey_map_group_title_episodes"),items:[{description:K("hotkey_map_item_prev_episode_description"),value:ee.isMacLike()?K("hotkey_map_item_prev_episode_mac_value"):K("hotkey_map_item_prev_episode_pc_value")},{description:K("hotkey_map_item_next_episode_description"),value:ee.isMacLike()?K("hotkey_map_item_next_episode_mac_value"):K("hotkey_map_item_next_episode_pc_value")}]}]});class _l{isRequested=!1;videoElement=void 0;playerContainer=void 0;playerDummyElement;svelteContext;externalEventHandlers={};eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:ee.debounceFn(this.onResize.bind(this),Ja)};info={isActive$:new ee.ValueSubject(this.isActive()),type:Cn.PictureInPicture};isSupported(){const e=ee.getCurrentBrowser().browser===ee.CurrentClientBrowser.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async request(){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 qo(t){return t instanceof _l}function Kc(t){const e=pt();return nn(()=>{e.getAdmanWrapper().startPostroll()}),[]}class Gc extends ke{constructor(e){super(),we(this,e,Kc,null,be,{})}}function Yc(t){He(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 Qc(t){let e=K("skip_ads_after",{time:Math.ceil(t[1]-t[0]).toFixed(0)})+"",i;return{c(){i=ze(e)},m(n,o){E(n,i,o)},p(n,o){o&3&&e!==(e=K("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&Xe(i,e)},d(n){n&&P(i)}}}function Xc(t){let e,i=K("skip_ads_now")+"",n,o,s,l,r,a;return{c(){e=T("div"),n=ze(i),o=O(),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=ge(e,"click",it(function(){mn(t[2])&&t[2].apply(this,arguments)})),r=!0)},p(c,f){t=c},d(c){c&&P(e),r=!1,a()}}}function Jc(t){let e;function i(s,l){return s[3]?Xc:Qc}let n=i(t),o=n(t);return{c(){e=T("div"),o.c(),u(e,"class","container v-22jj8o"),B(e,"container-mobile",t[4]),B(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&&B(e,"container-mobile",s[4]),l&8&&B(e,"skippable",s[3])},i:j,o:j,d(s){s&&P(e),o.d()}}}function xc(t,e,i){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:s=0}=e,{skipAd:l=ee.noop}=e;const a=pt().ui.isMobile;D(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 $c extends ke{constructor(e){super(),we(this,e,xc,Jc,be,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},Yc)}}function ef(t){He(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 tf(t){let e;return{c(){e=T("button"),e.textContent=`${K("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(i,n){E(i,e,n)},p:j,i:j,o:j,d(i){i&&P(e)}}}class nf extends ke{constructor(e){super(),we(this,e,null,tf,be,{},ef)}}function of(t){He(t,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
15
15
  360deg,
16
16
  rgba(0, 0, 0, 0) 0%,
17
17
  rgba(0, 0, 0, 0.05) 12%,
@@ -21,15 +21,15 @@
21
21
  rgba(0, 0, 0, 0.5) 77%,
22
22
  rgba(0, 0, 0, 0.55) 88%,
23
23
  rgba(0, 0, 0, 0.65) 100%
24
- )}`)}function ml(i){let e;return{c(){e=k("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function hl(i){let e,t;return e=new Uu({props:{position:i[5],secondsToWatchBeforeSkip:i[6],skipAd:i[8].actions.internal.skipAd}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&32&&(l.position=n[5]),o&64&&(l.secondsToWatchBeforeSkip=n[6]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function pl(i){let e,t;return e=new Bu({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function gl(i){let e,t;return e=new ju({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Gu(i){let e,t,n,o,l,s,a,r=i[0]&&ml(),c=i[3]&&hl(i),f=i[7]&&pl(),h=i[4]&&gl();return{c(){e=k("div"),r&&r.c(),t=R(),n=k("video"),o=R(),c&&c.c(),l=R(),f&&f.c(),s=R(),h&&h.c(),At(n,"width","100%"),At(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(g,v){C(g,e,v),r&&r.m(e,null),d(e,t),d(e,n),i[19](n),d(e,o),c&&c.m(e,null),d(e,l),f&&f.m(e,null),d(e,s),h&&h.m(e,null),i[20](e),a=!0},p(g,[v]){g[0]?r||(r=ml(),r.c(),r.m(e,t)):r&&(r.d(1),r=null),g[3]?c?(c.p(g,v),v&8&&m(c,1)):(c=hl(g),c.c(),m(c,1),c.m(e,l)):c&&(he(),p(c,1,1,()=>{c=null}),pe()),g[7]?f?v&128&&m(f,1):(f=pl(),f.c(),m(f,1),f.m(e,s)):f&&(he(),p(f,1,1,()=>{f=null}),pe()),g[4]?h?v&16&&m(h,1):(h=gl(),h.c(),m(h,1),h.m(e,null)):h&&(he(),p(h,1,1,()=>{h=null}),pe())},i(g){a||(m(c),m(f),m(h),a=!0)},o(g){p(c),p(f),p(h),a=!1},d(g){g&&y(e),r&&r.d(),i[19](null),c&&c.d(),f&&f.d(),h&&h.d(),i[20](null)}}}function Ku(i,e,t){let n,o,l,s,a,{adsSlotId:r=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:h=0}=e;const g=_t(),v=g.state.isEnded$;F(i,v,Z=>t(7,a=Z));const b=g.ui.isMobile;F(i,b,Z=>t(0,o=Z));let _,V,A=!1;const S=g.ads.playbackState;F(i,S,Z=>t(18,n=Z));const P=g.ads.canSkip,B=g.ads.position;F(i,B,Z=>t(5,l=Z));const W=g.ads.secondsToWatchBeforeSkip;F(i,W,Z=>t(6,s=Z));let X,j;Zi(()=>{const Z=new AbortController;let ie=()=>{Z.abort()};const G=g.getAdmanWrapper();if(!r){G.onAdmanLoadingError();return}const{width:J,height:ce}=Xe(g.ui.playerSize),w=Xe(g.ui.isFullscreen),le=Xe(g.ui.isAutoplay),de={width:J,height:ce,isFullscreen:w,isAutoplay:le,adsContainer:_,adsVideoElement:V,slotId:r,params:c,previewParam:f,duration:h};return window.AdmanHTML?(G.initAdman(de),A=!0):G.loadAdman(Z.signal).then(()=>{G.initAdman(de),A=!0}).catch(()=>{G.onAdmanLoadingError()}),()=>{!A&&ie()}});function T(Z){je[Z?"unshift":"push"](()=>{V=Z,t(2,V)})}function te(Z){je[Z?"unshift":"push"](()=>{_=Z,t(1,_)})}return i.$$set=Z=>{"adsSlotId"in Z&&t(14,r=Z.adsSlotId),"adsParams"in Z&&t(15,c=Z.adsParams),"adsPreviewParam"in Z&&t(16,f=Z.adsPreviewParam),"duration"in Z&&t(17,h=Z.duration)},i.$$.update=()=>{i.$$.dirty&262144&&t(3,X=P&&n!==Bt.INACTIVE),i.$$.dirty&262145&&t(4,j=o&&n!==Bt.INACTIVE)},[o,_,V,X,j,l,s,a,g,v,b,S,B,W,r,c,f,h,n,T,te]}class zr extends we{constructor(e){super(),ke(this,e,Ku,Gu,be,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},Zu)}}function Yu(i){Ue(i,"v-1f6baix",".annotations-container.v-1f6baix{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.annotations-container .annotations-layer > *{pointer-events:initial}.annotations-container.shifted.v-1f6baix{height:calc(100% - var(--controls-height) - var(--slider-height))}")}function Qu(i){let e;return{c(){e=k("div"),e.innerHTML="",u(e,"class","annotations-container v-1f6baix"),L(e,"shifted",i[0])},m(t,n){C(t,e,n),i[2](e)},p(t,[n]){n&1&&L(e,"shifted",t[0])},i:K,o:K,d(t){t&&y(e),i[2](null)}}}function Xu(i,e,t){let{showControls:n}=e,o;const s=_t().webApi.annotationsApi;Zi(()=>{if(s)return s.registryRootContainer(o),s.reattach(),()=>s.detach()});function a(r){je[r?"unshift":"push"](()=>{o=r,t(1,o)})}return i.$$set=r=>{"showControls"in r&&t(0,n=r.showControls)},[n,o,a]}class Or extends we{constructor(e){super(),ke(this,e,Xu,Qu,be,{showControls:0},Yu)}}const mn=i=>{if(!isFinite(i))return"00:00";let e=Math.round(i);const t=Math.floor(e/(60*60));e-=t*(60*60);const n=Math.floor(e/60);return e-=n*60,(t>0?[t,n,e]:[n,e]).map(l=>l>9?String(l):`0${l}`).join(":")};function Ju(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(t,"fill","none"),u(t,"stroke","#fff"),u(t,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(o,l){C(o,e,l),d(e,t),d(e,n)},d(o){o&&y(e)}}}function xu(i){let e,t,n;return{c(){e=I("svg"),t=I("rect"),n=I("path"),u(t,"width","42"),u(t,"height","20"),u(t,"rx","5"),u(t,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(o,l){C(o,e,l),d(e,t),d(e,n)},d(o){o&&y(e)}}}function $u(i){let e;function t(l,s){return l[0]?xu:Ju}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},m(l,s){o.m(l,s),C(l,e,s)},p(l,[s]){n!==(n=t(l))&&(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:K,o:K,d(l){l&&y(e),o.d(l)}}}function ec(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class Dr extends we{constructor(e){super(),ke(this,e,ec,$u,be,{isActive:0})}}function tc(i){Ue(i,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function ic(i){let e=mn(i[4]-i[3])+"",t;return{c(){t=Oe(e)},m(n,o){C(n,t,o)},p(n,o){o&24&&e!==(e=mn(n[4]-n[3])+"")&&xe(t,e)},i:K,o:K,d(n){n&&y(t)}}}function nc(i){let e,t,n;return t=new Dr({props:{isActive:!0}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function oc(i){let e,t,n,o,l,s,a;const r=[nc,ic],c=[];function f(h,g){return h[1]?0:1}return l=f(i),s=c[l]=r[l](i),{c(){e=k("div"),t=k("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=R(),o=k("span"),s.c(),u(t,"class","thumb-timer-equalizer v-7pnl2h"),u(o,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),L(e,"live",i[1]),L(e,"hidden",i[0]),L(e,"playing",i[2])},m(h,g){C(h,e,g),d(e,t),d(e,n),d(e,o),c[l].m(o,null),a=!0},p(h,[g]){let v=l;l=f(h),l===v?c[l].p(h,g):(he(),p(c[v],1,1,()=>{c[v]=null}),pe(),s=c[l],s?s.p(h,g):(s=c[l]=r[l](h),s.c()),m(s,1),s.m(o,null)),(!a||g&2)&&L(e,"live",h[1]),(!a||g&1)&&L(e,"hidden",h[0]),(!a||g&4)&&L(e,"playing",h[2])},i(h){a||(m(s),a=!0)},o(h){p(s),a=!1},d(h){h&&y(e),c[l].d()}}}function lc(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:l=!1}=e,{position:s}=e,{duration:a}=e;return i.$$set=r=>{"isHidden"in r&&t(0,n=r.isHidden),"isLive"in r&&t(1,o=r.isLive),"isPlaying"in r&&t(2,l=r.isPlaying),"position"in r&&t(3,s=r.position),"duration"in r&&t(4,a=r.duration)},[n,o,l,s,a]}class Hr extends we{constructor(e){super(),ke(this,e,lc,oc,be,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},tc)}}const Wo=i=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const e=document.createElement("textarea");e.textContent=i,e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}}};function sc(i){Ue(i,"v-gew86s","ul.v-gew86s{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-gew86s{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-gew86s:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function ac(i){let e,t=U("menu_copy_video_link")+"",n,o,l,s,a,r=!i[4]&&!i[16]&&bl(i);return{c(){e=k("li"),n=Oe(t),o=R(),r&&r.c(),l=ht(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",U("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){C(c,e,f),d(e,n),C(c,o,f),r&&r.m(c,f),C(c,l,f),s||(a=Ee(e,"click",ut(i[30])),s=!0)},p(c,f){!c[4]&&!c[16]?r?r.p(c,f):(r=bl(c),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(c){c&&(y(e),y(o),y(l)),r&&r.d(c),s=!1,a()}}}function bl(i){let e,t=U("menu_copy_video_link_with_timestamp")+"",n,o,l;return{c(){e=k("li"),n=Oe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",U("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),d(e,n),o||(l=Ee(e,"click",ut(i[31])),o=!0)},p:K,d(s){s&&y(e),o=!1,l()}}}function vl(i){let e,t=U("menu_pip")+"",n,o,l;return{c(){e=k("li"),n=Oe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",U("menu_pip")),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),d(e,n),o||(l=Ee(e,"click",ut(i[21])),o=!0)},p:K,d(s){s&&y(e),o=!1,l()}}}function rc(i){let e,t=U("menu_video_rotate")+"",n,o,l;return{c(){e=k("li"),n=Oe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",U("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),d(e,n),o||(l=Ee(e,"click",ut(i[17])),o=!0)},p:K,d(s){s&&y(e),o=!1,l()}}}function _l(i){let e,t=U("menu_report")+"",n,o,l;return{c(){e=k("li"),n=Oe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${U("menu_report")}. ${U("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),d(e,n),o||(l=Ee(e,"click",ut(i[18])),o=!0)},p:K,d(s){s&&y(e),o=!1,l()}}}function uc(i){let e,t,n,o,l,s,a=(i[9].features.saveDebugInfoToFile?U("menu_save_debug"):U("menu_copy_debug"))+"",r,c,f,h=U("menu_debug_overlay")+"",g,v,b,_,V=i[9].features.copyVideoLink&&i[8].callbacks?.onCopyVideoLink&&ac(i),A=i[11]&&i[5]!==Je.ChromecastState.CONNECTED&&!i[16]&&vl(i),S=i[9].features.videoRotate&&!i[16]&&rc(i),P=i[9].showSupport&&!i[6]&&_l(i);return{c(){e=k("ul"),V&&V.c(),t=R(),A&&A.c(),n=R(),S&&S.c(),o=R(),P&&P.c(),l=R(),s=k("li"),r=Oe(a),c=R(),f=k("li"),g=Oe(h),u(s,"tabindex","0"),u(s,"role","menuitem"),u(s,"aria-label",i[9].features.saveDebugInfoToFile?U("menu_save_debug"):U("menu_copy_debug")),u(s,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",v=i[7]?U("aria_label_menu_debug_overlay_disable"):U("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),At(e,"top",i[2]+"px"),At(e,"left",i[1]+"px"),u(e,"class","v-gew86s"),L(e,"hidden",!i[0])},m(B,W){C(B,e,W),V&&V.m(e,null),d(e,t),A&&A.m(e,null),d(e,n),S&&S.m(e,null),d(e,o),P&&P.m(e,null),d(e,l),d(e,s),d(s,r),d(e,c),d(e,f),d(f,g),i[32](e),b||(_=[Ee(s,"click",ut(i[19])),Ee(f,"click",ut(i[20])),Ee(e,"contextmenu",ci(i[29]))],b=!0)},p(B,W){B[9].features.copyVideoLink&&B[8].callbacks?.onCopyVideoLink&&V.p(B,W),B[11]&&B[5]!==Je.ChromecastState.CONNECTED&&!B[16]?A?A.p(B,W):(A=vl(B),A.c(),A.m(e,n)):A&&(A.d(1),A=null),B[9].features.videoRotate&&!B[16]&&S.p(B,W),B[9].showSupport&&!B[6]?P?P.p(B,W):(P=_l(B),P.c(),P.m(e,l)):P&&(P.d(1),P=null),W[0]&128&&v!==(v=B[7]?U("aria_label_menu_debug_overlay_disable"):U("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",v),W[0]&4&&At(e,"top",B[2]+"px"),W[0]&2&&At(e,"left",B[1]+"px"),W[0]&1&&L(e,"hidden",!B[0])},i:K,o:K,d(B){B&&y(e),V&&V.d(),A&&A.d(),S&&S.d(),P&&P.d(),i[32](null),b=!1,Xt(_)}}}function cc(i,e,t){let n,o,l,s,a,{visible:r=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:h=0}=e,{playerContainerRef:g=void 0}=e,{controlsContainerRef:v=void 0}=e,{returnFocus:b}=e,_=0,V=0;const A=_t(),S=Gi(),P=A.ui.contextMenuVisible,B=A.ui.debugPanelVisible;F(i,B,M=>t(7,a=M));const W=A.webApi.pictureInPictureApi,X=A.webApi.pictureInPictureApi?.info.isActive$;F(i,X,M=>t(6,s=M));const j=A.state.chromecastState$;F(i,j,M=>t(5,l=M));const T=A.state.isLive$;F(i,T,M=>t(4,o=M));const te=A.state.positionExact$;F(i,te,M=>t(33,n=M));const Z=A.state.isInteractive;let ie;const G=(M,Y)=>{if(!ie||!g||!v)return;const ge=ie.getBoundingClientRect(),ee=g.getBoundingClientRect();t(1,_=M-ee.left),t(2,V=Y-ee.top),_+ge.width>ee.width&&t(1,_=ee.width-ge.width),V+ge.height>ee.height&&t(2,V=ee.height-ge.height),t(1,_=Math.max(_,0)),t(2,V=Math.max(V,0))},J=()=>{P.set(!1),A.actions.internal.videoRotate()},ce=()=>{window.open(c,"_blank"),P.set(!1),A.actions.internal.pause()},w=()=>{const M=A.actions.internal.getDebugTextData();if(S.features.saveDebugInfoToFile){const Y=new Blob([...M],{type:"plain/text"}),ge=window.URL.createObjectURL(Y);pr(ge,"vk_player_debug_info","txt")}else Wo(A.actions.internal.getDebugTextData());P.set(!1),b?.()},le=()=>{B.set(!0),P.set(!1),b?.()},de=async()=>{try{W?.isActive()?await W?.remove():await W?.request()}finally{P.set(!1),b?.()}},_e=(M=!1)=>{if(A.callbacks?.onCopyVideoLink){const Y=A.callbacks?.onCopyVideoLink(M,n);Y&&Wo(Y)}P.set(!1)};function Ne(M){Wn.call(this,i,M)}const Le=()=>_e(),ye=()=>_e(!0);function H(M){je[M?"unshift":"push"](()=>{ie=M,t(3,ie)})}return i.$$set=M=>{"visible"in M&&t(0,r=M.visible),"supportLink"in M&&t(23,c=M.supportLink),"x"in M&&t(24,f=M.x),"y"in M&&t(25,h=M.y),"playerContainerRef"in M&&t(26,g=M.playerContainerRef),"controlsContainerRef"in M&&t(27,v=M.controlsContainerRef),"returnFocus"in M&&t(28,b=M.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&50331648&&G(f,h)},[r,_,V,ie,o,l,s,a,A,S,B,W,X,j,T,te,Z,J,ce,w,le,de,_e,c,f,h,g,v,b,Ne,Le,ye,H]}class fc extends we{constructor(e){super(),ke(this,e,cc,uc,be,{visible:0,supportLink:23,x:24,y:25,playerContainerRef:26,controlsContainerRef:27,returnFocus:28},sc,[-1,-1])}}class dc{value;next;constructor(e){this.value=e,this.next=null}}class Vo{top;bottom;size;maxSize;constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new dc(e);this.top?(this.top.next=t,this.top=t):(this.top=t,this.bottom=t),this.size++,this.size>this.maxSize&&this.bottom&&(this.bottom=this.bottom.next)}getValuesFromBottom(){const e=[];let t=this.bottom;for(;t;)e.push(t.value),t=t.next;return e}}function mc(i){Ue(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function hc(i){let e,t;return{c(){e=k("div"),t=k("canvas"),u(t,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,o){C(n,e,o),d(e,t),i[3](t)},p:K,i:K,o:K,d(n){n&&y(e),i[3](null)}}}const Io=16,Mo=120,kl=60;function pc(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function gc(i,e,t){let{values:n=[]}=e,o,l;const s=Mo/kl;Zi(()=>{t(0,o.width=Mo,o),t(0,o.height=Io,o),t(2,l=o.getContext("2d"))});function a(r){je[r?"unshift":"push"](()=>{o=r,t(0,o)})}return i.$$set=r=>{"values"in r&&t(1,n=r.values)},i.$$.update=()=>{if(i.$$.dirty&6&&l){let r=n[0];for(let f=1;f<n.length;f++)n[f]>r&&(r=n[f]);l.clearRect(0,0,Mo,Io);let c=kl-1;for(let f=n.length-1;f>=0;f--){const h=c*s,g=r>0?Io*(n[f]/r):0;pc(l,h,0,s,g),c--}}},[o,n,l,a]}class Yo extends we{constructor(e){super(),ke(this,e,gc,hc,be,{values:1},mc)}}function bc(i){Ue(i,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function wl(i){let e,t,n,o,l=i[0].id+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="Video id",n=R(),o=k("span"),s=Oe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].id+"")&&xe(s,l)},d(a){a&&y(e)}}}function yl(i){let e,t,n,o,l=i[0].provider+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="Provider",n=R(),o=k("span"),s=Oe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].provider+"")&&xe(s,l)},d(a){a&&y(e)}}}function Cl(i){let e,t,n,o,l=i[0].viewport+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="Viewport",n=R(),o=k("span"),s=Oe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].viewport+"")&&xe(s,l)},d(a){a&&y(e)}}}function Pl(i){let e,t,n,o,l=i[0].videoSize+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="Video size",n=R(),o=k("span"),s=Oe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].videoSize+"")&&xe(s,l)},d(a){a&&y(e)}}}function Sl(i){let e,t,n,o,l=i[0].cdn+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="CDN host",n=R(),o=k("span"),s=Oe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].cdn+"")&&xe(s,l)},d(a){a&&y(e)}}}function Tl(i){let e,t,n,o,l=i[0].volume+"",s,a;return{c(){e=k("div"),t=k("div"),t.textContent="Volume",n=R(),o=k("span"),s=Oe(l),a=Oe(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,c){C(r,e,c),d(e,t),d(e,n),d(e,o),d(o,s),d(o,a)},p(r,c){c&1&&l!==(l=r[0].volume+"")&&xe(s,l)},d(r){r&&y(e)}}}function Al(i){let e,t,n,o,l=i[0].buffer.toFixed(2)+"",s,a;return{c(){e=k("div"),t=k("div"),t.textContent="Buffer",n=R(),o=k("span"),s=Oe(l),a=Oe(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,c){C(r,e,c),d(e,t),d(e,n),d(e,o),d(o,s),d(o,a)},p(r,c){c&1&&l!==(l=r[0].buffer.toFixed(2)+"")&&xe(s,l)},d(r){r&&y(e)}}}function El(i){let e,t,n,o,l,s,a=i[0].speed.toFixed(2)+"",r,c,f;return o=new Yo({props:{values:i[5]}}),{c(){e=k("div"),t=k("div"),t.textContent="Network",n=R(),D(o.$$.fragment),l=R(),s=k("span"),r=Oe(a),c=Oe(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,g){C(h,e,g),d(e,t),d(e,n),z(o,e,null),d(e,l),d(e,s),d(s,r),d(s,c),f=!0},p(h,g){const v={};g&32&&(v.values=h[5]),o.$set(v),(!f||g&1)&&a!==(a=h[0].speed.toFixed(2)+"")&&xe(r,a)},i(h){f||(m(o.$$.fragment,h),f=!0)},o(h){p(o.$$.fragment,h),f=!1},d(h){h&&y(e),O(o)}}}function Ll(i){let e,t,n,o,l,s,a=i[0].bitrate.toFixed(2)+"",r,c,f;return o=new Yo({props:{values:i[6]}}),{c(){e=k("div"),t=k("div"),t.textContent="V bitrate",n=R(),D(o.$$.fragment),l=R(),s=k("span"),r=Oe(a),c=Oe(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,g){C(h,e,g),d(e,t),d(e,n),z(o,e,null),d(e,l),d(e,s),d(s,r),d(s,c),f=!0},p(h,g){const v={};g&64&&(v.values=h[6]),o.$set(v),(!f||g&1)&&a!==(a=h[0].bitrate.toFixed(2)+"")&&xe(r,a)},i(h){f||(m(o.$$.fragment,h),f=!0)},o(h){p(o.$$.fragment,h),f=!1},d(h){h&&y(e),O(o)}}}function vc(i){let e,t,n,o,l,s,a,r,c=i[0].version+"",f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z,ie,G,J,ce,w,le,de,_e,Ne,Le,ye,H,M,Y=i[0].id&&wl(i),ge=i[0].provider&&yl(i),ee=i[0].viewport&&Cl(i),N=i[0].videoSize&&Pl(i),Q=i[0].cdn&&Sl(i),Ie=i[0].volume&&Tl(i),Ce=i[0].buffer&&Al(i),Ae=i[0].speed&&El(i),x=i[0].bitrate&&Ll(i);return de=new Yo({props:{values:i[4]}}),{c(){e=k("div"),t=k("button"),t.textContent="[x]",n=R(),o=k("div"),l=k("div"),s=k("div"),s.textContent="Version",a=R(),r=k("span"),f=Oe(c),h=R(),Y&&Y.c(),g=R(),ge&&ge.c(),v=R(),ee&&ee.c(),b=R(),N&&N.c(),_=R(),Q&&Q.c(),V=R(),Ie&&Ie.c(),A=R(),Ce&&Ce.c(),S=R(),P=k("div"),B=k("div"),B.textContent="Dropped",W=R(),X=k("span"),j=Oe(i[2]),T=Oe(" / "),te=Oe(i[1]),Z=Oe(" frames"),ie=R(),Ae&&Ae.c(),G=R(),x&&x.c(),J=R(),ce=k("div"),w=k("div"),w.textContent="FPS",le=R(),D(de.$$.fragment),_e=R(),Ne=k("span"),Le=Oe(i[3]),u(t,"class","close v-1gy2e68"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(s,"class","v-1gy2e68"),u(l,"class","v-1gy2e68"),u(B,"class","v-1gy2e68"),u(P,"class","v-1gy2e68"),u(w,"class","v-1gy2e68"),u(ce,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),L(e,"container-mobile",i[7])},m(se,ve){C(se,e,ve),d(e,t),d(e,n),d(e,o),d(o,l),d(l,s),d(l,a),d(l,r),d(r,f),d(o,h),Y&&Y.m(o,null),d(o,g),ge&&ge.m(o,null),d(o,v),ee&&ee.m(o,null),d(o,b),N&&N.m(o,null),d(o,_),Q&&Q.m(o,null),d(o,V),Ie&&Ie.m(o,null),d(o,A),Ce&&Ce.m(o,null),d(o,S),d(o,P),d(P,B),d(P,W),d(P,X),d(X,j),d(X,T),d(X,te),d(X,Z),d(o,ie),Ae&&Ae.m(o,null),d(o,G),x&&x.m(o,null),d(o,J),d(o,ce),d(ce,w),d(ce,le),z(de,ce,null),d(ce,_e),d(ce,Ne),d(Ne,Le),ye=!0,H||(M=Ee(t,"click",ut(i[9])),H=!0)},p(se,[ve]){(!ye||ve&1)&&c!==(c=se[0].version+"")&&xe(f,c),se[0].id?Y?Y.p(se,ve):(Y=wl(se),Y.c(),Y.m(o,g)):Y&&(Y.d(1),Y=null),se[0].provider?ge?ge.p(se,ve):(ge=yl(se),ge.c(),ge.m(o,v)):ge&&(ge.d(1),ge=null),se[0].viewport?ee?ee.p(se,ve):(ee=Cl(se),ee.c(),ee.m(o,b)):ee&&(ee.d(1),ee=null),se[0].videoSize?N?N.p(se,ve):(N=Pl(se),N.c(),N.m(o,_)):N&&(N.d(1),N=null),se[0].cdn?Q?Q.p(se,ve):(Q=Sl(se),Q.c(),Q.m(o,V)):Q&&(Q.d(1),Q=null),se[0].volume?Ie?Ie.p(se,ve):(Ie=Tl(se),Ie.c(),Ie.m(o,A)):Ie&&(Ie.d(1),Ie=null),se[0].buffer?Ce?Ce.p(se,ve):(Ce=Al(se),Ce.c(),Ce.m(o,S)):Ce&&(Ce.d(1),Ce=null),(!ye||ve&4)&&xe(j,se[2]),(!ye||ve&2)&&xe(te,se[1]),se[0].speed?Ae?(Ae.p(se,ve),ve&1&&m(Ae,1)):(Ae=El(se),Ae.c(),m(Ae,1),Ae.m(o,G)):Ae&&(he(),p(Ae,1,1,()=>{Ae=null}),pe()),se[0].bitrate?x?(x.p(se,ve),ve&1&&m(x,1)):(x=Ll(se),x.c(),m(x,1),x.m(o,J)):x&&(he(),p(x,1,1,()=>{x=null}),pe());const re={};ve&16&&(re.values=se[4]),de.$set(re),(!ye||ve&8)&&xe(Le,se[3]),(!ye||ve&128)&&L(e,"container-mobile",se[7])},i(se){ye||(m(Ae),m(x),m(de.$$.fragment,se),ye=!0)},o(se){p(Ae),p(x),p(de.$$.fragment,se),ye=!1},d(se){se&&y(e),Y&&Y.d(),ge&&ge.d(),ee&&ee.d(),N&&N.d(),Q&&Q.d(),Ie&&Ie.d(),Ce&&Ce.d(),Ae&&Ae.d(),x&&x.d(),O(de),H=!1,M()}}}function _c(i,e,t){let n;const o=_t(),l=o.ui.debugPanelVisible,s=o.ui.isMobile;F(i,s,P=>t(7,n=P));const a=()=>{ne.safeStorage.remove(Uo),l.set(!1)};let r=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,h=0,g=0;const v=new Vo(60),b=new Vo(60),_=new Vo(60);let V=[],A=[],S=[];return Zi(()=>{ne.safeStorage.set(Uo,"true"),o.actions.internal.startLogging(),c&&(t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const P=window.setInterval(()=>{t(0,r=o.actions.internal.getDebugPanelData())},500);let B;return c&&(B=window.setInterval(()=>{if(c){t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames);const W=c.getVideoPlaybackQuality().totalVideoFrames;t(3,g=W-f),t(1,f=W),v.push(g),r.speed&&b.push(r.speed),r.bitrate&&_.push(r.bitrate),t(4,V=v.getValuesFromBottom()),t(5,A=b.getValuesFromBottom()),t(6,S=_.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(P),B&&clearInterval(B)}}),[r,f,h,g,V,A,S,n,s,a]}class Fr extends we{constructor(e){super(),ke(this,e,_c,vc,be,{},bc)}}function kc(i){Ue(i,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function wc(i){let e,t,n;return{c(){e=k("div"),u(e,"class","close v-1ome55p")},m(o,l){C(o,e,l),t||(n=Ee(e,"click",ut(i[0])),t=!0)},p:K,i:K,o:K,d(o){o&&y(e),t=!1,n()}}}function yc(i){function e(t){Wn.call(this,i,t)}return[e]}class Cc extends we{constructor(e){super(),ke(this,e,yc,wc,be,{},kc)}}function Pc(i){Ue(i,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
25
- }.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function Sc(i){let e,t,n,o,l,s,a;return{c(){e=k("div"),t=k("canvas"),n=R(),o=I("svg"),l=I("g"),s=I("g"),a=I("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(a,"class","_play"),u(a,"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(a,"fill","#fff"),u(s,"fill-rule","nonzero"),u(l,"fill","none"),u(l,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(r,c){C(r,e,c),d(e,t),i[2](t),d(e,n),d(e,o),d(o,l),d(l,s),d(s,a)},p:K,i:K,o:K,d(r){r&&y(e),i[2](null)}}}const Tc=5e3;function Ac(i,e,t){let{onTimerEnded:n=ne.noop}=e,o;Zi(()=>{let s;const a=o.getContext("2d");if(!a)return;a.lineWidth=6,a.lineCap="round",a.strokeStyle="#fff";const r=Date.now(),c=()=>{const f=(Date.now()-r)/Tc;f<1?(a.clearRect(0,0,100,100),a.beginPath(),a.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),a.stroke(),s=requestAnimationFrame(c)):n()};return s=requestAnimationFrame(c),()=>{cancelAnimationFrame(s)}});function l(s){je[s?"unshift":"push"](()=>{o=s,t(0,o)})}return i.$$set=s=>{"onTimerEnded"in s&&t(1,n=s.onTimerEnded)},[o,n,l]}class Ec extends we{constructor(e){super(),ke(this,e,Ac,Sc,be,{onTimerEnded:1},Pc)}}function Lc(i){Ue(i,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function Vl(i){let e,t;return e=new Ec({props:{onTimerEnded:i[2]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&4&&(l.onTimerEnded=n[2]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Vc(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W;a=new Cc({}),a.$on("click",i[4]);let X=i[3]&&Vl(i);return{c(){e=k("div"),t=R(),n=k("div"),o=k("div"),l=k("div"),l.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",s=R(),D(a.$$.fragment),r=R(),c=k("div"),f=k("div"),h=k("div"),g=k("div"),v=R(),X&&X.c(),_=R(),V=k("div"),A=k("div"),S=Oe(i[0]),u(e,"class","overlay v-kisfwc"),u(l,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(g,"class","thumb-overlay v-kisfwc"),u(h,"class","thumb v-kisfwc"),u(h,"style",b=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(A,"class","title v-kisfwc"),u(V,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(j,T){C(j,e,T),C(j,t,T),C(j,n,T),d(n,o),d(o,l),d(o,s),z(a,o,null),d(n,r),d(n,c),d(c,f),d(f,h),d(h,g),d(h,v),X&&X.m(h,null),d(c,_),d(c,V),d(V,A),d(A,S),P=!0,B||(W=Ee(c,"click",function(){hn(i[2])&&i[2].apply(this,arguments)}),B=!0)},p(j,[T]){i=j,i[3]?X?(X.p(i,T),T&8&&m(X,1)):(X=Vl(i),X.c(),m(X,1),X.m(h,null)):X&&(he(),p(X,1,1,()=>{X=null}),pe()),(!P||T&2&&b!==(b=`background-image: url('${i[1]}')`))&&u(h,"style",b),(!P||T&1)&&xe(S,i[0])},i(j){P||(m(a.$$.fragment,j),m(X),P=!0)},o(j){p(a.$$.fragment,j),p(X),P=!1},d(j){j&&(y(e),y(t),y(n)),O(a),X&&X.d(),B=!1,W()}}}function Ic(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:l}=e,s=!0;const a=()=>t(3,s=!1);return i.$$set=r=>{"title"in r&&t(0,n=r.title),"thumb"in r&&t(1,o=r.thumb),"playNextVideo"in r&&t(2,l=r.playNextVideo)},[n,o,l,s,a]}class Mc extends we{constructor(e){super(),ke(this,e,Ic,Vc,be,{title:0,thumb:1,playNextVideo:2},Lc)}}const Ur=(i,e)=>Math.min(+(i+e).toFixed(2),1),qr=(i,e)=>Math.max(+(i-e).toFixed(2),0),Wr=(i,e,t)=>{const n=Ur(e,t);e<1&&i.actions.internal.setVolume(n)},jr=(i,e,t)=>{const n=qr(e,t);e>0&&i.actions.internal.setVolume(n)};function Nc(i){Ue(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function Rc(i){let e,t,n,o;const l=i[21].default,s=pn(l,i,i[20],null);return{c(){e=k("div"),s&&s.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(a,r){C(a,e,r),s&&s.m(e,null),i[22](e),t=!0,n||(o=[Ee(e,"keyup",i[12]),Ee(e,"keydown",i[11])],n=!0)},p(a,r){s&&s.p&&(!t||r[0]&1048576)&&bn(s,l,a,a[20],t?gn(l,a[20],r,null):vn(a[20]),null)},i(a){t||(m(s,a),t=!0)},o(a){p(s,a),t=!1},d(a){a&&y(e),s&&s.d(a),i[22](null),n=!1,Xt(o)}}}function Bc(i,e,t){let n,o,l,s,a,r,c,f,h,g,{$$slots:v={},$$scope:b}=e,{isAds:_}=e,{hideContextMenu:V}=e,{toggleFullscreen:A}=e,{showHotKeyHelpers:S}=e,{showKeyMap:P}=e,{fakePlayButtonHandler:B}=e;const W=_t(),X=Gi(),j=W.getLogger().createComponentLog("KeyboardControls component"),T=W.state.playbackState$;F(i,T,ee=>t(26,o=ee));const te=W.ads.playbackState;F(i,te,ee=>t(25,n=ee));const Z=W.state.positionExact$;F(i,Z,ee=>t(31,c=ee));const ie=W.state.duration$;F(i,ie,ee=>t(30,r=ee));const G=W.state.volume$;F(i,G,ee=>t(34,g=ee));const J=W.ui.controls.disabledControls$;F(i,J,ee=>t(29,a=ee));const ce=W.state.muted$;F(i,ce,ee=>t(28,s=ee));const w=W.state.currentSubtitle$;F(i,w,ee=>t(27,l=ee));const le=W.state.currentPlaybackRate$;F(i,le,ee=>t(32,f=ee));const de=W.state.availablePlaybackRates$;F(i,de,ee=>t(33,h=ee));let _e=0,Ne=!0,Le;const ye=()=>Le?.focus(),H=ee=>(ee!==Ne&&(Ne=ee,_e=0),_e+=1,(X.controls.seekStepKeyboard+X.controls.seekStepKeyboard*_e)/1e3),M=ee=>{V();const N=ee.code,Q=!ou.has(N);if(ee.ctrlKey&&Q||ee.altKey&&Q||ee.metaKey)return;const Ie=o===Je.PlaybackState.PLAYING||o===Je.PlaybackState.PAUSED,Ce=_&&(n===Bt.PAUSED||n===Bt.PLAYING),Ae=!Ce&&!a.has(ft.TIMELINE);if(Ie||Ce)switch(j({message:`key down, code: ${N}`}),N){case Fe.KeyJ:case Fe.ArrowLeft:{if(!Ae)break;if(ee.ctrlKey||ee.altKey){const x=W.actions.internal.getPrevEpisode();W.actions.internal.seekToPrevEpisode(x),x&&S({type:Ge.EPISODE_PREV,text:x.text}),ee.preventDefault()}else{const x=ee.shiftKey?H(!1):X.controls.seekStepKeyboard/1e3,se=Math.max(c-x,0);c>0&&(W.actions.internal.seekTime(se,pt.SeekAction.DOUBLE_TAP),S({type:Ge.BACKWARD_SEEK,text:x.toString()}),ee.preventDefault())}break}case Fe.KeyL:case Fe.ArrowRight:{if(!Ae)break;if(ee.ctrlKey||ee.altKey){const x=W.actions.internal.getNextEpisode();W.actions.internal.seekToNextEpisode(x),x&&S({type:Ge.EPISODE_NEXT,text:x.text}),ee.preventDefault()}else{const x=ee.shiftKey?H(!0):X.controls.seekStepKeyboard/1e3,se=Math.min(c+x,r);Math.round(c)<Math.round(r)&&(W.actions.internal.seekTime(se,pt.SeekAction.DOUBLE_TAP),S({type:Ge.FORWARD_SEEK,text:x.toString()}),ee.preventDefault())}break}case Fe.ArrowUp:{const x=g,se=X.controls.volumeStepKeyboard,ve=x<=1;if(Wr(W,x,se),ve){const re=Math.round(Ur(x,se)*100).toString();S({type:Ge.VOLUME,t:{key:"hotkey_helper_current_volume",value:re}})}ee.preventDefault();break}case Fe.ArrowDown:{const x=g,se=X.controls.volumeStepKeyboard,ve=x>=0;if(jr(W,x,se),ve){const re=Math.round(qr(x,se)*100).toString();S({type:Ge.VOLUME,t:{key:"hotkey_helper_current_volume",value:re}})}ee.preventDefault();break}case Fe.Comma:{if(ee.shiftKey){W.actions.internal.decrementPlaybackRate();const x=h.find(se=>se.value===f);S({type:Ge.RATE_DOWN,text:x?.displayValue}),ee.preventDefault()}else{if(Ce||o!==Je.PlaybackState.PAUSED)break;const x=Math.max(c-X.controls.seekStepFrame/1e3,0);c>0&&(S({type:Ge.BACKWARD_SEEK}),W.actions.internal.clearDelayedBufferingCheckTimeout(),W.actions.internal.seekTime(x,pt.SeekAction.DOUBLE_TAP),ee.preventDefault())}break}case Fe.Period:{if(ee.shiftKey){W.actions.internal.incrementPlaybackRate();const x=h.find(se=>se.value===f);S({type:Ge.RATE_UP,text:x?.displayValue}),ee.preventDefault()}else{if(Ce||o!==Je.PlaybackState.PAUSED)break;const x=Math.min(c+X.controls.seekStepFrame/1e3,r);c<r&&(S({type:Ge.FORWARD_SEEK}),W.actions.internal.clearDelayedBufferingCheckTimeout(),W.actions.internal.seekTime(x,pt.SeekAction.DOUBLE_TAP),ee.preventDefault())}break}case Fe.KeyK:case Fe.Space:a.has(ft.PLAY_BUTTON)||(B?B():(W.actions.internal.togglePlay(),S({type:o===Je.PlaybackState.PLAYING?Ge.PLAY:Ge.STOP}))),ee.preventDefault();break;case Fe.KeyM:{S({type:s?Ge.VOLUME:Ge.MUTE}),W.actions.internal.toggleMuted(),ee.preventDefault();break}case Fe.KeyF:A(),ee.preventDefault();break;case Fe.KeyC:W.actions.internal.toggleSubtitle(),l.value!=="off"?S({type:Ge.SUBTITLES_ON,text:l?.displayValue}):S({type:Ge.SUBTITLES_OFF}),ee.preventDefault();break;case Fe.KeyI:W.actions.internal.togglePictureInPicture(),ee.preventDefault();break;case Fe.Digit1:case Fe.Numpad1:S(),W.actions.internal.seekToPercent(.1,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit2:case Fe.Numpad2:S(),W.actions.internal.seekToPercent(.2,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit3:case Fe.Numpad3:S(),W.actions.internal.seekToPercent(.3,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit4:case Fe.Numpad4:S(),W.actions.internal.seekToPercent(.4,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit5:case Fe.Numpad5:S(),W.actions.internal.seekToPercent(.5,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit6:case Fe.Numpad6:S(),W.actions.internal.seekToPercent(.6,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit7:case Fe.Numpad7:S(),W.actions.internal.seekToPercent(.7,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit8:case Fe.Numpad8:S(),W.actions.internal.seekToPercent(.8,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit9:case Fe.Numpad9:S(),W.actions.internal.seekToPercent(.9,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit0:case Fe.Numpad0:S(),W.actions.internal.seekToPercent(0,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Slash:{ee.shiftKey&&X.features.hotKeyMapModal&&(P(),ee.preventDefault());break}case Fe.ShiftLeft:case Fe.ShiftRight:ee.preventDefault();break;default:ne.checkNever(N);break}},Y=ee=>{const N=ee.code;if(ee.ctrlKey||ee.altKey||ee.metaKey)return;const Q=o===Je.PlaybackState.PLAYING||o===Je.PlaybackState.PAUSED,Ie=_&&(n===Bt.PAUSED||n===Bt.PLAYING);if(Q||Ie)switch(N){case Fe.ShiftLeft:case Fe.ShiftRight:_e=0;break}};function ge(ee){je[ee?"unshift":"push"](()=>{Le=ee,t(0,Le)})}return i.$$set=ee=>{"isAds"in ee&&t(13,_=ee.isAds),"hideContextMenu"in ee&&t(14,V=ee.hideContextMenu),"toggleFullscreen"in ee&&t(15,A=ee.toggleFullscreen),"showHotKeyHelpers"in ee&&t(16,S=ee.showHotKeyHelpers),"showKeyMap"in ee&&t(17,P=ee.showKeyMap),"fakePlayButtonHandler"in ee&&t(18,B=ee.fakePlayButtonHandler),"$$scope"in ee&&t(20,b=ee.$$scope)},[Le,T,te,Z,ie,G,J,ce,w,le,de,M,Y,_,V,A,S,P,B,ye,b,v,ge]}class zc extends we{constructor(e){super(),ke(this,e,Bc,Rc,be,{isAds:13,hideContextMenu:14,toggleFullscreen:15,showHotKeyHelpers:16,showKeyMap:17,fakePlayButtonHandler:18,focus:19},Nc,[-1,-1])}get focus(){return this.$$.ctx[19]}}function Oc(i){Ue(i,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function Dc(i){let e;return{c(){e=k("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(t,n){C(t,e,n)},p:K,i:K,o:K,d(t){t&&y(e)}}}class Zr extends we{constructor(e){super(),ke(this,e,null,Dc,be,{},Oc)}}function Hc(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),a=I("feFlood"),r=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),g=I("feBlend"),v=I("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(a,"flood-opacity","0"),u(a,"result","BackgroundImageFix"),u(r,"in","SourceAlpha"),u(r,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(r,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2422_111980"),u(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2422_111980"),u(v,"result","shape"),u(s,"id","a"),u(s,"x",".5"),u(s,"y",".5"),u(s,"width","23"),u(s,"height","23"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(b,_){C(b,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(s,r),d(s,c),d(s,f),d(s,h),d(s,g),d(s,v)},p:K,i:K,o:K,d(b){b&&y(e)}}}class Fc extends we{constructor(e){super(),ke(this,e,null,Hc,be,{})}}function Uc(i){Ue(i,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function qc(i){let e,t,n,o,l,s,a,r,c,f,h;const g=i[9].default,v=pn(g,i,i[8],null);return{c(){e=k("button"),v&&v.c(),u(e,"class",t="btn "+i[0]+" v-1anemql"),u(e,"style",n=i[1]||null),e.disabled=o=i[2]??null,u(e,"aria-hidden",l=i[4]??null),u(e,"aria-label",s=i[5]??null),u(e,"aria-keyshortcuts",a=i[6]??null),u(e,"data-testid",r=i[3]??null)},m(b,_){C(b,e,_),v&&v.m(e,null),c=!0,f||(h=[Ee(e,"pointerdown",ut(ci(i[10]))),Ee(e,"click",ut(ci(function(){hn(i[7])&&i[7].apply(this,arguments)})))],f=!0)},p(b,[_]){i=b,v&&v.p&&(!c||_&256)&&bn(v,g,i,i[8],c?gn(g,i[8],_,null):vn(i[8]),null),(!c||_&1&&t!==(t="btn "+i[0]+" v-1anemql"))&&u(e,"class",t),(!c||_&2&&n!==(n=i[1]||null))&&u(e,"style",n),(!c||_&4&&o!==(o=i[2]??null))&&(e.disabled=o),(!c||_&16&&l!==(l=i[4]??null))&&u(e,"aria-hidden",l),(!c||_&32&&s!==(s=i[5]??null))&&u(e,"aria-label",s),(!c||_&64&&a!==(a=i[6]??null))&&u(e,"aria-keyshortcuts",a),(!c||_&8&&r!==(r=i[3]??null))&&u(e,"data-testid",r)},i(b){c||(m(v,b),c=!0)},o(b){p(v,b),c=!1},d(b){b&&y(e),v&&v.d(b),f=!1,Xt(h)}}}function Wc(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:l=""}=e,{style:s=""}=e,{disabled:a=void 0}=e,{testId:r=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{click:g=ne.noop}=e;function v(b){Wn.call(this,i,b)}return i.$$set=b=>{"className"in b&&t(0,l=b.className),"style"in b&&t(1,s=b.style),"disabled"in b&&t(2,a=b.disabled),"testId"in b&&t(3,r=b.testId),"ariaHidden"in b&&t(4,c=b.ariaHidden),"ariaLabel"in b&&t(5,f=b.ariaLabel),"ariaKeyShortCut"in b&&t(6,h=b.ariaKeyShortCut),"click"in b&&t(7,g=b.click),"$$scope"in b&&t(8,o=b.$$scope)},[l,s,a,r,c,f,h,g,o,n,v]}class fi extends we{constructor(e){super(),ke(this,e,Wc,qc,be,{className:0,style:1,disabled:2,testId:3,ariaHidden:4,ariaLabel:5,ariaKeyShortCut:6,click:7},Uc)}}function jc(i){Ue(i,"v-1witlsj",".modal-overlay.v-1witlsj{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-1witlsj{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-1witlsj{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-1witlsj{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-1witlsj{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-1witlsj::-webkit-scrollbar{width:8px}.modal-scroll.v-1witlsj::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-1witlsj{margin:-8px -4px 0 0}")}function Il(i){let e,t,n,o,l,s=i[2]&&Ml(i);return{c(){e=k("div"),t=k("h3"),n=Oe(i[3]),o=R(),s&&s.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(a,r){C(a,e,r),d(e,t),d(t,n),d(e,o),s&&s.m(e,null),l=!0},p(a,r){(!l||r&8)&&xe(n,a[3]),a[2]?s?(s.p(a,r),r&4&&m(s,1)):(s=Ml(a),s.c(),m(s,1),s.m(e,null)):s&&(he(),p(s,1,1,()=>{s=null}),pe())},i(a){l||(m(s),l=!0)},o(a){p(s),l=!1},d(a){a&&y(e),s&&s.d()}}}function Ml(i){let e,t;return e=new fi({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:U("hotkey_map_modal_close_btn_text"),$$slots:{default:[Zc]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.click=n[0]),o&32&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Zc(i){let e,t;return e=new Fc({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Gc(i){let e,t,n,o,l,s,a=i[1]&&Il(i);const r=i[4].default,c=pn(r,i,i[5],null);return{c(){e=k("div"),t=k("div"),a&&a.c(),n=R(),o=k("div"),l=k("div"),c&&c.c(),u(l,"class","modal-main v-1witlsj"),u(o,"class","modal-scroll v-1witlsj"),u(t,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,h){C(f,e,h),d(e,t),a&&a.m(t,null),d(t,n),d(t,o),d(o,l),c&&c.m(l,null),s=!0},p(f,[h]){f[1]?a?(a.p(f,h),h&2&&m(a,1)):(a=Il(f),a.c(),m(a,1),a.m(t,n)):a&&(he(),p(a,1,1,()=>{a=null}),pe()),c&&c.p&&(!s||h&32)&&bn(c,r,f,f[5],s?gn(r,f[5],h,null):vn(f[5]),null)},i(f){s||(m(a),m(c,f),s=!0)},o(f){p(a),p(c,f),s=!1},d(f){f&&y(e),a&&a.d(),c&&c.d(f)}}}function Kc(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:l}=e,{showHeader:s=!0}=e,{showCloseCross:a=!0}=e,{title:r}=e;return i.$$set=c=>{"onClose"in c&&t(0,l=c.onClose),"showHeader"in c&&t(1,s=c.showHeader),"showCloseCross"in c&&t(2,a=c.showCloseCross),"title"in c&&t(3,r=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[l,s,a,r,n,o]}class Yc extends we{constructor(e){super(),ke(this,e,Kc,Gc,be,{onClose:0,showHeader:1,showCloseCross:2,title:3},jc)}}const Qc=new Set(["BR"]),Nl=i=>{const e=document.createElement("DIV");e.innerHTML=i;const t=e.querySelectorAll("*");let n=t.length;for(;n--;){const o=t[n],l=o.tagName;Qc.has(l)||o.parentElement?.removeChild(o)}return e.innerHTML};function Xc(i){Ue(i,"v-quklnq",".hot-key-map.v-quklnq{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-quklnq{border-bottom:1px solid var(--white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-quklnq:last-child{border-bottom:none}.hot-key-map-group-title.v-quklnq{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-quklnq,.hot-key-map-item.v-quklnq{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-quklnq{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-quklnq{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-quklnq{color:var(--white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-quklnq{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-quklnq,.hot-key-map-item-value.v-quklnq{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function Rl(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function Bl(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function zl(i){let e,t,n=Nl(i[9])+"",o,l,s=i[10]+"",a,r;return{c(){e=k("li"),t=k("span"),o=R(),l=k("span"),a=Oe(s),r=R(),u(t,"class","hot-key-map-item-description v-quklnq"),u(l,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){C(c,e,f),d(e,t),t.innerHTML=n,d(e,o),d(e,l),d(l,a),d(e,r)},p(c,f){f&1&&n!==(n=Nl(c[9])+"")&&(t.innerHTML=n),f&1&&s!==(s=c[10]+"")&&xe(a,s)},d(c){c&&y(e)}}}function Ol(i){let e,t,n=i[5]+"",o,l,s,a,r=Vt(i[6]),c=[];for(let f=0;f<r.length;f+=1)c[f]=zl(Bl(i,r,f));return{c(){e=k("div"),t=k("h5"),o=Oe(n),l=R(),s=k("ul");for(let f=0;f<c.length;f+=1)c[f].c();a=R(),u(t,"class","hot-key-map-group-title v-quklnq"),u(s,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,h){C(f,e,h),d(e,t),d(t,o),d(e,l),d(e,s);for(let g=0;g<c.length;g+=1)c[g]&&c[g].m(s,null);d(e,a)},p(f,h){if(h&1&&n!==(n=f[5]+"")&&xe(o,n),h&1){r=Vt(f[6]);let g;for(g=0;g<r.length;g+=1){const v=Bl(f,r,g);c[g]?c[g].p(v,h):(c[g]=zl(v),c[g].c(),c[g].m(s,null))}for(;g<c.length;g+=1)c[g].d(1);c.length=r.length}},d(f){f&&y(e),tn(c,f)}}}function Jc(i){let e,t=Vt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=Ol(Rl(i,t,o));return{c(){e=k("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,l){C(o,e,l);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(e,null)},p(o,l){if(l&1){t=Vt(o[0].groups);let s;for(s=0;s<t.length;s+=1){const a=Rl(o,t,s);n[s]?n[s].p(a,l):(n[s]=Ol(a),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(o){o&&y(e),tn(n,o)}}}function xc(i){let e,t;return e=new Yc({props:{title:i[0].title,onClose:i[2],$$slots:{default:[Jc]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.title=n[0].title),o&8193&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function $c(i,e,t){let n;const o=_t(),{data:l,show:s}=o.ui.modals.hotKeyMap;return F(i,l,r=>t(0,n=r)),[n,l,()=>{s.set(!1)}]}class ef extends we{constructor(e){super(),ke(this,e,$c,xc,be,{},Xc)}}function tf(i){Ue(i,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function nf(i){let e,t;const n=i[1].default,o=pn(n,i,i[0],null);return{c(){e=k("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(l,s){C(l,e,s),o&&o.m(e,null),t=!0},p(l,[s]){o&&o.p&&(!t||s&1)&&bn(o,n,l,l[0],t?gn(n,l[0],s,null):vn(l[0]),null)},i(l){t||(m(o,l),t=!0)},o(l){p(o,l),t=!1},d(l){l&&y(e),o&&o.d(l)}}}function of(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=l=>{"$$scope"in l&&t(0,o=l.$$scope)},[o,n]}class lf extends we{constructor(e){super(),ke(this,e,of,nf,be,{},tf)}}function sf(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){C(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class af extends we{constructor(e){super(),ke(this,e,null,sf,be,{})}}function rf(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){C(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class uf extends we{constructor(e){super(),ke(this,e,null,rf,be,{})}}function cf(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class ff extends we{constructor(e){super(),ke(this,e,null,cf,be,{})}}function df(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Gr extends we{constructor(e){super(),ke(this,e,null,df,be,{})}}function mf(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){C(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class Kr extends we{constructor(e){super(),ke(this,e,null,mf,be,{})}}const Gn=i=>{switch(i){case Je.VideoQuality.Q_720P:return ff;case Je.VideoQuality.Q_1080P:return Gr;case Je.VideoQuality.Q_1440P:return Kr;case Je.VideoQuality.Q_2160P:return af;case Je.VideoQuality.Q_4320P:return uf}};function hf(i){Ue(i,"v-1fzhlx0",".icon.v-1fzhlx0{display:flex;position:relative;width:24px;height:24px}.icon.v-1fzhlx0 .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-1fzhlx0 .pillow{right:-13px}")}function pf(i){let e,t,n,o,l,s,a=i[1]&&Dl(i);return{c(){e=k("div"),a&&a.c(),t=R(),n=I("svg"),o=I("path"),l=I("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(l,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(l,"fill","#fff"),L(l,"hidden",!!i[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-1fzhlx0"),u(e,"aria-hidden","true"),L(e,"triple",i[2])},m(r,c){C(r,e,c),a&&a.m(e,null),d(e,t),d(e,n),d(n,o),d(n,l),s=!0},p(r,c){r[1]?a?(a.p(r,c),c&2&&m(a,1)):(a=Dl(r),a.c(),m(a,1),a.m(e,t)):a&&(he(),p(a,1,1,()=>{a=null}),pe()),(!s||c&2)&&L(l,"hidden",!!r[1]),(!s||c&4)&&L(e,"triple",r[2])},i(r){s||(m(a),s=!0)},o(r){p(a),s=!1},d(r){r&&y(e),a&&a.d()}}}function gf(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}function Dl(i){let e,t;return e=new lf({props:{$$slots:{default:[bf]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&18&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function bf(i){let e,t,n;var o=i[1];function l(s){return{}}return o&&(e=ln(o,l())),{c(){e&&D(e.$$.fragment),t=ht()},m(s,a){e&&z(e,s,a),C(s,t,a),n=!0},p(s,a){if(a&2&&o!==(o=s[1])){if(e){he();const r=e;p(r.$$.fragment,1,0,()=>{O(r,1)}),pe()}o?(e=ln(o,l()),D(e.$$.fragment),m(e.$$.fragment,1),z(e,t.parentNode,t)):e=null}},i(s){n||(e&&m(e.$$.fragment,s),n=!0)},o(s){e&&p(e.$$.fragment,s),n=!1},d(s){s&&y(t),e&&O(e,s)}}}function vf(i){let e,t,n,o;const l=[gf,pf],s=[];function a(r,c){return r[0]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,[c]){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function _f(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:l=void 0}=e,s;return i.$$set=a=>{"isMobile"in a&&t(0,o=a.isMobile),"currentQuality"in a&&t(3,l=a.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=Gn(l)),i.$$.dirty&2&&t(2,s=!!n&&[Gr,Kr].includes(n))},[o,n,s,l]}class Yr extends we{constructor(e){super(),ke(this,e,_f,vf,be,{isMobile:0,currentQuality:3},hf)}}function kf(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Qr extends we{constructor(e){super(),ke(this,e,null,kf,be,{})}}function wf(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(t,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class yf extends we{constructor(e){super(),ke(this,e,null,wf,be,{})}}function Cf(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(t,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Pf extends we{constructor(e){super(),ke(this,e,null,Cf,be,{})}}function Sf(i){let e,t,n,o;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(l,s){C(l,e,s),d(e,t),d(t,n),d(t,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class Tf extends we{constructor(e){super(),ke(this,e,null,Sf,be,{})}}function Af(i){Ue(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function Ef(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),u(t,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(t,"fill",i[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),L(e,"reverted",i[2])},m(o,l){C(o,e,l),d(e,t)},p(o,l){l&1&&u(t,"fill",o[0]),l&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),l&4&&L(e,"reverted",o[2])},d(o){o&&y(e)}}}function Lf(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(t,"fill",i[0]),u(t,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),L(e,"reverted",i[2])},m(o,l){C(o,e,l),d(e,t)},p(o,l){l&1&&u(t,"fill",o[0]),l&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),l&4&&L(e,"reverted",o[2])},d(o){o&&y(e)}}}function Vf(i){let e;function t(l,s){return l[1]?Lf:Ef}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},m(l,s){o.m(l,s),C(l,e,s)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:K,o:K,d(l){l&&y(e),o.d(l)}}}function If(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,l,s;return i.$$set=a=>{"direction"in a&&t(3,n=a.direction),"color"in a&&t(0,o=a.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,l=["up","down"].includes(n)),t(2,s=["right","down"].includes(n)))},[o,l,s,n]}class yn extends we{constructor(e){super(),ke(this,e,If,Vf,be,{direction:3,color:0},Af)}}function Mf(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Nf extends we{constructor(e){super(),ke(this,e,null,Mf,be,{})}}function Rf(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(t,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class so extends we{constructor(e){super(),ke(this,e,null,Rf,be,{})}}function Bf(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class zf extends we{constructor(e){super(),ke(this,e,null,Bf,be,{})}}function Of(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Df extends we{constructor(e){super(),ke(this,e,null,Of,be,{})}}function Hf(i){Ue(i,"v-79x8pk","ul.v-79x8pk.v-79x8pk{margin:0;padding:0}.menu.v-79x8pk.v-79x8pk{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s;overflow:hidden}.container-mobile.v-79x8pk.v-79x8pk{width:100%}.menu-desktop.v-79x8pk.v-79x8pk{position:absolute;right:0;bottom:0}.menu-mobile.v-79x8pk.v-79x8pk{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-79x8pk.v-79x8pk{display:none}.menu-subList.v-79x8pk.v-79x8pk{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-79x8pk.v-79x8pk{min-width:164px}.menu-subList-traffic-saving.v-79x8pk.v-79x8pk{min-width:286px}.item.v-79x8pk.v-79x8pk{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-79x8pk.v-79x8pk{padding:0 14px}.item-quality.item-mobile.v-79x8pk.v-79x8pk,.item-traffic-saving.item-mobile.v-79x8pk.v-79x8pk,.item-helper-text.item-mobile.v-79x8pk.v-79x8pk{flex-direction:row-reverse}.item-helper-text.v-79x8pk.v-79x8pk{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-79x8pk span.v-79x8pk{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-79x8pk.v-79x8pk{padding:7px 14px}.item-helper-text.item-mobile.v-79x8pk span.v-79x8pk{text-align:start}.quality-title-mobile.v-79x8pk.v-79x8pk{flex-grow:1}.item.v-79x8pk.v-79x8pk:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-79x8pk.v-79x8pk:hover{background:var(--mobile-settings-bg)}.menu-subList.v-79x8pk .item.v-79x8pk{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-79x8pk .item.v-79x8pk:last-child{margin-bottom:4px}.menu-icon-wrapper.v-79x8pk.v-79x8pk{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-79x8pk.v-79x8pk{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-79x8pk.v-79x8pk{position:relative;opacity:0.7}.menu-valueIcon.v-79x8pk.v-79x8pk{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-79x8pk.v-79x8pk{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-79x8pk svg,.menu-valueIcon-list.v-79x8pk svg{color:var(--blue-light)}.menu-divider.v-79x8pk.v-79x8pk{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-79x8pk.v-79x8pk{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-79x8pk.v-79x8pk{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar{width:8px}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-79x8pk.v-79x8pk{overflow-y:auto;max-height:160px;text-align:left}.close.v-79x8pk.v-79x8pk{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-79x8pk.v-79x8pk:before,.close.v-79x8pk.v-79x8pk:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-79x8pk.v-79x8pk:before{transform:rotate(45deg)}.close.v-79x8pk.v-79x8pk:after{transform:rotate(-45deg)}")}function Hl(i,e,t){const n=i.slice();return n[87]=e[t],n}function Fl(i,e,t){const n=i.slice();return n[90]=e[t],n}function Ul(i,e,t){const n=i.slice();return n[93]=e[t],n}function ql(i){let e,t,n,o,l,s,a,r;return{c(){e=k("div"),t=k("div"),t.textContent=`${U("submenu_settings")}`,n=R(),o=k("div"),l=R(),s=k("div"),u(o,"class","close v-79x8pk"),u(e,"class","item menu-header v-79x8pk"),L(e,"item-mobile",i[7]),u(s,"class","menu-divider v-79x8pk")},m(c,f){C(c,e,f),d(e,t),d(e,n),d(e,o),C(c,l,f),C(c,s,f),a||(r=Ee(o,"click",ut(i[49])),a=!0)},p(c,f){f[0]&128&&L(e,"item-mobile",c[7])},d(c){c&&(y(e),y(l),y(s)),a=!1,r()}}}function Wl(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;n=new Yr({});let b=i[27]&&!i[7]&&jl(i);return{c(){e=k("li"),t=k("div"),D(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${U("menu_quality")}`,s=R(),a=k("div"),r=Oe(i[15]),c=R(),b&&b.c(),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(a,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=U("aria_label_menu_quality",{actual:i[25]})),u(e,"aria-haspopup","true"),L(e,"item-mobile",i[7])},m(_,V){C(_,e,V),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,a),d(a,r),d(a,c),b&&b.m(a,null),h=!0,g||(v=Ee(e,"click",ut(i[50])),g=!0)},p(_,V){(!h||V[0]&32768)&&xe(r,_[15]),_[27]&&!_[7]?b?(b.p(_,V),V[0]&134217856&&m(b,1)):(b=jl(_),b.c(),m(b,1),b.m(a,null)):b&&(he(),p(b,1,1,()=>{b=null}),pe()),(!h||V[0]&33554432&&f!==(f=U("aria_label_menu_quality",{actual:_[25]})))&&u(e,"aria-label",f),(!h||V[0]&128)&&L(e,"item-mobile",_[7])},i(_){h||(m(n.$$.fragment,_),m(b),h=!0)},o(_){p(n.$$.fragment,_),p(b),h=!1},d(_){_&&y(e),O(n),b&&b.d(),g=!1,v()}}}function jl(i){let e,t,n;var o=i[27];function l(s){return{}}return o&&(t=ln(o,l())),{c(){e=k("div"),t&&D(t.$$.fragment),u(e,"class","menu-valueIcon v-79x8pk")},m(s,a){C(s,e,a),t&&z(t,e,null),n=!0},p(s,a){if(a[0]&134217728&&o!==(o=s[27])){if(t){he();const r=t;p(r.$$.fragment,1,0,()=>{O(r,1)}),pe()}o?(t=ln(o,l()),D(t.$$.fragment),m(t.$$.fragment,1),z(t,e,null)):t=null}},i(s){n||(t&&m(t.$$.fragment,s),n=!0)},o(s){t&&p(t.$$.fragment,s),n=!1},d(s){s&&y(e),t&&O(t)}}}function Zl(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return n=new Tf({}),{c(){e=k("li"),t=k("div"),D(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${U("menu_playback_rate")}`,s=R(),a=k("div"),r=Oe(i[3]),c=Oe("x"),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(a,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=U("aria_label_menu_rate",{actual:i[26]})),u(e,"aria-haspopup","true"),L(e,"item-mobile",i[7])},m(b,_){C(b,e,_),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,a),d(a,r),d(a,c),h=!0,g||(v=Ee(e,"click",ut(i[54])),g=!0)},p(b,_){(!h||_[0]&8)&&xe(r,b[3]),(!h||_[0]&67108864&&f!==(f=U("aria_label_menu_rate",{actual:b[26]})))&&u(e,"aria-label",f),(!h||_[0]&128)&&L(e,"item-mobile",b[7])},i(b){h||(m(n.$$.fragment,b),h=!0)},o(b){p(n.$$.fragment,b),h=!1},d(b){b&&y(e),O(n),g=!1,v()}}}function Gl(i){let e,t,n,o,l,s,a,r=i[28].displayValue+"",c,f,h,g,v;return n=new Qr({}),{c(){e=k("li"),t=k("div"),D(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${U("subtitles_caption")}`,s=R(),a=k("div"),c=Oe(r),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(a,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=U("aria_label_menu_subtitle",{actual:i[28].displayValue})),u(e,"aria-haspopup","true"),L(e,"item-mobile",i[7])},m(b,_){C(b,e,_),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,a),d(a,c),h=!0,g||(v=Ee(e,"click",ut(i[56])),g=!0)},p(b,_){(!h||_[0]&268435456)&&r!==(r=b[28].displayValue+"")&&xe(c,r),(!h||_[0]&268435456&&f!==(f=U("aria_label_menu_subtitle",{actual:b[28].displayValue})))&&u(e,"aria-label",f),(!h||_[0]&128)&&L(e,"item-mobile",b[7])},i(b){h||(m(n.$$.fragment,b),h=!0)},o(b){p(n.$$.fragment,b),h=!1},d(b){b&&y(e),O(n),g=!1,v()}}}function Kl(i){let e,t,n,o,l,s,a,r,c,f,h,g;return n=new Pf({}),{c(){e=k("li"),t=k("div"),D(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${U("menu_traffic_saving")}`,s=R(),a=k("div"),r=Oe(i[24]),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(a,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=U("aria_label_menu_traffic_saving",{actual:i[24]})),u(e,"aria-haspopup","true"),L(e,"item-mobile",i[7])},m(v,b){C(v,e,b),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,a),d(a,r),f=!0,h||(g=Ee(e,"click",ut(i[51])),h=!0)},p(v,b){(!f||b[0]&16777216)&&xe(r,v[24]),(!f||b[0]&16777216&&c!==(c=U("aria_label_menu_traffic_saving",{actual:v[24]})))&&u(e,"aria-label",c),(!f||b[0]&128)&&L(e,"item-mobile",v[7])},i(v){f||(m(n.$$.fragment,v),f=!0)},o(v){p(n.$$.fragment,v),f=!1},d(v){v&&y(e),O(n),h=!1,g()}}}function Yl(i){let e,t,n,o,l,s,a,r;return n=new yf({}),{c(){e=k("li"),t=k("div"),D(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${U("download_video_caption")}`,u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",U("aria_label_menu_download")),L(e,"item-mobile",i[7])},m(c,f){C(c,e,f),d(e,t),z(n,t,null),d(e,o),d(e,l),s=!0,a||(r=Ee(e,"click",ut(i[59])),a=!0)},p(c,f){(!s||f[0]&128)&&L(e,"item-mobile",c[7])},i(c){s||(m(n.$$.fragment,c),s=!0)},o(c){p(n.$$.fragment,c),s=!1},d(c){c&&y(e),O(n),a=!1,r()}}}function Ql(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A=i[30].showSupport&&Ff(i);return o=new zf({}),f=new Df({}),{c(){A&&A.c(),e=R(),t=k("li"),n=k("div"),D(o.$$.fragment),l=R(),s=k("div"),s.textContent=`${U("menu_copy_debug")}`,a=R(),r=k("li"),c=k("div"),D(f.$$.fragment),h=R(),g=k("div"),g.textContent=`${U("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-79x8pk"),u(s,"class","menu-title v-79x8pk"),u(t,"class","item item-mobile v-79x8pk"),u(t,"role","menuitem"),u(t,"tabindex","0"),u(t,"aria-label",U("menu_copy_debug")),u(c,"class","menu-icon-wrapper v-79x8pk"),u(g,"class","menu-title v-79x8pk"),u(r,"class","item item-mobile v-79x8pk"),u(r,"role","menuitem"),u(r,"tabindex","0"),u(r,"aria-label",v=i[29]?U("aria_label_menu_debug_overlay_disable"):U("aria_label_menu_debug_overlay_enable"))},m(S,P){A&&A.m(S,P),C(S,e,P),C(S,t,P),d(t,n),z(o,n,null),d(t,l),d(t,s),C(S,a,P),C(S,r,P),d(r,c),z(f,c,null),d(r,h),d(r,g),b=!0,_||(V=[Ee(t,"click",ut(i[61])),Ee(r,"click",ut(i[62]))],_=!0)},p(S,P){S[30].showSupport&&A.p(S,P),(!b||P[0]&536870912&&v!==(v=S[29]?U("aria_label_menu_debug_overlay_disable"):U("aria_label_menu_debug_overlay_enable")))&&u(r,"aria-label",v)},i(S){b||(m(A),m(o.$$.fragment,S),m(f.$$.fragment,S),b=!0)},o(S){p(A),p(o.$$.fragment,S),p(f.$$.fragment,S),b=!1},d(S){S&&(y(e),y(t),y(a),y(r)),A&&A.d(S),O(o),O(f),_=!1,Xt(V)}}}function Ff(i){let e,t,n,o,l,s,a,r;return n=new Nf({}),{c(){e=k("li"),t=k("div"),D(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${U("menu_report")}`,u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(e,"class","item item-mobile v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${U("menu_report")}. ${U("aria_label_new_tab_alert")}`)},m(c,f){C(c,e,f),d(e,t),z(n,t,null),d(e,o),d(e,l),s=!0,a||(r=Ee(e,"click",ut(i[60])),a=!0)},p:K,i(c){s||(m(n.$$.fragment,c),s=!0)},o(c){p(n.$$.fragment,c),s=!1},d(c){c&&y(e),O(n),a=!1,r()}}}function Xl(i){let e,t,n;return t=new so({}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){C(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Jl(i){let e,t,n;var o=Gn(i[93].value);function l(s){return{}}return o&&(t=ln(o,l())),{c(){e=k("div"),t&&D(t.$$.fragment),u(e,"class","menu-valueIcon-list v-79x8pk")},m(s,a){C(s,e,a),t&&z(t,e,null),n=!0},p(s,a){if(a[0]&256&&o!==(o=Gn(s[93].value))){if(t){he();const r=t;p(r.$$.fragment,1,0,()=>{O(r,1)}),pe()}o?(t=ln(o,l()),D(t.$$.fragment),m(t.$$.fragment,1),z(t,e,null)):t=null}},i(s){n||(t&&m(t.$$.fragment,s),n=!0)},o(s){t&&p(t.$$.fragment,s),n=!1},d(s){s&&y(e),t&&O(t)}}}function xl(i){let e,t,n,o=i[93].displayValue+"",l,s,a=!i[7]&&Gn(i[93].value),r,c,f,h,g,v,b=i[93].selected&&Xl(),_=a&&Jl(i);function V(){return i[76](i[93])}return{c(){e=k("li"),b&&b.c(),t=R(),n=k("div"),l=Oe(o),s=R(),_&&_.c(),r=R(),u(n,"class","v-79x8pk"),L(n,"quality-title-mobile",i[7]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",c=i[93].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=U("aria_label_submenu_quality_select_quality",{quality:i[93].displayValue})),L(e,"item-mobile",i[7])},m(A,S){C(A,e,S),b&&b.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),_&&_.m(e,null),d(e,r),h=!0,g||(v=Ee(e,"click",ut(V)),g=!0)},p(A,S){i=A,i[93].selected?b?S[0]&256&&m(b,1):(b=Xl(),b.c(),m(b,1),b.m(e,t)):b&&(he(),p(b,1,1,()=>{b=null}),pe()),(!h||S[0]&256)&&o!==(o=i[93].displayValue+"")&&xe(l,o),(!h||S[0]&128)&&L(n,"quality-title-mobile",i[7]),S[0]&384&&(a=!i[7]&&Gn(i[93].value)),a?_?(_.p(i,S),S[0]&384&&m(_,1)):(_=Jl(i),_.c(),m(_,1),_.m(e,r)):_&&(he(),p(_,1,1,()=>{_=null}),pe()),(!h||S[0]&256&&c!==(c=i[93].value))&&u(e,"data-value",c),(!h||S[0]&256&&f!==(f=U("aria_label_submenu_quality_select_quality",{quality:i[93].displayValue})))&&u(e,"aria-label",f),(!h||S[0]&128)&&L(e,"item-mobile",i[7])},i(A){h||(m(b),m(_),h=!0)},o(A){p(b),p(_),h=!1},d(A){A&&y(e),b&&b.d(),_&&_.d(),g=!1,v()}}}function $l(i){let e,t,n;return t=new so({}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){C(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function es(i){let e,t,n,o=i[90].displayValue+"",l,s,a,r,c,f,h,g=i[90].selected&&$l();function v(){return i[78](i[90])}return{c(){e=k("li"),g&&g.c(),t=R(),n=k("div"),l=Oe(o),s=R(),u(n,"class","v-79x8pk"),L(n,"quality-title-mobile",i[7]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",a=i[90].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",r=U("aria_label_submenu_rate_select_rate",{rate:i[90].displayValue})),L(e,"item-mobile",i[7])},m(b,_){C(b,e,_),g&&g.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),c=!0,f||(h=Ee(e,"click",ut(v)),f=!0)},p(b,_){i=b,i[90].selected?g?_[0]&16&&m(g,1):(g=$l(),g.c(),m(g,1),g.m(e,t)):g&&(he(),p(g,1,1,()=>{g=null}),pe()),(!c||_[0]&16)&&o!==(o=i[90].displayValue+"")&&xe(l,o),(!c||_[0]&128)&&L(n,"quality-title-mobile",i[7]),(!c||_[0]&16&&a!==(a=i[90].value))&&u(e,"data-value",a),(!c||_[0]&16&&r!==(r=U("aria_label_submenu_rate_select_rate",{rate:i[90].displayValue})))&&u(e,"aria-label",r),(!c||_[0]&128)&&L(e,"item-mobile",i[7])},i(b){c||(m(g),c=!0)},o(b){p(g),c=!1},d(b){b&&y(e),g&&g.d(),f=!1,h()}}}function ts(i){let e,t,n;return t=new so({}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){C(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function is(i){let e,t,n;return t=new so({}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){C(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function ns(i){let e,t,n;return t=new so({}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){C(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function os(i){let e,t,n,o=i[87].displayValue+"",l,s,a,r,c,f,h,g=i[87].selected&&ns();function v(){return i[82](i[87])}return{c(){e=k("li"),g&&g.c(),t=R(),n=k("div"),l=Oe(o),s=R(),u(n,"class","v-79x8pk"),L(n,"quality-title-mobile",i[7]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",a=i[87].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",r=U("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[87].displayValue})),L(e,"item-mobile",i[7])},m(b,_){C(b,e,_),g&&g.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),c=!0,f||(h=Ee(e,"click",ut(v)),f=!0)},p(b,_){i=b,i[87].selected?g?_[0]&64&&m(g,1):(g=ns(),g.c(),m(g,1),g.m(e,t)):g&&(he(),p(g,1,1,()=>{g=null}),pe()),(!c||_[0]&64)&&o!==(o=i[87].displayValue+"")&&xe(l,o),(!c||_[0]&128)&&L(n,"quality-title-mobile",i[7]),(!c||_[0]&64&&a!==(a=i[87].value))&&u(e,"data-value",a),(!c||_[0]&64&&r!==(r=U("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[87].displayValue})))&&u(e,"aria-label",r),(!c||_[0]&128)&&L(e,"item-mobile",i[7])},i(b){c||(m(g),c=!0)},o(b){p(g),c=!1},d(b){b&&y(e),g&&g.d(),f=!1,h()}}}function Uf(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z,ie,G,J,ce,w,le,de,_e,Ne,Le,ye,H,M,Y,ge,ee,N,Q,Ie,Ce,Ae,x,se,ve,re,qe,We,$e,it,Be,rt,St,Re,Ve,wt,zt,mt=i[7]&&ql(i),lt=i[23]&&Wl(i),ue=i[22]&&Zl(i),et=i[21]&&Gl(i),Qe=i[20]&&Kl(i),nt=i[19]&&Yl(i),Ke=i[7]&&Ql(i);v=new yn({props:{direction:"left"}});let dt=Vt(i[8]),tt=[];for(let me=0;me<dt.length;me+=1)tt[me]=xl(Ul(i,dt,me));const Mt=me=>p(tt[me],1,1,()=>{tt[me]=null});j=new yn({props:{direction:"left"}});let yt=Vt(i[4]),ot=[];for(let me=0;me<yt.length;me+=1)ot[me]=es(Fl(i,yt,me));const Ot=me=>p(ot[me],1,1,()=>{ot[me]=null});de=new yn({props:{direction:"left"}});let ct=!i[5]&&ts(),Ze=i[5]&&is();it=new yn({props:{direction:"left"}});let Tt=Vt(i[6]),st=[];for(let me=0;me<Tt.length;me+=1)st[me]=os(Hl(i,Tt,me));const ii=me=>p(st[me],1,1,()=>{st[me]=null});return{c(){e=k("div"),t=k("div"),mt&&mt.c(),n=R(),o=k("ul"),lt&&lt.c(),l=R(),ue&&ue.c(),s=R(),et&&et.c(),a=R(),Qe&&Qe.c(),r=R(),nt&&nt.c(),c=R(),Ke&&Ke.c(),f=R(),h=k("div"),g=k("div"),D(v.$$.fragment),b=R(),_=k("div"),_.textContent=`${U("submenu_quality")}`,V=R(),A=k("div"),S=R(),P=k("ul");for(let me=0;me<tt.length;me+=1)tt[me].c();B=R(),W=k("div"),X=k("div"),D(j.$$.fragment),T=R(),te=k("div"),te.textContent=`${U("submenu_playback_rate")}`,Z=R(),ie=k("div"),G=R(),J=k("ul");for(let me=0;me<ot.length;me+=1)ot[me].c();ce=R(),w=k("div"),le=k("div"),D(de.$$.fragment),_e=R(),Ne=k("div"),Ne.textContent=`${U("submenu_traffic_saving")}`,Le=R(),ye=k("div"),H=R(),M=k("ul"),Y=k("li"),ct&&ct.c(),ge=R(),ee=k("div"),ee.textContent=`${U("traffic_saving_disable")}`,N=R(),Q=k("li"),Ze&&Ze.c(),Ie=R(),Ce=k("div"),Ce.textContent=`${U("traffic_saving_enable")}`,Ae=R(),x=k("div"),se=R(),ve=k("div"),re=k("span"),re.textContent=`${U("traffic_saving_helper_text")}`,qe=R(),We=k("div"),$e=k("div"),D(it.$$.fragment),Be=R(),rt=k("div"),rt.textContent=`${U("subtitles_caption")}`,St=R(),Re=k("ul");for(let me=0;me<st.length;me+=1)st[me].c();u(o,"class","items v-79x8pk"),L(o,"items-mobile",i[7]),u(t,"class","menu v-79x8pk"),u(t,"role","menu"),L(t,"menu-desktop",!i[7]),L(t,"menu-mobile",i[7]),L(t,"hidden",!i[10]),u(g,"class","item menu-header v-79x8pk"),u(g,"aria-label",U("aria_label_submenu_back")),L(g,"item-mobile",i[7]),u(A,"class","menu-divider v-79x8pk"),u(P,"class","items v-79x8pk"),u(P,"style",i[16]),L(P,"items-mobile",i[7]),u(h,"class","menu menu-subList v-79x8pk"),L(h,"menu-desktop",!i[7]),L(h,"menu-mobile",i[7]),L(h,"hidden",!i[11]),u(X,"class","item menu-header v-79x8pk"),u(X,"aria-label",U("aria_label_submenu_back")),L(X,"item-mobile",i[7]),u(ie,"class","menu-divider v-79x8pk"),u(J,"class","items v-79x8pk"),u(J,"style",i[17]),L(J,"items-mobile",i[7]),u(W,"class","menu menu-subList v-79x8pk"),L(W,"menu-desktop",!i[7]),L(W,"menu-mobile",i[7]),L(W,"hidden",!i[12]),u(le,"class","item menu-header v-79x8pk"),u(le,"aria-label",U("aria_label_submenu_back")),L(le,"item-mobile",i[7]),u(ye,"class","menu-divider v-79x8pk"),u(ee,"class","v-79x8pk"),L(ee,"quality-title-mobile",i[7]),u(Y,"class","item item-traffic-saving v-79x8pk"),u(Y,"role","menuitem"),u(Y,"tabindex","0"),u(Y,"aria-label",U("aria_label_submenu_traffic_saving_off")),L(Y,"item-mobile",i[7]),u(Ce,"class","v-79x8pk"),L(Ce,"quality-title-mobile",i[7]),u(Q,"class","item item-traffic-saving v-79x8pk"),u(Q,"role","menuitem"),u(Q,"tabindex","0"),u(Q,"aria-label",`${U("aria_label_submenu_traffic_saving_on")}. ${U("traffic_saving_helper_text")}`),L(Q,"item-mobile",i[7]),u(M,"class","items v-79x8pk"),u(M,"style",i[18]),L(M,"items-mobile",i[7]),u(x,"class","menu-divider v-79x8pk"),u(re,"class","v-79x8pk"),u(ve,"class","item item-helper-text v-79x8pk"),L(ve,"item-mobile",i[7]),u(w,"class","menu menu-subList menu-subList-traffic-saving v-79x8pk"),L(w,"menu-desktop",!i[7]),L(w,"menu-mobile",i[7]),L(w,"hidden",!i[14]),u($e,"class","item menu-header v-79x8pk"),u($e,"aria-label",U("aria_label_submenu_back")),L($e,"item-mobile",i[7]),u(Re,"class","items v-79x8pk"),L(Re,"items-mobile",i[7]),u(We,"class","menu menu-subList menu-subList-subtitles v-79x8pk"),L(We,"menu-desktop",!i[7]),L(We,"menu-mobile",i[7]),L(We,"hidden",!i[13]),u(e,"class","v-79x8pk"),L(e,"hidden",!i[9]),L(e,"container-mobile",i[7])},m(me,Pe){C(me,e,Pe),d(e,t),mt&&mt.m(t,null),d(t,n),d(t,o),lt&&lt.m(o,null),d(o,l),ue&&ue.m(o,null),d(o,s),et&&et.m(o,null),d(o,a),Qe&&Qe.m(o,null),d(o,r),nt&&nt.m(o,null),d(o,c),Ke&&Ke.m(o,null),d(e,f),d(e,h),d(h,g),z(v,g,null),d(g,b),d(g,_),i[75](g),d(h,V),d(h,A),d(h,S),d(h,P);for(let Me=0;Me<tt.length;Me+=1)tt[Me]&&tt[Me].m(P,null);d(e,B),d(e,W),d(W,X),z(j,X,null),d(X,T),d(X,te),i[77](X),d(W,Z),d(W,ie),d(W,G),d(W,J);for(let Me=0;Me<ot.length;Me+=1)ot[Me]&&ot[Me].m(J,null);d(e,ce),d(e,w),d(w,le),z(de,le,null),d(le,_e),d(le,Ne),i[79](le),d(w,Le),d(w,ye),d(w,H),d(w,M),d(M,Y),ct&&ct.m(Y,null),d(Y,ge),d(Y,ee),d(M,N),d(M,Q),Ze&&Ze.m(Q,null),d(Q,Ie),d(Q,Ce),d(w,Ae),d(w,x),d(w,se),d(w,ve),d(ve,re),d(e,qe),d(e,We),d(We,$e),z(it,$e,null),d($e,Be),d($e,rt),d(We,St),d(We,Re);for(let Me=0;Me<st.length;Me+=1)st[Me]&&st[Me].m(Re,null);Ve=!0,wt||(zt=[Ee(g,"click",ut(i[58])),Ee(X,"click",ut(i[58])),Ee(le,"click",ut(i[58])),Ee(Y,"click",ut(i[80])),Ee(Q,"click",ut(i[81])),Ee($e,"click",ut(i[58]))],wt=!0)},p(me,Pe){if(me[7]?mt?mt.p(me,Pe):(mt=ql(me),mt.c(),mt.m(t,n)):mt&&(mt.d(1),mt=null),me[23]?lt?(lt.p(me,Pe),Pe[0]&8388608&&m(lt,1)):(lt=Wl(me),lt.c(),m(lt,1),lt.m(o,l)):lt&&(he(),p(lt,1,1,()=>{lt=null}),pe()),me[22]?ue?(ue.p(me,Pe),Pe[0]&4194304&&m(ue,1)):(ue=Zl(me),ue.c(),m(ue,1),ue.m(o,s)):ue&&(he(),p(ue,1,1,()=>{ue=null}),pe()),me[21]?et?(et.p(me,Pe),Pe[0]&2097152&&m(et,1)):(et=Gl(me),et.c(),m(et,1),et.m(o,a)):et&&(he(),p(et,1,1,()=>{et=null}),pe()),me[20]?Qe?(Qe.p(me,Pe),Pe[0]&1048576&&m(Qe,1)):(Qe=Kl(me),Qe.c(),m(Qe,1),Qe.m(o,r)):Qe&&(he(),p(Qe,1,1,()=>{Qe=null}),pe()),me[19]?nt?(nt.p(me,Pe),Pe[0]&524288&&m(nt,1)):(nt=Yl(me),nt.c(),m(nt,1),nt.m(o,c)):nt&&(he(),p(nt,1,1,()=>{nt=null}),pe()),me[7]?Ke?(Ke.p(me,Pe),Pe[0]&128&&m(Ke,1)):(Ke=Ql(me),Ke.c(),m(Ke,1),Ke.m(o,null)):Ke&&(he(),p(Ke,1,1,()=>{Ke=null}),pe()),(!Ve||Pe[0]&128)&&L(o,"items-mobile",me[7]),(!Ve||Pe[0]&128)&&L(t,"menu-desktop",!me[7]),(!Ve||Pe[0]&128)&&L(t,"menu-mobile",me[7]),(!Ve||Pe[0]&1024)&&L(t,"hidden",!me[10]),(!Ve||Pe[0]&128)&&L(g,"item-mobile",me[7]),Pe[0]&384|Pe[1]&2097152){dt=Vt(me[8]);let Me;for(Me=0;Me<dt.length;Me+=1){const Pt=Ul(me,dt,Me);tt[Me]?(tt[Me].p(Pt,Pe),m(tt[Me],1)):(tt[Me]=xl(Pt),tt[Me].c(),m(tt[Me],1),tt[Me].m(P,null))}for(he(),Me=dt.length;Me<tt.length;Me+=1)Mt(Me);pe()}if((!Ve||Pe[0]&65536)&&u(P,"style",me[16]),(!Ve||Pe[0]&128)&&L(P,"items-mobile",me[7]),(!Ve||Pe[0]&128)&&L(h,"menu-desktop",!me[7]),(!Ve||Pe[0]&128)&&L(h,"menu-mobile",me[7]),(!Ve||Pe[0]&2048)&&L(h,"hidden",!me[11]),(!Ve||Pe[0]&128)&&L(X,"item-mobile",me[7]),Pe[0]&144|Pe[1]&16777216){yt=Vt(me[4]);let Me;for(Me=0;Me<yt.length;Me+=1){const Pt=Fl(me,yt,Me);ot[Me]?(ot[Me].p(Pt,Pe),m(ot[Me],1)):(ot[Me]=es(Pt),ot[Me].c(),m(ot[Me],1),ot[Me].m(J,null))}for(he(),Me=yt.length;Me<ot.length;Me+=1)Ot(Me);pe()}if((!Ve||Pe[0]&131072)&&u(J,"style",me[17]),(!Ve||Pe[0]&128)&&L(J,"items-mobile",me[7]),(!Ve||Pe[0]&128)&&L(W,"menu-desktop",!me[7]),(!Ve||Pe[0]&128)&&L(W,"menu-mobile",me[7]),(!Ve||Pe[0]&4096)&&L(W,"hidden",!me[12]),(!Ve||Pe[0]&128)&&L(le,"item-mobile",me[7]),me[5]?ct&&(he(),p(ct,1,1,()=>{ct=null}),pe()):ct?Pe[0]&32&&m(ct,1):(ct=ts(),ct.c(),m(ct,1),ct.m(Y,ge)),(!Ve||Pe[0]&128)&&L(ee,"quality-title-mobile",me[7]),(!Ve||Pe[0]&128)&&L(Y,"item-mobile",me[7]),me[5]?Ze?Pe[0]&32&&m(Ze,1):(Ze=is(),Ze.c(),m(Ze,1),Ze.m(Q,Ie)):Ze&&(he(),p(Ze,1,1,()=>{Ze=null}),pe()),(!Ve||Pe[0]&128)&&L(Ce,"quality-title-mobile",me[7]),(!Ve||Pe[0]&128)&&L(Q,"item-mobile",me[7]),(!Ve||Pe[0]&262144)&&u(M,"style",me[18]),(!Ve||Pe[0]&128)&&L(M,"items-mobile",me[7]),(!Ve||Pe[0]&128)&&L(ve,"item-mobile",me[7]),(!Ve||Pe[0]&128)&&L(w,"menu-desktop",!me[7]),(!Ve||Pe[0]&128)&&L(w,"menu-mobile",me[7]),(!Ve||Pe[0]&16384)&&L(w,"hidden",!me[14]),(!Ve||Pe[0]&128)&&L($e,"item-mobile",me[7]),Pe[0]&192|Pe[1]&67108864){Tt=Vt(me[6]);let Me;for(Me=0;Me<Tt.length;Me+=1){const Pt=Hl(me,Tt,Me);st[Me]?(st[Me].p(Pt,Pe),m(st[Me],1)):(st[Me]=os(Pt),st[Me].c(),m(st[Me],1),st[Me].m(Re,null))}for(he(),Me=Tt.length;Me<st.length;Me+=1)ii(Me);pe()}(!Ve||Pe[0]&128)&&L(Re,"items-mobile",me[7]),(!Ve||Pe[0]&128)&&L(We,"menu-desktop",!me[7]),(!Ve||Pe[0]&128)&&L(We,"menu-mobile",me[7]),(!Ve||Pe[0]&8192)&&L(We,"hidden",!me[13]),(!Ve||Pe[0]&512)&&L(e,"hidden",!me[9]),(!Ve||Pe[0]&128)&&L(e,"container-mobile",me[7])},i(me){if(!Ve){m(lt),m(ue),m(et),m(Qe),m(nt),m(Ke),m(v.$$.fragment,me);for(let Pe=0;Pe<dt.length;Pe+=1)m(tt[Pe]);m(j.$$.fragment,me);for(let Pe=0;Pe<yt.length;Pe+=1)m(ot[Pe]);m(de.$$.fragment,me),m(ct),m(Ze),m(it.$$.fragment,me);for(let Pe=0;Pe<Tt.length;Pe+=1)m(st[Pe]);Ve=!0}},o(me){p(lt),p(ue),p(et),p(Qe),p(nt),p(Ke),p(v.$$.fragment,me),tt=tt.filter(Boolean);for(let Pe=0;Pe<tt.length;Pe+=1)p(tt[Pe]);p(j.$$.fragment,me),ot=ot.filter(Boolean);for(let Pe=0;Pe<ot.length;Pe+=1)p(ot[Pe]);p(de.$$.fragment,me),p(ct),p(Ze),p(it.$$.fragment,me),st=st.filter(Boolean);for(let Pe=0;Pe<st.length;Pe+=1)p(st[Pe]);Ve=!1},d(me){me&&y(e),mt&&mt.d(),lt&&lt.d(),ue&&ue.d(),et&&et.d(),Qe&&Qe.d(),nt&&nt.d(),Ke&&Ke.d(),O(v),i[75](null),tn(tt,me),O(j),i[77](null),tn(ot,me),O(de),i[79](null),ct&&ct.d(),Ze&&Ze.d(),O(it),tn(st,me),wt=!1,Xt(zt)}}}const No=18;function qf(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,{supportLink:X}=e,{playerControlsHeight:j=0}=e,{returnFocus:T}=e;const te=_t(),Z=Gi(),ie=te.state.currentQuality$;F(i,ie,Se=>t(66,s=Se));const G=te.state.availableQualities$;F(i,G,Se=>t(8,S=Se));const J=te.state.autoQualityLimitingAvailable$;F(i,J,Se=>t(70,g=Se));const ce=te.state.isAutoQualityEnabled$;F(i,ce,Se=>t(67,a=Se));const w=te.state.currentPlaybackRate$;F(i,w,Se=>t(3,o=Se));const le=te.state.availablePlaybackRates$;F(i,le,Se=>t(4,l=Se));const de=te.state.currentSubtitle$;F(i,de,Se=>t(28,B=Se));const _e=te.state.availableSubtitlesList$;F(i,_e,Se=>t(6,h=Se));const Ne=te.state.canDownload,Le=te.state.hasMpegSources$;F(i,Le,Se=>t(71,v=Se));const ye=te.ui.settingsMenuVisible;F(i,ye,Se=>t(9,P=Se));const H=te.ui.isMobile;F(i,H,Se=>t(7,_=Se));const M=te.ui.mobileNotReportControlHidden$;F(i,M,Se=>t(68,c=Se));const Y=te.state.canChangePlaybackSpeed$;F(i,Y,Se=>t(69,f=Se));const ge=te.ui.isFullscreen;F(i,ge,Se=>t(74,A=Se));const ee=te.state.trafficSavingEnabled$;F(i,ee,Se=>t(5,r=Se));const N=te.ui.playerSize;F(i,N,Se=>t(73,V=Se));const Q=te.ui.debugPanelVisible;F(i,Q,Se=>t(29,W=Se));const Ie=te.ui.playerSize;F(i,Ie,Se=>t(72,b=Se));const Ce=te.actions.internal.downloadVideo;let Ae=!0,x=!1,se=!1,ve=!1,re=!1;function qe(){T?.(),ye.set(!1)}function We(){t(10,Ae=!1),t(11,x=!0)}function $e(){t(10,Ae=!1),t(14,re=!0)}function it(Se){te.actions.internal.setQuality(Se),qe()}function Be(Se){te.actions.internal.setTrafficSavingEnabled(Se),qe()}function rt(){t(10,Ae=!1),t(12,se=!0)}function St(Se){te.actions.internal.setPlaybackRate(Se),qe()}function Re(){t(10,Ae=!1),t(13,ve=!0)}function Ve(Se){te.actions.internal.setSubtitle(Se),qe()}function wt(){t(10,Ae=!0),t(11,x=!1),t(12,se=!1),t(13,ve=!1),t(14,re=!1)}function zt(){Ce(),qe()}function mt(){window.open(X,"_blank"),qe(),te.actions.internal.pause()}function lt(){Wo(te.actions.internal.getDebugTextData()),qe()}function ue(){Q.set(!0),qe()}function et(Se,Nt,Mi){if(!Se)return"...";const ni=Nt.find(_i=>_i.value===Se),vi=ni?ni.displayValue:Se;return Mi?Se===Je.VideoQuality.INVARIANT?U("auto_quality_invariant"):U("auto_quality",{actual:vi}):vi}let Qe,nt,Ke,dt,tt,Mt,yt,ot,Ot,ct,Ze,Tt,st,ii,me;function Pe(Se){je[Se?"unshift":"push"](()=>{nt=Se,t(0,nt)})}const Me=Se=>it(Se.value);function Pt(Se){je[Se?"unshift":"push"](()=>{Ke=Se,t(1,Ke)})}const Vi=Se=>St(Se.value);function Jt(Se){je[Se?"unshift":"push"](()=>{dt=Se,t(2,dt)})}const bi=()=>Be(!1),Ii=()=>Be(!0),Lt=Se=>Ve(Se);return i.$$set=Se=>{"supportLink"in Se&&t(63,X=Se.supportLink),"playerControlsHeight"in Se&&t(64,j=Se.playerControlsHeight),"returnFocus"in Se&&t(65,T=Se.returnFocus)},i.$$.update=()=>{if(i.$$.dirty[0]&512&&P&&(t(10,Ae=!0),t(11,x=!1),t(12,se=!1),t(13,ve=!1),t(14,re=!1)),i.$$.dirty[2]&16&&t(27,n=Gn(s)),i.$$.dirty[0]&256|i.$$.dirty[2]&48&&t(15,Qe=et(s,S,a)),i.$$.dirty[0]&129|i.$$.dirty[2]&7172)if(_&&A)t(16,tt=`max-height: ${Math.round(V.height*.6)}px`);else if(_)t(16,tt="");else{const Se=b.height-No-(nt?.clientHeight??0)-j;t(16,tt=`max-height: ${Se}px; overflow: auto;`)}if(i.$$.dirty[0]&130|i.$$.dirty[2]&1028)if(_)t(17,Mt="");else{const Se=b.height-No-(Ke?.clientHeight??0)-j;t(17,Mt=`max-height: ${Se}px; overflow: auto;`)}if(i.$$.dirty[0]&132|i.$$.dirty[2]&1028)if(_)t(18,yt="");else{const Se=b.height-No-(dt?.clientHeight??0)-j;t(18,yt=`max-height: ${Se}px; overflow: auto;`)}i.$$.dirty[2]&576&&t(19,ot=Ne&&v&&!c),i.$$.dirty[2]&320&&t(20,Ot=Z.features.trafficSaving&&!c&&g),i.$$.dirty[0]&64|i.$$.dirty[2]&64&&t(21,ct=h.length>0&&!c),i.$$.dirty[2]&192&&t(22,Ze=!!f&&!c),i.$$.dirty[2]&64&&t(23,Tt=!c),i.$$.dirty[0]&32&&t(24,st=U(r?"traffic_saving_on":"traffic_saving_off")),i.$$.dirty[2]&48&&t(25,ii=a?U("auto_quality_option"):s),i.$$.dirty[0]&24&&t(26,me=l.find(Se=>Se.value===o)?.displayValue)},[nt,Ke,dt,o,l,r,h,_,S,P,Ae,x,se,ve,re,Qe,tt,Mt,yt,ot,Ot,ct,Ze,Tt,st,ii,me,n,B,W,Z,ie,G,J,ce,w,le,de,_e,Le,ye,H,M,Y,ge,ee,N,Q,Ie,qe,We,$e,it,Be,rt,St,Re,Ve,wt,zt,mt,lt,ue,X,j,T,s,a,c,f,g,v,b,V,A,Pe,Me,Pt,Vi,Jt,bi,Ii,Lt]}class Xr extends we{constructor(e){super(),ke(this,e,qf,Uf,be,{supportLink:63,playerControlsHeight:64,returnFocus:65},Hf,[-1,-1,-1,-1])}}function Wf(i){Ue(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function jf(i){let e,t,n;return t=new Yr({props:{isMobile:i[1],currentQuality:i[2]}}),{c(){e=k("span"),D(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l&2&&(s.isMobile=o[1]),l&4&&(s.currentQuality=o[2]),t.$set(s)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Zf(i){let e,t;return e=new fi({props:{testId:"btn-settings",click:i[6],ariaLabel:i[0],$$slots:{default:[jf]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.ariaLabel=n[0]),o&518&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Gf(i,e,t){let n,o,l;const s=_t(),a=s.state.currentQuality$;F(i,a,g=>t(2,l=g));const r=s.ui.settingsMenuVisible;F(i,r,g=>t(7,n=g));const c=s.ui.isMobile;F(i,c,g=>t(1,o=g));let f;function h(){r.set(!n)}return i.$$.update=()=>{i.$$.dirty&128&&t(0,f=U(n?"tooltip_settings_on":"tooltip_settings_off"))},[f,o,l,a,r,c,h,n]}class Qo extends we{constructor(e){super(),ke(this,e,Gf,Zf,be,{},Wf)}}function Kf(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Yf extends we{constructor(e){super(),ke(this,e,null,Kf,be,{})}}function Qf(i){let e,t;return e=new Qr({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Xf(i){let e,t;return e=new Yf({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Jf(i){let e,t,n,o;const l=[Xf,Qf],s=[];function a(r,c){return r[0]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,c){let f=e;e=a(r),e!==f&&(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t||(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function xf(i){let e,t;return e=new fi({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],ariaKeyShortCut:Co[Fe.KeyC],$$slots:{default:[Jf]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&4&&(l.ariaLabel=n[2]),o&2&&(l.click=n[1]),o&9&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function $f(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,l;return i.$$set=s=>{"isSubtitlesEnabled"in s&&t(0,n=s.isSubtitlesEnabled),"click"in s&&t(1,o=s.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=U(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,l]}class e0 extends we{constructor(e){super(),ke(this,e,$f,xf,be,{isSubtitlesEnabled:0,click:1})}}function t0(i){Ue(i,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function ls(i){let e,t;return{c(){e=k("span"),t=Oe(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&8&&xe(t,n[3])},d(n){n&&y(e)}}}function i0(i){let e,t,n,o,l,s=i[2]&&ls(i);return{c(){e=k("div"),t=k("span"),n=Oe(i[4]),o=R(),s&&s.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),Mn(()=>i[7].call(e)),L(e,"mobile",i[1])},m(a,r){C(a,e,r),d(e,t),d(t,n),d(e,o),s&&s.m(e,null),l=wo(e,i[7].bind(e))},p(a,[r]){r&16&&xe(n,a[4]),a[2]?s?s.p(a,r):(s=ls(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&2&&L(e,"mobile",a[1])},i:K,o:K,d(a){a&&y(e),s&&s.d(),l()}}}function n0(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:l}=e,{showDuration:s=!0}=e,{width:a}=e,r,c;function f(){a=this.clientWidth,t(0,a)}return i.$$set=h=>{"isMobile"in h&&t(1,n=h.isMobile),"duration"in h&&t(5,o=h.duration),"position"in h&&t(6,l=h.position),"showDuration"in h&&t(2,s=h.showDuration),"width"in h&&t(0,a=h.width)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=mn(o)),i.$$.dirty&64&&t(4,c=mn(l))},[a,n,s,r,c,o,l,f]}class Jr extends we{constructor(e){super(),ke(this,e,n0,i0,be,{isMobile:1,duration:5,position:6,showDuration:2,width:0},t0)}}function o0(i){Ue(i,"v-1n5yyua",".icon.v-1n5yyua.v-1n5yyua{display:block;width:24px;height:24px}.icon.v-1n5yyua .cross.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .wave1.v-1n5yyua,.icon[data-value='off'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .cross.v-1n5yyua{visibility:visible}.icon[data-value='mid'].v-1n5yyua .wave2.v-1n5yyua,.icon[data-value='min'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}")}function l0(i){let e,t,n,o,l,s;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(l,"class","cross v-1n5yyua"),u(l,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"data-value",i[0]),u(e,"data-testid",s="volume-"+i[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(a,r){C(a,e,r),d(e,t),d(t,n),d(t,o),d(t,l)},p(a,[r]){r&1&&u(e,"data-value",a[0]),r&1&&s!==(s="volume-"+a[0]+"-icon")&&u(e,"data-testid",s)},i:K,o:K,d(a){a&&y(e)}}}function s0(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const l=(a,r)=>r?"off":a>.5?"max":a>.2?"mid":a>0?"min":"off";let s;return i.$$set=a=>{"volume"in a&&t(1,n=a.volume),"muted"in a&&t(2,o=a.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,s=l(n,o))},[s,n,o]}class So extends we{constructor(e){super(),ke(this,e,s0,l0,be,{volume:1,muted:2},o0)}}function a0(i){let e,t;const n=i[4].default,o=pn(n,i,i[3],null);return{c(){e=k("div"),o&&o.c(),u(e,"class","overlay")},m(l,s){C(l,e,s),o&&o.m(e,null),i[5](e),t=!0},p(l,[s]){o&&o.p&&(!t||s&8)&&bn(o,n,l,l[3],t?gn(n,l[3],s,null):vn(l[3]),null)},i(l){t||(m(o,l),t=!0)},o(l){p(o,l),t=!1},d(l){l&&y(e),o&&o.d(l),i[5](null)}}}function r0(i,e,t){let n,{$$slots:o={},$$scope:l}=e;const a=_t().ui.overlayContainer$;F(i,a,g=>t(2,n=g));let r;const c=g=>{!g||!r||!g.contains(r)||g.removeChild(r)},f=g=>{!g||!r||g.contains(r)||g.appendChild(r)};Zi(()=>(f(n),()=>c(n)));function h(g){je[g?"unshift":"push"](()=>{r=g,t(0,r)})}return i.$$set=g=>{"$$scope"in g&&t(3,l=g.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&f(n)},[r,a,n,l,o,h]}class u0 extends we{constructor(e){super(),ke(this,e,r0,a0,be,{})}}function c0(i){Ue(i,"v-1jbbzcj",'.tooltip-wrapper.v-1jbbzcj{display:flex;flex-direction:column;min-width:0}.full-width.v-1jbbzcj{width:100%}.tooltip.v-1jbbzcj{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-1jbbzcj{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-1jbbzcj{opacity:1;visibility:visible}.tooltip-pointer.v-1jbbzcj{position:absolute;bottom:0;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}')}function ss(i){let e,t;return e=new u0({props:{$$slots:{default:[f0]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&262387&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function f0(i){let e,t,n,o,l,s,a;return{c(){e=k("div"),t=k("div"),n=Oe(i[1]),o=R(),l=k("div"),u(t,"class","content v-1jbbzcj"),u(l,"class","tooltip-pointer v-1jbbzcj"),u(l,"style",s=`transform: translate(${i[5]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",a=`transform: translate(${i[6]}px, ${i[7]}px);`),L(e,"active",i[0])},m(r,c){C(r,e,c),d(e,t),d(t,n),d(e,o),d(e,l),i[17](e)},p(r,c){c&2&&xe(n,r[1]),c&32&&s!==(s=`transform: translate(${r[5]}px, ${r[8]}px);`)&&u(l,"style",s),c&192&&a!==(a=`transform: translate(${r[6]}px, ${r[7]}px);`)&&u(e,"style",a),c&1&&L(e,"active",r[0])},d(r){r&&y(e),i[17](null)}}}function d0(i){let e,t,n,o,l,s;const a=i[15].default,r=pn(a,i,i[18],null);let c=i[1]&&ss(i);return{c(){e=k("div"),r&&r.c(),t=R(),c&&c.c(),n=ht(),u(e,"class","tooltip-wrapper v-1jbbzcj"),L(e,"full-width",i[2])},m(f,h){C(f,e,h),r&&r.m(e,null),i[16](e),C(f,t,h),c&&c.m(f,h),C(f,n,h),o=!0,l||(s=[Ee(e,"mouseenter",i[11]),Ee(e,"mousemove",i[11]),Ee(e,"mouseleave",i[12]),Ee(e,"mousedown",i[12]),Ee(e,"mouseup",i[11])],l=!0)},p(f,[h]){r&&r.p&&(!o||h&262144)&&bn(r,a,f,f[18],o?gn(a,f[18],h,null):vn(f[18]),null),(!o||h&4)&&L(e,"full-width",f[2]),f[1]?c?(c.p(f,h),h&2&&m(c,1)):(c=ss(f),c.c(),m(c,1),c.m(n.parentNode,n)):c&&(he(),p(c,1,1,()=>{c=null}),pe())},i(f){o||(m(r,f),m(c),o=!0)},o(f){p(r,f),p(c),o=!1},d(f){f&&(y(e),y(t),y(n)),r&&r.d(f),i[16](null),c&&c.d(f),l=!1,Xt(s)}}}const ho=5;function m0(i,e,t){let n,o,{$$slots:l={},$$scope:s}=e,{content:a=""}=e,{active:r=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:h=!1}=e,g,v,b,_=0,V=ho,A=0,S=0;const P=Gi(),B=_t(),W=B.ui.playerSize;F(i,W,w=>t(21,o=w));const X=B.ui.overlayContainer$;F(i,X,w=>t(20,n=w));const j=B.getLogger().createComponentLog("Tooltip component"),T=()=>{if(!n)return;const w=n.getBoundingClientRect(),le=g.getBoundingClientRect(),de=le.width,_e=v.clientWidth,Ne=o.width,Le=(de-_e)/2,ye=le.left+c-w.left;let H=ye+Le;const M=le.top+f-w.top;let Y=_e/2-ho;const ge=H<eo,ee=H+_e>Ne-eo;ge&&(H=eo,Y=ye+le.width/2-2.5*ho),ee&&(H=Ne-eo-_e,Y=le.left-w.left+le.width/2-H-ho),t(6,A=H),t(7,S=M),t(5,_=Y)},te=()=>{try{if(!n||!g)return;T(),t(0,r=!0)}catch(w){j({message:String(w)})}},Z=()=>{t(0,r=!1)},ie=()=>{v&&(b||(b=window.setTimeout(te,P.controls.hideTimeoutTooltips)),r&&te())},G=()=>{Z(),window.clearTimeout(b),b=void 0};yo(()=>window.clearTimeout(b));function J(w){je[w?"unshift":"push"](()=>{g=w,t(3,g)})}function ce(w){je[w?"unshift":"push"](()=>{v=w,t(4,v)})}return i.$$set=w=>{"content"in w&&t(1,a=w.content),"active"in w&&t(0,r=w.active),"translateX"in w&&t(13,c=w.translateX),"translateY"in w&&t(14,f=w.translateY),"isFullWidthWrapper"in w&&t(2,h=w.isFullWidthWrapper),"$$scope"in w&&t(18,s=w.$$scope)},[r,a,h,g,v,_,A,S,V,W,X,ie,G,c,f,l,J,ce,s]}class xr extends we{constructor(e){super(),ke(this,e,m0,d0,be,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},c0)}}function h0(i){Ue(i,"v-p9r045",".btn-container.v-p9r045{position:relative;display:flex;align-items:center;height:100%;transition:var(--button-hover-transition);will-change:opacity;-webkit-tap-highlight-color:transparent}.w-max.v-p9r045{width:100%;min-width:0}")}function p0(i){let e;const t=i[15].default,n=pn(t,i,i[19],null);return{c(){n&&n.c()},m(o,l){n&&n.m(o,l),e=!0},p(o,l){n&&n.p&&(!e||l&524288)&&bn(n,t,o,o[19],e?gn(t,o[19],l,null):vn(o[19]),null)},i(o){e||(m(n,o),e=!0)},o(o){p(n,o),e=!1},d(o){n&&n.d(o)}}}function g0(i){let e,t;return e=new xr({props:{content:i[8],translateX:i[6],translateY:i[7],isFullWidthWrapper:i[3],$$slots:{default:[b0]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&256&&(l.content=n[8]),o&64&&(l.translateX=n[6]),o&128&&(l.translateY=n[7]),o&8&&(l.isFullWidthWrapper=n[3]),o&524288&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function b0(i){let e;const t=i[15].default,n=pn(t,i,i[19],null);return{c(){n&&n.c()},m(o,l){n&&n.m(o,l),e=!0},p(o,l){n&&n.p&&(!e||l&524288)&&bn(n,t,o,o[19],e?gn(t,o[19],l,null):vn(o[19]),null)},i(o){e||(m(n,o),e=!0)},o(o){p(n,o),e=!1},d(o){n&&n.d(o)}}}function v0(i){let e,t,n,o,l,s,a,r,c;const f=[g0,p0],h=[];function g(v,b){return v[2]&&v[4]&&!v[9]?0:1}return t=g(i),n=h[t]=f[t](i),{c(){e=k("div"),n.c(),u(e,"class",o="btn-container "+i[1]+" v-p9r045"),u(e,"aria-hidden",l=i[5]||null),Mn(()=>i[18].call(e))},m(v,b){C(v,e,b),h[t].m(e,null),s=wo(e,i[18].bind(e)),a=!0,r||(c=[Ee(e,"pointerdown",ut(ci(i[16]))),Ee(e,"click",ut(ci(i[17])))],r=!0)},p(v,[b]){let _=t;t=g(v),t===_?h[t].p(v,b):(he(),p(h[_],1,1,()=>{h[_]=null}),pe(),n=h[t],n?n.p(v,b):(n=h[t]=f[t](v),n.c()),m(n,1),n.m(e,null)),(!a||b&2&&o!==(o="btn-container "+v[1]+" v-p9r045"))&&u(e,"class",o),(!a||b&32&&l!==(l=v[5]||null))&&u(e,"aria-hidden",l)},i(v){a||(m(n),a=!0)},o(v){p(n),a=!1},d(v){v&&y(e),h[t].d(),s(),r=!1,Xt(c)}}}function _0(i,e,t){let n,o,{$$slots:l={},$$scope:s}=e,{className:a=""}=e,{disabled:r=!1}=e,{hasTooltip:c=!0}=e,{width:f}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:g=""}=e,{disabledTooltipContent:v=U("tooltip_button_disabled")}=e,{isAriaHidden:b=!1}=e,{initialTranslateXPx:_=0}=e,{initialTranslateYPx:V=-18}=e;const A=_t(),S=A.ui.isMobile;F(i,S,T=>t(9,o=T));const P=A.state.graphIsOpened$;F(i,P,T=>t(14,n=T));let B;function W(T){Wn.call(this,i,T)}function X(T){Wn.call(this,i,T)}function j(){f=this.clientWidth,t(0,f)}return i.$$set=T=>{"className"in T&&t(1,a=T.className),"disabled"in T&&t(12,r=T.disabled),"hasTooltip"in T&&t(2,c=T.hasTooltip),"width"in T&&t(0,f=T.width),"isFullWidthTooltip"in T&&t(3,h=T.isFullWidthTooltip),"tooltipContent"in T&&t(4,g=T.tooltipContent),"disabledTooltipContent"in T&&t(13,v=T.disabledTooltipContent),"isAriaHidden"in T&&t(5,b=T.isAriaHidden),"initialTranslateXPx"in T&&t(6,_=T.initialTranslateXPx),"initialTranslateYPx"in T&&t(7,V=T.initialTranslateYPx),"$$scope"in T&&t(19,s=T.$$scope)},i.$$.update=()=>{i.$$.dirty&28688&&(r?t(8,B=n?U("tooltip_disabled_when_graph_on"):v):t(8,B=g))},[f,a,c,h,g,b,_,V,B,o,S,P,r,v,n,l,W,X,j,s]}class It extends we{constructor(e){super(),ke(this,e,_0,v0,be,{className:1,disabled:12,hasTooltip:2,width:0,isFullWidthTooltip:3,tooltipContent:4,disabledTooltipContent:13,isAriaHidden:5,initialTranslateXPx:6,initialTranslateYPx:7},h0)}}function k0(i){let e,t,n,o,l;return{c(){e=I("svg"),t=I("rect"),o=I("path"),u(t,"width","20"),u(t,"height","20"),u(t,"rx","10"),u(t,"fill","white"),u(t,"fill-opacity",n=i[0]?1:.24),u(o,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(o,"fill",l=i[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(s,a){C(s,e,a),d(e,t),d(e,o)},p(s,[a]){a&1&&n!==(n=s[0]?1:.24)&&u(t,"fill-opacity",n),a&1&&l!==(l=s[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",l)},i:K,o:K,d(s){s&&y(e)}}}function w0(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class y0 extends we{constructor(e){super(),ke(this,e,w0,k0,be,{completed:0})}}function C0(i){Ue(i,"v-bklhpe",".interactive-episode-icon.v-bklhpe{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}.interactive-episode-icon.disabled.v-bklhpe{pointer-events:none;opacity:0.4}")}function P0(i){let e,t,n,o,l;return t=new y0({props:{completed:!!i[0].completed}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),Mn(()=>i[3].call(e)),L(e,"disabled",i[1])},m(s,a){C(s,e,a),z(t,e,null),o=wo(e,i[3].bind(e)),l=!0},p(s,a){const r={};a&1&&(r.completed=!!s[0].completed),t.$set(r),(!l||a&1&&n!==(n=`left: ${s[0].from+s[0].width/2}%`))&&u(e,"style",n),(!l||a&2)&&L(e,"disabled",s[1])},i(s){l||(m(t.$$.fragment,s),l=!0)},o(s){p(t.$$.fragment,s),l=!1},d(s){s&&y(e),O(t),o()}}}function S0(i){let e,t;return e=new It({props:{tooltipContent:U(i[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished"),initialTranslateXPx:-10,initialTranslateYPx:-10,disabled:i[1],width:i[2]||0,isAriaHidden:!0,isFullWidthTooltip:!1,$$slots:{default:[P0]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.tooltipContent=U(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(l.disabled=n[1]),o&4&&(l.width=n[2]||0),o&23&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function T0(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,l;function s(){l=this.clientWidth,t(2,l)}return i.$$set=a=>{"videoEpisode"in a&&t(0,n=a.videoEpisode),"disabled"in a&&t(1,o=a.disabled)},[n,o,l,s]}class A0 extends we{constructor(e){super(),ke(this,e,T0,S0,be,{videoEpisode:0,disabled:1},C0)}}function E0(i){Ue(i,"v-1h9p3m2",".video-episodes-wrap.v-1h9p3m2{position:absolute;width:100%;height:100%}.video-episode.v-1h9p3m2{position:absolute;height:calc(3 * var(--slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--slider-height) var(--slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-1h9p3m2:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-1h9p3m2,.video-episode-loaded.v-1h9p3m2,.video-episode-filled.v-1h9p3m2{position:absolute;height:var(--slider-height);border-radius:var(--slider-radius)}.video-episode-inner.v-1h9p3m2{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--slider-video-episode-gap));background:var(--slider-bg)}.video-episode-loaded.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}")}function as(i,e,t){const n=i.slice();return n[2]=e[t],n}function rs(i){let e,t,n,o,l,s,a,r,c;return{c(){e=k("div"),t=k("div"),n=k("div"),l=R(),s=k("div"),r=R(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${i[2].loadedWidth/i[2].width*100}%)`),u(s,"class","video-episode-filled v-1h9p3m2"),u(s,"style",a=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),L(s,"mobile",i[1]),u(t,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${i[2].from}%; width: ${i[2].width}%`),L(e,"mobile",i[1])},m(f,h){C(f,e,h),d(e,t),d(t,n),d(t,l),d(t,s),d(e,r)},p(f,h){h&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),h&1&&a!==(a=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(s,"style",a),h&2&&L(s,"mobile",f[1]),h&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),h&2&&L(e,"mobile",f[1])},d(f){f&&y(e)}}}function L0(i){let e,t=Vt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=rs(as(i,t,o));return{c(){e=k("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,l){C(o,e,l);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(e,null)},p(o,[l]){if(l&3){t=Vt(o[0]);let s;for(s=0;s<t.length;s+=1){const a=as(o,t,s);n[s]?n[s].p(a,l):(n[s]=rs(a),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:K,o:K,d(o){o&&y(e),tn(n,o)}}}function V0(i,e,t){let{videoEpisodes:n=[]}=e,{isMobile:o}=e;return i.$$set=l=>{"videoEpisodes"in l&&t(0,n=l.videoEpisodes),"isMobile"in l&&t(1,o=l.isMobile)},[n,o]}class I0 extends we{constructor(e){super(),ke(this,e,V0,L0,be,{videoEpisodes:0,isMobile:1},E0)}}function M0(i){Ue(i,"v-1golz1y",".interactive-icons.v-1golz1y.v-1golz1y{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-1golz1y.v-1golz1y{top:-10px}.slider.v-1golz1y.v-1golz1y{position:relative;height:var(--slider-height);border-radius:var(--slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-1golz1y.v-1golz1y{cursor:default}.slider.v-1golz1y.v-1golz1y:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--controls-height) / 2 - var(--slider-height)) / 2);height:calc(var(--controls-height) / 2)}.bars.v-1golz1y.v-1golz1y{position:absolute;width:100%;height:100%;border-radius:var(--slider-radius);overflow:hidden;background:var(--slider-bg)}.loaded.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.filled.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}.slider.square.v-1golz1y.v-1golz1y,.slider.square.v-1golz1y>.bars.v-1golz1y,.slider.square.v-1golz1y .loaded.v-1golz1y,.slider.square.v-1golz1y .filled.v-1golz1y{border-radius:unset}.filled.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.filled.ads.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-ads)}.handleWrap.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%}.handle.v-1golz1y.v-1golz1y{position:absolute;width:var(--slider-handle-size);height:var(--slider-handle-size);right:calc(-1 * var(--slider-handle-size) / 2);top:calc((var(--slider-height) - var(--slider-handle-size)) / 2);border-radius:50%;background-color:var(--slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.slider.v-1golz1y:hover .handle.v-1golz1y,.slider-dragging.v-1golz1y .handle.v-1golz1y{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-1golz1y .handle.v-1golz1y{transform:scale(1.3)}.slider-vertical.v-1golz1y.v-1golz1y{position:absolute;left:-8px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.slider.disabled.v-1golz1y.v-1golz1y{cursor:default;pointer-events:none;opacity:0.4}")}function us(i,e,t){const n=i.slice();return n[48]=e[t],n}function cs(i){let e,t,n=Vt(i[21]),o=[];for(let s=0;s<n.length;s+=1)o[s]=ds(us(i,n,s));const l=s=>p(o[s],1,1,()=>{o[s]=null});return{c(){e=k("div");for(let s=0;s<o.length;s+=1)o[s].c();u(e,"class","interactive-icons v-1golz1y"),L(e,"mobile",i[5]),L(e,"hidden",i[5]&&!i[20])},m(s,a){C(s,e,a);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(e,null);t=!0},p(s,a){if(a[0]&2097664){n=Vt(s[21]);let r;for(r=0;r<n.length;r+=1){const c=us(s,n,r);o[r]?(o[r].p(c,a),m(o[r],1)):(o[r]=ds(c),o[r].c(),m(o[r],1),o[r].m(e,null))}for(he(),r=n.length;r<o.length;r+=1)l(r);pe()}(!t||a[0]&32)&&L(e,"mobile",s[5]),(!t||a[0]&1048608)&&L(e,"hidden",s[5]&&!s[20])},i(s){if(!t){for(let a=0;a<n.length;a+=1)m(o[a]);t=!0}},o(s){o=o.filter(Boolean);for(let a=0;a<o.length;a+=1)p(o[a]);t=!1},d(s){s&&y(e),tn(o,s)}}}function fs(i){let e,t;return e=new A0({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&2097152&&(l.videoEpisode=n[48]),o[0]&512&&(l.disabled=n[9]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ds(i){let e,t,n=i[48].interactive&&fs(i);return{c(){n&&n.c(),e=ht()},m(o,l){n&&n.m(o,l),C(o,e,l),t=!0},p(o,l){o[48].interactive?n?(n.p(o,l),l[0]&2097152&&m(n,1)):(n=fs(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),pe())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function N0(i){let e,t,n,o,l,s;return{c(){e=k("div"),t=k("div"),o=R(),l=k("div"),u(t,"class","loaded v-1golz1y"),u(t,"style",n=`transform: translateX(${i[11]*100}%);`),u(l,"class","filled v-1golz1y"),u(l,"style",s=`transform: translateX(${i[12]*100}%);`),L(l,"active-live",i[4]),L(l,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(a,r){C(a,e,r),d(e,t),d(e,o),d(e,l)},p(a,r){r[0]&2048&&n!==(n=`transform: translateX(${a[11]*100}%);`)&&u(t,"style",n),r[0]&4096&&s!==(s=`transform: translateX(${a[12]*100}%);`)&&u(l,"style",s),r[0]&16&&L(l,"active-live",a[4]),r[0]&64&&L(l,"ads",a[6])},i:K,o:K,d(a){a&&y(e)}}}function R0(i){let e,t;return e=new I0({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&2097152&&(l.videoEpisodes=n[21]),o[0]&32&&(l.isMobile=n[5]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function B0(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b=i[8]&&cs(i);const _=[R0,N0],V=[];function A(S,P){return S[21].length?0:1}return n=A(i),o=V[n]=_[n](i),{c(){b&&b.c(),e=R(),t=k("div"),o.c(),l=R(),s=k("div"),a=k("div"),u(a,"class","handle v-1golz1y"),L(a,"active-live",i[4]),u(s,"class","handleWrap v-1golz1y"),u(s,"style",r=`transform: translateX(${i[13]*100}%);`),L(s,"hidden",i[10]),u(t,"class",c="slider "+i[0]+" v-1golz1y"),u(t,"aria-label",i[14]),u(t,"aria-valuemin",i[15]),u(t,"aria-valuemax",i[16]),u(t,"aria-valuenow",i[17]),u(t,"aria-valuetext",i[18]),u(t,"role","slider"),u(t,"tabindex","0"),u(t,"data-testid",f=i[1]??null),L(t,"disabled",i[9]),L(t,"slider-dragging",i[20]),L(t,"hidden",i[2]),L(t,"slider-vertical",i[3]),L(t,"no-handle",i[10]),L(t,"square",i[7])},m(S,P){b&&b.m(S,P),C(S,e,P),C(S,t,P),V[n].m(t,null),d(t,l),d(t,s),d(s,a),i[42](t),h=!0,g||(v=[Ee(t,"pointerdown",ci(i[22])),Ee(t,"pointermove",ci(i[23])),Ee(t,"pointerup",ci(i[24])),Ee(t,"pointerenter",ci(i[25])),Ee(t,"pointerleave",ci(i[26])),Ee(t,"click",ut(ne.noop)),Ee(t,"wheel",i[27])],g=!0)},p(S,P){S[8]?b?(b.p(S,P),P[0]&256&&m(b,1)):(b=cs(S),b.c(),m(b,1),b.m(e.parentNode,e)):b&&(he(),p(b,1,1,()=>{b=null}),pe());let B=n;n=A(S),n===B?V[n].p(S,P):(he(),p(V[B],1,1,()=>{V[B]=null}),pe(),o=V[n],o?o.p(S,P):(o=V[n]=_[n](S),o.c()),m(o,1),o.m(t,l)),(!h||P[0]&16)&&L(a,"active-live",S[4]),(!h||P[0]&8192&&r!==(r=`transform: translateX(${S[13]*100}%);`))&&u(s,"style",r),(!h||P[0]&1024)&&L(s,"hidden",S[10]),(!h||P[0]&1&&c!==(c="slider "+S[0]+" v-1golz1y"))&&u(t,"class",c),(!h||P[0]&16384)&&u(t,"aria-label",S[14]),(!h||P[0]&32768)&&u(t,"aria-valuemin",S[15]),(!h||P[0]&65536)&&u(t,"aria-valuemax",S[16]),(!h||P[0]&131072)&&u(t,"aria-valuenow",S[17]),(!h||P[0]&262144)&&u(t,"aria-valuetext",S[18]),(!h||P[0]&2&&f!==(f=S[1]??null))&&u(t,"data-testid",f),(!h||P[0]&513)&&L(t,"disabled",S[9]),(!h||P[0]&1048577)&&L(t,"slider-dragging",S[20]),(!h||P[0]&5)&&L(t,"hidden",S[2]),(!h||P[0]&9)&&L(t,"slider-vertical",S[3]),(!h||P[0]&1025)&&L(t,"no-handle",S[10]),(!h||P[0]&129)&&L(t,"square",S[7])},i(S){h||(m(b),m(o),h=!0)},o(S){p(b),p(o),h=!1},d(S){S&&(y(e),y(t)),b&&b.d(S),V[n].d(),i[42](null),g=!1,Xt(v)}}}function z0(i,e,t){let n,o,{className:l=""}=e,{testId:s=void 0}=e,{isHidden:a=!1}=e,{isVertical:r=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:h=!1}=e,{squareBorders:g=!1}=e,{videoEpisodes:v=[]}=e,{withWheelHandler:b=!1}=e,{isInteractive:_=!1}=e,{disabled:V=!1}=e,{hideHandel:A=!1}=e,S,P,{onPointerDown:B=ne.noop}=e,{onHandleMove:W=ne.noop}=e,{onPointerUp:X=ne.noop}=e,{onPointerEnter:j=ne.noop}=e,{onPointerMove:T=ne.noop}=e,{onPointerLeave:te=ne.noop}=e,{onWheelUp:Z=ne.noop}=e,{onWheelDown:ie=ne.noop}=e,{onWheelLeft:G=ne.noop}=e,{onWheelRight:J=ne.noop}=e,{loadedProgress:ce=0}=e,{filledProgress:w=0}=e,{handleProgress:le=0}=e,{ariaLabel:de=""}=e,{ariaValueMin:_e=void 0}=e,{ariaValueMax:Ne=void 0}=e,{ariaValueNow:Le=void 0}=e,{ariaValueText:ye=""}=e;const H=Gi();let M=!1,Y;function ge(re){if(M)return;t(20,M=!0),P=S.getBoundingClientRect();const qe=Ae(re.clientX,re.clientY);B(qe),S.setPointerCapture(re.pointerId)}function ee(re){const qe=Ae(re.clientX,re.clientY),We=x(re.clientX);T(qe,We,P.width),M&&W(qe)}function N(re){if(!M)return;t(20,M=!1);const qe=Ae(re.clientX,re.clientY);X(qe)}function Q(re){P=S.getBoundingClientRect();const qe=Ae(re.clientX,re.clientY),We=x(re.clientX);j(qe,We,P.width)}function Ie(){te()}function Ce(re){b&&(re.preventDefault(),re.deltaY<0?Z():re.deltaY>0?ie():re.deltaX>0?J():G())}function Ae(re,qe){return r?Math.max(0,Math.min(1,(P.height-(qe-P.top))/P.height)):Math.min(Math.max(re-P.x,0),P.width)/P.width}function x(re){return Math.min(Math.max(re-P.x,0),P.width)}function se(re,qe){const We=H.features.episodesClustering&&!_?H.episodeMinWidthPc:0,$e=[];let it=0,Be=0,rt=0;for(let Ve=1;Ve<v.length;Ve++)Be=v[Ve].time/Y*100,Be-it>We&&($e.push({from:it,width:Math.max(0,Be-it),loadedWidth:Math.max(0,Math.min(Be,re)-it),filledWidth:Math.max(0,Math.min(Be,qe)-it),interactive:v[Ve-1].interactive,completed:v[Ve-1].completed}),it=v[Ve].time/Y*100,rt++);const St={from:it,width:Math.max(0,100-it),loadedWidth:Math.max(0,Math.min(re,100)-it),filledWidth:Math.max(0,Math.min(qe,100)-it),interactive:v[rt].interactive,completed:v[rt].completed};100-it<We?(rt-=1,$e[rt].width+=100-it,$e[rt].loadedWidth+=Math.max(0,Math.min(re,100)-it),$e[rt].filledWidth+=Math.max(0,Math.min(qe,100)-it)):$e[rt]=St;const Re=v[0].time;if(Re!==0){const Ve=Re/Y*100;$e.unshift({from:0,width:Ve,loadedWidth:Math.min(Ve,re),filledWidth:Math.min(Ve,qe)})}return $e}function ve(re){je[re?"unshift":"push"](()=>{S=re,t(19,S)})}return i.$$set=re=>{"className"in re&&t(0,l=re.className),"testId"in re&&t(1,s=re.testId),"isHidden"in re&&t(2,a=re.isHidden),"isVertical"in re&&t(3,r=re.isVertical),"isActiveLive"in re&&t(4,c=re.isActiveLive),"isMobile"in re&&t(5,f=re.isMobile),"isAds"in re&&t(6,h=re.isAds),"squareBorders"in re&&t(7,g=re.squareBorders),"videoEpisodes"in re&&t(28,v=re.videoEpisodes),"withWheelHandler"in re&&t(29,b=re.withWheelHandler),"isInteractive"in re&&t(8,_=re.isInteractive),"disabled"in re&&t(9,V=re.disabled),"hideHandel"in re&&t(10,A=re.hideHandel),"onPointerDown"in re&&t(30,B=re.onPointerDown),"onHandleMove"in re&&t(31,W=re.onHandleMove),"onPointerUp"in re&&t(32,X=re.onPointerUp),"onPointerEnter"in re&&t(33,j=re.onPointerEnter),"onPointerMove"in re&&t(34,T=re.onPointerMove),"onPointerLeave"in re&&t(35,te=re.onPointerLeave),"onWheelUp"in re&&t(36,Z=re.onWheelUp),"onWheelDown"in re&&t(37,ie=re.onWheelDown),"onWheelLeft"in re&&t(38,G=re.onWheelLeft),"onWheelRight"in re&&t(39,J=re.onWheelRight),"loadedProgress"in re&&t(11,ce=re.loadedProgress),"filledProgress"in re&&t(12,w=re.filledProgress),"handleProgress"in re&&t(13,le=re.handleProgress),"ariaLabel"in re&&t(14,de=re.ariaLabel),"ariaValueMin"in re&&t(15,_e=re.ariaValueMin),"ariaValueMax"in re&&t(16,Ne=re.ariaValueMax),"ariaValueNow"in re&&t(17,Le=re.ariaValueNow),"ariaValueText"in re&&t(18,ye=re.ariaValueText)},i.$$.update=()=>{i.$$.dirty[0]&65536&&t(40,Y=Ne??0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=v[v.length-1]?.time<Y),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=v.length&&n&&Y?se(ce*100,w*100):[])},[l,s,a,r,c,f,h,g,_,V,A,ce,w,le,de,_e,Ne,Le,ye,S,M,o,ge,ee,N,Q,Ie,Ce,v,b,B,W,X,j,T,te,Z,ie,G,J,Y,n,ve]}class Xo extends we{constructor(e){super(),ke(this,e,z0,B0,be,{className:0,testId:1,isHidden:2,isVertical:3,isActiveLive:4,isMobile:5,isAds:6,squareBorders:7,videoEpisodes:28,withWheelHandler:29,isInteractive:8,disabled:9,hideHandel:10,onPointerDown:30,onHandleMove:31,onPointerUp:32,onPointerEnter:33,onPointerMove:34,onPointerLeave:35,onWheelUp:36,onWheelDown:37,onWheelLeft:38,onWheelRight:39,loadedProgress:11,filledProgress:12,handleProgress:13,ariaLabel:14,ariaValueMin:15,ariaValueMax:16,ariaValueNow:17,ariaValueText:18},M0,[-1,-1])}}const en=(i,e)=>Zn[i]>=Zn[e],O0=(i,e)=>Zn[i]<Zn[e],$r=(i,e)=>Zn[i]<=Zn[e],D0=i=>i>Fn.L?exports.GridTypes.XL:i>Fn.M?exports.GridTypes.L:i>Fn.S?exports.GridTypes.M:i>Fn.XS?exports.GridTypes.S:exports.GridTypes.XS;function H0(i){Ue(i,"v-1l78lz9",".volumeBar-container.v-1l78lz9{display:flex;align-items:center}.volumeBar-container.vertical.v-1l78lz9,.vertical.v-1l78lz9 .tooltip-wrapper,.vertical.v-1l78lz9 .btn{width:40px}.volumeBar.v-1l78lz9{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1l78lz9{padding:0 8px 0 0;width:0}")}function F0(i){let e,t;return e=new So({props:{volume:i[4],muted:i[2]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&16&&(l.volume=n[4]),o[0]&4&&(l.muted=n[2]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function U0(i){let e,t;return e=new fi({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],ariaKeyShortCut:Co[Fe.KeyM],$$slots:{default:[F0]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&1&&(l.disabled=!n[0]),o[0]&8&&(l.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(l.ariaLabel=n[7]),o[0]&2&&(l.click=n[1]),o[0]&20|o[1]&1&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ms(i){let e,t,n;return t=new Xo({props:{className:i[3]?"volumeBar-slider-vertical":"",isHidden:i[3]&&!i[5],isVertical:i[3],withWheelHandler:!0,onWheelUp:i[13],onWheelDown:i[14],onPointerDown:i[12],onHandleMove:i[15],onPointerUp:i[16],onPointerEnter:i[3]?i[17]:ne.noop,onPointerLeave:i[3]?i[18]:ne.noop,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(i[8]*100),ariaValueText:`${Math.round(i[8]*100)}%`,filledProgress:i[8],handleProgress:i[8],testId:i[3]?"volume-slider-vertical":"volume-slider"}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),L(e,"volumeBar-vertical",i[3])},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.className=o[3]?"volumeBar-slider-vertical":""),l[0]&40&&(s.isHidden=o[3]&&!o[5]),l[0]&8&&(s.isVertical=o[3]),l[0]&8&&(s.onPointerEnter=o[3]?o[17]:ne.noop),l[0]&8&&(s.onPointerLeave=o[3]?o[18]:ne.noop),l[0]&256&&(s.ariaValueNow=Math.round(o[8]*100)),l[0]&256&&(s.ariaValueText=`${Math.round(o[8]*100)}%`),l[0]&256&&(s.filledProgress=o[8]),l[0]&256&&(s.handleProgress=o[8]),l[0]&8&&(s.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(s),(!n||l[0]&8)&&L(e,"volumeBar-vertical",o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function q0(i){let e,t,n,o,l,s;t=new xr({props:{content:i[6],translateY:-18,$$slots:{default:[U0]},$$scope:{ctx:i}}});let a=i[0]&&ms(i);return{c(){e=k("div"),D(t.$$.fragment),n=R(),a&&a.c(),u(e,"class","volumeBar-container v-1l78lz9"),L(e,"vertical",i[3])},m(r,c){C(r,e,c),z(t,e,null),d(e,n),a&&a.m(e,null),o=!0,l||(s=[Ee(e,"mouseenter",function(){hn(i[3]?i[19]:ne.noop)&&(i[3]?i[19]:ne.noop).apply(this,arguments)}),Ee(e,"mouseleave",function(){hn(i[3]?i[20]:ne.noop)&&(i[3]?i[20]:ne.noop).apply(this,arguments)}),Ee(e,"wheel",ci(i[21]))],l=!0)},p(r,c){i=r;const f={};c[0]&64&&(f.content=i[6]),c[0]&159|c[1]&1&&(f.$$scope={dirty:c,ctx:i}),t.$set(f),i[0]?a?(a.p(i,c),c[0]&1&&m(a,1)):(a=ms(i),a.c(),m(a,1),a.m(e,null)):a&&(he(),p(a,1,1,()=>{a=null}),pe()),(!o||c[0]&8)&&L(e,"vertical",i[3])},i(r){o||(m(t.$$.fragment,r),m(a),o=!0)},o(r){p(t.$$.fragment,r),p(a),o=!1},d(r){r&&y(e),O(t),a&&a.d(),l=!1,Xt(s)}}}function W0(i,e,t){let n,o,l,{isAudioAvailable:s=!0}=e,{click:a}=e;const r=_t(),c=Gi(),f=r.state.volume$;F(i,f,_e=>t(4,n=_e));const h=r.state.muted$;F(i,h,_e=>t(23,l=_e));const g=r.actions.internal.setVolume,v=r.ui.currentGridType$;F(i,v,_e=>t(22,o=_e));let b=!1,_,V,A,S,P,B,W=1,X=!1;function j(_e){W=n,g(_e)}function T(){Wr(r,n,c.controls.volumeStepWheel)}function te(){jr(r,n,c.controls.volumeStepWheel)}function Z(_e){g(_e)}function ie(_e){const Ne=_e;g(Ne,Ne===0?W:Ne)}function G(){X=!0}function J(){X=!1,le()}function ce(){clearTimeout(_),t(5,b=!0)}function w(){le()}function le(){_=window.setTimeout(()=>{X||t(5,b=!1)},c.controls.volumeBarTimeout)}function de(_e){_e.deltaY<0?T():_e.deltaY>0&&te()}return i.$$set=_e=>{"isAudioAvailable"in _e&&t(0,s=_e.isAudioAvailable),"click"in _e&&t(1,a=_e.click)},i.$$.update=()=>{i.$$.dirty[0]&8388609&&t(2,S=!s||l),i.$$.dirty[0]&4194304&&t(3,P=$r(o,exports.GridTypes.S)),i.$$.dirty[0]&12&&(P?t(6,V=""):t(6,V=U(S?"tooltip_volume":"tooltip_volume_muted")),t(7,A=U(S?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,B=S?0:n)},[s,a,S,P,n,b,V,A,B,f,h,v,j,T,te,Z,ie,G,J,ce,w,de,o,l]}class j0 extends we{constructor(e){super(),ke(this,e,W0,q0,be,{isAudioAvailable:0,click:1},H0,[-1,-1])}}function Z0(i){let e;return{c(){e=I("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function G0(i){let e;return{c(){e=I("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function K0(i){let e,t,n;function o(a,r){return a[0]?G0:Z0}let l=o(i),s=l(i);return{c(){e=I("svg"),t=I("g"),s.c(),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(a,r){C(a,e,r),d(e,t),s.m(t,null)},p(a,[r]){l!==(l=o(a))&&(s.d(1),s=l(a),s&&(s.c(),s.m(t,null))),r&1&&n!==(n=a[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:K,o:K,d(a){a&&y(e),s.d()}}}function Y0(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class Q0 extends we{constructor(e){super(),ke(this,e,Y0,K0,be,{isFullscreen:0})}}function X0(i){let e,t;return e=new Q0({props:{isFullscreen:i[0]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isFullscreen=n[0]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function J0(i){let e,t;return e=new fi({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],ariaKeyShortCut:Co[Fe.KeyF],$$slots:{default:[X0]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&4&&(l.ariaLabel=n[2]),o&2&&(l.click=n[1]),o&9&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function x0(i,e,t){let{isFullscreen:n=!1}=e,{click:o=ne.noop}=e,l;return i.$$set=s=>{"isFullscreen"in s&&t(0,n=s.isFullscreen),"click"in s&&t(1,o=s.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=U(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,l]}class e1 extends we{constructor(e){super(),ke(this,e,x0,J0,be,{isFullscreen:0,click:1})}}function $0(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Jo extends we{constructor(e){super(),ke(this,e,null,$0,be,{})}}function ed(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class t1 extends we{constructor(e){super(),ke(this,e,null,ed,be,{})}}function td(i){Ue(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function hs(i){let e;return{c(){e=k("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function id(i){let e,t,n,o,l=i[0]&&hs();var s=i[6];function a(r){return{}}return s&&(n=ln(s,a())),{c(){l&&l.c(),e=R(),t=k("div"),n&&D(n.$$.fragment),u(t,"class","v-1ot3duq"),L(t,"mobile",i[0])},m(r,c){l&&l.m(r,c),C(r,e,c),C(r,t,c),n&&z(n,t,null),o=!0},p(r,c){if(r[0]?l||(l=hs(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),c&64&&s!==(s=r[6])){if(n){he();const f=n;p(f.$$.fragment,1,0,()=>{O(f,1)}),pe()}s?(n=ln(s,a()),D(n.$$.fragment),m(n.$$.fragment,1),z(n,t,null)):n=null}(!o||c&1)&&L(t,"mobile",r[0])},i(r){o||(n&&m(n.$$.fragment,r),o=!0)},o(r){n&&p(n.$$.fragment,r),o=!1},d(r){r&&(y(e),y(t)),l&&l.d(r),n&&O(n)}}}function nd(i){let e,t;return e=new fi({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-play",click:i[4]?i[8]:i[3],disabled:i[1],ariaLabel:i[5],ariaKeyShortCut:Co[Fe.KeyK],$$slots:{default:[id]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&5&&(l.className=(n[0]?"btn-m--play":"")+" "+n[2]),o&24&&(l.click=n[4]?n[8]:n[3]),o&2&&(l.disabled=n[1]),o&32&&(l.ariaLabel=n[5]),o&4161&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function od(i,e,t){let n,o;const{fakeIsPlaying$:l}=vr();F(i,l,_=>t(11,o=_));let{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:r=!1}=e,{className:c=""}=e,{click:f=ne.noop}=e;const{toggle:h}=l;let g,v,b;return i.$$set=_=>{"isMobile"in _&&t(0,s=_.isMobile),"isPlaying"in _&&t(9,a=_.isPlaying),"disabled"in _&&t(1,r=_.disabled),"className"in _&&t(2,c=_.className),"click"in _&&t(3,f=_.click)},i.$$.update=()=>{i.$$.dirty&2048&&t(4,g=o!==null),i.$$.dirty&2576&&t(10,v=g?o:a),i.$$.dirty&1024&&t(5,b=U(v?"tooltip_pause":"tooltip_play")),i.$$.dirty&1024&&t(6,n=v?t1:Jo)},[s,r,c,f,g,b,n,l,h,a,v,o]}class xo extends we{constructor(e){super(),ke(this,e,od,nd,be,{isMobile:0,isPlaying:9,disabled:1,className:2,click:3},td)}}function ld(i){Ue(i,"v-mb3pjo",".prev.v-mb3pjo{transform:scaleX(-1)}.mobile.v-mb3pjo{transform:scale(1.3333)}.mobile.prev.v-mb3pjo{transform:scaleX(-1) scale(1.3333)}")}function sd(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),u(t,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(t,"fill","#fff"),u(e,"data-testid",n=i[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),L(e,"prev",i[0]),L(e,"mobile",i[1])},m(o,l){C(o,e,l),d(e,t)},p(o,[l]){l&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),l&1&&L(e,"prev",o[0]),l&2&&L(e,"mobile",o[1])},i:K,o:K,d(o){o&&y(e)}}}function ad(i,e,t){let{isPrev:n=!1}=e,{isMobile:o=!1}=e;return i.$$set=l=>{"isPrev"in l&&t(0,n=l.isPrev),"isMobile"in l&&t(1,o=l.isMobile)},[n,o]}class rd extends we{constructor(e){super(),ke(this,e,ad,sd,be,{isPrev:0,isMobile:1},ld)}}function ud(i){let e,t;return e=new rd({props:{isMobile:i[0],isPrev:i[2]==="prev"}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isMobile=n[0]),o&4&&(l.isPrev=n[2]==="prev"),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function cd(i){let e,t;return e=new fi({props:{testId:"btn-"+i[2],disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[ud]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&4&&(l.testId="btn-"+n[2]),o&2&&(l.disabled=n[1]),o&16&&(l.ariaLabel=n[4]),o&8&&(l.click=n[3]),o&37&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function fd(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{type:l}=e,{click:s}=e,a;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"disabled"in r&&t(1,o=r.disabled),"type"in r&&t(2,l=r.type),"click"in r&&t(3,s=r.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,a=U(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,l,s,a]}class To extends we{constructor(e){super(),ke(this,e,fd,cd,be,{isMobile:0,disabled:1,type:2,click:3})}}function dd(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class md extends we{constructor(e){super(),ke(this,e,null,dd,be,{})}}function ps(i){let e,t,n,o,l,s,a;return{c(){e=I("path"),t=I("path"),n=I("path"),o=I("path"),l=I("path"),s=I("path"),a=I("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(t,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(t,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"fill","white"),u(l,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(l,"fill","white"),u(s,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(s,"fill","white"),u(a,"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(a,"fill","white")},m(r,c){C(r,e,c),C(r,t,c),C(r,n,c),C(r,o,c),C(r,l,c),C(r,s,c),C(r,a,c)},d(r){r&&(y(e),y(t),y(n),y(o),y(l),y(s),y(a))}}}function hd(i){let e,t,n,o=!i[0]&&ps();return{c(){e=I("svg"),t=I("path"),o&&o.c(),u(t,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(t,"fill","white"),u(e,"width",i[1]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(i[1]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",i[2])},m(l,s){C(l,e,s),d(e,t),o&&o.m(e,null)},p(l,[s]){l[0]?o&&(o.d(1),o=null):o||(o=ps(),o.c(),o.m(e,null)),s&2&&u(e,"width",l[1]),s&2&&n!==(n="0 0 "+(l[1]+1)+" 20")&&u(e,"viewBox",n),s&4&&u(e,"data-testid",l[2])},i:K,o:K,d(l){l&&y(e),o&&o.d()}}}function pd(i,e,t){let{short:n=!1}=e,o,l;return i.$$set=s=>{"short"in s&&t(0,n=s.short)},i.$$.update=()=>{i.$$.dirty&1&&(t(1,o=n?20:93),t(2,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,l]}class gd extends we{constructor(e){super(),ke(this,e,pd,hd,be,{short:0})}}function bd(i){let e,t;return e=new md({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p:K,i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function vd(i){let e,t;return e=new gd({props:{short:i[3]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&8&&(l.short=n[3]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function _d(i){let e,t,n,o;const l=[vd,bd],s=[];function a(r,c){return r[1]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,c){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function kd(i){let e,t;return e=new fi({props:{className:"btn-full-opacity",disabled:!i[0],click:i[7],testId:i[1]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:i[2],$$slots:{default:[_d]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.disabled=!n[0]),o&2&&(l.testId=n[1]?"btn-vk-video-logo":"btn-vk-logo"),o&4&&(l.ariaLabel=n[2]),o&131082&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function wd(i,e,t){let n,o,l,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:r}=e;const c=Gi(),{logoLink:f,addTimeToLogoLink:h}=c,g=_t(),v=g.state.positionWithScrubbing$;F(i,v,B=>t(12,n=B));const b=g.ui.currentGridType$;F(i,b,B=>t(10,o=B));const _=g.ui.isMobile;F(i,_,B=>t(11,l=B));let V,A,S;const P=()=>{let B;if(A||!a)B=f;else{const W=Math.round(n);if(h&&W){const X=new URL(a);X.searchParams.append("t",ne.timeCodeToString(W)),B=X.toString()}else B=a}r(),window.open(B,"_blank")};return i.$$set=B=>{"logoClickable"in B&&t(0,s=B.logoClickable),"videoLogoUrl"in B&&t(8,a=B.videoLogoUrl),"click"in B&&t(9,r=B.click)},i.$$.update=()=>{i.$$.dirty&3074&&t(3,S=(l||$r(o,exports.GridTypes.L))&&A)},t(2,V=c.logoType===jn.VK_VIDEO?U("tooltip_vk_video_logo"):U("tooltip_vk_logo")),t(1,A=c.logoType===jn.VK_VIDEO),[s,A,V,S,v,b,_,P,a,r,o,l]}class i1 extends we{constructor(e){super(),ke(this,e,wd,kd,be,{logoClickable:0,videoLogoUrl:8,click:9})}}function yd(i){Ue(i,"v-8z1bf5",".connecting.v-8z1bf5 .wave.v-8z1bf5{animation-duration:1s;animation-iteration-count:infinite}.connecting.v-8z1bf5 .wave1.v-8z1bf5{animation-name:v-8z1bf5-wave1}.connecting.v-8z1bf5 .wave2.v-8z1bf5{animation-name:v-8z1bf5-wave2}.connecting.v-8z1bf5 .wave3.v-8z1bf5{animation-name:v-8z1bf5-wave3}@keyframes v-8z1bf5-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function Cd(i){let e,t,n,o,l,s,a,r;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),s=I("path"),a=I("path"),r=I("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(l,"class","wave wave3 v-8z1bf5"),u(l,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(l,"fill","#fff"),u(s,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(s,"fill","#fff"),u(a,"d","M0 0h24v24H0z"),u(r,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(r,"fill","#fff"),L(r,"hidden",!i[1]),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-icon"),u(e,"class","v-8z1bf5"),L(e,"connecting",i[2])},m(c,f){C(c,e,f),d(e,t),d(t,n),d(t,o),d(t,l),d(t,s),d(t,a),d(t,r)},p(c,f){f&2&&L(r,"hidden",!c[1]),f&4&&L(e,"connecting",c[2])},d(c){c&&y(e)}}}function Pd(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W;return{c(){e=I("svg"),t=I("g"),n=I("mask"),o=I("path"),s=I("path"),a=I("path"),c=I("path"),f=I("defs"),h=I("clipPath"),g=I("path"),b=I("filter"),_=I("feFlood"),V=I("feColorMatrix"),A=I("feOffset"),S=I("feGaussianBlur"),P=I("feColorMatrix"),B=I("feBlend"),W=I("feBlend"),u(o,"fill",l=i[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(a,"fill-rule","evenodd"),u(a,"clip-rule","evenodd"),u(a,"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(a,"fill",r=i[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(g,"fill",v=i[1]?"#2688EB":"#fff"),u(g,"d","M0 0h24v24H0z"),u(h,"id","a"),u(_,"flood-opacity","0"),u(_,"result","BackgroundImageFix"),u(V,"in","SourceAlpha"),u(V,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(V,"result","hardAlpha"),u(S,"stdDeviation","2.5"),u(P,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(B,"in2","BackgroundImageFix"),u(B,"result","effect1_dropShadow_4085_178456"),u(W,"in","SourceGraphic"),u(W,"in2","effect1_dropShadow_4085_178456"),u(W,"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(X,j){C(X,e,j),d(e,t),d(t,n),d(n,o),d(n,s),d(t,a),d(t,c),d(e,f),d(f,h),d(h,g),d(f,b),d(b,_),d(b,V),d(b,A),d(b,S),d(b,P),d(b,B),d(b,W)},p(X,j){j&2&&l!==(l=X[1]?"#2688EB":"#fff")&&u(o,"fill",l),j&2&&r!==(r=X[1]?"#2688EB":"#fff")&&u(a,"fill",r),j&2&&v!==(v=X[1]?"#2688EB":"#fff")&&u(g,"fill",v)},d(X){X&&y(e)}}}function Sd(i){let e;function t(l,s){return l[0]?Pd:Cd}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},m(l,s){o.m(l,s),C(l,e,s)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:K,o:K,d(l){l&&y(e),o.d(l)}}}function Td(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,l,s;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"state"in a&&t(3,o=a.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,s=o===Je.ChromecastState.CONNECTING),t(1,l=o===Je.ChromecastState.CONNECTED))},[n,l,s,o]}class Ad extends we{constructor(e){super(),ke(this,e,Td,Sd,be,{isMobile:0,state:3},yd)}}function Ed(i){let e,t;return e=new Ad({props:{isMobile:i[0],state:i[1]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isMobile=n[0]),o&2&&(l.state=n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ld(i){let e,t;return e=new fi({props:{ariaLabel:i[3],click:i[2],testId:"btn-chromecast",$$slots:{default:[Ed]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&8&&(l.ariaLabel=n[3]),o&4&&(l.click=n[2]),o&19&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Vd(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,{click:l=ne.noop}=e,s;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"state"in a&&t(1,o=a.state),"click"in a&&t(2,l=a.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,s=o===Je.ChromecastState.CONNECTED?U("tooltip_chromecast_on"):U("tooltip_chromecast_off"))},[n,o,l,s]}class n1 extends we{constructor(e){super(),ke(this,e,Vd,Ld,be,{isMobile:0,state:1,click:2})}}function Id(i){let e,t;return e=new Dr({props:{isActive:i[1]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.isActive=n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Md(i){let e,t;return e=new fi({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1]&&i[3]===Je.PlaybackState.PLAYING,ariaLabel:i[2],click:i[4],$$slots:{default:[Id]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(l.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(l.disabled=n[1]&&n[3]===Je.PlaybackState.PLAYING),o&4&&(l.ariaLabel=n[2]),o&16&&(l.click=n[4]),o&514&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Nd(i,e,t){let n,{isMobile:o=!1}=e,{isActiveLive:l=!1}=e,{ariaLabel:s=""}=e;const a=_t(),r=a.state.playbackState$;F(i,r,g=>t(3,n=g));const c=a.actions.internal.switchToActiveLive,f=a.actions.internal.togglePlay;let h;return i.$$set=g=>{"isMobile"in g&&t(0,o=g.isMobile),"isActiveLive"in g&&t(1,l=g.isActiveLive),"ariaLabel"in g&&t(2,s=g.ariaLabel)},i.$$.update=()=>{i.$$.dirty&10&&t(4,h=()=>{if(!l){c();return}n===Je.PlaybackState.PAUSED&&f()})},[o,l,s,n,h,r]}class o1 extends we{constructor(e){super(),ke(this,e,Nd,Md,be,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function Rd(i){Ue(i,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function Bd(i){let e,t,n,o;const l=i[9].default,s=pn(l,i,i[8],null);return{c(){e=k("div"),t=k("div"),s&&s.c(),u(t,"class","tooltip v-5ygsa2"),L(t,"active",i[0]),L(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(a,r){C(a,e,r),d(e,t),s&&s.m(t,null),i[10](t),i[11](e),o=!0},p(a,[r]){s&&s.p&&(!o||r&256)&&bn(s,l,a,a[8],o?gn(l,a[8],r,null):vn(a[8]),null),(!o||r&1)&&L(t,"active",a[0]),(!o||r&2)&&L(t,"pointer",a[1]),(!o||r&36&&n!==(n=`transform: translate(${a[5]}px, ${a[2]}px);`))&&u(e,"style",n)},i(a){o||(m(s,a),o=!0)},o(a){p(s,a),o=!1},d(a){a&&y(e),s&&s.d(a),i[10](null),i[11](null)}}}function zd(i,e,t){let n,{$$slots:o={},$$scope:l}=e,{active:s=!1}=e,{pointer:a=!1}=e,{translateXPx:r=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,h,g;function v(V){if(!g)return 0;const{width:A}=g.getBoundingClientRect(),S=A/2;return V<S?S:V>f-S?f-S:V}function b(V){je[V?"unshift":"push"](()=>{g=V,t(4,g)})}function _(V){je[V?"unshift":"push"](()=>{h=V,t(3,h)})}return i.$$set=V=>{"active"in V&&t(0,s=V.active),"pointer"in V&&t(1,a=V.pointer),"translateXPx"in V&&t(6,r=V.translateXPx),"translateYPx"in V&&t(2,c=V.translateYPx),"containerWidth"in V&&t(7,f=V.containerWidth),"$$scope"in V&&t(8,l=V.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=v(r))},[s,a,c,h,g,n,r,f,l,o,b,_]}class Od extends we{constructor(e){super(),ke(this,e,zd,Bd,be,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Rd)}}const l1=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function Dd(i){Ue(i,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function gs(i){let e;function t(l,s){return l[2]&&l[10].completed===!1?Fd:Hd}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},m(l,s){o.m(l,s),C(l,e,s)},p(l,s){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&y(e),o.d(l)}}}function Hd(i){let e=(i[10].text||"")+"",t;return{c(){t=Oe(e)},m(n,o){C(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&xe(t,e)},d(n){n&&y(t)}}}function Fd(i){let e=U("tooltip_episode_unfinished")+"",t;return{c(){t=Oe(e)},m(n,o){C(n,t,o)},p:K,d(n){n&&y(t)}}}function Ud(i){let e,t,n,o,l,s,a,r,c=i[10]&&gs(i);return{c(){e=k("div"),t=k("div"),o=R(),l=k("div"),c&&c.c(),s=R(),a=k("div"),r=Oe(i[0]),u(t,"class","preview v-l51fc1"),u(t,"style",n=`width: ${i[3]}px; height: ${i[4]}px; background-image: url(${i[5]}); background-size: ${i[6]}px ${i[7]}px; background-position: ${i[8]}px ${i[9]}px; transform: translateY(${i[11]%180?-35:0}px) rotate(${i[11]}deg);`),u(l,"class","episode v-l51fc1"),u(a,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),L(e,"mobile",i[1])},m(f,h){C(f,e,h),d(e,t),d(e,o),d(e,l),c&&c.m(l,null),d(e,s),d(e,a),d(a,r)},p(f,[h]){h&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(t,"style",n),f[10]?c?c.p(f,h):(c=gs(f),c.c(),c.m(l,null)):c&&(c.d(1),c=null),h&1&&xe(r,f[0]),h&2&&L(e,"mobile",f[1])},i:K,o:K,d(f){f&&y(e),c&&c.d()}}}const Dn=150;function qd(i,e,t){let n,{time:o=""}=e,{isMobile:l=!1}=e,{videoEpisodes:s=[]}=e,{previewThumbsData:a}=e,{progress:r=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const g=_t().ui.rotateAlpha;F(i,g,j=>t(11,n=j));let v,b,_,V,A,S,P,B;function W(){let j=a.frameWidth,T=a.frameHeight;return j>Dn?(T=T/j*Dn,j=Dn):T>Dn&&(j=j/T*Dn,T=Dn),{width:j,height:T}}function X(j){let T;a.isUV?T=Math.floor(c*j/a.frequency):T=Math.min(a.countTotal,Math.max(0,Math.floor(a.countTotal*j)));const te=Math.floor(T/a.countPerImage),Z=Math.floor(T%a.countPerImage/a.countPerRow),ie=T%a.countPerRow;let G=Math.floor(a.countPerImage/a.countPerRow);!a.isUV&&te===Math.floor(a.countTotal/a.countPerImage)&&(G=Math.floor(a.countTotal%a.countPerImage/a.countPerRow),a.countTotal%a.countPerImage%a.countPerRow>0&&G++);let J=a.countPerRow;!a.isUV&&te===Math.floor(a.countTotal/a.countPerImage)&&a.countTotal%a.countPerImage>0&&(J=Math.min(a.countPerRow,a.countTotal%a.countPerImage));const ce=v*J,w=b*G,le=-ie*v,de=-Z*b;return{imgSrc:a.links[te],imgWidth:ce,imgHeight:w,imgOffsetX:le,imgOffsetY:de}}return i.$$set=j=>{"time"in j&&t(0,o=j.time),"isMobile"in j&&t(1,l=j.isMobile),"videoEpisodes"in j&&t(13,s=j.videoEpisodes),"previewThumbsData"in j&&t(14,a=j.previewThumbsData),"progress"in j&&t(15,r=j.progress),"duration"in j&&t(16,c=j.duration),"isInteractive"in j&&t(2,f=j.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:_,imgWidth:V,imgHeight:A,imgOffsetX:S,imgOffsetY:P}=X(r),_,(t(6,V),t(15,r)),(t(7,A),t(15,r)),(t(8,S),t(15,r)),(t(9,P),t(15,r))),i.$$.dirty&106496&&t(10,B=l1(r,c,s))},t(3,{width:v,height:b}=W(),v,t(4,b)),[o,l,f,v,b,_,V,A,S,P,B,n,g,s,a,r,c]}class Wd extends we{constructor(e){super(),ke(this,e,qd,Ud,be,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},Dd)}}function jd(i){Ue(i,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function Zd(i){let e,t;return{c(){e=k("span"),t=Oe(i[7]),u(e,"class","time v-5lzly8")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o[0]&128&&xe(t,n[7])},i:K,o:K,d(n){n&&y(e)}}}function Gd(i){let e,t;return e=new Wd({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&128&&(l.time=n[7]),o[0]&1024&&(l.isMobile=n[10]),o[0]&8&&(l.videoEpisodes=n[3]),o[0]&256&&(l.progress=n[8]),o[0]&2&&(l.duration=n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Kd(i){let e,t,n,o;const l=[Gd,Zd],s=[];function a(r,c){return r[14].features.timelinePreview&&r[21]&&!r[0]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,c){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function Yd(i){let e,t,n,o;const l=[i[9]];let s={$$slots:{default:[Kd]},$$scope:{ctx:i}};for(let a=0;a<l.length;a+=1)s=sr(s,l[a]);return e=new Od({props:s}),n=new Xo({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:U("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:U("aria_timeline_value",{position:i[5],duration:i[4]}),loadedProgress:i[12],filledProgress:i[6],handleProgress:i[6],videoEpisodes:i[3],onPointerDown:i[27],onHandleMove:i[28],onPointerMove:i[31],onPointerUp:i[29],onPointerEnter:i[30],onPointerLeave:i[32],isInteractive:i[23],disabled:i[13].has(ft.TIMELINE),hideHandel:i[2]}}),{c(){D(e.$$.fragment),t=R(),D(n.$$.fragment)},m(a,r){z(e,a,r),C(a,t,r),z(n,a,r),o=!0},p(a,r){const c=r[0]&512?Q1(l,[X1(a[9])]):{};r[0]&1419|r[1]&65536&&(c.$$scope={dirty:r,ctx:a}),e.$set(c);const f={};r[0]&2048&&(f.isActiveLive=a[11]),r[0]&1024&&(f.isMobile=a[10]),r[0]&2&&(f.ariaValueMax=a[1]),r[0]&64&&(f.ariaValueNow=Math.round(a[6]*100)),r[0]&48&&(f.ariaValueText=U("aria_timeline_value",{position:a[5],duration:a[4]})),r[0]&4096&&(f.loadedProgress=a[12]),r[0]&64&&(f.filledProgress=a[6]),r[0]&64&&(f.handleProgress=a[6]),r[0]&8&&(f.videoEpisodes=a[3]),r[0]&8192&&(f.disabled=a[13].has(ft.TIMELINE)),r[0]&4&&(f.hideHandel=a[2]),n.$set(f)},i(a){o||(m(e.$$.fragment,a),m(n.$$.fragment,a),o=!0)},o(a){p(e.$$.fragment,a),p(n.$$.fragment,a),o=!1},d(a){a&&y(t),O(e,a),O(n,a)}}}function Qd(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,{showTimeline:b=!1}=e;const _=_t(),V=Gi(),A=_.state.bufferedProgress$;F(i,A,ve=>t(12,g=ve));const S=_.state.positionWithScrubbing$;F(i,S,ve=>t(39,r=ve));const P=_.state.duration$;F(i,P,ve=>t(1,l=ve));const B=_.state.isLive$;F(i,B,ve=>t(0,o=ve));const W=_.state.isActiveLive$;F(i,W,ve=>t(11,h=ve));const X=_.ui.isMobile;F(i,X,ve=>t(10,f=ve));const j=V.features.episodes?_.actions.internal.getVideoEpisodes():void 0,T=_.actions.internal.getPreviewThumbsData(),te=_.state.interactiveEpisodes$;F(i,te,ve=>t(40,c=ve));const Z=_.state.isInteractive,ie=_.state.isInteractiveTime$;F(i,ie,ve=>t(2,s=ve));const G=_.state.isInteractiveExpectation$;F(i,G,ve=>t(38,a=ve));const J=_.actions.internal.correctSeekTimeToInteractive,ce=_.ui.controls.disabledControls$;F(i,ce,ve=>t(13,v=ve));let w,le,de,_e,Ne=!1,Le="",ye=0,H=0,M=0,Y;function ge(ve){return!J||!Z?ve:J(ve*l)/l}function ee(ve){_.actions.internal.startScrubbing(ge(ve))}function N(ve){s||_.actions.internal.progressScrubbing(ge(ve))}function Q(ve){_.actions.internal.completeScrubbing(ge(ve)),t(34,Ne=!1)}function Ie(ve,re,qe){x(ve,re,qe),t(34,Ne=!0)}function Ce(ve,re,qe){x(ve,re,qe),t(34,Ne=!0)}function Ae(){t(34,Ne=!1)}function x(ve,re,qe){t(8,M=ve),t(35,ye=re),qe&&t(36,H=qe),t(7,Le=se(ve))}function se(ve){const re=mn((o?1-ve:ve)*l);return o?`-${re}`:re}return i.$$set=ve=>{"showTimeline"in ve&&t(33,b=ve.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,w=Z?c:j),i.$$.dirty[0]&2&&t(4,le=mn(l)),i.$$.dirty[1]&256&&t(5,de=mn(r)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,_e=r/l),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,Y=a||s),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:H,translateXPx:ye,translateYPx:Z&&T?-36:-16,active:Ne&&b&&!Y,pointer:!V.features.timelinePreview||!T||o})},[o,l,s,w,le,de,_e,Le,M,n,f,h,g,v,V,A,S,P,B,W,X,T,te,Z,ie,G,ce,ee,N,Q,Ie,Ce,Ae,b,Ne,ye,H,Y,a,r,c]}let Xd=class extends we{constructor(e){super(),ke(this,e,Qd,Yd,be,{showTimeline:33},jd,[-1,-1])}};function Jd(i){let e,t;return e=new Xo({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:U("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.ariaValueMax=n[0]),o&8&&(l.ariaValueNow=Math.round(n[3]*100)),o&6&&(l.ariaValueText=U("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(l.filledProgress=n[3]),o&16&&(l.squareBorders=n[4]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function xd(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const a=_t().ui.isMobile;F(i,a,h=>t(4,n=h));let r,c,f;return i.$$set=h=>{"position"in h&&t(6,o=h.position),"duration"in h&&t(0,l=h.duration)},i.$$.update=()=>{i.$$.dirty&1&&t(1,r=mn(l)),i.$$.dirty&64&&t(2,c=mn(o)),i.$$.dirty&65&&t(3,f=o/l)},[l,r,c,f,n,a,o]}class s1 extends we{constructor(e){super(),ke(this,e,xd,Jd,be,{position:6,duration:0})}}function $d(i){Ue(i,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function e2(i){let e;return{c(){e=k("div"),u(e,"class","timeline-stub v-1gqonyf"),L(e,"mobile",i[2])},m(t,n){C(t,e,n)},p(t,n){n&4&&L(e,"mobile",t[2])},i:K,o:K,d(t){t&&y(e)}}}function t2(i){let e,t,n,o;const l=[n2,i2],s=[];function a(r,c){return r[0]?0:1}return t=a(i),n=s[t]=l[t](i),{c(){e=k("div"),n.c(),u(e,"class","timeline v-1gqonyf"),L(e,"mobile",i[2])},m(r,c){C(r,e,c),s[t].m(e,null),o=!0},p(r,c){let f=t;t=a(r),t===f?s[t].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),n=s[t],n?n.p(r,c):(n=s[t]=l[t](r),n.c()),m(n,1),n.m(e,null)),(!o||c&4)&&L(e,"mobile",r[2])},i(r){o||(m(n),o=!0)},o(r){p(n),o=!1},d(r){r&&y(e),s[t].d()}}}function i2(i){let e,t;return e=new Xd({props:{showTimeline:i[1]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.showTimeline=n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function n2(i){let e,t;return e=new s1({props:{position:i[3],duration:i[4]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&8&&(l.position=n[3]),o&16&&(l.duration=n[4]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function o2(i){let e,t,n,o;const l=[t2,e2],s=[];function a(r,c){return r[1]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,[c]){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function l2(i,e,t){let n,o,l,s,{isAds:a=!1}=e,{canRewindLive:r}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const h=_t(),g=h.state.isLive$;F(i,g,A=>t(12,n=A));const v=h.ads.duration;F(i,v,A=>t(4,s=A));const b=h.ads.position;F(i,b,A=>t(3,l=A));const _=h.ui.isMobile;F(i,_,A=>t(2,o=A));let V;return i.$$set=A=>{"isAds"in A&&t(0,a=A.isAds),"canRewindLive"in A&&t(9,r=A.canRewindLive),"isRewindableLive"in A&&t(10,c=A.isRewindableLive),"isHidden"in A&&t(11,f=A.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,V=!f&&(!n||n&&r&&c||a))},[a,V,o,l,s,g,v,b,_,r,c,f,n]}class a1 extends we{constructor(e){super(),ke(this,e,l2,o2,be,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},$d)}}function s2(i){let e,t,n,o;return{c(){e=I("svg"),t=I("path"),n=I("path"),o=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(o,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),At(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(l,s){C(l,e,s),d(e,t),d(e,n),d(e,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class a2 extends we{constructor(e){super(),ke(this,e,null,s2,be,{})}}function r2(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"opacity",".7"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(t,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class u2 extends we{constructor(e){super(),ke(this,e,null,r2,be,{})}}function c2(i){Ue(i,"v-1yhs2ga",".text.v-1yhs2ga{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text.count.v-1yhs2ga{overflow:visible}.text.mobile.v-1yhs2ga{padding:0 3px 0 4px}.chevron-episodes.v-1yhs2ga{margin-bottom:-4px}")}function f2(i){let e,t,n,o;e=new a2({});function l(r,c){if(r[2]===In.FULL)return h2;if(r[2]===In.COUNT)return m2}let s=l(i),a=s&&s(i);return{c(){D(e.$$.fragment),t=R(),a&&a.c(),n=ht()},m(r,c){z(e,r,c),C(r,t,c),a&&a.m(r,c),C(r,n,c),o=!0},p(r,c){s===(s=l(r))&&a?a.p(r,c):(a&&a.d(1),a=s&&s(r),a&&(a.c(),a.m(n.parentNode,n)))},i(r){o||(m(e.$$.fragment,r),o=!0)},o(r){p(e.$$.fragment,r),o=!1},d(r){r&&(y(t),y(n)),O(e,r),a&&a.d(r)}}}function d2(i){let e,t,n,o,l,s;return l=new u2({}),{c(){e=k("span"),t=Oe(i[1]),n=R(),o=k("div"),D(l.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(a,r){C(a,e,r),d(e,t),C(a,n,r),C(a,o,r),z(l,o,null),s=!0},p(a,r){(!s||r&2)&&xe(t,a[1])},i(a){s||(m(l.$$.fragment,a),s=!0)},o(a){p(l.$$.fragment,a),s=!1},d(a){a&&(y(e),y(n),y(o)),O(l)}}}function m2(i){let e,t=i[0].length+"",n;return{c(){e=k("span"),n=Oe(t),u(e,"class","text count v-1yhs2ga")},m(o,l){C(o,e,l),d(e,n)},p(o,l){l&1&&t!==(t=o[0].length+"")&&xe(n,t)},d(o){o&&y(e)}}}function h2(i){let e,t;return{c(){e=k("span"),t=Oe(i[1]),u(e,"class","text v-1yhs2ga")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&2&&xe(t,n[1])},d(n){n&&y(e)}}}function p2(i){let e,t,n,o;const l=[d2,f2],s=[];function a(r,c){return r[4]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,c){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function g2(i){let e,t;return e=new fi({props:{className:"w-max btn-full-opacity "+(i[4]?"px-0":""),testId:"btn-episodes",click:i[5],disabled:!i[6],ariaLabel:i[3],$$slots:{default:[p2]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&16&&(l.className="w-max btn-full-opacity "+(n[4]?"px-0":"")),o&8&&(l.ariaLabel=n[3]),o&65559&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function b2(i,e,t){let n,o,l,s,{position:a=0}=e,{duration:r=0}=e,{timeCodes:c=[]}=e;const f=_t(),h=f.callbacks?.onEpisodeChanged??ne.noop,g=f.callbacks?.onEpisodeClicked??ne.noop,v=!!f.callbacks?.onEpisodeClicked,b=f.ui.currentGridType$;F(i,b,P=>t(13,l=P));const _=f.ui.isMobile;F(i,_,P=>t(4,s=P));let V,A,S;return i.$$set=P=>{"position"in P&&t(9,a=P.position),"duration"in P&&t(10,r=P.duration),"timeCodes"in P&&t(0,c=P.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&1536&&t(12,n=a/r),i.$$.dirty&7169){const P=l1(n,r,c);P&&V?.text!==P.text&&(h(P),t(11,V=P))}i.$$.dirty&2048&&t(1,o=V?.text||""),i.$$.dirty&8192&&(en(l,exports.GridTypes.XL)?t(2,A=In.FULL):en(l,exports.GridTypes.M)&&O0(l,exports.GridTypes.XL)?t(2,A=In.COUNT):t(2,A=In.SHORT)),i.$$.dirty&2&&t(3,S=`${U("tooltip_episodes")}: ${o}`)},[c,o,A,S,s,g,v,b,_,a,r,V,n,l]}class r1 extends we{constructor(e){super(),ke(this,e,b2,g2,be,{position:9,duration:10,timeCodes:0},c2)}}function v2(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(t,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,l){C(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class _2 extends we{constructor(e){super(),ke(this,e,null,v2,be,{})}}function k2(i){let e,t;return e=new _2({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function w2(i){let e,t;return e=new fi({props:{className:i[0]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:U("tooltip_interactive_seek"),disabled:i[1],click:i[2],$$slots:{default:[k2]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"hidden":""),o&2&&(l.disabled=n[1]),o&4&&(l.click=n[2]),o&8&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function y2(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=s=>{"hidden"in s&&t(0,n=s.hidden),"disabled"in s&&t(1,o=s.disabled),"click"in s&&t(2,l=s.click)},[n,o,l]}class u1 extends we{constructor(e){super(),ke(this,e,y2,w2,be,{hidden:0,disabled:1,click:2})}}function C2(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),L(n,"hidden",!i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){C(o,e,l),d(e,t),d(e,n)},p(o,[l]){l&1&&L(n,"hidden",!o[0])},i:K,o:K,d(o){o&&y(e)}}}function P2(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class S2 extends we{constructor(e){super(),ke(this,e,P2,C2,be,{isOpened:0})}}function T2(i){let e,t;return e=new S2({props:{isOpened:i[2]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&4&&(l.isOpened=n[2]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function A2(i){let e,t;return e=new fi({props:{className:i[0]?"hidden":"",testId:"btn-graph",disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[T2]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"hidden":""),o&2&&(l.disabled=n[1]),o&16&&(l.ariaLabel=n[4]),o&8&&(l.click=n[3]),o&36&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function E2(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{graphIsOpened:l=!1}=e,{click:s}=e,a;return i.$$set=r=>{"hidden"in r&&t(0,n=r.hidden),"disabled"in r&&t(1,o=r.disabled),"graphIsOpened"in r&&t(2,l=r.graphIsOpened),"click"in r&&t(3,s=r.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,a=U(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,l,s,a]}class c1 extends we{constructor(e){super(),ke(this,e,E2,A2,be,{hidden:0,disabled:1,graphIsOpened:2,click:3})}}function L2(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class V2 extends we{constructor(e){super(),ke(this,e,null,L2,be,{})}}function I2(i){Ue(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function bs(i){let e;return{c(){e=k("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function M2(i){let e,t,n,o,l=i[0]&&bs();return n=new V2({}),{c(){l&&l.c(),e=R(),t=k("div"),D(n.$$.fragment),u(t,"class","v-1ot3duq"),L(t,"mobile",i[0])},m(s,a){l&&l.m(s,a),C(s,e,a),C(s,t,a),z(n,t,null),o=!0},p(s,a){s[0]?l||(l=bs(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),(!o||a&1)&&L(t,"mobile",s[0])},i(s){o||(m(n.$$.fragment,s),o=!0)},o(s){p(n.$$.fragment,s),o=!1},d(s){s&&(y(e),y(t)),l&&l.d(s),O(n)}}}function N2(i){let e,t;return e=new fi({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-replay",ariaLabel:U("tooltip_restart"),disabled:i[1],click:i[3],$$slots:{default:[M2]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&5&&(l.className=(n[0]?"btn-m--play":"")+" "+n[2]),o&2&&(l.disabled=n[1]),o&8&&(l.click=n[3]),o&17&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function R2(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{className:l=""}=e,{click:s=ne.noop}=e;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"disabled"in a&&t(1,o=a.disabled),"className"in a&&t(2,l=a.className),"click"in a&&t(3,s=a.click)},[n,o,l,s]}class $o extends we{constructor(e){super(),ke(this,e,R2,N2,be,{isMobile:0,disabled:1,className:2,click:3},I2)}}function B2(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class z2 extends we{constructor(e){super(),ke(this,e,null,B2,be,{})}}function O2(i){let e,t;return e=new z2({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function D2(i){let e,t;return e=new fi({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:U("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[O2]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"hidden":""),o&2&&(l.disabled=n[1]),o&4&&(l.click=n[2]),o&8&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function H2(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=s=>{"hidden"in s&&t(0,n=s.hidden),"disabled"in s&&t(1,o=s.disabled),"click"in s&&t(2,l=s.click)},[n,o,l]}class f1 extends we{constructor(e){super(),ke(this,e,H2,D2,be,{hidden:0,disabled:1,click:2})}}function F2(i){Ue(i,"v-1x1zctw",".icon.v-1x1zctw{width:24px !important;height:24px !important;;}.error-stub.v-1x1zctw{display:flex;justify-content:center;align-items:center}.inner.v-1x1zctw{width:16px;height:16px;background-color:var(--white)}")}function U2(i){let e,t,n,o;return{c(){e=k("img"),u(e,"class","icon v-1x1zctw"),sl(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(l,s){C(l,e,s),n||(o=Ee(e,"error",i[7]),n=!0)},p(l,s){s&1&&!sl(e.src,t=l[0])&&u(e,"src",t)},d(l){l&&y(e),n=!1,o()}}}function q2(i){let e;return{c(){e=k("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(t,n){C(t,e,n)},p:K,d(t){t&&y(e)}}}function W2(i){let e;function t(l,s){return l[5]?q2:U2}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},m(l,s){o.m(l,s),C(l,e,s)},p(l,s){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&y(e),o.d(l)}}}function j2(i){let e,t;return e=new fi({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[W2]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&16&&(l.className=n[4]?"btn-full-opacity":""),o&2&&(l.ariaLabel=n[1]),o&8&&(l.click=n[3]),o&64&&(l.disabled=n[6]),o&4&&(l.testId=n[2]),o&545&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Z2(i,e,t){let n,o,l,{iconUrl:s}=e,{ariaLabel:a}=e,{disabled:r=!1}=e,{testId:c}=e,{onClick:f=ne.noop}=e;const h=()=>{t(5,l=!0)};return i.$$set=g=>{"iconUrl"in g&&t(0,s=g.iconUrl),"ariaLabel"in g&&t(1,a=g.ariaLabel),"disabled"in g&&t(8,r=g.disabled),"testId"in g&&t(2,c=g.testId),"onClick"in g&&t(3,f=g.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===ne.noop),i.$$.dirty&272&&t(6,o=n||r)},t(5,l=!1),[s,a,c,f,n,l,o,h,r]}class d1 extends we{constructor(e){super(),ke(this,e,Z2,j2,be,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},F2)}}function G2(i){Ue(i,"v-st0uzk",".wrapper-bottom.v-st0uzk.v-st0uzk{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-st0uzk>.v-st0uzk{pointer-events:auto}.controls.v-st0uzk.v-st0uzk{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-st0uzk.v-st0uzk,.controls-right.v-st0uzk.v-st0uzk{display:flex;align-content:center}.controls-left.v-st0uzk.v-st0uzk{flex-grow:1;min-width:0;overflow:hidden}.controls-left.v-st0uzk > *:not(:first-child),.controls-right.v-st0uzk > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-st0uzk.v-st0uzk{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-st0uzk.v-st0uzk{transition:none}.settings-menu.v-st0uzk.v-st0uzk{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function vs(i,e,t){const n=i.slice();return n[163]=e[t].iconUrl,n[164]=e[t].ariaLabel,n[165]=e[t].testId,n[166]=e[t].onClick,n[167]=e[t].tooltip,n}function _s(i){let e,t,n;function o(s){i[134](s)}let l={disabled:!i[9],tooltipContent:U("tooltip_previous"),$$slots:{default:[K2]},$$scope:{ctx:i}};return i[30]!==void 0&&(l.width=i[30]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&512&&(r.disabled=!s[9]),a[0]&4608|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[0]&1073741824&&(t=!0,r.width=s[30],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function K2(i){let e,t;return e=new To({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4096&&(l.click=n[12]),o[0]&512&&(l.disabled=!n[9]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ks(i){let e,t,n;function o(s){i[135](s)}let l={disabled:i[66],tooltipContent:U("tooltip_restart"),$$slots:{default:[Y2]},$$scope:{ctx:i}};return i[31]!==void 0&&(l.width=i[31]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&16&&(r.disabled=s[66]),a[2]&16|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&1&&(t=!0,r.width=s[31],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function Y2(i){let e,t;return e=new $o({props:{click:i[112],disabled:i[66]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[2]&16&&(l.disabled=n[66]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ws(i){let e,t,n;function o(s){i[136](s)}let l={tooltipContent:i[57],disabled:i[67],$$slots:{default:[Q2]},$$scope:{ctx:i}};return i[32]!==void 0&&(l.width=i[32]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&67108864&&(r.tooltipContent=s[57]),a[2]&32&&(r.disabled=s[67]),a[1]&2097152|a[2]&32|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&2&&(t=!0,r.width=s[32],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function Q2(i){let e,t;return e=new xo({props:{isMobile:!1,isPlaying:i[52],click:i[77],disabled:i[67]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&2097152&&(l.isPlaying=n[52]),o[2]&32&&(l.disabled=n[67]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ys(i){let e,t,n;function o(s){i[137](s)}let l={disabled:!i[8],tooltipContent:U("tooltip_next"),$$slots:{default:[X2]},$$scope:{ctx:i}};return i[33]!==void 0&&(l.width=i[33]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&256&&(r.disabled=!s[8]),a[0]&2304|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&4&&(t=!0,r.width=s[33],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function X2(i){let e,t;return e=new To({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&2048&&(l.click=n[11]),o[0]&256&&(l.disabled=!n[8]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function J2(i){let e,t,n,o,l=i[107]&&x2(i),s=i[106]&&e4(i),a=i[105]&&i4(i);return{c(){l&&l.c(),e=R(),s&&s.c(),t=R(),a&&a.c(),n=ht()},m(r,c){l&&l.m(r,c),C(r,e,c),s&&s.m(r,c),C(r,t,c),a&&a.m(r,c),C(r,n,c),o=!0},p(r,c){r[107]&&l.p(r,c),r[106]&&s.p(r,c),r[105]&&a.p(r,c)},i(r){o||(m(l),m(s),m(a),o=!0)},o(r){p(l),p(s),p(a),o=!1},d(r){r&&(y(e),y(t),y(n)),l&&l.d(r),s&&s.d(r),a&&a.d(r)}}}function x2(i){let e,t,n;function o(s){i[138](s)}let l={disabled:i[65],tooltipContent:U("tooltip_interactive_go_back"),disabledTooltipContent:i[109]&&U(i[109]),$$slots:{default:[$2]},$$scope:{ctx:i}};return i[34]!==void 0&&(l.width=i[34]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&8&&(r.disabled=s[65]),a[0]&131072|a[2]&8|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&8&&(t=!0,r.width=s[34],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function $2(i){let e,t;return e=new f1({props:{disabled:i[65],click:i[17]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[2]&8&&(l.disabled=n[65]),o[0]&131072&&(l.click=n[17]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function e4(i){let e,t,n;function o(s){i[139](s)}let l={disabled:i[68],tooltipContent:U("tooltip_interactive_seek"),$$slots:{default:[t4]},$$scope:{ctx:i}};return i[35]!==void 0&&(l.width=i[35]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&64&&(r.disabled=s[68]),a[0]&32768|a[2]&64|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&16&&(t=!0,r.width=s[35],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function t4(i){let e,t;return e=new u1({props:{disabled:i[68],click:i[15]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[2]&64&&(l.disabled=n[68]),o[0]&32768&&(l.click=n[15]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function i4(i){let e,t,n;function o(s){i[140](s)}let l={tooltipContent:i[58],disabled:i[69],$$slots:{default:[n4]},$$scope:{ctx:i}};return i[36]!==void 0&&(l.width=i[36]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&134217728&&(r.tooltipContent=s[58]),a[2]&128&&(r.disabled=s[69]),a[0]&65536|a[1]&524288|a[2]&128|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&32&&(t=!0,r.width=s[36],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function n4(i){let e,t;return e=new c1({props:{click:i[16],graphIsOpened:i[50],disabled:i[69]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&65536&&(l.click=n[16]),o[1]&524288&&(l.graphIsOpened=n[50]),o[2]&128&&(l.disabled=n[69]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Cs(i){let e,t,n;function o(s){i[141](s)}let l={tooltipContent:i[59],$$slots:{default:[o4]},$$scope:{ctx:i}};return i[37]!==void 0&&(l.width=i[37]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&268435456&&(r.tooltipContent=s[59]),a[0]&268435456|a[1]&268435456|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&64&&(t=!0,r.width=s[37],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function o4(i){let e,t;return e=new o1({props:{isActiveLive:i[28],isMobile:!1,ariaLabel:i[59]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&268435456&&(l.isActiveLive=n[28]),o[1]&268435456&&(l.ariaLabel=n[59]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ps(i){let e,t,n;function o(s){i[142](s)}let l={isMobile:!1,showDuration:i[64],position:i[4]?i[71]:i[72],duration:i[4]?i[73]:i[74]};return i[38]!==void 0&&(l.width=i[38]),e=new Jr({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&4&&(r.showDuration=s[64]),a[0]&16|a[2]&1536&&(r.position=s[4]?s[71]:s[72]),a[0]&16|a[2]&6144&&(r.duration=s[4]?s[73]:s[74]),!t&&a[1]&128&&(t=!0,r.width=s[38],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function Ss(i){let e,t;return e=new r1({props:{position:i[72],duration:i[74],timeCodes:i[92]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[2]&1024&&(l.position=n[72]),o[2]&4096&&(l.duration=n[74]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function l4(i){let e,t,n=i[27]&&Ss(i);return{c(){n&&n.c(),e=ht()},m(o,l){n&&n.m(o,l),C(o,e,l),t=!0},p(o,l){o[27]?n?(n.p(o,l),l[0]&134217728&&m(n,1)):(n=Ss(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),pe())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function s4(i){let e,t;return e=new d1({props:{iconUrl:i[163],ariaLabel:i[164]??i[167],testId:i[165],onClick:i[166]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&32768&&(l.iconUrl=n[163]),o[1]&32768&&(l.ariaLabel=n[164]??n[167]),o[1]&32768&&(l.testId=n[165]),o[1]&32768&&(l.onClick=n[166]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ts(i){let e,t;return e=new It({props:{tooltipContent:i[167],width:40,$$slots:{default:[s4]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&32768&&(l.tooltipContent=n[167]),o[1]&32768|o[5]&32768&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function As(i){let e,t,n;function o(s){i[145](s)}let l={disabled:!i[6],tooltipContent:i[60],$$slots:{default:[a4]},$$scope:{ctx:i}};return i[40]!==void 0&&(l.width=i[40]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&64&&(r.disabled=!s[6]),a[1]&536870912&&(r.tooltipContent=s[60]),a[0]&192|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&512&&(t=!0,r.width=s[40],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function a4(i){let e,t;return e=new i1({props:{click:i[78],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&64&&(l.logoClickable=n[6]),o[0]&128&&(l.videoLogoUrl=n[7]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function r4(i){let e,t;return e=new j0({props:{isAudioAvailable:i[70],click:i[111]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[2]&256&&(l.isAudioAvailable=n[70]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Es(i){let e,t,n;function o(s){i[147](s)}let l={tooltipContent:i[61],$$slots:{default:[u4]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&1073741824&&(r.tooltipContent=s[61]),a[0]&262144|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&2048&&(t=!0,r.width=s[42],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function u4(i){let e,t;return e=new e0({props:{isSubtitlesEnabled:i[18],click:i[79]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&262144&&(l.isSubtitlesEnabled=n[18]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ls(i){let e,t,n;return t=new Xr({props:{supportLink:i[10],playerControlsHeight:i[56]?.clientHeight,returnFocus:i[14]}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&1024&&(s.supportLink=o[10]),l[1]&33554432&&(s.playerControlsHeight=o[56]?.clientHeight),l[0]&16384&&(s.returnFocus=o[14]),t.$set(s)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Vs(i){let e,t,n;function o(s){i[148](s)}let l={tooltipContent:i[76]?void 0:U("tooltip_settings_off"),$$slots:{default:[c4]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&16384&&(r.tooltipContent=s[76]?void 0:U("tooltip_settings_off")),a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&4096&&(t=!0,r.width=s[43],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function c4(i){let e,t;return e=new Qo({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Is(i){let e,t,n;function o(s){i[149](s)}let l={tooltipContent:i[62],$$slots:{default:[f4]},$$scope:{ctx:i}};return i[44]!==void 0&&(l.width=i[44]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&1&&(r.tooltipContent=s[62]),a[0]&8192|a[1]&262144|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&8192&&(t=!0,r.width=s[44],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function f4(i){let e,t;return e=new e1({props:{click:i[13],isFullscreen:i[49]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8192&&(l.click=n[13]),o[1]&262144&&(l.isFullscreen=n[49]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ms(i){let e,t,n;function o(s){i[150](s)}let l={tooltipContent:i[63],$$slots:{default:[d4]},$$scope:{ctx:i}};return i[45]!==void 0&&(l.width=i[45]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&2&&(r.tooltipContent=s[63]),a[1]&131072|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&16384&&(t=!0,r.width=s[45],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function d4(i){let e,t;return e=new n1({props:{isMobile:!1,state:i[48],click:i[110]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&131072&&(l.state=n[48]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function m4(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z,ie;t=new a1({props:{isHidden:!i[55],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[51]}});let G=i[54]&&_s(i),J=i[19]&&ks(i),ce=i[20]&&ws(i),w=i[53]&&ys(i),le=i[104]&&J2(i),de=!i[4]&&i[47]&&Cs(i),_e=i[26]&&Ps(i);function Ne(x){i[143](x)}let Le={className:"w-max",disabled:!i[27],tooltipContent:U("tooltip_episodes"),$$slots:{default:[l4]},$$scope:{ctx:i}};i[39]!==void 0&&(Le.width=i[39]),v=new It({props:Le}),je.push(()=>vt(v,"width",Ne));let ye=Vt(i[46]),H=[];for(let x=0;x<ye.length;x+=1)H[x]=Ts(vs(i,ye,x));const M=x=>p(H[x],1,1,()=>{H[x]=null});let Y=i[24]&&As(i);function ge(x){i[146](x)}let ee={$$slots:{default:[r4]},$$scope:{ctx:i}};i[41]!==void 0&&(ee.width=i[41]),B=new It({props:ee}),je.push(()=>vt(B,"width",ge));let N=i[22]&&Es(i),Q=!i[75]&&!i[4]&&Ls(i),Ie=i[23]&&Vs(i),Ce=i[25]&&Is(i),Ae=i[21]&&Ms(i);return{c(){e=k("div"),D(t.$$.fragment),n=R(),o=k("div"),l=k("div"),G&&G.c(),s=R(),J&&J.c(),a=R(),ce&&ce.c(),r=R(),w&&w.c(),c=R(),le&&le.c(),f=R(),de&&de.c(),h=R(),_e&&_e.c(),g=R(),D(v.$$.fragment),V=R(),A=k("div");for(let x=0;x<H.length;x+=1)H[x].c();S=R(),Y&&Y.c(),P=R(),D(B.$$.fragment),X=R(),N&&N.c(),j=R(),Q&&Q.c(),T=R(),Ie&&Ie.c(),te=R(),Ce&&Ce.c(),Z=R(),Ae&&Ae.c(),u(l,"class","controls-left v-st0uzk"),Mn(()=>i[144].call(l)),u(A,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),L(e,"hidden",i[1]),L(e,"controls-hidden",!i[3]),L(e,"no-smooth",i[2])},m(x,se){C(x,e,se),z(t,e,null),d(e,n),d(e,o),d(o,l),G&&G.m(l,null),d(l,s),J&&J.m(l,null),d(l,a),ce&&ce.m(l,null),d(l,r),w&&w.m(l,null),d(l,c),le&&le.m(l,null),d(l,f),de&&de.m(l,null),d(l,h),_e&&_e.m(l,null),d(l,g),z(v,l,null),_=wo(l,i[144].bind(l)),d(o,V),d(o,A);for(let ve=0;ve<H.length;ve+=1)H[ve]&&H[ve].m(A,null);d(A,S),Y&&Y.m(A,null),d(A,P),z(B,A,null),d(A,X),N&&N.m(A,null),d(A,j),Q&&Q.m(A,null),d(A,T),Ie&&Ie.m(A,null),d(A,te),Ce&&Ce.m(A,null),d(A,Z),Ae&&Ae.m(A,null),i[151](o),i[152](e),ie=!0},p(x,se){const ve={};se[1]&16777216&&(ve.isHidden=!x[55]),se[0]&16&&(ve.isAds=x[4]),se[0]&32&&(ve.canRewindLive=x[5]),se[1]&1048576&&(ve.isRewindableLive=x[51]),t.$set(ve),x[54]?G?(G.p(x,se),se[1]&8388608&&m(G,1)):(G=_s(x),G.c(),m(G,1),G.m(l,s)):G&&(he(),p(G,1,1,()=>{G=null}),pe()),x[19]?J?(J.p(x,se),se[0]&524288&&m(J,1)):(J=ks(x),J.c(),m(J,1),J.m(l,a)):J&&(he(),p(J,1,1,()=>{J=null}),pe()),x[20]?ce?(ce.p(x,se),se[0]&1048576&&m(ce,1)):(ce=ws(x),ce.c(),m(ce,1),ce.m(l,r)):ce&&(he(),p(ce,1,1,()=>{ce=null}),pe()),x[53]?w?(w.p(x,se),se[1]&4194304&&m(w,1)):(w=ys(x),w.c(),m(w,1),w.m(l,c)):w&&(he(),p(w,1,1,()=>{w=null}),pe()),x[104]&&le.p(x,se),!x[4]&&x[47]?de?(de.p(x,se),se[0]&16|se[1]&65536&&m(de,1)):(de=Cs(x),de.c(),m(de,1),de.m(l,h)):de&&(he(),p(de,1,1,()=>{de=null}),pe()),x[26]?_e?(_e.p(x,se),se[0]&67108864&&m(_e,1)):(_e=Ps(x),_e.c(),m(_e,1),_e.m(l,g)):_e&&(he(),p(_e,1,1,()=>{_e=null}),pe());const re={};if(se[0]&134217728&&(re.disabled=!x[27]),se[0]&134217728|se[2]&5120|se[5]&32768&&(re.$$scope={dirty:se,ctx:x}),!b&&se[1]&256&&(b=!0,re.width=x[39],bt(()=>b=!1)),v.$set(re),se[1]&32768){ye=Vt(x[46]);let We;for(We=0;We<ye.length;We+=1){const $e=vs(x,ye,We);H[We]?(H[We].p($e,se),m(H[We],1)):(H[We]=Ts($e),H[We].c(),m(H[We],1),H[We].m(A,S))}for(he(),We=ye.length;We<H.length;We+=1)M(We);pe()}x[24]?Y?(Y.p(x,se),se[0]&16777216&&m(Y,1)):(Y=As(x),Y.c(),m(Y,1),Y.m(A,P)):Y&&(he(),p(Y,1,1,()=>{Y=null}),pe());const qe={};se[2]&256|se[5]&32768&&(qe.$$scope={dirty:se,ctx:x}),!W&&se[1]&1024&&(W=!0,qe.width=x[41],bt(()=>W=!1)),B.$set(qe),x[22]?N?(N.p(x,se),se[0]&4194304&&m(N,1)):(N=Es(x),N.c(),m(N,1),N.m(A,j)):N&&(he(),p(N,1,1,()=>{N=null}),pe()),!x[75]&&!x[4]?Q?(Q.p(x,se),se[0]&16|se[2]&8192&&m(Q,1)):(Q=Ls(x),Q.c(),m(Q,1),Q.m(A,T)):Q&&(he(),p(Q,1,1,()=>{Q=null}),pe()),x[23]?Ie?(Ie.p(x,se),se[0]&8388608&&m(Ie,1)):(Ie=Vs(x),Ie.c(),m(Ie,1),Ie.m(A,te)):Ie&&(he(),p(Ie,1,1,()=>{Ie=null}),pe()),x[25]?Ce?(Ce.p(x,se),se[0]&33554432&&m(Ce,1)):(Ce=Is(x),Ce.c(),m(Ce,1),Ce.m(A,Z)):Ce&&(he(),p(Ce,1,1,()=>{Ce=null}),pe()),x[21]?Ae?(Ae.p(x,se),se[0]&2097152&&m(Ae,1)):(Ae=Ms(x),Ae.c(),m(Ae,1),Ae.m(A,null)):Ae&&(he(),p(Ae,1,1,()=>{Ae=null}),pe()),(!ie||se[0]&2)&&L(e,"hidden",x[1]),(!ie||se[0]&8)&&L(e,"controls-hidden",!x[3]),(!ie||se[0]&4)&&L(e,"no-smooth",x[2])},i(x){if(!ie){m(t.$$.fragment,x),m(G),m(J),m(ce),m(w),m(le),m(de),m(_e),m(v.$$.fragment,x);for(let se=0;se<ye.length;se+=1)m(H[se]);m(Y),m(B.$$.fragment,x),m(N),m(Q),m(Ie),m(Ce),m(Ae),ie=!0}},o(x){p(t.$$.fragment,x),p(G),p(J),p(ce),p(w),p(le),p(de),p(_e),p(v.$$.fragment,x),H=H.filter(Boolean);for(let se=0;se<H.length;se+=1)p(H[se]);p(Y),p(B.$$.fragment,x),p(N),p(Q),p(Ie),p(Ce),p(Ae),ie=!1},d(x){x&&y(e),O(t),G&&G.d(),J&&J.d(),ce&&ce.d(),w&&w.d(),le&&le.d(),de&&de.d(),_e&&_e.d(),O(v),_(),tn(H,x),Y&&Y.d(),O(B),N&&N.d(),Q&&Q.d(),Ie&&Ie.d(),Ce&&Ce.d(),Ae&&Ae.d(),i[151](null),i[152](null)}}}function h4(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z,ie,G,J,ce,w,le,{bottomHidden:de}=e,{bottomNoSmooth:_e}=e,{showControls:Ne}=e,{controlsElementRef:Le=void 0}=e,{isAds:ye=!1}=e,{canRewindLive:H}=e,{logoClickable:M}=e,{logoHidden:Y}=e,{videoLogoUrl:ge}=e,{showNextPrevButtons:ee}=e,{nextButtonActive:N}=e,{prevButtonActive:Q}=e,{isOneVideoPlaylist:Ie=!1}=e,{supportLink:Ce}=e,{customFullscreenSupported:Ae=!0}=e,{playNextVideo:x}=e,{playPrevVideo:se}=e,{repeatPlaylist:ve}=e,{toggleFullscreen:re}=e,{returnFocus:qe}=e,{seekToInteractive:We}=e,{toggleGraph:$e}=e,{playPrevChapter:it}=e;const Be=_t(),rt=Gi(),St=Be.actions.internal.toggleMuted,Re=Be.actions.internal.togglePlay,Ve=Be.actions.internal.pause,wt=Be.actions.internal.toggleSubtitle,zt=Be.callbacks?.onAudioDoesNotExistHint,mt=Be.callbacks?.onAudioDisabledHint,lt=Be.state.duration$;F(i,lt,oe=>t(74,ce=oe));const ue=Be.state.positionWithScrubbing$;F(i,ue,oe=>t(72,G=oe));const et=Be.state.playbackState$;F(i,et,oe=>t(124,_=oe));const Qe=Be.state.chromecastConnected$;F(i,Qe,oe=>t(75,w=oe));const nt=Be.state.isAudioAvailable$;F(i,nt,oe=>t(70,c=oe));const Ke=Be.state.isAudioDisabled,dt=Be.state.isEnded$;F(i,dt,oe=>t(130,j=oe));const tt=Be.state.isLive$;F(i,tt,oe=>t(47,g=oe));const Mt=Be.state.isActiveLive$;F(i,Mt,oe=>t(125,A=oe));const yt=Be.state.isRewindableLive$;F(i,yt,oe=>t(51,S=oe));const ot=Be.ui.isPictureInPictureActive$;F(i,ot,oe=>t(128,W=oe));const Ot=Be.ui.pictureInPictureType$;F(i,Ot,oe=>t(127,B=oe));const ct=Be.ui.settingsMenuVisible;F(i,ct,oe=>t(76,le=oe));const Ze=Be.ui.controls,Tt=Be.actions.internal.getVideoEpisodes(),st=Be.state.chromecastState$;F(i,st,oe=>t(48,v=oe));const ii=Be.state.availableSubtitlesList$;F(i,ii,oe=>t(129,X=oe));const me=Be.state.currentSubtitle$;F(i,me,oe=>t(131,T=oe));const Pe=Ze.disabledControls$;F(i,Pe,oe=>t(133,Z=oe));const Me=Be.ads.duration;F(i,Me,oe=>t(73,J=oe));const Pt=Be.ads.position;F(i,Pt,oe=>t(71,ie=oe));const Vi=Be.ads.playbackState;F(i,Vi,oe=>t(132,te=oe));const Jt=Be.ui.isFullscreen;F(i,Jt,oe=>t(49,b=oe));const bi=Be.ui.playerSize;F(i,bi,oe=>t(126,P=oe));const Ii=Be.ui.currentGridType$;F(i,Ii,oe=>t(123,h=oe));const Lt=Be.ui.additionalButtons$;F(i,Lt,oe=>t(46,f=oe));const Se=Be.actions.internal.replayInteractive,Nt=Be.state.isInteractive,Mi=Be.state.isInteractiveGraphEnabled,ni=Be.state.isSeekToInteractiveEnable,vi=Be.state.isPlayPrevChapterEnabled,_i=Be.state.graphIsOpened$;F(i,_i,oe=>t(50,V=oe));const ki=Be.state.playPrevChapterDisabledTooltip,oi=()=>Be.actions.internal.toggleChromecast();let Ki,di,wi,yi,Ni,Ci,qi,xt,li,Pi,Dt,Ct,Ht,Ri,Yi,Bi,$t,Fi,Wi,si="";const zi=(oe,xi)=>{if(!oe){t(59,si=U("tooltip_live"));return}xi===Je.PlaybackState.PAUSED&&t(59,si=U("tooltip_play"))};let Si,Ti,Ai,mi,Ft,ai,hi,Ut,qt,ei,ri,Wt,pi,ti,Oi,Ei,ji,Di,ui,Ui,Li,ae,jt,Hi,Qi;function sn(oe,xi){let at=eo;const Rt=($i,un,$n)=>{let Ln=un?$i+un+($i?lu:0):$i;return $n.set({positionStartX:$i,positionEndX:Ln,isDisplayed:xi&&$i!==Ln}),Ln};at=Rt(at,oe.prevButtonWidth,Ze.prevButton),at=Rt(at,oe.replayButtonWidth,Ze.replayButton),at=Rt(at,oe.playButtonWidth,Ze.playButton),at=Rt(at,oe.nextButtonWidth,Ze.nextButton),at=Rt(at,oe.playPrevChapterWidth,Ze.playPrevChapterButton),at=Rt(at,oe.seekToInteractiveWidth,Ze.seekToInteractiveButton),at=Rt(at,oe.interactiveGraphWidth,Ze.interactiveGraphButton),at=Rt(at,oe.liveButtonWidth,Ze.liveButton),at=Rt(at,oe.timeWidth,Ze.time),at=Rt(at,oe.episodesWidth,Ze.episodes),f.forEach(($i,un)=>{at=Rt(at,oe.additionalButtonWidths[un],Ze.additionalButtons[un])}),at=Rt(at,oe.vkLogoWidth,Ze.vkLogo),at=Rt(at,oe.volumeWidth,Ze.volume),at=Rt(at,oe.subtitlesWidth,Ze.subtitles),at=Rt(at,oe.settingsWidth,Ze.settings),at=Rt(at,oe.fullscreenWidth,Ze.fullscreen),Rt(at,oe.chromecastWidth,Ze.chromecast)}function an(){Ke?mt?.():c?St():zt?.()}const Zt=Nt?Se:Ie?Re:ve;function Cn(oe){ai=oe,t(30,ai)}function Pn(oe){hi=oe,t(31,hi)}function rn(oe){Ut=oe,t(32,Ut)}function _n(oe){qt=oe,t(33,qt)}function nn(oe){ei=oe,t(34,ei)}function Ji(oe){ri=oe,t(35,ri)}function Sn(oe){Wt=oe,t(36,Wt)}function $(oe){pi=oe,t(37,pi)}function kt(oe){ti=oe,t(38,ti)}function Tn(oe){Oi=oe,t(39,Oi)}function An(){Ft=this.clientWidth,t(29,Ft)}function En(oe){Ei=oe,t(40,Ei)}function Kn(oe){ji=oe,t(41,ji)}function Yn(oe){Di=oe,t(42,Di)}function Qn(oe){ui=oe,t(43,ui)}function Xn(oe){Ui=oe,t(44,Ui)}function Jn(oe){Li=oe,t(45,Li)}function Nn(oe){je[oe?"unshift":"push"](()=>{Bi=oe,t(56,Bi)})}function xn(oe){je[oe?"unshift":"push"](()=>{Le=oe,t(0,Le)})}return i.$$set=oe=>{"bottomHidden"in oe&&t(1,de=oe.bottomHidden),"bottomNoSmooth"in oe&&t(2,_e=oe.bottomNoSmooth),"showControls"in oe&&t(3,Ne=oe.showControls),"controlsElementRef"in oe&&t(0,Le=oe.controlsElementRef),"isAds"in oe&&t(4,ye=oe.isAds),"canRewindLive"in oe&&t(5,H=oe.canRewindLive),"logoClickable"in oe&&t(6,M=oe.logoClickable),"logoHidden"in oe&&t(113,Y=oe.logoHidden),"videoLogoUrl"in oe&&t(7,ge=oe.videoLogoUrl),"showNextPrevButtons"in oe&&t(114,ee=oe.showNextPrevButtons),"nextButtonActive"in oe&&t(8,N=oe.nextButtonActive),"prevButtonActive"in oe&&t(9,Q=oe.prevButtonActive),"isOneVideoPlaylist"in oe&&t(115,Ie=oe.isOneVideoPlaylist),"supportLink"in oe&&t(10,Ce=oe.supportLink),"customFullscreenSupported"in oe&&t(116,Ae=oe.customFullscreenSupported),"playNextVideo"in oe&&t(11,x=oe.playNextVideo),"playPrevVideo"in oe&&t(12,se=oe.playPrevVideo),"repeatPlaylist"in oe&&t(117,ve=oe.repeatPlaylist),"toggleFullscreen"in oe&&t(13,re=oe.toggleFullscreen),"returnFocus"in oe&&t(14,qe=oe.returnFocus),"seekToInteractive"in oe&&t(15,We=oe.seekToInteractive),"toggleGraph"in oe&&t(16,$e=oe.toggleGraph),"playPrevChapter"in oe&&t(17,it=oe.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[4]&512&&t(122,n=Z.has(ft.EPISODE_BUTTON)),i.$$.dirty[4]&512&&t(69,o=Z.has(ft.GRAPH_BUTTON)),i.$$.dirty[4]&512&&t(68,l=Z.has(ft.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[4]&512&&t(67,s=Z.has(ft.PLAY_BUTTON)),i.$$.dirty[4]&512&&t(66,a=Z.has(ft.REPLAY_BUTTON)),i.$$.dirty[4]&512&&t(65,r=Z.has(ft.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[4]&257&&t(52,Ki=ye?te===Bt.PLAYING:_===Je.PlaybackState.PLAYING),i.$$.dirty[4]&128&&t(18,di=T.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[4]&64&&t(19,wi=j&&!ye||Nt),i.$$.dirty[0]&16|i.$$.dirty[4]&64&&t(20,yi=!j||Nt||ye),i.$$.dirty[3]&1073741824&&t(118,Ni=en(h,exports.GridTypes.M)),i.$$.dirty[0]&272|i.$$.dirty[3]&1075838976&&t(53,Ci=ee&&en(h,exports.GridTypes.M)&&!ye&&N),i.$$.dirty[0]&528|i.$$.dirty[3]&1075838976&&t(54,qi=ee&&en(h,exports.GridTypes.M)&&!ye&&Q),i.$$.dirty[1]&131072|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&24&&t(21,xt=v!==Je.ChromecastState.NOT_AVAILABLE&&!(W&&B===dn.DocumentPictureInPicture)&&en(h,exports.GridTypes.M)&&!Nt),i.$$.dirty[3]&1073741824|i.$$.dirty[4]&32&&t(22,li=X.length>0&&en(h,exports.GridTypes.M)),i.$$.dirty[3]&1073741824&&t(23,Pi=en(h,exports.GridTypes.S)),i.$$.dirty[3]&1048576&&t(24,Dt=!Y),i.$$.dirty[3]&1083179008|i.$$.dirty[4]&24&&t(25,Ct=rt.features.fullscreen&&(Y||en(h,exports.GridTypes.S))&&!(W&&B===dn.DocumentPictureInPicture)&&(Nt?Ae:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&65536&&t(26,Ht=(!g||ye)&&!(rt.features.interactiveHideTime&&Nt)),i.$$.dirty[4]&4&&t(55,Ri=P.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&65536|i.$$.dirty[3]&570425344&&t(27,Yi=!ye&&!g&&!!Tt?.length&&Ni&&!n),i.$$.dirty[1]&1048576|i.$$.dirty[4]&2&&t(28,$t=!S||A),i.$$.dirty[4]&1&&t(57,Fi=_===Je.PlaybackState.PLAYING?U("tooltip_pause"):U("tooltip_play")),i.$$.dirty[1]&524288&&t(58,Wi=U(V?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[0]&268435456|i.$$.dirty[4]&1&&zi($t,_),i.$$.dirty[0]&262144&&t(61,Ti=U(di?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[1]&262144&&t(62,Ai=U(b?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[1]&131072&&t(63,mi=v===Je.ChromecastState.CONNECTED?U("tooltip_chromecast_on"):U("tooltip_chromecast_off")),i.$$.dirty[0]&1207435264|i.$$.dirty[1]&131071&&t(119,ae={prevButtonWidth:ai??0,replayButtonWidth:wi?hi:0,playButtonWidth:yi?Ut:0,nextButtonWidth:qt??0,playPrevChapterWidth:vi?ei:0,seekToInteractiveWidth:Nt?ri:0,interactiveGraphWidth:Mi?Wt??0:0,liveButtonWidth:g&&pi?pi:0,timeWidth:Ht?ti:0,episodesWidth:Oi,vkLogoWidth:Dt?Ei:0,volumeWidth:ji,subtitlesWidth:li?Di:0,settingsWidth:Pi?ui:0,fullscreenWidth:Ct?Ui:0,chromecastWidth:xt?Li:0,additionalButtonWidths:f.length?f.reduce(oe=>[...oe,40],[]):[]}),i.$$.dirty[3]&201326592&&(!jt||jt<ae.timeWidth)&&t(120,jt=ae.timeWidth),i.$$.dirty[0]&738197504|i.$$.dirty[3]&1275068416){let oe=0;Yi&&(en(h,exports.GridTypes.XL)?oe=ae.timeWidth:oe=su);const xi=ae.prevButtonWidth+ae.playButtonWidth+ae.nextButtonWidth+ae.seekToInteractiveWidth+ae.interactiveGraphWidth+ae.liveButtonWidth+jt+oe;t(121,Hi=Ht&&Ft>=xi)}i.$$.dirty[3]&1342177280&&t(64,Qi=Hi&&en(h,exports.GridTypes.M)),i.$$.dirty[0]&8|i.$$.dirty[3]&67108864&&sn(ae,Ne)},t(60,Si=rt.logoType===jn.VK_VIDEO?U("tooltip_vk_video_logo"):U("tooltip_vk_logo")),[Le,de,_e,Ne,ye,H,M,ge,N,Q,Ce,x,se,re,qe,We,$e,it,di,wi,yi,xt,li,Pi,Dt,Ct,Ht,Yi,$t,Ft,ai,hi,Ut,qt,ei,ri,Wt,pi,ti,Oi,Ei,ji,Di,ui,Ui,Li,f,g,v,b,V,S,Ki,Ci,qi,Ri,Bi,Fi,Wi,si,Si,Ti,Ai,mi,Qi,r,a,s,l,o,c,ie,G,J,ce,w,le,Re,Ve,wt,lt,ue,et,Qe,nt,dt,tt,Mt,yt,ot,Ot,ct,Tt,st,ii,me,Pe,Me,Pt,Vi,Jt,bi,Ii,Lt,Nt,Mi,ni,vi,_i,ki,oi,an,Zt,Y,ee,Ie,Ae,ve,Ni,ae,jt,Hi,n,h,_,A,P,B,W,X,j,T,te,Z,Cn,Pn,rn,_n,nn,Ji,Sn,$,kt,Tn,An,En,Kn,Yn,Qn,Xn,Jn,Nn,xn]}class p4 extends we{constructor(e){super(),ke(this,e,h4,m4,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:113,videoLogoUrl:7,showNextPrevButtons:114,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:115,supportLink:10,customFullscreenSupported:116,playNextVideo:11,playPrevVideo:12,repeatPlaylist:117,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},G2,[-1,-1,-1,-1,-1,-1])}}function g4(i){let e,t,n,o;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(l,s){C(l,e,s),d(e,t),d(t,n),d(t,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class b4 extends we{constructor(e){super(),ke(this,e,null,g4,be,{})}}function v4(i){Ue(i,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function Ns(i){let e;return{c(){e=k("span"),e.textContent=`${U("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){C(t,e,n)},p:K,d(t){t&&y(e)}}}function _4(i){let e,t,n,o;var l=i[3];function s(r){return{}}l&&(t=ln(l,s()));let a=i[0]&&Ns();return{c(){e=k("div"),t&&D(t.$$.fragment),n=R(),a&&a.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),L(e,"expanded",i[0])},m(r,c){C(r,e,c),t&&z(t,e,null),d(e,n),a&&a.m(e,null),o=!0},p(r,c){if(c&8&&l!==(l=r[3])){if(t){he();const f=t;p(f.$$.fragment,1,0,()=>{O(f,1)}),pe()}l?(t=ln(l,s()),D(t.$$.fragment),m(t.$$.fragment,1),z(t,e,n)):t=null}r[0]?a?a.p(r,c):(a=Ns(),a.c(),a.m(e,null)):a&&(a.d(1),a=null),(!o||c&1)&&L(e,"expanded",r[0])},i(r){o||(t&&m(t.$$.fragment,r),o=!0)},o(r){t&&p(t.$$.fragment,r),o=!1},d(r){r&&y(e),t&&O(t),a&&a.d()}}}function k4(i){let e,t;return e=new fi({props:{testId:i[0]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[1],ariaLabel:i[2],$$slots:{default:[_4]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.testId=n[0]?"btn-mobile-unmuted":"btn-mobile-muted"),o&2&&(l.click=n[1]),o&4&&(l.ariaLabel=n[2]),o&41&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function w4(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:l=ne.noop}=e,s,a;return i.$$set=r=>{"muted"in r&&t(4,n=r.muted),"expanded"in r&&t(0,o=r.expanded),"click"in r&&t(1,l=r.click)},i.$$.update=()=>{i.$$.dirty&16&&t(2,s=U(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&1&&t(3,a=o?So:b4)},[o,l,s,a,n]}class m1 extends we{constructor(e){super(),ke(this,e,w4,k4,be,{muted:4,expanded:0,click:1},v4)}}function y4(i){let e,t,n,o;return{c(){e=I("svg"),t=I("path"),n=I("path"),o=I("path"),u(t,"fill",i[1]),u(t,"clip-rule","evenodd"),u(t,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",i[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),L(n,"hidden",!i[0]),u(o,"fill",i[1]),u(o,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),L(o,"hidden",i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,s){C(l,e,s),d(e,t),d(e,n),d(e,o)},p(l,[s]){s&2&&u(t,"fill",l[1]),s&2&&u(n,"fill",l[1]),s&1&&L(n,"hidden",!l[0]),s&2&&u(o,"fill",l[1]),s&1&&L(o,"hidden",l[0])},i:K,o:K,d(l){l&&y(e)}}}function C4(i,e,t){let n,{isActive:o=!1}=e;return i.$$set=l=>{"isActive"in l&&t(0,o=l.isActive)},i.$$.update=()=>{i.$$.dirty&1&&t(1,n=o?"#2688EB":"#fff")},[o,n]}class P4 extends we{constructor(e){super(),ke(this,e,C4,y4,be,{isActive:0})}}function S4(i){let e,t;return e=new P4({props:{isActive:i[0]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isActive=n[0]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function T4(i){let e,t;return e=new fi({props:{testId:"btn-pip",ariaLabel:U("menu_pip"),click:i[1],$$slots:{default:[S4]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&2&&(l.click=n[1]),o&5&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function A4(i,e,t){let{isPictureInPictureActive:n=!1}=e,{click:o=ne.noop}=e;return i.$$set=l=>{"isPictureInPictureActive"in l&&t(0,n=l.isPictureInPictureActive),"click"in l&&t(1,o=l.click)},[n,o]}class E4 extends we{constructor(e){super(),ke(this,e,A4,T4,be,{isPictureInPictureActive:0,click:1})}}function L4(i){Ue(i,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function Rs(i,e,t){const n=i.slice();return n[137]=e[t].iconUrl,n[138]=e[t].ariaLabel,n[139]=e[t].testId,n[140]=e[t].onClick,n[141]=e[t].tooltip,n}function Bs(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S=(!i[54]||i[56])&&zs(i),P=Vt(i[59]),B=[];for(let w=0;w<P.length;w+=1)B[w]=Os(Rs(i,P,w));const W=w=>p(B[w],1,1,()=>{B[w]=null});let X=i[33]&&Ds(i),j=i[34]&&Hs(i),T=i[60]&&Fs(),te=i[36]&&Us(i),Z=i[8]&&qs(i),ie=i[31]&&Ws(i),G=i[30]&&js(i),J=i[8]&&Zs(i),ce=i[97]&&!i[26]&&Gs(i);return{c(){e=k("div"),t=R(),n=k("div"),S&&S.c(),o=R(),l=k("div");for(let w=0;w<B.length;w+=1)B[w].c();s=R(),X&&X.c(),a=R(),j&&j.c(),r=R(),T&&T.c(),c=R(),te&&te.c(),f=R(),h=k("div"),Z&&Z.c(),g=R(),ie&&ie.c(),v=R(),G&&G.c(),b=R(),J&&J.c(),_=R(),ce&&ce.c(),V=ht(),u(e,"class","overlay-mobile v-1tcstu3"),L(e,"hidden",!i[39]),u(n,"class","wrapper-top-left v-1tcstu3"),L(n,"hidden",!i[3]),L(n,"fullscreen",i[55]),u(l,"class","wrapper-top-right v-1tcstu3"),L(l,"hidden",!i[3]&&!i[24]),L(l,"fullscreen",i[55]),u(h,"class","wrapper-middle v-1tcstu3"),L(h,"hidden",!i[3]||i[26])},m(w,le){C(w,e,le),C(w,t,le),C(w,n,le),S&&S.m(n,null),C(w,o,le),C(w,l,le);for(let de=0;de<B.length;de+=1)B[de]&&B[de].m(l,null);d(l,s),X&&X.m(l,null),d(l,a),j&&j.m(l,null),d(l,r),T&&T.m(l,null),d(l,c),te&&te.m(l,null),C(w,f,le),C(w,h,le),Z&&Z.m(h,null),d(h,g),ie&&ie.m(h,null),d(h,v),G&&G.m(h,null),d(h,b),J&&J.m(h,null),C(w,_,le),ce&&ce.m(w,le),C(w,V,le),A=!0},p(w,le){if((!A||le[1]&256)&&L(e,"hidden",!w[39]),!w[54]||w[56]?S?(S.p(w,le),le[1]&41943040&&m(S,1)):(S=zs(w),S.c(),m(S,1),S.m(n,null)):S&&(he(),p(S,1,1,()=>{S=null}),pe()),(!A||le[0]&8)&&L(n,"hidden",!w[3]),(!A||le[1]&16777216)&&L(n,"fullscreen",w[55]),le[1]&268435456){P=Vt(w[59]);let de;for(de=0;de<P.length;de+=1){const _e=Rs(w,P,de);B[de]?(B[de].p(_e,le),m(B[de],1)):(B[de]=Os(_e),B[de].c(),m(B[de],1),B[de].m(l,s))}for(he(),de=P.length;de<B.length;de+=1)W(de);pe()}w[33]?X?(X.p(w,le),le[1]&4&&m(X,1)):(X=Ds(w),X.c(),m(X,1),X.m(l,a)):X&&(he(),p(X,1,1,()=>{X=null}),pe()),w[34]?j?(j.p(w,le),le[1]&8&&m(j,1)):(j=Hs(w),j.c(),m(j,1),j.m(l,r)):j&&(he(),p(j,1,1,()=>{j=null}),pe()),w[60]?T?le[1]&536870912&&m(T,1):(T=Fs(),T.c(),m(T,1),T.m(l,c)):T&&(he(),p(T,1,1,()=>{T=null}),pe()),w[36]?te?(te.p(w,le),le[1]&32&&m(te,1)):(te=Us(w),te.c(),m(te,1),te.m(l,null)):te&&(he(),p(te,1,1,()=>{te=null}),pe()),(!A||le[0]&16777224)&&L(l,"hidden",!w[3]&&!w[24]),(!A||le[1]&16777216)&&L(l,"fullscreen",w[55]),w[8]?Z?(Z.p(w,le),le[0]&256&&m(Z,1)):(Z=qs(w),Z.c(),m(Z,1),Z.m(h,g)):Z&&(he(),p(Z,1,1,()=>{Z=null}),pe()),w[31]?ie?(ie.p(w,le),le[1]&1&&m(ie,1)):(ie=Ws(w),ie.c(),m(ie,1),ie.m(h,v)):ie&&(he(),p(ie,1,1,()=>{ie=null}),pe()),w[30]?G?(G.p(w,le),le[0]&1073741824&&m(G,1)):(G=js(w),G.c(),m(G,1),G.m(h,b)):G&&(he(),p(G,1,1,()=>{G=null}),pe()),w[8]?J?(J.p(w,le),le[0]&256&&m(J,1)):(J=Zs(w),J.c(),m(J,1),J.m(h,null)):J&&(he(),p(J,1,1,()=>{J=null}),pe()),(!A||le[0]&67108872)&&L(h,"hidden",!w[3]||w[26]),w[97]&&!w[26]?ce?(ce.p(w,le),le[0]&67108864&&m(ce,1)):(ce=Gs(w),ce.c(),m(ce,1),ce.m(V.parentNode,V)):ce&&(he(),p(ce,1,1,()=>{ce=null}),pe())},i(w){if(!A){m(S);for(let le=0;le<P.length;le+=1)m(B[le]);m(X),m(j),m(T),m(te),m(Z),m(ie),m(G),m(J),m(ce),A=!0}},o(w){p(S),B=B.filter(Boolean);for(let le=0;le<B.length;le+=1)p(B[le]);p(X),p(j),p(T),p(te),p(Z),p(ie),p(G),p(J),p(ce),A=!1},d(w){w&&(y(e),y(t),y(n),y(o),y(l),y(f),y(h),y(_),y(V)),S&&S.d(),tn(B,w),X&&X.d(),j&&j.d(),T&&T.d(),te&&te.d(),Z&&Z.d(),ie&&ie.d(),G&&G.d(),J&&J.d(),ce&&ce.d(w)}}}function zs(i){let e,t;return e=new m1({props:{muted:i[57],expanded:i[54]&&!i[73]&&i[58],click:i[104]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&67108864&&(l.muted=n[57]),o[1]&142606336&&(l.expanded=n[54]&&!n[73]&&n[58]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Os(i){let e,t;return e=new d1({props:{iconUrl:i[137],ariaLabel:i[138]??i[141],testId:i[139],onClick:i[140]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&268435456&&(l.iconUrl=n[137]),o[1]&268435456&&(l.ariaLabel=n[138]??n[141]),o[1]&268435456&&(l.testId=n[139]),o[1]&268435456&&(l.onClick=n[140]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ds(i){let e,t;return e=new n1({props:{isMobile:!0,click:i[102],state:i[25]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&33554432&&(l.state=n[25]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Hs(i){let e,t;return e=new E4({props:{click:i[103],isPictureInPictureActive:i[23]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8388608&&(l.isPictureInPictureActive=n[23]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Fs(i){let e,t;return e=new Qo({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Us(i){let e,t;return e=new i1({props:{click:i[67],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&64&&(l.logoClickable=n[6]),o[0]&128&&(l.videoLogoUrl=n[7]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function qs(i){let e,t;return e=new To({props:{click:i[13],type:"prev",disabled:!i[10],isMobile:!0}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8192&&(l.click=n[13]),o[0]&1024&&(l.disabled=!n[10]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ws(i){let e,t;return e=new xo({props:{disabled:i[51],click:i[66],isMobile:!0,isPlaying:i[28]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&1048576&&(l.disabled=n[51]),o[0]&268435456&&(l.isPlaying=n[28]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function js(i){let e,t;return e=new $o({props:{disabled:i[50],click:i[105],isMobile:!0}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&524288&&(l.disabled=n[50]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Zs(i){let e,t;return e=new To({props:{click:i[12],type:"next",disabled:!i[9],isMobile:!0}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4096&&(l.click=n[12]),o[0]&512&&(l.disabled=!n[9]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Gs(i){let e,t,n,o,l=i[100]&&V4(i),s=i[98]&&I4(i),a=i[99]&&M4(i);return{c(){l&&l.c(),e=R(),s&&s.c(),t=R(),a&&a.c(),n=ht()},m(r,c){l&&l.m(r,c),C(r,e,c),s&&s.m(r,c),C(r,t,c),a&&a.m(r,c),C(r,n,c),o=!0},p(r,c){r[100]&&l.p(r,c),r[98]&&s.p(r,c),r[99]&&a.p(r,c)},i(r){o||(m(l),m(s),m(a),o=!0)},o(r){p(l),p(s),p(a),o=!1},d(r){r&&(y(e),y(t),y(n)),l&&l.d(r),s&&s.d(r),a&&a.d(r)}}}function V4(i){let e,t,n;return t=new f1({props:{hidden:!i[3],disabled:i[49],click:i[18]}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),L(e,"fullscreen",i[55]),L(e,"hidden",!i[3])},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.hidden=!o[3]),l[1]&262144&&(s.disabled=o[49]),l[0]&262144&&(s.click=o[18]),t.$set(s),(!n||l[1]&16777216)&&L(e,"fullscreen",o[55]),(!n||l[0]&8)&&L(e,"hidden",!o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function I4(i){let e,t,n;return t=new c1({props:{hidden:!i[3]&&!i[61],disabled:i[53],click:i[17],graphIsOpened:i[61]}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class",F1(i[100]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),L(e,"fullscreen",i[55]),L(e,"hidden",!i[3]&&!i[61])},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&8|l[1]&1073741824&&(s.hidden=!o[3]&&!o[61]),l[1]&4194304&&(s.disabled=o[53]),l[0]&131072&&(s.click=o[17]),l[1]&1073741824&&(s.graphIsOpened=o[61]),t.$set(s),(!n||l[1]&16777216)&&L(e,"fullscreen",o[55]),(!n||l[0]&8|l[1]&1073741824)&&L(e,"hidden",!o[3]&&!o[61])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function M4(i){let e,t,n;return t=new u1({props:{hidden:!i[3],disabled:i[52],click:i[16]}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),L(e,"fullscreen",i[55]),L(e,"hidden",!i[3])},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.hidden=!o[3]),l[1]&2097152&&(s.disabled=o[52]),l[0]&65536&&(s.click=o[16]),t.$set(s),(!n||l[1]&16777216)&&L(e,"fullscreen",o[55]),(!n||l[0]&8)&&L(e,"hidden",!o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Ks(i){let e,t,n,o,l,s=i[56]&&Ys(i),a=i[29]&&Qs(i);return o=new s1({props:{position:i[62],duration:i[63]}}),{c(){s&&s.c(),e=R(),a&&a.c(),t=R(),n=k("div"),D(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),L(n,"fullscreen",i[55])},m(r,c){s&&s.m(r,c),C(r,e,c),a&&a.m(r,c),C(r,t,c),C(r,n,c),z(o,n,null),l=!0},p(r,c){r[56]?s?(s.p(r,c),c[1]&33554432&&m(s,1)):(s=Ys(r),s.c(),m(s,1),s.m(e.parentNode,e)):s&&(he(),p(s,1,1,()=>{s=null}),pe()),r[29]?a?(a.p(r,c),c[0]&536870912&&m(a,1)):(a=Qs(r),a.c(),m(a,1),a.m(t.parentNode,t)):a&&(he(),p(a,1,1,()=>{a=null}),pe());const f={};c[2]&1&&(f.position=r[62]),c[2]&2&&(f.duration=r[63]),o.$set(f),(!l||c[1]&16777216)&&L(n,"fullscreen",r[55])},i(r){l||(m(s),m(a),m(o.$$.fragment,r),l=!0)},o(r){p(s),p(a),p(o.$$.fragment,r),l=!1},d(r){r&&(y(e),y(t),y(n)),s&&s.d(r),a&&a.d(r),O(o)}}}function Ys(i){let e,t,n;return t=new m1({props:{muted:i[57],expanded:!1,click:i[104]}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),L(e,"fullscreen",i[55])},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[1]&67108864&&(s.muted=o[57]),t.$set(s),(!n||l[1]&16777216)&&L(e,"fullscreen",o[55])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Qs(i){let e,t,n;return t=new xo({props:{disabled:i[51],click:i[66],isMobile:!0,isPlaying:!i[29]}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[1]&1048576&&(s.disabled=o[51]),l[0]&536870912&&(s.isPlaying=!o[29]),t.$set(s)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function N4(i){let e,t,n;function o(s){i[120](s)}let l={disabled:i[50],$$slots:{default:[R4]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&524288&&(r.disabled=s[50]),a[1]&524288|a[4]&1048576&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&2048&&(t=!0,r.width=s[42],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function R4(i){let e,t;return e=new $o({props:{disabled:i[50],click:i[96]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&524288&&(l.disabled=n[50]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Xs(i){let e,t,n;function o(s){i[121](s)}let l={$$slots:{default:[B4]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&524288|a[1]&131072|a[4]&1048576&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&4096&&(t=!0,r.width=s[43],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function B4(i){let e,t;return e=new o1({props:{isActiveLive:i[19],isMobile:!0,ariaLabel:i[48]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&524288&&(l.isActiveLive=n[19]),o[1]&131072&&(l.ariaLabel=n[48]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Js(i){let e,t,n;function o(s){i[122](s)}let l={showDuration:i[32],position:i[4]?i[62]:i[64],duration:i[4]?i[63]:i[65],isMobile:!0};return i[44]!==void 0&&(l.width=i[44]),e=new Jr({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&2&&(r.showDuration=s[32]),a[0]&16|a[2]&5&&(r.position=s[4]?s[62]:s[64]),a[0]&16|a[2]&10&&(r.duration=s[4]?s[63]:s[65]),!t&&a[1]&8192&&(t=!0,r.width=s[44],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function xs(i){let e,t,n,o;return n=new r1({props:{position:i[64],duration:i[65],timeCodes:i[86]}}),{c(){e=k("div"),e.textContent="\xB7",t=R(),D(n.$$.fragment),u(e,"aria-hidden","true")},m(l,s){C(l,e,s),C(l,t,s),z(n,l,s),o=!0},p(l,s){const a={};s[2]&4&&(a.position=l[64]),s[2]&8&&(a.duration=l[65]),n.$set(a)},i(l){o||(m(n.$$.fragment,l),o=!0)},o(l){p(n.$$.fragment,l),o=!1},d(l){l&&(y(e),y(t)),O(n,l)}}}function z4(i){let e,t,n=i[40]&&xs(i);return{c(){n&&n.c(),e=ht()},m(o,l){n&&n.m(o,l),C(o,e,l),t=!0},p(o,l){o[40]?n?(n.p(o,l),l[1]&512&&m(n,1)):(n=xs(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),pe())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function $s(i){let e,t,n;function o(s){i[124](s)}let l={$$slots:{default:[O4]},$$scope:{ctx:i}};return i[46]!==void 0&&(l.width=i[46]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[4]&1048576&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&32768&&(t=!0,r.width=s[46],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function O4(i){let e,t;return e=new Qo({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ea(i){let e,t,n;function o(s){i[125](s)}let l={$$slots:{default:[D4]},$$scope:{ctx:i}};return i[47]!==void 0&&(l.width=i[47]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&16384|a[1]&16777216|a[4]&1048576&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&65536&&(t=!0,r.width=s[47],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function D4(i){let e,t;return e=new e1({props:{click:i[14],isFullscreen:i[55]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&16384&&(l.click=n[14]),o[1]&16777216&&(l.isFullscreen=n[55]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ta(i){let e,t,n;return t=new Xr({props:{supportLink:i[11],returnFocus:i[15]}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&2048&&(s.supportLink=o[11]),l[0]&32768&&(s.returnFocus=o[15]),t.$set(s)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function H4(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S=!i[4]&&Bs(i),P=i[4]&&i[27]!==Bt.INACTIVE&&Ks(i),B=i[97]&&N4(i),W=!i[4]&&i[21]&&Xs(i),X=i[38]&&Js(i);function j(G){i[123](G)}let T={className:"w-max",disabled:!i[40],$$slots:{default:[z4]},$$scope:{ctx:i}};i[45]!==void 0&&(T.width=i[45]),c=new It({props:T}),je.push(()=>vt(c,"width",j));let te=i[35]&&$s(i),Z=i[37]&&ea(i);b=new a1({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[20]}});let ie=i[22]&&ta(i);return{c(){S&&S.c(),e=R(),P&&P.c(),t=R(),n=k("div"),o=k("div"),l=k("div"),B&&B.c(),s=R(),W&&W.c(),a=R(),X&&X.c(),r=R(),D(c.$$.fragment),h=R(),te&&te.c(),g=R(),Z&&Z.c(),v=R(),D(b.$$.fragment),_=R(),ie&&ie.c(),V=ht(),u(l,"class","controls v-1tcstu3"),L(l,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),L(o,"fullscreen",i[55]),u(n,"class","wrapper-bottom v-1tcstu3"),L(n,"hidden",i[1]),L(n,"controls-hidden",!i[3]),L(n,"no-smooth",i[2]),L(n,"mobile",!0)},m(G,J){S&&S.m(G,J),C(G,e,J),P&&P.m(G,J),C(G,t,J),C(G,n,J),d(n,o),d(o,l),B&&B.m(l,null),d(l,s),W&&W.m(l,null),d(l,a),X&&X.m(l,null),d(l,r),z(c,l,null),d(l,h),te&&te.m(l,null),d(l,g),Z&&Z.m(l,null),i[126](l),d(o,v),z(b,o,null),i[127](n),C(G,_,J),ie&&ie.m(G,J),C(G,V,J),A=!0},p(G,J){G[4]?S&&(he(),p(S,1,1,()=>{S=null}),pe()):S?(S.p(G,J),J[0]&16&&m(S,1)):(S=Bs(G),S.c(),m(S,1),S.m(e.parentNode,e)),G[4]&&G[27]!==Bt.INACTIVE?P?(P.p(G,J),J[0]&134217744&&m(P,1)):(P=Ks(G),P.c(),m(P,1),P.m(t.parentNode,t)):P&&(he(),p(P,1,1,()=>{P=null}),pe()),G[97]&&B.p(G,J),!G[4]&&G[21]?W?(W.p(G,J),J[0]&2097168&&m(W,1)):(W=Xs(G),W.c(),m(W,1),W.m(l,a)):W&&(he(),p(W,1,1,()=>{W=null}),pe()),G[38]?X?(X.p(G,J),J[1]&128&&m(X,1)):(X=Js(G),X.c(),m(X,1),X.m(l,r)):X&&(he(),p(X,1,1,()=>{X=null}),pe());const ce={};J[1]&512&&(ce.disabled=!G[40]),J[1]&512|J[2]&12|J[4]&1048576&&(ce.$$scope={dirty:J,ctx:G}),!f&&J[1]&16384&&(f=!0,ce.width=G[45],bt(()=>f=!1)),c.$set(ce),G[35]?te?(te.p(G,J),J[1]&16&&m(te,1)):(te=$s(G),te.c(),m(te,1),te.m(l,g)):te&&(he(),p(te,1,1,()=>{te=null}),pe()),G[37]?Z?(Z.p(G,J),J[1]&64&&m(Z,1)):(Z=ea(G),Z.c(),m(Z,1),Z.m(l,null)):Z&&(he(),p(Z,1,1,()=>{Z=null}),pe());const w={};J[0]&16&&(w.isAds=G[4]),J[0]&32&&(w.canRewindLive=G[5]),J[0]&1048576&&(w.isRewindableLive=G[20]),b.$set(w),(!A||J[1]&16777216)&&L(o,"fullscreen",G[55]),(!A||J[0]&2)&&L(n,"hidden",G[1]),(!A||J[0]&8)&&L(n,"controls-hidden",!G[3]),(!A||J[0]&4)&&L(n,"no-smooth",G[2]),G[22]?ie?(ie.p(G,J),J[0]&4194304&&m(ie,1)):(ie=ta(G),ie.c(),m(ie,1),ie.m(V.parentNode,V)):ie&&(he(),p(ie,1,1,()=>{ie=null}),pe())},i(G){A||(m(S),m(P),m(B),m(W),m(X),m(c.$$.fragment,G),m(te),m(Z),m(b.$$.fragment,G),m(ie),A=!0)},o(G){p(S),p(P),p(B),p(W),p(X),p(c.$$.fragment,G),p(te),p(Z),p(b.$$.fragment,G),p(ie),A=!1},d(G){G&&(y(e),y(t),y(n),y(_),y(V)),S&&S.d(G),P&&P.d(G),B&&B.d(),W&&W.d(),X&&X.d(),O(c),te&&te.d(),Z&&Z.d(),i[126](null),O(b),i[127](null),ie&&ie.d(G)}}}function F4(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z,ie,G,J,ce,w,le,de,_e,Ne,{bottomHidden:Le}=e,{bottomNoSmooth:ye}=e,{showControls:H}=e,{controlsElementRef:M=void 0}=e,{isAds:Y=!1}=e,{canRewindLive:ge}=e,{logoClickable:ee}=e,{logoHidden:N}=e,{videoLogoUrl:Q}=e,{showNextPrevButtons:Ie}=e,{nextButtonActive:Ce}=e,{prevButtonActive:Ae}=e,{isOneVideoPlaylist:x=!1}=e,{supportLink:se}=e,{customFullscreenSupported:ve=!0}=e,{playNextVideo:re}=e,{playPrevVideo:qe}=e,{repeatPlaylist:We}=e,{toggleFullscreen:$e}=e,{returnFocus:it}=e,{seekToInteractive:Be}=e,{toggleGraph:rt}=e,{playPrevChapter:St}=e;const Re=_t(),Ve=Gi(),wt=Re.actions.internal.toggleMuted,zt=Re.actions.internal.togglePlay,mt=Re.actions.internal.pause,lt=Re.callbacks?.onAudioDoesNotExistHint,ue=Re.callbacks?.onAudioDisabledHint,et=Re.playerPhase;F(i,et,ae=>t(117,B=ae));const Qe=Re.state.duration$;F(i,Qe,ae=>t(65,Ne=ae));const nt=Re.state.positionWithScrubbing$;F(i,nt,ae=>t(64,_e=ae));const Ke=Re.state.playbackState$;F(i,Ke,ae=>t(113,c=ae));const dt=Re.state.isAudioAvailable$;F(i,dt,ae=>t(54,f=ae));const tt=Re.state.isAudioDisabled,Mt=Re.state.isEnded$;F(i,Mt,ae=>t(118,X=ae));const yt=Re.state.isLive$;F(i,yt,ae=>t(21,v=ae));const ot=Re.state.muted$;F(i,ot,ae=>t(57,ie=ae));const Ot=Re.state.isActiveLive$;F(i,Ot,ae=>t(114,h=ae));const ct=Re.state.isRewindableLive$;F(i,ct,ae=>t(20,g=ae));const Ze=Re.ui.scrubbingInProgress;F(i,Ze,ae=>t(26,W=ae));const Tt=Re.ui.mobileNotReportControlHidden$;F(i,Tt,ae=>t(24,S=ae));const st=Re.ui.isPictureInPictureActive$;F(i,st,ae=>t(23,A=ae));const ii=Re.ui.pictureInPictureType$;F(i,ii,ae=>t(116,V=ae));const me=Re.ui.mobileUnmuteButtonExpanded;F(i,me,ae=>t(58,G=ae));const Pe=Re.ui.mobileUnmuteButtonVisible;F(i,Pe,ae=>t(56,Z=ae));const Me=Re.ui.settingsMenuVisible;F(i,Me,ae=>t(22,b=ae));const Pt=Re.ui.controls,Vi=Re.actions.internal.getVideoEpisodes(),Jt=Re.webApi.pictureInPictureApi,bi=Re.state.chromecastState$;F(i,bi,ae=>t(25,P=ae));const Ii=Re.state.crashed$;F(i,Ii,ae=>t(60,ce=ae));const Lt=Pt.disabledControls$;F(i,Lt,ae=>t(119,T=ae));const Se=Re.ads.duration;F(i,Se,ae=>t(63,de=ae));const Nt=Re.ads.position;F(i,Nt,ae=>t(62,le=ae));const Mi=Re.ads.playbackState;F(i,Mi,ae=>t(27,j=ae));const ni=Re.ui.isFullscreen;F(i,ni,ae=>t(55,te=ae));const vi=Re.ui.playerSize;F(i,vi,ae=>t(115,_=ae));const _i=Re.ui.additionalButtons$;F(i,_i,ae=>t(59,J=ae));const ki=Re.actions.internal.replayInteractive,oi=Re.state.isInteractive,Ki=Re.state.isInteractiveGraphEnabled,di=Re.state.isSeekToInteractiveEnable,wi=Re.state.isPlayPrevChapterEnabled,yi=Re.state.graphIsOpened$;F(i,yi,ae=>t(61,w=ae));let Ni,Ci,qi,xt,li,Pi,Dt,Ct,Ht,Ri,Yi,Bi,$t,Fi,Wi,si,zi,Si,Ti,Ai,mi,Ft,ai;const hi=()=>Re.actions.internal.toggleChromecast();function Ut(){tt?ue?.():f?wt():lt?.()}async function qt(){Jt?.isActive()?await Jt?.remove():await Jt?.request()}function ei(){!tt&&f&&Pe.set(!1),Ut()}const ri=x?zt:We;let Wt="";const pi=(ae,jt)=>{if(!ae){t(48,Wt=U("tooltip_live"));return}jt===Je.PlaybackState.PAUSED&&t(48,Wt=U("tooltip_play"))};function ti(ae){Si=ae,t(42,Si)}function Oi(ae){Ti=ae,t(43,Ti)}function Ei(ae){Ai=ae,t(44,Ai)}function ji(ae){mi=ae,t(45,mi)}function Di(ae){Ft=ae,t(46,Ft)}function ui(ae){ai=ae,t(47,ai)}function Ui(ae){je[ae?"unshift":"push"](()=>{si=ae,t(41,si)})}function Li(ae){je[ae?"unshift":"push"](()=>{M=ae,t(0,M)})}return i.$$set=ae=>{"bottomHidden"in ae&&t(1,Le=ae.bottomHidden),"bottomNoSmooth"in ae&&t(2,ye=ae.bottomNoSmooth),"showControls"in ae&&t(3,H=ae.showControls),"controlsElementRef"in ae&&t(0,M=ae.controlsElementRef),"isAds"in ae&&t(4,Y=ae.isAds),"canRewindLive"in ae&&t(5,ge=ae.canRewindLive),"logoClickable"in ae&&t(6,ee=ae.logoClickable),"logoHidden"in ae&&t(106,N=ae.logoHidden),"videoLogoUrl"in ae&&t(7,Q=ae.videoLogoUrl),"showNextPrevButtons"in ae&&t(8,Ie=ae.showNextPrevButtons),"nextButtonActive"in ae&&t(9,Ce=ae.nextButtonActive),"prevButtonActive"in ae&&t(10,Ae=ae.prevButtonActive),"isOneVideoPlaylist"in ae&&t(107,x=ae.isOneVideoPlaylist),"supportLink"in ae&&t(11,se=ae.supportLink),"customFullscreenSupported"in ae&&t(108,ve=ae.customFullscreenSupported),"playNextVideo"in ae&&t(12,re=ae.playNextVideo),"playPrevVideo"in ae&&t(13,qe=ae.playPrevVideo),"repeatPlaylist"in ae&&t(109,We=ae.repeatPlaylist),"toggleFullscreen"in ae&&t(14,$e=ae.toggleFullscreen),"returnFocus"in ae&&t(15,it=ae.returnFocus),"seekToInteractive"in ae&&t(16,Be=ae.seekToInteractive),"toggleGraph"in ae&&t(17,rt=ae.toggleGraph),"playPrevChapter"in ae&&t(18,St=ae.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&67108864&&t(112,n=T.has(ft.EPISODE_BUTTON)),i.$$.dirty[3]&67108864&&t(53,o=T.has(ft.GRAPH_BUTTON)),i.$$.dirty[3]&67108864&&t(52,l=T.has(ft.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&67108864&&t(51,s=T.has(ft.PLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(50,a=T.has(ft.REPLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(49,r=T.has(ft.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&1048576&&t(28,Ni=c===Je.PlaybackState.PLAYING),i.$$.dirty[0]&134217728&&t(29,Ci=j===Bt.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&33554432&&t(30,qi=X&&!Y&&!oi),i.$$.dirty[0]&16|i.$$.dirty[3]&33554432&&t(31,xt=!X||Y),i.$$.dirty[3]&4194304&&t(110,li=_.width>300),i.$$.dirty[3]&4194304&&t(32,Pi=_.width>400),i.$$.dirty[0]&67108864&&t(111,Dt=W),i.$$.dirty[0]&58720256|i.$$.dirty[3]&8388608&&t(33,Ct=P!==Je.ChromecastState.NOT_AVAILABLE&&!(A&&V===dn.DocumentPictureInPicture)&&!S&&!oi),i.$$.dirty[0]&50331648|i.$$.dirty[3]&25427968){const ae=B===ze.WaitingLive;t(34,Ht=!!Jt&&P!==Je.ChromecastState.CONNECTED&&!S&&(V===dn.DocumentPictureInPicture&&ae||!ae)&&!Dt&&!oi)}i.$$.dirty[3]&262144&&t(35,Ri=!Dt),i.$$.dirty[3]&4202496&&t(36,Yi=!N&&_.width>350),i.$$.dirty[0]&8388608|i.$$.dirty[3]&8683520&&t(37,Bi=Ve.features.fullscreen&&!(A&&V===dn.DocumentPictureInPicture)&&(oi?ve:!0)&&!Dt),i.$$.dirty[0]&2097168|i.$$.dirty[3]&4456448&&t(38,$t=(!v||Y)&&_.width>260&&!Dt&&!(Ve.features.interactiveHideTime&&oi)),i.$$.dirty[0]&4194312&&t(39,Fi=b||H),i.$$.dirty[0]&2097168|i.$$.dirty[3]&917504&&t(40,Wi=!Y&&!v&&!!Vi?.length&&li&&!n&&!Dt),i.$$.dirty[0]&1048576|i.$$.dirty[3]&2097152&&t(19,zi=!g||h),i.$$.dirty[0]&524288|i.$$.dirty[3]&1048576&&pi(zi,c)},[M,Le,ye,H,Y,ge,ee,Q,Ie,Ce,Ae,se,re,qe,$e,it,Be,rt,St,zi,g,v,b,A,S,P,W,j,Ni,Ci,qi,xt,Pi,Ct,Ht,Ri,Yi,Bi,$t,Fi,Wi,si,Si,Ti,Ai,mi,Ft,ai,Wt,r,a,s,l,o,f,te,Z,ie,G,J,ce,w,le,de,_e,Ne,zt,mt,et,Qe,nt,Ke,dt,tt,Mt,yt,ot,Ot,ct,Ze,Tt,st,ii,me,Pe,Me,Vi,bi,Ii,Lt,Se,Nt,Mi,ni,vi,_i,ki,oi,Ki,di,wi,yi,hi,qt,ei,ri,N,x,ve,We,li,Dt,n,c,h,_,V,B,X,T,ti,Oi,Ei,ji,Di,ui,Ui,Li]}class U4 extends we{constructor(e){super(),ke(this,e,F4,H4,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:106,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:107,supportLink:11,customFullscreenSupported:108,playNextVideo:12,playPrevVideo:13,repeatPlaylist:109,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18},L4,[-1,-1,-1,-1,-1])}}function q4(i){let e,t,n;function o(s){i[26](s)}let l={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(l.controlsElementRef=i[0]),e=new p4({props:l}),je.push(()=>vt(e,"controlsElementRef",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a&2&&(r.bottomHidden=s[1]),a&4&&(r.bottomNoSmooth=s[2]),a&8&&(r.showControls=s[3]),a&16&&(r.isAds=s[4]),a&32&&(r.canRewindLive=s[5]),a&64&&(r.logoClickable=s[6]),a&128&&(r.logoHidden=s[7]),a&256&&(r.videoLogoUrl=s[8]),a&512&&(r.showNextPrevButtons=s[9]),a&1024&&(r.nextButtonActive=s[10]),a&2048&&(r.prevButtonActive=s[11]),a&4096&&(r.isOneVideoPlaylist=s[12]),a&8192&&(r.supportLink=s[13]),a&16384&&(r.customFullscreenSupported=s[14]),a&32768&&(r.playNextVideo=s[15]),a&65536&&(r.playPrevVideo=s[16]),a&131072&&(r.repeatPlaylist=s[17]),a&262144&&(r.toggleFullscreen=s[18]),a&524288&&(r.returnFocus=s[19]),a&1048576&&(r.seekToInteractive=s[20]),a&2097152&&(r.toggleGraph=s[21]),a&4194304&&(r.playPrevChapter=s[22]),!t&&a&1&&(t=!0,r.controlsElementRef=s[0],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function W4(i){let e,t,n;function o(s){i[25](s)}let l={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(l.controlsElementRef=i[0]),e=new U4({props:l}),je.push(()=>vt(e,"controlsElementRef",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a&2&&(r.bottomHidden=s[1]),a&4&&(r.bottomNoSmooth=s[2]),a&8&&(r.showControls=s[3]),a&16&&(r.isAds=s[4]),a&32&&(r.canRewindLive=s[5]),a&64&&(r.logoClickable=s[6]),a&128&&(r.logoHidden=s[7]),a&256&&(r.videoLogoUrl=s[8]),a&512&&(r.showNextPrevButtons=s[9]),a&1024&&(r.nextButtonActive=s[10]),a&2048&&(r.prevButtonActive=s[11]),a&4096&&(r.isOneVideoPlaylist=s[12]),a&8192&&(r.supportLink=s[13]),a&16384&&(r.customFullscreenSupported=s[14]),a&32768&&(r.playNextVideo=s[15]),a&65536&&(r.playPrevVideo=s[16]),a&131072&&(r.repeatPlaylist=s[17]),a&262144&&(r.toggleFullscreen=s[18]),a&524288&&(r.returnFocus=s[19]),a&1048576&&(r.seekToInteractive=s[20]),a&2097152&&(r.toggleGraph=s[21]),a&4194304&&(r.playPrevChapter=s[22]),!t&&a&1&&(t=!0,r.controlsElementRef=s[0],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function j4(i){let e,t,n,o;const l=[W4,q4],s=[];function a(r,c){return r[23]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,[c]){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function Z4(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:l=!1}=e,{showControls:s}=e,{controlsElementRef:a=void 0}=e,{isAds:r=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:h}=e,{videoLogoUrl:g}=e,{showNextPrevButtons:v}=e,{nextButtonActive:b}=e,{prevButtonActive:_}=e,{isOneVideoPlaylist:V=!1}=e,{supportLink:A}=e,{customFullscreenSupported:S=!0}=e,{playNextVideo:P}=e,{playPrevVideo:B}=e,{repeatPlaylist:W}=e,{toggleFullscreen:X}=e,{returnFocus:j=ne.noop}=e,{seekToInteractive:T}=e,{toggleGraph:te}=e,{playPrevChapter:Z}=e;const G=_t().ui.isMobile;F(i,G,w=>t(23,n=w));function J(w){a=w,t(0,a)}function ce(w){a=w,t(0,a)}return i.$$set=w=>{"bottomHidden"in w&&t(1,o=w.bottomHidden),"bottomNoSmooth"in w&&t(2,l=w.bottomNoSmooth),"showControls"in w&&t(3,s=w.showControls),"controlsElementRef"in w&&t(0,a=w.controlsElementRef),"isAds"in w&&t(4,r=w.isAds),"canRewindLive"in w&&t(5,c=w.canRewindLive),"logoClickable"in w&&t(6,f=w.logoClickable),"logoHidden"in w&&t(7,h=w.logoHidden),"videoLogoUrl"in w&&t(8,g=w.videoLogoUrl),"showNextPrevButtons"in w&&t(9,v=w.showNextPrevButtons),"nextButtonActive"in w&&t(10,b=w.nextButtonActive),"prevButtonActive"in w&&t(11,_=w.prevButtonActive),"isOneVideoPlaylist"in w&&t(12,V=w.isOneVideoPlaylist),"supportLink"in w&&t(13,A=w.supportLink),"customFullscreenSupported"in w&&t(14,S=w.customFullscreenSupported),"playNextVideo"in w&&t(15,P=w.playNextVideo),"playPrevVideo"in w&&t(16,B=w.playPrevVideo),"repeatPlaylist"in w&&t(17,W=w.repeatPlaylist),"toggleFullscreen"in w&&t(18,X=w.toggleFullscreen),"returnFocus"in w&&t(19,j=w.returnFocus),"seekToInteractive"in w&&t(20,T=w.seekToInteractive),"toggleGraph"in w&&t(21,te=w.toggleGraph),"playPrevChapter"in w&&t(22,Z=w.playPrevChapter)},[a,o,l,s,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z,n,G,J,ce]}class h1 extends we{constructor(e){super(),ke(this,e,Z4,j4,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:7,videoLogoUrl:8,showNextPrevButtons:9,nextButtonActive:10,prevButtonActive:11,isOneVideoPlaylist:12,supportLink:13,customFullscreenSupported:14,playNextVideo:15,playPrevVideo:16,repeatPlaylist:17,toggleFullscreen:18,returnFocus:19,seekToInteractive:20,toggleGraph:21,playPrevChapter:22})}}function G4(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function K4(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),a=I("feFlood"),r=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),g=I("feBlend"),v=I("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(a,"flood-opacity","0"),u(a,"result","BackgroundImageFix"),u(r,"in","SourceAlpha"),u(r,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(r,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_100684"),u(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_100684"),u(v,"result","shape"),u(s,"id","a"),u(s,"x","2.5"),u(s,"y","0"),u(s,"width","43.996"),u(s,"height","49.5"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),L(e,"reversed",i[0])},m(b,_){C(b,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(s,r),d(s,c),d(s,f),d(s,h),d(s,g),d(s,v)},p(b,[_]){_&1&&L(e,"reversed",b[0])},i:K,o:K,d(b){b&&y(e)}}}function Y4(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Q4 extends we{constructor(e){super(),ke(this,e,Y4,K4,be,{reversed:0},G4)}}function X4(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("clipPath"),a=I("path"),r=I("filter"),c=I("feFlood"),f=I("feColorMatrix"),h=I("feOffset"),g=I("feGaussianBlur"),v=I("feColorMatrix"),b=I("feBlend"),_=I("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(o,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(s,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(g,"stdDeviation","2.5"),u(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(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_104204"),u(_,"result","shape"),u(r,"id","b"),u(r,"x","-1.5"),u(r,"y","1.5"),u(r,"width","51"),u(r,"height","45"),u(r,"filterUnits","userSpaceOnUse"),u(r,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(V,A){C(V,e,A),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(l,r),d(r,c),d(r,f),d(r,h),d(r,g),d(r,v),d(r,b),d(r,_)},d(V){V&&y(e)}}}function J4(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),s=I("defs"),a=I("clipPath"),r=I("path"),c=I("filter"),f=I("feFlood"),h=I("feColorMatrix"),g=I("feOffset"),v=I("feGaussianBlur"),b=I("feColorMatrix"),_=I("feBlend"),V=I("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(o,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(o,"fill","#fff"),u(l,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(r,"fill","#fff"),u(r,"d","M0 0h48v48H0z"),u(a,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(h,"in","SourceAlpha"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(h,"result","hardAlpha"),u(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(_,"in2","BackgroundImageFix"),u(_,"result","effect1_dropShadow_2260_104293"),u(V,"in","SourceGraphic"),u(V,"in2","effect1_dropShadow_2260_104293"),u(V,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(A,S){C(A,e,S),d(e,t),d(t,n),d(t,o),d(t,l),d(e,s),d(s,a),d(a,r),d(s,c),d(c,f),d(c,h),d(c,g),d(c,v),d(c,b),d(c,_),d(c,V)},d(A){A&&y(e)}}}function x4(i){let e;function t(l,s){return l[0]?J4:X4}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},m(l,s){o.m(l,s),C(l,e,s)},p(l,[s]){n!==(n=t(l))&&(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:K,o:K,d(l){l&&y(e),o.d(l)}}}function $4(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class p1 extends we{constructor(e){super(),ke(this,e,$4,x4,be,{isOff:0})}}function em(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function tm(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),a=I("feFlood"),r=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),g=I("feBlend"),v=I("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(a,"flood-opacity","0"),u(a,"result","BackgroundImageFix"),u(r,"in","SourceAlpha"),u(r,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(r,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_106627"),u(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_106627"),u(v,"result","shape"),u(s,"id","a"),u(s,"x","3.402"),u(s,"y","10.105"),u(s,"width","40.098"),u(s,"height","27.785"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),L(e,"reversed",i[0])},m(b,_){C(b,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(s,r),d(s,c),d(s,f),d(s,h),d(s,g),d(s,v)},p(b,[_]){_&1&&L(e,"reversed",b[0])},i:K,o:K,d(b){b&&y(e)}}}function im(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class nm extends we{constructor(e){super(),ke(this,e,im,tm,be,{reversed:0},em)}}function om(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function lm(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),a=I("feFlood"),r=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),g=I("feBlend"),v=I("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(a,"flood-opacity","0"),u(a,"result","BackgroundImageFix"),u(r,"in","SourceAlpha"),u(r,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(r,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2340_106922"),u(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2340_106922"),u(v,"result","shape"),u(s,"id","a"),u(s,"x","5.5"),u(s,"y","5.5"),u(s,"width","37"),u(s,"height","37"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),L(e,"reversed",i[0])},m(b,_){C(b,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(s,r),d(s,c),d(s,f),d(s,h),d(s,g),d(s,v)},p(b,[_]){_&1&&L(e,"reversed",b[0])},i:K,o:K,d(b){b&&y(e)}}}function sm(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class am extends we{constructor(e){super(),ke(this,e,sm,lm,be,{reversed:0},om)}}function rm(i){Ue(i,"v-1lbk7aq",`.hot-key-helpers-container.v-1lbk7aq.v-1lbk7aq{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-1lbk7aq-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-1lbk7aq>div.v-1lbk7aq{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-1lbk7aq svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-1lbk7aq svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-1lbk7aq svg[data-testid="play-icon"],.hot-key-helpers-container.v-1lbk7aq svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-1lbk7aq.v-1lbk7aq{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-1lbk7aq.v-1lbk7aq{left:calc(75% - 100px)}.hot-key-helpers-text.v-1lbk7aq.v-1lbk7aq{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-1lbk7aq.v-1lbk7aq{visibility:hidden;animation:v-1lbk7aq-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-1lbk7aq-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-1lbk7aq-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function ia(i){let e,t=[Ge.BACKWARD_SEEK,Ge.FORWARD_SEEK].includes(i[4]),n,o,l,s,a,r=[Ge.RATE_DOWN,Ge.RATE_UP].includes(i[4]),c,f=[Ge.EPISODE_PREV,Ge.EPISODE_NEXT].includes(i[4]),h,g,v,b,_,V=t&&na(i),A=i[4]===Ge.STOP&&oa(),S=i[4]===Ge.PLAY&&la(),P=i[4]===Ge.SUBTITLES_OFF&&sa(),B=i[4]===Ge.SUBTITLES_ON&&aa(),W=r&&ra(i),X=f&&ua(i),j=i[4]===Ge.MUTE&&ca(),T=i[4]===Ge.VOLUME&&fa(),te=i[5]&&da(i);return{c(){e=k("div"),V&&V.c(),n=R(),A&&A.c(),o=R(),S&&S.c(),l=R(),P&&P.c(),s=R(),B&&B.c(),a=R(),W&&W.c(),c=R(),X&&X.c(),h=R(),j&&j.c(),g=R(),T&&T.c(),v=R(),te&&te.c(),b=ht(),u(e,"class","v-1lbk7aq")},m(Z,ie){C(Z,e,ie),V&&V.m(e,null),d(e,n),A&&A.m(e,null),d(e,o),S&&S.m(e,null),d(e,l),P&&P.m(e,null),d(e,s),B&&B.m(e,null),d(e,a),W&&W.m(e,null),d(e,c),X&&X.m(e,null),d(e,h),j&&j.m(e,null),d(e,g),T&&T.m(e,null),C(Z,v,ie),te&&te.m(Z,ie),C(Z,b,ie),_=!0},p(Z,ie){ie&16&&(t=[Ge.BACKWARD_SEEK,Ge.FORWARD_SEEK].includes(Z[4])),t?V?(V.p(Z,ie),ie&16&&m(V,1)):(V=na(Z),V.c(),m(V,1),V.m(e,n)):V&&(he(),p(V,1,1,()=>{V=null}),pe()),Z[4]===Ge.STOP?A?ie&16&&m(A,1):(A=oa(),A.c(),m(A,1),A.m(e,o)):A&&(he(),p(A,1,1,()=>{A=null}),pe()),Z[4]===Ge.PLAY?S?ie&16&&m(S,1):(S=la(),S.c(),m(S,1),S.m(e,l)):S&&(he(),p(S,1,1,()=>{S=null}),pe()),Z[4]===Ge.SUBTITLES_OFF?P?ie&16&&m(P,1):(P=sa(),P.c(),m(P,1),P.m(e,s)):P&&(he(),p(P,1,1,()=>{P=null}),pe()),Z[4]===Ge.SUBTITLES_ON?B?ie&16&&m(B,1):(B=aa(),B.c(),m(B,1),B.m(e,a)):B&&(he(),p(B,1,1,()=>{B=null}),pe()),ie&16&&(r=[Ge.RATE_DOWN,Ge.RATE_UP].includes(Z[4])),r?W?(W.p(Z,ie),ie&16&&m(W,1)):(W=ra(Z),W.c(),m(W,1),W.m(e,c)):W&&(he(),p(W,1,1,()=>{W=null}),pe()),ie&16&&(f=[Ge.EPISODE_PREV,Ge.EPISODE_NEXT].includes(Z[4])),f?X?(X.p(Z,ie),ie&16&&m(X,1)):(X=ua(Z),X.c(),m(X,1),X.m(e,h)):X&&(he(),p(X,1,1,()=>{X=null}),pe()),Z[4]===Ge.MUTE?j?ie&16&&m(j,1):(j=ca(),j.c(),m(j,1),j.m(e,g)):j&&(he(),p(j,1,1,()=>{j=null}),pe()),Z[4]===Ge.VOLUME?T?ie&16&&m(T,1):(T=fa(),T.c(),m(T,1),T.m(e,null)):T&&(he(),p(T,1,1,()=>{T=null}),pe()),Z[5]?te?te.p(Z,ie):(te=da(Z),te.c(),te.m(b.parentNode,b)):te&&(te.d(1),te=null)},i(Z){_||(m(V),m(A),m(S),m(P),m(B),m(W),m(X),m(j),m(T),_=!0)},o(Z){p(V),p(A),p(S),p(P),p(B),p(W),p(X),p(j),p(T),_=!1},d(Z){Z&&(y(e),y(v),y(b)),V&&V.d(),A&&A.d(),S&&S.d(),P&&P.d(),B&&B.d(),W&&W.d(),X&&X.d(),j&&j.d(),T&&T.d(),te&&te.d(Z)}}}function na(i){let e,t;return e=new Q4({props:{reversed:i[4]===Ge.FORWARD_SEEK}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Ge.FORWARD_SEEK),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function oa(i){let e,t;return e=new t1({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function la(i){let e,t;return e=new Jo({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function sa(i){let e,t;return e=new p1({props:{isOff:!0}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function aa(i){let e,t;return e=new p1({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ra(i){let e,t;return e=new nm({props:{reversed:i[4]===Ge.RATE_UP}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Ge.RATE_UP),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ua(i){let e,t;return e=new am({props:{reversed:i[4]===Ge.EPISODE_NEXT}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Ge.EPISODE_NEXT),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ca(i){let e,t;return e=new So({props:{volume:0}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function fa(i){let e,t;return e=new So({props:{volume:1}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function da(i){let e,t;return{c(){e=k("span"),t=Oe(i[5]),u(e,"class","hot-key-helpers-text v-1lbk7aq")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&32&&xe(t,n[5])},d(n){n&&y(e)}}}function um(i){let e,t,n=!i[1]&&i[4]&&ia(i);return{c(){e=k("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-1lbk7aq"),L(e,"hidden",i[1]),L(e,"hot-key-helpers-container--left",i[2]),L(e,"hot-key-helpers-container--right",i[3])},m(o,l){C(o,e,l),n&&n.m(e,null),t=!0},p(o,[l]){!o[1]&&o[4]?n?(n.p(o,l),l&18&&m(n,1)):(n=ia(o),n.c(),m(n,1),n.m(e,null)):n&&(he(),p(n,1,1,()=>{n=null}),pe()),(!t||l&2)&&L(e,"hidden",o[1]),(!t||l&4)&&L(e,"hot-key-helpers-container--left",o[2]),(!t||l&8)&&L(e,"hot-key-helpers-container--right",o[3])},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d()}}}function cm(i,e,t){let n,o=K,l=()=>(o(),o=ko(s,g=>t(6,n=g)),s);i.$$.on_destroy.push(()=>o());let{data:s}=e;l();let a,r,c,f,h;return i.$$set=g=>{"data"in g&&l(t(0,s=g.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,a=!n),t(2,r=n?.type===Ge.BACKWARD_SEEK),t(3,c=n?.type===Ge.FORWARD_SEEK),t(4,f=n?.type),n?.t?t(5,h=U(n.t.key,{value:n.t.value||""})):t(5,h=n?.text))},[s,a,r,c,f,h,n]}class fm extends we{constructor(e){super(),ke(this,e,cm,um,be,{data:0},rm)}}function dm(i){Ue(i,"v-1yzc86r",".immersive-controls.v-1yzc86r{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn)}.immersive-controls.m-shifted.v-1yzc86r{top:50px;left:20px}.button-block.v-1yzc86r{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-1yzc86r{display:flex;flex-direction:row;position:relative}.button.v-1yzc86r{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-1yzc86r svg{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-1yzc86r svg{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-1yzc86r svg{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-1yzc86r svg{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-1yzc86r svg{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-1yzc86r:hover svg{opacity:1}")}function mm(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S;return l=new yn({props:{direction:"up"}}),r=new yn({props:{direction:"up"}}),g=new yn({props:{direction:"up"}}),_=new yn({props:{direction:"up"}}),{c(){e=k("div"),t=k("div"),n=k("div"),o=k("div"),D(l.$$.fragment),s=R(),a=k("div"),D(r.$$.fragment),c=R(),f=k("div"),h=k("div"),D(g.$$.fragment),v=R(),b=k("div"),D(_.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(a,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(h,"class","button button-left v-1yzc86r"),u(b,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(t,"class","button-block v-1yzc86r"),u(t,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",U("aria_label_spherical_control")),L(e,"m-shifted",i[0])},m(P,B){C(P,e,B),d(e,t),d(t,n),d(n,o),z(l,o,null),d(n,s),d(n,a),z(r,a,null),d(t,c),d(t,f),d(f,h),z(g,h,null),d(f,v),d(f,b),z(_,b,null),V=!0,A||(S=[Ee(o,"mousedown",i[1]),Ee(o,"mouseup",i[5]),Ee(o,"mouseleave",i[5]),Ee(a,"mousedown",i[3]),Ee(a,"mouseup",i[5]),Ee(a,"mouseleave",i[5]),Ee(h,"mousedown",i[4]),Ee(h,"mouseup",i[5]),Ee(h,"mouseleave",i[5]),Ee(b,"mousedown",i[2]),Ee(b,"mouseup",i[5]),Ee(b,"mouseleave",i[5]),Ee(e,"keydown",i[6]),Ee(e,"keyup",i[7])],A=!0)},p(P,[B]){(!V||B&1)&&L(e,"m-shifted",P[0])},i(P){V||(m(l.$$.fragment,P),m(r.$$.fragment,P),m(g.$$.fragment,P),m(_.$$.fragment,P),V=!0)},o(P){p(l.$$.fragment,P),p(r.$$.fragment,P),p(g.$$.fragment,P),p(_.$$.fragment,P),V=!1},d(P){P&&y(e),O(l),O(r),O(g),O(_),A=!1,Xt(S)}}}function hm(i,e,t){let{isShifted:n=!1}=e;const o=_t(),l=new Set([Fe.ArrowUp,Fe.ArrowDown,Fe.ArrowLeft,Fe.ArrowRight]),s=()=>{o.actions.internal.startCameraManualRotation(0,1)},a=()=>{o.actions.internal.startCameraManualRotation(0,-1)},r=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),h=v=>{if(l.has(v.code))switch(v.preventDefault(),v.stopPropagation(),v.code){case Fe.ArrowUp:s();break;case Fe.ArrowDown:a();break;case Fe.ArrowLeft:c();break;case Fe.ArrowRight:r();break}},g=v=>{l.has(v.code)&&(v.preventDefault(),v.stopPropagation(),f())};return i.$$set=v=>{"isShifted"in v&&t(0,n=v.isShifted)},[n,s,a,r,c,f,h,g]}class g1 extends we{constructor(e){super(),ke(this,e,hm,mm,be,{isShifted:0},dm)}}function pm(i){Ue(i,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function ma(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function ha(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function pa(i){let e,t;function n(s,a){return s[7]&&s[8]?vm:s[5]?bm:gm}let o=n(i),l=o(i);return{c(){e=k("div"),t=k("span"),l.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),L(e,"mobile",i[3])},m(s,a){C(s,e,a),d(e,t),l.m(t,null)},p(s,a){o===(o=n(s))&&l?l.p(s,a):(l.d(1),l=o(s),l&&(l.c(),l.m(t,null))),a&8&&L(e,"mobile",s[3])},d(s){s&&y(e),l.d()}}}function gm(i){let e,t=Vt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=ga(ma(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=ht()},m(o,l){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(o,l);C(o,e,l)},p(o,l){if(l&18){t=Vt(o[1]);let s;for(s=0;s<t.length;s+=1){const a=ma(o,t,s);n[s]?n[s].p(a,l):(n[s]=ga(a),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(o){o&&y(e),tn(n,o)}}}function bm(i){let e,t,n=Vt(i[6]),o=[];for(let l=0;l<n.length;l+=1)o[l]=va(ha(i,n,l));return{c(){e=k("span"),t=k("span");for(let l=0;l<o.length;l+=1)o[l].c();u(t,"class","caption-segment v-ovfyp5"),At(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){C(l,e,s),d(e,t);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(t,null)},p(l,s){if(s&68){n=Vt(l[6]);let a;for(a=0;a<n.length;a+=1){const r=ha(l,n,a);o[a]?o[a].p(r,s):(o[a]=va(r),o[a].c(),o[a].m(t,null))}for(;a<o.length;a+=1)o[a].d(1);o.length=n.length}s&16&&At(t,"font-size",l[4]+"px")},d(l){l&&y(e),tn(o,l)}}}function vm(i){let e,t,n=U("subtitles_auto_caption")+"",o;return{c(){e=k("span"),t=k("span"),o=Oe(n),u(t,"class","caption-segment v-ovfyp5"),At(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){C(l,e,s),d(e,t),d(t,o)},p(l,s){s&16&&At(t,"font-size",l[4]+"px")},d(l){l&&y(e)}}}function ga(i){let e,t,n=i[16]+"",o,l;return{c(){e=k("span"),t=k("span"),o=Oe(n),l=R(),u(t,"class","caption-segment v-ovfyp5"),At(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,a){C(s,e,a),d(e,t),d(t,o),d(e,l)},p(s,a){a&2&&n!==(n=s[16]+"")&&xe(o,n),a&16&&At(t,"font-size",s[4]+"px")},d(s){s&&y(e)}}}function ba(i){let e=i[16]+"",t;return{c(){t=Oe(e)},m(n,o){C(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&xe(t,e)},d(n){n&&y(t)}}}function va(i){let e,t=(!i[17]||i[17]<=i[2])&&ba(i);return{c(){t&&t.c(),e=ht()},m(n,o){t&&t.m(n,o),C(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?t?t.p(n,o):(t=ba(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&y(e),t&&t.d(n)}}}function _m(i){let e,t=i[1].length>0&&pa(i);return{c(){e=k("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),L(e,"shifted",i[0]),L(e,"auto",i[5]&&!i[8])},m(n,o){C(n,e,o),t&&t.m(e,null)},p(n,[o]){n[1].length>0?t?t.p(n,o):(t=pa(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),o&1&&L(e,"shifted",n[0]),o&288&&L(e,"auto",n[5]&&!n[8])},i:K,o:K,d(n){n&&y(e),t&&t.d()}}}function km(i,e,t){let n,o,{shifted:l}=e,{captions:s}=e,{position:a}=e,{playerSize:r}=e,{isMobile:c=!1}=e;const f=_t(),h=Gi(),g=f.state.currentSubtitle$;F(i,g,P=>t(12,n=P));const v=f.state.isAutoSubtitleCaptionVisible$;F(i,v,P=>t(8,o=P));let b,_,V,A,S;return Zi(()=>{S=window.setTimeout(()=>{v.set(!1)},h.autoSubtitlesTimeout)}),yo(()=>{window.clearTimeout(S)}),i.$$set=P=>{"shifted"in P&&t(0,l=P.shifted),"captions"in P&&t(1,s=P.captions),"position"in P&&t(2,a=P.position),"playerSize"in P&&t(11,r=P.playerSize),"isMobile"in P&&t(3,c=P.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const P=r.width*.02;t(4,b=P<=h.minSubtitlesFontSize?h.minSubtitlesFontSize:P)}i.$$.dirty&2&&t(5,_=s.some(P=>P.type==="timestamp")),i.$$.dirty&2&&t(6,V=s.reduce((P,{type:B,value:W})=>(B==="timestamp"?P.push({timeAppeared:Number(W),value:""}):P.length===0?P.push({value:String(W)}):P[P.length-1].value=String(W),P),[])),i.$$.dirty&4096&&t(7,A=!!n.isAuto)},[l,s,a,c,b,_,V,A,o,g,v,r,n]}class b1 extends we{constructor(e){super(),ke(this,e,km,_m,be,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},pm)}}function wm(i){Ue(i,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function _a(i){let e,t,n;return{c(){e=k("div"),t=Oe("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Oe(i[1]),u(e,"class","text v-1o62kpz")},m(o,l){C(o,e,l),d(e,t),d(e,n)},p(o,l){l&2&&xe(n,o[1])},d(o){o&&y(e)}}}function ym(i){let e,t,n,o,l,s,a=i[1]&&_a(i);return{c(){e=k("div"),t=k("div"),t.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=R(),a&&a.c(),u(t,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${i[0]||""}')`)},m(r,c){C(r,e,c),d(e,t),d(e,n),a&&a.m(e,null),l||(s=Ee(e,"click",i[2]),l=!0)},p(r,[c]){r[1]?a?a.p(r,c):(a=_a(r),a.c(),a.m(e,null)):a&&(a.d(1),a=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${r[0]||""}')`)&&u(e,"style",o)},i:K,o:K,d(r){r&&y(e),a&&a.d(),l=!1,s()}}}function Cm(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function l(s){Wn.call(this,i,s)}return i.$$set=s=>{"thumbUrl"in s&&t(0,n=s.thumbUrl),"chromecastDeviceName"in s&&t(1,o=s.chromecastDeviceName)},[n,o,l]}class v1 extends we{constructor(e){super(),ke(this,e,Cm,ym,be,{thumbUrl:0,chromecastDeviceName:1},wm)}}function Pm(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Sm extends we{constructor(e){super(),ke(this,e,null,Pm,be,{})}}function Tm(i){Ue(i,"v-13zpvm8",".container.v-13zpvm8{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function Am(i){let e,t,n;return t=new Sm({}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}class _1 extends we{constructor(e){super(),ke(this,e,null,Am,be,{},Tm)}}function Em(i){Ue(i,"v-17wno3",".container.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-17wno3.v-17wno3{opacity:0;visibility:hidden}.playButton.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-17wno3:hover .playButtonBackground.v-17wno3{background-color:var(--big-play-hover-bg-color);transform:scale(1.15)}.playButton.v-17wno3 svg{transform:scale(2)}")}function Lm(i){let e,t,n,o,l,s,a,r,c;return l=new Jo({}),{c(){e=k("div"),t=k("div"),n=k("div"),o=R(),D(l.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(t,"class","playButton v-17wno3"),u(e,"class","container v-17wno3"),u(e,"style",s=`background-color: #222; background-image: url('${i[0]||""}')`),L(e,"hidden",i[1])},m(f,h){C(f,e,h),d(e,t),d(t,n),d(t,o),z(l,t,null),a=!0,r||(c=Ee(e,"click",ut(function(){hn(i[2])&&i[2].apply(this,arguments)})),r=!0)},p(f,[h]){i=f,(!a||h&1&&s!==(s=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",s),(!a||h&2)&&L(e,"hidden",i[1])},i(f){a||(m(l.$$.fragment,f),a=!0)},o(f){p(l.$$.fragment,f),a=!1},d(f){f&&y(e),O(l),r=!1,c()}}}function Vm(i,e,t){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:l}=e;return i.$$set=s=>{"thumbUrl"in s&&t(0,n=s.thumbUrl),"hidden"in s&&t(1,o=s.hidden),"startVideo"in s&&t(2,l=s.startVideo)},[n,o,l]}class k1 extends we{constructor(e){super(),ke(this,e,Vm,Lm,be,{thumbUrl:0,hidden:1,startVideo:2},Em)}}function Im(i){Ue(i,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
24
+ )}`)}function Kl(t){let e;return{c(){e=T("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(i,n){E(i,e,n)},d(i){i&&P(e)}}}function Gl(t){let e,i;return e=new $c({props:{position:t[5],secondsToWatchBeforeSkip:t[6],skipAd:t[8].actions.internal.skipAd}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&32&&(s.position=n[5]),o&64&&(s.secondsToWatchBeforeSkip=n[6]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Yl(t){let e,i;return e=new Gc({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ql(t){let e,i;return e=new nf({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function lf(t){let e,i,n,o,s,l,r,a=t[0]&&Kl(),c=t[3]&&Gl(t),f=t[7]&&Yl(),m=t[4]&&Ql();return{c(){e=T("div"),a&&a.c(),i=O(),n=T("video"),o=O(),c&&c.c(),s=O(),f&&f.c(),l=O(),m&&m.c(),Pt(n,"width","100%"),Pt(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,_){E(h,e,_),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,[_]){h[0]?a||(a=Kl(),a.c(),a.m(e,i)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,_),_&8&&d(c,1)):(c=Gl(h),c.c(),d(c,1),c.m(e,s)):c&&(de(),g(c,1,1,()=>{c=null}),me()),h[7]?f?_&128&&d(f,1):(f=Yl(),f.c(),d(f,1),f.m(e,l)):f&&(de(),g(f,1,1,()=>{f=null}),me()),h[4]?m?_&16&&d(m,1):(m=Ql(),m.c(),d(m,1),m.m(e,null)):m&&(de(),g(m,1,1,()=>{m=null}),me())},i(h){r||(d(c),d(f),d(m),r=!0)},o(h){g(c),g(f),g(m),r=!1},d(h){h&&P(e),a&&a.d(),t[19](null),c&&c.d(),f&&f.d(),m&&m.d(),t[20](null)}}}function sf(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=pt(),_=h.state.isEnded$;D(t,_,M=>i(7,r=M));const b=h.ui.isMobile;D(t,b,M=>i(0,o=M));let k,v,S=!1;const y=h.ads.playbackState;D(t,y,M=>i(18,n=M));const w=h.ads.canSkip,z=h.ads.position;D(t,z,M=>i(5,s=M));const oe=h.ads.secondsToWatchBeforeSkip;D(t,oe,M=>i(6,l=M));let I,W;nn(()=>{const M=new AbortController;let ie=()=>{M.abort()};const R=h.getAdmanWrapper();if(!a){R.onAdmanLoadingError();return}const{width:Y,height:le}=Ye(h.ui.playerSize),C=Ye(h.ui.isFullscreen),se=Ye(h.ui.isAutoplay),ye={width:Y,height:le,isFullscreen:C,isAutoplay:se,adsContainer:k,adsVideoElement:v,slotId:a,params:c,previewParam:f,duration:m};return window.AdmanHTML?(R.initAdman(ye),S=!0):R.loadAdman(M.signal).then(()=>{R.initAdman(ye),S=!0}).catch(()=>{R.onAdmanLoadingError()}),()=>{!S&&ie()}});function V(M){Se[M?"unshift":"push"](()=>{v=M,i(2,v)})}function te(M){Se[M?"unshift":"push"](()=>{k=M,i(1,k)})}return t.$$set=M=>{"adsSlotId"in M&&i(14,a=M.adsSlotId),"adsParams"in M&&i(15,c=M.adsParams),"adsPreviewParam"in M&&i(16,f=M.adsPreviewParam),"duration"in M&&i(17,m=M.duration)},t.$$.update=()=>{t.$$.dirty&262144&&i(3,I=w&&n!==Yt.INACTIVE),t.$$.dirty&262145&&i(4,W=o&&n!==Yt.INACTIVE)},[o,k,v,I,W,s,l,r,h,_,b,y,z,oe,a,c,f,m,n,V,te]}class ku extends ke{constructor(e){super(),we(this,e,sf,lf,be,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},of)}}const Sn=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 rf(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&&P(e)}}}function af(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&&P(e)}}}function uf(t){let e;function i(s,l){return s[0]?af:rf}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:j,o:j,d(s){s&&P(e),o.d(s)}}}function cf(t,e,i){let{isActive:n=!1}=e;return t.$$set=o=>{"isActive"in o&&i(0,n=o.isActive)},[n]}class yu extends ke{constructor(e){super(),we(this,e,cf,uf,be,{isActive:0})}}function ff(t){He(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 df(t){let e=Sn(t[4]-t[3])+"",i;return{c(){i=ze(e)},m(n,o){E(n,i,o)},p(n,o){o&24&&e!==(e=Sn(n[4]-n[3])+"")&&Xe(i,e)},i:j,o:j,d(n){n&&P(i)}}}function mf(t){let e,i,n;return i=new yu({props:{isActive:!0}}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,s){E(o,e,s),F(i,e,null),n=!0},p:j,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&P(e),H(i)}}}function pf(t){let e,i,n,o,s,l,r;const a=[mf,df],c=[];function f(m,h){return m[1]?0:1}return s=f(t),l=c[s]=a[s](t),{c(){e=T("div"),i=T("div"),i.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=O(),o=T("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"),B(e,"live",t[1]),B(e,"hidden",t[0]),B(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 _=s;s=f(m),s===_?c[s].p(m,h):(de(),g(c[_],1,1,()=>{c[_]=null}),me(),l=c[s],l?l.p(m,h):(l=c[s]=a[s](m),l.c()),d(l,1),l.m(o,null)),(!r||h&2)&&B(e,"live",m[1]),(!r||h&1)&&B(e,"hidden",m[0]),(!r||h&4)&&B(e,"playing",m[2])},i(m){r||(d(l),r=!0)},o(m){g(l),r=!1},d(m){m&&P(e),c[s].d()}}}function hf(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 Cu extends ke{constructor(e){super(),we(this,e,hf,pf,be,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},ff)}}const dl=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)}}},Hn=t=>{t.stopPropagation(),t.preventDefault()},gf=t=>{let e=t.previousElementSibling;e||(e=t.parentNode?.lastElementChild),e?.focus()},bf=t=>{let e=t.nextElementSibling;e||(e=t.parentNode?.firstElementChild),e?.focus()},_f=t=>{const e=t.code;return e===Ve.Tab&&!t.shiftKey||e===Ve.ArrowDown},vf=t=>{const e=t.code;return e===Ve.Tab||e===Ve.ArrowUp},Su=t=>t.code===Ve.Escape,wf=t=>t.code===Ve.ArrowLeft,Pu=(t,e=!0)=>{const i=t.code;return[Ve.Enter,Ve.Space].includes(i)||!e&&i===Ve.ArrowRight},Tu=t=>{if(_f(t)){Hn(t),bf(t.target);return}vf(t)&&(Hn(t),gf(t.target))},vl=t=>t?.pointerType==="",wl=async(t,e,i)=>{await Wo(),t&&!t.classList.contains("opened")&&!e&&Ye(i)&&(i.set(!1),t.focus())},kl=async(t,e,i)=>{await Wo(),!!t&&e&&i&&t.firstChild.focus()},No=async(t,e,i)=>{!!t&&i&&(e.set(!1),setTimeout(()=>{t.focus()},dc))},Eu=(t,e)=>{Tu(t),Su(t)&&(Hn(t),e())},Ro=async(t,e,i)=>{Pu(t,!1)&&(Hn(t),e(),await Wo(),i()?.focus())},Oo=async(t,e,i,n)=>{if(Tu(t),wf(t)){Hn(t),e(),i.set(!0);return}Su(t)&&(Hn(t),n())},Xi=(t,e)=>{Pu(t)&&(Hn(t),e())};function kf(t){He(t,"v-gew86s","ul.v-gew86s{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-gew86s{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-gew86s:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function Xl(t){let e,i,n,o,s,l,r=(t[9].features.saveDebugInfoToFile?K("menu_save_debug"):K("menu_copy_debug"))+"",a,c,f,m=K("menu_debug_overlay")+"",h,_,b,k,v=t[9].features.copyVideoLink&&t[8].callbacks?.onCopyVideoLink&&yf(t),S=t[11]&&t[5]!==Qe.ChromecastState.CONNECTED&&!t[16]&&xl(t),y=t[9].features.videoRotate&&!t[16]&&Cf(t),w=t[9].showSupport&&!t[6]&&$l(t);return{c(){e=T("ul"),v&&v.c(),i=O(),S&&S.c(),n=O(),y&&y.c(),o=O(),w&&w.c(),s=O(),l=T("li"),a=ze(r),c=O(),f=T("li"),h=ze(m),u(l,"tabindex","0"),u(l,"role","menuitem"),u(l,"aria-label",t[9].features.saveDebugInfoToFile?K("menu_save_debug"):K("menu_copy_debug")),u(l,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",_=t[7]?K("aria_label_menu_debug_overlay_disable"):K("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),Pt(e,"top",t[3]+"px"),Pt(e,"left",t[2]+"px"),u(e,"class","v-gew86s")},m(z,oe){E(z,e,oe),v&&v.m(e,null),p(e,i),S&&S.m(e,null),p(e,n),y&&y.m(e,null),p(e,o),w&&w.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||(k=[ge(l,"click",it(t[19])),ge(l,"keydown",t[29]),ge(f,"click",it(t[20])),ge(f,"keydown",t[30]),ge(e,"contextmenu",Qt(t[37])),ge(e,"keydown",t[23])],b=!0)},p(z,oe){z[9].features.copyVideoLink&&z[8].callbacks?.onCopyVideoLink&&v.p(z,oe),z[11]&&z[5]!==Qe.ChromecastState.CONNECTED&&!z[16]?S?S.p(z,oe):(S=xl(z),S.c(),S.m(e,n)):S&&(S.d(1),S=null),z[9].features.videoRotate&&!z[16]&&y.p(z,oe),z[9].showSupport&&!z[6]?w?w.p(z,oe):(w=$l(z),w.c(),w.m(e,s)):w&&(w.d(1),w=null),oe[0]&128&&_!==(_=z[7]?K("aria_label_menu_debug_overlay_disable"):K("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",_),oe[0]&8&&Pt(e,"top",z[3]+"px"),oe[0]&4&&Pt(e,"left",z[2]+"px")},d(z){z&&P(e),v&&v.d(),S&&S.d(),y&&y.d(),w&&w.d(),t[40](null),b=!1,tt(k)}}}function yf(t){let e,i=K("menu_copy_video_link")+"",n,o,s,l,r,a=!t[4]&&!t[16]&&Jl(t);return{c(){e=T("li"),n=ze(i),o=O(),a&&a.c(),s=lt(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",K("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=[ge(e,"click",it(t[38])),ge(e,"keydown",t[24])],l=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=Jl(c),a.c(),a.m(s.parentNode,s)):a&&(a.d(1),a=null)},d(c){c&&(P(e),P(o),P(s)),a&&a.d(c),l=!1,tt(r)}}}function Jl(t){let e,i=K("menu_copy_video_link_with_timestamp")+"",n,o,s;return{c(){e=T("li"),n=ze(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",K("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(l,r){E(l,e,r),p(e,n),o||(s=[ge(e,"click",it(t[39])),ge(e,"keydown",t[25])],o=!0)},p:j,d(l){l&&P(e),o=!1,tt(s)}}}function xl(t){let e,i=K("menu_pip")+"",n,o,s;return{c(){e=T("li"),n=ze(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",K("menu_pip")),u(e,"class","v-gew86s")},m(l,r){E(l,e,r),p(e,n),o||(s=[ge(e,"click",it(t[21])),ge(e,"keydown",t[26])],o=!0)},p:j,d(l){l&&P(e),o=!1,tt(s)}}}function Cf(t){let e,i=K("menu_video_rotate")+"",n,o,s;return{c(){e=T("li"),n=ze(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",K("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(l,r){E(l,e,r),p(e,n),o||(s=[ge(e,"click",it(t[17])),ge(e,"keydown",t[27])],o=!0)},p:j,d(l){l&&P(e),o=!1,tt(s)}}}function $l(t){let e,i=K("menu_report")+"",n,o,s;return{c(){e=T("li"),n=ze(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${K("menu_report")}. ${K("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(l,r){E(l,e,r),p(e,n),o||(s=[ge(e,"click",it(t[18])),ge(e,"keydown",t[28])],o=!0)},p:j,d(l){l&&P(e),o=!1,tt(s)}}}function Sf(t){let e,i=t[1]&&Xl(t);return{c(){i&&i.c(),e=lt()},m(n,o){i&&i.m(n,o),E(n,e,o)},p(n,o){n[1]?i?i.p(n,o):(i=Xl(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},i:j,o:j,d(n){n&&P(e),i&&i.d(n)}}}function Pf(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:_=void 0}=e,{menuElementRef:b=void 0}=e,{returnFocus:k}=e,v=0,S=0;const y=pt(),w=on(),z=y.ui.contextMenuVisible,oe=y.ui.debugPanelVisible;D(t,oe,ue=>i(7,r=ue));const I=y.webApi.pictureInPictureApi,W=y.webApi.pictureInPictureApi?.info.isActive$;D(t,W,ue=>i(6,l=ue));const V=y.state.chromecastState$;D(t,V,ue=>i(5,s=ue));const te=y.state.isLive$;D(t,te,ue=>i(4,o=ue));const M=y.state.positionExact$;D(t,M,ue=>i(41,n=ue));const ie=y.state.isInteractive,R=()=>{z.set(!1)},Y=(ue,_e)=>{if(!b||!h||!_)return;const x=b.getBoundingClientRect(),Q=h.getBoundingClientRect();i(2,v=ue-Q.left),i(3,S=_e-Q.top),v+x.width>Q.width&&i(2,v=Q.width-x.width),S+x.height>Q.height&&i(3,S=Q.height-x.height),i(2,v=Math.max(v,0)),i(3,S=Math.max(S,0))},le=()=>{R(),y.actions.internal.videoRotate()},C=()=>{window.open(c,"_blank"),R(),y.actions.internal.pause()},se=()=>{const ue=y.actions.internal.getDebugTextData();if(w.features.saveDebugInfoToFile){const _e=new Blob([...ue],{type:"plain/text"}),x=window.URL.createObjectURL(_e);tu(x,"vk_player_debug_info","txt")}else dl(y.actions.internal.getDebugTextData());R(),k?.()},ye=()=>{oe.set(!0),R(),k?.()},pe=async()=>{try{I?.isActive()?await I?.remove():await I?.request()}finally{R(),k?.()}},ve=(ue=!1)=>{if(y.callbacks?.onCopyVideoLink){const _e=y.callbacks?.onCopyVideoLink(ue,n);_e&&dl(_e)}R()},X=ue=>{Eu(ue,R)},ce=ue=>{Xi(ue,()=>ve())},De=ue=>{Xi(ue,()=>ve(!0))},ae=ue=>{Xi(ue,()=>pe())},Ie=ue=>{Xi(ue,()=>le())},Ee=ue=>{Xi(ue,()=>C())},he=ue=>{Xi(ue,()=>se())},Ae=ue=>{Xi(ue,()=>ye())};function A(ue){ro.call(this,t,ue)}const ne=()=>ve(),Me=()=>ve(!0);function Ce(ue){Se[ue?"unshift":"push"](()=>{b=ue,i(0,b)})}return t.$$set=ue=>{"visible"in ue&&i(1,a=ue.visible),"supportLink"in ue&&i(31,c=ue.supportLink),"x"in ue&&i(32,f=ue.x),"y"in ue&&i(33,m=ue.y),"playerContainerRef"in ue&&i(34,h=ue.playerContainerRef),"controlsContainerRef"in ue&&i(35,_=ue.controlsContainerRef),"menuElementRef"in ue&&i(0,b=ue.menuElementRef),"returnFocus"in ue&&i(36,k=ue.returnFocus)},t.$$.update=()=>{t.$$.dirty[1]&6&&Y(f,m)},[b,a,v,S,o,s,l,r,y,w,oe,I,W,V,te,M,ie,le,C,se,ye,pe,ve,X,ce,De,ae,Ie,Ee,he,Ae,c,f,m,h,_,k,A,ne,Me,Ce]}class Tf extends ke{constructor(e){super(),we(this,e,Pf,Sf,be,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},kf,[-1,-1])}}class Ef{value;next;constructor(e){this.value=e,this.next=null}}class $o{top;bottom;size;maxSize;constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const i=new Ef(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 Af(t){He(t,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function Lf(t){let e,i;return{c(){e=T("div"),i=T("canvas"),u(i,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,o){E(n,e,o),p(e,i),t[3](i)},p:j,i:j,o:j,d(n){n&&P(e),t[3](null)}}}const el=16,tl=120,es=60;function If(t,e,i,n,o){o===0&&(o=1),t.fillStyle="#fff",t.fillRect(e,i,n,o)}function Vf(t,e,i){let{values:n=[]}=e,o,s;const l=tl/es;nn(()=>{i(0,o.width=tl,o),i(0,o.height=el,o),i(2,s=o.getContext("2d"))});function r(a){Se[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,tl,el);let c=es-1;for(let f=n.length-1;f>=0;f--){const m=c*l,h=a>0?el*(n[f]/a):0;If(s,m,0,l,h),c--}}},[o,n,s,r]}class yl extends ke{constructor(e){super(),we(this,e,Vf,Lf,be,{values:1},Af)}}function Mf(t){He(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 ts(t){let e,i,n,o,s=t[0].id+"",l;return{c(){e=T("div"),i=T("div"),i.textContent="Video id",n=O(),o=T("span"),l=ze(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){E(r,e,a),p(e,i),p(e,n),p(e,o),p(o,l)},p(r,a){a&1&&s!==(s=r[0].id+"")&&Xe(l,s)},d(r){r&&P(e)}}}function is(t){let e,i,n,o,s=t[0].provider+"",l;return{c(){e=T("div"),i=T("div"),i.textContent="Provider",n=O(),o=T("span"),l=ze(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){E(r,e,a),p(e,i),p(e,n),p(e,o),p(o,l)},p(r,a){a&1&&s!==(s=r[0].provider+"")&&Xe(l,s)},d(r){r&&P(e)}}}function ns(t){let e,i,n,o,s=t[0].viewport+"",l;return{c(){e=T("div"),i=T("div"),i.textContent="Viewport",n=O(),o=T("span"),l=ze(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){E(r,e,a),p(e,i),p(e,n),p(e,o),p(o,l)},p(r,a){a&1&&s!==(s=r[0].viewport+"")&&Xe(l,s)},d(r){r&&P(e)}}}function os(t){let e,i,n,o,s=t[0].videoSize+"",l;return{c(){e=T("div"),i=T("div"),i.textContent="Video size",n=O(),o=T("span"),l=ze(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){E(r,e,a),p(e,i),p(e,n),p(e,o),p(o,l)},p(r,a){a&1&&s!==(s=r[0].videoSize+"")&&Xe(l,s)},d(r){r&&P(e)}}}function ls(t){let e,i,n,o,s=t[0].cdn+"",l;return{c(){e=T("div"),i=T("div"),i.textContent="CDN host",n=O(),o=T("span"),l=ze(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){E(r,e,a),p(e,i),p(e,n),p(e,o),p(o,l)},p(r,a){a&1&&s!==(s=r[0].cdn+"")&&Xe(l,s)},d(r){r&&P(e)}}}function ss(t){let e,i,n,o,s=t[0].volume+"",l,r;return{c(){e=T("div"),i=T("div"),i.textContent="Volume",n=O(),o=T("span"),l=ze(s),r=ze(" %"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){E(a,e,c),p(e,i),p(e,n),p(e,o),p(o,l),p(o,r)},p(a,c){c&1&&s!==(s=a[0].volume+"")&&Xe(l,s)},d(a){a&&P(e)}}}function rs(t){let e,i,n,o,s=t[0].buffer.toFixed(2)+"",l,r;return{c(){e=T("div"),i=T("div"),i.textContent="Buffer",n=O(),o=T("span"),l=ze(s),r=ze(" s"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){E(a,e,c),p(e,i),p(e,n),p(e,o),p(o,l),p(o,r)},p(a,c){c&1&&s!==(s=a[0].buffer.toFixed(2)+"")&&Xe(l,s)},d(a){a&&P(e)}}}function as(t){let e,i,n,o,s,l,r=t[0].speed.toFixed(2)+"",a,c,f;return o=new yl({props:{values:t[5]}}),{c(){e=T("div"),i=T("div"),i.textContent="Network",n=O(),U(o.$$.fragment),s=O(),l=T("span"),a=ze(r),c=ze(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){E(m,e,h),p(e,i),p(e,n),F(o,e,null),p(e,s),p(e,l),p(l,a),p(l,c),f=!0},p(m,h){const _={};h&32&&(_.values=m[5]),o.$set(_),(!f||h&1)&&r!==(r=m[0].speed.toFixed(2)+"")&&Xe(a,r)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){g(o.$$.fragment,m),f=!1},d(m){m&&P(e),H(o)}}}function us(t){let e,i,n,o,s,l,r=t[0].bitrate.toFixed(2)+"",a,c,f;return o=new yl({props:{values:t[6]}}),{c(){e=T("div"),i=T("div"),i.textContent="V bitrate",n=O(),U(o.$$.fragment),s=O(),l=T("span"),a=ze(r),c=ze(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){E(m,e,h),p(e,i),p(e,n),F(o,e,null),p(e,s),p(e,l),p(l,a),p(l,c),f=!0},p(m,h){const _={};h&64&&(_.values=m[6]),o.$set(_),(!f||h&1)&&r!==(r=m[0].bitrate.toFixed(2)+"")&&Xe(a,r)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){g(o.$$.fragment,m),f=!1},d(m){m&&P(e),H(o)}}}function Bf(t){let e,i,n,o,s,l,r,a,c=t[0].version+"",f,m,h,_,b,k,v,S,y,w,z,oe,I,W,V,te,M,ie,R,Y,le,C,se,ye,pe,ve,X,ce,De,ae,Ie=t[0].id&&ts(t),Ee=t[0].provider&&is(t),he=t[0].viewport&&ns(t),Ae=t[0].videoSize&&os(t),A=t[0].cdn&&ls(t),ne=t[0].volume&&ss(t),Me=t[0].buffer&&rs(t),Ce=t[0].speed&&as(t),ue=t[0].bitrate&&us(t);return ye=new yl({props:{values:t[4]}}),{c(){e=T("div"),i=T("button"),i.textContent="[x]",n=O(),o=T("div"),s=T("div"),l=T("div"),l.textContent="Version",r=O(),a=T("span"),f=ze(c),m=O(),Ie&&Ie.c(),h=O(),Ee&&Ee.c(),_=O(),he&&he.c(),b=O(),Ae&&Ae.c(),k=O(),A&&A.c(),v=O(),ne&&ne.c(),S=O(),Me&&Me.c(),y=O(),w=T("div"),z=T("div"),z.textContent="Dropped",oe=O(),I=T("span"),W=ze(t[2]),V=ze(" / "),te=ze(t[1]),M=ze(" frames"),ie=O(),Ce&&Ce.c(),R=O(),ue&&ue.c(),Y=O(),le=T("div"),C=T("div"),C.textContent="FPS",se=O(),U(ye.$$.fragment),pe=O(),ve=T("span"),X=ze(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(z,"class","v-1gy2e68"),u(w,"class","v-1gy2e68"),u(C,"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",K("aria_label_debug_panel")),B(e,"container-mobile",t[7])},m(_e,x){E(_e,e,x),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),Ie&&Ie.m(o,null),p(o,h),Ee&&Ee.m(o,null),p(o,_),he&&he.m(o,null),p(o,b),Ae&&Ae.m(o,null),p(o,k),A&&A.m(o,null),p(o,v),ne&&ne.m(o,null),p(o,S),Me&&Me.m(o,null),p(o,y),p(o,w),p(w,z),p(w,oe),p(w,I),p(I,W),p(I,V),p(I,te),p(I,M),p(o,ie),Ce&&Ce.m(o,null),p(o,R),ue&&ue.m(o,null),p(o,Y),p(o,le),p(le,C),p(le,se),F(ye,le,null),p(le,pe),p(le,ve),p(ve,X),ce=!0,De||(ae=ge(i,"click",it(t[9])),De=!0)},p(_e,[x]){(!ce||x&1)&&c!==(c=_e[0].version+"")&&Xe(f,c),_e[0].id?Ie?Ie.p(_e,x):(Ie=ts(_e),Ie.c(),Ie.m(o,h)):Ie&&(Ie.d(1),Ie=null),_e[0].provider?Ee?Ee.p(_e,x):(Ee=is(_e),Ee.c(),Ee.m(o,_)):Ee&&(Ee.d(1),Ee=null),_e[0].viewport?he?he.p(_e,x):(he=ns(_e),he.c(),he.m(o,b)):he&&(he.d(1),he=null),_e[0].videoSize?Ae?Ae.p(_e,x):(Ae=os(_e),Ae.c(),Ae.m(o,k)):Ae&&(Ae.d(1),Ae=null),_e[0].cdn?A?A.p(_e,x):(A=ls(_e),A.c(),A.m(o,v)):A&&(A.d(1),A=null),_e[0].volume?ne?ne.p(_e,x):(ne=ss(_e),ne.c(),ne.m(o,S)):ne&&(ne.d(1),ne=null),_e[0].buffer?Me?Me.p(_e,x):(Me=rs(_e),Me.c(),Me.m(o,y)):Me&&(Me.d(1),Me=null),(!ce||x&4)&&Xe(W,_e[2]),(!ce||x&2)&&Xe(te,_e[1]),_e[0].speed?Ce?(Ce.p(_e,x),x&1&&d(Ce,1)):(Ce=as(_e),Ce.c(),d(Ce,1),Ce.m(o,R)):Ce&&(de(),g(Ce,1,1,()=>{Ce=null}),me()),_e[0].bitrate?ue?(ue.p(_e,x),x&1&&d(ue,1)):(ue=us(_e),ue.c(),d(ue,1),ue.m(o,Y)):ue&&(de(),g(ue,1,1,()=>{ue=null}),me());const Q={};x&16&&(Q.values=_e[4]),ye.$set(Q),(!ce||x&8)&&Xe(X,_e[3]),(!ce||x&128)&&B(e,"container-mobile",_e[7])},i(_e){ce||(d(Ce),d(ue),d(ye.$$.fragment,_e),ce=!0)},o(_e){g(Ce),g(ue),g(ye.$$.fragment,_e),ce=!1},d(_e){_e&&P(e),Ie&&Ie.d(),Ee&&Ee.d(),he&&he.d(),Ae&&Ae.d(),A&&A.d(),ne&&ne.d(),Me&&Me.d(),Ce&&Ce.d(),ue&&ue.d(),H(ye),De=!1,ae()}}}function Nf(t,e,i){let n;const o=pt(),s=o.ui.debugPanelVisible,l=o.ui.isMobile;D(t,l,w=>i(7,n=w));const r=()=>{ee.safeStorage.remove(cl),s.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,m=0,h=0;const _=new $o(60),b=new $o(60),k=new $o(60);let v=[],S=[],y=[];return nn(()=>{ee.safeStorage.set(cl,"true"),o.actions.internal.startLogging(),c&&(i(2,m=c.getVideoPlaybackQuality().droppedVideoFrames),i(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const w=window.setInterval(()=>{i(0,a=o.actions.internal.getDebugPanelData())},500);let z;return c&&(z=window.setInterval(()=>{if(c){i(2,m=c.getVideoPlaybackQuality().droppedVideoFrames);const oe=c.getVideoPlaybackQuality().totalVideoFrames;i(3,h=oe-f),i(1,f=oe),_.push(h),a.speed&&b.push(a.speed),a.bitrate&&k.push(a.bitrate),i(4,v=_.getValuesFromBottom()),i(5,S=b.getValuesFromBottom()),i(6,y=k.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(w),z&&clearInterval(z)}}),[a,f,m,h,v,S,y,n,l,r]}class Au extends ke{constructor(e){super(),we(this,e,Nf,Bf,be,{},Mf)}}function Rf(t){He(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 Of(t){let e,i,n;return{c(){e=T("div"),u(e,"class","close v-1ome55p")},m(o,s){E(o,e,s),i||(n=ge(e,"click",it(t[0])),i=!0)},p:j,i:j,o:j,d(o){o&&P(e),i=!1,n()}}}function zf(t){function e(i){ro.call(this,t,i)}return[e]}class Df extends ke{constructor(e){super(),we(this,e,zf,Of,be,{},Rf)}}function Ff(t){He(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 Hf(t){let e,i,n,o,s,l,r;return{c(){e=T("div"),i=T("canvas"),n=O(),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:j,i:j,o:j,d(a){a&&P(e),t[2](null)}}}const Uf=5e3;function qf(t,e,i){let{onTimerEnded:n=ee.noop}=e,o;nn(()=>{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)/Uf;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){Se[l?"unshift":"push"](()=>{o=l,i(0,o)})}return t.$$set=l=>{"onTimerEnded"in l&&i(1,n=l.onTimerEnded)},[o,n,s]}class jf extends ke{constructor(e){super(),we(this,e,qf,Hf,be,{onTimerEnded:1},Ff)}}function Wf(t){He(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 cs(t){let e,i;return e=new jf({props:{onTimerEnded:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&4&&(s.onTimerEnded=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Zf(t){let e,i,n,o,s,l,r,a,c,f,m,h,_,b,k,v,S,y,w,z,oe;r=new Df({}),r.$on("click",t[4]);let I=t[3]&&cs(t);return{c(){e=T("div"),i=O(),n=T("div"),o=T("div"),s=T("div"),s.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",l=O(),U(r.$$.fragment),a=O(),c=T("div"),f=T("div"),m=T("div"),h=T("div"),_=O(),I&&I.c(),k=O(),v=T("div"),S=T("div"),y=ze(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(v,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(W,V){E(W,e,V),E(W,i,V),E(W,n,V),p(n,o),p(o,s),p(o,l),F(r,o,null),p(n,a),p(n,c),p(c,f),p(f,m),p(m,h),p(m,_),I&&I.m(m,null),p(c,k),p(c,v),p(v,S),p(S,y),w=!0,z||(oe=ge(c,"click",function(){mn(t[2])&&t[2].apply(this,arguments)}),z=!0)},p(W,[V]){t=W,t[3]?I?(I.p(t,V),V&8&&d(I,1)):(I=cs(t),I.c(),d(I,1),I.m(m,null)):I&&(de(),g(I,1,1,()=>{I=null}),me()),(!w||V&2&&b!==(b=`background-image: url('${t[1]}')`))&&u(m,"style",b),(!w||V&1)&&Xe(y,t[0])},i(W){w||(d(r.$$.fragment,W),d(I),w=!0)},o(W){g(r.$$.fragment,W),g(I),w=!1},d(W){W&&(P(e),P(i),P(n)),H(r),I&&I.d(),z=!1,oe()}}}function Kf(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 Gf extends ke{constructor(e){super(),we(this,e,Kf,Zf,be,{title:0,thumb:1,playNextVideo:2},Wf)}}const Lu=(t,e)=>Math.min(+(t+e).toFixed(2),1),Iu=(t,e)=>Math.max(+(t-e).toFixed(2),0),Vu=(t,e,i)=>{const n=Lu(e,i);e<1&&t.actions.internal.setVolume(n)},Mu=(t,e,i)=>{const n=Iu(e,i);e>0&&t.actions.internal.setVolume(n)};function Yf(t){He(t,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function Qf(t){let e,i,n,o;const s=t[22].default,l=Pn(s,t,t[21],null);return{c(){e=T("div"),l&&l.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(r,a){E(r,e,a),l&&l.m(e,null),t[23](e),i=!0,n||(o=[ge(e,"keyup",t[13]),ge(e,"keydown",t[12])],n=!0)},p(r,a){l&&l.p&&(!i||a[0]&2097152)&&En(l,s,r,r[21],i?Tn(s,r[21],a,null):An(r[21]),null)},i(r){i||(d(l,r),i=!0)},o(r){g(l,r),i=!1},d(r){r&&P(e),l&&l.d(r),t[23](null),n=!1,tt(o)}}}function Xf(t,e,i){let n,o,s,l,r,a,c,f,m,h,_,{$$slots:b={},$$scope:k}=e,{isAds:v}=e,{hideContextMenu:S}=e,{toggleFullscreen:y}=e,{showHotKeyHelpers:w}=e,{showKeyMap:z}=e,{fakePlayButtonHandler:oe}=e;const I=pt(),W=on(),V=I.getLogger().createComponentLog("KeyboardControls component"),te=I.state.playbackState$;D(t,te,A=>i(27,o=A));const M=I.ads.playbackState;D(t,M,A=>i(26,n=A));const ie=I.state.positionExact$;D(t,ie,A=>i(33,f=A));const R=I.state.duration$;D(t,R,A=>i(32,c=A));const Y=I.state.volume$;D(t,Y,A=>i(36,_=A));const le=I.ui.controls.disabledControls$;D(t,le,A=>i(31,a=A));const C=I.state.muted$;D(t,C,A=>i(29,l=A));const se=I.state.currentSubtitle$;D(t,se,A=>i(28,s=A));const ye=I.state.currentPlaybackRate$;D(t,ye,A=>i(34,m=A));const pe=I.state.availablePlaybackRates$;D(t,pe,A=>i(35,h=A));const ve=I.state.isEnded$;D(t,ve,A=>i(30,r=A));let X=0,ce=!0,De;const ae=()=>De?.focus(),Ie=A=>(A!==ce&&(ce=A,X=0),X+=1,(W.controls.seekStepKeyboard+W.controls.seekStepKeyboard*X)/1e3),Ee=A=>{const ne=A.target,Me=ne?.getAttribute("role")?.includes("menuitem"),Ce=ne.classList.contains("btn"),ue=A.code;if(Ce&&ue===Ve.Space)return;const _e=gc.has(ue);if(Me&&_e)return;const x=!hc.has(ue);if(A.ctrlKey&&x||A.altKey&&x||A.metaKey)return;const Q=Me&&ue===Ve.Escape;bc.has(ue)||Q||S();const Ue=o===Qe.PlaybackState.PLAYING||o===Qe.PlaybackState.PAUSED,xe=v&&(n===Yt.PAUSED||n===Yt.PLAYING),Je=!xe&&!a.has(ot.TIMELINE);if(Ue||xe)switch(V({message:`key down, code: ${ue}`}),ue){case Ve.KeyJ:case Ve.ArrowLeft:{if(!Je)break;if(A.ctrlKey||A.altKey){const Le=I.actions.internal.getPrevEpisode();I.actions.internal.seekToPrevEpisode(Le),Le&&w({type:Ge.EPISODE_PREV,text:Le.text}),A.preventDefault()}else{const Le=A.shiftKey?Ie(!1):W.controls.seekStepKeyboard/1e3,We=Math.max(f-Le,0);f>0&&(I.actions.internal.seekTime(We,at.SeekAction.DOUBLE_TAP),w({type:Ge.BACKWARD_SEEK,text:Le.toString()}),A.preventDefault())}break}case Ve.KeyL:case Ve.ArrowRight:{if(!Je)break;if(A.ctrlKey||A.altKey){const Le=I.actions.internal.getNextEpisode();I.actions.internal.seekToNextEpisode(Le),Le&&w({type:Ge.EPISODE_NEXT,text:Le.text}),A.preventDefault()}else{const Le=A.shiftKey?Ie(!0):W.controls.seekStepKeyboard/1e3,We=Math.min(f+Le,c);Math.round(f)<Math.round(c)&&(I.actions.internal.seekTime(We,at.SeekAction.DOUBLE_TAP),w({type:Ge.FORWARD_SEEK,text:Le.toString()}),A.preventDefault())}break}case Ve.ArrowUp:{const Le=_,We=W.controls.volumeStepKeyboard,$e=Le<=1;if(Vu(I,Le,We),$e){const ht=Math.round(Lu(Le,We)*100).toString();w({type:Ge.VOLUME,t:{key:"hotkey_helper_current_volume",value:ht}})}A.preventDefault();break}case Ve.ArrowDown:{const Le=_,We=W.controls.volumeStepKeyboard,$e=Le>=0;if(Mu(I,Le,We),$e){const ht=Math.round(Iu(Le,We)*100).toString();w({type:Ge.VOLUME,t:{key:"hotkey_helper_current_volume",value:ht}})}A.preventDefault();break}case Ve.Comma:{if(A.shiftKey){I.actions.internal.decrementPlaybackRate();const Le=h.find(We=>We.value===m);w({type:Ge.RATE_DOWN,text:Le?.displayValue}),A.preventDefault()}else{if(xe||o!==Qe.PlaybackState.PAUSED)break;const Le=Math.max(f-W.controls.seekStepFrame/1e3,0);f>0&&(w({type:Ge.BACKWARD_SEEK}),I.actions.internal.clearDelayedBufferingCheckTimeout(),I.actions.internal.seekTime(Le,at.SeekAction.DOUBLE_TAP),A.preventDefault())}break}case Ve.Period:{if(A.shiftKey){I.actions.internal.incrementPlaybackRate();const Le=h.find(We=>We.value===m);w({type:Ge.RATE_UP,text:Le?.displayValue}),A.preventDefault()}else{if(xe||o!==Qe.PlaybackState.PAUSED)break;const Le=Math.min(f+W.controls.seekStepFrame/1e3,c);f<c&&(w({type:Ge.FORWARD_SEEK}),I.actions.internal.clearDelayedBufferingCheckTimeout(),I.actions.internal.seekTime(Le,at.SeekAction.DOUBLE_TAP),A.preventDefault())}break}case Ve.KeyK:case Ve.Space:if(!a.has(ot.PLAY_BUTTON))if(oe)oe();else{I.actions.internal.togglePlay();let Le=Ge.PLAY;o===Qe.PlaybackState.PAUSED?Le=Ge.PAUSE:r&&(Le=Ge.REPLAY),w({type:Le})}A.preventDefault();break;case Ve.KeyM:{w({type:l?Ge.VOLUME:Ge.MUTE}),I.actions.internal.toggleMuted(),A.preventDefault();break}case Ve.KeyF:y(),A.preventDefault();break;case Ve.KeyC:I.actions.internal.toggleSubtitle(),s.value!=="off"?w({type:Ge.SUBTITLES_ON,text:s?.displayValue}):w({type:Ge.SUBTITLES_OFF}),A.preventDefault();break;case Ve.KeyI:I.actions.internal.togglePictureInPicture(),A.preventDefault();break;case Ve.Digit1:case Ve.Numpad1:w(),I.actions.internal.seekToPercent(.1,at.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ve.Digit2:case Ve.Numpad2:w(),I.actions.internal.seekToPercent(.2,at.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ve.Digit3:case Ve.Numpad3:w(),I.actions.internal.seekToPercent(.3,at.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ve.Digit4:case Ve.Numpad4:w(),I.actions.internal.seekToPercent(.4,at.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ve.Digit5:case Ve.Numpad5:w(),I.actions.internal.seekToPercent(.5,at.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ve.Digit6:case Ve.Numpad6:w(),I.actions.internal.seekToPercent(.6,at.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ve.Digit7:case Ve.Numpad7:w(),I.actions.internal.seekToPercent(.7,at.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ve.Digit8:case Ve.Numpad8:w(),I.actions.internal.seekToPercent(.8,at.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ve.Digit9:case Ve.Numpad9:w(),I.actions.internal.seekToPercent(.9,at.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ve.Digit0:case Ve.Numpad0:w(),I.actions.internal.seekToPercent(0,at.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ve.Slash:{A.shiftKey&&W.features.hotKeyMapModal&&(z(),A.preventDefault());break}case Ve.ShiftLeft:case Ve.ShiftRight:A.preventDefault();break;case Ve.Tab:case Ve.Escape:case Ve.Enter:break;default:ee.checkNever(ue);break}},he=A=>{const ne=A.code;if(A.ctrlKey||A.altKey||A.metaKey)return;const Me=o===Qe.PlaybackState.PLAYING||o===Qe.PlaybackState.PAUSED,Ce=v&&(n===Yt.PAUSED||n===Yt.PLAYING);if(Me||Ce)switch(ne){case Ve.ShiftLeft:case Ve.ShiftRight:X=0;break}};function Ae(A){Se[A?"unshift":"push"](()=>{De=A,i(0,De)})}return t.$$set=A=>{"isAds"in A&&i(14,v=A.isAds),"hideContextMenu"in A&&i(15,S=A.hideContextMenu),"toggleFullscreen"in A&&i(16,y=A.toggleFullscreen),"showHotKeyHelpers"in A&&i(17,w=A.showHotKeyHelpers),"showKeyMap"in A&&i(18,z=A.showKeyMap),"fakePlayButtonHandler"in A&&i(19,oe=A.fakePlayButtonHandler),"$$scope"in A&&i(21,k=A.$$scope)},[De,te,M,ie,R,Y,le,C,se,ye,pe,ve,Ee,he,v,S,y,w,z,oe,ae,k,b,Ae]}class Jf extends ke{constructor(e){super(),we(this,e,Xf,Qf,be,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},Yf,[-1,-1])}get focus(){return this.$$.ctx[20]}}function xf(t){He(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 $f(t){let e;return{c(){e=T("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(i,n){E(i,e,n)},p:j,i:j,o:j,d(i){i&&P(e)}}}class Bu extends ke{constructor(e){super(),we(this,e,null,$f,be,{},xf)}}function e0(t){let e,i,n,o,s,l,r,a,c,f,m,h,_;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"),_=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(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2422_111980"),u(_,"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,k){E(b,e,k),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,_)},p:j,i:j,o:j,d(b){b&&P(e)}}}class t0 extends ke{constructor(e){super(),we(this,e,null,e0,be,{})}}function i0(t){He(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 n0(t){let e,i,n,o,s,l,r,a,c,f,m,h;const _=t[13].default,b=Pn(_,t,t[12],null);return{c(){e=T("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)},m(k,v){E(k,e,v),b&&b.m(e,null),t[15](e),f=!0,m||(h=[ge(e,"pointerdown",it(Qt(t[14]))),ge(e,"click",it(Qt(function(){mn(t[9]===ee.noop?null:t[9])&&(t[9]===ee.noop?null:t[9]).apply(this,arguments)}))),ge(e,"focus",Qt(function(){mn(t[10]===ee.noop?null:t[10])&&(t[10]===ee.noop?null:t[10]).apply(this,arguments)})),ge(e,"blur",Qt(function(){mn(t[11]===ee.noop?null:t[11])&&(t[11]===ee.noop?null:t[11]).apply(this,arguments)}))],m=!0)},p(k,[v]){t=k,b&&b.p&&(!f||v&4096)&&En(b,_,t,t[12],f?Tn(_,t[12],v,null):An(t[12]),null),(!f||v&2&&i!==(i="btn "+t[1]+" v-1anemql"))&&u(e,"class",i),(!f||v&4&&n!==(n=t[2]||null))&&u(e,"style",n),(!f||v&8&&o!==(o=t[3]??null))&&(e.disabled=o),(!f||v&32&&s!==(s=t[5]??null))&&u(e,"aria-hidden",s),(!f||v&64&&l!==(l=t[6]??null))&&u(e,"aria-label",l),(!f||v&128&&r!==(r=t[7]??null))&&u(e,"aria-keyshortcuts",r),(!f||v&256&&a!==(a=t[8]??null))&&u(e,"aria-expanded",a),(!f||v&16&&c!==(c=t[4]??null))&&u(e,"data-testid",c)},i(k){f||(d(b,k),f=!0)},o(k){g(b,k),f=!1},d(k){k&&P(e),b&&b.d(k),t[15](null),m=!1,tt(h)}}}function o0(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:_=void 0}=e,{click:b=ee.noop}=e,{focus:k=ee.noop}=e,{blur:v=ee.noop}=e;function S(w){ro.call(this,t,w)}function y(w){Se[w?"unshift":"push"](()=>{m=w,i(0,m)})}return t.$$set=w=>{"className"in w&&i(1,s=w.className),"style"in w&&i(2,l=w.style),"disabled"in w&&i(3,r=w.disabled),"testId"in w&&i(4,a=w.testId),"ariaHidden"in w&&i(5,c=w.ariaHidden),"ariaLabel"in w&&i(6,f=w.ariaLabel),"ref"in w&&i(0,m=w.ref),"ariaKeyShortCut"in w&&i(7,h=w.ariaKeyShortCut),"ariaExpanded"in w&&i(8,_=w.ariaExpanded),"click"in w&&i(9,b=w.click),"focus"in w&&i(10,k=w.focus),"blur"in w&&i(11,v=w.blur),"$$scope"in w&&i(12,o=w.$$scope)},[m,s,l,r,a,c,f,h,_,b,k,v,o,n,S,y]}class pi extends ke{constructor(e){super(),we(this,e,o0,n0,be,{className:1,style:2,disabled:3,testId:4,ariaHidden:5,ariaLabel:6,ref:0,ariaKeyShortCut:7,ariaExpanded:8,click:9,focus:10,blur:11},i0)}}function l0(t){He(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 fs(t){let e,i,n,o,s,l=t[2]&&ds(t);return{c(){e=T("div"),i=T("h3"),n=ze(t[3]),o=O(),l&&l.c(),u(i,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(r,a){E(r,e,a),p(e,i),p(i,n),p(e,o),l&&l.m(e,null),s=!0},p(r,a){(!s||a&8)&&Xe(n,r[3]),r[2]?l?(l.p(r,a),a&4&&d(l,1)):(l=ds(r),l.c(),d(l,1),l.m(e,null)):l&&(de(),g(l,1,1,()=>{l=null}),me())},i(r){s||(d(l),s=!0)},o(r){g(l),s=!1},d(r){r&&P(e),l&&l.d()}}}function ds(t){let e,i;return e=new pi({props:{click:t[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:K("hotkey_map_modal_close_btn_text"),$$slots:{default:[s0]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&1&&(s.click=n[0]),o&32&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function s0(t){let e,i;return e=new t0({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function r0(t){let e,i,n,o,s,l,r=t[1]&&fs(t);const a=t[4].default,c=Pn(a,t,t[5],null);return{c(){e=T("div"),i=T("div"),r&&r.c(),n=O(),o=T("div"),s=T("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=fs(f),r.c(),d(r,1),r.m(i,n)):r&&(de(),g(r,1,1,()=>{r=null}),me()),c&&c.p&&(!l||m&32)&&En(c,a,f,f[5],l?Tn(a,f[5],m,null):An(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&&P(e),r&&r.d(),c&&c.d(f)}}}function a0(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 u0 extends ke{constructor(e){super(),we(this,e,a0,r0,be,{onClose:0,showHeader:1,showCloseCross:2,title:3},l0)}}const c0=new Set(["BR"]),ms=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;c0.has(s)||o.parentElement?.removeChild(o)}return e.innerHTML};function f0(t){He(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 ps(t,e,i){const n=t.slice();return n[5]=e[i].title,n[6]=e[i].items,n}function hs(t,e,i){const n=t.slice();return n[9]=e[i].description,n[10]=e[i].value,n}function gs(t){let e,i,n=ms(t[9])+"",o,s,l=t[10]+"",r,a;return{c(){e=T("li"),i=T("span"),o=O(),s=T("span"),r=ze(l),a=O(),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=ms(c[9])+"")&&(i.innerHTML=n),f&1&&l!==(l=c[10]+"")&&Xe(r,l)},d(c){c&&P(e)}}}function bs(t){let e,i,n=t[5]+"",o,s,l,r,a=Dt(t[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=gs(hs(t,a,f));return{c(){e=T("div"),i=T("h5"),o=ze(n),s=O(),l=T("ul");for(let f=0;f<c.length;f+=1)c[f].c();r=O(),u(i,"class","hot-key-map-group-title v-quklnq"),u(l,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,m){E(f,e,m),p(e,i),p(i,o),p(e,s),p(e,l);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(l,null);p(e,r)},p(f,m){if(m&1&&n!==(n=f[5]+"")&&Xe(o,n),m&1){a=Dt(f[6]);let h;for(h=0;h<a.length;h+=1){const _=hs(f,a,h);c[h]?c[h].p(_,m):(c[h]=gs(_),c[h].c(),c[h].m(l,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&P(e),pn(c,f)}}}function d0(t){let e,i=Dt(t[0].groups),n=[];for(let o=0;o<i.length;o+=1)n[o]=bs(ps(t,i,o));return{c(){e=T("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,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=Dt(o[0].groups);let l;for(l=0;l<i.length;l+=1){const r=ps(o,i,l);n[l]?n[l].p(r,s):(n[l]=bs(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&&P(e),pn(n,o)}}}function m0(t){let e,i;return e=new u0({props:{title:t[0].title,onClose:t[2],$$slots:{default:[d0]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.title=n[0].title),o&8193&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function p0(t,e,i){let n;const o=pt(),{data:s,show:l}=o.ui.modals.hotKeyMap;return D(t,s,a=>i(0,n=a)),[n,s,()=>{l.set(!1)}]}class h0 extends ke{constructor(e){super(),we(this,e,p0,m0,be,{},f0)}}function g0(t){He(t,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function b0(t){let e,i;const n=t[1].default,o=Pn(n,t,t[0],null);return{c(){e=T("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)&&En(o,n,s,s[0],i?Tn(n,s[0],l,null):An(s[0]),null)},i(s){i||(d(o,s),i=!0)},o(s){g(o,s),i=!1},d(s){s&&P(e),o&&o.d(s)}}}function _0(t,e,i){let{$$slots:n={},$$scope:o}=e;return t.$$set=s=>{"$$scope"in s&&i(0,o=s.$$scope)},[o,n]}class v0 extends ke{constructor(e){super(),we(this,e,_0,b0,be,{},g0)}}function w0(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:j,i:j,o:j,d(o){o&&P(e)}}}class k0 extends ke{constructor(e){super(),we(this,e,null,w0,be,{})}}function y0(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:j,i:j,o:j,d(o){o&&P(e)}}}class C0 extends ke{constructor(e){super(),we(this,e,null,y0,be,{})}}function S0(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:j,i:j,o:j,d(n){n&&P(e)}}}class P0 extends ke{constructor(e){super(),we(this,e,null,S0,be,{})}}function T0(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:j,i:j,o:j,d(n){n&&P(e)}}}class Nu extends ke{constructor(e){super(),we(this,e,null,T0,be,{})}}function E0(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:j,i:j,o:j,d(o){o&&P(e)}}}class Ru extends ke{constructor(e){super(),we(this,e,null,E0,be,{})}}const fo=t=>{switch(t){case Qe.VideoQuality.Q_720P:return P0;case Qe.VideoQuality.Q_1080P:return Nu;case Qe.VideoQuality.Q_1440P:return Ru;case Qe.VideoQuality.Q_2160P:return k0;case Qe.VideoQuality.Q_4320P:return C0}};function A0(t){He(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 L0(t){let e,i,n,o,s,l,r=t[1]&&_s(t);return{c(){e=T("div"),r&&r.c(),i=O(),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"),B(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"),B(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=_s(a),r.c(),d(r,1),r.m(e,i)):r&&(de(),g(r,1,1,()=>{r=null}),me()),(!l||c&2)&&B(s,"hidden",!!a[1]),(!l||c&4)&&B(e,"triple",a[2])},i(a){l||(d(r),l=!0)},o(a){g(r),l=!1},d(a){a&&P(e),r&&r.d()}}}function I0(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:j,i:j,o:j,d(n){n&&P(e)}}}function _s(t){let e,i;return e=new v0({props:{$$slots:{default:[V0]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&18&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function V0(t){let e,i,n;var o=t[1];function s(l){return{}}return o&&(e=bn(o,s())),{c(){e&&U(e.$$.fragment),i=lt()},m(l,r){e&&F(e,l,r),E(l,i,r),n=!0},p(l,r){if(r&2&&o!==(o=l[1])){if(e){de();const a=e;g(a.$$.fragment,1,0,()=>{H(a,1)}),me()}o?(e=bn(o,s()),U(e.$$.fragment),d(e.$$.fragment,1),F(e,i.parentNode,i)):e=null}},i(l){n||(e&&d(e.$$.fragment,l),n=!0)},o(l){e&&g(e.$$.fragment,l),n=!1},d(l){l&&P(i),e&&H(e,l)}}}function M0(t){let e,i,n,o;const s=[I0,L0],l=[];function r(a,c){return a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),g(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&P(n),l[e].d(a)}}}function B0(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=fo(s)),t.$$.dirty&2&&i(2,l=!!n&&[Nu,Ru].includes(n))},[o,n,l,s]}class Cl extends ke{constructor(e){super(),we(this,e,B0,M0,be,{isMobile:0,currentQuality:3},A0)}}function N0(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:j,i:j,o:j,d(n){n&&P(e)}}}class Ou extends ke{constructor(e){super(),we(this,e,null,N0,be,{})}}function R0(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:j,i:j,o:j,d(n){n&&P(e)}}}class O0 extends ke{constructor(e){super(),we(this,e,null,R0,be,{})}}function z0(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:j,i:j,o:j,d(n){n&&P(e)}}}class D0 extends ke{constructor(e){super(),we(this,e,null,z0,be,{})}}function F0(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:j,i:j,o:j,d(s){s&&P(e)}}}class H0 extends ke{constructor(e){super(),we(this,e,null,F0,be,{})}}function U0(t){He(t,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function q0(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"),B(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&&B(e,"reverted",o[2])},d(o){o&&P(e)}}}function j0(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"),B(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&&B(e,"reverted",o[2])},d(o){o&&P(e)}}}function W0(t){let e;function i(s,l){return s[1]?j0:q0}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:j,o:j,d(s){s&&P(e),o.d(s)}}}function Z0(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 Nn extends ke{constructor(e){super(),we(this,e,Z0,W0,be,{direction:3,color:0},U0)}}function K0(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:j,i:j,o:j,d(n){n&&P(e)}}}class G0 extends ke{constructor(e){super(),we(this,e,null,K0,be,{})}}function Y0(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:j,i:j,o:j,d(n){n&&P(e)}}}class So extends ke{constructor(e){super(),we(this,e,null,Y0,be,{})}}function Q0(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:j,i:j,o:j,d(n){n&&P(e)}}}class X0 extends ke{constructor(e){super(),we(this,e,null,Q0,be,{})}}function J0(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:j,i:j,o:j,d(n){n&&P(e)}}}class x0 extends ke{constructor(e){super(),we(this,e,null,J0,be,{})}}function $0(t){He(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 vs(t,e,i){const n=t.slice();return n[142]=e[i],n}function ws(t,e,i){const n=t.slice();return n[145]=e[i],n}function ks(t,e,i){const n=t.slice();return n[148]=e[i],n}function ys(t){let e,i,n,o,s,l,r,a,c,f,m,h=t[8]&&Cs(t),_=t[28]&&Ss(t),b=t[27]&&Ts(t),k=t[26]&&Es(t),v=t[25]&&As(t),S=t[24]&&Ls(t),y=t[8]&&Is(t);return{c(){e=T("div"),h&&h.c(),i=O(),n=T("ul"),_&&_.c(),o=O(),b&&b.c(),s=O(),k&&k.c(),l=O(),v&&v.c(),r=O(),S&&S.c(),a=O(),y&&y.c(),u(n,"class","items v-5r0p3"),B(n,"items-mobile",t[8]),u(e,"class","menu v-5r0p3"),u(e,"role","menu"),B(e,"menu-desktop",!t[8]),B(e,"menu-mobile",t[8]),B(e,"hidden",!t[15])},m(w,z){E(w,e,z),h&&h.m(e,null),p(e,i),p(e,n),_&&_.m(n,null),p(n,o),b&&b.m(n,null),p(n,s),k&&k.m(n,null),p(n,l),v&&v.m(n,null),p(n,r),S&&S.m(n,null),p(n,a),y&&y.m(n,null),t[116](n),c=!0,f||(m=[ge(e,"keydown",t[79]),ge(e,"mouseenter",t[73]),ge(e,"mouseleave",t[74])],f=!0)},p(w,z){w[8]?h?h.p(w,z):(h=Cs(w),h.c(),h.m(e,i)):h&&(h.d(1),h=null),w[28]?_?(_.p(w,z),z[0]&268435456&&d(_,1)):(_=Ss(w),_.c(),d(_,1),_.m(n,o)):_&&(de(),g(_,1,1,()=>{_=null}),me()),w[27]?b?(b.p(w,z),z[0]&134217728&&d(b,1)):(b=Ts(w),b.c(),d(b,1),b.m(n,s)):b&&(de(),g(b,1,1,()=>{b=null}),me()),w[26]?k?(k.p(w,z),z[0]&67108864&&d(k,1)):(k=Es(w),k.c(),d(k,1),k.m(n,l)):k&&(de(),g(k,1,1,()=>{k=null}),me()),w[25]?v?(v.p(w,z),z[0]&33554432&&d(v,1)):(v=As(w),v.c(),d(v,1),v.m(n,r)):v&&(de(),g(v,1,1,()=>{v=null}),me()),w[24]?S?(S.p(w,z),z[0]&16777216&&d(S,1)):(S=Ls(w),S.c(),d(S,1),S.m(n,a)):S&&(de(),g(S,1,1,()=>{S=null}),me()),w[8]?y?(y.p(w,z),z[0]&256&&d(y,1)):(y=Is(w),y.c(),d(y,1),y.m(n,null)):y&&(de(),g(y,1,1,()=>{y=null}),me()),(!c||z[0]&256)&&B(n,"items-mobile",w[8]),(!c||z[0]&256)&&B(e,"menu-desktop",!w[8]),(!c||z[0]&256)&&B(e,"menu-mobile",w[8]),(!c||z[0]&32768)&&B(e,"hidden",!w[15])},i(w){c||(d(_),d(b),d(k),d(v),d(S),d(y),c=!0)},o(w){g(_),g(b),g(k),g(v),g(S),g(y),c=!1},d(w){w&&P(e),h&&h.d(),_&&_.d(),b&&b.d(),k&&k.d(),v&&v.d(),S&&S.d(),y&&y.d(),t[116](null),f=!1,tt(m)}}}function Cs(t){let e,i,n,o,s,l,r,a;return{c(){e=T("div"),i=T("div"),i.textContent=`${K("submenu_settings")}`,n=O(),o=T("div"),s=O(),l=T("div"),u(o,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),B(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=ge(o,"click",it(t[59])),r=!0)},p(c,f){f[0]&256&&B(e,"item-mobile",c[8])},d(c){c&&(P(e),P(s),P(l)),r=!1,a()}}}function Ss(t){let e,i,n,o,s,l,r,a,c,f,m,h,_;n=new Cl({});let b=t[36]&&!t[8]&&Ps(t);return{c(){e=T("li"),i=T("div"),U(n.$$.fragment),o=O(),s=T("div"),s.textContent=`${K("menu_quality")}`,l=O(),r=T("div"),a=ze(t[20]),c=O(),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=K("aria_label_menu_quality",{actual:t[30]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(k,v){E(k,e,v),p(e,i),F(n,i,null),p(e,o),p(e,s),p(e,l),p(e,r),p(r,a),p(r,c),b&&b.m(r,null),t[112](e),m=!0,h||(_=[ge(e,"click",it(t[60])),ge(e,"keydown",t[80])],h=!0)},p(k,v){(!m||v[0]&1048576)&&Xe(a,k[20]),k[36]&&!k[8]?b?(b.p(k,v),v[0]&256|v[1]&32&&d(b,1)):(b=Ps(k),b.c(),d(b,1),b.m(r,null)):b&&(de(),g(b,1,1,()=>{b=null}),me()),(!m||v[0]&1073741824&&f!==(f=K("aria_label_menu_quality",{actual:k[30]})))&&u(e,"aria-label",f),(!m||v[0]&256)&&B(e,"item-mobile",k[8])},i(k){m||(d(n.$$.fragment,k),d(b),m=!0)},o(k){g(n.$$.fragment,k),g(b),m=!1},d(k){k&&P(e),H(n),b&&b.d(),t[112](null),h=!1,tt(_)}}}function Ps(t){let e,i,n;var o=t[36];function s(l){return{}}return o&&(i=bn(o,s())),{c(){e=T("div"),i&&U(i.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(l,r){E(l,e,r),i&&F(i,e,null),n=!0},p(l,r){if(r[1]&32&&o!==(o=l[36])){if(i){de();const a=i;g(a.$$.fragment,1,0,()=>{H(a,1)}),me()}o?(i=bn(o,s()),U(i.$$.fragment),d(i.$$.fragment,1),F(i,e,null)):i=null}},i(l){n||(i&&d(i.$$.fragment,l),n=!0)},o(l){i&&g(i.$$.fragment,l),n=!1},d(l){l&&P(e),i&&H(i)}}}function Ts(t){let e,i,n,o,s,l,r,a,c,f,m,h,_;return n=new H0({}),{c(){e=T("li"),i=T("div"),U(n.$$.fragment),o=O(),s=T("div"),s.textContent=`${K("menu_playback_rate")}`,l=O(),r=T("div"),a=ze(t[13]),c=ze("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=K("aria_label_menu_rate",{actual:t[31]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(b,k){E(b,e,k),p(e,i),F(n,i,null),p(e,o),p(e,s),p(e,l),p(e,r),p(r,a),p(r,c),t[113](e),m=!0,h||(_=[ge(e,"click",it(Qt(t[64]))),ge(e,"keydown",t[83])],h=!0)},p(b,k){(!m||k[0]&8192)&&Xe(a,b[13]),(!m||k[1]&1&&f!==(f=K("aria_label_menu_rate",{actual:b[31]})))&&u(e,"aria-label",f),(!m||k[0]&256)&&B(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&&P(e),H(n),t[113](null),h=!1,tt(_)}}}function Es(t){let e,i,n,o,s,l,r,a=t[37].displayValue+"",c,f,m,h,_;return n=new Ou({}),{c(){e=T("li"),i=T("div"),U(n.$$.fragment),o=O(),s=T("div"),s.textContent=`${K("subtitles_caption")}`,l=O(),r=T("div"),c=ze(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=K("aria_label_menu_subtitle",{actual:t[37].displayValue})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(b,k){E(b,e,k),p(e,i),F(n,i,null),p(e,o),p(e,s),p(e,l),p(e,r),p(r,c),t[114](e),m=!0,h||(_=[ge(e,"click",it(t[66])),ge(e,"keydown",t[86])],h=!0)},p(b,k){(!m||k[1]&64)&&a!==(a=b[37].displayValue+"")&&Xe(c,a),(!m||k[1]&64&&f!==(f=K("aria_label_menu_subtitle",{actual:b[37].displayValue})))&&u(e,"aria-label",f),(!m||k[0]&256)&&B(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&&P(e),H(n),t[114](null),h=!1,tt(_)}}}function As(t){let e,i,n,o,s,l,r,a,c,f,m,h;return n=new D0({}),{c(){e=T("li"),i=T("div"),U(n.$$.fragment),o=O(),s=T("div"),s.textContent=`${K("menu_traffic_saving")}`,l=O(),r=T("div"),a=ze(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=K("aria_label_menu_traffic_saving",{actual:t[29]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(_,b){E(_,e,b),p(e,i),F(n,i,null),p(e,o),p(e,s),p(e,l),p(e,r),p(r,a),t[115](e),f=!0,m||(h=[ge(e,"click",it(t[61])),ge(e,"keydown",t[89])],m=!0)},p(_,b){(!f||b[0]&536870912)&&Xe(a,_[29]),(!f||b[0]&536870912&&c!==(c=K("aria_label_menu_traffic_saving",{actual:_[29]})))&&u(e,"aria-label",c),(!f||b[0]&256)&&B(e,"item-mobile",_[8])},i(_){f||(d(n.$$.fragment,_),f=!0)},o(_){g(n.$$.fragment,_),f=!1},d(_){_&&P(e),H(n),t[115](null),m=!1,tt(h)}}}function Ls(t){let e,i,n,o,s,l,r,a;return n=new O0({}),{c(){e=T("li"),i=T("div"),U(n.$$.fragment),o=O(),s=T("div"),s.textContent=`${K("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",K("aria_label_menu_download")),B(e,"item-mobile",t[8])},m(c,f){E(c,e,f),p(e,i),F(n,i,null),p(e,o),p(e,s),l=!0,r||(a=[ge(e,"click",it(t[69])),ge(e,"keydown",t[92])],r=!0)},p(c,f){(!l||f[0]&256)&&B(e,"item-mobile",c[8])},i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&P(e),H(n),r=!1,tt(a)}}}function Is(t){let e,i,n,o,s,l,r,a,c,f,m,h,_,b,k,v,S=t[39].showSupport&&ed(t);return o=new X0({}),f=new x0({}),{c(){S&&S.c(),e=O(),i=T("li"),n=T("div"),U(o.$$.fragment),s=O(),l=T("div"),l.textContent=`${K("menu_copy_debug")}`,r=O(),a=T("li"),c=T("div"),U(f.$$.fragment),m=O(),h=T("div"),h.textContent=`${K("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",K("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",_=t[38]?K("aria_label_menu_debug_overlay_disable"):K("aria_label_menu_debug_overlay_enable"))},m(y,w){S&&S.m(y,w),E(y,e,w),E(y,i,w),p(i,n),F(o,n,null),p(i,s),p(i,l),E(y,r,w),E(y,a,w),p(a,c),F(f,c,null),p(a,m),p(a,h),b=!0,k||(v=[ge(i,"click",it(t[71])),ge(i,"keydown",t[94]),ge(a,"click",it(t[72])),ge(a,"keydown",t[95])],k=!0)},p(y,w){y[39].showSupport&&S.p(y,w),(!b||w[1]&128&&_!==(_=y[38]?K("aria_label_menu_debug_overlay_disable"):K("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",_)},i(y){b||(d(S),d(o.$$.fragment,y),d(f.$$.fragment,y),b=!0)},o(y){g(S),g(o.$$.fragment,y),g(f.$$.fragment,y),b=!1},d(y){y&&(P(e),P(i),P(r),P(a)),S&&S.d(y),H(o),H(f),k=!1,tt(v)}}}function ed(t){let e,i,n,o,s,l,r,a;return n=new G0({}),{c(){e=T("li"),i=T("div"),U(n.$$.fragment),o=O(),s=T("div"),s.textContent=`${K("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",`${K("menu_report")}. ${K("aria_label_new_tab_alert")}`)},m(c,f){E(c,e,f),p(e,i),F(n,i,null),p(e,o),p(e,s),l=!0,r||(a=[ge(e,"click",it(t[70])),ge(e,"keydown",t[93])],r=!0)},p:j,i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&P(e),H(n),r=!1,tt(a)}}}function Vs(t){let e,i,n,o,s,l,r,a,c,f,m,h;n=new Nn({props:{direction:"left"}});let _=Dt(t[12]),b=[];for(let v=0;v<_.length;v+=1)b[v]=Ns(ks(t,_,v));const k=v=>g(b[v],1,1,()=>{b[v]=null});return{c(){e=T("div"),i=T("div"),U(n.$$.fragment),o=O(),s=T("div"),s.textContent=`${K("submenu_quality")}`,l=O(),r=T("div"),a=O(),c=T("ul");for(let v=0;v<b.length;v+=1)b[v].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",K("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(r,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"style",t[21]),B(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),B(e,"menu-desktop",!t[8]),B(e,"menu-mobile",t[8])},m(v,S){E(v,e,S),p(e,i),F(n,i,null),p(i,o),p(i,s),t[117](i),p(e,l),p(e,r),p(e,a),p(e,c);for(let y=0;y<b.length;y+=1)b[y]&&b[y].m(c,null);t[120](c),f=!0,m||(h=[ge(i,"click",it(t[68])),ge(c,"keydown",t[81])],m=!0)},p(v,S){if((!f||S[0]&256)&&B(i,"item-mobile",v[8]),S[0]&4352|S[2]&1048577){_=Dt(v[12]);let y;for(y=0;y<_.length;y+=1){const w=ks(v,_,y);b[y]?(b[y].p(w,S),d(b[y],1)):(b[y]=Ns(w),b[y].c(),d(b[y],1),b[y].m(c,null))}for(de(),y=_.length;y<b.length;y+=1)k(y);me()}(!f||S[0]&2097152)&&u(c,"style",v[21]),(!f||S[0]&256)&&B(c,"items-mobile",v[8]),(!f||S[0]&256)&&B(e,"menu-desktop",!v[8]),(!f||S[0]&256)&&B(e,"menu-mobile",v[8])},i(v){if(!f){d(n.$$.fragment,v);for(let S=0;S<_.length;S+=1)d(b[S]);f=!0}},o(v){g(n.$$.fragment,v),b=b.filter(Boolean);for(let S=0;S<b.length;S+=1)g(b[S]);f=!1},d(v){v&&P(e),H(n),t[117](null),pn(b,v),t[120](null),m=!1,tt(h)}}}function Ms(t){let e,i,n;return i=new So({}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),F(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&P(e),H(i)}}}function Bs(t){let e,i,n;var o=fo(t[148].value);function s(l){return{}}return o&&(i=bn(o,s())),{c(){e=T("div"),i&&U(i.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(l,r){E(l,e,r),i&&F(i,e,null),n=!0},p(l,r){if(r[0]&4096&&o!==(o=fo(l[148].value))){if(i){de();const a=i;g(a.$$.fragment,1,0,()=>{H(a,1)}),me()}o?(i=bn(o,s()),U(i.$$.fragment),d(i.$$.fragment,1),F(i,e,null)):i=null}},i(l){n||(i&&d(i.$$.fragment,l),n=!0)},o(l){i&&g(i.$$.fragment,l),n=!1},d(l){l&&P(e),i&&H(i)}}}function Ns(t){let e,i,n,o=t[148].displayValue+"",s,l,r=!t[8]&&fo(t[148].value),a,c,f,m,h,_,b=t[148].selected&&Ms(),k=r&&Bs(t);function v(){return t[118](t[148])}function S(...y){return t[119](t[148],...y)}return{c(){e=T("li"),b&&b.c(),i=O(),n=T("div"),s=ze(o),l=O(),k&&k.c(),a=O(),u(n,"class","v-5r0p3"),B(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=K("aria_label_submenu_quality_select_quality",{quality:t[148].displayValue})),B(e,"item-mobile",t[8])},m(y,w){E(y,e,w),b&&b.m(e,null),p(e,i),p(e,n),p(n,s),p(e,l),k&&k.m(e,null),p(e,a),m=!0,h||(_=[ge(e,"click",it(v)),ge(e,"keydown",S)],h=!0)},p(y,w){t=y,t[148].selected?b?w[0]&4096&&d(b,1):(b=Ms(),b.c(),d(b,1),b.m(e,i)):b&&(de(),g(b,1,1,()=>{b=null}),me()),(!m||w[0]&4096)&&o!==(o=t[148].displayValue+"")&&Xe(s,o),(!m||w[0]&256)&&B(n,"quality-title-mobile",t[8]),w[0]&4352&&(r=!t[8]&&fo(t[148].value)),r?k?(k.p(t,w),w[0]&4352&&d(k,1)):(k=Bs(t),k.c(),d(k,1),k.m(e,a)):k&&(de(),g(k,1,1,()=>{k=null}),me()),(!m||w[0]&4096&&c!==(c=t[148].value))&&u(e,"data-value",c),(!m||w[0]&4096&&f!==(f=K("aria_label_submenu_quality_select_quality",{quality:t[148].displayValue})))&&u(e,"aria-label",f),(!m||w[0]&256)&&B(e,"item-mobile",t[8])},i(y){m||(d(b),d(k),m=!0)},o(y){g(b),g(k),m=!1},d(y){y&&P(e),b&&b.d(),k&&k.d(),h=!1,tt(_)}}}function Rs(t){let e,i,n,o,s,l,r,a,c,f,m,h;n=new Nn({props:{direction:"left"}});let _=Dt(t[11]),b=[];for(let v=0;v<_.length;v+=1)b[v]=zs(ws(t,_,v));const k=v=>g(b[v],1,1,()=>{b[v]=null});return{c(){e=T("div"),i=T("div"),U(n.$$.fragment),o=O(),s=T("div"),s.textContent=`${K("submenu_playback_rate")}`,l=O(),r=T("div"),a=O(),c=T("ul");for(let v=0;v<b.length;v+=1)b[v].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",K("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(r,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"style",t[22]),B(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),B(e,"menu-desktop",!t[8]),B(e,"menu-mobile",t[8])},m(v,S){E(v,e,S),p(e,i),F(n,i,null),p(i,o),p(i,s),t[121](i),p(e,l),p(e,r),p(e,a),p(e,c);for(let y=0;y<b.length;y+=1)b[y]&&b[y].m(c,null);t[124](c),f=!0,m||(h=[ge(i,"click",it(t[68])),ge(c,"keydown",t[84])],m=!0)},p(v,S){if((!f||S[0]&256)&&B(i,"item-mobile",v[8]),S[0]&2304|S[2]&8388616){_=Dt(v[11]);let y;for(y=0;y<_.length;y+=1){const w=ws(v,_,y);b[y]?(b[y].p(w,S),d(b[y],1)):(b[y]=zs(w),b[y].c(),d(b[y],1),b[y].m(c,null))}for(de(),y=_.length;y<b.length;y+=1)k(y);me()}(!f||S[0]&4194304)&&u(c,"style",v[22]),(!f||S[0]&256)&&B(c,"items-mobile",v[8]),(!f||S[0]&256)&&B(e,"menu-desktop",!v[8]),(!f||S[0]&256)&&B(e,"menu-mobile",v[8])},i(v){if(!f){d(n.$$.fragment,v);for(let S=0;S<_.length;S+=1)d(b[S]);f=!0}},o(v){g(n.$$.fragment,v),b=b.filter(Boolean);for(let S=0;S<b.length;S+=1)g(b[S]);f=!1},d(v){v&&P(e),H(n),t[121](null),pn(b,v),t[124](null),m=!1,tt(h)}}}function Os(t){let e,i,n;return i=new So({}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),F(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&P(e),H(i)}}}function zs(t){let e,i,n,o=t[145].displayValue+"",s,l,r,a,c,f,m,h=t[145].selected&&Os();function _(){return t[122](t[145])}function b(...k){return t[123](t[145],...k)}return{c(){e=T("li"),h&&h.c(),i=O(),n=T("div"),s=ze(o),l=O(),u(n,"class","v-5r0p3"),B(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=K("aria_label_submenu_rate_select_rate",{rate:t[145].displayValue})),B(e,"item-mobile",t[8])},m(k,v){E(k,e,v),h&&h.m(e,null),p(e,i),p(e,n),p(n,s),p(e,l),c=!0,f||(m=[ge(e,"click",it(_)),ge(e,"keydown",b)],f=!0)},p(k,v){t=k,t[145].selected?h?v[0]&2048&&d(h,1):(h=Os(),h.c(),d(h,1),h.m(e,i)):h&&(de(),g(h,1,1,()=>{h=null}),me()),(!c||v[0]&2048)&&o!==(o=t[145].displayValue+"")&&Xe(s,o),(!c||v[0]&256)&&B(n,"quality-title-mobile",t[8]),(!c||v[0]&2048&&r!==(r=t[145].value))&&u(e,"data-value",r),(!c||v[0]&2048&&a!==(a=K("aria_label_submenu_rate_select_rate",{rate:t[145].displayValue})))&&u(e,"aria-label",a),(!c||v[0]&256)&&B(e,"item-mobile",t[8])},i(k){c||(d(h),c=!0)},o(k){g(h),c=!1},d(k){k&&P(e),h&&h.d(),f=!1,tt(m)}}}function Ds(t){let e,i,n,o,s,l,r,a,c,f,m,h,_,b,k,v,S,y,w,z,oe,I,W,V;n=new Nn({props:{direction:"left"}});let te=!t[9]&&Fs(),M=t[9]&&Hs();return{c(){e=T("div"),i=T("div"),U(n.$$.fragment),o=O(),s=T("div"),s.textContent=`${K("submenu_traffic_saving")}`,l=O(),r=T("div"),a=O(),c=T("ul"),f=T("li"),te&&te.c(),m=O(),h=T("div"),h.textContent=`${K("traffic_saving_disable")}`,_=O(),b=T("li"),M&&M.c(),k=O(),v=T("div"),v.textContent=`${K("traffic_saving_enable")}`,S=O(),y=T("div"),w=O(),z=T("div"),oe=T("span"),oe.textContent=`${K("traffic_saving_helper_text")}`,u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",K("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(r,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),B(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",K("aria_label_submenu_traffic_saving_off")),B(f,"item-mobile",t[8]),u(v,"class","v-5r0p3"),B(v,"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",`${K("aria_label_submenu_traffic_saving_on")}. ${K("traffic_saving_helper_text")}`),B(b,"item-mobile",t[8]),u(c,"class","items v-5r0p3"),u(c,"style",t[23]),B(c,"items-mobile",t[8]),u(y,"class","menu-divider v-5r0p3"),u(oe,"class","v-5r0p3"),u(z,"class","item item-helper-text v-5r0p3"),B(z,"item-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),B(e,"menu-desktop",!t[8]),B(e,"menu-mobile",t[8])},m(ie,R){E(ie,e,R),p(e,i),F(n,i,null),p(i,o),p(i,s),t[125](i),p(e,l),p(e,r),p(e,a),p(e,c),p(c,f),te&&te.m(f,null),p(f,m),p(f,h),p(c,_),p(c,b),M&&M.m(b,null),p(b,k),p(b,v),t[130](c),p(e,S),p(e,y),p(e,w),p(e,z),p(z,oe),I=!0,W||(V=[ge(i,"click",it(t[68])),ge(f,"click",it(t[126])),ge(f,"keydown",t[127]),ge(b,"click",it(t[128])),ge(b,"keydown",t[129]),ge(c,"keydown",t[90])],W=!0)},p(ie,R){(!I||R[0]&256)&&B(i,"item-mobile",ie[8]),ie[9]?te&&(de(),g(te,1,1,()=>{te=null}),me()):te?R[0]&512&&d(te,1):(te=Fs(),te.c(),d(te,1),te.m(f,m)),(!I||R[0]&256)&&B(h,"quality-title-mobile",ie[8]),(!I||R[0]&256)&&B(f,"item-mobile",ie[8]),ie[9]?M?R[0]&512&&d(M,1):(M=Hs(),M.c(),d(M,1),M.m(b,k)):M&&(de(),g(M,1,1,()=>{M=null}),me()),(!I||R[0]&256)&&B(v,"quality-title-mobile",ie[8]),(!I||R[0]&256)&&B(b,"item-mobile",ie[8]),(!I||R[0]&8388608)&&u(c,"style",ie[23]),(!I||R[0]&256)&&B(c,"items-mobile",ie[8]),(!I||R[0]&256)&&B(z,"item-mobile",ie[8]),(!I||R[0]&256)&&B(e,"menu-desktop",!ie[8]),(!I||R[0]&256)&&B(e,"menu-mobile",ie[8])},i(ie){I||(d(n.$$.fragment,ie),d(te),d(M),I=!0)},o(ie){g(n.$$.fragment,ie),g(te),g(M),I=!1},d(ie){ie&&P(e),H(n),t[125](null),te&&te.d(),M&&M.d(),t[130](null),W=!1,tt(V)}}}function Fs(t){let e,i,n;return i=new So({}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),F(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&P(e),H(i)}}}function Hs(t){let e,i,n;return i=new So({}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),F(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&P(e),H(i)}}}function Us(t){let e,i,n,o,s,l,r,a,c,f;n=new Nn({props:{direction:"left"}});let m=Dt(t[10]),h=[];for(let b=0;b<m.length;b+=1)h[b]=js(vs(t,m,b));const _=b=>g(h[b],1,1,()=>{h[b]=null});return{c(){e=T("div"),i=T("div"),U(n.$$.fragment),o=O(),s=T("div"),s.textContent=`${K("subtitles_caption")}`,l=O(),r=T("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",K("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(r,"class","items v-5r0p3"),B(r,"items-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),B(e,"menu-desktop",!t[8]),B(e,"menu-mobile",t[8])},m(b,k){E(b,e,k),p(e,i),F(n,i,null),p(i,o),p(i,s),p(e,l),p(e,r);for(let v=0;v<h.length;v+=1)h[v]&&h[v].m(r,null);t[133](r),a=!0,c||(f=[ge(i,"click",it(t[68])),ge(r,"keydown",t[87])],c=!0)},p(b,k){if((!a||k[0]&256)&&B(i,"item-mobile",b[8]),k[0]&1280|k[2]&67108896){m=Dt(b[10]);let v;for(v=0;v<m.length;v+=1){const S=vs(b,m,v);h[v]?(h[v].p(S,k),d(h[v],1)):(h[v]=js(S),h[v].c(),d(h[v],1),h[v].m(r,null))}for(de(),v=m.length;v<h.length;v+=1)_(v);me()}(!a||k[0]&256)&&B(r,"items-mobile",b[8]),(!a||k[0]&256)&&B(e,"menu-desktop",!b[8]),(!a||k[0]&256)&&B(e,"menu-mobile",b[8])},i(b){if(!a){d(n.$$.fragment,b);for(let k=0;k<m.length;k+=1)d(h[k]);a=!0}},o(b){g(n.$$.fragment,b),h=h.filter(Boolean);for(let k=0;k<h.length;k+=1)g(h[k]);a=!1},d(b){b&&P(e),H(n),pn(h,b),t[133](null),c=!1,tt(f)}}}function qs(t){let e,i,n;return i=new So({}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){E(o,e,s),F(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&P(e),H(i)}}}function js(t){let e,i,n,o=t[142].displayValue+"",s,l,r,a,c,f,m,h=t[142].selected&&qs();function _(){return t[131](t[142])}function b(...k){return t[132](t[142],...k)}return{c(){e=T("li"),h&&h.c(),i=O(),n=T("div"),s=ze(o),l=O(),u(n,"class","v-5r0p3"),B(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=K("aria_label_submenu_subtitle_select_subtitle",{subtitle:t[142].displayValue})),B(e,"item-mobile",t[8])},m(k,v){E(k,e,v),h&&h.m(e,null),p(e,i),p(e,n),p(n,s),p(e,l),c=!0,f||(m=[ge(e,"click",it(_)),ge(e,"keydown",b)],f=!0)},p(k,v){t=k,t[142].selected?h?v[0]&1024&&d(h,1):(h=qs(),h.c(),d(h,1),h.m(e,i)):h&&(de(),g(h,1,1,()=>{h=null}),me()),(!c||v[0]&1024)&&o!==(o=t[142].displayValue+"")&&Xe(s,o),(!c||v[0]&256)&&B(n,"quality-title-mobile",t[8]),(!c||v[0]&1024&&r!==(r=t[142].value))&&u(e,"data-value",r),(!c||v[0]&1024&&a!==(a=K("aria_label_submenu_subtitle_select_subtitle",{subtitle:t[142].displayValue})))&&u(e,"aria-label",a),(!c||v[0]&256)&&B(e,"item-mobile",t[8])},i(k){c||(d(h),c=!0)},o(k){g(h),c=!1},d(k){k&&P(e),h&&h.d(),f=!1,tt(m)}}}function td(t){let e,i,n,o,s,l,r=t[14]&&ys(t),a=t[16]&&Vs(t),c=t[17]&&Rs(t),f=t[19]&&Ds(t),m=t[18]&&Us(t);return{c(){e=T("div"),r&&r.c(),i=O(),a&&a.c(),n=O(),c&&c.c(),o=O(),f&&f.c(),s=O(),m&&m.c(),u(e,"class","v-5r0p3"),B(e,"hidden",!t[14]),B(e,"container-mobile",t[8])},m(h,_){E(h,e,_),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,_){h[14]?r?(r.p(h,_),_[0]&16384&&d(r,1)):(r=ys(h),r.c(),d(r,1),r.m(e,i)):r&&(de(),g(r,1,1,()=>{r=null}),me()),h[16]?a?(a.p(h,_),_[0]&65536&&d(a,1)):(a=Vs(h),a.c(),d(a,1),a.m(e,n)):a&&(de(),g(a,1,1,()=>{a=null}),me()),h[17]?c?(c.p(h,_),_[0]&131072&&d(c,1)):(c=Rs(h),c.c(),d(c,1),c.m(e,o)):c&&(de(),g(c,1,1,()=>{c=null}),me()),h[19]?f?(f.p(h,_),_[0]&524288&&d(f,1)):(f=Ds(h),f.c(),d(f,1),f.m(e,s)):f&&(de(),g(f,1,1,()=>{f=null}),me()),h[18]?m?(m.p(h,_),_[0]&262144&&d(m,1)):(m=Us(h),m.c(),d(m,1),m.m(e,null)):m&&(de(),g(m,1,1,()=>{m=null}),me()),(!l||_[0]&16384)&&B(e,"hidden",!h[14]),(!l||_[0]&256)&&B(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&&P(e),r&&r.d(),a&&a.d(),c&&c.d(),f&&f.d(),m&&m.d()}}}const il=18;function id(t,e,i){let n,o,s,l,r,a,c,f,m,h,_,b,k,v,S,y,w,z,oe,I,W,V,te,M,{ref:ie=void 0}=e,{supportLink:R}=e,{playerControlsHeight:Y=0}=e,{returnFocus:le}=e;const C=pt(),se=on(),ye=C.state.currentQuality$;D(t,ye,$=>i(103,k=$));const pe=C.state.availableQualities$;D(t,pe,$=>i(12,_=$));const ve=C.state.autoQualityLimitingAvailable$;D(t,ve,$=>i(107,w=$));const X=C.state.isAutoQualityEnabled$;D(t,X,$=>i(104,v=$));const ce=C.state.currentPlaybackRate$;D(t,ce,$=>i(13,b=$));const De=C.state.availablePlaybackRates$;D(t,De,$=>i(11,m=$));const ae=C.state.currentSubtitle$;D(t,ae,$=>i(37,te=$));const Ie=C.state.availableSubtitlesList$;D(t,Ie,$=>i(10,c=$));const Ee=C.state.canDownload,he=C.state.hasMpegSources$;D(t,he,$=>i(108,z=$));const Ae=C.ui.settingsMenuVisible;D(t,Ae,$=>i(14,V=$));const A=C.ui.settingsMenuOpenedByKeyboard;D(t,A,$=>i(135,o=$));const ne=C.ui.isMobile;D(t,ne,$=>i(8,s=$));const Me=C.ui.mobileNotReportControlHidden$;D(t,Me,$=>i(105,S=$));const Ce=C.state.canChangePlaybackSpeed$;D(t,Ce,$=>i(106,y=$));const ue=C.ui.isFullscreen;D(t,ue,$=>i(111,W=$));const _e=C.state.trafficSavingEnabled$;D(t,_e,$=>i(9,r=$));const x=C.ui.playerSize;D(t,x,$=>i(110,I=$));const Q=C.ui.debugPanelVisible;D(t,Q,$=>i(38,M=$));const Ue=C.ui.playerSize;D(t,Ue,$=>i(109,oe=$));const xe=C.state.isInteractiveTime$,Je=C.actions.internal.downloadVideo,Le=C.actions.internal.closeSettingsMenu;let We=!0,$e=!1,ht=!1,rt=!1,Pe=!1,gt=!1;function ut(){o||le?.(),Le(),gt=!1}function Xt(){i(15,We=!1),i(16,$e=!0)}function Jt(){i(15,We=!1),i(19,Pe=!0)}function Vt($){C.actions.internal.setQuality($),ut()}function fe($){C.actions.internal.setTrafficSavingEnabled($),ut()}function _t(){i(15,We=!1),i(17,ht=!0)}function nt($){C.actions.internal.setPlaybackRate($),ut()}function yt(){i(15,We=!1),i(18,rt=!0)}function dt($){C.actions.internal.setSubtitle($),ut()}function mt(){i(15,We=!0),i(16,$e=!1),i(17,ht=!1),i(18,rt=!1),i(19,Pe=!1)}function Tt(){Je(),ut()}function zi(){window.open(R,"_blank"),ut(),C.actions.internal.pause()}function Ft(){dl(C.actions.internal.getDebugTextData()),ut()}function Li(){Q.set(!0),ut()}function Wi(){gt=!0}function xt(){gt=!1}function Di($,et,ni){if(!$)return"...";const Yi=et.find(sn=>sn.value===$),vt=Yi?Yi.displayValue:$;return ni?$===Qe.VideoQuality.INVARIANT?K("auto_quality_invariant"):K("auto_quality",{actual:vt}):vt}let Zi,Ht,Ut,hi,Et,li,Mt,Ii,gi,qt,Ct,$t,bi,_i,ei,si,ti,jt=Be(!1);D(t,jt,$=>i(102,h=$));let Wt,Bt,bt=Be(!1);D(t,bt,$=>i(101,f=$));let wt,vi,Vi=Be(!1);D(t,Vi,$=>i(100,a=$));let ri,ai,Nt=Be(!1);D(t,Nt,$=>i(99,l=$));const wi=$=>{Eu($,Le)},ii=async $=>{Ro($,Xt,()=>{const et=_.findIndex(ni=>ni.selected);return ti.childNodes[et]})},ki=async $=>{Oo($,mt,jt,Le)},ct=($,et)=>{Xi($,()=>Vt(et))},kt=async $=>{Ro($,_t,()=>{const et=m.findIndex(ni=>ni.selected);return Bt.childNodes[et]})},At=async $=>{Oo($,mt,bt,Le)},Fi=($,et)=>{Xi($,()=>nt(et))},yi=async $=>{Ro($,yt,()=>{const et=c.findIndex(ni=>ni.selected);return vi.childNodes[et]})},Ki=async $=>{Oo($,mt,Vi,Le)},Mi=($,et)=>{Xi($,()=>dt(et))},Bi=async $=>{Ro($,Jt,()=>{const et=r?2:0;return ai.childNodes[et]})},ui=async $=>{Oo($,mt,Nt,Le)},Rt=($,et)=>{Xi($,()=>fe(et))},Hi=$=>{Xi($,()=>Tt())},Ci=$=>{Xi($,()=>zi())},ci=$=>{Xi($,()=>Ft())},Ne=$=>{Xi($,()=>Li())};nn(()=>{const $=xe.subscribe(et=>{et&&!s&&!gt&&!o&&ut()});return()=>{$()}});function Ui($){Se[$?"unshift":"push"](()=>{si=$,i(4,si)})}function Ni($){Se[$?"unshift":"push"](()=>{Wt=$,i(5,Wt)})}function fi($){Se[$?"unshift":"push"](()=>{wt=$,i(6,wt)})}function qi($){Se[$?"unshift":"push"](()=>{ri=$,i(7,ri)})}function Si($){Se[$?"unshift":"push"](()=>{ie=$,i(0,ie)})}function di($){Se[$?"unshift":"push"](()=>{Ht=$,i(1,Ht)})}const Fe=$=>Vt($.value),Pi=($,et)=>ct(et,$.value);function Ot($){Se[$?"unshift":"push"](()=>{ti=$,i(32,ti)})}function Zt($){Se[$?"unshift":"push"](()=>{Ut=$,i(2,Ut)})}const Ti=$=>nt($.value),ji=($,et)=>Fi(et,$.value);function Ei($){Se[$?"unshift":"push"](()=>{Bt=$,i(33,Bt)})}function ln($){Se[$?"unshift":"push"](()=>{hi=$,i(3,hi)})}const Gi=()=>fe(!1),Ai=$=>Rt($,!1),Ji=()=>fe(!0),xi=$=>Rt($,!0);function $i($){Se[$?"unshift":"push"](()=>{ai=$,i(35,ai)})}const Ri=$=>dt($),Oi=($,et)=>Mi(et,$);function mi($){Se[$?"unshift":"push"](()=>{vi=$,i(34,vi)})}return t.$$set=$=>{"ref"in $&&i(0,ie=$.ref),"supportLink"in $&&i(96,R=$.supportLink),"playerControlsHeight"in $&&i(97,Y=$.playerControlsHeight),"returnFocus"in $&&i(98,le=$.returnFocus)},t.$$.update=()=>{if(t.$$.dirty[0]&16384&&V&&(i(15,We=!0),i(16,$e=!1),i(17,ht=!1),i(18,rt=!1),i(19,Pe=!1)),t.$$.dirty[3]&1024&&i(36,n=fo(k)),t.$$.dirty[0]&4096|t.$$.dirty[3]&3072&&i(20,Zi=Di(k,_,v)),t.$$.dirty[0]&258|t.$$.dirty[3]&458768)if(s&&W)i(21,Et=`max-height: ${Math.round(I.height*.6)}px`);else if(s)i(21,Et="");else{const $=oe.height-il-(Ht?.clientHeight??0)-Y;i(21,Et=`max-height: ${$}px; overflow: auto;`)}if(t.$$.dirty[0]&260|t.$$.dirty[3]&65552)if(s)i(22,li="");else{const $=oe.height-il-(Ut?.clientHeight??0)-Y;i(22,li=`max-height: ${$}px; overflow: auto;`)}if(t.$$.dirty[0]&264|t.$$.dirty[3]&65552)if(s)i(23,Mt="");else{const $=oe.height-il-(hi?.clientHeight??0)-Y;i(23,Mt=`max-height: ${$}px; overflow: auto;`)}t.$$.dirty[3]&36864&&i(24,Ii=Ee&&z&&!S),t.$$.dirty[3]&20480&&i(25,gi=se.features.trafficSaving&&!S&&w),t.$$.dirty[0]&1024|t.$$.dirty[3]&4096&&i(26,qt=c.length>0&&!S),t.$$.dirty[3]&12288&&i(27,Ct=!!y&&!S),t.$$.dirty[3]&4096&&i(28,$t=!S),t.$$.dirty[0]&512&&i(29,bi=K(r?"traffic_saving_on":"traffic_saving_off")),t.$$.dirty[3]&3072&&i(30,_i=v?K("auto_quality_option"):k),t.$$.dirty[0]&10240&&i(31,ei=m.find($=>$.value===b)?.displayValue),t.$$.dirty[0]&16|t.$$.dirty[3]&512&&No(si,jt,h),t.$$.dirty[0]&32|t.$$.dirty[3]&256&&No(Wt,bt,f),t.$$.dirty[0]&64|t.$$.dirty[3]&128&&No(wt,Vi,a),t.$$.dirty[0]&128|t.$$.dirty[3]&64&&No(ri,Nt,l)},[ie,Ht,Ut,hi,si,Wt,wt,ri,s,r,c,m,_,b,V,We,$e,ht,rt,Pe,Zi,Et,li,Mt,Ii,gi,qt,Ct,$t,bi,_i,ei,ti,Bt,vi,ai,n,te,M,se,ye,pe,ve,X,ce,De,ae,Ie,he,Ae,A,ne,Me,Ce,ue,_e,x,Q,Ue,ut,Xt,Jt,Vt,fe,_t,nt,yt,dt,mt,Tt,zi,Ft,Li,Wi,xt,jt,bt,Vi,Nt,wi,ii,ki,ct,kt,At,Fi,yi,Ki,Mi,Bi,ui,Rt,Hi,Ci,ci,Ne,R,Y,le,l,a,f,h,k,v,S,y,w,z,oe,I,W,Ui,Ni,fi,qi,Si,di,Fe,Pi,Ot,Zt,Ti,ji,Ei,ln,Gi,Ai,Ji,xi,$i,Ri,Oi,mi]}class zu extends ke{constructor(e){super(),we(this,e,id,td,be,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},$0,[-1,-1,-1,-1,-1])}}function nd(t){He(t,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function od(t){let e,i,n;return i=new Cl({props:{isMobile:t[3],currentQuality:t[4]}}),{c(){e=T("span"),U(i.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,s){E(o,e,s),F(i,e,null),n=!0},p(o,s){const l={};s&8&&(l.isMobile=o[3]),s&16&&(l.currentQuality=o[4]),i.$set(l)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&P(e),H(i)}}}function ld(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],$$slots:{default:[od]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new pi({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"opened":""),r&4&&(a.ariaLabel=l[2]),r&4120&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function sd(t,e,i){let n,o,s,{ref:l=void 0}=e;const r=pt(),a=r.state.currentQuality$;D(t,a,k=>i(4,s=k));const c=r.ui.settingsMenuVisible;D(t,c,k=>i(1,n=k));const f=r.actions.internal.toggleSettingsMenu,m=r.ui.isMobile;D(t,m,k=>i(3,o=k));let h;function _(k){const v=vl(k);f(v)}function b(k){l=k,i(0,l)}return t.$$set=k=>{"ref"in k&&i(0,l=k.ref)},t.$$.update=()=>{t.$$.dirty&2&&i(2,h=K(n?"tooltip_settings_on":"tooltip_settings_off"))},[l,n,h,o,s,a,c,m,_,b]}class Sl extends ke{constructor(e){super(),we(this,e,sd,ld,be,{ref:0},nd)}}function rd(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:j,i:j,o:j,d(n){n&&P(e)}}}class ad extends ke{constructor(e){super(),we(this,e,null,rd,be,{})}}function ud(t){let e,i;return e=new Ou({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function cd(t){let e,i;return e=new ad({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function fd(t){let e,i,n,o;const s=[cd,ud],l=[];function r(a,c){return a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e!==f&&(de(),g(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i||(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&P(n),l[e].d(a)}}}function dd(t){let e,i;return e=new pi({props:{testId:"btn-Subtitles",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Co[Ve.KeyC],$$slots:{default:[fd]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function md(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=K(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,s]}class pd extends ke{constructor(e){super(),we(this,e,md,dd,be,{isSubtitlesEnabled:0,click:1})}}function hd(t){He(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 Ws(t){let e,i;return{c(){e=T("span"),i=ze(t[3]),u(e,"class","duration v-19o2urr")},m(n,o){E(n,e,o),p(e,i)},p(n,o){o&8&&Xe(i,n[3])},d(n){n&&P(e)}}}function gd(t){let e,i,n,o,s=t[2]&&Ws(t);return{c(){e=T("div"),i=T("span"),n=ze(t[4]),o=O(),s&&s.c(),u(i,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),B(e,"mobile",t[1])},m(l,r){E(l,e,r),p(e,i),p(i,n),p(e,o),s&&s.m(e,null),t[7](e)},p(l,[r]){r&16&&Xe(n,l[4]),l[2]?s?s.p(l,r):(s=Ws(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&2&&B(e,"mobile",l[1])},i:j,o:j,d(l){l&&P(e),s&&s.d(),t[7](null)}}}function bd(t,e,i){let{isMobile:n=!1}=e,{duration:o}=e,{position:s}=e,{showDuration:l=!0}=e,{ref:r}=e,a,c;function f(m){Se[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=Sn(o)),t.$$.dirty&64&&i(4,c=Sn(s))},[r,n,l,a,c,o,s,f]}class Du extends ke{constructor(e){super(),we(this,e,bd,gd,be,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},hd)}}function _d(t){He(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 vd(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:j,o:j,d(r){r&&P(e)}}}function wd(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 Ko extends ke{constructor(e){super(),we(this,e,wd,vd,be,{volume:1,muted:2},_d)}}function kd(t){let e,i;const n=t[4].default,o=Pn(n,t,t[3],null);return{c(){e=T("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)&&En(o,n,s,s[3],i?Tn(n,s[3],l,null):An(s[3]),null)},i(s){i||(d(o,s),i=!0)},o(s){g(o,s),i=!1},d(s){s&&P(e),o&&o.d(s),t[5](null)}}}function yd(t,e,i){let n,{$$slots:o={},$$scope:s}=e;const r=pt().ui.overlayContainer$;D(t,r,h=>i(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};nn(()=>(f(n),()=>c(n)));function m(h){Se[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 Cd extends ke{constructor(e){super(),we(this,e,yd,kd,be,{})}}function Sd(t){He(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 Zs(t){let e,i;return e=new Cd({props:{$$slots:{default:[Pd]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&262387&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Pd(t){let e,i,n,o,s,l,r;return{c(){e=T("div"),i=T("div"),n=ze(t[1]),o=O(),s=T("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);`),B(e,"active",t[0])},m(a,c){E(a,e,c),p(e,i),p(i,n),p(e,o),p(e,s),t[17](e)},p(a,c){c&2&&Xe(n,a[1]),c&32&&l!==(l=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(s,"style",l),c&192&&r!==(r=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",r),c&1&&B(e,"active",a[0])},d(a){a&&P(e),t[17](null)}}}function Td(t){let e,i,n,o,s,l;const r=t[15].default,a=Pn(r,t,t[18],null);let c=t[1]&&Zs(t);return{c(){e=T("div"),a&&a.c(),i=O(),c&&c.c(),n=lt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),B(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=[ge(e,"mouseenter",t[11]),ge(e,"mousemove",t[11]),ge(e,"mouseleave",t[12]),ge(e,"mousedown",t[12]),ge(e,"mouseup",t[11])],s=!0)},p(f,[m]){a&&a.p&&(!o||m&262144)&&En(a,r,f,f[18],o?Tn(r,f[18],m,null):An(f[18]),null),(!o||m&4)&&B(e,"full-width",f[2]),f[1]?c?(c.p(f,m),m&2&&d(c,1)):(c=Zs(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(de(),g(c,1,1,()=>{c=null}),me())},i(f){o||(d(a,f),d(c),o=!0)},o(f){g(a,f),g(c),o=!1},d(f){f&&(P(e),P(i),P(n)),a&&a.d(f),t[16](null),c&&c.d(f),s=!1,tt(l)}}}const zo=5;function Ed(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,_,b,k=0,v=zo,S=0,y=0;const w=on(),z=pt(),oe=z.ui.playerSize;D(t,oe,C=>i(21,o=C));const I=z.ui.overlayContainer$;D(t,I,C=>i(20,n=C));const W=z.getLogger().createComponentLog("Tooltip component"),V=()=>{if(!n)return;const C=n.getBoundingClientRect(),se=h.getBoundingClientRect(),ye=se.width,pe=_.clientWidth,ve=o.width,X=(ye-pe)/2,ce=se.left+c-C.left;let De=ce+X;const ae=se.top+f-C.top;let Ie=pe/2-zo;const Ee=De<Vo,he=De+pe>ve-Vo;Ee&&(De=Vo,Ie=ce+se.width/2-2.5*zo),he&&(De=ve-Vo-pe,Ie=se.left-C.left+se.width/2-De-zo),i(6,S=De),i(7,y=ae),i(5,k=Ie)},te=()=>{try{if(!n||!h)return;V(),i(0,a=!0)}catch(C){W({message:String(C)})}},M=()=>{i(0,a=!1)},ie=()=>{_&&(b||(b=window.setTimeout(te,w.controls.hideTimeoutTooltips)),a&&te())},R=()=>{M(),window.clearTimeout(b),b=void 0};jo(()=>window.clearTimeout(b));function Y(C){Se[C?"unshift":"push"](()=>{h=C,i(3,h)})}function le(C){Se[C?"unshift":"push"](()=>{_=C,i(4,_)})}return t.$$set=C=>{"content"in C&&i(1,r=C.content),"active"in C&&i(0,a=C.active),"translateX"in C&&i(13,c=C.translateX),"translateY"in C&&i(14,f=C.translateY),"isFullWidthWrapper"in C&&i(2,m=C.isFullWidthWrapper),"$$scope"in C&&i(18,l=C.$$scope)},[a,r,m,h,_,k,S,y,v,oe,I,ie,R,c,f,s,Y,le,l]}class Fu extends ke{constructor(e){super(),we(this,e,Ed,Td,be,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},Sd)}}function Ad(t){He(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 Ld(t){let e;const i=t[16].default,n=Pn(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)&&En(n,i,o,o[21],e?Tn(i,o[21],s,null):An(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 Id(t){let e,i;return e=new Fu({props:{content:t[9],translateX:t[7],translateY:t[8],isFullWidthWrapper:t[4],$$slots:{default:[Vd]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&512&&(s.content=n[9]),o&128&&(s.translateX=n[7]),o&256&&(s.translateY=n[8]),o&16&&(s.isFullWidthWrapper=n[4]),o&2097152&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Vd(t){let e;const i=t[16].default,n=Pn(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)&&En(n,i,o,o[21],e?Tn(i,o[21],s,null):An(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 Md(t){let e,i,n,o,s,l,r,a,c;const f=[Id,Ld],m=[];function h(_,b){return _[3]&&_[5]&&!_[10]?0:1}return i=h(t),n=m[i]=f[i](t),{c(){e=T("div"),n.c(),u(e,"class",o="btn-container "+t[2]+" v-p9r045"),u(e,"aria-hidden",s=t[6]||null),ao(()=>t[20].call(e))},m(_,b){E(_,e,b),m[i].m(e,null),t[19](e),l=ml(e,t[20].bind(e)),r=!0,a||(c=[ge(e,"pointerdown",it(Qt(t[17]))),ge(e,"click",it(Qt(t[18])))],a=!0)},p(_,[b]){let k=i;i=h(_),i===k?m[i].p(_,b):(de(),g(m[k],1,1,()=>{m[k]=null}),me(),n=m[i],n?n.p(_,b):(n=m[i]=f[i](_),n.c()),d(n,1),n.m(e,null)),(!r||b&4&&o!==(o="btn-container "+_[2]+" v-p9r045"))&&u(e,"class",o),(!r||b&64&&s!==(s=_[6]||null))&&u(e,"aria-hidden",s)},i(_){r||(d(n),r=!0)},o(_){g(n),r=!1},d(_){_&&P(e),m[i].d(),t[19](null),l(),a=!1,tt(c)}}}function Bd(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:_=""}=e,{disabledTooltipContent:b=K("tooltip_button_disabled")}=e,{isAriaHidden:k=!1}=e,{initialTranslateXPx:v=0}=e,{initialTranslateYPx:S=-18}=e;const y=pt(),w=y.ui.isMobile;D(t,w,M=>i(10,o=M));const z=y.state.graphIsOpened$;D(t,z,M=>i(15,n=M));let oe;function I(M){ro.call(this,t,M)}function W(M){ro.call(this,t,M)}function V(M){Se[M?"unshift":"push"](()=>{f=M,i(0,f)})}function te(){m=this.clientWidth,i(1,m)}return t.$$set=M=>{"className"in M&&i(2,r=M.className),"disabled"in M&&i(13,a=M.disabled),"hasTooltip"in M&&i(3,c=M.hasTooltip),"ref"in M&&i(0,f=M.ref),"width"in M&&i(1,m=M.width),"isFullWidthTooltip"in M&&i(4,h=M.isFullWidthTooltip),"tooltipContent"in M&&i(5,_=M.tooltipContent),"disabledTooltipContent"in M&&i(14,b=M.disabledTooltipContent),"isAriaHidden"in M&&i(6,k=M.isAriaHidden),"initialTranslateXPx"in M&&i(7,v=M.initialTranslateXPx),"initialTranslateYPx"in M&&i(8,S=M.initialTranslateYPx),"$$scope"in M&&i(21,l=M.$$scope)},t.$$.update=()=>{t.$$.dirty&57376&&(a?i(9,oe=n?K("tooltip_disabled_when_graph_on"):b):i(9,oe=_))},[f,m,r,c,h,_,k,v,S,oe,o,w,z,a,b,n,s,I,W,V,te,l]}class It extends ke{constructor(e){super(),we(this,e,Bd,Md,be,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},Ad)}}function Nd(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:j,o:j,d(l){l&&P(e)}}}function Rd(t,e,i){let{completed:n}=e;return t.$$set=o=>{"completed"in o&&i(0,n=o.completed)},[n]}class Od extends ke{constructor(e){super(),we(this,e,Rd,Nd,be,{completed:0})}}function zd(t){He(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 Dd(t){let e,i,n,o,s;return i=new Od({props:{completed:!!t[0].completed}}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${t[0].from+t[0].width/2}%`),ao(()=>t[3].call(e)),B(e,"disabled",t[1])},m(l,r){E(l,e,r),F(i,e,null),o=ml(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)&&B(e,"disabled",l[1])},i(l){s||(d(i.$$.fragment,l),s=!0)},o(l){g(i.$$.fragment,l),s=!1},d(l){l&&P(e),H(i),o()}}}function Fd(t){let e,i;return e=new It({props:{tooltipContent:K(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:[Dd]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.tooltipContent=K(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){H(e,n)}}}function Hd(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 Ud extends ke{constructor(e){super(),we(this,e,Hd,Fd,be,{videoEpisode:0,disabled:1},zd)}}function qd(t){He(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 Ks(t,e,i){const n=t.slice();return n[2]=e[i],n}function Gs(t){let e,i,n,o,s,l,r,a,c;return{c(){e=T("div"),i=T("div"),n=T("div"),s=O(),l=T("div"),a=O(),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}%)`),B(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}%`),B(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&&B(l,"mobile",f[1]),m&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),m&2&&B(e,"mobile",f[1])},d(f){f&&P(e)}}}function jd(t){let e,i=Dt(t[0]),n=[];for(let o=0;o<i.length;o+=1)n[o]=Gs(Ks(t,i,o));return{c(){e=T("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,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=Dt(o[0]);let l;for(l=0;l<i.length;l+=1){const r=Ks(o,i,l);n[l]?n[l].p(r,s):(n[l]=Gs(r),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},i:j,o:j,d(o){o&&P(e),pn(n,o)}}}function Wd(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 Zd extends ke{constructor(e){super(),we(this,e,Wd,jd,be,{videoEpisodes:0,isMobile:1},qd)}}function Kd(t){He(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 Ys(t,e,i){const n=t.slice();return n[48]=e[i],n}function Qs(t){let e,i,n=Dt(t[21]),o=[];for(let l=0;l<n.length;l+=1)o[l]=Js(Ys(t,n,l));const s=l=>g(o[l],1,1,()=>{o[l]=null});return{c(){e=T("div");for(let l=0;l<o.length;l+=1)o[l].c();u(e,"class","interactive-icons v-1golz1y"),B(e,"mobile",t[5]),B(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=Dt(l[21]);let a;for(a=0;a<n.length;a+=1){const c=Ys(l,n,a);o[a]?(o[a].p(c,r),d(o[a],1)):(o[a]=Js(c),o[a].c(),d(o[a],1),o[a].m(e,null))}for(de(),a=n.length;a<o.length;a+=1)s(a);me()}(!i||r[0]&32)&&B(e,"mobile",l[5]),(!i||r[0]&1048608)&&B(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&&P(e),pn(o,l)}}}function Xs(t){let e,i;return e=new Ud({props:{videoEpisode:t[48],disabled:t[9]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisode=n[48]),o[0]&512&&(s.disabled=n[9]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Js(t){let e,i,n=t[48].interactive&&Xs(t);return{c(){n&&n.c(),e=lt()},m(o,s){n&&n.m(o,s),E(o,e,s),i=!0},p(o,s){o[48].interactive?n?(n.p(o,s),s[0]&2097152&&d(n,1)):(n=Xs(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(de(),g(n,1,1,()=>{n=null}),me())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&P(e),n&&n.d(o)}}}function Gd(t){let e,i,n,o,s,l;return{c(){e=T("div"),i=T("div"),o=O(),s=T("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}%);`),B(s,"active-live",t[4]),B(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&&B(s,"active-live",r[4]),a[0]&64&&B(s,"ads",r[6])},i:j,o:j,d(r){r&&P(e)}}}function Yd(t){let e,i;return e=new Zd({props:{videoEpisodes:t[21],isMobile:t[5]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisodes=n[21]),o[0]&32&&(s.isMobile=n[5]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Qd(t){let e,i,n,o,s,l,r,a,c,f,m,h,_,b=t[8]&&Qs(t);const k=[Yd,Gd],v=[];function S(y,w){return y[21].length?0:1}return n=S(t),o=v[n]=k[n](t),{c(){b&&b.c(),e=O(),i=T("div"),o.c(),s=O(),l=T("div"),r=T("div"),u(r,"class","handle v-1golz1y"),B(r,"active-live",t[4]),u(l,"class","handleWrap v-1golz1y"),u(l,"style",a=`transform: translateX(${t[13]*100}%);`),B(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),B(i,"disabled",t[9]),B(i,"slider-dragging",t[20]),B(i,"hidden",t[2]),B(i,"slider-vertical",t[3]),B(i,"no-handle",t[10]),B(i,"square",t[7])},m(y,w){b&&b.m(y,w),E(y,e,w),E(y,i,w),v[n].m(i,null),p(i,s),p(i,l),p(l,r),t[42](i),m=!0,h||(_=[ge(i,"pointerdown",Qt(t[22])),ge(i,"pointermove",Qt(t[23])),ge(i,"pointerup",Qt(t[24])),ge(i,"pointerenter",Qt(t[25])),ge(i,"pointerleave",Qt(t[26])),ge(i,"click",it(ee.noop)),ge(i,"wheel",t[27])],h=!0)},p(y,w){y[8]?b?(b.p(y,w),w[0]&256&&d(b,1)):(b=Qs(y),b.c(),d(b,1),b.m(e.parentNode,e)):b&&(de(),g(b,1,1,()=>{b=null}),me());let z=n;n=S(y),n===z?v[n].p(y,w):(de(),g(v[z],1,1,()=>{v[z]=null}),me(),o=v[n],o?o.p(y,w):(o=v[n]=k[n](y),o.c()),d(o,1),o.m(i,s)),(!m||w[0]&16)&&B(r,"active-live",y[4]),(!m||w[0]&8192&&a!==(a=`transform: translateX(${y[13]*100}%);`))&&u(l,"style",a),(!m||w[0]&1024)&&B(l,"hidden",y[10]),(!m||w[0]&1&&c!==(c="slider "+y[0]+" v-1golz1y"))&&u(i,"class",c),(!m||w[0]&16384)&&u(i,"aria-label",y[14]),(!m||w[0]&32768)&&u(i,"aria-valuemin",y[15]),(!m||w[0]&65536)&&u(i,"aria-valuemax",y[16]),(!m||w[0]&131072)&&u(i,"aria-valuenow",y[17]),(!m||w[0]&262144)&&u(i,"aria-valuetext",y[18]),(!m||w[0]&2&&f!==(f=y[1]??null))&&u(i,"data-testid",f),(!m||w[0]&513)&&B(i,"disabled",y[9]),(!m||w[0]&1048577)&&B(i,"slider-dragging",y[20]),(!m||w[0]&5)&&B(i,"hidden",y[2]),(!m||w[0]&9)&&B(i,"slider-vertical",y[3]),(!m||w[0]&1025)&&B(i,"no-handle",y[10]),(!m||w[0]&129)&&B(i,"square",y[7])},i(y){m||(d(b),d(o),m=!0)},o(y){g(b),g(o),m=!1},d(y){y&&(P(e),P(i)),b&&b.d(y),v[n].d(),t[42](null),h=!1,tt(_)}}}function Xd(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:_=[]}=e,{withWheelHandler:b=!1}=e,{isInteractive:k=!1}=e,{disabled:v=!1}=e,{hideHandel:S=!1}=e,y,w,{onPointerDown:z=ee.noop}=e,{onHandleMove:oe=ee.noop}=e,{onPointerUp:I=ee.noop}=e,{onPointerEnter:W=ee.noop}=e,{onPointerMove:V=ee.noop}=e,{onPointerLeave:te=ee.noop}=e,{onWheelUp:M=ee.noop}=e,{onWheelDown:ie=ee.noop}=e,{onWheelLeft:R=ee.noop}=e,{onWheelRight:Y=ee.noop}=e,{loadedProgress:le=0}=e,{filledProgress:C=0}=e,{handleProgress:se=0}=e,{ariaLabel:ye=""}=e,{ariaValueMin:pe=void 0}=e,{ariaValueMax:ve=void 0}=e,{ariaValueNow:X=void 0}=e,{ariaValueText:ce=""}=e;const De=on();let ae=!1,Ie;function Ee(Q){if(ae)return;i(20,ae=!0),w=y.getBoundingClientRect();const Ue=Ce(Q.clientX,Q.clientY);z(Ue),y.setPointerCapture(Q.pointerId)}function he(Q){const Ue=Ce(Q.clientX,Q.clientY),xe=ue(Q.clientX);V(Ue,xe,w.width),ae&&oe(Ue)}function Ae(Q){if(!ae)return;i(20,ae=!1);const Ue=Ce(Q.clientX,Q.clientY);I(Ue)}function A(Q){w=y.getBoundingClientRect();const Ue=Ce(Q.clientX,Q.clientY),xe=ue(Q.clientX);W(Ue,xe,w.width)}function ne(){te()}function Me(Q){b&&(Q.preventDefault(),Q.deltaY<0?M():Q.deltaY>0?ie():Q.deltaX>0?Y():R())}function Ce(Q,Ue){return a?Math.max(0,Math.min(1,(w.height-(Ue-w.top))/w.height)):Math.min(Math.max(Q-w.x,0),w.width)/w.width}function ue(Q){return Math.min(Math.max(Q-w.x,0),w.width)}function _e(Q,Ue){const xe=De.features.episodesClustering&&!k?De.episodeMinWidthPc:0,Je=[];let Le=0,We=0,$e=0;for(let Pe=1;Pe<_.length;Pe++)We=_[Pe].time/Ie*100,We-Le>xe&&(Je.push({from:Le,width:Math.max(0,We-Le),loadedWidth:Math.max(0,Math.min(We,Q)-Le),filledWidth:Math.max(0,Math.min(We,Ue)-Le),interactive:_[Pe-1].interactive,completed:_[Pe-1].completed}),Le=_[Pe].time/Ie*100,$e++);const ht={from:Le,width:Math.max(0,100-Le),loadedWidth:Math.max(0,Math.min(Q,100)-Le),filledWidth:Math.max(0,Math.min(Ue,100)-Le),interactive:_[$e].interactive,completed:_[$e].completed};100-Le<xe?($e-=1,Je[$e].width+=100-Le,Je[$e].loadedWidth+=Math.max(0,Math.min(Q,100)-Le),Je[$e].filledWidth+=Math.max(0,Math.min(Ue,100)-Le)):Je[$e]=ht;const rt=_[0].time;if(rt!==0){const Pe=rt/Ie*100;Je.unshift({from:0,width:Pe,loadedWidth:Math.min(Pe,Q),filledWidth:Math.min(Pe,Ue)})}return Je}function x(Q){Se[Q?"unshift":"push"](()=>{y=Q,i(19,y)})}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,_=Q.videoEpisodes),"withWheelHandler"in Q&&i(29,b=Q.withWheelHandler),"isInteractive"in Q&&i(8,k=Q.isInteractive),"disabled"in Q&&i(9,v=Q.disabled),"hideHandel"in Q&&i(10,S=Q.hideHandel),"onPointerDown"in Q&&i(30,z=Q.onPointerDown),"onHandleMove"in Q&&i(31,oe=Q.onHandleMove),"onPointerUp"in Q&&i(32,I=Q.onPointerUp),"onPointerEnter"in Q&&i(33,W=Q.onPointerEnter),"onPointerMove"in Q&&i(34,V=Q.onPointerMove),"onPointerLeave"in Q&&i(35,te=Q.onPointerLeave),"onWheelUp"in Q&&i(36,M=Q.onWheelUp),"onWheelDown"in Q&&i(37,ie=Q.onWheelDown),"onWheelLeft"in Q&&i(38,R=Q.onWheelLeft),"onWheelRight"in Q&&i(39,Y=Q.onWheelRight),"loadedProgress"in Q&&i(11,le=Q.loadedProgress),"filledProgress"in Q&&i(12,C=Q.filledProgress),"handleProgress"in Q&&i(13,se=Q.handleProgress),"ariaLabel"in Q&&i(14,ye=Q.ariaLabel),"ariaValueMin"in Q&&i(15,pe=Q.ariaValueMin),"ariaValueMax"in Q&&i(16,ve=Q.ariaValueMax),"ariaValueNow"in Q&&i(17,X=Q.ariaValueNow),"ariaValueText"in Q&&i(18,ce=Q.ariaValueText)},t.$$.update=()=>{t.$$.dirty[0]&65536&&i(40,Ie=ve??0),t.$$.dirty[0]&268435456|t.$$.dirty[1]&512&&i(41,n=_[_.length-1]?.time<Ie),t.$$.dirty[0]&268441600|t.$$.dirty[1]&1536&&i(21,o=_.length&&n&&Ie?_e(le*100,C*100):[])},[s,l,r,a,c,f,m,h,k,v,S,le,C,se,ye,pe,ve,X,ce,y,ae,o,Ee,he,Ae,A,ne,Me,_,b,z,oe,I,W,V,te,M,ie,R,Y,Ie,n,x]}class Pl extends ke{constructor(e){super(),we(this,e,Xd,Qd,be,{className:0,testId:1,isHidden:2,isVertical:3,isActiveLive:4,isMobile:5,isAds:6,squareBorders:7,videoEpisodes:28,withWheelHandler:29,isInteractive:8,disabled:9,hideHandel:10,onPointerDown:30,onHandleMove:31,onPointerUp:32,onPointerEnter:33,onPointerMove:34,onPointerLeave:35,onWheelUp:36,onWheelDown:37,onWheelLeft:38,onWheelRight:39,loadedProgress:11,filledProgress:12,handleProgress:13,ariaLabel:14,ariaValueMin:15,ariaValueMax:16,ariaValueNow:17,ariaValueText:18},Kd,[-1,-1])}}const dn=(t,e)=>co[t]>=co[e],Jd=(t,e)=>co[t]<co[e],Hu=(t,e)=>co[t]<=co[e],xd=t=>t>oo.L?exports.GridTypes.XL:t>oo.M?exports.GridTypes.L:t>oo.S?exports.GridTypes.M:t>oo.XS?exports.GridTypes.S:exports.GridTypes.XS;function $d(t){He(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 e2(t){let e,i;return e=new Ko({props:{volume:t[4],muted:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&16&&(s.volume=n[4]),o[0]&4&&(s.muted=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function t2(t){let e,i;return e=new pi({props:{className:"btn-full-opacity",disabled:!t[0],testId:t[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:t[7],click:t[1],ariaKeyShortCut:Co[Ve.KeyM],$$slots:{default:[e2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&1&&(s.disabled=!n[0]),o[0]&8&&(s.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(s.ariaLabel=n[7]),o[0]&2&&(s.click=n[1]),o[0]&20|o[1]&1&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function xs(t){let e,i,n;return i=new Pl({props:{className:t[3]?"volumeBar-slider-vertical":"",isHidden:t[3]&&!t[5],isVertical:t[3],withWheelHandler:!0,onWheelUp:t[13],onWheelDown:t[14],onPointerDown:t[12],onHandleMove:t[15],onPointerUp:t[16],onPointerEnter:t[3]?t[17]:ee.noop,onPointerLeave:t[3]?t[18]:ee.noop,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(t[8]*100),ariaValueText:`${Math.round(t[8]*100)}%`,filledProgress:t[8],handleProgress:t[8],testId:t[3]?"volume-slider-vertical":"volume-slider"}}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),B(e,"volumeBar-vertical",t[3])},m(o,s){E(o,e,s),F(i,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.className=o[3]?"volumeBar-slider-vertical":""),s[0]&40&&(l.isHidden=o[3]&&!o[5]),s[0]&8&&(l.isVertical=o[3]),s[0]&8&&(l.onPointerEnter=o[3]?o[17]:ee.noop),s[0]&8&&(l.onPointerLeave=o[3]?o[18]:ee.noop),s[0]&256&&(l.ariaValueNow=Math.round(o[8]*100)),s[0]&256&&(l.ariaValueText=`${Math.round(o[8]*100)}%`),s[0]&256&&(l.filledProgress=o[8]),s[0]&256&&(l.handleProgress=o[8]),s[0]&8&&(l.testId=o[3]?"volume-slider-vertical":"volume-slider"),i.$set(l),(!n||s[0]&8)&&B(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&&P(e),H(i)}}}function i2(t){let e,i,n,o,s,l;i=new Fu({props:{content:t[6],translateY:-18,$$slots:{default:[t2]},$$scope:{ctx:t}}});let r=t[0]&&xs(t);return{c(){e=T("div"),U(i.$$.fragment),n=O(),r&&r.c(),u(e,"class","volumeBar-container v-1l78lz9"),B(e,"vertical",t[3])},m(a,c){E(a,e,c),F(i,e,null),p(e,n),r&&r.m(e,null),o=!0,s||(l=[ge(e,"mouseenter",function(){mn(t[3]?t[19]:ee.noop)&&(t[3]?t[19]:ee.noop).apply(this,arguments)}),ge(e,"mouseleave",function(){mn(t[3]?t[20]:ee.noop)&&(t[3]?t[20]:ee.noop).apply(this,arguments)}),ge(e,"wheel",Qt(t[21]))],s=!0)},p(a,c){t=a;const f={};c[0]&64&&(f.content=t[6]),c[0]&159|c[1]&1&&(f.$$scope={dirty:c,ctx:t}),i.$set(f),t[0]?r?(r.p(t,c),c[0]&1&&d(r,1)):(r=xs(t),r.c(),d(r,1),r.m(e,null)):r&&(de(),g(r,1,1,()=>{r=null}),me()),(!o||c[0]&8)&&B(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&&P(e),H(i),r&&r.d(),s=!1,tt(l)}}}function n2(t,e,i){let n,o,s,{isAudioAvailable:l=!0}=e,{click:r}=e;const a=pt(),c=on(),f=a.state.volume$;D(t,f,pe=>i(4,n=pe));const m=a.state.muted$;D(t,m,pe=>i(23,s=pe));const h=a.actions.internal.setVolume,_=a.ui.currentGridType$;D(t,_,pe=>i(22,o=pe));let b=!1,k,v,S,y,w,z,oe=1,I=!1;function W(pe){oe=n,h(pe)}function V(){Vu(a,n,c.controls.volumeStepWheel)}function te(){Mu(a,n,c.controls.volumeStepWheel)}function M(pe){h(pe)}function ie(pe){const ve=pe;h(ve,ve===0?oe:ve)}function R(){I=!0}function Y(){I=!1,se()}function le(){clearTimeout(k),i(5,b=!0)}function C(){se()}function se(){k=window.setTimeout(()=>{I||i(5,b=!1)},c.controls.volumeBarTimeout)}function ye(pe){pe.deltaY<0?V():pe.deltaY>0&&te()}return t.$$set=pe=>{"isAudioAvailable"in pe&&i(0,l=pe.isAudioAvailable),"click"in pe&&i(1,r=pe.click)},t.$$.update=()=>{t.$$.dirty[0]&8388609&&i(2,y=!l||s),t.$$.dirty[0]&4194304&&i(3,w=Hu(o,exports.GridTypes.S)),t.$$.dirty[0]&12&&(w?i(6,v=""):i(6,v=K(y?"tooltip_volume":"tooltip_volume_muted")),i(7,S=K(y?"tooltip_volume":"tooltip_volume_muted"))),t.$$.dirty[0]&20&&i(8,z=y?0:n)},[l,r,y,w,n,b,v,S,z,f,m,_,W,V,te,M,ie,R,Y,le,C,ye,o,s]}class o2 extends ke{constructor(e){super(),we(this,e,n2,i2,be,{isAudioAvailable:0,click:1},$d,[-1,-1])}}function l2(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&&P(e)}}}function s2(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&&P(e)}}}function r2(t){let e,i,n;function o(r,a){return r[0]?s2:l2}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:j,o:j,d(r){r&&P(e),l.d()}}}function a2(t,e,i){let{isFullscreen:n=!1}=e;return t.$$set=o=>{"isFullscreen"in o&&i(0,n=o.isFullscreen)},[n]}class u2 extends ke{constructor(e){super(),we(this,e,a2,r2,be,{isFullscreen:0})}}function c2(t){let e,i;return e=new u2({props:{isFullscreen:t[0]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&1&&(s.isFullscreen=n[0]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function f2(t){let e,i;return e=new pi({props:{testId:"btn-fullscreen",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Co[Ve.KeyF],$$slots:{default:[c2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function d2(t,e,i){let{isFullscreen:n=!1}=e,{click:o=ee.noop}=e,s;return t.$$set=l=>{"isFullscreen"in l&&i(0,n=l.isFullscreen),"click"in l&&i(1,o=l.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,s=K(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,s]}class Uu extends ke{constructor(e){super(),we(this,e,d2,f2,be,{isFullscreen:0,click:1})}}function m2(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:j,i:j,o:j,d(n){n&&P(e)}}}class Tl extends ke{constructor(e){super(),we(this,e,null,m2,be,{})}}function p2(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:j,i:j,o:j,d(n){n&&P(e)}}}class qu extends ke{constructor(e){super(),we(this,e,null,p2,be,{})}}function h2(t){He(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 $s(t){let e;return{c(){e=T("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){E(i,e,n)},d(i){i&&P(e)}}}function g2(t){let e,i,n,o,s=t[1]&&$s();var l=t[8];function r(a){return{}}return l&&(n=bn(l,r())),{c(){s&&s.c(),e=O(),i=T("div"),n&&U(n.$$.fragment),u(i,"class","v-1ot3duq"),B(i,"mobile",t[1])},m(a,c){s&&s.m(a,c),E(a,e,c),E(a,i,c),n&&F(n,i,null),o=!0},p(a,c){if(a[1]?s||(s=$s(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),c&256&&l!==(l=a[8])){if(n){de();const f=n;g(f.$$.fragment,1,0,()=>{H(f,1)}),me()}l?(n=bn(l,r()),U(n.$$.fragment),d(n.$$.fragment,1),F(n,i,null)):n=null}(!o||c&2)&&B(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&&(P(e),P(i)),s&&s.d(a),n&&H(n)}}}function b2(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:Co[Ve.KeyK],$$slots:{default:[g2]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new pi({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&112&&(a.click=l[5]?l[6]:l[4]),r&4&&(a.disabled=l[2]),r&128&&(a.ariaLabel=l[7]),r&33026&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function _2(t,e,i){let n,o;const{fakeIsPlaying$:s}=hl();D(t,s,y=>i(12,o=y));let{ref:l=void 0}=e,{isMobile:r=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:m=ee.noop}=e;const{toggle:h}=s;let _,b,k,v;function S(y){l=y,i(0,l)}return t.$$set=y=>{"ref"in y&&i(0,l=y.ref),"isMobile"in y&&i(1,r=y.isMobile),"isPlaying"in y&&i(10,a=y.isPlaying),"disabled"in y&&i(2,c=y.disabled),"className"in y&&i(3,f=y.className),"click"in y&&i(4,m=y.click)},t.$$.update=()=>{t.$$.dirty&4096&&i(5,b=o!==null),t.$$.dirty&5152&&i(11,k=b?o:a),t.$$.dirty&2048&&i(7,v=K(k?"tooltip_pause":"tooltip_play")),t.$$.dirty&2048&&i(8,n=k?qu:Tl)},i(6,_=h),[l,r,c,f,m,b,_,v,n,s,a,k,o,S]}class El extends ke{constructor(e){super(),we(this,e,_2,b2,be,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},h2)}}function v2(t){He(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 w2(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"),B(e,"prev",t[0]),B(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&&B(e,"prev",o[0]),s&2&&B(e,"mobile",o[1])},i:j,o:j,d(o){o&&P(e)}}}function k2(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 y2 extends ke{constructor(e){super(),we(this,e,k2,w2,be,{isPrev:0,isMobile:1},v2)}}function C2(t){let e,i;return e=new y2({props:{isMobile:t[1],isPrev:t[3]==="prev"}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&8&&(s.isPrev=n[3]==="prev"),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function S2(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:[C2]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new pi({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.testId="btn-"+l[3]),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&138&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function P2(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=K(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,s,l,r,a,c]}class Go extends ke{constructor(e){super(),we(this,e,P2,S2,be,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function T2(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:j,i:j,o:j,d(n){n&&P(e)}}}class E2 extends ke{constructor(e){super(),we(this,e,null,T2,be,{})}}function A2(t){He(t,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function er(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&&(P(e),P(i),P(n),P(o),P(s),P(l),P(r))}}}function L2(t){let e,i,n,o=!t[0]&&er();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"),B(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=er(),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&&B(e,"mobile",s[1])},i:j,o:j,d(s){s&&P(e),o&&o.d()}}}function I2(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 V2 extends ke{constructor(e){super(),we(this,e,I2,L2,be,{short:0,isMobile:1},A2)}}function M2(t){let e,i;return e=new E2({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p:j,i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function B2(t){let e,i;return e=new V2({props:{short:t[4],isMobile:!!t[7]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.short=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function N2(t){let e,i,n,o;const s=[B2,M2],l=[];function r(a,c){return a[2]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),g(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&P(n),l[e].d(a)}}}function R2(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:[N2]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new pi({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.disabled=!l[1]),r&4&&(a.testId=l[2]?"btn-vk-video-logo":"btn-vk-logo"),r&8&&(a.ariaLabel=l[3]),r&524308&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function O2(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=on(),{logoLink:m,addTimeToLogoLink:h}=f,_=pt(),b=_.state.positionWithScrubbing$;D(t,b,I=>i(14,n=I));const k=_.ui.currentGridType$;D(t,k,I=>i(11,o=I));const v=_.ui.isMobile;D(t,v,I=>i(12,s=I));let S,y,w;const z=()=>{let I;if(y||!a)I=m;else{const W=Math.round(n);if(h&&W){const V=new URL(a);V.searchParams.append("t",ee.timeCodeToString(W)),I=V.toString()}else I=a}c(),window.open(I,"_blank")};function oe(I){l=I,i(0,l)}return t.$$set=I=>{"ref"in I&&i(0,l=I.ref),"logoClickable"in I&&i(1,r=I.logoClickable),"videoLogoUrl"in I&&i(9,a=I.videoLogoUrl),"click"in I&&i(10,c=I.click)},t.$$.update=()=>{t.$$.dirty&6148&&i(4,w=(s||Hu(o,exports.GridTypes.L))&&y)},i(3,S=f.logoType===uo.VK_VIDEO?K("tooltip_vk_video_logo"):K("tooltip_vk_logo")),i(2,y=f.logoType===uo.VK_VIDEO),[l,r,y,S,w,b,k,v,z,a,c,o,s,oe]}class ju extends ke{constructor(e){super(),we(this,e,O2,R2,be,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function z2(t){He(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 D2(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"),B(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"),B(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&&B(a,"hidden",!c[1]),f&4&&B(e,"connecting",c[2])},d(c){c&&P(e)}}}function F2(t){let e,i,n,o,s,l,r,a,c,f,m,h,_,b,k,v,S,y,w,z,oe;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"),k=N("feFlood"),v=N("feColorMatrix"),S=N("feOffset"),y=N("feGaussianBlur"),w=N("feColorMatrix"),z=N("feBlend"),oe=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",_=t[1]?"#2688EB":"#fff"),u(h,"d","M0 0h24v24H0z"),u(m,"id","a"),u(k,"flood-opacity","0"),u(k,"result","BackgroundImageFix"),u(v,"in","SourceAlpha"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(v,"result","hardAlpha"),u(y,"stdDeviation","2.5"),u(w,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(z,"in2","BackgroundImageFix"),u(z,"result","effect1_dropShadow_4085_178456"),u(oe,"in","SourceGraphic"),u(oe,"in2","effect1_dropShadow_4085_178456"),u(oe,"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(I,W){E(I,e,W),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,k),p(b,v),p(b,S),p(b,y),p(b,w),p(b,z),p(b,oe)},p(I,W){W&2&&s!==(s=I[1]?"#2688EB":"#fff")&&u(o,"fill",s),W&2&&a!==(a=I[1]?"#2688EB":"#fff")&&u(r,"fill",a),W&2&&_!==(_=I[1]?"#2688EB":"#fff")&&u(h,"fill",_)},d(I){I&&P(e)}}}function H2(t){let e;function i(s,l){return s[0]?F2:D2}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:j,o:j,d(s){s&&P(e),o.d(s)}}}function U2(t,e,i){let{isMobile:n=!1}=e,{state:o}=e,s,l;return t.$$set=r=>{"isMobile"in r&&i(0,n=r.isMobile),"state"in r&&i(3,o=r.state)},t.$$.update=()=>{t.$$.dirty&8&&(i(2,l=o===Qe.ChromecastState.CONNECTING),i(1,s=o===Qe.ChromecastState.CONNECTED))},[n,s,l,o]}class q2 extends ke{constructor(e){super(),we(this,e,U2,H2,be,{isMobile:0,state:3},z2)}}function j2(t){let e,i;return e=new q2({props:{isMobile:t[1],state:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&4&&(s.state=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function W2(t){let e,i,n;function o(l){t[5](l)}let s={ariaLabel:t[4],click:t[3],testId:"btn-chromecast",$$slots:{default:[j2]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new pi({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&16&&(a.ariaLabel=l[4]),r&8&&(a.click=l[3]),r&70&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Z2(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{state:s}=e,{click:l=ee.noop}=e,r;function a(c){n=c,i(0,n)}return t.$$set=c=>{"ref"in c&&i(0,n=c.ref),"isMobile"in c&&i(1,o=c.isMobile),"state"in c&&i(2,s=c.state),"click"in c&&i(3,l=c.click)},t.$$.update=()=>{t.$$.dirty&4&&i(4,r=s===Qe.ChromecastState.CONNECTED?K("tooltip_chromecast_on"):K("tooltip_chromecast_off"))},[n,o,s,l,r,a]}class Wu extends ke{constructor(e){super(),we(this,e,Z2,W2,be,{ref:0,isMobile:1,state:2,click:3})}}function K2(t){let e,i;return e=new yu({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function G2(t){let e,i;return e=new pi({props:{className:t[0]?"":"btn--live btn-full-opacity",testId:t[1]?"btn-live":"btn-live-offset",disabled:t[1]&&t[3]===Qe.PlaybackState.PLAYING,ariaLabel:t[2],click:t[4],$$slots:{default:[K2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(s.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(s.disabled=n[1]&&n[3]===Qe.PlaybackState.PLAYING),o&4&&(s.ariaLabel=n[2]),o&16&&(s.click=n[4]),o&514&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Y2(t,e,i){let n,{isMobile:o=!1}=e,{isActiveLive:s=!1}=e,{ariaLabel:l=""}=e;const r=pt(),a=r.state.playbackState$;D(t,a,h=>i(3,n=h));const c=r.actions.internal.switchToActiveLive,f=r.actions.internal.togglePlay;let m;return t.$$set=h=>{"isMobile"in h&&i(0,o=h.isMobile),"isActiveLive"in h&&i(1,s=h.isActiveLive),"ariaLabel"in h&&i(2,l=h.ariaLabel)},t.$$.update=()=>{t.$$.dirty&10&&i(4,m=()=>{if(!s){c();return}n===Qe.PlaybackState.PAUSED&&f()})},[o,s,l,n,m,a]}class Zu extends ke{constructor(e){super(),we(this,e,Y2,G2,be,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function Q2(t){He(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 X2(t){let e,i,n,o;const s=t[9].default,l=Pn(s,t,t[8],null);return{c(){e=T("div"),i=T("div"),l&&l.c(),u(i,"class","tooltip v-5ygsa2"),B(i,"active",t[0]),B(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)&&En(l,s,r,r[8],o?Tn(s,r[8],a,null):An(r[8]),null),(!o||a&1)&&B(i,"active",r[0]),(!o||a&2)&&B(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&&P(e),l&&l.d(r),t[10](null),t[11](null)}}}function J2(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(),y=S/2;return v<y?y:v>f-y?f-y:v}function b(v){Se[v?"unshift":"push"](()=>{h=v,i(4,h)})}function k(v){Se[v?"unshift":"push"](()=>{m=v,i(3,m)})}return t.$$set=v=>{"active"in v&&i(0,l=v.active),"pointer"in v&&i(1,r=v.pointer),"translateXPx"in v&&i(6,a=v.translateXPx),"translateYPx"in v&&i(2,c=v.translateYPx),"containerWidth"in v&&i(7,f=v.containerWidth),"$$scope"in v&&i(8,s=v.$$scope)},t.$$.update=()=>{t.$$.dirty&64&&i(5,n=_(a))},[l,r,c,m,h,n,a,f,s,o,b,k]}class x2 extends ke{constructor(e){super(),we(this,e,J2,X2,be,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Q2)}}const Ku=(t,e,i)=>i.filter(n=>n.time<t*e).pop();function $2(t){He(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 tr(t){let e;function i(s,l){return s[2]&&s[10].completed===!1?tm:em}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&&P(e),o.d(s)}}}function em(t){let e=(t[10].text||"")+"",i;return{c(){i=ze(e)},m(n,o){E(n,i,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&Xe(i,e)},d(n){n&&P(i)}}}function tm(t){let e=K("tooltip_episode_unfinished")+"",i;return{c(){i=ze(e)},m(n,o){E(n,i,o)},p:j,d(n){n&&P(i)}}}function im(t){let e,i,n,o,s,l,r,a,c=t[10]&&tr(t);return{c(){e=T("div"),i=T("div"),o=O(),s=T("div"),c&&c.c(),l=O(),r=T("div"),a=ze(t[0]),u(i,"class","preview v-l51fc1"),u(i,"style",n=`width: ${t[3]}px; height: ${t[4]}px; background-image: url(${t[5]}); background-size: ${t[6]}px ${t[7]}px; background-position: ${t[8]}px ${t[9]}px; transform: translateY(${t[11]%180?-35:0}px) rotate(${t[11]}deg);`),u(s,"class","episode v-l51fc1"),u(r,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),B(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=tr(f),c.c(),c.m(s,null)):c&&(c.d(1),c=null),m&1&&Xe(a,f[0]),m&2&&B(e,"mobile",f[1])},i:j,o:j,d(f){f&&P(e),c&&c.d()}}}const io=150;function nm(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=pt().ui.rotateAlpha;D(t,h,W=>i(11,n=W));let _,b,k,v,S,y,w,z;function oe(){let W=r.frameWidth,V=r.frameHeight;return W>io?(V=V/W*io,W=io):V>io&&(W=W/V*io,V=io),{width:W,height:V}}function I(W){let V;r.isUV?V=Math.floor(c*W/r.frequency):V=Math.min(r.countTotal,Math.max(0,Math.floor(r.countTotal*W)));const te=Math.floor(V/r.countPerImage),M=Math.floor(V%r.countPerImage/r.countPerRow),ie=V%r.countPerRow;let R=Math.floor(r.countPerImage/r.countPerRow);!r.isUV&&te===Math.floor(r.countTotal/r.countPerImage)&&(R=Math.floor(r.countTotal%r.countPerImage/r.countPerRow),r.countTotal%r.countPerImage%r.countPerRow>0&&R++);let Y=r.countPerRow;!r.isUV&&te===Math.floor(r.countTotal/r.countPerImage)&&r.countTotal%r.countPerImage>0&&(Y=Math.min(r.countPerRow,r.countTotal%r.countPerImage));const le=_*Y,C=b*R,se=-ie*_,ye=-M*b;return{imgSrc:r.links[te],imgWidth:le,imgHeight:C,imgOffsetX:se,imgOffsetY:ye}}return t.$$set=W=>{"time"in W&&i(0,o=W.time),"isMobile"in W&&i(1,s=W.isMobile),"videoEpisodes"in W&&i(13,l=W.videoEpisodes),"previewThumbsData"in W&&i(14,r=W.previewThumbsData),"progress"in W&&i(15,a=W.progress),"duration"in W&&i(16,c=W.duration),"isInteractive"in W&&i(2,f=W.isInteractive)},t.$$.update=()=>{t.$$.dirty&32768&&i(5,{imgSrc:k,imgWidth:v,imgHeight:S,imgOffsetX:y,imgOffsetY:w}=I(a),k,(i(6,v),i(15,a)),(i(7,S),i(15,a)),(i(8,y),i(15,a)),(i(9,w),i(15,a))),t.$$.dirty&106496&&i(10,z=Ku(a,c,l))},i(3,{width:_,height:b}=oe(),_,i(4,b)),[o,s,f,_,b,k,v,S,y,w,z,n,h,l,r,a,c]}class om extends ke{constructor(e){super(),we(this,e,nm,im,be,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},$2)}}function lm(t){He(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 sm(t){let e,i;return{c(){e=T("span"),i=ze(t[7]),u(e,"class","time v-5lzly8")},m(n,o){E(n,e,o),p(e,i)},p(n,o){o[0]&128&&Xe(i,n[7])},i:j,o:j,d(n){n&&P(e)}}}function rm(t){let e,i;return e=new om({props:{time:t[7],isMobile:t[10],videoEpisodes:t[3],previewThumbsData:t[21],progress:t[8],duration:t[1],isInteractive:t[23]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&128&&(s.time=n[7]),o[0]&1024&&(s.isMobile=n[10]),o[0]&8&&(s.videoEpisodes=n[3]),o[0]&256&&(s.progress=n[8]),o[0]&2&&(s.duration=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function am(t){let e,i,n,o;const s=[rm,sm],l=[];function r(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),g(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&P(n),l[e].d(a)}}}function um(t){let e,i,n,o;const s=[t[9]];let l={$$slots:{default:[am]},$$scope:{ctx:t}};for(let r=0;r<s.length;r+=1)l=ja(l,s[r]);return e=new x2({props:l}),n=new Pl({props:{isActiveLive:t[11],isMobile:t[10],ariaLabel:K("aria_timeline"),ariaValueMin:0,ariaValueMax:t[1],ariaValueNow:Math.round(t[6]*100),ariaValueText:K("aria_timeline_value",{position:t[5],duration:t[4]}),loadedProgress:t[12],filledProgress:t[6],handleProgress:t[6],videoEpisodes:t[3],onPointerDown:t[27],onHandleMove:t[28],onPointerMove:t[31],onPointerUp:t[29],onPointerEnter:t[30],onPointerLeave:t[32],isInteractive:t[23],disabled:t[13].has(ot.TIMELINE),hideHandel:t[2]}}),{c(){U(e.$$.fragment),i=O(),U(n.$$.fragment)},m(r,a){F(e,r,a),E(r,i,a),F(n,r,a),o=!0},p(r,a){const c=a[0]&512?lc(s,[sc(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=K("aria_timeline_value",{position:r[5],duration:r[4]})),a[0]&4096&&(f.loadedProgress=r[12]),a[0]&64&&(f.filledProgress=r[6]),a[0]&64&&(f.handleProgress=r[6]),a[0]&8&&(f.videoEpisodes=r[3]),a[0]&8192&&(f.disabled=r[13].has(ot.TIMELINE)),a[0]&4&&(f.hideHandel=r[2]),n.$set(f)},i(r){o||(d(e.$$.fragment,r),d(n.$$.fragment,r),o=!0)},o(r){g(e.$$.fragment,r),g(n.$$.fragment,r),o=!1},d(r){r&&P(i),H(e,r),H(n,r)}}}function cm(t,e,i){let n,o,s,l,r,a,c,f,m,h,_,{showTimeline:b=!1}=e;const k=pt(),v=on(),S=k.state.bufferedProgress$;D(t,S,x=>i(12,h=x));const y=k.state.positionWithScrubbing$;D(t,y,x=>i(39,a=x));const w=k.state.duration$;D(t,w,x=>i(1,s=x));const z=k.state.isLive$;D(t,z,x=>i(0,o=x));const oe=k.state.isActiveLive$;D(t,oe,x=>i(11,m=x));const I=k.ui.isMobile;D(t,I,x=>i(10,f=x));const W=v.features.episodes?k.actions.internal.getVideoEpisodes():void 0,V=k.actions.internal.getPreviewThumbsData(),te=k.state.interactiveEpisodes$;D(t,te,x=>i(40,c=x));const M=k.state.isInteractive,ie=k.state.isInteractiveTime$;D(t,ie,x=>i(2,l=x));const R=k.state.isInteractiveExpectation$;D(t,R,x=>i(38,r=x));const Y=k.actions.internal.correctSeekTimeToInteractive,le=k.ui.controls.disabledControls$;D(t,le,x=>i(13,_=x));let C,se,ye,pe,ve=!1,X="",ce=0,De=0,ae=0,Ie;function Ee(x){return!Y||!M?x:Y(x*s)/s}function he(x){k.actions.internal.startScrubbing(Ee(x))}function Ae(x){l||k.actions.internal.progressScrubbing(Ee(x))}function A(x){k.actions.internal.completeScrubbing(Ee(x)),i(34,ve=!1)}function ne(x,Q,Ue){ue(x,Q,Ue),i(34,ve=!0)}function Me(x,Q,Ue){ue(x,Q,Ue),i(34,ve=!0)}function Ce(){i(34,ve=!1)}function ue(x,Q,Ue){i(8,ae=x),i(35,ce=Q),Ue&&i(36,De=Ue),i(7,X=_e(x))}function _e(x){const Q=Sn((o?1-x:x)*s);return o?`-${Q}`:Q}return t.$$set=x=>{"showTimeline"in x&&i(33,b=x.showTimeline)},t.$$.update=()=>{t.$$.dirty[1]&512&&i(3,C=M?c:W),t.$$.dirty[0]&2&&i(4,se=Sn(s)),t.$$.dirty[1]&256&&i(5,ye=Sn(a)),t.$$.dirty[0]&2|t.$$.dirty[1]&256&&i(6,pe=a/s),t.$$.dirty[0]&4|t.$$.dirty[1]&128&&i(37,Ie=r||l),t.$$.dirty[0]&1|t.$$.dirty[1]&124&&i(9,n={containerWidth:De,translateXPx:ce,translateYPx:M&&V?-36:-16,active:ve&&b&&!Ie,pointer:!v.features.timelinePreview||!V||o})},[o,s,l,C,se,ye,pe,X,ae,n,f,m,h,_,v,S,y,w,z,oe,I,V,te,M,ie,R,le,he,Ae,A,ne,Me,Ce,b,ve,ce,De,Ie,r,a,c]}let fm=class extends ke{constructor(e){super(),we(this,e,cm,um,be,{showTimeline:33},lm,[-1,-1])}};function dm(t){let e,i;return e=new Pl({props:{ariaValueMin:0,ariaValueMax:t[0],ariaValueNow:Math.round(t[3]*100),ariaValueText:K("aria_timeline_value",{position:t[2],duration:t[1]}),filledProgress:t[3],isAds:!0,hideHandel:!0,squareBorders:t[4]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.ariaValueMax=n[0]),o&8&&(s.ariaValueNow=Math.round(n[3]*100)),o&6&&(s.ariaValueText=K("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){H(e,n)}}}function mm(t,e,i){let n,{position:o=0}=e,{duration:s=0}=e;const r=pt().ui.isMobile;D(t,r,m=>i(4,n=m));let a,c,f;return t.$$set=m=>{"position"in m&&i(6,o=m.position),"duration"in m&&i(0,s=m.duration)},t.$$.update=()=>{t.$$.dirty&1&&i(1,a=Sn(s)),t.$$.dirty&64&&i(2,c=Sn(o)),t.$$.dirty&65&&i(3,f=o/s)},[s,a,c,f,n,r,o]}class Gu extends ke{constructor(e){super(),we(this,e,mm,dm,be,{position:6,duration:0})}}function pm(t){He(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 hm(t){let e;return{c(){e=T("div"),u(e,"class","timeline-stub v-1gqonyf"),B(e,"mobile",t[2])},m(i,n){E(i,e,n)},p(i,n){n&4&&B(e,"mobile",i[2])},i:j,o:j,d(i){i&&P(e)}}}function gm(t){let e,i,n,o;const s=[_m,bm],l=[];function r(a,c){return a[0]?0:1}return i=r(t),n=l[i]=s[i](t),{c(){e=T("div"),n.c(),u(e,"class","timeline v-1gqonyf"),B(e,"mobile",t[2])},m(a,c){E(a,e,c),l[i].m(e,null),o=!0},p(a,c){let f=i;i=r(a),i===f?l[i].p(a,c):(de(),g(l[f],1,1,()=>{l[f]=null}),me(),n=l[i],n?n.p(a,c):(n=l[i]=s[i](a),n.c()),d(n,1),n.m(e,null)),(!o||c&4)&&B(e,"mobile",a[2])},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&P(e),l[i].d()}}}function bm(t){let e,i;return e=new fm({props:{showTimeline:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.showTimeline=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _m(t){let e,i;return e=new Gu({props:{position:t[3],duration:t[4]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&8&&(s.position=n[3]),o&16&&(s.duration=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function vm(t){let e,i,n,o;const s=[gm,hm],l=[];function r(a,c){return a[1]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),g(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&P(n),l[e].d(a)}}}function wm(t,e,i){let n,o,s,l,{isAds:r=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const m=pt(),h=m.state.isLive$;D(t,h,S=>i(12,n=S));const _=m.ads.duration;D(t,_,S=>i(4,l=S));const b=m.ads.position;D(t,b,S=>i(3,s=S));const k=m.ui.isMobile;D(t,k,S=>i(2,o=S));let v;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,v=!f&&(!n||n&&a&&c||r))},[r,v,o,s,l,h,_,b,k,a,c,f,n]}class Yu extends ke{constructor(e){super(),we(this,e,wm,vm,be,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},pm)}}function km(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"),Pt(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:j,i:j,o:j,d(s){s&&P(e)}}}class ym extends ke{constructor(e){super(),we(this,e,null,km,be,{})}}function Cm(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:j,i:j,o:j,d(n){n&&P(e)}}}class Sm extends ke{constructor(e){super(),we(this,e,null,Cm,be,{})}}function Pm(t){He(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 Tm(t){let e,i,n,o;e=new ym({});function s(a,c){if(a[4]===Fn.FULL)return Lm;if(a[4]===Fn.COUNT)return Am}let l=s(t),r=l&&l(t);return{c(){U(e.$$.fragment),i=O(),r&&r.c(),n=lt()},m(a,c){F(e,a,c),E(a,i,c),r&&r.m(a,c),E(a,n,c),o=!0},p(a,c){l===(l=s(a))&&r?r.p(a,c):(r&&r.d(1),r=l&&l(a),r&&(r.c(),r.m(n.parentNode,n)))},i(a){o||(d(e.$$.fragment,a),o=!0)},o(a){g(e.$$.fragment,a),o=!1},d(a){a&&(P(i),P(n)),H(e,a),r&&r.d(a)}}}function Em(t){let e,i,n,o,s,l;return s=new Sm({}),{c(){e=T("span"),i=ze(t[2]),n=O(),o=T("div"),U(s.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(r,a){E(r,e,a),p(e,i),E(r,n,a),E(r,o,a),F(s,o,null),l=!0},p(r,a){(!l||a&4)&&Xe(i,r[2])},i(r){l||(d(s.$$.fragment,r),l=!0)},o(r){g(s.$$.fragment,r),l=!1},d(r){r&&(P(e),P(n),P(o)),H(s)}}}function Am(t){let e,i=t[0].length+"",n;return{c(){e=T("span"),n=ze(i),u(e,"class","text count v-1yhs2ga")},m(o,s){E(o,e,s),p(e,n)},p(o,s){s&1&&i!==(i=o[0].length+"")&&Xe(n,i)},d(o){o&&P(e)}}}function Lm(t){let e,i;return{c(){e=T("span"),i=ze(t[2]),u(e,"class","text v-1yhs2ga")},m(n,o){E(n,e,o),p(e,i)},p(n,o){o&4&&Xe(i,n[2])},d(n){n&&P(e)}}}function Im(t){let e,i,n,o;const s=[Em,Tm],l=[];function r(a,c){return a[6]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),g(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Vm(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:[Im]},$$scope:{ctx:t}};return t[1]!==void 0&&(s.ref=t[1]),e=new pi({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&64&&(a.className="w-max btn-full-opacity "+(l[6]?"px-0":"")),r&8&&(a.ariaExpanded=l[3]),r&32&&(a.ariaLabel=l[5]),r&8388693&&(a.$$scope={dirty:r,ctx:l}),!i&&r&2&&(i=!0,a.ref=l[1],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Mm(t,e,i){let n,o,s,l,r,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:m=[]}=e;const h=pt(),_=h.callbacks?.onEpisodeChanged??ee.noop,b=!!h.callbacks?.onEpisodeClicked,k=h.ui.currentGridType$;D(t,k,M=>i(18,r=M));const v=h.ui.episodes.openedByKeyboard$;D(t,v,M=>i(17,l=M));const S=h.ui.episodes.panelOpened$;D(t,S,M=>i(3,s=M));const y=h.ui.isMobile;D(t,y,M=>i(6,a=M));let w;const z=M=>{if(!!h.callbacks?.onEpisodeClicked){const R=vl(M);v.set(R),S.set(!0),h.callbacks?.onEpisodeClicked?.(R)}};let oe,I,W;const V=async(M,ie,R)=>{await Wo(),M?.getAttribute("aria-expanded")==="false"&&ie&&!R&&(v.set(!1),M.focus())};function te(M){w=M,i(1,w)}return t.$$set=M=>{"position"in M&&i(13,c=M.position),"duration"in M&&i(14,f=M.duration),"timeCodes"in M&&i(0,m=M.timeCodes)},t.$$.update=()=>{if(t.$$.dirty&24576&&i(16,n=c/f),t.$$.dirty&114689){const M=Ku(n,f,m);M&&oe?.text!==M.text&&(_(M),i(15,oe=M))}t.$$.dirty&32768&&i(2,o=oe?.text||""),t.$$.dirty&262144&&(dn(r,exports.GridTypes.XL)?i(4,I=Fn.FULL):dn(r,exports.GridTypes.M)&&Jd(r,exports.GridTypes.XL)?i(4,I=Fn.COUNT):i(4,I=Fn.SHORT)),t.$$.dirty&4&&i(5,W=`${K("tooltip_episodes")}: ${o}`),t.$$.dirty&131082&&V(w,l,s)},[m,w,o,s,I,W,a,b,k,v,S,y,z,c,f,oe,n,l,r,te]}class Qu extends ke{constructor(e){super(),we(this,e,Mm,Vm,be,{position:13,duration:14,timeCodes:0},Pm)}}function Bm(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:j,i:j,o:j,d(o){o&&P(e)}}}class Nm extends ke{constructor(e){super(),we(this,e,null,Bm,be,{})}}function Rm(t){let e,i;return e=new Nm({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Om(t){let e,i,n;function o(l){t[4](l)}let s={className:t[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:K("tooltip_interactive_seek"),disabled:t[2],click:t[3],$$slots:{default:[Rm]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new pi({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&8&&(a.click=l[3]),r&32&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function zm(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 Xu extends ke{constructor(e){super(),we(this,e,zm,Om,be,{ref:0,hidden:1,disabled:2,click:3})}}function Dm(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"),B(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&&B(n,"hidden",!o[0])},i:j,o:j,d(o){o&&P(e)}}}function Fm(t,e,i){let{isOpened:n=!1}=e;return t.$$set=o=>{"isOpened"in o&&i(0,n=o.isOpened)},[n]}class Hm extends ke{constructor(e){super(),we(this,e,Fm,Dm,be,{isOpened:0})}}function Um(t){let e,i;return e=new Hm({props:{isOpened:t[3]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&8&&(s.isOpened=n[3]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function qm(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:[Um]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new pi({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&136&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function jm(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=K(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,s,l,r,a,c]}class Ju extends ke{constructor(e){super(),we(this,e,jm,qm,be,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function Wm(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:j,i:j,o:j,d(n){n&&P(e)}}}class xu extends ke{constructor(e){super(),we(this,e,null,Wm,be,{})}}function Zm(t){He(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 ir(t){let e;return{c(){e=T("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){E(i,e,n)},d(i){i&&P(e)}}}function Km(t){let e,i,n,o,s=t[1]&&ir();return n=new xu({}),{c(){s&&s.c(),e=O(),i=T("div"),U(n.$$.fragment),u(i,"class","v-1ot3duq"),B(i,"mobile",t[1])},m(l,r){s&&s.m(l,r),E(l,e,r),E(l,i,r),F(n,i,null),o=!0},p(l,r){l[1]?s||(s=ir(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),(!o||r&2)&&B(i,"mobile",l[1])},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){g(n.$$.fragment,l),o=!1},d(l){l&&(P(e),P(i)),s&&s.d(l),H(n)}}}function Gm(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:K("tooltip_restart"),disabled:t[2],click:t[4],ariaKeyShortCut:Co[Ve.KeyK],$$slots:{default:[Km]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new pi({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&4&&(a.disabled=l[2]),r&16&&(a.click=l[4]),r&66&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ym(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:s=!1}=e,{className:l=""}=e,{click:r=ee.noop}=e;function a(c){n=c,i(0,n)}return t.$$set=c=>{"ref"in c&&i(0,n=c.ref),"isMobile"in c&&i(1,o=c.isMobile),"disabled"in c&&i(2,s=c.disabled),"className"in c&&i(3,l=c.className),"click"in c&&i(4,r=c.click)},[n,o,s,l,r,a]}class Al extends ke{constructor(e){super(),we(this,e,Ym,Gm,be,{ref:0,isMobile:1,disabled:2,className:3,click:4},Zm)}}function Qm(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:j,i:j,o:j,d(n){n&&P(e)}}}class Xm extends ke{constructor(e){super(),we(this,e,null,Qm,be,{})}}function Jm(t){let e,i;return e=new Xm({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function xm(t){let e,i;return e=new pi({props:{className:t[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:K("tooltip_interactive_go_back"),disabled:t[1],click:t[2],$$slots:{default:[Jm]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"hidden":""),o&2&&(s.disabled=n[1]),o&4&&(s.click=n[2]),o&8&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function $m(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 $u extends ke{constructor(e){super(),we(this,e,$m,xm,be,{hidden:0,disabled:1,click:2})}}function e4(t){He(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 t4(t){let e,i,n,o;return{c(){e=T("img"),u(e,"class","icon v-1x1zctw"),Fl(e.src,i=t[0])||u(e,"src",i),u(e,"aria-hidden","true")},m(s,l){E(s,e,l),n||(o=ge(e,"error",t[7]),n=!0)},p(s,l){l&1&&!Fl(e.src,i=s[0])&&u(e,"src",i)},d(s){s&&P(e),n=!1,o()}}}function i4(t){let e;return{c(){e=T("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(i,n){E(i,e,n)},p:j,d(i){i&&P(e)}}}function n4(t){let e;function i(s,l){return s[5]?i4:t4}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&&P(e),o.d(s)}}}function o4(t){let e,i;return e=new pi({props:{className:t[4]?"btn-full-opacity":"",ariaLabel:t[1],click:t[3],disabled:t[6],testId:t[2],$$slots:{default:[n4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,[o]){const s={};o&16&&(s.className=n[4]?"btn-full-opacity":""),o&2&&(s.ariaLabel=n[1]),o&8&&(s.click=n[3]),o&64&&(s.disabled=n[6]),o&4&&(s.testId=n[2]),o&545&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function l4(t,e,i){let n,o,s,{iconUrl:l}=e,{ariaLabel:r}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=ee.noop}=e;const m=()=>{i(5,s=!0)};return t.$$set=h=>{"iconUrl"in h&&i(0,l=h.iconUrl),"ariaLabel"in h&&i(1,r=h.ariaLabel),"disabled"in h&&i(8,a=h.disabled),"testId"in h&&i(2,c=h.testId),"onClick"in h&&i(3,f=h.onClick)},t.$$.update=()=>{t.$$.dirty&8&&i(4,n=f===ee.noop),t.$$.dirty&272&&i(6,o=n||a)},i(5,s=!1),[l,r,c,f,n,s,o,m,a]}class e1 extends ke{constructor(e){super(),we(this,e,l4,o4,be,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},e4)}}class nr{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,i,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:i,options:n})}removeEventListener(e,i){if(!(e in this.listeners))return;const n=this.listeners[e];for(let o=0,s=n.length;o<s;o++)if(n[o].callback===i){n.splice(o,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let o=0,s=n.length;o<s;o++){const l=n[o];try{l.callback.call(this,e)}catch(r){Promise.resolve().then(()=>{throw r})}l.options&&l.options.once&&this.removeEventListener(e.type,l.callback)}return!e.defaultPrevented}}class t1 extends nr{constructor(){super(),this.listeners||nr.call(this),Object.defineProperty(this,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(this,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(this,"reason",{value:void 0,writable:!0,configurable:!0})}toString(){return"[object AbortSignal]"}dispatchEvent(e){e.type==="abort"&&(this.aborted=!0,typeof this.onabort=="function"&&this.onabort.call(this,e)),super.dispatchEvent(e)}}let s4=class{constructor(){Object.defineProperty(this,"signal",{value:new t1,writable:!0,configurable:!0})}abort(e){let i;try{i=new Event("abort")}catch{typeof document<"u"?document.createEvent?(i=document.createEvent("Event"),i.initEvent("abort",!1,!1)):(i=document.createEventObject(),i.type="abort"):i={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document>"u")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch{n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(i)}toString(){return"[object AbortController]"}};typeof Symbol<"u"&&Symbol.toStringTag&&(s4.prototype[Symbol.toStringTag]="AbortController",t1.prototype[Symbol.toStringTag]="AbortSignal");function i1(t){return t.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof t.Request=="function"&&!t.Request.prototype.hasOwnProperty("signal")||!t.AbortController}function r4(t){typeof t=="function"&&(t={fetch:t});const{fetch:e,Request:i=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=t;if(!i1({fetch:e,Request:i,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:e,Request:s};let s=i;(s&&!s.prototype.hasOwnProperty("signal")||o)&&(s=function(c,f){let m;f&&f.signal&&(m=f.signal,delete f.signal);const h=new i(c,f);return m&&Object.defineProperty(h,"signal",{writable:!1,enumerable:!1,configurable:!0,value:m}),h},s.prototype=i.prototype);const l=e;return{fetch:(a,c)=>{const f=s&&s.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let m;try{m=new DOMException("Aborted","AbortError")}catch{m=new Error("Aborted"),m.name="AbortError"}if(f.aborted)return Promise.reject(m);const h=new Promise((_,b)=>{f.addEventListener("abort",()=>b(m),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([h,l(a,c)])}return l(a,c)},Request:s}}const Ll=i1({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),n1=Ll?r4({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,a4=Ll?n1.fetch:window.fetch;Ll?n1.Request:window.Request;const u4=(t,e)=>t<400||e<225?5:t<640||e<360?0:t<960||e<540?1:t<1280||e<720?2:3,c4="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class f4{adman=null;initialVolume=1;videoElement=null;currentAdSection=null;actions=null;adsState=null;playerState=null;log;loadTimeout;initTimeout;events={slotRequested$:new ee.Subject,started$:new ee.Subject,paused$:new ee.Subject,resumed$:new ee.Subject,ended$:new ee.Subject,skipped$:new ee.Subject,clicked$:new ee.Subject};constructor(e,i){this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=i.loadTimeout,this.initTimeout=i.initTimeout}init(e,i,n){this.actions=e,this.adsState=i,this.playerState=n}loadAdman=e=>new Promise((i,n)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?i():n()};ee.addScript(c4,e,this.loadTimeout).then(()=>{window.AdmanHTML?i():(window.admanAsyncInit=s,o=window.setTimeout(s,this.initTimeout))}).catch(()=>{n()})});onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:i,height:n,isFullscreen:o,isAutoplay:s,adsContainer:l,adsVideoElement:r,slotId:a,params:c={},duration:f,previewParam:m}=e;let h;const _=this.playerState&&Ye(this.playerState.vsid);_&&(h=parseInt(_,36));const b={dl:encodeURIComponent(window.location.href),autoplay:s,player_width:i,player_height:n,puid10:u4(i,n),puid11:o?0:1,preview:m,...h?{request_id:h}:{},duration:f,...c},k={slot:a,wrapper:l,videoEl:r,videoQuality:n,params:b,browser:{mobile:!1}},v=new window.AdmanHTML;v.setDebug(!1),v.onReady(this.onAdsReady),v.onStarted(this.onAdStarted),v.onPlayed(this.onAdPlayed),v.onPaused(this.onAdPaused),v.adMidrollPoint(this.onAdMidrollPoint),v.onClosed(this.onAdClosed),v.onSkipped(this.onAdSkipped),v.onClicked(this.onAdClicked),v.onTimeRemained(this.onAdTimeRemained),v.onCompleted(this.onAdCompleted),v.onError(this.onAdError),v.init(k),this.adman=v,this.videoElement=r,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(k)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}ee.assertNonNullable(this.actions),ee.assertNonNullable(this.adsState),ee.assertNonNullable(this.playerState);const i=this.currentAdSection===kn.Postroll;this.adsState.playbackState.set(Yt.INACTIVE),this.currentAdSection=null,this.playerState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${i}`}),i&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!i)}togglePlay(){ee.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=Ye(this.adsState.playbackState);e===Yt.PLAYING?this.pause():e===Yt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){this.log({message:`set volume ${e}`}),this.adman?.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){this.log({message:`set fullscreen ${e}`}),this.adman?.setFullscreen(e)}startPreroll(){ee.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=kn.Preroll,this.adman.start(kn.Preroll)}startPostroll(){ee.assertNonNullable(this.adman),ee.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=kn.Postroll,this.adman.start(kn.Postroll)}onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()};onAdStarted=(e,i)=>{ee.assertNonNullable(this.adsState),ee.assertNonNullable(this.playerState),ee.assertNonNullable(this.actions),this.log({message:`ad started, section: ${e}, banner: ${JSON.stringify(i)}`}),this.events.started$.next(e),i.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Ye(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(i.duration),this.adsState.playbackState.set(Yt.PLAYING),this.adsState.canSkip.set(i.allowClose),this.adsState.secondsToWatchBeforeSkip.set(i.allowCloseDelay)};onAdTimeRemained=({currentTime:e})=>{ee.assertNonNullable(this.adsState),this.adsState.position.set(e)};onAdPaused=()=>{ee.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Yt.PAUSED)};onAdPlayed=()=>{ee.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Yt.PLAYING)};onAdMidrollPoint=()=>{ee.assertNonNullable(this.adman),ee.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=kn.Midroll,this.adman.start(kn.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(){ee.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ee.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ee.assertNonNullable(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,i){this.adman?.setPosition(Math.floor(e),Math.floor(i))}destroy(){this.log({message:"destroy"}),this.adman?.destroy()}}const d4=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 m4{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 o1,{startTime:c,endTime:f}=a.parse(r);s.startTime=c,s.endTime=f}else if(r.trim()!==""){const a=new p4,{texts:c}=a.parse(r);s.texts=[...s.texts,...c]}(s.startTime||s.endTime)&&s.texts.length>0&&i.push(s)}return i}}class o1{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 p4{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 o1;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 Bn,an,nl=0,ol=!1;const h4=(t,e,i)=>{const n=t>=nl,o=t<nl,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(nl=t,o&&(ol=!1),ee.isNonNullable(Bn)&&l(t,Bn.startTime,Bn.endTime)&&Bn.lang===e.value)return Bn;if(!ee.isNonNullable(an)&&a?.length&&!ol){const c=a.find(({startTime:f,endTime:m})=>l(t,f,m)||n&&s(t,f,m));an=c&&{...c,lang:e.value},Bn=void 0,!ee.isNonNullable(an)&&a[a.length-1].endTime<t&&(ol=!0);return}else{if(l(t,an?.startTime,an?.endTime))return Bn=an,an=void 0,Bn;(n&&r(t,an?.startTime,an?.endTime)||o&&s(t,an?.startTime,an?.endTime))&&(an=void 0)}},ll={ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",en:"English",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F (\u0442\u0430\u0440\u0430\u0448\u043A\u0435\u0432i\u0446\u0430)",es:"Espa\xF1ol",fi:"Suomi",de:"Deutsch",it:"Italiano",bg:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",hr:"Hrvatski",hu:"Magyar",sr:"\u0421\u0440\u043F\u0441\u043A\u0438","pt-PT":"Portugu\xEAs",el:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",pl:"Polski",fr:"Fran\xE7ais",ko:"\uD55C\uAD6D\uC5B4","zh-CN":"\u6C49\u8BED",lt:"Lietuvi\u0173",ja:"\u65E5\u672C\u8A9E",cs:"\u010Ce\u0161tina",et:"Eesti",tt:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",ba:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",cv:"\u0427\u0103\u0432\u0430\u0448\u043B\u0430",sk:"Sloven\u010Dina",ro:"Rom\xE2n\u0103",no:"Norsk",lv:"Latvie\u0161u",az:"Az\u0259rbaycan dili",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",sv:"Svenska",nl:"Nederlands",tk:"T\xFCrkmen",ka:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",da:"Dansk",uz:"O\u2018zbek",th:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",id:"Bahasa Indonesia",tg:"\u0422\u043E\u04B7\u0438\u043A\u04E3",sl:"Sloven\u0161\u010Dina",bs:"Bosanski","pt-BR":"Portugu\xEAs brasileiro",fa:"\u0641\u0627\u0631\u0633\u06CC",vi:"Ti\u1EBFng Vi\u1EC7t",hi:"\u0939\u093F\u0928\u094D\u0926\u0940",si:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",bn:"\u09AC\u09BE\u0982\u09B2\u09BE",tl:"Tagalog",mn:"\u041C\u043E\u043D\u0433\u043E\u043B",my:"\u1017\u1019\u102C\u1005\u102C",tr:"T\xFCrk\xE7e",ne:"\u0928\u0947\u092A\u093E\u0932\u0940",ur:"\u0627\u0631\u062F\u0648",ky:"\u041A\u044B\u0440\u0433\u044B\u0437 \u0442\u0438\u043B\u0438",pa:"\u067E\u0646\u062C\u0627\u0628\u06CC",os:"\u0418\u0440\u043E\u043D",kn:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",sw:"Kiswahili",kk:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",he:"\u05E2\u05D1\u05E8\u05D9\u05EA",ab:"\u0410\u04A7\u0441\u0448\u04D9\u0430",eu:"Euskara",eo:"Esperanto"};let Do=null;class _o{constructor(e,i){if(!Do){const n=new at.OneStat(e,i),o=new ee.Subscription;Do=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n?.destroy(),o?.unsubscribe(),Do=null}})}}static getInstance(){return Do}}const g4=({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:_,disabledControls:b,isInteractive:k,interactiveRanges:v,replayInteractive:S,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:w,additionalButtons:z,looped:oe=!1})=>{const I={...h,configName:[...h.configName??[],"ui"],isAudioDisabled:s,live:{...h.live??{},isLiveCatchUpMode:!!n}},W=m,V=_||new Qe.Player(I);V.setLooped(oe);const te=new ee.Logger,M=new f4(te,{loadTimeout:W.ads.loadTimeout,initTimeout:W.ads.initTimeout}),ie=_o.getInstance(),R=fl.getInstance(),Y=a?.pictureInPictureApi,le=a?.annotationsApi,C=te.createComponentLog("Store");let se,ye,pe={};const ve=ee.getCurrentBrowser(),X=ie?ft(ie.oneStat.vsid$):gn(void 0),ce=Be(ko()),De=Y?.info.isActive$??new ee.ValueSubject(!1),ae=Y?.info.type,Ie=Be(0),Ee=Be([]),he=ee.merge(V.events.fatalError$,V.events.managedError$).subscribe(L=>Ee.update(re=>[...re,L])),Ae=gn(!1,L=>{const re=V.events.fatalError$.subscribe(()=>L(!0));return()=>re.unsubscribe()}),A=async L=>{const re=Object.values(ee.InterfaceLanguage).includes(L);if(W.downloadVKLanguages&&(re&&W.updateBuiltinLanguages||!Wl(L))){let Oe;try{Oe=await ee.loadVKLangPack(L,mc,pc)}catch(Ze){ie?.oneStat?.logError({errorType:"VKLangPack",fatal:!1}),R?.report(Ze,{errorType:"VKLangPack",fatal:!1})}Oe&&(jl({language:L,pack:Oe,fallback:W.defaultLanguage}),ne.set(L))}Wl(L)&&ne.set(L)},ne=Be(t);A(t);const Me=(L,re)=>{const Te=Ye(ne);return hu(Te,L,re,W.defaultLanguage)},Ce=Be(Re.Thumb),ue=(()=>{const L=oi([Ae,Ce],([re,Te])=>re?Re.Crashed:Te);return{...L,is:re=>Ye(L)===re}})(),_e=(()=>{const L=Be(new Set(b));return{...L,add:re=>{L.update(Te=>new Set([...Te].concat(re)))},remove:re=>{L.update(Te=>{const Oe=[...Te];return new Set(Array.isArray(re)?Oe.filter(Ze=>!re.includes(Ze)):Oe.filter(Ze=>Ze!==re))})},includes:re=>{const Te=Ye(L);return Array.isArray(re)?re.every(Oe=>Te.has(Oe)):Te.has(re)}}})();C({message:"create store"});const x=L=>{C({message:`init video, config: ${JSON.stringify(L)}`}),k?L.container.append(V.experimental.element$.getValue()):V.initVideo(L),L.subtitles&&V.setExternalTextTracks(L.subtitles),se=L},Q=new ee.Subject,Ue=L=>Q.next(L),xe=new ee.Subject,Je=new ee.Subject,Le=new ee.Subject,We={actionRewind$:xe,actionSeek$:Je,inPiP$:De,inFullscreen$:new ee.Observable(L=>ce.subscribe(re=>L.next(re))),actionSetSubtitle$:Le,nextMovie$:Q};if(ie){const{oneStat:L,statSubscription:re}=ie;re.add(L.attachTo(V)),re.add(L.attachToUi(We)),re.add(L.attachToAds(M.events)),L.authorize(o).catch(Te=>{C({message:`onestat auth error ${String(Te)}`})})}if(R){const L=new ee.Subscription,re=(Te,Oe)=>L.add(Te.subscribe(Oe));if(re(V.events.managedError$,Te=>{R.logIError(Te)}),re(V.events.fatalError$,Te=>{R.logIError(Te,!0)}),ie){const{oneStat:Te}=ie;re(Te.experimental.error$,Oe=>{R.logIError(Oe)})}R.sentrySubscription.add(L)}const $e=()=>{ee.isIOS()&&ye&&jc(ye)},ht=new ee.Subscription().add(V.experimental.element$.subscribe(L=>{L&&(ye=L,L.classList.add("player-media"),qo(Y)&&(Y.updateVideoElement(),Y.registryEventHandlers()),k&&L.setAttribute("pip","false"))})).add(V.events.ended$.subscribe(()=>{$e(),r?.onEnded?.()})).add(V.events.started$.subscribe(async()=>{qo(Y)&&await Y?.revealPictureInPicture();const L=V.info.muted$.getValue();r?.onStarted?.(),pe.onStarted?.(L)})).add(V.events.willSeek$.subscribe(({from:L,to:re})=>{r?.onSeek?.(L,re)})).add(V.info.position$.subscribe(L=>{const re=V.info.duration$.getValue();r?.onTimeupdate?.(re,L),M.setPosition(L,re)})).add(V.events.fatalError$.subscribe(()=>{r?.onCrashed?.()})).add(V.info.is3DVideo$.subscribe(L=>{st.ui.is3DVideo.set(L)})).add(V.info.isEnded$.subscribe(L=>{k&&(L?(Ye(Lt)&&_e.add(eu),_e.add(ot.PLAY_BUTTON)):_e.remove(ot.PLAY_BUTTON))})).add(V.info.liveTime$.subscribe(L=>{r?.onLiveTime?.(L)})).add(V.info.isStalled$.subscribe(L=>{r?.onStalledChanged?.(L)})),rt=new ee.Subscription,Pe=()=>{rt.add(V.events.log$.subscribe(L=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${L.component}`,L.message)})).add(te.log$.subscribe(L=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${L.component}.`,L.message)}))},gt=()=>{rt.unsubscribe()},ut=(L,re)=>{V.startCameraManualRotation(L,re)},Xt=(L=!1)=>{V.stopCameraManualRotation(L)},Jt=(L,re,Te)=>{V.moveCameraFocusPX(L,re,Te)},Vt=()=>{V.holdCamera()},fe=()=>{V.releaseCamera()},_t=gn(V.info.position$.getValue(),L=>{let re,Te;const Oe=()=>{const Ze=V.info.playbackState$.getValue(),zt=V.info.isLive$.getValue(),Kt=V.info.duration$.getValue(),St=V.info.position$.getValue();if([Qe.PlaybackState.PLAYING,Qe.PlaybackState.PAUSED].includes(Ze)){const rn=zt?St-Kt:V.getExactTime();rn!==Te&&L(rn),Te=rn}re=requestAnimationFrame(Oe)};return Oe(),()=>cancelAnimationFrame(re)}),nt=ft(De),yt=ft(V.info.playbackState$),dt=ft(V.info.currentBuffer$),mt=ft(V.info.isEnded$),Tt=ft(V.info.isLive$),zi=W.features.playbackRate?ft(V.info.canChangePlaybackSpeed$):gn(!1),Ft=ft(V.info.liveBufferTime$),Li=ft(V.info.volume$),Wi=ft(V.info.muted$),xt=ou(V.info.autoQualityLimits$.pipe(ee.map(({max:L})=>L!==void 0)),V.info.autoQualityLimits$.getValue()?.max!==void 0),Di=ft(V.info.autoQualityLimitingAvailable$),Zi=ft(V.info.availableQualities$),Ht=ft(V.info.availableQualitiesFps$),Ut=ft(V.info.chromecastState$),hi=ft(V.info.chromecastDeviceName$),Et=ft(V.info.currentFormat$),li=ft(V.info.throughputEstimation$),Mt=ft(V.info.videoBitrate$),Ii=ft(V.info.intrinsicVideoSize$),gi=ft(V.info.duration$),qt=ft(V.info.isAudioAvailable$);let Ct=null;const $t=V.info.isBuffering$,bi=gn($t.getValue(),L=>{const re=$t.subscribe(Te=>{Te&&Ct===null?Ct=window.setTimeout(()=>{L($t.getValue()),Ct=null},W.loaderDelay):L(Te)});return()=>{re.unsubscribe(),Ct&&clearTimeout(Ct)}}),_i=()=>{Ct&&clearTimeout(Ct),Ct=null},ei=oi([gi,Tt],([L,re])=>re?-L:L),si=oi([yt],([L])=>L===Qe.PlaybackState.PLAYING),ti=ft(V.info.atLiveEdge$),jt=ft(V.info.atLiveDurationEdge$),Wt=ft(V.info.position$),Bt=oi([Wt,gi],([L,re])=>isFinite(L)&&isFinite(re)&&!!re),bt=oi([Ut],([L])=>L===Qe.ChromecastState.CONNECTED),wt=Be(void 0),vi=ft(V.info.isAutoQualityEnabled$,L=>L&&wt.set(void 0)),Vi=ft(V.info.currentQuality$,()=>wt.set(void 0)),ri=oi([wt,Vi],([L,re])=>L??re),ai=oi([Zi,Ht,vi,ri,Et],([L,re,Te,Oe,Ze])=>{const zt=[];Ze!==Qe.VideoFormat.MPEG&&zt.push({value:so.AUTO,displayValue:Me("auto_quality_option"),selected:Te});const Kt=L.filter(St=>St!==ee.VideoQuality.INVARIANT);for(const St of Kt){const rn=re[St],zn=St===ee.VideoQuality.INVARIANT?Me("auto_quality_option"):St;zt.push({value:St,displayValue:`${zn}${rn?d4(rn):""}`,selected:Te?!1:St===Oe})}return zt}),Nt=ft(V.info.currentPlaybackRate$),wi=oi([Nt,ti,jt],([L,re,Te])=>{const Oe=Te||k?1:W.controls.playbackRateMin,Ze=re?1:W.controls.playbackRateMax,zt=W.controls.playbackRateStep,Kt=[];for(let St=Oe;St<=Ze;St+=zt)Kt.push({value:St,displayValue:St===1?Me("playback_rate_1"):Me("playback_rate",{multiplier:St.toString(10)}),selected:L===St});return Kt}),ii=W.features.subtitles?ft(V.info.availableTextTracks$):gn([]),ki=oi([ii],([L],re)=>{const Te=[],Oe=[];for(const Ze of L)Ze.url&&Te.push(a4(Ze.url));Promise.allSettled(Te).then(Ze=>{for(const[zt,Kt]of Ze.entries())Kt.status==="fulfilled"&&Kt.value.text().then(St=>{const rn=new m4,zn=L[zt].language,Po=!!L[zt].isAuto,go=rn.parse(St);zn&&go&&Oe.push({lang:zn,subtitles:go,isAuto:Po}),zt===Ze.length-1&&re(Oe)})})}),ct={displayValue:Me("subtitles_off"),value:"off"},kt=Be({...ct}),At=oi([ki,kt,ki],([L,re])=>{if(L?.length>0){const Te=[{...ct,selected:re?.value===ct.value}];for(const{lang:Oe,isAuto:Ze}of L)ll[Oe]&&Te.push({displayValue:Ze?Me("subtitles_auto",{language:ll[Oe]}):ll[Oe],value:Oe,selected:re?.value===Oe,isAuto:Ze});return Te}else return[]}),Fi=oi([_t,kt,ki],([L,re,Te])=>{if(re&&re.value!==ct.value)return h4(L,re,Te)}),yi=oi([Fi],([L])=>L?.texts?L.texts:[]),Ki=Be(!0),Mi=oi([dt,ei,Wt,Ft],([L,re,Te,Oe])=>{const Ze=L?.end??0;if(!Oe)return Ze/re;const Kt=-Te+Oe-re;return(Ze-Kt)/re}),Bi=ft(V.info.availableSources$),ui=oi([Bi],([L])=>Object.keys(L?.[Qe.VideoFormat.MPEG]||{}).length>0),Rt=()=>{const L=Object.keys(V.info.availableSources$?.getValue()?.[Qe.VideoFormat.MPEG]||{}),re=ee.getHighestQuality(L)||ee.VideoQuality.Q_144P;return se.sources[Qe.VideoFormat.MPEG]?.[re]},Hi=()=>{const L=Rt();L?Cc(L,se?.meta?.title||"video"):C({message:"There is no URL for download video"})},Ci=()=>{C({message:"toggle muted"});const L=V.info.muted$.getValue(),Oe=!(V.info.volume$.getValue()===0||L);fi(Oe)},ci=()=>{st.ui.settingsMenuVisible.set(!1)},Ne=L=>{st.ui.settingsMenuOpenedByKeyboard.set(!!L),st.ui.settingsMenuVisible.set(!0)},Ui=L=>{Ye(st.ui.settingsMenuVisible)?ci():Ne(L)},Ni=(L,re=L,Te=!1)=>{const Oe=!Te,Ze=V.info.muted$.getValue();C({message:`set volume, volume: ${L}, preferredVolume: ${re}, internalCall: ${Oe}`}),V.setVolume(L),M.setVolume(L),Oe&&r?.onVolumeChange?.(L),ql(re),Ze?(V.setMuted(!1),Oe&&r?.onUnmute?.(),xo(!1)):!Ze&&L===0&&(V.setMuted(!0),Oe&&r?.onMute?.(),xo(!0))},fi=(L,re=!1)=>{const Te=!re,Oe=V.info.volume$.getValue();if(C({message:`set muted, currentVolume: ${Oe}, mute: ${L}, internalCall: ${Te}`}),V.setMuted(L),M.setVolume(L?0:Oe),xo(L),Te&&(L?r?.onMute?.():r?.onUnmute?.()),Oe===0){let Ze=uu()??W.volumeDefault;Ze===0&&(Ze=W.volumeMinRestore,ql(Ze)),V.setVolume(Ze),M.setVolume(Ze),Te&&r?.onVolumeChange?.(Ze)}},qi=()=>{V.prepare()},Si=()=>{if(ee.assertNonNullable(st),!Ye(st.ui.controls.disabledControls$).has(ot.PLAY_BUTTON)){if(C({message:"toggle play"}),Ye(st.playerPhase)===Re.Ads){M.togglePlay();return}if(V.info.playbackState$.getValue()!==Qe.PlaybackState.PLAYING){if(V.info.isEnded$.getValue()){if(C({message:"toggle play, video ended, seek to 0"}),xe.next(),Je.next(at.SeekAction.REWIND),k){S?.();return}V.seekTime(0)}C({message:"toggle play, call player.play"}),V.play(),r?.onPlay?.()}else C({message:"toggle play, call player.pause"}),V.pause(),r?.onPause?.()}},di=L=>{C({message:`set quality, quality: ${L}`}),V.setAutoQuality(L===so.AUTO),L!==so.AUTO?(Sc(e,L),wt.set(L),V.setQuality(L)):cu()},Fe=L=>{C({message:`set trafficSavingEnabled, value: ${L}`}),V.setAutoQualityLimits({max:L?W.trafficSavingLimit:void 0}),Ec(L)},Pi=L=>{V.setPlaybackRate(L)},Ot=()=>{const L=Ye(wi),re=L.findIndex(({selected:Oe})=>Oe);if(re===L.length-1)return;const Te=L[re+1];Pi(Te.value)},Zt=()=>{const L=Ye(wi),re=L.findIndex(({selected:Oe})=>Oe);if(re===0)return;const Te=L[re-1];Pi(Te.value)},Ti=L=>{L&&L.value!==ct.value&&Le.next(L.isAuto?L.value+"_auto":L.value),kt.set(L)},ji=()=>{const L=Ye(At),re=Ye(kt),Te=Ye(ne);if(re?.value===ct.value){const Oe=L.filter(Ze=>Ze.value!==ct.value).find(Ze=>Ze.value===Te)||L[1];Ti(Oe??{...ct})}else Ti({...ct,selected:!1})},Ei=(L,re,Te=!0)=>{if(C({message:`seek to time, time: ${L}`}),Je.next(re),V.info.isLive$.getValue()){const Oe=V.info.duration$.getValue(),Ze=Math.min(0,Oe+L);V.seekTime(Ze,Te)}else{if(Ye(Lt))return;V.seekTime(vn(L),Te)}},ln=L=>{C({message:`seek to episode start time: ${L}`}),Ei(L,at.SeekAction.EPISODE,!0)},Gi=(L,re)=>{C({message:`seek to percent, percent: ${L}`});const Te=Math.round(Ye(ei)*L);Ei(Te,re,!1)},Ai=L=>{C({message:`seek external, time: ${L}`}),Je.next(at.SeekAction.UNKNOWN),V.seekTime(V.info.isLive$.getValue()?-L:L)},Ji=L=>{C({message:`set auto quality limitation. Max: ${L.max??"none"}. Min: ${L.min??"none"}`}),V.setAutoQualityLimits(L)},xi=L=>{C({message:`seek external to episode start time: ${L}`}),Ei(L,at.SeekAction.EPISODE,!0)},$i=L=>{C({message:`set playback rate to: ${L}`}),V.setPlaybackRate(L)},Ri=Be(void 0),Oi=Be(!1),mi=L=>{C({message:`start scrubbing, progress: ${L}`}),Oi.set(!0),$(L)},$=L=>{Ri.set(L)};let et,ni;const Yi=()=>{Ri.set(void 0),Oi.set(!1)},vt=()=>{clearTimeout(ni),clearTimeout(et),et=window.setTimeout(()=>{Yi()},500),ye?.removeEventListener("seeked",vt)},sn=L=>{C({message:`complete scrubbing, progress: ${L}`}),Gi(L,at.SeekAction.SLIDER),Ye(st.ui.isMobile)&&Ye(st.state.currentFormat$)===Qe.VideoFormat.HLS?(ye?.addEventListener("seeked",vt),ni=window.setTimeout(()=>{vt()},300)):Yi()},un=oi([_t,ei,Ri],([L,re,Te],Oe)=>{Oe(ee.isNonNullable(Te)?Te*re:L)}),en=Be({width:0,height:0}),cn=oi([en],([{width:L}],re)=>{const Te=xd(L);re(Te)}),tn=Be(!1),J=oi([cn,tn],([L,re])=>re?z.filter(Te=>!Te.hideOnMobile):z.filter(Te=>!Te.hideOnDesktopGridTypes?.includes(L))),G=oi([tn,Ae],([L,re],Te)=>{Te(L&&re)}),hn=()=>{Je.next(at.SeekAction.LIVE),C({message:"switch to active live"}),V.seekTime(0),V.info.playbackState$.getValue()!==Qe.PlaybackState.PLAYING&&st.actions.internal.togglePlay()},Ln=()=>M.skip(),In=(L=!0)=>{ee.assertNonNullable(st),C({message:`switch from ads to video, callPlay: ${L}`}),Ce.set(Re.Video),L&&V.play()},Un=()=>{ee.assertNonNullable(st),C({message:"switch from video to ads"}),st.actions.internal.pause(),$e(),Ce.set(Re.Ads)},qn=L=>{ee.assertNonNullable(st);const re=L?Re.WaitingLive:Re.Thumb;Ce.set(re)},jn=L=>{ee.assertNonNullable(st);const re=L?Re.WaitingRecord:Re.Thumb;Ce.set(re)},Wn=()=>(ee.assertNonNullable(st),kc(V,se,st)),Zn=()=>(ee.assertNonNullable(st),yc(V,se,st)),Kn=()=>ye,Gn=()=>{C({message:"toggle chromecast"}),V.toggleChromecast()},Rn=L=>{ee.assertNonNullable(st);const re=!L;if(Ye(st.playerPhase)===Re.Ads){C({message:`pause ads, internalCall: ${re}`}),M.pause();return}C({message:`pause video, internalCall: ${re}`}),re&&r?.onPause?.(),V.pause()},mo=L=>{ee.assertNonNullable(st);const re=!L;if(Ye(st.playerPhase)===Re.Ads){C({message:`play ads, internalCall: ${re}`}),M.play();return}C({message:`play video, internalCall: ${re}`}),re&&r?.onPlay?.(),V.play()},Yn=(L,re)=>{ee.assertNonNullable(st),C({message:`first start, show ads: ${L}, internalCall: ${!re}`}),L?Ce.set(Re.Ads):(Ce.set(Re.Video),re?V.play():st.actions.internal.togglePlay())},Qi=()=>(C({message:"getting time codes"}),c),On=()=>{const L=Qi();if(!L||[0,1].includes(L.length))return;const re=V.info.position$.getValue();return L.find(Te=>Te.time>re)},Vn=L=>{let re=L;re||(re=On()),re&&(C({message:"seek to next episode"}),Ei(re.time,at.SeekAction.EPISODE,!0))},Qn=()=>{const L=Qi();if(!L||[0,1].includes(L.length))return;const re=V.info.position$.getValue(),Te=L.findIndex(Ze=>Ze.time>re),Oe=Te===-1?L.length-2:Te-2;if(!(Oe<0))return L[Oe]},Xn=L=>{let re=L;re||(re=Qn()),re&&(C({message:"seek to prev episode"}),Ei(re.time,at.SeekAction.EPISODE,!0))},po=()=>(C({message:"getting preview thumbs data"}),f),Jn=async()=>{Y?.isActive()?await Y?.remove():await Y?.request()},ho=(L=-90)=>{Ie.update(re=>re+L)},_n=Be(v),Mn=oi([_n],([L=[]])=>{const re=[];for(let Te=0;Te<L.length;Te++){const{range:[Oe,Ze],subjects:zt}=L[Te];Te===0&&Oe!==0&&re.push({time:0,text:"",interactive:!1,completed:!0}),re.push({time:Oe/1e3,text:"",interactive:!0,completed:!zt.length}),Ze!==1/0&&re.push({time:Ze/1e3,text:"",interactive:!1,completed:!0})}return re}),xn=L=>{const re=Ye(_n);_n.set(re.map(Te=>({...Te,subjects:Te.subjects.filter(Oe=>Oe!==L)})))},q=Be(!1),Lt=oi([Wt,_n,q],([L,re,Te])=>{if(!k)return!1;if(Te)return!0;const Oe=L*1e3,Ze=re?.find(({range:[zt,Kt],subjects:St})=>zt<Oe&&Oe<Kt&&St.length);return Ze&&Ye(Oi)&&Yi(),!!Ze}),vn=L=>{if(!k)return L;const re=Ye(Mn),Te=Ye(ei),Ze=Ye(Wt)/Te,zt=re.find(Kt=>Kt.interactive&&!Kt.completed&&Kt.time>Ze);return typeof zt?.time=="number"?Math.min(L,zt.time-.05):L},wn=()=>{st.ui.episodes.panelOpened$.set(!1)},$n=()=>{clearTimeout(ni),clearTimeout(et),ht.unsubscribe(),rt.unsubscribe(),V.destroy(),M.destroy(),ie?.destroy(),R?.destroy(),he.unsubscribe()},st={interfaceLanguage$:ne,initVideo:x,videoId:e,isClip:i,playerPhase:ue,vsid:X,state:{positionExact$:_t,positionWithScrubbing$:un,duration$:ei,playbackState$:yt,isPlaying$:si,isLoaderVisible:bi,bufferedProgress$:Mi,isLive$:Tt,canChangePlaybackSpeed$:zi,isActiveLive$:ti,isOldestAvailableLive$:jt,isRewindableLive$:Bt,isEnded$:mt,muted$:Wi,volume$:Li,trafficSavingEnabled$:xt,autoQualityLimitingAvailable$:Di,currentQuality$:ri,isAutoQualityEnabled$:vi,availableQualities$:ai,currentPlaybackRate$:Nt,availablePlaybackRates$:wi,currentSubtitle$:kt,availableSubtitlesList$:At,currentSubtitleCaptions$:yi,isAutoSubtitleCaptionVisible$:Ki,chromecastState$:Ut,chromecastDeviceName$:hi,chromecastConnected$:bt,currentFormat$:Et,throughputEstimation$:li,videoBitrate$:Mt,videoSize$:Ii,errorLog$:Ee,crashed$:Ae,isAudioAvailable$:qt,isAudioDisabled:!!s,canDownload:W.features.download&&!!l,availableSources$:Bi,hasMpegSources$:ui,isInteractive:k,isInteractiveGraphEnabled:W.features.interactiveGraph,isSeekToInteractiveEnable:W.features.seekToInteractive,isPlayPrevChapterEnabled:W.features.interactivePlayPrevChapter,interactiveEpisodes$:Mn,isInteractiveTime$:Lt,graphIsOpened$:Be(!1),isInteractiveExpectation$:q,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:w},ui:{controlsVisible:Be(!1),touched:Be(!1),controls:{prevButton:Be(void 0),playButton:Be(void 0),replayButton:Be(void 0),nextButton:Be(void 0),playPrevChapterButton:Be(void 0),seekToInteractiveButton:Be(void 0),interactiveGraphButton:Be(void 0),liveButton:Be(void 0),time:Be(void 0),episodes:Be(void 0),volume:Be(void 0),subtitles:Be(void 0),settings:Be(void 0),context:Be(void 0),chromecast:Be(void 0),pip:Be(void 0),fullscreen:Be(void 0),vkLogo:Be(void 0),additionalButtons:z.length?z.reduce(L=>[...L,Be(void 0)],[]):[],disabledControls$:_e},modals:{hotKeyMap:{show:Be(!1),data:Be({title:"",closeBtnText:"",groups:[]})}},isFullscreen:ce,rotateAlpha:Ie,isAutoplay:Be(!1),contextMenuVisible:Be(!1),debugPanelVisible:Be(!1),episodes:{panelOpened$:Be(!1),openedByKeyboard$:Be(!1)},contextMenu:{btnRef$:Be(void 0),openedByKeyboard$:Be(!1),showContextMenuBtn$:Be(!1)},playerSize:en,isMobile:tn,mobileNotReportControlHidden$:G,mobileUnmuteButtonExpanded:Be(!1),mobileUnmuteButtonVisible:Be(!1),icon3DVideoVisible:Be(!1),settingsMenuVisible:Be(!1),settingsMenuOpenedByKeyboard:Be(!1),scrubbingInProgress:Oi,is3DVideo:Be(!1),isPictureInPictureActive$:nt,pictureInPictureType$:gn(ae),clientInfo$:gn(ve),currentGridType$:cn,additionalButtons$:J,interactiveHideMobileControls:Be(!1),overlayContainer$:Be(void 0)},ads:{position:Be(0),duration:Be(0),playbackState:Be(Yt.INACTIVE),canSkip:Be(!1),secondsToWatchBeforeSkip:Be(0),postrollPassed:Be(!1)},webApi:{pictureInPictureApi:Y,annotationsApi:le},actions:{internal:{preload:qi,firstStart:L=>Yn(L,!1),pause:()=>Rn(!1),togglePlay:Si,toggleMuted:Ci,toggleSettingsMenu:Ui,openSettingsMenu:Ne,closeSettingsMenu:ci,setVolume:Ni,setQuality:di,setTrafficSavingEnabled:L=>Fe(L),setPlaybackRate:Pi,incrementPlaybackRate:Ot,decrementPlaybackRate:Zt,setSubtitle:Ti,toggleSubtitle:ji,togglePictureInPicture:Jn,startScrubbing:mi,progressScrubbing:$,completeScrubbing:sn,toggleChromecast:Gn,switchToActiveLive:hn,switchFromAdsToVideo:In,switchFromVideoToAds:Un,skipAd:Ln,setWaitingLive:qn,setWaitingRecord:jn,getDebugTextData:Wn,getDebugPanelData:Zn,getVideoElement:Kn,seekTime:(L,re,Te)=>Ei(L,re,Te),clearDelayedBufferingCheckTimeout:_i,seekEpisodeStartTime:ln,seekToPercent:Gi,getNextEpisode:On,seekToNextEpisode:Vn,getPrevEpisode:Qn,seekToPrevEpisode:Xn,startLogging:Pe,stopLogging:gt,startCameraManualRotation:ut,stopCameraManualRotation:Xt,moveCameraFocusPX:Jt,holdCamera:Vt,releaseCamera:fe,getVideoEpisodes:Qi,getPreviewThumbsData:po,downloadVideo:Hi,addLanguage:jl,setLanguage:A,nextMovie:Ue,videoRotate:ho,completeInteractiveRange:xn,correctSeekTimeToInteractive:vn,replayInteractive:S},external:{firstStart:L=>Yn(L,!0),play:()=>mo(!0),pause:()=>Rn(!0),seekTime:L=>Ai(L),seekEpisodeStartTime:L=>xi(L),setPlaybackRate:L=>$i(L),setAutoQualityLimits:L=>Ji(L),setMuted:L=>fi(L,!0),setVolume:L=>Ni(L,L,!0),returnFocusToEpisodes:wn}},callbacks:r,setUiCallbacks:L=>{pe={...L}},getAdmanWrapper:()=>M,getLogger:()=>te,destroy:$n};return st},l1=(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})}};function b4(t){let e,i;return e=new Cl({props:{isMobile:!0}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p:j,i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _4(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],$$slots:{default:[b4]},$$scope:{ctx:t}};return t[2]!==void 0&&(s.ref=t[2]),e=new pi({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.className=l[3]?"opened":""),r&1&&(a.disabled=l[0]),r&2&&(a.ariaLabel=l[1]),r&8192&&(a.$$scope={dirty:r,ctx:l}),!i&&r&4&&(i=!0,a.ref=l[2],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function v4(t,e,i){let n,{disabled:o=!1}=e,{ariaLabel:s=""}=e;const l=pt(),r=l.ui.contextMenuVisible;D(t,r,v=>i(3,n=v));const a=l.ui.contextMenu.openedByKeyboard$,c=l.ui.contextMenu.showContextMenuBtn$,f=l.ui.contextMenu.btnRef$,m=v=>{const S=vl(v);a.set(S),r.set(!n)};let h;const _=()=>{c.set(!0)},b=()=>{c.set(!1)};function k(v){h=v,i(2,h)}return t.$$set=v=>{"disabled"in v&&i(0,o=v.disabled),"ariaLabel"in v&&i(1,s=v.ariaLabel)},t.$$.update=()=>{t.$$.dirty&4&&h&&f.set(h)},[o,s,h,n,r,m,_,b,k]}class w4 extends ke{constructor(e){super(),we(this,e,v4,_4,be,{disabled:0,ariaLabel:1})}}function k4(t){He(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 or(t,e,i){const n=t.slice();return n[201]=e[i].iconUrl,n[202]=e[i].ariaLabel,n[203]=e[i].testId,n[204]=e[i].onClick,n[205]=e[i].tooltip,n}function lr(t){let e,i,n;function o(l){t[168](l)}let s={disabled:!t[9],tooltipContent:K("tooltip_previous"),$$slots:{default:[y4]},$$scope:{ctx:t}};return t[23].prevButton!==void 0&&(s.ref=t[23].prevButton),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&512&&(a.disabled=!l[9]),r[0]&4608|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].prevButton,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function y4(t){let e,i;return e=new Go({props:{click:t[12],type:"prev",disabled:!t[9],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&4096&&(s.click=n[12]),o[0]&512&&(s.disabled=!n[9]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function sr(t){let e,i,n;function o(l){t[169](l)}let s={disabled:t[73],tooltipContent:K("tooltip_restart"),$$slots:{default:[C4]},$$scope:{ctx:t}};return t[23].replayButton!==void 0&&(s.ref=t[23].replayButton),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[2]&2048&&(a.disabled=l[73]),r[2]&2048|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].replayButton,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function C4(t){let e,i;return e=new Al({props:{click:t[125],disabled:t[73]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[2]&2048&&(s.disabled=n[73]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function rr(t){let e,i,n;function o(l){t[170](l)}let s={tooltipContent:t[46],disabled:t[74],$$slots:{default:[S4]},$$scope:{ctx:t}};return t[23].playButton!==void 0&&(s.ref=t[23].playButton),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&32768&&(a.tooltipContent=l[46]),r[2]&4096&&(a.disabled=l[74]),r[1]&4|r[2]&4096|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].playButton,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function S4(t){let e,i;return e=new El({props:{isMobile:!1,isPlaying:t[33],click:t[85],disabled:t[74]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[1]&4&&(s.isPlaying=n[33]),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){H(e,n)}}}function ar(t){let e,i,n;function o(l){t[171](l)}let s={disabled:!t[8],tooltipContent:K("tooltip_next"),$$slots:{default:[P4]},$$scope:{ctx:t}};return t[23].nextButton!==void 0&&(s.ref=t[23].nextButton),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&256&&(a.disabled=!l[8]),r[0]&2304|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].nextButton,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function P4(t){let e,i;return e=new Go({props:{click:t[11],type:"next",disabled:!t[8],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&2048&&(s.click=n[11]),o[0]&256&&(s.disabled=!n[8]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function T4(t){let e,i,n,o,s=t[119]&&E4(t),l=t[118]&&L4(t),r=t[117]&&V4(t);return{c(){s&&s.c(),e=O(),l&&l.c(),i=O(),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[119]&&s.p(a,c),a[118]&&l.p(a,c),a[117]&&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&&(P(e),P(i),P(n)),s&&s.d(a),l&&l.d(a),r&&r.d(a)}}}function E4(t){let e,i,n;function o(l){t[172](l)}let s={disabled:t[72],tooltipContent:K("tooltip_interactive_go_back"),disabledTooltipContent:K(t[121]),$$slots:{default:[A4]},$$scope:{ctx:t}};return t[23].playPrevChapterButton!==void 0&&(s.ref=t[23].playPrevChapterButton),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[2]&1024&&(a.disabled=l[72]),r[0]&131072|r[2]&1024|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].playPrevChapterButton,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function A4(t){let e,i;return e=new $u({props:{disabled:t[72],click:t[17]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[2]&1024&&(s.disabled=n[72]),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){H(e,n)}}}function L4(t){let e,i,n;function o(l){t[173](l)}let s={disabled:t[75],tooltipContent:K("tooltip_interactive_seek"),disabledTooltipContent:K(t[78]),$$slots:{default:[I4]},$$scope:{ctx:t}};return t[23].seekToInteractiveButton!==void 0&&(s.ref=t[23].seekToInteractiveButton),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[2]&8192&&(a.disabled=l[75]),r[2]&65536&&(a.disabledTooltipContent=K(l[78])),r[0]&32768|r[2]&8192|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].seekToInteractiveButton,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function I4(t){let e,i;return e=new Xu({props:{disabled:t[75],click:t[15]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[2]&8192&&(s.disabled=n[75]),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){H(e,n)}}}function V4(t){let e,i,n;function o(l){t[174](l)}let s={tooltipContent:t[47],disabled:t[76],$$slots:{default:[M4]},$$scope:{ctx:t}};return t[23].interactiveGraphButton!==void 0&&(s.ref=t[23].interactiveGraphButton),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.tooltipContent=l[47]),r[2]&16384&&(a.disabled=l[76]),r[0]&1073807360|r[2]&16384|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].interactiveGraphButton,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function M4(t){let e,i;return e=new Ju({props:{click:t[16],graphIsOpened:t[30],disabled:t[76]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&65536&&(s.click=n[16]),o[0]&1073741824&&(s.graphIsOpened=n[30]),o[2]&16384&&(s.disabled=n[76]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ur(t){let e,i,n;function o(l){t[175](l)}let s={tooltipContent:t[49],$$slots:{default:[B4]},$$scope:{ctx:t}};return t[23].liveButton!==void 0&&(s.ref=t[23].liveButton),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&262144&&(a.tooltipContent=l[49]),r[0]&2097152|r[1]&262144|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].liveButton,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function B4(t){let e,i;return e=new Zu({props:{isActiveLive:t[21],isMobile:!1,ariaLabel:t[49]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.isActiveLive=n[21]),o[1]&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){H(e,n)}}}function cr(t){let e,i,n;function o(l){t[176](l)}let s={isMobile:!1,showDuration:t[54],position:t[4]?t[79]:t[80],duration:t[4]?t[81]:t[82]};return t[23].time!==void 0&&(s.ref=t[23].time),e=new Du({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&8388608&&(a.showDuration=l[54]),r[0]&16|r[2]&393216&&(a.position=l[4]?l[79]:l[80]),r[0]&16|r[2]&1572864&&(a.duration=l[4]?l[81]:l[82]),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].time,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function fr(t){let e,i;return e=new Qu({props:{position:t[80],duration:t[82],timeCodes:t[101]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[2]&262144&&(s.position=n[80]),o[2]&1048576&&(s.duration=n[82]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function N4(t){let e,i,n=t[20]&&fr(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=fr(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(de(),g(n,1,1,()=>{n=null}),me())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&P(e),n&&n.d(o)}}}function R4(t){let e,i;return e=new e1({props:{iconUrl:t[201],ariaLabel:t[202]??t[205],testId:t[203],onClick:t[204]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&134217728&&(s.iconUrl=n[201]),o[0]&134217728&&(s.ariaLabel=n[202]??n[205]),o[0]&134217728&&(s.testId=n[203]),o[0]&134217728&&(s.onClick=n[204]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function dr(t){let e,i;return e=new It({props:{tooltipContent:t[205],width:40,$$slots:{default:[R4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&134217728&&(s.tooltipContent=n[205]),o[0]&134217728|o[6]&4194304&&(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){H(e,n)}}}function mr(t){let e,i,n;function o(l){t[179](l)}let s={disabled:!t[6],tooltipContent:t[50],$$slots:{default:[O4]},$$scope:{ctx:t}};return t[23].vkLogo!==void 0&&(s.ref=t[23].vkLogo),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.disabled=!l[6]),r[1]&524288&&(a.tooltipContent=l[50]),r[0]&192|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].vkLogo,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function O4(t){let e,i;return e=new ju({props:{click:t[86],logoClickable:t[6],videoLogoUrl:t[7]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&64&&(s.logoClickable=n[6]),o[0]&128&&(s.videoLogoUrl=n[7]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function z4(t){let e,i;return e=new o2({props:{isAudioAvailable:t[77],click:t[124]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[2]&32768&&(s.isAudioAvailable=n[77]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function pr(t){let e,i,n;function o(l){t[181](l)}let s={tooltipContent:t[51],$$slots:{default:[D4]},$$scope:{ctx:t}};return t[23].subtitles!==void 0&&(s.ref=t[23].subtitles),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&1048576&&(a.tooltipContent=l[51]),r[0]&262144|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].subtitles,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function D4(t){let e,i;return e=new pd({props:{isSubtitlesEnabled:t[18],click:t[87]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&262144&&(s.isSubtitlesEnabled=n[18]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function hr(t){let e,i,n,o;function s(r){t[182](r)}let l={supportLink:t[10],playerControlsHeight:t[45]?.clientHeight,returnFocus:t[14]};return t[24]!==void 0&&(l.ref=t[24]),i=new zu({props:l}),Se.push(()=>je(i,"ref",s)),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[0]&1024&&(c.supportLink=r[10]),a[1]&16384&&(c.playerControlsHeight=r[45]?.clientHeight),a[0]&16384&&(c.returnFocus=r[14]),!n&&a[0]&16777216&&(n=!0,c.ref=r[24],qe(()=>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&&P(e),H(i)}}}function gr(t){let e,i,n;function o(l){t[184](l)}let s={tooltipContent:t[26]?void 0:K("tooltip_settings_off"),$$slots:{default:[F4]},$$scope:{ctx:t}};return t[23].settings!==void 0&&(s.ref=t[23].settings),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&67108864&&(a.tooltipContent=l[26]?void 0:K("tooltip_settings_off")),r[0]&33554432|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].settings,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function F4(t){let e,i,n;function o(l){t[183](l)}let s={};return t[25]!==void 0&&(s.ref=t[25]),e=new Sl({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&33554432&&(i=!0,a.ref=l[25],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function H4(t){let e,i,n;function o(l){t[185](l)}let s={className:t[40]?"":"out-of-view",tooltipContent:t[48],$$slots:{default:[U4]},$$scope:{ctx:t}};return t[23].context!==void 0&&(s.ref=t[23].context),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&512&&(a.className=l[40]?"":"out-of-view"),r[1]&131072&&(a.tooltipContent=l[48]),r[1]&131072|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].context,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function U4(t){let e,i;return e=new w4({props:{ariaLabel:t[48]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[1]&131072&&(s.ariaLabel=n[48]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function br(t){let e,i,n;function o(l){t[186](l)}let s={tooltipContent:t[52],$$slots:{default:[q4]},$$scope:{ctx:t}};return t[23].fullscreen!==void 0&&(s.ref=t[23].fullscreen),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&2097152&&(a.tooltipContent=l[52]),r[0]&536879104|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].fullscreen,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function q4(t){let e,i;return e=new Uu({props:{click:t[13],isFullscreen:t[29]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&8192&&(s.click=n[13]),o[0]&536870912&&(s.isFullscreen=n[29]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _r(t){let e,i,n;function o(l){t[187](l)}let s={tooltipContent:t[53],$$slots:{default:[j4]},$$scope:{ctx:t}};return t[23].chromecast!==void 0&&(s.ref=t[23].chromecast),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&4194304&&(a.tooltipContent=l[53]),r[0]&268435456|r[6]&4194304&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].chromecast,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function j4(t){let e,i;return e=new Wu({props:{isMobile:!1,state:t[28],click:t[123]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&268435456&&(s.state=n[28]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function W4(t){let e,i,n,o,s,l,r,a,c,f,m,h,_,b,k,v,S,y,w,z,oe,I,W,V,te,M,ie,R;i=new Yu({props:{isHidden:!t[44],isAds:t[4],canRewindLive:t[5],isRewindableLive:t[31]}});let Y=t[37]&&lr(t),le=t[34]&&sr(t),C=t[35]&&rr(t),se=t[36]&&ar(t),ye=t[116]&&T4(t),pe=!t[4]&&t[32]&&ur(t),ve=t[19]&&cr(t);function X(x){t[177](x)}let ce={className:"w-max",disabled:!t[20],tooltipContent:K("tooltip_episodes"),$$slots:{default:[N4]},$$scope:{ctx:t}};t[23].episodes!==void 0&&(ce.ref=t[23].episodes),_=new It({props:ce}),Se.push(()=>je(_,"ref",X));let De=Dt(t[27]),ae=[];for(let x=0;x<De.length;x+=1)ae[x]=dr(or(t,De,x));const Ie=x=>g(ae[x],1,1,()=>{ae[x]=null});let Ee=t[42]&&mr(t);function he(x){t[180](x)}let Ae={$$slots:{default:[z4]},$$scope:{ctx:t}};t[23].volume!==void 0&&(Ae.ref=t[23].volume),z=new It({props:Ae}),Se.push(()=>je(z,"ref",he));let A=t[39]&&pr(t),ne=!t[83]&&!t[4]&&hr(t),Me=t[41]&&gr(t),Ce=t[84].features.contextMenuButton&&H4(t),ue=t[43]&&br(t),_e=t[38]&&_r(t);return{c(){e=T("div"),U(i.$$.fragment),n=O(),o=T("div"),s=T("div"),Y&&Y.c(),l=O(),le&&le.c(),r=O(),C&&C.c(),a=O(),se&&se.c(),c=O(),ye&&ye.c(),f=O(),pe&&pe.c(),m=O(),ve&&ve.c(),h=O(),U(_.$$.fragment),v=O(),S=T("div");for(let x=0;x<ae.length;x+=1)ae[x].c();y=O(),Ee&&Ee.c(),w=O(),U(z.$$.fragment),I=O(),A&&A.c(),W=O(),ne&&ne.c(),V=O(),Me&&Me.c(),te=O(),Ce&&Ce.c(),M=O(),ue&&ue.c(),ie=O(),_e&&_e.c(),u(s,"class","controls-left v-st0uzk"),ao(()=>t[178].call(s)),u(S,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),B(e,"hidden",t[1]),B(e,"controls-hidden",!t[3]),B(e,"no-smooth",t[2])},m(x,Q){E(x,e,Q),F(i,e,null),p(e,n),p(e,o),p(o,s),Y&&Y.m(s,null),p(s,l),le&&le.m(s,null),p(s,r),C&&C.m(s,null),p(s,a),se&&se.m(s,null),p(s,c),ye&&ye.m(s,null),p(s,f),pe&&pe.m(s,null),p(s,m),ve&&ve.m(s,null),p(s,h),F(_,s,null),k=ml(s,t[178].bind(s)),p(o,v),p(o,S);for(let Ue=0;Ue<ae.length;Ue+=1)ae[Ue]&&ae[Ue].m(S,null);p(S,y),Ee&&Ee.m(S,null),p(S,w),F(z,S,null),p(S,I),A&&A.m(S,null),p(S,W),ne&&ne.m(S,null),p(S,V),Me&&Me.m(S,null),p(S,te),Ce&&Ce.m(S,null),p(S,M),ue&&ue.m(S,null),p(S,ie),_e&&_e.m(S,null),t[188](o),t[189](e),R=!0},p(x,Q){const Ue={};Q[1]&8192&&(Ue.isHidden=!x[44]),Q[0]&16&&(Ue.isAds=x[4]),Q[0]&32&&(Ue.canRewindLive=x[5]),Q[1]&1&&(Ue.isRewindableLive=x[31]),i.$set(Ue),x[37]?Y?(Y.p(x,Q),Q[1]&64&&d(Y,1)):(Y=lr(x),Y.c(),d(Y,1),Y.m(s,l)):Y&&(de(),g(Y,1,1,()=>{Y=null}),me()),x[34]?le?(le.p(x,Q),Q[1]&8&&d(le,1)):(le=sr(x),le.c(),d(le,1),le.m(s,r)):le&&(de(),g(le,1,1,()=>{le=null}),me()),x[35]?C?(C.p(x,Q),Q[1]&16&&d(C,1)):(C=rr(x),C.c(),d(C,1),C.m(s,a)):C&&(de(),g(C,1,1,()=>{C=null}),me()),x[36]?se?(se.p(x,Q),Q[1]&32&&d(se,1)):(se=ar(x),se.c(),d(se,1),se.m(s,c)):se&&(de(),g(se,1,1,()=>{se=null}),me()),x[116]&&ye.p(x,Q),!x[4]&&x[32]?pe?(pe.p(x,Q),Q[0]&16|Q[1]&2&&d(pe,1)):(pe=ur(x),pe.c(),d(pe,1),pe.m(s,m)):pe&&(de(),g(pe,1,1,()=>{pe=null}),me()),x[19]?ve?(ve.p(x,Q),Q[0]&524288&&d(ve,1)):(ve=cr(x),ve.c(),d(ve,1),ve.m(s,h)):ve&&(de(),g(ve,1,1,()=>{ve=null}),me());const xe={};if(Q[0]&1048576&&(xe.disabled=!x[20]),Q[0]&1048576|Q[2]&1310720|Q[6]&4194304&&(xe.$$scope={dirty:Q,ctx:x}),!b&&Q[0]&8388608&&(b=!0,xe.ref=x[23].episodes,qe(()=>b=!1)),_.$set(xe),Q[0]&134217728){De=Dt(x[27]);let Le;for(Le=0;Le<De.length;Le+=1){const We=or(x,De,Le);ae[Le]?(ae[Le].p(We,Q),d(ae[Le],1)):(ae[Le]=dr(We),ae[Le].c(),d(ae[Le],1),ae[Le].m(S,y))}for(de(),Le=De.length;Le<ae.length;Le+=1)Ie(Le);me()}x[42]?Ee?(Ee.p(x,Q),Q[1]&2048&&d(Ee,1)):(Ee=mr(x),Ee.c(),d(Ee,1),Ee.m(S,w)):Ee&&(de(),g(Ee,1,1,()=>{Ee=null}),me());const Je={};Q[2]&32768|Q[6]&4194304&&(Je.$$scope={dirty:Q,ctx:x}),!oe&&Q[0]&8388608&&(oe=!0,Je.ref=x[23].volume,qe(()=>oe=!1)),z.$set(Je),x[39]?A?(A.p(x,Q),Q[1]&256&&d(A,1)):(A=pr(x),A.c(),d(A,1),A.m(S,W)):A&&(de(),g(A,1,1,()=>{A=null}),me()),!x[83]&&!x[4]?ne?(ne.p(x,Q),Q[0]&16|Q[2]&2097152&&d(ne,1)):(ne=hr(x),ne.c(),d(ne,1),ne.m(S,V)):ne&&(de(),g(ne,1,1,()=>{ne=null}),me()),x[41]?Me?(Me.p(x,Q),Q[1]&1024&&d(Me,1)):(Me=gr(x),Me.c(),d(Me,1),Me.m(S,te)):Me&&(de(),g(Me,1,1,()=>{Me=null}),me()),x[84].features.contextMenuButton&&Ce.p(x,Q),x[43]?ue?(ue.p(x,Q),Q[1]&4096&&d(ue,1)):(ue=br(x),ue.c(),d(ue,1),ue.m(S,ie)):ue&&(de(),g(ue,1,1,()=>{ue=null}),me()),x[38]?_e?(_e.p(x,Q),Q[1]&128&&d(_e,1)):(_e=_r(x),_e.c(),d(_e,1),_e.m(S,null)):_e&&(de(),g(_e,1,1,()=>{_e=null}),me()),(!R||Q[0]&2)&&B(e,"hidden",x[1]),(!R||Q[0]&8)&&B(e,"controls-hidden",!x[3]),(!R||Q[0]&4)&&B(e,"no-smooth",x[2])},i(x){if(!R){d(i.$$.fragment,x),d(Y),d(le),d(C),d(se),d(ye),d(pe),d(ve),d(_.$$.fragment,x);for(let Q=0;Q<De.length;Q+=1)d(ae[Q]);d(Ee),d(z.$$.fragment,x),d(A),d(ne),d(Me),d(Ce),d(ue),d(_e),R=!0}},o(x){g(i.$$.fragment,x),g(Y),g(le),g(C),g(se),g(ye),g(pe),g(ve),g(_.$$.fragment,x),ae=ae.filter(Boolean);for(let Q=0;Q<ae.length;Q+=1)g(ae[Q]);g(Ee),g(z.$$.fragment,x),g(A),g(ne),g(Me),g(Ce),g(ue),g(_e),R=!1},d(x){x&&P(e),H(i),Y&&Y.d(),le&&le.d(),C&&C.d(),se&&se.d(),ye&&ye.d(),pe&&pe.d(),ve&&ve.d(),H(_),k(),pn(ae,x),Ee&&Ee.d(),H(z),A&&A.d(),ne&&ne.d(),Me&&Me.d(),Ce&&Ce.d(),ue&&ue.d(),_e&&_e.d(),t[188](null),t[189](null)}}}function Z4(t,e,i){let n,o,s,l,r,a,c,f,m,h,_,b,k,v,S,y,w,z,oe,I,W,V,te,M,ie,R,Y,le,C,se,ye=j,pe=()=>(ye(),ye=Gt(te,Z=>i(139,se=Z)),te),ve,X=j,ce=()=>(X(),X=Gt(V,Z=>i(140,ve=Z)),V),De,ae=j,Ie=()=>(ae(),ae=Gt(W,Z=>i(141,De=Z)),W),Ee,he=j,Ae=()=>(he(),he=Gt(I,Z=>i(142,Ee=Z)),I),A,ne=j,Me=()=>(ne(),ne=Gt(oe,Z=>i(143,A=Z)),oe),Ce,ue=j,_e=()=>(ue(),ue=Gt(z,Z=>i(144,Ce=Z)),z),x,Q=j,Ue=()=>(Q(),Q=Gt(w,Z=>i(145,x=Z)),w),xe,Je=j,Le=()=>(Je(),Je=Gt(y,Z=>i(146,xe=Z)),y),We,$e=j,ht=()=>($e(),$e=Gt(S,Z=>i(147,We=Z)),S),rt,Pe=j,gt=()=>(Pe(),Pe=Gt(v,Z=>i(148,rt=Z)),v),ut,Xt=j,Jt=()=>(Xt(),Xt=Gt(k,Z=>i(149,ut=Z)),k),Vt,fe=j,_t=()=>(fe(),fe=Gt(b,Z=>i(150,Vt=Z)),b),nt,yt=j,dt=()=>(yt(),yt=Gt(_,Z=>i(151,nt=Z)),_),mt,Tt=j,zi=()=>(Tt(),Tt=Gt(h,Z=>i(152,mt=Z)),h),Ft,Li=j,Wi=()=>(Li(),Li=Gt(m,Z=>i(153,Ft=Z)),m),xt,Di=j,Zi=()=>(Di(),Di=Gt(f,Z=>i(154,xt=Z)),f),Ht,Ut=j,hi=()=>(Ut(),Ut=Gt(c,Z=>i(155,Ht=Z)),c),Et,li,Mt,Ii,gi,qt,Ct,$t,bi,_i,ei,si,ti,jt,Wt,Bt,bt,wt,vi,Vi,ri,ai,Nt;t.$$.on_destroy.push(()=>ye()),t.$$.on_destroy.push(()=>X()),t.$$.on_destroy.push(()=>ae()),t.$$.on_destroy.push(()=>he()),t.$$.on_destroy.push(()=>ne()),t.$$.on_destroy.push(()=>ue()),t.$$.on_destroy.push(()=>Q()),t.$$.on_destroy.push(()=>Je()),t.$$.on_destroy.push(()=>$e()),t.$$.on_destroy.push(()=>Pe()),t.$$.on_destroy.push(()=>Xt()),t.$$.on_destroy.push(()=>fe()),t.$$.on_destroy.push(()=>yt()),t.$$.on_destroy.push(()=>Tt()),t.$$.on_destroy.push(()=>Li()),t.$$.on_destroy.push(()=>Di()),t.$$.on_destroy.push(()=>Ut());let{bottomHidden:wi}=e,{bottomNoSmooth:ii}=e,{showControls:ki}=e,{controlsElementRef:ct=void 0}=e,{isAds:kt=!1}=e,{canRewindLive:At}=e,{logoClickable:Fi}=e,{logoHidden:yi}=e,{videoLogoUrl:Ki}=e,{showNextPrevButtons:Mi}=e,{nextButtonActive:Bi}=e,{prevButtonActive:ui}=e,{isOneVideoPlaylist:Rt=!1}=e,{supportLink:Hi}=e,{customFullscreenSupported:Ci=!0}=e,{playNextVideo:ci}=e,{playPrevVideo:Ne}=e,{repeatPlaylist:Ui}=e,{toggleFullscreen:Ni}=e,{returnFocus:fi}=e,{seekToInteractive:qi}=e,{toggleGraph:Si}=e,{playPrevChapter:di}=e;const Fe=pt(),Pi=hl(),Ot=on(),Zt=Fe.actions.internal.toggleMuted,Ti=Fe.actions.internal.togglePlay,ji=Fe.actions.internal.pause,Ei=Fe.actions.internal.toggleSubtitle,ln=Fe.callbacks?.onAudioDoesNotExistHint,Gi=Fe.callbacks?.onAudioDisabledHint,Ai=Fe.state.duration$;D(t,Ai,Z=>i(82,ai=Z));const Ji=Fe.state.positionWithScrubbing$;D(t,Ji,Z=>i(80,Vi=Z));const xi=Fe.state.playbackState$;D(t,xi,Z=>i(156,Mt=Z));const $i=Fe.state.chromecastConnected$;D(t,$i,Z=>i(83,Nt=Z));const Ri=Fe.state.isAudioAvailable$;D(t,Ri,Z=>i(77,M=Z));const Oi=Fe.state.isAudioDisabled,mi=Fe.state.isEnded$;D(t,mi,Z=>i(164,jt=Z));const $=Fe.state.isLive$;D(t,$,Z=>i(32,$t=Z));const et=Fe.state.isActiveLive$;D(t,et,Z=>i(158,qt=Z));const ni=Fe.state.isRewindableLive$;D(t,ni,Z=>i(31,Ct=Z));const Yi=Fe.ui.isPictureInPictureActive$;D(t,Yi,Z=>i(160,_i=Z));const vt=Fe.ui.pictureInPictureType$;D(t,vt,Z=>i(159,bi=Z));const sn=Fe.ui.settingsMenuVisible;D(t,sn,Z=>i(26,R=Z));const un=Fe.ui.settingsMenuOpenedByKeyboard;D(t,un,Z=>i(136,ie=Z));const en=Fe.ui.controls,cn=Fe.actions.internal.getVideoEpisodes(),tn=Fe.state.chromecastState$;D(t,tn,Z=>i(28,Et=Z));const J=Fe.state.availableSubtitlesList$;D(t,J,Z=>i(163,ti=Z));const G=Fe.state.currentSubtitle$;D(t,G,Z=>i(165,Wt=Z));const hn=en.disabledControls$;D(t,hn,Z=>i(167,bt=Z));const Ln=Fe.ui.contextMenuVisible;D(t,Ln,Z=>i(157,Ii=Z));const In=Fe.ui.contextMenu.showContextMenuBtn$;D(t,In,Z=>i(161,ei=Z));const Un=Fe.ui.contextMenu.openedByKeyboard$;D(t,Un,Z=>i(162,si=Z));const qn=Fe.ads.duration;D(t,qn,Z=>i(81,ri=Z));const jn=Fe.ads.position;D(t,jn,Z=>i(79,vi=Z));const Wn=Fe.ads.playbackState;D(t,Wn,Z=>i(166,Bt=Z));const Zn=Fe.ui.isFullscreen;D(t,Zn,Z=>i(29,li=Z));const Kn=Fe.ui.playerSize;D(t,Kn,Z=>i(137,Y=Z));const Gn=Fe.ui.currentGridType$;D(t,Gn,Z=>i(138,le=Z));const Rn=Fe.ui.additionalButtons$;D(t,Rn,Z=>i(27,C=Z));const mo=Fe.actions.internal.getVideoElement,Yn=Fe.actions.internal.replayInteractive,Qi=Fe.state.isInteractive,On=Fe.state.isInteractiveGraphEnabled,Vn=Fe.state.isSeekToInteractiveEnable,Qn=Fe.state.isPlayPrevChapterEnabled,Xn=Fe.state.graphIsOpened$;D(t,Xn,Z=>i(30,gi=Z));const po=Fe.state.playPrevChapterDisabledTooltip,Jn=Pi.seekToInteractiveDisabledTooltip$;D(t,Jn,Z=>i(78,wt=Z));const ho=()=>Fe.actions.internal.toggleChromecast();let _n,Mn,xn,q,Lt,vn,wn,$n,st,L,re,Te,Oe,Ze,zt,Kt,St,rn,zn,Po,go,Yo="";const v1=(Z,Xo)=>{if(!Z){i(49,Yo=K("tooltip_live"));return}Xo===Qe.PlaybackState.PAUSED&&i(49,Yo=K("tooltip_play"))};let Vl,Ml,Bl,Nl,To;const Ke={};let fn,bo,Qo,Rl;const w1=ee.throttleFn(l1,xa,{leading:!1});let Eo,Ao;function k1(){Oi?Gi?.():M?Zt():ln?.()}const y1=Qi?Yn:Rt?Ti:Ui;function C1(Z){t.$$.not_equal(Ke.prevButton,Z)&&(Ke.prevButton=Z,i(23,Ke))}function S1(Z){t.$$.not_equal(Ke.replayButton,Z)&&(Ke.replayButton=Z,i(23,Ke))}function P1(Z){t.$$.not_equal(Ke.playButton,Z)&&(Ke.playButton=Z,i(23,Ke))}function T1(Z){t.$$.not_equal(Ke.nextButton,Z)&&(Ke.nextButton=Z,i(23,Ke))}function E1(Z){t.$$.not_equal(Ke.playPrevChapterButton,Z)&&(Ke.playPrevChapterButton=Z,i(23,Ke))}function A1(Z){t.$$.not_equal(Ke.seekToInteractiveButton,Z)&&(Ke.seekToInteractiveButton=Z,i(23,Ke))}function L1(Z){t.$$.not_equal(Ke.interactiveGraphButton,Z)&&(Ke.interactiveGraphButton=Z,i(23,Ke))}function I1(Z){t.$$.not_equal(Ke.liveButton,Z)&&(Ke.liveButton=Z,i(23,Ke))}function V1(Z){t.$$.not_equal(Ke.time,Z)&&(Ke.time=Z,i(23,Ke))}function M1(Z){t.$$.not_equal(Ke.episodes,Z)&&(Ke.episodes=Z,i(23,Ke))}function B1(){To=this.clientWidth,i(22,To)}function N1(Z){t.$$.not_equal(Ke.vkLogo,Z)&&(Ke.vkLogo=Z,i(23,Ke))}function R1(Z){t.$$.not_equal(Ke.volume,Z)&&(Ke.volume=Z,i(23,Ke))}function O1(Z){t.$$.not_equal(Ke.subtitles,Z)&&(Ke.subtitles=Z,i(23,Ke))}function z1(Z){Eo=Z,i(24,Eo)}function D1(Z){Ao=Z,i(25,Ao)}function F1(Z){t.$$.not_equal(Ke.settings,Z)&&(Ke.settings=Z,i(23,Ke))}function H1(Z){t.$$.not_equal(Ke.context,Z)&&(Ke.context=Z,i(23,Ke))}function U1(Z){t.$$.not_equal(Ke.fullscreen,Z)&&(Ke.fullscreen=Z,i(23,Ke))}function q1(Z){t.$$.not_equal(Ke.chromecast,Z)&&(Ke.chromecast=Z,i(23,Ke))}function j1(Z){Se[Z?"unshift":"push"](()=>{St=Z,i(45,St)})}function W1(Z){Se[Z?"unshift":"push"](()=>{ct=Z,i(0,ct)})}return t.$$set=Z=>{"bottomHidden"in Z&&i(1,wi=Z.bottomHidden),"bottomNoSmooth"in Z&&i(2,ii=Z.bottomNoSmooth),"showControls"in Z&&i(3,ki=Z.showControls),"controlsElementRef"in Z&&i(0,ct=Z.controlsElementRef),"isAds"in Z&&i(4,kt=Z.isAds),"canRewindLive"in Z&&i(5,At=Z.canRewindLive),"logoClickable"in Z&&i(6,Fi=Z.logoClickable),"logoHidden"in Z&&i(126,yi=Z.logoHidden),"videoLogoUrl"in Z&&i(7,Ki=Z.videoLogoUrl),"showNextPrevButtons"in Z&&i(127,Mi=Z.showNextPrevButtons),"nextButtonActive"in Z&&i(8,Bi=Z.nextButtonActive),"prevButtonActive"in Z&&i(9,ui=Z.prevButtonActive),"isOneVideoPlaylist"in Z&&i(128,Rt=Z.isOneVideoPlaylist),"supportLink"in Z&&i(10,Hi=Z.supportLink),"customFullscreenSupported"in Z&&i(129,Ci=Z.customFullscreenSupported),"playNextVideo"in Z&&i(11,ci=Z.playNextVideo),"playPrevVideo"in Z&&i(12,Ne=Z.playPrevVideo),"repeatPlaylist"in Z&&i(130,Ui=Z.repeatPlaylist),"toggleFullscreen"in Z&&i(13,Ni=Z.toggleFullscreen),"returnFocus"in Z&&i(14,fi=Z.returnFocus),"seekToInteractive"in Z&&i(15,qi=Z.seekToInteractive),"toggleGraph"in Z&&i(16,Si=Z.toggleGraph),"playPrevChapter"in Z&&i(17,di=Z.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[5]&4096&&i(135,n=bt.has(ot.EPISODE_BUTTON)),t.$$.dirty[5]&4096&&i(76,o=bt.has(ot.GRAPH_BUTTON)),t.$$.dirty[5]&4096&&i(75,s=bt.has(ot.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[5]&4096&&i(74,l=bt.has(ot.PLAY_BUTTON)),t.$$.dirty[5]&4096&&i(73,r=bt.has(ot.REPLAY_BUTTON)),t.$$.dirty[5]&4096&&i(72,a=bt.has(ot.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[0]&16|t.$$.dirty[5]&2050&&i(33,_n=kt?Bt===Yt.PLAYING:Mt===Qe.PlaybackState.PLAYING),t.$$.dirty[5]&1024&&i(18,Mn=Wt.value!=="off"),t.$$.dirty[0]&16|t.$$.dirty[5]&512&&i(34,xn=jt&&!kt||Qi),t.$$.dirty[0]&16|t.$$.dirty[5]&512&&i(35,q=!jt||Qi||kt),t.$$.dirty[4]&16384&&i(131,Lt=dn(le,exports.GridTypes.M)),t.$$.dirty[0]&272|t.$$.dirty[4]&16392&&i(36,vn=Mi&&dn(le,exports.GridTypes.M)&&!kt&&Bi),t.$$.dirty[0]&528|t.$$.dirty[4]&16392&&i(37,wn=Mi&&dn(le,exports.GridTypes.M)&&!kt&&ui),t.$$.dirty[0]&268435456|t.$$.dirty[4]&16384|t.$$.dirty[5]&48&&i(38,$n=Et!==Qe.ChromecastState.NOT_AVAILABLE&&!(_i&&bi===Cn.DocumentPictureInPicture)&&dn(le,exports.GridTypes.M)&&!Qi),t.$$.dirty[4]&16384|t.$$.dirty[5]&256&&i(39,st=ti.length>0&&dn(le,exports.GridTypes.M)),t.$$.dirty[5]&192&&i(40,L=si||ei),t.$$.dirty[4]&16384&&i(41,re=dn(le,exports.GridTypes.S)),t.$$.dirty[4]&4&&i(42,Te=!yi),t.$$.dirty[4]&16420|t.$$.dirty[5]&48&&i(43,Oe=Ot.features.fullscreen&&(yi||dn(le,exports.GridTypes.S))&&!(_i&&bi===Cn.DocumentPictureInPicture)&&(Qi?Ci:!0)),t.$$.dirty[0]&16|t.$$.dirty[1]&2&&i(19,Ze=(!$t||kt)&&!(Ot.features.interactiveHideTime&&Qi)),t.$$.dirty[4]&8192&&i(44,zt=Y.width>100),t.$$.dirty[0]&16|t.$$.dirty[1]&2|t.$$.dirty[4]&2176&&i(20,Kt=!kt&&!$t&&!!cn?.length&&Lt&&!n),t.$$.dirty[1]&1|t.$$.dirty[5]&8&&i(21,rn=!Ct||qt),t.$$.dirty[5]&2&&i(46,zn=Mt===Qe.PlaybackState.PLAYING?K("tooltip_pause"):K("tooltip_play")),t.$$.dirty[0]&1073741824&&i(47,Po=K(gi?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),t.$$.dirty[5]&4&&i(48,go=K(Ii?"aria_label_context_menu_close":"aria_label_context_menu_open")),t.$$.dirty[0]&2097152|t.$$.dirty[5]&2&&v1(rn,Mt),t.$$.dirty[0]&262144&&i(51,Ml=K(Mn?"tooltip_subtitles_on":"tooltip_subtitles_off")),t.$$.dirty[0]&536870912&&i(52,Bl=K(li?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),t.$$.dirty[0]&268435456&&i(53,Nl=Et===Qe.ChromecastState.CONNECTED?K("tooltip_chromecast_on"):K("tooltip_chromecast_off")),t.$$.dirty[0]&134217728|t.$$.dirty[4]&2147450880|t.$$.dirty[5]&1&&i(132,fn={prevButton:Ht?Ht.right-Ht.left:0,replayButton:xt?xt.right-xt.left:0,playButton:Ft?Ft.right-Ft.left:0,nextButton:mt?mt.right-mt.left:0,playPrevChapterButton:nt?nt.right-nt.left:0,seekToInteractiveButton:Vt?Vt.right-Vt.left:0,interactiveGraphButton:ut?ut.right-ut.left:0,liveButton:rt?rt.right-rt.left:0,time:We?We.right-We.left:0,episodes:xe?xe.right-xe.left:0,vkLogo:x?x.right-x.left:0,volume:Ce?Ce.right-Ce.left:0,subtitles:A?A.right-A.left:0,settings:Ee?Ee.right-Ee.left:0,context:De?De.right-De.left:0,fullscreen:ve?ve.right-ve.left:0,chromecast:se?se.right-se.left:0,additionalButtons:C.length?C.reduce(Z=>[...Z,40],[]):[]}),t.$$.dirty[4]&768&&(!bo||bo<fn.time)&&i(133,bo=fn.time),t.$$.dirty[0]&5767168|t.$$.dirty[4]&17152){let Z=0;Kt&&(dn(le,exports.GridTypes.XL)?Z=fn.time:Z=_c);const Xo=fn.prevButton+fn.playButton+fn.nextButton+fn.seekToInteractiveButton+fn.interactiveGraphButton+fn.liveButton+bo+Z;i(134,Qo=Ze&&To>=Xo)}t.$$.dirty[4]&17408&&i(54,Rl=Qo&&dn(le,exports.GridTypes.M)),t.$$.dirty[0]&8388616|t.$$.dirty[4]&8192&&w1(mo(),en,Ke,ki),t.$$.dirty[0]&100663296&&wl(Ao,R,un),t.$$.dirty[0]&83886080|t.$$.dirty[4]&4096&&kl(Eo,R,ie)},i(50,Vl=Ot.logoType===uo.VK_VIDEO?K("tooltip_vk_video_logo"):K("tooltip_vk_logo")),hi(i(71,{prevButton:c,replayButton:f,playButton:m,nextButton:h,playPrevChapterButton:_,seekToInteractiveButton:b,interactiveGraphButton:k,liveButton:v,time:S,episodes:y,vkLogo:w,volume:z,subtitles:oe,settings:I,context:W,fullscreen:V,chromecast:te}=en,c,Zi(i(70,f)),Wi(i(69,m)),zi(i(68,h)),dt(i(67,_)),_t(i(66,b)),Jt(i(65,k)),gt(i(64,v)),ht(i(63,S)),Le(i(62,y)),Ue(i(61,w)),_e(i(60,z)),Me(i(59,oe)),Ae(i(58,I)),Ie(i(57,W)),ce(i(56,V)),pe(i(55,te)))),[ct,wi,ii,ki,kt,At,Fi,Ki,Bi,ui,Hi,ci,Ne,Ni,fi,qi,Si,di,Mn,Ze,Kt,rn,To,Ke,Eo,Ao,R,C,Et,li,gi,Ct,$t,_n,xn,q,vn,wn,$n,st,L,re,Te,Oe,zt,St,zn,Po,go,Yo,Vl,Ml,Bl,Nl,Rl,te,V,W,I,oe,z,w,y,S,v,k,b,_,h,m,f,c,a,r,l,s,o,M,wt,vi,Vi,ri,ai,Nt,Ot,Ti,ji,Ei,Ai,Ji,xi,$i,Ri,mi,$,et,ni,Yi,vt,sn,un,cn,tn,J,G,hn,Ln,In,Un,qn,jn,Wn,Zn,Kn,Gn,Rn,Qi,On,Vn,Qn,Xn,po,Jn,ho,k1,y1,yi,Mi,Rt,Ci,Ui,Lt,fn,bo,Qo,n,ie,Y,le,se,ve,De,Ee,A,Ce,x,xe,We,rt,ut,Vt,nt,mt,Ft,xt,Ht,Mt,Ii,qt,bi,_i,ei,si,ti,jt,Wt,Bt,bt,C1,S1,P1,T1,E1,A1,L1,I1,V1,M1,B1,N1,R1,O1,z1,D1,F1,H1,U1,q1,j1,W1]}class K4 extends ke{constructor(e){super(),we(this,e,Z4,W4,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:126,videoLogoUrl:7,showNextPrevButtons:127,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:128,supportLink:10,customFullscreenSupported:129,playNextVideo:11,playPrevVideo:12,repeatPlaylist:130,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},k4,[-1,-1,-1,-1,-1,-1,-1])}}function G4(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:j,i:j,o:j,d(s){s&&P(e)}}}class Y4 extends ke{constructor(e){super(),we(this,e,null,G4,be,{})}}function Q4(t){He(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 vr(t){let e;return{c(){e=T("span"),e.textContent=`${K("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(i,n){E(i,e,n)},p:j,d(i){i&&P(e)}}}function X4(t){let e,i,n,o;var s=t[4];function l(a){return{}}s&&(i=bn(s,l()));let r=t[1]&&vr();return{c(){e=T("div"),i&&U(i.$$.fragment),n=O(),r&&r.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),B(e,"expanded",t[1])},m(a,c){E(a,e,c),i&&F(i,e,null),p(e,n),r&&r.m(e,null),o=!0},p(a,c){if(c&16&&s!==(s=a[4])){if(i){de();const f=i;g(f.$$.fragment,1,0,()=>{H(f,1)}),me()}s?(i=bn(s,l()),U(i.$$.fragment),d(i.$$.fragment,1),F(i,e,n)):i=null}a[1]?r?r.p(a,c):(r=vr(),r.c(),r.m(e,null)):r&&(r.d(1),r=null),(!o||c&2)&&B(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&&P(e),i&&H(i),r&&r.d()}}}function J4(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:[X4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new pi({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.testId=l[1]?"btn-mobile-unmuted":"btn-mobile-muted"),r&4&&(a.click=l[2]),r&8&&(a.ariaLabel=l[3]),r&146&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function x4(t,e,i){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:s=ee.noop}=e,{ref:l=void 0}=e,r,a;function c(f){l=f,i(0,l)}return t.$$set=f=>{"muted"in f&&i(5,n=f.muted),"expanded"in f&&i(1,o=f.expanded),"click"in f&&i(2,s=f.click),"ref"in f&&i(0,l=f.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,r=K(n?"tooltip_volume":"tooltip_volume_muted")),t.$$.dirty&2&&i(4,a=o?Ko:Y4)},[l,o,s,r,a,n,c]}class s1 extends ke{constructor(e){super(),we(this,e,x4,J4,be,{muted:5,expanded:1,click:2,ref:0},Q4)}}function $4(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"),B(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"),B(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&&B(n,"hidden",!s[0]),l&2&&u(o,"fill",s[1]),l&1&&B(o,"hidden",s[0])},i:j,o:j,d(s){s&&P(e)}}}function e3(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 t3 extends ke{constructor(e){super(),we(this,e,e3,$4,be,{isActive:0})}}function i3(t){let e,i;return e=new t3({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function n3(t){let e,i,n;function o(l){t[3](l)}let s={testId:"btn-pip",ariaLabel:K("menu_pip"),click:t[2],$$slots:{default:[i3]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new pi({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,[r]){const a={};r&4&&(a.click=l[2]),r&18&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function o3(t,e,i){let{ref:n=void 0}=e,{isPictureInPictureActive:o=!1}=e,{click:s=ee.noop}=e;function l(r){n=r,i(0,n)}return t.$$set=r=>{"ref"in r&&i(0,n=r.ref),"isPictureInPictureActive"in r&&i(1,o=r.isPictureInPictureActive),"click"in r&&i(2,s=r.click)},[n,o,s,l]}class l3 extends ke{constructor(e){super(),we(this,e,o3,n3,be,{ref:0,isPictureInPictureActive:1,click:2})}}function s3(t){He(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 wr(t,e,i){const n=t.slice();return n[153]=e[i].iconUrl,n[154]=e[i].ariaLabel,n[155]=e[i].testId,n[156]=e[i].onClick,n[157]=e[i].tooltip,n}function kr(t){let e,i,n,o,s,l,r,a,c,f,m,h,_,b,k,v,S,y=(!t[51]||t[53])&&yr(t),w=Dt(t[56]),z=[];for(let C=0;C<w.length;C+=1)z[C]=Cr(wr(t,w,C));const oe=C=>g(z[C],1,1,()=>{z[C]=null});let I=t[36]&&Sr(t),W=t[37]&&Pr(t),V=t[57]&&Tr(t),te=t[39]&&Er(t),M=t[8]&&Ar(t),ie=t[34]&&Lr(t),R=t[33]&&Ir(t),Y=t[8]&&Vr(t),le=t[95]&&!t[29]&&Mr(t);return{c(){e=T("div"),i=O(),n=T("div"),y&&y.c(),o=O(),s=T("div");for(let C=0;C<z.length;C+=1)z[C].c();l=O(),I&&I.c(),r=O(),W&&W.c(),a=O(),V&&V.c(),c=O(),te&&te.c(),f=O(),m=T("div"),M&&M.c(),h=O(),ie&&ie.c(),_=O(),R&&R.c(),b=O(),Y&&Y.c(),k=O(),le&&le.c(),v=lt(),u(e,"class","overlay-mobile v-1tcstu3"),B(e,"hidden",!t[42]),u(n,"class","wrapper-top-left v-1tcstu3"),B(n,"hidden",!t[3]),B(n,"fullscreen",t[52]),u(s,"class","wrapper-top-right v-1tcstu3"),B(s,"hidden",!t[3]&&!t[27]),B(s,"fullscreen",t[52]),u(m,"class","wrapper-middle v-1tcstu3"),B(m,"hidden",!t[3]||t[29])},m(C,se){E(C,e,se),E(C,i,se),E(C,n,se),y&&y.m(n,null),E(C,o,se),E(C,s,se);for(let ye=0;ye<z.length;ye+=1)z[ye]&&z[ye].m(s,null);p(s,l),I&&I.m(s,null),p(s,r),W&&W.m(s,null),p(s,a),V&&V.m(s,null),p(s,c),te&&te.m(s,null),E(C,f,se),E(C,m,se),M&&M.m(m,null),p(m,h),ie&&ie.m(m,null),p(m,_),R&&R.m(m,null),p(m,b),Y&&Y.m(m,null),E(C,k,se),le&&le.m(C,se),E(C,v,se),S=!0},p(C,se){if((!S||se[1]&2048)&&B(e,"hidden",!C[42]),!C[51]||C[53]?y?(y.p(C,se),se[1]&5242880&&d(y,1)):(y=yr(C),y.c(),d(y,1),y.m(n,null)):y&&(de(),g(y,1,1,()=>{y=null}),me()),(!S||se[0]&8)&&B(n,"hidden",!C[3]),(!S||se[1]&2097152)&&B(n,"fullscreen",C[52]),se[1]&33554432){w=Dt(C[56]);let ye;for(ye=0;ye<w.length;ye+=1){const pe=wr(C,w,ye);z[ye]?(z[ye].p(pe,se),d(z[ye],1)):(z[ye]=Cr(pe),z[ye].c(),d(z[ye],1),z[ye].m(s,l))}for(de(),ye=w.length;ye<z.length;ye+=1)oe(ye);me()}C[36]?I?(I.p(C,se),se[1]&32&&d(I,1)):(I=Sr(C),I.c(),d(I,1),I.m(s,r)):I&&(de(),g(I,1,1,()=>{I=null}),me()),C[37]?W?(W.p(C,se),se[1]&64&&d(W,1)):(W=Pr(C),W.c(),d(W,1),W.m(s,a)):W&&(de(),g(W,1,1,()=>{W=null}),me()),C[57]?V?(V.p(C,se),se[1]&67108864&&d(V,1)):(V=Tr(C),V.c(),d(V,1),V.m(s,c)):V&&(de(),g(V,1,1,()=>{V=null}),me()),C[39]?te?(te.p(C,se),se[1]&256&&d(te,1)):(te=Er(C),te.c(),d(te,1),te.m(s,null)):te&&(de(),g(te,1,1,()=>{te=null}),me()),(!S||se[0]&134217736)&&B(s,"hidden",!C[3]&&!C[27]),(!S||se[1]&2097152)&&B(s,"fullscreen",C[52]),C[8]?M?(M.p(C,se),se[0]&256&&d(M,1)):(M=Ar(C),M.c(),d(M,1),M.m(m,h)):M&&(de(),g(M,1,1,()=>{M=null}),me()),C[34]?ie?(ie.p(C,se),se[1]&8&&d(ie,1)):(ie=Lr(C),ie.c(),d(ie,1),ie.m(m,_)):ie&&(de(),g(ie,1,1,()=>{ie=null}),me()),C[33]?R?(R.p(C,se),se[1]&4&&d(R,1)):(R=Ir(C),R.c(),d(R,1),R.m(m,b)):R&&(de(),g(R,1,1,()=>{R=null}),me()),C[8]?Y?(Y.p(C,se),se[0]&256&&d(Y,1)):(Y=Vr(C),Y.c(),d(Y,1),Y.m(m,null)):Y&&(de(),g(Y,1,1,()=>{Y=null}),me()),(!S||se[0]&536870920)&&B(m,"hidden",!C[3]||C[29]),C[95]&&!C[29]?le?(le.p(C,se),se[0]&536870912&&d(le,1)):(le=Mr(C),le.c(),d(le,1),le.m(v.parentNode,v)):le&&(de(),g(le,1,1,()=>{le=null}),me())},i(C){if(!S){d(y);for(let se=0;se<w.length;se+=1)d(z[se]);d(I),d(W),d(V),d(te),d(M),d(ie),d(R),d(Y),d(le),S=!0}},o(C){g(y),z=z.filter(Boolean);for(let se=0;se<z.length;se+=1)g(z[se]);g(I),g(W),g(V),g(te),g(M),g(ie),g(R),g(Y),g(le),S=!1},d(C){C&&(P(e),P(i),P(n),P(o),P(s),P(f),P(m),P(k),P(v)),y&&y.d(),pn(z,C),I&&I.d(),W&&W.d(),V&&V.d(),te&&te.d(),M&&M.d(),ie&&ie.d(),R&&R.d(),Y&&Y.d(),le&&le.d(C)}}}function yr(t){let e,i,n;function o(l){t[119](l)}let s={muted:t[54],expanded:t[51]&&!t[70]&&t[55],click:t[102]};return t[20].volume!==void 0&&(s.ref=t[20].volume),e=new s1({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&8388608&&(a.muted=l[54]),r[1]&17825792&&(a.expanded=l[51]&&!l[70]&&l[55]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].volume,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Cr(t){let e,i;return e=new e1({props:{iconUrl:t[153],ariaLabel:t[154]??t[157],testId:t[155],onClick:t[156]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[1]&33554432&&(s.iconUrl=n[153]),o[1]&33554432&&(s.ariaLabel=n[154]??n[157]),o[1]&33554432&&(s.testId=n[155]),o[1]&33554432&&(s.onClick=n[156]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Sr(t){let e,i,n;function o(l){t[120](l)}let s={isMobile:!0,click:t[100],state:t[28]};return t[20].chromecast!==void 0&&(s.ref=t[20].chromecast),e=new Wu({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&268435456&&(a.state=l[28]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].chromecast,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Pr(t){let e,i,n;function o(l){t[121](l)}let s={click:t[101],isPictureInPictureActive:t[26]};return t[20].pip!==void 0&&(s.ref=t[20].pip),e=new l3({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&67108864&&(a.isPictureInPictureActive=l[26]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].pip,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Tr(t){let e,i,n;function o(l){t[122](l)}let s={};return t[22]!==void 0&&(s.ref=t[22]),e=new Sl({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&4194304&&(i=!0,a.ref=l[22],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Er(t){let e,i,n;function o(l){t[123](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 ju({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.logoClickable=l[6]),r[0]&128&&(a.videoLogoUrl=l[7]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].vkLogo,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ar(t){let e,i,n;function o(l){t[124](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 Go({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&8192&&(a.click=l[13]),r[0]&1024&&(a.disabled=!l[10]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].prevButton,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Lr(t){let e,i,n;function o(l){t[125](l)}let s={disabled:t[48],click:t[63],isMobile:!0,isPlaying:t[31]};return t[20].playButton!==void 0&&(s.ref=t[20].playButton),e=new El({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&131072&&(a.disabled=l[48]),r[1]&1&&(a.isPlaying=l[31]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].playButton,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ir(t){let e,i,n;function o(l){t[126](l)}let s={disabled:t[47],click:t[103],isMobile:!0};return t[20].replayButton!==void 0&&(s.ref=t[20].replayButton),e=new Al({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.disabled=l[47]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].replayButton,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Vr(t){let e,i,n;function o(l){t[127](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 Go({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&4096&&(a.click=l[12]),r[0]&512&&(a.disabled=!l[9]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].nextButton,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Mr(t){let e,i,n,o,s=t[98]&&r3(t),l=t[96]&&a3(t),r=t[97]&&u3(t);return{c(){s&&s.c(),e=O(),l&&l.c(),i=O(),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&&(P(e),P(i),P(n)),s&&s.d(a),l&&l.d(a),r&&r.d(a)}}}function r3(t){let e,i,n;return i=new $u({props:{hidden:!t[3],disabled:t[46],click:t[18]}}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),B(e,"fullscreen",t[52]),B(e,"hidden",!t[3])},m(o,s){E(o,e,s),F(i,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.hidden=!o[3]),s[1]&32768&&(l.disabled=o[46]),s[0]&262144&&(l.click=o[18]),i.$set(l),(!n||s[1]&2097152)&&B(e,"fullscreen",o[52]),(!n||s[0]&8)&&B(e,"hidden",!o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&P(e),H(i)}}}function a3(t){let e,i,n,o;function s(r){t[128](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 Ju({props:l}),Se.push(()=>je(i,"ref",s)),{c(){e=T("div"),U(i.$$.fragment),u(e,"class",x1(t[98]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),B(e,"fullscreen",t[52]),B(e,"hidden",!t[3]&&!t[58])},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[0]&8|a[1]&134217728&&(c.hidden=!r[3]&&!r[58]),a[1]&524288&&(c.disabled=r[50]),a[0]&131072&&(c.click=r[17]),a[1]&134217728&&(c.graphIsOpened=r[58]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].interactiveGraphButton,qe(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&B(e,"fullscreen",r[52]),(!o||a[0]&8|a[1]&134217728)&&B(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&&P(e),H(i)}}}function u3(t){let e,i,n,o;function s(r){t[129](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 Xu({props:l}),Se.push(()=>je(i,"ref",s)),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),B(e,"fullscreen",t[52]),B(e,"hidden",!t[3])},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[0]&8&&(c.hidden=!r[3]),a[1]&262144&&(c.disabled=r[49]),a[0]&65536&&(c.click=r[16]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].seekToInteractiveButton,qe(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&B(e,"fullscreen",r[52]),(!o||a[0]&8)&&B(e,"hidden",!r[3])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&P(e),H(i)}}}function Br(t){let e,i,n,o,s,l=t[53]&&Nr(t),r=t[32]&&Rr(t);return o=new Gu({props:{position:t[59],duration:t[60]}}),{c(){l&&l.c(),e=O(),r&&r.c(),i=O(),n=T("div"),U(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),B(n,"fullscreen",t[52])},m(a,c){l&&l.m(a,c),E(a,e,c),r&&r.m(a,c),E(a,i,c),E(a,n,c),F(o,n,null),s=!0},p(a,c){a[53]?l?(l.p(a,c),c[1]&4194304&&d(l,1)):(l=Nr(a),l.c(),d(l,1),l.m(e.parentNode,e)):l&&(de(),g(l,1,1,()=>{l=null}),me()),a[32]?r?(r.p(a,c),c[1]&2&&d(r,1)):(r=Rr(a),r.c(),d(r,1),r.m(i.parentNode,i)):r&&(de(),g(r,1,1,()=>{r=null}),me());const f={};c[1]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),o.$set(f),(!s||c[1]&2097152)&&B(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&&(P(e),P(i),P(n)),l&&l.d(a),r&&r.d(a),H(o)}}}function Nr(t){let e,i,n,o;function s(r){t[130](r)}let l={muted:t[54],expanded:!1,click:t[102]};return t[20].volume!==void 0&&(l.ref=t[20].volume),i=new s1({props:l}),Se.push(()=>je(i,"ref",s)),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),B(e,"fullscreen",t[52])},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[1]&8388608&&(c.muted=r[54]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].volume,qe(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&B(e,"fullscreen",r[52])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&P(e),H(i)}}}function Rr(t){let e,i,n,o;function s(r){t[131](r)}let l={disabled:t[48],click:t[63],isMobile:!0,isPlaying:!t[32]};return t[20].playButton!==void 0&&(l.ref=t[20].playButton),i=new El({props:l}),Se.push(()=>je(i,"ref",s)),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[1]&131072&&(c.disabled=r[48]),a[1]&2&&(c.isPlaying=!r[32]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].playButton,qe(()=>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&&P(e),H(i)}}}function c3(t){let e,i,n;function o(l){t[132](l)}let s={disabled:t[47],$$slots:{default:[f3]},$$scope:{ctx:t}};return t[20].replayButton!==void 0&&(s.ref=t[20].replayButton),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.disabled=l[47]),r[1]&65536|r[5]&32&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].replayButton,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function f3(t){let e,i;return e=new Al({props:{disabled:t[47],click:t[94]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[1]&65536&&(s.disabled=n[47]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Or(t){let e,i,n;function o(l){t[133](l)}let s={$$slots:{default:[d3]},$$scope:{ctx:t}};return t[20].liveButton!==void 0&&(s.ref=t[20].liveButton),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&524288|r[1]&16384|r[5]&32&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].liveButton,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function d3(t){let e,i;return e=new Zu({props:{isActiveLive:t[19],isMobile:!0,ariaLabel:t[45]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&524288&&(s.isActiveLive=n[19]),o[1]&16384&&(s.ariaLabel=n[45]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function zr(t){let e,i,n;function o(l){t[134](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 Du({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[1]&16&&(a.showDuration=l[35]),r[0]&16|r[1]&1342177280&&(a.position=l[4]?l[59]:l[61]),r[0]&16|r[1]&536870912|r[2]&1&&(a.duration=l[4]?l[60]:l[62]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].time,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Dr(t){let e,i,n,o;return n=new Qu({props:{position:t[61],duration:t[62],timeCodes:t[84]}}),{c(){e=T("div"),e.textContent="\xB7",i=O(),U(n.$$.fragment),u(e,"aria-hidden","true")},m(s,l){E(s,e,l),E(s,i,l),F(n,s,l),o=!0},p(s,l){const r={};l[1]&1073741824&&(r.position=s[61]),l[2]&1&&(r.duration=s[62]),n.$set(r)},i(s){o||(d(n.$$.fragment,s),o=!0)},o(s){g(n.$$.fragment,s),o=!1},d(s){s&&(P(e),P(i)),H(n,s)}}}function m3(t){let e,i,n=t[43]&&Dr(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=Dr(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(de(),g(n,1,1,()=>{n=null}),me())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&P(e),n&&n.d(o)}}}function Fr(t){let e,i,n;function o(l){t[137](l)}let s={$$slots:{default:[p3]},$$scope:{ctx:t}};return t[20].settings!==void 0&&(s.ref=t[20].settings),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&4194304|r[5]&32&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].settings,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function p3(t){let e,i,n;function o(l){t[136](l)}let s={};return t[22]!==void 0&&(s.ref=t[22]),e=new Sl({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&4194304&&(i=!0,a.ref=l[22],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Hr(t){let e,i,n;function o(l){t[138](l)}let s={$$slots:{default:[h3]},$$scope:{ctx:t}};return t[20].fullscreen!==void 0&&(s.ref=t[20].fullscreen),e=new It({props:s}),Se.push(()=>je(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r[0]&16384|r[1]&2097152|r[5]&32&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].fullscreen,qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function h3(t){let e,i;return e=new Uu({props:{click:t[14],isFullscreen:t[52]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&16384&&(s.click=n[14]),o[1]&2097152&&(s.isFullscreen=n[52]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ur(t){let e,i,n,o;function s(r){t[141](r)}let l={supportLink:t[11],returnFocus:t[15]};return t[21]!==void 0&&(l.ref=t[21]),i=new zu({props:l}),Se.push(()=>je(i,"ref",s)),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(r,a){E(r,e,a),F(i,e,null),o=!0},p(r,a){const c={};a[0]&2048&&(c.supportLink=r[11]),a[0]&32768&&(c.returnFocus=r[15]),!n&&a[0]&2097152&&(n=!0,c.ref=r[21],qe(()=>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&&P(e),H(i)}}}function g3(t){let e,i,n,o,s,l,r,a,c,f,m,h,_,b,k,v,S,y=!t[4]&&kr(t),w=t[4]&&t[30]!==Yt.INACTIVE&&Br(t),z=t[95]&&c3(t),oe=!t[4]&&t[25]&&Or(t),I=t[41]&&zr(t);function W(R){t[135](R)}let V={className:"w-max",disabled:!t[43],$$slots:{default:[m3]},$$scope:{ctx:t}};t[20].episodes!==void 0&&(V.ref=t[20].episodes),c=new It({props:V}),Se.push(()=>je(c,"ref",W));let te=t[38]&&Fr(t),M=t[40]&&Hr(t);b=new Yu({props:{isAds:t[4],canRewindLive:t[5],isRewindableLive:t[24]}});let ie=t[23]&&Ur(t);return{c(){y&&y.c(),e=O(),w&&w.c(),i=O(),n=T("div"),o=T("div"),s=T("div"),z&&z.c(),l=O(),oe&&oe.c(),r=O(),I&&I.c(),a=O(),U(c.$$.fragment),m=O(),te&&te.c(),h=O(),M&&M.c(),_=O(),U(b.$$.fragment),k=O(),ie&&ie.c(),v=lt(),u(s,"class","controls v-1tcstu3"),B(s,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),B(o,"fullscreen",t[52]),u(n,"class","wrapper-bottom v-1tcstu3"),B(n,"hidden",t[1]),B(n,"controls-hidden",!t[3]),B(n,"no-smooth",t[2]),B(n,"mobile",!0)},m(R,Y){y&&y.m(R,Y),E(R,e,Y),w&&w.m(R,Y),E(R,i,Y),E(R,n,Y),p(n,o),p(o,s),z&&z.m(s,null),p(s,l),oe&&oe.m(s,null),p(s,r),I&&I.m(s,null),p(s,a),F(c,s,null),p(s,m),te&&te.m(s,null),p(s,h),M&&M.m(s,null),t[139](s),p(o,_),F(b,o,null),t[140](n),E(R,k,Y),ie&&ie.m(R,Y),E(R,v,Y),S=!0},p(R,Y){R[4]?y&&(de(),g(y,1,1,()=>{y=null}),me()):y?(y.p(R,Y),Y[0]&16&&d(y,1)):(y=kr(R),y.c(),d(y,1),y.m(e.parentNode,e)),R[4]&&R[30]!==Yt.INACTIVE?w?(w.p(R,Y),Y[0]&1073741840&&d(w,1)):(w=Br(R),w.c(),d(w,1),w.m(i.parentNode,i)):w&&(de(),g(w,1,1,()=>{w=null}),me()),R[95]&&z.p(R,Y),!R[4]&&R[25]?oe?(oe.p(R,Y),Y[0]&33554448&&d(oe,1)):(oe=Or(R),oe.c(),d(oe,1),oe.m(s,r)):oe&&(de(),g(oe,1,1,()=>{oe=null}),me()),R[41]?I?(I.p(R,Y),Y[1]&1024&&d(I,1)):(I=zr(R),I.c(),d(I,1),I.m(s,a)):I&&(de(),g(I,1,1,()=>{I=null}),me());const le={};Y[1]&4096&&(le.disabled=!R[43]),Y[1]&1073745920|Y[2]&1|Y[5]&32&&(le.$$scope={dirty:Y,ctx:R}),!f&&Y[0]&1048576&&(f=!0,le.ref=R[20].episodes,qe(()=>f=!1)),c.$set(le),R[38]?te?(te.p(R,Y),Y[1]&128&&d(te,1)):(te=Fr(R),te.c(),d(te,1),te.m(s,h)):te&&(de(),g(te,1,1,()=>{te=null}),me()),R[40]?M?(M.p(R,Y),Y[1]&512&&d(M,1)):(M=Hr(R),M.c(),d(M,1),M.m(s,null)):M&&(de(),g(M,1,1,()=>{M=null}),me());const C={};Y[0]&16&&(C.isAds=R[4]),Y[0]&32&&(C.canRewindLive=R[5]),Y[0]&16777216&&(C.isRewindableLive=R[24]),b.$set(C),(!S||Y[1]&2097152)&&B(o,"fullscreen",R[52]),(!S||Y[0]&2)&&B(n,"hidden",R[1]),(!S||Y[0]&8)&&B(n,"controls-hidden",!R[3]),(!S||Y[0]&4)&&B(n,"no-smooth",R[2]),R[23]?ie?(ie.p(R,Y),Y[0]&8388608&&d(ie,1)):(ie=Ur(R),ie.c(),d(ie,1),ie.m(v.parentNode,v)):ie&&(de(),g(ie,1,1,()=>{ie=null}),me())},i(R){S||(d(y),d(w),d(z),d(oe),d(I),d(c.$$.fragment,R),d(te),d(M),d(b.$$.fragment,R),d(ie),S=!0)},o(R){g(y),g(w),g(z),g(oe),g(I),g(c.$$.fragment,R),g(te),g(M),g(b.$$.fragment,R),g(ie),S=!1},d(R){R&&(P(e),P(i),P(n),P(k),P(v)),y&&y.d(R),w&&w.d(R),z&&z.d(),oe&&oe.d(),I&&I.d(),H(c),te&&te.d(),M&&M.d(),t[139](null),H(b),t[140](null),ie&&ie.d(R)}}}function b3(t,e,i){let n,o,s,l,r,a,c,f,m,h,_,b,k,v,S,y,w,z,oe,I,W,V,te,M,ie,R,Y,le,C,se,ye,pe,ve,X,{bottomHidden:ce}=e,{bottomNoSmooth:De}=e,{showControls:ae}=e,{controlsElementRef:Ie=void 0}=e,{isAds:Ee=!1}=e,{canRewindLive:he}=e,{logoClickable:Ae}=e,{logoHidden:A}=e,{videoLogoUrl:ne}=e,{showNextPrevButtons:Me}=e,{nextButtonActive:Ce}=e,{prevButtonActive:ue}=e,{isOneVideoPlaylist:_e=!1}=e,{supportLink:x}=e,{customFullscreenSupported:Q=!0}=e,{playNextVideo:Ue}=e,{playPrevVideo:xe}=e,{repeatPlaylist:Je}=e,{toggleFullscreen:Le}=e,{returnFocus:We}=e,{seekToInteractive:$e}=e,{toggleGraph:ht}=e,{playPrevChapter:rt}=e;const Pe=pt(),gt=on(),ut=Pe.actions.internal.toggleMuted,Xt=Pe.actions.internal.togglePlay,Jt=Pe.actions.internal.pause,Vt=Pe.callbacks?.onAudioDoesNotExistHint,fe=Pe.callbacks?.onAudioDisabledHint,_t=Pe.playerPhase;D(t,_t,G=>i(116,oe=G));const nt=Pe.state.duration$;D(t,nt,G=>i(62,X=G));const yt=Pe.state.positionWithScrubbing$;D(t,yt,G=>i(61,ve=G));const dt=Pe.state.playbackState$;D(t,dt,G=>i(112,m=G));const mt=Pe.state.isAudioAvailable$;D(t,mt,G=>i(51,h=G));const Tt=Pe.state.isAudioDisabled,zi=Pe.state.isEnded$;D(t,zi,G=>i(117,W=G));const Ft=Pe.state.isLive$;D(t,Ft,G=>i(25,v=G));const Li=Pe.state.muted$;D(t,Li,G=>i(54,R=G));const Wi=Pe.state.isActiveLive$;D(t,Wi,G=>i(114,b=G));const xt=Pe.state.isRewindableLive$;D(t,xt,G=>i(24,k=G));const Di=Pe.ui.scrubbingInProgress;D(t,Di,G=>i(29,I=G));const Zi=Pe.ui.mobileNotReportControlHidden$;D(t,Zi,G=>i(27,w=G));const Ht=Pe.ui.isPictureInPictureActive$;D(t,Ht,G=>i(26,y=G));const Ut=Pe.ui.pictureInPictureType$;D(t,Ut,G=>i(115,S=G));const hi=Pe.ui.mobileUnmuteButtonExpanded;D(t,hi,G=>i(55,Y=G));const Et=Pe.ui.mobileUnmuteButtonVisible;D(t,Et,G=>i(53,ie=G));const li=Pe.ui.settingsMenuVisible;D(t,li,G=>i(23,f=G));const Mt=Pe.ui.settingsMenuOpenedByKeyboard;D(t,Mt,G=>i(111,c=G));const Ii=Pe.ui.controls,gi=Pe.actions.internal.getVideoEpisodes(),qt=Pe.webApi.pictureInPictureApi,Ct=Pe.state.chromecastState$;D(t,Ct,G=>i(28,z=G));const $t=Pe.state.crashed$;D(t,$t,G=>i(57,C=G));const bi=Ii.disabledControls$;D(t,bi,G=>i(118,te=G));const _i=Pe.ads.duration;D(t,_i,G=>i(60,pe=G));const ei=Pe.ads.position;D(t,ei,G=>i(59,ye=G));const si=Pe.ads.playbackState;D(t,si,G=>i(30,V=G));const ti=Pe.ui.isFullscreen;D(t,ti,G=>i(52,M=G));const jt=Pe.ui.playerSize;D(t,jt,G=>i(113,_=G));const Wt=Pe.ui.additionalButtons$;D(t,Wt,G=>i(56,le=G));const Bt=Pe.actions.internal.getVideoElement,bt=Pe.actions.internal.replayInteractive,wt=Pe.state.isInteractive,vi=Pe.state.isInteractiveGraphEnabled,Vi=Pe.state.isSeekToInteractiveEnable,ri=Pe.state.isPlayPrevChapterEnabled,ai=Pe.state.graphIsOpened$;D(t,ai,G=>i(58,se=G));let Nt,wi,ii,ki,ct,kt,At,Fi,yi,Ki,Mi,Bi,ui,Rt,Hi,Ci,ci;const Ne={},Ui=ee.throttleFn(l1,xa,{leading:!1}),Ni=()=>Pe.actions.internal.toggleChromecast();function fi(){Tt?fe?.():h?ut():Vt?.()}async function qi(){qt?.isActive()?await qt?.remove():await qt?.request()}function Si(){!Tt&&h&&Et.set(!1),fi()}const di=_e?Xt:Je;let Fe="";const Pi=(G,hn)=>{if(!G){i(45,Fe=K("tooltip_live"));return}hn===Qe.PlaybackState.PAUSED&&i(45,Fe=K("tooltip_play"))};let Ot,Zt;function Ti(G){t.$$.not_equal(Ne.volume,G)&&(Ne.volume=G,i(20,Ne))}function ji(G){t.$$.not_equal(Ne.chromecast,G)&&(Ne.chromecast=G,i(20,Ne))}function Ei(G){t.$$.not_equal(Ne.pip,G)&&(Ne.pip=G,i(20,Ne))}function ln(G){Zt=G,i(22,Zt)}function Gi(G){t.$$.not_equal(Ne.vkLogo,G)&&(Ne.vkLogo=G,i(20,Ne))}function Ai(G){t.$$.not_equal(Ne.prevButton,G)&&(Ne.prevButton=G,i(20,Ne))}function Ji(G){t.$$.not_equal(Ne.playButton,G)&&(Ne.playButton=G,i(20,Ne))}function xi(G){t.$$.not_equal(Ne.replayButton,G)&&(Ne.replayButton=G,i(20,Ne))}function $i(G){t.$$.not_equal(Ne.nextButton,G)&&(Ne.nextButton=G,i(20,Ne))}function Ri(G){t.$$.not_equal(Ne.interactiveGraphButton,G)&&(Ne.interactiveGraphButton=G,i(20,Ne))}function Oi(G){t.$$.not_equal(Ne.seekToInteractiveButton,G)&&(Ne.seekToInteractiveButton=G,i(20,Ne))}function mi(G){t.$$.not_equal(Ne.volume,G)&&(Ne.volume=G,i(20,Ne))}function $(G){t.$$.not_equal(Ne.playButton,G)&&(Ne.playButton=G,i(20,Ne))}function et(G){t.$$.not_equal(Ne.replayButton,G)&&(Ne.replayButton=G,i(20,Ne))}function ni(G){t.$$.not_equal(Ne.liveButton,G)&&(Ne.liveButton=G,i(20,Ne))}function Yi(G){t.$$.not_equal(Ne.time,G)&&(Ne.time=G,i(20,Ne))}function vt(G){t.$$.not_equal(Ne.episodes,G)&&(Ne.episodes=G,i(20,Ne))}function sn(G){Zt=G,i(22,Zt)}function un(G){t.$$.not_equal(Ne.settings,G)&&(Ne.settings=G,i(20,Ne))}function en(G){t.$$.not_equal(Ne.fullscreen,G)&&(Ne.fullscreen=G,i(20,Ne))}function cn(G){Se[G?"unshift":"push"](()=>{Ci=G,i(44,Ci)})}function tn(G){Se[G?"unshift":"push"](()=>{Ie=G,i(0,Ie)})}function J(G){Ot=G,i(21,Ot)}return t.$$set=G=>{"bottomHidden"in G&&i(1,ce=G.bottomHidden),"bottomNoSmooth"in G&&i(2,De=G.bottomNoSmooth),"showControls"in G&&i(3,ae=G.showControls),"controlsElementRef"in G&&i(0,Ie=G.controlsElementRef),"isAds"in G&&i(4,Ee=G.isAds),"canRewindLive"in G&&i(5,he=G.canRewindLive),"logoClickable"in G&&i(6,Ae=G.logoClickable),"logoHidden"in G&&i(104,A=G.logoHidden),"videoLogoUrl"in G&&i(7,ne=G.videoLogoUrl),"showNextPrevButtons"in G&&i(8,Me=G.showNextPrevButtons),"nextButtonActive"in G&&i(9,Ce=G.nextButtonActive),"prevButtonActive"in G&&i(10,ue=G.prevButtonActive),"isOneVideoPlaylist"in G&&i(105,_e=G.isOneVideoPlaylist),"supportLink"in G&&i(11,x=G.supportLink),"customFullscreenSupported"in G&&i(106,Q=G.customFullscreenSupported),"playNextVideo"in G&&i(12,Ue=G.playNextVideo),"playPrevVideo"in G&&i(13,xe=G.playPrevVideo),"repeatPlaylist"in G&&i(107,Je=G.repeatPlaylist),"toggleFullscreen"in G&&i(14,Le=G.toggleFullscreen),"returnFocus"in G&&i(15,We=G.returnFocus),"seekToInteractive"in G&&i(16,$e=G.seekToInteractive),"toggleGraph"in G&&i(17,ht=G.toggleGraph),"playPrevChapter"in G&&i(18,rt=G.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[3]&33554432&&i(110,n=te.has(ot.EPISODE_BUTTON)),t.$$.dirty[3]&33554432&&i(50,o=te.has(ot.GRAPH_BUTTON)),t.$$.dirty[3]&33554432&&i(49,s=te.has(ot.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[3]&33554432&&i(48,l=te.has(ot.PLAY_BUTTON)),t.$$.dirty[3]&33554432&&i(47,r=te.has(ot.REPLAY_BUTTON)),t.$$.dirty[3]&33554432&&i(46,a=te.has(ot.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[3]&524288&&i(31,Nt=m===Qe.PlaybackState.PLAYING),t.$$.dirty[0]&1073741824&&i(32,wi=V===Yt.PAUSED),t.$$.dirty[0]&16|t.$$.dirty[3]&16777216&&i(33,ii=W&&!Ee&&!wt),t.$$.dirty[0]&16|t.$$.dirty[3]&16777216&&i(34,ki=!W||Ee),t.$$.dirty[3]&1048576&&i(108,ct=_.width>300),t.$$.dirty[3]&1048576&&i(35,kt=_.width>400),t.$$.dirty[0]&536870912&&i(109,At=I),t.$$.dirty[0]&469762048|t.$$.dirty[3]&4194304&&i(36,Fi=z!==Qe.ChromecastState.NOT_AVAILABLE&&!(y&&S===Cn.DocumentPictureInPicture)&&!w&&!wt),t.$$.dirty[0]&402653184|t.$$.dirty[3]&12648448){const G=oe===Re.WaitingLive;i(37,yi=!!qt&&z!==Qe.ChromecastState.CONNECTED&&!w&&(S===Cn.DocumentPictureInPicture&&G||!G)&&!At&&!wt)}t.$$.dirty[3]&65536&&i(38,Ki=!At),t.$$.dirty[3]&1050624&&i(39,Mi=!A&&_.width>350),t.$$.dirty[0]&67108864|t.$$.dirty[3]&4268032&&i(40,Bi=gt.features.fullscreen&&!(y&&S===Cn.DocumentPictureInPicture)&&(wt?Q:!0)&&!At),t.$$.dirty[0]&33554448|t.$$.dirty[3]&1114112&&i(41,ui=(!v||Ee)&&_.width>260&&!At&&!(gt.features.interactiveHideTime&&wt)),t.$$.dirty[0]&8388616&&i(42,Rt=f||ae),t.$$.dirty[0]&33554448|t.$$.dirty[3]&229376&&i(43,Hi=!Ee&&!v&&!!gi?.length&&ct&&!n&&!At),t.$$.dirty[0]&16777216|t.$$.dirty[3]&2097152&&i(19,ci=!k||b),t.$$.dirty[0]&1048584|t.$$.dirty[3]&1048576&&Ui(Bt(),Ii,Ne,ae),t.$$.dirty[0]&524288|t.$$.dirty[3]&524288&&Pi(ci,m),t.$$.dirty[0]&12582912&&wl(Zt,f,Mt),t.$$.dirty[0]&10485760|t.$$.dirty[3]&262144&&kl(Ot,f,c)},[Ie,ce,De,ae,Ee,he,Ae,ne,Me,Ce,ue,x,Ue,xe,Le,We,$e,ht,rt,ci,Ne,Ot,Zt,f,k,v,y,w,z,I,V,Nt,wi,ii,ki,kt,Fi,yi,Ki,Mi,Bi,ui,Rt,Hi,Ci,Fe,a,r,l,s,o,h,M,ie,R,Y,le,C,se,ye,pe,ve,X,Xt,Jt,_t,nt,yt,dt,mt,Tt,zi,Ft,Li,Wi,xt,Di,Zi,Ht,Ut,hi,Et,li,Mt,gi,Ct,$t,bi,_i,ei,si,ti,jt,Wt,bt,wt,vi,Vi,ri,ai,Ni,qi,Si,di,A,_e,Q,Je,ct,At,n,c,m,_,b,S,oe,W,te,Ti,ji,Ei,ln,Gi,Ai,Ji,xi,$i,Ri,Oi,mi,$,et,ni,Yi,vt,sn,un,en,cn,tn,J]}class _3 extends ke{constructor(e){super(),we(this,e,b3,g3,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:104,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:105,supportLink:11,customFullscreenSupported:106,playNextVideo:12,playPrevVideo:13,repeatPlaylist:107,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18},s3,[-1,-1,-1,-1,-1,-1])}}function v3(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 K4({props:s}),Se.push(()=>je(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!i&&r&1&&(i=!0,a.controlsElementRef=l[0],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function w3(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 _3({props:s}),Se.push(()=>je(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!i&&r&1&&(i=!0,a.controlsElementRef=l[0],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function k3(t){let e,i,n,o;const s=[w3,v3],l=[];function r(a,c){return a[23]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),g(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&P(n),l[e].d(a)}}}function y3(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:_}=e,{nextButtonActive:b}=e,{prevButtonActive:k}=e,{isOneVideoPlaylist:v=!1}=e,{supportLink:S}=e,{customFullscreenSupported:y=!0}=e,{playNextVideo:w}=e,{playPrevVideo:z}=e,{repeatPlaylist:oe}=e,{toggleFullscreen:I}=e,{returnFocus:W=ee.noop}=e,{seekToInteractive:V}=e,{toggleGraph:te}=e,{playPrevChapter:M}=e;const R=pt().ui.isMobile;D(t,R,C=>i(23,n=C));function Y(C){r=C,i(0,r)}function le(C){r=C,i(0,r)}return t.$$set=C=>{"bottomHidden"in C&&i(1,o=C.bottomHidden),"bottomNoSmooth"in C&&i(2,s=C.bottomNoSmooth),"showControls"in C&&i(3,l=C.showControls),"controlsElementRef"in C&&i(0,r=C.controlsElementRef),"isAds"in C&&i(4,a=C.isAds),"canRewindLive"in C&&i(5,c=C.canRewindLive),"logoClickable"in C&&i(6,f=C.logoClickable),"logoHidden"in C&&i(7,m=C.logoHidden),"videoLogoUrl"in C&&i(8,h=C.videoLogoUrl),"showNextPrevButtons"in C&&i(9,_=C.showNextPrevButtons),"nextButtonActive"in C&&i(10,b=C.nextButtonActive),"prevButtonActive"in C&&i(11,k=C.prevButtonActive),"isOneVideoPlaylist"in C&&i(12,v=C.isOneVideoPlaylist),"supportLink"in C&&i(13,S=C.supportLink),"customFullscreenSupported"in C&&i(14,y=C.customFullscreenSupported),"playNextVideo"in C&&i(15,w=C.playNextVideo),"playPrevVideo"in C&&i(16,z=C.playPrevVideo),"repeatPlaylist"in C&&i(17,oe=C.repeatPlaylist),"toggleFullscreen"in C&&i(18,I=C.toggleFullscreen),"returnFocus"in C&&i(19,W=C.returnFocus),"seekToInteractive"in C&&i(20,V=C.seekToInteractive),"toggleGraph"in C&&i(21,te=C.toggleGraph),"playPrevChapter"in C&&i(22,M=C.playPrevChapter)},[r,o,s,l,a,c,f,m,h,_,b,k,v,S,y,w,z,oe,I,W,V,te,M,n,R,Y,le]}class r1 extends ke{constructor(e){super(),we(this,e,y3,k3,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:7,videoLogoUrl:8,showNextPrevButtons:9,nextButtonActive:10,prevButtonActive:11,isOneVideoPlaylist:12,supportLink:13,customFullscreenSupported:14,playNextVideo:15,playPrevVideo:16,repeatPlaylist:17,toggleFullscreen:18,returnFocus:19,seekToInteractive:20,toggleGraph:21,playPrevChapter:22})}}function C3(t){He(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function S3(t){let e,i,n,o,s,l,r,a,c,f,m,h,_;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"),_=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(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_100684"),u(_,"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"),B(e,"reversed",t[0])},m(b,k){E(b,e,k),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,_)},p(b,[k]){k&1&&B(e,"reversed",b[0])},i:j,o:j,d(b){b&&P(e)}}}function P3(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class T3 extends ke{constructor(e){super(),we(this,e,P3,S3,be,{reversed:0},C3)}}function E3(t){let e,i,n,o,s,l,r,a,c,f,m,h,_,b,k;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"),_=N("feColorMatrix"),b=N("feBlend"),k=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(_,"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(k,"in","SourceGraphic"),u(k,"in2","effect1_dropShadow_2260_104204"),u(k,"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(v,S){E(v,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,_),p(a,b),p(a,k)},d(v){v&&P(e)}}}function A3(t){let e,i,n,o,s,l,r,a,c,f,m,h,_,b,k,v;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"),_=N("feGaussianBlur"),b=N("feColorMatrix"),k=N("feBlend"),v=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(_,"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(k,"in2","BackgroundImageFix"),u(k,"result","effect1_dropShadow_2260_104293"),u(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_104293"),u(v,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(S,y){E(S,e,y),p(e,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,_),p(c,b),p(c,k),p(c,v)},d(S){S&&P(e)}}}function L3(t){let e;function i(s,l){return s[0]?A3:E3}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:j,o:j,d(s){s&&P(e),o.d(s)}}}function I3(t,e,i){let{isOff:n=!1}=e;return t.$$set=o=>{"isOff"in o&&i(0,n=o.isOff)},[n]}class a1 extends ke{constructor(e){super(),we(this,e,I3,L3,be,{isOff:0})}}function V3(t){He(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function M3(t){let e,i,n,o,s,l,r,a,c,f,m,h,_;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"),_=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(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_106627"),u(_,"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"),B(e,"reversed",t[0])},m(b,k){E(b,e,k),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,_)},p(b,[k]){k&1&&B(e,"reversed",b[0])},i:j,o:j,d(b){b&&P(e)}}}function B3(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class N3 extends ke{constructor(e){super(),we(this,e,B3,M3,be,{reversed:0},V3)}}function R3(t){He(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function O3(t){let e,i,n,o,s,l,r,a,c,f,m,h,_;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"),_=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(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2340_106922"),u(_,"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"),B(e,"reversed",t[0])},m(b,k){E(b,e,k),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,_)},p(b,[k]){k&1&&B(e,"reversed",b[0])},i:j,o:j,d(b){b&&P(e)}}}function z3(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class D3 extends ke{constructor(e){super(),we(this,e,z3,O3,be,{reversed:0},R3)}}function F3(t){He(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 qr(t){let e,i=[Ge.BACKWARD_SEEK,Ge.FORWARD_SEEK].includes(t[4]),n,o,s,l,r,a,c=[Ge.RATE_DOWN,Ge.RATE_UP].includes(t[4]),f,m=[Ge.EPISODE_PREV,Ge.EPISODE_NEXT].includes(t[4]),h,_,b,k,v,S=i&&jr(t),y=t[4]===Ge.PAUSE&&Wr(),w=t[4]===Ge.PLAY&&Zr(),z=t[4]===Ge.REPLAY&&Kr(),oe=t[4]===Ge.SUBTITLES_OFF&&Gr(),I=t[4]===Ge.SUBTITLES_ON&&Yr(),W=c&&Qr(t),V=m&&Xr(t),te=t[4]===Ge.MUTE&&Jr(),M=t[4]===Ge.VOLUME&&xr(),ie=t[5]&&$r(t);return{c(){e=T("div"),S&&S.c(),n=O(),y&&y.c(),o=O(),w&&w.c(),s=O(),z&&z.c(),l=O(),oe&&oe.c(),r=O(),I&&I.c(),a=O(),W&&W.c(),f=O(),V&&V.c(),h=O(),te&&te.c(),_=O(),M&&M.c(),b=O(),ie&&ie.c(),k=lt(),u(e,"class","v-4ftgwp")},m(R,Y){E(R,e,Y),S&&S.m(e,null),p(e,n),y&&y.m(e,null),p(e,o),w&&w.m(e,null),p(e,s),z&&z.m(e,null),p(e,l),oe&&oe.m(e,null),p(e,r),I&&I.m(e,null),p(e,a),W&&W.m(e,null),p(e,f),V&&V.m(e,null),p(e,h),te&&te.m(e,null),p(e,_),M&&M.m(e,null),E(R,b,Y),ie&&ie.m(R,Y),E(R,k,Y),v=!0},p(R,Y){Y&16&&(i=[Ge.BACKWARD_SEEK,Ge.FORWARD_SEEK].includes(R[4])),i?S?(S.p(R,Y),Y&16&&d(S,1)):(S=jr(R),S.c(),d(S,1),S.m(e,n)):S&&(de(),g(S,1,1,()=>{S=null}),me()),R[4]===Ge.PAUSE?y?Y&16&&d(y,1):(y=Wr(),y.c(),d(y,1),y.m(e,o)):y&&(de(),g(y,1,1,()=>{y=null}),me()),R[4]===Ge.PLAY?w?Y&16&&d(w,1):(w=Zr(),w.c(),d(w,1),w.m(e,s)):w&&(de(),g(w,1,1,()=>{w=null}),me()),R[4]===Ge.REPLAY?z?Y&16&&d(z,1):(z=Kr(),z.c(),d(z,1),z.m(e,l)):z&&(de(),g(z,1,1,()=>{z=null}),me()),R[4]===Ge.SUBTITLES_OFF?oe?Y&16&&d(oe,1):(oe=Gr(),oe.c(),d(oe,1),oe.m(e,r)):oe&&(de(),g(oe,1,1,()=>{oe=null}),me()),R[4]===Ge.SUBTITLES_ON?I?Y&16&&d(I,1):(I=Yr(),I.c(),d(I,1),I.m(e,a)):I&&(de(),g(I,1,1,()=>{I=null}),me()),Y&16&&(c=[Ge.RATE_DOWN,Ge.RATE_UP].includes(R[4])),c?W?(W.p(R,Y),Y&16&&d(W,1)):(W=Qr(R),W.c(),d(W,1),W.m(e,f)):W&&(de(),g(W,1,1,()=>{W=null}),me()),Y&16&&(m=[Ge.EPISODE_PREV,Ge.EPISODE_NEXT].includes(R[4])),m?V?(V.p(R,Y),Y&16&&d(V,1)):(V=Xr(R),V.c(),d(V,1),V.m(e,h)):V&&(de(),g(V,1,1,()=>{V=null}),me()),R[4]===Ge.MUTE?te?Y&16&&d(te,1):(te=Jr(),te.c(),d(te,1),te.m(e,_)):te&&(de(),g(te,1,1,()=>{te=null}),me()),R[4]===Ge.VOLUME?M?Y&16&&d(M,1):(M=xr(),M.c(),d(M,1),M.m(e,null)):M&&(de(),g(M,1,1,()=>{M=null}),me()),R[5]?ie?ie.p(R,Y):(ie=$r(R),ie.c(),ie.m(k.parentNode,k)):ie&&(ie.d(1),ie=null)},i(R){v||(d(S),d(y),d(w),d(z),d(oe),d(I),d(W),d(V),d(te),d(M),v=!0)},o(R){g(S),g(y),g(w),g(z),g(oe),g(I),g(W),g(V),g(te),g(M),v=!1},d(R){R&&(P(e),P(b),P(k)),S&&S.d(),y&&y.d(),w&&w.d(),z&&z.d(),oe&&oe.d(),I&&I.d(),W&&W.d(),V&&V.d(),te&&te.d(),M&&M.d(),ie&&ie.d(R)}}}function jr(t){let e,i;return e=new T3({props:{reversed:t[4]===Ge.FORWARD_SEEK}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===Ge.FORWARD_SEEK),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Wr(t){let e,i;return e=new qu({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Zr(t){let e,i;return e=new Tl({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Kr(t){let e,i;return e=new xu({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Gr(t){let e,i;return e=new a1({props:{isOff:!0}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Yr(t){let e,i;return e=new a1({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Qr(t){let e,i;return e=new N3({props:{reversed:t[4]===Ge.RATE_UP}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===Ge.RATE_UP),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Xr(t){let e,i;return e=new D3({props:{reversed:t[4]===Ge.EPISODE_NEXT}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===Ge.EPISODE_NEXT),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Jr(t){let e,i;return e=new Ko({props:{volume:0}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function xr(t){let e,i;return e=new Ko({props:{volume:1}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function $r(t){let e,i;return{c(){e=T("span"),i=ze(t[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,o){E(n,e,o),p(e,i)},p(n,o){o&32&&Xe(i,n[5])},d(n){n&&P(e)}}}function H3(t){let e,i,n=!t[1]&&t[4]&&qr(t);return{c(){e=T("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),B(e,"hidden",t[1]),B(e,"hot-key-helpers-container--left",t[2]),B(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=qr(o),n.c(),d(n,1),n.m(e,null)):n&&(de(),g(n,1,1,()=>{n=null}),me()),(!i||s&2)&&B(e,"hidden",o[1]),(!i||s&4)&&B(e,"hot-key-helpers-container--left",o[2]),(!i||s&8)&&B(e,"hot-key-helpers-container--right",o[3])},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&P(e),n&&n.d()}}}function U3(t,e,i){let n,o=j,s=()=>(o(),o=Gt(l,h=>i(6,n=h)),l);t.$$.on_destroy.push(()=>o());let{data:l}=e;s();let r,a,c,f,m;return t.$$set=h=>{"data"in h&&s(i(0,l=h.data))},t.$$.update=()=>{t.$$.dirty&64&&(i(1,r=!n),i(2,a=n?.type===Ge.BACKWARD_SEEK),i(3,c=n?.type===Ge.FORWARD_SEEK),i(4,f=n?.type),n?.t?i(5,m=K(n.t.key,{value:n.t.value||""})):i(5,m=n?.text))},[l,r,a,c,f,m,n]}class q3 extends ke{constructor(e){super(),we(this,e,U3,H3,be,{data:0},F3)}}function j3(t){He(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 W3(t){let e,i,n,o,s,l,r,a,c,f,m,h,_,b,k,v,S,y;return s=new Nn({props:{direction:"up"}}),a=new Nn({props:{direction:"up"}}),h=new Nn({props:{direction:"up"}}),k=new Nn({props:{direction:"up"}}),{c(){e=T("div"),i=T("div"),n=T("div"),o=T("div"),U(s.$$.fragment),l=O(),r=T("div"),U(a.$$.fragment),c=O(),f=T("div"),m=T("div"),U(h.$$.fragment),_=O(),b=T("div"),U(k.$$.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",K("aria_label_spherical_control")),B(e,"m-shifted",t[0])},m(w,z){E(w,e,z),p(e,i),p(i,n),p(n,o),F(s,o,null),p(n,l),p(n,r),F(a,r,null),p(i,c),p(i,f),p(f,m),F(h,m,null),p(f,_),p(f,b),F(k,b,null),v=!0,S||(y=[ge(o,"mousedown",t[1]),ge(o,"mouseup",t[5]),ge(o,"mouseleave",t[5]),ge(r,"mousedown",t[3]),ge(r,"mouseup",t[5]),ge(r,"mouseleave",t[5]),ge(m,"mousedown",t[4]),ge(m,"mouseup",t[5]),ge(m,"mouseleave",t[5]),ge(b,"mousedown",t[2]),ge(b,"mouseup",t[5]),ge(b,"mouseleave",t[5]),ge(e,"keydown",t[6]),ge(e,"keyup",t[7])],S=!0)},p(w,[z]){(!v||z&1)&&B(e,"m-shifted",w[0])},i(w){v||(d(s.$$.fragment,w),d(a.$$.fragment,w),d(h.$$.fragment,w),d(k.$$.fragment,w),v=!0)},o(w){g(s.$$.fragment,w),g(a.$$.fragment,w),g(h.$$.fragment,w),g(k.$$.fragment,w),v=!1},d(w){w&&P(e),H(s),H(a),H(h),H(k),S=!1,tt(y)}}}function Z3(t,e,i){let{isShifted:n=!1}=e;const o=pt(),s=new Set([Ve.ArrowUp,Ve.ArrowDown,Ve.ArrowLeft,Ve.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=_=>{if(s.has(_.code))switch(_.preventDefault(),_.stopPropagation(),_.code){case Ve.ArrowUp:l();break;case Ve.ArrowDown:r();break;case Ve.ArrowLeft:c();break;case Ve.ArrowRight:a();break}},h=_=>{s.has(_.code)&&(_.preventDefault(),_.stopPropagation(),f())};return t.$$set=_=>{"isShifted"in _&&i(0,n=_.isShifted)},[n,l,r,a,c,f,m,h]}class u1 extends ke{constructor(e){super(),we(this,e,Z3,W3,be,{isShifted:0},j3)}}function K3(t){He(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 ea(t,e,i){const n=t.slice();return n[16]=e[i].value,n}function ta(t,e,i){const n=t.slice();return n[16]=e[i].value,n[17]=e[i].timeAppeared,n}function ia(t){let e,i;function n(l,r){return l[7]&&l[8]?Q3:l[5]?Y3:G3}let o=n(t),s=o(t);return{c(){e=T("div"),i=T("span"),s.c(),u(i,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),B(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&&B(e,"mobile",l[3])},d(l){l&&P(e),s.d()}}}function G3(t){let e,i=Dt(t[1]),n=[];for(let o=0;o<i.length;o+=1)n[o]=na(ea(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=Dt(o[1]);let l;for(l=0;l<i.length;l+=1){const r=ea(o,i,l);n[l]?n[l].p(r,s):(n[l]=na(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&&P(e),pn(n,o)}}}function Y3(t){let e,i,n=Dt(t[6]),o=[];for(let s=0;s<n.length;s+=1)o[s]=la(ta(t,n,s));return{c(){e=T("span"),i=T("span");for(let s=0;s<o.length;s+=1)o[s].c();u(i,"class","caption-segment v-ovfyp5"),Pt(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=Dt(s[6]);let r;for(r=0;r<n.length;r+=1){const a=ta(s,n,r);o[r]?o[r].p(a,l):(o[r]=la(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&&Pt(i,"font-size",s[4]+"px")},d(s){s&&P(e),pn(o,s)}}}function Q3(t){let e,i,n=K("subtitles_auto_caption")+"",o;return{c(){e=T("span"),i=T("span"),o=ze(n),u(i,"class","caption-segment v-ovfyp5"),Pt(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&&Pt(i,"font-size",s[4]+"px")},d(s){s&&P(e)}}}function na(t){let e,i,n=t[16]+"",o,s;return{c(){e=T("span"),i=T("span"),o=ze(n),s=O(),u(i,"class","caption-segment v-ovfyp5"),Pt(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,r){E(l,e,r),p(e,i),p(i,o),p(e,s)},p(l,r){r&2&&n!==(n=l[16]+"")&&Xe(o,n),r&16&&Pt(i,"font-size",l[4]+"px")},d(l){l&&P(e)}}}function oa(t){let e=t[16]+"",i;return{c(){i=ze(e)},m(n,o){E(n,i,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&Xe(i,e)},d(n){n&&P(i)}}}function la(t){let e,i=(!t[17]||t[17]<=t[2])&&oa(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=oa(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(n){n&&P(e),i&&i.d(n)}}}function X3(t){let e,i=t[1].length>0&&ia(t);return{c(){e=T("div"),i&&i.c(),u(e,"class","subtitles-container v-ovfyp5"),B(e,"shifted",t[0]),B(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=ia(n),i.c(),i.m(e,null)):i&&(i.d(1),i=null),o&1&&B(e,"shifted",n[0]),o&288&&B(e,"auto",n[5]&&!n[8])},i:j,o:j,d(n){n&&P(e),i&&i.d()}}}function J3(t,e,i){let n,o,{shifted:s}=e,{captions:l}=e,{position:r}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=pt(),m=on(),h=f.state.currentSubtitle$;D(t,h,w=>i(12,n=w));const _=f.state.isAutoSubtitleCaptionVisible$;D(t,_,w=>i(8,o=w));let b,k,v,S,y;return nn(()=>{y=window.setTimeout(()=>{_.set(!1)},m.autoSubtitlesTimeout)}),jo(()=>{window.clearTimeout(y)}),t.$$set=w=>{"shifted"in w&&i(0,s=w.shifted),"captions"in w&&i(1,l=w.captions),"position"in w&&i(2,r=w.position),"playerSize"in w&&i(11,a=w.playerSize),"isMobile"in w&&i(3,c=w.isMobile)},t.$$.update=()=>{if(t.$$.dirty&2048){const w=a.width*.02;i(4,b=w<=m.minSubtitlesFontSize?m.minSubtitlesFontSize:w)}t.$$.dirty&2&&i(5,k=l.some(w=>w.type==="timestamp")),t.$$.dirty&2&&i(6,v=l.reduce((w,{type:z,value:oe})=>(z==="timestamp"?w.push({timeAppeared:Number(oe),value:""}):w.length===0?w.push({value:String(oe)}):w[w.length-1].value=String(oe),w),[])),t.$$.dirty&4096&&i(7,S=!!n.isAuto)},[s,l,r,c,b,k,v,S,o,h,_,a,n]}class c1 extends ke{constructor(e){super(),we(this,e,J3,X3,be,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},K3)}}function x3(t){He(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 sa(t){let e,i,n;return{c(){e=T("div"),i=ze("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=ze(t[1]),u(e,"class","text v-1o62kpz")},m(o,s){E(o,e,s),p(e,i),p(e,n)},p(o,s){s&2&&Xe(n,o[1])},d(o){o&&P(e)}}}function $3(t){let e,i,n,o,s,l,r=t[1]&&sa(t);return{c(){e=T("div"),i=T("div"),i.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=O(),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=ge(e,"click",t[2]),s=!0)},p(a,[c]){a[1]?r?r.p(a,c):(r=sa(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:j,o:j,d(a){a&&P(e),r&&r.d(),s=!1,l()}}}function ep(t,e,i){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function s(l){ro.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 f1 extends ke{constructor(e){super(),we(this,e,ep,$3,be,{thumbUrl:0,chromecastDeviceName:1},x3)}}function tp(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:j,i:j,o:j,d(n){n&&P(e)}}}class ip extends ke{constructor(e){super(),we(this,e,null,tp,be,{})}}function np(t){He(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 op(t){let e,i,n;return i=new ip({}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,s){E(o,e,s),F(i,e,null),n=!0},p:j,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&P(e),H(i)}}}class d1 extends ke{constructor(e){super(),we(this,e,null,op,be,{},np)}}function lp(t){He(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 sp(t){let e,i,n,o,s,l,r,a,c;return s=new Tl({}),{c(){e=T("div"),i=T("div"),n=T("div"),o=O(),U(s.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(i,"class","playButton v-17wno3"),u(e,"class","container v-17wno3"),u(e,"style",l=`background-color: #222; background-image: url('${t[0]||""}')`),B(e,"hidden",t[1])},m(f,m){E(f,e,m),p(e,i),p(i,n),p(i,o),F(s,i,null),r=!0,a||(c=ge(e,"click",it(function(){mn(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)&&B(e,"hidden",t[1])},i(f){r||(d(s.$$.fragment,f),r=!0)},o(f){g(s.$$.fragment,f),r=!1},d(f){f&&P(e),H(s),a=!1,c()}}}function rp(t,e,i){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:s}=e;return t.$$set=l=>{"thumbUrl"in l&&i(0,n=l.thumbUrl),"hidden"in l&&i(1,o=l.hidden),"startVideo"in l&&i(2,s=l.startVideo)},[n,o,s]}class m1 extends ke{constructor(e){super(),we(this,e,rp,sp,be,{thumbUrl:0,hidden:1,startVideo:2},lp)}}function ap(t){He(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 Mm(i){let e,t;return{c(){e=k("div"),t=Oe(i[0]),u(e,"class","title v-1bcvcf2"),L(e,"hidden",i[1])},m(n,o){C(n,e,o),d(e,t)},p(n,[o]){o&1&&xe(t,n[0]),o&2&&L(e,"hidden",n[1])},i:K,o:K,d(n){n&&y(e)}}}function Nm(i,e,t){let{title:n=""}=e,{isHidden:o=!1}=e;return i.$$set=l=>{"title"in l&&t(0,n=l.title),"isHidden"in l&&t(1,o=l.isHidden)},[n,o]}class Rm extends we{constructor(e){super(),ke(this,e,Nm,Mm,be,{title:0,isHidden:1},Im)}}function Bm(i){Ue(i,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function ka(i){let e,t,n,o,l,s,a;return{c(){e=k("div"),t=k("span"),n=Oe(i[0]),o=R(),l=k("span"),l.textContent=`${U("waiting_live_day_value")}`,s=R(),a=k("span"),a.textContent=`${U("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(a,"class","timer__points v-1qpxtfg")},m(r,c){C(r,e,c),d(e,t),d(t,n),d(e,o),d(e,l),C(r,s,c),C(r,a,c)},p(r,c){c&1&&xe(n,r[0])},d(r){r&&(y(e),y(s),y(a))}}}function wa(i){let e,t,n,o,l,s,a;return{c(){e=k("div"),t=k("span"),n=Oe(i[1]),o=R(),l=k("span"),l.textContent=`${U("waiting_live_hour_value")}`,s=R(),a=k("span"),a.textContent=`${U("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(a,"class","timer__points v-1qpxtfg")},m(r,c){C(r,e,c),d(e,t),d(t,n),d(e,o),d(e,l),C(r,s,c),C(r,a,c)},p(r,c){c&2&&xe(n,r[1])},d(r){r&&(y(e),y(s),y(a))}}}function ya(i){let e,t,n,o,l,s,a;return{c(){e=k("div"),t=k("span"),n=Oe(i[2]),o=R(),l=k("span"),l.textContent=`${U("waiting_live_minute_value")}`,s=R(),a=k("span"),a.textContent=`${U("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(a,"class","timer__points v-1qpxtfg")},m(r,c){C(r,e,c),d(e,t),d(t,n),d(e,o),d(e,l),C(r,s,c),C(r,a,c)},p(r,c){c&4&&xe(n,r[2])},d(r){r&&(y(e),y(s),y(a))}}}function Ca(i){let e,t,n,o,l;return{c(){e=k("div"),t=k("span"),n=Oe(i[3]),o=R(),l=k("span"),l.textContent=`${U("waiting_live_second_value")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(s,a){C(s,e,a),d(e,t),d(t,n),d(e,o),d(e,l)},p(s,a){a&8&&xe(n,s[3])},d(s){s&&y(e)}}}function zm(i){let e,t,n,o,l=i[0]&&ka(i),s=i[1]&&wa(i),a=i[2]&&ya(i),r=i[3]&&Ca(i);return{c(){e=k("div"),l&&l.c(),t=R(),s&&s.c(),n=R(),a&&a.c(),o=R(),r&&r.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){C(c,e,f),l&&l.m(e,null),d(e,t),s&&s.m(e,null),d(e,n),a&&a.m(e,null),d(e,o),r&&r.m(e,null)},p(c,[f]){c[0]?l?l.p(c,f):(l=ka(c),l.c(),l.m(e,t)):l&&(l.d(1),l=null),c[1]?s?s.p(c,f):(s=wa(c),s.c(),s.m(e,n)):s&&(s.d(1),s=null),c[2]?a?a.p(c,f):(a=ya(c),a.c(),a.m(e,o)):a&&(a.d(1),a=null),c[3]?r?r.p(c,f):(r=Ca(c),r.c(),r.m(e,null)):r&&(r.d(1),r=null)},i:K,o:K,d(c){c&&y(e),l&&l.d(),s&&s.d(),a&&a.d(),r&&r.d()}}}function Om(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,l,s,a,r,c;const f=v=>String(v).padStart(2,"0"),h=v=>{const b=Math.floor(v/86400);b&&(v-=b*86400,t(0,l=f(b)));const _=Math.floor(v/3600);t(1,s=f(_));const V=Math.floor(v/60)%60;t(2,a=f(V));const A=v%60;t(3,r=f(A))},g=()=>{const v=Math.floor(Date.now()/1e3),b=n-v;h(b),b>=1?c=requestAnimationFrame(g):o()};return Zi(()=>{c=requestAnimationFrame(g)}),yo(()=>{cancelAnimationFrame(c)}),i.$$set=v=>{"startTime"in v&&t(4,n=v.startTime),"onTimerOver"in v&&t(5,o=v.onTimerOver)},[l,s,a,r,n,o]}class Dm extends we{constructor(e){super(),ke(this,e,Om,zm,be,{startTime:4,onTimerOver:5},Bm)}}function Hm(i){let e,t,n,o,l;return{c(){e=I("svg"),t=I("path"),n=I("path"),o=I("path"),l=I("path"),u(t,"fill","#fefffe"),u(t,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),At(t,"opacity",".965"),u(n,"fill","#fefffe"),u(n,"d","M183.5 63.5c57.529-3.65 102.029 18.35 133.5 66 21.628 40.092 24.295 81.425 8 124a186.647 186.647 0 0 1-17.5 29.5 632.842 632.842 0 0 1-38-7c36.445-38.176 42.945-81.01 19.5-128.5-24.178-37.504-58.678-54.337-103.5-50.5-49.5 9.5-79 39-88.5 88.5-3.944 35.587 6.889 65.753 32.5 90.5a1149.466 1149.466 0 0 0-36 7.5c-1.53-.029-2.696-.696-3.5-2-29.298-42.431-34.631-87.764-16-136 21.866-46.852 58.366-74.185 109.5-82Z"),At(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"),At(o,"opacity",".985"),u(l,"fill","#fefffe"),u(l,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),At(l,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),At(e,"shape-rendering","geometricPrecision"),At(e,"text-rendering","geometricPrecision"),At(e,"image-rendering","optimizeQuality"),At(e,"fill-rule","evenodd"),At(e,"clip-rule","evenodd"),At(e,"width","100%"),At(e,"height","100%")},m(s,a){C(s,e,a),d(e,t),d(e,n),d(e,o),d(e,l)},p:K,i:K,o:K,d(s){s&&y(e)}}}class Fm extends we{constructor(e){super(),ke(this,e,null,Hm,be,{})}}function Um(i){Ue(i,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function qm(i){let e,t,n,o,l;return o=new Dm({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=k("div"),t=k("span"),t.textContent=`${U("waiting_live_timer_title")}`,n=R(),D(o.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(s,a){C(s,e,a),d(e,t),d(e,n),z(o,e,null),l=!0},p(s,a){const r={};a&2&&(r.startTime=s[1]||0),a&4&&(r.onTimerOver=s[3]),o.$set(r)},i(s){l||(m(o.$$.fragment,s),l=!0)},o(s){p(o.$$.fragment,s),l=!1},d(s){s&&y(e),O(o)}}}function Wm(i){let e,t,n,o,l,s;return n=new Fm({}),{c(){e=k("div"),t=k("div"),D(n.$$.fragment),o=R(),l=k("span"),l.textContent=`${U("waiting_live_upcoming_title")}`,u(t,"class","upcoming-icon v-15pewff"),u(l,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(a,r){C(a,e,r),d(e,t),z(n,t,null),d(e,o),d(e,l),s=!0},p:K,i(a){s||(m(n.$$.fragment,a),s=!0)},o(a){p(n.$$.fragment,a),s=!1},d(a){a&&y(e),O(n)}}}function jm(i){let e,t,n,o,l;const s=[Wm,qm],a=[];function r(c,f){return c[2]?0:1}return t=r(i),n=a[t]=s[t](i),{c(){e=k("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${i[2]?"":i[0]})`)},m(c,f){C(c,e,f),a[t].m(e,null),l=!0},p(c,[f]){let h=t;t=r(c),t===h?a[t].p(c,f):(he(),p(a[h],1,1,()=>{a[h]=null}),pe(),n=a[t],n?n.p(c,f):(n=a[t]=s[t](c),n.c()),m(n,1),n.m(e,null)),(!l||f&5&&o!==(o=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",o)},i(c){l||(m(n),l=!0)},o(c){p(n),l=!1},d(c){c&&y(e),a[t].d()}}}function Zm(i,e,t){let n,{thumbUrl:o}=e,{startTime:l}=e;const s=()=>t(2,n=!0);return i.$$set=a=>{"thumbUrl"in a&&t(0,o=a.thumbUrl),"startTime"in a&&t(1,l=a.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=l===void 0||l<Math.floor(Date.now()/1e3))},[o,l,n,s]}class w1 extends we{constructor(e){super(),ke(this,e,Zm,jm,be,{thumbUrl:0,startTime:1},Um)}}function Gm(i){Ue(i,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function Km(i){let e,t;return{c(){e=k("div"),t=k("p"),t.textContent=`${U("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class y1 extends we{constructor(e){super(),ke(this,e,null,Km,be,{},Gm)}}const{window:Ym}=ur;function Qm(i){Ue(i,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function Pa(i){let e,t;return e=new w1({props:{thumbUrl:i[3],startTime:i[5]?.startTime}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8&&(l.thumbUrl=n[3]),o[0]&32&&(l.startTime=n[5]?.startTime),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Sa(i){let e,t;return e=new y1({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ta(i){let e,t,n;return t=new zr({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),L(e,"hidden",i[36]!==ze.Ads)},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&512&&(s.adsSlotId=o[9]),l[0]&1024&&(s.adsParams=o[10]),l[0]&2048&&(s.adsPreviewParam=o[11]),l[0]&4096&&(s.duration=o[12]),t.$set(s),(!n||l[1]&32)&&L(e,"hidden",o[36]!==ze.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Aa(i){let e,t;return e=new Mc({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&262144&&(l.title=n[18]),o[0]&524288&&(l.thumb=n[19]),o[0]&8388608&&(l.playNextVideo=n[23]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ea(i){let e,t;return e=new Rm({props:{title:i[2],isHidden:!i[34]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.title=n[2]),o[1]&8&&(l.isHidden=!n[34]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function La(i){let e,t;return e=new g1({props:{isShifted:i[36]===ze.Video&&i[34]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&40&&(l.isShifted=n[36]===ze.Video&&n[34]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Va(i){let e,t,n;return t=new Er({props:{ariaLabel:U("video360")}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Ia(i){let e,t;return e=new v1({props:{thumbUrl:i[3],chromecastDeviceName:i[54]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8&&(l.thumbUrl=n[3]),o[1]&8388608&&(l.chromecastDeviceName=n[54]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ma(i){let e,t;return e=new b1({props:{shifted:i[34],captions:i[56],position:i[57],playerSize:i[32]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&8&&(l.shifted=n[34]),o[1]&33554432&&(l.captions=n[56]),o[1]&67108864&&(l.position=n[57]),o[1]&2&&(l.playerSize=n[32]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Na(i){let e,t;return e=new Or({props:{showControls:i[34]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&8&&(l.showControls=n[34]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ra(i){let e,t,n,o,l;return t=new _1({}),{c(){e=k("div"),D(t.$$.fragment)},m(s,a){C(s,e,a),z(t,e,null),n=!0,o||(l=[Ee(e,"contextmenu",ci(i[106])),Ee(e,"click",ut(i[117]))],o=!0)},p:K,i(s){n||(m(t.$$.fragment,s),n=!0)},o(s){p(t.$$.fragment,s),n=!1},d(s){s&&y(e),O(t),o=!1,Xt(l)}}}function Ba(i){let e,t;return e=new Zr({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function za(i){let e,t;return e=new ef({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Oa(i){let e,t;return e=new Fr({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Da(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z;e=new k1({props:{hidden:i[36]!==ze.Thumb||i[35]||i[92]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let ie=i[36]===ze.WaitingLive&&Pa(i),G=i[36]===ze.WaitingRecord&&Sa(),J=i[8]&&i[22]&&Ta(i),ce=i[31]&&i[18]&&i[19]&&Aa(i),w=i[44]&&Ea(i),le=i[50]&&La(i),de=i[53]&&Va(),_e=i[37]&&Ia(i),Ne=i[55].value!=="off"&&Ma(i),Le=i[1].features.annotations&&Na(i),ye=i[35]&&Ra(i);function H(N){i[146](N)}let M={bottomHidden:i[36]===ze.Thumb||i[36]===ze.WaitingLive||i[36]===ze.WaitingRecord,bottomNoSmooth:i[51],showControls:i[34],isAds:i[36]===ze.Ads,canRewindLive:i[7]&&i[58]!==0,logoClickable:i[13],logoHidden:i[14],videoLogoUrl:i[4],showNextPrevButtons:i[15],nextButtonActive:i[16],prevButtonActive:i[17],isOneVideoPlaylist:i[20],supportLink:i[21],customFullscreenSupported:xm,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[104],returnFocus:i[145],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};i[39]!==void 0&&(M.controlsElementRef=i[39]),b=new h1({props:M}),je.push(()=>vt(b,"controlsElementRef",H)),A=new Hr({props:{isLive:i[59],isHidden:!i[43],isPlaying:i[60],position:i[57],duration:i[61]}}),P=new fm({props:{data:i[101]}}),W=new fc({props:{supportLink:i[21],returnFocus:i[147],visible:i[49],playerContainerRef:i[38],controlsContainerRef:i[39],x:i[40],y:i[41]}});let Y=i[42]&&Ba(),ge=i[62]&&za(),ee=i[63]&&Oa();return{c(){D(e.$$.fragment),t=R(),ie&&ie.c(),n=R(),G&&G.c(),o=R(),J&&J.c(),l=R(),ce&&ce.c(),s=R(),w&&w.c(),a=R(),le&&le.c(),r=R(),de&&de.c(),c=R(),_e&&_e.c(),f=R(),Ne&&Ne.c(),h=R(),Le&&Le.c(),g=R(),ye&&ye.c(),v=R(),D(b.$$.fragment),V=R(),D(A.$$.fragment),S=R(),D(P.$$.fragment),B=R(),D(W.$$.fragment),X=R(),Y&&Y.c(),j=R(),ge&&ge.c(),T=R(),ee&&ee.c(),te=ht()},m(N,Q){z(e,N,Q),C(N,t,Q),ie&&ie.m(N,Q),C(N,n,Q),G&&G.m(N,Q),C(N,o,Q),J&&J.m(N,Q),C(N,l,Q),ce&&ce.m(N,Q),C(N,s,Q),w&&w.m(N,Q),C(N,a,Q),le&&le.m(N,Q),C(N,r,Q),de&&de.m(N,Q),C(N,c,Q),_e&&_e.m(N,Q),C(N,f,Q),Ne&&Ne.m(N,Q),C(N,h,Q),Le&&Le.m(N,Q),C(N,g,Q),ye&&ye.m(N,Q),C(N,v,Q),z(b,N,Q),C(N,V,Q),z(A,N,Q),C(N,S,Q),z(P,N,Q),C(N,B,Q),z(W,N,Q),C(N,X,Q),Y&&Y.m(N,Q),C(N,j,Q),ge&&ge.m(N,Q),C(N,T,Q),ee&&ee.m(N,Q),C(N,te,Q),Z=!0},p(N,Q){const Ie={};Q[0]&64|Q[1]&48&&(Ie.hidden=N[36]!==ze.Thumb||N[35]||N[92]&&N[6]),Q[0]&8&&(Ie.thumbUrl=N[3]),Q[0]&536870912&&(Ie.startVideo=N[29]),e.$set(Ie),N[36]===ze.WaitingLive?ie?(ie.p(N,Q),Q[1]&32&&m(ie,1)):(ie=Pa(N),ie.c(),m(ie,1),ie.m(n.parentNode,n)):ie&&(he(),p(ie,1,1,()=>{ie=null}),pe()),N[36]===ze.WaitingRecord?G?Q[1]&32&&m(G,1):(G=Sa(),G.c(),m(G,1),G.m(o.parentNode,o)):G&&(he(),p(G,1,1,()=>{G=null}),pe()),N[8]&&N[22]?J?(J.p(N,Q),Q[0]&4194560&&m(J,1)):(J=Ta(N),J.c(),m(J,1),J.m(l.parentNode,l)):J&&(he(),p(J,1,1,()=>{J=null}),pe()),N[31]&&N[18]&&N[19]?ce?(ce.p(N,Q),Q[0]&786432|Q[1]&1&&m(ce,1)):(ce=Aa(N),ce.c(),m(ce,1),ce.m(s.parentNode,s)):ce&&(he(),p(ce,1,1,()=>{ce=null}),pe()),N[44]?w?(w.p(N,Q),Q[1]&8192&&m(w,1)):(w=Ea(N),w.c(),m(w,1),w.m(a.parentNode,a)):w&&(he(),p(w,1,1,()=>{w=null}),pe()),N[50]?le?(le.p(N,Q),Q[1]&524288&&m(le,1)):(le=La(N),le.c(),m(le,1),le.m(r.parentNode,r)):le&&(he(),p(le,1,1,()=>{le=null}),pe()),N[53]?de?(de.p(N,Q),Q[1]&4194304&&m(de,1)):(de=Va(),de.c(),m(de,1),de.m(c.parentNode,c)):de&&(he(),p(de,1,1,()=>{de=null}),pe()),N[37]?_e?(_e.p(N,Q),Q[1]&64&&m(_e,1)):(_e=Ia(N),_e.c(),m(_e,1),_e.m(f.parentNode,f)):_e&&(he(),p(_e,1,1,()=>{_e=null}),pe()),N[55].value!=="off"?Ne?(Ne.p(N,Q),Q[1]&16777216&&m(Ne,1)):(Ne=Ma(N),Ne.c(),m(Ne,1),Ne.m(h.parentNode,h)):Ne&&(he(),p(Ne,1,1,()=>{Ne=null}),pe()),N[1].features.annotations?Le?(Le.p(N,Q),Q[0]&2&&m(Le,1)):(Le=Na(N),Le.c(),m(Le,1),Le.m(g.parentNode,g)):Le&&(he(),p(Le,1,1,()=>{Le=null}),pe()),N[35]?ye?(ye.p(N,Q),Q[1]&16&&m(ye,1)):(ye=Ra(N),ye.c(),m(ye,1),ye.m(v.parentNode,v)):ye&&(he(),p(ye,1,1,()=>{ye=null}),pe());const Ce={};Q[1]&32&&(Ce.bottomHidden=N[36]===ze.Thumb||N[36]===ze.WaitingLive||N[36]===ze.WaitingRecord),Q[1]&1048576&&(Ce.bottomNoSmooth=N[51]),Q[1]&8&&(Ce.showControls=N[34]),Q[1]&32&&(Ce.isAds=N[36]===ze.Ads),Q[0]&128|Q[1]&134217728&&(Ce.canRewindLive=N[7]&&N[58]!==0),Q[0]&8192&&(Ce.logoClickable=N[13]),Q[0]&16384&&(Ce.logoHidden=N[14]),Q[0]&16&&(Ce.videoLogoUrl=N[4]),Q[0]&32768&&(Ce.showNextPrevButtons=N[15]),Q[0]&65536&&(Ce.nextButtonActive=N[16]),Q[0]&131072&&(Ce.prevButtonActive=N[17]),Q[0]&1048576&&(Ce.isOneVideoPlaylist=N[20]),Q[0]&2097152&&(Ce.supportLink=N[21]),Q[0]&8388608&&(Ce.playNextVideo=N[23]),Q[0]&16777216&&(Ce.playPrevVideo=N[24]),Q[0]&33554432&&(Ce.repeatPlaylist=N[25]),Q[1]&131072&&(Ce.returnFocus=N[145]),Q[0]&67108864&&(Ce.seekToInteractive=N[26]),Q[0]&134217728&&(Ce.toggleGraph=N[27]),Q[0]&268435456&&(Ce.playPrevChapter=N[28]),!_&&Q[1]&256&&(_=!0,Ce.controlsElementRef=N[39],bt(()=>_=!1)),b.$set(Ce);const Ae={};Q[1]&268435456&&(Ae.isLive=N[59]),Q[1]&4096&&(Ae.isHidden=!N[43]),Q[1]&536870912&&(Ae.isPlaying=N[60]),Q[1]&67108864&&(Ae.position=N[57]),Q[1]&1073741824&&(Ae.duration=N[61]),A.$set(Ae);const x={};Q[0]&2097152&&(x.supportLink=N[21]),Q[1]&131072&&(x.returnFocus=N[147]),Q[1]&262144&&(x.visible=N[49]),Q[1]&128&&(x.playerContainerRef=N[38]),Q[1]&256&&(x.controlsContainerRef=N[39]),Q[1]&512&&(x.x=N[40]),Q[1]&1024&&(x.y=N[41]),W.$set(x),N[42]?Y?Q[1]&2048&&m(Y,1):(Y=Ba(),Y.c(),m(Y,1),Y.m(j.parentNode,j)):Y&&(he(),p(Y,1,1,()=>{Y=null}),pe()),N[62]?ge?Q[2]&1&&m(ge,1):(ge=za(),ge.c(),m(ge,1),ge.m(T.parentNode,T)):ge&&(he(),p(ge,1,1,()=>{ge=null}),pe()),N[63]?ee?Q[2]&2&&m(ee,1):(ee=Oa(),ee.c(),m(ee,1),ee.m(te.parentNode,te)):ee&&(he(),p(ee,1,1,()=>{ee=null}),pe())},i(N){Z||(m(e.$$.fragment,N),m(ie),m(G),m(J),m(ce),m(w),m(le),m(de),m(_e),m(Ne),m(Le),m(ye),m(b.$$.fragment,N),m(A.$$.fragment,N),m(P.$$.fragment,N),m(W.$$.fragment,N),m(Y),m(ge),m(ee),Z=!0)},o(N){p(e.$$.fragment,N),p(ie),p(G),p(J),p(ce),p(w),p(le),p(de),p(_e),p(Ne),p(Le),p(ye),p(b.$$.fragment,N),p(A.$$.fragment,N),p(P.$$.fragment,N),p(W.$$.fragment,N),p(Y),p(ge),p(ee),Z=!1},d(N){N&&(y(t),y(n),y(o),y(l),y(s),y(a),y(r),y(c),y(f),y(h),y(g),y(v),y(V),y(S),y(B),y(X),y(j),y(T),y(te)),O(e,N),ie&&ie.d(N),G&&G.d(N),J&&J.d(N),ce&&ce.d(N),w&&w.d(N),le&&le.d(N),de&&de.d(N),_e&&_e.d(N),Ne&&Ne.d(N),Le&&Le.d(N),ye&&ye.d(N),O(b,N),O(A,N),O(P,N),O(W,N),Y&&Y.d(N),ge&&ge.d(N),ee&&ee.d(N)}}}function Xm(i){let e,t,n,o,l=i[52],s,a,r,c,f=Da(i);return{c(){e=k("div"),t=k("div"),o=R(),f.c(),s=ht(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[33]}deg) scale(${i[46]})`),L(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),L(e,"hidden",i[36]!==ze.Video),L(e,"nocursor",i[45])},m(h,g){C(h,e,g),d(e,t),i[144](t),C(h,o,g),f.m(h,g),C(h,s,g),a=!0,r||(c=[Ee(e,"contextmenu",ci(i[106])),Ee(e,"mousedown",ci(i[111])),Ee(e,"mouseup",ci(i[112])),Ee(e,"click",ci(i[114])),Ee(e,"dblclick",ci(i[113]))],r=!0)},p(h,g){(!a||g[1]&32772&&n!==(n=`transform: rotate(${h[33]}deg) scale(${h[46]})`))&&u(t,"style",n),(!a||g[0]&2)&&L(t,"fast-rotate",!h[1].isSmoothVideoRotate),(!a||g[1]&32)&&L(e,"hidden",h[36]!==ze.Video),(!a||g[1]&16384)&&L(e,"nocursor",h[45]),g[1]&2097152&&be(l,l=h[52])?(he(),p(f,1,1,K),pe(),f=Da(h),f.c(),m(f,1),f.m(s.parentNode,s)):f.p(h,g)},i(h){a||(m(f),a=!0)},o(h){p(f),a=!1},d(h){h&&(y(e),y(o),y(s)),i[144](null),f.d(h),r=!1,Xt(c)}}}function Jm(i){let e,t,n,o,l,s,a,r={toggleFullscreen:i[104],hideContextMenu:i[105],showHotKeyHelpers:i[115],showKeyMap:i[116],isAds:i[36]===ze.Ads,fakePlayButtonHandler:i[47]?i[103]:void 0,$$slots:{default:[Xm]},$$scope:{ctx:i}};return t=new zc({props:r}),i[148](t),{c(){e=k("div"),D(t.$$.fragment),n=R(),o=k("div"),u(o,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){C(c,e,f),z(t,e,null),d(e,n),d(e,o),i[149](o),i[150](e),l=!0,s||(a=[Ee(Ym,"blur",i[105]),Ee(e,"mouseenter",i[107]),Ee(e,"mouseleave",i[109]),Ee(e,"mousemove",i[110]),Ee(e,"click",i[118],!0),Ee(e,"focusin",i[108],!0)],s=!0)},p(c,f){const h={};f[1]&32&&(h.isAds=c[36]===ze.Ads),f[1]&65536&&(h.fakePlayButtonHandler=c[47]?c[103]:void 0),f[0]&1073741823|f[1]&2147418111|f[2]&3|f[5]&65536&&(h.$$scope={dirty:f,ctx:c}),t.$set(h)},i(c){l||(m(t.$$.fragment,c),l=!0)},o(c){p(t.$$.fragment,c),l=!1},d(c){c&&y(e),i[148](null),O(t),i[149](null),i[150](null),s=!1,Xt(a)}}}let xm=!0;function C1(i){return i?i.offsetTop+C1(i.offsetParent):0}function $m(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z,ie,G,J,ce,w,le,de,_e,Ne,Le,ye,H,M,{store:Y}=e,{uiConfig:ge}=e,{title:ee}=e,{thumbUrl:N}=e,{videoLogoUrl:Q}=e,{videoContainer:Ie}=e,{interactiveContainer:Ce}=e,{live:Ae}=e,{autoplay:x}=e,{canRewindLive:se}=e,{showAds:ve}=e,{adsSlotId:re=void 0}=e,{adsParams:qe=void 0}=e,{adsPreviewParam:We=void 0}=e,{duration:$e=void 0}=e,{logoClickable:it}=e,{logoHidden:Be}=e,{showNextPrevButtons:rt=!1}=e,{nextButtonActive:St=!1}=e,{prevButtonActive:Re=!1}=e,{endScreenVideoTitle:Ve=void 0}=e,{endScreenVideoThumb:wt=void 0}=e,{isOneVideoPlaylist:zt=!1}=e,{supportLink:mt}=e,{outerContainerRef:lt=void 0}=e,{playerStarted:ue=!1}=e,{fullScreenTarget:et=void 0}=e,{showMiniTimer:Qe=!1}=e,{playNextVideo:nt=ne.noop}=e,{playPrevVideo:Ke=ne.noop}=e,{repeatPlaylist:dt=ne.noop}=e,{seekToInteractive:tt}=e,{toggleGraph:Mt}=e,{playPrevChapter:yt}=e,{firstStart:ot}=e;const Ot=Y.getLogger().createComponentLog("Root component"),ct=Y.interfaceLanguage$;F(i,ct,q=>t(52,G=q));const Ze=Y.state.playbackState$;F(i,Ze,q=>t(141,te=q));const Tt=Y.ads.playbackState;F(i,Tt,q=>t(142,Z=q));const st=Y.state.positionWithScrubbing$;F(i,st,q=>t(57,de=q));const ii=Y.state.duration$;F(i,ii,q=>t(61,ye=q));const me=Y.playerPhase;F(i,me,q=>t(36,B=q));const Pe=Y.ui.isFullscreen;F(i,Pe,q=>t(131,c=q));const Me=Y.ui.controlsVisible;F(i,Me,q=>t(34,_=q));const Pt=Y.ui.settingsMenuVisible;F(i,Pt,q=>t(129,n=q));const Vi=Y.ui.scrubbingInProgress;F(i,Vi,q=>t(133,v=q));const Jt=Y.ui.contextMenuVisible;F(i,Jt,q=>t(49,o=q));const bi=Y.ui.debugPanelVisible;F(i,bi,q=>t(63,M=q));const Ii=Y.state.isLoaderVisible;F(i,Ii,q=>t(143,ie=q));const Lt=Y.state.isEnded$;F(i,Lt,q=>t(130,s=q));const Se=Y.state.chromecastConnected$;F(i,Se,q=>t(37,j=q));const Nt=Y.state.chromecastDeviceName$;F(i,Nt,q=>t(54,ce=q));const Mi=Y.ads.postrollPassed;F(i,Mi,q=>t(136,S=q));const ni=Y.state.isLive$;F(i,ni,q=>t(59,Ne=q));const vi=Y.state.isPlaying$;F(i,vi,q=>t(60,Le=q));const _i=Y.state.crashed$;F(i,_i,q=>t(35,A=q));const ki=Y.webApi.pictureInPictureApi,oi=Y.state.currentSubtitle$;F(i,oi,q=>t(55,w=q));const Ki=Y.state.currentSubtitleCaptions$;F(i,Ki,q=>t(56,le=q));const di=Y.state.duration$;F(i,di,q=>t(58,_e=q));const wi=Y.state.graphIsOpened$;F(i,wi,q=>t(137,P=q));const yi=Y.ui.playerSize;F(i,yi,q=>t(32,r=q));const Ni=Y.ui.is3DVideo;F(i,Ni,q=>t(50,a=q));const Ci=Y.ui.icon3DVideoVisible;F(i,Ci,q=>t(53,J=q));const qi=Y.ui.rotateAlpha;F(i,qi,q=>t(33,g=q));const xt=Y.state.isInteractive,li=Y.state.isInteractiveTime$;F(i,li,q=>t(134,b=q));const Pi=Y.state.isInteractiveExpectation$;F(i,Pi,q=>t(140,T=q));const Dt=Y.state.hasInteractiveBranches,Ct=Y.ui.touched;F(i,Ct,q=>t(138,W=q));const Ht=Y.ui.modals.hotKeyMap.data;F(i,Ht,q=>t(157,l=q));const Ri=Y.ui.modals.hotKeyMap.show;F(i,Ri,q=>t(62,H=q));const Yi=Y.ui.overlayContainer$,{fakeIsPlaying$:Bi}=vr();F(i,Bi,q=>t(132,h=q));let $t,Fi,Wi=0,si=0,zi,Si,Ti;Ht.set(Nu());let Ai,mi;const Ft=He(!1);F(i,Ft,q=>t(51,f=q));let ai;const hi=He(!1);F(i,hi,q=>t(139,X=q));const Ut=He(),qt=He(!1);F(i,qt,q=>t(135,V=q));let ei=!1,ri=!1,Wt,pi,ti,Oi,Ei,ji,Di=!1,ui,Ui=!1;const{toggle:Li}=Bi;let ae=!1,jt=null,Hi;ki?.setContext(cr());const Qi=()=>{x&&!xt&&Zt(ge.controls.hideTimeout)};Y.setUiCallbacks({onStarted:Qi});const sn=()=>{window.clearTimeout(zi),hi.set(!1)},an=()=>{window.clearTimeout(Si),Ut.set(null)},Zt=q=>{sn(),hi.set(!0),zi=window.setTimeout(()=>hi.set(!1),q);const Gt=q-100;ai=window.setTimeout(()=>{f&&Ft.set(!1)},Gt>0?Gt:q)},Cn=(q,Gt)=>{an(),Ut.set(Gt),Si=window.setTimeout(()=>Ut.set(null),q)},Pn=Ni.subscribe(q=>{Ci.set(q),q&&(window.clearTimeout(Ti),Ti=window.setTimeout(()=>Ci.set(!1),ge.controls.hide360IconTimeout))}),rn=async()=>{const q=oo();if(q){Zt(ge.controls.hideTimeoutFullscreen);try{await ki?.remove()}catch(Gt){Ot({message:String(Gt)})}}Pe.set(q),Y.getAdmanWrapper().setFullscreen(q),c?Y.callbacks?.onFullscreenEnter?.():Y.callbacks?.onFullscreenExit?.()},_n=q=>{const Gt=q;yi.set({width:Gt.target.width,height:Gt.target.height})};Zi(()=>(Rr(rn),_o(ki)&&(ki?.assignPlayerContainer($t),ki?.registryExternalEventHandlers({resize:_n})),Ce&&Ie.parentElement?.insertBefore(Ce,Ie.nextSibling),()=>{window.clearTimeout(zi),window.clearTimeout(ai),window.clearTimeout(Si),window.clearTimeout(Ti),Pn(),ki?.dispose(),Br(rn)}));const nn=async()=>{if(oo())await Nr(document),Ot({message:"exit fullscreen"});else{Ot({message:"request fullscreen"});const q=lt??$t,Gt=q.getRootNode(),Rn=Gt instanceof ShadowRoot?Gt.host:Gt,Bn=et instanceof HTMLElement&&et.contains(Rn),ao=ge.allowChangingFullscreenTarget&&et&&Bn?et:q;await Mr(ao)}},Ji=()=>{Pt.set(!1),Jt.set(!1)},Sn=q=>{Jt.set(!0),t(40,Wi=q.clientX),t(41,si=q.clientY)};function $(){qt.set(!0),xt||Zt(ge.controls.hideTimeoutCursor)}function kt(){xt||(Ft.set(!0),Zt(ge.controls.hideTimeoutCursor))}function Tn(){qt.set(!1),t(125,ri=!1),t(124,ei=!1),ae=!1,Y.actions.internal.releaseCamera()}function An(q){if($t){const Gt=C1(q.currentTarget),Rn=r.height,Bn=q.pageY-Gt;Bn<al?t(125,ri=!0):Bn>Rn-al?t(124,ei=!0):(t(125,ri=!1),n||t(124,ei=!1))}}function En(q){An(q),pi||Zt(ge.controls.hideTimeoutCursor),a&&ae&&jt&&Y.actions.internal.moveCameraFocusPX(jt.clientX-q.clientX,jt.clientY-q.clientY,q.timeStamp-jt.timeStamp),jt=q}const Kn=q=>{q.button===0&&(ae=!0,Y.actions.internal.holdCamera()),Zt(ge.controls.hideTimeoutCursor)},Yn=q=>{q.button===0&&(jt=q,ae=!1,Y.actions.internal.releaseCamera()),Zt(ge.controls.hideTimeoutCursor)},Qn=()=>{Ot({message:"double click on video"}),nn(),Zt(ge.controls.hideTimeoutCursor)},Xn=()=>{if(o||n){Ji();return}if(!(s&&!Dt)){if(Ui)return Li();if(Hi?.focus(),!ue){ot(),Zt(ge.controls.hideTimeoutCursor);return}Y.actions.internal.togglePlay(),Zt(ge.controls.hideTimeoutCursor)}},Jn=q=>{Ji(),Ct.set(!0),Zt(ge.controls.hideTimeout),q&&Cn(ge.controls.hideHotKeyHelpers,q)},Nn=()=>{Ji(),Y.callbacks?.onOpenHotKeyMap?Y.callbacks?.onOpenHotKeyMap(l):Ri.update(q=>!q)},xn=()=>{if(o||n){Ji();return}},oe=()=>{Ct.set(!0)};function xi(q){je[q?"unshift":"push"](()=>{Ie=q,t(0,Ie)})}const at=()=>Hi?.focus();function Rt(q){Fi=q,t(39,Fi)}const $i=()=>Hi?.focus();function un(q){je[q?"unshift":"push"](()=>{Hi=q,t(48,Hi)})}function $n(q){je[q?"unshift":"push"](()=>{mi=q,t(30,mi)})}function Ln(q){je[q?"unshift":"push"](()=>{$t=q,t(38,$t)})}return i.$$set=q=>{"store"in q&&t(119,Y=q.store),"uiConfig"in q&&t(1,ge=q.uiConfig),"title"in q&&t(2,ee=q.title),"thumbUrl"in q&&t(3,N=q.thumbUrl),"videoLogoUrl"in q&&t(4,Q=q.videoLogoUrl),"videoContainer"in q&&t(0,Ie=q.videoContainer),"interactiveContainer"in q&&t(120,Ce=q.interactiveContainer),"live"in q&&t(5,Ae=q.live),"autoplay"in q&&t(6,x=q.autoplay),"canRewindLive"in q&&t(7,se=q.canRewindLive),"showAds"in q&&t(8,ve=q.showAds),"adsSlotId"in q&&t(9,re=q.adsSlotId),"adsParams"in q&&t(10,qe=q.adsParams),"adsPreviewParam"in q&&t(11,We=q.adsPreviewParam),"duration"in q&&t(12,$e=q.duration),"logoClickable"in q&&t(13,it=q.logoClickable),"logoHidden"in q&&t(14,Be=q.logoHidden),"showNextPrevButtons"in q&&t(15,rt=q.showNextPrevButtons),"nextButtonActive"in q&&t(16,St=q.nextButtonActive),"prevButtonActive"in q&&t(17,Re=q.prevButtonActive),"endScreenVideoTitle"in q&&t(18,Ve=q.endScreenVideoTitle),"endScreenVideoThumb"in q&&t(19,wt=q.endScreenVideoThumb),"isOneVideoPlaylist"in q&&t(20,zt=q.isOneVideoPlaylist),"supportLink"in q&&t(21,mt=q.supportLink),"outerContainerRef"in q&&t(121,lt=q.outerContainerRef),"playerStarted"in q&&t(22,ue=q.playerStarted),"fullScreenTarget"in q&&t(122,et=q.fullScreenTarget),"showMiniTimer"in q&&t(123,Qe=q.showMiniTimer),"playNextVideo"in q&&t(23,nt=q.playNextVideo),"playPrevVideo"in q&&t(24,Ke=q.playPrevVideo),"repeatPlaylist"in q&&t(25,dt=q.repeatPlaylist),"seekToInteractive"in q&&t(26,tt=q.seekToInteractive),"toggleGraph"in q&&t(27,Mt=q.toggleGraph),"playPrevChapter"in q&&t(28,yt=q.playPrevChapter),"firstStart"in q&&t(29,ot=q.firstStart)},i.$$.update=()=>{i.$$.dirty[1]&48|i.$$.dirty[4]&786432&&t(42,Ai=(B===ze.Video&&ie||B===ze.Ads&&Z===Bt.INACTIVE)&&!A),i.$$.dirty[0]&1073741824&&Yi.set(mi),i.$$.dirty[4]&131072&&t(126,Wt=te!==Je.PlaybackState.PLAYING),i.$$.dirty[4]&66567&&t(127,pi=b&&!(ei||ri)&&!(Wt&&!T)),i.$$.dirty[1]&112|i.$$.dirty[4]&33324&&Me.set((Wt||n||v||j||X)&&!pi&&B===ze.Video&&!A),i.$$.dirty[0]&2|i.$$.dirty[1]&56|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&16384&&t(43,ti=ge.features.thumbTimer&&Qe&&B===ze.Video&&!_&&!A&&!xt&&(ge.hideThumbTimerAfterTouch&&!W||!ge.hideThumbTimerAfterTouch)),i.$$.dirty[1]&32|i.$$.dirty[4]&8320&&t(44,Oi=B===ze.Video&&!P&&c),i.$$.dirty[0]&256|i.$$.dirty[1]&16|i.$$.dirty[4]&4160&&t(31,Ei=(ve&&S||!ve)&&s&&!A),i.$$.dirty[1]&9|i.$$.dirty[4]&3072&&t(45,ji=V&&!(_||Ei)&&!b),i.$$.dirty[0]&2|i.$$.dirty[4]&1552&&(!v&&Di&&!b&&Zt(ge.controls.hideTimeoutCursor),t(128,Di=v)),i.$$.dirty[0]&1|i.$$.dirty[1]&6&&t(46,ui=Ie&&g%180?r.height/r.width:1),i.$$.dirty[4]&256&&t(47,Ui=h!==null)},[Ie,ge,ee,N,Q,Ae,x,se,ve,re,qe,We,$e,it,Be,rt,St,Re,Ve,wt,zt,mt,ue,nt,Ke,dt,tt,Mt,yt,ot,mi,Ei,r,g,_,A,B,j,$t,Fi,Wi,si,Ai,ti,Oi,ji,ui,Ui,Hi,o,a,f,G,J,ce,w,le,de,_e,Ne,Le,ye,H,M,ct,Ze,Tt,st,ii,me,Pe,Me,Pt,Vi,Jt,bi,Ii,Lt,Se,Nt,Mi,ni,vi,_i,oi,Ki,di,wi,yi,Ni,Ci,qi,xt,li,Pi,Ct,Ht,Ri,Bi,Ft,hi,Ut,qt,Li,nn,Ji,Sn,$,kt,Tn,En,Kn,Yn,Qn,Xn,Jn,Nn,xn,oe,Y,Ce,lt,et,Qe,ei,ri,Wt,pi,Di,n,s,c,h,v,b,V,S,P,W,X,T,te,Z,ie,xi,at,Rt,$i,un,$n,Ln]}class e3 extends we{constructor(e){super(),ke(this,e,$m,Jm,be,{store:119,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:120,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:121,playerStarted:22,fullScreenTarget:122,showMiniTimer:123,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},Qm,[-1,-1,-1,-1,-1,-1])}}const t3=i=>{if(!ne.isIOS(!0))return!1;const e=i.device===ne.CurrentClientDevice.iPad||window?.screen.width>700,t=ne.getIOSVersion();return!e||e&&!!t&&t<16};function i3(i){Ue(i,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function Ha(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V=U("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",A;return{c(){e=k("div"),n=R(),o=k("div"),l=k("div"),s=k("div"),r=R(),c=k("div"),h=R(),g=k("div"),b=R(),_=k("p"),A=Oe(V),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(s,"class",a="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(g,"class",v="triangle "+i[0]+" v-nhq2ld"),u(l,"class","triangles-wrapper v-nhq2ld"),u(_,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(S,P){C(S,e,P),C(S,n,P),C(S,o,P),d(o,l),d(l,s),d(l,r),d(l,c),d(l,h),d(l,g),d(o,b),d(o,_),d(_,A)},p(S,P){P&1&&t!==(t="semicircle "+S[0]+" v-nhq2ld")&&u(e,"class",t),P&1&&a!==(a="triangle "+S[0]+" v-nhq2ld")&&u(s,"class",a),P&1&&f!==(f="triangle "+S[0]+" v-nhq2ld")&&u(c,"class",f),P&1&&v!==(v="triangle "+S[0]+" v-nhq2ld")&&u(g,"class",v),P&2&&V!==(V=U("doubletap_seek_step",{seconds:S[1].toFixed(0)})+"")&&xe(A,V)},d(S){S&&(y(e),y(n),y(o))}}}function n3(i){let e,t,n,o,l=i[2]&&Ha(i);return{c(){e=k("div"),l&&l.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(s,a){C(s,e,a),l&&l.m(e,null),n||(o=Ee(e,"click",ut(i[3]())),n=!0)},p(s,[a]){s[2]?l?l.p(s,a):(l=Ha(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),a&1&&t!==(t="double-click-area "+s[0]+" v-nhq2ld")&&u(e,"class",t)},i:K,o:K,d(s){s&&y(e),l&&l.d(),n=!1,o()}}}function o3(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:l}=e,{handleSecondClick:s}=e,a=!1,r=0,c=0;const f=()=>{let g=0;return()=>{g+=1,g===1?r=window.setTimeout(()=>{l(),g=0},300):(window.clearTimeout(r),g=0,s(),t(2,a=!0),c=window.setTimeout(()=>{t(2,a=!1)},500))}};return yo(()=>{window.clearTimeout(r),window.clearTimeout(c)}),i.$$set=h=>{"side"in h&&t(0,n=h.side),"seekStep"in h&&t(1,o=h.seekStep),"handleSingleFirstClick"in h&&t(4,l=h.handleSingleFirstClick),"handleSecondClick"in h&&t(5,s=h.handleSecondClick)},[n,o,a,f,l,s]}class P1 extends we{constructor(e){super(),ke(this,e,o3,n3,be,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},i3)}}function l3(i,e,t){let{playNextVideo:n}=e;return Zi(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class s3 extends we{constructor(e){super(),ke(this,e,l3,null,be,{playNextVideo:0})}}const{window:a3}=ur;function r3(i){Ue(i,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function Fa(i){let e,t,n,o;e=new P1({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[127]}});let l=!i[48]&&Ua(i);return{c(){D(e.$$.fragment),t=R(),l&&l.c(),n=ht()},m(s,a){z(e,s,a),C(s,t,a),l&&l.m(s,a),C(s,n,a),o=!0},p(s,a){const r={};a[0]&2&&(r.seekStep=s[1].controls.seekStepMobile/1e3),e.$set(r),s[48]?l&&(he(),p(l,1,1,()=>{l=null}),pe()):l?(l.p(s,a),a[1]&131072&&m(l,1)):(l=Ua(s),l.c(),m(l,1),l.m(n.parentNode,n))},i(s){o||(m(e.$$.fragment,s),m(l),o=!0)},o(s){p(e.$$.fragment,s),p(l),o=!1},d(s){s&&(y(t),y(n)),O(e,s),l&&l.d(s)}}}function Ua(i){let e,t;return e=new P1({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[128]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&2&&(l.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function qa(i){let e,t;return e=new w1({props:{thumbUrl:i[2],startTime:i[4]?.startTime}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.thumbUrl=n[2]),o[0]&16&&(l.startTime=n[4]?.startTime),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Wa(i){let e,t;return e=new y1({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ja(i){let e,t,n;return t=new zr({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),L(e,"hidden",i[34]!==ze.Ads)},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&256&&(s.adsSlotId=o[8]),l[0]&512&&(s.adsParams=o[9]),l[0]&1024&&(s.adsPreviewParam=o[10]),l[0]&2048&&(s.duration=o[11]),t.$set(s),(!n||l[1]&8)&&L(e,"hidden",o[34]!==ze.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Za(i){let e,t;return e=new s3({props:{playNextVideo:i[22]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4194304&&(l.playNextVideo=n[22]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ga(i){let e,t;return e=new g1({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ka(i){let e,t,n;return t=new Er({props:{ariaLabel:U("video360")}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Ya(i){let e,t;return e=new v1({props:{thumbUrl:i[2],chromecastDeviceName:i[51]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.thumbUrl=n[2]),o[1]&1048576&&(l.chromecastDeviceName=n[51]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Qa(i){let e,t;return e=new b1({props:{shifted:i[30],captions:i[53],position:i[44],playerSize:i[31],isMobile:!0}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&1073741824&&(l.shifted=n[30]),o[1]&4194304&&(l.captions=n[53]),o[1]&8192&&(l.position=n[44]),o[1]&1&&(l.playerSize=n[31]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Xa(i){let e,t;return e=new Or({props:{showControls:i[30]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&1073741824&&(l.showControls=n[30]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ja(i){let e,t,n,o,l;return t=new _1({}),{c(){e=k("div"),D(t.$$.fragment)},m(s,a){C(s,e,a),z(t,e,null),n=!0,o||(l=Ee(e,"click",ut(i[100])),o=!0)},p:K,i(s){n||(m(t.$$.fragment,s),n=!0)},o(s){p(t.$$.fragment,s),n=!1},d(s){s&&y(e),O(t),o=!1,l()}}}function xa(i){let e,t;return e=new Zr({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function $a(i){let e,t;return e=new Fr({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function er(i){let e,t,n=i[6]&&i[78]&&!i[47].has(ft.TIMELINE),o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X;e=new k1({props:{hidden:i[34]!==ze.Thumb||i[33]||i[89]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let j=n&&Fa(i),T=i[34]===ze.WaitingLive&&qa(i),te=i[34]===ze.WaitingRecord&&Wa(),Z=i[7]&&i[21]&&ja(i),ie=i[41]&&i[17]&&i[18]&&Za(i),G=i[49]&&Ga(),J=i[50]&&Ka(),ce=i[35]&&Ya(i),w=i[52].value!=="off"&&Qa(i),le=i[1].features.annotations&&Xa(i),de=i[33]&&Ja(i);function _e(H){i[129](H)}let Ne={bottomHidden:i[34]===ze.Thumb||i[34]===ze.WaitingLive||i[34]===ze.WaitingRecord||i[34]===ze.Ads,showControls:i[30],bottomNoSmooth:i[45],isAds:i[34]===ze.Ads,canRewindLive:i[6]&&i[54]!==0,logoClickable:i[12],logoHidden:i[13],videoLogoUrl:i[3],showNextPrevButtons:i[14],nextButtonActive:i[15],prevButtonActive:i[16],isOneVideoPlaylist:i[19],supportLink:i[20],customFullscreenSupported:i[39],playNextVideo:i[22],playPrevVideo:i[23],repeatPlaylist:i[24],toggleFullscreen:i[97],seekToInteractive:i[25],toggleGraph:i[26],playPrevChapter:i[27]};i[37]!==void 0&&(Ne.controlsElementRef=i[37]),_=new h1({props:Ne}),je.push(()=>vt(_,"controlsElementRef",_e)),S=new Hr({props:{isLive:i[55],isHidden:!i[40],isPlaying:i[56],position:i[44],duration:i[43]}});let Le=i[38]&&xa(),ye=i[57]&&$a();return{c(){D(e.$$.fragment),t=R(),j&&j.c(),o=R(),T&&T.c(),l=R(),te&&te.c(),s=R(),Z&&Z.c(),a=R(),ie&&ie.c(),r=R(),G&&G.c(),c=R(),J&&J.c(),f=R(),ce&&ce.c(),h=R(),w&&w.c(),g=R(),le&&le.c(),v=R(),de&&de.c(),b=R(),D(_.$$.fragment),A=R(),D(S.$$.fragment),P=R(),Le&&Le.c(),B=R(),ye&&ye.c(),W=ht()},m(H,M){z(e,H,M),C(H,t,M),j&&j.m(H,M),C(H,o,M),T&&T.m(H,M),C(H,l,M),te&&te.m(H,M),C(H,s,M),Z&&Z.m(H,M),C(H,a,M),ie&&ie.m(H,M),C(H,r,M),G&&G.m(H,M),C(H,c,M),J&&J.m(H,M),C(H,f,M),ce&&ce.m(H,M),C(H,h,M),w&&w.m(H,M),C(H,g,M),le&&le.m(H,M),C(H,v,M),de&&de.m(H,M),C(H,b,M),z(_,H,M),C(H,A,M),z(S,H,M),C(H,P,M),Le&&Le.m(H,M),C(H,B,M),ye&&ye.m(H,M),C(H,W,M),X=!0},p(H,M){const Y={};M[0]&32|M[1]&12&&(Y.hidden=H[34]!==ze.Thumb||H[33]||H[89]&&H[5]),M[0]&4&&(Y.thumbUrl=H[2]),M[0]&268435456&&(Y.startVideo=H[28]),e.$set(Y),M[0]&64|M[1]&65536&&(n=H[6]&&H[78]&&!H[47].has(ft.TIMELINE)),n?j?(j.p(H,M),M[0]&64|M[1]&65536&&m(j,1)):(j=Fa(H),j.c(),m(j,1),j.m(o.parentNode,o)):j&&(he(),p(j,1,1,()=>{j=null}),pe()),H[34]===ze.WaitingLive?T?(T.p(H,M),M[1]&8&&m(T,1)):(T=qa(H),T.c(),m(T,1),T.m(l.parentNode,l)):T&&(he(),p(T,1,1,()=>{T=null}),pe()),H[34]===ze.WaitingRecord?te?M[1]&8&&m(te,1):(te=Wa(),te.c(),m(te,1),te.m(s.parentNode,s)):te&&(he(),p(te,1,1,()=>{te=null}),pe()),H[7]&&H[21]?Z?(Z.p(H,M),M[0]&2097280&&m(Z,1)):(Z=ja(H),Z.c(),m(Z,1),Z.m(a.parentNode,a)):Z&&(he(),p(Z,1,1,()=>{Z=null}),pe()),H[41]&&H[17]&&H[18]?ie?(ie.p(H,M),M[0]&393216|M[1]&1024&&m(ie,1)):(ie=Za(H),ie.c(),m(ie,1),ie.m(r.parentNode,r)):ie&&(he(),p(ie,1,1,()=>{ie=null}),pe()),H[49]?G?M[1]&262144&&m(G,1):(G=Ga(),G.c(),m(G,1),G.m(c.parentNode,c)):G&&(he(),p(G,1,1,()=>{G=null}),pe()),H[50]?J?(J.p(H,M),M[1]&524288&&m(J,1)):(J=Ka(),J.c(),m(J,1),J.m(f.parentNode,f)):J&&(he(),p(J,1,1,()=>{J=null}),pe()),H[35]?ce?(ce.p(H,M),M[1]&16&&m(ce,1)):(ce=Ya(H),ce.c(),m(ce,1),ce.m(h.parentNode,h)):ce&&(he(),p(ce,1,1,()=>{ce=null}),pe()),H[52].value!=="off"?w?(w.p(H,M),M[1]&2097152&&m(w,1)):(w=Qa(H),w.c(),m(w,1),w.m(g.parentNode,g)):w&&(he(),p(w,1,1,()=>{w=null}),pe()),H[1].features.annotations?le?(le.p(H,M),M[0]&2&&m(le,1)):(le=Xa(H),le.c(),m(le,1),le.m(v.parentNode,v)):le&&(he(),p(le,1,1,()=>{le=null}),pe()),H[33]?de?(de.p(H,M),M[1]&4&&m(de,1)):(de=Ja(H),de.c(),m(de,1),de.m(b.parentNode,b)):de&&(he(),p(de,1,1,()=>{de=null}),pe());const ge={};M[1]&8&&(ge.bottomHidden=H[34]===ze.Thumb||H[34]===ze.WaitingLive||H[34]===ze.WaitingRecord||H[34]===ze.Ads),M[0]&1073741824&&(ge.showControls=H[30]),M[1]&16384&&(ge.bottomNoSmooth=H[45]),M[1]&8&&(ge.isAds=H[34]===ze.Ads),M[0]&64|M[1]&8388608&&(ge.canRewindLive=H[6]&&H[54]!==0),M[0]&4096&&(ge.logoClickable=H[12]),M[0]&8192&&(ge.logoHidden=H[13]),M[0]&8&&(ge.videoLogoUrl=H[3]),M[0]&16384&&(ge.showNextPrevButtons=H[14]),M[0]&32768&&(ge.nextButtonActive=H[15]),M[0]&65536&&(ge.prevButtonActive=H[16]),M[0]&524288&&(ge.isOneVideoPlaylist=H[19]),M[0]&1048576&&(ge.supportLink=H[20]),M[1]&256&&(ge.customFullscreenSupported=H[39]),M[0]&4194304&&(ge.playNextVideo=H[22]),M[0]&8388608&&(ge.playPrevVideo=H[23]),M[0]&16777216&&(ge.repeatPlaylist=H[24]),M[0]&33554432&&(ge.seekToInteractive=H[25]),M[0]&67108864&&(ge.toggleGraph=H[26]),M[0]&134217728&&(ge.playPrevChapter=H[27]),!V&&M[1]&64&&(V=!0,ge.controlsElementRef=H[37],bt(()=>V=!1)),_.$set(ge);const ee={};M[1]&16777216&&(ee.isLive=H[55]),M[1]&512&&(ee.isHidden=!H[40]),M[1]&33554432&&(ee.isPlaying=H[56]),M[1]&8192&&(ee.position=H[44]),M[1]&4096&&(ee.duration=H[43]),S.$set(ee),H[38]?Le?M[1]&128&&m(Le,1):(Le=xa(),Le.c(),m(Le,1),Le.m(B.parentNode,B)):Le&&(he(),p(Le,1,1,()=>{Le=null}),pe()),H[57]?ye?M[1]&67108864&&m(ye,1):(ye=$a(),ye.c(),m(ye,1),ye.m(W.parentNode,W)):ye&&(he(),p(ye,1,1,()=>{ye=null}),pe())},i(H){X||(m(e.$$.fragment,H),m(j),m(T),m(te),m(Z),m(ie),m(G),m(J),m(ce),m(w),m(le),m(de),m(_.$$.fragment,H),m(S.$$.fragment,H),m(Le),m(ye),X=!0)},o(H){p(e.$$.fragment,H),p(j),p(T),p(te),p(Z),p(ie),p(G),p(J),p(ce),p(w),p(le),p(de),p(_.$$.fragment,H),p(S.$$.fragment,H),p(Le),p(ye),X=!1},d(H){H&&(y(t),y(o),y(l),y(s),y(a),y(r),y(c),y(f),y(h),y(g),y(v),y(b),y(A),y(P),y(B),y(W)),O(e,H),j&&j.d(H),T&&T.d(H),te&&te.d(H),Z&&Z.d(H),ie&&ie.d(H),G&&G.d(H),J&&J.d(H),ce&&ce.d(H),w&&w.d(H),le&&le.d(H),de&&de.d(H),O(_,H),O(S,H),Le&&Le.d(H),ye&&ye.d(H)}}}function u3(i){let e,t,n,o,l,s=i[46],a,r,c,f,h,g=er(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=R(),g.c(),a=R(),r=k("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${i[32]}deg) scale(${i[42]})`),L(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),L(t,"hidden",i[34]!==ze.Video),u(r,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut")},m(v,b){C(v,e,b),d(e,t),d(t,n),i[126](n),d(e,l),g.m(e,null),d(e,a),d(e,r),i[130](r),i[131](e),c=!0,f||(h=[Ee(a3,"blur",i[98]),Ee(t,"click",ci(i[99])),Ee(e,"click",i[101],!0),Ee(e,"focusin",i[102],!0)],f=!0)},p(v,b){(!c||b[1]&2050&&o!==(o=`transform: rotate(${v[32]}deg) scale(${v[42]})`))&&u(n,"style",o),(!c||b[0]&2)&&L(n,"fast-rotate",!v[1].isSmoothVideoRotate),(!c||b[1]&8)&&L(t,"hidden",v[34]!==ze.Video),b[1]&32768&&be(s,s=v[46])?(he(),p(g,1,1,K),pe(),g=er(v),g.c(),m(g,1),g.m(e,a)):g.p(v,b)},i(v){c||(m(g),c=!0)},o(v){p(g),c=!1},d(v){v&&y(e),i[126](null),g.d(v),i[130](null),i[131](null),f=!1,Xt(h)}}}function c3(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z,ie,G,J,ce,w,le,de,_e,Ne,Le,ye,H,{store:M}=e,{uiConfig:Y}=e,{thumbUrl:ge}=e,{videoLogoUrl:ee}=e,{videoContainer:N}=e,{interactiveContainer:Q}=e,{live:Ie}=e,{autoplay:Ce}=e,{canRewindLive:Ae}=e,{showAds:x}=e,{adsSlotId:se=void 0}=e,{adsParams:ve=void 0}=e,{adsPreviewParam:re=void 0}=e,{duration:qe=void 0}=e,{logoClickable:We}=e,{logoHidden:$e}=e,{showNextPrevButtons:it=!1}=e,{nextButtonActive:Be=!1}=e,{prevButtonActive:rt=!1}=e,{endScreenVideoTitle:St=void 0}=e,{endScreenVideoThumb:Re=void 0}=e,{isOneVideoPlaylist:Ve=!1}=e,{supportLink:wt}=e,{outerContainerRef:zt=void 0}=e,{showMiniTimer:mt=!1}=e,{fullScreenTarget:lt=void 0}=e,{playerStarted:ue=!1}=e,{playNextVideo:et=ne.noop}=e,{playPrevVideo:Qe=ne.noop}=e,{repeatPlaylist:nt=ne.noop}=e,{seekToInteractive:Ke}=e,{toggleGraph:dt}=e,{playPrevChapter:tt}=e,{firstStart:Mt}=e,{seekTime:yt}=e;const ot=M.getLogger().createComponentLog("Root component"),Ot=M.interfaceLanguage$;F(i,Ot,$=>t(46,ie=$));const ct=M.state.playbackState$;F(i,ct,$=>t(123,T=$));const Ze=M.ads.playbackState;F(i,Ze,$=>t(124,te=$));const Tt=M.state.positionWithScrubbing$;F(i,Tt,$=>t(44,s=$));const st=M.state.duration$;F(i,st,$=>t(43,l=$));const ii=M.playerPhase;F(i,ii,$=>t(34,B=$));const me=M.ui.isFullscreen;F(i,me,$=>t(137,r=$));const Pe=M.ui.controlsVisible;F(i,Pe,$=>t(30,o=$));const Me=M.ui.interactiveHideMobileControls;F(i,Me,$=>t(115,g=$));const Pt=M.ui.settingsMenuVisible;F(i,Pt,$=>t(114,n=$));const Vi=M.ui.scrubbingInProgress;F(i,Vi,$=>t(116,b=$));const Jt=M.ui.debugPanelVisible;F(i,Jt,$=>t(57,H=$));const bi=M.state.isLoaderVisible;F(i,bi,$=>t(125,Z=$));const Ii=M.state.isEnded$;F(i,Ii,$=>t(118,A=$));const Lt=M.state.chromecastConnected$;F(i,Lt,$=>t(35,W=$));const Se=M.state.chromecastDeviceName$;F(i,Se,$=>t(51,le=$));const Nt=M.ads.postrollPassed;F(i,Nt,$=>t(119,S=$));const Mi=M.ui.mobileUnmuteButtonExpanded,ni=M.ui.mobileUnmuteButtonVisible,vi=M.state.isLive$;F(i,vi,$=>t(55,Le=$));const _i=M.state.isPlaying$;F(i,_i,$=>t(56,ye=$));const ki=M.state.isActiveLive$;F(i,ki,$=>t(48,J=$));const oi=M.state.isRewindableLive$,Ki=M.state.crashed$;F(i,Ki,$=>t(33,V=$));const di=M.webApi.pictureInPictureApi,wi=M.state.videoSize$;F(i,wi,$=>t(138,f=$));const yi=M.state.currentSubtitle$;F(i,yi,$=>t(52,de=$));const Ni=M.state.currentSubtitleCaptions$;F(i,Ni,$=>t(53,_e=$));const Ci=M.state.duration$;F(i,Ci,$=>t(54,Ne=$));const qi=M.state.graphIsOpened$;F(i,qi,$=>t(122,j=$));const xt=M.ui.playerSize;F(i,xt,$=>t(31,c=$));const li=M.ui.is3DVideo;F(i,li,$=>t(49,ce=$));const Pi=M.ui.icon3DVideoVisible;F(i,Pi,$=>t(50,w=$));const Dt=M.ui.rotateAlpha;F(i,Dt,$=>t(32,v=$));const Ct=M.state.isInteractive,Ht=M.state.isInteractiveTime$;F(i,Ht,$=>t(117,_=$));const Ri=M.state.isInteractiveExpectation$;F(i,Ri,$=>t(121,X=$));const Yi=M.state.hasInteractiveBranches,Bi=M.ui.controls.disabledControls$;F(i,Bi,$=>t(47,G=$));const $t=M.ui.touched;F(i,$t,$=>t(120,P=$));const Fi=M.ui.clientInfo$;F(i,Fi,$=>t(136,a=$));const Wi=M.ui.overlayContainer$;let si,zi,Si,Ti,Ai,mi,Ft;const ai=He(!1);F(i,ai,$=>t(45,h=$));let hi,Ut=!1,qt,ei=!1,ri,Wt=!0,pi,ti,Oi=!1,Ei;di?.setContext(cr());const ji=$=>{clearTimeout(Ti),$&&(ni.set(!0),Mi.set(!0),Ti=window.setTimeout(()=>{Mi.set(!1)},Y.controls.collapseMobileUnmute),Ct||ui(Y.controls.hideTimeoutMobile))};M.setUiCallbacks({onStarted:ji});const Di=()=>{window.clearTimeout(Si),t(109,Ut=!1),g&&Me.set(!1)},ui=$=>{Di(),t(109,Ut=!0),Si=window.setTimeout(()=>t(109,Ut=!1),$);const kt=$-100;hi=window.setTimeout(()=>{h&&ai.set(!1)},kt>0?kt:$)},Ui=li.subscribe($=>{Pi.set($),$&&(window.clearTimeout(Ai),Ai=window.setTimeout(()=>Pi.set(!1),Y.controls.hide360IconTimeout))}),Li=async()=>{const $=oo();if($){ui(Y.controls.hideTimeoutFullscreen);try{await di?.remove()}catch(kt){ot({message:String(kt)})}try{const kt=f?.width&&f?.height?f:c;await Mu(kt)}catch(kt){ot({message:String(kt)})}}me.set($),M.getAdmanWrapper().setFullscreen($),r?M.callbacks?.onFullscreenEnter?.():M.callbacks?.onFullscreenExit?.()},ae=$=>{const kt=$;xt.set({width:kt.target.width,height:kt.target.height})};Zi(()=>(Rr(Li),_o(di)&&(di?.assignPlayerContainer(si),di?.registryExternalEventHandlers({resize:ae})),t(39,Wt=!t3(a)),Q&&N.parentElement?.insertBefore(Q,N.nextSibling),()=>{window.clearTimeout(Si),window.clearTimeout(hi),window.clearTimeout(Ti),window.clearTimeout(Ai),Ui(),di?.dispose(),Br(Li)}));const jt=$=>{let kt=s+($==="forward"?1:-1)*Y.controls.seekStepMobile/1e3;kt<0?kt=0:kt>l&&(kt=l-1),t(111,ei=!0),yt(kt)},Hi=async()=>{if(oo())await Nr(document),ot({message:"exit fullscreen"});else{ot({message:"request fullscreen"});const $=zt??si,kt=$.getRootNode(),Tn=kt instanceof ShadowRoot?kt.host:kt,An=lt instanceof HTMLElement&&lt.contains(Tn),En=Y.allowChangingFullscreenTarget&&lt&&An?lt:$;await Mr(En)}},Qi=()=>{Pt.set(!1)},sn=()=>{if(n){Qi();return}if(!ue){Mt(),ui(Y.controls.hideTimeoutCursor);return}t(111,ei=!1),o?Di():ui(Y.controls.hideTimeoutMobile)},an=()=>{if(n){Qi();return}},Zt=()=>{$t.set(!0)},Cn=()=>{Ct||(ai.set(!0),ui(Y.controls.hideTimeoutCursor))};function Pn($){je[$?"unshift":"push"](()=>{N=$,t(0,N)})}const rn=()=>jt("backward"),_n=()=>jt("forward");function nn($){zi=$,t(37,zi)}function Ji($){je[$?"unshift":"push"](()=>{Ft=$,t(29,Ft)})}function Sn($){je[$?"unshift":"push"](()=>{si=$,t(36,si)})}return i.$$set=$=>{"store"in $&&t(103,M=$.store),"uiConfig"in $&&t(1,Y=$.uiConfig),"thumbUrl"in $&&t(2,ge=$.thumbUrl),"videoLogoUrl"in $&&t(3,ee=$.videoLogoUrl),"videoContainer"in $&&t(0,N=$.videoContainer),"interactiveContainer"in $&&t(104,Q=$.interactiveContainer),"live"in $&&t(4,Ie=$.live),"autoplay"in $&&t(5,Ce=$.autoplay),"canRewindLive"in $&&t(6,Ae=$.canRewindLive),"showAds"in $&&t(7,x=$.showAds),"adsSlotId"in $&&t(8,se=$.adsSlotId),"adsParams"in $&&t(9,ve=$.adsParams),"adsPreviewParam"in $&&t(10,re=$.adsPreviewParam),"duration"in $&&t(11,qe=$.duration),"logoClickable"in $&&t(12,We=$.logoClickable),"logoHidden"in $&&t(13,$e=$.logoHidden),"showNextPrevButtons"in $&&t(14,it=$.showNextPrevButtons),"nextButtonActive"in $&&t(15,Be=$.nextButtonActive),"prevButtonActive"in $&&t(16,rt=$.prevButtonActive),"endScreenVideoTitle"in $&&t(17,St=$.endScreenVideoTitle),"endScreenVideoThumb"in $&&t(18,Re=$.endScreenVideoThumb),"isOneVideoPlaylist"in $&&t(19,Ve=$.isOneVideoPlaylist),"supportLink"in $&&t(20,wt=$.supportLink),"outerContainerRef"in $&&t(105,zt=$.outerContainerRef),"showMiniTimer"in $&&t(106,mt=$.showMiniTimer),"fullScreenTarget"in $&&t(107,lt=$.fullScreenTarget),"playerStarted"in $&&t(21,ue=$.playerStarted),"playNextVideo"in $&&t(22,et=$.playNextVideo),"playPrevVideo"in $&&t(23,Qe=$.playPrevVideo),"repeatPlaylist"in $&&t(24,nt=$.repeatPlaylist),"seekToInteractive"in $&&t(25,Ke=$.seekToInteractive),"toggleGraph"in $&&t(26,dt=$.toggleGraph),"playPrevChapter"in $&&t(27,tt=$.playPrevChapter),"firstStart"in $&&t(28,Mt=$.firstStart),"seekTime"in $&&t(108,yt=$.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&12|i.$$.dirty[4]&3&&t(38,mi=(B===ze.Video&&Z||B===ze.Ads&&te===Bt.INACTIVE)&&!V),i.$$.dirty[0]&536870912&&Wi.set(Ft),i.$$.dirty[3]&1073741824&&t(110,qt=T!==Je.PlaybackState.PLAYING),i.$$.dirty[3]&843251712&&t(112,ri=j||g||!Ut&&(A&&!!Yi||qt&&X)),i.$$.dirty[1]&28|i.$$.dirty[3]&11468800&&Pe.set((qt||n||b||W||Ut&&!ei)&&!ri&&B===ze.Video&&!V),i.$$.dirty[0]&1073741826|i.$$.dirty[1]&12|i.$$.dirty[3]&134225920&&t(40,pi=Y.features.thumbTimer&&mt&&B===ze.Video&&!o&&!V&&!Ct&&(Y.hideThumbTimerAfterTouch&&!P||!Y.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&4|i.$$.dirty[3]&100663296&&t(41,ti=(x&&S||!x)&&A&&!V),i.$$.dirty[0]&2|i.$$.dirty[3]&26214400&&(!b&&Oi&&!_&&ui(Y.controls.hideTimeoutMobile),t(113,Oi=b)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(42,Ei=N&&v%180?c.height/c.width:1)},[N,Y,ge,ee,Ie,Ce,Ae,x,se,ve,re,qe,We,$e,it,Be,rt,St,Re,Ve,wt,ue,et,Qe,nt,Ke,dt,tt,Mt,Ft,o,c,v,V,B,W,si,zi,mi,Wt,pi,ti,Ei,l,s,h,ie,G,J,ce,w,le,de,_e,Ne,Le,ye,H,Ot,ct,Ze,Tt,st,ii,me,Pe,Me,Pt,Vi,Jt,bi,Ii,Lt,Se,Nt,vi,_i,ki,oi,Ki,wi,yi,Ni,Ci,qi,xt,li,Pi,Dt,Ct,Ht,Ri,Bi,$t,Fi,ai,jt,Hi,Qi,sn,an,Zt,Cn,M,Q,zt,mt,lt,yt,Ut,qt,ei,ri,Oi,n,g,b,_,A,S,P,X,j,T,te,Z,Pn,rn,_n,nn,Ji,Sn]}class f3 extends we{constructor(e){super(),ke(this,e,c3,u3,be,{store:103,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:104,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:105,showMiniTimer:106,fullScreenTarget:107,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:108},r3,[-1,-1,-1,-1,-1])}}function d3(i){Ue(i,"v-labq99",`.root.v-labq99{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
32
+ )}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function up(t){let e,i;return{c(){e=T("div"),i=ze(t[0]),u(e,"class","title v-1bcvcf2"),B(e,"hidden",t[1])},m(n,o){E(n,e,o),p(e,i)},p(n,[o]){o&1&&Xe(i,n[0]),o&2&&B(e,"hidden",n[1])},i:j,o:j,d(n){n&&P(e)}}}function cp(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 fp extends ke{constructor(e){super(),we(this,e,cp,up,be,{title:0,isHidden:1},ap)}}function dp(t){He(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 ra(t){let e,i,n,o,s,l,r;return{c(){e=T("div"),i=T("span"),n=ze(t[0]),o=O(),s=T("span"),s.textContent=`${K("waiting_live_day_value")}`,l=O(),r=T("span"),r.textContent=`${K("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&&Xe(n,a[0])},d(a){a&&(P(e),P(l),P(r))}}}function aa(t){let e,i,n,o,s,l,r;return{c(){e=T("div"),i=T("span"),n=ze(t[1]),o=O(),s=T("span"),s.textContent=`${K("waiting_live_hour_value")}`,l=O(),r=T("span"),r.textContent=`${K("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&&Xe(n,a[1])},d(a){a&&(P(e),P(l),P(r))}}}function ua(t){let e,i,n,o,s,l,r;return{c(){e=T("div"),i=T("span"),n=ze(t[2]),o=O(),s=T("span"),s.textContent=`${K("waiting_live_minute_value")}`,l=O(),r=T("span"),r.textContent=`${K("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&&Xe(n,a[2])},d(a){a&&(P(e),P(l),P(r))}}}function ca(t){let e,i,n,o,s;return{c(){e=T("div"),i=T("span"),n=ze(t[3]),o=O(),s=T("span"),s.textContent=`${K("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&&Xe(n,l[3])},d(l){l&&P(e)}}}function mp(t){let e,i,n,o,s=t[0]&&ra(t),l=t[1]&&aa(t),r=t[2]&&ua(t),a=t[3]&&ca(t);return{c(){e=T("div"),s&&s.c(),i=O(),l&&l.c(),n=O(),r&&r.c(),o=O(),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=ra(c),s.c(),s.m(e,i)):s&&(s.d(1),s=null),c[1]?l?l.p(c,f):(l=aa(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[2]?r?r.p(c,f):(r=ua(c),r.c(),r.m(e,o)):r&&(r.d(1),r=null),c[3]?a?a.p(c,f):(a=ca(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:j,o:j,d(c){c&&P(e),s&&s.d(),l&&l.d(),r&&r.d(),a&&a.d()}}}function pp(t,e,i){let{startTime:n}=e,{onTimerOver:o}=e,s,l,r,a,c;const f=_=>String(_).padStart(2,"0"),m=_=>{const b=Math.floor(_/86400);b&&(_-=b*86400,i(0,s=f(b)));const k=Math.floor(_/3600);i(1,l=f(k));const v=Math.floor(_/60)%60;i(2,r=f(v));const S=_%60;i(3,a=f(S))},h=()=>{const _=Math.floor(Date.now()/1e3),b=n-_;m(b),b>=1?c=requestAnimationFrame(h):o()};return nn(()=>{c=requestAnimationFrame(h)}),jo(()=>{cancelAnimationFrame(c)}),t.$$set=_=>{"startTime"in _&&i(4,n=_.startTime),"onTimerOver"in _&&i(5,o=_.onTimerOver)},[s,l,r,a,n,o]}class hp extends ke{constructor(e){super(),we(this,e,pp,mp,be,{startTime:4,onTimerOver:5},dp)}}function gp(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"),Pt(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"),Pt(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"),Pt(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"),Pt(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"),Pt(e,"shape-rendering","geometricPrecision"),Pt(e,"text-rendering","geometricPrecision"),Pt(e,"image-rendering","optimizeQuality"),Pt(e,"fill-rule","evenodd"),Pt(e,"clip-rule","evenodd"),Pt(e,"width","100%"),Pt(e,"height","100%")},m(l,r){E(l,e,r),p(e,i),p(e,n),p(e,o),p(e,s)},p:j,i:j,o:j,d(l){l&&P(e)}}}class bp extends ke{constructor(e){super(),we(this,e,null,gp,be,{})}}function _p(t){He(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 vp(t){let e,i,n,o,s;return o=new hp({props:{startTime:t[1]||0,onTimerOver:t[3]}}),{c(){e=T("div"),i=T("span"),i.textContent=`${K("waiting_live_timer_title")}`,n=O(),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),F(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&&P(e),H(o)}}}function wp(t){let e,i,n,o,s,l;return n=new bp({}),{c(){e=T("div"),i=T("div"),U(n.$$.fragment),o=O(),s=T("span"),s.textContent=`${K("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),F(n,i,null),p(e,o),p(e,s),l=!0},p:j,i(r){l||(d(n.$$.fragment,r),l=!0)},o(r){g(n.$$.fragment,r),l=!1},d(r){r&&P(e),H(n)}}}function kp(t){let e,i,n,o,s;const l=[wp,vp],r=[];function a(c,f){return c[2]?0:1}return i=a(t),n=r[i]=l[i](t),{c(){e=T("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):(de(),g(r[m],1,1,()=>{r[m]=null}),me(),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&&P(e),r[i].d()}}}function yp(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 p1 extends ke{constructor(e){super(),we(this,e,yp,kp,be,{thumbUrl:0,startTime:1},_p)}}function Cp(t){He(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 Sp(t){let e,i;return{c(){e=T("div"),i=T("p"),i.textContent=`${K("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:j,i:j,o:j,d(n){n&&P(e)}}}class h1 extends ke{constructor(e){super(),we(this,e,null,Sp,be,{},Cp)}}const{window:Pp}=Ka;function Tp(t){He(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 fa(t){let e,i;return e=new p1({props:{thumbUrl:t[3],startTime:t[5]?.startTime}}),{c(){U(e.$$.fragment)},m(n,o){F(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){H(e,n)}}}function da(t){let e,i;return e=new h1({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ma(t){let e,i,n;return i=new ku({props:{adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12]}}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),B(e,"hidden",t[38]!==Re.Ads)},m(o,s){E(o,e,s),F(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)&&B(e,"hidden",o[38]!==Re.Ads)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&P(e),H(i)}}}function pa(t){let e,i;return e=new Gf({props:{title:t[18],thumb:t[19],playNextVideo:t[23]}}),{c(){U(e.$$.fragment)},m(n,o){F(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){H(e,n)}}}function ha(t){let e,i;return e=new fp({props:{title:t[2],isHidden:!t[36]}}),{c(){U(e.$$.fragment)},m(n,o){F(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){H(e,n)}}}function ga(t){let e,i;return e=new u1({props:{isShifted:t[38]===Re.Video&&t[36]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[1]&160&&(s.isShifted=n[38]===Re.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){H(e,n)}}}function ba(t){let e,i,n;return i=new mu({props:{ariaLabel:K("video360")}}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,s){E(o,e,s),F(i,e,null),n=!0},p:j,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&P(e),H(i)}}}function _a(t){let e,i;return e=new f1({props:{thumbUrl:t[3],chromecastDeviceName:t[55]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&8&&(s.thumbUrl=n[3]),o[1]&16777216&&(s.chromecastDeviceName=n[55]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function va(t){let e,i;return e=new c1({props:{shifted:t[36],captions:t[57],position:t[58],playerSize:t[34]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[1]&32&&(s.shifted=n[36]),o[1]&67108864&&(s.captions=n[57]),o[1]&134217728&&(s.position=n[58]),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){H(e,n)}}}function wa(t){let e,i,n,o,s;return i=new d1({}),{c(){e=T("div"),U(i.$$.fragment)},m(l,r){E(l,e,r),F(i,e,null),n=!0,o||(s=[ge(e,"contextmenu",Qt(t[107])),ge(e,"click",it(t[118]))],o=!0)},p:j,i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&P(e),H(i),o=!1,tt(s)}}}function ka(t){let e,i;return e=new Bu({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ya(t){let e,i;return e=new h0({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ca(t){let e,i;return e=new Au({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Sa(t){let e,i,n,o,s,l,r,a,c,f,m,h,_,b,k,v,S,y,w,z,oe,I,W,V,te,M;e=new m1({props:{hidden:t[38]!==Re.Thumb||t[37]||t[93]&&t[6],thumbUrl:t[3],startVideo:t[29]}});let ie=t[38]===Re.WaitingLive&&fa(t),R=t[38]===Re.WaitingRecord&&da(),Y=t[8]&&t[22]&&ma(t),le=t[31]&&t[18]&&t[19]&&pa(t),C=t[46]&&ha(t),se=t[51]&&ga(t),ye=t[54]&&ba(),pe=t[39]&&_a(t),ve=t[56].value!=="off"&&va(t),X=t[37]&&wa(t);function ce(A){t[151](A)}let De={bottomHidden:t[38]===Re.Thumb||t[38]===Re.WaitingLive||t[38]===Re.WaitingRecord,bottomNoSmooth:t[52],showControls:t[36],isAds:t[38]===Re.Ads,canRewindLive:t[7]&&t[59]!==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:Lp,playNextVideo:t[23],playPrevVideo:t[24],repeatPlaylist:t[25],toggleFullscreen:t[105],returnFocus:t[150],seekToInteractive:t[26],toggleGraph:t[27],playPrevChapter:t[28]};t[41]!==void 0&&(De.controlsElementRef=t[41]),_=new r1({props:De}),Se.push(()=>je(_,"controlsElementRef",ce)),v=new Cu({props:{isLive:t[60],isHidden:!t[45],isPlaying:t[61],position:t[58],duration:t[62]}}),y=new q3({props:{data:t[102]}});function ae(A){t[153](A)}let Ie={supportLink:t[21],returnFocus:t[152],visible:t[33],playerContainerRef:t[40],controlsContainerRef:t[41],x:t[42],y:t[43]};t[32]!==void 0&&(Ie.menuElementRef=t[32]),z=new Tf({props:Ie}),Se.push(()=>je(z,"menuElementRef",ae));let Ee=t[44]&&ka(),he=t[63]&&ya(),Ae=t[64]&&Ca();return{c(){U(e.$$.fragment),i=O(),ie&&ie.c(),n=O(),R&&R.c(),o=O(),Y&&Y.c(),s=O(),le&&le.c(),l=O(),C&&C.c(),r=O(),se&&se.c(),a=O(),ye&&ye.c(),c=O(),pe&&pe.c(),f=O(),ve&&ve.c(),m=O(),X&&X.c(),h=O(),U(_.$$.fragment),k=O(),U(v.$$.fragment),S=O(),U(y.$$.fragment),w=O(),U(z.$$.fragment),I=O(),Ee&&Ee.c(),W=O(),he&&he.c(),V=O(),Ae&&Ae.c(),te=lt()},m(A,ne){F(e,A,ne),E(A,i,ne),ie&&ie.m(A,ne),E(A,n,ne),R&&R.m(A,ne),E(A,o,ne),Y&&Y.m(A,ne),E(A,s,ne),le&&le.m(A,ne),E(A,l,ne),C&&C.m(A,ne),E(A,r,ne),se&&se.m(A,ne),E(A,a,ne),ye&&ye.m(A,ne),E(A,c,ne),pe&&pe.m(A,ne),E(A,f,ne),ve&&ve.m(A,ne),E(A,m,ne),X&&X.m(A,ne),E(A,h,ne),F(_,A,ne),E(A,k,ne),F(v,A,ne),E(A,S,ne),F(y,A,ne),E(A,w,ne),F(z,A,ne),E(A,I,ne),Ee&&Ee.m(A,ne),E(A,W,ne),he&&he.m(A,ne),E(A,V,ne),Ae&&Ae.m(A,ne),E(A,te,ne),M=!0},p(A,ne){const Me={};ne[0]&64|ne[1]&192&&(Me.hidden=A[38]!==Re.Thumb||A[37]||A[93]&&A[6]),ne[0]&8&&(Me.thumbUrl=A[3]),ne[0]&536870912&&(Me.startVideo=A[29]),e.$set(Me),A[38]===Re.WaitingLive?ie?(ie.p(A,ne),ne[1]&128&&d(ie,1)):(ie=fa(A),ie.c(),d(ie,1),ie.m(n.parentNode,n)):ie&&(de(),g(ie,1,1,()=>{ie=null}),me()),A[38]===Re.WaitingRecord?R?ne[1]&128&&d(R,1):(R=da(),R.c(),d(R,1),R.m(o.parentNode,o)):R&&(de(),g(R,1,1,()=>{R=null}),me()),A[8]&&A[22]?Y?(Y.p(A,ne),ne[0]&4194560&&d(Y,1)):(Y=ma(A),Y.c(),d(Y,1),Y.m(s.parentNode,s)):Y&&(de(),g(Y,1,1,()=>{Y=null}),me()),A[31]&&A[18]&&A[19]?le?(le.p(A,ne),ne[0]&786432|ne[1]&1&&d(le,1)):(le=pa(A),le.c(),d(le,1),le.m(l.parentNode,l)):le&&(de(),g(le,1,1,()=>{le=null}),me()),A[46]?C?(C.p(A,ne),ne[1]&32768&&d(C,1)):(C=ha(A),C.c(),d(C,1),C.m(r.parentNode,r)):C&&(de(),g(C,1,1,()=>{C=null}),me()),A[51]?se?(se.p(A,ne),ne[1]&1048576&&d(se,1)):(se=ga(A),se.c(),d(se,1),se.m(a.parentNode,a)):se&&(de(),g(se,1,1,()=>{se=null}),me()),A[54]?ye?(ye.p(A,ne),ne[1]&8388608&&d(ye,1)):(ye=ba(),ye.c(),d(ye,1),ye.m(c.parentNode,c)):ye&&(de(),g(ye,1,1,()=>{ye=null}),me()),A[39]?pe?(pe.p(A,ne),ne[1]&256&&d(pe,1)):(pe=_a(A),pe.c(),d(pe,1),pe.m(f.parentNode,f)):pe&&(de(),g(pe,1,1,()=>{pe=null}),me()),A[56].value!=="off"?ve?(ve.p(A,ne),ne[1]&33554432&&d(ve,1)):(ve=va(A),ve.c(),d(ve,1),ve.m(m.parentNode,m)):ve&&(de(),g(ve,1,1,()=>{ve=null}),me()),A[37]?X?(X.p(A,ne),ne[1]&64&&d(X,1)):(X=wa(A),X.c(),d(X,1),X.m(h.parentNode,h)):X&&(de(),g(X,1,1,()=>{X=null}),me());const Ce={};ne[1]&128&&(Ce.bottomHidden=A[38]===Re.Thumb||A[38]===Re.WaitingLive||A[38]===Re.WaitingRecord),ne[1]&2097152&&(Ce.bottomNoSmooth=A[52]),ne[1]&32&&(Ce.showControls=A[36]),ne[1]&128&&(Ce.isAds=A[38]===Re.Ads),ne[0]&128|ne[1]&268435456&&(Ce.canRewindLive=A[7]&&A[59]!==0),ne[0]&8192&&(Ce.logoClickable=A[13]),ne[0]&16384&&(Ce.logoHidden=A[14]),ne[0]&16&&(Ce.videoLogoUrl=A[4]),ne[0]&32768&&(Ce.showNextPrevButtons=A[15]),ne[0]&65536&&(Ce.nextButtonActive=A[16]),ne[0]&131072&&(Ce.prevButtonActive=A[17]),ne[0]&1048576&&(Ce.isOneVideoPlaylist=A[20]),ne[0]&2097152&&(Ce.supportLink=A[21]),ne[0]&8388608&&(Ce.playNextVideo=A[23]),ne[0]&16777216&&(Ce.playPrevVideo=A[24]),ne[0]&33554432&&(Ce.repeatPlaylist=A[25]),ne[1]&524288&&(Ce.returnFocus=A[150]),ne[0]&67108864&&(Ce.seekToInteractive=A[26]),ne[0]&134217728&&(Ce.toggleGraph=A[27]),ne[0]&268435456&&(Ce.playPrevChapter=A[28]),!b&&ne[1]&1024&&(b=!0,Ce.controlsElementRef=A[41],qe(()=>b=!1)),_.$set(Ce);const ue={};ne[1]&536870912&&(ue.isLive=A[60]),ne[1]&16384&&(ue.isHidden=!A[45]),ne[1]&1073741824&&(ue.isPlaying=A[61]),ne[1]&134217728&&(ue.position=A[58]),ne[2]&1&&(ue.duration=A[62]),v.$set(ue);const _e={};ne[0]&2097152&&(_e.supportLink=A[21]),ne[1]&524288&&(_e.returnFocus=A[152]),ne[1]&4&&(_e.visible=A[33]),ne[1]&512&&(_e.playerContainerRef=A[40]),ne[1]&1024&&(_e.controlsContainerRef=A[41]),ne[1]&2048&&(_e.x=A[42]),ne[1]&4096&&(_e.y=A[43]),!oe&&ne[1]&2&&(oe=!0,_e.menuElementRef=A[32],qe(()=>oe=!1)),z.$set(_e),A[44]?Ee?ne[1]&8192&&d(Ee,1):(Ee=ka(),Ee.c(),d(Ee,1),Ee.m(W.parentNode,W)):Ee&&(de(),g(Ee,1,1,()=>{Ee=null}),me()),A[63]?he?ne[2]&2&&d(he,1):(he=ya(),he.c(),d(he,1),he.m(V.parentNode,V)):he&&(de(),g(he,1,1,()=>{he=null}),me()),A[64]?Ae?ne[2]&4&&d(Ae,1):(Ae=Ca(),Ae.c(),d(Ae,1),Ae.m(te.parentNode,te)):Ae&&(de(),g(Ae,1,1,()=>{Ae=null}),me())},i(A){M||(d(e.$$.fragment,A),d(ie),d(R),d(Y),d(le),d(C),d(se),d(ye),d(pe),d(ve),d(X),d(_.$$.fragment,A),d(v.$$.fragment,A),d(y.$$.fragment,A),d(z.$$.fragment,A),d(Ee),d(he),d(Ae),M=!0)},o(A){g(e.$$.fragment,A),g(ie),g(R),g(Y),g(le),g(C),g(se),g(ye),g(pe),g(ve),g(X),g(_.$$.fragment,A),g(v.$$.fragment,A),g(y.$$.fragment,A),g(z.$$.fragment,A),g(Ee),g(he),g(Ae),M=!1},d(A){A&&(P(i),P(n),P(o),P(s),P(l),P(r),P(a),P(c),P(f),P(m),P(h),P(k),P(S),P(w),P(I),P(W),P(V),P(te)),H(e,A),ie&&ie.d(A),R&&R.d(A),Y&&Y.d(A),le&&le.d(A),C&&C.d(A),se&&se.d(A),ye&&ye.d(A),pe&&pe.d(A),ve&&ve.d(A),X&&X.d(A),H(_,A),H(v,A),H(y,A),H(z,A),Ee&&Ee.d(A),he&&he.d(A),Ae&&Ae.d(A)}}}function Ep(t){let e,i,n,o,s=t[53],l,r,a,c,f=Sa(t);return{c(){e=T("div"),i=T("div"),o=O(),f.c(),l=lt(),u(i,"class","video-container v-1o4wf3x"),u(i,"style",n=`transform: rotate(${t[35]}deg) scale(${t[48]})`),B(i,"fast-rotate",!t[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),B(e,"hidden",t[38]!==Re.Video),B(e,"nocursor",t[47])},m(m,h){E(m,e,h),p(e,i),t[149](i),E(m,o,h),f.m(m,h),E(m,l,h),r=!0,a||(c=[ge(e,"contextmenu",Qt(t[107])),ge(e,"mousedown",Qt(t[112])),ge(e,"mouseup",Qt(t[113])),ge(e,"click",Qt(t[115])),ge(e,"dblclick",Qt(t[114]))],a=!0)},p(m,h){(!r||h[1]&131088&&n!==(n=`transform: rotate(${m[35]}deg) scale(${m[48]})`))&&u(i,"style",n),(!r||h[0]&2)&&B(i,"fast-rotate",!m[1].isSmoothVideoRotate),(!r||h[1]&128)&&B(e,"hidden",m[38]!==Re.Video),(!r||h[1]&65536)&&B(e,"nocursor",m[47]),h[1]&4194304&&be(s,s=m[53])?(de(),g(f,1,1,j),me(),f=Sa(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&&(P(e),P(o),P(l)),t[149](null),f.d(m),a=!1,tt(c)}}}function Ap(t){let e,i,n,o,s,l,r,a={toggleFullscreen:t[105],hideContextMenu:t[106],showHotKeyHelpers:t[116],showKeyMap:t[117],isAds:t[38]===Re.Ads,fakePlayButtonHandler:t[49]?t[104]:void 0,$$slots:{default:[Ep]},$$scope:{ctx:t}};return i=new Jf({props:a}),t[154](i),{c(){e=T("div"),U(i.$$.fragment),n=O(),o=T("div"),u(o,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){E(c,e,f),F(i,e,null),p(e,n),p(e,o),t[155](o),t[156](e),s=!0,l||(r=[ge(Pp,"blur",t[106]),ge(e,"mouseenter",t[108]),ge(e,"mouseleave",t[110]),ge(e,"mousemove",t[111]),ge(e,"click",t[119],!0),ge(e,"focusin",t[109],!0)],l=!0)},p(c,f){const m={};f[1]&128&&(m.isAds=c[38]===Re.Ads),f[1]&262144&&(m.fakePlayButtonHandler=c[49]?c[104]:void 0),f[0]&1073741823|f[1]&2147221503|f[2]&7|f[5]&8388608&&(m.$$scope={dirty:f,ctx:c}),i.$set(m)},i(c){s||(d(i.$$.fragment,c),s=!0)},o(c){g(i.$$.fragment,c),s=!1},d(c){c&&P(e),t[154](null),H(i),t[155](null),t[156](null),l=!1,tt(r)}}}let Lp=!0;function g1(t){return t?t.offsetTop+g1(t.offsetParent):0}function Ip(t,e,i){let n,o,s,l,r,a,c,f,m,h,_,b,k,v,S,y,w,z,oe,I,W,V,te,M,ie,R,Y,le,C,se,ye,pe,ve,X,ce,De,ae,Ie,Ee,{store:he}=e,{uiConfig:Ae}=e,{title:A}=e,{thumbUrl:ne}=e,{videoLogoUrl:Me}=e,{videoContainer:Ce}=e,{interactiveContainer:ue}=e,{live:_e}=e,{autoplay:x}=e,{canRewindLive:Q}=e,{showAds:Ue}=e,{adsSlotId:xe=void 0}=e,{adsParams:Je=void 0}=e,{adsPreviewParam:Le=void 0}=e,{duration:We=void 0}=e,{logoClickable:$e}=e,{logoHidden:ht}=e,{showNextPrevButtons:rt=!1}=e,{nextButtonActive:Pe=!1}=e,{prevButtonActive:gt=!1}=e,{endScreenVideoTitle:ut=void 0}=e,{endScreenVideoThumb:Xt=void 0}=e,{isOneVideoPlaylist:Jt=!1}=e,{supportLink:Vt}=e,{outerContainerRef:fe=void 0}=e,{playerStarted:_t=!1}=e,{fullScreenTarget:nt=void 0}=e,{showMiniTimer:yt=!1}=e,{playNextVideo:dt=ee.noop}=e,{playPrevVideo:mt=ee.noop}=e,{repeatPlaylist:Tt=ee.noop}=e,{seekToInteractive:zi}=e,{toggleGraph:Ft}=e,{playPrevChapter:Li}=e,{firstStart:Wi}=e;const xt=he.getLogger().createComponentLog("Root component"),Di=he.interfaceLanguage$;D(t,Di,q=>i(53,le=q));const Zi=he.state.playbackState$;D(t,Zi,q=>i(146,ie=q));const Ht=he.ads.playbackState;D(t,Ht,q=>i(147,R=q));const Ut=he.state.positionWithScrubbing$;D(t,Ut,q=>i(58,ve=q));const hi=he.state.duration$;D(t,hi,q=>i(62,ae=q));const Et=he.playerPhase;D(t,Et,q=>i(38,I=q));const li=he.ui.isFullscreen;D(t,li,q=>i(136,m=q));const Mt=he.ui.controlsVisible;D(t,Mt,q=>i(36,S=q));const Ii=he.ui.settingsMenuVisible;D(t,Ii,q=>i(134,l=q));const gi=he.ui.scrubbingInProgress;D(t,gi,q=>i(138,k=q));const qt=he.ui.contextMenuVisible;D(t,qt,q=>i(33,n=q));const Ct=he.ui.debugPanelVisible;D(t,Ct,q=>i(64,Ee=q));const $t=he.state.isLoaderVisible;D(t,$t,q=>i(148,Y=q));const bi=he.state.isEnded$;D(t,bi,q=>i(135,a=q));const _i=he.state.chromecastConnected$;D(t,_i,q=>i(39,te=q));const ei=he.state.chromecastDeviceName$;D(t,ei,q=>i(55,se=q));const si=he.ads.postrollPassed;D(t,si,q=>i(141,z=q));const ti=he.state.isLive$;D(t,ti,q=>i(60,ce=q));const jt=he.state.isPlaying$;D(t,jt,q=>i(61,De=q));const Wt=he.state.crashed$;D(t,Wt,q=>i(37,w=q));const Bt=he.webApi.pictureInPictureApi,bt=he.state.currentSubtitle$;D(t,bt,q=>i(56,ye=q));const wt=he.state.currentSubtitleCaptions$;D(t,wt,q=>i(57,pe=q));const vi=he.state.duration$;D(t,vi,q=>i(59,X=q));const Vi=he.state.graphIsOpened$;D(t,Vi,q=>i(142,oe=q));const ri=he.ui.playerSize;D(t,ri,q=>i(34,f=q));const ai=he.ui.is3DVideo;D(t,ai,q=>i(51,c=q));const Nt=he.ui.icon3DVideoVisible;D(t,Nt,q=>i(54,C=q));const wi=he.ui.rotateAlpha;D(t,wi,q=>i(35,b=q));const ii=he.state.isInteractive,ki=he.state.isInteractiveTime$;D(t,ki,q=>i(139,v=q));const ct=he.state.isInteractiveExpectation$;D(t,ct,q=>i(145,M=q));const kt=he.state.hasInteractiveBranches,At=he.ui.touched;D(t,At,q=>i(143,W=q));const Fi=he.ui.modals.hotKeyMap.data;D(t,Fi,q=>i(163,r=q));const yi=he.ui.modals.hotKeyMap.show;D(t,yi,q=>i(63,Ie=q));const Ki=he.ui.overlayContainer$,Mi=he.actions.internal.closeSettingsMenu,{fakeIsPlaying$:Bi}=hl();D(t,Bi,q=>i(137,_=q));let ui,Rt,Hi=0,Ci=0,ci,Ne,Ui;Fi.set(Zc());let Ni,fi;const qi=Be(!1);D(t,qi,q=>i(52,h=q));let Si;const di=Be(!1);D(t,di,q=>i(144,V=q));const Fe=Be(),Pi=Be(!1);D(t,Pi,q=>i(140,y=q));let Ot=!1,Zt=!1,Ti,ji,Ei,ln,Gi,Ai,Ji=!1,xi,$i=!1;const{toggle:Ri}=Bi;let Oi=!1,mi=null,$;Bt?.setContext(Ga());const et=()=>{x&&!ii&&vt(Ae.controls.hideTimeout)};he.setUiCallbacks({onStarted:et});const ni=()=>{window.clearTimeout(ci),di.set(!1)},Yi=()=>{window.clearTimeout(Ne),Fe.set(null)},vt=q=>{ni(),di.set(!0),ci=window.setTimeout(()=>di.set(!1),q);const Lt=q-100;Si=window.setTimeout(()=>{h&&qi.set(!1)},Lt>0?Lt:q)},sn=(q,Lt)=>{Yi(),Fe.set(Lt),Ne=window.setTimeout(()=>Fe.set(null),q)},un=ai.subscribe(q=>{Nt.set(q),q&&(window.clearTimeout(Ui),Ui=window.setTimeout(()=>Nt.set(!1),Ae.controls.hide360IconTimeout))}),en=async()=>{const q=ko();if(q){vt(Ae.controls.hideTimeoutFullscreen);try{await Bt?.remove()}catch(Lt){xt({message:String(Lt)})}}li.set(q),he.getAdmanWrapper().setFullscreen(q),m?he.callbacks?.onFullscreenEnter?.():he.callbacks?.onFullscreenExit?.()},cn=q=>{const Lt=q;ri.set({width:Lt.target.width,height:Lt.target.height})};nn(()=>(vu(en),qo(Bt)&&(Bt?.assignPlayerContainer(ui),Bt?.registryExternalEventHandlers({resize:cn})),ue&&Ce.parentElement?.insertBefore(ue,Ce.nextSibling),()=>{window.clearTimeout(ci),window.clearTimeout(Si),window.clearTimeout(Ne),window.clearTimeout(Ui),un(),Bt?.dispose(),wu(en)}));const tn=async()=>{if(ko())await _u(document),xt({message:"exit fullscreen"});else{xt({message:"request fullscreen"});const q=fe??ui,Lt=q.getRootNode(),vn=Lt instanceof ShadowRoot?Lt.host:Lt,wn=nt instanceof HTMLElement&&nt.contains(vn),$n=Ae.allowChangingFullscreenTarget&&nt&&wn?nt:q;await bu($n)}},J=()=>{Mi(),qt.set(!1)},G=q=>{qt.set(!0),i(42,Hi=q.clientX),i(43,Ci=q.clientY)};function hn(){Pi.set(!0),ii||vt(Ae.controls.hideTimeoutCursor)}function Ln(){ii||(qi.set(!0),vt(Ae.controls.hideTimeoutCursor))}function In(){Pi.set(!1),i(128,Zt=!1),i(127,Ot=!1),Oi=!1,he.actions.internal.releaseCamera()}function Un(q){if(ui){const Lt=g1(q.currentTarget),vn=f.height,wn=q.pageY-Lt;wn<Hl?i(128,Zt=!0):wn>vn-Hl?i(127,Ot=!0):(i(128,Zt=!1),l||i(127,Ot=!1))}}function qn(q){Un(q),ji||vt(Ae.controls.hideTimeoutCursor),c&&Oi&&mi&&he.actions.internal.moveCameraFocusPX(mi.clientX-q.clientX,mi.clientY-q.clientY,q.timeStamp-mi.timeStamp),mi=q}const jn=q=>{q.button===0&&(Oi=!0,he.actions.internal.holdCamera()),vt(Ae.controls.hideTimeoutCursor)},Wn=q=>{q.button===0&&(mi=q,Oi=!1,he.actions.internal.releaseCamera()),vt(Ae.controls.hideTimeoutCursor)},Zn=()=>{xt({message:"double click on video"}),tn(),vt(Ae.controls.hideTimeoutCursor)},Kn=()=>{if(n||l){J();return}if(!(a&&!kt)){if($i)return Ri();if($?.focus(),!_t){Wi(),vt(Ae.controls.hideTimeoutCursor);return}he.actions.internal.togglePlay(),vt(Ae.controls.hideTimeoutCursor)}},Gn=q=>{J(),At.set(!0),vt(Ae.controls.hideTimeout),q&&sn(Ae.controls.hideHotKeyHelpers,q)},Rn=()=>{J(),he.callbacks?.onOpenHotKeyMap?he.callbacks?.onOpenHotKeyMap(r):yi.update(q=>!q)},mo=()=>{if(n||l){J();return}},Yn=()=>{At.set(!0)},Qi=he.ui.contextMenu.openedByKeyboard$;D(t,Qi,q=>i(133,s=q));let On=he.ui.contextMenu.btnRef$;D(t,On,q=>i(132,o=q));let Vn;function Qn(q){Se[q?"unshift":"push"](()=>{Ce=q,i(0,Ce)})}const Xn=()=>$?.focus();function po(q){Rt=q,i(41,Rt)}const Jn=()=>$?.focus();function ho(q){Vn=q,i(32,Vn)}function _n(q){Se[q?"unshift":"push"](()=>{$=q,i(50,$)})}function Mn(q){Se[q?"unshift":"push"](()=>{fi=q,i(30,fi)})}function xn(q){Se[q?"unshift":"push"](()=>{ui=q,i(40,ui)})}return t.$$set=q=>{"store"in q&&i(122,he=q.store),"uiConfig"in q&&i(1,Ae=q.uiConfig),"title"in q&&i(2,A=q.title),"thumbUrl"in q&&i(3,ne=q.thumbUrl),"videoLogoUrl"in q&&i(4,Me=q.videoLogoUrl),"videoContainer"in q&&i(0,Ce=q.videoContainer),"interactiveContainer"in q&&i(123,ue=q.interactiveContainer),"live"in q&&i(5,_e=q.live),"autoplay"in q&&i(6,x=q.autoplay),"canRewindLive"in q&&i(7,Q=q.canRewindLive),"showAds"in q&&i(8,Ue=q.showAds),"adsSlotId"in q&&i(9,xe=q.adsSlotId),"adsParams"in q&&i(10,Je=q.adsParams),"adsPreviewParam"in q&&i(11,Le=q.adsPreviewParam),"duration"in q&&i(12,We=q.duration),"logoClickable"in q&&i(13,$e=q.logoClickable),"logoHidden"in q&&i(14,ht=q.logoHidden),"showNextPrevButtons"in q&&i(15,rt=q.showNextPrevButtons),"nextButtonActive"in q&&i(16,Pe=q.nextButtonActive),"prevButtonActive"in q&&i(17,gt=q.prevButtonActive),"endScreenVideoTitle"in q&&i(18,ut=q.endScreenVideoTitle),"endScreenVideoThumb"in q&&i(19,Xt=q.endScreenVideoThumb),"isOneVideoPlaylist"in q&&i(20,Jt=q.isOneVideoPlaylist),"supportLink"in q&&i(21,Vt=q.supportLink),"outerContainerRef"in q&&i(124,fe=q.outerContainerRef),"playerStarted"in q&&i(22,_t=q.playerStarted),"fullScreenTarget"in q&&i(125,nt=q.fullScreenTarget),"showMiniTimer"in q&&i(126,yt=q.showMiniTimer),"playNextVideo"in q&&i(23,dt=q.playNextVideo),"playPrevVideo"in q&&i(24,mt=q.playPrevVideo),"repeatPlaylist"in q&&i(25,Tt=q.repeatPlaylist),"seekToInteractive"in q&&i(26,zi=q.seekToInteractive),"toggleGraph"in q&&i(27,Ft=q.toggleGraph),"playPrevChapter"in q&&i(28,Li=q.playPrevChapter),"firstStart"in q&&i(29,Wi=q.firstStart)},t.$$.update=()=>{if(t.$$.dirty[1]&192|t.$$.dirty[4]&25165824&&i(44,Ni=(I===Re.Video&&Y||I===Re.Ads&&R===Yt.INACTIVE)&&!w),t.$$.dirty[0]&1073741824&&Ki.set(fi),t.$$.dirty[4]&4194304&&i(129,Ti=ie!==Qe.PlaybackState.PLAYING),t.$$.dirty[4]&2131e3&&i(130,ji=v&&!l&&!(Ot||Zt)&&!(Ti&&!M)),t.$$.dirty[1]&448|t.$$.dirty[4]&1066080&&Mt.set((Ti||l||k||te||V)&&!ji&&I===Re.Video&&!w),t.$$.dirty[0]&2|t.$$.dirty[1]&224|t.$$.dirty[4]&524292&&i(45,Ei=Ae.features.thumbTimer&&yt&&I===Re.Video&&!S&&!w&&!ii&&(Ae.hideThumbTimerAfterTouch&&!W||!Ae.hideThumbTimerAfterTouch)),t.$$.dirty[1]&128|t.$$.dirty[4]&266240&&i(46,ln=I===Re.Video&&!oe&&m),t.$$.dirty[0]&256|t.$$.dirty[1]&64|t.$$.dirty[4]&133120&&i(31,Gi=(Ue&&z||!Ue)&&a&&!w),t.$$.dirty[1]&33|t.$$.dirty[4]&98304&&i(47,Ai=y&&!(S||Gi)&&!v),t.$$.dirty[0]&2|t.$$.dirty[4]&49280&&(!k&&Ji&&!v&&vt(Ae.controls.hideTimeoutCursor),i(131,Ji=k)),t.$$.dirty[0]&1|t.$$.dirty[1]&24&&i(48,xi=Ce&&b%180?f.height/f.width:1),t.$$.dirty[4]&8192&&i(49,$i=_!==null),t.$$.dirty[1]&6|t.$$.dirty[4]&512&&kl(Vn,n,s),t.$$.dirty[1]&4|t.$$.dirty[4]&256){const q=o;q&&wl(q,n,Qi)}},[Ce,Ae,A,ne,Me,_e,x,Q,Ue,xe,Je,Le,We,$e,ht,rt,Pe,gt,ut,Xt,Jt,Vt,_t,dt,mt,Tt,zi,Ft,Li,Wi,fi,Gi,Vn,n,f,b,S,w,I,te,ui,Rt,Hi,Ci,Ni,Ei,ln,Ai,xi,$i,$,c,h,le,C,se,ye,pe,ve,X,ce,De,ae,Ie,Ee,Di,Zi,Ht,Ut,hi,Et,li,Mt,Ii,gi,qt,Ct,$t,bi,_i,ei,si,ti,jt,Wt,bt,wt,vi,Vi,ri,ai,Nt,wi,ii,ki,ct,At,Fi,yi,Bi,qi,di,Fe,Pi,Ri,tn,J,G,hn,Ln,In,qn,jn,Wn,Zn,Kn,Gn,Rn,mo,Yn,Qi,On,he,ue,fe,nt,yt,Ot,Zt,Ti,ji,Ji,o,s,l,a,m,_,k,v,y,z,oe,W,V,M,ie,R,Y,Qn,Xn,po,Jn,ho,_n,Mn,xn]}class Vp extends ke{constructor(e){super(),we(this,e,Ip,Ap,be,{store:122,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:123,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:124,playerStarted:22,fullScreenTarget:125,showMiniTimer:126,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},Tp,[-1,-1,-1,-1,-1,-1])}}const Mp=t=>{if(!ee.isIOS(!0))return!1;const e=t.device===ee.CurrentClientDevice.iPad||window?.screen.width>700,i=ee.getIOSVersion();return!e||e&&!!i&&i<16};function Bp(t){He(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 Pa(t){let e,i,n,o,s,l,r,a,c,f,m,h,_,b,k,v=K("doubletap_seek_step",{seconds:t[1].toFixed(0)})+"",S;return{c(){e=T("div"),n=O(),o=T("div"),s=T("div"),l=T("div"),a=O(),c=T("div"),m=O(),h=T("div"),b=O(),k=T("p"),S=ze(v),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",_="triangle "+t[0]+" v-nhq2ld"),u(s,"class","triangles-wrapper v-nhq2ld"),u(k,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(y,w){E(y,e,w),E(y,n,w),E(y,o,w),p(o,s),p(s,l),p(s,a),p(s,c),p(s,m),p(s,h),p(o,b),p(o,k),p(k,S)},p(y,w){w&1&&i!==(i="semicircle "+y[0]+" v-nhq2ld")&&u(e,"class",i),w&1&&r!==(r="triangle "+y[0]+" v-nhq2ld")&&u(l,"class",r),w&1&&f!==(f="triangle "+y[0]+" v-nhq2ld")&&u(c,"class",f),w&1&&_!==(_="triangle "+y[0]+" v-nhq2ld")&&u(h,"class",_),w&2&&v!==(v=K("doubletap_seek_step",{seconds:y[1].toFixed(0)})+"")&&Xe(S,v)},d(y){y&&(P(e),P(n),P(o))}}}function Np(t){let e,i,n,o,s=t[2]&&Pa(t);return{c(){e=T("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=ge(e,"click",it(t[3]())),n=!0)},p(l,[r]){l[2]?s?s.p(l,r):(s=Pa(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:j,o:j,d(l){l&&P(e),s&&s.d(),n=!1,o()}}}function Rp(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 jo(()=>{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 b1 extends ke{constructor(e){super(),we(this,e,Rp,Np,be,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},Bp)}}function Op(t,e,i){let{playNextVideo:n}=e;return nn(()=>{n()}),t.$$set=o=>{"playNextVideo"in o&&i(0,n=o.playNextVideo)},[n]}class zp extends ke{constructor(e){super(),we(this,e,Op,null,be,{playNextVideo:0})}}const{window:Dp}=Ka;function Fp(t){He(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 Ta(t){let e,i,n,o;e=new b1({props:{side:"left",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[99],handleSecondClick:t[127]}});let s=!t[48]&&Ea(t);return{c(){U(e.$$.fragment),i=O(),s&&s.c(),n=lt()},m(l,r){F(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[48]?s&&(de(),g(s,1,1,()=>{s=null}),me()):s?(s.p(l,r),r[1]&131072&&d(s,1)):(s=Ea(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&&(P(i),P(n)),H(e,l),s&&s.d(l)}}}function Ea(t){let e,i;return e=new b1({props:{side:"right",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[99],handleSecondClick:t[128]}}),{c(){U(e.$$.fragment)},m(n,o){F(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){H(e,n)}}}function Aa(t){let e,i;return e=new p1({props:{thumbUrl:t[2],startTime:t[4]?.startTime}}),{c(){U(e.$$.fragment)},m(n,o){F(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){H(e,n)}}}function La(t){let e,i;return e=new h1({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ia(t){let e,i,n;return i=new ku({props:{adsSlotId:t[8],adsParams:t[9],adsPreviewParam:t[10],duration:t[11]}}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","ads-container v-1jy89ut"),B(e,"hidden",t[34]!==Re.Ads)},m(o,s){E(o,e,s),F(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)&&B(e,"hidden",o[34]!==Re.Ads)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&P(e),H(i)}}}function Va(t){let e,i;return e=new zp({props:{playNextVideo:t[22]}}),{c(){U(e.$$.fragment)},m(n,o){F(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){H(e,n)}}}function Ma(t){let e,i;return e=new u1({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ba(t){let e,i,n;return i=new mu({props:{ariaLabel:K("video360")}}),{c(){e=T("div"),U(i.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,s){E(o,e,s),F(i,e,null),n=!0},p:j,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&P(e),H(i)}}}function Na(t){let e,i;return e=new f1({props:{thumbUrl:t[2],chromecastDeviceName:t[51]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&4&&(s.thumbUrl=n[2]),o[1]&1048576&&(s.chromecastDeviceName=n[51]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ra(t){let e,i;return e=new c1({props:{shifted:t[30],captions:t[53],position:t[44],playerSize:t[31],isMobile:!0}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},p(n,o){const s={};o[0]&1073741824&&(s.shifted=n[30]),o[1]&4194304&&(s.captions=n[53]),o[1]&8192&&(s.position=n[44]),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){H(e,n)}}}function Oa(t){let e,i,n,o,s;return i=new d1({}),{c(){e=T("div"),U(i.$$.fragment)},m(l,r){E(l,e,r),F(i,e,null),n=!0,o||(s=ge(e,"click",it(t[100])),o=!0)},p:j,i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&P(e),H(i),o=!1,s()}}}function za(t){let e,i;return e=new Bu({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Da(t){let e,i;return e=new Au({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Fa(t){let e,i,n=t[6]&&t[78]&&!t[47].has(ot.TIMELINE),o,s,l,r,a,c,f,m,h,_,b,k,v,S,y,w,z,oe;e=new m1({props:{hidden:t[34]!==Re.Thumb||t[33]||t[89]&&t[5],thumbUrl:t[2],startVideo:t[28]}});let I=n&&Ta(t),W=t[34]===Re.WaitingLive&&Aa(t),V=t[34]===Re.WaitingRecord&&La(),te=t[7]&&t[21]&&Ia(t),M=t[41]&&t[17]&&t[18]&&Va(t),ie=t[49]&&Ma(),R=t[50]&&Ba(),Y=t[35]&&Na(t),le=t[52].value!=="off"&&Ra(t),C=t[33]&&Oa(t);function se(X){t[129](X)}let ye={bottomHidden:t[34]===Re.Thumb||t[34]===Re.WaitingLive||t[34]===Re.WaitingRecord||t[34]===Re.Ads,showControls:t[30],bottomNoSmooth:t[45],isAds:t[34]===Re.Ads,canRewindLive:t[6]&&t[54]!==0,logoClickable:t[12],logoHidden:t[13],videoLogoUrl:t[3],showNextPrevButtons:t[14],nextButtonActive:t[15],prevButtonActive:t[16],isOneVideoPlaylist:t[19],supportLink:t[20],customFullscreenSupported:t[39],playNextVideo:t[22],playPrevVideo:t[23],repeatPlaylist:t[24],toggleFullscreen:t[97],seekToInteractive:t[25],toggleGraph:t[26],playPrevChapter:t[27]};t[37]!==void 0&&(ye.controlsElementRef=t[37]),b=new r1({props:ye}),Se.push(()=>je(b,"controlsElementRef",se)),S=new Cu({props:{isLive:t[55],isHidden:!t[40],isPlaying:t[56],position:t[44],duration:t[43]}});let pe=t[38]&&za(),ve=t[57]&&Da();return{c(){U(e.$$.fragment),i=O(),I&&I.c(),o=O(),W&&W.c(),s=O(),V&&V.c(),l=O(),te&&te.c(),r=O(),M&&M.c(),a=O(),ie&&ie.c(),c=O(),R&&R.c(),f=O(),Y&&Y.c(),m=O(),le&&le.c(),h=O(),C&&C.c(),_=O(),U(b.$$.fragment),v=O(),U(S.$$.fragment),y=O(),pe&&pe.c(),w=O(),ve&&ve.c(),z=lt()},m(X,ce){F(e,X,ce),E(X,i,ce),I&&I.m(X,ce),E(X,o,ce),W&&W.m(X,ce),E(X,s,ce),V&&V.m(X,ce),E(X,l,ce),te&&te.m(X,ce),E(X,r,ce),M&&M.m(X,ce),E(X,a,ce),ie&&ie.m(X,ce),E(X,c,ce),R&&R.m(X,ce),E(X,f,ce),Y&&Y.m(X,ce),E(X,m,ce),le&&le.m(X,ce),E(X,h,ce),C&&C.m(X,ce),E(X,_,ce),F(b,X,ce),E(X,v,ce),F(S,X,ce),E(X,y,ce),pe&&pe.m(X,ce),E(X,w,ce),ve&&ve.m(X,ce),E(X,z,ce),oe=!0},p(X,ce){const De={};ce[0]&32|ce[1]&12&&(De.hidden=X[34]!==Re.Thumb||X[33]||X[89]&&X[5]),ce[0]&4&&(De.thumbUrl=X[2]),ce[0]&268435456&&(De.startVideo=X[28]),e.$set(De),ce[0]&64|ce[1]&65536&&(n=X[6]&&X[78]&&!X[47].has(ot.TIMELINE)),n?I?(I.p(X,ce),ce[0]&64|ce[1]&65536&&d(I,1)):(I=Ta(X),I.c(),d(I,1),I.m(o.parentNode,o)):I&&(de(),g(I,1,1,()=>{I=null}),me()),X[34]===Re.WaitingLive?W?(W.p(X,ce),ce[1]&8&&d(W,1)):(W=Aa(X),W.c(),d(W,1),W.m(s.parentNode,s)):W&&(de(),g(W,1,1,()=>{W=null}),me()),X[34]===Re.WaitingRecord?V?ce[1]&8&&d(V,1):(V=La(),V.c(),d(V,1),V.m(l.parentNode,l)):V&&(de(),g(V,1,1,()=>{V=null}),me()),X[7]&&X[21]?te?(te.p(X,ce),ce[0]&2097280&&d(te,1)):(te=Ia(X),te.c(),d(te,1),te.m(r.parentNode,r)):te&&(de(),g(te,1,1,()=>{te=null}),me()),X[41]&&X[17]&&X[18]?M?(M.p(X,ce),ce[0]&393216|ce[1]&1024&&d(M,1)):(M=Va(X),M.c(),d(M,1),M.m(a.parentNode,a)):M&&(de(),g(M,1,1,()=>{M=null}),me()),X[49]?ie?ce[1]&262144&&d(ie,1):(ie=Ma(),ie.c(),d(ie,1),ie.m(c.parentNode,c)):ie&&(de(),g(ie,1,1,()=>{ie=null}),me()),X[50]?R?(R.p(X,ce),ce[1]&524288&&d(R,1)):(R=Ba(),R.c(),d(R,1),R.m(f.parentNode,f)):R&&(de(),g(R,1,1,()=>{R=null}),me()),X[35]?Y?(Y.p(X,ce),ce[1]&16&&d(Y,1)):(Y=Na(X),Y.c(),d(Y,1),Y.m(m.parentNode,m)):Y&&(de(),g(Y,1,1,()=>{Y=null}),me()),X[52].value!=="off"?le?(le.p(X,ce),ce[1]&2097152&&d(le,1)):(le=Ra(X),le.c(),d(le,1),le.m(h.parentNode,h)):le&&(de(),g(le,1,1,()=>{le=null}),me()),X[33]?C?(C.p(X,ce),ce[1]&4&&d(C,1)):(C=Oa(X),C.c(),d(C,1),C.m(_.parentNode,_)):C&&(de(),g(C,1,1,()=>{C=null}),me());const ae={};ce[1]&8&&(ae.bottomHidden=X[34]===Re.Thumb||X[34]===Re.WaitingLive||X[34]===Re.WaitingRecord||X[34]===Re.Ads),ce[0]&1073741824&&(ae.showControls=X[30]),ce[1]&16384&&(ae.bottomNoSmooth=X[45]),ce[1]&8&&(ae.isAds=X[34]===Re.Ads),ce[0]&64|ce[1]&8388608&&(ae.canRewindLive=X[6]&&X[54]!==0),ce[0]&4096&&(ae.logoClickable=X[12]),ce[0]&8192&&(ae.logoHidden=X[13]),ce[0]&8&&(ae.videoLogoUrl=X[3]),ce[0]&16384&&(ae.showNextPrevButtons=X[14]),ce[0]&32768&&(ae.nextButtonActive=X[15]),ce[0]&65536&&(ae.prevButtonActive=X[16]),ce[0]&524288&&(ae.isOneVideoPlaylist=X[19]),ce[0]&1048576&&(ae.supportLink=X[20]),ce[1]&256&&(ae.customFullscreenSupported=X[39]),ce[0]&4194304&&(ae.playNextVideo=X[22]),ce[0]&8388608&&(ae.playPrevVideo=X[23]),ce[0]&16777216&&(ae.repeatPlaylist=X[24]),ce[0]&33554432&&(ae.seekToInteractive=X[25]),ce[0]&67108864&&(ae.toggleGraph=X[26]),ce[0]&134217728&&(ae.playPrevChapter=X[27]),!k&&ce[1]&64&&(k=!0,ae.controlsElementRef=X[37],qe(()=>k=!1)),b.$set(ae);const Ie={};ce[1]&16777216&&(Ie.isLive=X[55]),ce[1]&512&&(Ie.isHidden=!X[40]),ce[1]&33554432&&(Ie.isPlaying=X[56]),ce[1]&8192&&(Ie.position=X[44]),ce[1]&4096&&(Ie.duration=X[43]),S.$set(Ie),X[38]?pe?ce[1]&128&&d(pe,1):(pe=za(),pe.c(),d(pe,1),pe.m(w.parentNode,w)):pe&&(de(),g(pe,1,1,()=>{pe=null}),me()),X[57]?ve?ce[1]&67108864&&d(ve,1):(ve=Da(),ve.c(),d(ve,1),ve.m(z.parentNode,z)):ve&&(de(),g(ve,1,1,()=>{ve=null}),me())},i(X){oe||(d(e.$$.fragment,X),d(I),d(W),d(V),d(te),d(M),d(ie),d(R),d(Y),d(le),d(C),d(b.$$.fragment,X),d(S.$$.fragment,X),d(pe),d(ve),oe=!0)},o(X){g(e.$$.fragment,X),g(I),g(W),g(V),g(te),g(M),g(ie),g(R),g(Y),g(le),g(C),g(b.$$.fragment,X),g(S.$$.fragment,X),g(pe),g(ve),oe=!1},d(X){X&&(P(i),P(o),P(s),P(l),P(r),P(a),P(c),P(f),P(m),P(h),P(_),P(v),P(y),P(w),P(z)),H(e,X),I&&I.d(X),W&&W.d(X),V&&V.d(X),te&&te.d(X),M&&M.d(X),ie&&ie.d(X),R&&R.d(X),Y&&Y.d(X),le&&le.d(X),C&&C.d(X),H(b,X),H(S,X),pe&&pe.d(X),ve&&ve.d(X)}}}function Hp(t){let e,i,n,o,s,l=t[46],r,a,c,f,m,h=Fa(t);return{c(){e=T("div"),i=T("div"),n=T("div"),s=O(),h.c(),r=O(),a=T("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${t[32]}deg) scale(${t[42]})`),B(n,"fast-rotate",!t[1].isSmoothVideoRotate),u(i,"class","video-wrapper v-1jy89ut"),B(i,"hidden",t[34]!==Re.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut")},m(_,b){E(_,e,b),p(e,i),p(i,n),t[126](n),p(e,s),h.m(e,null),p(e,r),p(e,a),t[130](a),t[131](e),c=!0,f||(m=[ge(Dp,"blur",t[98]),ge(i,"click",Qt(t[99])),ge(e,"click",t[101],!0),ge(e,"focusin",t[102],!0)],f=!0)},p(_,b){(!c||b[1]&2050&&o!==(o=`transform: rotate(${_[32]}deg) scale(${_[42]})`))&&u(n,"style",o),(!c||b[0]&2)&&B(n,"fast-rotate",!_[1].isSmoothVideoRotate),(!c||b[1]&8)&&B(i,"hidden",_[34]!==Re.Video),b[1]&32768&&be(l,l=_[46])?(de(),g(h,1,1,j),me(),h=Fa(_),h.c(),d(h,1),h.m(e,r)):h.p(_,b)},i(_){c||(d(h),c=!0)},o(_){g(h),c=!1},d(_){_&&P(e),t[126](null),h.d(_),t[130](null),t[131](null),f=!1,tt(m)}}}function Up(t,e,i){let n,o,s,l,r,a,c,f,m,h,_,b,k,v,S,y,w,z,oe,I,W,V,te,M,ie,R,Y,le,C,se,ye,pe,ve,X,ce,De,{store:ae}=e,{uiConfig:Ie}=e,{thumbUrl:Ee}=e,{videoLogoUrl:he}=e,{videoContainer:Ae}=e,{interactiveContainer:A}=e,{live:ne}=e,{autoplay:Me}=e,{canRewindLive:Ce}=e,{showAds:ue}=e,{adsSlotId:_e=void 0}=e,{adsParams:x=void 0}=e,{adsPreviewParam:Q=void 0}=e,{duration:Ue=void 0}=e,{logoClickable:xe}=e,{logoHidden:Je}=e,{showNextPrevButtons:Le=!1}=e,{nextButtonActive:We=!1}=e,{prevButtonActive:$e=!1}=e,{endScreenVideoTitle:ht=void 0}=e,{endScreenVideoThumb:rt=void 0}=e,{isOneVideoPlaylist:Pe=!1}=e,{supportLink:gt}=e,{outerContainerRef:ut=void 0}=e,{showMiniTimer:Xt=!1}=e,{fullScreenTarget:Jt=void 0}=e,{playerStarted:Vt=!1}=e,{playNextVideo:fe=ee.noop}=e,{playPrevVideo:_t=ee.noop}=e,{repeatPlaylist:nt=ee.noop}=e,{seekToInteractive:yt}=e,{toggleGraph:dt}=e,{playPrevChapter:mt}=e,{firstStart:Tt}=e,{seekTime:zi}=e;const Ft=ae.getLogger().createComponentLog("Root component"),Li=ae.interfaceLanguage$;D(t,Li,J=>i(46,ie=J));const Wi=ae.state.playbackState$;D(t,Wi,J=>i(123,V=J));const xt=ae.ads.playbackState;D(t,xt,J=>i(124,te=J));const Di=ae.state.positionWithScrubbing$;D(t,Di,J=>i(44,l=J));const Zi=ae.state.duration$;D(t,Zi,J=>i(43,s=J));const Ht=ae.playerPhase;D(t,Ht,J=>i(34,z=J));const Ut=ae.ui.isFullscreen;D(t,Ut,J=>i(137,a=J));const hi=ae.ui.controlsVisible;D(t,hi,J=>i(30,o=J));const Et=ae.ui.interactiveHideMobileControls;D(t,Et,J=>i(115,h=J));const li=ae.ui.settingsMenuVisible;D(t,li,J=>i(114,n=J));const Mt=ae.ui.scrubbingInProgress;D(t,Mt,J=>i(116,b=J));const Ii=ae.ui.debugPanelVisible;D(t,Ii,J=>i(57,De=J));const gi=ae.state.isLoaderVisible;D(t,gi,J=>i(125,M=J));const qt=ae.state.isEnded$;D(t,qt,J=>i(118,S=J));const Ct=ae.state.chromecastConnected$;D(t,Ct,J=>i(35,oe=J));const $t=ae.state.chromecastDeviceName$;D(t,$t,J=>i(51,se=J));const bi=ae.ads.postrollPassed;D(t,bi,J=>i(119,y=J));const _i=ae.ui.mobileUnmuteButtonExpanded,ei=ae.ui.mobileUnmuteButtonVisible,si=ae.state.isLive$;D(t,si,J=>i(55,X=J));const ti=ae.state.isPlaying$;D(t,ti,J=>i(56,ce=J));const jt=ae.state.isActiveLive$;D(t,jt,J=>i(48,Y=J));const Wt=ae.state.isRewindableLive$,Bt=ae.state.crashed$;D(t,Bt,J=>i(33,v=J));const bt=ae.webApi.pictureInPictureApi,wt=ae.state.videoSize$;D(t,wt,J=>i(138,f=J));const vi=ae.state.currentSubtitle$;D(t,vi,J=>i(52,ye=J));const Vi=ae.state.currentSubtitleCaptions$;D(t,Vi,J=>i(53,pe=J));const ri=ae.state.duration$;D(t,ri,J=>i(54,ve=J));const ai=ae.state.graphIsOpened$;D(t,ai,J=>i(122,W=J));const Nt=ae.ui.playerSize;D(t,Nt,J=>i(31,c=J));const wi=ae.ui.is3DVideo;D(t,wi,J=>i(49,le=J));const ii=ae.ui.icon3DVideoVisible;D(t,ii,J=>i(50,C=J));const ki=ae.ui.rotateAlpha;D(t,ki,J=>i(32,_=J));const ct=ae.state.isInteractive,kt=ae.state.isInteractiveTime$;D(t,kt,J=>i(117,k=J));const At=ae.state.isInteractiveExpectation$;D(t,At,J=>i(121,I=J));const Fi=ae.state.hasInteractiveBranches,yi=ae.ui.controls.disabledControls$;D(t,yi,J=>i(47,R=J));const Ki=ae.ui.touched;D(t,Ki,J=>i(120,w=J));const Mi=ae.ui.clientInfo$;D(t,Mi,J=>i(136,r=J));const Bi=ae.ui.overlayContainer$,ui=ae.actions.internal.closeSettingsMenu;let Rt,Hi,Ci,ci,Ne,Ui,Ni;const fi=Be(!1);D(t,fi,J=>i(45,m=J));let qi,Si=!1,di,Fe=!1,Pi,Ot=!0,Zt,Ti,ji=!1,Ei;bt?.setContext(Ga());const ln=J=>{clearTimeout(ci),J&&(ei.set(!0),_i.set(!0),ci=window.setTimeout(()=>{_i.set(!1)},Ie.controls.collapseMobileUnmute),ct||Ai(Ie.controls.hideTimeoutMobile))};ae.setUiCallbacks({onStarted:ln});const Gi=()=>{window.clearTimeout(Ci),i(109,Si=!1),h&&Et.set(!1)},Ai=J=>{Gi(),i(109,Si=!0),Ci=window.setTimeout(()=>i(109,Si=!1),J);const G=J-100;qi=window.setTimeout(()=>{m&&fi.set(!1)},G>0?G:J)},Ji=wi.subscribe(J=>{ii.set(J),J&&(window.clearTimeout(Ne),Ne=window.setTimeout(()=>ii.set(!1),Ie.controls.hide360IconTimeout))}),xi=async()=>{const J=ko();if(J){Ai(Ie.controls.hideTimeoutFullscreen);try{await bt?.remove()}catch(G){Ft({message:String(G)})}try{const G=f?.width&&f?.height?f:c;await Wc(G)}catch(G){Ft({message:String(G)})}}Ut.set(J),ae.getAdmanWrapper().setFullscreen(J),a?ae.callbacks?.onFullscreenEnter?.():ae.callbacks?.onFullscreenExit?.()},$i=J=>{const G=J;Nt.set({width:G.target.width,height:G.target.height})};nn(()=>(vu(xi),qo(bt)&&(bt?.assignPlayerContainer(Rt),bt?.registryExternalEventHandlers({resize:$i})),i(39,Ot=!Mp(r)),A&&Ae.parentElement?.insertBefore(A,Ae.nextSibling),()=>{window.clearTimeout(Ci),window.clearTimeout(qi),window.clearTimeout(ci),window.clearTimeout(Ne),Ji(),bt?.dispose(),wu(xi)}));const Ri=J=>{let G=l+(J==="forward"?1:-1)*Ie.controls.seekStepMobile/1e3;G<0?G=0:G>s&&(G=s-1),i(111,Fe=!0),zi(G)},Oi=async()=>{if(ko())await _u(document),Ft({message:"exit fullscreen"});else{Ft({message:"request fullscreen"});const J=ut??Rt,G=J.getRootNode(),hn=G instanceof ShadowRoot?G.host:G,Ln=Jt instanceof HTMLElement&&Jt.contains(hn),In=Ie.allowChangingFullscreenTarget&&Jt&&Ln?Jt:J;await bu(In)}},mi=()=>{ui()},$=()=>{if(n){mi();return}if(!Vt){Tt(),Ai(Ie.controls.hideTimeoutCursor);return}i(111,Fe=!1),o?Gi():Ai(Ie.controls.hideTimeoutMobile)},et=()=>{if(n){mi();return}},ni=()=>{Ki.set(!0)},Yi=()=>{ct||(fi.set(!0),Ai(Ie.controls.hideTimeoutCursor))};function vt(J){Se[J?"unshift":"push"](()=>{Ae=J,i(0,Ae)})}const sn=()=>Ri("backward"),un=()=>Ri("forward");function en(J){Hi=J,i(37,Hi)}function cn(J){Se[J?"unshift":"push"](()=>{Ni=J,i(29,Ni)})}function tn(J){Se[J?"unshift":"push"](()=>{Rt=J,i(36,Rt)})}return t.$$set=J=>{"store"in J&&i(103,ae=J.store),"uiConfig"in J&&i(1,Ie=J.uiConfig),"thumbUrl"in J&&i(2,Ee=J.thumbUrl),"videoLogoUrl"in J&&i(3,he=J.videoLogoUrl),"videoContainer"in J&&i(0,Ae=J.videoContainer),"interactiveContainer"in J&&i(104,A=J.interactiveContainer),"live"in J&&i(4,ne=J.live),"autoplay"in J&&i(5,Me=J.autoplay),"canRewindLive"in J&&i(6,Ce=J.canRewindLive),"showAds"in J&&i(7,ue=J.showAds),"adsSlotId"in J&&i(8,_e=J.adsSlotId),"adsParams"in J&&i(9,x=J.adsParams),"adsPreviewParam"in J&&i(10,Q=J.adsPreviewParam),"duration"in J&&i(11,Ue=J.duration),"logoClickable"in J&&i(12,xe=J.logoClickable),"logoHidden"in J&&i(13,Je=J.logoHidden),"showNextPrevButtons"in J&&i(14,Le=J.showNextPrevButtons),"nextButtonActive"in J&&i(15,We=J.nextButtonActive),"prevButtonActive"in J&&i(16,$e=J.prevButtonActive),"endScreenVideoTitle"in J&&i(17,ht=J.endScreenVideoTitle),"endScreenVideoThumb"in J&&i(18,rt=J.endScreenVideoThumb),"isOneVideoPlaylist"in J&&i(19,Pe=J.isOneVideoPlaylist),"supportLink"in J&&i(20,gt=J.supportLink),"outerContainerRef"in J&&i(105,ut=J.outerContainerRef),"showMiniTimer"in J&&i(106,Xt=J.showMiniTimer),"fullScreenTarget"in J&&i(107,Jt=J.fullScreenTarget),"playerStarted"in J&&i(21,Vt=J.playerStarted),"playNextVideo"in J&&i(22,fe=J.playNextVideo),"playPrevVideo"in J&&i(23,_t=J.playPrevVideo),"repeatPlaylist"in J&&i(24,nt=J.repeatPlaylist),"seekToInteractive"in J&&i(25,yt=J.seekToInteractive),"toggleGraph"in J&&i(26,dt=J.toggleGraph),"playPrevChapter"in J&&i(27,mt=J.playPrevChapter),"firstStart"in J&&i(28,Tt=J.firstStart),"seekTime"in J&&i(108,zi=J.seekTime)},t.$$.update=()=>{t.$$.dirty[1]&12|t.$$.dirty[4]&3&&i(38,Ui=(z===Re.Video&&M||z===Re.Ads&&te===Yt.INACTIVE)&&!v),t.$$.dirty[0]&536870912&&Bi.set(Ni),t.$$.dirty[3]&1073741824&&i(110,di=V!==Qe.PlaybackState.PLAYING),t.$$.dirty[3]&843251712&&i(112,Pi=W||h||!Si&&(S&&!!Fi||di&&I)),t.$$.dirty[1]&28|t.$$.dirty[3]&11468800&&hi.set((di||n||b||oe||Si&&!Fe)&&!Pi&&z===Re.Video&&!v),t.$$.dirty[0]&1073741826|t.$$.dirty[1]&12|t.$$.dirty[3]&134225920&&i(40,Zt=Ie.features.thumbTimer&&Xt&&z===Re.Video&&!o&&!v&&!ct&&(Ie.hideThumbTimerAfterTouch&&!w||!Ie.hideThumbTimerAfterTouch)),t.$$.dirty[0]&128|t.$$.dirty[1]&4|t.$$.dirty[3]&100663296&&i(41,Ti=(ue&&y||!ue)&&S&&!v),t.$$.dirty[0]&2|t.$$.dirty[3]&26214400&&(!b&&ji&&!k&&Ai(Ie.controls.hideTimeoutMobile),i(113,ji=b)),t.$$.dirty[0]&1|t.$$.dirty[1]&3&&i(42,Ei=Ae&&_%180?c.height/c.width:1)},[Ae,Ie,Ee,he,ne,Me,Ce,ue,_e,x,Q,Ue,xe,Je,Le,We,$e,ht,rt,Pe,gt,Vt,fe,_t,nt,yt,dt,mt,Tt,Ni,o,c,_,v,z,oe,Rt,Hi,Ui,Ot,Zt,Ti,Ei,s,l,m,ie,R,Y,le,C,se,ye,pe,ve,X,ce,De,Li,Wi,xt,Di,Zi,Ht,Ut,hi,Et,li,Mt,Ii,gi,qt,Ct,$t,bi,si,ti,jt,Wt,Bt,wt,vi,Vi,ri,ai,Nt,wi,ii,ki,ct,kt,At,yi,Ki,Mi,fi,Ri,Oi,mi,$,et,ni,Yi,ae,A,ut,Xt,Jt,zi,Si,di,Fe,Pi,ji,n,h,b,k,S,y,w,I,W,V,te,M,vt,sn,un,en,cn,tn]}class qp extends ke{constructor(e){super(),we(this,e,Up,Hp,be,{store:103,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:104,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:105,showMiniTimer:106,fullScreenTarget:107,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:108},Fp,[-1,-1,-1,-1,-1])}}function jp(t){He(t,"v-cghoty",`.root.v-cghoty{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
33
33
  180deg,
34
34
  rgba(0, 0, 0, 0.00) 0%,
35
35
  rgba(0, 0, 0, 0.01) 6.67%,
@@ -47,5 +47,5 @@
47
47
  rgba(0, 0, 0, 0.96) 86.67%,
48
48
  rgba(0, 0, 0, 0.99) 93.33%,
49
49
  #000 100%
50
- );--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg{pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}.overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:10000}`)}function m3(i){let e,t,n;function o(s){i[55](s)}let l={store:i[0],uiConfig:i[35],title:i[1],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36]};return i[33]!==void 0&&(l.videoContainer=i[33]),e=new e3({props:l}),je.push(()=>vt(e,"videoContainer",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&1&&(r.store=s[0]),a[0]&2&&(r.title=s[1]),a[0]&4&&(r.thumbUrl=s[2]),a[0]&8&&(r.videoLogoUrl=s[3]),a[0]&16&&(r.interactiveContainer=s[4]),a[0]&32&&(r.live=s[5]),a[0]&64&&(r.autoplay=s[6]),a[0]&128&&(r.canRewindLive=s[7]),a[0]&256&&(r.showAds=s[8]),a[0]&512&&(r.adsSlotId=s[9]),a[0]&1024&&(r.adsParams=s[10]),a[0]&2048&&(r.adsPreviewParam=s[11]),a[0]&4096&&(r.duration=s[12]),a[0]&8192&&(r.logoClickable=s[13]),a[0]&16384&&(r.logoHidden=s[14]),a[0]&65536&&(r.showNextPrevButtons=s[16]),a[0]&131072&&(r.nextButtonActive=s[17]),a[0]&262144&&(r.prevButtonActive=s[18]),a[0]&524288&&(r.endScreenVideoTitle=s[19]),a[0]&1048576&&(r.endScreenVideoThumb=s[20]),a[0]&2097152&&(r.isOneVideoPlaylist=s[21]),a[0]&4194304&&(r.supportLink=s[22]),a[0]&8388608&&(r.outerContainerRef=s[23]),a[0]&16777216&&(r.fullScreenTarget=s[24]),a[0]&33554432&&(r.showMiniTimer=s[25]),a[1]&8&&(r.playerStarted=s[34]),a[0]&67108864&&(r.playNextVideo=s[26]),a[0]&134217728&&(r.playPrevVideo=s[27]),a[0]&268435456&&(r.repeatPlaylist=s[28]),a[0]&536870912&&(r.seekToInteractive=s[29]),a[0]&1073741824&&(r.toggleGraph=s[30]),a[1]&1&&(r.playPrevChapter=s[31]),!t&&a[1]&4&&(t=!0,r.videoContainer=s[33],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function h3(i){let e,t,n;function o(s){i[54](s)}let l={store:i[0],uiConfig:i[35],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36],seekTime:i[32]};return i[33]!==void 0&&(l.videoContainer=i[33]),e=new f3({props:l}),je.push(()=>vt(e,"videoContainer",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&1&&(r.store=s[0]),a[0]&4&&(r.thumbUrl=s[2]),a[0]&8&&(r.videoLogoUrl=s[3]),a[0]&16&&(r.interactiveContainer=s[4]),a[0]&32&&(r.live=s[5]),a[0]&64&&(r.autoplay=s[6]),a[0]&128&&(r.canRewindLive=s[7]),a[0]&256&&(r.showAds=s[8]),a[0]&512&&(r.adsSlotId=s[9]),a[0]&1024&&(r.adsParams=s[10]),a[0]&2048&&(r.adsPreviewParam=s[11]),a[0]&4096&&(r.duration=s[12]),a[0]&8192&&(r.logoClickable=s[13]),a[0]&16384&&(r.logoHidden=s[14]),a[0]&65536&&(r.showNextPrevButtons=s[16]),a[0]&131072&&(r.nextButtonActive=s[17]),a[0]&262144&&(r.prevButtonActive=s[18]),a[0]&524288&&(r.endScreenVideoTitle=s[19]),a[0]&1048576&&(r.endScreenVideoThumb=s[20]),a[0]&2097152&&(r.isOneVideoPlaylist=s[21]),a[0]&4194304&&(r.supportLink=s[22]),a[0]&8388608&&(r.outerContainerRef=s[23]),a[0]&16777216&&(r.fullScreenTarget=s[24]),a[0]&33554432&&(r.showMiniTimer=s[25]),a[1]&8&&(r.playerStarted=s[34]),a[0]&67108864&&(r.playNextVideo=s[26]),a[0]&134217728&&(r.playPrevVideo=s[27]),a[0]&268435456&&(r.repeatPlaylist=s[28]),a[0]&536870912&&(r.seekToInteractive=s[29]),a[0]&1073741824&&(r.toggleGraph=s[30]),a[1]&1&&(r.playPrevChapter=s[31]),!t&&a[1]&4&&(t=!0,r.videoContainer=s[33],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function p3(i){let e,t,n,o;const l=[h3,m3],s=[];function a(r,c){return r[15]?0:1}return t=a(i),n=s[t]=l[t](i),{c(){e=k("div"),n.c(),u(e,"class","root v-labq99")},m(r,c){C(r,e,c),s[t].m(e,null),o=!0},p(r,c){let f=t;t=a(r),t===f?s[t].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),n=s[t],n?n.p(r,c):(n=s[t]=l[t](r),n.c()),m(n,1),n.m(e,null))},i(r){o||(m(n),o=!0)},o(r){p(n),o=!1},d(r){r&&y(e),s[t].d()}}}function g3(i,e,t){let{sources:n}=e,{store:o}=e,{microStoresRoot:l}=e,{uiConfig:s}=e,{title:a}=e,{thumbUrl:r}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:h}=e,{live:g}=e,{preload:v}=e,{autoplay:b}=e,{volume:_=void 0}=e,{muted:V=void 0}=e,{fromTime:A}=e,{canRewindLive:S}=e,{showAds:P}=e,{adsSlotId:B=void 0}=e,{adsParams:W=void 0}=e,{adsPreviewParam:X=void 0}=e,{duration:j=void 0}=e,{logoClickable:T}=e,{logoHidden:te}=e,{isMobile:Z}=e,{showNextPrevButtons:ie=!1}=e,{nextButtonActive:G=!1}=e,{prevButtonActive:J=!1}=e,{endScreenVideoTitle:ce=void 0}=e,{endScreenVideoThumb:w=void 0}=e,{isOneVideoPlaylist:le=!1}=e,{supportLink:de}=e,{outerContainerRef:_e=void 0}=e,{fullScreenTarget:Ne=void 0}=e,{failoverHosts:Le=void 0}=e,{showMiniTimer:ye=!1}=e,{playNextVideo:H=ne.noop}=e,{playPrevVideo:M=ne.noop}=e,{repeatPlaylist:Y=ne.noop}=e,{seekToInteractive:ge=ne.noop}=e,{toggleGraph:ee=ne.noop}=e,{playPrevChapter:N=ne.noop}=e;const{subscribers:Q,stores:Ie}=l;tu(s);const Ce=Gi(),Ae=o.ui.debugPanelVisible,x=o.ui.playerSize;let se,ve=null,re=!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}),ru(o,Ie);const qe=(ue=!1)=>{t(34,re=!0),ue?o.actions.external.firstStart(P):o.actions.internal.firstStart(P)};function We(ue){const et=n||ue;et&&o.initVideo({container:se,sources:et,failoverHosts:Le,subtitles:h});const Qe=ne.safeStorage.get(Uo)==="true";Ae.set(Qe),A>0&&o.actions.external.seekTime(A);const nt=Z?Ce.volumeDefault:_??Pr()??Ce.volumeDefault,Ke=V??hu();if(o.actions.external.setVolume(nt),o.actions.external.setMuted(Ke),o.getAdmanWrapper().setInitialVolume(Ke?0:nt),Ce.features.trafficSaving){const tt=gu();tt&&o.actions.internal.setTrafficSavingEnabled(tt)}const dt=mu(o.videoId);dt&&o.actions.internal.setQuality(dt),o.ui.isAutoplay.set(b),b?qe():v&&Ce.features.preload&&o.actions.internal.preload()}const $e=ue=>{if(window.ResizeObserver){let et,Qe;ve=new ResizeObserver(ne.debounceFn(nt=>{const Ke=nt[0];if(Ke){if(Ke.contentBoxSize){const dt=Array.isArray(Ke.contentBoxSize)?Ke.contentBoxSize[0]:Ke.contentBoxSize;et=dt.inlineSize,Qe=dt.blockSize}else Ke.contentRect&&(et=Ke.contentRect.width,Qe=Ke.contentRect.height);x.set({width:et,height:Qe})}},dr)),ve.observe(ue)}x.set({width:ue.clientWidth,height:ue.clientHeight})};Zi(()=>{$e(se);const ue=Q.map(Qe=>Qe.init(o,Ie));if(g?.status==="upcoming"||g?.status==="waiting"){o.actions.internal.setWaitingLive(!0);return}if((g?.status==="finished"||g?.status==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return We(),()=>{ve?.disconnect(),ue.forEach(Qe=>Qe.unsubscribe()),o.destroy()}});function it(){re?o.actions.external.play():qe(!0)}function Be(){o.actions.external.pause()}function rt(ue){Z||o.actions.external.setMuted(ue)}function St(ue){Z||ue>=0&&ue<=1&&o.actions.external.setVolume(ue)}function Re(ue){o.actions.internal.seekTime(ue,pt.SeekAction.UNKNOWN)}function Ve(ue){o.actions.external.seekEpisodeStartTime(ue)}function wt(ue){o.actions.external.setPlaybackRate(ue)}function zt(ue){o.actions.external.setAutoQualityLimits(ue)}function mt(ue){se=ue,t(33,se)}function lt(ue){se=ue,t(33,se)}return i.$$set=ue=>{"sources"in ue&&t(37,n=ue.sources),"store"in ue&&t(0,o=ue.store),"microStoresRoot"in ue&&t(38,l=ue.microStoresRoot),"uiConfig"in ue&&t(39,s=ue.uiConfig),"title"in ue&&t(1,a=ue.title),"thumbUrl"in ue&&t(2,r=ue.thumbUrl),"videoLogoUrl"in ue&&t(3,c=ue.videoLogoUrl),"interactiveContainer"in ue&&t(4,f=ue.interactiveContainer),"subtitles"in ue&&t(40,h=ue.subtitles),"live"in ue&&t(5,g=ue.live),"preload"in ue&&t(41,v=ue.preload),"autoplay"in ue&&t(6,b=ue.autoplay),"volume"in ue&&t(42,_=ue.volume),"muted"in ue&&t(43,V=ue.muted),"fromTime"in ue&&t(44,A=ue.fromTime),"canRewindLive"in ue&&t(7,S=ue.canRewindLive),"showAds"in ue&&t(8,P=ue.showAds),"adsSlotId"in ue&&t(9,B=ue.adsSlotId),"adsParams"in ue&&t(10,W=ue.adsParams),"adsPreviewParam"in ue&&t(11,X=ue.adsPreviewParam),"duration"in ue&&t(12,j=ue.duration),"logoClickable"in ue&&t(13,T=ue.logoClickable),"logoHidden"in ue&&t(14,te=ue.logoHidden),"isMobile"in ue&&t(15,Z=ue.isMobile),"showNextPrevButtons"in ue&&t(16,ie=ue.showNextPrevButtons),"nextButtonActive"in ue&&t(17,G=ue.nextButtonActive),"prevButtonActive"in ue&&t(18,J=ue.prevButtonActive),"endScreenVideoTitle"in ue&&t(19,ce=ue.endScreenVideoTitle),"endScreenVideoThumb"in ue&&t(20,w=ue.endScreenVideoThumb),"isOneVideoPlaylist"in ue&&t(21,le=ue.isOneVideoPlaylist),"supportLink"in ue&&t(22,de=ue.supportLink),"outerContainerRef"in ue&&t(23,_e=ue.outerContainerRef),"fullScreenTarget"in ue&&t(24,Ne=ue.fullScreenTarget),"failoverHosts"in ue&&t(45,Le=ue.failoverHosts),"showMiniTimer"in ue&&t(25,ye=ue.showMiniTimer),"playNextVideo"in ue&&t(26,H=ue.playNextVideo),"playPrevVideo"in ue&&t(27,M=ue.playPrevVideo),"repeatPlaylist"in ue&&t(28,Y=ue.repeatPlaylist),"seekToInteractive"in ue&&t(29,ge=ue.seekToInteractive),"toggleGraph"in ue&&t(30,ee=ue.toggleGraph),"playPrevChapter"in ue&&t(31,N=ue.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(Z)},[o,a,r,c,f,g,b,S,P,B,W,X,j,T,te,Z,ie,G,J,ce,w,le,de,_e,Ne,ye,H,M,Y,ge,ee,N,Re,se,re,Ce,qe,n,l,s,h,v,_,V,A,Le,We,it,Be,rt,St,Ve,wt,zt,mt,lt]}class b3 extends we{constructor(e){super(),ke(this,e,g3,p3,be,{sources:37,store:0,microStoresRoot:38,uiConfig:39,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:40,live:5,preload:41,autoplay:6,volume:42,muted:43,fromTime:44,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:45,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:46,play:47,pause:48,setMuted:49,setVolume:50,seekTime:32,seekEpisodeStartTime:51,setPlaybackRate:52,setAutoQualityLimits:53},d3,[-1,-1])}get initVideo(){return this.$$.ctx[46]}get play(){return this.$$.ctx[47]}get pause(){return this.$$.ctx[48]}get setMuted(){return this.$$.ctx[49]}get setVolume(){return this.$$.ctx[50]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[51]}get setPlaybackRate(){return this.$$.ctx[52]}get setAutoQualityLimits(){return this.$$.ctx[53]}}function v3(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill",i[0]),u(t,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,o){C(n,e,o),d(e,t)},p(n,[o]){o&1&&u(t,"fill",n[0])},i:K,o:K,d(n){n&&y(e)}}}function _3(i,e,t){let{isWhite:n=!1}=e,o;return i.$$set=l=>{"isWhite"in l&&t(1,n=l.isWhite)},i.$$.update=()=>{i.$$.dirty&2&&t(0,o=n?"#fff":"#909499")},[o,n]}class k3 extends we{constructor(e){super(),ke(this,e,_3,v3,be,{isWhite:1})}}function w3(i){Ue(i,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function tr(i){let e,t;return{c(){e=k("div"),t=Oe(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&1&&xe(t,n[0])},d(n){n&&y(e)}}}function ir(i){let e,t;return e=new k3({props:{isWhite:!!i[1]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.isWhite=!!n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function y3(i){let e,t,n,o,l=i[0]&&tr(i),s=(!i[0]||!i[1])&&ir(i);return{c(){e=k("div"),l&&l.c(),t=R(),s&&s.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(a,r){C(a,e,r),l&&l.m(e,null),d(e,t),s&&s.m(e,null),o=!0},p(a,[r]){a[0]?l?l.p(a,r):(l=tr(a),l.c(),l.m(e,t)):l&&(l.d(1),l=null),!a[0]||!a[1]?s?(s.p(a,r),r&3&&m(s,1)):(s=ir(a),s.c(),m(s,1),s.m(e,null)):s&&(he(),p(s,1,1,()=>{s=null}),pe()),(!o||r&2&&n!==(n=a[1]?`background-image: url('${a[1]}')`:""))&&u(e,"style",n)},i(a){o||(m(s),o=!0)},o(a){p(s),o=!1},d(a){a&&y(e),l&&l.d(),s&&s.d()}}}function C3(i,e,t){let{title:n}=e,{thumbUrl:o}=e;return i.$$set=l=>{"title"in l&&t(0,n=l.title),"thumbUrl"in l&&t(1,o=l.thumbUrl)},[n,o]}class P3 extends we{constructor(e){super(),ke(this,e,C3,y3,be,{title:0,thumbUrl:1},w3)}}class nr{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}removeEventListener(e,t){if(!(e in this.listeners))return;const n=this.listeners[e];for(let o=0,l=n.length;o<l;o++)if(n[o].callback===t){n.splice(o,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let o=0,l=n.length;o<l;o++){const s=n[o];try{s.callback.call(this,e)}catch(a){Promise.resolve().then(()=>{throw a})}s.options&&s.options.once&&this.removeEventListener(e.type,s.callback)}return!e.defaultPrevented}}class S1 extends nr{constructor(){super(),this.listeners||nr.call(this),Object.defineProperty(this,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(this,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(this,"reason",{value:void 0,writable:!0,configurable:!0})}toString(){return"[object AbortSignal]"}dispatchEvent(e){e.type==="abort"&&(this.aborted=!0,typeof this.onabort=="function"&&this.onabort.call(this,e)),super.dispatchEvent(e)}}let S3=class{constructor(){Object.defineProperty(this,"signal",{value:new S1,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch{typeof document<"u"?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document>"u")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch{n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};typeof Symbol<"u"&&Symbol.toStringTag&&(S3.prototype[Symbol.toStringTag]="AbortController",S1.prototype[Symbol.toStringTag]="AbortSignal");function T1(i){return i.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof i.Request=="function"&&!i.Request.prototype.hasOwnProperty("signal")||!i.AbortController}function T3(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!T1({fetch:e,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:e,Request:l};let l=t;(l&&!l.prototype.hasOwnProperty("signal")||o)&&(l=function(c,f){let h;f&&f.signal&&(h=f.signal,delete f.signal);const g=new t(c,f);return h&&Object.defineProperty(g,"signal",{writable:!1,enumerable:!1,configurable:!0,value:h}),g},l.prototype=t.prototype);const s=e;return{fetch:(r,c)=>{const f=l&&l.prototype.isPrototypeOf(r)?r.signal:c?c.signal:void 0;if(f){let h;try{h=new DOMException("Aborted","AbortError")}catch{h=new Error("Aborted"),h.name="AbortError"}if(f.aborted)return Promise.reject(h);const g=new Promise((v,b)=>{f.addEventListener("abort",()=>b(h),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([g,s(r,c)])}return s(r,c)},Request:l}}const el=T1({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),A1=el?T3({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,A3=el?A1.fetch:window.fetch;el?A1.Request:window.Request;const E3=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,L3="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class V3{adman=null;initialVolume=1;videoElement=null;currentAdSection=null;actions=null;adsState=null;playerState=null;log;loadTimeout;initTimeout;events={slotRequested$:new ne.Subject,started$:new ne.Subject,paused$:new ne.Subject,resumed$:new ne.Subject,ended$:new ne.Subject,skipped$:new ne.Subject,clicked$:new ne.Subject};constructor(e,t){this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=t.loadTimeout,this.initTimeout=t.initTimeout}init(e,t,n){this.actions=e,this.adsState=t,this.playerState=n}loadAdman=e=>new Promise((t,n)=>{let o;const l=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?t():n()};ne.addScript(L3,e,this.loadTimeout).then(()=>{window.AdmanHTML?t():(window.admanAsyncInit=l,o=window.setTimeout(l,this.initTimeout))}).catch(()=>{n()})});onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:t,height:n,isFullscreen:o,isAutoplay:l,adsContainer:s,adsVideoElement:a,slotId:r,params:c={},duration:f,previewParam:h}=e;let g;const v=this.playerState&&Xe(this.playerState.vsid);v&&(g=parseInt(v,36));const b={dl:encodeURIComponent(window.location.href),autoplay:l,player_width:t,player_height:n,puid10:E3(t,n),puid11:o?0:1,preview:h,...g?{request_id:g}:{},duration:f,...c},_={slot:r,wrapper:s,videoEl:a,videoQuality:n,params:b,browser:{mobile:!1}},V=new window.AdmanHTML;V.setDebug(!1),V.onReady(this.onAdsReady),V.onStarted(this.onAdStarted),V.onPlayed(this.onAdPlayed),V.onPaused(this.onAdPaused),V.adMidrollPoint(this.onAdMidrollPoint),V.onClosed(this.onAdClosed),V.onSkipped(this.onAdSkipped),V.onClicked(this.onAdClicked),V.onTimeRemained(this.onAdTimeRemained),V.onCompleted(this.onAdCompleted),V.onError(this.onAdError),V.init(_),this.adman=V,this.videoElement=a,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(_)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}ne.assertNonNullable(this.actions),ne.assertNonNullable(this.adsState),ne.assertNonNullable(this.playerState);const t=this.currentAdSection===cn.Postroll;this.adsState.playbackState.set(Bt.INACTIVE),this.currentAdSection=null,this.playerState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${t}`}),t&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!t)}togglePlay(){ne.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=Xe(this.adsState.playbackState);e===Bt.PLAYING?this.pause():e===Bt.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(){ne.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=cn.Preroll,this.adman.start(cn.Preroll)}startPostroll(){ne.assertNonNullable(this.adman),ne.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=cn.Postroll,this.adman.start(cn.Postroll)}onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()};onAdStarted=(e,t)=>{ne.assertNonNullable(this.adsState),ne.assertNonNullable(this.playerState),ne.assertNonNullable(this.actions),this.log({message:`ad started, section: ${e}, banner: ${JSON.stringify(t)}`}),this.events.started$.next(e),t.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Xe(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(t.duration),this.adsState.playbackState.set(Bt.PLAYING),this.adsState.canSkip.set(t.allowClose),this.adsState.secondsToWatchBeforeSkip.set(t.allowCloseDelay)};onAdTimeRemained=({currentTime:e})=>{ne.assertNonNullable(this.adsState),this.adsState.position.set(e)};onAdPaused=()=>{ne.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Bt.PAUSED)};onAdPlayed=()=>{ne.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Bt.PLAYING)};onAdMidrollPoint=()=>{ne.assertNonNullable(this.adman),ne.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=cn.Midroll,this.adman.start(cn.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(){ne.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ne.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ne.assertNonNullable(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,t){this.adman?.setPosition(Math.floor(e),Math.floor(t))}destroy(){this.log({message:"destroy"}),this.adman?.destroy()}}const I3=i=>{const e=Math.round(i);return isNaN(e)||e<40?"":e>=40&&e<55?50:e>=55&&e<90?60:e>=90&&e<180?120:e>=180?240:""};class M3{oneLineRegExp=/\r\n|\n|\r/;twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/;parse(e){const t=[],n=e.split(this.twoLinesRegExp);for(const o of n){const l={startTime:0,endTime:0,texts:[],lang:""},s=o.split(this.oneLineRegExp);for(const a of s)if(!l.startTime&&!l.endTime){const r=new E1,{startTime:c,endTime:f}=r.parse(a);l.startTime=c,l.endTime=f}else if(a.trim()!==""){const r=new N3,{texts:c}=r.parse(a);l.texts=[...l.texts,...c]}(l.startTime||l.endTime)&&l.texts.length>0&&t.push(l)}return t}}class E1{timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/;timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`);parse(e){const t={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(t.startTime=this.calcTime(n[1],n[2],n[3],n[4]),t.endTime=this.calcTime(n[6],n[7],n[8],n[9])),t}parseTime(e){const t=this.timeRegExp.exec(e);return t?this.calcTime(t[1],t[2],t[3],t[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",t="0",n="0",o="0"){const l=Number(e)*60*60,s=Number(t)*60,a=Number(n),r=+`0.${o}`;return l+s+a+r}}class N3{letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/;parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](s){let a=0;const r=[];for(;a<s.length;){const c=["<",">"].reduce((f,h)=>{const g=s.indexOf(h,a);return f===-1||f>g?g:f},-1);if(c===-1){r.push(s.substring(a));break}r.push(s.substring(a,c)),a=c+1}return r}}),l=new E1;for(const s of o)l.isTime(s)?t.texts.push({type:"timestamp",value:l.parseTime(s)}):t.texts.push({type:"text",value:s});return t}}let wn,Xi,Ro=0,Bo=!1;const R3=(i,e,t)=>{const n=i>=Ro,o=i<Ro,l=(c,f=0,h=0)=>c<f&&c<h,s=(c,f=0,h=0)=>c>=f&&c<=h,a=(c,f=0,h=0)=>c>f&&c>h,r=t.find(({lang:c})=>c===e.value)?.subtitles;if(Ro=i,o&&(Bo=!1),ne.isNonNullable(wn)&&s(i,wn.startTime,wn.endTime)&&wn.lang===e.value)return wn;if(!ne.isNonNullable(Xi)&&r?.length&&!Bo){const c=r.find(({startTime:f,endTime:h})=>s(i,f,h)||n&&l(i,f,h));Xi=c&&{...c,lang:e.value},wn=void 0,!ne.isNonNullable(Xi)&&r[r.length-1].endTime<i&&(Bo=!0);return}else{if(s(i,Xi?.startTime,Xi?.endTime))return wn=Xi,Xi=void 0,wn;(n&&a(i,Xi?.startTime,Xi?.endTime)||o&&l(i,Xi?.startTime,Xi?.endTime))&&(Xi=void 0)}},zo={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 po=null;class to{constructor(e,t){if(!po){const n=new pt.OneStat(e,t),o=new ne.Subscription;po=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n?.destroy(),o?.unsubscribe(),po=null}})}}static getInstance(){return po}}const B3=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:l,canDownload:s,callbacks:a,webApi:r,videoEpisodes:c,previewThumbsData:f,uiConfig:h,coreConfig:g,player:v,disabledControls:b,isInteractive:_,interactiveRanges:V,replayInteractive:A,hasInteractiveBranches:S,playPrevChapterDisabledTooltip:P,additionalButtons:B,looped:W=!1})=>{const X={...g,configName:[...g.configName??[],"ui"],isAudioDisabled:l,live:{...g.live??{},isLiveCatchUpMode:!!n}},j=h,T=v||new Je.Player(X);T.setLooped(W);const te=new ne.Logger,Z=new V3(te,{loadTimeout:j.ads.loadTimeout,initTimeout:j.ads.initTimeout}),ie=to.getInstance(),G=qo.getInstance(),J=r?.pictureInPictureApi,ce=r?.annotationsApi,w=te.createComponentLog("Store");let le,de,_e={};const Ne=ne.getCurrentBrowser(),Le=ie?gt(ie.oneStat.vsid$):on(void 0),ye=He(oo()),H=J?.info.isActive$??new ne.ValueSubject(!1),M=J?.info.type,Y=He(0),ge=He([]),ee=ne.merge(T.events.fatalError$,T.events.managedError$).subscribe(E=>ge.update(fe=>[...fe,E])),N=on(!1,E=>{const fe=T.events.fatalError$.subscribe(()=>E(!0));return()=>fe.unsubscribe()}),Q=async E=>{const fe=Object.values(ne.InterfaceLanguage).includes(E);if(j.downloadVKLanguages&&(fe&&j.updateBuiltinLanguages||!fl(E))){let De;try{De=await ne.loadVKLangPack(E,iu,nu)}catch(Ye){ie?.oneStat?.logError({errorType:"VKLangPack",fatal:!1}),G?.report(Ye,{errorType:"VKLangPack",fatal:!1})}De&&(cl({language:E,pack:De,fallback:j.defaultLanguage}),Ie.set(E))}fl(E)&&Ie.set(E)},Ie=He(i);Q(i);const Ce=(E,fe)=>{const Te=Xe(Ie);return Vr(Te,E,fe,j.defaultLanguage)},Ae=He(ze.Thumb),x=(()=>{const E=Qt([N,Ae],([fe,Te])=>fe?ze.Crashed:Te);return{...E,is:fe=>Xe(E)===fe}})(),se=(()=>{const E=He(new Set(b));return{...E,add:fe=>{E.update(Te=>new Set([...Te].concat(fe)))},remove:fe=>{E.update(Te=>{const De=[...Te];return new Set(Array.isArray(fe)?De.filter(Ye=>!fe.includes(Ye)):De.filter(Ye=>Ye!==fe))})},includes:fe=>{const Te=Xe(E);return Array.isArray(fe)?fe.every(De=>Te.has(De)):Te.has(fe)}}})();w({message:"create store"});const ve=E=>{w({message:`init video, config: ${JSON.stringify(E)}`}),_?E.container.append(T.experimental.element$.getValue()):T.initVideo(E),E.subtitles&&T.setExternalTextTracks(E.subtitles),le=E},re=new ne.Subject,qe=E=>re.next(E),We=new ne.Subject,$e=new ne.Subject,it=new ne.Subject,Be={actionRewind$:We,actionSeek$:$e,inPiP$:H,inFullscreen$:new ne.Observable(E=>ye.subscribe(fe=>E.next(fe))),actionSetSubtitle$:it,nextMovie$:re};if(ie){const{oneStat:E,statSubscription:fe}=ie;fe.add(E.attachTo(T)),fe.add(E.attachToUi(Be)),fe.add(E.attachToAds(Z.events)),E.authorize(o).catch(Te=>{w({message:`onestat auth error ${String(Te)}`})})}if(G){const E=new ne.Subscription,fe=(Te,De)=>E.add(Te.subscribe(De));if(fe(T.events.managedError$,Te=>{G.logIError(Te)}),fe(T.events.fatalError$,Te=>{G.logIError(Te,!0)}),ie){const{oneStat:Te}=ie;fe(Te.experimental.error$,De=>{G.logIError(De)})}G.sentrySubscription.add(E)}const rt=()=>{ne.isIOS()&&de&&Iu(de)},St=new ne.Subscription().add(T.experimental.element$.subscribe(E=>{E&&(de=E,E.classList.add("player-media"),_o(J)&&(J.updateVideoElement(),J.registryEventHandlers()),_&&E.setAttribute("pip","false"))})).add(T.events.ended$.subscribe(()=>{rt(),a?.onEnded?.()})).add(T.events.started$.subscribe(async()=>{_o(J)&&await J?.revealPictureInPicture();const E=T.info.muted$.getValue();a?.onStarted?.(),_e.onStarted?.(E)})).add(T.events.willSeek$.subscribe(({from:E,to:fe})=>{a?.onSeek?.(E,fe)})).add(T.info.position$.subscribe(E=>{const fe=T.info.duration$.getValue();a?.onTimeupdate?.(fe,E),Z.setPosition(E,fe)})).add(T.events.fatalError$.subscribe(()=>{a?.onCrashed?.()})).add(T.info.is3DVideo$.subscribe(E=>{Et.ui.is3DVideo.set(E)})).add(T.info.isEnded$.subscribe(E=>{_&&(E?(Xe(Ao)&&se.add(hr),se.add(ft.PLAY_BUTTON)):se.remove(ft.PLAY_BUTTON))})).add(T.info.liveTime$.subscribe(E=>{a?.onLiveTime?.(E)})),Re=new ne.Subscription,Ve=()=>{Re.add(T.events.log$.subscribe(E=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${E.component}`,E.message)})).add(te.log$.subscribe(E=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${E.component}.`,E.message)}))},wt=()=>{Re.unsubscribe()},zt=(E,fe)=>{T.startCameraManualRotation(E,fe)},mt=(E=!1)=>{T.stopCameraManualRotation(E)},lt=(E,fe,Te)=>{T.moveCameraFocusPX(E,fe,Te)},ue=()=>{T.holdCamera()},et=()=>{T.releaseCamera()},Qe=on(T.info.position$.getValue(),E=>{let fe,Te;const De=()=>{const Ye=T.info.playbackState$.getValue(),Kt=T.info.isLive$.getValue(),gi=T.info.duration$.getValue(),Yt=T.info.position$.getValue();if([Je.PlaybackState.PLAYING,Je.PlaybackState.PAUSED].includes(Ye)){const kn=Kt?Yt-gi:T.getExactTime();kn!==Te&&E(kn),Te=kn}fe=requestAnimationFrame(De)};return De(),()=>cancelAnimationFrame(fe)}),nt=gt(H),Ke=gt(T.info.playbackState$),dt=gt(T.info.currentBuffer$),tt=gt(T.info.isEnded$),Mt=gt(T.info.isLive$),yt=j.features.playbackRate?gt(T.info.canChangePlaybackSpeed$):on(!1),ot=gt(T.info.liveBufferTime$),Ot=gt(T.info.volume$),ct=gt(T.info.muted$),Ze=_r(T.info.autoQualityLimits$.pipe(ne.map(({max:E})=>E!==void 0)),T.info.autoQualityLimits$.getValue()?.max!==void 0),Tt=gt(T.info.autoQualityLimitingAvailable$),st=gt(T.info.availableQualities$),ii=gt(T.info.availableQualitiesFps$),me=gt(T.info.chromecastState$),Pe=gt(T.info.chromecastDeviceName$),Me=gt(T.info.currentFormat$),Pt=gt(T.info.throughputEstimation$),Vi=gt(T.info.videoBitrate$),Jt=gt(T.info.intrinsicVideoSize$),bi=gt(T.info.duration$),Ii=gt(T.info.isAudioAvailable$);let Lt=null;const Se=T.info.isBuffering$,Nt=on(Se.getValue(),E=>{const fe=Se.subscribe(Te=>{Te&&Lt===null?Lt=window.setTimeout(()=>{E(Se.getValue()),Lt=null},j.loaderDelay):E(Te)});return()=>{fe.unsubscribe(),Lt&&clearTimeout(Lt)}}),Mi=()=>{Lt&&clearTimeout(Lt),Lt=null},ni=Qt([bi,Mt],([E,fe])=>fe?-E:E),vi=Qt([Ke],([E])=>E===Je.PlaybackState.PLAYING),_i=gt(T.info.atLiveEdge$),ki=gt(T.info.atLiveDurationEdge$),oi=gt(T.info.position$),Ki=Qt([oi,bi],([E,fe])=>isFinite(E)&&isFinite(fe)&&!!fe),di=Qt([me],([E])=>E===Je.ChromecastState.CONNECTED),wi=He(void 0),yi=gt(T.info.isAutoQualityEnabled$,E=>E&&wi.set(void 0)),Ni=gt(T.info.currentQuality$,()=>wi.set(void 0)),Ci=Qt([wi,Ni],([E,fe])=>E??fe),qi=Qt([st,ii,yi,Ci,Me],([E,fe,Te,De,Ye])=>{const Kt=[];Ye!==Je.VideoFormat.MPEG&&Kt.push({value:qn.AUTO,displayValue:Ce("auto_quality_option"),selected:Te});const gi=E.filter(Yt=>Yt!==ne.VideoQuality.INVARIANT);for(const Yt of gi){const kn=fe[Yt],ro=Yt===ne.VideoQuality.INVARIANT?Ce("auto_quality_option"):Yt;Kt.push({value:Yt,displayValue:`${ro}${kn?I3(kn):""}`,selected:Te?!1:Yt===De})}return Kt}),xt=gt(T.info.currentPlaybackRate$),li=Qt([xt,_i,ki],([E,fe,Te])=>{const De=Te||_?1:j.controls.playbackRateMin,Ye=fe?1:j.controls.playbackRateMax,Kt=j.controls.playbackRateStep,gi=[];for(let Yt=De;Yt<=Ye;Yt+=Kt)gi.push({value:Yt,displayValue:Yt===1?Ce("playback_rate_1"):Ce("playback_rate",{multiplier:Yt.toString(10)}),selected:E===Yt});return gi}),Pi=j.features.subtitles?gt(T.info.availableTextTracks$):on([]),Dt=Qt([Pi],([E],fe)=>{const Te=[],De=[];for(const Ye of E)Ye.url&&Te.push(A3(Ye.url));Promise.allSettled(Te).then(Ye=>{for(const[Kt,gi]of Ye.entries())gi.status==="fulfilled"&&gi.value.text().then(Yt=>{const kn=new M3,ro=E[Kt].language,M1=!!E[Kt].isAuto,il=kn.parse(Yt);ro&&il&&De.push({lang:ro,subtitles:il,isAuto:M1}),Kt===Ye.length-1&&fe(De)})})}),Ct={displayValue:Ce("subtitles_off"),value:"off"},Ht=He({...Ct}),Ri=Qt([Dt,Ht,Dt],([E,fe])=>{if(E?.length>0){const Te=[{...Ct,selected:fe?.value===Ct.value}];for(const{lang:De,isAuto:Ye}of E)zo[De]&&Te.push({displayValue:Ye?Ce("subtitles_auto",{language:zo[De]}):zo[De],value:De,selected:fe?.value===De,isAuto:Ye});return Te}else return[]}),Yi=Qt([Qe,Ht,Dt],([E,fe,Te])=>{if(fe&&fe.value!==Ct.value)return R3(E,fe,Te)}),Bi=Qt([Yi],([E])=>E?.texts?E.texts:[]),$t=He(!0),Fi=Qt([dt,ni,oi,ot],([E,fe,Te,De])=>{const Ye=E?.end??0;if(!De)return Ye/fe;const gi=-Te+De-fe;return(Ye-gi)/fe}),Wi=gt(T.info.availableSources$),si=Qt([Wi],([E])=>Object.keys(E?.[Je.VideoFormat.MPEG]||{}).length>0),zi=()=>{const E=Object.keys(T.info.availableSources$?.getValue()?.[Je.VideoFormat.MPEG]||{}),fe=ne.getHighestQuality(E)||ne.VideoQuality.Q_144P;return le.sources[Je.VideoFormat.MPEG]?.[fe]},Si=()=>{const E=zi();E?fu(E,le?.meta?.title||"video"):w({message:"There is no URL for download video"})},Ti=()=>{w({message:"toggle muted"});const E=T.info.muted$.getValue(),De=!(T.info.volume$.getValue()===0||E);mi(De)},Ai=(E,fe=E,Te=!1)=>{const De=!Te,Ye=T.info.muted$.getValue();w({message:`set volume, volume: ${E}, preferredVolume: ${fe}, internalCall: ${De}`}),T.setVolume(E),Z.setVolume(E),De&&a?.onVolumeChange?.(E),ul(fe),Ye?(T.setMuted(!1),De&&a?.onUnmute?.(),Lo(!1)):!Ye&&E===0&&(T.setMuted(!0),De&&a?.onMute?.(),Lo(!0))},mi=(E,fe=!1)=>{const Te=!fe,De=T.info.volume$.getValue();if(w({message:`set muted, currentVolume: ${De}, mute: ${E}, internalCall: ${Te}`}),T.setMuted(E),Z.setVolume(E?0:De),Lo(E),Te&&(E?a?.onMute?.():a?.onUnmute?.()),De===0){let Ye=Pr()??j.volumeDefault;Ye===0&&(Ye=j.volumeMinRestore,ul(Ye)),T.setVolume(Ye),Z.setVolume(Ye),Te&&a?.onVolumeChange?.(Ye)}},Ft=()=>{T.prepare()},ai=()=>{if(ne.assertNonNullable(Et),!Xe(Et.ui.controls.disabledControls$).has(ft.PLAY_BUTTON)){if(w({message:"toggle play"}),Xe(Et.playerPhase)===ze.Ads){Z.togglePlay();return}if(T.info.playbackState$.getValue()!==Je.PlaybackState.PLAYING){if(T.info.isEnded$.getValue()){if(w({message:"toggle play, video ended, seek to 0"}),We.next(),$e.next(pt.SeekAction.REWIND),_){A?.();return}T.seekTime(0)}w({message:"toggle play, call player.play"}),T.play(),a?.onPlay?.()}else w({message:"toggle play, call player.pause"}),T.pause(),a?.onPause?.()}},hi=E=>{w({message:`set quality, quality: ${E}`}),T.setAutoQuality(E===qn.AUTO),E!==qn.AUTO?(du(e,E),wi.set(E),T.setQuality(E)):Sr()},Ut=E=>{w({message:`set trafficSavingEnabled, value: ${E}`}),T.setAutoQualityLimits({max:E?j.trafficSavingLimit:void 0}),pu(E)},qt=E=>{T.setPlaybackRate(E)},ei=()=>{const E=Xe(li),fe=E.findIndex(({selected:De})=>De);if(fe===E.length-1)return;const Te=E[fe+1];qt(Te.value)},ri=()=>{const E=Xe(li),fe=E.findIndex(({selected:De})=>De);if(fe===0)return;const Te=E[fe-1];qt(Te.value)},Wt=E=>{E&&E.value!==Ct.value&&it.next(E.isAuto?E.value+"_auto":E.value),Ht.set(E)},pi=()=>{const E=Xe(Ri),fe=Xe(Ht),Te=Xe(Ie);if(fe?.value===Ct.value){const De=E.filter(Ye=>Ye.value!==Ct.value).find(Ye=>Ye.value===Te)||E[1];Wt(De??{...Ct})}else Wt({...Ct,selected:!1})},ti=(E,fe,Te=!0)=>{if(w({message:`seek to time, time: ${E}`}),$e.next(fe),T.info.isLive$.getValue()){const De=T.info.duration$.getValue(),Ye=Math.min(0,De+E);T.seekTime(Ye,Te)}else{if(Xe(Ao))return;T.seekTime(tl(E),Te)}},Oi=E=>{w({message:`seek to episode start time: ${E}`}),ti(E,pt.SeekAction.EPISODE,!0)},Ei=(E,fe)=>{w({message:`seek to percent, percent: ${E}`});const Te=Math.round(Xe(ni)*E);ti(Te,fe,!1)},ji=E=>{w({message:`seek external, time: ${E}`}),$e.next(pt.SeekAction.UNKNOWN),T.seekTime(T.info.isLive$.getValue()?-E:E)},Di=E=>{w({message:`set auto quality limitation. Max: ${E.max??"none"}. Min: ${E.min??"none"}`}),T.setAutoQualityLimits(E)},ui=E=>{w({message:`seek external to episode start time: ${E}`}),ti(E,pt.SeekAction.EPISODE,!0)},Ui=E=>{w({message:`set playback rate to: ${E}`}),T.setPlaybackRate(E)},Li=He(void 0),ae=He(!1),jt=E=>{w({message:`start scrubbing, progress: ${E}`}),ae.set(!0),Hi(E)},Hi=E=>{Li.set(E)};let Qi,sn;const an=()=>{Li.set(void 0),ae.set(!1)},Zt=()=>{clearTimeout(sn),clearTimeout(Qi),Qi=window.setTimeout(()=>{an()},500),de?.removeEventListener("seeked",Zt)},Cn=E=>{w({message:`complete scrubbing, progress: ${E}`}),Ei(E,pt.SeekAction.SLIDER),Xe(Et.ui.isMobile)&&Xe(Et.state.currentFormat$)===Je.VideoFormat.HLS?(de?.addEventListener("seeked",Zt),sn=window.setTimeout(()=>{Zt()},300)):an()},Pn=Qt([Qe,ni,Li],([E,fe,Te],De)=>{De(ne.isNonNullable(Te)?Te*fe:E)}),rn=He({width:0,height:0}),_n=Qt([rn],([{width:E}],fe)=>{const Te=D0(E);fe(Te)}),nn=He(!1),Ji=Qt([_n,nn],([E,fe])=>fe?B.filter(Te=>!Te.hideOnMobile):B.filter(Te=>!Te.hideOnDesktopGridTypes?.includes(E))),Sn=Qt([nn,N],([E,fe],Te)=>{Te(E&&fe)}),$=()=>{$e.next(pt.SeekAction.LIVE),w({message:"switch to active live"}),T.seekTime(0),T.info.playbackState$.getValue()!==Je.PlaybackState.PLAYING&&Et.actions.internal.togglePlay()},kt=()=>Z.skip(),Tn=(E=!0)=>{ne.assertNonNullable(Et),w({message:`switch from ads to video, callPlay: ${E}`}),Ae.set(ze.Video),E&&T.play()},An=()=>{ne.assertNonNullable(Et),w({message:"switch from video to ads"}),Et.actions.internal.pause(),rt(),Ae.set(ze.Ads)},En=E=>{ne.assertNonNullable(Et);const fe=E?ze.WaitingLive:ze.Thumb;Ae.set(fe)},Kn=E=>{ne.assertNonNullable(Et);const fe=E?ze.WaitingRecord:ze.Thumb;Ae.set(fe)},Yn=()=>(ne.assertNonNullable(Et),uu(T,le,Et)),Qn=()=>(ne.assertNonNullable(Et),cu(T,le,Et)),Xn=()=>de,Jn=()=>{w({message:"toggle chromecast"}),T.toggleChromecast()},Nn=E=>{ne.assertNonNullable(Et);const fe=!E;if(Xe(Et.playerPhase)===ze.Ads){w({message:`pause ads, internalCall: ${fe}`}),Z.pause();return}w({message:`pause video, internalCall: ${fe}`}),fe&&a?.onPause?.(),T.pause()},xn=E=>{ne.assertNonNullable(Et);const fe=!E;if(Xe(Et.playerPhase)===ze.Ads){w({message:`play ads, internalCall: ${fe}`}),Z.play();return}w({message:`play video, internalCall: ${fe}`}),fe&&a?.onPlay?.(),T.play()},oe=(E,fe)=>{ne.assertNonNullable(Et),w({message:`first start, show ads: ${E}, internalCall: ${!fe}`}),E?Ae.set(ze.Ads):(Ae.set(ze.Video),fe?T.play():Et.actions.internal.togglePlay())},xi=()=>(w({message:"getting time codes"}),c),at=()=>{const E=xi();if(!E||[0,1].includes(E.length))return;const fe=T.info.position$.getValue();return E.find(Te=>Te.time>fe)},Rt=E=>{let fe=E;fe||(fe=at()),fe&&(w({message:"seek to next episode"}),ti(fe.time,pt.SeekAction.EPISODE,!0))},$i=()=>{const E=xi();if(!E||[0,1].includes(E.length))return;const fe=T.info.position$.getValue(),Te=E.findIndex(Ye=>Ye.time>fe),De=Te===-1?E.length-2:Te-2;if(!(De<0))return E[De]},un=E=>{let fe=E;fe||(fe=$i()),fe&&(w({message:"seek to prev episode"}),ti(fe.time,pt.SeekAction.EPISODE,!0))},$n=()=>(w({message:"getting preview thumbs data"}),f),Ln=async()=>{J?.isActive()?await J?.remove():await J?.request()},q=(E=-90)=>{Y.update(fe=>fe+E)},Gt=He(V),Rn=Qt([Gt],([E=[]])=>{const fe=[];for(let Te=0;Te<E.length;Te++){const{range:[De,Ye],subjects:Kt}=E[Te];Te===0&&De!==0&&fe.push({time:0,text:""}),fe.push({time:De/1e3,text:"",interactive:!0,completed:!Kt.length}),Ye!==1/0&&fe.push({time:Ye/1e3,text:"",interactive:!1,completed:!Kt.length})}return fe}),Bn=E=>{const fe=Xe(Gt);Gt.set(fe.map(Te=>({...Te,subjects:Te.subjects.filter(De=>De!==E)})))},ao=He(!1),Ao=Qt([oi,Gt,ao],([E,fe,Te])=>{if(!_)return!1;if(Te)return!0;const De=E*1e3,Ye=fe?.find(({range:[Kt,gi],subjects:Yt})=>Kt<De&&De<gi&&Yt.length);return Ye&&Xe(ae)&&an(),!!Ye}),tl=E=>{if(!_)return E;const fe=Xe(Rn),Te=Xe(ni),Ye=Xe(oi)/Te,Kt=fe.find(gi=>gi.interactive&&!gi.completed&&gi.time>Ye);return typeof Kt?.time=="number"?Math.min(E,Kt.time-.05):E},I1=()=>{clearTimeout(sn),clearTimeout(Qi),St.unsubscribe(),Re.unsubscribe(),T.destroy(),Z.destroy(),ie?.destroy(),G?.destroy(),ee.unsubscribe()},Et={interfaceLanguage$:Ie,initVideo:ve,videoId:e,isClip:t,playerPhase:x,vsid:Le,state:{positionExact$:Qe,positionWithScrubbing$:Pn,duration$:ni,playbackState$:Ke,isPlaying$:vi,isLoaderVisible:Nt,bufferedProgress$:Fi,isLive$:Mt,canChangePlaybackSpeed$:yt,isActiveLive$:_i,isOldestAvailableLive$:ki,isRewindableLive$:Ki,isEnded$:tt,muted$:ct,volume$:Ot,trafficSavingEnabled$:Ze,autoQualityLimitingAvailable$:Tt,currentQuality$:Ci,isAutoQualityEnabled$:yi,availableQualities$:qi,currentPlaybackRate$:xt,availablePlaybackRates$:li,currentSubtitle$:Ht,availableSubtitlesList$:Ri,currentSubtitleCaptions$:Bi,isAutoSubtitleCaptionVisible$:$t,chromecastState$:me,chromecastDeviceName$:Pe,chromecastConnected$:di,currentFormat$:Me,throughputEstimation$:Pt,videoBitrate$:Vi,videoSize$:Jt,errorLog$:ge,crashed$:N,isAudioAvailable$:Ii,isAudioDisabled:!!l,canDownload:j.features.download&&!!s,availableSources$:Wi,hasMpegSources$:si,isInteractive:_,isInteractiveGraphEnabled:j.features.interactiveGraph,isSeekToInteractiveEnable:j.features.seekToInteractive,isPlayPrevChapterEnabled:j.features.interactivePlayPrevChapter,interactiveEpisodes$:Rn,isInteractiveTime$:Ao,graphIsOpened$:He(!1),isInteractiveExpectation$:ao,hasInteractiveBranches:S,playPrevChapterDisabledTooltip:P},ui:{controlsVisible:He(!1),touched:He(!1),controls:{prevButton:He(void 0),playButton:He(void 0),replayButton:He(void 0),nextButton:He(void 0),playPrevChapterButton:He(void 0),seekToInteractiveButton:He(void 0),interactiveGraphButton:He(void 0),liveButton:He(void 0),time:He(void 0),episodes:He(void 0),volume:He(void 0),subtitles:He(void 0),settings:He(void 0),chromecast:He(void 0),fullscreen:He(void 0),vkLogo:He(void 0),additionalButtons:B.length?B.reduce(E=>[...E,He(void 0)],[]):[],disabledControls$:se},modals:{hotKeyMap:{show:He(!1),data:He({title:"",closeBtnText:"",groups:[]})}},isFullscreen:ye,rotateAlpha:Y,isAutoplay:He(!1),contextMenuVisible:He(!1),debugPanelVisible:He(!1),playerSize:rn,isMobile:nn,mobileNotReportControlHidden$:Sn,mobileUnmuteButtonExpanded:He(!1),mobileUnmuteButtonVisible:He(!1),icon3DVideoVisible:He(!1),settingsMenuVisible:He(!1),scrubbingInProgress:ae,is3DVideo:He(!1),isPictureInPictureActive$:nt,pictureInPictureType$:on(M),clientInfo$:on(Ne),currentGridType$:_n,additionalButtons$:Ji,interactiveHideMobileControls:He(!1),overlayContainer$:He(void 0)},ads:{position:He(0),duration:He(0),playbackState:He(Bt.INACTIVE),canSkip:He(!1),secondsToWatchBeforeSkip:He(0),postrollPassed:He(!1)},webApi:{pictureInPictureApi:J,annotationsApi:ce},actions:{internal:{preload:Ft,firstStart:E=>oe(E,!1),pause:()=>Nn(!1),togglePlay:ai,toggleMuted:Ti,setVolume:Ai,setQuality:hi,setTrafficSavingEnabled:E=>Ut(E),setPlaybackRate:qt,incrementPlaybackRate:ei,decrementPlaybackRate:ri,setSubtitle:Wt,toggleSubtitle:pi,togglePictureInPicture:Ln,startScrubbing:jt,progressScrubbing:Hi,completeScrubbing:Cn,toggleChromecast:Jn,switchToActiveLive:$,switchFromAdsToVideo:Tn,switchFromVideoToAds:An,skipAd:kt,setWaitingLive:En,setWaitingRecord:Kn,getDebugTextData:Yn,getDebugPanelData:Qn,getVideoElement:Xn,seekTime:(E,fe,Te)=>ti(E,fe,Te),clearDelayedBufferingCheckTimeout:Mi,seekEpisodeStartTime:Oi,seekToPercent:Ei,getNextEpisode:at,seekToNextEpisode:Rt,getPrevEpisode:$i,seekToPrevEpisode:un,startLogging:Ve,stopLogging:wt,startCameraManualRotation:zt,stopCameraManualRotation:mt,moveCameraFocusPX:lt,holdCamera:ue,releaseCamera:et,getVideoEpisodes:xi,getPreviewThumbsData:$n,downloadVideo:Si,addLanguage:cl,setLanguage:Q,nextMovie:qe,videoRotate:q,completeInteractiveRange:Bn,correctSeekTimeToInteractive:tl,replayInteractive:A},external:{firstStart:E=>oe(E,!0),play:()=>xn(!0),pause:()=>Nn(!0),seekTime:E=>ji(E),seekEpisodeStartTime:E=>ui(E),setPlaybackRate:E=>Ui(E),setAutoQualityLimits:E=>Di(E),setMuted:E=>mi(E,!0),setVolume:E=>Ai(E,E,!0)}},callbacks:a,setUiCallbacks:E=>{_e={...E}},getAdmanWrapper:()=>Z,getLogger:()=>te,destroy:I1};return Et};class z3{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:t="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:t,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",t=>null],["seekbackward",t=>null],["seekforward",t=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[t,n]of e)try{navigator.mediaSession.setActionHandler(t,n)}catch{throw new Error(`The media session action "${t}" is not supported yet.`)}}}function O3(i){let e,t,n,o;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(o,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(t,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(l,s){C(l,e,s),d(e,t),d(t,n),d(t,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class D3 extends we{constructor(e){super(),ke(this,e,null,O3,be,{})}}function H3(i){Ue(i,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function F3(i){let e,t,n,o,l,s,a;return n=new D3({}),{c(){e=k("div"),t=k("div"),D(n.$$.fragment),o=R(),l=k("span"),s=Oe(i[0]),u(t,"class","dummy-image v-1pbsod4"),L(t,"desktop",!i[1]),u(l,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),L(e,"is-pip-api",i[2])},m(r,c){C(r,e,c),d(e,t),z(n,t,null),d(e,o),d(e,l),d(l,s),a=!0},p(r,[c]){(!a||c&2)&&L(t,"desktop",!r[1]),(!a||c&1)&&xe(s,r[0])},i(r){a||(m(n.$$.fragment,r),a=!0)},o(r){p(n.$$.fragment,r),a=!1},d(r){r&&y(e),O(n)}}}function U3(i,e,t){let n,o;const l=_t(),s=!!l.webApi.pictureInPictureApi,a=l.interfaceLanguage$;F(i,a,f=>t(5,n=f));const r=l.ui.isMobile;F(i,r,f=>t(1,o=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&U("pip_dummy_title"))},[c,o,s,a,r,n]}class q3 extends we{constructor(e){super(),ke(this,e,U3,F3,be,{},H3)}}const W3=460,j3=280;class L1{playerDomElement;playerParentShadowRoot;playerDummyElement;svelteContext;pipWindow;info={isActive$:new ne.ValueSubject(!1),type:dn.DocumentPictureInPicture};isSupported(){const e=ne.getCurrentBrowser().browser===ne.CurrentClientBrowser.Yandex,{isEmbed:t}=ne.detectEmbed();return"documentPictureInPicture"in window&&!e&&!t}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,t){this.playerDomElement=e,this.playerParentShadowRoot=t}setContext(e){this.svelteContext=e}async request(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:W3,height:j3,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const e=[...this.playerParentShadowRoot.styleSheets].map(l=>[...l.cssRules].map(s=>s.cssText).join(" ")).filter(Boolean).join(`
51
- `),t=document.createElement("style");t.textContent=e;const n=this.createStretchedContainer(),o=n.attachShadow({mode:"open"});o.append(t),o.append(this.playerDomElement),this.playerDummyElement=new q3({target:this.playerParentShadowRoot,context:this.svelteContext}),this.pipWindow?.document.body.append(n),this.info.isActive$.next(!0),this.pipWindow?.addEventListener("unload",l=>{!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 Z3(i){return i instanceof L1}class G3{static getLatestSupportedVersion(){const e=new Ko,t=new L1;if(t.isSupported())return t;if(e.isSupported())return e}}function or(i,e){const t=new Set([...Object.keys(i),...Object.keys(e)]),n={};for(const o of t)n[o]=e[o]??i[o]??void 0;return n}const lr="Inner error. Unexpectedly root annotation container null reference exception",K3="Annotation layer with such name already exists";class Oo extends Error{constructor(e){super(e),this.name="AnnotationError"}}class Y3{rootAnnotationsContainer;layers=new Map;registryRootContainer(e){this.detach(),this.rootAnnotationsContainer=e}addLayer(e){if(!this.rootAnnotationsContainer)throw new Oo(lr);if(this.layers.has(e))throw new Oo(K3);const t=document.createElement("div");return t.className="annotations-layer",t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.left="0",t.style.top="0",this.rootAnnotationsContainer.append(t),this.layers.set(e,t),t}getLayer(e){return this.layers.get(e)}removeLayer(e){const t=this.layers.get(e);t&&this.layers.delete(e)&&t.remove()}clearLayer(e){const t=this.layers.get(e);for(;t?.lastChild;)t.lastChild.remove()}detach(){for(const e of this.layers.values())e.remove()}reattach(){if(!this.rootAnnotationsContainer)throw new Oo(lr);for(const e of this.layers.values())this.rootAnnotationsContainer.append(e)}destroy(){this.detach(),this.layers.clear(),this.rootAnnotationsContainer=void 0}}class V1{stateName;state$;subscription;init(e,t){return ne.assertNonNullable(e),ne.assertNonNullable(t),this.subscription=new ne.Subscription,this.subscription}}class Q3 extends V1{stateName="fakeIsPlaying$";state$={...He(null),toggle:()=>this.state$.update(e=>!e)};init(e,t){const n=super.init(e,t),{isInteractiveExpectation$:o}=e.state;return n.add(o.subscribe(l=>{this.state$.set(l?!0:null)})),n}}class X3 extends V1{stateName="interactiveControlsOpacity$";state$={...He(null),toggle:()=>this.state$.update(e=>!e)};init(e,t){const n=super.init(e,t),{fakeIsPlaying$:o}=t,{isInteractiveExpectation$:l,isPlaying$:s}=e.state,{controlsVisible:a,isMobile:r}=e.ui,c=Xe(r),f=()=>c&&Xe(a);return n.add(a.subscribe(h=>{if(!c)return;const g=Xe(o);Xe(s)?this.state$.set(h):g!==null&&this.state$.set(!g||h)})),n.add(s.subscribe(h=>{this.state$.set(!h||f())})),n.add(o.subscribe(h=>{if(h===null)return;const g=Xe(l);if(f()){this.state$.set(!0);return}g&&this.state$.set(!h)})),n}}const J3=()=>[Q3,X3].reduce(({subscribers:i,stores:e},t)=>{const n=new t;return{subscribers:[...i,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),x3={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:ne.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:ne.isMobile(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class $3 extends HTMLElement{svelteStubComponent;svelteRootComponent;store;microStoresRoot;statistics;sentry;_shadowRoot;playerContainer;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._shadowRoot=this.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.logger=new ne.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new ne.Subscription,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;const e=this.getAttribute("stub-title")??void 0,t=this.getAttribute("stub-thumb-url")??void 0;this.svelteStubComponent=new P3({target:this.playerContainer,props:{title:e,thumbUrl:t}})}disconnectedCallback(){this.annotationsApi?.destroy(),this.svelteRootComponent?.$destroy(),this.svelteStubComponent?.$destroy(),this.subscription.unsubscribe(),this.unsubscribePlayerPhaseSubscription?.(),this.interactiveController?.destroy()}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){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,t={},n){if(!this.videoConfig)return;const{albumId:o,statPlace:l,statUserSalt:s,statAuthToken:a,statTrackCode:r,refreshStatAuthToken:c,preload:f,autoplay:h,volume:g,muted:v,fromTime:b,canRewindLive:_,supportLink:V,showAds:A,adsSlotId:S,adsParams:P={},adsPreviewParam:B,interfaceLanguage:W,logoClickable:X,logoHidden:j,isMobile:T,isAudioDisabled:te,isLiveCatchUpMode:Z,fullScreenTarget:ie,failoverHosts:G,canDownload:J,callbacks:ce,interactiveData:w,showThumbTimer:le,additionalButtons:de=[],repeat:_e}=or(this.videoConfig,t),{sources:Ne,title:Le,thumbUrl:ye,videoLogoUrl:H,unitedVideoId:M,isClip:Y=!1,duration:ge,adsParams:ee={},videoEpisodes:N,previewThumbsData:Q,subtitles:Ie,live:Ce}=e,Ae={...P,...ee},x=this.getNextVideoInfo(),se={sources:Ne,title:Le,thumbUrl:ye,subtitles:Ie,unitedVideoId:M,isClip:Y,live:Ce,albumId:o,statPlace:l,autoplay:h,muted:v,volume:g,fromTime:b,canRewindLive:_,showAds:A,adsSlotId:S,adsParams:Ae,adsPreviewParam:B,duration:ge,logoClickable:X,logoHidden:j,isMobile:T,repeat:_e,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:x.nextVideoTitle,endScreenVideoThumb:x.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},ve={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(se)}`});const re=this.uiConfig.features.statistics&&!!M,{pid:qe}=this.videoConfig?.interactiveData?.projectInfo||{};re&&new to({movieId:M,albumId:o,place:l,trackCode:r,autoplay:(h&&!this.interactiveController)??!1,mobile:T,clip:Y,...qe&&!this.isInited&&{projectId:Number(qe)}},{refreshAuthToken:c,userSalt:s,config:this.statistics.config,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new qo(this.uiConfig.sentry,{version:Po,env:au},{movieId:M,albumId:o,place:l,autoplay:(h&&!this.interactiveController)??!1,mobile:T,clip:Y}),this.interactiveController&&(this.prevIsid??=to.getInstance()?.oneStat.isid$.getValue()),this.statistics={...this.statistics,...to.getInstance()},this.sentry={...this.sentry,...qo.getInstance()};const $e=!!w,it=this.interactiveController?.getInteractiveRanges(),Be=[];let rt;if($e&&this.interactiveController){const Ve=this.interactiveController.state,wt=this.interactiveController.getHistoryState();Ve.isInitialChapter$.getValue()&&Be.push(ft.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||Be.push(ft.SEEK_TO_INTERACTIVE_BUTTON),wt.hasPrevChapter$.getValue()||(Ve.isInitialChapter$.getValue()?rt="tooltip_interactive_go_back_disabled_first":Ve.lastChapterChangeWasInitiatedByInteractive$.getValue()?rt="tooltip_interactive_go_back_disabled":rt="tooltip_interactive_go_back_disabled_limit",Be.push(ft.PLAY_PREV_CHAPTER_BUTTON))}const St=()=>{this.isInited=!1,this.prevIsid=void 0;const Ve=n?.info.isEnded$.getValue()&&this.interactiveController?.state.isEndChapter$.getValue();ce.onReplayInteractiveVideo&&!Ve?ce.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=B3({player:n,interfaceLanguage:W,videoId:M,isClip:Y,isLiveCatchUpMode:Z,isAudioDisabled:te,statAuthToken:a,callbacks:ce,webApi:ve,videoEpisodes:N,previewThumbsData:Q,canDownload:J,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:Be,isInteractive:$e,interactiveRanges:it,replayInteractive:St,playPrevChapterDisabledTooltip:rt,hasInteractiveBranches:!!this.interactiveController?.getChapterBranches()?.length,additionalButtons:this.uiConfig.features.additionalButtons?de:[],looped:_e&&this.videoConfig.videos.length===1});const{stores:Re}=this.microStoresRoot=J3();this.subscription.add(this.store.state.currentFormat$.subscribe(Ve=>ce?.onCurrentFormatChanged?.(Ve))),this.subscription.add(Re.interactiveControlsOpacity$.subscribe(Ve=>{Ve!==null&&this?.interactiveController?.setDisabledControls(Ve)})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Ve=>ce?.onThroughputEstimationChanged?.(Ve))),this.subscription.add(this.store.state.videoBitrate$.subscribe(Ve=>ce?.onVideoBitrateChanged?.(Ve))),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Ve=>{const wt=this.store?.ui.controls.disabledControls$;wt&&(Ve&&!wt.includes(bo)&&wt.add(bo),Ve||wt.remove(bo))})),this.initMediaSession(),this.interactiveController&&re&&this.initInteractivesStatistics(),this.svelteRootComponent=new b3({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Ne,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:Le,thumbUrl:ye,videoLogoUrl:H,subtitles:Ie,live:Ce,preload:f,autoplay:h,muted:v,volume:g,fromTime:b,canRewindLive:_,supportLink:V,showAds:A,adsSlotId:S,adsParams:Ae,adsPreviewParam:B,duration:ge,logoClickable:X,logoHidden:j,isMobile:T,failoverHosts:G,fullScreenTarget:ie,showMiniTimer:le,outerContainerRef:this.playerContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:x.nextVideoTitle,endScreenVideoThumb:x.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,t=this.videoConfig?.callbacks;t&&this.subscription.add(e.playerPhase.subscribe(o=>t.onPlayerPhaseChanged?.(o))).add(e.state.playbackState$.subscribe(o=>t.onPlaybackStateChanged?.(o))).add(e.state.isLive$.subscribe(o=>t.onIsLiveChanged?.(o))).add(e.state.isActiveLive$.subscribe(o=>t.onIsActiveLiveChanged?.(o))).add(e.state.isAudioAvailable$.subscribe(o=>t.onIsAudioAvailableChanged?.(o))).add(e.state.currentQuality$.subscribe(o=>t.onCurrentQualityChanged?.(o))).add(e.state.availableQualities$.subscribe(o=>t.onAvailableQualitiesChanged?.(o.map(({value:l})=>l).filter(l=>l!==qn.AUTO)))).add(e.ui.isPictureInPictureActive$.subscribe(o=>o?t.onPiPEnter?.():t.onPiPExit?.()));const n=t?.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.volume.subscribe(o=>n.onVolumeChanged?.(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.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,t=!0){if(!this.videoConfig)return;const n=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!n){this.log({message:"no next video"});return}this.isInited&&ne.isNonNullable(n.unitedVideoId)&&this.store.actions.internal.nextMovie(n.unitedVideoId),this.svelteRootComponent?.$destroy(),this.createPlayer(n,{autoplay:t,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$:t,playbackState$:n,graphIsOpened$:o}=e.state,{disabledControls$:l}=e.ui.controls,s=Xe(t),a=Xe(n);Xe(o)?(o.set(!1),this.interactiveController?.toggleGraphView(!1),l.remove(rl),!s&&this.graphMadePause&&this.play()):(this.graphMadePause=a==="playing",o.set(!0),this.interactiveController?.toggleGraphView(!0),l.add(rl),!s&&this.graphMadePause&&this.pause())}async initInteractives(){if(this.videoConfig?.interactiveData)try{const{Interactives:e,EVENT_NAMES:t,CustomError:n}=await import("@vkontakte/videoplayer-interactive/esnext.cjs.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const o=this.store?.interfaceLanguage$,l=o?Xe(o):this.videoConfig.interfaceLanguage,{projectInfo:s,historyApi:a,videoLoader:r}=this.videoConfig.interactiveData;this.interactiveController=new e({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:l,graph:this.uiConfig.features.interactiveGraph,projectInfo:s,historyApi:a,vkVideoLoader:r,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,coreConfig:this.coreConfig}),await this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:c}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(h=>{if(!this.isInited)return;const g=this.store;h?g.ui.controls.disabledControls$.remove(ft.SEEK_TO_INTERACTIVE_BUTTON):g.ui.controls.disabledControls$.add(ft.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(c.subscribe(h=>{this.store&&this.store.state.isInteractiveExpectation$.set(h)}));let f=!0;if(this.interactiveController.on(t.playerChanged,h=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...h.config,title:s?.title||h.config.title};const g=f?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(h.player,g),f&&(f=!1)}),this.interactiveController.on(t.interactives,({type:h,subjectId:g,actionType:v})=>{if(!this.store)return;const b=c.getValue();if(h==="container-removed"&&this.store.actions.internal.completeInteractiveRange(g),h==="action-choice"&&v==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(hr)),h==="action-choice-canceled"){const _=Xe(this.store.state.isPlaying$)||b;if(this.videoConfig?.isMobile&&_){this.store.ui.interactiveHideMobileControls.set(!0);return}this.videoConfig?.callbacks.onDisabledInteractiveClick?.()}}),this.videoConfig?.callbacks?.onInteractiveHistoryChanged){const h=this.interactiveController.getHistoryState();this.subscription.add(h.history$.subscribe(g=>{g.length&&this.videoConfig?.callbacks?.onInteractiveHistoryChanged?.(g)}))}this.interactiveController.on(t.errors,h=>{this.log({message:h.toString()})})}catch(e){this.log({message:e.message})}}async initInteractivesStatistics(){const{statSubscription:e,oneStat:t}=this.statistics;if(!(!e||!t||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:n}=await import("@vkontakte/videoplayer-interactive/esnext.cjs.js"),o={[n.GO_NEXT_BUTTON]:pt.InteractiveInterfaceClick.NEXT_BUTTON,[n.GO_NEXT_AREA]:pt.InteractiveInterfaceClick.NEXT_AREA,[n.WATCH_AGAIN]:pt.InteractiveInterfaceClick.WATCH_AGAIN,[n.OPEN_GRAPH]:pt.InteractiveInterfaceClick.GRAPH_SHOW,[n.CLOSE_GRAPH]:pt.InteractiveInterfaceClick.GRAPH_HIDE},{click$:l,nextMovie$:s}=this.interactiveController.getStatEvents(),a=new ne.Subject;l.subscribe(r=>{r in o?a.next(o[r]):(t?.logError({errorType:"InteractiveVideosAction",fatal:!1}),this.sentry.report?.(new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),e.add(t.attachToInteractive({click$:a,nextMovie$:s}))}catch(n){t?.logError({errorType:"InteractiveVideos",fatal:!1}),this.sentry.report?.(n,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,t={}){if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=or(x3,ne.cloneDeepWith(e,n=>n instanceof HTMLElement?n:void 0)),this.uiConfig=eu(t.ui??{}),this.coreConfig=t.core??{configName:[]},this.statistics={config:t.statistics??{}},this.sentry={config:this.uiConfig.sentry??{}},ne.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=this.videoConfig.isMediaSessionEnabled??!0),ne.isNonNullable(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=G3.getLatestSupportedVersion():this.pictureInPictureApi=new Ko),this.mediaSessionApi=this.uiConfig.features.mediaSession?new z3:void 0,this.annotationsApi=this.uiConfig.features.annotations?new Y3: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]),Z3(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 t=this.getNextVideoInfo();this.svelteRootComponent?.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:t.nextVideoTitle,endScreenVideoThumb:t.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){this.mediaSessionApi&&(this.unsubscribePlayerPhaseSubscription?.(),this.unsubscribePlayerPhaseSubscription=this.store?.playerPhase.subscribe(e=>{e===ze.Video?this.setupMediaSessionForVideo():e===ze.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}={...this.videoConfig.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",o=>this.seekTime(o.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:t}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",t=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(t)}catch(e){this.log({message:e.message})}}play(){this.isControlDisabled(ft.PLAY_BUTTON)||this.store?.playerPhase.is(ze.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(ft.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)}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 to.getInstance()?.oneStat.getDeviceId()??void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const eh=()=>{window.customElements.define("vk-video-player",$3)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return Je.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return Je.VideoQuality}});Object.defineProperty(exports,"InterfaceLanguage",{enumerable:!0,get:function(){return ne.InterfaceLanguage}});Object.defineProperty(exports,"VKNumericLanguage",{enumerable:!0,get:function(){return ne.VKNumericLanguage}});Object.defineProperty(exports,"loadVKLangPack",{enumerable:!0,get:function(){return ne.loadVKLangPack}});exports.VERSION=Po;exports.registerPlayerWebComponent=eh;
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 Wp(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 Vp({props:s}),Se.push(()=>je(e,"videoContainer",o)),{c(){U(e.$$.fragment)},m(l,r){F(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],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Zp(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 qp({props:s}),Se.push(()=>je(e,"videoContainer",o)),{c(){U(e.$$.fragment)},m(l,r){F(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],qe(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Kp(t){let e,i,n,o;const s=[Zp,Wp],l=[];function r(a,c){return a[15]?0:1}return i=r(t),n=l[i]=s[i](t),{c(){e=T("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):(de(),g(l[f],1,1,()=>{l[f]=null}),me(),n=l[i],n?n.p(a,c):(n=l[i]=s[i](a),n.c()),d(n,1),n.m(e,null))},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&P(e),l[i].d()}}}function Gp(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:_}=e,{autoplay:b}=e,{volume:k=void 0}=e,{muted:v=void 0}=e,{fromTime:S}=e,{canRewindLive:y}=e,{showAds:w}=e,{adsSlotId:z=void 0}=e,{adsParams:oe=void 0}=e,{adsPreviewParam:I=void 0}=e,{duration:W=void 0}=e,{logoClickable:V}=e,{logoHidden:te}=e,{isMobile:M}=e,{showNextPrevButtons:ie=!1}=e,{nextButtonActive:R=!1}=e,{prevButtonActive:Y=!1}=e,{endScreenVideoTitle:le=void 0}=e,{endScreenVideoThumb:C=void 0}=e,{isOneVideoPlaylist:se=!1}=e,{supportLink:ye}=e,{outerContainerRef:pe=void 0}=e,{fullScreenTarget:ve=void 0}=e,{failoverHosts:X=void 0}=e,{showMiniTimer:ce=!1}=e,{playNextVideo:De=ee.noop}=e,{playPrevVideo:ae=ee.noop}=e,{repeatPlaylist:Ie=ee.noop}=e,{seekToInteractive:Ee=ee.noop}=e,{toggleGraph:he=ee.noop}=e,{playPrevChapter:Ae=ee.noop}=e;const{subscribers:A,stores:ne}=s;fc(l);const Me=on(),Ce=o.ui.debugPanelVisible,ue=o.ui.playerSize;let _e,x=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}),wc(o,ne);const Ue=(fe=!1)=>{i(34,Q=!0),fe?o.actions.external.firstStart(w):o.actions.internal.firstStart(w)};function xe(fe){const _t=n||fe;_t&&o.initVideo({container:_e,sources:_t,failoverHosts:X,subtitles:m});const nt=ee.safeStorage.get(cl)==="true";Ce.set(nt),S>0&&o.actions.external.seekTime(S);const yt=M?Me.volumeDefault:k??uu()??Me.volumeDefault,dt=v??Tc();if(o.actions.external.setVolume(yt),o.actions.external.setMuted(dt),o.getAdmanWrapper().setInitialVolume(dt?0:yt),Me.features.trafficSaving){const Tt=Ac();Tt&&o.actions.internal.setTrafficSavingEnabled(Tt)}const mt=Pc(o.videoId);mt&&o.actions.internal.setQuality(mt),o.ui.isAutoplay.set(b),b?Ue():_&&Me.features.preload&&o.actions.internal.preload()}const Je=fe=>{if(window.ResizeObserver){let _t,nt;x=new ResizeObserver(ee.throttleFn(yt=>{const dt=yt[0];if(dt){if(dt.contentBoxSize){const mt=Array.isArray(dt.contentBoxSize)?dt.contentBoxSize[0]:dt.contentBoxSize;_t=mt.inlineSize,nt=mt.blockSize}else dt.contentRect&&(_t=dt.contentRect.width,nt=dt.contentRect.height);ue.set({width:_t,height:nt})}},Ja)),x.observe(fe)}ue.set({width:fe.clientWidth,height:fe.clientHeight})};nn(()=>{Je(_e);const fe=A.map(nt=>nt.init(o,ne));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 xe(),()=>{x?.disconnect(),fe.forEach(nt=>nt.unsubscribe()),o.destroy()}});function Le(){Q?o.actions.external.play():Ue(!0)}function We(){o.actions.external.pause()}function $e(fe){M||o.actions.external.setMuted(fe)}function ht(fe){M||fe>=0&&fe<=1&&o.actions.external.setVolume(fe)}function rt(fe){o.actions.internal.seekTime(fe,at.SeekAction.UNKNOWN)}function Pe(fe){o.actions.external.seekEpisodeStartTime(fe)}function gt(){o.actions.external.returnFocusToEpisodes()}function ut(fe){o.actions.external.setPlaybackRate(fe)}function Xt(fe){o.actions.external.setAutoQualityLimits(fe)}function Jt(fe){_e=fe,i(33,_e)}function Vt(fe){_e=fe,i(33,_e)}return t.$$set=fe=>{"sources"in fe&&i(37,n=fe.sources),"store"in fe&&i(0,o=fe.store),"microStoresRoot"in fe&&i(38,s=fe.microStoresRoot),"uiConfig"in fe&&i(39,l=fe.uiConfig),"title"in fe&&i(1,r=fe.title),"thumbUrl"in fe&&i(2,a=fe.thumbUrl),"videoLogoUrl"in fe&&i(3,c=fe.videoLogoUrl),"interactiveContainer"in fe&&i(4,f=fe.interactiveContainer),"subtitles"in fe&&i(40,m=fe.subtitles),"live"in fe&&i(5,h=fe.live),"preload"in fe&&i(41,_=fe.preload),"autoplay"in fe&&i(6,b=fe.autoplay),"volume"in fe&&i(42,k=fe.volume),"muted"in fe&&i(43,v=fe.muted),"fromTime"in fe&&i(44,S=fe.fromTime),"canRewindLive"in fe&&i(7,y=fe.canRewindLive),"showAds"in fe&&i(8,w=fe.showAds),"adsSlotId"in fe&&i(9,z=fe.adsSlotId),"adsParams"in fe&&i(10,oe=fe.adsParams),"adsPreviewParam"in fe&&i(11,I=fe.adsPreviewParam),"duration"in fe&&i(12,W=fe.duration),"logoClickable"in fe&&i(13,V=fe.logoClickable),"logoHidden"in fe&&i(14,te=fe.logoHidden),"isMobile"in fe&&i(15,M=fe.isMobile),"showNextPrevButtons"in fe&&i(16,ie=fe.showNextPrevButtons),"nextButtonActive"in fe&&i(17,R=fe.nextButtonActive),"prevButtonActive"in fe&&i(18,Y=fe.prevButtonActive),"endScreenVideoTitle"in fe&&i(19,le=fe.endScreenVideoTitle),"endScreenVideoThumb"in fe&&i(20,C=fe.endScreenVideoThumb),"isOneVideoPlaylist"in fe&&i(21,se=fe.isOneVideoPlaylist),"supportLink"in fe&&i(22,ye=fe.supportLink),"outerContainerRef"in fe&&i(23,pe=fe.outerContainerRef),"fullScreenTarget"in fe&&i(24,ve=fe.fullScreenTarget),"failoverHosts"in fe&&i(45,X=fe.failoverHosts),"showMiniTimer"in fe&&i(25,ce=fe.showMiniTimer),"playNextVideo"in fe&&i(26,De=fe.playNextVideo),"playPrevVideo"in fe&&i(27,ae=fe.playPrevVideo),"repeatPlaylist"in fe&&i(28,Ie=fe.repeatPlaylist),"seekToInteractive"in fe&&i(29,Ee=fe.seekToInteractive),"toggleGraph"in fe&&i(30,he=fe.toggleGraph),"playPrevChapter"in fe&&i(31,Ae=fe.playPrevChapter)},t.$$.update=()=>{t.$$.dirty[0]&32769&&o.ui.isMobile.set(M)},[o,r,a,c,f,h,b,y,w,z,oe,I,W,V,te,M,ie,R,Y,le,C,se,ye,pe,ve,ce,De,ae,Ie,Ee,he,Ae,rt,_e,Q,Me,Ue,n,s,l,m,_,k,v,S,X,xe,Le,We,$e,ht,Pe,gt,ut,Xt,Jt,Vt]}class Yp extends ke{constructor(e){super(),we(this,e,Gp,Kp,be,{sources:37,store:0,microStoresRoot:38,uiConfig:39,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:40,live:5,preload:41,autoplay:6,volume:42,muted:43,fromTime:44,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:45,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:46,play:47,pause:48,setMuted:49,setVolume:50,seekTime:32,seekEpisodeStartTime:51,returnFocusToEpisodes:52,setPlaybackRate:53,setAutoQualityLimits:54},jp,[-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 Qp(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:j,o:j,d(n){n&&P(e)}}}function Xp(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 Jp extends ke{constructor(e){super(),we(this,e,Xp,Qp,be,{isWhite:1})}}function xp(t){He(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 Ha(t){let e,i;return{c(){e=T("div"),i=ze(t[0]),u(e,"class","title v-1y9fytq")},m(n,o){E(n,e,o),p(e,i)},p(n,o){o&1&&Xe(i,n[0])},d(n){n&&P(e)}}}function Ua(t){let e,i;return e=new Jp({props:{isWhite:!!t[1]}}),{c(){U(e.$$.fragment)},m(n,o){F(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){H(e,n)}}}function $p(t){let e,i,n,o,s=t[0]&&Ha(t),l=(!t[0]||!t[1])&&Ua(t);return{c(){e=T("div"),s&&s.c(),i=O(),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=Ha(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=Ua(r),l.c(),d(l,1),l.m(e,null)):l&&(de(),g(l,1,1,()=>{l=null}),me()),(!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&&P(e),s&&s.d(),l&&l.d()}}}function eh(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 th extends ke{constructor(e){super(),we(this,e,eh,$p,be,{title:0,thumbUrl:1},xp)}}class ih{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 nh(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:j,i:j,o:j,d(s){s&&P(e)}}}class oh extends ke{constructor(e){super(),we(this,e,null,nh,be,{})}}function lh(t){He(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 sh(t){let e,i,n,o,s,l,r;return n=new oh({}),{c(){e=T("div"),i=T("div"),U(n.$$.fragment),o=O(),s=T("span"),l=ze(t[0]),u(i,"class","dummy-image v-1pbsod4"),B(i,"desktop",!t[1]),u(s,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),B(e,"is-pip-api",t[2])},m(a,c){E(a,e,c),p(e,i),F(n,i,null),p(e,o),p(e,s),p(s,l),r=!0},p(a,[c]){(!r||c&2)&&B(i,"desktop",!a[1]),(!r||c&1)&&Xe(l,a[0])},i(a){r||(d(n.$$.fragment,a),r=!0)},o(a){g(n.$$.fragment,a),r=!1},d(a){a&&P(e),H(n)}}}function rh(t,e,i){let n,o;const s=pt(),l=!!s.webApi.pictureInPictureApi,r=s.interfaceLanguage$;D(t,r,f=>i(5,n=f));const a=s.ui.isMobile;D(t,a,f=>i(1,o=f));let c;return t.$$.update=()=>{t.$$.dirty&32&&i(0,c=n&&K("pip_dummy_title"))},[c,o,l,r,a,n]}class ah extends ke{constructor(e){super(),we(this,e,rh,sh,be,{},lh)}}const uh=460,ch=280;class _1{playerDomElement;playerParentShadowRoot;playerDummyElement;svelteContext;pipWindow;info={isActive$:new ee.ValueSubject(!1),type:Cn.DocumentPictureInPicture};isSupported(){const e=ee.getCurrentBrowser().browser===ee.CurrentClientBrowser.Yandex,{isEmbed:i}=ee.detectEmbed();return"documentPictureInPicture"in window&&!e&&!i}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,i){this.playerDomElement=e,this.playerParentShadowRoot=i}setContext(e){this.svelteContext=e}async request(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:uh,height:ch,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 ah({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 fh(t){return t instanceof _1}class dh{static getLatestSupportedVersion(){const e=new _l,i=new _1;if(i.isSupported())return i;if(e.isSupported())return e}}function qa(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 mh="Inner error. Unexpectedly root annotation container null reference exception",ph="Annotation with such name already exists",hh="Annotation with such name does not exist";class sl extends Error{constructor(e){super(e),this.name="AnnotationError"}}const gh="1",bh=100;class _h{rootAnnotationsContainer;annotations=new Map;subscriptions=new ee.Subscription;mutationObserver;playerSize;constructor(e){this.rootAnnotationsContainer=e;const i=ee.throttleFn(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},bh);this.subscriptions.add(ee.observeElementSize(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 sl(mh);if(this.annotations.has(e))throw new sl(ph);i.style.zIndex=i.style.zIndex??gh,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 sl(hh);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 Il{stateName;state$;subscription;init(e,i){return ee.assertNonNullable(e),ee.assertNonNullable(i),this.subscription=new ee.Subscription,this.subscription}}class vh extends Il{stateName="fakeIsPlaying$";state$={...Be(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 wh extends Il{stateName="interactiveControlsOpacity$";state$={...Be(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 kh extends Il{stateName="seekToInteractiveDisabledTooltip$";state$=Be("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 yh=()=>[vh,wh,kh].reduce(({subscribers:t,stores:e},i)=>{const n=new i;return{subscribers:[...t,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),Ch={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:ee.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:ee.isMobile(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class Sh 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 ee.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new ee.Subscription,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 th({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:_,fromTime:b,canRewindLive:k,supportLink:v,showAds:S,adsSlotId:y,adsParams:w={},adsPreviewParam:z,interfaceLanguage:oe,logoClickable:I,logoHidden:W,isMobile:V,isAudioDisabled:te,isLiveCatchUpMode:M,fullScreenTarget:ie,failoverHosts:R,canDownload:Y,callbacks:le,interactiveData:C,showThumbTimer:se,additionalButtons:ye=[],repeat:pe}=qa(this.videoConfig,i),{sources:ve,title:X,thumbUrl:ce,videoLogoUrl:De,unitedVideoId:ae,isClip:Ie=!1,duration:Ee,adsParams:he={},videoEpisodes:Ae,previewThumbsData:A,subtitles:ne,live:Me}=e,Ce={...w,...he},ue=this.getNextVideoInfo(),_e={sources:ve,title:X,thumbUrl:ce,subtitles:ne,unitedVideoId:ae,isClip:Ie,live:Me,albumId:o,statPlace:s,autoplay:m,muted:_,volume:h,fromTime:b,canRewindLive:k,showAds:S,adsSlotId:y,adsParams:Ce,adsPreviewParam:z,duration:Ee,logoClickable:I,logoHidden:W,isMobile:V,repeat:pe,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:ue.nextVideoTitle,endScreenVideoThumb:ue.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},x={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(_e)}`});const Q=this.uiConfig.features.statistics&&!!ae,{pid:Ue}=this.videoConfig?.interactiveData?.projectInfo||{};Q&&new _o({movieId:ae,albumId:o,place:s,trackCode:a,autoplay:(m&&!this.interactiveController)??!1,mobile:V,clip:Ie,...Ue&&!this.isInited&&{projectId:Number(Ue)}},{refreshAuthToken:c,userSalt:l,config:this.statistics.config,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new fl(this.uiConfig.sentry,{version:Zo,env:vc},{movieId:ae,albumId:o,place:s,autoplay:(m&&!this.interactiveController)??!1,mobile:V,clip:Ie}),this.interactiveController&&(this.prevIsid??=_o.getInstance()?.oneStat.isid$.getValue()),this.statistics={...this.statistics,..._o.getInstance()},this.sentry={...this.sentry,...fl.getInstance()};const Je=!!C,Le=this.interactiveController?.getInteractiveRanges(),We=[];let $e="tooltip_interactive_go_back_disabled_first";if(Je&&this.interactiveController){const Pe=this.interactiveController.state.isInitialChapter$.getValue(),gt=this.interactiveController.getHistoryState();Pe&&We.push(ot.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||We.push(ot.SEEK_TO_INTERACTIVE_BUTTON),gt.hasPrevChapter$.getValue()||(We.push(ot.PLAY_PREV_CHAPTER_BUTTON),Pe||(gt.isGoBackLimited$.getValue()?$e="tooltip_interactive_go_back_disabled_limit":$e="tooltip_interactive_go_back_disabled"))}const ht=()=>{this.isInited=!1,this.prevIsid=void 0;const Pe=n?.info.isEnded$.getValue()&&this.interactiveController?.state.isEndChapter$.getValue();le.onReplayInteractiveVideo&&!Pe?le.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=g4({player:n,interfaceLanguage:oe,videoId:ae,isClip:Ie,isLiveCatchUpMode:M,isAudioDisabled:te,statAuthToken:r,callbacks:le,webApi:x,videoEpisodes:Ae,previewThumbsData:A,canDownload:Y,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:We,isInteractive:Je,interactiveRanges:Le,replayInteractive:ht,playPrevChapterDisabledTooltip:$e,hasInteractiveBranches:!!this.interactiveController?.getChapterBranches()?.length,additionalButtons:this.uiConfig.features.additionalButtons?ye:[],looped:pe&&this.videoConfig.videos.length===1});const{stores:rt}=this.microStoresRoot=yh();this.subscription.add(this.store.state.currentFormat$.subscribe(Pe=>le?.onCurrentFormatChanged?.(Pe))),this.subscription.add(rt.interactiveControlsOpacity$.subscribe(Pe=>{Pe!==null&&this?.interactiveController?.setDisabledControls(Pe)})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Pe=>le?.onThroughputEstimationChanged?.(Pe))),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe(Pe=>le?.onTrafficSavingEnabledChanged?.(Pe))),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe(Pe=>le?.onCurrentPlaybackRateChanged?.(Pe))),this.subscription.add(this.store.state.volume$.subscribe(Pe=>le?.onVolumeChange?.(Pe))),this.subscription.add(this.store.state.muted$.subscribe(Pe=>Pe?le?.onMute?.():le?.onUnmute?.())),this.subscription.add(this.store.state.videoBitrate$.subscribe(Pe=>le?.onVideoBitrateChanged?.(Pe))),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Pe=>{const gt=this.store?.ui.controls.disabledControls$;gt&&(Pe&&!gt.includes(Ho)&&gt.add(Ho),Pe||gt.remove(Ho))})),this.initMediaSession(),this.interactiveController&&Q&&this.initInteractivesStatistics(),this.svelteRootComponent=new Yp({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:ve,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:X,thumbUrl:ce,videoLogoUrl:De,subtitles:ne,live:Me,preload:f,autoplay:m,muted:_,volume:h,fromTime:b,canRewindLive:k,supportLink:v,showAds:S,adsSlotId:y,adsParams:Ce,adsPreviewParam:z,duration:Ee,logoClickable:I,logoHidden:W,isMobile:V,failoverHosts:R,fullScreenTarget:ie,showMiniTimer:se,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:ue.nextVideoTitle,endScreenVideoThumb:ue.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!==so.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&&ee.isNonNullable(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(Ul),!l&&this.graphMadePause&&this.play()):(this.graphMadePause=r==="playing",o.set(!0),this.interactiveController?.toggleGraphView(!0),s.add(Ul),!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/esnext.cjs.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},coreConfig:this.coreConfig}),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(ot.SEEK_TO_INTERACTIVE_BUTTON):h.ui.controls.disabledControls$.add(ot.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:_})=>{if(!this.store)return;const b=c.getValue();if(m==="container-removed"&&this.store.actions.internal.completeInteractiveRange(h),m==="action-choice"&&_==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(eu)),m==="action-choice-canceled"){const k=Ye(this.store.state.isPlaying$)||b;if(this.videoConfig?.isMobile&&k){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/esnext.cjs.js"),o={[n.GO_NEXT_BUTTON]:at.InteractiveInterfaceClick.NEXT_BUTTON,[n.GO_NEXT_AREA]:at.InteractiveInterfaceClick.NEXT_AREA,[n.WATCH_AGAIN]:at.InteractiveInterfaceClick.WATCH_AGAIN,[n.OPEN_GRAPH]:at.InteractiveInterfaceClick.GRAPH_SHOW,[n.CLOSE_GRAPH]:at.InteractiveInterfaceClick.GRAPH_HIDE},{click$:s,nextMovie$:l}=this.interactiveController.getStatEvents(),r=new ee.Subject;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=qa(Ch,ee.cloneDeepWith(e,n=>n instanceof HTMLElement?n:void 0)),this.uiConfig=cc(i.ui??{}),this.coreConfig=i.core??{configName:[]},this.statistics={config:i.statistics??{}},this.sentry={config:this.uiConfig.sentry??{}},ee.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=this.videoConfig.isMediaSessionEnabled??!0),ee.isNonNullable(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=dh.getLatestSupportedVersion():this.pictureInPictureApi=new _l),this.mediaSessionApi=this.uiConfig.features.mediaSession?new ih:void 0,this.annotationsApi=this.uiConfig.features.annotations?new _h(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]),fh(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===Re.Video?this.setupMediaSessionForVideo():e===Re.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(ot.PLAY_BUTTON)||this.store?.playerPhase.is(Re.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(ot.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 _o.getInstance()?.oneStat.getDeviceId()??void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const Ph=()=>{window.customElements.define("vk-video-player",Sh)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return Qe.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return Qe.VideoQuality}});Object.defineProperty(exports,"InterfaceLanguage",{enumerable:!0,get:function(){return ee.InterfaceLanguage}});Object.defineProperty(exports,"VKNumericLanguage",{enumerable:!0,get:function(){return ee.VKNumericLanguage}});Object.defineProperty(exports,"loadVKLangPack",{enumerable:!0,get:function(){return ee.loadVKLangPack}});exports.VERSION=Zo;exports.registerPlayerWebComponent=Ph;