@vkontakte/videoplayer 1.1.32-dev.a1e89bfc.0 → 1.1.32-dev.a44460f3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es2015.esm.js CHANGED
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @vkontakte/videoplayer v1.1.32-dev.a1e89bfc.0
3
- * Thu, 14 Mar 2024 08:55:03 GMT
2
+ * @vkontakte/videoplayer v1.1.32-dev.a44460f3.0
3
+ * Wed, 03 Apr 2024 13:43:07 GMT
4
4
  * https://st.mycdn.me/static/vkontakte-videoplayer/1-1-32/doc/
5
5
  */
6
- var Qc=Object.defineProperty,Jc=Object.defineProperties;var xc=Object.getOwnPropertyDescriptors;var hr=Object.getOwnPropertySymbols;var $c=Object.prototype.hasOwnProperty,e0=Object.prototype.propertyIsEnumerable;var fl=(i,e,t)=>e in i?Qc(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,xi=(i,e)=>{for(var t in e||(e={}))$c.call(e,t)&&fl(i,t,e[t]);if(hr)for(var t of hr(e))e0.call(e,t)&&fl(i,t,e[t]);return i},Yn=(i,e)=>Jc(i,xc(e));var dl=(i,e,t)=>(fl(i,typeof e!="symbol"?e+"":e,t),t);var jn=(i,e,t)=>new Promise((n,o)=>{var l=a=>{try{s(t.next(a))}catch(c){o(c)}},r=a=>{try{s(t.throw(a))}catch(c){o(c)}},s=a=>a.done?n(a.value):Promise.resolve(a.value).then(l,r);s((t=t.apply(i,e)).next())});import{VERSION as t0,ChromecastState as wn,PlaybackState as Si,VideoQuality as eo,Player as i0,VideoFormat as ko}from"@vkontakte/videoplayer-core/es2015.esm.js";import{VideoFormat as r8,VideoQuality as s8}from"@vkontakte/videoplayer-core/es2015.esm.js";import{InterfaceLanguage as Lo,VideoQuality as Xo,fillWithDefault as n0,assertNonNullable as kt,VERSION as o0,safeStorage as pn,isNullable as xo,Subscription as oo,isNonNullable as hn,isMacLike as vr,debounceFn as W1,ValueSubject as Yl,getCurrentBrowser as Kl,CurrentClientBrowser as q1,noop as Xe,checkNever as l0,timeCodeToString as r0,isIOS as Z1,CurrentClientDevice as s0,getIOSVersion as a0,Subject as sn,addScript as u0,Logger as G1,merge as c0,Observable as f0,map as d0,loadVKLangPack as m0,getHighestQuality as h0,detectEmbed as v0,isMobile as p0,cloneDeepWith as g0}from"@vkontakte/videoplayer-shared/es2015.esm.js";import{InterfaceLanguage as u8,VKNumericLanguage as c8,loadVKLangPack as f8}from"@vkontakte/videoplayer-shared/es2015.esm.js";import{VERSION as b0,SeekAction as Ft,OneStat as _0,InteractiveInterfaceClick as yo}from"@vkontakte/videoplayer-statistics/es2015.esm.js";function $i(i,e,t,n){function o(l){return l instanceof t?l:new t(function(r){r(l)})}return new(t||(t=Promise))(function(l,r){function s(f){try{c(n.next(f))}catch(h){r(h)}}function a(f){try{c(n.throw(f))}catch(h){r(h)}}function c(f){f.done?l(f.value):o(f.value).then(s,a)}c((n=n.apply(i,e||[])).next())})}function Z(){}function Y1(i,e){for(const t in e)i[t]=e[t];return i}function K1(i){return i()}function pr(){return Object.create(null)}function Yt(i){i.forEach(K1)}function an(i){return typeof i=="function"}function _e(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Fo;function gr(i,e){return Fo||(Fo=document.createElement("a")),Fo.href=e,i===Fo.href}function w0(i){return Object.keys(i).length===0}function Vo(i,...e){if(i==null){for(const n of e)n(void 0);return Z}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function lt(i){let e;return Vo(i,t=>e=t)(),e}function q(i,e,t){i.$$.on_destroy.push(Vo(e,t))}function Mn(i,e,t,n){if(i){const o=X1(i,e,t,n);return i[0](o)}}function X1(i,e,t,n){return i[1]&&n?Y1(t.ctx.slice(),i[1](n(e))):t.ctx}function Rn(i,e,t,n){if(i[2]&&n){const o=i[2](n(t));if(e.dirty===void 0)return o;if(typeof o=="object"){const l=[],r=Math.max(e.dirty.length,o.length);for(let s=0;s<r;s+=1)l[s]=e.dirty[s]|o[s];return l}return e.dirty|o}return e.dirty}function Bn(i,e,t,n,o,l){if(o){const r=X1(e,t,n,l);i.p(r,o)}}function Nn(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 k0(i){return i==null?"":i}const Q1=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function d(i,e){i.appendChild(e)}function De(i,e,t){const n=y0(i);if(!n.getElementById(e)){const o=w("style");o.id=e,o.textContent=t,P0(n,o)}}function y0(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function P0(i,e){return d(i.head||i,e),e.sheet}function y(i,e,t){i.insertBefore(e,t||null)}function k(i){i.parentNode&&i.parentNode.removeChild(i)}function vn(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function w(i){return document.createElement(i)}function M(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ue(i){return document.createTextNode(i)}function R(){return Ue(" ")}function bt(){return Ue("")}function Le(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Ti(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 C0(i){return Array.from(i.childNodes)}function $e(i,e){e=""+e,i.data!==e&&(i.data=e)}function Ht(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let Ho;function S0(){if(Ho===void 0){Ho=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){Ho=!0}}return Ho}function il(i,e){getComputedStyle(i).position==="static"&&(i.style.position="relative");const n=w("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=S0();let l;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",l=Le(window,"message",r=>{r.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{l=Le(n.contentWindow,"resize",e),e()}),d(i,n),()=>{(o||l&&n.contentWindow)&&l(),k(n)}}function E(i,e,t){i.classList.toggle(e,!!t)}function kn(i,e){return new i(e)}let To;function So(i){To=i}function Io(){if(!To)throw new Error("Function called outside component initialization");return To}function en(i){Io().$$.on_mount.push(i)}function nl(i){Io().$$.on_destroy.push(i)}function J1(i,e){return Io().$$.context.set(i,e),e}function x1(i){return Io().$$.context.get(i)}function $1(){return Io().$$.context}function Eo(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const to=[],Ge=[];let lo=[];const Dl=[],T0=Promise.resolve();let Fl=!1;function E0(){Fl||(Fl=!0,T0.then(eu))}function Zn(i){lo.push(i)}function Pt(i){Dl.push(i)}const ml=new Set;let Kn=0;function eu(){if(Kn!==0)return;const i=To;do{try{for(;Kn<to.length;){const e=to[Kn];Kn++,So(e),A0(e.$$)}}catch(e){throw to.length=0,Kn=0,e}for(So(null),to.length=0,Kn=0;Ge.length;)Ge.pop()();for(let e=0;e<lo.length;e+=1){const t=lo[e];ml.has(t)||(ml.add(t),t())}lo.length=0}while(to.length);for(;Dl.length;)Dl.pop()();Fl=!1,ml.clear(),So(i)}function A0(i){if(i.fragment!==null){i.update(),Yt(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Zn)}}function L0(i){const e=[],t=[];lo.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),lo=e}const Qo=new Set;let Wn;function he(){Wn={r:0,c:[],p:Wn}}function ve(){Wn.r||Yt(Wn.c),Wn=Wn.p}function m(i,e){i&&i.i&&(Qo.delete(i),i.i(e))}function p(i,e,t,n){if(i&&i.o){if(Qo.has(i))return;Qo.add(i),Wn.c.push(()=>{Qo.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function qt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function V0(i,e){const t={},n={},o={$$scope:1};let l=i.length;for(;l--;){const r=i[l],s=e[l];if(s){for(const a in r)a in s||(n[a]=1);for(const a in s)o[a]||(t[a]=s[a],o[a]=1);i[l]=s}else for(const a in r)o[a]=1}for(const r in n)r in t||(t[r]=void 0);return t}function I0(i){return typeof i=="object"&&i!==null?i:{}}function Ct(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function F(i){i&&i.c()}function O(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),Zn(()=>{const l=i.$$.on_mount.map(K1).filter(an);i.$$.on_destroy?i.$$.on_destroy.push(...l):Yt(l),i.$$.on_mount=[]}),o.forEach(Zn)}function D(i,e){const t=i.$$;t.fragment!==null&&(L0(t.after_update),Yt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function z0(i,e){i.$$.dirty[0]===-1&&(to.push(i),E0(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function we(i,e,t,n,o,l,r,s=[-1]){const a=To;So(i);const c=i.$$={fragment:null,ctx:[],props:l,update:Z,not_equal:o,bound:pr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:pr(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};r&&r(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(h,g,...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&&z0(i,h)),g}):[],c.update(),f=!0,Yt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const h=C0(e.target);c.fragment&&c.fragment.l(h),h.forEach(k)}else c.fragment&&c.fragment.c();e.intro&&m(i.$$.fragment),O(i,e.target,e.anchor),eu()}So(a)}class ke{constructor(){dl(this,"$$");dl(this,"$$set")}$destroy(){D(this,1),this.$destroy=Z}$on(e,t){if(!an(t))return Z;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const o=n.indexOf(t);o!==-1&&n.splice(o,1)}}$set(e){this.$$set&&!w0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const M0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(M0);var so;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(so||(so={}));const R0={isMobile:void 0,defaultLanguage:Lo.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:so.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:Xo.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0},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}},B0=i=>n0(i,R0),N0=i=>J1("ui-config",i),on=()=>x1("ui-config"),Hl="vk_player_debug_panel_opened",tu=300,O0="videoplayer",D0="videoplayer";var Ze;(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"})(Ze||(Ze={}));const F0=new Set([Ze.ArrowLeft,Ze.ArrowRight,Ze.KeyL,Ze.KeyJ]);var mt;(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"})(mt||(mt={}));const br=40,H0=4,U0=60,iu=[mt.TIMELINE],Ul=[...iu,mt.GRAPH_BUTTON],_r=[...iu,mt.PLAY_BUTTON],Po=[...Ul,mt.PLAY_BUTTON];var io;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(io||(io={}));var Lt;(function(i){i.XS="xs",i.S="s",i.M="m",i.L="l",i.XL="xl"})(Lt||(Lt={}));const ao={[Lt.XS]:0,[Lt.S]:1,[Lt.M]:2,[Lt.L]:3,[Lt.XL]:4},Xn=[];function bn(i,e){return{subscribe:He(i,e).subscribe}}function He(i,e=Z){let t;const n=new Set;function o(s){if(_e(i,s)&&(i=s,t)){const a=!Xn.length;for(const c of n)c[1](),Xn.push(c,i);if(a){for(let c=0;c<Xn.length;c+=2)Xn[c][0](Xn[c+1]);Xn.length=0}}}function l(s){o(s(i))}function r(s,a=Z){const c=[s,a];return n.add(c),n.size===1&&(t=e(o,l)||Z),s(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:l,subscribe:r}}function ti(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 bn(t,(r,s)=>{let a=!1;const c=[];let f=0,h=Z;const g=()=>{if(f)return;h();const b=e(n?c[0]:c,r,s);l?r(b):h=an(b)?b:Z},v=o.map((b,A)=>Vo(b,P=>{c[A]=P,f&=~(1<<A),a&&g()},()=>{f|=1<<A}));return a=!0,g(),function(){Yt(v),h(),a=!1}})}const j0="prod",Xl="1.1.32-dev.a1e89bfc.0",nu=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},ou=Symbol("storeContext"),W0=i=>{J1(ou,i)},Tt=()=>{const i=x1(ou);return kt(i,"Store context is empty!"),i},wt=(i,e)=>lu(i,i.getValue(),e),lu=(i,e,t)=>bn(e,n=>{const o=i.subscribe(l=>{n(l),t==null||t(l)});return()=>o.unsubscribe()}),q0=(i,e,t)=>{var n,o,l,r;const s=i.info,{width:a,height:c}=lt(t.ui.playerSize),f=(o=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&o!==void 0?o:0,h=(r=(l=s.rttEstimation$.getValue())===null||l===void 0?void 0:l.toFixed(0))!==null&&r!==void 0?r:0,g=s.isAutoQualityEnabled$.getValue()?"auto":"manual",v=`${Xl} (core: ${t0}, stat: ${b0}, shared: ${o0})`,b=lt(t.state.errorLog$),A=b.length?`
7
- `+b.map((S,I)=>{var z;const X=`${I}) Type: ${S.id}
8
- `,$=`Message: ${S.message} (${S.thrown})
9
- `,H=`Trace: ${(z=S.thrown)===null||z===void 0?void 0:z.stack}
10
- `;return X+$+H}).join(`
11
- `):void 0,P=t.state.isAudioDisabled?"disabled":lt(t.state.isAudioAvailable$)?void 0:"unavailable",T={Version:v,Browser:navigator.userAgent,Config:i.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(t.videoId),"Content host":s.hostname$.getValue(),"Connection type":s.httpConnectionType$.getValue()+(s.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${h}ms RTT`,Format:s.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${g} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Audio:P,Position:`${lt(t.state.positionExact$)}s`,State:`${lt(t.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:A};return Object.entries(T).filter(([S,I])=>I!==void 0).map(([S,I])=>`${S}: ${I}`).join(`
12
- `)},Z0=(i,e,t)=>{const n=i.info,{width:o,height:l}=lt(t.ui.playerSize),r={version:Xl,viewport:`${o}x${l}`,volume:Math.round(lt(t.state.volume$)*100)};r.id=t.videoId,n.currentFormat$.getValue()&&(r.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(r.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(r.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(r.buffer=Math.max(f.end-lt(t.state.positionExact$),0));const h=n.throughputEstimation$.getValue();h&&(r.speed=h);const g=n.videoBitrate$.getValue();return g&&(r.bitrate=g),r},G0=(i,e)=>nu(i,e,"mp4"),ru="vk_player_prefer_traffic_saving_enabled",su="vk_player_preferred_volume",au="vk_player_prefer_volume_mute",Ql="vk_player_preferred_quality",uu=i=>i>1?1:i<0?0:i,wr=i=>pn.set(su,uu(i).toString(10)),cu=()=>{const i=pn.get(su);return xo(i)?void 0:uu(parseFloat(i))},Y0=(i,e)=>pn.set(Ql,JSON.stringify({videoId:i,value:e})),fu=()=>pn.remove(Ql),K0=i=>{const e=pn.get(Ql);if(xo(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){fu();return}return n},du=(i,e)=>{e?pn.set(i,"true"):pn.remove(i)},mu=i=>pn.get(i)==="true",hl=i=>du(au,i),X0=()=>mu(au),Q0=i=>du(ru,i),J0=()=>mu(ru);function x0(i){let e,t,n,o,l,r,s,a,c,f,h,g,v,b,A,P,T,S;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("path"),r=M("path"),s=M("path"),a=M("defs"),c=M("filter"),f=M("feFlood"),h=M("feColorMatrix"),g=M("feOffset"),v=M("feGaussianBlur"),b=M("feColorMatrix"),A=M("feBlend"),P=M("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(o,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(o,"fill","#fff"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(l,"fill","#fff"),u(r,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(r,"fill","#fff"),u(s,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(s,"stroke-linecap","round"),u(s,"stroke-linejoin","round"),u(t,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(h,"in","SourceAlpha"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(h,"result","hardAlpha"),u(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(A,"in2","BackgroundImageFix"),u(A,"result","effect1_dropShadow_618_12297"),u(P,"in","SourceGraphic"),u(P,"in2","effect1_dropShadow_618_12297"),u(P,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",T=!i[0]||null),u(e,"aria-label",S=i[0]||null)},m(I,z){y(I,e,z),d(e,t),d(t,n),d(t,o),d(t,l),d(t,r),d(t,s),d(e,a),d(a,c),d(c,f),d(c,h),d(c,g),d(c,v),d(c,b),d(c,A),d(c,P)},p(I,[z]){z&1&&T!==(T=!I[0]||null)&&u(e,"aria-hidden",T),z&1&&S!==(S=I[0]||null)&&u(e,"aria-label",S)},i:Z,o:Z,d(I){I&&k(e)}}}function $0(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class hu extends ke{constructor(e){super(),we(this,e,$0,x0,_e,{ariaLabel:0})}}var vl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ef(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Uo=function(i){return i&&i.Math==Math&&i},On=Uo(typeof globalThis=="object"&&globalThis)||Uo(typeof window=="object"&&window)||Uo(typeof self=="object"&&self)||Uo(typeof vl=="object"&&vl)||function(){return this}()||vl||Function("return this")(),Gn=function(i){try{return!!i()}catch(e){return!0}},tf=Gn,ol=!tf(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")}),nf=ol,vu=Function.prototype,kr=vu.apply,yr=vu.call,of=typeof Reflect=="object"&&Reflect.apply||(nf?yr.bind(kr):function(){return yr.apply(kr,arguments)}),pu=ol,gu=Function.prototype,jl=gu.call,lf=pu&&gu.bind.bind(jl,jl),Dn=pu?lf:function(i){return function(){return jl.apply(i,arguments)}},bu=Dn,rf=bu({}.toString),sf=bu("".slice),ll=function(i){return sf(rf(i),8,-1)},af=ll,uf=Dn,_u=function(i){if(af(i)==="Function")return uf(i)},Wl=typeof document=="object"&&document.all,cf=typeof Wl=="undefined"&&Wl!==void 0,wu={all:Wl,IS_HTMLDDA:cf},ku=wu,ff=ku.all,An=ku.IS_HTMLDDA?function(i){return typeof i=="function"||i===ff}:function(i){return typeof i=="function"},yu={},df=Gn,zo=!df(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),mf=ol,jo=Function.prototype.call,Mo=mf?jo.bind(jo):function(){return jo.apply(jo,arguments)},Pu={},Cu={}.propertyIsEnumerable,Su=Object.getOwnPropertyDescriptor,hf=Su&&!Cu.call({1:2},1);Pu.f=hf?function(e){var t=Su(this,e);return!!t&&t.enumerable}:Cu;var Tu=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}},vf=Dn,pf=Gn,gf=ll,pl=Object,bf=vf("".split),_f=pf(function(){return!pl("z").propertyIsEnumerable(0)})?function(i){return gf(i)=="String"?bf(i,""):pl(i)}:pl,Jl=function(i){return i==null},wf=Jl,kf=TypeError,xl=function(i){if(wf(i))throw kf("Can't call method on "+i);return i},yf=_f,Pf=xl,Cf=function(i){return yf(Pf(i))},Pr=An,Eu=wu,Sf=Eu.all,Ro=Eu.IS_HTMLDDA?function(i){return typeof i=="object"?i!==null:Pr(i)||i===Sf}:function(i){return typeof i=="object"?i!==null:Pr(i)},Au={},gl=Au,bl=On,Tf=An,Cr=function(i){return Tf(i)?i:void 0},Lu=function(i,e){return arguments.length<2?Cr(gl[i])||Cr(bl[i]):gl[i]&&gl[i][e]||bl[i]&&bl[i][e]},Ef=Dn,Vu=Ef({}.isPrototypeOf),Af=typeof navigator!="undefined"&&String(navigator.userAgent)||"",Iu=On,_l=Af,Sr=Iu.process,Tr=Iu.Deno,Er=Sr&&Sr.versions||Tr&&Tr.version,Ar=Er&&Er.v8,mn,$o;Ar&&(mn=Ar.split("."),$o=mn[0]>0&&mn[0]<4?1:+(mn[0]+mn[1]));!$o&&_l&&(mn=_l.match(/Edge\/(\d+)/),(!mn||mn[1]>=74)&&(mn=_l.match(/Chrome\/(\d+)/),mn&&($o=+mn[1])));var Lf=$o,Lr=Lf,Vf=Gn,If=On,zf=If.String,zu=!!Object.getOwnPropertySymbols&&!Vf(function(){var i=Symbol();return!zf(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&Lr&&Lr<41}),Mf=zu,Mu=Mf&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Rf=Lu,Bf=An,Nf=Vu,Of=Mu,Df=Object,Ru=Of?function(i){return typeof i=="symbol"}:function(i){var e=Rf("Symbol");return Bf(e)&&Nf(e.prototype,Df(i))},Ff=String,Hf=function(i){try{return Ff(i)}catch(e){return"Object"}},Uf=An,jf=Hf,Wf=TypeError,Bu=function(i){if(Uf(i))return i;throw Wf(jf(i)+" is not a function")},qf=Bu,Zf=Jl,Nu=function(i,e){var t=i[e];return Zf(t)?void 0:qf(t)},wl=Mo,kl=An,yl=Ro,Gf=TypeError,Yf=function(i,e){var t,n;if(e==="string"&&kl(t=i.toString)&&!yl(n=wl(t,i))||kl(t=i.valueOf)&&!yl(n=wl(t,i))||e!=="string"&&kl(t=i.toString)&&!yl(n=wl(t,i)))return n;throw Gf("Can't convert object to primitive value")},Ou={exports:{}},Vr=On,Kf=Object.defineProperty,Xf=function(i,e){try{Kf(Vr,i,{value:e,configurable:!0,writable:!0})}catch(t){Vr[i]=e}return e},Qf=On,Jf=Xf,Ir="__core-js_shared__",xf=Qf[Ir]||Jf(Ir,{}),$f=xf,zr=$f;(Ou.exports=function(i,e){return zr[i]||(zr[i]=e!==void 0?e:{})})("versions",[]).push({version:"3.31.0",mode:"pure",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"});var ed=Ou.exports,td=xl,id=Object,Du=function(i){return id(td(i))},nd=Dn,od=Du,ld=nd({}.hasOwnProperty),rl=Object.hasOwn||function(e,t){return ld(od(e),t)},rd=Dn,sd=0,ad=Math.random(),ud=rd(1 .toString),cd=function(i){return"Symbol("+(i===void 0?"":i)+")_"+ud(++sd+ad,36)},fd=On,dd=ed,Mr=rl,md=cd,hd=zu,vd=Mu,no=fd.Symbol,Pl=dd("wks"),pd=vd?no.for||no:no&&no.withoutSetter||md,Bo=function(i){return Mr(Pl,i)||(Pl[i]=hd&&Mr(no,i)?no[i]:pd("Symbol."+i)),Pl[i]},gd=Mo,Rr=Ro,Br=Ru,bd=Nu,_d=Yf,wd=Bo,kd=TypeError,yd=wd("toPrimitive"),Pd=function(i,e){if(!Rr(i)||Br(i))return i;var t=bd(i,yd),n;if(t){if(e===void 0&&(e="default"),n=gd(t,i,e),!Rr(n)||Br(n))return n;throw kd("Can't convert object to primitive value")}return e===void 0&&(e="number"),_d(i,e)},Cd=Pd,Sd=Ru,Fu=function(i){var e=Cd(i,"string");return Sd(e)?e:e+""},Td=On,Nr=Ro,ql=Td.document,Ed=Nr(ql)&&Nr(ql.createElement),Ad=function(i){return Ed?ql.createElement(i):{}},Ld=zo,Vd=Gn,Id=Ad,Hu=!Ld&&!Vd(function(){return Object.defineProperty(Id("div"),"a",{get:function(){return 7}}).a!=7}),zd=zo,Md=Mo,Rd=Pu,Bd=Tu,Nd=Cf,Od=Fu,Dd=rl,Fd=Hu,Or=Object.getOwnPropertyDescriptor;yu.f=zd?Or:function(e,t){if(e=Nd(e),t=Od(t),Fd)try{return Or(e,t)}catch(n){}if(Dd(e,t))return Bd(!Md(Rd.f,e,t),e[t])};var Hd=Gn,Ud=An,jd=/#|\.prototype\./,No=function(i,e){var t=qd[Wd(i)];return t==Gd?!0:t==Zd?!1:Ud(e)?Hd(e):!!e},Wd=No.normalize=function(i){return String(i).replace(jd,".").toLowerCase()},qd=No.data={},Zd=No.NATIVE="N",Gd=No.POLYFILL="P",Yd=No,Dr=_u,Kd=Bu,Xd=ol,Qd=Dr(Dr.bind),Jd=function(i,e){return Kd(i),e===void 0?i:Xd?Qd(i,e):function(){return i.apply(e,arguments)}},Uu={},xd=zo,$d=Gn,e2=xd&&$d(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),t2=Ro,i2=String,n2=TypeError,ju=function(i){if(t2(i))return i;throw n2(i2(i)+" is not an object")},o2=zo,l2=Hu,r2=e2,Wo=ju,Fr=Fu,s2=TypeError,Cl=Object.defineProperty,a2=Object.getOwnPropertyDescriptor,Sl="enumerable",Tl="configurable",El="writable";Uu.f=o2?r2?function(e,t,n){if(Wo(e),t=Fr(t),Wo(n),typeof e=="function"&&t==="prototype"&&"value"in n&&El in n&&!n[El]){var o=a2(e,t);o&&o[El]&&(e[t]=n.value,n={configurable:Tl in n?n[Tl]:o[Tl],enumerable:Sl in n?n[Sl]:o[Sl],writable:!1})}return Cl(e,t,n)}:Cl:function(e,t,n){if(Wo(e),t=Fr(t),Wo(n),l2)try{return Cl(e,t,n)}catch(o){}if("get"in n||"set"in n)throw s2("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var u2=zo,c2=Uu,f2=Tu,d2=u2?function(i,e,t){return c2.f(i,e,f2(1,t))}:function(i,e,t){return i[e]=t,i},qo=On,m2=of,h2=_u,v2=An,p2=yu.f,g2=Yd,Qn=Au,b2=Jd,Jn=d2,Hr=rl,_2=function(i){var e=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new i;case 1:return new i(t);case 2:return new i(t,n)}return new i(t,n,o)}return m2(i,this,arguments)};return e.prototype=i.prototype,e},w2=function(i,e){var t=i.target,n=i.global,o=i.stat,l=i.proto,r=n?qo:o?qo[t]:(qo[t]||{}).prototype,s=n?Qn:Qn[t]||Jn(Qn,t,{})[t],a=s.prototype,c,f,h,g,v,b,A,P,T;for(g in e)c=g2(n?g:t+(o?".":"#")+g,i.forced),f=!c&&r&&Hr(r,g),b=s[g],f&&(i.dontCallGetSet?(T=p2(r,g),A=T&&T.value):A=r[g]),v=f&&A?A:e[g],!(f&&typeof b==typeof v)&&(i.bind&&f?P=b2(v,qo):i.wrap&&f?P=_2(v):l&&v2(v)?P=h2(v):P=v,(i.sham||v&&v.sham||b&&b.sham)&&Jn(P,"sham",!0),Jn(s,g,P),l&&(h=t+"Prototype",Hr(Qn,h)||Jn(Qn,h,{}),Jn(Qn[h],g,v),i.real&&a&&(c||!a[g])&&Jn(a,g,v)))},k2=Ro,y2=ll,P2=Bo,C2=P2("match"),S2=function(i){var e;return k2(i)&&((e=i[C2])!==void 0?!!e:y2(i)=="RegExp")},T2=Bo,E2=T2("toStringTag"),Wu={};Wu[E2]="z";var A2=String(Wu)==="[object z]",L2=A2,V2=An,Jo=ll,I2=Bo,z2=I2("toStringTag"),M2=Object,R2=Jo(function(){return arguments}())=="Arguments",B2=function(i,e){try{return i[e]}catch(t){}},N2=L2?Jo:function(i){var e,t,n;return i===void 0?"Undefined":i===null?"Null":typeof(t=B2(e=M2(i),z2))=="string"?t:R2?Jo(e):(n=Jo(e))=="Object"&&V2(e.callee)?"Arguments":n},O2=N2,D2=String,F2=function(i){if(O2(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return D2(i)},H2=ju,U2=function(){var i=H2(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e},j2=Mo,W2=rl,q2=Vu,Z2=U2,Ur=RegExp.prototype,G2=function(i){var e=i.flags;return e===void 0&&!("flags"in Ur)&&!W2(i,"flags")&&q2(Ur,i)?j2(Z2,i):e},$l=Dn,Y2=Du,K2=Math.floor,Al=$l("".charAt),X2=$l("".replace),Ll=$l("".slice),Q2=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,J2=/\$([$&'`]|\d{1,2})/g,x2=function(i,e,t,n,o,l){var r=t+i.length,s=n.length,a=J2;return o!==void 0&&(o=Y2(o),a=Q2),X2(l,a,function(c,f){var h;switch(Al(f,0)){case"$":return"$";case"&":return i;case"`":return Ll(e,0,t);case"'":return Ll(e,r);case"<":h=o[Ll(f,1,-1)];break;default:var g=+f;if(g===0)return c;if(g>s){var v=K2(g/10);return v===0?c:v<=s?n[v-1]===void 0?Al(f,1):n[v-1]+Al(f,1):c}h=n[g-1]}return h===void 0?"":h})},$2=w2,e4=Mo,er=Dn,jr=xl,t4=An,i4=Jl,n4=S2,xn=F2,o4=Nu,l4=G2,r4=x2,s4=Bo,a4=s4("replace"),u4=TypeError,qu=er("".indexOf),c4=er("".replace),Wr=er("".slice),f4=Math.max,qr=function(i,e,t){return t>i.length?-1:e===""?t:qu(i,e,t)};$2({target:"String",proto:!0},{replaceAll:function(e,t){var n=jr(this),o,l,r,s,a,c,f,h,g,v=0,b=0,A="";if(!i4(e)){if(o=n4(e),o&&(l=xn(jr(l4(e))),!~qu(l,"g")))throw u4("`.replaceAll` does not allow non-global regexes");if(r=o4(e,a4),r)return e4(r,e,n,t);if(o)return c4(xn(n),e,t)}for(s=xn(n),a=xn(e),c=t4(t),c||(t=xn(t)),f=a.length,h=f4(1,f),v=qr(s,a,0);v!==-1;)g=c?xn(t(a,v,s)):r4(a,s,v,[],void 0,t),A+=Wr(s,b,v)+g,b=v+f,v=qr(s,a,v+h);return b<s.length&&(A+=Wr(s,b)),A}});var d4=Lu,m4=d4,h4=m4,v4=h4("String","replaceAll"),p4=v4,g4=p4,b4=g4,_4=b4,w4=ef(_4);const k4={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"},y4={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"},Tn=new Map;Tn.set(Lo.EN,y4);Tn.set(Lo.RU,k4);const Zu=new Map,Zr=({language:i,pack:e,fallback:t})=>{if(Tn.has(i)){const n=Tn.get(i);Tn.set(i,Object.assign(Object.assign({},n),e))}else Tn.set(i,e);Zu.set(i,t)},Gr=i=>Tn.has(i),Gu=(i,e,t,n)=>{var o;const l=Tn.get(i);let r=l==null?void 0:l[e];if(xo(r)){const s=(o=Zu.get(i))!==null&&o!==void 0?o:n,a=s?Tn.get(s):void 0;r=a==null?void 0:a[e]}return xo(r)?e+Object.values(t!=null?t:{}).join(" "):t?w4(r,/{(\w+?)}/g,(s,a)=>{var c;return(c=t[a])!==null&&c!==void 0?c:""}):r},le=(i,e)=>{const{interfaceLanguage$:t}=Tt(),n=lt(t),o=on();return Gu(n,i,e,o.defaultLanguage)};var el;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(el||(el={}));const P4=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,C4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,S4=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Zo="?",T4="X-Sentry-Auth",E4=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function A4(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=P4.exec(t[l]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||Zo,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=S4.exec(t[l]))o={filename:n[2],function:n[1]||Zo,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=C4.exec(t[l]))l===0&&!n[5]&&i.columnNumber!==void 0&&(e[0].column=i.columnNumber+1),o={filename:n[3],function:n[1]||Zo,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=Zo),e.push(o)}return e.length?{value:Yu(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function Yu(i){return(i&&i.message||"No error message").split(`
14
- `).filter(t=>!!t)[0]}function L4(i){try{const e=A4(i);if(e)return e}catch(e){}return{value:Yu(i),type:i&&i.name,stacktrace:{frames:[]}}}function V4(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class I4{constructor(e){if(e&&e.dsn){const t=E4.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 Yn(xi({},this.getRequestBlank()),{exception:{values:[L4(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(T4,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:V4(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function Yr(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function z4(){return window}class tr extends I4{constructor(e,t=z4()){super(e),this.options=e,this.window=t,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:o=c=>c,beforeBreadcrumb:l=c=>c,blacklistUrls:r=[],ignoreErrors:s=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=l,this.blacklistUrls=r,this.ignoreErrors=s,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",xi({},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",xi({},e)),this}setUser(e){return this.setKeyState("user",xi({},e)),this}clone(){const e=new tr(Yn(xi({},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:[xi({timestamp:Date.now()/1e3},this.beforeBreadcrumb(e))]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send(Yn(xi({},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=>Yr(t,n))):!1}getRequestBlank(){return xi(Yn(xi({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(xi({release:this.release},e))),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch(t){return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const t=this.getEventFilterUrl(e);return t?this.blacklistUrls.some(n=>Yr(t,n)):!1}getEventFilterUrl(e){try{if(e.exception){const t=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return t&&t[t.length-1].filename||null}return null}catch(t){return null}}extendState(e){this._state=Object.keys(e).reduce((t,n)=>{const o=this._state[n],l=Array.isArray(o)?o:null,r=e[n],s=Array.isArray(r)?r:null;return Yn(xi({},t),{[n]:l||s?[...l||[],...s||[]]:xi(xi({},typeof o!="string"?o:{}),typeof r!="string"?r:{})})},this._state)}setKeyState(e,t){this._state[e]=t}}let Go=null;class Zl{constructor(e,t,n={}){!Go&&e.dsn&&(this.sentryClient=new tr({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new oo,this.options=e,this.context=n,Go=this)}destroy(){var e,t;(e=this.sentryClient)===null||e===void 0||e.destroy(),(t=this.sentrySubscription)===null||t===void 0||t.unsubscribe(),Go=null}logIError(e,t=!1){e.thrown&&this.report(e.thrown,{fatal:t,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,t={},n={}){const{sentryClient:o,context:l,options:r}=this,{sampleRate:s=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:h}=r,{errorType:g,category:v}=t;if(hn(v)&&h.includes(v)||hn(g)&&f.includes(g))return;if(Math.random()<=s||hn(v)&&c.includes(v)||hn(g)&&a.includes(g)){Object.keys(t).length&&o.setTags(Object.assign({version:this.version},t)),(Object.keys(l).length||Object.keys(n).length)&&o.setExtras(Object.assign(Object.assign({},l),n));try{g&&o.captureMessage(g,t.fatal?el.fatal:el.error),o.report(e)}catch(A){console.error(A)}}}static getInstance(){return Go}}var ro;(function(i){i.AUTO="auto"})(ro||(ro={}));var Be;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(Be||(Be={}));var Sn;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(Sn||(Sn={}));var Zt;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(Zt||(Zt={}));var En;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(En||(En={}));var Je;(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"})(Je||(Je={}));var qn;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(qn||(qn={}));const Ku=i=>{if(i.requestFullscreen)return i.requestFullscreen();if(i.msRequestFullscreen)return i.msRequestFullscreen();if(i.webkitRequestFullscreen)return i.webkitRequestFullscreen();if(i.mozRequestFullScreen)return i.mozRequestFullScreen();const e=i.querySelector("video");return e!=null&&e.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Xu=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),M4=i=>{const e=i;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},Ao=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},Qu=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},Ju=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},R4=i=>{const e=window.screen;return(o=>$i(void 0,void 0,void 0,function*(){return e.orientation?e.orientation.lock(o):e.mozLockOrientation?e.mozLockOrientation(o):e.msLockOrientation?e.msLockOrientation(o):Promise.reject()}))(((o={width:0,height:0})=>o.width<=o.height?"portrait":"landscape")(i))},B4=()=>({title:le("hotkey_map_modal_title"),closeBtnText:le("hotkey_map_modal_close_btn_text"),groups:[{title:le("hotkey_map_group_title_common"),items:[{description:le("hotkey_map_item_mute_description"),value:le("hotkey_map_item_mute_value")},{description:le("hotkey_map_item_volume_up_description"),value:le("hotkey_map_item_volume_up_value")},{description:le("hotkey_map_item_volume_down_description"),value:le("hotkey_map_item_volume_down_value")},{description:le("hotkey_map_item_pip_description"),value:le("hotkey_map_item_pip_value")},{description:le("hotkey_map_item_full_screen_description"),value:le("hotkey_map_item_full_screen_value")},{description:le("hotkey_map_item_show_hotkey_map_description"),value:le("hotkey_map_item_show_hotkey_map_value")}]},{title:le("hotkey_map_group_title_playback"),items:[{description:le("hotkey_map_item_play_toggle_description"),value:le("hotkey_map_item_play_toggle_value")},{description:le("hotkey_map_item_seek_backward_description"),value:le("hotkey_map_item_seek_backward_value")},{description:le("hotkey_map_item_seek_forward_description"),value:le("hotkey_map_item_seek_forward_value")},{description:le("hotkey_map_item_fast_seek_backward_description"),value:le("hotkey_map_item_fast_seek_backward_value")},{description:le("hotkey_map_item_fast_seek_forward_description"),value:le("hotkey_map_item_fast_seek_forward_value")},{description:le("hotkey_map_item_rate_down_description"),value:le("hotkey_map_item_rate_down_value")},{description:le("hotkey_map_item_rate_up_description"),value:le("hotkey_map_item_rate_up_value")},{description:le("hotkey_map_item_prev_frame_description"),value:le("hotkey_map_item_prev_frame_value")},{description:le("hotkey_map_item_next_frame_description"),value:le("hotkey_map_item_next_frame_value")},{description:le("hotkey_map_item_jump_seek_description"),value:le("hotkey_map_item_jump_seek_value")}]},{title:le("hotkey_map_group_title_subtitles"),items:[{description:le("hotkey_map_item_subtitles_toggle_description"),value:le("hotkey_map_item_subtitles_toggle_value")}]},{title:le("hotkey_map_group_title_episodes"),items:[{description:le("hotkey_map_item_prev_episode_description"),value:vr()?le("hotkey_map_item_prev_episode_mac_value"):le("hotkey_map_item_prev_episode_pc_value")},{description:le("hotkey_map_item_next_episode_description"),value:vr()?le("hotkey_map_item_next_episode_mac_value"):le("hotkey_map_item_next_episode_pc_value")}]}]});function N4(i){let e,t,n,o;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(o,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(t,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(l,r){y(l,e,r),d(e,t),d(t,n),d(t,o)},p:Z,i:Z,o:Z,d(l){l&&k(e)}}}class O4 extends ke{constructor(e){super(),we(this,e,null,N4,_e,{})}}function D4(i){De(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 F4(i){let e,t,n,o,l,r,s;return n=new O4({}),{c(){e=w("div"),t=w("div"),F(n.$$.fragment),o=R(),l=w("span"),r=Ue(i[0]),u(t,"class","dummy-image v-1pbsod4"),E(t,"desktop",!i[1]),u(l,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),E(e,"is-pip-api",i[2])},m(a,c){y(a,e,c),d(e,t),O(n,t,null),d(e,o),d(e,l),d(l,r),s=!0},p(a,[c]){(!s||c&2)&&E(t,"desktop",!a[1]),(!s||c&1)&&$e(r,a[0])},i(a){s||(m(n.$$.fragment,a),s=!0)},o(a){p(n.$$.fragment,a),s=!1},d(a){a&&k(e),D(n)}}}function H4(i,e,t){let n,o;const l=Tt(),r=!!l.webApi.pictureInPictureApi,s=l.interfaceLanguage$;q(i,s,f=>t(5,n=f));const a=l.ui.isMobile;q(i,a,f=>t(1,o=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&le("pip_dummy_title"))},[c,o,r,s,a,n]}class xu extends ke{constructor(e){super(),we(this,e,H4,F4,_e,{},D4)}}class ir{constructor(){this.isRequested=!1,this.videoElement=void 0,this.playerContainer=void 0,this.externalEventHandlers={},this.eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:W1(this.onResize.bind(this),tu)},this.info={isActive$:new Yl(this.isActive()),type:En.PictureInPicture}}isSupported(){const e=Kl().browser===q1.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}revealPictureInPicture(){return $i(this,void 0,void 0,function*(){this.isRequested&&(this.unregistryEventHandlers(),yield this.request(),this.registryEventHandlers())})}request(){var e;return $i(this,void 0,void 0,function*(){if(!(!this.isSupported()||this.isActive()))try{yield(e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture()}catch(t){this.isRequested=!1}})}remove(){return $i(this,void 0,void 0,function*(){!this.isSupported()||!this.isActive()||(yield document.exitPictureInPicture())})}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){var e;this.isSupported()&&(this.videoElement=(e=this.playerContainer)===null||e===void 0?void 0:e.querySelector("video"))}registryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers=Object.assign({},e)}unregistryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}dispose(){return $i(this,void 0,void 0,function*(){this.unregistryEventHandlers(),yield this.remove()})}onEnterPictureInPicture(e){var t,n;const l=e.pictureInPictureWindow;l&&(this.info.isActive$.next(!0),this.isRequested=!0,l.addEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(t,e),this.playerDummyElement=new xu({target:this.playerContainer,context:this.svelteContext}))}onLeavePictureInPicture(e){var t,n,o;const r=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,r==null||r.removeEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(t,e),(o=this.playerDummyElement)===null||o===void 0||o.$destroy()}onResize(e){var t,n;(n=(t=this.externalEventHandlers).resize)===null||n===void 0||n.call(t,e)}}function tl(i){return i instanceof ir}function U4(i){const e=Tt();return en(()=>{e.getAdmanWrapper().startPostroll()}),[]}class j4 extends ke{constructor(e){super(),we(this,e,U4,null,_e,{})}}const _n=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 W4(i){De(i,"v-17pubzn",".container.v-17pubzn{position:absolute;top:14px;left:16px;padding:4px 8px;font-size:13px;color:var(--white);background:rgba(0, 0, 0, 0.35);border-radius:4px}.container-mobile.v-17pubzn{font-size:15px;background:unset;border-radius:unset}")}function q4(i){let e,t=le("playing_ads",{timeleft:i[0]})+"",n;return{c(){e=w("div"),n=Ue(t),u(e,"class","container v-17pubzn"),E(e,"container-mobile",i[1])},m(o,l){y(o,e,l),d(e,n)},p(o,[l]){l&1&&t!==(t=le("playing_ads",{timeleft:o[0]})+"")&&$e(n,t),l&2&&E(e,"container-mobile",o[1])},i:Z,o:Z,d(o){o&&k(e)}}}function Z4(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const s=Tt().ui.isMobile;q(i,s,c=>t(1,n=c));let a;return i.$$set=c=>{"position"in c&&t(3,o=c.position),"duration"in c&&t(4,l=c.duration)},i.$$.update=()=>{i.$$.dirty&24&&t(0,a=_n(l-o))},[a,n,s,o,l]}class G4 extends ke{constructor(e){super(),we(this,e,Z4,q4,_e,{position:3,duration:4},W4)}}function Y4(i){De(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 K4(i){let e=le("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=Ue(e)},m(n,o){y(n,t,o)},p(n,o){o&3&&e!==(e=le("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&$e(t,e)},d(n){n&&k(t)}}}function X4(i){let e,t=le("skip_ads_now")+"",n,o,l,r,s,a;return{c(){e=w("div"),n=Ue(t),o=R(),l=M("svg"),r=M("path"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(l,"class","icon v-22jj8o"),u(l,"width","7"),u(l,"height","12"),u(l,"viewBox","0 0 7 12"),u(l,"fill","none"),u(l,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){y(c,e,f),d(e,n),d(e,o),d(e,l),d(l,r),s||(a=Le(e,"click",ut(function(){an(i[2])&&i[2].apply(this,arguments)})),s=!0)},p(c,f){i=c},d(c){c&&k(e),s=!1,a()}}}function Q4(i){let e;function t(l,r){return l[3]?X4:K4}let n=t(i),o=n(i);return{c(){e=w("div"),o.c(),u(e,"class","container v-22jj8o"),E(e,"container-mobile",i[4]),E(e,"skippable",i[3])},m(l,r){y(l,e,r),o.m(e,null)},p(l,[r]){n===(n=t(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(e,null))),r&16&&E(e,"container-mobile",l[4]),r&8&&E(e,"skippable",l[3])},i:Z,o:Z,d(l){l&&k(e),o.d()}}}function J4(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:l=0}=e,{skipAd:r=Xe}=e;const a=Tt().ui.isMobile;q(i,a,f=>t(4,n=f));let c;return i.$$set=f=>{"position"in f&&t(0,o=f.position),"secondsToWatchBeforeSkip"in f&&t(1,l=f.secondsToWatchBeforeSkip),"skipAd"in f&&t(2,r=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=o>0&&o>=l)},[o,l,r,c,n,a]}class x4 extends ke{constructor(e){super(),we(this,e,J4,Q4,_e,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},Y4)}}function $4(i){De(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 em(i){let e;return{c(){e=w("button"),e.textContent=`${le("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){y(t,e,n)},p:Z,i:Z,o:Z,d(t){t&&k(e)}}}class tm extends ke{constructor(e){super(),we(this,e,null,em,_e,{},$4)}}function im(i){De(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
+ var wf=Object.defineProperty,yf=Object.defineProperties;var Cf=Object.getOwnPropertyDescriptors;var Tr=Object.getOwnPropertySymbols;var Pf=Object.prototype.hasOwnProperty,Tf=Object.prototype.propertyIsEnumerable;var Cl=(i,e,t)=>e in i?wf(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,qi=(i,e)=>{for(var t in e||(e={}))Pf.call(e,t)&&Cl(i,t,e[t]);if(Tr)for(var t of Tr(e))Tf.call(e,t)&&Cl(i,t,e[t]);return i},no=(i,e)=>yf(i,Cf(e));var Pl=(i,e,t)=>(Cl(i,typeof e!="symbol"?e+"":e,t),t);var Yn=(i,e,t)=>new Promise((n,o)=>{var r=a=>{try{s(t.next(a))}catch(c){o(c)}},l=a=>{try{s(t.throw(a))}catch(c){o(c)}},s=a=>a.done?n(a.value):Promise.resolve(a.value).then(r,l);s((t=t.apply(i,e)).next())});import{VERSION as Sf,ChromecastState as In,PlaybackState as gi,VideoQuality as co,Player as Ef,VideoFormat as Lo}from"@vkontakte/videoplayer-core/es2015.esm.js";import{VideoFormat as Bb,VideoQuality as Rb}from"@vkontakte/videoplayer-core/es2015.esm.js";import{InterfaceLanguage as Do,VideoQuality as al,fillWithDefault as Af,VERSION as If,assertNonNullable as At,safeStorage as kn,isNullable as fl,Subscription as Xn,isNonNullable as bn,isMacLike as Sr,debounceFn as Lf,ValueSubject as lr,getCurrentBrowser as rr,CurrentClientBrowser as x1,noop as Ge,checkNever as Vf,timeCodeToString as Mf,Subject as dn,addScript as Bf,Logger as $1,merge as Rf,Observable as Nf,map as Of,loadVKLangPack as Df,isIOS as eu,getHighestQuality as zf,throttleFn as dl,CurrentClientDevice as Ff,getIOSVersion as Hf,detectEmbed as Uf,observeElementSize as jf,isMobile as qf,cloneDeepWith as Zf}from"@vkontakte/videoplayer-shared/es2015.esm.js";import{InterfaceLanguage as Ob,VKNumericLanguage as Db,loadVKLangPack as zb}from"@vkontakte/videoplayer-shared/es2015.esm.js";import{VERSION as Wf,SeekAction as jt,OneStat as Gf,InteractiveInterfaceClick as Vo}from"@vkontakte/videoplayer-statistics/es2015.esm.js";function Zi(i,e,t,n){function o(r){return r instanceof t?r:new t(function(l){l(r)})}return new(t||(t=Promise))(function(r,l){function s(f){try{c(n.next(f))}catch(d){l(d)}}function a(f){try{c(n.throw(f))}catch(d){l(d)}}function c(f){f.done?r(f.value):o(f.value).then(s,a)}c((n=n.apply(i,e||[])).next())})}function U(){}function tu(i,e){for(const t in e)i[t]=e[t];return i}function iu(i){return i()}function Er(){return Object.create(null)}function Qt(i){i.forEach(iu)}function mn(i){return typeof i=="function"}function be(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let xo;function Ar(i,e){return xo||(xo=document.createElement("a")),xo.href=e,i===xo.href}function Yf(i){return Object.keys(i).length===0}function xt(i,...e){if(i==null){for(const n of e)n(void 0);return U}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ut(i){let e;return xt(i,t=>e=t)(),e}function W(i,e,t){i.$$.on_destroy.push(xt(e,t))}function Fn(i,e,t,n){if(i){const o=nu(i,e,t,n);return i[0](o)}}function nu(i,e,t,n){return i[1]&&n?tu(t.ctx.slice(),i[1](n(e))):t.ctx}function Hn(i,e,t,n){if(i[2]&&n){const o=i[2](n(t));if(e.dirty===void 0)return o;if(typeof o=="object"){const r=[],l=Math.max(e.dirty.length,o.length);for(let s=0;s<l;s+=1)r[s]=e.dirty[s]|o[s];return r}return e.dirty|o}return e.dirty}function Un(i,e,t,n,o,r){if(o){const l=nu(e,t,n,r);i.p(l,o)}}function jn(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 Kf(i){return i==null?"":i}const ou=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function m(i,e){i.appendChild(e)}function je(i,e,t){const n=Xf(i);if(!n.getElementById(e)){const o=w("style");o.id=e,o.textContent=t,Qf(n,o)}}function Xf(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Qf(i,e){return m(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 _n(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function w(i){return document.createElement(i)}function M(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ue(i){return document.createTextNode(i)}function N(){return Ue(" ")}function Tt(){return Ue("")}function Pe(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 mt(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 Jf(i){return Array.from(i.childNodes)}function it(i,e){e=""+e,i.data!==e&&(i.data=e)}function Ht(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let $o;function xf(){if($o===void 0){$o=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){$o=!0}}return $o}function sr(i,e){getComputedStyle(i).position==="static"&&(i.style.position="relative");const n=w("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=xf();let r;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=Pe(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{r=Pe(n.contentWindow,"resize",e),e()}),m(i,n),()=>{(o||r&&n.contentWindow)&&r(),y(n)}}function L(i,e,t){i.classList.toggle(e,!!t)}function Ln(i,e){return new i(e)}let No;function Ro(i){No=i}function zo(){if(!No)throw new Error("Function called outside component initialization");return No}function wn(i){zo().$$.on_mount.push(i)}function vl(i){zo().$$.on_destroy.push(i)}function lu(i,e){return zo().$$.context.set(i,e),e}function ru(i){return zo().$$.context.get(i)}function su(){return zo().$$.context}function go(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const fo=[],Ve=[];let po=[];const Ql=[],$f=Promise.resolve();let Jl=!1;function e0(){Jl||(Jl=!0,$f.then(au))}function bo(i){po.push(i)}function Qe(i){Ql.push(i)}const Tl=new Set;let oo=0;function au(){if(oo!==0)return;const i=No;do{try{for(;oo<fo.length;){const e=fo[oo];oo++,Ro(e),t0(e.$$)}}catch(e){throw fo.length=0,oo=0,e}for(Ro(null),fo.length=0,oo=0;Ve.length;)Ve.pop()();for(let e=0;e<po.length;e+=1){const t=po[e];Tl.has(t)||(Tl.add(t),t())}po.length=0}while(fo.length);for(;Ql.length;)Ql.pop()();Jl=!1,Tl.clear(),Ro(i)}function t0(i){if(i.fragment!==null){i.update(),Qt(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(bo)}}function i0(i){const e=[],t=[];po.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),po=e}const ul=new Set;let Kn;function he(){Kn={r:0,c:[],p:Kn}}function pe(){Kn.r||Qt(Kn.c),Kn=Kn.p}function h(i,e){i&&i.i&&(ul.delete(i),i.i(e))}function p(i,e,t,n){if(i&&i.o){if(ul.has(i))return;ul.add(i),Kn.c.push(()=>{ul.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Yt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function n0(i,e){const t={},n={},o={$$scope:1};let r=i.length;for(;r--;){const l=i[r],s=e[r];if(s){for(const a in l)a in s||(n[a]=1);for(const a in s)o[a]||(t[a]=s[a],o[a]=1);i[r]=s}else for(const a in l)o[a]=1}for(const l in n)l in t||(t[l]=void 0);return t}function o0(i){return typeof i=="object"&&i!==null?i:{}}function Je(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function H(i){i&&i.c()}function z(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),bo(()=>{const r=i.$$.on_mount.map(iu).filter(mn);i.$$.on_destroy?i.$$.on_destroy.push(...r):Qt(r),i.$$.on_mount=[]}),o.forEach(bo)}function F(i,e){const t=i.$$;t.fragment!==null&&(i0(t.after_update),Qt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function l0(i,e){i.$$.dirty[0]===-1&&(fo.push(i),e0(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function _e(i,e,t,n,o,r,l,s=[-1]){const a=No;Ro(i);const c=i.$$={fragment:null,ctx:[],props:r,update:U,not_equal:o,bound:Er(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:Er(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};l&&l(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(d,g,...v)=>{const b=v.length?v[0]:g;return c.ctx&&o(c.ctx[d],c.ctx[d]=b)&&(!c.skip_bound&&c.bound[d]&&c.bound[d](b),f&&l0(i,d)),g}):[],c.update(),f=!0,Qt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const d=Jf(e.target);c.fragment&&c.fragment.l(d),d.forEach(y)}else c.fragment&&c.fragment.c();e.intro&&h(i.$$.fragment),z(i,e.target,e.anchor),au()}Ro(a)}class ke{constructor(){Pl(this,"$$");Pl(this,"$$set")}$destroy(){F(this,1),this.$destroy=U}$on(e,t){if(!mn(t))return U;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&&!Yf(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const r0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(r0);var _o;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(_o||(_o={}));const s0={isMobile:void 0,defaultLanguage:Do.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:_o.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:al.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}},a0=i=>Af(i,s0),u0=i=>lu("ui-config",i),tn=()=>ru("ui-config"),xl="vk_player_debug_panel_opened",uu=300,c0="videoplayer",f0="videoplayer";var We;(function(i){i.ArrowLeft="ArrowLeft",i.ArrowUp="ArrowUp",i.ArrowRight="ArrowRight",i.ArrowDown="ArrowDown",i.Comma="Comma",i.Period="Period",i.Space="Space",i.KeyM="KeyM",i.KeyF="KeyF",i.KeyK="KeyK",i.KeyL="KeyL",i.KeyJ="KeyJ",i.KeyC="KeyC",i.KeyI="KeyI",i.Digit1="Digit1",i.Digit2="Digit2",i.Digit3="Digit3",i.Digit4="Digit4",i.Digit5="Digit5",i.Digit6="Digit6",i.Digit7="Digit7",i.Digit8="Digit8",i.Digit9="Digit9",i.Digit0="Digit0",i.Numpad1="Numpad1",i.Numpad2="Numpad2",i.Numpad3="Numpad3",i.Numpad4="Numpad4",i.Numpad5="Numpad5",i.Numpad6="Numpad6",i.Numpad7="Numpad7",i.Numpad8="Numpad8",i.Numpad9="Numpad9",i.Numpad0="Numpad0",i.ShiftLeft="ShiftLeft",i.ShiftRight="ShiftRight",i.Slash="Slash"})(We||(We={}));const d0=new Set([We.ArrowLeft,We.ArrowRight,We.KeyL,We.KeyJ]);var bt;(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"})(bt||(bt={}));const Ir=40,Lr=260,m0=60,cu=[bt.TIMELINE],$l=[...cu,bt.GRAPH_BUTTON],Vr=[...cu,bt.PLAY_BUTTON],Mo=[...$l,bt.PLAY_BUTTON];var mo;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(mo||(mo={}));var Bt;(function(i){i.XS="xs",i.S="s",i.M="m",i.L="l",i.XL="xl"})(Bt||(Bt={}));const ko={[Bt.XS]:0,[Bt.S]:1,[Bt.M]:2,[Bt.L]:3,[Bt.XL]:4},lo=[];function En(i,e){return{subscribe:De(i,e).subscribe}}function De(i,e=U){let t;const n=new Set;function o(s){if(be(i,s)&&(i=s,t)){const a=!lo.length;for(const c of n)c[1](),lo.push(c,i);if(a){for(let c=0;c<lo.length;c+=2)lo[c][0](lo[c+1]);lo.length=0}}}function r(s){o(s(i))}function l(s,a=U){const c=[s,a];return n.add(c),n.size===1&&(t=e(o,r)||U),s(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:r,subscribe:l}}function ni(i,e,t){const n=!Array.isArray(i),o=n?[i]:i;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return En(t,(l,s)=>{let a=!1;const c=[];let f=0,d=U;const g=()=>{if(f)return;d();const b=e(n?c[0]:c,l,s);r?l(b):d=mn(b)?b:U},v=o.map((b,T)=>xt(b,_=>{c[T]=_,f&=~(1<<T),a&&g()},()=>{f|=1<<T}));return a=!0,g(),function(){Qt(v),d(),a=!1}})}const h0="prod",ar="1.1.32-dev.a44460f3.0",fu=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},du=Symbol("storeContext"),p0=i=>{lu(du,i)},Rt=()=>{const i=ru(du);return At(i,"Store context is empty!"),i},Et=(i,e)=>mu(i,i.getValue(),e),mu=(i,e,t)=>En(e,n=>{const o=i.subscribe(r=>{n(r),t==null||t(r)});return()=>o.unsubscribe()}),v0=(i,e,t)=>{var n,o,r,l;const s=i.info,{width:a,height:c}=ut(t.ui.playerSize),f=(o=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&o!==void 0?o:0,d=(l=(r=s.rttEstimation$.getValue())===null||r===void 0?void 0:r.toFixed(0))!==null&&l!==void 0?l:0,g=s.isAutoQualityEnabled$.getValue()?"auto":"manual",v=`${ar} (core: ${Sf}, stat: ${Wf}, shared: ${If})`,b=ut(t.state.errorLog$),T=b.length?`
7
+ `+b.map((E,V)=>{var B;const oe=`${V}) Type: ${E.id}
8
+ `,O=`Message: ${E.message} (${E.thrown})
9
+ `,q=`Trace: ${(B=E.thrown)===null||B===void 0?void 0:B.stack}
10
+ `;return oe+O+q}).join(`
11
+ `):void 0,_=t.state.isAudioDisabled?"disabled":ut(t.state.isAudioAvailable$)?void 0:"unavailable",A={Version:v,Browser:navigator.userAgent,Config:i.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(t.videoId),"Content host":s.hostname$.getValue(),"Connection type":s.httpConnectionType$.getValue()+(s.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${d}ms RTT`,Format:s.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${g} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Audio:_,Position:`${ut(t.state.positionExact$)}s`,State:`${ut(t.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:T};return Object.entries(A).filter(([E,V])=>V!==void 0).map(([E,V])=>`${E}: ${V}`).join(`
12
+ `)},g0=(i,e,t)=>{const n=i.info,{width:o,height:r}=ut(t.ui.playerSize),l={version:ar,viewport:`${o}x${r}`,volume:Math.round(ut(t.state.volume$)*100)};l.id=t.videoId,n.currentFormat$.getValue()&&(l.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(l.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(l.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(l.buffer=Math.max(f.end-ut(t.state.positionExact$),0));const d=n.throughputEstimation$.getValue();d&&(l.speed=d);const g=n.videoBitrate$.getValue();return g&&(l.bitrate=g),l},b0=(i,e)=>fu(i,e,"mp4"),hu="vk_player_prefer_traffic_saving_enabled",pu="vk_player_preferred_volume",vu="vk_player_prefer_volume_mute",ur="vk_player_preferred_quality",gu=i=>i>1?1:i<0?0:i,Mr=i=>kn.set(pu,gu(i).toString(10)),bu=()=>{const i=kn.get(pu);return fl(i)?void 0:gu(parseFloat(i))},_0=(i,e)=>kn.set(ur,JSON.stringify({videoId:i,value:e})),_u=()=>kn.remove(ur),k0=i=>{const e=kn.get(ur);if(fl(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){_u();return}return n},ku=(i,e)=>{e?kn.set(i,"true"):kn.remove(i)},wu=i=>kn.get(i)==="true",Sl=i=>ku(vu,i),w0=()=>wu(vu),y0=i=>ku(hu,i),C0=()=>wu(hu);function P0(i){let e,t,n,o,r,l,s,a,c,f,d,g,v,b,T,_,A,E;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),r=M("path"),l=M("path"),s=M("path"),a=M("defs"),c=M("filter"),f=M("feFlood"),d=M("feColorMatrix"),g=M("feOffset"),v=M("feGaussianBlur"),b=M("feColorMatrix"),T=M("feBlend"),_=M("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(o,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(o,"fill","#fff"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(r,"fill","#fff"),u(l,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(l,"fill","#fff"),u(s,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(s,"stroke-linecap","round"),u(s,"stroke-linejoin","round"),u(t,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(d,"in","SourceAlpha"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(d,"result","hardAlpha"),u(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(T,"in2","BackgroundImageFix"),u(T,"result","effect1_dropShadow_618_12297"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_618_12297"),u(_,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",A=!i[0]||null),u(e,"aria-label",E=i[0]||null)},m(V,B){C(V,e,B),m(e,t),m(t,n),m(t,o),m(t,r),m(t,l),m(t,s),m(e,a),m(a,c),m(c,f),m(c,d),m(c,g),m(c,v),m(c,b),m(c,T),m(c,_)},p(V,[B]){B&1&&A!==(A=!V[0]||null)&&u(e,"aria-hidden",A),B&1&&E!==(E=V[0]||null)&&u(e,"aria-label",E)},i:U,o:U,d(V){V&&y(e)}}}function T0(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class yu extends ke{constructor(e){super(),_e(this,e,T0,P0,be,{ariaLabel:0})}}var El=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function S0(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var el=function(i){return i&&i.Math==Math&&i},qn=el(typeof globalThis=="object"&&globalThis)||el(typeof window=="object"&&window)||el(typeof self=="object"&&self)||el(typeof El=="object"&&El)||function(){return this}()||El||Function("return this")(),Jn=function(i){try{return!!i()}catch(e){return!0}},E0=Jn,gl=!E0(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")}),A0=gl,Cu=Function.prototype,Br=Cu.apply,Rr=Cu.call,I0=typeof Reflect=="object"&&Reflect.apply||(A0?Rr.bind(Br):function(){return Rr.apply(Br,arguments)}),Pu=gl,Tu=Function.prototype,er=Tu.call,L0=Pu&&Tu.bind.bind(er,er),Zn=Pu?L0:function(i){return function(){return er.apply(i,arguments)}},Su=Zn,V0=Su({}.toString),M0=Su("".slice),bl=function(i){return M0(V0(i),8,-1)},B0=bl,R0=Zn,Eu=function(i){if(B0(i)==="Function")return R0(i)},tr=typeof document=="object"&&document.all,N0=typeof tr=="undefined"&&tr!==void 0,Au={all:tr,IS_HTMLDDA:N0},Iu=Au,O0=Iu.all,Nn=Iu.IS_HTMLDDA?function(i){return typeof i=="function"||i===O0}:function(i){return typeof i=="function"},Lu={},D0=Jn,Fo=!D0(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),z0=gl,tl=Function.prototype.call,Ho=z0?tl.bind(tl):function(){return tl.apply(tl,arguments)},Vu={},Mu={}.propertyIsEnumerable,Bu=Object.getOwnPropertyDescriptor,F0=Bu&&!Mu.call({1:2},1);Vu.f=F0?function(e){var t=Bu(this,e);return!!t&&t.enumerable}:Mu;var Ru=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}},H0=Zn,U0=Jn,j0=bl,Al=Object,q0=H0("".split),Z0=U0(function(){return!Al("z").propertyIsEnumerable(0)})?function(i){return j0(i)=="String"?q0(i,""):Al(i)}:Al,cr=function(i){return i==null},W0=cr,G0=TypeError,fr=function(i){if(W0(i))throw G0("Can't call method on "+i);return i},Y0=Z0,K0=fr,X0=function(i){return Y0(K0(i))},Nr=Nn,Nu=Au,Q0=Nu.all,Uo=Nu.IS_HTMLDDA?function(i){return typeof i=="object"?i!==null:Nr(i)||i===Q0}:function(i){return typeof i=="object"?i!==null:Nr(i)},Ou={},Il=Ou,Ll=qn,J0=Nn,Or=function(i){return J0(i)?i:void 0},Du=function(i,e){return arguments.length<2?Or(Il[i])||Or(Ll[i]):Il[i]&&Il[i][e]||Ll[i]&&Ll[i][e]},x0=Zn,zu=x0({}.isPrototypeOf),$0=typeof navigator!="undefined"&&String(navigator.userAgent)||"",Fu=qn,Vl=$0,Dr=Fu.process,zr=Fu.Deno,Fr=Dr&&Dr.versions||zr&&zr.version,Hr=Fr&&Fr.v8,gn,ml;Hr&&(gn=Hr.split("."),ml=gn[0]>0&&gn[0]<4?1:+(gn[0]+gn[1]));!ml&&Vl&&(gn=Vl.match(/Edge\/(\d+)/),(!gn||gn[1]>=74)&&(gn=Vl.match(/Chrome\/(\d+)/),gn&&(ml=+gn[1])));var ed=ml,Ur=ed,td=Jn,id=qn,nd=id.String,Hu=!!Object.getOwnPropertySymbols&&!td(function(){var i=Symbol();return!nd(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&Ur&&Ur<41}),od=Hu,Uu=od&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ld=Du,rd=Nn,sd=zu,ad=Uu,ud=Object,ju=ad?function(i){return typeof i=="symbol"}:function(i){var e=ld("Symbol");return rd(e)&&sd(e.prototype,ud(i))},cd=String,fd=function(i){try{return cd(i)}catch(e){return"Object"}},dd=Nn,md=fd,hd=TypeError,qu=function(i){if(dd(i))return i;throw hd(md(i)+" is not a function")},pd=qu,vd=cr,Zu=function(i,e){var t=i[e];return vd(t)?void 0:pd(t)},Ml=Ho,Bl=Nn,Rl=Uo,gd=TypeError,bd=function(i,e){var t,n;if(e==="string"&&Bl(t=i.toString)&&!Rl(n=Ml(t,i))||Bl(t=i.valueOf)&&!Rl(n=Ml(t,i))||e!=="string"&&Bl(t=i.toString)&&!Rl(n=Ml(t,i)))return n;throw gd("Can't convert object to primitive value")},Wu={exports:{}},jr=qn,_d=Object.defineProperty,kd=function(i,e){try{_d(jr,i,{value:e,configurable:!0,writable:!0})}catch(t){jr[i]=e}return e},wd=qn,yd=kd,qr="__core-js_shared__",Cd=wd[qr]||yd(qr,{}),Pd=Cd,Zr=Pd;(Wu.exports=function(i,e){return Zr[i]||(Zr[i]=e!==void 0?e:{})})("versions",[]).push({version:"3.31.0",mode:"pure",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Td=Wu.exports,Sd=fr,Ed=Object,Gu=function(i){return Ed(Sd(i))},Ad=Zn,Id=Gu,Ld=Ad({}.hasOwnProperty),_l=Object.hasOwn||function(e,t){return Ld(Id(e),t)},Vd=Zn,Md=0,Bd=Math.random(),Rd=Vd(1 .toString),Nd=function(i){return"Symbol("+(i===void 0?"":i)+")_"+Rd(++Md+Bd,36)},Od=qn,Dd=Td,Wr=_l,zd=Nd,Fd=Hu,Hd=Uu,ho=Od.Symbol,Nl=Dd("wks"),Ud=Hd?ho.for||ho:ho&&ho.withoutSetter||zd,jo=function(i){return Wr(Nl,i)||(Nl[i]=Fd&&Wr(ho,i)?ho[i]:Ud("Symbol."+i)),Nl[i]},jd=Ho,Gr=Uo,Yr=ju,qd=Zu,Zd=bd,Wd=jo,Gd=TypeError,Yd=Wd("toPrimitive"),Kd=function(i,e){if(!Gr(i)||Yr(i))return i;var t=qd(i,Yd),n;if(t){if(e===void 0&&(e="default"),n=jd(t,i,e),!Gr(n)||Yr(n))return n;throw Gd("Can't convert object to primitive value")}return e===void 0&&(e="number"),Zd(i,e)},Xd=Kd,Qd=ju,Yu=function(i){var e=Xd(i,"string");return Qd(e)?e:e+""},Jd=qn,Kr=Uo,ir=Jd.document,xd=Kr(ir)&&Kr(ir.createElement),$d=function(i){return xd?ir.createElement(i):{}},e2=Fo,t2=Jn,i2=$d,Ku=!e2&&!t2(function(){return Object.defineProperty(i2("div"),"a",{get:function(){return 7}}).a!=7}),n2=Fo,o2=Ho,l2=Vu,r2=Ru,s2=X0,a2=Yu,u2=_l,c2=Ku,Xr=Object.getOwnPropertyDescriptor;Lu.f=n2?Xr:function(e,t){if(e=s2(e),t=a2(t),c2)try{return Xr(e,t)}catch(n){}if(u2(e,t))return r2(!o2(l2.f,e,t),e[t])};var f2=Jn,d2=Nn,m2=/#|\.prototype\./,qo=function(i,e){var t=p2[h2(i)];return t==g2?!0:t==v2?!1:d2(e)?f2(e):!!e},h2=qo.normalize=function(i){return String(i).replace(m2,".").toLowerCase()},p2=qo.data={},v2=qo.NATIVE="N",g2=qo.POLYFILL="P",b2=qo,Qr=Eu,_2=qu,k2=gl,w2=Qr(Qr.bind),y2=function(i,e){return _2(i),e===void 0?i:k2?w2(i,e):function(){return i.apply(e,arguments)}},Xu={},C2=Fo,P2=Jn,T2=C2&&P2(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),S2=Uo,E2=String,A2=TypeError,Qu=function(i){if(S2(i))return i;throw A2(E2(i)+" is not an object")},I2=Fo,L2=Ku,V2=T2,il=Qu,Jr=Yu,M2=TypeError,Ol=Object.defineProperty,B2=Object.getOwnPropertyDescriptor,Dl="enumerable",zl="configurable",Fl="writable";Xu.f=I2?V2?function(e,t,n){if(il(e),t=Jr(t),il(n),typeof e=="function"&&t==="prototype"&&"value"in n&&Fl in n&&!n[Fl]){var o=B2(e,t);o&&o[Fl]&&(e[t]=n.value,n={configurable:zl in n?n[zl]:o[zl],enumerable:Dl in n?n[Dl]:o[Dl],writable:!1})}return Ol(e,t,n)}:Ol:function(e,t,n){if(il(e),t=Jr(t),il(n),L2)try{return Ol(e,t,n)}catch(o){}if("get"in n||"set"in n)throw M2("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var R2=Fo,N2=Xu,O2=Ru,D2=R2?function(i,e,t){return N2.f(i,e,O2(1,t))}:function(i,e,t){return i[e]=t,i},nl=qn,z2=I0,F2=Eu,H2=Nn,U2=Lu.f,j2=b2,ro=Ou,q2=y2,so=D2,xr=_l,Z2=function(i){var e=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new i;case 1:return new i(t);case 2:return new i(t,n)}return new i(t,n,o)}return z2(i,this,arguments)};return e.prototype=i.prototype,e},W2=function(i,e){var t=i.target,n=i.global,o=i.stat,r=i.proto,l=n?nl:o?nl[t]:(nl[t]||{}).prototype,s=n?ro:ro[t]||so(ro,t,{})[t],a=s.prototype,c,f,d,g,v,b,T,_,A;for(g in e)c=j2(n?g:t+(o?".":"#")+g,i.forced),f=!c&&l&&xr(l,g),b=s[g],f&&(i.dontCallGetSet?(A=U2(l,g),T=A&&A.value):T=l[g]),v=f&&T?T:e[g],!(f&&typeof b==typeof v)&&(i.bind&&f?_=q2(v,nl):i.wrap&&f?_=Z2(v):r&&H2(v)?_=F2(v):_=v,(i.sham||v&&v.sham||b&&b.sham)&&so(_,"sham",!0),so(s,g,_),r&&(d=t+"Prototype",xr(ro,d)||so(ro,d,{}),so(ro[d],g,v),i.real&&a&&(c||!a[g])&&so(a,g,v)))},G2=Uo,Y2=bl,K2=jo,X2=K2("match"),Q2=function(i){var e;return G2(i)&&((e=i[X2])!==void 0?!!e:Y2(i)=="RegExp")},J2=jo,x2=J2("toStringTag"),Ju={};Ju[x2]="z";var $2=String(Ju)==="[object z]",e4=$2,t4=Nn,cl=bl,i4=jo,n4=i4("toStringTag"),o4=Object,l4=cl(function(){return arguments}())=="Arguments",r4=function(i,e){try{return i[e]}catch(t){}},s4=e4?cl:function(i){var e,t,n;return i===void 0?"Undefined":i===null?"Null":typeof(t=r4(e=o4(i),n4))=="string"?t:l4?cl(e):(n=cl(e))=="Object"&&t4(e.callee)?"Arguments":n},a4=s4,u4=String,c4=function(i){if(a4(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return u4(i)},f4=Qu,d4=function(){var i=f4(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e},m4=Ho,h4=_l,p4=zu,v4=d4,$r=RegExp.prototype,g4=function(i){var e=i.flags;return e===void 0&&!("flags"in $r)&&!h4(i,"flags")&&p4($r,i)?m4(v4,i):e},dr=Zn,b4=Gu,_4=Math.floor,Hl=dr("".charAt),k4=dr("".replace),Ul=dr("".slice),w4=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,y4=/\$([$&'`]|\d{1,2})/g,C4=function(i,e,t,n,o,r){var l=t+i.length,s=n.length,a=y4;return o!==void 0&&(o=b4(o),a=w4),k4(r,a,function(c,f){var d;switch(Hl(f,0)){case"$":return"$";case"&":return i;case"`":return Ul(e,0,t);case"'":return Ul(e,l);case"<":d=o[Ul(f,1,-1)];break;default:var g=+f;if(g===0)return c;if(g>s){var v=_4(g/10);return v===0?c:v<=s?n[v-1]===void 0?Hl(f,1):n[v-1]+Hl(f,1):c}d=n[g-1]}return d===void 0?"":d})},P4=W2,T4=Ho,mr=Zn,es=fr,S4=Nn,E4=cr,A4=Q2,ao=c4,I4=Zu,L4=g4,V4=C4,M4=jo,B4=M4("replace"),R4=TypeError,xu=mr("".indexOf),N4=mr("".replace),ts=mr("".slice),O4=Math.max,is=function(i,e,t){return t>i.length?-1:e===""?t:xu(i,e,t)};P4({target:"String",proto:!0},{replaceAll:function(e,t){var n=es(this),o,r,l,s,a,c,f,d,g,v=0,b=0,T="";if(!E4(e)){if(o=A4(e),o&&(r=ao(es(L4(e))),!~xu(r,"g")))throw R4("`.replaceAll` does not allow non-global regexes");if(l=I4(e,B4),l)return T4(l,e,n,t);if(o)return N4(ao(n),e,t)}for(s=ao(n),a=ao(e),c=S4(t),c||(t=ao(t)),f=a.length,d=O4(1,f),v=is(s,a,0);v!==-1;)g=c?ao(t(a,v,s)):V4(a,s,v,[],void 0,t),T+=ts(s,b,v)+g,b=v+f,v=is(s,a,v+d);return b<s.length&&(T+=ts(s,b)),T}});var D4=Du,z4=D4,F4=z4,H4=F4("String","replaceAll"),U4=H4,j4=U4,q4=j4,Z4=q4,W4=S0(Z4);const G4={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"},Y4={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"},Bn=new Map;Bn.set(Do.EN,Y4);Bn.set(Do.RU,G4);const $u=new Map,ns=({language:i,pack:e,fallback:t})=>{if(Bn.has(i)){const n=Bn.get(i);Bn.set(i,Object.assign(Object.assign({},n),e))}else Bn.set(i,e);$u.set(i,t)},os=i=>Bn.has(i),ec=(i,e,t,n)=>{var o;const r=Bn.get(i);let l=r==null?void 0:r[e];if(fl(l)){const s=(o=$u.get(i))!==null&&o!==void 0?o:n,a=s?Bn.get(s):void 0;l=a==null?void 0:a[e]}return fl(l)?e+Object.values(t!=null?t:{}).join(" "):t?W4(l,/{(\w+?)}/g,(s,a)=>{var c;return(c=t[a])!==null&&c!==void 0?c:""}):l},le=(i,e)=>{const{interfaceLanguage$:t}=Rt(),n=ut(t),o=tn();return ec(n,i,e,o.defaultLanguage)};var hl;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(hl||(hl={}));const K4=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,X4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,Q4=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ol="?",J4="X-Sentry-Auth",x4=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function $4(i){if(!i.stack)return null;const e=[],t=i.stack.split(`
13
+ `);let n,o;for(let r=0;r<t.length;++r){if(n=K4.exec(t[r]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||ol,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=Q4.exec(t[r]))o={filename:n[2],function:n[1]||ol,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=X4.exec(t[r]))r===0&&!n[5]&&i.columnNumber!==void 0&&(e[0].column=i.columnNumber+1),o={filename:n[3],function:n[1]||ol,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=ol),e.push(o)}return e.length?{value:tc(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function tc(i){return(i&&i.message||"No error message").split(`
14
+ `).filter(t=>!!t)[0]}function em(i){try{const e=$4(i);if(e)return e}catch(e){}return{value:tc(i),type:i&&i.name,stacktrace:{frames:[]}}}function tm(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class im{constructor(e){if(e&&e.dsn){const t=x4.exec(e.dsn),n=t?t.slice(1):[],o=n[5].split("/"),r=o.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(r?"/"+r:"")+"/api/"+o.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return no(qi({},this.getRequestBlank()),{exception:{values:[em(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(J4,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:tm(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function ls(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function nm(){return window}class hr extends im{constructor(e,t=nm()){super(e),this.options=e,this.window=t,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:o=c=>c,beforeBreadcrumb:r=c=>c,blacklistUrls:l=[],ignoreErrors:s=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=r,this.blacklistUrls=l,this.ignoreErrors=s,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",qi({},e)),this}setTag(e,t){return this.extendState({tags:{[e]:t}}),this}setExtra(e,t){return this.extendState({extra:{[e]:t}}),this}setExtras(e){return this.setKeyState("extra",qi({},e)),this}setUser(e){return this.setKeyState("user",qi({},e)),this}clone(){const e=new hr(no(qi({},this.options),{plugins:[]}));return e.extendState(this.state),e}withScope(e){const t=this.clone();e(t),t.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[qi({timestamp:Date.now()/1e3},this.beforeBreadcrumb(e))]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send(no(qi({},this.getRequestBlank()),{message:e,level:t}))}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(t=>this.ignoreErrors.some(n=>ls(t,n))):!1}getRequestBlank(){return qi(no(qi({request:{url:this.window.location.toString(),headers:{"User-Agent":this.window.navigator.userAgent}}},super.getRequestBlank()),{sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"}}),this.state)}send(e){this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e)||(super.send(this.beforeSend(qi({release:this.release},e))),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch(t){return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const t=this.getEventFilterUrl(e);return t?this.blacklistUrls.some(n=>ls(t,n)):!1}getEventFilterUrl(e){try{if(e.exception){const t=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return t&&t[t.length-1].filename||null}return null}catch(t){return null}}extendState(e){this._state=Object.keys(e).reduce((t,n)=>{const o=this._state[n],r=Array.isArray(o)?o:null,l=e[n],s=Array.isArray(l)?l:null;return no(qi({},t),{[n]:r||s?[...r||[],...s||[]]:qi(qi({},typeof o!="string"?o:{}),typeof l!="string"?l:{})})},this._state)}setKeyState(e,t){this._state[e]=t}}let ll=null;class nr{constructor(e,t,n={}){!ll&&e.dsn&&(this.sentryClient=new hr({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new Xn,this.options=e,this.context=n,ll=this)}destroy(){var e,t;(e=this.sentryClient)===null||e===void 0||e.destroy(),(t=this.sentrySubscription)===null||t===void 0||t.unsubscribe(),ll=null}logIError(e,t=!1){e.thrown&&this.report(e.thrown,{fatal:t,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,t={},n={}){const{sentryClient:o,context:r,options:l}=this,{sampleRate:s=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:d}=l,{errorType:g,category:v}=t;if(bn(v)&&d.includes(v)||bn(g)&&f.includes(g))return;if(Math.random()<=s||bn(v)&&c.includes(v)||bn(g)&&a.includes(g)){Object.keys(t).length&&o.setTags(Object.assign({version:this.version},t)),(Object.keys(r).length||Object.keys(n).length)&&o.setExtras(Object.assign(Object.assign({},r),n));try{g&&o.captureMessage(g,t.fatal?hl.fatal:hl.error),o.report(e)}catch(T){console.error(T)}}}static getInstance(){return ll}}var vo;(function(i){i.AUTO="auto"})(vo||(vo={}));var Ne;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(Ne||(Ne={}));var Mn;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(Mn||(Mn={}));var Kt;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(Kt||(Kt={}));var Rn;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(Rn||(Rn={}));var tt;(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"})(tt||(tt={}));var Qn;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(Qn||(Qn={}));const ic=i=>{if(i.requestFullscreen)return i.requestFullscreen();if(i.msRequestFullscreen)return i.msRequestFullscreen();if(i.webkitRequestFullscreen)return i.webkitRequestFullscreen();if(i.mozRequestFullScreen)return i.mozRequestFullScreen();const e=i.querySelector("video");return e!=null&&e.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},nc=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),om=i=>{const e=i;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},Oo=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},oc=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},lc=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},lm=i=>{const e=window.screen;return(o=>Zi(void 0,void 0,void 0,function*(){return e.orientation?e.orientation.lock(o):e.mozLockOrientation?e.mozLockOrientation(o):e.msLockOrientation?e.msLockOrientation(o):Promise.reject()}))(((o={width:0,height:0})=>o.width<=o.height?"portrait":"landscape")(i))},rm=()=>({title:le("hotkey_map_modal_title"),closeBtnText:le("hotkey_map_modal_close_btn_text"),groups:[{title:le("hotkey_map_group_title_common"),items:[{description:le("hotkey_map_item_mute_description"),value:le("hotkey_map_item_mute_value")},{description:le("hotkey_map_item_volume_up_description"),value:le("hotkey_map_item_volume_up_value")},{description:le("hotkey_map_item_volume_down_description"),value:le("hotkey_map_item_volume_down_value")},{description:le("hotkey_map_item_pip_description"),value:le("hotkey_map_item_pip_value")},{description:le("hotkey_map_item_full_screen_description"),value:le("hotkey_map_item_full_screen_value")},{description:le("hotkey_map_item_show_hotkey_map_description"),value:le("hotkey_map_item_show_hotkey_map_value")}]},{title:le("hotkey_map_group_title_playback"),items:[{description:le("hotkey_map_item_play_toggle_description"),value:le("hotkey_map_item_play_toggle_value")},{description:le("hotkey_map_item_seek_backward_description"),value:le("hotkey_map_item_seek_backward_value")},{description:le("hotkey_map_item_seek_forward_description"),value:le("hotkey_map_item_seek_forward_value")},{description:le("hotkey_map_item_fast_seek_backward_description"),value:le("hotkey_map_item_fast_seek_backward_value")},{description:le("hotkey_map_item_fast_seek_forward_description"),value:le("hotkey_map_item_fast_seek_forward_value")},{description:le("hotkey_map_item_rate_down_description"),value:le("hotkey_map_item_rate_down_value")},{description:le("hotkey_map_item_rate_up_description"),value:le("hotkey_map_item_rate_up_value")},{description:le("hotkey_map_item_prev_frame_description"),value:le("hotkey_map_item_prev_frame_value")},{description:le("hotkey_map_item_next_frame_description"),value:le("hotkey_map_item_next_frame_value")},{description:le("hotkey_map_item_jump_seek_description"),value:le("hotkey_map_item_jump_seek_value")}]},{title:le("hotkey_map_group_title_subtitles"),items:[{description:le("hotkey_map_item_subtitles_toggle_description"),value:le("hotkey_map_item_subtitles_toggle_value")}]},{title:le("hotkey_map_group_title_episodes"),items:[{description:le("hotkey_map_item_prev_episode_description"),value:Sr()?le("hotkey_map_item_prev_episode_mac_value"):le("hotkey_map_item_prev_episode_pc_value")},{description:le("hotkey_map_item_next_episode_description"),value:Sr()?le("hotkey_map_item_next_episode_mac_value"):le("hotkey_map_item_next_episode_pc_value")}]}]});class pr{constructor(){this.isRequested=!1,this.videoElement=void 0,this.playerContainer=void 0,this.externalEventHandlers={},this.eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:Lf(this.onResize.bind(this),uu)},this.info={isActive$:new lr(this.isActive()),type:Rn.PictureInPicture}}isSupported(){const e=rr().browser===x1.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}revealPictureInPicture(){return Zi(this,void 0,void 0,function*(){this.isRequested&&(this.unregistryEventHandlers(),yield this.request(),this.registryEventHandlers())})}request(){var e;return Zi(this,void 0,void 0,function*(){if(!(!this.isSupported()||this.isActive()))try{yield(e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture()}catch(t){this.isRequested=!1}})}remove(){return Zi(this,void 0,void 0,function*(){!this.isSupported()||!this.isActive()||(yield document.exitPictureInPicture())})}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){var e;this.isSupported()&&(this.videoElement=(e=this.playerContainer)===null||e===void 0?void 0:e.querySelector("video"))}registryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers=Object.assign({},e)}unregistryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}dispose(){return Zi(this,void 0,void 0,function*(){this.unregistryEventHandlers(),yield this.remove()})}onEnterPictureInPicture(e){var t,n;const r=e.pictureInPictureWindow;r&&(this.info.isActive$.next(!0),this.isRequested=!0,r.addEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(t,e))}onLeavePictureInPicture(e){var t,n,o;const l=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,l==null||l.removeEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(t,e),(o=this.playerDummyElement)===null||o===void 0||o.$destroy()}onResize(e){var t,n;(n=(t=this.externalEventHandlers).resize)===null||n===void 0||n.call(t,e)}}function pl(i){return i instanceof pr}function sm(i){const e=Rt();return wn(()=>{e.getAdmanWrapper().startPostroll()}),[]}class am extends ke{constructor(e){super(),_e(this,e,sm,null,be,{})}}const An=i=>{if(!isFinite(i))return"00:00";let e=Math.round(i);const t=Math.floor(e/(60*60));e-=t*(60*60);const n=Math.floor(e/60);return e-=n*60,(t>0?[t,n,e]:[n,e]).map(r=>r>9?String(r):`0${r}`).join(":")};function um(i){je(i,"v-17pubzn",".container.v-17pubzn{position:absolute;top:14px;left:16px;padding:4px 8px;font-size:13px;color:var(--white);background:rgba(0, 0, 0, 0.35);border-radius:4px}.container-mobile.v-17pubzn{font-size:15px;background:unset;border-radius:unset}")}function cm(i){let e,t=le("playing_ads",{timeleft:i[0]})+"",n;return{c(){e=w("div"),n=Ue(t),u(e,"class","container v-17pubzn"),L(e,"container-mobile",i[1])},m(o,r){C(o,e,r),m(e,n)},p(o,[r]){r&1&&t!==(t=le("playing_ads",{timeleft:o[0]})+"")&&it(n,t),r&2&&L(e,"container-mobile",o[1])},i:U,o:U,d(o){o&&y(e)}}}function fm(i,e,t){let n,{position:o=0}=e,{duration:r=0}=e;const s=Rt().ui.isMobile;W(i,s,c=>t(1,n=c));let a;return i.$$set=c=>{"position"in c&&t(3,o=c.position),"duration"in c&&t(4,r=c.duration)},i.$$.update=()=>{i.$$.dirty&24&&t(0,a=An(r-o))},[a,n,s,o,r]}class dm extends ke{constructor(e){super(),_e(this,e,fm,cm,be,{position:3,duration:4},um)}}function mm(i){je(i,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function hm(i){let e=le("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=Ue(e)},m(n,o){C(n,t,o)},p(n,o){o&3&&e!==(e=le("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&it(t,e)},d(n){n&&y(t)}}}function pm(i){let e,t=le("skip_ads_now")+"",n,o,r,l,s,a;return{c(){e=w("div"),n=Ue(t),o=N(),r=M("svg"),l=M("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(r,"class","icon v-22jj8o"),u(r,"width","7"),u(r,"height","12"),u(r,"viewBox","0 0 7 12"),u(r,"fill","none"),u(r,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){C(c,e,f),m(e,n),m(e,o),m(e,r),m(r,l),s||(a=Pe(e,"click",mt(function(){mn(i[2])&&i[2].apply(this,arguments)})),s=!0)},p(c,f){i=c},d(c){c&&y(e),s=!1,a()}}}function vm(i){let e;function t(r,l){return r[3]?pm:hm}let n=t(i),o=n(i);return{c(){e=w("div"),o.c(),u(e,"class","container v-22jj8o"),L(e,"container-mobile",i[4]),L(e,"skippable",i[3])},m(r,l){C(r,e,l),o.m(e,null)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e,null))),l&16&&L(e,"container-mobile",r[4]),l&8&&L(e,"skippable",r[3])},i:U,o:U,d(r){r&&y(e),o.d()}}}function gm(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:r=0}=e,{skipAd:l=Ge}=e;const a=Rt().ui.isMobile;W(i,a,f=>t(4,n=f));let c;return i.$$set=f=>{"position"in f&&t(0,o=f.position),"secondsToWatchBeforeSkip"in f&&t(1,r=f.secondsToWatchBeforeSkip),"skipAd"in f&&t(2,l=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=o>0&&o>=r)},[o,r,l,c,n,a]}class bm extends ke{constructor(e){super(),_e(this,e,gm,vm,be,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},mm)}}function _m(i){je(i,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function km(i){let e;return{c(){e=w("button"),e.textContent=`${le("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){C(t,e,n)},p:U,i:U,o:U,d(t){t&&y(e)}}}class wm extends ke{constructor(e){super(),_e(this,e,null,km,be,{},_m)}}function ym(i){je(i,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
15
15
  360deg,
16
16
  rgba(0, 0, 0, 0) 0%,
17
17
  rgba(0, 0, 0, 0.05) 12%,
@@ -21,15 +21,15 @@ var Qc=Object.defineProperty,Jc=Object.defineProperties;var xc=Object.getOwnProp
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 Kr(i){let e;return{c(){e=w("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function Xr(i){let e,t;return e=new G4({props:{position:i[6],duration:i[7]}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&64&&(l.position=n[6]),o&128&&(l.duration=n[7]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Qr(i){let e,t;return e=new x4({props:{position:i[6],secondsToWatchBeforeSkip:i[8],skipAd:i[10].actions.internal.skipAd}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&64&&(l.position=n[6]),o&256&&(l.secondsToWatchBeforeSkip=n[8]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Jr(i){let e,t;return e=new j4({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function xr(i){let e,t;return e=new tm({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function nm(i){let e,t,n,o,l,r,s,a,c=i[0]&&Kr(),f=i[3]&&Xr(i),h=i[4]&&Qr(i),g=i[9]&&Jr(),v=i[5]&&xr();return{c(){e=w("div"),c&&c.c(),t=R(),n=w("video"),o=R(),f&&f.c(),l=R(),h&&h.c(),r=R(),g&&g.c(),s=R(),v&&v.c(),Ht(n,"width","100%"),Ht(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(b,A){y(b,e,A),c&&c.m(e,null),d(e,t),d(e,n),i[22](n),d(e,o),f&&f.m(e,null),d(e,l),h&&h.m(e,null),d(e,r),g&&g.m(e,null),d(e,s),v&&v.m(e,null),i[23](e),a=!0},p(b,[A]){b[0]?c||(c=Kr(),c.c(),c.m(e,t)):c&&(c.d(1),c=null),b[3]?f?(f.p(b,A),A&8&&m(f,1)):(f=Xr(b),f.c(),m(f,1),f.m(e,l)):f&&(he(),p(f,1,1,()=>{f=null}),ve()),b[4]?h?(h.p(b,A),A&16&&m(h,1)):(h=Qr(b),h.c(),m(h,1),h.m(e,r)):h&&(he(),p(h,1,1,()=>{h=null}),ve()),b[9]?g?A&512&&m(g,1):(g=Jr(),g.c(),m(g,1),g.m(e,s)):g&&(he(),p(g,1,1,()=>{g=null}),ve()),b[5]?v?A&32&&m(v,1):(v=xr(),v.c(),m(v,1),v.m(e,null)):v&&(he(),p(v,1,1,()=>{v=null}),ve())},i(b){a||(m(f),m(h),m(g),m(v),a=!0)},o(b){p(f),p(h),p(g),p(v),a=!1},d(b){b&&k(e),c&&c.d(),i[22](null),f&&f.d(),h&&h.d(),g&&g.d(),v&&v.d(),i[23](null)}}}function om(i,e,t){let n,o,l,r,s,a,{adsSlotId:c=void 0}=e,{adsParams:f=void 0}=e,{adsPreviewParam:h=void 0}=e,{duration:g=0}=e;const v=Tt(),b=v.state.isEnded$;q(i,b,J=>t(9,a=J));const A=v.ui.isMobile;q(i,A,J=>t(0,o=J));let P,T,S=!1;const I=v.ads.playbackState;q(i,I,J=>t(21,n=J));const z=v.ads.canSkip,X=v.ads.duration;q(i,X,J=>t(7,r=J));const $=v.ads.position;q(i,$,J=>t(6,l=J));const H=v.ads.secondsToWatchBeforeSkip;q(i,H,J=>t(8,s=J));let B,ne,re;en(()=>{const J=new AbortController;let U=()=>{J.abort()};const _=v.getAdmanWrapper();if(!c){_.onAdmanLoadingError();return}const{width:Y,height:ae}=lt(v.ui.playerSize),be=lt(v.ui.isFullscreen),me=lt(v.ui.isAutoplay),se={width:Y,height:ae,isFullscreen:be,isAutoplay:me,adsContainer:P,adsVideoElement:T,slotId:c,params:f,previewParam:h,duration:g};return window.AdmanHTML?(_.initAdman(se),S=!0):_.loadAdman(J.signal).then(()=>{_.initAdman(se),S=!0}).catch(()=>{_.onAdmanLoadingError()}),()=>{!S&&U()}});function L(J){Ge[J?"unshift":"push"](()=>{T=J,t(2,T)})}function ue(J){Ge[J?"unshift":"push"](()=>{P=J,t(1,P)})}return i.$$set=J=>{"adsSlotId"in J&&t(17,c=J.adsSlotId),"adsParams"in J&&t(18,f=J.adsParams),"adsPreviewParam"in J&&t(19,h=J.adsPreviewParam),"duration"in J&&t(20,g=J.duration)},i.$$.update=()=>{i.$$.dirty&2097152&&t(3,B=n!==Zt.INACTIVE),i.$$.dirty&2097152&&t(4,ne=z&&n!==Zt.INACTIVE),i.$$.dirty&2097153&&t(5,re=o&&n!==Zt.INACTIVE)},[o,P,T,B,ne,re,l,r,s,a,v,b,A,I,X,$,H,c,f,h,g,n,L,ue]}class $u extends ke{constructor(e){super(),we(this,e,om,nm,_e,{adsSlotId:17,adsParams:18,adsPreviewParam:19,duration:20},im)}}function lm(i){De(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 rm(i){let e;return{c(){e=w("div"),e.innerHTML="",u(e,"class","annotations-container v-1f6baix"),E(e,"shifted",i[0])},m(t,n){y(t,e,n),i[2](e)},p(t,[n]){n&1&&E(e,"shifted",t[0])},i:Z,o:Z,d(t){t&&k(e),i[2](null)}}}function sm(i,e,t){let{showControls:n}=e,o;const r=Tt().webApi.annotationsApi;en(()=>{if(r)return r.registryRootContainer(o),r.reattach(),()=>r.detach()});function s(a){Ge[a?"unshift":"push"](()=>{o=a,t(1,o)})}return i.$$set=a=>{"showControls"in a&&t(0,n=a.showControls)},[n,o,s]}class ec extends ke{constructor(e){super(),we(this,e,sm,rm,_e,{showControls:0},lm)}}function am(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(t,"fill","none"),u(t,"stroke","#fff"),u(t,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(o,l){y(o,e,l),d(e,t),d(e,n)},d(o){o&&k(e)}}}function um(i){let e,t,n;return{c(){e=M("svg"),t=M("rect"),n=M("path"),u(t,"width","42"),u(t,"height","20"),u(t,"rx","5"),u(t,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(o,l){y(o,e,l),d(e,t),d(e,n)},d(o){o&&k(e)}}}function cm(i){let e;function t(l,r){return l[0]?um:am}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,r){o.m(l,r),y(l,e,r)},p(l,[r]){n!==(n=t(l))&&(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(l){l&&k(e),o.d(l)}}}function fm(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class tc extends ke{constructor(e){super(),we(this,e,fm,cm,_e,{isActive:0})}}function dm(i){De(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 mm(i){let e=_n(i[4]-i[3])+"",t;return{c(){t=Ue(e)},m(n,o){y(n,t,o)},p(n,o){o&24&&e!==(e=_n(n[4]-n[3])+"")&&$e(t,e)},i:Z,o:Z,d(n){n&&k(t)}}}function hm(i){let e,t,n;return t=new tc({props:{isActive:!0}}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,l){y(o,e,l),O(t,e,null),n=!0},p:Z,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function vm(i){let e,t,n,o,l,r,s;const a=[hm,mm],c=[];function f(h,g){return h[1]?0:1}return l=f(i),r=c[l]=a[l](i),{c(){e=w("div"),t=w("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=R(),o=w("span"),r.c(),u(t,"class","thumb-timer-equalizer v-7pnl2h"),u(o,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),E(e,"live",i[1]),E(e,"hidden",i[0]),E(e,"playing",i[2])},m(h,g){y(h,e,g),d(e,t),d(e,n),d(e,o),c[l].m(o,null),s=!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}),ve(),r=c[l],r?r.p(h,g):(r=c[l]=a[l](h),r.c()),m(r,1),r.m(o,null)),(!s||g&2)&&E(e,"live",h[1]),(!s||g&1)&&E(e,"hidden",h[0]),(!s||g&4)&&E(e,"playing",h[2])},i(h){s||(m(r),s=!0)},o(h){p(r),s=!1},d(h){h&&k(e),c[l].d()}}}function pm(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:l=!1}=e,{position:r}=e,{duration:s}=e;return i.$$set=a=>{"isHidden"in a&&t(0,n=a.isHidden),"isLive"in a&&t(1,o=a.isLive),"isPlaying"in a&&t(2,l=a.isPlaying),"position"in a&&t(3,r=a.position),"duration"in a&&t(4,s=a.duration)},[n,o,l,r,s]}class ic extends ke{constructor(e){super(),we(this,e,pm,vm,_e,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},dm)}}const Gl=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 gm(i){De(i,"v-112a274","ul.v-112a274{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);overflow:hidden;transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0}li.v-112a274{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-112a274:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function bm(i){let e,t,n,o,l,r=!i[4]&&!i[14]&&$r(i);return{c(){e=w("li"),e.textContent=`${le("menu_copy_video_link")}`,t=R(),r&&r.c(),n=bt(),u(e,"class","v-112a274")},m(s,a){y(s,e,a),y(s,t,a),r&&r.m(s,a),y(s,n,a),o||(l=Le(e,"click",ut(i[25])),o=!0)},p(s,a){!s[4]&&!s[14]?r?r.p(s,a):(r=$r(s),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(s){s&&(k(e),k(t),k(n)),r&&r.d(s),o=!1,l()}}}function $r(i){let e,t,n;return{c(){e=w("li"),e.textContent=`${le("menu_copy_video_link_with_timestamp")}`,u(e,"class","v-112a274")},m(o,l){y(o,e,l),t||(n=Le(e,"click",ut(i[26])),t=!0)},p:Z,d(o){o&&k(e),t=!1,n()}}}function es(i){let e,t,n;return{c(){e=w("li"),e.textContent=`${le("menu_pip")}`,u(e,"class","v-112a274")},m(o,l){y(o,e,l),t||(n=Le(e,"click",ut(i[19])),t=!0)},p:Z,d(o){o&&k(e),t=!1,n()}}}function _m(i){let e,t,n;return{c(){e=w("li"),e.textContent=`${le("menu_video_rotate")}`,u(e,"class","v-112a274")},m(o,l){y(o,e,l),t||(n=Le(e,"click",ut(i[15])),t=!0)},p:Z,d(o){o&&k(e),t=!1,n()}}}function ts(i){let e,t,n;return{c(){e=w("li"),e.textContent=`${le("menu_report")}`,u(e,"class","v-112a274")},m(o,l){y(o,e,l),t||(n=Le(e,"click",ut(i[16])),t=!0)},p:Z,d(o){o&&k(e),t=!1,n()}}}function wm(i){var A;let e,t,n,o,l,r,s,a,c,f,h=i[8].features.copyVideoLink&&((A=i[7].callbacks)==null?void 0:A.onCopyVideoLink)&&bm(i),g=i[9]&&i[5]!==wn.CONNECTED&&!i[14]&&es(i),v=i[8].features.videoRotate&&!i[14]&&_m(i),b=i[8].showSupport&&!i[6]&&ts(i);return{c(){e=w("ul"),h&&h.c(),t=R(),g&&g.c(),n=R(),v&&v.c(),o=R(),b&&b.c(),l=R(),r=w("li"),r.textContent=`${i[8].features.saveDebugInfoToFile?le("menu_save_debug"):le("menu_copy_debug")}`,s=R(),a=w("li"),a.textContent=`${le("menu_debug_overlay")}`,u(r,"class","v-112a274"),u(a,"class","v-112a274"),Ht(e,"top",i[1]+"px"),Ht(e,"left",i[0]+"px"),u(e,"class","v-112a274"),E(e,"hidden",!i[2])},m(P,T){y(P,e,T),h&&h.m(e,null),d(e,t),g&&g.m(e,null),d(e,n),v&&v.m(e,null),d(e,o),b&&b.m(e,null),d(e,l),d(e,r),d(e,s),d(e,a),i[27](e),c||(f=[Le(r,"click",ut(i[17])),Le(a,"click",ut(i[18]))],c=!0)},p(P,T){var S;P[8].features.copyVideoLink&&((S=P[7].callbacks)!=null&&S.onCopyVideoLink)&&h.p(P,T),P[9]&&P[5]!==wn.CONNECTED&&!P[14]?g?g.p(P,T):(g=es(P),g.c(),g.m(e,n)):g&&(g.d(1),g=null),P[8].features.videoRotate&&!P[14]&&v.p(P,T),P[8].showSupport&&!P[6]?b?b.p(P,T):(b=ts(P),b.c(),b.m(e,l)):b&&(b.d(1),b=null),T[0]&2&&Ht(e,"top",P[1]+"px"),T[0]&1&&Ht(e,"left",P[0]+"px"),T[0]&4&&E(e,"hidden",!P[2])},i:Z,o:Z,d(P){P&&k(e),h&&h.d(),g&&g.d(),v&&v.d(),b&&b.d(),i[27](null),c=!1,Yt(f)}}}function km(i,e,t){var me;let n,o,l,r,{visible:s=!1}=e,{supportLink:a}=e,{x:c=0}=e,{y:f=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:g=void 0}=e,{returnFocus:v}=e;const b=Tt(),A=on(),P=b.ui.contextMenuVisible,T=b.ui.debugPanelVisible,S=b.webApi.pictureInPictureApi,I=(me=b.webApi.pictureInPictureApi)==null?void 0:me.info.isActive$;q(i,I,se=>t(6,r=se));const z=b.state.chromecastState$;q(i,z,se=>t(5,l=se));const X=b.state.isLive$;q(i,X,se=>t(4,o=se));const $=b.state.positionExact$;q(i,$,se=>t(28,n=se));const H=b.state.isInteractive;let B;const ne=(se,Te)=>{if(!B||!h||!g)return;const K=B.getBoundingClientRect(),V=h.getBoundingClientRect(),oe=g.getBoundingClientRect();t(0,c=se-V.left),t(1,f=Te-V.top),c+K.width>V.width&&t(0,c-=K.width),f+K.height>V.height-oe.height&&t(1,f-=K.height)},re=()=>{P.set(!1),b.actions.internal.videoRotate()},L=()=>{window.open(a,"_blank"),P.set(!1),b.actions.internal.pause()},ue=()=>{const se=b.actions.internal.getDebugTextData();if(A.features.saveDebugInfoToFile){const Te=new Blob([...se],{type:"plain/text"}),K=window.URL.createObjectURL(Te);nu(K,"vk_player_debug_info","txt")}else Gl(b.actions.internal.getDebugTextData());P.set(!1),v==null||v()},J=()=>{T.set(!0),P.set(!1),v==null||v()},U=()=>jn(this,null,function*(){try{S!=null&&S.isActive()?yield S==null?void 0:S.remove():yield S==null?void 0:S.request()}finally{P.set(!1),v==null||v()}}),_=(se=!1)=>{var Te,K;if((Te=b.callbacks)!=null&&Te.onCopyVideoLink){const V=(K=b.callbacks)==null?void 0:K.onCopyVideoLink(se,n);V&&Gl(V)}P.set(!1)},Y=()=>_(),ae=()=>_(!0);function be(se){Ge[se?"unshift":"push"](()=>{B=se,t(3,B)})}return i.$$set=se=>{"visible"in se&&t(2,s=se.visible),"supportLink"in se&&t(21,a=se.supportLink),"x"in se&&t(0,c=se.x),"y"in se&&t(1,f=se.y),"playerContainerRef"in se&&t(22,h=se.playerContainerRef),"controlsContainerRef"in se&&t(23,g=se.controlsContainerRef),"returnFocus"in se&&t(24,v=se.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&3&&ne(c,f)},[c,f,s,B,o,l,r,b,A,S,I,z,X,$,H,re,L,ue,J,U,_,a,h,g,v,Y,ae,be]}class ym extends ke{constructor(e){super(),we(this,e,km,wm,_e,{visible:2,supportLink:21,x:0,y:1,playerContainerRef:22,controlsContainerRef:23,returnFocus:24},gm,[-1,-1])}}class Pm{constructor(e){this.value=e,this.next=null}}class Vl{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new Pm(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 Cm(i){De(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function Sm(i){let e,t;return{c(){e=w("div"),t=w("canvas"),u(t,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,o){y(n,e,o),d(e,t),i[3](t)},p:Z,i:Z,o:Z,d(n){n&&k(e),i[3](null)}}}const Il=16,zl=120,is=60;function Tm(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function Em(i,e,t){let{values:n=[]}=e,o,l;const r=zl/is;en(()=>{t(0,o.width=zl,o),t(0,o.height=Il,o),t(2,l=o.getContext("2d"))});function s(a){Ge[a?"unshift":"push"](()=>{o=a,t(0,o)})}return i.$$set=a=>{"values"in a&&t(1,n=a.values)},i.$$.update=()=>{if(i.$$.dirty&6&&l){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);l.clearRect(0,0,zl,Il);let c=is-1;for(let f=n.length-1;f>=0;f--){const h=c*r,g=a>0?Il*(n[f]/a):0;Tm(l,h,0,r,g),c--}}},[o,n,l,s]}class nr extends ke{constructor(e){super(),we(this,e,Em,Sm,_e,{values:1},Cm)}}function Am(i){De(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 ns(i){let e,t,n,o,l=i[0].id+"",r;return{c(){e=w("div"),t=w("div"),t.textContent="Video id",n=R(),o=w("span"),r=Ue(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){y(s,e,a),d(e,t),d(e,n),d(e,o),d(o,r)},p(s,a){a&1&&l!==(l=s[0].id+"")&&$e(r,l)},d(s){s&&k(e)}}}function os(i){let e,t,n,o,l=i[0].provider+"",r;return{c(){e=w("div"),t=w("div"),t.textContent="Provider",n=R(),o=w("span"),r=Ue(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){y(s,e,a),d(e,t),d(e,n),d(e,o),d(o,r)},p(s,a){a&1&&l!==(l=s[0].provider+"")&&$e(r,l)},d(s){s&&k(e)}}}function ls(i){let e,t,n,o,l=i[0].viewport+"",r;return{c(){e=w("div"),t=w("div"),t.textContent="Viewport",n=R(),o=w("span"),r=Ue(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){y(s,e,a),d(e,t),d(e,n),d(e,o),d(o,r)},p(s,a){a&1&&l!==(l=s[0].viewport+"")&&$e(r,l)},d(s){s&&k(e)}}}function rs(i){let e,t,n,o,l=i[0].videoSize+"",r;return{c(){e=w("div"),t=w("div"),t.textContent="Video size",n=R(),o=w("span"),r=Ue(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){y(s,e,a),d(e,t),d(e,n),d(e,o),d(o,r)},p(s,a){a&1&&l!==(l=s[0].videoSize+"")&&$e(r,l)},d(s){s&&k(e)}}}function ss(i){let e,t,n,o,l=i[0].cdn+"",r;return{c(){e=w("div"),t=w("div"),t.textContent="CDN host",n=R(),o=w("span"),r=Ue(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){y(s,e,a),d(e,t),d(e,n),d(e,o),d(o,r)},p(s,a){a&1&&l!==(l=s[0].cdn+"")&&$e(r,l)},d(s){s&&k(e)}}}function as(i){let e,t,n,o,l=i[0].volume+"",r,s;return{c(){e=w("div"),t=w("div"),t.textContent="Volume",n=R(),o=w("span"),r=Ue(l),s=Ue(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){y(a,e,c),d(e,t),d(e,n),d(e,o),d(o,r),d(o,s)},p(a,c){c&1&&l!==(l=a[0].volume+"")&&$e(r,l)},d(a){a&&k(e)}}}function us(i){let e,t,n,o,l=i[0].buffer.toFixed(2)+"",r,s;return{c(){e=w("div"),t=w("div"),t.textContent="Buffer",n=R(),o=w("span"),r=Ue(l),s=Ue(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){y(a,e,c),d(e,t),d(e,n),d(e,o),d(o,r),d(o,s)},p(a,c){c&1&&l!==(l=a[0].buffer.toFixed(2)+"")&&$e(r,l)},d(a){a&&k(e)}}}function cs(i){let e,t,n,o,l,r,s=i[0].speed.toFixed(2)+"",a,c,f;return o=new nr({props:{values:i[5]}}),{c(){e=w("div"),t=w("div"),t.textContent="Network",n=R(),F(o.$$.fragment),l=R(),r=w("span"),a=Ue(s),c=Ue(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,g){y(h,e,g),d(e,t),d(e,n),O(o,e,null),d(e,l),d(e,r),d(r,a),d(r,c),f=!0},p(h,g){const v={};g&32&&(v.values=h[5]),o.$set(v),(!f||g&1)&&s!==(s=h[0].speed.toFixed(2)+"")&&$e(a,s)},i(h){f||(m(o.$$.fragment,h),f=!0)},o(h){p(o.$$.fragment,h),f=!1},d(h){h&&k(e),D(o)}}}function fs(i){let e,t,n,o,l,r,s=i[0].bitrate.toFixed(2)+"",a,c,f;return o=new nr({props:{values:i[6]}}),{c(){e=w("div"),t=w("div"),t.textContent="V bitrate",n=R(),F(o.$$.fragment),l=R(),r=w("span"),a=Ue(s),c=Ue(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,g){y(h,e,g),d(e,t),d(e,n),O(o,e,null),d(e,l),d(e,r),d(r,a),d(r,c),f=!0},p(h,g){const v={};g&64&&(v.values=h[6]),o.$set(v),(!f||g&1)&&s!==(s=h[0].bitrate.toFixed(2)+"")&&$e(a,s)},i(h){f||(m(o.$$.fragment,h),f=!0)},o(h){p(o.$$.fragment,h),f=!1},d(h){h&&k(e),D(o)}}}function Lm(i){let e,t,n,o,l,r,s,a,c=i[0].version+"",f,h,g,v,b,A,P,T,S,I,z,X,$,H,B,ne,re,L,ue,J,U,_,Y,ae,be,me,se,Te,K,V,oe=i[0].id&&ns(i),x=i[0].provider&&os(i),Ee=i[0].viewport&&ls(i),N=i[0].videoSize&&rs(i),ee=i[0].cdn&&ss(i),Ie=i[0].volume&&as(i),Ce=i[0].buffer&&us(i),pe=i[0].speed&&cs(i),ye=i[0].bitrate&&fs(i);return ae=new nr({props:{values:i[4]}}),{c(){e=w("div"),t=w("button"),t.textContent="[x]",n=R(),o=w("div"),l=w("div"),r=w("div"),r.textContent="Version",s=R(),a=w("span"),f=Ue(c),h=R(),oe&&oe.c(),g=R(),x&&x.c(),v=R(),Ee&&Ee.c(),b=R(),N&&N.c(),A=R(),ee&&ee.c(),P=R(),Ie&&Ie.c(),T=R(),Ce&&Ce.c(),S=R(),I=w("div"),z=w("div"),z.textContent="Dropped",X=R(),$=w("span"),H=Ue(i[2]),B=Ue(" / "),ne=Ue(i[1]),re=Ue(" frames"),L=R(),pe&&pe.c(),ue=R(),ye&&ye.c(),J=R(),U=w("div"),_=w("div"),_.textContent="FPS",Y=R(),F(ae.$$.fragment),be=R(),me=w("span"),se=Ue(i[3]),u(t,"class","close v-1gy2e68"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(r,"class","v-1gy2e68"),u(l,"class","v-1gy2e68"),u(z,"class","v-1gy2e68"),u(I,"class","v-1gy2e68"),u(_,"class","v-1gy2e68"),u(U,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),E(e,"container-mobile",i[7])},m(Pe,G){y(Pe,e,G),d(e,t),d(e,n),d(e,o),d(o,l),d(l,r),d(l,s),d(l,a),d(a,f),d(o,h),oe&&oe.m(o,null),d(o,g),x&&x.m(o,null),d(o,v),Ee&&Ee.m(o,null),d(o,b),N&&N.m(o,null),d(o,A),ee&&ee.m(o,null),d(o,P),Ie&&Ie.m(o,null),d(o,T),Ce&&Ce.m(o,null),d(o,S),d(o,I),d(I,z),d(I,X),d(I,$),d($,H),d($,B),d($,ne),d($,re),d(o,L),pe&&pe.m(o,null),d(o,ue),ye&&ye.m(o,null),d(o,J),d(o,U),d(U,_),d(U,Y),O(ae,U,null),d(U,be),d(U,me),d(me,se),Te=!0,K||(V=Le(t,"click",ut(i[9])),K=!0)},p(Pe,[G]){(!Te||G&1)&&c!==(c=Pe[0].version+"")&&$e(f,c),Pe[0].id?oe?oe.p(Pe,G):(oe=ns(Pe),oe.c(),oe.m(o,g)):oe&&(oe.d(1),oe=null),Pe[0].provider?x?x.p(Pe,G):(x=os(Pe),x.c(),x.m(o,v)):x&&(x.d(1),x=null),Pe[0].viewport?Ee?Ee.p(Pe,G):(Ee=ls(Pe),Ee.c(),Ee.m(o,b)):Ee&&(Ee.d(1),Ee=null),Pe[0].videoSize?N?N.p(Pe,G):(N=rs(Pe),N.c(),N.m(o,A)):N&&(N.d(1),N=null),Pe[0].cdn?ee?ee.p(Pe,G):(ee=ss(Pe),ee.c(),ee.m(o,P)):ee&&(ee.d(1),ee=null),Pe[0].volume?Ie?Ie.p(Pe,G):(Ie=as(Pe),Ie.c(),Ie.m(o,T)):Ie&&(Ie.d(1),Ie=null),Pe[0].buffer?Ce?Ce.p(Pe,G):(Ce=us(Pe),Ce.c(),Ce.m(o,S)):Ce&&(Ce.d(1),Ce=null),(!Te||G&4)&&$e(H,Pe[2]),(!Te||G&2)&&$e(ne,Pe[1]),Pe[0].speed?pe?(pe.p(Pe,G),G&1&&m(pe,1)):(pe=cs(Pe),pe.c(),m(pe,1),pe.m(o,ue)):pe&&(he(),p(pe,1,1,()=>{pe=null}),ve()),Pe[0].bitrate?ye?(ye.p(Pe,G),G&1&&m(ye,1)):(ye=fs(Pe),ye.c(),m(ye,1),ye.m(o,J)):ye&&(he(),p(ye,1,1,()=>{ye=null}),ve());const j={};G&16&&(j.values=Pe[4]),ae.$set(j),(!Te||G&8)&&$e(se,Pe[3]),(!Te||G&128)&&E(e,"container-mobile",Pe[7])},i(Pe){Te||(m(pe),m(ye),m(ae.$$.fragment,Pe),Te=!0)},o(Pe){p(pe),p(ye),p(ae.$$.fragment,Pe),Te=!1},d(Pe){Pe&&k(e),oe&&oe.d(),x&&x.d(),Ee&&Ee.d(),N&&N.d(),ee&&ee.d(),Ie&&Ie.d(),Ce&&Ce.d(),pe&&pe.d(),ye&&ye.d(),D(ae),K=!1,V()}}}function Vm(i,e,t){let n;const o=Tt(),l=o.ui.debugPanelVisible,r=o.ui.isMobile;q(i,r,I=>t(7,n=I));const s=()=>{pn.remove(Hl),l.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,h=0,g=0;const v=new Vl(60),b=new Vl(60),A=new Vl(60);let P=[],T=[],S=[];return en(()=>{pn.set(Hl,"true"),o.actions.internal.startLogging(),c&&(t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const I=window.setInterval(()=>{t(0,a=o.actions.internal.getDebugPanelData())},500);let z;return c&&(z=window.setInterval(()=>{if(c){t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames);const X=c.getVideoPlaybackQuality().totalVideoFrames;t(3,g=X-f),t(1,f=X),v.push(g),a.speed&&b.push(a.speed),a.bitrate&&A.push(a.bitrate),t(4,P=v.getValuesFromBottom()),t(5,T=b.getValuesFromBottom()),t(6,S=A.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(I),z&&clearInterval(z)}}),[a,f,h,g,P,T,S,n,r,s]}class nc extends ke{constructor(e){super(),we(this,e,Vm,Lm,_e,{},Am)}}function Im(i){De(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 zm(i){let e,t,n;return{c(){e=w("div"),u(e,"class","close v-1ome55p")},m(o,l){y(o,e,l),t||(n=Le(e,"click",ut(i[0])),t=!0)},p:Z,i:Z,o:Z,d(o){o&&k(e),t=!1,n()}}}function Mm(i){function e(t){Eo.call(this,i,t)}return[e]}class Rm extends ke{constructor(e){super(),we(this,e,Mm,zm,_e,{},Im)}}function Bm(i){De(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 Nm(i){let e,t,n,o,l,r,s;return{c(){e=w("div"),t=w("canvas"),n=R(),o=M("svg"),l=M("g"),r=M("g"),s=M("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(s,"class","_play"),u(s,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(s,"fill","#fff"),u(r,"fill-rule","nonzero"),u(l,"fill","none"),u(l,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){y(a,e,c),d(e,t),i[2](t),d(e,n),d(e,o),d(o,l),d(l,r),d(r,s)},p:Z,i:Z,o:Z,d(a){a&&k(e),i[2](null)}}}const Om=5e3;function Dm(i,e,t){let{onTimerEnded:n=Xe}=e,o;en(()=>{let r;const s=o.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/Om;f<1?(s.clearRect(0,0,100,100),s.beginPath(),s.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),s.stroke(),r=requestAnimationFrame(c)):n()};return r=requestAnimationFrame(c),()=>{cancelAnimationFrame(r)}});function l(r){Ge[r?"unshift":"push"](()=>{o=r,t(0,o)})}return i.$$set=r=>{"onTimerEnded"in r&&t(1,n=r.onTimerEnded)},[o,n,l]}class Fm extends ke{constructor(e){super(),we(this,e,Dm,Nm,_e,{onTimerEnded:1},Bm)}}function Hm(i){De(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 ds(i){let e,t;return e=new Fm({props:{onTimerEnded:i[2]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Um(i){let e,t,n,o,l,r,s,a,c,f,h,g,v,b,A,P,T,S,I,z,X;s=new Rm({}),s.$on("click",i[4]);let $=i[3]&&ds(i);return{c(){e=w("div"),t=R(),n=w("div"),o=w("div"),l=w("div"),l.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",r=R(),F(s.$$.fragment),a=R(),c=w("div"),f=w("div"),h=w("div"),g=w("div"),v=R(),$&&$.c(),A=R(),P=w("div"),T=w("div"),S=Ue(i[0]),u(e,"class","overlay v-kisfwc"),u(l,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(g,"class","thumb-overlay v-kisfwc"),u(h,"class","thumb v-kisfwc"),u(h,"style",b=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(T,"class","title v-kisfwc"),u(P,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(H,B){y(H,e,B),y(H,t,B),y(H,n,B),d(n,o),d(o,l),d(o,r),O(s,o,null),d(n,a),d(n,c),d(c,f),d(f,h),d(h,g),d(h,v),$&&$.m(h,null),d(c,A),d(c,P),d(P,T),d(T,S),I=!0,z||(X=Le(c,"click",function(){an(i[2])&&i[2].apply(this,arguments)}),z=!0)},p(H,[B]){i=H,i[3]?$?($.p(i,B),B&8&&m($,1)):($=ds(i),$.c(),m($,1),$.m(h,null)):$&&(he(),p($,1,1,()=>{$=null}),ve()),(!I||B&2&&b!==(b=`background-image: url('${i[1]}')`))&&u(h,"style",b),(!I||B&1)&&$e(S,i[0])},i(H){I||(m(s.$$.fragment,H),m($),I=!0)},o(H){p(s.$$.fragment,H),p($),I=!1},d(H){H&&(k(e),k(t),k(n)),D(s),$&&$.d(),z=!1,X()}}}function jm(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:l}=e,r=!0;const s=()=>t(3,r=!1);return i.$$set=a=>{"title"in a&&t(0,n=a.title),"thumb"in a&&t(1,o=a.thumb),"playNextVideo"in a&&t(2,l=a.playNextVideo)},[n,o,l,r,s]}class Wm extends ke{constructor(e){super(),we(this,e,jm,Um,_e,{title:0,thumb:1,playNextVideo:2},Hm)}}const oc=(i,e)=>Math.min(+(i+e).toFixed(2),1),lc=(i,e)=>Math.max(+(i-e).toFixed(2),0),rc=(i,e,t)=>{const n=oc(e,t);e<1&&i.actions.internal.setVolume(n)},sc=(i,e,t)=>{const n=lc(e,t);e>0&&i.actions.internal.setVolume(n)};function qm(i){De(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function Zm(i){let e,t,n,o;const l=i[20].default,r=Mn(l,i,i[19],null);return{c(){e=w("div"),r&&r.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(s,a){y(s,e,a),r&&r.m(e,null),i[21](e),t=!0,n||(o=[Le(e,"keyup",i[12]),Le(e,"keydown",i[11])],n=!0)},p(s,a){r&&r.p&&(!t||a[0]&524288)&&Bn(r,l,s,s[19],t?Rn(l,s[19],a,null):Nn(s[19]),null)},i(s){t||(m(r,s),t=!0)},o(s){p(r,s),t=!1},d(s){s&&k(e),r&&r.d(s),i[21](null),n=!1,Yt(o)}}}function Gm(i,e,t){let n,o,l,r,s,a,c,f,h,g,{$$slots:v={},$$scope:b}=e,{isAds:A}=e,{hideContextMenu:P}=e,{toggleFullscreen:T}=e,{showHotKeyHelpers:S}=e,{showKeyMap:I}=e;const z=Tt(),X=on(),$=z.getLogger().createComponentLog("KeyboardControls component"),H=z.state.playbackState$;q(i,H,x=>t(25,o=x));const B=z.ads.playbackState;q(i,B,x=>t(24,n=x));const ne=z.state.positionExact$;q(i,ne,x=>t(30,c=x));const re=z.state.duration$;q(i,re,x=>t(29,a=x));const L=z.state.volume$;q(i,L,x=>t(33,g=x));const ue=z.ui.controls.disabledControls$;q(i,ue,x=>t(28,s=x));const J=z.state.muted$;q(i,J,x=>t(27,r=x));const U=z.state.currentSubtitle$;q(i,U,x=>t(26,l=x));const _=z.state.currentPlaybackRate$;q(i,_,x=>t(31,f=x));const Y=z.state.availablePlaybackRates$;q(i,Y,x=>t(32,h=x));let ae=0,be=!0,me;const se=()=>me==null?void 0:me.focus(),Te=x=>(x!==be&&(be=x,ae=0),ae+=1,(X.controls.seekStepKeyboard+X.controls.seekStepKeyboard*ae)/1e3),K=x=>{P();const Ee=x.code,N=!F0.has(Ee);if(x.ctrlKey&&N||x.altKey&&N||x.metaKey)return;const ee=o===Si.PLAYING||o===Si.PAUSED,Ie=A&&(n===Zt.PAUSED||n===Zt.PLAYING),Ce=!Ie&&!s.has(mt.TIMELINE);if(ee||Ie)switch($({message:`key down, code: ${Ee}`}),Ee){case Ze.KeyJ:case Ze.ArrowLeft:{if(!Ce)break;if(x.ctrlKey||x.altKey){const pe=z.actions.internal.getPrevEpisode();z.actions.internal.seekToPrevEpisode(pe),pe&&S({type:Je.EPISODE_PREV,text:pe.text}),x.preventDefault()}else{const pe=x.shiftKey?Te(!1):X.controls.seekStepKeyboard/1e3,ye=Math.max(c-pe,0);c>0&&(z.actions.internal.seekTime(ye,Ft.DOUBLE_TAP),S({type:Je.BACKWARD_SEEK,text:pe.toString()}),x.preventDefault())}break}case Ze.KeyL:case Ze.ArrowRight:{if(!Ce)break;if(x.ctrlKey||x.altKey){const pe=z.actions.internal.getNextEpisode();z.actions.internal.seekToNextEpisode(pe),pe&&S({type:Je.EPISODE_NEXT,text:pe.text}),x.preventDefault()}else{const pe=x.shiftKey?Te(!0):X.controls.seekStepKeyboard/1e3,ye=Math.min(c+pe,a);Math.round(c)<Math.round(a)&&(z.actions.internal.seekTime(ye,Ft.DOUBLE_TAP),S({type:Je.FORWARD_SEEK,text:pe.toString()}),x.preventDefault())}break}case Ze.ArrowUp:{const pe=g,ye=X.controls.volumeStepKeyboard,Pe=pe<=1;if(rc(z,pe,ye),Pe){const G=Math.round(oc(pe,ye)*100).toString();S({type:Je.VOLUME,t:{key:"hotkey_helper_current_volume",value:G}})}x.preventDefault();break}case Ze.ArrowDown:{const pe=g,ye=X.controls.volumeStepKeyboard,Pe=pe>=0;if(sc(z,pe,ye),Pe){const G=Math.round(lc(pe,ye)*100).toString();S({type:Je.VOLUME,t:{key:"hotkey_helper_current_volume",value:G}})}x.preventDefault();break}case Ze.Comma:{if(x.shiftKey){z.actions.internal.decrementPlaybackRate();const pe=h.find(ye=>ye.value===f);S({type:Je.RATE_DOWN,text:pe==null?void 0:pe.displayValue}),x.preventDefault()}else{if(Ie||o!==Si.PAUSED)break;const pe=Math.max(c-X.controls.seekStepFrame/1e3,0);c>0&&(S({type:Je.BACKWARD_SEEK}),z.actions.internal.clearDelayedBufferingCheckTimeout(),z.actions.internal.seekTime(pe,Ft.DOUBLE_TAP),x.preventDefault())}break}case Ze.Period:{if(x.shiftKey){z.actions.internal.incrementPlaybackRate();const pe=h.find(ye=>ye.value===f);S({type:Je.RATE_UP,text:pe==null?void 0:pe.displayValue}),x.preventDefault()}else{if(Ie||o!==Si.PAUSED)break;const pe=Math.min(c+X.controls.seekStepFrame/1e3,a);c<a&&(S({type:Je.FORWARD_SEEK}),z.actions.internal.clearDelayedBufferingCheckTimeout(),z.actions.internal.seekTime(pe,Ft.DOUBLE_TAP),x.preventDefault())}break}case Ze.KeyK:case Ze.Space:s.has(mt.PLAY_BUTTON)||(z.actions.internal.togglePlay(),S({type:o===Si.PLAYING?Je.PLAY:Je.STOP})),x.preventDefault();break;case Ze.KeyM:{S({type:r?Je.VOLUME:Je.MUTE}),z.actions.internal.toggleMuted(),x.preventDefault();break}case Ze.KeyF:T(),x.preventDefault();break;case Ze.KeyC:z.actions.internal.toggleSubtitle(),l.value!=="off"?S({type:Je.SUBTITLES_ON,text:l==null?void 0:l.displayValue}):S({type:Je.SUBTITLES_OFF}),x.preventDefault();break;case Ze.KeyI:z.actions.internal.togglePictureInPicture(),x.preventDefault();break;case Ze.Digit1:case Ze.Numpad1:S(),z.actions.internal.seekToPercent(.1,Ft.DOUBLE_TAP),x.preventDefault();break;case Ze.Digit2:case Ze.Numpad2:S(),z.actions.internal.seekToPercent(.2,Ft.DOUBLE_TAP),x.preventDefault();break;case Ze.Digit3:case Ze.Numpad3:S(),z.actions.internal.seekToPercent(.3,Ft.DOUBLE_TAP),x.preventDefault();break;case Ze.Digit4:case Ze.Numpad4:S(),z.actions.internal.seekToPercent(.4,Ft.DOUBLE_TAP),x.preventDefault();break;case Ze.Digit5:case Ze.Numpad5:S(),z.actions.internal.seekToPercent(.5,Ft.DOUBLE_TAP),x.preventDefault();break;case Ze.Digit6:case Ze.Numpad6:S(),z.actions.internal.seekToPercent(.6,Ft.DOUBLE_TAP),x.preventDefault();break;case Ze.Digit7:case Ze.Numpad7:S(),z.actions.internal.seekToPercent(.7,Ft.DOUBLE_TAP),x.preventDefault();break;case Ze.Digit8:case Ze.Numpad8:S(),z.actions.internal.seekToPercent(.8,Ft.DOUBLE_TAP),x.preventDefault();break;case Ze.Digit9:case Ze.Numpad9:S(),z.actions.internal.seekToPercent(.9,Ft.DOUBLE_TAP),x.preventDefault();break;case Ze.Digit0:case Ze.Numpad0:S(),z.actions.internal.seekToPercent(0,Ft.DOUBLE_TAP),x.preventDefault();break;case Ze.Slash:{x.shiftKey&&X.features.hotKeyMapModal&&(I(),x.preventDefault());break}case Ze.ShiftLeft:case Ze.ShiftRight:x.preventDefault();break;default:l0(Ee);break}},V=x=>{const Ee=x.code;if(x.ctrlKey||x.altKey||x.metaKey)return;const N=o===Si.PLAYING||o===Si.PAUSED,ee=A&&(n===Zt.PAUSED||n===Zt.PLAYING);if(N||ee)switch(Ee){case Ze.ShiftLeft:case Ze.ShiftRight:ae=0;break}};function oe(x){Ge[x?"unshift":"push"](()=>{me=x,t(0,me)})}return i.$$set=x=>{"isAds"in x&&t(13,A=x.isAds),"hideContextMenu"in x&&t(14,P=x.hideContextMenu),"toggleFullscreen"in x&&t(15,T=x.toggleFullscreen),"showHotKeyHelpers"in x&&t(16,S=x.showHotKeyHelpers),"showKeyMap"in x&&t(17,I=x.showKeyMap),"$$scope"in x&&t(19,b=x.$$scope)},[me,H,B,ne,re,L,ue,J,U,_,Y,K,V,A,P,T,S,I,se,b,v,oe]}class Ym extends ke{constructor(e){super(),we(this,e,Gm,Zm,_e,{isAds:13,hideContextMenu:14,toggleFullscreen:15,showHotKeyHelpers:16,showKeyMap:17,focus:18},qm,[-1,-1])}get focus(){return this.$$.ctx[18]}}function Km(i){De(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 Xm(i){let e;return{c(){e=w("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(t,n){y(t,e,n)},p:Z,i:Z,o:Z,d(t){t&&k(e)}}}class ac extends ke{constructor(e){super(),we(this,e,null,Xm,_e,{},Km)}}function Qm(i){let e,t,n,o,l,r,s,a,c,f,h,g,v;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("defs"),r=M("filter"),s=M("feFlood"),a=M("feColorMatrix"),c=M("feOffset"),f=M("feGaussianBlur"),h=M("feColorMatrix"),g=M("feBlend"),v=M("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2422_111980"),u(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2422_111980"),u(v,"result","shape"),u(r,"id","a"),u(r,"x",".5"),u(r,"y",".5"),u(r,"width","23"),u(r,"height","23"),u(r,"filterUnits","userSpaceOnUse"),u(r,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(b,A){y(b,e,A),d(e,t),d(t,n),d(t,o),d(e,l),d(l,r),d(r,s),d(r,a),d(r,c),d(r,f),d(r,h),d(r,g),d(r,v)},p:Z,i:Z,o:Z,d(b){b&&k(e)}}}class Jm extends ke{constructor(e){super(),we(this,e,null,Qm,_e,{})}}function xm(i){De(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 $m(i){let e,t,n,o,l,r,s,a,c,f;const h=i[8].default,g=Mn(h,i,i[7],null);return{c(){var v,b,A,P;e=w("button"),g&&g.c(),u(e,"class",t="btn "+i[0]+" v-1anemql"),u(e,"style",n=i[1]||null),e.disabled=o=(v=i[2])!=null?v:null,u(e,"aria-hidden",l=(b=i[4])!=null?b:null),u(e,"aria-label",r=(A=i[5])!=null?A:null),u(e,"data-testid",s=(P=i[3])!=null?P:null)},m(v,b){y(v,e,b),g&&g.m(e,null),a=!0,c||(f=[Le(e,"pointerdown",ut(Ti(i[9]))),Le(e,"click",ut(Ti(function(){an(i[6])&&i[6].apply(this,arguments)})))],c=!0)},p(v,[b]){var A,P,T,S;i=v,g&&g.p&&(!a||b&128)&&Bn(g,h,i,i[7],a?Rn(h,i[7],b,null):Nn(i[7]),null),(!a||b&1&&t!==(t="btn "+i[0]+" v-1anemql"))&&u(e,"class",t),(!a||b&2&&n!==(n=i[1]||null))&&u(e,"style",n),(!a||b&4&&o!==(o=(A=i[2])!=null?A:null))&&(e.disabled=o),(!a||b&16&&l!==(l=(P=i[4])!=null?P:null))&&u(e,"aria-hidden",l),(!a||b&32&&r!==(r=(T=i[5])!=null?T:null))&&u(e,"aria-label",r),(!a||b&8&&s!==(s=(S=i[3])!=null?S:null))&&u(e,"data-testid",s)},i(v){a||(m(g,v),a=!0)},o(v){p(g,v),a=!1},d(v){v&&k(e),g&&g.d(v),c=!1,Yt(f)}}}function e3(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:l=""}=e,{style:r=""}=e,{disabled:s=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{click:h=Xe}=e;function g(v){Eo.call(this,i,v)}return i.$$set=v=>{"className"in v&&t(0,l=v.className),"style"in v&&t(1,r=v.style),"disabled"in v&&t(2,s=v.disabled),"testId"in v&&t(3,a=v.testId),"ariaHidden"in v&&t(4,c=v.ariaHidden),"ariaLabel"in v&&t(5,f=v.ariaLabel),"click"in v&&t(6,h=v.click),"$$scope"in v&&t(7,o=v.$$scope)},[l,r,s,a,c,f,h,o,n,g]}class pi extends ke{constructor(e){super(),we(this,e,e3,$m,_e,{className:0,style:1,disabled:2,testId:3,ariaHidden:4,ariaLabel:5,click:6},xm)}}function t3(i){De(i,"v-vczw02",".modal-overlay.v-vczw02{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-vczw02{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-vczw02{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-vczw02{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-vczw02{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-vczw02::-webkit-scrollbar{width:8px}.modal-scroll.v-vczw02::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-vczw02::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-vczw02::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-vczw02{margin:-8px -4px 0 0}")}function ms(i){let e,t,n,o,l,r=i[2]&&hs(i);return{c(){e=w("div"),t=w("h3"),n=Ue(i[3]),o=R(),r&&r.c(),u(t,"class","modal-title v-vczw02"),u(e,"class","modal-header v-vczw02")},m(s,a){y(s,e,a),d(e,t),d(t,n),d(e,o),r&&r.m(e,null),l=!0},p(s,a){(!l||a&8)&&$e(n,s[3]),s[2]?r?(r.p(s,a),a&4&&m(r,1)):(r=hs(s),r.c(),m(r,1),r.m(e,null)):r&&(he(),p(r,1,1,()=>{r=null}),ve())},i(s){l||(m(r),l=!0)},o(s){p(r),l=!1},d(s){s&&k(e),r&&r.d()}}}function hs(i){let e,t;return e=new pi({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:le("hotkey_map_modal_close_btn_text"),$$slots:{default:[i3]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function i3(i){let e,t;return e=new Jm({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function n3(i){let e,t,n,o,l,r,s=i[1]&&ms(i);const a=i[4].default,c=Mn(a,i,i[5],null);return{c(){e=w("div"),t=w("div"),s&&s.c(),n=R(),o=w("div"),l=w("div"),c&&c.c(),u(l,"class","modal-main v-vczw02"),u(o,"class","modal-scroll v-vczw02"),u(t,"class","modal-container v-vczw02"),u(e,"class","modal-overlay v-vczw02")},m(f,h){y(f,e,h),d(e,t),s&&s.m(t,null),d(t,n),d(t,o),d(o,l),c&&c.m(l,null),r=!0},p(f,[h]){f[1]?s?(s.p(f,h),h&2&&m(s,1)):(s=ms(f),s.c(),m(s,1),s.m(t,n)):s&&(he(),p(s,1,1,()=>{s=null}),ve()),c&&c.p&&(!r||h&32)&&Bn(c,a,f,f[5],r?Rn(a,f[5],h,null):Nn(f[5]),null)},i(f){r||(m(s),m(c,f),r=!0)},o(f){p(s),p(c,f),r=!1},d(f){f&&k(e),s&&s.d(),c&&c.d(f)}}}function o3(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:l}=e,{showHeader:r=!0}=e,{showCloseCross:s=!0}=e,{title:a}=e;return i.$$set=c=>{"onClose"in c&&t(0,l=c.onClose),"showHeader"in c&&t(1,r=c.showHeader),"showCloseCross"in c&&t(2,s=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[l,r,s,a,n,o]}class l3 extends ke{constructor(e){super(),we(this,e,o3,n3,_e,{onClose:0,showHeader:1,showCloseCross:2,title:3},t3)}}const r3=new Set(["BR"]),vs=i=>{var e;const t=document.createElement("DIV");t.innerHTML=i;const n=t.querySelectorAll("*");let o=n.length;for(;o--;){const l=n[o],r=l.tagName;r3.has(r)||(e=l.parentElement)===null||e===void 0||e.removeChild(l)}return t.innerHTML};function s3(i){De(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 ps(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function gs(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function bs(i){let e,t,n=vs(i[9])+"",o,l,r=i[10]+"",s,a;return{c(){e=w("li"),t=w("span"),o=R(),l=w("span"),s=Ue(r),a=R(),u(t,"class","hot-key-map-item-description v-quklnq"),u(l,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){y(c,e,f),d(e,t),t.innerHTML=n,d(e,o),d(e,l),d(l,s),d(e,a)},p(c,f){f&1&&n!==(n=vs(c[9])+"")&&(t.innerHTML=n),f&1&&r!==(r=c[10]+"")&&$e(s,r)},d(c){c&&k(e)}}}function _s(i){let e,t,n=i[5]+"",o,l,r,s,a=qt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=bs(gs(i,a,f));return{c(){e=w("div"),t=w("h5"),o=Ue(n),l=R(),r=w("ul");for(let f=0;f<c.length;f+=1)c[f].c();s=R(),u(t,"class","hot-key-map-group-title v-quklnq"),u(r,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,h){y(f,e,h),d(e,t),d(t,o),d(e,l),d(e,r);for(let g=0;g<c.length;g+=1)c[g]&&c[g].m(r,null);d(e,s)},p(f,h){if(h&1&&n!==(n=f[5]+"")&&$e(o,n),h&1){a=qt(f[6]);let g;for(g=0;g<a.length;g+=1){const v=gs(f,a,g);c[g]?c[g].p(v,h):(c[g]=bs(v),c[g].c(),c[g].m(r,null))}for(;g<c.length;g+=1)c[g].d(1);c.length=a.length}},d(f){f&&k(e),vn(c,f)}}}function a3(i){let e,t=qt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=_s(ps(i,t,o));return{c(){e=w("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,l){y(o,e,l);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(e,null)},p(o,l){if(l&1){t=qt(o[0].groups);let r;for(r=0;r<t.length;r+=1){const s=ps(o,t,r);n[r]?n[r].p(s,l):(n[r]=_s(s),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(o){o&&k(e),vn(n,o)}}}function u3(i){let e,t;return e=new l3({props:{title:i[0].title,onClose:i[2],$$slots:{default:[a3]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function c3(i,e,t){let n;const o=Tt(),{data:l,show:r}=o.ui.modals.hotKeyMap;return q(i,l,a=>t(0,n=a)),[n,l,()=>{r.set(!1)}]}class f3 extends ke{constructor(e){super(),we(this,e,c3,u3,_e,{},s3)}}function d3(i){De(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 m3(i){let e,t;const n=i[1].default,o=Mn(n,i,i[0],null);return{c(){e=w("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(l,r){y(l,e,r),o&&o.m(e,null),t=!0},p(l,[r]){o&&o.p&&(!t||r&1)&&Bn(o,n,l,l[0],t?Rn(n,l[0],r,null):Nn(l[0]),null)},i(l){t||(m(o,l),t=!0)},o(l){p(o,l),t=!1},d(l){l&&k(e),o&&o.d(l)}}}function h3(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=l=>{"$$scope"in l&&t(0,o=l.$$scope)},[o,n]}class v3 extends ke{constructor(e){super(),we(this,e,h3,m3,_e,{},d3)}}function p3(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){y(o,e,l),d(e,t),d(e,n)},p:Z,i:Z,o:Z,d(o){o&&k(e)}}}class g3 extends ke{constructor(e){super(),we(this,e,null,p3,_e,{})}}function b3(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){y(o,e,l),d(e,t),d(e,n)},p:Z,i:Z,o:Z,d(o){o&&k(e)}}}class _3 extends ke{constructor(e){super(),we(this,e,null,b3,_e,{})}}function w3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class k3 extends ke{constructor(e){super(),we(this,e,null,w3,_e,{})}}function y3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class uc extends ke{constructor(e){super(),we(this,e,null,y3,_e,{})}}function P3(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){y(o,e,l),d(e,t),d(e,n)},p:Z,i:Z,o:Z,d(o){o&&k(e)}}}class cc extends ke{constructor(e){super(),we(this,e,null,P3,_e,{})}}const uo=i=>{switch(i){case eo.Q_720P:return k3;case eo.Q_1080P:return uc;case eo.Q_1440P:return cc;case eo.Q_2160P:return g3;case eo.Q_4320P:return _3}};function C3(i){De(i,"v-15tafwa",".icon.v-15tafwa{position:relative;width:24px;height:24px}.icon.v-15tafwa .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-15tafwa .pillow{right:-13px}")}function S3(i){let e,t,n,o,l,r,s=i[1]&&ws(i);return{c(){e=w("div"),s&&s.c(),t=R(),n=M("svg"),o=M("path"),l=M("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(l,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(l,"fill","#fff"),E(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-15tafwa"),u(e,"aria-hidden","true"),E(e,"triple",i[2])},m(a,c){y(a,e,c),s&&s.m(e,null),d(e,t),d(e,n),d(n,o),d(n,l),r=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&m(s,1)):(s=ws(a),s.c(),m(s,1),s.m(e,t)):s&&(he(),p(s,1,1,()=>{s=null}),ve()),(!r||c&2)&&E(l,"hidden",!!a[1]),(!r||c&4)&&E(e,"triple",a[2])},i(a){r||(m(s),r=!0)},o(a){p(s),r=!1},d(a){a&&k(e),s&&s.d()}}}function T3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}function ws(i){let e,t;return e=new v3({props:{$$slots:{default:[E3]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function E3(i){let e,t,n;var o=i[1];function l(r){return{}}return o&&(e=kn(o,l())),{c(){e&&F(e.$$.fragment),t=bt()},m(r,s){e&&O(e,r,s),y(r,t,s),n=!0},p(r,s){if(s&2&&o!==(o=r[1])){if(e){he();const a=e;p(a.$$.fragment,1,0,()=>{D(a,1)}),ve()}o?(e=kn(o,l()),F(e.$$.fragment),m(e.$$.fragment,1),O(e,t.parentNode,t)):e=null}},i(r){n||(e&&m(e.$$.fragment,r),n=!0)},o(r){e&&p(e.$$.fragment,r),n=!1},d(r){r&&k(t),e&&D(e,r)}}}function A3(i){let e,t,n,o;const l=[T3,S3],r=[];function s(a,c){return a[0]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){r[e].m(a,c),y(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?r[e].p(a,c):(he(),p(r[f],1,1,()=>{r[f]=null}),ve(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){p(t),o=!1},d(a){a&&k(n),r[e].d(a)}}}function L3(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:l=void 0}=e,r;return i.$$set=s=>{"isMobile"in s&&t(0,o=s.isMobile),"currentQuality"in s&&t(3,l=s.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=uo(l)),i.$$.dirty&2&&t(2,r=!!n&&[uc,cc].includes(n))},[o,n,r,l]}class fc extends ke{constructor(e){super(),we(this,e,L3,A3,_e,{isMobile:0,currentQuality:3},C3)}}function V3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class dc extends ke{constructor(e){super(),we(this,e,null,V3,_e,{})}}function I3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(t,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class z3 extends ke{constructor(e){super(),we(this,e,null,I3,_e,{})}}function M3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(t,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class R3 extends ke{constructor(e){super(),we(this,e,null,M3,_e,{})}}function B3(i){let e,t,n,o;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(l,r){y(l,e,r),d(e,t),d(t,n),d(t,o)},p:Z,i:Z,o:Z,d(l){l&&k(e)}}}class N3 extends ke{constructor(e){super(),we(this,e,null,B3,_e,{})}}function O3(i){De(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function D3(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),u(t,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(t,"fill",i[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),E(e,"reverted",i[2])},m(o,l){y(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&&E(e,"reverted",o[2])},d(o){o&&k(e)}}}function F3(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(t,"fill",i[0]),u(t,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),E(e,"reverted",i[2])},m(o,l){y(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&&E(e,"reverted",o[2])},d(o){o&&k(e)}}}function H3(i){let e;function t(l,r){return l[1]?F3:D3}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,r){o.m(l,r),y(l,e,r)},p(l,[r]){n===(n=t(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(l){l&&k(e),o.d(l)}}}function U3(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,l,r;return i.$$set=s=>{"direction"in s&&t(3,n=s.direction),"color"in s&&t(0,o=s.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,l=["up","down"].includes(n)),t(2,r=["right","down"].includes(n)))},[o,l,r,n]}class zn extends ke{constructor(e){super(),we(this,e,U3,H3,_e,{direction:3,color:0},O3)}}function j3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class W3 extends ke{constructor(e){super(),we(this,e,null,j3,_e,{})}}function q3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(t,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Oo extends ke{constructor(e){super(),we(this,e,null,q3,_e,{})}}function Z3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class G3 extends ke{constructor(e){super(),we(this,e,null,Z3,_e,{})}}function Y3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class K3 extends ke{constructor(e){super(),we(this,e,null,Y3,_e,{})}}function X3(i){De(i,"v-1v0zy8z","ul.v-1v0zy8z.v-1v0zy8z{margin:0;padding:0}.menu.v-1v0zy8z.v-1v0zy8z{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-1v0zy8z.v-1v0zy8z{width:100%}.menu-desktop.v-1v0zy8z.v-1v0zy8z{position:absolute;right:0;bottom:0}.menu-mobile.v-1v0zy8z.v-1v0zy8z{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-1v0zy8z.v-1v0zy8z{display:none}.menu-subList.v-1v0zy8z.v-1v0zy8z{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-1v0zy8z.v-1v0zy8z{min-width:164px}.menu-subList-traffic-saving.v-1v0zy8z.v-1v0zy8z{min-width:286px}.item.v-1v0zy8z.v-1v0zy8z{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-1v0zy8z.v-1v0zy8z{padding:0 14px}.item-quality.item-mobile.v-1v0zy8z.v-1v0zy8z,.item-traffic-saving.item-mobile.v-1v0zy8z.v-1v0zy8z,.item-helper-text.item-mobile.v-1v0zy8z.v-1v0zy8z{flex-direction:row-reverse}.item-helper-text.v-1v0zy8z.v-1v0zy8z{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-1v0zy8z span.v-1v0zy8z{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-1v0zy8z.v-1v0zy8z{padding:7px 14px}.item-helper-text.item-mobile.v-1v0zy8z span.v-1v0zy8z{text-align:start}.quality-title-mobile.v-1v0zy8z.v-1v0zy8z{flex-grow:1}.item.v-1v0zy8z.v-1v0zy8z:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-1v0zy8z.v-1v0zy8z:hover{background:var(--mobile-settings-bg)}.menu-subList.v-1v0zy8z .item.v-1v0zy8z{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-1v0zy8z .item.v-1v0zy8z:last-child{margin-bottom:4px}.menu-icon-wrapper.v-1v0zy8z.v-1v0zy8z{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-1v0zy8z.v-1v0zy8z{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-1v0zy8z.v-1v0zy8z{position:relative;opacity:0.7}.menu-valueIcon.v-1v0zy8z.v-1v0zy8z{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-1v0zy8z.v-1v0zy8z{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-1v0zy8z svg,.menu-valueIcon-list.v-1v0zy8z svg{color:var(--blue-light)}.menu-divider.v-1v0zy8z.v-1v0zy8z{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-1v0zy8z.v-1v0zy8z{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-1v0zy8z.v-1v0zy8z{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-1v0zy8z.v-1v0zy8z::-webkit-scrollbar{width:8px}.items.v-1v0zy8z.v-1v0zy8z::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-1v0zy8z.v-1v0zy8z::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-1v0zy8z.v-1v0zy8z::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-1v0zy8z.v-1v0zy8z{overflow-y:auto;max-height:160px;text-align:left}.close.v-1v0zy8z.v-1v0zy8z{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-1v0zy8z.v-1v0zy8z:before,.close.v-1v0zy8z.v-1v0zy8z:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-1v0zy8z.v-1v0zy8z:before{transform:rotate(45deg)}.close.v-1v0zy8z.v-1v0zy8z:after{transform:rotate(-45deg)}")}function ks(i,e,t){const n=i.slice();return n[83]=e[t],n}function ys(i,e,t){const n=i.slice();return n[86]=e[t],n}function Ps(i,e,t){const n=i.slice();return n[89]=e[t],n}function Cs(i){let e,t,n,o,l,r,s,a;return{c(){e=w("div"),t=w("div"),t.textContent=`${le("submenu_settings")}`,n=R(),o=w("div"),l=R(),r=w("div"),u(o,"class","close v-1v0zy8z"),u(e,"class","item menu-header v-1v0zy8z"),E(e,"item-mobile",i[4]),u(r,"class","menu-divider v-1v0zy8z")},m(c,f){y(c,e,f),d(e,t),d(e,n),d(e,o),y(c,l,f),y(c,r,f),s||(a=Le(o,"click",ut(i[44])),s=!0)},p(c,f){f[0]&16&&E(e,"item-mobile",c[4])},d(c){c&&(k(e),k(l),k(r)),s=!1,a()}}}function Ss(i){let e,t,n,o,l,r,s,a,c,f,h,g;n=new fc({});let v=i[21]&&!i[4]&&Ts(i);return{c(){e=w("li"),t=w("div"),F(n.$$.fragment),o=R(),l=w("div"),l.textContent=`${le("menu_quality")}`,r=R(),s=w("div"),a=Ue(i[12]),c=R(),v&&v.c(),u(t,"class","menu-icon-wrapper v-1v0zy8z"),u(l,"class","menu-title v-1v0zy8z"),u(s,"class","menu-value v-1v0zy8z"),u(e,"class","item v-1v0zy8z"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),E(e,"item-mobile",i[4])},m(b,A){y(b,e,A),d(e,t),O(n,t,null),d(e,o),d(e,l),d(e,r),d(e,s),d(s,a),d(s,c),v&&v.m(s,null),f=!0,h||(g=Le(e,"click",ut(i[45])),h=!0)},p(b,A){(!f||A[0]&4096)&&$e(a,b[12]),b[21]&&!b[4]?v?(v.p(b,A),A[0]&2097168&&m(v,1)):(v=Ts(b),v.c(),m(v,1),v.m(s,null)):v&&(he(),p(v,1,1,()=>{v=null}),ve()),(!f||A[0]&16)&&E(e,"item-mobile",b[4])},i(b){f||(m(n.$$.fragment,b),m(v),f=!0)},o(b){p(n.$$.fragment,b),p(v),f=!1},d(b){b&&k(e),D(n),v&&v.d(),h=!1,g()}}}function Ts(i){let e,t,n;var o=i[21];function l(r){return{}}return o&&(t=kn(o,l())),{c(){e=w("div"),t&&F(t.$$.fragment),u(e,"class","menu-valueIcon v-1v0zy8z")},m(r,s){y(r,e,s),t&&O(t,e,null),n=!0},p(r,s){if(s[0]&2097152&&o!==(o=r[21])){if(t){he();const a=t;p(a.$$.fragment,1,0,()=>{D(a,1)}),ve()}o?(t=kn(o,l()),F(t.$$.fragment),m(t.$$.fragment,1),O(t,e,null)):t=null}},i(r){n||(t&&m(t.$$.fragment,r),n=!0)},o(r){t&&p(t.$$.fragment,r),n=!1},d(r){r&&k(e),t&&D(t)}}}function Es(i){let e,t,n,o,l,r,s,a,c,f,h,g;return n=new N3({}),{c(){e=w("li"),t=w("div"),F(n.$$.fragment),o=R(),l=w("div"),l.textContent=`${le("menu_playback_rate")}`,r=R(),s=w("div"),a=Ue(i[22]),c=Ue("x"),u(t,"class","menu-icon-wrapper v-1v0zy8z"),u(l,"class","menu-title v-1v0zy8z"),u(s,"class","menu-value v-1v0zy8z"),u(e,"class","item v-1v0zy8z"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),E(e,"item-mobile",i[4])},m(v,b){y(v,e,b),d(e,t),O(n,t,null),d(e,o),d(e,l),d(e,r),d(e,s),d(s,a),d(s,c),f=!0,h||(g=Le(e,"click",ut(i[49])),h=!0)},p(v,b){(!f||b[0]&4194304)&&$e(a,v[22]),(!f||b[0]&16)&&E(e,"item-mobile",v[4])},i(v){f||(m(n.$$.fragment,v),f=!0)},o(v){p(n.$$.fragment,v),f=!1},d(v){v&&k(e),D(n),h=!1,g()}}}function As(i){let e,t,n,o,l,r,s,a=i[23].displayValue+"",c,f,h,g;return n=new dc({}),{c(){e=w("li"),t=w("div"),F(n.$$.fragment),o=R(),l=w("div"),l.textContent=`${le("subtitles_caption")}`,r=R(),s=w("div"),c=Ue(a),u(t,"class","menu-icon-wrapper v-1v0zy8z"),u(l,"class","menu-title v-1v0zy8z"),u(s,"class","menu-value v-1v0zy8z"),u(e,"class","item v-1v0zy8z"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),E(e,"item-mobile",i[4])},m(v,b){y(v,e,b),d(e,t),O(n,t,null),d(e,o),d(e,l),d(e,r),d(e,s),d(s,c),f=!0,h||(g=Le(e,"click",ut(i[51])),h=!0)},p(v,b){(!f||b[0]&8388608)&&a!==(a=v[23].displayValue+"")&&$e(c,a),(!f||b[0]&16)&&E(e,"item-mobile",v[4])},i(v){f||(m(n.$$.fragment,v),f=!0)},o(v){p(n.$$.fragment,v),f=!1},d(v){v&&k(e),D(n),h=!1,g()}}}function Ls(i){let e,t,n,o,l,r,s,a=(i[24]?le("traffic_saving_on"):le("traffic_saving_off"))+"",c,f,h,g;return n=new R3({}),{c(){e=w("li"),t=w("div"),F(n.$$.fragment),o=R(),l=w("div"),l.textContent=`${le("menu_traffic_saving")}`,r=R(),s=w("div"),c=Ue(a),u(t,"class","menu-icon-wrapper v-1v0zy8z"),u(l,"class","menu-title v-1v0zy8z"),u(s,"class","menu-value v-1v0zy8z"),u(e,"class","item v-1v0zy8z"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),E(e,"item-mobile",i[4])},m(v,b){y(v,e,b),d(e,t),O(n,t,null),d(e,o),d(e,l),d(e,r),d(e,s),d(s,c),f=!0,h||(g=Le(e,"click",ut(i[46])),h=!0)},p(v,b){(!f||b[0]&16777216)&&a!==(a=(v[24]?le("traffic_saving_on"):le("traffic_saving_off"))+"")&&$e(c,a),(!f||b[0]&16)&&E(e,"item-mobile",v[4])},i(v){f||(m(n.$$.fragment,v),f=!0)},o(v){p(n.$$.fragment,v),f=!1},d(v){v&&k(e),D(n),h=!1,g()}}}function Vs(i){let e,t,n,o,l,r,s,a;return n=new z3({}),{c(){e=w("li"),t=w("div"),F(n.$$.fragment),o=R(),l=w("div"),l.textContent=`${le("download_video_caption")}`,u(t,"class","menu-icon-wrapper v-1v0zy8z"),u(l,"class","menu-title v-1v0zy8z"),u(e,"class","item v-1v0zy8z"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),E(e,"item-mobile",i[4])},m(c,f){y(c,e,f),d(e,t),O(n,t,null),d(e,o),d(e,l),r=!0,s||(a=Le(e,"click",ut(i[54])),s=!0)},p(c,f){(!r||f[0]&16)&&E(e,"item-mobile",c[4])},i(c){r||(m(n.$$.fragment,c),r=!0)},o(c){p(n.$$.fragment,c),r=!1},d(c){c&&k(e),D(n),s=!1,a()}}}function Is(i){let e,t,n,o,l,r,s,a,c,f,h,g,v,b,A,P=i[26].showSupport&&Q3(i);return o=new G3({}),f=new K3({}),{c(){P&&P.c(),e=R(),t=w("li"),n=w("div"),F(o.$$.fragment),l=R(),r=w("div"),r.textContent=`${le("menu_copy_debug")}`,s=R(),a=w("li"),c=w("div"),F(f.$$.fragment),h=R(),g=w("div"),g.textContent=`${le("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-1v0zy8z"),u(r,"class","menu-title v-1v0zy8z"),u(t,"class","item item-mobile v-1v0zy8z"),u(t,"role","menuitemradio"),u(t,"tabindex","0"),u(c,"class","menu-icon-wrapper v-1v0zy8z"),u(g,"class","menu-title v-1v0zy8z"),u(a,"class","item item-mobile v-1v0zy8z"),u(a,"role","menuitemradio"),u(a,"tabindex","0")},m(T,S){P&&P.m(T,S),y(T,e,S),y(T,t,S),d(t,n),O(o,n,null),d(t,l),d(t,r),y(T,s,S),y(T,a,S),d(a,c),O(f,c,null),d(a,h),d(a,g),v=!0,b||(A=[Le(t,"click",ut(i[56])),Le(a,"click",ut(i[57]))],b=!0)},p(T,S){T[26].showSupport&&P.p(T,S)},i(T){v||(m(P),m(o.$$.fragment,T),m(f.$$.fragment,T),v=!0)},o(T){p(P),p(o.$$.fragment,T),p(f.$$.fragment,T),v=!1},d(T){T&&(k(e),k(t),k(s),k(a)),P&&P.d(T),D(o),D(f),b=!1,Yt(A)}}}function Q3(i){let e,t,n,o,l,r,s,a;return n=new W3({}),{c(){e=w("li"),t=w("div"),F(n.$$.fragment),o=R(),l=w("div"),l.textContent=`${le("menu_report")}`,u(t,"class","menu-icon-wrapper v-1v0zy8z"),u(l,"class","menu-title v-1v0zy8z"),u(e,"class","item item-mobile v-1v0zy8z"),u(e,"role","menuitemradio"),u(e,"tabindex","0")},m(c,f){y(c,e,f),d(e,t),O(n,t,null),d(e,o),d(e,l),r=!0,s||(a=Le(e,"click",ut(i[55])),s=!0)},p:Z,i(c){r||(m(n.$$.fragment,c),r=!0)},o(c){p(n.$$.fragment,c),r=!1},d(c){c&&k(e),D(n),s=!1,a()}}}function zs(i){let e,t,n;return t=new Oo({}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","itemIcon v-1v0zy8z")},m(o,l){y(o,e,l),O(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&&k(e),D(t)}}}function Ms(i){let e,t,n;var o=uo(i[89].value);function l(r){return{}}return o&&(t=kn(o,l())),{c(){e=w("div"),t&&F(t.$$.fragment),u(e,"class","menu-valueIcon-list v-1v0zy8z")},m(r,s){y(r,e,s),t&&O(t,e,null),n=!0},p(r,s){if(s[0]&32&&o!==(o=uo(r[89].value))){if(t){he();const a=t;p(a.$$.fragment,1,0,()=>{D(a,1)}),ve()}o?(t=kn(o,l()),F(t.$$.fragment),m(t.$$.fragment,1),O(t,e,null)):t=null}},i(r){n||(t&&m(t.$$.fragment,r),n=!0)},o(r){t&&p(t.$$.fragment,r),n=!1},d(r){r&&k(e),t&&D(t)}}}function Rs(i){let e,t,n,o=i[89].displayValue+"",l,r,s=!i[4]&&uo(i[89].value),a,c,f,h,g,v=i[89].selected&&zs(),b=s&&Ms(i);function A(){return i[71](i[89])}return{c(){e=w("li"),v&&v.c(),t=R(),n=w("div"),l=Ue(o),r=R(),b&&b.c(),a=R(),u(n,"class","v-1v0zy8z"),E(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-1v0zy8z"),u(e,"data-value",c=i[89].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),E(e,"item-mobile",i[4])},m(P,T){y(P,e,T),v&&v.m(e,null),d(e,t),d(e,n),d(n,l),d(e,r),b&&b.m(e,null),d(e,a),f=!0,h||(g=Le(e,"click",ut(A)),h=!0)},p(P,T){i=P,i[89].selected?v?T[0]&32&&m(v,1):(v=zs(),v.c(),m(v,1),v.m(e,t)):v&&(he(),p(v,1,1,()=>{v=null}),ve()),(!f||T[0]&32)&&o!==(o=i[89].displayValue+"")&&$e(l,o),(!f||T[0]&16)&&E(n,"quality-title-mobile",i[4]),T[0]&48&&(s=!i[4]&&uo(i[89].value)),s?b?(b.p(i,T),T[0]&48&&m(b,1)):(b=Ms(i),b.c(),m(b,1),b.m(e,a)):b&&(he(),p(b,1,1,()=>{b=null}),ve()),(!f||T[0]&32&&c!==(c=i[89].value))&&u(e,"data-value",c),(!f||T[0]&16)&&E(e,"item-mobile",i[4])},i(P){f||(m(v),m(b),f=!0)},o(P){p(v),p(b),f=!1},d(P){P&&k(e),v&&v.d(),b&&b.d(),h=!1,g()}}}function Bs(i){let e,t,n;return t=new Oo({}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","itemIcon v-1v0zy8z")},m(o,l){y(o,e,l),O(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&&k(e),D(t)}}}function Ns(i){let e,t,n,o=i[86].displayValue+"",l,r,s,a,c,f,h=i[86].selected&&Bs();function g(){return i[73](i[86])}return{c(){e=w("li"),h&&h.c(),t=R(),n=w("div"),l=Ue(o),r=R(),u(n,"class","v-1v0zy8z"),E(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-1v0zy8z"),u(e,"data-value",s=i[86].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),E(e,"item-mobile",i[4])},m(v,b){y(v,e,b),h&&h.m(e,null),d(e,t),d(e,n),d(n,l),d(e,r),a=!0,c||(f=Le(e,"click",ut(g)),c=!0)},p(v,b){i=v,i[86].selected?h?b[0]&33554432&&m(h,1):(h=Bs(),h.c(),m(h,1),h.m(e,t)):h&&(he(),p(h,1,1,()=>{h=null}),ve()),(!a||b[0]&33554432)&&o!==(o=i[86].displayValue+"")&&$e(l,o),(!a||b[0]&16)&&E(n,"quality-title-mobile",i[4]),(!a||b[0]&33554432&&s!==(s=i[86].value))&&u(e,"data-value",s),(!a||b[0]&16)&&E(e,"item-mobile",i[4])},i(v){a||(m(h),a=!0)},o(v){p(h),a=!1},d(v){v&&k(e),h&&h.d(),c=!1,f()}}}function Os(i){let e,t,n;return t=new Oo({}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","itemIcon v-1v0zy8z")},m(o,l){y(o,e,l),O(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&&k(e),D(t)}}}function Ds(i){let e,t,n;return t=new Oo({}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","itemIcon v-1v0zy8z")},m(o,l){y(o,e,l),O(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&&k(e),D(t)}}}function Fs(i){let e,t,n;return t=new Oo({}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","itemIcon v-1v0zy8z")},m(o,l){y(o,e,l),O(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&&k(e),D(t)}}}function Hs(i){let e,t,n,o=i[83].displayValue+"",l,r,s,a,c,f,h=i[83].selected&&Fs();function g(){return i[77](i[83])}return{c(){e=w("li"),h&&h.c(),t=R(),n=w("div"),l=Ue(o),r=R(),u(n,"class","v-1v0zy8z"),E(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-1v0zy8z"),u(e,"data-value",s=i[83].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),E(e,"item-mobile",i[4])},m(v,b){y(v,e,b),h&&h.m(e,null),d(e,t),d(e,n),d(n,l),d(e,r),a=!0,c||(f=Le(e,"click",ut(g)),c=!0)},p(v,b){i=v,i[83].selected?h?b[0]&8&&m(h,1):(h=Fs(),h.c(),m(h,1),h.m(e,t)):h&&(he(),p(h,1,1,()=>{h=null}),ve()),(!a||b[0]&8)&&o!==(o=i[83].displayValue+"")&&$e(l,o),(!a||b[0]&16)&&E(n,"quality-title-mobile",i[4]),(!a||b[0]&8&&s!==(s=i[83].value))&&u(e,"data-value",s),(!a||b[0]&16)&&E(e,"item-mobile",i[4])},i(v){a||(m(h),a=!0)},o(v){p(h),a=!1},d(v){v&&k(e),h&&h.d(),c=!1,f()}}}function J3(i){let e,t,n,o,l,r,s,a,c,f,h,g,v,b,A,P,T,S,I,z,X,$,H,B,ne,re,L,ue,J,U,_,Y,ae,be,me,se,Te,K,V,oe,x,Ee,N,ee,Ie,Ce,pe,ye,Pe,G,j,We,tt,it,je,ze,rt,Mt,Me,Re,Bt,de,nt=i[4]&&Cs(i),xe=i[20]&&Ss(i),Qe=i[19]&&Es(i),qe=i[18]&&As(i),et=i[17]&&Ls(i),Fe=i[16]&&Vs(i),Oe=i[4]&&Is(i);v=new zn({props:{direction:"left"}});let vt=qt(i[5]),st=[];for(let fe=0;fe<vt.length;fe+=1)st[fe]=Rs(Ps(i,vt,fe));const Kt=fe=>p(st[fe],1,1,()=>{st[fe]=null});H=new zn({props:{direction:"left"}});let Et=qt(i[25]),ot=[];for(let fe=0;fe<Et.length;fe+=1)ot[fe]=Ns(ys(i,Et,fe));const ii=fe=>p(ot[fe],1,1,()=>{ot[fe]=null});ae=new zn({props:{direction:"left"}});let ft=!i[24]&&Os(),Ke=i[24]&&Ds();je=new zn({props:{direction:"left"}});let Vt=qt(i[3]),at=[];for(let fe=0;fe<Vt.length;fe+=1)at[fe]=Hs(ks(i,Vt,fe));const gi=fe=>p(at[fe],1,1,()=>{at[fe]=null});return{c(){e=w("div"),t=w("div"),nt&&nt.c(),n=R(),o=w("ul"),xe&&xe.c(),l=R(),Qe&&Qe.c(),r=R(),qe&&qe.c(),s=R(),et&&et.c(),a=R(),Fe&&Fe.c(),c=R(),Oe&&Oe.c(),f=R(),h=w("div"),g=w("div"),F(v.$$.fragment),b=R(),A=w("div"),A.textContent=`${le("submenu_quality")}`,P=R(),T=w("div"),S=R(),I=w("ul");for(let fe=0;fe<st.length;fe+=1)st[fe].c();z=R(),X=w("div"),$=w("div"),F(H.$$.fragment),B=R(),ne=w("div"),ne.textContent=`${le("submenu_playback_rate")}`,re=R(),L=w("div"),ue=R(),J=w("ul");for(let fe=0;fe<ot.length;fe+=1)ot[fe].c();U=R(),_=w("div"),Y=w("div"),F(ae.$$.fragment),be=R(),me=w("div"),me.textContent=`${le("submenu_traffic_saving")}`,se=R(),Te=w("div"),K=R(),V=w("ul"),oe=w("li"),ft&&ft.c(),x=R(),Ee=w("div"),Ee.textContent=`${le("traffic_saving_disable")}`,N=R(),ee=w("li"),Ke&&Ke.c(),Ie=R(),Ce=w("div"),Ce.textContent=`${le("traffic_saving_enable")}`,pe=R(),ye=w("div"),Pe=R(),G=w("div"),j=w("span"),j.textContent=`${le("traffic_saving_helper_text")}`,We=R(),tt=w("div"),it=w("div"),F(je.$$.fragment),ze=R(),rt=w("div"),rt.textContent=`${le("subtitles_caption")}`,Mt=R(),Me=w("ul");for(let fe=0;fe<at.length;fe+=1)at[fe].c();u(o,"class","items v-1v0zy8z"),E(o,"items-mobile",i[4]),u(t,"class","menu v-1v0zy8z"),u(t,"role","menu"),E(t,"menu-desktop",!i[4]),E(t,"menu-mobile",i[4]),E(t,"hidden",!i[7]),u(g,"class","item menu-header v-1v0zy8z"),E(g,"item-mobile",i[4]),u(T,"class","menu-divider v-1v0zy8z"),u(I,"class","items v-1v0zy8z"),u(I,"style",i[13]),E(I,"items-mobile",i[4]),u(h,"class","menu menu-subList v-1v0zy8z"),E(h,"menu-desktop",!i[4]),E(h,"menu-mobile",i[4]),E(h,"hidden",!i[8]),u($,"class","item menu-header v-1v0zy8z"),E($,"item-mobile",i[4]),u(L,"class","menu-divider v-1v0zy8z"),u(J,"class","items v-1v0zy8z"),u(J,"style",i[14]),E(J,"items-mobile",i[4]),u(X,"class","menu menu-subList v-1v0zy8z"),E(X,"menu-desktop",!i[4]),E(X,"menu-mobile",i[4]),E(X,"hidden",!i[9]),u(Y,"class","item menu-header v-1v0zy8z"),E(Y,"item-mobile",i[4]),u(Te,"class","menu-divider v-1v0zy8z"),u(Ee,"class","v-1v0zy8z"),E(Ee,"quality-title-mobile",i[4]),u(oe,"class","item item-traffic-saving v-1v0zy8z"),u(oe,"role","menuitemradio"),u(oe,"tabindex","0"),E(oe,"item-mobile",i[4]),u(Ce,"class","v-1v0zy8z"),E(Ce,"quality-title-mobile",i[4]),u(ee,"class","item item-traffic-saving v-1v0zy8z"),u(ee,"role","menuitemradio"),u(ee,"tabindex","0"),E(ee,"item-mobile",i[4]),u(V,"class","items v-1v0zy8z"),u(V,"style",i[15]),E(V,"items-mobile",i[4]),u(ye,"class","menu-divider v-1v0zy8z"),u(j,"class","v-1v0zy8z"),u(G,"class","item item-helper-text v-1v0zy8z"),E(G,"item-mobile",i[4]),u(_,"class","menu menu-subList menu-subList-traffic-saving v-1v0zy8z"),E(_,"menu-desktop",!i[4]),E(_,"menu-mobile",i[4]),E(_,"hidden",!i[11]),u(it,"class","item menu-header v-1v0zy8z"),E(it,"item-mobile",i[4]),u(Me,"class","items v-1v0zy8z"),E(Me,"items-mobile",i[4]),u(tt,"class","menu menu-subList menu-subList-subtitles v-1v0zy8z"),E(tt,"menu-desktop",!i[4]),E(tt,"menu-mobile",i[4]),E(tt,"hidden",!i[10]),u(e,"class","v-1v0zy8z"),E(e,"hidden",!i[6]),E(e,"container-mobile",i[4])},m(fe,Se){y(fe,e,Se),d(e,t),nt&&nt.m(t,null),d(t,n),d(t,o),xe&&xe.m(o,null),d(o,l),Qe&&Qe.m(o,null),d(o,r),qe&&qe.m(o,null),d(o,s),et&&et.m(o,null),d(o,a),Fe&&Fe.m(o,null),d(o,c),Oe&&Oe.m(o,null),d(e,f),d(e,h),d(h,g),O(v,g,null),d(g,b),d(g,A),i[70](g),d(h,P),d(h,T),d(h,S),d(h,I);for(let Ve=0;Ve<st.length;Ve+=1)st[Ve]&&st[Ve].m(I,null);d(e,z),d(e,X),d(X,$),O(H,$,null),d($,B),d($,ne),i[72]($),d(X,re),d(X,L),d(X,ue),d(X,J);for(let Ve=0;Ve<ot.length;Ve+=1)ot[Ve]&&ot[Ve].m(J,null);d(e,U),d(e,_),d(_,Y),O(ae,Y,null),d(Y,be),d(Y,me),i[74](Y),d(_,se),d(_,Te),d(_,K),d(_,V),d(V,oe),ft&&ft.m(oe,null),d(oe,x),d(oe,Ee),d(V,N),d(V,ee),Ke&&Ke.m(ee,null),d(ee,Ie),d(ee,Ce),d(_,pe),d(_,ye),d(_,Pe),d(_,G),d(G,j),d(e,We),d(e,tt),d(tt,it),O(je,it,null),d(it,ze),d(it,rt),d(tt,Mt),d(tt,Me);for(let Ve=0;Ve<at.length;Ve+=1)at[Ve]&&at[Ve].m(Me,null);Re=!0,Bt||(de=[Le(g,"click",ut(i[53])),Le($,"click",ut(i[53])),Le(Y,"click",ut(i[53])),Le(oe,"click",ut(i[75])),Le(ee,"click",ut(i[76])),Le(it,"click",ut(i[53]))],Bt=!0)},p(fe,Se){if(fe[4]?nt?nt.p(fe,Se):(nt=Cs(fe),nt.c(),nt.m(t,n)):nt&&(nt.d(1),nt=null),fe[20]?xe?(xe.p(fe,Se),Se[0]&1048576&&m(xe,1)):(xe=Ss(fe),xe.c(),m(xe,1),xe.m(o,l)):xe&&(he(),p(xe,1,1,()=>{xe=null}),ve()),fe[19]?Qe?(Qe.p(fe,Se),Se[0]&524288&&m(Qe,1)):(Qe=Es(fe),Qe.c(),m(Qe,1),Qe.m(o,r)):Qe&&(he(),p(Qe,1,1,()=>{Qe=null}),ve()),fe[18]?qe?(qe.p(fe,Se),Se[0]&262144&&m(qe,1)):(qe=As(fe),qe.c(),m(qe,1),qe.m(o,s)):qe&&(he(),p(qe,1,1,()=>{qe=null}),ve()),fe[17]?et?(et.p(fe,Se),Se[0]&131072&&m(et,1)):(et=Ls(fe),et.c(),m(et,1),et.m(o,a)):et&&(he(),p(et,1,1,()=>{et=null}),ve()),fe[16]?Fe?(Fe.p(fe,Se),Se[0]&65536&&m(Fe,1)):(Fe=Vs(fe),Fe.c(),m(Fe,1),Fe.m(o,c)):Fe&&(he(),p(Fe,1,1,()=>{Fe=null}),ve()),fe[4]?Oe?(Oe.p(fe,Se),Se[0]&16&&m(Oe,1)):(Oe=Is(fe),Oe.c(),m(Oe,1),Oe.m(o,null)):Oe&&(he(),p(Oe,1,1,()=>{Oe=null}),ve()),(!Re||Se[0]&16)&&E(o,"items-mobile",fe[4]),(!Re||Se[0]&16)&&E(t,"menu-desktop",!fe[4]),(!Re||Se[0]&16)&&E(t,"menu-mobile",fe[4]),(!Re||Se[0]&128)&&E(t,"hidden",!fe[7]),(!Re||Se[0]&16)&&E(g,"item-mobile",fe[4]),Se[0]&48|Se[1]&65536){vt=qt(fe[5]);let Ve;for(Ve=0;Ve<vt.length;Ve+=1){const At=Ps(fe,vt,Ve);st[Ve]?(st[Ve].p(At,Se),m(st[Ve],1)):(st[Ve]=Rs(At),st[Ve].c(),m(st[Ve],1),st[Ve].m(I,null))}for(he(),Ve=vt.length;Ve<st.length;Ve+=1)Kt(Ve);ve()}if((!Re||Se[0]&8192)&&u(I,"style",fe[13]),(!Re||Se[0]&16)&&E(I,"items-mobile",fe[4]),(!Re||Se[0]&16)&&E(h,"menu-desktop",!fe[4]),(!Re||Se[0]&16)&&E(h,"menu-mobile",fe[4]),(!Re||Se[0]&256)&&E(h,"hidden",!fe[8]),(!Re||Se[0]&16)&&E($,"item-mobile",fe[4]),Se[0]&33554448|Se[1]&524288){Et=qt(fe[25]);let Ve;for(Ve=0;Ve<Et.length;Ve+=1){const At=ys(fe,Et,Ve);ot[Ve]?(ot[Ve].p(At,Se),m(ot[Ve],1)):(ot[Ve]=Ns(At),ot[Ve].c(),m(ot[Ve],1),ot[Ve].m(J,null))}for(he(),Ve=Et.length;Ve<ot.length;Ve+=1)ii(Ve);ve()}if((!Re||Se[0]&16384)&&u(J,"style",fe[14]),(!Re||Se[0]&16)&&E(J,"items-mobile",fe[4]),(!Re||Se[0]&16)&&E(X,"menu-desktop",!fe[4]),(!Re||Se[0]&16)&&E(X,"menu-mobile",fe[4]),(!Re||Se[0]&512)&&E(X,"hidden",!fe[9]),(!Re||Se[0]&16)&&E(Y,"item-mobile",fe[4]),fe[24]?ft&&(he(),p(ft,1,1,()=>{ft=null}),ve()):ft?Se[0]&16777216&&m(ft,1):(ft=Os(),ft.c(),m(ft,1),ft.m(oe,x)),(!Re||Se[0]&16)&&E(Ee,"quality-title-mobile",fe[4]),(!Re||Se[0]&16)&&E(oe,"item-mobile",fe[4]),fe[24]?Ke?Se[0]&16777216&&m(Ke,1):(Ke=Ds(),Ke.c(),m(Ke,1),Ke.m(ee,Ie)):Ke&&(he(),p(Ke,1,1,()=>{Ke=null}),ve()),(!Re||Se[0]&16)&&E(Ce,"quality-title-mobile",fe[4]),(!Re||Se[0]&16)&&E(ee,"item-mobile",fe[4]),(!Re||Se[0]&32768)&&u(V,"style",fe[15]),(!Re||Se[0]&16)&&E(V,"items-mobile",fe[4]),(!Re||Se[0]&16)&&E(G,"item-mobile",fe[4]),(!Re||Se[0]&16)&&E(_,"menu-desktop",!fe[4]),(!Re||Se[0]&16)&&E(_,"menu-mobile",fe[4]),(!Re||Se[0]&2048)&&E(_,"hidden",!fe[11]),(!Re||Se[0]&16)&&E(it,"item-mobile",fe[4]),Se[0]&24|Se[1]&2097152){Vt=qt(fe[3]);let Ve;for(Ve=0;Ve<Vt.length;Ve+=1){const At=ks(fe,Vt,Ve);at[Ve]?(at[Ve].p(At,Se),m(at[Ve],1)):(at[Ve]=Hs(At),at[Ve].c(),m(at[Ve],1),at[Ve].m(Me,null))}for(he(),Ve=Vt.length;Ve<at.length;Ve+=1)gi(Ve);ve()}(!Re||Se[0]&16)&&E(Me,"items-mobile",fe[4]),(!Re||Se[0]&16)&&E(tt,"menu-desktop",!fe[4]),(!Re||Se[0]&16)&&E(tt,"menu-mobile",fe[4]),(!Re||Se[0]&1024)&&E(tt,"hidden",!fe[10]),(!Re||Se[0]&64)&&E(e,"hidden",!fe[6]),(!Re||Se[0]&16)&&E(e,"container-mobile",fe[4])},i(fe){if(!Re){m(xe),m(Qe),m(qe),m(et),m(Fe),m(Oe),m(v.$$.fragment,fe);for(let Se=0;Se<vt.length;Se+=1)m(st[Se]);m(H.$$.fragment,fe);for(let Se=0;Se<Et.length;Se+=1)m(ot[Se]);m(ae.$$.fragment,fe),m(ft),m(Ke),m(je.$$.fragment,fe);for(let Se=0;Se<Vt.length;Se+=1)m(at[Se]);Re=!0}},o(fe){p(xe),p(Qe),p(qe),p(et),p(Fe),p(Oe),p(v.$$.fragment,fe),st=st.filter(Boolean);for(let Se=0;Se<st.length;Se+=1)p(st[Se]);p(H.$$.fragment,fe),ot=ot.filter(Boolean);for(let Se=0;Se<ot.length;Se+=1)p(ot[Se]);p(ae.$$.fragment,fe),p(ft),p(Ke),p(je.$$.fragment,fe),at=at.filter(Boolean);for(let Se=0;Se<at.length;Se+=1)p(at[Se]);Re=!1},d(fe){fe&&k(e),nt&&nt.d(),xe&&xe.d(),Qe&&Qe.d(),qe&&qe.d(),et&&et.d(),Fe&&Fe.d(),Oe&&Oe.d(),D(v),i[70](null),vn(st,fe),D(H),i[72](null),vn(ot,fe),D(ae),i[74](null),ft&&ft.d(),Ke&&Ke.d(),D(je),vn(at,fe),Bt=!1,Yt(de)}}}const Ml=18;function x3(i,e,t){let n,o,l,r,s,a,c,f,h,g,v,b,A,P,T,S,I,z,{supportLink:X}=e,{playerControlsHeight:$=0}=e,{returnFocus:H}=e;const B=Tt(),ne=on(),re=B.state.currentQuality$;q(i,re,Ae=>t(69,A=Ae));const L=B.state.availableQualities$;q(i,L,Ae=>t(5,b=Ae));const ue=B.state.autoQualityLimitingAvailable$;q(i,ue,Ae=>t(63,s=Ae));const J=B.state.isAutoQualityEnabled$;q(i,J,Ae=>t(68,v=Ae));const U=B.state.currentPlaybackRate$;q(i,U,Ae=>t(22,T=Ae));const _=B.state.availablePlaybackRates$;q(i,_,Ae=>t(25,z=Ae));const Y=B.state.currentSubtitle$;q(i,Y,Ae=>t(23,S=Ae));const ae=B.state.availableSubtitlesList$;q(i,ae,Ae=>t(3,r=Ae));const be=B.state.canDownload,me=B.state.hasMpegSources$;q(i,me,Ae=>t(64,a=Ae));const se=B.ui.settingsMenuVisible;q(i,se,Ae=>t(6,P=Ae));const Te=B.ui.isMobile;q(i,Te,Ae=>t(4,f=Ae));const K=B.ui.mobileNotReportControlHidden$;q(i,K,Ae=>t(61,o=Ae));const V=B.state.canChangePlaybackSpeed$;q(i,V,Ae=>t(62,l=Ae));const oe=B.ui.isFullscreen;q(i,oe,Ae=>t(67,g=Ae));const x=B.state.trafficSavingEnabled$;q(i,x,Ae=>t(24,I=Ae));const Ee=B.ui.playerSize;q(i,Ee,Ae=>t(66,h=Ae));const N=B.ui.debugPanelVisible,ee=B.ui.playerSize;q(i,ee,Ae=>t(65,c=Ae));const Ie=B.actions.internal.downloadVideo;let Ce=!0,pe=!1,ye=!1,Pe=!1,G=!1;function j(){H==null||H(),se.set(!1)}function We(){t(7,Ce=!1),t(8,pe=!0)}function tt(){t(7,Ce=!1),t(11,G=!0)}function it(Ae){B.actions.internal.setQuality(Ae),j()}function je(Ae){B.actions.internal.setTrafficSavingEnabled(Ae),j()}function ze(){t(7,Ce=!1),t(9,ye=!0)}function rt(Ae){B.actions.internal.setPlaybackRate(Ae),j()}function Mt(){t(7,Ce=!1),t(10,Pe=!0)}function Me(Ae){B.actions.internal.setSubtitle(Ae),j()}function Re(){t(7,Ce=!0),t(8,pe=!1),t(9,ye=!1),t(10,Pe=!1),t(11,G=!1)}function Bt(){Ie(),j()}function de(){window.open(X,"_blank"),j(),B.actions.internal.pause()}function nt(){Gl(B.actions.internal.getDebugTextData()),j()}function xe(){N.set(!0),j()}function Qe(Ae,ai,ui){if(!Ae)return"...";const Ut=ai.find(Xt=>Xt.value===Ae),Ei=Ut?Ut.displayValue:Ae;return ui?Ae===eo.INVARIANT?le("auto_quality_invariant"):le("auto_quality",{actual:Ei}):Ei}let qe,et,Fe,Oe,vt,st,Kt,Et,ot,ii,ft,Ke;function Vt(Ae){Ge[Ae?"unshift":"push"](()=>{et=Ae,t(0,et)})}const at=Ae=>it(Ae.value);function gi(Ae){Ge[Ae?"unshift":"push"](()=>{Fe=Ae,t(1,Fe)})}const fe=Ae=>rt(Ae.value);function Se(Ae){Ge[Ae?"unshift":"push"](()=>{Oe=Ae,t(2,Oe)})}const Ve=()=>je(!1),At=()=>je(!0),ni=Ae=>Me(Ae);return i.$$set=Ae=>{"supportLink"in Ae&&t(58,X=Ae.supportLink),"playerControlsHeight"in Ae&&t(59,$=Ae.playerControlsHeight),"returnFocus"in Ae&&t(60,H=Ae.returnFocus)},i.$$.update=()=>{var Ae,ai,ui;if(i.$$.dirty[0]&64&&P&&(t(7,Ce=!0),t(8,pe=!1),t(9,ye=!1),t(10,Pe=!1),t(11,G=!1)),i.$$.dirty[2]&128&&t(21,n=uo(A)),i.$$.dirty[0]&32|i.$$.dirty[2]&192&&t(12,qe=Qe(A,b,v)),i.$$.dirty[0]&17|i.$$.dirty[1]&268435456|i.$$.dirty[2]&56)if(f&&g)t(13,vt=`max-height: ${Math.round(h.height*.6)}px`);else if(f)t(13,vt="");else{const Ut=c.height-Ml-((Ae=et==null?void 0:et.clientHeight)!=null?Ae:0)-$;t(13,vt=`max-height: ${Ut}px; overflow: auto;`)}if(i.$$.dirty[0]&18|i.$$.dirty[1]&268435456|i.$$.dirty[2]&8)if(f)t(14,st="");else{const Ut=c.height-Ml-((ai=Fe==null?void 0:Fe.clientHeight)!=null?ai:0)-$;t(14,st=`max-height: ${Ut}px; overflow: auto;`)}if(i.$$.dirty[0]&20|i.$$.dirty[1]&268435456|i.$$.dirty[2]&8)if(f)t(15,Kt="");else{const Ut=c.height-Ml-((ui=Oe==null?void 0:Oe.clientHeight)!=null?ui:0)-$;t(15,Kt=`max-height: ${Ut}px; overflow: auto;`)}i.$$.dirty[1]&1073741824|i.$$.dirty[2]&4&&t(16,Et=be&&a&&!o),i.$$.dirty[1]&1073741824|i.$$.dirty[2]&2&&t(17,ot=ne.features.trafficSaving&&!o&&s),i.$$.dirty[0]&8|i.$$.dirty[1]&1073741824&&t(18,ii=r.length>0&&!o),i.$$.dirty[1]&1073741824|i.$$.dirty[2]&1&&t(19,ft=!!l&&!o),i.$$.dirty[1]&1073741824&&t(20,Ke=!o)},[et,Fe,Oe,r,f,b,P,Ce,pe,ye,Pe,G,qe,vt,st,Kt,Et,ot,ii,ft,Ke,n,T,S,I,z,ne,re,L,ue,J,U,_,Y,ae,me,se,Te,K,V,oe,x,Ee,ee,j,We,tt,it,je,ze,rt,Mt,Me,Re,Bt,de,nt,xe,X,$,H,o,l,s,a,c,h,g,v,A,Vt,at,gi,fe,Se,Ve,At,ni]}class mc extends ke{constructor(e){super(),we(this,e,x3,J3,_e,{supportLink:58,playerControlsHeight:59,returnFocus:60},X3,[-1,-1,-1])}}function $3(i){De(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function eh(i){let e,t,n;return t=new fc({props:{isMobile:i[1],currentQuality:i[2]}}),{c(){e=w("span"),F(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const r={};l&2&&(r.isMobile=o[1]),l&4&&(r.currentQuality=o[2]),t.$set(r)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function th(i){let e,t;return e=new pi({props:{testId:"btn-settings",click:i[6],ariaLabel:i[0],$$slots:{default:[eh]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function ih(i,e,t){let n,o,l;const r=Tt(),s=r.state.currentQuality$;q(i,s,g=>t(2,l=g));const a=r.ui.settingsMenuVisible;q(i,a,g=>t(7,n=g));const c=r.ui.isMobile;q(i,c,g=>t(1,o=g));let f;function h(){a.set(!n)}return i.$$.update=()=>{i.$$.dirty&128&&t(0,f=le(n?"tooltip_settings_on":"tooltip_settings_off"))},[f,o,l,s,a,c,h,n]}class or extends ke{constructor(e){super(),we(this,e,ih,th,_e,{},$3)}}function nh(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class oh extends ke{constructor(e){super(),we(this,e,null,nh,_e,{})}}function lh(i){let e,t;return e=new dc({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function rh(i){let e,t;return e=new oh({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function sh(i){let e,t,n,o;const l=[rh,lh],r=[];function s(a,c){return a[0]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){r[e].m(a,c),y(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e!==f&&(he(),p(r[f],1,1,()=>{r[f]=null}),ve(),t=r[e],t||(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){p(t),o=!1},d(a){a&&k(n),r[e].d(a)}}}function ah(i){let e,t;return e=new pi({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],$$slots:{default:[sh]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function uh(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,l;return i.$$set=r=>{"isSubtitlesEnabled"in r&&t(0,n=r.isSubtitlesEnabled),"click"in r&&t(1,o=r.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=le(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,l]}class ch extends ke{constructor(e){super(),we(this,e,uh,ah,_e,{isSubtitlesEnabled:0,click:1})}}function fh(i){De(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 Us(i){let e,t;return{c(){e=w("span"),t=Ue(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){y(n,e,o),d(e,t)},p(n,o){o&8&&$e(t,n[3])},d(n){n&&k(e)}}}function dh(i){let e,t,n,o,l,r=i[2]&&Us(i);return{c(){e=w("div"),t=w("span"),n=Ue(i[4]),o=R(),r&&r.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),Zn(()=>i[7].call(e)),E(e,"mobile",i[1])},m(s,a){y(s,e,a),d(e,t),d(t,n),d(e,o),r&&r.m(e,null),l=il(e,i[7].bind(e))},p(s,[a]){a&16&&$e(n,s[4]),s[2]?r?r.p(s,a):(r=Us(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),a&2&&E(e,"mobile",s[1])},i:Z,o:Z,d(s){s&&k(e),r&&r.d(),l()}}}function mh(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:l}=e,{showDuration:r=!0}=e,{width:s}=e,a,c;function f(){s=this.clientWidth,t(0,s)}return i.$$set=h=>{"isMobile"in h&&t(1,n=h.isMobile),"duration"in h&&t(5,o=h.duration),"position"in h&&t(6,l=h.position),"showDuration"in h&&t(2,r=h.showDuration),"width"in h&&t(0,s=h.width)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=_n(o)),i.$$.dirty&64&&t(4,c=_n(l))},[s,n,r,a,c,o,l,f]}class hc extends ke{constructor(e){super(),we(this,e,mh,dh,_e,{isMobile:1,duration:5,position:6,showDuration:2,width:0},fh)}}function hh(i){De(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 vh(i){let e,t,n,o,l,r;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(l,"class","cross v-1n5yyua"),u(l,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"data-value",i[0]),u(e,"data-testid",r="volume-"+i[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(s,a){y(s,e,a),d(e,t),d(t,n),d(t,o),d(t,l)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&r!==(r="volume-"+s[0]+"-icon")&&u(e,"data-testid",r)},i:Z,o:Z,d(s){s&&k(e)}}}function ph(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const l=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let r;return i.$$set=s=>{"volume"in s&&t(1,n=s.volume),"muted"in s&&t(2,o=s.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,r=l(n,o))},[r,n,o]}class sl extends ke{constructor(e){super(),we(this,e,ph,vh,_e,{volume:1,muted:2},hh)}}function gh(i){De(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 js(i){let e,t,n,o,l,r,s;return{c(){e=w("div"),t=w("div"),n=Ue(i[1]),o=R(),l=w("div"),u(t,"class","content v-1jbbzcj"),u(l,"class","tooltip-pointer v-1jbbzcj"),u(l,"style",r=`transform: translate(${i[6]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",s=`transform: translate(${i[5]}px, ${i[2]}px);`),E(e,"active",i[4])},m(a,c){y(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),i[17](e)},p(a,c){c&2&&$e(n,a[1]),c&64&&r!==(r=`transform: translate(${a[6]}px, ${a[8]}px);`)&&u(l,"style",r),c&36&&s!==(s=`transform: translate(${a[5]}px, ${a[2]}px);`)&&u(e,"style",s),c&16&&E(e,"active",a[4])},d(a){a&&k(e),i[17](null)}}}function bh(i){let e,t,n,o,l;const r=i[16].default,s=Mn(r,i,i[15],null);let a=i[1]&&js(i);return{c(){e=w("div"),s&&s.c(),t=R(),a&&a.c(),u(e,"class","tooltip-wrapper v-1jbbzcj"),E(e,"full-width",i[3])},m(c,f){y(c,e,f),s&&s.m(e,null),d(e,t),a&&a.m(e,null),n=!0,o||(l=[Le(e,"mouseenter",function(){an(i[7]?i[11]:Xe)&&(i[7]?i[11]:Xe).apply(this,arguments)}),Le(e,"mousemove",function(){an(i[7]?i[11]:Xe)&&(i[7]?i[11]:Xe).apply(this,arguments)}),Le(e,"mouseleave",i[12]),Le(e,"mousedown",i[12]),Le(e,"mouseup",function(){an(i[7]?i[11]:Xe)&&(i[7]?i[11]:Xe).apply(this,arguments)})],o=!0)},p(c,[f]){i=c,s&&s.p&&(!n||f&32768)&&Bn(s,r,i,i[15],n?Rn(r,i[15],f,null):Nn(i[15]),null),i[1]?a?a.p(i,f):(a=js(i),a.c(),a.m(e,null)):a&&(a.d(1),a=null),(!n||f&8)&&E(e,"full-width",i[3])},i(c){n||(m(s,c),n=!0)},o(c){p(s,c),n=!1},d(c){c&&k(e),s&&s.d(c),a&&a.d(),o=!1,Yt(l)}}}const Ws=5,Yo=8;function _h(i,e,t){let n,o,l,r,s=Z,a=()=>(s(),s=Vo(h,_=>t(14,r=_)),h);i.$$.on_destroy.push(()=>s());let{$$slots:c={},$$scope:f}=e,{controlInfo:h=He(void 0)}=e;a();let{tooltipContent:g=""}=e,{initialTranslateXPx:v=0}=e,{initialTranslateYPx:b=0}=e,{isFullWidth:A=!1}=e,P=!1,T=0,S=0,I=Ws,z,X;const $=on(),H=Tt(),B=H.ui.playerSize;q(i,B,_=>t(21,l=_));const ne=H.ui.controls.tooltipPointerOffsetX;q(i,ne,_=>t(20,o=_));const re=()=>{t(4,P=!0);const _=X.clientWidth,Y=l.width,ae=o-_/2+v,be=o-n;t(5,T=be-_/2+v),t(6,S=_/2-Ws);let me=0;ae<Yo&&(me=Yo-ae,t(6,S-=me),t(5,T+=me));let se=0;ae+_>Y-Yo&&(se=ae+_-(Y-Yo),t(6,S+=se),t(5,T-=se))},L=()=>{t(4,P=!1)},ue=()=>{z||(z=window.setTimeout(re,$.controls.hideTimeoutTooltips)),P&&re()},J=()=>{L(),window.clearTimeout(z),z=void 0};nl(()=>window.clearTimeout(z));function U(_){Ge[_?"unshift":"push"](()=>{X=_,t(7,X)})}return i.$$set=_=>{"controlInfo"in _&&a(t(0,h=_.controlInfo)),"tooltipContent"in _&&t(1,g=_.tooltipContent),"initialTranslateXPx"in _&&t(13,v=_.initialTranslateXPx),"initialTranslateYPx"in _&&t(2,b=_.initialTranslateYPx),"isFullWidth"in _&&t(3,A=_.isFullWidth),"$$scope"in _&&t(15,f=_.$$scope)},i.$$.update=()=>{var _;i.$$.dirty&16384&&(n=(_=r==null?void 0:r.positionStartX)!=null?_:0)},[h,g,b,A,P,T,S,X,I,B,ne,ue,J,v,r,f,c,U]}class vc extends ke{constructor(e){super(),we(this,e,_h,bh,_e,{controlInfo:0,tooltipContent:1,initialTranslateXPx:13,initialTranslateYPx:2,isFullWidth:3},gh)}}function wh(i){De(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 kh(i){let e;const t=i[16].default,n=Mn(t,i,i[20],null);return{c(){n&&n.c()},m(o,l){n&&n.m(o,l),e=!0},p(o,l){n&&n.p&&(!e||l&1048576)&&Bn(n,t,o,o[20],e?Rn(t,o[20],l,null):Nn(o[20]),null)},i(o){e||(m(n,o),e=!0)},o(o){p(n,o),e=!1},d(o){n&&n.d(o)}}}function yh(i){let e,t;return e=new vc({props:{controlInfo:i[4],tooltipContent:i[9],initialTranslateXPx:i[7],initialTranslateYPx:i[8],isFullWidth:i[3],$$slots:{default:[Ph]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.controlInfo=n[4]),o&512&&(l.tooltipContent=n[9]),o&128&&(l.initialTranslateXPx=n[7]),o&256&&(l.initialTranslateYPx=n[8]),o&8&&(l.isFullWidth=n[3]),o&1048576&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ph(i){let e;const t=i[16].default,n=Mn(t,i,i[20],null);return{c(){n&&n.c()},m(o,l){n&&n.m(o,l),e=!0},p(o,l){n&&n.p&&(!e||l&1048576)&&Bn(n,t,o,o[20],e?Rn(t,o[20],l,null):Nn(o[20]),null)},i(o){e||(m(n,o),e=!0)},o(o){p(n,o),e=!1},d(o){n&&n.d(o)}}}function Ch(i){let e,t,n,o,l,r,s,a,c;const f=[yh,kh],h=[];function g(v,b){return v[2]&&v[5]&&!v[10]?0:1}return t=g(i),n=h[t]=f[t](i),{c(){e=w("div"),n.c(),u(e,"class",o="btn-container "+i[1]+" v-p9r045"),u(e,"aria-hidden",l=i[6]||null),Zn(()=>i[19].call(e))},m(v,b){y(v,e,b),h[t].m(e,null),r=il(e,i[19].bind(e)),s=!0,a||(c=[Le(e,"pointerdown",ut(Ti(i[17]))),Le(e,"click",ut(Ti(i[18])))],a=!0)},p(v,[b]){let A=t;t=g(v),t===A?h[t].p(v,b):(he(),p(h[A],1,1,()=>{h[A]=null}),ve(),n=h[t],n?n.p(v,b):(n=h[t]=f[t](v),n.c()),m(n,1),n.m(e,null)),(!s||b&2&&o!==(o="btn-container "+v[1]+" v-p9r045"))&&u(e,"class",o),(!s||b&64&&l!==(l=v[6]||null))&&u(e,"aria-hidden",l)},i(v){s||(m(n),s=!0)},o(v){p(n),s=!1},d(v){v&&k(e),h[t].d(),r(),a=!1,Yt(c)}}}function Sh(i,e,t){let n,o,{$$slots:l={},$$scope:r}=e,{className:s=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{width:f}=e,{isFullWidthTooltip:h=!0}=e,{controlInfo:g=He(void 0)}=e,{tooltipContent:v=""}=e,{disabledTooltipContent:b=le("tooltip_button_disabled")}=e,{isAriaHidden:A=!1}=e,{initialTranslateXPx:P=0}=e,{initialTranslateYPx:T=-18}=e;const S=Tt(),I=S.ui.isMobile;q(i,I,ne=>t(10,o=ne));const z=S.state.graphIsOpened$;q(i,z,ne=>t(15,n=ne));let X;function $(ne){Eo.call(this,i,ne)}function H(ne){Eo.call(this,i,ne)}function B(){f=this.clientWidth,t(0,f)}return i.$$set=ne=>{"className"in ne&&t(1,s=ne.className),"disabled"in ne&&t(13,a=ne.disabled),"hasTooltip"in ne&&t(2,c=ne.hasTooltip),"width"in ne&&t(0,f=ne.width),"isFullWidthTooltip"in ne&&t(3,h=ne.isFullWidthTooltip),"controlInfo"in ne&&t(4,g=ne.controlInfo),"tooltipContent"in ne&&t(5,v=ne.tooltipContent),"disabledTooltipContent"in ne&&t(14,b=ne.disabledTooltipContent),"isAriaHidden"in ne&&t(6,A=ne.isAriaHidden),"initialTranslateXPx"in ne&&t(7,P=ne.initialTranslateXPx),"initialTranslateYPx"in ne&&t(8,T=ne.initialTranslateYPx),"$$scope"in ne&&t(20,r=ne.$$scope)},i.$$.update=()=>{i.$$.dirty&57376&&(a?t(9,X=n?le("tooltip_disabled_when_graph_on"):b):t(9,X=v))},[f,s,c,h,g,v,A,P,T,X,o,I,z,a,b,n,l,$,H,B,r]}class Gt extends ke{constructor(e){super(),we(this,e,Sh,Ch,_e,{className:1,disabled:13,hasTooltip:2,width:0,isFullWidthTooltip:3,controlInfo:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},wh)}}function Th(i){let e,t,n,o;return{c(){e=M("svg"),t=M("rect"),n=M("path"),o=M("path"),u(t,"width","20"),u(t,"height","20"),u(t,"rx","10"),u(t,"fill","#fff"),u(t,"fill-opacity",".24"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M7.328 5H12.68c.258 0 .494 0 .692.016.213.018.446.057.676.175.33.168.597.435.765.765.117.23.157.463.175.676.016.198.016.434.016.692v5.348c0 .258 0 .494-.016.692a1.775 1.775 0 0 1-.175.677 1.75 1.75 0 0 1-.765.764c-.23.118-.463.158-.676.175-.198.016-.434.016-.692.016H7.328c-.258 0-.494 0-.692-.016a1.775 1.775 0 0 1-.677-.175 1.75 1.75 0 0 1-.764-.764 1.774 1.774 0 0 1-.175-.677c-.016-.198-.016-.434-.016-.692V7.324c0-.258 0-.494.016-.692.017-.213.057-.446.175-.676a1.75 1.75 0 0 1 .764-.765c.23-.118.464-.157.677-.175C6.834 5 7.07 5 7.328 5Z"),u(n,"fill","#fff"),E(n,"hidden",!i[0]),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M7.328 5H12.68c.258 0 .494 0 .692.016.213.018.446.057.676.175.33.168.597.435.765.765.117.23.157.463.175.676.016.198.016.434.016.692v5.348c0 .258 0 .494-.016.692a1.775 1.775 0 0 1-.175.677 1.75 1.75 0 0 1-.765.764c-.23.118-.463.158-.676.175-.198.016-.434.016-.692.016H7.328c-.258 0-.494 0-.692-.016a1.775 1.775 0 0 1-.677-.175 1.75 1.75 0 0 1-.764-.764 1.774 1.774 0 0 1-.175-.677c-.016-.198-.016-.434-.016-.692V7.324c0-.258 0-.494.016-.692.017-.213.057-.446.175-.676a1.75 1.75 0 0 1 .764-.765c.23-.118.464-.157.677-.175C6.834 5 7.07 5 7.328 5Zm-.693 1.53h.001-.001Zm.002-.001a.626.626 0 0 1 .121-.018c.13-.01.304-.011.596-.011h5.3c.292 0 .466 0 .596.011a.625.625 0 0 1 .12.018.25.25 0 0 1 .105.104.638.638 0 0 1 .018.121c.01.13.01.304.01.596v5.296c0 .292 0 .467-.01.596a.636.636 0 0 1-.018.12.25.25 0 0 1-.105.105.636.636 0 0 1-.12.018c-.13.01-.304.011-.596.011h-5.3c-.292 0-.467 0-.596-.011a.638.638 0 0 1-.12-.018.25.25 0 0 1-.105-.104.626.626 0 0 1-.018-.121 8.337 8.337 0 0 1-.011-.596V7.35c0-.292 0-.467.011-.596a.628.628 0 0 1 .018-.12.25.25 0 0 1 .104-.105Zm-.103.102v.001-.001Zm0 6.734v-.001.001Zm.1.101h.002-.001Zm6.739 0h-.002.002Zm.101-.1v-.002.001Zm0-6.735v.001-.001Zm-.103-.102h.002-.002Z"),u(o,"fill","#fff"),E(o,"hidden",i[0]),u(e,"width","20"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){y(l,e,r),d(e,t),d(e,n),d(e,o)},p(l,[r]){r&1&&E(n,"hidden",!l[0]),r&1&&E(o,"hidden",l[0])},i:Z,o:Z,d(l){l&&k(e)}}}function Eh(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class Ah extends ke{constructor(e){super(),we(this,e,Eh,Th,_e,{completed:0})}}function Lh(i){De(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 Vh(i){let e,t,n,o,l;return t=new Ah({props:{completed:!!i[0].completed}}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),Zn(()=>i[3].call(e)),E(e,"disabled",i[1])},m(r,s){y(r,e,s),O(t,e,null),o=il(e,i[3].bind(e)),l=!0},p(r,s){const a={};s&1&&(a.completed=!!r[0].completed),t.$set(a),(!l||s&1&&n!==(n=`left: ${r[0].from+r[0].width/2}%`))&&u(e,"style",n),(!l||s&2)&&E(e,"disabled",r[1])},i(r){l||(m(t.$$.fragment,r),l=!0)},o(r){p(t.$$.fragment,r),l=!1},d(r){r&&k(e),D(t),o()}}}function Ih(i){let e,t;return e=new Gt({props:{tooltipContent:le(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:[Vh]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.tooltipContent=le(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){D(e,n)}}}function zh(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,l;function r(){l=this.clientWidth,t(2,l)}return i.$$set=s=>{"videoEpisode"in s&&t(0,n=s.videoEpisode),"disabled"in s&&t(1,o=s.disabled)},[n,o,l,r]}class Mh extends ke{constructor(e){super(),we(this,e,zh,Ih,_e,{videoEpisode:0,disabled:1},Lh)}}function Rh(i){De(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 qs(i,e,t){const n=i.slice();return n[2]=e[t],n}function Zs(i){let e,t,n,o,l,r,s,a,c;return{c(){e=w("div"),t=w("div"),n=w("div"),l=R(),r=w("div"),a=R(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${i[2].loadedWidth/i[2].width*100}%)`),u(r,"class","video-episode-filled v-1h9p3m2"),u(r,"style",s=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),E(r,"mobile",i[1]),u(t,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${i[2].from}%; width: ${i[2].width}%`),E(e,"mobile",i[1])},m(f,h){y(f,e,h),d(e,t),d(t,n),d(t,l),d(t,r),d(e,a)},p(f,h){h&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),h&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(r,"style",s),h&2&&E(r,"mobile",f[1]),h&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),h&2&&E(e,"mobile",f[1])},d(f){f&&k(e)}}}function Bh(i){let e,t=qt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Zs(qs(i,t,o));return{c(){e=w("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,l){y(o,e,l);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(e,null)},p(o,[l]){if(l&3){t=qt(o[0]);let r;for(r=0;r<t.length;r+=1){const s=qs(o,t,r);n[r]?n[r].p(s,l):(n[r]=Zs(s),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},i:Z,o:Z,d(o){o&&k(e),vn(n,o)}}}function Nh(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 Oh extends ke{constructor(e){super(),we(this,e,Nh,Bh,_e,{videoEpisodes:0,isMobile:1},Rh)}}function Dh(i){De(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 Gs(i,e,t){const n=i.slice();return n[48]=e[t],n}function Ys(i){let e,t,n=qt(i[21]),o=[];for(let r=0;r<n.length;r+=1)o[r]=Xs(Gs(i,n,r));const l=r=>p(o[r],1,1,()=>{o[r]=null});return{c(){e=w("div");for(let r=0;r<o.length;r+=1)o[r].c();u(e,"class","interactive-icons v-1golz1y"),E(e,"mobile",i[5]),E(e,"hidden",i[5]&&!i[20])},m(r,s){y(r,e,s);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);t=!0},p(r,s){if(s[0]&2097664){n=qt(r[21]);let a;for(a=0;a<n.length;a+=1){const c=Gs(r,n,a);o[a]?(o[a].p(c,s),m(o[a],1)):(o[a]=Xs(c),o[a].c(),m(o[a],1),o[a].m(e,null))}for(he(),a=n.length;a<o.length;a+=1)l(a);ve()}(!t||s[0]&32)&&E(e,"mobile",r[5]),(!t||s[0]&1048608)&&E(e,"hidden",r[5]&&!r[20])},i(r){if(!t){for(let s=0;s<n.length;s+=1)m(o[s]);t=!0}},o(r){o=o.filter(Boolean);for(let s=0;s<o.length;s+=1)p(o[s]);t=!1},d(r){r&&k(e),vn(o,r)}}}function Ks(i){let e,t;return e=new Mh({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Xs(i){let e,t,n=i[48].interactive&&Ks(i);return{c(){n&&n.c(),e=bt()},m(o,l){n&&n.m(o,l),y(o,e,l),t=!0},p(o,l){o[48].interactive?n?(n.p(o,l),l[0]&2097152&&m(n,1)):(n=Ks(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),ve())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&k(e),n&&n.d(o)}}}function Fh(i){let e,t,n,o,l,r;return{c(){e=w("div"),t=w("div"),o=R(),l=w("div"),u(t,"class","loaded v-1golz1y"),u(t,"style",n=`transform: translateX(${i[11]*100}%);`),u(l,"class","filled v-1golz1y"),u(l,"style",r=`transform: translateX(${i[12]*100}%);`),E(l,"active-live",i[4]),E(l,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(s,a){y(s,e,a),d(e,t),d(e,o),d(e,l)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&r!==(r=`transform: translateX(${s[12]*100}%);`)&&u(l,"style",r),a[0]&16&&E(l,"active-live",s[4]),a[0]&64&&E(l,"ads",s[6])},i:Z,o:Z,d(s){s&&k(e)}}}function Hh(i){let e,t;return e=new Oh({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Uh(i){let e,t,n,o,l,r,s,a,c,f,h,g,v,b=i[8]&&Ys(i);const A=[Hh,Fh],P=[];function T(S,I){return S[21].length?0:1}return n=T(i),o=P[n]=A[n](i),{c(){var S;b&&b.c(),e=R(),t=w("div"),o.c(),l=R(),r=w("div"),s=w("div"),u(s,"class","handle v-1golz1y"),E(s,"active-live",i[4]),u(r,"class","handleWrap v-1golz1y"),u(r,"style",a=`transform: translateX(${i[13]*100}%);`),E(r,"hidden",i[10]),u(t,"class",c="slider "+i[0]+" v-1golz1y"),u(t,"aria-label",i[14]),u(t,"aria-valuemin",i[15]),u(t,"aria-valuemax",i[16]),u(t,"aria-valuenow",i[17]),u(t,"aria-valuetext",i[18]),u(t,"role","slider"),u(t,"tabindex","0"),u(t,"data-testid",f=(S=i[1])!=null?S:null),E(t,"disabled",i[9]),E(t,"slider-dragging",i[20]),E(t,"hidden",i[2]),E(t,"slider-vertical",i[3]),E(t,"no-handle",i[10]),E(t,"square",i[7])},m(S,I){b&&b.m(S,I),y(S,e,I),y(S,t,I),P[n].m(t,null),d(t,l),d(t,r),d(r,s),i[42](t),h=!0,g||(v=[Le(t,"pointerdown",Ti(i[22])),Le(t,"pointermove",Ti(i[23])),Le(t,"pointerup",Ti(i[24])),Le(t,"pointerenter",Ti(i[25])),Le(t,"pointerleave",Ti(i[26])),Le(t,"click",ut(Xe)),Le(t,"wheel",i[27])],g=!0)},p(S,I){var X;S[8]?b?(b.p(S,I),I[0]&256&&m(b,1)):(b=Ys(S),b.c(),m(b,1),b.m(e.parentNode,e)):b&&(he(),p(b,1,1,()=>{b=null}),ve());let z=n;n=T(S),n===z?P[n].p(S,I):(he(),p(P[z],1,1,()=>{P[z]=null}),ve(),o=P[n],o?o.p(S,I):(o=P[n]=A[n](S),o.c()),m(o,1),o.m(t,l)),(!h||I[0]&16)&&E(s,"active-live",S[4]),(!h||I[0]&8192&&a!==(a=`transform: translateX(${S[13]*100}%);`))&&u(r,"style",a),(!h||I[0]&1024)&&E(r,"hidden",S[10]),(!h||I[0]&1&&c!==(c="slider "+S[0]+" v-1golz1y"))&&u(t,"class",c),(!h||I[0]&16384)&&u(t,"aria-label",S[14]),(!h||I[0]&32768)&&u(t,"aria-valuemin",S[15]),(!h||I[0]&65536)&&u(t,"aria-valuemax",S[16]),(!h||I[0]&131072)&&u(t,"aria-valuenow",S[17]),(!h||I[0]&262144)&&u(t,"aria-valuetext",S[18]),(!h||I[0]&2&&f!==(f=(X=S[1])!=null?X:null))&&u(t,"data-testid",f),(!h||I[0]&513)&&E(t,"disabled",S[9]),(!h||I[0]&1048577)&&E(t,"slider-dragging",S[20]),(!h||I[0]&5)&&E(t,"hidden",S[2]),(!h||I[0]&9)&&E(t,"slider-vertical",S[3]),(!h||I[0]&1025)&&E(t,"no-handle",S[10]),(!h||I[0]&129)&&E(t,"square",S[7])},i(S){h||(m(b),m(o),h=!0)},o(S){p(b),p(o),h=!1},d(S){S&&(k(e),k(t)),b&&b.d(S),P[n].d(),i[42](null),g=!1,Yt(v)}}}function jh(i,e,t){let n,o,{className:l=""}=e,{testId:r=void 0}=e,{isHidden:s=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:h=!1}=e,{squareBorders:g=!1}=e,{videoEpisodes:v=[]}=e,{withWheelHandler:b=!1}=e,{isInteractive:A=!1}=e,{disabled:P=!1}=e,{hideHandel:T=!1}=e,S,I,{onPointerDown:z=Xe}=e,{onHandleMove:X=Xe}=e,{onPointerUp:$=Xe}=e,{onPointerEnter:H=Xe}=e,{onPointerMove:B=Xe}=e,{onPointerLeave:ne=Xe}=e,{onWheelUp:re=Xe}=e,{onWheelDown:L=Xe}=e,{onWheelLeft:ue=Xe}=e,{onWheelRight:J=Xe}=e,{loadedProgress:U=0}=e,{filledProgress:_=0}=e,{handleProgress:Y=0}=e,{ariaLabel:ae=""}=e,{ariaValueMin:be=void 0}=e,{ariaValueMax:me=void 0}=e,{ariaValueNow:se=void 0}=e,{ariaValueText:Te=""}=e;const K=on();let V=!1,oe;function x(j){if(V)return;t(20,V=!0),I=S.getBoundingClientRect();const We=pe(j.clientX,j.clientY);z(We),S.setPointerCapture(j.pointerId)}function Ee(j){const We=pe(j.clientX,j.clientY),tt=ye(j.clientX);B(We,tt,I.width),V&&X(We)}function N(j){if(!V)return;t(20,V=!1);const We=pe(j.clientX,j.clientY);$(We)}function ee(j){I=S.getBoundingClientRect();const We=pe(j.clientX,j.clientY),tt=ye(j.clientX);H(We,tt,I.width)}function Ie(){ne()}function Ce(j){b&&(j.preventDefault(),j.deltaY<0?re():j.deltaY>0?L():j.deltaX>0?J():ue())}function pe(j,We){return a?Math.max(0,Math.min(1,(I.height-(We-I.top))/I.height)):Math.min(Math.max(j-I.x,0),I.width)/I.width}function ye(j){return Math.min(Math.max(j-I.x,0),I.width)}function Pe(j,We){const tt=K.features.episodesClustering&&!A?K.episodeMinWidthPc:0,it=[];let je=0,ze=0,rt=0;for(let Re=1;Re<v.length;Re++)ze=v[Re].time/oe*100,ze-je>tt&&(it.push({from:je,width:Math.max(0,ze-je),loadedWidth:Math.max(0,Math.min(ze,j)-je),filledWidth:Math.max(0,Math.min(ze,We)-je),interactive:v[Re-1].interactive,completed:v[Re-1].completed}),je=v[Re].time/oe*100,rt++);const Mt={from:je,width:Math.max(0,100-je),loadedWidth:Math.max(0,Math.min(j,100)-je),filledWidth:Math.max(0,Math.min(We,100)-je),interactive:v[rt].interactive,completed:v[rt].completed};100-je<tt?(rt-=1,it[rt].width+=100-je,it[rt].loadedWidth+=Math.max(0,Math.min(j,100)-je),it[rt].filledWidth+=Math.max(0,Math.min(We,100)-je)):it[rt]=Mt;const Me=v[0].time;if(Me!==0){const Re=Me/oe*100;it.unshift({from:0,width:Re,loadedWidth:Math.min(Re,j),filledWidth:Math.min(Re,We)})}return it}function G(j){Ge[j?"unshift":"push"](()=>{S=j,t(19,S)})}return i.$$set=j=>{"className"in j&&t(0,l=j.className),"testId"in j&&t(1,r=j.testId),"isHidden"in j&&t(2,s=j.isHidden),"isVertical"in j&&t(3,a=j.isVertical),"isActiveLive"in j&&t(4,c=j.isActiveLive),"isMobile"in j&&t(5,f=j.isMobile),"isAds"in j&&t(6,h=j.isAds),"squareBorders"in j&&t(7,g=j.squareBorders),"videoEpisodes"in j&&t(28,v=j.videoEpisodes),"withWheelHandler"in j&&t(29,b=j.withWheelHandler),"isInteractive"in j&&t(8,A=j.isInteractive),"disabled"in j&&t(9,P=j.disabled),"hideHandel"in j&&t(10,T=j.hideHandel),"onPointerDown"in j&&t(30,z=j.onPointerDown),"onHandleMove"in j&&t(31,X=j.onHandleMove),"onPointerUp"in j&&t(32,$=j.onPointerUp),"onPointerEnter"in j&&t(33,H=j.onPointerEnter),"onPointerMove"in j&&t(34,B=j.onPointerMove),"onPointerLeave"in j&&t(35,ne=j.onPointerLeave),"onWheelUp"in j&&t(36,re=j.onWheelUp),"onWheelDown"in j&&t(37,L=j.onWheelDown),"onWheelLeft"in j&&t(38,ue=j.onWheelLeft),"onWheelRight"in j&&t(39,J=j.onWheelRight),"loadedProgress"in j&&t(11,U=j.loadedProgress),"filledProgress"in j&&t(12,_=j.filledProgress),"handleProgress"in j&&t(13,Y=j.handleProgress),"ariaLabel"in j&&t(14,ae=j.ariaLabel),"ariaValueMin"in j&&t(15,be=j.ariaValueMin),"ariaValueMax"in j&&t(16,me=j.ariaValueMax),"ariaValueNow"in j&&t(17,se=j.ariaValueNow),"ariaValueText"in j&&t(18,Te=j.ariaValueText)},i.$$.update=()=>{var j;i.$$.dirty[0]&65536&&t(40,oe=me!=null?me:0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=((j=v[v.length-1])==null?void 0:j.time)<oe),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=v.length&&n&&oe?Pe(U*100,_*100):[])},[l,r,s,a,c,f,h,g,A,P,T,U,_,Y,ae,be,me,se,Te,S,V,o,x,Ee,N,ee,Ie,Ce,v,b,z,X,$,H,B,ne,re,L,ue,J,oe,n,G]}class lr extends ke{constructor(e){super(),we(this,e,jh,Uh,_e,{className:0,testId:1,isHidden:2,isVertical:3,isActiveLive:4,isMobile:5,isAds:6,squareBorders:7,videoEpisodes:28,withWheelHandler:29,isInteractive:8,disabled:9,hideHandel:10,onPointerDown:30,onHandleMove:31,onPointerUp:32,onPointerEnter:33,onPointerMove:34,onPointerLeave:35,onWheelUp:36,onWheelDown:37,onWheelLeft:38,onWheelRight:39,loadedProgress:11,filledProgress:12,handleProgress:13,ariaLabel:14,ariaValueMin:15,ariaValueMax:16,ariaValueNow:17,ariaValueText:18},Dh,[-1,-1])}}const dn=(i,e)=>ao[i]>=ao[e],Wh=(i,e)=>ao[i]<ao[e],pc=(i,e)=>ao[i]<=ao[e],qh=i=>i>io.L?Lt.XL:i>io.M?Lt.L:i>io.S?Lt.M:i>io.XS?Lt.S:Lt.XS;function Zh(i){De(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 Gh(i){let e,t;return e=new sl({props:{volume:i[4],muted:i[2]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Yh(i){let e,t;return e=new pi({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],$$slots:{default:[Gh]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&1&&(l.disabled=!n[0]),o[0]&8&&(l.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(l.ariaLabel=n[7]),o[0]&2&&(l.click=n[1]),o[0]&20|o[1]&2&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Qs(i){let e,t,n;return t=new lr({props:{className:i[3]?"volumeBar-slider-vertical":"",isHidden:i[3]&&!i[5],isVertical:i[3],withWheelHandler:!0,onWheelUp:i[14],onWheelDown:i[15],onPointerDown:i[13],onHandleMove:i[16],onPointerUp:i[17],onPointerEnter:i[3]?i[18]:Xe,onPointerLeave:i[3]?i[19]:Xe,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=w("div"),F(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),E(e,"volumeBar-vertical",i[3])},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const r={};l[0]&8&&(r.className=o[3]?"volumeBar-slider-vertical":""),l[0]&40&&(r.isHidden=o[3]&&!o[5]),l[0]&8&&(r.isVertical=o[3]),l[0]&8&&(r.onPointerEnter=o[3]?o[18]:Xe),l[0]&8&&(r.onPointerLeave=o[3]?o[19]:Xe),l[0]&256&&(r.ariaValueNow=Math.round(o[8]*100)),l[0]&256&&(r.ariaValueText=`${Math.round(o[8]*100)}%`),l[0]&256&&(r.filledProgress=o[8]),l[0]&256&&(r.handleProgress=o[8]),l[0]&8&&(r.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(r),(!n||l[0]&8)&&E(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&&k(e),D(t)}}}function Kh(i){let e,t,n,o,l,r;t=new vc({props:{controlInfo:i[11],tooltipContent:i[6],initialTranslateYPx:-18,$$slots:{default:[Yh]},$$scope:{ctx:i}}});let s=i[0]&&Qs(i);return{c(){e=w("div"),F(t.$$.fragment),n=R(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),E(e,"vertical",i[3])},m(a,c){y(a,e,c),O(t,e,null),d(e,n),s&&s.m(e,null),o=!0,l||(r=[Le(e,"mouseenter",function(){an(i[3]?i[20]:Xe)&&(i[3]?i[20]:Xe).apply(this,arguments)}),Le(e,"mouseleave",function(){an(i[3]?i[21]:Xe)&&(i[3]?i[21]:Xe).apply(this,arguments)}),Le(e,"wheel",Ti(i[22]))],l=!0)},p(a,c){i=a;const f={};c[0]&64&&(f.tooltipContent=i[6]),c[0]&159|c[1]&2&&(f.$$scope={dirty:c,ctx:i}),t.$set(f),i[0]?s?(s.p(i,c),c[0]&1&&m(s,1)):(s=Qs(i),s.c(),m(s,1),s.m(e,null)):s&&(he(),p(s,1,1,()=>{s=null}),ve()),(!o||c[0]&8)&&E(e,"vertical",i[3])},i(a){o||(m(t.$$.fragment,a),m(s),o=!0)},o(a){p(t.$$.fragment,a),p(s),o=!1},d(a){a&&k(e),D(t),s&&s.d(),l=!1,Yt(r)}}}function Xh(i,e,t){let n,o,l,{isAudioAvailable:r=!0}=e,{click:s}=e;const a=Tt(),c=on(),f=a.state.volume$;q(i,f,me=>t(4,n=me));const h=a.state.muted$;q(i,h,me=>t(24,l=me));const g=a.actions.internal.setVolume,v=a.ui.controls.volume,b=a.ui.currentGridType$;q(i,b,me=>t(23,o=me));let A=!1,P,T,S,I,z,X,$=1,H=!1;function B(me){$=n,g(me)}function ne(){rc(a,n,c.controls.volumeStepWheel)}function re(){sc(a,n,c.controls.volumeStepWheel)}function L(me){g(me)}function ue(me){const se=me;g(se,se===0?$:se)}function J(){H=!0}function U(){H=!1,ae()}function _(){clearTimeout(P),t(5,A=!0)}function Y(){ae()}function ae(){P=window.setTimeout(()=>{H||t(5,A=!1)},c.controls.volumeBarTimeout)}function be(me){me.deltaY<0?ne():me.deltaY>0&&re()}return i.$$set=me=>{"isAudioAvailable"in me&&t(0,r=me.isAudioAvailable),"click"in me&&t(1,s=me.click)},i.$$.update=()=>{i.$$.dirty[0]&16777217&&t(2,I=!r||l),i.$$.dirty[0]&8388608&&t(3,z=pc(o,Lt.S)),i.$$.dirty[0]&12&&(z?t(6,T=""):t(6,T=le(I?"tooltip_volume":"tooltip_volume_muted")),t(7,S=le(I?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,X=I?0:n)},[r,s,I,z,n,A,T,S,X,f,h,v,b,B,ne,re,L,ue,J,U,_,Y,be,o,l]}class Qh extends ke{constructor(e){super(),we(this,e,Xh,Kh,_e,{isAudioAvailable:0,click:1},Zh,[-1,-1])}}function Jh(i){let e;return{c(){e=M("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function xh(i){let e;return{c(){e=M("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function $h(i){let e,t,n;function o(s,a){return s[0]?xh:Jh}let l=o(i),r=l(i);return{c(){e=M("svg"),t=M("g"),r.c(),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(s,a){y(s,e,a),d(e,t),r.m(t,null)},p(s,[a]){l!==(l=o(s))&&(r.d(1),r=l(s),r&&(r.c(),r.m(t,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:Z,o:Z,d(s){s&&k(e),r.d()}}}function ev(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class tv extends ke{constructor(e){super(),we(this,e,ev,$h,_e,{isFullscreen:0})}}function iv(i){let e,t;return e=new tv({props:{isFullscreen:i[0]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function nv(i){let e,t;return e=new pi({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],$$slots:{default:[iv]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function ov(i,e,t){let{isFullscreen:n=!1}=e,{click:o=Xe}=e,l;return i.$$set=r=>{"isFullscreen"in r&&t(0,n=r.isFullscreen),"click"in r&&t(1,o=r.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=le(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,l]}class gc extends ke{constructor(e){super(),we(this,e,ov,nv,_e,{isFullscreen:0,click:1})}}function lv(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class rr extends ke{constructor(e){super(),we(this,e,null,lv,_e,{})}}function rv(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class bc extends ke{constructor(e){super(),we(this,e,null,rv,_e,{})}}function sv(i){De(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Js(i){let e;return{c(){e=w("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function av(i){let e,t,n,o,l=i[0]&&Js();var r=i[5];function s(a){return{}}return r&&(n=kn(r,s())),{c(){l&&l.c(),e=R(),t=w("div"),n&&F(n.$$.fragment),u(t,"class","v-1ot3duq"),E(t,"mobile",i[0])},m(a,c){l&&l.m(a,c),y(a,e,c),y(a,t,c),n&&O(n,t,null),o=!0},p(a,c){if(a[0]?l||(l=Js(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),c&32&&r!==(r=a[5])){if(n){he();const f=n;p(f.$$.fragment,1,0,()=>{D(f,1)}),ve()}r?(n=kn(r,s()),F(n.$$.fragment),m(n.$$.fragment,1),O(n,t,null)):n=null}(!o||c&1)&&E(t,"mobile",a[0])},i(a){o||(n&&m(n.$$.fragment,a),o=!0)},o(a){n&&p(n.$$.fragment,a),o=!1},d(a){a&&(k(e),k(t)),l&&l.d(a),n&&D(n)}}}function uv(i){let e,t;return e=new pi({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-play",click:i[3],disabled:i[1],ariaLabel:i[4],$$slots:{default:[av]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&5&&(l.className=(n[0]?"btn-m--play":"")+" "+n[2]),o&8&&(l.click=n[3]),o&2&&(l.disabled=n[1]),o&16&&(l.ariaLabel=n[4]),o&161&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function cv(i,e,t){let n,{isMobile:o=!1}=e,{isPlaying:l=!1}=e,{disabled:r=!1}=e,{className:s=""}=e,{click:a=Xe}=e,c;return i.$$set=f=>{"isMobile"in f&&t(0,o=f.isMobile),"isPlaying"in f&&t(6,l=f.isPlaying),"disabled"in f&&t(1,r=f.disabled),"className"in f&&t(2,s=f.className),"click"in f&&t(3,a=f.click)},i.$$.update=()=>{i.$$.dirty&64&&t(4,c=le(l?"tooltip_pause":"tooltip_play")),i.$$.dirty&64&&t(5,n=l?bc:rr)},[o,r,s,a,c,n,l]}class sr extends ke{constructor(e){super(),we(this,e,cv,uv,_e,{isMobile:0,isPlaying:6,disabled:1,className:2,click:3},sv)}}function fv(i){De(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 dv(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),u(t,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(t,"fill","#fff"),u(e,"data-testid",n=i[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),E(e,"prev",i[0]),E(e,"mobile",i[1])},m(o,l){y(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&&E(e,"prev",o[0]),l&2&&E(e,"mobile",o[1])},i:Z,o:Z,d(o){o&&k(e)}}}function mv(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 hv extends ke{constructor(e){super(),we(this,e,mv,dv,_e,{isPrev:0,isMobile:1},fv)}}function vv(i){let e,t;return e=new hv({props:{isMobile:i[0],isPrev:i[2]==="prev"}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function pv(i){let e,t;return e=new pi({props:{testId:"btn-"+i[2],disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[vv]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function gv(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{type:l}=e,{click:r}=e,s;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"disabled"in a&&t(1,o=a.disabled),"type"in a&&t(2,l=a.type),"click"in a&&t(3,r=a.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,s=le(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,l,r,s]}class al extends ke{constructor(e){super(),we(this,e,gv,pv,_e,{isMobile:0,disabled:1,type:2,click:3})}}function bv(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class _v extends ke{constructor(e){super(),we(this,e,null,bv,_e,{})}}function xs(i){let e,t,n,o,l,r,s;return{c(){e=M("path"),t=M("path"),n=M("path"),o=M("path"),l=M("path"),r=M("path"),s=M("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(t,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(t,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"fill","white"),u(l,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(l,"fill","white"),u(r,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(r,"fill","white"),u(s,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(s,"fill","white")},m(a,c){y(a,e,c),y(a,t,c),y(a,n,c),y(a,o,c),y(a,l,c),y(a,r,c),y(a,s,c)},d(a){a&&(k(e),k(t),k(n),k(o),k(l),k(r),k(s))}}}function wv(i){let e,t,n,o=!i[0]&&xs();return{c(){e=M("svg"),t=M("path"),o&&o.c(),u(t,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(t,"fill","white"),u(e,"width",i[1]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(i[1]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",i[2])},m(l,r){y(l,e,r),d(e,t),o&&o.m(e,null)},p(l,[r]){l[0]?o&&(o.d(1),o=null):o||(o=xs(),o.c(),o.m(e,null)),r&2&&u(e,"width",l[1]),r&2&&n!==(n="0 0 "+(l[1]+1)+" 20")&&u(e,"viewBox",n),r&4&&u(e,"data-testid",l[2])},i:Z,o:Z,d(l){l&&k(e),o&&o.d()}}}function kv(i,e,t){let{short:n=!1}=e,o,l;return i.$$set=r=>{"short"in r&&t(0,n=r.short)},i.$$.update=()=>{i.$$.dirty&1&&(t(1,o=n?20:93),t(2,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,l]}class yv extends ke{constructor(e){super(),we(this,e,kv,wv,_e,{short:0})}}function Pv(i){let e,t;return e=new _v({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p:Z,i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Cv(i){let e,t;return e=new yv({props:{short:i[3]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Sv(i){let e,t,n,o;const l=[Cv,Pv],r=[];function s(a,c){return a[1]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){r[e].m(a,c),y(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?r[e].p(a,c):(he(),p(r[f],1,1,()=>{r[f]=null}),ve(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){p(t),o=!1},d(a){a&&k(n),r[e].d(a)}}}function Tv(i){let e,t;return e=new pi({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:[Sv]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Ev(i,e,t){let n,o,l,{logoClickable:r=!1}=e,{videoLogoUrl:s=void 0}=e,{click:a}=e;const c=on(),{logoLink:f,addTimeToLogoLink:h}=c,g=Tt(),v=g.state.positionWithScrubbing$;q(i,v,z=>t(12,n=z));const b=g.ui.currentGridType$;q(i,b,z=>t(10,o=z));const A=g.ui.isMobile;q(i,A,z=>t(11,l=z));let P,T,S;const I=()=>{let z;if(T||!s)z=f;else{const X=Math.round(n);if(h&&X){const $=new URL(s);$.searchParams.append("t",r0(X)),z=$.toString()}else z=s}a(),window.open(z,"_blank")};return i.$$set=z=>{"logoClickable"in z&&t(0,r=z.logoClickable),"videoLogoUrl"in z&&t(8,s=z.videoLogoUrl),"click"in z&&t(9,a=z.click)},i.$$.update=()=>{i.$$.dirty&3074&&t(3,S=(l||pc(o,Lt.L))&&T)},t(2,P=c.logoType===so.VK_VIDEO?le("tooltip_vk_video_logo"):le("tooltip_vk_logo")),t(1,T=c.logoType===so.VK_VIDEO),[r,T,P,S,v,b,A,I,s,a,o,l]}class _c extends ke{constructor(e){super(),we(this,e,Ev,Tv,_e,{logoClickable:0,videoLogoUrl:8,click:9})}}function Av(i){De(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 Lv(i){let e,t,n,o,l,r,s,a;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("path"),r=M("path"),s=M("path"),a=M("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(l,"class","wave wave3 v-8z1bf5"),u(l,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(l,"fill","#fff"),u(r,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(r,"fill","#fff"),u(s,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),E(a,"hidden",!i[1]),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-icon"),u(e,"class","v-8z1bf5"),E(e,"connecting",i[2])},m(c,f){y(c,e,f),d(e,t),d(t,n),d(t,o),d(t,l),d(t,r),d(t,s),d(t,a)},p(c,f){f&2&&E(a,"hidden",!c[1]),f&4&&E(e,"connecting",c[2])},d(c){c&&k(e)}}}function Vv(i){let e,t,n,o,l,r,s,a,c,f,h,g,v,b,A,P,T,S,I,z,X;return{c(){e=M("svg"),t=M("g"),n=M("mask"),o=M("path"),r=M("path"),s=M("path"),c=M("path"),f=M("defs"),h=M("clipPath"),g=M("path"),b=M("filter"),A=M("feFlood"),P=M("feColorMatrix"),T=M("feOffset"),S=M("feGaussianBlur"),I=M("feColorMatrix"),z=M("feBlend"),X=M("feBlend"),u(o,"fill",l=i[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(s,"fill",a=i[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(g,"fill",v=i[1]?"#2688EB":"#fff"),u(g,"d","M0 0h24v24H0z"),u(h,"id","a"),u(A,"flood-opacity","0"),u(A,"result","BackgroundImageFix"),u(P,"in","SourceAlpha"),u(P,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(P,"result","hardAlpha"),u(S,"stdDeviation","2.5"),u(I,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(z,"in2","BackgroundImageFix"),u(z,"result","effect1_dropShadow_4085_178456"),u(X,"in","SourceGraphic"),u(X,"in2","effect1_dropShadow_4085_178456"),u(X,"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($,H){y($,e,H),d(e,t),d(t,n),d(n,o),d(n,r),d(t,s),d(t,c),d(e,f),d(f,h),d(h,g),d(f,b),d(b,A),d(b,P),d(b,T),d(b,S),d(b,I),d(b,z),d(b,X)},p($,H){H&2&&l!==(l=$[1]?"#2688EB":"#fff")&&u(o,"fill",l),H&2&&a!==(a=$[1]?"#2688EB":"#fff")&&u(s,"fill",a),H&2&&v!==(v=$[1]?"#2688EB":"#fff")&&u(g,"fill",v)},d($){$&&k(e)}}}function Iv(i){let e;function t(l,r){return l[0]?Vv:Lv}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,r){o.m(l,r),y(l,e,r)},p(l,[r]){n===(n=t(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(l){l&&k(e),o.d(l)}}}function zv(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,l,r;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"state"in s&&t(3,o=s.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,r=o===wn.CONNECTING),t(1,l=o===wn.CONNECTED))},[n,l,r,o]}class Mv extends ke{constructor(e){super(),we(this,e,zv,Iv,_e,{isMobile:0,state:3},Av)}}function Rv(i){let e,t;return e=new Mv({props:{isMobile:i[0],state:i[1]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Bv(i){let e,t;return e=new pi({props:{ariaLabel:i[3],click:i[2],testId:"btn-chromecast",$$slots:{default:[Rv]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Nv(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,{click:l=Xe}=e,r;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"state"in s&&t(1,o=s.state),"click"in s&&t(2,l=s.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=o===wn.CONNECTED?le("tooltip_chromecast_on"):le("tooltip_chromecast_off"))},[n,o,l,r]}class wc extends ke{constructor(e){super(),we(this,e,Nv,Bv,_e,{isMobile:0,state:1,click:2})}}function Ov(i){let e,t;return e=new tc({props:{isActive:i[1]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Dv(i){let e,t;return e=new pi({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1],ariaLabel:i[3],click:i[2],$$slots:{default:[Ov]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(l.testId=n[1]?"btn-live":"btn-live-offset"),o&2&&(l.disabled=n[1]),o&8&&(l.ariaLabel=n[3]),o&4&&(l.click=n[2]),o&18&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Fv(i,e,t){let{isMobile:n=!1}=e,{isActiveLive:o=!1}=e,{click:l}=e,r;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"isActiveLive"in s&&t(1,o=s.isActiveLive),"click"in s&&t(2,l=s.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=o?"":le("tooltip_live"))},[n,o,l,r]}class kc extends ke{constructor(e){super(),we(this,e,Fv,Dv,_e,{isMobile:0,isActiveLive:1,click:2})}}function Hv(i){De(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 Uv(i){let e,t,n,o;const l=i[9].default,r=Mn(l,i,i[8],null);return{c(){e=w("div"),t=w("div"),r&&r.c(),u(t,"class","tooltip v-5ygsa2"),E(t,"active",i[0]),E(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(s,a){y(s,e,a),d(e,t),r&&r.m(t,null),i[10](t),i[11](e),o=!0},p(s,[a]){r&&r.p&&(!o||a&256)&&Bn(r,l,s,s[8],o?Rn(l,s[8],a,null):Nn(s[8]),null),(!o||a&1)&&E(t,"active",s[0]),(!o||a&2)&&E(t,"pointer",s[1]),(!o||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){o||(m(r,s),o=!0)},o(s){p(r,s),o=!1},d(s){s&&k(e),r&&r.d(s),i[10](null),i[11](null)}}}function jv(i,e,t){let n,{$$slots:o={},$$scope:l}=e,{active:r=!1}=e,{pointer:s=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,h,g;function v(P){if(!g)return 0;const{width:T}=g.getBoundingClientRect(),S=T/2;return P<S?S:P>f-S?f-S:P}function b(P){Ge[P?"unshift":"push"](()=>{g=P,t(4,g)})}function A(P){Ge[P?"unshift":"push"](()=>{h=P,t(3,h)})}return i.$$set=P=>{"active"in P&&t(0,r=P.active),"pointer"in P&&t(1,s=P.pointer),"translateXPx"in P&&t(6,a=P.translateXPx),"translateYPx"in P&&t(2,c=P.translateYPx),"containerWidth"in P&&t(7,f=P.containerWidth),"$$scope"in P&&t(8,l=P.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=v(a))},[r,s,c,h,g,n,a,f,l,o,b,A]}class Wv extends ke{constructor(e){super(),we(this,e,jv,Uv,_e,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Hv)}}const yc=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function qv(i){De(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 $s(i){let e;function t(l,r){return l[2]&&l[10].completed===!1?Gv:Zv}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,r){o.m(l,r),y(l,e,r)},p(l,r){n===(n=t(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&k(e),o.d(l)}}}function Zv(i){let e=(i[10].text||"")+"",t;return{c(){t=Ue(e)},m(n,o){y(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&$e(t,e)},d(n){n&&k(t)}}}function Gv(i){let e=le("tooltip_episode_unfinished")+"",t;return{c(){t=Ue(e)},m(n,o){y(n,t,o)},p:Z,d(n){n&&k(t)}}}function Yv(i){let e,t,n,o,l,r,s,a,c=i[10]&&$s(i);return{c(){e=w("div"),t=w("div"),o=R(),l=w("div"),c&&c.c(),r=R(),s=w("div"),a=Ue(i[0]),u(t,"class","preview v-l51fc1"),u(t,"style",n=`width: ${i[3]}px; height: ${i[4]}px; background-image: url(${i[5]}); background-size: ${i[6]}px ${i[7]}px; background-position: ${i[8]}px ${i[9]}px; transform: translateY(${i[11]%180?-35:0}px) rotate(${i[11]}deg);`),u(l,"class","episode v-l51fc1"),u(s,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),E(e,"mobile",i[1])},m(f,h){y(f,e,h),d(e,t),d(e,o),d(e,l),c&&c.m(l,null),d(e,r),d(e,s),d(s,a)},p(f,[h]){h&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(t,"style",n),f[10]?c?c.p(f,h):(c=$s(f),c.c(),c.m(l,null)):c&&(c.d(1),c=null),h&1&&$e(a,f[0]),h&2&&E(e,"mobile",f[1])},i:Z,o:Z,d(f){f&&k(e),c&&c.d()}}}const $n=150;function Kv(i,e,t){let n,{time:o=""}=e,{isMobile:l=!1}=e,{videoEpisodes:r=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const g=Tt().ui.rotateAlpha;q(i,g,H=>t(11,n=H));let v,b,A,P,T,S,I,z;function X(){let H=s.frameWidth,B=s.frameHeight;return H>$n?(B=B/H*$n,H=$n):B>$n&&(H=H/B*$n,B=$n),{width:H,height:B}}function $(H){let B;s.isUV?B=Math.floor(c*H/s.frequency):B=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*H)));const ne=Math.floor(B/s.countPerImage),re=Math.floor(B%s.countPerImage/s.countPerRow),L=B%s.countPerRow;let ue=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&ne===Math.floor(s.countTotal/s.countPerImage)&&(ue=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&ue++);let J=s.countPerRow;!s.isUV&&ne===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(J=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const U=v*J,_=b*ue,Y=-L*v,ae=-re*b;return{imgSrc:s.links[ne],imgWidth:U,imgHeight:_,imgOffsetX:Y,imgOffsetY:ae}}return i.$$set=H=>{"time"in H&&t(0,o=H.time),"isMobile"in H&&t(1,l=H.isMobile),"videoEpisodes"in H&&t(13,r=H.videoEpisodes),"previewThumbsData"in H&&t(14,s=H.previewThumbsData),"progress"in H&&t(15,a=H.progress),"duration"in H&&t(16,c=H.duration),"isInteractive"in H&&t(2,f=H.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:A,imgWidth:P,imgHeight:T,imgOffsetX:S,imgOffsetY:I}=$(a),A,(t(6,P),t(15,a)),(t(7,T),t(15,a)),(t(8,S),t(15,a)),(t(9,I),t(15,a))),i.$$.dirty&106496&&t(10,z=yc(a,c,r))},t(3,{width:v,height:b}=X(),v,t(4,b)),[o,l,f,v,b,A,P,T,S,I,z,n,g,r,s,a,c]}class Xv extends ke{constructor(e){super(),we(this,e,Kv,Yv,_e,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},qv)}}function Qv(i){De(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 Jv(i){let e,t;return{c(){e=w("span"),t=Ue(i[7]),u(e,"class","time v-5lzly8")},m(n,o){y(n,e,o),d(e,t)},p(n,o){o[0]&128&&$e(t,n[7])},i:Z,o:Z,d(n){n&&k(e)}}}function xv(i){let e,t;return e=new Xv({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function $v(i){let e,t,n,o;const l=[xv,Jv],r=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){r[e].m(a,c),y(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?r[e].p(a,c):(he(),p(r[f],1,1,()=>{r[f]=null}),ve(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){p(t),o=!1},d(a){a&&k(n),r[e].d(a)}}}function ep(i){let e,t,n,o;const l=[i[9]];let r={$$slots:{default:[$v]},$$scope:{ctx:i}};for(let s=0;s<l.length;s+=1)r=Y1(r,l[s]);return e=new Wv({props:r}),n=new lr({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:le("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:le("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(mt.TIMELINE),hideHandel:i[2]}}),{c(){F(e.$$.fragment),t=R(),F(n.$$.fragment)},m(s,a){O(e,s,a),y(s,t,a),O(n,s,a),o=!0},p(s,a){const c=a[0]&512?V0(l,[I0(s[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:s}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=s[11]),a[0]&1024&&(f.isMobile=s[10]),a[0]&2&&(f.ariaValueMax=s[1]),a[0]&64&&(f.ariaValueNow=Math.round(s[6]*100)),a[0]&48&&(f.ariaValueText=le("aria_timeline_value",{position:s[5],duration:s[4]})),a[0]&4096&&(f.loadedProgress=s[12]),a[0]&64&&(f.filledProgress=s[6]),a[0]&64&&(f.handleProgress=s[6]),a[0]&8&&(f.videoEpisodes=s[3]),a[0]&8192&&(f.disabled=s[13].has(mt.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){o||(m(e.$$.fragment,s),m(n.$$.fragment,s),o=!0)},o(s){p(e.$$.fragment,s),p(n.$$.fragment,s),o=!1},d(s){s&&k(t),D(e,s),D(n,s)}}}function tp(i,e,t){let n,o,l,r,s,a,c,f,h,g,v,{showTimeline:b=!1}=e;const A=Tt(),P=on(),T=A.state.bufferedProgress$;q(i,T,G=>t(12,g=G));const S=A.state.positionWithScrubbing$;q(i,S,G=>t(39,a=G));const I=A.state.duration$;q(i,I,G=>t(1,l=G));const z=A.state.isLive$;q(i,z,G=>t(0,o=G));const X=A.state.isActiveLive$;q(i,X,G=>t(11,h=G));const $=A.ui.isMobile;q(i,$,G=>t(10,f=G));const H=P.features.episodes?A.actions.internal.getVideoEpisodes():void 0,B=A.actions.internal.getPreviewThumbsData(),ne=A.state.interactiveEpisodes$;q(i,ne,G=>t(40,c=G));const re=A.state.isInteractive,L=A.state.isInteractiveTime$;q(i,L,G=>t(2,r=G));const ue=A.state.isInteractiveExpectation$;q(i,ue,G=>t(38,s=G));const J=A.actions.internal.correctSeekTimeToInteractive,U=A.ui.controls.disabledControls$;q(i,U,G=>t(13,v=G));let _,Y,ae,be,me=!1,se="",Te=0,K=0,V=0,oe;function x(G){return!J||!re?G:J(G*l)/l}function Ee(G){A.actions.internal.startScrubbing(x(G))}function N(G){r||A.actions.internal.progressScrubbing(x(G))}function ee(G){A.actions.internal.completeScrubbing(x(G)),t(34,me=!1)}function Ie(G,j,We){ye(G,j,We),t(34,me=!0)}function Ce(G,j,We){ye(G,j,We),t(34,me=!0)}function pe(){t(34,me=!1)}function ye(G,j,We){t(8,V=G),t(35,Te=j),We&&t(36,K=We),t(7,se=Pe(G))}function Pe(G){const j=_n((o?1-G:G)*l);return o?`-${j}`:j}return i.$$set=G=>{"showTimeline"in G&&t(33,b=G.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,_=re?c:H),i.$$.dirty[0]&2&&t(4,Y=_n(l)),i.$$.dirty[1]&256&&t(5,ae=_n(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,be=a/l),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,oe=s||r),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:K,translateXPx:Te,translateYPx:re&&B?-36:-16,active:me&&b&&!oe,pointer:!P.features.timelinePreview||!B||o})},[o,l,r,_,Y,ae,be,se,V,n,f,h,g,v,P,T,S,I,z,X,$,B,ne,re,L,ue,U,Ee,N,ee,Ie,Ce,pe,b,me,Te,K,oe,s,a,c]}let ip=class extends ke{constructor(e){super(),we(this,e,tp,ep,_e,{showTimeline:33},Qv,[-1,-1])}};function np(i){let e,t;return e=new lr({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:le("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){F(e.$$.fragment)},m(n,o){O(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=le("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){D(e,n)}}}function op(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const s=Tt().ui.isMobile;q(i,s,h=>t(4,n=h));let a,c,f;return i.$$set=h=>{"position"in h&&t(6,o=h.position),"duration"in h&&t(0,l=h.duration)},i.$$.update=()=>{i.$$.dirty&1&&t(1,a=_n(l)),i.$$.dirty&64&&t(2,c=_n(o)),i.$$.dirty&65&&t(3,f=o/l)},[l,a,c,f,n,s,o]}class Pc extends ke{constructor(e){super(),we(this,e,op,np,_e,{position:6,duration:0})}}function lp(i){De(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 rp(i){let e;return{c(){e=w("div"),u(e,"class","timeline-stub v-1gqonyf"),E(e,"mobile",i[2])},m(t,n){y(t,e,n)},p(t,n){n&4&&E(e,"mobile",t[2])},i:Z,o:Z,d(t){t&&k(e)}}}function sp(i){let e,t,n,o;const l=[up,ap],r=[];function s(a,c){return a[0]?0:1}return t=s(i),n=r[t]=l[t](i),{c(){e=w("div"),n.c(),u(e,"class","timeline v-1gqonyf"),E(e,"mobile",i[2])},m(a,c){y(a,e,c),r[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?r[t].p(a,c):(he(),p(r[f],1,1,()=>{r[f]=null}),ve(),n=r[t],n?n.p(a,c):(n=r[t]=l[t](a),n.c()),m(n,1),n.m(e,null)),(!o||c&4)&&E(e,"mobile",a[2])},i(a){o||(m(n),o=!0)},o(a){p(n),o=!1},d(a){a&&k(e),r[t].d()}}}function ap(i){let e,t;return e=new ip({props:{showTimeline:i[1]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function up(i){let e,t;return e=new Pc({props:{position:i[3],duration:i[4]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function cp(i){let e,t,n,o;const l=[sp,rp],r=[];function s(a,c){return a[1]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){r[e].m(a,c),y(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?r[e].p(a,c):(he(),p(r[f],1,1,()=>{r[f]=null}),ve(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){p(t),o=!1},d(a){a&&k(n),r[e].d(a)}}}function fp(i,e,t){let n,o,l,r,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const h=Tt(),g=h.state.isLive$;q(i,g,T=>t(12,n=T));const v=h.ads.duration;q(i,v,T=>t(4,r=T));const b=h.ads.position;q(i,b,T=>t(3,l=T));const A=h.ui.isMobile;q(i,A,T=>t(2,o=T));let P;return i.$$set=T=>{"isAds"in T&&t(0,s=T.isAds),"canRewindLive"in T&&t(9,a=T.canRewindLive),"isRewindableLive"in T&&t(10,c=T.isRewindableLive),"isHidden"in T&&t(11,f=T.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,P=!f&&(!n||n&&a&&c||s))},[s,P,o,l,r,g,v,b,A,a,c,f,n]}class Cc extends ke{constructor(e){super(),we(this,e,fp,cp,_e,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},lp)}}function dp(i){let e,t,n,o;return{c(){e=M("svg"),t=M("path"),n=M("path"),o=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(o,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(l,r){y(l,e,r),d(e,t),d(e,n),d(e,o)},p:Z,i:Z,o:Z,d(l){l&&k(e)}}}class mp extends ke{constructor(e){super(),we(this,e,null,dp,_e,{})}}function hp(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"opacity",".7"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(t,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class vp extends ke{constructor(e){super(),we(this,e,null,hp,_e,{})}}function pp(i){De(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 gp(i){let e,t,n,o;e=new mp({});function l(a,c){if(a[2]===qn.FULL)return wp;if(a[2]===qn.COUNT)return _p}let r=l(i),s=r&&r(i);return{c(){F(e.$$.fragment),t=R(),s&&s.c(),n=bt()},m(a,c){O(e,a,c),y(a,t,c),s&&s.m(a,c),y(a,n,c),o=!0},p(a,c){r===(r=l(a))&&s?s.p(a,c):(s&&s.d(1),s=r&&r(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){o||(m(e.$$.fragment,a),o=!0)},o(a){p(e.$$.fragment,a),o=!1},d(a){a&&(k(t),k(n)),D(e,a),s&&s.d(a)}}}function bp(i){let e,t,n,o,l,r;return l=new vp({}),{c(){e=w("span"),t=Ue(i[1]),n=R(),o=w("div"),F(l.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(s,a){y(s,e,a),d(e,t),y(s,n,a),y(s,o,a),O(l,o,null),r=!0},p(s,a){(!r||a&2)&&$e(t,s[1])},i(s){r||(m(l.$$.fragment,s),r=!0)},o(s){p(l.$$.fragment,s),r=!1},d(s){s&&(k(e),k(n),k(o)),D(l)}}}function _p(i){let e,t=i[0].length+"",n;return{c(){e=w("span"),n=Ue(t),u(e,"class","text count v-1yhs2ga")},m(o,l){y(o,e,l),d(e,n)},p(o,l){l&1&&t!==(t=o[0].length+"")&&$e(n,t)},d(o){o&&k(e)}}}function wp(i){let e,t;return{c(){e=w("span"),t=Ue(i[1]),u(e,"class","text v-1yhs2ga")},m(n,o){y(n,e,o),d(e,t)},p(n,o){o&2&&$e(t,n[1])},d(n){n&&k(e)}}}function kp(i){let e,t,n,o;const l=[bp,gp],r=[];function s(a,c){return a[4]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){r[e].m(a,c),y(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?r[e].p(a,c):(he(),p(r[f],1,1,()=>{r[f]=null}),ve(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){p(t),o=!1},d(a){a&&k(n),r[e].d(a)}}}function yp(i){let e,t;return e=new pi({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:[kp]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Pp(i,e,t){var I,z,X,$,H;let n,o,l,r,{position:s=0}=e,{duration:a=0}=e,{timeCodes:c=[]}=e;const f=Tt(),h=(z=(I=f.callbacks)==null?void 0:I.onEpisodeChanged)!=null?z:Xe,g=($=(X=f.callbacks)==null?void 0:X.onEpisodeClicked)!=null?$:Xe,v=!!((H=f.callbacks)!=null&&H.onEpisodeClicked),b=f.ui.currentGridType$;q(i,b,B=>t(13,l=B));const A=f.ui.isMobile;q(i,A,B=>t(4,r=B));let P,T,S;return i.$$set=B=>{"position"in B&&t(9,s=B.position),"duration"in B&&t(10,a=B.duration),"timeCodes"in B&&t(0,c=B.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&1536&&t(12,n=s/a),i.$$.dirty&7169){const B=yc(n,a,c);B&&(P==null?void 0:P.text)!==B.text&&(h(B),t(11,P=B))}i.$$.dirty&2048&&t(1,o=(P==null?void 0:P.text)||""),i.$$.dirty&8192&&(dn(l,Lt.XL)?t(2,T=qn.FULL):dn(l,Lt.M)&&Wh(l,Lt.XL)?t(2,T=qn.COUNT):t(2,T=qn.SHORT)),i.$$.dirty&2&&t(3,S=`${le("tooltip_episodes")}: ${o}`)},[c,o,T,S,r,g,v,b,A,s,a,P,n,l]}class Sc extends ke{constructor(e){super(),we(this,e,Pp,yp,_e,{position:9,duration:10,timeCodes:0},pp)}}function Cp(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(t,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,l){y(o,e,l),d(e,t),d(e,n)},p:Z,i:Z,o:Z,d(o){o&&k(e)}}}class Sp extends ke{constructor(e){super(),we(this,e,null,Cp,_e,{})}}function Tp(i){let e,t;return e=new Sp({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ep(i){let e,t;return e=new pi({props:{className:i[0]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:le("tooltip_interactive_seek"),disabled:i[1],click:i[2],$$slots:{default:[Tp]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Ap(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=r=>{"hidden"in r&&t(0,n=r.hidden),"disabled"in r&&t(1,o=r.disabled),"click"in r&&t(2,l=r.click)},[n,o,l]}class Tc extends ke{constructor(e){super(),we(this,e,Ap,Ep,_e,{hidden:0,disabled:1,click:2})}}function Lp(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),E(n,"hidden",!i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){y(o,e,l),d(e,t),d(e,n)},p(o,[l]){l&1&&E(n,"hidden",!o[0])},i:Z,o:Z,d(o){o&&k(e)}}}function Vp(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class Ip extends ke{constructor(e){super(),we(this,e,Vp,Lp,_e,{isOpened:0})}}function zp(i){let e,t;return e=new Ip({props:{isOpened:i[2]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Mp(i){let e,t;return e=new pi({props:{className:i[0]?"hidden":"",testId:"btn-graph",disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[zp]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Rp(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{graphIsOpened:l=!1}=e,{click:r}=e,s;return i.$$set=a=>{"hidden"in a&&t(0,n=a.hidden),"disabled"in a&&t(1,o=a.disabled),"graphIsOpened"in a&&t(2,l=a.graphIsOpened),"click"in a&&t(3,r=a.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,s=le(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,l,r,s]}class Ec extends ke{constructor(e){super(),we(this,e,Rp,Mp,_e,{hidden:0,disabled:1,graphIsOpened:2,click:3})}}function Bp(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Np extends ke{constructor(e){super(),we(this,e,null,Bp,_e,{})}}function Op(i){De(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function ea(i){let e;return{c(){e=w("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function Dp(i){let e,t,n,o,l=i[0]&&ea();return n=new Np({}),{c(){l&&l.c(),e=R(),t=w("div"),F(n.$$.fragment),u(t,"class","v-1ot3duq"),E(t,"mobile",i[0])},m(r,s){l&&l.m(r,s),y(r,e,s),y(r,t,s),O(n,t,null),o=!0},p(r,s){r[0]?l||(l=ea(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),(!o||s&1)&&E(t,"mobile",r[0])},i(r){o||(m(n.$$.fragment,r),o=!0)},o(r){p(n.$$.fragment,r),o=!1},d(r){r&&(k(e),k(t)),l&&l.d(r),D(n)}}}function Fp(i){let e,t;return e=new pi({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-replay",ariaLabel:le("tooltip_restart"),disabled:i[1],click:i[3],$$slots:{default:[Dp]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Hp(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{className:l=""}=e,{click:r=Xe}=e;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"disabled"in s&&t(1,o=s.disabled),"className"in s&&t(2,l=s.className),"click"in s&&t(3,r=s.click)},[n,o,l,r]}class ar extends ke{constructor(e){super(),we(this,e,Hp,Fp,_e,{isMobile:0,disabled:1,className:2,click:3},Op)}}function Up(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class jp extends ke{constructor(e){super(),we(this,e,null,Up,_e,{})}}function Wp(i){let e,t;return e=new jp({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function qp(i){let e,t;return e=new pi({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:le("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[Wp]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Zp(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=r=>{"hidden"in r&&t(0,n=r.hidden),"disabled"in r&&t(1,o=r.disabled),"click"in r&&t(2,l=r.click)},[n,o,l]}class Ac extends ke{constructor(e){super(),we(this,e,Zp,qp,_e,{hidden:0,disabled:1,click:2})}}function Gp(i){De(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 Yp(i){let e,t,n,o;return{c(){e=w("img"),u(e,"class","icon v-1x1zctw"),gr(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(l,r){y(l,e,r),n||(o=Le(e,"error",i[7]),n=!0)},p(l,r){r&1&&!gr(e.src,t=l[0])&&u(e,"src",t)},d(l){l&&k(e),n=!1,o()}}}function Kp(i){let e;return{c(){e=w("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(t,n){y(t,e,n)},p:Z,d(t){t&&k(e)}}}function Xp(i){let e;function t(l,r){return l[5]?Kp:Yp}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,r){o.m(l,r),y(l,e,r)},p(l,r){n===(n=t(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&k(e),o.d(l)}}}function Qp(i){let e,t;return e=new pi({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[Xp]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Jp(i,e,t){let n,o,l,{iconUrl:r}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=Xe}=e;const h=()=>{t(5,l=!0)};return i.$$set=g=>{"iconUrl"in g&&t(0,r=g.iconUrl),"ariaLabel"in g&&t(1,s=g.ariaLabel),"disabled"in g&&t(8,a=g.disabled),"testId"in g&&t(2,c=g.testId),"onClick"in g&&t(3,f=g.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===Xe),i.$$.dirty&272&&t(6,o=n||a)},t(5,l=!1),[r,s,c,f,n,l,o,h,a]}class Lc extends ke{constructor(e){super(),we(this,e,Jp,Qp,_e,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},Gp)}}function xp(i){De(i,"v-1cwzjrb",".wrapper-bottom.v-1cwzjrb.v-1cwzjrb{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-1cwzjrb>.v-1cwzjrb{pointer-events:auto}.controls.v-1cwzjrb.v-1cwzjrb{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-1cwzjrb.v-1cwzjrb,.controls-right.v-1cwzjrb.v-1cwzjrb{display:flex;align-content:center}.controls-left.v-1cwzjrb.v-1cwzjrb{flex-grow:1;min-width:0}.controls-left.v-1cwzjrb > *:not(:first-child),.controls-right.v-1cwzjrb > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-1cwzjrb.v-1cwzjrb{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1cwzjrb.v-1cwzjrb{transition:none}.settings-menu.v-1cwzjrb.v-1cwzjrb{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function ta(i,e,t){const n=i.slice();return n[166]=e[t].iconUrl,n[167]=e[t].ariaLabel,n[168]=e[t].testId,n[169]=e[t].onClick,n[170]=e[t].tooltip,n[172]=t,n}function ia(i){let e,t,n;function o(r){i[137](r)}let l={disabled:!i[9],controlInfo:i[92].prevButton,tooltipContent:le("tooltip_previous"),$$slots:{default:[$p]},$$scope:{ctx:i}};return i[30]!==void 0&&(l.width=i[30]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[0]&512&&(a.disabled=!r[9]),s[0]&4608|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[0]&1073741824&&(t=!0,a.width=r[30],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function $p(i){let e,t;return e=new al({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function na(i){let e,t,n;function o(r){i[138](r)}let l={disabled:i[66],controlInfo:i[92].replayButton,tooltipContent:le("tooltip_restart"),$$slots:{default:[e5]},$$scope:{ctx:i}};return i[31]!==void 0&&(l.width=i[31]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[2]&16&&(a.disabled=r[66]),s[2]&16|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&1&&(t=!0,a.width=r[31],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function e5(i){let e,t;return e=new ar({props:{click:i[115],disabled:i[66]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function oa(i){let e,t,n;function o(r){i[139](r)}let l={controlInfo:i[92].playButton,tooltipContent:i[57],disabled:i[67],$$slots:{default:[t5]},$$scope:{ctx:i}};return i[32]!==void 0&&(l.width=i[32]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[1]&67108864&&(a.tooltipContent=r[57]),s[2]&32&&(a.disabled=r[67]),s[1]&2097152|s[2]&32|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&2&&(t=!0,a.width=r[32],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function t5(i){let e,t;return e=new sr({props:{isMobile:!1,isPlaying:i[52],click:i[77],disabled:i[67]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function la(i){let e,t,n;function o(r){i[140](r)}let l={disabled:!i[8],controlInfo:i[92].nextButton,tooltipContent:le("tooltip_next"),$$slots:{default:[i5]},$$scope:{ctx:i}};return i[33]!==void 0&&(l.width=i[33]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[0]&256&&(a.disabled=!r[8]),s[0]&2304|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&4&&(t=!0,a.width=r[33],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function i5(i){let e,t;return e=new al({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function n5(i){let e,t,n,o,l=i[108]&&o5(i),r=i[107]&&r5(i),s=i[106]&&a5(i);return{c(){l&&l.c(),e=R(),r&&r.c(),t=R(),s&&s.c(),n=bt()},m(a,c){l&&l.m(a,c),y(a,e,c),r&&r.m(a,c),y(a,t,c),s&&s.m(a,c),y(a,n,c),o=!0},p(a,c){a[108]&&l.p(a,c),a[107]&&r.p(a,c),a[106]&&s.p(a,c)},i(a){o||(m(l),m(r),m(s),o=!0)},o(a){p(l),p(r),p(s),o=!1},d(a){a&&(k(e),k(t),k(n)),l&&l.d(a),r&&r.d(a),s&&s.d(a)}}}function o5(i){let e,t,n;function o(r){i[141](r)}let l={disabled:i[65],controlInfo:i[92].playPrevChapterButton,tooltipContent:le("tooltip_interactive_go_back"),disabledTooltipContent:i[110]&&le(i[110]),$$slots:{default:[l5]},$$scope:{ctx:i}};return i[34]!==void 0&&(l.width=i[34]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[2]&8&&(a.disabled=r[65]),s[0]&131072|s[2]&8|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&8&&(t=!0,a.width=r[34],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function l5(i){let e,t;return e=new Ac({props:{disabled:i[65],click:i[17]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function r5(i){let e,t,n;function o(r){i[142](r)}let l={disabled:i[68],controlInfo:i[92].seekToInteractiveButton,tooltipContent:le("tooltip_interactive_seek"),$$slots:{default:[s5]},$$scope:{ctx:i}};return i[35]!==void 0&&(l.width=i[35]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[2]&64&&(a.disabled=r[68]),s[0]&32768|s[2]&64|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&16&&(t=!0,a.width=r[35],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function s5(i){let e,t;return e=new Tc({props:{disabled:i[68],click:i[15]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function a5(i){let e,t,n;function o(r){i[143](r)}let l={controlInfo:i[92].interactiveGraphButton,tooltipContent:i[58],disabled:i[69],$$slots:{default:[u5]},$$scope:{ctx:i}};return i[36]!==void 0&&(l.width=i[36]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[1]&134217728&&(a.tooltipContent=r[58]),s[2]&128&&(a.disabled=r[69]),s[0]&65536|s[1]&524288|s[2]&128|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&32&&(t=!0,a.width=r[36],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function u5(i){let e,t;return e=new Ec({props:{click:i[16],graphIsOpened:i[50],disabled:i[69]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function ra(i){let e,t,n;function o(r){i[144](r)}let l={controlInfo:i[92].liveButton,tooltipContent:i[59],$$slots:{default:[c5]},$$scope:{ctx:i}};return i[37]!==void 0&&(l.width=i[37]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[1]&268435456&&(a.tooltipContent=r[59]),s[0]&268435456|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&64&&(t=!0,a.width=r[37],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function c5(i){let e,t;return e=new kc({props:{isActiveLive:i[28],click:i[112],isMobile:!1}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&268435456&&(l.isActiveLive=n[28]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function sa(i){let e,t,n;function o(r){i[145](r)}let l={isMobile:!1,showDuration:i[64],position:i[4]?i[71]:i[72],duration:i[4]?i[73]:i[74]};return i[38]!==void 0&&(l.width=i[38]),e=new hc({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[2]&4&&(a.showDuration=r[64]),s[0]&16|s[2]&1536&&(a.position=r[4]?r[71]:r[72]),s[0]&16|s[2]&6144&&(a.duration=r[4]?r[73]:r[74]),!t&&s[1]&128&&(t=!0,a.width=r[38],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function aa(i){let e,t;return e=new Sc({props:{position:i[72],duration:i[74],timeCodes:i[93]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function f5(i){let e,t,n=i[27]&&aa(i);return{c(){n&&n.c(),e=bt()},m(o,l){n&&n.m(o,l),y(o,e,l),t=!0},p(o,l){o[27]?n?(n.p(o,l),l[0]&134217728&&m(n,1)):(n=aa(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),ve())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&k(e),n&&n.d(o)}}}function d5(i){var n;let e,t;return e=new Lc({props:{iconUrl:i[166],ariaLabel:(n=i[167])!=null?n:i[170],testId:i[168],onClick:i[169]}}),{c(){F(e.$$.fragment)},m(o,l){O(e,o,l),t=!0},p(o,l){var s;const r={};l[1]&32768&&(r.iconUrl=o[166]),l[1]&32768&&(r.ariaLabel=(s=o[167])!=null?s:o[170]),l[1]&32768&&(r.testId=o[168]),l[1]&32768&&(r.onClick=o[169]),e.$set(r)},i(o){t||(m(e.$$.fragment,o),t=!0)},o(o){p(e.$$.fragment,o),t=!1},d(o){D(e,o)}}}function ua(i){let e,t;return e=new Gt({props:{tooltipContent:i[170],controlInfo:i[92].additionalButtons[i[172]],width:40,$$slots:{default:[d5]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&32768&&(l.tooltipContent=n[170]),o[1]&32768|o[5]&262144&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ca(i){let e,t,n;function o(r){i[148](r)}let l={disabled:!i[6],controlInfo:i[92].vkLogo,tooltipContent:i[60],$$slots:{default:[m5]},$$scope:{ctx:i}};return i[40]!==void 0&&(l.width=i[40]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[0]&64&&(a.disabled=!r[6]),s[1]&536870912&&(a.tooltipContent=r[60]),s[0]&192|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&512&&(t=!0,a.width=r[40],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function m5(i){let e,t;return e=new _c({props:{click:i[78],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function h5(i){let e,t;return e=new Qh({props:{isAudioAvailable:i[70],click:i[114]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function fa(i){let e,t,n;function o(r){i[150](r)}let l={controlInfo:i[92].subtitles,tooltipContent:i[61],$$slots:{default:[v5]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[1]&1073741824&&(a.tooltipContent=r[61]),s[0]&262144|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&2048&&(t=!0,a.width=r[42],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function v5(i){let e,t;return e=new ch({props:{isSubtitlesEnabled:i[18],click:i[79]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function da(i){var o;let e,t,n;return t=new mc({props:{supportLink:i[10],playerControlsHeight:(o=i[56])==null?void 0:o.clientHeight,returnFocus:i[14]}}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","settings-menu v-1cwzjrb")},m(l,r){y(l,e,r),O(t,e,null),n=!0},p(l,r){var a;const s={};r[0]&1024&&(s.supportLink=l[10]),r[1]&33554432&&(s.playerControlsHeight=(a=l[56])==null?void 0:a.clientHeight),r[0]&16384&&(s.returnFocus=l[14]),t.$set(s)},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){p(t.$$.fragment,l),n=!1},d(l){l&&k(e),D(t)}}}function ma(i){let e,t,n;function o(r){i[151](r)}let l={controlInfo:i[92].settings,tooltipContent:i[76]?void 0:le("tooltip_settings_off"),$$slots:{default:[p5]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[2]&16384&&(a.tooltipContent=r[76]?void 0:le("tooltip_settings_off")),s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&4096&&(t=!0,a.width=r[43],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function p5(i){let e,t;return e=new or({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ha(i){let e,t,n;function o(r){i[152](r)}let l={controlInfo:i[92].fullscreen,tooltipContent:i[62],$$slots:{default:[g5]},$$scope:{ctx:i}};return i[44]!==void 0&&(l.width=i[44]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[2]&1&&(a.tooltipContent=r[62]),s[0]&8192|s[1]&262144|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&8192&&(t=!0,a.width=r[44],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function g5(i){let e,t;return e=new gc({props:{click:i[13],isFullscreen:i[49]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function va(i){let e,t,n;function o(r){i[153](r)}let l={controlInfo:i[92].chromecast,tooltipContent:i[63],$$slots:{default:[b5]},$$scope:{ctx:i}};return i[45]!==void 0&&(l.width=i[45]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[2]&2&&(a.tooltipContent=r[63]),s[1]&131072|s[5]&262144&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&16384&&(t=!0,a.width=r[45],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function b5(i){let e,t;return e=new wc({props:{isMobile:!1,state:i[48],click:i[111]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function _5(i){let e,t,n,o,l,r,s,a,c,f,h,g,v,b,A,P,T,S,I,z,X,$,H,B,ne,re,L,ue,J;t=new Cc({props:{isHidden:!i[55],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[51]}});let U=i[54]&&ia(i),_=i[19]&&na(i),Y=i[20]&&oa(i),ae=i[53]&&la(i),be=i[105]&&n5(i),me=!i[4]&&i[47]&&ra(i),se=i[26]&&sa(i);function Te(G){i[146](G)}let K={className:"w-max",disabled:!i[27],controlInfo:i[92].episodes,tooltipContent:le("tooltip_episodes"),$$slots:{default:[f5]},$$scope:{ctx:i}};i[39]!==void 0&&(K.width=i[39]),v=new Gt({props:K}),Ge.push(()=>Ct(v,"width",Te));let V=qt(i[46]),oe=[];for(let G=0;G<V.length;G+=1)oe[G]=ua(ta(i,V,G));const x=G=>p(oe[G],1,1,()=>{oe[G]=null});let Ee=i[24]&&ca(i);function N(G){i[149](G)}let ee={$$slots:{default:[h5]},$$scope:{ctx:i}};i[41]!==void 0&&(ee.width=i[41]),z=new Gt({props:ee}),Ge.push(()=>Ct(z,"width",N));let Ie=i[22]&&fa(i),Ce=!i[75]&&!i[4]&&da(i),pe=i[23]&&ma(i),ye=i[25]&&ha(i),Pe=i[21]&&va(i);return{c(){e=w("div"),F(t.$$.fragment),n=R(),o=w("div"),l=w("div"),U&&U.c(),r=R(),_&&_.c(),s=R(),Y&&Y.c(),a=R(),ae&&ae.c(),c=R(),be&&be.c(),f=R(),me&&me.c(),h=R(),se&&se.c(),g=R(),F(v.$$.fragment),P=R(),T=w("div");for(let G=0;G<oe.length;G+=1)oe[G].c();S=R(),Ee&&Ee.c(),I=R(),F(z.$$.fragment),$=R(),Ie&&Ie.c(),H=R(),Ce&&Ce.c(),B=R(),pe&&pe.c(),ne=R(),ye&&ye.c(),re=R(),Pe&&Pe.c(),u(l,"class","controls-left v-1cwzjrb"),Zn(()=>i[147].call(l)),u(T,"class","controls-right v-1cwzjrb"),u(o,"class","controls v-1cwzjrb"),u(e,"class","wrapper-bottom v-1cwzjrb"),E(e,"hidden",i[1]),E(e,"controls-hidden",!i[3]),E(e,"no-smooth",i[2])},m(G,j){y(G,e,j),O(t,e,null),d(e,n),d(e,o),d(o,l),U&&U.m(l,null),d(l,r),_&&_.m(l,null),d(l,s),Y&&Y.m(l,null),d(l,a),ae&&ae.m(l,null),d(l,c),be&&be.m(l,null),d(l,f),me&&me.m(l,null),d(l,h),se&&se.m(l,null),d(l,g),O(v,l,null),A=il(l,i[147].bind(l)),d(o,P),d(o,T);for(let We=0;We<oe.length;We+=1)oe[We]&&oe[We].m(T,null);d(T,S),Ee&&Ee.m(T,null),d(T,I),O(z,T,null),d(T,$),Ie&&Ie.m(T,null),d(T,H),Ce&&Ce.m(T,null),d(T,B),pe&&pe.m(T,null),d(T,ne),ye&&ye.m(T,null),d(T,re),Pe&&Pe.m(T,null),i[154](o),i[155](e),L=!0,ue||(J=[Le(e,"pointermove",i[113]),Le(e,"pointerenter",i[113])],ue=!0)},p(G,j){const We={};j[1]&16777216&&(We.isHidden=!G[55]),j[0]&16&&(We.isAds=G[4]),j[0]&32&&(We.canRewindLive=G[5]),j[1]&1048576&&(We.isRewindableLive=G[51]),t.$set(We),G[54]?U?(U.p(G,j),j[1]&8388608&&m(U,1)):(U=ia(G),U.c(),m(U,1),U.m(l,r)):U&&(he(),p(U,1,1,()=>{U=null}),ve()),G[19]?_?(_.p(G,j),j[0]&524288&&m(_,1)):(_=na(G),_.c(),m(_,1),_.m(l,s)):_&&(he(),p(_,1,1,()=>{_=null}),ve()),G[20]?Y?(Y.p(G,j),j[0]&1048576&&m(Y,1)):(Y=oa(G),Y.c(),m(Y,1),Y.m(l,a)):Y&&(he(),p(Y,1,1,()=>{Y=null}),ve()),G[53]?ae?(ae.p(G,j),j[1]&4194304&&m(ae,1)):(ae=la(G),ae.c(),m(ae,1),ae.m(l,c)):ae&&(he(),p(ae,1,1,()=>{ae=null}),ve()),G[105]&&be.p(G,j),!G[4]&&G[47]?me?(me.p(G,j),j[0]&16|j[1]&65536&&m(me,1)):(me=ra(G),me.c(),m(me,1),me.m(l,h)):me&&(he(),p(me,1,1,()=>{me=null}),ve()),G[26]?se?(se.p(G,j),j[0]&67108864&&m(se,1)):(se=sa(G),se.c(),m(se,1),se.m(l,g)):se&&(he(),p(se,1,1,()=>{se=null}),ve());const tt={};if(j[0]&134217728&&(tt.disabled=!G[27]),j[0]&134217728|j[2]&5120|j[5]&262144&&(tt.$$scope={dirty:j,ctx:G}),!b&&j[1]&256&&(b=!0,tt.width=G[39],Pt(()=>b=!1)),v.$set(tt),j[1]&32768|j[2]&1073741824){V=qt(G[46]);let je;for(je=0;je<V.length;je+=1){const ze=ta(G,V,je);oe[je]?(oe[je].p(ze,j),m(oe[je],1)):(oe[je]=ua(ze),oe[je].c(),m(oe[je],1),oe[je].m(T,S))}for(he(),je=V.length;je<oe.length;je+=1)x(je);ve()}G[24]?Ee?(Ee.p(G,j),j[0]&16777216&&m(Ee,1)):(Ee=ca(G),Ee.c(),m(Ee,1),Ee.m(T,I)):Ee&&(he(),p(Ee,1,1,()=>{Ee=null}),ve());const it={};j[2]&256|j[5]&262144&&(it.$$scope={dirty:j,ctx:G}),!X&&j[1]&1024&&(X=!0,it.width=G[41],Pt(()=>X=!1)),z.$set(it),G[22]?Ie?(Ie.p(G,j),j[0]&4194304&&m(Ie,1)):(Ie=fa(G),Ie.c(),m(Ie,1),Ie.m(T,H)):Ie&&(he(),p(Ie,1,1,()=>{Ie=null}),ve()),!G[75]&&!G[4]?Ce?(Ce.p(G,j),j[0]&16|j[2]&8192&&m(Ce,1)):(Ce=da(G),Ce.c(),m(Ce,1),Ce.m(T,B)):Ce&&(he(),p(Ce,1,1,()=>{Ce=null}),ve()),G[23]?pe?(pe.p(G,j),j[0]&8388608&&m(pe,1)):(pe=ma(G),pe.c(),m(pe,1),pe.m(T,ne)):pe&&(he(),p(pe,1,1,()=>{pe=null}),ve()),G[25]?ye?(ye.p(G,j),j[0]&33554432&&m(ye,1)):(ye=ha(G),ye.c(),m(ye,1),ye.m(T,re)):ye&&(he(),p(ye,1,1,()=>{ye=null}),ve()),G[21]?Pe?(Pe.p(G,j),j[0]&2097152&&m(Pe,1)):(Pe=va(G),Pe.c(),m(Pe,1),Pe.m(T,null)):Pe&&(he(),p(Pe,1,1,()=>{Pe=null}),ve()),(!L||j[0]&2)&&E(e,"hidden",G[1]),(!L||j[0]&8)&&E(e,"controls-hidden",!G[3]),(!L||j[0]&4)&&E(e,"no-smooth",G[2])},i(G){if(!L){m(t.$$.fragment,G),m(U),m(_),m(Y),m(ae),m(be),m(me),m(se),m(v.$$.fragment,G);for(let j=0;j<V.length;j+=1)m(oe[j]);m(Ee),m(z.$$.fragment,G),m(Ie),m(Ce),m(pe),m(ye),m(Pe),L=!0}},o(G){p(t.$$.fragment,G),p(U),p(_),p(Y),p(ae),p(be),p(me),p(se),p(v.$$.fragment,G),oe=oe.filter(Boolean);for(let j=0;j<oe.length;j+=1)p(oe[j]);p(Ee),p(z.$$.fragment,G),p(Ie),p(Ce),p(pe),p(ye),p(Pe),L=!1},d(G){G&&k(e),D(t),U&&U.d(),_&&_.d(),Y&&Y.d(),ae&&ae.d(),be&&be.d(),me&&me.d(),se&&se.d(),D(v),A(),vn(oe,G),Ee&&Ee.d(),D(z),Ie&&Ie.d(),Ce&&Ce.d(),pe&&pe.d(),ye&&ye.d(),Pe&&Pe.d(),i[154](null),i[155](null),ue=!1,Yt(J)}}}function w5(i,e,t){var Ji,Li;let n,o,l,r,s,a,c,f,h,g,v,b,A,P,T,S,I,z,X,$,H,B,ne,re,L,ue,J,U,_,Y,{bottomHidden:ae}=e,{bottomNoSmooth:be}=e,{showControls:me}=e,{controlsElementRef:se=void 0}=e,{isAds:Te=!1}=e,{canRewindLive:K}=e,{logoClickable:V}=e,{logoHidden:oe}=e,{videoLogoUrl:x}=e,{showNextPrevButtons:Ee}=e,{nextButtonActive:N}=e,{prevButtonActive:ee}=e,{isOneVideoPlaylist:Ie=!1}=e,{supportLink:Ce}=e,{customFullscreenSupported:pe=!0}=e,{playNextVideo:ye}=e,{playPrevVideo:Pe}=e,{repeatPlaylist:G}=e,{toggleFullscreen:j}=e,{returnFocus:We}=e,{seekToInteractive:tt}=e,{toggleGraph:it}=e,{playPrevChapter:je}=e;const ze=Tt(),rt=on(),Mt=ze.actions.internal.toggleMuted,Me=ze.actions.internal.togglePlay,Re=ze.actions.internal.pause,Bt=ze.actions.internal.toggleSubtitle,de=(Ji=ze.callbacks)==null?void 0:Ji.onAudioDoesNotExistHint,nt=(Li=ze.callbacks)==null?void 0:Li.onAudioDisabledHint,xe=ze.state.duration$;q(i,xe,ie=>t(74,U=ie));const Qe=ze.state.positionWithScrubbing$;q(i,Qe,ie=>t(72,ue=ie));const qe=ze.state.playbackState$;q(i,qe,ie=>t(127,P=ie));const et=ze.state.chromecastConnected$;q(i,et,ie=>t(75,_=ie));const Fe=ze.state.isAudioAvailable$;q(i,Fe,ie=>t(70,c=ie));const Oe=ze.state.isAudioDisabled,vt=ze.state.isEnded$;q(i,vt,ie=>t(133,H=ie));const st=ze.state.isLive$;q(i,st,ie=>t(47,g=ie));const Kt=ze.state.isActiveLive$;q(i,Kt,ie=>t(128,T=ie));const Et=ze.state.isRewindableLive$;q(i,Et,ie=>t(51,S=ie));const ot=ze.ui.isPictureInPictureActive$;q(i,ot,ie=>t(131,X=ie));const ii=ze.ui.pictureInPictureType$;q(i,ii,ie=>t(130,z=ie));const ft=ze.ui.settingsMenuVisible;q(i,ft,ie=>t(76,Y=ie));const Ke=ze.ui.controls,Vt=ze.actions.internal.getVideoEpisodes(),at=ze.state.chromecastState$;q(i,at,ie=>t(48,v=ie));const gi=ze.state.availableSubtitlesList$;q(i,gi,ie=>t(132,$=ie));const fe=ze.state.currentSubtitle$;q(i,fe,ie=>t(134,B=ie));const Se=Ke.disabledControls$;q(i,Se,ie=>t(136,re=ie));const Ve=ze.ads.duration;q(i,Ve,ie=>t(73,J=ie));const At=ze.ads.position;q(i,At,ie=>t(71,L=ie));const ni=ze.ads.playbackState;q(i,ni,ie=>t(135,ne=ie));const Ae=ze.ui.isFullscreen;q(i,Ae,ie=>t(49,b=ie));const ai=ze.ui.playerSize;q(i,ai,ie=>t(129,I=ie));const ui=ze.ui.currentGridType$;q(i,ui,ie=>t(126,h=ie));const Ut=ze.ui.additionalButtons$;q(i,Ut,ie=>t(46,f=ie));const Ei=ze.actions.internal.replayInteractive,Xt=ze.state.isInteractive,xt=ze.state.isInteractiveGraphEnabled,tn=ze.state.isSeekToInteractiveEnable,nn=ze.state.isPlayPrevChapterEnabled,ht=ze.state.graphIsOpened$;q(i,ht,ie=>t(50,A=ie));const Vi=ze.state.playPrevChapterDisabledTooltip,Ii=()=>ze.actions.internal.toggleChromecast(),ln=()=>ze.actions.internal.switchToActiveLive(),pt=ie=>{ze.ui.controls.tooltipPointerOffsetX.update(()=>ci?Math.min(Math.max(ie.x-ci.x,0),ci.width):0)};let ci;function zi(){ci=se==null?void 0:se.getBoundingClientRect()}en(()=>(window.addEventListener("resize",zi),()=>{window.removeEventListener("resize",zi)}));let Mi,bi,fi,Ri,_i,ji,Qt,oi,Bi,$t,jt,di,wi,Wi,mi,ki,Ni,hi,Oi,yi,vi,Ai,Wt,Jt,ei,li,qi,Zi,ri,Di,Fi,Pi,Ci,St,Nt,Gi,rn,Yi,Ot,Ki,Hi,It,ce,un,Xi;function yn(ie,Hn){let ct=8;const si=(Ln,Un,ul)=>{let Vn=Un?Ln+Un+(Ln?H0:0):Ln;return ul.set({positionStartX:Ln,positionEndX:Vn,isDisplayed:Hn&&Ln!==Vn}),Vn};ct=si(ct,ie.prevButtonWidth,Ke.prevButton),ct=si(ct,ie.replayButtonWidth,Ke.replayButton),ct=si(ct,ie.playButtonWidth,Ke.playButton),ct=si(ct,ie.nextButtonWidth,Ke.nextButton),ct=si(ct,ie.playPrevChapterWidth,Ke.playPrevChapterButton),ct=si(ct,ie.seekToInteractiveWidth,Ke.seekToInteractiveButton),ct=si(ct,ie.interactiveGraphWidth,Ke.interactiveGraphButton),ct=si(ct,ie.liveButtonWidth,Ke.liveButton),ct=si(ct,ie.timeWidth,Ke.time),ct=si(ct,ie.episodesWidth,Ke.episodes),f.forEach((Ln,Un)=>{ct=si(ct,ie.additionalButtonWidths[Un],Ke.additionalButtons[Un])}),ct=si(ct,ie.vkLogoWidth,Ke.vkLogo),ct=si(ct,ie.volumeWidth,Ke.volume),ct=si(ct,ie.subtitlesWidth,Ke.subtitles),ct=si(ct,ie.settingsWidth,Ke.settings),ct=si(ct,ie.fullscreenWidth,Ke.fullscreen),si(ct,ie.chromecastWidth,Ke.chromecast)}function Pn(){Oe?nt==null||nt():c?Mt():de==null||de()}const Cn=Xt?Ei:Ie?Me:G;function Fn(ie){li=ie,t(30,li)}function Q(ie){qi=ie,t(31,qi)}function gt(ie){Zi=ie,t(32,Zi)}function cn(ie){ri=ie,t(33,ri)}function Qi(ie){Di=ie,t(34,Di)}function gn(ie){Fi=ie,t(35,Fi)}function fn(ie){Pi=ie,t(36,Pi)}function co(ie){Ci=ie,t(37,Ci)}function fo(ie){St=ie,t(38,St)}function mo(ie){Nt=ie,t(39,Nt)}function ho(){ei=this.clientWidth,t(29,ei)}function vo(ie){Gi=ie,t(40,Gi)}function po(ie){rn=ie,t(41,rn)}function go(ie){Yi=ie,t(42,Yi)}function bo(ie){Ot=ie,t(43,Ot)}function _o(ie){Ki=ie,t(44,Ki)}function wo(ie){Hi=ie,t(45,Hi)}function W(ie){Ge[ie?"unshift":"push"](()=>{ki=ie,t(56,ki)})}function yt(ie){Ge[ie?"unshift":"push"](()=>{se=ie,t(0,se)})}return i.$$set=ie=>{"bottomHidden"in ie&&t(1,ae=ie.bottomHidden),"bottomNoSmooth"in ie&&t(2,be=ie.bottomNoSmooth),"showControls"in ie&&t(3,me=ie.showControls),"controlsElementRef"in ie&&t(0,se=ie.controlsElementRef),"isAds"in ie&&t(4,Te=ie.isAds),"canRewindLive"in ie&&t(5,K=ie.canRewindLive),"logoClickable"in ie&&t(6,V=ie.logoClickable),"logoHidden"in ie&&t(116,oe=ie.logoHidden),"videoLogoUrl"in ie&&t(7,x=ie.videoLogoUrl),"showNextPrevButtons"in ie&&t(117,Ee=ie.showNextPrevButtons),"nextButtonActive"in ie&&t(8,N=ie.nextButtonActive),"prevButtonActive"in ie&&t(9,ee=ie.prevButtonActive),"isOneVideoPlaylist"in ie&&t(118,Ie=ie.isOneVideoPlaylist),"supportLink"in ie&&t(10,Ce=ie.supportLink),"customFullscreenSupported"in ie&&t(119,pe=ie.customFullscreenSupported),"playNextVideo"in ie&&t(11,ye=ie.playNextVideo),"playPrevVideo"in ie&&t(12,Pe=ie.playPrevVideo),"repeatPlaylist"in ie&&t(120,G=ie.repeatPlaylist),"toggleFullscreen"in ie&&t(13,j=ie.toggleFullscreen),"returnFocus"in ie&&t(14,We=ie.returnFocus),"seekToInteractive"in ie&&t(15,tt=ie.seekToInteractive),"toggleGraph"in ie&&t(16,it=ie.toggleGraph),"playPrevChapter"in ie&&t(17,je=ie.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[4]&4096&&t(125,n=re.has(mt.EPISODE_BUTTON)),i.$$.dirty[4]&4096&&t(69,o=re.has(mt.GRAPH_BUTTON)),i.$$.dirty[4]&4096&&t(68,l=re.has(mt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[4]&4096&&t(67,r=re.has(mt.PLAY_BUTTON)),i.$$.dirty[4]&4096&&t(66,s=re.has(mt.REPLAY_BUTTON)),i.$$.dirty[4]&4096&&t(65,a=re.has(mt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&1&&se&&zi(),i.$$.dirty[0]&16|i.$$.dirty[4]&2056&&t(52,Mi=Te?ne===Zt.PLAYING:P===Si.PLAYING),i.$$.dirty[4]&1024&&t(18,bi=B.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[4]&512&&t(19,fi=H&&!Te||Xt),i.$$.dirty[0]&16|i.$$.dirty[4]&512&&t(20,Ri=!H||Xt||Te),i.$$.dirty[4]&4&&t(121,_i=dn(h,Lt.M)),i.$$.dirty[0]&272|i.$$.dirty[3]&16777216|i.$$.dirty[4]&4&&t(53,ji=Ee&&dn(h,Lt.M)&&!Te&&N),i.$$.dirty[0]&528|i.$$.dirty[3]&16777216|i.$$.dirty[4]&4&&t(54,Qt=Ee&&dn(h,Lt.M)&&!Te&&ee),i.$$.dirty[1]&131072|i.$$.dirty[4]&196&&t(21,oi=v!==wn.NOT_AVAILABLE&&!(X&&z===En.DocumentPictureInPicture)&&dn(h,Lt.M)&&!Xt),i.$$.dirty[4]&260&&t(22,Bi=$.length>0&&dn(h,Lt.M)),i.$$.dirty[4]&4&&t(23,$t=dn(h,Lt.S)),i.$$.dirty[3]&8388608&&t(24,jt=!oe),i.$$.dirty[3]&75497472|i.$$.dirty[4]&196&&t(25,di=rt.features.fullscreen&&(oe||dn(h,Lt.S))&&!(X&&z===En.DocumentPictureInPicture)&&(Xt?pe:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&65536&&t(26,wi=(!g||Te)&&!(rt.features.interactiveHideTime&&Xt)),i.$$.dirty[4]&32&&t(55,Wi=I.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&65536|i.$$.dirty[3]&268435456|i.$$.dirty[4]&2&&t(27,mi=!Te&&!g&&!!(Vt!=null&&Vt.length)&&_i&&!n),i.$$.dirty[1]&1048576|i.$$.dirty[4]&16&&t(28,Ni=!S||T),i.$$.dirty[4]&8&&t(57,hi=P===Si.PLAYING?le("tooltip_pause"):le("tooltip_play")),i.$$.dirty[1]&524288&&t(58,Oi=le(A?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[0]&268435456&&t(59,yi=Ni?"":le("tooltip_live")),i.$$.dirty[0]&262144&&t(61,Ai=le(bi?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[1]&262144&&t(62,Wt=le(b?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[1]&131072&&t(63,Jt=v===wn.CONNECTED?le("tooltip_chromecast_on"):le("tooltip_chromecast_off")),i.$$.dirty[0]&1207435264|i.$$.dirty[1]&131071&&t(122,It={prevButtonWidth:li!=null?li:0,replayButtonWidth:fi?qi:0,playButtonWidth:Ri?Zi:0,nextButtonWidth:ri!=null?ri:0,playPrevChapterWidth:nn?Di:0,seekToInteractiveWidth:Xt?Fi:0,interactiveGraphWidth:xt&&Pi!=null?Pi:0,liveButtonWidth:g&&Ci?Ci:0,timeWidth:wi?St:0,episodesWidth:Nt,vkLogoWidth:jt?Gi:0,volumeWidth:rn,subtitlesWidth:Bi?Yi:0,settingsWidth:$t?Ot:0,fullscreenWidth:di?Ki:0,chromecastWidth:oi?Hi:0,additionalButtonWidths:f.length?f.reduce(ie=>[...ie,40],[]):[]}),i.$$.dirty[3]&1610612736&&(!ce||ce<It.timeWidth)&&t(123,ce=It.timeWidth),i.$$.dirty[0]&738197504|i.$$.dirty[3]&1610612736|i.$$.dirty[4]&4){let ie=0;mi&&(dn(h,Lt.XL)?ie=It.timeWidth:ie=U0);const Hn=It.prevButtonWidth+It.playButtonWidth+It.nextButtonWidth+It.seekToInteractiveWidth+It.interactiveGraphWidth+It.liveButtonWidth+ce+ie;t(124,un=wi&&ei>=Hn)}i.$$.dirty[4]&5&&t(64,Xi=un&&dn(h,Lt.M)),i.$$.dirty[0]&8|i.$$.dirty[3]&536870912&&yn(It,me)},t(60,vi=rt.logoType===so.VK_VIDEO?le("tooltip_vk_video_logo"):le("tooltip_vk_logo")),[se,ae,be,me,Te,K,V,x,N,ee,Ce,ye,Pe,j,We,tt,it,je,bi,fi,Ri,oi,Bi,$t,jt,di,wi,mi,Ni,ei,li,qi,Zi,ri,Di,Fi,Pi,Ci,St,Nt,Gi,rn,Yi,Ot,Ki,Hi,f,g,v,b,A,S,Mi,ji,Qt,Wi,ki,hi,Oi,yi,vi,Ai,Wt,Jt,Xi,a,s,r,l,o,c,L,ue,J,U,_,Y,Me,Re,Bt,xe,Qe,qe,et,Fe,vt,st,Kt,Et,ot,ii,ft,Ke,Vt,at,gi,fe,Se,Ve,At,ni,Ae,ai,ui,Ut,Xt,xt,tn,nn,ht,Vi,Ii,ln,pt,Pn,Cn,oe,Ee,Ie,pe,G,_i,It,ce,un,n,h,P,T,I,z,X,$,H,B,ne,re,Fn,Q,gt,cn,Qi,gn,fn,co,fo,mo,ho,vo,po,go,bo,_o,wo,W,yt]}class k5 extends ke{constructor(e){super(),we(this,e,w5,_5,_e,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:116,videoLogoUrl:7,showNextPrevButtons:117,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:118,supportLink:10,customFullscreenSupported:119,playNextVideo:11,playPrevVideo:12,repeatPlaylist:120,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},xp,[-1,-1,-1,-1,-1,-1])}}function y5(i){let e,t,n,o;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(l,r){y(l,e,r),d(e,t),d(t,n),d(t,o)},p:Z,i:Z,o:Z,d(l){l&&k(e)}}}class P5 extends ke{constructor(e){super(),we(this,e,null,y5,_e,{})}}function C5(i){De(i,"v-d5iohe",".container.v-d5iohe{display:flex;align-items:center}.expanded.v-d5iohe{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-d5iohe{font-size:15px;margin-left:8px}")}function pa(i){let e;return{c(){e=w("span"),e.textContent=`${le("mobile_unmute")}`,u(e,"class","text v-d5iohe")},m(t,n){y(t,e,n)},p:Z,d(t){t&&k(e)}}}function S5(i){let e,t,n,o;var l=i[3];function r(a){return{}}l&&(t=kn(l,r()));let s=i[0]&&pa();return{c(){e=w("div"),t&&F(t.$$.fragment),n=R(),s&&s.c(),u(e,"class","container v-d5iohe"),u(e,"aria-hidden","true"),E(e,"expanded",i[0])},m(a,c){y(a,e,c),t&&O(t,e,null),d(e,n),s&&s.m(e,null),o=!0},p(a,c){if(c&8&&l!==(l=a[3])){if(t){he();const f=t;p(f.$$.fragment,1,0,()=>{D(f,1)}),ve()}l?(t=kn(l,r()),F(t.$$.fragment),m(t.$$.fragment,1),O(t,e,n)):t=null}a[0]?s?s.p(a,c):(s=pa(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!o||c&1)&&E(e,"expanded",a[0])},i(a){o||(t&&m(t.$$.fragment,a),o=!0)},o(a){t&&p(t.$$.fragment,a),o=!1},d(a){a&&k(e),t&&D(t),s&&s.d()}}}function T5(i){let e,t;return e=new pi({props:{testId:i[0]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[1],ariaLabel:i[2],$$slots:{default:[S5]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function E5(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:l=Xe}=e,r,s;return i.$$set=a=>{"muted"in a&&t(4,n=a.muted),"expanded"in a&&t(0,o=a.expanded),"click"in a&&t(1,l=a.click)},i.$$.update=()=>{i.$$.dirty&16&&t(2,r=le(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&1&&t(3,s=o?sl:P5)},[o,l,r,s,n]}class Vc extends ke{constructor(e){super(),we(this,e,E5,T5,_e,{muted:4,expanded:0,click:1},C5)}}function A5(i){let e,t,n,o;return{c(){e=M("svg"),t=M("path"),n=M("path"),o=M("path"),u(t,"fill",i[1]),u(t,"clip-rule","evenodd"),u(t,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",i[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),E(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"),E(o,"hidden",i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){y(l,e,r),d(e,t),d(e,n),d(e,o)},p(l,[r]){r&2&&u(t,"fill",l[1]),r&2&&u(n,"fill",l[1]),r&1&&E(n,"hidden",!l[0]),r&2&&u(o,"fill",l[1]),r&1&&E(o,"hidden",l[0])},i:Z,o:Z,d(l){l&&k(e)}}}function L5(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 V5 extends ke{constructor(e){super(),we(this,e,L5,A5,_e,{isActive:0})}}function I5(i){let e,t;return e=new V5({props:{isActive:i[0]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function z5(i){let e,t;return e=new pi({props:{testId:"btn-pip",ariaLabel:le("menu_pip"),click:i[1],$$slots:{default:[I5]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function M5(i,e,t){let{isPictureInPictureActive:n=!1}=e,{click:o=Xe}=e;return i.$$set=l=>{"isPictureInPictureActive"in l&&t(0,n=l.isPictureInPictureActive),"click"in l&&t(1,o=l.click)},[n,o]}class R5 extends ke{constructor(e){super(),we(this,e,M5,z5,_e,{isPictureInPictureActive:0,click:1})}}function B5(i){De(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 ga(i,e,t){const n=i.slice();return n[139]=e[t].iconUrl,n[140]=e[t].ariaLabel,n[141]=e[t].testId,n[142]=e[t].onClick,n[143]=e[t].tooltip,n}function ba(i){let e,t,n,o,l,r,s,a,c,f,h,g,v,b,A,P,T,S=(!i[53]||i[55])&&_a(i),I=qt(i[58]),z=[];for(let _=0;_<I.length;_+=1)z[_]=wa(ga(i,I,_));const X=_=>p(z[_],1,1,()=>{z[_]=null});let $=i[32]&&ka(i),H=i[33]&&ya(i),B=i[59]&&Pa(),ne=i[35]&&Ca(i),re=i[8]&&Sa(i),L=i[30]&&Ta(i),ue=i[29]&&Ea(i),J=i[8]&&Aa(i),U=i[97]&&!i[25]&&La(i);return{c(){e=w("div"),t=R(),n=w("div"),S&&S.c(),o=R(),l=w("div");for(let _=0;_<z.length;_+=1)z[_].c();r=R(),$&&$.c(),s=R(),H&&H.c(),a=R(),B&&B.c(),c=R(),ne&&ne.c(),f=R(),h=w("div"),re&&re.c(),g=R(),L&&L.c(),v=R(),ue&&ue.c(),b=R(),J&&J.c(),A=R(),U&&U.c(),P=bt(),u(e,"class","overlay-mobile v-1tcstu3"),E(e,"hidden",!i[38]),u(n,"class","wrapper-top-left v-1tcstu3"),E(n,"hidden",!i[3]),E(n,"fullscreen",i[54]),u(l,"class","wrapper-top-right v-1tcstu3"),E(l,"hidden",!i[3]&&!i[23]),E(l,"fullscreen",i[54]),u(h,"class","wrapper-middle v-1tcstu3"),E(h,"hidden",!i[3]||i[25])},m(_,Y){y(_,e,Y),y(_,t,Y),y(_,n,Y),S&&S.m(n,null),y(_,o,Y),y(_,l,Y);for(let ae=0;ae<z.length;ae+=1)z[ae]&&z[ae].m(l,null);d(l,r),$&&$.m(l,null),d(l,s),H&&H.m(l,null),d(l,a),B&&B.m(l,null),d(l,c),ne&&ne.m(l,null),y(_,f,Y),y(_,h,Y),re&&re.m(h,null),d(h,g),L&&L.m(h,null),d(h,v),ue&&ue.m(h,null),d(h,b),J&&J.m(h,null),y(_,A,Y),U&&U.m(_,Y),y(_,P,Y),T=!0},p(_,Y){if((!T||Y[1]&128)&&E(e,"hidden",!_[38]),!_[53]||_[55]?S?(S.p(_,Y),Y[1]&20971520&&m(S,1)):(S=_a(_),S.c(),m(S,1),S.m(n,null)):S&&(he(),p(S,1,1,()=>{S=null}),ve()),(!T||Y[0]&8)&&E(n,"hidden",!_[3]),(!T||Y[1]&8388608)&&E(n,"fullscreen",_[54]),Y[1]&134217728){I=qt(_[58]);let ae;for(ae=0;ae<I.length;ae+=1){const be=ga(_,I,ae);z[ae]?(z[ae].p(be,Y),m(z[ae],1)):(z[ae]=wa(be),z[ae].c(),m(z[ae],1),z[ae].m(l,r))}for(he(),ae=I.length;ae<z.length;ae+=1)X(ae);ve()}_[32]?$?($.p(_,Y),Y[1]&2&&m($,1)):($=ka(_),$.c(),m($,1),$.m(l,s)):$&&(he(),p($,1,1,()=>{$=null}),ve()),_[33]?H?(H.p(_,Y),Y[1]&4&&m(H,1)):(H=ya(_),H.c(),m(H,1),H.m(l,a)):H&&(he(),p(H,1,1,()=>{H=null}),ve()),_[59]?B?Y[1]&268435456&&m(B,1):(B=Pa(),B.c(),m(B,1),B.m(l,c)):B&&(he(),p(B,1,1,()=>{B=null}),ve()),_[35]?ne?(ne.p(_,Y),Y[1]&16&&m(ne,1)):(ne=Ca(_),ne.c(),m(ne,1),ne.m(l,null)):ne&&(he(),p(ne,1,1,()=>{ne=null}),ve()),(!T||Y[0]&8388616)&&E(l,"hidden",!_[3]&&!_[23]),(!T||Y[1]&8388608)&&E(l,"fullscreen",_[54]),_[8]?re?(re.p(_,Y),Y[0]&256&&m(re,1)):(re=Sa(_),re.c(),m(re,1),re.m(h,g)):re&&(he(),p(re,1,1,()=>{re=null}),ve()),_[30]?L?(L.p(_,Y),Y[0]&1073741824&&m(L,1)):(L=Ta(_),L.c(),m(L,1),L.m(h,v)):L&&(he(),p(L,1,1,()=>{L=null}),ve()),_[29]?ue?(ue.p(_,Y),Y[0]&536870912&&m(ue,1)):(ue=Ea(_),ue.c(),m(ue,1),ue.m(h,b)):ue&&(he(),p(ue,1,1,()=>{ue=null}),ve()),_[8]?J?(J.p(_,Y),Y[0]&256&&m(J,1)):(J=Aa(_),J.c(),m(J,1),J.m(h,null)):J&&(he(),p(J,1,1,()=>{J=null}),ve()),(!T||Y[0]&33554440)&&E(h,"hidden",!_[3]||_[25]),_[97]&&!_[25]?U?(U.p(_,Y),Y[0]&33554432&&m(U,1)):(U=La(_),U.c(),m(U,1),U.m(P.parentNode,P)):U&&(he(),p(U,1,1,()=>{U=null}),ve())},i(_){if(!T){m(S);for(let Y=0;Y<I.length;Y+=1)m(z[Y]);m($),m(H),m(B),m(ne),m(re),m(L),m(ue),m(J),m(U),T=!0}},o(_){p(S),z=z.filter(Boolean);for(let Y=0;Y<z.length;Y+=1)p(z[Y]);p($),p(H),p(B),p(ne),p(re),p(L),p(ue),p(J),p(U),T=!1},d(_){_&&(k(e),k(t),k(n),k(o),k(l),k(f),k(h),k(A),k(P)),S&&S.d(),vn(z,_),$&&$.d(),H&&H.d(),B&&B.d(),ne&&ne.d(),re&&re.d(),L&&L.d(),ue&&ue.d(),J&&J.d(),U&&U.d(_)}}}function _a(i){let e,t;return e=new Vc({props:{muted:i[56],expanded:i[53]&&!i[72]&&i[57],click:i[106]}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&33554432&&(l.muted=n[56]),o[1]&71303168&&(l.expanded=n[53]&&!n[72]&&n[57]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function wa(i){var n;let e,t;return e=new Lc({props:{iconUrl:i[139],ariaLabel:(n=i[140])!=null?n:i[143],testId:i[141],onClick:i[142]}}),{c(){F(e.$$.fragment)},m(o,l){O(e,o,l),t=!0},p(o,l){var s;const r={};l[1]&134217728&&(r.iconUrl=o[139]),l[1]&134217728&&(r.ariaLabel=(s=o[140])!=null?s:o[143]),l[1]&134217728&&(r.testId=o[141]),l[1]&134217728&&(r.onClick=o[142]),e.$set(r)},i(o){t||(m(e.$$.fragment,o),t=!0)},o(o){p(e.$$.fragment,o),t=!1},d(o){D(e,o)}}}function ka(i){let e,t;return e=new wc({props:{isMobile:!0,click:i[102],state:i[24]}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&16777216&&(l.state=n[24]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ya(i){let e,t;return e=new R5({props:{click:i[105],isPictureInPictureActive:i[22]}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&4194304&&(l.isPictureInPictureActive=n[22]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Pa(i){let e,t;return e=new or({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ca(i){let e,t;return e=new _c({props:{click:i[66],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Sa(i){let e,t;return e=new al({props:{click:i[13],type:"prev",disabled:!i[10],isMobile:!0}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function Ta(i){let e,t;return e=new sr({props:{disabled:i[50],click:i[65],isMobile:!0,isPlaying:i[27]}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&524288&&(l.disabled=n[50]),o[0]&134217728&&(l.isPlaying=n[27]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ea(i){let e,t;return e=new ar({props:{disabled:i[49],click:i[107],isMobile:!0}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&262144&&(l.disabled=n[49]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Aa(i){let e,t;return e=new al({props:{click:i[12],type:"next",disabled:!i[9],isMobile:!0}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function La(i){let e,t,n,o,l=i[100]&&N5(i),r=i[98]&&O5(i),s=i[99]&&D5(i);return{c(){l&&l.c(),e=R(),r&&r.c(),t=R(),s&&s.c(),n=bt()},m(a,c){l&&l.m(a,c),y(a,e,c),r&&r.m(a,c),y(a,t,c),s&&s.m(a,c),y(a,n,c),o=!0},p(a,c){a[100]&&l.p(a,c),a[98]&&r.p(a,c),a[99]&&s.p(a,c)},i(a){o||(m(l),m(r),m(s),o=!0)},o(a){p(l),p(r),p(s),o=!1},d(a){a&&(k(e),k(t),k(n)),l&&l.d(a),r&&r.d(a),s&&s.d(a)}}}function N5(i){let e,t,n;return t=new Ac({props:{hidden:!i[3],disabled:i[48],click:i[18]}}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),E(e,"fullscreen",i[54]),E(e,"hidden",!i[3])},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const r={};l[0]&8&&(r.hidden=!o[3]),l[1]&131072&&(r.disabled=o[48]),l[0]&262144&&(r.click=o[18]),t.$set(r),(!n||l[1]&8388608)&&E(e,"fullscreen",o[54]),(!n||l[0]&8)&&E(e,"hidden",!o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function O5(i){let e,t,n;return t=new Ec({props:{hidden:!i[3]&&!i[60],disabled:i[52],click:i[17],graphIsOpened:i[60]}}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class",k0(i[100]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),E(e,"fullscreen",i[54]),E(e,"hidden",!i[3]&&!i[60])},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const r={};l[0]&8|l[1]&536870912&&(r.hidden=!o[3]&&!o[60]),l[1]&2097152&&(r.disabled=o[52]),l[0]&131072&&(r.click=o[17]),l[1]&536870912&&(r.graphIsOpened=o[60]),t.$set(r),(!n||l[1]&8388608)&&E(e,"fullscreen",o[54]),(!n||l[0]&8|l[1]&536870912)&&E(e,"hidden",!o[3]&&!o[60])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function D5(i){let e,t,n;return t=new Tc({props:{hidden:!i[3],disabled:i[51],click:i[16]}}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),E(e,"fullscreen",i[54]),E(e,"hidden",!i[3])},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const r={};l[0]&8&&(r.hidden=!o[3]),l[1]&1048576&&(r.disabled=o[51]),l[0]&65536&&(r.click=o[16]),t.$set(r),(!n||l[1]&8388608)&&E(e,"fullscreen",o[54]),(!n||l[0]&8)&&E(e,"hidden",!o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function Va(i){let e,t,n,o,l,r=i[55]&&Ia(i),s=i[28]&&za(i);return o=new Pc({props:{position:i[61],duration:i[62]}}),{c(){r&&r.c(),e=R(),s&&s.c(),t=R(),n=w("div"),F(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),E(n,"fullscreen",i[54])},m(a,c){r&&r.m(a,c),y(a,e,c),s&&s.m(a,c),y(a,t,c),y(a,n,c),O(o,n,null),l=!0},p(a,c){a[55]?r?(r.p(a,c),c[1]&16777216&&m(r,1)):(r=Ia(a),r.c(),m(r,1),r.m(e.parentNode,e)):r&&(he(),p(r,1,1,()=>{r=null}),ve()),a[28]?s?(s.p(a,c),c[0]&268435456&&m(s,1)):(s=za(a),s.c(),m(s,1),s.m(t.parentNode,t)):s&&(he(),p(s,1,1,()=>{s=null}),ve());const f={};c[1]&1073741824&&(f.position=a[61]),c[2]&1&&(f.duration=a[62]),o.$set(f),(!l||c[1]&8388608)&&E(n,"fullscreen",a[54])},i(a){l||(m(r),m(s),m(o.$$.fragment,a),l=!0)},o(a){p(r),p(s),p(o.$$.fragment,a),l=!1},d(a){a&&(k(e),k(t),k(n)),r&&r.d(a),s&&s.d(a),D(o)}}}function Ia(i){let e,t,n;return t=new Vc({props:{muted:i[56],expanded:!1,click:i[106]}}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),E(e,"fullscreen",i[54])},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const r={};l[1]&33554432&&(r.muted=o[56]),t.$set(r),(!n||l[1]&8388608)&&E(e,"fullscreen",o[54])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function za(i){let e,t,n;return t=new sr({props:{disabled:i[50],click:i[65],isMobile:!0,isPlaying:!i[28]}}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const r={};l[1]&524288&&(r.disabled=o[50]),l[0]&268435456&&(r.isPlaying=!o[28]),t.$set(r)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function F5(i){let e,t,n;function o(r){i[122](r)}let l={disabled:i[49],controlInfo:i[85].replayButton,$$slots:{default:[H5]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[1]&262144&&(a.disabled=r[49]),s[1]&262144|s[4]&4194304&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&2048&&(t=!0,a.width=r[42],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function H5(i){let e,t;return e=new ar({props:{disabled:i[49],click:i[96]}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&262144&&(l.disabled=n[49]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ma(i){let e,t,n;function o(r){i[123](r)}let l={controlInfo:i[85].liveButton,$$slots:{default:[U5]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[1]&1024|s[4]&4194304&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&4096&&(t=!0,a.width=r[43],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function U5(i){let e,t;return e=new kc({props:{isActiveLive:i[41],click:i[103],isMobile:!0}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&1024&&(l.isActiveLive=n[41]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ra(i){let e,t,n;function o(r){i[124](r)}let l={showDuration:i[31],position:i[4]?i[61]:i[63],duration:i[4]?i[62]:i[64],isMobile:!0};return i[44]!==void 0&&(l.width=i[44]),e=new hc({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[1]&1&&(a.showDuration=r[31]),s[0]&16|s[1]&1073741824|s[2]&2&&(a.position=r[4]?r[61]:r[63]),s[0]&16|s[2]&5&&(a.duration=r[4]?r[62]:r[64]),!t&&s[1]&8192&&(t=!0,a.width=r[44],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function Ba(i){let e,t,n,o;return n=new Sc({props:{position:i[63],duration:i[64],timeCodes:i[86]}}),{c(){e=w("div"),e.textContent="\xB7",t=R(),F(n.$$.fragment),u(e,"aria-hidden","true")},m(l,r){y(l,e,r),y(l,t,r),O(n,l,r),o=!0},p(l,r){const s={};r[2]&2&&(s.position=l[63]),r[2]&4&&(s.duration=l[64]),n.$set(s)},i(l){o||(m(n.$$.fragment,l),o=!0)},o(l){p(n.$$.fragment,l),o=!1},d(l){l&&(k(e),k(t)),D(n,l)}}}function j5(i){let e,t,n=i[39]&&Ba(i);return{c(){n&&n.c(),e=bt()},m(o,l){n&&n.m(o,l),y(o,e,l),t=!0},p(o,l){o[39]?n?(n.p(o,l),l[1]&256&&m(n,1)):(n=Ba(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),ve())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&k(e),n&&n.d(o)}}}function Na(i){let e,t,n;function o(r){i[126](r)}let l={controlInfo:i[85].settings,$$slots:{default:[W5]},$$scope:{ctx:i}};return i[46]!==void 0&&(l.width=i[46]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[4]&4194304&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&32768&&(t=!0,a.width=r[46],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function W5(i){let e,t;return e=new or({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Oa(i){let e,t,n;function o(r){i[127](r)}let l={controlInfo:i[85].fullscreen,$$slots:{default:[q5]},$$scope:{ctx:i}};return i[47]!==void 0&&(l.width=i[47]),e=new Gt({props:l}),Ge.push(()=>Ct(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[0]&16384|s[1]&8388608|s[4]&4194304&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&65536&&(t=!0,a.width=r[47],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function q5(i){let e,t;return e=new gc({props:{click:i[14],isFullscreen:i[54]}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&16384&&(l.click=n[14]),o[1]&8388608&&(l.isFullscreen=n[54]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Da(i){let e,t,n;return t=new mc({props:{supportLink:i[11],returnFocus:i[15]}}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const r={};l[0]&2048&&(r.supportLink=o[11]),l[0]&32768&&(r.returnFocus=o[15]),t.$set(r)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function Z5(i){let e,t,n,o,l,r,s,a,c,f,h,g,v,b,A,P,T,S,I,z=!i[4]&&ba(i),X=i[4]&&i[26]!==Zt.INACTIVE&&Va(i),$=i[97]&&F5(i),H=!i[4]&&i[20]&&Ma(i),B=i[37]&&Ra(i);function ne(U){i[125](U)}let re={className:"w-max",disabled:!i[39],controlInfo:i[85].episodes,$$slots:{default:[j5]},$$scope:{ctx:i}};i[45]!==void 0&&(re.width=i[45]),c=new Gt({props:re}),Ge.push(()=>Ct(c,"width",ne));let L=i[34]&&Na(i),ue=i[36]&&Oa(i);b=new Cc({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[19]}});let J=i[21]&&Da(i);return{c(){z&&z.c(),e=R(),X&&X.c(),t=R(),n=w("div"),o=w("div"),l=w("div"),$&&$.c(),r=R(),H&&H.c(),s=R(),B&&B.c(),a=R(),F(c.$$.fragment),h=R(),L&&L.c(),g=R(),ue&&ue.c(),v=R(),F(b.$$.fragment),A=R(),J&&J.c(),P=bt(),u(l,"class","controls v-1tcstu3"),E(l,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),E(o,"fullscreen",i[54]),u(n,"class","wrapper-bottom v-1tcstu3"),E(n,"hidden",i[1]),E(n,"controls-hidden",!i[3]),E(n,"no-smooth",i[2]),E(n,"mobile",!0)},m(U,_){z&&z.m(U,_),y(U,e,_),X&&X.m(U,_),y(U,t,_),y(U,n,_),d(n,o),d(o,l),$&&$.m(l,null),d(l,r),H&&H.m(l,null),d(l,s),B&&B.m(l,null),d(l,a),O(c,l,null),d(l,h),L&&L.m(l,null),d(l,g),ue&&ue.m(l,null),i[128](l),d(o,v),O(b,o,null),i[129](n),y(U,A,_),J&&J.m(U,_),y(U,P,_),T=!0,S||(I=[Le(n,"pointermove",i[104]),Le(n,"pointerenter",i[104])],S=!0)},p(U,_){U[4]?z&&(he(),p(z,1,1,()=>{z=null}),ve()):z?(z.p(U,_),_[0]&16&&m(z,1)):(z=ba(U),z.c(),m(z,1),z.m(e.parentNode,e)),U[4]&&U[26]!==Zt.INACTIVE?X?(X.p(U,_),_[0]&67108880&&m(X,1)):(X=Va(U),X.c(),m(X,1),X.m(t.parentNode,t)):X&&(he(),p(X,1,1,()=>{X=null}),ve()),U[97]&&$.p(U,_),!U[4]&&U[20]?H?(H.p(U,_),_[0]&1048592&&m(H,1)):(H=Ma(U),H.c(),m(H,1),H.m(l,s)):H&&(he(),p(H,1,1,()=>{H=null}),ve()),U[37]?B?(B.p(U,_),_[1]&64&&m(B,1)):(B=Ra(U),B.c(),m(B,1),B.m(l,a)):B&&(he(),p(B,1,1,()=>{B=null}),ve());const Y={};_[1]&256&&(Y.disabled=!U[39]),_[1]&256|_[2]&6|_[4]&4194304&&(Y.$$scope={dirty:_,ctx:U}),!f&&_[1]&16384&&(f=!0,Y.width=U[45],Pt(()=>f=!1)),c.$set(Y),U[34]?L?(L.p(U,_),_[1]&8&&m(L,1)):(L=Na(U),L.c(),m(L,1),L.m(l,g)):L&&(he(),p(L,1,1,()=>{L=null}),ve()),U[36]?ue?(ue.p(U,_),_[1]&32&&m(ue,1)):(ue=Oa(U),ue.c(),m(ue,1),ue.m(l,null)):ue&&(he(),p(ue,1,1,()=>{ue=null}),ve());const ae={};_[0]&16&&(ae.isAds=U[4]),_[0]&32&&(ae.canRewindLive=U[5]),_[0]&524288&&(ae.isRewindableLive=U[19]),b.$set(ae),(!T||_[1]&8388608)&&E(o,"fullscreen",U[54]),(!T||_[0]&2)&&E(n,"hidden",U[1]),(!T||_[0]&8)&&E(n,"controls-hidden",!U[3]),(!T||_[0]&4)&&E(n,"no-smooth",U[2]),U[21]?J?(J.p(U,_),_[0]&2097152&&m(J,1)):(J=Da(U),J.c(),m(J,1),J.m(P.parentNode,P)):J&&(he(),p(J,1,1,()=>{J=null}),ve())},i(U){T||(m(z),m(X),m($),m(H),m(B),m(c.$$.fragment,U),m(L),m(ue),m(b.$$.fragment,U),m(J),T=!0)},o(U){p(z),p(X),p($),p(H),p(B),p(c.$$.fragment,U),p(L),p(ue),p(b.$$.fragment,U),p(J),T=!1},d(U){U&&(k(e),k(t),k(n),k(A),k(P)),z&&z.d(U),X&&X.d(U),$&&$.d(),H&&H.d(),B&&B.d(),D(c),L&&L.d(),ue&&ue.d(),i[128](null),D(b),i[129](null),J&&J.d(U),S=!1,Yt(I)}}}function G5(i,e,t){var Hi,It;let n,o,l,r,s,a,c,f,h,g,v,b,A,P,T,S,I,z,X,$,H,B,ne,re,L,ue,J,U,_,Y,ae,be,me,{bottomHidden:se}=e,{bottomNoSmooth:Te}=e,{showControls:K}=e,{controlsElementRef:V=void 0}=e,{isAds:oe=!1}=e,{canRewindLive:x}=e,{logoClickable:Ee}=e,{logoHidden:N}=e,{videoLogoUrl:ee}=e,{showNextPrevButtons:Ie}=e,{nextButtonActive:Ce}=e,{prevButtonActive:pe}=e,{isOneVideoPlaylist:ye=!1}=e,{supportLink:Pe}=e,{customFullscreenSupported:G=!0}=e,{playNextVideo:j}=e,{playPrevVideo:We}=e,{repeatPlaylist:tt}=e,{toggleFullscreen:it}=e,{returnFocus:je}=e,{seekToInteractive:ze}=e,{toggleGraph:rt}=e,{playPrevChapter:Mt}=e;const Me=Tt(),Re=on(),Bt=Me.actions.internal.toggleMuted,de=Me.actions.internal.togglePlay,nt=Me.actions.internal.pause,xe=(Hi=Me.callbacks)==null?void 0:Hi.onAudioDoesNotExistHint,Qe=(It=Me.callbacks)==null?void 0:It.onAudioDisabledHint,qe=Me.playerPhase;q(i,qe,ce=>t(118,I=ce));const et=Me.state.duration$;q(i,et,ce=>t(64,me=ce));const Fe=Me.state.positionWithScrubbing$;q(i,Fe,ce=>t(63,be=ce));const Oe=Me.state.playbackState$;q(i,Oe,ce=>t(120,H=ce));const vt=Me.state.isAudioAvailable$;q(i,vt,ce=>t(53,c=ce));const st=Me.state.isAudioDisabled,Kt=Me.state.isEnded$;q(i,Kt,ce=>t(119,X=ce));const Et=Me.state.isLive$;q(i,Et,ce=>t(20,g=ce));const ot=Me.state.muted$;q(i,ot,ce=>t(56,L=ce));const ii=Me.state.isActiveLive$;q(i,ii,ce=>t(115,f=ce));const ft=Me.state.isRewindableLive$;q(i,ft,ce=>t(19,h=ce));const Ke=Me.ui.scrubbingInProgress;q(i,Ke,ce=>t(25,z=ce));const Vt=Me.ui.mobileNotReportControlHidden$;q(i,Vt,ce=>t(23,T=ce));const at=Me.ui.isPictureInPictureActive$;q(i,at,ce=>t(22,P=ce));const gi=Me.ui.pictureInPictureType$;q(i,gi,ce=>t(117,A=ce));const fe=Me.ui.mobileUnmuteButtonExpanded;q(i,fe,ce=>t(57,ue=ce));const Se=Me.ui.mobileUnmuteButtonVisible;q(i,Se,ce=>t(55,re=ce));const Ve=Me.ui.settingsMenuVisible;q(i,Ve,ce=>t(21,v=ce));const At=Me.ui.controls,ni=Me.actions.internal.getVideoEpisodes(),Ae=Me.webApi.pictureInPictureApi,ai=Me.state.chromecastState$;q(i,ai,ce=>t(24,S=ce));const ui=Me.state.crashed$;q(i,ui,ce=>t(59,U=ce));const Ut=At.disabledControls$;q(i,Ut,ce=>t(121,B=ce));const Ei=Me.ads.duration;q(i,Ei,ce=>t(62,ae=ce));const Xt=Me.ads.position;q(i,Xt,ce=>t(61,Y=ce));const xt=Me.ads.playbackState;q(i,xt,ce=>t(26,$=ce));const tn=Me.ui.isFullscreen;q(i,tn,ce=>t(54,ne=ce));const nn=Me.ui.playerSize;q(i,nn,ce=>t(116,b=ce));const ht=Me.ui.additionalButtons$;q(i,ht,ce=>t(58,J=ce));const Vi=Me.actions.internal.replayInteractive,Ii=Me.state.isInteractive,ln=Me.state.isInteractiveGraphEnabled,pt=Me.state.isSeekToInteractiveEnable,ci=Me.state.isPlayPrevChapterEnabled,zi=Me.state.graphIsOpened$;q(i,zi,ce=>t(60,_=ce));let Mi,bi,fi,Ri,_i,ji,Qt,oi,Bi,$t,jt,di,wi,Wi,mi,ki,Ni,hi,Oi,yi,vi,Ai,Wt,Jt;function ei(){Jt=V==null?void 0:V.getBoundingClientRect()}en(()=>(window.addEventListener("resize",ei),()=>{window.removeEventListener("resize",ei)}));const li=()=>Me.actions.internal.toggleChromecast(),qi=()=>Me.actions.internal.switchToActiveLive(),Zi=ce=>{Me.ui.controls.tooltipPointerOffsetX.update(()=>Jt?Math.min(Math.max(ce.x-Jt.x,0),Jt.width):0)};function ri(){st?Qe==null||Qe():c?Bt():xe==null||xe()}function Di(){return jn(this,null,function*(){Ae!=null&&Ae.isActive()?yield Ae==null?void 0:Ae.remove():yield Ae==null?void 0:Ae.request()})}function Fi(){!st&&c&&Se.set(!1),ri()}const Pi=ye?de:tt;function Ci(ce){hi=ce,t(42,hi)}function St(ce){Oi=ce,t(43,Oi)}function Nt(ce){yi=ce,t(44,yi)}function Gi(ce){vi=ce,t(45,vi)}function rn(ce){Ai=ce,t(46,Ai)}function Yi(ce){Wt=ce,t(47,Wt)}function Ot(ce){Ge[ce?"unshift":"push"](()=>{ki=ce,t(40,ki)})}function Ki(ce){Ge[ce?"unshift":"push"](()=>{V=ce,t(0,V)})}return i.$$set=ce=>{"bottomHidden"in ce&&t(1,se=ce.bottomHidden),"bottomNoSmooth"in ce&&t(2,Te=ce.bottomNoSmooth),"showControls"in ce&&t(3,K=ce.showControls),"controlsElementRef"in ce&&t(0,V=ce.controlsElementRef),"isAds"in ce&&t(4,oe=ce.isAds),"canRewindLive"in ce&&t(5,x=ce.canRewindLive),"logoClickable"in ce&&t(6,Ee=ce.logoClickable),"logoHidden"in ce&&t(108,N=ce.logoHidden),"videoLogoUrl"in ce&&t(7,ee=ce.videoLogoUrl),"showNextPrevButtons"in ce&&t(8,Ie=ce.showNextPrevButtons),"nextButtonActive"in ce&&t(9,Ce=ce.nextButtonActive),"prevButtonActive"in ce&&t(10,pe=ce.prevButtonActive),"isOneVideoPlaylist"in ce&&t(109,ye=ce.isOneVideoPlaylist),"supportLink"in ce&&t(11,Pe=ce.supportLink),"customFullscreenSupported"in ce&&t(110,G=ce.customFullscreenSupported),"playNextVideo"in ce&&t(12,j=ce.playNextVideo),"playPrevVideo"in ce&&t(13,We=ce.playPrevVideo),"repeatPlaylist"in ce&&t(111,tt=ce.repeatPlaylist),"toggleFullscreen"in ce&&t(14,it=ce.toggleFullscreen),"returnFocus"in ce&&t(15,je=ce.returnFocus),"seekToInteractive"in ce&&t(16,ze=ce.seekToInteractive),"toggleGraph"in ce&&t(17,rt=ce.toggleGraph),"playPrevChapter"in ce&&t(18,Mt=ce.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&268435456&&t(114,n=B.has(mt.EPISODE_BUTTON)),i.$$.dirty[3]&268435456&&t(52,o=B.has(mt.GRAPH_BUTTON)),i.$$.dirty[3]&268435456&&t(51,l=B.has(mt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&268435456&&t(50,r=B.has(mt.PLAY_BUTTON)),i.$$.dirty[3]&268435456&&t(49,s=B.has(mt.REPLAY_BUTTON)),i.$$.dirty[3]&268435456&&t(48,a=B.has(mt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&134217728&&t(27,Mi=H===Si.PLAYING),i.$$.dirty[0]&67108864&&t(28,bi=$===Zt.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&67108864&&t(29,fi=X&&!oe&&!Ii),i.$$.dirty[0]&16|i.$$.dirty[3]&67108864&&t(30,Ri=!X||oe),i.$$.dirty[3]&8388608&&t(112,_i=b.width>300),i.$$.dirty[3]&8388608&&t(31,ji=b.width>400),i.$$.dirty[0]&33554432&&t(113,Qt=z),i.$$.dirty[0]&29360128|i.$$.dirty[3]&16777216&&t(32,oi=S!==wn.NOT_AVAILABLE&&!(P&&A===En.DocumentPictureInPicture)&&!T&&!Ii),i.$$.dirty[0]&25165824|i.$$.dirty[3]&51380224){const ce=I===Be.WaitingLive;t(33,Bi=!!Ae&&S!==wn.CONNECTED&&!T&&(A===En.DocumentPictureInPicture&&ce||!ce)&&!Qt&&!Ii)}i.$$.dirty[3]&1048576&&t(34,$t=!Qt),i.$$.dirty[3]&8421376&&t(35,jt=!N&&b.width>350),i.$$.dirty[0]&4194304|i.$$.dirty[3]&17956864&&t(36,di=Re.features.fullscreen&&!(P&&A===En.DocumentPictureInPicture)&&(Ii?G:!0)&&!Qt),i.$$.dirty[0]&1048592|i.$$.dirty[3]&9437184&&t(37,wi=(!g||oe)&&b.width>260&&!Qt&&!(Re.features.interactiveHideTime&&Ii)),i.$$.dirty[0]&2097160&&t(38,Wi=v||K),i.$$.dirty[0]&1048592|i.$$.dirty[3]&3670016&&t(39,mi=!oe&&!g&&!!(ni!=null&&ni.length)&&_i&&!n&&!Qt),i.$$.dirty[0]&524288|i.$$.dirty[3]&4194304&&t(41,Ni=!h||f),i.$$.dirty[0]&1&&V&&ei()},[V,se,Te,K,oe,x,Ee,ee,Ie,Ce,pe,Pe,j,We,it,je,ze,rt,Mt,h,g,v,P,T,S,z,$,Mi,bi,fi,Ri,ji,oi,Bi,$t,jt,di,wi,Wi,mi,ki,Ni,hi,Oi,yi,vi,Ai,Wt,a,s,r,l,o,c,ne,re,L,ue,J,U,_,Y,ae,be,me,de,nt,qe,et,Fe,Oe,vt,st,Kt,Et,ot,ii,ft,Ke,Vt,at,gi,fe,Se,Ve,At,ni,ai,ui,Ut,Ei,Xt,xt,tn,nn,ht,Vi,Ii,ln,pt,ci,zi,li,qi,Zi,Di,Fi,Pi,N,ye,G,tt,_i,Qt,n,f,b,A,I,X,H,B,Ci,St,Nt,Gi,rn,Yi,Ot,Ki]}class Y5 extends ke{constructor(e){super(),we(this,e,G5,Z5,_e,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:108,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:109,supportLink:11,customFullscreenSupported:110,playNextVideo:12,playPrevVideo:13,repeatPlaylist:111,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18},B5,[-1,-1,-1,-1,-1])}}function K5(i){let e,t,n;function o(r){i[26](r)}let l={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(l.controlsElementRef=i[0]),e=new k5({props:l}),Ge.push(()=>Ct(e,"controlsElementRef",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s&2&&(a.bottomHidden=r[1]),s&4&&(a.bottomNoSmooth=r[2]),s&8&&(a.showControls=r[3]),s&16&&(a.isAds=r[4]),s&32&&(a.canRewindLive=r[5]),s&64&&(a.logoClickable=r[6]),s&128&&(a.logoHidden=r[7]),s&256&&(a.videoLogoUrl=r[8]),s&512&&(a.showNextPrevButtons=r[9]),s&1024&&(a.nextButtonActive=r[10]),s&2048&&(a.prevButtonActive=r[11]),s&4096&&(a.isOneVideoPlaylist=r[12]),s&8192&&(a.supportLink=r[13]),s&16384&&(a.customFullscreenSupported=r[14]),s&32768&&(a.playNextVideo=r[15]),s&65536&&(a.playPrevVideo=r[16]),s&131072&&(a.repeatPlaylist=r[17]),s&262144&&(a.toggleFullscreen=r[18]),s&524288&&(a.returnFocus=r[19]),s&1048576&&(a.seekToInteractive=r[20]),s&2097152&&(a.toggleGraph=r[21]),s&4194304&&(a.playPrevChapter=r[22]),!t&&s&1&&(t=!0,a.controlsElementRef=r[0],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function X5(i){let e,t,n;function o(r){i[25](r)}let l={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(l.controlsElementRef=i[0]),e=new Y5({props:l}),Ge.push(()=>Ct(e,"controlsElementRef",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s&2&&(a.bottomHidden=r[1]),s&4&&(a.bottomNoSmooth=r[2]),s&8&&(a.showControls=r[3]),s&16&&(a.isAds=r[4]),s&32&&(a.canRewindLive=r[5]),s&64&&(a.logoClickable=r[6]),s&128&&(a.logoHidden=r[7]),s&256&&(a.videoLogoUrl=r[8]),s&512&&(a.showNextPrevButtons=r[9]),s&1024&&(a.nextButtonActive=r[10]),s&2048&&(a.prevButtonActive=r[11]),s&4096&&(a.isOneVideoPlaylist=r[12]),s&8192&&(a.supportLink=r[13]),s&16384&&(a.customFullscreenSupported=r[14]),s&32768&&(a.playNextVideo=r[15]),s&65536&&(a.playPrevVideo=r[16]),s&131072&&(a.repeatPlaylist=r[17]),s&262144&&(a.toggleFullscreen=r[18]),s&524288&&(a.returnFocus=r[19]),s&1048576&&(a.seekToInteractive=r[20]),s&2097152&&(a.toggleGraph=r[21]),s&4194304&&(a.playPrevChapter=r[22]),!t&&s&1&&(t=!0,a.controlsElementRef=r[0],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function Q5(i){let e,t,n,o;const l=[X5,K5],r=[];function s(a,c){return a[23]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){r[e].m(a,c),y(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?r[e].p(a,c):(he(),p(r[f],1,1,()=>{r[f]=null}),ve(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){p(t),o=!1},d(a){a&&k(n),r[e].d(a)}}}function J5(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:l=!1}=e,{showControls:r}=e,{controlsElementRef:s=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:h}=e,{videoLogoUrl:g}=e,{showNextPrevButtons:v}=e,{nextButtonActive:b}=e,{prevButtonActive:A}=e,{isOneVideoPlaylist:P=!1}=e,{supportLink:T}=e,{customFullscreenSupported:S=!0}=e,{playNextVideo:I}=e,{playPrevVideo:z}=e,{repeatPlaylist:X}=e,{toggleFullscreen:$}=e,{returnFocus:H=Xe}=e,{seekToInteractive:B}=e,{toggleGraph:ne}=e,{playPrevChapter:re}=e;const ue=Tt().ui.isMobile;q(i,ue,_=>t(23,n=_));function J(_){s=_,t(0,s)}function U(_){s=_,t(0,s)}return i.$$set=_=>{"bottomHidden"in _&&t(1,o=_.bottomHidden),"bottomNoSmooth"in _&&t(2,l=_.bottomNoSmooth),"showControls"in _&&t(3,r=_.showControls),"controlsElementRef"in _&&t(0,s=_.controlsElementRef),"isAds"in _&&t(4,a=_.isAds),"canRewindLive"in _&&t(5,c=_.canRewindLive),"logoClickable"in _&&t(6,f=_.logoClickable),"logoHidden"in _&&t(7,h=_.logoHidden),"videoLogoUrl"in _&&t(8,g=_.videoLogoUrl),"showNextPrevButtons"in _&&t(9,v=_.showNextPrevButtons),"nextButtonActive"in _&&t(10,b=_.nextButtonActive),"prevButtonActive"in _&&t(11,A=_.prevButtonActive),"isOneVideoPlaylist"in _&&t(12,P=_.isOneVideoPlaylist),"supportLink"in _&&t(13,T=_.supportLink),"customFullscreenSupported"in _&&t(14,S=_.customFullscreenSupported),"playNextVideo"in _&&t(15,I=_.playNextVideo),"playPrevVideo"in _&&t(16,z=_.playPrevVideo),"repeatPlaylist"in _&&t(17,X=_.repeatPlaylist),"toggleFullscreen"in _&&t(18,$=_.toggleFullscreen),"returnFocus"in _&&t(19,H=_.returnFocus),"seekToInteractive"in _&&t(20,B=_.seekToInteractive),"toggleGraph"in _&&t(21,ne=_.toggleGraph),"playPrevChapter"in _&&t(22,re=_.playPrevChapter)},[s,o,l,r,a,c,f,h,g,v,b,A,P,T,S,I,z,X,$,H,B,ne,re,n,ue,J,U]}class Ic extends ke{constructor(e){super(),we(this,e,J5,Q5,_e,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:7,videoLogoUrl:8,showNextPrevButtons:9,nextButtonActive:10,prevButtonActive:11,isOneVideoPlaylist:12,supportLink:13,customFullscreenSupported:14,playNextVideo:15,playPrevVideo:16,repeatPlaylist:17,toggleFullscreen:18,returnFocus:19,seekToInteractive:20,toggleGraph:21,playPrevChapter:22})}}function x5(i){De(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function $5(i){let e,t,n,o,l,r,s,a,c,f,h,g,v;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("defs"),r=M("filter"),s=M("feFlood"),a=M("feColorMatrix"),c=M("feOffset"),f=M("feGaussianBlur"),h=M("feColorMatrix"),g=M("feBlend"),v=M("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_100684"),u(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_100684"),u(v,"result","shape"),u(r,"id","a"),u(r,"x","2.5"),u(r,"y","0"),u(r,"width","43.996"),u(r,"height","49.5"),u(r,"filterUnits","userSpaceOnUse"),u(r,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),E(e,"reversed",i[0])},m(b,A){y(b,e,A),d(e,t),d(t,n),d(t,o),d(e,l),d(l,r),d(r,s),d(r,a),d(r,c),d(r,f),d(r,h),d(r,g),d(r,v)},p(b,[A]){A&1&&E(e,"reversed",b[0])},i:Z,o:Z,d(b){b&&k(e)}}}function eg(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class tg extends ke{constructor(e){super(),we(this,e,eg,$5,_e,{reversed:0},x5)}}function ig(i){let e,t,n,o,l,r,s,a,c,f,h,g,v,b,A;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("defs"),r=M("clipPath"),s=M("path"),a=M("filter"),c=M("feFlood"),f=M("feColorMatrix"),h=M("feOffset"),g=M("feGaussianBlur"),v=M("feColorMatrix"),b=M("feBlend"),A=M("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(o,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(r,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(g,"stdDeviation","2.5"),u(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(A,"in","SourceGraphic"),u(A,"in2","effect1_dropShadow_2260_104204"),u(A,"result","shape"),u(a,"id","b"),u(a,"x","-1.5"),u(a,"y","1.5"),u(a,"width","51"),u(a,"height","45"),u(a,"filterUnits","userSpaceOnUse"),u(a,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(P,T){y(P,e,T),d(e,t),d(t,n),d(t,o),d(e,l),d(l,r),d(r,s),d(l,a),d(a,c),d(a,f),d(a,h),d(a,g),d(a,v),d(a,b),d(a,A)},d(P){P&&k(e)}}}function ng(i){let e,t,n,o,l,r,s,a,c,f,h,g,v,b,A,P;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("path"),r=M("defs"),s=M("clipPath"),a=M("path"),c=M("filter"),f=M("feFlood"),h=M("feColorMatrix"),g=M("feOffset"),v=M("feGaussianBlur"),b=M("feColorMatrix"),A=M("feBlend"),P=M("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(o,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(o,"fill","#fff"),u(l,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(s,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(h,"in","SourceAlpha"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(h,"result","hardAlpha"),u(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(A,"in2","BackgroundImageFix"),u(A,"result","effect1_dropShadow_2260_104293"),u(P,"in","SourceGraphic"),u(P,"in2","effect1_dropShadow_2260_104293"),u(P,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(T,S){y(T,e,S),d(e,t),d(t,n),d(t,o),d(t,l),d(e,r),d(r,s),d(s,a),d(r,c),d(c,f),d(c,h),d(c,g),d(c,v),d(c,b),d(c,A),d(c,P)},d(T){T&&k(e)}}}function og(i){let e;function t(l,r){return l[0]?ng:ig}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,r){o.m(l,r),y(l,e,r)},p(l,[r]){n!==(n=t(l))&&(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(l){l&&k(e),o.d(l)}}}function lg(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class zc extends ke{constructor(e){super(),we(this,e,lg,og,_e,{isOff:0})}}function rg(i){De(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function sg(i){let e,t,n,o,l,r,s,a,c,f,h,g,v;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("defs"),r=M("filter"),s=M("feFlood"),a=M("feColorMatrix"),c=M("feOffset"),f=M("feGaussianBlur"),h=M("feColorMatrix"),g=M("feBlend"),v=M("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_106627"),u(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_106627"),u(v,"result","shape"),u(r,"id","a"),u(r,"x","3.402"),u(r,"y","10.105"),u(r,"width","40.098"),u(r,"height","27.785"),u(r,"filterUnits","userSpaceOnUse"),u(r,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),E(e,"reversed",i[0])},m(b,A){y(b,e,A),d(e,t),d(t,n),d(t,o),d(e,l),d(l,r),d(r,s),d(r,a),d(r,c),d(r,f),d(r,h),d(r,g),d(r,v)},p(b,[A]){A&1&&E(e,"reversed",b[0])},i:Z,o:Z,d(b){b&&k(e)}}}function ag(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class ug extends ke{constructor(e){super(),we(this,e,ag,sg,_e,{reversed:0},rg)}}function cg(i){De(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function fg(i){let e,t,n,o,l,r,s,a,c,f,h,g,v;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),l=M("defs"),r=M("filter"),s=M("feFlood"),a=M("feColorMatrix"),c=M("feOffset"),f=M("feGaussianBlur"),h=M("feColorMatrix"),g=M("feBlend"),v=M("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2340_106922"),u(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2340_106922"),u(v,"result","shape"),u(r,"id","a"),u(r,"x","5.5"),u(r,"y","5.5"),u(r,"width","37"),u(r,"height","37"),u(r,"filterUnits","userSpaceOnUse"),u(r,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),E(e,"reversed",i[0])},m(b,A){y(b,e,A),d(e,t),d(t,n),d(t,o),d(e,l),d(l,r),d(r,s),d(r,a),d(r,c),d(r,f),d(r,h),d(r,g),d(r,v)},p(b,[A]){A&1&&E(e,"reversed",b[0])},i:Z,o:Z,d(b){b&&k(e)}}}function dg(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class mg extends ke{constructor(e){super(),we(this,e,dg,fg,_e,{reversed:0},cg)}}function hg(i){De(i,"v-1ner72s",`.hot-key-helpers-container.v-1ner72s.v-1ner72s{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-1ner72s-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-1ner72s>div.v-1ner72s{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-1ner72s svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-1ner72s svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-1ner72s svg[data-testid="play-icon"],.hot-key-helpers-container.v-1ner72s svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-1ner72s.v-1ner72s{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-1ner72s.v-1ner72s{left:calc(75% - 100px)}.hot-key-helpers-text.v-1ner72s.v-1ner72s{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-1ner72s.v-1ner72s{visibility:hidden;animation:v-1ner72s-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-1ner72s-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-1ner72s-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function Fa(i){let e,t=[Je.BACKWARD_SEEK,Je.FORWARD_SEEK].includes(i[4]),n,o,l,r,s,a=[Je.RATE_DOWN,Je.RATE_UP].includes(i[4]),c,f=[Je.EPISODE_PREV,Je.EPISODE_NEXT].includes(i[4]),h,g,v,b,A,P=t&&Ha(i),T=i[4]===Je.STOP&&Ua(),S=i[4]===Je.PLAY&&ja(),I=i[4]===Je.SUBTITLES_OFF&&Wa(),z=i[4]===Je.SUBTITLES_ON&&qa(),X=a&&Za(i),$=f&&Ga(i),H=i[4]===Je.MUTE&&Ya(),B=i[4]===Je.VOLUME&&Ka(),ne=i[5]&&Xa(i);return{c(){e=w("div"),P&&P.c(),n=R(),T&&T.c(),o=R(),S&&S.c(),l=R(),I&&I.c(),r=R(),z&&z.c(),s=R(),X&&X.c(),c=R(),$&&$.c(),h=R(),H&&H.c(),g=R(),B&&B.c(),v=R(),ne&&ne.c(),b=bt(),u(e,"class","v-1ner72s")},m(re,L){y(re,e,L),P&&P.m(e,null),d(e,n),T&&T.m(e,null),d(e,o),S&&S.m(e,null),d(e,l),I&&I.m(e,null),d(e,r),z&&z.m(e,null),d(e,s),X&&X.m(e,null),d(e,c),$&&$.m(e,null),d(e,h),H&&H.m(e,null),d(e,g),B&&B.m(e,null),y(re,v,L),ne&&ne.m(re,L),y(re,b,L),A=!0},p(re,L){L&16&&(t=[Je.BACKWARD_SEEK,Je.FORWARD_SEEK].includes(re[4])),t?P?(P.p(re,L),L&16&&m(P,1)):(P=Ha(re),P.c(),m(P,1),P.m(e,n)):P&&(he(),p(P,1,1,()=>{P=null}),ve()),re[4]===Je.STOP?T?L&16&&m(T,1):(T=Ua(),T.c(),m(T,1),T.m(e,o)):T&&(he(),p(T,1,1,()=>{T=null}),ve()),re[4]===Je.PLAY?S?L&16&&m(S,1):(S=ja(),S.c(),m(S,1),S.m(e,l)):S&&(he(),p(S,1,1,()=>{S=null}),ve()),re[4]===Je.SUBTITLES_OFF?I?L&16&&m(I,1):(I=Wa(),I.c(),m(I,1),I.m(e,r)):I&&(he(),p(I,1,1,()=>{I=null}),ve()),re[4]===Je.SUBTITLES_ON?z?L&16&&m(z,1):(z=qa(),z.c(),m(z,1),z.m(e,s)):z&&(he(),p(z,1,1,()=>{z=null}),ve()),L&16&&(a=[Je.RATE_DOWN,Je.RATE_UP].includes(re[4])),a?X?(X.p(re,L),L&16&&m(X,1)):(X=Za(re),X.c(),m(X,1),X.m(e,c)):X&&(he(),p(X,1,1,()=>{X=null}),ve()),L&16&&(f=[Je.EPISODE_PREV,Je.EPISODE_NEXT].includes(re[4])),f?$?($.p(re,L),L&16&&m($,1)):($=Ga(re),$.c(),m($,1),$.m(e,h)):$&&(he(),p($,1,1,()=>{$=null}),ve()),re[4]===Je.MUTE?H?L&16&&m(H,1):(H=Ya(),H.c(),m(H,1),H.m(e,g)):H&&(he(),p(H,1,1,()=>{H=null}),ve()),re[4]===Je.VOLUME?B?L&16&&m(B,1):(B=Ka(),B.c(),m(B,1),B.m(e,null)):B&&(he(),p(B,1,1,()=>{B=null}),ve()),re[5]?ne?ne.p(re,L):(ne=Xa(re),ne.c(),ne.m(b.parentNode,b)):ne&&(ne.d(1),ne=null)},i(re){A||(m(P),m(T),m(S),m(I),m(z),m(X),m($),m(H),m(B),A=!0)},o(re){p(P),p(T),p(S),p(I),p(z),p(X),p($),p(H),p(B),A=!1},d(re){re&&(k(e),k(v),k(b)),P&&P.d(),T&&T.d(),S&&S.d(),I&&I.d(),z&&z.d(),X&&X.d(),$&&$.d(),H&&H.d(),B&&B.d(),ne&&ne.d(re)}}}function Ha(i){let e,t;return e=new tg({props:{reversed:i[4]===Je.FORWARD_SEEK}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Je.FORWARD_SEEK),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ua(i){let e,t;return e=new bc({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ja(i){let e,t;return e=new rr({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Wa(i){let e,t;return e=new zc({props:{isOff:!0}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function qa(i){let e,t;return e=new zc({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Za(i){let e,t;return e=new ug({props:{reversed:i[4]===Je.RATE_UP}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Je.RATE_UP),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ga(i){let e,t;return e=new mg({props:{reversed:i[4]===Je.EPISODE_NEXT}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Je.EPISODE_NEXT),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ya(i){let e,t;return e=new sl({props:{volume:0}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ka(i){let e,t;return e=new sl({props:{volume:1}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Xa(i){let e,t;return{c(){e=w("span"),t=Ue(i[5]),u(e,"class","hot-key-helpers-text v-1ner72s")},m(n,o){y(n,e,o),d(e,t)},p(n,o){o&32&&$e(t,n[5])},d(n){n&&k(e)}}}function vg(i){let e,t,n=!i[1]&&i[4]&&Fa(i);return{c(){e=w("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-1ner72s"),E(e,"hidden",i[1]),E(e,"hot-key-helpers-container--left",i[2]),E(e,"hot-key-helpers-container--right",i[3])},m(o,l){y(o,e,l),n&&n.m(e,null),t=!0},p(o,[l]){!o[1]&&o[4]?n?(n.p(o,l),l&18&&m(n,1)):(n=Fa(o),n.c(),m(n,1),n.m(e,null)):n&&(he(),p(n,1,1,()=>{n=null}),ve()),(!t||l&2)&&E(e,"hidden",o[1]),(!t||l&4)&&E(e,"hot-key-helpers-container--left",o[2]),(!t||l&8)&&E(e,"hot-key-helpers-container--right",o[3])},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&k(e),n&&n.d()}}}function pg(i,e,t){let n,o=Z,l=()=>(o(),o=Vo(r,g=>t(6,n=g)),r);i.$$.on_destroy.push(()=>o());let{data:r}=e;l();let s,a,c,f,h;return i.$$set=g=>{"data"in g&&l(t(0,r=g.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,s=!n),t(2,a=(n==null?void 0:n.type)===Je.BACKWARD_SEEK),t(3,c=(n==null?void 0:n.type)===Je.FORWARD_SEEK),t(4,f=n==null?void 0:n.type),n!=null&&n.t?t(5,h=le(n.t.key,{value:n.t.value||""})):t(5,h=n==null?void 0:n.text))},[r,s,a,c,f,h,n]}class gg extends ke{constructor(e){super(),we(this,e,pg,vg,_e,{data:0},hg)}}function bg(i){De(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 _g(i){let e,t,n,o,l,r,s,a,c,f,h,g,v,b,A,P,T,S;return l=new zn({props:{direction:"up"}}),a=new zn({props:{direction:"up"}}),g=new zn({props:{direction:"up"}}),A=new zn({props:{direction:"up"}}),{c(){e=w("div"),t=w("div"),n=w("div"),o=w("div"),F(l.$$.fragment),r=R(),s=w("div"),F(a.$$.fragment),c=R(),f=w("div"),h=w("div"),F(g.$$.fragment),v=R(),b=w("div"),F(A.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(s,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(h,"class","button button-left v-1yzc86r"),u(b,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(t,"class","button-block v-1yzc86r"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),E(e,"m-shifted",i[0])},m(I,z){y(I,e,z),d(e,t),d(t,n),d(n,o),O(l,o,null),d(n,r),d(n,s),O(a,s,null),d(t,c),d(t,f),d(f,h),O(g,h,null),d(f,v),d(f,b),O(A,b,null),P=!0,T||(S=[Le(o,"mousedown",i[1]),Le(o,"mouseup",i[5]),Le(o,"mouseleave",i[5]),Le(s,"mousedown",i[3]),Le(s,"mouseup",i[5]),Le(s,"mouseleave",i[5]),Le(h,"mousedown",i[4]),Le(h,"mouseup",i[5]),Le(h,"mouseleave",i[5]),Le(b,"mousedown",i[2]),Le(b,"mouseup",i[5]),Le(b,"mouseleave",i[5]),Le(e,"keydown",i[6]),Le(e,"keyup",i[7])],T=!0)},p(I,[z]){(!P||z&1)&&E(e,"m-shifted",I[0])},i(I){P||(m(l.$$.fragment,I),m(a.$$.fragment,I),m(g.$$.fragment,I),m(A.$$.fragment,I),P=!0)},o(I){p(l.$$.fragment,I),p(a.$$.fragment,I),p(g.$$.fragment,I),p(A.$$.fragment,I),P=!1},d(I){I&&k(e),D(l),D(a),D(g),D(A),T=!1,Yt(S)}}}function wg(i,e,t){let{isShifted:n=!1}=e;const o=Tt(),l=new Set([Ze.ArrowUp,Ze.ArrowDown,Ze.ArrowLeft,Ze.ArrowRight]),r=()=>{o.actions.internal.startCameraManualRotation(0,1)},s=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),h=v=>{if(l.has(v.code))switch(v.preventDefault(),v.stopPropagation(),v.code){case Ze.ArrowUp:r();break;case Ze.ArrowDown:s();break;case Ze.ArrowLeft:c();break;case Ze.ArrowRight:a();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,r,s,a,c,f,h,g]}class Mc extends ke{constructor(e){super(),we(this,e,wg,_g,_e,{isShifted:0},bg)}}function kg(i){De(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 Qa(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function Ja(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function xa(i){let e,t;function n(r,s){return r[7]&&r[8]?Cg:r[5]?Pg:yg}let o=n(i),l=o(i);return{c(){e=w("div"),t=w("span"),l.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),E(e,"mobile",i[3])},m(r,s){y(r,e,s),d(e,t),l.m(t,null)},p(r,s){o===(o=n(r))&&l?l.p(r,s):(l.d(1),l=o(r),l&&(l.c(),l.m(t,null))),s&8&&E(e,"mobile",r[3])},d(r){r&&k(e),l.d()}}}function yg(i){let e,t=qt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=$a(Qa(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=bt()},m(o,l){for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(o,l);y(o,e,l)},p(o,l){if(l&18){t=qt(o[1]);let r;for(r=0;r<t.length;r+=1){const s=Qa(o,t,r);n[r]?n[r].p(s,l):(n[r]=$a(s),n[r].c(),n[r].m(e.parentNode,e))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(o){o&&k(e),vn(n,o)}}}function Pg(i){let e,t,n=qt(i[6]),o=[];for(let l=0;l<n.length;l+=1)o[l]=t1(Ja(i,n,l));return{c(){e=w("span"),t=w("span");for(let l=0;l<o.length;l+=1)o[l].c();u(t,"class","caption-segment v-ovfyp5"),Ht(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,r){y(l,e,r),d(e,t);for(let s=0;s<o.length;s+=1)o[s]&&o[s].m(t,null)},p(l,r){if(r&68){n=qt(l[6]);let s;for(s=0;s<n.length;s+=1){const a=Ja(l,n,s);o[s]?o[s].p(a,r):(o[s]=t1(a),o[s].c(),o[s].m(t,null))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}r&16&&Ht(t,"font-size",l[4]+"px")},d(l){l&&k(e),vn(o,l)}}}function Cg(i){let e,t,n=le("subtitles_auto_caption")+"",o;return{c(){e=w("span"),t=w("span"),o=Ue(n),u(t,"class","caption-segment v-ovfyp5"),Ht(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,r){y(l,e,r),d(e,t),d(t,o)},p(l,r){r&16&&Ht(t,"font-size",l[4]+"px")},d(l){l&&k(e)}}}function $a(i){let e,t,n=i[16]+"",o,l;return{c(){e=w("span"),t=w("span"),o=Ue(n),l=R(),u(t,"class","caption-segment v-ovfyp5"),Ht(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,s){y(r,e,s),d(e,t),d(t,o),d(e,l)},p(r,s){s&2&&n!==(n=r[16]+"")&&$e(o,n),s&16&&Ht(t,"font-size",r[4]+"px")},d(r){r&&k(e)}}}function e1(i){let e=i[16]+"",t;return{c(){t=Ue(e)},m(n,o){y(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&$e(t,e)},d(n){n&&k(t)}}}function t1(i){let e,t=(!i[17]||i[17]<=i[2])&&e1(i);return{c(){t&&t.c(),e=bt()},m(n,o){t&&t.m(n,o),y(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?t?t.p(n,o):(t=e1(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&k(e),t&&t.d(n)}}}function Sg(i){let e,t=i[1].length>0&&xa(i);return{c(){e=w("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),E(e,"shifted",i[0]),E(e,"auto",i[5]&&!i[8])},m(n,o){y(n,e,o),t&&t.m(e,null)},p(n,[o]){n[1].length>0?t?t.p(n,o):(t=xa(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),o&1&&E(e,"shifted",n[0]),o&288&&E(e,"auto",n[5]&&!n[8])},i:Z,o:Z,d(n){n&&k(e),t&&t.d()}}}function Tg(i,e,t){let n,o,{shifted:l}=e,{captions:r}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=Tt(),h=on(),g=f.state.currentSubtitle$;q(i,g,I=>t(12,n=I));const v=f.state.isAutoSubtitleCaptionVisible$;q(i,v,I=>t(8,o=I));let b,A,P,T,S;return en(()=>{S=window.setTimeout(()=>{v.set(!1)},h.autoSubtitlesTimeout)}),nl(()=>{window.clearTimeout(S)}),i.$$set=I=>{"shifted"in I&&t(0,l=I.shifted),"captions"in I&&t(1,r=I.captions),"position"in I&&t(2,s=I.position),"playerSize"in I&&t(11,a=I.playerSize),"isMobile"in I&&t(3,c=I.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const I=a.width*.02;t(4,b=I<=h.minSubtitlesFontSize?h.minSubtitlesFontSize:I)}i.$$.dirty&2&&t(5,A=r.some(I=>I.type==="timestamp")),i.$$.dirty&2&&t(6,P=r.reduce((I,{type:z,value:X})=>(z==="timestamp"?I.push({timeAppeared:Number(X),value:""}):I.length===0?I.push({value:String(X)}):I[I.length-1].value=String(X),I),[])),i.$$.dirty&4096&&t(7,T=!!n.isAuto)},[l,r,s,c,b,A,P,T,o,g,v,a,n]}class Rc extends ke{constructor(e){super(),we(this,e,Tg,Sg,_e,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},kg)}}function Eg(i){De(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 i1(i){let e,t,n;return{c(){e=w("div"),t=Ue("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Ue(i[1]),u(e,"class","text v-1o62kpz")},m(o,l){y(o,e,l),d(e,t),d(e,n)},p(o,l){l&2&&$e(n,o[1])},d(o){o&&k(e)}}}function Ag(i){let e,t,n,o,l,r,s=i[1]&&i1(i);return{c(){e=w("div"),t=w("div"),t.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=R(),s&&s.c(),u(t,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${i[0]||""}')`)},m(a,c){y(a,e,c),d(e,t),d(e,n),s&&s.m(e,null),l||(r=Le(e,"click",i[2]),l=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=i1(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:Z,o:Z,d(a){a&&k(e),s&&s.d(),l=!1,r()}}}function Lg(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function l(r){Eo.call(this,i,r)}return i.$$set=r=>{"thumbUrl"in r&&t(0,n=r.thumbUrl),"chromecastDeviceName"in r&&t(1,o=r.chromecastDeviceName)},[n,o,l]}class Bc extends ke{constructor(e){super(),we(this,e,Lg,Ag,_e,{thumbUrl:0,chromecastDeviceName:1},Eg)}}function Vg(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Ig extends ke{constructor(e){super(),we(this,e,null,Vg,_e,{})}}function zg(i){De(i,"v-zd9h6u",".container.v-zd9h6u{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function Mg(i){let e,t,n;return t=new Ig({}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","container v-zd9h6u")},m(o,l){y(o,e,l),O(t,e,null),n=!0},p:Z,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}class Nc extends ke{constructor(e){super(),we(this,e,null,Mg,_e,{},zg)}}function Rg(i){De(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 Bg(i){let e,t,n,o,l,r,s,a,c;return l=new rr({}),{c(){e=w("div"),t=w("div"),n=w("div"),o=R(),F(l.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(t,"class","playButton v-17wno3"),u(e,"class","container v-17wno3"),u(e,"style",r=`background-color: #222; background-image: url('${i[0]||""}')`),E(e,"hidden",i[1])},m(f,h){y(f,e,h),d(e,t),d(t,n),d(t,o),O(l,t,null),s=!0,a||(c=Le(e,"click",ut(function(){an(i[2])&&i[2].apply(this,arguments)})),a=!0)},p(f,[h]){i=f,(!s||h&1&&r!==(r=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",r),(!s||h&2)&&E(e,"hidden",i[1])},i(f){s||(m(l.$$.fragment,f),s=!0)},o(f){p(l.$$.fragment,f),s=!1},d(f){f&&k(e),D(l),a=!1,c()}}}function Ng(i,e,t){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:l}=e;return i.$$set=r=>{"thumbUrl"in r&&t(0,n=r.thumbUrl),"hidden"in r&&t(1,o=r.hidden),"startVideo"in r&&t(2,l=r.startVideo)},[n,o,l]}class Oc extends ke{constructor(e){super(),we(this,e,Ng,Bg,_e,{thumbUrl:0,hidden:1,startVideo:2},Rg)}}function Og(i){De(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 rs(i){let e;return{c(){e=w("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function ss(i){let e,t;return e=new dm({props:{position:i[6],duration:i[7]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&64&&(r.position=n[6]),o&128&&(r.duration=n[7]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function as(i){let e,t;return e=new bm({props:{position:i[6],secondsToWatchBeforeSkip:i[8],skipAd:i[10].actions.internal.skipAd}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&64&&(r.position=n[6]),o&256&&(r.secondsToWatchBeforeSkip=n[8]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function us(i){let e,t;return e=new am({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function cs(i){let e,t;return e=new wm({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Cm(i){let e,t,n,o,r,l,s,a,c=i[0]&&rs(),f=i[3]&&ss(i),d=i[4]&&as(i),g=i[9]&&us(),v=i[5]&&cs();return{c(){e=w("div"),c&&c.c(),t=N(),n=w("video"),o=N(),f&&f.c(),r=N(),d&&d.c(),l=N(),g&&g.c(),s=N(),v&&v.c(),Ht(n,"width","100%"),Ht(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(b,T){C(b,e,T),c&&c.m(e,null),m(e,t),m(e,n),i[22](n),m(e,o),f&&f.m(e,null),m(e,r),d&&d.m(e,null),m(e,l),g&&g.m(e,null),m(e,s),v&&v.m(e,null),i[23](e),a=!0},p(b,[T]){b[0]?c||(c=rs(),c.c(),c.m(e,t)):c&&(c.d(1),c=null),b[3]?f?(f.p(b,T),T&8&&h(f,1)):(f=ss(b),f.c(),h(f,1),f.m(e,r)):f&&(he(),p(f,1,1,()=>{f=null}),pe()),b[4]?d?(d.p(b,T),T&16&&h(d,1)):(d=as(b),d.c(),h(d,1),d.m(e,l)):d&&(he(),p(d,1,1,()=>{d=null}),pe()),b[9]?g?T&512&&h(g,1):(g=us(),g.c(),h(g,1),g.m(e,s)):g&&(he(),p(g,1,1,()=>{g=null}),pe()),b[5]?v?T&32&&h(v,1):(v=cs(),v.c(),h(v,1),v.m(e,null)):v&&(he(),p(v,1,1,()=>{v=null}),pe())},i(b){a||(h(f),h(d),h(g),h(v),a=!0)},o(b){p(f),p(d),p(g),p(v),a=!1},d(b){b&&y(e),c&&c.d(),i[22](null),f&&f.d(),d&&d.d(),g&&g.d(),v&&v.d(),i[23](null)}}}function Pm(i,e,t){let n,o,r,l,s,a,{adsSlotId:c=void 0}=e,{adsParams:f=void 0}=e,{adsPreviewParam:d=void 0}=e,{duration:g=0}=e;const v=Rt(),b=v.state.isEnded$;W(i,b,J=>t(9,a=J));const T=v.ui.isMobile;W(i,T,J=>t(0,o=J));let _,A,E=!1;const V=v.ads.playbackState;W(i,V,J=>t(21,n=J));const B=v.ads.canSkip,oe=v.ads.duration;W(i,oe,J=>t(7,l=J));const O=v.ads.position;W(i,O,J=>t(6,r=J));const q=v.ads.secondsToWatchBeforeSkip;W(i,q,J=>t(8,s=J));let D,de,ae;wn(()=>{const J=new AbortController;let S=()=>{J.abort()};const I=v.getAdmanWrapper();if(!c){I.onAdmanLoadingError();return}const{width:re,height:G}=ut(v.ui.playerSize),we=ut(v.ui.isFullscreen),se=ut(v.ui.isAutoplay),K={width:re,height:G,isFullscreen:we,isAutoplay:se,adsContainer:_,adsVideoElement:A,slotId:c,params:f,previewParam:d,duration:g};return window.AdmanHTML?(I.initAdman(K),E=!0):I.loadAdman(J.signal).then(()=>{I.initAdman(K),E=!0}).catch(()=>{I.onAdmanLoadingError()}),()=>{!E&&S()}});function Z(J){Ve[J?"unshift":"push"](()=>{A=J,t(2,A)})}function ce(J){Ve[J?"unshift":"push"](()=>{_=J,t(1,_)})}return i.$$set=J=>{"adsSlotId"in J&&t(17,c=J.adsSlotId),"adsParams"in J&&t(18,f=J.adsParams),"adsPreviewParam"in J&&t(19,d=J.adsPreviewParam),"duration"in J&&t(20,g=J.duration)},i.$$.update=()=>{i.$$.dirty&2097152&&t(3,D=n!==Kt.INACTIVE),i.$$.dirty&2097152&&t(4,de=B&&n!==Kt.INACTIVE),i.$$.dirty&2097153&&t(5,ae=o&&n!==Kt.INACTIVE)},[o,_,A,D,de,ae,r,l,s,a,v,b,T,V,oe,O,q,c,f,d,g,n,Z,ce]}class rc extends ke{constructor(e){super(),_e(this,e,Pm,Cm,be,{adsSlotId:17,adsParams:18,adsPreviewParam:19,duration:20},ym)}}function Tm(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(t,"fill","none"),u(t,"stroke","#fff"),u(t,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(o,r){C(o,e,r),m(e,t),m(e,n)},d(o){o&&y(e)}}}function Sm(i){let e,t,n;return{c(){e=M("svg"),t=M("rect"),n=M("path"),u(t,"width","42"),u(t,"height","20"),u(t,"rx","5"),u(t,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(o,r){C(o,e,r),m(e,t),m(e,n)},d(o){o&&y(e)}}}function Em(i){let e;function t(r,l){return r[0]?Sm:Tm}let n=t(i),o=n(i);return{c(){o.c(),e=Tt()},m(r,l){o.m(r,l),C(r,e,l)},p(r,[l]){n!==(n=t(r))&&(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:U,o:U,d(r){r&&y(e),o.d(r)}}}function Am(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class sc extends ke{constructor(e){super(),_e(this,e,Am,Em,be,{isActive:0})}}function Im(i){je(i,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function Lm(i){let e=An(i[4]-i[3])+"",t;return{c(){t=Ue(e)},m(n,o){C(n,t,o)},p(n,o){o&24&&e!==(e=An(n[4]-n[3])+"")&&it(t,e)},i:U,o:U,d(n){n&&y(t)}}}function Vm(i){let e,t,n;return t=new sc({props:{isActive:!0}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,r){C(o,e,r),z(t,e,null),n=!0},p:U,i(o){n||(h(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),F(t)}}}function Mm(i){let e,t,n,o,r,l,s;const a=[Vm,Lm],c=[];function f(d,g){return d[1]?0:1}return r=f(i),l=c[r]=a[r](i),{c(){e=w("div"),t=w("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=N(),o=w("span"),l.c(),u(t,"class","thumb-timer-equalizer v-7pnl2h"),u(o,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),L(e,"live",i[1]),L(e,"hidden",i[0]),L(e,"playing",i[2])},m(d,g){C(d,e,g),m(e,t),m(e,n),m(e,o),c[r].m(o,null),s=!0},p(d,[g]){let v=r;r=f(d),r===v?c[r].p(d,g):(he(),p(c[v],1,1,()=>{c[v]=null}),pe(),l=c[r],l?l.p(d,g):(l=c[r]=a[r](d),l.c()),h(l,1),l.m(o,null)),(!s||g&2)&&L(e,"live",d[1]),(!s||g&1)&&L(e,"hidden",d[0]),(!s||g&4)&&L(e,"playing",d[2])},i(d){s||(h(l),s=!0)},o(d){p(l),s=!1},d(d){d&&y(e),c[r].d()}}}function Bm(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:r=!1}=e,{position:l}=e,{duration:s}=e;return i.$$set=a=>{"isHidden"in a&&t(0,n=a.isHidden),"isLive"in a&&t(1,o=a.isLive),"isPlaying"in a&&t(2,r=a.isPlaying),"position"in a&&t(3,l=a.position),"duration"in a&&t(4,s=a.duration)},[n,o,r,l,s]}class ac extends ke{constructor(e){super(),_e(this,e,Bm,Mm,be,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},Im)}}const or=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 Rm(i){je(i,"v-gew86s","ul.v-gew86s{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-gew86s{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-gew86s:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function Nm(i){let e,t,n,o,r,l=!i[4]&&!i[14]&&fs(i);return{c(){e=w("li"),e.textContent=`${le("menu_copy_video_link")}`,t=N(),l&&l.c(),n=Tt(),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),C(s,t,a),l&&l.m(s,a),C(s,n,a),o||(r=Pe(e,"click",mt(i[28])),o=!0)},p(s,a){!s[4]&&!s[14]?l?l.p(s,a):(l=fs(s),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(s){s&&(y(e),y(t),y(n)),l&&l.d(s),o=!1,r()}}}function fs(i){let e,t,n;return{c(){e=w("li"),e.textContent=`${le("menu_copy_video_link_with_timestamp")}`,u(e,"class","v-gew86s")},m(o,r){C(o,e,r),t||(n=Pe(e,"click",mt(i[29])),t=!0)},p:U,d(o){o&&y(e),t=!1,n()}}}function ds(i){let e,t,n;return{c(){e=w("li"),e.textContent=`${le("menu_pip")}`,u(e,"class","v-gew86s")},m(o,r){C(o,e,r),t||(n=Pe(e,"click",mt(i[19])),t=!0)},p:U,d(o){o&&y(e),t=!1,n()}}}function Om(i){let e,t,n;return{c(){e=w("li"),e.textContent=`${le("menu_video_rotate")}`,u(e,"class","v-gew86s")},m(o,r){C(o,e,r),t||(n=Pe(e,"click",mt(i[15])),t=!0)},p:U,d(o){o&&y(e),t=!1,n()}}}function ms(i){let e,t,n;return{c(){e=w("li"),e.textContent=`${le("menu_report")}`,u(e,"class","v-gew86s")},m(o,r){C(o,e,r),t||(n=Pe(e,"click",mt(i[16])),t=!0)},p:U,d(o){o&&y(e),t=!1,n()}}}function Dm(i){var T;let e,t,n,o,r,l,s,a,c,f,d=i[8].features.copyVideoLink&&((T=i[7].callbacks)==null?void 0:T.onCopyVideoLink)&&Nm(i),g=i[9]&&i[5]!==In.CONNECTED&&!i[14]&&ds(i),v=i[8].features.videoRotate&&!i[14]&&Om(i),b=i[8].showSupport&&!i[6]&&ms(i);return{c(){e=w("ul"),d&&d.c(),t=N(),g&&g.c(),n=N(),v&&v.c(),o=N(),b&&b.c(),r=N(),l=w("li"),l.textContent=`${i[8].features.saveDebugInfoToFile?le("menu_save_debug"):le("menu_copy_debug")}`,s=N(),a=w("li"),a.textContent=`${le("menu_debug_overlay")}`,u(l,"class","v-gew86s"),u(a,"class","v-gew86s"),Ht(e,"top",i[2]+"px"),Ht(e,"left",i[1]+"px"),u(e,"class","v-gew86s"),L(e,"hidden",!i[0])},m(_,A){C(_,e,A),d&&d.m(e,null),m(e,t),g&&g.m(e,null),m(e,n),v&&v.m(e,null),m(e,o),b&&b.m(e,null),m(e,r),m(e,l),m(e,s),m(e,a),i[30](e),c||(f=[Pe(l,"click",mt(i[17])),Pe(a,"click",mt(i[18])),Pe(e,"contextmenu",ci(i[27]))],c=!0)},p(_,A){var E;_[8].features.copyVideoLink&&((E=_[7].callbacks)!=null&&E.onCopyVideoLink)&&d.p(_,A),_[9]&&_[5]!==In.CONNECTED&&!_[14]?g?g.p(_,A):(g=ds(_),g.c(),g.m(e,n)):g&&(g.d(1),g=null),_[8].features.videoRotate&&!_[14]&&v.p(_,A),_[8].showSupport&&!_[6]?b?b.p(_,A):(b=ms(_),b.c(),b.m(e,r)):b&&(b.d(1),b=null),A[0]&4&&Ht(e,"top",_[2]+"px"),A[0]&2&&Ht(e,"left",_[1]+"px"),A[0]&1&&L(e,"hidden",!_[0])},i:U,o:U,d(_){_&&y(e),d&&d.d(),g&&g.d(),v&&v.d(),b&&b.d(),i[30](null),c=!1,Qt(f)}}}function zm(i,e,t){var Be;let n,o,r,l,{visible:s=!1}=e,{supportLink:a}=e,{x:c=0}=e,{y:f=0}=e,{playerContainerRef:d=void 0}=e,{controlsContainerRef:g=void 0}=e,{returnFocus:v}=e,b=0,T=0;const _=Rt(),A=tn(),E=_.ui.contextMenuVisible,V=_.ui.debugPanelVisible,B=_.webApi.pictureInPictureApi,oe=(Be=_.webApi.pictureInPictureApi)==null?void 0:Be.info.isActive$;W(i,oe,R=>t(6,l=R));const O=_.state.chromecastState$;W(i,O,R=>t(5,r=R));const q=_.state.isLive$;W(i,q,R=>t(4,o=R));const D=_.state.positionExact$;W(i,D,R=>t(31,n=R));const de=_.state.isInteractive;let ae;const Z=(R,ue)=>{if(!ae||!d||!g)return;const k=ae.getBoundingClientRect(),$=d.getBoundingClientRect();t(1,b=R-$.left),t(2,T=ue-$.top),b+k.width>$.width&&t(1,b=$.width-k.width),T+k.height>$.height&&t(2,T=$.height-k.height),t(1,b=Math.max(b,0)),t(2,T=Math.max(T,0))},ce=()=>{E.set(!1),_.actions.internal.videoRotate()},J=()=>{window.open(a,"_blank"),E.set(!1),_.actions.internal.pause()},S=()=>{const R=_.actions.internal.getDebugTextData();if(A.features.saveDebugInfoToFile){const ue=new Blob([...R],{type:"plain/text"}),k=window.URL.createObjectURL(ue);fu(k,"vk_player_debug_info","txt")}else or(_.actions.internal.getDebugTextData());E.set(!1),v==null||v()},I=()=>{V.set(!0),E.set(!1),v==null||v()},re=()=>Yn(this,null,function*(){try{B!=null&&B.isActive()?yield B==null?void 0:B.remove():yield B==null?void 0:B.request()}finally{E.set(!1),v==null||v()}}),G=(R=!1)=>{var ue,k;if((ue=_.callbacks)!=null&&ue.onCopyVideoLink){const $=(k=_.callbacks)==null?void 0:k.onCopyVideoLink(R,n);$&&or($)}E.set(!1)};function we(R){go.call(this,i,R)}const se=()=>G(),K=()=>G(!0);function ne(R){Ve[R?"unshift":"push"](()=>{ae=R,t(3,ae)})}return i.$$set=R=>{"visible"in R&&t(0,s=R.visible),"supportLink"in R&&t(21,a=R.supportLink),"x"in R&&t(22,c=R.x),"y"in R&&t(23,f=R.y),"playerContainerRef"in R&&t(24,d=R.playerContainerRef),"controlsContainerRef"in R&&t(25,g=R.controlsContainerRef),"returnFocus"in R&&t(26,v=R.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&12582912&&Z(c,f)},[s,b,T,ae,o,r,l,_,A,B,oe,O,q,D,de,ce,J,S,I,re,G,a,c,f,d,g,v,we,se,K,ne]}class Fm extends ke{constructor(e){super(),_e(this,e,zm,Dm,be,{visible:0,supportLink:21,x:22,y:23,playerContainerRef:24,controlsContainerRef:25,returnFocus:26},Rm,[-1,-1])}}class Hm{constructor(e){this.value=e,this.next=null}}class jl{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new Hm(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 Um(i){je(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function jm(i){let e,t;return{c(){e=w("div"),t=w("canvas"),u(t,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,o){C(n,e,o),m(e,t),i[3](t)},p:U,i:U,o:U,d(n){n&&y(e),i[3](null)}}}const ql=16,Zl=120,hs=60;function qm(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function Zm(i,e,t){let{values:n=[]}=e,o,r;const l=Zl/hs;wn(()=>{t(0,o.width=Zl,o),t(0,o.height=ql,o),t(2,r=o.getContext("2d"))});function s(a){Ve[a?"unshift":"push"](()=>{o=a,t(0,o)})}return i.$$set=a=>{"values"in a&&t(1,n=a.values)},i.$$.update=()=>{if(i.$$.dirty&6&&r){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);r.clearRect(0,0,Zl,ql);let c=hs-1;for(let f=n.length-1;f>=0;f--){const d=c*l,g=a>0?ql*(n[f]/a):0;qm(r,d,0,l,g),c--}}},[o,n,r,s]}class vr extends ke{constructor(e){super(),_e(this,e,Zm,jm,be,{values:1},Um)}}function Wm(i){je(i,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function ps(i){let e,t,n,o,r=i[0].id+"",l;return{c(){e=w("div"),t=w("div"),t.textContent="Video id",n=N(),o=w("span"),l=Ue(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){C(s,e,a),m(e,t),m(e,n),m(e,o),m(o,l)},p(s,a){a&1&&r!==(r=s[0].id+"")&&it(l,r)},d(s){s&&y(e)}}}function vs(i){let e,t,n,o,r=i[0].provider+"",l;return{c(){e=w("div"),t=w("div"),t.textContent="Provider",n=N(),o=w("span"),l=Ue(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){C(s,e,a),m(e,t),m(e,n),m(e,o),m(o,l)},p(s,a){a&1&&r!==(r=s[0].provider+"")&&it(l,r)},d(s){s&&y(e)}}}function gs(i){let e,t,n,o,r=i[0].viewport+"",l;return{c(){e=w("div"),t=w("div"),t.textContent="Viewport",n=N(),o=w("span"),l=Ue(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){C(s,e,a),m(e,t),m(e,n),m(e,o),m(o,l)},p(s,a){a&1&&r!==(r=s[0].viewport+"")&&it(l,r)},d(s){s&&y(e)}}}function bs(i){let e,t,n,o,r=i[0].videoSize+"",l;return{c(){e=w("div"),t=w("div"),t.textContent="Video size",n=N(),o=w("span"),l=Ue(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){C(s,e,a),m(e,t),m(e,n),m(e,o),m(o,l)},p(s,a){a&1&&r!==(r=s[0].videoSize+"")&&it(l,r)},d(s){s&&y(e)}}}function _s(i){let e,t,n,o,r=i[0].cdn+"",l;return{c(){e=w("div"),t=w("div"),t.textContent="CDN host",n=N(),o=w("span"),l=Ue(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){C(s,e,a),m(e,t),m(e,n),m(e,o),m(o,l)},p(s,a){a&1&&r!==(r=s[0].cdn+"")&&it(l,r)},d(s){s&&y(e)}}}function ks(i){let e,t,n,o,r=i[0].volume+"",l,s;return{c(){e=w("div"),t=w("div"),t.textContent="Volume",n=N(),o=w("span"),l=Ue(r),s=Ue(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){C(a,e,c),m(e,t),m(e,n),m(e,o),m(o,l),m(o,s)},p(a,c){c&1&&r!==(r=a[0].volume+"")&&it(l,r)},d(a){a&&y(e)}}}function ws(i){let e,t,n,o,r=i[0].buffer.toFixed(2)+"",l,s;return{c(){e=w("div"),t=w("div"),t.textContent="Buffer",n=N(),o=w("span"),l=Ue(r),s=Ue(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){C(a,e,c),m(e,t),m(e,n),m(e,o),m(o,l),m(o,s)},p(a,c){c&1&&r!==(r=a[0].buffer.toFixed(2)+"")&&it(l,r)},d(a){a&&y(e)}}}function ys(i){let e,t,n,o,r,l,s=i[0].speed.toFixed(2)+"",a,c,f;return o=new vr({props:{values:i[5]}}),{c(){e=w("div"),t=w("div"),t.textContent="Network",n=N(),H(o.$$.fragment),r=N(),l=w("span"),a=Ue(s),c=Ue(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(d,g){C(d,e,g),m(e,t),m(e,n),z(o,e,null),m(e,r),m(e,l),m(l,a),m(l,c),f=!0},p(d,g){const v={};g&32&&(v.values=d[5]),o.$set(v),(!f||g&1)&&s!==(s=d[0].speed.toFixed(2)+"")&&it(a,s)},i(d){f||(h(o.$$.fragment,d),f=!0)},o(d){p(o.$$.fragment,d),f=!1},d(d){d&&y(e),F(o)}}}function Cs(i){let e,t,n,o,r,l,s=i[0].bitrate.toFixed(2)+"",a,c,f;return o=new vr({props:{values:i[6]}}),{c(){e=w("div"),t=w("div"),t.textContent="V bitrate",n=N(),H(o.$$.fragment),r=N(),l=w("span"),a=Ue(s),c=Ue(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(d,g){C(d,e,g),m(e,t),m(e,n),z(o,e,null),m(e,r),m(e,l),m(l,a),m(l,c),f=!0},p(d,g){const v={};g&64&&(v.values=d[6]),o.$set(v),(!f||g&1)&&s!==(s=d[0].bitrate.toFixed(2)+"")&&it(a,s)},i(d){f||(h(o.$$.fragment,d),f=!0)},o(d){p(o.$$.fragment,d),f=!1},d(d){d&&y(e),F(o)}}}function Gm(i){let e,t,n,o,r,l,s,a,c=i[0].version+"",f,d,g,v,b,T,_,A,E,V,B,oe,O,q,D,de,ae,Z,ce,J,S,I,re,G,we,se,K,ne,Be,R,ue=i[0].id&&ps(i),k=i[0].provider&&vs(i),$=i[0].viewport&&gs(i),ze=i[0].videoSize&&bs(i),Te=i[0].cdn&&_s(i),Le=i[0].volume&&ks(i),Ee=i[0].buffer&&ws(i),ge=i[0].speed&&ys(i),Se=i[0].bitrate&&Cs(i);return G=new vr({props:{values:i[4]}}),{c(){e=w("div"),t=w("button"),t.textContent="[x]",n=N(),o=w("div"),r=w("div"),l=w("div"),l.textContent="Version",s=N(),a=w("span"),f=Ue(c),d=N(),ue&&ue.c(),g=N(),k&&k.c(),v=N(),$&&$.c(),b=N(),ze&&ze.c(),T=N(),Te&&Te.c(),_=N(),Le&&Le.c(),A=N(),Ee&&Ee.c(),E=N(),V=w("div"),B=w("div"),B.textContent="Dropped",oe=N(),O=w("span"),q=Ue(i[2]),D=Ue(" / "),de=Ue(i[1]),ae=Ue(" frames"),Z=N(),ge&&ge.c(),ce=N(),Se&&Se.c(),J=N(),S=w("div"),I=w("div"),I.textContent="FPS",re=N(),H(G.$$.fragment),we=N(),se=w("span"),K=Ue(i[3]),u(t,"class","close v-1gy2e68"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(l,"class","v-1gy2e68"),u(r,"class","v-1gy2e68"),u(B,"class","v-1gy2e68"),u(V,"class","v-1gy2e68"),u(I,"class","v-1gy2e68"),u(S,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),L(e,"container-mobile",i[7])},m(Ce,X){C(Ce,e,X),m(e,t),m(e,n),m(e,o),m(o,r),m(r,l),m(r,s),m(r,a),m(a,f),m(o,d),ue&&ue.m(o,null),m(o,g),k&&k.m(o,null),m(o,v),$&&$.m(o,null),m(o,b),ze&&ze.m(o,null),m(o,T),Te&&Te.m(o,null),m(o,_),Le&&Le.m(o,null),m(o,A),Ee&&Ee.m(o,null),m(o,E),m(o,V),m(V,B),m(V,oe),m(V,O),m(O,q),m(O,D),m(O,de),m(O,ae),m(o,Z),ge&&ge.m(o,null),m(o,ce),Se&&Se.m(o,null),m(o,J),m(o,S),m(S,I),m(S,re),z(G,S,null),m(S,we),m(S,se),m(se,K),ne=!0,Be||(R=Pe(t,"click",mt(i[9])),Be=!0)},p(Ce,[X]){(!ne||X&1)&&c!==(c=Ce[0].version+"")&&it(f,c),Ce[0].id?ue?ue.p(Ce,X):(ue=ps(Ce),ue.c(),ue.m(o,g)):ue&&(ue.d(1),ue=null),Ce[0].provider?k?k.p(Ce,X):(k=vs(Ce),k.c(),k.m(o,v)):k&&(k.d(1),k=null),Ce[0].viewport?$?$.p(Ce,X):($=gs(Ce),$.c(),$.m(o,b)):$&&($.d(1),$=null),Ce[0].videoSize?ze?ze.p(Ce,X):(ze=bs(Ce),ze.c(),ze.m(o,T)):ze&&(ze.d(1),ze=null),Ce[0].cdn?Te?Te.p(Ce,X):(Te=_s(Ce),Te.c(),Te.m(o,_)):Te&&(Te.d(1),Te=null),Ce[0].volume?Le?Le.p(Ce,X):(Le=ks(Ce),Le.c(),Le.m(o,A)):Le&&(Le.d(1),Le=null),Ce[0].buffer?Ee?Ee.p(Ce,X):(Ee=ws(Ce),Ee.c(),Ee.m(o,E)):Ee&&(Ee.d(1),Ee=null),(!ne||X&4)&&it(q,Ce[2]),(!ne||X&2)&&it(de,Ce[1]),Ce[0].speed?ge?(ge.p(Ce,X),X&1&&h(ge,1)):(ge=ys(Ce),ge.c(),h(ge,1),ge.m(o,ce)):ge&&(he(),p(ge,1,1,()=>{ge=null}),pe()),Ce[0].bitrate?Se?(Se.p(Ce,X),X&1&&h(Se,1)):(Se=Cs(Ce),Se.c(),h(Se,1),Se.m(o,J)):Se&&(he(),p(Se,1,1,()=>{Se=null}),pe());const j={};X&16&&(j.values=Ce[4]),G.$set(j),(!ne||X&8)&&it(K,Ce[3]),(!ne||X&128)&&L(e,"container-mobile",Ce[7])},i(Ce){ne||(h(ge),h(Se),h(G.$$.fragment,Ce),ne=!0)},o(Ce){p(ge),p(Se),p(G.$$.fragment,Ce),ne=!1},d(Ce){Ce&&y(e),ue&&ue.d(),k&&k.d(),$&&$.d(),ze&&ze.d(),Te&&Te.d(),Le&&Le.d(),Ee&&Ee.d(),ge&&ge.d(),Se&&Se.d(),F(G),Be=!1,R()}}}function Ym(i,e,t){let n;const o=Rt(),r=o.ui.debugPanelVisible,l=o.ui.isMobile;W(i,l,V=>t(7,n=V));const s=()=>{kn.remove(xl),r.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,d=0,g=0;const v=new jl(60),b=new jl(60),T=new jl(60);let _=[],A=[],E=[];return wn(()=>{kn.set(xl,"true"),o.actions.internal.startLogging(),c&&(t(2,d=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const V=window.setInterval(()=>{t(0,a=o.actions.internal.getDebugPanelData())},500);let B;return c&&(B=window.setInterval(()=>{if(c){t(2,d=c.getVideoPlaybackQuality().droppedVideoFrames);const oe=c.getVideoPlaybackQuality().totalVideoFrames;t(3,g=oe-f),t(1,f=oe),v.push(g),a.speed&&b.push(a.speed),a.bitrate&&T.push(a.bitrate),t(4,_=v.getValuesFromBottom()),t(5,A=b.getValuesFromBottom()),t(6,E=T.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(V),B&&clearInterval(B)}}),[a,f,d,g,_,A,E,n,l,s]}class uc extends ke{constructor(e){super(),_e(this,e,Ym,Gm,be,{},Wm)}}function Km(i){je(i,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function Xm(i){let e,t,n;return{c(){e=w("div"),u(e,"class","close v-1ome55p")},m(o,r){C(o,e,r),t||(n=Pe(e,"click",mt(i[0])),t=!0)},p:U,i:U,o:U,d(o){o&&y(e),t=!1,n()}}}function Qm(i){function e(t){go.call(this,i,t)}return[e]}class Jm extends ke{constructor(e){super(),_e(this,e,Qm,Xm,be,{},Km)}}function xm(i){je(i,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
25
+ }.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function $m(i){let e,t,n,o,r,l,s;return{c(){e=w("div"),t=w("canvas"),n=N(),o=M("svg"),r=M("g"),l=M("g"),s=M("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(s,"class","_play"),u(s,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(s,"fill","#fff"),u(l,"fill-rule","nonzero"),u(r,"fill","none"),u(r,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){C(a,e,c),m(e,t),i[2](t),m(e,n),m(e,o),m(o,r),m(r,l),m(l,s)},p:U,i:U,o:U,d(a){a&&y(e),i[2](null)}}}const e3=5e3;function t3(i,e,t){let{onTimerEnded:n=Ge}=e,o;wn(()=>{let l;const s=o.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/e3;f<1?(s.clearRect(0,0,100,100),s.beginPath(),s.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),s.stroke(),l=requestAnimationFrame(c)):n()};return l=requestAnimationFrame(c),()=>{cancelAnimationFrame(l)}});function r(l){Ve[l?"unshift":"push"](()=>{o=l,t(0,o)})}return i.$$set=l=>{"onTimerEnded"in l&&t(1,n=l.onTimerEnded)},[o,n,r]}class i3 extends ke{constructor(e){super(),_e(this,e,t3,$m,be,{onTimerEnded:1},xm)}}function n3(i){je(i,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function Ps(i){let e,t;return e=new i3({props:{onTimerEnded:i[2]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&4&&(r.onTimerEnded=n[2]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function o3(i){let e,t,n,o,r,l,s,a,c,f,d,g,v,b,T,_,A,E,V,B,oe;s=new Jm({}),s.$on("click",i[4]);let O=i[3]&&Ps(i);return{c(){e=w("div"),t=N(),n=w("div"),o=w("div"),r=w("div"),r.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",l=N(),H(s.$$.fragment),a=N(),c=w("div"),f=w("div"),d=w("div"),g=w("div"),v=N(),O&&O.c(),T=N(),_=w("div"),A=w("div"),E=Ue(i[0]),u(e,"class","overlay v-kisfwc"),u(r,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(g,"class","thumb-overlay v-kisfwc"),u(d,"class","thumb v-kisfwc"),u(d,"style",b=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(A,"class","title v-kisfwc"),u(_,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(q,D){C(q,e,D),C(q,t,D),C(q,n,D),m(n,o),m(o,r),m(o,l),z(s,o,null),m(n,a),m(n,c),m(c,f),m(f,d),m(d,g),m(d,v),O&&O.m(d,null),m(c,T),m(c,_),m(_,A),m(A,E),V=!0,B||(oe=Pe(c,"click",function(){mn(i[2])&&i[2].apply(this,arguments)}),B=!0)},p(q,[D]){i=q,i[3]?O?(O.p(i,D),D&8&&h(O,1)):(O=Ps(i),O.c(),h(O,1),O.m(d,null)):O&&(he(),p(O,1,1,()=>{O=null}),pe()),(!V||D&2&&b!==(b=`background-image: url('${i[1]}')`))&&u(d,"style",b),(!V||D&1)&&it(E,i[0])},i(q){V||(h(s.$$.fragment,q),h(O),V=!0)},o(q){p(s.$$.fragment,q),p(O),V=!1},d(q){q&&(y(e),y(t),y(n)),F(s),O&&O.d(),B=!1,oe()}}}function l3(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:r}=e,l=!0;const s=()=>t(3,l=!1);return i.$$set=a=>{"title"in a&&t(0,n=a.title),"thumb"in a&&t(1,o=a.thumb),"playNextVideo"in a&&t(2,r=a.playNextVideo)},[n,o,r,l,s]}class r3 extends ke{constructor(e){super(),_e(this,e,l3,o3,be,{title:0,thumb:1,playNextVideo:2},n3)}}const cc=(i,e)=>Math.min(+(i+e).toFixed(2),1),fc=(i,e)=>Math.max(+(i-e).toFixed(2),0),dc=(i,e,t)=>{const n=cc(e,t);e<1&&i.actions.internal.setVolume(n)},mc=(i,e,t)=>{const n=fc(e,t);e>0&&i.actions.internal.setVolume(n)};function s3(i){je(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function a3(i){let e,t,n,o;const r=i[20].default,l=Fn(r,i,i[19],null);return{c(){e=w("div"),l&&l.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(s,a){C(s,e,a),l&&l.m(e,null),i[21](e),t=!0,n||(o=[Pe(e,"keyup",i[12]),Pe(e,"keydown",i[11])],n=!0)},p(s,a){l&&l.p&&(!t||a[0]&524288)&&Un(l,r,s,s[19],t?Hn(r,s[19],a,null):jn(s[19]),null)},i(s){t||(h(l,s),t=!0)},o(s){p(l,s),t=!1},d(s){s&&y(e),l&&l.d(s),i[21](null),n=!1,Qt(o)}}}function u3(i,e,t){let n,o,r,l,s,a,c,f,d,g,{$$slots:v={},$$scope:b}=e,{isAds:T}=e,{hideContextMenu:_}=e,{toggleFullscreen:A}=e,{showHotKeyHelpers:E}=e,{showKeyMap:V}=e;const B=Rt(),oe=tn(),O=B.getLogger().createComponentLog("KeyboardControls component"),q=B.state.playbackState$;W(i,q,k=>t(25,o=k));const D=B.ads.playbackState;W(i,D,k=>t(24,n=k));const de=B.state.positionExact$;W(i,de,k=>t(30,c=k));const ae=B.state.duration$;W(i,ae,k=>t(29,a=k));const Z=B.state.volume$;W(i,Z,k=>t(33,g=k));const ce=B.ui.controls.disabledControls$;W(i,ce,k=>t(28,s=k));const J=B.state.muted$;W(i,J,k=>t(27,l=k));const S=B.state.currentSubtitle$;W(i,S,k=>t(26,r=k));const I=B.state.currentPlaybackRate$;W(i,I,k=>t(31,f=k));const re=B.state.availablePlaybackRates$;W(i,re,k=>t(32,d=k));let G=0,we=!0,se;const K=()=>se==null?void 0:se.focus(),ne=k=>(k!==we&&(we=k,G=0),G+=1,(oe.controls.seekStepKeyboard+oe.controls.seekStepKeyboard*G)/1e3),Be=k=>{_();const $=k.code,ze=!d0.has($);if(k.ctrlKey&&ze||k.altKey&&ze||k.metaKey)return;const Te=o===gi.PLAYING||o===gi.PAUSED,Le=T&&(n===Kt.PAUSED||n===Kt.PLAYING),Ee=!Le&&!s.has(bt.TIMELINE);if(Te||Le)switch(O({message:`key down, code: ${$}`}),$){case We.KeyJ:case We.ArrowLeft:{if(!Ee)break;if(k.ctrlKey||k.altKey){const ge=B.actions.internal.getPrevEpisode();B.actions.internal.seekToPrevEpisode(ge),ge&&E({type:tt.EPISODE_PREV,text:ge.text}),k.preventDefault()}else{const ge=k.shiftKey?ne(!1):oe.controls.seekStepKeyboard/1e3,Se=Math.max(c-ge,0);c>0&&(B.actions.internal.seekTime(Se,jt.DOUBLE_TAP),E({type:tt.BACKWARD_SEEK,text:ge.toString()}),k.preventDefault())}break}case We.KeyL:case We.ArrowRight:{if(!Ee)break;if(k.ctrlKey||k.altKey){const ge=B.actions.internal.getNextEpisode();B.actions.internal.seekToNextEpisode(ge),ge&&E({type:tt.EPISODE_NEXT,text:ge.text}),k.preventDefault()}else{const ge=k.shiftKey?ne(!0):oe.controls.seekStepKeyboard/1e3,Se=Math.min(c+ge,a);Math.round(c)<Math.round(a)&&(B.actions.internal.seekTime(Se,jt.DOUBLE_TAP),E({type:tt.FORWARD_SEEK,text:ge.toString()}),k.preventDefault())}break}case We.ArrowUp:{const ge=g,Se=oe.controls.volumeStepKeyboard,Ce=ge<=1;if(dc(B,ge,Se),Ce){const X=Math.round(cc(ge,Se)*100).toString();E({type:tt.VOLUME,t:{key:"hotkey_helper_current_volume",value:X}})}k.preventDefault();break}case We.ArrowDown:{const ge=g,Se=oe.controls.volumeStepKeyboard,Ce=ge>=0;if(mc(B,ge,Se),Ce){const X=Math.round(fc(ge,Se)*100).toString();E({type:tt.VOLUME,t:{key:"hotkey_helper_current_volume",value:X}})}k.preventDefault();break}case We.Comma:{if(k.shiftKey){B.actions.internal.decrementPlaybackRate();const ge=d.find(Se=>Se.value===f);E({type:tt.RATE_DOWN,text:ge==null?void 0:ge.displayValue}),k.preventDefault()}else{if(Le||o!==gi.PAUSED)break;const ge=Math.max(c-oe.controls.seekStepFrame/1e3,0);c>0&&(E({type:tt.BACKWARD_SEEK}),B.actions.internal.clearDelayedBufferingCheckTimeout(),B.actions.internal.seekTime(ge,jt.DOUBLE_TAP),k.preventDefault())}break}case We.Period:{if(k.shiftKey){B.actions.internal.incrementPlaybackRate();const ge=d.find(Se=>Se.value===f);E({type:tt.RATE_UP,text:ge==null?void 0:ge.displayValue}),k.preventDefault()}else{if(Le||o!==gi.PAUSED)break;const ge=Math.min(c+oe.controls.seekStepFrame/1e3,a);c<a&&(E({type:tt.FORWARD_SEEK}),B.actions.internal.clearDelayedBufferingCheckTimeout(),B.actions.internal.seekTime(ge,jt.DOUBLE_TAP),k.preventDefault())}break}case We.KeyK:case We.Space:s.has(bt.PLAY_BUTTON)||(B.actions.internal.togglePlay(),E({type:o===gi.PLAYING?tt.PLAY:tt.STOP})),k.preventDefault();break;case We.KeyM:{E({type:l?tt.VOLUME:tt.MUTE}),B.actions.internal.toggleMuted(),k.preventDefault();break}case We.KeyF:A(),k.preventDefault();break;case We.KeyC:B.actions.internal.toggleSubtitle(),r.value!=="off"?E({type:tt.SUBTITLES_ON,text:r==null?void 0:r.displayValue}):E({type:tt.SUBTITLES_OFF}),k.preventDefault();break;case We.KeyI:B.actions.internal.togglePictureInPicture(),k.preventDefault();break;case We.Digit1:case We.Numpad1:E(),B.actions.internal.seekToPercent(.1,jt.DOUBLE_TAP),k.preventDefault();break;case We.Digit2:case We.Numpad2:E(),B.actions.internal.seekToPercent(.2,jt.DOUBLE_TAP),k.preventDefault();break;case We.Digit3:case We.Numpad3:E(),B.actions.internal.seekToPercent(.3,jt.DOUBLE_TAP),k.preventDefault();break;case We.Digit4:case We.Numpad4:E(),B.actions.internal.seekToPercent(.4,jt.DOUBLE_TAP),k.preventDefault();break;case We.Digit5:case We.Numpad5:E(),B.actions.internal.seekToPercent(.5,jt.DOUBLE_TAP),k.preventDefault();break;case We.Digit6:case We.Numpad6:E(),B.actions.internal.seekToPercent(.6,jt.DOUBLE_TAP),k.preventDefault();break;case We.Digit7:case We.Numpad7:E(),B.actions.internal.seekToPercent(.7,jt.DOUBLE_TAP),k.preventDefault();break;case We.Digit8:case We.Numpad8:E(),B.actions.internal.seekToPercent(.8,jt.DOUBLE_TAP),k.preventDefault();break;case We.Digit9:case We.Numpad9:E(),B.actions.internal.seekToPercent(.9,jt.DOUBLE_TAP),k.preventDefault();break;case We.Digit0:case We.Numpad0:E(),B.actions.internal.seekToPercent(0,jt.DOUBLE_TAP),k.preventDefault();break;case We.Slash:{k.shiftKey&&oe.features.hotKeyMapModal&&(V(),k.preventDefault());break}case We.ShiftLeft:case We.ShiftRight:k.preventDefault();break;default:Vf($);break}},R=k=>{const $=k.code;if(k.ctrlKey||k.altKey||k.metaKey)return;const ze=o===gi.PLAYING||o===gi.PAUSED,Te=T&&(n===Kt.PAUSED||n===Kt.PLAYING);if(ze||Te)switch($){case We.ShiftLeft:case We.ShiftRight:G=0;break}};function ue(k){Ve[k?"unshift":"push"](()=>{se=k,t(0,se)})}return i.$$set=k=>{"isAds"in k&&t(13,T=k.isAds),"hideContextMenu"in k&&t(14,_=k.hideContextMenu),"toggleFullscreen"in k&&t(15,A=k.toggleFullscreen),"showHotKeyHelpers"in k&&t(16,E=k.showHotKeyHelpers),"showKeyMap"in k&&t(17,V=k.showKeyMap),"$$scope"in k&&t(19,b=k.$$scope)},[se,q,D,de,ae,Z,ce,J,S,I,re,Be,R,T,_,A,E,V,K,b,v,ue]}class c3 extends ke{constructor(e){super(),_e(this,e,u3,a3,be,{isAds:13,hideContextMenu:14,toggleFullscreen:15,showHotKeyHelpers:16,showKeyMap:17,focus:18},s3,[-1,-1])}get focus(){return this.$$.ctx[18]}}function f3(i){je(i,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function d3(i){let e;return{c(){e=w("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:U,i:U,o:U,d(t){t&&y(e)}}}class hc extends ke{constructor(e){super(),_e(this,e,null,d3,be,{},f3)}}function m3(i){let e,t,n,o,r,l,s,a,c,f,d,g,v;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),r=M("defs"),l=M("filter"),s=M("feFlood"),a=M("feColorMatrix"),c=M("feOffset"),f=M("feGaussianBlur"),d=M("feColorMatrix"),g=M("feBlend"),v=M("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"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(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,T){C(b,e,T),m(e,t),m(t,n),m(t,o),m(e,r),m(r,l),m(l,s),m(l,a),m(l,c),m(l,f),m(l,d),m(l,g),m(l,v)},p:U,i:U,o:U,d(b){b&&y(e)}}}class h3 extends ke{constructor(e){super(),_e(this,e,null,m3,be,{})}}function p3(i){je(i,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function v3(i){let e,t,n,o,r,l,s,a,c,f;const d=i[9].default,g=Fn(d,i,i[8],null);return{c(){var v,b,T,_;e=w("button"),g&&g.c(),u(e,"class",t="btn "+i[1]+" v-1anemql"),u(e,"style",n=i[2]||null),e.disabled=o=(v=i[3])!=null?v:null,u(e,"aria-hidden",r=(b=i[5])!=null?b:null),u(e,"aria-label",l=(T=i[6])!=null?T:null),u(e,"data-testid",s=(_=i[4])!=null?_:null)},m(v,b){C(v,e,b),g&&g.m(e,null),i[11](e),a=!0,c||(f=[Pe(e,"pointerdown",mt(ci(i[10]))),Pe(e,"click",mt(ci(function(){mn(i[7])&&i[7].apply(this,arguments)})))],c=!0)},p(v,[b]){var T,_,A,E;i=v,g&&g.p&&(!a||b&256)&&Un(g,d,i,i[8],a?Hn(d,i[8],b,null):jn(i[8]),null),(!a||b&2&&t!==(t="btn "+i[1]+" v-1anemql"))&&u(e,"class",t),(!a||b&4&&n!==(n=i[2]||null))&&u(e,"style",n),(!a||b&8&&o!==(o=(T=i[3])!=null?T:null))&&(e.disabled=o),(!a||b&32&&r!==(r=(_=i[5])!=null?_:null))&&u(e,"aria-hidden",r),(!a||b&64&&l!==(l=(A=i[6])!=null?A:null))&&u(e,"aria-label",l),(!a||b&16&&s!==(s=(E=i[4])!=null?E:null))&&u(e,"data-testid",s)},i(v){a||(h(g,v),a=!0)},o(v){p(g,v),a=!1},d(v){v&&y(e),g&&g.d(v),i[11](null),c=!1,Qt(f)}}}function g3(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:r=""}=e,{style:l=""}=e,{disabled:s=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:d=void 0}=e,{click:g=Ge}=e;function v(T){go.call(this,i,T)}function b(T){Ve[T?"unshift":"push"](()=>{d=T,t(0,d)})}return i.$$set=T=>{"className"in T&&t(1,r=T.className),"style"in T&&t(2,l=T.style),"disabled"in T&&t(3,s=T.disabled),"testId"in T&&t(4,a=T.testId),"ariaHidden"in T&&t(5,c=T.ariaHidden),"ariaLabel"in T&&t(6,f=T.ariaLabel),"ref"in T&&t(0,d=T.ref),"click"in T&&t(7,g=T.click),"$$scope"in T&&t(8,o=T.$$scope)},[d,r,l,s,a,c,f,g,o,n,v,b]}class fi extends ke{constructor(e){super(),_e(this,e,g3,v3,be,{className:1,style:2,disabled:3,testId:4,ariaHidden:5,ariaLabel:6,ref:0,click:7},p3)}}function b3(i){je(i,"v-1witlsj",".modal-overlay.v-1witlsj{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-1witlsj{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-1witlsj{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-1witlsj{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-1witlsj{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-1witlsj::-webkit-scrollbar{width:8px}.modal-scroll.v-1witlsj::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-1witlsj{margin:-8px -4px 0 0}")}function Ts(i){let e,t,n,o,r,l=i[2]&&Ss(i);return{c(){e=w("div"),t=w("h3"),n=Ue(i[3]),o=N(),l&&l.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){C(s,e,a),m(e,t),m(t,n),m(e,o),l&&l.m(e,null),r=!0},p(s,a){(!r||a&8)&&it(n,s[3]),s[2]?l?(l.p(s,a),a&4&&h(l,1)):(l=Ss(s),l.c(),h(l,1),l.m(e,null)):l&&(he(),p(l,1,1,()=>{l=null}),pe())},i(s){r||(h(l),r=!0)},o(s){p(l),r=!1},d(s){s&&y(e),l&&l.d()}}}function Ss(i){let e,t;return e=new fi({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:le("hotkey_map_modal_close_btn_text"),$$slots:{default:[_3]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&1&&(r.click=n[0]),o&32&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function _3(i){let e,t;return e=new h3({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function k3(i){let e,t,n,o,r,l,s=i[1]&&Ts(i);const a=i[4].default,c=Fn(a,i,i[5],null);return{c(){e=w("div"),t=w("div"),s&&s.c(),n=N(),o=w("div"),r=w("div"),c&&c.c(),u(r,"class","modal-main v-1witlsj"),u(o,"class","modal-scroll v-1witlsj"),u(t,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,d){C(f,e,d),m(e,t),s&&s.m(t,null),m(t,n),m(t,o),m(o,r),c&&c.m(r,null),l=!0},p(f,[d]){f[1]?s?(s.p(f,d),d&2&&h(s,1)):(s=Ts(f),s.c(),h(s,1),s.m(t,n)):s&&(he(),p(s,1,1,()=>{s=null}),pe()),c&&c.p&&(!l||d&32)&&Un(c,a,f,f[5],l?Hn(a,f[5],d,null):jn(f[5]),null)},i(f){l||(h(s),h(c,f),l=!0)},o(f){p(s),p(c,f),l=!1},d(f){f&&y(e),s&&s.d(),c&&c.d(f)}}}function w3(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:r}=e,{showHeader:l=!0}=e,{showCloseCross:s=!0}=e,{title:a}=e;return i.$$set=c=>{"onClose"in c&&t(0,r=c.onClose),"showHeader"in c&&t(1,l=c.showHeader),"showCloseCross"in c&&t(2,s=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[r,l,s,a,n,o]}class y3 extends ke{constructor(e){super(),_e(this,e,w3,k3,be,{onClose:0,showHeader:1,showCloseCross:2,title:3},b3)}}const C3=new Set(["BR"]),Es=i=>{var e;const t=document.createElement("DIV");t.innerHTML=i;const n=t.querySelectorAll("*");let o=n.length;for(;o--;){const r=n[o],l=r.tagName;C3.has(l)||(e=r.parentElement)===null||e===void 0||e.removeChild(r)}return t.innerHTML};function P3(i){je(i,"v-quklnq",".hot-key-map.v-quklnq{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-quklnq{border-bottom:1px solid var(--white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-quklnq:last-child{border-bottom:none}.hot-key-map-group-title.v-quklnq{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-quklnq,.hot-key-map-item.v-quklnq{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-quklnq{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-quklnq{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-quklnq{color:var(--white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-quklnq{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-quklnq,.hot-key-map-item-value.v-quklnq{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function As(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function Is(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function Ls(i){let e,t,n=Es(i[9])+"",o,r,l=i[10]+"",s,a;return{c(){e=w("li"),t=w("span"),o=N(),r=w("span"),s=Ue(l),a=N(),u(t,"class","hot-key-map-item-description v-quklnq"),u(r,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){C(c,e,f),m(e,t),t.innerHTML=n,m(e,o),m(e,r),m(r,s),m(e,a)},p(c,f){f&1&&n!==(n=Es(c[9])+"")&&(t.innerHTML=n),f&1&&l!==(l=c[10]+"")&&it(s,l)},d(c){c&&y(e)}}}function Vs(i){let e,t,n=i[5]+"",o,r,l,s,a=Yt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Ls(Is(i,a,f));return{c(){e=w("div"),t=w("h5"),o=Ue(n),r=N(),l=w("ul");for(let f=0;f<c.length;f+=1)c[f].c();s=N(),u(t,"class","hot-key-map-group-title v-quklnq"),u(l,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,d){C(f,e,d),m(e,t),m(t,o),m(e,r),m(e,l);for(let g=0;g<c.length;g+=1)c[g]&&c[g].m(l,null);m(e,s)},p(f,d){if(d&1&&n!==(n=f[5]+"")&&it(o,n),d&1){a=Yt(f[6]);let g;for(g=0;g<a.length;g+=1){const v=Is(f,a,g);c[g]?c[g].p(v,d):(c[g]=Ls(v),c[g].c(),c[g].m(l,null))}for(;g<c.length;g+=1)c[g].d(1);c.length=a.length}},d(f){f&&y(e),_n(c,f)}}}function T3(i){let e,t=Yt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=Vs(As(i,t,o));return{c(){e=w("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,r){C(o,e,r);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,r){if(r&1){t=Yt(o[0].groups);let l;for(l=0;l<t.length;l+=1){const s=As(o,t,l);n[l]?n[l].p(s,r):(n[l]=Vs(s),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},d(o){o&&y(e),_n(n,o)}}}function S3(i){let e,t;return e=new y3({props:{title:i[0].title,onClose:i[2],$$slots:{default:[T3]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.title=n[0].title),o&8193&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function E3(i,e,t){let n;const o=Rt(),{data:r,show:l}=o.ui.modals.hotKeyMap;return W(i,r,a=>t(0,n=a)),[n,r,()=>{l.set(!1)}]}class A3 extends ke{constructor(e){super(),_e(this,e,E3,S3,be,{},P3)}}function I3(i){je(i,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function L3(i){let e,t;const n=i[1].default,o=Fn(n,i,i[0],null);return{c(){e=w("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(r,l){C(r,e,l),o&&o.m(e,null),t=!0},p(r,[l]){o&&o.p&&(!t||l&1)&&Un(o,n,r,r[0],t?Hn(n,r[0],l,null):jn(r[0]),null)},i(r){t||(h(o,r),t=!0)},o(r){p(o,r),t=!1},d(r){r&&y(e),o&&o.d(r)}}}function V3(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=r=>{"$$scope"in r&&t(0,o=r.$$scope)},[o,n]}class M3 extends ke{constructor(e){super(),_e(this,e,V3,L3,be,{},I3)}}function B3(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){C(o,e,r),m(e,t),m(e,n)},p:U,i:U,o:U,d(o){o&&y(e)}}}class R3 extends ke{constructor(e){super(),_e(this,e,null,B3,be,{})}}function N3(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){C(o,e,r),m(e,t),m(e,n)},p:U,i:U,o:U,d(o){o&&y(e)}}}class O3 extends ke{constructor(e){super(),_e(this,e,null,N3,be,{})}}function D3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class z3 extends ke{constructor(e){super(),_e(this,e,null,D3,be,{})}}function F3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class pc extends ke{constructor(e){super(),_e(this,e,null,F3,be,{})}}function H3(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){C(o,e,r),m(e,t),m(e,n)},p:U,i:U,o:U,d(o){o&&y(e)}}}class vc extends ke{constructor(e){super(),_e(this,e,null,H3,be,{})}}const wo=i=>{switch(i){case co.Q_720P:return z3;case co.Q_1080P:return pc;case co.Q_1440P:return vc;case co.Q_2160P:return R3;case co.Q_4320P:return O3}};function U3(i){je(i,"v-15tafwa",".icon.v-15tafwa{position:relative;width:24px;height:24px}.icon.v-15tafwa .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-15tafwa .pillow{right:-13px}")}function j3(i){let e,t,n,o,r,l,s=i[1]&&Ms(i);return{c(){e=w("div"),s&&s.c(),t=N(),n=M("svg"),o=M("path"),r=M("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(r,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(r,"fill","#fff"),L(r,"hidden",!!i[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-15tafwa"),u(e,"aria-hidden","true"),L(e,"triple",i[2])},m(a,c){C(a,e,c),s&&s.m(e,null),m(e,t),m(e,n),m(n,o),m(n,r),l=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&h(s,1)):(s=Ms(a),s.c(),h(s,1),s.m(e,t)):s&&(he(),p(s,1,1,()=>{s=null}),pe()),(!l||c&2)&&L(r,"hidden",!!a[1]),(!l||c&4)&&L(e,"triple",a[2])},i(a){l||(h(s),l=!0)},o(a){p(s),l=!1},d(a){a&&y(e),s&&s.d()}}}function q3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}function Ms(i){let e,t;return e=new M3({props:{$$slots:{default:[Z3]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&18&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Z3(i){let e,t,n;var o=i[1];function r(l){return{}}return o&&(e=Ln(o,r())),{c(){e&&H(e.$$.fragment),t=Tt()},m(l,s){e&&z(e,l,s),C(l,t,s),n=!0},p(l,s){if(s&2&&o!==(o=l[1])){if(e){he();const a=e;p(a.$$.fragment,1,0,()=>{F(a,1)}),pe()}o?(e=Ln(o,r()),H(e.$$.fragment),h(e.$$.fragment,1),z(e,t.parentNode,t)):e=null}},i(l){n||(e&&h(e.$$.fragment,l),n=!0)},o(l){e&&p(e.$$.fragment,l),n=!1},d(l){l&&y(t),e&&F(e,l)}}}function W3(i){let e,t,n,o;const r=[q3,j3],l=[];function s(a,c){return a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=Tt()},m(a,c){l[e].m(a,c),C(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),p(l[f],1,1,()=>{l[f]=null}),pe(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),h(t,1),t.m(n.parentNode,n))},i(a){o||(h(t),o=!0)},o(a){p(t),o=!1},d(a){a&&y(n),l[e].d(a)}}}function G3(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:r=void 0}=e,l;return i.$$set=s=>{"isMobile"in s&&t(0,o=s.isMobile),"currentQuality"in s&&t(3,r=s.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=wo(r)),i.$$.dirty&2&&t(2,l=!!n&&[pc,vc].includes(n))},[o,n,l,r]}class gc extends ke{constructor(e){super(),_e(this,e,G3,W3,be,{isMobile:0,currentQuality:3},U3)}}function Y3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class bc extends ke{constructor(e){super(),_e(this,e,null,Y3,be,{})}}function K3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(t,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class X3 extends ke{constructor(e){super(),_e(this,e,null,K3,be,{})}}function Q3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(t,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class J3 extends ke{constructor(e){super(),_e(this,e,null,Q3,be,{})}}function x3(i){let e,t,n,o;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(r,l){C(r,e,l),m(e,t),m(t,n),m(t,o)},p:U,i:U,o:U,d(r){r&&y(e)}}}class $3 extends ke{constructor(e){super(),_e(this,e,null,x3,be,{})}}function eh(i){je(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function th(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),u(t,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(t,"fill",i[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),L(e,"reverted",i[2])},m(o,r){C(o,e,r),m(e,t)},p(o,r){r&1&&u(t,"fill",o[0]),r&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),r&4&&L(e,"reverted",o[2])},d(o){o&&y(e)}}}function ih(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(t,"fill",i[0]),u(t,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),L(e,"reverted",i[2])},m(o,r){C(o,e,r),m(e,t)},p(o,r){r&1&&u(t,"fill",o[0]),r&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),r&4&&L(e,"reverted",o[2])},d(o){o&&y(e)}}}function nh(i){let e;function t(r,l){return r[1]?ih:th}let n=t(i),o=n(i);return{c(){o.c(),e=Tt()},m(r,l){o.m(r,l),C(r,e,l)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:U,o:U,d(r){r&&y(e),o.d(r)}}}function oh(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,r,l;return i.$$set=s=>{"direction"in s&&t(3,n=s.direction),"color"in s&&t(0,o=s.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,r=["up","down"].includes(n)),t(2,l=["right","down"].includes(n)))},[o,r,l,n]}class zn extends ke{constructor(e){super(),_e(this,e,oh,nh,be,{direction:3,color:0},eh)}}function lh(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class rh extends ke{constructor(e){super(),_e(this,e,null,lh,be,{})}}function sh(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(t,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class Zo extends ke{constructor(e){super(),_e(this,e,null,sh,be,{})}}function ah(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class uh extends ke{constructor(e){super(),_e(this,e,null,ah,be,{})}}function ch(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class fh extends ke{constructor(e){super(),_e(this,e,null,ch,be,{})}}function dh(i){je(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 Bs(i,e,t){const n=i.slice();return n[83]=e[t],n}function Rs(i,e,t){const n=i.slice();return n[86]=e[t],n}function Ns(i,e,t){const n=i.slice();return n[89]=e[t],n}function Os(i){let e,t,n,o,r,l,s,a;return{c(){e=w("div"),t=w("div"),t.textContent=`${le("submenu_settings")}`,n=N(),o=w("div"),r=N(),l=w("div"),u(o,"class","close v-79x8pk"),u(e,"class","item menu-header v-79x8pk"),L(e,"item-mobile",i[4]),u(l,"class","menu-divider v-79x8pk")},m(c,f){C(c,e,f),m(e,t),m(e,n),m(e,o),C(c,r,f),C(c,l,f),s||(a=Pe(o,"click",mt(i[44])),s=!0)},p(c,f){f[0]&16&&L(e,"item-mobile",c[4])},d(c){c&&(y(e),y(r),y(l)),s=!1,a()}}}function Ds(i){let e,t,n,o,r,l,s,a,c,f,d,g;n=new gc({});let v=i[21]&&!i[4]&&zs(i);return{c(){e=w("li"),t=w("div"),H(n.$$.fragment),o=N(),r=w("div"),r.textContent=`${le("menu_quality")}`,l=N(),s=w("div"),a=Ue(i[12]),c=N(),v&&v.c(),u(t,"class","menu-icon-wrapper v-79x8pk"),u(r,"class","menu-title v-79x8pk"),u(s,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),L(e,"item-mobile",i[4])},m(b,T){C(b,e,T),m(e,t),z(n,t,null),m(e,o),m(e,r),m(e,l),m(e,s),m(s,a),m(s,c),v&&v.m(s,null),f=!0,d||(g=Pe(e,"click",mt(i[45])),d=!0)},p(b,T){(!f||T[0]&4096)&&it(a,b[12]),b[21]&&!b[4]?v?(v.p(b,T),T[0]&2097168&&h(v,1)):(v=zs(b),v.c(),h(v,1),v.m(s,null)):v&&(he(),p(v,1,1,()=>{v=null}),pe()),(!f||T[0]&16)&&L(e,"item-mobile",b[4])},i(b){f||(h(n.$$.fragment,b),h(v),f=!0)},o(b){p(n.$$.fragment,b),p(v),f=!1},d(b){b&&y(e),F(n),v&&v.d(),d=!1,g()}}}function zs(i){let e,t,n;var o=i[21];function r(l){return{}}return o&&(t=Ln(o,r())),{c(){e=w("div"),t&&H(t.$$.fragment),u(e,"class","menu-valueIcon v-79x8pk")},m(l,s){C(l,e,s),t&&z(t,e,null),n=!0},p(l,s){if(s[0]&2097152&&o!==(o=l[21])){if(t){he();const a=t;p(a.$$.fragment,1,0,()=>{F(a,1)}),pe()}o?(t=Ln(o,r()),H(t.$$.fragment),h(t.$$.fragment,1),z(t,e,null)):t=null}},i(l){n||(t&&h(t.$$.fragment,l),n=!0)},o(l){t&&p(t.$$.fragment,l),n=!1},d(l){l&&y(e),t&&F(t)}}}function Fs(i){let e,t,n,o,r,l,s,a,c,f,d,g;return n=new $3({}),{c(){e=w("li"),t=w("div"),H(n.$$.fragment),o=N(),r=w("div"),r.textContent=`${le("menu_playback_rate")}`,l=N(),s=w("div"),a=Ue(i[22]),c=Ue("x"),u(t,"class","menu-icon-wrapper v-79x8pk"),u(r,"class","menu-title v-79x8pk"),u(s,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),L(e,"item-mobile",i[4])},m(v,b){C(v,e,b),m(e,t),z(n,t,null),m(e,o),m(e,r),m(e,l),m(e,s),m(s,a),m(s,c),f=!0,d||(g=Pe(e,"click",mt(i[49])),d=!0)},p(v,b){(!f||b[0]&4194304)&&it(a,v[22]),(!f||b[0]&16)&&L(e,"item-mobile",v[4])},i(v){f||(h(n.$$.fragment,v),f=!0)},o(v){p(n.$$.fragment,v),f=!1},d(v){v&&y(e),F(n),d=!1,g()}}}function Hs(i){let e,t,n,o,r,l,s,a=i[23].displayValue+"",c,f,d,g;return n=new bc({}),{c(){e=w("li"),t=w("div"),H(n.$$.fragment),o=N(),r=w("div"),r.textContent=`${le("subtitles_caption")}`,l=N(),s=w("div"),c=Ue(a),u(t,"class","menu-icon-wrapper v-79x8pk"),u(r,"class","menu-title v-79x8pk"),u(s,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),L(e,"item-mobile",i[4])},m(v,b){C(v,e,b),m(e,t),z(n,t,null),m(e,o),m(e,r),m(e,l),m(e,s),m(s,c),f=!0,d||(g=Pe(e,"click",mt(i[51])),d=!0)},p(v,b){(!f||b[0]&8388608)&&a!==(a=v[23].displayValue+"")&&it(c,a),(!f||b[0]&16)&&L(e,"item-mobile",v[4])},i(v){f||(h(n.$$.fragment,v),f=!0)},o(v){p(n.$$.fragment,v),f=!1},d(v){v&&y(e),F(n),d=!1,g()}}}function Us(i){let e,t,n,o,r,l,s,a=(i[24]?le("traffic_saving_on"):le("traffic_saving_off"))+"",c,f,d,g;return n=new J3({}),{c(){e=w("li"),t=w("div"),H(n.$$.fragment),o=N(),r=w("div"),r.textContent=`${le("menu_traffic_saving")}`,l=N(),s=w("div"),c=Ue(a),u(t,"class","menu-icon-wrapper v-79x8pk"),u(r,"class","menu-title v-79x8pk"),u(s,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),L(e,"item-mobile",i[4])},m(v,b){C(v,e,b),m(e,t),z(n,t,null),m(e,o),m(e,r),m(e,l),m(e,s),m(s,c),f=!0,d||(g=Pe(e,"click",mt(i[46])),d=!0)},p(v,b){(!f||b[0]&16777216)&&a!==(a=(v[24]?le("traffic_saving_on"):le("traffic_saving_off"))+"")&&it(c,a),(!f||b[0]&16)&&L(e,"item-mobile",v[4])},i(v){f||(h(n.$$.fragment,v),f=!0)},o(v){p(n.$$.fragment,v),f=!1},d(v){v&&y(e),F(n),d=!1,g()}}}function js(i){let e,t,n,o,r,l,s,a;return n=new X3({}),{c(){e=w("li"),t=w("div"),H(n.$$.fragment),o=N(),r=w("div"),r.textContent=`${le("download_video_caption")}`,u(t,"class","menu-icon-wrapper v-79x8pk"),u(r,"class","menu-title v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),L(e,"item-mobile",i[4])},m(c,f){C(c,e,f),m(e,t),z(n,t,null),m(e,o),m(e,r),l=!0,s||(a=Pe(e,"click",mt(i[54])),s=!0)},p(c,f){(!l||f[0]&16)&&L(e,"item-mobile",c[4])},i(c){l||(h(n.$$.fragment,c),l=!0)},o(c){p(n.$$.fragment,c),l=!1},d(c){c&&y(e),F(n),s=!1,a()}}}function qs(i){let e,t,n,o,r,l,s,a,c,f,d,g,v,b,T,_=i[26].showSupport&&mh(i);return o=new uh({}),f=new fh({}),{c(){_&&_.c(),e=N(),t=w("li"),n=w("div"),H(o.$$.fragment),r=N(),l=w("div"),l.textContent=`${le("menu_copy_debug")}`,s=N(),a=w("li"),c=w("div"),H(f.$$.fragment),d=N(),g=w("div"),g.textContent=`${le("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(t,"class","item item-mobile v-79x8pk"),u(t,"role","menuitemradio"),u(t,"tabindex","0"),u(c,"class","menu-icon-wrapper v-79x8pk"),u(g,"class","menu-title v-79x8pk"),u(a,"class","item item-mobile v-79x8pk"),u(a,"role","menuitemradio"),u(a,"tabindex","0")},m(A,E){_&&_.m(A,E),C(A,e,E),C(A,t,E),m(t,n),z(o,n,null),m(t,r),m(t,l),C(A,s,E),C(A,a,E),m(a,c),z(f,c,null),m(a,d),m(a,g),v=!0,b||(T=[Pe(t,"click",mt(i[56])),Pe(a,"click",mt(i[57]))],b=!0)},p(A,E){A[26].showSupport&&_.p(A,E)},i(A){v||(h(_),h(o.$$.fragment,A),h(f.$$.fragment,A),v=!0)},o(A){p(_),p(o.$$.fragment,A),p(f.$$.fragment,A),v=!1},d(A){A&&(y(e),y(t),y(s),y(a)),_&&_.d(A),F(o),F(f),b=!1,Qt(T)}}}function mh(i){let e,t,n,o,r,l,s,a;return n=new rh({}),{c(){e=w("li"),t=w("div"),H(n.$$.fragment),o=N(),r=w("div"),r.textContent=`${le("menu_report")}`,u(t,"class","menu-icon-wrapper v-79x8pk"),u(r,"class","menu-title v-79x8pk"),u(e,"class","item item-mobile v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0")},m(c,f){C(c,e,f),m(e,t),z(n,t,null),m(e,o),m(e,r),l=!0,s||(a=Pe(e,"click",mt(i[55])),s=!0)},p:U,i(c){l||(h(n.$$.fragment,c),l=!0)},o(c){p(n.$$.fragment,c),l=!1},d(c){c&&y(e),F(n),s=!1,a()}}}function Zs(i){let e,t,n;return t=new Zo({}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,r){C(o,e,r),z(t,e,null),n=!0},i(o){n||(h(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),F(t)}}}function Ws(i){let e,t,n;var o=wo(i[89].value);function r(l){return{}}return o&&(t=Ln(o,r())),{c(){e=w("div"),t&&H(t.$$.fragment),u(e,"class","menu-valueIcon-list v-79x8pk")},m(l,s){C(l,e,s),t&&z(t,e,null),n=!0},p(l,s){if(s[0]&32&&o!==(o=wo(l[89].value))){if(t){he();const a=t;p(a.$$.fragment,1,0,()=>{F(a,1)}),pe()}o?(t=Ln(o,r()),H(t.$$.fragment),h(t.$$.fragment,1),z(t,e,null)):t=null}},i(l){n||(t&&h(t.$$.fragment,l),n=!0)},o(l){t&&p(t.$$.fragment,l),n=!1},d(l){l&&y(e),t&&F(t)}}}function Gs(i){let e,t,n,o=i[89].displayValue+"",r,l,s=!i[4]&&wo(i[89].value),a,c,f,d,g,v=i[89].selected&&Zs(),b=s&&Ws(i);function T(){return i[71](i[89])}return{c(){e=w("li"),v&&v.c(),t=N(),n=w("div"),r=Ue(o),l=N(),b&&b.c(),a=N(),u(n,"class","v-79x8pk"),L(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",c=i[89].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),L(e,"item-mobile",i[4])},m(_,A){C(_,e,A),v&&v.m(e,null),m(e,t),m(e,n),m(n,r),m(e,l),b&&b.m(e,null),m(e,a),f=!0,d||(g=Pe(e,"click",mt(T)),d=!0)},p(_,A){i=_,i[89].selected?v?A[0]&32&&h(v,1):(v=Zs(),v.c(),h(v,1),v.m(e,t)):v&&(he(),p(v,1,1,()=>{v=null}),pe()),(!f||A[0]&32)&&o!==(o=i[89].displayValue+"")&&it(r,o),(!f||A[0]&16)&&L(n,"quality-title-mobile",i[4]),A[0]&48&&(s=!i[4]&&wo(i[89].value)),s?b?(b.p(i,A),A[0]&48&&h(b,1)):(b=Ws(i),b.c(),h(b,1),b.m(e,a)):b&&(he(),p(b,1,1,()=>{b=null}),pe()),(!f||A[0]&32&&c!==(c=i[89].value))&&u(e,"data-value",c),(!f||A[0]&16)&&L(e,"item-mobile",i[4])},i(_){f||(h(v),h(b),f=!0)},o(_){p(v),p(b),f=!1},d(_){_&&y(e),v&&v.d(),b&&b.d(),d=!1,g()}}}function Ys(i){let e,t,n;return t=new Zo({}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,r){C(o,e,r),z(t,e,null),n=!0},i(o){n||(h(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),F(t)}}}function Ks(i){let e,t,n,o=i[86].displayValue+"",r,l,s,a,c,f,d=i[86].selected&&Ys();function g(){return i[73](i[86])}return{c(){e=w("li"),d&&d.c(),t=N(),n=w("div"),r=Ue(o),l=N(),u(n,"class","v-79x8pk"),L(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",s=i[86].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),L(e,"item-mobile",i[4])},m(v,b){C(v,e,b),d&&d.m(e,null),m(e,t),m(e,n),m(n,r),m(e,l),a=!0,c||(f=Pe(e,"click",mt(g)),c=!0)},p(v,b){i=v,i[86].selected?d?b[0]&33554432&&h(d,1):(d=Ys(),d.c(),h(d,1),d.m(e,t)):d&&(he(),p(d,1,1,()=>{d=null}),pe()),(!a||b[0]&33554432)&&o!==(o=i[86].displayValue+"")&&it(r,o),(!a||b[0]&16)&&L(n,"quality-title-mobile",i[4]),(!a||b[0]&33554432&&s!==(s=i[86].value))&&u(e,"data-value",s),(!a||b[0]&16)&&L(e,"item-mobile",i[4])},i(v){a||(h(d),a=!0)},o(v){p(d),a=!1},d(v){v&&y(e),d&&d.d(),c=!1,f()}}}function Xs(i){let e,t,n;return t=new Zo({}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,r){C(o,e,r),z(t,e,null),n=!0},i(o){n||(h(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),F(t)}}}function Qs(i){let e,t,n;return t=new Zo({}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,r){C(o,e,r),z(t,e,null),n=!0},i(o){n||(h(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),F(t)}}}function Js(i){let e,t,n;return t=new Zo({}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,r){C(o,e,r),z(t,e,null),n=!0},i(o){n||(h(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),F(t)}}}function xs(i){let e,t,n,o=i[83].displayValue+"",r,l,s,a,c,f,d=i[83].selected&&Js();function g(){return i[77](i[83])}return{c(){e=w("li"),d&&d.c(),t=N(),n=w("div"),r=Ue(o),l=N(),u(n,"class","v-79x8pk"),L(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",s=i[83].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),L(e,"item-mobile",i[4])},m(v,b){C(v,e,b),d&&d.m(e,null),m(e,t),m(e,n),m(n,r),m(e,l),a=!0,c||(f=Pe(e,"click",mt(g)),c=!0)},p(v,b){i=v,i[83].selected?d?b[0]&8&&h(d,1):(d=Js(),d.c(),h(d,1),d.m(e,t)):d&&(he(),p(d,1,1,()=>{d=null}),pe()),(!a||b[0]&8)&&o!==(o=i[83].displayValue+"")&&it(r,o),(!a||b[0]&16)&&L(n,"quality-title-mobile",i[4]),(!a||b[0]&8&&s!==(s=i[83].value))&&u(e,"data-value",s),(!a||b[0]&16)&&L(e,"item-mobile",i[4])},i(v){a||(h(d),a=!0)},o(v){p(d),a=!1},d(v){v&&y(e),d&&d.d(),c=!1,f()}}}function hh(i){let e,t,n,o,r,l,s,a,c,f,d,g,v,b,T,_,A,E,V,B,oe,O,q,D,de,ae,Z,ce,J,S,I,re,G,we,se,K,ne,Be,R,ue,k,$,ze,Te,Le,Ee,ge,Se,Ce,X,j,Fe,Ze,rt,He,vt,ht,Ot,dt,Re,Dt,te,nt=i[4]&&Os(i),st=i[20]&&Ds(i),Ye=i[19]&&Fs(i),xe=i[18]&&Hs(i),$e=i[17]&&Us(i),et=i[16]&&js(i),ot=i[4]&&qs(i);v=new zn({props:{direction:"left"}});let Lt=Yt(i[5]),lt=[];for(let fe=0;fe<Lt.length;fe+=1)lt[fe]=Gs(Ns(i,Lt,fe));const at=fe=>p(lt[fe],1,1,()=>{lt[fe]=null});q=new zn({props:{direction:"left"}});let Ke=Yt(i[25]),Xe=[];for(let fe=0;fe<Ke.length;fe+=1)Xe[fe]=Ks(Rs(i,Ke,fe));const $t=fe=>p(Xe[fe],1,1,()=>{Xe[fe]=null});G=new zn({props:{direction:"left"}});let _t=!i[24]&&Xs(),pt=i[24]&&Qs();He=new zn({props:{direction:"left"}});let Nt=Yt(i[3]),ft=[];for(let fe=0;fe<Nt.length;fe+=1)ft[fe]=xs(Bs(i,Nt,fe));const oi=fe=>p(ft[fe],1,1,()=>{ft[fe]=null});return{c(){e=w("div"),t=w("div"),nt&&nt.c(),n=N(),o=w("ul"),st&&st.c(),r=N(),Ye&&Ye.c(),l=N(),xe&&xe.c(),s=N(),$e&&$e.c(),a=N(),et&&et.c(),c=N(),ot&&ot.c(),f=N(),d=w("div"),g=w("div"),H(v.$$.fragment),b=N(),T=w("div"),T.textContent=`${le("submenu_quality")}`,_=N(),A=w("div"),E=N(),V=w("ul");for(let fe=0;fe<lt.length;fe+=1)lt[fe].c();B=N(),oe=w("div"),O=w("div"),H(q.$$.fragment),D=N(),de=w("div"),de.textContent=`${le("submenu_playback_rate")}`,ae=N(),Z=w("div"),ce=N(),J=w("ul");for(let fe=0;fe<Xe.length;fe+=1)Xe[fe].c();S=N(),I=w("div"),re=w("div"),H(G.$$.fragment),we=N(),se=w("div"),se.textContent=`${le("submenu_traffic_saving")}`,K=N(),ne=w("div"),Be=N(),R=w("ul"),ue=w("li"),_t&&_t.c(),k=N(),$=w("div"),$.textContent=`${le("traffic_saving_disable")}`,ze=N(),Te=w("li"),pt&&pt.c(),Le=N(),Ee=w("div"),Ee.textContent=`${le("traffic_saving_enable")}`,ge=N(),Se=w("div"),Ce=N(),X=w("div"),j=w("span"),j.textContent=`${le("traffic_saving_helper_text")}`,Fe=N(),Ze=w("div"),rt=w("div"),H(He.$$.fragment),vt=N(),ht=w("div"),ht.textContent=`${le("subtitles_caption")}`,Ot=N(),dt=w("ul");for(let fe=0;fe<ft.length;fe+=1)ft[fe].c();u(o,"class","items v-79x8pk"),L(o,"items-mobile",i[4]),u(t,"class","menu v-79x8pk"),u(t,"role","menu"),L(t,"menu-desktop",!i[4]),L(t,"menu-mobile",i[4]),L(t,"hidden",!i[7]),u(g,"class","item menu-header v-79x8pk"),L(g,"item-mobile",i[4]),u(A,"class","menu-divider v-79x8pk"),u(V,"class","items v-79x8pk"),u(V,"style",i[13]),L(V,"items-mobile",i[4]),u(d,"class","menu menu-subList v-79x8pk"),L(d,"menu-desktop",!i[4]),L(d,"menu-mobile",i[4]),L(d,"hidden",!i[8]),u(O,"class","item menu-header v-79x8pk"),L(O,"item-mobile",i[4]),u(Z,"class","menu-divider v-79x8pk"),u(J,"class","items v-79x8pk"),u(J,"style",i[14]),L(J,"items-mobile",i[4]),u(oe,"class","menu menu-subList v-79x8pk"),L(oe,"menu-desktop",!i[4]),L(oe,"menu-mobile",i[4]),L(oe,"hidden",!i[9]),u(re,"class","item menu-header v-79x8pk"),L(re,"item-mobile",i[4]),u(ne,"class","menu-divider v-79x8pk"),u($,"class","v-79x8pk"),L($,"quality-title-mobile",i[4]),u(ue,"class","item item-traffic-saving v-79x8pk"),u(ue,"role","menuitemradio"),u(ue,"tabindex","0"),L(ue,"item-mobile",i[4]),u(Ee,"class","v-79x8pk"),L(Ee,"quality-title-mobile",i[4]),u(Te,"class","item item-traffic-saving v-79x8pk"),u(Te,"role","menuitemradio"),u(Te,"tabindex","0"),L(Te,"item-mobile",i[4]),u(R,"class","items v-79x8pk"),u(R,"style",i[15]),L(R,"items-mobile",i[4]),u(Se,"class","menu-divider v-79x8pk"),u(j,"class","v-79x8pk"),u(X,"class","item item-helper-text v-79x8pk"),L(X,"item-mobile",i[4]),u(I,"class","menu menu-subList menu-subList-traffic-saving v-79x8pk"),L(I,"menu-desktop",!i[4]),L(I,"menu-mobile",i[4]),L(I,"hidden",!i[11]),u(rt,"class","item menu-header v-79x8pk"),L(rt,"item-mobile",i[4]),u(dt,"class","items v-79x8pk"),L(dt,"items-mobile",i[4]),u(Ze,"class","menu menu-subList menu-subList-subtitles v-79x8pk"),L(Ze,"menu-desktop",!i[4]),L(Ze,"menu-mobile",i[4]),L(Ze,"hidden",!i[10]),u(e,"class","v-79x8pk"),L(e,"hidden",!i[6]),L(e,"container-mobile",i[4])},m(fe,ye){C(fe,e,ye),m(e,t),nt&&nt.m(t,null),m(t,n),m(t,o),st&&st.m(o,null),m(o,r),Ye&&Ye.m(o,null),m(o,l),xe&&xe.m(o,null),m(o,s),$e&&$e.m(o,null),m(o,a),et&&et.m(o,null),m(o,c),ot&&ot.m(o,null),m(e,f),m(e,d),m(d,g),z(v,g,null),m(g,b),m(g,T),i[70](g),m(d,_),m(d,A),m(d,E),m(d,V);for(let Ie=0;Ie<lt.length;Ie+=1)lt[Ie]&&lt[Ie].m(V,null);m(e,B),m(e,oe),m(oe,O),z(q,O,null),m(O,D),m(O,de),i[72](O),m(oe,ae),m(oe,Z),m(oe,ce),m(oe,J);for(let Ie=0;Ie<Xe.length;Ie+=1)Xe[Ie]&&Xe[Ie].m(J,null);m(e,S),m(e,I),m(I,re),z(G,re,null),m(re,we),m(re,se),i[74](re),m(I,K),m(I,ne),m(I,Be),m(I,R),m(R,ue),_t&&_t.m(ue,null),m(ue,k),m(ue,$),m(R,ze),m(R,Te),pt&&pt.m(Te,null),m(Te,Le),m(Te,Ee),m(I,ge),m(I,Se),m(I,Ce),m(I,X),m(X,j),m(e,Fe),m(e,Ze),m(Ze,rt),z(He,rt,null),m(rt,vt),m(rt,ht),m(Ze,Ot),m(Ze,dt);for(let Ie=0;Ie<ft.length;Ie+=1)ft[Ie]&&ft[Ie].m(dt,null);Re=!0,Dt||(te=[Pe(g,"click",mt(i[53])),Pe(O,"click",mt(i[53])),Pe(re,"click",mt(i[53])),Pe(ue,"click",mt(i[75])),Pe(Te,"click",mt(i[76])),Pe(rt,"click",mt(i[53]))],Dt=!0)},p(fe,ye){if(fe[4]?nt?nt.p(fe,ye):(nt=Os(fe),nt.c(),nt.m(t,n)):nt&&(nt.d(1),nt=null),fe[20]?st?(st.p(fe,ye),ye[0]&1048576&&h(st,1)):(st=Ds(fe),st.c(),h(st,1),st.m(o,r)):st&&(he(),p(st,1,1,()=>{st=null}),pe()),fe[19]?Ye?(Ye.p(fe,ye),ye[0]&524288&&h(Ye,1)):(Ye=Fs(fe),Ye.c(),h(Ye,1),Ye.m(o,l)):Ye&&(he(),p(Ye,1,1,()=>{Ye=null}),pe()),fe[18]?xe?(xe.p(fe,ye),ye[0]&262144&&h(xe,1)):(xe=Hs(fe),xe.c(),h(xe,1),xe.m(o,s)):xe&&(he(),p(xe,1,1,()=>{xe=null}),pe()),fe[17]?$e?($e.p(fe,ye),ye[0]&131072&&h($e,1)):($e=Us(fe),$e.c(),h($e,1),$e.m(o,a)):$e&&(he(),p($e,1,1,()=>{$e=null}),pe()),fe[16]?et?(et.p(fe,ye),ye[0]&65536&&h(et,1)):(et=js(fe),et.c(),h(et,1),et.m(o,c)):et&&(he(),p(et,1,1,()=>{et=null}),pe()),fe[4]?ot?(ot.p(fe,ye),ye[0]&16&&h(ot,1)):(ot=qs(fe),ot.c(),h(ot,1),ot.m(o,null)):ot&&(he(),p(ot,1,1,()=>{ot=null}),pe()),(!Re||ye[0]&16)&&L(o,"items-mobile",fe[4]),(!Re||ye[0]&16)&&L(t,"menu-desktop",!fe[4]),(!Re||ye[0]&16)&&L(t,"menu-mobile",fe[4]),(!Re||ye[0]&128)&&L(t,"hidden",!fe[7]),(!Re||ye[0]&16)&&L(g,"item-mobile",fe[4]),ye[0]&48|ye[1]&65536){Lt=Yt(fe[5]);let Ie;for(Ie=0;Ie<Lt.length;Ie+=1){const Vt=Ns(fe,Lt,Ie);lt[Ie]?(lt[Ie].p(Vt,ye),h(lt[Ie],1)):(lt[Ie]=Gs(Vt),lt[Ie].c(),h(lt[Ie],1),lt[Ie].m(V,null))}for(he(),Ie=Lt.length;Ie<lt.length;Ie+=1)at(Ie);pe()}if((!Re||ye[0]&8192)&&u(V,"style",fe[13]),(!Re||ye[0]&16)&&L(V,"items-mobile",fe[4]),(!Re||ye[0]&16)&&L(d,"menu-desktop",!fe[4]),(!Re||ye[0]&16)&&L(d,"menu-mobile",fe[4]),(!Re||ye[0]&256)&&L(d,"hidden",!fe[8]),(!Re||ye[0]&16)&&L(O,"item-mobile",fe[4]),ye[0]&33554448|ye[1]&524288){Ke=Yt(fe[25]);let Ie;for(Ie=0;Ie<Ke.length;Ie+=1){const Vt=Rs(fe,Ke,Ie);Xe[Ie]?(Xe[Ie].p(Vt,ye),h(Xe[Ie],1)):(Xe[Ie]=Ks(Vt),Xe[Ie].c(),h(Xe[Ie],1),Xe[Ie].m(J,null))}for(he(),Ie=Ke.length;Ie<Xe.length;Ie+=1)$t(Ie);pe()}if((!Re||ye[0]&16384)&&u(J,"style",fe[14]),(!Re||ye[0]&16)&&L(J,"items-mobile",fe[4]),(!Re||ye[0]&16)&&L(oe,"menu-desktop",!fe[4]),(!Re||ye[0]&16)&&L(oe,"menu-mobile",fe[4]),(!Re||ye[0]&512)&&L(oe,"hidden",!fe[9]),(!Re||ye[0]&16)&&L(re,"item-mobile",fe[4]),fe[24]?_t&&(he(),p(_t,1,1,()=>{_t=null}),pe()):_t?ye[0]&16777216&&h(_t,1):(_t=Xs(),_t.c(),h(_t,1),_t.m(ue,k)),(!Re||ye[0]&16)&&L($,"quality-title-mobile",fe[4]),(!Re||ye[0]&16)&&L(ue,"item-mobile",fe[4]),fe[24]?pt?ye[0]&16777216&&h(pt,1):(pt=Qs(),pt.c(),h(pt,1),pt.m(Te,Le)):pt&&(he(),p(pt,1,1,()=>{pt=null}),pe()),(!Re||ye[0]&16)&&L(Ee,"quality-title-mobile",fe[4]),(!Re||ye[0]&16)&&L(Te,"item-mobile",fe[4]),(!Re||ye[0]&32768)&&u(R,"style",fe[15]),(!Re||ye[0]&16)&&L(R,"items-mobile",fe[4]),(!Re||ye[0]&16)&&L(X,"item-mobile",fe[4]),(!Re||ye[0]&16)&&L(I,"menu-desktop",!fe[4]),(!Re||ye[0]&16)&&L(I,"menu-mobile",fe[4]),(!Re||ye[0]&2048)&&L(I,"hidden",!fe[11]),(!Re||ye[0]&16)&&L(rt,"item-mobile",fe[4]),ye[0]&24|ye[1]&2097152){Nt=Yt(fe[3]);let Ie;for(Ie=0;Ie<Nt.length;Ie+=1){const Vt=Bs(fe,Nt,Ie);ft[Ie]?(ft[Ie].p(Vt,ye),h(ft[Ie],1)):(ft[Ie]=xs(Vt),ft[Ie].c(),h(ft[Ie],1),ft[Ie].m(dt,null))}for(he(),Ie=Nt.length;Ie<ft.length;Ie+=1)oi(Ie);pe()}(!Re||ye[0]&16)&&L(dt,"items-mobile",fe[4]),(!Re||ye[0]&16)&&L(Ze,"menu-desktop",!fe[4]),(!Re||ye[0]&16)&&L(Ze,"menu-mobile",fe[4]),(!Re||ye[0]&1024)&&L(Ze,"hidden",!fe[10]),(!Re||ye[0]&64)&&L(e,"hidden",!fe[6]),(!Re||ye[0]&16)&&L(e,"container-mobile",fe[4])},i(fe){if(!Re){h(st),h(Ye),h(xe),h($e),h(et),h(ot),h(v.$$.fragment,fe);for(let ye=0;ye<Lt.length;ye+=1)h(lt[ye]);h(q.$$.fragment,fe);for(let ye=0;ye<Ke.length;ye+=1)h(Xe[ye]);h(G.$$.fragment,fe),h(_t),h(pt),h(He.$$.fragment,fe);for(let ye=0;ye<Nt.length;ye+=1)h(ft[ye]);Re=!0}},o(fe){p(st),p(Ye),p(xe),p($e),p(et),p(ot),p(v.$$.fragment,fe),lt=lt.filter(Boolean);for(let ye=0;ye<lt.length;ye+=1)p(lt[ye]);p(q.$$.fragment,fe),Xe=Xe.filter(Boolean);for(let ye=0;ye<Xe.length;ye+=1)p(Xe[ye]);p(G.$$.fragment,fe),p(_t),p(pt),p(He.$$.fragment,fe),ft=ft.filter(Boolean);for(let ye=0;ye<ft.length;ye+=1)p(ft[ye]);Re=!1},d(fe){fe&&y(e),nt&&nt.d(),st&&st.d(),Ye&&Ye.d(),xe&&xe.d(),$e&&$e.d(),et&&et.d(),ot&&ot.d(),F(v),i[70](null),_n(lt,fe),F(q),i[72](null),_n(Xe,fe),F(G),i[74](null),_t&&_t.d(),pt&&pt.d(),F(He),_n(ft,fe),Dt=!1,Qt(te)}}}const Wl=18;function ph(i,e,t){let n,o,r,l,s,a,c,f,d,g,v,b,T,_,A,E,V,B,{supportLink:oe}=e,{playerControlsHeight:O=0}=e,{returnFocus:q}=e;const D=Rt(),de=tn(),ae=D.state.currentQuality$;W(i,ae,Ae=>t(69,T=Ae));const Z=D.state.availableQualities$;W(i,Z,Ae=>t(5,b=Ae));const ce=D.state.autoQualityLimitingAvailable$;W(i,ce,Ae=>t(63,s=Ae));const J=D.state.isAutoQualityEnabled$;W(i,J,Ae=>t(68,v=Ae));const S=D.state.currentPlaybackRate$;W(i,S,Ae=>t(22,A=Ae));const I=D.state.availablePlaybackRates$;W(i,I,Ae=>t(25,B=Ae));const re=D.state.currentSubtitle$;W(i,re,Ae=>t(23,E=Ae));const G=D.state.availableSubtitlesList$;W(i,G,Ae=>t(3,l=Ae));const we=D.state.canDownload,se=D.state.hasMpegSources$;W(i,se,Ae=>t(64,a=Ae));const K=D.ui.settingsMenuVisible;W(i,K,Ae=>t(6,_=Ae));const ne=D.ui.isMobile;W(i,ne,Ae=>t(4,f=Ae));const Be=D.ui.mobileNotReportControlHidden$;W(i,Be,Ae=>t(61,o=Ae));const R=D.state.canChangePlaybackSpeed$;W(i,R,Ae=>t(62,r=Ae));const ue=D.ui.isFullscreen;W(i,ue,Ae=>t(67,g=Ae));const k=D.state.trafficSavingEnabled$;W(i,k,Ae=>t(24,V=Ae));const $=D.ui.playerSize;W(i,$,Ae=>t(66,d=Ae));const ze=D.ui.debugPanelVisible,Te=D.ui.playerSize;W(i,Te,Ae=>t(65,c=Ae));const Le=D.actions.internal.downloadVideo;let Ee=!0,ge=!1,Se=!1,Ce=!1,X=!1;function j(){q==null||q(),K.set(!1)}function Fe(){t(7,Ee=!1),t(8,ge=!0)}function Ze(){t(7,Ee=!1),t(11,X=!0)}function rt(Ae){D.actions.internal.setQuality(Ae),j()}function He(Ae){D.actions.internal.setTrafficSavingEnabled(Ae),j()}function vt(){t(7,Ee=!1),t(9,Se=!0)}function ht(Ae){D.actions.internal.setPlaybackRate(Ae),j()}function Ot(){t(7,Ee=!1),t(10,Ce=!0)}function dt(Ae){D.actions.internal.setSubtitle(Ae),j()}function Re(){t(7,Ee=!0),t(8,ge=!1),t(9,Se=!1),t(10,Ce=!1),t(11,X=!1)}function Dt(){Le(),j()}function te(){window.open(oe,"_blank"),j(),D.actions.internal.pause()}function nt(){or(D.actions.internal.getDebugTextData()),j()}function st(){ze.set(!0),j()}function Ye(Ae,qt,Jt){if(!Ae)return"...";const kt=qt.find(Ti=>Ti.value===Ae),Zt=kt?kt.displayValue:Ae;return Jt?Ae===co.INVARIANT?le("auto_quality_invariant"):le("auto_quality",{actual:Zt}):Zt}let xe,$e,et,ot,Lt,lt,at,Ke,Xe,$t,_t,pt;function Nt(Ae){Ve[Ae?"unshift":"push"](()=>{$e=Ae,t(0,$e)})}const ft=Ae=>rt(Ae.value);function oi(Ae){Ve[Ae?"unshift":"push"](()=>{et=Ae,t(1,et)})}const fe=Ae=>ht(Ae.value);function ye(Ae){Ve[Ae?"unshift":"push"](()=>{ot=Ae,t(2,ot)})}const Ie=()=>He(!1),Vt=()=>He(!0),ei=Ae=>dt(Ae);return i.$$set=Ae=>{"supportLink"in Ae&&t(58,oe=Ae.supportLink),"playerControlsHeight"in Ae&&t(59,O=Ae.playerControlsHeight),"returnFocus"in Ae&&t(60,q=Ae.returnFocus)},i.$$.update=()=>{var Ae,qt,Jt;if(i.$$.dirty[0]&64&&_&&(t(7,Ee=!0),t(8,ge=!1),t(9,Se=!1),t(10,Ce=!1),t(11,X=!1)),i.$$.dirty[2]&128&&t(21,n=wo(T)),i.$$.dirty[0]&32|i.$$.dirty[2]&192&&t(12,xe=Ye(T,b,v)),i.$$.dirty[0]&17|i.$$.dirty[1]&268435456|i.$$.dirty[2]&56)if(f&&g)t(13,Lt=`max-height: ${Math.round(d.height*.6)}px`);else if(f)t(13,Lt="");else{const kt=c.height-Wl-((Ae=$e==null?void 0:$e.clientHeight)!=null?Ae:0)-O;t(13,Lt=`max-height: ${kt}px; overflow: auto;`)}if(i.$$.dirty[0]&18|i.$$.dirty[1]&268435456|i.$$.dirty[2]&8)if(f)t(14,lt="");else{const kt=c.height-Wl-((qt=et==null?void 0:et.clientHeight)!=null?qt:0)-O;t(14,lt=`max-height: ${kt}px; overflow: auto;`)}if(i.$$.dirty[0]&20|i.$$.dirty[1]&268435456|i.$$.dirty[2]&8)if(f)t(15,at="");else{const kt=c.height-Wl-((Jt=ot==null?void 0:ot.clientHeight)!=null?Jt:0)-O;t(15,at=`max-height: ${kt}px; overflow: auto;`)}i.$$.dirty[1]&1073741824|i.$$.dirty[2]&4&&t(16,Ke=we&&a&&!o),i.$$.dirty[1]&1073741824|i.$$.dirty[2]&2&&t(17,Xe=de.features.trafficSaving&&!o&&s),i.$$.dirty[0]&8|i.$$.dirty[1]&1073741824&&t(18,$t=l.length>0&&!o),i.$$.dirty[1]&1073741824|i.$$.dirty[2]&1&&t(19,_t=!!r&&!o),i.$$.dirty[1]&1073741824&&t(20,pt=!o)},[$e,et,ot,l,f,b,_,Ee,ge,Se,Ce,X,xe,Lt,lt,at,Ke,Xe,$t,_t,pt,n,A,E,V,B,de,ae,Z,ce,J,S,I,re,G,se,K,ne,Be,R,ue,k,$,Te,j,Fe,Ze,rt,He,vt,ht,Ot,dt,Re,Dt,te,nt,st,oe,O,q,o,r,s,a,c,d,g,v,T,Nt,ft,oi,fe,ye,Ie,Vt,ei]}class _c extends ke{constructor(e){super(),_e(this,e,ph,hh,be,{supportLink:58,playerControlsHeight:59,returnFocus:60},dh,[-1,-1,-1])}}function vh(i){je(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function gh(i){let e,t,n;return t=new gc({props:{isMobile:i[1],currentQuality:i[2]}}),{c(){e=w("span"),H(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,r){C(o,e,r),z(t,e,null),n=!0},p(o,r){const l={};r&2&&(l.isMobile=o[1]),r&4&&(l.currentQuality=o[2]),t.$set(l)},i(o){n||(h(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),F(t)}}}function bh(i){let e,t;return e=new fi({props:{testId:"btn-settings",click:i[6],ariaLabel:i[0],$$slots:{default:[gh]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.ariaLabel=n[0]),o&518&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function _h(i,e,t){let n,o,r;const l=Rt(),s=l.state.currentQuality$;W(i,s,g=>t(2,r=g));const a=l.ui.settingsMenuVisible;W(i,a,g=>t(7,n=g));const c=l.ui.isMobile;W(i,c,g=>t(1,o=g));let f;function d(){a.set(!n)}return i.$$.update=()=>{i.$$.dirty&128&&t(0,f=le(n?"tooltip_settings_on":"tooltip_settings_off"))},[f,o,r,s,a,c,d,n]}class gr extends ke{constructor(e){super(),_e(this,e,_h,bh,be,{},vh)}}function kh(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class wh extends ke{constructor(e){super(),_e(this,e,null,kh,be,{})}}function yh(i){let e,t;return e=new bc({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ch(i){let e,t;return e=new wh({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ph(i){let e,t,n,o;const r=[Ch,yh],l=[];function s(a,c){return a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=Tt()},m(a,c){l[e].m(a,c),C(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e!==f&&(he(),p(l[f],1,1,()=>{l[f]=null}),pe(),t=l[e],t||(t=l[e]=r[e](a),t.c()),h(t,1),t.m(n.parentNode,n))},i(a){o||(h(t),o=!0)},o(a){p(t),o=!1},d(a){a&&y(n),l[e].d(a)}}}function Th(i){let e,t;return e=new fi({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],$$slots:{default:[Ph]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const r={};o&4&&(r.ariaLabel=n[2]),o&2&&(r.click=n[1]),o&9&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Sh(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,r;return i.$$set=l=>{"isSubtitlesEnabled"in l&&t(0,n=l.isSubtitlesEnabled),"click"in l&&t(1,o=l.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=le(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,r]}class Eh extends ke{constructor(e){super(),_e(this,e,Sh,Th,be,{isSubtitlesEnabled:0,click:1})}}function Ah(i){je(i,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function $s(i){let e,t;return{c(){e=w("span"),t=Ue(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){C(n,e,o),m(e,t)},p(n,o){o&8&&it(t,n[3])},d(n){n&&y(e)}}}function Ih(i){let e,t,n,o,r=i[2]&&$s(i);return{c(){e=w("div"),t=w("span"),n=Ue(i[4]),o=N(),r&&r.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),L(e,"mobile",i[1])},m(l,s){C(l,e,s),m(e,t),m(t,n),m(e,o),r&&r.m(e,null),i[7](e)},p(l,[s]){s&16&&it(n,l[4]),l[2]?r?r.p(l,s):(r=$s(l),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&2&&L(e,"mobile",l[1])},i:U,o:U,d(l){l&&y(e),r&&r.d(),i[7](null)}}}function Lh(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:r}=e,{showDuration:l=!0}=e,{ref:s}=e,a,c;function f(d){Ve[d?"unshift":"push"](()=>{s=d,t(0,s)})}return i.$$set=d=>{"isMobile"in d&&t(1,n=d.isMobile),"duration"in d&&t(5,o=d.duration),"position"in d&&t(6,r=d.position),"showDuration"in d&&t(2,l=d.showDuration),"ref"in d&&t(0,s=d.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=An(o)),i.$$.dirty&64&&t(4,c=An(r))},[s,n,l,a,c,o,r,f]}class kc extends ke{constructor(e){super(),_e(this,e,Lh,Ih,be,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},Ah)}}function Vh(i){je(i,"v-1n5yyua",".icon.v-1n5yyua.v-1n5yyua{display:block;width:24px;height:24px}.icon.v-1n5yyua .cross.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .wave1.v-1n5yyua,.icon[data-value='off'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .cross.v-1n5yyua{visibility:visible}.icon[data-value='mid'].v-1n5yyua .wave2.v-1n5yyua,.icon[data-value='min'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}")}function Mh(i){let e,t,n,o,r,l;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),r=M("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(r,"class","cross v-1n5yyua"),u(r,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"data-value",i[0]),u(e,"data-testid",l="volume-"+i[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(s,a){C(s,e,a),m(e,t),m(t,n),m(t,o),m(t,r)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&l!==(l="volume-"+s[0]+"-icon")&&u(e,"data-testid",l)},i:U,o:U,d(s){s&&y(e)}}}function Bh(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const r=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let l;return i.$$set=s=>{"volume"in s&&t(1,n=s.volume),"muted"in s&&t(2,o=s.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,l=r(n,o))},[l,n,o]}class kl extends ke{constructor(e){super(),_e(this,e,Bh,Mh,be,{volume:1,muted:2},Vh)}}function Rh(i){je(i,"v-1jbbzcj",'.tooltip-wrapper.v-1jbbzcj{display:flex;flex-direction:column;min-width:0}.full-width.v-1jbbzcj{width:100%}.tooltip.v-1jbbzcj{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-1jbbzcj{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-1jbbzcj{opacity:1;visibility:visible}.tooltip-pointer.v-1jbbzcj{position:absolute;bottom:0;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}')}function ea(i){let e,t,n,o,r,l,s;return{c(){e=w("div"),t=w("div"),n=Ue(i[1]),o=N(),r=w("div"),u(t,"class","content v-1jbbzcj"),u(r,"class","tooltip-pointer v-1jbbzcj"),u(r,"style",l=`transform: translate(${i[6]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",s=`transform: translate(${i[5]}px, ${i[2]}px);`),L(e,"active",i[4])},m(a,c){C(a,e,c),m(e,t),m(t,n),m(e,o),m(e,r),i[17](e)},p(a,c){c&2&&it(n,a[1]),c&64&&l!==(l=`transform: translate(${a[6]}px, ${a[8]}px);`)&&u(r,"style",l),c&36&&s!==(s=`transform: translate(${a[5]}px, ${a[2]}px);`)&&u(e,"style",s),c&16&&L(e,"active",a[4])},d(a){a&&y(e),i[17](null)}}}function Nh(i){let e,t,n,o,r;const l=i[16].default,s=Fn(l,i,i[15],null);let a=i[1]&&ea(i);return{c(){e=w("div"),s&&s.c(),t=N(),a&&a.c(),u(e,"class","tooltip-wrapper v-1jbbzcj"),L(e,"full-width",i[3])},m(c,f){C(c,e,f),s&&s.m(e,null),m(e,t),a&&a.m(e,null),n=!0,o||(r=[Pe(e,"mouseenter",function(){mn(i[7]?i[11]:Ge)&&(i[7]?i[11]:Ge).apply(this,arguments)}),Pe(e,"mousemove",function(){mn(i[7]?i[11]:Ge)&&(i[7]?i[11]:Ge).apply(this,arguments)}),Pe(e,"mouseleave",i[12]),Pe(e,"mousedown",i[12]),Pe(e,"mouseup",function(){mn(i[7]?i[11]:Ge)&&(i[7]?i[11]:Ge).apply(this,arguments)})],o=!0)},p(c,[f]){i=c,s&&s.p&&(!n||f&32768)&&Un(s,l,i,i[15],n?Hn(l,i[15],f,null):jn(i[15]),null),i[1]?a?a.p(i,f):(a=ea(i),a.c(),a.m(e,null)):a&&(a.d(1),a=null),(!n||f&8)&&L(e,"full-width",i[3])},i(c){n||(h(s,c),n=!0)},o(c){p(s,c),n=!1},d(c){c&&y(e),s&&s.d(c),a&&a.d(),o=!1,Qt(r)}}}const ta=5,rl=8;function Oh(i,e,t){let n,o,r,l,s=U,a=()=>(s(),s=xt(d,I=>t(14,l=I)),d);i.$$.on_destroy.push(()=>s());let{$$slots:c={},$$scope:f}=e,{controlInfo:d=De(void 0)}=e;a();let{tooltipContent:g=""}=e,{initialTranslateXPx:v=0}=e,{initialTranslateYPx:b=0}=e,{isFullWidth:T=!1}=e,_=!1,A=0,E=0,V=ta,B,oe;const O=tn(),q=Rt(),D=q.ui.playerSize;W(i,D,I=>t(21,r=I));const de=q.ui.controls.tooltipPointerOffsetX;W(i,de,I=>t(20,o=I));const ae=()=>{t(4,_=!0);const I=oe.clientWidth,re=r.width,G=o-I/2+v,we=o-n;t(5,A=we-I/2+v),t(6,E=I/2-ta);let se=0;G<rl&&(se=rl-G,t(6,E-=se),t(5,A+=se));let K=0;G+I>re-rl&&(K=G+I-(re-rl),t(6,E+=K),t(5,A-=K))},Z=()=>{t(4,_=!1)},ce=()=>{B||(B=window.setTimeout(ae,O.controls.hideTimeoutTooltips)),_&&ae()},J=()=>{Z(),window.clearTimeout(B),B=void 0};vl(()=>window.clearTimeout(B));function S(I){Ve[I?"unshift":"push"](()=>{oe=I,t(7,oe)})}return i.$$set=I=>{"controlInfo"in I&&a(t(0,d=I.controlInfo)),"tooltipContent"in I&&t(1,g=I.tooltipContent),"initialTranslateXPx"in I&&t(13,v=I.initialTranslateXPx),"initialTranslateYPx"in I&&t(2,b=I.initialTranslateYPx),"isFullWidth"in I&&t(3,T=I.isFullWidth),"$$scope"in I&&t(15,f=I.$$scope)},i.$$.update=()=>{var I;i.$$.dirty&16384&&(n=(I=l==null?void 0:l.left)!=null?I:0)},[d,g,b,T,_,A,E,oe,V,D,de,ce,J,v,l,f,c,S]}class wc extends ke{constructor(e){super(),_e(this,e,Oh,Nh,be,{controlInfo:0,tooltipContent:1,initialTranslateXPx:13,initialTranslateYPx:2,isFullWidth:3},Rh)}}function Dh(i){je(i,"v-p9r045",".btn-container.v-p9r045{position:relative;display:flex;align-items:center;height:100%;transition:var(--button-hover-transition);will-change:opacity;-webkit-tap-highlight-color:transparent}.w-max.v-p9r045{width:100%;min-width:0}")}function zh(i){let e;const t=i[17].default,n=Fn(t,i,i[22],null);return{c(){n&&n.c()},m(o,r){n&&n.m(o,r),e=!0},p(o,r){n&&n.p&&(!e||r&4194304)&&Un(n,t,o,o[22],e?Hn(t,o[22],r,null):jn(o[22]),null)},i(o){e||(h(n,o),e=!0)},o(o){p(n,o),e=!1},d(o){n&&n.d(o)}}}function Fh(i){let e,t;return e=new wc({props:{controlInfo:i[5],tooltipContent:i[10],initialTranslateXPx:i[8],initialTranslateYPx:i[9],isFullWidth:i[4],$$slots:{default:[Hh]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&32&&(r.controlInfo=n[5]),o&1024&&(r.tooltipContent=n[10]),o&256&&(r.initialTranslateXPx=n[8]),o&512&&(r.initialTranslateYPx=n[9]),o&16&&(r.isFullWidth=n[4]),o&4194304&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Hh(i){let e;const t=i[17].default,n=Fn(t,i,i[22],null);return{c(){n&&n.c()},m(o,r){n&&n.m(o,r),e=!0},p(o,r){n&&n.p&&(!e||r&4194304)&&Un(n,t,o,o[22],e?Hn(t,o[22],r,null):jn(o[22]),null)},i(o){e||(h(n,o),e=!0)},o(o){p(n,o),e=!1},d(o){n&&n.d(o)}}}function Uh(i){let e,t,n,o,r,l,s,a,c;const f=[Fh,zh],d=[];function g(v,b){return v[3]&&v[6]&&!v[11]?0:1}return t=g(i),n=d[t]=f[t](i),{c(){e=w("div"),n.c(),u(e,"class",o="btn-container "+i[2]+" v-p9r045"),u(e,"aria-hidden",r=i[7]||null),bo(()=>i[21].call(e))},m(v,b){C(v,e,b),d[t].m(e,null),i[20](e),l=sr(e,i[21].bind(e)),s=!0,a||(c=[Pe(e,"pointerdown",mt(ci(i[18]))),Pe(e,"click",mt(ci(i[19])))],a=!0)},p(v,[b]){let T=t;t=g(v),t===T?d[t].p(v,b):(he(),p(d[T],1,1,()=>{d[T]=null}),pe(),n=d[t],n?n.p(v,b):(n=d[t]=f[t](v),n.c()),h(n,1),n.m(e,null)),(!s||b&4&&o!==(o="btn-container "+v[2]+" v-p9r045"))&&u(e,"class",o),(!s||b&128&&r!==(r=v[7]||null))&&u(e,"aria-hidden",r)},i(v){s||(h(n),s=!0)},o(v){p(n),s=!1},d(v){v&&y(e),d[t].d(),i[20](null),l(),a=!1,Qt(c)}}}function jh(i,e,t){let n,o,{$$slots:r={},$$scope:l}=e,{className:s=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:d=void 0}=e,{isFullWidthTooltip:g=!0}=e,{controlInfo:v=De(void 0)}=e,{tooltipContent:b=""}=e,{disabledTooltipContent:T=le("tooltip_button_disabled")}=e,{isAriaHidden:_=!1}=e,{initialTranslateXPx:A=0}=e,{initialTranslateYPx:E=-18}=e;const V=Rt(),B=V.ui.isMobile;W(i,B,Z=>t(11,o=Z));const oe=V.state.graphIsOpened$;W(i,oe,Z=>t(16,n=Z));let O;function q(Z){go.call(this,i,Z)}function D(Z){go.call(this,i,Z)}function de(Z){Ve[Z?"unshift":"push"](()=>{f=Z,t(0,f)})}function ae(){d=this.clientWidth,t(1,d)}return i.$$set=Z=>{"className"in Z&&t(2,s=Z.className),"disabled"in Z&&t(14,a=Z.disabled),"hasTooltip"in Z&&t(3,c=Z.hasTooltip),"ref"in Z&&t(0,f=Z.ref),"width"in Z&&t(1,d=Z.width),"isFullWidthTooltip"in Z&&t(4,g=Z.isFullWidthTooltip),"controlInfo"in Z&&t(5,v=Z.controlInfo),"tooltipContent"in Z&&t(6,b=Z.tooltipContent),"disabledTooltipContent"in Z&&t(15,T=Z.disabledTooltipContent),"isAriaHidden"in Z&&t(7,_=Z.isAriaHidden),"initialTranslateXPx"in Z&&t(8,A=Z.initialTranslateXPx),"initialTranslateYPx"in Z&&t(9,E=Z.initialTranslateYPx),"$$scope"in Z&&t(22,l=Z.$$scope)},i.$$.update=()=>{i.$$.dirty&114752&&(a?t(10,O=n?le("tooltip_disabled_when_graph_on"):T):t(10,O=b))},[f,d,s,c,g,v,b,_,A,E,O,o,B,oe,a,T,n,r,q,D,de,ae,l]}class Xt extends ke{constructor(e){super(),_e(this,e,jh,Uh,be,{className:2,disabled:14,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,controlInfo:5,tooltipContent:6,disabledTooltipContent:15,isAriaHidden:7,initialTranslateXPx:8,initialTranslateYPx:9},Dh)}}function qh(i){let e,t,n,o,r;return{c(){e=M("svg"),t=M("rect"),o=M("path"),u(t,"width","20"),u(t,"height","20"),u(t,"rx","10"),u(t,"fill","white"),u(t,"fill-opacity",n=i[0]?1:.24),u(o,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(o,"fill",r=i[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,s){C(l,e,s),m(e,t),m(e,o)},p(l,[s]){s&1&&n!==(n=l[0]?1:.24)&&u(t,"fill-opacity",n),s&1&&r!==(r=l[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",r)},i:U,o:U,d(l){l&&y(e)}}}function Zh(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class Wh extends ke{constructor(e){super(),_e(this,e,Zh,qh,be,{completed:0})}}function Gh(i){je(i,"v-bklhpe",".interactive-episode-icon.v-bklhpe{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}.interactive-episode-icon.disabled.v-bklhpe{pointer-events:none;opacity:0.4}")}function Yh(i){let e,t,n,o,r;return t=new Wh({props:{completed:!!i[0].completed}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),bo(()=>i[3].call(e)),L(e,"disabled",i[1])},m(l,s){C(l,e,s),z(t,e,null),o=sr(e,i[3].bind(e)),r=!0},p(l,s){const a={};s&1&&(a.completed=!!l[0].completed),t.$set(a),(!r||s&1&&n!==(n=`left: ${l[0].from+l[0].width/2}%`))&&u(e,"style",n),(!r||s&2)&&L(e,"disabled",l[1])},i(l){r||(h(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){l&&y(e),F(t),o()}}}function Kh(i){let e,t;return e=new Xt({props:{tooltipContent:le(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:[Yh]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.tooltipContent=le(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(r.disabled=n[1]),o&4&&(r.width=n[2]||0),o&23&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Xh(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,r;function l(){r=this.clientWidth,t(2,r)}return i.$$set=s=>{"videoEpisode"in s&&t(0,n=s.videoEpisode),"disabled"in s&&t(1,o=s.disabled)},[n,o,r,l]}class Qh extends ke{constructor(e){super(),_e(this,e,Xh,Kh,be,{videoEpisode:0,disabled:1},Gh)}}function Jh(i){je(i,"v-1h9p3m2",".video-episodes-wrap.v-1h9p3m2{position:absolute;width:100%;height:100%}.video-episode.v-1h9p3m2{position:absolute;height:calc(3 * var(--slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--slider-height) var(--slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-1h9p3m2:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-1h9p3m2,.video-episode-loaded.v-1h9p3m2,.video-episode-filled.v-1h9p3m2{position:absolute;height:var(--slider-height);border-radius:var(--slider-radius)}.video-episode-inner.v-1h9p3m2{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--slider-video-episode-gap));background:var(--slider-bg)}.video-episode-loaded.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}")}function ia(i,e,t){const n=i.slice();return n[2]=e[t],n}function na(i){let e,t,n,o,r,l,s,a,c;return{c(){e=w("div"),t=w("div"),n=w("div"),r=N(),l=w("div"),a=N(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${i[2].loadedWidth/i[2].width*100}%)`),u(l,"class","video-episode-filled v-1h9p3m2"),u(l,"style",s=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),L(l,"mobile",i[1]),u(t,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${i[2].from}%; width: ${i[2].width}%`),L(e,"mobile",i[1])},m(f,d){C(f,e,d),m(e,t),m(t,n),m(t,r),m(t,l),m(e,a)},p(f,d){d&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),d&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(l,"style",s),d&2&&L(l,"mobile",f[1]),d&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),d&2&&L(e,"mobile",f[1])},d(f){f&&y(e)}}}function xh(i){let e,t=Yt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=na(ia(i,t,o));return{c(){e=w("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,r){C(o,e,r);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,[r]){if(r&3){t=Yt(o[0]);let l;for(l=0;l<t.length;l+=1){const s=ia(o,t,l);n[l]?n[l].p(s,r):(n[l]=na(s),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},i:U,o:U,d(o){o&&y(e),_n(n,o)}}}function $h(i,e,t){let{videoEpisodes:n=[]}=e,{isMobile:o}=e;return i.$$set=r=>{"videoEpisodes"in r&&t(0,n=r.videoEpisodes),"isMobile"in r&&t(1,o=r.isMobile)},[n,o]}class ep extends ke{constructor(e){super(),_e(this,e,$h,xh,be,{videoEpisodes:0,isMobile:1},Jh)}}function tp(i){je(i,"v-1golz1y",".interactive-icons.v-1golz1y.v-1golz1y{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-1golz1y.v-1golz1y{top:-10px}.slider.v-1golz1y.v-1golz1y{position:relative;height:var(--slider-height);border-radius:var(--slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-1golz1y.v-1golz1y{cursor:default}.slider.v-1golz1y.v-1golz1y:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--controls-height) / 2 - var(--slider-height)) / 2);height:calc(var(--controls-height) / 2)}.bars.v-1golz1y.v-1golz1y{position:absolute;width:100%;height:100%;border-radius:var(--slider-radius);overflow:hidden;background:var(--slider-bg)}.loaded.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.filled.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}.slider.square.v-1golz1y.v-1golz1y,.slider.square.v-1golz1y>.bars.v-1golz1y,.slider.square.v-1golz1y .loaded.v-1golz1y,.slider.square.v-1golz1y .filled.v-1golz1y{border-radius:unset}.filled.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.filled.ads.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-ads)}.handleWrap.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%}.handle.v-1golz1y.v-1golz1y{position:absolute;width:var(--slider-handle-size);height:var(--slider-handle-size);right:calc(-1 * var(--slider-handle-size) / 2);top:calc((var(--slider-height) - var(--slider-handle-size)) / 2);border-radius:50%;background-color:var(--slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.slider.v-1golz1y:hover .handle.v-1golz1y,.slider-dragging.v-1golz1y .handle.v-1golz1y{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-1golz1y .handle.v-1golz1y{transform:scale(1.3)}.slider-vertical.v-1golz1y.v-1golz1y{position:absolute;left:-8px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.slider.disabled.v-1golz1y.v-1golz1y{cursor:default;pointer-events:none;opacity:0.4}")}function oa(i,e,t){const n=i.slice();return n[48]=e[t],n}function la(i){let e,t,n=Yt(i[21]),o=[];for(let l=0;l<n.length;l+=1)o[l]=sa(oa(i,n,l));const r=l=>p(o[l],1,1,()=>{o[l]=null});return{c(){e=w("div");for(let l=0;l<o.length;l+=1)o[l].c();u(e,"class","interactive-icons v-1golz1y"),L(e,"mobile",i[5]),L(e,"hidden",i[5]&&!i[20])},m(l,s){C(l,e,s);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);t=!0},p(l,s){if(s[0]&2097664){n=Yt(l[21]);let a;for(a=0;a<n.length;a+=1){const c=oa(l,n,a);o[a]?(o[a].p(c,s),h(o[a],1)):(o[a]=sa(c),o[a].c(),h(o[a],1),o[a].m(e,null))}for(he(),a=n.length;a<o.length;a+=1)r(a);pe()}(!t||s[0]&32)&&L(e,"mobile",l[5]),(!t||s[0]&1048608)&&L(e,"hidden",l[5]&&!l[20])},i(l){if(!t){for(let s=0;s<n.length;s+=1)h(o[s]);t=!0}},o(l){o=o.filter(Boolean);for(let s=0;s<o.length;s+=1)p(o[s]);t=!1},d(l){l&&y(e),_n(o,l)}}}function ra(i){let e,t;return e=new Qh({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.videoEpisode=n[48]),o[0]&512&&(r.disabled=n[9]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function sa(i){let e,t,n=i[48].interactive&&ra(i);return{c(){n&&n.c(),e=Tt()},m(o,r){n&&n.m(o,r),C(o,e,r),t=!0},p(o,r){o[48].interactive?n?(n.p(o,r),r[0]&2097152&&h(n,1)):(n=ra(o),n.c(),h(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),pe())},i(o){t||(h(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function ip(i){let e,t,n,o,r,l;return{c(){e=w("div"),t=w("div"),o=N(),r=w("div"),u(t,"class","loaded v-1golz1y"),u(t,"style",n=`transform: translateX(${i[11]*100}%);`),u(r,"class","filled v-1golz1y"),u(r,"style",l=`transform: translateX(${i[12]*100}%);`),L(r,"active-live",i[4]),L(r,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(s,a){C(s,e,a),m(e,t),m(e,o),m(e,r)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&l!==(l=`transform: translateX(${s[12]*100}%);`)&&u(r,"style",l),a[0]&16&&L(r,"active-live",s[4]),a[0]&64&&L(r,"ads",s[6])},i:U,o:U,d(s){s&&y(e)}}}function np(i){let e,t;return e=new ep({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.videoEpisodes=n[21]),o[0]&32&&(r.isMobile=n[5]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function op(i){let e,t,n,o,r,l,s,a,c,f,d,g,v,b=i[8]&&la(i);const T=[np,ip],_=[];function A(E,V){return E[21].length?0:1}return n=A(i),o=_[n]=T[n](i),{c(){var E;b&&b.c(),e=N(),t=w("div"),o.c(),r=N(),l=w("div"),s=w("div"),u(s,"class","handle v-1golz1y"),L(s,"active-live",i[4]),u(l,"class","handleWrap v-1golz1y"),u(l,"style",a=`transform: translateX(${i[13]*100}%);`),L(l,"hidden",i[10]),u(t,"class",c="slider "+i[0]+" v-1golz1y"),u(t,"aria-label",i[14]),u(t,"aria-valuemin",i[15]),u(t,"aria-valuemax",i[16]),u(t,"aria-valuenow",i[17]),u(t,"aria-valuetext",i[18]),u(t,"role","slider"),u(t,"tabindex","0"),u(t,"data-testid",f=(E=i[1])!=null?E:null),L(t,"disabled",i[9]),L(t,"slider-dragging",i[20]),L(t,"hidden",i[2]),L(t,"slider-vertical",i[3]),L(t,"no-handle",i[10]),L(t,"square",i[7])},m(E,V){b&&b.m(E,V),C(E,e,V),C(E,t,V),_[n].m(t,null),m(t,r),m(t,l),m(l,s),i[42](t),d=!0,g||(v=[Pe(t,"pointerdown",ci(i[22])),Pe(t,"pointermove",ci(i[23])),Pe(t,"pointerup",ci(i[24])),Pe(t,"pointerenter",ci(i[25])),Pe(t,"pointerleave",ci(i[26])),Pe(t,"click",mt(Ge)),Pe(t,"wheel",i[27])],g=!0)},p(E,V){var oe;E[8]?b?(b.p(E,V),V[0]&256&&h(b,1)):(b=la(E),b.c(),h(b,1),b.m(e.parentNode,e)):b&&(he(),p(b,1,1,()=>{b=null}),pe());let B=n;n=A(E),n===B?_[n].p(E,V):(he(),p(_[B],1,1,()=>{_[B]=null}),pe(),o=_[n],o?o.p(E,V):(o=_[n]=T[n](E),o.c()),h(o,1),o.m(t,r)),(!d||V[0]&16)&&L(s,"active-live",E[4]),(!d||V[0]&8192&&a!==(a=`transform: translateX(${E[13]*100}%);`))&&u(l,"style",a),(!d||V[0]&1024)&&L(l,"hidden",E[10]),(!d||V[0]&1&&c!==(c="slider "+E[0]+" v-1golz1y"))&&u(t,"class",c),(!d||V[0]&16384)&&u(t,"aria-label",E[14]),(!d||V[0]&32768)&&u(t,"aria-valuemin",E[15]),(!d||V[0]&65536)&&u(t,"aria-valuemax",E[16]),(!d||V[0]&131072)&&u(t,"aria-valuenow",E[17]),(!d||V[0]&262144)&&u(t,"aria-valuetext",E[18]),(!d||V[0]&2&&f!==(f=(oe=E[1])!=null?oe:null))&&u(t,"data-testid",f),(!d||V[0]&513)&&L(t,"disabled",E[9]),(!d||V[0]&1048577)&&L(t,"slider-dragging",E[20]),(!d||V[0]&5)&&L(t,"hidden",E[2]),(!d||V[0]&9)&&L(t,"slider-vertical",E[3]),(!d||V[0]&1025)&&L(t,"no-handle",E[10]),(!d||V[0]&129)&&L(t,"square",E[7])},i(E){d||(h(b),h(o),d=!0)},o(E){p(b),p(o),d=!1},d(E){E&&(y(e),y(t)),b&&b.d(E),_[n].d(),i[42](null),g=!1,Qt(v)}}}function lp(i,e,t){let n,o,{className:r=""}=e,{testId:l=void 0}=e,{isHidden:s=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:d=!1}=e,{squareBorders:g=!1}=e,{videoEpisodes:v=[]}=e,{withWheelHandler:b=!1}=e,{isInteractive:T=!1}=e,{disabled:_=!1}=e,{hideHandel:A=!1}=e,E,V,{onPointerDown:B=Ge}=e,{onHandleMove:oe=Ge}=e,{onPointerUp:O=Ge}=e,{onPointerEnter:q=Ge}=e,{onPointerMove:D=Ge}=e,{onPointerLeave:de=Ge}=e,{onWheelUp:ae=Ge}=e,{onWheelDown:Z=Ge}=e,{onWheelLeft:ce=Ge}=e,{onWheelRight:J=Ge}=e,{loadedProgress:S=0}=e,{filledProgress:I=0}=e,{handleProgress:re=0}=e,{ariaLabel:G=""}=e,{ariaValueMin:we=void 0}=e,{ariaValueMax:se=void 0}=e,{ariaValueNow:K=void 0}=e,{ariaValueText:ne=""}=e;const Be=tn();let R=!1,ue;function k(j){if(R)return;t(20,R=!0),V=E.getBoundingClientRect();const Fe=ge(j.clientX,j.clientY);B(Fe),E.setPointerCapture(j.pointerId)}function $(j){const Fe=ge(j.clientX,j.clientY),Ze=Se(j.clientX);D(Fe,Ze,V.width),R&&oe(Fe)}function ze(j){if(!R)return;t(20,R=!1);const Fe=ge(j.clientX,j.clientY);O(Fe)}function Te(j){V=E.getBoundingClientRect();const Fe=ge(j.clientX,j.clientY),Ze=Se(j.clientX);q(Fe,Ze,V.width)}function Le(){de()}function Ee(j){b&&(j.preventDefault(),j.deltaY<0?ae():j.deltaY>0?Z():j.deltaX>0?J():ce())}function ge(j,Fe){return a?Math.max(0,Math.min(1,(V.height-(Fe-V.top))/V.height)):Math.min(Math.max(j-V.x,0),V.width)/V.width}function Se(j){return Math.min(Math.max(j-V.x,0),V.width)}function Ce(j,Fe){const Ze=Be.features.episodesClustering&&!T?Be.episodeMinWidthPc:0,rt=[];let He=0,vt=0,ht=0;for(let Re=1;Re<v.length;Re++)vt=v[Re].time/ue*100,vt-He>Ze&&(rt.push({from:He,width:Math.max(0,vt-He),loadedWidth:Math.max(0,Math.min(vt,j)-He),filledWidth:Math.max(0,Math.min(vt,Fe)-He),interactive:v[Re-1].interactive,completed:v[Re-1].completed}),He=v[Re].time/ue*100,ht++);const Ot={from:He,width:Math.max(0,100-He),loadedWidth:Math.max(0,Math.min(j,100)-He),filledWidth:Math.max(0,Math.min(Fe,100)-He),interactive:v[ht].interactive,completed:v[ht].completed};100-He<Ze?(ht-=1,rt[ht].width+=100-He,rt[ht].loadedWidth+=Math.max(0,Math.min(j,100)-He),rt[ht].filledWidth+=Math.max(0,Math.min(Fe,100)-He)):rt[ht]=Ot;const dt=v[0].time;if(dt!==0){const Re=dt/ue*100;rt.unshift({from:0,width:Re,loadedWidth:Math.min(Re,j),filledWidth:Math.min(Re,Fe)})}return rt}function X(j){Ve[j?"unshift":"push"](()=>{E=j,t(19,E)})}return i.$$set=j=>{"className"in j&&t(0,r=j.className),"testId"in j&&t(1,l=j.testId),"isHidden"in j&&t(2,s=j.isHidden),"isVertical"in j&&t(3,a=j.isVertical),"isActiveLive"in j&&t(4,c=j.isActiveLive),"isMobile"in j&&t(5,f=j.isMobile),"isAds"in j&&t(6,d=j.isAds),"squareBorders"in j&&t(7,g=j.squareBorders),"videoEpisodes"in j&&t(28,v=j.videoEpisodes),"withWheelHandler"in j&&t(29,b=j.withWheelHandler),"isInteractive"in j&&t(8,T=j.isInteractive),"disabled"in j&&t(9,_=j.disabled),"hideHandel"in j&&t(10,A=j.hideHandel),"onPointerDown"in j&&t(30,B=j.onPointerDown),"onHandleMove"in j&&t(31,oe=j.onHandleMove),"onPointerUp"in j&&t(32,O=j.onPointerUp),"onPointerEnter"in j&&t(33,q=j.onPointerEnter),"onPointerMove"in j&&t(34,D=j.onPointerMove),"onPointerLeave"in j&&t(35,de=j.onPointerLeave),"onWheelUp"in j&&t(36,ae=j.onWheelUp),"onWheelDown"in j&&t(37,Z=j.onWheelDown),"onWheelLeft"in j&&t(38,ce=j.onWheelLeft),"onWheelRight"in j&&t(39,J=j.onWheelRight),"loadedProgress"in j&&t(11,S=j.loadedProgress),"filledProgress"in j&&t(12,I=j.filledProgress),"handleProgress"in j&&t(13,re=j.handleProgress),"ariaLabel"in j&&t(14,G=j.ariaLabel),"ariaValueMin"in j&&t(15,we=j.ariaValueMin),"ariaValueMax"in j&&t(16,se=j.ariaValueMax),"ariaValueNow"in j&&t(17,K=j.ariaValueNow),"ariaValueText"in j&&t(18,ne=j.ariaValueText)},i.$$.update=()=>{var j;i.$$.dirty[0]&65536&&t(40,ue=se!=null?se:0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=((j=v[v.length-1])==null?void 0:j.time)<ue),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=v.length&&n&&ue?Ce(S*100,I*100):[])},[r,l,s,a,c,f,d,g,T,_,A,S,I,re,G,we,se,K,ne,E,R,o,k,$,ze,Te,Le,Ee,v,b,B,oe,O,q,D,de,ae,Z,ce,J,ue,n,X]}class br extends ke{constructor(e){super(),_e(this,e,lp,op,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},tp,[-1,-1])}}const vn=(i,e)=>ko[i]>=ko[e],rp=(i,e)=>ko[i]<ko[e],yc=(i,e)=>ko[i]<=ko[e],sp=i=>i>mo.L?Bt.XL:i>mo.M?Bt.L:i>mo.S?Bt.M:i>mo.XS?Bt.S:Bt.XS;function ap(i){je(i,"v-1l78lz9",".volumeBar-container.v-1l78lz9{display:flex;align-items:center}.volumeBar-container.vertical.v-1l78lz9,.vertical.v-1l78lz9 .tooltip-wrapper,.vertical.v-1l78lz9 .btn{width:40px}.volumeBar.v-1l78lz9{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1l78lz9{padding:0 8px 0 0;width:0}")}function up(i){let e,t;return e=new kl({props:{volume:i[4],muted:i[2]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&16&&(r.volume=n[4]),o[0]&4&&(r.muted=n[2]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function cp(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],$$slots:{default:[up]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&1&&(r.disabled=!n[0]),o[0]&8&&(r.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(r.ariaLabel=n[7]),o[0]&2&&(r.click=n[1]),o[0]&20|o[1]&2&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function aa(i){let e,t,n;return t=new br({props:{className:i[3]?"volumeBar-slider-vertical":"",isHidden:i[3]&&!i[5],isVertical:i[3],withWheelHandler:!0,onWheelUp:i[14],onWheelDown:i[15],onPointerDown:i[13],onHandleMove:i[16],onPointerUp:i[17],onPointerEnter:i[3]?i[18]:Ge,onPointerLeave:i[3]?i[19]:Ge,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=w("div"),H(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),L(e,"volumeBar-vertical",i[3])},m(o,r){C(o,e,r),z(t,e,null),n=!0},p(o,r){const l={};r[0]&8&&(l.className=o[3]?"volumeBar-slider-vertical":""),r[0]&40&&(l.isHidden=o[3]&&!o[5]),r[0]&8&&(l.isVertical=o[3]),r[0]&8&&(l.onPointerEnter=o[3]?o[18]:Ge),r[0]&8&&(l.onPointerLeave=o[3]?o[19]:Ge),r[0]&256&&(l.ariaValueNow=Math.round(o[8]*100)),r[0]&256&&(l.ariaValueText=`${Math.round(o[8]*100)}%`),r[0]&256&&(l.filledProgress=o[8]),r[0]&256&&(l.handleProgress=o[8]),r[0]&8&&(l.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(l),(!n||r[0]&8)&&L(e,"volumeBar-vertical",o[3])},i(o){n||(h(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),F(t)}}}function fp(i){let e,t,n,o,r,l;t=new wc({props:{controlInfo:i[11],tooltipContent:i[6],initialTranslateYPx:-18,$$slots:{default:[cp]},$$scope:{ctx:i}}});let s=i[0]&&aa(i);return{c(){e=w("div"),H(t.$$.fragment),n=N(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),L(e,"vertical",i[3])},m(a,c){C(a,e,c),z(t,e,null),m(e,n),s&&s.m(e,null),o=!0,r||(l=[Pe(e,"mouseenter",function(){mn(i[3]?i[20]:Ge)&&(i[3]?i[20]:Ge).apply(this,arguments)}),Pe(e,"mouseleave",function(){mn(i[3]?i[21]:Ge)&&(i[3]?i[21]:Ge).apply(this,arguments)}),Pe(e,"wheel",ci(i[22]))],r=!0)},p(a,c){i=a;const f={};c[0]&64&&(f.tooltipContent=i[6]),c[0]&159|c[1]&2&&(f.$$scope={dirty:c,ctx:i}),t.$set(f),i[0]?s?(s.p(i,c),c[0]&1&&h(s,1)):(s=aa(i),s.c(),h(s,1),s.m(e,null)):s&&(he(),p(s,1,1,()=>{s=null}),pe()),(!o||c[0]&8)&&L(e,"vertical",i[3])},i(a){o||(h(t.$$.fragment,a),h(s),o=!0)},o(a){p(t.$$.fragment,a),p(s),o=!1},d(a){a&&y(e),F(t),s&&s.d(),r=!1,Qt(l)}}}function dp(i,e,t){let n,o,r,{isAudioAvailable:l=!0}=e,{click:s}=e;const a=Rt(),c=tn(),f=a.state.volume$;W(i,f,se=>t(4,n=se));const d=a.state.muted$;W(i,d,se=>t(24,r=se));const g=a.actions.internal.setVolume,v=a.ui.controls.volume,b=a.ui.currentGridType$;W(i,b,se=>t(23,o=se));let T=!1,_,A,E,V,B,oe,O=1,q=!1;function D(se){O=n,g(se)}function de(){dc(a,n,c.controls.volumeStepWheel)}function ae(){mc(a,n,c.controls.volumeStepWheel)}function Z(se){g(se)}function ce(se){const K=se;g(K,K===0?O:K)}function J(){q=!0}function S(){q=!1,G()}function I(){clearTimeout(_),t(5,T=!0)}function re(){G()}function G(){_=window.setTimeout(()=>{q||t(5,T=!1)},c.controls.volumeBarTimeout)}function we(se){se.deltaY<0?de():se.deltaY>0&&ae()}return i.$$set=se=>{"isAudioAvailable"in se&&t(0,l=se.isAudioAvailable),"click"in se&&t(1,s=se.click)},i.$$.update=()=>{i.$$.dirty[0]&16777217&&t(2,V=!l||r),i.$$.dirty[0]&8388608&&t(3,B=yc(o,Bt.S)),i.$$.dirty[0]&12&&(B?t(6,A=""):t(6,A=le(V?"tooltip_volume":"tooltip_volume_muted")),t(7,E=le(V?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,oe=V?0:n)},[l,s,V,B,n,T,A,E,oe,f,d,v,b,D,de,ae,Z,ce,J,S,I,re,we,o,r]}class mp extends ke{constructor(e){super(),_e(this,e,dp,fp,be,{isAudioAvailable:0,click:1},ap,[-1,-1])}}function hp(i){let e;return{c(){e=M("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function pp(i){let e;return{c(){e=M("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function vp(i){let e,t,n;function o(s,a){return s[0]?pp:hp}let r=o(i),l=r(i);return{c(){e=M("svg"),t=M("g"),l.c(),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(s,a){C(s,e,a),m(e,t),l.m(t,null)},p(s,[a]){r!==(r=o(s))&&(l.d(1),l=r(s),l&&(l.c(),l.m(t,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:U,o:U,d(s){s&&y(e),l.d()}}}function gp(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class bp extends ke{constructor(e){super(),_e(this,e,gp,vp,be,{isFullscreen:0})}}function _p(i){let e,t;return e=new bp({props:{isFullscreen:i[0]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&1&&(r.isFullscreen=n[0]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function kp(i){let e,t;return e=new fi({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],$$slots:{default:[_p]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const r={};o&4&&(r.ariaLabel=n[2]),o&2&&(r.click=n[1]),o&9&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function wp(i,e,t){let{isFullscreen:n=!1}=e,{click:o=Ge}=e,r;return i.$$set=l=>{"isFullscreen"in l&&t(0,n=l.isFullscreen),"click"in l&&t(1,o=l.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=le(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,r]}class Cc extends ke{constructor(e){super(),_e(this,e,wp,kp,be,{isFullscreen:0,click:1})}}function yp(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class _r extends ke{constructor(e){super(),_e(this,e,null,yp,be,{})}}function Cp(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class Pc extends ke{constructor(e){super(),_e(this,e,null,Cp,be,{})}}function Pp(i){je(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function ua(i){let e;return{c(){e=w("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function Tp(i){let e,t,n,o,r=i[1]&&ua();var l=i[6];function s(a){return{}}return l&&(n=Ln(l,s())),{c(){r&&r.c(),e=N(),t=w("div"),n&&H(n.$$.fragment),u(t,"class","v-1ot3duq"),L(t,"mobile",i[1])},m(a,c){r&&r.m(a,c),C(a,e,c),C(a,t,c),n&&z(n,t,null),o=!0},p(a,c){if(a[1]?r||(r=ua(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),c&64&&l!==(l=a[6])){if(n){he();const f=n;p(f.$$.fragment,1,0,()=>{F(f,1)}),pe()}l?(n=Ln(l,s()),H(n.$$.fragment),h(n.$$.fragment,1),z(n,t,null)):n=null}(!o||c&2)&&L(t,"mobile",a[1])},i(a){o||(n&&h(n.$$.fragment,a),o=!0)},o(a){n&&p(n.$$.fragment,a),o=!1},d(a){a&&(y(e),y(t)),r&&r.d(a),n&&F(n)}}}function Sp(i){let e,t,n;function o(l){i[8](l)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-play",click:i[4],disabled:i[2],ariaLabel:i[5],$$slots:{default:[Tp]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new fi({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,[s]){const a={};s&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),s&16&&(a.click=l[4]),s&4&&(a.disabled=l[2]),s&32&&(a.ariaLabel=l[5]),s&578&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Ep(i,e,t){let n,{ref:o=void 0}=e,{isMobile:r=!1}=e,{isPlaying:l=!1}=e,{disabled:s=!1}=e,{className:a=""}=e,{click:c=Ge}=e,f;function d(g){o=g,t(0,o)}return i.$$set=g=>{"ref"in g&&t(0,o=g.ref),"isMobile"in g&&t(1,r=g.isMobile),"isPlaying"in g&&t(7,l=g.isPlaying),"disabled"in g&&t(2,s=g.disabled),"className"in g&&t(3,a=g.className),"click"in g&&t(4,c=g.click)},i.$$.update=()=>{i.$$.dirty&128&&t(5,f=le(l?"tooltip_pause":"tooltip_play")),i.$$.dirty&128&&t(6,n=l?Pc:_r)},[o,r,s,a,c,f,n,l,d]}class kr extends ke{constructor(e){super(),_e(this,e,Ep,Sp,be,{ref:0,isMobile:1,isPlaying:7,disabled:2,className:3,click:4},Pp)}}function Ap(i){je(i,"v-mb3pjo",".prev.v-mb3pjo{transform:scaleX(-1)}.mobile.v-mb3pjo{transform:scale(1.3333)}.mobile.prev.v-mb3pjo{transform:scaleX(-1) scale(1.3333)}")}function Ip(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),u(t,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(t,"fill","#fff"),u(e,"data-testid",n=i[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),L(e,"prev",i[0]),L(e,"mobile",i[1])},m(o,r){C(o,e,r),m(e,t)},p(o,[r]){r&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),r&1&&L(e,"prev",o[0]),r&2&&L(e,"mobile",o[1])},i:U,o:U,d(o){o&&y(e)}}}function Lp(i,e,t){let{isPrev:n=!1}=e,{isMobile:o=!1}=e;return i.$$set=r=>{"isPrev"in r&&t(0,n=r.isPrev),"isMobile"in r&&t(1,o=r.isMobile)},[n,o]}class Vp extends ke{constructor(e){super(),_e(this,e,Lp,Ip,be,{isPrev:0,isMobile:1},Ap)}}function Mp(i){let e,t;return e=new Vp({props:{isMobile:i[1],isPrev:i[3]==="prev"}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isMobile=n[1]),o&8&&(r.isPrev=n[3]==="prev"),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Bp(i){let e,t,n;function o(l){i[6](l)}let r={testId:"btn-"+i[3],disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[Mp]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new fi({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,[s]){const a={};s&8&&(a.testId="btn-"+l[3]),s&4&&(a.disabled=l[2]),s&32&&(a.ariaLabel=l[5]),s&16&&(a.click=l[4]),s&138&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Rp(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:r=!1}=e,{type:l}=e,{click:s}=e,a;function c(f){n=f,t(0,n)}return i.$$set=f=>{"ref"in f&&t(0,n=f.ref),"isMobile"in f&&t(1,o=f.isMobile),"disabled"in f&&t(2,r=f.disabled),"type"in f&&t(3,l=f.type),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=le(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,r,l,s,a,c]}class wl extends ke{constructor(e){super(),_e(this,e,Rp,Bp,be,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function Np(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class Op extends ke{constructor(e){super(),_e(this,e,null,Np,be,{})}}function ca(i){let e,t,n,o,r,l,s;return{c(){e=M("path"),t=M("path"),n=M("path"),o=M("path"),r=M("path"),l=M("path"),s=M("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(t,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(t,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"fill","white"),u(r,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(r,"fill","white"),u(l,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(l,"fill","white"),u(s,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(s,"fill","white")},m(a,c){C(a,e,c),C(a,t,c),C(a,n,c),C(a,o,c),C(a,r,c),C(a,l,c),C(a,s,c)},d(a){a&&(y(e),y(t),y(n),y(o),y(r),y(l),y(s))}}}function Dp(i){let e,t,n,o=!i[0]&&ca();return{c(){e=M("svg"),t=M("path"),o&&o.c(),u(t,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(t,"fill","white"),u(e,"width",i[1]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(i[1]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",i[2])},m(r,l){C(r,e,l),m(e,t),o&&o.m(e,null)},p(r,[l]){r[0]?o&&(o.d(1),o=null):o||(o=ca(),o.c(),o.m(e,null)),l&2&&u(e,"width",r[1]),l&2&&n!==(n="0 0 "+(r[1]+1)+" 20")&&u(e,"viewBox",n),l&4&&u(e,"data-testid",r[2])},i:U,o:U,d(r){r&&y(e),o&&o.d()}}}function zp(i,e,t){let{short:n=!1}=e,o,r;return i.$$set=l=>{"short"in l&&t(0,n=l.short)},i.$$.update=()=>{i.$$.dirty&1&&(t(1,o=n?20:93),t(2,r=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,r]}class Fp extends ke{constructor(e){super(),_e(this,e,zp,Dp,be,{short:0})}}function Hp(i){let e,t;return e=new Op({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p:U,i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Up(i){let e,t;return e=new Fp({props:{short:i[4]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.short=n[4]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function jp(i){let e,t,n,o;const r=[Up,Hp],l=[];function s(a,c){return a[2]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=Tt()},m(a,c){l[e].m(a,c),C(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),p(l[f],1,1,()=>{l[f]=null}),pe(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),h(t,1),t.m(n.parentNode,n))},i(a){o||(h(t),o=!0)},o(a){p(t),o=!1},d(a){a&&y(n),l[e].d(a)}}}function qp(i){let e,t,n;function o(l){i[13](l)}let r={className:"btn-full-opacity",disabled:!i[1],click:i[8],testId:i[2]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:i[3],$$slots:{default:[jp]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new fi({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.disabled=!l[1]),s&4&&(a.testId=l[2]?"btn-vk-video-logo":"btn-vk-logo"),s&8&&(a.ariaLabel=l[3]),s&524308&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Zp(i,e,t){let n,o,r,{ref:l=void 0}=e,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=tn(),{logoLink:d,addTimeToLogoLink:g}=f,v=Rt(),b=v.state.positionWithScrubbing$;W(i,b,O=>t(14,n=O));const T=v.ui.currentGridType$;W(i,T,O=>t(11,o=O));const _=v.ui.isMobile;W(i,_,O=>t(12,r=O));let A,E,V;const B=()=>{let O;if(E||!a)O=d;else{const q=Math.round(n);if(g&&q){const D=new URL(a);D.searchParams.append("t",Mf(q)),O=D.toString()}else O=a}c(),window.open(O,"_blank")};function oe(O){l=O,t(0,l)}return i.$$set=O=>{"ref"in O&&t(0,l=O.ref),"logoClickable"in O&&t(1,s=O.logoClickable),"videoLogoUrl"in O&&t(9,a=O.videoLogoUrl),"click"in O&&t(10,c=O.click)},i.$$.update=()=>{i.$$.dirty&6148&&t(4,V=(r||yc(o,Bt.L))&&E)},t(3,A=f.logoType===_o.VK_VIDEO?le("tooltip_vk_video_logo"):le("tooltip_vk_logo")),t(2,E=f.logoType===_o.VK_VIDEO),[l,s,E,A,V,b,T,_,B,a,c,o,r,oe]}class Tc extends ke{constructor(e){super(),_e(this,e,Zp,qp,be,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function Wp(i){je(i,"v-8z1bf5",".connecting.v-8z1bf5 .wave.v-8z1bf5{animation-duration:1s;animation-iteration-count:infinite}.connecting.v-8z1bf5 .wave1.v-8z1bf5{animation-name:v-8z1bf5-wave1}.connecting.v-8z1bf5 .wave2.v-8z1bf5{animation-name:v-8z1bf5-wave2}.connecting.v-8z1bf5 .wave3.v-8z1bf5{animation-name:v-8z1bf5-wave3}@keyframes v-8z1bf5-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function Gp(i){let e,t,n,o,r,l,s,a;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),r=M("path"),l=M("path"),s=M("path"),a=M("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(r,"class","wave wave3 v-8z1bf5"),u(r,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(r,"fill","#fff"),u(l,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(l,"fill","#fff"),u(s,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),L(a,"hidden",!i[1]),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-icon"),u(e,"class","v-8z1bf5"),L(e,"connecting",i[2])},m(c,f){C(c,e,f),m(e,t),m(t,n),m(t,o),m(t,r),m(t,l),m(t,s),m(t,a)},p(c,f){f&2&&L(a,"hidden",!c[1]),f&4&&L(e,"connecting",c[2])},d(c){c&&y(e)}}}function Yp(i){let e,t,n,o,r,l,s,a,c,f,d,g,v,b,T,_,A,E,V,B,oe;return{c(){e=M("svg"),t=M("g"),n=M("mask"),o=M("path"),l=M("path"),s=M("path"),c=M("path"),f=M("defs"),d=M("clipPath"),g=M("path"),b=M("filter"),T=M("feFlood"),_=M("feColorMatrix"),A=M("feOffset"),E=M("feGaussianBlur"),V=M("feColorMatrix"),B=M("feBlend"),oe=M("feBlend"),u(o,"fill",r=i[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(s,"fill",a=i[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(g,"fill",v=i[1]?"#2688EB":"#fff"),u(g,"d","M0 0h24v24H0z"),u(d,"id","a"),u(T,"flood-opacity","0"),u(T,"result","BackgroundImageFix"),u(_,"in","SourceAlpha"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(_,"result","hardAlpha"),u(E,"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_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(O,q){C(O,e,q),m(e,t),m(t,n),m(n,o),m(n,l),m(t,s),m(t,c),m(e,f),m(f,d),m(d,g),m(f,b),m(b,T),m(b,_),m(b,A),m(b,E),m(b,V),m(b,B),m(b,oe)},p(O,q){q&2&&r!==(r=O[1]?"#2688EB":"#fff")&&u(o,"fill",r),q&2&&a!==(a=O[1]?"#2688EB":"#fff")&&u(s,"fill",a),q&2&&v!==(v=O[1]?"#2688EB":"#fff")&&u(g,"fill",v)},d(O){O&&y(e)}}}function Kp(i){let e;function t(r,l){return r[0]?Yp:Gp}let n=t(i),o=n(i);return{c(){o.c(),e=Tt()},m(r,l){o.m(r,l),C(r,e,l)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:U,o:U,d(r){r&&y(e),o.d(r)}}}function Xp(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,r,l;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"state"in s&&t(3,o=s.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,l=o===In.CONNECTING),t(1,r=o===In.CONNECTED))},[n,r,l,o]}class Qp extends ke{constructor(e){super(),_e(this,e,Xp,Kp,be,{isMobile:0,state:3},Wp)}}function Jp(i){let e,t;return e=new Qp({props:{isMobile:i[1],state:i[2]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isMobile=n[1]),o&4&&(r.state=n[2]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function xp(i){let e,t,n;function o(l){i[5](l)}let r={ariaLabel:i[4],click:i[3],testId:"btn-chromecast",$$slots:{default:[Jp]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new fi({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,[s]){const a={};s&16&&(a.ariaLabel=l[4]),s&8&&(a.click=l[3]),s&70&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function $p(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{state:r}=e,{click:l=Ge}=e,s;function a(c){n=c,t(0,n)}return i.$$set=c=>{"ref"in c&&t(0,n=c.ref),"isMobile"in c&&t(1,o=c.isMobile),"state"in c&&t(2,r=c.state),"click"in c&&t(3,l=c.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,s=r===In.CONNECTED?le("tooltip_chromecast_on"):le("tooltip_chromecast_off"))},[n,o,r,l,s,a]}class Sc extends ke{constructor(e){super(),_e(this,e,$p,xp,be,{ref:0,isMobile:1,state:2,click:3})}}function ev(i){let e,t;return e=new sc({props:{isActive:i[1]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isActive=n[1]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function tv(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],ariaLabel:i[3],click:i[2],$$slots:{default:[ev]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(r.testId=n[1]?"btn-live":"btn-live-offset"),o&2&&(r.disabled=n[1]),o&8&&(r.ariaLabel=n[3]),o&4&&(r.click=n[2]),o&18&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function iv(i,e,t){let{isMobile:n=!1}=e,{isActiveLive:o=!1}=e,{click:r}=e,l;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"isActiveLive"in s&&t(1,o=s.isActiveLive),"click"in s&&t(2,r=s.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,l=o?"":le("tooltip_live"))},[n,o,r,l]}class Ec extends ke{constructor(e){super(),_e(this,e,iv,tv,be,{isMobile:0,isActiveLive:1,click:2})}}function nv(i){je(i,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function ov(i){let e,t,n,o;const r=i[9].default,l=Fn(r,i,i[8],null);return{c(){e=w("div"),t=w("div"),l&&l.c(),u(t,"class","tooltip v-5ygsa2"),L(t,"active",i[0]),L(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(s,a){C(s,e,a),m(e,t),l&&l.m(t,null),i[10](t),i[11](e),o=!0},p(s,[a]){l&&l.p&&(!o||a&256)&&Un(l,r,s,s[8],o?Hn(r,s[8],a,null):jn(s[8]),null),(!o||a&1)&&L(t,"active",s[0]),(!o||a&2)&&L(t,"pointer",s[1]),(!o||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){o||(h(l,s),o=!0)},o(s){p(l,s),o=!1},d(s){s&&y(e),l&&l.d(s),i[10](null),i[11](null)}}}function lv(i,e,t){let n,{$$slots:o={},$$scope:r}=e,{active:l=!1}=e,{pointer:s=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,d,g;function v(_){if(!g)return 0;const{width:A}=g.getBoundingClientRect(),E=A/2;return _<E?E:_>f-E?f-E:_}function b(_){Ve[_?"unshift":"push"](()=>{g=_,t(4,g)})}function T(_){Ve[_?"unshift":"push"](()=>{d=_,t(3,d)})}return i.$$set=_=>{"active"in _&&t(0,l=_.active),"pointer"in _&&t(1,s=_.pointer),"translateXPx"in _&&t(6,a=_.translateXPx),"translateYPx"in _&&t(2,c=_.translateYPx),"containerWidth"in _&&t(7,f=_.containerWidth),"$$scope"in _&&t(8,r=_.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=v(a))},[l,s,c,d,g,n,a,f,r,o,b,T]}class rv extends ke{constructor(e){super(),_e(this,e,lv,ov,be,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},nv)}}const Ac=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function sv(i){je(i,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function fa(i){let e;function t(r,l){return r[2]&&r[10].completed===!1?uv:av}let n=t(i),o=n(i);return{c(){o.c(),e=Tt()},m(r,l){o.m(r,l),C(r,e,l)},p(r,l){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},d(r){r&&y(e),o.d(r)}}}function av(i){let e=(i[10].text||"")+"",t;return{c(){t=Ue(e)},m(n,o){C(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&it(t,e)},d(n){n&&y(t)}}}function uv(i){let e=le("tooltip_episode_unfinished")+"",t;return{c(){t=Ue(e)},m(n,o){C(n,t,o)},p:U,d(n){n&&y(t)}}}function cv(i){let e,t,n,o,r,l,s,a,c=i[10]&&fa(i);return{c(){e=w("div"),t=w("div"),o=N(),r=w("div"),c&&c.c(),l=N(),s=w("div"),a=Ue(i[0]),u(t,"class","preview v-l51fc1"),u(t,"style",n=`width: ${i[3]}px; height: ${i[4]}px; background-image: url(${i[5]}); background-size: ${i[6]}px ${i[7]}px; background-position: ${i[8]}px ${i[9]}px; transform: translateY(${i[11]%180?-35:0}px) rotate(${i[11]}deg);`),u(r,"class","episode v-l51fc1"),u(s,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),L(e,"mobile",i[1])},m(f,d){C(f,e,d),m(e,t),m(e,o),m(e,r),c&&c.m(r,null),m(e,l),m(e,s),m(s,a)},p(f,[d]){d&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(t,"style",n),f[10]?c?c.p(f,d):(c=fa(f),c.c(),c.m(r,null)):c&&(c.d(1),c=null),d&1&&it(a,f[0]),d&2&&L(e,"mobile",f[1])},i:U,o:U,d(f){f&&y(e),c&&c.d()}}}const uo=150;function fv(i,e,t){let n,{time:o=""}=e,{isMobile:r=!1}=e,{videoEpisodes:l=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const g=Rt().ui.rotateAlpha;W(i,g,q=>t(11,n=q));let v,b,T,_,A,E,V,B;function oe(){let q=s.frameWidth,D=s.frameHeight;return q>uo?(D=D/q*uo,q=uo):D>uo&&(q=q/D*uo,D=uo),{width:q,height:D}}function O(q){let D;s.isUV?D=Math.floor(c*q/s.frequency):D=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*q)));const de=Math.floor(D/s.countPerImage),ae=Math.floor(D%s.countPerImage/s.countPerRow),Z=D%s.countPerRow;let ce=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&de===Math.floor(s.countTotal/s.countPerImage)&&(ce=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&ce++);let J=s.countPerRow;!s.isUV&&de===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(J=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const S=v*J,I=b*ce,re=-Z*v,G=-ae*b;return{imgSrc:s.links[de],imgWidth:S,imgHeight:I,imgOffsetX:re,imgOffsetY:G}}return i.$$set=q=>{"time"in q&&t(0,o=q.time),"isMobile"in q&&t(1,r=q.isMobile),"videoEpisodes"in q&&t(13,l=q.videoEpisodes),"previewThumbsData"in q&&t(14,s=q.previewThumbsData),"progress"in q&&t(15,a=q.progress),"duration"in q&&t(16,c=q.duration),"isInteractive"in q&&t(2,f=q.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:T,imgWidth:_,imgHeight:A,imgOffsetX:E,imgOffsetY:V}=O(a),T,(t(6,_),t(15,a)),(t(7,A),t(15,a)),(t(8,E),t(15,a)),(t(9,V),t(15,a))),i.$$.dirty&106496&&t(10,B=Ac(a,c,l))},t(3,{width:v,height:b}=oe(),v,t(4,b)),[o,r,f,v,b,T,_,A,E,V,B,n,g,l,s,a,c]}class dv extends ke{constructor(e){super(),_e(this,e,fv,cv,be,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},sv)}}function mv(i){je(i,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function hv(i){let e,t;return{c(){e=w("span"),t=Ue(i[7]),u(e,"class","time v-5lzly8")},m(n,o){C(n,e,o),m(e,t)},p(n,o){o[0]&128&&it(t,n[7])},i:U,o:U,d(n){n&&y(e)}}}function pv(i){let e,t;return e=new dv({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&128&&(r.time=n[7]),o[0]&1024&&(r.isMobile=n[10]),o[0]&8&&(r.videoEpisodes=n[3]),o[0]&256&&(r.progress=n[8]),o[0]&2&&(r.duration=n[1]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function vv(i){let e,t,n,o;const r=[pv,hv],l=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=Tt()},m(a,c){l[e].m(a,c),C(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),p(l[f],1,1,()=>{l[f]=null}),pe(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),h(t,1),t.m(n.parentNode,n))},i(a){o||(h(t),o=!0)},o(a){p(t),o=!1},d(a){a&&y(n),l[e].d(a)}}}function gv(i){let e,t,n,o;const r=[i[9]];let l={$$slots:{default:[vv]},$$scope:{ctx:i}};for(let s=0;s<r.length;s+=1)l=tu(l,r[s]);return e=new rv({props:l}),n=new br({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:le("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:le("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(bt.TIMELINE),hideHandel:i[2]}}),{c(){H(e.$$.fragment),t=N(),H(n.$$.fragment)},m(s,a){z(e,s,a),C(s,t,a),z(n,s,a),o=!0},p(s,a){const c=a[0]&512?n0(r,[o0(s[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:s}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=s[11]),a[0]&1024&&(f.isMobile=s[10]),a[0]&2&&(f.ariaValueMax=s[1]),a[0]&64&&(f.ariaValueNow=Math.round(s[6]*100)),a[0]&48&&(f.ariaValueText=le("aria_timeline_value",{position:s[5],duration:s[4]})),a[0]&4096&&(f.loadedProgress=s[12]),a[0]&64&&(f.filledProgress=s[6]),a[0]&64&&(f.handleProgress=s[6]),a[0]&8&&(f.videoEpisodes=s[3]),a[0]&8192&&(f.disabled=s[13].has(bt.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){o||(h(e.$$.fragment,s),h(n.$$.fragment,s),o=!0)},o(s){p(e.$$.fragment,s),p(n.$$.fragment,s),o=!1},d(s){s&&y(t),F(e,s),F(n,s)}}}function bv(i,e,t){let n,o,r,l,s,a,c,f,d,g,v,{showTimeline:b=!1}=e;const T=Rt(),_=tn(),A=T.state.bufferedProgress$;W(i,A,X=>t(12,g=X));const E=T.state.positionWithScrubbing$;W(i,E,X=>t(39,a=X));const V=T.state.duration$;W(i,V,X=>t(1,r=X));const B=T.state.isLive$;W(i,B,X=>t(0,o=X));const oe=T.state.isActiveLive$;W(i,oe,X=>t(11,d=X));const O=T.ui.isMobile;W(i,O,X=>t(10,f=X));const q=_.features.episodes?T.actions.internal.getVideoEpisodes():void 0,D=T.actions.internal.getPreviewThumbsData(),de=T.state.interactiveEpisodes$;W(i,de,X=>t(40,c=X));const ae=T.state.isInteractive,Z=T.state.isInteractiveTime$;W(i,Z,X=>t(2,l=X));const ce=T.state.isInteractiveExpectation$;W(i,ce,X=>t(38,s=X));const J=T.actions.internal.correctSeekTimeToInteractive,S=T.ui.controls.disabledControls$;W(i,S,X=>t(13,v=X));let I,re,G,we,se=!1,K="",ne=0,Be=0,R=0,ue;function k(X){return!J||!ae?X:J(X*r)/r}function $(X){T.actions.internal.startScrubbing(k(X))}function ze(X){l||T.actions.internal.progressScrubbing(k(X))}function Te(X){T.actions.internal.completeScrubbing(k(X)),t(34,se=!1)}function Le(X,j,Fe){Se(X,j,Fe),t(34,se=!0)}function Ee(X,j,Fe){Se(X,j,Fe),t(34,se=!0)}function ge(){t(34,se=!1)}function Se(X,j,Fe){t(8,R=X),t(35,ne=j),Fe&&t(36,Be=Fe),t(7,K=Ce(X))}function Ce(X){const j=An((o?1-X:X)*r);return o?`-${j}`:j}return i.$$set=X=>{"showTimeline"in X&&t(33,b=X.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,I=ae?c:q),i.$$.dirty[0]&2&&t(4,re=An(r)),i.$$.dirty[1]&256&&t(5,G=An(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,we=a/r),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,ue=s||l),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:Be,translateXPx:ne,translateYPx:ae&&D?-36:-16,active:se&&b&&!ue,pointer:!_.features.timelinePreview||!D||o})},[o,r,l,I,re,G,we,K,R,n,f,d,g,v,_,A,E,V,B,oe,O,D,de,ae,Z,ce,S,$,ze,Te,Le,Ee,ge,b,se,ne,Be,ue,s,a,c]}let _v=class extends ke{constructor(e){super(),_e(this,e,bv,gv,be,{showTimeline:33},mv,[-1,-1])}};function kv(i){let e,t;return e=new br({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:le("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.ariaValueMax=n[0]),o&8&&(r.ariaValueNow=Math.round(n[3]*100)),o&6&&(r.ariaValueText=le("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(r.filledProgress=n[3]),o&16&&(r.squareBorders=n[4]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function wv(i,e,t){let n,{position:o=0}=e,{duration:r=0}=e;const s=Rt().ui.isMobile;W(i,s,d=>t(4,n=d));let a,c,f;return i.$$set=d=>{"position"in d&&t(6,o=d.position),"duration"in d&&t(0,r=d.duration)},i.$$.update=()=>{i.$$.dirty&1&&t(1,a=An(r)),i.$$.dirty&64&&t(2,c=An(o)),i.$$.dirty&65&&t(3,f=o/r)},[r,a,c,f,n,s,o]}class Ic extends ke{constructor(e){super(),_e(this,e,wv,kv,be,{position:6,duration:0})}}function yv(i){je(i,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function Cv(i){let e;return{c(){e=w("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:U,o:U,d(t){t&&y(e)}}}function Pv(i){let e,t,n,o;const r=[Sv,Tv],l=[];function s(a,c){return a[0]?0:1}return t=s(i),n=l[t]=r[t](i),{c(){e=w("div"),n.c(),u(e,"class","timeline v-1gqonyf"),L(e,"mobile",i[2])},m(a,c){C(a,e,c),l[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?l[t].p(a,c):(he(),p(l[f],1,1,()=>{l[f]=null}),pe(),n=l[t],n?n.p(a,c):(n=l[t]=r[t](a),n.c()),h(n,1),n.m(e,null)),(!o||c&4)&&L(e,"mobile",a[2])},i(a){o||(h(n),o=!0)},o(a){p(n),o=!1},d(a){a&&y(e),l[t].d()}}}function Tv(i){let e,t;return e=new _v({props:{showTimeline:i[1]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.showTimeline=n[1]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Sv(i){let e,t;return e=new Ic({props:{position:i[3],duration:i[4]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&8&&(r.position=n[3]),o&16&&(r.duration=n[4]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ev(i){let e,t,n,o;const r=[Pv,Cv],l=[];function s(a,c){return a[1]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=Tt()},m(a,c){l[e].m(a,c),C(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),p(l[f],1,1,()=>{l[f]=null}),pe(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),h(t,1),t.m(n.parentNode,n))},i(a){o||(h(t),o=!0)},o(a){p(t),o=!1},d(a){a&&y(n),l[e].d(a)}}}function Av(i,e,t){let n,o,r,l,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const d=Rt(),g=d.state.isLive$;W(i,g,A=>t(12,n=A));const v=d.ads.duration;W(i,v,A=>t(4,l=A));const b=d.ads.position;W(i,b,A=>t(3,r=A));const T=d.ui.isMobile;W(i,T,A=>t(2,o=A));let _;return i.$$set=A=>{"isAds"in A&&t(0,s=A.isAds),"canRewindLive"in A&&t(9,a=A.canRewindLive),"isRewindableLive"in A&&t(10,c=A.isRewindableLive),"isHidden"in A&&t(11,f=A.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,_=!f&&(!n||n&&a&&c||s))},[s,_,o,r,l,g,v,b,T,a,c,f,n]}class Lc extends ke{constructor(e){super(),_e(this,e,Av,Ev,be,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},yv)}}function Iv(i){let e,t,n,o;return{c(){e=M("svg"),t=M("path"),n=M("path"),o=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(o,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),Ht(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(r,l){C(r,e,l),m(e,t),m(e,n),m(e,o)},p:U,i:U,o:U,d(r){r&&y(e)}}}class Lv extends ke{constructor(e){super(),_e(this,e,null,Iv,be,{})}}function Vv(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"opacity",".7"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(t,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class Mv extends ke{constructor(e){super(),_e(this,e,null,Vv,be,{})}}function Bv(i){je(i,"v-1yhs2ga",".text.v-1yhs2ga{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text.count.v-1yhs2ga{overflow:visible}.text.mobile.v-1yhs2ga{padding:0 3px 0 4px}.chevron-episodes.v-1yhs2ga{margin-bottom:-4px}")}function Rv(i){let e,t,n,o;e=new Lv({});function r(a,c){if(a[2]===Qn.FULL)return Dv;if(a[2]===Qn.COUNT)return Ov}let l=r(i),s=l&&l(i);return{c(){H(e.$$.fragment),t=N(),s&&s.c(),n=Tt()},m(a,c){z(e,a,c),C(a,t,c),s&&s.m(a,c),C(a,n,c),o=!0},p(a,c){l===(l=r(a))&&s?s.p(a,c):(s&&s.d(1),s=l&&l(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){o||(h(e.$$.fragment,a),o=!0)},o(a){p(e.$$.fragment,a),o=!1},d(a){a&&(y(t),y(n)),F(e,a),s&&s.d(a)}}}function Nv(i){let e,t,n,o,r,l;return r=new Mv({}),{c(){e=w("span"),t=Ue(i[1]),n=N(),o=w("div"),H(r.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(s,a){C(s,e,a),m(e,t),C(s,n,a),C(s,o,a),z(r,o,null),l=!0},p(s,a){(!l||a&2)&&it(t,s[1])},i(s){l||(h(r.$$.fragment,s),l=!0)},o(s){p(r.$$.fragment,s),l=!1},d(s){s&&(y(e),y(n),y(o)),F(r)}}}function Ov(i){let e,t=i[0].length+"",n;return{c(){e=w("span"),n=Ue(t),u(e,"class","text count v-1yhs2ga")},m(o,r){C(o,e,r),m(e,n)},p(o,r){r&1&&t!==(t=o[0].length+"")&&it(n,t)},d(o){o&&y(e)}}}function Dv(i){let e,t;return{c(){e=w("span"),t=Ue(i[1]),u(e,"class","text v-1yhs2ga")},m(n,o){C(n,e,o),m(e,t)},p(n,o){o&2&&it(t,n[1])},d(n){n&&y(e)}}}function zv(i){let e,t,n,o;const r=[Nv,Rv],l=[];function s(a,c){return a[4]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=Tt()},m(a,c){l[e].m(a,c),C(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),p(l[f],1,1,()=>{l[f]=null}),pe(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),h(t,1),t.m(n.parentNode,n))},i(a){o||(h(t),o=!0)},o(a){p(t),o=!1},d(a){a&&y(n),l[e].d(a)}}}function Fv(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:[zv]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const r={};o&16&&(r.className="w-max btn-full-opacity "+(n[4]?"px-0":"")),o&8&&(r.ariaLabel=n[3]),o&65559&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Hv(i,e,t){var V,B,oe,O,q;let n,o,r,l,{position:s=0}=e,{duration:a=0}=e,{timeCodes:c=[]}=e;const f=Rt(),d=(B=(V=f.callbacks)==null?void 0:V.onEpisodeChanged)!=null?B:Ge,g=(O=(oe=f.callbacks)==null?void 0:oe.onEpisodeClicked)!=null?O:Ge,v=!!((q=f.callbacks)!=null&&q.onEpisodeClicked),b=f.ui.currentGridType$;W(i,b,D=>t(13,r=D));const T=f.ui.isMobile;W(i,T,D=>t(4,l=D));let _,A,E;return i.$$set=D=>{"position"in D&&t(9,s=D.position),"duration"in D&&t(10,a=D.duration),"timeCodes"in D&&t(0,c=D.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&1536&&t(12,n=s/a),i.$$.dirty&7169){const D=Ac(n,a,c);D&&(_==null?void 0:_.text)!==D.text&&(d(D),t(11,_=D))}i.$$.dirty&2048&&t(1,o=(_==null?void 0:_.text)||""),i.$$.dirty&8192&&(vn(r,Bt.XL)?t(2,A=Qn.FULL):vn(r,Bt.M)&&rp(r,Bt.XL)?t(2,A=Qn.COUNT):t(2,A=Qn.SHORT)),i.$$.dirty&2&&t(3,E=`${le("tooltip_episodes")}: ${o}`)},[c,o,A,E,l,g,v,b,T,s,a,_,n,r]}class Vc extends ke{constructor(e){super(),_e(this,e,Hv,Fv,be,{position:9,duration:10,timeCodes:0},Bv)}}function Uv(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(t,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,r){C(o,e,r),m(e,t),m(e,n)},p:U,i:U,o:U,d(o){o&&y(e)}}}class jv extends ke{constructor(e){super(),_e(this,e,null,Uv,be,{})}}function qv(i){let e,t;return e=new jv({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Zv(i){let e,t,n;function o(l){i[4](l)}let r={className:i[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:le("tooltip_interactive_seek"),disabled:i[2],click:i[3],$$slots:{default:[qv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new fi({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"hidden":""),s&4&&(a.disabled=l[2]),s&8&&(a.click=l[3]),s&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Wv(i,e,t){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:r=!1}=e,{click:l}=e;function s(a){n=a,t(0,n)}return i.$$set=a=>{"ref"in a&&t(0,n=a.ref),"hidden"in a&&t(1,o=a.hidden),"disabled"in a&&t(2,r=a.disabled),"click"in a&&t(3,l=a.click)},[n,o,r,l,s]}class Mc extends ke{constructor(e){super(),_e(this,e,Wv,Zv,be,{ref:0,hidden:1,disabled:2,click:3})}}function Gv(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),L(n,"hidden",!i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){C(o,e,r),m(e,t),m(e,n)},p(o,[r]){r&1&&L(n,"hidden",!o[0])},i:U,o:U,d(o){o&&y(e)}}}function Yv(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class Kv extends ke{constructor(e){super(),_e(this,e,Yv,Gv,be,{isOpened:0})}}function Xv(i){let e,t;return e=new Kv({props:{isOpened:i[3]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&8&&(r.isOpened=n[3]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Qv(i){let e,t,n;function o(l){i[6](l)}let r={className:i[1]?"hidden":"",testId:"btn-graph",disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[Xv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new fi({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"hidden":""),s&4&&(a.disabled=l[2]),s&32&&(a.ariaLabel=l[5]),s&16&&(a.click=l[4]),s&136&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Jv(i,e,t){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:r=!1}=e,{graphIsOpened:l=!1}=e,{click:s}=e,a;function c(f){n=f,t(0,n)}return i.$$set=f=>{"ref"in f&&t(0,n=f.ref),"hidden"in f&&t(1,o=f.hidden),"disabled"in f&&t(2,r=f.disabled),"graphIsOpened"in f&&t(3,l=f.graphIsOpened),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=le(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,r,l,s,a,c]}class Bc extends ke{constructor(e){super(),_e(this,e,Jv,Qv,be,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function xv(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class $v extends ke{constructor(e){super(),_e(this,e,null,xv,be,{})}}function e5(i){je(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function da(i){let e;return{c(){e=w("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function t5(i){let e,t,n,o,r=i[1]&&da();return n=new $v({}),{c(){r&&r.c(),e=N(),t=w("div"),H(n.$$.fragment),u(t,"class","v-1ot3duq"),L(t,"mobile",i[1])},m(l,s){r&&r.m(l,s),C(l,e,s),C(l,t,s),z(n,t,null),o=!0},p(l,s){l[1]?r||(r=da(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),(!o||s&2)&&L(t,"mobile",l[1])},i(l){o||(h(n.$$.fragment,l),o=!0)},o(l){p(n.$$.fragment,l),o=!1},d(l){l&&(y(e),y(t)),r&&r.d(l),F(n)}}}function i5(i){let e,t,n;function o(l){i[5](l)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-replay",ariaLabel:le("tooltip_restart"),disabled:i[2],click:i[4],$$slots:{default:[t5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new fi({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,[s]){const a={};s&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),s&4&&(a.disabled=l[2]),s&16&&(a.click=l[4]),s&66&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function n5(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:r=!1}=e,{className:l=""}=e,{click:s=Ge}=e;function a(c){n=c,t(0,n)}return i.$$set=c=>{"ref"in c&&t(0,n=c.ref),"isMobile"in c&&t(1,o=c.isMobile),"disabled"in c&&t(2,r=c.disabled),"className"in c&&t(3,l=c.className),"click"in c&&t(4,s=c.click)},[n,o,r,l,s,a]}class wr extends ke{constructor(e){super(),_e(this,e,n5,i5,be,{ref:0,isMobile:1,disabled:2,className:3,click:4},e5)}}function o5(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class l5 extends ke{constructor(e){super(),_e(this,e,null,o5,be,{})}}function r5(i){let e,t;return e=new l5({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function s5(i){let e,t,n;function o(l){i[4](l)}let r={className:i[1]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:le("tooltip_interactive_go_back"),disabled:i[2],click:i[3],$$slots:{default:[r5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new fi({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"hidden":""),s&4&&(a.disabled=l[2]),s&8&&(a.click=l[3]),s&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function a5(i,e,t){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:r=!1}=e,{click:l}=e;function s(a){n=a,t(0,n)}return i.$$set=a=>{"ref"in a&&t(0,n=a.ref),"hidden"in a&&t(1,o=a.hidden),"disabled"in a&&t(2,r=a.disabled),"click"in a&&t(3,l=a.click)},[n,o,r,l,s]}class Rc extends ke{constructor(e){super(),_e(this,e,a5,s5,be,{ref:0,hidden:1,disabled:2,click:3})}}function u5(i){je(i,"v-1x1zctw",".icon.v-1x1zctw{width:24px !important;height:24px !important;;}.error-stub.v-1x1zctw{display:flex;justify-content:center;align-items:center}.inner.v-1x1zctw{width:16px;height:16px;background-color:var(--white)}")}function c5(i){let e,t,n,o;return{c(){e=w("img"),u(e,"class","icon v-1x1zctw"),Ar(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(r,l){C(r,e,l),n||(o=Pe(e,"error",i[7]),n=!0)},p(r,l){l&1&&!Ar(e.src,t=r[0])&&u(e,"src",t)},d(r){r&&y(e),n=!1,o()}}}function f5(i){let e;return{c(){e=w("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:U,d(t){t&&y(e)}}}function d5(i){let e;function t(r,l){return r[5]?f5:c5}let n=t(i),o=n(i);return{c(){o.c(),e=Tt()},m(r,l){o.m(r,l),C(r,e,l)},p(r,l){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},d(r){r&&y(e),o.d(r)}}}function m5(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:[d5]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const r={};o&16&&(r.className=n[4]?"btn-full-opacity":""),o&2&&(r.ariaLabel=n[1]),o&8&&(r.click=n[3]),o&64&&(r.disabled=n[6]),o&4&&(r.testId=n[2]),o&545&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function h5(i,e,t){let n,o,r,{iconUrl:l}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=Ge}=e;const d=()=>{t(5,r=!0)};return i.$$set=g=>{"iconUrl"in g&&t(0,l=g.iconUrl),"ariaLabel"in g&&t(1,s=g.ariaLabel),"disabled"in g&&t(8,a=g.disabled),"testId"in g&&t(2,c=g.testId),"onClick"in g&&t(3,f=g.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===Ge),i.$$.dirty&272&&t(6,o=n||a)},t(5,r=!1),[l,s,c,f,n,r,o,d,a]}class Nc extends ke{constructor(e){super(),_e(this,e,h5,m5,be,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},u5)}}class ma{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}removeEventListener(e,t){if(!(e in this.listeners))return;const n=this.listeners[e];for(let o=0,r=n.length;o<r;o++)if(n[o].callback===t){n.splice(o,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let o=0,r=n.length;o<r;o++){const l=n[o];try{l.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}l.options&&l.options.once&&this.removeEventListener(e.type,l.callback)}return!e.defaultPrevented}}class Oc extends ma{constructor(){super(),this.listeners||ma.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 p5=class{constructor(){Object.defineProperty(this,"signal",{value:new Oc,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch(o){typeof document!="undefined"?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document=="undefined")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(o){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};typeof Symbol!="undefined"&&Symbol.toStringTag&&(p5.prototype[Symbol.toStringTag]="AbortController",Oc.prototype[Symbol.toStringTag]="AbortSignal");function Dc(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 v5(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!Dc({fetch:e,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:e,Request:r};let r=t;(r&&!r.prototype.hasOwnProperty("signal")||o)&&(r=function(c,f){let d;f&&f.signal&&(d=f.signal,delete f.signal);const g=new t(c,f);return d&&Object.defineProperty(g,"signal",{writable:!1,enumerable:!1,configurable:!0,value:d}),g},r.prototype=t.prototype);const l=e;return{fetch:(a,c)=>{const f=r&&r.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let d;try{d=new DOMException("Aborted","AbortError")}catch(v){d=new Error("Aborted"),d.name="AbortError"}if(f.aborted)return Promise.reject(d);const g=new Promise((v,b)=>{f.addEventListener("abort",()=>b(d),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([g,l(a,c)])}return l(a,c)},Request:r}}const yr=Dc({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),zc=yr?v5({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,g5=yr?zc.fetch:window.fetch;yr?zc.Request:window.Request;const b5=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,_5="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class k5{constructor(e,t){this.adman=null,this.initialVolume=1,this.videoElement=null,this.currentAdSection=null,this.actions=null,this.adsState=null,this.playerState=null,this.events={slotRequested$:new dn,started$:new dn,paused$:new dn,resumed$:new dn,ended$:new dn,skipped$:new dn,clicked$:new dn},this.loadAdman=n=>new Promise((o,r)=>{let l;const s=()=>{clearTimeout(l),delete window.admanAsyncInit,window.AdmanHTML?o():r()};Bf(_5,n,this.loadTimeout).then(()=>{window.AdmanHTML?o():(window.admanAsyncInit=s,l=window.setTimeout(s,this.initTimeout))}).catch(()=>{r()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,o)=>{At(this.adsState),At(this.playerState),At(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(o)}`}),this.events.started$.next(n),o.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),ut(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(o.duration),this.adsState.playbackState.set(Kt.PLAYING),this.adsState.canSkip.set(o.allowClose),this.adsState.secondsToWatchBeforeSkip.set(o.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{At(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{At(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Kt.PAUSED)},this.onAdPlayed=()=>{At(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Kt.PLAYING)},this.onAdMidrollPoint=()=>{At(this.adman),At(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Mn.Midroll,this.adman.start(Mn.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var n;this.log({message:"ad clicked"}),(n=this.videoElement)===null||n===void 0||n.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=t.loadTimeout,this.initTimeout=t.initTimeout}init(e,t,n){this.actions=e,this.adsState=t,this.playerState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:t,height:n,isFullscreen:o,isAutoplay:r,adsContainer:l,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:d}=e;let g;const v=this.playerState&&ut(this.playerState.vsid);v&&(g=parseInt(v,36));const b=Object.assign(Object.assign(Object.assign({dl:encodeURIComponent(window.location.href),autoplay:r,player_width:t,player_height:n,puid10:b5(t,n),puid11:o?0:1,preview:d},g?{request_id:g}:{}),{duration:f}),c),T={slot:a,wrapper:l,videoEl:s,videoQuality:n,params:b,browser:{mobile:!1}},_=new window.AdmanHTML;_.setDebug(!1),_.onReady(this.onAdsReady),_.onStarted(this.onAdStarted),_.onPlayed(this.onAdPlayed),_.onPaused(this.onAdPaused),_.adMidrollPoint(this.onAdMidrollPoint),_.onClosed(this.onAdClosed),_.onSkipped(this.onAdSkipped),_.onClicked(this.onAdClicked),_.onTimeRemained(this.onAdTimeRemained),_.onCompleted(this.onAdCompleted),_.onError(this.onAdError),_.init(T),this.adman=_,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(T)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}At(this.actions),At(this.adsState),At(this.playerState);const t=this.currentAdSection===Mn.Postroll;this.adsState.playbackState.set(Kt.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(){At(this.adsState),this.log({message:"toggle play"});const e=ut(this.adsState.playbackState);e===Kt.PLAYING?this.pause():e===Kt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var t;this.log({message:`set volume ${e}`}),(t=this.adman)===null||t===void 0||t.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var t;this.log({message:`set fullscreen ${e}`}),(t=this.adman)===null||t===void 0||t.setFullscreen(e)}startPreroll(){At(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=Mn.Preroll,this.adman.start(Mn.Preroll)}startPostroll(){At(this.adman),At(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Mn.Postroll,this.adman.start(Mn.Postroll)}play(){At(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){At(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){At(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,t){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(t))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const w5=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 y5{constructor(){this.oneLineRegExp=/\r\n|\n|\r/,this.twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/}parse(e){const t=[],n=e.split(this.twoLinesRegExp);for(const o of n){const r={startTime:0,endTime:0,texts:[],lang:""},l=o.split(this.oneLineRegExp);for(const s of l)if(!r.startTime&&!r.endTime){const a=new Fc,{startTime:c,endTime:f}=a.parse(s);r.startTime=c,r.endTime=f}else if(s.trim()!==""){const a=new C5,{texts:c}=a.parse(s);r.texts=[...r.texts,...c]}(r.startTime||r.endTime)&&r.texts.length>0&&t.push(r)}return t}}class Fc{constructor(){this.timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/,this.timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`)}parse(e){const t={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(t.startTime=this.calcTime(n[1],n[2],n[3],n[4]),t.endTime=this.calcTime(n[6],n[7],n[8],n[9])),t}parseTime(e){const t=this.timeRegExp.exec(e);return t?this.calcTime(t[1],t[2],t[3],t[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",t="0",n="0",o="0"){const r=Number(e)*60*60,l=Number(t)*60,s=Number(n),a=+`0.${o}`;return r+l+s+a}}class C5{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](l){let s=0;const a=[];for(;s<l.length;){const c=["<",">"].reduce((f,d)=>{const g=l.indexOf(d,s);return f===-1||f>g?g:f},-1);if(c===-1){a.push(l.substring(s));break}a.push(l.substring(s,c)),s=c+1}return a}}),r=new Fc;for(const l of o)r.isTime(l)?t.texts.push({type:"timestamp",value:r.parseTime(l)}):t.texts.push({type:"text",value:l});return t}}let Dn,Ft,Gl=0,Yl=!1;const P5=(i,e,t)=>{var n;const o=i>=Gl,r=i<Gl,l=(f,d=0,g=0)=>f<d&&f<g,s=(f,d=0,g=0)=>f>=d&&f<=g,a=(f,d=0,g=0)=>f>d&&f>g,c=(n=t.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(Gl=i,r&&(Yl=!1),bn(Dn)&&s(i,Dn.startTime,Dn.endTime)&&Dn.lang===e.value)return Dn;if(!bn(Ft)&&(c!=null&&c.length)&&!Yl){const f=c.find(({startTime:d,endTime:g})=>s(i,d,g)||o&&l(i,d,g));Ft=f&&Object.assign(Object.assign({},f),{lang:e.value}),Dn=void 0,!bn(Ft)&&c[c.length-1].endTime<i&&(Yl=!0);return}else{if(s(i,Ft==null?void 0:Ft.startTime,Ft==null?void 0:Ft.endTime))return Dn=Ft,Ft=void 0,Dn;(o&&a(i,Ft==null?void 0:Ft.startTime,Ft==null?void 0:Ft.endTime)||r&&l(i,Ft==null?void 0:Ft.startTime,Ft==null?void 0:Ft.endTime))&&(Ft=void 0)}},Kl={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 sl=null;class Bo{constructor(e,t){if(!sl){const n=new Gf(e,t),o=new Xn;sl=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n==null||n.destroy(),o==null||o.unsubscribe(),sl=null}})}}static getInstance(){return sl}}const T5=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:r,canDownload:l,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:d,coreConfig:g,player:v,disabledControls:b,isInteractive:T,interactiveRanges:_,replayInteractive:A,onDisabledPlayPrevChapterClick:E,onDisabledSeekToInteractiveClick:V,hasInteractiveBranches:B,playPrevChapterDisabledTooltip:oe,additionalButtons:O,looped:q=!1})=>{var D,de,ae,Z;const ce=Object.assign(Object.assign({},g),{configName:[...(D=g.configName)!==null&&D!==void 0?D:[],"ui"],isAudioDisabled:r,live:Object.assign(Object.assign({},(de=g.live)!==null&&de!==void 0?de:{}),{isLiveCatchUpMode:!!n})}),J=d,S=v||new Ef(ce);S.setLooped(q);const I=new $1,re=new k5(I,{loadTimeout:J.ads.loadTimeout,initTimeout:J.ads.initTimeout}),G=Bo.getInstance(),we=nr.getInstance(),se=a==null?void 0:a.pictureInPictureApi,K=a==null?void 0:a.annotationsApi,ne=I.createComponentLog("Store");let Be,R,ue={};const k=rr(),$=G?Et(G.oneStat.vsid$):En(void 0),ze=De(Oo()),Te=(ae=se==null?void 0:se.info.isActive$)!==null&&ae!==void 0?ae:new lr(!1),Le=se==null?void 0:se.info.type,Ee=De(0),ge=De([]),Se=Rf(S.events.fatalError$,S.events.managedError$).subscribe(P=>ge.update(ie=>[...ie,P])),Ce=En(!1,P=>{const ie=S.events.fatalError$.subscribe(()=>P(!0));return()=>ie.unsubscribe()}),X=P=>Zi(void 0,void 0,void 0,function*(){var ie;const me=Object.values(Do).includes(P);if(J.downloadVKLanguages&&(me&&J.updateBuiltinLanguages||!os(P))){let Oe;try{Oe=yield Df(P,c0,f0)}catch(ct){(ie=G==null?void 0:G.oneStat)===null||ie===void 0||ie.logError({errorType:"VKLangPack",fatal:!1}),we==null||we.report(ct,{errorType:"VKLangPack",fatal:!1})}Oe&&(ns({language:P,pack:Oe,fallback:J.defaultLanguage}),j.set(P))}os(P)&&j.set(P)}),j=De(i);X(i);const Fe=(P,ie)=>{const me=ut(j);return ec(me,P,ie,J.defaultLanguage)},Ze=De(Ne.Thumb),rt=ni([Ce,Ze],([P,ie])=>P?Ne.Crashed:ie),He=(()=>{const P=De(new Set(b));return Object.assign(Object.assign({},P),{add:ie=>{P.update(me=>new Set([...me].concat(ie)))},remove:ie=>{P.update(me=>{const ve=[...me];return new Set(Array.isArray(ie)?ve.filter(Oe=>!ie.includes(Oe)):ve.filter(Oe=>Oe!==ie))})},includes:ie=>{const me=ut(P);return Array.isArray(ie)?ie.every(ve=>me.has(ve)):me.has(ie)}})})();ne({message:"create store"});const vt=P=>{ne({message:`init video, config: ${JSON.stringify(P)}`}),T?P.container.append(S.experimental.element$.getValue()):S.initVideo(P),P.subtitles&&S.setExternalTextTracks(P.subtitles),Be=P},ht=new dn,Ot=P=>ht.next(P),dt=new dn,Re=new dn,Dt=new dn,te={actionRewind$:dt,actionSeek$:Re,inPiP$:Te,inFullscreen$:new Nf(P=>ze.subscribe(ie=>P.next(ie))),actionSetSubtitle$:Dt,nextMovie$:ht};if(G){const{oneStat:P,statSubscription:ie}=G;ie.add(P.attachTo(S)),ie.add(P.attachToUi(te)),ie.add(P.attachToAds(re.events)),P.authorize(o).catch(me=>{ne({message:`onestat auth error ${String(me)}`})})}if(we){const P=new Xn,ie=(me,ve)=>P.add(me.subscribe(ve));if(ie(S.events.managedError$,me=>{we.logIError(me)}),ie(S.events.fatalError$,me=>{we.logIError(me,!0)}),G){const{oneStat:me}=G;ie(me.experimental.error$,ve=>{we.logIError(ve)})}we.sentrySubscription.add(P)}const nt=()=>{eu()&&R&&om(R)},st=new Xn().add(S.experimental.element$.subscribe(P=>{P&&(R=P,P.classList.add("player-media"),pl(se)&&(se.updateVideoElement(),se.registryEventHandlers()),T&&P.setAttribute("pip","false"))})).add(S.events.ended$.subscribe(()=>{var P;nt(),(P=s==null?void 0:s.onEnded)===null||P===void 0||P.call(s)})).add(S.events.started$.subscribe(()=>Zi(void 0,void 0,void 0,function*(){var P,ie;pl(se)&&(yield se==null?void 0:se.revealPictureInPicture());const me=S.info.muted$.getValue();(P=s==null?void 0:s.onStarted)===null||P===void 0||P.call(s),(ie=ue.onStarted)===null||ie===void 0||ie.call(ue,me)}))).add(S.events.willSeek$.subscribe(({from:P,to:ie})=>{var me;(me=s==null?void 0:s.onSeek)===null||me===void 0||me.call(s,P,ie)})).add(S.info.position$.subscribe(P=>{var ie;const me=S.info.duration$.getValue();(ie=s==null?void 0:s.onTimeupdate)===null||ie===void 0||ie.call(s,me,P),re.setPosition(P,me)})).add(S.events.fatalError$.subscribe(()=>{var P;(P=s==null?void 0:s.onCrashed)===null||P===void 0||P.call(s)})).add(S.info.is3DVideo$.subscribe(P=>{Mt.ui.is3DVideo.set(P)})).add(S.info.isEnded$.subscribe(P=>{T&&(P?(ut(to)&&He.add(Mo),He.add(bt.PLAY_BUTTON)):He.remove(bt.PLAY_BUTTON))})).add(S.info.liveTime$.subscribe(P=>{var ie;(ie=s==null?void 0:s.onLiveTime)===null||ie===void 0||ie.call(s,P)})),Ye=new Xn,xe=()=>{Ye.add(S.events.log$.subscribe(P=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${P.component}`,P.message)})).add(I.log$.subscribe(P=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${P.component}.`,P.message)}))},$e=()=>{Ye.unsubscribe()},et=(P,ie)=>{S.startCameraManualRotation(P,ie)},ot=(P=!1)=>{S.stopCameraManualRotation(P)},Lt=(P,ie,me)=>{S.moveCameraFocusPX(P,ie,me)},lt=()=>{S.holdCamera()},at=()=>{S.releaseCamera()},Ke=En(S.info.position$.getValue(),P=>{let ie,me;const ve=()=>{const Oe=S.info.playbackState$.getValue(),ct=S.info.isLive$.getValue(),St=S.info.duration$.getValue(),yt=S.info.position$.getValue();if([gi.PLAYING,gi.PAUSED].includes(Oe)){const vi=ct?yt-St:S.getExactTime();vi!==me&&P(vi),me=vi}ie=requestAnimationFrame(ve)};return ve(),()=>cancelAnimationFrame(ie)}),Xe=Et(Te),$t=Et(S.info.playbackState$),_t=Et(S.info.currentBuffer$),pt=Et(S.info.isEnded$),Nt=Et(S.info.isLive$),ft=J.features.playbackRate?Et(S.info.canChangePlaybackSpeed$):En(!1),oi=Et(S.info.liveBufferTime$),fe=Et(S.info.volume$),ye=Et(S.info.muted$),Ie=mu(S.info.autoQualityLimits$.pipe(Of(({max:P})=>P!==void 0)),((Z=S.info.autoQualityLimits$.getValue())===null||Z===void 0?void 0:Z.max)!==void 0),Vt=Et(S.info.autoQualityLimitingAvailable$),ei=Et(S.info.availableQualities$),Ae=Et(S.info.availableQualitiesFps$),qt=Et(S.info.chromecastState$),Jt=Et(S.info.chromecastDeviceName$),kt=Et(S.info.currentFormat$),Zt=Et(S.info.throughputEstimation$),Ti=Et(S.info.videoBitrate$),Wi=Et(S.info.intrinsicVideoSize$),Gi=Et(S.info.duration$),Yi=Et(S.info.isAudioAvailable$);let gt=null;const Si=S.info.isBuffering$,nn=En(Si.getValue(),P=>{const ie=Si.subscribe(me=>{me&&gt===null?gt=window.setTimeout(()=>{P(Si.getValue()),gt=null},J.loaderDelay):P(me)});return()=>{ie.unsubscribe(),gt&&clearTimeout(gt)}}),Ki=()=>{gt&&clearTimeout(gt),gt=null},Ct=ni([Gi,Nt],([P,ie])=>ie?-P:P),Di=ni([$t],([P])=>P===gi.PLAYING),Ut=Et(S.info.atLiveEdge$),Wt=Et(S.info.atLiveDurationEdge$),Ei=Et(S.info.position$),Ai=ni([Ei,Gi],([P,ie])=>isFinite(P)&&isFinite(ie)&&!!ie),bi=ni([qt],([P])=>P===In.CONNECTED),di=De(void 0),mi=Et(S.info.isAutoQualityEnabled$,P=>P&&di.set(void 0)),_i=Et(S.info.currentQuality$,()=>di.set(void 0)),ri=ni([di,_i],([P,ie])=>P!=null?P:ie),Ii=ni([ei,Ae,mi,ri,kt],([P,ie,me,ve,Oe])=>{const ct=[];Oe!==Lo.MPEG&&ct.push({value:vo.AUTO,displayValue:Fe("auto_quality_option"),selected:me});const St=P.filter(yt=>yt!==al.INVARIANT);for(const yt of St){const vi=ie[yt],io=yt===al.INVARIANT?Fe("auto_quality_option"):yt;ct.push({value:yt,displayValue:`${io}${vi?w5(vi):""}`,selected:me?!1:yt===ve})}return ct}),si=Et(S.info.currentPlaybackRate$),ki=ni([si,Ut,Wt],([P,ie,me])=>{const ve=me||T?1:J.controls.playbackRateMin,Oe=ie?1:J.controls.playbackRateMax,ct=J.controls.playbackRateStep,St=[];for(let yt=ve;yt<=Oe;yt+=ct)St.push({value:yt,displayValue:yt===1?Fe("playback_rate_1"):Fe("playback_rate",{multiplier:yt.toString(10)}),selected:P===yt});return St}),zi=J.features.subtitles?Et(S.info.availableTextTracks$):En([]),wi=ni([zi],([P],ie)=>{const me=[],ve=[];for(const Oe of P)Oe.url&&me.push(g5(Oe.url));Promise.allSettled(me).then(Oe=>{for(const[ct,St]of Oe.entries())St.status==="fulfilled"&&St.value.text().then(yt=>{const vi=new y5,io=P[ct].language,yl=!!P[ct].isAuto,Jo=vi.parse(yt);io&&Jo&&ve.push({lang:io,subtitles:Jo,isAuto:yl}),ct===Oe.length-1&&ie(ve)})})}),It={displayValue:Fe("subtitles_off"),value:"off"},ai=De(Object.assign({},It)),Li=ni([wi,ai,wi],([P,ie])=>{if((P==null?void 0:P.length)>0){const me=[Object.assign(Object.assign({},It),{selected:(ie==null?void 0:ie.value)===It.value})];for(const{lang:ve,isAuto:Oe}of P)Kl[ve]&&me.push({displayValue:Oe?Fe("subtitles_auto",{language:Kl[ve]}):Kl[ve],value:ve,selected:(ie==null?void 0:ie.value)===ve,isAuto:Oe});return me}else return[]}),yi=ni([Ke,ai,wi],([P,ie,me])=>{if(ie&&ie.value!==It.value)return P5(P,ie,me)}),Ci=ni([yi],([P])=>P!=null&&P.texts?P.texts:[]),Fi=De(!0),qe=ni([_t,Ct,Ei,oi],([P,ie,me,ve])=>{var Oe;const ct=(Oe=P==null?void 0:P.end)!==null&&Oe!==void 0?Oe:0;if(!ve)return ct/ie;const yt=-me+ve-ie;return(ct-yt)/ie}),ui=Et(S.info.availableSources$),Hi=ni([ui],([P])=>Object.keys((P==null?void 0:P[Lo.MPEG])||{}).length>0),li=()=>{var P,ie,me;const ve=Object.keys(((ie=(P=S.info.availableSources$)===null||P===void 0?void 0:P.getValue())===null||ie===void 0?void 0:ie[Lo.MPEG])||{}),Oe=zf(ve)||al.Q_144P;return(me=Be.sources[Lo.MPEG])===null||me===void 0?void 0:me[Oe]},Vi=()=>{var P;const ie=li();ie?b0(ie,((P=Be==null?void 0:Be.meta)===null||P===void 0?void 0:P.title)||"video"):ne({message:"There is no URL for download video"})},ti=()=>{ne({message:"toggle muted"});const P=S.info.muted$.getValue(),ve=!(S.info.volume$.getValue()===0||P);Pi(ve)},Me=(P,ie=P,me=!1)=>{var ve,Oe,ct;const St=!me,yt=S.info.muted$.getValue();ne({message:`set volume, volume: ${P}, preferredVolume: ${ie}, internalCall: ${St}`}),S.setVolume(P),re.setVolume(P),St&&((ve=s==null?void 0:s.onVolumeChange)===null||ve===void 0||ve.call(s,P)),Mr(ie),yt?(S.setMuted(!1),St&&((Oe=s==null?void 0:s.onUnmute)===null||Oe===void 0||Oe.call(s)),Sl(!1)):!yt&&P===0&&(S.setMuted(!0),St&&((ct=s==null?void 0:s.onMute)===null||ct===void 0||ct.call(s)),Sl(!0))},Pi=(P,ie=!1)=>{var me,ve,Oe,ct;const St=!ie,yt=S.info.volume$.getValue();if(ne({message:`set muted, currentVolume: ${yt}, mute: ${P}, internalCall: ${St}`}),S.setMuted(P),re.setVolume(P?0:yt),Sl(P),St&&(P?(me=s==null?void 0:s.onMute)===null||me===void 0||me.call(s):(ve=s==null?void 0:s.onUnmute)===null||ve===void 0||ve.call(s)),yt===0){let vi=(Oe=bu())!==null&&Oe!==void 0?Oe:J.volumeDefault;vi===0&&(vi=J.volumeMinRestore,Mr(vi)),S.setVolume(vi),re.setVolume(vi),St&&((ct=s==null?void 0:s.onVolumeChange)===null||ct===void 0||ct.call(s,vi))}},Xi=()=>{S.prepare()},Qi=()=>{var P,ie;if(At(Mt),!ut(Mt.ui.controls.disabledControls$).has(bt.PLAY_BUTTON)){if(ne({message:"toggle play"}),ut(Mt.playerPhase)===Ne.Ads){re.togglePlay();return}if(S.info.playbackState$.getValue()!==gi.PLAYING){if(S.info.isEnded$.getValue()){if(ne({message:"toggle play, video ended, seek to 0"}),dt.next(),Re.next(jt.REWIND),T){A==null||A();return}S.seekTime(0)}ne({message:"toggle play, call player.play"}),S.play(),(P=s==null?void 0:s.onPlay)===null||P===void 0||P.call(s)}else ne({message:"toggle play, call player.pause"}),S.pause(),(ie=s==null?void 0:s.onPause)===null||ie===void 0||ie.call(s)}},on=P=>{ne({message:`set quality, quality: ${P}`}),S.setAutoQuality(P===vo.AUTO),P!==vo.AUTO?(_0(e,P),di.set(P),S.setQuality(P)):_u()},Ji=P=>{ne({message:`set trafficSavingEnabled, value: ${P}`}),S.setAutoQualityLimits({max:P?J.trafficSavingLimit:void 0}),y0(P)},Mi=P=>{S.setPlaybackRate(P)},xi=()=>{const P=ut(ki),ie=P.findIndex(({selected:ve})=>ve);if(ie===P.length-1)return;const me=P[ie+1];Mi(me.value)},Bi=()=>{const P=ut(ki),ie=P.findIndex(({selected:ve})=>ve);if(ie===0)return;const me=P[ie-1];Mi(me.value)},zt=P=>{P&&P.value!==It.value&&Dt.next(P.isAuto?P.value+"_auto":P.value),ai.set(P)},hi=()=>{const P=ut(Li),ie=ut(ai),me=ut(j);if((ie==null?void 0:ie.value)===It.value){const ve=P.filter(Oe=>Oe.value!==It.value).find(Oe=>Oe.value===me)||P[1];zt(ve!=null?ve:Object.assign({},It))}else zt(Object.assign(Object.assign({},It),{selected:!1}))},Ri=(P,ie,me=!0)=>{if(ne({message:`seek to time, time: ${P}`}),Re.next(ie),S.info.isLive$.getValue()){const ve=S.info.duration$.getValue(),Oe=Math.min(0,ve+P);S.seekTime(Oe,me)}else{if(ut(to))return;S.seekTime(Io(P),me)}},hn=P=>{ne({message:`seek to episode start time: ${P}`}),Ri(P,jt.EPISODE,!0)},Gt=(P,ie)=>{ne({message:`seek to percent, percent: ${P}`});const me=Math.round(ut(Ct)*P);Ri(me,ie,!1)},ln=P=>{ne({message:`seek external, time: ${P}`}),Re.next(jt.UNKNOWN),S.seekTime(S.info.isLive$.getValue()?-P:P)},rn=P=>{var ie,me;ne({message:`set auto quality limitation. Max: ${(ie=P.max)!==null&&ie!==void 0?ie:"none"}. Min: ${(me=P.min)!==null&&me!==void 0?me:"none"}`}),S.setAutoQualityLimits(P)},Ni=P=>{ne({message:`seek external to episode start time: ${P}`}),Ri(P,jt.EPISODE,!0)},yn=P=>{ne({message:`set playback rate to: ${P}`}),S.setPlaybackRate(P)},$i=De(void 0),pi=De(!1),Cn=P=>{ne({message:`start scrubbing, progress: ${P}`}),pi.set(!0),pn(P)},pn=P=>{$i.set(P)};let sn,an;const un=()=>{$i.set(void 0),pi.set(!1)},cn=()=>{clearTimeout(an),clearTimeout(sn),sn=window.setTimeout(()=>{un()},500),R==null||R.removeEventListener("seeked",cn)},Pn=P=>{ne({message:`complete scrubbing, progress: ${P}`}),Gt(P,jt.SLIDER),ut(Mt.ui.isMobile)&&ut(Mt.state.currentFormat$)===Lo.HLS?(R==null||R.addEventListener("seeked",cn),an=window.setTimeout(()=>{cn()},300)):un()},Tn=ni([Ke,Ct,$i],([P,ie,me],ve)=>{ve(bn(me)?me*ie:P)}),x=De({width:0,height:0}),wt=ni([x],([{width:P}],ie)=>{const me=sp(P);ie(me)}),ii=De(!1),Ui=ni([wt,ii],([P,ie])=>ie?O.filter(me=>!me.hideOnMobile):O.filter(me=>{var ve;return!(!((ve=me.hideOnDesktopGridTypes)===null||ve===void 0)&&ve.includes(P))})),fn=ni([ii,Ce],([P,ie],me)=>{me(P&&ie)}),ji=()=>{Re.next(jt.LIVE),ne({message:"switch to active live"}),S.seekTime(0),S.info.playbackState$.getValue()!==gi.PLAYING&&Mt.actions.internal.togglePlay()},Vn=()=>re.skip(),ee=(P=!0)=>{At(Mt),ne({message:`switch from ads to video, callPlay: ${P}`}),Ze.set(Ne.Video),P&&S.play()},xn=()=>{At(Mt),ne({message:"switch from video to ads"}),Mt.actions.internal.pause(),nt(),Ze.set(Ne.Ads)},yo=P=>{At(Mt);const ie=P?Ne.WaitingLive:Ne.Thumb;Ze.set(ie)},Co=P=>{At(Mt);const ie=P?Ne.WaitingRecord:Ne.Thumb;Ze.set(ie)},Po=()=>(At(Mt),v0(S,Be,Mt)),Y=()=>(At(Mt),g0(S,Be,Mt)),Pt=()=>R,en=()=>{ne({message:"toggle chromecast"}),S.toggleChromecast()},Oi=P=>{var ie;At(Mt);const me=!P;if(ut(Mt.playerPhase)===Ne.Ads){ne({message:`pause ads, internalCall: ${me}`}),re.pause();return}ne({message:`pause video, internalCall: ${me}`}),me&&((ie=s==null?void 0:s.onPause)===null||ie===void 0||ie.call(s)),S.pause()},Sn=P=>{var ie;At(Mt);const me=!P;if(ut(Mt.playerPhase)===Ne.Ads){ne({message:`play ads, internalCall: ${me}`}),re.play();return}ne({message:`play video, internalCall: ${me}`}),me&&((ie=s==null?void 0:s.onPlay)===null||ie===void 0||ie.call(s)),S.play()},Wn=(P,ie)=>{At(Mt),ne({message:`first start, show ads: ${P}, internalCall: ${!ie}`}),P?Ze.set(Ne.Ads):(Ze.set(Ne.Video),ie?S.play():Mt.actions.internal.togglePlay())},$n=()=>(ne({message:"getting time codes"}),c),To=()=>{const P=$n();if(!P||[0,1].includes(P.length))return;const ie=S.info.position$.getValue();return P.find(me=>me.time>ie)},Wo=P=>{let ie=P;ie||(ie=To()),ie&&(ne({message:"seek to next episode"}),Ri(ie.time,jt.EPISODE,!0))},So=()=>{const P=$n();if(!P||[0,1].includes(P.length))return;const ie=S.info.position$.getValue(),me=P.findIndex(Oe=>Oe.time>ie),ve=me===-1?P.length-2:me-2;if(!(ve<0))return P[ve]},Go=P=>{let ie=P;ie||(ie=So()),ie&&(ne({message:"seek to prev episode"}),Ri(ie.time,jt.EPISODE,!0))},Yo=()=>(ne({message:"getting preview thumbs data"}),f),Eo=()=>Zi(void 0,void 0,void 0,function*(){se!=null&&se.isActive()?yield se==null?void 0:se.remove():yield se==null?void 0:se.request()}),Ko=(P=-90)=>{Ee.update(ie=>ie+P)},Gn=De("tooltip_chapter_without_interactive"),On=De(_),eo=ni([On],([P=[]])=>{const ie=[];for(let me=0;me<P.length;me++){const{range:[ve,Oe],subjects:ct}=P[me];me===0&&ve!==0&&ie.push({time:0,text:""}),ie.push({time:ve/1e3,text:"",interactive:!0,completed:!ct.length}),Oe!==1/0&&ie.push({time:Oe/1e3,text:"",interactive:!1,completed:!ct.length})}return ie.length&&(ie.every(me=>me.completed)?Gn.set("tooltip_interactive_of_chapter_completed"):Gn.set("tooltip_disabled_when_interactive")),ie}),Xo=P=>{const ie=ut(On);On.set(ie.map(me=>Object.assign(Object.assign({},me),{subjects:me.subjects.filter(ve=>ve!==P)})))},Ao=De(!1),to=ni([Ei,On,Ao],([P,ie,me])=>{if(!T)return!1;if(me)return!0;const ve=P*1e3,Oe=ie==null?void 0:ie.find(({range:[ct,St],subjects:yt})=>ct<ve&&ve<St&&yt.length);return Oe&&ut(pi)&&un(),!!Oe}),Io=P=>{if(!T)return P;const ie=ut(eo),me=ut(Ct),Oe=ut(Ei)/me,ct=ie.find(St=>St.interactive&&!St.completed&&St.time>Oe);return typeof(ct==null?void 0:ct.time)=="number"?Math.min(P,ct.time-.05):P},Qo=()=>{clearTimeout(an),clearTimeout(sn),st.unsubscribe(),Ye.unsubscribe(),S.destroy(),re.destroy(),G==null||G.destroy(),we==null||we.destroy(),Se.unsubscribe()},Mt={interfaceLanguage$:j,initVideo:vt,videoId:e,isClip:t,playerPhase:rt,vsid:$,state:{positionExact$:Ke,positionWithScrubbing$:Tn,duration$:Ct,playbackState$:$t,isPlaying$:Di,isLoaderVisible:nn,bufferedProgress$:qe,isLive$:Nt,canChangePlaybackSpeed$:ft,isActiveLive$:Ut,isOldestAvailableLive$:Wt,isRewindableLive$:Ai,isEnded$:pt,muted$:ye,volume$:fe,trafficSavingEnabled$:Ie,autoQualityLimitingAvailable$:Vt,currentQuality$:ri,isAutoQualityEnabled$:mi,availableQualities$:Ii,currentPlaybackRate$:si,availablePlaybackRates$:ki,currentSubtitle$:ai,availableSubtitlesList$:Li,currentSubtitleCaptions$:Ci,isAutoSubtitleCaptionVisible$:Fi,chromecastState$:qt,chromecastDeviceName$:Jt,chromecastConnected$:bi,currentFormat$:kt,throughputEstimation$:Zt,videoBitrate$:Ti,videoSize$:Wi,errorLog$:ge,crashed$:Ce,isAudioAvailable$:Yi,isAudioDisabled:!!r,canDownload:J.features.download&&!!l,availableSources$:ui,hasMpegSources$:Hi,isInteractive:T,isInteractiveGraphEnabled:J.features.interactiveGraph,isSeekToInteractiveEnable:J.features.seekToInteractive,isPlayPrevChapterEnabled:J.features.interactivePlayPrevChapter,interactiveEpisodes$:eo,isInteractiveTime$:to,graphIsOpened$:De(!1),isInteractiveExpectation$:Ao,hasInteractiveBranches:B,playPrevChapterDisabledTooltip:oe,seekToInteractiveDisabledTooltip$:Gn},ui:{controlsVisible:De(!1),touched:De(!1),controls:{tooltipPointerOffsetX:De(0),prevButton:De(void 0),playButton:De(void 0),replayButton:De(void 0),nextButton:De(void 0),playPrevChapterButton:De(void 0),seekToInteractiveButton:De(void 0),interactiveGraphButton:De(void 0),liveButton:De(void 0),time:De(void 0),episodes:De(void 0),volume:De(void 0),subtitles:De(void 0),settings:De(void 0),chromecast:De(void 0),pip:De(void 0),fullscreen:De(void 0),vkLogo:De(void 0),additionalButtons:O.length?O.reduce(P=>[...P,De(void 0)],[]):[],disabledControls$:He},modals:{hotKeyMap:{show:De(!1),data:De({title:"",closeBtnText:"",groups:[]})}},isFullscreen:ze,rotateAlpha:Ee,isAutoplay:De(!1),contextMenuVisible:De(!1),debugPanelVisible:De(!1),playerSize:x,isMobile:ii,mobileNotReportControlHidden$:fn,mobileUnmuteButtonExpanded:De(!1),mobileUnmuteButtonVisible:De(!1),icon3DVideoVisible:De(!1),settingsMenuVisible:De(!1),scrubbingInProgress:pi,is3DVideo:De(!1),isPictureInPictureActive$:Xe,pictureInPictureType$:En(Le),clientInfo$:En(k),currentGridType$:wt,additionalButtons$:Ui,interactiveHideMobileControls:De(!1)},ads:{position:De(0),duration:De(0),playbackState:De(Kt.INACTIVE),canSkip:De(!1),secondsToWatchBeforeSkip:De(0),postrollPassed:De(!1)},webApi:{pictureInPictureApi:se,annotationsApi:K},actions:{internal:{preload:Xi,firstStart:P=>Wn(P,!1),pause:()=>Oi(!1),togglePlay:Qi,toggleMuted:ti,setVolume:Me,setQuality:on,setTrafficSavingEnabled:P=>Ji(P),setPlaybackRate:Mi,incrementPlaybackRate:xi,decrementPlaybackRate:Bi,setSubtitle:zt,toggleSubtitle:hi,togglePictureInPicture:Eo,startScrubbing:Cn,progressScrubbing:pn,completeScrubbing:Pn,toggleChromecast:en,switchToActiveLive:ji,switchFromAdsToVideo:ee,switchFromVideoToAds:xn,skipAd:Vn,setWaitingLive:yo,setWaitingRecord:Co,getDebugTextData:Po,getDebugPanelData:Y,getVideoElement:Pt,seekTime:(P,ie,me)=>Ri(P,ie,me),clearDelayedBufferingCheckTimeout:Ki,seekEpisodeStartTime:hn,seekToPercent:Gt,getNextEpisode:To,seekToNextEpisode:Wo,getPrevEpisode:So,seekToPrevEpisode:Go,startLogging:xe,stopLogging:$e,startCameraManualRotation:et,stopCameraManualRotation:ot,moveCameraFocusPX:Lt,holdCamera:lt,releaseCamera:at,getVideoEpisodes:$n,getPreviewThumbsData:Yo,downloadVideo:Vi,addLanguage:ns,setLanguage:X,nextMovie:Ot,videoRotate:Ko,completeInteractiveRange:Xo,correctSeekTimeToInteractive:Io,replayInteractive:A,onDisabledPlayPrevChapterClick:E,onDisabledSeekToInteractiveClick:V},external:{firstStart:P=>Wn(P,!0),play:()=>Sn(!0),pause:()=>Oi(!0),seekTime:P=>ln(P),seekEpisodeStartTime:P=>Ni(P),setPlaybackRate:P=>yn(P),setAutoQualityLimits:P=>rn(P),setMuted:P=>Pi(P,!0),setVolume:P=>Me(P,P,!0)}},callbacks:s,setUiCallbacks:P=>{ue=Object.assign({},P)},getAdmanWrapper:()=>re,getLogger:()=>I,destroy:Qo};return Mt},Hc=(i,e,t,n)=>{var o;if(!i)return;const r=i.getBoundingClientRect();for(const[l,s]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(l)){const a=(o=t[l])===null||o===void 0?void 0:o.getBoundingClientRect(),c=n&&!!a&&!!(a.right-a.left);s.set({positionStartX:0,positionEndX:0,left:c?Math.round(a.left-r.left):0,right:c?Math.round(a.right-r.left):0,top:c?Math.round(a.top-r.top):0,bottom:c?Math.round(a.bottom-r.top):0,isDisplayed:c})}};function S5(i){je(i,"v-1cwzjrb",".wrapper-bottom.v-1cwzjrb.v-1cwzjrb{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-1cwzjrb>.v-1cwzjrb{pointer-events:auto}.controls.v-1cwzjrb.v-1cwzjrb{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-1cwzjrb.v-1cwzjrb,.controls-right.v-1cwzjrb.v-1cwzjrb{display:flex;align-content:center}.controls-left.v-1cwzjrb.v-1cwzjrb{flex-grow:1;min-width:0}.controls-left.v-1cwzjrb > *:not(:first-child),.controls-right.v-1cwzjrb > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-1cwzjrb.v-1cwzjrb{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1cwzjrb.v-1cwzjrb{transition:none}.settings-menu.v-1cwzjrb.v-1cwzjrb{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function ha(i,e,t){const n=i.slice();return n[186]=e[t].iconUrl,n[187]=e[t].ariaLabel,n[188]=e[t].testId,n[189]=e[t].onClick,n[190]=e[t].tooltip,n[192]=t,n}function pa(i){let e,t,n;function o(l){i[156](l)}let r={disabled:!i[9],controlInfo:i[94].prevButton,tooltipContent:le("tooltip_previous"),$$slots:{default:[E5]},$$scope:{ctx:i}};return i[23].prevButton!==void 0&&(r.ref=i[23].prevButton),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[0]&512&&(a.disabled=!l[9]),s[0]&4608|s[6]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].prevButton,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function E5(i){let e,t;return e=new wl({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&4096&&(r.click=n[12]),o[0]&512&&(r.disabled=!n[9]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function va(i){let e,t,n;function o(l){i[157](l)}let r={disabled:i[67],controlInfo:i[94].replayButton,tooltipContent:le("tooltip_restart"),$$slots:{default:[A5]},$$scope:{ctx:i}};return i[23].replayButton!==void 0&&(r.ref=i[23].replayButton),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[2]&32&&(a.disabled=l[67]),s[2]&32|s[6]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].replayButton,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function A5(i){let e,t;return e=new wr({props:{click:i[118],disabled:i[67]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[2]&32&&(r.disabled=n[67]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ga(i){let e,t,n;function o(l){i[158](l)}let r={controlInfo:i[94].playButton,tooltipContent:i[42],disabled:i[68],$$slots:{default:[I5]},$$scope:{ctx:i}};return i[23].playButton!==void 0&&(r.ref=i[23].playButton),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[1]&2048&&(a.tooltipContent=l[42]),s[2]&64&&(a.disabled=l[68]),s[0]&1073741824|s[2]&64|s[6]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].playButton,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function I5(i){let e,t;return e=new kr({props:{isMobile:!1,isPlaying:i[30],click:i[79],disabled:i[68]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&1073741824&&(r.isPlaying=n[30]),o[2]&64&&(r.disabled=n[68]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ba(i){let e,t,n;function o(l){i[159](l)}let r={disabled:!i[8],controlInfo:i[94].nextButton,tooltipContent:le("tooltip_next"),$$slots:{default:[L5]},$$scope:{ctx:i}};return i[23].nextButton!==void 0&&(r.ref=i[23].nextButton),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[0]&256&&(a.disabled=!l[8]),s[0]&2304|s[6]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].nextButton,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function L5(i){let e,t;return e=new wl({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&2048&&(r.click=n[11]),o[0]&256&&(r.disabled=!n[8]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function V5(i){let e,t,n,o,r=i[110]&&M5(i),l=i[109]&&R5(i),s=i[108]&&O5(i);return{c(){r&&r.c(),e=N(),l&&l.c(),t=N(),s&&s.c(),n=Tt()},m(a,c){r&&r.m(a,c),C(a,e,c),l&&l.m(a,c),C(a,t,c),s&&s.m(a,c),C(a,n,c),o=!0},p(a,c){a[110]&&r.p(a,c),a[109]&&l.p(a,c),a[108]&&s.p(a,c)},i(a){o||(h(r),h(l),h(s),o=!0)},o(a){p(r),p(l),p(s),o=!1},d(a){a&&(y(e),y(t),y(n)),r&&r.d(a),l&&l.d(a),s&&s.d(a)}}}function M5(i){let e,t,n;function o(l){i[160](l)}let r={disabled:i[66],controlInfo:i[94].playPrevChapterButton,tooltipContent:le("tooltip_interactive_go_back"),disabledTooltipContent:le(i[112]),$$slots:{default:[B5]},$$scope:{ctx:i}};return i[23].playPrevChapterButton!==void 0&&(r.ref=i[23].playPrevChapterButton),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[2]&16&&(a.disabled=l[66]),s[0]&131072|s[2]&16|s[6]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].playPrevChapterButton,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function B5(i){let e,t;return e=new Rc({props:{disabled:i[66],click:i[17]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[2]&16&&(r.disabled=n[66]),o[0]&131072&&(r.click=n[17]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function R5(i){let e,t,n;function o(l){i[161](l)}let r={disabled:i[69],controlInfo:i[94].seekToInteractiveButton,tooltipContent:le("tooltip_interactive_seek"),disabledTooltipContent:le(i[72]),$$slots:{default:[N5]},$$scope:{ctx:i}};return i[23].seekToInteractiveButton!==void 0&&(r.ref=i[23].seekToInteractiveButton),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[2]&128&&(a.disabled=l[69]),s[2]&1024&&(a.disabledTooltipContent=le(l[72])),s[0]&32768|s[2]&128|s[6]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].seekToInteractiveButton,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function N5(i){let e,t;return e=new Mc({props:{disabled:i[69],click:i[15]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[2]&128&&(r.disabled=n[69]),o[0]&32768&&(r.click=n[15]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function O5(i){let e,t,n;function o(l){i[162](l)}let r={controlInfo:i[94].interactiveGraphButton,tooltipContent:i[43],disabled:i[70],$$slots:{default:[D5]},$$scope:{ctx:i}};return i[23].interactiveGraphButton!==void 0&&(r.ref=i[23].interactiveGraphButton),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[1]&4096&&(a.tooltipContent=l[43]),s[2]&256&&(a.disabled=l[70]),s[0]&134283264|s[2]&256|s[6]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].interactiveGraphButton,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function D5(i){let e,t;return e=new Bc({props:{click:i[16],graphIsOpened:i[27],disabled:i[70]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&65536&&(r.click=n[16]),o[0]&134217728&&(r.graphIsOpened=n[27]),o[2]&256&&(r.disabled=n[70]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function _a(i){let e,t,n;function o(l){i[163](l)}let r={controlInfo:i[94].liveButton,tooltipContent:i[44],$$slots:{default:[z5]},$$scope:{ctx:i}};return i[23].liveButton!==void 0&&(r.ref=i[23].liveButton),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[1]&8192&&(a.tooltipContent=l[44]),s[0]&2097152|s[6]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].liveButton,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function z5(i){let e,t;return e=new Ec({props:{isActiveLive:i[21],click:i[115],isMobile:!1}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.isActiveLive=n[21]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ka(i){let e,t,n;function o(l){i[164](l)}let r={isMobile:!1,showDuration:i[49],position:i[4]?i[73]:i[74],duration:i[4]?i[75]:i[76]};return i[23].time!==void 0&&(r.ref=i[23].time),e=new kc({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[1]&262144&&(a.showDuration=l[49]),s[0]&16|s[2]&6144&&(a.position=l[4]?l[73]:l[74]),s[0]&16|s[2]&24576&&(a.duration=l[4]?l[75]:l[76]),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].time,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function wa(i){let e,t;return e=new Vc({props:{position:i[74],duration:i[76],timeCodes:i[95]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[2]&4096&&(r.position=n[74]),o[2]&16384&&(r.duration=n[76]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function F5(i){let e,t,n=i[20]&&wa(i);return{c(){n&&n.c(),e=Tt()},m(o,r){n&&n.m(o,r),C(o,e,r),t=!0},p(o,r){o[20]?n?(n.p(o,r),r[0]&1048576&&h(n,1)):(n=wa(o),n.c(),h(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),pe())},i(o){t||(h(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function H5(i){var n;let e,t;return e=new Nc({props:{iconUrl:i[186],ariaLabel:(n=i[187])!=null?n:i[190],testId:i[188],onClick:i[189]}}),{c(){H(e.$$.fragment)},m(o,r){z(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&16777216&&(l.iconUrl=o[186]),r[0]&16777216&&(l.ariaLabel=(s=o[187])!=null?s:o[190]),r[0]&16777216&&(l.testId=o[188]),r[0]&16777216&&(l.onClick=o[189]),e.$set(l)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){p(e.$$.fragment,o),t=!1},d(o){F(e,o)}}}function ya(i){let e,t;return e=new Xt({props:{tooltipContent:i[190],controlInfo:i[94].additionalButtons[i[192]],width:40,$$slots:{default:[H5]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&16777216&&(r.tooltipContent=n[190]),o[0]&16777216|o[6]&128&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ca(i){let e,t,n;function o(l){i[167](l)}let r={disabled:!i[6],controlInfo:i[94].vkLogo,tooltipContent:i[45],$$slots:{default:[U5]},$$scope:{ctx:i}};return i[23].vkLogo!==void 0&&(r.ref=i[23].vkLogo),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[0]&64&&(a.disabled=!l[6]),s[1]&16384&&(a.tooltipContent=l[45]),s[0]&192|s[6]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].vkLogo,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function U5(i){let e,t;return e=new Tc({props:{click:i[80],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&64&&(r.logoClickable=n[6]),o[0]&128&&(r.videoLogoUrl=n[7]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function j5(i){let e,t;return e=new mp({props:{isAudioAvailable:i[71],click:i[117]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[2]&512&&(r.isAudioAvailable=n[71]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Pa(i){let e,t,n;function o(l){i[169](l)}let r={controlInfo:i[94].subtitles,tooltipContent:i[46],$$slots:{default:[q5]},$$scope:{ctx:i}};return i[23].subtitles!==void 0&&(r.ref=i[23].subtitles),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[1]&32768&&(a.tooltipContent=l[46]),s[0]&262144|s[6]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].subtitles,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function q5(i){let e,t;return e=new Eh({props:{isSubtitlesEnabled:i[18],click:i[81]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&262144&&(r.isSubtitlesEnabled=n[18]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ta(i){var o;let e,t,n;return t=new _c({props:{supportLink:i[10],playerControlsHeight:(o=i[41])==null?void 0:o.clientHeight,returnFocus:i[14]}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","settings-menu v-1cwzjrb")},m(r,l){C(r,e,l),z(t,e,null),n=!0},p(r,l){var a;const s={};l[0]&1024&&(s.supportLink=r[10]),l[1]&1024&&(s.playerControlsHeight=(a=r[41])==null?void 0:a.clientHeight),l[0]&16384&&(s.returnFocus=r[14]),t.$set(s)},i(r){n||(h(t.$$.fragment,r),n=!0)},o(r){p(t.$$.fragment,r),n=!1},d(r){r&&y(e),F(t)}}}function Sa(i){let e,t,n;function o(l){i[170](l)}let r={controlInfo:i[94].settings,tooltipContent:i[78]?void 0:le("tooltip_settings_off"),$$slots:{default:[Z5]},$$scope:{ctx:i}};return i[23].settings!==void 0&&(r.ref=i[23].settings),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[2]&65536&&(a.tooltipContent=l[78]?void 0:le("tooltip_settings_off")),s[6]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].settings,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Z5(i){let e,t;return e=new gr({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ea(i){let e,t,n;function o(l){i[171](l)}let r={controlInfo:i[94].fullscreen,tooltipContent:i[47],$$slots:{default:[W5]},$$scope:{ctx:i}};return i[23].fullscreen!==void 0&&(r.ref=i[23].fullscreen),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.tooltipContent=l[47]),s[0]&67117056|s[6]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].fullscreen,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function W5(i){let e,t;return e=new Cc({props:{click:i[13],isFullscreen:i[26]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&8192&&(r.click=n[13]),o[0]&67108864&&(r.isFullscreen=n[26]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Aa(i){let e,t,n;function o(l){i[172](l)}let r={controlInfo:i[94].chromecast,tooltipContent:i[48],$$slots:{default:[G5]},$$scope:{ctx:i}};return i[23].chromecast!==void 0&&(r.ref=i[23].chromecast),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[1]&131072&&(a.tooltipContent=l[48]),s[0]&33554432|s[6]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].chromecast,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function G5(i){let e,t;return e=new Sc({props:{isMobile:!1,state:i[25],click:i[114]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&33554432&&(r.state=n[25]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Y5(i){let e,t,n,o,r,l,s,a,c,f,d,g,v,b,T,_,A,E,V,B,oe,O,q,D,de,ae,Z,ce,J;t=new Lc({props:{isHidden:!i[40],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[28]}});let S=i[34]&&pa(i),I=i[31]&&va(i),re=i[32]&&ga(i),G=i[33]&&ba(i),we=i[107]&&V5(i),se=!i[4]&&i[29]&&_a(i),K=i[19]&&ka(i);function ne(X){i[165](X)}let Be={className:"w-max",disabled:!i[20],controlInfo:i[94].episodes,tooltipContent:le("tooltip_episodes"),$$slots:{default:[F5]},$$scope:{ctx:i}};i[23].episodes!==void 0&&(Be.ref=i[23].episodes),v=new Xt({props:Be}),Ve.push(()=>Je(v,"ref",ne));let R=Yt(i[24]),ue=[];for(let X=0;X<R.length;X+=1)ue[X]=ya(ha(i,R,X));const k=X=>p(ue[X],1,1,()=>{ue[X]=null});let $=i[38]&&Ca(i);function ze(X){i[168](X)}let Te={$$slots:{default:[j5]},$$scope:{ctx:i}};i[23].volume!==void 0&&(Te.ref=i[23].volume),B=new Xt({props:Te}),Ve.push(()=>Je(B,"ref",ze));let Le=i[36]&&Pa(i),Ee=!i[77]&&!i[4]&&Ta(i),ge=i[37]&&Sa(i),Se=i[39]&&Ea(i),Ce=i[35]&&Aa(i);return{c(){e=w("div"),H(t.$$.fragment),n=N(),o=w("div"),r=w("div"),S&&S.c(),l=N(),I&&I.c(),s=N(),re&&re.c(),a=N(),G&&G.c(),c=N(),we&&we.c(),f=N(),se&&se.c(),d=N(),K&&K.c(),g=N(),H(v.$$.fragment),_=N(),A=w("div");for(let X=0;X<ue.length;X+=1)ue[X].c();E=N(),$&&$.c(),V=N(),H(B.$$.fragment),O=N(),Le&&Le.c(),q=N(),Ee&&Ee.c(),D=N(),ge&&ge.c(),de=N(),Se&&Se.c(),ae=N(),Ce&&Ce.c(),u(r,"class","controls-left v-1cwzjrb"),bo(()=>i[166].call(r)),u(A,"class","controls-right v-1cwzjrb"),u(o,"class","controls v-1cwzjrb"),u(e,"class","wrapper-bottom v-1cwzjrb"),L(e,"hidden",i[1]),L(e,"controls-hidden",!i[3]),L(e,"no-smooth",i[2])},m(X,j){C(X,e,j),z(t,e,null),m(e,n),m(e,o),m(o,r),S&&S.m(r,null),m(r,l),I&&I.m(r,null),m(r,s),re&&re.m(r,null),m(r,a),G&&G.m(r,null),m(r,c),we&&we.m(r,null),m(r,f),se&&se.m(r,null),m(r,d),K&&K.m(r,null),m(r,g),z(v,r,null),T=sr(r,i[166].bind(r)),m(o,_),m(o,A);for(let Fe=0;Fe<ue.length;Fe+=1)ue[Fe]&&ue[Fe].m(A,null);m(A,E),$&&$.m(A,null),m(A,V),z(B,A,null),m(A,O),Le&&Le.m(A,null),m(A,q),Ee&&Ee.m(A,null),m(A,D),ge&&ge.m(A,null),m(A,de),Se&&Se.m(A,null),m(A,ae),Ce&&Ce.m(A,null),i[173](o),i[174](e),Z=!0,ce||(J=[Pe(e,"pointermove",i[116]),Pe(e,"pointerenter",i[116])],ce=!0)},p(X,j){const Fe={};j[1]&512&&(Fe.isHidden=!X[40]),j[0]&16&&(Fe.isAds=X[4]),j[0]&32&&(Fe.canRewindLive=X[5]),j[0]&268435456&&(Fe.isRewindableLive=X[28]),t.$set(Fe),X[34]?S?(S.p(X,j),j[1]&8&&h(S,1)):(S=pa(X),S.c(),h(S,1),S.m(r,l)):S&&(he(),p(S,1,1,()=>{S=null}),pe()),X[31]?I?(I.p(X,j),j[1]&1&&h(I,1)):(I=va(X),I.c(),h(I,1),I.m(r,s)):I&&(he(),p(I,1,1,()=>{I=null}),pe()),X[32]?re?(re.p(X,j),j[1]&2&&h(re,1)):(re=ga(X),re.c(),h(re,1),re.m(r,a)):re&&(he(),p(re,1,1,()=>{re=null}),pe()),X[33]?G?(G.p(X,j),j[1]&4&&h(G,1)):(G=ba(X),G.c(),h(G,1),G.m(r,c)):G&&(he(),p(G,1,1,()=>{G=null}),pe()),X[107]&&we.p(X,j),!X[4]&&X[29]?se?(se.p(X,j),j[0]&536870928&&h(se,1)):(se=_a(X),se.c(),h(se,1),se.m(r,d)):se&&(he(),p(se,1,1,()=>{se=null}),pe()),X[19]?K?(K.p(X,j),j[0]&524288&&h(K,1)):(K=ka(X),K.c(),h(K,1),K.m(r,g)):K&&(he(),p(K,1,1,()=>{K=null}),pe());const Ze={};if(j[0]&1048576&&(Ze.disabled=!X[20]),j[0]&1048576|j[2]&20480|j[6]&128&&(Ze.$$scope={dirty:j,ctx:X}),!b&&j[0]&8388608&&(b=!0,Ze.ref=X[23].episodes,Qe(()=>b=!1)),v.$set(Ze),j[0]&16777216|j[3]&2){R=Yt(X[24]);let He;for(He=0;He<R.length;He+=1){const vt=ha(X,R,He);ue[He]?(ue[He].p(vt,j),h(ue[He],1)):(ue[He]=ya(vt),ue[He].c(),h(ue[He],1),ue[He].m(A,E))}for(he(),He=R.length;He<ue.length;He+=1)k(He);pe()}X[38]?$?($.p(X,j),j[1]&128&&h($,1)):($=Ca(X),$.c(),h($,1),$.m(A,V)):$&&(he(),p($,1,1,()=>{$=null}),pe());const rt={};j[2]&512|j[6]&128&&(rt.$$scope={dirty:j,ctx:X}),!oe&&j[0]&8388608&&(oe=!0,rt.ref=X[23].volume,Qe(()=>oe=!1)),B.$set(rt),X[36]?Le?(Le.p(X,j),j[1]&32&&h(Le,1)):(Le=Pa(X),Le.c(),h(Le,1),Le.m(A,q)):Le&&(he(),p(Le,1,1,()=>{Le=null}),pe()),!X[77]&&!X[4]?Ee?(Ee.p(X,j),j[0]&16|j[2]&32768&&h(Ee,1)):(Ee=Ta(X),Ee.c(),h(Ee,1),Ee.m(A,D)):Ee&&(he(),p(Ee,1,1,()=>{Ee=null}),pe()),X[37]?ge?(ge.p(X,j),j[1]&64&&h(ge,1)):(ge=Sa(X),ge.c(),h(ge,1),ge.m(A,de)):ge&&(he(),p(ge,1,1,()=>{ge=null}),pe()),X[39]?Se?(Se.p(X,j),j[1]&256&&h(Se,1)):(Se=Ea(X),Se.c(),h(Se,1),Se.m(A,ae)):Se&&(he(),p(Se,1,1,()=>{Se=null}),pe()),X[35]?Ce?(Ce.p(X,j),j[1]&16&&h(Ce,1)):(Ce=Aa(X),Ce.c(),h(Ce,1),Ce.m(A,null)):Ce&&(he(),p(Ce,1,1,()=>{Ce=null}),pe()),(!Z||j[0]&2)&&L(e,"hidden",X[1]),(!Z||j[0]&8)&&L(e,"controls-hidden",!X[3]),(!Z||j[0]&4)&&L(e,"no-smooth",X[2])},i(X){if(!Z){h(t.$$.fragment,X),h(S),h(I),h(re),h(G),h(we),h(se),h(K),h(v.$$.fragment,X);for(let j=0;j<R.length;j+=1)h(ue[j]);h($),h(B.$$.fragment,X),h(Le),h(Ee),h(ge),h(Se),h(Ce),Z=!0}},o(X){p(t.$$.fragment,X),p(S),p(I),p(re),p(G),p(we),p(se),p(K),p(v.$$.fragment,X),ue=ue.filter(Boolean);for(let j=0;j<ue.length;j+=1)p(ue[j]);p($),p(B.$$.fragment,X),p(Le),p(Ee),p(ge),p(Se),p(Ce),Z=!1},d(X){X&&y(e),F(t),S&&S.d(),I&&I.d(),re&&re.d(),G&&G.d(),we&&we.d(),se&&se.d(),K&&K.d(),F(v),T(),_n(ue,X),$&&$.d(),F(B),Le&&Le.d(),Ee&&Ee.d(),ge&&ge.d(),Se&&Se.d(),Ce&&Ce.d(),i[173](null),i[174](null),ce=!1,Qt(J)}}}function K5(i,e,t){var Cr,Pr;let n,o,r,l,s,a,c,f,d,g,v,b,T,_,A,E,V,B,oe,O,q,D,de,ae,Z,ce,J,S=U,I=()=>(S(),S=xt(D,Q=>t(131,J=Q)),D),re,G=U,we=()=>(G(),G=xt(q,Q=>t(132,re=Q)),q),se,K=U,ne=()=>(K(),K=xt(O,Q=>t(133,se=Q)),O),Be,R=U,ue=()=>(R(),R=xt(oe,Q=>t(134,Be=Q)),oe),k,$=U,ze=()=>($(),$=xt(B,Q=>t(135,k=Q)),B),Te,Le=U,Ee=()=>(Le(),Le=xt(V,Q=>t(136,Te=Q)),V),ge,Se=U,Ce=()=>(Se(),Se=xt(E,Q=>t(137,ge=Q)),E),X,j=U,Fe=()=>(j(),j=xt(A,Q=>t(138,X=Q)),A),Ze,rt=U,He=()=>(rt(),rt=xt(_,Q=>t(139,Ze=Q)),_),vt,ht=U,Ot=()=>(ht(),ht=xt(T,Q=>t(140,vt=Q)),T),dt,Re=U,Dt=()=>(Re(),Re=xt(b,Q=>t(141,dt=Q)),b),te,nt=U,st=()=>(nt(),nt=xt(v,Q=>t(142,te=Q)),v),Ye,xe=U,$e=()=>(xe(),xe=xt(g,Q=>t(143,Ye=Q)),g),et,ot=U,Lt=()=>(ot(),ot=xt(d,Q=>t(144,et=Q)),d),lt,at=U,Ke=()=>(at(),at=xt(f,Q=>t(145,lt=Q)),f),Xe,$t=U,_t=()=>($t(),$t=xt(c,Q=>t(146,Xe=Q)),c),pt,Nt,ft,oi,fe,ye,Ie,Vt,ei,Ae,qt,Jt,kt,Zt,Ti,Wi,Gi,Yi,gt,Si,nn;i.$$.on_destroy.push(()=>S()),i.$$.on_destroy.push(()=>G()),i.$$.on_destroy.push(()=>K()),i.$$.on_destroy.push(()=>R()),i.$$.on_destroy.push(()=>$()),i.$$.on_destroy.push(()=>Le()),i.$$.on_destroy.push(()=>Se()),i.$$.on_destroy.push(()=>j()),i.$$.on_destroy.push(()=>rt()),i.$$.on_destroy.push(()=>ht()),i.$$.on_destroy.push(()=>Re()),i.$$.on_destroy.push(()=>nt()),i.$$.on_destroy.push(()=>xe()),i.$$.on_destroy.push(()=>ot()),i.$$.on_destroy.push(()=>at()),i.$$.on_destroy.push(()=>$t());let{bottomHidden:Ki}=e,{bottomNoSmooth:Ct}=e,{showControls:Di}=e,{controlsElementRef:Ut=void 0}=e,{isAds:Wt=!1}=e,{canRewindLive:Ei}=e,{logoClickable:Ai}=e,{logoHidden:bi}=e,{videoLogoUrl:di}=e,{showNextPrevButtons:mi}=e,{nextButtonActive:_i}=e,{prevButtonActive:ri}=e,{isOneVideoPlaylist:Ii=!1}=e,{supportLink:si}=e,{customFullscreenSupported:ki=!0}=e,{playNextVideo:zi}=e,{playPrevVideo:wi}=e,{repeatPlaylist:It}=e,{toggleFullscreen:ai}=e,{returnFocus:Li}=e,{seekToInteractive:yi}=e,{toggleGraph:Ci}=e,{playPrevChapter:Fi}=e;const qe=Rt(),ui=tn(),Hi=qe.actions.internal.toggleMuted,li=qe.actions.internal.togglePlay,Vi=qe.actions.internal.pause,ti=qe.actions.internal.toggleSubtitle,Me=(Cr=qe.callbacks)==null?void 0:Cr.onAudioDoesNotExistHint,Pi=(Pr=qe.callbacks)==null?void 0:Pr.onAudioDisabledHint,Xi=qe.state.duration$;W(i,Xi,Q=>t(76,gt=Q));const Qi=qe.state.positionWithScrubbing$;W(i,Qi,Q=>t(74,Gi=Q));const on=qe.state.playbackState$;W(i,on,Q=>t(147,oi=Q));const Ji=qe.state.chromecastConnected$;W(i,Ji,Q=>t(77,Si=Q));const Mi=qe.state.isAudioAvailable$;W(i,Mi,Q=>t(71,de=Q));const xi=qe.state.isAudioDisabled,Bi=qe.state.isEnded$;W(i,Bi,Q=>t(152,qt=Q));const zt=qe.state.isLive$;W(i,zt,Q=>t(29,Ie=Q));const hi=qe.state.isActiveLive$;W(i,hi,Q=>t(148,fe=Q));const Ri=qe.state.isRewindableLive$;W(i,Ri,Q=>t(28,ye=Q));const hn=qe.ui.isPictureInPictureActive$;W(i,hn,Q=>t(150,ei=Q));const Gt=qe.ui.pictureInPictureType$;W(i,Gt,Q=>t(149,Vt=Q));const ln=qe.ui.settingsMenuVisible;W(i,ln,Q=>t(78,nn=Q));const rn=qe.ui.controls,Ni=qe.actions.internal.getVideoEpisodes(),yn=qe.state.chromecastState$;W(i,yn,Q=>t(25,pt=Q));const $i=qe.state.availableSubtitlesList$;W(i,$i,Q=>t(151,Ae=Q));const pi=qe.state.currentSubtitle$;W(i,pi,Q=>t(153,Jt=Q));const Cn=rn.disabledControls$;W(i,Cn,Q=>t(155,Zt=Q));const pn=qe.ads.duration;W(i,pn,Q=>t(75,Yi=Q));const sn=qe.ads.position;W(i,sn,Q=>t(73,Wi=Q));const an=qe.ads.playbackState;W(i,an,Q=>t(154,kt=Q));const un=qe.ui.isFullscreen;W(i,un,Q=>t(26,Nt=Q));const cn=qe.ui.playerSize;W(i,cn,Q=>t(129,ae=Q));const Pn=qe.ui.currentGridType$;W(i,Pn,Q=>t(130,Z=Q));const Tn=qe.ui.additionalButtons$;W(i,Tn,Q=>t(24,ce=Q));const x=qe.actions.internal.getVideoElement,wt=qe.actions.internal.replayInteractive,ii=qe.state.isInteractive,Ui=qe.state.isInteractiveGraphEnabled,fn=qe.state.isSeekToInteractiveEnable,ji=qe.state.isPlayPrevChapterEnabled,Vn=qe.state.graphIsOpened$;W(i,Vn,Q=>t(27,ft=Q));const ee=qe.state.playPrevChapterDisabledTooltip,xn=qe.state.seekToInteractiveDisabledTooltip$;W(i,xn,Q=>t(72,Ti=Q));const yo=()=>qe.actions.internal.toggleChromecast(),Co=()=>qe.actions.internal.switchToActiveLive(),Po=Q=>{qe.ui.controls.tooltipPointerOffsetX.update(()=>me?Math.min(Math.max(Q.x-me.x,0),me.width):0)};let Y,Pt,en,Oi,Sn,Wn,$n,To,Wo,So,Go,Yo,Eo,Ko,Gn,On,eo,Xo,Ao,to,Io,Qo,Mt,P,ie,me;const ve={};let Oe,ct,St,yt;const vi=dl(Hc,Lr,{leading:!1}),io=dl(()=>{Ut&&(me=Ut.getBoundingClientRect())},Lr,{leading:!1});function yl(){xi?Pi==null||Pi():de?Hi():Me==null||Me()}const Jo=ii?wt:Ii?li:It;function ef(Q){i.$$.not_equal(ve.prevButton,Q)&&(ve.prevButton=Q,t(23,ve))}function tf(Q){i.$$.not_equal(ve.replayButton,Q)&&(ve.replayButton=Q,t(23,ve))}function nf(Q){i.$$.not_equal(ve.playButton,Q)&&(ve.playButton=Q,t(23,ve))}function of(Q){i.$$.not_equal(ve.nextButton,Q)&&(ve.nextButton=Q,t(23,ve))}function lf(Q){i.$$.not_equal(ve.playPrevChapterButton,Q)&&(ve.playPrevChapterButton=Q,t(23,ve))}function rf(Q){i.$$.not_equal(ve.seekToInteractiveButton,Q)&&(ve.seekToInteractiveButton=Q,t(23,ve))}function sf(Q){i.$$.not_equal(ve.interactiveGraphButton,Q)&&(ve.interactiveGraphButton=Q,t(23,ve))}function af(Q){i.$$.not_equal(ve.liveButton,Q)&&(ve.liveButton=Q,t(23,ve))}function uf(Q){i.$$.not_equal(ve.time,Q)&&(ve.time=Q,t(23,ve))}function cf(Q){i.$$.not_equal(ve.episodes,Q)&&(ve.episodes=Q,t(23,ve))}function ff(){ie=this.clientWidth,t(22,ie)}function df(Q){i.$$.not_equal(ve.vkLogo,Q)&&(ve.vkLogo=Q,t(23,ve))}function mf(Q){i.$$.not_equal(ve.volume,Q)&&(ve.volume=Q,t(23,ve))}function hf(Q){i.$$.not_equal(ve.subtitles,Q)&&(ve.subtitles=Q,t(23,ve))}function pf(Q){i.$$.not_equal(ve.settings,Q)&&(ve.settings=Q,t(23,ve))}function vf(Q){i.$$.not_equal(ve.fullscreen,Q)&&(ve.fullscreen=Q,t(23,ve))}function gf(Q){i.$$.not_equal(ve.chromecast,Q)&&(ve.chromecast=Q,t(23,ve))}function bf(Q){Ve[Q?"unshift":"push"](()=>{On=Q,t(41,On)})}function _f(Q){Ve[Q?"unshift":"push"](()=>{Ut=Q,t(0,Ut)})}return i.$$set=Q=>{"bottomHidden"in Q&&t(1,Ki=Q.bottomHidden),"bottomNoSmooth"in Q&&t(2,Ct=Q.bottomNoSmooth),"showControls"in Q&&t(3,Di=Q.showControls),"controlsElementRef"in Q&&t(0,Ut=Q.controlsElementRef),"isAds"in Q&&t(4,Wt=Q.isAds),"canRewindLive"in Q&&t(5,Ei=Q.canRewindLive),"logoClickable"in Q&&t(6,Ai=Q.logoClickable),"logoHidden"in Q&&t(119,bi=Q.logoHidden),"videoLogoUrl"in Q&&t(7,di=Q.videoLogoUrl),"showNextPrevButtons"in Q&&t(120,mi=Q.showNextPrevButtons),"nextButtonActive"in Q&&t(8,_i=Q.nextButtonActive),"prevButtonActive"in Q&&t(9,ri=Q.prevButtonActive),"isOneVideoPlaylist"in Q&&t(121,Ii=Q.isOneVideoPlaylist),"supportLink"in Q&&t(10,si=Q.supportLink),"customFullscreenSupported"in Q&&t(122,ki=Q.customFullscreenSupported),"playNextVideo"in Q&&t(11,zi=Q.playNextVideo),"playPrevVideo"in Q&&t(12,wi=Q.playPrevVideo),"repeatPlaylist"in Q&&t(123,It=Q.repeatPlaylist),"toggleFullscreen"in Q&&t(13,ai=Q.toggleFullscreen),"returnFocus"in Q&&t(14,Li=Q.returnFocus),"seekToInteractive"in Q&&t(15,yi=Q.seekToInteractive),"toggleGraph"in Q&&t(16,Ci=Q.toggleGraph),"playPrevChapter"in Q&&t(17,Fi=Q.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[5]&1&&t(128,n=Zt.has(bt.EPISODE_BUTTON)),i.$$.dirty[5]&1&&t(70,o=Zt.has(bt.GRAPH_BUTTON)),i.$$.dirty[5]&1&&t(69,r=Zt.has(bt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[5]&1&&t(68,l=Zt.has(bt.PLAY_BUTTON)),i.$$.dirty[5]&1&&t(67,s=Zt.has(bt.REPLAY_BUTTON)),i.$$.dirty[5]&1&&t(66,a=Zt.has(bt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[4]&1082130432&&t(30,Y=Wt?kt===Kt.PLAYING:oi===gi.PLAYING),i.$$.dirty[4]&536870912&&t(18,Pt=Jt.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[4]&268435456&&t(31,en=qt&&!Wt||ii),i.$$.dirty[0]&16|i.$$.dirty[4]&268435456&&t(32,Oi=!qt||ii||Wt),i.$$.dirty[4]&64&&t(124,Sn=vn(Z,Bt.M)),i.$$.dirty[0]&272|i.$$.dirty[3]&134217728|i.$$.dirty[4]&64&&t(33,Wn=mi&&vn(Z,Bt.M)&&!Wt&&_i),i.$$.dirty[0]&528|i.$$.dirty[3]&134217728|i.$$.dirty[4]&64&&t(34,$n=mi&&vn(Z,Bt.M)&&!Wt&&ri),i.$$.dirty[0]&33554432|i.$$.dirty[4]&100663360&&t(35,To=pt!==In.NOT_AVAILABLE&&!(ei&&Vt===Rn.DocumentPictureInPicture)&&vn(Z,Bt.M)&&!ii),i.$$.dirty[4]&134217792&&t(36,Wo=Ae.length>0&&vn(Z,Bt.M)),i.$$.dirty[4]&64&&t(37,So=vn(Z,Bt.S)),i.$$.dirty[3]&67108864&&t(38,Go=!bi),i.$$.dirty[3]&603979776|i.$$.dirty[4]&100663360&&t(39,Yo=ui.features.fullscreen&&(bi||vn(Z,Bt.S))&&!(ei&&Vt===Rn.DocumentPictureInPicture)&&(ii?ki:!0)),i.$$.dirty[0]&536870928&&t(19,Eo=(!Ie||Wt)&&!(ui.features.interactiveHideTime&&ii)),i.$$.dirty[4]&32&&t(40,Ko=ae.width>100),i.$$.dirty[0]&536870928|i.$$.dirty[4]&17&&t(20,Gn=!Wt&&!Ie&&!!(Ni!=null&&Ni.length)&&Sn&&!n),i.$$.dirty[0]&268435456|i.$$.dirty[4]&16777216&&t(21,eo=!ye||fe),i.$$.dirty[4]&8388608&&t(42,Xo=oi===gi.PLAYING?le("tooltip_pause"):le("tooltip_play")),i.$$.dirty[0]&134217728&&t(43,Ao=le(ft?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[0]&2097152&&t(44,to=eo?"":le("tooltip_live")),i.$$.dirty[0]&262144&&t(46,Qo=le(Pt?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[0]&67108864&&t(47,Mt=le(Nt?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[0]&33554432&&t(48,P=pt===In.CONNECTED?le("tooltip_chromecast_on"):le("tooltip_chromecast_off")),i.$$.dirty[0]&16777216|i.$$.dirty[4]&8388480&&t(125,Oe={prevButton:Xe?Xe.right-Xe.left:0,replayButton:lt?lt.right-lt.left:0,playButton:et?et.right-et.left:0,nextButton:Ye?Ye.right-Ye.left:0,playPrevChapterButton:te?te.right-te.left:0,seekToInteractiveButton:dt?dt.right-dt.left:0,interactiveGraphButton:vt?vt.right-vt.left:0,liveButton:Ze?Ze.right-Ze.left:0,time:X?X.right-X.left:0,episodes:ge?ge.right-ge.left:0,vkLogo:Te?Te.right-Te.left:0,volume:k?k.right-k.left:0,subtitles:Be?Be.right-Be.left:0,settings:se?se.right-se.left:0,fullscreen:re?re.right-re.left:0,chromecast:J?J.right-J.left:0,additionalButtons:ce.length?ce.reduce(Q=>[...Q,40],[]):[]}),i.$$.dirty[4]&6&&(!ct||ct<Oe.time)&&t(126,ct=Oe.time),i.$$.dirty[0]&5767168|i.$$.dirty[4]&70){let Q=0;Gn&&(vn(Z,Bt.XL)?Q=Oe.time:Q=m0);const kf=Oe.prevButton+Oe.playButton+Oe.nextButton+Oe.seekToInteractiveButton+Oe.interactiveGraphButton+Oe.liveButton+ct+Q;t(127,St=Eo&&ie>=kf)}i.$$.dirty[4]&72&&t(49,yt=St&&vn(Z,Bt.M)),i.$$.dirty[0]&8388616|i.$$.dirty[4]&32&&(io(),vi(x(),rn,ve,Di))},t(45,Io=ui.logoType===_o.VK_VIDEO?le("tooltip_vk_video_logo"):le("tooltip_vk_logo")),_t(t(65,{prevButton:c,replayButton:f,playButton:d,nextButton:g,playPrevChapterButton:v,seekToInteractiveButton:b,interactiveGraphButton:T,liveButton:_,time:A,episodes:E,vkLogo:V,volume:B,subtitles:oe,settings:O,fullscreen:q,chromecast:D}=rn,c,Ke(t(64,f)),Lt(t(63,d)),$e(t(62,g)),st(t(61,v)),Dt(t(60,b)),Ot(t(59,T)),He(t(58,_)),Fe(t(57,A)),Ce(t(56,E)),Ee(t(55,V)),ze(t(54,B)),ue(t(53,oe)),ne(t(52,O)),we(t(51,q)),I(t(50,D)))),[Ut,Ki,Ct,Di,Wt,Ei,Ai,di,_i,ri,si,zi,wi,ai,Li,yi,Ci,Fi,Pt,Eo,Gn,eo,ie,ve,ce,pt,Nt,ft,ye,Ie,Y,en,Oi,Wn,$n,To,Wo,So,Go,Yo,Ko,On,Xo,Ao,to,Io,Qo,Mt,P,yt,D,q,O,oe,B,V,E,A,_,T,b,v,g,d,f,c,a,s,l,r,o,de,Ti,Wi,Gi,Yi,gt,Si,nn,li,Vi,ti,Xi,Qi,on,Ji,Mi,Bi,zt,hi,Ri,hn,Gt,ln,rn,Ni,yn,$i,pi,Cn,pn,sn,an,un,cn,Pn,Tn,ii,Ui,fn,ji,Vn,ee,xn,yo,Co,Po,yl,Jo,bi,mi,Ii,ki,It,Sn,Oe,ct,St,n,ae,Z,J,re,se,Be,k,Te,ge,X,Ze,vt,dt,te,Ye,et,lt,Xe,oi,fe,Vt,ei,Ae,qt,Jt,kt,Zt,ef,tf,nf,of,lf,rf,sf,af,uf,cf,ff,df,mf,hf,pf,vf,gf,bf,_f]}class X5 extends ke{constructor(e){super(),_e(this,e,K5,Y5,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:119,videoLogoUrl:7,showNextPrevButtons:120,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:121,supportLink:10,customFullscreenSupported:122,playNextVideo:11,playPrevVideo:12,repeatPlaylist:123,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},S5,[-1,-1,-1,-1,-1,-1,-1])}}function Q5(i){let e,t,n,o;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(r,l){C(r,e,l),m(e,t),m(t,n),m(t,o)},p:U,i:U,o:U,d(r){r&&y(e)}}}class J5 extends ke{constructor(e){super(),_e(this,e,null,Q5,be,{})}}function x5(i){je(i,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function Ia(i){let e;return{c(){e=w("span"),e.textContent=`${le("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){C(t,e,n)},p:U,d(t){t&&y(e)}}}function $5(i){let e,t,n,o;var r=i[4];function l(a){return{}}r&&(t=Ln(r,l()));let s=i[1]&&Ia();return{c(){e=w("div"),t&&H(t.$$.fragment),n=N(),s&&s.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),L(e,"expanded",i[1])},m(a,c){C(a,e,c),t&&z(t,e,null),m(e,n),s&&s.m(e,null),o=!0},p(a,c){if(c&16&&r!==(r=a[4])){if(t){he();const f=t;p(f.$$.fragment,1,0,()=>{F(f,1)}),pe()}r?(t=Ln(r,l()),H(t.$$.fragment),h(t.$$.fragment,1),z(t,e,n)):t=null}a[1]?s?s.p(a,c):(s=Ia(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!o||c&2)&&L(e,"expanded",a[1])},i(a){o||(t&&h(t.$$.fragment,a),o=!0)},o(a){t&&p(t.$$.fragment,a),o=!1},d(a){a&&y(e),t&&F(t),s&&s.d()}}}function eg(i){let e,t,n;function o(l){i[6](l)}let r={testId:i[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[2],ariaLabel:i[3],$$slots:{default:[$5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new fi({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.testId=l[1]?"btn-mobile-unmuted":"btn-mobile-muted"),s&4&&(a.click=l[2]),s&8&&(a.ariaLabel=l[3]),s&146&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function tg(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:r=Ge}=e,{ref:l=void 0}=e,s,a;function c(f){l=f,t(0,l)}return i.$$set=f=>{"muted"in f&&t(5,n=f.muted),"expanded"in f&&t(1,o=f.expanded),"click"in f&&t(2,r=f.click),"ref"in f&&t(0,l=f.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,s=le(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&2&&t(4,a=o?kl:J5)},[l,o,r,s,a,n,c]}class Uc extends ke{constructor(e){super(),_e(this,e,tg,eg,be,{muted:5,expanded:1,click:2,ref:0},x5)}}function ig(i){let e,t,n,o;return{c(){e=M("svg"),t=M("path"),n=M("path"),o=M("path"),u(t,"fill",i[1]),u(t,"clip-rule","evenodd"),u(t,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",i[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),L(n,"hidden",!i[0]),u(o,"fill",i[1]),u(o,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),L(o,"hidden",i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(r,l){C(r,e,l),m(e,t),m(e,n),m(e,o)},p(r,[l]){l&2&&u(t,"fill",r[1]),l&2&&u(n,"fill",r[1]),l&1&&L(n,"hidden",!r[0]),l&2&&u(o,"fill",r[1]),l&1&&L(o,"hidden",r[0])},i:U,o:U,d(r){r&&y(e)}}}function ng(i,e,t){let n,{isActive:o=!1}=e;return i.$$set=r=>{"isActive"in r&&t(0,o=r.isActive)},i.$$.update=()=>{i.$$.dirty&1&&t(1,n=o?"#2688EB":"#fff")},[o,n]}class og extends ke{constructor(e){super(),_e(this,e,ng,ig,be,{isActive:0})}}function lg(i){let e,t;return e=new og({props:{isActive:i[1]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isActive=n[1]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function rg(i){let e,t,n;function o(l){i[3](l)}let r={testId:"btn-pip",ariaLabel:le("menu_pip"),click:i[2],$$slots:{default:[lg]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new fi({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,[s]){const a={};s&4&&(a.click=l[2]),s&18&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function sg(i,e,t){let{ref:n=void 0}=e,{isPictureInPictureActive:o=!1}=e,{click:r=Ge}=e;function l(s){n=s,t(0,n)}return i.$$set=s=>{"ref"in s&&t(0,n=s.ref),"isPictureInPictureActive"in s&&t(1,o=s.isPictureInPictureActive),"click"in s&&t(2,r=s.click)},[n,o,r,l]}class ag extends ke{constructor(e){super(),_e(this,e,sg,rg,be,{ref:0,isPictureInPictureActive:1,click:2})}}function ug(i){je(i,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function La(i,e,t){const n=i.slice();return n[157]=e[t].iconUrl,n[158]=e[t].ariaLabel,n[159]=e[t].testId,n[160]=e[t].onClick,n[161]=e[t].tooltip,n}function Va(i){let e,t,n,o,r,l,s,a,c,f,d,g,v,b,T,_,A,E=(!i[48]||i[50])&&Ma(i),V=Yt(i[53]),B=[];for(let I=0;I<V.length;I+=1)B[I]=Ba(La(i,V,I));const oe=I=>p(B[I],1,1,()=>{B[I]=null});let O=i[33]&&Ra(i),q=i[34]&&Na(i),D=i[54]&&Oa(),de=i[36]&&Da(i),ae=i[8]&&za(i),Z=i[31]&&Fa(i),ce=i[30]&&Ha(i),J=i[8]&&Ua(i),S=i[92]&&!i[26]&&ja(i);return{c(){e=w("div"),t=N(),n=w("div"),E&&E.c(),o=N(),r=w("div");for(let I=0;I<B.length;I+=1)B[I].c();l=N(),O&&O.c(),s=N(),q&&q.c(),a=N(),D&&D.c(),c=N(),de&&de.c(),f=N(),d=w("div"),ae&&ae.c(),g=N(),Z&&Z.c(),v=N(),ce&&ce.c(),b=N(),J&&J.c(),T=N(),S&&S.c(),_=Tt(),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[49]),u(r,"class","wrapper-top-right v-1tcstu3"),L(r,"hidden",!i[3]&&!i[24]),L(r,"fullscreen",i[49]),u(d,"class","wrapper-middle v-1tcstu3"),L(d,"hidden",!i[3]||i[26])},m(I,re){C(I,e,re),C(I,t,re),C(I,n,re),E&&E.m(n,null),C(I,o,re),C(I,r,re);for(let G=0;G<B.length;G+=1)B[G]&&B[G].m(r,null);m(r,l),O&&O.m(r,null),m(r,s),q&&q.m(r,null),m(r,a),D&&D.m(r,null),m(r,c),de&&de.m(r,null),C(I,f,re),C(I,d,re),ae&&ae.m(d,null),m(d,g),Z&&Z.m(d,null),m(d,v),ce&&ce.m(d,null),m(d,b),J&&J.m(d,null),C(I,T,re),S&&S.m(I,re),C(I,_,re),A=!0},p(I,re){if((!A||re[1]&256)&&L(e,"hidden",!I[39]),!I[48]||I[50]?E?(E.p(I,re),re[1]&655360&&h(E,1)):(E=Ma(I),E.c(),h(E,1),E.m(n,null)):E&&(he(),p(E,1,1,()=>{E=null}),pe()),(!A||re[0]&8)&&L(n,"hidden",!I[3]),(!A||re[1]&262144)&&L(n,"fullscreen",I[49]),re[1]&4194304){V=Yt(I[53]);let G;for(G=0;G<V.length;G+=1){const we=La(I,V,G);B[G]?(B[G].p(we,re),h(B[G],1)):(B[G]=Ba(we),B[G].c(),h(B[G],1),B[G].m(r,l))}for(he(),G=V.length;G<B.length;G+=1)oe(G);pe()}I[33]?O?(O.p(I,re),re[1]&4&&h(O,1)):(O=Ra(I),O.c(),h(O,1),O.m(r,s)):O&&(he(),p(O,1,1,()=>{O=null}),pe()),I[34]?q?(q.p(I,re),re[1]&8&&h(q,1)):(q=Na(I),q.c(),h(q,1),q.m(r,a)):q&&(he(),p(q,1,1,()=>{q=null}),pe()),I[54]?D?re[1]&8388608&&h(D,1):(D=Oa(),D.c(),h(D,1),D.m(r,c)):D&&(he(),p(D,1,1,()=>{D=null}),pe()),I[36]?de?(de.p(I,re),re[1]&32&&h(de,1)):(de=Da(I),de.c(),h(de,1),de.m(r,null)):de&&(he(),p(de,1,1,()=>{de=null}),pe()),(!A||re[0]&16777224)&&L(r,"hidden",!I[3]&&!I[24]),(!A||re[1]&262144)&&L(r,"fullscreen",I[49]),I[8]?ae?(ae.p(I,re),re[0]&256&&h(ae,1)):(ae=za(I),ae.c(),h(ae,1),ae.m(d,g)):ae&&(he(),p(ae,1,1,()=>{ae=null}),pe()),I[31]?Z?(Z.p(I,re),re[1]&1&&h(Z,1)):(Z=Fa(I),Z.c(),h(Z,1),Z.m(d,v)):Z&&(he(),p(Z,1,1,()=>{Z=null}),pe()),I[30]?ce?(ce.p(I,re),re[0]&1073741824&&h(ce,1)):(ce=Ha(I),ce.c(),h(ce,1),ce.m(d,b)):ce&&(he(),p(ce,1,1,()=>{ce=null}),pe()),I[8]?J?(J.p(I,re),re[0]&256&&h(J,1)):(J=Ua(I),J.c(),h(J,1),J.m(d,null)):J&&(he(),p(J,1,1,()=>{J=null}),pe()),(!A||re[0]&67108872)&&L(d,"hidden",!I[3]||I[26]),I[92]&&!I[26]?S?(S.p(I,re),re[0]&67108864&&h(S,1)):(S=ja(I),S.c(),h(S,1),S.m(_.parentNode,_)):S&&(he(),p(S,1,1,()=>{S=null}),pe())},i(I){if(!A){h(E);for(let re=0;re<V.length;re+=1)h(B[re]);h(O),h(q),h(D),h(de),h(ae),h(Z),h(ce),h(J),h(S),A=!0}},o(I){p(E),B=B.filter(Boolean);for(let re=0;re<B.length;re+=1)p(B[re]);p(O),p(q),p(D),p(de),p(ae),p(Z),p(ce),p(J),p(S),A=!1},d(I){I&&(y(e),y(t),y(n),y(o),y(r),y(f),y(d),y(T),y(_)),E&&E.d(),_n(B,I),O&&O.d(),q&&q.d(),D&&D.d(),de&&de.d(),ae&&ae.d(),Z&&Z.d(),ce&&ce.d(),J&&J.d(),S&&S.d(I)}}}function Ma(i){let e,t,n;function o(l){i[123](l)}let r={muted:i[51],expanded:i[48]&&!i[67]&&i[52],click:i[102]};return i[19].volume!==void 0&&(r.ref=i[19].volume),e=new Uc({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[1]&1048576&&(a.muted=l[51]),s[1]&2228224&&(a.expanded=l[48]&&!l[67]&&l[52]),!t&&s[0]&524288&&(t=!0,a.ref=l[19].volume,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Ba(i){var n;let e,t;return e=new Nc({props:{iconUrl:i[157],ariaLabel:(n=i[158])!=null?n:i[161],testId:i[159],onClick:i[160]}}),{c(){H(e.$$.fragment)},m(o,r){z(e,o,r),t=!0},p(o,r){var s;const l={};r[1]&4194304&&(l.iconUrl=o[157]),r[1]&4194304&&(l.ariaLabel=(s=o[158])!=null?s:o[161]),r[1]&4194304&&(l.testId=o[159]),r[1]&4194304&&(l.onClick=o[160]),e.$set(l)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){p(e.$$.fragment,o),t=!1},d(o){F(e,o)}}}function Ra(i){let e,t,n;function o(l){i[124](l)}let r={isMobile:!0,click:i[98],state:i[25]};return i[19].chromecast!==void 0&&(r.ref=i[19].chromecast),e=new Sc({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[0]&33554432&&(a.state=l[25]),!t&&s[0]&524288&&(t=!0,a.ref=l[19].chromecast,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Na(i){let e,t,n;function o(l){i[125](l)}let r={click:i[101],isPictureInPictureActive:i[23]};return i[19].pip!==void 0&&(r.ref=i[19].pip),e=new ag({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[0]&8388608&&(a.isPictureInPictureActive=l[23]),!t&&s[0]&524288&&(t=!0,a.ref=l[19].pip,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Oa(i){let e,t;return e=new gr({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Da(i){let e,t,n;function o(l){i[126](l)}let r={click:i[61],logoClickable:i[6],videoLogoUrl:i[7]};return i[19].vkLogo!==void 0&&(r.ref=i[19].vkLogo),e=new Tc({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[0]&64&&(a.logoClickable=l[6]),s[0]&128&&(a.videoLogoUrl=l[7]),!t&&s[0]&524288&&(t=!0,a.ref=l[19].vkLogo,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function za(i){let e,t,n;function o(l){i[127](l)}let r={click:i[13],type:"prev",disabled:!i[10],isMobile:!0};return i[19].prevButton!==void 0&&(r.ref=i[19].prevButton),e=new wl({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[0]&8192&&(a.click=l[13]),s[0]&1024&&(a.disabled=!l[10]),!t&&s[0]&524288&&(t=!0,a.ref=l[19].prevButton,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Fa(i){let e,t,n;function o(l){i[128](l)}let r={disabled:i[45],click:i[60],isMobile:!0,isPlaying:i[28]};return i[19].playButton!==void 0&&(r.ref=i[19].playButton),e=new kr({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[1]&16384&&(a.disabled=l[45]),s[0]&268435456&&(a.isPlaying=l[28]),!t&&s[0]&524288&&(t=!0,a.ref=l[19].playButton,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Ha(i){let e,t,n;function o(l){i[129](l)}let r={disabled:i[44],click:i[103],isMobile:!0};return i[19].replayButton!==void 0&&(r.ref=i[19].replayButton),e=new wr({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[1]&8192&&(a.disabled=l[44]),!t&&s[0]&524288&&(t=!0,a.ref=l[19].replayButton,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Ua(i){let e,t,n;function o(l){i[130](l)}let r={click:i[12],type:"next",disabled:!i[9],isMobile:!0};return i[19].nextButton!==void 0&&(r.ref=i[19].nextButton),e=new wl({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[0]&4096&&(a.click=l[12]),s[0]&512&&(a.disabled=!l[9]),!t&&s[0]&524288&&(t=!0,a.ref=l[19].nextButton,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function ja(i){let e,t,n,o,r=i[95]&&cg(i),l=i[93]&&fg(i),s=i[94]&&dg(i);return{c(){r&&r.c(),e=N(),l&&l.c(),t=N(),s&&s.c(),n=Tt()},m(a,c){r&&r.m(a,c),C(a,e,c),l&&l.m(a,c),C(a,t,c),s&&s.m(a,c),C(a,n,c),o=!0},p(a,c){a[95]&&r.p(a,c),a[93]&&l.p(a,c),a[94]&&s.p(a,c)},i(a){o||(h(r),h(l),h(s),o=!0)},o(a){p(r),p(l),p(s),o=!1},d(a){a&&(y(e),y(t),y(n)),r&&r.d(a),l&&l.d(a),s&&s.d(a)}}}function cg(i){let e,t,n,o,r,l;function s(c){i[131](c)}let a={hidden:!i[3],disabled:i[43],click:i[18]};return i[19].playPrevChapterButton!==void 0&&(a.ref=i[19].playPrevChapterButton),t=new Rc({props:a}),Ve.push(()=>Je(t,"ref",s)),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),L(e,"fullscreen",i[49]),L(e,"hidden",!i[3])},m(c,f){C(c,e,f),z(t,e,null),o=!0,r||(l=Pe(e,"click",i[104]),r=!0)},p(c,f){const d={};f[0]&8&&(d.hidden=!c[3]),f[1]&4096&&(d.disabled=c[43]),f[0]&262144&&(d.click=c[18]),!n&&f[0]&524288&&(n=!0,d.ref=c[19].playPrevChapterButton,Qe(()=>n=!1)),t.$set(d),(!o||f[1]&262144)&&L(e,"fullscreen",c[49]),(!o||f[0]&8)&&L(e,"hidden",!c[3])},i(c){o||(h(t.$$.fragment,c),o=!0)},o(c){p(t.$$.fragment,c),o=!1},d(c){c&&y(e),F(t),r=!1,l()}}}function fg(i){let e,t,n,o;function r(s){i[132](s)}let l={hidden:!i[3]&&!i[55],disabled:i[47],click:i[17],graphIsOpened:i[55]};return i[19].interactiveGraphButton!==void 0&&(l.ref=i[19].interactiveGraphButton),t=new Bc({props:l}),Ve.push(()=>Je(t,"ref",r)),{c(){e=w("div"),H(t.$$.fragment),u(e,"class",Kf(i[95]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),L(e,"fullscreen",i[49]),L(e,"hidden",!i[3]&&!i[55])},m(s,a){C(s,e,a),z(t,e,null),o=!0},p(s,a){const c={};a[0]&8|a[1]&16777216&&(c.hidden=!s[3]&&!s[55]),a[1]&65536&&(c.disabled=s[47]),a[0]&131072&&(c.click=s[17]),a[1]&16777216&&(c.graphIsOpened=s[55]),!n&&a[0]&524288&&(n=!0,c.ref=s[19].interactiveGraphButton,Qe(()=>n=!1)),t.$set(c),(!o||a[1]&262144)&&L(e,"fullscreen",s[49]),(!o||a[0]&8|a[1]&16777216)&&L(e,"hidden",!s[3]&&!s[55])},i(s){o||(h(t.$$.fragment,s),o=!0)},o(s){p(t.$$.fragment,s),o=!1},d(s){s&&y(e),F(t)}}}function dg(i){let e,t,n,o,r,l;function s(c){i[133](c)}let a={hidden:!i[3],disabled:i[46],click:i[16]};return i[19].seekToInteractiveButton!==void 0&&(a.ref=i[19].seekToInteractiveButton),t=new Mc({props:a}),Ve.push(()=>Je(t,"ref",s)),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),L(e,"fullscreen",i[49]),L(e,"hidden",!i[3])},m(c,f){C(c,e,f),z(t,e,null),o=!0,r||(l=Pe(e,"click",i[105]),r=!0)},p(c,f){const d={};f[0]&8&&(d.hidden=!c[3]),f[1]&32768&&(d.disabled=c[46]),f[0]&65536&&(d.click=c[16]),!n&&f[0]&524288&&(n=!0,d.ref=c[19].seekToInteractiveButton,Qe(()=>n=!1)),t.$set(d),(!o||f[1]&262144)&&L(e,"fullscreen",c[49]),(!o||f[0]&8)&&L(e,"hidden",!c[3])},i(c){o||(h(t.$$.fragment,c),o=!0)},o(c){p(t.$$.fragment,c),o=!1},d(c){c&&y(e),F(t),r=!1,l()}}}function qa(i){let e,t,n,o,r,l=i[50]&&Za(i),s=i[29]&&Wa(i);return o=new Ic({props:{position:i[56],duration:i[57]}}),{c(){l&&l.c(),e=N(),s&&s.c(),t=N(),n=w("div"),H(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),L(n,"fullscreen",i[49])},m(a,c){l&&l.m(a,c),C(a,e,c),s&&s.m(a,c),C(a,t,c),C(a,n,c),z(o,n,null),r=!0},p(a,c){a[50]?l?(l.p(a,c),c[1]&524288&&h(l,1)):(l=Za(a),l.c(),h(l,1),l.m(e.parentNode,e)):l&&(he(),p(l,1,1,()=>{l=null}),pe()),a[29]?s?(s.p(a,c),c[0]&536870912&&h(s,1)):(s=Wa(a),s.c(),h(s,1),s.m(t.parentNode,t)):s&&(he(),p(s,1,1,()=>{s=null}),pe());const f={};c[1]&33554432&&(f.position=a[56]),c[1]&67108864&&(f.duration=a[57]),o.$set(f),(!r||c[1]&262144)&&L(n,"fullscreen",a[49])},i(a){r||(h(l),h(s),h(o.$$.fragment,a),r=!0)},o(a){p(l),p(s),p(o.$$.fragment,a),r=!1},d(a){a&&(y(e),y(t),y(n)),l&&l.d(a),s&&s.d(a),F(o)}}}function Za(i){let e,t,n,o;function r(s){i[134](s)}let l={muted:i[51],expanded:!1,click:i[102]};return i[19].volume!==void 0&&(l.ref=i[19].volume),t=new Uc({props:l}),Ve.push(()=>Je(t,"ref",r)),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),L(e,"fullscreen",i[49])},m(s,a){C(s,e,a),z(t,e,null),o=!0},p(s,a){const c={};a[1]&1048576&&(c.muted=s[51]),!n&&a[0]&524288&&(n=!0,c.ref=s[19].volume,Qe(()=>n=!1)),t.$set(c),(!o||a[1]&262144)&&L(e,"fullscreen",s[49])},i(s){o||(h(t.$$.fragment,s),o=!0)},o(s){p(t.$$.fragment,s),o=!1},d(s){s&&y(e),F(t)}}}function Wa(i){let e,t,n,o;function r(s){i[135](s)}let l={disabled:i[45],click:i[60],isMobile:!0,isPlaying:!i[29]};return i[19].playButton!==void 0&&(l.ref=i[19].playButton),t=new kr({props:l}),Ve.push(()=>Je(t,"ref",r)),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(s,a){C(s,e,a),z(t,e,null),o=!0},p(s,a){const c={};a[1]&16384&&(c.disabled=s[45]),a[0]&536870912&&(c.isPlaying=!s[29]),!n&&a[0]&524288&&(n=!0,c.ref=s[19].playButton,Qe(()=>n=!1)),t.$set(c)},i(s){o||(h(t.$$.fragment,s),o=!0)},o(s){p(t.$$.fragment,s),o=!1},d(s){s&&y(e),F(t)}}}function mg(i){let e,t,n;function o(l){i[136](l)}let r={disabled:i[44],controlInfo:i[80].replayButton,$$slots:{default:[hg]},$$scope:{ctx:i}};return i[19].replayButton!==void 0&&(r.ref=i[19].replayButton),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[1]&8192&&(a.disabled=l[44]),s[1]&8192|s[5]&512&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&524288&&(t=!0,a.ref=l[19].replayButton,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function hg(i){let e,t;return e=new wr({props:{disabled:i[44],click:i[91]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[1]&8192&&(r.disabled=n[44]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ga(i){let e,t,n;function o(l){i[137](l)}let r={controlInfo:i[80].liveButton,$$slots:{default:[pg]},$$scope:{ctx:i}};return i[19].liveButton!==void 0&&(r.ref=i[19].liveButton),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[1]&2048|s[5]&512&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&524288&&(t=!0,a.ref=l[19].liveButton,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function pg(i){let e,t;return e=new Ec({props:{isActiveLive:i[42],click:i[99],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[1]&2048&&(r.isActiveLive=n[42]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ya(i){let e,t,n;function o(l){i[138](l)}let r={showDuration:i[32],position:i[4]?i[56]:i[58],duration:i[4]?i[57]:i[59],isMobile:!0};return i[19].time!==void 0&&(r.ref=i[19].time),e=new kc({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[1]&2&&(a.showDuration=l[32]),s[0]&16|s[1]&167772160&&(a.position=l[4]?l[56]:l[58]),s[0]&16|s[1]&335544320&&(a.duration=l[4]?l[57]:l[59]),!t&&s[0]&524288&&(t=!0,a.ref=l[19].time,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Ka(i){let e,t,n,o;return n=new Vc({props:{position:i[58],duration:i[59],timeCodes:i[81]}}),{c(){e=w("div"),e.textContent="\xB7",t=N(),H(n.$$.fragment),u(e,"aria-hidden","true")},m(r,l){C(r,e,l),C(r,t,l),z(n,r,l),o=!0},p(r,l){const s={};l[1]&134217728&&(s.position=r[58]),l[1]&268435456&&(s.duration=r[59]),n.$set(s)},i(r){o||(h(n.$$.fragment,r),o=!0)},o(r){p(n.$$.fragment,r),o=!1},d(r){r&&(y(e),y(t)),F(n,r)}}}function vg(i){let e,t,n=i[40]&&Ka(i);return{c(){n&&n.c(),e=Tt()},m(o,r){n&&n.m(o,r),C(o,e,r),t=!0},p(o,r){o[40]?n?(n.p(o,r),r[1]&512&&h(n,1)):(n=Ka(o),n.c(),h(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),pe())},i(o){t||(h(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function Xa(i){let e,t,n;function o(l){i[140](l)}let r={controlInfo:i[80].settings,$$slots:{default:[gg]},$$scope:{ctx:i}};return i[19].settings!==void 0&&(r.ref=i[19].settings),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[5]&512&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&524288&&(t=!0,a.ref=l[19].settings,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function gg(i){let e,t;return e=new gr({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Qa(i){let e,t,n;function o(l){i[141](l)}let r={controlInfo:i[80].fullscreen,$$slots:{default:[bg]},$$scope:{ctx:i}};return i[19].fullscreen!==void 0&&(r.ref=i[19].fullscreen),e=new Xt({props:r}),Ve.push(()=>Je(e,"ref",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[0]&16384|s[1]&262144|s[5]&512&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&524288&&(t=!0,a.ref=l[19].fullscreen,Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function bg(i){let e,t;return e=new Cc({props:{click:i[14],isFullscreen:i[49]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&16384&&(r.click=n[14]),o[1]&262144&&(r.isFullscreen=n[49]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ja(i){let e,t,n;return t=new _c({props:{supportLink:i[11],returnFocus:i[15]}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(o,r){C(o,e,r),z(t,e,null),n=!0},p(o,r){const l={};r[0]&2048&&(l.supportLink=o[11]),r[0]&32768&&(l.returnFocus=o[15]),t.$set(l)},i(o){n||(h(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),F(t)}}}function _g(i){let e,t,n,o,r,l,s,a,c,f,d,g,v,b,T,_,A,E,V,B=!i[4]&&Va(i),oe=i[4]&&i[27]!==Kt.INACTIVE&&qa(i),O=i[92]&&mg(i),q=!i[4]&&i[21]&&Ga(i),D=i[38]&&Ya(i);function de(S){i[139](S)}let ae={className:"w-max",disabled:!i[40],controlInfo:i[80].episodes,$$slots:{default:[vg]},$$scope:{ctx:i}};i[19].episodes!==void 0&&(ae.ref=i[19].episodes),c=new Xt({props:ae}),Ve.push(()=>Je(c,"ref",de));let Z=i[35]&&Xa(i),ce=i[37]&&Qa(i);b=new Lc({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[20]}});let J=i[22]&&Ja(i);return{c(){B&&B.c(),e=N(),oe&&oe.c(),t=N(),n=w("div"),o=w("div"),r=w("div"),O&&O.c(),l=N(),q&&q.c(),s=N(),D&&D.c(),a=N(),H(c.$$.fragment),d=N(),Z&&Z.c(),g=N(),ce&&ce.c(),v=N(),H(b.$$.fragment),T=N(),J&&J.c(),_=Tt(),u(r,"class","controls v-1tcstu3"),L(r,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),L(o,"fullscreen",i[49]),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(S,I){B&&B.m(S,I),C(S,e,I),oe&&oe.m(S,I),C(S,t,I),C(S,n,I),m(n,o),m(o,r),O&&O.m(r,null),m(r,l),q&&q.m(r,null),m(r,s),D&&D.m(r,null),m(r,a),z(c,r,null),m(r,d),Z&&Z.m(r,null),m(r,g),ce&&ce.m(r,null),i[142](r),m(o,v),z(b,o,null),i[143](n),C(S,T,I),J&&J.m(S,I),C(S,_,I),A=!0,E||(V=[Pe(n,"pointermove",i[100]),Pe(n,"pointerenter",i[100])],E=!0)},p(S,I){S[4]?B&&(he(),p(B,1,1,()=>{B=null}),pe()):B?(B.p(S,I),I[0]&16&&h(B,1)):(B=Va(S),B.c(),h(B,1),B.m(e.parentNode,e)),S[4]&&S[27]!==Kt.INACTIVE?oe?(oe.p(S,I),I[0]&134217744&&h(oe,1)):(oe=qa(S),oe.c(),h(oe,1),oe.m(t.parentNode,t)):oe&&(he(),p(oe,1,1,()=>{oe=null}),pe()),S[92]&&O.p(S,I),!S[4]&&S[21]?q?(q.p(S,I),I[0]&2097168&&h(q,1)):(q=Ga(S),q.c(),h(q,1),q.m(r,s)):q&&(he(),p(q,1,1,()=>{q=null}),pe()),S[38]?D?(D.p(S,I),I[1]&128&&h(D,1)):(D=Ya(S),D.c(),h(D,1),D.m(r,a)):D&&(he(),p(D,1,1,()=>{D=null}),pe());const re={};I[1]&512&&(re.disabled=!S[40]),I[1]&402653696|I[5]&512&&(re.$$scope={dirty:I,ctx:S}),!f&&I[0]&524288&&(f=!0,re.ref=S[19].episodes,Qe(()=>f=!1)),c.$set(re),S[35]?Z?(Z.p(S,I),I[1]&16&&h(Z,1)):(Z=Xa(S),Z.c(),h(Z,1),Z.m(r,g)):Z&&(he(),p(Z,1,1,()=>{Z=null}),pe()),S[37]?ce?(ce.p(S,I),I[1]&64&&h(ce,1)):(ce=Qa(S),ce.c(),h(ce,1),ce.m(r,null)):ce&&(he(),p(ce,1,1,()=>{ce=null}),pe());const G={};I[0]&16&&(G.isAds=S[4]),I[0]&32&&(G.canRewindLive=S[5]),I[0]&1048576&&(G.isRewindableLive=S[20]),b.$set(G),(!A||I[1]&262144)&&L(o,"fullscreen",S[49]),(!A||I[0]&2)&&L(n,"hidden",S[1]),(!A||I[0]&8)&&L(n,"controls-hidden",!S[3]),(!A||I[0]&4)&&L(n,"no-smooth",S[2]),S[22]?J?(J.p(S,I),I[0]&4194304&&h(J,1)):(J=Ja(S),J.c(),h(J,1),J.m(_.parentNode,_)):J&&(he(),p(J,1,1,()=>{J=null}),pe())},i(S){A||(h(B),h(oe),h(O),h(q),h(D),h(c.$$.fragment,S),h(Z),h(ce),h(b.$$.fragment,S),h(J),A=!0)},o(S){p(B),p(oe),p(O),p(q),p(D),p(c.$$.fragment,S),p(Z),p(ce),p(b.$$.fragment,S),p(J),A=!1},d(S){S&&(y(e),y(t),y(n),y(T),y(_)),B&&B.d(S),oe&&oe.d(S),O&&O.d(),q&&q.d(),D&&D.d(),F(c),Z&&Z.d(),ce&&ce.d(),i[142](null),F(b),i[143](null),J&&J.d(S),E=!1,Qt(V)}}}function kg(i,e,t){var ji,Vn;let n,o,r,l,s,a,c,f,d,g,v,b,T,_,A,E,V,B,oe,O,q,D,de,ae,Z,ce,J,S,I,re,G,we,se,K,{bottomHidden:ne}=e,{bottomNoSmooth:Be}=e,{showControls:R}=e,{controlsElementRef:ue=void 0}=e,{isAds:k=!1}=e,{canRewindLive:$}=e,{logoClickable:ze}=e,{logoHidden:Te}=e,{videoLogoUrl:Le}=e,{showNextPrevButtons:Ee}=e,{nextButtonActive:ge}=e,{prevButtonActive:Se}=e,{isOneVideoPlaylist:Ce=!1}=e,{supportLink:X}=e,{customFullscreenSupported:j=!0}=e,{playNextVideo:Fe}=e,{playPrevVideo:Ze}=e,{repeatPlaylist:rt}=e,{toggleFullscreen:He}=e,{returnFocus:vt}=e,{seekToInteractive:ht}=e,{toggleGraph:Ot}=e,{playPrevChapter:dt}=e,{onDisabledPlayPrevChapterClick:Re}=e,{onDisabledSeekToInteractiveClick:Dt}=e;const te=Rt(),nt=tn(),st=te.actions.internal.toggleMuted,Ye=te.actions.internal.togglePlay,xe=te.actions.internal.pause,$e=(ji=te.callbacks)==null?void 0:ji.onAudioDoesNotExistHint,et=(Vn=te.callbacks)==null?void 0:Vn.onAudioDisabledHint,ot=te.playerPhase;W(i,ot,ee=>t(118,V=ee));const Lt=te.state.duration$;W(i,Lt,ee=>t(59,K=ee));const lt=te.state.positionWithScrubbing$;W(i,lt,ee=>t(58,se=ee));const at=te.state.playbackState$;W(i,at,ee=>t(120,q=ee));const Ke=te.state.isAudioAvailable$;W(i,Ke,ee=>t(48,c=ee));const Xe=te.state.isAudioDisabled,$t=te.state.isEnded$;W(i,$t,ee=>t(119,oe=ee));const _t=te.state.isLive$;W(i,_t,ee=>t(21,v=ee));const pt=te.state.muted$;W(i,pt,ee=>t(51,ce=ee));const Nt=te.state.isActiveLive$;W(i,Nt,ee=>t(116,d=ee));const ft=te.state.isRewindableLive$;W(i,ft,ee=>t(20,g=ee));const oi=te.ui.scrubbingInProgress;W(i,oi,ee=>t(26,B=ee));const fe=te.ui.mobileNotReportControlHidden$;W(i,fe,ee=>t(24,A=ee));const ye=te.ui.isPictureInPictureActive$;W(i,ye,ee=>t(23,_=ee));const Ie=te.ui.pictureInPictureType$;W(i,Ie,ee=>t(117,T=ee));const Vt=te.ui.mobileUnmuteButtonExpanded;W(i,Vt,ee=>t(52,J=ee));const ei=te.ui.mobileUnmuteButtonVisible;W(i,ei,ee=>t(50,Z=ee));const Ae=te.ui.settingsMenuVisible;W(i,Ae,ee=>t(22,b=ee));const qt=te.ui.controls,Jt=te.actions.internal.getVideoEpisodes(),kt=te.webApi.pictureInPictureApi,Zt=te.state.chromecastState$;W(i,Zt,ee=>t(25,E=ee));const Ti=te.state.crashed$;W(i,Ti,ee=>t(54,I=ee));const Wi=qt.disabledControls$;W(i,Wi,ee=>t(121,D=ee));const Gi=te.ads.duration;W(i,Gi,ee=>t(57,we=ee));const Yi=te.ads.position;W(i,Yi,ee=>t(56,G=ee));const gt=te.ads.playbackState;W(i,gt,ee=>t(27,O=ee));const Si=te.ui.isFullscreen;W(i,Si,ee=>t(49,ae=ee));const nn=te.ui.playerSize;W(i,nn,ee=>t(115,f=ee));const Ki=te.ui.additionalButtons$;W(i,Ki,ee=>t(53,S=ee));const Ct=te.actions.internal.getVideoElement,Di=te.actions.internal.replayInteractive,Ut=te.state.isInteractive,Wt=te.state.isInteractiveGraphEnabled,Ei=te.state.isSeekToInteractiveEnable,Ai=te.state.isPlayPrevChapterEnabled,bi=te.state.graphIsOpened$;W(i,bi,ee=>t(55,re=ee));const di=te.state.seekToInteractiveDisabledTooltip$;W(i,di,ee=>t(122,de=ee));let mi,_i,ri,Ii,si,ki,zi,wi,It,ai,Li,yi,Ci,Fi,qe,ui,Hi,li,Vi,ti;const Me={},Pi=Hc,Xi=()=>{ue&&(ti=ue.getBoundingClientRect())},Qi=()=>te.actions.internal.toggleChromecast(),on=()=>te.actions.internal.switchToActiveLive(),Ji=ee=>{te.ui.controls.tooltipPointerOffsetX.update(()=>ti?Math.min(Math.max(ee.x-ti.x,0),ti.width):0)};function Mi(){Xe?et==null||et():c?st():$e==null||$e()}function xi(){return Yn(this,null,function*(){kt!=null&&kt.isActive()?yield kt==null?void 0:kt.remove():yield kt==null?void 0:kt.request()})}function Bi(){!Xe&&c&&ei.set(!1),Mi()}const zt=Ce?Ye:rt,hi=()=>{Re(mi)},Ri=()=>{Dt(_i)};function hn(ee){i.$$.not_equal(Me.volume,ee)&&(Me.volume=ee,t(19,Me))}function Gt(ee){i.$$.not_equal(Me.chromecast,ee)&&(Me.chromecast=ee,t(19,Me))}function ln(ee){i.$$.not_equal(Me.pip,ee)&&(Me.pip=ee,t(19,Me))}function rn(ee){i.$$.not_equal(Me.vkLogo,ee)&&(Me.vkLogo=ee,t(19,Me))}function Ni(ee){i.$$.not_equal(Me.prevButton,ee)&&(Me.prevButton=ee,t(19,Me))}function yn(ee){i.$$.not_equal(Me.playButton,ee)&&(Me.playButton=ee,t(19,Me))}function $i(ee){i.$$.not_equal(Me.replayButton,ee)&&(Me.replayButton=ee,t(19,Me))}function pi(ee){i.$$.not_equal(Me.nextButton,ee)&&(Me.nextButton=ee,t(19,Me))}function Cn(ee){i.$$.not_equal(Me.playPrevChapterButton,ee)&&(Me.playPrevChapterButton=ee,t(19,Me))}function pn(ee){i.$$.not_equal(Me.interactiveGraphButton,ee)&&(Me.interactiveGraphButton=ee,t(19,Me))}function sn(ee){i.$$.not_equal(Me.seekToInteractiveButton,ee)&&(Me.seekToInteractiveButton=ee,t(19,Me))}function an(ee){i.$$.not_equal(Me.volume,ee)&&(Me.volume=ee,t(19,Me))}function un(ee){i.$$.not_equal(Me.playButton,ee)&&(Me.playButton=ee,t(19,Me))}function cn(ee){i.$$.not_equal(Me.replayButton,ee)&&(Me.replayButton=ee,t(19,Me))}function Pn(ee){i.$$.not_equal(Me.liveButton,ee)&&(Me.liveButton=ee,t(19,Me))}function Tn(ee){i.$$.not_equal(Me.time,ee)&&(Me.time=ee,t(19,Me))}function x(ee){i.$$.not_equal(Me.episodes,ee)&&(Me.episodes=ee,t(19,Me))}function wt(ee){i.$$.not_equal(Me.settings,ee)&&(Me.settings=ee,t(19,Me))}function ii(ee){i.$$.not_equal(Me.fullscreen,ee)&&(Me.fullscreen=ee,t(19,Me))}function Ui(ee){Ve[ee?"unshift":"push"](()=>{li=ee,t(41,li)})}function fn(ee){Ve[ee?"unshift":"push"](()=>{ue=ee,t(0,ue)})}return i.$$set=ee=>{"bottomHidden"in ee&&t(1,ne=ee.bottomHidden),"bottomNoSmooth"in ee&&t(2,Be=ee.bottomNoSmooth),"showControls"in ee&&t(3,R=ee.showControls),"controlsElementRef"in ee&&t(0,ue=ee.controlsElementRef),"isAds"in ee&&t(4,k=ee.isAds),"canRewindLive"in ee&&t(5,$=ee.canRewindLive),"logoClickable"in ee&&t(6,ze=ee.logoClickable),"logoHidden"in ee&&t(106,Te=ee.logoHidden),"videoLogoUrl"in ee&&t(7,Le=ee.videoLogoUrl),"showNextPrevButtons"in ee&&t(8,Ee=ee.showNextPrevButtons),"nextButtonActive"in ee&&t(9,ge=ee.nextButtonActive),"prevButtonActive"in ee&&t(10,Se=ee.prevButtonActive),"isOneVideoPlaylist"in ee&&t(107,Ce=ee.isOneVideoPlaylist),"supportLink"in ee&&t(11,X=ee.supportLink),"customFullscreenSupported"in ee&&t(108,j=ee.customFullscreenSupported),"playNextVideo"in ee&&t(12,Fe=ee.playNextVideo),"playPrevVideo"in ee&&t(13,Ze=ee.playPrevVideo),"repeatPlaylist"in ee&&t(109,rt=ee.repeatPlaylist),"toggleFullscreen"in ee&&t(14,He=ee.toggleFullscreen),"returnFocus"in ee&&t(15,vt=ee.returnFocus),"seekToInteractive"in ee&&t(16,ht=ee.seekToInteractive),"toggleGraph"in ee&&t(17,Ot=ee.toggleGraph),"playPrevChapter"in ee&&t(18,dt=ee.playPrevChapter),"onDisabledPlayPrevChapterClick"in ee&&t(110,Re=ee.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in ee&&t(111,Dt=ee.onDisabledSeekToInteractiveClick)},i.$$.update=()=>{if(i.$$.dirty[3]&536870912&&(_i=le(de)),i.$$.dirty[3]&268435456&&t(114,n=D.has(bt.EPISODE_BUTTON)),i.$$.dirty[3]&268435456&&t(47,o=D.has(bt.GRAPH_BUTTON)),i.$$.dirty[3]&268435456&&t(46,r=D.has(bt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&268435456&&t(45,l=D.has(bt.PLAY_BUTTON)),i.$$.dirty[3]&268435456&&t(44,s=D.has(bt.REPLAY_BUTTON)),i.$$.dirty[3]&268435456&&t(43,a=D.has(bt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&134217728&&t(28,ri=q===gi.PLAYING),i.$$.dirty[0]&134217728&&t(29,Ii=O===Kt.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&67108864&&t(30,si=oe&&!k&&!Ut),i.$$.dirty[0]&16|i.$$.dirty[3]&67108864&&t(31,ki=!oe||k),i.$$.dirty[3]&4194304&&t(112,zi=f.width>300),i.$$.dirty[3]&4194304&&t(32,wi=f.width>400),i.$$.dirty[0]&67108864&&t(113,It=B),i.$$.dirty[0]&58720256|i.$$.dirty[3]&16777216&&t(33,ai=E!==In.NOT_AVAILABLE&&!(_&&T===Rn.DocumentPictureInPicture)&&!A&&!Ut),i.$$.dirty[0]&50331648|i.$$.dirty[3]&51380224){const ee=V===Ne.WaitingLive;t(34,Li=!!kt&&E!==In.CONNECTED&&!A&&(T===Rn.DocumentPictureInPicture&&ee||!ee)&&!It&&!Ut)}i.$$.dirty[3]&1048576&&t(35,yi=!It),i.$$.dirty[3]&4202496&&t(36,Ci=!Te&&f.width>350),i.$$.dirty[0]&8388608|i.$$.dirty[3]&17858560&&t(37,Fi=nt.features.fullscreen&&!(_&&T===Rn.DocumentPictureInPicture)&&(Ut?j:!0)&&!It),i.$$.dirty[0]&2097168|i.$$.dirty[3]&5242880&&t(38,qe=(!v||k)&&f.width>260&&!It&&!(nt.features.interactiveHideTime&&Ut)),i.$$.dirty[0]&4194312&&t(39,ui=b||R),i.$$.dirty[0]&2097168|i.$$.dirty[3]&3670016&&t(40,Hi=!k&&!v&&!!(Jt!=null&&Jt.length)&&zi&&!n&&!It),i.$$.dirty[0]&1048576|i.$$.dirty[3]&8388608&&t(42,Vi=!g||d),i.$$.dirty[0]&524296|i.$$.dirty[3]&4194304&&(Xi(),Pi(Ct(),qt,Me,R))},mi=le(te.state.playPrevChapterDisabledTooltip),[ue,ne,Be,R,k,$,ze,Le,Ee,ge,Se,X,Fe,Ze,He,vt,ht,Ot,dt,Me,g,v,b,_,A,E,B,O,ri,Ii,si,ki,wi,ai,Li,yi,Ci,Fi,qe,ui,Hi,li,Vi,a,s,l,r,o,c,ae,Z,ce,J,S,I,re,G,we,se,K,Ye,xe,ot,Lt,lt,at,Ke,Xe,$t,_t,pt,Nt,ft,oi,fe,ye,Ie,Vt,ei,Ae,qt,Jt,Zt,Ti,Wi,Gi,Yi,gt,Si,nn,Ki,Di,Ut,Wt,Ei,Ai,bi,di,Qi,on,Ji,xi,Bi,zt,hi,Ri,Te,Ce,j,rt,Re,Dt,zi,It,n,f,d,T,V,oe,q,D,de,hn,Gt,ln,rn,Ni,yn,$i,pi,Cn,pn,sn,an,un,cn,Pn,Tn,x,wt,ii,Ui,fn]}class wg extends ke{constructor(e){super(),_e(this,e,kg,_g,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,onDisabledPlayPrevChapterClick:110,onDisabledSeekToInteractiveClick:111},ug,[-1,-1,-1,-1,-1,-1])}}function yg(i){let e,t,n;function o(l){i[28](l)}let r={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(r.controlsElementRef=i[0]),e=new X5({props:r}),Ve.push(()=>Je(e,"controlsElementRef",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s&2&&(a.bottomHidden=l[1]),s&4&&(a.bottomNoSmooth=l[2]),s&8&&(a.showControls=l[3]),s&16&&(a.isAds=l[4]),s&32&&(a.canRewindLive=l[5]),s&64&&(a.logoClickable=l[6]),s&128&&(a.logoHidden=l[7]),s&256&&(a.videoLogoUrl=l[8]),s&512&&(a.showNextPrevButtons=l[9]),s&1024&&(a.nextButtonActive=l[10]),s&2048&&(a.prevButtonActive=l[11]),s&4096&&(a.isOneVideoPlaylist=l[12]),s&8192&&(a.supportLink=l[13]),s&16384&&(a.customFullscreenSupported=l[14]),s&32768&&(a.playNextVideo=l[15]),s&65536&&(a.playPrevVideo=l[16]),s&131072&&(a.repeatPlaylist=l[17]),s&262144&&(a.toggleFullscreen=l[18]),s&524288&&(a.returnFocus=l[19]),s&1048576&&(a.seekToInteractive=l[20]),s&2097152&&(a.toggleGraph=l[21]),s&4194304&&(a.playPrevChapter=l[22]),!t&&s&1&&(t=!0,a.controlsElementRef=l[0],Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Cg(i){let e,t,n;function o(l){i[27](l)}let r={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22],onDisabledPlayPrevChapterClick:i[23],onDisabledSeekToInteractiveClick:i[24]};return i[0]!==void 0&&(r.controlsElementRef=i[0]),e=new wg({props:r}),Ve.push(()=>Je(e,"controlsElementRef",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s&2&&(a.bottomHidden=l[1]),s&4&&(a.bottomNoSmooth=l[2]),s&8&&(a.showControls=l[3]),s&16&&(a.isAds=l[4]),s&32&&(a.canRewindLive=l[5]),s&64&&(a.logoClickable=l[6]),s&128&&(a.logoHidden=l[7]),s&256&&(a.videoLogoUrl=l[8]),s&512&&(a.showNextPrevButtons=l[9]),s&1024&&(a.nextButtonActive=l[10]),s&2048&&(a.prevButtonActive=l[11]),s&4096&&(a.isOneVideoPlaylist=l[12]),s&8192&&(a.supportLink=l[13]),s&16384&&(a.customFullscreenSupported=l[14]),s&32768&&(a.playNextVideo=l[15]),s&65536&&(a.playPrevVideo=l[16]),s&131072&&(a.repeatPlaylist=l[17]),s&262144&&(a.toggleFullscreen=l[18]),s&524288&&(a.returnFocus=l[19]),s&1048576&&(a.seekToInteractive=l[20]),s&2097152&&(a.toggleGraph=l[21]),s&4194304&&(a.playPrevChapter=l[22]),s&8388608&&(a.onDisabledPlayPrevChapterClick=l[23]),s&16777216&&(a.onDisabledSeekToInteractiveClick=l[24]),!t&&s&1&&(t=!0,a.controlsElementRef=l[0],Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function Pg(i){let e,t,n,o;const r=[Cg,yg],l=[];function s(a,c){return a[25]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=Tt()},m(a,c){l[e].m(a,c),C(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),p(l[f],1,1,()=>{l[f]=null}),pe(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),h(t,1),t.m(n.parentNode,n))},i(a){o||(h(t),o=!0)},o(a){p(t),o=!1},d(a){a&&y(n),l[e].d(a)}}}function Tg(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:r=!1}=e,{showControls:l}=e,{controlsElementRef:s=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:d}=e,{videoLogoUrl:g}=e,{showNextPrevButtons:v}=e,{nextButtonActive:b}=e,{prevButtonActive:T}=e,{isOneVideoPlaylist:_=!1}=e,{supportLink:A}=e,{customFullscreenSupported:E=!0}=e,{playNextVideo:V}=e,{playPrevVideo:B}=e,{repeatPlaylist:oe}=e,{toggleFullscreen:O}=e,{returnFocus:q=Ge}=e,{seekToInteractive:D}=e,{toggleGraph:de}=e,{playPrevChapter:ae}=e,{onDisabledPlayPrevChapterClick:Z=Ge}=e,{onDisabledSeekToInteractiveClick:ce=Ge}=e;const S=Rt().ui.isMobile;W(i,S,G=>t(25,n=G));function I(G){s=G,t(0,s)}function re(G){s=G,t(0,s)}return i.$$set=G=>{"bottomHidden"in G&&t(1,o=G.bottomHidden),"bottomNoSmooth"in G&&t(2,r=G.bottomNoSmooth),"showControls"in G&&t(3,l=G.showControls),"controlsElementRef"in G&&t(0,s=G.controlsElementRef),"isAds"in G&&t(4,a=G.isAds),"canRewindLive"in G&&t(5,c=G.canRewindLive),"logoClickable"in G&&t(6,f=G.logoClickable),"logoHidden"in G&&t(7,d=G.logoHidden),"videoLogoUrl"in G&&t(8,g=G.videoLogoUrl),"showNextPrevButtons"in G&&t(9,v=G.showNextPrevButtons),"nextButtonActive"in G&&t(10,b=G.nextButtonActive),"prevButtonActive"in G&&t(11,T=G.prevButtonActive),"isOneVideoPlaylist"in G&&t(12,_=G.isOneVideoPlaylist),"supportLink"in G&&t(13,A=G.supportLink),"customFullscreenSupported"in G&&t(14,E=G.customFullscreenSupported),"playNextVideo"in G&&t(15,V=G.playNextVideo),"playPrevVideo"in G&&t(16,B=G.playPrevVideo),"repeatPlaylist"in G&&t(17,oe=G.repeatPlaylist),"toggleFullscreen"in G&&t(18,O=G.toggleFullscreen),"returnFocus"in G&&t(19,q=G.returnFocus),"seekToInteractive"in G&&t(20,D=G.seekToInteractive),"toggleGraph"in G&&t(21,de=G.toggleGraph),"playPrevChapter"in G&&t(22,ae=G.playPrevChapter),"onDisabledPlayPrevChapterClick"in G&&t(23,Z=G.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in G&&t(24,ce=G.onDisabledSeekToInteractiveClick)},[s,o,r,l,a,c,f,d,g,v,b,T,_,A,E,V,B,oe,O,q,D,de,ae,Z,ce,n,S,I,re]}class jc extends ke{constructor(e){super(),_e(this,e,Tg,Pg,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,onDisabledPlayPrevChapterClick:23,onDisabledSeekToInteractiveClick:24})}}function Sg(i){je(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Eg(i){let e,t,n,o,r,l,s,a,c,f,d,g,v;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),r=M("defs"),l=M("filter"),s=M("feFlood"),a=M("feColorMatrix"),c=M("feOffset"),f=M("feGaussianBlur"),d=M("feColorMatrix"),g=M("feBlend"),v=M("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"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(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"),L(e,"reversed",i[0])},m(b,T){C(b,e,T),m(e,t),m(t,n),m(t,o),m(e,r),m(r,l),m(l,s),m(l,a),m(l,c),m(l,f),m(l,d),m(l,g),m(l,v)},p(b,[T]){T&1&&L(e,"reversed",b[0])},i:U,o:U,d(b){b&&y(e)}}}function Ag(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Ig extends ke{constructor(e){super(),_e(this,e,Ag,Eg,be,{reversed:0},Sg)}}function Lg(i){let e,t,n,o,r,l,s,a,c,f,d,g,v,b,T;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),r=M("defs"),l=M("clipPath"),s=M("path"),a=M("filter"),c=M("feFlood"),f=M("feColorMatrix"),d=M("feOffset"),g=M("feGaussianBlur"),v=M("feColorMatrix"),b=M("feBlend"),T=M("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(o,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(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(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(T,"in","SourceGraphic"),u(T,"in2","effect1_dropShadow_2260_104204"),u(T,"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(_,A){C(_,e,A),m(e,t),m(t,n),m(t,o),m(e,r),m(r,l),m(l,s),m(r,a),m(a,c),m(a,f),m(a,d),m(a,g),m(a,v),m(a,b),m(a,T)},d(_){_&&y(e)}}}function Vg(i){let e,t,n,o,r,l,s,a,c,f,d,g,v,b,T,_;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),r=M("path"),l=M("defs"),s=M("clipPath"),a=M("path"),c=M("filter"),f=M("feFlood"),d=M("feColorMatrix"),g=M("feOffset"),v=M("feGaussianBlur"),b=M("feColorMatrix"),T=M("feBlend"),_=M("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(o,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(o,"fill","#fff"),u(r,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(s,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(d,"in","SourceAlpha"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(d,"result","hardAlpha"),u(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(T,"in2","BackgroundImageFix"),u(T,"result","effect1_dropShadow_2260_104293"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_104293"),u(_,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(A,E){C(A,e,E),m(e,t),m(t,n),m(t,o),m(t,r),m(e,l),m(l,s),m(s,a),m(l,c),m(c,f),m(c,d),m(c,g),m(c,v),m(c,b),m(c,T),m(c,_)},d(A){A&&y(e)}}}function Mg(i){let e;function t(r,l){return r[0]?Vg:Lg}let n=t(i),o=n(i);return{c(){o.c(),e=Tt()},m(r,l){o.m(r,l),C(r,e,l)},p(r,[l]){n!==(n=t(r))&&(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:U,o:U,d(r){r&&y(e),o.d(r)}}}function Bg(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class qc extends ke{constructor(e){super(),_e(this,e,Bg,Mg,be,{isOff:0})}}function Rg(i){je(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Ng(i){let e,t,n,o,r,l,s,a,c,f,d,g,v;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),r=M("defs"),l=M("filter"),s=M("feFlood"),a=M("feColorMatrix"),c=M("feOffset"),f=M("feGaussianBlur"),d=M("feColorMatrix"),g=M("feBlend"),v=M("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"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(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"),L(e,"reversed",i[0])},m(b,T){C(b,e,T),m(e,t),m(t,n),m(t,o),m(e,r),m(r,l),m(l,s),m(l,a),m(l,c),m(l,f),m(l,d),m(l,g),m(l,v)},p(b,[T]){T&1&&L(e,"reversed",b[0])},i:U,o:U,d(b){b&&y(e)}}}function Og(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Dg extends ke{constructor(e){super(),_e(this,e,Og,Ng,be,{reversed:0},Rg)}}function zg(i){je(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Fg(i){let e,t,n,o,r,l,s,a,c,f,d,g,v;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),r=M("defs"),l=M("filter"),s=M("feFlood"),a=M("feColorMatrix"),c=M("feOffset"),f=M("feGaussianBlur"),d=M("feColorMatrix"),g=M("feBlend"),v=M("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"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(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"),L(e,"reversed",i[0])},m(b,T){C(b,e,T),m(e,t),m(t,n),m(t,o),m(e,r),m(r,l),m(l,s),m(l,a),m(l,c),m(l,f),m(l,d),m(l,g),m(l,v)},p(b,[T]){T&1&&L(e,"reversed",b[0])},i:U,o:U,d(b){b&&y(e)}}}function Hg(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Ug extends ke{constructor(e){super(),_e(this,e,Hg,Fg,be,{reversed:0},zg)}}function jg(i){je(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 xa(i){let e,t=[tt.BACKWARD_SEEK,tt.FORWARD_SEEK].includes(i[4]),n,o,r,l,s,a=[tt.RATE_DOWN,tt.RATE_UP].includes(i[4]),c,f=[tt.EPISODE_PREV,tt.EPISODE_NEXT].includes(i[4]),d,g,v,b,T,_=t&&$a(i),A=i[4]===tt.STOP&&e1(),E=i[4]===tt.PLAY&&t1(),V=i[4]===tt.SUBTITLES_OFF&&i1(),B=i[4]===tt.SUBTITLES_ON&&n1(),oe=a&&o1(i),O=f&&l1(i),q=i[4]===tt.MUTE&&r1(),D=i[4]===tt.VOLUME&&s1(),de=i[5]&&a1(i);return{c(){e=w("div"),_&&_.c(),n=N(),A&&A.c(),o=N(),E&&E.c(),r=N(),V&&V.c(),l=N(),B&&B.c(),s=N(),oe&&oe.c(),c=N(),O&&O.c(),d=N(),q&&q.c(),g=N(),D&&D.c(),v=N(),de&&de.c(),b=Tt(),u(e,"class","v-1lbk7aq")},m(ae,Z){C(ae,e,Z),_&&_.m(e,null),m(e,n),A&&A.m(e,null),m(e,o),E&&E.m(e,null),m(e,r),V&&V.m(e,null),m(e,l),B&&B.m(e,null),m(e,s),oe&&oe.m(e,null),m(e,c),O&&O.m(e,null),m(e,d),q&&q.m(e,null),m(e,g),D&&D.m(e,null),C(ae,v,Z),de&&de.m(ae,Z),C(ae,b,Z),T=!0},p(ae,Z){Z&16&&(t=[tt.BACKWARD_SEEK,tt.FORWARD_SEEK].includes(ae[4])),t?_?(_.p(ae,Z),Z&16&&h(_,1)):(_=$a(ae),_.c(),h(_,1),_.m(e,n)):_&&(he(),p(_,1,1,()=>{_=null}),pe()),ae[4]===tt.STOP?A?Z&16&&h(A,1):(A=e1(),A.c(),h(A,1),A.m(e,o)):A&&(he(),p(A,1,1,()=>{A=null}),pe()),ae[4]===tt.PLAY?E?Z&16&&h(E,1):(E=t1(),E.c(),h(E,1),E.m(e,r)):E&&(he(),p(E,1,1,()=>{E=null}),pe()),ae[4]===tt.SUBTITLES_OFF?V?Z&16&&h(V,1):(V=i1(),V.c(),h(V,1),V.m(e,l)):V&&(he(),p(V,1,1,()=>{V=null}),pe()),ae[4]===tt.SUBTITLES_ON?B?Z&16&&h(B,1):(B=n1(),B.c(),h(B,1),B.m(e,s)):B&&(he(),p(B,1,1,()=>{B=null}),pe()),Z&16&&(a=[tt.RATE_DOWN,tt.RATE_UP].includes(ae[4])),a?oe?(oe.p(ae,Z),Z&16&&h(oe,1)):(oe=o1(ae),oe.c(),h(oe,1),oe.m(e,c)):oe&&(he(),p(oe,1,1,()=>{oe=null}),pe()),Z&16&&(f=[tt.EPISODE_PREV,tt.EPISODE_NEXT].includes(ae[4])),f?O?(O.p(ae,Z),Z&16&&h(O,1)):(O=l1(ae),O.c(),h(O,1),O.m(e,d)):O&&(he(),p(O,1,1,()=>{O=null}),pe()),ae[4]===tt.MUTE?q?Z&16&&h(q,1):(q=r1(),q.c(),h(q,1),q.m(e,g)):q&&(he(),p(q,1,1,()=>{q=null}),pe()),ae[4]===tt.VOLUME?D?Z&16&&h(D,1):(D=s1(),D.c(),h(D,1),D.m(e,null)):D&&(he(),p(D,1,1,()=>{D=null}),pe()),ae[5]?de?de.p(ae,Z):(de=a1(ae),de.c(),de.m(b.parentNode,b)):de&&(de.d(1),de=null)},i(ae){T||(h(_),h(A),h(E),h(V),h(B),h(oe),h(O),h(q),h(D),T=!0)},o(ae){p(_),p(A),p(E),p(V),p(B),p(oe),p(O),p(q),p(D),T=!1},d(ae){ae&&(y(e),y(v),y(b)),_&&_.d(),A&&A.d(),E&&E.d(),V&&V.d(),B&&B.d(),oe&&oe.d(),O&&O.d(),q&&q.d(),D&&D.d(),de&&de.d(ae)}}}function $a(i){let e,t;return e=new Ig({props:{reversed:i[4]===tt.FORWARD_SEEK}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===tt.FORWARD_SEEK),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function e1(i){let e,t;return e=new Pc({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function t1(i){let e,t;return e=new _r({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function i1(i){let e,t;return e=new qc({props:{isOff:!0}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function n1(i){let e,t;return e=new qc({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function o1(i){let e,t;return e=new Dg({props:{reversed:i[4]===tt.RATE_UP}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===tt.RATE_UP),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function l1(i){let e,t;return e=new Ug({props:{reversed:i[4]===tt.EPISODE_NEXT}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===tt.EPISODE_NEXT),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function r1(i){let e,t;return e=new kl({props:{volume:0}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function s1(i){let e,t;return e=new kl({props:{volume:1}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function a1(i){let e,t;return{c(){e=w("span"),t=Ue(i[5]),u(e,"class","hot-key-helpers-text v-1lbk7aq")},m(n,o){C(n,e,o),m(e,t)},p(n,o){o&32&&it(t,n[5])},d(n){n&&y(e)}}}function qg(i){let e,t,n=!i[1]&&i[4]&&xa(i);return{c(){e=w("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,r){C(o,e,r),n&&n.m(e,null),t=!0},p(o,[r]){!o[1]&&o[4]?n?(n.p(o,r),r&18&&h(n,1)):(n=xa(o),n.c(),h(n,1),n.m(e,null)):n&&(he(),p(n,1,1,()=>{n=null}),pe()),(!t||r&2)&&L(e,"hidden",o[1]),(!t||r&4)&&L(e,"hot-key-helpers-container--left",o[2]),(!t||r&8)&&L(e,"hot-key-helpers-container--right",o[3])},i(o){t||(h(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d()}}}function Zg(i,e,t){let n,o=U,r=()=>(o(),o=xt(l,g=>t(6,n=g)),l);i.$$.on_destroy.push(()=>o());let{data:l}=e;r();let s,a,c,f,d;return i.$$set=g=>{"data"in g&&r(t(0,l=g.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,s=!n),t(2,a=(n==null?void 0:n.type)===tt.BACKWARD_SEEK),t(3,c=(n==null?void 0:n.type)===tt.FORWARD_SEEK),t(4,f=n==null?void 0:n.type),n!=null&&n.t?t(5,d=le(n.t.key,{value:n.t.value||""})):t(5,d=n==null?void 0:n.text))},[l,s,a,c,f,d,n]}class Wg extends ke{constructor(e){super(),_e(this,e,Zg,qg,be,{data:0},jg)}}function Gg(i){je(i,"v-1yzc86r",".immersive-controls.v-1yzc86r{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn)}.immersive-controls.m-shifted.v-1yzc86r{top:50px;left:20px}.button-block.v-1yzc86r{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-1yzc86r{display:flex;flex-direction:row;position:relative}.button.v-1yzc86r{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-1yzc86r svg{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-1yzc86r svg{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-1yzc86r svg{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-1yzc86r svg{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-1yzc86r svg{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-1yzc86r:hover svg{opacity:1}")}function Yg(i){let e,t,n,o,r,l,s,a,c,f,d,g,v,b,T,_,A,E;return r=new zn({props:{direction:"up"}}),a=new zn({props:{direction:"up"}}),g=new zn({props:{direction:"up"}}),T=new zn({props:{direction:"up"}}),{c(){e=w("div"),t=w("div"),n=w("div"),o=w("div"),H(r.$$.fragment),l=N(),s=w("div"),H(a.$$.fragment),c=N(),f=w("div"),d=w("div"),H(g.$$.fragment),v=N(),b=w("div"),H(T.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(s,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(d,"class","button button-left v-1yzc86r"),u(b,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(t,"class","button-block v-1yzc86r"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),L(e,"m-shifted",i[0])},m(V,B){C(V,e,B),m(e,t),m(t,n),m(n,o),z(r,o,null),m(n,l),m(n,s),z(a,s,null),m(t,c),m(t,f),m(f,d),z(g,d,null),m(f,v),m(f,b),z(T,b,null),_=!0,A||(E=[Pe(o,"mousedown",i[1]),Pe(o,"mouseup",i[5]),Pe(o,"mouseleave",i[5]),Pe(s,"mousedown",i[3]),Pe(s,"mouseup",i[5]),Pe(s,"mouseleave",i[5]),Pe(d,"mousedown",i[4]),Pe(d,"mouseup",i[5]),Pe(d,"mouseleave",i[5]),Pe(b,"mousedown",i[2]),Pe(b,"mouseup",i[5]),Pe(b,"mouseleave",i[5]),Pe(e,"keydown",i[6]),Pe(e,"keyup",i[7])],A=!0)},p(V,[B]){(!_||B&1)&&L(e,"m-shifted",V[0])},i(V){_||(h(r.$$.fragment,V),h(a.$$.fragment,V),h(g.$$.fragment,V),h(T.$$.fragment,V),_=!0)},o(V){p(r.$$.fragment,V),p(a.$$.fragment,V),p(g.$$.fragment,V),p(T.$$.fragment,V),_=!1},d(V){V&&y(e),F(r),F(a),F(g),F(T),A=!1,Qt(E)}}}function Kg(i,e,t){let{isShifted:n=!1}=e;const o=Rt(),r=new Set([We.ArrowUp,We.ArrowDown,We.ArrowLeft,We.ArrowRight]),l=()=>{o.actions.internal.startCameraManualRotation(0,1)},s=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),d=v=>{if(r.has(v.code))switch(v.preventDefault(),v.stopPropagation(),v.code){case We.ArrowUp:l();break;case We.ArrowDown:s();break;case We.ArrowLeft:c();break;case We.ArrowRight:a();break}},g=v=>{r.has(v.code)&&(v.preventDefault(),v.stopPropagation(),f())};return i.$$set=v=>{"isShifted"in v&&t(0,n=v.isShifted)},[n,l,s,a,c,f,d,g]}class Zc extends ke{constructor(e){super(),_e(this,e,Kg,Yg,be,{isShifted:0},Gg)}}function Xg(i){je(i,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function u1(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function c1(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function f1(i){let e,t;function n(l,s){return l[7]&&l[8]?xg:l[5]?Jg:Qg}let o=n(i),r=o(i);return{c(){e=w("div"),t=w("span"),r.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),L(e,"mobile",i[3])},m(l,s){C(l,e,s),m(e,t),r.m(t,null)},p(l,s){o===(o=n(l))&&r?r.p(l,s):(r.d(1),r=o(l),r&&(r.c(),r.m(t,null))),s&8&&L(e,"mobile",l[3])},d(l){l&&y(e),r.d()}}}function Qg(i){let e,t=Yt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=d1(u1(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=Tt()},m(o,r){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(o,r);C(o,e,r)},p(o,r){if(r&18){t=Yt(o[1]);let l;for(l=0;l<t.length;l+=1){const s=u1(o,t,l);n[l]?n[l].p(s,r):(n[l]=d1(s),n[l].c(),n[l].m(e.parentNode,e))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},d(o){o&&y(e),_n(n,o)}}}function Jg(i){let e,t,n=Yt(i[6]),o=[];for(let r=0;r<n.length;r+=1)o[r]=h1(c1(i,n,r));return{c(){e=w("span"),t=w("span");for(let r=0;r<o.length;r+=1)o[r].c();u(t,"class","caption-segment v-ovfyp5"),Ht(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,l){C(r,e,l),m(e,t);for(let s=0;s<o.length;s+=1)o[s]&&o[s].m(t,null)},p(r,l){if(l&68){n=Yt(r[6]);let s;for(s=0;s<n.length;s+=1){const a=c1(r,n,s);o[s]?o[s].p(a,l):(o[s]=h1(a),o[s].c(),o[s].m(t,null))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}l&16&&Ht(t,"font-size",r[4]+"px")},d(r){r&&y(e),_n(o,r)}}}function xg(i){let e,t,n=le("subtitles_auto_caption")+"",o;return{c(){e=w("span"),t=w("span"),o=Ue(n),u(t,"class","caption-segment v-ovfyp5"),Ht(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,l){C(r,e,l),m(e,t),m(t,o)},p(r,l){l&16&&Ht(t,"font-size",r[4]+"px")},d(r){r&&y(e)}}}function d1(i){let e,t,n=i[16]+"",o,r;return{c(){e=w("span"),t=w("span"),o=Ue(n),r=N(),u(t,"class","caption-segment v-ovfyp5"),Ht(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){C(l,e,s),m(e,t),m(t,o),m(e,r)},p(l,s){s&2&&n!==(n=l[16]+"")&&it(o,n),s&16&&Ht(t,"font-size",l[4]+"px")},d(l){l&&y(e)}}}function m1(i){let e=i[16]+"",t;return{c(){t=Ue(e)},m(n,o){C(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&it(t,e)},d(n){n&&y(t)}}}function h1(i){let e,t=(!i[17]||i[17]<=i[2])&&m1(i);return{c(){t&&t.c(),e=Tt()},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=m1(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&y(e),t&&t.d(n)}}}function $g(i){let e,t=i[1].length>0&&f1(i);return{c(){e=w("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=f1(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:U,o:U,d(n){n&&y(e),t&&t.d()}}}function e6(i,e,t){let n,o,{shifted:r}=e,{captions:l}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=Rt(),d=tn(),g=f.state.currentSubtitle$;W(i,g,V=>t(12,n=V));const v=f.state.isAutoSubtitleCaptionVisible$;W(i,v,V=>t(8,o=V));let b,T,_,A,E;return wn(()=>{E=window.setTimeout(()=>{v.set(!1)},d.autoSubtitlesTimeout)}),vl(()=>{window.clearTimeout(E)}),i.$$set=V=>{"shifted"in V&&t(0,r=V.shifted),"captions"in V&&t(1,l=V.captions),"position"in V&&t(2,s=V.position),"playerSize"in V&&t(11,a=V.playerSize),"isMobile"in V&&t(3,c=V.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const V=a.width*.02;t(4,b=V<=d.minSubtitlesFontSize?d.minSubtitlesFontSize:V)}i.$$.dirty&2&&t(5,T=l.some(V=>V.type==="timestamp")),i.$$.dirty&2&&t(6,_=l.reduce((V,{type:B,value:oe})=>(B==="timestamp"?V.push({timeAppeared:Number(oe),value:""}):V.length===0?V.push({value:String(oe)}):V[V.length-1].value=String(oe),V),[])),i.$$.dirty&4096&&t(7,A=!!n.isAuto)},[r,l,s,c,b,T,_,A,o,g,v,a,n]}class Wc extends ke{constructor(e){super(),_e(this,e,e6,$g,be,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},Xg)}}function t6(i){je(i,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function p1(i){let e,t,n;return{c(){e=w("div"),t=Ue("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Ue(i[1]),u(e,"class","text v-1o62kpz")},m(o,r){C(o,e,r),m(e,t),m(e,n)},p(o,r){r&2&&it(n,o[1])},d(o){o&&y(e)}}}function i6(i){let e,t,n,o,r,l,s=i[1]&&p1(i);return{c(){e=w("div"),t=w("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=N(),s&&s.c(),u(t,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${i[0]||""}')`)},m(a,c){C(a,e,c),m(e,t),m(e,n),s&&s.m(e,null),r||(l=Pe(e,"click",i[2]),r=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=p1(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:U,o:U,d(a){a&&y(e),s&&s.d(),r=!1,l()}}}function n6(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function r(l){go.call(this,i,l)}return i.$$set=l=>{"thumbUrl"in l&&t(0,n=l.thumbUrl),"chromecastDeviceName"in l&&t(1,o=l.chromecastDeviceName)},[n,o,r]}class Gc extends ke{constructor(e){super(),_e(this,e,n6,i6,be,{thumbUrl:0,chromecastDeviceName:1},t6)}}function o6(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class l6 extends ke{constructor(e){super(),_e(this,e,null,o6,be,{})}}function r6(i){je(i,"v-13zpvm8",".container.v-13zpvm8{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function s6(i){let e,t,n;return t=new l6({}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,r){C(o,e,r),z(t,e,null),n=!0},p:U,i(o){n||(h(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),F(t)}}}class Yc extends ke{constructor(e){super(),_e(this,e,null,s6,be,{},r6)}}function a6(i){je(i,"v-17wno3",".container.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-17wno3.v-17wno3{opacity:0;visibility:hidden}.playButton.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-17wno3:hover .playButtonBackground.v-17wno3{background-color:var(--big-play-hover-bg-color);transform:scale(1.15)}.playButton.v-17wno3 svg{transform:scale(2)}")}function u6(i){let e,t,n,o,r,l,s,a,c;return r=new _r({}),{c(){e=w("div"),t=w("div"),n=w("div"),o=N(),H(r.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(t,"class","playButton v-17wno3"),u(e,"class","container v-17wno3"),u(e,"style",l=`background-color: #222; background-image: url('${i[0]||""}')`),L(e,"hidden",i[1])},m(f,d){C(f,e,d),m(e,t),m(t,n),m(t,o),z(r,t,null),s=!0,a||(c=Pe(e,"click",mt(function(){mn(i[2])&&i[2].apply(this,arguments)})),a=!0)},p(f,[d]){i=f,(!s||d&1&&l!==(l=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",l),(!s||d&2)&&L(e,"hidden",i[1])},i(f){s||(h(r.$$.fragment,f),s=!0)},o(f){p(r.$$.fragment,f),s=!1},d(f){f&&y(e),F(r),a=!1,c()}}}function c6(i,e,t){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:r}=e;return i.$$set=l=>{"thumbUrl"in l&&t(0,n=l.thumbUrl),"hidden"in l&&t(1,o=l.hidden),"startVideo"in l&&t(2,r=l.startVideo)},[n,o,r]}class Kc extends ke{constructor(e){super(),_e(this,e,c6,u6,be,{thumbUrl:0,hidden:1,startVideo:2},a6)}}function f6(i){je(i,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
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 Dg(i){let e,t;return{c(){e=w("div"),t=Ue(i[0]),u(e,"class","title v-1bcvcf2"),E(e,"hidden",i[1])},m(n,o){y(n,e,o),d(e,t)},p(n,[o]){o&1&&$e(t,n[0]),o&2&&E(e,"hidden",n[1])},i:Z,o:Z,d(n){n&&k(e)}}}function Fg(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 Hg extends ke{constructor(e){super(),we(this,e,Fg,Dg,_e,{title:0,isHidden:1},Og)}}function Ug(i){De(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 n1(i){let e,t,n,o,l,r,s;return{c(){e=w("div"),t=w("span"),n=Ue(i[0]),o=R(),l=w("span"),l.textContent=`${le("waiting_live_day_value")}`,r=R(),s=w("span"),s.textContent=`${le("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){y(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),y(a,r,c),y(a,s,c)},p(a,c){c&1&&$e(n,a[0])},d(a){a&&(k(e),k(r),k(s))}}}function o1(i){let e,t,n,o,l,r,s;return{c(){e=w("div"),t=w("span"),n=Ue(i[1]),o=R(),l=w("span"),l.textContent=`${le("waiting_live_hour_value")}`,r=R(),s=w("span"),s.textContent=`${le("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){y(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),y(a,r,c),y(a,s,c)},p(a,c){c&2&&$e(n,a[1])},d(a){a&&(k(e),k(r),k(s))}}}function l1(i){let e,t,n,o,l,r,s;return{c(){e=w("div"),t=w("span"),n=Ue(i[2]),o=R(),l=w("span"),l.textContent=`${le("waiting_live_minute_value")}`,r=R(),s=w("span"),s.textContent=`${le("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){y(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),y(a,r,c),y(a,s,c)},p(a,c){c&4&&$e(n,a[2])},d(a){a&&(k(e),k(r),k(s))}}}function r1(i){let e,t,n,o,l;return{c(){e=w("div"),t=w("span"),n=Ue(i[3]),o=R(),l=w("span"),l.textContent=`${le("waiting_live_second_value")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(r,s){y(r,e,s),d(e,t),d(t,n),d(e,o),d(e,l)},p(r,s){s&8&&$e(n,r[3])},d(r){r&&k(e)}}}function jg(i){let e,t,n,o,l=i[0]&&n1(i),r=i[1]&&o1(i),s=i[2]&&l1(i),a=i[3]&&r1(i);return{c(){e=w("div"),l&&l.c(),t=R(),r&&r.c(),n=R(),s&&s.c(),o=R(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){y(c,e,f),l&&l.m(e,null),d(e,t),r&&r.m(e,null),d(e,n),s&&s.m(e,null),d(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?l?l.p(c,f):(l=n1(c),l.c(),l.m(e,t)):l&&(l.d(1),l=null),c[1]?r?r.p(c,f):(r=o1(c),r.c(),r.m(e,n)):r&&(r.d(1),r=null),c[2]?s?s.p(c,f):(s=l1(c),s.c(),s.m(e,o)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=r1(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:Z,o:Z,d(c){c&&k(e),l&&l.d(),r&&r.d(),s&&s.d(),a&&a.d()}}}function Wg(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,l,r,s,a,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 A=Math.floor(v/3600);t(1,r=f(A));const P=Math.floor(v/60)%60;t(2,s=f(P));const T=v%60;t(3,a=f(T))},g=()=>{const v=Math.floor(Date.now()/1e3),b=n-v;h(b),b>=1?c=requestAnimationFrame(g):o()};return en(()=>{c=requestAnimationFrame(g)}),nl(()=>{cancelAnimationFrame(c)}),i.$$set=v=>{"startTime"in v&&t(4,n=v.startTime),"onTimerOver"in v&&t(5,o=v.onTimerOver)},[l,r,s,a,n,o]}class qg extends ke{constructor(e){super(),we(this,e,Wg,jg,_e,{startTime:4,onTimerOver:5},Ug)}}function Zg(i){let e,t,n,o,l;return{c(){e=M("svg"),t=M("path"),n=M("path"),o=M("path"),l=M("path"),u(t,"fill","#fefffe"),u(t,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),Ht(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"),Ht(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"),Ht(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"),Ht(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"),Ht(e,"shape-rendering","geometricPrecision"),Ht(e,"text-rendering","geometricPrecision"),Ht(e,"image-rendering","optimizeQuality"),Ht(e,"fill-rule","evenodd"),Ht(e,"clip-rule","evenodd"),Ht(e,"width","100%"),Ht(e,"height","100%")},m(r,s){y(r,e,s),d(e,t),d(e,n),d(e,o),d(e,l)},p:Z,i:Z,o:Z,d(r){r&&k(e)}}}class Gg extends ke{constructor(e){super(),we(this,e,null,Zg,_e,{})}}function Yg(i){De(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 Kg(i){let e,t,n,o,l;return o=new qg({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=w("div"),t=w("span"),t.textContent=`${le("waiting_live_timer_title")}`,n=R(),F(o.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(r,s){y(r,e,s),d(e,t),d(e,n),O(o,e,null),l=!0},p(r,s){const a={};s&2&&(a.startTime=r[1]||0),s&4&&(a.onTimerOver=r[3]),o.$set(a)},i(r){l||(m(o.$$.fragment,r),l=!0)},o(r){p(o.$$.fragment,r),l=!1},d(r){r&&k(e),D(o)}}}function Xg(i){let e,t,n,o,l,r;return n=new Gg({}),{c(){e=w("div"),t=w("div"),F(n.$$.fragment),o=R(),l=w("span"),l.textContent=`${le("waiting_live_upcoming_title")}`,u(t,"class","upcoming-icon v-15pewff"),u(l,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(s,a){y(s,e,a),d(e,t),O(n,t,null),d(e,o),d(e,l),r=!0},p:Z,i(s){r||(m(n.$$.fragment,s),r=!0)},o(s){p(n.$$.fragment,s),r=!1},d(s){s&&k(e),D(n)}}}function Qg(i){let e,t,n,o,l;const r=[Xg,Kg],s=[];function a(c,f){return c[2]?0:1}return t=a(i),n=s[t]=r[t](i),{c(){e=w("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${i[2]?"":i[0]})`)},m(c,f){y(c,e,f),s[t].m(e,null),l=!0},p(c,[f]){let h=t;t=a(c),t===h?s[t].p(c,f):(he(),p(s[h],1,1,()=>{s[h]=null}),ve(),n=s[t],n?n.p(c,f):(n=s[t]=r[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&&k(e),s[t].d()}}}function Jg(i,e,t){let n,{thumbUrl:o}=e,{startTime:l}=e;const r=()=>t(2,n=!0);return i.$$set=s=>{"thumbUrl"in s&&t(0,o=s.thumbUrl),"startTime"in s&&t(1,l=s.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=l===void 0||l<Math.floor(Date.now()/1e3))},[o,l,n,r]}class Dc extends ke{constructor(e){super(),we(this,e,Jg,Qg,_e,{thumbUrl:0,startTime:1},Yg)}}function xg(i){De(i,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function $g(i){let e,t;return{c(){e=w("div"),t=w("p"),t.textContent=`${le("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){y(n,e,o),d(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Fc extends ke{constructor(e){super(),we(this,e,null,$g,_e,{},xg)}}const{window:e6}=Q1;function t6(i){De(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 s1(i){var n;let e,t;return e=new Dc({props:{thumbUrl:i[3],startTime:(n=i[5])==null?void 0:n.startTime}}),{c(){F(e.$$.fragment)},m(o,l){O(e,o,l),t=!0},p(o,l){var s;const r={};l[0]&8&&(r.thumbUrl=o[3]),l[0]&32&&(r.startTime=(s=o[5])==null?void 0:s.startTime),e.$set(r)},i(o){t||(m(e.$$.fragment,o),t=!0)},o(o){p(e.$$.fragment,o),t=!1},d(o){D(e,o)}}}function a1(i){let e,t;return e=new Fc({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function u1(i){let e,t,n;return t=new $u({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),E(e,"hidden",i[35]!==Be.Ads)},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const r={};l[0]&512&&(r.adsSlotId=o[9]),l[0]&1024&&(r.adsParams=o[10]),l[0]&2048&&(r.adsPreviewParam=o[11]),l[0]&4096&&(r.duration=o[12]),t.$set(r),(!n||l[1]&16)&&E(e,"hidden",o[35]!==Be.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function c1(i){let e,t;return e=new Wm({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function f1(i){let e,t;return e=new Hg({props:{title:i[2],isHidden:!i[33]}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.title=n[2]),o[1]&4&&(l.isHidden=!n[33]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function d1(i){let e,t;return e=new Mc({props:{isShifted:i[35]===Be.Video&&i[33]}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&20&&(l.isShifted=n[35]===Be.Video&&n[33]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function m1(i){let e,t,n;return t=new hu({props:{ariaLabel:le("video360")}}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,l){y(o,e,l),O(t,e,null),n=!0},p:Z,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function h1(i){let e,t;return e=new Bc({props:{thumbUrl:i[3],chromecastDeviceName:i[52]}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&8&&(l.thumbUrl=n[3]),o[1]&2097152&&(l.chromecastDeviceName=n[52]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function v1(i){let e,t;return e=new Rc({props:{shifted:i[33],captions:i[54],position:i[55],playerSize:i[31]}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&4&&(l.shifted=n[33]),o[1]&8388608&&(l.captions=n[54]),o[1]&16777216&&(l.position=n[55]),o[1]&1&&(l.playerSize=n[31]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function p1(i){let e,t;return e=new ec({props:{showControls:i[33]}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&4&&(l.showControls=n[33]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function g1(i){let e,t,n,o,l;return t=new Nc({}),{c(){e=w("div"),F(t.$$.fragment)},m(r,s){y(r,e,s),O(t,e,null),n=!0,o||(l=[Le(e,"contextmenu",Ti(i[102])),Le(e,"click",ut(i[113]))],o=!0)},p:Z,i(r){n||(m(t.$$.fragment,r),n=!0)},o(r){p(t.$$.fragment,r),n=!1},d(r){r&&k(e),D(t),o=!1,Yt(l)}}}function b1(i){let e,t;return e=new ac({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function _1(i){let e,t;return e=new f3({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function w1(i){let e,t;return e=new nc({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function k1(i){let e,t,n,o,l,r,s,a,c,f,h,g,v,b,A,P,T,S,I,z,X,$,H,B,ne,re;e=new Oc({props:{hidden:i[35]!==Be.Thumb||i[34]||i[90]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let L=i[35]===Be.WaitingLive&&s1(i),ue=i[35]===Be.WaitingRecord&&a1(),J=i[8]&&i[22]&&u1(i),U=i[30]&&i[18]&&i[19]&&c1(i),_=i[43]&&f1(i),Y=i[48]&&d1(i),ae=i[51]&&m1(),be=i[36]&&h1(i),me=i[53].value!=="off"&&v1(i),se=i[1].features.annotations&&p1(i),Te=i[34]&&g1(i);function K(N){i[141](N)}let V={bottomHidden:i[35]===Be.Thumb||i[35]===Be.WaitingLive||i[35]===Be.WaitingRecord,bottomNoSmooth:i[49],showControls:i[33],isAds:i[35]===Be.Ads,canRewindLive:i[7]&&i[56]!==0,logoClickable:i[13],logoHidden:i[14],videoLogoUrl:i[4],showNextPrevButtons:i[15],nextButtonActive:i[16],prevButtonActive:i[17],isOneVideoPlaylist:i[20],supportLink:i[21],customFullscreenSupported:o6,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[100],returnFocus:i[140],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};i[38]!==void 0&&(V.controlsElementRef=i[38]),b=new Ic({props:V}),Ge.push(()=>Ct(b,"controlsElementRef",K)),T=new ic({props:{isLive:i[57],isHidden:!i[42],isPlaying:i[58],position:i[55],duration:i[59]}}),I=new gg({props:{data:i[98]}}),X=new ym({props:{supportLink:i[21],returnFocus:i[142],visible:i[47],playerContainerRef:i[37],controlsContainerRef:i[38],x:i[39],y:i[40]}});let oe=i[41]&&b1(),x=i[60]&&_1(),Ee=i[61]&&w1();return{c(){F(e.$$.fragment),t=R(),L&&L.c(),n=R(),ue&&ue.c(),o=R(),J&&J.c(),l=R(),U&&U.c(),r=R(),_&&_.c(),s=R(),Y&&Y.c(),a=R(),ae&&ae.c(),c=R(),be&&be.c(),f=R(),me&&me.c(),h=R(),se&&se.c(),g=R(),Te&&Te.c(),v=R(),F(b.$$.fragment),P=R(),F(T.$$.fragment),S=R(),F(I.$$.fragment),z=R(),F(X.$$.fragment),$=R(),oe&&oe.c(),H=R(),x&&x.c(),B=R(),Ee&&Ee.c(),ne=bt()},m(N,ee){O(e,N,ee),y(N,t,ee),L&&L.m(N,ee),y(N,n,ee),ue&&ue.m(N,ee),y(N,o,ee),J&&J.m(N,ee),y(N,l,ee),U&&U.m(N,ee),y(N,r,ee),_&&_.m(N,ee),y(N,s,ee),Y&&Y.m(N,ee),y(N,a,ee),ae&&ae.m(N,ee),y(N,c,ee),be&&be.m(N,ee),y(N,f,ee),me&&me.m(N,ee),y(N,h,ee),se&&se.m(N,ee),y(N,g,ee),Te&&Te.m(N,ee),y(N,v,ee),O(b,N,ee),y(N,P,ee),O(T,N,ee),y(N,S,ee),O(I,N,ee),y(N,z,ee),O(X,N,ee),y(N,$,ee),oe&&oe.m(N,ee),y(N,H,ee),x&&x.m(N,ee),y(N,B,ee),Ee&&Ee.m(N,ee),y(N,ne,ee),re=!0},p(N,ee){const Ie={};ee[0]&64|ee[1]&24&&(Ie.hidden=N[35]!==Be.Thumb||N[34]||N[90]&&N[6]),ee[0]&8&&(Ie.thumbUrl=N[3]),ee[0]&536870912&&(Ie.startVideo=N[29]),e.$set(Ie),N[35]===Be.WaitingLive?L?(L.p(N,ee),ee[1]&16&&m(L,1)):(L=s1(N),L.c(),m(L,1),L.m(n.parentNode,n)):L&&(he(),p(L,1,1,()=>{L=null}),ve()),N[35]===Be.WaitingRecord?ue?ee[1]&16&&m(ue,1):(ue=a1(),ue.c(),m(ue,1),ue.m(o.parentNode,o)):ue&&(he(),p(ue,1,1,()=>{ue=null}),ve()),N[8]&&N[22]?J?(J.p(N,ee),ee[0]&4194560&&m(J,1)):(J=u1(N),J.c(),m(J,1),J.m(l.parentNode,l)):J&&(he(),p(J,1,1,()=>{J=null}),ve()),N[30]&&N[18]&&N[19]?U?(U.p(N,ee),ee[0]&1074528256&&m(U,1)):(U=c1(N),U.c(),m(U,1),U.m(r.parentNode,r)):U&&(he(),p(U,1,1,()=>{U=null}),ve()),N[43]?_?(_.p(N,ee),ee[1]&4096&&m(_,1)):(_=f1(N),_.c(),m(_,1),_.m(s.parentNode,s)):_&&(he(),p(_,1,1,()=>{_=null}),ve()),N[48]?Y?(Y.p(N,ee),ee[1]&131072&&m(Y,1)):(Y=d1(N),Y.c(),m(Y,1),Y.m(a.parentNode,a)):Y&&(he(),p(Y,1,1,()=>{Y=null}),ve()),N[51]?ae?(ae.p(N,ee),ee[1]&1048576&&m(ae,1)):(ae=m1(),ae.c(),m(ae,1),ae.m(c.parentNode,c)):ae&&(he(),p(ae,1,1,()=>{ae=null}),ve()),N[36]?be?(be.p(N,ee),ee[1]&32&&m(be,1)):(be=h1(N),be.c(),m(be,1),be.m(f.parentNode,f)):be&&(he(),p(be,1,1,()=>{be=null}),ve()),N[53].value!=="off"?me?(me.p(N,ee),ee[1]&4194304&&m(me,1)):(me=v1(N),me.c(),m(me,1),me.m(h.parentNode,h)):me&&(he(),p(me,1,1,()=>{me=null}),ve()),N[1].features.annotations?se?(se.p(N,ee),ee[0]&2&&m(se,1)):(se=p1(N),se.c(),m(se,1),se.m(g.parentNode,g)):se&&(he(),p(se,1,1,()=>{se=null}),ve()),N[34]?Te?(Te.p(N,ee),ee[1]&8&&m(Te,1)):(Te=g1(N),Te.c(),m(Te,1),Te.m(v.parentNode,v)):Te&&(he(),p(Te,1,1,()=>{Te=null}),ve());const Ce={};ee[1]&16&&(Ce.bottomHidden=N[35]===Be.Thumb||N[35]===Be.WaitingLive||N[35]===Be.WaitingRecord),ee[1]&262144&&(Ce.bottomNoSmooth=N[49]),ee[1]&4&&(Ce.showControls=N[33]),ee[1]&16&&(Ce.isAds=N[35]===Be.Ads),ee[0]&128|ee[1]&33554432&&(Ce.canRewindLive=N[7]&&N[56]!==0),ee[0]&8192&&(Ce.logoClickable=N[13]),ee[0]&16384&&(Ce.logoHidden=N[14]),ee[0]&16&&(Ce.videoLogoUrl=N[4]),ee[0]&32768&&(Ce.showNextPrevButtons=N[15]),ee[0]&65536&&(Ce.nextButtonActive=N[16]),ee[0]&131072&&(Ce.prevButtonActive=N[17]),ee[0]&1048576&&(Ce.isOneVideoPlaylist=N[20]),ee[0]&2097152&&(Ce.supportLink=N[21]),ee[0]&8388608&&(Ce.playNextVideo=N[23]),ee[0]&16777216&&(Ce.playPrevVideo=N[24]),ee[0]&33554432&&(Ce.repeatPlaylist=N[25]),ee[1]&32768&&(Ce.returnFocus=N[140]),ee[0]&67108864&&(Ce.seekToInteractive=N[26]),ee[0]&134217728&&(Ce.toggleGraph=N[27]),ee[0]&268435456&&(Ce.playPrevChapter=N[28]),!A&&ee[1]&128&&(A=!0,Ce.controlsElementRef=N[38],Pt(()=>A=!1)),b.$set(Ce);const pe={};ee[1]&67108864&&(pe.isLive=N[57]),ee[1]&2048&&(pe.isHidden=!N[42]),ee[1]&134217728&&(pe.isPlaying=N[58]),ee[1]&16777216&&(pe.position=N[55]),ee[1]&268435456&&(pe.duration=N[59]),T.$set(pe);const ye={};ee[0]&2097152&&(ye.supportLink=N[21]),ee[1]&32768&&(ye.returnFocus=N[142]),ee[1]&65536&&(ye.visible=N[47]),ee[1]&64&&(ye.playerContainerRef=N[37]),ee[1]&128&&(ye.controlsContainerRef=N[38]),ee[1]&256&&(ye.x=N[39]),ee[1]&512&&(ye.y=N[40]),X.$set(ye),N[41]?oe?ee[1]&1024&&m(oe,1):(oe=b1(),oe.c(),m(oe,1),oe.m(H.parentNode,H)):oe&&(he(),p(oe,1,1,()=>{oe=null}),ve()),N[60]?x?ee[1]&536870912&&m(x,1):(x=_1(),x.c(),m(x,1),x.m(B.parentNode,B)):x&&(he(),p(x,1,1,()=>{x=null}),ve()),N[61]?Ee?ee[1]&1073741824&&m(Ee,1):(Ee=w1(),Ee.c(),m(Ee,1),Ee.m(ne.parentNode,ne)):Ee&&(he(),p(Ee,1,1,()=>{Ee=null}),ve())},i(N){re||(m(e.$$.fragment,N),m(L),m(ue),m(J),m(U),m(_),m(Y),m(ae),m(be),m(me),m(se),m(Te),m(b.$$.fragment,N),m(T.$$.fragment,N),m(I.$$.fragment,N),m(X.$$.fragment,N),m(oe),m(x),m(Ee),re=!0)},o(N){p(e.$$.fragment,N),p(L),p(ue),p(J),p(U),p(_),p(Y),p(ae),p(be),p(me),p(se),p(Te),p(b.$$.fragment,N),p(T.$$.fragment,N),p(I.$$.fragment,N),p(X.$$.fragment,N),p(oe),p(x),p(Ee),re=!1},d(N){N&&(k(t),k(n),k(o),k(l),k(r),k(s),k(a),k(c),k(f),k(h),k(g),k(v),k(P),k(S),k(z),k($),k(H),k(B),k(ne)),D(e,N),L&&L.d(N),ue&&ue.d(N),J&&J.d(N),U&&U.d(N),_&&_.d(N),Y&&Y.d(N),ae&&ae.d(N),be&&be.d(N),me&&me.d(N),se&&se.d(N),Te&&Te.d(N),D(b,N),D(T,N),D(I,N),D(X,N),oe&&oe.d(N),x&&x.d(N),Ee&&Ee.d(N)}}}function i6(i){let e,t,n,o,l=i[50],r,s,a,c,f=k1(i);return{c(){e=w("div"),t=w("div"),o=R(),f.c(),r=bt(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[32]}deg) scale(${i[45]})`),E(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),E(e,"hidden",i[35]!==Be.Video),E(e,"nocursor",i[44])},m(h,g){y(h,e,g),d(e,t),i[139](t),y(h,o,g),f.m(h,g),y(h,r,g),s=!0,a||(c=[Le(e,"contextmenu",Ti(i[102])),Le(e,"mousedown",Ti(i[107])),Le(e,"mouseup",Ti(i[108])),Le(e,"click",Ti(i[110])),Le(e,"dblclick",Ti(i[109]))],a=!0)},p(h,g){(!s||g[1]&16386&&n!==(n=`transform: rotate(${h[32]}deg) scale(${h[45]})`))&&u(t,"style",n),(!s||g[0]&2)&&E(t,"fast-rotate",!h[1].isSmoothVideoRotate),(!s||g[1]&16)&&E(e,"hidden",h[35]!==Be.Video),(!s||g[1]&8192)&&E(e,"nocursor",h[44]),g[1]&524288&&_e(l,l=h[50])?(he(),p(f,1,1,Z),ve(),f=k1(h),f.c(),m(f,1),f.m(r.parentNode,r)):f.p(h,g)},i(h){s||(m(f),s=!0)},o(h){p(f),s=!1},d(h){h&&(k(e),k(o),k(r)),i[139](null),f.d(h),a=!1,Yt(c)}}}function n6(i){let e,t,n,o,l,r={toggleFullscreen:i[100],hideContextMenu:i[101],showHotKeyHelpers:i[111],showKeyMap:i[112],isAds:i[35]===Be.Ads,$$slots:{default:[i6]},$$scope:{ctx:i}};return t=new Ym({props:r}),i[143](t),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","player-wrapper v-1o4wf3x")},m(s,a){y(s,e,a),O(t,e,null),i[144](e),n=!0,o||(l=[Le(e6,"blur",i[101]),Le(e,"mouseenter",i[103]),Le(e,"mouseleave",i[105]),Le(e,"mousemove",i[106]),Le(e,"click",i[114],!0),Le(e,"focusin",i[104],!0)],o=!0)},p(s,a){const c={};a[1]&16&&(c.isAds=s[35]===Be.Ads),a[0]&2147483647|a[1]&2147483647|a[5]&512&&(c.$$scope={dirty:a,ctx:s}),t.$set(c)},i(s){n||(m(t.$$.fragment,s),n=!0)},o(s){p(t.$$.fragment,s),n=!1},d(s){s&&k(e),i[143](null),D(t),i[144](null),o=!1,Yt(l)}}}let o6=!0;function Hc(i){return i?i.offsetTop+Hc(i.offsetParent):0}function l6(i,e,t){let n,o,l,r,s,a,c,f,h,g,v,b,A,P,T,S,I,z,X,$,H,B,ne,re,L,ue,J,U,_,Y,ae,be,me,se,Te,K,{store:V}=e,{uiConfig:oe}=e,{title:x}=e,{thumbUrl:Ee}=e,{videoLogoUrl:N}=e,{videoContainer:ee}=e,{interactiveContainer:Ie}=e,{live:Ce}=e,{autoplay:pe}=e,{canRewindLive:ye}=e,{showAds:Pe}=e,{adsSlotId:G=void 0}=e,{adsParams:j=void 0}=e,{adsPreviewParam:We=void 0}=e,{duration:tt=void 0}=e,{logoClickable:it}=e,{logoHidden:je}=e,{showNextPrevButtons:ze=!1}=e,{nextButtonActive:rt=!1}=e,{prevButtonActive:Mt=!1}=e,{endScreenVideoTitle:Me=void 0}=e,{endScreenVideoThumb:Re=void 0}=e,{isOneVideoPlaylist:Bt=!1}=e,{supportLink:de}=e,{outerContainerRef:nt=void 0}=e,{playerStarted:xe=!1}=e,{fullScreenTarget:Qe=void 0}=e,{showMiniTimer:qe=!1}=e,{playNextVideo:et=Xe}=e,{playPrevVideo:Fe=Xe}=e,{repeatPlaylist:Oe=Xe}=e,{seekToInteractive:vt}=e,{toggleGraph:st}=e,{playPrevChapter:Kt}=e,{firstStart:Et}=e;const ot=V.getLogger().createComponentLog("Root component"),ii=V.interfaceLanguage$;q(i,ii,W=>t(50,L=W));const ft=V.state.playbackState$;q(i,ft,W=>t(136,B=W));const Ke=V.ads.playbackState;q(i,Ke,W=>t(137,ne=W));const Vt=V.state.positionWithScrubbing$;q(i,Vt,W=>t(55,Y=W));const at=V.state.duration$;q(i,at,W=>t(59,se=W));const gi=V.playerPhase;q(i,gi,W=>t(35,I=W));const fe=V.ui.isFullscreen;q(i,fe,W=>t(127,c=W));const Se=V.ui.controlsVisible;q(i,Se,W=>t(33,b=W));const Ve=V.ui.settingsMenuVisible;q(i,Ve,W=>t(125,n=W));const At=V.ui.scrubbingInProgress;q(i,At,W=>t(128,g=W));const ni=V.ui.contextMenuVisible;q(i,ni,W=>t(47,o=W));const Ae=V.ui.debugPanelVisible;q(i,Ae,W=>t(61,K=W));const ai=V.state.isLoaderVisible;q(i,ai,W=>t(138,re=W));const ui=V.state.isEnded$;q(i,ui,W=>t(126,r=W));const Ut=V.state.chromecastConnected$;q(i,Ut,W=>t(36,$=W));const Ei=V.state.chromecastDeviceName$;q(i,Ei,W=>t(52,J=W));const Xt=V.ads.postrollPassed;q(i,Xt,W=>t(131,T=W));const xt=V.state.isLive$;q(i,xt,W=>t(57,be=W));const tn=V.state.isPlaying$;q(i,tn,W=>t(58,me=W));const nn=V.state.crashed$;q(i,nn,W=>t(34,P=W));const ht=V.webApi.pictureInPictureApi,Vi=V.state.currentSubtitle$;q(i,Vi,W=>t(53,U=W));const Ii=V.state.currentSubtitleCaptions$;q(i,Ii,W=>t(54,_=W));const ln=V.state.duration$;q(i,ln,W=>t(56,ae=W));const pt=V.state.graphIsOpened$;q(i,pt,W=>t(132,S=W));const ci=V.ui.playerSize;q(i,ci,W=>t(31,a=W));const zi=V.ui.is3DVideo;q(i,zi,W=>t(48,s=W));const Mi=V.ui.icon3DVideoVisible;q(i,Mi,W=>t(51,ue=W));const bi=V.ui.rotateAlpha;q(i,bi,W=>t(32,h=W));const fi=V.state.isInteractive,Ri=V.state.isInteractiveTime$;q(i,Ri,W=>t(129,v=W));const _i=V.state.isInteractiveExpectation$;q(i,_i,W=>t(135,H=W));const ji=V.state.hasInteractiveBranches,Qt=V.ui.touched;q(i,Qt,W=>t(133,z=W));const oi=V.ui.modals.hotKeyMap.data;q(i,oi,W=>t(151,l=W));const Bi=V.ui.modals.hotKeyMap.show;q(i,Bi,W=>t(60,Te=W));let $t,jt,di=0,wi=0,Wi,mi,ki;oi.set(B4());let Ni;const hi=He(!1);q(i,hi,W=>t(49,f=W));let Oi;const yi=He(!1);q(i,yi,W=>t(134,X=W));const vi=He(),Ai=He(!1);q(i,Ai,W=>t(130,A=W));let Wt=!1,Jt=!1,ei,li,qi,Zi,ri,Di,Fi=!1,Pi,Ci=!1,St=null,Nt;ht==null||ht.setContext($1());const Gi=()=>{pe&&!fi&&Ot(oe.controls.hideTimeout)};V.setUiCallbacks({onStarted:Gi});const rn=()=>{window.clearTimeout(Wi),yi.set(!1)},Yi=()=>{window.clearTimeout(mi),vi.set(null)},Ot=W=>{rn(),yi.set(!0),Wi=window.setTimeout(()=>yi.set(!1),W);const yt=W-100;Oi=window.setTimeout(()=>{f&&hi.set(!1)},yt>0?yt:W)},Ki=(W,yt)=>{Yi(),vi.set(yt),mi=window.setTimeout(()=>vi.set(null),W)},Hi=zi.subscribe(W=>{Mi.set(W),W&&(window.clearTimeout(ki),ki=window.setTimeout(()=>Mi.set(!1),oe.controls.hide360IconTimeout))}),It=()=>jn(this,null,function*(){var yt,Ji,Li,ie;const W=Ao();if(W){Ot(oe.controls.hideTimeoutFullscreen);try{yield ht==null?void 0:ht.remove()}catch(Hn){ot({message:String(Hn)})}}fe.set(W),V.getAdmanWrapper().setFullscreen(W),c?(Ji=(yt=V.callbacks)==null?void 0:yt.onFullscreenEnter)==null||Ji.call(yt):(ie=(Li=V.callbacks)==null?void 0:Li.onFullscreenExit)==null||ie.call(Li)}),ce=W=>{const yt=W;ci.set({width:yt.target.width,height:yt.target.height})};en(()=>{var yt;return Qu(It),tl(ht)&&(ht==null||ht.assignPlayerContainer($t),ht==null||ht.updateVideoElement(),ht==null||ht.registryEventHandlers(),ht==null||ht.registryExternalEventHandlers({resize:ce})),Ie&&((yt=ee.parentElement)==null||yt.insertBefore(Ie,ee.nextSibling)),()=>{window.clearTimeout(Wi),window.clearTimeout(Oi),window.clearTimeout(mi),window.clearTimeout(ki),Hi(),ht==null||ht.dispose(),Ju(It)}});const un=()=>jn(this,null,function*(){if(Ao())yield Xu(document),ot({message:"exit fullscreen"});else{ot({message:"request fullscreen"});const W=nt!=null?nt:$t,yt=W.getRootNode(),Ji=yt instanceof ShadowRoot?yt.host:yt,Li=Qe instanceof HTMLElement&&Qe.contains(Ji),ie=oe.allowChangingFullscreenTarget&&Qe&&Li?Qe:W;yield Ku(ie)}}),Xi=()=>{Ve.set(!1),ni.set(!1)},yn=W=>{ni.set(!0),t(39,di=W.clientX),t(40,wi=W.clientY)};function Pn(){Ai.set(!0),fi||Ot(oe.controls.hideTimeoutCursor)}function Cn(){fi||(hi.set(!0),Ot(oe.controls.hideTimeoutCursor))}function Fn(){Ai.set(!1),t(121,Jt=!1),t(120,Wt=!1),Ci=!1,V.actions.internal.releaseCamera()}function Q(W){if($t){const yt=Hc(W.currentTarget),Ji=a.height,Li=W.pageY-yt;Li<br?t(121,Jt=!0):Li>Ji-br?t(120,Wt=!0):(t(121,Jt=!1),n||t(120,Wt=!1))}}function gt(W){Q(W),li||Ot(oe.controls.hideTimeoutCursor),s&&Ci&&St&&V.actions.internal.moveCameraFocusPX(St.clientX-W.clientX,St.clientY-W.clientY,W.timeStamp-St.timeStamp),St=W}const cn=W=>{W.button===0&&(Ci=!0,V.actions.internal.holdCamera()),Ot(oe.controls.hideTimeoutCursor)},Qi=W=>{W.button===0&&(St=W,Ci=!1,V.actions.internal.releaseCamera()),Ot(oe.controls.hideTimeoutCursor)},gn=()=>{ot({message:"double click on video"}),un(),Ot(oe.controls.hideTimeoutCursor)},fn=()=>{if(o||n){Xi();return}if(!(r&&!ji)){if(Nt==null||Nt.focus(),!xe){Et(),Ot(oe.controls.hideTimeoutCursor);return}V.actions.internal.togglePlay(),Ot(oe.controls.hideTimeoutCursor)}},co=W=>{Xi(),Qt.set(!0),Ot(oe.controls.hideTimeout),W&&Ki(1e5,W)},fo=()=>{var W,yt;Xi(),(W=V.callbacks)!=null&&W.onOpenHotKeyMap?(yt=V.callbacks)==null||yt.onOpenHotKeyMap(l):Bi.update(Ji=>!Ji)},mo=()=>{if(o||n){Xi();return}},ho=()=>{Qt.set(!0)};function vo(W){Ge[W?"unshift":"push"](()=>{ee=W,t(0,ee)})}const po=()=>Nt==null?void 0:Nt.focus();function go(W){jt=W,t(38,jt)}const bo=()=>Nt==null?void 0:Nt.focus();function _o(W){Ge[W?"unshift":"push"](()=>{Nt=W,t(46,Nt)})}function wo(W){Ge[W?"unshift":"push"](()=>{$t=W,t(37,$t)})}return i.$$set=W=>{"store"in W&&t(115,V=W.store),"uiConfig"in W&&t(1,oe=W.uiConfig),"title"in W&&t(2,x=W.title),"thumbUrl"in W&&t(3,Ee=W.thumbUrl),"videoLogoUrl"in W&&t(4,N=W.videoLogoUrl),"videoContainer"in W&&t(0,ee=W.videoContainer),"interactiveContainer"in W&&t(116,Ie=W.interactiveContainer),"live"in W&&t(5,Ce=W.live),"autoplay"in W&&t(6,pe=W.autoplay),"canRewindLive"in W&&t(7,ye=W.canRewindLive),"showAds"in W&&t(8,Pe=W.showAds),"adsSlotId"in W&&t(9,G=W.adsSlotId),"adsParams"in W&&t(10,j=W.adsParams),"adsPreviewParam"in W&&t(11,We=W.adsPreviewParam),"duration"in W&&t(12,tt=W.duration),"logoClickable"in W&&t(13,it=W.logoClickable),"logoHidden"in W&&t(14,je=W.logoHidden),"showNextPrevButtons"in W&&t(15,ze=W.showNextPrevButtons),"nextButtonActive"in W&&t(16,rt=W.nextButtonActive),"prevButtonActive"in W&&t(17,Mt=W.prevButtonActive),"endScreenVideoTitle"in W&&t(18,Me=W.endScreenVideoTitle),"endScreenVideoThumb"in W&&t(19,Re=W.endScreenVideoThumb),"isOneVideoPlaylist"in W&&t(20,Bt=W.isOneVideoPlaylist),"supportLink"in W&&t(21,de=W.supportLink),"outerContainerRef"in W&&t(117,nt=W.outerContainerRef),"playerStarted"in W&&t(22,xe=W.playerStarted),"fullScreenTarget"in W&&t(118,Qe=W.fullScreenTarget),"showMiniTimer"in W&&t(119,qe=W.showMiniTimer),"playNextVideo"in W&&t(23,et=W.playNextVideo),"playPrevVideo"in W&&t(24,Fe=W.playPrevVideo),"repeatPlaylist"in W&&t(25,Oe=W.repeatPlaylist),"seekToInteractive"in W&&t(26,vt=W.seekToInteractive),"toggleGraph"in W&&t(27,st=W.toggleGraph),"playPrevChapter"in W&&t(28,Kt=W.playPrevChapter),"firstStart"in W&&t(29,Et=W.firstStart)},i.$$.update=()=>{i.$$.dirty[1]&24|i.$$.dirty[4]&24576&&t(41,Ni=(I===Be.Video&&re||I===Be.Ads&&ne===Zt.INACTIVE)&&!P),i.$$.dirty[4]&4096&&t(122,ei=B!==Si.PLAYING),i.$$.dirty[3]&939524096|i.$$.dirty[4]&2080&&t(123,li=v&&!(Wt||Jt)&&!(ei&&!H)),i.$$.dirty[1]&56|i.$$.dirty[3]&1610612736|i.$$.dirty[4]&1042&&Se.set((ei||n||g||$||X)&&!li&&I===Be.Video&&!P),i.$$.dirty[0]&2|i.$$.dirty[1]&28|i.$$.dirty[3]&67108864|i.$$.dirty[4]&512&&t(42,qi=oe.features.thumbTimer&&qe&&I===Be.Video&&!b&&!P&&!fi&&(oe.hideThumbTimerAfterTouch&&!z||!oe.hideThumbTimerAfterTouch)),i.$$.dirty[1]&16|i.$$.dirty[4]&264&&t(43,Zi=I===Be.Video&&!S&&c),i.$$.dirty[0]&256|i.$$.dirty[1]&8|i.$$.dirty[4]&132&&t(30,ri=(Pe&&T||!Pe)&&r&&!P),i.$$.dirty[0]&1073741824|i.$$.dirty[1]&4|i.$$.dirty[4]&96&&t(44,Di=A&&!(b||ri)&&!v),i.$$.dirty[0]&2|i.$$.dirty[4]&49&&(!g&&Fi&&!v&&Ot(oe.controls.hideTimeoutCursor),t(124,Fi=g)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(45,Pi=ee&&h%180?a.height/a.width:1)},[ee,oe,x,Ee,N,Ce,pe,ye,Pe,G,j,We,tt,it,je,ze,rt,Mt,Me,Re,Bt,de,xe,et,Fe,Oe,vt,st,Kt,Et,ri,a,h,b,P,I,$,$t,jt,di,wi,Ni,qi,Zi,Di,Pi,Nt,o,s,f,L,ue,J,U,_,Y,ae,be,me,se,Te,K,ii,ft,Ke,Vt,at,gi,fe,Se,Ve,At,ni,Ae,ai,ui,Ut,Ei,Xt,xt,tn,nn,Vi,Ii,ln,pt,ci,zi,Mi,bi,fi,Ri,_i,Qt,oi,Bi,hi,yi,vi,Ai,un,Xi,yn,Pn,Cn,Fn,gt,cn,Qi,gn,fn,co,fo,mo,ho,V,Ie,nt,Qe,qe,Wt,Jt,ei,li,Fi,n,r,c,g,v,A,T,S,z,X,H,B,ne,re,vo,po,go,bo,_o,wo]}class r6 extends ke{constructor(e){super(),we(this,e,l6,n6,_e,{store:115,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:116,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:117,playerStarted:22,fullScreenTarget:118,showMiniTimer:119,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},t6,[-1,-1,-1,-1,-1,-1])}}const s6=i=>{if(!Z1(!0))return!1;const e=i.device===s0.iPad||(window==null?void 0:window.screen.width)>700,t=a0();return!e||e&&!!t&&t<16};function a6(i){De(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 y1(i){let e,t,n,o,l,r,s,a,c,f,h,g,v,b,A,P=le("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",T;return{c(){e=w("div"),n=R(),o=w("div"),l=w("div"),r=w("div"),a=R(),c=w("div"),h=R(),g=w("div"),b=R(),A=w("p"),T=Ue(P),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(r,"class",s="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(g,"class",v="triangle "+i[0]+" v-nhq2ld"),u(l,"class","triangles-wrapper v-nhq2ld"),u(A,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(S,I){y(S,e,I),y(S,n,I),y(S,o,I),d(o,l),d(l,r),d(l,a),d(l,c),d(l,h),d(l,g),d(o,b),d(o,A),d(A,T)},p(S,I){I&1&&t!==(t="semicircle "+S[0]+" v-nhq2ld")&&u(e,"class",t),I&1&&s!==(s="triangle "+S[0]+" v-nhq2ld")&&u(r,"class",s),I&1&&f!==(f="triangle "+S[0]+" v-nhq2ld")&&u(c,"class",f),I&1&&v!==(v="triangle "+S[0]+" v-nhq2ld")&&u(g,"class",v),I&2&&P!==(P=le("doubletap_seek_step",{seconds:S[1].toFixed(0)})+"")&&$e(T,P)},d(S){S&&(k(e),k(n),k(o))}}}function u6(i){let e,t,n,o,l=i[2]&&y1(i);return{c(){e=w("div"),l&&l.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(r,s){y(r,e,s),l&&l.m(e,null),n||(o=Le(e,"click",ut(i[3]())),n=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=y1(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null),s&1&&t!==(t="double-click-area "+r[0]+" v-nhq2ld")&&u(e,"class",t)},i:Z,o:Z,d(r){r&&k(e),l&&l.d(),n=!1,o()}}}function c6(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:l}=e,{handleSecondClick:r}=e,s=!1,a=0,c=0;const f=()=>{let g=0;return()=>{g+=1,g===1?a=window.setTimeout(()=>{l(),g=0},300):(window.clearTimeout(a),g=0,r(),t(2,s=!0),c=window.setTimeout(()=>{t(2,s=!1)},500))}};return nl(()=>{window.clearTimeout(a),window.clearTimeout(c)}),i.$$set=h=>{"side"in h&&t(0,n=h.side),"seekStep"in h&&t(1,o=h.seekStep),"handleSingleFirstClick"in h&&t(4,l=h.handleSingleFirstClick),"handleSecondClick"in h&&t(5,r=h.handleSecondClick)},[n,o,s,f,l,r]}class Uc extends ke{constructor(e){super(),we(this,e,c6,u6,_e,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},a6)}}function f6(i,e,t){let{playNextVideo:n}=e;return en(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class d6 extends ke{constructor(e){super(),we(this,e,f6,null,_e,{playNextVideo:0})}}const{window:m6}=Q1;function h6(i){De(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 P1(i){let e,t,n,o;e=new Uc({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[98],handleSecondClick:i[126]}});let l=!i[47]&&C1(i);return{c(){F(e.$$.fragment),t=R(),l&&l.c(),n=bt()},m(r,s){O(e,r,s),y(r,t,s),l&&l.m(r,s),y(r,n,s),o=!0},p(r,s){const a={};s[0]&2&&(a.seekStep=r[1].controls.seekStepMobile/1e3),e.$set(a),r[47]?l&&(he(),p(l,1,1,()=>{l=null}),ve()):l?(l.p(r,s),s[1]&65536&&m(l,1)):(l=C1(r),l.c(),m(l,1),l.m(n.parentNode,n))},i(r){o||(m(e.$$.fragment,r),m(l),o=!0)},o(r){p(e.$$.fragment,r),p(l),o=!1},d(r){r&&(k(t),k(n)),D(e,r),l&&l.d(r)}}}function C1(i){let e,t;return e=new Uc({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[98],handleSecondClick:i[127]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function S1(i){var n;let e,t;return e=new Dc({props:{thumbUrl:i[2],startTime:(n=i[4])==null?void 0:n.startTime}}),{c(){F(e.$$.fragment)},m(o,l){O(e,o,l),t=!0},p(o,l){var s;const r={};l[0]&4&&(r.thumbUrl=o[2]),l[0]&16&&(r.startTime=(s=o[4])==null?void 0:s.startTime),e.$set(r)},i(o){t||(m(e.$$.fragment,o),t=!0)},o(o){p(e.$$.fragment,o),t=!1},d(o){D(e,o)}}}function T1(i){let e,t;return e=new Fc({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function E1(i){let e,t,n;return t=new $u({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),E(e,"hidden",i[33]!==Be.Ads)},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const r={};l[0]&256&&(r.adsSlotId=o[8]),l[0]&512&&(r.adsParams=o[9]),l[0]&1024&&(r.adsPreviewParam=o[10]),l[0]&2048&&(r.duration=o[11]),t.$set(r),(!n||l[1]&4)&&E(e,"hidden",o[33]!==Be.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function A1(i){let e,t;return e=new d6({props:{playNextVideo:i[22]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function L1(i){let e,t;return e=new Mc({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function V1(i){let e,t,n;return t=new hu({props:{ariaLabel:le("video360")}}),{c(){e=w("div"),F(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,l){y(o,e,l),O(t,e,null),n=!0},p:Z,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function I1(i){let e,t;return e=new Bc({props:{thumbUrl:i[2],chromecastDeviceName:i[50]}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.thumbUrl=n[2]),o[1]&524288&&(l.chromecastDeviceName=n[50]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function z1(i){let e,t;return e=new Rc({props:{shifted:i[29],captions:i[52],position:i[43],playerSize:i[30],isMobile:!0}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&536870912&&(l.shifted=n[29]),o[1]&2097152&&(l.captions=n[52]),o[1]&4096&&(l.position=n[43]),o[0]&1073741824&&(l.playerSize=n[30]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function M1(i){let e,t;return e=new ec({props:{showControls:i[29]}}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&536870912&&(l.showControls=n[29]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function R1(i){let e,t,n,o,l;return t=new Nc({}),{c(){e=w("div"),F(t.$$.fragment)},m(r,s){y(r,e,s),O(t,e,null),n=!0,o||(l=Le(e,"click",ut(i[99])),o=!0)},p:Z,i(r){n||(m(t.$$.fragment,r),n=!0)},o(r){p(t.$$.fragment,r),n=!1},d(r){r&&k(e),D(t),o=!1,l()}}}function B1(i){let e,t;return e=new ac({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function N1(i){let e,t;return e=new nc({}),{c(){F(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function O1(i){let e,t,n=i[6]&&i[77]&&!i[46].has(mt.TIMELINE),o,l,r,s,a,c,f,h,g,v,b,A,P,T,S,I,z,X,$;e=new Oc({props:{hidden:i[33]!==Be.Thumb||i[32]||i[88]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let H=n&&P1(i),B=i[33]===Be.WaitingLive&&S1(i),ne=i[33]===Be.WaitingRecord&&T1(),re=i[7]&&i[21]&&E1(i),L=i[40]&&i[17]&&i[18]&&A1(i),ue=i[48]&&L1(),J=i[49]&&V1(),U=i[34]&&I1(i),_=i[51].value!=="off"&&z1(i),Y=i[1].features.annotations&&M1(i),ae=i[32]&&R1(i);function be(K){i[128](K)}let me={bottomHidden:i[33]===Be.Thumb||i[33]===Be.WaitingLive||i[33]===Be.WaitingRecord||i[33]===Be.Ads,showControls:i[29],bottomNoSmooth:i[44],isAds:i[33]===Be.Ads,canRewindLive:i[6]&&i[53]!==0,logoClickable:i[12],logoHidden:i[13],videoLogoUrl:i[3],showNextPrevButtons:i[14],nextButtonActive:i[15],prevButtonActive:i[16],isOneVideoPlaylist:i[19],supportLink:i[20],customFullscreenSupported:i[38],playNextVideo:i[22],playPrevVideo:i[23],repeatPlaylist:i[24],toggleFullscreen:i[96],seekToInteractive:i[25],toggleGraph:i[26],playPrevChapter:i[27]};i[36]!==void 0&&(me.controlsElementRef=i[36]),A=new Ic({props:me}),Ge.push(()=>Ct(A,"controlsElementRef",be)),S=new ic({props:{isLive:i[54],isHidden:!i[39],isPlaying:i[55],position:i[43],duration:i[42]}});let se=i[37]&&B1(),Te=i[56]&&N1();return{c(){F(e.$$.fragment),t=R(),H&&H.c(),o=R(),B&&B.c(),l=R(),ne&&ne.c(),r=R(),re&&re.c(),s=R(),L&&L.c(),a=R(),ue&&ue.c(),c=R(),J&&J.c(),f=R(),U&&U.c(),h=R(),_&&_.c(),g=R(),Y&&Y.c(),v=R(),ae&&ae.c(),b=R(),F(A.$$.fragment),T=R(),F(S.$$.fragment),I=R(),se&&se.c(),z=R(),Te&&Te.c(),X=bt()},m(K,V){O(e,K,V),y(K,t,V),H&&H.m(K,V),y(K,o,V),B&&B.m(K,V),y(K,l,V),ne&&ne.m(K,V),y(K,r,V),re&&re.m(K,V),y(K,s,V),L&&L.m(K,V),y(K,a,V),ue&&ue.m(K,V),y(K,c,V),J&&J.m(K,V),y(K,f,V),U&&U.m(K,V),y(K,h,V),_&&_.m(K,V),y(K,g,V),Y&&Y.m(K,V),y(K,v,V),ae&&ae.m(K,V),y(K,b,V),O(A,K,V),y(K,T,V),O(S,K,V),y(K,I,V),se&&se.m(K,V),y(K,z,V),Te&&Te.m(K,V),y(K,X,V),$=!0},p(K,V){const oe={};V[0]&32|V[1]&6&&(oe.hidden=K[33]!==Be.Thumb||K[32]||K[88]&&K[5]),V[0]&4&&(oe.thumbUrl=K[2]),V[0]&268435456&&(oe.startVideo=K[28]),e.$set(oe),V[0]&64|V[1]&32768&&(n=K[6]&&K[77]&&!K[46].has(mt.TIMELINE)),n?H?(H.p(K,V),V[0]&64|V[1]&32768&&m(H,1)):(H=P1(K),H.c(),m(H,1),H.m(o.parentNode,o)):H&&(he(),p(H,1,1,()=>{H=null}),ve()),K[33]===Be.WaitingLive?B?(B.p(K,V),V[1]&4&&m(B,1)):(B=S1(K),B.c(),m(B,1),B.m(l.parentNode,l)):B&&(he(),p(B,1,1,()=>{B=null}),ve()),K[33]===Be.WaitingRecord?ne?V[1]&4&&m(ne,1):(ne=T1(),ne.c(),m(ne,1),ne.m(r.parentNode,r)):ne&&(he(),p(ne,1,1,()=>{ne=null}),ve()),K[7]&&K[21]?re?(re.p(K,V),V[0]&2097280&&m(re,1)):(re=E1(K),re.c(),m(re,1),re.m(s.parentNode,s)):re&&(he(),p(re,1,1,()=>{re=null}),ve()),K[40]&&K[17]&&K[18]?L?(L.p(K,V),V[0]&393216|V[1]&512&&m(L,1)):(L=A1(K),L.c(),m(L,1),L.m(a.parentNode,a)):L&&(he(),p(L,1,1,()=>{L=null}),ve()),K[48]?ue?V[1]&131072&&m(ue,1):(ue=L1(),ue.c(),m(ue,1),ue.m(c.parentNode,c)):ue&&(he(),p(ue,1,1,()=>{ue=null}),ve()),K[49]?J?(J.p(K,V),V[1]&262144&&m(J,1)):(J=V1(),J.c(),m(J,1),J.m(f.parentNode,f)):J&&(he(),p(J,1,1,()=>{J=null}),ve()),K[34]?U?(U.p(K,V),V[1]&8&&m(U,1)):(U=I1(K),U.c(),m(U,1),U.m(h.parentNode,h)):U&&(he(),p(U,1,1,()=>{U=null}),ve()),K[51].value!=="off"?_?(_.p(K,V),V[1]&1048576&&m(_,1)):(_=z1(K),_.c(),m(_,1),_.m(g.parentNode,g)):_&&(he(),p(_,1,1,()=>{_=null}),ve()),K[1].features.annotations?Y?(Y.p(K,V),V[0]&2&&m(Y,1)):(Y=M1(K),Y.c(),m(Y,1),Y.m(v.parentNode,v)):Y&&(he(),p(Y,1,1,()=>{Y=null}),ve()),K[32]?ae?(ae.p(K,V),V[1]&2&&m(ae,1)):(ae=R1(K),ae.c(),m(ae,1),ae.m(b.parentNode,b)):ae&&(he(),p(ae,1,1,()=>{ae=null}),ve());const x={};V[1]&4&&(x.bottomHidden=K[33]===Be.Thumb||K[33]===Be.WaitingLive||K[33]===Be.WaitingRecord||K[33]===Be.Ads),V[0]&536870912&&(x.showControls=K[29]),V[1]&8192&&(x.bottomNoSmooth=K[44]),V[1]&4&&(x.isAds=K[33]===Be.Ads),V[0]&64|V[1]&4194304&&(x.canRewindLive=K[6]&&K[53]!==0),V[0]&4096&&(x.logoClickable=K[12]),V[0]&8192&&(x.logoHidden=K[13]),V[0]&8&&(x.videoLogoUrl=K[3]),V[0]&16384&&(x.showNextPrevButtons=K[14]),V[0]&32768&&(x.nextButtonActive=K[15]),V[0]&65536&&(x.prevButtonActive=K[16]),V[0]&524288&&(x.isOneVideoPlaylist=K[19]),V[0]&1048576&&(x.supportLink=K[20]),V[1]&128&&(x.customFullscreenSupported=K[38]),V[0]&4194304&&(x.playNextVideo=K[22]),V[0]&8388608&&(x.playPrevVideo=K[23]),V[0]&16777216&&(x.repeatPlaylist=K[24]),V[0]&33554432&&(x.seekToInteractive=K[25]),V[0]&67108864&&(x.toggleGraph=K[26]),V[0]&134217728&&(x.playPrevChapter=K[27]),!P&&V[1]&32&&(P=!0,x.controlsElementRef=K[36],Pt(()=>P=!1)),A.$set(x);const Ee={};V[1]&8388608&&(Ee.isLive=K[54]),V[1]&256&&(Ee.isHidden=!K[39]),V[1]&16777216&&(Ee.isPlaying=K[55]),V[1]&4096&&(Ee.position=K[43]),V[1]&2048&&(Ee.duration=K[42]),S.$set(Ee),K[37]?se?V[1]&64&&m(se,1):(se=B1(),se.c(),m(se,1),se.m(z.parentNode,z)):se&&(he(),p(se,1,1,()=>{se=null}),ve()),K[56]?Te?V[1]&33554432&&m(Te,1):(Te=N1(),Te.c(),m(Te,1),Te.m(X.parentNode,X)):Te&&(he(),p(Te,1,1,()=>{Te=null}),ve())},i(K){$||(m(e.$$.fragment,K),m(H),m(B),m(ne),m(re),m(L),m(ue),m(J),m(U),m(_),m(Y),m(ae),m(A.$$.fragment,K),m(S.$$.fragment,K),m(se),m(Te),$=!0)},o(K){p(e.$$.fragment,K),p(H),p(B),p(ne),p(re),p(L),p(ue),p(J),p(U),p(_),p(Y),p(ae),p(A.$$.fragment,K),p(S.$$.fragment,K),p(se),p(Te),$=!1},d(K){K&&(k(t),k(o),k(l),k(r),k(s),k(a),k(c),k(f),k(h),k(g),k(v),k(b),k(T),k(I),k(z),k(X)),D(e,K),H&&H.d(K),B&&B.d(K),ne&&ne.d(K),re&&re.d(K),L&&L.d(K),ue&&ue.d(K),J&&J.d(K),U&&U.d(K),_&&_.d(K),Y&&Y.d(K),ae&&ae.d(K),D(A,K),D(S,K),se&&se.d(K),Te&&Te.d(K)}}}function v6(i){let e,t,n,o,l,r=i[45],s,a,c,f=O1(i);return{c(){e=w("div"),t=w("div"),n=w("div"),l=R(),f.c(),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${i[31]}deg) scale(${i[41]})`),E(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),E(t,"hidden",i[33]!==Be.Video),u(e,"class","player-wrapper v-1jy89ut")},m(h,g){y(h,e,g),d(e,t),d(t,n),i[125](n),d(e,l),f.m(e,null),i[129](e),s=!0,a||(c=[Le(m6,"blur",i[97]),Le(t,"click",Ti(i[98])),Le(e,"click",i[100],!0),Le(e,"focusin",i[101],!0)],a=!0)},p(h,g){(!s||g[1]&1025&&o!==(o=`transform: rotate(${h[31]}deg) scale(${h[41]})`))&&u(n,"style",o),(!s||g[0]&2)&&E(n,"fast-rotate",!h[1].isSmoothVideoRotate),(!s||g[1]&4)&&E(t,"hidden",h[33]!==Be.Video),g[1]&16384&&_e(r,r=h[45])?(he(),p(f,1,1,Z),ve(),f=O1(h),f.c(),m(f,1),f.m(e,null)):f.p(h,g)},i(h){s||(m(f),s=!0)},o(h){p(f),s=!1},d(h){h&&k(e),i[125](null),f.d(h),i[129](null),a=!1,Yt(c)}}}function p6(i,e,t){let n,o,l,r,s,a,c,f,h,g,v,b,A,P,T,S,I,z,X,$,H,B,ne,re,L,ue,J,U,_,Y,ae,be,me,se,Te,K,{store:V}=e,{uiConfig:oe}=e,{thumbUrl:x}=e,{videoLogoUrl:Ee}=e,{videoContainer:N}=e,{interactiveContainer:ee}=e,{live:Ie}=e,{autoplay:Ce}=e,{canRewindLive:pe}=e,{showAds:ye}=e,{adsSlotId:Pe=void 0}=e,{adsParams:G=void 0}=e,{adsPreviewParam:j=void 0}=e,{duration:We=void 0}=e,{logoClickable:tt}=e,{logoHidden:it}=e,{showNextPrevButtons:je=!1}=e,{nextButtonActive:ze=!1}=e,{prevButtonActive:rt=!1}=e,{endScreenVideoTitle:Mt=void 0}=e,{endScreenVideoThumb:Me=void 0}=e,{isOneVideoPlaylist:Re=!1}=e,{supportLink:Bt}=e,{outerContainerRef:de=void 0}=e,{showMiniTimer:nt=!1}=e,{fullScreenTarget:xe=void 0}=e,{playerStarted:Qe=!1}=e,{playNextVideo:qe=Xe}=e,{playPrevVideo:et=Xe}=e,{repeatPlaylist:Fe=Xe}=e,{seekToInteractive:Oe}=e,{toggleGraph:vt}=e,{playPrevChapter:st}=e,{firstStart:Kt}=e,{seekTime:Et}=e;const ot=V.getLogger().createComponentLog("Root component"),ii=V.interfaceLanguage$;q(i,ii,Q=>t(45,L=Q));const ft=V.state.playbackState$;q(i,ft,Q=>t(122,B=Q));const Ke=V.ads.playbackState;q(i,Ke,Q=>t(123,ne=Q));const Vt=V.state.positionWithScrubbing$;q(i,Vt,Q=>t(43,r=Q));const at=V.state.duration$;q(i,at,Q=>t(42,l=Q));const gi=V.playerPhase;q(i,gi,Q=>t(33,z=Q));const fe=V.ui.isFullscreen;q(i,fe,Q=>t(135,a=Q));const Se=V.ui.controlsVisible;q(i,Se,Q=>t(29,o=Q));const Ve=V.ui.interactiveHideMobileControls;q(i,Ve,Q=>t(114,g=Q));const At=V.ui.settingsMenuVisible;q(i,At,Q=>t(113,n=Q));const ni=V.ui.scrubbingInProgress;q(i,ni,Q=>t(115,b=Q));const Ae=V.ui.debugPanelVisible;q(i,Ae,Q=>t(56,K=Q));const ai=V.state.isLoaderVisible;q(i,ai,Q=>t(124,re=Q));const ui=V.state.isEnded$;q(i,ui,Q=>t(117,T=Q));const Ut=V.state.chromecastConnected$;q(i,Ut,Q=>t(34,X=Q));const Ei=V.state.chromecastDeviceName$;q(i,Ei,Q=>t(50,Y=Q));const Xt=V.ads.postrollPassed;q(i,Xt,Q=>t(118,S=Q));const xt=V.ui.mobileUnmuteButtonExpanded,tn=V.ui.mobileUnmuteButtonVisible,nn=V.state.isLive$;q(i,nn,Q=>t(54,se=Q));const ht=V.state.isPlaying$;q(i,ht,Q=>t(55,Te=Q));const Vi=V.state.isActiveLive$;q(i,Vi,Q=>t(47,J=Q));const Ii=V.state.isRewindableLive$,ln=V.state.crashed$;q(i,ln,Q=>t(32,P=Q));const pt=V.webApi.pictureInPictureApi,ci=V.state.videoSize$;q(i,ci,Q=>t(136,f=Q));const zi=V.state.currentSubtitle$;q(i,zi,Q=>t(51,ae=Q));const Mi=V.state.currentSubtitleCaptions$;q(i,Mi,Q=>t(52,be=Q));const bi=V.state.duration$;q(i,bi,Q=>t(53,me=Q));const fi=V.state.graphIsOpened$;q(i,fi,Q=>t(121,H=Q));const Ri=V.ui.playerSize;q(i,Ri,Q=>t(30,c=Q));const _i=V.ui.is3DVideo;q(i,_i,Q=>t(48,U=Q));const ji=V.ui.icon3DVideoVisible;q(i,ji,Q=>t(49,_=Q));const Qt=V.ui.rotateAlpha;q(i,Qt,Q=>t(31,v=Q));const oi=V.state.isInteractive,Bi=V.state.isInteractiveTime$;q(i,Bi,Q=>t(116,A=Q));const $t=V.state.isInteractiveExpectation$;q(i,$t,Q=>t(120,$=Q));const jt=V.state.hasInteractiveBranches,di=V.ui.controls.disabledControls$;q(i,di,Q=>t(46,ue=Q));const wi=V.ui.touched;q(i,wi,Q=>t(119,I=Q));const Wi=V.ui.clientInfo$;q(i,Wi,Q=>t(134,s=Q));let mi,ki,Ni,hi,Oi,yi;const vi=He(!1);q(i,vi,Q=>t(44,h=Q));let Ai,Wt=!1,Jt,ei=!1,li,qi=!0,Zi,ri,Di=!1,Fi;pt==null||pt.setContext($1());const Pi=Q=>{clearTimeout(hi),Q&&(tn.set(!0),xt.set(!0),hi=window.setTimeout(()=>{xt.set(!1)},oe.controls.collapseMobileUnmute),oi||St(oe.controls.hideTimeoutMobile))};V.setUiCallbacks({onStarted:Pi});const Ci=()=>{window.clearTimeout(Ni),t(108,Wt=!1),g&&Ve.set(!1)},St=Q=>{Ci(),t(108,Wt=!0),Ni=window.setTimeout(()=>t(108,Wt=!1),Q);const gt=Q-100;Ai=window.setTimeout(()=>{h&&vi.set(!1)},gt>0?gt:Q)},Nt=_i.subscribe(Q=>{ji.set(Q),Q&&(window.clearTimeout(Oi),Oi=window.setTimeout(()=>ji.set(!1),oe.controls.hide360IconTimeout))}),Gi=()=>jn(this,null,function*(){var gt,cn,Qi,gn;const Q=Ao();if(Q){St(oe.controls.hideTimeoutFullscreen);try{yield pt==null?void 0:pt.remove()}catch(fn){ot({message:String(fn)})}try{const fn=f!=null&&f.width&&(f!=null&&f.height)?f:c;yield R4(fn)}catch(fn){ot({message:String(fn)})}}fe.set(Q),V.getAdmanWrapper().setFullscreen(Q),a?(cn=(gt=V.callbacks)==null?void 0:gt.onFullscreenEnter)==null||cn.call(gt):(gn=(Qi=V.callbacks)==null?void 0:Qi.onFullscreenExit)==null||gn.call(Qi)}),rn=Q=>{const gt=Q;Ri.set({width:gt.target.width,height:gt.target.height})};en(()=>{var gt;return Qu(Gi),tl(pt)&&(pt==null||pt.assignPlayerContainer(mi),pt==null||pt.updateVideoElement(),pt==null||pt.registryEventHandlers(),pt==null||pt.registryExternalEventHandlers({resize:rn})),t(38,qi=!s6(s)),ee&&((gt=N.parentElement)==null||gt.insertBefore(ee,N.nextSibling)),()=>{window.clearTimeout(Ni),window.clearTimeout(Ai),window.clearTimeout(hi),window.clearTimeout(Oi),Nt(),pt==null||pt.dispose(),Ju(Gi)}});const Yi=Q=>{let gt=r+(Q==="forward"?1:-1)*oe.controls.seekStepMobile/1e3;gt<0?gt=0:gt>l&&(gt=l-1),t(110,ei=!0),Et(gt)},Ot=()=>jn(this,null,function*(){if(Ao())yield Xu(document),ot({message:"exit fullscreen"});else{ot({message:"request fullscreen"});const Q=de!=null?de:mi,gt=Q.getRootNode(),cn=gt instanceof ShadowRoot?gt.host:gt,Qi=xe instanceof HTMLElement&&xe.contains(cn),gn=oe.allowChangingFullscreenTarget&&xe&&Qi?xe:Q;yield Ku(gn)}}),Ki=()=>{At.set(!1)},Hi=()=>{if(n){Ki();return}if(!Qe){Kt(),St(oe.controls.hideTimeoutCursor);return}t(110,ei=!1),o?Ci():St(oe.controls.hideTimeoutMobile)},It=()=>{if(n){Ki();return}},ce=()=>{wi.set(!0)},un=()=>{oi||(vi.set(!0),St(oe.controls.hideTimeoutCursor))};function Xi(Q){Ge[Q?"unshift":"push"](()=>{N=Q,t(0,N)})}const yn=()=>Yi("backward"),Pn=()=>Yi("forward");function Cn(Q){ki=Q,t(36,ki)}function Fn(Q){Ge[Q?"unshift":"push"](()=>{mi=Q,t(35,mi)})}return i.$$set=Q=>{"store"in Q&&t(102,V=Q.store),"uiConfig"in Q&&t(1,oe=Q.uiConfig),"thumbUrl"in Q&&t(2,x=Q.thumbUrl),"videoLogoUrl"in Q&&t(3,Ee=Q.videoLogoUrl),"videoContainer"in Q&&t(0,N=Q.videoContainer),"interactiveContainer"in Q&&t(103,ee=Q.interactiveContainer),"live"in Q&&t(4,Ie=Q.live),"autoplay"in Q&&t(5,Ce=Q.autoplay),"canRewindLive"in Q&&t(6,pe=Q.canRewindLive),"showAds"in Q&&t(7,ye=Q.showAds),"adsSlotId"in Q&&t(8,Pe=Q.adsSlotId),"adsParams"in Q&&t(9,G=Q.adsParams),"adsPreviewParam"in Q&&t(10,j=Q.adsPreviewParam),"duration"in Q&&t(11,We=Q.duration),"logoClickable"in Q&&t(12,tt=Q.logoClickable),"logoHidden"in Q&&t(13,it=Q.logoHidden),"showNextPrevButtons"in Q&&t(14,je=Q.showNextPrevButtons),"nextButtonActive"in Q&&t(15,ze=Q.nextButtonActive),"prevButtonActive"in Q&&t(16,rt=Q.prevButtonActive),"endScreenVideoTitle"in Q&&t(17,Mt=Q.endScreenVideoTitle),"endScreenVideoThumb"in Q&&t(18,Me=Q.endScreenVideoThumb),"isOneVideoPlaylist"in Q&&t(19,Re=Q.isOneVideoPlaylist),"supportLink"in Q&&t(20,Bt=Q.supportLink),"outerContainerRef"in Q&&t(104,de=Q.outerContainerRef),"showMiniTimer"in Q&&t(105,nt=Q.showMiniTimer),"fullScreenTarget"in Q&&t(106,xe=Q.fullScreenTarget),"playerStarted"in Q&&t(21,Qe=Q.playerStarted),"playNextVideo"in Q&&t(22,qe=Q.playNextVideo),"playPrevVideo"in Q&&t(23,et=Q.playPrevVideo),"repeatPlaylist"in Q&&t(24,Fe=Q.repeatPlaylist),"seekToInteractive"in Q&&t(25,Oe=Q.seekToInteractive),"toggleGraph"in Q&&t(26,vt=Q.toggleGraph),"playPrevChapter"in Q&&t(27,st=Q.playPrevChapter),"firstStart"in Q&&t(28,Kt=Q.firstStart),"seekTime"in Q&&t(107,Et=Q.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&6|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&1&&t(37,yi=(z===Be.Video&&re||z===Be.Ads&&ne===Zt.INACTIVE)&&!P),i.$$.dirty[3]&536870912&&t(109,Jt=B!==Si.PLAYING),i.$$.dirty[3]&421625856&&t(111,li=H||g||!Wt&&(T&&!!jt||Jt&&$)),i.$$.dirty[1]&14|i.$$.dirty[3]&5734400&&Se.set((Jt||n||b||X||Wt&&!ei)&&!li&&z===Be.Video&&!P),i.$$.dirty[0]&536870914|i.$$.dirty[1]&6|i.$$.dirty[3]&67112960&&t(39,Zi=oe.features.thumbTimer&&nt&&z===Be.Video&&!o&&!P&&!oi&&(oe.hideThumbTimerAfterTouch&&!I||!oe.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&2|i.$$.dirty[3]&50331648&&t(40,ri=(ye&&S||!ye)&&T&&!P),i.$$.dirty[0]&2|i.$$.dirty[3]&13107200&&(!b&&Di&&!A&&St(oe.controls.hideTimeoutMobile),t(112,Di=b)),i.$$.dirty[0]&1073741825|i.$$.dirty[1]&1&&t(41,Fi=N&&v%180?c.height/c.width:1)},[N,oe,x,Ee,Ie,Ce,pe,ye,Pe,G,j,We,tt,it,je,ze,rt,Mt,Me,Re,Bt,Qe,qe,et,Fe,Oe,vt,st,Kt,o,c,v,P,z,X,mi,ki,yi,qi,Zi,ri,Fi,l,r,h,L,ue,J,U,_,Y,ae,be,me,se,Te,K,ii,ft,Ke,Vt,at,gi,fe,Se,Ve,At,ni,Ae,ai,ui,Ut,Ei,Xt,nn,ht,Vi,Ii,ln,ci,zi,Mi,bi,fi,Ri,_i,ji,Qt,oi,Bi,$t,di,wi,Wi,vi,Yi,Ot,Ki,Hi,It,ce,un,V,ee,de,nt,xe,Et,Wt,Jt,ei,li,Di,n,g,b,A,T,S,I,$,H,B,ne,re,Xi,yn,Pn,Cn,Fn]}class g6 extends ke{constructor(e){super(),we(this,e,p6,v6,_e,{store:102,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:103,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:104,showMiniTimer:105,fullScreenTarget:106,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:107},h6,[-1,-1,-1,-1,-1])}}function b6(i){De(i,"v-237li0",`.root.v-237li0{--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;--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 d6(i){let e,t;return{c(){e=w("div"),t=Ue(i[0]),u(e,"class","title v-1bcvcf2"),L(e,"hidden",i[1])},m(n,o){C(n,e,o),m(e,t)},p(n,[o]){o&1&&it(t,n[0]),o&2&&L(e,"hidden",n[1])},i:U,o:U,d(n){n&&y(e)}}}function m6(i,e,t){let{title:n=""}=e,{isHidden:o=!1}=e;return i.$$set=r=>{"title"in r&&t(0,n=r.title),"isHidden"in r&&t(1,o=r.isHidden)},[n,o]}class h6 extends ke{constructor(e){super(),_e(this,e,m6,d6,be,{title:0,isHidden:1},f6)}}function p6(i){je(i,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function v1(i){let e,t,n,o,r,l,s;return{c(){e=w("div"),t=w("span"),n=Ue(i[0]),o=N(),r=w("span"),r.textContent=`${le("waiting_live_day_value")}`,l=N(),s=w("span"),s.textContent=`${le("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){C(a,e,c),m(e,t),m(t,n),m(e,o),m(e,r),C(a,l,c),C(a,s,c)},p(a,c){c&1&&it(n,a[0])},d(a){a&&(y(e),y(l),y(s))}}}function g1(i){let e,t,n,o,r,l,s;return{c(){e=w("div"),t=w("span"),n=Ue(i[1]),o=N(),r=w("span"),r.textContent=`${le("waiting_live_hour_value")}`,l=N(),s=w("span"),s.textContent=`${le("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){C(a,e,c),m(e,t),m(t,n),m(e,o),m(e,r),C(a,l,c),C(a,s,c)},p(a,c){c&2&&it(n,a[1])},d(a){a&&(y(e),y(l),y(s))}}}function b1(i){let e,t,n,o,r,l,s;return{c(){e=w("div"),t=w("span"),n=Ue(i[2]),o=N(),r=w("span"),r.textContent=`${le("waiting_live_minute_value")}`,l=N(),s=w("span"),s.textContent=`${le("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){C(a,e,c),m(e,t),m(t,n),m(e,o),m(e,r),C(a,l,c),C(a,s,c)},p(a,c){c&4&&it(n,a[2])},d(a){a&&(y(e),y(l),y(s))}}}function _1(i){let e,t,n,o,r;return{c(){e=w("div"),t=w("span"),n=Ue(i[3]),o=N(),r=w("span"),r.textContent=`${le("waiting_live_second_value")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(l,s){C(l,e,s),m(e,t),m(t,n),m(e,o),m(e,r)},p(l,s){s&8&&it(n,l[3])},d(l){l&&y(e)}}}function v6(i){let e,t,n,o,r=i[0]&&v1(i),l=i[1]&&g1(i),s=i[2]&&b1(i),a=i[3]&&_1(i);return{c(){e=w("div"),r&&r.c(),t=N(),l&&l.c(),n=N(),s&&s.c(),o=N(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){C(c,e,f),r&&r.m(e,null),m(e,t),l&&l.m(e,null),m(e,n),s&&s.m(e,null),m(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?r?r.p(c,f):(r=v1(c),r.c(),r.m(e,t)):r&&(r.d(1),r=null),c[1]?l?l.p(c,f):(l=g1(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[2]?s?s.p(c,f):(s=b1(c),s.c(),s.m(e,o)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=_1(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:U,o:U,d(c){c&&y(e),r&&r.d(),l&&l.d(),s&&s.d(),a&&a.d()}}}function g6(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,r,l,s,a,c;const f=v=>String(v).padStart(2,"0"),d=v=>{const b=Math.floor(v/86400);b&&(v-=b*86400,t(0,r=f(b)));const T=Math.floor(v/3600);t(1,l=f(T));const _=Math.floor(v/60)%60;t(2,s=f(_));const A=v%60;t(3,a=f(A))},g=()=>{const v=Math.floor(Date.now()/1e3),b=n-v;d(b),b>=1?c=requestAnimationFrame(g):o()};return wn(()=>{c=requestAnimationFrame(g)}),vl(()=>{cancelAnimationFrame(c)}),i.$$set=v=>{"startTime"in v&&t(4,n=v.startTime),"onTimerOver"in v&&t(5,o=v.onTimerOver)},[r,l,s,a,n,o]}class b6 extends ke{constructor(e){super(),_e(this,e,g6,v6,be,{startTime:4,onTimerOver:5},p6)}}function _6(i){let e,t,n,o,r;return{c(){e=M("svg"),t=M("path"),n=M("path"),o=M("path"),r=M("path"),u(t,"fill","#fefffe"),u(t,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),Ht(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"),Ht(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"),Ht(o,"opacity",".985"),u(r,"fill","#fefffe"),u(r,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),Ht(r,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),Ht(e,"shape-rendering","geometricPrecision"),Ht(e,"text-rendering","geometricPrecision"),Ht(e,"image-rendering","optimizeQuality"),Ht(e,"fill-rule","evenodd"),Ht(e,"clip-rule","evenodd"),Ht(e,"width","100%"),Ht(e,"height","100%")},m(l,s){C(l,e,s),m(e,t),m(e,n),m(e,o),m(e,r)},p:U,i:U,o:U,d(l){l&&y(e)}}}class k6 extends ke{constructor(e){super(),_e(this,e,null,_6,be,{})}}function w6(i){je(i,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function y6(i){let e,t,n,o,r;return o=new b6({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=w("div"),t=w("span"),t.textContent=`${le("waiting_live_timer_title")}`,n=N(),H(o.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(l,s){C(l,e,s),m(e,t),m(e,n),z(o,e,null),r=!0},p(l,s){const a={};s&2&&(a.startTime=l[1]||0),s&4&&(a.onTimerOver=l[3]),o.$set(a)},i(l){r||(h(o.$$.fragment,l),r=!0)},o(l){p(o.$$.fragment,l),r=!1},d(l){l&&y(e),F(o)}}}function C6(i){let e,t,n,o,r,l;return n=new k6({}),{c(){e=w("div"),t=w("div"),H(n.$$.fragment),o=N(),r=w("span"),r.textContent=`${le("waiting_live_upcoming_title")}`,u(t,"class","upcoming-icon v-15pewff"),u(r,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(s,a){C(s,e,a),m(e,t),z(n,t,null),m(e,o),m(e,r),l=!0},p:U,i(s){l||(h(n.$$.fragment,s),l=!0)},o(s){p(n.$$.fragment,s),l=!1},d(s){s&&y(e),F(n)}}}function P6(i){let e,t,n,o,r;const l=[C6,y6],s=[];function a(c,f){return c[2]?0:1}return t=a(i),n=s[t]=l[t](i),{c(){e=w("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),s[t].m(e,null),r=!0},p(c,[f]){let d=t;t=a(c),t===d?s[t].p(c,f):(he(),p(s[d],1,1,()=>{s[d]=null}),pe(),n=s[t],n?n.p(c,f):(n=s[t]=l[t](c),n.c()),h(n,1),n.m(e,null)),(!r||f&5&&o!==(o=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",o)},i(c){r||(h(n),r=!0)},o(c){p(n),r=!1},d(c){c&&y(e),s[t].d()}}}function T6(i,e,t){let n,{thumbUrl:o}=e,{startTime:r}=e;const l=()=>t(2,n=!0);return i.$$set=s=>{"thumbUrl"in s&&t(0,o=s.thumbUrl),"startTime"in s&&t(1,r=s.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=r===void 0||r<Math.floor(Date.now()/1e3))},[o,r,n,l]}class Xc extends ke{constructor(e){super(),_e(this,e,T6,P6,be,{thumbUrl:0,startTime:1},w6)}}function S6(i){je(i,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function E6(i){let e,t;return{c(){e=w("div"),t=w("p"),t.textContent=`${le("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){C(n,e,o),m(e,t)},p:U,i:U,o:U,d(n){n&&y(e)}}}class Qc extends ke{constructor(e){super(),_e(this,e,null,E6,be,{},S6)}}const{window:A6}=ou;function I6(i){je(i,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function k1(i){var n;let e,t;return e=new Xc({props:{thumbUrl:i[3],startTime:(n=i[5])==null?void 0:n.startTime}}),{c(){H(e.$$.fragment)},m(o,r){z(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&8&&(l.thumbUrl=o[3]),r[0]&32&&(l.startTime=(s=o[5])==null?void 0:s.startTime),e.$set(l)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){p(e.$$.fragment,o),t=!1},d(o){F(e,o)}}}function w1(i){let e,t;return e=new Qc({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function y1(i){let e,t,n;return t=new rc({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),L(e,"hidden",i[35]!==Ne.Ads)},m(o,r){C(o,e,r),z(t,e,null),n=!0},p(o,r){const l={};r[0]&512&&(l.adsSlotId=o[9]),r[0]&1024&&(l.adsParams=o[10]),r[0]&2048&&(l.adsPreviewParam=o[11]),r[0]&4096&&(l.duration=o[12]),t.$set(l),(!n||r[1]&16)&&L(e,"hidden",o[35]!==Ne.Ads)},i(o){n||(h(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),F(t)}}}function C1(i){let e,t;return e=new r3({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&262144&&(r.title=n[18]),o[0]&524288&&(r.thumb=n[19]),o[0]&8388608&&(r.playNextVideo=n[23]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function P1(i){let e,t;return e=new h6({props:{title:i[2],isHidden:!i[33]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&4&&(r.title=n[2]),o[1]&4&&(r.isHidden=!n[33]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function T1(i){let e,t;return e=new Zc({props:{isShifted:i[35]===Ne.Video&&i[33]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[1]&20&&(r.isShifted=n[35]===Ne.Video&&n[33]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function S1(i){let e,t,n;return t=new yu({props:{ariaLabel:le("video360")}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,r){C(o,e,r),z(t,e,null),n=!0},p:U,i(o){n||(h(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),F(t)}}}function E1(i){let e,t;return e=new Gc({props:{thumbUrl:i[3],chromecastDeviceName:i[52]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&8&&(r.thumbUrl=n[3]),o[1]&2097152&&(r.chromecastDeviceName=n[52]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function A1(i){let e,t;return e=new Wc({props:{shifted:i[33],captions:i[54],position:i[55],playerSize:i[31]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[1]&4&&(r.shifted=n[33]),o[1]&8388608&&(r.captions=n[54]),o[1]&16777216&&(r.position=n[55]),o[1]&1&&(r.playerSize=n[31]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function I1(i){let e,t,n,o,r;return t=new Yc({}),{c(){e=w("div"),H(t.$$.fragment)},m(l,s){C(l,e,s),z(t,e,null),n=!0,o||(r=[Pe(e,"contextmenu",ci(i[102])),Pe(e,"click",mt(i[113]))],o=!0)},p:U,i(l){n||(h(t.$$.fragment,l),n=!0)},o(l){p(t.$$.fragment,l),n=!1},d(l){l&&y(e),F(t),o=!1,Qt(r)}}}function L1(i){let e,t;return e=new hc({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function V1(i){let e,t;return e=new A3({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function M1(i){let e,t;return e=new uc({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function B1(i){let e,t,n,o,r,l,s,a,c,f,d,g,v,b,T,_,A,E,V,B,oe,O,q,D,de;e=new Kc({props:{hidden:i[35]!==Ne.Thumb||i[34]||i[90]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let ae=i[35]===Ne.WaitingLive&&k1(i),Z=i[35]===Ne.WaitingRecord&&w1(),ce=i[8]&&i[22]&&y1(i),J=i[30]&&i[18]&&i[19]&&C1(i),S=i[43]&&P1(i),I=i[48]&&T1(i),re=i[51]&&S1(),G=i[36]&&E1(i),we=i[53].value!=="off"&&A1(i),se=i[34]&&I1(i);function K(k){i[141](k)}let ne={bottomHidden:i[35]===Ne.Thumb||i[35]===Ne.WaitingLive||i[35]===Ne.WaitingRecord,bottomNoSmooth:i[49],showControls:i[33],isAds:i[35]===Ne.Ads,canRewindLive:i[7]&&i[56]!==0,logoClickable:i[13],logoHidden:i[14],videoLogoUrl:i[4],showNextPrevButtons:i[15],nextButtonActive:i[16],prevButtonActive:i[17],isOneVideoPlaylist:i[20],supportLink:i[21],customFullscreenSupported:M6,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[100],returnFocus:i[140],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};i[38]!==void 0&&(ne.controlsElementRef=i[38]),v=new jc({props:ne}),Ve.push(()=>Je(v,"controlsElementRef",K)),_=new ac({props:{isLive:i[57],isHidden:!i[42],isPlaying:i[58],position:i[55],duration:i[59]}}),E=new Wg({props:{data:i[98]}}),B=new Fm({props:{supportLink:i[21],returnFocus:i[142],visible:i[47],playerContainerRef:i[37],controlsContainerRef:i[38],x:i[39],y:i[40]}});let Be=i[41]&&L1(),R=i[60]&&V1(),ue=i[61]&&M1();return{c(){H(e.$$.fragment),t=N(),ae&&ae.c(),n=N(),Z&&Z.c(),o=N(),ce&&ce.c(),r=N(),J&&J.c(),l=N(),S&&S.c(),s=N(),I&&I.c(),a=N(),re&&re.c(),c=N(),G&&G.c(),f=N(),we&&we.c(),d=N(),se&&se.c(),g=N(),H(v.$$.fragment),T=N(),H(_.$$.fragment),A=N(),H(E.$$.fragment),V=N(),H(B.$$.fragment),oe=N(),Be&&Be.c(),O=N(),R&&R.c(),q=N(),ue&&ue.c(),D=Tt()},m(k,$){z(e,k,$),C(k,t,$),ae&&ae.m(k,$),C(k,n,$),Z&&Z.m(k,$),C(k,o,$),ce&&ce.m(k,$),C(k,r,$),J&&J.m(k,$),C(k,l,$),S&&S.m(k,$),C(k,s,$),I&&I.m(k,$),C(k,a,$),re&&re.m(k,$),C(k,c,$),G&&G.m(k,$),C(k,f,$),we&&we.m(k,$),C(k,d,$),se&&se.m(k,$),C(k,g,$),z(v,k,$),C(k,T,$),z(_,k,$),C(k,A,$),z(E,k,$),C(k,V,$),z(B,k,$),C(k,oe,$),Be&&Be.m(k,$),C(k,O,$),R&&R.m(k,$),C(k,q,$),ue&&ue.m(k,$),C(k,D,$),de=!0},p(k,$){const ze={};$[0]&64|$[1]&24&&(ze.hidden=k[35]!==Ne.Thumb||k[34]||k[90]&&k[6]),$[0]&8&&(ze.thumbUrl=k[3]),$[0]&536870912&&(ze.startVideo=k[29]),e.$set(ze),k[35]===Ne.WaitingLive?ae?(ae.p(k,$),$[1]&16&&h(ae,1)):(ae=k1(k),ae.c(),h(ae,1),ae.m(n.parentNode,n)):ae&&(he(),p(ae,1,1,()=>{ae=null}),pe()),k[35]===Ne.WaitingRecord?Z?$[1]&16&&h(Z,1):(Z=w1(),Z.c(),h(Z,1),Z.m(o.parentNode,o)):Z&&(he(),p(Z,1,1,()=>{Z=null}),pe()),k[8]&&k[22]?ce?(ce.p(k,$),$[0]&4194560&&h(ce,1)):(ce=y1(k),ce.c(),h(ce,1),ce.m(r.parentNode,r)):ce&&(he(),p(ce,1,1,()=>{ce=null}),pe()),k[30]&&k[18]&&k[19]?J?(J.p(k,$),$[0]&1074528256&&h(J,1)):(J=C1(k),J.c(),h(J,1),J.m(l.parentNode,l)):J&&(he(),p(J,1,1,()=>{J=null}),pe()),k[43]?S?(S.p(k,$),$[1]&4096&&h(S,1)):(S=P1(k),S.c(),h(S,1),S.m(s.parentNode,s)):S&&(he(),p(S,1,1,()=>{S=null}),pe()),k[48]?I?(I.p(k,$),$[1]&131072&&h(I,1)):(I=T1(k),I.c(),h(I,1),I.m(a.parentNode,a)):I&&(he(),p(I,1,1,()=>{I=null}),pe()),k[51]?re?(re.p(k,$),$[1]&1048576&&h(re,1)):(re=S1(),re.c(),h(re,1),re.m(c.parentNode,c)):re&&(he(),p(re,1,1,()=>{re=null}),pe()),k[36]?G?(G.p(k,$),$[1]&32&&h(G,1)):(G=E1(k),G.c(),h(G,1),G.m(f.parentNode,f)):G&&(he(),p(G,1,1,()=>{G=null}),pe()),k[53].value!=="off"?we?(we.p(k,$),$[1]&4194304&&h(we,1)):(we=A1(k),we.c(),h(we,1),we.m(d.parentNode,d)):we&&(he(),p(we,1,1,()=>{we=null}),pe()),k[34]?se?(se.p(k,$),$[1]&8&&h(se,1)):(se=I1(k),se.c(),h(se,1),se.m(g.parentNode,g)):se&&(he(),p(se,1,1,()=>{se=null}),pe());const Te={};$[1]&16&&(Te.bottomHidden=k[35]===Ne.Thumb||k[35]===Ne.WaitingLive||k[35]===Ne.WaitingRecord),$[1]&262144&&(Te.bottomNoSmooth=k[49]),$[1]&4&&(Te.showControls=k[33]),$[1]&16&&(Te.isAds=k[35]===Ne.Ads),$[0]&128|$[1]&33554432&&(Te.canRewindLive=k[7]&&k[56]!==0),$[0]&8192&&(Te.logoClickable=k[13]),$[0]&16384&&(Te.logoHidden=k[14]),$[0]&16&&(Te.videoLogoUrl=k[4]),$[0]&32768&&(Te.showNextPrevButtons=k[15]),$[0]&65536&&(Te.nextButtonActive=k[16]),$[0]&131072&&(Te.prevButtonActive=k[17]),$[0]&1048576&&(Te.isOneVideoPlaylist=k[20]),$[0]&2097152&&(Te.supportLink=k[21]),$[0]&8388608&&(Te.playNextVideo=k[23]),$[0]&16777216&&(Te.playPrevVideo=k[24]),$[0]&33554432&&(Te.repeatPlaylist=k[25]),$[1]&32768&&(Te.returnFocus=k[140]),$[0]&67108864&&(Te.seekToInteractive=k[26]),$[0]&134217728&&(Te.toggleGraph=k[27]),$[0]&268435456&&(Te.playPrevChapter=k[28]),!b&&$[1]&128&&(b=!0,Te.controlsElementRef=k[38],Qe(()=>b=!1)),v.$set(Te);const Le={};$[1]&67108864&&(Le.isLive=k[57]),$[1]&2048&&(Le.isHidden=!k[42]),$[1]&134217728&&(Le.isPlaying=k[58]),$[1]&16777216&&(Le.position=k[55]),$[1]&268435456&&(Le.duration=k[59]),_.$set(Le);const Ee={};$[0]&2097152&&(Ee.supportLink=k[21]),$[1]&32768&&(Ee.returnFocus=k[142]),$[1]&65536&&(Ee.visible=k[47]),$[1]&64&&(Ee.playerContainerRef=k[37]),$[1]&128&&(Ee.controlsContainerRef=k[38]),$[1]&256&&(Ee.x=k[39]),$[1]&512&&(Ee.y=k[40]),B.$set(Ee),k[41]?Be?$[1]&1024&&h(Be,1):(Be=L1(),Be.c(),h(Be,1),Be.m(O.parentNode,O)):Be&&(he(),p(Be,1,1,()=>{Be=null}),pe()),k[60]?R?$[1]&536870912&&h(R,1):(R=V1(),R.c(),h(R,1),R.m(q.parentNode,q)):R&&(he(),p(R,1,1,()=>{R=null}),pe()),k[61]?ue?$[1]&1073741824&&h(ue,1):(ue=M1(),ue.c(),h(ue,1),ue.m(D.parentNode,D)):ue&&(he(),p(ue,1,1,()=>{ue=null}),pe())},i(k){de||(h(e.$$.fragment,k),h(ae),h(Z),h(ce),h(J),h(S),h(I),h(re),h(G),h(we),h(se),h(v.$$.fragment,k),h(_.$$.fragment,k),h(E.$$.fragment,k),h(B.$$.fragment,k),h(Be),h(R),h(ue),de=!0)},o(k){p(e.$$.fragment,k),p(ae),p(Z),p(ce),p(J),p(S),p(I),p(re),p(G),p(we),p(se),p(v.$$.fragment,k),p(_.$$.fragment,k),p(E.$$.fragment,k),p(B.$$.fragment,k),p(Be),p(R),p(ue),de=!1},d(k){k&&(y(t),y(n),y(o),y(r),y(l),y(s),y(a),y(c),y(f),y(d),y(g),y(T),y(A),y(V),y(oe),y(O),y(q),y(D)),F(e,k),ae&&ae.d(k),Z&&Z.d(k),ce&&ce.d(k),J&&J.d(k),S&&S.d(k),I&&I.d(k),re&&re.d(k),G&&G.d(k),we&&we.d(k),se&&se.d(k),F(v,k),F(_,k),F(E,k),F(B,k),Be&&Be.d(k),R&&R.d(k),ue&&ue.d(k)}}}function L6(i){let e,t,n,o,r=i[50],l,s,a,c,f=B1(i);return{c(){e=w("div"),t=w("div"),o=N(),f.c(),l=Tt(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[32]}deg) scale(${i[45]})`),L(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),L(e,"hidden",i[35]!==Ne.Video),L(e,"nocursor",i[44])},m(d,g){C(d,e,g),m(e,t),i[139](t),C(d,o,g),f.m(d,g),C(d,l,g),s=!0,a||(c=[Pe(e,"contextmenu",ci(i[102])),Pe(e,"mousedown",ci(i[107])),Pe(e,"mouseup",ci(i[108])),Pe(e,"click",ci(i[110])),Pe(e,"dblclick",ci(i[109]))],a=!0)},p(d,g){(!s||g[1]&16386&&n!==(n=`transform: rotate(${d[32]}deg) scale(${d[45]})`))&&u(t,"style",n),(!s||g[0]&2)&&L(t,"fast-rotate",!d[1].isSmoothVideoRotate),(!s||g[1]&16)&&L(e,"hidden",d[35]!==Ne.Video),(!s||g[1]&8192)&&L(e,"nocursor",d[44]),g[1]&524288&&be(r,r=d[50])?(he(),p(f,1,1,U),pe(),f=B1(d),f.c(),h(f,1),f.m(l.parentNode,l)):f.p(d,g)},i(d){s||(h(f),s=!0)},o(d){p(f),s=!1},d(d){d&&(y(e),y(o),y(l)),i[139](null),f.d(d),a=!1,Qt(c)}}}function V6(i){let e,t,n,o,r,l={toggleFullscreen:i[100],hideContextMenu:i[101],showHotKeyHelpers:i[111],showKeyMap:i[112],isAds:i[35]===Ne.Ads,$$slots:{default:[L6]},$$scope:{ctx:i}};return t=new c3({props:l}),i[143](t),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","player-wrapper v-1o4wf3x")},m(s,a){C(s,e,a),z(t,e,null),i[144](e),n=!0,o||(r=[Pe(A6,"blur",i[101]),Pe(e,"mouseenter",i[103]),Pe(e,"mouseleave",i[105]),Pe(e,"mousemove",i[106]),Pe(e,"click",i[114],!0),Pe(e,"focusin",i[104],!0)],o=!0)},p(s,a){const c={};a[1]&16&&(c.isAds=s[35]===Ne.Ads),a[0]&2147483647|a[1]&2147483647|a[5]&512&&(c.$$scope={dirty:a,ctx:s}),t.$set(c)},i(s){n||(h(t.$$.fragment,s),n=!0)},o(s){p(t.$$.fragment,s),n=!1},d(s){s&&y(e),i[143](null),F(t),i[144](null),o=!1,Qt(r)}}}let M6=!0;function Jc(i){return i?i.offsetTop+Jc(i.offsetParent):0}function B6(i,e,t){let n,o,r,l,s,a,c,f,d,g,v,b,T,_,A,E,V,B,oe,O,q,D,de,ae,Z,ce,J,S,I,re,G,we,se,K,ne,Be,{store:R}=e,{uiConfig:ue}=e,{title:k}=e,{thumbUrl:$}=e,{videoLogoUrl:ze}=e,{videoContainer:Te}=e,{interactiveContainer:Le}=e,{live:Ee}=e,{autoplay:ge}=e,{canRewindLive:Se}=e,{showAds:Ce}=e,{adsSlotId:X=void 0}=e,{adsParams:j=void 0}=e,{adsPreviewParam:Fe=void 0}=e,{duration:Ze=void 0}=e,{logoClickable:rt}=e,{logoHidden:He}=e,{showNextPrevButtons:vt=!1}=e,{nextButtonActive:ht=!1}=e,{prevButtonActive:Ot=!1}=e,{endScreenVideoTitle:dt=void 0}=e,{endScreenVideoThumb:Re=void 0}=e,{isOneVideoPlaylist:Dt=!1}=e,{supportLink:te}=e,{outerContainerRef:nt=void 0}=e,{playerStarted:st=!1}=e,{fullScreenTarget:Ye=void 0}=e,{showMiniTimer:xe=!1}=e,{playNextVideo:$e=Ge}=e,{playPrevVideo:et=Ge}=e,{repeatPlaylist:ot=Ge}=e,{seekToInteractive:Lt}=e,{toggleGraph:lt}=e,{playPrevChapter:at}=e,{firstStart:Ke}=e;const Xe=R.getLogger().createComponentLog("Root component"),$t=R.interfaceLanguage$;W(i,$t,Y=>t(50,Z=Y));const _t=R.state.playbackState$;W(i,_t,Y=>t(136,D=Y));const pt=R.ads.playbackState;W(i,pt,Y=>t(137,de=Y));const Nt=R.state.positionWithScrubbing$;W(i,Nt,Y=>t(55,re=Y));const ft=R.state.duration$;W(i,ft,Y=>t(59,K=Y));const oi=R.playerPhase;W(i,oi,Y=>t(35,V=Y));const fe=R.ui.isFullscreen;W(i,fe,Y=>t(127,c=Y));const ye=R.ui.controlsVisible;W(i,ye,Y=>t(33,b=Y));const Ie=R.ui.settingsMenuVisible;W(i,Ie,Y=>t(125,n=Y));const Vt=R.ui.scrubbingInProgress;W(i,Vt,Y=>t(128,g=Y));const ei=R.ui.contextMenuVisible;W(i,ei,Y=>t(47,o=Y));const Ae=R.ui.debugPanelVisible;W(i,Ae,Y=>t(61,Be=Y));const qt=R.state.isLoaderVisible;W(i,qt,Y=>t(138,ae=Y));const Jt=R.state.isEnded$;W(i,Jt,Y=>t(126,l=Y));const kt=R.state.chromecastConnected$;W(i,kt,Y=>t(36,O=Y));const Zt=R.state.chromecastDeviceName$;W(i,Zt,Y=>t(52,J=Y));const Ti=R.ads.postrollPassed;W(i,Ti,Y=>t(131,A=Y));const Wi=R.state.isLive$;W(i,Wi,Y=>t(57,we=Y));const Gi=R.state.isPlaying$;W(i,Gi,Y=>t(58,se=Y));const Yi=R.state.crashed$;W(i,Yi,Y=>t(34,_=Y));const gt=R.webApi.pictureInPictureApi,Si=R.state.currentSubtitle$;W(i,Si,Y=>t(53,S=Y));const nn=R.state.currentSubtitleCaptions$;W(i,nn,Y=>t(54,I=Y));const Ki=R.state.duration$;W(i,Ki,Y=>t(56,G=Y));const Ct=R.state.graphIsOpened$;W(i,Ct,Y=>t(132,E=Y));const Di=R.ui.playerSize;W(i,Di,Y=>t(31,a=Y));const Ut=R.ui.is3DVideo;W(i,Ut,Y=>t(48,s=Y));const Wt=R.ui.icon3DVideoVisible;W(i,Wt,Y=>t(51,ce=Y));const Ei=R.ui.rotateAlpha;W(i,Ei,Y=>t(32,d=Y));const Ai=R.state.isInteractive,bi=R.state.isInteractiveTime$;W(i,bi,Y=>t(129,v=Y));const di=R.state.isInteractiveExpectation$;W(i,di,Y=>t(135,q=Y));const mi=R.state.hasInteractiveBranches,_i=R.ui.touched;W(i,_i,Y=>t(133,B=Y));const ri=R.ui.modals.hotKeyMap.data;W(i,ri,Y=>t(151,r=Y));const Ii=R.ui.modals.hotKeyMap.show;W(i,Ii,Y=>t(60,ne=Y));let si,ki,zi=0,wi=0,It,ai,Li;ri.set(rm());let yi;const Ci=De(!1);W(i,Ci,Y=>t(49,f=Y));let Fi;const qe=De(!1);W(i,qe,Y=>t(134,oe=Y));const ui=De(),Hi=De(!1);W(i,Hi,Y=>t(130,T=Y));let li=!1,Vi=!1,ti,Me,Pi,Xi,Qi,on,Ji=!1,Mi,xi=!1,Bi=null,zt;gt==null||gt.setContext(su());const hi=()=>{ge&&!Ai&&Gt(ue.controls.hideTimeout)};R.setUiCallbacks({onStarted:hi});const Ri=()=>{window.clearTimeout(It),qe.set(!1)},hn=()=>{window.clearTimeout(ai),ui.set(null)},Gt=Y=>{Ri(),qe.set(!0),It=window.setTimeout(()=>qe.set(!1),Y);const Pt=Y-100;Fi=window.setTimeout(()=>{f&&Ci.set(!1)},Pt>0?Pt:Y)},ln=(Y,Pt)=>{hn(),ui.set(Pt),ai=window.setTimeout(()=>ui.set(null),Y)},rn=Ut.subscribe(Y=>{Wt.set(Y),Y&&(window.clearTimeout(Li),Li=window.setTimeout(()=>Wt.set(!1),ue.controls.hide360IconTimeout))}),Ni=()=>Yn(this,null,function*(){var Pt,en,Oi,Sn;const Y=Oo();if(Y){Gt(ue.controls.hideTimeoutFullscreen);try{yield gt==null?void 0:gt.remove()}catch(Wn){Xe({message:String(Wn)})}}fe.set(Y),R.getAdmanWrapper().setFullscreen(Y),c?(en=(Pt=R.callbacks)==null?void 0:Pt.onFullscreenEnter)==null||en.call(Pt):(Sn=(Oi=R.callbacks)==null?void 0:Oi.onFullscreenExit)==null||Sn.call(Oi)}),yn=Y=>{const Pt=Y;Di.set({width:Pt.target.width,height:Pt.target.height})};wn(()=>{var Pt;return oc(Ni),pl(gt)&&(gt==null||gt.assignPlayerContainer(si),gt==null||gt.registryExternalEventHandlers({resize:yn})),Le&&((Pt=Te.parentElement)==null||Pt.insertBefore(Le,Te.nextSibling)),()=>{window.clearTimeout(It),window.clearTimeout(Fi),window.clearTimeout(ai),window.clearTimeout(Li),rn(),gt==null||gt.dispose(),lc(Ni)}});const $i=()=>Yn(this,null,function*(){if(Oo())yield nc(document),Xe({message:"exit fullscreen"});else{Xe({message:"request fullscreen"});const Y=nt!=null?nt:si,Pt=Y.getRootNode(),en=Pt instanceof ShadowRoot?Pt.host:Pt,Oi=Ye instanceof HTMLElement&&Ye.contains(en),Sn=ue.allowChangingFullscreenTarget&&Ye&&Oi?Ye:Y;yield ic(Sn)}}),pi=()=>{Ie.set(!1),ei.set(!1)},Cn=Y=>{ei.set(!0),t(39,zi=Y.clientX),t(40,wi=Y.clientY)};function pn(){Hi.set(!0),Ai||Gt(ue.controls.hideTimeoutCursor)}function sn(){Ai||(Ci.set(!0),Gt(ue.controls.hideTimeoutCursor))}function an(){Hi.set(!1),t(121,Vi=!1),t(120,li=!1),xi=!1,R.actions.internal.releaseCamera()}function un(Y){if(si){const Pt=Jc(Y.currentTarget),en=a.height,Oi=Y.pageY-Pt;Oi<Ir?t(121,Vi=!0):Oi>en-Ir?t(120,li=!0):(t(121,Vi=!1),n||t(120,li=!1))}}function cn(Y){un(Y),Me||Gt(ue.controls.hideTimeoutCursor),s&&xi&&Bi&&R.actions.internal.moveCameraFocusPX(Bi.clientX-Y.clientX,Bi.clientY-Y.clientY,Y.timeStamp-Bi.timeStamp),Bi=Y}const Pn=Y=>{Y.button===0&&(xi=!0,R.actions.internal.holdCamera()),Gt(ue.controls.hideTimeoutCursor)},Tn=Y=>{Y.button===0&&(Bi=Y,xi=!1,R.actions.internal.releaseCamera()),Gt(ue.controls.hideTimeoutCursor)},x=()=>{Xe({message:"double click on video"}),$i(),Gt(ue.controls.hideTimeoutCursor)},wt=()=>{if(o||n){pi();return}if(!(l&&!mi)){if(zt==null||zt.focus(),!st){Ke(),Gt(ue.controls.hideTimeoutCursor);return}R.actions.internal.togglePlay(),Gt(ue.controls.hideTimeoutCursor)}},ii=Y=>{pi(),_i.set(!0),Gt(ue.controls.hideTimeout),Y&&ln(ue.controls.hideHotKeyHelpers,Y)},Ui=()=>{var Y,Pt;pi(),(Y=R.callbacks)!=null&&Y.onOpenHotKeyMap?(Pt=R.callbacks)==null||Pt.onOpenHotKeyMap(r):Ii.update(en=>!en)},fn=()=>{if(o||n){pi();return}},ji=()=>{_i.set(!0)};function Vn(Y){Ve[Y?"unshift":"push"](()=>{Te=Y,t(0,Te)})}const ee=()=>zt==null?void 0:zt.focus();function xn(Y){ki=Y,t(38,ki)}const yo=()=>zt==null?void 0:zt.focus();function Co(Y){Ve[Y?"unshift":"push"](()=>{zt=Y,t(46,zt)})}function Po(Y){Ve[Y?"unshift":"push"](()=>{si=Y,t(37,si)})}return i.$$set=Y=>{"store"in Y&&t(115,R=Y.store),"uiConfig"in Y&&t(1,ue=Y.uiConfig),"title"in Y&&t(2,k=Y.title),"thumbUrl"in Y&&t(3,$=Y.thumbUrl),"videoLogoUrl"in Y&&t(4,ze=Y.videoLogoUrl),"videoContainer"in Y&&t(0,Te=Y.videoContainer),"interactiveContainer"in Y&&t(116,Le=Y.interactiveContainer),"live"in Y&&t(5,Ee=Y.live),"autoplay"in Y&&t(6,ge=Y.autoplay),"canRewindLive"in Y&&t(7,Se=Y.canRewindLive),"showAds"in Y&&t(8,Ce=Y.showAds),"adsSlotId"in Y&&t(9,X=Y.adsSlotId),"adsParams"in Y&&t(10,j=Y.adsParams),"adsPreviewParam"in Y&&t(11,Fe=Y.adsPreviewParam),"duration"in Y&&t(12,Ze=Y.duration),"logoClickable"in Y&&t(13,rt=Y.logoClickable),"logoHidden"in Y&&t(14,He=Y.logoHidden),"showNextPrevButtons"in Y&&t(15,vt=Y.showNextPrevButtons),"nextButtonActive"in Y&&t(16,ht=Y.nextButtonActive),"prevButtonActive"in Y&&t(17,Ot=Y.prevButtonActive),"endScreenVideoTitle"in Y&&t(18,dt=Y.endScreenVideoTitle),"endScreenVideoThumb"in Y&&t(19,Re=Y.endScreenVideoThumb),"isOneVideoPlaylist"in Y&&t(20,Dt=Y.isOneVideoPlaylist),"supportLink"in Y&&t(21,te=Y.supportLink),"outerContainerRef"in Y&&t(117,nt=Y.outerContainerRef),"playerStarted"in Y&&t(22,st=Y.playerStarted),"fullScreenTarget"in Y&&t(118,Ye=Y.fullScreenTarget),"showMiniTimer"in Y&&t(119,xe=Y.showMiniTimer),"playNextVideo"in Y&&t(23,$e=Y.playNextVideo),"playPrevVideo"in Y&&t(24,et=Y.playPrevVideo),"repeatPlaylist"in Y&&t(25,ot=Y.repeatPlaylist),"seekToInteractive"in Y&&t(26,Lt=Y.seekToInteractive),"toggleGraph"in Y&&t(27,lt=Y.toggleGraph),"playPrevChapter"in Y&&t(28,at=Y.playPrevChapter),"firstStart"in Y&&t(29,Ke=Y.firstStart)},i.$$.update=()=>{i.$$.dirty[1]&24|i.$$.dirty[4]&24576&&t(41,yi=(V===Ne.Video&&ae||V===Ne.Ads&&de===Kt.INACTIVE)&&!_),i.$$.dirty[4]&4096&&t(122,ti=D!==gi.PLAYING),i.$$.dirty[3]&939524096|i.$$.dirty[4]&2080&&t(123,Me=v&&!(li||Vi)&&!(ti&&!q)),i.$$.dirty[1]&56|i.$$.dirty[3]&1610612736|i.$$.dirty[4]&1042&&ye.set((ti||n||g||O||oe)&&!Me&&V===Ne.Video&&!_),i.$$.dirty[0]&2|i.$$.dirty[1]&28|i.$$.dirty[3]&67108864|i.$$.dirty[4]&512&&t(42,Pi=ue.features.thumbTimer&&xe&&V===Ne.Video&&!b&&!_&&!Ai&&(ue.hideThumbTimerAfterTouch&&!B||!ue.hideThumbTimerAfterTouch)),i.$$.dirty[1]&16|i.$$.dirty[4]&264&&t(43,Xi=V===Ne.Video&&!E&&c),i.$$.dirty[0]&256|i.$$.dirty[1]&8|i.$$.dirty[4]&132&&t(30,Qi=(Ce&&A||!Ce)&&l&&!_),i.$$.dirty[0]&1073741824|i.$$.dirty[1]&4|i.$$.dirty[4]&96&&t(44,on=T&&!(b||Qi)&&!v),i.$$.dirty[0]&2|i.$$.dirty[4]&49&&(!g&&Ji&&!v&&Gt(ue.controls.hideTimeoutCursor),t(124,Ji=g)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(45,Mi=Te&&d%180?a.height/a.width:1)},[Te,ue,k,$,ze,Ee,ge,Se,Ce,X,j,Fe,Ze,rt,He,vt,ht,Ot,dt,Re,Dt,te,st,$e,et,ot,Lt,lt,at,Ke,Qi,a,d,b,_,V,O,si,ki,zi,wi,yi,Pi,Xi,on,Mi,zt,o,s,f,Z,ce,J,S,I,re,G,we,se,K,ne,Be,$t,_t,pt,Nt,ft,oi,fe,ye,Ie,Vt,ei,Ae,qt,Jt,kt,Zt,Ti,Wi,Gi,Yi,Si,nn,Ki,Ct,Di,Ut,Wt,Ei,Ai,bi,di,_i,ri,Ii,Ci,qe,ui,Hi,$i,pi,Cn,pn,sn,an,cn,Pn,Tn,x,wt,ii,Ui,fn,ji,R,Le,nt,Ye,xe,li,Vi,ti,Me,Ji,n,l,c,g,v,T,A,E,B,oe,q,D,de,ae,Vn,ee,xn,yo,Co,Po]}class R6 extends ke{constructor(e){super(),_e(this,e,B6,V6,be,{store:115,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:116,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:117,playerStarted:22,fullScreenTarget:118,showMiniTimer:119,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},I6,[-1,-1,-1,-1,-1,-1])}}const N6=i=>{if(!eu(!0))return!1;const e=i.device===Ff.iPad||(window==null?void 0:window.screen.width)>700,t=Hf();return!e||e&&!!t&&t<16};function O6(i){je(i,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function R1(i){let e,t,n,o,r,l,s,a,c,f,d,g,v,b,T,_=le("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",A;return{c(){e=w("div"),n=N(),o=w("div"),r=w("div"),l=w("div"),a=N(),c=w("div"),d=N(),g=w("div"),b=N(),T=w("p"),A=Ue(_),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(l,"class",s="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(g,"class",v="triangle "+i[0]+" v-nhq2ld"),u(r,"class","triangles-wrapper v-nhq2ld"),u(T,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(E,V){C(E,e,V),C(E,n,V),C(E,o,V),m(o,r),m(r,l),m(r,a),m(r,c),m(r,d),m(r,g),m(o,b),m(o,T),m(T,A)},p(E,V){V&1&&t!==(t="semicircle "+E[0]+" v-nhq2ld")&&u(e,"class",t),V&1&&s!==(s="triangle "+E[0]+" v-nhq2ld")&&u(l,"class",s),V&1&&f!==(f="triangle "+E[0]+" v-nhq2ld")&&u(c,"class",f),V&1&&v!==(v="triangle "+E[0]+" v-nhq2ld")&&u(g,"class",v),V&2&&_!==(_=le("doubletap_seek_step",{seconds:E[1].toFixed(0)})+"")&&it(A,_)},d(E){E&&(y(e),y(n),y(o))}}}function D6(i){let e,t,n,o,r=i[2]&&R1(i);return{c(){e=w("div"),r&&r.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(l,s){C(l,e,s),r&&r.m(e,null),n||(o=Pe(e,"click",mt(i[3]())),n=!0)},p(l,[s]){l[2]?r?r.p(l,s):(r=R1(l),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&1&&t!==(t="double-click-area "+l[0]+" v-nhq2ld")&&u(e,"class",t)},i:U,o:U,d(l){l&&y(e),r&&r.d(),n=!1,o()}}}function z6(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:r}=e,{handleSecondClick:l}=e,s=!1,a=0,c=0;const f=()=>{let g=0;return()=>{g+=1,g===1?a=window.setTimeout(()=>{r(),g=0},300):(window.clearTimeout(a),g=0,l(),t(2,s=!0),c=window.setTimeout(()=>{t(2,s=!1)},500))}};return vl(()=>{window.clearTimeout(a),window.clearTimeout(c)}),i.$$set=d=>{"side"in d&&t(0,n=d.side),"seekStep"in d&&t(1,o=d.seekStep),"handleSingleFirstClick"in d&&t(4,r=d.handleSingleFirstClick),"handleSecondClick"in d&&t(5,l=d.handleSecondClick)},[n,o,s,f,r,l]}class xc extends ke{constructor(e){super(),_e(this,e,z6,D6,be,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},O6)}}function F6(i,e,t){let{playNextVideo:n}=e;return wn(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class H6 extends ke{constructor(e){super(),_e(this,e,F6,null,be,{playNextVideo:0})}}const{window:U6}=ou;function j6(i){je(i,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function N1(i){let e,t,n,o;e=new xc({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[98],handleSecondClick:i[128]}});let r=!i[47]&&O1(i);return{c(){H(e.$$.fragment),t=N(),r&&r.c(),n=Tt()},m(l,s){z(e,l,s),C(l,t,s),r&&r.m(l,s),C(l,n,s),o=!0},p(l,s){const a={};s[0]&2&&(a.seekStep=l[1].controls.seekStepMobile/1e3),e.$set(a),l[47]?r&&(he(),p(r,1,1,()=>{r=null}),pe()):r?(r.p(l,s),s[1]&65536&&h(r,1)):(r=O1(l),r.c(),h(r,1),r.m(n.parentNode,n))},i(l){o||(h(e.$$.fragment,l),h(r),o=!0)},o(l){p(e.$$.fragment,l),p(r),o=!1},d(l){l&&(y(t),y(n)),F(e,l),r&&r.d(l)}}}function O1(i){let e,t;return e=new xc({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[98],handleSecondClick:i[129]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&2&&(r.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function D1(i){var n;let e,t;return e=new Xc({props:{thumbUrl:i[2],startTime:(n=i[4])==null?void 0:n.startTime}}),{c(){H(e.$$.fragment)},m(o,r){z(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&4&&(l.thumbUrl=o[2]),r[0]&16&&(l.startTime=(s=o[4])==null?void 0:s.startTime),e.$set(l)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){p(e.$$.fragment,o),t=!1},d(o){F(e,o)}}}function z1(i){let e,t;return e=new Qc({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function F1(i){let e,t,n;return t=new rc({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),L(e,"hidden",i[33]!==Ne.Ads)},m(o,r){C(o,e,r),z(t,e,null),n=!0},p(o,r){const l={};r[0]&256&&(l.adsSlotId=o[8]),r[0]&512&&(l.adsParams=o[9]),r[0]&1024&&(l.adsPreviewParam=o[10]),r[0]&2048&&(l.duration=o[11]),t.$set(l),(!n||r[1]&4)&&L(e,"hidden",o[33]!==Ne.Ads)},i(o){n||(h(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),F(t)}}}function H1(i){let e,t;return e=new H6({props:{playNextVideo:i[22]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&4194304&&(r.playNextVideo=n[22]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function U1(i){let e,t;return e=new Zc({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function j1(i){let e,t,n;return t=new yu({props:{ariaLabel:le("video360")}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,r){C(o,e,r),z(t,e,null),n=!0},p:U,i(o){n||(h(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),F(t)}}}function q1(i){let e,t;return e=new Gc({props:{thumbUrl:i[2],chromecastDeviceName:i[50]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&4&&(r.thumbUrl=n[2]),o[1]&524288&&(r.chromecastDeviceName=n[50]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Z1(i){let e,t;return e=new Wc({props:{shifted:i[29],captions:i[52],position:i[43],playerSize:i[30],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o[0]&536870912&&(r.shifted=n[29]),o[1]&2097152&&(r.captions=n[52]),o[1]&4096&&(r.position=n[43]),o[0]&1073741824&&(r.playerSize=n[30]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function W1(i){let e,t,n,o,r;return t=new Yc({}),{c(){e=w("div"),H(t.$$.fragment)},m(l,s){C(l,e,s),z(t,e,null),n=!0,o||(r=Pe(e,"click",mt(i[99])),o=!0)},p:U,i(l){n||(h(t.$$.fragment,l),n=!0)},o(l){p(t.$$.fragment,l),n=!1},d(l){l&&y(e),F(t),o=!1,r()}}}function G1(i){let e,t;return e=new hc({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Y1(i){let e,t;return e=new uc({}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function K1(i){let e,t,n=i[6]&&i[77]&&!i[46].has(bt.TIMELINE),o,r,l,s,a,c,f,d,g,v,b,T,_,A,E,V,B,oe;e=new Kc({props:{hidden:i[33]!==Ne.Thumb||i[32]||i[88]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let O=n&&N1(i),q=i[33]===Ne.WaitingLive&&D1(i),D=i[33]===Ne.WaitingRecord&&z1(),de=i[7]&&i[21]&&F1(i),ae=i[40]&&i[17]&&i[18]&&H1(i),Z=i[48]&&U1(),ce=i[49]&&j1(),J=i[34]&&q1(i),S=i[51].value!=="off"&&Z1(i),I=i[32]&&W1(i);function re(K){i[130](K)}let G={bottomHidden:i[33]===Ne.Thumb||i[33]===Ne.WaitingLive||i[33]===Ne.WaitingRecord||i[33]===Ne.Ads,showControls:i[29],bottomNoSmooth:i[44],isAds:i[33]===Ne.Ads,canRewindLive:i[6]&&i[53]!==0,logoClickable:i[12],logoHidden:i[13],videoLogoUrl:i[3],showNextPrevButtons:i[14],nextButtonActive:i[15],prevButtonActive:i[16],isOneVideoPlaylist:i[19],supportLink:i[20],customFullscreenSupported:i[38],playNextVideo:i[22],playPrevVideo:i[23],repeatPlaylist:i[24],toggleFullscreen:i[96],seekToInteractive:i[25],toggleGraph:i[26],playPrevChapter:i[27],onDisabledPlayPrevChapterClick:i[102],onDisabledSeekToInteractiveClick:i[103]};i[36]!==void 0&&(G.controlsElementRef=i[36]),b=new jc({props:G}),Ve.push(()=>Je(b,"controlsElementRef",re)),A=new ac({props:{isLive:i[54],isHidden:!i[39],isPlaying:i[55],position:i[43],duration:i[42]}});let we=i[37]&&G1(),se=i[56]&&Y1();return{c(){H(e.$$.fragment),t=N(),O&&O.c(),o=N(),q&&q.c(),r=N(),D&&D.c(),l=N(),de&&de.c(),s=N(),ae&&ae.c(),a=N(),Z&&Z.c(),c=N(),ce&&ce.c(),f=N(),J&&J.c(),d=N(),S&&S.c(),g=N(),I&&I.c(),v=N(),H(b.$$.fragment),_=N(),H(A.$$.fragment),E=N(),we&&we.c(),V=N(),se&&se.c(),B=Tt()},m(K,ne){z(e,K,ne),C(K,t,ne),O&&O.m(K,ne),C(K,o,ne),q&&q.m(K,ne),C(K,r,ne),D&&D.m(K,ne),C(K,l,ne),de&&de.m(K,ne),C(K,s,ne),ae&&ae.m(K,ne),C(K,a,ne),Z&&Z.m(K,ne),C(K,c,ne),ce&&ce.m(K,ne),C(K,f,ne),J&&J.m(K,ne),C(K,d,ne),S&&S.m(K,ne),C(K,g,ne),I&&I.m(K,ne),C(K,v,ne),z(b,K,ne),C(K,_,ne),z(A,K,ne),C(K,E,ne),we&&we.m(K,ne),C(K,V,ne),se&&se.m(K,ne),C(K,B,ne),oe=!0},p(K,ne){const Be={};ne[0]&32|ne[1]&6&&(Be.hidden=K[33]!==Ne.Thumb||K[32]||K[88]&&K[5]),ne[0]&4&&(Be.thumbUrl=K[2]),ne[0]&268435456&&(Be.startVideo=K[28]),e.$set(Be),ne[0]&64|ne[1]&32768&&(n=K[6]&&K[77]&&!K[46].has(bt.TIMELINE)),n?O?(O.p(K,ne),ne[0]&64|ne[1]&32768&&h(O,1)):(O=N1(K),O.c(),h(O,1),O.m(o.parentNode,o)):O&&(he(),p(O,1,1,()=>{O=null}),pe()),K[33]===Ne.WaitingLive?q?(q.p(K,ne),ne[1]&4&&h(q,1)):(q=D1(K),q.c(),h(q,1),q.m(r.parentNode,r)):q&&(he(),p(q,1,1,()=>{q=null}),pe()),K[33]===Ne.WaitingRecord?D?ne[1]&4&&h(D,1):(D=z1(),D.c(),h(D,1),D.m(l.parentNode,l)):D&&(he(),p(D,1,1,()=>{D=null}),pe()),K[7]&&K[21]?de?(de.p(K,ne),ne[0]&2097280&&h(de,1)):(de=F1(K),de.c(),h(de,1),de.m(s.parentNode,s)):de&&(he(),p(de,1,1,()=>{de=null}),pe()),K[40]&&K[17]&&K[18]?ae?(ae.p(K,ne),ne[0]&393216|ne[1]&512&&h(ae,1)):(ae=H1(K),ae.c(),h(ae,1),ae.m(a.parentNode,a)):ae&&(he(),p(ae,1,1,()=>{ae=null}),pe()),K[48]?Z?ne[1]&131072&&h(Z,1):(Z=U1(),Z.c(),h(Z,1),Z.m(c.parentNode,c)):Z&&(he(),p(Z,1,1,()=>{Z=null}),pe()),K[49]?ce?(ce.p(K,ne),ne[1]&262144&&h(ce,1)):(ce=j1(),ce.c(),h(ce,1),ce.m(f.parentNode,f)):ce&&(he(),p(ce,1,1,()=>{ce=null}),pe()),K[34]?J?(J.p(K,ne),ne[1]&8&&h(J,1)):(J=q1(K),J.c(),h(J,1),J.m(d.parentNode,d)):J&&(he(),p(J,1,1,()=>{J=null}),pe()),K[51].value!=="off"?S?(S.p(K,ne),ne[1]&1048576&&h(S,1)):(S=Z1(K),S.c(),h(S,1),S.m(g.parentNode,g)):S&&(he(),p(S,1,1,()=>{S=null}),pe()),K[32]?I?(I.p(K,ne),ne[1]&2&&h(I,1)):(I=W1(K),I.c(),h(I,1),I.m(v.parentNode,v)):I&&(he(),p(I,1,1,()=>{I=null}),pe());const R={};ne[1]&4&&(R.bottomHidden=K[33]===Ne.Thumb||K[33]===Ne.WaitingLive||K[33]===Ne.WaitingRecord||K[33]===Ne.Ads),ne[0]&536870912&&(R.showControls=K[29]),ne[1]&8192&&(R.bottomNoSmooth=K[44]),ne[1]&4&&(R.isAds=K[33]===Ne.Ads),ne[0]&64|ne[1]&4194304&&(R.canRewindLive=K[6]&&K[53]!==0),ne[0]&4096&&(R.logoClickable=K[12]),ne[0]&8192&&(R.logoHidden=K[13]),ne[0]&8&&(R.videoLogoUrl=K[3]),ne[0]&16384&&(R.showNextPrevButtons=K[14]),ne[0]&32768&&(R.nextButtonActive=K[15]),ne[0]&65536&&(R.prevButtonActive=K[16]),ne[0]&524288&&(R.isOneVideoPlaylist=K[19]),ne[0]&1048576&&(R.supportLink=K[20]),ne[1]&128&&(R.customFullscreenSupported=K[38]),ne[0]&4194304&&(R.playNextVideo=K[22]),ne[0]&8388608&&(R.playPrevVideo=K[23]),ne[0]&16777216&&(R.repeatPlaylist=K[24]),ne[0]&33554432&&(R.seekToInteractive=K[25]),ne[0]&67108864&&(R.toggleGraph=K[26]),ne[0]&134217728&&(R.playPrevChapter=K[27]),!T&&ne[1]&32&&(T=!0,R.controlsElementRef=K[36],Qe(()=>T=!1)),b.$set(R);const ue={};ne[1]&8388608&&(ue.isLive=K[54]),ne[1]&256&&(ue.isHidden=!K[39]),ne[1]&16777216&&(ue.isPlaying=K[55]),ne[1]&4096&&(ue.position=K[43]),ne[1]&2048&&(ue.duration=K[42]),A.$set(ue),K[37]?we?ne[1]&64&&h(we,1):(we=G1(),we.c(),h(we,1),we.m(V.parentNode,V)):we&&(he(),p(we,1,1,()=>{we=null}),pe()),K[56]?se?ne[1]&33554432&&h(se,1):(se=Y1(),se.c(),h(se,1),se.m(B.parentNode,B)):se&&(he(),p(se,1,1,()=>{se=null}),pe())},i(K){oe||(h(e.$$.fragment,K),h(O),h(q),h(D),h(de),h(ae),h(Z),h(ce),h(J),h(S),h(I),h(b.$$.fragment,K),h(A.$$.fragment,K),h(we),h(se),oe=!0)},o(K){p(e.$$.fragment,K),p(O),p(q),p(D),p(de),p(ae),p(Z),p(ce),p(J),p(S),p(I),p(b.$$.fragment,K),p(A.$$.fragment,K),p(we),p(se),oe=!1},d(K){K&&(y(t),y(o),y(r),y(l),y(s),y(a),y(c),y(f),y(d),y(g),y(v),y(_),y(E),y(V),y(B)),F(e,K),O&&O.d(K),q&&q.d(K),D&&D.d(K),de&&de.d(K),ae&&ae.d(K),Z&&Z.d(K),ce&&ce.d(K),J&&J.d(K),S&&S.d(K),I&&I.d(K),F(b,K),F(A,K),we&&we.d(K),se&&se.d(K)}}}function q6(i){let e,t,n,o,r,l=i[45],s,a,c,f=K1(i);return{c(){e=w("div"),t=w("div"),n=w("div"),r=N(),f.c(),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${i[31]}deg) scale(${i[41]})`),L(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),L(t,"hidden",i[33]!==Ne.Video),u(e,"class","player-wrapper v-1jy89ut")},m(d,g){C(d,e,g),m(e,t),m(t,n),i[127](n),m(e,r),f.m(e,null),i[131](e),s=!0,a||(c=[Pe(U6,"blur",i[97]),Pe(t,"click",ci(i[98])),Pe(e,"click",i[100],!0),Pe(e,"focusin",i[101],!0)],a=!0)},p(d,g){(!s||g[1]&1025&&o!==(o=`transform: rotate(${d[31]}deg) scale(${d[41]})`))&&u(n,"style",o),(!s||g[0]&2)&&L(n,"fast-rotate",!d[1].isSmoothVideoRotate),(!s||g[1]&4)&&L(t,"hidden",d[33]!==Ne.Video),g[1]&16384&&be(l,l=d[45])?(he(),p(f,1,1,U),pe(),f=K1(d),f.c(),h(f,1),f.m(e,null)):f.p(d,g)},i(d){s||(h(f),s=!0)},o(d){p(f),s=!1},d(d){d&&y(e),i[127](null),f.d(d),i[131](null),a=!1,Qt(c)}}}function Z6(i,e,t){let n,o,r,l,s,a,c,f,d,g,v,b,T,_,A,E,V,B,oe,O,q,D,de,ae,Z,ce,J,S,I,re,G,we,se,K,ne,Be,{store:R}=e,{uiConfig:ue}=e,{thumbUrl:k}=e,{videoLogoUrl:$}=e,{videoContainer:ze}=e,{interactiveContainer:Te}=e,{live:Le}=e,{autoplay:Ee}=e,{canRewindLive:ge}=e,{showAds:Se}=e,{adsSlotId:Ce=void 0}=e,{adsParams:X=void 0}=e,{adsPreviewParam:j=void 0}=e,{duration:Fe=void 0}=e,{logoClickable:Ze}=e,{logoHidden:rt}=e,{showNextPrevButtons:He=!1}=e,{nextButtonActive:vt=!1}=e,{prevButtonActive:ht=!1}=e,{endScreenVideoTitle:Ot=void 0}=e,{endScreenVideoThumb:dt=void 0}=e,{isOneVideoPlaylist:Re=!1}=e,{supportLink:Dt}=e,{outerContainerRef:te=void 0}=e,{showMiniTimer:nt=!1}=e,{fullScreenTarget:st=void 0}=e,{playerStarted:Ye=!1}=e,{playNextVideo:xe=Ge}=e,{playPrevVideo:$e=Ge}=e,{repeatPlaylist:et=Ge}=e,{seekToInteractive:ot}=e,{toggleGraph:Lt}=e,{playPrevChapter:lt}=e,{firstStart:at}=e,{seekTime:Ke}=e;const Xe=R.getLogger().createComponentLog("Root component"),$t=R.interfaceLanguage$;W(i,$t,x=>t(45,Z=x));const _t=R.state.playbackState$;W(i,_t,x=>t(124,D=x));const pt=R.ads.playbackState;W(i,pt,x=>t(125,de=x));const Nt=R.state.positionWithScrubbing$;W(i,Nt,x=>t(43,l=x));const ft=R.state.duration$;W(i,ft,x=>t(42,r=x));const oi=R.playerPhase;W(i,oi,x=>t(33,B=x));const fe=R.ui.isFullscreen;W(i,fe,x=>t(137,a=x));const ye=R.ui.controlsVisible;W(i,ye,x=>t(29,o=x));const Ie=R.ui.interactiveHideMobileControls;W(i,Ie,x=>t(116,g=x));const Vt=R.ui.settingsMenuVisible;W(i,Vt,x=>t(115,n=x));const ei=R.ui.scrubbingInProgress;W(i,ei,x=>t(117,b=x));const Ae=R.ui.debugPanelVisible;W(i,Ae,x=>t(56,Be=x));const qt=R.state.isLoaderVisible;W(i,qt,x=>t(126,ae=x));const Jt=R.state.isEnded$;W(i,Jt,x=>t(119,A=x));const kt=R.state.chromecastConnected$;W(i,kt,x=>t(34,oe=x));const Zt=R.state.chromecastDeviceName$;W(i,Zt,x=>t(50,re=x));const Ti=R.ads.postrollPassed;W(i,Ti,x=>t(120,E=x));const Wi=R.ui.mobileUnmuteButtonExpanded,Gi=R.ui.mobileUnmuteButtonVisible,Yi=R.state.isLive$;W(i,Yi,x=>t(54,K=x));const gt=R.state.isPlaying$;W(i,gt,x=>t(55,ne=x));const Si=R.state.isActiveLive$;W(i,Si,x=>t(47,J=x));const nn=R.state.isRewindableLive$,Ki=R.state.crashed$;W(i,Ki,x=>t(32,_=x));const Ct=R.webApi.pictureInPictureApi,Di=R.state.videoSize$;W(i,Di,x=>t(138,f=x));const Ut=R.state.currentSubtitle$;W(i,Ut,x=>t(51,G=x));const Wt=R.state.currentSubtitleCaptions$;W(i,Wt,x=>t(52,we=x));const Ei=R.state.duration$;W(i,Ei,x=>t(53,se=x));const Ai=R.state.graphIsOpened$;W(i,Ai,x=>t(123,q=x));const bi=R.ui.playerSize;W(i,bi,x=>t(30,c=x));const di=R.ui.is3DVideo;W(i,di,x=>t(48,S=x));const mi=R.ui.icon3DVideoVisible;W(i,mi,x=>t(49,I=x));const _i=R.ui.rotateAlpha;W(i,_i,x=>t(31,v=x));const ri=R.state.isInteractive,Ii=R.state.isInteractiveTime$;W(i,Ii,x=>t(118,T=x));const si=R.state.isInteractiveExpectation$;W(i,si,x=>t(122,O=x));const ki=R.state.hasInteractiveBranches,zi=R.ui.controls.disabledControls$;W(i,zi,x=>t(46,ce=x));const wi=R.ui.touched;W(i,wi,x=>t(121,V=x));const It=R.ui.clientInfo$;W(i,It,x=>t(136,s=x));const ai=R.actions.internal.onDisabledPlayPrevChapterClick,Li=R.actions.internal.onDisabledSeekToInteractiveClick;let yi,Ci,Fi,qe,ui,Hi;const li=De(!1);W(i,li,x=>t(44,d=x));let Vi,ti=!1,Me,Pi=!1,Xi,Qi=!0,on,Ji,Mi=!1,xi;Ct==null||Ct.setContext(su());const Bi=x=>{clearTimeout(qe),x&&(Gi.set(!0),Wi.set(!0),qe=window.setTimeout(()=>{Wi.set(!1)},ue.controls.collapseMobileUnmute),ri||hi(ue.controls.hideTimeoutMobile))};R.setUiCallbacks({onStarted:Bi});const zt=()=>{window.clearTimeout(Fi),t(110,ti=!1),g&&Ie.set(!1)},hi=x=>{zt(),t(110,ti=!0),Fi=window.setTimeout(()=>t(110,ti=!1),x);const wt=x-100;Vi=window.setTimeout(()=>{d&&li.set(!1)},wt>0?wt:x)},Ri=di.subscribe(x=>{mi.set(x),x&&(window.clearTimeout(ui),ui=window.setTimeout(()=>mi.set(!1),ue.controls.hide360IconTimeout))}),hn=()=>Yn(this,null,function*(){var wt,ii,Ui,fn;const x=Oo();if(x){hi(ue.controls.hideTimeoutFullscreen);try{yield Ct==null?void 0:Ct.remove()}catch(ji){Xe({message:String(ji)})}try{const ji=f!=null&&f.width&&(f!=null&&f.height)?f:c;yield lm(ji)}catch(ji){Xe({message:String(ji)})}}fe.set(x),R.getAdmanWrapper().setFullscreen(x),a?(ii=(wt=R.callbacks)==null?void 0:wt.onFullscreenEnter)==null||ii.call(wt):(fn=(Ui=R.callbacks)==null?void 0:Ui.onFullscreenExit)==null||fn.call(Ui)}),Gt=x=>{const wt=x;bi.set({width:wt.target.width,height:wt.target.height})};wn(()=>{var wt;return oc(hn),pl(Ct)&&(Ct==null||Ct.assignPlayerContainer(yi),Ct==null||Ct.registryExternalEventHandlers({resize:Gt})),t(38,Qi=!N6(s)),Te&&((wt=ze.parentElement)==null||wt.insertBefore(Te,ze.nextSibling)),()=>{window.clearTimeout(Fi),window.clearTimeout(Vi),window.clearTimeout(qe),window.clearTimeout(ui),Ri(),Ct==null||Ct.dispose(),lc(hn)}});const ln=x=>{let wt=l+(x==="forward"?1:-1)*ue.controls.seekStepMobile/1e3;wt<0?wt=0:wt>r&&(wt=r-1),t(112,Pi=!0),Ke(wt)},rn=()=>Yn(this,null,function*(){if(Oo())yield nc(document),Xe({message:"exit fullscreen"});else{Xe({message:"request fullscreen"});const x=te!=null?te:yi,wt=x.getRootNode(),ii=wt instanceof ShadowRoot?wt.host:wt,Ui=st instanceof HTMLElement&&st.contains(ii),fn=ue.allowChangingFullscreenTarget&&st&&Ui?st:x;yield ic(fn)}}),Ni=()=>{Vt.set(!1)},yn=()=>{if(n){Ni();return}if(!Ye){at(),hi(ue.controls.hideTimeoutCursor);return}t(112,Pi=!1),o?zt():hi(ue.controls.hideTimeoutMobile)},$i=()=>{if(n){Ni();return}},pi=()=>{wi.set(!0)},Cn=()=>{ri||(li.set(!0),hi(ue.controls.hideTimeoutCursor))},pn=x=>{ai&&(ai(x),hi(ue.controls.hideTimeoutMobile))},sn=x=>{Li&&(Li(x),hi(ue.controls.hideTimeoutMobile))};function an(x){Ve[x?"unshift":"push"](()=>{ze=x,t(0,ze)})}const un=()=>ln("backward"),cn=()=>ln("forward");function Pn(x){Ci=x,t(36,Ci)}function Tn(x){Ve[x?"unshift":"push"](()=>{yi=x,t(35,yi)})}return i.$$set=x=>{"store"in x&&t(104,R=x.store),"uiConfig"in x&&t(1,ue=x.uiConfig),"thumbUrl"in x&&t(2,k=x.thumbUrl),"videoLogoUrl"in x&&t(3,$=x.videoLogoUrl),"videoContainer"in x&&t(0,ze=x.videoContainer),"interactiveContainer"in x&&t(105,Te=x.interactiveContainer),"live"in x&&t(4,Le=x.live),"autoplay"in x&&t(5,Ee=x.autoplay),"canRewindLive"in x&&t(6,ge=x.canRewindLive),"showAds"in x&&t(7,Se=x.showAds),"adsSlotId"in x&&t(8,Ce=x.adsSlotId),"adsParams"in x&&t(9,X=x.adsParams),"adsPreviewParam"in x&&t(10,j=x.adsPreviewParam),"duration"in x&&t(11,Fe=x.duration),"logoClickable"in x&&t(12,Ze=x.logoClickable),"logoHidden"in x&&t(13,rt=x.logoHidden),"showNextPrevButtons"in x&&t(14,He=x.showNextPrevButtons),"nextButtonActive"in x&&t(15,vt=x.nextButtonActive),"prevButtonActive"in x&&t(16,ht=x.prevButtonActive),"endScreenVideoTitle"in x&&t(17,Ot=x.endScreenVideoTitle),"endScreenVideoThumb"in x&&t(18,dt=x.endScreenVideoThumb),"isOneVideoPlaylist"in x&&t(19,Re=x.isOneVideoPlaylist),"supportLink"in x&&t(20,Dt=x.supportLink),"outerContainerRef"in x&&t(106,te=x.outerContainerRef),"showMiniTimer"in x&&t(107,nt=x.showMiniTimer),"fullScreenTarget"in x&&t(108,st=x.fullScreenTarget),"playerStarted"in x&&t(21,Ye=x.playerStarted),"playNextVideo"in x&&t(22,xe=x.playNextVideo),"playPrevVideo"in x&&t(23,$e=x.playPrevVideo),"repeatPlaylist"in x&&t(24,et=x.repeatPlaylist),"seekToInteractive"in x&&t(25,ot=x.seekToInteractive),"toggleGraph"in x&&t(26,Lt=x.toggleGraph),"playPrevChapter"in x&&t(27,lt=x.playPrevChapter),"firstStart"in x&&t(28,at=x.firstStart),"seekTime"in x&&t(109,Ke=x.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&6|i.$$.dirty[4]&6&&t(37,Hi=(B===Ne.Video&&ae||B===Ne.Ads&&de===Kt.INACTIVE)&&!_),i.$$.dirty[4]&1&&t(111,Me=D!==gi.PLAYING),i.$$.dirty[3]&1686503424&&t(113,Xi=q||g||!ti&&(A&&!!ki||Me&&O)),i.$$.dirty[1]&14|i.$$.dirty[3]&22937600&&ye.set((Me||n||b||oe||ti&&!Pi)&&!Xi&&B===Ne.Video&&!_),i.$$.dirty[0]&536870914|i.$$.dirty[1]&6|i.$$.dirty[3]&268451840&&t(39,on=ue.features.thumbTimer&&nt&&B===Ne.Video&&!o&&!_&&!ri&&(ue.hideThumbTimerAfterTouch&&!V||!ue.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&2|i.$$.dirty[3]&201326592&&t(40,Ji=(Se&&E||!Se)&&A&&!_),i.$$.dirty[0]&2|i.$$.dirty[3]&52428800&&(!b&&Mi&&!T&&hi(ue.controls.hideTimeoutMobile),t(114,Mi=b)),i.$$.dirty[0]&1073741825|i.$$.dirty[1]&1&&t(41,xi=ze&&v%180?c.height/c.width:1)},[ze,ue,k,$,Le,Ee,ge,Se,Ce,X,j,Fe,Ze,rt,He,vt,ht,Ot,dt,Re,Dt,Ye,xe,$e,et,ot,Lt,lt,at,o,c,v,_,B,oe,yi,Ci,Hi,Qi,on,Ji,xi,r,l,d,Z,ce,J,S,I,re,G,we,se,K,ne,Be,$t,_t,pt,Nt,ft,oi,fe,ye,Ie,Vt,ei,Ae,qt,Jt,kt,Zt,Ti,Yi,gt,Si,nn,Ki,Di,Ut,Wt,Ei,Ai,bi,di,mi,_i,ri,Ii,si,zi,wi,It,li,ln,rn,Ni,yn,$i,pi,Cn,pn,sn,R,Te,te,nt,st,Ke,ti,Me,Pi,Xi,Mi,n,g,b,T,A,E,V,O,q,D,de,ae,an,un,cn,Pn,Tn]}class W6 extends ke{constructor(e){super(),_e(this,e,Z6,q6,be,{store:104,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:105,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:106,showMiniTimer:107,fullScreenTarget:108,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:109},j6,[-1,-1,-1,-1,-1])}}function G6(i){je(i,"v-xu043z",`.root.v-xu043z{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
33
33
  180deg,
34
34
  rgba(0, 0, 0, 0.00) 0%,
35
35
  rgba(0, 0, 0, 0.01) 6.67%,
@@ -47,5 +47,5 @@ var Qc=Object.defineProperty,Jc=Object.defineProperties;var xc=Object.getOwnProp
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}`)}function _6(i){let e,t,n;function o(r){i[54](r)}let l={store:i[0],uiConfig:i[35],title:i[1],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36]};return i[33]!==void 0&&(l.videoContainer=i[33]),e=new r6({props:l}),Ge.push(()=>Ct(e,"videoContainer",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[0]&1&&(a.store=r[0]),s[0]&2&&(a.title=r[1]),s[0]&4&&(a.thumbUrl=r[2]),s[0]&8&&(a.videoLogoUrl=r[3]),s[0]&16&&(a.interactiveContainer=r[4]),s[0]&32&&(a.live=r[5]),s[0]&64&&(a.autoplay=r[6]),s[0]&128&&(a.canRewindLive=r[7]),s[0]&256&&(a.showAds=r[8]),s[0]&512&&(a.adsSlotId=r[9]),s[0]&1024&&(a.adsParams=r[10]),s[0]&2048&&(a.adsPreviewParam=r[11]),s[0]&4096&&(a.duration=r[12]),s[0]&8192&&(a.logoClickable=r[13]),s[0]&16384&&(a.logoHidden=r[14]),s[0]&65536&&(a.showNextPrevButtons=r[16]),s[0]&131072&&(a.nextButtonActive=r[17]),s[0]&262144&&(a.prevButtonActive=r[18]),s[0]&524288&&(a.endScreenVideoTitle=r[19]),s[0]&1048576&&(a.endScreenVideoThumb=r[20]),s[0]&2097152&&(a.isOneVideoPlaylist=r[21]),s[0]&4194304&&(a.supportLink=r[22]),s[0]&8388608&&(a.outerContainerRef=r[23]),s[0]&16777216&&(a.fullScreenTarget=r[24]),s[0]&33554432&&(a.showMiniTimer=r[25]),s[1]&8&&(a.playerStarted=r[34]),s[0]&67108864&&(a.playNextVideo=r[26]),s[0]&134217728&&(a.playPrevVideo=r[27]),s[0]&268435456&&(a.repeatPlaylist=r[28]),s[0]&536870912&&(a.seekToInteractive=r[29]),s[0]&1073741824&&(a.toggleGraph=r[30]),s[1]&1&&(a.playPrevChapter=r[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=r[33],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function w6(i){let e,t,n;function o(r){i[53](r)}let l={store:i[0],uiConfig:i[35],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36],seekTime:i[32]};return i[33]!==void 0&&(l.videoContainer=i[33]),e=new g6({props:l}),Ge.push(()=>Ct(e,"videoContainer",o)),{c(){F(e.$$.fragment)},m(r,s){O(e,r,s),n=!0},p(r,s){const a={};s[0]&1&&(a.store=r[0]),s[0]&4&&(a.thumbUrl=r[2]),s[0]&8&&(a.videoLogoUrl=r[3]),s[0]&16&&(a.interactiveContainer=r[4]),s[0]&32&&(a.live=r[5]),s[0]&64&&(a.autoplay=r[6]),s[0]&128&&(a.canRewindLive=r[7]),s[0]&256&&(a.showAds=r[8]),s[0]&512&&(a.adsSlotId=r[9]),s[0]&1024&&(a.adsParams=r[10]),s[0]&2048&&(a.adsPreviewParam=r[11]),s[0]&4096&&(a.duration=r[12]),s[0]&8192&&(a.logoClickable=r[13]),s[0]&16384&&(a.logoHidden=r[14]),s[0]&65536&&(a.showNextPrevButtons=r[16]),s[0]&131072&&(a.nextButtonActive=r[17]),s[0]&262144&&(a.prevButtonActive=r[18]),s[0]&524288&&(a.endScreenVideoTitle=r[19]),s[0]&1048576&&(a.endScreenVideoThumb=r[20]),s[0]&2097152&&(a.isOneVideoPlaylist=r[21]),s[0]&4194304&&(a.supportLink=r[22]),s[0]&8388608&&(a.outerContainerRef=r[23]),s[0]&16777216&&(a.fullScreenTarget=r[24]),s[0]&33554432&&(a.showMiniTimer=r[25]),s[1]&8&&(a.playerStarted=r[34]),s[0]&67108864&&(a.playNextVideo=r[26]),s[0]&134217728&&(a.playPrevVideo=r[27]),s[0]&268435456&&(a.repeatPlaylist=r[28]),s[0]&536870912&&(a.seekToInteractive=r[29]),s[0]&1073741824&&(a.toggleGraph=r[30]),s[1]&1&&(a.playPrevChapter=r[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=r[33],Pt(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){p(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function k6(i){let e,t,n,o;const l=[w6,_6],r=[];function s(a,c){return a[15]?0:1}return t=s(i),n=r[t]=l[t](i),{c(){e=w("div"),n.c(),u(e,"class","root v-237li0")},m(a,c){y(a,e,c),r[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?r[t].p(a,c):(he(),p(r[f],1,1,()=>{r[f]=null}),ve(),n=r[t],n?n.p(a,c):(n=r[t]=l[t](a),n.c()),m(n,1),n.m(e,null))},i(a){o||(m(n),o=!0)},o(a){p(n),o=!1},d(a){a&&k(e),r[t].d()}}}function y6(i,e,t){let{sources:n}=e,{store:o}=e,{uiConfig:l}=e,{title:r}=e,{thumbUrl:s}=e,{videoLogoUrl:a}=e,{interactiveContainer:c}=e,{subtitles:f}=e,{live:h}=e,{preload:g}=e,{autoplay:v}=e,{volume:b=void 0}=e,{muted:A=void 0}=e,{fromTime:P}=e,{canRewindLive:T}=e,{showAds:S}=e,{adsSlotId:I=void 0}=e,{adsParams:z=void 0}=e,{adsPreviewParam:X=void 0}=e,{duration:$=void 0}=e,{logoClickable:H}=e,{logoHidden:B}=e,{isMobile:ne}=e,{showNextPrevButtons:re=!1}=e,{nextButtonActive:L=!1}=e,{prevButtonActive:ue=!1}=e,{endScreenVideoTitle:J=void 0}=e,{endScreenVideoThumb:U=void 0}=e,{isOneVideoPlaylist:_=!1}=e,{supportLink:Y}=e,{outerContainerRef:ae=void 0}=e,{fullScreenTarget:be=void 0}=e,{failoverHosts:me=void 0}=e,{showMiniTimer:se=!1}=e,{playNextVideo:Te=Xe}=e,{playPrevVideo:K=Xe}=e,{repeatPlaylist:V=Xe}=e,{seekToInteractive:oe=Xe}=e,{toggleGraph:x=Xe}=e,{playPrevChapter:Ee=Xe}=e;N0(l);const N=on(),ee=o.ui.debugPanelVisible,Ie=o.ui.playerSize;let Ce,pe=null,ye=!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}),W0(o);const Pe=(de=!1)=>{t(34,ye=!0),de?o.actions.external.firstStart(S):o.actions.internal.firstStart(S)};function G(de){var Fe;const nt=n||de;nt&&o.initVideo({container:Ce,sources:nt,failoverHosts:me,subtitles:f});const xe=pn.get(Hl)==="true";ee.set(xe),P>0&&o.actions.external.seekTime(P);const Qe=ne?N.volumeDefault:(Fe=b!=null?b:cu())!=null?Fe:N.volumeDefault,qe=A!=null?A:X0();if(o.actions.external.setVolume(Qe),o.actions.external.setMuted(qe),o.getAdmanWrapper().setInitialVolume(qe?0:Qe),N.features.trafficSaving){const Oe=J0();Oe&&o.actions.internal.setTrafficSavingEnabled(Oe)}const et=K0(o.videoId);et&&o.actions.internal.setQuality(et),o.ui.isAutoplay.set(v),v?Pe():g&&N.features.preload&&o.actions.internal.preload()}const j=de=>{if(window.ResizeObserver){let nt,xe;pe=new ResizeObserver(W1(Qe=>{const qe=Qe[0];if(qe){if(qe.contentBoxSize){const et=Array.isArray(qe.contentBoxSize)?qe.contentBoxSize[0]:qe.contentBoxSize;nt=et.inlineSize,xe=et.blockSize}else qe.contentRect&&(nt=qe.contentRect.width,xe=qe.contentRect.height);Ie.set({width:nt,height:xe})}},tu)),pe.observe(de)}Ie.set({width:de.clientWidth,height:de.clientHeight})};en(()=>{if(j(Ce),(h==null?void 0:h.status)==="upcoming"||(h==null?void 0:h.status)==="waiting"){o.actions.internal.setWaitingLive(!0);return}if(((h==null?void 0:h.status)==="finished"||(h==null?void 0:h.status)==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return G(),()=>{pe==null||pe.disconnect(),o.destroy()}});function We(){ye?o.actions.external.play():Pe(!0)}function tt(){o.actions.external.pause()}function it(de){ne||o.actions.external.setMuted(de)}function je(de){ne||de>=0&&de<=1&&o.actions.external.setVolume(de)}function ze(de){o.actions.internal.seekTime(de,Ft.UNKNOWN)}function rt(de){o.actions.external.seekEpisodeStartTime(de)}function Mt(de){o.actions.external.setPlaybackRate(de)}function Me(de){o.actions.external.setAutoQualityLimits(de)}function Re(de){Ce=de,t(33,Ce)}function Bt(de){Ce=de,t(33,Ce)}return i.$$set=de=>{"sources"in de&&t(37,n=de.sources),"store"in de&&t(0,o=de.store),"uiConfig"in de&&t(38,l=de.uiConfig),"title"in de&&t(1,r=de.title),"thumbUrl"in de&&t(2,s=de.thumbUrl),"videoLogoUrl"in de&&t(3,a=de.videoLogoUrl),"interactiveContainer"in de&&t(4,c=de.interactiveContainer),"subtitles"in de&&t(39,f=de.subtitles),"live"in de&&t(5,h=de.live),"preload"in de&&t(40,g=de.preload),"autoplay"in de&&t(6,v=de.autoplay),"volume"in de&&t(41,b=de.volume),"muted"in de&&t(42,A=de.muted),"fromTime"in de&&t(43,P=de.fromTime),"canRewindLive"in de&&t(7,T=de.canRewindLive),"showAds"in de&&t(8,S=de.showAds),"adsSlotId"in de&&t(9,I=de.adsSlotId),"adsParams"in de&&t(10,z=de.adsParams),"adsPreviewParam"in de&&t(11,X=de.adsPreviewParam),"duration"in de&&t(12,$=de.duration),"logoClickable"in de&&t(13,H=de.logoClickable),"logoHidden"in de&&t(14,B=de.logoHidden),"isMobile"in de&&t(15,ne=de.isMobile),"showNextPrevButtons"in de&&t(16,re=de.showNextPrevButtons),"nextButtonActive"in de&&t(17,L=de.nextButtonActive),"prevButtonActive"in de&&t(18,ue=de.prevButtonActive),"endScreenVideoTitle"in de&&t(19,J=de.endScreenVideoTitle),"endScreenVideoThumb"in de&&t(20,U=de.endScreenVideoThumb),"isOneVideoPlaylist"in de&&t(21,_=de.isOneVideoPlaylist),"supportLink"in de&&t(22,Y=de.supportLink),"outerContainerRef"in de&&t(23,ae=de.outerContainerRef),"fullScreenTarget"in de&&t(24,be=de.fullScreenTarget),"failoverHosts"in de&&t(44,me=de.failoverHosts),"showMiniTimer"in de&&t(25,se=de.showMiniTimer),"playNextVideo"in de&&t(26,Te=de.playNextVideo),"playPrevVideo"in de&&t(27,K=de.playPrevVideo),"repeatPlaylist"in de&&t(28,V=de.repeatPlaylist),"seekToInteractive"in de&&t(29,oe=de.seekToInteractive),"toggleGraph"in de&&t(30,x=de.toggleGraph),"playPrevChapter"in de&&t(31,Ee=de.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(ne)},[o,r,s,a,c,h,v,T,S,I,z,X,$,H,B,ne,re,L,ue,J,U,_,Y,ae,be,se,Te,K,V,oe,x,Ee,ze,Ce,ye,N,Pe,n,l,f,g,b,A,P,me,G,We,tt,it,je,rt,Mt,Me,Re,Bt]}class P6 extends ke{constructor(e){super(),we(this,e,y6,k6,_e,{sources:37,store:0,uiConfig:38,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:39,live:5,preload:40,autoplay:6,volume:41,muted:42,fromTime:43,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:44,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:45,play:46,pause:47,setMuted:48,setVolume:49,seekTime:32,seekEpisodeStartTime:50,setPlaybackRate:51,setAutoQualityLimits:52},b6,[-1,-1])}get initVideo(){return this.$$.ctx[45]}get play(){return this.$$.ctx[46]}get pause(){return this.$$.ctx[47]}get setMuted(){return this.$$.ctx[48]}get setVolume(){return this.$$.ctx[49]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[50]}get setPlaybackRate(){return this.$$.ctx[51]}get setAutoQualityLimits(){return this.$$.ctx[52]}}function C6(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill",i[0]),u(t,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,o){y(n,e,o),d(e,t)},p(n,[o]){o&1&&u(t,"fill",n[0])},i:Z,o:Z,d(n){n&&k(e)}}}function S6(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 T6 extends ke{constructor(e){super(),we(this,e,S6,C6,_e,{isWhite:1})}}function E6(i){De(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 D1(i){let e,t;return{c(){e=w("div"),t=Ue(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){y(n,e,o),d(e,t)},p(n,o){o&1&&$e(t,n[0])},d(n){n&&k(e)}}}function F1(i){let e,t;return e=new T6({props:{isWhite:!!i[1]}}),{c(){F(e.$$.fragment)},m(n,o){O(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){D(e,n)}}}function A6(i){let e,t,n,o,l=i[0]&&D1(i),r=(!i[0]||!i[1])&&F1(i);return{c(){e=w("div"),l&&l.c(),t=R(),r&&r.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(s,a){y(s,e,a),l&&l.m(e,null),d(e,t),r&&r.m(e,null),o=!0},p(s,[a]){s[0]?l?l.p(s,a):(l=D1(s),l.c(),l.m(e,t)):l&&(l.d(1),l=null),!s[0]||!s[1]?r?(r.p(s,a),a&3&&m(r,1)):(r=F1(s),r.c(),m(r,1),r.m(e,null)):r&&(he(),p(r,1,1,()=>{r=null}),ve()),(!o||a&2&&n!==(n=s[1]?`background-image: url('${s[1]}')`:""))&&u(e,"style",n)},i(s){o||(m(r),o=!0)},o(s){p(r),o=!1},d(s){s&&k(e),l&&l.d(),r&&r.d()}}}function L6(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 V6 extends ke{constructor(e){super(),we(this,e,L6,A6,_e,{title:0,thumbUrl:1},E6)}}class H1{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}removeEventListener(e,t){if(!(e in this.listeners))return;const n=this.listeners[e];for(let o=0,l=n.length;o<l;o++)if(n[o].callback===t){n.splice(o,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let o=0,l=n.length;o<l;o++){const r=n[o];try{r.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}r.options&&r.options.once&&this.removeEventListener(e.type,r.callback)}return!e.defaultPrevented}}class jc extends H1{constructor(){super(),this.listeners||H1.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 I6=class{constructor(){Object.defineProperty(this,"signal",{value:new jc,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch(o){typeof document!="undefined"?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document=="undefined")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(o){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};typeof Symbol!="undefined"&&Symbol.toStringTag&&(I6.prototype[Symbol.toStringTag]="AbortController",jc.prototype[Symbol.toStringTag]="AbortSignal");function Wc(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 z6(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!Wc({fetch:e,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:e,Request:l};let l=t;(l&&!l.prototype.hasOwnProperty("signal")||o)&&(l=function(c,f){let h;f&&f.signal&&(h=f.signal,delete f.signal);const g=new t(c,f);return h&&Object.defineProperty(g,"signal",{writable:!1,enumerable:!1,configurable:!0,value:h}),g},l.prototype=t.prototype);const r=e;return{fetch:(a,c)=>{const f=l&&l.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let h;try{h=new DOMException("Aborted","AbortError")}catch(v){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,r(a,c)])}return r(a,c)},Request:l}}const ur=Wc({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),qc=ur?z6({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,M6=ur?qc.fetch:window.fetch;ur?qc.Request:window.Request;const R6=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,B6="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class N6{constructor(e,t){this.adman=null,this.initialVolume=1,this.videoElement=null,this.currentAdSection=null,this.actions=null,this.adsState=null,this.playerState=null,this.events={slotRequested$:new sn,started$:new sn,paused$:new sn,resumed$:new sn,ended$:new sn,skipped$:new sn,clicked$:new sn},this.loadAdman=n=>new Promise((o,l)=>{let r;const s=()=>{clearTimeout(r),delete window.admanAsyncInit,window.AdmanHTML?o():l()};u0(B6,n,this.loadTimeout).then(()=>{window.AdmanHTML?o():(window.admanAsyncInit=s,r=window.setTimeout(s,this.initTimeout))}).catch(()=>{l()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,o)=>{kt(this.adsState),kt(this.playerState),kt(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(o)}`}),this.events.started$.next(n),o.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),lt(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(o.duration),this.adsState.playbackState.set(Zt.PLAYING),this.adsState.canSkip.set(o.allowClose),this.adsState.secondsToWatchBeforeSkip.set(o.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{kt(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{kt(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Zt.PAUSED)},this.onAdPlayed=()=>{kt(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Zt.PLAYING)},this.onAdMidrollPoint=()=>{kt(this.adman),kt(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Sn.Midroll,this.adman.start(Sn.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var n;this.log({message:"ad clicked"}),(n=this.videoElement)===null||n===void 0||n.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=t.loadTimeout,this.initTimeout=t.initTimeout}init(e,t,n){this.actions=e,this.adsState=t,this.playerState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:t,height:n,isFullscreen:o,isAutoplay:l,adsContainer:r,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:h}=e;let g;const v=this.playerState&&lt(this.playerState.vsid);v&&(g=parseInt(v,36));const b=Object.assign(Object.assign(Object.assign({dl:encodeURIComponent(window.location.href),autoplay:l,player_width:t,player_height:n,puid10:R6(t,n),puid11:o?0:1,preview:h},g?{request_id:g}:{}),{duration:f}),c),A={slot:a,wrapper:r,videoEl:s,videoQuality:n,params:b,browser:{mobile:!1}},P=new window.AdmanHTML;P.setDebug(!1),P.onReady(this.onAdsReady),P.onStarted(this.onAdStarted),P.onPlayed(this.onAdPlayed),P.onPaused(this.onAdPaused),P.adMidrollPoint(this.onAdMidrollPoint),P.onClosed(this.onAdClosed),P.onSkipped(this.onAdSkipped),P.onClicked(this.onAdClicked),P.onTimeRemained(this.onAdTimeRemained),P.onCompleted(this.onAdCompleted),P.onError(this.onAdError),P.init(A),this.adman=P,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(A)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}kt(this.actions),kt(this.adsState),kt(this.playerState);const t=this.currentAdSection===Sn.Postroll;this.adsState.playbackState.set(Zt.INACTIVE),this.currentAdSection=null,this.playerState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${t}`}),t&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!t)}togglePlay(){kt(this.adsState),this.log({message:"toggle play"});const e=lt(this.adsState.playbackState);e===Zt.PLAYING?this.pause():e===Zt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var t;this.log({message:`set volume ${e}`}),(t=this.adman)===null||t===void 0||t.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var t;this.log({message:`set fullscreen ${e}`}),(t=this.adman)===null||t===void 0||t.setFullscreen(e)}startPreroll(){kt(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=Sn.Preroll,this.adman.start(Sn.Preroll)}startPostroll(){kt(this.adman),kt(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Sn.Postroll,this.adman.start(Sn.Postroll)}play(){kt(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){kt(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){kt(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,t){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(t))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const O6=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 D6{constructor(){this.oneLineRegExp=/\r\n|\n|\r/,this.twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/}parse(e){const t=[],n=e.split(this.twoLinesRegExp);for(const o of n){const l={startTime:0,endTime:0,texts:[],lang:""},r=o.split(this.oneLineRegExp);for(const s of r)if(!l.startTime&&!l.endTime){const a=new Zc,{startTime:c,endTime:f}=a.parse(s);l.startTime=c,l.endTime=f}else if(s.trim()!==""){const a=new F6,{texts:c}=a.parse(s);l.texts=[...l.texts,...c]}(l.startTime||l.endTime)&&l.texts.length>0&&t.push(l)}return t}}class Zc{constructor(){this.timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/,this.timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`)}parse(e){const t={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(t.startTime=this.calcTime(n[1],n[2],n[3],n[4]),t.endTime=this.calcTime(n[6],n[7],n[8],n[9])),t}parseTime(e){const t=this.timeRegExp.exec(e);return t?this.calcTime(t[1],t[2],t[3],t[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",t="0",n="0",o="0"){const l=Number(e)*60*60,r=Number(t)*60,s=Number(n),a=+`0.${o}`;return l+r+s+a}}class F6{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](r){let s=0;const a=[];for(;s<r.length;){const c=["<",">"].reduce((f,h)=>{const g=r.indexOf(h,s);return f===-1||f>g?g:f},-1);if(c===-1){a.push(r.substring(s));break}a.push(r.substring(s,c)),s=c+1}return a}}),l=new Zc;for(const r of o)l.isTime(r)?t.texts.push({type:"timestamp",value:l.parseTime(r)}):t.texts.push({type:"text",value:r});return t}}let In,Rt,Rl=0,Bl=!1;const H6=(i,e,t)=>{var n;const o=i>=Rl,l=i<Rl,r=(f,h=0,g=0)=>f<h&&f<g,s=(f,h=0,g=0)=>f>=h&&f<=g,a=(f,h=0,g=0)=>f>h&&f>g,c=(n=t.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(Rl=i,l&&(Bl=!1),hn(In)&&s(i,In.startTime,In.endTime)&&In.lang===e.value)return In;if(!hn(Rt)&&(c!=null&&c.length)&&!Bl){const f=c.find(({startTime:h,endTime:g})=>s(i,h,g)||o&&r(i,h,g));Rt=f&&Object.assign(Object.assign({},f),{lang:e.value}),In=void 0,!hn(Rt)&&c[c.length-1].endTime<i&&(Bl=!0);return}else{if(s(i,Rt==null?void 0:Rt.startTime,Rt==null?void 0:Rt.endTime))return In=Rt,Rt=void 0,In;(o&&a(i,Rt==null?void 0:Rt.startTime,Rt==null?void 0:Rt.endTime)||l&&r(i,Rt==null?void 0:Rt.startTime,Rt==null?void 0:Rt.endTime))&&(Rt=void 0)}},Nl={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 Ko=null;class Co{constructor(e,t){if(!Ko){const n=new _0(e,t),o=new oo;Ko=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n==null||n.destroy(),o==null||o.unsubscribe(),Ko=null}})}}static getInstance(){return Ko}}const U6=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:l,canDownload:r,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:h,coreConfig:g,player:v,disabledControls:b,isInteractive:A,interactiveRanges:P,replayInteractive:T,hasInteractiveBranches:S,playPrevChapterDisabledTooltip:I,additionalButtons:z})=>{var X,$,H,B;const ne=Object.assign(Object.assign({},g),{configName:[...(X=g.configName)!==null&&X!==void 0?X:[],"ui"],isAudioDisabled:l,live:Object.assign(Object.assign({},($=g.live)!==null&&$!==void 0?$:{}),{isLiveCatchUpMode:!!n})}),re=h,L=v||new i0(ne),ue=new G1,J=new N6(ue,{loadTimeout:re.ads.loadTimeout,initTimeout:re.ads.initTimeout}),U=Co.getInstance(),_=Zl.getInstance(),Y=a==null?void 0:a.pictureInPictureApi,ae=a==null?void 0:a.annotationsApi,be=ue.createComponentLog("Store");let me,se,Te={};const K=Kl(),V=U?wt(U.oneStat.vsid$):bn(void 0),oe=He(Ao()),x=(H=Y==null?void 0:Y.info.isActive$)!==null&&H!==void 0?H:new Yl(!1),Ee=Y==null?void 0:Y.info.type,N=He(0),ee=He([]),Ie=c0(L.events.fatalError$,L.events.managedError$).subscribe(C=>ee.update(te=>[...te,C])),Ce=bn(!1,C=>{const te=L.events.fatalError$.subscribe(()=>C(!0));return()=>te.unsubscribe()}),pe=C=>$i(void 0,void 0,void 0,function*(){var te;const ge=Object.values(Lo).includes(C);if(re.downloadVKLanguages&&(ge&&re.updateBuiltinLanguages||!Gr(C))){let Ye;try{Ye=yield m0(C,O0,D0)}catch(dt){(te=U==null?void 0:U.oneStat)===null||te===void 0||te.logError({errorType:"VKLangPack",fatal:!1}),_==null||_.report(dt,{errorType:"VKLangPack",fatal:!1})}Ye&&(Zr({language:C,pack:Ye,fallback:re.defaultLanguage}),ye.set(C))}Gr(C)&&ye.set(C)}),ye=He(i);pe(i);const Pe=(C,te)=>{const ge=lt(ye);return Gu(ge,C,te,re.defaultLanguage)},G=He(Be.Thumb),j=ti([Ce,G],([C,te])=>C?Be.Crashed:te),We=(()=>{const C=He(new Set(b));return Object.assign(Object.assign({},C),{add:te=>{C.update(ge=>new Set([...ge].concat(te)))},remove:te=>{C.update(ge=>{const Ne=[...ge];return new Set(Array.isArray(te)?Ne.filter(Ye=>!te.includes(Ye)):Ne.filter(Ye=>Ye!==te))})},includes:te=>{const ge=lt(C);return Array.isArray(te)?te.every(Ne=>ge.has(Ne)):ge.has(te)}})})();be({message:"create store"});const tt=C=>{be({message:`init video, config: ${JSON.stringify(C)}`}),A?C.container.append(L.experimental.element$.getValue()):L.initVideo(C),C.subtitles&&L.setExternalTextTracks(C.subtitles),me=C},it=new sn,je=C=>it.next(C),ze=new sn,rt=new sn,Mt=new sn,Me={actionRewind$:ze,actionSeek$:rt,inPiP$:x,inFullscreen$:new f0(C=>oe.subscribe(te=>C.next(te))),actionSetSubtitle$:Mt,nextMovie$:it};if(U){const{oneStat:C,statSubscription:te}=U;te.add(C.attachTo(L)),te.add(C.attachToUi(Me)),te.add(C.attachToAds(J.events)),C.authorize(o).catch(ge=>{be({message:`onestat auth error ${String(ge)}`})})}if(_){const C=new oo,te=(ge,Ne)=>C.add(ge.subscribe(Ne));if(te(L.events.managedError$,ge=>{_.logIError(ge)}),te(L.events.fatalError$,ge=>{_.logIError(ge,!0)}),U){const{oneStat:ge}=U;te(ge.experimental.error$,Ne=>{_.logIError(Ne)})}_.sentrySubscription.add(C)}const Re=()=>{Z1()&&se&&M4(se)},Bt=new oo().add(L.experimental.element$.subscribe(C=>{C&&(se=C,C.classList.add("player-media"),tl(Y)&&Y.updateVideoElement(),A&&C.setAttribute("pip","false"))})).add(L.events.ended$.subscribe(()=>{var C;Re(),(C=s==null?void 0:s.onEnded)===null||C===void 0||C.call(s)})).add(L.events.started$.subscribe(()=>$i(void 0,void 0,void 0,function*(){var C,te;tl(Y)&&(yield Y==null?void 0:Y.revealPictureInPicture());const ge=L.info.muted$.getValue();(C=s==null?void 0:s.onStarted)===null||C===void 0||C.call(s),(te=Te.onStarted)===null||te===void 0||te.call(Te,ge)}))).add(L.events.willSeek$.subscribe(({from:C,to:te})=>{var ge;(ge=s==null?void 0:s.onSeek)===null||ge===void 0||ge.call(s,C,te)})).add(L.info.position$.subscribe(C=>{var te;const ge=L.info.duration$.getValue();(te=s==null?void 0:s.onTimeupdate)===null||te===void 0||te.call(s,ge,C),J.setPosition(C,ge)})).add(L.events.fatalError$.subscribe(()=>{var C;(C=s==null?void 0:s.onCrashed)===null||C===void 0||C.call(s)})).add(L.info.is3DVideo$.subscribe(C=>{Dt.ui.is3DVideo.set(C)})).add(L.info.isEnded$.subscribe(C=>{A&&(C?(lt(cl)&&We.add(Po),We.add(mt.PLAY_BUTTON)):We.remove(mt.PLAY_BUTTON))})).add(L.info.liveTime$.subscribe(C=>{var te;(te=s==null?void 0:s.onLiveTime)===null||te===void 0||te.call(s,C)})),de=new oo,nt=()=>{de.add(L.events.log$.subscribe(C=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${C.component}`,C.message)})).add(ue.log$.subscribe(C=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${C.component}.`,C.message)}))},xe=()=>{de.unsubscribe()},Qe=(C,te)=>{L.startCameraManualRotation(C,te)},qe=(C=!1)=>{L.stopCameraManualRotation(C)},et=(C,te,ge)=>{L.moveCameraFocusPX(C,te,ge)},Fe=()=>{L.holdCamera()},Oe=()=>{L.releaseCamera()},vt=bn(L.info.position$.getValue(),C=>{let te,ge;const Ne=()=>{const Ye=L.info.playbackState$.getValue(),dt=L.info.isLive$.getValue(),zt=L.info.duration$.getValue(),_t=L.info.position$.getValue();if([Si.PLAYING,Si.PAUSED].includes(Ye)){const Ui=dt?_t-zt:L.getExactTime();Ui!==ge&&C(Ui),ge=Ui}te=requestAnimationFrame(Ne)};return Ne(),()=>cancelAnimationFrame(te)}),st=wt(x),Kt=wt(L.info.playbackState$),Et=wt(L.info.currentBuffer$),ot=wt(L.info.isEnded$),ii=wt(L.info.isLive$),ft=re.features.playbackRate?wt(L.info.canChangePlaybackSpeed$):bn(!1),Ke=wt(L.info.liveBufferTime$),Vt=wt(L.info.volume$),at=wt(L.info.muted$),gi=lu(L.info.autoQualityLimits$.pipe(d0(({max:C})=>C!==void 0)),((B=L.info.autoQualityLimits$.getValue())===null||B===void 0?void 0:B.max)!==void 0),fe=wt(L.info.autoQualityLimitingAvailable$),Se=wt(L.info.availableQualities$),Ve=wt(L.info.availableQualitiesFps$),At=wt(L.info.chromecastState$),ni=wt(L.info.chromecastDeviceName$),Ae=wt(L.info.currentFormat$),ai=wt(L.info.throughputEstimation$),ui=wt(L.info.videoBitrate$),Ut=wt(L.info.intrinsicVideoSize$),Ei=wt(L.info.duration$),Xt=wt(L.info.isAudioAvailable$);let xt=null;const tn=L.info.isBuffering$,nn=bn(tn.getValue(),C=>{const te=tn.subscribe(ge=>{ge&&xt===null?xt=window.setTimeout(()=>{C(tn.getValue()),xt=null},re.loaderDelay):C(ge)});return()=>{te.unsubscribe(),xt&&clearTimeout(xt)}}),ht=()=>{xt&&clearTimeout(xt),xt=null},Vi=ti([Ei,ii],([C,te])=>te?-C:C),Ii=ti([Kt],([C])=>C===Si.PLAYING),ln=wt(L.info.atLiveEdge$),pt=wt(L.info.atLiveDurationEdge$),ci=wt(L.info.position$),zi=ti([ci,Ei],([C,te])=>isFinite(C)&&isFinite(te)&&!!te),Mi=ti([At],([C])=>C===wn.CONNECTED),bi=He(void 0),fi=wt(L.info.isAutoQualityEnabled$,C=>C&&bi.set(void 0)),Ri=wt(L.info.currentQuality$,()=>bi.set(void 0)),_i=ti([bi,Ri],([C,te])=>C!=null?C:te),ji=ti([Se,Ve,fi,_i,Ae],([C,te,ge,Ne,Ye])=>{const dt=[];Ye!==ko.MPEG&&dt.push({value:ro.AUTO,displayValue:Pe("auto_quality_option"),selected:ge});const zt=C.filter(_t=>_t!==Xo.INVARIANT);for(const _t of zt){const Ui=te[_t],Do=_t===Xo.INVARIANT?Pe("auto_quality_option"):_t;dt.push({value:_t,displayValue:`${Do}${Ui?O6(Ui):""}`,selected:ge?!1:_t===Ne})}return dt}),Qt=wt(L.info.currentPlaybackRate$),oi=ti([Qt,ln,pt],([C,te,ge])=>{const Ne=ge||A?1:re.controls.playbackRateMin,Ye=te?1:re.controls.playbackRateMax,dt=re.controls.playbackRateStep,zt=[];for(let _t=Ne;_t<=Ye;_t+=dt)zt.push({value:_t,displayValue:_t===1?Pe("playback_rate_1"):Pe("playback_rate",{multiplier:_t.toString(10)}),selected:C===_t});return zt}),Bi=re.features.subtitles?wt(L.info.availableTextTracks$):bn([]),$t=ti([Bi],([C],te)=>{const ge=[],Ne=[];for(const Ye of C)Ye.url&&ge.push(M6(Ye.url));Promise.allSettled(ge).then(Ye=>{for(const[dt,zt]of Ye.entries())zt.status==="fulfilled"&&zt.value.text().then(_t=>{const Ui=new D6,Do=C[dt].language,Xc=!!C[dt].isAuto,mr=Ui.parse(_t);Do&&mr&&Ne.push({lang:Do,subtitles:mr,isAuto:Xc}),dt===Ye.length-1&&te(Ne)})})}),jt={displayValue:Pe("subtitles_off"),value:"off"},di=He(Object.assign({},jt)),wi=ti([$t,di,$t],([C,te])=>{if((C==null?void 0:C.length)>0){const ge=[Object.assign(Object.assign({},jt),{selected:(te==null?void 0:te.value)===jt.value})];for(const{lang:Ne,isAuto:Ye}of C)Nl[Ne]&&ge.push({displayValue:Ye?Pe("subtitles_auto",{language:Nl[Ne]}):Nl[Ne],value:Ne,selected:(te==null?void 0:te.value)===Ne,isAuto:Ye});return ge}else return[]}),Wi=ti([vt,di,$t],([C,te,ge])=>{if(te&&te.value!==jt.value)return H6(C,te,ge)}),mi=ti([Wi],([C])=>C!=null&&C.texts?C.texts:[]),ki=He(!0),Ni=ti([Et,Vi,ci,Ke],([C,te,ge,Ne])=>{var Ye;const dt=(Ye=C==null?void 0:C.end)!==null&&Ye!==void 0?Ye:0;if(!Ne)return dt/te;const _t=-ge+Ne-te;return(dt-_t)/te}),hi=wt(L.info.availableSources$),Oi=ti([hi],([C])=>Object.keys((C==null?void 0:C[ko.MPEG])||{}).length>0),yi=()=>{var C,te,ge;const Ne=Object.keys(((te=(C=L.info.availableSources$)===null||C===void 0?void 0:C.getValue())===null||te===void 0?void 0:te[ko.MPEG])||{}),Ye=h0(Ne)||Xo.Q_144P;return(ge=me.sources[ko.MPEG])===null||ge===void 0?void 0:ge[Ye]},vi=()=>{var C;const te=yi();te?G0(te,((C=me==null?void 0:me.meta)===null||C===void 0?void 0:C.title)||"video"):be({message:"There is no URL for download video"})},Ai=()=>{be({message:"toggle muted"});const C=L.info.muted$.getValue(),Ne=!(L.info.volume$.getValue()===0||C);Jt(Ne)},Wt=(C,te=C,ge=!1)=>{var Ne,Ye,dt;const zt=!ge,_t=L.info.muted$.getValue();be({message:`set volume, volume: ${C}, preferredVolume: ${te}, internalCall: ${zt}`}),L.setVolume(C),J.setVolume(C),zt&&((Ne=s==null?void 0:s.onVolumeChange)===null||Ne===void 0||Ne.call(s,C)),wr(te),_t?(L.setMuted(!1),zt&&((Ye=s==null?void 0:s.onUnmute)===null||Ye===void 0||Ye.call(s)),hl(!1)):!_t&&C===0&&(L.setMuted(!0),zt&&((dt=s==null?void 0:s.onMute)===null||dt===void 0||dt.call(s)),hl(!0))},Jt=(C,te=!1)=>{var ge,Ne,Ye,dt;const zt=!te,_t=L.info.volume$.getValue();if(be({message:`set muted, currentVolume: ${_t}, mute: ${C}, internalCall: ${zt}`}),L.setMuted(C),J.setVolume(C?0:_t),hl(C),zt&&(C?(ge=s==null?void 0:s.onMute)===null||ge===void 0||ge.call(s):(Ne=s==null?void 0:s.onUnmute)===null||Ne===void 0||Ne.call(s)),_t===0){let Ui=(Ye=cu())!==null&&Ye!==void 0?Ye:re.volumeDefault;Ui===0&&(Ui=re.volumeMinRestore,wr(Ui)),L.setVolume(Ui),J.setVolume(Ui),zt&&((dt=s==null?void 0:s.onVolumeChange)===null||dt===void 0||dt.call(s,Ui))}},ei=()=>{L.prepare()},li=()=>{var C,te;if(kt(Dt),!lt(Dt.ui.controls.disabledControls$).has(mt.PLAY_BUTTON)){if(be({message:"toggle play"}),lt(Dt.playerPhase)===Be.Ads){J.togglePlay();return}if(L.info.playbackState$.getValue()!==Si.PLAYING){if(L.info.isEnded$.getValue()){if(be({message:"toggle play, video ended, seek to 0"}),ze.next(),rt.next(Ft.REWIND),A){T==null||T();return}L.seekTime(0)}be({message:"toggle play, call player.play"}),L.play(),(C=s==null?void 0:s.onPlay)===null||C===void 0||C.call(s)}else be({message:"toggle play, call player.pause"}),L.pause(),(te=s==null?void 0:s.onPause)===null||te===void 0||te.call(s)}},qi=C=>{be({message:`set quality, quality: ${C}`}),L.setAutoQuality(C===ro.AUTO),C!==ro.AUTO?(Y0(e,C),bi.set(C),L.setQuality(C)):fu()},Zi=C=>{be({message:`set trafficSavingEnabled, value: ${C}`}),L.setAutoQualityLimits({max:C?re.trafficSavingLimit:void 0}),Q0(C)},ri=C=>{L.setPlaybackRate(C)},Di=()=>{const C=lt(oi),te=C.findIndex(({selected:Ne})=>Ne);if(te===C.length-1)return;const ge=C[te+1];ri(ge.value)},Fi=()=>{const C=lt(oi),te=C.findIndex(({selected:Ne})=>Ne);if(te===0)return;const ge=C[te-1];ri(ge.value)},Pi=C=>{C&&C.value!==jt.value&&Mt.next(C.isAuto?C.value+"_auto":C.value),di.set(C)},Ci=()=>{const C=lt(wi),te=lt(di),ge=lt(ye);if((te==null?void 0:te.value)===jt.value){const Ne=C.filter(Ye=>Ye.value!==jt.value).find(Ye=>Ye.value===ge)||C[1];Pi(Ne!=null?Ne:Object.assign({},jt))}else Pi(Object.assign(Object.assign({},jt),{selected:!1}))},St=(C,te,ge=!0)=>{if(be({message:`seek to time, time: ${C}`}),rt.next(te),L.info.isLive$.getValue()){const Ne=L.info.duration$.getValue(),Ye=Math.min(0,Ne+C);L.seekTime(Ye,ge)}else{if(lt(cl))return;L.seekTime(dr(C),ge)}},Nt=C=>{be({message:`seek to episode start time: ${C}`}),St(C,Ft.EPISODE,!0)},Gi=(C,te)=>{be({message:`seek to percent, percent: ${C}`});const ge=Math.round(lt(Vi)*C);St(ge,te,!1)},rn=C=>{be({message:`seek external, time: ${C}`}),rt.next(Ft.UNKNOWN),L.seekTime(L.info.isLive$.getValue()?-C:C)},Yi=C=>{var te,ge;be({message:`set auto quality limitation. Max: ${(te=C.max)!==null&&te!==void 0?te:"none"}. Min: ${(ge=C.min)!==null&&ge!==void 0?ge:"none"}`}),L.setAutoQualityLimits(C)},Ot=C=>{be({message:`seek external to episode start time: ${C}`}),St(C,Ft.EPISODE,!0)},Ki=C=>{be({message:`set playback rate to: ${C}`}),L.setPlaybackRate(C)},Hi=He(void 0),It=He(!1),ce=C=>{be({message:`start scrubbing, progress: ${C}`}),It.set(!0),un(C)},un=C=>{Hi.set(C)};let Xi,yn;const Pn=()=>{Hi.set(void 0),It.set(!1)},Cn=()=>{clearTimeout(yn),clearTimeout(Xi),Xi=window.setTimeout(()=>{Pn()},500),se==null||se.removeEventListener("seeked",Cn)},Fn=C=>{be({message:`complete scrubbing, progress: ${C}`}),Gi(C,Ft.SLIDER),lt(Dt.ui.isMobile)&&lt(Dt.state.currentFormat$)===ko.HLS?(se==null||se.addEventListener("seeked",Cn),yn=window.setTimeout(()=>{Cn()},300)):Pn()},Q=ti([vt,Vi,Hi],([C,te,ge],Ne)=>{Ne(hn(ge)?ge*te:C)}),gt=He({width:0,height:0}),cn=ti([gt],([{width:C}],te)=>{const ge=qh(C);te(ge)}),Qi=He(!1),gn=ti([cn,Qi],([C,te])=>te?z.filter(ge=>!ge.hideOnMobile):z.filter(ge=>{var Ne;return!(!((Ne=ge.hideOnDesktopGridTypes)===null||Ne===void 0)&&Ne.includes(C))})),fn=ti([Qi,Ce],([C,te],ge)=>{ge(C&&te)}),co=()=>{rt.next(Ft.LIVE),be({message:"switch to active live"}),L.seekTime(0),L.info.playbackState$.getValue()!==Si.PLAYING&&Dt.actions.internal.togglePlay()},fo=()=>J.skip(),mo=(C=!0)=>{kt(Dt),be({message:`switch from ads to video, callPlay: ${C}`}),G.set(Be.Video),C&&L.play()},ho=()=>{kt(Dt),be({message:"switch from video to ads"}),Dt.actions.internal.pause(),Re(),G.set(Be.Ads)},vo=C=>{kt(Dt);const te=C?Be.WaitingLive:Be.Thumb;G.set(te)},po=C=>{kt(Dt);const te=C?Be.WaitingRecord:Be.Thumb;G.set(te)},go=()=>(kt(Dt),q0(L,me,Dt)),bo=()=>(kt(Dt),Z0(L,me,Dt)),_o=()=>se,wo=()=>{be({message:"toggle chromecast"}),L.toggleChromecast()},W=C=>{var te;kt(Dt);const ge=!C;if(lt(Dt.playerPhase)===Be.Ads){be({message:`pause ads, internalCall: ${ge}`}),J.pause();return}be({message:`pause video, internalCall: ${ge}`}),ge&&((te=s==null?void 0:s.onPause)===null||te===void 0||te.call(s)),L.pause()},yt=C=>{var te;kt(Dt);const ge=!C;if(lt(Dt.playerPhase)===Be.Ads){be({message:`play ads, internalCall: ${ge}`}),J.play();return}be({message:`play video, internalCall: ${ge}`}),ge&&((te=s==null?void 0:s.onPlay)===null||te===void 0||te.call(s)),L.play()},Ji=(C,te)=>{kt(Dt),be({message:`first start, show ads: ${C}, internalCall: ${!te}`}),C?G.set(Be.Ads):(G.set(Be.Video),te?L.play():Dt.actions.internal.togglePlay())},Li=()=>(be({message:"getting time codes"}),c),ie=()=>{const C=Li();if(!C||[0,1].includes(C.length))return;const te=L.info.position$.getValue();return C.find(ge=>ge.time>te)},Hn=C=>{let te=C;te||(te=ie()),te&&(be({message:"seek to next episode"}),St(te.time,Ft.EPISODE,!0))},ct=()=>{const C=Li();if(!C||[0,1].includes(C.length))return;const te=L.info.position$.getValue(),ge=C.findIndex(Ye=>Ye.time>te),Ne=ge===-1?C.length-2:ge-2;if(!(Ne<0))return C[Ne]},si=C=>{let te=C;te||(te=ct()),te&&(be({message:"seek to prev episode"}),St(te.time,Ft.EPISODE,!0))},Ln=()=>(be({message:"getting preview thumbs data"}),f),Un=()=>$i(void 0,void 0,void 0,function*(){Y!=null&&Y.isActive()?yield Y==null?void 0:Y.remove():yield Y==null?void 0:Y.request()}),ul=(C=-90)=>{N.update(te=>te+C)},Vn=He(P),cr=ti([Vn],([C=[]])=>{const te=[];for(let ge=0;ge<C.length;ge++){const{range:[Ne,Ye],subjects:dt}=C[ge];ge===0&&Ne!==0&&te.push({time:0,text:""}),te.push({time:Ne/1e3,text:"",interactive:!0,completed:!dt.length}),Ye!==1/0&&te.push({time:Ye/1e3,text:"",interactive:!1,completed:!dt.length})}return te}),Yc=C=>{const te=lt(Vn);Vn.set(te.map(ge=>Object.assign(Object.assign({},ge),{subjects:ge.subjects.filter(Ne=>Ne!==C)})))},fr=He(!1),cl=ti([ci,Vn,fr],([C,te,ge])=>{if(!A)return!1;if(ge)return!0;const Ne=C*1e3,Ye=te==null?void 0:te.find(({range:[dt,zt],subjects:_t})=>dt<Ne&&Ne<zt&&_t.length);return Ye&&lt(It)&&Pn(),!!Ye}),dr=C=>{if(!A)return C;const te=lt(cr),ge=lt(Vi),Ye=lt(ci)/ge,dt=te.find(zt=>zt.interactive&&!zt.completed&&zt.time>Ye);return typeof(dt==null?void 0:dt.time)=="number"?Math.min(C,dt.time-.05):C},Kc=()=>{clearTimeout(yn),clearTimeout(Xi),Bt.unsubscribe(),de.unsubscribe(),L.destroy(),J.destroy(),U==null||U.destroy(),_==null||_.destroy(),Ie.unsubscribe()},Dt={interfaceLanguage$:ye,initVideo:tt,videoId:e,isClip:t,playerPhase:j,vsid:V,state:{positionExact$:vt,positionWithScrubbing$:Q,duration$:Vi,playbackState$:Kt,isPlaying$:Ii,isLoaderVisible:nn,bufferedProgress$:Ni,isLive$:ii,canChangePlaybackSpeed$:ft,isActiveLive$:ln,isOldestAvailableLive$:pt,isRewindableLive$:zi,isEnded$:ot,muted$:at,volume$:Vt,trafficSavingEnabled$:gi,autoQualityLimitingAvailable$:fe,currentQuality$:_i,isAutoQualityEnabled$:fi,availableQualities$:ji,currentPlaybackRate$:Qt,availablePlaybackRates$:oi,currentSubtitle$:di,availableSubtitlesList$:wi,currentSubtitleCaptions$:mi,isAutoSubtitleCaptionVisible$:ki,chromecastState$:At,chromecastDeviceName$:ni,chromecastConnected$:Mi,currentFormat$:Ae,throughputEstimation$:ai,videoBitrate$:ui,videoSize$:Ut,errorLog$:ee,crashed$:Ce,isAudioAvailable$:Xt,isAudioDisabled:!!l,canDownload:re.features.download&&!!r,availableSources$:hi,hasMpegSources$:Oi,isInteractive:A,isInteractiveGraphEnabled:re.features.interactiveGraph,isSeekToInteractiveEnable:re.features.seekToInteractive,isPlayPrevChapterEnabled:re.features.interactivePlayPrevChapter,interactiveEpisodes$:cr,isInteractiveTime$:cl,graphIsOpened$:He(!1),isInteractiveExpectation$:fr,hasInteractiveBranches:S,playPrevChapterDisabledTooltip:I},ui:{controlsVisible:He(!1),touched:He(!1),controls:{tooltipPointerOffsetX:He(0),prevButton:He(void 0),playButton:He(void 0),replayButton:He(void 0),nextButton:He(void 0),playPrevChapterButton:He(void 0),seekToInteractiveButton:He(void 0),interactiveGraphButton:He(void 0),liveButton:He(void 0),time:He(void 0),episodes:He(void 0),volume:He(void 0),subtitles:He(void 0),settings:He(void 0),chromecast:He(void 0),fullscreen:He(void 0),vkLogo:He(void 0),additionalButtons:z.length?z.reduce(C=>[...C,He(void 0)],[]):[],disabledControls$:We},modals:{hotKeyMap:{show:He(!1),data:He({title:"",closeBtnText:"",groups:[]})}},isFullscreen:oe,rotateAlpha:N,isAutoplay:He(!1),contextMenuVisible:He(!1),debugPanelVisible:He(!1),playerSize:gt,isMobile:Qi,mobileNotReportControlHidden$:fn,mobileUnmuteButtonExpanded:He(!1),mobileUnmuteButtonVisible:He(!1),icon3DVideoVisible:He(!1),settingsMenuVisible:He(!1),scrubbingInProgress:It,is3DVideo:He(!1),isPictureInPictureActive$:st,pictureInPictureType$:bn(Ee),clientInfo$:bn(K),currentGridType$:cn,additionalButtons$:gn,interactiveHideMobileControls:He(!1)},ads:{position:He(0),duration:He(0),playbackState:He(Zt.INACTIVE),canSkip:He(!1),secondsToWatchBeforeSkip:He(0),postrollPassed:He(!1)},webApi:{pictureInPictureApi:Y,annotationsApi:ae},actions:{internal:{preload:ei,firstStart:C=>Ji(C,!1),pause:()=>W(!1),togglePlay:li,toggleMuted:Ai,setVolume:Wt,setQuality:qi,setTrafficSavingEnabled:C=>Zi(C),setPlaybackRate:ri,incrementPlaybackRate:Di,decrementPlaybackRate:Fi,setSubtitle:Pi,toggleSubtitle:Ci,togglePictureInPicture:Un,startScrubbing:ce,progressScrubbing:un,completeScrubbing:Fn,toggleChromecast:wo,switchToActiveLive:co,switchFromAdsToVideo:mo,switchFromVideoToAds:ho,skipAd:fo,setWaitingLive:vo,setWaitingRecord:po,getDebugTextData:go,getDebugPanelData:bo,getVideoElement:_o,seekTime:(C,te,ge)=>St(C,te,ge),clearDelayedBufferingCheckTimeout:ht,seekEpisodeStartTime:Nt,seekToPercent:Gi,getNextEpisode:ie,seekToNextEpisode:Hn,getPrevEpisode:ct,seekToPrevEpisode:si,startLogging:nt,stopLogging:xe,startCameraManualRotation:Qe,stopCameraManualRotation:qe,moveCameraFocusPX:et,holdCamera:Fe,releaseCamera:Oe,getVideoEpisodes:Li,getPreviewThumbsData:Ln,downloadVideo:vi,addLanguage:Zr,setLanguage:pe,nextMovie:je,videoRotate:ul,completeInteractiveRange:Yc,correctSeekTimeToInteractive:dr,replayInteractive:T},external:{firstStart:C=>Ji(C,!0),play:()=>yt(!0),pause:()=>W(!0),seekTime:C=>rn(C),seekEpisodeStartTime:C=>Ot(C),setPlaybackRate:C=>Ki(C),setAutoQualityLimits:C=>Yi(C),setMuted:C=>Jt(C,!0),setVolume:C=>Wt(C,C,!0)}},callbacks:s,setUiCallbacks:C=>{Te=Object.assign({},C)},getAdmanWrapper:()=>J,getLogger:()=>ue,destroy:Kc};return Dt};class j6{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:t="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:t,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",t=>null],["seekbackward",t=>null],["seekforward",t=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[t,n]of e)try{navigator.mediaSession.setActionHandler(t,n)}catch(o){throw new Error(`The media session action "${t}" is not supported yet.`)}}}const W6=460,q6=280;class Gc{constructor(){this.info={isActive$:new Yl(!1),type:En.DocumentPictureInPicture}}isSupported(){const e=Kl().browser===q1.Yandex,{isEmbed:t}=v0();return"documentPictureInPicture"in window&&!e&&!t}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,t){this.playerDomElement=e,this.playerParentShadowRoot=t}setContext(e){this.svelteContext=e}request(){var e,t;return $i(this,void 0,void 0,function*(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=yield documentPictureInPicture.requestWindow({width:W6,height:q6,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
51
- `),o=document.createElement("style");o.textContent=n;const l=this.createStretchedContainer(),r=l.attachShadow({mode:"open"});r.append(o),r.append(this.playerDomElement),this.playerDummyElement=new xu({target:this.playerParentShadowRoot,context:this.svelteContext}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(l),this.info.isActive$.next(!0),(t=this.pipWindow)===null||t===void 0||t.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})})}remove(){return $i(this,void 0,void 0,function*(){return new Promise(e=>{var t;(t=documentPictureInPicture.window)===null||t===void 0||t.close(),e()})})}dispose(){return $i(this,void 0,void 0,function*(){yield this.remove()})}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function Z6(i){return i instanceof Gc}class G6{static getLatestSupportedVersion(){const e=new ir,t=new Gc;if(t.isSupported())return t;if(e.isSupported())return e}}function U1(i,e){var t,n;const o=new Set([...Object.keys(i),...Object.keys(e)]),l={};for(const r of o)l[r]=(n=(t=e[r])!==null&&t!==void 0?t:i[r])!==null&&n!==void 0?n:void 0;return l}const j1="Inner error. Unexpectedly root annotation container null reference exception",Y6="Annotation layer with such name already exists";class Ol extends Error{constructor(e){super(e),this.name="AnnotationError"}}class K6{constructor(){this.layers=new Map}registryRootContainer(e){this.detach(),this.rootAnnotationsContainer=e}addLayer(e){if(!this.rootAnnotationsContainer)throw new Ol(j1);if(this.layers.has(e))throw new Ol(Y6);const t=document.createElement("div");return t.className="annotations-layer",t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.left="0",t.style.top="0",this.rootAnnotationsContainer.append(t),this.layers.set(e,t),t}getLayer(e){return this.layers.get(e)}removeLayer(e){const t=this.layers.get(e);t&&this.layers.delete(e)&&t.remove()}clearLayer(e){const t=this.layers.get(e);for(;t!=null&&t.lastChild;)t.lastChild.remove()}detach(){for(const e of this.layers.values())e.remove()}reattach(){if(!this.rootAnnotationsContainer)throw new Ol(j1);for(const e of this.layers.values())this.rootAnnotationsContainer.append(e)}destroy(){this.detach(),this.layers.clear(),this.rootAnnotationsContainer=void 0}}const X6={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:Lo.RU,logoClickable:!1,logoHidden:!1,isMobile:p0(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class Q6 extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.videoConfig=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this.annotationsApi=void 0,this.interactiveProjectInfo=void 0,this.isInited=!1,this._shadowRoot=this.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.logger=new G1,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new oo,this.graphMadePause=!1,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(t=>{console.log("%c player web component ","background:#77dd77;",`${t.component}`,t.message)}))}connectedCallback(){var e,t;if(this.isInited)return;const n=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,o=(t=this.getAttribute("stub-thumb-url"))!==null&&t!==void 0?t:void 0;this.svelteStubComponent=new V6({target:this.playerContainer,props:{title:n,thumbUrl:o}})}disconnectedCallback(){var e,t,n,o,l;(e=this.annotationsApi)===null||e===void 0||e.destroy(),(t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),(n=this.svelteStubComponent)===null||n===void 0||n.$destroy(),this.subscription.unsubscribe(),(o=this.unsubscribePlayerPhaseSubscription)===null||o===void 0||o.call(this),(l=this.interactiveController)===null||l===void 0||l.destroy()}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){var t;const n=(t=this.store)===null||t===void 0?void 0:t.ui.controls.disabledControls$;return(n==null?void 0:n.includes(e))||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,t={},n){var o,l,r,s,a,c,f,h,g,v;if(!this.videoConfig)return;const{albumId:b,statPlace:A,statUserSalt:P,statAuthToken:T,statTrackCode:S,refreshStatAuthToken:I,preload:z,autoplay:X,volume:$,muted:H,fromTime:B,canRewindLive:ne,supportLink:re,showAds:L,adsSlotId:ue,adsParams:J={},adsPreviewParam:U,interfaceLanguage:_,logoClickable:Y,logoHidden:ae,isMobile:be,isAudioDisabled:me,isLiveCatchUpMode:se,fullScreenTarget:Te,failoverHosts:K,canDownload:V,callbacks:oe,interactiveData:x,showThumbTimer:Ee,additionalButtons:N=[]}=U1(this.videoConfig,t),{sources:ee,title:Ie,thumbUrl:Ce,videoLogoUrl:pe,unitedVideoId:ye,isClip:Pe=!1,duration:G,adsParams:j={},videoEpisodes:We,previewThumbsData:tt,subtitles:it,live:je}=e,ze=Object.assign(Object.assign({},J),j),rt=this.getNextVideoInfo(),Mt={sources:ee,title:Ie,thumbUrl:Ce,subtitles:it,unitedVideoId:ye,isClip:Pe,live:je,albumId:b,statPlace:A,autoplay:X,muted:H,volume:$,fromTime:B,canRewindLive:ne,showAds:L,adsSlotId:ue,adsParams:ze,adsPreviewParam:U,duration:G,logoClickable:Y,logoHidden:ae,isMobile:be,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:rt.nextVideoTitle,endScreenVideoThumb:rt.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},Me={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(Mt)}`});const Re=this.uiConfig.features.statistics&&!!ye,Bt=(o=this.videoConfig.videos[this.currentPlayingVideoIndex])===null||o===void 0?void 0:o.unitedVideoId;Re&&new Co(Object.assign({movieId:ye,albumId:b,place:A,trackCode:S,autoplay:(l=X&&!this.interactiveController)!==null&&l!==void 0?l:!1,mobile:be,clip:Pe},Bt&&this.interactiveController&&!this.interactiveProjectInfo&&{projectId:Bt}),Object.assign({refreshAuthToken:I,userSalt:P,config:this.statistics.config},this.interactiveProjectInfo&&{vsid:this.interactiveProjectInfo.vsid})),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new Zl(this.uiConfig.sentry,{version:Xl,env:j0},{movieId:ye,albumId:b,place:A,autoplay:(r=X&&!this.interactiveController)!==null&&r!==void 0?r:!1,mobile:be,clip:Pe}),this.interactiveProjectInfo||(this.interactiveProjectInfo={id:Bt,vsid:(s=Co.getInstance())===null||s===void 0?void 0:s.oneStat.vsid$.getValue()}),this.statistics=Object.assign(Object.assign({},this.statistics),Co.getInstance()),this.sentry=Object.assign(Object.assign({},this.sentry),Zl.getInstance());const nt=!!x,xe=(a=this.interactiveController)===null||a===void 0?void 0:a.getInteractiveRanges(),Qe=[];let qe;if(nt&&this.interactiveController){const Fe=this.interactiveController.state;Fe.isInitialChapter$.getValue()&&Qe.push(mt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||Qe.push(mt.SEEK_TO_INTERACTIVE_BUTTON),Fe.hasPrevChapter$.getValue()||(Fe.isInitialChapter$.getValue()?qe="tooltip_interactive_go_back_disabled_first":Fe.lastChapterChangeWasInitiatedByInteractive$.getValue()?qe="tooltip_interactive_go_back_disabled":qe="tooltip_interactive_go_back_disabled_limit",Qe.push(mt.PLAY_PREV_CHAPTER_BUTTON))}const et=()=>{var Fe;const Oe=(n==null?void 0:n.info.isEnded$.getValue())&&((Fe=this.interactiveController)===null||Fe===void 0?void 0:Fe.state.isEndChapter$.getValue());oe.onReplayInteractiveVideo&&!Oe?oe.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=U6({player:n,interfaceLanguage:_,videoId:ye,isClip:Pe,isLiveCatchUpMode:se,isAudioDisabled:me,statAuthToken:T,callbacks:oe,webApi:Me,videoEpisodes:We,previewThumbsData:tt,canDownload:V,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:Qe,isInteractive:nt,interactiveRanges:xe,replayInteractive:et,playPrevChapterDisabledTooltip:qe,hasInteractiveBranches:!!(!((f=(c=this.interactiveController)===null||c===void 0?void 0:c.getChapterBranches())===null||f===void 0)&&f.length),additionalButtons:this.uiConfig.features.additionalButtons?N:[]}),this.subscription.add(this.store.state.currentFormat$.subscribe(Fe=>{var Oe;return(Oe=oe==null?void 0:oe.onCurrentFormatChanged)===null||Oe===void 0?void 0:Oe.call(oe,Fe)})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Fe=>{var Oe;return(Oe=oe==null?void 0:oe.onThroughputEstimationChanged)===null||Oe===void 0?void 0:Oe.call(oe,Fe)})),this.subscription.add(this.store.state.videoBitrate$.subscribe(Fe=>{var Oe;return(Oe=oe==null?void 0:oe.onVideoBitrateChanged)===null||Oe===void 0?void 0:Oe.call(oe,Fe)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Fe=>{var Oe;const vt=(Oe=this.store)===null||Oe===void 0?void 0:Oe.ui.controls.disabledControls$;vt&&Fe&&!vt.includes(Ul)&&vt.add(Ul)})),this.videoConfig.isMobile&&this.interactiveController&&this.subscription.add(this.store.ui.controlsVisible.subscribe(Fe=>{var Oe;(Oe=this.interactiveController)===null||Oe===void 0||Oe.setDisabledControls(Fe)})),this.initMediaSession(),this.interactiveController&&Re&&this.initInteractivesStatistics(),this.svelteRootComponent=new P6({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:ee,store:this.store,uiConfig:this.uiConfig,title:Ie,thumbUrl:Ce,videoLogoUrl:pe,subtitles:it,live:je,preload:z,autoplay:X,muted:H,volume:$,fromTime:B,canRewindLive:ne,supportLink:re,showAds:L,adsSlotId:ue,adsParams:ze,adsPreviewParam:U,duration:G,logoClickable:Y,logoHidden:ae,isMobile:be,failoverHosts:K,fullScreenTarget:Te,showMiniTimer:Ee,outerContainerRef:this.playerContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:rt.nextVideoTitle,endScreenVideoThumb:rt.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,(v=(g=(h=this.videoConfig)===null||h===void 0?void 0:h.callbacks)===null||g===void 0?void 0:g.onInited)===null||v===void 0||v.call(g))}addPlayerInfoSubscriptions(){var e;if(this.isInited)return;const t=this.store,n=(e=this.videoConfig)===null||e===void 0?void 0:e.callbacks;n&&this.subscription.add(t.playerPhase.subscribe(l=>{var r;return(r=n.onPlayerPhaseChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.playbackState$.subscribe(l=>{var r;return(r=n.onPlaybackStateChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.isLive$.subscribe(l=>{var r;return(r=n.onIsLiveChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.isActiveLive$.subscribe(l=>{var r;return(r=n.onIsActiveLiveChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.isAudioAvailable$.subscribe(l=>{var r;return(r=n.onIsAudioAvailableChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.currentQuality$.subscribe(l=>{var r;return(r=n.onCurrentQualityChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.availableQualities$.subscribe(l=>{var r;return(r=n.onAvailableQualitiesChanged)===null||r===void 0?void 0:r.call(n,l.map(({value:s})=>s).filter(s=>s!==ro.AUTO))})).add(t.ui.isPictureInPictureActive$.subscribe(l=>{var r,s;return l?(r=n.onPiPEnter)===null||r===void 0?void 0:r.call(n):(s=n.onPiPExit)===null||s===void 0?void 0:s.call(n)}));const o=n==null?void 0:n.uiInfo;o&&this.subscription.add(t.ui.controlsVisible.subscribe(l=>{var r;return(r=o.onControlsVisibleChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.isMobile.subscribe(l=>{var r;return(r=o.onIsMobileChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.playerSize.subscribe(l=>{var r;return(r=o.onPlayerSizeChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.prevButton.subscribe(l=>{var r;return(r=o.onPrevButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.playButton.subscribe(l=>{var r;return(r=o.onPlayButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.replayButton.subscribe(l=>{var r;return(r=o.onReplayButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.nextButton.subscribe(l=>{var r;return(r=o.onNextButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.playPrevChapterButton.subscribe(l=>{var r;return(r=o.onPlayPrevChapterChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.seekToInteractiveButton.subscribe(l=>{var r;return(r=o.onSeekToInteractiveButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.interactiveGraphButton.subscribe(l=>{var r;return(r=o.onGraphButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.liveButton.subscribe(l=>{var r;return(r=o.onLiveButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.time.subscribe(l=>{var r;return(r=o.onTimeUpdateChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.episodes.subscribe(l=>{var r;return(r=o.onEpisodesChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.volume.subscribe(l=>{var r;return(r=o.onVolumeChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.subtitles.subscribe(l=>{var r;return(r=o.onSubtitlesChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.settings.subscribe(l=>{var r;return(r=o.onSettingsChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.fullscreen.subscribe(l=>{var r;return(r=o.onFullscreenChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.chromecast.subscribe(l=>{var r;return(r=o.onChromecastChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.vkLogo.subscribe(l=>{var r;return(r=o.onVkLogoChanged)===null||r===void 0?void 0:r.call(o,l)}))}playNextVideo(){this.videoConfig&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){this.videoConfig&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,t=!0){var n;if(!this.videoConfig)return;const o=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!o){this.log({message:"no next video"});return}this.isInited&&hn(o.unitedVideoId)&&this.store.actions.internal.nextMovie(o.unitedVideoId),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(o,{autoplay:t,fromTime:0},e)}playPrevChapter(){var e;(e=this.interactiveController)===null||e===void 0||e.playPrevChapter()}seekToInteractive(){var e;const t=(e=this.interactiveController)===null||e===void 0?void 0:e.getNextInteractiveStartTime();typeof t=="number"&&this.seekTime(t/1e3)}toggleGraph(){var e,t;if(!this.isInited)return;const n=this.store,{isEnded$:o,playbackState$:l,graphIsOpened$:r}=n.state,{disabledControls$:s}=n.ui.controls,a=lt(o),c=lt(l);lt(r)?(r.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(_r),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",r.set(!0),(t=this.interactiveController)===null||t===void 0||t.toggleGraphView(!0),s.add(_r),!a&&this.graphMadePause&&this.pause())}initInteractives(){var e,t,n,o;return $i(this,void 0,void 0,function*(){if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:l,EVENT_NAMES:r,CustomError:s}=yield import("@vkontakte/videoplayer-interactive/es2015.esm.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const a=(t=this.store)===null||t===void 0?void 0:t.interfaceLanguage$,c=a?lt(a):this.videoConfig.interfaceLanguage,f=this.videoConfig.videos[0];this.interactiveController=new l({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:c,graph:this.uiConfig.features.interactiveGraph,vkVideoLoader:this.videoConfig.interactiveData.videoLoader,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,disableControlsOnPause:!this.videoConfig.isMobile}),this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(g=>{if(!this.isInited)return;const v=this.store;g?v.ui.controls.disabledControls$.remove(mt.SEEK_TO_INTERACTIVE_BUTTON):v.ui.controls.disabledControls$.add(mt.SEEK_TO_INTERACTIVE_BUTTON)}));let h=!0;this.interactiveController.on(r.playerChanged,g=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]=Object.assign(Object.assign({},g.config),f&&{title:f.title});const v=h?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(g.player,v),h&&(h=!1)}),this.interactiveController.on(r.interactives,({type:g,subjectId:v,actionType:b})=>{var A,P,T,S;if(this.store&&(g==="container-removed"&&this.store.actions.internal.completeInteractiveRange(v),g==="range-ended"&&(lt(this.store.state.isInteractiveExpectation$)||this.store.ui.controls.disabledControls$.remove(Po)),g==="action-execution"&&b==="expect"&&(this.store.ui.controls.disabledControls$.add(Po),this.store.state.isInteractiveExpectation$.set(!0)),g==="action-choice"&&b==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(Po)),g==="action-execution"&&b==="after-expect"&&(this.store.ui.controls.disabledControls$.remove(Po),this.store.state.isInteractiveExpectation$.set(!1)),g==="action-choice-canceled")){const I=lt(this.store.state.isPlaying$)||lt(this.store.state.isInteractiveExpectation$);if(!((A=this.videoConfig)===null||A===void 0)&&A.isMobile&&I){this.store.ui.interactiveHideMobileControls.set(!0);return}(S=(P=this.videoConfig)===null||P===void 0?void 0:(T=P.callbacks).onDisabledInteractiveClick)===null||S===void 0||S.call(T)}}),!((o=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||o===void 0)&&o.onInteractiveHistoryChanged&&this.subscription.add(this.interactiveController.state.history$.subscribe(g=>{var v,b,A;g.length&&((A=(b=(v=this.videoConfig)===null||v===void 0?void 0:v.callbacks)===null||b===void 0?void 0:b.onInteractiveHistoryChanged)===null||A===void 0||A.call(b,g))})),this.interactiveController.on(r.errors,g=>{this.log({message:g.toString()})}),yield this.interactiveController.initSeamless({source:this.videoConfig.interactiveData.manifest,initialChapter:this.videoConfig.interactiveData.initChapterId,visitedChapters:this.videoConfig.interactiveData.visitedChapters,videosInfo:this.videoConfig.interactiveData.videosInfo})}catch(l){this.log({message:l.message})}})}initInteractivesStatistics(){var e,t;return $i(this,void 0,void 0,function*(){const{statSubscription:n,oneStat:o}=this.statistics;if(!(!n||!o||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:l}=yield import("@vkontakte/videoplayer-interactive/es2015.esm.js"),r={[l.GO_NEXT_BUTTON]:yo.NEXT_BUTTON,[l.GO_NEXT_AREA]:yo.NEXT_AREA,[l.WATCH_AGAIN]:yo.WATCH_AGAIN,[l.OPEN_GRAPH]:yo.GRAPH_SHOW,[l.CLOSE_GRAPH]:yo.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new sn;s.subscribe(f=>{var h,g;f in r?c.next(r[f]):(o==null||o.logError({errorType:"InteractiveVideosAction",fatal:!1}),(g=(h=this.sentry).report)===null||g===void 0||g.call(h,new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),n.add(o.attachToInteractive({click$:c,nextMovie$:a}))}catch(l){o==null||o.logError({errorType:"InteractiveVideos",fatal:!1}),(t=(e=this.sentry).report)===null||t===void 0||t.call(e,l,{errorType:"InteractiveVideosAction",fatal:!1})}})}initPlayer(e,t={}){var n,o,l,r,s,a,c,f,h,g,v,b,A,P,T,S,I,z,X;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=U1(X6,g0(e,$=>$ instanceof HTMLElement?$:void 0)),this.uiConfig=B0((n=t.ui)!==null&&n!==void 0?n:{}),this.coreConfig=(o=t.core)!==null&&o!==void 0?o:{configName:[]},this.statistics={config:(l=t.statistics)!==null&&l!==void 0?l:{}},this.sentry={config:(r=this.uiConfig.sentry)!==null&&r!==void 0?r:{}},hn(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(s=this.videoConfig.isMediaSessionEnabled)!==null&&s!==void 0?s:!0),hn(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=(c=(a=this.uiConfig.features.pip)!==null&&a!==void 0?a:this.videoConfig.isPictureInPictureEnabled)!==null&&c!==void 0?c:!0,this.uiConfig.features.dpip=(h=(f=this.uiConfig.features.dpip)!==null&&f!==void 0?f:this.videoConfig.isPictureInPictureEnabled)!==null&&h!==void 0?h:!0),this.videoConfig.isMobile=(g=this.uiConfig.isMobile)!==null&&g!==void 0?g:this.videoConfig.isMobile,(z=this.videoConfig).autoplay&&(z.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(v=this.uiConfig.ads.enable)!==null&&v!==void 0?v:this.videoConfig.showAds,this.videoConfig.adsSlotId=(b=this.uiConfig.ads.slot)!==null&&b!==void 0?b:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(A=this.uiConfig.ads.preview)!==null&&A!==void 0?A:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((P=this.uiConfig.showLogo)!==null&&P!==void 0?P:!this.videoConfig.logoHidden),(X=this.videoConfig).canRewindLive&&(X.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(T=this.videoConfig.supportLink)!==null&&T!==void 0?T:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=G6.getLatestSupportedVersion():this.pictureInPictureApi=new ir),this.mediaSessionApi=this.uiConfig.features.mediaSession?new j6:void 0,this.annotationsApi=this.uiConfig.features.annotations?new K6:void 0,(S=this.svelteStubComponent)===null||S===void 0||S.$destroy(),(I=this.svelteRootComponent)===null||I===void 0||I.$destroy(),this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0,this.interactiveProjectInfo=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),Z6(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){var t;if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const n=this.getNextVideoInfo();(t=this.svelteRootComponent)===null||t===void 0||t.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,t;this.mediaSessionApi&&((e=this.unsubscribePlayerPhaseSubscription)===null||e===void 0||e.call(this),this.unsubscribePlayerPhaseSubscription=(t=this.store)===null||t===void 0?void 0:t.playerPhase.subscribe(n=>{n===Be.Video?this.setupMediaSessionForVideo():n===Be.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}=Object.assign({},this.videoConfig.videos[this.currentPlayingVideoIndex]),n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",o=>this.seekTime(o.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:t}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",t=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(t)}catch(e){this.log({message:e.message})}}play(){var e;this.isControlDisabled(mt.PLAY_BUTTON)||(this.log({message:"play"}),(e=this.svelteRootComponent)===null||e===void 0||e.play())}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,t;if(!this.videoConfig)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.videoConfig.videos[0];n&&((t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),this.createPlayer(n))}setMuted(e){var t;this.log({message:`set muted, muted: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setMuted(e)}setVolume(e){var t;this.log({message:`set volume, volume: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setVolume(e)}setRepeat(e){var t;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(t=this.svelteRootComponent)===null||t===void 0||t.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var t;this.isControlDisabled(mt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekTime(e))}seekEpisodeStartTime(e){var t;this.log({message:`seek episode start time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekEpisodeStartTime(e)}setPlaybackRate(e){var t;this.log({message:`set playback rate to: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setPlaybackRate(e)}setAutoQualityLimits(e){var t,n,o;this.log({message:`set auto quality limitation. Max: ${(t=e.max)!==null&&t!==void 0?t:"none"}. Min: ${(n=e.min)!==null&&n!==void 0?n:"none"}`}),(o=this.svelteRootComponent)===null||o===void 0||o.setAutoQualityLimits(e)}addLanguage(e){var t;(t=this.store)===null||t===void 0||t.actions.internal.addLanguage(e)}setLanguage(e){var t;return $i(this,void 0,void 0,function*(){yield(t=this.store)===null||t===void 0?void 0:t.actions.internal.setLanguage(e)})}setLiveStart(e){var t,n;this.log({message:"live started"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingLive(!1),(n=this.svelteRootComponent)===null||n===void 0||n.initVideo(e),this.play()}setWaitRecord(){var e;this.log({message:"post live"}),(e=this.store)===null||e===void 0||e.actions.internal.setWaitingRecord(!0)}setLiveEnd(e){var t,n;this.log({message:"live ended"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingRecord(!1),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){var e,t;return(t=(e=Co.getInstance())===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&t!==void 0?t:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const n8=()=>{window.customElements.define("vk-video-player",Q6)};export{Lt as GridTypes,u8 as InterfaceLanguage,Xl as VERSION,c8 as VKNumericLanguage,r8 as VideoFormat,s8 as VideoQuality,f8 as loadVKLangPack,n8 as registerPlayerWebComponent};
50
+ );--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg{pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}`)}function Y6(i){let e,t,n;function o(l){i[54](l)}let r={store:i[0],uiConfig:i[35],title:i[1],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36]};return i[33]!==void 0&&(r.videoContainer=i[33]),e=new R6({props:r}),Ve.push(()=>Je(e,"videoContainer",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[0]&1&&(a.store=l[0]),s[0]&2&&(a.title=l[1]),s[0]&4&&(a.thumbUrl=l[2]),s[0]&8&&(a.videoLogoUrl=l[3]),s[0]&16&&(a.interactiveContainer=l[4]),s[0]&32&&(a.live=l[5]),s[0]&64&&(a.autoplay=l[6]),s[0]&128&&(a.canRewindLive=l[7]),s[0]&256&&(a.showAds=l[8]),s[0]&512&&(a.adsSlotId=l[9]),s[0]&1024&&(a.adsParams=l[10]),s[0]&2048&&(a.adsPreviewParam=l[11]),s[0]&4096&&(a.duration=l[12]),s[0]&8192&&(a.logoClickable=l[13]),s[0]&16384&&(a.logoHidden=l[14]),s[0]&65536&&(a.showNextPrevButtons=l[16]),s[0]&131072&&(a.nextButtonActive=l[17]),s[0]&262144&&(a.prevButtonActive=l[18]),s[0]&524288&&(a.endScreenVideoTitle=l[19]),s[0]&1048576&&(a.endScreenVideoThumb=l[20]),s[0]&2097152&&(a.isOneVideoPlaylist=l[21]),s[0]&4194304&&(a.supportLink=l[22]),s[0]&8388608&&(a.outerContainerRef=l[23]),s[0]&16777216&&(a.fullScreenTarget=l[24]),s[0]&33554432&&(a.showMiniTimer=l[25]),s[1]&8&&(a.playerStarted=l[34]),s[0]&67108864&&(a.playNextVideo=l[26]),s[0]&134217728&&(a.playPrevVideo=l[27]),s[0]&268435456&&(a.repeatPlaylist=l[28]),s[0]&536870912&&(a.seekToInteractive=l[29]),s[0]&1073741824&&(a.toggleGraph=l[30]),s[1]&1&&(a.playPrevChapter=l[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=l[33],Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function K6(i){let e,t,n;function o(l){i[53](l)}let r={store:i[0],uiConfig:i[35],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36],seekTime:i[32]};return i[33]!==void 0&&(r.videoContainer=i[33]),e=new W6({props:r}),Ve.push(()=>Je(e,"videoContainer",o)),{c(){H(e.$$.fragment)},m(l,s){z(e,l,s),n=!0},p(l,s){const a={};s[0]&1&&(a.store=l[0]),s[0]&4&&(a.thumbUrl=l[2]),s[0]&8&&(a.videoLogoUrl=l[3]),s[0]&16&&(a.interactiveContainer=l[4]),s[0]&32&&(a.live=l[5]),s[0]&64&&(a.autoplay=l[6]),s[0]&128&&(a.canRewindLive=l[7]),s[0]&256&&(a.showAds=l[8]),s[0]&512&&(a.adsSlotId=l[9]),s[0]&1024&&(a.adsParams=l[10]),s[0]&2048&&(a.adsPreviewParam=l[11]),s[0]&4096&&(a.duration=l[12]),s[0]&8192&&(a.logoClickable=l[13]),s[0]&16384&&(a.logoHidden=l[14]),s[0]&65536&&(a.showNextPrevButtons=l[16]),s[0]&131072&&(a.nextButtonActive=l[17]),s[0]&262144&&(a.prevButtonActive=l[18]),s[0]&524288&&(a.endScreenVideoTitle=l[19]),s[0]&1048576&&(a.endScreenVideoThumb=l[20]),s[0]&2097152&&(a.isOneVideoPlaylist=l[21]),s[0]&4194304&&(a.supportLink=l[22]),s[0]&8388608&&(a.outerContainerRef=l[23]),s[0]&16777216&&(a.fullScreenTarget=l[24]),s[0]&33554432&&(a.showMiniTimer=l[25]),s[1]&8&&(a.playerStarted=l[34]),s[0]&67108864&&(a.playNextVideo=l[26]),s[0]&134217728&&(a.playPrevVideo=l[27]),s[0]&268435456&&(a.repeatPlaylist=l[28]),s[0]&536870912&&(a.seekToInteractive=l[29]),s[0]&1073741824&&(a.toggleGraph=l[30]),s[1]&1&&(a.playPrevChapter=l[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=l[33],Qe(()=>t=!1)),e.$set(a)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),n=!1},d(l){F(e,l)}}}function X6(i){let e,t,n,o;const r=[K6,Y6],l=[];function s(a,c){return a[15]?0:1}return t=s(i),n=l[t]=r[t](i),{c(){e=w("div"),n.c(),u(e,"class","root v-xu043z")},m(a,c){C(a,e,c),l[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?l[t].p(a,c):(he(),p(l[f],1,1,()=>{l[f]=null}),pe(),n=l[t],n?n.p(a,c):(n=l[t]=r[t](a),n.c()),h(n,1),n.m(e,null))},i(a){o||(h(n),o=!0)},o(a){p(n),o=!1},d(a){a&&y(e),l[t].d()}}}function Q6(i,e,t){let{sources:n}=e,{store:o}=e,{uiConfig:r}=e,{title:l}=e,{thumbUrl:s}=e,{videoLogoUrl:a}=e,{interactiveContainer:c}=e,{subtitles:f}=e,{live:d}=e,{preload:g}=e,{autoplay:v}=e,{volume:b=void 0}=e,{muted:T=void 0}=e,{fromTime:_}=e,{canRewindLive:A}=e,{showAds:E}=e,{adsSlotId:V=void 0}=e,{adsParams:B=void 0}=e,{adsPreviewParam:oe=void 0}=e,{duration:O=void 0}=e,{logoClickable:q}=e,{logoHidden:D}=e,{isMobile:de}=e,{showNextPrevButtons:ae=!1}=e,{nextButtonActive:Z=!1}=e,{prevButtonActive:ce=!1}=e,{endScreenVideoTitle:J=void 0}=e,{endScreenVideoThumb:S=void 0}=e,{isOneVideoPlaylist:I=!1}=e,{supportLink:re}=e,{outerContainerRef:G=void 0}=e,{fullScreenTarget:we=void 0}=e,{failoverHosts:se=void 0}=e,{showMiniTimer:K=!1}=e,{playNextVideo:ne=Ge}=e,{playPrevVideo:Be=Ge}=e,{repeatPlaylist:R=Ge}=e,{seekToInteractive:ue=Ge}=e,{toggleGraph:k=Ge}=e,{playPrevChapter:$=Ge}=e;u0(r);const ze=tn(),Te=o.ui.debugPanelVisible,Le=o.ui.playerSize;let Ee,ge=null,Se=!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}),p0(o);const Ce=(te=!1)=>{t(34,Se=!0),te?o.actions.external.firstStart(E):o.actions.internal.firstStart(E)};function X(te){var et;const nt=n||te;nt&&o.initVideo({container:Ee,sources:nt,failoverHosts:se,subtitles:f});const st=kn.get(xl)==="true";Te.set(st),_>0&&o.actions.external.seekTime(_);const Ye=de?ze.volumeDefault:(et=b!=null?b:bu())!=null?et:ze.volumeDefault,xe=T!=null?T:w0();if(o.actions.external.setVolume(Ye),o.actions.external.setMuted(xe),o.getAdmanWrapper().setInitialVolume(xe?0:Ye),ze.features.trafficSaving){const ot=C0();ot&&o.actions.internal.setTrafficSavingEnabled(ot)}const $e=k0(o.videoId);$e&&o.actions.internal.setQuality($e),o.ui.isAutoplay.set(v),v?Ce():g&&ze.features.preload&&o.actions.internal.preload()}const j=te=>{if(window.ResizeObserver){let nt,st;ge=new ResizeObserver(dl(Ye=>{const xe=Ye[0];if(xe){if(xe.contentBoxSize){const $e=Array.isArray(xe.contentBoxSize)?xe.contentBoxSize[0]:xe.contentBoxSize;nt=$e.inlineSize,st=$e.blockSize}else xe.contentRect&&(nt=xe.contentRect.width,st=xe.contentRect.height);Le.set({width:nt,height:st})}},uu)),ge.observe(te)}Le.set({width:te.clientWidth,height:te.clientHeight})};wn(()=>{if(j(Ee),(d==null?void 0:d.status)==="upcoming"||(d==null?void 0:d.status)==="waiting"){o.actions.internal.setWaitingLive(!0);return}if(((d==null?void 0:d.status)==="finished"||(d==null?void 0:d.status)==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return X(),()=>{ge==null||ge.disconnect(),o.destroy()}});function Fe(){Se?o.actions.external.play():Ce(!0)}function Ze(){o.actions.external.pause()}function rt(te){de||o.actions.external.setMuted(te)}function He(te){de||te>=0&&te<=1&&o.actions.external.setVolume(te)}function vt(te){o.actions.internal.seekTime(te,jt.UNKNOWN)}function ht(te){o.actions.external.seekEpisodeStartTime(te)}function Ot(te){o.actions.external.setPlaybackRate(te)}function dt(te){o.actions.external.setAutoQualityLimits(te)}function Re(te){Ee=te,t(33,Ee)}function Dt(te){Ee=te,t(33,Ee)}return i.$$set=te=>{"sources"in te&&t(37,n=te.sources),"store"in te&&t(0,o=te.store),"uiConfig"in te&&t(38,r=te.uiConfig),"title"in te&&t(1,l=te.title),"thumbUrl"in te&&t(2,s=te.thumbUrl),"videoLogoUrl"in te&&t(3,a=te.videoLogoUrl),"interactiveContainer"in te&&t(4,c=te.interactiveContainer),"subtitles"in te&&t(39,f=te.subtitles),"live"in te&&t(5,d=te.live),"preload"in te&&t(40,g=te.preload),"autoplay"in te&&t(6,v=te.autoplay),"volume"in te&&t(41,b=te.volume),"muted"in te&&t(42,T=te.muted),"fromTime"in te&&t(43,_=te.fromTime),"canRewindLive"in te&&t(7,A=te.canRewindLive),"showAds"in te&&t(8,E=te.showAds),"adsSlotId"in te&&t(9,V=te.adsSlotId),"adsParams"in te&&t(10,B=te.adsParams),"adsPreviewParam"in te&&t(11,oe=te.adsPreviewParam),"duration"in te&&t(12,O=te.duration),"logoClickable"in te&&t(13,q=te.logoClickable),"logoHidden"in te&&t(14,D=te.logoHidden),"isMobile"in te&&t(15,de=te.isMobile),"showNextPrevButtons"in te&&t(16,ae=te.showNextPrevButtons),"nextButtonActive"in te&&t(17,Z=te.nextButtonActive),"prevButtonActive"in te&&t(18,ce=te.prevButtonActive),"endScreenVideoTitle"in te&&t(19,J=te.endScreenVideoTitle),"endScreenVideoThumb"in te&&t(20,S=te.endScreenVideoThumb),"isOneVideoPlaylist"in te&&t(21,I=te.isOneVideoPlaylist),"supportLink"in te&&t(22,re=te.supportLink),"outerContainerRef"in te&&t(23,G=te.outerContainerRef),"fullScreenTarget"in te&&t(24,we=te.fullScreenTarget),"failoverHosts"in te&&t(44,se=te.failoverHosts),"showMiniTimer"in te&&t(25,K=te.showMiniTimer),"playNextVideo"in te&&t(26,ne=te.playNextVideo),"playPrevVideo"in te&&t(27,Be=te.playPrevVideo),"repeatPlaylist"in te&&t(28,R=te.repeatPlaylist),"seekToInteractive"in te&&t(29,ue=te.seekToInteractive),"toggleGraph"in te&&t(30,k=te.toggleGraph),"playPrevChapter"in te&&t(31,$=te.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(de)},[o,l,s,a,c,d,v,A,E,V,B,oe,O,q,D,de,ae,Z,ce,J,S,I,re,G,we,K,ne,Be,R,ue,k,$,vt,Ee,Se,ze,Ce,n,r,f,g,b,T,_,se,X,Fe,Ze,rt,He,ht,Ot,dt,Re,Dt]}class J6 extends ke{constructor(e){super(),_e(this,e,Q6,X6,be,{sources:37,store:0,uiConfig:38,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:39,live:5,preload:40,autoplay:6,volume:41,muted:42,fromTime:43,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:44,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:45,play:46,pause:47,setMuted:48,setVolume:49,seekTime:32,seekEpisodeStartTime:50,setPlaybackRate:51,setAutoQualityLimits:52},G6,[-1,-1])}get initVideo(){return this.$$.ctx[45]}get play(){return this.$$.ctx[46]}get pause(){return this.$$.ctx[47]}get setMuted(){return this.$$.ctx[48]}get setVolume(){return this.$$.ctx[49]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[50]}get setPlaybackRate(){return this.$$.ctx[51]}get setAutoQualityLimits(){return this.$$.ctx[52]}}function x6(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill",i[0]),u(t,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,o){C(n,e,o),m(e,t)},p(n,[o]){o&1&&u(t,"fill",n[0])},i:U,o:U,d(n){n&&y(e)}}}function $6(i,e,t){let{isWhite:n=!1}=e,o;return i.$$set=r=>{"isWhite"in r&&t(1,n=r.isWhite)},i.$$.update=()=>{i.$$.dirty&2&&t(0,o=n?"#fff":"#909499")},[o,n]}class eb extends ke{constructor(e){super(),_e(this,e,$6,x6,be,{isWhite:1})}}function tb(i){je(i,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function X1(i){let e,t;return{c(){e=w("div"),t=Ue(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){C(n,e,o),m(e,t)},p(n,o){o&1&&it(t,n[0])},d(n){n&&y(e)}}}function Q1(i){let e,t;return e=new eb({props:{isWhite:!!i[1]}}),{c(){H(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isWhite=!!n[1]),e.$set(r)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ib(i){let e,t,n,o,r=i[0]&&X1(i),l=(!i[0]||!i[1])&&Q1(i);return{c(){e=w("div"),r&&r.c(),t=N(),l&&l.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(s,a){C(s,e,a),r&&r.m(e,null),m(e,t),l&&l.m(e,null),o=!0},p(s,[a]){s[0]?r?r.p(s,a):(r=X1(s),r.c(),r.m(e,t)):r&&(r.d(1),r=null),!s[0]||!s[1]?l?(l.p(s,a),a&3&&h(l,1)):(l=Q1(s),l.c(),h(l,1),l.m(e,null)):l&&(he(),p(l,1,1,()=>{l=null}),pe()),(!o||a&2&&n!==(n=s[1]?`background-image: url('${s[1]}')`:""))&&u(e,"style",n)},i(s){o||(h(l),o=!0)},o(s){p(l),o=!1},d(s){s&&y(e),r&&r.d(),l&&l.d()}}}function nb(i,e,t){let{title:n}=e,{thumbUrl:o}=e;return i.$$set=r=>{"title"in r&&t(0,n=r.title),"thumbUrl"in r&&t(1,o=r.thumbUrl)},[n,o]}class ob extends ke{constructor(e){super(),_e(this,e,nb,ib,be,{title:0,thumbUrl:1},tb)}}class lb{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:t="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:t,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",t=>null],["seekbackward",t=>null],["seekforward",t=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[t,n]of e)try{navigator.mediaSession.setActionHandler(t,n)}catch(o){throw new Error(`The media session action "${t}" is not supported yet.`)}}}function rb(i){let e,t,n,o;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(o,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(t,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(r,l){C(r,e,l),m(e,t),m(t,n),m(t,o)},p:U,i:U,o:U,d(r){r&&y(e)}}}class sb extends ke{constructor(e){super(),_e(this,e,null,rb,be,{})}}function ab(i){je(i,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function ub(i){let e,t,n,o,r,l,s;return n=new sb({}),{c(){e=w("div"),t=w("div"),H(n.$$.fragment),o=N(),r=w("span"),l=Ue(i[0]),u(t,"class","dummy-image v-1pbsod4"),L(t,"desktop",!i[1]),u(r,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),L(e,"is-pip-api",i[2])},m(a,c){C(a,e,c),m(e,t),z(n,t,null),m(e,o),m(e,r),m(r,l),s=!0},p(a,[c]){(!s||c&2)&&L(t,"desktop",!a[1]),(!s||c&1)&&it(l,a[0])},i(a){s||(h(n.$$.fragment,a),s=!0)},o(a){p(n.$$.fragment,a),s=!1},d(a){a&&y(e),F(n)}}}function cb(i,e,t){let n,o;const r=Rt(),l=!!r.webApi.pictureInPictureApi,s=r.interfaceLanguage$;W(i,s,f=>t(5,n=f));const a=r.ui.isMobile;W(i,a,f=>t(1,o=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&le("pip_dummy_title"))},[c,o,l,s,a,n]}class fb extends ke{constructor(e){super(),_e(this,e,cb,ub,be,{},ab)}}const db=460,mb=280;class $c{constructor(){this.info={isActive$:new lr(!1),type:Rn.DocumentPictureInPicture}}isSupported(){const e=rr().browser===x1.Yandex,{isEmbed:t}=Uf();return"documentPictureInPicture"in window&&!e&&!t}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,t){this.playerDomElement=e,this.playerParentShadowRoot=t}setContext(e){this.svelteContext=e}request(){var e,t;return Zi(this,void 0,void 0,function*(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=yield documentPictureInPicture.requestWindow({width:db,height:mb,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
51
+ `),o=document.createElement("style");o.textContent=n;const r=this.createStretchedContainer(),l=r.attachShadow({mode:"open"});l.append(o),l.append(this.playerDomElement),this.playerDummyElement=new fb({target:this.playerParentShadowRoot,context:this.svelteContext}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(r),this.info.isActive$.next(!0),(t=this.pipWindow)===null||t===void 0||t.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})})}remove(){return Zi(this,void 0,void 0,function*(){return new Promise(e=>{var t;(t=documentPictureInPicture.window)===null||t===void 0||t.close(),e()})})}dispose(){return Zi(this,void 0,void 0,function*(){yield this.remove()})}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function hb(i){return i instanceof $c}class pb{static getLatestSupportedVersion(){const e=new pr,t=new $c;if(t.isSupported())return t;if(e.isSupported())return e}}function J1(i,e){var t,n;const o=new Set([...Object.keys(i),...Object.keys(e)]),r={};for(const l of o)r[l]=(n=(t=e[l])!==null&&t!==void 0?t:i[l])!==null&&n!==void 0?n:void 0;return r}const vb="Inner error. Unexpectedly root annotation container null reference exception",gb="Annotation with such name already exists",bb="Annotation with such name does not exist";class Xl extends Error{constructor(e){super(e),this.name="AnnotationError"}}const _b="1",kb=100;class wb{constructor(e){this.annotations=new Map,this.subscriptions=new Xn,this.rootAnnotationsContainer=e;const t=dl(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},kb);this.subscriptions.add(jf(this.rootAnnotationsContainer).subscribe(({width:n,height:o})=>{this.playerSize={width:n,height:o},t()})),this.mutationObserver=new MutationObserver(t),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,t){var n;if(!this.rootAnnotationsContainer)throw new Xl(vb);if(this.annotations.has(e))throw new Xl(gb);t.style.zIndex=(n=t.style.zIndex)!==null&&n!==void 0?n:_b,t.style.position="absolute",this.rootAnnotationsContainer.append(t),this.annotations.set(e,t)}get(e){const t=this.annotations.get(e);if(!t)throw new Xl(bb);return t}remove(e){const t=this.get(e);this.annotations.delete(e)&&t.remove()}clear(){for(const e in this.annotations.keys())this.remove(e)}destroy(){this.annotations.clear(),this.subscriptions.unsubscribe(),this.mutationObserver.disconnect(),this.rootAnnotationsContainer=null}isElementExceedsBoundaries(e,t,n){const o=e.offsetTop,r=e.offsetLeft,l=e.offsetWidth,s=e.offsetHeight;return o<0||r<0||r+l>t||o+s>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}const yb={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:Do.RU,logoClickable:!1,logoHidden:!1,isMobile:qf(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class Cb extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.videoConfig=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this.annotationsApi=void 0,this.prevVsid=void 0,this.isInited=!1,this.logger=new $1,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new Xn,this.graphMadePause=!1,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(t=>{console.log("%c player web component ","background:#77dd77;",`${t.component}`,t.message)}))}connectedCallback(){var e,t;if(this.isInited)return;this.initPlayerRootContainers();const n=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,o=(t=this.getAttribute("stub-thumb-url"))!==null&&t!==void 0?t:void 0;this.svelteStubComponent=new ob({target:this.playerContainer,props:{title:n,thumbUrl:o}})}disconnectedCallback(){var e,t,n,o,r;(e=this.annotationsApi)===null||e===void 0||e.destroy(),(t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),(n=this.svelteStubComponent)===null||n===void 0||n.$destroy(),this.subscription.unsubscribe(),(o=this.unsubscribePlayerPhaseSubscription)===null||o===void 0||o.call(this),(r=this.interactiveController)===null||r===void 0||r.destroy()}initPlayerRootContainers(){this.rootContainer=document.createElement("div"),this.rootContainer.style.position="relative",this.rootContainer.className="root-container",this.rootContainer.style.width="100%",this.rootContainer.style.height="100%";const e=document.createElement("div");e.style.position="absolute",e.className="shadow-root-container",e.style.width="100%",e.style.height="100%",this._shadowRoot=e.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.rootContainer.append(e),this.append(this.rootContainer)}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){var t;const n=(t=this.store)===null||t===void 0?void 0:t.ui.controls.disabledControls$;return(n==null?void 0:n.includes(e))||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,t={},n){var o,r,l,s,a,c,f,d,g,v,b;if(!this.videoConfig)return;const{albumId:T,statPlace:_,statUserSalt:A,statAuthToken:E,statTrackCode:V,refreshStatAuthToken:B,preload:oe,autoplay:O,volume:q,muted:D,fromTime:de,canRewindLive:ae,supportLink:Z,showAds:ce,adsSlotId:J,adsParams:S={},adsPreviewParam:I,interfaceLanguage:re,logoClickable:G,logoHidden:we,isMobile:se,isAudioDisabled:K,isLiveCatchUpMode:ne,fullScreenTarget:Be,failoverHosts:R,canDownload:ue,callbacks:k,interactiveData:$,showThumbTimer:ze,additionalButtons:Te=[],repeat:Le}=J1(this.videoConfig,t),{sources:Ee,title:ge,thumbUrl:Se,videoLogoUrl:Ce,unitedVideoId:X,isClip:j=!1,duration:Fe,adsParams:Ze={},videoEpisodes:rt,previewThumbsData:He,subtitles:vt,live:ht}=e,Ot=Object.assign(Object.assign({},S),Ze),dt=this.getNextVideoInfo(),Re={sources:Ee,title:ge,thumbUrl:Se,subtitles:vt,unitedVideoId:X,isClip:j,live:ht,albumId:T,statPlace:_,autoplay:O,muted:D,volume:q,fromTime:de,canRewindLive:ae,showAds:ce,adsSlotId:J,adsParams:Ot,adsPreviewParam:I,duration:Fe,logoClickable:G,logoHidden:we,isMobile:se,repeat:Le,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:dt.nextVideoTitle,endScreenVideoThumb:dt.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},Dt={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(Re)}`});const te=this.uiConfig.features.statistics&&!!X,{pid:nt}=((r=(o=this.videoConfig)===null||o===void 0?void 0:o.interactiveData)===null||r===void 0?void 0:r.projectInfo)||{};te&&new Bo(Object.assign({movieId:X,albumId:T,place:_,trackCode:V,autoplay:(l=O&&!this.interactiveController)!==null&&l!==void 0?l:!1,mobile:se,clip:j},nt&&!this.isInited&&{projectId:Number(nt)}),Object.assign({refreshAuthToken:B,userSalt:A,config:this.statistics.config},this.interactiveController&&this.isInited&&{vsid:this.prevVsid})),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new nr(this.uiConfig.sentry,{version:ar,env:h0},{movieId:X,albumId:T,place:_,autoplay:(s=O&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:se,clip:j}),this.interactiveController&&!this.isInited&&(this.prevVsid=(a=Bo.getInstance())===null||a===void 0?void 0:a.oneStat.vsid$.getValue()),this.statistics=Object.assign(Object.assign({},this.statistics),Bo.getInstance()),this.sentry=Object.assign(Object.assign({},this.sentry),nr.getInstance());const Ye=!!$,xe=(c=this.interactiveController)===null||c===void 0?void 0:c.getInteractiveRanges(),$e=[];let et="tooltip_interactive_go_back_disabled_first";if(Ye&&this.interactiveController){const at=this.interactiveController.state,Ke=this.interactiveController.getHistoryState();at.isInitialChapter$.getValue()&&$e.push(bt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||$e.push(bt.SEEK_TO_INTERACTIVE_BUTTON),Ke.hasPrevChapter$.getValue()||(at.isInitialChapter$.getValue()||(at.lastChapterChangeWasInitiatedByInteractive$.getValue()?et="tooltip_interactive_go_back_disabled":et="tooltip_interactive_go_back_disabled_limit"),$e.push(bt.PLAY_PREV_CHAPTER_BUTTON))}const ot=()=>{var at;const Ke=(n==null?void 0:n.info.isEnded$.getValue())&&((at=this.interactiveController)===null||at===void 0?void 0:at.state.isEndChapter$.getValue());k.onReplayInteractiveVideo&&!Ke?k.onReplayInteractiveVideo():this.replayInteractiveVideo()},Lt=at=>{k.onDisabledPlayPrevChapterClick&&k.onDisabledPlayPrevChapterClick(at)},lt=at=>{k.onDisabledSeekToInteractiveClick&&k.onDisabledSeekToInteractiveClick(at)};this.store=T5({player:n,interfaceLanguage:re,videoId:X,isClip:j,isLiveCatchUpMode:ne,isAudioDisabled:K,statAuthToken:E,callbacks:k,webApi:Dt,videoEpisodes:rt,previewThumbsData:He,canDownload:ue,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:$e,isInteractive:Ye,interactiveRanges:xe,replayInteractive:ot,playPrevChapterDisabledTooltip:et,onDisabledPlayPrevChapterClick:Lt,onDisabledSeekToInteractiveClick:lt,hasInteractiveBranches:!!(!((d=(f=this.interactiveController)===null||f===void 0?void 0:f.getChapterBranches())===null||d===void 0)&&d.length),additionalButtons:this.uiConfig.features.additionalButtons?Te:[],looped:Le&&this.videoConfig.videos.length===1}),this.subscription.add(this.store.state.currentFormat$.subscribe(at=>{var Ke;return(Ke=k==null?void 0:k.onCurrentFormatChanged)===null||Ke===void 0?void 0:Ke.call(k,at)})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(at=>{var Ke;return(Ke=k==null?void 0:k.onThroughputEstimationChanged)===null||Ke===void 0?void 0:Ke.call(k,at)})),this.subscription.add(this.store.state.videoBitrate$.subscribe(at=>{var Ke;return(Ke=k==null?void 0:k.onVideoBitrateChanged)===null||Ke===void 0?void 0:Ke.call(k,at)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(at=>{var Ke;const Xe=(Ke=this.store)===null||Ke===void 0?void 0:Ke.ui.controls.disabledControls$;Xe&&at&&!Xe.includes($l)&&Xe.add($l)})),this.videoConfig.isMobile&&this.interactiveController&&this.subscription.add(this.store.ui.controlsVisible.subscribe(at=>{var Ke;(Ke=this.interactiveController)===null||Ke===void 0||Ke.setDisabledControls(at)})),this.initMediaSession(),this.interactiveController&&te&&this.initInteractivesStatistics(),this.svelteRootComponent=new J6({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Ee,store:this.store,uiConfig:this.uiConfig,title:ge,thumbUrl:Se,videoLogoUrl:Ce,subtitles:vt,live:ht,preload:oe,autoplay:O,muted:D,volume:q,fromTime:de,canRewindLive:ae,supportLink:Z,showAds:ce,adsSlotId:J,adsParams:Ot,adsPreviewParam:I,duration:Fe,logoClickable:G,logoHidden:we,isMobile:se,failoverHosts:R,fullScreenTarget:Be,showMiniTimer:ze,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:dt.nextVideoTitle,endScreenVideoThumb:dt.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist(),playPrevChapter:()=>this.playPrevChapter(),seekToInteractive:()=>this.seekToInteractive(),toggleGraph:()=>this.toggleGraph()}}),this.addPlayerInfoSubscriptions(),this.isInited||(this.isInited=!0,(b=(v=(g=this.videoConfig)===null||g===void 0?void 0:g.callbacks)===null||v===void 0?void 0:v.onInited)===null||b===void 0||b.call(v))}addPlayerInfoSubscriptions(){var e;const t=this.store;if(!t)return;const n=(e=this.videoConfig)===null||e===void 0?void 0:e.callbacks;n&&this.subscription.add(t.playerPhase.subscribe(r=>{var l;return(l=n.onPlayerPhaseChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.playbackState$.subscribe(r=>{var l;return(l=n.onPlaybackStateChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.isLive$.subscribe(r=>{var l;return(l=n.onIsLiveChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.isActiveLive$.subscribe(r=>{var l;return(l=n.onIsActiveLiveChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.isAudioAvailable$.subscribe(r=>{var l;return(l=n.onIsAudioAvailableChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.currentQuality$.subscribe(r=>{var l;return(l=n.onCurrentQualityChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.availableQualities$.subscribe(r=>{var l;return(l=n.onAvailableQualitiesChanged)===null||l===void 0?void 0:l.call(n,r.map(({value:s})=>s).filter(s=>s!==vo.AUTO))})).add(t.ui.isPictureInPictureActive$.subscribe(r=>{var l,s;return r?(l=n.onPiPEnter)===null||l===void 0?void 0:l.call(n):(s=n.onPiPExit)===null||s===void 0?void 0:s.call(n)}));const o=n==null?void 0:n.uiInfo;o&&this.subscription.add(t.ui.controlsVisible.subscribe(r=>{var l;return(l=o.onControlsVisibleChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.isMobile.subscribe(r=>{var l;return(l=o.onIsMobileChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.playerSize.subscribe(r=>{var l;return(l=o.onPlayerSizeChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.prevButton.subscribe(r=>{var l;return(l=o.onPrevButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.playButton.subscribe(r=>{var l;return(l=o.onPlayButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.replayButton.subscribe(r=>{var l;return(l=o.onReplayButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.nextButton.subscribe(r=>{var l;return(l=o.onNextButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.playPrevChapterButton.subscribe(r=>{var l;return(l=o.onPlayPrevChapterChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.seekToInteractiveButton.subscribe(r=>{var l;return(l=o.onSeekToInteractiveButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.interactiveGraphButton.subscribe(r=>{var l;return(l=o.onGraphButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.liveButton.subscribe(r=>{var l;return(l=o.onLiveButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.time.subscribe(r=>{var l;return(l=o.onTimeUpdateChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.episodes.subscribe(r=>{var l;return(l=o.onEpisodesChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.volume.subscribe(r=>{var l;return(l=o.onVolumeChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.subtitles.subscribe(r=>{var l;return(l=o.onSubtitlesChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.settings.subscribe(r=>{var l;return(l=o.onSettingsChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.fullscreen.subscribe(r=>{var l;return(l=o.onFullscreenChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.chromecast.subscribe(r=>{var l;return(l=o.onChromecastChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.pip.subscribe(r=>{var l;return(l=o.onPipChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.vkLogo.subscribe(r=>{var l;return(l=o.onVkLogoChanged)===null||l===void 0?void 0:l.call(o,r)}))}playNextVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onNextVideoClick)try{t=this.videoConfig.callbacks.onNextVideoClick()}catch(n){this.log({message:"onNextVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onPrevVideoClick)try{t=this.videoConfig.callbacks.onPrevVideoClick()}catch(n){this.log({message:"onPrevVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,t=!0){var n;if(!this.videoConfig)return;const o=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!o){this.log({message:"no next video"});return}this.isInited&&bn(o.unitedVideoId)&&this.store.actions.internal.nextMovie(o.unitedVideoId),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(o,{autoplay:t,fromTime:0},e)}playPrevChapter(){var e;(e=this.interactiveController)===null||e===void 0||e.playPrevChapter()}seekToInteractive(){var e;const t=(e=this.interactiveController)===null||e===void 0?void 0:e.getNextInteractiveStartTime();typeof t=="number"&&this.seekTime(t/1e3)}toggleGraph(){var e,t;if(!this.isInited)return;const n=this.store,{isEnded$:o,playbackState$:r,graphIsOpened$:l}=n.state,{disabledControls$:s}=n.ui.controls,a=ut(o),c=ut(r);ut(l)?(l.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(Vr),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",l.set(!0),(t=this.interactiveController)===null||t===void 0||t.toggleGraphView(!0),s.add(Vr),!a&&this.graphMadePause&&this.pause())}initInteractives(){var e,t,n,o;return Zi(this,void 0,void 0,function*(){if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:r,EVENT_NAMES:l,CustomError:s}=yield import("@vkontakte/videoplayer-interactive/es2015.esm.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const a=(t=this.store)===null||t===void 0?void 0:t.interfaceLanguage$,c=a?ut(a):this.videoConfig.interfaceLanguage,{projectInfo:f,historyApi:d,videoLoader:g}=this.videoConfig.interactiveData;this.interactiveController=new r({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:c,graph:this.uiConfig.features.interactiveGraph,projectInfo:f,historyApi:d,vkVideoLoader:g,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,disableControlsOnPause:!this.videoConfig.isMobile}),yield this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest),this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(b=>{if(!this.isInited)return;const T=this.store;b?T.ui.controls.disabledControls$.remove(bt.SEEK_TO_INTERACTIVE_BUTTON):T.ui.controls.disabledControls$.add(bt.SEEK_TO_INTERACTIVE_BUTTON)}));let v=!0;if(this.interactiveController.on(l.playerChanged,b=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]=Object.assign(Object.assign({},b.config),{title:f.title});const T=v?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(b.player,T),v&&(v=!1)}),this.interactiveController.on(l.interactives,({type:b,subjectId:T,actionType:_})=>{var A,E,V,B;if(this.store&&(b==="container-removed"&&this.store.actions.internal.completeInteractiveRange(T),b==="range-ended"&&(ut(this.store.state.isInteractiveExpectation$)||this.store.ui.controls.disabledControls$.remove(Mo)),b==="action-execution"&&_==="expect"&&(this.store.ui.controls.disabledControls$.add(Mo),this.store.state.isInteractiveExpectation$.set(!0)),b==="action-choice"&&_==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(Mo)),b==="action-execution"&&_==="after-expect"&&(this.store.ui.controls.disabledControls$.remove(Mo),this.store.state.isInteractiveExpectation$.set(!1)),b==="action-choice-canceled")){const oe=ut(this.store.state.isPlaying$)||ut(this.store.state.isInteractiveExpectation$);if(!((A=this.videoConfig)===null||A===void 0)&&A.isMobile&&oe){this.store.ui.interactiveHideMobileControls.set(!0);return}(B=(E=this.videoConfig)===null||E===void 0?void 0:(V=E.callbacks).onDisabledInteractiveClick)===null||B===void 0||B.call(V)}}),!((o=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||o===void 0)&&o.onInteractiveHistoryChanged){const b=this.interactiveController.getHistoryState();this.subscription.add(b.history$.subscribe(T=>{var _,A,E;T.length&&((E=(A=(_=this.videoConfig)===null||_===void 0?void 0:_.callbacks)===null||A===void 0?void 0:A.onInteractiveHistoryChanged)===null||E===void 0||E.call(A,T))}))}this.interactiveController.on(l.errors,b=>{this.log({message:b.toString()})})}catch(r){this.log({message:r.message})}})}initInteractivesStatistics(){var e,t;return Zi(this,void 0,void 0,function*(){const{statSubscription:n,oneStat:o}=this.statistics;if(!(!n||!o||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:r}=yield import("@vkontakte/videoplayer-interactive/es2015.esm.js"),l={[r.GO_NEXT_BUTTON]:Vo.NEXT_BUTTON,[r.GO_NEXT_AREA]:Vo.NEXT_AREA,[r.WATCH_AGAIN]:Vo.WATCH_AGAIN,[r.OPEN_GRAPH]:Vo.GRAPH_SHOW,[r.CLOSE_GRAPH]:Vo.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new dn;s.subscribe(f=>{var d,g;f in l?c.next(l[f]):(o==null||o.logError({errorType:"InteractiveVideosAction",fatal:!1}),(g=(d=this.sentry).report)===null||g===void 0||g.call(d,new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),n.add(o.attachToInteractive({click$:c,nextMovie$:a}))}catch(r){o==null||o.logError({errorType:"InteractiveVideos",fatal:!1}),(t=(e=this.sentry).report)===null||t===void 0||t.call(e,r,{errorType:"InteractiveVideosAction",fatal:!1})}})}initPlayer(e,t={}){var n,o,r,l,s,a,c,f,d,g,v,b,T,_,A,E,V,B,oe;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=J1(yb,Zf(e,O=>O instanceof HTMLElement?O:void 0)),this.uiConfig=a0((n=t.ui)!==null&&n!==void 0?n:{}),this.coreConfig=(o=t.core)!==null&&o!==void 0?o:{configName:[]},this.statistics={config:(r=t.statistics)!==null&&r!==void 0?r:{}},this.sentry={config:(l=this.uiConfig.sentry)!==null&&l!==void 0?l:{}},bn(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(s=this.videoConfig.isMediaSessionEnabled)!==null&&s!==void 0?s:!0),bn(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=(c=(a=this.uiConfig.features.pip)!==null&&a!==void 0?a:this.videoConfig.isPictureInPictureEnabled)!==null&&c!==void 0?c:!0,this.uiConfig.features.dpip=(d=(f=this.uiConfig.features.dpip)!==null&&f!==void 0?f:this.videoConfig.isPictureInPictureEnabled)!==null&&d!==void 0?d:!0),this.videoConfig.isMobile=(g=this.uiConfig.isMobile)!==null&&g!==void 0?g:this.videoConfig.isMobile,(B=this.videoConfig).autoplay&&(B.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(v=this.uiConfig.ads.enable)!==null&&v!==void 0?v:this.videoConfig.showAds,this.videoConfig.adsSlotId=(b=this.uiConfig.ads.slot)!==null&&b!==void 0?b:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(T=this.uiConfig.ads.preview)!==null&&T!==void 0?T:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((_=this.uiConfig.showLogo)!==null&&_!==void 0?_:!this.videoConfig.logoHidden),(oe=this.videoConfig).canRewindLive&&(oe.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(A=this.videoConfig.supportLink)!==null&&A!==void 0?A:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=pb.getLatestSupportedVersion():this.pictureInPictureApi=new pr),this.mediaSessionApi=this.uiConfig.features.mediaSession?new lb:void 0,this.annotationsApi=this.uiConfig.features.annotations?new wb(this.rootContainer):void 0,(E=this.svelteStubComponent)===null||E===void 0||E.$destroy(),(V=this.svelteRootComponent)===null||V===void 0||V.$destroy(),this.isInited=!1,this.prevVsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),hb(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){var t;if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const n=this.getNextVideoInfo();(t=this.svelteRootComponent)===null||t===void 0||t.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,t;this.mediaSessionApi&&((e=this.unsubscribePlayerPhaseSubscription)===null||e===void 0||e.call(this),this.unsubscribePlayerPhaseSubscription=(t=this.store)===null||t===void 0?void 0:t.playerPhase.subscribe(n=>{n===Ne.Video?this.setupMediaSessionForVideo():n===Ne.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}=Object.assign({},this.videoConfig.videos[this.currentPlayingVideoIndex]),n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",o=>this.seekTime(o.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:t}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",t=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(t)}catch(e){this.log({message:e.message})}}play(){var e;this.isControlDisabled(bt.PLAY_BUTTON)||(this.log({message:"play"}),(e=this.svelteRootComponent)===null||e===void 0||e.play())}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,t;if(!this.videoConfig)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.videoConfig.videos[0];n&&((t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),this.createPlayer(n))}setMuted(e){var t;this.log({message:`set muted, muted: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setMuted(e)}setVolume(e){var t;this.log({message:`set volume, volume: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setVolume(e)}setRepeat(e){var t;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(t=this.svelteRootComponent)===null||t===void 0||t.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var t;this.isControlDisabled(bt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekTime(e))}seekEpisodeStartTime(e){var t;this.log({message:`seek episode start time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekEpisodeStartTime(e)}setPlaybackRate(e){var t;this.log({message:`set playback rate to: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setPlaybackRate(e)}setAutoQualityLimits(e){var t,n,o;this.log({message:`set auto quality limitation. Max: ${(t=e.max)!==null&&t!==void 0?t:"none"}. Min: ${(n=e.min)!==null&&n!==void 0?n:"none"}`}),(o=this.svelteRootComponent)===null||o===void 0||o.setAutoQualityLimits(e)}addLanguage(e){var t;(t=this.store)===null||t===void 0||t.actions.internal.addLanguage(e)}setLanguage(e){var t;return Zi(this,void 0,void 0,function*(){yield(t=this.store)===null||t===void 0?void 0:t.actions.internal.setLanguage(e)})}setLiveStart(e){var t,n;this.log({message:"live started"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingLive(!1),(n=this.svelteRootComponent)===null||n===void 0||n.initVideo(e),this.play()}setWaitRecord(){var e,t;this.log({message:"post live"}),(e=this.store)===null||e===void 0||e.actions.internal.setWaitingRecord(!0),(t=this.store)===null||t===void 0||t.destroy()}setLiveEnd(e){var t,n;this.log({message:"live ended"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingRecord(!1),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){var e,t;return(t=(e=Bo.getInstance())===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&t!==void 0?t:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const Lb=()=>{window.customElements.define("vk-video-player",Cb)};export{Bt as GridTypes,Ob as InterfaceLanguage,ar as VERSION,Db as VKNumericLanguage,Bb as VideoFormat,Rb as VideoQuality,zb as loadVKLangPack,Lb as registerPlayerWebComponent};