@vkontakte/videoplayer 1.1.35-dev.effe86bb.0 → 1.1.36-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es2015.cjs.js CHANGED
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @vkontakte/videoplayer v1.1.35-dev.effe86bb.0
3
- * Mon, 13 May 2024 07:03:01 GMT
4
- * https://st.mycdn.me/static/vkontakte-videoplayer/1-1-35/doc/
2
+ * @vkontakte/videoplayer v1.1.36-beta.0
3
+ * Mon, 10 Jun 2024 15:07:21 GMT
4
+ * https://st.mycdn.me/static/vkontakte-videoplayer/1-1-36/doc/
5
5
  */
6
- "use strict";var Kf=Object.create;var Al=Object.defineProperty,Yf=Object.defineProperties,Qf=Object.getOwnPropertyDescriptor,Xf=Object.getOwnPropertyDescriptors,Jf=Object.getOwnPropertyNames,Dr=Object.getOwnPropertySymbols,xf=Object.getPrototypeOf,zr=Object.prototype.hasOwnProperty,$f=Object.prototype.propertyIsEnumerable;var El=(i,e,t)=>e in i?Al(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,fn=(i,e)=>{for(var t in e||(e={}))zr.call(e,t)&&El(i,t,e[t]);if(Dr)for(var t of Dr(e))$f.call(e,t)&&El(i,t,e[t]);return i},co=(i,e)=>Yf(i,Xf(e));var e0=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Jf(e))!zr.call(i,o)&&o!==t&&Al(i,o,{get:()=>e[o],enumerable:!(n=Qf(e,o))||n.enumerable});return i};var Fr=(i,e,t)=>(t=i!=null?Kf(xf(i)):{},e0(e||!i||!i.__esModule?Al(t,"default",{value:i,enumerable:!0}):t,i));var Ll=(i,e,t)=>(El(i,typeof e!="symbol"?e+"":e,t),t);var Xi=(i,e,t)=>new Promise((n,o)=>{var r=a=>{try{s(t.next(a))}catch(c){o(c)}},l=a=>{try{s(t.throw(a))}catch(c){o(c)}},s=a=>a.done?n(a.value):Promise.resolve(a.value).then(r,l);s((t=t.apply(i,e)).next())});var xe=require("@vkontakte/videoplayer-core/es2015.cjs.js"),ie=require("@vkontakte/videoplayer-shared/es2015.cjs.js"),kt=require("@vkontakte/videoplayer-statistics/es2015.cjs.js");function ki(i,e,t,n){function o(r){return r instanceof t?r:new t(function(l){l(r)})}return new(t||(t=Promise))(function(r,l){function s(f){try{c(n.next(f))}catch(m){l(m)}}function a(f){try{c(n.throw(f))}catch(m){l(m)}}function c(f){f.done?r(f.value):o(f.value).then(s,a)}c((n=n.apply(i,e||[])).next())})}function W(){}function h1(i,e){for(const t in e)i[t]=e[t];return i}function v1(i){return i()}function Hr(){return Object.create(null)}function ot(i){i.forEach(v1)}function Sn(i){return typeof i=="function"}function we(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Jo;function Ur(i,e){return Jo||(Jo=document.createElement("a")),Jo.href=e,i===Jo.href}function t0(i){return Object.keys(i).length===0}function ii(i,...e){if(i==null){for(const n of e)n(void 0);return W}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Xe(i){let e;return ii(i,t=>e=t)(),e}function z(i,e,t){i.$$.on_destroy.push(ii(e,t))}function Mn(i,e,t,n){if(i){const o=g1(i,e,t,n);return i[0](o)}}function g1(i,e,t,n){return i[1]&&n?h1(t.ctx.slice(),i[1](n(e))):t.ctx}function Bn(i,e,t,n){if(i[2]&&n){const o=i[2](n(t));if(e.dirty===void 0)return o;if(typeof o=="object"){const r=[],l=Math.max(e.dirty.length,o.length);for(let s=0;s<l;s+=1)r[s]=e.dirty[s]|o[s];return r}return e.dirty|o}return e.dirty}function Nn(i,e,t,n,o,r){if(o){const l=g1(e,t,n,r);i.p(l,o)}}function Rn(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function i0(i){return i==null?"":i}const b1=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(i,e){i.appendChild(e)}function je(i,e,t){const n=n0(i);if(!n.getElementById(e)){const o=T("style");o.id=e,o.textContent=t,o0(n,o)}}function n0(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function o0(i,e){return p(i.head||i,e),e.sheet}function E(i,e,t){i.insertBefore(e,t||null)}function P(i){i.parentNode&&i.parentNode.removeChild(i)}function Cn(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function T(i){return document.createElement(i)}function B(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Fe(i){return document.createTextNode(i)}function N(){return Fe(" ")}function bt(){return Fe("")}function _e(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function oi(i){return function(e){return e.preventDefault(),i.call(this,e)}}function lt(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 l0(i){return Array.from(i.childNodes)}function $e(i,e){e=""+e,i.data!==e&&(i.data=e)}function Nt(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let xo;function r0(){if(xo===void 0){xo=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){xo=!0}}return xo}function cr(i,e){getComputedStyle(i).position==="static"&&(i.style.position="relative");const n=T("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const o=r0();let r;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=_e(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{r=_e(n.contentWindow,"resize",e),e()}),p(i,n),()=>{(o||r&&n.contentWindow)&&r(),P(n)}}function M(i,e,t){i.classList.toggle(e,!!t)}function En(i,e){return new i(e)}let Ro;function No(i){Ro=i}function Do(){if(!Ro)throw new Error("Function called outside component initialization");return Ro}function vn(i){Do().$$.on_mount.push(i)}function gl(i){Do().$$.on_destroy.push(i)}function tr(i,e){return Do().$$.context.set(i,e),e}function fr(i){return Do().$$.context.get(i)}function _1(){return Do().$$.context}function So(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const bo=[],Se=[];let yo=[];const ir=[],w1=Promise.resolve();let nr=!1;function y1(){nr||(nr=!0,w1.then(k1))}function bl(){return y1(),w1}function Co(i){yo.push(i)}function qe(i){ir.push(i)}const Il=new Set;let fo=0;function k1(){if(fo!==0)return;const i=Ro;do{try{for(;fo<bo.length;){const e=bo[fo];fo++,No(e),s0(e.$$)}}catch(e){throw bo.length=0,fo=0,e}for(No(null),bo.length=0,fo=0;Se.length;)Se.pop()();for(let e=0;e<yo.length;e+=1){const t=yo[e];Il.has(t)||(Il.add(t),t())}yo.length=0}while(bo.length);for(;ir.length;)ir.pop()();nr=!1,Il.clear(),No(i)}function s0(i){if(i.fragment!==null){i.update(),ot(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Co)}}function a0(i){const e=[],t=[];yo.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),yo=e}const fl=new Set;let Gn;function he(){Gn={r:0,c:[],p:Gn}}function ve(){Gn.r||ot(Gn.c),Gn=Gn.p}function d(i,e){i&&i.i&&(fl.delete(i),i.i(e))}function g(i,e,t,n){if(i&&i.o){if(fl.has(i))return;fl.add(i),Gn.c.push(()=>{fl.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function xt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function u0(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 c0(i){return typeof i=="object"&&i!==null?i:{}}function We(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function j(i){i&&i.c()}function F(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),Co(()=>{const r=i.$$.on_mount.map(v1).filter(Sn);i.$$.on_destroy?i.$$.on_destroy.push(...r):ot(r),i.$$.on_mount=[]}),o.forEach(Co)}function H(i,e){const t=i.$$;t.fragment!==null&&(a0(t.after_update),ot(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function f0(i,e){i.$$.dirty[0]===-1&&(bo.push(i),y1(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function ye(i,e,t,n,o,r,l,s=[-1]){const a=Ro;No(i);const c=i.$$={fragment:null,ctx:[],props:r,update:W,not_equal:o,bound:Hr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:Hr(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};l&&l(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(m,h,...b)=>{const v=b.length?b[0]:h;return c.ctx&&o(c.ctx[m],c.ctx[m]=v)&&(!c.skip_bound&&c.bound[m]&&c.bound[m](v),f&&f0(i,m)),h}):[],c.update(),f=!0,ot(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const m=l0(e.target);c.fragment&&c.fragment.l(m),m.forEach(P)}else c.fragment&&c.fragment.c();e.intro&&d(i.$$.fragment),F(i,e.target,e.anchor),k1()}No(a)}class ke{constructor(){Ll(this,"$$");Ll(this,"$$set")}$destroy(){H(this,1),this.$destroy=W}$on(e,t){if(!Sn(t))return W;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&&!t0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const d0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(d0);var Po;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(Po||(Po={}));const m0={isMobile:void 0,defaultLanguage:ie.InterfaceLanguage.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:Po.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:ie.VideoQuality.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0,contextMenuButton:!1},controls:{hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,slot:void 0,preview:void 0},interactive:{historyMaxLength:100}},p0=i=>ie.fillWithDefault(i,m0),h0=i=>tr("ui-config",i),gn=()=>fr("ui-config"),or="vk_player_debug_panel_opened",S1=300,v0=100,g0="videoplayer",b0="videoplayer";var Ae;(function(i){i.ArrowLeft="ArrowLeft",i.ArrowUp="ArrowUp",i.ArrowRight="ArrowRight",i.ArrowDown="ArrowDown",i.Comma="Comma",i.Period="Period",i.Space="Space",i.KeyM="KeyM",i.KeyF="KeyF",i.KeyK="KeyK",i.KeyL="KeyL",i.KeyJ="KeyJ",i.KeyC="KeyC",i.KeyI="KeyI",i.Digit1="Digit1",i.Digit2="Digit2",i.Digit3="Digit3",i.Digit4="Digit4",i.Digit5="Digit5",i.Digit6="Digit6",i.Digit7="Digit7",i.Digit8="Digit8",i.Digit9="Digit9",i.Digit0="Digit0",i.Numpad1="Numpad1",i.Numpad2="Numpad2",i.Numpad3="Numpad3",i.Numpad4="Numpad4",i.Numpad5="Numpad5",i.Numpad6="Numpad6",i.Numpad7="Numpad7",i.Numpad8="Numpad8",i.Numpad9="Numpad9",i.Numpad0="Numpad0",i.ShiftLeft="ShiftLeft",i.ShiftRight="ShiftRight",i.Slash="Slash",i.Tab="Tab",i.Escape="Escape",i.Enter="Enter"})(Ae||(Ae={}));const zo={[Ae.KeyF]:"f",[Ae.KeyK]:"k",[Ae.KeyC]:"c",[Ae.KeyM]:"m"},_0=new Set([Ae.ArrowLeft,Ae.ArrowRight,Ae.KeyL,Ae.KeyJ]),w0=new Set([Ae.Tab,Ae.Space,Ae.ArrowLeft,Ae.ArrowRight,Ae.ArrowUp,Ae.ArrowDown]),y0=new Set([Ae.ShiftRight,Ae.ShiftLeft]);var ct;(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"})(ct||(ct={}));const jr=40,C1=260,k0=60,$o=8,P1=[ct.TIMELINE],dl=[...P1,ct.GRAPH_BUTTON],qr=[...P1,ct.PLAY_BUTTON],T1=[...dl,ct.PLAY_BUTTON];var _o;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(_o||(_o={}));exports.GridTypes=void 0;(function(i){i.XS="xs",i.S="s",i.M="m",i.L="l",i.XL="xl"})(exports.GridTypes||(exports.GridTypes={}));const To={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},mo=[];function Tn(i,e){return{subscribe:Be(i,e).subscribe}}function Be(i,e=W){let t;const n=new Set;function o(s){if(we(i,s)&&(i=s,t)){const a=!mo.length;for(const c of n)c[1](),mo.push(c,i);if(a){for(let c=0;c<mo.length;c+=2)mo[c][0](mo[c+1]);mo.length=0}}}function r(s){o(s(i))}function l(s,a=W){const c=[s,a];return n.add(c),n.size===1&&(t=e(o,r)||W),s(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:r,subscribe:l}}function fi(i,e,t){const n=!Array.isArray(i),o=n?[i]:i;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return Tn(t,(l,s)=>{let a=!1;const c=[];let f=0,m=W;const h=()=>{if(f)return;m();const v=e(n?c[0]:c,l,s);r?l(v):m=Sn(v)?v:W},b=o.map((v,y)=>ii(v,_=>{c[y]=_,f&=~(1<<y),a&&h()},()=>{f|=1<<y}));return a=!0,h(),function(){ot(b),m(),a=!1}})}const S0="prod",_l="1.1.35-dev.effe86bb.0",E1=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},A1=Symbol("storeContext"),L1=Symbol("microStoresContext"),C0=(i,e)=>{tr(A1,i),tr(L1,e)},Pt=()=>{const i=fr(A1);return ie.assertNonNullable(i,"Store context is empty!"),i},dr=()=>{const i=fr(L1);return ie.assertNonNullable(i,"MicroStores context is empty!"),i},St=(i,e)=>I1(i,i.getValue(),e),I1=(i,e,t)=>Tn(e,n=>{const o=i.subscribe(r=>{n(r),t==null||t(r)});return()=>o.unsubscribe()}),P0=(i,e,t)=>{var n,o,r,l;const s=i.info,{width:a,height:c}=Xe(t.ui.playerSize),f=(o=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&o!==void 0?o:0,m=(l=(r=s.rttEstimation$.getValue())===null||r===void 0?void 0:r.toFixed(0))!==null&&l!==void 0?l:0,h=s.isAutoQualityEnabled$.getValue()?"auto":"manual",b=`${_l} (core: ${xe.VERSION}, stat: ${kt.VERSION}, shared: ${ie.VERSION})`,v=Xe(t.state.errorLog$),y=v.length?`
7
- `+v.map((k,w)=>{var R;const X=`${w}) Type: ${k.id}
8
- `,V=`Message: ${k.message} (${k.thrown})
9
- `,K=`Trace: ${(R=k.thrown)===null||R===void 0?void 0:R.stack}
10
- `;return X+V+K}).join(`
11
- `):void 0,_=t.state.isAudioDisabled?"disabled":Xe(t.state.isAudioAvailable$)?void 0:"unavailable",S={Version:b,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 @ ${m}ms RTT`,Format:s.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${h} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Audio:_,Position:`${Xe(t.state.positionExact$)}s`,State:`${Xe(t.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:y};return Object.entries(S).filter(([k,w])=>w!==void 0).map(([k,w])=>`${k}: ${w}`).join(`
12
- `)},T0=(i,e,t)=>{const n=i.info,{width:o,height:r}=Xe(t.ui.playerSize),l={version:_l,viewport:`${o}x${r}`,volume:Math.round(Xe(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-Xe(t.state.positionExact$),0));const m=n.throughputEstimation$.getValue();m&&(l.speed=m);const h=n.videoBitrate$.getValue();return h&&(l.bitrate=h),l},E0=(i,e)=>E1(i,e,"mp4"),V1="vk_player_prefer_traffic_saving_enabled",M1="vk_player_preferred_volume",B1="vk_player_prefer_volume_mute",mr="vk_player_preferred_quality",N1=i=>i>1?1:i<0?0:i,Wr=i=>ie.safeStorage.set(M1,N1(i).toString(10)),R1=()=>{const i=ie.safeStorage.get(M1);return ie.isNullable(i)?void 0:N1(parseFloat(i))},A0=(i,e)=>ie.safeStorage.set(mr,JSON.stringify({videoId:i,value:e})),O1=()=>ie.safeStorage.remove(mr),L0=i=>{const e=ie.safeStorage.get(mr);if(ie.isNullable(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){O1();return}return n},D1=(i,e)=>{e?ie.safeStorage.set(i,"true"):ie.safeStorage.remove(i)},z1=i=>ie.safeStorage.get(i)==="true",Vl=i=>D1(B1,i),I0=()=>z1(B1),V0=i=>D1(V1,i),M0=()=>z1(V1);function B0(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),l=B("path"),s=B("path"),a=B("defs"),c=B("filter"),f=B("feFlood"),m=B("feColorMatrix"),h=B("feOffset"),b=B("feGaussianBlur"),v=B("feColorMatrix"),y=B("feBlend"),_=B("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(o,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(o,"fill","#fff"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(r,"fill","#fff"),u(l,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(l,"fill","#fff"),u(s,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(s,"stroke-linecap","round"),u(s,"stroke-linejoin","round"),u(t,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(m,"in","SourceAlpha"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(m,"result","hardAlpha"),u(b,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(y,"in2","BackgroundImageFix"),u(y,"result","effect1_dropShadow_618_12297"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_618_12297"),u(_,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",S=!i[0]||null),u(e,"aria-label",k=i[0]||null)},m(w,R){E(w,e,R),p(e,t),p(t,n),p(t,o),p(t,r),p(t,l),p(t,s),p(e,a),p(a,c),p(c,f),p(c,m),p(c,h),p(c,b),p(c,v),p(c,y),p(c,_)},p(w,[R]){R&1&&S!==(S=!w[0]||null)&&u(e,"aria-hidden",S),R&1&&k!==(k=w[0]||null)&&u(e,"aria-label",k)},i:W,o:W,d(w){w&&P(e)}}}function N0(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class F1 extends ke{constructor(e){super(),ye(this,e,N0,B0,we,{ariaLabel:0})}}var Ml=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function R0(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var el=function(i){return i&&i.Math==Math&&i},jn=el(typeof globalThis=="object"&&globalThis)||el(typeof window=="object"&&window)||el(typeof self=="object"&&self)||el(typeof Ml=="object"&&Ml)||function(){return this}()||Ml||Function("return this")(),Qn=function(i){try{return!!i()}catch(e){return!0}},O0=Qn,wl=!O0(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")}),D0=wl,H1=Function.prototype,Zr=H1.apply,Gr=H1.call,z0=typeof Reflect=="object"&&Reflect.apply||(D0?Gr.bind(Zr):function(){return Gr.apply(Zr,arguments)}),U1=wl,j1=Function.prototype,lr=j1.call,F0=U1&&j1.bind.bind(lr,lr),qn=U1?F0:function(i){return function(){return lr.apply(i,arguments)}},q1=qn,H0=q1({}.toString),U0=q1("".slice),yl=function(i){return U0(H0(i),8,-1)},j0=yl,q0=qn,W1=function(i){if(j0(i)==="Function")return q0(i)},rr=typeof document=="object"&&document.all,W0=typeof rr=="undefined"&&rr!==void 0,Z1={all:rr,IS_HTMLDDA:W0},G1=Z1,Z0=G1.all,On=G1.IS_HTMLDDA?function(i){return typeof i=="function"||i===Z0}:function(i){return typeof i=="function"},K1={},G0=Qn,Fo=!G0(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),K0=wl,tl=Function.prototype.call,Ho=K0?tl.bind(tl):function(){return tl.apply(tl,arguments)},Y1={},Q1={}.propertyIsEnumerable,X1=Object.getOwnPropertyDescriptor,Y0=X1&&!Q1.call({1:2},1);Y1.f=Y0?function(e){var t=X1(this,e);return!!t&&t.enumerable}:Q1;var J1=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}},Q0=qn,X0=Qn,J0=yl,Bl=Object,x0=Q0("".split),$0=X0(function(){return!Bl("z").propertyIsEnumerable(0)})?function(i){return J0(i)=="String"?x0(i,""):Bl(i)}:Bl,pr=function(i){return i==null},ed=pr,td=TypeError,hr=function(i){if(ed(i))throw td("Can't call method on "+i);return i},id=$0,nd=hr,od=function(i){return id(nd(i))},Kr=On,x1=Z1,ld=x1.all,Uo=x1.IS_HTMLDDA?function(i){return typeof i=="object"?i!==null:Kr(i)||i===ld}:function(i){return typeof i=="object"?i!==null:Kr(i)},$1={},Nl=$1,Rl=jn,rd=On,Yr=function(i){return rd(i)?i:void 0},ec=function(i,e){return arguments.length<2?Yr(Nl[i])||Yr(Rl[i]):Nl[i]&&Nl[i][e]||Rl[i]&&Rl[i][e]},sd=qn,tc=sd({}.isPrototypeOf),ad=typeof navigator!="undefined"&&String(navigator.userAgent)||"",ic=jn,Ol=ad,Qr=ic.process,Xr=ic.Deno,Jr=Qr&&Qr.versions||Xr&&Xr.version,xr=Jr&&Jr.v8,kn,pl;xr&&(kn=xr.split("."),pl=kn[0]>0&&kn[0]<4?1:+(kn[0]+kn[1]));!pl&&Ol&&(kn=Ol.match(/Edge\/(\d+)/),(!kn||kn[1]>=74)&&(kn=Ol.match(/Chrome\/(\d+)/),kn&&(pl=+kn[1])));var ud=pl,$r=ud,cd=Qn,fd=jn,dd=fd.String,nc=!!Object.getOwnPropertySymbols&&!cd(function(){var i=Symbol();return!dd(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&$r&&$r<41}),md=nc,oc=md&&!Symbol.sham&&typeof Symbol.iterator=="symbol",pd=ec,hd=On,vd=tc,gd=oc,bd=Object,lc=gd?function(i){return typeof i=="symbol"}:function(i){var e=pd("Symbol");return hd(e)&&vd(e.prototype,bd(i))},_d=String,wd=function(i){try{return _d(i)}catch(e){return"Object"}},yd=On,kd=wd,Sd=TypeError,rc=function(i){if(yd(i))return i;throw Sd(kd(i)+" is not a function")},Cd=rc,Pd=pr,sc=function(i,e){var t=i[e];return Pd(t)?void 0:Cd(t)},Dl=Ho,zl=On,Fl=Uo,Td=TypeError,Ed=function(i,e){var t,n;if(e==="string"&&zl(t=i.toString)&&!Fl(n=Dl(t,i))||zl(t=i.valueOf)&&!Fl(n=Dl(t,i))||e!=="string"&&zl(t=i.toString)&&!Fl(n=Dl(t,i)))return n;throw Td("Can't convert object to primitive value")},ac={exports:{}},es=jn,Ad=Object.defineProperty,Ld=function(i,e){try{Ad(es,i,{value:e,configurable:!0,writable:!0})}catch(t){es[i]=e}return e},Id=jn,Vd=Ld,ts="__core-js_shared__",Md=Id[ts]||Vd(ts,{}),Bd=Md,is=Bd;(ac.exports=function(i,e){return is[i]||(is[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 Nd=ac.exports,Rd=hr,Od=Object,uc=function(i){return Od(Rd(i))},Dd=qn,zd=uc,Fd=Dd({}.hasOwnProperty),kl=Object.hasOwn||function(e,t){return Fd(zd(e),t)},Hd=qn,Ud=0,jd=Math.random(),qd=Hd(1 .toString),Wd=function(i){return"Symbol("+(i===void 0?"":i)+")_"+qd(++Ud+jd,36)},Zd=jn,Gd=Nd,ns=kl,Kd=Wd,Yd=nc,Qd=oc,wo=Zd.Symbol,Hl=Gd("wks"),Xd=Qd?wo.for||wo:wo&&wo.withoutSetter||Kd,jo=function(i){return ns(Hl,i)||(Hl[i]=Yd&&ns(wo,i)?wo[i]:Xd("Symbol."+i)),Hl[i]},Jd=Ho,os=Uo,ls=lc,xd=sc,$d=Ed,e2=jo,t2=TypeError,i2=e2("toPrimitive"),n2=function(i,e){if(!os(i)||ls(i))return i;var t=xd(i,i2),n;if(t){if(e===void 0&&(e="default"),n=Jd(t,i,e),!os(n)||ls(n))return n;throw t2("Can't convert object to primitive value")}return e===void 0&&(e="number"),$d(i,e)},o2=n2,l2=lc,cc=function(i){var e=o2(i,"string");return l2(e)?e:e+""},r2=jn,rs=Uo,sr=r2.document,s2=rs(sr)&&rs(sr.createElement),a2=function(i){return s2?sr.createElement(i):{}},u2=Fo,c2=Qn,f2=a2,fc=!u2&&!c2(function(){return Object.defineProperty(f2("div"),"a",{get:function(){return 7}}).a!=7}),d2=Fo,m2=Ho,p2=Y1,h2=J1,v2=od,g2=cc,b2=kl,_2=fc,ss=Object.getOwnPropertyDescriptor;K1.f=d2?ss:function(e,t){if(e=v2(e),t=g2(t),_2)try{return ss(e,t)}catch(n){}if(b2(e,t))return h2(!m2(p2.f,e,t),e[t])};var w2=Qn,y2=On,k2=/#|\.prototype\./,qo=function(i,e){var t=C2[S2(i)];return t==T2?!0:t==P2?!1:y2(e)?w2(e):!!e},S2=qo.normalize=function(i){return String(i).replace(k2,".").toLowerCase()},C2=qo.data={},P2=qo.NATIVE="N",T2=qo.POLYFILL="P",E2=qo,as=W1,A2=rc,L2=wl,I2=as(as.bind),V2=function(i,e){return A2(i),e===void 0?i:L2?I2(i,e):function(){return i.apply(e,arguments)}},dc={},M2=Fo,B2=Qn,N2=M2&&B2(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),R2=Uo,O2=String,D2=TypeError,mc=function(i){if(R2(i))return i;throw D2(O2(i)+" is not an object")},z2=Fo,F2=fc,H2=N2,il=mc,us=cc,U2=TypeError,Ul=Object.defineProperty,j2=Object.getOwnPropertyDescriptor,jl="enumerable",ql="configurable",Wl="writable";dc.f=z2?H2?function(e,t,n){if(il(e),t=us(t),il(n),typeof e=="function"&&t==="prototype"&&"value"in n&&Wl in n&&!n[Wl]){var o=j2(e,t);o&&o[Wl]&&(e[t]=n.value,n={configurable:ql in n?n[ql]:o[ql],enumerable:jl in n?n[jl]:o[jl],writable:!1})}return Ul(e,t,n)}:Ul:function(e,t,n){if(il(e),t=us(t),il(n),F2)try{return Ul(e,t,n)}catch(o){}if("get"in n||"set"in n)throw U2("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var q2=Fo,W2=dc,Z2=J1,G2=q2?function(i,e,t){return W2.f(i,e,Z2(1,t))}:function(i,e,t){return i[e]=t,i},nl=jn,K2=z0,Y2=W1,Q2=On,X2=K1.f,J2=E2,po=$1,x2=V2,ho=G2,cs=kl,$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 K2(i,this,arguments)};return e.prototype=i.prototype,e},em=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?po:po[t]||ho(po,t,{})[t],a=s.prototype,c,f,m,h,b,v,y,_,S;for(h in e)c=J2(n?h:t+(o?".":"#")+h,i.forced),f=!c&&l&&cs(l,h),v=s[h],f&&(i.dontCallGetSet?(S=X2(l,h),y=S&&S.value):y=l[h]),b=f&&y?y:e[h],!(f&&typeof v==typeof b)&&(i.bind&&f?_=x2(b,nl):i.wrap&&f?_=$2(b):r&&Q2(b)?_=Y2(b):_=b,(i.sham||b&&b.sham||v&&v.sham)&&ho(_,"sham",!0),ho(s,h,_),r&&(m=t+"Prototype",cs(po,m)||ho(po,m,{}),ho(po[m],h,b),i.real&&a&&(c||!a[h])&&ho(a,h,b)))},tm=Uo,im=yl,nm=jo,om=nm("match"),lm=function(i){var e;return tm(i)&&((e=i[om])!==void 0?!!e:im(i)=="RegExp")},rm=jo,sm=rm("toStringTag"),pc={};pc[sm]="z";var am=String(pc)==="[object z]",um=am,cm=On,ml=yl,fm=jo,dm=fm("toStringTag"),mm=Object,pm=ml(function(){return arguments}())=="Arguments",hm=function(i,e){try{return i[e]}catch(t){}},vm=um?ml:function(i){var e,t,n;return i===void 0?"Undefined":i===null?"Null":typeof(t=hm(e=mm(i),dm))=="string"?t:pm?ml(e):(n=ml(e))=="Object"&&cm(e.callee)?"Arguments":n},gm=vm,bm=String,_m=function(i){if(gm(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return bm(i)},wm=mc,ym=function(){var i=wm(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},km=Ho,Sm=kl,Cm=tc,Pm=ym,fs=RegExp.prototype,Tm=function(i){var e=i.flags;return e===void 0&&!("flags"in fs)&&!Sm(i,"flags")&&Cm(fs,i)?km(Pm,i):e},vr=qn,Em=uc,Am=Math.floor,Zl=vr("".charAt),Lm=vr("".replace),Gl=vr("".slice),Im=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Vm=/\$([$&'`]|\d{1,2})/g,Mm=function(i,e,t,n,o,r){var l=t+i.length,s=n.length,a=Vm;return o!==void 0&&(o=Em(o),a=Im),Lm(r,a,function(c,f){var m;switch(Zl(f,0)){case"$":return"$";case"&":return i;case"`":return Gl(e,0,t);case"'":return Gl(e,l);case"<":m=o[Gl(f,1,-1)];break;default:var h=+f;if(h===0)return c;if(h>s){var b=Am(h/10);return b===0?c:b<=s?n[b-1]===void 0?Zl(f,1):n[b-1]+Zl(f,1):c}m=n[h-1]}return m===void 0?"":m})},Bm=em,Nm=Ho,gr=qn,ds=hr,Rm=On,Om=pr,Dm=lm,vo=_m,zm=sc,Fm=Tm,Hm=Mm,Um=jo,jm=Um("replace"),qm=TypeError,hc=gr("".indexOf),Wm=gr("".replace),ms=gr("".slice),Zm=Math.max,ps=function(i,e,t){return t>i.length?-1:e===""?t:hc(i,e,t)};Bm({target:"String",proto:!0},{replaceAll:function(e,t){var n=ds(this),o,r,l,s,a,c,f,m,h,b=0,v=0,y="";if(!Om(e)){if(o=Dm(e),o&&(r=vo(ds(Fm(e))),!~hc(r,"g")))throw qm("`.replaceAll` does not allow non-global regexes");if(l=zm(e,jm),l)return Nm(l,e,n,t);if(o)return Wm(vo(n),e,t)}for(s=vo(n),a=vo(e),c=Rm(t),c||(t=vo(t)),f=a.length,m=Zm(1,f),b=ps(s,a,0);b!==-1;)h=c?vo(t(a,b,s)):Hm(a,s,b,[],void 0,t),y+=ms(s,v,b)+h,v=b+f,b=ps(s,a,b+m);return v<s.length&&(y+=ms(s,v)),y}});var Gm=ec,Km=Gm,Ym=Km,Qm=Ym("String","replaceAll"),Xm=Qm,Jm=Xm,xm=Jm,$m=xm,e4=R0($m);const t4={auto_quality_invariant:"\u0410\u0432\u0442\u043E",auto_quality:"\u0410\u0432\u0442\u043E ({actual})",auto_quality_option:"\u0410\u0432\u0442\u043E",menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",menu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",menu_report:"\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435",menu_pip:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",menu_copy_video_link:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E",menu_copy_video_link_with_timestamp:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043A\u0430\u0434\u0440",menu_video_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C",menu_chromecast:"Chromecast \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F",menu_copy_debug:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_save_debug:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",pip_dummy_title:"\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",submenu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",submenu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",submenu_settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",submenu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",mobile_unmute:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",playing_ads:"\u0420\u0435\u043A\u043B\u0430\u043C\u0430 {timeleft}",skip_ads_now:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",skip_ads_after:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u0447\u0435\u0440\u0435\u0437 {time}\u0441",visit_advertiser:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442",aria_timeline:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B",aria_timeline_value:"{position} (\u043E\u0431\u0449\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C {duration}",aria_open_settings:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0438\u0434\u0435\u043E\u043F\u043B\u0435\u0435\u0440\u0430",doubletap_seek_step:"{seconds} \u0441\u0435\u043A\u0443\u043D\u0434",playback_rate_1:"\u041E\u0431\u044B\u0447\u043D\u0430\u044F",playback_rate:"{multiplier}x",video360:"\u043F\u0430\u043D\u043E\u0440\u0430\u043C\u043D\u043E\u0435 \u0432\u0438\u0434\u0435\u043E",subtitles_caption:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_auto:"{language} (\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435)",subtitles_off:"\u0412\u044B\u043A\u043B.",subtitles_auto_caption:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",traffic_saving_off:"\u041E\u0442\u043A\u043B.",traffic_saving_on:"\u0412\u043A\u043B.",traffic_saving_disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_enable:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_helper_text:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u0432\u0438\u0434\u0435\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u0438\u0436\u0435\u043D\u043E \u0434\u043B\u044F \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043A\u0430",tooltip_button_disabled:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_previous:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_restart:"\u041D\u0430\u0447\u0430\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E",tooltip_play:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",tooltip_pause:"\u041F\u0430\u0443\u0437\u0430",tooltip_next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_interactive_go_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0433\u043B\u0430\u0432\u0435",tooltip_interactive_go_back_disabled:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_interactive_go_back_disabled_first:"\u0412\u044B \u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043F\u0435\u0440\u0432\u0443\u044E \u0433\u043B\u0430\u0432\u0443",tooltip_interactive_go_back_disabled_limit:"\u041B\u0438\u043C\u0438\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u0432 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",tooltip_chapter_without_interactive:"\u0412 \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u0435 \u043D\u0435\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_interactive_of_chapter_completed:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u044B \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u044B \u0443\u0436\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u044B",tooltip_interactive_seek:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0443",tooltip_interactive_graph_off:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_interactive_graph_on:"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_live:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u043D\u0430 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043B\u0430\u0439\u0432",tooltip_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",tooltip_volume:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_volume_muted:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_subtitles_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_subtitles_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_settings_off:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_settings_on:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_fullscreen_off:"\u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D",tooltip_fullscreen_on:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",tooltip_chromecast_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_chromecast_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_episode_finished:"\u0412\u044B \u0443\u0436\u0435 \u0441\u0434\u0435\u043B\u0430\u043B\u0438 \u0441\u0432\u043E\u0439 \u0432\u044B\u0431\u043E\u0440",tooltip_episode_unfinished:"\u041D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043E",tooltip_disabled_when_interactive:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432 \u0443\u0436\u0435 \u0438\u0434\u0451\u0442",tooltip_disabled_when_graph_on:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043A\u0430\u0440\u0442\u044B",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",aria_label_spherical_control:"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440 \u0434\u043B\u044F \u0441\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0438\u0434\u0435\u043E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438 \u0434\u043B\u044F \u043F\u0430\u043D\u043E\u0440\u0430\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E.",aria_label_debug_panel:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0441 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439, \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0441\u043A\u0440\u0438\u043D\u0448\u043E\u0442 \u0434\u043B\u044F \u0442\u0435\u0445\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438",aria_label_new_tab_alert:"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435.",aria_label_context_menu_open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_context_menu_close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_menu_quality:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0430. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E {actual}",aria_label_menu_rate:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u0438. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C {actual}",aria_label_menu_traffic_saving:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0443 \u0440\u0435\u0436\u0438\u043C\u0430 \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 {actual}",aria_label_menu_subtitle:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043E\u0432. \u0422\u0435\u043A\u0443\u0449\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B {actual}",aria_label_menu_download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",aria_label_menu_debug_overlay_enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_debug_overlay_disable:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432",aria_label_submenu_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A",aria_label_submenu_quality_select_quality:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E {quality}",aria_label_submenu_rate_select_rate:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C {rate}",aria_label_submenu_traffic_saving_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_traffic_saving_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_subtitle_select_subtitle:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B {subtitle}"},i4={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_save_debug:"Save debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_restart:"Watch again",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_go_back:"Back to previous chapter",tooltip_interactive_go_back_disabled:"Interactive history unavailable",tooltip_interactive_go_back_disabled_first:"You're watching the first chapter",tooltip_interactive_go_back_disabled_limit:"Go-back limit exceeded",tooltip_chapter_without_interactive:"This chapter has no interactive segment",tooltip_interactive_of_chapter_completed:"Chapter's interactive segments already watched",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Interactive video in progress",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon",aria_label_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_debug_panel:"Technical information area, take a screenshot for technical support",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_context_menu_open:"Open context menu",aria_label_context_menu_close:"Close context menu",aria_label_menu_quality:"Open the quality selection menu. Current quality {actual}",aria_label_menu_rate:"Open the speed selection menu. Current rate {actual}",aria_label_menu_traffic_saving:"Open the data saving mode setting. Current state {actual}",aria_label_menu_subtitle:"Open the subtitle selection menu. Current subtitles {actual}",aria_label_menu_download:"Download video",aria_label_menu_debug_overlay_enable:"Enable display of technical information",aria_label_menu_debug_overlay_disable:"Disable display of technical information",aria_label_menu_rotate:"Rotate video 90 degrees",aria_label_submenu_back:"Return to settings menu",aria_label_submenu_quality_select_quality:"Select quality {quality}",aria_label_submenu_rate_select_rate:"Select rate {rate}",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode",aria_label_submenu_subtitle_select_subtitle:"Select subtitles {subtitle}"},Ln=new Map;Ln.set(ie.InterfaceLanguage.EN,i4);Ln.set(ie.InterfaceLanguage.RU,t4);const vc=new Map,hs=({language:i,pack:e,fallback:t})=>{if(Ln.has(i)){const n=Ln.get(i);Ln.set(i,Object.assign(Object.assign({},n),e))}else Ln.set(i,e);vc.set(i,t)},vs=i=>Ln.has(i),gc=(i,e,t,n)=>{var o;const r=Ln.get(i);let l=r==null?void 0:r[e];if(ie.isNullable(l)){const s=(o=vc.get(i))!==null&&o!==void 0?o:n,a=s?Ln.get(s):void 0;l=a==null?void 0:a[e]}return ie.isNullable(l)?e+Object.values(t!=null?t:{}).join(" "):t?e4(l,/{(\w+?)}/g,(s,a)=>{var c;return(c=t[a])!==null&&c!==void 0?c:""}):l},G=(i,e)=>{const{interfaceLanguage$:t}=Pt(),n=Xe(t),o=gn();return gc(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 n4=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,o4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,l4=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ol="?",r4="X-Sentry-Auth",s4=/^(?:(\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 r=0;r<t.length;++r){if(n=n4.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=l4.exec(t[r]))o={filename:n[2],function:n[1]||ol,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=o4.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:bc(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function bc(i){return(i&&i.message||"No error message").split(`
14
- `).filter(t=>!!t)[0]}function u4(i){try{const e=a4(i);if(e)return e}catch(e){}return{value:bc(i),type:i&&i.name,stacktrace:{frames:[]}}}function c4(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class f4{constructor(e){if(e&&e.dsn){const t=s4.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 co(fn({},this.getRequestBlank()),{exception:{values:[u4(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(r4,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:c4(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function gs(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function d4(){return window}class br extends f4{constructor(e,t=d4()){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",fn({},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",fn({},e)),this}setUser(e){return this.setKeyState("user",fn({},e)),this}clone(){const e=new br(co(fn({},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:[fn({timestamp:Date.now()/1e3},this.beforeBreadcrumb(e))]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send(co(fn({},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=>gs(t,n))):!1}getRequestBlank(){return fn(co(fn({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(fn({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=>gs(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 co(fn({},t),{[n]:r||s?[...r||[],...s||[]]:fn(fn({},typeof o!="string"?o:{}),typeof l!="string"?l:{})})},this._state)}setKeyState(e,t){this._state[e]=t}}let ll=null;class ar{constructor(e,t,n={}){!ll&&e.dsn&&(this.sentryClient=new br({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new ie.Subscription,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:m}=l,{errorType:h,category:b}=t;if(ie.isNonNullable(b)&&m.includes(b)||ie.isNonNullable(h)&&f.includes(h))return;if(Math.random()<=s||ie.isNonNullable(b)&&c.includes(b)||ie.isNonNullable(h)&&a.includes(h)){Object.keys(t).length&&o.setTags(Object.assign({version:this.version},t)),(Object.keys(r).length||Object.keys(n).length)&&o.setExtras(Object.assign(Object.assign({},r),n));try{h&&o.captureMessage(h,t.fatal?hl.fatal:hl.error),o.report(e)}catch(y){console.error(y)}}}static getInstance(){return ll}}var ko;(function(i){i.AUTO="auto"})(ko||(ko={}));var De;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(De||(De={}));var An;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(An||(An={}));var ni;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(ni||(ni={}));var In;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(In||(In={}));var Ye;(function(i){i.PLAY="PLAY",i.PAUSE="PAUSE",i.REPLAY="REPLAY",i.BACKWARD_SEEK="BACKWARD_SEEK",i.FORWARD_SEEK="FORWARD_SEEK",i.SUBTITLES_ON="SUBTITLES_ON",i.SUBTITLES_OFF="SUBTITLES_OFF",i.RATE_UP="RATE_UP",i.RATE_DOWN="RATE_DOWN",i.EPISODE_PREV="EPISODE_PREV",i.EPISODE_NEXT="EPISODE_NEXT",i.MUTE="MUTE",i.VOLUME="VOLUME"})(Ye||(Ye={}));var Kn;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(Kn||(Kn={}));const _c=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()},wc=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()},Oo=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},yc=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},kc=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},p4=i=>{const e=window.screen;return(o=>ki(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))},h4=()=>({title:G("hotkey_map_modal_title"),closeBtnText:G("hotkey_map_modal_close_btn_text"),groups:[{title:G("hotkey_map_group_title_common"),items:[{description:G("hotkey_map_item_mute_description"),value:G("hotkey_map_item_mute_value")},{description:G("hotkey_map_item_volume_up_description"),value:G("hotkey_map_item_volume_up_value")},{description:G("hotkey_map_item_volume_down_description"),value:G("hotkey_map_item_volume_down_value")},{description:G("hotkey_map_item_pip_description"),value:G("hotkey_map_item_pip_value")},{description:G("hotkey_map_item_full_screen_description"),value:G("hotkey_map_item_full_screen_value")},{description:G("hotkey_map_item_show_hotkey_map_description"),value:G("hotkey_map_item_show_hotkey_map_value")}]},{title:G("hotkey_map_group_title_playback"),items:[{description:G("hotkey_map_item_play_toggle_description"),value:G("hotkey_map_item_play_toggle_value")},{description:G("hotkey_map_item_seek_backward_description"),value:G("hotkey_map_item_seek_backward_value")},{description:G("hotkey_map_item_seek_forward_description"),value:G("hotkey_map_item_seek_forward_value")},{description:G("hotkey_map_item_fast_seek_backward_description"),value:G("hotkey_map_item_fast_seek_backward_value")},{description:G("hotkey_map_item_fast_seek_forward_description"),value:G("hotkey_map_item_fast_seek_forward_value")},{description:G("hotkey_map_item_rate_down_description"),value:G("hotkey_map_item_rate_down_value")},{description:G("hotkey_map_item_rate_up_description"),value:G("hotkey_map_item_rate_up_value")},{description:G("hotkey_map_item_prev_frame_description"),value:G("hotkey_map_item_prev_frame_value")},{description:G("hotkey_map_item_next_frame_description"),value:G("hotkey_map_item_next_frame_value")},{description:G("hotkey_map_item_jump_seek_description"),value:G("hotkey_map_item_jump_seek_value")}]},{title:G("hotkey_map_group_title_subtitles"),items:[{description:G("hotkey_map_item_subtitles_toggle_description"),value:G("hotkey_map_item_subtitles_toggle_value")}]},{title:G("hotkey_map_group_title_episodes"),items:[{description:G("hotkey_map_item_prev_episode_description"),value:ie.isMacLike()?G("hotkey_map_item_prev_episode_mac_value"):G("hotkey_map_item_prev_episode_pc_value")},{description:G("hotkey_map_item_next_episode_description"),value:ie.isMacLike()?G("hotkey_map_item_next_episode_mac_value"):G("hotkey_map_item_next_episode_pc_value")}]}]});class _r{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:ie.debounceFn(this.onResize.bind(this),S1)},this.info={isActive$:new ie.ValueSubject(this.isActive()),type:In.PictureInPicture}}isSupported(){const e=ie.getCurrentBrowser().browser===ie.CurrentClientBrowser.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}revealPictureInPicture(){return ki(this,void 0,void 0,function*(){this.isRequested&&(this.unregistryEventHandlers(),yield this.request(),this.registryEventHandlers())})}request(){var e;return ki(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 ki(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 ki(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 vl(i){return i instanceof _r}function v4(i){const e=Pt();return vn(()=>{e.getAdmanWrapper().startPostroll()}),[]}class g4 extends ke{constructor(e){super(),ye(this,e,v4,null,we,{})}}function b4(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 _4(i){let e=G("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=Fe(e)},m(n,o){E(n,t,o)},p(n,o){o&3&&e!==(e=G("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&$e(t,e)},d(n){n&&P(t)}}}function w4(i){let e,t=G("skip_ads_now")+"",n,o,r,l,s,a;return{c(){e=T("div"),n=Fe(t),o=N(),r=B("svg"),l=B("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(r,"class","icon v-22jj8o"),u(r,"width","7"),u(r,"height","12"),u(r,"viewBox","0 0 7 12"),u(r,"fill","none"),u(r,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){E(c,e,f),p(e,n),p(e,o),p(e,r),p(r,l),s||(a=_e(e,"click",lt(function(){Sn(i[2])&&i[2].apply(this,arguments)})),s=!0)},p(c,f){i=c},d(c){c&&P(e),s=!1,a()}}}function y4(i){let e;function t(r,l){return r[3]?w4:_4}let n=t(i),o=n(i);return{c(){e=T("div"),o.c(),u(e,"class","container v-22jj8o"),M(e,"container-mobile",i[4]),M(e,"skippable",i[3])},m(r,l){E(r,e,l),o.m(e,null)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e,null))),l&16&&M(e,"container-mobile",r[4]),l&8&&M(e,"skippable",r[3])},i:W,o:W,d(r){r&&P(e),o.d()}}}function k4(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:r=0}=e,{skipAd:l=ie.noop}=e;const a=Pt().ui.isMobile;z(i,a,f=>t(4,n=f));let c;return i.$$set=f=>{"position"in f&&t(0,o=f.position),"secondsToWatchBeforeSkip"in f&&t(1,r=f.secondsToWatchBeforeSkip),"skipAd"in f&&t(2,l=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=o>0&&o>=r)},[o,r,l,c,n,a]}class S4 extends ke{constructor(e){super(),ye(this,e,k4,y4,we,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},b4)}}function C4(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 P4(i){let e;return{c(){e=T("button"),e.textContent=`${G("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){E(t,e,n)},p:W,i:W,o:W,d(t){t&&P(e)}}}class T4 extends ke{constructor(e){super(),ye(this,e,null,P4,we,{},C4)}}function E4(i){je(i,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
6
+ "use strict";var c0=Object.create;var Nl=Object.defineProperty,f0=Object.defineProperties,d0=Object.getOwnPropertyDescriptor,m0=Object.getOwnPropertyDescriptors,p0=Object.getOwnPropertyNames,qr=Object.getOwnPropertySymbols,h0=Object.getPrototypeOf,jr=Object.prototype.hasOwnProperty,v0=Object.prototype.propertyIsEnumerable;var Bl=(t,e,i)=>e in t?Nl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,mn=(t,e)=>{for(var i in e||(e={}))jr.call(e,i)&&Bl(t,i,e[i]);if(qr)for(var i of qr(e))v0.call(e,i)&&Bl(t,i,e[i]);return t},yo=(t,e)=>f0(t,m0(e));var g0=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of p0(e))!jr.call(t,l)&&l!==i&&Nl(t,l,{get:()=>e[l],enumerable:!(n=d0(e,l))||n.enumerable});return t};var Zr=(t,e,i)=>(i=t!=null?c0(h0(t)):{},g0(e||!t||!t.__esModule?Nl(i,"default",{value:t,enumerable:!0}):i,t));var Rl=(t,e,i)=>(Bl(t,typeof e!="symbol"?e+"":e,i),i);var Ji=(t,e,i)=>new Promise((n,l)=>{var r=a=>{try{s(i.next(a))}catch(c){l(c)}},o=a=>{try{s(i.throw(a))}catch(c){l(c)}},s=a=>a.done?n(a.value):Promise.resolve(a.value).then(r,o);s((i=i.apply(t,e)).next())});var et=require("@vkontakte/videoplayer-core/es2015.cjs.js"),ie=require("@vkontakte/videoplayer-shared/es2015.cjs.js"),Pt=require("@vkontakte/videoplayer-statistics/es2015.cjs.js");require("@vkontakte/videoplayer-interactive/es2015.cjs.js");function ni(t,e,i,n){function l(r){return r instanceof i?r:new i(function(o){o(r)})}return new(i||(i=Promise))(function(r,o){function s(f){try{c(n.next(f))}catch(d){o(d)}}function a(f){try{c(n.throw(f))}catch(d){o(d)}}function c(f){f.done?r(f.value):l(f.value).then(s,a)}c((n=n.apply(t,e||[])).next())})}function W(){}function Tu(t,e){for(const i in e)t[i]=e[i];return t}function Pu(t){return t()}function Kr(){return Object.create(null)}function ut(t){t.forEach(Pu)}function Vn(t){return typeof t=="function"}function be(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let rl;function Wr(t,e){return rl||(rl=document.createElement("a")),rl.href=e,t===rl.href}function b0(t){return Object.keys(t).length===0}function ei(t,...e){if(t==null){for(const n of e)n(void 0);return W}const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function xe(t){let e;return ei(t,i=>e=i)(),e}function z(t,e,i){t.$$.on_destroy.push(ei(e,i))}function qn(t,e,i,n){if(t){const l=Eu(t,e,i,n);return t[0](l)}}function Eu(t,e,i,n){return t[1]&&n?Tu(i.ctx.slice(),t[1](n(e))):i.ctx}function jn(t,e,i,n){if(t[2]&&n){const l=t[2](n(i));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],o=Math.max(e.dirty.length,l.length);for(let s=0;s<o;s+=1)r[s]=e.dirty[s]|l[s];return r}return e.dirty|l}return e.dirty}function Zn(t,e,i,n,l,r){if(l){const o=Eu(e,i,n,r);t.p(o,l)}}function Kn(t){if(t.ctx.length>32){const e=[],i=t.ctx.length/32;for(let n=0;n<i;n++)e[n]=-1;return e}return-1}function _0(t){return t==null?"":t}const Iu=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(t,e){t.appendChild(e)}function Ke(t,e,i){const n=w0(t);if(!n.getElementById(e)){const l=P("style");l.id=e,l.textContent=i,k0(n,l)}}function w0(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function k0(t,e){return p(t.head||t,e),e.sheet}function T(t,e,i){t.insertBefore(e,i||null)}function S(t){t.parentNode&&t.parentNode.removeChild(t)}function Mn(t,e){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(e)}function P(t){return document.createElement(t)}function D(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function De(t){return document.createTextNode(t)}function H(){return De(" ")}function bt(){return De("")}function he(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function ii(t){return function(e){return e.preventDefault(),t.call(this,e)}}function ct(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function u(t,e,i){i==null?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function y0(t){return Array.from(t.childNodes)}function $e(t,e){e=""+e,t.data!==e&&(t.data=e)}function Ht(t,e,i,n){i==null?t.style.removeProperty(e):t.style.setProperty(e,i,n?"important":"")}let sl;function C0(){if(sl===void 0){sl=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(t){sl=!0}}return sl}function gr(t,e){getComputedStyle(t).position==="static"&&(t.style.position="relative");const n=P("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const l=C0();let r;return l?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=he(window,"message",o=>{o.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{r=he(n.contentWindow,"resize",e),e()}),p(t,n),()=>{(l||r&&n.contentWindow)&&r(),S(n)}}function R(t,e,i){t.classList.toggle(e,!!i)}function Dn(t,e){return new t(e)}let Zo;function qo(t){Zo=t}function Wo(){if(!Zo)throw new Error("Function called outside component initialization");return Zo}function pn(t){Wo().$$.on_mount.push(t)}function Go(t){Wo().$$.on_destroy.push(t)}function sr(t,e){return Wo().$$.context.set(t,e),e}function br(t){return Wo().$$.context.get(t)}function Au(){return Wo().$$.context}function co(t,e){const i=t.$$.callbacks[e.type];i&&i.slice().forEach(n=>n.call(this,e))}const Ao=[],Se=[];let Mo=[];const ar=[],Lu=Promise.resolve();let ur=!1;function Vu(){ur||(ur=!0,Lu.then(Mu))}function $n(){return Vu(),Lu}function No(t){Mo.push(t)}function je(t){ar.push(t)}const Ol=new Set;let Co=0;function Mu(){if(Co!==0)return;const t=Zo;do{try{for(;Co<Ao.length;){const e=Ao[Co];Co++,qo(e),S0(e.$$)}}catch(e){throw Ao.length=0,Co=0,e}for(qo(null),Ao.length=0,Co=0;Se.length;)Se.pop()();for(let e=0;e<Mo.length;e+=1){const i=Mo[e];Ol.has(i)||(Ol.add(i),i())}Mo.length=0}while(Ao.length);for(;ar.length;)ar.pop()();ur=!1,Ol.clear(),qo(t)}function S0(t){if(t.fragment!==null){t.update(),ut(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(No)}}function T0(t){const e=[],i=[];Mo.forEach(n=>t.indexOf(n)===-1?e.push(n):i.push(n)),i.forEach(n=>n()),Mo=e}const gl=new Set;let so;function ce(){so={r:0,c:[],p:so}}function fe(){so.r||ut(so.c),so=so.p}function m(t,e){t&&t.i&&(gl.delete(t),t.i(e))}function v(t,e,i,n){if(t&&t.o){if(gl.has(t))return;gl.add(t),so.c.push(()=>{gl.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}function Xt(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function P0(t,e){const i={},n={},l={$$scope:1};let r=t.length;for(;r--;){const o=t[r],s=e[r];if(s){for(const a in o)a in s||(n[a]=1);for(const a in s)l[a]||(i[a]=s[a],l[a]=1);t[r]=s}else for(const a in o)l[a]=1}for(const o in n)o in i||(i[o]=void 0);return i}function E0(t){return typeof t=="object"&&t!==null?t:{}}function Ze(t,e,i){const n=t.$$.props[e];n!==void 0&&(t.$$.bound[n]=i,i(t.$$.ctx[n]))}function K(t){t&&t.c()}function j(t,e,i){const{fragment:n,after_update:l}=t.$$;n&&n.m(e,i),No(()=>{const r=t.$$.on_mount.map(Pu).filter(Vn);t.$$.on_destroy?t.$$.on_destroy.push(...r):ut(r),t.$$.on_mount=[]}),l.forEach(No)}function Z(t,e){const i=t.$$;i.fragment!==null&&(T0(i.after_update),ut(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function I0(t,e){t.$$.dirty[0]===-1&&(Ao.push(t),Vu(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function we(t,e,i,n,l,r,o,s=[-1]){const a=Zo;qo(t);const c=t.$$={fragment:null,ctx:[],props:r,update:W,not_equal:l,bound:Kr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:Kr(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};o&&o(c.root);let f=!1;if(c.ctx=i?i(t,e.props||{},(d,h,...g)=>{const _=g.length?g[0]:h;return c.ctx&&l(c.ctx[d],c.ctx[d]=_)&&(!c.skip_bound&&c.bound[d]&&c.bound[d](_),f&&I0(t,d)),h}):[],c.update(),f=!0,ut(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const d=y0(e.target);c.fragment&&c.fragment.l(d),d.forEach(S)}else c.fragment&&c.fragment.c();e.intro&&m(t.$$.fragment),j(t,e.target,e.anchor),Mu()}qo(a)}class ke{constructor(){Rl(this,"$$");Rl(this,"$$set")}$destroy(){Z(this,1),this.$destroy=W}$on(e,i){if(!Vn(i))return W;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const l=n.indexOf(i);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!b0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const A0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(A0);var ao;(function(t){t.VK="vk",t.VK_VIDEO="vk_video",t.VK_VIDEO_MOBILE="vk_video_mobile"})(ao||(ao={}));const L0={isMobile:void 0,defaultLanguage:ie.InterfaceLanguage.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:ao.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:ie.VideoQuality.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,interactiveTimeIndicator:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0,contextMenuButton:!0},controls:{hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,slot:void 0,preview:void 0},interactive:{historyMaxLength:100,noInteractionEventTimeout:3e4}},V0=t=>ie.fillWithDefault(t,L0),M0=t=>sr("ui-config",t),wn=()=>br("ui-config"),cr="vk_player_debug_panel_opened",Bu=300,B0=100,N0="videoplayer",R0="videoplayer";var Ae;(function(t){t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Comma="Comma",t.Period="Period",t.Space="Space",t.KeyM="KeyM",t.KeyF="KeyF",t.KeyK="KeyK",t.KeyL="KeyL",t.KeyJ="KeyJ",t.KeyC="KeyC",t.KeyI="KeyI",t.Digit1="Digit1",t.Digit2="Digit2",t.Digit3="Digit3",t.Digit4="Digit4",t.Digit5="Digit5",t.Digit6="Digit6",t.Digit7="Digit7",t.Digit8="Digit8",t.Digit9="Digit9",t.Digit0="Digit0",t.Numpad1="Numpad1",t.Numpad2="Numpad2",t.Numpad3="Numpad3",t.Numpad4="Numpad4",t.Numpad5="Numpad5",t.Numpad6="Numpad6",t.Numpad7="Numpad7",t.Numpad8="Numpad8",t.Numpad9="Numpad9",t.Numpad0="Numpad0",t.ShiftLeft="ShiftLeft",t.ShiftRight="ShiftRight",t.Slash="Slash",t.Tab="Tab",t.Escape="Escape",t.Enter="Enter"})(Ae||(Ae={}));const Yo={[Ae.KeyF]:"f",[Ae.KeyK]:"k",[Ae.KeyC]:"c",[Ae.KeyM]:"m"},O0=new Set([Ae.ArrowLeft,Ae.ArrowRight,Ae.KeyL,Ae.KeyJ]),D0=new Set([Ae.Tab,Ae.Space,Ae.ArrowLeft,Ae.ArrowRight,Ae.ArrowUp,Ae.ArrowDown]),z0=new Set([Ae.ShiftRight,Ae.ShiftLeft]);var vt;(function(t){t.PLAY_BUTTON="PLAY_BUTTON",t.REPLAY_BUTTON="REPLAY_BUTTON",t.NEXT_BUTTON="NEXT_BUTTON",t.PREV_BUTTON="PREV_BUTTON",t.PICTURE_IN_PICTURE="PICTURE_IN_PICTURE",t.FULLSCREEN_BUTTON="FULLSCREEN_BUTTON",t.SETTINGS_BUTTON="SETTINGS_BUTTON",t.LIVE_BUTTON="LIVE_BUTTON",t.GRAPH_BUTTON="GRAPH_BUTTON",t.PLAY_PREV_CHAPTER_BUTTON="PLAY_PREV_CHAPTER_BUTTON",t.SEEK_TO_INTERACTIVE_BUTTON="SEEK_TO_INTERACTIVE_BUTTON",t.TIMELINE="TIMELINE",t.VOLUME_BAR="VOLUME_BAR",t.MUTE_BUTTON="MUTE_BUTTON",t.SUBTITLES_BUTTON="SUBTITLES_BUTTON",t.CHROMECAST_BUTTON="CHROMECAST_BUTTON",t.VK_BUTTON="VK_BUTTON",t.EPISODE_BUTTON="EPISODE_BUTTON",t.INCREMENT_PLAYBACK_RATE="INCREMENT_PLAYBACK_RATE",t.DECREMENT_PLAYBACK_RATE="DECREMENT_PLAYBACK_RATE"})(vt||(vt={}));const Gr=40,Nu=260,H0=60,Uo=8,Ru=[vt.TIMELINE],bl=[...Ru,vt.GRAPH_BUTTON],Yr=[...Ru,vt.PLAY_BUTTON],Ou=[...bl,vt.PLAY_BUTTON];var Lo;(function(t){t[t.XS=320]="XS",t[t.S=509]="S",t[t.M=599]="M",t[t.L=699]="L"})(Lo||(Lo={}));exports.GridTypes=void 0;(function(t){t.XS="xs",t.S="s",t.M="m",t.L="l",t.XL="xl"})(exports.GridTypes||(exports.GridTypes={}));const Ro={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},So=[];function On(t,e){return{subscribe:Ve(t,e).subscribe}}function Ve(t,e=W){let i;const n=new Set;function l(s){if(be(t,s)&&(t=s,i)){const a=!So.length;for(const c of n)c[1](),So.push(c,t);if(a){for(let c=0;c<So.length;c+=2)So[c][0](So[c+1]);So.length=0}}}function r(s){l(s(t))}function o(s,a=W){const c=[s,a];return n.add(c),n.size===1&&(i=e(l,r)||W),s(t),()=>{n.delete(c),n.size===0&&i&&(i(),i=null)}}return{set:l,update:r,subscribe:o}}function Ni(t,e,i){const n=!Array.isArray(t),l=n?[t]:t;if(!l.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return On(i,(o,s)=>{let a=!1;const c=[];let f=0,d=W;const h=()=>{if(f)return;d();const _=e(n?c[0]:c,o,s);r?o(_):d=Vn(_)?_:W},g=l.map((_,b)=>ei(_,C=>{c[b]=C,f&=~(1<<b),a&&h()},()=>{f|=1<<b}));return a=!0,h(),function(){ut(g),d(),a=!1}})}const F0="prod",Sl="1.1.36-beta.0",Du=(t,e,i)=>{const n=document.createElement("a");n.href=t,n.download=`${e}.${i}`,n.style.display="none",n.click()},zu=Symbol("storeContext"),Hu=Symbol("microStoresContext"),U0=(t,e)=>{sr(zu,t),sr(Hu,e)},Et=()=>{const t=br(zu);return ie.assertNonNullable(t,"Store context is empty!"),t},Do=()=>{const t=br(Hu);return ie.assertNonNullable(t,"MicroStores context is empty!"),t},Tt=(t,e)=>Fu(t,t.getValue(),e),Fu=(t,e,i)=>On(e,n=>{const l=t.subscribe(r=>{n(r),i==null||i(r)});return()=>l.unsubscribe()}),q0=(t,e,i)=>{var n,l,r,o;const s=t.info,{width:a,height:c}=xe(i.ui.playerSize),f=(l=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&l!==void 0?l:0,d=(o=(r=s.rttEstimation$.getValue())===null||r===void 0?void 0:r.toFixed(0))!==null&&o!==void 0?o:0,h=s.isAutoQualityEnabled$.getValue()?"auto":"manual",g=`${Sl} (core: ${et.VERSION}, stat: ${Pt.VERSION}, shared: ${ie.VERSION})`,_=xe(i.state.errorLog$),b=_.length?`
7
+ `+_.map((w,y)=>{var E;const x=`${y}) Type: ${w.id}
8
+ `,q=`Message: ${w.message} (${w.thrown})
9
+ `,V=`Trace: ${(E=w.thrown)===null||E===void 0?void 0:E.stack}
10
+ `;return x+q+V}).join(`
11
+ `):void 0,C=i.state.isAudioDisabled?"disabled":xe(i.state.isAudioAvailable$)?void 0:"unavailable",k={Version:g,Browser:navigator.userAgent,Config:t.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(i.videoId),"Content host":s.hostname$.getValue(),"Connection type":s.httpConnectionType$.getValue()+(s.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${d}ms RTT`,Format:s.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${h} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Audio:C,Position:`${xe(i.state.positionExact$)}s`,State:`${xe(i.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:b};return Object.entries(k).filter(([w,y])=>y!==void 0).map(([w,y])=>`${w}: ${y}`).join(`
12
+ `)},j0=(t,e,i)=>{const n=t.info,{width:l,height:r}=xe(i.ui.playerSize),o={version:Sl,viewport:`${l}x${r}`,volume:Math.round(xe(i.state.volume$)*100)};o.id=i.videoId,n.currentFormat$.getValue()&&(o.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(o.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(o.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(o.buffer=Math.max(f.end-xe(i.state.positionExact$),0));const d=n.throughputEstimation$.getValue();d&&(o.speed=d);const h=n.videoBitrate$.getValue();h&&(o.bitrate=h);const g=n.currentVideoSegmentLength$.getValue();g&&(o.currentVideoSegmentLength=g);const _=n.currentAudioSegmentLength$.getValue();return _&&(o.currentAudioSegmentLength=_),o},Z0=(t,e)=>Du(t,e,"mp4"),Uu="vk_player_prefer_traffic_saving_enabled",qu="vk_player_preferred_volume",ju="vk_player_prefer_volume_mute",_r="vk_player_preferred_quality",Zu=t=>t>1?1:t<0?0:t,Qr=t=>ie.safeStorage.set(qu,Zu(t).toString(10)),Ku=()=>{const t=ie.safeStorage.get(qu);return ie.isNullable(t)?void 0:Zu(parseFloat(t))},K0=(t,e)=>ie.safeStorage.set(_r,JSON.stringify({videoId:t,value:e})),Wu=()=>ie.safeStorage.remove(_r),W0=t=>{const e=ie.safeStorage.get(_r);if(ie.isNullable(e))return;const{videoId:i,value:n}=JSON.parse(e);if(t!==i){Wu();return}return n},Gu=(t,e)=>{e?ie.safeStorage.set(t,"true"):ie.safeStorage.remove(t)},Yu=t=>ie.safeStorage.get(t)==="true",Dl=t=>Gu(ju,t),G0=()=>Yu(ju),Y0=t=>Gu(Uu,t),Q0=()=>Yu(Uu);function X0(t){let e,i,n,l,r,o,s,a,c,f,d,h,g,_,b,C,k,w;return{c(){e=D("svg"),i=D("g"),n=D("path"),l=D("path"),r=D("path"),o=D("path"),s=D("path"),a=D("defs"),c=D("filter"),f=D("feFlood"),d=D("feColorMatrix"),h=D("feOffset"),g=D("feGaussianBlur"),_=D("feColorMatrix"),b=D("feBlend"),C=D("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(l,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(l,"fill","#fff"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(r,"fill","#fff"),u(o,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(o,"fill","#fff"),u(s,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(s,"stroke-linecap","round"),u(s,"stroke-linejoin","round"),u(i,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(d,"in","SourceAlpha"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(d,"result","hardAlpha"),u(g,"stdDeviation","2.5"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(b,"in2","BackgroundImageFix"),u(b,"result","effect1_dropShadow_618_12297"),u(C,"in","SourceGraphic"),u(C,"in2","effect1_dropShadow_618_12297"),u(C,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",k=!t[0]||null),u(e,"aria-label",w=t[0]||null)},m(y,E){T(y,e,E),p(e,i),p(i,n),p(i,l),p(i,r),p(i,o),p(i,s),p(e,a),p(a,c),p(c,f),p(c,d),p(c,h),p(c,g),p(c,_),p(c,b),p(c,C)},p(y,[E]){E&1&&k!==(k=!y[0]||null)&&u(e,"aria-hidden",k),E&1&&w!==(w=y[0]||null)&&u(e,"aria-label",w)},i:W,o:W,d(y){y&&S(e)}}}function J0(t,e,i){let{ariaLabel:n=""}=e;return t.$$set=l=>{"ariaLabel"in l&&i(0,n=l.ariaLabel)},[n]}class Qu extends ke{constructor(e){super(),we(this,e,J0,X0,be,{ariaLabel:0})}}var zl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function x0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var al=function(t){return t&&t.Math==Math&&t},eo=al(typeof globalThis=="object"&&globalThis)||al(typeof window=="object"&&window)||al(typeof self=="object"&&self)||al(typeof zl=="object"&&zl)||function(){return this}()||zl||Function("return this")(),mo=function(t){try{return!!t()}catch(e){return!0}},$0=mo,Tl=!$0(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),ed=Tl,Xu=Function.prototype,Xr=Xu.apply,Jr=Xu.call,td=typeof Reflect=="object"&&Reflect.apply||(ed?Jr.bind(Xr):function(){return Jr.apply(Xr,arguments)}),Ju=Tl,xu=Function.prototype,fr=xu.call,id=Ju&&xu.bind.bind(fr,fr),to=Ju?id:function(t){return function(){return fr.apply(t,arguments)}},$u=to,nd=$u({}.toString),od=$u("".slice),Pl=function(t){return od(nd(t),8,-1)},ld=Pl,rd=to,ec=function(t){if(ld(t)==="Function")return rd(t)},dr=typeof document=="object"&&document.all,sd=typeof dr=="undefined"&&dr!==void 0,tc={all:dr,IS_HTMLDDA:sd},ic=tc,ad=ic.all,Wn=ic.IS_HTMLDDA?function(t){return typeof t=="function"||t===ad}:function(t){return typeof t=="function"},nc={},ud=mo,Qo=!ud(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),cd=Tl,ul=Function.prototype.call,Xo=cd?ul.bind(ul):function(){return ul.apply(ul,arguments)},oc={},lc={}.propertyIsEnumerable,rc=Object.getOwnPropertyDescriptor,fd=rc&&!lc.call({1:2},1);oc.f=fd?function(e){var i=rc(this,e);return!!i&&i.enumerable}:lc;var sc=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},dd=to,md=mo,pd=Pl,Hl=Object,hd=dd("".split),vd=md(function(){return!Hl("z").propertyIsEnumerable(0)})?function(t){return pd(t)=="String"?hd(t,""):Hl(t)}:Hl,wr=function(t){return t==null},gd=wr,bd=TypeError,kr=function(t){if(gd(t))throw bd("Can't call method on "+t);return t},_d=vd,wd=kr,kd=function(t){return _d(wd(t))},xr=Wn,ac=tc,yd=ac.all,Jo=ac.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:xr(t)||t===yd}:function(t){return typeof t=="object"?t!==null:xr(t)},uc={},Fl=uc,Ul=eo,Cd=Wn,$r=function(t){return Cd(t)?t:void 0},cc=function(t,e){return arguments.length<2?$r(Fl[t])||$r(Ul[t]):Fl[t]&&Fl[t][e]||Ul[t]&&Ul[t][e]},Sd=to,fc=Sd({}.isPrototypeOf),Td=typeof navigator!="undefined"&&String(navigator.userAgent)||"",dc=eo,ql=Td,es=dc.process,ts=dc.Deno,is=es&&es.versions||ts&&ts.version,ns=is&&is.v8,Ln,wl;ns&&(Ln=ns.split("."),wl=Ln[0]>0&&Ln[0]<4?1:+(Ln[0]+Ln[1]));!wl&&ql&&(Ln=ql.match(/Edge\/(\d+)/),(!Ln||Ln[1]>=74)&&(Ln=ql.match(/Chrome\/(\d+)/),Ln&&(wl=+Ln[1])));var Pd=wl,os=Pd,Ed=mo,Id=eo,Ad=Id.String,mc=!!Object.getOwnPropertySymbols&&!Ed(function(){var t=Symbol();return!Ad(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&os&&os<41}),Ld=mc,pc=Ld&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Vd=cc,Md=Wn,Bd=fc,Nd=pc,Rd=Object,hc=Nd?function(t){return typeof t=="symbol"}:function(t){var e=Vd("Symbol");return Md(e)&&Bd(e.prototype,Rd(t))},Od=String,Dd=function(t){try{return Od(t)}catch(e){return"Object"}},zd=Wn,Hd=Dd,Fd=TypeError,vc=function(t){if(zd(t))return t;throw Fd(Hd(t)+" is not a function")},Ud=vc,qd=wr,gc=function(t,e){var i=t[e];return qd(i)?void 0:Ud(i)},jl=Xo,Zl=Wn,Kl=Jo,jd=TypeError,Zd=function(t,e){var i,n;if(e==="string"&&Zl(i=t.toString)&&!Kl(n=jl(i,t))||Zl(i=t.valueOf)&&!Kl(n=jl(i,t))||e!=="string"&&Zl(i=t.toString)&&!Kl(n=jl(i,t)))return n;throw jd("Can't convert object to primitive value")},bc={exports:{}},ls=eo,Kd=Object.defineProperty,Wd=function(t,e){try{Kd(ls,t,{value:e,configurable:!0,writable:!0})}catch(i){ls[t]=e}return e},Gd=eo,Yd=Wd,rs="__core-js_shared__",Qd=Gd[rs]||Yd(rs,{}),Xd=Qd,ss=Xd;(bc.exports=function(t,e){return ss[t]||(ss[t]=e!==void 0?e:{})})("versions",[]).push({version:"3.31.0",mode:"pure",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Jd=bc.exports,xd=kr,$d=Object,_c=function(t){return $d(xd(t))},e2=to,t2=_c,i2=e2({}.hasOwnProperty),El=Object.hasOwn||function(e,i){return i2(t2(e),i)},n2=to,o2=0,l2=Math.random(),r2=n2(1 .toString),s2=function(t){return"Symbol("+(t===void 0?"":t)+")_"+r2(++o2+l2,36)},a2=eo,u2=Jd,as=El,c2=s2,f2=mc,d2=pc,Vo=a2.Symbol,Wl=u2("wks"),m2=d2?Vo.for||Vo:Vo&&Vo.withoutSetter||c2,xo=function(t){return as(Wl,t)||(Wl[t]=f2&&as(Vo,t)?Vo[t]:m2("Symbol."+t)),Wl[t]},p2=Xo,us=Jo,cs=hc,h2=gc,v2=Zd,g2=xo,b2=TypeError,_2=g2("toPrimitive"),w2=function(t,e){if(!us(t)||cs(t))return t;var i=h2(t,_2),n;if(i){if(e===void 0&&(e="default"),n=p2(i,t,e),!us(n)||cs(n))return n;throw b2("Can't convert object to primitive value")}return e===void 0&&(e="number"),v2(t,e)},k2=w2,y2=hc,wc=function(t){var e=k2(t,"string");return y2(e)?e:e+""},C2=eo,fs=Jo,mr=C2.document,S2=fs(mr)&&fs(mr.createElement),T2=function(t){return S2?mr.createElement(t):{}},P2=Qo,E2=mo,I2=T2,kc=!P2&&!E2(function(){return Object.defineProperty(I2("div"),"a",{get:function(){return 7}}).a!=7}),A2=Qo,L2=Xo,V2=oc,M2=sc,B2=kd,N2=wc,R2=El,O2=kc,ds=Object.getOwnPropertyDescriptor;nc.f=A2?ds:function(e,i){if(e=B2(e),i=N2(i),O2)try{return ds(e,i)}catch(n){}if(R2(e,i))return M2(!L2(V2.f,e,i),e[i])};var D2=mo,z2=Wn,H2=/#|\.prototype\./,$o=function(t,e){var i=U2[F2(t)];return i==j2?!0:i==q2?!1:z2(e)?D2(e):!!e},F2=$o.normalize=function(t){return String(t).replace(H2,".").toLowerCase()},U2=$o.data={},q2=$o.NATIVE="N",j2=$o.POLYFILL="P",Z2=$o,ms=ec,K2=vc,W2=Tl,G2=ms(ms.bind),Y2=function(t,e){return K2(t),e===void 0?t:W2?G2(t,e):function(){return t.apply(e,arguments)}},yc={},Q2=Qo,X2=mo,J2=Q2&&X2(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),x2=Jo,$2=String,e4=TypeError,Cc=function(t){if(x2(t))return t;throw e4($2(t)+" is not an object")},t4=Qo,i4=kc,n4=J2,cl=Cc,ps=wc,o4=TypeError,Gl=Object.defineProperty,l4=Object.getOwnPropertyDescriptor,Yl="enumerable",Ql="configurable",Xl="writable";yc.f=t4?n4?function(e,i,n){if(cl(e),i=ps(i),cl(n),typeof e=="function"&&i==="prototype"&&"value"in n&&Xl in n&&!n[Xl]){var l=l4(e,i);l&&l[Xl]&&(e[i]=n.value,n={configurable:Ql in n?n[Ql]:l[Ql],enumerable:Yl in n?n[Yl]:l[Yl],writable:!1})}return Gl(e,i,n)}:Gl:function(e,i,n){if(cl(e),i=ps(i),cl(n),i4)try{return Gl(e,i,n)}catch(l){}if("get"in n||"set"in n)throw o4("Accessors not supported");return"value"in n&&(e[i]=n.value),e};var r4=Qo,s4=yc,a4=sc,u4=r4?function(t,e,i){return s4.f(t,e,a4(1,i))}:function(t,e,i){return t[e]=i,t},fl=eo,c4=td,f4=ec,d4=Wn,m4=nc.f,p4=Z2,To=uc,h4=Y2,Po=u4,hs=El,v4=function(t){var e=function(i,n,l){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(i);case 2:return new t(i,n)}return new t(i,n,l)}return c4(t,this,arguments)};return e.prototype=t.prototype,e},g4=function(t,e){var i=t.target,n=t.global,l=t.stat,r=t.proto,o=n?fl:l?fl[i]:(fl[i]||{}).prototype,s=n?To:To[i]||Po(To,i,{})[i],a=s.prototype,c,f,d,h,g,_,b,C,k;for(h in e)c=p4(n?h:i+(l?".":"#")+h,t.forced),f=!c&&o&&hs(o,h),_=s[h],f&&(t.dontCallGetSet?(k=m4(o,h),b=k&&k.value):b=o[h]),g=f&&b?b:e[h],!(f&&typeof _==typeof g)&&(t.bind&&f?C=h4(g,fl):t.wrap&&f?C=v4(g):r&&d4(g)?C=f4(g):C=g,(t.sham||g&&g.sham||_&&_.sham)&&Po(C,"sham",!0),Po(s,h,C),r&&(d=i+"Prototype",hs(To,d)||Po(To,d,{}),Po(To[d],h,g),t.real&&a&&(c||!a[h])&&Po(a,h,g)))},b4=Jo,_4=Pl,w4=xo,k4=w4("match"),y4=function(t){var e;return b4(t)&&((e=t[k4])!==void 0?!!e:_4(t)=="RegExp")},C4=xo,S4=C4("toStringTag"),Sc={};Sc[S4]="z";var T4=String(Sc)==="[object z]",P4=T4,E4=Wn,_l=Pl,I4=xo,A4=I4("toStringTag"),L4=Object,V4=_l(function(){return arguments}())=="Arguments",M4=function(t,e){try{return t[e]}catch(i){}},B4=P4?_l:function(t){var e,i,n;return t===void 0?"Undefined":t===null?"Null":typeof(i=M4(e=L4(t),A4))=="string"?i:V4?_l(e):(n=_l(e))=="Object"&&E4(e.callee)?"Arguments":n},N4=B4,R4=String,O4=function(t){if(N4(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return R4(t)},D4=Cc,z4=function(){var t=D4(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},H4=Xo,F4=El,U4=fc,q4=z4,vs=RegExp.prototype,j4=function(t){var e=t.flags;return e===void 0&&!("flags"in vs)&&!F4(t,"flags")&&U4(vs,t)?H4(q4,t):e},yr=to,Z4=_c,K4=Math.floor,Jl=yr("".charAt),W4=yr("".replace),xl=yr("".slice),G4=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Y4=/\$([$&'`]|\d{1,2})/g,Q4=function(t,e,i,n,l,r){var o=i+t.length,s=n.length,a=Y4;return l!==void 0&&(l=Z4(l),a=G4),W4(r,a,function(c,f){var d;switch(Jl(f,0)){case"$":return"$";case"&":return t;case"`":return xl(e,0,i);case"'":return xl(e,o);case"<":d=l[xl(f,1,-1)];break;default:var h=+f;if(h===0)return c;if(h>s){var g=K4(h/10);return g===0?c:g<=s?n[g-1]===void 0?Jl(f,1):n[g-1]+Jl(f,1):c}d=n[h-1]}return d===void 0?"":d})},X4=g4,J4=Xo,Cr=to,gs=kr,x4=Wn,$4=wr,em=y4,Eo=O4,tm=gc,im=j4,nm=Q4,om=xo,lm=om("replace"),rm=TypeError,Tc=Cr("".indexOf),sm=Cr("".replace),bs=Cr("".slice),am=Math.max,_s=function(t,e,i){return i>t.length?-1:e===""?i:Tc(t,e,i)};X4({target:"String",proto:!0},{replaceAll:function(e,i){var n=gs(this),l,r,o,s,a,c,f,d,h,g=0,_=0,b="";if(!$4(e)){if(l=em(e),l&&(r=Eo(gs(im(e))),!~Tc(r,"g")))throw rm("`.replaceAll` does not allow non-global regexes");if(o=tm(e,lm),o)return J4(o,e,n,i);if(l)return sm(Eo(n),e,i)}for(s=Eo(n),a=Eo(e),c=x4(i),c||(i=Eo(i)),f=a.length,d=am(1,f),g=_s(s,a,0);g!==-1;)h=c?Eo(i(a,g,s)):nm(a,s,g,[],void 0,i),b+=bs(s,_,g)+h,_=g+f,g=_s(s,a,g+d);return _<s.length&&(b+=bs(s,_)),b}});var um=cc,cm=um,fm=cm,dm=fm("String","replaceAll"),mm=dm,pm=mm,hm=pm,vm=hm,gm=x0(vm);const bm={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_video_loop_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435",menu_video_loop_off:"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435",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_interactive_interaction_time_indicator:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043D\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_context_menu_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",hotkey_map_item_show_context_menu_value:"Shift + !",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",aria_label_video_player:"\u0412\u0438\u0434\u0435\u043E \u043F\u043B\u0435\u0435\u0440",aria_label_spherical_control:"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440 \u0434\u043B\u044F \u0441\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0438\u0434\u0435\u043E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438 \u0434\u043B\u044F \u043F\u0430\u043D\u043E\u0440\u0430\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E.",aria_label_debug_panel:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0441 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439, \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0441\u043A\u0440\u0438\u043D\u0448\u043E\u0442 \u0434\u043B\u044F \u0442\u0435\u0445\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438",aria_label_new_tab_alert:"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435.",aria_label_context_menu_open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_context_menu_close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E: {actual}",aria_label_menu_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C: {actual}",aria_label_menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445: {actual}",aria_label_menu_subtitle:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B: {actual}",aria_label_menu_download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",aria_label_menu_debug_overlay_enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_debug_overlay_disable:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432",aria_label_menu_loop:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0440\u0435\u0436\u0438\u043C\u0430 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u044F",aria_label_submenu_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A",aria_label_submenu_traffic_saving_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_traffic_saving_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445"},_m={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_video_loop_on:"Enable loop",menu_video_loop_off:"Disable loop",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_interactive_interaction_time_indicator:"Press the interactive element",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_context_menu_description:"Hide or show context menu",hotkey_map_item_show_context_menu_value:"Shift + !",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon",aria_label_video_player:"Video player",aria_label_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_debug_panel:"Technical information area, take a screenshot for technical support",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_context_menu_open:"Open context menu",aria_label_context_menu_close:"Close context menu",aria_label_menu_quality:"Quality: {actual}",aria_label_menu_rate:"Rate: {actual}",aria_label_menu_traffic_saving:"Data saving: {actual}",aria_label_menu_subtitle:"Subtitles: {actual}",aria_label_menu_download:"Download video",aria_label_menu_debug_overlay_enable:"Enable display of technical information",aria_label_menu_debug_overlay_disable:"Disable display of technical information",aria_label_menu_rotate:"Rotate video 90 degrees",aria_label_menu_loop:"Toggle loop",aria_label_submenu_back:"Return to settings menu",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode"},Hn=new Map;Hn.set(ie.InterfaceLanguage.EN,_m);Hn.set(ie.InterfaceLanguage.RU,bm);const Pc=new Map,ws=({language:t,pack:e,fallback:i})=>{if(Hn.has(t)){const n=Hn.get(t);Hn.set(t,Object.assign(Object.assign({},n),e))}else Hn.set(t,e);Pc.set(t,i)},ks=t=>Hn.has(t),Ec=(t,e,i,n)=>{var l;const r=Hn.get(t);let o=r==null?void 0:r[e];if(ie.isNullable(o)){const s=(l=Pc.get(t))!==null&&l!==void 0?l:n,a=s?Hn.get(s):void 0;o=a==null?void 0:a[e]}return ie.isNullable(o)?e+Object.values(i!=null?i:{}).join(" "):i?gm(o,/{(\w+?)}/g,(s,a)=>{var c;return(c=i[a])!==null&&c!==void 0?c:""}):o},Q=(t,e)=>{const{interfaceLanguage$:i}=Et(),n=xe(i),l=wn();return Ec(n,t,e,l.defaultLanguage)};var kl;(function(t){t.fatal="fatal",t.error="error",t.warning="warning",t.log="log",t.info="info",t.debug="debug",t.critical="critical"})(kl||(kl={}));const wm=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,km=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,ym=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,dl="?",Cm="X-Sentry-Auth",Sm=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Tm(t){if(!t.stack)return null;const e=[],i=t.stack.split(`
13
+ `);let n,l;for(let r=0;r<i.length;++r){if(n=wm.exec(i[r]))l={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||dl,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=ym.exec(i[r]))l={filename:n[2],function:n[1]||dl,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=km.exec(i[r]))r===0&&!n[5]&&t.columnNumber!==void 0&&(e[0].column=t.columnNumber+1),l={filename:n[3],function:n[1]||dl,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!l.function&&l.lineno&&(l.function=dl),e.push(l)}return e.length?{value:Ic(t),type:t.name,stacktrace:{frames:e.reverse()}}:null}function Ic(t){return(t&&t.message||"No error message").split(`
14
+ `).filter(i=>!!i)[0]}function Pm(t){try{const e=Tm(t);if(e)return e}catch(e){}return{value:Ic(t),type:t&&t.name,stacktrace:{frames:[]}}}function Em(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,t=>{const e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}class Im{constructor(e){if(e&&e.dsn){const i=Sm.exec(e.dsn),n=i?i.slice(1):[],l=n[5].split("/"),r=l.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(r?"/"+r:"")+"/api/"+l.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return yo(mn({},this.getRequestBlank()),{exception:{values:[Pm(e)]}})}report(e){this.send(this.prepare(e))}send(e){!this.apiUrl||!e||this.createRequest(e)}createRequest(e){const i=new XMLHttpRequest;i.open("POST",this.apiUrl,!0),i.setRequestHeader("Content-type","application/json"),i.setRequestHeader(Cm,this.authHeader||""),i.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:Em(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function ys(t,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(t):typeof e=="string"?t.indexOf(e)!==-1:!1}function Am(){return window}class Sr extends Im{constructor(e,i=Am()){super(e),this.options=e,this.window=i,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:l=c=>c,beforeBreadcrumb:r=c=>c,blacklistUrls:o=[],ignoreErrors:s=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=l,this.beforeBreadcrumb=r,this.blacklistUrls=o,this.ignoreErrors=s,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",mn({},e)),this}setTag(e,i){return this.extendState({tags:{[e]:i}}),this}setExtra(e,i){return this.extendState({extra:{[e]:i}}),this}setExtras(e){return this.setKeyState("extra",mn({},e)),this}setUser(e){return this.setKeyState("user",mn({},e)),this}clone(){const e=new Sr(yo(mn({},this.options),{plugins:[]}));return e.extendState(this.state),e}withScope(e){const i=this.clone();e(i),i.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[mn({timestamp:Date.now()/1e3},this.beforeBreadcrumb(e))]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,i){this.send(yo(mn({},this.getRequestBlank()),{message:e,level:i}))}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(i=>this.ignoreErrors.some(n=>ys(i,n))):!1}getRequestBlank(){return mn(yo(mn({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(mn({release:this.release},e))),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:i="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${i}: ${n}`]}catch(i){return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const i=this.getEventFilterUrl(e);return i?this.blacklistUrls.some(n=>ys(i,n)):!1}getEventFilterUrl(e){try{if(e.exception){const i=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return i&&i[i.length-1].filename||null}return null}catch(i){return null}}extendState(e){this._state=Object.keys(e).reduce((i,n)=>{const l=this._state[n],r=Array.isArray(l)?l:null,o=e[n],s=Array.isArray(o)?o:null;return yo(mn({},i),{[n]:r||s?[...r||[],...s||[]]:mn(mn({},typeof l!="string"?l:{}),typeof o!="string"?o:{})})},this._state)}setKeyState(e,i){this._state[e]=i}}let ml=null;class pr{constructor(e,i,n={}){!ml&&e.dsn&&(this.sentryClient=new Sr({dsn:e.dsn,environment:i.env}),this.version=i.version,this.sentrySubscription=new ie.Subscription,this.options=e,this.context=n,ml=this)}destroy(){var e,i;(e=this.sentryClient)===null||e===void 0||e.destroy(),(i=this.sentrySubscription)===null||i===void 0||i.unsubscribe(),ml=null}logIError(e,i=!1){e.thrown&&this.report(e.thrown,{fatal:i,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,i={},n={}){const{sentryClient:l,context:r,options:o}=this,{sampleRate:s=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:d}=o,{errorType:h,category:g}=i;if(ie.isNonNullable(g)&&d.includes(g)||ie.isNonNullable(h)&&f.includes(h))return;if(Math.random()<=s||ie.isNonNullable(g)&&c.includes(g)||ie.isNonNullable(h)&&a.includes(h)){Object.keys(i).length&&l.setTags(Object.assign({version:this.version},i)),(Object.keys(r).length||Object.keys(n).length)&&l.setExtras(Object.assign(Object.assign({},r),n));try{h&&l.captureMessage(h,i.fatal?kl.fatal:kl.error),l.report(e)}catch(b){console.error(b)}}}static getInstance(){return ml}}var Bo;(function(t){t.AUTO="auto"})(Bo||(Bo={}));var Oe;(function(t){t.Thumb="thumb",t.Video="video",t.Ads="ads",t.Crashed="crashed",t.WaitingLive="waitingLive",t.WaitingRecord="waitingRecord"})(Oe||(Oe={}));var zn;(function(t){t.Preroll="preroll",t.Midroll="midroll",t.Postroll="postroll"})(zn||(zn={}));var ti;(function(t){t.INACTIVE="inactive",t.PLAYING="playing",t.PAUSED="paused"})(ti||(ti={}));var Fn;(function(t){t[t.PictureInPicture=0]="PictureInPicture",t[t.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(Fn||(Fn={}));var Je;(function(t){t.PLAY="PLAY",t.PAUSE="PAUSE",t.REPLAY="REPLAY",t.BACKWARD_SEEK="BACKWARD_SEEK",t.FORWARD_SEEK="FORWARD_SEEK",t.SUBTITLES_ON="SUBTITLES_ON",t.SUBTITLES_OFF="SUBTITLES_OFF",t.RATE_UP="RATE_UP",t.RATE_DOWN="RATE_DOWN",t.EPISODE_PREV="EPISODE_PREV",t.EPISODE_NEXT="EPISODE_NEXT",t.MUTE="MUTE",t.VOLUME="VOLUME"})(Je||(Je={}));var uo;(function(t){t.FULL="FULL",t.COUNT="COUNT",t.SHORT="SHORT"})(uo||(uo={}));const Ac=t=>{if(t.requestFullscreen)return t.requestFullscreen();if(t.msRequestFullscreen)return t.msRequestFullscreen();if(t.webkitRequestFullscreen)return t.webkitRequestFullscreen();if(t.mozRequestFullScreen)return t.mozRequestFullScreen();const e=t.querySelector("video");return e!=null&&e.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Lc=t=>t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():Promise.reject(),Lm=t=>{const e=t;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},Ko=()=>{const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)},Vc=t=>{document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),document.addEventListener("mozfullscreenchange",t),document.addEventListener("MSFullscreenChange",t)},Mc=t=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",t),document.removeEventListener("mozfullscreenchange",t),document.removeEventListener("MSFullscreenChange",t)},Vm=t=>{const e=window.screen;return(l=>ni(void 0,void 0,void 0,function*(){return e.orientation?e.orientation.lock(l):e.mozLockOrientation?e.mozLockOrientation(l):e.msLockOrientation?e.msLockOrientation(l):Promise.reject()}))(((l={width:0,height:0})=>l.width<=l.height?"portrait":"landscape")(t))},Mm=()=>({title:Q("hotkey_map_modal_title"),closeBtnText:Q("hotkey_map_modal_close_btn_text"),groups:[{title:Q("hotkey_map_group_title_common"),items:[{description:Q("hotkey_map_item_mute_description"),value:Q("hotkey_map_item_mute_value")},{description:Q("hotkey_map_item_volume_up_description"),value:Q("hotkey_map_item_volume_up_value")},{description:Q("hotkey_map_item_volume_down_description"),value:Q("hotkey_map_item_volume_down_value")},{description:Q("hotkey_map_item_pip_description"),value:Q("hotkey_map_item_pip_value")},{description:Q("hotkey_map_item_full_screen_description"),value:Q("hotkey_map_item_full_screen_value")},{description:Q("hotkey_map_item_show_context_menu_description"),value:Q("hotkey_map_item_show_context_menu_value")},{description:Q("hotkey_map_item_show_hotkey_map_description"),value:Q("hotkey_map_item_show_hotkey_map_value")}]},{title:Q("hotkey_map_group_title_playback"),items:[{description:Q("hotkey_map_item_play_toggle_description"),value:Q("hotkey_map_item_play_toggle_value")},{description:Q("hotkey_map_item_seek_backward_description"),value:Q("hotkey_map_item_seek_backward_value")},{description:Q("hotkey_map_item_seek_forward_description"),value:Q("hotkey_map_item_seek_forward_value")},{description:Q("hotkey_map_item_fast_seek_backward_description"),value:Q("hotkey_map_item_fast_seek_backward_value")},{description:Q("hotkey_map_item_fast_seek_forward_description"),value:Q("hotkey_map_item_fast_seek_forward_value")},{description:Q("hotkey_map_item_rate_down_description"),value:Q("hotkey_map_item_rate_down_value")},{description:Q("hotkey_map_item_rate_up_description"),value:Q("hotkey_map_item_rate_up_value")},{description:Q("hotkey_map_item_prev_frame_description"),value:Q("hotkey_map_item_prev_frame_value")},{description:Q("hotkey_map_item_next_frame_description"),value:Q("hotkey_map_item_next_frame_value")},{description:Q("hotkey_map_item_jump_seek_description"),value:Q("hotkey_map_item_jump_seek_value")}]},{title:Q("hotkey_map_group_title_subtitles"),items:[{description:Q("hotkey_map_item_subtitles_toggle_description"),value:Q("hotkey_map_item_subtitles_toggle_value")}]},{title:Q("hotkey_map_group_title_episodes"),items:[{description:Q("hotkey_map_item_prev_episode_description"),value:ie.isMacLike()?Q("hotkey_map_item_prev_episode_mac_value"):Q("hotkey_map_item_prev_episode_pc_value")},{description:Q("hotkey_map_item_next_episode_description"),value:ie.isMacLike()?Q("hotkey_map_item_next_episode_mac_value"):Q("hotkey_map_item_next_episode_pc_value")}]}]});class Tr{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:ie.debounceFn(this.onResize.bind(this),Bu)},this.info={isActive$:new ie.ValueSubject(this.isActive()),type:Fn.PictureInPicture}}isSupported(){const e=ie.getCurrentBrowser().browser===ie.CurrentClientBrowser.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}revealPictureInPicture(){return ni(this,void 0,void 0,function*(){this.isRequested&&(this.unregistryEventHandlers(),yield this.request(),this.registryEventHandlers())})}request(){var e;return ni(this,void 0,void 0,function*(){if(!(!this.isSupported()||this.isActive()))try{yield(e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture()}catch(i){this.isRequested=!1}})}remove(){return ni(this,void 0,void 0,function*(){!this.isSupported()||!this.isActive()||(yield document.exitPictureInPicture())})}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){var e;this.isSupported()&&(this.videoElement=(e=this.playerContainer)===null||e===void 0?void 0:e.querySelector("video"))}registryEventHandlers(){var e,i;(e=this.videoElement)===null||e===void 0||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(i=this.videoElement)===null||i===void 0||i.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers=Object.assign({},e)}unregistryEventHandlers(){var e,i;(e=this.videoElement)===null||e===void 0||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(i=this.videoElement)===null||i===void 0||i.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}dispose(){return ni(this,void 0,void 0,function*(){this.unregistryEventHandlers(),yield this.remove()})}onEnterPictureInPicture(e){var i,n;const r=e.pictureInPictureWindow;r&&(this.info.isActive$.next(!0),this.isRequested=!0,r.addEventListener("resize",this.eventHandlers.resize),(n=(i=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(i,e))}onLeavePictureInPicture(e){var i,n,l;const o=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,o==null||o.removeEventListener("resize",this.eventHandlers.resize),(n=(i=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(i,e),(l=this.playerDummyElement)===null||l===void 0||l.$destroy()}onResize(e){var i,n;(n=(i=this.externalEventHandlers).resize)===null||n===void 0||n.call(i,e)}}function yl(t){return t instanceof Tr}function Bm(t){const e=Et();return pn(()=>{e.getAdmanWrapper().startPostroll()}),[]}class Nm extends ke{constructor(e){super(),we(this,e,Bm,null,be,{})}}function Rm(t){Ke(t,"v-1k4i25s",".container.v-1k4i25s.v-1k4i25s{position:absolute;top:14px;right:16px;padding:6px 10px;font-size:13px;color:#fff;background:rgba(0, 0, 0, 0.56);border-radius:6px;transition:color .2s}.container-mobile.v-1k4i25s.v-1k4i25s{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-1k4i25s.v-1k4i25s{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-1k4i25s.v-1k4i25s{width:86px}.skippable.v-1k4i25s.v-1k4i25s{cursor:pointer;color:var(--white)}.skippable.v-1k4i25s.v-1k4i25s:hover{color:rgba(255, 255, 255, .75)}.skippable.v-1k4i25s:hover .icon.v-1k4i25s{fill:rgba(255, 255, 255, .75)}")}function Om(t){let e=Q("skip_ads_after",{time:Math.ceil(t[1]-t[0]).toFixed(0)})+"",i;return{c(){i=De(e)},m(n,l){T(n,i,l)},p(n,l){l&3&&e!==(e=Q("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&$e(i,e)},d(n){n&&S(i)}}}function Dm(t){let e,i=Q("skip_ads_now")+"",n,l,r,o,s,a;return{c(){e=P("div"),n=De(i),l=H(),r=D("svg"),o=D("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(r,"class","icon v-1k4i25s"),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-1k4i25s")},m(c,f){T(c,e,f),p(e,n),p(e,l),p(e,r),p(r,o),s||(a=he(e,"click",ct(function(){Vn(t[2])&&t[2].apply(this,arguments)})),s=!0)},p(c,f){t=c},d(c){c&&S(e),s=!1,a()}}}function zm(t){let e;function i(r,o){return r[3]?Dm:Om}let n=i(t),l=n(t);return{c(){e=P("div"),l.c(),u(e,"class","container v-1k4i25s"),R(e,"container-mobile",t[4]),R(e,"skippable",t[3])},m(r,o){T(r,e,o),l.m(e,null)},p(r,[o]){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e,null))),o&16&&R(e,"container-mobile",r[4]),o&8&&R(e,"skippable",r[3])},i:W,o:W,d(r){r&&S(e),l.d()}}}function Hm(t,e,i){let n,{position:l=0}=e,{secondsToWatchBeforeSkip:r=0}=e,{skipAd:o=ie.noop}=e;const a=Et().ui.isMobile;z(t,a,f=>i(4,n=f));let c;return t.$$set=f=>{"position"in f&&i(0,l=f.position),"secondsToWatchBeforeSkip"in f&&i(1,r=f.secondsToWatchBeforeSkip),"skipAd"in f&&i(2,o=f.skipAd)},t.$$.update=()=>{t.$$.dirty&3&&i(3,c=l>0&&l>=r)},[l,r,o,c,n,a]}class Fm extends ke{constructor(e){super(),we(this,e,Hm,zm,be,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},Rm)}}function Um(t){Ke(t,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function qm(t){let e;return{c(){e=P("button"),e.textContent=`${Q("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(i,n){T(i,e,n)},p:W,i:W,o:W,d(i){i&&S(e)}}}class jm extends ke{constructor(e){super(),we(this,e,null,qm,be,{},Um)}}function Zm(t){Ke(t,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
15
15
  360deg,
16
16
  rgba(0, 0, 0, 0) 0%,
17
17
  rgba(0, 0, 0, 0.05) 12%,
@@ -21,15 +21,15 @@
21
21
  rgba(0, 0, 0, 0.5) 77%,
22
22
  rgba(0, 0, 0, 0.55) 88%,
23
23
  rgba(0, 0, 0, 0.65) 100%
24
- )}`)}function bs(i){let e;return{c(){e=T("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function _s(i){let e,t;return e=new S4({props:{position:i[5],secondsToWatchBeforeSkip:i[6],skipAd:i[8].actions.internal.skipAd}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&32&&(r.position=n[5]),o&64&&(r.secondsToWatchBeforeSkip=n[6]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ws(i){let e,t;return e=new g4({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ys(i){let e,t;return e=new T4({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function A4(i){let e,t,n,o,r,l,s,a=i[0]&&bs(),c=i[3]&&_s(i),f=i[7]&&ws(),m=i[4]&&ys();return{c(){e=T("div"),a&&a.c(),t=N(),n=T("video"),o=N(),c&&c.c(),r=N(),f&&f.c(),l=N(),m&&m.c(),Nt(n,"width","100%"),Nt(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,b){E(h,e,b),a&&a.m(e,null),p(e,t),p(e,n),i[19](n),p(e,o),c&&c.m(e,null),p(e,r),f&&f.m(e,null),p(e,l),m&&m.m(e,null),i[20](e),s=!0},p(h,[b]){h[0]?a||(a=bs(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,b),b&8&&d(c,1)):(c=_s(h),c.c(),d(c,1),c.m(e,r)):c&&(he(),g(c,1,1,()=>{c=null}),ve()),h[7]?f?b&128&&d(f,1):(f=ws(),f.c(),d(f,1),f.m(e,l)):f&&(he(),g(f,1,1,()=>{f=null}),ve()),h[4]?m?b&16&&d(m,1):(m=ys(),m.c(),d(m,1),m.m(e,null)):m&&(he(),g(m,1,1,()=>{m=null}),ve())},i(h){s||(d(c),d(f),d(m),s=!0)},o(h){g(c),g(f),g(m),s=!1},d(h){h&&P(e),a&&a.d(),i[19](null),c&&c.d(),f&&f.d(),m&&m.d(),i[20](null)}}}function L4(i,e,t){let n,o,r,l,s,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:m=0}=e;const h=Pt(),b=h.state.isEnded$;z(i,b,O=>t(7,s=O));const v=h.ui.isMobile;z(i,v,O=>t(0,o=O));let y,_,S=!1;const k=h.ads.playbackState;z(i,k,O=>t(18,n=O));const w=h.ads.canSkip,R=h.ads.position;z(i,R,O=>t(5,r=O));const X=h.ads.secondsToWatchBeforeSkip;z(i,X,O=>t(6,l=O));let V,K;vn(()=>{const O=new AbortController;let $=()=>{O.abort()};const C=h.getAdmanWrapper();if(!a){C.onAdmanLoadingError();return}const{width:D,height:re}=Xe(h.ui.playerSize),L=Xe(h.ui.isFullscreen),ae=Xe(h.ui.isAutoplay),pe={width:D,height:re,isFullscreen:L,isAutoplay:ae,adsContainer:y,adsVideoElement:_,slotId:a,params:c,previewParam:f,duration:m};return window.AdmanHTML?(C.initAdman(pe),S=!0):C.loadAdman(O.signal).then(()=>{C.initAdman(pe),S=!0}).catch(()=>{C.onAdmanLoadingError()}),()=>{!S&&$()}});function se(O){Se[O?"unshift":"push"](()=>{_=O,t(2,_)})}function ne(O){Se[O?"unshift":"push"](()=>{y=O,t(1,y)})}return i.$$set=O=>{"adsSlotId"in O&&t(14,a=O.adsSlotId),"adsParams"in O&&t(15,c=O.adsParams),"adsPreviewParam"in O&&t(16,f=O.adsPreviewParam),"duration"in O&&t(17,m=O.duration)},i.$$.update=()=>{i.$$.dirty&262144&&t(3,V=w&&n!==ni.INACTIVE),i.$$.dirty&262145&&t(4,K=o&&n!==ni.INACTIVE)},[o,y,_,V,K,r,l,s,h,b,v,k,R,X,a,c,f,m,n,se,ne]}class Sc extends ke{constructor(e){super(),ye(this,e,L4,A4,we,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},E4)}}const Vn=i=>{if(!isFinite(i))return"00:00";let e=Math.round(i);const t=Math.floor(e/(60*60));e-=t*(60*60);const n=Math.floor(e/60);return e-=n*60,(t>0?[t,n,e]:[n,e]).map(r=>r>9?String(r):`0${r}`).join(":")};function I4(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(t,"fill","none"),u(t,"stroke","#fff"),u(t,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(o,r){E(o,e,r),p(e,t),p(e,n)},d(o){o&&P(e)}}}function V4(i){let e,t,n;return{c(){e=B("svg"),t=B("rect"),n=B("path"),u(t,"width","42"),u(t,"height","20"),u(t,"rx","5"),u(t,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(o,r){E(o,e,r),p(e,t),p(e,n)},d(o){o&&P(e)}}}function M4(i){let e;function t(r,l){return r[0]?V4:I4}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,[l]){n!==(n=t(r))&&(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(r){r&&P(e),o.d(r)}}}function B4(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class Cc extends ke{constructor(e){super(),ye(this,e,B4,M4,we,{isActive:0})}}function N4(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 R4(i){let e=Vn(i[4]-i[3])+"",t;return{c(){t=Fe(e)},m(n,o){E(n,t,o)},p(n,o){o&24&&e!==(e=Vn(n[4]-n[3])+"")&&$e(t,e)},i:W,o:W,d(n){n&&P(t)}}}function O4(i){let e,t,n;return t=new Cc({props:{isActive:!0}}),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,r){E(o,e,r),F(t,e,null),n=!0},p:W,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function D4(i){let e,t,n,o,r,l,s;const a=[O4,R4],c=[];function f(m,h){return m[1]?0:1}return r=f(i),l=c[r]=a[r](i),{c(){e=T("div"),t=T("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=N(),o=T("span"),l.c(),u(t,"class","thumb-timer-equalizer v-7pnl2h"),u(o,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),M(e,"live",i[1]),M(e,"hidden",i[0]),M(e,"playing",i[2])},m(m,h){E(m,e,h),p(e,t),p(e,n),p(e,o),c[r].m(o,null),s=!0},p(m,[h]){let b=r;r=f(m),r===b?c[r].p(m,h):(he(),g(c[b],1,1,()=>{c[b]=null}),ve(),l=c[r],l?l.p(m,h):(l=c[r]=a[r](m),l.c()),d(l,1),l.m(o,null)),(!s||h&2)&&M(e,"live",m[1]),(!s||h&1)&&M(e,"hidden",m[0]),(!s||h&4)&&M(e,"playing",m[2])},i(m){s||(d(l),s=!0)},o(m){g(l),s=!1},d(m){m&&P(e),c[r].d()}}}function z4(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:r=!1}=e,{position:l}=e,{duration:s}=e;return i.$$set=a=>{"isHidden"in a&&t(0,n=a.isHidden),"isLive"in a&&t(1,o=a.isLive),"isPlaying"in a&&t(2,r=a.isPlaying),"position"in a&&t(3,l=a.position),"duration"in a&&t(4,s=a.duration)},[n,o,r,l,s]}class Pc extends ke{constructor(e){super(),ye(this,e,z4,D4,we,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},N4)}}const ur=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)}}},Yn=i=>{i.stopPropagation(),i.preventDefault()},F4=i=>{var e;let t=i.previousElementSibling;t||(t=(e=i.parentNode)===null||e===void 0?void 0:e.lastElementChild),t==null||t.focus()},H4=i=>{var e;let t=i.nextElementSibling;t||(t=(e=i.parentNode)===null||e===void 0?void 0:e.firstElementChild),t==null||t.focus()},U4=i=>{const e=i.code;return e===Ae.Tab&&!i.shiftKey||e===Ae.ArrowDown},j4=i=>{const e=i.code;return e===Ae.Tab||e===Ae.ArrowUp},Tc=i=>i.code===Ae.Escape,q4=i=>i.code===Ae.ArrowLeft,Ec=(i,e=!0)=>{const t=i.code;return[Ae.Enter,Ae.Space].includes(t)||!e&&t===Ae.ArrowRight},Ac=i=>{if(U4(i)){Yn(i),H4(i.target);return}j4(i)&&(Yn(i),F4(i.target))},wr=i=>(i==null?void 0:i.pointerType)==="",yr=(i,e,t)=>ki(void 0,void 0,void 0,function*(){yield bl(),i&&!i.classList.contains("opened")&&!e&&Xe(t)&&(t.set(!1),i.focus())}),kr=(i,e,t)=>ki(void 0,void 0,void 0,function*(){yield bl(),!!i&&e&&t&&i.firstChild.focus()}),rl=(i,e,t)=>ki(void 0,void 0,void 0,function*(){!!i&&t&&(e.set(!1),setTimeout(()=>{i.focus()},v0))}),Lc=(i,e)=>{Ac(i),Tc(i)&&(Yn(i),e())},sl=(i,e,t)=>ki(void 0,void 0,void 0,function*(){if(Ec(i,!1)){Yn(i),e(),yield bl();const n=t();n==null||n.focus()}}),al=(i,e,t,n)=>ki(void 0,void 0,void 0,function*(){if(Ac(i),q4(i)){Yn(i),e(),t.set(!0);return}Tc(i)&&(Yn(i),n())}),tn=(i,e)=>{Ec(i)&&(Yn(i),e())};function W4(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 ks(i){var R;let e,t,n,o,r,l,s=(i[9].features.saveDebugInfoToFile?G("menu_save_debug"):G("menu_copy_debug"))+"",a,c,f,m=G("menu_debug_overlay")+"",h,b,v,y,_=i[9].features.copyVideoLink&&((R=i[8].callbacks)==null?void 0:R.onCopyVideoLink)&&Z4(i),S=i[11]&&i[5]!==xe.ChromecastState.CONNECTED&&!i[16]&&Cs(i),k=i[9].features.videoRotate&&!i[16]&&G4(i),w=i[9].showSupport&&!i[6]&&Ps(i);return{c(){e=T("ul"),_&&_.c(),t=N(),S&&S.c(),n=N(),k&&k.c(),o=N(),w&&w.c(),r=N(),l=T("li"),a=Fe(s),c=N(),f=T("li"),h=Fe(m),u(l,"tabindex","0"),u(l,"role","menuitem"),u(l,"aria-label",i[9].features.saveDebugInfoToFile?G("menu_save_debug"):G("menu_copy_debug")),u(l,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",b=i[7]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),Nt(e,"top",i[3]+"px"),Nt(e,"left",i[2]+"px"),u(e,"class","v-gew86s")},m(X,V){E(X,e,V),_&&_.m(e,null),p(e,t),S&&S.m(e,null),p(e,n),k&&k.m(e,null),p(e,o),w&&w.m(e,null),p(e,r),p(e,l),p(l,a),p(e,c),p(e,f),p(f,h),i[40](e),v||(y=[_e(l,"click",lt(i[19])),_e(l,"keydown",i[29]),_e(f,"click",lt(i[20])),_e(f,"keydown",i[30]),_e(e,"contextmenu",oi(i[37])),_e(e,"keydown",i[23])],v=!0)},p(X,V){var K;X[9].features.copyVideoLink&&((K=X[8].callbacks)!=null&&K.onCopyVideoLink)&&_.p(X,V),X[11]&&X[5]!==xe.ChromecastState.CONNECTED&&!X[16]?S?S.p(X,V):(S=Cs(X),S.c(),S.m(e,n)):S&&(S.d(1),S=null),X[9].features.videoRotate&&!X[16]&&k.p(X,V),X[9].showSupport&&!X[6]?w?w.p(X,V):(w=Ps(X),w.c(),w.m(e,r)):w&&(w.d(1),w=null),V[0]&128&&b!==(b=X[7]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",b),V[0]&8&&Nt(e,"top",X[3]+"px"),V[0]&4&&Nt(e,"left",X[2]+"px")},d(X){X&&P(e),_&&_.d(),S&&S.d(),k&&k.d(),w&&w.d(),i[40](null),v=!1,ot(y)}}}function Z4(i){let e,t=G("menu_copy_video_link")+"",n,o,r,l,s,a=!i[4]&&!i[16]&&Ss(i);return{c(){e=T("li"),n=Fe(t),o=N(),a&&a.c(),r=bt(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){E(c,e,f),p(e,n),E(c,o,f),a&&a.m(c,f),E(c,r,f),l||(s=[_e(e,"click",lt(i[38])),_e(e,"keydown",i[24])],l=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=Ss(c),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(c){c&&(P(e),P(o),P(r)),a&&a.d(c),l=!1,ot(s)}}}function Ss(i){let e,t=G("menu_copy_video_link_with_timestamp")+"",n,o,r;return{c(){e=T("li"),n=Fe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(l,s){E(l,e,s),p(e,n),o||(r=[_e(e,"click",lt(i[39])),_e(e,"keydown",i[25])],o=!0)},p:W,d(l){l&&P(e),o=!1,ot(r)}}}function Cs(i){let e,t=G("menu_pip")+"",n,o,r;return{c(){e=T("li"),n=Fe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_pip")),u(e,"class","v-gew86s")},m(l,s){E(l,e,s),p(e,n),o||(r=[_e(e,"click",lt(i[21])),_e(e,"keydown",i[26])],o=!0)},p:W,d(l){l&&P(e),o=!1,ot(r)}}}function G4(i){let e,t=G("menu_video_rotate")+"",n,o,r;return{c(){e=T("li"),n=Fe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(l,s){E(l,e,s),p(e,n),o||(r=[_e(e,"click",lt(i[17])),_e(e,"keydown",i[27])],o=!0)},p:W,d(l){l&&P(e),o=!1,ot(r)}}}function Ps(i){let e,t=G("menu_report")+"",n,o,r;return{c(){e=T("li"),n=Fe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${G("menu_report")}. ${G("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(l,s){E(l,e,s),p(e,n),o||(r=[_e(e,"click",lt(i[18])),_e(e,"keydown",i[28])],o=!0)},p:W,d(l){l&&P(e),o=!1,ot(r)}}}function K4(i){let e,t=i[1]&&ks(i);return{c(){t&&t.c(),e=bt()},m(n,o){t&&t.m(n,o),E(n,e,o)},p(n,o){n[1]?t?t.p(n,o):(t=ks(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:W,o:W,d(n){n&&P(e),t&&t.d(n)}}}function Y4(i,e,t){var Te;let n,o,r,l,s,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:m=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:b=void 0}=e,{menuElementRef:v=void 0}=e,{returnFocus:y}=e,_=0,S=0;const k=Pt(),w=gn(),R=k.ui.contextMenuVisible,X=k.ui.debugPanelVisible;z(i,X,le=>t(7,s=le));const V=k.webApi.pictureInPictureApi,K=(Te=k.webApi.pictureInPictureApi)==null?void 0:Te.info.isActive$;z(i,K,le=>t(6,l=le));const se=k.state.chromecastState$;z(i,se,le=>t(5,r=le));const ne=k.state.isLive$;z(i,ne,le=>t(4,o=le));const O=k.state.positionExact$;z(i,O,le=>t(41,n=le));const $=k.state.isInteractive,C=()=>{R.set(!1)},D=(le,Q)=>{if(!v||!h||!b)return;const U=v.getBoundingClientRect(),Ne=h.getBoundingClientRect();t(2,_=le-Ne.left),t(3,S=Q-Ne.top),_+U.width>Ne.width&&t(2,_=Ne.width-U.width),S+U.height>Ne.height&&t(3,S=Ne.height-U.height),t(2,_=Math.max(_,0)),t(3,S=Math.max(S,0))},re=()=>{C(),k.actions.internal.videoRotate()},L=()=>{window.open(c,"_blank"),C(),k.actions.internal.pause()},ae=()=>{const le=k.actions.internal.getDebugTextData();if(w.features.saveDebugInfoToFile){const Q=new Blob([...le],{type:"plain/text"}),U=window.URL.createObjectURL(Q);E1(U,"vk_player_debug_info","txt")}else ur(k.actions.internal.getDebugTextData());C(),y==null||y()},pe=()=>{X.set(!0),C(),y==null||y()},ge=()=>Xi(this,null,function*(){try{V!=null&&V.isActive()?yield V==null?void 0:V.remove():yield V==null?void 0:V.request()}finally{C(),y==null||y()}}),ce=(le=!1)=>{var Q,U;if((Q=k.callbacks)!=null&&Q.onCopyVideoLink){const Ne=(U=k.callbacks)==null?void 0:U.onCopyVideoLink(le,n);Ne&&ur(Ne)}C()},Y=le=>{Lc(le,C)},fe=le=>{tn(le,()=>ce())},ze=le=>{tn(le,()=>ce(!0))},de=le=>{tn(le,()=>ge())},Le=le=>{tn(le,()=>re())},Pe=le=>{tn(le,()=>L())},ue=le=>{tn(le,()=>ae())},Ee=le=>{tn(le,()=>pe())};function A(le){So.call(this,i,le)}const oe=()=>ce(),Me=()=>ce(!0);function Ce(le){Se[le?"unshift":"push"](()=>{v=le,t(0,v)})}return i.$$set=le=>{"visible"in le&&t(1,a=le.visible),"supportLink"in le&&t(31,c=le.supportLink),"x"in le&&t(32,f=le.x),"y"in le&&t(33,m=le.y),"playerContainerRef"in le&&t(34,h=le.playerContainerRef),"controlsContainerRef"in le&&t(35,b=le.controlsContainerRef),"menuElementRef"in le&&t(0,v=le.menuElementRef),"returnFocus"in le&&t(36,y=le.returnFocus)},i.$$.update=()=>{i.$$.dirty[1]&6&&D(f,m)},[v,a,_,S,o,r,l,s,k,w,X,V,K,se,ne,O,$,re,L,ae,pe,ge,ce,Y,fe,ze,de,Le,Pe,ue,Ee,c,f,m,h,b,y,A,oe,Me,Ce]}class Q4 extends ke{constructor(e){super(),ye(this,e,Y4,K4,we,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},W4,[-1,-1])}}class X4{constructor(e){this.value=e,this.next=null}}class Kl{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new X4(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 J4(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 x4(i){let e,t;return{c(){e=T("div"),t=T("canvas"),u(t,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,o){E(n,e,o),p(e,t),i[3](t)},p:W,i:W,o:W,d(n){n&&P(e),i[3](null)}}}const Yl=16,Ql=120,Ts=60;function $4(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function e3(i,e,t){let{values:n=[]}=e,o,r;const l=Ql/Ts;vn(()=>{t(0,o.width=Ql,o),t(0,o.height=Yl,o),t(2,r=o.getContext("2d"))});function s(a){Se[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,Ql,Yl);let c=Ts-1;for(let f=n.length-1;f>=0;f--){const m=c*l,h=a>0?Yl*(n[f]/a):0;$4(r,m,0,l,h),c--}}},[o,n,r,s]}class Sr extends ke{constructor(e){super(),ye(this,e,e3,x4,we,{values:1},J4)}}function t3(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 Es(i){let e,t,n,o,r=i[0].id+"",l;return{c(){e=T("div"),t=T("div"),t.textContent="Video id",n=N(),o=T("span"),l=Fe(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].id+"")&&$e(l,r)},d(s){s&&P(e)}}}function As(i){let e,t,n,o,r=i[0].provider+"",l;return{c(){e=T("div"),t=T("div"),t.textContent="Provider",n=N(),o=T("span"),l=Fe(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].provider+"")&&$e(l,r)},d(s){s&&P(e)}}}function Ls(i){let e,t,n,o,r=i[0].viewport+"",l;return{c(){e=T("div"),t=T("div"),t.textContent="Viewport",n=N(),o=T("span"),l=Fe(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].viewport+"")&&$e(l,r)},d(s){s&&P(e)}}}function Is(i){let e,t,n,o,r=i[0].videoSize+"",l;return{c(){e=T("div"),t=T("div"),t.textContent="Video size",n=N(),o=T("span"),l=Fe(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].videoSize+"")&&$e(l,r)},d(s){s&&P(e)}}}function Vs(i){let e,t,n,o,r=i[0].cdn+"",l;return{c(){e=T("div"),t=T("div"),t.textContent="CDN host",n=N(),o=T("span"),l=Fe(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].cdn+"")&&$e(l,r)},d(s){s&&P(e)}}}function Ms(i){let e,t,n,o,r=i[0].volume+"",l,s;return{c(){e=T("div"),t=T("div"),t.textContent="Volume",n=N(),o=T("span"),l=Fe(r),s=Fe(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){E(a,e,c),p(e,t),p(e,n),p(e,o),p(o,l),p(o,s)},p(a,c){c&1&&r!==(r=a[0].volume+"")&&$e(l,r)},d(a){a&&P(e)}}}function Bs(i){let e,t,n,o,r=i[0].buffer.toFixed(2)+"",l,s;return{c(){e=T("div"),t=T("div"),t.textContent="Buffer",n=N(),o=T("span"),l=Fe(r),s=Fe(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){E(a,e,c),p(e,t),p(e,n),p(e,o),p(o,l),p(o,s)},p(a,c){c&1&&r!==(r=a[0].buffer.toFixed(2)+"")&&$e(l,r)},d(a){a&&P(e)}}}function Ns(i){let e,t,n,o,r,l,s=i[0].speed.toFixed(2)+"",a,c,f;return o=new Sr({props:{values:i[5]}}),{c(){e=T("div"),t=T("div"),t.textContent="Network",n=N(),j(o.$$.fragment),r=N(),l=T("span"),a=Fe(s),c=Fe(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){E(m,e,h),p(e,t),p(e,n),F(o,e,null),p(e,r),p(e,l),p(l,a),p(l,c),f=!0},p(m,h){const b={};h&32&&(b.values=m[5]),o.$set(b),(!f||h&1)&&s!==(s=m[0].speed.toFixed(2)+"")&&$e(a,s)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){g(o.$$.fragment,m),f=!1},d(m){m&&P(e),H(o)}}}function Rs(i){let e,t,n,o,r,l,s=i[0].bitrate.toFixed(2)+"",a,c,f;return o=new Sr({props:{values:i[6]}}),{c(){e=T("div"),t=T("div"),t.textContent="V bitrate",n=N(),j(o.$$.fragment),r=N(),l=T("span"),a=Fe(s),c=Fe(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){E(m,e,h),p(e,t),p(e,n),F(o,e,null),p(e,r),p(e,l),p(l,a),p(l,c),f=!0},p(m,h){const b={};h&64&&(b.values=m[6]),o.$set(b),(!f||h&1)&&s!==(s=m[0].bitrate.toFixed(2)+"")&&$e(a,s)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){g(o.$$.fragment,m),f=!1},d(m){m&&P(e),H(o)}}}function i3(i){let e,t,n,o,r,l,s,a,c=i[0].version+"",f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O,$,C,D,re,L,ae,pe,ge,ce,Y,fe,ze,de,Le=i[0].id&&Es(i),Pe=i[0].provider&&As(i),ue=i[0].viewport&&Ls(i),Ee=i[0].videoSize&&Is(i),A=i[0].cdn&&Vs(i),oe=i[0].volume&&Ms(i),Me=i[0].buffer&&Bs(i),Ce=i[0].speed&&Ns(i),Te=i[0].bitrate&&Rs(i);return pe=new Sr({props:{values:i[4]}}),{c(){e=T("div"),t=T("button"),t.textContent="[x]",n=N(),o=T("div"),r=T("div"),l=T("div"),l.textContent="Version",s=N(),a=T("span"),f=Fe(c),m=N(),Le&&Le.c(),h=N(),Pe&&Pe.c(),b=N(),ue&&ue.c(),v=N(),Ee&&Ee.c(),y=N(),A&&A.c(),_=N(),oe&&oe.c(),S=N(),Me&&Me.c(),k=N(),w=T("div"),R=T("div"),R.textContent="Dropped",X=N(),V=T("span"),K=Fe(i[2]),se=Fe(" / "),ne=Fe(i[1]),O=Fe(" frames"),$=N(),Ce&&Ce.c(),C=N(),Te&&Te.c(),D=N(),re=T("div"),L=T("div"),L.textContent="FPS",ae=N(),j(pe.$$.fragment),ge=N(),ce=T("span"),Y=Fe(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(R,"class","v-1gy2e68"),u(w,"class","v-1gy2e68"),u(L,"class","v-1gy2e68"),u(re,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),u(e,"role","region"),u(e,"aria-label",G("aria_label_debug_panel")),M(e,"container-mobile",i[7])},m(le,Q){E(le,e,Q),p(e,t),p(e,n),p(e,o),p(o,r),p(r,l),p(r,s),p(r,a),p(a,f),p(o,m),Le&&Le.m(o,null),p(o,h),Pe&&Pe.m(o,null),p(o,b),ue&&ue.m(o,null),p(o,v),Ee&&Ee.m(o,null),p(o,y),A&&A.m(o,null),p(o,_),oe&&oe.m(o,null),p(o,S),Me&&Me.m(o,null),p(o,k),p(o,w),p(w,R),p(w,X),p(w,V),p(V,K),p(V,se),p(V,ne),p(V,O),p(o,$),Ce&&Ce.m(o,null),p(o,C),Te&&Te.m(o,null),p(o,D),p(o,re),p(re,L),p(re,ae),F(pe,re,null),p(re,ge),p(re,ce),p(ce,Y),fe=!0,ze||(de=_e(t,"click",lt(i[9])),ze=!0)},p(le,[Q]){(!fe||Q&1)&&c!==(c=le[0].version+"")&&$e(f,c),le[0].id?Le?Le.p(le,Q):(Le=Es(le),Le.c(),Le.m(o,h)):Le&&(Le.d(1),Le=null),le[0].provider?Pe?Pe.p(le,Q):(Pe=As(le),Pe.c(),Pe.m(o,b)):Pe&&(Pe.d(1),Pe=null),le[0].viewport?ue?ue.p(le,Q):(ue=Ls(le),ue.c(),ue.m(o,v)):ue&&(ue.d(1),ue=null),le[0].videoSize?Ee?Ee.p(le,Q):(Ee=Is(le),Ee.c(),Ee.m(o,y)):Ee&&(Ee.d(1),Ee=null),le[0].cdn?A?A.p(le,Q):(A=Vs(le),A.c(),A.m(o,_)):A&&(A.d(1),A=null),le[0].volume?oe?oe.p(le,Q):(oe=Ms(le),oe.c(),oe.m(o,S)):oe&&(oe.d(1),oe=null),le[0].buffer?Me?Me.p(le,Q):(Me=Bs(le),Me.c(),Me.m(o,k)):Me&&(Me.d(1),Me=null),(!fe||Q&4)&&$e(K,le[2]),(!fe||Q&2)&&$e(ne,le[1]),le[0].speed?Ce?(Ce.p(le,Q),Q&1&&d(Ce,1)):(Ce=Ns(le),Ce.c(),d(Ce,1),Ce.m(o,C)):Ce&&(he(),g(Ce,1,1,()=>{Ce=null}),ve()),le[0].bitrate?Te?(Te.p(le,Q),Q&1&&d(Te,1)):(Te=Rs(le),Te.c(),d(Te,1),Te.m(o,D)):Te&&(he(),g(Te,1,1,()=>{Te=null}),ve());const U={};Q&16&&(U.values=le[4]),pe.$set(U),(!fe||Q&8)&&$e(Y,le[3]),(!fe||Q&128)&&M(e,"container-mobile",le[7])},i(le){fe||(d(Ce),d(Te),d(pe.$$.fragment,le),fe=!0)},o(le){g(Ce),g(Te),g(pe.$$.fragment,le),fe=!1},d(le){le&&P(e),Le&&Le.d(),Pe&&Pe.d(),ue&&ue.d(),Ee&&Ee.d(),A&&A.d(),oe&&oe.d(),Me&&Me.d(),Ce&&Ce.d(),Te&&Te.d(),H(pe),ze=!1,de()}}}function n3(i,e,t){let n;const o=Pt(),r=o.ui.debugPanelVisible,l=o.ui.isMobile;z(i,l,w=>t(7,n=w));const s=()=>{ie.safeStorage.remove(or),r.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,m=0,h=0;const b=new Kl(60),v=new Kl(60),y=new Kl(60);let _=[],S=[],k=[];return vn(()=>{ie.safeStorage.set(or,"true"),o.actions.internal.startLogging(),c&&(t(2,m=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const w=window.setInterval(()=>{t(0,a=o.actions.internal.getDebugPanelData())},500);let R;return c&&(R=window.setInterval(()=>{if(c){t(2,m=c.getVideoPlaybackQuality().droppedVideoFrames);const X=c.getVideoPlaybackQuality().totalVideoFrames;t(3,h=X-f),t(1,f=X),b.push(h),a.speed&&v.push(a.speed),a.bitrate&&y.push(a.bitrate),t(4,_=b.getValuesFromBottom()),t(5,S=v.getValuesFromBottom()),t(6,k=y.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(w),R&&clearInterval(R)}}),[a,f,m,h,_,S,k,n,l,s]}class Ic extends ke{constructor(e){super(),ye(this,e,n3,i3,we,{},t3)}}function o3(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 l3(i){let e,t,n;return{c(){e=T("div"),u(e,"class","close v-1ome55p")},m(o,r){E(o,e,r),t||(n=_e(e,"click",lt(i[0])),t=!0)},p:W,i:W,o:W,d(o){o&&P(e),t=!1,n()}}}function r3(i){function e(t){So.call(this,i,t)}return[e]}class s3 extends ke{constructor(e){super(),ye(this,e,r3,l3,we,{},o3)}}function a3(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 u3(i){let e,t,n,o,r,l,s;return{c(){e=T("div"),t=T("canvas"),n=N(),o=B("svg"),r=B("g"),l=B("g"),s=B("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(s,"class","_play"),u(s,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(s,"fill","#fff"),u(l,"fill-rule","nonzero"),u(r,"fill","none"),u(r,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){E(a,e,c),p(e,t),i[2](t),p(e,n),p(e,o),p(o,r),p(r,l),p(l,s)},p:W,i:W,o:W,d(a){a&&P(e),i[2](null)}}}const c3=5e3;function f3(i,e,t){let{onTimerEnded:n=ie.noop}=e,o;vn(()=>{let l;const s=o.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/c3;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){Se[l?"unshift":"push"](()=>{o=l,t(0,o)})}return i.$$set=l=>{"onTimerEnded"in l&&t(1,n=l.onTimerEnded)},[o,n,r]}class d3 extends ke{constructor(e){super(),ye(this,e,f3,u3,we,{onTimerEnded:1},a3)}}function m3(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 Os(i){let e,t;return e=new d3({props:{onTimerEnded:i[2]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&4&&(r.onTimerEnded=n[2]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function p3(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X;s=new s3({}),s.$on("click",i[4]);let V=i[3]&&Os(i);return{c(){e=T("div"),t=N(),n=T("div"),o=T("div"),r=T("div"),r.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",l=N(),j(s.$$.fragment),a=N(),c=T("div"),f=T("div"),m=T("div"),h=T("div"),b=N(),V&&V.c(),y=N(),_=T("div"),S=T("div"),k=Fe(i[0]),u(e,"class","overlay v-kisfwc"),u(r,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(m,"class","thumb v-kisfwc"),u(m,"style",v=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(S,"class","title v-kisfwc"),u(_,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(K,se){E(K,e,se),E(K,t,se),E(K,n,se),p(n,o),p(o,r),p(o,l),F(s,o,null),p(n,a),p(n,c),p(c,f),p(f,m),p(m,h),p(m,b),V&&V.m(m,null),p(c,y),p(c,_),p(_,S),p(S,k),w=!0,R||(X=_e(c,"click",function(){Sn(i[2])&&i[2].apply(this,arguments)}),R=!0)},p(K,[se]){i=K,i[3]?V?(V.p(i,se),se&8&&d(V,1)):(V=Os(i),V.c(),d(V,1),V.m(m,null)):V&&(he(),g(V,1,1,()=>{V=null}),ve()),(!w||se&2&&v!==(v=`background-image: url('${i[1]}')`))&&u(m,"style",v),(!w||se&1)&&$e(k,i[0])},i(K){w||(d(s.$$.fragment,K),d(V),w=!0)},o(K){g(s.$$.fragment,K),g(V),w=!1},d(K){K&&(P(e),P(t),P(n)),H(s),V&&V.d(),R=!1,X()}}}function h3(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 v3 extends ke{constructor(e){super(),ye(this,e,h3,p3,we,{title:0,thumb:1,playNextVideo:2},m3)}}const Vc=(i,e)=>Math.min(+(i+e).toFixed(2),1),Mc=(i,e)=>Math.max(+(i-e).toFixed(2),0),Bc=(i,e,t)=>{const n=Vc(e,t);e<1&&i.actions.internal.setVolume(n)},Nc=(i,e,t)=>{const n=Mc(e,t);e>0&&i.actions.internal.setVolume(n)};function g3(i){je(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function b3(i){let e,t,n,o;const r=i[22].default,l=Mn(r,i,i[21],null);return{c(){e=T("div"),l&&l.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(s,a){E(s,e,a),l&&l.m(e,null),i[23](e),t=!0,n||(o=[_e(e,"keyup",i[13]),_e(e,"keydown",i[12])],n=!0)},p(s,a){l&&l.p&&(!t||a[0]&2097152)&&Nn(l,r,s,s[21],t?Bn(r,s[21],a,null):Rn(s[21]),null)},i(s){t||(d(l,s),t=!0)},o(s){g(l,s),t=!1},d(s){s&&P(e),l&&l.d(s),i[23](null),n=!1,ot(o)}}}function _3(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,{$$slots:v={},$$scope:y}=e,{isAds:_}=e,{hideContextMenu:S}=e,{toggleFullscreen:k}=e,{showHotKeyHelpers:w}=e,{showKeyMap:R}=e,{fakePlayButtonHandler:X}=e;const V=Pt(),K=gn(),se=V.getLogger().createComponentLog("KeyboardControls component"),ne=V.state.playbackState$;z(i,ne,A=>t(27,o=A));const O=V.ads.playbackState;z(i,O,A=>t(26,n=A));const $=V.state.positionExact$;z(i,$,A=>t(33,f=A));const C=V.state.duration$;z(i,C,A=>t(32,c=A));const D=V.state.volume$;z(i,D,A=>t(36,b=A));const re=V.ui.controls.disabledControls$;z(i,re,A=>t(31,a=A));const L=V.state.muted$;z(i,L,A=>t(29,l=A));const ae=V.state.currentSubtitle$;z(i,ae,A=>t(28,r=A));const pe=V.state.currentPlaybackRate$;z(i,pe,A=>t(34,m=A));const ge=V.state.availablePlaybackRates$;z(i,ge,A=>t(35,h=A));const ce=V.state.isEnded$;z(i,ce,A=>t(30,s=A));let Y=0,fe=!0,ze;const de=()=>ze==null?void 0:ze.focus(),Le=A=>(A!==fe&&(fe=A,Y=0),Y+=1,(K.controls.seekStepKeyboard+K.controls.seekStepKeyboard*Y)/1e3),Pe=A=>{var Ze;const oe=A.target,Me=(Ze=oe==null?void 0:oe.getAttribute("role"))==null?void 0:Ze.includes("menuitem"),Ce=oe.classList.contains("btn"),Te=A.code;if(Ce&&Te===Ae.Space)return;const le=w0.has(Te);if(Me&&le)return;const Q=!_0.has(Te);if(A.ctrlKey&&Q||A.altKey&&Q||A.metaKey)return;const U=Me&&Te===Ae.Escape;y0.has(Te)||U||S();const Ne=o===xe.PlaybackState.PLAYING||o===xe.PlaybackState.PAUSED,et=_&&(n===ni.PAUSED||n===ni.PLAYING),rt=!et&&!a.has(ct.TIMELINE);if(Ne||et)switch(se({message:`key down, code: ${Te}`}),Te){case Ae.KeyJ:case Ae.ArrowLeft:{if(!rt)break;if(A.ctrlKey||A.altKey){const Ve=V.actions.internal.getPrevEpisode();V.actions.internal.seekToPrevEpisode(Ve),Ve&&w({type:Ye.EPISODE_PREV,text:Ve.text}),A.preventDefault()}else{const Ve=A.shiftKey?Le(!1):K.controls.seekStepKeyboard/1e3,Je=Math.max(f-Ve,0);f>0&&(V.actions.internal.seekTime(Je,kt.SeekAction.DOUBLE_TAP),w({type:Ye.BACKWARD_SEEK,text:Ve.toString()}),A.preventDefault())}break}case Ae.KeyL:case Ae.ArrowRight:{if(!rt)break;if(A.ctrlKey||A.altKey){const Ve=V.actions.internal.getNextEpisode();V.actions.internal.seekToNextEpisode(Ve),Ve&&w({type:Ye.EPISODE_NEXT,text:Ve.text}),A.preventDefault()}else{const Ve=A.shiftKey?Le(!0):K.controls.seekStepKeyboard/1e3,Je=Math.min(f+Ve,c);Math.round(f)<Math.round(c)&&(V.actions.internal.seekTime(Je,kt.SeekAction.DOUBLE_TAP),w({type:Ye.FORWARD_SEEK,text:Ve.toString()}),A.preventDefault())}break}case Ae.ArrowUp:{const Ve=b,Je=K.controls.volumeStepKeyboard,pt=Ve<=1;if(Bc(V,Ve,Je),pt){const at=Math.round(Vc(Ve,Je)*100).toString();w({type:Ye.VOLUME,t:{key:"hotkey_helper_current_volume",value:at}})}A.preventDefault();break}case Ae.ArrowDown:{const Ve=b,Je=K.controls.volumeStepKeyboard,pt=Ve>=0;if(Nc(V,Ve,Je),pt){const at=Math.round(Mc(Ve,Je)*100).toString();w({type:Ye.VOLUME,t:{key:"hotkey_helper_current_volume",value:at}})}A.preventDefault();break}case Ae.Comma:{if(A.shiftKey){V.actions.internal.decrementPlaybackRate();const Ve=h.find(Je=>Je.value===m);w({type:Ye.RATE_DOWN,text:Ve==null?void 0:Ve.displayValue}),A.preventDefault()}else{if(et||o!==xe.PlaybackState.PAUSED)break;const Ve=Math.max(f-K.controls.seekStepFrame/1e3,0);f>0&&(w({type:Ye.BACKWARD_SEEK}),V.actions.internal.clearDelayedBufferingCheckTimeout(),V.actions.internal.seekTime(Ve,kt.SeekAction.DOUBLE_TAP),A.preventDefault())}break}case Ae.Period:{if(A.shiftKey){V.actions.internal.incrementPlaybackRate();const Ve=h.find(Je=>Je.value===m);w({type:Ye.RATE_UP,text:Ve==null?void 0:Ve.displayValue}),A.preventDefault()}else{if(et||o!==xe.PlaybackState.PAUSED)break;const Ve=Math.min(f+K.controls.seekStepFrame/1e3,c);f<c&&(w({type:Ye.FORWARD_SEEK}),V.actions.internal.clearDelayedBufferingCheckTimeout(),V.actions.internal.seekTime(Ve,kt.SeekAction.DOUBLE_TAP),A.preventDefault())}break}case Ae.KeyK:case Ae.Space:if(!a.has(ct.PLAY_BUTTON))if(X)X();else{V.actions.internal.togglePlay();let Ve=Ye.PLAY;o===xe.PlaybackState.PAUSED?Ve=Ye.PAUSE:s&&(Ve=Ye.REPLAY),w({type:Ve})}A.preventDefault();break;case Ae.KeyM:{w({type:l?Ye.VOLUME:Ye.MUTE}),V.actions.internal.toggleMuted(),A.preventDefault();break}case Ae.KeyF:k(),A.preventDefault();break;case Ae.KeyC:V.actions.internal.toggleSubtitle(),r.value!=="off"?w({type:Ye.SUBTITLES_ON,text:r==null?void 0:r.displayValue}):w({type:Ye.SUBTITLES_OFF}),A.preventDefault();break;case Ae.KeyI:V.actions.internal.togglePictureInPicture(),A.preventDefault();break;case Ae.Digit1:case Ae.Numpad1:w(),V.actions.internal.seekToPercent(.1,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit2:case Ae.Numpad2:w(),V.actions.internal.seekToPercent(.2,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit3:case Ae.Numpad3:w(),V.actions.internal.seekToPercent(.3,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit4:case Ae.Numpad4:w(),V.actions.internal.seekToPercent(.4,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit5:case Ae.Numpad5:w(),V.actions.internal.seekToPercent(.5,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit6:case Ae.Numpad6:w(),V.actions.internal.seekToPercent(.6,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit7:case Ae.Numpad7:w(),V.actions.internal.seekToPercent(.7,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit8:case Ae.Numpad8:w(),V.actions.internal.seekToPercent(.8,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit9:case Ae.Numpad9:w(),V.actions.internal.seekToPercent(.9,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Digit0:case Ae.Numpad0:w(),V.actions.internal.seekToPercent(0,kt.SeekAction.DOUBLE_TAP),A.preventDefault();break;case Ae.Slash:{A.shiftKey&&K.features.hotKeyMapModal&&(R(),A.preventDefault());break}case Ae.ShiftLeft:case Ae.ShiftRight:A.preventDefault();break;case Ae.Tab:case Ae.Escape:case Ae.Enter:break;default:ie.checkNever(Te);break}},ue=A=>{const oe=A.code;if(A.ctrlKey||A.altKey||A.metaKey)return;const Me=o===xe.PlaybackState.PLAYING||o===xe.PlaybackState.PAUSED,Ce=_&&(n===ni.PAUSED||n===ni.PLAYING);if(Me||Ce)switch(oe){case Ae.ShiftLeft:case Ae.ShiftRight:Y=0;break}};function Ee(A){Se[A?"unshift":"push"](()=>{ze=A,t(0,ze)})}return i.$$set=A=>{"isAds"in A&&t(14,_=A.isAds),"hideContextMenu"in A&&t(15,S=A.hideContextMenu),"toggleFullscreen"in A&&t(16,k=A.toggleFullscreen),"showHotKeyHelpers"in A&&t(17,w=A.showHotKeyHelpers),"showKeyMap"in A&&t(18,R=A.showKeyMap),"fakePlayButtonHandler"in A&&t(19,X=A.fakePlayButtonHandler),"$$scope"in A&&t(21,y=A.$$scope)},[ze,ne,O,$,C,D,re,L,ae,pe,ge,ce,Pe,ue,_,S,k,w,R,X,de,y,v,Ee]}class w3 extends ke{constructor(e){super(),ye(this,e,_3,b3,we,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},g3,[-1,-1])}get focus(){return this.$$.ctx[20]}}function y3(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 k3(i){let e;return{c(){e=T("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(t,n){E(t,e,n)},p:W,i:W,o:W,d(t){t&&P(e)}}}class Rc extends ke{constructor(e){super(),ye(this,e,null,k3,we,{},y3)}}function S3(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),b=B("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2422_111980"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2422_111980"),u(b,"result","shape"),u(l,"id","a"),u(l,"x",".5"),u(l,"y",".5"),u(l,"width","23"),u(l,"height","23"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(v,y){E(v,e,y),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,b)},p:W,i:W,o:W,d(v){v&&P(e)}}}class C3 extends ke{constructor(e){super(),ye(this,e,null,S3,we,{})}}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 T3(i){let e,t,n,o,r,l,s,a,c,f,m,h;const b=i[13].default,v=Mn(b,i,i[12],null);return{c(){var y,_,S,k,w,R;e=T("button"),v&&v.c(),u(e,"class",t="btn "+i[1]+" v-1anemql"),u(e,"style",n=i[2]||null),e.disabled=o=(y=i[3])!=null?y:null,u(e,"aria-hidden",r=(_=i[5])!=null?_:null),u(e,"aria-label",l=(S=i[6])!=null?S:null),u(e,"aria-keyshortcuts",s=(k=i[7])!=null?k:null),u(e,"aria-expanded",a=(w=i[8])!=null?w:null),u(e,"data-testid",c=(R=i[4])!=null?R:null)},m(y,_){E(y,e,_),v&&v.m(e,null),i[15](e),f=!0,m||(h=[_e(e,"pointerdown",lt(oi(i[14]))),_e(e,"click",lt(oi(function(){Sn(i[9]===ie.noop?null:i[9])&&(i[9]===ie.noop?null:i[9]).apply(this,arguments)}))),_e(e,"focus",oi(function(){Sn(i[10]===ie.noop?null:i[10])&&(i[10]===ie.noop?null:i[10]).apply(this,arguments)})),_e(e,"blur",oi(function(){Sn(i[11]===ie.noop?null:i[11])&&(i[11]===ie.noop?null:i[11]).apply(this,arguments)}))],m=!0)},p(y,[_]){var S,k,w,R,X,V;i=y,v&&v.p&&(!f||_&4096)&&Nn(v,b,i,i[12],f?Bn(b,i[12],_,null):Rn(i[12]),null),(!f||_&2&&t!==(t="btn "+i[1]+" v-1anemql"))&&u(e,"class",t),(!f||_&4&&n!==(n=i[2]||null))&&u(e,"style",n),(!f||_&8&&o!==(o=(S=i[3])!=null?S:null))&&(e.disabled=o),(!f||_&32&&r!==(r=(k=i[5])!=null?k:null))&&u(e,"aria-hidden",r),(!f||_&64&&l!==(l=(w=i[6])!=null?w:null))&&u(e,"aria-label",l),(!f||_&128&&s!==(s=(R=i[7])!=null?R:null))&&u(e,"aria-keyshortcuts",s),(!f||_&256&&a!==(a=(X=i[8])!=null?X:null))&&u(e,"aria-expanded",a),(!f||_&16&&c!==(c=(V=i[4])!=null?V:null))&&u(e,"data-testid",c)},i(y){f||(d(v,y),f=!0)},o(y){g(v,y),f=!1},d(y){y&&P(e),v&&v.d(y),i[15](null),m=!1,ot(h)}}}function E3(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:r=""}=e,{style:l=""}=e,{disabled:s=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:m=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:b=void 0}=e,{click:v=ie.noop}=e,{focus:y=ie.noop}=e,{blur:_=ie.noop}=e;function S(w){So.call(this,i,w)}function k(w){Se[w?"unshift":"push"](()=>{m=w,t(0,m)})}return i.$$set=w=>{"className"in w&&t(1,r=w.className),"style"in w&&t(2,l=w.style),"disabled"in w&&t(3,s=w.disabled),"testId"in w&&t(4,a=w.testId),"ariaHidden"in w&&t(5,c=w.ariaHidden),"ariaLabel"in w&&t(6,f=w.ariaLabel),"ref"in w&&t(0,m=w.ref),"ariaKeyShortCut"in w&&t(7,h=w.ariaKeyShortCut),"ariaExpanded"in w&&t(8,b=w.ariaExpanded),"click"in w&&t(9,v=w.click),"focus"in w&&t(10,y=w.focus),"blur"in w&&t(11,_=w.blur),"$$scope"in w&&t(12,o=w.$$scope)},[m,r,l,s,a,c,f,h,b,v,y,_,o,n,S,k]}class Si extends ke{constructor(e){super(),ye(this,e,E3,T3,we,{className:1,style:2,disabled:3,testId:4,ariaHidden:5,ariaLabel:6,ref:0,ariaKeyShortCut:7,ariaExpanded:8,click:9,focus:10,blur:11},P3)}}function A3(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 Ds(i){let e,t,n,o,r,l=i[2]&&zs(i);return{c(){e=T("div"),t=T("h3"),n=Fe(i[3]),o=N(),l&&l.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){E(s,e,a),p(e,t),p(t,n),p(e,o),l&&l.m(e,null),r=!0},p(s,a){(!r||a&8)&&$e(n,s[3]),s[2]?l?(l.p(s,a),a&4&&d(l,1)):(l=zs(s),l.c(),d(l,1),l.m(e,null)):l&&(he(),g(l,1,1,()=>{l=null}),ve())},i(s){r||(d(l),r=!0)},o(s){g(l),r=!1},d(s){s&&P(e),l&&l.d()}}}function zs(i){let e,t;return e=new Si({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:G("hotkey_map_modal_close_btn_text"),$$slots:{default:[L3]},$$scope:{ctx:i}}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&1&&(r.click=n[0]),o&32&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function L3(i){let e,t;return e=new C3({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function I3(i){let e,t,n,o,r,l,s=i[1]&&Ds(i);const a=i[4].default,c=Mn(a,i,i[5],null);return{c(){e=T("div"),t=T("div"),s&&s.c(),n=N(),o=T("div"),r=T("div"),c&&c.c(),u(r,"class","modal-main v-1witlsj"),u(o,"class","modal-scroll v-1witlsj"),u(t,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,m){E(f,e,m),p(e,t),s&&s.m(t,null),p(t,n),p(t,o),p(o,r),c&&c.m(r,null),l=!0},p(f,[m]){f[1]?s?(s.p(f,m),m&2&&d(s,1)):(s=Ds(f),s.c(),d(s,1),s.m(t,n)):s&&(he(),g(s,1,1,()=>{s=null}),ve()),c&&c.p&&(!l||m&32)&&Nn(c,a,f,f[5],l?Bn(a,f[5],m,null):Rn(f[5]),null)},i(f){l||(d(s),d(c,f),l=!0)},o(f){g(s),g(c,f),l=!1},d(f){f&&P(e),s&&s.d(),c&&c.d(f)}}}function V3(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 M3 extends ke{constructor(e){super(),ye(this,e,V3,I3,we,{onClose:0,showHeader:1,showCloseCross:2,title:3},A3)}}const B3=new Set(["BR"]),Fs=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;B3.has(l)||(e=r.parentElement)===null||e===void 0||e.removeChild(r)}return t.innerHTML};function N3(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 Hs(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function Us(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function js(i){let e,t,n=Fs(i[9])+"",o,r,l=i[10]+"",s,a;return{c(){e=T("li"),t=T("span"),o=N(),r=T("span"),s=Fe(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){E(c,e,f),p(e,t),t.innerHTML=n,p(e,o),p(e,r),p(r,s),p(e,a)},p(c,f){f&1&&n!==(n=Fs(c[9])+"")&&(t.innerHTML=n),f&1&&l!==(l=c[10]+"")&&$e(s,l)},d(c){c&&P(e)}}}function qs(i){let e,t,n=i[5]+"",o,r,l,s,a=xt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=js(Us(i,a,f));return{c(){e=T("div"),t=T("h5"),o=Fe(n),r=N(),l=T("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,m){E(f,e,m),p(e,t),p(t,o),p(e,r),p(e,l);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(l,null);p(e,s)},p(f,m){if(m&1&&n!==(n=f[5]+"")&&$e(o,n),m&1){a=xt(f[6]);let h;for(h=0;h<a.length;h+=1){const b=Us(f,a,h);c[h]?c[h].p(b,m):(c[h]=js(b),c[h].c(),c[h].m(l,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&P(e),Cn(c,f)}}}function R3(i){let e,t=xt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=qs(Hs(i,t,o));return{c(){e=T("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,r){E(o,e,r);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,r){if(r&1){t=xt(o[0].groups);let l;for(l=0;l<t.length;l+=1){const s=Hs(o,t,l);n[l]?n[l].p(s,r):(n[l]=qs(s),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},d(o){o&&P(e),Cn(n,o)}}}function O3(i){let e,t;return e=new M3({props:{title:i[0].title,onClose:i[2],$$slots:{default:[R3]},$$scope:{ctx:i}}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.title=n[0].title),o&8193&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function D3(i,e,t){let n;const o=Pt(),{data:r,show:l}=o.ui.modals.hotKeyMap;return z(i,r,a=>t(0,n=a)),[n,r,()=>{l.set(!1)}]}class z3 extends ke{constructor(e){super(),ye(this,e,D3,O3,we,{},N3)}}function F3(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 H3(i){let e,t;const n=i[1].default,o=Mn(n,i,i[0],null);return{c(){e=T("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(r,l){E(r,e,l),o&&o.m(e,null),t=!0},p(r,[l]){o&&o.p&&(!t||l&1)&&Nn(o,n,r,r[0],t?Bn(n,r[0],l,null):Rn(r[0]),null)},i(r){t||(d(o,r),t=!0)},o(r){g(o,r),t=!1},d(r){r&&P(e),o&&o.d(r)}}}function U3(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=r=>{"$$scope"in r&&t(0,o=r.$$scope)},[o,n]}class j3 extends ke{constructor(e){super(),ye(this,e,U3,H3,we,{},F3)}}function q3(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p:W,i:W,o:W,d(o){o&&P(e)}}}class W3 extends ke{constructor(e){super(),ye(this,e,null,q3,we,{})}}function Z3(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p:W,i:W,o:W,d(o){o&&P(e)}}}class G3 extends ke{constructor(e){super(),ye(this,e,null,Z3,we,{})}}function K3(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Y3 extends ke{constructor(e){super(),ye(this,e,null,K3,we,{})}}function Q3(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Oc extends ke{constructor(e){super(),ye(this,e,null,Q3,we,{})}}function X3(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p:W,i:W,o:W,d(o){o&&P(e)}}}class Dc extends ke{constructor(e){super(),ye(this,e,null,X3,we,{})}}const Eo=i=>{switch(i){case xe.VideoQuality.Q_720P:return Y3;case xe.VideoQuality.Q_1080P:return Oc;case xe.VideoQuality.Q_1440P:return Dc;case xe.VideoQuality.Q_2160P:return W3;case xe.VideoQuality.Q_4320P:return G3}};function J3(i){je(i,"v-1fzhlx0",".icon.v-1fzhlx0{display:flex;position:relative;width:24px;height:24px}.icon.v-1fzhlx0 .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-1fzhlx0 .pillow{right:-13px}")}function x3(i){let e,t,n,o,r,l,s=i[1]&&Ws(i);return{c(){e=T("div"),s&&s.c(),t=N(),n=B("svg"),o=B("path"),r=B("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(r,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(r,"fill","#fff"),M(r,"hidden",!!i[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-1fzhlx0"),u(e,"aria-hidden","true"),M(e,"triple",i[2])},m(a,c){E(a,e,c),s&&s.m(e,null),p(e,t),p(e,n),p(n,o),p(n,r),l=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&d(s,1)):(s=Ws(a),s.c(),d(s,1),s.m(e,t)):s&&(he(),g(s,1,1,()=>{s=null}),ve()),(!l||c&2)&&M(r,"hidden",!!a[1]),(!l||c&4)&&M(e,"triple",a[2])},i(a){l||(d(s),l=!0)},o(a){g(s),l=!1},d(a){a&&P(e),s&&s.d()}}}function $3(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}function Ws(i){let e,t;return e=new j3({props:{$$slots:{default:[ep]},$$scope:{ctx:i}}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&18&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ep(i){let e,t,n;var o=i[1];function r(l){return{}}return o&&(e=En(o,r())),{c(){e&&j(e.$$.fragment),t=bt()},m(l,s){e&&F(e,l,s),E(l,t,s),n=!0},p(l,s){if(s&2&&o!==(o=l[1])){if(e){he();const a=e;g(a.$$.fragment,1,0,()=>{H(a,1)}),ve()}o?(e=En(o,r()),j(e.$$.fragment),d(e.$$.fragment,1),F(e,t.parentNode,t)):e=null}},i(l){n||(e&&d(e.$$.fragment,l),n=!0)},o(l){e&&g(e.$$.fragment,l),n=!1},d(l){l&&P(t),e&&H(e,l)}}}function tp(i){let e,t,n,o;const r=[$3,x3],l=[];function s(a,c){return a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function ip(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=Eo(r)),i.$$.dirty&2&&t(2,l=!!n&&[Oc,Dc].includes(n))},[o,n,l,r]}class Cr extends ke{constructor(e){super(),ye(this,e,ip,tp,we,{isMobile:0,currentQuality:3},J3)}}function np(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class zc extends ke{constructor(e){super(),ye(this,e,null,np,we,{})}}function op(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(t,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class lp extends ke{constructor(e){super(),ye(this,e,null,op,we,{})}}function rp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(t,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class sp extends ke{constructor(e){super(),ye(this,e,null,rp,we,{})}}function ap(i){let e,t,n,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(r,l){E(r,e,l),p(e,t),p(t,n),p(t,o)},p:W,i:W,o:W,d(r){r&&P(e)}}}class up extends ke{constructor(e){super(),ye(this,e,null,ap,we,{})}}function cp(i){je(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function fp(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),u(t,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(t,"fill",i[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),M(e,"reverted",i[2])},m(o,r){E(o,e,r),p(e,t)},p(o,r){r&1&&u(t,"fill",o[0]),r&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),r&4&&M(e,"reverted",o[2])},d(o){o&&P(e)}}}function dp(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(t,"fill",i[0]),u(t,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),M(e,"reverted",i[2])},m(o,r){E(o,e,r),p(e,t)},p(o,r){r&1&&u(t,"fill",o[0]),r&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),r&4&&M(e,"reverted",o[2])},d(o){o&&P(e)}}}function mp(i){let e;function t(r,l){return r[1]?dp:fp}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(r){r&&P(e),o.d(r)}}}function pp(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 Un extends ke{constructor(e){super(),ye(this,e,pp,mp,we,{direction:3,color:0},cp)}}function hp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class vp extends ke{constructor(e){super(),ye(this,e,null,hp,we,{})}}function gp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(t,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Wo extends ke{constructor(e){super(),ye(this,e,null,gp,we,{})}}function bp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class _p extends ke{constructor(e){super(),ye(this,e,null,bp,we,{})}}function wp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class yp extends ke{constructor(e){super(),ye(this,e,null,wp,we,{})}}function kp(i){je(i,"v-5r0p3","ul.v-5r0p3.v-5r0p3{margin:0;padding:0}.menu.v-5r0p3.v-5r0p3{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s}.container-mobile.v-5r0p3.v-5r0p3{width:100%}.menu-desktop.v-5r0p3.v-5r0p3{position:absolute;right:0;bottom:0}.menu-mobile.v-5r0p3.v-5r0p3{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-5r0p3.v-5r0p3{display:none}.menu-subList.v-5r0p3.v-5r0p3{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-5r0p3.v-5r0p3{min-width:164px}.menu-subList-traffic-saving.v-5r0p3.v-5r0p3{min-width:286px}.item.v-5r0p3.v-5r0p3{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-5r0p3.v-5r0p3{padding:0 14px}.item-quality.item-mobile.v-5r0p3.v-5r0p3,.item-traffic-saving.item-mobile.v-5r0p3.v-5r0p3,.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{flex-direction:row-reverse}.item-helper-text.v-5r0p3.v-5r0p3{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-5r0p3 span.v-5r0p3{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{padding:7px 14px}.item-helper-text.item-mobile.v-5r0p3 span.v-5r0p3{text-align:start}.quality-title-mobile.v-5r0p3.v-5r0p3{flex-grow:1}.item.v-5r0p3.v-5r0p3:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-5r0p3.v-5r0p3:hover{background:var(--mobile-settings-bg)}.menu-subList.v-5r0p3 .item.v-5r0p3{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-5r0p3 .item.v-5r0p3:last-child{margin-bottom:4px}.menu-icon-wrapper.v-5r0p3.v-5r0p3{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-5r0p3.v-5r0p3{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-5r0p3.v-5r0p3{position:relative;opacity:0.7}.menu-valueIcon.v-5r0p3.v-5r0p3{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-5r0p3.v-5r0p3{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-5r0p3 svg,.menu-valueIcon-list.v-5r0p3 svg{color:var(--blue-light)}.menu-divider.v-5r0p3.v-5r0p3{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-5r0p3.v-5r0p3{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-5r0p3.v-5r0p3{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar{width:8px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-5r0p3.v-5r0p3{overflow-y:auto;max-height:160px;text-align:left}.close.v-5r0p3.v-5r0p3{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-5r0p3.v-5r0p3:before,.close.v-5r0p3.v-5r0p3:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-5r0p3.v-5r0p3:before{transform:rotate(45deg)}.close.v-5r0p3.v-5r0p3:after{transform:rotate(-45deg)}")}function Zs(i,e,t){const n=i.slice();return n[142]=e[t],n}function Gs(i,e,t){const n=i.slice();return n[145]=e[t],n}function Ks(i,e,t){const n=i.slice();return n[148]=e[t],n}function Ys(i){let e,t,n,o,r,l,s,a,c,f,m,h=i[8]&&Qs(i),b=i[28]&&Xs(i),v=i[27]&&xs(i),y=i[26]&&$s(i),_=i[25]&&ea(i),S=i[24]&&ta(i),k=i[8]&&ia(i);return{c(){e=T("div"),h&&h.c(),t=N(),n=T("ul"),b&&b.c(),o=N(),v&&v.c(),r=N(),y&&y.c(),l=N(),_&&_.c(),s=N(),S&&S.c(),a=N(),k&&k.c(),u(n,"class","items v-5r0p3"),M(n,"items-mobile",i[8]),u(e,"class","menu v-5r0p3"),u(e,"role","menu"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8]),M(e,"hidden",!i[15])},m(w,R){E(w,e,R),h&&h.m(e,null),p(e,t),p(e,n),b&&b.m(n,null),p(n,o),v&&v.m(n,null),p(n,r),y&&y.m(n,null),p(n,l),_&&_.m(n,null),p(n,s),S&&S.m(n,null),p(n,a),k&&k.m(n,null),i[116](n),c=!0,f||(m=[_e(e,"keydown",i[79]),_e(e,"mouseenter",i[73]),_e(e,"mouseleave",i[74])],f=!0)},p(w,R){w[8]?h?h.p(w,R):(h=Qs(w),h.c(),h.m(e,t)):h&&(h.d(1),h=null),w[28]?b?(b.p(w,R),R[0]&268435456&&d(b,1)):(b=Xs(w),b.c(),d(b,1),b.m(n,o)):b&&(he(),g(b,1,1,()=>{b=null}),ve()),w[27]?v?(v.p(w,R),R[0]&134217728&&d(v,1)):(v=xs(w),v.c(),d(v,1),v.m(n,r)):v&&(he(),g(v,1,1,()=>{v=null}),ve()),w[26]?y?(y.p(w,R),R[0]&67108864&&d(y,1)):(y=$s(w),y.c(),d(y,1),y.m(n,l)):y&&(he(),g(y,1,1,()=>{y=null}),ve()),w[25]?_?(_.p(w,R),R[0]&33554432&&d(_,1)):(_=ea(w),_.c(),d(_,1),_.m(n,s)):_&&(he(),g(_,1,1,()=>{_=null}),ve()),w[24]?S?(S.p(w,R),R[0]&16777216&&d(S,1)):(S=ta(w),S.c(),d(S,1),S.m(n,a)):S&&(he(),g(S,1,1,()=>{S=null}),ve()),w[8]?k?(k.p(w,R),R[0]&256&&d(k,1)):(k=ia(w),k.c(),d(k,1),k.m(n,null)):k&&(he(),g(k,1,1,()=>{k=null}),ve()),(!c||R[0]&256)&&M(n,"items-mobile",w[8]),(!c||R[0]&256)&&M(e,"menu-desktop",!w[8]),(!c||R[0]&256)&&M(e,"menu-mobile",w[8]),(!c||R[0]&32768)&&M(e,"hidden",!w[15])},i(w){c||(d(b),d(v),d(y),d(_),d(S),d(k),c=!0)},o(w){g(b),g(v),g(y),g(_),g(S),g(k),c=!1},d(w){w&&P(e),h&&h.d(),b&&b.d(),v&&v.d(),y&&y.d(),_&&_.d(),S&&S.d(),k&&k.d(),i[116](null),f=!1,ot(m)}}}function Qs(i){let e,t,n,o,r,l,s,a;return{c(){e=T("div"),t=T("div"),t.textContent=`${G("submenu_settings")}`,n=N(),o=T("div"),r=N(),l=T("div"),u(o,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),M(e,"item-mobile",i[8]),u(l,"class","menu-divider v-5r0p3")},m(c,f){E(c,e,f),p(e,t),p(e,n),p(e,o),E(c,r,f),E(c,l,f),s||(a=_e(o,"click",lt(i[59])),s=!0)},p(c,f){f[0]&256&&M(e,"item-mobile",c[8])},d(c){c&&(P(e),P(r),P(l)),s=!1,a()}}}function Xs(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;n=new Cr({});let v=i[36]&&!i[8]&&Js(i);return{c(){e=T("li"),t=T("div"),j(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("menu_quality")}`,l=N(),s=T("div"),a=Fe(i[20]),c=N(),v&&v.c(),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_quality",{actual:i[30]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(y,_){E(y,e,_),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),p(s,c),v&&v.m(s,null),i[112](e),m=!0,h||(b=[_e(e,"click",lt(i[60])),_e(e,"keydown",i[80])],h=!0)},p(y,_){(!m||_[0]&1048576)&&$e(a,y[20]),y[36]&&!y[8]?v?(v.p(y,_),_[0]&256|_[1]&32&&d(v,1)):(v=Js(y),v.c(),d(v,1),v.m(s,null)):v&&(he(),g(v,1,1,()=>{v=null}),ve()),(!m||_[0]&1073741824&&f!==(f=G("aria_label_menu_quality",{actual:y[30]})))&&u(e,"aria-label",f),(!m||_[0]&256)&&M(e,"item-mobile",y[8])},i(y){m||(d(n.$$.fragment,y),d(v),m=!0)},o(y){g(n.$$.fragment,y),g(v),m=!1},d(y){y&&P(e),H(n),v&&v.d(),i[112](null),h=!1,ot(b)}}}function Js(i){let e,t,n;var o=i[36];function r(l){return{}}return o&&(t=En(o,r())),{c(){e=T("div"),t&&j(t.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(l,s){E(l,e,s),t&&F(t,e,null),n=!0},p(l,s){if(s[1]&32&&o!==(o=l[36])){if(t){he();const a=t;g(a.$$.fragment,1,0,()=>{H(a,1)}),ve()}o?(t=En(o,r()),j(t.$$.fragment),d(t.$$.fragment,1),F(t,e,null)):t=null}},i(l){n||(t&&d(t.$$.fragment,l),n=!0)},o(l){t&&g(t.$$.fragment,l),n=!1},d(l){l&&P(e),t&&H(t)}}}function xs(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return n=new up({}),{c(){e=T("li"),t=T("div"),j(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("menu_playback_rate")}`,l=N(),s=T("div"),a=Fe(i[13]),c=Fe("x"),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_rate",{actual:i[31]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(v,y){E(v,e,y),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),p(s,c),i[113](e),m=!0,h||(b=[_e(e,"click",lt(oi(i[64]))),_e(e,"keydown",i[83])],h=!0)},p(v,y){(!m||y[0]&8192)&&$e(a,v[13]),(!m||y[1]&1&&f!==(f=G("aria_label_menu_rate",{actual:v[31]})))&&u(e,"aria-label",f),(!m||y[0]&256)&&M(e,"item-mobile",v[8])},i(v){m||(d(n.$$.fragment,v),m=!0)},o(v){g(n.$$.fragment,v),m=!1},d(v){v&&P(e),H(n),i[113](null),h=!1,ot(b)}}}function $s(i){let e,t,n,o,r,l,s,a=i[37].displayValue+"",c,f,m,h,b;return n=new zc({}),{c(){e=T("li"),t=T("div"),j(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("subtitles_caption")}`,l=N(),s=T("div"),c=Fe(a),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_subtitle",{actual:i[37].displayValue})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(v,y){E(v,e,y),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,c),i[114](e),m=!0,h||(b=[_e(e,"click",lt(i[66])),_e(e,"keydown",i[86])],h=!0)},p(v,y){(!m||y[1]&64)&&a!==(a=v[37].displayValue+"")&&$e(c,a),(!m||y[1]&64&&f!==(f=G("aria_label_menu_subtitle",{actual:v[37].displayValue})))&&u(e,"aria-label",f),(!m||y[0]&256)&&M(e,"item-mobile",v[8])},i(v){m||(d(n.$$.fragment,v),m=!0)},o(v){g(n.$$.fragment,v),m=!1},d(v){v&&P(e),H(n),i[114](null),h=!1,ot(b)}}}function ea(i){let e,t,n,o,r,l,s,a,c,f,m,h;return n=new sp({}),{c(){e=T("li"),t=T("div"),j(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("menu_traffic_saving")}`,l=N(),s=T("div"),a=Fe(i[29]),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=G("aria_label_menu_traffic_saving",{actual:i[29]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(b,v){E(b,e,v),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),i[115](e),f=!0,m||(h=[_e(e,"click",lt(i[61])),_e(e,"keydown",i[89])],m=!0)},p(b,v){(!f||v[0]&536870912)&&$e(a,b[29]),(!f||v[0]&536870912&&c!==(c=G("aria_label_menu_traffic_saving",{actual:b[29]})))&&u(e,"aria-label",c),(!f||v[0]&256)&&M(e,"item-mobile",b[8])},i(b){f||(d(n.$$.fragment,b),f=!0)},o(b){g(n.$$.fragment,b),f=!1},d(b){b&&P(e),H(n),i[115](null),m=!1,ot(h)}}}function ta(i){let e,t,n,o,r,l,s,a;return n=new lp({}),{c(){e=T("li"),t=T("div"),j(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("download_video_caption")}`,u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",G("aria_label_menu_download")),M(e,"item-mobile",i[8])},m(c,f){E(c,e,f),p(e,t),F(n,t,null),p(e,o),p(e,r),l=!0,s||(a=[_e(e,"click",lt(i[69])),_e(e,"keydown",i[92])],s=!0)},p(c,f){(!l||f[0]&256)&&M(e,"item-mobile",c[8])},i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&P(e),H(n),s=!1,ot(a)}}}function ia(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S=i[39].showSupport&&Sp(i);return o=new _p({}),f=new yp({}),{c(){S&&S.c(),e=N(),t=T("li"),n=T("div"),j(o.$$.fragment),r=N(),l=T("div"),l.textContent=`${G("menu_copy_debug")}`,s=N(),a=T("li"),c=T("div"),j(f.$$.fragment),m=N(),h=T("div"),h.textContent=`${G("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(l,"class","menu-title v-5r0p3"),u(t,"class","item item-mobile v-5r0p3"),u(t,"role","menuitem"),u(t,"tabindex","0"),u(t,"aria-label",G("menu_copy_debug")),u(c,"class","menu-icon-wrapper v-5r0p3"),u(h,"class","menu-title v-5r0p3"),u(a,"class","item item-mobile v-5r0p3"),u(a,"role","menuitem"),u(a,"tabindex","0"),u(a,"aria-label",b=i[38]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable"))},m(k,w){S&&S.m(k,w),E(k,e,w),E(k,t,w),p(t,n),F(o,n,null),p(t,r),p(t,l),E(k,s,w),E(k,a,w),p(a,c),F(f,c,null),p(a,m),p(a,h),v=!0,y||(_=[_e(t,"click",lt(i[71])),_e(t,"keydown",i[94]),_e(a,"click",lt(i[72])),_e(a,"keydown",i[95])],y=!0)},p(k,w){k[39].showSupport&&S.p(k,w),(!v||w[1]&128&&b!==(b=k[38]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",b)},i(k){v||(d(S),d(o.$$.fragment,k),d(f.$$.fragment,k),v=!0)},o(k){g(S),g(o.$$.fragment,k),g(f.$$.fragment,k),v=!1},d(k){k&&(P(e),P(t),P(s),P(a)),S&&S.d(k),H(o),H(f),y=!1,ot(_)}}}function Sp(i){let e,t,n,o,r,l,s,a;return n=new vp({}),{c(){e=T("li"),t=T("div"),j(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("menu_report")}`,u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item item-mobile v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${G("menu_report")}. ${G("aria_label_new_tab_alert")}`)},m(c,f){E(c,e,f),p(e,t),F(n,t,null),p(e,o),p(e,r),l=!0,s||(a=[_e(e,"click",lt(i[70])),_e(e,"keydown",i[93])],s=!0)},p:W,i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&P(e),H(n),s=!1,ot(a)}}}function na(i){let e,t,n,o,r,l,s,a,c,f,m,h;n=new Un({props:{direction:"left"}});let b=xt(i[12]),v=[];for(let _=0;_<b.length;_+=1)v[_]=ra(Ks(i,b,_));const y=_=>g(v[_],1,1,()=>{v[_]=null});return{c(){e=T("div"),t=T("div"),j(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("submenu_quality")}`,l=N(),s=T("div"),a=N(),c=T("ul");for(let _=0;_<v.length;_+=1)v[_].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",G("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"style",i[21]),M(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(_,S){E(_,e,S),p(e,t),F(n,t,null),p(t,o),p(t,r),i[117](t),p(e,l),p(e,s),p(e,a),p(e,c);for(let k=0;k<v.length;k+=1)v[k]&&v[k].m(c,null);i[120](c),f=!0,m||(h=[_e(t,"click",lt(i[68])),_e(c,"keydown",i[81])],m=!0)},p(_,S){if((!f||S[0]&256)&&M(t,"item-mobile",_[8]),S[0]&4352|S[2]&1048577){b=xt(_[12]);let k;for(k=0;k<b.length;k+=1){const w=Ks(_,b,k);v[k]?(v[k].p(w,S),d(v[k],1)):(v[k]=ra(w),v[k].c(),d(v[k],1),v[k].m(c,null))}for(he(),k=b.length;k<v.length;k+=1)y(k);ve()}(!f||S[0]&2097152)&&u(c,"style",_[21]),(!f||S[0]&256)&&M(c,"items-mobile",_[8]),(!f||S[0]&256)&&M(e,"menu-desktop",!_[8]),(!f||S[0]&256)&&M(e,"menu-mobile",_[8])},i(_){if(!f){d(n.$$.fragment,_);for(let S=0;S<b.length;S+=1)d(v[S]);f=!0}},o(_){g(n.$$.fragment,_),v=v.filter(Boolean);for(let S=0;S<v.length;S+=1)g(v[S]);f=!1},d(_){_&&P(e),H(n),i[117](null),Cn(v,_),i[120](null),m=!1,ot(h)}}}function oa(i){let e,t,n;return t=new Wo({}),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function la(i){let e,t,n;var o=Eo(i[148].value);function r(l){return{}}return o&&(t=En(o,r())),{c(){e=T("div"),t&&j(t.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(l,s){E(l,e,s),t&&F(t,e,null),n=!0},p(l,s){if(s[0]&4096&&o!==(o=Eo(l[148].value))){if(t){he();const a=t;g(a.$$.fragment,1,0,()=>{H(a,1)}),ve()}o?(t=En(o,r()),j(t.$$.fragment),d(t.$$.fragment,1),F(t,e,null)):t=null}},i(l){n||(t&&d(t.$$.fragment,l),n=!0)},o(l){t&&g(t.$$.fragment,l),n=!1},d(l){l&&P(e),t&&H(t)}}}function ra(i){let e,t,n,o=i[148].displayValue+"",r,l,s=!i[8]&&Eo(i[148].value),a,c,f,m,h,b,v=i[148].selected&&oa(),y=s&&la(i);function _(){return i[118](i[148])}function S(...k){return i[119](i[148],...k)}return{c(){e=T("li"),v&&v.c(),t=N(),n=T("div"),r=Fe(o),l=N(),y&&y.c(),a=N(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",c=i[148].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_submenu_quality_select_quality",{quality:i[148].displayValue})),M(e,"item-mobile",i[8])},m(k,w){E(k,e,w),v&&v.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),y&&y.m(e,null),p(e,a),m=!0,h||(b=[_e(e,"click",lt(_)),_e(e,"keydown",S)],h=!0)},p(k,w){i=k,i[148].selected?v?w[0]&4096&&d(v,1):(v=oa(),v.c(),d(v,1),v.m(e,t)):v&&(he(),g(v,1,1,()=>{v=null}),ve()),(!m||w[0]&4096)&&o!==(o=i[148].displayValue+"")&&$e(r,o),(!m||w[0]&256)&&M(n,"quality-title-mobile",i[8]),w[0]&4352&&(s=!i[8]&&Eo(i[148].value)),s?y?(y.p(i,w),w[0]&4352&&d(y,1)):(y=la(i),y.c(),d(y,1),y.m(e,a)):y&&(he(),g(y,1,1,()=>{y=null}),ve()),(!m||w[0]&4096&&c!==(c=i[148].value))&&u(e,"data-value",c),(!m||w[0]&4096&&f!==(f=G("aria_label_submenu_quality_select_quality",{quality:i[148].displayValue})))&&u(e,"aria-label",f),(!m||w[0]&256)&&M(e,"item-mobile",i[8])},i(k){m||(d(v),d(y),m=!0)},o(k){g(v),g(y),m=!1},d(k){k&&P(e),v&&v.d(),y&&y.d(),h=!1,ot(b)}}}function sa(i){let e,t,n,o,r,l,s,a,c,f,m,h;n=new Un({props:{direction:"left"}});let b=xt(i[11]),v=[];for(let _=0;_<b.length;_+=1)v[_]=ua(Gs(i,b,_));const y=_=>g(v[_],1,1,()=>{v[_]=null});return{c(){e=T("div"),t=T("div"),j(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("submenu_playback_rate")}`,l=N(),s=T("div"),a=N(),c=T("ul");for(let _=0;_<v.length;_+=1)v[_].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",G("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"style",i[22]),M(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(_,S){E(_,e,S),p(e,t),F(n,t,null),p(t,o),p(t,r),i[121](t),p(e,l),p(e,s),p(e,a),p(e,c);for(let k=0;k<v.length;k+=1)v[k]&&v[k].m(c,null);i[124](c),f=!0,m||(h=[_e(t,"click",lt(i[68])),_e(c,"keydown",i[84])],m=!0)},p(_,S){if((!f||S[0]&256)&&M(t,"item-mobile",_[8]),S[0]&2304|S[2]&8388616){b=xt(_[11]);let k;for(k=0;k<b.length;k+=1){const w=Gs(_,b,k);v[k]?(v[k].p(w,S),d(v[k],1)):(v[k]=ua(w),v[k].c(),d(v[k],1),v[k].m(c,null))}for(he(),k=b.length;k<v.length;k+=1)y(k);ve()}(!f||S[0]&4194304)&&u(c,"style",_[22]),(!f||S[0]&256)&&M(c,"items-mobile",_[8]),(!f||S[0]&256)&&M(e,"menu-desktop",!_[8]),(!f||S[0]&256)&&M(e,"menu-mobile",_[8])},i(_){if(!f){d(n.$$.fragment,_);for(let S=0;S<b.length;S+=1)d(v[S]);f=!0}},o(_){g(n.$$.fragment,_),v=v.filter(Boolean);for(let S=0;S<v.length;S+=1)g(v[S]);f=!1},d(_){_&&P(e),H(n),i[121](null),Cn(v,_),i[124](null),m=!1,ot(h)}}}function aa(i){let e,t,n;return t=new Wo({}),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function ua(i){let e,t,n,o=i[145].displayValue+"",r,l,s,a,c,f,m,h=i[145].selected&&aa();function b(){return i[122](i[145])}function v(...y){return i[123](i[145],...y)}return{c(){e=T("li"),h&&h.c(),t=N(),n=T("div"),r=Fe(o),l=N(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=i[145].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=G("aria_label_submenu_rate_select_rate",{rate:i[145].displayValue})),M(e,"item-mobile",i[8])},m(y,_){E(y,e,_),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),c=!0,f||(m=[_e(e,"click",lt(b)),_e(e,"keydown",v)],f=!0)},p(y,_){i=y,i[145].selected?h?_[0]&2048&&d(h,1):(h=aa(),h.c(),d(h,1),h.m(e,t)):h&&(he(),g(h,1,1,()=>{h=null}),ve()),(!c||_[0]&2048)&&o!==(o=i[145].displayValue+"")&&$e(r,o),(!c||_[0]&256)&&M(n,"quality-title-mobile",i[8]),(!c||_[0]&2048&&s!==(s=i[145].value))&&u(e,"data-value",s),(!c||_[0]&2048&&a!==(a=G("aria_label_submenu_rate_select_rate",{rate:i[145].displayValue})))&&u(e,"aria-label",a),(!c||_[0]&256)&&M(e,"item-mobile",i[8])},i(y){c||(d(h),c=!0)},o(y){g(h),c=!1},d(y){y&&P(e),h&&h.d(),f=!1,ot(m)}}}function ca(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se;n=new Un({props:{direction:"left"}});let ne=!i[9]&&fa(),O=i[9]&&da();return{c(){e=T("div"),t=T("div"),j(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("submenu_traffic_saving")}`,l=N(),s=T("div"),a=N(),c=T("ul"),f=T("li"),ne&&ne.c(),m=N(),h=T("div"),h.textContent=`${G("traffic_saving_disable")}`,b=N(),v=T("li"),O&&O.c(),y=N(),_=T("div"),_.textContent=`${G("traffic_saving_enable")}`,S=N(),k=T("div"),w=N(),R=T("div"),X=T("span"),X.textContent=`${G("traffic_saving_helper_text")}`,u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",G("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),M(h,"quality-title-mobile",i[8]),u(f,"class","item item-traffic-saving v-5r0p3"),u(f,"role","menuitem"),u(f,"tabindex","0"),u(f,"aria-label",G("aria_label_submenu_traffic_saving_off")),M(f,"item-mobile",i[8]),u(_,"class","v-5r0p3"),M(_,"quality-title-mobile",i[8]),u(v,"class","item item-traffic-saving v-5r0p3"),u(v,"role","menuitem"),u(v,"tabindex","0"),u(v,"aria-label",`${G("aria_label_submenu_traffic_saving_on")}. ${G("traffic_saving_helper_text")}`),M(v,"item-mobile",i[8]),u(c,"class","items v-5r0p3"),u(c,"style",i[23]),M(c,"items-mobile",i[8]),u(k,"class","menu-divider v-5r0p3"),u(X,"class","v-5r0p3"),u(R,"class","item item-helper-text v-5r0p3"),M(R,"item-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m($,C){E($,e,C),p(e,t),F(n,t,null),p(t,o),p(t,r),i[125](t),p(e,l),p(e,s),p(e,a),p(e,c),p(c,f),ne&&ne.m(f,null),p(f,m),p(f,h),p(c,b),p(c,v),O&&O.m(v,null),p(v,y),p(v,_),i[130](c),p(e,S),p(e,k),p(e,w),p(e,R),p(R,X),V=!0,K||(se=[_e(t,"click",lt(i[68])),_e(f,"click",lt(i[126])),_e(f,"keydown",i[127]),_e(v,"click",lt(i[128])),_e(v,"keydown",i[129]),_e(c,"keydown",i[90])],K=!0)},p($,C){(!V||C[0]&256)&&M(t,"item-mobile",$[8]),$[9]?ne&&(he(),g(ne,1,1,()=>{ne=null}),ve()):ne?C[0]&512&&d(ne,1):(ne=fa(),ne.c(),d(ne,1),ne.m(f,m)),(!V||C[0]&256)&&M(h,"quality-title-mobile",$[8]),(!V||C[0]&256)&&M(f,"item-mobile",$[8]),$[9]?O?C[0]&512&&d(O,1):(O=da(),O.c(),d(O,1),O.m(v,y)):O&&(he(),g(O,1,1,()=>{O=null}),ve()),(!V||C[0]&256)&&M(_,"quality-title-mobile",$[8]),(!V||C[0]&256)&&M(v,"item-mobile",$[8]),(!V||C[0]&8388608)&&u(c,"style",$[23]),(!V||C[0]&256)&&M(c,"items-mobile",$[8]),(!V||C[0]&256)&&M(R,"item-mobile",$[8]),(!V||C[0]&256)&&M(e,"menu-desktop",!$[8]),(!V||C[0]&256)&&M(e,"menu-mobile",$[8])},i($){V||(d(n.$$.fragment,$),d(ne),d(O),V=!0)},o($){g(n.$$.fragment,$),g(ne),g(O),V=!1},d($){$&&P(e),H(n),i[125](null),ne&&ne.d(),O&&O.d(),i[130](null),K=!1,ot(se)}}}function fa(i){let e,t,n;return t=new Wo({}),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function da(i){let e,t,n;return t=new Wo({}),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function ma(i){let e,t,n,o,r,l,s,a,c,f;n=new Un({props:{direction:"left"}});let m=xt(i[10]),h=[];for(let v=0;v<m.length;v+=1)h[v]=ha(Zs(i,m,v));const b=v=>g(h[v],1,1,()=>{h[v]=null});return{c(){e=T("div"),t=T("div"),j(n.$$.fragment),o=N(),r=T("div"),r.textContent=`${G("subtitles_caption")}`,l=N(),s=T("ul");for(let v=0;v<h.length;v+=1)h[v].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",G("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","items v-5r0p3"),M(s,"items-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(v,y){E(v,e,y),p(e,t),F(n,t,null),p(t,o),p(t,r),p(e,l),p(e,s);for(let _=0;_<h.length;_+=1)h[_]&&h[_].m(s,null);i[133](s),a=!0,c||(f=[_e(t,"click",lt(i[68])),_e(s,"keydown",i[87])],c=!0)},p(v,y){if((!a||y[0]&256)&&M(t,"item-mobile",v[8]),y[0]&1280|y[2]&67108896){m=xt(v[10]);let _;for(_=0;_<m.length;_+=1){const S=Zs(v,m,_);h[_]?(h[_].p(S,y),d(h[_],1)):(h[_]=ha(S),h[_].c(),d(h[_],1),h[_].m(s,null))}for(he(),_=m.length;_<h.length;_+=1)b(_);ve()}(!a||y[0]&256)&&M(s,"items-mobile",v[8]),(!a||y[0]&256)&&M(e,"menu-desktop",!v[8]),(!a||y[0]&256)&&M(e,"menu-mobile",v[8])},i(v){if(!a){d(n.$$.fragment,v);for(let y=0;y<m.length;y+=1)d(h[y]);a=!0}},o(v){g(n.$$.fragment,v),h=h.filter(Boolean);for(let y=0;y<h.length;y+=1)g(h[y]);a=!1},d(v){v&&P(e),H(n),Cn(h,v),i[133](null),c=!1,ot(f)}}}function pa(i){let e,t,n;return t=new Wo({}),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function ha(i){let e,t,n,o=i[142].displayValue+"",r,l,s,a,c,f,m,h=i[142].selected&&pa();function b(){return i[131](i[142])}function v(...y){return i[132](i[142],...y)}return{c(){e=T("li"),h&&h.c(),t=N(),n=T("div"),r=Fe(o),l=N(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=i[142].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=G("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[142].displayValue})),M(e,"item-mobile",i[8])},m(y,_){E(y,e,_),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),c=!0,f||(m=[_e(e,"click",lt(b)),_e(e,"keydown",v)],f=!0)},p(y,_){i=y,i[142].selected?h?_[0]&1024&&d(h,1):(h=pa(),h.c(),d(h,1),h.m(e,t)):h&&(he(),g(h,1,1,()=>{h=null}),ve()),(!c||_[0]&1024)&&o!==(o=i[142].displayValue+"")&&$e(r,o),(!c||_[0]&256)&&M(n,"quality-title-mobile",i[8]),(!c||_[0]&1024&&s!==(s=i[142].value))&&u(e,"data-value",s),(!c||_[0]&1024&&a!==(a=G("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[142].displayValue})))&&u(e,"aria-label",a),(!c||_[0]&256)&&M(e,"item-mobile",i[8])},i(y){c||(d(h),c=!0)},o(y){g(h),c=!1},d(y){y&&P(e),h&&h.d(),f=!1,ot(m)}}}function Cp(i){let e,t,n,o,r,l,s=i[14]&&Ys(i),a=i[16]&&na(i),c=i[17]&&sa(i),f=i[19]&&ca(i),m=i[18]&&ma(i);return{c(){e=T("div"),s&&s.c(),t=N(),a&&a.c(),n=N(),c&&c.c(),o=N(),f&&f.c(),r=N(),m&&m.c(),u(e,"class","v-5r0p3"),M(e,"hidden",!i[14]),M(e,"container-mobile",i[8])},m(h,b){E(h,e,b),s&&s.m(e,null),p(e,t),a&&a.m(e,null),p(e,n),c&&c.m(e,null),p(e,o),f&&f.m(e,null),p(e,r),m&&m.m(e,null),l=!0},p(h,b){h[14]?s?(s.p(h,b),b[0]&16384&&d(s,1)):(s=Ys(h),s.c(),d(s,1),s.m(e,t)):s&&(he(),g(s,1,1,()=>{s=null}),ve()),h[16]?a?(a.p(h,b),b[0]&65536&&d(a,1)):(a=na(h),a.c(),d(a,1),a.m(e,n)):a&&(he(),g(a,1,1,()=>{a=null}),ve()),h[17]?c?(c.p(h,b),b[0]&131072&&d(c,1)):(c=sa(h),c.c(),d(c,1),c.m(e,o)):c&&(he(),g(c,1,1,()=>{c=null}),ve()),h[19]?f?(f.p(h,b),b[0]&524288&&d(f,1)):(f=ca(h),f.c(),d(f,1),f.m(e,r)):f&&(he(),g(f,1,1,()=>{f=null}),ve()),h[18]?m?(m.p(h,b),b[0]&262144&&d(m,1)):(m=ma(h),m.c(),d(m,1),m.m(e,null)):m&&(he(),g(m,1,1,()=>{m=null}),ve()),(!l||b[0]&16384)&&M(e,"hidden",!h[14]),(!l||b[0]&256)&&M(e,"container-mobile",h[8])},i(h){l||(d(s),d(a),d(c),d(f),d(m),l=!0)},o(h){g(s),g(a),g(c),g(f),g(m),l=!1},d(h){h&&P(e),s&&s.d(),a&&a.d(),c&&c.d(),f&&f.d(),m&&m.d()}}}const Xl=18;function Pp(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O,{ref:$=void 0}=e,{supportLink:C}=e,{playerControlsHeight:D=0}=e,{returnFocus:re}=e;const L=Pt(),ae=gn(),pe=L.state.currentQuality$;z(i,pe,te=>t(103,y=te));const ge=L.state.availableQualities$;z(i,ge,te=>t(12,b=te));const ce=L.state.autoQualityLimitingAvailable$;z(i,ce,te=>t(107,w=te));const Y=L.state.isAutoQualityEnabled$;z(i,Y,te=>t(104,_=te));const fe=L.state.currentPlaybackRate$;z(i,fe,te=>t(13,v=te));const ze=L.state.availablePlaybackRates$;z(i,ze,te=>t(11,m=te));const de=L.state.currentSubtitle$;z(i,de,te=>t(37,ne=te));const Le=L.state.availableSubtitlesList$;z(i,Le,te=>t(10,c=te));const Pe=L.state.canDownload,ue=L.state.hasMpegSources$;z(i,ue,te=>t(108,R=te));const Ee=L.ui.settingsMenuVisible;z(i,Ee,te=>t(14,se=te));const A=L.ui.settingsMenuOpenedByKeyboard;z(i,A,te=>t(135,o=te));const oe=L.ui.isMobile;z(i,oe,te=>t(8,r=te));const Me=L.ui.mobileNotReportControlHidden$;z(i,Me,te=>t(105,S=te));const Ce=L.state.canChangePlaybackSpeed$;z(i,Ce,te=>t(106,k=te));const Te=L.ui.isFullscreen;z(i,Te,te=>t(111,K=te));const le=L.state.trafficSavingEnabled$;z(i,le,te=>t(9,s=te));const Q=L.ui.playerSize;z(i,Q,te=>t(110,V=te));const U=L.ui.debugPanelVisible;z(i,U,te=>t(38,O=te));const Ne=L.ui.playerSize;z(i,Ne,te=>t(109,X=te));const et=L.state.isInteractiveTime$,rt=L.actions.internal.downloadVideo,Ze=L.actions.internal.closeSettingsMenu;let Ve=!0,Je=!1,pt=!1,at=!1,Ie=!1,jt=!1;function ft(){o||re==null||re(),Ze(),jt=!1}function It(){t(15,Ve=!1),t(16,Je=!0)}function Rt(){t(15,Ve=!1),t(19,Ie=!0)}function Vt(te){L.actions.internal.setQuality(te),ft()}function me(te){L.actions.internal.setTrafficSavingEnabled(te),ft()}function At(){t(15,Ve=!1),t(17,pt=!0)}function it(te){L.actions.internal.setPlaybackRate(te),ft()}function Tt(){t(15,Ve=!1),t(18,at=!0)}function wt(te){L.actions.internal.setSubtitle(te),ft()}function ht(){t(15,Ve=!0),t(16,Je=!1),t(17,pt=!1),t(18,at=!1),t(19,Ie=!1)}function Qe(){rt(),ft()}function Ue(){window.open(C,"_blank"),ft(),L.actions.internal.pause()}function yt(){ur(L.actions.internal.getDebugTextData()),ft()}function Ni(){U.set(!0),ft()}function Fi(){jt=!0}function li(){jt=!1}function Hi(te,tt,Mt){if(!te)return"...";const Qi=tt.find(rn=>rn.value===te),dt=Qi?Qi.displayValue:te;return Mt?te===xe.VideoQuality.INVARIANT?G("auto_quality_invariant"):G("auto_quality",{actual:dt}):dt}let Ji,Ot,qt,ri,Wt,di,Dt,Ri,si,Et,Oi,Ci,mi,Pi,zt,$t,pi,ai=Be(!1);z(i,ai,te=>t(102,h=te));let Zt,vt,nt=Be(!1);z(i,nt,te=>t(101,f=te));let Ft,ui,Di=Be(!1);z(i,Di,te=>t(100,a=te));let Ti,Gt,Kt=Be(!1);z(i,Kt,te=>t(99,l=te));const Ui=te=>{Lc(te,Ze)},ei=te=>Xi(this,null,function*(){sl(te,It,()=>{const tt=b.findIndex(Mt=>Mt.selected);return pi.childNodes[tt]})}),ji=te=>Xi(this,null,function*(){al(te,ht,ai,Ze)}),Yt=(te,tt)=>{tn(te,()=>Vt(tt))},Ht=te=>Xi(this,null,function*(){sl(te,At,()=>{const tt=m.findIndex(Mt=>Mt.selected);return vt.childNodes[tt]})}),Qt=te=>Xi(this,null,function*(){al(te,ht,nt,Ze)}),Ei=(te,tt)=>{tn(te,()=>it(tt))},Lt=te=>Xi(this,null,function*(){sl(te,Tt,()=>{const tt=c.findIndex(Mt=>Mt.selected);return ui.childNodes[tt]})}),hi=te=>Xi(this,null,function*(){al(te,ht,Di,Ze)}),Ai=(te,tt)=>{tn(te,()=>wt(tt))},qi=te=>Xi(this,null,function*(){sl(te,Rt,()=>{const tt=s?2:0;return Gt.childNodes[tt]})}),vi=te=>Xi(this,null,function*(){al(te,ht,Kt,Ze)}),Xt=(te,tt)=>{tn(te,()=>me(tt))},Wi=te=>{tn(te,()=>Qe())},gi=te=>{tn(te,()=>Ue())},Li=te=>{tn(te,()=>yt())},Oe=te=>{tn(te,()=>Ni())};vn(()=>{const te=et.subscribe(tt=>{tt&&!r&&!jt&&!o&&ft()});return()=>{te()}});function Zi(te){Se[te?"unshift":"push"](()=>{$t=te,t(4,$t)})}function Gi(te){Se[te?"unshift":"push"](()=>{Zt=te,t(5,Zt)})}function bi(te){Se[te?"unshift":"push"](()=>{Ft=te,t(6,Ft)})}function zi(te){Se[te?"unshift":"push"](()=>{Ti=te,t(7,Ti)})}function Ii(te){Se[te?"unshift":"push"](()=>{$=te,t(0,$)})}function ci(te){Se[te?"unshift":"push"](()=>{Ot=te,t(1,Ot)})}const He=te=>Vt(te.value),Ki=(te,tt)=>Yt(tt,te.value);function Jt(te){Se[te?"unshift":"push"](()=>{pi=te,t(32,pi)})}function ti(te){Se[te?"unshift":"push"](()=>{qt=te,t(2,qt)})}const Yi=te=>it(te.value),Vi=(te,tt)=>Ei(tt,te.value);function dn(te){Se[te?"unshift":"push"](()=>{vt=te,t(33,vt)})}function nn(te){Se[te?"unshift":"push"](()=>{ri=te,t(3,ri)})}const Mi=()=>me(!1),Bi=te=>Xt(te,!1),_i=()=>me(!0),on=te=>Xt(te,!0);function xi(te){Se[te?"unshift":"push"](()=>{Gt=te,t(35,Gt)})}const $i=te=>wt(te),ln=(te,tt)=>Ai(tt,te);function wi(te){Se[te?"unshift":"push"](()=>{ui=te,t(34,ui)})}return i.$$set=te=>{"ref"in te&&t(0,$=te.ref),"supportLink"in te&&t(96,C=te.supportLink),"playerControlsHeight"in te&&t(97,D=te.playerControlsHeight),"returnFocus"in te&&t(98,re=te.returnFocus)},i.$$.update=()=>{var te,tt,Mt,Qi;if(i.$$.dirty[0]&16384&&se&&(t(15,Ve=!0),t(16,Je=!1),t(17,pt=!1),t(18,at=!1),t(19,Ie=!1)),i.$$.dirty[3]&1024&&t(36,n=Eo(y)),i.$$.dirty[0]&4096|i.$$.dirty[3]&3072&&t(20,Ji=Hi(y,b,_)),i.$$.dirty[0]&258|i.$$.dirty[3]&458768)if(r&&K)t(21,Wt=`max-height: ${Math.round(V.height*.6)}px`);else if(r)t(21,Wt="");else{const dt=X.height-Xl-((te=Ot==null?void 0:Ot.clientHeight)!=null?te:0)-D;t(21,Wt=`max-height: ${dt}px; overflow: auto;`)}if(i.$$.dirty[0]&260|i.$$.dirty[3]&65552)if(r)t(22,di="");else{const dt=X.height-Xl-((tt=qt==null?void 0:qt.clientHeight)!=null?tt:0)-D;t(22,di=`max-height: ${dt}px; overflow: auto;`)}if(i.$$.dirty[0]&264|i.$$.dirty[3]&65552)if(r)t(23,Dt="");else{const dt=X.height-Xl-((Mt=ri==null?void 0:ri.clientHeight)!=null?Mt:0)-D;t(23,Dt=`max-height: ${dt}px; overflow: auto;`)}i.$$.dirty[3]&36864&&t(24,Ri=Pe&&R&&!S),i.$$.dirty[3]&20480&&t(25,si=ae.features.trafficSaving&&!S&&w),i.$$.dirty[0]&1024|i.$$.dirty[3]&4096&&t(26,Et=c.length>0&&!S),i.$$.dirty[3]&12288&&t(27,Oi=!!k&&!S),i.$$.dirty[3]&4096&&t(28,Ci=!S),i.$$.dirty[0]&512&&t(29,mi=G(s?"traffic_saving_on":"traffic_saving_off")),i.$$.dirty[3]&3072&&t(30,Pi=_?G("auto_quality_option"):y),i.$$.dirty[0]&10240&&t(31,zt=(Qi=m.find(dt=>dt.value===v))==null?void 0:Qi.displayValue),i.$$.dirty[0]&16|i.$$.dirty[3]&512&&rl($t,ai,h),i.$$.dirty[0]&32|i.$$.dirty[3]&256&&rl(Zt,nt,f),i.$$.dirty[0]&64|i.$$.dirty[3]&128&&rl(Ft,Di,a),i.$$.dirty[0]&128|i.$$.dirty[3]&64&&rl(Ti,Kt,l)},[$,Ot,qt,ri,$t,Zt,Ft,Ti,r,s,c,m,b,v,se,Ve,Je,pt,at,Ie,Ji,Wt,di,Dt,Ri,si,Et,Oi,Ci,mi,Pi,zt,pi,vt,ui,Gt,n,ne,O,ae,pe,ge,ce,Y,fe,ze,de,Le,ue,Ee,A,oe,Me,Ce,Te,le,Q,U,Ne,ft,It,Rt,Vt,me,At,it,Tt,wt,ht,Qe,Ue,yt,Ni,Fi,li,ai,nt,Di,Kt,Ui,ei,ji,Yt,Ht,Qt,Ei,Lt,hi,Ai,qi,vi,Xt,Wi,gi,Li,Oe,C,D,re,l,a,f,h,y,_,S,k,w,R,X,V,K,Zi,Gi,bi,zi,Ii,ci,He,Ki,Jt,ti,Yi,Vi,dn,nn,Mi,Bi,_i,on,xi,$i,ln,wi]}class Fc extends ke{constructor(e){super(),ye(this,e,Pp,Cp,we,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},kp,[-1,-1,-1,-1,-1])}}function Tp(i){je(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function Ep(i){let e,t,n;return t=new Cr({props:{isMobile:i[3],currentQuality:i[4]}}),{c(){e=T("span"),j(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,r){E(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r&8&&(l.isMobile=o[3]),r&16&&(l.currentQuality=o[4]),t.$set(l)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Ap(i){let e,t,n;function o(l){i[9](l)}let r={className:i[1]?"opened":"",testId:"btn-settings",click:i[8],ariaLabel:i[2],$$slots:{default:[Ep]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"opened":""),s&4&&(a.ariaLabel=l[2]),s&4120&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Lp(i,e,t){let n,o,r,{ref:l=void 0}=e;const s=Pt(),a=s.state.currentQuality$;z(i,a,y=>t(4,r=y));const c=s.ui.settingsMenuVisible;z(i,c,y=>t(1,n=y));const f=s.actions.internal.toggleSettingsMenu,m=s.ui.isMobile;z(i,m,y=>t(3,o=y));let h;function b(y){const _=wr(y);f(_)}function v(y){l=y,t(0,l)}return i.$$set=y=>{"ref"in y&&t(0,l=y.ref)},i.$$.update=()=>{i.$$.dirty&2&&t(2,h=G(n?"tooltip_settings_on":"tooltip_settings_off"))},[l,n,h,o,r,a,c,m,b,v]}class Pr extends ke{constructor(e){super(),ye(this,e,Lp,Ap,we,{ref:0},Tp)}}function Ip(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Vp extends ke{constructor(e){super(),ye(this,e,null,Ip,we,{})}}function Mp(i){let e,t;return e=new zc({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Bp(i){let e,t;return e=new Vp({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Np(i){let e,t,n,o;const r=[Bp,Mp],l=[];function s(a,c){return a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e!==f&&(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),t=l[e],t||(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Rp(i){let e,t;return e=new Si({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],ariaKeyShortCut:zo[Ae.KeyC],$$slots:{default:[Np]},$$scope:{ctx:i}}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&4&&(r.ariaLabel=n[2]),o&2&&(r.click=n[1]),o&9&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Op(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=G(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,r]}class Dp extends ke{constructor(e){super(),ye(this,e,Op,Rp,we,{isSubtitlesEnabled:0,click:1})}}function zp(i){je(i,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function va(i){let e,t;return{c(){e=T("span"),t=Fe(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o&8&&$e(t,n[3])},d(n){n&&P(e)}}}function Fp(i){let e,t,n,o,r=i[2]&&va(i);return{c(){e=T("div"),t=T("span"),n=Fe(i[4]),o=N(),r&&r.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),M(e,"mobile",i[1])},m(l,s){E(l,e,s),p(e,t),p(t,n),p(e,o),r&&r.m(e,null),i[7](e)},p(l,[s]){s&16&&$e(n,l[4]),l[2]?r?r.p(l,s):(r=va(l),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&2&&M(e,"mobile",l[1])},i:W,o:W,d(l){l&&P(e),r&&r.d(),i[7](null)}}}function Hp(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:r}=e,{showDuration:l=!0}=e,{ref:s}=e,a,c;function f(m){Se[m?"unshift":"push"](()=>{s=m,t(0,s)})}return i.$$set=m=>{"isMobile"in m&&t(1,n=m.isMobile),"duration"in m&&t(5,o=m.duration),"position"in m&&t(6,r=m.position),"showDuration"in m&&t(2,l=m.showDuration),"ref"in m&&t(0,s=m.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=Vn(o)),i.$$.dirty&64&&t(4,c=Vn(r))},[s,n,l,a,c,o,r,f]}class Hc extends ke{constructor(e){super(),ye(this,e,Hp,Fp,we,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},zp)}}function Up(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 jp(i){let e,t,n,o,r,l;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(r,"class","cross v-1n5yyua"),u(r,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"data-value",i[0]),u(e,"data-testid",l="volume-"+i[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(s,a){E(s,e,a),p(e,t),p(t,n),p(t,o),p(t,r)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&l!==(l="volume-"+s[0]+"-icon")&&u(e,"data-testid",l)},i:W,o:W,d(s){s&&P(e)}}}function qp(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 Sl extends ke{constructor(e){super(),ye(this,e,qp,jp,we,{volume:1,muted:2},Up)}}function Wp(i){let e,t;const n=i[4].default,o=Mn(n,i,i[3],null);return{c(){e=T("div"),o&&o.c(),u(e,"class","overlay")},m(r,l){E(r,e,l),o&&o.m(e,null),i[5](e),t=!0},p(r,[l]){o&&o.p&&(!t||l&8)&&Nn(o,n,r,r[3],t?Bn(n,r[3],l,null):Rn(r[3]),null)},i(r){t||(d(o,r),t=!0)},o(r){g(o,r),t=!1},d(r){r&&P(e),o&&o.d(r),i[5](null)}}}function Zp(i,e,t){let n,{$$slots:o={},$$scope:r}=e;const s=Pt().ui.overlayContainer$;z(i,s,h=>t(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};vn(()=>(f(n),()=>c(n)));function m(h){Se[h?"unshift":"push"](()=>{a=h,t(0,a)})}return i.$$set=h=>{"$$scope"in h&&t(3,r=h.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&f(n)},[a,s,n,r,o,m]}class Gp extends ke{constructor(e){super(),ye(this,e,Zp,Wp,we,{})}}function Kp(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 ga(i){let e,t;return e=new Gp({props:{$$slots:{default:[Yp]},$$scope:{ctx:i}}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&262387&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Yp(i){let e,t,n,o,r,l,s;return{c(){e=T("div"),t=T("div"),n=Fe(i[1]),o=N(),r=T("div"),u(t,"class","content v-1jbbzcj"),u(r,"class","tooltip-pointer v-1jbbzcj"),u(r,"style",l=`transform: translate(${i[5]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",s=`transform: translate(${i[6]}px, ${i[7]}px);`),M(e,"active",i[0])},m(a,c){E(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),i[17](e)},p(a,c){c&2&&$e(n,a[1]),c&32&&l!==(l=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(r,"style",l),c&192&&s!==(s=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",s),c&1&&M(e,"active",a[0])},d(a){a&&P(e),i[17](null)}}}function Qp(i){let e,t,n,o,r,l;const s=i[15].default,a=Mn(s,i,i[18],null);let c=i[1]&&ga(i);return{c(){e=T("div"),a&&a.c(),t=N(),c&&c.c(),n=bt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),M(e,"full-width",i[2])},m(f,m){E(f,e,m),a&&a.m(e,null),i[16](e),E(f,t,m),c&&c.m(f,m),E(f,n,m),o=!0,r||(l=[_e(e,"mouseenter",i[11]),_e(e,"mousemove",i[11]),_e(e,"mouseleave",i[12]),_e(e,"mousedown",i[12]),_e(e,"mouseup",i[11])],r=!0)},p(f,[m]){a&&a.p&&(!o||m&262144)&&Nn(a,s,f,f[18],o?Bn(s,f[18],m,null):Rn(f[18]),null),(!o||m&4)&&M(e,"full-width",f[2]),f[1]?c?(c.p(f,m),m&2&&d(c,1)):(c=ga(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(he(),g(c,1,1,()=>{c=null}),ve())},i(f){o||(d(a,f),d(c),o=!0)},o(f){g(a,f),g(c),o=!1},d(f){f&&(P(e),P(t),P(n)),a&&a.d(f),i[16](null),c&&c.d(f),r=!1,ot(l)}}}const ul=5;function Xp(i,e,t){let n,o,{$$slots:r={},$$scope:l}=e,{content:s=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:m=!1}=e,h,b,v,y=0,_=ul,S=0,k=0;const w=gn(),R=Pt(),X=R.ui.playerSize;z(i,X,L=>t(21,o=L));const V=R.ui.overlayContainer$;z(i,V,L=>t(20,n=L));const K=R.getLogger().createComponentLog("Tooltip component"),se=()=>{if(!n)return;const L=n.getBoundingClientRect(),ae=h.getBoundingClientRect(),pe=ae.width,ge=b.clientWidth,ce=o.width,Y=(pe-ge)/2,fe=ae.left+c-L.left;let ze=fe+Y;const de=ae.top+f-L.top;let Le=ge/2-ul;const Pe=ze<$o,ue=ze+ge>ce-$o;Pe&&(ze=$o,Le=fe+ae.width/2-2.5*ul),ue&&(ze=ce-$o-ge,Le=ae.left-L.left+ae.width/2-ze-ul),t(6,S=ze),t(7,k=de),t(5,y=Le)},ne=()=>{try{if(!n||!h)return;se(),t(0,a=!0)}catch(L){K({message:String(L)})}},O=()=>{t(0,a=!1)},$=()=>{b&&(v||(v=window.setTimeout(ne,w.controls.hideTimeoutTooltips)),a&&ne())},C=()=>{O(),window.clearTimeout(v),v=void 0};gl(()=>window.clearTimeout(v));function D(L){Se[L?"unshift":"push"](()=>{h=L,t(3,h)})}function re(L){Se[L?"unshift":"push"](()=>{b=L,t(4,b)})}return i.$$set=L=>{"content"in L&&t(1,s=L.content),"active"in L&&t(0,a=L.active),"translateX"in L&&t(13,c=L.translateX),"translateY"in L&&t(14,f=L.translateY),"isFullWidthWrapper"in L&&t(2,m=L.isFullWidthWrapper),"$$scope"in L&&t(18,l=L.$$scope)},[a,s,m,h,b,y,S,k,_,X,V,$,C,c,f,r,D,re,l]}class Uc extends ke{constructor(e){super(),ye(this,e,Xp,Qp,we,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},Kp)}}function Jp(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 xp(i){let e;const t=i[16].default,n=Mn(t,i,i[21],null);return{c(){n&&n.c()},m(o,r){n&&n.m(o,r),e=!0},p(o,r){n&&n.p&&(!e||r&2097152)&&Nn(n,t,o,o[21],e?Bn(t,o[21],r,null):Rn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function $p(i){let e,t;return e=new Uc({props:{content:i[9],translateX:i[7],translateY:i[8],isFullWidthWrapper:i[4],$$slots:{default:[eh]},$$scope:{ctx:i}}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&512&&(r.content=n[9]),o&128&&(r.translateX=n[7]),o&256&&(r.translateY=n[8]),o&16&&(r.isFullWidthWrapper=n[4]),o&2097152&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function eh(i){let e;const t=i[16].default,n=Mn(t,i,i[21],null);return{c(){n&&n.c()},m(o,r){n&&n.m(o,r),e=!0},p(o,r){n&&n.p&&(!e||r&2097152)&&Nn(n,t,o,o[21],e?Bn(t,o[21],r,null):Rn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function th(i){let e,t,n,o,r,l,s,a,c;const f=[$p,xp],m=[];function h(b,v){return b[3]&&b[5]&&!b[10]?0:1}return t=h(i),n=m[t]=f[t](i),{c(){e=T("div"),n.c(),u(e,"class",o="btn-container "+i[2]+" v-p9r045"),u(e,"aria-hidden",r=i[6]||null),Co(()=>i[20].call(e))},m(b,v){E(b,e,v),m[t].m(e,null),i[19](e),l=cr(e,i[20].bind(e)),s=!0,a||(c=[_e(e,"pointerdown",lt(oi(i[17]))),_e(e,"click",lt(oi(i[18])))],a=!0)},p(b,[v]){let y=t;t=h(b),t===y?m[t].p(b,v):(he(),g(m[y],1,1,()=>{m[y]=null}),ve(),n=m[t],n?n.p(b,v):(n=m[t]=f[t](b),n.c()),d(n,1),n.m(e,null)),(!s||v&4&&o!==(o="btn-container "+b[2]+" v-p9r045"))&&u(e,"class",o),(!s||v&64&&r!==(r=b[6]||null))&&u(e,"aria-hidden",r)},i(b){s||(d(n),s=!0)},o(b){g(n),s=!1},d(b){b&&P(e),m[t].d(),i[19](null),l(),a=!1,ot(c)}}}function ih(i,e,t){let n,o,{$$slots:r={},$$scope:l}=e,{className:s=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:m=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:b=""}=e,{disabledTooltipContent:v=G("tooltip_button_disabled")}=e,{isAriaHidden:y=!1}=e,{initialTranslateXPx:_=0}=e,{initialTranslateYPx:S=-18}=e;const k=Pt(),w=k.ui.isMobile;z(i,w,O=>t(10,o=O));const R=k.state.graphIsOpened$;z(i,R,O=>t(15,n=O));let X;function V(O){So.call(this,i,O)}function K(O){So.call(this,i,O)}function se(O){Se[O?"unshift":"push"](()=>{f=O,t(0,f)})}function ne(){m=this.clientWidth,t(1,m)}return i.$$set=O=>{"className"in O&&t(2,s=O.className),"disabled"in O&&t(13,a=O.disabled),"hasTooltip"in O&&t(3,c=O.hasTooltip),"ref"in O&&t(0,f=O.ref),"width"in O&&t(1,m=O.width),"isFullWidthTooltip"in O&&t(4,h=O.isFullWidthTooltip),"tooltipContent"in O&&t(5,b=O.tooltipContent),"disabledTooltipContent"in O&&t(14,v=O.disabledTooltipContent),"isAriaHidden"in O&&t(6,y=O.isAriaHidden),"initialTranslateXPx"in O&&t(7,_=O.initialTranslateXPx),"initialTranslateYPx"in O&&t(8,S=O.initialTranslateYPx),"$$scope"in O&&t(21,l=O.$$scope)},i.$$.update=()=>{i.$$.dirty&57376&&(a?t(9,X=n?G("tooltip_disabled_when_graph_on"):v):t(9,X=b))},[f,m,s,c,h,b,y,_,S,X,o,w,R,a,v,n,r,V,K,se,ne,l]}class Ut extends ke{constructor(e){super(),ye(this,e,ih,th,we,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},Jp)}}function nh(i){let e,t,n,o,r;return{c(){e=B("svg"),t=B("rect"),o=B("path"),u(t,"width","20"),u(t,"height","20"),u(t,"rx","10"),u(t,"fill","white"),u(t,"fill-opacity",n=i[0]?1:.24),u(o,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(o,"fill",r=i[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,s){E(l,e,s),p(e,t),p(e,o)},p(l,[s]){s&1&&n!==(n=l[0]?1:.24)&&u(t,"fill-opacity",n),s&1&&r!==(r=l[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",r)},i:W,o:W,d(l){l&&P(e)}}}function oh(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class lh extends ke{constructor(e){super(),ye(this,e,oh,nh,we,{completed:0})}}function rh(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 sh(i){let e,t,n,o,r;return t=new lh({props:{completed:!!i[0].completed}}),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),Co(()=>i[3].call(e)),M(e,"disabled",i[1])},m(l,s){E(l,e,s),F(t,e,null),o=cr(e,i[3].bind(e)),r=!0},p(l,s){const a={};s&1&&(a.completed=!!l[0].completed),t.$set(a),(!r||s&1&&n!==(n=`left: ${l[0].from+l[0].width/2}%`))&&u(e,"style",n),(!r||s&2)&&M(e,"disabled",l[1])},i(l){r||(d(t.$$.fragment,l),r=!0)},o(l){g(t.$$.fragment,l),r=!1},d(l){l&&P(e),H(t),o()}}}function ah(i){let e,t;return e=new Ut({props:{tooltipContent:G(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:[sh]},$$scope:{ctx:i}}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.tooltipContent=G(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(r.disabled=n[1]),o&4&&(r.width=n[2]||0),o&23&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function uh(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 ch extends ke{constructor(e){super(),ye(this,e,uh,ah,we,{videoEpisode:0,disabled:1},rh)}}function fh(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 ba(i,e,t){const n=i.slice();return n[2]=e[t],n}function _a(i){let e,t,n,o,r,l,s,a,c;return{c(){e=T("div"),t=T("div"),n=T("div"),r=N(),l=T("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}%)`),M(l,"mobile",i[1]),u(t,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${i[2].from}%; width: ${i[2].width}%`),M(e,"mobile",i[1])},m(f,m){E(f,e,m),p(e,t),p(t,n),p(t,r),p(t,l),p(e,a)},p(f,m){m&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),m&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(l,"style",s),m&2&&M(l,"mobile",f[1]),m&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),m&2&&M(e,"mobile",f[1])},d(f){f&&P(e)}}}function dh(i){let e,t=xt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=_a(ba(i,t,o));return{c(){e=T("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,r){E(o,e,r);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,[r]){if(r&3){t=xt(o[0]);let l;for(l=0;l<t.length;l+=1){const s=ba(o,t,l);n[l]?n[l].p(s,r):(n[l]=_a(s),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},i:W,o:W,d(o){o&&P(e),Cn(n,o)}}}function mh(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 ph extends ke{constructor(e){super(),ye(this,e,mh,dh,we,{videoEpisodes:0,isMobile:1},fh)}}function hh(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 wa(i,e,t){const n=i.slice();return n[48]=e[t],n}function ya(i){let e,t,n=xt(i[21]),o=[];for(let l=0;l<n.length;l+=1)o[l]=Sa(wa(i,n,l));const r=l=>g(o[l],1,1,()=>{o[l]=null});return{c(){e=T("div");for(let l=0;l<o.length;l+=1)o[l].c();u(e,"class","interactive-icons v-1golz1y"),M(e,"mobile",i[5]),M(e,"hidden",i[5]&&!i[20])},m(l,s){E(l,e,s);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);t=!0},p(l,s){if(s[0]&2097664){n=xt(l[21]);let a;for(a=0;a<n.length;a+=1){const c=wa(l,n,a);o[a]?(o[a].p(c,s),d(o[a],1)):(o[a]=Sa(c),o[a].c(),d(o[a],1),o[a].m(e,null))}for(he(),a=n.length;a<o.length;a+=1)r(a);ve()}(!t||s[0]&32)&&M(e,"mobile",l[5]),(!t||s[0]&1048608)&&M(e,"hidden",l[5]&&!l[20])},i(l){if(!t){for(let s=0;s<n.length;s+=1)d(o[s]);t=!0}},o(l){o=o.filter(Boolean);for(let s=0;s<o.length;s+=1)g(o[s]);t=!1},d(l){l&&P(e),Cn(o,l)}}}function ka(i){let e,t;return e=new ch({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.videoEpisode=n[48]),o[0]&512&&(r.disabled=n[9]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Sa(i){let e,t,n=i[48].interactive&&ka(i);return{c(){n&&n.c(),e=bt()},m(o,r){n&&n.m(o,r),E(o,e,r),t=!0},p(o,r){o[48].interactive?n?(n.p(o,r),r[0]&2097152&&d(n,1)):(n=ka(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(he(),g(n,1,1,()=>{n=null}),ve())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function vh(i){let e,t,n,o,r,l;return{c(){e=T("div"),t=T("div"),o=N(),r=T("div"),u(t,"class","loaded v-1golz1y"),u(t,"style",n=`transform: translateX(${i[11]*100}%);`),u(r,"class","filled v-1golz1y"),u(r,"style",l=`transform: translateX(${i[12]*100}%);`),M(r,"active-live",i[4]),M(r,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(s,a){E(s,e,a),p(e,t),p(e,o),p(e,r)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&l!==(l=`transform: translateX(${s[12]*100}%);`)&&u(r,"style",l),a[0]&16&&M(r,"active-live",s[4]),a[0]&64&&M(r,"ads",s[6])},i:W,o:W,d(s){s&&P(e)}}}function gh(i){let e,t;return e=new ph({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.videoEpisodes=n[21]),o[0]&32&&(r.isMobile=n[5]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function bh(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v=i[8]&&ya(i);const y=[gh,vh],_=[];function S(k,w){return k[21].length?0:1}return n=S(i),o=_[n]=y[n](i),{c(){var k;v&&v.c(),e=N(),t=T("div"),o.c(),r=N(),l=T("div"),s=T("div"),u(s,"class","handle v-1golz1y"),M(s,"active-live",i[4]),u(l,"class","handleWrap v-1golz1y"),u(l,"style",a=`transform: translateX(${i[13]*100}%);`),M(l,"hidden",i[10]),u(t,"class",c="slider "+i[0]+" v-1golz1y"),u(t,"aria-label",i[14]),u(t,"aria-valuemin",i[15]),u(t,"aria-valuemax",i[16]),u(t,"aria-valuenow",i[17]),u(t,"aria-valuetext",i[18]),u(t,"role","slider"),u(t,"tabindex","0"),u(t,"data-testid",f=(k=i[1])!=null?k:null),M(t,"disabled",i[9]),M(t,"slider-dragging",i[20]),M(t,"hidden",i[2]),M(t,"slider-vertical",i[3]),M(t,"no-handle",i[10]),M(t,"square",i[7])},m(k,w){v&&v.m(k,w),E(k,e,w),E(k,t,w),_[n].m(t,null),p(t,r),p(t,l),p(l,s),i[42](t),m=!0,h||(b=[_e(t,"pointerdown",oi(i[22])),_e(t,"pointermove",oi(i[23])),_e(t,"pointerup",oi(i[24])),_e(t,"pointerenter",oi(i[25])),_e(t,"pointerleave",oi(i[26])),_e(t,"click",lt(ie.noop)),_e(t,"wheel",i[27])],h=!0)},p(k,w){var X;k[8]?v?(v.p(k,w),w[0]&256&&d(v,1)):(v=ya(k),v.c(),d(v,1),v.m(e.parentNode,e)):v&&(he(),g(v,1,1,()=>{v=null}),ve());let R=n;n=S(k),n===R?_[n].p(k,w):(he(),g(_[R],1,1,()=>{_[R]=null}),ve(),o=_[n],o?o.p(k,w):(o=_[n]=y[n](k),o.c()),d(o,1),o.m(t,r)),(!m||w[0]&16)&&M(s,"active-live",k[4]),(!m||w[0]&8192&&a!==(a=`transform: translateX(${k[13]*100}%);`))&&u(l,"style",a),(!m||w[0]&1024)&&M(l,"hidden",k[10]),(!m||w[0]&1&&c!==(c="slider "+k[0]+" v-1golz1y"))&&u(t,"class",c),(!m||w[0]&16384)&&u(t,"aria-label",k[14]),(!m||w[0]&32768)&&u(t,"aria-valuemin",k[15]),(!m||w[0]&65536)&&u(t,"aria-valuemax",k[16]),(!m||w[0]&131072)&&u(t,"aria-valuenow",k[17]),(!m||w[0]&262144)&&u(t,"aria-valuetext",k[18]),(!m||w[0]&2&&f!==(f=(X=k[1])!=null?X:null))&&u(t,"data-testid",f),(!m||w[0]&513)&&M(t,"disabled",k[9]),(!m||w[0]&1048577)&&M(t,"slider-dragging",k[20]),(!m||w[0]&5)&&M(t,"hidden",k[2]),(!m||w[0]&9)&&M(t,"slider-vertical",k[3]),(!m||w[0]&1025)&&M(t,"no-handle",k[10]),(!m||w[0]&129)&&M(t,"square",k[7])},i(k){m||(d(v),d(o),m=!0)},o(k){g(v),g(o),m=!1},d(k){k&&(P(e),P(t)),v&&v.d(k),_[n].d(),i[42](null),h=!1,ot(b)}}}function _h(i,e,t){let n,o,{className:r=""}=e,{testId:l=void 0}=e,{isHidden:s=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:m=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:b=[]}=e,{withWheelHandler:v=!1}=e,{isInteractive:y=!1}=e,{disabled:_=!1}=e,{hideHandel:S=!1}=e,k,w,{onPointerDown:R=ie.noop}=e,{onHandleMove:X=ie.noop}=e,{onPointerUp:V=ie.noop}=e,{onPointerEnter:K=ie.noop}=e,{onPointerMove:se=ie.noop}=e,{onPointerLeave:ne=ie.noop}=e,{onWheelUp:O=ie.noop}=e,{onWheelDown:$=ie.noop}=e,{onWheelLeft:C=ie.noop}=e,{onWheelRight:D=ie.noop}=e,{loadedProgress:re=0}=e,{filledProgress:L=0}=e,{handleProgress:ae=0}=e,{ariaLabel:pe=""}=e,{ariaValueMin:ge=void 0}=e,{ariaValueMax:ce=void 0}=e,{ariaValueNow:Y=void 0}=e,{ariaValueText:fe=""}=e;const ze=gn();let de=!1,Le;function Pe(U){if(de)return;t(20,de=!0),w=k.getBoundingClientRect();const Ne=Ce(U.clientX,U.clientY);R(Ne),k.setPointerCapture(U.pointerId)}function ue(U){const Ne=Ce(U.clientX,U.clientY),et=Te(U.clientX);se(Ne,et,w.width),de&&X(Ne)}function Ee(U){if(!de)return;t(20,de=!1);const Ne=Ce(U.clientX,U.clientY);V(Ne)}function A(U){w=k.getBoundingClientRect();const Ne=Ce(U.clientX,U.clientY),et=Te(U.clientX);K(Ne,et,w.width)}function oe(){ne()}function Me(U){v&&(U.preventDefault(),U.deltaY<0?O():U.deltaY>0?$():U.deltaX>0?D():C())}function Ce(U,Ne){return a?Math.max(0,Math.min(1,(w.height-(Ne-w.top))/w.height)):Math.min(Math.max(U-w.x,0),w.width)/w.width}function Te(U){return Math.min(Math.max(U-w.x,0),w.width)}function le(U,Ne){const et=ze.features.episodesClustering&&!y?ze.episodeMinWidthPc:0,rt=[];let Ze=0,Ve=0,Je=0;for(let Ie=1;Ie<b.length;Ie++)Ve=b[Ie].time/Le*100,Ve-Ze>et&&(rt.push({from:Ze,width:Math.max(0,Ve-Ze),loadedWidth:Math.max(0,Math.min(Ve,U)-Ze),filledWidth:Math.max(0,Math.min(Ve,Ne)-Ze),interactive:b[Ie-1].interactive,completed:b[Ie-1].completed}),Ze=b[Ie].time/Le*100,Je++);const pt={from:Ze,width:Math.max(0,100-Ze),loadedWidth:Math.max(0,Math.min(U,100)-Ze),filledWidth:Math.max(0,Math.min(Ne,100)-Ze),interactive:b[Je].interactive,completed:b[Je].completed};100-Ze<et?(Je-=1,rt[Je].width+=100-Ze,rt[Je].loadedWidth+=Math.max(0,Math.min(U,100)-Ze),rt[Je].filledWidth+=Math.max(0,Math.min(Ne,100)-Ze)):rt[Je]=pt;const at=b[0].time;if(at!==0){const Ie=at/Le*100;rt.unshift({from:0,width:Ie,loadedWidth:Math.min(Ie,U),filledWidth:Math.min(Ie,Ne)})}return rt}function Q(U){Se[U?"unshift":"push"](()=>{k=U,t(19,k)})}return i.$$set=U=>{"className"in U&&t(0,r=U.className),"testId"in U&&t(1,l=U.testId),"isHidden"in U&&t(2,s=U.isHidden),"isVertical"in U&&t(3,a=U.isVertical),"isActiveLive"in U&&t(4,c=U.isActiveLive),"isMobile"in U&&t(5,f=U.isMobile),"isAds"in U&&t(6,m=U.isAds),"squareBorders"in U&&t(7,h=U.squareBorders),"videoEpisodes"in U&&t(28,b=U.videoEpisodes),"withWheelHandler"in U&&t(29,v=U.withWheelHandler),"isInteractive"in U&&t(8,y=U.isInteractive),"disabled"in U&&t(9,_=U.disabled),"hideHandel"in U&&t(10,S=U.hideHandel),"onPointerDown"in U&&t(30,R=U.onPointerDown),"onHandleMove"in U&&t(31,X=U.onHandleMove),"onPointerUp"in U&&t(32,V=U.onPointerUp),"onPointerEnter"in U&&t(33,K=U.onPointerEnter),"onPointerMove"in U&&t(34,se=U.onPointerMove),"onPointerLeave"in U&&t(35,ne=U.onPointerLeave),"onWheelUp"in U&&t(36,O=U.onWheelUp),"onWheelDown"in U&&t(37,$=U.onWheelDown),"onWheelLeft"in U&&t(38,C=U.onWheelLeft),"onWheelRight"in U&&t(39,D=U.onWheelRight),"loadedProgress"in U&&t(11,re=U.loadedProgress),"filledProgress"in U&&t(12,L=U.filledProgress),"handleProgress"in U&&t(13,ae=U.handleProgress),"ariaLabel"in U&&t(14,pe=U.ariaLabel),"ariaValueMin"in U&&t(15,ge=U.ariaValueMin),"ariaValueMax"in U&&t(16,ce=U.ariaValueMax),"ariaValueNow"in U&&t(17,Y=U.ariaValueNow),"ariaValueText"in U&&t(18,fe=U.ariaValueText)},i.$$.update=()=>{var U;i.$$.dirty[0]&65536&&t(40,Le=ce!=null?ce:0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=((U=b[b.length-1])==null?void 0:U.time)<Le),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=b.length&&n&&Le?le(re*100,L*100):[])},[r,l,s,a,c,f,m,h,y,_,S,re,L,ae,pe,ge,ce,Y,fe,k,de,o,Pe,ue,Ee,A,oe,Me,b,v,R,X,V,K,se,ne,O,$,C,D,Le,n,Q]}class Tr extends ke{constructor(e){super(),ye(this,e,_h,bh,we,{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},hh,[-1,-1])}}const yn=(i,e)=>To[i]>=To[e],wh=(i,e)=>To[i]<To[e],jc=(i,e)=>To[i]<=To[e],yh=i=>i>_o.L?exports.GridTypes.XL:i>_o.M?exports.GridTypes.L:i>_o.S?exports.GridTypes.M:i>_o.XS?exports.GridTypes.S:exports.GridTypes.XS;function kh(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 Sh(i){let e,t;return e=new Sl({props:{volume:i[4],muted:i[2]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&16&&(r.volume=n[4]),o[0]&4&&(r.muted=n[2]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ch(i){let e,t;return e=new Si({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],ariaKeyShortCut:zo[Ae.KeyM],$$slots:{default:[Sh]},$$scope:{ctx:i}}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&1&&(r.disabled=!n[0]),o[0]&8&&(r.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(r.ariaLabel=n[7]),o[0]&2&&(r.click=n[1]),o[0]&20|o[1]&1&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ca(i){let e,t,n;return t=new Tr({props:{className:i[3]?"volumeBar-slider-vertical":"",isHidden:i[3]&&!i[5],isVertical:i[3],withWheelHandler:!0,onWheelUp:i[13],onWheelDown:i[14],onPointerDown:i[12],onHandleMove:i[15],onPointerUp:i[16],onPointerEnter:i[3]?i[17]:ie.noop,onPointerLeave:i[3]?i[18]:ie.noop,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(i[8]*100),ariaValueText:`${Math.round(i[8]*100)}%`,filledProgress:i[8],handleProgress:i[8],testId:i[3]?"volume-slider-vertical":"volume-slider"}}),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),M(e,"volumeBar-vertical",i[3])},m(o,r){E(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r[0]&8&&(l.className=o[3]?"volumeBar-slider-vertical":""),r[0]&40&&(l.isHidden=o[3]&&!o[5]),r[0]&8&&(l.isVertical=o[3]),r[0]&8&&(l.onPointerEnter=o[3]?o[17]:ie.noop),r[0]&8&&(l.onPointerLeave=o[3]?o[18]:ie.noop),r[0]&256&&(l.ariaValueNow=Math.round(o[8]*100)),r[0]&256&&(l.ariaValueText=`${Math.round(o[8]*100)}%`),r[0]&256&&(l.filledProgress=o[8]),r[0]&256&&(l.handleProgress=o[8]),r[0]&8&&(l.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(l),(!n||r[0]&8)&&M(e,"volumeBar-vertical",o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Ph(i){let e,t,n,o,r,l;t=new Uc({props:{content:i[6],translateY:-18,$$slots:{default:[Ch]},$$scope:{ctx:i}}});let s=i[0]&&Ca(i);return{c(){e=T("div"),j(t.$$.fragment),n=N(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),M(e,"vertical",i[3])},m(a,c){E(a,e,c),F(t,e,null),p(e,n),s&&s.m(e,null),o=!0,r||(l=[_e(e,"mouseenter",function(){Sn(i[3]?i[19]:ie.noop)&&(i[3]?i[19]:ie.noop).apply(this,arguments)}),_e(e,"mouseleave",function(){Sn(i[3]?i[20]:ie.noop)&&(i[3]?i[20]:ie.noop).apply(this,arguments)}),_e(e,"wheel",oi(i[21]))],r=!0)},p(a,c){i=a;const f={};c[0]&64&&(f.content=i[6]),c[0]&159|c[1]&1&&(f.$$scope={dirty:c,ctx:i}),t.$set(f),i[0]?s?(s.p(i,c),c[0]&1&&d(s,1)):(s=Ca(i),s.c(),d(s,1),s.m(e,null)):s&&(he(),g(s,1,1,()=>{s=null}),ve()),(!o||c[0]&8)&&M(e,"vertical",i[3])},i(a){o||(d(t.$$.fragment,a),d(s),o=!0)},o(a){g(t.$$.fragment,a),g(s),o=!1},d(a){a&&P(e),H(t),s&&s.d(),r=!1,ot(l)}}}function Th(i,e,t){let n,o,r,{isAudioAvailable:l=!0}=e,{click:s}=e;const a=Pt(),c=gn(),f=a.state.volume$;z(i,f,ge=>t(4,n=ge));const m=a.state.muted$;z(i,m,ge=>t(23,r=ge));const h=a.actions.internal.setVolume,b=a.ui.currentGridType$;z(i,b,ge=>t(22,o=ge));let v=!1,y,_,S,k,w,R,X=1,V=!1;function K(ge){X=n,h(ge)}function se(){Bc(a,n,c.controls.volumeStepWheel)}function ne(){Nc(a,n,c.controls.volumeStepWheel)}function O(ge){h(ge)}function $(ge){const ce=ge;h(ce,ce===0?X:ce)}function C(){V=!0}function D(){V=!1,ae()}function re(){clearTimeout(y),t(5,v=!0)}function L(){ae()}function ae(){y=window.setTimeout(()=>{V||t(5,v=!1)},c.controls.volumeBarTimeout)}function pe(ge){ge.deltaY<0?se():ge.deltaY>0&&ne()}return i.$$set=ge=>{"isAudioAvailable"in ge&&t(0,l=ge.isAudioAvailable),"click"in ge&&t(1,s=ge.click)},i.$$.update=()=>{i.$$.dirty[0]&8388609&&t(2,k=!l||r),i.$$.dirty[0]&4194304&&t(3,w=jc(o,exports.GridTypes.S)),i.$$.dirty[0]&12&&(w?t(6,_=""):t(6,_=G(k?"tooltip_volume":"tooltip_volume_muted")),t(7,S=G(k?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,R=k?0:n)},[l,s,k,w,n,v,_,S,R,f,m,b,K,se,ne,O,$,C,D,re,L,pe,o,r]}class Eh extends ke{constructor(e){super(),ye(this,e,Th,Ph,we,{isAudioAvailable:0,click:1},kh,[-1,-1])}}function Ah(i){let e;return{c(){e=B("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function Lh(i){let e;return{c(){e=B("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function Ih(i){let e,t,n;function o(s,a){return s[0]?Lh:Ah}let r=o(i),l=r(i);return{c(){e=B("svg"),t=B("g"),l.c(),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(s,a){E(s,e,a),p(e,t),l.m(t,null)},p(s,[a]){r!==(r=o(s))&&(l.d(1),l=r(s),l&&(l.c(),l.m(t,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:W,o:W,d(s){s&&P(e),l.d()}}}function Vh(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class Mh extends ke{constructor(e){super(),ye(this,e,Vh,Ih,we,{isFullscreen:0})}}function Bh(i){let e,t;return e=new Mh({props:{isFullscreen:i[0]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&1&&(r.isFullscreen=n[0]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Nh(i){let e,t;return e=new Si({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],ariaKeyShortCut:zo[Ae.KeyF],$$slots:{default:[Bh]},$$scope:{ctx:i}}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&4&&(r.ariaLabel=n[2]),o&2&&(r.click=n[1]),o&9&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Rh(i,e,t){let{isFullscreen:n=!1}=e,{click:o=ie.noop}=e,r;return i.$$set=l=>{"isFullscreen"in l&&t(0,n=l.isFullscreen),"click"in l&&t(1,o=l.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=G(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,r]}class qc extends ke{constructor(e){super(),ye(this,e,Rh,Nh,we,{isFullscreen:0,click:1})}}function Oh(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Er extends ke{constructor(e){super(),ye(this,e,null,Oh,we,{})}}function Dh(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Wc extends ke{constructor(e){super(),ye(this,e,null,Dh,we,{})}}function zh(i){je(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Pa(i){let e;return{c(){e=T("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function Fh(i){let e,t,n,o,r=i[1]&&Pa();var l=i[8];function s(a){return{}}return l&&(n=En(l,s())),{c(){r&&r.c(),e=N(),t=T("div"),n&&j(n.$$.fragment),u(t,"class","v-1ot3duq"),M(t,"mobile",i[1])},m(a,c){r&&r.m(a,c),E(a,e,c),E(a,t,c),n&&F(n,t,null),o=!0},p(a,c){if(a[1]?r||(r=Pa(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),c&256&&l!==(l=a[8])){if(n){he();const f=n;g(f.$$.fragment,1,0,()=>{H(f,1)}),ve()}l?(n=En(l,s()),j(n.$$.fragment),d(n.$$.fragment,1),F(n,t,null)):n=null}(!o||c&2)&&M(t,"mobile",a[1])},i(a){o||(n&&d(n.$$.fragment,a),o=!0)},o(a){n&&g(n.$$.fragment,a),o=!1},d(a){a&&(P(e),P(t)),r&&r.d(a),n&&H(n)}}}function Hh(i){let e,t,n;function o(l){i[13](l)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-play",click:i[5]?i[6]:i[4],disabled:i[2],ariaLabel:i[7],ariaKeyShortCut:zo[Ae.KeyK],$$slots:{default:[Fh]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),s&112&&(a.click=l[5]?l[6]:l[4]),s&4&&(a.disabled=l[2]),s&128&&(a.ariaLabel=l[7]),s&33026&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Uh(i,e,t){let n,o;const{fakeIsPlaying$:r}=dr();z(i,r,k=>t(12,o=k));let{ref:l=void 0}=e,{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:m=ie.noop}=e;const{toggle:h}=r;let b,v,y,_;function S(k){l=k,t(0,l)}return i.$$set=k=>{"ref"in k&&t(0,l=k.ref),"isMobile"in k&&t(1,s=k.isMobile),"isPlaying"in k&&t(10,a=k.isPlaying),"disabled"in k&&t(2,c=k.disabled),"className"in k&&t(3,f=k.className),"click"in k&&t(4,m=k.click)},i.$$.update=()=>{i.$$.dirty&4096&&t(5,v=o!==null),i.$$.dirty&5152&&t(11,y=v?o:a),i.$$.dirty&2048&&t(7,_=G(y?"tooltip_pause":"tooltip_play")),i.$$.dirty&2048&&t(8,n=y?Wc:Er)},t(6,b=h),[l,s,c,f,m,v,b,_,n,r,a,y,o,S]}class Ar extends ke{constructor(e){super(),ye(this,e,Uh,Hh,we,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},zh)}}function jh(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 qh(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),u(t,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(t,"fill","#fff"),u(e,"data-testid",n=i[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),M(e,"prev",i[0]),M(e,"mobile",i[1])},m(o,r){E(o,e,r),p(e,t)},p(o,[r]){r&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),r&1&&M(e,"prev",o[0]),r&2&&M(e,"mobile",o[1])},i:W,o:W,d(o){o&&P(e)}}}function Wh(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 Zh extends ke{constructor(e){super(),ye(this,e,Wh,qh,we,{isPrev:0,isMobile:1},jh)}}function Gh(i){let e,t;return e=new Zh({props:{isMobile:i[1],isPrev:i[3]==="prev"}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isMobile=n[1]),o&8&&(r.isPrev=n[3]==="prev"),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Kh(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:[Gh]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Yh(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=G(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,r,l,s,a,c]}class Cl extends ke{constructor(e){super(),ye(this,e,Yh,Kh,we,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function Qh(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Xh extends ke{constructor(e){super(),ye(this,e,null,Qh,we,{})}}function Jh(i){je(i,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function Ta(i){let e,t,n,o,r,l,s;return{c(){e=B("path"),t=B("path"),n=B("path"),o=B("path"),r=B("path"),l=B("path"),s=B("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(t,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(t,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"fill","white"),u(r,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(r,"fill","white"),u(l,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(l,"fill","white"),u(s,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(s,"fill","white")},m(a,c){E(a,e,c),E(a,t,c),E(a,n,c),E(a,o,c),E(a,r,c),E(a,l,c),E(a,s,c)},d(a){a&&(P(e),P(t),P(n),P(o),P(r),P(l),P(s))}}}function xh(i){let e,t,n,o=!i[0]&&Ta();return{c(){e=B("svg"),t=B("path"),o&&o.c(),u(t,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(t,"fill","white"),u(e,"width",i[2]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(i[2]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",i[3]),u(e,"class","v-1bbobod"),M(e,"mobile",i[1])},m(r,l){E(r,e,l),p(e,t),o&&o.m(e,null)},p(r,[l]){r[0]?o&&(o.d(1),o=null):o||(o=Ta(),o.c(),o.m(e,null)),l&4&&u(e,"width",r[2]),l&4&&n!==(n="0 0 "+(r[2]+1)+" 20")&&u(e,"viewBox",n),l&8&&u(e,"data-testid",r[3]),l&2&&M(e,"mobile",r[1])},i:W,o:W,d(r){r&&P(e),o&&o.d()}}}function $h(i,e,t){let{short:n=!1}=e,{isMobile:o=!1}=e,r,l;return i.$$set=s=>{"short"in s&&t(0,n=s.short),"isMobile"in s&&t(1,o=s.isMobile)},i.$$.update=()=>{i.$$.dirty&1&&(t(2,r=n?20:93),t(3,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,r,l]}class ev extends ke{constructor(e){super(),ye(this,e,$h,xh,we,{short:0,isMobile:1},Jh)}}function tv(i){let e,t;return e=new Xh({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p:W,i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function iv(i){let e,t;return e=new ev({props:{short:i[4],isMobile:!!i[7]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.short=n[4]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function nv(i){let e,t,n,o;const r=[iv,tv],l=[];function s(a,c){return a[2]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function ov(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:[nv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function lv(i,e,t){let n,o,r,{ref:l=void 0}=e,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=gn(),{logoLink:m,addTimeToLogoLink:h}=f,b=Pt(),v=b.state.positionWithScrubbing$;z(i,v,V=>t(14,n=V));const y=b.ui.currentGridType$;z(i,y,V=>t(11,o=V));const _=b.ui.isMobile;z(i,_,V=>t(12,r=V));let S,k,w;const R=()=>{let V;if(k||!a)V=m;else{const K=Math.round(n);if(h&&K){const se=new URL(a);se.searchParams.append("t",ie.timeCodeToString(K)),V=se.toString()}else V=a}c(),window.open(V,"_blank")};function X(V){l=V,t(0,l)}return i.$$set=V=>{"ref"in V&&t(0,l=V.ref),"logoClickable"in V&&t(1,s=V.logoClickable),"videoLogoUrl"in V&&t(9,a=V.videoLogoUrl),"click"in V&&t(10,c=V.click)},i.$$.update=()=>{i.$$.dirty&6148&&t(4,w=(r||jc(o,exports.GridTypes.L))&&k)},t(3,S=f.logoType===Po.VK_VIDEO?G("tooltip_vk_video_logo"):G("tooltip_vk_logo")),t(2,k=f.logoType===Po.VK_VIDEO),[l,s,k,S,w,v,y,_,R,a,c,o,r,X]}class Zc extends ke{constructor(e){super(),ye(this,e,lv,ov,we,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function rv(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 sv(i){let e,t,n,o,r,l,s,a;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),l=B("path"),s=B("path"),a=B("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(r,"class","wave wave3 v-8z1bf5"),u(r,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(r,"fill","#fff"),u(l,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(l,"fill","#fff"),u(s,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),M(a,"hidden",!i[1]),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-icon"),u(e,"class","v-8z1bf5"),M(e,"connecting",i[2])},m(c,f){E(c,e,f),p(e,t),p(t,n),p(t,o),p(t,r),p(t,l),p(t,s),p(t,a)},p(c,f){f&2&&M(a,"hidden",!c[1]),f&4&&M(e,"connecting",c[2])},d(c){c&&P(e)}}}function av(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X;return{c(){e=B("svg"),t=B("g"),n=B("mask"),o=B("path"),l=B("path"),s=B("path"),c=B("path"),f=B("defs"),m=B("clipPath"),h=B("path"),v=B("filter"),y=B("feFlood"),_=B("feColorMatrix"),S=B("feOffset"),k=B("feGaussianBlur"),w=B("feColorMatrix"),R=B("feBlend"),X=B("feBlend"),u(o,"fill",r=i[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(s,"fill",a=i[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(h,"fill",b=i[1]?"#2688EB":"#fff"),u(h,"d","M0 0h24v24H0z"),u(m,"id","a"),u(y,"flood-opacity","0"),u(y,"result","BackgroundImageFix"),u(_,"in","SourceAlpha"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(_,"result","hardAlpha"),u(k,"stdDeviation","2.5"),u(w,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(R,"in2","BackgroundImageFix"),u(R,"result","effect1_dropShadow_4085_178456"),u(X,"in","SourceGraphic"),u(X,"in2","effect1_dropShadow_4085_178456"),u(X,"result","shape"),u(v,"id","b"),u(v,"x","-3.4"),u(v,"y","-1.4"),u(v,"width","30.8"),u(v,"height","26.802"),u(v,"filterUnits","userSpaceOnUse"),u(v,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(V,K){E(V,e,K),p(e,t),p(t,n),p(n,o),p(n,l),p(t,s),p(t,c),p(e,f),p(f,m),p(m,h),p(f,v),p(v,y),p(v,_),p(v,S),p(v,k),p(v,w),p(v,R),p(v,X)},p(V,K){K&2&&r!==(r=V[1]?"#2688EB":"#fff")&&u(o,"fill",r),K&2&&a!==(a=V[1]?"#2688EB":"#fff")&&u(s,"fill",a),K&2&&b!==(b=V[1]?"#2688EB":"#fff")&&u(h,"fill",b)},d(V){V&&P(e)}}}function uv(i){let e;function t(r,l){return r[0]?av:sv}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(r){r&&P(e),o.d(r)}}}function cv(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,r,l;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"state"in s&&t(3,o=s.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,l=o===xe.ChromecastState.CONNECTING),t(1,r=o===xe.ChromecastState.CONNECTED))},[n,r,l,o]}class fv extends ke{constructor(e){super(),ye(this,e,cv,uv,we,{isMobile:0,state:3},rv)}}function dv(i){let e,t;return e=new fv({props:{isMobile:i[1],state:i[2]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isMobile=n[1]),o&4&&(r.state=n[2]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function mv(i){let e,t,n;function o(l){i[5](l)}let r={ariaLabel:i[4],click:i[3],testId:"btn-chromecast",$$slots:{default:[dv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function pv(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{state:r}=e,{click:l=ie.noop}=e,s;function a(c){n=c,t(0,n)}return i.$$set=c=>{"ref"in c&&t(0,n=c.ref),"isMobile"in c&&t(1,o=c.isMobile),"state"in c&&t(2,r=c.state),"click"in c&&t(3,l=c.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,s=r===xe.ChromecastState.CONNECTED?G("tooltip_chromecast_on"):G("tooltip_chromecast_off"))},[n,o,r,l,s,a]}class Gc extends ke{constructor(e){super(),ye(this,e,pv,mv,we,{ref:0,isMobile:1,state:2,click:3})}}function hv(i){let e,t;return e=new Cc({props:{isActive:i[1]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isActive=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function vv(i){let e,t;return e=new Si({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1]&&i[3]===xe.PlaybackState.PLAYING,ariaLabel:i[2],click:i[4],$$slots:{default:[hv]},$$scope:{ctx:i}}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(r.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(r.disabled=n[1]&&n[3]===xe.PlaybackState.PLAYING),o&4&&(r.ariaLabel=n[2]),o&16&&(r.click=n[4]),o&514&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function gv(i,e,t){let n,{isMobile:o=!1}=e,{isActiveLive:r=!1}=e,{ariaLabel:l=""}=e;const s=Pt(),a=s.state.playbackState$;z(i,a,h=>t(3,n=h));const c=s.actions.internal.switchToActiveLive,f=s.actions.internal.togglePlay;let m;return i.$$set=h=>{"isMobile"in h&&t(0,o=h.isMobile),"isActiveLive"in h&&t(1,r=h.isActiveLive),"ariaLabel"in h&&t(2,l=h.ariaLabel)},i.$$.update=()=>{i.$$.dirty&10&&t(4,m=()=>{if(!r){c();return}n===xe.PlaybackState.PAUSED&&f()})},[o,r,l,n,m,a]}class Kc extends ke{constructor(e){super(),ye(this,e,gv,vv,we,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function bv(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 _v(i){let e,t,n,o;const r=i[9].default,l=Mn(r,i,i[8],null);return{c(){e=T("div"),t=T("div"),l&&l.c(),u(t,"class","tooltip v-5ygsa2"),M(t,"active",i[0]),M(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(s,a){E(s,e,a),p(e,t),l&&l.m(t,null),i[10](t),i[11](e),o=!0},p(s,[a]){l&&l.p&&(!o||a&256)&&Nn(l,r,s,s[8],o?Bn(r,s[8],a,null):Rn(s[8]),null),(!o||a&1)&&M(t,"active",s[0]),(!o||a&2)&&M(t,"pointer",s[1]),(!o||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){o||(d(l,s),o=!0)},o(s){g(l,s),o=!1},d(s){s&&P(e),l&&l.d(s),i[10](null),i[11](null)}}}function wv(i,e,t){let n,{$$slots:o={},$$scope:r}=e,{active:l=!1}=e,{pointer:s=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,m,h;function b(_){if(!h)return 0;const{width:S}=h.getBoundingClientRect(),k=S/2;return _<k?k:_>f-k?f-k:_}function v(_){Se[_?"unshift":"push"](()=>{h=_,t(4,h)})}function y(_){Se[_?"unshift":"push"](()=>{m=_,t(3,m)})}return i.$$set=_=>{"active"in _&&t(0,l=_.active),"pointer"in _&&t(1,s=_.pointer),"translateXPx"in _&&t(6,a=_.translateXPx),"translateYPx"in _&&t(2,c=_.translateYPx),"containerWidth"in _&&t(7,f=_.containerWidth),"$$scope"in _&&t(8,r=_.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=b(a))},[l,s,c,m,h,n,a,f,r,o,v,y]}class yv extends ke{constructor(e){super(),ye(this,e,wv,_v,we,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},bv)}}const Yc=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function kv(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 Ea(i){let e;function t(r,l){return r[2]&&r[10].completed===!1?Cv:Sv}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,l){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},d(r){r&&P(e),o.d(r)}}}function Sv(i){let e=(i[10].text||"")+"",t;return{c(){t=Fe(e)},m(n,o){E(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&$e(t,e)},d(n){n&&P(t)}}}function Cv(i){let e=G("tooltip_episode_unfinished")+"",t;return{c(){t=Fe(e)},m(n,o){E(n,t,o)},p:W,d(n){n&&P(t)}}}function Pv(i){let e,t,n,o,r,l,s,a,c=i[10]&&Ea(i);return{c(){e=T("div"),t=T("div"),o=N(),r=T("div"),c&&c.c(),l=N(),s=T("div"),a=Fe(i[0]),u(t,"class","preview v-l51fc1"),u(t,"style",n=`width: ${i[3]}px; height: ${i[4]}px; background-image: url(${i[5]}); background-size: ${i[6]}px ${i[7]}px; background-position: ${i[8]}px ${i[9]}px; transform: translateY(${i[11]%180?-35:0}px) rotate(${i[11]}deg);`),u(r,"class","episode v-l51fc1"),u(s,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),M(e,"mobile",i[1])},m(f,m){E(f,e,m),p(e,t),p(e,o),p(e,r),c&&c.m(r,null),p(e,l),p(e,s),p(s,a)},p(f,[m]){m&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(t,"style",n),f[10]?c?c.p(f,m):(c=Ea(f),c.c(),c.m(r,null)):c&&(c.d(1),c=null),m&1&&$e(a,f[0]),m&2&&M(e,"mobile",f[1])},i:W,o:W,d(f){f&&P(e),c&&c.d()}}}const go=150;function Tv(i,e,t){let n,{time:o=""}=e,{isMobile:r=!1}=e,{videoEpisodes:l=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=Pt().ui.rotateAlpha;z(i,h,K=>t(11,n=K));let b,v,y,_,S,k,w,R;function X(){let K=s.frameWidth,se=s.frameHeight;return K>go?(se=se/K*go,K=go):se>go&&(K=K/se*go,se=go),{width:K,height:se}}function V(K){let se;s.isUV?se=Math.floor(c*K/s.frequency):se=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*K)));const ne=Math.floor(se/s.countPerImage),O=Math.floor(se%s.countPerImage/s.countPerRow),$=se%s.countPerRow;let C=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&ne===Math.floor(s.countTotal/s.countPerImage)&&(C=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&C++);let D=s.countPerRow;!s.isUV&&ne===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(D=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const re=b*D,L=v*C,ae=-$*b,pe=-O*v;return{imgSrc:s.links[ne],imgWidth:re,imgHeight:L,imgOffsetX:ae,imgOffsetY:pe}}return i.$$set=K=>{"time"in K&&t(0,o=K.time),"isMobile"in K&&t(1,r=K.isMobile),"videoEpisodes"in K&&t(13,l=K.videoEpisodes),"previewThumbsData"in K&&t(14,s=K.previewThumbsData),"progress"in K&&t(15,a=K.progress),"duration"in K&&t(16,c=K.duration),"isInteractive"in K&&t(2,f=K.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:y,imgWidth:_,imgHeight:S,imgOffsetX:k,imgOffsetY:w}=V(a),y,(t(6,_),t(15,a)),(t(7,S),t(15,a)),(t(8,k),t(15,a)),(t(9,w),t(15,a))),i.$$.dirty&106496&&t(10,R=Yc(a,c,l))},t(3,{width:b,height:v}=X(),b,t(4,v)),[o,r,f,b,v,y,_,S,k,w,R,n,h,l,s,a,c]}class Ev extends ke{constructor(e){super(),ye(this,e,Tv,Pv,we,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},kv)}}function Av(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 Lv(i){let e,t;return{c(){e=T("span"),t=Fe(i[7]),u(e,"class","time v-5lzly8")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o[0]&128&&$e(t,n[7])},i:W,o:W,d(n){n&&P(e)}}}function Iv(i){let e,t;return e=new Ev({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&128&&(r.time=n[7]),o[0]&1024&&(r.isMobile=n[10]),o[0]&8&&(r.videoEpisodes=n[3]),o[0]&256&&(r.progress=n[8]),o[0]&2&&(r.duration=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Vv(i){let e,t,n,o;const r=[Iv,Lv],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=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Mv(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=h1(l,r[s]);return e=new yv({props:l}),n=new Tr({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:G("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:G("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(ct.TIMELINE),hideHandel:i[2]}}),{c(){j(e.$$.fragment),t=N(),j(n.$$.fragment)},m(s,a){F(e,s,a),E(s,t,a),F(n,s,a),o=!0},p(s,a){const c=a[0]&512?u0(r,[c0(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=G("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(ct.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){o||(d(e.$$.fragment,s),d(n.$$.fragment,s),o=!0)},o(s){g(e.$$.fragment,s),g(n.$$.fragment,s),o=!1},d(s){s&&P(t),H(e,s),H(n,s)}}}function Bv(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,{showTimeline:v=!1}=e;const y=Pt(),_=gn(),S=y.state.bufferedProgress$;z(i,S,Q=>t(12,h=Q));const k=y.state.positionWithScrubbing$;z(i,k,Q=>t(39,a=Q));const w=y.state.duration$;z(i,w,Q=>t(1,r=Q));const R=y.state.isLive$;z(i,R,Q=>t(0,o=Q));const X=y.state.isActiveLive$;z(i,X,Q=>t(11,m=Q));const V=y.ui.isMobile;z(i,V,Q=>t(10,f=Q));const K=_.features.episodes?y.actions.internal.getVideoEpisodes():void 0,se=y.actions.internal.getPreviewThumbsData(),ne=y.state.interactiveEpisodes$;z(i,ne,Q=>t(40,c=Q));const O=y.state.isInteractive,$=y.state.isInteractiveTime$;z(i,$,Q=>t(2,l=Q));const C=y.state.isInteractiveExpectation$;z(i,C,Q=>t(38,s=Q));const D=y.actions.internal.correctSeekTimeToInteractive,re=y.ui.controls.disabledControls$;z(i,re,Q=>t(13,b=Q));let L,ae,pe,ge,ce=!1,Y="",fe=0,ze=0,de=0,Le;function Pe(Q){return!D||!O?Q:D(Q*r)/r}function ue(Q){y.actions.internal.startScrubbing(Pe(Q))}function Ee(Q){l||y.actions.internal.progressScrubbing(Pe(Q))}function A(Q){y.actions.internal.completeScrubbing(Pe(Q)),t(34,ce=!1)}function oe(Q,U,Ne){Te(Q,U,Ne),t(34,ce=!0)}function Me(Q,U,Ne){Te(Q,U,Ne),t(34,ce=!0)}function Ce(){t(34,ce=!1)}function Te(Q,U,Ne){t(8,de=Q),t(35,fe=U),Ne&&t(36,ze=Ne),t(7,Y=le(Q))}function le(Q){const U=Vn((o?1-Q:Q)*r);return o?`-${U}`:U}return i.$$set=Q=>{"showTimeline"in Q&&t(33,v=Q.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,L=O?c:K),i.$$.dirty[0]&2&&t(4,ae=Vn(r)),i.$$.dirty[1]&256&&t(5,pe=Vn(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,ge=a/r),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,Le=s||l),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:ze,translateXPx:fe,translateYPx:O&&se?-36:-16,active:ce&&v&&!Le,pointer:!_.features.timelinePreview||!se||o})},[o,r,l,L,ae,pe,ge,Y,de,n,f,m,h,b,_,S,k,w,R,X,V,se,ne,O,$,C,re,ue,Ee,A,oe,Me,Ce,v,ce,fe,ze,Le,s,a,c]}let Nv=class extends ke{constructor(e){super(),ye(this,e,Bv,Mv,we,{showTimeline:33},Av,[-1,-1])}};function Rv(i){let e,t;return e=new Tr({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:G("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){j(e.$$.fragment)},m(n,o){F(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=G("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(r.filledProgress=n[3]),o&16&&(r.squareBorders=n[4]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ov(i,e,t){let n,{position:o=0}=e,{duration:r=0}=e;const s=Pt().ui.isMobile;z(i,s,m=>t(4,n=m));let a,c,f;return i.$$set=m=>{"position"in m&&t(6,o=m.position),"duration"in m&&t(0,r=m.duration)},i.$$.update=()=>{i.$$.dirty&1&&t(1,a=Vn(r)),i.$$.dirty&64&&t(2,c=Vn(o)),i.$$.dirty&65&&t(3,f=o/r)},[r,a,c,f,n,s,o]}class Qc extends ke{constructor(e){super(),ye(this,e,Ov,Rv,we,{position:6,duration:0})}}function Dv(i){je(i,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function zv(i){let e;return{c(){e=T("div"),u(e,"class","timeline-stub v-1gqonyf"),M(e,"mobile",i[2])},m(t,n){E(t,e,n)},p(t,n){n&4&&M(e,"mobile",t[2])},i:W,o:W,d(t){t&&P(e)}}}function Fv(i){let e,t,n,o;const r=[Uv,Hv],l=[];function s(a,c){return a[0]?0:1}return t=s(i),n=l[t]=r[t](i),{c(){e=T("div"),n.c(),u(e,"class","timeline v-1gqonyf"),M(e,"mobile",i[2])},m(a,c){E(a,e,c),l[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?l[t].p(a,c):(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),n=l[t],n?n.p(a,c):(n=l[t]=r[t](a),n.c()),d(n,1),n.m(e,null)),(!o||c&4)&&M(e,"mobile",a[2])},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&P(e),l[t].d()}}}function Hv(i){let e,t;return e=new Nv({props:{showTimeline:i[1]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.showTimeline=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Uv(i){let e,t;return e=new Qc({props:{position:i[3],duration:i[4]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&8&&(r.position=n[3]),o&16&&(r.duration=n[4]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function jv(i){let e,t,n,o;const r=[Fv,zv],l=[];function s(a,c){return a[1]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function qv(i,e,t){let n,o,r,l,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const m=Pt(),h=m.state.isLive$;z(i,h,S=>t(12,n=S));const b=m.ads.duration;z(i,b,S=>t(4,l=S));const v=m.ads.position;z(i,v,S=>t(3,r=S));const y=m.ui.isMobile;z(i,y,S=>t(2,o=S));let _;return i.$$set=S=>{"isAds"in S&&t(0,s=S.isAds),"canRewindLive"in S&&t(9,a=S.canRewindLive),"isRewindableLive"in S&&t(10,c=S.isRewindableLive),"isHidden"in S&&t(11,f=S.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,_=!f&&(!n||n&&a&&c||s))},[s,_,o,r,l,h,b,v,y,a,c,f,n]}class Xc extends ke{constructor(e){super(),ye(this,e,qv,jv,we,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},Dv)}}function Wv(i){let e,t,n,o;return{c(){e=B("svg"),t=B("path"),n=B("path"),o=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(o,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),Nt(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(r,l){E(r,e,l),p(e,t),p(e,n),p(e,o)},p:W,i:W,o:W,d(r){r&&P(e)}}}class Zv extends ke{constructor(e){super(),ye(this,e,null,Wv,we,{})}}function Gv(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"opacity",".7"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(t,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Kv extends ke{constructor(e){super(),ye(this,e,null,Gv,we,{})}}function Yv(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 Qv(i){let e,t,n,o;e=new Zv({});function r(a,c){if(a[4]===Kn.FULL)return xv;if(a[4]===Kn.COUNT)return Jv}let l=r(i),s=l&&l(i);return{c(){j(e.$$.fragment),t=N(),s&&s.c(),n=bt()},m(a,c){F(e,a,c),E(a,t,c),s&&s.m(a,c),E(a,n,c),o=!0},p(a,c){l===(l=r(a))&&s?s.p(a,c):(s&&s.d(1),s=l&&l(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){o||(d(e.$$.fragment,a),o=!0)},o(a){g(e.$$.fragment,a),o=!1},d(a){a&&(P(t),P(n)),H(e,a),s&&s.d(a)}}}function Xv(i){let e,t,n,o,r,l;return r=new Kv({}),{c(){e=T("span"),t=Fe(i[2]),n=N(),o=T("div"),j(r.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(s,a){E(s,e,a),p(e,t),E(s,n,a),E(s,o,a),F(r,o,null),l=!0},p(s,a){(!l||a&4)&&$e(t,s[2])},i(s){l||(d(r.$$.fragment,s),l=!0)},o(s){g(r.$$.fragment,s),l=!1},d(s){s&&(P(e),P(n),P(o)),H(r)}}}function Jv(i){let e,t=i[0].length+"",n;return{c(){e=T("span"),n=Fe(t),u(e,"class","text count v-1yhs2ga")},m(o,r){E(o,e,r),p(e,n)},p(o,r){r&1&&t!==(t=o[0].length+"")&&$e(n,t)},d(o){o&&P(e)}}}function xv(i){let e,t;return{c(){e=T("span"),t=Fe(i[2]),u(e,"class","text v-1yhs2ga")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o&4&&$e(t,n[2])},d(n){n&&P(e)}}}function $v(i){let e,t,n,o;const r=[Xv,Qv],l=[];function s(a,c){return a[6]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function e5(i){let e,t,n;function o(l){i[19](l)}let r={className:"w-max btn-full-opacity "+(i[6]?"px-0":""),testId:"btn-episodes",click:i[12],disabled:!i[7],ariaExpanded:i[3],ariaLabel:i[5],$$slots:{default:[$v]},$$scope:{ctx:i}};return i[1]!==void 0&&(r.ref=i[1]),e=new Si({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&64&&(a.className="w-max btn-full-opacity "+(l[6]?"px-0":"")),s&8&&(a.ariaExpanded=l[3]),s&32&&(a.ariaLabel=l[5]),s&8388693&&(a.$$scope={dirty:s,ctx:l}),!t&&s&2&&(t=!0,a.ref=l[1],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function t5(i,e,t){var O,$,C;let n,o,r,l,s,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:m=[]}=e;const h=Pt(),b=($=(O=h.callbacks)==null?void 0:O.onEpisodeChanged)!=null?$:ie.noop,v=!!((C=h.callbacks)!=null&&C.onEpisodeClicked),y=h.ui.currentGridType$;z(i,y,D=>t(18,s=D));const _=h.ui.episodes.openedByKeyboard$;z(i,_,D=>t(17,l=D));const S=h.ui.episodes.panelOpened$;z(i,S,D=>t(3,r=D));const k=h.ui.isMobile;z(i,k,D=>t(6,a=D));let w;const R=D=>{var L,ae,pe;if(!!((L=h.callbacks)!=null&&L.onEpisodeClicked)){const ge=wr(D);_.set(ge),S.set(!0),(pe=(ae=h.callbacks)==null?void 0:ae.onEpisodeClicked)==null||pe.call(ae,ge)}};let X,V,K;const se=(D,re,L)=>Xi(this,null,function*(){yield bl(),(D==null?void 0:D.getAttribute("aria-expanded"))==="false"&&re&&!L&&(_.set(!1),D.focus())});function ne(D){w=D,t(1,w)}return i.$$set=D=>{"position"in D&&t(13,c=D.position),"duration"in D&&t(14,f=D.duration),"timeCodes"in D&&t(0,m=D.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&24576&&t(16,n=c/f),i.$$.dirty&114689){const D=Yc(n,f,m);D&&(X==null?void 0:X.text)!==D.text&&(b(D),t(15,X=D))}i.$$.dirty&32768&&t(2,o=(X==null?void 0:X.text)||""),i.$$.dirty&262144&&(yn(s,exports.GridTypes.XL)?t(4,V=Kn.FULL):yn(s,exports.GridTypes.M)&&wh(s,exports.GridTypes.XL)?t(4,V=Kn.COUNT):t(4,V=Kn.SHORT)),i.$$.dirty&4&&t(5,K=`${G("tooltip_episodes")}: ${o}`),i.$$.dirty&131082&&se(w,l,r)},[m,w,o,r,V,K,a,v,y,_,S,k,R,c,f,X,n,l,s,ne]}class Jc extends ke{constructor(e){super(),ye(this,e,t5,e5,we,{position:13,duration:14,timeCodes:0},Yv)}}function i5(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(t,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p:W,i:W,o:W,d(o){o&&P(e)}}}class n5 extends ke{constructor(e){super(),ye(this,e,null,i5,we,{})}}function o5(i){let e,t;return e=new n5({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function l5(i){let e,t,n;function o(l){i[4](l)}let r={className:i[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:G("tooltip_interactive_seek"),disabled:i[2],click:i[3],$$slots:{default:[o5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function r5(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 xc extends ke{constructor(e){super(),ye(this,e,r5,l5,we,{ref:0,hidden:1,disabled:2,click:3})}}function s5(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),M(n,"hidden",!i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p(o,[r]){r&1&&M(n,"hidden",!o[0])},i:W,o:W,d(o){o&&P(e)}}}function a5(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class u5 extends ke{constructor(e){super(),ye(this,e,a5,s5,we,{isOpened:0})}}function c5(i){let e,t;return e=new u5({props:{isOpened:i[3]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&8&&(r.isOpened=n[3]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function f5(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:[c5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function d5(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=G(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,r,l,s,a,c]}class $c extends ke{constructor(e){super(),ye(this,e,d5,f5,we,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function m5(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class ef extends ke{constructor(e){super(),ye(this,e,null,m5,we,{})}}function p5(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 Aa(i){let e;return{c(){e=T("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function h5(i){let e,t,n,o,r=i[1]&&Aa();return n=new ef({}),{c(){r&&r.c(),e=N(),t=T("div"),j(n.$$.fragment),u(t,"class","v-1ot3duq"),M(t,"mobile",i[1])},m(l,s){r&&r.m(l,s),E(l,e,s),E(l,t,s),F(n,t,null),o=!0},p(l,s){l[1]?r||(r=Aa(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),(!o||s&2)&&M(t,"mobile",l[1])},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){g(n.$$.fragment,l),o=!1},d(l){l&&(P(e),P(t)),r&&r.d(l),H(n)}}}function v5(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:G("tooltip_restart"),disabled:i[2],click:i[4],ariaKeyShortCut:zo[Ae.KeyK],$$slots:{default:[h5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function g5(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:r=!1}=e,{className:l=""}=e,{click:s=ie.noop}=e;function a(c){n=c,t(0,n)}return i.$$set=c=>{"ref"in c&&t(0,n=c.ref),"isMobile"in c&&t(1,o=c.isMobile),"disabled"in c&&t(2,r=c.disabled),"className"in c&&t(3,l=c.className),"click"in c&&t(4,s=c.click)},[n,o,r,l,s,a]}class Lr extends ke{constructor(e){super(),ye(this,e,g5,v5,we,{ref:0,isMobile:1,disabled:2,className:3,click:4},p5)}}function b5(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class _5 extends ke{constructor(e){super(),ye(this,e,null,b5,we,{})}}function w5(i){let e,t;return e=new _5({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function y5(i){let e,t;return e=new Si({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:G("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[w5]},$$scope:{ctx:i}}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.className=n[0]?"hidden":""),o&2&&(r.disabled=n[1]),o&4&&(r.click=n[2]),o&8&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function k5(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:r}=e;return i.$$set=l=>{"hidden"in l&&t(0,n=l.hidden),"disabled"in l&&t(1,o=l.disabled),"click"in l&&t(2,r=l.click)},[n,o,r]}class tf extends ke{constructor(e){super(),ye(this,e,k5,y5,we,{hidden:0,disabled:1,click:2})}}function S5(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=T("img"),u(e,"class","icon v-1x1zctw"),Ur(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(r,l){E(r,e,l),n||(o=_e(e,"error",i[7]),n=!0)},p(r,l){l&1&&!Ur(e.src,t=r[0])&&u(e,"src",t)},d(r){r&&P(e),n=!1,o()}}}function P5(i){let e;return{c(){e=T("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(t,n){E(t,e,n)},p:W,d(t){t&&P(e)}}}function T5(i){let e;function t(r,l){return r[5]?P5:C5}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,l){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},d(r){r&&P(e),o.d(r)}}}function E5(i){let e,t;return e=new Si({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[T5]},$$scope:{ctx:i}}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&16&&(r.className=n[4]?"btn-full-opacity":""),o&2&&(r.ariaLabel=n[1]),o&8&&(r.click=n[3]),o&64&&(r.disabled=n[6]),o&4&&(r.testId=n[2]),o&545&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function A5(i,e,t){let n,o,r,{iconUrl:l}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=ie.noop}=e;const m=()=>{t(5,r=!0)};return i.$$set=h=>{"iconUrl"in h&&t(0,l=h.iconUrl),"ariaLabel"in h&&t(1,s=h.ariaLabel),"disabled"in h&&t(8,a=h.disabled),"testId"in h&&t(2,c=h.testId),"onClick"in h&&t(3,f=h.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===ie.noop),i.$$.dirty&272&&t(6,o=n||a)},t(5,r=!1),[l,s,c,f,n,r,o,m,a]}class nf extends ke{constructor(e){super(),ye(this,e,A5,E5,we,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},S5)}}class La{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 of extends La{constructor(){super(),this.listeners||La.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 L5=class{constructor(){Object.defineProperty(this,"signal",{value:new of,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&&(L5.prototype[Symbol.toStringTag]="AbortController",of.prototype[Symbol.toStringTag]="AbortSignal");function lf(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 I5(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!lf({fetch:e,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:e,Request:r};let r=t;(r&&!r.prototype.hasOwnProperty("signal")||o)&&(r=function(c,f){let m;f&&f.signal&&(m=f.signal,delete f.signal);const h=new t(c,f);return m&&Object.defineProperty(h,"signal",{writable:!1,enumerable:!1,configurable:!0,value:m}),h},r.prototype=t.prototype);const l=e;return{fetch:(a,c)=>{const f=r&&r.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let m;try{m=new DOMException("Aborted","AbortError")}catch(b){m=new Error("Aborted"),m.name="AbortError"}if(f.aborted)return Promise.reject(m);const h=new Promise((b,v)=>{f.addEventListener("abort",()=>v(m),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([h,l(a,c)])}return l(a,c)},Request:r}}const Ir=lf({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),rf=Ir?I5({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,V5=Ir?rf.fetch:window.fetch;Ir?rf.Request:window.Request;const M5=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,B5="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class N5{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 ie.Subject,started$:new ie.Subject,paused$:new ie.Subject,resumed$:new ie.Subject,ended$:new ie.Subject,skipped$:new ie.Subject,clicked$:new ie.Subject},this.loadAdman=n=>new Promise((o,r)=>{let l;const s=()=>{clearTimeout(l),delete window.admanAsyncInit,window.AdmanHTML?o():r()};ie.addScript(B5,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)=>{ie.assertNonNullable(this.adsState),ie.assertNonNullable(this.playerState),ie.assertNonNullable(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(o)}`}),this.events.started$.next(n),o.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Xe(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(o.duration),this.adsState.playbackState.set(ni.PLAYING),this.adsState.canSkip.set(o.allowClose),this.adsState.secondsToWatchBeforeSkip.set(o.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{ie.assertNonNullable(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{ie.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(ni.PAUSED)},this.onAdPlayed=()=>{ie.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(ni.PLAYING)},this.onAdMidrollPoint=()=>{ie.assertNonNullable(this.adman),ie.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=An.Midroll,this.adman.start(An.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var n;this.log({message:"ad clicked"}),(n=this.videoElement)===null||n===void 0||n.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=t.loadTimeout,this.initTimeout=t.initTimeout}init(e,t,n){this.actions=e,this.adsState=t,this.playerState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:t,height:n,isFullscreen:o,isAutoplay:r,adsContainer:l,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:m}=e;let h;const b=this.playerState&&Xe(this.playerState.vsid);b&&(h=parseInt(b,36));const v=Object.assign(Object.assign(Object.assign({dl:encodeURIComponent(window.location.href),autoplay:r,player_width:t,player_height:n,puid10:M5(t,n),puid11:o?0:1,preview:m},h?{request_id:h}:{}),{duration:f}),c),y={slot:a,wrapper:l,videoEl:s,videoQuality:n,params:v,browser:{mobile:!1}},_=new window.AdmanHTML;_.setDebug(!1),_.onReady(this.onAdsReady),_.onStarted(this.onAdStarted),_.onPlayed(this.onAdPlayed),_.onPaused(this.onAdPaused),_.adMidrollPoint(this.onAdMidrollPoint),_.onClosed(this.onAdClosed),_.onSkipped(this.onAdSkipped),_.onClicked(this.onAdClicked),_.onTimeRemained(this.onAdTimeRemained),_.onCompleted(this.onAdCompleted),_.onError(this.onAdError),_.init(y),this.adman=_,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(y)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}ie.assertNonNullable(this.actions),ie.assertNonNullable(this.adsState),ie.assertNonNullable(this.playerState);const t=this.currentAdSection===An.Postroll;this.adsState.playbackState.set(ni.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(){ie.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=Xe(this.adsState.playbackState);e===ni.PLAYING?this.pause():e===ni.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(){ie.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=An.Preroll,this.adman.start(An.Preroll)}startPostroll(){ie.assertNonNullable(this.adman),ie.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=An.Postroll,this.adman.start(An.Postroll)}play(){ie.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ie.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ie.assertNonNullable(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,t){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(t))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const R5=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 O5{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 sf,{startTime:c,endTime:f}=a.parse(s);r.startTime=c,r.endTime=f}else if(s.trim()!==""){const a=new D5,{texts:c}=a.parse(s);r.texts=[...r.texts,...c]}(r.startTime||r.endTime)&&r.texts.length>0&&t.push(r)}return t}}class sf{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 D5{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](l){let s=0;const a=[];for(;s<l.length;){const c=["<",">"].reduce((f,m)=>{const h=l.indexOf(m,s);return f===-1||f>h?h:f},-1);if(c===-1){a.push(l.substring(s));break}a.push(l.substring(s,c)),s=c+1}return a}}),r=new sf;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 Hn,Bt,Jl=0,xl=!1;const z5=(i,e,t)=>{var n;const o=i>=Jl,r=i<Jl,l=(f,m=0,h=0)=>f<m&&f<h,s=(f,m=0,h=0)=>f>=m&&f<=h,a=(f,m=0,h=0)=>f>m&&f>h,c=(n=t.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(Jl=i,r&&(xl=!1),ie.isNonNullable(Hn)&&s(i,Hn.startTime,Hn.endTime)&&Hn.lang===e.value)return Hn;if(!ie.isNonNullable(Bt)&&(c!=null&&c.length)&&!xl){const f=c.find(({startTime:m,endTime:h})=>s(i,m,h)||o&&l(i,m,h));Bt=f&&Object.assign(Object.assign({},f),{lang:e.value}),Hn=void 0,!ie.isNonNullable(Bt)&&c[c.length-1].endTime<i&&(xl=!0);return}else{if(s(i,Bt==null?void 0:Bt.startTime,Bt==null?void 0:Bt.endTime))return Hn=Bt,Bt=void 0,Hn;(o&&a(i,Bt==null?void 0:Bt.startTime,Bt==null?void 0:Bt.endTime)||r&&l(i,Bt==null?void 0:Bt.startTime,Bt==null?void 0:Bt.endTime))&&(Bt=void 0)}},$l={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 cl=null;class Bo{constructor(e,t){if(!cl){const n=new kt.OneStat(e,t),o=new ie.Subscription;cl=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n==null||n.destroy(),o==null||o.unsubscribe(),cl=null}})}}static getInstance(){return cl}}const F5=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:r,canDownload:l,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:m,coreConfig:h,player:b,disabledControls:v,isInteractive:y,interactiveRanges:_,replayInteractive:S,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:w,additionalButtons:R,looped:X=!1})=>{var V,K,se,ne;const O=Object.assign(Object.assign({},h),{configName:[...(V=h.configName)!==null&&V!==void 0?V:[],"ui"],isAudioDisabled:r,live:Object.assign(Object.assign({},(K=h.live)!==null&&K!==void 0?K:{}),{isLiveCatchUpMode:!!n})}),$=m,C=b||new xe.Player(O);C.setLooped(X);const D=new ie.Logger,re=new N5(D,{loadTimeout:$.ads.loadTimeout,initTimeout:$.ads.initTimeout}),L=Bo.getInstance(),ae=ar.getInstance(),pe=a==null?void 0:a.pictureInPictureApi,ge=a==null?void 0:a.annotationsApi,ce=D.createComponentLog("Store");let Y,fe,ze={};const de=ie.getCurrentBrowser(),Le=L?St(L.oneStat.vsid$):Tn(void 0),Pe=Be(Oo()),ue=(se=pe==null?void 0:pe.info.isActive$)!==null&&se!==void 0?se:new ie.ValueSubject(!1),Ee=pe==null?void 0:pe.info.type,A=Be(0),oe=Be([]),Me=ie.merge(C.events.fatalError$,C.events.managedError$).subscribe(I=>oe.update(ee=>[...ee,I])),Ce=Tn(!1,I=>{const ee=C.events.fatalError$.subscribe(()=>I(!0));return()=>ee.unsubscribe()}),Te=I=>ki(void 0,void 0,void 0,function*(){var ee;const be=Object.values(ie.InterfaceLanguage).includes(I);if($.downloadVKLanguages&&(be&&$.updateBuiltinLanguages||!vs(I))){let Ge;try{Ge=yield ie.loadVKLangPack(I,g0,b0)}catch(st){(ee=L==null?void 0:L.oneStat)===null||ee===void 0||ee.logError({errorType:"VKLangPack",fatal:!1}),ae==null||ae.report(st,{errorType:"VKLangPack",fatal:!1})}Ge&&(hs({language:I,pack:Ge,fallback:$.defaultLanguage}),le.set(I))}vs(I)&&le.set(I)}),le=Be(i);Te(i);const Q=(I,ee)=>{const be=Xe(le);return gc(be,I,ee,$.defaultLanguage)},U=Be(De.Thumb),Ne=(()=>{const I=fi([Ce,U],([ee,be])=>ee?De.Crashed:be);return Object.assign(Object.assign({},I),{is:ee=>Xe(I)===ee})})(),et=(()=>{const I=Be(new Set(v));return Object.assign(Object.assign({},I),{add:ee=>{I.update(be=>new Set([...be].concat(ee)))},remove:ee=>{I.update(be=>{const Re=[...be];return new Set(Array.isArray(ee)?Re.filter(Ge=>!ee.includes(Ge)):Re.filter(Ge=>Ge!==ee))})},includes:ee=>{const be=Xe(I);return Array.isArray(ee)?ee.every(Re=>be.has(Re)):be.has(ee)}})})();ce({message:"create store"});const rt=I=>{ce({message:`init video, config: ${JSON.stringify(I)}`}),y?I.container.append(C.experimental.element$.getValue()):C.initVideo(I),I.subtitles&&C.setExternalTextTracks(I.subtitles),Y=I},Ze=new ie.Subject,Ve=I=>Ze.next(I),Je=new ie.Subject,pt=new ie.Subject,at=new ie.Subject,Ie={actionRewind$:Je,actionSeek$:pt,inPiP$:ue,inFullscreen$:new ie.Observable(I=>Pe.subscribe(ee=>I.next(ee))),actionSetSubtitle$:at,nextMovie$:Ze};if(L){const{oneStat:I,statSubscription:ee}=L;ee.add(I.attachTo(C)),ee.add(I.attachToUi(Ie)),ee.add(I.attachToAds(re.events)),I.authorize(o).catch(be=>{ce({message:`onestat auth error ${String(be)}`})})}if(ae){const I=new ie.Subscription,ee=(be,Re)=>I.add(be.subscribe(Re));if(ee(C.events.managedError$,be=>{ae.logIError(be)}),ee(C.events.fatalError$,be=>{ae.logIError(be,!0)}),L){const{oneStat:be}=L;ee(be.experimental.error$,Re=>{ae.logIError(Re)})}ae.sentrySubscription.add(I)}const jt=()=>{ie.isIOS()&&fe&&m4(fe)},ft=new ie.Subscription().add(C.experimental.element$.subscribe(I=>{I&&(fe=I,I.classList.add("player-media"),vl(pe)&&(pe.updateVideoElement(),pe.registryEventHandlers()),y&&I.setAttribute("pip","false"))})).add(C.events.ended$.subscribe(()=>{var I;jt(),(I=s==null?void 0:s.onEnded)===null||I===void 0||I.call(s)})).add(C.events.started$.subscribe(()=>ki(void 0,void 0,void 0,function*(){var I,ee;vl(pe)&&(yield pe==null?void 0:pe.revealPictureInPicture());const be=C.info.muted$.getValue();(I=s==null?void 0:s.onStarted)===null||I===void 0||I.call(s),(ee=ze.onStarted)===null||ee===void 0||ee.call(ze,be)}))).add(C.events.willSeek$.subscribe(({from:I,to:ee})=>{var be;(be=s==null?void 0:s.onSeek)===null||be===void 0||be.call(s,I,ee)})).add(C.info.position$.subscribe(I=>{var ee;const be=C.info.duration$.getValue();(ee=s==null?void 0:s.onTimeupdate)===null||ee===void 0||ee.call(s,be,I),re.setPosition(I,be)})).add(C.events.fatalError$.subscribe(()=>{var I;(I=s==null?void 0:s.onCrashed)===null||I===void 0||I.call(s)})).add(C.info.is3DVideo$.subscribe(I=>{_t.ui.is3DVideo.set(I)})).add(C.info.isEnded$.subscribe(I=>{y&&(I?(Xe(Fn)&&et.add(T1),et.add(ct.PLAY_BUTTON)):et.remove(ct.PLAY_BUTTON))})).add(C.info.liveTime$.subscribe(I=>{var ee;(ee=s==null?void 0:s.onLiveTime)===null||ee===void 0||ee.call(s,I)})).add(C.info.isStalled$.subscribe(I=>{var ee;(ee=s==null?void 0:s.onStalledChanged)===null||ee===void 0||ee.call(s,I)})),It=new ie.Subscription,Rt=()=>{It.add(C.events.log$.subscribe(I=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${I.component}`,I.message)})).add(D.log$.subscribe(I=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${I.component}.`,I.message)}))},Vt=()=>{It.unsubscribe()},me=(I,ee)=>{C.startCameraManualRotation(I,ee)},At=(I=!1)=>{C.stopCameraManualRotation(I)},it=(I,ee,be)=>{C.moveCameraFocusPX(I,ee,be)},Tt=()=>{C.holdCamera()},wt=()=>{C.releaseCamera()},ht=Tn(C.info.position$.getValue(),I=>{let ee,be;const Re=()=>{const Ge=C.info.playbackState$.getValue(),st=C.info.isLive$.getValue(),Ct=C.info.duration$.getValue(),gt=C.info.position$.getValue();if([xe.PlaybackState.PLAYING,xe.PlaybackState.PAUSED].includes(Ge)){const yi=st?gt-Ct:C.getExactTime();yi!==be&&I(yi),be=yi}ee=requestAnimationFrame(Re)};return Re(),()=>cancelAnimationFrame(ee)}),Qe=St(ue),Ue=St(C.info.playbackState$),yt=St(C.info.currentBuffer$),Ni=St(C.info.isEnded$),Fi=St(C.info.isLive$),li=$.features.playbackRate?St(C.info.canChangePlaybackSpeed$):Tn(!1),Hi=St(C.info.liveBufferTime$),Ji=St(C.info.volume$),Ot=St(C.info.muted$),qt=I1(C.info.autoQualityLimits$.pipe(ie.map(({max:I})=>I!==void 0)),((ne=C.info.autoQualityLimits$.getValue())===null||ne===void 0?void 0:ne.max)!==void 0),ri=St(C.info.autoQualityLimitingAvailable$),Wt=St(C.info.availableQualities$),di=St(C.info.availableQualitiesFps$),Dt=St(C.info.chromecastState$),Ri=St(C.info.chromecastDeviceName$),si=St(C.info.currentFormat$),Et=St(C.info.throughputEstimation$),Oi=St(C.info.videoBitrate$),Ci=St(C.info.intrinsicVideoSize$),mi=St(C.info.duration$),Pi=St(C.info.isAudioAvailable$);let zt=null;const $t=C.info.isBuffering$,pi=Tn($t.getValue(),I=>{const ee=$t.subscribe(be=>{be&&zt===null?zt=window.setTimeout(()=>{I($t.getValue()),zt=null},$.loaderDelay):I(be)});return()=>{ee.unsubscribe(),zt&&clearTimeout(zt)}}),ai=()=>{zt&&clearTimeout(zt),zt=null},Zt=fi([mi,Fi],([I,ee])=>ee?-I:I),vt=fi([Ue],([I])=>I===xe.PlaybackState.PLAYING),nt=St(C.info.atLiveEdge$),Ft=St(C.info.atLiveDurationEdge$),ui=St(C.info.position$),Di=fi([ui,mi],([I,ee])=>isFinite(I)&&isFinite(ee)&&!!ee),Ti=fi([Dt],([I])=>I===xe.ChromecastState.CONNECTED),Gt=Be(void 0),Kt=St(C.info.isAutoQualityEnabled$,I=>I&&Gt.set(void 0)),Ui=St(C.info.currentQuality$,()=>Gt.set(void 0)),ei=fi([Gt,Ui],([I,ee])=>I!=null?I:ee),ji=fi([Wt,di,Kt,ei,si],([I,ee,be,Re,Ge])=>{const st=[];Ge!==xe.VideoFormat.MPEG&&st.push({value:ko.AUTO,displayValue:Q("auto_quality_option"),selected:be});const Ct=I.filter(gt=>gt!==ie.VideoQuality.INVARIANT);for(const gt of Ct){const yi=ee[gt],uo=gt===ie.VideoQuality.INVARIANT?Q("auto_quality_option"):gt;st.push({value:gt,displayValue:`${uo}${yi?R5(yi):""}`,selected:be?!1:gt===Re})}return st}),Yt=St(C.info.currentPlaybackRate$),Ht=fi([Yt,nt,Ft],([I,ee,be])=>{const Re=be||y?1:$.controls.playbackRateMin,Ge=ee?1:$.controls.playbackRateMax,st=$.controls.playbackRateStep,Ct=[];for(let gt=Re;gt<=Ge;gt+=st)Ct.push({value:gt,displayValue:gt===1?Q("playback_rate_1"):Q("playback_rate",{multiplier:gt.toString(10)}),selected:I===gt});return Ct}),Qt=$.features.subtitles?St(C.info.availableTextTracks$):Tn([]),Ei=fi([Qt],([I],ee)=>{const be=[],Re=[];for(const Ge of I)Ge.url&&be.push(V5(Ge.url));Promise.allSettled(be).then(Ge=>{for(const[st,Ct]of Ge.entries())Ct.status==="fulfilled"&&Ct.value.text().then(gt=>{const yi=new O5,uo=I[st].language,Ko=!!I[st].isAuto,Vo=yi.parse(gt);uo&&Vo&&Re.push({lang:uo,subtitles:Vo,isAuto:Ko}),st===Ge.length-1&&ee(Re)})})}),Lt={displayValue:Q("subtitles_off"),value:"off"},hi=Be(Object.assign({},Lt)),Ai=fi([Ei,hi,Ei],([I,ee])=>{if((I==null?void 0:I.length)>0){const be=[Object.assign(Object.assign({},Lt),{selected:(ee==null?void 0:ee.value)===Lt.value})];for(const{lang:Re,isAuto:Ge}of I)$l[Re]&&be.push({displayValue:Ge?Q("subtitles_auto",{language:$l[Re]}):$l[Re],value:Re,selected:(ee==null?void 0:ee.value)===Re,isAuto:Ge});return be}else return[]}),qi=fi([ht,hi,Ei],([I,ee,be])=>{if(ee&&ee.value!==Lt.value)return z5(I,ee,be)}),vi=fi([qi],([I])=>I!=null&&I.texts?I.texts:[]),Xt=Be(!0),Wi=fi([yt,Zt,ui,Hi],([I,ee,be,Re])=>{var Ge;const st=(Ge=I==null?void 0:I.end)!==null&&Ge!==void 0?Ge:0;if(!Re)return st/ee;const gt=-be+Re-ee;return(st-gt)/ee}),gi=St(C.info.availableSources$),Li=fi([gi],([I])=>Object.keys((I==null?void 0:I[xe.VideoFormat.MPEG])||{}).length>0),Oe=()=>{var I,ee,be;const Re=Object.keys(((ee=(I=C.info.availableSources$)===null||I===void 0?void 0:I.getValue())===null||ee===void 0?void 0:ee[xe.VideoFormat.MPEG])||{}),Ge=ie.getHighestQuality(Re)||ie.VideoQuality.Q_144P;return(be=Y.sources[xe.VideoFormat.MPEG])===null||be===void 0?void 0:be[Ge]},Zi=()=>{var I;const ee=Oe();ee?E0(ee,((I=Y==null?void 0:Y.meta)===null||I===void 0?void 0:I.title)||"video"):ce({message:"There is no URL for download video"})},Gi=()=>{ce({message:"toggle muted"});const I=C.info.muted$.getValue(),Re=!(C.info.volume$.getValue()===0||I);He(Re)},bi=()=>{_t.ui.settingsMenuVisible.set(!1)},zi=I=>{_t.ui.settingsMenuOpenedByKeyboard.set(!!I),_t.ui.settingsMenuVisible.set(!0)},Ii=I=>{Xe(_t.ui.settingsMenuVisible)?bi():zi(I)},ci=(I,ee=I,be=!1)=>{var Re,Ge,st;const Ct=!be,gt=C.info.muted$.getValue();ce({message:`set volume, volume: ${I}, preferredVolume: ${ee}, internalCall: ${Ct}`}),C.setVolume(I),re.setVolume(I),Ct&&((Re=s==null?void 0:s.onVolumeChange)===null||Re===void 0||Re.call(s,I)),Wr(ee),gt?(C.setMuted(!1),Ct&&((Ge=s==null?void 0:s.onUnmute)===null||Ge===void 0||Ge.call(s)),Vl(!1)):!gt&&I===0&&(C.setMuted(!0),Ct&&((st=s==null?void 0:s.onMute)===null||st===void 0||st.call(s)),Vl(!0))},He=(I,ee=!1)=>{var be,Re,Ge,st;const Ct=!ee,gt=C.info.volume$.getValue();if(ce({message:`set muted, currentVolume: ${gt}, mute: ${I}, internalCall: ${Ct}`}),C.setMuted(I),re.setVolume(I?0:gt),Vl(I),Ct&&(I?(be=s==null?void 0:s.onMute)===null||be===void 0||be.call(s):(Re=s==null?void 0:s.onUnmute)===null||Re===void 0||Re.call(s)),gt===0){let yi=(Ge=R1())!==null&&Ge!==void 0?Ge:$.volumeDefault;yi===0&&(yi=$.volumeMinRestore,Wr(yi)),C.setVolume(yi),re.setVolume(yi),Ct&&((st=s==null?void 0:s.onVolumeChange)===null||st===void 0||st.call(s,yi))}},Ki=()=>{C.prepare()},Jt=()=>{var I,ee;if(ie.assertNonNullable(_t),!Xe(_t.ui.controls.disabledControls$).has(ct.PLAY_BUTTON)){if(ce({message:"toggle play"}),Xe(_t.playerPhase)===De.Ads){re.togglePlay();return}if(C.info.playbackState$.getValue()!==xe.PlaybackState.PLAYING){if(C.info.isEnded$.getValue()){if(ce({message:"toggle play, video ended, seek to 0"}),Je.next(),pt.next(kt.SeekAction.REWIND),y){S==null||S();return}C.seekTime(0)}ce({message:"toggle play, call player.play"}),C.play(),(I=s==null?void 0:s.onPlay)===null||I===void 0||I.call(s)}else ce({message:"toggle play, call player.pause"}),C.pause(),(ee=s==null?void 0:s.onPause)===null||ee===void 0||ee.call(s)}},ti=I=>{ce({message:`set quality, quality: ${I}`}),C.setAutoQuality(I===ko.AUTO),I!==ko.AUTO?(A0(e,I),Gt.set(I),C.setQuality(I)):O1()},Yi=I=>{ce({message:`set trafficSavingEnabled, value: ${I}`}),C.setAutoQualityLimits({max:I?$.trafficSavingLimit:void 0}),V0(I)},Vi=I=>{C.setPlaybackRate(I)},dn=()=>{const I=Xe(Ht),ee=I.findIndex(({selected:Re})=>Re);if(ee===I.length-1)return;const be=I[ee+1];Vi(be.value)},nn=()=>{const I=Xe(Ht),ee=I.findIndex(({selected:Re})=>Re);if(ee===0)return;const be=I[ee-1];Vi(be.value)},Mi=I=>{I&&I.value!==Lt.value&&at.next(I.isAuto?I.value+"_auto":I.value),hi.set(I)},Bi=()=>{const I=Xe(Ai),ee=Xe(hi),be=Xe(le);if((ee==null?void 0:ee.value)===Lt.value){const Re=I.filter(Ge=>Ge.value!==Lt.value).find(Ge=>Ge.value===be)||I[1];Mi(Re!=null?Re:Object.assign({},Lt))}else Mi(Object.assign(Object.assign({},Lt),{selected:!1}))},_i=(I,ee,be=!0)=>{if(ce({message:`seek to time, time: ${I}`}),pt.next(ee),C.info.isLive$.getValue()){const Re=C.info.duration$.getValue(),Ge=Math.min(0,Re+I);C.seekTime(Ge,be)}else{if(Xe(Fn))return;C.seekTime(Io(I),be)}},on=I=>{ce({message:`seek to episode start time: ${I}`}),_i(I,kt.SeekAction.EPISODE,!0)},xi=(I,ee)=>{ce({message:`seek to percent, percent: ${I}`});const be=Math.round(Xe(Zt)*I);_i(be,ee,!1)},$i=I=>{ce({message:`seek external, time: ${I}`}),pt.next(kt.SeekAction.UNKNOWN),C.seekTime(C.info.isLive$.getValue()?-I:I)},ln=I=>{var ee,be;ce({message:`set auto quality limitation. Max: ${(ee=I.max)!==null&&ee!==void 0?ee:"none"}. Min: ${(be=I.min)!==null&&be!==void 0?be:"none"}`}),C.setAutoQualityLimits(I)},wi=I=>{ce({message:`seek external to episode start time: ${I}`}),_i(I,kt.SeekAction.EPISODE,!0)},te=I=>{ce({message:`set playback rate to: ${I}`}),C.setPlaybackRate(I)},tt=Be(void 0),Mt=Be(!1),Qi=I=>{ce({message:`start scrubbing, progress: ${I}`}),Mt.set(!0),dt(I)},dt=I=>{tt.set(I)};let rn,mn;const sn=()=>{tt.set(void 0),Mt.set(!1)},an=()=>{clearTimeout(mn),clearTimeout(rn),rn=window.setTimeout(()=>{sn()},500),fe==null||fe.removeEventListener("seeked",an)},_n=I=>{ce({message:`complete scrubbing, progress: ${I}`}),xi(I,kt.SeekAction.SLIDER),Xe(_t.ui.isMobile)&&Xe(_t.state.currentFormat$)===xe.VideoFormat.HLS?(fe==null||fe.addEventListener("seeked",an),mn=window.setTimeout(()=>{an()},300)):sn()},x=fi([ht,Zt,tt],([I,ee,be],Re)=>{Re(ie.isNonNullable(be)?be*ee:I)}),ut=Be({width:0,height:0}),en=fi([ut],([{width:I}],ee)=>{const be=yh(I);ee(be)}),J=Be(!1),pn=fi([en,J],([I,ee])=>ee?R.filter(be=>!be.hideOnMobile):R.filter(be=>{var Re;return!(!((Re=be.hideOnDesktopGridTypes)===null||Re===void 0)&&Re.includes(I))})),bn=fi([J,Ce],([I,ee],be)=>{be(I&&ee)}),Xn=()=>{pt.next(kt.SeekAction.LIVE),ce({message:"switch to active live"}),C.seekTime(0),C.info.playbackState$.getValue()!==xe.PlaybackState.PLAYING&&_t.actions.internal.togglePlay()},Jn=()=>re.skip(),xn=(I=!0)=>{ie.assertNonNullable(_t),ce({message:`switch from ads to video, callPlay: ${I}`}),U.set(De.Video),I&&C.play()},$n=()=>{ie.assertNonNullable(_t),ce({message:"switch from video to ads"}),_t.actions.internal.pause(),jt(),U.set(De.Ads)},eo=I=>{ie.assertNonNullable(_t);const ee=I?De.WaitingLive:De.Thumb;U.set(ee)},to=I=>{ie.assertNonNullable(_t);const ee=I?De.WaitingRecord:De.Thumb;U.set(ee)},io=()=>(ie.assertNonNullable(_t),P0(C,Y,_t)),Ao=()=>(ie.assertNonNullable(_t),T0(C,Y,_t)),Lo=()=>fe,hn=()=>{ce({message:"toggle chromecast"}),C.toggleChromecast()},Wn=I=>{var ee;ie.assertNonNullable(_t);const be=!I;if(Xe(_t.playerPhase)===De.Ads){ce({message:`pause ads, internalCall: ${be}`}),re.pause();return}ce({message:`pause video, internalCall: ${be}`}),be&&((ee=s==null?void 0:s.onPause)===null||ee===void 0||ee.call(s)),C.pause()},Dn=I=>{var ee;ie.assertNonNullable(_t);const be=!I;if(Xe(_t.playerPhase)===De.Ads){ce({message:`play ads, internalCall: ${be}`}),re.play();return}ce({message:`play video, internalCall: ${be}`}),be&&((ee=s==null?void 0:s.onPlay)===null||ee===void 0||ee.call(s)),C.play()},no=(I,ee)=>{ie.assertNonNullable(_t),ce({message:`first start, show ads: ${I}, internalCall: ${!ee}`}),I?U.set(De.Ads):(U.set(De.Video),ee?C.play():_t.actions.internal.togglePlay())},zn=()=>(ce({message:"getting time codes"}),c),oo=()=>{const I=zn();if(!I||[0,1].includes(I.length))return;const ee=C.info.position$.getValue();return I.find(be=>be.time>ee)},lo=I=>{let ee=I;ee||(ee=oo()),ee&&(ce({message:"seek to next episode"}),_i(ee.time,kt.SeekAction.EPISODE,!0))},ro=()=>{const I=zn();if(!I||[0,1].includes(I.length))return;const ee=C.info.position$.getValue(),be=I.findIndex(Ge=>Ge.time>ee),Re=be===-1?I.length-2:be-2;if(!(Re<0))return I[Re]},so=I=>{let ee=I;ee||(ee=ro()),ee&&(ce({message:"seek to prev episode"}),_i(ee.time,kt.SeekAction.EPISODE,!0))},Zn=()=>(ce({message:"getting preview thumbs data"}),f),ao=()=>ki(void 0,void 0,void 0,function*(){pe!=null&&pe.isActive()?yield pe==null?void 0:pe.remove():yield pe==null?void 0:pe.request()}),q=(I=-90)=>{A.update(ee=>ee+I)},mt=Be(_),un=fi([mt],([I=[]])=>{const ee=[];for(let be=0;be<I.length;be++){const{range:[Re,Ge],subjects:st}=I[be];be===0&&Re!==0&&ee.push({time:0,text:"",interactive:!1,completed:!0}),ee.push({time:Re/1e3,text:"",interactive:!0,completed:!st.length}),Ge!==1/0&&ee.push({time:Ge/1e3,text:"",interactive:!1,completed:!0})}return ee}),cn=I=>{const ee=Xe(mt);mt.set(ee.map(be=>Object.assign(Object.assign({},be),{subjects:be.subjects.filter(Re=>Re!==I)})))},Pn=Be(!1),Fn=fi([ui,mt,Pn],([I,ee,be])=>{if(!y)return!1;if(be)return!0;const Re=I*1e3,Ge=ee==null?void 0:ee.find(({range:[st,Ct],subjects:gt})=>st<Re&&Re<Ct&&gt.length);return Ge&&Xe(Mt)&&sn(),!!Ge}),Io=I=>{if(!y)return I;const ee=Xe(un),be=Xe(Zt),Ge=Xe(ui)/be,st=ee.find(Ct=>Ct.interactive&&!Ct.completed&&Ct.time>Ge);return typeof(st==null?void 0:st.time)=="number"?Math.min(I,st.time-.05):I},Zo=()=>{_t.ui.episodes.panelOpened$.set(!1)},Go=()=>{clearTimeout(mn),clearTimeout(rn),ft.unsubscribe(),It.unsubscribe(),C.destroy(),re.destroy(),L==null||L.destroy(),ae==null||ae.destroy(),Me.unsubscribe()},_t={interfaceLanguage$:le,initVideo:rt,videoId:e,isClip:t,playerPhase:Ne,vsid:Le,state:{positionExact$:ht,positionWithScrubbing$:x,duration$:Zt,playbackState$:Ue,isPlaying$:vt,isLoaderVisible:pi,bufferedProgress$:Wi,isLive$:Fi,canChangePlaybackSpeed$:li,isActiveLive$:nt,isOldestAvailableLive$:Ft,isRewindableLive$:Di,isEnded$:Ni,muted$:Ot,volume$:Ji,trafficSavingEnabled$:qt,autoQualityLimitingAvailable$:ri,currentQuality$:ei,isAutoQualityEnabled$:Kt,availableQualities$:ji,currentPlaybackRate$:Yt,availablePlaybackRates$:Ht,currentSubtitle$:hi,availableSubtitlesList$:Ai,currentSubtitleCaptions$:vi,isAutoSubtitleCaptionVisible$:Xt,chromecastState$:Dt,chromecastDeviceName$:Ri,chromecastConnected$:Ti,currentFormat$:si,throughputEstimation$:Et,videoBitrate$:Oi,videoSize$:Ci,errorLog$:oe,crashed$:Ce,isAudioAvailable$:Pi,isAudioDisabled:!!r,canDownload:$.features.download&&!!l,availableSources$:gi,hasMpegSources$:Li,isInteractive:y,isInteractiveGraphEnabled:$.features.interactiveGraph,isSeekToInteractiveEnable:$.features.seekToInteractive,isPlayPrevChapterEnabled:$.features.interactivePlayPrevChapter,interactiveEpisodes$:un,isInteractiveTime$:Fn,graphIsOpened$:Be(!1),isInteractiveExpectation$:Pn,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:w},ui:{controlsVisible:Be(!1),touched:Be(!1),controls:{prevButton:Be(void 0),playButton:Be(void 0),replayButton:Be(void 0),nextButton:Be(void 0),playPrevChapterButton:Be(void 0),seekToInteractiveButton:Be(void 0),interactiveGraphButton:Be(void 0),liveButton:Be(void 0),time:Be(void 0),episodes:Be(void 0),volume:Be(void 0),subtitles:Be(void 0),settings:Be(void 0),context:Be(void 0),chromecast:Be(void 0),pip:Be(void 0),fullscreen:Be(void 0),vkLogo:Be(void 0),additionalButtons:R.length?R.reduce(I=>[...I,Be(void 0)],[]):[],disabledControls$:et},modals:{hotKeyMap:{show:Be(!1),data:Be({title:"",closeBtnText:"",groups:[]})}},isFullscreen:Pe,rotateAlpha:A,isAutoplay:Be(!1),contextMenuVisible:Be(!1),debugPanelVisible:Be(!1),episodes:{panelOpened$:Be(!1),openedByKeyboard$:Be(!1)},contextMenu:{btnRef$:Be(void 0),openedByKeyboard$:Be(!1),showContextMenuBtn$:Be(!1)},playerSize:ut,isMobile:J,mobileNotReportControlHidden$:bn,mobileUnmuteButtonExpanded:Be(!1),mobileUnmuteButtonVisible:Be(!1),icon3DVideoVisible:Be(!1),settingsMenuVisible:Be(!1),settingsMenuOpenedByKeyboard:Be(!1),scrubbingInProgress:Mt,is3DVideo:Be(!1),isPictureInPictureActive$:Qe,pictureInPictureType$:Tn(Ee),clientInfo$:Tn(de),currentGridType$:en,additionalButtons$:pn,interactiveHideMobileControls:Be(!1),overlayContainer$:Be(void 0)},ads:{position:Be(0),duration:Be(0),playbackState:Be(ni.INACTIVE),canSkip:Be(!1),secondsToWatchBeforeSkip:Be(0),postrollPassed:Be(!1)},webApi:{pictureInPictureApi:pe,annotationsApi:ge},actions:{internal:{preload:Ki,firstStart:I=>no(I,!1),pause:()=>Wn(!1),togglePlay:Jt,toggleMuted:Gi,toggleSettingsMenu:Ii,openSettingsMenu:zi,closeSettingsMenu:bi,setVolume:ci,setQuality:ti,setTrafficSavingEnabled:I=>Yi(I),setPlaybackRate:Vi,incrementPlaybackRate:dn,decrementPlaybackRate:nn,setSubtitle:Mi,toggleSubtitle:Bi,togglePictureInPicture:ao,startScrubbing:Qi,progressScrubbing:dt,completeScrubbing:_n,toggleChromecast:hn,switchToActiveLive:Xn,switchFromAdsToVideo:xn,switchFromVideoToAds:$n,skipAd:Jn,setWaitingLive:eo,setWaitingRecord:to,getDebugTextData:io,getDebugPanelData:Ao,getVideoElement:Lo,seekTime:(I,ee,be)=>_i(I,ee,be),clearDelayedBufferingCheckTimeout:ai,seekEpisodeStartTime:on,seekToPercent:xi,getNextEpisode:oo,seekToNextEpisode:lo,getPrevEpisode:ro,seekToPrevEpisode:so,startLogging:Rt,stopLogging:Vt,startCameraManualRotation:me,stopCameraManualRotation:At,moveCameraFocusPX:it,holdCamera:Tt,releaseCamera:wt,getVideoEpisodes:zn,getPreviewThumbsData:Zn,downloadVideo:Zi,addLanguage:hs,setLanguage:Te,nextMovie:Ve,videoRotate:q,completeInteractiveRange:cn,correctSeekTimeToInteractive:Io,replayInteractive:S},external:{firstStart:I=>no(I,!0),play:()=>Dn(!0),pause:()=>Wn(!0),seekTime:I=>$i(I),seekEpisodeStartTime:I=>wi(I),setPlaybackRate:I=>te(I),setAutoQualityLimits:I=>ln(I),setMuted:I=>He(I,!0),setVolume:I=>ci(I,I,!0),returnFocusToEpisodes:Zo}},callbacks:s,setUiCallbacks:I=>{ze=Object.assign({},I)},getAdmanWrapper:()=>re,getLogger:()=>D,destroy:Go};return _t},af=(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 H5(i){let e,t;return e=new Cr({props:{isMobile:!0}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p:W,i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function U5(i){let e,t,n;function o(l){i[8](l)}let r={className:i[3]?"opened":"",testId:"btn-context-menu",disabled:i[0],ariaLabel:i[1],click:i[5],focus:i[6],blur:i[7],$$slots:{default:[H5]},$$scope:{ctx:i}};return i[2]!==void 0&&(r.ref=i[2]),e=new Si({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&8&&(a.className=l[3]?"opened":""),s&1&&(a.disabled=l[0]),s&2&&(a.ariaLabel=l[1]),s&8192&&(a.$$scope={dirty:s,ctx:l}),!t&&s&4&&(t=!0,a.ref=l[2],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function j5(i,e,t){let n,{disabled:o=!1}=e,{ariaLabel:r=""}=e;const l=Pt(),s=l.ui.contextMenuVisible;z(i,s,_=>t(3,n=_));const a=l.ui.contextMenu.openedByKeyboard$,c=l.ui.contextMenu.showContextMenuBtn$,f=l.ui.contextMenu.btnRef$,m=_=>{const S=wr(_);a.set(S),s.set(!n)};let h;const b=()=>{c.set(!0)},v=()=>{c.set(!1)};function y(_){h=_,t(2,h)}return i.$$set=_=>{"disabled"in _&&t(0,o=_.disabled),"ariaLabel"in _&&t(1,r=_.ariaLabel)},i.$$.update=()=>{i.$$.dirty&4&&h&&f.set(h)},[o,r,h,n,s,m,b,v,y]}class q5 extends ke{constructor(e){super(),ye(this,e,j5,U5,we,{disabled:0,ariaLabel:1})}}function W5(i){je(i,"v-st0uzk",".wrapper-bottom.v-st0uzk.v-st0uzk{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-st0uzk>.v-st0uzk{pointer-events:auto}.controls.v-st0uzk.v-st0uzk{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-st0uzk.v-st0uzk,.controls-right.v-st0uzk.v-st0uzk{display:flex;align-content:center}.controls-left.v-st0uzk.v-st0uzk{flex-grow:1;min-width:0;overflow:hidden}.controls-left.v-st0uzk > *:not(:first-child),.controls-right.v-st0uzk > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-st0uzk.v-st0uzk{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-st0uzk.v-st0uzk{transition:none}.settings-menu.v-st0uzk.v-st0uzk{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function Ia(i,e,t){const n=i.slice();return n[201]=e[t].iconUrl,n[202]=e[t].ariaLabel,n[203]=e[t].testId,n[204]=e[t].onClick,n[205]=e[t].tooltip,n}function Va(i){let e,t,n;function o(l){i[168](l)}let r={disabled:!i[9],tooltipContent:G("tooltip_previous"),$$slots:{default:[Z5]},$$scope:{ctx:i}};return i[23].prevButton!==void 0&&(r.ref=i[23].prevButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&512&&(a.disabled=!l[9]),s[0]&4608|s[6]&4194304&&(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Z5(i){let e,t;return e=new Cl({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&4096&&(r.click=n[12]),o[0]&512&&(r.disabled=!n[9]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ma(i){let e,t,n;function o(l){i[169](l)}let r={disabled:i[73],tooltipContent:G("tooltip_restart"),$$slots:{default:[G5]},$$scope:{ctx:i}};return i[23].replayButton!==void 0&&(r.ref=i[23].replayButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[2]&2048&&(a.disabled=l[73]),s[2]&2048|s[6]&4194304&&(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function G5(i){let e,t;return e=new Lr({props:{click:i[125],disabled:i[73]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&2048&&(r.disabled=n[73]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ba(i){let e,t,n;function o(l){i[170](l)}let r={tooltipContent:i[46],disabled:i[74],$$slots:{default:[K5]},$$scope:{ctx:i}};return i[23].playButton!==void 0&&(r.ref=i[23].playButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&32768&&(a.tooltipContent=l[46]),s[2]&4096&&(a.disabled=l[74]),s[1]&4|s[2]&4096|s[6]&4194304&&(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function K5(i){let e,t;return e=new Ar({props:{isMobile:!1,isPlaying:i[33],click:i[85],disabled:i[74]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&4&&(r.isPlaying=n[33]),o[2]&4096&&(r.disabled=n[74]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Na(i){let e,t,n;function o(l){i[171](l)}let r={disabled:!i[8],tooltipContent:G("tooltip_next"),$$slots:{default:[Y5]},$$scope:{ctx:i}};return i[23].nextButton!==void 0&&(r.ref=i[23].nextButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&256&&(a.disabled=!l[8]),s[0]&2304|s[6]&4194304&&(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Y5(i){let e,t;return e=new Cl({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2048&&(r.click=n[11]),o[0]&256&&(r.disabled=!n[8]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Q5(i){let e,t,n,o,r=i[119]&&X5(i),l=i[118]&&x5(i),s=i[117]&&eg(i);return{c(){r&&r.c(),e=N(),l&&l.c(),t=N(),s&&s.c(),n=bt()},m(a,c){r&&r.m(a,c),E(a,e,c),l&&l.m(a,c),E(a,t,c),s&&s.m(a,c),E(a,n,c),o=!0},p(a,c){a[119]&&r.p(a,c),a[118]&&l.p(a,c),a[117]&&s.p(a,c)},i(a){o||(d(r),d(l),d(s),o=!0)},o(a){g(r),g(l),g(s),o=!1},d(a){a&&(P(e),P(t),P(n)),r&&r.d(a),l&&l.d(a),s&&s.d(a)}}}function X5(i){let e,t,n;function o(l){i[172](l)}let r={disabled:i[72],tooltipContent:G("tooltip_interactive_go_back"),disabledTooltipContent:G(i[121]),$$slots:{default:[J5]},$$scope:{ctx:i}};return i[23].playPrevChapterButton!==void 0&&(r.ref=i[23].playPrevChapterButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[2]&1024&&(a.disabled=l[72]),s[0]&131072|s[2]&1024|s[6]&4194304&&(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function J5(i){let e,t;return e=new tf({props:{disabled:i[72],click:i[17]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&1024&&(r.disabled=n[72]),o[0]&131072&&(r.click=n[17]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function x5(i){let e,t,n;function o(l){i[173](l)}let r={disabled:i[75],tooltipContent:G("tooltip_interactive_seek"),disabledTooltipContent:G(i[78]),$$slots:{default:[$5]},$$scope:{ctx:i}};return i[23].seekToInteractiveButton!==void 0&&(r.ref=i[23].seekToInteractiveButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[2]&8192&&(a.disabled=l[75]),s[2]&65536&&(a.disabledTooltipContent=G(l[78])),s[0]&32768|s[2]&8192|s[6]&4194304&&(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function $5(i){let e,t;return e=new xc({props:{disabled:i[75],click:i[15]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&8192&&(r.disabled=n[75]),o[0]&32768&&(r.click=n[15]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function eg(i){let e,t,n;function o(l){i[174](l)}let r={tooltipContent:i[47],disabled:i[76],$$slots:{default:[tg]},$$scope:{ctx:i}};return i[23].interactiveGraphButton!==void 0&&(r.ref=i[23].interactiveGraphButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.tooltipContent=l[47]),s[2]&16384&&(a.disabled=l[76]),s[0]&1073807360|s[2]&16384|s[6]&4194304&&(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function tg(i){let e,t;return e=new $c({props:{click:i[16],graphIsOpened:i[30],disabled:i[76]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&65536&&(r.click=n[16]),o[0]&1073741824&&(r.graphIsOpened=n[30]),o[2]&16384&&(r.disabled=n[76]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ra(i){let e,t,n;function o(l){i[175](l)}let r={tooltipContent:i[49],$$slots:{default:[ig]},$$scope:{ctx:i}};return i[23].liveButton!==void 0&&(r.ref=i[23].liveButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&262144&&(a.tooltipContent=l[49]),s[0]&2097152|s[1]&262144|s[6]&4194304&&(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ig(i){let e,t;return e=new Kc({props:{isActiveLive:i[21],isMobile:!1,ariaLabel:i[49]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.isActiveLive=n[21]),o[1]&262144&&(r.ariaLabel=n[49]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Oa(i){let e,t,n;function o(l){i[176](l)}let r={isMobile:!1,showDuration:i[54],position:i[4]?i[79]:i[80],duration:i[4]?i[81]:i[82]};return i[23].time!==void 0&&(r.ref=i[23].time),e=new Hc({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&8388608&&(a.showDuration=l[54]),s[0]&16|s[2]&393216&&(a.position=l[4]?l[79]:l[80]),s[0]&16|s[2]&1572864&&(a.duration=l[4]?l[81]:l[82]),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].time,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Da(i){let e,t;return e=new Jc({props:{position:i[80],duration:i[82],timeCodes:i[101]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&262144&&(r.position=n[80]),o[2]&1048576&&(r.duration=n[82]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ng(i){let e,t,n=i[20]&&Da(i);return{c(){n&&n.c(),e=bt()},m(o,r){n&&n.m(o,r),E(o,e,r),t=!0},p(o,r){o[20]?n?(n.p(o,r),r[0]&1048576&&d(n,1)):(n=Da(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(he(),g(n,1,1,()=>{n=null}),ve())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function og(i){var n;let e,t;return e=new nf({props:{iconUrl:i[201],ariaLabel:(n=i[202])!=null?n:i[205],testId:i[203],onClick:i[204]}}),{c(){j(e.$$.fragment)},m(o,r){F(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&134217728&&(l.iconUrl=o[201]),r[0]&134217728&&(l.ariaLabel=(s=o[202])!=null?s:o[205]),r[0]&134217728&&(l.testId=o[203]),r[0]&134217728&&(l.onClick=o[204]),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){H(e,o)}}}function za(i){let e,t;return e=new Ut({props:{tooltipContent:i[205],width:40,$$slots:{default:[og]},$$scope:{ctx:i}}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&134217728&&(r.tooltipContent=n[205]),o[0]&134217728|o[6]&4194304&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Fa(i){let e,t,n;function o(l){i[179](l)}let r={disabled:!i[6],tooltipContent:i[50],$$slots:{default:[lg]},$$scope:{ctx:i}};return i[23].vkLogo!==void 0&&(r.ref=i[23].vkLogo),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&64&&(a.disabled=!l[6]),s[1]&524288&&(a.tooltipContent=l[50]),s[0]&192|s[6]&4194304&&(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function lg(i){let e,t;return e=new Zc({props:{click:i[86],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&64&&(r.logoClickable=n[6]),o[0]&128&&(r.videoLogoUrl=n[7]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function rg(i){let e,t;return e=new Eh({props:{isAudioAvailable:i[77],click:i[124]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&32768&&(r.isAudioAvailable=n[77]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ha(i){let e,t,n;function o(l){i[181](l)}let r={tooltipContent:i[51],$$slots:{default:[sg]},$$scope:{ctx:i}};return i[23].subtitles!==void 0&&(r.ref=i[23].subtitles),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&1048576&&(a.tooltipContent=l[51]),s[0]&262144|s[6]&4194304&&(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function sg(i){let e,t;return e=new Dp({props:{isSubtitlesEnabled:i[18],click:i[87]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&262144&&(r.isSubtitlesEnabled=n[18]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ua(i){var s;let e,t,n,o;function r(a){i[182](a)}let l={supportLink:i[10],playerControlsHeight:(s=i[45])==null?void 0:s.clientHeight,returnFocus:i[14]};return i[24]!==void 0&&(l.ref=i[24]),t=new Fc({props:l}),Se.push(()=>We(t,"ref",r)),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(a,c){E(a,e,c),F(t,e,null),o=!0},p(a,c){var m;const f={};c[0]&1024&&(f.supportLink=a[10]),c[1]&16384&&(f.playerControlsHeight=(m=a[45])==null?void 0:m.clientHeight),c[0]&16384&&(f.returnFocus=a[14]),!n&&c[0]&16777216&&(n=!0,f.ref=a[24],qe(()=>n=!1)),t.$set(f)},i(a){o||(d(t.$$.fragment,a),o=!0)},o(a){g(t.$$.fragment,a),o=!1},d(a){a&&P(e),H(t)}}}function ja(i){let e,t,n;function o(l){i[184](l)}let r={tooltipContent:i[26]?void 0:G("tooltip_settings_off"),$$slots:{default:[ag]},$$scope:{ctx:i}};return i[23].settings!==void 0&&(r.ref=i[23].settings),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&67108864&&(a.tooltipContent=l[26]?void 0:G("tooltip_settings_off")),s[0]&33554432|s[6]&4194304&&(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ag(i){let e,t,n;function o(l){i[183](l)}let r={};return i[25]!==void 0&&(r.ref=i[25]),e=new Pr({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&33554432&&(t=!0,a.ref=l[25],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ug(i){let e,t,n;function o(l){i[185](l)}let r={className:i[40]?"":"out-of-view",tooltipContent:i[48],$$slots:{default:[cg]},$$scope:{ctx:i}};return i[23].context!==void 0&&(r.ref=i[23].context),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&512&&(a.className=l[40]?"":"out-of-view"),s[1]&131072&&(a.tooltipContent=l[48]),s[1]&131072|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].context,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function cg(i){let e,t;return e=new q5({props:{ariaLabel:i[48]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&131072&&(r.ariaLabel=n[48]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function qa(i){let e,t,n;function o(l){i[186](l)}let r={tooltipContent:i[52],$$slots:{default:[fg]},$$scope:{ctx:i}};return i[23].fullscreen!==void 0&&(r.ref=i[23].fullscreen),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&2097152&&(a.tooltipContent=l[52]),s[0]&536879104|s[6]&4194304&&(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function fg(i){let e,t;return e=new qc({props:{click:i[13],isFullscreen:i[29]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&8192&&(r.click=n[13]),o[0]&536870912&&(r.isFullscreen=n[29]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Wa(i){let e,t,n;function o(l){i[187](l)}let r={tooltipContent:i[53],$$slots:{default:[dg]},$$scope:{ctx:i}};return i[23].chromecast!==void 0&&(r.ref=i[23].chromecast),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&4194304&&(a.tooltipContent=l[53]),s[0]&268435456|s[6]&4194304&&(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function dg(i){let e,t;return e=new Gc({props:{isMobile:!1,state:i[28],click:i[123]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&268435456&&(r.state=n[28]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function mg(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O,$,C;t=new Xc({props:{isHidden:!i[44],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[31]}});let D=i[37]&&Va(i),re=i[34]&&Ma(i),L=i[35]&&Ba(i),ae=i[36]&&Na(i),pe=i[116]&&Q5(i),ge=!i[4]&&i[32]&&Ra(i),ce=i[19]&&Oa(i);function Y(Q){i[177](Q)}let fe={className:"w-max",disabled:!i[20],tooltipContent:G("tooltip_episodes"),$$slots:{default:[ng]},$$scope:{ctx:i}};i[23].episodes!==void 0&&(fe.ref=i[23].episodes),b=new Ut({props:fe}),Se.push(()=>We(b,"ref",Y));let ze=xt(i[27]),de=[];for(let Q=0;Q<ze.length;Q+=1)de[Q]=za(Ia(i,ze,Q));const Le=Q=>g(de[Q],1,1,()=>{de[Q]=null});let Pe=i[42]&&Fa(i);function ue(Q){i[180](Q)}let Ee={$$slots:{default:[rg]},$$scope:{ctx:i}};i[23].volume!==void 0&&(Ee.ref=i[23].volume),R=new Ut({props:Ee}),Se.push(()=>We(R,"ref",ue));let A=i[39]&&Ha(i),oe=!i[83]&&!i[4]&&Ua(i),Me=i[41]&&ja(i),Ce=i[84].features.contextMenuButton&&ug(i),Te=i[43]&&qa(i),le=i[38]&&Wa(i);return{c(){e=T("div"),j(t.$$.fragment),n=N(),o=T("div"),r=T("div"),D&&D.c(),l=N(),re&&re.c(),s=N(),L&&L.c(),a=N(),ae&&ae.c(),c=N(),pe&&pe.c(),f=N(),ge&&ge.c(),m=N(),ce&&ce.c(),h=N(),j(b.$$.fragment),_=N(),S=T("div");for(let Q=0;Q<de.length;Q+=1)de[Q].c();k=N(),Pe&&Pe.c(),w=N(),j(R.$$.fragment),V=N(),A&&A.c(),K=N(),oe&&oe.c(),se=N(),Me&&Me.c(),ne=N(),Ce&&Ce.c(),O=N(),Te&&Te.c(),$=N(),le&&le.c(),u(r,"class","controls-left v-st0uzk"),Co(()=>i[178].call(r)),u(S,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),M(e,"hidden",i[1]),M(e,"controls-hidden",!i[3]),M(e,"no-smooth",i[2])},m(Q,U){E(Q,e,U),F(t,e,null),p(e,n),p(e,o),p(o,r),D&&D.m(r,null),p(r,l),re&&re.m(r,null),p(r,s),L&&L.m(r,null),p(r,a),ae&&ae.m(r,null),p(r,c),pe&&pe.m(r,null),p(r,f),ge&&ge.m(r,null),p(r,m),ce&&ce.m(r,null),p(r,h),F(b,r,null),y=cr(r,i[178].bind(r)),p(o,_),p(o,S);for(let Ne=0;Ne<de.length;Ne+=1)de[Ne]&&de[Ne].m(S,null);p(S,k),Pe&&Pe.m(S,null),p(S,w),F(R,S,null),p(S,V),A&&A.m(S,null),p(S,K),oe&&oe.m(S,null),p(S,se),Me&&Me.m(S,null),p(S,ne),Ce&&Ce.m(S,null),p(S,O),Te&&Te.m(S,null),p(S,$),le&&le.m(S,null),i[188](o),i[189](e),C=!0},p(Q,U){const Ne={};U[1]&8192&&(Ne.isHidden=!Q[44]),U[0]&16&&(Ne.isAds=Q[4]),U[0]&32&&(Ne.canRewindLive=Q[5]),U[1]&1&&(Ne.isRewindableLive=Q[31]),t.$set(Ne),Q[37]?D?(D.p(Q,U),U[1]&64&&d(D,1)):(D=Va(Q),D.c(),d(D,1),D.m(r,l)):D&&(he(),g(D,1,1,()=>{D=null}),ve()),Q[34]?re?(re.p(Q,U),U[1]&8&&d(re,1)):(re=Ma(Q),re.c(),d(re,1),re.m(r,s)):re&&(he(),g(re,1,1,()=>{re=null}),ve()),Q[35]?L?(L.p(Q,U),U[1]&16&&d(L,1)):(L=Ba(Q),L.c(),d(L,1),L.m(r,a)):L&&(he(),g(L,1,1,()=>{L=null}),ve()),Q[36]?ae?(ae.p(Q,U),U[1]&32&&d(ae,1)):(ae=Na(Q),ae.c(),d(ae,1),ae.m(r,c)):ae&&(he(),g(ae,1,1,()=>{ae=null}),ve()),Q[116]&&pe.p(Q,U),!Q[4]&&Q[32]?ge?(ge.p(Q,U),U[0]&16|U[1]&2&&d(ge,1)):(ge=Ra(Q),ge.c(),d(ge,1),ge.m(r,m)):ge&&(he(),g(ge,1,1,()=>{ge=null}),ve()),Q[19]?ce?(ce.p(Q,U),U[0]&524288&&d(ce,1)):(ce=Oa(Q),ce.c(),d(ce,1),ce.m(r,h)):ce&&(he(),g(ce,1,1,()=>{ce=null}),ve());const et={};if(U[0]&1048576&&(et.disabled=!Q[20]),U[0]&1048576|U[2]&1310720|U[6]&4194304&&(et.$$scope={dirty:U,ctx:Q}),!v&&U[0]&8388608&&(v=!0,et.ref=Q[23].episodes,qe(()=>v=!1)),b.$set(et),U[0]&134217728){ze=xt(Q[27]);let Ze;for(Ze=0;Ze<ze.length;Ze+=1){const Ve=Ia(Q,ze,Ze);de[Ze]?(de[Ze].p(Ve,U),d(de[Ze],1)):(de[Ze]=za(Ve),de[Ze].c(),d(de[Ze],1),de[Ze].m(S,k))}for(he(),Ze=ze.length;Ze<de.length;Ze+=1)Le(Ze);ve()}Q[42]?Pe?(Pe.p(Q,U),U[1]&2048&&d(Pe,1)):(Pe=Fa(Q),Pe.c(),d(Pe,1),Pe.m(S,w)):Pe&&(he(),g(Pe,1,1,()=>{Pe=null}),ve());const rt={};U[2]&32768|U[6]&4194304&&(rt.$$scope={dirty:U,ctx:Q}),!X&&U[0]&8388608&&(X=!0,rt.ref=Q[23].volume,qe(()=>X=!1)),R.$set(rt),Q[39]?A?(A.p(Q,U),U[1]&256&&d(A,1)):(A=Ha(Q),A.c(),d(A,1),A.m(S,K)):A&&(he(),g(A,1,1,()=>{A=null}),ve()),!Q[83]&&!Q[4]?oe?(oe.p(Q,U),U[0]&16|U[2]&2097152&&d(oe,1)):(oe=Ua(Q),oe.c(),d(oe,1),oe.m(S,se)):oe&&(he(),g(oe,1,1,()=>{oe=null}),ve()),Q[41]?Me?(Me.p(Q,U),U[1]&1024&&d(Me,1)):(Me=ja(Q),Me.c(),d(Me,1),Me.m(S,ne)):Me&&(he(),g(Me,1,1,()=>{Me=null}),ve()),Q[84].features.contextMenuButton&&Ce.p(Q,U),Q[43]?Te?(Te.p(Q,U),U[1]&4096&&d(Te,1)):(Te=qa(Q),Te.c(),d(Te,1),Te.m(S,$)):Te&&(he(),g(Te,1,1,()=>{Te=null}),ve()),Q[38]?le?(le.p(Q,U),U[1]&128&&d(le,1)):(le=Wa(Q),le.c(),d(le,1),le.m(S,null)):le&&(he(),g(le,1,1,()=>{le=null}),ve()),(!C||U[0]&2)&&M(e,"hidden",Q[1]),(!C||U[0]&8)&&M(e,"controls-hidden",!Q[3]),(!C||U[0]&4)&&M(e,"no-smooth",Q[2])},i(Q){if(!C){d(t.$$.fragment,Q),d(D),d(re),d(L),d(ae),d(pe),d(ge),d(ce),d(b.$$.fragment,Q);for(let U=0;U<ze.length;U+=1)d(de[U]);d(Pe),d(R.$$.fragment,Q),d(A),d(oe),d(Me),d(Ce),d(Te),d(le),C=!0}},o(Q){g(t.$$.fragment,Q),g(D),g(re),g(L),g(ae),g(pe),g(ge),g(ce),g(b.$$.fragment,Q),de=de.filter(Boolean);for(let U=0;U<de.length;U+=1)g(de[U]);g(Pe),g(R.$$.fragment,Q),g(A),g(oe),g(Me),g(Ce),g(Te),g(le),C=!1},d(Q){Q&&P(e),H(t),D&&D.d(),re&&re.d(),L&&L.d(),ae&&ae.d(),pe&&pe.d(),ge&&ge.d(),ce&&ce.d(),H(b),y(),Cn(de,Q),Pe&&Pe.d(),H(R),A&&A.d(),oe&&oe.d(),Me&&Me.d(),Ce&&Ce.d(),Te&&Te.d(),le&&le.d(),i[188](null),i[189](null)}}}function pg(i,e,t){var Rr,Or;let n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O,$,C,D,re,L,ae,pe=W,ge=()=>(pe(),pe=ii(ne,Z=>t(139,ae=Z)),ne),ce,Y=W,fe=()=>(Y(),Y=ii(se,Z=>t(140,ce=Z)),se),ze,de=W,Le=()=>(de(),de=ii(K,Z=>t(141,ze=Z)),K),Pe,ue=W,Ee=()=>(ue(),ue=ii(V,Z=>t(142,Pe=Z)),V),A,oe=W,Me=()=>(oe(),oe=ii(X,Z=>t(143,A=Z)),X),Ce,Te=W,le=()=>(Te(),Te=ii(R,Z=>t(144,Ce=Z)),R),Q,U=W,Ne=()=>(U(),U=ii(w,Z=>t(145,Q=Z)),w),et,rt=W,Ze=()=>(rt(),rt=ii(k,Z=>t(146,et=Z)),k),Ve,Je=W,pt=()=>(Je(),Je=ii(S,Z=>t(147,Ve=Z)),S),at,Ie=W,jt=()=>(Ie(),Ie=ii(_,Z=>t(148,at=Z)),_),ft,It=W,Rt=()=>(It(),It=ii(y,Z=>t(149,ft=Z)),y),Vt,me=W,At=()=>(me(),me=ii(v,Z=>t(150,Vt=Z)),v),it,Tt=W,wt=()=>(Tt(),Tt=ii(b,Z=>t(151,it=Z)),b),ht,Qe=W,Ue=()=>(Qe(),Qe=ii(h,Z=>t(152,ht=Z)),h),yt,Ni=W,Fi=()=>(Ni(),Ni=ii(m,Z=>t(153,yt=Z)),m),li,Hi=W,Ji=()=>(Hi(),Hi=ii(f,Z=>t(154,li=Z)),f),Ot,qt=W,ri=()=>(qt(),qt=ii(c,Z=>t(155,Ot=Z)),c),Wt,di,Dt,Ri,si,Et,Oi,Ci,mi,Pi,zt,$t,pi,ai,Zt,vt,nt,Ft,ui,Di,Ti,Gt,Kt;i.$$.on_destroy.push(()=>pe()),i.$$.on_destroy.push(()=>Y()),i.$$.on_destroy.push(()=>de()),i.$$.on_destroy.push(()=>ue()),i.$$.on_destroy.push(()=>oe()),i.$$.on_destroy.push(()=>Te()),i.$$.on_destroy.push(()=>U()),i.$$.on_destroy.push(()=>rt()),i.$$.on_destroy.push(()=>Je()),i.$$.on_destroy.push(()=>Ie()),i.$$.on_destroy.push(()=>It()),i.$$.on_destroy.push(()=>me()),i.$$.on_destroy.push(()=>Tt()),i.$$.on_destroy.push(()=>Qe()),i.$$.on_destroy.push(()=>Ni()),i.$$.on_destroy.push(()=>Hi()),i.$$.on_destroy.push(()=>qt());let{bottomHidden:Ui}=e,{bottomNoSmooth:ei}=e,{showControls:ji}=e,{controlsElementRef:Yt=void 0}=e,{isAds:Ht=!1}=e,{canRewindLive:Qt}=e,{logoClickable:Ei}=e,{logoHidden:Lt}=e,{videoLogoUrl:hi}=e,{showNextPrevButtons:Ai}=e,{nextButtonActive:qi}=e,{prevButtonActive:vi}=e,{isOneVideoPlaylist:Xt=!1}=e,{supportLink:Wi}=e,{customFullscreenSupported:gi=!0}=e,{playNextVideo:Li}=e,{playPrevVideo:Oe}=e,{repeatPlaylist:Zi}=e,{toggleFullscreen:Gi}=e,{returnFocus:bi}=e,{seekToInteractive:zi}=e,{toggleGraph:Ii}=e,{playPrevChapter:ci}=e;const He=Pt(),Ki=dr(),Jt=gn(),ti=He.actions.internal.toggleMuted,Yi=He.actions.internal.togglePlay,Vi=He.actions.internal.pause,dn=He.actions.internal.toggleSubtitle,nn=(Rr=He.callbacks)==null?void 0:Rr.onAudioDoesNotExistHint,Mi=(Or=He.callbacks)==null?void 0:Or.onAudioDisabledHint,Bi=He.state.duration$;z(i,Bi,Z=>t(82,Gt=Z));const _i=He.state.positionWithScrubbing$;z(i,_i,Z=>t(80,Di=Z));const on=He.state.playbackState$;z(i,on,Z=>t(156,Dt=Z));const xi=He.state.chromecastConnected$;z(i,xi,Z=>t(83,Kt=Z));const $i=He.state.isAudioAvailable$;z(i,$i,Z=>t(77,O=Z));const ln=He.state.isAudioDisabled,wi=He.state.isEnded$;z(i,wi,Z=>t(164,ai=Z));const te=He.state.isLive$;z(i,te,Z=>t(32,Ci=Z));const tt=He.state.isActiveLive$;z(i,tt,Z=>t(158,Et=Z));const Mt=He.state.isRewindableLive$;z(i,Mt,Z=>t(31,Oi=Z));const Qi=He.ui.isPictureInPictureActive$;z(i,Qi,Z=>t(160,Pi=Z));const dt=He.ui.pictureInPictureType$;z(i,dt,Z=>t(159,mi=Z));const rn=He.ui.settingsMenuVisible;z(i,rn,Z=>t(26,C=Z));const mn=He.ui.settingsMenuOpenedByKeyboard;z(i,mn,Z=>t(136,$=Z));const sn=He.ui.controls,an=He.actions.internal.getVideoEpisodes(),_n=He.state.chromecastState$;z(i,_n,Z=>t(28,Wt=Z));const x=He.state.availableSubtitlesList$;z(i,x,Z=>t(163,pi=Z));const ut=He.state.currentSubtitle$;z(i,ut,Z=>t(165,Zt=Z));const en=sn.disabledControls$;z(i,en,Z=>t(167,nt=Z));const J=He.ui.contextMenuVisible;z(i,J,Z=>t(157,Ri=Z));const pn=He.ui.contextMenu.showContextMenuBtn$;z(i,pn,Z=>t(161,zt=Z));const bn=He.ui.contextMenu.openedByKeyboard$;z(i,bn,Z=>t(162,$t=Z));const Xn=He.ads.duration;z(i,Xn,Z=>t(81,Ti=Z));const Jn=He.ads.position;z(i,Jn,Z=>t(79,ui=Z));const xn=He.ads.playbackState;z(i,xn,Z=>t(166,vt=Z));const $n=He.ui.isFullscreen;z(i,$n,Z=>t(29,di=Z));const eo=He.ui.playerSize;z(i,eo,Z=>t(137,D=Z));const to=He.ui.currentGridType$;z(i,to,Z=>t(138,re=Z));const io=He.ui.additionalButtons$;z(i,io,Z=>t(27,L=Z));const Ao=He.actions.internal.getVideoElement,Lo=He.actions.internal.replayInteractive,hn=He.state.isInteractive,Wn=He.state.isInteractiveGraphEnabled,Dn=He.state.isSeekToInteractiveEnable,no=He.state.isPlayPrevChapterEnabled,zn=He.state.graphIsOpened$;z(i,zn,Z=>t(30,si=Z));const oo=He.state.playPrevChapterDisabledTooltip,lo=Ki.seekToInteractiveDisabledTooltip$;z(i,lo,Z=>t(78,Ft=Z));const ro=()=>He.actions.internal.toggleChromecast();let so,Zn,ao,q,mt,un,cn,Pn,Fn,Io,Zo,Go,_t,I,ee,be,Re,Ge,st,Ct,gt,yi="";const uo=(Z,Tl)=>{if(!Z){t(49,yi=G("tooltip_live"));return}Tl===xe.PlaybackState.PAUSED&&t(49,yi=G("tooltip_play"))};let Ko,Vo,Mr,Br,Yo;const Ke={};let wn,Mo,Pl,Nr;const kf=ie.throttleFn(af,C1,{leading:!1});let Qo,Xo;function Sf(){ln?Mi==null||Mi():O?ti():nn==null||nn()}const Cf=hn?Lo:Xt?Yi:Zi;function Pf(Z){i.$$.not_equal(Ke.prevButton,Z)&&(Ke.prevButton=Z,t(23,Ke))}function Tf(Z){i.$$.not_equal(Ke.replayButton,Z)&&(Ke.replayButton=Z,t(23,Ke))}function Ef(Z){i.$$.not_equal(Ke.playButton,Z)&&(Ke.playButton=Z,t(23,Ke))}function Af(Z){i.$$.not_equal(Ke.nextButton,Z)&&(Ke.nextButton=Z,t(23,Ke))}function Lf(Z){i.$$.not_equal(Ke.playPrevChapterButton,Z)&&(Ke.playPrevChapterButton=Z,t(23,Ke))}function If(Z){i.$$.not_equal(Ke.seekToInteractiveButton,Z)&&(Ke.seekToInteractiveButton=Z,t(23,Ke))}function Vf(Z){i.$$.not_equal(Ke.interactiveGraphButton,Z)&&(Ke.interactiveGraphButton=Z,t(23,Ke))}function Mf(Z){i.$$.not_equal(Ke.liveButton,Z)&&(Ke.liveButton=Z,t(23,Ke))}function Bf(Z){i.$$.not_equal(Ke.time,Z)&&(Ke.time=Z,t(23,Ke))}function Nf(Z){i.$$.not_equal(Ke.episodes,Z)&&(Ke.episodes=Z,t(23,Ke))}function Rf(){Yo=this.clientWidth,t(22,Yo)}function Of(Z){i.$$.not_equal(Ke.vkLogo,Z)&&(Ke.vkLogo=Z,t(23,Ke))}function Df(Z){i.$$.not_equal(Ke.volume,Z)&&(Ke.volume=Z,t(23,Ke))}function zf(Z){i.$$.not_equal(Ke.subtitles,Z)&&(Ke.subtitles=Z,t(23,Ke))}function Ff(Z){Qo=Z,t(24,Qo)}function Hf(Z){Xo=Z,t(25,Xo)}function Uf(Z){i.$$.not_equal(Ke.settings,Z)&&(Ke.settings=Z,t(23,Ke))}function jf(Z){i.$$.not_equal(Ke.context,Z)&&(Ke.context=Z,t(23,Ke))}function qf(Z){i.$$.not_equal(Ke.fullscreen,Z)&&(Ke.fullscreen=Z,t(23,Ke))}function Wf(Z){i.$$.not_equal(Ke.chromecast,Z)&&(Ke.chromecast=Z,t(23,Ke))}function Zf(Z){Se[Z?"unshift":"push"](()=>{Re=Z,t(45,Re)})}function Gf(Z){Se[Z?"unshift":"push"](()=>{Yt=Z,t(0,Yt)})}return i.$$set=Z=>{"bottomHidden"in Z&&t(1,Ui=Z.bottomHidden),"bottomNoSmooth"in Z&&t(2,ei=Z.bottomNoSmooth),"showControls"in Z&&t(3,ji=Z.showControls),"controlsElementRef"in Z&&t(0,Yt=Z.controlsElementRef),"isAds"in Z&&t(4,Ht=Z.isAds),"canRewindLive"in Z&&t(5,Qt=Z.canRewindLive),"logoClickable"in Z&&t(6,Ei=Z.logoClickable),"logoHidden"in Z&&t(126,Lt=Z.logoHidden),"videoLogoUrl"in Z&&t(7,hi=Z.videoLogoUrl),"showNextPrevButtons"in Z&&t(127,Ai=Z.showNextPrevButtons),"nextButtonActive"in Z&&t(8,qi=Z.nextButtonActive),"prevButtonActive"in Z&&t(9,vi=Z.prevButtonActive),"isOneVideoPlaylist"in Z&&t(128,Xt=Z.isOneVideoPlaylist),"supportLink"in Z&&t(10,Wi=Z.supportLink),"customFullscreenSupported"in Z&&t(129,gi=Z.customFullscreenSupported),"playNextVideo"in Z&&t(11,Li=Z.playNextVideo),"playPrevVideo"in Z&&t(12,Oe=Z.playPrevVideo),"repeatPlaylist"in Z&&t(130,Zi=Z.repeatPlaylist),"toggleFullscreen"in Z&&t(13,Gi=Z.toggleFullscreen),"returnFocus"in Z&&t(14,bi=Z.returnFocus),"seekToInteractive"in Z&&t(15,zi=Z.seekToInteractive),"toggleGraph"in Z&&t(16,Ii=Z.toggleGraph),"playPrevChapter"in Z&&t(17,ci=Z.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[5]&4096&&t(135,n=nt.has(ct.EPISODE_BUTTON)),i.$$.dirty[5]&4096&&t(76,o=nt.has(ct.GRAPH_BUTTON)),i.$$.dirty[5]&4096&&t(75,r=nt.has(ct.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[5]&4096&&t(74,l=nt.has(ct.PLAY_BUTTON)),i.$$.dirty[5]&4096&&t(73,s=nt.has(ct.REPLAY_BUTTON)),i.$$.dirty[5]&4096&&t(72,a=nt.has(ct.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[5]&2050&&t(33,so=Ht?vt===ni.PLAYING:Dt===xe.PlaybackState.PLAYING),i.$$.dirty[5]&1024&&t(18,Zn=Zt.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[5]&512&&t(34,ao=ai&&!Ht||hn),i.$$.dirty[0]&16|i.$$.dirty[5]&512&&t(35,q=!ai||hn||Ht),i.$$.dirty[4]&16384&&t(131,mt=yn(re,exports.GridTypes.M)),i.$$.dirty[0]&272|i.$$.dirty[4]&16392&&t(36,un=Ai&&yn(re,exports.GridTypes.M)&&!Ht&&qi),i.$$.dirty[0]&528|i.$$.dirty[4]&16392&&t(37,cn=Ai&&yn(re,exports.GridTypes.M)&&!Ht&&vi),i.$$.dirty[0]&268435456|i.$$.dirty[4]&16384|i.$$.dirty[5]&48&&t(38,Pn=Wt!==xe.ChromecastState.NOT_AVAILABLE&&!(Pi&&mi===In.DocumentPictureInPicture)&&yn(re,exports.GridTypes.M)&&!hn),i.$$.dirty[4]&16384|i.$$.dirty[5]&256&&t(39,Fn=pi.length>0&&yn(re,exports.GridTypes.M)),i.$$.dirty[5]&192&&t(40,Io=$t||zt),i.$$.dirty[4]&16384&&t(41,Zo=yn(re,exports.GridTypes.S)),i.$$.dirty[4]&4&&t(42,Go=!Lt),i.$$.dirty[4]&16420|i.$$.dirty[5]&48&&t(43,_t=Jt.features.fullscreen&&(Lt||yn(re,exports.GridTypes.S))&&!(Pi&&mi===In.DocumentPictureInPicture)&&(hn?gi:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&2&&t(19,I=(!Ci||Ht)&&!(Jt.features.interactiveHideTime&&hn)),i.$$.dirty[4]&8192&&t(44,ee=D.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&2|i.$$.dirty[4]&2176&&t(20,be=!Ht&&!Ci&&!!(an!=null&&an.length)&&mt&&!n),i.$$.dirty[1]&1|i.$$.dirty[5]&8&&t(21,Ge=!Oi||Et),i.$$.dirty[5]&2&&t(46,st=Dt===xe.PlaybackState.PLAYING?G("tooltip_pause"):G("tooltip_play")),i.$$.dirty[0]&1073741824&&t(47,Ct=G(si?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[5]&4&&t(48,gt=G(Ri?"aria_label_context_menu_close":"aria_label_context_menu_open")),i.$$.dirty[0]&2097152|i.$$.dirty[5]&2&&uo(Ge,Dt),i.$$.dirty[0]&262144&&t(51,Vo=G(Zn?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[0]&536870912&&t(52,Mr=G(di?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[0]&268435456&&t(53,Br=Wt===xe.ChromecastState.CONNECTED?G("tooltip_chromecast_on"):G("tooltip_chromecast_off")),i.$$.dirty[0]&134217728|i.$$.dirty[4]&2147450880|i.$$.dirty[5]&1&&t(132,wn={prevButton:Ot?Ot.right-Ot.left:0,replayButton:li?li.right-li.left:0,playButton:yt?yt.right-yt.left:0,nextButton:ht?ht.right-ht.left:0,playPrevChapterButton:it?it.right-it.left:0,seekToInteractiveButton:Vt?Vt.right-Vt.left:0,interactiveGraphButton:ft?ft.right-ft.left:0,liveButton:at?at.right-at.left:0,time:Ve?Ve.right-Ve.left:0,episodes:et?et.right-et.left:0,vkLogo:Q?Q.right-Q.left:0,volume:Ce?Ce.right-Ce.left:0,subtitles:A?A.right-A.left:0,settings:Pe?Pe.right-Pe.left:0,context:ze?ze.right-ze.left:0,fullscreen:ce?ce.right-ce.left:0,chromecast:ae?ae.right-ae.left:0,additionalButtons:L.length?L.reduce(Z=>[...Z,40],[]):[]}),i.$$.dirty[4]&768&&(!Mo||Mo<wn.time)&&t(133,Mo=wn.time),i.$$.dirty[0]&5767168|i.$$.dirty[4]&17152){let Z=0;be&&(yn(re,exports.GridTypes.XL)?Z=wn.time:Z=k0);const Tl=wn.prevButton+wn.playButton+wn.nextButton+wn.seekToInteractiveButton+wn.interactiveGraphButton+wn.liveButton+Mo+Z;t(134,Pl=I&&Yo>=Tl)}i.$$.dirty[4]&17408&&t(54,Nr=Pl&&yn(re,exports.GridTypes.M)),i.$$.dirty[0]&8388616|i.$$.dirty[4]&8192&&kf(Ao(),sn,Ke,ji),i.$$.dirty[0]&100663296&&yr(Xo,C,mn),i.$$.dirty[0]&83886080|i.$$.dirty[4]&4096&&kr(Qo,C,$)},t(50,Ko=Jt.logoType===Po.VK_VIDEO?G("tooltip_vk_video_logo"):G("tooltip_vk_logo")),ri(t(71,{prevButton:c,replayButton:f,playButton:m,nextButton:h,playPrevChapterButton:b,seekToInteractiveButton:v,interactiveGraphButton:y,liveButton:_,time:S,episodes:k,vkLogo:w,volume:R,subtitles:X,settings:V,context:K,fullscreen:se,chromecast:ne}=sn,c,Ji(t(70,f)),Fi(t(69,m)),Ue(t(68,h)),wt(t(67,b)),At(t(66,v)),Rt(t(65,y)),jt(t(64,_)),pt(t(63,S)),Ze(t(62,k)),Ne(t(61,w)),le(t(60,R)),Me(t(59,X)),Ee(t(58,V)),Le(t(57,K)),fe(t(56,se)),ge(t(55,ne)))),[Yt,Ui,ei,ji,Ht,Qt,Ei,hi,qi,vi,Wi,Li,Oe,Gi,bi,zi,Ii,ci,Zn,I,be,Ge,Yo,Ke,Qo,Xo,C,L,Wt,di,si,Oi,Ci,so,ao,q,un,cn,Pn,Fn,Io,Zo,Go,_t,ee,Re,st,Ct,gt,yi,Ko,Vo,Mr,Br,Nr,ne,se,K,V,X,R,w,k,S,_,y,v,b,h,m,f,c,a,s,l,r,o,O,Ft,ui,Di,Ti,Gt,Kt,Jt,Yi,Vi,dn,Bi,_i,on,xi,$i,wi,te,tt,Mt,Qi,dt,rn,mn,an,_n,x,ut,en,J,pn,bn,Xn,Jn,xn,$n,eo,to,io,hn,Wn,Dn,no,zn,oo,lo,ro,Sf,Cf,Lt,Ai,Xt,gi,Zi,mt,wn,Mo,Pl,n,$,D,re,ae,ce,ze,Pe,A,Ce,Q,et,Ve,at,ft,Vt,it,ht,yt,li,Ot,Dt,Ri,Et,mi,Pi,zt,$t,pi,ai,Zt,vt,nt,Pf,Tf,Ef,Af,Lf,If,Vf,Mf,Bf,Nf,Rf,Of,Df,zf,Ff,Hf,Uf,jf,qf,Wf,Zf,Gf]}class hg extends ke{constructor(e){super(),ye(this,e,pg,mg,we,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:126,videoLogoUrl:7,showNextPrevButtons:127,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:128,supportLink:10,customFullscreenSupported:129,playNextVideo:11,playPrevVideo:12,repeatPlaylist:130,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},W5,[-1,-1,-1,-1,-1,-1,-1])}}function vg(i){let e,t,n,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(r,l){E(r,e,l),p(e,t),p(t,n),p(t,o)},p:W,i:W,o:W,d(r){r&&P(e)}}}class gg extends ke{constructor(e){super(),ye(this,e,null,vg,we,{})}}function bg(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 Za(i){let e;return{c(){e=T("span"),e.textContent=`${G("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){E(t,e,n)},p:W,d(t){t&&P(e)}}}function _g(i){let e,t,n,o;var r=i[4];function l(a){return{}}r&&(t=En(r,l()));let s=i[1]&&Za();return{c(){e=T("div"),t&&j(t.$$.fragment),n=N(),s&&s.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),M(e,"expanded",i[1])},m(a,c){E(a,e,c),t&&F(t,e,null),p(e,n),s&&s.m(e,null),o=!0},p(a,c){if(c&16&&r!==(r=a[4])){if(t){he();const f=t;g(f.$$.fragment,1,0,()=>{H(f,1)}),ve()}r?(t=En(r,l()),j(t.$$.fragment),d(t.$$.fragment,1),F(t,e,n)):t=null}a[1]?s?s.p(a,c):(s=Za(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!o||c&2)&&M(e,"expanded",a[1])},i(a){o||(t&&d(t.$$.fragment,a),o=!0)},o(a){t&&g(t.$$.fragment,a),o=!1},d(a){a&&P(e),t&&H(t),s&&s.d()}}}function wg(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:[_g]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function yg(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:r=ie.noop}=e,{ref:l=void 0}=e,s,a;function c(f){l=f,t(0,l)}return i.$$set=f=>{"muted"in f&&t(5,n=f.muted),"expanded"in f&&t(1,o=f.expanded),"click"in f&&t(2,r=f.click),"ref"in f&&t(0,l=f.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,s=G(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&2&&t(4,a=o?Sl:gg)},[l,o,r,s,a,n,c]}class uf extends ke{constructor(e){super(),ye(this,e,yg,wg,we,{muted:5,expanded:1,click:2,ref:0},bg)}}function kg(i){let e,t,n,o;return{c(){e=B("svg"),t=B("path"),n=B("path"),o=B("path"),u(t,"fill",i[1]),u(t,"clip-rule","evenodd"),u(t,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",i[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),M(n,"hidden",!i[0]),u(o,"fill",i[1]),u(o,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),M(o,"hidden",i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(r,l){E(r,e,l),p(e,t),p(e,n),p(e,o)},p(r,[l]){l&2&&u(t,"fill",r[1]),l&2&&u(n,"fill",r[1]),l&1&&M(n,"hidden",!r[0]),l&2&&u(o,"fill",r[1]),l&1&&M(o,"hidden",r[0])},i:W,o:W,d(r){r&&P(e)}}}function Sg(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 Cg extends ke{constructor(e){super(),ye(this,e,Sg,kg,we,{isActive:0})}}function Pg(i){let e,t;return e=new Cg({props:{isActive:i[1]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isActive=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Tg(i){let e,t,n;function o(l){i[3](l)}let r={testId:"btn-pip",ariaLabel:G("menu_pip"),click:i[2],$$slots:{default:[Pg]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Eg(i,e,t){let{ref:n=void 0}=e,{isPictureInPictureActive:o=!1}=e,{click:r=ie.noop}=e;function l(s){n=s,t(0,n)}return i.$$set=s=>{"ref"in s&&t(0,n=s.ref),"isPictureInPictureActive"in s&&t(1,o=s.isPictureInPictureActive),"click"in s&&t(2,r=s.click)},[n,o,r,l]}class Ag extends ke{constructor(e){super(),ye(this,e,Eg,Tg,we,{ref:0,isPictureInPictureActive:1,click:2})}}function Lg(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 Ga(i,e,t){const n=i.slice();return n[153]=e[t].iconUrl,n[154]=e[t].ariaLabel,n[155]=e[t].testId,n[156]=e[t].onClick,n[157]=e[t].tooltip,n}function Ka(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k=(!i[51]||i[53])&&Ya(i),w=xt(i[56]),R=[];for(let L=0;L<w.length;L+=1)R[L]=Qa(Ga(i,w,L));const X=L=>g(R[L],1,1,()=>{R[L]=null});let V=i[36]&&Xa(i),K=i[37]&&Ja(i),se=i[57]&&xa(i),ne=i[39]&&$a(i),O=i[8]&&eu(i),$=i[34]&&tu(i),C=i[33]&&iu(i),D=i[8]&&nu(i),re=i[95]&&!i[29]&&ou(i);return{c(){e=T("div"),t=N(),n=T("div"),k&&k.c(),o=N(),r=T("div");for(let L=0;L<R.length;L+=1)R[L].c();l=N(),V&&V.c(),s=N(),K&&K.c(),a=N(),se&&se.c(),c=N(),ne&&ne.c(),f=N(),m=T("div"),O&&O.c(),h=N(),$&&$.c(),b=N(),C&&C.c(),v=N(),D&&D.c(),y=N(),re&&re.c(),_=bt(),u(e,"class","overlay-mobile v-1tcstu3"),M(e,"hidden",!i[42]),u(n,"class","wrapper-top-left v-1tcstu3"),M(n,"hidden",!i[3]),M(n,"fullscreen",i[52]),u(r,"class","wrapper-top-right v-1tcstu3"),M(r,"hidden",!i[3]&&!i[27]),M(r,"fullscreen",i[52]),u(m,"class","wrapper-middle v-1tcstu3"),M(m,"hidden",!i[3]||i[29])},m(L,ae){E(L,e,ae),E(L,t,ae),E(L,n,ae),k&&k.m(n,null),E(L,o,ae),E(L,r,ae);for(let pe=0;pe<R.length;pe+=1)R[pe]&&R[pe].m(r,null);p(r,l),V&&V.m(r,null),p(r,s),K&&K.m(r,null),p(r,a),se&&se.m(r,null),p(r,c),ne&&ne.m(r,null),E(L,f,ae),E(L,m,ae),O&&O.m(m,null),p(m,h),$&&$.m(m,null),p(m,b),C&&C.m(m,null),p(m,v),D&&D.m(m,null),E(L,y,ae),re&&re.m(L,ae),E(L,_,ae),S=!0},p(L,ae){if((!S||ae[1]&2048)&&M(e,"hidden",!L[42]),!L[51]||L[53]?k?(k.p(L,ae),ae[1]&5242880&&d(k,1)):(k=Ya(L),k.c(),d(k,1),k.m(n,null)):k&&(he(),g(k,1,1,()=>{k=null}),ve()),(!S||ae[0]&8)&&M(n,"hidden",!L[3]),(!S||ae[1]&2097152)&&M(n,"fullscreen",L[52]),ae[1]&33554432){w=xt(L[56]);let pe;for(pe=0;pe<w.length;pe+=1){const ge=Ga(L,w,pe);R[pe]?(R[pe].p(ge,ae),d(R[pe],1)):(R[pe]=Qa(ge),R[pe].c(),d(R[pe],1),R[pe].m(r,l))}for(he(),pe=w.length;pe<R.length;pe+=1)X(pe);ve()}L[36]?V?(V.p(L,ae),ae[1]&32&&d(V,1)):(V=Xa(L),V.c(),d(V,1),V.m(r,s)):V&&(he(),g(V,1,1,()=>{V=null}),ve()),L[37]?K?(K.p(L,ae),ae[1]&64&&d(K,1)):(K=Ja(L),K.c(),d(K,1),K.m(r,a)):K&&(he(),g(K,1,1,()=>{K=null}),ve()),L[57]?se?(se.p(L,ae),ae[1]&67108864&&d(se,1)):(se=xa(L),se.c(),d(se,1),se.m(r,c)):se&&(he(),g(se,1,1,()=>{se=null}),ve()),L[39]?ne?(ne.p(L,ae),ae[1]&256&&d(ne,1)):(ne=$a(L),ne.c(),d(ne,1),ne.m(r,null)):ne&&(he(),g(ne,1,1,()=>{ne=null}),ve()),(!S||ae[0]&134217736)&&M(r,"hidden",!L[3]&&!L[27]),(!S||ae[1]&2097152)&&M(r,"fullscreen",L[52]),L[8]?O?(O.p(L,ae),ae[0]&256&&d(O,1)):(O=eu(L),O.c(),d(O,1),O.m(m,h)):O&&(he(),g(O,1,1,()=>{O=null}),ve()),L[34]?$?($.p(L,ae),ae[1]&8&&d($,1)):($=tu(L),$.c(),d($,1),$.m(m,b)):$&&(he(),g($,1,1,()=>{$=null}),ve()),L[33]?C?(C.p(L,ae),ae[1]&4&&d(C,1)):(C=iu(L),C.c(),d(C,1),C.m(m,v)):C&&(he(),g(C,1,1,()=>{C=null}),ve()),L[8]?D?(D.p(L,ae),ae[0]&256&&d(D,1)):(D=nu(L),D.c(),d(D,1),D.m(m,null)):D&&(he(),g(D,1,1,()=>{D=null}),ve()),(!S||ae[0]&536870920)&&M(m,"hidden",!L[3]||L[29]),L[95]&&!L[29]?re?(re.p(L,ae),ae[0]&536870912&&d(re,1)):(re=ou(L),re.c(),d(re,1),re.m(_.parentNode,_)):re&&(he(),g(re,1,1,()=>{re=null}),ve())},i(L){if(!S){d(k);for(let ae=0;ae<w.length;ae+=1)d(R[ae]);d(V),d(K),d(se),d(ne),d(O),d($),d(C),d(D),d(re),S=!0}},o(L){g(k),R=R.filter(Boolean);for(let ae=0;ae<R.length;ae+=1)g(R[ae]);g(V),g(K),g(se),g(ne),g(O),g($),g(C),g(D),g(re),S=!1},d(L){L&&(P(e),P(t),P(n),P(o),P(r),P(f),P(m),P(y),P(_)),k&&k.d(),Cn(R,L),V&&V.d(),K&&K.d(),se&&se.d(),ne&&ne.d(),O&&O.d(),$&&$.d(),C&&C.d(),D&&D.d(),re&&re.d(L)}}}function Ya(i){let e,t,n;function o(l){i[119](l)}let r={muted:i[54],expanded:i[51]&&!i[70]&&i[55],click:i[102]};return i[20].volume!==void 0&&(r.ref=i[20].volume),e=new uf({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&8388608&&(a.muted=l[54]),s[1]&17825792&&(a.expanded=l[51]&&!l[70]&&l[55]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].volume,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Qa(i){var n;let e,t;return e=new nf({props:{iconUrl:i[153],ariaLabel:(n=i[154])!=null?n:i[157],testId:i[155],onClick:i[156]}}),{c(){j(e.$$.fragment)},m(o,r){F(e,o,r),t=!0},p(o,r){var s;const l={};r[1]&33554432&&(l.iconUrl=o[153]),r[1]&33554432&&(l.ariaLabel=(s=o[154])!=null?s:o[157]),r[1]&33554432&&(l.testId=o[155]),r[1]&33554432&&(l.onClick=o[156]),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){H(e,o)}}}function Xa(i){let e,t,n;function o(l){i[120](l)}let r={isMobile:!0,click:i[100],state:i[28]};return i[20].chromecast!==void 0&&(r.ref=i[20].chromecast),e=new Gc({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&268435456&&(a.state=l[28]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].chromecast,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ja(i){let e,t,n;function o(l){i[121](l)}let r={click:i[101],isPictureInPictureActive:i[26]};return i[20].pip!==void 0&&(r.ref=i[20].pip),e=new Ag({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&67108864&&(a.isPictureInPictureActive=l[26]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].pip,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function xa(i){let e,t,n;function o(l){i[122](l)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new Pr({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=l[22],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function $a(i){let e,t,n;function o(l){i[123](l)}let r={click:i[64],logoClickable:i[6],videoLogoUrl:i[7]};return i[20].vkLogo!==void 0&&(r.ref=i[20].vkLogo),e=new Zc({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&64&&(a.logoClickable=l[6]),s[0]&128&&(a.videoLogoUrl=l[7]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].vkLogo,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function eu(i){let e,t,n;function o(l){i[124](l)}let r={click:i[13],type:"prev",disabled:!i[10],isMobile:!0};return i[20].prevButton!==void 0&&(r.ref=i[20].prevButton),e=new Cl({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&8192&&(a.click=l[13]),s[0]&1024&&(a.disabled=!l[10]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].prevButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function tu(i){let e,t,n;function o(l){i[125](l)}let r={disabled:i[48],click:i[63],isMobile:!0,isPlaying:i[31]};return i[20].playButton!==void 0&&(r.ref=i[20].playButton),e=new Ar({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&131072&&(a.disabled=l[48]),s[1]&1&&(a.isPlaying=l[31]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].playButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function iu(i){let e,t,n;function o(l){i[126](l)}let r={disabled:i[47],click:i[103],isMobile:!0};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new Lr({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.disabled=l[47]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].replayButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function nu(i){let e,t,n;function o(l){i[127](l)}let r={click:i[12],type:"next",disabled:!i[9],isMobile:!0};return i[20].nextButton!==void 0&&(r.ref=i[20].nextButton),e=new Cl({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&4096&&(a.click=l[12]),s[0]&512&&(a.disabled=!l[9]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].nextButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ou(i){let e,t,n,o,r=i[98]&&Ig(i),l=i[96]&&Vg(i),s=i[97]&&Mg(i);return{c(){r&&r.c(),e=N(),l&&l.c(),t=N(),s&&s.c(),n=bt()},m(a,c){r&&r.m(a,c),E(a,e,c),l&&l.m(a,c),E(a,t,c),s&&s.m(a,c),E(a,n,c),o=!0},p(a,c){a[98]&&r.p(a,c),a[96]&&l.p(a,c),a[97]&&s.p(a,c)},i(a){o||(d(r),d(l),d(s),o=!0)},o(a){g(r),g(l),g(s),o=!1},d(a){a&&(P(e),P(t),P(n)),r&&r.d(a),l&&l.d(a),s&&s.d(a)}}}function Ig(i){let e,t,n;return t=new tf({props:{hidden:!i[3],disabled:i[46],click:i[18]}}),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),M(e,"fullscreen",i[52]),M(e,"hidden",!i[3])},m(o,r){E(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r[0]&8&&(l.hidden=!o[3]),r[1]&32768&&(l.disabled=o[46]),r[0]&262144&&(l.click=o[18]),t.$set(l),(!n||r[1]&2097152)&&M(e,"fullscreen",o[52]),(!n||r[0]&8)&&M(e,"hidden",!o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Vg(i){let e,t,n,o;function r(s){i[128](s)}let l={hidden:!i[3]&&!i[58],disabled:i[50],click:i[17],graphIsOpened:i[58]};return i[20].interactiveGraphButton!==void 0&&(l.ref=i[20].interactiveGraphButton),t=new $c({props:l}),Se.push(()=>We(t,"ref",r)),{c(){e=T("div"),j(t.$$.fragment),u(e,"class",i0(i[98]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),M(e,"fullscreen",i[52]),M(e,"hidden",!i[3]&&!i[58])},m(s,a){E(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[0]&8|a[1]&134217728&&(c.hidden=!s[3]&&!s[58]),a[1]&524288&&(c.disabled=s[50]),a[0]&131072&&(c.click=s[17]),a[1]&134217728&&(c.graphIsOpened=s[58]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].interactiveGraphButton,qe(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&M(e,"fullscreen",s[52]),(!o||a[0]&8|a[1]&134217728)&&M(e,"hidden",!s[3]&&!s[58])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function Mg(i){let e,t,n,o;function r(s){i[129](s)}let l={hidden:!i[3],disabled:i[49],click:i[16]};return i[20].seekToInteractiveButton!==void 0&&(l.ref=i[20].seekToInteractiveButton),t=new xc({props:l}),Se.push(()=>We(t,"ref",r)),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),M(e,"fullscreen",i[52]),M(e,"hidden",!i[3])},m(s,a){E(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[0]&8&&(c.hidden=!s[3]),a[1]&262144&&(c.disabled=s[49]),a[0]&65536&&(c.click=s[16]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].seekToInteractiveButton,qe(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&M(e,"fullscreen",s[52]),(!o||a[0]&8)&&M(e,"hidden",!s[3])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function lu(i){let e,t,n,o,r,l=i[53]&&ru(i),s=i[32]&&su(i);return o=new Qc({props:{position:i[59],duration:i[60]}}),{c(){l&&l.c(),e=N(),s&&s.c(),t=N(),n=T("div"),j(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),M(n,"fullscreen",i[52])},m(a,c){l&&l.m(a,c),E(a,e,c),s&&s.m(a,c),E(a,t,c),E(a,n,c),F(o,n,null),r=!0},p(a,c){a[53]?l?(l.p(a,c),c[1]&4194304&&d(l,1)):(l=ru(a),l.c(),d(l,1),l.m(e.parentNode,e)):l&&(he(),g(l,1,1,()=>{l=null}),ve()),a[32]?s?(s.p(a,c),c[1]&2&&d(s,1)):(s=su(a),s.c(),d(s,1),s.m(t.parentNode,t)):s&&(he(),g(s,1,1,()=>{s=null}),ve());const f={};c[1]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),o.$set(f),(!r||c[1]&2097152)&&M(n,"fullscreen",a[52])},i(a){r||(d(l),d(s),d(o.$$.fragment,a),r=!0)},o(a){g(l),g(s),g(o.$$.fragment,a),r=!1},d(a){a&&(P(e),P(t),P(n)),l&&l.d(a),s&&s.d(a),H(o)}}}function ru(i){let e,t,n,o;function r(s){i[130](s)}let l={muted:i[54],expanded:!1,click:i[102]};return i[20].volume!==void 0&&(l.ref=i[20].volume),t=new uf({props:l}),Se.push(()=>We(t,"ref",r)),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),M(e,"fullscreen",i[52])},m(s,a){E(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[1]&8388608&&(c.muted=s[54]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].volume,qe(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&M(e,"fullscreen",s[52])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function su(i){let e,t,n,o;function r(s){i[131](s)}let l={disabled:i[48],click:i[63],isMobile:!0,isPlaying:!i[32]};return i[20].playButton!==void 0&&(l.ref=i[20].playButton),t=new Ar({props:l}),Se.push(()=>We(t,"ref",r)),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(s,a){E(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[1]&131072&&(c.disabled=s[48]),a[1]&2&&(c.isPlaying=!s[32]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].playButton,qe(()=>n=!1)),t.$set(c)},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function Bg(i){let e,t,n;function o(l){i[132](l)}let r={disabled:i[47],$$slots:{default:[Ng]},$$scope:{ctx:i}};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.disabled=l[47]),s[1]&65536|s[5]&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].replayButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ng(i){let e,t;return e=new Lr({props:{disabled:i[47],click:i[94]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&65536&&(r.disabled=n[47]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function au(i){let e,t,n;function o(l){i[133](l)}let r={$$slots:{default:[Rg]},$$scope:{ctx:i}};return i[20].liveButton!==void 0&&(r.ref=i[20].liveButton),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&524288|s[1]&16384|s[5]&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].liveButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Rg(i){let e,t;return e=new Kc({props:{isActiveLive:i[19],isMobile:!0,ariaLabel:i[45]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&524288&&(r.isActiveLive=n[19]),o[1]&16384&&(r.ariaLabel=n[45]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function uu(i){let e,t,n;function o(l){i[134](l)}let r={showDuration:i[35],position:i[4]?i[59]:i[61],duration:i[4]?i[60]:i[62],isMobile:!0};return i[20].time!==void 0&&(r.ref=i[20].time),e=new Hc({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&16&&(a.showDuration=l[35]),s[0]&16|s[1]&1342177280&&(a.position=l[4]?l[59]:l[61]),s[0]&16|s[1]&536870912|s[2]&1&&(a.duration=l[4]?l[60]:l[62]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].time,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function cu(i){let e,t,n,o;return n=new Jc({props:{position:i[61],duration:i[62],timeCodes:i[84]}}),{c(){e=T("div"),e.textContent="\xB7",t=N(),j(n.$$.fragment),u(e,"aria-hidden","true")},m(r,l){E(r,e,l),E(r,t,l),F(n,r,l),o=!0},p(r,l){const s={};l[1]&1073741824&&(s.position=r[61]),l[2]&1&&(s.duration=r[62]),n.$set(s)},i(r){o||(d(n.$$.fragment,r),o=!0)},o(r){g(n.$$.fragment,r),o=!1},d(r){r&&(P(e),P(t)),H(n,r)}}}function Og(i){let e,t,n=i[43]&&cu(i);return{c(){n&&n.c(),e=bt()},m(o,r){n&&n.m(o,r),E(o,e,r),t=!0},p(o,r){o[43]?n?(n.p(o,r),r[1]&4096&&d(n,1)):(n=cu(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(he(),g(n,1,1,()=>{n=null}),ve())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function fu(i){let e,t,n;function o(l){i[137](l)}let r={$$slots:{default:[Dg]},$$scope:{ctx:i}};return i[20].settings!==void 0&&(r.ref=i[20].settings),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&4194304|s[5]&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].settings,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Dg(i){let e,t,n;function o(l){i[136](l)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new Pr({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=l[22],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function du(i){let e,t,n;function o(l){i[138](l)}let r={$$slots:{default:[zg]},$$scope:{ctx:i}};return i[20].fullscreen!==void 0&&(r.ref=i[20].fullscreen),e=new Ut({props:r}),Se.push(()=>We(e,"ref",o)),{c(){j(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&16384|s[1]&2097152|s[5]&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].fullscreen,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function zg(i){let e,t;return e=new qc({props:{click:i[14],isFullscreen:i[52]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&16384&&(r.click=n[14]),o[1]&2097152&&(r.isFullscreen=n[52]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function mu(i){let e,t,n,o;function r(s){i[141](s)}let l={supportLink:i[11],returnFocus:i[15]};return i[21]!==void 0&&(l.ref=i[21]),t=new Fc({props:l}),Se.push(()=>We(t,"ref",r)),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(s,a){E(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[0]&2048&&(c.supportLink=s[11]),a[0]&32768&&(c.returnFocus=s[15]),!n&&a[0]&2097152&&(n=!0,c.ref=s[21],qe(()=>n=!1)),t.$set(c)},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function Fg(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k=!i[4]&&Ka(i),w=i[4]&&i[30]!==ni.INACTIVE&&lu(i),R=i[95]&&Bg(i),X=!i[4]&&i[25]&&au(i),V=i[41]&&uu(i);function K(C){i[135](C)}let se={className:"w-max",disabled:!i[43],$$slots:{default:[Og]},$$scope:{ctx:i}};i[20].episodes!==void 0&&(se.ref=i[20].episodes),c=new Ut({props:se}),Se.push(()=>We(c,"ref",K));let ne=i[38]&&fu(i),O=i[40]&&du(i);v=new Xc({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[24]}});let $=i[23]&&mu(i);return{c(){k&&k.c(),e=N(),w&&w.c(),t=N(),n=T("div"),o=T("div"),r=T("div"),R&&R.c(),l=N(),X&&X.c(),s=N(),V&&V.c(),a=N(),j(c.$$.fragment),m=N(),ne&&ne.c(),h=N(),O&&O.c(),b=N(),j(v.$$.fragment),y=N(),$&&$.c(),_=bt(),u(r,"class","controls v-1tcstu3"),M(r,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),M(o,"fullscreen",i[52]),u(n,"class","wrapper-bottom v-1tcstu3"),M(n,"hidden",i[1]),M(n,"controls-hidden",!i[3]),M(n,"no-smooth",i[2]),M(n,"mobile",!0)},m(C,D){k&&k.m(C,D),E(C,e,D),w&&w.m(C,D),E(C,t,D),E(C,n,D),p(n,o),p(o,r),R&&R.m(r,null),p(r,l),X&&X.m(r,null),p(r,s),V&&V.m(r,null),p(r,a),F(c,r,null),p(r,m),ne&&ne.m(r,null),p(r,h),O&&O.m(r,null),i[139](r),p(o,b),F(v,o,null),i[140](n),E(C,y,D),$&&$.m(C,D),E(C,_,D),S=!0},p(C,D){C[4]?k&&(he(),g(k,1,1,()=>{k=null}),ve()):k?(k.p(C,D),D[0]&16&&d(k,1)):(k=Ka(C),k.c(),d(k,1),k.m(e.parentNode,e)),C[4]&&C[30]!==ni.INACTIVE?w?(w.p(C,D),D[0]&1073741840&&d(w,1)):(w=lu(C),w.c(),d(w,1),w.m(t.parentNode,t)):w&&(he(),g(w,1,1,()=>{w=null}),ve()),C[95]&&R.p(C,D),!C[4]&&C[25]?X?(X.p(C,D),D[0]&33554448&&d(X,1)):(X=au(C),X.c(),d(X,1),X.m(r,s)):X&&(he(),g(X,1,1,()=>{X=null}),ve()),C[41]?V?(V.p(C,D),D[1]&1024&&d(V,1)):(V=uu(C),V.c(),d(V,1),V.m(r,a)):V&&(he(),g(V,1,1,()=>{V=null}),ve());const re={};D[1]&4096&&(re.disabled=!C[43]),D[1]&1073745920|D[2]&1|D[5]&32&&(re.$$scope={dirty:D,ctx:C}),!f&&D[0]&1048576&&(f=!0,re.ref=C[20].episodes,qe(()=>f=!1)),c.$set(re),C[38]?ne?(ne.p(C,D),D[1]&128&&d(ne,1)):(ne=fu(C),ne.c(),d(ne,1),ne.m(r,h)):ne&&(he(),g(ne,1,1,()=>{ne=null}),ve()),C[40]?O?(O.p(C,D),D[1]&512&&d(O,1)):(O=du(C),O.c(),d(O,1),O.m(r,null)):O&&(he(),g(O,1,1,()=>{O=null}),ve());const L={};D[0]&16&&(L.isAds=C[4]),D[0]&32&&(L.canRewindLive=C[5]),D[0]&16777216&&(L.isRewindableLive=C[24]),v.$set(L),(!S||D[1]&2097152)&&M(o,"fullscreen",C[52]),(!S||D[0]&2)&&M(n,"hidden",C[1]),(!S||D[0]&8)&&M(n,"controls-hidden",!C[3]),(!S||D[0]&4)&&M(n,"no-smooth",C[2]),C[23]?$?($.p(C,D),D[0]&8388608&&d($,1)):($=mu(C),$.c(),d($,1),$.m(_.parentNode,_)):$&&(he(),g($,1,1,()=>{$=null}),ve())},i(C){S||(d(k),d(w),d(R),d(X),d(V),d(c.$$.fragment,C),d(ne),d(O),d(v.$$.fragment,C),d($),S=!0)},o(C){g(k),g(w),g(R),g(X),g(V),g(c.$$.fragment,C),g(ne),g(O),g(v.$$.fragment,C),g($),S=!1},d(C){C&&(P(e),P(t),P(n),P(y),P(_)),k&&k.d(C),w&&w.d(C),R&&R.d(),X&&X.d(),V&&V.d(),H(c),ne&&ne.d(),O&&O.d(),i[139](null),H(v),i[140](null),$&&$.d(C)}}}function Hg(i,e,t){var ut,en;let n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O,$,C,D,re,L,ae,pe,ge,ce,Y,{bottomHidden:fe}=e,{bottomNoSmooth:ze}=e,{showControls:de}=e,{controlsElementRef:Le=void 0}=e,{isAds:Pe=!1}=e,{canRewindLive:ue}=e,{logoClickable:Ee}=e,{logoHidden:A}=e,{videoLogoUrl:oe}=e,{showNextPrevButtons:Me}=e,{nextButtonActive:Ce}=e,{prevButtonActive:Te}=e,{isOneVideoPlaylist:le=!1}=e,{supportLink:Q}=e,{customFullscreenSupported:U=!0}=e,{playNextVideo:Ne}=e,{playPrevVideo:et}=e,{repeatPlaylist:rt}=e,{toggleFullscreen:Ze}=e,{returnFocus:Ve}=e,{seekToInteractive:Je}=e,{toggleGraph:pt}=e,{playPrevChapter:at}=e;const Ie=Pt(),jt=gn(),ft=Ie.actions.internal.toggleMuted,It=Ie.actions.internal.togglePlay,Rt=Ie.actions.internal.pause,Vt=(ut=Ie.callbacks)==null?void 0:ut.onAudioDoesNotExistHint,me=(en=Ie.callbacks)==null?void 0:en.onAudioDisabledHint,At=Ie.playerPhase;z(i,At,J=>t(116,X=J));const it=Ie.state.duration$;z(i,it,J=>t(62,Y=J));const Tt=Ie.state.positionWithScrubbing$;z(i,Tt,J=>t(61,ce=J));const wt=Ie.state.playbackState$;z(i,wt,J=>t(112,m=J));const ht=Ie.state.isAudioAvailable$;z(i,ht,J=>t(51,h=J));const Qe=Ie.state.isAudioDisabled,Ue=Ie.state.isEnded$;z(i,Ue,J=>t(117,K=J));const yt=Ie.state.isLive$;z(i,yt,J=>t(25,_=J));const Ni=Ie.state.muted$;z(i,Ni,J=>t(54,C=J));const Fi=Ie.state.isActiveLive$;z(i,Fi,J=>t(114,v=J));const li=Ie.state.isRewindableLive$;z(i,li,J=>t(24,y=J));const Hi=Ie.ui.scrubbingInProgress;z(i,Hi,J=>t(29,V=J));const Ji=Ie.ui.mobileNotReportControlHidden$;z(i,Ji,J=>t(27,w=J));const Ot=Ie.ui.isPictureInPictureActive$;z(i,Ot,J=>t(26,k=J));const qt=Ie.ui.pictureInPictureType$;z(i,qt,J=>t(115,S=J));const ri=Ie.ui.mobileUnmuteButtonExpanded;z(i,ri,J=>t(55,D=J));const Wt=Ie.ui.mobileUnmuteButtonVisible;z(i,Wt,J=>t(53,$=J));const di=Ie.ui.settingsMenuVisible;z(i,di,J=>t(23,f=J));const Dt=Ie.ui.settingsMenuOpenedByKeyboard;z(i,Dt,J=>t(111,c=J));const Ri=Ie.ui.controls,si=Ie.actions.internal.getVideoEpisodes(),Et=Ie.webApi.pictureInPictureApi,Oi=Ie.state.chromecastState$;z(i,Oi,J=>t(28,R=J));const Ci=Ie.state.crashed$;z(i,Ci,J=>t(57,L=J));const mi=Ri.disabledControls$;z(i,mi,J=>t(118,ne=J));const Pi=Ie.ads.duration;z(i,Pi,J=>t(60,ge=J));const zt=Ie.ads.position;z(i,zt,J=>t(59,pe=J));const $t=Ie.ads.playbackState;z(i,$t,J=>t(30,se=J));const pi=Ie.ui.isFullscreen;z(i,pi,J=>t(52,O=J));const ai=Ie.ui.playerSize;z(i,ai,J=>t(113,b=J));const Zt=Ie.ui.additionalButtons$;z(i,Zt,J=>t(56,re=J));const vt=Ie.actions.internal.getVideoElement,nt=Ie.actions.internal.replayInteractive,Ft=Ie.state.isInteractive,ui=Ie.state.isInteractiveGraphEnabled,Di=Ie.state.isSeekToInteractiveEnable,Ti=Ie.state.isPlayPrevChapterEnabled,Gt=Ie.state.graphIsOpened$;z(i,Gt,J=>t(58,ae=J));let Kt,Ui,ei,ji,Yt,Ht,Qt,Ei,Lt,hi,Ai,qi,vi,Xt,Wi,gi,Li;const Oe={},Zi=ie.throttleFn(af,C1,{leading:!1}),Gi=()=>Ie.actions.internal.toggleChromecast();function bi(){Qe?me==null||me():h?ft():Vt==null||Vt()}function zi(){return Xi(this,null,function*(){Et!=null&&Et.isActive()?yield Et==null?void 0:Et.remove():yield Et==null?void 0:Et.request()})}function Ii(){!Qe&&h&&Wt.set(!1),bi()}const ci=le?It:rt;let He="";const Ki=(J,pn)=>{if(!J){t(45,He=G("tooltip_live"));return}pn===xe.PlaybackState.PAUSED&&t(45,He=G("tooltip_play"))};let Jt,ti;function Yi(J){i.$$.not_equal(Oe.volume,J)&&(Oe.volume=J,t(20,Oe))}function Vi(J){i.$$.not_equal(Oe.chromecast,J)&&(Oe.chromecast=J,t(20,Oe))}function dn(J){i.$$.not_equal(Oe.pip,J)&&(Oe.pip=J,t(20,Oe))}function nn(J){ti=J,t(22,ti)}function Mi(J){i.$$.not_equal(Oe.vkLogo,J)&&(Oe.vkLogo=J,t(20,Oe))}function Bi(J){i.$$.not_equal(Oe.prevButton,J)&&(Oe.prevButton=J,t(20,Oe))}function _i(J){i.$$.not_equal(Oe.playButton,J)&&(Oe.playButton=J,t(20,Oe))}function on(J){i.$$.not_equal(Oe.replayButton,J)&&(Oe.replayButton=J,t(20,Oe))}function xi(J){i.$$.not_equal(Oe.nextButton,J)&&(Oe.nextButton=J,t(20,Oe))}function $i(J){i.$$.not_equal(Oe.interactiveGraphButton,J)&&(Oe.interactiveGraphButton=J,t(20,Oe))}function ln(J){i.$$.not_equal(Oe.seekToInteractiveButton,J)&&(Oe.seekToInteractiveButton=J,t(20,Oe))}function wi(J){i.$$.not_equal(Oe.volume,J)&&(Oe.volume=J,t(20,Oe))}function te(J){i.$$.not_equal(Oe.playButton,J)&&(Oe.playButton=J,t(20,Oe))}function tt(J){i.$$.not_equal(Oe.replayButton,J)&&(Oe.replayButton=J,t(20,Oe))}function Mt(J){i.$$.not_equal(Oe.liveButton,J)&&(Oe.liveButton=J,t(20,Oe))}function Qi(J){i.$$.not_equal(Oe.time,J)&&(Oe.time=J,t(20,Oe))}function dt(J){i.$$.not_equal(Oe.episodes,J)&&(Oe.episodes=J,t(20,Oe))}function rn(J){ti=J,t(22,ti)}function mn(J){i.$$.not_equal(Oe.settings,J)&&(Oe.settings=J,t(20,Oe))}function sn(J){i.$$.not_equal(Oe.fullscreen,J)&&(Oe.fullscreen=J,t(20,Oe))}function an(J){Se[J?"unshift":"push"](()=>{gi=J,t(44,gi)})}function _n(J){Se[J?"unshift":"push"](()=>{Le=J,t(0,Le)})}function x(J){Jt=J,t(21,Jt)}return i.$$set=J=>{"bottomHidden"in J&&t(1,fe=J.bottomHidden),"bottomNoSmooth"in J&&t(2,ze=J.bottomNoSmooth),"showControls"in J&&t(3,de=J.showControls),"controlsElementRef"in J&&t(0,Le=J.controlsElementRef),"isAds"in J&&t(4,Pe=J.isAds),"canRewindLive"in J&&t(5,ue=J.canRewindLive),"logoClickable"in J&&t(6,Ee=J.logoClickable),"logoHidden"in J&&t(104,A=J.logoHidden),"videoLogoUrl"in J&&t(7,oe=J.videoLogoUrl),"showNextPrevButtons"in J&&t(8,Me=J.showNextPrevButtons),"nextButtonActive"in J&&t(9,Ce=J.nextButtonActive),"prevButtonActive"in J&&t(10,Te=J.prevButtonActive),"isOneVideoPlaylist"in J&&t(105,le=J.isOneVideoPlaylist),"supportLink"in J&&t(11,Q=J.supportLink),"customFullscreenSupported"in J&&t(106,U=J.customFullscreenSupported),"playNextVideo"in J&&t(12,Ne=J.playNextVideo),"playPrevVideo"in J&&t(13,et=J.playPrevVideo),"repeatPlaylist"in J&&t(107,rt=J.repeatPlaylist),"toggleFullscreen"in J&&t(14,Ze=J.toggleFullscreen),"returnFocus"in J&&t(15,Ve=J.returnFocus),"seekToInteractive"in J&&t(16,Je=J.seekToInteractive),"toggleGraph"in J&&t(17,pt=J.toggleGraph),"playPrevChapter"in J&&t(18,at=J.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&33554432&&t(110,n=ne.has(ct.EPISODE_BUTTON)),i.$$.dirty[3]&33554432&&t(50,o=ne.has(ct.GRAPH_BUTTON)),i.$$.dirty[3]&33554432&&t(49,r=ne.has(ct.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&33554432&&t(48,l=ne.has(ct.PLAY_BUTTON)),i.$$.dirty[3]&33554432&&t(47,s=ne.has(ct.REPLAY_BUTTON)),i.$$.dirty[3]&33554432&&t(46,a=ne.has(ct.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&524288&&t(31,Kt=m===xe.PlaybackState.PLAYING),i.$$.dirty[0]&1073741824&&t(32,Ui=se===ni.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&16777216&&t(33,ei=K&&!Pe&&!Ft),i.$$.dirty[0]&16|i.$$.dirty[3]&16777216&&t(34,ji=!K||Pe),i.$$.dirty[3]&1048576&&t(108,Yt=b.width>300),i.$$.dirty[3]&1048576&&t(35,Ht=b.width>400),i.$$.dirty[0]&536870912&&t(109,Qt=V),i.$$.dirty[0]&469762048|i.$$.dirty[3]&4194304&&t(36,Ei=R!==xe.ChromecastState.NOT_AVAILABLE&&!(k&&S===In.DocumentPictureInPicture)&&!w&&!Ft),i.$$.dirty[0]&402653184|i.$$.dirty[3]&12648448){const J=X===De.WaitingLive;t(37,Lt=!!Et&&R!==xe.ChromecastState.CONNECTED&&!w&&(S===In.DocumentPictureInPicture&&J||!J)&&!Qt&&!Ft)}i.$$.dirty[3]&65536&&t(38,hi=!Qt),i.$$.dirty[3]&1050624&&t(39,Ai=!A&&b.width>350),i.$$.dirty[0]&67108864|i.$$.dirty[3]&4268032&&t(40,qi=jt.features.fullscreen&&!(k&&S===In.DocumentPictureInPicture)&&(Ft?U:!0)&&!Qt),i.$$.dirty[0]&33554448|i.$$.dirty[3]&1114112&&t(41,vi=(!_||Pe)&&b.width>260&&!Qt&&!(jt.features.interactiveHideTime&&Ft)),i.$$.dirty[0]&8388616&&t(42,Xt=f||de),i.$$.dirty[0]&33554448|i.$$.dirty[3]&229376&&t(43,Wi=!Pe&&!_&&!!(si!=null&&si.length)&&Yt&&!n&&!Qt),i.$$.dirty[0]&16777216|i.$$.dirty[3]&2097152&&t(19,Li=!y||v),i.$$.dirty[0]&1048584|i.$$.dirty[3]&1048576&&Zi(vt(),Ri,Oe,de),i.$$.dirty[0]&524288|i.$$.dirty[3]&524288&&Ki(Li,m),i.$$.dirty[0]&12582912&&yr(ti,f,Dt),i.$$.dirty[0]&10485760|i.$$.dirty[3]&262144&&kr(Jt,f,c)},[Le,fe,ze,de,Pe,ue,Ee,oe,Me,Ce,Te,Q,Ne,et,Ze,Ve,Je,pt,at,Li,Oe,Jt,ti,f,y,_,k,w,R,V,se,Kt,Ui,ei,ji,Ht,Ei,Lt,hi,Ai,qi,vi,Xt,Wi,gi,He,a,s,l,r,o,h,O,$,C,D,re,L,ae,pe,ge,ce,Y,It,Rt,At,it,Tt,wt,ht,Qe,Ue,yt,Ni,Fi,li,Hi,Ji,Ot,qt,ri,Wt,di,Dt,si,Oi,Ci,mi,Pi,zt,$t,pi,ai,Zt,nt,Ft,ui,Di,Ti,Gt,Gi,zi,Ii,ci,A,le,U,rt,Yt,Qt,n,c,m,b,v,S,X,K,ne,Yi,Vi,dn,nn,Mi,Bi,_i,on,xi,$i,ln,wi,te,tt,Mt,Qi,dt,rn,mn,sn,an,_n,x]}class Ug extends ke{constructor(e){super(),ye(this,e,Hg,Fg,we,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:104,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:105,supportLink:11,customFullscreenSupported:106,playNextVideo:12,playPrevVideo:13,repeatPlaylist:107,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18},Lg,[-1,-1,-1,-1,-1,-1])}}function jg(i){let e,t,n;function o(l){i[26](l)}let r={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(r.controlsElementRef=i[0]),e=new hg({props:r}),Se.push(()=>We(e,"controlsElementRef",o)),{c(){j(e.$$.fragment)},m(l,s){F(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function qg(i){let e,t,n;function o(l){i[25](l)}let r={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(r.controlsElementRef=i[0]),e=new Ug({props:r}),Se.push(()=>We(e,"controlsElementRef",o)),{c(){j(e.$$.fragment)},m(l,s){F(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Wg(i){let e,t,n,o;const r=[qg,jg],l=[];function s(a,c){return a[23]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Zg(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:r=!1}=e,{showControls:l}=e,{controlsElementRef:s=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:m}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:b}=e,{nextButtonActive:v}=e,{prevButtonActive:y}=e,{isOneVideoPlaylist:_=!1}=e,{supportLink:S}=e,{customFullscreenSupported:k=!0}=e,{playNextVideo:w}=e,{playPrevVideo:R}=e,{repeatPlaylist:X}=e,{toggleFullscreen:V}=e,{returnFocus:K=ie.noop}=e,{seekToInteractive:se}=e,{toggleGraph:ne}=e,{playPrevChapter:O}=e;const C=Pt().ui.isMobile;z(i,C,L=>t(23,n=L));function D(L){s=L,t(0,s)}function re(L){s=L,t(0,s)}return i.$$set=L=>{"bottomHidden"in L&&t(1,o=L.bottomHidden),"bottomNoSmooth"in L&&t(2,r=L.bottomNoSmooth),"showControls"in L&&t(3,l=L.showControls),"controlsElementRef"in L&&t(0,s=L.controlsElementRef),"isAds"in L&&t(4,a=L.isAds),"canRewindLive"in L&&t(5,c=L.canRewindLive),"logoClickable"in L&&t(6,f=L.logoClickable),"logoHidden"in L&&t(7,m=L.logoHidden),"videoLogoUrl"in L&&t(8,h=L.videoLogoUrl),"showNextPrevButtons"in L&&t(9,b=L.showNextPrevButtons),"nextButtonActive"in L&&t(10,v=L.nextButtonActive),"prevButtonActive"in L&&t(11,y=L.prevButtonActive),"isOneVideoPlaylist"in L&&t(12,_=L.isOneVideoPlaylist),"supportLink"in L&&t(13,S=L.supportLink),"customFullscreenSupported"in L&&t(14,k=L.customFullscreenSupported),"playNextVideo"in L&&t(15,w=L.playNextVideo),"playPrevVideo"in L&&t(16,R=L.playPrevVideo),"repeatPlaylist"in L&&t(17,X=L.repeatPlaylist),"toggleFullscreen"in L&&t(18,V=L.toggleFullscreen),"returnFocus"in L&&t(19,K=L.returnFocus),"seekToInteractive"in L&&t(20,se=L.seekToInteractive),"toggleGraph"in L&&t(21,ne=L.toggleGraph),"playPrevChapter"in L&&t(22,O=L.playPrevChapter)},[s,o,r,l,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O,n,C,D,re]}class cf extends ke{constructor(e){super(),ye(this,e,Zg,Wg,we,{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 Gg(i){je(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Kg(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),b=B("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_100684"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_100684"),u(b,"result","shape"),u(l,"id","a"),u(l,"x","2.5"),u(l,"y","0"),u(l,"width","43.996"),u(l,"height","49.5"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),M(e,"reversed",i[0])},m(v,y){E(v,e,y),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,b)},p(v,[y]){y&1&&M(e,"reversed",v[0])},i:W,o:W,d(v){v&&P(e)}}}function Yg(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Qg extends ke{constructor(e){super(),ye(this,e,Yg,Kg,we,{reversed:0},Gg)}}function Xg(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("clipPath"),s=B("path"),a=B("filter"),c=B("feFlood"),f=B("feColorMatrix"),m=B("feOffset"),h=B("feGaussianBlur"),b=B("feColorMatrix"),v=B("feBlend"),y=B("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(o,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(l,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(h,"stdDeviation","2.5"),u(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(v,"in2","BackgroundImageFix"),u(v,"result","effect1_dropShadow_2260_104204"),u(y,"in","SourceGraphic"),u(y,"in2","effect1_dropShadow_2260_104204"),u(y,"result","shape"),u(a,"id","b"),u(a,"x","-1.5"),u(a,"y","1.5"),u(a,"width","51"),u(a,"height","45"),u(a,"filterUnits","userSpaceOnUse"),u(a,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(_,S){E(_,e,S),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(r,a),p(a,c),p(a,f),p(a,m),p(a,h),p(a,b),p(a,v),p(a,y)},d(_){_&&P(e)}}}function Jg(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),l=B("defs"),s=B("clipPath"),a=B("path"),c=B("filter"),f=B("feFlood"),m=B("feColorMatrix"),h=B("feOffset"),b=B("feGaussianBlur"),v=B("feColorMatrix"),y=B("feBlend"),_=B("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(o,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(o,"fill","#fff"),u(r,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(s,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(m,"in","SourceAlpha"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(m,"result","hardAlpha"),u(b,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(y,"in2","BackgroundImageFix"),u(y,"result","effect1_dropShadow_2260_104293"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_104293"),u(_,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(S,k){E(S,e,k),p(e,t),p(t,n),p(t,o),p(t,r),p(e,l),p(l,s),p(s,a),p(l,c),p(c,f),p(c,m),p(c,h),p(c,b),p(c,v),p(c,y),p(c,_)},d(S){S&&P(e)}}}function xg(i){let e;function t(r,l){return r[0]?Jg:Xg}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,[l]){n!==(n=t(r))&&(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(r){r&&P(e),o.d(r)}}}function $g(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class ff extends ke{constructor(e){super(),ye(this,e,$g,xg,we,{isOff:0})}}function eb(i){je(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function tb(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),b=B("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_106627"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_106627"),u(b,"result","shape"),u(l,"id","a"),u(l,"x","3.402"),u(l,"y","10.105"),u(l,"width","40.098"),u(l,"height","27.785"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),M(e,"reversed",i[0])},m(v,y){E(v,e,y),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,b)},p(v,[y]){y&1&&M(e,"reversed",v[0])},i:W,o:W,d(v){v&&P(e)}}}function ib(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class nb extends ke{constructor(e){super(),ye(this,e,ib,tb,we,{reversed:0},eb)}}function ob(i){je(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function lb(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),b=B("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2340_106922"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2340_106922"),u(b,"result","shape"),u(l,"id","a"),u(l,"x","5.5"),u(l,"y","5.5"),u(l,"width","37"),u(l,"height","37"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),M(e,"reversed",i[0])},m(v,y){E(v,e,y),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,b)},p(v,[y]){y&1&&M(e,"reversed",v[0])},i:W,o:W,d(v){v&&P(e)}}}function rb(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class sb extends ke{constructor(e){super(),ye(this,e,rb,lb,we,{reversed:0},ob)}}function ab(i){je(i,"v-4ftgwp",`.hot-key-helpers-container.v-4ftgwp.v-4ftgwp{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-4ftgwp-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-4ftgwp>div.v-4ftgwp{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-4ftgwp svg[data-testid="replay-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="play-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-4ftgwp.v-4ftgwp{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-4ftgwp.v-4ftgwp{left:calc(75% - 100px)}.hot-key-helpers-text.v-4ftgwp.v-4ftgwp{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-4ftgwp.v-4ftgwp{visibility:hidden;animation:v-4ftgwp-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-4ftgwp-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-4ftgwp-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function pu(i){let e,t=[Ye.BACKWARD_SEEK,Ye.FORWARD_SEEK].includes(i[4]),n,o,r,l,s,a,c=[Ye.RATE_DOWN,Ye.RATE_UP].includes(i[4]),f,m=[Ye.EPISODE_PREV,Ye.EPISODE_NEXT].includes(i[4]),h,b,v,y,_,S=t&&hu(i),k=i[4]===Ye.PAUSE&&vu(),w=i[4]===Ye.PLAY&&gu(),R=i[4]===Ye.REPLAY&&bu(),X=i[4]===Ye.SUBTITLES_OFF&&_u(),V=i[4]===Ye.SUBTITLES_ON&&wu(),K=c&&yu(i),se=m&&ku(i),ne=i[4]===Ye.MUTE&&Su(),O=i[4]===Ye.VOLUME&&Cu(),$=i[5]&&Pu(i);return{c(){e=T("div"),S&&S.c(),n=N(),k&&k.c(),o=N(),w&&w.c(),r=N(),R&&R.c(),l=N(),X&&X.c(),s=N(),V&&V.c(),a=N(),K&&K.c(),f=N(),se&&se.c(),h=N(),ne&&ne.c(),b=N(),O&&O.c(),v=N(),$&&$.c(),y=bt(),u(e,"class","v-4ftgwp")},m(C,D){E(C,e,D),S&&S.m(e,null),p(e,n),k&&k.m(e,null),p(e,o),w&&w.m(e,null),p(e,r),R&&R.m(e,null),p(e,l),X&&X.m(e,null),p(e,s),V&&V.m(e,null),p(e,a),K&&K.m(e,null),p(e,f),se&&se.m(e,null),p(e,h),ne&&ne.m(e,null),p(e,b),O&&O.m(e,null),E(C,v,D),$&&$.m(C,D),E(C,y,D),_=!0},p(C,D){D&16&&(t=[Ye.BACKWARD_SEEK,Ye.FORWARD_SEEK].includes(C[4])),t?S?(S.p(C,D),D&16&&d(S,1)):(S=hu(C),S.c(),d(S,1),S.m(e,n)):S&&(he(),g(S,1,1,()=>{S=null}),ve()),C[4]===Ye.PAUSE?k?D&16&&d(k,1):(k=vu(),k.c(),d(k,1),k.m(e,o)):k&&(he(),g(k,1,1,()=>{k=null}),ve()),C[4]===Ye.PLAY?w?D&16&&d(w,1):(w=gu(),w.c(),d(w,1),w.m(e,r)):w&&(he(),g(w,1,1,()=>{w=null}),ve()),C[4]===Ye.REPLAY?R?D&16&&d(R,1):(R=bu(),R.c(),d(R,1),R.m(e,l)):R&&(he(),g(R,1,1,()=>{R=null}),ve()),C[4]===Ye.SUBTITLES_OFF?X?D&16&&d(X,1):(X=_u(),X.c(),d(X,1),X.m(e,s)):X&&(he(),g(X,1,1,()=>{X=null}),ve()),C[4]===Ye.SUBTITLES_ON?V?D&16&&d(V,1):(V=wu(),V.c(),d(V,1),V.m(e,a)):V&&(he(),g(V,1,1,()=>{V=null}),ve()),D&16&&(c=[Ye.RATE_DOWN,Ye.RATE_UP].includes(C[4])),c?K?(K.p(C,D),D&16&&d(K,1)):(K=yu(C),K.c(),d(K,1),K.m(e,f)):K&&(he(),g(K,1,1,()=>{K=null}),ve()),D&16&&(m=[Ye.EPISODE_PREV,Ye.EPISODE_NEXT].includes(C[4])),m?se?(se.p(C,D),D&16&&d(se,1)):(se=ku(C),se.c(),d(se,1),se.m(e,h)):se&&(he(),g(se,1,1,()=>{se=null}),ve()),C[4]===Ye.MUTE?ne?D&16&&d(ne,1):(ne=Su(),ne.c(),d(ne,1),ne.m(e,b)):ne&&(he(),g(ne,1,1,()=>{ne=null}),ve()),C[4]===Ye.VOLUME?O?D&16&&d(O,1):(O=Cu(),O.c(),d(O,1),O.m(e,null)):O&&(he(),g(O,1,1,()=>{O=null}),ve()),C[5]?$?$.p(C,D):($=Pu(C),$.c(),$.m(y.parentNode,y)):$&&($.d(1),$=null)},i(C){_||(d(S),d(k),d(w),d(R),d(X),d(V),d(K),d(se),d(ne),d(O),_=!0)},o(C){g(S),g(k),g(w),g(R),g(X),g(V),g(K),g(se),g(ne),g(O),_=!1},d(C){C&&(P(e),P(v),P(y)),S&&S.d(),k&&k.d(),w&&w.d(),R&&R.d(),X&&X.d(),V&&V.d(),K&&K.d(),se&&se.d(),ne&&ne.d(),O&&O.d(),$&&$.d(C)}}}function hu(i){let e,t;return e=new Qg({props:{reversed:i[4]===Ye.FORWARD_SEEK}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ye.FORWARD_SEEK),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function vu(i){let e,t;return e=new Wc({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function gu(i){let e,t;return e=new Er({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function bu(i){let e,t;return e=new ef({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function _u(i){let e,t;return e=new ff({props:{isOff:!0}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function wu(i){let e,t;return e=new ff({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function yu(i){let e,t;return e=new nb({props:{reversed:i[4]===Ye.RATE_UP}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ye.RATE_UP),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ku(i){let e,t;return e=new sb({props:{reversed:i[4]===Ye.EPISODE_NEXT}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ye.EPISODE_NEXT),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Su(i){let e,t;return e=new Sl({props:{volume:0}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Cu(i){let e,t;return e=new Sl({props:{volume:1}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Pu(i){let e,t;return{c(){e=T("span"),t=Fe(i[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o&32&&$e(t,n[5])},d(n){n&&P(e)}}}function ub(i){let e,t,n=!i[1]&&i[4]&&pu(i);return{c(){e=T("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),M(e,"hidden",i[1]),M(e,"hot-key-helpers-container--left",i[2]),M(e,"hot-key-helpers-container--right",i[3])},m(o,r){E(o,e,r),n&&n.m(e,null),t=!0},p(o,[r]){!o[1]&&o[4]?n?(n.p(o,r),r&18&&d(n,1)):(n=pu(o),n.c(),d(n,1),n.m(e,null)):n&&(he(),g(n,1,1,()=>{n=null}),ve()),(!t||r&2)&&M(e,"hidden",o[1]),(!t||r&4)&&M(e,"hot-key-helpers-container--left",o[2]),(!t||r&8)&&M(e,"hot-key-helpers-container--right",o[3])},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d()}}}function cb(i,e,t){let n,o=W,r=()=>(o(),o=ii(l,h=>t(6,n=h)),l);i.$$.on_destroy.push(()=>o());let{data:l}=e;r();let s,a,c,f,m;return i.$$set=h=>{"data"in h&&r(t(0,l=h.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,s=!n),t(2,a=(n==null?void 0:n.type)===Ye.BACKWARD_SEEK),t(3,c=(n==null?void 0:n.type)===Ye.FORWARD_SEEK),t(4,f=n==null?void 0:n.type),n!=null&&n.t?t(5,m=G(n.t.key,{value:n.t.value||""})):t(5,m=n==null?void 0:n.text))},[l,s,a,c,f,m,n]}class fb extends ke{constructor(e){super(),ye(this,e,cb,ub,we,{data:0},ab)}}function db(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 mb(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k;return r=new Un({props:{direction:"up"}}),a=new Un({props:{direction:"up"}}),h=new Un({props:{direction:"up"}}),y=new Un({props:{direction:"up"}}),{c(){e=T("div"),t=T("div"),n=T("div"),o=T("div"),j(r.$$.fragment),l=N(),s=T("div"),j(a.$$.fragment),c=N(),f=T("div"),m=T("div"),j(h.$$.fragment),b=N(),v=T("div"),j(y.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(s,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(m,"class","button button-left v-1yzc86r"),u(v,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(t,"class","button-block v-1yzc86r"),u(t,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",G("aria_label_spherical_control")),M(e,"m-shifted",i[0])},m(w,R){E(w,e,R),p(e,t),p(t,n),p(n,o),F(r,o,null),p(n,l),p(n,s),F(a,s,null),p(t,c),p(t,f),p(f,m),F(h,m,null),p(f,b),p(f,v),F(y,v,null),_=!0,S||(k=[_e(o,"mousedown",i[1]),_e(o,"mouseup",i[5]),_e(o,"mouseleave",i[5]),_e(s,"mousedown",i[3]),_e(s,"mouseup",i[5]),_e(s,"mouseleave",i[5]),_e(m,"mousedown",i[4]),_e(m,"mouseup",i[5]),_e(m,"mouseleave",i[5]),_e(v,"mousedown",i[2]),_e(v,"mouseup",i[5]),_e(v,"mouseleave",i[5]),_e(e,"keydown",i[6]),_e(e,"keyup",i[7])],S=!0)},p(w,[R]){(!_||R&1)&&M(e,"m-shifted",w[0])},i(w){_||(d(r.$$.fragment,w),d(a.$$.fragment,w),d(h.$$.fragment,w),d(y.$$.fragment,w),_=!0)},o(w){g(r.$$.fragment,w),g(a.$$.fragment,w),g(h.$$.fragment,w),g(y.$$.fragment,w),_=!1},d(w){w&&P(e),H(r),H(a),H(h),H(y),S=!1,ot(k)}}}function pb(i,e,t){let{isShifted:n=!1}=e;const o=Pt(),r=new Set([Ae.ArrowUp,Ae.ArrowDown,Ae.ArrowLeft,Ae.ArrowRight]),l=()=>{o.actions.internal.startCameraManualRotation(0,1)},s=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),m=b=>{if(r.has(b.code))switch(b.preventDefault(),b.stopPropagation(),b.code){case Ae.ArrowUp:l();break;case Ae.ArrowDown:s();break;case Ae.ArrowLeft:c();break;case Ae.ArrowRight:a();break}},h=b=>{r.has(b.code)&&(b.preventDefault(),b.stopPropagation(),f())};return i.$$set=b=>{"isShifted"in b&&t(0,n=b.isShifted)},[n,l,s,a,c,f,m,h]}class df extends ke{constructor(e){super(),ye(this,e,pb,mb,we,{isShifted:0},db)}}function hb(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 Tu(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function Eu(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function Au(i){let e,t;function n(l,s){return l[7]&&l[8]?bb:l[5]?gb:vb}let o=n(i),r=o(i);return{c(){e=T("div"),t=T("span"),r.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),M(e,"mobile",i[3])},m(l,s){E(l,e,s),p(e,t),r.m(t,null)},p(l,s){o===(o=n(l))&&r?r.p(l,s):(r.d(1),r=o(l),r&&(r.c(),r.m(t,null))),s&8&&M(e,"mobile",l[3])},d(l){l&&P(e),r.d()}}}function vb(i){let e,t=xt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Lu(Tu(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=bt()},m(o,r){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(o,r);E(o,e,r)},p(o,r){if(r&18){t=xt(o[1]);let l;for(l=0;l<t.length;l+=1){const s=Tu(o,t,l);n[l]?n[l].p(s,r):(n[l]=Lu(s),n[l].c(),n[l].m(e.parentNode,e))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},d(o){o&&P(e),Cn(n,o)}}}function gb(i){let e,t,n=xt(i[6]),o=[];for(let r=0;r<n.length;r+=1)o[r]=Vu(Eu(i,n,r));return{c(){e=T("span"),t=T("span");for(let r=0;r<o.length;r+=1)o[r].c();u(t,"class","caption-segment v-ovfyp5"),Nt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,l){E(r,e,l),p(e,t);for(let s=0;s<o.length;s+=1)o[s]&&o[s].m(t,null)},p(r,l){if(l&68){n=xt(r[6]);let s;for(s=0;s<n.length;s+=1){const a=Eu(r,n,s);o[s]?o[s].p(a,l):(o[s]=Vu(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&&Nt(t,"font-size",r[4]+"px")},d(r){r&&P(e),Cn(o,r)}}}function bb(i){let e,t,n=G("subtitles_auto_caption")+"",o;return{c(){e=T("span"),t=T("span"),o=Fe(n),u(t,"class","caption-segment v-ovfyp5"),Nt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,l){E(r,e,l),p(e,t),p(t,o)},p(r,l){l&16&&Nt(t,"font-size",r[4]+"px")},d(r){r&&P(e)}}}function Lu(i){let e,t,n=i[16]+"",o,r;return{c(){e=T("span"),t=T("span"),o=Fe(n),r=N(),u(t,"class","caption-segment v-ovfyp5"),Nt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){E(l,e,s),p(e,t),p(t,o),p(e,r)},p(l,s){s&2&&n!==(n=l[16]+"")&&$e(o,n),s&16&&Nt(t,"font-size",l[4]+"px")},d(l){l&&P(e)}}}function Iu(i){let e=i[16]+"",t;return{c(){t=Fe(e)},m(n,o){E(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&$e(t,e)},d(n){n&&P(t)}}}function Vu(i){let e,t=(!i[17]||i[17]<=i[2])&&Iu(i);return{c(){t&&t.c(),e=bt()},m(n,o){t&&t.m(n,o),E(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?t?t.p(n,o):(t=Iu(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&P(e),t&&t.d(n)}}}function _b(i){let e,t=i[1].length>0&&Au(i);return{c(){e=T("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),M(e,"shifted",i[0]),M(e,"auto",i[5]&&!i[8])},m(n,o){E(n,e,o),t&&t.m(e,null)},p(n,[o]){n[1].length>0?t?t.p(n,o):(t=Au(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),o&1&&M(e,"shifted",n[0]),o&288&&M(e,"auto",n[5]&&!n[8])},i:W,o:W,d(n){n&&P(e),t&&t.d()}}}function wb(i,e,t){let n,o,{shifted:r}=e,{captions:l}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=Pt(),m=gn(),h=f.state.currentSubtitle$;z(i,h,w=>t(12,n=w));const b=f.state.isAutoSubtitleCaptionVisible$;z(i,b,w=>t(8,o=w));let v,y,_,S,k;return vn(()=>{k=window.setTimeout(()=>{b.set(!1)},m.autoSubtitlesTimeout)}),gl(()=>{window.clearTimeout(k)}),i.$$set=w=>{"shifted"in w&&t(0,r=w.shifted),"captions"in w&&t(1,l=w.captions),"position"in w&&t(2,s=w.position),"playerSize"in w&&t(11,a=w.playerSize),"isMobile"in w&&t(3,c=w.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const w=a.width*.02;t(4,v=w<=m.minSubtitlesFontSize?m.minSubtitlesFontSize:w)}i.$$.dirty&2&&t(5,y=l.some(w=>w.type==="timestamp")),i.$$.dirty&2&&t(6,_=l.reduce((w,{type:R,value:X})=>(R==="timestamp"?w.push({timeAppeared:Number(X),value:""}):w.length===0?w.push({value:String(X)}):w[w.length-1].value=String(X),w),[])),i.$$.dirty&4096&&t(7,S=!!n.isAuto)},[r,l,s,c,v,y,_,S,o,h,b,a,n]}class mf extends ke{constructor(e){super(),ye(this,e,wb,_b,we,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},hb)}}function yb(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 Mu(i){let e,t,n;return{c(){e=T("div"),t=Fe("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Fe(i[1]),u(e,"class","text v-1o62kpz")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p(o,r){r&2&&$e(n,o[1])},d(o){o&&P(e)}}}function kb(i){let e,t,n,o,r,l,s=i[1]&&Mu(i);return{c(){e=T("div"),t=T("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){E(a,e,c),p(e,t),p(e,n),s&&s.m(e,null),r||(l=_e(e,"click",i[2]),r=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=Mu(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:W,o:W,d(a){a&&P(e),s&&s.d(),r=!1,l()}}}function Sb(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function r(l){So.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 pf extends ke{constructor(e){super(),ye(this,e,Sb,kb,we,{thumbUrl:0,chromecastDeviceName:1},yb)}}function Cb(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Pb extends ke{constructor(e){super(),ye(this,e,null,Cb,we,{})}}function Tb(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 Eb(i){let e,t,n;return t=new Pb({}),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,r){E(o,e,r),F(t,e,null),n=!0},p:W,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}class hf extends ke{constructor(e){super(),ye(this,e,null,Eb,we,{},Tb)}}function Ab(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 Lb(i){let e,t,n,o,r,l,s,a,c;return r=new Er({}),{c(){e=T("div"),t=T("div"),n=T("div"),o=N(),j(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]||""}')`),M(e,"hidden",i[1])},m(f,m){E(f,e,m),p(e,t),p(t,n),p(t,o),F(r,t,null),s=!0,a||(c=_e(e,"click",lt(function(){Sn(i[2])&&i[2].apply(this,arguments)})),a=!0)},p(f,[m]){i=f,(!s||m&1&&l!==(l=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",l),(!s||m&2)&&M(e,"hidden",i[1])},i(f){s||(d(r.$$.fragment,f),s=!0)},o(f){g(r.$$.fragment,f),s=!1},d(f){f&&P(e),H(r),a=!1,c()}}}function Ib(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 vf extends ke{constructor(e){super(),ye(this,e,Ib,Lb,we,{thumbUrl:0,hidden:1,startVideo:2},Ab)}}function Vb(i){je(i,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
24
+ )}`)}function Cs(t){let e;return{c(){e=P("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(i,n){T(i,e,n)},d(i){i&&S(e)}}}function Ss(t){let e,i;return e=new Fm({props:{position:t[5],secondsToWatchBeforeSkip:t[6],skipAd:t[8].actions.internal.skipAd}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&32&&(r.position=n[5]),l&64&&(r.secondsToWatchBeforeSkip=n[6]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Ts(t){let e,i;return e=new Nm({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Ps(t){let e,i;return e=new jm({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Km(t){let e,i,n,l,r,o,s,a=t[0]&&Cs(),c=t[3]&&Ss(t),f=t[7]&&Ts(),d=t[4]&&Ps();return{c(){e=P("div"),a&&a.c(),i=H(),n=P("video"),l=H(),c&&c.c(),r=H(),f&&f.c(),o=H(),d&&d.c(),Ht(n,"width","100%"),Ht(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,g){T(h,e,g),a&&a.m(e,null),p(e,i),p(e,n),t[19](n),p(e,l),c&&c.m(e,null),p(e,r),f&&f.m(e,null),p(e,o),d&&d.m(e,null),t[20](e),s=!0},p(h,[g]){h[0]?a||(a=Cs(),a.c(),a.m(e,i)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,g),g&8&&m(c,1)):(c=Ss(h),c.c(),m(c,1),c.m(e,r)):c&&(ce(),v(c,1,1,()=>{c=null}),fe()),h[7]?f?g&128&&m(f,1):(f=Ts(),f.c(),m(f,1),f.m(e,o)):f&&(ce(),v(f,1,1,()=>{f=null}),fe()),h[4]?d?g&16&&m(d,1):(d=Ps(),d.c(),m(d,1),d.m(e,null)):d&&(ce(),v(d,1,1,()=>{d=null}),fe())},i(h){s||(m(c),m(f),m(d),s=!0)},o(h){v(c),v(f),v(d),s=!1},d(h){h&&S(e),a&&a.d(),t[19](null),c&&c.d(),f&&f.d(),d&&d.d(),t[20](null)}}}function Wm(t,e,i){let n,l,r,o,s,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:d=0}=e;const h=Et(),g=h.state.isEnded$;z(t,g,N=>i(7,s=N));const _=h.ui.isMobile;z(t,_,N=>i(0,l=N));let b,C,k=!1;const w=h.ads.playbackState;z(t,w,N=>i(18,n=N));const y=h.ads.canSkip,E=h.ads.position;z(t,E,N=>i(5,r=N));const x=h.ads.secondsToWatchBeforeSkip;z(t,x,N=>i(6,o=N));let q,V;pn(()=>{const N=new AbortController;let X=()=>{N.abort()};const J=h.getAdmanWrapper();if(!a){J.onAdmanLoadingError();return}const{width:M,height:A}=xe(h.ui.playerSize),O=xe(h.ui.isFullscreen),ne=xe(h.ui.isAutoplay),L={width:M,height:A,isFullscreen:O,isAutoplay:ne,adsContainer:b,adsVideoElement:C,slotId:a,params:c,previewParam:f,duration:d};return window.AdmanHTML?(J.initAdman(L),k=!0):J.loadAdman(N.signal).then(()=>{J.initAdman(L),k=!0}).catch(()=>{J.onAdmanLoadingError()}),()=>{!k&&X()}});function ee(N){Se[N?"unshift":"push"](()=>{C=N,i(2,C)})}function re(N){Se[N?"unshift":"push"](()=>{b=N,i(1,b)})}return t.$$set=N=>{"adsSlotId"in N&&i(14,a=N.adsSlotId),"adsParams"in N&&i(15,c=N.adsParams),"adsPreviewParam"in N&&i(16,f=N.adsPreviewParam),"duration"in N&&i(17,d=N.duration)},t.$$.update=()=>{t.$$.dirty&262144&&i(3,q=y&&n!==ti.INACTIVE),t.$$.dirty&262145&&i(4,V=l&&n!==ti.INACTIVE)},[l,b,C,q,V,r,o,s,h,g,_,w,E,x,a,c,f,d,n,ee,re]}class Bc extends ke{constructor(e){super(),we(this,e,Wm,Km,be,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},Zm)}}const Un=t=>{if(!isFinite(t))return"00:00";let e=Math.round(t);const i=Math.floor(e/(60*60));e-=i*(60*60);const n=Math.floor(e/60);return e-=n*60,(i>0?[i,n,e]:[n,e]).map(r=>r>9?String(r):`0${r}`).join(":")};function Gm(t){let e,i,n;return{c(){e=D("svg"),i=D("path"),n=D("path"),u(i,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(i,"fill","none"),u(i,"stroke","#fff"),u(i,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(l,r){T(l,e,r),p(e,i),p(e,n)},d(l){l&&S(e)}}}function Ym(t){let e,i,n;return{c(){e=D("svg"),i=D("rect"),n=D("path"),u(i,"width","42"),u(i,"height","20"),u(i,"rx","5"),u(i,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(l,r){T(l,e,r),p(e,i),p(e,n)},d(l){l&&S(e)}}}function Qm(t){let e;function i(r,o){return r[0]?Ym:Gm}let n=i(t),l=n(t);return{c(){l.c(),e=bt()},m(r,o){l.m(r,o),T(r,e,o)},p(r,[o]){n!==(n=i(r))&&(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:W,o:W,d(r){r&&S(e),l.d(r)}}}function Xm(t,e,i){let{isActive:n=!1}=e;return t.$$set=l=>{"isActive"in l&&i(0,n=l.isActive)},[n]}class Nc extends ke{constructor(e){super(),we(this,e,Xm,Qm,be,{isActive:0})}}function Jm(t){Ke(t,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function xm(t){let e=Un(t[4]-t[3])+"",i;return{c(){i=De(e)},m(n,l){T(n,i,l)},p(n,l){l&24&&e!==(e=Un(n[4]-n[3])+"")&&$e(i,e)},i:W,o:W,d(n){n&&S(i)}}}function $m(t){let e,i,n;return i=new Nc({props:{isActive:!0}}),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(l,r){T(l,e,r),j(i,e,null),n=!0},p:W,i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),Z(i)}}}function e3(t){let e,i,n,l,r,o,s;const a=[$m,xm],c=[];function f(d,h){return d[1]?0:1}return r=f(t),o=c[r]=a[r](t),{c(){e=P("div"),i=P("div"),i.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=H(),l=P("span"),o.c(),u(i,"class","thumb-timer-equalizer v-7pnl2h"),u(l,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),R(e,"live",t[1]),R(e,"hidden",t[0]),R(e,"playing",t[2])},m(d,h){T(d,e,h),p(e,i),p(e,n),p(e,l),c[r].m(l,null),s=!0},p(d,[h]){let g=r;r=f(d),r===g?c[r].p(d,h):(ce(),v(c[g],1,1,()=>{c[g]=null}),fe(),o=c[r],o?o.p(d,h):(o=c[r]=a[r](d),o.c()),m(o,1),o.m(l,null)),(!s||h&2)&&R(e,"live",d[1]),(!s||h&1)&&R(e,"hidden",d[0]),(!s||h&4)&&R(e,"playing",d[2])},i(d){s||(m(o),s=!0)},o(d){v(o),s=!1},d(d){d&&S(e),c[r].d()}}}function t3(t,e,i){let{isHidden:n=!1}=e,{isLive:l=!1}=e,{isPlaying:r=!1}=e,{position:o}=e,{duration:s}=e;return t.$$set=a=>{"isHidden"in a&&i(0,n=a.isHidden),"isLive"in a&&i(1,l=a.isLive),"isPlaying"in a&&i(2,r=a.isPlaying),"position"in a&&i(3,o=a.position),"duration"in a&&i(4,s=a.duration)},[n,l,r,o,s]}class Rc extends ke{constructor(e){super(),we(this,e,t3,e3,be,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},Jm)}}const hr=t=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const e=document.createElement("textarea");e.textContent=t,e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}}},fo=t=>{t.stopPropagation(),t.preventDefault()},i3=t=>{var e;let i=t.previousElementSibling;i||(i=(e=t.parentNode)===null||e===void 0?void 0:e.lastElementChild),i==null||i.focus()},n3=t=>{var e;let i=t.nextElementSibling;i||(i=(e=t.parentNode)===null||e===void 0?void 0:e.firstElementChild),i==null||i.focus()},o3=t=>{const e=t.code;return e===Ae.Tab&&!t.shiftKey||e===Ae.ArrowDown},l3=t=>{const e=t.code;return e===Ae.Tab||e===Ae.ArrowUp},Oc=t=>t.code===Ae.Escape,r3=t=>t.code===Ae.ArrowLeft,Dc=(t,e=!0)=>{const i=t.code;return[Ae.Enter,Ae.Space].includes(i)||!e&&i===Ae.ArrowRight},zc=t=>{if(o3(t)){fo(t),n3(t.target);return}l3(t)&&(fo(t),i3(t.target))},Pr=t=>(t==null?void 0:t.detail)===0,Er=(t,e,i)=>ni(void 0,void 0,void 0,function*(){yield $n(),t&&!t.classList.contains("opened")&&!e&&xe(i)&&(yield $n(),i.set(!1),t.focus())}),s3=(t,e,i)=>ni(void 0,void 0,void 0,function*(){yield $n(),t&&!e&&xe(i)&&(i.set(!1),t.focus())}),Cl=(t,e,i)=>ni(void 0,void 0,void 0,function*(){yield $n(),!!t&&e&&i&&(yield $n(),t.firstChild.focus())}),pl=(t,e,i)=>ni(void 0,void 0,void 0,function*(){!!t&&i&&(e.set(!1),setTimeout(()=>{t.focus()},B0))}),Hc=(t,e)=>{zc(t),Oc(t)&&(fo(t),e())},hl=(t,e,i)=>ni(void 0,void 0,void 0,function*(){if(Dc(t,!1)){fo(t),e(),yield $n();const n=i();n==null||n.focus()}}),vl=(t,e,i,n)=>ni(void 0,void 0,void 0,function*(){if(zc(t),r3(t)){fo(t),e(),i.set(!0);return}Oc(t)&&(fo(t),n())}),sn=(t,e)=>{Dc(t)&&(fo(t),e())},a3=t=>{const e=t.getBoundingClientRect(),i=-14,n=e.left+e.width,l=e.top+i;return{right:n,bottom:l}},u3=t=>{if(!t)return{top:0,left:0};const e=t.getBoundingClientRect(),i=-58,n=Uo,l=e.left+n;return{bottom:e.bottom+i,left:l}};function c3(t){Ke(t,"v-1vzqlps","ul.v-1vzqlps{position:absolute;border-radius:8px;background:rgba(0, 0, 0, 0.72);transition:visibility .1s,opacity .1s;list-style:none;margin:0;padding:6px 0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-1vzqlps{padding:8px 16px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;line-height:18px;letter-spacing:-0.14px;white-space:nowrap}li.v-1vzqlps:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function Es(t){var re;let e,i,n,l,r,o,s,a,c=(t[10].features.saveDebugInfoToFile?Q("menu_save_debug"):Q("menu_copy_debug"))+"",f,d,h,g=Q("menu_debug_overlay")+"",_,b,C,k,w=t[10].features.copyVideoLink&&((re=t[9].callbacks)==null?void 0:re.onCopyVideoLink)&&f3(t),y=t[12]&&t[6]!==et.ChromecastState.CONNECTED&&!t[17]&&As(t);function E(N,X){return N[4]?m3:d3}let x=E(t),q=x(t),V=t[10].features.videoRotate&&!t[17]&&p3(t),ee=t[10].showSupport&&!t[7]&&Ls(t);return{c(){e=P("ul"),w&&w.c(),i=H(),y&&y.c(),n=H(),l=P("li"),q.c(),r=H(),V&&V.c(),o=H(),ee&&ee.c(),s=H(),a=P("li"),f=De(c),d=H(),h=P("li"),_=De(g),u(l,"tabindex","0"),u(l,"role","menuitem"),u(l,"aria-label",Q("aria_label_menu_loop")),u(l,"class","v-1vzqlps"),u(a,"tabindex","0"),u(a,"role","menuitem"),u(a,"aria-label",t[10].features.saveDebugInfoToFile?Q("menu_save_debug"):Q("menu_copy_debug")),u(a,"class","v-1vzqlps"),u(h,"tabindex","0"),u(h,"role","menuitem"),u(h,"aria-label",b=t[8]?Q("aria_label_menu_debug_overlay_disable"):Q("aria_label_menu_debug_overlay_enable")),u(h,"class","v-1vzqlps"),u(e,"role","menu"),Ht(e,"top",t[3]+"px"),Ht(e,"left",t[2]+"px"),u(e,"class","v-1vzqlps")},m(N,X){T(N,e,X),w&&w.m(e,null),p(e,i),y&&y.m(e,null),p(e,n),p(e,l),q.m(l,null),p(e,r),V&&V.m(e,null),p(e,o),ee&&ee.m(e,null),p(e,s),p(e,a),p(a,f),p(e,d),p(e,h),p(h,_),t[42](e),C||(k=[he(l,"click",ct(t[24])),he(l,"keydown",t[30]),he(a,"click",ct(t[21])),he(a,"keydown",t[32]),he(h,"click",ct(t[22])),he(h,"keydown",t[33]),he(e,"contextmenu",ii(t[39])),he(e,"keydown",t[26])],C=!0)},p(N,X){var J;N[10].features.copyVideoLink&&((J=N[9].callbacks)!=null&&J.onCopyVideoLink)&&w.p(N,X),N[12]&&N[6]!==et.ChromecastState.CONNECTED&&!N[17]?y?y.p(N,X):(y=As(N),y.c(),y.m(e,n)):y&&(y.d(1),y=null),x===(x=E(N))&&q?q.p(N,X):(q.d(1),q=x(N),q&&(q.c(),q.m(l,null))),N[10].features.videoRotate&&!N[17]&&V.p(N,X),N[10].showSupport&&!N[7]?ee?ee.p(N,X):(ee=Ls(N),ee.c(),ee.m(e,s)):ee&&(ee.d(1),ee=null),X[0]&256&&b!==(b=N[8]?Q("aria_label_menu_debug_overlay_disable"):Q("aria_label_menu_debug_overlay_enable"))&&u(h,"aria-label",b),X[0]&8&&Ht(e,"top",N[3]+"px"),X[0]&4&&Ht(e,"left",N[2]+"px")},d(N){N&&S(e),w&&w.d(),y&&y.d(),q.d(),V&&V.d(),ee&&ee.d(),t[42](null),C=!1,ut(k)}}}function f3(t){let e,i=Q("menu_copy_video_link")+"",n,l,r,o,s,a=!t[5]&&!t[17]&&Is(t);return{c(){e=P("li"),n=De(i),l=H(),a&&a.c(),r=bt(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Q("menu_copy_video_link")),u(e,"class","v-1vzqlps")},m(c,f){T(c,e,f),p(e,n),T(c,l,f),a&&a.m(c,f),T(c,r,f),o||(s=[he(e,"click",ct(t[40])),he(e,"keydown",t[27])],o=!0)},p(c,f){!c[5]&&!c[17]?a?a.p(c,f):(a=Is(c),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(c){c&&(S(e),S(l),S(r)),a&&a.d(c),o=!1,ut(s)}}}function Is(t){let e,i=Q("menu_copy_video_link_with_timestamp")+"",n,l,r;return{c(){e=P("li"),n=De(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Q("menu_copy_video_link_with_timestamp")),u(e,"class","v-1vzqlps")},m(o,s){T(o,e,s),p(e,n),l||(r=[he(e,"click",ct(t[41])),he(e,"keydown",t[28])],l=!0)},p:W,d(o){o&&S(e),l=!1,ut(r)}}}function As(t){let e,i=Q("menu_pip")+"",n,l,r;return{c(){e=P("li"),n=De(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Q("menu_pip")),u(e,"class","v-1vzqlps")},m(o,s){T(o,e,s),p(e,n),l||(r=[he(e,"click",ct(t[23])),he(e,"keydown",t[29])],l=!0)},p:W,d(o){o&&S(e),l=!1,ut(r)}}}function d3(t){let e=Q("menu_video_loop_on")+"",i;return{c(){i=De(e)},m(n,l){T(n,i,l)},p:W,d(n){n&&S(i)}}}function m3(t){let e=Q("menu_video_loop_off")+"",i;return{c(){i=De(e)},m(n,l){T(n,i,l)},p:W,d(n){n&&S(i)}}}function p3(t){let e,i=Q("menu_video_rotate")+"",n,l,r;return{c(){e=P("li"),n=De(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Q("aria_label_menu_rotate")),u(e,"class","v-1vzqlps")},m(o,s){T(o,e,s),p(e,n),l||(r=[he(e,"click",ct(t[19])),he(e,"keydown",t[30])],l=!0)},p:W,d(o){o&&S(e),l=!1,ut(r)}}}function Ls(t){let e,i=Q("menu_report")+"",n,l,r;return{c(){e=P("li"),n=De(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${Q("menu_report")}. ${Q("aria_label_new_tab_alert")}`),u(e,"class","v-1vzqlps")},m(o,s){T(o,e,s),p(e,n),l||(r=[he(e,"click",ct(t[20])),he(e,"keydown",t[31])],l=!0)},p:W,d(o){o&&S(e),l=!1,ut(r)}}}function h3(t){let e,i=t[1]&&Es(t);return{c(){i&&i.c(),e=bt()},m(n,l){i&&i.m(n,l),T(n,e,l)},p(n,l){n[1]?i?i.p(n,l):(i=Es(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},i:W,o:W,d(n){n&&S(e),i&&i.d(n)}}}function v3(t,e,i){var ge;let n,l,r,o,s,a,{visible:c=!1}=e,{supportLink:f}=e,{position:d={top:0,left:0}}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:g=void 0}=e,{menuElementRef:_=void 0}=e,{returnFocus:b}=e,C=0,k=0;const w=Et(),y=wn(),E=w.ui.contextMenu.visible$,x=w.ui.debugPanelVisible;z(t,x,B=>i(8,a=B));const q=w.webApi.pictureInPictureApi,V=(ge=w.webApi.pictureInPictureApi)==null?void 0:ge.info.isActive$;z(t,V,B=>i(7,s=B));const ee=w.state.chromecastState$;z(t,ee,B=>i(6,o=B));const re=w.state.isLive$;z(t,re,B=>i(5,r=B));const N=w.state.positionExact$;z(t,N,B=>i(43,n=B));const X=w.state.isInteractive,J=w.state.looped$;z(t,J,B=>i(4,l=B));const M=()=>{E.set(!1)},A=(B,Te)=>{if(!_||!h||!g)return;const se=_.getBoundingClientRect(),Ce=h.getBoundingClientRect();i(2,C=B-Ce.left),i(3,k=Te-Ce.top),C+se.width>Ce.width&&i(2,C=Ce.width-se.width),k+se.height>Ce.height&&i(3,k=Ce.height-se.height),i(2,C=Math.max(C,0)),i(3,k=Math.max(k,0))},O=()=>{M(),w.actions.internal.videoRotate()},ne=()=>{window.open(f,"_blank"),M(),w.actions.internal.pause()},L=()=>{const B=w.actions.internal.getDebugTextData();if(y.features.saveDebugInfoToFile){const Te=new Blob([...B],{type:"plain/text"}),se=window.URL.createObjectURL(Te);Du(se,"vk_player_debug_info","txt")}else hr(w.actions.internal.getDebugTextData());M(),b==null||b()},G=()=>{x.set(!0),M(),b==null||b()},_e=()=>Ji(this,null,function*(){try{q!=null&&q.isActive()?yield q==null?void 0:q.remove():yield q==null?void 0:q.request()}finally{M(),b==null||b()}}),Ee=()=>{w.actions.internal.setLooped(!l),M()},Le=(B=!1)=>{var Te,se;if((Te=w.callbacks)!=null&&Te.onCopyVideoLink){const Ce=(se=w.callbacks)==null?void 0:se.onCopyVideoLink(B,n);Ce&&hr(Ce)}M()},Ne=B=>{Hc(B,M)},Fe=B=>{sn(B,()=>Le())},pe=B=>{sn(B,()=>Le(!0))},F=B=>{sn(B,()=>_e())},ue=B=>{sn(B,()=>O())},ye=B=>{sn(B,()=>ne())},Ue=B=>{sn(B,()=>L())},We=B=>{sn(B,()=>G())};function me(B){co.call(this,t,B)}const Ie=()=>Le(),ze=()=>Le(!0);function qe(B){Se[B?"unshift":"push"](()=>{_=B,i(0,_)})}return t.$$set=B=>{"visible"in B&&i(1,c=B.visible),"supportLink"in B&&i(34,f=B.supportLink),"position"in B&&i(35,d=B.position),"playerContainerRef"in B&&i(36,h=B.playerContainerRef),"controlsContainerRef"in B&&i(37,g=B.controlsContainerRef),"menuElementRef"in B&&i(0,_=B.menuElementRef),"returnFocus"in B&&i(38,b=B.returnFocus)},t.$$.update=()=>{if(t.$$.dirty[0]&1|t.$$.dirty[1]&112&&_&&h&&g){const{top:B,left:Te,bottom:se,right:Ce}=d;let Ge=Te!=null?Te:0,tt=B!=null?B:0;const st=_.getBoundingClientRect();ie.isNullable(Te)&&!ie.isNullable(Ce)&&(Ge=Ce-st.width),ie.isNullable(B)&&!ie.isNullable(se)&&(tt=se-st.height),Ge=Math.max(Ge,0),tt=Math.max(tt,0),A(Ge,tt)}},[_,c,C,k,l,r,o,s,a,w,y,x,q,V,ee,re,N,X,J,O,ne,L,G,_e,Ee,Le,Ne,Fe,pe,F,ue,ye,Ue,We,f,d,h,g,b,me,Ie,ze,qe]}class g3 extends ke{constructor(e){super(),we(this,e,v3,h3,be,{visible:1,supportLink:34,position:35,playerContainerRef:36,controlsContainerRef:37,menuElementRef:0,returnFocus:38},c3,[-1,-1])}}class b3{constructor(e){this.value=e,this.next=null}}class $l{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const i=new b3(e);this.top?(this.top.next=i,this.top=i):(this.top=i,this.bottom=i),this.size++,this.size>this.maxSize&&this.bottom&&(this.bottom=this.bottom.next)}getValuesFromBottom(){const e=[];let i=this.bottom;for(;i;)e.push(i.value),i=i.next;return e}}function _3(t){Ke(t,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function w3(t){let e,i;return{c(){e=P("div"),i=P("canvas"),u(i,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,l){T(n,e,l),p(e,i),t[3](i)},p:W,i:W,o:W,d(n){n&&S(e),t[3](null)}}}const er=16,tr=120,Vs=60;function k3(t,e,i,n,l){l===0&&(l=1),t.fillStyle="#fff",t.fillRect(e,i,n,l)}function y3(t,e,i){let{values:n=[]}=e,l,r;const o=tr/Vs;pn(()=>{i(0,l.width=tr,l),i(0,l.height=er,l),i(2,r=l.getContext("2d"))});function s(a){Se[a?"unshift":"push"](()=>{l=a,i(0,l)})}return t.$$set=a=>{"values"in a&&i(1,n=a.values)},t.$$.update=()=>{if(t.$$.dirty&6&&r){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);r.clearRect(0,0,tr,er);let c=Vs-1;for(let f=n.length-1;f>=0;f--){const d=c*o,h=a>0?er*(n[f]/a):0;k3(r,d,0,o,h),c--}}},[l,n,r,s]}class Ir extends ke{constructor(e){super(),we(this,e,y3,w3,be,{values:1},_3)}}function C3(t){Ke(t,"v-1fypj5i",".container.v-1fypj5i.v-1fypj5i.v-1fypj5i{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-1fypj5i.v-1fypj5i.v-1fypj5i{top:16px;left:16px}button.v-1fypj5i.v-1fypj5i.v-1fypj5i{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1fypj5i.v-1fypj5i.v-1fypj5i{padding:5px}.content.v-1fypj5i>div.v-1fypj5i>div.v-1fypj5i{display:inline-block;text-align:right;width:50px;padding:0 5px}")}function Ms(t){let e,i,n,l,r=t[0].id+"",o;return{c(){e=P("div"),i=P("div"),i.textContent="Video id",n=H(),l=P("span"),o=De(r),u(i,"class","v-1fypj5i"),u(e,"class","v-1fypj5i")},m(s,a){T(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].id+"")&&$e(o,r)},d(s){s&&S(e)}}}function Bs(t){let e,i,n,l,r=t[0].provider+"",o;return{c(){e=P("div"),i=P("div"),i.textContent="Provider",n=H(),l=P("span"),o=De(r),u(i,"class","v-1fypj5i"),u(e,"class","v-1fypj5i")},m(s,a){T(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].provider+"")&&$e(o,r)},d(s){s&&S(e)}}}function Ns(t){let e,i,n,l,r=t[0].viewport+"",o;return{c(){e=P("div"),i=P("div"),i.textContent="Viewport",n=H(),l=P("span"),o=De(r),u(i,"class","v-1fypj5i"),u(e,"class","v-1fypj5i")},m(s,a){T(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].viewport+"")&&$e(o,r)},d(s){s&&S(e)}}}function Rs(t){let e,i,n,l,r=t[0].videoSize+"",o;return{c(){e=P("div"),i=P("div"),i.textContent="Video size",n=H(),l=P("span"),o=De(r),u(i,"class","v-1fypj5i"),u(e,"class","v-1fypj5i")},m(s,a){T(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].videoSize+"")&&$e(o,r)},d(s){s&&S(e)}}}function Os(t){let e,i,n,l,r=t[0].cdn+"",o;return{c(){e=P("div"),i=P("div"),i.textContent="CDN host",n=H(),l=P("span"),o=De(r),u(i,"class","v-1fypj5i"),u(e,"class","v-1fypj5i")},m(s,a){T(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].cdn+"")&&$e(o,r)},d(s){s&&S(e)}}}function Ds(t){let e,i,n,l,r=t[0].volume+"",o,s;return{c(){e=P("div"),i=P("div"),i.textContent="Volume",n=H(),l=P("span"),o=De(r),s=De(" %"),u(i,"class","v-1fypj5i"),u(e,"class","v-1fypj5i")},m(a,c){T(a,e,c),p(e,i),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=a[0].volume+"")&&$e(o,r)},d(a){a&&S(e)}}}function zs(t){let e,i,n,l,r=t[0].buffer.toFixed(2)+"",o,s;return{c(){e=P("div"),i=P("div"),i.textContent="Buffer",n=H(),l=P("span"),o=De(r),s=De(" s"),u(i,"class","v-1fypj5i"),u(e,"class","v-1fypj5i")},m(a,c){T(a,e,c),p(e,i),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=a[0].buffer.toFixed(2)+"")&&$e(o,r)},d(a){a&&S(e)}}}function Hs(t){let e,i,n,l,r=[{value:t[0].currentVideoSegmentLength,title:"Video"},{value:t[0].currentAudioSegmentLength,title:"Audio"}].filter(qs).map(js).join(" / ")+"",o;return{c(){e=P("div"),i=P("div"),i.textContent="Segment",n=H(),l=P("span"),o=De(r),u(i,"class","v-1fypj5i"),u(e,"class","v-1fypj5i")},m(s,a){T(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=[{value:s[0].currentVideoSegmentLength,title:"Video"},{value:s[0].currentAudioSegmentLength,title:"Audio"}].filter(qs).map(js).join(" / ")+"")&&$e(o,r)},d(s){s&&S(e)}}}function Fs(t){let e,i,n,l,r,o,s=t[0].speed.toFixed(2)+"",a,c,f;return l=new Ir({props:{values:t[5]}}),{c(){e=P("div"),i=P("div"),i.textContent="Network",n=H(),K(l.$$.fragment),r=H(),o=P("span"),a=De(s),c=De(" Kbps"),u(i,"class","v-1fypj5i"),u(e,"class","v-1fypj5i")},m(d,h){T(d,e,h),p(e,i),p(e,n),j(l,e,null),p(e,r),p(e,o),p(o,a),p(o,c),f=!0},p(d,h){const g={};h&32&&(g.values=d[5]),l.$set(g),(!f||h&1)&&s!==(s=d[0].speed.toFixed(2)+"")&&$e(a,s)},i(d){f||(m(l.$$.fragment,d),f=!0)},o(d){v(l.$$.fragment,d),f=!1},d(d){d&&S(e),Z(l)}}}function Us(t){let e,i,n,l,r,o,s=t[0].bitrate.toFixed(2)+"",a,c,f;return l=new Ir({props:{values:t[6]}}),{c(){e=P("div"),i=P("div"),i.textContent="V bitrate",n=H(),K(l.$$.fragment),r=H(),o=P("span"),a=De(s),c=De(" Kbps"),u(i,"class","v-1fypj5i"),u(e,"class","v-1fypj5i")},m(d,h){T(d,e,h),p(e,i),p(e,n),j(l,e,null),p(e,r),p(e,o),p(o,a),p(o,c),f=!0},p(d,h){const g={};h&64&&(g.values=d[6]),l.$set(g),(!f||h&1)&&s!==(s=d[0].bitrate.toFixed(2)+"")&&$e(a,s)},i(d){f||(m(l.$$.fragment,d),f=!0)},o(d){v(l.$$.fragment,d),f=!1},d(d){d&&S(e),Z(l)}}}function S3(t){let e,i,n,l,r,o,s,a,c=t[0].version+"",f,d,h,g,_,b,C,k,w,y,E,x,q,V,ee,re,N,X,J,M,A,O,ne,L,G,_e,Ee,Le,Ne,Fe,pe,F=t[0].id&&Ms(t),ue=t[0].provider&&Bs(t),ye=t[0].viewport&&Ns(t),Ue=t[0].videoSize&&Rs(t),We=t[0].cdn&&Os(t),me=t[0].volume&&Ds(t),Ie=t[0].buffer&&zs(t),ze=(t[0].currentVideoSegmentLength||t[0].currentAudioSegmentLength)&&Hs(t),qe=t[0].speed&&Fs(t),ge=t[0].bitrate&&Us(t);return G=new Ir({props:{values:t[4]}}),{c(){e=P("div"),i=P("button"),i.textContent="[x]",n=H(),l=P("div"),r=P("div"),o=P("div"),o.textContent="Version",s=H(),a=P("span"),f=De(c),d=H(),F&&F.c(),h=H(),ue&&ue.c(),g=H(),ye&&ye.c(),_=H(),Ue&&Ue.c(),b=H(),We&&We.c(),C=H(),me&&me.c(),k=H(),Ie&&Ie.c(),w=H(),ze&&ze.c(),y=H(),E=P("div"),x=P("div"),x.textContent="Dropped",q=H(),V=P("span"),ee=De(t[2]),re=De(" / "),N=De(t[1]),X=De(" frames"),J=H(),qe&&qe.c(),M=H(),ge&&ge.c(),A=H(),O=P("div"),ne=P("div"),ne.textContent="FPS",L=H(),K(G.$$.fragment),_e=H(),Ee=P("span"),Le=De(t[3]),u(i,"class","close v-1fypj5i"),u(i,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(o,"class","v-1fypj5i"),u(r,"class","v-1fypj5i"),u(x,"class","v-1fypj5i"),u(E,"class","v-1fypj5i"),u(ne,"class","v-1fypj5i"),u(O,"class","v-1fypj5i"),u(l,"class","content v-1fypj5i"),u(e,"class","container v-1fypj5i"),u(e,"role","region"),u(e,"aria-label",Q("aria_label_debug_panel")),R(e,"container-mobile",t[7])},m(B,Te){T(B,e,Te),p(e,i),p(e,n),p(e,l),p(l,r),p(r,o),p(r,s),p(r,a),p(a,f),p(l,d),F&&F.m(l,null),p(l,h),ue&&ue.m(l,null),p(l,g),ye&&ye.m(l,null),p(l,_),Ue&&Ue.m(l,null),p(l,b),We&&We.m(l,null),p(l,C),me&&me.m(l,null),p(l,k),Ie&&Ie.m(l,null),p(l,w),ze&&ze.m(l,null),p(l,y),p(l,E),p(E,x),p(E,q),p(E,V),p(V,ee),p(V,re),p(V,N),p(V,X),p(l,J),qe&&qe.m(l,null),p(l,M),ge&&ge.m(l,null),p(l,A),p(l,O),p(O,ne),p(O,L),j(G,O,null),p(O,_e),p(O,Ee),p(Ee,Le),Ne=!0,Fe||(pe=he(i,"click",ct(t[9])),Fe=!0)},p(B,[Te]){(!Ne||Te&1)&&c!==(c=B[0].version+"")&&$e(f,c),B[0].id?F?F.p(B,Te):(F=Ms(B),F.c(),F.m(l,h)):F&&(F.d(1),F=null),B[0].provider?ue?ue.p(B,Te):(ue=Bs(B),ue.c(),ue.m(l,g)):ue&&(ue.d(1),ue=null),B[0].viewport?ye?ye.p(B,Te):(ye=Ns(B),ye.c(),ye.m(l,_)):ye&&(ye.d(1),ye=null),B[0].videoSize?Ue?Ue.p(B,Te):(Ue=Rs(B),Ue.c(),Ue.m(l,b)):Ue&&(Ue.d(1),Ue=null),B[0].cdn?We?We.p(B,Te):(We=Os(B),We.c(),We.m(l,C)):We&&(We.d(1),We=null),B[0].volume?me?me.p(B,Te):(me=Ds(B),me.c(),me.m(l,k)):me&&(me.d(1),me=null),B[0].buffer?Ie?Ie.p(B,Te):(Ie=zs(B),Ie.c(),Ie.m(l,w)):Ie&&(Ie.d(1),Ie=null),B[0].currentVideoSegmentLength||B[0].currentAudioSegmentLength?ze?ze.p(B,Te):(ze=Hs(B),ze.c(),ze.m(l,y)):ze&&(ze.d(1),ze=null),(!Ne||Te&4)&&$e(ee,B[2]),(!Ne||Te&2)&&$e(N,B[1]),B[0].speed?qe?(qe.p(B,Te),Te&1&&m(qe,1)):(qe=Fs(B),qe.c(),m(qe,1),qe.m(l,M)):qe&&(ce(),v(qe,1,1,()=>{qe=null}),fe()),B[0].bitrate?ge?(ge.p(B,Te),Te&1&&m(ge,1)):(ge=Us(B),ge.c(),m(ge,1),ge.m(l,A)):ge&&(ce(),v(ge,1,1,()=>{ge=null}),fe());const se={};Te&16&&(se.values=B[4]),G.$set(se),(!Ne||Te&8)&&$e(Le,B[3]),(!Ne||Te&128)&&R(e,"container-mobile",B[7])},i(B){Ne||(m(qe),m(ge),m(G.$$.fragment,B),Ne=!0)},o(B){v(qe),v(ge),v(G.$$.fragment,B),Ne=!1},d(B){B&&S(e),F&&F.d(),ue&&ue.d(),ye&&ye.d(),Ue&&Ue.d(),We&&We.d(),me&&me.d(),Ie&&Ie.d(),ze&&ze.d(),qe&&qe.d(),ge&&ge.d(),Z(G),Fe=!1,pe()}}}const qs=({value:t})=>t,js=({value:t,title:e})=>`${e} ${((t!=null?t:0)/1e3).toFixed(2)} s`;function T3(t,e,i){let n;const l=Et(),r=l.ui.debugPanelVisible,o=l.ui.isMobile;z(t,o,y=>i(7,n=y));const s=()=>{ie.safeStorage.remove(cr),r.set(!1)};let a=l.actions.internal.getDebugPanelData(),c=l.actions.internal.getVideoElement(),f=0,d=0,h=0;const g=new $l(60),_=new $l(60),b=new $l(60);let C=[],k=[],w=[];return pn(()=>{ie.safeStorage.set(cr,"true"),l.actions.internal.startLogging(),c&&(i(2,d=c.getVideoPlaybackQuality().droppedVideoFrames),i(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const y=window.setInterval(()=>{i(0,a=l.actions.internal.getDebugPanelData())},500);let E;return c&&(E=window.setInterval(()=>{if(c){i(2,d=c.getVideoPlaybackQuality().droppedVideoFrames);const x=c.getVideoPlaybackQuality().totalVideoFrames;i(3,h=x-f),i(1,f=x),g.push(h),a.speed&&_.push(a.speed),a.bitrate&&b.push(a.bitrate),i(4,C=g.getValuesFromBottom()),i(5,k=_.getValuesFromBottom()),i(6,w=b.getValuesFromBottom())}},1e3)),()=>{l.actions.internal.stopLogging(),clearInterval(y),E&&clearInterval(E)}}),[a,f,d,h,C,k,w,n,o,s]}class Fc extends ke{constructor(e){super(),we(this,e,T3,S3,be,{},C3)}}function P3(t){Ke(t,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function E3(t){let e,i,n;return{c(){e=P("div"),u(e,"class","close v-1ome55p")},m(l,r){T(l,e,r),i||(n=he(e,"click",ct(t[0])),i=!0)},p:W,i:W,o:W,d(l){l&&S(e),i=!1,n()}}}function I3(t){function e(i){co.call(this,t,i)}return[e]}class A3 extends ke{constructor(e){super(),we(this,e,I3,E3,be,{},P3)}}function L3(t){Ke(t,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
25
+ }.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function V3(t){let e,i,n,l,r,o,s;return{c(){e=P("div"),i=P("canvas"),n=H(),l=D("svg"),r=D("g"),o=D("g"),s=D("path"),u(i,"class","timer-canvas v-8jhsry"),u(i,"width","100"),u(i,"height","100"),u(s,"class","_play"),u(s,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(s,"fill","#fff"),u(o,"fill-rule","nonzero"),u(r,"fill","none"),u(r,"fill-rule","evenodd"),u(l,"class","timer-play-icon v-8jhsry"),u(l,"viewBox","0 0 24 24"),u(l,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){T(a,e,c),p(e,i),t[2](i),p(e,n),p(e,l),p(l,r),p(r,o),p(o,s)},p:W,i:W,o:W,d(a){a&&S(e),t[2](null)}}}const M3=5e3;function B3(t,e,i){let{onTimerEnded:n=ie.noop}=e,l;pn(()=>{let o;const s=l.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/M3;f<1?(s.clearRect(0,0,100,100),s.beginPath(),s.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),s.stroke(),o=requestAnimationFrame(c)):n()};return o=requestAnimationFrame(c),()=>{cancelAnimationFrame(o)}});function r(o){Se[o?"unshift":"push"](()=>{l=o,i(0,l)})}return t.$$set=o=>{"onTimerEnded"in o&&i(1,n=o.onTimerEnded)},[l,n,r]}class N3 extends ke{constructor(e){super(),we(this,e,B3,V3,be,{onTimerEnded:1},L3)}}function R3(t){Ke(t,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function Zs(t){let e,i;return e=new N3({props:{onTimerEnded:t[2]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&4&&(r.onTimerEnded=n[2]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function O3(t){let e,i,n,l,r,o,s,a,c,f,d,h,g,_,b,C,k,w,y,E,x;s=new A3({}),s.$on("click",t[4]);let q=t[3]&&Zs(t);return{c(){e=P("div"),i=H(),n=P("div"),l=P("div"),r=P("div"),r.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",o=H(),K(s.$$.fragment),a=H(),c=P("div"),f=P("div"),d=P("div"),h=P("div"),g=H(),q&&q.c(),b=H(),C=P("div"),k=P("div"),w=De(t[0]),u(e,"class","overlay v-kisfwc"),u(r,"class","caption v-kisfwc"),u(l,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(d,"class","thumb v-kisfwc"),u(d,"style",_=`background-image: url('${t[1]}')`),u(f,"class","column v-kisfwc"),u(k,"class","title v-kisfwc"),u(C,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(V,ee){T(V,e,ee),T(V,i,ee),T(V,n,ee),p(n,l),p(l,r),p(l,o),j(s,l,null),p(n,a),p(n,c),p(c,f),p(f,d),p(d,h),p(d,g),q&&q.m(d,null),p(c,b),p(c,C),p(C,k),p(k,w),y=!0,E||(x=he(c,"click",function(){Vn(t[2])&&t[2].apply(this,arguments)}),E=!0)},p(V,[ee]){t=V,t[3]?q?(q.p(t,ee),ee&8&&m(q,1)):(q=Zs(t),q.c(),m(q,1),q.m(d,null)):q&&(ce(),v(q,1,1,()=>{q=null}),fe()),(!y||ee&2&&_!==(_=`background-image: url('${t[1]}')`))&&u(d,"style",_),(!y||ee&1)&&$e(w,t[0])},i(V){y||(m(s.$$.fragment,V),m(q),y=!0)},o(V){v(s.$$.fragment,V),v(q),y=!1},d(V){V&&(S(e),S(i),S(n)),Z(s),q&&q.d(),E=!1,x()}}}function D3(t,e,i){let{title:n}=e,{thumb:l}=e,{playNextVideo:r}=e,o=!0;const s=()=>i(3,o=!1);return t.$$set=a=>{"title"in a&&i(0,n=a.title),"thumb"in a&&i(1,l=a.thumb),"playNextVideo"in a&&i(2,r=a.playNextVideo)},[n,l,r,o,s]}class z3 extends ke{constructor(e){super(),we(this,e,D3,O3,be,{title:0,thumb:1,playNextVideo:2},R3)}}const Uc=(t,e)=>Math.min(+(t+e).toFixed(2),1),qc=(t,e)=>Math.max(+(t-e).toFixed(2),0),jc=(t,e,i)=>{const n=Uc(e,i);e<1&&t.actions.internal.setVolume(n)},Zc=(t,e,i)=>{const n=qc(e,i);e>0&&t.actions.internal.setVolume(n)},jo=({isAudioDisabled:t,audioDisabledHintCallback:e,isAudioAvailable:i,audioIsNotExistHintCallback:n})=>t?(e==null||e(),!1):i?!0:(n==null||n(),!1);function H3(t){Ke(t,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function F3(t){let e,i,n,l;const r=t[26].default,o=qn(r,t,t[25],null);return{c(){e=P("div"),o&&o.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","-1"),u(e,"role","region"),u(e,"aria-label",Q("aria_label_video_player"))},m(s,a){T(s,e,a),o&&o.m(e,null),t[27](e),i=!0,n||(l=[he(e,"keyup",t[17]),he(e,"keydown",t[16])],n=!0)},p(s,a){o&&o.p&&(!i||a[0]&33554432)&&Zn(o,r,s,s[25],i?jn(r,s[25],a,null):Kn(s[25]),null)},i(s){i||(m(o,s),i=!0)},o(s){v(o,s),i=!1},d(s){s&&S(e),o&&o.d(s),t[27](null),n=!1,ut(l)}}}function U3(t,e,i){var pt,at;let n,l,r,o,s,a,c,f,d,h,g,_,b,C,k,{$$slots:w={},$$scope:y}=e,{isAds:E}=e,{hideContextMenu:x}=e,{toggleFullscreen:q}=e,{showHotKeyHelpers:V}=e,{showKeyMap:ee}=e,{fakePlayButtonHandler:re}=e;const N=Et(),X=wn(),J=N.getLogger().createComponentLog("KeyboardControls component"),M=N.state.playbackState$;z(t,M,de=>i(31,l=de));const A=N.ads.playbackState;z(t,A,de=>i(30,n=de));const O=N.state.positionExact$;z(t,O,de=>i(41,_=de));const ne=N.state.duration$;z(t,ne,de=>i(40,g=de));const L=N.state.volume$;z(t,L,de=>i(44,k=de));const G=N.ui.controls.disabledControls$;z(t,G,de=>i(39,h=de));const _e=N.state.muted$;z(t,_e,de=>i(34,s=de));const Ee=N.state.currentSubtitle$;z(t,Ee,de=>i(33,o=de));const Le=N.state.currentPlaybackRate$;z(t,Le,de=>i(42,b=de));const Ne=N.state.availablePlaybackRates$;z(t,Ne,de=>i(43,C=de));const Fe=N.ui.contextMenu.openedByHotKey$,pe=N.ui.contextMenu.lastActiveElem$,F=N.ui.contextMenu.visible$,ue=N.ui.contextMenu.position$,ye=N.state.isEnded$;z(t,ye,de=>i(36,c=de));const Ue=N.ui.overlayContainer$;z(t,Ue,de=>i(32,r=de));const We=(pt=N.callbacks)==null?void 0:pt.onAudioDoesNotExistHint,me=(at=N.callbacks)==null?void 0:at.onAudioDisabledHint,Ie=N.state.isAudioAvailable$;z(t,Ie,de=>i(35,a=de));const ze=N.state.isAudioDisabled,qe=N.state.isInteractiveTime$;z(t,qe,de=>i(38,d=de));const{showInteractiveTimeIndicatorTooltip$:ge}=Do();z(t,ge,de=>i(37,f=de));let B=0,Te=!0,se;const Ce=()=>se==null?void 0:se.focus(),Ge=de=>(de!==Te&&(Te=de,B=0),B+=1,(X.controls.seekStepKeyboard+X.controls.seekStepKeyboard*B)/1e3),tt=de=>{var Qe;const rt=de.target,At=(Qe=rt==null?void 0:rt.getAttribute("role"))==null?void 0:Qe.includes("menuitem"),yt=rt.classList.contains("btn"),Me=de.code;if(yt&&Me===Ae.Space)return;const Bt=D0.has(Me);if(At&&Bt)return;const ae=!O0.has(Me);if(de.ctrlKey&&ae||de.altKey&&ae||de.metaKey)return;const _t=At&&Me===Ae.Escape;z0.has(Me)||_t||x();const Ct=l===et.PlaybackState.PLAYING||l===et.PlaybackState.PAUSED,ht=E&&(n===ti.PAUSED||n===ti.PLAYING),dt=!ht&&!h.has(vt.TIMELINE);if(Ct||ht)switch(J({message:`key down, code: ${Me}`}),Me){case Ae.KeyJ:case Ae.ArrowLeft:{if(!dt)break;if(de.ctrlKey||de.altKey){const Pe=N.actions.internal.getPrevEpisode();N.actions.internal.seekToPrevEpisode(Pe),Pe&&V({type:Je.EPISODE_PREV,text:Pe.text}),de.preventDefault()}else{const Pe=de.shiftKey?Ge(!1):X.controls.seekStepKeyboard/1e3,nt=Math.max(_-Pe,0);_>0&&(N.actions.internal.seekTime(nt,Pt.SeekAction.DOUBLE_TAP),V({type:Je.BACKWARD_SEEK,text:Pe.toString()}),de.preventDefault())}break}case Ae.KeyL:case Ae.ArrowRight:{if(!dt)break;if(de.ctrlKey||de.altKey){const Pe=N.actions.internal.getNextEpisode();N.actions.internal.seekToNextEpisode(Pe),Pe&&V({type:Je.EPISODE_NEXT,text:Pe.text}),de.preventDefault()}else{const Pe=de.shiftKey?Ge(!0):X.controls.seekStepKeyboard/1e3,nt=Math.min(_+Pe,g);Math.round(_)<Math.round(g)&&(N.actions.internal.seekTime(nt,Pt.SeekAction.DOUBLE_TAP),V({type:Je.FORWARD_SEEK,text:Pe.toString()}),de.preventDefault())}break}case Ae.ArrowUp:{if(jo({isAudioDisabled:ze,audioDisabledHintCallback:me,isAudioAvailable:a,audioIsNotExistHintCallback:We})){const Pe=k,nt=X.controls.volumeStepKeyboard,Jt=Pe<=1;if(jc(N,Pe,nt),Jt){const Ut=Math.round(Uc(Pe,nt)*100).toString();V({type:Je.VOLUME,t:{key:"hotkey_helper_current_volume",value:Ut}})}}de.preventDefault();break}case Ae.ArrowDown:{if(jo({isAudioDisabled:ze,audioDisabledHintCallback:me,isAudioAvailable:a,audioIsNotExistHintCallback:We})){const Pe=k,nt=X.controls.volumeStepKeyboard,Jt=Pe>=0;if(Zc(N,Pe,nt),Jt){const Ut=Math.round(qc(Pe,nt)*100).toString();V({type:Je.VOLUME,t:{key:"hotkey_helper_current_volume",value:Ut}})}}de.preventDefault();break}case Ae.Comma:{if(de.shiftKey){N.actions.internal.decrementPlaybackRate();const Pe=C.find(nt=>nt.value===b);V({type:Je.RATE_DOWN,text:Pe==null?void 0:Pe.displayValue}),de.preventDefault()}else{if(ht||l!==et.PlaybackState.PAUSED)break;const Pe=Math.max(_-X.controls.seekStepFrame/1e3,0);_>0&&(V({type:Je.BACKWARD_SEEK}),N.actions.internal.clearDelayedBufferingCheckTimeout(),N.actions.internal.seekTime(Pe,Pt.SeekAction.DOUBLE_TAP),de.preventDefault())}break}case Ae.Period:{if(de.shiftKey){N.actions.internal.incrementPlaybackRate();const Pe=C.find(nt=>nt.value===b);V({type:Je.RATE_UP,text:Pe==null?void 0:Pe.displayValue}),de.preventDefault()}else{if(ht||l!==et.PlaybackState.PAUSED)break;const Pe=Math.min(_+X.controls.seekStepFrame/1e3,g);_<g&&(V({type:Je.FORWARD_SEEK}),N.actions.internal.clearDelayedBufferingCheckTimeout(),N.actions.internal.seekTime(Pe,Pt.SeekAction.DOUBLE_TAP),de.preventDefault())}break}case Ae.KeyK:case Ae.Space:if(!h.has(vt.PLAY_BUTTON))if(d&&f&&ge.set(!1),re)re();else{N.actions.internal.togglePlay();let Pe=Je.PLAY;l===et.PlaybackState.PAUSED?Pe=Je.PAUSE:c&&(Pe=Je.REPLAY),V({type:Pe})}de.preventDefault();break;case Ae.KeyM:{jo({isAudioDisabled:ze,audioDisabledHintCallback:me,isAudioAvailable:a,audioIsNotExistHintCallback:We})&&(V({type:s?Je.VOLUME:Je.MUTE}),N.actions.internal.toggleMuted()),de.preventDefault();break}case Ae.KeyF:q(),de.preventDefault();break;case Ae.KeyC:N.actions.internal.toggleSubtitle(),o.value!=="off"?V({type:Je.SUBTITLES_ON,text:o==null?void 0:o.displayValue}):V({type:Je.SUBTITLES_OFF}),de.preventDefault();break;case Ae.KeyI:N.actions.internal.togglePictureInPicture(),de.preventDefault();break;case Ae.Digit1:case Ae.Numpad1:if(de.shiftKey){const Pe=u3(r);ue.set(Pe),pe.set(rt),Fe.set(!0),F.set(!0),de.preventDefault();break}V(),N.actions.internal.seekToPercent(.1,Pt.SeekAction.DOUBLE_TAP),de.preventDefault();break;case Ae.Digit2:case Ae.Numpad2:V(),N.actions.internal.seekToPercent(.2,Pt.SeekAction.DOUBLE_TAP),de.preventDefault();break;case Ae.Digit3:case Ae.Numpad3:V(),N.actions.internal.seekToPercent(.3,Pt.SeekAction.DOUBLE_TAP),de.preventDefault();break;case Ae.Digit4:case Ae.Numpad4:V(),N.actions.internal.seekToPercent(.4,Pt.SeekAction.DOUBLE_TAP),de.preventDefault();break;case Ae.Digit5:case Ae.Numpad5:V(),N.actions.internal.seekToPercent(.5,Pt.SeekAction.DOUBLE_TAP),de.preventDefault();break;case Ae.Digit6:case Ae.Numpad6:V(),N.actions.internal.seekToPercent(.6,Pt.SeekAction.DOUBLE_TAP),de.preventDefault();break;case Ae.Digit7:case Ae.Numpad7:V(),N.actions.internal.seekToPercent(.7,Pt.SeekAction.DOUBLE_TAP),de.preventDefault();break;case Ae.Digit8:case Ae.Numpad8:V(),N.actions.internal.seekToPercent(.8,Pt.SeekAction.DOUBLE_TAP),de.preventDefault();break;case Ae.Digit9:case Ae.Numpad9:V(),N.actions.internal.seekToPercent(.9,Pt.SeekAction.DOUBLE_TAP),de.preventDefault();break;case Ae.Digit0:case Ae.Numpad0:V(),N.actions.internal.seekToPercent(0,Pt.SeekAction.DOUBLE_TAP),de.preventDefault();break;case Ae.Slash:{de.shiftKey&&X.features.hotKeyMapModal&&(ee(),de.preventDefault());break}case Ae.ShiftLeft:case Ae.ShiftRight:de.preventDefault();break;case Ae.Tab:case Ae.Escape:case Ae.Enter:break;default:ie.checkNever(Me);break}},st=de=>{const rt=de.code;if(de.ctrlKey||de.altKey||de.metaKey)return;const At=l===et.PlaybackState.PLAYING||l===et.PlaybackState.PAUSED,yt=E&&(n===ti.PAUSED||n===ti.PLAYING);if(At||yt)switch(rt){case Ae.ShiftLeft:case Ae.ShiftRight:B=0;break}};function it(de){Se[de?"unshift":"push"](()=>{se=de,i(0,se)})}return t.$$set=de=>{"isAds"in de&&i(18,E=de.isAds),"hideContextMenu"in de&&i(19,x=de.hideContextMenu),"toggleFullscreen"in de&&i(20,q=de.toggleFullscreen),"showHotKeyHelpers"in de&&i(21,V=de.showHotKeyHelpers),"showKeyMap"in de&&i(22,ee=de.showKeyMap),"fakePlayButtonHandler"in de&&i(23,re=de.fakePlayButtonHandler),"$$scope"in de&&i(25,y=de.$$scope)},[se,M,A,O,ne,L,G,_e,Ee,Le,Ne,ye,Ue,Ie,qe,ge,tt,st,E,x,q,V,ee,re,Ce,y,w,it]}class q3 extends ke{constructor(e){super(),we(this,e,U3,F3,be,{isAds:18,hideContextMenu:19,toggleFullscreen:20,showHotKeyHelpers:21,showKeyMap:22,fakePlayButtonHandler:23,focus:24},H3,[-1,-1])}get focus(){return this.$$.ctx[24]}}function j3(t){Ke(t,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function Z3(t){let e;return{c(){e=P("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(i,n){T(i,e,n)},p:W,i:W,o:W,d(i){i&&S(e)}}}class Kc extends ke{constructor(e){super(),we(this,e,null,Z3,be,{},j3)}}function K3(t){let e,i,n,l,r,o,s,a,c,f,d,h,g;return{c(){e=D("svg"),i=D("g"),n=D("path"),l=D("path"),r=D("defs"),o=D("filter"),s=D("feFlood"),a=D("feColorMatrix"),c=D("feOffset"),f=D("feGaussianBlur"),d=D("feColorMatrix"),h=D("feBlend"),g=D("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(l,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2422_111980"),u(g,"in","SourceGraphic"),u(g,"in2","effect1_dropShadow_2422_111980"),u(g,"result","shape"),u(o,"id","a"),u(o,"x",".5"),u(o,"y",".5"),u(o,"width","23"),u(o,"height","23"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(_,b){T(_,e,b),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,g)},p:W,i:W,o:W,d(_){_&&S(e)}}}class W3 extends ke{constructor(e){super(),we(this,e,null,K3,be,{})}}function G3(t){Ke(t,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function Y3(t){let e,i,n,l,r,o,s,a,c,f,d,h;const g=t[14].default,_=qn(g,t,t[13],null);return{c(){var b,C,k,w,y,E;e=P("button"),_&&_.c(),u(e,"class",i="btn "+t[1]+" v-1anemql"),u(e,"style",n=t[2]||null),e.disabled=l=(b=t[3])!=null?b:null,u(e,"aria-hidden",r=(C=t[5])!=null?C:null),u(e,"aria-label",o=(k=t[6])!=null?k:null),u(e,"aria-keyshortcuts",s=(w=t[7])!=null?w:null),u(e,"aria-expanded",a=(y=t[8])!=null?y:null),u(e,"data-testid",c=(E=t[4])!=null?E:null),u(e,"tabindex",t[9])},m(b,C){T(b,e,C),_&&_.m(e,null),t[16](e),f=!0,d||(h=[he(e,"pointerdown",ct(ii(t[15]))),he(e,"click",ct(ii(function(){Vn(t[10]===ie.noop?null:t[10])&&(t[10]===ie.noop?null:t[10]).apply(this,arguments)}))),he(e,"focus",ii(function(){Vn(t[11]===ie.noop?null:t[11])&&(t[11]===ie.noop?null:t[11]).apply(this,arguments)})),he(e,"blur",ii(function(){Vn(t[12]===ie.noop?null:t[12])&&(t[12]===ie.noop?null:t[12]).apply(this,arguments)}))],d=!0)},p(b,[C]){var k,w,y,E,x,q;t=b,_&&_.p&&(!f||C&8192)&&Zn(_,g,t,t[13],f?jn(g,t[13],C,null):Kn(t[13]),null),(!f||C&2&&i!==(i="btn "+t[1]+" v-1anemql"))&&u(e,"class",i),(!f||C&4&&n!==(n=t[2]||null))&&u(e,"style",n),(!f||C&8&&l!==(l=(k=t[3])!=null?k:null))&&(e.disabled=l),(!f||C&32&&r!==(r=(w=t[5])!=null?w:null))&&u(e,"aria-hidden",r),(!f||C&64&&o!==(o=(y=t[6])!=null?y:null))&&u(e,"aria-label",o),(!f||C&128&&s!==(s=(E=t[7])!=null?E:null))&&u(e,"aria-keyshortcuts",s),(!f||C&256&&a!==(a=(x=t[8])!=null?x:null))&&u(e,"aria-expanded",a),(!f||C&16&&c!==(c=(q=t[4])!=null?q:null))&&u(e,"data-testid",c),(!f||C&512)&&u(e,"tabindex",t[9])},i(b){f||(m(_,b),f=!0)},o(b){v(_,b),f=!1},d(b){b&&S(e),_&&_.d(b),t[16](null),d=!1,ut(h)}}}function Q3(t,e,i){let{$$slots:n={},$$scope:l}=e,{className:r=""}=e,{style:o=""}=e,{disabled:s=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:d=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:g=void 0}=e,{tabIndex:_=0}=e,{click:b=ie.noop}=e,{focus:C=ie.noop}=e,{blur:k=ie.noop}=e;function w(E){co.call(this,t,E)}function y(E){Se[E?"unshift":"push"](()=>{d=E,i(0,d)})}return t.$$set=E=>{"className"in E&&i(1,r=E.className),"style"in E&&i(2,o=E.style),"disabled"in E&&i(3,s=E.disabled),"testId"in E&&i(4,a=E.testId),"ariaHidden"in E&&i(5,c=E.ariaHidden),"ariaLabel"in E&&i(6,f=E.ariaLabel),"ref"in E&&i(0,d=E.ref),"ariaKeyShortCut"in E&&i(7,h=E.ariaKeyShortCut),"ariaExpanded"in E&&i(8,g=E.ariaExpanded),"tabIndex"in E&&i(9,_=E.tabIndex),"click"in E&&i(10,b=E.click),"focus"in E&&i(11,C=E.focus),"blur"in E&&i(12,k=E.blur),"$$scope"in E&&i(13,l=E.$$scope)},[d,r,o,s,a,c,f,h,g,_,b,C,k,l,n,w,y]}class ki extends ke{constructor(e){super(),we(this,e,Q3,Y3,be,{className:1,style:2,disabled:3,testId:4,ariaHidden:5,ariaLabel:6,ref:0,ariaKeyShortCut:7,ariaExpanded:8,tabIndex:9,click:10,focus:11,blur:12},G3)}}function X3(t){Ke(t,"v-1witlsj",".modal-overlay.v-1witlsj{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-1witlsj{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-1witlsj{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-1witlsj{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-1witlsj{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-1witlsj::-webkit-scrollbar{width:8px}.modal-scroll.v-1witlsj::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-1witlsj{margin:-8px -4px 0 0}")}function Ks(t){let e,i,n,l,r,o=t[2]&&Ws(t);return{c(){e=P("div"),i=P("h3"),n=De(t[3]),l=H(),o&&o.c(),u(i,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){T(s,e,a),p(e,i),p(i,n),p(e,l),o&&o.m(e,null),r=!0},p(s,a){(!r||a&8)&&$e(n,s[3]),s[2]?o?(o.p(s,a),a&4&&m(o,1)):(o=Ws(s),o.c(),m(o,1),o.m(e,null)):o&&(ce(),v(o,1,1,()=>{o=null}),fe())},i(s){r||(m(o),r=!0)},o(s){v(o),r=!1},d(s){s&&S(e),o&&o.d()}}}function Ws(t){let e,i;return e=new ki({props:{click:t[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:Q("hotkey_map_modal_close_btn_text"),$$slots:{default:[J3]},$$scope:{ctx:t}}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&1&&(r.click=n[0]),l&32&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function J3(t){let e,i;return e=new W3({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function x3(t){let e,i,n,l,r,o,s=t[1]&&Ks(t);const a=t[4].default,c=qn(a,t,t[5],null);return{c(){e=P("div"),i=P("div"),s&&s.c(),n=H(),l=P("div"),r=P("div"),c&&c.c(),u(r,"class","modal-main v-1witlsj"),u(l,"class","modal-scroll v-1witlsj"),u(i,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,d){T(f,e,d),p(e,i),s&&s.m(i,null),p(i,n),p(i,l),p(l,r),c&&c.m(r,null),o=!0},p(f,[d]){f[1]?s?(s.p(f,d),d&2&&m(s,1)):(s=Ks(f),s.c(),m(s,1),s.m(i,n)):s&&(ce(),v(s,1,1,()=>{s=null}),fe()),c&&c.p&&(!o||d&32)&&Zn(c,a,f,f[5],o?jn(a,f[5],d,null):Kn(f[5]),null)},i(f){o||(m(s),m(c,f),o=!0)},o(f){v(s),v(c,f),o=!1},d(f){f&&S(e),s&&s.d(),c&&c.d(f)}}}function $3(t,e,i){let{$$slots:n={},$$scope:l}=e,{onClose:r}=e,{showHeader:o=!0}=e,{showCloseCross:s=!0}=e,{title:a}=e;return t.$$set=c=>{"onClose"in c&&i(0,r=c.onClose),"showHeader"in c&&i(1,o=c.showHeader),"showCloseCross"in c&&i(2,s=c.showCloseCross),"title"in c&&i(3,a=c.title),"$$scope"in c&&i(5,l=c.$$scope)},[r,o,s,a,n,l]}class ep extends ke{constructor(e){super(),we(this,e,$3,x3,be,{onClose:0,showHeader:1,showCloseCross:2,title:3},X3)}}const tp=new Set(["BR"]),Gs=t=>{var e;const i=document.createElement("DIV");i.innerHTML=t;const n=i.querySelectorAll("*");let l=n.length;for(;l--;){const r=n[l],o=r.tagName;tp.has(o)||(e=r.parentElement)===null||e===void 0||e.removeChild(r)}return i.innerHTML};function ip(t){Ke(t,"v-quklnq",".hot-key-map.v-quklnq{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-quklnq{border-bottom:1px solid var(--white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-quklnq:last-child{border-bottom:none}.hot-key-map-group-title.v-quklnq{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-quklnq,.hot-key-map-item.v-quklnq{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-quklnq{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-quklnq{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-quklnq{color:var(--white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-quklnq{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-quklnq,.hot-key-map-item-value.v-quklnq{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function Ys(t,e,i){const n=t.slice();return n[5]=e[i].title,n[6]=e[i].items,n}function Qs(t,e,i){const n=t.slice();return n[9]=e[i].description,n[10]=e[i].value,n}function Xs(t){let e,i,n=Gs(t[9])+"",l,r,o=t[10]+"",s,a;return{c(){e=P("li"),i=P("span"),l=H(),r=P("span"),s=De(o),a=H(),u(i,"class","hot-key-map-item-description v-quklnq"),u(r,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){T(c,e,f),p(e,i),i.innerHTML=n,p(e,l),p(e,r),p(r,s),p(e,a)},p(c,f){f&1&&n!==(n=Gs(c[9])+"")&&(i.innerHTML=n),f&1&&o!==(o=c[10]+"")&&$e(s,o)},d(c){c&&S(e)}}}function Js(t){let e,i,n=t[5]+"",l,r,o,s,a=Xt(t[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Xs(Qs(t,a,f));return{c(){e=P("div"),i=P("h5"),l=De(n),r=H(),o=P("ul");for(let f=0;f<c.length;f+=1)c[f].c();s=H(),u(i,"class","hot-key-map-group-title v-quklnq"),u(o,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,d){T(f,e,d),p(e,i),p(i,l),p(e,r),p(e,o);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(o,null);p(e,s)},p(f,d){if(d&1&&n!==(n=f[5]+"")&&$e(l,n),d&1){a=Xt(f[6]);let h;for(h=0;h<a.length;h+=1){const g=Qs(f,a,h);c[h]?c[h].p(g,d):(c[h]=Xs(g),c[h].c(),c[h].m(o,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&S(e),Mn(c,f)}}}function np(t){let e,i=Xt(t[0].groups),n=[];for(let l=0;l<i.length;l+=1)n[l]=Js(Ys(t,i,l));return{c(){e=P("div");for(let l=0;l<n.length;l+=1)n[l].c();u(e,"class","hot-key-map v-quklnq")},m(l,r){T(l,e,r);for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(e,null)},p(l,r){if(r&1){i=Xt(l[0].groups);let o;for(o=0;o<i.length;o+=1){const s=Ys(l,i,o);n[o]?n[o].p(s,r):(n[o]=Js(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(l){l&&S(e),Mn(n,l)}}}function op(t){let e,i;return e=new ep({props:{title:t[0].title,onClose:t[2],$$slots:{default:[np]},$$scope:{ctx:t}}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.title=n[0].title),l&8193&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function lp(t,e,i){let n;const l=Et(),{data:r,show:o}=l.ui.modals.hotKeyMap;return z(t,r,a=>i(0,n=a)),[n,r,()=>{o.set(!1)}]}class rp extends ke{constructor(e){super(),we(this,e,lp,op,be,{},ip)}}function sp(t){Ke(t,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function ap(t){let e,i;const n=t[1].default,l=qn(n,t,t[0],null);return{c(){e=P("div"),l&&l.c(),u(e,"class","pillow v-1oe0j8n")},m(r,o){T(r,e,o),l&&l.m(e,null),i=!0},p(r,[o]){l&&l.p&&(!i||o&1)&&Zn(l,n,r,r[0],i?jn(n,r[0],o,null):Kn(r[0]),null)},i(r){i||(m(l,r),i=!0)},o(r){v(l,r),i=!1},d(r){r&&S(e),l&&l.d(r)}}}function up(t,e,i){let{$$slots:n={},$$scope:l}=e;return t.$$set=r=>{"$$scope"in r&&i(0,l=r.$$scope)},[l,n]}class cp extends ke{constructor(e){super(),we(this,e,up,ap,be,{},sp)}}function fp(t){let e,i,n;return{c(){e=D("svg"),i=D("path"),n=D("path"),u(i,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){T(l,e,r),p(e,i),p(e,n)},p:W,i:W,o:W,d(l){l&&S(e)}}}class dp extends ke{constructor(e){super(),we(this,e,null,fp,be,{})}}function mp(t){let e,i,n;return{c(){e=D("svg"),i=D("path"),n=D("path"),u(i,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){T(l,e,r),p(e,i),p(e,n)},p:W,i:W,o:W,d(l){l&&S(e)}}}class pp extends ke{constructor(e){super(),we(this,e,null,mp,be,{})}}function hp(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class vp extends ke{constructor(e){super(),we(this,e,null,hp,be,{})}}function gp(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class Wc extends ke{constructor(e){super(),we(this,e,null,gp,be,{})}}function bp(t){let e,i,n;return{c(){e=D("svg"),i=D("path"),n=D("path"),u(i,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){T(l,e,r),p(e,i),p(e,n)},p:W,i:W,o:W,d(l){l&&S(e)}}}class Gc extends ke{constructor(e){super(),we(this,e,null,bp,be,{})}}const Oo=t=>{switch(t){case et.VideoQuality.Q_720P:return vp;case et.VideoQuality.Q_1080P:return Wc;case et.VideoQuality.Q_1440P:return Gc;case et.VideoQuality.Q_2160P:return dp;case et.VideoQuality.Q_4320P:return pp}};function _p(t){Ke(t,"v-1fzhlx0",".icon.v-1fzhlx0{display:flex;position:relative;width:24px;height:24px}.icon.v-1fzhlx0 .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-1fzhlx0 .pillow{right:-13px}")}function wp(t){let e,i,n,l,r,o,s=t[1]&&xs(t);return{c(){e=P("div"),s&&s.c(),i=H(),n=D("svg"),l=D("path"),r=D("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(l,"fill","#fff"),u(r,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(r,"fill","#fff"),R(r,"hidden",!!t[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-1fzhlx0"),u(e,"aria-hidden","true"),R(e,"triple",t[2])},m(a,c){T(a,e,c),s&&s.m(e,null),p(e,i),p(e,n),p(n,l),p(n,r),o=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&m(s,1)):(s=xs(a),s.c(),m(s,1),s.m(e,i)):s&&(ce(),v(s,1,1,()=>{s=null}),fe()),(!o||c&2)&&R(r,"hidden",!!a[1]),(!o||c&4)&&R(e,"triple",a[2])},i(a){o||(m(s),o=!0)},o(a){v(s),o=!1},d(a){a&&S(e),s&&s.d()}}}function kp(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}function xs(t){let e,i;return e=new cp({props:{$$slots:{default:[yp]},$$scope:{ctx:t}}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&18&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function yp(t){let e,i,n;var l=t[1];function r(o){return{}}return l&&(e=Dn(l,r())),{c(){e&&K(e.$$.fragment),i=bt()},m(o,s){e&&j(e,o,s),T(o,i,s),n=!0},p(o,s){if(s&2&&l!==(l=o[1])){if(e){ce();const a=e;v(a.$$.fragment,1,0,()=>{Z(a,1)}),fe()}l?(e=Dn(l,r()),K(e.$$.fragment),m(e.$$.fragment,1),j(e,i.parentNode,i)):e=null}},i(o){n||(e&&m(e.$$.fragment,o),n=!0)},o(o){e&&v(e.$$.fragment,o),n=!1},d(o){o&&S(i),e&&Z(e,o)}}}function Cp(t){let e,i,n,l;const r=[kp,wp],o=[];function s(a,c){return a[0]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=bt()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(ce(),v(o[f],1,1,()=>{o[f]=null}),fe(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function Sp(t,e,i){let n,{isMobile:l=!1}=e,{currentQuality:r=void 0}=e,o;return t.$$set=s=>{"isMobile"in s&&i(0,l=s.isMobile),"currentQuality"in s&&i(3,r=s.currentQuality)},t.$$.update=()=>{t.$$.dirty&8&&i(1,n=Oo(r)),t.$$.dirty&2&&i(2,o=!!n&&[Wc,Gc].includes(n))},[l,n,o,r]}class Yc extends ke{constructor(e){super(),we(this,e,Sp,Cp,be,{isMobile:0,currentQuality:3},_p)}}function Tp(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class Qc extends ke{constructor(e){super(),we(this,e,null,Tp,be,{})}}function Pp(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(i,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class Ep extends ke{constructor(e){super(),we(this,e,null,Pp,be,{})}}function Ip(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(i,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class Ap extends ke{constructor(e){super(),we(this,e,null,Ip,be,{})}}function Lp(t){let e,i,n,l;return{c(){e=D("svg"),i=D("g"),n=D("path"),l=D("path"),u(n,"d","M0 0h24v24H0z"),u(l,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(l,"fill","#fff"),u(l,"fill-rule","nonzero"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(r,o){T(r,e,o),p(e,i),p(i,n),p(i,l)},p:W,i:W,o:W,d(r){r&&S(e)}}}class Vp extends ke{constructor(e){super(),we(this,e,null,Lp,be,{})}}function Mp(t){Ke(t,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function Bp(t){let e,i,n;return{c(){e=D("svg"),i=D("path"),u(i,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(i,"fill",t[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),R(e,"reverted",t[2])},m(l,r){T(l,e,r),p(e,i)},p(l,r){r&1&&u(i,"fill",l[0]),r&4&&n!==(n=l[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),r&4&&R(e,"reverted",l[2])},d(l){l&&S(e)}}}function Np(t){let e,i,n;return{c(){e=D("svg"),i=D("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(i,"fill",t[0]),u(i,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),R(e,"reverted",t[2])},m(l,r){T(l,e,r),p(e,i)},p(l,r){r&1&&u(i,"fill",l[0]),r&4&&n!==(n=l[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),r&4&&R(e,"reverted",l[2])},d(l){l&&S(e)}}}function Rp(t){let e;function i(r,o){return r[1]?Np:Bp}let n=i(t),l=n(t);return{c(){l.c(),e=bt()},m(r,o){l.m(r,o),T(r,e,o)},p(r,[o]){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:W,o:W,d(r){r&&S(e),l.d(r)}}}function Op(t,e,i){let{direction:n="left"}=e,{color:l="#fff"}=e,r,o;return t.$$set=s=>{"direction"in s&&i(3,n=s.direction),"color"in s&&i(0,l=s.color)},t.$$.update=()=>{t.$$.dirty&8&&(i(1,r=["up","down"].includes(n)),i(2,o=["right","down"].includes(n)))},[l,r,o,n]}class xn extends ke{constructor(e){super(),we(this,e,Op,Rp,be,{direction:3,color:0},Mp)}}function Dp(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class zp extends ke{constructor(e){super(),we(this,e,null,Dp,be,{})}}function Hp(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(i,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class el extends ke{constructor(e){super(),we(this,e,null,Hp,be,{})}}function Fp(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class Up extends ke{constructor(e){super(),we(this,e,null,Fp,be,{})}}function qp(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class jp extends ke{constructor(e){super(),we(this,e,null,qp,be,{})}}function Zp(t){Ke(t,"v-5r0p3","ul.v-5r0p3.v-5r0p3{margin:0;padding:0}.menu.v-5r0p3.v-5r0p3{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s}.container-mobile.v-5r0p3.v-5r0p3{width:100%}.menu-desktop.v-5r0p3.v-5r0p3{position:absolute;right:0;bottom:0}.menu-mobile.v-5r0p3.v-5r0p3{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-5r0p3.v-5r0p3{display:none}.menu-subList.v-5r0p3.v-5r0p3{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-5r0p3.v-5r0p3{min-width:164px}.menu-subList-traffic-saving.v-5r0p3.v-5r0p3{min-width:286px}.item.v-5r0p3.v-5r0p3{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-5r0p3.v-5r0p3{padding:0 14px}.item-quality.item-mobile.v-5r0p3.v-5r0p3,.item-traffic-saving.item-mobile.v-5r0p3.v-5r0p3,.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{flex-direction:row-reverse}.item-helper-text.v-5r0p3.v-5r0p3{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-5r0p3 span.v-5r0p3{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{padding:7px 14px}.item-helper-text.item-mobile.v-5r0p3 span.v-5r0p3{text-align:start}.quality-title-mobile.v-5r0p3.v-5r0p3{flex-grow:1}.item.v-5r0p3.v-5r0p3:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-5r0p3.v-5r0p3:hover{background:var(--mobile-settings-bg)}.menu-subList.v-5r0p3 .item.v-5r0p3{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-5r0p3 .item.v-5r0p3:last-child{margin-bottom:4px}.menu-icon-wrapper.v-5r0p3.v-5r0p3{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-5r0p3.v-5r0p3{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-5r0p3.v-5r0p3{position:relative;opacity:0.7}.menu-valueIcon.v-5r0p3.v-5r0p3{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-5r0p3.v-5r0p3{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-5r0p3 svg,.menu-valueIcon-list.v-5r0p3 svg{color:var(--blue-light)}.menu-divider.v-5r0p3.v-5r0p3{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-5r0p3.v-5r0p3{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-5r0p3.v-5r0p3{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar{width:8px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-5r0p3.v-5r0p3{overflow-y:auto;max-height:160px;text-align:left}.close.v-5r0p3.v-5r0p3{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-5r0p3.v-5r0p3:before,.close.v-5r0p3.v-5r0p3:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-5r0p3.v-5r0p3:before{transform:rotate(45deg)}.close.v-5r0p3.v-5r0p3:after{transform:rotate(-45deg)}")}function $s(t,e,i){const n=t.slice();return n[142]=e[i],n}function ea(t,e,i){const n=t.slice();return n[145]=e[i],n}function ta(t,e,i){const n=t.slice();return n[148]=e[i],n}function ia(t){let e,i,n,l,r,o,s,a,c,f,d,h=t[34]&&na(t),g=t[25]&&oa(t),_=t[24]&&ra(t),b=t[23]&&sa(t),C=t[22]&&aa(t),k=t[21]&&ua(t),w=t[34]&&ca(t);return{c(){e=P("div"),h&&h.c(),i=H(),n=P("ul"),g&&g.c(),l=H(),_&&_.c(),r=H(),b&&b.c(),o=H(),C&&C.c(),s=H(),k&&k.c(),a=H(),w&&w.c(),u(n,"class","items v-5r0p3"),u(n,"role","menu"),u(n,"style",t[73]()),R(n,"items-mobile",t[34]),u(e,"class","menu v-5r0p3"),R(e,"menu-desktop",!t[34]),R(e,"menu-mobile",t[34]),R(e,"hidden",!t[11])},m(y,E){T(y,e,E),h&&h.m(e,null),p(e,i),p(e,n),g&&g.m(n,null),p(n,l),_&&_.m(n,null),p(n,r),b&&b.m(n,null),p(n,o),C&&C.m(n,null),p(n,s),k&&k.m(n,null),p(n,a),w&&w.m(n,null),t[112](n),c=!0,f||(d=[he(e,"keydown",t[78]),he(e,"mouseenter",t[71]),he(e,"mouseleave",t[72])],f=!0)},p(y,E){y[34]?h?h.p(y,E):(h=na(y),h.c(),h.m(e,i)):h&&(h.d(1),h=null),y[25]?g?(g.p(y,E),E[0]&33554432&&m(g,1)):(g=oa(y),g.c(),m(g,1),g.m(n,l)):g&&(ce(),v(g,1,1,()=>{g=null}),fe()),y[24]?_?(_.p(y,E),E[0]&16777216&&m(_,1)):(_=ra(y),_.c(),m(_,1),_.m(n,r)):_&&(ce(),v(_,1,1,()=>{_=null}),fe()),y[23]?b?(b.p(y,E),E[0]&8388608&&m(b,1)):(b=sa(y),b.c(),m(b,1),b.m(n,o)):b&&(ce(),v(b,1,1,()=>{b=null}),fe()),y[22]?C?(C.p(y,E),E[0]&4194304&&m(C,1)):(C=aa(y),C.c(),m(C,1),C.m(n,s)):C&&(ce(),v(C,1,1,()=>{C=null}),fe()),y[21]?k?(k.p(y,E),E[0]&2097152&&m(k,1)):(k=ua(y),k.c(),m(k,1),k.m(n,a)):k&&(ce(),v(k,1,1,()=>{k=null}),fe()),y[34]?w?(w.p(y,E),E[1]&8&&m(w,1)):(w=ca(y),w.c(),m(w,1),w.m(n,null)):w&&(ce(),v(w,1,1,()=>{w=null}),fe()),(!c||E[1]&8)&&R(n,"items-mobile",y[34]),(!c||E[1]&8)&&R(e,"menu-desktop",!y[34]),(!c||E[1]&8)&&R(e,"menu-mobile",y[34]),(!c||E[0]&2048)&&R(e,"hidden",!y[11])},i(y){c||(m(g),m(_),m(b),m(C),m(k),m(w),c=!0)},o(y){v(g),v(_),v(b),v(C),v(k),v(w),c=!1},d(y){y&&S(e),h&&h.d(),g&&g.d(),_&&_.d(),b&&b.d(),C&&C.d(),k&&k.d(),w&&w.d(),t[112](null),f=!1,ut(d)}}}function na(t){let e,i,n,l,r,o,s,a;return{c(){e=P("div"),i=P("div"),i.textContent=`${Q("submenu_settings")}`,n=H(),l=P("div"),r=H(),o=P("div"),u(l,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),R(e,"item-mobile",t[34]),u(o,"class","menu-divider v-5r0p3")},m(c,f){T(c,e,f),p(e,i),p(e,n),p(e,l),T(c,r,f),T(c,o,f),s||(a=he(l,"click",ct(t[57])),s=!0)},p(c,f){f[1]&8&&R(e,"item-mobile",c[34])},d(c){c&&(S(e),S(r),S(o)),s=!1,a()}}}function oa(t){let e,i,n,l,r,o,s,a,c,f,d,h,g;n=new Yc({});let _=t[33]&&!t[34]&&la(t);return{c(){e=P("li"),i=P("div"),K(n.$$.fragment),l=H(),r=P("div"),r.textContent=`${Q("menu_quality")}`,o=H(),s=P("div"),a=De(t[16]),c=H(),_&&_.c(),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Q("aria_label_menu_quality",{actual:t[27]})),u(e,"aria-haspopup","true"),R(e,"item-mobile",t[34])},m(b,C){T(b,e,C),p(e,i),j(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),p(s,c),_&&_.m(s,null),t[108](e),d=!0,h||(g=[he(e,"click",ct(t[58])),he(e,"keydown",t[79])],h=!0)},p(b,C){(!d||C[0]&65536)&&$e(a,b[16]),b[33]&&!b[34]?_?(_.p(b,C),C[1]&12&&m(_,1)):(_=la(b),_.c(),m(_,1),_.m(s,null)):_&&(ce(),v(_,1,1,()=>{_=null}),fe()),(!d||C[0]&134217728&&f!==(f=Q("aria_label_menu_quality",{actual:b[27]})))&&u(e,"aria-label",f),(!d||C[1]&8)&&R(e,"item-mobile",b[34])},i(b){d||(m(n.$$.fragment,b),m(_),d=!0)},o(b){v(n.$$.fragment,b),v(_),d=!1},d(b){b&&S(e),Z(n),_&&_.d(),t[108](null),h=!1,ut(g)}}}function la(t){let e,i,n;var l=t[33];function r(o){return{}}return l&&(i=Dn(l,r())),{c(){e=P("div"),i&&K(i.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(o,s){T(o,e,s),i&&j(i,e,null),n=!0},p(o,s){if(s[1]&4&&l!==(l=o[33])){if(i){ce();const a=i;v(a.$$.fragment,1,0,()=>{Z(a,1)}),fe()}l?(i=Dn(l,r()),K(i.$$.fragment),m(i.$$.fragment,1),j(i,e,null)):i=null}},i(o){n||(i&&m(i.$$.fragment,o),n=!0)},o(o){i&&v(i.$$.fragment,o),n=!1},d(o){o&&S(e),i&&Z(i)}}}function ra(t){let e,i,n,l,r,o,s,a,c,f,d,h,g;return n=new Vp({}),{c(){e=P("li"),i=P("div"),K(n.$$.fragment),l=H(),r=P("div"),r.textContent=`${Q("menu_playback_rate")}`,o=H(),s=P("div"),a=De(t[9]),c=De("x"),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Q("aria_label_menu_rate",{actual:t[28]})),u(e,"aria-haspopup","true"),R(e,"item-mobile",t[34])},m(_,b){T(_,e,b),p(e,i),j(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),p(s,c),t[109](e),d=!0,h||(g=[he(e,"click",ct(ii(t[62]))),he(e,"keydown",t[82])],h=!0)},p(_,b){(!d||b[0]&512)&&$e(a,_[9]),(!d||b[0]&268435456&&f!==(f=Q("aria_label_menu_rate",{actual:_[28]})))&&u(e,"aria-label",f),(!d||b[1]&8)&&R(e,"item-mobile",_[34])},i(_){d||(m(n.$$.fragment,_),d=!0)},o(_){v(n.$$.fragment,_),d=!1},d(_){_&&S(e),Z(n),t[109](null),h=!1,ut(g)}}}function sa(t){let e,i,n,l,r,o,s,a=t[35].displayValue+"",c,f,d,h,g;return n=new Qc({}),{c(){e=P("li"),i=P("div"),K(n.$$.fragment),l=H(),r=P("div"),r.textContent=`${Q("subtitles_caption")}`,o=H(),s=P("div"),c=De(a),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Q("aria_label_menu_subtitle",{actual:t[35].displayValue})),u(e,"aria-haspopup","true"),R(e,"item-mobile",t[34])},m(_,b){T(_,e,b),p(e,i),j(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,c),t[110](e),d=!0,h||(g=[he(e,"click",ct(t[64])),he(e,"keydown",t[85])],h=!0)},p(_,b){(!d||b[1]&16)&&a!==(a=_[35].displayValue+"")&&$e(c,a),(!d||b[1]&16&&f!==(f=Q("aria_label_menu_subtitle",{actual:_[35].displayValue})))&&u(e,"aria-label",f),(!d||b[1]&8)&&R(e,"item-mobile",_[34])},i(_){d||(m(n.$$.fragment,_),d=!0)},o(_){v(n.$$.fragment,_),d=!1},d(_){_&&S(e),Z(n),t[110](null),h=!1,ut(g)}}}function aa(t){let e,i,n,l,r,o,s,a,c,f,d,h;return n=new Ap({}),{c(){e=P("li"),i=P("div"),K(n.$$.fragment),l=H(),r=P("div"),r.textContent=`${Q("menu_traffic_saving")}`,o=H(),s=P("div"),a=De(t[26]),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=Q("aria_label_menu_traffic_saving",{actual:t[26]})),u(e,"aria-haspopup","true"),R(e,"item-mobile",t[34])},m(g,_){T(g,e,_),p(e,i),j(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),t[111](e),f=!0,d||(h=[he(e,"click",ct(t[59])),he(e,"keydown",t[88])],d=!0)},p(g,_){(!f||_[0]&67108864)&&$e(a,g[26]),(!f||_[0]&67108864&&c!==(c=Q("aria_label_menu_traffic_saving",{actual:g[26]})))&&u(e,"aria-label",c),(!f||_[1]&8)&&R(e,"item-mobile",g[34])},i(g){f||(m(n.$$.fragment,g),f=!0)},o(g){v(n.$$.fragment,g),f=!1},d(g){g&&S(e),Z(n),t[111](null),d=!1,ut(h)}}}function ua(t){let e,i,n,l,r,o,s,a;return n=new Ep({}),{c(){e=P("li"),i=P("div"),K(n.$$.fragment),l=H(),r=P("div"),r.textContent=`${Q("download_video_caption")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",Q("aria_label_menu_download")),R(e,"item-mobile",t[34])},m(c,f){T(c,e,f),p(e,i),j(n,i,null),p(e,l),p(e,r),o=!0,s||(a=[he(e,"click",ct(t[67])),he(e,"keydown",t[91])],s=!0)},p(c,f){(!o||f[1]&8)&&R(e,"item-mobile",c[34])},i(c){o||(m(n.$$.fragment,c),o=!0)},o(c){v(n.$$.fragment,c),o=!1},d(c){c&&S(e),Z(n),s=!1,ut(a)}}}function ca(t){let e,i,n,l,r,o,s,a,c,f,d,h,g,_,b,C,k=t[37].showSupport&&Kp(t);return l=new Up({}),f=new jp({}),{c(){k&&k.c(),e=H(),i=P("li"),n=P("div"),K(l.$$.fragment),r=H(),o=P("div"),o.textContent=`${Q("menu_copy_debug")}`,s=H(),a=P("li"),c=P("div"),K(f.$$.fragment),d=H(),h=P("div"),h.textContent=`${Q("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(o,"class","menu-title v-5r0p3"),u(i,"class","item item-mobile v-5r0p3"),u(i,"role","menuitem"),u(i,"tabindex","0"),u(i,"aria-label",Q("menu_copy_debug")),u(c,"class","menu-icon-wrapper v-5r0p3"),u(h,"class","menu-title v-5r0p3"),u(a,"class","item item-mobile v-5r0p3"),u(a,"role","menuitem"),u(a,"tabindex","0"),u(a,"aria-label",g=t[36]?Q("aria_label_menu_debug_overlay_disable"):Q("aria_label_menu_debug_overlay_enable"))},m(w,y){k&&k.m(w,y),T(w,e,y),T(w,i,y),p(i,n),j(l,n,null),p(i,r),p(i,o),T(w,s,y),T(w,a,y),p(a,c),j(f,c,null),p(a,d),p(a,h),_=!0,b||(C=[he(i,"click",ct(t[69])),he(i,"keydown",t[93]),he(a,"click",ct(t[70])),he(a,"keydown",t[94])],b=!0)},p(w,y){w[37].showSupport&&k.p(w,y),(!_||y[1]&32&&g!==(g=w[36]?Q("aria_label_menu_debug_overlay_disable"):Q("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",g)},i(w){_||(m(k),m(l.$$.fragment,w),m(f.$$.fragment,w),_=!0)},o(w){v(k),v(l.$$.fragment,w),v(f.$$.fragment,w),_=!1},d(w){w&&(S(e),S(i),S(s),S(a)),k&&k.d(w),Z(l),Z(f),b=!1,ut(C)}}}function Kp(t){let e,i,n,l,r,o,s,a;return n=new zp({}),{c(){e=P("li"),i=P("div"),K(n.$$.fragment),l=H(),r=P("div"),r.textContent=`${Q("menu_report")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item item-mobile v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${Q("menu_report")}. ${Q("aria_label_new_tab_alert")}`)},m(c,f){T(c,e,f),p(e,i),j(n,i,null),p(e,l),p(e,r),o=!0,s||(a=[he(e,"click",ct(t[68])),he(e,"keydown",t[92])],s=!0)},p:W,i(c){o||(m(n.$$.fragment,c),o=!0)},o(c){v(n.$$.fragment,c),o=!1},d(c){c&&S(e),Z(n),s=!1,ut(a)}}}function fa(t){let e,i,n,l,r,o,s,a,c,f,d,h,g;n=new xn({props:{direction:"left"}});let _=Xt(t[8]),b=[];for(let k=0;k<_.length;k+=1)b[k]=pa(ta(t,_,k));const C=k=>v(b[k],1,1,()=>{b[k]=null});return{c(){var k;e=P("div"),i=P("div"),K(n.$$.fragment),l=H(),r=P("div"),r.textContent=`${Q("submenu_quality")}`,o=H(),s=P("div"),a=H(),c=P("ul");for(let w=0;w<b.length;w+=1)b[w].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Q("aria_label_submenu_back")),R(i,"item-mobile",t[34]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",f=t[73]((k=t[17])==null?void 0:k.clientHeight,!0)),R(c,"items-mobile",t[34]),u(e,"class","menu menu-subList v-5r0p3"),R(e,"menu-desktop",!t[34]),R(e,"menu-mobile",t[34])},m(k,w){T(k,e,w),p(e,i),j(n,i,null),p(i,l),p(i,r),t[113](i),p(e,o),p(e,s),p(e,a),p(e,c);for(let y=0;y<b.length;y+=1)b[y]&&b[y].m(c,null);t[116](c),d=!0,h||(g=[he(i,"click",ct(t[66])),he(c,"keydown",t[80])],h=!0)},p(k,w){var y;if((!d||w[1]&8)&&R(i,"item-mobile",k[34]),w[0]&256|w[1]&536870920|w[2]&524288){_=Xt(k[8]);let E;for(E=0;E<_.length;E+=1){const x=ta(k,_,E);b[E]?(b[E].p(x,w),m(b[E],1)):(b[E]=pa(x),b[E].c(),m(b[E],1),b[E].m(c,null))}for(ce(),E=_.length;E<b.length;E+=1)C(E);fe()}(!d||w[0]&131072&&f!==(f=k[73]((y=k[17])==null?void 0:y.clientHeight,!0)))&&u(c,"style",f),(!d||w[1]&8)&&R(c,"items-mobile",k[34]),(!d||w[1]&8)&&R(e,"menu-desktop",!k[34]),(!d||w[1]&8)&&R(e,"menu-mobile",k[34])},i(k){if(!d){m(n.$$.fragment,k);for(let w=0;w<_.length;w+=1)m(b[w]);d=!0}},o(k){v(n.$$.fragment,k),b=b.filter(Boolean);for(let w=0;w<b.length;w+=1)v(b[w]);d=!1},d(k){k&&S(e),Z(n),t[113](null),Mn(b,k),t[116](null),h=!1,ut(g)}}}function da(t){let e,i,n;return i=new el({}),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),j(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),Z(i)}}}function ma(t){let e,i,n;var l=Oo(t[148].value);function r(o){return{}}return l&&(i=Dn(l,r())),{c(){e=P("div"),i&&K(i.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(o,s){T(o,e,s),i&&j(i,e,null),n=!0},p(o,s){if(s[0]&256&&l!==(l=Oo(o[148].value))){if(i){ce();const a=i;v(a.$$.fragment,1,0,()=>{Z(a,1)}),fe()}l?(i=Dn(l,r()),K(i.$$.fragment),m(i.$$.fragment,1),j(i,e,null)):i=null}},i(o){n||(i&&m(i.$$.fragment,o),n=!0)},o(o){i&&v(i.$$.fragment,o),n=!1},d(o){o&&S(e),i&&Z(i)}}}function pa(t){let e,i,n,l=t[148].displayValue+"",r,o,s=!t[34]&&Oo(t[148].value),a,c,f,d,h,g,_=t[148].selected&&da(),b=s&&ma(t);function C(){return t[114](t[148])}function k(...w){return t[115](t[148],...w)}return{c(){e=P("li"),_&&_.c(),i=H(),n=P("div"),r=De(l),o=H(),b&&b.c(),a=H(),u(n,"class","v-5r0p3"),R(n,"quality-title-mobile",t[34]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",c=t[148].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=t[148].displayValue),R(e,"item-mobile",t[34])},m(w,y){T(w,e,y),_&&_.m(e,null),p(e,i),p(e,n),p(n,r),p(e,o),b&&b.m(e,null),p(e,a),d=!0,h||(g=[he(e,"click",ct(C)),he(e,"keydown",k)],h=!0)},p(w,y){t=w,t[148].selected?_?y[0]&256&&m(_,1):(_=da(),_.c(),m(_,1),_.m(e,i)):_&&(ce(),v(_,1,1,()=>{_=null}),fe()),(!d||y[0]&256)&&l!==(l=t[148].displayValue+"")&&$e(r,l),(!d||y[1]&8)&&R(n,"quality-title-mobile",t[34]),y[0]&256|y[1]&8&&(s=!t[34]&&Oo(t[148].value)),s?b?(b.p(t,y),y[0]&256|y[1]&8&&m(b,1)):(b=ma(t),b.c(),m(b,1),b.m(e,a)):b&&(ce(),v(b,1,1,()=>{b=null}),fe()),(!d||y[0]&256&&c!==(c=t[148].value))&&u(e,"data-value",c),(!d||y[0]&256&&f!==(f=t[148].displayValue))&&u(e,"aria-label",f),(!d||y[1]&8)&&R(e,"item-mobile",t[34])},i(w){d||(m(_),m(b),d=!0)},o(w){v(_),v(b),d=!1},d(w){w&&S(e),_&&_.d(),b&&b.d(),h=!1,ut(g)}}}function ha(t){let e,i,n,l,r,o,s,a,c,f,d,h,g;n=new xn({props:{direction:"left"}});let _=Xt(t[7]),b=[];for(let k=0;k<_.length;k+=1)b[k]=ga(ea(t,_,k));const C=k=>v(b[k],1,1,()=>{b[k]=null});return{c(){var k;e=P("div"),i=P("div"),K(n.$$.fragment),l=H(),r=P("div"),r.textContent=`${Q("submenu_playback_rate")}`,o=H(),s=P("div"),a=H(),c=P("ul");for(let w=0;w<b.length;w+=1)b[w].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Q("aria_label_submenu_back")),R(i,"item-mobile",t[34]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",f=t[73]((k=t[18])==null?void 0:k.clientHeight,!0)),R(c,"items-mobile",t[34]),u(e,"class","menu menu-subList v-5r0p3"),R(e,"menu-desktop",!t[34]),R(e,"menu-mobile",t[34])},m(k,w){T(k,e,w),p(e,i),j(n,i,null),p(i,l),p(i,r),t[117](i),p(e,o),p(e,s),p(e,a),p(e,c);for(let y=0;y<b.length;y+=1)b[y]&&b[y].m(c,null);t[120](c),d=!0,h||(g=[he(i,"click",ct(t[66])),he(c,"keydown",t[83])],h=!0)},p(k,w){var y;if((!d||w[1]&8)&&R(i,"item-mobile",k[34]),w[0]&128|w[1]&8|w[2]&4194306){_=Xt(k[7]);let E;for(E=0;E<_.length;E+=1){const x=ea(k,_,E);b[E]?(b[E].p(x,w),m(b[E],1)):(b[E]=ga(x),b[E].c(),m(b[E],1),b[E].m(c,null))}for(ce(),E=_.length;E<b.length;E+=1)C(E);fe()}(!d||w[0]&262144&&f!==(f=k[73]((y=k[18])==null?void 0:y.clientHeight,!0)))&&u(c,"style",f),(!d||w[1]&8)&&R(c,"items-mobile",k[34]),(!d||w[1]&8)&&R(e,"menu-desktop",!k[34]),(!d||w[1]&8)&&R(e,"menu-mobile",k[34])},i(k){if(!d){m(n.$$.fragment,k);for(let w=0;w<_.length;w+=1)m(b[w]);d=!0}},o(k){v(n.$$.fragment,k),b=b.filter(Boolean);for(let w=0;w<b.length;w+=1)v(b[w]);d=!1},d(k){k&&S(e),Z(n),t[117](null),Mn(b,k),t[120](null),h=!1,ut(g)}}}function va(t){let e,i,n;return i=new el({}),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),j(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),Z(i)}}}function ga(t){let e,i,n,l=t[145].displayValue+"",r,o,s,a,c,f,d,h=t[145].selected&&va();function g(){return t[118](t[145])}function _(...b){return t[119](t[145],...b)}return{c(){e=P("li"),h&&h.c(),i=H(),n=P("div"),r=De(l),o=H(),u(n,"class","v-5r0p3"),R(n,"quality-title-mobile",t[34]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=t[145].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=t[145].displayValue),R(e,"item-mobile",t[34])},m(b,C){T(b,e,C),h&&h.m(e,null),p(e,i),p(e,n),p(n,r),p(e,o),c=!0,f||(d=[he(e,"click",ct(g)),he(e,"keydown",_)],f=!0)},p(b,C){t=b,t[145].selected?h?C[0]&128&&m(h,1):(h=va(),h.c(),m(h,1),h.m(e,i)):h&&(ce(),v(h,1,1,()=>{h=null}),fe()),(!c||C[0]&128)&&l!==(l=t[145].displayValue+"")&&$e(r,l),(!c||C[1]&8)&&R(n,"quality-title-mobile",t[34]),(!c||C[0]&128&&s!==(s=t[145].value))&&u(e,"data-value",s),(!c||C[0]&128&&a!==(a=t[145].displayValue))&&u(e,"aria-label",a),(!c||C[1]&8)&&R(e,"item-mobile",t[34])},i(b){c||(m(h),c=!0)},o(b){v(h),c=!1},d(b){b&&S(e),h&&h.d(),f=!1,ut(d)}}}function ba(t){let e,i,n,l,r,o,s,a,c,f,d,h,g,_,b,C,k,w,y,E,x,q,V,ee,re,N;n=new xn({props:{direction:"left"}});let X=!t[5]&&_a(),J=t[5]&&wa();return{c(){var M;e=P("div"),i=P("div"),K(n.$$.fragment),l=H(),r=P("div"),r.textContent=`${Q("submenu_traffic_saving")}`,o=H(),s=P("div"),a=H(),c=P("div"),f=P("ul"),d=P("li"),X&&X.c(),h=H(),g=P("div"),g.textContent=`${Q("traffic_saving_disable")}`,_=H(),b=P("li"),J&&J.c(),C=H(),k=P("div"),k.textContent=`${Q("traffic_saving_enable")}`,w=H(),y=P("div"),E=H(),x=P("div"),q=P("span"),q.textContent=`${Q("traffic_saving_helper_text")}`,u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Q("aria_label_submenu_back")),R(i,"item-mobile",t[34]),u(s,"class","menu-divider v-5r0p3"),u(g,"class","v-5r0p3"),R(g,"quality-title-mobile",t[34]),u(d,"class","item item-traffic-saving v-5r0p3"),u(d,"role","menuitem"),u(d,"tabindex","0"),u(d,"aria-label",Q("aria_label_submenu_traffic_saving_off")),R(d,"item-mobile",t[34]),u(k,"class","v-5r0p3"),R(k,"quality-title-mobile",t[34]),u(b,"class","item item-traffic-saving v-5r0p3"),u(b,"role","menuitem"),u(b,"tabindex","0"),u(b,"aria-label",`${Q("aria_label_submenu_traffic_saving_on")}. ${Q("traffic_saving_helper_text")}`),R(b,"item-mobile",t[34]),u(f,"class","items v-5r0p3"),u(f,"role","menu"),R(f,"items-mobile",t[34]),u(y,"class","menu-divider v-5r0p3"),u(q,"class","v-5r0p3"),u(x,"class","item item-helper-text v-5r0p3"),R(x,"item-mobile",t[34]),u(c,"style",V=t[73]((M=t[19])==null?void 0:M.clientHeight,!0)),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),R(e,"menu-desktop",!t[34]),R(e,"menu-mobile",t[34])},m(M,A){T(M,e,A),p(e,i),j(n,i,null),p(i,l),p(i,r),t[121](i),p(e,o),p(e,s),p(e,a),p(e,c),p(c,f),p(f,d),X&&X.m(d,null),p(d,h),p(d,g),p(f,_),p(f,b),J&&J.m(b,null),p(b,C),p(b,k),t[126](f),p(c,w),p(c,y),p(c,E),p(c,x),p(x,q),ee=!0,re||(N=[he(i,"click",ct(t[66])),he(d,"click",ct(t[122])),he(d,"keydown",t[123]),he(b,"click",ct(t[124])),he(b,"keydown",t[125]),he(f,"keydown",t[89])],re=!0)},p(M,A){var O;(!ee||A[1]&8)&&R(i,"item-mobile",M[34]),M[5]?X&&(ce(),v(X,1,1,()=>{X=null}),fe()):X?A[0]&32&&m(X,1):(X=_a(),X.c(),m(X,1),X.m(d,h)),(!ee||A[1]&8)&&R(g,"quality-title-mobile",M[34]),(!ee||A[1]&8)&&R(d,"item-mobile",M[34]),M[5]?J?A[0]&32&&m(J,1):(J=wa(),J.c(),m(J,1),J.m(b,C)):J&&(ce(),v(J,1,1,()=>{J=null}),fe()),(!ee||A[1]&8)&&R(k,"quality-title-mobile",M[34]),(!ee||A[1]&8)&&R(b,"item-mobile",M[34]),(!ee||A[1]&8)&&R(f,"items-mobile",M[34]),(!ee||A[1]&8)&&R(x,"item-mobile",M[34]),(!ee||A[0]&524288&&V!==(V=M[73]((O=M[19])==null?void 0:O.clientHeight,!0)))&&u(c,"style",V),(!ee||A[1]&8)&&R(e,"menu-desktop",!M[34]),(!ee||A[1]&8)&&R(e,"menu-mobile",M[34])},i(M){ee||(m(n.$$.fragment,M),m(X),m(J),ee=!0)},o(M){v(n.$$.fragment,M),v(X),v(J),ee=!1},d(M){M&&S(e),Z(n),t[121](null),X&&X.d(),J&&J.d(),t[126](null),re=!1,ut(N)}}}function _a(t){let e,i,n;return i=new el({}),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),j(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),Z(i)}}}function wa(t){let e,i,n;return i=new el({}),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),j(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),Z(i)}}}function ka(t){let e,i,n,l,r,o,s,a,c,f,d;n=new xn({props:{direction:"left"}});let h=Xt(t[6]),g=[];for(let b=0;b<h.length;b+=1)g[b]=Ca($s(t,h,b));const _=b=>v(g[b],1,1,()=>{g[b]=null});return{c(){var b;e=P("div"),i=P("div"),K(n.$$.fragment),l=H(),r=P("div"),r.textContent=`${Q("subtitles_caption")}`,o=H(),s=P("ul");for(let C=0;C<g.length;C+=1)g[C].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Q("aria_label_submenu_back")),R(i,"item-mobile",t[34]),u(s,"class","items v-5r0p3"),u(s,"role","menu"),u(s,"style",a=t[73]((b=t[20])==null?void 0:b.clientHeight,!0)),R(s,"items-mobile",t[34]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),R(e,"menu-desktop",!t[34]),R(e,"menu-mobile",t[34])},m(b,C){T(b,e,C),p(e,i),j(n,i,null),p(i,l),p(i,r),t[127](i),p(e,o),p(e,s);for(let k=0;k<g.length;k+=1)g[k]&&g[k].m(s,null);t[130](s),c=!0,f||(d=[he(i,"click",ct(t[66])),he(s,"keydown",t[86])],f=!0)},p(b,C){var k;if((!c||C[1]&8)&&R(i,"item-mobile",b[34]),C[0]&64|C[1]&8|C[2]&33554440){h=Xt(b[6]);let w;for(w=0;w<h.length;w+=1){const y=$s(b,h,w);g[w]?(g[w].p(y,C),m(g[w],1)):(g[w]=Ca(y),g[w].c(),m(g[w],1),g[w].m(s,null))}for(ce(),w=h.length;w<g.length;w+=1)_(w);fe()}(!c||C[0]&1048576&&a!==(a=b[73]((k=b[20])==null?void 0:k.clientHeight,!0)))&&u(s,"style",a),(!c||C[1]&8)&&R(s,"items-mobile",b[34]),(!c||C[1]&8)&&R(e,"menu-desktop",!b[34]),(!c||C[1]&8)&&R(e,"menu-mobile",b[34])},i(b){if(!c){m(n.$$.fragment,b);for(let C=0;C<h.length;C+=1)m(g[C]);c=!0}},o(b){v(n.$$.fragment,b),g=g.filter(Boolean);for(let C=0;C<g.length;C+=1)v(g[C]);c=!1},d(b){b&&S(e),Z(n),t[127](null),Mn(g,b),t[130](null),f=!1,ut(d)}}}function ya(t){let e,i,n;return i=new el({}),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),j(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),Z(i)}}}function Ca(t){let e,i,n,l=t[142].displayValue+"",r,o,s,a,c,f,d,h=t[142].selected&&ya();function g(){return t[128](t[142])}function _(...b){return t[129](t[142],...b)}return{c(){e=P("li"),h&&h.c(),i=H(),n=P("div"),r=De(l),o=H(),u(n,"class","v-5r0p3"),R(n,"quality-title-mobile",t[34]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=t[142].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=t[142].displayValue),R(e,"item-mobile",t[34])},m(b,C){T(b,e,C),h&&h.m(e,null),p(e,i),p(e,n),p(n,r),p(e,o),c=!0,f||(d=[he(e,"click",ct(g)),he(e,"keydown",_)],f=!0)},p(b,C){t=b,t[142].selected?h?C[0]&64&&m(h,1):(h=ya(),h.c(),m(h,1),h.m(e,i)):h&&(ce(),v(h,1,1,()=>{h=null}),fe()),(!c||C[0]&64)&&l!==(l=t[142].displayValue+"")&&$e(r,l),(!c||C[1]&8)&&R(n,"quality-title-mobile",t[34]),(!c||C[0]&64&&s!==(s=t[142].value))&&u(e,"data-value",s),(!c||C[0]&64&&a!==(a=t[142].displayValue))&&u(e,"aria-label",a),(!c||C[1]&8)&&R(e,"item-mobile",t[34])},i(b){c||(m(h),c=!0)},o(b){v(h),c=!1},d(b){b&&S(e),h&&h.d(),f=!1,ut(d)}}}function Wp(t){let e,i,n,l,r,o,s=t[10]&&ia(t),a=t[12]&&fa(t),c=t[13]&&ha(t),f=t[15]&&ba(t),d=t[14]&&ka(t);return{c(){e=P("div"),s&&s.c(),i=H(),a&&a.c(),n=H(),c&&c.c(),l=H(),f&&f.c(),r=H(),d&&d.c(),u(e,"class","v-5r0p3"),R(e,"hidden",!t[10]),R(e,"container-mobile",t[34])},m(h,g){T(h,e,g),s&&s.m(e,null),p(e,i),a&&a.m(e,null),p(e,n),c&&c.m(e,null),p(e,l),f&&f.m(e,null),p(e,r),d&&d.m(e,null),o=!0},p(h,g){h[10]?s?(s.p(h,g),g[0]&1024&&m(s,1)):(s=ia(h),s.c(),m(s,1),s.m(e,i)):s&&(ce(),v(s,1,1,()=>{s=null}),fe()),h[12]?a?(a.p(h,g),g[0]&4096&&m(a,1)):(a=fa(h),a.c(),m(a,1),a.m(e,n)):a&&(ce(),v(a,1,1,()=>{a=null}),fe()),h[13]?c?(c.p(h,g),g[0]&8192&&m(c,1)):(c=ha(h),c.c(),m(c,1),c.m(e,l)):c&&(ce(),v(c,1,1,()=>{c=null}),fe()),h[15]?f?(f.p(h,g),g[0]&32768&&m(f,1)):(f=ba(h),f.c(),m(f,1),f.m(e,r)):f&&(ce(),v(f,1,1,()=>{f=null}),fe()),h[14]?d?(d.p(h,g),g[0]&16384&&m(d,1)):(d=ka(h),d.c(),m(d,1),d.m(e,null)):d&&(ce(),v(d,1,1,()=>{d=null}),fe()),(!o||g[0]&1024)&&R(e,"hidden",!h[10]),(!o||g[1]&8)&&R(e,"container-mobile",h[34])},i(h){o||(m(s),m(a),m(c),m(f),m(d),o=!0)},o(h){v(s),v(a),v(c),v(f),v(d),o=!1},d(h){h&&S(e),s&&s.d(),a&&a.d(),c&&c.d(),f&&f.d(),d&&d.d()}}}const Gp=18;function Yp(t,e,i){let n,l,r,o,s,a,c,f,d,h,g,_,b,C,k,w,y,E,x,q,V,ee,re,N,{ref:X=void 0}=e,{supportLink:J}=e,{playerControlsHeight:M=0}=e,{returnFocus:A}=e;const O=Et(),ne=wn(),L=O.state.currentQuality$;z(t,L,le=>i(102,b=le));const G=O.state.availableQualities$;z(t,G,le=>i(8,g=le));const _e=O.state.autoQualityLimitingAvailable$;z(t,_e,le=>i(106,y=le));const Ee=O.state.isAutoQualityEnabled$;z(t,Ee,le=>i(103,C=le));const Le=O.state.currentPlaybackRate$;z(t,Le,le=>i(9,_=le));const Ne=O.state.availablePlaybackRates$;z(t,Ne,le=>i(7,d=le));const Fe=O.state.currentSubtitle$;z(t,Fe,le=>i(35,re=le));const pe=O.state.availableSubtitlesList$;z(t,pe,le=>i(6,c=le));const F=O.state.canDownload,ue=O.state.hasMpegSources$;z(t,ue,le=>i(107,E=le));const ye=O.ui.settingsMenuVisible;z(t,ye,le=>i(10,ee=le));const Ue=O.ui.settingsMenuOpenedByKeyboard;z(t,Ue,le=>i(132,l=le));const We=O.ui.isMobile;z(t,We,le=>i(34,r=le));const me=O.ui.mobileNotReportControlHidden$;z(t,me,le=>i(104,k=le));const Ie=O.state.canChangePlaybackSpeed$;z(t,Ie,le=>i(105,w=le));const ze=O.ui.isFullscreen;z(t,ze,le=>i(135,V=le));const qe=O.state.trafficSavingEnabled$;z(t,qe,le=>i(5,s=le));const ge=O.ui.playerSize;z(t,ge,le=>i(134,q=le));const B=O.ui.debugPanelVisible;z(t,B,le=>i(36,N=le));const Te=O.ui.playerSize;z(t,Te,le=>i(133,x=le));const se=O.state.isInteractiveTime$,Ce=O.actions.internal.downloadVideo,Ge=O.actions.internal.closeSettingsMenu;let tt=!0,st=!1,it=!1,pt=!1,at=!1,de=!1;function rt(){l||A==null||A(),Ge(),de=!1}function At(){i(11,tt=!1),i(12,st=!0)}function yt(){i(11,tt=!1),i(15,at=!0)}function Me(le){O.actions.internal.setQuality(le),rt()}function Bt(le){O.actions.internal.setTrafficSavingEnabled(le),rt()}function ae(){i(11,tt=!1),i(13,it=!0)}function _t(le){O.actions.internal.setPlaybackRate(le),rt()}function Ct(){i(11,tt=!1),i(14,pt=!0)}function ht(le){O.actions.internal.setSubtitle(le),rt()}function dt(){i(11,tt=!0),i(12,st=!1),i(13,it=!1),i(14,pt=!1),i(15,at=!1)}function Qe(){Ce(),rt()}function Pe(){window.open(J,"_blank"),rt(),O.actions.internal.pause()}function nt(){hr(O.actions.internal.getDebugTextData()),rt()}function Jt(){B.set(!0),rt()}function Ut(){de=!0}function Ui(){de=!1}function xi(le,ot,fi){if(!le)return"...";const Vi=ot.find(Kt=>Kt.value===le),Mi=Vi?Vi.displayValue:le;return fi?le===et.VideoQuality.INVARIANT?Q("auto_quality_invariant"):Q("auto_quality",{actual:Mi}):Mi}let oi,di,yi,xt,mi;function $i(le=0,ot=!1){return r&&V&&ot?`max-height: ${Math.round(q.height*.6)}px`:r?"":`max-height: ${x.height-Gp-le-M}px; overflow: auto;`}let Ci,Ri,pi,hi,vi,Si,Ti,li,Gt,It,gi=Ve(!1);z(t,gi,le=>i(101,h=le));let Vt,$t,ri=Ve(!1);z(t,ri,le=>i(100,f=le));let bi,mt,Nt=Ve(!1);z(t,Nt,le=>i(99,a=le));let gt,_i,si=Ve(!1);z(t,si,le=>i(98,o=le));const an=le=>{Hc(le,Ge)},en=le=>Ji(this,null,function*(){hl(le,At,()=>{const ot=g.findIndex(fi=>fi.selected);return It.childNodes[ot]})}),Rt=le=>Ji(this,null,function*(){vl(le,dt,gi,Ge)}),ai=(le,ot)=>{sn(le,()=>Me(ot))},qi=le=>Ji(this,null,function*(){hl(le,ae,()=>{const ot=d.findIndex(fi=>fi.selected);return $t.childNodes[ot]})}),Pi=le=>Ji(this,null,function*(){vl(le,dt,ri,Ge)}),ui=(le,ot)=>{sn(le,()=>_t(ot))},Yt=le=>Ji(this,null,function*(){hl(le,Ct,()=>{const ot=c.findIndex(fi=>fi.selected);return mt.childNodes[ot]})}),ji=le=>Ji(this,null,function*(){vl(le,dt,Nt,Ge)}),tn=(le,ot)=>{sn(le,()=>ht(ot))},Qt=le=>Ji(this,null,function*(){hl(le,yt,()=>{const ot=s?2:0;return _i.childNodes[ot]})}),Ot=le=>Ji(this,null,function*(){vl(le,dt,si,Ge)}),qt=(le,ot)=>{sn(le,()=>Bt(ot))},Zi=le=>{sn(le,()=>Qe())},nn=le=>{sn(le,()=>Pe())},on=le=>{sn(le,()=>nt())},Oi=le=>{sn(le,()=>Jt())};pn(()=>{const le=se.subscribe(ot=>{ot&&!r&&!de&&!l&&rt()});return()=>{le()}});function Ei(le){Se[le?"unshift":"push"](()=>{Gt=le,i(1,Gt)})}function jt(le){Se[le?"unshift":"push"](()=>{Vt=le,i(2,Vt)})}function ci(le){Se[le?"unshift":"push"](()=>{bi=le,i(3,bi)})}function Ii(le){Se[le?"unshift":"push"](()=>{gt=le,i(4,gt)})}function Di(le){Se[le?"unshift":"push"](()=>{X=le,i(0,X)})}function Ki(le){Se[le?"unshift":"push"](()=>{di=le,i(17,di)})}const wi=le=>Me(le.value),Ai=(le,ot)=>ai(ot,le.value);function zi(le){Se[le?"unshift":"push"](()=>{It=le,i(29,It)})}function He(le){Se[le?"unshift":"push"](()=>{yi=le,i(18,yi)})}const Li=le=>_t(le.value),Dt=(le,ot)=>ui(ot,le.value);function Be(le){Se[le?"unshift":"push"](()=>{$t=le,i(30,$t)})}function Wi(le){Se[le?"unshift":"push"](()=>{xt=le,i(19,xt)})}const Gi=()=>Bt(!1),Hi=le=>qt(le,!1),Yi=()=>Bt(!0),Fi=le=>qt(le,!0);function hn(le){Se[le?"unshift":"push"](()=>{_i=le,i(32,_i)})}function Qi(le){Se[le?"unshift":"push"](()=>{mi=le,i(20,mi)})}const Zt=le=>ht(le),Xi=(le,ot)=>tn(ot,le);function Mt(le){Se[le?"unshift":"push"](()=>{mt=le,i(31,mt)})}return t.$$set=le=>{"ref"in le&&i(0,X=le.ref),"supportLink"in le&&i(95,J=le.supportLink),"playerControlsHeight"in le&&i(96,M=le.playerControlsHeight),"returnFocus"in le&&i(97,A=le.returnFocus)},t.$$.update=()=>{var le;t.$$.dirty[0]&1024&&ee&&(i(11,tt=!0),i(12,st=!1),i(13,it=!1),i(14,pt=!1),i(15,at=!1)),t.$$.dirty[3]&512&&i(33,n=Oo(b)),t.$$.dirty[0]&256|t.$$.dirty[3]&1536&&i(16,oi=xi(b,g,C)),t.$$.dirty[3]&18432&&i(21,Ci=F&&E&&!k),t.$$.dirty[3]&10240&&i(22,Ri=ne.features.trafficSaving&&!k&&y),t.$$.dirty[0]&64|t.$$.dirty[3]&2048&&i(23,pi=c.length>0&&!k),t.$$.dirty[3]&6144&&i(24,hi=!!w&&!k),t.$$.dirty[3]&2048&&i(25,vi=!k),t.$$.dirty[0]&32&&i(26,Si=Q(s?"traffic_saving_on":"traffic_saving_off")),t.$$.dirty[3]&1536&&i(27,Ti=C?Q("auto_quality_option"):b),t.$$.dirty[0]&640&&i(28,li=(le=d.find(ot=>ot.value===_))==null?void 0:le.displayValue),t.$$.dirty[0]&2|t.$$.dirty[3]&256&&pl(Gt,gi,h),t.$$.dirty[0]&4|t.$$.dirty[3]&128&&pl(Vt,ri,f),t.$$.dirty[0]&8|t.$$.dirty[3]&64&&pl(bi,Nt,a),t.$$.dirty[0]&16|t.$$.dirty[3]&32&&pl(gt,si,o)},[X,Gt,Vt,bi,gt,s,c,d,g,_,ee,tt,st,it,pt,at,oi,di,yi,xt,mi,Ci,Ri,pi,hi,vi,Si,Ti,li,It,$t,mt,_i,n,r,re,N,ne,L,G,_e,Ee,Le,Ne,Fe,pe,ue,ye,Ue,We,me,Ie,ze,qe,ge,B,Te,rt,At,yt,Me,Bt,ae,_t,Ct,ht,dt,Qe,Pe,nt,Jt,Ut,Ui,$i,gi,ri,Nt,si,an,en,Rt,ai,qi,Pi,ui,Yt,ji,tn,Qt,Ot,qt,Zi,nn,on,Oi,J,M,A,o,a,f,h,b,C,k,w,y,E,Ei,jt,ci,Ii,Di,Ki,wi,Ai,zi,He,Li,Dt,Be,Wi,Gi,Hi,Yi,Fi,hn,Qi,Zt,Xi,Mt]}class Xc extends ke{constructor(e){super(),we(this,e,Yp,Wp,be,{ref:0,supportLink:95,playerControlsHeight:96,returnFocus:97},Zp,[-1,-1,-1,-1,-1])}}function Qp(t){Ke(t,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function Xp(t){let e,i,n;return i=new Yc({props:{isMobile:t[3],currentQuality:t[4]}}),{c(){e=P("span"),K(i.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(l,r){T(l,e,r),j(i,e,null),n=!0},p(l,r){const o={};r&8&&(o.isMobile=l[3]),r&16&&(o.currentQuality=l[4]),i.$set(o)},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),Z(i)}}}function Jp(t){let e,i,n;function l(o){t[9](o)}let r={className:t[1]?"opened":"",testId:"btn-settings",click:t[8],ariaLabel:t[2],ariaExpanded:t[1],$$slots:{default:[Xp]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new ki({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"opened":""),s&4&&(a.ariaLabel=o[2]),s&2&&(a.ariaExpanded=o[1]),s&4120&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function xp(t,e,i){let n,l,r,{ref:o=void 0}=e;const s=Et(),a=s.state.currentQuality$;z(t,a,b=>i(4,r=b));const c=s.ui.settingsMenuVisible;z(t,c,b=>i(1,n=b));const f=s.actions.internal.toggleSettingsMenu,d=s.ui.isMobile;z(t,d,b=>i(3,l=b));let h;function g(b){const C=Pr(b);f(C)}function _(b){o=b,i(0,o)}return t.$$set=b=>{"ref"in b&&i(0,o=b.ref)},t.$$.update=()=>{t.$$.dirty&2&&i(2,h=Q(n?"tooltip_settings_on":"tooltip_settings_off"))},[o,n,h,l,r,a,c,d,g,_]}class Ar extends ke{constructor(e){super(),we(this,e,xp,Jp,be,{ref:0},Qp)}}function $p(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class eh extends ke{constructor(e){super(),we(this,e,null,$p,be,{})}}function th(t){let e,i;return e=new Qc({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function ih(t){let e,i;return e=new eh({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function nh(t){let e,i,n,l;const r=[ih,th],o=[];function s(a,c){return a[0]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=bt()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e!==f&&(ce(),v(o[f],1,1,()=>{o[f]=null}),fe(),i=o[e],i||(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function oh(t){let e,i;return e=new ki({props:{testId:"btn-Subtitles",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Yo[Ae.KeyC],$$slots:{default:[nh]},$$scope:{ctx:t}}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,[l]){const r={};l&4&&(r.ariaLabel=n[2]),l&2&&(r.click=n[1]),l&9&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function lh(t,e,i){let{isSubtitlesEnabled:n=!1}=e,{click:l}=e,r;return t.$$set=o=>{"isSubtitlesEnabled"in o&&i(0,n=o.isSubtitlesEnabled),"click"in o&&i(1,l=o.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,r=Q(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,l,r]}class rh extends ke{constructor(e){super(),we(this,e,lh,oh,be,{isSubtitlesEnabled:0,click:1})}}function sh(t){Ke(t,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function Sa(t){let e,i;return{c(){e=P("span"),i=De(t[3]),u(e,"class","duration v-19o2urr")},m(n,l){T(n,e,l),p(e,i)},p(n,l){l&8&&$e(i,n[3])},d(n){n&&S(e)}}}function ah(t){let e,i,n,l,r=t[2]&&Sa(t);return{c(){e=P("div"),i=P("span"),n=De(t[4]),l=H(),r&&r.c(),u(i,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),R(e,"mobile",t[1])},m(o,s){T(o,e,s),p(e,i),p(i,n),p(e,l),r&&r.m(e,null),t[7](e)},p(o,[s]){s&16&&$e(n,o[4]),o[2]?r?r.p(o,s):(r=Sa(o),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&2&&R(e,"mobile",o[1])},i:W,o:W,d(o){o&&S(e),r&&r.d(),t[7](null)}}}function uh(t,e,i){let{isMobile:n=!1}=e,{duration:l}=e,{position:r}=e,{showDuration:o=!0}=e,{ref:s}=e,a,c;function f(d){Se[d?"unshift":"push"](()=>{s=d,i(0,s)})}return t.$$set=d=>{"isMobile"in d&&i(1,n=d.isMobile),"duration"in d&&i(5,l=d.duration),"position"in d&&i(6,r=d.position),"showDuration"in d&&i(2,o=d.showDuration),"ref"in d&&i(0,s=d.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,a=Un(l)),t.$$.dirty&64&&i(4,c=Un(r))},[s,n,o,a,c,l,r,f]}class Jc extends ke{constructor(e){super(),we(this,e,uh,ah,be,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},sh)}}function ch(t){Ke(t,"v-1n5yyua",".icon.v-1n5yyua.v-1n5yyua{display:block;width:24px;height:24px}.icon.v-1n5yyua .cross.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .wave1.v-1n5yyua,.icon[data-value='off'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .cross.v-1n5yyua{visibility:visible}.icon[data-value='mid'].v-1n5yyua .wave2.v-1n5yyua,.icon[data-value='min'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}")}function fh(t){let e,i,n,l,r,o;return{c(){e=D("svg"),i=D("g"),n=D("path"),l=D("path"),r=D("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(l,"class","wave1 v-1n5yyua"),u(l,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(r,"class","cross v-1n5yyua"),u(r,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"data-value",t[0]),u(e,"data-testid",o="volume-"+t[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(s,a){T(s,e,a),p(e,i),p(i,n),p(i,l),p(i,r)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&o!==(o="volume-"+s[0]+"-icon")&&u(e,"data-testid",o)},i:W,o:W,d(s){s&&S(e)}}}function dh(t,e,i){let{volume:n=1}=e,{muted:l=!1}=e;const r=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let o;return t.$$set=s=>{"volume"in s&&i(1,n=s.volume),"muted"in s&&i(2,l=s.muted)},t.$$.update=()=>{t.$$.dirty&6&&i(0,o=r(n,l))},[o,n,l]}class Il extends ke{constructor(e){super(),we(this,e,dh,fh,be,{volume:1,muted:2},ch)}}function mh(t){let e,i;const n=t[4].default,l=qn(n,t,t[3],null);return{c(){e=P("div"),l&&l.c(),u(e,"class","overlay")},m(r,o){T(r,e,o),l&&l.m(e,null),t[5](e),i=!0},p(r,[o]){l&&l.p&&(!i||o&8)&&Zn(l,n,r,r[3],i?jn(n,r[3],o,null):Kn(r[3]),null)},i(r){i||(m(l,r),i=!0)},o(r){v(l,r),i=!1},d(r){r&&S(e),l&&l.d(r),t[5](null)}}}function ph(t,e,i){let n,{$$slots:l={},$$scope:r}=e;const s=Et().ui.overlayContainer$;z(t,s,h=>i(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};pn(()=>(f(n),()=>c(n)));function d(h){Se[h?"unshift":"push"](()=>{a=h,i(0,a)})}return t.$$set=h=>{"$$scope"in h&&i(3,r=h.$$scope)},t.$$.update=()=>{t.$$.dirty&4&&f(n)},[a,s,n,r,l,d]}class hh extends ke{constructor(e){super(),we(this,e,ph,mh,be,{})}}function vh(t){Ke(t,"v-tny135",'.tooltip-wrapper.v-tny135{display:flex;flex-direction:column;min-width:0}.full-width.v-tny135{width:100%}.tooltip.v-tny135{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-tny135{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-tny135{opacity:1;visibility:visible}.tooltip-pointer.v-tny135{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}.bottom-placement-pointer.v-tny135{top:0;bottom:auto}')}function Ta(t){let e,i;return e=new hh({props:{$$slots:{default:[gh]},$$scope:{ctx:t}}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&2097395&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function gh(t){let e,i,n,l,r,o,s;return{c(){e=P("div"),i=P("div"),n=De(t[1]),l=H(),r=P("div"),u(i,"class","content v-tny135"),u(r,"class","tooltip-pointer v-tny135"),u(r,"style",o=`transform: translate(${t[5]}px, ${t[9]}px) rotate(${t[8]?0:"180deg"});`),R(r,"bottom-placement-pointer",!t[8]),u(e,"class","tooltip v-tny135"),u(e,"style",s=`transform: translate(${t[6]}px, ${t[7]}px);`),R(e,"active",t[0])},m(a,c){T(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),t[20](e)},p(a,c){c&2&&$e(n,a[1]),c&32&&o!==(o=`transform: translate(${a[5]}px, ${a[9]}px) rotate(${a[8]?0:"180deg"});`)&&u(r,"style",o),c&192&&s!==(s=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",s),c&1&&R(e,"active",a[0])},d(a){a&&S(e),t[20](null)}}}function bh(t){let e,i,n,l,r,o;const s=t[18].default,a=qn(s,t,t[21],null);let c=t[1]&&Ta(t);return{c(){e=P("div"),a&&a.c(),i=H(),c&&c.c(),n=bt(),u(e,"class","tooltip-wrapper v-tny135"),R(e,"full-width",t[2])},m(f,d){T(f,e,d),a&&a.m(e,null),t[19](e),T(f,i,d),c&&c.m(f,d),T(f,n,d),l=!0,r||(o=[he(e,"mouseenter",t[12]),he(e,"mousemove",t[12]),he(e,"mouseleave",t[13]),he(e,"mousedown",t[13]),he(e,"mouseup",t[12])],r=!0)},p(f,[d]){a&&a.p&&(!l||d&2097152)&&Zn(a,s,f,f[21],l?jn(s,f[21],d,null):Kn(f[21]),null),(!l||d&4)&&R(e,"full-width",f[2]),f[1]?c?(c.p(f,d),d&2&&m(c,1)):(c=Ta(f),c.c(),m(c,1),c.m(n.parentNode,n)):c&&(ce(),v(c,1,1,()=>{c=null}),fe())},i(f){l||(m(a,f),m(c),l=!0)},o(f){v(a,f),v(c),l=!1},d(f){f&&(S(e),S(i),S(n)),a&&a.d(f),t[19](null),c&&c.d(f),r=!1,ut(o)}}}const Ho=5;function _h(t,e,i){let n,l,{$$slots:r={},$$scope:o}=e,{content:s=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:d=!1}=e,{placement:h="top"}=e,{onVisibilityChange:g=ie.noop}=e;const _=h==="top";let b,C,k,w=0,y=_?Ho:-Ho,E=0,x=0;const q=wn(),V=Et(),ee=V.ui.playerSize;z(t,ee,G=>i(24,l=G));const re=V.ui.overlayContainer$;z(t,re,G=>i(23,n=G));const N=V.getLogger().createComponentLog("Tooltip component"),X=()=>{if(!n||!C||!b)return;const G=n.getBoundingClientRect(),_e=b.getBoundingClientRect(),Ee=_e.width,Le=C.clientWidth,Ne=l.width,Fe=(Ee-Le)/2,pe=_e.left+c-G.left;let F=pe+Fe;const ue=_e.top+f-G.top;let ye=Le/2-Ho;const Ue=F<Uo,We=F+Le>Ne-Uo;Ue&&(F=Uo,ye=pe+_e.width/2-2.5*Ho),We&&(F=Ne-Uo-Le,ye=_e.left-G.left+_e.width/2-F-Ho),i(6,E=F),i(7,x=ue),i(5,w=ye)},J=()=>{try{if(!n||!b)return;X(),i(0,a=!0)}catch(G){N({message:String(G)})}},M=()=>{i(0,a=!1)},A=()=>{C&&(k||(k=window.setTimeout(J,q.controls.hideTimeoutTooltips)),a&&J())},O=()=>{M(),window.clearTimeout(k),k=void 0};pn(X),Go(()=>window.clearTimeout(k));function ne(G){Se[G?"unshift":"push"](()=>{b=G,i(3,b)})}function L(G){Se[G?"unshift":"push"](()=>{C=G,i(4,C)})}return t.$$set=G=>{"content"in G&&i(1,s=G.content),"active"in G&&i(0,a=G.active),"translateX"in G&&i(14,c=G.translateX),"translateY"in G&&i(15,f=G.translateY),"isFullWidthWrapper"in G&&i(2,d=G.isFullWidthWrapper),"placement"in G&&i(16,h=G.placement),"onVisibilityChange"in G&&i(17,g=G.onVisibilityChange),"$$scope"in G&&i(21,o=G.$$scope)},t.$$.update=()=>{t.$$.dirty&131073&&g(a)},[a,s,d,b,C,w,E,x,_,y,ee,re,A,O,c,f,h,g,r,ne,L,o]}class xc extends ke{constructor(e){super(),we(this,e,_h,bh,be,{content:1,active:0,translateX:14,translateY:15,isFullWidthWrapper:2,placement:16,onVisibilityChange:17},vh)}}function wh(t){Ke(t,"v-p9r045",".btn-container.v-p9r045{position:relative;display:flex;align-items:center;height:100%;transition:var(--button-hover-transition);will-change:opacity;-webkit-tap-highlight-color:transparent}.w-max.v-p9r045{width:100%;min-width:0}")}function kh(t){let e;const i=t[19].default,n=qn(i,t,t[24],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&16777216)&&Zn(n,i,l,l[24],e?jn(i,l[24],r,null):Kn(l[24]),null)},i(l){e||(m(n,l),e=!0)},o(l){v(n,l),e=!1},d(l){n&&n.d(l)}}}function yh(t){let e,i;return e=new xc({props:{content:t[12],translateX:t[10],translateY:t[11],isFullWidthWrapper:t[4],active:t[6],placement:t[7],onVisibilityChange:t[9],$$slots:{default:[Ch]},$$scope:{ctx:t}}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&4096&&(r.content=n[12]),l&1024&&(r.translateX=n[10]),l&2048&&(r.translateY=n[11]),l&16&&(r.isFullWidthWrapper=n[4]),l&64&&(r.active=n[6]),l&128&&(r.placement=n[7]),l&512&&(r.onVisibilityChange=n[9]),l&16777216&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Ch(t){let e;const i=t[19].default,n=qn(i,t,t[24],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&16777216)&&Zn(n,i,l,l[24],e?jn(i,l[24],r,null):Kn(l[24]),null)},i(l){e||(m(n,l),e=!0)},o(l){v(n,l),e=!1},d(l){n&&n.d(l)}}}function Sh(t){let e,i,n,l,r,o,s,a,c;const f=[yh,kh],d=[];function h(g,_){return g[3]&&g[5]&&!g[13]?0:1}return i=h(t),n=d[i]=f[i](t),{c(){e=P("div"),n.c(),u(e,"class",l="btn-container "+t[2]+" v-p9r045"),u(e,"aria-hidden",r=t[8]||null),No(()=>t[23].call(e))},m(g,_){T(g,e,_),d[i].m(e,null),t[22](e),o=gr(e,t[23].bind(e)),s=!0,a||(c=[he(e,"pointerdown",ct(ii(t[20]))),he(e,"click",ct(ii(t[21])))],a=!0)},p(g,[_]){let b=i;i=h(g),i===b?d[i].p(g,_):(ce(),v(d[b],1,1,()=>{d[b]=null}),fe(),n=d[i],n?n.p(g,_):(n=d[i]=f[i](g),n.c()),m(n,1),n.m(e,null)),(!s||_&4&&l!==(l="btn-container "+g[2]+" v-p9r045"))&&u(e,"class",l),(!s||_&256&&r!==(r=g[8]||null))&&u(e,"aria-hidden",r)},i(g){s||(m(n),s=!0)},o(g){v(n),s=!1},d(g){g&&S(e),d[i].d(),t[22](null),o(),a=!1,ut(c)}}}function Th(t,e,i){let n,l,{$$slots:r={},$$scope:o}=e,{className:s=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:d=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:g=""}=e,{tooltipActive:_=!1}=e,{tooltipPlacement:b="top"}=e,{disabledTooltipContent:C=Q("tooltip_button_disabled")}=e,{isAriaHidden:k=!1}=e,{onTooltipVisibilityChange:w=ie.noop}=e,{initialTranslateXPx:y=0}=e,{initialTranslateYPx:E=-18}=e;const x=Et(),q=x.ui.isMobile;z(t,q,M=>i(13,l=M));const V=x.state.graphIsOpened$;z(t,V,M=>i(18,n=M));let ee;function re(M){co.call(this,t,M)}function N(M){co.call(this,t,M)}function X(M){Se[M?"unshift":"push"](()=>{f=M,i(0,f)})}function J(){d=this.clientWidth,i(1,d)}return t.$$set=M=>{"className"in M&&i(2,s=M.className),"disabled"in M&&i(16,a=M.disabled),"hasTooltip"in M&&i(3,c=M.hasTooltip),"ref"in M&&i(0,f=M.ref),"width"in M&&i(1,d=M.width),"isFullWidthTooltip"in M&&i(4,h=M.isFullWidthTooltip),"tooltipContent"in M&&i(5,g=M.tooltipContent),"tooltipActive"in M&&i(6,_=M.tooltipActive),"tooltipPlacement"in M&&i(7,b=M.tooltipPlacement),"disabledTooltipContent"in M&&i(17,C=M.disabledTooltipContent),"isAriaHidden"in M&&i(8,k=M.isAriaHidden),"onTooltipVisibilityChange"in M&&i(9,w=M.onTooltipVisibilityChange),"initialTranslateXPx"in M&&i(10,y=M.initialTranslateXPx),"initialTranslateYPx"in M&&i(11,E=M.initialTranslateYPx),"$$scope"in M&&i(24,o=M.$$scope)},t.$$.update=()=>{t.$$.dirty&458784&&(a?i(12,ee=n?Q("tooltip_disabled_when_graph_on"):C):i(12,ee=g))},[f,d,s,c,h,g,_,b,k,w,y,E,ee,l,q,V,a,C,n,r,re,N,X,J,o]}class Ft extends ke{constructor(e){super(),we(this,e,Th,Sh,be,{className:2,disabled:16,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,tooltipActive:6,tooltipPlacement:7,disabledTooltipContent:17,isAriaHidden:8,onTooltipVisibilityChange:9,initialTranslateXPx:10,initialTranslateYPx:11},wh)}}function Ph(t){let e,i,n,l,r;return{c(){e=D("svg"),i=D("rect"),l=D("path"),u(i,"width","20"),u(i,"height","20"),u(i,"rx","10"),u(i,"fill","white"),u(i,"fill-opacity",n=t[0]?1:.24),u(l,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(l,"fill",r=t[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){T(o,e,s),p(e,i),p(e,l)},p(o,[s]){s&1&&n!==(n=o[0]?1:.24)&&u(i,"fill-opacity",n),s&1&&r!==(r=o[0]?"var(--interactive-episode-complete)":"white")&&u(l,"fill",r)},i:W,o:W,d(o){o&&S(e)}}}function Eh(t,e,i){let{completed:n}=e;return t.$$set=l=>{"completed"in l&&i(0,n=l.completed)},[n]}class $c extends ke{constructor(e){super(),we(this,e,Eh,Ph,be,{completed:0})}}function Ih(t){Ke(t,"v-bklhpe",".interactive-episode-icon.v-bklhpe{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}.interactive-episode-icon.disabled.v-bklhpe{pointer-events:none;opacity:0.4}")}function Ah(t){let e,i,n,l,r;return i=new $c({props:{completed:!!t[0].completed}}),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${t[0].from+t[0].width/2}%`),No(()=>t[3].call(e)),R(e,"disabled",t[1])},m(o,s){T(o,e,s),j(i,e,null),l=gr(e,t[3].bind(e)),r=!0},p(o,s){const a={};s&1&&(a.completed=!!o[0].completed),i.$set(a),(!r||s&1&&n!==(n=`left: ${o[0].from+o[0].width/2}%`))&&u(e,"style",n),(!r||s&2)&&R(e,"disabled",o[1])},i(o){r||(m(i.$$.fragment,o),r=!0)},o(o){v(i.$$.fragment,o),r=!1},d(o){o&&S(e),Z(i),l()}}}function Lh(t){let e,i;return e=new Ft({props:{tooltipContent:Q(t[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished"),initialTranslateXPx:-10,initialTranslateYPx:-10,disabled:t[1],width:t[2]||0,isAriaHidden:!0,isFullWidthTooltip:!1,$$slots:{default:[Ah]},$$scope:{ctx:t}}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.tooltipContent=Q(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),l&2&&(r.disabled=n[1]),l&4&&(r.width=n[2]||0),l&23&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Vh(t,e,i){let{videoEpisode:n}=e,{disabled:l}=e,r;function o(){r=this.clientWidth,i(2,r)}return t.$$set=s=>{"videoEpisode"in s&&i(0,n=s.videoEpisode),"disabled"in s&&i(1,l=s.disabled)},[n,l,r,o]}class Mh extends ke{constructor(e){super(),we(this,e,Vh,Lh,be,{videoEpisode:0,disabled:1},Ih)}}function Bh(t){Ke(t,"v-1h9p3m2",".video-episodes-wrap.v-1h9p3m2{position:absolute;width:100%;height:100%}.video-episode.v-1h9p3m2{position:absolute;height:calc(3 * var(--slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--slider-height) var(--slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-1h9p3m2:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-1h9p3m2,.video-episode-loaded.v-1h9p3m2,.video-episode-filled.v-1h9p3m2{position:absolute;height:var(--slider-height);border-radius:var(--slider-radius)}.video-episode-inner.v-1h9p3m2{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--slider-video-episode-gap));background:var(--slider-bg)}.video-episode-loaded.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}")}function Pa(t,e,i){const n=t.slice();return n[2]=e[i],n}function Ea(t){let e,i,n,l,r,o,s,a,c;return{c(){e=P("div"),i=P("div"),n=P("div"),r=H(),o=P("div"),a=H(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",l=`transform: translateX(${t[2].loadedWidth/t[2].width*100}%)`),u(o,"class","video-episode-filled v-1h9p3m2"),u(o,"style",s=`transform: translateX(${t[2].filledWidth/t[2].width*100}%)`),R(o,"mobile",t[1]),u(i,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${t[2].from}%; width: ${t[2].width}%`),R(e,"mobile",t[1])},m(f,d){T(f,e,d),p(e,i),p(i,n),p(i,r),p(i,o),p(e,a)},p(f,d){d&1&&l!==(l=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",l),d&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(o,"style",s),d&2&&R(o,"mobile",f[1]),d&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),d&2&&R(e,"mobile",f[1])},d(f){f&&S(e)}}}function Nh(t){let e,i=Xt(t[0]),n=[];for(let l=0;l<i.length;l+=1)n[l]=Ea(Pa(t,i,l));return{c(){e=P("div");for(let l=0;l<n.length;l+=1)n[l].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(l,r){T(l,e,r);for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(e,null)},p(l,[r]){if(r&3){i=Xt(l[0]);let o;for(o=0;o<i.length;o+=1){const s=Pa(l,i,o);n[o]?n[o].p(s,r):(n[o]=Ea(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},i:W,o:W,d(l){l&&S(e),Mn(n,l)}}}function Rh(t,e,i){let{videoEpisodes:n=[]}=e,{isMobile:l}=e;return t.$$set=r=>{"videoEpisodes"in r&&i(0,n=r.videoEpisodes),"isMobile"in r&&i(1,l=r.isMobile)},[n,l]}class Oh extends ke{constructor(e){super(),we(this,e,Rh,Nh,be,{videoEpisodes:0,isMobile:1},Bh)}}function Dh(t){Ke(t,"v-1golz1y",".interactive-icons.v-1golz1y.v-1golz1y{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-1golz1y.v-1golz1y{top:-10px}.slider.v-1golz1y.v-1golz1y{position:relative;height:var(--slider-height);border-radius:var(--slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-1golz1y.v-1golz1y{cursor:default}.slider.v-1golz1y.v-1golz1y:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--controls-height) / 2 - var(--slider-height)) / 2);height:calc(var(--controls-height) / 2)}.bars.v-1golz1y.v-1golz1y{position:absolute;width:100%;height:100%;border-radius:var(--slider-radius);overflow:hidden;background:var(--slider-bg)}.loaded.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.filled.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}.slider.square.v-1golz1y.v-1golz1y,.slider.square.v-1golz1y>.bars.v-1golz1y,.slider.square.v-1golz1y .loaded.v-1golz1y,.slider.square.v-1golz1y .filled.v-1golz1y{border-radius:unset}.filled.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.filled.ads.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-ads)}.handleWrap.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%}.handle.v-1golz1y.v-1golz1y{position:absolute;width:var(--slider-handle-size);height:var(--slider-handle-size);right:calc(-1 * var(--slider-handle-size) / 2);top:calc((var(--slider-height) - var(--slider-handle-size)) / 2);border-radius:50%;background-color:var(--slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.slider.v-1golz1y:hover .handle.v-1golz1y,.slider-dragging.v-1golz1y .handle.v-1golz1y{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-1golz1y .handle.v-1golz1y{transform:scale(1.3)}.slider-vertical.v-1golz1y.v-1golz1y{position:absolute;left:-8px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.slider.disabled.v-1golz1y.v-1golz1y{cursor:default;pointer-events:none;opacity:0.4}")}function Ia(t,e,i){const n=t.slice();return n[48]=e[i],n}function Aa(t){let e,i,n=Xt(t[21]),l=[];for(let o=0;o<n.length;o+=1)l[o]=Va(Ia(t,n,o));const r=o=>v(l[o],1,1,()=>{l[o]=null});return{c(){e=P("div");for(let o=0;o<l.length;o+=1)l[o].c();u(e,"class","interactive-icons v-1golz1y"),R(e,"mobile",t[5]),R(e,"hidden",t[5]&&!t[20])},m(o,s){T(o,e,s);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(e,null);i=!0},p(o,s){if(s[0]&2097664){n=Xt(o[21]);let a;for(a=0;a<n.length;a+=1){const c=Ia(o,n,a);l[a]?(l[a].p(c,s),m(l[a],1)):(l[a]=Va(c),l[a].c(),m(l[a],1),l[a].m(e,null))}for(ce(),a=n.length;a<l.length;a+=1)r(a);fe()}(!i||s[0]&32)&&R(e,"mobile",o[5]),(!i||s[0]&1048608)&&R(e,"hidden",o[5]&&!o[20])},i(o){if(!i){for(let s=0;s<n.length;s+=1)m(l[s]);i=!0}},o(o){l=l.filter(Boolean);for(let s=0;s<l.length;s+=1)v(l[s]);i=!1},d(o){o&&S(e),Mn(l,o)}}}function La(t){let e,i;return e=new Mh({props:{videoEpisode:t[48],disabled:t[9]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&2097152&&(r.videoEpisode=n[48]),l[0]&512&&(r.disabled=n[9]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Va(t){let e,i,n=t[48].interactive&&La(t);return{c(){n&&n.c(),e=bt()},m(l,r){n&&n.m(l,r),T(l,e,r),i=!0},p(l,r){l[48].interactive?n?(n.p(l,r),r[0]&2097152&&m(n,1)):(n=La(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(ce(),v(n,1,1,()=>{n=null}),fe())},i(l){i||(m(n),i=!0)},o(l){v(n),i=!1},d(l){l&&S(e),n&&n.d(l)}}}function zh(t){let e,i,n,l,r,o;return{c(){e=P("div"),i=P("div"),l=H(),r=P("div"),u(i,"class","loaded v-1golz1y"),u(i,"style",n=`transform: translateX(${t[11]*100}%);`),u(r,"class","filled v-1golz1y"),u(r,"style",o=`transform: translateX(${t[12]*100}%);`),R(r,"active-live",t[4]),R(r,"ads",t[6]),u(e,"class","bars v-1golz1y")},m(s,a){T(s,e,a),p(e,i),p(e,l),p(e,r)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(i,"style",n),a[0]&4096&&o!==(o=`transform: translateX(${s[12]*100}%);`)&&u(r,"style",o),a[0]&16&&R(r,"active-live",s[4]),a[0]&64&&R(r,"ads",s[6])},i:W,o:W,d(s){s&&S(e)}}}function Hh(t){let e,i;return e=new Oh({props:{videoEpisodes:t[21],isMobile:t[5]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&2097152&&(r.videoEpisodes=n[21]),l[0]&32&&(r.isMobile=n[5]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Fh(t){let e,i,n,l,r,o,s,a,c,f,d,h,g,_=t[8]&&Aa(t);const b=[Hh,zh],C=[];function k(w,y){return w[21].length?0:1}return n=k(t),l=C[n]=b[n](t),{c(){var w;_&&_.c(),e=H(),i=P("div"),l.c(),r=H(),o=P("div"),s=P("div"),u(s,"class","handle v-1golz1y"),R(s,"active-live",t[4]),u(o,"class","handleWrap v-1golz1y"),u(o,"style",a=`transform: translateX(${t[13]*100}%);`),R(o,"hidden",t[10]),u(i,"class",c="slider "+t[0]+" v-1golz1y"),u(i,"aria-label",t[14]),u(i,"aria-valuemin",t[15]),u(i,"aria-valuemax",t[16]),u(i,"aria-valuenow",t[17]),u(i,"aria-valuetext",t[18]),u(i,"role","slider"),u(i,"tabindex","0"),u(i,"data-testid",f=(w=t[1])!=null?w:null),R(i,"disabled",t[9]),R(i,"slider-dragging",t[20]),R(i,"hidden",t[2]),R(i,"slider-vertical",t[3]),R(i,"no-handle",t[10]),R(i,"square",t[7])},m(w,y){_&&_.m(w,y),T(w,e,y),T(w,i,y),C[n].m(i,null),p(i,r),p(i,o),p(o,s),t[42](i),d=!0,h||(g=[he(i,"pointerdown",ii(t[22])),he(i,"pointermove",ii(t[23])),he(i,"pointerup",ii(t[24])),he(i,"pointerenter",ii(t[25])),he(i,"pointerleave",ii(t[26])),he(i,"click",ct(ie.noop)),he(i,"wheel",t[27])],h=!0)},p(w,y){var x;w[8]?_?(_.p(w,y),y[0]&256&&m(_,1)):(_=Aa(w),_.c(),m(_,1),_.m(e.parentNode,e)):_&&(ce(),v(_,1,1,()=>{_=null}),fe());let E=n;n=k(w),n===E?C[n].p(w,y):(ce(),v(C[E],1,1,()=>{C[E]=null}),fe(),l=C[n],l?l.p(w,y):(l=C[n]=b[n](w),l.c()),m(l,1),l.m(i,r)),(!d||y[0]&16)&&R(s,"active-live",w[4]),(!d||y[0]&8192&&a!==(a=`transform: translateX(${w[13]*100}%);`))&&u(o,"style",a),(!d||y[0]&1024)&&R(o,"hidden",w[10]),(!d||y[0]&1&&c!==(c="slider "+w[0]+" v-1golz1y"))&&u(i,"class",c),(!d||y[0]&16384)&&u(i,"aria-label",w[14]),(!d||y[0]&32768)&&u(i,"aria-valuemin",w[15]),(!d||y[0]&65536)&&u(i,"aria-valuemax",w[16]),(!d||y[0]&131072)&&u(i,"aria-valuenow",w[17]),(!d||y[0]&262144)&&u(i,"aria-valuetext",w[18]),(!d||y[0]&2&&f!==(f=(x=w[1])!=null?x:null))&&u(i,"data-testid",f),(!d||y[0]&513)&&R(i,"disabled",w[9]),(!d||y[0]&1048577)&&R(i,"slider-dragging",w[20]),(!d||y[0]&5)&&R(i,"hidden",w[2]),(!d||y[0]&9)&&R(i,"slider-vertical",w[3]),(!d||y[0]&1025)&&R(i,"no-handle",w[10]),(!d||y[0]&129)&&R(i,"square",w[7])},i(w){d||(m(_),m(l),d=!0)},o(w){v(_),v(l),d=!1},d(w){w&&(S(e),S(i)),_&&_.d(w),C[n].d(),t[42](null),h=!1,ut(g)}}}function Uh(t,e,i){let n,l,{className:r=""}=e,{testId:o=void 0}=e,{isHidden:s=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:d=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:g=[]}=e,{withWheelHandler:_=!1}=e,{isInteractive:b=!1}=e,{disabled:C=!1}=e,{hideHandel:k=!1}=e,w,y,{onPointerDown:E=ie.noop}=e,{onHandleMove:x=ie.noop}=e,{onPointerUp:q=ie.noop}=e,{onPointerEnter:V=ie.noop}=e,{onPointerMove:ee=ie.noop}=e,{onPointerLeave:re=ie.noop}=e,{onWheelUp:N=ie.noop}=e,{onWheelDown:X=ie.noop}=e,{onWheelLeft:J=ie.noop}=e,{onWheelRight:M=ie.noop}=e,{loadedProgress:A=0}=e,{filledProgress:O=0}=e,{handleProgress:ne=0}=e,{ariaLabel:L=""}=e,{ariaValueMin:G=void 0}=e,{ariaValueMax:_e=void 0}=e,{ariaValueNow:Ee=void 0}=e,{ariaValueText:Le=""}=e;const Ne=wn();let Fe=!1,pe;function F(B){if(Fe)return;i(20,Fe=!0),y=w.getBoundingClientRect();const Te=Ie(B.clientX,B.clientY);E(Te),w.setPointerCapture(B.pointerId)}function ue(B){const Te=Ie(B.clientX,B.clientY),se=ze(B.clientX);ee(Te,se,y.width),Fe&&x(Te)}function ye(B){if(!Fe)return;i(20,Fe=!1);const Te=Ie(B.clientX,B.clientY);q(Te)}function Ue(B){y=w.getBoundingClientRect();const Te=Ie(B.clientX,B.clientY),se=ze(B.clientX);V(Te,se,y.width)}function We(){re()}function me(B){_&&(B.preventDefault(),B.deltaY<0?N():B.deltaY>0?X():B.deltaX>0?M():J())}function Ie(B,Te){return a?Math.max(0,Math.min(1,(y.height-(Te-y.top))/y.height)):Math.min(Math.max(B-y.x,0),y.width)/y.width}function ze(B){return Math.min(Math.max(B-y.x,0),y.width)}function qe(B,Te){const se=Ne.features.episodesClustering&&!b?Ne.episodeMinWidthPc:0,Ce=[];let Ge=0,tt=0,st=0;for(let at=1;at<g.length;at++)tt=g[at].time/pe*100,tt-Ge>se&&(Ce.push({from:Ge,width:Math.max(0,tt-Ge),loadedWidth:Math.max(0,Math.min(tt,B)-Ge),filledWidth:Math.max(0,Math.min(tt,Te)-Ge),interactive:g[at-1].interactive,completed:g[at-1].completed}),Ge=g[at].time/pe*100,st++);const it={from:Ge,width:Math.max(0,100-Ge),loadedWidth:Math.max(0,Math.min(B,100)-Ge),filledWidth:Math.max(0,Math.min(Te,100)-Ge),interactive:g[st].interactive,completed:g[st].completed};100-Ge<se?(st-=1,Ce[st].width+=100-Ge,Ce[st].loadedWidth+=Math.max(0,Math.min(B,100)-Ge),Ce[st].filledWidth+=Math.max(0,Math.min(Te,100)-Ge)):Ce[st]=it;const pt=g[0].time;if(pt!==0){const at=pt/pe*100;Ce.unshift({from:0,width:at,loadedWidth:Math.min(at,B),filledWidth:Math.min(at,Te)})}return Ce}function ge(B){Se[B?"unshift":"push"](()=>{w=B,i(19,w)})}return t.$$set=B=>{"className"in B&&i(0,r=B.className),"testId"in B&&i(1,o=B.testId),"isHidden"in B&&i(2,s=B.isHidden),"isVertical"in B&&i(3,a=B.isVertical),"isActiveLive"in B&&i(4,c=B.isActiveLive),"isMobile"in B&&i(5,f=B.isMobile),"isAds"in B&&i(6,d=B.isAds),"squareBorders"in B&&i(7,h=B.squareBorders),"videoEpisodes"in B&&i(28,g=B.videoEpisodes),"withWheelHandler"in B&&i(29,_=B.withWheelHandler),"isInteractive"in B&&i(8,b=B.isInteractive),"disabled"in B&&i(9,C=B.disabled),"hideHandel"in B&&i(10,k=B.hideHandel),"onPointerDown"in B&&i(30,E=B.onPointerDown),"onHandleMove"in B&&i(31,x=B.onHandleMove),"onPointerUp"in B&&i(32,q=B.onPointerUp),"onPointerEnter"in B&&i(33,V=B.onPointerEnter),"onPointerMove"in B&&i(34,ee=B.onPointerMove),"onPointerLeave"in B&&i(35,re=B.onPointerLeave),"onWheelUp"in B&&i(36,N=B.onWheelUp),"onWheelDown"in B&&i(37,X=B.onWheelDown),"onWheelLeft"in B&&i(38,J=B.onWheelLeft),"onWheelRight"in B&&i(39,M=B.onWheelRight),"loadedProgress"in B&&i(11,A=B.loadedProgress),"filledProgress"in B&&i(12,O=B.filledProgress),"handleProgress"in B&&i(13,ne=B.handleProgress),"ariaLabel"in B&&i(14,L=B.ariaLabel),"ariaValueMin"in B&&i(15,G=B.ariaValueMin),"ariaValueMax"in B&&i(16,_e=B.ariaValueMax),"ariaValueNow"in B&&i(17,Ee=B.ariaValueNow),"ariaValueText"in B&&i(18,Le=B.ariaValueText)},t.$$.update=()=>{var B;t.$$.dirty[0]&65536&&i(40,pe=_e!=null?_e:0),t.$$.dirty[0]&268435456|t.$$.dirty[1]&512&&i(41,n=((B=g[g.length-1])==null?void 0:B.time)<pe),t.$$.dirty[0]&268441600|t.$$.dirty[1]&1536&&i(21,l=g.length&&n&&pe?qe(A*100,O*100):[])},[r,o,s,a,c,f,d,h,b,C,k,A,O,ne,L,G,_e,Ee,Le,w,Fe,l,F,ue,ye,Ue,We,me,g,_,E,x,q,V,ee,re,N,X,J,M,pe,n,ge]}class Lr extends ke{constructor(e){super(),we(this,e,Uh,Fh,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},Dh,[-1,-1])}}const An=(t,e)=>Ro[t]>=Ro[e],qh=(t,e)=>Ro[t]<Ro[e],ef=(t,e)=>Ro[t]<=Ro[e],jh=t=>t>Lo.L?exports.GridTypes.XL:t>Lo.M?exports.GridTypes.L:t>Lo.S?exports.GridTypes.M:t>Lo.XS?exports.GridTypes.S:exports.GridTypes.XS;function Zh(t){Ke(t,"v-1l78lz9",".volumeBar-container.v-1l78lz9{display:flex;align-items:center}.volumeBar-container.vertical.v-1l78lz9,.vertical.v-1l78lz9 .tooltip-wrapper,.vertical.v-1l78lz9 .btn{width:40px}.volumeBar.v-1l78lz9{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1l78lz9{padding:0 8px 0 0;width:0}")}function Kh(t){let e,i;return e=new Il({props:{volume:t[3],muted:t[1]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&8&&(r.volume=n[3]),l[0]&2&&(r.muted=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Wh(t){let e,i;return e=new ki({props:{className:"btn-full-opacity",disabled:t[9],testId:t[2]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:t[7],click:t[0],ariaKeyShortCut:Yo[Ae.KeyM],$$slots:{default:[Kh]},$$scope:{ctx:t}}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&512&&(r.disabled=n[9]),l[0]&4&&(r.testId=n[2]?"btn-volume-vertical":"btn-volume-horizontal"),l[0]&128&&(r.ariaLabel=n[7]),l[0]&1&&(r.click=n[0]),l[0]&10|l[1]&32&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Ma(t){let e,i,n;return i=new Lr({props:{className:t[2]?"volumeBar-slider-vertical":"",isHidden:t[2]&&!t[5],isVertical:t[2],withWheelHandler:!0,onWheelUp:t[15],onWheelDown:t[16],onPointerDown:t[14],onHandleMove:t[17],onPointerUp:t[18],onPointerEnter:t[2]?t[19]:ie.noop,onPointerLeave:t[2]?t[20]:ie.noop,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(t[8]*100),ariaValueText:`${Math.round(t[8]*100)}%`,filledProgress:t[8],handleProgress:t[8],testId:t[2]?"volume-slider-vertical":"volume-slider"}}),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),R(e,"volumeBar-vertical",t[2])},m(l,r){T(l,e,r),j(i,e,null),n=!0},p(l,r){const o={};r[0]&4&&(o.className=l[2]?"volumeBar-slider-vertical":""),r[0]&36&&(o.isHidden=l[2]&&!l[5]),r[0]&4&&(o.isVertical=l[2]),r[0]&4&&(o.onPointerEnter=l[2]?l[19]:ie.noop),r[0]&4&&(o.onPointerLeave=l[2]?l[20]:ie.noop),r[0]&256&&(o.ariaValueNow=Math.round(l[8]*100)),r[0]&256&&(o.ariaValueText=`${Math.round(l[8]*100)}%`),r[0]&256&&(o.filledProgress=l[8]),r[0]&256&&(o.handleProgress=l[8]),r[0]&4&&(o.testId=l[2]?"volume-slider-vertical":"volume-slider"),i.$set(o),(!n||r[0]&4)&&R(e,"volumeBar-vertical",l[2])},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),Z(i)}}}function Gh(t){let e,i,n,l,r,o;i=new xc({props:{content:t[6],translateY:-18,$$slots:{default:[Wh]},$$scope:{ctx:t}}});let s=t[4]&&Ma(t);return{c(){e=P("div"),K(i.$$.fragment),n=H(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),R(e,"vertical",t[2])},m(a,c){T(a,e,c),j(i,e,null),p(e,n),s&&s.m(e,null),l=!0,r||(o=[he(e,"mouseenter",function(){Vn(t[2]?t[21]:ie.noop)&&(t[2]?t[21]:ie.noop).apply(this,arguments)}),he(e,"mouseleave",function(){Vn(t[2]?t[22]:ie.noop)&&(t[2]?t[22]:ie.noop).apply(this,arguments)}),he(e,"wheel",ii(t[23]))],r=!0)},p(a,c){t=a;const f={};c[0]&64&&(f.content=t[6]),c[0]&655|c[1]&32&&(f.$$scope={dirty:c,ctx:t}),i.$set(f),t[4]?s?(s.p(t,c),c[0]&16&&m(s,1)):(s=Ma(t),s.c(),m(s,1),s.m(e,null)):s&&(ce(),v(s,1,1,()=>{s=null}),fe()),(!l||c[0]&4)&&R(e,"vertical",t[2])},i(a){l||(m(i.$$.fragment,a),m(s),l=!0)},o(a){v(i.$$.fragment,a),v(s),l=!1},d(a){a&&S(e),Z(i),s&&s.d(),r=!1,ut(o)}}}function Yh(t,e,i){var Fe,pe;let n,l,r,o,{click:s}=e;const a=Et(),c=wn(),f=a.state.volume$;z(t,f,F=>i(3,n=F));const d=a.state.muted$;z(t,d,F=>i(25,o=F));const h=a.actions.internal.setVolume,g=a.ui.currentGridType$;z(t,g,F=>i(24,r=F));const _=(Fe=a.callbacks)==null?void 0:Fe.onAudioDoesNotExistHint,b=(pe=a.callbacks)==null?void 0:pe.onAudioDisabledHint,C=a.state.isAudioAvailable$;z(t,C,F=>i(4,l=F));const k=a.state.isAudioDisabled;let w=!1,y,E,x,q,V,ee,re=1,N=!1,X=!1;function J(F){re=n,h(F)}function M(){jc(a,n,c.controls.volumeStepWheel)}function A(){Zc(a,n,c.controls.volumeStepWheel)}function O(F){h(F)}function ne(F){const ue=F;h(ue,ue===0?re:ue)}function L(){N=!0}function G(){N=!1,Le()}function _e(){clearTimeout(y),i(5,w=!0)}function Ee(){Le()}function Le(){y=window.setTimeout(()=>{N||i(5,w=!1)},c.controls.volumeBarTimeout)}function Ne(F){F.deltaY<0?M():F.deltaY>0&&A()}return t.$$set=F=>{"click"in F&&i(0,s=F.click)},t.$$.update=()=>{t.$$.dirty[0]&33554448&&i(1,q=!l||o),t.$$.dirty[0]&16777216&&i(2,V=ef(r,exports.GridTypes.S)),t.$$.dirty[0]&6&&(V?i(6,E=""):i(6,E=Q(q?"tooltip_volume":"tooltip_volume_muted")),i(7,x=Q(q?"tooltip_volume":"tooltip_volume_muted"))),t.$$.dirty[0]&10&&i(8,ee=q?0:n),t.$$.dirty[0]&16&&i(9,X=k&&!b||!l&&!_)},[s,q,V,n,l,w,E,x,ee,X,f,d,g,C,J,M,A,O,ne,L,G,_e,Ee,Ne,r,o]}class Qh extends ke{constructor(e){super(),we(this,e,Yh,Gh,be,{click:0},Zh,[-1,-1])}}function Xh(t){let e;return{c(){e=D("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(i,n){T(i,e,n)},d(i){i&&S(e)}}}function Jh(t){let e;return{c(){e=D("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(i,n){T(i,e,n)},d(i){i&&S(e)}}}function xh(t){let e,i,n;function l(s,a){return s[0]?Jh:Xh}let r=l(t),o=r(t);return{c(){e=D("svg"),i=D("g"),o.c(),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(s,a){T(s,e,a),p(e,i),o.m(i,null)},p(s,[a]){r!==(r=l(s))&&(o.d(1),o=r(s),o&&(o.c(),o.m(i,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:W,o:W,d(s){s&&S(e),o.d()}}}function $h(t,e,i){let{isFullscreen:n=!1}=e;return t.$$set=l=>{"isFullscreen"in l&&i(0,n=l.isFullscreen)},[n]}class e5 extends ke{constructor(e){super(),we(this,e,$h,xh,be,{isFullscreen:0})}}function t5(t){let e,i;return e=new e5({props:{isFullscreen:t[0]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&1&&(r.isFullscreen=n[0]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function i5(t){let e,i;return e=new ki({props:{testId:"btn-fullscreen",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Yo[Ae.KeyF],$$slots:{default:[t5]},$$scope:{ctx:t}}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,[l]){const r={};l&4&&(r.ariaLabel=n[2]),l&2&&(r.click=n[1]),l&9&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function n5(t,e,i){let{isFullscreen:n=!1}=e,{click:l=ie.noop}=e,r;return t.$$set=o=>{"isFullscreen"in o&&i(0,n=o.isFullscreen),"click"in o&&i(1,l=o.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,r=Q(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,l,r]}class tf extends ke{constructor(e){super(),we(this,e,n5,i5,be,{isFullscreen:0,click:1})}}function o5(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class Vr extends ke{constructor(e){super(),we(this,e,null,o5,be,{})}}function l5(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class nf extends ke{constructor(e){super(),we(this,e,null,l5,be,{})}}function r5(t){Ke(t,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Ba(t){let e;return{c(){e=P("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){T(i,e,n)},d(i){i&&S(e)}}}function s5(t){let e,i,n,l,r=t[1]&&Ba();var o=t[8];function s(a){return{}}return o&&(n=Dn(o,s())),{c(){r&&r.c(),e=H(),i=P("div"),n&&K(n.$$.fragment),u(i,"class","v-1ot3duq"),R(i,"mobile",t[1])},m(a,c){r&&r.m(a,c),T(a,e,c),T(a,i,c),n&&j(n,i,null),l=!0},p(a,c){if(a[1]?r||(r=Ba(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),c&256&&o!==(o=a[8])){if(n){ce();const f=n;v(f.$$.fragment,1,0,()=>{Z(f,1)}),fe()}o?(n=Dn(o,s()),K(n.$$.fragment),m(n.$$.fragment,1),j(n,i,null)):n=null}(!l||c&2)&&R(i,"mobile",a[1])},i(a){l||(n&&m(n.$$.fragment,a),l=!0)},o(a){n&&v(n.$$.fragment,a),l=!1},d(a){a&&(S(e),S(i)),r&&r.d(a),n&&Z(n)}}}function a5(t){let e,i,n;function l(o){t[13](o)}let r={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-play",click:t[5]?t[6]:t[4],disabled:t[2],ariaLabel:t[7],ariaKeyShortCut:Yo[Ae.KeyK],$$slots:{default:[s5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new ki({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,[s]){const a={};s&10&&(a.className=(o[1]?"btn-m--play":"")+" "+o[3]),s&112&&(a.click=o[5]?o[6]:o[4]),s&4&&(a.disabled=o[2]),s&128&&(a.ariaLabel=o[7]),s&33026&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function u5(t,e,i){let n,l;const{fakeIsPlaying$:r}=Do();z(t,r,w=>i(12,l=w));let{ref:o=void 0}=e,{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:d=ie.noop}=e;const{toggle:h}=r;let g,_,b,C;function k(w){o=w,i(0,o)}return t.$$set=w=>{"ref"in w&&i(0,o=w.ref),"isMobile"in w&&i(1,s=w.isMobile),"isPlaying"in w&&i(10,a=w.isPlaying),"disabled"in w&&i(2,c=w.disabled),"className"in w&&i(3,f=w.className),"click"in w&&i(4,d=w.click)},t.$$.update=()=>{t.$$.dirty&4096&&i(5,_=l!==null),t.$$.dirty&5152&&i(11,b=_?l:a),t.$$.dirty&2048&&i(7,C=Q(b?"tooltip_pause":"tooltip_play")),t.$$.dirty&2048&&i(8,n=b?nf:Vr)},i(6,g=h),[o,s,c,f,d,_,g,C,n,r,a,b,l,k]}class Mr extends ke{constructor(e){super(),we(this,e,u5,a5,be,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},r5)}}function c5(t){Ke(t,"v-mb3pjo",".prev.v-mb3pjo{transform:scaleX(-1)}.mobile.v-mb3pjo{transform:scale(1.3333)}.mobile.prev.v-mb3pjo{transform:scaleX(-1) scale(1.3333)}")}function f5(t){let e,i,n;return{c(){e=D("svg"),i=D("path"),u(i,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(i,"fill","#fff"),u(e,"data-testid",n=t[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),R(e,"prev",t[0]),R(e,"mobile",t[1])},m(l,r){T(l,e,r),p(e,i)},p(l,[r]){r&1&&n!==(n=l[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),r&1&&R(e,"prev",l[0]),r&2&&R(e,"mobile",l[1])},i:W,o:W,d(l){l&&S(e)}}}function d5(t,e,i){let{isPrev:n=!1}=e,{isMobile:l=!1}=e;return t.$$set=r=>{"isPrev"in r&&i(0,n=r.isPrev),"isMobile"in r&&i(1,l=r.isMobile)},[n,l]}class m5 extends ke{constructor(e){super(),we(this,e,d5,f5,be,{isPrev:0,isMobile:1},c5)}}function p5(t){let e,i;return e=new m5({props:{isMobile:t[1],isPrev:t[3]==="prev"}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isMobile=n[1]),l&8&&(r.isPrev=n[3]==="prev"),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function h5(t){let e,i,n;function l(o){t[6](o)}let r={testId:"btn-"+t[3],disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[p5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new ki({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,[s]){const a={};s&8&&(a.testId="btn-"+o[3]),s&4&&(a.disabled=o[2]),s&32&&(a.ariaLabel=o[5]),s&16&&(a.click=o[4]),s&138&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function v5(t,e,i){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{disabled:r=!1}=e,{type:o}=e,{click:s}=e,a;function c(f){n=f,i(0,n)}return t.$$set=f=>{"ref"in f&&i(0,n=f.ref),"isMobile"in f&&i(1,l=f.isMobile),"disabled"in f&&i(2,r=f.disabled),"type"in f&&i(3,o=f.type),"click"in f&&i(4,s=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=Q(o==="prev"?"tooltip_previous":"tooltip_next"))},[n,l,r,o,s,a,c]}class Al extends ke{constructor(e){super(),we(this,e,v5,h5,be,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function g5(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class b5 extends ke{constructor(e){super(),we(this,e,null,g5,be,{})}}function _5(t){Ke(t,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function Na(t){let e,i,n,l,r,o,s;return{c(){e=D("path"),i=D("path"),n=D("path"),l=D("path"),r=D("path"),o=D("path"),s=D("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(i,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(i,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(l,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(l,"fill","white"),u(r,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(r,"fill","white"),u(o,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(o,"fill","white"),u(s,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(s,"fill","white")},m(a,c){T(a,e,c),T(a,i,c),T(a,n,c),T(a,l,c),T(a,r,c),T(a,o,c),T(a,s,c)},d(a){a&&(S(e),S(i),S(n),S(l),S(r),S(o),S(s))}}}function w5(t){let e,i,n,l=!t[0]&&Na();return{c(){e=D("svg"),i=D("path"),l&&l.c(),u(i,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(i,"fill","white"),u(e,"width",t[2]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(t[2]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",t[3]),u(e,"class","v-1bbobod"),R(e,"mobile",t[1])},m(r,o){T(r,e,o),p(e,i),l&&l.m(e,null)},p(r,[o]){r[0]?l&&(l.d(1),l=null):l||(l=Na(),l.c(),l.m(e,null)),o&4&&u(e,"width",r[2]),o&4&&n!==(n="0 0 "+(r[2]+1)+" 20")&&u(e,"viewBox",n),o&8&&u(e,"data-testid",r[3]),o&2&&R(e,"mobile",r[1])},i:W,o:W,d(r){r&&S(e),l&&l.d()}}}function k5(t,e,i){let{short:n=!1}=e,{isMobile:l=!1}=e,r,o;return t.$$set=s=>{"short"in s&&i(0,n=s.short),"isMobile"in s&&i(1,l=s.isMobile)},t.$$.update=()=>{t.$$.dirty&1&&(i(2,r=n?20:93),i(3,o=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,l,r,o]}class y5 extends ke{constructor(e){super(),we(this,e,k5,w5,be,{short:0,isMobile:1},_5)}}function C5(t){let e,i,n,l,r,o,s,a,c,f,d,h,g;return{c(){e=D("svg"),i=D("g"),n=D("path"),l=D("path"),r=D("defs"),o=D("filter"),s=D("feFlood"),a=D("feColorMatrix"),c=D("feOffset"),f=D("feGaussianBlur"),d=D("feColorMatrix"),h=D("feBlend"),g=D("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15 16.6C15 14.6398 15 13.6597 15.3815 12.911C15.717 12.2525 16.2525 11.717 16.911 11.3815C17.6597 11 18.6398 11 20.6 11H21.96C24.4242 11 25.6563 11 26.5976 11.4796C27.4255 11.9014 28.0986 12.5745 28.5204 13.4024C29 14.3437 29 15.5758 29 18.04V21.96C29 24.4242 29 25.6563 28.5204 26.5976C28.0986 27.4255 27.4255 28.0986 26.5976 28.5204C25.6563 29 24.4242 29 21.96 29H20.6C18.6398 29 17.6597 29 16.911 28.6185C16.2525 28.283 15.717 27.7475 15.3815 27.089C15 26.3403 15 25.3602 15 23.4V16.6ZM24.2646 18.3443C25.1663 18.8828 25.6171 19.1521 25.7699 19.5007C25.9032 19.805 25.9032 20.1511 25.7699 20.4554C25.6171 20.804 25.1663 21.0733 24.2646 21.6118L21.8788 23.0367C20.9363 23.5997 20.465 23.8812 20.0774 23.8445C19.7393 23.8125 19.4311 23.6376 19.2303 23.3638C19 23.0498 19 22.5008 19 21.403V18.5531C19 17.4552 19 16.9063 19.2303 16.5923C19.4311 16.3185 19.7393 16.1436 20.0774 16.1116C20.465 16.0749 20.9363 16.3564 21.8788 16.9193L24.2646 18.3443ZM13 17.04C13 14.5758 13 13.3437 13.4796 12.4025C13.7214 11.9278 14.0459 11.504 14.4348 11.1493C14.0394 11.2203 13.7058 11.325 13.4024 11.4796C12.5745 11.9015 11.9014 12.5746 11.4796 13.4025C11 14.3437 11 15.5758 11 18.04V21.96C11 24.4243 11 25.6564 11.4796 26.5976C11.9014 27.4255 12.5745 28.0986 13.4024 28.5205C13.7058 28.6751 14.0394 28.7798 14.4348 28.8508C14.0459 28.4961 13.7214 28.0723 13.4796 27.5976C13 26.6564 13 25.4243 13 22.96V17.04Z"),u(n,"fill","white"),u(l,"d","M14.6032 11.334L15.2433 10.7501L14.3906 10.9032C13.9767 10.9775 13.6187 11.0888 13.2889 11.2569C12.414 11.7027 11.7026 12.414 11.2568 13.289C10.9961 13.8007 10.872 14.3806 10.8108 15.1298C10.75 15.8737 10.75 16.8061 10.75 18.0284V18.04V21.96V21.9717C10.75 23.194 10.75 24.1264 10.8108 24.8703C10.872 25.6195 10.9961 26.1994 11.2568 26.7111C11.7026 27.5861 12.414 28.2974 13.2889 28.7432C13.6187 28.9113 13.9767 29.0225 14.3906 29.0969L15.2433 29.25L14.6032 28.6661C14.2365 28.3315 13.9304 27.9318 13.7023 27.4841C13.4835 27.0546 13.3678 26.5478 13.3091 25.8296C13.2502 25.1084 13.25 24.1963 13.25 22.96V17.04C13.25 15.8038 13.2502 14.8917 13.3091 14.1705C13.3678 13.4522 13.4835 12.9455 13.7023 12.516C13.9304 12.0683 14.2365 11.6686 14.6032 11.334ZM15.1587 12.7975C14.947 13.213 14.8475 13.6818 14.7985 14.2808C14.75 14.8747 14.75 15.6181 14.75 16.5884V16.6V23.4V23.4116C14.75 24.3819 14.75 25.1253 14.7985 25.7192C14.8475 26.3182 14.947 26.787 15.1587 27.2025C15.5183 27.9081 16.0919 28.4818 16.7975 28.8413C17.213 29.053 17.6818 29.1525 18.2808 29.2015C18.8747 29.25 19.6181 29.25 20.5884 29.25H20.6H21.96H21.9717C23.1939 29.25 24.1264 29.25 24.8703 29.1892C25.6194 29.128 26.1993 29.0039 26.7111 28.7432C27.586 28.2974 28.2974 27.586 28.7432 26.7111C29.0039 26.1993 29.128 25.6194 29.1892 24.8703C29.25 24.1264 29.25 23.1939 29.25 21.9717V21.96V18.04V18.0283C29.25 16.8061 29.25 15.8736 29.1892 15.1297C29.128 14.3806 29.0039 13.8007 28.7432 13.2889C28.2974 12.414 27.586 11.7026 26.7111 11.2568C26.1993 10.9961 25.6194 10.872 24.8703 10.8108C24.1264 10.75 23.1939 10.75 21.9717 10.75H21.96H20.6H20.5884C19.6181 10.75 18.8747 10.75 18.2808 10.7985C17.6818 10.8475 17.213 10.947 16.7975 11.1587C16.0919 11.5183 15.5183 12.0919 15.1587 12.7975ZM24.1364 18.5589C24.5914 18.8307 24.9178 19.0259 25.1508 19.1958C25.3846 19.3661 25.4915 19.4884 25.5409 19.601C25.6462 19.8413 25.6462 20.1147 25.5409 20.355C25.4915 20.4677 25.3846 20.59 25.1508 20.7603C24.9178 20.9302 24.5914 21.1254 24.1364 21.3972L21.7506 22.8221C21.2751 23.1061 20.9332 23.31 20.662 23.44C20.3893 23.5707 20.2254 23.6074 20.1009 23.5956C19.8339 23.5703 19.5905 23.4322 19.4319 23.2159C19.358 23.1151 19.3054 22.9556 19.2778 22.6545C19.2503 22.3549 19.25 21.9568 19.25 21.403V18.5531C19.25 17.9992 19.2503 17.6012 19.2778 17.3016C19.3054 17.0005 19.358 16.841 19.4319 16.7402C19.5905 16.5239 19.8339 16.3858 20.1009 16.3605C20.2254 16.3487 20.3893 16.3854 20.662 16.5161C20.9332 16.6461 21.2751 16.85 21.7506 17.134L24.1364 18.5589Z"),u(l,"stroke","black"),u(l,"stroke-opacity","0.12"),u(l,"stroke-width","0.5"),u(i,"filter","url(#filter0_d_207_5101)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"type","matrix"),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,"type","matrix"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"mode","normal"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_207_5101"),u(g,"mode","normal"),u(g,"in","SourceGraphic"),u(g,"in2","effect1_dropShadow_207_5101"),u(g,"result","shape"),u(o,"id","filter0_d_207_5101"),u(o,"x","5.5"),u(o,"y","5.35095"),u(o,"width","29"),u(o,"height","29.2982"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","40"),u(e,"height","40"),u(e,"viewBox","0 0 40 40"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(_,b){T(_,e,b),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,g)},p:W,i:W,o:W,d(_){_&&S(e)}}}class S5 extends ke{constructor(e){super(),we(this,e,null,C5,be,{})}}function T5(t){let e,i;return e=new b5({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p:W,i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function P5(t){let e,i;return e=new y5({props:{short:t[5]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&32&&(r.short=n[5]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function E5(t){let e,i;return e=new S5({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p:W,i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function I5(t){let e,i,n,l;const r=[E5,P5,T5],o=[];function s(a,c){return a[8]||a[4]?0:a[2]?1:2}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=bt()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(ce(),v(o[f],1,1,()=>{o[f]=null}),fe(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function A5(t){let e,i,n;function l(o){t[14](o)}let r={className:"btn-full-opacity",disabled:!t[1],click:t[9],testId:t[2]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:t[3],$$slots:{default:[I5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new ki({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.disabled=!o[1]),s&4&&(a.testId=o[2]?"btn-vk-video-logo":"btn-vk-logo"),s&8&&(a.ariaLabel=o[3]),s&1048628&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function L5(t,e,i){let n,l,r,{ref:o=void 0}=e,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=wn(),{logoLink:d,addTimeToLogoLink:h}=f,g=Et(),_=g.state.positionWithScrubbing$;z(t,_,V=>i(15,n=V));const b=g.ui.currentGridType$;z(t,b,V=>i(12,l=V));const C=g.ui.isMobile;z(t,C,V=>i(13,r=V));let k,w,y,E;const x=()=>{let V;if(w||!a)V=d;else{const ee=Math.round(n);if(h&&ee){const re=new URL(a);re.searchParams.append("t",ie.timeCodeToString(ee)),V=re.toString()}else V=a}c(),window.open(V,"_blank")};function q(V){o=V,i(0,o)}return t.$$set=V=>{"ref"in V&&i(0,o=V.ref),"logoClickable"in V&&i(1,s=V.logoClickable),"videoLogoUrl"in V&&i(10,a=V.videoLogoUrl),"click"in V&&i(11,c=V.click)},t.$$.update=()=>{t.$$.dirty&12292&&i(5,E=(r||ef(l,exports.GridTypes.L))&&w)},i(3,k=f.logoType===ao.VK_VIDEO?Q("tooltip_vk_video_logo"):Q("tooltip_vk_logo")),i(2,w=f.logoType===ao.VK_VIDEO),i(4,y=f.logoType===ao.VK_VIDEO_MOBILE),[o,s,w,k,y,E,_,b,C,x,a,c,l,r,q]}class of extends ke{constructor(e){super(),we(this,e,L5,A5,be,{ref:0,logoClickable:1,videoLogoUrl:10,click:11})}}function V5(t){Ke(t,"v-8z1bf5",".connecting.v-8z1bf5 .wave.v-8z1bf5{animation-duration:1s;animation-iteration-count:infinite}.connecting.v-8z1bf5 .wave1.v-8z1bf5{animation-name:v-8z1bf5-wave1}.connecting.v-8z1bf5 .wave2.v-8z1bf5{animation-name:v-8z1bf5-wave2}.connecting.v-8z1bf5 .wave3.v-8z1bf5{animation-name:v-8z1bf5-wave3}@keyframes v-8z1bf5-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function M5(t){let e,i,n,l,r,o,s,a;return{c(){e=D("svg"),i=D("g"),n=D("path"),l=D("path"),r=D("path"),o=D("path"),s=D("path"),a=D("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(l,"class","wave wave2 v-8z1bf5"),u(l,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(l,"fill","#fff"),u(r,"class","wave wave3 v-8z1bf5"),u(r,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(r,"fill","#fff"),u(o,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(o,"fill","#fff"),u(s,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),R(a,"hidden",!t[1]),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-icon"),u(e,"class","v-8z1bf5"),R(e,"connecting",t[2])},m(c,f){T(c,e,f),p(e,i),p(i,n),p(i,l),p(i,r),p(i,o),p(i,s),p(i,a)},p(c,f){f&2&&R(a,"hidden",!c[1]),f&4&&R(e,"connecting",c[2])},d(c){c&&S(e)}}}function B5(t){let e,i,n,l,r,o,s,a,c,f,d,h,g,_,b,C,k,w,y,E,x;return{c(){e=D("svg"),i=D("g"),n=D("mask"),l=D("path"),o=D("path"),s=D("path"),c=D("path"),f=D("defs"),d=D("clipPath"),h=D("path"),_=D("filter"),b=D("feFlood"),C=D("feColorMatrix"),k=D("feOffset"),w=D("feGaussianBlur"),y=D("feColorMatrix"),E=D("feBlend"),x=D("feBlend"),u(l,"fill",r=t[1]?"#2688EB":"#fff"),u(l,"d","M1.1 3.1h22v18h-22z"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(s,"fill",a=t[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(h,"fill",g=t[1]?"#2688EB":"#fff"),u(h,"d","M0 0h24v24H0z"),u(d,"id","a"),u(b,"flood-opacity","0"),u(b,"result","BackgroundImageFix"),u(C,"in","SourceAlpha"),u(C,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(C,"result","hardAlpha"),u(w,"stdDeviation","2.5"),u(y,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(E,"in2","BackgroundImageFix"),u(E,"result","effect1_dropShadow_4085_178456"),u(x,"in","SourceGraphic"),u(x,"in2","effect1_dropShadow_4085_178456"),u(x,"result","shape"),u(_,"id","b"),u(_,"x","-3.4"),u(_,"y","-1.4"),u(_,"width","30.8"),u(_,"height","26.802"),u(_,"filterUnits","userSpaceOnUse"),u(_,"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(q,V){T(q,e,V),p(e,i),p(i,n),p(n,l),p(n,o),p(i,s),p(i,c),p(e,f),p(f,d),p(d,h),p(f,_),p(_,b),p(_,C),p(_,k),p(_,w),p(_,y),p(_,E),p(_,x)},p(q,V){V&2&&r!==(r=q[1]?"#2688EB":"#fff")&&u(l,"fill",r),V&2&&a!==(a=q[1]?"#2688EB":"#fff")&&u(s,"fill",a),V&2&&g!==(g=q[1]?"#2688EB":"#fff")&&u(h,"fill",g)},d(q){q&&S(e)}}}function N5(t){let e;function i(r,o){return r[0]?B5:M5}let n=i(t),l=n(t);return{c(){l.c(),e=bt()},m(r,o){l.m(r,o),T(r,e,o)},p(r,[o]){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:W,o:W,d(r){r&&S(e),l.d(r)}}}function R5(t,e,i){let{isMobile:n=!1}=e,{state:l}=e,r,o;return t.$$set=s=>{"isMobile"in s&&i(0,n=s.isMobile),"state"in s&&i(3,l=s.state)},t.$$.update=()=>{t.$$.dirty&8&&(i(2,o=l===et.ChromecastState.CONNECTING),i(1,r=l===et.ChromecastState.CONNECTED))},[n,r,o,l]}class O5 extends ke{constructor(e){super(),we(this,e,R5,N5,be,{isMobile:0,state:3},V5)}}function D5(t){let e,i;return e=new O5({props:{isMobile:t[1],state:t[2]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isMobile=n[1]),l&4&&(r.state=n[2]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function z5(t){let e,i,n;function l(o){t[5](o)}let r={ariaLabel:t[4],click:t[3],testId:"btn-chromecast",$$slots:{default:[D5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new ki({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,[s]){const a={};s&16&&(a.ariaLabel=o[4]),s&8&&(a.click=o[3]),s&70&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function H5(t,e,i){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{state:r}=e,{click:o=ie.noop}=e,s;function a(c){n=c,i(0,n)}return t.$$set=c=>{"ref"in c&&i(0,n=c.ref),"isMobile"in c&&i(1,l=c.isMobile),"state"in c&&i(2,r=c.state),"click"in c&&i(3,o=c.click)},t.$$.update=()=>{t.$$.dirty&4&&i(4,s=r===et.ChromecastState.CONNECTED?Q("tooltip_chromecast_on"):Q("tooltip_chromecast_off"))},[n,l,r,o,s,a]}class lf extends ke{constructor(e){super(),we(this,e,H5,z5,be,{ref:0,isMobile:1,state:2,click:3})}}function F5(t){let e,i;return e=new Nc({props:{isActive:t[1]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isActive=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function U5(t){let e,i;return e=new ki({props:{className:t[0]?"":"btn--live btn-full-opacity",testId:t[1]?"btn-live":"btn-live-offset",disabled:t[1]&&t[3]===et.PlaybackState.PLAYING,ariaLabel:t[2],click:t[4],$$slots:{default:[F5]},$$scope:{ctx:t}}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.className=n[0]?"":"btn--live btn-full-opacity"),l&2&&(r.testId=n[1]?"btn-live":"btn-live-offset"),l&10&&(r.disabled=n[1]&&n[3]===et.PlaybackState.PLAYING),l&4&&(r.ariaLabel=n[2]),l&16&&(r.click=n[4]),l&514&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function q5(t,e,i){let n,{isMobile:l=!1}=e,{isActiveLive:r=!1}=e,{ariaLabel:o=""}=e;const s=Et(),a=s.state.playbackState$;z(t,a,h=>i(3,n=h));const c=s.actions.internal.switchToActiveLive,f=s.actions.internal.togglePlay;let d;return t.$$set=h=>{"isMobile"in h&&i(0,l=h.isMobile),"isActiveLive"in h&&i(1,r=h.isActiveLive),"ariaLabel"in h&&i(2,o=h.ariaLabel)},t.$$.update=()=>{t.$$.dirty&10&&i(4,d=()=>{if(!r){c();return}n===et.PlaybackState.PAUSED&&f()})},[l,r,o,n,d,a]}class rf extends ke{constructor(e){super(),we(this,e,q5,U5,be,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function j5(t){Ke(t,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function Z5(t){let e,i,n,l;const r=t[9].default,o=qn(r,t,t[8],null);return{c(){e=P("div"),i=P("div"),o&&o.c(),u(i,"class","tooltip v-5ygsa2"),R(i,"active",t[0]),R(i,"pointer",t[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${t[5]}px, ${t[2]}px);`)},m(s,a){T(s,e,a),p(e,i),o&&o.m(i,null),t[10](i),t[11](e),l=!0},p(s,[a]){o&&o.p&&(!l||a&256)&&Zn(o,r,s,s[8],l?jn(r,s[8],a,null):Kn(s[8]),null),(!l||a&1)&&R(i,"active",s[0]),(!l||a&2)&&R(i,"pointer",s[1]),(!l||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){l||(m(o,s),l=!0)},o(s){v(o,s),l=!1},d(s){s&&S(e),o&&o.d(s),t[10](null),t[11](null)}}}function K5(t,e,i){let n,{$$slots:l={},$$scope:r}=e,{active:o=!1}=e,{pointer:s=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,d,h;function g(C){if(!h)return 0;const{width:k}=h.getBoundingClientRect(),w=k/2;return C<w?w:C>f-w?f-w:C}function _(C){Se[C?"unshift":"push"](()=>{h=C,i(4,h)})}function b(C){Se[C?"unshift":"push"](()=>{d=C,i(3,d)})}return t.$$set=C=>{"active"in C&&i(0,o=C.active),"pointer"in C&&i(1,s=C.pointer),"translateXPx"in C&&i(6,a=C.translateXPx),"translateYPx"in C&&i(2,c=C.translateYPx),"containerWidth"in C&&i(7,f=C.containerWidth),"$$scope"in C&&i(8,r=C.$$scope)},t.$$.update=()=>{t.$$.dirty&64&&i(5,n=g(a))},[o,s,c,d,h,n,a,f,r,l,_,b]}class W5 extends ke{constructor(e){super(),we(this,e,K5,Z5,be,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},j5)}}const sf=(t,e,i)=>i.filter(n=>n.time<t*e).pop();function G5(t){Ke(t,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function Ra(t){let e;function i(r,o){return r[2]&&r[10].completed===!1?Q5:Y5}let n=i(t),l=n(t);return{c(){l.c(),e=bt()},m(r,o){l.m(r,o),T(r,e,o)},p(r,o){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&S(e),l.d(r)}}}function Y5(t){let e=(t[10].text||"")+"",i;return{c(){i=De(e)},m(n,l){T(n,i,l)},p(n,l){l&1024&&e!==(e=(n[10].text||"")+"")&&$e(i,e)},d(n){n&&S(i)}}}function Q5(t){let e=Q("tooltip_episode_unfinished")+"",i;return{c(){i=De(e)},m(n,l){T(n,i,l)},p:W,d(n){n&&S(i)}}}function X5(t){let e,i,n,l,r,o,s,a,c=t[10]&&Ra(t);return{c(){e=P("div"),i=P("div"),l=H(),r=P("div"),c&&c.c(),o=H(),s=P("div"),a=De(t[0]),u(i,"class","preview v-l51fc1"),u(i,"style",n=`width: ${t[3]}px; height: ${t[4]}px; background-image: url(${t[5]}); background-size: ${t[6]}px ${t[7]}px; background-position: ${t[8]}px ${t[9]}px; transform: translateY(${t[11]%180?-35:0}px) rotate(${t[11]}deg);`),u(r,"class","episode v-l51fc1"),u(s,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),R(e,"mobile",t[1])},m(f,d){T(f,e,d),p(e,i),p(e,l),p(e,r),c&&c.m(r,null),p(e,o),p(e,s),p(s,a)},p(f,[d]){d&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(i,"style",n),f[10]?c?c.p(f,d):(c=Ra(f),c.c(),c.m(r,null)):c&&(c.d(1),c=null),d&1&&$e(a,f[0]),d&2&&R(e,"mobile",f[1])},i:W,o:W,d(f){f&&S(e),c&&c.d()}}}const Io=150;function J5(t,e,i){let n,{time:l=""}=e,{isMobile:r=!1}=e,{videoEpisodes:o=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=Et().ui.rotateAlpha;z(t,h,V=>i(11,n=V));let g,_,b,C,k,w,y,E;function x(){let V=s.frameWidth,ee=s.frameHeight;return V>Io?(ee=ee/V*Io,V=Io):ee>Io&&(V=V/ee*Io,ee=Io),{width:V,height:ee}}function q(V){let ee;s.isUV?ee=Math.floor(c*V/s.frequency):ee=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*V)));const re=Math.floor(ee/s.countPerImage),N=Math.floor(ee%s.countPerImage/s.countPerRow),X=ee%s.countPerRow;let J=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&re===Math.floor(s.countTotal/s.countPerImage)&&(J=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&J++);let M=s.countPerRow;!s.isUV&&re===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(M=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const A=g*M,O=_*J,ne=-X*g,L=-N*_;return{imgSrc:s.links[re],imgWidth:A,imgHeight:O,imgOffsetX:ne,imgOffsetY:L}}return t.$$set=V=>{"time"in V&&i(0,l=V.time),"isMobile"in V&&i(1,r=V.isMobile),"videoEpisodes"in V&&i(13,o=V.videoEpisodes),"previewThumbsData"in V&&i(14,s=V.previewThumbsData),"progress"in V&&i(15,a=V.progress),"duration"in V&&i(16,c=V.duration),"isInteractive"in V&&i(2,f=V.isInteractive)},t.$$.update=()=>{t.$$.dirty&32768&&i(5,{imgSrc:b,imgWidth:C,imgHeight:k,imgOffsetX:w,imgOffsetY:y}=q(a),b,(i(6,C),i(15,a)),(i(7,k),i(15,a)),(i(8,w),i(15,a)),(i(9,y),i(15,a))),t.$$.dirty&106496&&i(10,E=sf(a,c,o))},i(3,{width:g,height:_}=x(),g,i(4,_)),[l,r,f,g,_,b,C,k,w,y,E,n,h,o,s,a,c]}class x5 extends ke{constructor(e){super(),we(this,e,J5,X5,be,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},G5)}}function $5(t){Ke(t,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function ev(t){let e,i;return{c(){e=P("span"),i=De(t[7]),u(e,"class","time v-5lzly8")},m(n,l){T(n,e,l),p(e,i)},p(n,l){l[0]&128&&$e(i,n[7])},i:W,o:W,d(n){n&&S(e)}}}function tv(t){let e,i;return e=new x5({props:{time:t[7],isMobile:t[10],videoEpisodes:t[3],previewThumbsData:t[21],progress:t[8],duration:t[1],isInteractive:t[23]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&128&&(r.time=n[7]),l[0]&1024&&(r.isMobile=n[10]),l[0]&8&&(r.videoEpisodes=n[3]),l[0]&256&&(r.progress=n[8]),l[0]&2&&(r.duration=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function iv(t){let e,i,n,l;const r=[tv,ev],o=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=bt()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(ce(),v(o[f],1,1,()=>{o[f]=null}),fe(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function nv(t){let e,i,n,l;const r=[t[9]];let o={$$slots:{default:[iv]},$$scope:{ctx:t}};for(let s=0;s<r.length;s+=1)o=Tu(o,r[s]);return e=new W5({props:o}),n=new Lr({props:{isActiveLive:t[11],isMobile:t[10],ariaLabel:Q("aria_timeline"),ariaValueMin:0,ariaValueMax:t[1],ariaValueNow:Math.round(t[6]*100),ariaValueText:Q("aria_timeline_value",{position:t[5],duration:t[4]}),loadedProgress:t[12],filledProgress:t[6],handleProgress:t[6],videoEpisodes:t[3],onPointerDown:t[27],onHandleMove:t[28],onPointerMove:t[31],onPointerUp:t[29],onPointerEnter:t[30],onPointerLeave:t[32],isInteractive:t[23],disabled:t[13].has(vt.TIMELINE),hideHandel:t[2]}}),{c(){K(e.$$.fragment),i=H(),K(n.$$.fragment)},m(s,a){j(e,s,a),T(s,i,a),j(n,s,a),l=!0},p(s,a){const c=a[0]&512?P0(r,[E0(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=Q("aria_timeline_value",{position:s[5],duration:s[4]})),a[0]&4096&&(f.loadedProgress=s[12]),a[0]&64&&(f.filledProgress=s[6]),a[0]&64&&(f.handleProgress=s[6]),a[0]&8&&(f.videoEpisodes=s[3]),a[0]&8192&&(f.disabled=s[13].has(vt.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){l||(m(e.$$.fragment,s),m(n.$$.fragment,s),l=!0)},o(s){v(e.$$.fragment,s),v(n.$$.fragment,s),l=!1},d(s){s&&S(i),Z(e,s),Z(n,s)}}}function ov(t,e,i){let n,l,r,o,s,a,c,f,d,h,g,{showTimeline:_=!1}=e;const b=Et(),C=wn(),k=b.state.bufferedProgress$;z(t,k,ge=>i(12,h=ge));const w=b.state.positionWithScrubbing$;z(t,w,ge=>i(39,a=ge));const y=b.state.duration$;z(t,y,ge=>i(1,r=ge));const E=b.state.isLive$;z(t,E,ge=>i(0,l=ge));const x=b.state.isActiveLive$;z(t,x,ge=>i(11,d=ge));const q=b.ui.isMobile;z(t,q,ge=>i(10,f=ge));const V=C.features.episodes?b.actions.internal.getVideoEpisodes():void 0,ee=b.actions.internal.getPreviewThumbsData(),re=b.state.interactiveEpisodes$;z(t,re,ge=>i(40,c=ge));const N=b.state.isInteractive,X=b.state.isInteractiveTime$;z(t,X,ge=>i(2,o=ge));const J=b.state.isInteractiveExpectation$;z(t,J,ge=>i(38,s=ge));const M=b.actions.internal.correctSeekTimeToInteractive,A=b.ui.controls.disabledControls$;z(t,A,ge=>i(13,g=ge));let O,ne,L,G,_e=!1,Ee="",Le=0,Ne=0,Fe=0,pe;function F(ge){return!M||!N?ge:M(ge*r)/r}function ue(ge){b.actions.internal.startScrubbing(F(ge))}function ye(ge){o||b.actions.internal.progressScrubbing(F(ge))}function Ue(ge){b.actions.internal.completeScrubbing(F(ge)),i(34,_e=!1)}function We(ge,B,Te){ze(ge,B,Te),i(34,_e=!0)}function me(ge,B,Te){ze(ge,B,Te),i(34,_e=!0)}function Ie(){i(34,_e=!1)}function ze(ge,B,Te){i(8,Fe=ge),i(35,Le=B),Te&&i(36,Ne=Te),i(7,Ee=qe(ge))}function qe(ge){const B=Un((l?1-ge:ge)*r);return l?`-${B}`:B}return t.$$set=ge=>{"showTimeline"in ge&&i(33,_=ge.showTimeline)},t.$$.update=()=>{t.$$.dirty[1]&512&&i(3,O=N?c:V),t.$$.dirty[0]&2&&i(4,ne=Un(r)),t.$$.dirty[1]&256&&i(5,L=Un(a)),t.$$.dirty[0]&2|t.$$.dirty[1]&256&&i(6,G=a/r),t.$$.dirty[0]&4|t.$$.dirty[1]&128&&i(37,pe=s||o),t.$$.dirty[0]&1|t.$$.dirty[1]&124&&i(9,n={containerWidth:Ne,translateXPx:Le,translateYPx:N&&ee?-36:-16,active:_e&&_&&!pe,pointer:!C.features.timelinePreview||!ee||l})},[l,r,o,O,ne,L,G,Ee,Fe,n,f,d,h,g,C,k,w,y,E,x,q,ee,re,N,X,J,A,ue,ye,Ue,We,me,Ie,_,_e,Le,Ne,pe,s,a,c]}let lv=class extends ke{constructor(e){super(),we(this,e,ov,nv,be,{showTimeline:33},$5,[-1,-1])}};function rv(t){let e,i;return e=new Lr({props:{ariaValueMin:0,ariaValueMax:t[0],ariaValueNow:Math.round(t[3]*100),ariaValueText:Q("aria_timeline_value",{position:t[2],duration:t[1]}),filledProgress:t[3],isAds:!0,hideHandel:!0,squareBorders:t[4]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.ariaValueMax=n[0]),l&8&&(r.ariaValueNow=Math.round(n[3]*100)),l&6&&(r.ariaValueText=Q("aria_timeline_value",{position:n[2],duration:n[1]})),l&8&&(r.filledProgress=n[3]),l&16&&(r.squareBorders=n[4]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function sv(t,e,i){let n,{position:l=0}=e,{duration:r=0}=e;const s=Et().ui.isMobile;z(t,s,d=>i(4,n=d));let a,c,f;return t.$$set=d=>{"position"in d&&i(6,l=d.position),"duration"in d&&i(0,r=d.duration)},t.$$.update=()=>{t.$$.dirty&1&&i(1,a=Un(r)),t.$$.dirty&64&&i(2,c=Un(l)),t.$$.dirty&65&&i(3,f=l/r)},[r,a,c,f,n,s,l]}class af extends ke{constructor(e){super(),we(this,e,sv,rv,be,{position:6,duration:0})}}function av(t){Ke(t,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function uv(t){let e;return{c(){e=P("div"),u(e,"class","timeline-stub v-1gqonyf"),R(e,"mobile",t[2])},m(i,n){T(i,e,n)},p(i,n){n&4&&R(e,"mobile",i[2])},i:W,o:W,d(i){i&&S(e)}}}function cv(t){let e,i,n,l;const r=[dv,fv],o=[];function s(a,c){return a[0]?0:1}return i=s(t),n=o[i]=r[i](t),{c(){e=P("div"),n.c(),u(e,"class","timeline v-1gqonyf"),R(e,"mobile",t[2])},m(a,c){T(a,e,c),o[i].m(e,null),l=!0},p(a,c){let f=i;i=s(a),i===f?o[i].p(a,c):(ce(),v(o[f],1,1,()=>{o[f]=null}),fe(),n=o[i],n?n.p(a,c):(n=o[i]=r[i](a),n.c()),m(n,1),n.m(e,null)),(!l||c&4)&&R(e,"mobile",a[2])},i(a){l||(m(n),l=!0)},o(a){v(n),l=!1},d(a){a&&S(e),o[i].d()}}}function fv(t){let e,i;return e=new lv({props:{showTimeline:t[1]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.showTimeline=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function dv(t){let e,i;return e=new af({props:{position:t[3],duration:t[4]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&8&&(r.position=n[3]),l&16&&(r.duration=n[4]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function mv(t){let e,i,n,l;const r=[cv,uv],o=[];function s(a,c){return a[1]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=bt()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(ce(),v(o[f],1,1,()=>{o[f]=null}),fe(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function pv(t,e,i){let n,l,r,o,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const d=Et(),h=d.state.isLive$;z(t,h,k=>i(12,n=k));const g=d.ads.duration;z(t,g,k=>i(4,o=k));const _=d.ads.position;z(t,_,k=>i(3,r=k));const b=d.ui.isMobile;z(t,b,k=>i(2,l=k));let C;return t.$$set=k=>{"isAds"in k&&i(0,s=k.isAds),"canRewindLive"in k&&i(9,a=k.canRewindLive),"isRewindableLive"in k&&i(10,c=k.isRewindableLive),"isHidden"in k&&i(11,f=k.isHidden)},t.$$.update=()=>{t.$$.dirty&7681&&i(1,C=!f&&(!n||n&&a&&c||s))},[s,C,l,r,o,h,g,_,b,a,c,f,n]}class uf extends ke{constructor(e){super(),we(this,e,pv,mv,be,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},av)}}function hv(t){let e,i,n,l;return{c(){e=D("svg"),i=D("path"),n=D("path"),l=D("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(l,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(l,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),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,o){T(r,e,o),p(e,i),p(e,n),p(e,l)},p:W,i:W,o:W,d(r){r&&S(e)}}}class vv extends ke{constructor(e){super(),we(this,e,null,hv,be,{})}}function gv(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"opacity",".7"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(i,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class bv extends ke{constructor(e){super(),we(this,e,null,gv,be,{})}}function _v(t){Ke(t,"v-1yhs2ga",".text.v-1yhs2ga{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text.count.v-1yhs2ga{overflow:visible}.text.mobile.v-1yhs2ga{padding:0 3px 0 4px}.chevron-episodes.v-1yhs2ga{margin-bottom:-4px}")}function wv(t){let e,i,n,l;e=new vv({});function r(a,c){if(a[4]===uo.FULL)return Cv;if(a[4]===uo.COUNT)return yv}let o=r(t),s=o&&o(t);return{c(){K(e.$$.fragment),i=H(),s&&s.c(),n=bt()},m(a,c){j(e,a,c),T(a,i,c),s&&s.m(a,c),T(a,n,c),l=!0},p(a,c){o===(o=r(a))&&s?s.p(a,c):(s&&s.d(1),s=o&&o(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){l||(m(e.$$.fragment,a),l=!0)},o(a){v(e.$$.fragment,a),l=!1},d(a){a&&(S(i),S(n)),Z(e,a),s&&s.d(a)}}}function kv(t){let e,i,n,l,r,o;return r=new bv({}),{c(){e=P("span"),i=De(t[2]),n=H(),l=P("div"),K(r.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(l,"class","chevron-episodes v-1yhs2ga")},m(s,a){T(s,e,a),p(e,i),T(s,n,a),T(s,l,a),j(r,l,null),o=!0},p(s,a){(!o||a&4)&&$e(i,s[2])},i(s){o||(m(r.$$.fragment,s),o=!0)},o(s){v(r.$$.fragment,s),o=!1},d(s){s&&(S(e),S(n),S(l)),Z(r)}}}function yv(t){let e,i=t[0].length+"",n;return{c(){e=P("span"),n=De(i),u(e,"class","text count v-1yhs2ga")},m(l,r){T(l,e,r),p(e,n)},p(l,r){r&1&&i!==(i=l[0].length+"")&&$e(n,i)},d(l){l&&S(e)}}}function Cv(t){let e,i;return{c(){e=P("span"),i=De(t[2]),u(e,"class","text v-1yhs2ga")},m(n,l){T(n,e,l),p(e,i)},p(n,l){l&4&&$e(i,n[2])},d(n){n&&S(e)}}}function Sv(t){let e,i,n,l;const r=[kv,wv],o=[];function s(a,c){return a[6]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=bt()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(ce(),v(o[f],1,1,()=>{o[f]=null}),fe(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function Tv(t){let e,i,n;function l(o){t[19](o)}let r={className:"w-max btn-full-opacity "+(t[6]?"px-0":""),testId:"btn-episodes",click:t[12],disabled:!t[7],ariaExpanded:t[3],ariaLabel:t[5],$$slots:{default:[Sv]},$$scope:{ctx:t}};return t[1]!==void 0&&(r.ref=t[1]),e=new ki({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,[s]){const a={};s&64&&(a.className="w-max btn-full-opacity "+(o[6]?"px-0":"")),s&8&&(a.ariaExpanded=o[3]),s&32&&(a.ariaLabel=o[5]),s&8388693&&(a.$$scope={dirty:s,ctx:o}),!i&&s&2&&(i=!0,a.ref=o[1],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Pv(t,e,i){var N,X,J;let n,l,r,o,s,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:d=[]}=e;const h=Et(),g=(X=(N=h.callbacks)==null?void 0:N.onEpisodeChanged)!=null?X:ie.noop,_=!!((J=h.callbacks)!=null&&J.onEpisodeClicked),b=h.ui.currentGridType$;z(t,b,M=>i(18,s=M));const C=h.ui.episodes.openedByKeyboard$;z(t,C,M=>i(17,o=M));const k=h.ui.episodes.panelOpened$;z(t,k,M=>i(3,r=M));const w=h.ui.isMobile;z(t,w,M=>i(6,a=M));let y;const E=M=>{var O,ne,L;if(!!((O=h.callbacks)!=null&&O.onEpisodeClicked)){const G=Pr(M);C.set(G),k.set(!0),(L=(ne=h.callbacks)==null?void 0:ne.onEpisodeClicked)==null||L.call(ne,G)}};let x,q,V;const ee=(M,A,O)=>Ji(this,null,function*(){yield $n(),(M==null?void 0:M.getAttribute("aria-expanded"))==="false"&&A&&!O&&(C.set(!1),M.focus())});function re(M){y=M,i(1,y)}return t.$$set=M=>{"position"in M&&i(13,c=M.position),"duration"in M&&i(14,f=M.duration),"timeCodes"in M&&i(0,d=M.timeCodes)},t.$$.update=()=>{if(t.$$.dirty&24576&&i(16,n=c/f),t.$$.dirty&114689){const M=sf(n,f,d);M&&(x==null?void 0:x.text)!==M.text&&(g(M),i(15,x=M))}t.$$.dirty&32768&&i(2,l=(x==null?void 0:x.text)||""),t.$$.dirty&262144&&(An(s,exports.GridTypes.XL)?i(4,q=uo.FULL):An(s,exports.GridTypes.M)&&qh(s,exports.GridTypes.XL)?i(4,q=uo.COUNT):i(4,q=uo.SHORT)),t.$$.dirty&4&&i(5,V=`${Q("tooltip_episodes")}: ${l}`),t.$$.dirty&131082&&ee(y,o,r)},[d,y,l,r,q,V,a,_,b,C,k,w,E,c,f,x,n,o,s,re]}class cf extends ke{constructor(e){super(),we(this,e,Pv,Tv,be,{position:13,duration:14,timeCodes:0},_v)}}function Ev(t){let e,i,n;return{c(){e=D("svg"),i=D("path"),n=D("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(i,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(l,r){T(l,e,r),p(e,i),p(e,n)},p:W,i:W,o:W,d(l){l&&S(e)}}}class Iv extends ke{constructor(e){super(),we(this,e,null,Ev,be,{})}}function Av(t){let e,i;return e=new Iv({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Lv(t){let e,i,n;function l(o){t[4](o)}let r={className:t[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:Q("tooltip_interactive_seek"),disabled:t[2],click:t[3],$$slots:{default:[Av]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new ki({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&8&&(a.click=o[3]),s&32&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Vv(t,e,i){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{click:o}=e;function s(a){n=a,i(0,n)}return t.$$set=a=>{"ref"in a&&i(0,n=a.ref),"hidden"in a&&i(1,l=a.hidden),"disabled"in a&&i(2,r=a.disabled),"click"in a&&i(3,o=a.click)},[n,l,r,o,s]}class ff extends ke{constructor(e){super(),we(this,e,Vv,Lv,be,{ref:0,hidden:1,disabled:2,click:3})}}function Mv(t){let e,i,n;return{c(){e=D("svg"),i=D("path"),n=D("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),R(n,"hidden",!t[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){T(l,e,r),p(e,i),p(e,n)},p(l,[r]){r&1&&R(n,"hidden",!l[0])},i:W,o:W,d(l){l&&S(e)}}}function Bv(t,e,i){let{isOpened:n=!1}=e;return t.$$set=l=>{"isOpened"in l&&i(0,n=l.isOpened)},[n]}class Nv extends ke{constructor(e){super(),we(this,e,Bv,Mv,be,{isOpened:0})}}function Rv(t){let e,i;return e=new Nv({props:{isOpened:t[3]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&8&&(r.isOpened=n[3]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Ov(t){let e,i,n;function l(o){t[6](o)}let r={className:t[1]?"hidden":"",testId:"btn-graph",disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[Rv]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new ki({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&32&&(a.ariaLabel=o[5]),s&16&&(a.click=o[4]),s&136&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Dv(t,e,i){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{graphIsOpened:o=!1}=e,{click:s}=e,a;function c(f){n=f,i(0,n)}return t.$$set=f=>{"ref"in f&&i(0,n=f.ref),"hidden"in f&&i(1,l=f.hidden),"disabled"in f&&i(2,r=f.disabled),"graphIsOpened"in f&&i(3,o=f.graphIsOpened),"click"in f&&i(4,s=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=Q(o?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,l,r,o,s,a,c]}class df extends ke{constructor(e){super(),we(this,e,Dv,Ov,be,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function zv(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class mf extends ke{constructor(e){super(),we(this,e,null,zv,be,{})}}function Hv(t){Ke(t,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Oa(t){let e;return{c(){e=P("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){T(i,e,n)},d(i){i&&S(e)}}}function Fv(t){let e,i,n,l,r=t[1]&&Oa();return n=new mf({}),{c(){r&&r.c(),e=H(),i=P("div"),K(n.$$.fragment),u(i,"class","v-1ot3duq"),R(i,"mobile",t[1])},m(o,s){r&&r.m(o,s),T(o,e,s),T(o,i,s),j(n,i,null),l=!0},p(o,s){o[1]?r||(r=Oa(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),(!l||s&2)&&R(i,"mobile",o[1])},i(o){l||(m(n.$$.fragment,o),l=!0)},o(o){v(n.$$.fragment,o),l=!1},d(o){o&&(S(e),S(i)),r&&r.d(o),Z(n)}}}function Uv(t){let e,i,n;function l(o){t[5](o)}let r={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-replay",ariaLabel:Q("tooltip_restart"),disabled:t[2],click:t[4],ariaKeyShortCut:Yo[Ae.KeyK],$$slots:{default:[Fv]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new ki({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,[s]){const a={};s&10&&(a.className=(o[1]?"btn-m--play":"")+" "+o[3]),s&4&&(a.disabled=o[2]),s&16&&(a.click=o[4]),s&66&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function qv(t,e,i){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{disabled:r=!1}=e,{className:o=""}=e,{click:s=ie.noop}=e;function a(c){n=c,i(0,n)}return t.$$set=c=>{"ref"in c&&i(0,n=c.ref),"isMobile"in c&&i(1,l=c.isMobile),"disabled"in c&&i(2,r=c.disabled),"className"in c&&i(3,o=c.className),"click"in c&&i(4,s=c.click)},[n,l,r,o,s,a]}class Br extends ke{constructor(e){super(),we(this,e,qv,Uv,be,{ref:0,isMobile:1,disabled:2,className:3,click:4},Hv)}}function jv(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class Zv extends ke{constructor(e){super(),we(this,e,null,jv,be,{})}}function Kv(t){let e,i;return e=new Zv({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Wv(t){let e,i,n;function l(o){t[4](o)}let r={className:t[1]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:Q("tooltip_interactive_go_back"),disabled:t[2],click:t[3],$$slots:{default:[Kv]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new ki({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&8&&(a.click=o[3]),s&32&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Gv(t,e,i){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{click:o}=e;function s(a){n=a,i(0,n)}return t.$$set=a=>{"ref"in a&&i(0,n=a.ref),"hidden"in a&&i(1,l=a.hidden),"disabled"in a&&i(2,r=a.disabled),"click"in a&&i(3,o=a.click)},[n,l,r,o,s]}class pf extends ke{constructor(e){super(),we(this,e,Gv,Wv,be,{ref:0,hidden:1,disabled:2,click:3})}}function Yv(t){Ke(t,"v-1x1zctw",".icon.v-1x1zctw{width:24px !important;height:24px !important;;}.error-stub.v-1x1zctw{display:flex;justify-content:center;align-items:center}.inner.v-1x1zctw{width:16px;height:16px;background-color:var(--white)}")}function Qv(t){let e,i,n,l;return{c(){e=P("img"),u(e,"class","icon v-1x1zctw"),Wr(e.src,i=t[0])||u(e,"src",i),u(e,"aria-hidden","true")},m(r,o){T(r,e,o),n||(l=he(e,"error",t[7]),n=!0)},p(r,o){o&1&&!Wr(e.src,i=r[0])&&u(e,"src",i)},d(r){r&&S(e),n=!1,l()}}}function Xv(t){let e;return{c(){e=P("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(i,n){T(i,e,n)},p:W,d(i){i&&S(e)}}}function Jv(t){let e;function i(r,o){return r[5]?Xv:Qv}let n=i(t),l=n(t);return{c(){l.c(),e=bt()},m(r,o){l.m(r,o),T(r,e,o)},p(r,o){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&S(e),l.d(r)}}}function xv(t){let e,i;return e=new ki({props:{className:t[4]?"btn-full-opacity":"",ariaLabel:t[1],click:t[3],disabled:t[6],testId:t[2],$$slots:{default:[Jv]},$$scope:{ctx:t}}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,[l]){const r={};l&16&&(r.className=n[4]?"btn-full-opacity":""),l&2&&(r.ariaLabel=n[1]),l&8&&(r.click=n[3]),l&64&&(r.disabled=n[6]),l&4&&(r.testId=n[2]),l&545&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function $v(t,e,i){let n,l,r,{iconUrl:o}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=ie.noop}=e;const d=()=>{i(5,r=!0)};return t.$$set=h=>{"iconUrl"in h&&i(0,o=h.iconUrl),"ariaLabel"in h&&i(1,s=h.ariaLabel),"disabled"in h&&i(8,a=h.disabled),"testId"in h&&i(2,c=h.testId),"onClick"in h&&i(3,f=h.onClick)},t.$$.update=()=>{t.$$.dirty&8&&i(4,n=f===ie.noop),t.$$.dirty&272&&i(6,l=n||a)},i(5,r=!1),[o,s,c,f,n,r,l,d,a]}class hf extends ke{constructor(e){super(),we(this,e,$v,xv,be,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},Yv)}}class Da{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,i,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:i,options:n})}removeEventListener(e,i){if(!(e in this.listeners))return;const n=this.listeners[e];for(let l=0,r=n.length;l<r;l++)if(n[l].callback===i){n.splice(l,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let l=0,r=n.length;l<r;l++){const o=n[l];try{o.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}o.options&&o.options.once&&this.removeEventListener(e.type,o.callback)}return!e.defaultPrevented}}class vf extends Da{constructor(){super(),this.listeners||Da.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 eg=class{constructor(){Object.defineProperty(this,"signal",{value:new vf,writable:!0,configurable:!0})}abort(e){let i;try{i=new Event("abort")}catch(l){typeof document!="undefined"?document.createEvent?(i=document.createEvent("Event"),i.initEvent("abort",!1,!1)):(i=document.createEventObject(),i.type="abort"):i={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document=="undefined")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(l){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(i)}toString(){return"[object AbortController]"}};typeof Symbol!="undefined"&&Symbol.toStringTag&&(eg.prototype[Symbol.toStringTag]="AbortController",vf.prototype[Symbol.toStringTag]="AbortSignal");function gf(t){return t.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof t.Request=="function"&&!t.Request.prototype.hasOwnProperty("signal")||!t.AbortController}function tg(t){typeof t=="function"&&(t={fetch:t});const{fetch:e,Request:i=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:l=!1}=t;if(!gf({fetch:e,Request:i,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:l}))return{fetch:e,Request:r};let r=i;(r&&!r.prototype.hasOwnProperty("signal")||l)&&(r=function(c,f){let d;f&&f.signal&&(d=f.signal,delete f.signal);const h=new i(c,f);return d&&Object.defineProperty(h,"signal",{writable:!1,enumerable:!1,configurable:!0,value:d}),h},r.prototype=i.prototype);const o=e;return{fetch:(a,c)=>{const f=r&&r.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let d;try{d=new DOMException("Aborted","AbortError")}catch(g){d=new Error("Aborted"),d.name="AbortError"}if(f.aborted)return Promise.reject(d);const h=new Promise((g,_)=>{f.addEventListener("abort",()=>_(d),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([h,o(a,c)])}return o(a,c)},Request:r}}const Nr=gf({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),bf=Nr?tg({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,ig=Nr?bf.fetch:window.fetch;Nr?bf.Request:window.Request;const ng=(t,e)=>t<400||e<225?5:t<640||e<360?0:t<960||e<540?1:t<1280||e<720?2:3,og="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class lg{constructor(e,i){this.adman=null,this.initialVolume=1,this.videoElement=null,this.currentAdSection=null,this.actions=null,this.adsState=null,this.playerState=null,this.events={slotRequested$:new ie.Subject,started$:new ie.Subject,paused$:new ie.Subject,resumed$:new ie.Subject,ended$:new ie.Subject,skipped$:new ie.Subject,clicked$:new ie.Subject},this.loadAdman=n=>new Promise((l,r)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?l():r()};ie.addScript(og,n,this.loadTimeout).then(()=>{window.AdmanHTML?l():(window.admanAsyncInit=s,o=window.setTimeout(s,this.initTimeout))}).catch(()=>{r()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,l)=>{ie.assertNonNullable(this.adsState),ie.assertNonNullable(this.playerState),ie.assertNonNullable(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(l)}`}),this.events.started$.next(n),l.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),xe(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(l.duration),this.adsState.playbackState.set(ti.PLAYING),this.adsState.canSkip.set(l.allowClose),this.adsState.secondsToWatchBeforeSkip.set(l.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{ie.assertNonNullable(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{ie.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(ti.PAUSED)},this.onAdPlayed=()=>{ie.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(ti.PLAYING)},this.onAdMidrollPoint=()=>{ie.assertNonNullable(this.adman),ie.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=zn.Midroll,this.adman.start(zn.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var n;this.log({message:"ad clicked"}),(n=this.videoElement)===null||n===void 0||n.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=i.loadTimeout,this.initTimeout=i.initTimeout}init(e,i,n){this.actions=e,this.adsState=i,this.playerState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:i,height:n,isFullscreen:l,isAutoplay:r,adsContainer:o,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:d}=e;let h;const g=this.playerState&&xe(this.playerState.vsid);g&&(h=parseInt(g,36));const _=Object.assign(Object.assign(Object.assign({dl:encodeURIComponent(window.location.href),autoplay:r,player_width:i,player_height:n,puid10:ng(i,n),puid11:l?0:1,preview:d},h?{request_id:h}:{}),{duration:f}),c),b={slot:a,wrapper:o,videoEl:s,videoQuality:n,params:_,browser:{mobile:!1}},C=new window.AdmanHTML;C.setDebug(!1),C.onReady(this.onAdsReady),C.onStarted(this.onAdStarted),C.onPlayed(this.onAdPlayed),C.onPaused(this.onAdPaused),C.adMidrollPoint(this.onAdMidrollPoint),C.onClosed(this.onAdClosed),C.onSkipped(this.onAdSkipped),C.onClicked(this.onAdClicked),C.onTimeRemained(this.onAdTimeRemained),C.onCompleted(this.onAdCompleted),C.onError(this.onAdError),C.init(b),this.adman=C,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(b)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}ie.assertNonNullable(this.actions),ie.assertNonNullable(this.adsState),ie.assertNonNullable(this.playerState);const i=this.currentAdSection===zn.Postroll;this.adsState.playbackState.set(ti.INACTIVE),this.currentAdSection=null,this.playerState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${i}`}),i&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!i)}togglePlay(){ie.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=xe(this.adsState.playbackState);e===ti.PLAYING?this.pause():e===ti.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var i;this.log({message:`set volume ${e}`}),(i=this.adman)===null||i===void 0||i.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var i;this.log({message:`set fullscreen ${e}`}),(i=this.adman)===null||i===void 0||i.setFullscreen(e)}startPreroll(){ie.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=zn.Preroll,this.adman.start(zn.Preroll)}startPostroll(){ie.assertNonNullable(this.adman),ie.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=zn.Postroll,this.adman.start(zn.Postroll)}play(){ie.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ie.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ie.assertNonNullable(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,i){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(i))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const rg=t=>{const e=Math.round(t);return isNaN(e)||e<40?"":e>=40&&e<55?50:e>=55&&e<90?60:e>=90&&e<180?120:e>=180?240:""};class sg{constructor(){this.oneLineRegExp=/\r\n|\n|\r/,this.twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/}parse(e){const i=[],n=e.split(this.twoLinesRegExp);for(const l of n){const r={startTime:0,endTime:0,texts:[],lang:""},o=l.split(this.oneLineRegExp);for(const s of o)if(!r.startTime&&!r.endTime){const a=new _f,{startTime:c,endTime:f}=a.parse(s);r.startTime=c,r.endTime=f}else if(s.trim()!==""){const a=new ag,{texts:c}=a.parse(s);r.texts=[...r.texts,...c]}(r.startTime||r.endTime)&&r.texts.length>0&&i.push(r)}return i}}class _f{constructor(){this.timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/,this.timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`)}parse(e){const i={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(i.startTime=this.calcTime(n[1],n[2],n[3],n[4]),i.endTime=this.calcTime(n[6],n[7],n[8],n[9])),i}parseTime(e){const i=this.timeRegExp.exec(e);return i?this.calcTime(i[1],i[2],i[3],i[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",i="0",n="0",l="0"){const r=Number(e)*60*60,o=Number(i)*60,s=Number(n),a=+`0.${l}`;return r+o+s+a}}class ag{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const i={texts:[]},l=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](o){let s=0;const a=[];for(;s<o.length;){const c=["<",">"].reduce((f,d)=>{const h=o.indexOf(d,s);return f===-1||f>h?h:f},-1);if(c===-1){a.push(o.substring(s));break}a.push(o.substring(s,c)),s=c+1}return a}}),r=new _f;for(const o of l)r.isTime(o)?i.texts.push({type:"timestamp",value:r.parseTime(o)}):i.texts.push({type:"text",value:o});return i}}let Jn,zt,ir=0,nr=!1;const ug=(t,e,i)=>{var n;const l=t>=ir,r=t<ir,o=(f,d=0,h=0)=>f<d&&f<h,s=(f,d=0,h=0)=>f>=d&&f<=h,a=(f,d=0,h=0)=>f>d&&f>h,c=(n=i.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(ir=t,r&&(nr=!1),ie.isNonNullable(Jn)&&s(t,Jn.startTime,Jn.endTime)&&Jn.lang===e.value)return Jn;if(!ie.isNonNullable(zt)&&(c!=null&&c.length)&&!nr){const f=c.find(({startTime:d,endTime:h})=>s(t,d,h)||l&&o(t,d,h));zt=f&&Object.assign(Object.assign({},f),{lang:e.value}),Jn=void 0,!ie.isNonNullable(zt)&&c[c.length-1].endTime<t&&(nr=!0);return}else{if(s(t,zt==null?void 0:zt.startTime,zt==null?void 0:zt.endTime))return Jn=zt,zt=void 0,Jn;(l&&a(t,zt==null?void 0:zt.startTime,zt==null?void 0:zt.endTime)||r&&o(t,zt==null?void 0:zt.startTime,zt==null?void 0:zt.endTime))&&(zt=void 0)}},or={ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",en:"English",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F (\u0442\u0430\u0440\u0430\u0448\u043A\u0435\u0432i\u0446\u0430)",es:"Espa\xF1ol",fi:"Suomi",de:"Deutsch",it:"Italiano",bg:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",hr:"Hrvatski",hu:"Magyar",sr:"\u0421\u0440\u043F\u0441\u043A\u0438","pt-PT":"Portugu\xEAs",el:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",pl:"Polski",fr:"Fran\xE7ais",ko:"\uD55C\uAD6D\uC5B4","zh-CN":"\u6C49\u8BED",lt:"Lietuvi\u0173",ja:"\u65E5\u672C\u8A9E",cs:"\u010Ce\u0161tina",et:"Eesti",tt:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",ba:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",cv:"\u0427\u0103\u0432\u0430\u0448\u043B\u0430",sk:"Sloven\u010Dina",ro:"Rom\xE2n\u0103",no:"Norsk",lv:"Latvie\u0161u",az:"Az\u0259rbaycan dili",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",sv:"Svenska",nl:"Nederlands",tk:"T\xFCrkmen",ka:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",da:"Dansk",uz:"O\u2018zbek",th:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",id:"Bahasa Indonesia",tg:"\u0422\u043E\u04B7\u0438\u043A\u04E3",sl:"Sloven\u0161\u010Dina",bs:"Bosanski","pt-BR":"Portugu\xEAs brasileiro",fa:"\u0641\u0627\u0631\u0633\u06CC",vi:"Ti\u1EBFng Vi\u1EC7t",hi:"\u0939\u093F\u0928\u094D\u0926\u0940",si:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",bn:"\u09AC\u09BE\u0982\u09B2\u09BE",tl:"Tagalog",mn:"\u041C\u043E\u043D\u0433\u043E\u043B",my:"\u1017\u1019\u102C\u1005\u102C",tr:"T\xFCrk\xE7e",ne:"\u0928\u0947\u092A\u093E\u0932\u0940",ur:"\u0627\u0631\u062F\u0648",ky:"\u041A\u044B\u0440\u0433\u044B\u0437 \u0442\u0438\u043B\u0438",pa:"\u067E\u0646\u062C\u0627\u0628\u06CC",os:"\u0418\u0440\u043E\u043D",kn:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",sw:"Kiswahili",kk:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",he:"\u05E2\u05D1\u05E8\u05D9\u05EA",ab:"\u0410\u04A7\u0441\u0448\u04D9\u0430",eu:"Euskara",eo:"Esperanto"};class cg{constructor(e,i){this.oneStat=new Pt.OneStat(e,i),this.statSubscription=new ie.Subscription}destroy(){this.oneStat.destroy(),this.statSubscription.unsubscribe()}}const fg=({interfaceLanguage:t,videoId:e,isClip:i,isLiveCatchUpMode:n,statAuthToken:l,isAudioDisabled:r,canDownload:o,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:d,coreConfig:h,player:g,disabledControls:_,isInteractive:b,interactiveRanges$:C,isInteractiveTime$:k,replayInteractive:w,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:E,additionalButtons:x,looped:q=!1,statistics:V})=>{var ee,re,N,X;const J=Object.assign(Object.assign({},h),{configName:[...(ee=h.configName)!==null&&ee!==void 0?ee:[],"ui"],isAudioDisabled:r,live:Object.assign(Object.assign({},(re=h.live)!==null&&re!==void 0?re:{}),{isLiveCatchUpMode:!!n})}),M=d,A=g||new et.Player(J),O=new ie.Logger,ne=new lg(O,{loadTimeout:M.ads.loadTimeout,initTimeout:M.ads.initTimeout}),L=pr.getInstance(),G=a==null?void 0:a.pictureInPictureApi,_e=a==null?void 0:a.annotationsApi,Ee=O.createComponentLog("Store");let Le,Ne,Fe={};const pe=ie.getCurrentBrowser(),F=V?Tt(V.oneStat.vsid$):On(void 0),ue=Ve(Ko()),ye=(N=G==null?void 0:G.info.isActive$)!==null&&N!==void 0?N:new ie.ValueSubject(!1),Ue=G==null?void 0:G.info.type,We=Ve(0),me=Ve([]),Ie=ie.merge(A.events.fatalError$,A.events.managedError$).subscribe(I=>me.update(oe=>[...oe,I])),ze=On(!1,I=>{const oe=A.events.fatalError$.subscribe(()=>I(!0));return()=>oe.unsubscribe()}),qe=I=>ni(void 0,void 0,void 0,function*(){var oe;const ve=Object.values(ie.InterfaceLanguage).includes(I);if(M.downloadVKLanguages&&(ve&&M.updateBuiltinLanguages||!ks(I))){let Xe;try{Xe=yield ie.loadVKLangPack(I,N0,R0)}catch(ft){(oe=V==null?void 0:V.oneStat)===null||oe===void 0||oe.logError({errorType:"VKLangPack",fatal:!1}),L==null||L.report(ft,{errorType:"VKLangPack",fatal:!1})}Xe&&(ws({language:I,pack:Xe,fallback:M.defaultLanguage}),ge.set(I))}ks(I)&&ge.set(I)}),ge=Ve(t);qe(t);const B=(I,oe)=>{const ve=xe(ge);return Ec(ve,I,oe,M.defaultLanguage)},Te=Ve(Oe.Thumb),se=(()=>{const I=Ni([ze,Te],([oe,ve])=>oe?Oe.Crashed:ve);return Object.assign(Object.assign({},I),{is:oe=>xe(I)===oe})})(),Ce=(()=>{const I=Ve(new Set(_));return Object.assign(Object.assign({},I),{add:oe=>{I.update(ve=>new Set([...ve].concat(oe)))},remove:oe=>{I.update(ve=>{const Re=[...ve];return new Set(Array.isArray(oe)?Re.filter(Xe=>!oe.includes(Xe)):Re.filter(Xe=>Xe!==oe))})},includes:oe=>{const ve=xe(I);return Array.isArray(oe)?oe.every(Re=>ve.has(Re)):ve.has(oe)}})})();Ee({message:"create store"});const Ge=I=>{const oe=I.container;oe.append(A.experimental.element$.getValue()),rt=new MutationObserver(ve=>{const{removedNodes:Re}=ve[0];Re.length&&oe.append(A.experimental.element$.getValue())}),rt.observe(oe,{childList:!0})},tt=I=>{Ee({message:`init video, config: ${JSON.stringify(I)}`}),b?Ge(I):A.initVideo(I),I.subtitles&&A.setExternalTextTracks(I.subtitles),Le=I},st=new ie.Subject,it=I=>st.next(I),pt=new ie.Subject,at=new ie.Subject,de=new ie.Subject;let rt=null;const At={actionRewind$:pt,actionSeek$:at,inPiP$:ye,inFullscreen$:new ie.Observable(I=>ue.subscribe(oe=>I.next(oe))),actionSetSubtitle$:de,nextMovie$:st};if(V){const{oneStat:I,statSubscription:oe}=V;oe.add(I.attachTo(A)),oe.add(I.attachToUi(At)),oe.add(I.attachToAds(ne.events)),I.authorize(l).catch(ve=>{Ee({message:`onestat auth error ${String(ve)}`})})}if(L){const I=new ie.Subscription,oe=(ve,Re)=>I.add(ve.subscribe(Re));if(oe(A.events.managedError$,ve=>{L.logIError(ve)}),oe(A.events.fatalError$,ve=>{L.logIError(ve,!0)}),V){const{oneStat:ve}=V;oe(ve.experimental.error$,Re=>{L.logIError(Re)})}L.sentrySubscription.add(I)}const yt=()=>{ie.isIOS()&&Ne&&Lm(Ne)},Me=new ie.Subscription().add(A.experimental.element$.subscribe(I=>{I&&(Ne=I,I.classList.add("player-media"),yl(G)&&(G.updateVideoElement(),G.registryEventHandlers()),b&&I.setAttribute("pip","false"))})).add(A.events.ended$.subscribe(()=>{var I;yt(),(I=s==null?void 0:s.onEnded)===null||I===void 0||I.call(s)})).add(A.events.started$.subscribe(()=>ni(void 0,void 0,void 0,function*(){var I,oe;yl(G)&&(yield G==null?void 0:G.revealPictureInPicture());const ve=A.info.muted$.getValue();(I=s==null?void 0:s.onStarted)===null||I===void 0||I.call(s),(oe=Fe.onStarted)===null||oe===void 0||oe.call(Fe,ve)}))).add(A.events.willSeek$.subscribe(({from:I,to:oe})=>{var ve;(ve=s==null?void 0:s.onSeek)===null||ve===void 0||ve.call(s,I,oe)})).add(A.info.position$.subscribe(I=>{var oe;const ve=A.info.duration$.getValue();(oe=s==null?void 0:s.onTimeupdate)===null||oe===void 0||oe.call(s,ve,I),ne.setPosition(I,ve)})).add(A.events.fatalError$.subscribe(()=>{var I;(I=s==null?void 0:s.onCrashed)===null||I===void 0||I.call(s)})).add(A.events.firstBytes$.subscribe(()=>{lt.state.isFirstBytes$.set(!0)})).add(A.info.is3DVideo$.subscribe(I=>{lt.ui.is3DVideo.set(I)})).add(A.info.isEnded$.subscribe(I=>{b&&(I?(k!=null&&k.getValue()&&Ce.add(Ou),Ce.add(vt.PLAY_BUTTON)):Ce.remove(vt.PLAY_BUTTON))})).add(A.info.liveTime$.subscribe(I=>{var oe;(oe=s==null?void 0:s.onLiveTime)===null||oe===void 0||oe.call(s,I)})).add(A.info.isStalled$.subscribe(I=>{var oe;(oe=s==null?void 0:s.onStalledChanged)===null||oe===void 0||oe.call(s,I)})),Bt=new ie.Subscription,ae=()=>{Bt.add(A.events.log$.subscribe(I=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${I.component}`,I.message)})).add(O.log$.subscribe(I=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${I.component}.`,I.message)}))},_t=()=>{Bt.unsubscribe()},Ct=(I,oe)=>{A.startCameraManualRotation(I,oe)},ht=(I=!1)=>{A.stopCameraManualRotation(I)},dt=(I,oe,ve)=>{A.moveCameraFocusPX(I,oe,ve)},Qe=()=>{A.holdCamera()},Pe=()=>{A.releaseCamera()},nt=On(A.info.position$.getValue(),I=>{let oe,ve;const Re=()=>{const Xe=A.info.playbackState$.getValue(),ft=A.info.isLive$.getValue(),Lt=A.info.duration$.getValue(),St=A.info.position$.getValue();if([et.PlaybackState.PLAYING,et.PlaybackState.PAUSED].includes(Xe)){const Bi=ft?St-Lt:A.getExactTime();Bi!==ve&&I(Bi),ve=Bi}oe=requestAnimationFrame(Re)};return Re(),()=>cancelAnimationFrame(oe)}),Jt=Tt(ye),Ut=Tt(A.info.playbackState$),Ui=Tt(A.info.currentBuffer$),xi=Tt(A.info.isEnded$),oi=Tt(A.info.isLive$),di=M.features.playbackRate?Tt(A.info.canChangePlaybackSpeed$):On(!1),yi=Tt(A.info.liveBufferTime$),xt=Tt(A.info.volume$),mi=Tt(A.info.muted$),$i=Fu(A.info.autoQualityLimits$.pipe(ie.map(({max:I})=>I!==void 0)),((X=A.info.autoQualityLimits$.getValue())===null||X===void 0?void 0:X.max)!==void 0),Ci=Tt(A.info.autoQualityLimitingAvailable$),Ri=Tt(A.info.availableQualities$),pi=Tt(A.info.availableQualitiesFps$),hi=Tt(A.info.chromecastState$),vi=Tt(A.info.chromecastDeviceName$),Si=Tt(A.info.currentFormat$),Ti=Tt(A.info.throughputEstimation$),li=Tt(A.info.videoBitrate$),Gt=Tt(A.info.intrinsicVideoSize$),It=Tt(A.info.duration$),gi=Tt(A.info.isAudioAvailable$);let Vt=null;const $t=A.info.isBuffering$,ri=On($t.getValue(),I=>{const oe=$t.subscribe(ve=>{ve&&Vt===null?Vt=window.setTimeout(()=>{I($t.getValue()),Vt=null},M.loaderDelay):I(ve)});return()=>{oe.unsubscribe(),Vt&&clearTimeout(Vt)}}),bi=()=>{Vt&&clearTimeout(Vt),Vt=null},mt=Ni([It,oi],([I,oe])=>oe?-I:I),Nt=Ni([Ut],([I])=>I===et.PlaybackState.PLAYING),gt=Tt(A.info.atLiveEdge$),_i=Tt(A.info.atLiveDurationEdge$),si=Tt(A.info.position$),an=Ni([si,It],([I,oe])=>isFinite(I)&&isFinite(oe)&&!!oe),en=Ni([hi],([I])=>I===et.ChromecastState.CONNECTED),Rt=Ve(void 0),ai=Tt(A.info.isAutoQualityEnabled$,I=>I&&Rt.set(void 0)),qi=Tt(A.info.currentQuality$,()=>Rt.set(void 0)),Pi=Ni([Rt,qi],([I,oe])=>I!=null?I:oe),ui=Ni([Ri,pi,ai,Pi,Si],([I,oe,ve,Re,Xe])=>{const ft=[];Xe!==et.VideoFormat.MPEG&&ft.push({value:Bo.AUTO,displayValue:B("auto_quality_option"),selected:ve});const Lt=I.filter(St=>St!==ie.VideoQuality.INVARIANT);for(const St of Lt){const Bi=oe[St],ro=St===ie.VideoQuality.INVARIANT?B("auto_quality_option"):St;ft.push({value:St,displayValue:`${ro}${Bi?rg(Bi):""}`,selected:ve?!1:St===Re})}return ft}),Yt=Tt(A.info.currentPlaybackRate$),ji=Ni([Yt,gt,_i],([I,oe,ve])=>{const Re=ve||b?1:M.controls.playbackRateMin,Xe=oe?1:M.controls.playbackRateMax,ft=M.controls.playbackRateStep,Lt=[];for(let St=Re;St<=Xe;St+=ft)Lt.push({value:St,displayValue:St===1?B("playback_rate_1"):B("playback_rate",{multiplier:St.toString(10)}),selected:I===St});return Lt}),tn=M.features.subtitles?Tt(A.info.availableTextTracks$):On([]),Qt=Ni([tn],([I],oe)=>{const ve=[],Re=[];for(const Xe of I)Xe.url&&ve.push(ig(Xe.url));Promise.allSettled(ve).then(Xe=>{for(const[ft,Lt]of Xe.entries())Lt.status==="fulfilled"&&Lt.value.text().then(St=>{const Bi=new sg,ro=I[ft].language,tl=!!I[ft].isAuto,ko=Bi.parse(St);ro&&ko&&Re.push({lang:ro,subtitles:ko,isAuto:tl}),ft===Xe.length-1&&oe(Re)})})}),Ot={displayValue:B("subtitles_off"),value:"off"},qt=Ve(Object.assign({},Ot)),Zi=Ni([Qt,qt,Qt],([I,oe])=>{if((I==null?void 0:I.length)>0){const ve=[Object.assign(Object.assign({},Ot),{selected:(oe==null?void 0:oe.value)===Ot.value})];for(const{lang:Re,isAuto:Xe}of I)or[Re]&&ve.push({displayValue:Xe?B("subtitles_auto",{language:or[Re]}):or[Re],value:Re,selected:(oe==null?void 0:oe.value)===Re,isAuto:Xe});return ve}else return[]}),nn=Ni([nt,qt,Qt],([I,oe,ve])=>{if(oe&&oe.value!==Ot.value)return ug(I,oe,ve)}),on=Ni([nn],([I])=>I!=null&&I.texts?I.texts:[]),Oi=Ve(!0),Ei=Ni([Ui,mt,si,yi],([I,oe,ve,Re])=>{var Xe;const ft=(Xe=I==null?void 0:I.end)!==null&&Xe!==void 0?Xe:0;if(!Re)return ft/oe;const St=-ve+Re-oe;return(ft-St)/oe}),jt=Tt(A.info.availableSources$),ci=Ni([jt],([I])=>Object.keys((I==null?void 0:I[et.VideoFormat.MPEG])||{}).length>0),Ii=()=>{var I,oe,ve;const Re=Object.keys(((oe=(I=A.info.availableSources$)===null||I===void 0?void 0:I.getValue())===null||oe===void 0?void 0:oe[et.VideoFormat.MPEG])||{}),Xe=ie.getHighestQuality(Re)||ie.VideoQuality.Q_144P;return(ve=Le.sources[et.VideoFormat.MPEG])===null||ve===void 0?void 0:ve[Xe]},Di=()=>{var I;const oe=Ii();oe?Z0(oe,((I=Le==null?void 0:Le.meta)===null||I===void 0?void 0:I.title)||"video"):Ee({message:"There is no URL for download video"})},Ki=()=>{Ee({message:"toggle muted"});const I=A.info.muted$.getValue(),Re=!(A.info.volume$.getValue()===0||I);Li(Re)},wi=()=>{lt.ui.settingsMenuVisible.set(!1)},Ai=I=>{lt.ui.settingsMenuOpenedByKeyboard.set(!!I),lt.ui.settingsMenuVisible.set(!0)},zi=I=>{xe(lt.ui.settingsMenuVisible)?wi():Ai(I)},He=(I,oe=I,ve=!1)=>{var Re,Xe,ft;const Lt=!ve,St=A.info.muted$.getValue();Ee({message:`set volume, volume: ${I}, preferredVolume: ${oe}, internalCall: ${Lt}`}),A.setVolume(I),ne.setVolume(I),Lt&&((Re=s==null?void 0:s.onVolumeChange)===null||Re===void 0||Re.call(s,I)),Qr(oe),St?(A.setMuted(!1),Lt&&((Xe=s==null?void 0:s.onUnmute)===null||Xe===void 0||Xe.call(s)),Dl(!1)):!St&&I===0&&(A.setMuted(!0),Lt&&((ft=s==null?void 0:s.onMute)===null||ft===void 0||ft.call(s)),Dl(!0))},Li=(I,oe=!1)=>{var ve,Re,Xe,ft;const Lt=!oe,St=A.info.volume$.getValue();if(Ee({message:`set muted, currentVolume: ${St}, mute: ${I}, internalCall: ${Lt}`}),A.setMuted(I),ne.setVolume(I?0:St),Dl(I),Lt&&(I?(ve=s==null?void 0:s.onMute)===null||ve===void 0||ve.call(s):(Re=s==null?void 0:s.onUnmute)===null||Re===void 0||Re.call(s)),St===0){let Bi=(Xe=Ku())!==null&&Xe!==void 0?Xe:M.volumeDefault;Bi===0&&(Bi=M.volumeMinRestore,Qr(Bi)),A.setVolume(Bi),ne.setVolume(Bi),Lt&&((ft=s==null?void 0:s.onVolumeChange)===null||ft===void 0||ft.call(s,Bi))}},Dt=Ve(!1),Be=I=>{Dt.set(I),A.setLooped(I)};Be(q);const Wi=()=>{A.prepare()},Gi=()=>{var I,oe;if(ie.assertNonNullable(lt),!xe(lt.ui.controls.disabledControls$).has(vt.PLAY_BUTTON)){if(Ee({message:"toggle play"}),xe(lt.playerPhase)===Oe.Ads){ne.togglePlay();return}if(A.info.playbackState$.getValue()!==et.PlaybackState.PLAYING){if(A.info.isEnded$.getValue()){if(Ee({message:"toggle play, video ended, seek to 0"}),pt.next(),at.next(Pt.SeekAction.REWIND),b){w==null||w();return}A.seekTime(0)}Ee({message:"toggle play, call player.play"}),A.play(),(I=s==null?void 0:s.onPlay)===null||I===void 0||I.call(s)}else Ee({message:"toggle play, call player.pause"}),A.pause(),(oe=s==null?void 0:s.onPause)===null||oe===void 0||oe.call(s)}},Hi=I=>{Ee({message:`set quality, quality: ${I}`}),A.setAutoQuality(I===Bo.AUTO),I!==Bo.AUTO?(K0(e,I),Rt.set(I),A.setQuality(I)):Wu()},Yi=I=>{Ee({message:`set trafficSavingEnabled, value: ${I}`}),A.setAutoQualityLimits({max:I?M.trafficSavingLimit:void 0}),Y0(I)},Fi=I=>{A.setPlaybackRate(I)},hn=()=>{const I=xe(ji),oe=I.findIndex(({selected:Re})=>Re);if(oe===I.length-1)return;const ve=I[oe+1];Fi(ve.value)},Qi=()=>{const I=xe(ji),oe=I.findIndex(({selected:Re})=>Re);if(oe===0)return;const ve=I[oe-1];Fi(ve.value)},Zt=I=>{I&&I.value!==Ot.value&&de.next(I.isAuto?I.value+"_auto":I.value),qt.set(I)},Xi=()=>{const I=xe(Zi),oe=xe(qt),ve=xe(ge);if((oe==null?void 0:oe.value)===Ot.value){const Re=I.filter(Xe=>Xe.value!==Ot.value).find(Xe=>Xe.value===ve)||I[1];Zt(Re!=null?Re:Object.assign({},Ot))}else Zt(Object.assign(Object.assign({},Ot),{selected:!1}))},Mt=(I,oe,ve=!0)=>{if(Ee({message:`seek to time, time: ${I}`}),at.next(oe),A.info.isLive$.getValue()){const Re=A.info.duration$.getValue(),Xe=Math.min(0,Re+I);A.seekTime(Xe,ve)}else{if(k!=null&&k.getValue())return;A.seekTime(U(I),ve)}},le=I=>{Ee({message:`seek to episode start time: ${I}`}),Mt(I,Pt.SeekAction.EPISODE,!0)},ot=(I,oe)=>{Ee({message:`seek to percent, percent: ${I}`});const ve=Math.round(xe(mt)*I);Mt(ve,oe,!1)},fi=I=>{Ee({message:`seek external, time: ${I}`}),at.next(Pt.SeekAction.UNKNOWN),A.seekTime(A.info.isLive$.getValue()?-I:I)},Vi=I=>{var oe,ve;Ee({message:`set auto quality limitation. Max: ${(oe=I.max)!==null&&oe!==void 0?oe:"none"}. Min: ${(ve=I.min)!==null&&ve!==void 0?ve:"none"}`}),A.setAutoQualityLimits(I)},Mi=I=>{Ee({message:`seek external to episode start time: ${I}`}),Mt(I,Pt.SeekAction.EPISODE,!0)},Kt=I=>{Ee({message:`set playback rate to: ${I}`}),A.setPlaybackRate(I)},kn=Ve(void 0),vn=Ve(!1),Pn=I=>{Ee({message:`start scrubbing, progress: ${I}`}),vn.set(!0),Wt(I)},Wt=I=>{kn.set(I)};let un,yn;const gn=()=>{kn.set(void 0),vn.set(!1)},Cn=()=>{clearTimeout(yn),clearTimeout(un),un=window.setTimeout(()=>{gn()},500),Ne==null||Ne.removeEventListener("seeked",Cn)},En=I=>{Ee({message:`complete scrubbing, progress: ${I}`}),ot(I,Pt.SeekAction.SLIDER),xe(lt.ui.isMobile)&&xe(lt.state.currentFormat$)===et.VideoFormat.HLS?(Ne==null||Ne.addEventListener("seeked",Cn),yn=window.setTimeout(()=>{Cn()},300)):gn()},cn=Ni([nt,mt,kn],([I,oe,ve],Re)=>{Re(ie.isNonNullable(ve)?ve*oe:I)}),Sn=Ve({width:0,height:0}),Tn=Ni([Sn],([{width:I}],oe)=>{const ve=jh(I);oe(ve)}),te=Ve(!1),wt=Ni([Tn,te],([I,oe])=>oe?x.filter(ve=>!ve.hideOnMobile):x.filter(ve=>{var Re;return!(!((Re=ve.hideOnDesktopGridTypes)===null||Re===void 0)&&Re.includes(I))})),bn=Ni([te,ze],([I,oe],ve)=>{ve(I&&oe)}),ln=()=>{at.next(Pt.SeekAction.LIVE),Ee({message:"switch to active live"}),A.seekTime(0),A.info.playbackState$.getValue()!==et.PlaybackState.PLAYING&&lt.actions.internal.togglePlay()},_n=()=>ne.skip(),fn=(I=!0)=>{ie.assertNonNullable(lt),Ee({message:`switch from ads to video, callPlay: ${I}`}),Te.set(Oe.Video),I&&A.play()},Gn=()=>{ie.assertNonNullable(lt),Ee({message:"switch from video to ads"}),lt.actions.internal.pause(),yt(),Te.set(Oe.Ads)},Yn=I=>{ie.assertNonNullable(lt);const oe=I?Oe.WaitingLive:Oe.Thumb;Te.set(oe)},io=I=>{ie.assertNonNullable(lt);const oe=I?Oe.WaitingRecord:Oe.Thumb;Te.set(oe)},Qn=()=>(ie.assertNonNullable(lt),q0(A,Le,lt)),dn=()=>(ie.assertNonNullable(lt),j0(A,Le,lt)),$=()=>Ne,no=()=>{Ee({message:"toggle chromecast"}),A.toggleChromecast()},Xn=I=>{var oe;ie.assertNonNullable(lt);const ve=!I;if(xe(lt.playerPhase)===Oe.Ads){Ee({message:`pause ads, internalCall: ${ve}`}),ne.pause();return}Ee({message:`pause video, internalCall: ${ve}`}),ve&&((oe=s==null?void 0:s.onPause)===null||oe===void 0||oe.call(s)),A.pause()},po=I=>{var oe;ie.assertNonNullable(lt);const ve=!I;if(xe(lt.playerPhase)===Oe.Ads){Ee({message:`play ads, internalCall: ${ve}`}),ne.play();return}Ee({message:`play video, internalCall: ${ve}`}),ve&&((oe=s==null?void 0:s.onPlay)===null||oe===void 0||oe.call(s)),A.play()},Bn=(I,oe)=>{ie.assertNonNullable(lt),Ee({message:`first start, show ads: ${I}, internalCall: ${!oe}`}),I?Te.set(Oe.Ads):(Te.set(Oe.Video),oe?A.play():lt.actions.internal.togglePlay())},Nn=()=>(Ee({message:"getting time codes"}),c),oo=()=>{const I=Nn();if(!I||[0,1].includes(I.length))return;const oe=A.info.position$.getValue();return I.find(ve=>ve.time>oe)},ho=I=>{let oe=I;oe||(oe=oo()),oe&&(Ee({message:"seek to next episode"}),Mt(oe.time,Pt.SeekAction.EPISODE,!0))},vo=()=>{const I=Nn();if(!I||[0,1].includes(I.length))return;const oe=A.info.position$.getValue(),ve=I.findIndex(Xe=>Xe.time>oe),Re=ve===-1?I.length-2:ve-2;if(!(Re<0))return I[Re]},go=I=>{let oe=I;oe||(oe=vo()),oe&&(Ee({message:"seek to prev episode"}),Mt(oe.time,Pt.SeekAction.EPISODE,!0))},lo=()=>(Ee({message:"getting preview thumbs data"}),f),bo=()=>ni(void 0,void 0,void 0,function*(){G!=null&&G.isActive()?yield G==null?void 0:G.remove():yield G==null?void 0:G.request()}),_o=(I=-90)=>{We.update(oe=>oe+I)},Rn=Ve([]);C==null||C.subscribe(I=>{const oe=[];for(let ve=0;ve<I.length;ve++){const{range:[Re,Xe],subjects:ft}=I[ve];ve===0&&Re!==0&&oe.push({time:0,text:"",interactive:!1,completed:!0}),oe.push({time:Re/1e3,text:"",interactive:!0,completed:!ft.length}),Xe!==1/0&&oe.push({time:Xe/1e3,text:"",interactive:!1,completed:!0})}Rn.set(oe)});const wo=Ve(!1);k==null||k.subscribe(I=>{I&&xe(vn)&&gn()});const U=I=>{if(!b)return I;const oe=xe(Rn),ve=xe(mt),Xe=xe(si)/ve,ft=oe.find(Lt=>Lt.interactive&&!Lt.completed&&Lt.time>Xe);return typeof(ft==null?void 0:ft.time)=="number"?Math.min(I,ft.time-.05):I},kt=()=>{lt.ui.episodes.panelOpened$.set(!1)},rn=()=>{clearTimeout(yn),clearTimeout(un),Me.unsubscribe(),Bt.unsubscribe(),A.destroy(),ne.destroy(),V==null||V.destroy(),L==null||L.destroy(),Ie.unsubscribe(),rt==null||rt.disconnect(),rt=null},lt={interfaceLanguage$:ge,initVideo:tt,videoId:e,isClip:i,playerPhase:se,vsid:F,state:{positionExact$:nt,positionWithScrubbing$:cn,duration$:mt,playbackState$:Ut,isPlaying$:Nt,isLoaderVisible:ri,bufferedProgress$:Ei,isLive$:oi,canChangePlaybackSpeed$:di,isActiveLive$:gt,isOldestAvailableLive$:_i,isRewindableLive$:an,isEnded$:xi,muted$:mi,volume$:xt,trafficSavingEnabled$:$i,autoQualityLimitingAvailable$:Ci,currentQuality$:Pi,isAutoQualityEnabled$:ai,availableQualities$:ui,currentPlaybackRate$:Yt,availablePlaybackRates$:ji,currentSubtitle$:qt,availableSubtitlesList$:Zi,currentSubtitleCaptions$:on,isAutoSubtitleCaptionVisible$:Oi,chromecastState$:hi,chromecastDeviceName$:vi,chromecastConnected$:en,currentFormat$:Si,throughputEstimation$:Ti,videoBitrate$:li,videoSize$:Gt,errorLog$:me,crashed$:ze,isAudioAvailable$:gi,isAudioDisabled:!!r,canDownload:M.features.download&&!!o,availableSources$:jt,hasMpegSources$:ci,isInteractive:b,showInteractiveGraph:M.features.interactiveGraph,showSeekToInteractive:M.features.seekToInteractive,showPlayPrevChapter:M.features.interactivePlayPrevChapter,showInteractiveTimeIndicator:M.features.interactiveTimeIndicator&&!!xe(Rn).length,interactiveEpisodes$:Rn,isInteractiveTime$:k?Tt(k):Ve(!1),graphIsOpened$:Ve(!1),isInteractiveExpectation$:wo,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:E,looped$:Dt,isFirstBytes$:Ve(!1)},ui:{controlsVisible:Ve(!1),touched:Ve(!1),controls:{prevButton:Ve(void 0),playButton:Ve(void 0),replayButton:Ve(void 0),nextButton:Ve(void 0),playPrevChapterButton:Ve(void 0),seekToInteractiveButton:Ve(void 0),interactiveGraphButton:Ve(void 0),liveButton:Ve(void 0),time:Ve(void 0),episodes:Ve(void 0),volume:Ve(void 0),subtitles:Ve(void 0),settings:Ve(void 0),context:Ve(void 0),chromecast:Ve(void 0),pip:Ve(void 0),fullscreen:Ve(void 0),vkLogo:Ve(void 0),interactiveTimeIndicator:Ve(void 0),additionalButtons:x.length?x.reduce(I=>[...I,Ve(void 0)],[]):[],disabledControls$:Ce},modals:{hotKeyMap:{show:Ve(!1),data:Ve({title:"",closeBtnText:"",groups:[]})}},isFullscreen:ue,rotateAlpha:We,isAutoplay:Ve(!1),debugPanelVisible:Ve(!1),episodes:{panelOpened$:Ve(!1),openedByKeyboard$:Ve(!1)},contextMenu:{visible$:Ve(!1),btnRef$:Ve(void 0),openedByBtnKeyboard$:Ve(!1),openedByHotKey$:Ve(!1),lastActiveElem$:Ve(void 0),showContextMenuBtn$:Ve(!1),position$:Ve({top:0,left:0})},playerSize:Sn,isMobile:te,mobileNotReportControlHidden$:bn,mobileUnmuteButtonExpanded:Ve(!1),mobileUnmuteButtonVisible:Ve(!1),icon3DVideoVisible:Ve(!1),settingsMenuVisible:Ve(!1),settingsMenuOpenedByKeyboard:Ve(!1),scrubbingInProgress:vn,is3DVideo:Ve(!1),isPictureInPictureActive$:Jt,pictureInPictureType$:On(Ue),clientInfo$:On(pe),currentGridType$:Tn,additionalButtons$:wt,interactiveHideMobileControls:Ve(!1),overlayContainer$:Ve(void 0),startedByKeyboard$:Ve(!1)},ads:{position:Ve(0),duration:Ve(0),playbackState:Ve(ti.INACTIVE),canSkip:Ve(!1),secondsToWatchBeforeSkip:Ve(0),postrollPassed:Ve(!1)},webApi:{pictureInPictureApi:G,annotationsApi:_e},actions:{internal:{preload:Wi,firstStart:I=>Bn(I,!1),pause:()=>Xn(!1),togglePlay:Gi,toggleMuted:Ki,toggleSettingsMenu:zi,openSettingsMenu:Ai,closeSettingsMenu:wi,setVolume:He,setQuality:Hi,setTrafficSavingEnabled:I=>Yi(I),setPlaybackRate:Fi,incrementPlaybackRate:hn,decrementPlaybackRate:Qi,setSubtitle:Zt,toggleSubtitle:Xi,togglePictureInPicture:bo,startScrubbing:Pn,progressScrubbing:Wt,completeScrubbing:En,toggleChromecast:no,switchToActiveLive:ln,switchFromAdsToVideo:fn,switchFromVideoToAds:Gn,skipAd:_n,setWaitingLive:Yn,setWaitingRecord:io,getDebugTextData:Qn,getDebugPanelData:dn,getVideoElement:$,seekTime:(I,oe,ve)=>Mt(I,oe,ve),clearDelayedBufferingCheckTimeout:bi,seekEpisodeStartTime:le,seekToPercent:ot,getNextEpisode:oo,seekToNextEpisode:ho,getPrevEpisode:vo,seekToPrevEpisode:go,startLogging:ae,stopLogging:_t,startCameraManualRotation:Ct,stopCameraManualRotation:ht,moveCameraFocusPX:dt,holdCamera:Qe,releaseCamera:Pe,getVideoEpisodes:Nn,getPreviewThumbsData:lo,downloadVideo:Di,addLanguage:ws,setLanguage:qe,nextMovie:it,videoRotate:_o,correctSeekTimeToInteractive:U,replayInteractive:w,setLooped:Be},external:{firstStart:I=>Bn(I,!0),play:()=>po(!0),pause:()=>Xn(!0),seekTime:I=>fi(I),seekEpisodeStartTime:I=>Mi(I),setPlaybackRate:I=>Kt(I),setAutoQualityLimits:I=>Vi(I),setMuted:I=>Li(I,!0),setVolume:I=>He(I,I,!0),returnFocusToEpisodes:kt}},callbacks:s,setUiCallbacks:I=>{Fe=Object.assign({},I)},getAdmanWrapper:()=>ne,getLogger:()=>O,destroy:rn};return lt},wf=(t,e,i,n)=>{var l;if(!t)return;const r=["interactiveTimeIndicator"],o=t.getBoundingClientRect();for(const[s,a]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(s)){const c=(l=i[s])===null||l===void 0?void 0:l.getBoundingClientRect(),f=(n||r.includes(s))&&!!c&&!!(c.right-c.left);a.set({positionStartX:0,positionEndX:0,left:f?Math.round(c.left-o.left):0,right:f?Math.round(c.right-o.left):0,top:f?Math.round(c.top-o.top):0,bottom:f?Math.round(c.bottom-o.top):0,isDisplayed:f})}},kf=(t,e,i)=>ni(void 0,void 0,void 0,function*(){yield $n(),e&&i&&(i.focus(),t.set(!1))});function dg(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"d","M18 10c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2Zm-6 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm-6 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","dots-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class mg extends ke{constructor(e){super(),we(this,e,null,dg,be,{})}}function pg(t){let e,i;return e=new mg({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function hg(t){let e,i,n;function l(o){t[8](o)}let r={className:t[3]?"opened":"",testId:"btn-context-menu",disabled:t[0],ariaLabel:t[1],click:t[5],focus:t[6],blur:t[7],ariaExpanded:t[3],$$slots:{default:[pg]},$$scope:{ctx:t}};return t[2]!==void 0&&(r.ref=t[2]),e=new ki({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,[s]){const a={};s&8&&(a.className=o[3]?"opened":""),s&1&&(a.disabled=o[0]),s&2&&(a.ariaLabel=o[1]),s&8&&(a.ariaExpanded=o[3]),s&16384&&(a.$$scope={dirty:s,ctx:o}),!i&&s&4&&(i=!0,a.ref=o[2],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function vg(t,e,i){let n,{disabled:l=!1}=e,{ariaLabel:r=""}=e;const o=Et(),s=o.ui.contextMenu.visible$;z(t,s,k=>i(3,n=k));const a=o.ui.contextMenu.openedByBtnKeyboard$,c=o.ui.contextMenu.showContextMenuBtn$,f=o.ui.contextMenu.position$,d=o.ui.contextMenu.btnRef$;let h;const g=k=>{const w=Pr(k),y=a3(h);f.set(y),a.set(w),s.set(!n)},_=()=>{c.set(!0)},b=()=>{c.set(!1)};function C(k){h=k,i(2,h)}return t.$$set=k=>{"disabled"in k&&i(0,l=k.disabled),"ariaLabel"in k&&i(1,r=k.ariaLabel)},t.$$.update=()=>{t.$$.dirty&4&&h&&d.set(h)},[l,r,h,n,s,g,_,b,C]}class gg extends ke{constructor(e){super(),we(this,e,vg,hg,be,{disabled:0,ariaLabel:1})}}function bg(t){Ke(t,"v-17imlp9",".interactive-episode-icon-animated.v-17imlp9{position:absolute;top:16px;right:16px;width:32px;height:32px;transition:0.3s;opacity:1}.invisible.v-17imlp9{opacity:0;visibility:hidden}.fullscreen.v-17imlp9:not(.mobile){width:40px;top:19px;right:23px;height:40px}.mobile.v-17imlp9{width:28px;height:28px;top:12px;right:14px}.fullscreen.mobile.v-17imlp9{width:32px;height:32px}@media screen and (orientation: portrait){.interactive-episode-icon-animated.mobile.fullscreen.v-17imlp9{top:40px;right:16px}}@keyframes v-17imlp9-pulse{0%{transform:scale(1);border-width:1px;opacity:0}10%{opacity:1}50%{transform:scale(1.5);border-width:1px;opacity:0.5}100%{transform:scale(1.5);border-width:0.5px;opacity:0}}.pulse.v-17imlp9{display:block;content:'';border:1px solid #fff;position:absolute;top:0;left:0;right:0;bottom:0;border-radius:100%;transform:scale(1.8);animation:1s v-17imlp9-pulse infinite;transition:0.3s;pointer-events:none}.pulse.paused.v-17imlp9{animation-play-state:paused}.interactive-episode-icon-animated svg{width:100%;height:100%}.ref-block.v-17imlp9{position:absolute;top:0;width:100%;height:100%;visibility:hidden}.hidden.v-17imlp9{display:none}")}function _g(t){let e,i;return e=new $c({props:{completed:!0}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p:W,i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function wg(t){let e,i,n,l,r,o,s,a,c,f;function d(g){t[22](g)}let h={tooltipContent:Q("tooltip_interactive_interaction_time_indicator"),tooltipActive:t[5],initialTranslateYPx:72,tooltipPlacement:"bottom",onTooltipVisibilityChange:t[13],$$slots:{default:[_g]},$$scope:{ctx:t}};return t[0]!==void 0&&(h.ref=t[0]),i=new Ft({props:h}),Se.push(()=>Ze(i,"ref",d)),i.$on("click",t[14]),{c(){e=P("div"),K(i.$$.fragment),l=H(),r=P("div"),o=H(),s=P("div"),u(r,"class","ref-block v-17imlp9"),R(r,"hidden",t[1]),u(s,"class","pulse v-17imlp9"),R(s,"paused",t[4]),u(e,"class","interactive-episode-icon-animated v-17imlp9"),R(e,"mobile",t[2]),R(e,"fullscreen",t[6]),R(e,"invisible",t[1])},m(g,_){T(g,e,_),j(i,e,null),p(e,l),p(e,r),t[23](r),p(e,o),p(e,s),t[24](s),a=!0,c||(f=[he(e,"mousemove",ct(t[21])),he(e,"mouseleave",t[15])],c=!0)},p(g,_){const b={};_[0]&32&&(b.tooltipActive=g[5]),_[1]&1&&(b.$$scope={dirty:_,ctx:g}),!n&&_[0]&1&&(n=!0,b.ref=g[0],je(()=>n=!1)),i.$set(b),(!a||_[0]&2)&&R(r,"hidden",g[1]),(!a||_[0]&16)&&R(s,"paused",g[4]),(!a||_[0]&4)&&R(e,"mobile",g[2]),(!a||_[0]&64)&&R(e,"fullscreen",g[6]),(!a||_[0]&2)&&R(e,"invisible",g[1])},i(g){a||(m(i.$$.fragment,g),a=!0)},o(g){v(i.$$.fragment,g),a=!1},d(g){g&&S(e),Z(i),t[23](null),t[24](null),c=!1,ut(f)}}}function kg(t,e,i){var G;let n,l,r,o,s,a,{ref:c=void 0}=e,f;const d=Et(),h=Do(),{interactiveControlsOpacity$:g}=h;z(t,g,_e=>i(18,l=_e));const _=d.ui.isMobile;z(t,_,_e=>i(2,s=_e));const b=d.ui.isFullscreen;z(t,b,_e=>i(6,a=_e));const C=d.state.isInteractiveTime$;z(t,C,_e=>i(19,r=_e));const k=h.showInteractiveTimeIndicatorTooltip$;z(t,k,_e=>i(17,n=_e));const w=d.ui.controlsVisible;z(t,w,_e=>i(20,o=_e));const y=(G=d.callbacks)==null?void 0:G.onInteractiveTimeIndicatorClick;let E,x,q;const V=()=>{i(4,q=!0)},ee=()=>{re(),f==null||f.addEventListener("animationiteration",V,{once:!0})},re=()=>{i(4,q=!1),f==null||f.removeEventListener("animationiteration",V)},N=_e=>{k.set(_e)};let X;const J=()=>{x||(k.set(!0),y==null||y())};Go(()=>{k.clearTimeout(),re()});const M=()=>{k.set(!1)};function A(_e){co.call(this,t,_e)}function O(_e){c=_e,i(0,c)}function ne(_e){Se[_e?"unshift":"push"](()=>{c=_e,i(0,c)})}function L(_e){Se[_e?"unshift":"push"](()=>{f=_e,i(3,f)})}return t.$$set=_e=>{"ref"in _e&&i(0,c=_e.ref)},t.$$.update=()=>{t.$$.dirty[0]&1048580&&i(16,E=!s&&o),t.$$.dirty[0]&851968&&i(1,x=!r||!!l||E),t.$$.dirty[0]&2&&i(4,q=x),t.$$.dirty[0]&131074&&i(5,X=n&&!x),t.$$.dirty[0]&131072&&(n?ee():re())},[c,x,s,f,q,X,a,g,_,b,C,k,w,N,J,M,E,n,l,r,o,A,O,ne,L]}class yf extends ke{constructor(e){super(),we(this,e,kg,wg,be,{ref:0},bg,[-1,-1])}}function yg(t){Ke(t,"v-st0uzk",".wrapper-bottom.v-st0uzk.v-st0uzk{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-st0uzk>.v-st0uzk{pointer-events:auto}.controls.v-st0uzk.v-st0uzk{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-st0uzk.v-st0uzk,.controls-right.v-st0uzk.v-st0uzk{display:flex;align-content:center}.controls-left.v-st0uzk.v-st0uzk{flex-grow:1;min-width:0;overflow:hidden}.controls-left.v-st0uzk > *:not(:first-child),.controls-right.v-st0uzk > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-st0uzk.v-st0uzk{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-st0uzk.v-st0uzk{transition:none}.settings-menu.v-st0uzk.v-st0uzk{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function za(t,e,i){const n=t.slice();return n[209]=e[i].iconUrl,n[210]=e[i].ariaLabel,n[211]=e[i].testId,n[212]=e[i].onClick,n[213]=e[i].tooltip,n}function Ha(t){let e,i,n;function l(o){t[173](o)}let r={disabled:!t[9],tooltipContent:Q("tooltip_previous"),$$slots:{default:[Cg]},$$scope:{ctx:t}};return t[23].prevButton!==void 0&&(r.ref=t[23].prevButton),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[0]&512&&(a.disabled=!o[9]),s[0]&4608|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].prevButton,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Cg(t){let e,i;return e=new Al({props:{click:t[12],type:"prev",disabled:!t[9],isMobile:!1}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&4096&&(r.click=n[12]),l[0]&512&&(r.disabled=!n[9]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Fa(t){let e,i,n;function l(o){t[174](o)}let r={disabled:t[74],tooltipContent:Q("tooltip_restart"),$$slots:{default:[Sg]},$$scope:{ctx:t}};return t[23].replayButton!==void 0&&(r.ref=t[23].replayButton),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[2]&4096&&(a.disabled=o[74]),s[2]&4096|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].replayButton,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Sg(t){let e,i;return e=new Br({props:{click:t[128],disabled:t[74]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[2]&4096&&(r.disabled=n[74]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Ua(t){let e,i,n;function l(o){t[176](o)}let r={tooltipContent:t[47],disabled:t[75],$$slots:{default:[Tg]},$$scope:{ctx:t}};return t[23].playButton!==void 0&&(r.ref=t[23].playButton),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[1]&65536&&(a.tooltipContent=o[47]),s[2]&8192&&(a.disabled=o[75]),s[0]&67108864|s[1]&8|s[2]&8192|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].playButton,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Tg(t){let e,i,n;function l(o){t[175](o)}let r={isMobile:!1,isPlaying:t[34],click:t[85],disabled:t[75]};return t[26]!==void 0&&(r.ref=t[26]),e=new Mr({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[1]&8&&(a.isPlaying=o[34]),s[2]&8192&&(a.disabled=o[75]),!i&&s[0]&67108864&&(i=!0,a.ref=o[26],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function qa(t){let e,i,n;function l(o){t[177](o)}let r={disabled:!t[8],tooltipContent:Q("tooltip_next"),$$slots:{default:[Pg]},$$scope:{ctx:t}};return t[23].nextButton!==void 0&&(r.ref=t[23].nextButton),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[0]&256&&(a.disabled=!o[8]),s[0]&2304|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].nextButton,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Pg(t){let e,i;return e=new Al({props:{click:t[11],type:"next",disabled:!t[8],isMobile:!1}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&2048&&(r.click=n[11]),l[0]&256&&(r.disabled=!n[8]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Eg(t){let e,i,n,l,r=t[121]&&Ig(t),o=t[120]&&Lg(t),s=t[119]&&Mg(t);return{c(){r&&r.c(),e=H(),o&&o.c(),i=H(),s&&s.c(),n=bt()},m(a,c){r&&r.m(a,c),T(a,e,c),o&&o.m(a,c),T(a,i,c),s&&s.m(a,c),T(a,n,c),l=!0},p(a,c){a[121]&&r.p(a,c),a[120]&&o.p(a,c),a[119]&&s.p(a,c)},i(a){l||(m(r),m(o),m(s),l=!0)},o(a){v(r),v(o),v(s),l=!1},d(a){a&&(S(e),S(i),S(n)),r&&r.d(a),o&&o.d(a),s&&s.d(a)}}}function Ig(t){let e,i,n;function l(o){t[178](o)}let r={disabled:t[73],tooltipContent:Q("tooltip_interactive_go_back"),disabledTooltipContent:Q(t[124]),$$slots:{default:[Ag]},$$scope:{ctx:t}};return t[23].playPrevChapterButton!==void 0&&(r.ref=t[23].playPrevChapterButton),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[2]&2048&&(a.disabled=o[73]),s[0]&131072|s[2]&2048|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].playPrevChapterButton,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Ag(t){let e,i;return e=new pf({props:{disabled:t[73],click:t[17]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[2]&2048&&(r.disabled=n[73]),l[0]&131072&&(r.click=n[17]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Lg(t){let e,i,n;function l(o){t[179](o)}let r={disabled:t[76],tooltipContent:Q("tooltip_interactive_seek"),disabledTooltipContent:Q(t[78]),$$slots:{default:[Vg]},$$scope:{ctx:t}};return t[23].seekToInteractiveButton!==void 0&&(r.ref=t[23].seekToInteractiveButton),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[2]&16384&&(a.disabled=o[76]),s[2]&65536&&(a.disabledTooltipContent=Q(o[78])),s[0]&32768|s[2]&16384|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].seekToInteractiveButton,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Vg(t){let e,i;return e=new ff({props:{disabled:t[76],click:t[15]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[2]&16384&&(r.disabled=n[76]),l[0]&32768&&(r.click=n[15]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Mg(t){let e,i,n;function l(o){t[180](o)}let r={tooltipContent:t[48],disabled:t[77],$$slots:{default:[Bg]},$$scope:{ctx:t}};return t[23].interactiveGraphButton!==void 0&&(r.ref=t[23].interactiveGraphButton),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.tooltipContent=o[48]),s[2]&32768&&(a.disabled=o[77]),s[0]&65536|s[1]&1|s[2]&32768|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].interactiveGraphButton,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Bg(t){let e,i;return e=new df({props:{click:t[16],graphIsOpened:t[31],disabled:t[77]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&65536&&(r.click=n[16]),l[1]&1&&(r.graphIsOpened=n[31]),l[2]&32768&&(r.disabled=n[77]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function ja(t){let e,i,n;function l(o){t[181](o)}let r={tooltipContent:t[50],$$slots:{default:[Ng]},$$scope:{ctx:t}};return t[23].liveButton!==void 0&&(r.ref=t[23].liveButton),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[1]&524288&&(a.tooltipContent=o[50]),s[0]&2097152|s[1]&524288|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].liveButton,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Ng(t){let e,i;return e=new rf({props:{isActiveLive:t[21],isMobile:!1,ariaLabel:t[50]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&2097152&&(r.isActiveLive=n[21]),l[1]&524288&&(r.ariaLabel=n[50]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Za(t){let e,i,n;function l(o){t[182](o)}let r={isMobile:!1,showDuration:t[55],position:t[4]?t[79]:t[80],duration:t[4]?t[81]:t[82]};return t[23].time!==void 0&&(r.ref=t[23].time),e=new Jc({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[1]&16777216&&(a.showDuration=o[55]),s[0]&16|s[2]&393216&&(a.position=o[4]?o[79]:o[80]),s[0]&16|s[2]&1572864&&(a.duration=o[4]?o[81]:o[82]),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].time,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Ka(t){let e,i;return e=new cf({props:{position:t[80],duration:t[82],timeCodes:t[101]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[2]&262144&&(r.position=n[80]),l[2]&1048576&&(r.duration=n[82]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Rg(t){let e,i,n=t[20]&&Ka(t);return{c(){n&&n.c(),e=bt()},m(l,r){n&&n.m(l,r),T(l,e,r),i=!0},p(l,r){l[20]?n?(n.p(l,r),r[0]&1048576&&m(n,1)):(n=Ka(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(ce(),v(n,1,1,()=>{n=null}),fe())},i(l){i||(m(n),i=!0)},o(l){v(n),i=!1},d(l){l&&S(e),n&&n.d(l)}}}function Og(t){var n;let e,i;return e=new hf({props:{iconUrl:t[209],ariaLabel:(n=t[210])!=null?n:t[213],testId:t[211],onClick:t[212]}}),{c(){K(e.$$.fragment)},m(l,r){j(e,l,r),i=!0},p(l,r){var s;const o={};r[0]&268435456&&(o.iconUrl=l[209]),r[0]&268435456&&(o.ariaLabel=(s=l[210])!=null?s:l[213]),r[0]&268435456&&(o.testId=l[211]),r[0]&268435456&&(o.onClick=l[212]),e.$set(o)},i(l){i||(m(e.$$.fragment,l),i=!0)},o(l){v(e.$$.fragment,l),i=!1},d(l){Z(e,l)}}}function Wa(t){let e,i;return e=new Ft({props:{tooltipContent:t[213],width:40,$$slots:{default:[Og]},$$scope:{ctx:t}}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&268435456&&(r.tooltipContent=n[213]),l[0]&268435456|l[6]&1073741824&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Ga(t){let e,i,n;function l(o){t[185](o)}let r={disabled:!t[6],tooltipContent:t[51],$$slots:{default:[Dg]},$$scope:{ctx:t}};return t[23].vkLogo!==void 0&&(r.ref=t[23].vkLogo),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[0]&64&&(a.disabled=!o[6]),s[1]&1048576&&(a.tooltipContent=o[51]),s[0]&192|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].vkLogo,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Dg(t){let e,i;return e=new of({props:{click:t[86],logoClickable:t[6],videoLogoUrl:t[7]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&64&&(r.logoClickable=n[6]),l[0]&128&&(r.videoLogoUrl=n[7]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function zg(t){let e,i;return e=new Qh({props:{click:t[127]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p:W,i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Ya(t){let e,i,n;function l(o){t[187](o)}let r={tooltipContent:t[52],$$slots:{default:[Hg]},$$scope:{ctx:t}};return t[23].subtitles!==void 0&&(r.ref=t[23].subtitles),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[1]&2097152&&(a.tooltipContent=o[52]),s[0]&262144|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].subtitles,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Hg(t){let e,i;return e=new rh({props:{isSubtitlesEnabled:t[18],click:t[87]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&262144&&(r.isSubtitlesEnabled=n[18]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Qa(t){var s;let e,i,n,l;function r(a){t[188](a)}let o={supportLink:t[10],playerControlsHeight:(s=t[46])==null?void 0:s.clientHeight,returnFocus:t[14]};return t[24]!==void 0&&(o.ref=t[24]),i=new Xc({props:o}),Se.push(()=>Ze(i,"ref",r)),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(a,c){T(a,e,c),j(i,e,null),l=!0},p(a,c){var d;const f={};c[0]&1024&&(f.supportLink=a[10]),c[1]&32768&&(f.playerControlsHeight=(d=a[46])==null?void 0:d.clientHeight),c[0]&16384&&(f.returnFocus=a[14]),!n&&c[0]&16777216&&(n=!0,f.ref=a[24],je(()=>n=!1)),i.$set(f)},i(a){l||(m(i.$$.fragment,a),l=!0)},o(a){v(i.$$.fragment,a),l=!1},d(a){a&&S(e),Z(i)}}}function Xa(t){let e,i,n;function l(o){t[190](o)}let r={tooltipContent:t[27]?void 0:Q("tooltip_settings_off"),$$slots:{default:[Fg]},$$scope:{ctx:t}};return t[23].settings!==void 0&&(r.ref=t[23].settings),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[0]&134217728&&(a.tooltipContent=o[27]?void 0:Q("tooltip_settings_off")),s[0]&33554432|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].settings,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Fg(t){let e,i,n;function l(o){t[189](o)}let r={};return t[25]!==void 0&&(r.ref=t[25]),e=new Ar({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&33554432&&(i=!0,a.ref=o[25],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Ug(t){let e,i,n;function l(o){t[191](o)}let r={className:t[41]?"":"out-of-view",tooltipContent:t[49],$$slots:{default:[qg]},$$scope:{ctx:t}};return t[23].context!==void 0&&(r.ref=t[23].context),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[1]&1024&&(a.className=o[41]?"":"out-of-view"),s[1]&262144&&(a.tooltipContent=o[49]),s[1]&262144|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].context,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function qg(t){let e,i;return e=new gg({props:{ariaLabel:t[49]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[1]&262144&&(r.ariaLabel=n[49]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Ja(t){let e,i,n;function l(o){t[192](o)}let r={tooltipContent:t[53],$$slots:{default:[jg]},$$scope:{ctx:t}};return t[23].fullscreen!==void 0&&(r.ref=t[23].fullscreen),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[1]&4194304&&(a.tooltipContent=o[53]),s[0]&1073750016|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].fullscreen,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function jg(t){let e,i;return e=new tf({props:{click:t[13],isFullscreen:t[30]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&8192&&(r.click=n[13]),l[0]&1073741824&&(r.isFullscreen=n[30]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function xa(t){let e,i,n;function l(o){t[193](o)}let r={tooltipContent:t[54],$$slots:{default:[Zg]},$$scope:{ctx:t}};return t[23].chromecast!==void 0&&(r.ref=t[23].chromecast),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[1]&8388608&&(a.tooltipContent=o[54]),s[0]&536870912|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].chromecast,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Zg(t){let e,i;return e=new lf({props:{isMobile:!1,state:t[29],click:t[126]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&536870912&&(r.state=n[29]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Kg(t){let e,i,n;function l(o){t[196](o)}let r={};return t[23].interactiveTimeIndicator!==void 0&&(r.ref=t[23].interactiveTimeIndicator),e=new yf({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&8388608&&(i=!0,a.ref=o[23].interactiveTimeIndicator,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Wg(t){let e,i,n,l,r,o,s,a,c,f,d,h,g,_,b,C,k,w,y,E,x,q,V,ee,re,N,X,J,M,A;i=new uf({props:{isHidden:!t[45],isAds:t[4],canRewindLive:t[5],isRewindableLive:t[32]}});let O=t[38]&&Ha(t),ne=t[35]&&Fa(t),L=t[36]&&Ua(t),G=t[37]&&qa(t),_e=t[117]&&Eg(t),Ee=!t[4]&&t[33]&&ja(t),Le=t[19]&&Za(t);function Ne(se){t[183](se)}let Fe={className:"w-max",disabled:!t[20],tooltipContent:Q("tooltip_episodes"),$$slots:{default:[Rg]},$$scope:{ctx:t}};t[23].episodes!==void 0&&(Fe.ref=t[23].episodes),g=new Ft({props:Fe}),Se.push(()=>Ze(g,"ref",Ne));let pe=Xt(t[28]),F=[];for(let se=0;se<pe.length;se+=1)F[se]=Wa(za(t,pe,se));const ue=se=>v(F[se],1,1,()=>{F[se]=null});let ye=t[43]&&!t[4]&&Ga(t);function Ue(se){t[186](se)}let We={$$slots:{default:[zg]},$$scope:{ctx:t}};t[23].volume!==void 0&&(We.ref=t[23].volume),E=new Ft({props:We}),Se.push(()=>Ze(E,"ref",Ue));let me=t[40]&&Ya(t),Ie=!t[83]&&!t[4]&&Qa(t),ze=t[42]&&!t[4]&&Xa(t),qe=t[84].features.contextMenuButton&&Ug(t),ge=t[44]&&Ja(t),B=t[39]&&xa(t),Te=t[122]&&Kg(t);return{c(){e=P("div"),K(i.$$.fragment),n=H(),l=P("div"),r=P("div"),O&&O.c(),o=H(),ne&&ne.c(),s=H(),L&&L.c(),a=H(),G&&G.c(),c=H(),_e&&_e.c(),f=H(),Ee&&Ee.c(),d=H(),Le&&Le.c(),h=H(),K(g.$$.fragment),C=H(),k=P("div");for(let se=0;se<F.length;se+=1)F[se].c();w=H(),ye&&ye.c(),y=H(),K(E.$$.fragment),q=H(),me&&me.c(),V=H(),Ie&&Ie.c(),ee=H(),ze&&ze.c(),re=H(),qe&&qe.c(),N=H(),ge&&ge.c(),X=H(),B&&B.c(),J=H(),Te&&Te.c(),M=bt(),u(r,"class","controls-left v-st0uzk"),No(()=>t[184].call(r)),u(k,"class","controls-right v-st0uzk"),u(l,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),R(e,"hidden",t[1]),R(e,"controls-hidden",!t[3]),R(e,"no-smooth",t[2])},m(se,Ce){T(se,e,Ce),j(i,e,null),p(e,n),p(e,l),p(l,r),O&&O.m(r,null),p(r,o),ne&&ne.m(r,null),p(r,s),L&&L.m(r,null),p(r,a),G&&G.m(r,null),p(r,c),_e&&_e.m(r,null),p(r,f),Ee&&Ee.m(r,null),p(r,d),Le&&Le.m(r,null),p(r,h),j(g,r,null),b=gr(r,t[184].bind(r)),p(l,C),p(l,k);for(let Ge=0;Ge<F.length;Ge+=1)F[Ge]&&F[Ge].m(k,null);p(k,w),ye&&ye.m(k,null),p(k,y),j(E,k,null),p(k,q),me&&me.m(k,null),p(k,V),Ie&&Ie.m(k,null),p(k,ee),ze&&ze.m(k,null),p(k,re),qe&&qe.m(k,null),p(k,N),ge&&ge.m(k,null),p(k,X),B&&B.m(k,null),t[194](l),t[195](e),T(se,J,Ce),Te&&Te.m(se,Ce),T(se,M,Ce),A=!0},p(se,Ce){const Ge={};Ce[1]&16384&&(Ge.isHidden=!se[45]),Ce[0]&16&&(Ge.isAds=se[4]),Ce[0]&32&&(Ge.canRewindLive=se[5]),Ce[1]&2&&(Ge.isRewindableLive=se[32]),i.$set(Ge),se[38]?O?(O.p(se,Ce),Ce[1]&128&&m(O,1)):(O=Ha(se),O.c(),m(O,1),O.m(r,o)):O&&(ce(),v(O,1,1,()=>{O=null}),fe()),se[35]?ne?(ne.p(se,Ce),Ce[1]&16&&m(ne,1)):(ne=Fa(se),ne.c(),m(ne,1),ne.m(r,s)):ne&&(ce(),v(ne,1,1,()=>{ne=null}),fe()),se[36]?L?(L.p(se,Ce),Ce[1]&32&&m(L,1)):(L=Ua(se),L.c(),m(L,1),L.m(r,a)):L&&(ce(),v(L,1,1,()=>{L=null}),fe()),se[37]?G?(G.p(se,Ce),Ce[1]&64&&m(G,1)):(G=qa(se),G.c(),m(G,1),G.m(r,c)):G&&(ce(),v(G,1,1,()=>{G=null}),fe()),se[117]&&_e.p(se,Ce),!se[4]&&se[33]?Ee?(Ee.p(se,Ce),Ce[0]&16|Ce[1]&4&&m(Ee,1)):(Ee=ja(se),Ee.c(),m(Ee,1),Ee.m(r,d)):Ee&&(ce(),v(Ee,1,1,()=>{Ee=null}),fe()),se[19]?Le?(Le.p(se,Ce),Ce[0]&524288&&m(Le,1)):(Le=Za(se),Le.c(),m(Le,1),Le.m(r,h)):Le&&(ce(),v(Le,1,1,()=>{Le=null}),fe());const tt={};if(Ce[0]&1048576&&(tt.disabled=!se[20]),Ce[0]&1048576|Ce[2]&1310720|Ce[6]&1073741824&&(tt.$$scope={dirty:Ce,ctx:se}),!_&&Ce[0]&8388608&&(_=!0,tt.ref=se[23].episodes,je(()=>_=!1)),g.$set(tt),Ce[0]&268435456){pe=Xt(se[28]);let it;for(it=0;it<pe.length;it+=1){const pt=za(se,pe,it);F[it]?(F[it].p(pt,Ce),m(F[it],1)):(F[it]=Wa(pt),F[it].c(),m(F[it],1),F[it].m(k,w))}for(ce(),it=pe.length;it<F.length;it+=1)ue(it);fe()}se[43]&&!se[4]?ye?(ye.p(se,Ce),Ce[0]&16|Ce[1]&4096&&m(ye,1)):(ye=Ga(se),ye.c(),m(ye,1),ye.m(k,y)):ye&&(ce(),v(ye,1,1,()=>{ye=null}),fe());const st={};Ce[6]&1073741824&&(st.$$scope={dirty:Ce,ctx:se}),!x&&Ce[0]&8388608&&(x=!0,st.ref=se[23].volume,je(()=>x=!1)),E.$set(st),se[40]?me?(me.p(se,Ce),Ce[1]&512&&m(me,1)):(me=Ya(se),me.c(),m(me,1),me.m(k,V)):me&&(ce(),v(me,1,1,()=>{me=null}),fe()),!se[83]&&!se[4]?Ie?(Ie.p(se,Ce),Ce[0]&16|Ce[2]&2097152&&m(Ie,1)):(Ie=Qa(se),Ie.c(),m(Ie,1),Ie.m(k,ee)):Ie&&(ce(),v(Ie,1,1,()=>{Ie=null}),fe()),se[42]&&!se[4]?ze?(ze.p(se,Ce),Ce[0]&16|Ce[1]&2048&&m(ze,1)):(ze=Xa(se),ze.c(),m(ze,1),ze.m(k,re)):ze&&(ce(),v(ze,1,1,()=>{ze=null}),fe()),se[84].features.contextMenuButton&&qe.p(se,Ce),se[44]?ge?(ge.p(se,Ce),Ce[1]&8192&&m(ge,1)):(ge=Ja(se),ge.c(),m(ge,1),ge.m(k,X)):ge&&(ce(),v(ge,1,1,()=>{ge=null}),fe()),se[39]?B?(B.p(se,Ce),Ce[1]&256&&m(B,1)):(B=xa(se),B.c(),m(B,1),B.m(k,null)):B&&(ce(),v(B,1,1,()=>{B=null}),fe()),(!A||Ce[0]&2)&&R(e,"hidden",se[1]),(!A||Ce[0]&8)&&R(e,"controls-hidden",!se[3]),(!A||Ce[0]&4)&&R(e,"no-smooth",se[2]),se[122]&&Te.p(se,Ce)},i(se){if(!A){m(i.$$.fragment,se),m(O),m(ne),m(L),m(G),m(_e),m(Ee),m(Le),m(g.$$.fragment,se);for(let Ce=0;Ce<pe.length;Ce+=1)m(F[Ce]);m(ye),m(E.$$.fragment,se),m(me),m(Ie),m(ze),m(qe),m(ge),m(B),m(Te),A=!0}},o(se){v(i.$$.fragment,se),v(O),v(ne),v(L),v(G),v(_e),v(Ee),v(Le),v(g.$$.fragment,se),F=F.filter(Boolean);for(let Ce=0;Ce<F.length;Ce+=1)v(F[Ce]);v(ye),v(E.$$.fragment,se),v(me),v(Ie),v(ze),v(qe),v(ge),v(B),v(Te),A=!1},d(se){se&&(S(e),S(J),S(M)),Z(i),O&&O.d(),ne&&ne.d(),L&&L.d(),G&&G.d(),_e&&_e.d(),Ee&&Ee.d(),Le&&Le.d(),Z(g),b(),Mn(F,se),ye&&ye.d(),Z(E),me&&me.d(),Ie&&Ie.d(),ze&&ze.d(),qe&&qe.d(),ge&&ge.d(),B&&B.d(),t[194](null),t[195](null),Te&&Te.d(se)}}}function Gg(t,e,i){var Fr,Ur;let n,l,r,o,s,a,c,f,d,h,g,_,b,C,k,w,y,E,x,q,V,ee,re,N,X,J,M,A,O,ne,L,G,_e=W,Ee=()=>(_e(),_e=ei(re,Y=>i(144,G=Y)),re),Le,Ne=W,Fe=()=>(Ne(),Ne=ei(ee,Y=>i(145,Le=Y)),ee),pe,F=W,ue=()=>(F(),F=ei(V,Y=>i(146,pe=Y)),V),ye,Ue=W,We=()=>(Ue(),Ue=ei(q,Y=>i(147,ye=Y)),q),me,Ie=W,ze=()=>(Ie(),Ie=ei(x,Y=>i(148,me=Y)),x),qe,ge=W,B=()=>(ge(),ge=ei(E,Y=>i(149,qe=Y)),E),Te,se=W,Ce=()=>(se(),se=ei(y,Y=>i(150,Te=Y)),y),Ge,tt=W,st=()=>(tt(),tt=ei(w,Y=>i(151,Ge=Y)),w),it,pt=W,at=()=>(pt(),pt=ei(k,Y=>i(152,it=Y)),k),de,rt=W,At=()=>(rt(),rt=ei(C,Y=>i(153,de=Y)),C),yt,Me=W,Bt=()=>(Me(),Me=ei(b,Y=>i(154,yt=Y)),b),ae,_t=W,Ct=()=>(_t(),_t=ei(_,Y=>i(155,ae=Y)),_),ht,dt=W,Qe=()=>(dt(),dt=ei(g,Y=>i(156,ht=Y)),g),Pe,nt=W,Jt=()=>(nt(),nt=ei(h,Y=>i(157,Pe=Y)),h),Ut,Ui=W,xi=()=>(Ui(),Ui=ei(d,Y=>i(158,Ut=Y)),d),oi,di=W,yi=()=>(di(),di=ei(f,Y=>i(159,oi=Y)),f),xt,mi=W,$i=()=>(mi(),mi=ei(c,Y=>i(160,xt=Y)),c),Ci,Ri,pi,hi,vi,Si,Ti,li,Gt,It,gi,Vt,$t,ri,bi,mt,Nt,gt,_i,si,an,en,Rt;t.$$.on_destroy.push(()=>_e()),t.$$.on_destroy.push(()=>Ne()),t.$$.on_destroy.push(()=>F()),t.$$.on_destroy.push(()=>Ue()),t.$$.on_destroy.push(()=>Ie()),t.$$.on_destroy.push(()=>ge()),t.$$.on_destroy.push(()=>se()),t.$$.on_destroy.push(()=>tt()),t.$$.on_destroy.push(()=>pt()),t.$$.on_destroy.push(()=>rt()),t.$$.on_destroy.push(()=>Me()),t.$$.on_destroy.push(()=>_t()),t.$$.on_destroy.push(()=>dt()),t.$$.on_destroy.push(()=>nt()),t.$$.on_destroy.push(()=>Ui()),t.$$.on_destroy.push(()=>di()),t.$$.on_destroy.push(()=>mi());let{bottomHidden:ai}=e,{bottomNoSmooth:qi}=e,{showControls:Pi}=e,{controlsElementRef:ui=void 0}=e,{isAds:Yt=!1}=e,{canRewindLive:ji}=e,{logoClickable:tn}=e,{logoHidden:Qt}=e,{videoLogoUrl:Ot}=e,{showNextPrevButtons:qt}=e,{nextButtonActive:Zi}=e,{prevButtonActive:nn}=e,{isOneVideoPlaylist:on=!1}=e,{supportLink:Oi}=e,{customFullscreenSupported:Ei=!0}=e,{playNextVideo:jt}=e,{playPrevVideo:ci}=e,{repeatPlaylist:Ii}=e,{toggleFullscreen:Di}=e,{returnFocus:Ki}=e,{seekToInteractive:wi}=e,{toggleGraph:Ai}=e,{playPrevChapter:zi}=e;const He=Et(),Li=Do(),Dt=wn(),Be=He.actions.internal.toggleMuted,Wi=He.actions.internal.togglePlay,Gi=He.actions.internal.pause,Hi=He.actions.internal.toggleSubtitle,Yi=(Fr=He.callbacks)==null?void 0:Fr.onAudioDoesNotExistHint,Fi=(Ur=He.callbacks)==null?void 0:Ur.onAudioDisabledHint,hn=He.state.duration$;z(t,hn,Y=>i(82,en=Y));const Qi=He.state.positionWithScrubbing$;z(t,Qi,Y=>i(80,si=Y));const Zt=He.state.playbackState$;z(t,Zt,Y=>i(161,pi=Y));const Xi=He.state.chromecastConnected$;z(t,Xi,Y=>i(83,Rt=Y));const Mt=He.state.isAudioAvailable$;z(t,Mt,Y=>i(197,N=Y));const le=He.state.isAudioDisabled,ot=He.state.isEnded$;z(t,ot,Y=>i(169,ri=Y));const fi=He.state.isLive$;z(t,fi,Y=>i(33,li=Y));const Vi=He.state.isActiveLive$;z(t,Vi,Y=>i(163,Si=Y));const Mi=He.state.isRewindableLive$;z(t,Mi,Y=>i(32,Ti=Y));const Kt=He.ui.isPictureInPictureActive$;z(t,Kt,Y=>i(165,It=Y));const kn=He.ui.pictureInPictureType$;z(t,kn,Y=>i(164,Gt=Y));const vn=He.ui.settingsMenuVisible;z(t,vn,Y=>i(27,M=Y));const Pn=He.ui.settingsMenuOpenedByKeyboard;z(t,Pn,Y=>i(140,J=Y));const Wt=He.ui.controls,un=He.actions.internal.getVideoEpisodes(),yn=He.state.chromecastState$;z(t,yn,Y=>i(29,Ci=Y));const gn=He.state.availableSubtitlesList$;z(t,gn,Y=>i(168,$t=Y));const Cn=He.state.currentSubtitle$;z(t,Cn,Y=>i(170,bi=Y));const En=Wt.disabledControls$;z(t,En,Y=>i(172,Nt=Y));const cn=He.ui.contextMenu.visible$;z(t,cn,Y=>i(162,hi=Y));const Sn=He.ui.contextMenu.showContextMenuBtn$;z(t,Sn,Y=>i(166,gi=Y));const Tn=He.ui.contextMenu.openedByBtnKeyboard$;z(t,Tn,Y=>i(167,Vt=Y));const te=He.ui.startedByKeyboard$;z(t,te,Y=>i(139,X=Y));const wt=He.ads.duration;z(t,wt,Y=>i(81,an=Y));const bn=He.ads.position;z(t,bn,Y=>i(79,_i=Y));const ln=He.ads.playbackState;z(t,ln,Y=>i(171,mt=Y));const _n=He.ui.isFullscreen;z(t,_n,Y=>i(30,Ri=Y));const fn=He.ui.playerSize;z(t,fn,Y=>i(142,O=Y));const Gn=He.ui.currentGridType$;z(t,Gn,Y=>i(143,ne=Y));const Yn=He.ui.additionalButtons$;z(t,Yn,Y=>i(28,L=Y));const io=He.actions.internal.getVideoElement,Qn=He.actions.internal.replayInteractive,dn=He.state.isInteractive,$=He.state.isInteractiveTime$;z(t,$,Y=>i(141,A=Y));const no=He.state.showInteractiveGraph,Xn=He.state.showSeekToInteractive,po=He.state.showPlayPrevChapter,Bn=He.state.showInteractiveTimeIndicator,Nn=He.state.graphIsOpened$;z(t,Nn,Y=>i(31,vi=Y));const oo=He.state.playPrevChapterDisabledTooltip,ho=Li.seekToInteractiveDisabledTooltip$;z(t,ho,Y=>i(78,gt=Y));const vo=()=>He.actions.internal.toggleChromecast();let go,lo,bo,_o,Rn,wo,U,kt,rn,lt,I,oe,ve,Re,Xe,ft,Lt,St,Bi,ro,tl,ko="";const Of=(Y,Ml)=>{if(!Y){i(50,ko=Q("tooltip_live"));return}Ml===et.PlaybackState.PAUSED&&i(50,ko=Q("tooltip_play"))};let Rr,Or,Dr,zr,il;const Ye={};let In,zo,Vl,Hr;const Df=ie.throttleFn(wf,Nu,{leading:!1});let nl,ol,ll;function zf(){jo({isAudioDisabled:le,audioDisabledHintCallback:Fi,isAudioAvailable:N,audioIsNotExistHintCallback:Yi})&&Be()}const Hf=dn?Qn:on?Wi:Ii;function Ff(Y){t.$$.not_equal(Ye.prevButton,Y)&&(Ye.prevButton=Y,i(23,Ye))}function Uf(Y){t.$$.not_equal(Ye.replayButton,Y)&&(Ye.replayButton=Y,i(23,Ye))}function qf(Y){ll=Y,i(26,ll)}function jf(Y){t.$$.not_equal(Ye.playButton,Y)&&(Ye.playButton=Y,i(23,Ye))}function Zf(Y){t.$$.not_equal(Ye.nextButton,Y)&&(Ye.nextButton=Y,i(23,Ye))}function Kf(Y){t.$$.not_equal(Ye.playPrevChapterButton,Y)&&(Ye.playPrevChapterButton=Y,i(23,Ye))}function Wf(Y){t.$$.not_equal(Ye.seekToInteractiveButton,Y)&&(Ye.seekToInteractiveButton=Y,i(23,Ye))}function Gf(Y){t.$$.not_equal(Ye.interactiveGraphButton,Y)&&(Ye.interactiveGraphButton=Y,i(23,Ye))}function Yf(Y){t.$$.not_equal(Ye.liveButton,Y)&&(Ye.liveButton=Y,i(23,Ye))}function Qf(Y){t.$$.not_equal(Ye.time,Y)&&(Ye.time=Y,i(23,Ye))}function Xf(Y){t.$$.not_equal(Ye.episodes,Y)&&(Ye.episodes=Y,i(23,Ye))}function Jf(){il=this.clientWidth,i(22,il)}function xf(Y){t.$$.not_equal(Ye.vkLogo,Y)&&(Ye.vkLogo=Y,i(23,Ye))}function $f(Y){t.$$.not_equal(Ye.volume,Y)&&(Ye.volume=Y,i(23,Ye))}function e0(Y){t.$$.not_equal(Ye.subtitles,Y)&&(Ye.subtitles=Y,i(23,Ye))}function t0(Y){nl=Y,i(24,nl)}function i0(Y){ol=Y,i(25,ol)}function n0(Y){t.$$.not_equal(Ye.settings,Y)&&(Ye.settings=Y,i(23,Ye))}function o0(Y){t.$$.not_equal(Ye.context,Y)&&(Ye.context=Y,i(23,Ye))}function l0(Y){t.$$.not_equal(Ye.fullscreen,Y)&&(Ye.fullscreen=Y,i(23,Ye))}function r0(Y){t.$$.not_equal(Ye.chromecast,Y)&&(Ye.chromecast=Y,i(23,Ye))}function s0(Y){Se[Y?"unshift":"push"](()=>{Lt=Y,i(46,Lt)})}function a0(Y){Se[Y?"unshift":"push"](()=>{ui=Y,i(0,ui)})}function u0(Y){t.$$.not_equal(Ye.interactiveTimeIndicator,Y)&&(Ye.interactiveTimeIndicator=Y,i(23,Ye))}return t.$$set=Y=>{"bottomHidden"in Y&&i(1,ai=Y.bottomHidden),"bottomNoSmooth"in Y&&i(2,qi=Y.bottomNoSmooth),"showControls"in Y&&i(3,Pi=Y.showControls),"controlsElementRef"in Y&&i(0,ui=Y.controlsElementRef),"isAds"in Y&&i(4,Yt=Y.isAds),"canRewindLive"in Y&&i(5,ji=Y.canRewindLive),"logoClickable"in Y&&i(6,tn=Y.logoClickable),"logoHidden"in Y&&i(129,Qt=Y.logoHidden),"videoLogoUrl"in Y&&i(7,Ot=Y.videoLogoUrl),"showNextPrevButtons"in Y&&i(130,qt=Y.showNextPrevButtons),"nextButtonActive"in Y&&i(8,Zi=Y.nextButtonActive),"prevButtonActive"in Y&&i(9,nn=Y.prevButtonActive),"isOneVideoPlaylist"in Y&&i(131,on=Y.isOneVideoPlaylist),"supportLink"in Y&&i(10,Oi=Y.supportLink),"customFullscreenSupported"in Y&&i(132,Ei=Y.customFullscreenSupported),"playNextVideo"in Y&&i(11,jt=Y.playNextVideo),"playPrevVideo"in Y&&i(12,ci=Y.playPrevVideo),"repeatPlaylist"in Y&&i(133,Ii=Y.repeatPlaylist),"toggleFullscreen"in Y&&i(13,Di=Y.toggleFullscreen),"returnFocus"in Y&&i(14,Ki=Y.returnFocus),"seekToInteractive"in Y&&i(15,wi=Y.seekToInteractive),"toggleGraph"in Y&&i(16,Ai=Y.toggleGraph),"playPrevChapter"in Y&&i(17,zi=Y.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[5]&131072&&i(138,n=Nt.has(vt.EPISODE_BUTTON)),t.$$.dirty[5]&131072&&i(77,l=Nt.has(vt.GRAPH_BUTTON)),t.$$.dirty[5]&131072&&i(76,r=Nt.has(vt.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[5]&131072&&i(75,o=Nt.has(vt.PLAY_BUTTON)),t.$$.dirty[5]&131072&&i(74,s=Nt.has(vt.REPLAY_BUTTON)),t.$$.dirty[5]&131072&&i(73,a=Nt.has(vt.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[0]&16|t.$$.dirty[5]&65600&&i(34,go=Yt?mt===ti.PLAYING:pi===et.PlaybackState.PLAYING),t.$$.dirty[5]&32768&&i(18,lo=bi.value!=="off"),t.$$.dirty[0]&16|t.$$.dirty[5]&16384&&i(35,bo=ri&&!Yt||dn),t.$$.dirty[0]&16|t.$$.dirty[5]&16384&&i(36,_o=!ri||dn||Yt),t.$$.dirty[4]&524288&&i(134,Rn=An(ne,exports.GridTypes.M)),t.$$.dirty[0]&272|t.$$.dirty[4]&524352&&i(37,wo=qt&&An(ne,exports.GridTypes.M)&&!Yt&&Zi),t.$$.dirty[0]&528|t.$$.dirty[4]&524352&&i(38,U=qt&&An(ne,exports.GridTypes.M)&&!Yt&&nn),t.$$.dirty[0]&536870912|t.$$.dirty[4]&524288|t.$$.dirty[5]&1536&&i(39,kt=Ci!==et.ChromecastState.NOT_AVAILABLE&&!(It&&Gt===Fn.DocumentPictureInPicture)&&An(ne,exports.GridTypes.M)&&!dn),t.$$.dirty[4]&524288|t.$$.dirty[5]&8192&&i(40,rn=$t.length>0&&An(ne,exports.GridTypes.M)),t.$$.dirty[5]&6144&&i(41,lt=Vt||gi),t.$$.dirty[4]&524288&&i(42,I=An(ne,exports.GridTypes.S)),t.$$.dirty[4]&32&&i(43,oe=!Qt),t.$$.dirty[4]&524576|t.$$.dirty[5]&1536&&i(44,ve=Dt.features.fullscreen&&(Qt||An(ne,exports.GridTypes.S))&&!(It&&Gt===Fn.DocumentPictureInPicture)&&(dn?Ei:!0)),t.$$.dirty[0]&16|t.$$.dirty[1]&4&&i(19,Re=(!li||Yt)&&!(Dt.features.interactiveHideTime&&dn)),t.$$.dirty[4]&262144&&i(45,Xe=O.width>100),t.$$.dirty[0]&16|t.$$.dirty[1]&4|t.$$.dirty[4]&17408&&i(20,ft=!Yt&&!li&&!!(un!=null&&un.length)&&Rn&&!n),t.$$.dirty[1]&2|t.$$.dirty[5]&256&&i(21,St=!Ti||Si),t.$$.dirty[5]&64&&i(47,Bi=pi===et.PlaybackState.PLAYING?Q("tooltip_pause"):Q("tooltip_play")),t.$$.dirty[1]&1&&i(48,ro=Q(vi?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),t.$$.dirty[5]&128&&i(49,tl=Q(hi?"aria_label_context_menu_close":"aria_label_context_menu_open")),t.$$.dirty[0]&2097152|t.$$.dirty[5]&64&&Of(St,pi),t.$$.dirty[0]&262144&&i(52,Or=Q(lo?"tooltip_subtitles_on":"tooltip_subtitles_off")),t.$$.dirty[0]&1073741824&&i(53,Dr=Q(Ri?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),t.$$.dirty[0]&536870912&&i(54,zr=Ci===et.ChromecastState.CONNECTED?Q("tooltip_chromecast_on"):Q("tooltip_chromecast_off")),t.$$.dirty[0]&268435456|t.$$.dirty[4]&2146435072|t.$$.dirty[5]&63&&i(135,In={prevButton:xt?xt.right-xt.left:0,replayButton:oi?oi.right-oi.left:0,playButton:Ut?Ut.right-Ut.left:0,nextButton:Pe?Pe.right-Pe.left:0,playPrevChapterButton:ht?ht.right-ht.left:0,seekToInteractiveButton:ae?ae.right-ae.left:0,interactiveGraphButton:yt?yt.right-yt.left:0,liveButton:de?de.right-de.left:0,time:it?it.right-it.left:0,episodes:Ge?Ge.right-Ge.left:0,vkLogo:Te?Te.right-Te.left:0,volume:qe?qe.right-qe.left:0,subtitles:me?me.right-me.left:0,settings:ye?ye.right-ye.left:0,context:pe?pe.right-pe.left:0,fullscreen:Le?Le.right-Le.left:0,chromecast:G?G.right-G.left:0,additionalButtons:L.length?L.reduce(Y=>[...Y,40],[]):[]}),t.$$.dirty[4]&6144&&(!zo||zo<In.time)&&i(136,zo=In.time),t.$$.dirty[0]&5767168|t.$$.dirty[4]&530432){let Y=0;ft&&(An(ne,exports.GridTypes.XL)?Y=In.time:Y=H0);const Ml=In.prevButton+In.playButton+In.nextButton+In.seekToInteractiveButton+In.interactiveGraphButton+In.liveButton+zo+Y;i(137,Vl=Re&&il>=Ml)}t.$$.dirty[4]&532480&&i(55,Hr=Vl&&An(ne,exports.GridTypes.M)),t.$$.dirty[0]&8388616|t.$$.dirty[4]&393216&&Df(io(),Wt,Ye,Pi),t.$$.dirty[0]&167772160&&Er(ol,M,Pn),t.$$.dirty[0]&150994944|t.$$.dirty[4]&65536&&Cl(nl,M,J),t.$$.dirty[0]&67108864|t.$$.dirty[4]&32768&&kf(te,X,ll)},i(51,Rr=Dt.logoType===ao.VK_VIDEO?Q("tooltip_vk_video_logo"):Q("tooltip_vk_logo")),$i(i(72,{prevButton:c,replayButton:f,playButton:d,nextButton:h,playPrevChapterButton:g,seekToInteractiveButton:_,interactiveGraphButton:b,liveButton:C,time:k,episodes:w,vkLogo:y,volume:E,subtitles:x,settings:q,context:V,fullscreen:ee,chromecast:re}=Wt,c,yi(i(71,f)),xi(i(70,d)),Jt(i(69,h)),Qe(i(68,g)),Ct(i(67,_)),Bt(i(66,b)),At(i(65,C)),at(i(64,k)),st(i(63,w)),Ce(i(62,y)),B(i(61,E)),ze(i(60,x)),We(i(59,q)),ue(i(58,V)),Fe(i(57,ee)),Ee(i(56,re)))),[ui,ai,qi,Pi,Yt,ji,tn,Ot,Zi,nn,Oi,jt,ci,Di,Ki,wi,Ai,zi,lo,Re,ft,St,il,Ye,nl,ol,ll,M,L,Ci,Ri,vi,Ti,li,go,bo,_o,wo,U,kt,rn,lt,I,oe,ve,Xe,Lt,Bi,ro,tl,ko,Rr,Or,Dr,zr,Hr,re,ee,V,q,x,E,y,w,k,C,b,_,g,h,d,f,c,a,s,o,r,l,gt,_i,si,an,en,Rt,Dt,Wi,Gi,Hi,hn,Qi,Zt,Xi,Mt,ot,fi,Vi,Mi,Kt,kn,vn,Pn,un,yn,gn,Cn,En,cn,Sn,Tn,te,wt,bn,ln,_n,fn,Gn,Yn,dn,$,no,Xn,po,Bn,Nn,oo,ho,vo,zf,Hf,Qt,qt,on,Ei,Ii,Rn,In,zo,Vl,n,X,J,A,O,ne,G,Le,pe,ye,me,qe,Te,Ge,it,de,yt,ae,ht,Pe,Ut,oi,xt,pi,hi,Si,Gt,It,gi,Vt,$t,ri,bi,mt,Nt,Ff,Uf,qf,jf,Zf,Kf,Wf,Gf,Yf,Qf,Xf,Jf,xf,$f,e0,t0,i0,n0,o0,l0,r0,s0,a0,u0]}class Yg extends ke{constructor(e){super(),we(this,e,Gg,Wg,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:129,videoLogoUrl:7,showNextPrevButtons:130,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:131,supportLink:10,customFullscreenSupported:132,playNextVideo:11,playPrevVideo:12,repeatPlaylist:133,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},yg,[-1,-1,-1,-1,-1,-1,-1])}}function Qg(t){let e,i,n,l;return{c(){e=D("svg"),i=D("g"),n=D("path"),l=D("path"),u(n,"d","M0 0h24v24H0z"),u(l,"fill","#fff"),u(l,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(r,o){T(r,e,o),p(e,i),p(i,n),p(i,l)},p:W,i:W,o:W,d(r){r&&S(e)}}}class Xg extends ke{constructor(e){super(),we(this,e,null,Qg,be,{})}}function Jg(t){Ke(t,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function $a(t){let e;return{c(){e=P("span"),e.textContent=`${Q("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(i,n){T(i,e,n)},p:W,d(i){i&&S(e)}}}function xg(t){let e,i,n,l;var r=t[4];function o(a){return{}}r&&(i=Dn(r,o()));let s=t[1]&&$a();return{c(){e=P("div"),i&&K(i.$$.fragment),n=H(),s&&s.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),R(e,"expanded",t[1])},m(a,c){T(a,e,c),i&&j(i,e,null),p(e,n),s&&s.m(e,null),l=!0},p(a,c){if(c&16&&r!==(r=a[4])){if(i){ce();const f=i;v(f.$$.fragment,1,0,()=>{Z(f,1)}),fe()}r?(i=Dn(r,o()),K(i.$$.fragment),m(i.$$.fragment,1),j(i,e,n)):i=null}a[1]?s?s.p(a,c):(s=$a(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!l||c&2)&&R(e,"expanded",a[1])},i(a){l||(i&&m(i.$$.fragment,a),l=!0)},o(a){i&&v(i.$$.fragment,a),l=!1},d(a){a&&S(e),i&&Z(i),s&&s.d()}}}function $g(t){let e,i,n;function l(o){t[6](o)}let r={testId:t[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:t[2],ariaLabel:t[3],$$slots:{default:[xg]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new ki({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.testId=o[1]?"btn-mobile-unmuted":"btn-mobile-muted"),s&4&&(a.click=o[2]),s&8&&(a.ariaLabel=o[3]),s&146&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function eb(t,e,i){let{muted:n=!1}=e,{expanded:l=!1}=e,{click:r=ie.noop}=e,{ref:o=void 0}=e,s,a;function c(f){o=f,i(0,o)}return t.$$set=f=>{"muted"in f&&i(5,n=f.muted),"expanded"in f&&i(1,l=f.expanded),"click"in f&&i(2,r=f.click),"ref"in f&&i(0,o=f.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,s=Q(n?"tooltip_volume":"tooltip_volume_muted")),t.$$.dirty&2&&i(4,a=l?Il:Xg)},[o,l,r,s,a,n,c]}class Cf extends ke{constructor(e){super(),we(this,e,eb,$g,be,{muted:5,expanded:1,click:2,ref:0},Jg)}}function tb(t){let e,i,n,l;return{c(){e=D("svg"),i=D("path"),n=D("path"),l=D("path"),u(i,"fill",t[1]),u(i,"clip-rule","evenodd"),u(i,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",t[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),R(n,"hidden",!t[0]),u(l,"fill",t[1]),u(l,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),R(l,"hidden",t[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(r,o){T(r,e,o),p(e,i),p(e,n),p(e,l)},p(r,[o]){o&2&&u(i,"fill",r[1]),o&2&&u(n,"fill",r[1]),o&1&&R(n,"hidden",!r[0]),o&2&&u(l,"fill",r[1]),o&1&&R(l,"hidden",r[0])},i:W,o:W,d(r){r&&S(e)}}}function ib(t,e,i){let n,{isActive:l=!1}=e;return t.$$set=r=>{"isActive"in r&&i(0,l=r.isActive)},t.$$.update=()=>{t.$$.dirty&1&&i(1,n=l?"#2688EB":"#fff")},[l,n]}class nb extends ke{constructor(e){super(),we(this,e,ib,tb,be,{isActive:0})}}function ob(t){let e,i;return e=new nb({props:{isActive:t[1]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isActive=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function lb(t){let e,i,n;function l(o){t[3](o)}let r={testId:"btn-pip",ariaLabel:Q("menu_pip"),click:t[2],$$slots:{default:[ob]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new ki({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,[s]){const a={};s&4&&(a.click=o[2]),s&18&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function rb(t,e,i){let{ref:n=void 0}=e,{isPictureInPictureActive:l=!1}=e,{click:r=ie.noop}=e;function o(s){n=s,i(0,n)}return t.$$set=s=>{"ref"in s&&i(0,n=s.ref),"isPictureInPictureActive"in s&&i(1,l=s.isPictureInPictureActive),"click"in s&&i(2,r=s.click)},[n,l,r,o]}class sb extends ke{constructor(e){super(),we(this,e,rb,lb,be,{ref:0,isPictureInPictureActive:1,click:2})}}function ab(t){Ke(t,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function e1(t,e,i){const n=t.slice();return n[169]=e[i].iconUrl,n[170]=e[i].ariaLabel,n[171]=e[i].testId,n[172]=e[i].onClick,n[173]=e[i].tooltip,n}function t1(t){let e,i,n,l,r,o,s,a,c,f,d,h,g,_,b,C,k,w=(!t[51]||t[53])&&i1(t),y=Xt(t[56]),E=[];for(let O=0;O<y.length;O+=1)E[O]=n1(e1(t,y,O));const x=O=>v(E[O],1,1,()=>{E[O]=null});let q=t[36]&&o1(t),V=t[37]&&l1(t),ee=t[57]&&r1(t),re=t[39]&&s1(t),N=t[8]&&a1(t),X=t[34]&&u1(t),J=t[33]&&c1(t),M=t[8]&&f1(t),A=t[96]&&!t[29]&&d1(t);return{c(){e=P("div"),i=H(),n=P("div"),w&&w.c(),l=H(),r=P("div");for(let O=0;O<E.length;O+=1)E[O].c();o=H(),q&&q.c(),s=H(),V&&V.c(),a=H(),ee&&ee.c(),c=H(),re&&re.c(),f=H(),d=P("div"),N&&N.c(),h=H(),X&&X.c(),g=H(),J&&J.c(),_=H(),M&&M.c(),b=H(),A&&A.c(),C=bt(),u(e,"class","overlay-mobile v-1tcstu3"),R(e,"hidden",!t[42]),u(n,"class","wrapper-top-left v-1tcstu3"),R(n,"hidden",!t[3]),R(n,"fullscreen",t[52]),u(r,"class","wrapper-top-right v-1tcstu3"),R(r,"hidden",!t[3]&&!t[27]),R(r,"fullscreen",t[52]),u(d,"class","wrapper-middle v-1tcstu3"),R(d,"hidden",!t[3]||t[29])},m(O,ne){T(O,e,ne),T(O,i,ne),T(O,n,ne),w&&w.m(n,null),T(O,l,ne),T(O,r,ne);for(let L=0;L<E.length;L+=1)E[L]&&E[L].m(r,null);p(r,o),q&&q.m(r,null),p(r,s),V&&V.m(r,null),p(r,a),ee&&ee.m(r,null),p(r,c),re&&re.m(r,null),T(O,f,ne),T(O,d,ne),N&&N.m(d,null),p(d,h),X&&X.m(d,null),p(d,g),J&&J.m(d,null),p(d,_),M&&M.m(d,null),T(O,b,ne),A&&A.m(O,ne),T(O,C,ne),k=!0},p(O,ne){if((!k||ne[1]&2048)&&R(e,"hidden",!O[42]),!O[51]||O[53]?w?(w.p(O,ne),ne[1]&5242880&&m(w,1)):(w=i1(O),w.c(),m(w,1),w.m(n,null)):w&&(ce(),v(w,1,1,()=>{w=null}),fe()),(!k||ne[0]&8)&&R(n,"hidden",!O[3]),(!k||ne[1]&2097152)&&R(n,"fullscreen",O[52]),ne[1]&33554432){y=Xt(O[56]);let L;for(L=0;L<y.length;L+=1){const G=e1(O,y,L);E[L]?(E[L].p(G,ne),m(E[L],1)):(E[L]=n1(G),E[L].c(),m(E[L],1),E[L].m(r,o))}for(ce(),L=y.length;L<E.length;L+=1)x(L);fe()}O[36]?q?(q.p(O,ne),ne[1]&32&&m(q,1)):(q=o1(O),q.c(),m(q,1),q.m(r,s)):q&&(ce(),v(q,1,1,()=>{q=null}),fe()),O[37]?V?(V.p(O,ne),ne[1]&64&&m(V,1)):(V=l1(O),V.c(),m(V,1),V.m(r,a)):V&&(ce(),v(V,1,1,()=>{V=null}),fe()),O[57]?ee?(ee.p(O,ne),ne[1]&67108864&&m(ee,1)):(ee=r1(O),ee.c(),m(ee,1),ee.m(r,c)):ee&&(ce(),v(ee,1,1,()=>{ee=null}),fe()),O[39]?re?(re.p(O,ne),ne[1]&256&&m(re,1)):(re=s1(O),re.c(),m(re,1),re.m(r,null)):re&&(ce(),v(re,1,1,()=>{re=null}),fe()),(!k||ne[0]&134217736)&&R(r,"hidden",!O[3]&&!O[27]),(!k||ne[1]&2097152)&&R(r,"fullscreen",O[52]),O[8]?N?(N.p(O,ne),ne[0]&256&&m(N,1)):(N=a1(O),N.c(),m(N,1),N.m(d,h)):N&&(ce(),v(N,1,1,()=>{N=null}),fe()),O[34]?X?(X.p(O,ne),ne[1]&8&&m(X,1)):(X=u1(O),X.c(),m(X,1),X.m(d,g)):X&&(ce(),v(X,1,1,()=>{X=null}),fe()),O[33]?J?(J.p(O,ne),ne[1]&4&&m(J,1)):(J=c1(O),J.c(),m(J,1),J.m(d,_)):J&&(ce(),v(J,1,1,()=>{J=null}),fe()),O[8]?M?(M.p(O,ne),ne[0]&256&&m(M,1)):(M=f1(O),M.c(),m(M,1),M.m(d,null)):M&&(ce(),v(M,1,1,()=>{M=null}),fe()),(!k||ne[0]&536870920)&&R(d,"hidden",!O[3]||O[29]),O[96]&&!O[29]?A?(A.p(O,ne),ne[0]&536870912&&m(A,1)):(A=d1(O),A.c(),m(A,1),A.m(C.parentNode,C)):A&&(ce(),v(A,1,1,()=>{A=null}),fe())},i(O){if(!k){m(w);for(let ne=0;ne<y.length;ne+=1)m(E[ne]);m(q),m(V),m(ee),m(re),m(N),m(X),m(J),m(M),m(A),k=!0}},o(O){v(w),E=E.filter(Boolean);for(let ne=0;ne<E.length;ne+=1)v(E[ne]);v(q),v(V),v(ee),v(re),v(N),v(X),v(J),v(M),v(A),k=!1},d(O){O&&(S(e),S(i),S(n),S(l),S(r),S(f),S(d),S(b),S(C)),w&&w.d(),Mn(E,O),q&&q.d(),V&&V.d(),ee&&ee.d(),re&&re.d(),N&&N.d(),X&&X.d(),J&&J.d(),M&&M.d(),A&&A.d(O)}}}function i1(t){let e,i,n;function l(o){t[130](o)}let r={muted:t[54],expanded:t[51]&&!t[70]&&t[55],click:t[106]};return t[20].volume!==void 0&&(r.ref=t[20].volume),e=new Cf({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[1]&8388608&&(a.muted=o[54]),s[1]&17825792&&(a.expanded=o[51]&&!o[70]&&o[55]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].volume,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function n1(t){var n;let e,i;return e=new hf({props:{iconUrl:t[169],ariaLabel:(n=t[170])!=null?n:t[173],testId:t[171],onClick:t[172]}}),{c(){K(e.$$.fragment)},m(l,r){j(e,l,r),i=!0},p(l,r){var s;const o={};r[1]&33554432&&(o.iconUrl=l[169]),r[1]&33554432&&(o.ariaLabel=(s=l[170])!=null?s:l[173]),r[1]&33554432&&(o.testId=l[171]),r[1]&33554432&&(o.onClick=l[172]),e.$set(o)},i(l){i||(m(e.$$.fragment,l),i=!0)},o(l){v(e.$$.fragment,l),i=!1},d(l){Z(e,l)}}}function o1(t){let e,i,n;function l(o){t[131](o)}let r={isMobile:!0,click:t[104],state:t[28]};return t[20].chromecast!==void 0&&(r.ref=t[20].chromecast),e=new lf({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[0]&268435456&&(a.state=o[28]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].chromecast,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function l1(t){let e,i,n;function l(o){t[132](o)}let r={click:t[105],isPictureInPictureActive:t[26]};return t[20].pip!==void 0&&(r.ref=t[20].pip),e=new sb({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[0]&67108864&&(a.isPictureInPictureActive=o[26]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].pip,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function r1(t){let e,i,n;function l(o){t[133](o)}let r={};return t[22]!==void 0&&(r.ref=t[22]),e=new Ar({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&4194304&&(i=!0,a.ref=o[22],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function s1(t){let e,i,n;function l(o){t[134](o)}let r={click:t[64],logoClickable:t[6],videoLogoUrl:t[7]};return t[20].vkLogo!==void 0&&(r.ref=t[20].vkLogo),e=new of({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[0]&64&&(a.logoClickable=o[6]),s[0]&128&&(a.videoLogoUrl=o[7]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].vkLogo,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function a1(t){let e,i,n;function l(o){t[135](o)}let r={click:t[13],type:"prev",disabled:!t[10],isMobile:!0};return t[20].prevButton!==void 0&&(r.ref=t[20].prevButton),e=new Al({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[0]&8192&&(a.click=o[13]),s[0]&1024&&(a.disabled=!o[10]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].prevButton,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function u1(t){let e,i,n;function l(o){t[136](o)}let r={disabled:t[49],click:t[63],isMobile:!0,isPlaying:t[31]};return t[20].playButton!==void 0&&(r.ref=t[20].playButton),e=new Mr({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[1]&262144&&(a.disabled=o[49]),s[1]&1&&(a.isPlaying=o[31]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].playButton,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function c1(t){let e,i,n;function l(o){t[137](o)}let r={disabled:t[48],click:t[107],isMobile:!0};return t[20].replayButton!==void 0&&(r.ref=t[20].replayButton),e=new Br({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.disabled=o[48]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].replayButton,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function f1(t){let e,i,n;function l(o){t[138](o)}let r={click:t[12],type:"next",disabled:!t[9],isMobile:!0};return t[20].nextButton!==void 0&&(r.ref=t[20].nextButton),e=new Al({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[0]&4096&&(a.click=o[12]),s[0]&512&&(a.disabled=!o[9]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].nextButton,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function d1(t){let e,i,n,l,r=t[100]&&ub(t),o=t[98]&&cb(t),s=t[99]&&fb(t);return{c(){r&&r.c(),e=H(),o&&o.c(),i=H(),s&&s.c(),n=bt()},m(a,c){r&&r.m(a,c),T(a,e,c),o&&o.m(a,c),T(a,i,c),s&&s.m(a,c),T(a,n,c),l=!0},p(a,c){a[100]&&r.p(a,c),a[98]&&o.p(a,c),a[99]&&s.p(a,c)},i(a){l||(m(r),m(o),m(s),l=!0)},o(a){v(r),v(o),v(s),l=!1},d(a){a&&(S(e),S(i),S(n)),r&&r.d(a),o&&o.d(a),s&&s.d(a)}}}function ub(t){let e,i,n,l,r,o;function s(c){t[139](c)}let a={hidden:!t[3],disabled:t[47],click:t[18]};return t[20].playPrevChapterButton!==void 0&&(a.ref=t[20].playPrevChapterButton),i=new pf({props:a}),Se.push(()=>Ze(i,"ref",s)),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),R(e,"fullscreen",t[52]),R(e,"hidden",!t[3])},m(c,f){T(c,e,f),j(i,e,null),l=!0,r||(o=he(e,"click",t[108]),r=!0)},p(c,f){const d={};f[0]&8&&(d.hidden=!c[3]),f[1]&65536&&(d.disabled=c[47]),f[0]&262144&&(d.click=c[18]),!n&&f[0]&1048576&&(n=!0,d.ref=c[20].playPrevChapterButton,je(()=>n=!1)),i.$set(d),(!l||f[1]&2097152)&&R(e,"fullscreen",c[52]),(!l||f[0]&8)&&R(e,"hidden",!c[3])},i(c){l||(m(i.$$.fragment,c),l=!0)},o(c){v(i.$$.fragment,c),l=!1},d(c){c&&S(e),Z(i),r=!1,o()}}}function cb(t){let e,i,n,l;function r(s){t[140](s)}let o={hidden:!t[3]&&!t[58],disabled:t[50],click:t[17],graphIsOpened:t[58]};return t[20].interactiveGraphButton!==void 0&&(o.ref=t[20].interactiveGraphButton),i=new df({props:o}),Se.push(()=>Ze(i,"ref",r)),{c(){e=P("div"),K(i.$$.fragment),u(e,"class",_0(t[100]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),R(e,"fullscreen",t[52]),R(e,"hidden",!t[3]&&!t[58])},m(s,a){T(s,e,a),j(i,e,null),l=!0},p(s,a){const c={};a[0]&8|a[1]&134217728&&(c.hidden=!s[3]&&!s[58]),a[1]&524288&&(c.disabled=s[50]),a[0]&131072&&(c.click=s[17]),a[1]&134217728&&(c.graphIsOpened=s[58]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].interactiveGraphButton,je(()=>n=!1)),i.$set(c),(!l||a[1]&2097152)&&R(e,"fullscreen",s[52]),(!l||a[0]&8|a[1]&134217728)&&R(e,"hidden",!s[3]&&!s[58])},i(s){l||(m(i.$$.fragment,s),l=!0)},o(s){v(i.$$.fragment,s),l=!1},d(s){s&&S(e),Z(i)}}}function fb(t){let e,i,n,l,r,o;function s(c){t[141](c)}let a={hidden:!t[3],disabled:t[46],click:t[16]};return t[20].seekToInteractiveButton!==void 0&&(a.ref=t[20].seekToInteractiveButton),i=new ff({props:a}),Se.push(()=>Ze(i,"ref",s)),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),R(e,"fullscreen",t[52]),R(e,"hidden",!t[3])},m(c,f){T(c,e,f),j(i,e,null),l=!0,r||(o=he(e,"click",t[109]),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]&1048576&&(n=!0,d.ref=c[20].seekToInteractiveButton,je(()=>n=!1)),i.$set(d),(!l||f[1]&2097152)&&R(e,"fullscreen",c[52]),(!l||f[0]&8)&&R(e,"hidden",!c[3])},i(c){l||(m(i.$$.fragment,c),l=!0)},o(c){v(i.$$.fragment,c),l=!1},d(c){c&&S(e),Z(i),r=!1,o()}}}function m1(t){let e,i,n,l,r,o=t[53]&&p1(t),s=t[32]&&h1(t);return l=new af({props:{position:t[59],duration:t[60]}}),{c(){o&&o.c(),e=H(),s&&s.c(),i=H(),n=P("div"),K(l.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),R(n,"fullscreen",t[52])},m(a,c){o&&o.m(a,c),T(a,e,c),s&&s.m(a,c),T(a,i,c),T(a,n,c),j(l,n,null),r=!0},p(a,c){a[53]?o?(o.p(a,c),c[1]&4194304&&m(o,1)):(o=p1(a),o.c(),m(o,1),o.m(e.parentNode,e)):o&&(ce(),v(o,1,1,()=>{o=null}),fe()),a[32]?s?(s.p(a,c),c[1]&2&&m(s,1)):(s=h1(a),s.c(),m(s,1),s.m(i.parentNode,i)):s&&(ce(),v(s,1,1,()=>{s=null}),fe());const f={};c[1]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),l.$set(f),(!r||c[1]&2097152)&&R(n,"fullscreen",a[52])},i(a){r||(m(o),m(s),m(l.$$.fragment,a),r=!0)},o(a){v(o),v(s),v(l.$$.fragment,a),r=!1},d(a){a&&(S(e),S(i),S(n)),o&&o.d(a),s&&s.d(a),Z(l)}}}function p1(t){let e,i,n,l;function r(s){t[142](s)}let o={muted:t[54],expanded:!1,click:t[106]};return t[20].volume!==void 0&&(o.ref=t[20].volume),i=new Cf({props:o}),Se.push(()=>Ze(i,"ref",r)),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),R(e,"fullscreen",t[52])},m(s,a){T(s,e,a),j(i,e,null),l=!0},p(s,a){const c={};a[1]&8388608&&(c.muted=s[54]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].volume,je(()=>n=!1)),i.$set(c),(!l||a[1]&2097152)&&R(e,"fullscreen",s[52])},i(s){l||(m(i.$$.fragment,s),l=!0)},o(s){v(i.$$.fragment,s),l=!1},d(s){s&&S(e),Z(i)}}}function h1(t){let e,i,n,l;function r(s){t[143](s)}let o={disabled:t[49],click:t[63],isMobile:!0,isPlaying:!t[32]};return t[20].playButton!==void 0&&(o.ref=t[20].playButton),i=new Mr({props:o}),Se.push(()=>Ze(i,"ref",r)),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(s,a){T(s,e,a),j(i,e,null),l=!0},p(s,a){const c={};a[1]&262144&&(c.disabled=s[49]),a[1]&2&&(c.isPlaying=!s[32]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].playButton,je(()=>n=!1)),i.$set(c)},i(s){l||(m(i.$$.fragment,s),l=!0)},o(s){v(i.$$.fragment,s),l=!1},d(s){s&&S(e),Z(i)}}}function db(t){let e,i,n;function l(o){t[144](o)}let r={disabled:t[48],$$slots:{default:[mb]},$$scope:{ctx:t}};return t[20].replayButton!==void 0&&(r.ref=t[20].replayButton),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.disabled=o[48]),s[1]&131072|s[5]&2097152&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].replayButton,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function mb(t){let e,i;return e=new Br({props:{disabled:t[48],click:t[95]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[1]&131072&&(r.disabled=n[48]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function v1(t){let e,i,n;function l(o){t[145](o)}let r={$$slots:{default:[pb]},$$scope:{ctx:t}};return t[20].liveButton!==void 0&&(r.ref=t[20].liveButton),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[0]&524288|s[1]&16384|s[5]&2097152&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].liveButton,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function pb(t){let e,i;return e=new rf({props:{isActiveLive:t[19],isMobile:!0,ariaLabel:t[45]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&524288&&(r.isActiveLive=n[19]),l[1]&16384&&(r.ariaLabel=n[45]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function g1(t){let e,i,n;function l(o){t[146](o)}let r={showDuration:t[35],position:t[4]?t[59]:t[61],duration:t[4]?t[60]:t[62],isMobile:!0};return t[20].time!==void 0&&(r.ref=t[20].time),e=new Jc({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[1]&16&&(a.showDuration=o[35]),s[0]&16|s[1]&1342177280&&(a.position=o[4]?o[59]:o[61]),s[0]&16|s[1]&536870912|s[2]&1&&(a.duration=o[4]?o[60]:o[62]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].time,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function b1(t){let e,i,n,l;return n=new cf({props:{position:t[61],duration:t[62],timeCodes:t[84]}}),{c(){e=P("div"),e.textContent="\xB7",i=H(),K(n.$$.fragment),u(e,"aria-hidden","true")},m(r,o){T(r,e,o),T(r,i,o),j(n,r,o),l=!0},p(r,o){const s={};o[1]&1073741824&&(s.position=r[61]),o[2]&1&&(s.duration=r[62]),n.$set(s)},i(r){l||(m(n.$$.fragment,r),l=!0)},o(r){v(n.$$.fragment,r),l=!1},d(r){r&&(S(e),S(i)),Z(n,r)}}}function hb(t){let e,i,n=t[43]&&b1(t);return{c(){n&&n.c(),e=bt()},m(l,r){n&&n.m(l,r),T(l,e,r),i=!0},p(l,r){l[43]?n?(n.p(l,r),r[1]&4096&&m(n,1)):(n=b1(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(ce(),v(n,1,1,()=>{n=null}),fe())},i(l){i||(m(n),i=!0)},o(l){v(n),i=!1},d(l){l&&S(e),n&&n.d(l)}}}function _1(t){let e,i,n;function l(o){t[149](o)}let r={$$slots:{default:[vb]},$$scope:{ctx:t}};return t[20].settings!==void 0&&(r.ref=t[20].settings),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[0]&4194304|s[5]&2097152&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].settings,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function vb(t){let e,i,n;function l(o){t[148](o)}let r={};return t[22]!==void 0&&(r.ref=t[22]),e=new Ar({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&4194304&&(i=!0,a.ref=o[22],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function w1(t){let e,i,n;function l(o){t[150](o)}let r={$$slots:{default:[gb]},$$scope:{ctx:t}};return t[20].fullscreen!==void 0&&(r.ref=t[20].fullscreen),e=new Ft({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[0]&16384|s[1]&2097152|s[5]&2097152&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].fullscreen,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function gb(t){let e,i;return e=new tf({props:{click:t[14],isFullscreen:t[52]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&16384&&(r.click=n[14]),l[1]&2097152&&(r.isFullscreen=n[52]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function k1(t){let e,i,n,l;function r(s){t[153](s)}let o={supportLink:t[11],returnFocus:t[15]};return t[21]!==void 0&&(o.ref=t[21]),i=new Xc({props:o}),Se.push(()=>Ze(i,"ref",r)),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(s,a){T(s,e,a),j(i,e,null),l=!0},p(s,a){const c={};a[0]&2048&&(c.supportLink=s[11]),a[0]&32768&&(c.returnFocus=s[15]),!n&&a[0]&2097152&&(n=!0,c.ref=s[21],je(()=>n=!1)),i.$set(c)},i(s){l||(m(i.$$.fragment,s),l=!0)},o(s){v(i.$$.fragment,s),l=!1},d(s){s&&S(e),Z(i)}}}function bb(t){let e,i,n;function l(o){t[154](o)}let r={};return t[20].interactiveTimeIndicator!==void 0&&(r.ref=t[20].interactiveTimeIndicator),e=new yf({props:r}),Se.push(()=>Ze(e,"ref",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&1048576&&(i=!0,a.ref=o[20].interactiveTimeIndicator,je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function _b(t){let e,i,n,l,r,o,s,a,c,f,d,h,g,_,b,C,k,w,y=!t[4]&&t1(t),E=t[4]&&t[30]!==ti.INACTIVE&&m1(t),x=t[96]&&db(t),q=!t[4]&&t[25]&&v1(t),V=t[41]&&g1(t);function ee(A){t[147](A)}let re={className:"w-max",disabled:!t[43],$$slots:{default:[hb]},$$scope:{ctx:t}};t[20].episodes!==void 0&&(re.ref=t[20].episodes),c=new Ft({props:re}),Se.push(()=>Ze(c,"ref",ee));let N=t[38]&&_1(t),X=t[40]&&w1(t);_=new uf({props:{isAds:t[4],canRewindLive:t[5],isRewindableLive:t[24]}});let J=t[23]&&k1(t),M=t[101]&&bb(t);return{c(){y&&y.c(),e=H(),E&&E.c(),i=H(),n=P("div"),l=P("div"),r=P("div"),x&&x.c(),o=H(),q&&q.c(),s=H(),V&&V.c(),a=H(),K(c.$$.fragment),d=H(),N&&N.c(),h=H(),X&&X.c(),g=H(),K(_.$$.fragment),b=H(),J&&J.c(),C=H(),M&&M.c(),k=bt(),u(r,"class","controls v-1tcstu3"),R(r,"mobile",!0),u(l,"class","controls-wrapper v-1tcstu3"),R(l,"fullscreen",t[52]),u(n,"class","wrapper-bottom v-1tcstu3"),R(n,"hidden",t[1]),R(n,"controls-hidden",!t[3]),R(n,"no-smooth",t[2]),R(n,"mobile",!0)},m(A,O){y&&y.m(A,O),T(A,e,O),E&&E.m(A,O),T(A,i,O),T(A,n,O),p(n,l),p(l,r),x&&x.m(r,null),p(r,o),q&&q.m(r,null),p(r,s),V&&V.m(r,null),p(r,a),j(c,r,null),p(r,d),N&&N.m(r,null),p(r,h),X&&X.m(r,null),t[151](r),p(l,g),j(_,l,null),t[152](n),T(A,b,O),J&&J.m(A,O),T(A,C,O),M&&M.m(A,O),T(A,k,O),w=!0},p(A,O){A[4]?y&&(ce(),v(y,1,1,()=>{y=null}),fe()):y?(y.p(A,O),O[0]&16&&m(y,1)):(y=t1(A),y.c(),m(y,1),y.m(e.parentNode,e)),A[4]&&A[30]!==ti.INACTIVE?E?(E.p(A,O),O[0]&1073741840&&m(E,1)):(E=m1(A),E.c(),m(E,1),E.m(i.parentNode,i)):E&&(ce(),v(E,1,1,()=>{E=null}),fe()),A[96]&&x.p(A,O),!A[4]&&A[25]?q?(q.p(A,O),O[0]&33554448&&m(q,1)):(q=v1(A),q.c(),m(q,1),q.m(r,s)):q&&(ce(),v(q,1,1,()=>{q=null}),fe()),A[41]?V?(V.p(A,O),O[1]&1024&&m(V,1)):(V=g1(A),V.c(),m(V,1),V.m(r,a)):V&&(ce(),v(V,1,1,()=>{V=null}),fe());const ne={};O[1]&4096&&(ne.disabled=!A[43]),O[1]&1073745920|O[2]&1|O[5]&2097152&&(ne.$$scope={dirty:O,ctx:A}),!f&&O[0]&1048576&&(f=!0,ne.ref=A[20].episodes,je(()=>f=!1)),c.$set(ne),A[38]?N?(N.p(A,O),O[1]&128&&m(N,1)):(N=_1(A),N.c(),m(N,1),N.m(r,h)):N&&(ce(),v(N,1,1,()=>{N=null}),fe()),A[40]?X?(X.p(A,O),O[1]&512&&m(X,1)):(X=w1(A),X.c(),m(X,1),X.m(r,null)):X&&(ce(),v(X,1,1,()=>{X=null}),fe());const L={};O[0]&16&&(L.isAds=A[4]),O[0]&32&&(L.canRewindLive=A[5]),O[0]&16777216&&(L.isRewindableLive=A[24]),_.$set(L),(!w||O[1]&2097152)&&R(l,"fullscreen",A[52]),(!w||O[0]&2)&&R(n,"hidden",A[1]),(!w||O[0]&8)&&R(n,"controls-hidden",!A[3]),(!w||O[0]&4)&&R(n,"no-smooth",A[2]),A[23]?J?(J.p(A,O),O[0]&8388608&&m(J,1)):(J=k1(A),J.c(),m(J,1),J.m(C.parentNode,C)):J&&(ce(),v(J,1,1,()=>{J=null}),fe()),A[101]&&M.p(A,O)},i(A){w||(m(y),m(E),m(x),m(q),m(V),m(c.$$.fragment,A),m(N),m(X),m(_.$$.fragment,A),m(J),m(M),w=!0)},o(A){v(y),v(E),v(x),v(q),v(V),v(c.$$.fragment,A),v(N),v(X),v(_.$$.fragment,A),v(J),v(M),w=!1},d(A){A&&(S(e),S(i),S(n),S(b),S(C),S(k)),y&&y.d(A),E&&E.d(A),x&&x.d(),q&&q.d(),V&&V.d(),Z(c),N&&N.d(),X&&X.d(),t[151](null),Z(_),t[152](null),J&&J.d(A),M&&M.d(A)}}}function wb(t,e,i){var Qn,dn;let n,l,r,o,s,a,c,f,d,h,g,_,b,C,k,w,y,E,x,q,V,ee,re,N,X,J,M,A,O,ne,L,G,_e,Ee,Le,Ne,Fe,{bottomHidden:pe}=e,{bottomNoSmooth:F}=e,{showControls:ue}=e,{controlsElementRef:ye=void 0}=e,{isAds:Ue=!1}=e,{canRewindLive:We}=e,{logoClickable:me}=e,{logoHidden:Ie}=e,{videoLogoUrl:ze}=e,{showNextPrevButtons:qe}=e,{nextButtonActive:ge}=e,{prevButtonActive:B}=e,{isOneVideoPlaylist:Te=!1}=e,{supportLink:se}=e,{customFullscreenSupported:Ce=!0}=e,{playNextVideo:Ge}=e,{playPrevVideo:tt}=e,{repeatPlaylist:st}=e,{toggleFullscreen:it}=e,{returnFocus:pt}=e,{seekToInteractive:at}=e,{toggleGraph:de}=e,{playPrevChapter:rt}=e,{onDisabledPlayPrevChapterClick:At}=e,{onDisabledSeekToInteractiveClick:yt}=e;const Me=Et(),Bt=Do(),ae=wn(),_t=Me.actions.internal.toggleMuted,Ct=Me.actions.internal.togglePlay,ht=Me.actions.internal.pause,dt=(Qn=Me.callbacks)==null?void 0:Qn.onAudioDoesNotExistHint,Qe=(dn=Me.callbacks)==null?void 0:dn.onAudioDisabledHint,Pe=Me.playerPhase;z(t,Pe,$=>i(126,V=$));const nt=Me.state.duration$;z(t,nt,$=>i(62,Fe=$));const Jt=Me.state.positionWithScrubbing$;z(t,Jt,$=>i(61,Ne=$));const Ut=Me.state.playbackState$;z(t,Ut,$=>i(121,h=$));const Ui=Me.state.isAudioAvailable$;z(t,Ui,$=>i(51,g=$));const xi=Me.state.isAudioDisabled,oi=Me.state.isEnded$;z(t,oi,$=>i(127,re=$));const di=Me.state.isLive$;z(t,di,$=>i(25,w=$));const yi=Me.state.muted$;z(t,yi,$=>i(54,O=$));const xt=Me.state.isActiveLive$;z(t,xt,$=>i(124,C=$));const mi=Me.state.isRewindableLive$;z(t,mi,$=>i(24,k=$));const $i=Me.ui.scrubbingInProgress;z(t,$i,$=>i(29,ee=$));const Ci=Me.ui.mobileNotReportControlHidden$;z(t,Ci,$=>i(27,x=$));const Ri=Me.ui.isPictureInPictureActive$;z(t,Ri,$=>i(26,E=$));const pi=Me.ui.pictureInPictureType$;z(t,pi,$=>i(125,y=$));const hi=Me.ui.mobileUnmuteButtonExpanded;z(t,hi,$=>i(55,ne=$));const vi=Me.ui.mobileUnmuteButtonVisible;z(t,vi,$=>i(53,A=$));const Si=Me.ui.settingsMenuVisible;z(t,Si,$=>i(23,d=$));const Ti=Me.ui.settingsMenuOpenedByKeyboard;z(t,Ti,$=>i(120,f=$));const li=Me.ui.controls,Gt=Me.actions.internal.getVideoEpisodes(),It=Me.webApi.pictureInPictureApi,gi=Me.state.chromecastState$;z(t,gi,$=>i(28,q=$));const Vt=Me.state.crashed$;z(t,Vt,$=>i(57,G=$));const $t=li.disabledControls$;z(t,$t,$=>i(128,X=$));const ri=Me.ui.startedByKeyboard$;z(t,ri,$=>i(119,c=$));const bi=Me.ads.duration;z(t,bi,$=>i(60,Le=$));const mt=Me.ads.position;z(t,mt,$=>i(59,Ee=$));const Nt=Me.ads.playbackState;z(t,Nt,$=>i(30,N=$));const gt=Me.ui.isFullscreen;z(t,gt,$=>i(52,M=$));const _i=Me.ui.playerSize;z(t,_i,$=>i(123,b=$));const si=Me.ui.additionalButtons$;z(t,si,$=>i(56,L=$));const an=Me.actions.internal.getVideoElement,en=Me.actions.internal.replayInteractive,Rt=Me.state.isInteractive,ai=Me.state.isInteractiveTime$;z(t,ai,$=>i(122,_=$));const qi=Me.state.showInteractiveGraph,Pi=Me.state.showSeekToInteractive,ui=Me.state.showPlayPrevChapter,Yt=Me.state.showInteractiveTimeIndicator,ji=Me.state.graphIsOpened$;z(t,ji,$=>i(58,_e=$));const tn=Bt.seekToInteractiveDisabledTooltip$;z(t,tn,$=>i(129,J=$));let Qt,Ot,qt,Zi,nn,on,Oi,Ei,jt,ci,Ii,Di,Ki,wi,Ai,zi,He,Li,Dt;const Be={},Wi=ie.throttleFn(wf,Nu,{leading:!1}),Gi=()=>Me.actions.internal.toggleChromecast();function Hi(){jo({isAudioDisabled:xi,audioDisabledHintCallback:Qe,isAudioAvailable:g,audioIsNotExistHintCallback:dt})&&_t()}function Yi(){return Ji(this,null,function*(){It!=null&&It.isActive()?yield It==null?void 0:It.remove():yield It==null?void 0:It.request()})}function Fi(){!xi&&g&&vi.set(!1),Hi()}const hn=Te?Ct:st;let Qi="";const Zt=($,no)=>{if(!$){i(45,Qi=Q("tooltip_live"));return}no===et.PlaybackState.PAUSED&&i(45,Qi=Q("tooltip_play"))};let Xi,Mt;const le=()=>{a&&At(Qt)},ot=()=>{r&&yt(Ot)};function fi($){t.$$.not_equal(Be.volume,$)&&(Be.volume=$,i(20,Be))}function Vi($){t.$$.not_equal(Be.chromecast,$)&&(Be.chromecast=$,i(20,Be))}function Mi($){t.$$.not_equal(Be.pip,$)&&(Be.pip=$,i(20,Be))}function Kt($){Mt=$,i(22,Mt)}function kn($){t.$$.not_equal(Be.vkLogo,$)&&(Be.vkLogo=$,i(20,Be))}function vn($){t.$$.not_equal(Be.prevButton,$)&&(Be.prevButton=$,i(20,Be))}function Pn($){t.$$.not_equal(Be.playButton,$)&&(Be.playButton=$,i(20,Be))}function Wt($){t.$$.not_equal(Be.replayButton,$)&&(Be.replayButton=$,i(20,Be))}function un($){t.$$.not_equal(Be.nextButton,$)&&(Be.nextButton=$,i(20,Be))}function yn($){t.$$.not_equal(Be.playPrevChapterButton,$)&&(Be.playPrevChapterButton=$,i(20,Be))}function gn($){t.$$.not_equal(Be.interactiveGraphButton,$)&&(Be.interactiveGraphButton=$,i(20,Be))}function Cn($){t.$$.not_equal(Be.seekToInteractiveButton,$)&&(Be.seekToInteractiveButton=$,i(20,Be))}function En($){t.$$.not_equal(Be.volume,$)&&(Be.volume=$,i(20,Be))}function cn($){t.$$.not_equal(Be.playButton,$)&&(Be.playButton=$,i(20,Be))}function Sn($){t.$$.not_equal(Be.replayButton,$)&&(Be.replayButton=$,i(20,Be))}function Tn($){t.$$.not_equal(Be.liveButton,$)&&(Be.liveButton=$,i(20,Be))}function te($){t.$$.not_equal(Be.time,$)&&(Be.time=$,i(20,Be))}function wt($){t.$$.not_equal(Be.episodes,$)&&(Be.episodes=$,i(20,Be))}function bn($){Mt=$,i(22,Mt)}function ln($){t.$$.not_equal(Be.settings,$)&&(Be.settings=$,i(20,Be))}function _n($){t.$$.not_equal(Be.fullscreen,$)&&(Be.fullscreen=$,i(20,Be))}function fn($){Se[$?"unshift":"push"](()=>{Li=$,i(44,Li)})}function Gn($){Se[$?"unshift":"push"](()=>{ye=$,i(0,ye)})}function Yn($){Xi=$,i(21,Xi)}function io($){t.$$.not_equal(Be.interactiveTimeIndicator,$)&&(Be.interactiveTimeIndicator=$,i(20,Be))}return t.$$set=$=>{"bottomHidden"in $&&i(1,pe=$.bottomHidden),"bottomNoSmooth"in $&&i(2,F=$.bottomNoSmooth),"showControls"in $&&i(3,ue=$.showControls),"controlsElementRef"in $&&i(0,ye=$.controlsElementRef),"isAds"in $&&i(4,Ue=$.isAds),"canRewindLive"in $&&i(5,We=$.canRewindLive),"logoClickable"in $&&i(6,me=$.logoClickable),"logoHidden"in $&&i(110,Ie=$.logoHidden),"videoLogoUrl"in $&&i(7,ze=$.videoLogoUrl),"showNextPrevButtons"in $&&i(8,qe=$.showNextPrevButtons),"nextButtonActive"in $&&i(9,ge=$.nextButtonActive),"prevButtonActive"in $&&i(10,B=$.prevButtonActive),"isOneVideoPlaylist"in $&&i(111,Te=$.isOneVideoPlaylist),"supportLink"in $&&i(11,se=$.supportLink),"customFullscreenSupported"in $&&i(112,Ce=$.customFullscreenSupported),"playNextVideo"in $&&i(12,Ge=$.playNextVideo),"playPrevVideo"in $&&i(13,tt=$.playPrevVideo),"repeatPlaylist"in $&&i(113,st=$.repeatPlaylist),"toggleFullscreen"in $&&i(14,it=$.toggleFullscreen),"returnFocus"in $&&i(15,pt=$.returnFocus),"seekToInteractive"in $&&i(16,at=$.seekToInteractive),"toggleGraph"in $&&i(17,de=$.toggleGraph),"playPrevChapter"in $&&i(18,rt=$.playPrevChapter),"onDisabledPlayPrevChapterClick"in $&&i(114,At=$.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in $&&i(115,yt=$.onDisabledSeekToInteractiveClick)},t.$$.update=()=>{if(t.$$.dirty[4]&32&&(Ot=Q(J)),t.$$.dirty[4]&16&&i(118,n=X.has(vt.EPISODE_BUTTON)),t.$$.dirty[4]&16&&i(50,l=X.has(vt.GRAPH_BUTTON)),t.$$.dirty[4]&16&&i(46,r=X.has(vt.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[4]&16&&i(49,o=X.has(vt.PLAY_BUTTON)),t.$$.dirty[4]&16&&i(48,s=X.has(vt.REPLAY_BUTTON)),t.$$.dirty[4]&16&&i(47,a=X.has(vt.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[3]&268435456&&i(31,qt=h===et.PlaybackState.PLAYING),t.$$.dirty[0]&1073741824&&i(32,Zi=N===ti.PAUSED),t.$$.dirty[0]&16|t.$$.dirty[4]&8&&i(33,nn=re&&!Ue&&!Rt),t.$$.dirty[0]&16|t.$$.dirty[4]&8&&i(34,on=!re||Ue),t.$$.dirty[3]&1073741824&&i(116,Oi=b.width>300),t.$$.dirty[3]&1073741824&&i(35,Ei=b.width>400),t.$$.dirty[0]&536870912&&i(117,jt=ee),t.$$.dirty[0]&469762048|t.$$.dirty[4]&2&&i(36,ci=q!==et.ChromecastState.NOT_AVAILABLE&&!(E&&y===Fn.DocumentPictureInPicture)&&!x&&!Rt),t.$$.dirty[0]&402653184|t.$$.dirty[3]&16777216|t.$$.dirty[4]&6){const $=V===Oe.WaitingLive;i(37,Ii=!!It&&q!==et.ChromecastState.CONNECTED&&!x&&(y===Fn.DocumentPictureInPicture&&$||!$)&&!jt&&!Rt)}t.$$.dirty[3]&16777216&&i(38,Di=!jt),t.$$.dirty[3]&1073872896&&i(39,Ki=!Ie&&b.width>350),t.$$.dirty[0]&67108864|t.$$.dirty[3]&17301504|t.$$.dirty[4]&2&&i(40,wi=ae.features.fullscreen&&!(E&&y===Fn.DocumentPictureInPicture)&&(Rt?Ce:!0)&&!jt),t.$$.dirty[0]&33554448|t.$$.dirty[3]&1090519040&&i(41,Ai=(!w||Ue)&&b.width>260&&!jt&&!(ae.features.interactiveHideTime&&Rt)),t.$$.dirty[0]&8388616&&i(42,zi=d||ue),t.$$.dirty[0]&33554448|t.$$.dirty[3]&58720256&&i(43,He=!Ue&&!w&&!!(Gt!=null&&Gt.length)&&Oi&&!n&&!jt),t.$$.dirty[0]&16777216|t.$$.dirty[4]&1&&i(19,Dt=!k||C),t.$$.dirty[0]&1048584|t.$$.dirty[3]&1610612736&&Wi(an(),li,Be,ue),t.$$.dirty[0]&524288|t.$$.dirty[3]&268435456&&Zt(Dt,h),t.$$.dirty[0]&12582912&&Er(Mt,d,Ti),t.$$.dirty[0]&10485760|t.$$.dirty[3]&134217728&&Cl(Xi,d,f),t.$$.dirty[0]&1048576|t.$$.dirty[3]&67108864&&kf(ri,c,Be.playButton)},Qt=Q(Me.state.playPrevChapterDisabledTooltip),[ye,pe,F,ue,Ue,We,me,ze,qe,ge,B,se,Ge,tt,it,pt,at,de,rt,Dt,Be,Xi,Mt,d,k,w,E,x,q,ee,N,qt,Zi,nn,on,Ei,ci,Ii,Di,Ki,wi,Ai,zi,He,Li,Qi,r,a,s,o,l,g,M,A,O,ne,L,G,_e,Ee,Le,Ne,Fe,Ct,ht,Pe,nt,Jt,Ut,Ui,xi,oi,di,yi,xt,mi,$i,Ci,Ri,pi,hi,vi,Si,Ti,Gt,gi,Vt,$t,ri,bi,mt,Nt,gt,_i,si,en,Rt,ai,qi,Pi,ui,Yt,ji,tn,Gi,Yi,Fi,hn,le,ot,Ie,Te,Ce,st,At,yt,Oi,jt,n,c,f,h,_,b,C,y,V,re,X,J,fi,Vi,Mi,Kt,kn,vn,Pn,Wt,un,yn,gn,Cn,En,cn,Sn,Tn,te,wt,bn,ln,_n,fn,Gn,Yn,io]}class kb extends ke{constructor(e){super(),we(this,e,wb,_b,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:110,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:111,supportLink:11,customFullscreenSupported:112,playNextVideo:12,playPrevVideo:13,repeatPlaylist:113,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18,onDisabledPlayPrevChapterClick:114,onDisabledSeekToInteractiveClick:115},ab,[-1,-1,-1,-1,-1,-1])}}function yb(t){let e,i,n;function l(o){t[28](o)}let r={bottomHidden:t[1],bottomNoSmooth:t[2],showControls:t[3],isAds:t[4],canRewindLive:t[5],logoClickable:t[6],logoHidden:t[7],videoLogoUrl:t[8],showNextPrevButtons:t[9],nextButtonActive:t[10],prevButtonActive:t[11],isOneVideoPlaylist:t[12],supportLink:t[13],customFullscreenSupported:t[14],playNextVideo:t[15],playPrevVideo:t[16],repeatPlaylist:t[17],toggleFullscreen:t[18],returnFocus:t[19],seekToInteractive:t[20],toggleGraph:t[21],playPrevChapter:t[22]};return t[0]!==void 0&&(r.controlsElementRef=t[0]),e=new Yg({props:r}),Se.push(()=>Ze(e,"controlsElementRef",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s&2&&(a.bottomHidden=o[1]),s&4&&(a.bottomNoSmooth=o[2]),s&8&&(a.showControls=o[3]),s&16&&(a.isAds=o[4]),s&32&&(a.canRewindLive=o[5]),s&64&&(a.logoClickable=o[6]),s&128&&(a.logoHidden=o[7]),s&256&&(a.videoLogoUrl=o[8]),s&512&&(a.showNextPrevButtons=o[9]),s&1024&&(a.nextButtonActive=o[10]),s&2048&&(a.prevButtonActive=o[11]),s&4096&&(a.isOneVideoPlaylist=o[12]),s&8192&&(a.supportLink=o[13]),s&16384&&(a.customFullscreenSupported=o[14]),s&32768&&(a.playNextVideo=o[15]),s&65536&&(a.playPrevVideo=o[16]),s&131072&&(a.repeatPlaylist=o[17]),s&262144&&(a.toggleFullscreen=o[18]),s&524288&&(a.returnFocus=o[19]),s&1048576&&(a.seekToInteractive=o[20]),s&2097152&&(a.toggleGraph=o[21]),s&4194304&&(a.playPrevChapter=o[22]),!i&&s&1&&(i=!0,a.controlsElementRef=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Cb(t){let e,i,n;function l(o){t[27](o)}let r={bottomHidden:t[1],bottomNoSmooth:t[2],showControls:t[3],isAds:t[4],canRewindLive:t[5],logoClickable:t[6],logoHidden:t[7],videoLogoUrl:t[8],showNextPrevButtons:t[9],nextButtonActive:t[10],prevButtonActive:t[11],isOneVideoPlaylist:t[12],supportLink:t[13],customFullscreenSupported:t[14],playNextVideo:t[15],playPrevVideo:t[16],repeatPlaylist:t[17],toggleFullscreen:t[18],returnFocus:t[19],seekToInteractive:t[20],toggleGraph:t[21],playPrevChapter:t[22],onDisabledPlayPrevChapterClick:t[23],onDisabledSeekToInteractiveClick:t[24]};return t[0]!==void 0&&(r.controlsElementRef=t[0]),e=new kb({props:r}),Se.push(()=>Ze(e,"controlsElementRef",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s&2&&(a.bottomHidden=o[1]),s&4&&(a.bottomNoSmooth=o[2]),s&8&&(a.showControls=o[3]),s&16&&(a.isAds=o[4]),s&32&&(a.canRewindLive=o[5]),s&64&&(a.logoClickable=o[6]),s&128&&(a.logoHidden=o[7]),s&256&&(a.videoLogoUrl=o[8]),s&512&&(a.showNextPrevButtons=o[9]),s&1024&&(a.nextButtonActive=o[10]),s&2048&&(a.prevButtonActive=o[11]),s&4096&&(a.isOneVideoPlaylist=o[12]),s&8192&&(a.supportLink=o[13]),s&16384&&(a.customFullscreenSupported=o[14]),s&32768&&(a.playNextVideo=o[15]),s&65536&&(a.playPrevVideo=o[16]),s&131072&&(a.repeatPlaylist=o[17]),s&262144&&(a.toggleFullscreen=o[18]),s&524288&&(a.returnFocus=o[19]),s&1048576&&(a.seekToInteractive=o[20]),s&2097152&&(a.toggleGraph=o[21]),s&4194304&&(a.playPrevChapter=o[22]),s&8388608&&(a.onDisabledPlayPrevChapterClick=o[23]),s&16777216&&(a.onDisabledSeekToInteractiveClick=o[24]),!i&&s&1&&(i=!0,a.controlsElementRef=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Sb(t){let e,i,n,l;const r=[Cb,yb],o=[];function s(a,c){return a[25]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=bt()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(ce(),v(o[f],1,1,()=>{o[f]=null}),fe(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function Tb(t,e,i){let n,{bottomHidden:l}=e,{bottomNoSmooth:r=!1}=e,{showControls:o}=e,{controlsElementRef:s=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:d}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:g}=e,{nextButtonActive:_}=e,{prevButtonActive:b}=e,{isOneVideoPlaylist:C=!1}=e,{supportLink:k}=e,{customFullscreenSupported:w=!0}=e,{playNextVideo:y}=e,{playPrevVideo:E}=e,{repeatPlaylist:x}=e,{toggleFullscreen:q}=e,{returnFocus:V=ie.noop}=e,{seekToInteractive:ee}=e,{toggleGraph:re}=e,{playPrevChapter:N}=e,{onDisabledPlayPrevChapterClick:X=ie.noop}=e,{onDisabledSeekToInteractiveClick:J=ie.noop}=e;const A=Et().ui.isMobile;z(t,A,L=>i(25,n=L));function O(L){s=L,i(0,s)}function ne(L){s=L,i(0,s)}return t.$$set=L=>{"bottomHidden"in L&&i(1,l=L.bottomHidden),"bottomNoSmooth"in L&&i(2,r=L.bottomNoSmooth),"showControls"in L&&i(3,o=L.showControls),"controlsElementRef"in L&&i(0,s=L.controlsElementRef),"isAds"in L&&i(4,a=L.isAds),"canRewindLive"in L&&i(5,c=L.canRewindLive),"logoClickable"in L&&i(6,f=L.logoClickable),"logoHidden"in L&&i(7,d=L.logoHidden),"videoLogoUrl"in L&&i(8,h=L.videoLogoUrl),"showNextPrevButtons"in L&&i(9,g=L.showNextPrevButtons),"nextButtonActive"in L&&i(10,_=L.nextButtonActive),"prevButtonActive"in L&&i(11,b=L.prevButtonActive),"isOneVideoPlaylist"in L&&i(12,C=L.isOneVideoPlaylist),"supportLink"in L&&i(13,k=L.supportLink),"customFullscreenSupported"in L&&i(14,w=L.customFullscreenSupported),"playNextVideo"in L&&i(15,y=L.playNextVideo),"playPrevVideo"in L&&i(16,E=L.playPrevVideo),"repeatPlaylist"in L&&i(17,x=L.repeatPlaylist),"toggleFullscreen"in L&&i(18,q=L.toggleFullscreen),"returnFocus"in L&&i(19,V=L.returnFocus),"seekToInteractive"in L&&i(20,ee=L.seekToInteractive),"toggleGraph"in L&&i(21,re=L.toggleGraph),"playPrevChapter"in L&&i(22,N=L.playPrevChapter),"onDisabledPlayPrevChapterClick"in L&&i(23,X=L.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in L&&i(24,J=L.onDisabledSeekToInteractiveClick)},[s,l,r,o,a,c,f,d,h,g,_,b,C,k,w,y,E,x,q,V,ee,re,N,X,J,n,A,O,ne]}class Sf extends ke{constructor(e){super(),we(this,e,Tb,Sb,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 Pb(t){Ke(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Eb(t){let e,i,n,l,r,o,s,a,c,f,d,h,g;return{c(){e=D("svg"),i=D("g"),n=D("path"),l=D("path"),r=D("defs"),o=D("filter"),s=D("feFlood"),a=D("feColorMatrix"),c=D("feOffset"),f=D("feGaussianBlur"),d=D("feColorMatrix"),h=D("feBlend"),g=D("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(l,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_100684"),u(g,"in","SourceGraphic"),u(g,"in2","effect1_dropShadow_2260_100684"),u(g,"result","shape"),u(o,"id","a"),u(o,"x","2.5"),u(o,"y","0"),u(o,"width","43.996"),u(o,"height","49.5"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),R(e,"reversed",t[0])},m(_,b){T(_,e,b),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,g)},p(_,[b]){b&1&&R(e,"reversed",_[0])},i:W,o:W,d(_){_&&S(e)}}}function Ib(t,e,i){let{reversed:n=!1}=e;return t.$$set=l=>{"reversed"in l&&i(0,n=l.reversed)},[n]}class Ab extends ke{constructor(e){super(),we(this,e,Ib,Eb,be,{reversed:0},Pb)}}function Lb(t){let e,i,n,l,r,o,s,a,c,f,d,h,g,_,b;return{c(){e=D("svg"),i=D("g"),n=D("path"),l=D("path"),r=D("defs"),o=D("clipPath"),s=D("path"),a=D("filter"),c=D("feFlood"),f=D("feColorMatrix"),d=D("feOffset"),h=D("feGaussianBlur"),g=D("feColorMatrix"),_=D("feBlend"),b=D("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(l,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(o,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(h,"stdDeviation","2.5"),u(g,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(_,"in2","BackgroundImageFix"),u(_,"result","effect1_dropShadow_2260_104204"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_104204"),u(b,"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(C,k){T(C,e,k),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(r,a),p(a,c),p(a,f),p(a,d),p(a,h),p(a,g),p(a,_),p(a,b)},d(C){C&&S(e)}}}function Vb(t){let e,i,n,l,r,o,s,a,c,f,d,h,g,_,b,C;return{c(){e=D("svg"),i=D("g"),n=D("path"),l=D("path"),r=D("path"),o=D("defs"),s=D("clipPath"),a=D("path"),c=D("filter"),f=D("feFlood"),d=D("feColorMatrix"),h=D("feOffset"),g=D("feGaussianBlur"),_=D("feColorMatrix"),b=D("feBlend"),C=D("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(l,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(l,"fill","#fff"),u(r,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(s,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(d,"in","SourceAlpha"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(d,"result","hardAlpha"),u(g,"stdDeviation","2.5"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(b,"in2","BackgroundImageFix"),u(b,"result","effect1_dropShadow_2260_104293"),u(C,"in","SourceGraphic"),u(C,"in2","effect1_dropShadow_2260_104293"),u(C,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(k,w){T(k,e,w),p(e,i),p(i,n),p(i,l),p(i,r),p(e,o),p(o,s),p(s,a),p(o,c),p(c,f),p(c,d),p(c,h),p(c,g),p(c,_),p(c,b),p(c,C)},d(k){k&&S(e)}}}function Mb(t){let e;function i(r,o){return r[0]?Vb:Lb}let n=i(t),l=n(t);return{c(){l.c(),e=bt()},m(r,o){l.m(r,o),T(r,e,o)},p(r,[o]){n!==(n=i(r))&&(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:W,o:W,d(r){r&&S(e),l.d(r)}}}function Bb(t,e,i){let{isOff:n=!1}=e;return t.$$set=l=>{"isOff"in l&&i(0,n=l.isOff)},[n]}class Tf extends ke{constructor(e){super(),we(this,e,Bb,Mb,be,{isOff:0})}}function Nb(t){Ke(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Rb(t){let e,i,n,l,r,o,s,a,c,f,d,h,g;return{c(){e=D("svg"),i=D("g"),n=D("path"),l=D("path"),r=D("defs"),o=D("filter"),s=D("feFlood"),a=D("feColorMatrix"),c=D("feOffset"),f=D("feGaussianBlur"),d=D("feColorMatrix"),h=D("feBlend"),g=D("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(l,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_106627"),u(g,"in","SourceGraphic"),u(g,"in2","effect1_dropShadow_2260_106627"),u(g,"result","shape"),u(o,"id","a"),u(o,"x","3.402"),u(o,"y","10.105"),u(o,"width","40.098"),u(o,"height","27.785"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),R(e,"reversed",t[0])},m(_,b){T(_,e,b),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,g)},p(_,[b]){b&1&&R(e,"reversed",_[0])},i:W,o:W,d(_){_&&S(e)}}}function Ob(t,e,i){let{reversed:n=!1}=e;return t.$$set=l=>{"reversed"in l&&i(0,n=l.reversed)},[n]}class Db extends ke{constructor(e){super(),we(this,e,Ob,Rb,be,{reversed:0},Nb)}}function zb(t){Ke(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Hb(t){let e,i,n,l,r,o,s,a,c,f,d,h,g;return{c(){e=D("svg"),i=D("g"),n=D("path"),l=D("path"),r=D("defs"),o=D("filter"),s=D("feFlood"),a=D("feColorMatrix"),c=D("feOffset"),f=D("feGaussianBlur"),d=D("feColorMatrix"),h=D("feBlend"),g=D("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(l,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2340_106922"),u(g,"in","SourceGraphic"),u(g,"in2","effect1_dropShadow_2340_106922"),u(g,"result","shape"),u(o,"id","a"),u(o,"x","5.5"),u(o,"y","5.5"),u(o,"width","37"),u(o,"height","37"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),R(e,"reversed",t[0])},m(_,b){T(_,e,b),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,g)},p(_,[b]){b&1&&R(e,"reversed",_[0])},i:W,o:W,d(_){_&&S(e)}}}function Fb(t,e,i){let{reversed:n=!1}=e;return t.$$set=l=>{"reversed"in l&&i(0,n=l.reversed)},[n]}class Ub extends ke{constructor(e){super(),we(this,e,Fb,Hb,be,{reversed:0},zb)}}function qb(t){Ke(t,"v-4ftgwp",`.hot-key-helpers-container.v-4ftgwp.v-4ftgwp{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-4ftgwp-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-4ftgwp>div.v-4ftgwp{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-4ftgwp svg[data-testid="replay-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="play-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-4ftgwp.v-4ftgwp{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-4ftgwp.v-4ftgwp{left:calc(75% - 100px)}.hot-key-helpers-text.v-4ftgwp.v-4ftgwp{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-4ftgwp.v-4ftgwp{visibility:hidden;animation:v-4ftgwp-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-4ftgwp-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-4ftgwp-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function y1(t){let e,i=[Je.BACKWARD_SEEK,Je.FORWARD_SEEK].includes(t[4]),n,l,r,o,s,a,c=[Je.RATE_DOWN,Je.RATE_UP].includes(t[4]),f,d=[Je.EPISODE_PREV,Je.EPISODE_NEXT].includes(t[4]),h,g,_,b,C,k=i&&C1(t),w=t[4]===Je.PAUSE&&S1(),y=t[4]===Je.PLAY&&T1(),E=t[4]===Je.REPLAY&&P1(),x=t[4]===Je.SUBTITLES_OFF&&E1(),q=t[4]===Je.SUBTITLES_ON&&I1(),V=c&&A1(t),ee=d&&L1(t),re=t[4]===Je.MUTE&&V1(),N=t[4]===Je.VOLUME&&M1(),X=t[5]&&B1(t);return{c(){e=P("div"),k&&k.c(),n=H(),w&&w.c(),l=H(),y&&y.c(),r=H(),E&&E.c(),o=H(),x&&x.c(),s=H(),q&&q.c(),a=H(),V&&V.c(),f=H(),ee&&ee.c(),h=H(),re&&re.c(),g=H(),N&&N.c(),_=H(),X&&X.c(),b=bt(),u(e,"class","v-4ftgwp")},m(J,M){T(J,e,M),k&&k.m(e,null),p(e,n),w&&w.m(e,null),p(e,l),y&&y.m(e,null),p(e,r),E&&E.m(e,null),p(e,o),x&&x.m(e,null),p(e,s),q&&q.m(e,null),p(e,a),V&&V.m(e,null),p(e,f),ee&&ee.m(e,null),p(e,h),re&&re.m(e,null),p(e,g),N&&N.m(e,null),T(J,_,M),X&&X.m(J,M),T(J,b,M),C=!0},p(J,M){M&16&&(i=[Je.BACKWARD_SEEK,Je.FORWARD_SEEK].includes(J[4])),i?k?(k.p(J,M),M&16&&m(k,1)):(k=C1(J),k.c(),m(k,1),k.m(e,n)):k&&(ce(),v(k,1,1,()=>{k=null}),fe()),J[4]===Je.PAUSE?w?M&16&&m(w,1):(w=S1(),w.c(),m(w,1),w.m(e,l)):w&&(ce(),v(w,1,1,()=>{w=null}),fe()),J[4]===Je.PLAY?y?M&16&&m(y,1):(y=T1(),y.c(),m(y,1),y.m(e,r)):y&&(ce(),v(y,1,1,()=>{y=null}),fe()),J[4]===Je.REPLAY?E?M&16&&m(E,1):(E=P1(),E.c(),m(E,1),E.m(e,o)):E&&(ce(),v(E,1,1,()=>{E=null}),fe()),J[4]===Je.SUBTITLES_OFF?x?M&16&&m(x,1):(x=E1(),x.c(),m(x,1),x.m(e,s)):x&&(ce(),v(x,1,1,()=>{x=null}),fe()),J[4]===Je.SUBTITLES_ON?q?M&16&&m(q,1):(q=I1(),q.c(),m(q,1),q.m(e,a)):q&&(ce(),v(q,1,1,()=>{q=null}),fe()),M&16&&(c=[Je.RATE_DOWN,Je.RATE_UP].includes(J[4])),c?V?(V.p(J,M),M&16&&m(V,1)):(V=A1(J),V.c(),m(V,1),V.m(e,f)):V&&(ce(),v(V,1,1,()=>{V=null}),fe()),M&16&&(d=[Je.EPISODE_PREV,Je.EPISODE_NEXT].includes(J[4])),d?ee?(ee.p(J,M),M&16&&m(ee,1)):(ee=L1(J),ee.c(),m(ee,1),ee.m(e,h)):ee&&(ce(),v(ee,1,1,()=>{ee=null}),fe()),J[4]===Je.MUTE?re?M&16&&m(re,1):(re=V1(),re.c(),m(re,1),re.m(e,g)):re&&(ce(),v(re,1,1,()=>{re=null}),fe()),J[4]===Je.VOLUME?N?M&16&&m(N,1):(N=M1(),N.c(),m(N,1),N.m(e,null)):N&&(ce(),v(N,1,1,()=>{N=null}),fe()),J[5]?X?X.p(J,M):(X=B1(J),X.c(),X.m(b.parentNode,b)):X&&(X.d(1),X=null)},i(J){C||(m(k),m(w),m(y),m(E),m(x),m(q),m(V),m(ee),m(re),m(N),C=!0)},o(J){v(k),v(w),v(y),v(E),v(x),v(q),v(V),v(ee),v(re),v(N),C=!1},d(J){J&&(S(e),S(_),S(b)),k&&k.d(),w&&w.d(),y&&y.d(),E&&E.d(),x&&x.d(),q&&q.d(),V&&V.d(),ee&&ee.d(),re&&re.d(),N&&N.d(),X&&X.d(J)}}}function C1(t){let e,i;return e=new Ab({props:{reversed:t[4]===Je.FORWARD_SEEK}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Je.FORWARD_SEEK),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function S1(t){let e,i;return e=new nf({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function T1(t){let e,i;return e=new Vr({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function P1(t){let e,i;return e=new mf({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function E1(t){let e,i;return e=new Tf({props:{isOff:!0}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function I1(t){let e,i;return e=new Tf({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function A1(t){let e,i;return e=new Db({props:{reversed:t[4]===Je.RATE_UP}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Je.RATE_UP),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function L1(t){let e,i;return e=new Ub({props:{reversed:t[4]===Je.EPISODE_NEXT}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Je.EPISODE_NEXT),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function V1(t){let e,i;return e=new Il({props:{volume:0}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function M1(t){let e,i;return e=new Il({props:{volume:1}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function B1(t){let e,i;return{c(){e=P("span"),i=De(t[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,l){T(n,e,l),p(e,i)},p(n,l){l&32&&$e(i,n[5])},d(n){n&&S(e)}}}function jb(t){let e,i,n=!t[1]&&t[4]&&y1(t);return{c(){e=P("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),R(e,"hidden",t[1]),R(e,"hot-key-helpers-container--left",t[2]),R(e,"hot-key-helpers-container--right",t[3])},m(l,r){T(l,e,r),n&&n.m(e,null),i=!0},p(l,[r]){!l[1]&&l[4]?n?(n.p(l,r),r&18&&m(n,1)):(n=y1(l),n.c(),m(n,1),n.m(e,null)):n&&(ce(),v(n,1,1,()=>{n=null}),fe()),(!i||r&2)&&R(e,"hidden",l[1]),(!i||r&4)&&R(e,"hot-key-helpers-container--left",l[2]),(!i||r&8)&&R(e,"hot-key-helpers-container--right",l[3])},i(l){i||(m(n),i=!0)},o(l){v(n),i=!1},d(l){l&&S(e),n&&n.d()}}}function Zb(t,e,i){let n,l=W,r=()=>(l(),l=ei(o,h=>i(6,n=h)),o);t.$$.on_destroy.push(()=>l());let{data:o}=e;r();let s,a,c,f,d;return t.$$set=h=>{"data"in h&&r(i(0,o=h.data))},t.$$.update=()=>{t.$$.dirty&64&&(i(1,s=!n),i(2,a=(n==null?void 0:n.type)===Je.BACKWARD_SEEK),i(3,c=(n==null?void 0:n.type)===Je.FORWARD_SEEK),i(4,f=n==null?void 0:n.type),n!=null&&n.t?i(5,d=Q(n.t.key,{value:n.t.value||""})):i(5,d=n==null?void 0:n.text))},[o,s,a,c,f,d,n]}class Kb extends ke{constructor(e){super(),we(this,e,Zb,jb,be,{data:0},qb)}}function Wb(t){Ke(t,"v-1yzc86r",".immersive-controls.v-1yzc86r{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn)}.immersive-controls.m-shifted.v-1yzc86r{top:50px;left:20px}.button-block.v-1yzc86r{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-1yzc86r{display:flex;flex-direction:row;position:relative}.button.v-1yzc86r{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-1yzc86r svg{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-1yzc86r svg{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-1yzc86r svg{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-1yzc86r svg{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-1yzc86r svg{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-1yzc86r:hover svg{opacity:1}")}function Gb(t){let e,i,n,l,r,o,s,a,c,f,d,h,g,_,b,C,k,w;return r=new xn({props:{direction:"up"}}),a=new xn({props:{direction:"up"}}),h=new xn({props:{direction:"up"}}),b=new xn({props:{direction:"up"}}),{c(){e=P("div"),i=P("div"),n=P("div"),l=P("div"),K(r.$$.fragment),o=H(),s=P("div"),K(a.$$.fragment),c=H(),f=P("div"),d=P("div"),K(h.$$.fragment),g=H(),_=P("div"),K(b.$$.fragment),u(l,"class","button button-up v-1yzc86r"),u(s,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(d,"class","button button-left v-1yzc86r"),u(_,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(i,"class","button-block v-1yzc86r"),u(i,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",Q("aria_label_spherical_control")),R(e,"m-shifted",t[0])},m(y,E){T(y,e,E),p(e,i),p(i,n),p(n,l),j(r,l,null),p(n,o),p(n,s),j(a,s,null),p(i,c),p(i,f),p(f,d),j(h,d,null),p(f,g),p(f,_),j(b,_,null),C=!0,k||(w=[he(l,"mousedown",t[1]),he(l,"mouseup",t[5]),he(l,"mouseleave",t[5]),he(s,"mousedown",t[3]),he(s,"mouseup",t[5]),he(s,"mouseleave",t[5]),he(d,"mousedown",t[4]),he(d,"mouseup",t[5]),he(d,"mouseleave",t[5]),he(_,"mousedown",t[2]),he(_,"mouseup",t[5]),he(_,"mouseleave",t[5]),he(e,"keydown",t[6]),he(e,"keyup",t[7])],k=!0)},p(y,[E]){(!C||E&1)&&R(e,"m-shifted",y[0])},i(y){C||(m(r.$$.fragment,y),m(a.$$.fragment,y),m(h.$$.fragment,y),m(b.$$.fragment,y),C=!0)},o(y){v(r.$$.fragment,y),v(a.$$.fragment,y),v(h.$$.fragment,y),v(b.$$.fragment,y),C=!1},d(y){y&&S(e),Z(r),Z(a),Z(h),Z(b),k=!1,ut(w)}}}function Yb(t,e,i){let{isShifted:n=!1}=e;const l=Et(),r=new Set([Ae.ArrowUp,Ae.ArrowDown,Ae.ArrowLeft,Ae.ArrowRight]),o=()=>{l.actions.internal.startCameraManualRotation(0,1)},s=()=>{l.actions.internal.startCameraManualRotation(0,-1)},a=()=>{l.actions.internal.startCameraManualRotation(1,0)},c=()=>{l.actions.internal.startCameraManualRotation(-1,0)},f=()=>(l.actions.internal.stopCameraManualRotation(),null),d=g=>{if(r.has(g.code))switch(g.preventDefault(),g.stopPropagation(),g.code){case Ae.ArrowUp:o();break;case Ae.ArrowDown:s();break;case Ae.ArrowLeft:c();break;case Ae.ArrowRight:a();break}},h=g=>{r.has(g.code)&&(g.preventDefault(),g.stopPropagation(),f())};return t.$$set=g=>{"isShifted"in g&&i(0,n=g.isShifted)},[n,o,s,a,c,f,d,h]}class Pf extends ke{constructor(e){super(),we(this,e,Yb,Gb,be,{isShifted:0},Wb)}}function Qb(t){Ke(t,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function N1(t,e,i){const n=t.slice();return n[16]=e[i].value,n}function R1(t,e,i){const n=t.slice();return n[16]=e[i].value,n[17]=e[i].timeAppeared,n}function O1(t){let e,i;function n(o,s){return o[7]&&o[8]?xb:o[5]?Jb:Xb}let l=n(t),r=l(t);return{c(){e=P("div"),i=P("span"),r.c(),u(i,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),R(e,"mobile",t[3])},m(o,s){T(o,e,s),p(e,i),r.m(i,null)},p(o,s){l===(l=n(o))&&r?r.p(o,s):(r.d(1),r=l(o),r&&(r.c(),r.m(i,null))),s&8&&R(e,"mobile",o[3])},d(o){o&&S(e),r.d()}}}function Xb(t){let e,i=Xt(t[1]),n=[];for(let l=0;l<i.length;l+=1)n[l]=D1(N1(t,i,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=bt()},m(l,r){for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(l,r);T(l,e,r)},p(l,r){if(r&18){i=Xt(l[1]);let o;for(o=0;o<i.length;o+=1){const s=N1(l,i,o);n[o]?n[o].p(s,r):(n[o]=D1(s),n[o].c(),n[o].m(e.parentNode,e))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(l){l&&S(e),Mn(n,l)}}}function Jb(t){let e,i,n=Xt(t[6]),l=[];for(let r=0;r<n.length;r+=1)l[r]=H1(R1(t,n,r));return{c(){e=P("span"),i=P("span");for(let r=0;r<l.length;r+=1)l[r].c();u(i,"class","caption-segment v-ovfyp5"),Ht(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,o){T(r,e,o),p(e,i);for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(i,null)},p(r,o){if(o&68){n=Xt(r[6]);let s;for(s=0;s<n.length;s+=1){const a=R1(r,n,s);l[s]?l[s].p(a,o):(l[s]=H1(a),l[s].c(),l[s].m(i,null))}for(;s<l.length;s+=1)l[s].d(1);l.length=n.length}o&16&&Ht(i,"font-size",r[4]+"px")},d(r){r&&S(e),Mn(l,r)}}}function xb(t){let e,i,n=Q("subtitles_auto_caption")+"",l;return{c(){e=P("span"),i=P("span"),l=De(n),u(i,"class","caption-segment v-ovfyp5"),Ht(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,o){T(r,e,o),p(e,i),p(i,l)},p(r,o){o&16&&Ht(i,"font-size",r[4]+"px")},d(r){r&&S(e)}}}function D1(t){let e,i,n=t[16]+"",l,r;return{c(){e=P("span"),i=P("span"),l=De(n),r=H(),u(i,"class","caption-segment v-ovfyp5"),Ht(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(o,s){T(o,e,s),p(e,i),p(i,l),p(e,r)},p(o,s){s&2&&n!==(n=o[16]+"")&&$e(l,n),s&16&&Ht(i,"font-size",o[4]+"px")},d(o){o&&S(e)}}}function z1(t){let e=t[16]+"",i;return{c(){i=De(e)},m(n,l){T(n,i,l)},p(n,l){l&64&&e!==(e=n[16]+"")&&$e(i,e)},d(n){n&&S(i)}}}function H1(t){let e,i=(!t[17]||t[17]<=t[2])&&z1(t);return{c(){i&&i.c(),e=bt()},m(n,l){i&&i.m(n,l),T(n,e,l)},p(n,l){!n[17]||n[17]<=n[2]?i?i.p(n,l):(i=z1(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(n){n&&S(e),i&&i.d(n)}}}function $b(t){let e,i=t[1].length>0&&O1(t);return{c(){e=P("div"),i&&i.c(),u(e,"class","subtitles-container v-ovfyp5"),R(e,"shifted",t[0]),R(e,"auto",t[5]&&!t[8])},m(n,l){T(n,e,l),i&&i.m(e,null)},p(n,[l]){n[1].length>0?i?i.p(n,l):(i=O1(n),i.c(),i.m(e,null)):i&&(i.d(1),i=null),l&1&&R(e,"shifted",n[0]),l&288&&R(e,"auto",n[5]&&!n[8])},i:W,o:W,d(n){n&&S(e),i&&i.d()}}}function e_(t,e,i){let n,l,{shifted:r}=e,{captions:o}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=Et(),d=wn(),h=f.state.currentSubtitle$;z(t,h,y=>i(12,n=y));const g=f.state.isAutoSubtitleCaptionVisible$;z(t,g,y=>i(8,l=y));let _,b,C,k,w;return pn(()=>{w=window.setTimeout(()=>{g.set(!1)},d.autoSubtitlesTimeout)}),Go(()=>{window.clearTimeout(w)}),t.$$set=y=>{"shifted"in y&&i(0,r=y.shifted),"captions"in y&&i(1,o=y.captions),"position"in y&&i(2,s=y.position),"playerSize"in y&&i(11,a=y.playerSize),"isMobile"in y&&i(3,c=y.isMobile)},t.$$.update=()=>{if(t.$$.dirty&2048){const y=a.width*.02;i(4,_=y<=d.minSubtitlesFontSize?d.minSubtitlesFontSize:y)}t.$$.dirty&2&&i(5,b=o.some(y=>y.type==="timestamp")),t.$$.dirty&2&&i(6,C=o.reduce((y,{type:E,value:x})=>(E==="timestamp"?y.push({timeAppeared:Number(x),value:""}):y.length===0?y.push({value:String(x)}):y[y.length-1].value=String(x),y),[])),t.$$.dirty&4096&&i(7,k=!!n.isAuto)},[r,o,s,c,_,b,C,k,l,h,g,a,n]}class Ef extends ke{constructor(e){super(),we(this,e,e_,$b,be,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},Qb)}}function t_(t){Ke(t,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function F1(t){let e,i,n;return{c(){e=P("div"),i=De("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=De(t[1]),u(e,"class","text v-1o62kpz")},m(l,r){T(l,e,r),p(e,i),p(e,n)},p(l,r){r&2&&$e(n,l[1])},d(l){l&&S(e)}}}function i_(t){let e,i,n,l,r,o,s=t[1]&&F1(t);return{c(){e=P("div"),i=P("div"),i.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=H(),s&&s.c(),u(i,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${t[0]||""}')`)},m(a,c){T(a,e,c),p(e,i),p(e,n),s&&s.m(e,null),r||(o=he(e,"click",t[2]),r=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=F1(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&l!==(l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",l)},i:W,o:W,d(a){a&&S(e),s&&s.d(),r=!1,o()}}}function n_(t,e,i){let{thumbUrl:n}=e,{chromecastDeviceName:l}=e;function r(o){co.call(this,t,o)}return t.$$set=o=>{"thumbUrl"in o&&i(0,n=o.thumbUrl),"chromecastDeviceName"in o&&i(1,l=o.chromecastDeviceName)},[n,l,r]}class If extends ke{constructor(e){super(),we(this,e,n_,i_,be,{thumbUrl:0,chromecastDeviceName:1},t_)}}function o_(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class l_ extends ke{constructor(e){super(),we(this,e,null,o_,be,{})}}function r_(t){Ke(t,"v-13zpvm8",".container.v-13zpvm8{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function s_(t){let e,i,n;return i=new l_({}),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","container v-13zpvm8")},m(l,r){T(l,e,r),j(i,e,null),n=!0},p:W,i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),Z(i)}}}class Af extends ke{constructor(e){super(),we(this,e,null,s_,be,{},r_)}}function a_(t){Ke(t,"v-17wno3",".container.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-17wno3.v-17wno3{opacity:0;visibility:hidden}.playButton.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-17wno3:hover .playButtonBackground.v-17wno3{background-color:var(--big-play-hover-bg-color);transform:scale(1.15)}.playButton.v-17wno3 svg{transform:scale(2)}")}function u_(t){let e,i,n,l,r,o,s,a,c;return r=new Vr({}),{c(){e=P("div"),i=P("div"),n=P("div"),l=H(),K(r.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(i,"class","playButton v-17wno3"),u(i,"tabindex","0"),u(i,"role","button"),u(i,"aria-label",Q("tooltip_play")),u(e,"class","container v-17wno3"),u(e,"style",o=`background-color: #222; background-image: url('${t[0]||""}')`),R(e,"hidden",t[1])},m(f,d){T(f,e,d),p(e,i),p(i,n),p(i,l),j(r,i,null),s=!0,a||(c=[he(i,"keydown",t[3]),he(e,"click",ct(function(){Vn(t[2])&&t[2].apply(this,arguments)}))],a=!0)},p(f,[d]){t=f,(!s||d&1&&o!==(o=`background-color: #222; background-image: url('${t[0]||""}')`))&&u(e,"style",o),(!s||d&2)&&R(e,"hidden",t[1])},i(f){s||(m(r.$$.fragment,f),s=!0)},o(f){v(r.$$.fragment,f),s=!1},d(f){f&&S(e),Z(r),a=!1,ut(c)}}}function c_(t,e,i){let{thumbUrl:n}=e,{hidden:l}=e,{startVideo:r}=e;const s=Et().ui.startedByKeyboard$,a=c=>{const f=c.code;[Ae.Enter,Ae.Space].includes(f)&&(c.stopPropagation(),c.preventDefault(),s.set(!0),r())};return t.$$set=c=>{"thumbUrl"in c&&i(0,n=c.thumbUrl),"hidden"in c&&i(1,l=c.hidden),"startVideo"in c&&i(2,r=c.startVideo)},[n,l,r,a]}class Lf extends ke{constructor(e){super(),we(this,e,c_,u_,be,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},a_)}get handlePressKey(){return this.$$.ctx[3]}}function f_(t){Ke(t,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
26
26
  0deg,
27
27
  rgba(0, 0, 0, 0) 0%,
28
28
  rgba(0, 0, 0, 0.02) 19%,
29
29
  rgba(0, 0, 0, 0.10) 34%,
30
30
  rgba(0, 0, 0, 0.40) 60%,
31
31
  rgba(0, 0, 0, 0.60) 100%
32
- )}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function Mb(i){let e,t;return{c(){e=T("div"),t=Fe(i[0]),u(e,"class","title v-1bcvcf2"),M(e,"hidden",i[1])},m(n,o){E(n,e,o),p(e,t)},p(n,[o]){o&1&&$e(t,n[0]),o&2&&M(e,"hidden",n[1])},i:W,o:W,d(n){n&&P(e)}}}function Bb(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 Nb extends ke{constructor(e){super(),ye(this,e,Bb,Mb,we,{title:0,isHidden:1},Vb)}}function Rb(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 Bu(i){let e,t,n,o,r,l,s;return{c(){e=T("div"),t=T("span"),n=Fe(i[0]),o=N(),r=T("span"),r.textContent=`${G("waiting_live_day_value")}`,l=N(),s=T("span"),s.textContent=`${G("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),E(a,l,c),E(a,s,c)},p(a,c){c&1&&$e(n,a[0])},d(a){a&&(P(e),P(l),P(s))}}}function Nu(i){let e,t,n,o,r,l,s;return{c(){e=T("div"),t=T("span"),n=Fe(i[1]),o=N(),r=T("span"),r.textContent=`${G("waiting_live_hour_value")}`,l=N(),s=T("span"),s.textContent=`${G("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),E(a,l,c),E(a,s,c)},p(a,c){c&2&&$e(n,a[1])},d(a){a&&(P(e),P(l),P(s))}}}function Ru(i){let e,t,n,o,r,l,s;return{c(){e=T("div"),t=T("span"),n=Fe(i[2]),o=N(),r=T("span"),r.textContent=`${G("waiting_live_minute_value")}`,l=N(),s=T("span"),s.textContent=`${G("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),E(a,l,c),E(a,s,c)},p(a,c){c&4&&$e(n,a[2])},d(a){a&&(P(e),P(l),P(s))}}}function Ou(i){let e,t,n,o,r;return{c(){e=T("div"),t=T("span"),n=Fe(i[3]),o=N(),r=T("span"),r.textContent=`${G("waiting_live_second_value")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(l,s){E(l,e,s),p(e,t),p(t,n),p(e,o),p(e,r)},p(l,s){s&8&&$e(n,l[3])},d(l){l&&P(e)}}}function Ob(i){let e,t,n,o,r=i[0]&&Bu(i),l=i[1]&&Nu(i),s=i[2]&&Ru(i),a=i[3]&&Ou(i);return{c(){e=T("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){E(c,e,f),r&&r.m(e,null),p(e,t),l&&l.m(e,null),p(e,n),s&&s.m(e,null),p(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?r?r.p(c,f):(r=Bu(c),r.c(),r.m(e,t)):r&&(r.d(1),r=null),c[1]?l?l.p(c,f):(l=Nu(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[2]?s?s.p(c,f):(s=Ru(c),s.c(),s.m(e,o)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=Ou(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:W,o:W,d(c){c&&P(e),r&&r.d(),l&&l.d(),s&&s.d(),a&&a.d()}}}function Db(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,r,l,s,a,c;const f=b=>String(b).padStart(2,"0"),m=b=>{const v=Math.floor(b/86400);v&&(b-=v*86400,t(0,r=f(v)));const y=Math.floor(b/3600);t(1,l=f(y));const _=Math.floor(b/60)%60;t(2,s=f(_));const S=b%60;t(3,a=f(S))},h=()=>{const b=Math.floor(Date.now()/1e3),v=n-b;m(v),v>=1?c=requestAnimationFrame(h):o()};return vn(()=>{c=requestAnimationFrame(h)}),gl(()=>{cancelAnimationFrame(c)}),i.$$set=b=>{"startTime"in b&&t(4,n=b.startTime),"onTimerOver"in b&&t(5,o=b.onTimerOver)},[r,l,s,a,n,o]}class zb extends ke{constructor(e){super(),ye(this,e,Db,Ob,we,{startTime:4,onTimerOver:5},Rb)}}function Fb(i){let e,t,n,o,r;return{c(){e=B("svg"),t=B("path"),n=B("path"),o=B("path"),r=B("path"),u(t,"fill","#fefffe"),u(t,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),Nt(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"),Nt(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"),Nt(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"),Nt(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"),Nt(e,"shape-rendering","geometricPrecision"),Nt(e,"text-rendering","geometricPrecision"),Nt(e,"image-rendering","optimizeQuality"),Nt(e,"fill-rule","evenodd"),Nt(e,"clip-rule","evenodd"),Nt(e,"width","100%"),Nt(e,"height","100%")},m(l,s){E(l,e,s),p(e,t),p(e,n),p(e,o),p(e,r)},p:W,i:W,o:W,d(l){l&&P(e)}}}class Hb extends ke{constructor(e){super(),ye(this,e,null,Fb,we,{})}}function Ub(i){je(i,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function jb(i){let e,t,n,o,r;return o=new zb({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=T("div"),t=T("span"),t.textContent=`${G("waiting_live_timer_title")}`,n=N(),j(o.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(l,s){E(l,e,s),p(e,t),p(e,n),F(o,e,null),r=!0},p(l,s){const a={};s&2&&(a.startTime=l[1]||0),s&4&&(a.onTimerOver=l[3]),o.$set(a)},i(l){r||(d(o.$$.fragment,l),r=!0)},o(l){g(o.$$.fragment,l),r=!1},d(l){l&&P(e),H(o)}}}function qb(i){let e,t,n,o,r,l;return n=new Hb({}),{c(){e=T("div"),t=T("div"),j(n.$$.fragment),o=N(),r=T("span"),r.textContent=`${G("waiting_live_upcoming_title")}`,u(t,"class","upcoming-icon v-15pewff"),u(r,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(s,a){E(s,e,a),p(e,t),F(n,t,null),p(e,o),p(e,r),l=!0},p:W,i(s){l||(d(n.$$.fragment,s),l=!0)},o(s){g(n.$$.fragment,s),l=!1},d(s){s&&P(e),H(n)}}}function Wb(i){let e,t,n,o,r;const l=[qb,jb],s=[];function a(c,f){return c[2]?0:1}return t=a(i),n=s[t]=l[t](i),{c(){e=T("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${i[2]?"":i[0]})`)},m(c,f){E(c,e,f),s[t].m(e,null),r=!0},p(c,[f]){let m=t;t=a(c),t===m?s[t].p(c,f):(he(),g(s[m],1,1,()=>{s[m]=null}),ve(),n=s[t],n?n.p(c,f):(n=s[t]=l[t](c),n.c()),d(n,1),n.m(e,null)),(!r||f&5&&o!==(o=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",o)},i(c){r||(d(n),r=!0)},o(c){g(n),r=!1},d(c){c&&P(e),s[t].d()}}}function Zb(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 gf extends ke{constructor(e){super(),ye(this,e,Zb,Wb,we,{thumbUrl:0,startTime:1},Ub)}}function Gb(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 Kb(i){let e,t;return{c(){e=T("div"),t=T("p"),t.textContent=`${G("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class bf extends ke{constructor(e){super(),ye(this,e,null,Kb,we,{},Gb)}}const{window:Yb}=b1;function Qb(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 Du(i){var n;let e,t;return e=new gf({props:{thumbUrl:i[3],startTime:(n=i[5])==null?void 0:n.startTime}}),{c(){j(e.$$.fragment)},m(o,r){F(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&8&&(l.thumbUrl=o[3]),r[0]&32&&(l.startTime=(s=o[5])==null?void 0:s.startTime),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){H(e,o)}}}function zu(i){let e,t;return e=new bf({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Fu(i){let e,t,n;return t=new Sc({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),M(e,"hidden",i[38]!==De.Ads)},m(o,r){E(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r[0]&512&&(l.adsSlotId=o[9]),r[0]&1024&&(l.adsParams=o[10]),r[0]&2048&&(l.adsPreviewParam=o[11]),r[0]&4096&&(l.duration=o[12]),t.$set(l),(!n||r[1]&128)&&M(e,"hidden",o[38]!==De.Ads)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Hu(i){let e,t;return e=new v3({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&262144&&(r.title=n[18]),o[0]&524288&&(r.thumb=n[19]),o[0]&8388608&&(r.playNextVideo=n[23]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Uu(i){let e,t;return e=new Nb({props:{title:i[2],isHidden:!i[36]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&4&&(r.title=n[2]),o[1]&32&&(r.isHidden=!n[36]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ju(i){let e,t;return e=new df({props:{isShifted:i[38]===De.Video&&i[36]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&160&&(r.isShifted=n[38]===De.Video&&n[36]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function qu(i){let e,t,n;return t=new F1({props:{ariaLabel:G("video360")}}),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,r){E(o,e,r),F(t,e,null),n=!0},p:W,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Wu(i){let e,t;return e=new pf({props:{thumbUrl:i[3],chromecastDeviceName:i[55]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&8&&(r.thumbUrl=n[3]),o[1]&16777216&&(r.chromecastDeviceName=n[55]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Zu(i){let e,t;return e=new mf({props:{shifted:i[36],captions:i[57],position:i[58],playerSize:i[34]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&32&&(r.shifted=n[36]),o[1]&67108864&&(r.captions=n[57]),o[1]&134217728&&(r.position=n[58]),o[1]&8&&(r.playerSize=n[34]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Gu(i){let e,t,n,o,r;return t=new hf({}),{c(){e=T("div"),j(t.$$.fragment)},m(l,s){E(l,e,s),F(t,e,null),n=!0,o||(r=[_e(e,"contextmenu",oi(i[107])),_e(e,"click",lt(i[118]))],o=!0)},p:W,i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&P(e),H(t),o=!1,ot(r)}}}function Ku(i){let e,t;return e=new Rc({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Yu(i){let e,t;return e=new z3({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Qu(i){let e,t;return e=new Ic({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Xu(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O;e=new vf({props:{hidden:i[38]!==De.Thumb||i[37]||i[93]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let $=i[38]===De.WaitingLive&&Du(i),C=i[38]===De.WaitingRecord&&zu(),D=i[8]&&i[22]&&Fu(i),re=i[31]&&i[18]&&i[19]&&Hu(i),L=i[46]&&Uu(i),ae=i[51]&&ju(i),pe=i[54]&&qu(),ge=i[39]&&Wu(i),ce=i[56].value!=="off"&&Zu(i),Y=i[37]&&Gu(i);function fe(A){i[151](A)}let ze={bottomHidden:i[38]===De.Thumb||i[38]===De.WaitingLive||i[38]===De.WaitingRecord,bottomNoSmooth:i[52],showControls:i[36],isAds:i[38]===De.Ads,canRewindLive:i[7]&&i[59]!==0,logoClickable:i[13],logoHidden:i[14],videoLogoUrl:i[4],showNextPrevButtons:i[15],nextButtonActive:i[16],prevButtonActive:i[17],isOneVideoPlaylist:i[20],supportLink:i[21],customFullscreenSupported:xb,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[105],returnFocus:i[150],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};i[41]!==void 0&&(ze.controlsElementRef=i[41]),b=new cf({props:ze}),Se.push(()=>We(b,"controlsElementRef",fe)),_=new Pc({props:{isLive:i[60],isHidden:!i[45],isPlaying:i[61],position:i[58],duration:i[62]}}),k=new fb({props:{data:i[102]}});function de(A){i[153](A)}let Le={supportLink:i[21],returnFocus:i[152],visible:i[33],playerContainerRef:i[40],controlsContainerRef:i[41],x:i[42],y:i[43]};i[32]!==void 0&&(Le.menuElementRef=i[32]),R=new Q4({props:Le}),Se.push(()=>We(R,"menuElementRef",de));let Pe=i[44]&&Ku(),ue=i[63]&&Yu(),Ee=i[64]&&Qu();return{c(){j(e.$$.fragment),t=N(),$&&$.c(),n=N(),C&&C.c(),o=N(),D&&D.c(),r=N(),re&&re.c(),l=N(),L&&L.c(),s=N(),ae&&ae.c(),a=N(),pe&&pe.c(),c=N(),ge&&ge.c(),f=N(),ce&&ce.c(),m=N(),Y&&Y.c(),h=N(),j(b.$$.fragment),y=N(),j(_.$$.fragment),S=N(),j(k.$$.fragment),w=N(),j(R.$$.fragment),V=N(),Pe&&Pe.c(),K=N(),ue&&ue.c(),se=N(),Ee&&Ee.c(),ne=bt()},m(A,oe){F(e,A,oe),E(A,t,oe),$&&$.m(A,oe),E(A,n,oe),C&&C.m(A,oe),E(A,o,oe),D&&D.m(A,oe),E(A,r,oe),re&&re.m(A,oe),E(A,l,oe),L&&L.m(A,oe),E(A,s,oe),ae&&ae.m(A,oe),E(A,a,oe),pe&&pe.m(A,oe),E(A,c,oe),ge&&ge.m(A,oe),E(A,f,oe),ce&&ce.m(A,oe),E(A,m,oe),Y&&Y.m(A,oe),E(A,h,oe),F(b,A,oe),E(A,y,oe),F(_,A,oe),E(A,S,oe),F(k,A,oe),E(A,w,oe),F(R,A,oe),E(A,V,oe),Pe&&Pe.m(A,oe),E(A,K,oe),ue&&ue.m(A,oe),E(A,se,oe),Ee&&Ee.m(A,oe),E(A,ne,oe),O=!0},p(A,oe){const Me={};oe[0]&64|oe[1]&192&&(Me.hidden=A[38]!==De.Thumb||A[37]||A[93]&&A[6]),oe[0]&8&&(Me.thumbUrl=A[3]),oe[0]&536870912&&(Me.startVideo=A[29]),e.$set(Me),A[38]===De.WaitingLive?$?($.p(A,oe),oe[1]&128&&d($,1)):($=Du(A),$.c(),d($,1),$.m(n.parentNode,n)):$&&(he(),g($,1,1,()=>{$=null}),ve()),A[38]===De.WaitingRecord?C?oe[1]&128&&d(C,1):(C=zu(),C.c(),d(C,1),C.m(o.parentNode,o)):C&&(he(),g(C,1,1,()=>{C=null}),ve()),A[8]&&A[22]?D?(D.p(A,oe),oe[0]&4194560&&d(D,1)):(D=Fu(A),D.c(),d(D,1),D.m(r.parentNode,r)):D&&(he(),g(D,1,1,()=>{D=null}),ve()),A[31]&&A[18]&&A[19]?re?(re.p(A,oe),oe[0]&786432|oe[1]&1&&d(re,1)):(re=Hu(A),re.c(),d(re,1),re.m(l.parentNode,l)):re&&(he(),g(re,1,1,()=>{re=null}),ve()),A[46]?L?(L.p(A,oe),oe[1]&32768&&d(L,1)):(L=Uu(A),L.c(),d(L,1),L.m(s.parentNode,s)):L&&(he(),g(L,1,1,()=>{L=null}),ve()),A[51]?ae?(ae.p(A,oe),oe[1]&1048576&&d(ae,1)):(ae=ju(A),ae.c(),d(ae,1),ae.m(a.parentNode,a)):ae&&(he(),g(ae,1,1,()=>{ae=null}),ve()),A[54]?pe?(pe.p(A,oe),oe[1]&8388608&&d(pe,1)):(pe=qu(),pe.c(),d(pe,1),pe.m(c.parentNode,c)):pe&&(he(),g(pe,1,1,()=>{pe=null}),ve()),A[39]?ge?(ge.p(A,oe),oe[1]&256&&d(ge,1)):(ge=Wu(A),ge.c(),d(ge,1),ge.m(f.parentNode,f)):ge&&(he(),g(ge,1,1,()=>{ge=null}),ve()),A[56].value!=="off"?ce?(ce.p(A,oe),oe[1]&33554432&&d(ce,1)):(ce=Zu(A),ce.c(),d(ce,1),ce.m(m.parentNode,m)):ce&&(he(),g(ce,1,1,()=>{ce=null}),ve()),A[37]?Y?(Y.p(A,oe),oe[1]&64&&d(Y,1)):(Y=Gu(A),Y.c(),d(Y,1),Y.m(h.parentNode,h)):Y&&(he(),g(Y,1,1,()=>{Y=null}),ve());const Ce={};oe[1]&128&&(Ce.bottomHidden=A[38]===De.Thumb||A[38]===De.WaitingLive||A[38]===De.WaitingRecord),oe[1]&2097152&&(Ce.bottomNoSmooth=A[52]),oe[1]&32&&(Ce.showControls=A[36]),oe[1]&128&&(Ce.isAds=A[38]===De.Ads),oe[0]&128|oe[1]&268435456&&(Ce.canRewindLive=A[7]&&A[59]!==0),oe[0]&8192&&(Ce.logoClickable=A[13]),oe[0]&16384&&(Ce.logoHidden=A[14]),oe[0]&16&&(Ce.videoLogoUrl=A[4]),oe[0]&32768&&(Ce.showNextPrevButtons=A[15]),oe[0]&65536&&(Ce.nextButtonActive=A[16]),oe[0]&131072&&(Ce.prevButtonActive=A[17]),oe[0]&1048576&&(Ce.isOneVideoPlaylist=A[20]),oe[0]&2097152&&(Ce.supportLink=A[21]),oe[0]&8388608&&(Ce.playNextVideo=A[23]),oe[0]&16777216&&(Ce.playPrevVideo=A[24]),oe[0]&33554432&&(Ce.repeatPlaylist=A[25]),oe[1]&524288&&(Ce.returnFocus=A[150]),oe[0]&67108864&&(Ce.seekToInteractive=A[26]),oe[0]&134217728&&(Ce.toggleGraph=A[27]),oe[0]&268435456&&(Ce.playPrevChapter=A[28]),!v&&oe[1]&1024&&(v=!0,Ce.controlsElementRef=A[41],qe(()=>v=!1)),b.$set(Ce);const Te={};oe[1]&536870912&&(Te.isLive=A[60]),oe[1]&16384&&(Te.isHidden=!A[45]),oe[1]&1073741824&&(Te.isPlaying=A[61]),oe[1]&134217728&&(Te.position=A[58]),oe[2]&1&&(Te.duration=A[62]),_.$set(Te);const le={};oe[0]&2097152&&(le.supportLink=A[21]),oe[1]&524288&&(le.returnFocus=A[152]),oe[1]&4&&(le.visible=A[33]),oe[1]&512&&(le.playerContainerRef=A[40]),oe[1]&1024&&(le.controlsContainerRef=A[41]),oe[1]&2048&&(le.x=A[42]),oe[1]&4096&&(le.y=A[43]),!X&&oe[1]&2&&(X=!0,le.menuElementRef=A[32],qe(()=>X=!1)),R.$set(le),A[44]?Pe?oe[1]&8192&&d(Pe,1):(Pe=Ku(),Pe.c(),d(Pe,1),Pe.m(K.parentNode,K)):Pe&&(he(),g(Pe,1,1,()=>{Pe=null}),ve()),A[63]?ue?oe[2]&2&&d(ue,1):(ue=Yu(),ue.c(),d(ue,1),ue.m(se.parentNode,se)):ue&&(he(),g(ue,1,1,()=>{ue=null}),ve()),A[64]?Ee?oe[2]&4&&d(Ee,1):(Ee=Qu(),Ee.c(),d(Ee,1),Ee.m(ne.parentNode,ne)):Ee&&(he(),g(Ee,1,1,()=>{Ee=null}),ve())},i(A){O||(d(e.$$.fragment,A),d($),d(C),d(D),d(re),d(L),d(ae),d(pe),d(ge),d(ce),d(Y),d(b.$$.fragment,A),d(_.$$.fragment,A),d(k.$$.fragment,A),d(R.$$.fragment,A),d(Pe),d(ue),d(Ee),O=!0)},o(A){g(e.$$.fragment,A),g($),g(C),g(D),g(re),g(L),g(ae),g(pe),g(ge),g(ce),g(Y),g(b.$$.fragment,A),g(_.$$.fragment,A),g(k.$$.fragment,A),g(R.$$.fragment,A),g(Pe),g(ue),g(Ee),O=!1},d(A){A&&(P(t),P(n),P(o),P(r),P(l),P(s),P(a),P(c),P(f),P(m),P(h),P(y),P(S),P(w),P(V),P(K),P(se),P(ne)),H(e,A),$&&$.d(A),C&&C.d(A),D&&D.d(A),re&&re.d(A),L&&L.d(A),ae&&ae.d(A),pe&&pe.d(A),ge&&ge.d(A),ce&&ce.d(A),Y&&Y.d(A),H(b,A),H(_,A),H(k,A),H(R,A),Pe&&Pe.d(A),ue&&ue.d(A),Ee&&Ee.d(A)}}}function Xb(i){let e,t,n,o,r=i[53],l,s,a,c,f=Xu(i);return{c(){e=T("div"),t=T("div"),o=N(),f.c(),l=bt(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[35]}deg) scale(${i[48]})`),M(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),M(e,"hidden",i[38]!==De.Video),M(e,"nocursor",i[47])},m(m,h){E(m,e,h),p(e,t),i[149](t),E(m,o,h),f.m(m,h),E(m,l,h),s=!0,a||(c=[_e(e,"contextmenu",oi(i[107])),_e(e,"mousedown",oi(i[112])),_e(e,"mouseup",oi(i[113])),_e(e,"click",oi(i[115])),_e(e,"dblclick",oi(i[114]))],a=!0)},p(m,h){(!s||h[1]&131088&&n!==(n=`transform: rotate(${m[35]}deg) scale(${m[48]})`))&&u(t,"style",n),(!s||h[0]&2)&&M(t,"fast-rotate",!m[1].isSmoothVideoRotate),(!s||h[1]&128)&&M(e,"hidden",m[38]!==De.Video),(!s||h[1]&65536)&&M(e,"nocursor",m[47]),h[1]&4194304&&we(r,r=m[53])?(he(),g(f,1,1,W),ve(),f=Xu(m),f.c(),d(f,1),f.m(l.parentNode,l)):f.p(m,h)},i(m){s||(d(f),s=!0)},o(m){g(f),s=!1},d(m){m&&(P(e),P(o),P(l)),i[149](null),f.d(m),a=!1,ot(c)}}}function Jb(i){let e,t,n,o,r,l,s,a={toggleFullscreen:i[105],hideContextMenu:i[106],showHotKeyHelpers:i[116],showKeyMap:i[117],isAds:i[38]===De.Ads,fakePlayButtonHandler:i[49]?i[104]:void 0,$$slots:{default:[Xb]},$$scope:{ctx:i}};return t=new w3({props:a}),i[154](t),{c(){e=T("div"),j(t.$$.fragment),n=N(),o=T("div"),u(o,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){E(c,e,f),F(t,e,null),p(e,n),p(e,o),i[155](o),i[156](e),r=!0,l||(s=[_e(Yb,"blur",i[106]),_e(e,"mouseenter",i[108]),_e(e,"mouseleave",i[110]),_e(e,"mousemove",i[111]),_e(e,"click",i[119],!0),_e(e,"focusin",i[109],!0)],l=!0)},p(c,f){const m={};f[1]&128&&(m.isAds=c[38]===De.Ads),f[1]&262144&&(m.fakePlayButtonHandler=c[49]?c[104]:void 0),f[0]&1073741823|f[1]&2147221503|f[2]&7|f[5]&8388608&&(m.$$scope={dirty:f,ctx:c}),t.$set(m)},i(c){r||(d(t.$$.fragment,c),r=!0)},o(c){g(t.$$.fragment,c),r=!1},d(c){c&&P(e),i[154](null),H(t),i[155](null),i[156](null),l=!1,ot(s)}}}let xb=!0;function _f(i){return i?i.offsetTop+_f(i.offsetParent):0}function $b(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O,$,C,D,re,L,ae,pe,ge,ce,Y,fe,ze,de,Le,Pe,{store:ue}=e,{uiConfig:Ee}=e,{title:A}=e,{thumbUrl:oe}=e,{videoLogoUrl:Me}=e,{videoContainer:Ce}=e,{interactiveContainer:Te}=e,{live:le}=e,{autoplay:Q}=e,{canRewindLive:U}=e,{showAds:Ne}=e,{adsSlotId:et=void 0}=e,{adsParams:rt=void 0}=e,{adsPreviewParam:Ze=void 0}=e,{duration:Ve=void 0}=e,{logoClickable:Je}=e,{logoHidden:pt}=e,{showNextPrevButtons:at=!1}=e,{nextButtonActive:Ie=!1}=e,{prevButtonActive:jt=!1}=e,{endScreenVideoTitle:ft=void 0}=e,{endScreenVideoThumb:It=void 0}=e,{isOneVideoPlaylist:Rt=!1}=e,{supportLink:Vt}=e,{outerContainerRef:me=void 0}=e,{playerStarted:At=!1}=e,{fullScreenTarget:it=void 0}=e,{showMiniTimer:Tt=!1}=e,{playNextVideo:wt=ie.noop}=e,{playPrevVideo:ht=ie.noop}=e,{repeatPlaylist:Qe=ie.noop}=e,{seekToInteractive:Ue}=e,{toggleGraph:yt}=e,{playPrevChapter:Ni}=e,{firstStart:Fi}=e;const li=ue.getLogger().createComponentLog("Root component"),Hi=ue.interfaceLanguage$;z(i,Hi,q=>t(53,re=q));const Ji=ue.state.playbackState$;z(i,Ji,q=>t(146,$=q));const Ot=ue.ads.playbackState;z(i,Ot,q=>t(147,C=q));const qt=ue.state.positionWithScrubbing$;z(i,qt,q=>t(58,ce=q));const ri=ue.state.duration$;z(i,ri,q=>t(62,de=q));const Wt=ue.playerPhase;z(i,Wt,q=>t(38,V=q));const di=ue.ui.isFullscreen;z(i,di,q=>t(136,m=q));const Dt=ue.ui.controlsVisible;z(i,Dt,q=>t(36,S=q));const Ri=ue.ui.settingsMenuVisible;z(i,Ri,q=>t(134,l=q));const si=ue.ui.scrubbingInProgress;z(i,si,q=>t(138,y=q));const Et=ue.ui.contextMenuVisible;z(i,Et,q=>t(33,n=q));const Oi=ue.ui.debugPanelVisible;z(i,Oi,q=>t(64,Pe=q));const Ci=ue.state.isLoaderVisible;z(i,Ci,q=>t(148,D=q));const mi=ue.state.isEnded$;z(i,mi,q=>t(135,a=q));const Pi=ue.state.chromecastConnected$;z(i,Pi,q=>t(39,ne=q));const zt=ue.state.chromecastDeviceName$;z(i,zt,q=>t(55,ae=q));const $t=ue.ads.postrollPassed;z(i,$t,q=>t(141,R=q));const pi=ue.state.isLive$;z(i,pi,q=>t(60,fe=q));const ai=ue.state.isPlaying$;z(i,ai,q=>t(61,ze=q));const Zt=ue.state.crashed$;z(i,Zt,q=>t(37,w=q));const vt=ue.webApi.pictureInPictureApi,nt=ue.state.currentSubtitle$;z(i,nt,q=>t(56,pe=q));const Ft=ue.state.currentSubtitleCaptions$;z(i,Ft,q=>t(57,ge=q));const ui=ue.state.duration$;z(i,ui,q=>t(59,Y=q));const Di=ue.state.graphIsOpened$;z(i,Di,q=>t(142,X=q));const Ti=ue.ui.playerSize;z(i,Ti,q=>t(34,f=q));const Gt=ue.ui.is3DVideo;z(i,Gt,q=>t(51,c=q));const Kt=ue.ui.icon3DVideoVisible;z(i,Kt,q=>t(54,L=q));const Ui=ue.ui.rotateAlpha;z(i,Ui,q=>t(35,v=q));const ei=ue.state.isInteractive,ji=ue.state.isInteractiveTime$;z(i,ji,q=>t(139,_=q));const Yt=ue.state.isInteractiveExpectation$;z(i,Yt,q=>t(145,O=q));const Ht=ue.state.hasInteractiveBranches,Qt=ue.ui.touched;z(i,Qt,q=>t(143,K=q));const Ei=ue.ui.modals.hotKeyMap.data;z(i,Ei,q=>t(163,s=q));const Lt=ue.ui.modals.hotKeyMap.show;z(i,Lt,q=>t(63,Le=q));const hi=ue.ui.overlayContainer$,Ai=ue.actions.internal.closeSettingsMenu,{fakeIsPlaying$:qi}=dr();z(i,qi,q=>t(137,b=q));let vi,Xt,Wi=0,gi=0,Li,Oe,Zi;Ei.set(h4());let Gi,bi;const zi=Be(!1);z(i,zi,q=>t(52,h=q));let Ii;const ci=Be(!1);z(i,ci,q=>t(144,se=q));const He=Be(),Ki=Be(!1);z(i,Ki,q=>t(140,k=q));let Jt=!1,ti=!1,Yi,Vi,dn,nn,Mi,Bi,_i=!1,on,xi=!1;const{toggle:$i}=qi;let ln=!1,wi=null,te;vt==null||vt.setContext(_1());const tt=()=>{Q&&!ei&&dt(Ee.controls.hideTimeout)};ue.setUiCallbacks({onStarted:tt});const Mt=()=>{window.clearTimeout(Li),ci.set(!1)},Qi=()=>{window.clearTimeout(Oe),He.set(null)},dt=q=>{Mt(),ci.set(!0),Li=window.setTimeout(()=>ci.set(!1),q);const mt=q-100;Ii=window.setTimeout(()=>{h&&zi.set(!1)},mt>0?mt:q)},rn=(q,mt)=>{Qi(),He.set(mt),Oe=window.setTimeout(()=>He.set(null),q)},mn=Gt.subscribe(q=>{Kt.set(q),q&&(window.clearTimeout(Zi),Zi=window.setTimeout(()=>Kt.set(!1),Ee.controls.hide360IconTimeout))}),sn=()=>Xi(this,null,function*(){var mt,un,cn,Pn;const q=Oo();if(q){dt(Ee.controls.hideTimeoutFullscreen);try{yield vt==null?void 0:vt.remove()}catch(Fn){li({message:String(Fn)})}}di.set(q),ue.getAdmanWrapper().setFullscreen(q),m?(un=(mt=ue.callbacks)==null?void 0:mt.onFullscreenEnter)==null||un.call(mt):(Pn=(cn=ue.callbacks)==null?void 0:cn.onFullscreenExit)==null||Pn.call(cn)}),an=q=>{const mt=q;Ti.set({width:mt.target.width,height:mt.target.height})};vn(()=>{var mt;return yc(sn),vl(vt)&&(vt==null||vt.assignPlayerContainer(vi),vt==null||vt.registryExternalEventHandlers({resize:an})),Te&&((mt=Ce.parentElement)==null||mt.insertBefore(Te,Ce.nextSibling)),()=>{window.clearTimeout(Li),window.clearTimeout(Ii),window.clearTimeout(Oe),window.clearTimeout(Zi),mn(),vt==null||vt.dispose(),kc(sn)}});const _n=()=>Xi(this,null,function*(){if(Oo())yield wc(document),li({message:"exit fullscreen"});else{li({message:"request fullscreen"});const q=me!=null?me:vi,mt=q.getRootNode(),un=mt instanceof ShadowRoot?mt.host:mt,cn=it instanceof HTMLElement&&it.contains(un),Pn=Ee.allowChangingFullscreenTarget&&it&&cn?it:q;yield _c(Pn)}}),x=()=>{Ai(),Et.set(!1)},ut=q=>{Et.set(!0),t(42,Wi=q.clientX),t(43,gi=q.clientY)};function en(){Ki.set(!0),ei||dt(Ee.controls.hideTimeoutCursor)}function J(){ei||(zi.set(!0),dt(Ee.controls.hideTimeoutCursor))}function pn(){Ki.set(!1),t(128,ti=!1),t(127,Jt=!1),ln=!1,ue.actions.internal.releaseCamera()}function bn(q){if(vi){const mt=_f(q.currentTarget),un=f.height,cn=q.pageY-mt;cn<jr?t(128,ti=!0):cn>un-jr?t(127,Jt=!0):(t(128,ti=!1),l||t(127,Jt=!1))}}function Xn(q){bn(q),Vi||dt(Ee.controls.hideTimeoutCursor),c&&ln&&wi&&ue.actions.internal.moveCameraFocusPX(wi.clientX-q.clientX,wi.clientY-q.clientY,q.timeStamp-wi.timeStamp),wi=q}const Jn=q=>{q.button===0&&(ln=!0,ue.actions.internal.holdCamera()),dt(Ee.controls.hideTimeoutCursor)},xn=q=>{q.button===0&&(wi=q,ln=!1,ue.actions.internal.releaseCamera()),dt(Ee.controls.hideTimeoutCursor)},$n=()=>{li({message:"double click on video"}),_n(),dt(Ee.controls.hideTimeoutCursor)},eo=()=>{if(n||l){x();return}if(!(a&&!Ht)){if(xi)return $i();if(te==null||te.focus(),!At){Fi(),dt(Ee.controls.hideTimeoutCursor);return}ue.actions.internal.togglePlay(),dt(Ee.controls.hideTimeoutCursor)}},to=q=>{x(),Qt.set(!0),dt(Ee.controls.hideTimeout),q&&rn(Ee.controls.hideHotKeyHelpers,q)},io=()=>{var q,mt;x(),(q=ue.callbacks)!=null&&q.onOpenHotKeyMap?(mt=ue.callbacks)==null||mt.onOpenHotKeyMap(s):Lt.update(un=>!un)},Ao=()=>{if(n||l){x();return}},Lo=()=>{Qt.set(!0)},hn=ue.ui.contextMenu.openedByKeyboard$;z(i,hn,q=>t(133,r=q));let Wn=ue.ui.contextMenu.btnRef$;z(i,Wn,q=>t(132,o=q));let Dn;function no(q){Se[q?"unshift":"push"](()=>{Ce=q,t(0,Ce)})}const zn=()=>te==null?void 0:te.focus();function oo(q){Xt=q,t(41,Xt)}const lo=()=>te==null?void 0:te.focus();function ro(q){Dn=q,t(32,Dn)}function so(q){Se[q?"unshift":"push"](()=>{te=q,t(50,te)})}function Zn(q){Se[q?"unshift":"push"](()=>{bi=q,t(30,bi)})}function ao(q){Se[q?"unshift":"push"](()=>{vi=q,t(40,vi)})}return i.$$set=q=>{"store"in q&&t(122,ue=q.store),"uiConfig"in q&&t(1,Ee=q.uiConfig),"title"in q&&t(2,A=q.title),"thumbUrl"in q&&t(3,oe=q.thumbUrl),"videoLogoUrl"in q&&t(4,Me=q.videoLogoUrl),"videoContainer"in q&&t(0,Ce=q.videoContainer),"interactiveContainer"in q&&t(123,Te=q.interactiveContainer),"live"in q&&t(5,le=q.live),"autoplay"in q&&t(6,Q=q.autoplay),"canRewindLive"in q&&t(7,U=q.canRewindLive),"showAds"in q&&t(8,Ne=q.showAds),"adsSlotId"in q&&t(9,et=q.adsSlotId),"adsParams"in q&&t(10,rt=q.adsParams),"adsPreviewParam"in q&&t(11,Ze=q.adsPreviewParam),"duration"in q&&t(12,Ve=q.duration),"logoClickable"in q&&t(13,Je=q.logoClickable),"logoHidden"in q&&t(14,pt=q.logoHidden),"showNextPrevButtons"in q&&t(15,at=q.showNextPrevButtons),"nextButtonActive"in q&&t(16,Ie=q.nextButtonActive),"prevButtonActive"in q&&t(17,jt=q.prevButtonActive),"endScreenVideoTitle"in q&&t(18,ft=q.endScreenVideoTitle),"endScreenVideoThumb"in q&&t(19,It=q.endScreenVideoThumb),"isOneVideoPlaylist"in q&&t(20,Rt=q.isOneVideoPlaylist),"supportLink"in q&&t(21,Vt=q.supportLink),"outerContainerRef"in q&&t(124,me=q.outerContainerRef),"playerStarted"in q&&t(22,At=q.playerStarted),"fullScreenTarget"in q&&t(125,it=q.fullScreenTarget),"showMiniTimer"in q&&t(126,Tt=q.showMiniTimer),"playNextVideo"in q&&t(23,wt=q.playNextVideo),"playPrevVideo"in q&&t(24,ht=q.playPrevVideo),"repeatPlaylist"in q&&t(25,Qe=q.repeatPlaylist),"seekToInteractive"in q&&t(26,Ue=q.seekToInteractive),"toggleGraph"in q&&t(27,yt=q.toggleGraph),"playPrevChapter"in q&&t(28,Ni=q.playPrevChapter),"firstStart"in q&&t(29,Fi=q.firstStart)},i.$$.update=()=>{if(i.$$.dirty[1]&192|i.$$.dirty[4]&25165824&&t(44,Gi=(V===De.Video&&D||V===De.Ads&&C===ni.INACTIVE)&&!w),i.$$.dirty[0]&1073741824&&hi.set(bi),i.$$.dirty[4]&4194304&&t(129,Yi=$!==xe.PlaybackState.PLAYING),i.$$.dirty[4]&2131e3&&t(130,Vi=_&&!l&&!(Jt||ti)&&!(Yi&&!O)),i.$$.dirty[1]&448|i.$$.dirty[4]&1066080&&Dt.set((Yi||l||y||ne||se)&&!Vi&&V===De.Video&&!w),i.$$.dirty[0]&2|i.$$.dirty[1]&224|i.$$.dirty[4]&524292&&t(45,dn=Ee.features.thumbTimer&&Tt&&V===De.Video&&!S&&!w&&!ei&&(Ee.hideThumbTimerAfterTouch&&!K||!Ee.hideThumbTimerAfterTouch)),i.$$.dirty[1]&128|i.$$.dirty[4]&266240&&t(46,nn=V===De.Video&&!X&&m),i.$$.dirty[0]&256|i.$$.dirty[1]&64|i.$$.dirty[4]&133120&&t(31,Mi=(Ne&&R||!Ne)&&a&&!w),i.$$.dirty[1]&33|i.$$.dirty[4]&98304&&t(47,Bi=k&&!(S||Mi)&&!_),i.$$.dirty[0]&2|i.$$.dirty[4]&49280&&(!y&&_i&&!_&&dt(Ee.controls.hideTimeoutCursor),t(131,_i=y)),i.$$.dirty[0]&1|i.$$.dirty[1]&24&&t(48,on=Ce&&v%180?f.height/f.width:1),i.$$.dirty[4]&8192&&t(49,xi=b!==null),i.$$.dirty[1]&6|i.$$.dirty[4]&512&&kr(Dn,n,r),i.$$.dirty[1]&4|i.$$.dirty[4]&256){const q=o;q&&yr(q,n,hn)}},[Ce,Ee,A,oe,Me,le,Q,U,Ne,et,rt,Ze,Ve,Je,pt,at,Ie,jt,ft,It,Rt,Vt,At,wt,ht,Qe,Ue,yt,Ni,Fi,bi,Mi,Dn,n,f,v,S,w,V,ne,vi,Xt,Wi,gi,Gi,dn,nn,Bi,on,xi,te,c,h,re,L,ae,pe,ge,ce,Y,fe,ze,de,Le,Pe,Hi,Ji,Ot,qt,ri,Wt,di,Dt,Ri,si,Et,Oi,Ci,mi,Pi,zt,$t,pi,ai,Zt,nt,Ft,ui,Di,Ti,Gt,Kt,Ui,ei,ji,Yt,Qt,Ei,Lt,qi,zi,ci,He,Ki,$i,_n,x,ut,en,J,pn,Xn,Jn,xn,$n,eo,to,io,Ao,Lo,hn,Wn,ue,Te,me,it,Tt,Jt,ti,Yi,Vi,_i,o,r,l,a,m,b,y,_,k,R,X,K,se,O,$,C,D,no,zn,oo,lo,ro,so,Zn,ao]}class e_ extends ke{constructor(e){super(),ye(this,e,$b,Jb,we,{store:122,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:123,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:124,playerStarted:22,fullScreenTarget:125,showMiniTimer:126,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},Qb,[-1,-1,-1,-1,-1,-1])}}const t_=i=>{if(!ie.isIOS(!0))return!1;const e=i.device===ie.CurrentClientDevice.iPad||(window==null?void 0:window.screen.width)>700,t=ie.getIOSVersion();return!e||e&&!!t&&t<16};function i_(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 Ju(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_=G("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",S;return{c(){e=T("div"),n=N(),o=T("div"),r=T("div"),l=T("div"),a=N(),c=T("div"),m=N(),h=T("div"),v=N(),y=T("p"),S=Fe(_),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(l,"class",s="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(h,"class",b="triangle "+i[0]+" v-nhq2ld"),u(r,"class","triangles-wrapper v-nhq2ld"),u(y,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(k,w){E(k,e,w),E(k,n,w),E(k,o,w),p(o,r),p(r,l),p(r,a),p(r,c),p(r,m),p(r,h),p(o,v),p(o,y),p(y,S)},p(k,w){w&1&&t!==(t="semicircle "+k[0]+" v-nhq2ld")&&u(e,"class",t),w&1&&s!==(s="triangle "+k[0]+" v-nhq2ld")&&u(l,"class",s),w&1&&f!==(f="triangle "+k[0]+" v-nhq2ld")&&u(c,"class",f),w&1&&b!==(b="triangle "+k[0]+" v-nhq2ld")&&u(h,"class",b),w&2&&_!==(_=G("doubletap_seek_step",{seconds:k[1].toFixed(0)})+"")&&$e(S,_)},d(k){k&&(P(e),P(n),P(o))}}}function n_(i){let e,t,n,o,r=i[2]&&Ju(i);return{c(){e=T("div"),r&&r.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(l,s){E(l,e,s),r&&r.m(e,null),n||(o=_e(e,"click",lt(i[3]())),n=!0)},p(l,[s]){l[2]?r?r.p(l,s):(r=Ju(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:W,o:W,d(l){l&&P(e),r&&r.d(),n=!1,o()}}}function o_(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:r}=e,{handleSecondClick:l}=e,s=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{r(),h=0},300):(window.clearTimeout(a),h=0,l(),t(2,s=!0),c=window.setTimeout(()=>{t(2,s=!1)},500))}};return gl(()=>{window.clearTimeout(a),window.clearTimeout(c)}),i.$$set=m=>{"side"in m&&t(0,n=m.side),"seekStep"in m&&t(1,o=m.seekStep),"handleSingleFirstClick"in m&&t(4,r=m.handleSingleFirstClick),"handleSecondClick"in m&&t(5,l=m.handleSecondClick)},[n,o,s,f,r,l]}class wf extends ke{constructor(e){super(),ye(this,e,o_,n_,we,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},i_)}}function l_(i,e,t){let{playNextVideo:n}=e;return vn(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class r_ extends ke{constructor(e){super(),ye(this,e,l_,null,we,{playNextVideo:0})}}const{window:s_}=b1;function a_(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 xu(i){let e,t,n,o;e=new wf({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[127]}});let r=!i[48]&&$u(i);return{c(){j(e.$$.fragment),t=N(),r&&r.c(),n=bt()},m(l,s){F(e,l,s),E(l,t,s),r&&r.m(l,s),E(l,n,s),o=!0},p(l,s){const a={};s[0]&2&&(a.seekStep=l[1].controls.seekStepMobile/1e3),e.$set(a),l[48]?r&&(he(),g(r,1,1,()=>{r=null}),ve()):r?(r.p(l,s),s[1]&131072&&d(r,1)):(r=$u(l),r.c(),d(r,1),r.m(n.parentNode,n))},i(l){o||(d(e.$$.fragment,l),d(r),o=!0)},o(l){g(e.$$.fragment,l),g(r),o=!1},d(l){l&&(P(t),P(n)),H(e,l),r&&r.d(l)}}}function $u(i){let e,t;return e=new wf({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[128]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2&&(r.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function e1(i){var n;let e,t;return e=new gf({props:{thumbUrl:i[2],startTime:(n=i[4])==null?void 0:n.startTime}}),{c(){j(e.$$.fragment)},m(o,r){F(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&4&&(l.thumbUrl=o[2]),r[0]&16&&(l.startTime=(s=o[4])==null?void 0:s.startTime),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){H(e,o)}}}function t1(i){let e,t;return e=new bf({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function i1(i){let e,t,n;return t=new Sc({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),M(e,"hidden",i[34]!==De.Ads)},m(o,r){E(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r[0]&256&&(l.adsSlotId=o[8]),r[0]&512&&(l.adsParams=o[9]),r[0]&1024&&(l.adsPreviewParam=o[10]),r[0]&2048&&(l.duration=o[11]),t.$set(l),(!n||r[1]&8)&&M(e,"hidden",o[34]!==De.Ads)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function n1(i){let e,t;return e=new r_({props:{playNextVideo:i[22]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&4194304&&(r.playNextVideo=n[22]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function o1(i){let e,t;return e=new df({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function l1(i){let e,t,n;return t=new F1({props:{ariaLabel:G("video360")}}),{c(){e=T("div"),j(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,r){E(o,e,r),F(t,e,null),n=!0},p:W,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function r1(i){let e,t;return e=new pf({props:{thumbUrl:i[2],chromecastDeviceName:i[51]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&4&&(r.thumbUrl=n[2]),o[1]&1048576&&(r.chromecastDeviceName=n[51]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function s1(i){let e,t;return e=new mf({props:{shifted:i[30],captions:i[53],position:i[44],playerSize:i[31],isMobile:!0}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&1073741824&&(r.shifted=n[30]),o[1]&4194304&&(r.captions=n[53]),o[1]&8192&&(r.position=n[44]),o[1]&1&&(r.playerSize=n[31]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function a1(i){let e,t,n,o,r;return t=new hf({}),{c(){e=T("div"),j(t.$$.fragment)},m(l,s){E(l,e,s),F(t,e,null),n=!0,o||(r=_e(e,"click",lt(i[100])),o=!0)},p:W,i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&P(e),H(t),o=!1,r()}}}function u1(i){let e,t;return e=new Rc({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function c1(i){let e,t;return e=new Ic({}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function f1(i){let e,t,n=i[6]&&i[78]&&!i[47].has(ct.TIMELINE),o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X;e=new vf({props:{hidden:i[34]!==De.Thumb||i[33]||i[89]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let V=n&&xu(i),K=i[34]===De.WaitingLive&&e1(i),se=i[34]===De.WaitingRecord&&t1(),ne=i[7]&&i[21]&&i1(i),O=i[41]&&i[17]&&i[18]&&n1(i),$=i[49]&&o1(),C=i[50]&&l1(),D=i[35]&&r1(i),re=i[52].value!=="off"&&s1(i),L=i[33]&&a1(i);function ae(Y){i[129](Y)}let pe={bottomHidden:i[34]===De.Thumb||i[34]===De.WaitingLive||i[34]===De.WaitingRecord||i[34]===De.Ads,showControls:i[30],bottomNoSmooth:i[45],isAds:i[34]===De.Ads,canRewindLive:i[6]&&i[54]!==0,logoClickable:i[12],logoHidden:i[13],videoLogoUrl:i[3],showNextPrevButtons:i[14],nextButtonActive:i[15],prevButtonActive:i[16],isOneVideoPlaylist:i[19],supportLink:i[20],customFullscreenSupported:i[39],playNextVideo:i[22],playPrevVideo:i[23],repeatPlaylist:i[24],toggleFullscreen:i[97],seekToInteractive:i[25],toggleGraph:i[26],playPrevChapter:i[27]};i[37]!==void 0&&(pe.controlsElementRef=i[37]),v=new cf({props:pe}),Se.push(()=>We(v,"controlsElementRef",ae)),S=new Pc({props:{isLive:i[55],isHidden:!i[40],isPlaying:i[56],position:i[44],duration:i[43]}});let ge=i[38]&&u1(),ce=i[57]&&c1();return{c(){j(e.$$.fragment),t=N(),V&&V.c(),o=N(),K&&K.c(),r=N(),se&&se.c(),l=N(),ne&&ne.c(),s=N(),O&&O.c(),a=N(),$&&$.c(),c=N(),C&&C.c(),f=N(),D&&D.c(),m=N(),re&&re.c(),h=N(),L&&L.c(),b=N(),j(v.$$.fragment),_=N(),j(S.$$.fragment),k=N(),ge&&ge.c(),w=N(),ce&&ce.c(),R=bt()},m(Y,fe){F(e,Y,fe),E(Y,t,fe),V&&V.m(Y,fe),E(Y,o,fe),K&&K.m(Y,fe),E(Y,r,fe),se&&se.m(Y,fe),E(Y,l,fe),ne&&ne.m(Y,fe),E(Y,s,fe),O&&O.m(Y,fe),E(Y,a,fe),$&&$.m(Y,fe),E(Y,c,fe),C&&C.m(Y,fe),E(Y,f,fe),D&&D.m(Y,fe),E(Y,m,fe),re&&re.m(Y,fe),E(Y,h,fe),L&&L.m(Y,fe),E(Y,b,fe),F(v,Y,fe),E(Y,_,fe),F(S,Y,fe),E(Y,k,fe),ge&&ge.m(Y,fe),E(Y,w,fe),ce&&ce.m(Y,fe),E(Y,R,fe),X=!0},p(Y,fe){const ze={};fe[0]&32|fe[1]&12&&(ze.hidden=Y[34]!==De.Thumb||Y[33]||Y[89]&&Y[5]),fe[0]&4&&(ze.thumbUrl=Y[2]),fe[0]&268435456&&(ze.startVideo=Y[28]),e.$set(ze),fe[0]&64|fe[1]&65536&&(n=Y[6]&&Y[78]&&!Y[47].has(ct.TIMELINE)),n?V?(V.p(Y,fe),fe[0]&64|fe[1]&65536&&d(V,1)):(V=xu(Y),V.c(),d(V,1),V.m(o.parentNode,o)):V&&(he(),g(V,1,1,()=>{V=null}),ve()),Y[34]===De.WaitingLive?K?(K.p(Y,fe),fe[1]&8&&d(K,1)):(K=e1(Y),K.c(),d(K,1),K.m(r.parentNode,r)):K&&(he(),g(K,1,1,()=>{K=null}),ve()),Y[34]===De.WaitingRecord?se?fe[1]&8&&d(se,1):(se=t1(),se.c(),d(se,1),se.m(l.parentNode,l)):se&&(he(),g(se,1,1,()=>{se=null}),ve()),Y[7]&&Y[21]?ne?(ne.p(Y,fe),fe[0]&2097280&&d(ne,1)):(ne=i1(Y),ne.c(),d(ne,1),ne.m(s.parentNode,s)):ne&&(he(),g(ne,1,1,()=>{ne=null}),ve()),Y[41]&&Y[17]&&Y[18]?O?(O.p(Y,fe),fe[0]&393216|fe[1]&1024&&d(O,1)):(O=n1(Y),O.c(),d(O,1),O.m(a.parentNode,a)):O&&(he(),g(O,1,1,()=>{O=null}),ve()),Y[49]?$?fe[1]&262144&&d($,1):($=o1(),$.c(),d($,1),$.m(c.parentNode,c)):$&&(he(),g($,1,1,()=>{$=null}),ve()),Y[50]?C?(C.p(Y,fe),fe[1]&524288&&d(C,1)):(C=l1(),C.c(),d(C,1),C.m(f.parentNode,f)):C&&(he(),g(C,1,1,()=>{C=null}),ve()),Y[35]?D?(D.p(Y,fe),fe[1]&16&&d(D,1)):(D=r1(Y),D.c(),d(D,1),D.m(m.parentNode,m)):D&&(he(),g(D,1,1,()=>{D=null}),ve()),Y[52].value!=="off"?re?(re.p(Y,fe),fe[1]&2097152&&d(re,1)):(re=s1(Y),re.c(),d(re,1),re.m(h.parentNode,h)):re&&(he(),g(re,1,1,()=>{re=null}),ve()),Y[33]?L?(L.p(Y,fe),fe[1]&4&&d(L,1)):(L=a1(Y),L.c(),d(L,1),L.m(b.parentNode,b)):L&&(he(),g(L,1,1,()=>{L=null}),ve());const de={};fe[1]&8&&(de.bottomHidden=Y[34]===De.Thumb||Y[34]===De.WaitingLive||Y[34]===De.WaitingRecord||Y[34]===De.Ads),fe[0]&1073741824&&(de.showControls=Y[30]),fe[1]&16384&&(de.bottomNoSmooth=Y[45]),fe[1]&8&&(de.isAds=Y[34]===De.Ads),fe[0]&64|fe[1]&8388608&&(de.canRewindLive=Y[6]&&Y[54]!==0),fe[0]&4096&&(de.logoClickable=Y[12]),fe[0]&8192&&(de.logoHidden=Y[13]),fe[0]&8&&(de.videoLogoUrl=Y[3]),fe[0]&16384&&(de.showNextPrevButtons=Y[14]),fe[0]&32768&&(de.nextButtonActive=Y[15]),fe[0]&65536&&(de.prevButtonActive=Y[16]),fe[0]&524288&&(de.isOneVideoPlaylist=Y[19]),fe[0]&1048576&&(de.supportLink=Y[20]),fe[1]&256&&(de.customFullscreenSupported=Y[39]),fe[0]&4194304&&(de.playNextVideo=Y[22]),fe[0]&8388608&&(de.playPrevVideo=Y[23]),fe[0]&16777216&&(de.repeatPlaylist=Y[24]),fe[0]&33554432&&(de.seekToInteractive=Y[25]),fe[0]&67108864&&(de.toggleGraph=Y[26]),fe[0]&134217728&&(de.playPrevChapter=Y[27]),!y&&fe[1]&64&&(y=!0,de.controlsElementRef=Y[37],qe(()=>y=!1)),v.$set(de);const Le={};fe[1]&16777216&&(Le.isLive=Y[55]),fe[1]&512&&(Le.isHidden=!Y[40]),fe[1]&33554432&&(Le.isPlaying=Y[56]),fe[1]&8192&&(Le.position=Y[44]),fe[1]&4096&&(Le.duration=Y[43]),S.$set(Le),Y[38]?ge?fe[1]&128&&d(ge,1):(ge=u1(),ge.c(),d(ge,1),ge.m(w.parentNode,w)):ge&&(he(),g(ge,1,1,()=>{ge=null}),ve()),Y[57]?ce?fe[1]&67108864&&d(ce,1):(ce=c1(),ce.c(),d(ce,1),ce.m(R.parentNode,R)):ce&&(he(),g(ce,1,1,()=>{ce=null}),ve())},i(Y){X||(d(e.$$.fragment,Y),d(V),d(K),d(se),d(ne),d(O),d($),d(C),d(D),d(re),d(L),d(v.$$.fragment,Y),d(S.$$.fragment,Y),d(ge),d(ce),X=!0)},o(Y){g(e.$$.fragment,Y),g(V),g(K),g(se),g(ne),g(O),g($),g(C),g(D),g(re),g(L),g(v.$$.fragment,Y),g(S.$$.fragment,Y),g(ge),g(ce),X=!1},d(Y){Y&&(P(t),P(o),P(r),P(l),P(s),P(a),P(c),P(f),P(m),P(h),P(b),P(_),P(k),P(w),P(R)),H(e,Y),V&&V.d(Y),K&&K.d(Y),se&&se.d(Y),ne&&ne.d(Y),O&&O.d(Y),$&&$.d(Y),C&&C.d(Y),D&&D.d(Y),re&&re.d(Y),L&&L.d(Y),H(v,Y),H(S,Y),ge&&ge.d(Y),ce&&ce.d(Y)}}}function u_(i){let e,t,n,o,r,l=i[46],s,a,c,f,m,h=f1(i);return{c(){e=T("div"),t=T("div"),n=T("div"),r=N(),h.c(),s=N(),a=T("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${i[32]}deg) scale(${i[42]})`),M(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),M(t,"hidden",i[34]!==De.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut")},m(b,v){E(b,e,v),p(e,t),p(t,n),i[126](n),p(e,r),h.m(e,null),p(e,s),p(e,a),i[130](a),i[131](e),c=!0,f||(m=[_e(s_,"blur",i[98]),_e(t,"click",oi(i[99])),_e(e,"click",i[101],!0),_e(e,"focusin",i[102],!0)],f=!0)},p(b,v){(!c||v[1]&2050&&o!==(o=`transform: rotate(${b[32]}deg) scale(${b[42]})`))&&u(n,"style",o),(!c||v[0]&2)&&M(n,"fast-rotate",!b[1].isSmoothVideoRotate),(!c||v[1]&8)&&M(t,"hidden",b[34]!==De.Video),v[1]&32768&&we(l,l=b[46])?(he(),g(h,1,1,W),ve(),h=f1(b),h.c(),d(h,1),h.m(e,s)):h.p(b,v)},i(b){c||(d(h),c=!0)},o(b){g(h),c=!1},d(b){b&&P(e),i[126](null),h.d(b),i[130](null),i[131](null),f=!1,ot(m)}}}function c_(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X,V,K,se,ne,O,$,C,D,re,L,ae,pe,ge,ce,Y,fe,ze,{store:de}=e,{uiConfig:Le}=e,{thumbUrl:Pe}=e,{videoLogoUrl:ue}=e,{videoContainer:Ee}=e,{interactiveContainer:A}=e,{live:oe}=e,{autoplay:Me}=e,{canRewindLive:Ce}=e,{showAds:Te}=e,{adsSlotId:le=void 0}=e,{adsParams:Q=void 0}=e,{adsPreviewParam:U=void 0}=e,{duration:Ne=void 0}=e,{logoClickable:et}=e,{logoHidden:rt}=e,{showNextPrevButtons:Ze=!1}=e,{nextButtonActive:Ve=!1}=e,{prevButtonActive:Je=!1}=e,{endScreenVideoTitle:pt=void 0}=e,{endScreenVideoThumb:at=void 0}=e,{isOneVideoPlaylist:Ie=!1}=e,{supportLink:jt}=e,{outerContainerRef:ft=void 0}=e,{showMiniTimer:It=!1}=e,{fullScreenTarget:Rt=void 0}=e,{playerStarted:Vt=!1}=e,{playNextVideo:me=ie.noop}=e,{playPrevVideo:At=ie.noop}=e,{repeatPlaylist:it=ie.noop}=e,{seekToInteractive:Tt}=e,{toggleGraph:wt}=e,{playPrevChapter:ht}=e,{firstStart:Qe}=e,{seekTime:Ue}=e;const yt=de.getLogger().createComponentLog("Root component"),Ni=de.interfaceLanguage$;z(i,Ni,x=>t(46,$=x));const Fi=de.state.playbackState$;z(i,Fi,x=>t(123,se=x));const li=de.ads.playbackState;z(i,li,x=>t(124,ne=x));const Hi=de.state.positionWithScrubbing$;z(i,Hi,x=>t(44,l=x));const Ji=de.state.duration$;z(i,Ji,x=>t(43,r=x));const Ot=de.playerPhase;z(i,Ot,x=>t(34,R=x));const qt=de.ui.isFullscreen;z(i,qt,x=>t(137,a=x));const ri=de.ui.controlsVisible;z(i,ri,x=>t(30,o=x));const Wt=de.ui.interactiveHideMobileControls;z(i,Wt,x=>t(115,h=x));const di=de.ui.settingsMenuVisible;z(i,di,x=>t(114,n=x));const Dt=de.ui.scrubbingInProgress;z(i,Dt,x=>t(116,v=x));const Ri=de.ui.debugPanelVisible;z(i,Ri,x=>t(57,ze=x));const si=de.state.isLoaderVisible;z(i,si,x=>t(125,O=x));const Et=de.state.isEnded$;z(i,Et,x=>t(118,S=x));const Oi=de.state.chromecastConnected$;z(i,Oi,x=>t(35,X=x));const Ci=de.state.chromecastDeviceName$;z(i,Ci,x=>t(51,ae=x));const mi=de.ads.postrollPassed;z(i,mi,x=>t(119,k=x));const Pi=de.ui.mobileUnmuteButtonExpanded,zt=de.ui.mobileUnmuteButtonVisible,$t=de.state.isLive$;z(i,$t,x=>t(55,Y=x));const pi=de.state.isPlaying$;z(i,pi,x=>t(56,fe=x));const ai=de.state.isActiveLive$;z(i,ai,x=>t(48,D=x));const Zt=de.state.isRewindableLive$,vt=de.state.crashed$;z(i,vt,x=>t(33,_=x));const nt=de.webApi.pictureInPictureApi,Ft=de.state.videoSize$;z(i,Ft,x=>t(138,f=x));const ui=de.state.currentSubtitle$;z(i,ui,x=>t(52,pe=x));const Di=de.state.currentSubtitleCaptions$;z(i,Di,x=>t(53,ge=x));const Ti=de.state.duration$;z(i,Ti,x=>t(54,ce=x));const Gt=de.state.graphIsOpened$;z(i,Gt,x=>t(122,K=x));const Kt=de.ui.playerSize;z(i,Kt,x=>t(31,c=x));const Ui=de.ui.is3DVideo;z(i,Ui,x=>t(49,re=x));const ei=de.ui.icon3DVideoVisible;z(i,ei,x=>t(50,L=x));const ji=de.ui.rotateAlpha;z(i,ji,x=>t(32,b=x));const Yt=de.state.isInteractive,Ht=de.state.isInteractiveTime$;z(i,Ht,x=>t(117,y=x));const Qt=de.state.isInteractiveExpectation$;z(i,Qt,x=>t(121,V=x));const Ei=de.state.hasInteractiveBranches,Lt=de.ui.controls.disabledControls$;z(i,Lt,x=>t(47,C=x));const hi=de.ui.touched;z(i,hi,x=>t(120,w=x));const Ai=de.ui.clientInfo$;z(i,Ai,x=>t(136,s=x));const qi=de.ui.overlayContainer$,vi=de.actions.internal.closeSettingsMenu;let Xt,Wi,gi,Li,Oe,Zi,Gi;const bi=Be(!1);z(i,bi,x=>t(45,m=x));let zi,Ii=!1,ci,He=!1,Ki,Jt=!0,ti,Yi,Vi=!1,dn;nt==null||nt.setContext(_1());const nn=x=>{clearTimeout(Li),x&&(zt.set(!0),Pi.set(!0),Li=window.setTimeout(()=>{Pi.set(!1)},Le.controls.collapseMobileUnmute),Yt||Bi(Le.controls.hideTimeoutMobile))};de.setUiCallbacks({onStarted:nn});const Mi=()=>{window.clearTimeout(gi),t(109,Ii=!1),h&&Wt.set(!1)},Bi=x=>{Mi(),t(109,Ii=!0),gi=window.setTimeout(()=>t(109,Ii=!1),x);const ut=x-100;zi=window.setTimeout(()=>{m&&bi.set(!1)},ut>0?ut:x)},_i=Ui.subscribe(x=>{ei.set(x),x&&(window.clearTimeout(Oe),Oe=window.setTimeout(()=>ei.set(!1),Le.controls.hide360IconTimeout))}),on=()=>Xi(this,null,function*(){var ut,en,J,pn;const x=Oo();if(x){Bi(Le.controls.hideTimeoutFullscreen);try{yield nt==null?void 0:nt.remove()}catch(bn){yt({message:String(bn)})}try{const bn=f!=null&&f.width&&(f!=null&&f.height)?f:c;yield p4(bn)}catch(bn){yt({message:String(bn)})}}qt.set(x),de.getAdmanWrapper().setFullscreen(x),a?(en=(ut=de.callbacks)==null?void 0:ut.onFullscreenEnter)==null||en.call(ut):(pn=(J=de.callbacks)==null?void 0:J.onFullscreenExit)==null||pn.call(J)}),xi=x=>{const ut=x;Kt.set({width:ut.target.width,height:ut.target.height})};vn(()=>{var ut;return yc(on),vl(nt)&&(nt==null||nt.assignPlayerContainer(Xt),nt==null||nt.registryExternalEventHandlers({resize:xi})),t(39,Jt=!t_(s)),A&&((ut=Ee.parentElement)==null||ut.insertBefore(A,Ee.nextSibling)),()=>{window.clearTimeout(gi),window.clearTimeout(zi),window.clearTimeout(Li),window.clearTimeout(Oe),_i(),nt==null||nt.dispose(),kc(on)}});const $i=x=>{let ut=l+(x==="forward"?1:-1)*Le.controls.seekStepMobile/1e3;ut<0?ut=0:ut>r&&(ut=r-1),t(111,He=!0),Ue(ut)},ln=()=>Xi(this,null,function*(){if(Oo())yield wc(document),yt({message:"exit fullscreen"});else{yt({message:"request fullscreen"});const x=ft!=null?ft:Xt,ut=x.getRootNode(),en=ut instanceof ShadowRoot?ut.host:ut,J=Rt instanceof HTMLElement&&Rt.contains(en),pn=Le.allowChangingFullscreenTarget&&Rt&&J?Rt:x;yield _c(pn)}}),wi=()=>{vi()},te=()=>{if(n){wi();return}if(!Vt){Qe(),Bi(Le.controls.hideTimeoutCursor);return}t(111,He=!1),o?Mi():Bi(Le.controls.hideTimeoutMobile)},tt=()=>{if(n){wi();return}},Mt=()=>{hi.set(!0)},Qi=()=>{Yt||(bi.set(!0),Bi(Le.controls.hideTimeoutCursor))};function dt(x){Se[x?"unshift":"push"](()=>{Ee=x,t(0,Ee)})}const rn=()=>$i("backward"),mn=()=>$i("forward");function sn(x){Wi=x,t(37,Wi)}function an(x){Se[x?"unshift":"push"](()=>{Gi=x,t(29,Gi)})}function _n(x){Se[x?"unshift":"push"](()=>{Xt=x,t(36,Xt)})}return i.$$set=x=>{"store"in x&&t(103,de=x.store),"uiConfig"in x&&t(1,Le=x.uiConfig),"thumbUrl"in x&&t(2,Pe=x.thumbUrl),"videoLogoUrl"in x&&t(3,ue=x.videoLogoUrl),"videoContainer"in x&&t(0,Ee=x.videoContainer),"interactiveContainer"in x&&t(104,A=x.interactiveContainer),"live"in x&&t(4,oe=x.live),"autoplay"in x&&t(5,Me=x.autoplay),"canRewindLive"in x&&t(6,Ce=x.canRewindLive),"showAds"in x&&t(7,Te=x.showAds),"adsSlotId"in x&&t(8,le=x.adsSlotId),"adsParams"in x&&t(9,Q=x.adsParams),"adsPreviewParam"in x&&t(10,U=x.adsPreviewParam),"duration"in x&&t(11,Ne=x.duration),"logoClickable"in x&&t(12,et=x.logoClickable),"logoHidden"in x&&t(13,rt=x.logoHidden),"showNextPrevButtons"in x&&t(14,Ze=x.showNextPrevButtons),"nextButtonActive"in x&&t(15,Ve=x.nextButtonActive),"prevButtonActive"in x&&t(16,Je=x.prevButtonActive),"endScreenVideoTitle"in x&&t(17,pt=x.endScreenVideoTitle),"endScreenVideoThumb"in x&&t(18,at=x.endScreenVideoThumb),"isOneVideoPlaylist"in x&&t(19,Ie=x.isOneVideoPlaylist),"supportLink"in x&&t(20,jt=x.supportLink),"outerContainerRef"in x&&t(105,ft=x.outerContainerRef),"showMiniTimer"in x&&t(106,It=x.showMiniTimer),"fullScreenTarget"in x&&t(107,Rt=x.fullScreenTarget),"playerStarted"in x&&t(21,Vt=x.playerStarted),"playNextVideo"in x&&t(22,me=x.playNextVideo),"playPrevVideo"in x&&t(23,At=x.playPrevVideo),"repeatPlaylist"in x&&t(24,it=x.repeatPlaylist),"seekToInteractive"in x&&t(25,Tt=x.seekToInteractive),"toggleGraph"in x&&t(26,wt=x.toggleGraph),"playPrevChapter"in x&&t(27,ht=x.playPrevChapter),"firstStart"in x&&t(28,Qe=x.firstStart),"seekTime"in x&&t(108,Ue=x.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&12|i.$$.dirty[4]&3&&t(38,Zi=(R===De.Video&&O||R===De.Ads&&ne===ni.INACTIVE)&&!_),i.$$.dirty[0]&536870912&&qi.set(Gi),i.$$.dirty[3]&1073741824&&t(110,ci=se!==xe.PlaybackState.PLAYING),i.$$.dirty[3]&843251712&&t(112,Ki=K||h||!Ii&&(S&&!!Ei||ci&&V)),i.$$.dirty[1]&28|i.$$.dirty[3]&11468800&&ri.set((ci||n||v||X||Ii&&!He)&&!Ki&&R===De.Video&&!_),i.$$.dirty[0]&1073741826|i.$$.dirty[1]&12|i.$$.dirty[3]&134225920&&t(40,ti=Le.features.thumbTimer&&It&&R===De.Video&&!o&&!_&&!Yt&&(Le.hideThumbTimerAfterTouch&&!w||!Le.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&4|i.$$.dirty[3]&100663296&&t(41,Yi=(Te&&k||!Te)&&S&&!_),i.$$.dirty[0]&2|i.$$.dirty[3]&26214400&&(!v&&Vi&&!y&&Bi(Le.controls.hideTimeoutMobile),t(113,Vi=v)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(42,dn=Ee&&b%180?c.height/c.width:1)},[Ee,Le,Pe,ue,oe,Me,Ce,Te,le,Q,U,Ne,et,rt,Ze,Ve,Je,pt,at,Ie,jt,Vt,me,At,it,Tt,wt,ht,Qe,Gi,o,c,b,_,R,X,Xt,Wi,Zi,Jt,ti,Yi,dn,r,l,m,$,C,D,re,L,ae,pe,ge,ce,Y,fe,ze,Ni,Fi,li,Hi,Ji,Ot,qt,ri,Wt,di,Dt,Ri,si,Et,Oi,Ci,mi,$t,pi,ai,Zt,vt,Ft,ui,Di,Ti,Gt,Kt,Ui,ei,ji,Yt,Ht,Qt,Lt,hi,Ai,bi,$i,ln,wi,te,tt,Mt,Qi,de,A,ft,It,Rt,Ue,Ii,ci,He,Ki,Vi,n,h,v,y,S,k,w,V,K,se,ne,O,dt,rn,mn,sn,an,_n]}class f_ extends ke{constructor(e){super(),ye(this,e,c_,u_,we,{store:103,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:104,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:105,showMiniTimer:106,fullScreenTarget:107,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:108},a_,[-1,-1,-1,-1,-1])}}function d_(i){je(i,"v-cghoty",`.root.v-cghoty{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
32
+ )}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function d_(t){let e,i;return{c(){e=P("div"),i=De(t[0]),u(e,"class","title v-1bcvcf2"),R(e,"hidden",t[1])},m(n,l){T(n,e,l),p(e,i)},p(n,[l]){l&1&&$e(i,n[0]),l&2&&R(e,"hidden",n[1])},i:W,o:W,d(n){n&&S(e)}}}function m_(t,e,i){let{title:n=""}=e,{isHidden:l=!1}=e;return t.$$set=r=>{"title"in r&&i(0,n=r.title),"isHidden"in r&&i(1,l=r.isHidden)},[n,l]}class p_ extends ke{constructor(e){super(),we(this,e,m_,d_,be,{title:0,isHidden:1},f_)}}function h_(t){Ke(t,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function U1(t){let e,i,n,l,r,o,s;return{c(){e=P("div"),i=P("span"),n=De(t[0]),l=H(),r=P("span"),r.textContent=`${Q("waiting_live_day_value")}`,o=H(),s=P("span"),s.textContent=`${Q("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),T(a,o,c),T(a,s,c)},p(a,c){c&1&&$e(n,a[0])},d(a){a&&(S(e),S(o),S(s))}}}function q1(t){let e,i,n,l,r,o,s;return{c(){e=P("div"),i=P("span"),n=De(t[1]),l=H(),r=P("span"),r.textContent=`${Q("waiting_live_hour_value")}`,o=H(),s=P("span"),s.textContent=`${Q("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),T(a,o,c),T(a,s,c)},p(a,c){c&2&&$e(n,a[1])},d(a){a&&(S(e),S(o),S(s))}}}function j1(t){let e,i,n,l,r,o,s;return{c(){e=P("div"),i=P("span"),n=De(t[2]),l=H(),r=P("span"),r.textContent=`${Q("waiting_live_minute_value")}`,o=H(),s=P("span"),s.textContent=`${Q("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),T(a,o,c),T(a,s,c)},p(a,c){c&4&&$e(n,a[2])},d(a){a&&(S(e),S(o),S(s))}}}function Z1(t){let e,i,n,l,r;return{c(){e=P("div"),i=P("span"),n=De(t[3]),l=H(),r=P("span"),r.textContent=`${Q("waiting_live_second_value")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(o,s){T(o,e,s),p(e,i),p(i,n),p(e,l),p(e,r)},p(o,s){s&8&&$e(n,o[3])},d(o){o&&S(e)}}}function v_(t){let e,i,n,l,r=t[0]&&U1(t),o=t[1]&&q1(t),s=t[2]&&j1(t),a=t[3]&&Z1(t);return{c(){e=P("div"),r&&r.c(),i=H(),o&&o.c(),n=H(),s&&s.c(),l=H(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){T(c,e,f),r&&r.m(e,null),p(e,i),o&&o.m(e,null),p(e,n),s&&s.m(e,null),p(e,l),a&&a.m(e,null)},p(c,[f]){c[0]?r?r.p(c,f):(r=U1(c),r.c(),r.m(e,i)):r&&(r.d(1),r=null),c[1]?o?o.p(c,f):(o=q1(c),o.c(),o.m(e,n)):o&&(o.d(1),o=null),c[2]?s?s.p(c,f):(s=j1(c),s.c(),s.m(e,l)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=Z1(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:W,o:W,d(c){c&&S(e),r&&r.d(),o&&o.d(),s&&s.d(),a&&a.d()}}}function g_(t,e,i){let{startTime:n}=e,{onTimerOver:l}=e,r,o,s,a,c;const f=g=>String(g).padStart(2,"0"),d=g=>{const _=Math.floor(g/86400);_&&(g-=_*86400,i(0,r=f(_)));const b=Math.floor(g/3600);i(1,o=f(b));const C=Math.floor(g/60)%60;i(2,s=f(C));const k=g%60;i(3,a=f(k))},h=()=>{const g=Math.floor(Date.now()/1e3),_=n-g;d(_),_>=1?c=requestAnimationFrame(h):l()};return pn(()=>{c=requestAnimationFrame(h)}),Go(()=>{cancelAnimationFrame(c)}),t.$$set=g=>{"startTime"in g&&i(4,n=g.startTime),"onTimerOver"in g&&i(5,l=g.onTimerOver)},[r,o,s,a,n,l]}class b_ extends ke{constructor(e){super(),we(this,e,g_,v_,be,{startTime:4,onTimerOver:5},h_)}}function __(t){let e,i,n,l,r;return{c(){e=D("svg"),i=D("path"),n=D("path"),l=D("path"),r=D("path"),u(i,"fill","#fefffe"),u(i,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),Ht(i,"opacity",".965"),u(n,"fill","#fefffe"),u(n,"d","M183.5 63.5c57.529-3.65 102.029 18.35 133.5 66 21.628 40.092 24.295 81.425 8 124a186.647 186.647 0 0 1-17.5 29.5 632.842 632.842 0 0 1-38-7c36.445-38.176 42.945-81.01 19.5-128.5-24.178-37.504-58.678-54.337-103.5-50.5-49.5 9.5-79 39-88.5 88.5-3.944 35.587 6.889 65.753 32.5 90.5a1149.466 1149.466 0 0 0-36 7.5c-1.53-.029-2.696-.696-3.5-2-29.298-42.431-34.631-87.764-16-136 21.866-46.852 58.366-74.185 109.5-82Z"),Ht(n,"opacity",".965"),u(l,"fill","#fefffe"),u(l,"d","M187.5 127.5c44.524-2.948 72.357 17.052 83.5 60 3.431 44.55-16.403 72.383-59.5 83.5-44.55 3.431-72.383-16.403-83.5-59.5-3.229-44.571 16.604-72.571 59.5-84Z"),Ht(l,"opacity",".985"),u(r,"fill","#fefffe"),u(r,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),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(o,s){T(o,e,s),p(e,i),p(e,n),p(e,l),p(e,r)},p:W,i:W,o:W,d(o){o&&S(e)}}}class w_ extends ke{constructor(e){super(),we(this,e,null,__,be,{})}}function k_(t){Ke(t,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function y_(t){let e,i,n,l,r;return l=new b_({props:{startTime:t[1]||0,onTimerOver:t[3]}}),{c(){e=P("div"),i=P("span"),i.textContent=`${Q("waiting_live_timer_title")}`,n=H(),K(l.$$.fragment),u(i,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(o,s){T(o,e,s),p(e,i),p(e,n),j(l,e,null),r=!0},p(o,s){const a={};s&2&&(a.startTime=o[1]||0),s&4&&(a.onTimerOver=o[3]),l.$set(a)},i(o){r||(m(l.$$.fragment,o),r=!0)},o(o){v(l.$$.fragment,o),r=!1},d(o){o&&S(e),Z(l)}}}function C_(t){let e,i,n,l,r,o;return n=new w_({}),{c(){e=P("div"),i=P("div"),K(n.$$.fragment),l=H(),r=P("span"),r.textContent=`${Q("waiting_live_upcoming_title")}`,u(i,"class","upcoming-icon v-15pewff"),u(r,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(s,a){T(s,e,a),p(e,i),j(n,i,null),p(e,l),p(e,r),o=!0},p:W,i(s){o||(m(n.$$.fragment,s),o=!0)},o(s){v(n.$$.fragment,s),o=!1},d(s){s&&S(e),Z(n)}}}function S_(t){let e,i,n,l,r;const o=[C_,y_],s=[];function a(c,f){return c[2]?0:1}return i=a(t),n=s[i]=o[i](t),{c(){e=P("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",l=`background-image: url(${t[2]?"":t[0]})`)},m(c,f){T(c,e,f),s[i].m(e,null),r=!0},p(c,[f]){let d=i;i=a(c),i===d?s[i].p(c,f):(ce(),v(s[d],1,1,()=>{s[d]=null}),fe(),n=s[i],n?n.p(c,f):(n=s[i]=o[i](c),n.c()),m(n,1),n.m(e,null)),(!r||f&5&&l!==(l=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",l)},i(c){r||(m(n),r=!0)},o(c){v(n),r=!1},d(c){c&&S(e),s[i].d()}}}function T_(t,e,i){let n,{thumbUrl:l}=e,{startTime:r}=e;const o=()=>i(2,n=!0);return t.$$set=s=>{"thumbUrl"in s&&i(0,l=s.thumbUrl),"startTime"in s&&i(1,r=s.startTime)},t.$$.update=()=>{t.$$.dirty&2&&i(2,n=r===void 0||r<Math.floor(Date.now()/1e3))},[l,r,n,o]}class Vf extends ke{constructor(e){super(),we(this,e,T_,S_,be,{thumbUrl:0,startTime:1},k_)}}function P_(t){Ke(t,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function E_(t){let e,i;return{c(){e=P("div"),i=P("p"),i.textContent=`${Q("waiting_record_title")}`,u(i,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,l){T(n,e,l),p(e,i)},p:W,i:W,o:W,d(n){n&&S(e)}}}class Mf extends ke{constructor(e){super(),we(this,e,null,E_,be,{},P_)}}const{window:I_}=Iu;function A_(t){Ke(t,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function K1(t){var n;let e,i;return e=new Vf({props:{thumbUrl:t[3],startTime:(n=t[5])==null?void 0:n.startTime}}),{c(){K(e.$$.fragment)},m(l,r){j(e,l,r),i=!0},p(l,r){var s;const o={};r[0]&8&&(o.thumbUrl=l[3]),r[0]&32&&(o.startTime=(s=l[5])==null?void 0:s.startTime),e.$set(o)},i(l){i||(m(e.$$.fragment,l),i=!0)},o(l){v(e.$$.fragment,l),i=!1},d(l){Z(e,l)}}}function W1(t){let e,i;return e=new Mf({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function G1(t){let e,i,n;return i=new Bc({props:{adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12]}}),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),R(e,"hidden",t[38]!==Oe.Ads)},m(l,r){T(l,e,r),j(i,e,null),n=!0},p(l,r){const o={};r[0]&512&&(o.adsSlotId=l[9]),r[0]&1024&&(o.adsParams=l[10]),r[0]&2048&&(o.adsPreviewParam=l[11]),r[0]&4096&&(o.duration=l[12]),i.$set(o),(!n||r[1]&128)&&R(e,"hidden",l[38]!==Oe.Ads)},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),Z(i)}}}function Y1(t){let e,i;return e=new z3({props:{title:t[18],thumb:t[19],playNextVideo:t[23]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&262144&&(r.title=n[18]),l[0]&524288&&(r.thumb=n[19]),l[0]&8388608&&(r.playNextVideo=n[23]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function Q1(t){let e,i;return e=new p_({props:{title:t[2],isHidden:!t[36]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&4&&(r.title=n[2]),l[1]&32&&(r.isHidden=!n[36]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function X1(t){let e,i;return e=new Pf({props:{isShifted:t[38]===Oe.Video&&t[36]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[1]&160&&(r.isShifted=n[38]===Oe.Video&&n[36]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function J1(t){let e,i,n;return i=new Qu({props:{ariaLabel:Q("video360")}}),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(l,r){T(l,e,r),j(i,e,null),n=!0},p:W,i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),Z(i)}}}function x1(t){let e,i;return e=new If({props:{thumbUrl:t[3],chromecastDeviceName:t[53]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&8&&(r.thumbUrl=n[3]),l[1]&4194304&&(r.chromecastDeviceName=n[53]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function $1(t){let e,i;return e=new Ef({props:{shifted:t[36],captions:t[55],position:t[56],playerSize:t[34]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[1]&32&&(r.shifted=n[36]),l[1]&16777216&&(r.captions=n[55]),l[1]&33554432&&(r.position=n[56]),l[1]&8&&(r.playerSize=n[34]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function eu(t){let e,i,n,l,r;return i=new Af({}),{c(){e=P("div"),K(i.$$.fragment)},m(o,s){T(o,e,s),j(i,e,null),n=!0,l||(r=[he(e,"contextmenu",ii(t[108])),he(e,"click",ct(t[119]))],l=!0)},p:W,i(o){n||(m(i.$$.fragment,o),n=!0)},o(o){v(i.$$.fragment,o),n=!1},d(o){o&&S(e),Z(i),l=!1,ut(r)}}}function tu(t){let e,i,n;function l(o){t[156](o)}let r={bottomHidden:t[38]===Oe.Thumb||t[38]===Oe.WaitingLive||t[38]===Oe.WaitingRecord,bottomNoSmooth:t[50],showControls:t[36],isAds:t[38]===Oe.Ads,canRewindLive:t[7]&&t[57]!==0,logoClickable:t[13],logoHidden:t[14],videoLogoUrl:t[4],showNextPrevButtons:t[15],nextButtonActive:t[16],prevButtonActive:t[17],isOneVideoPlaylist:t[20],supportLink:t[21],customFullscreenSupported:M_,playNextVideo:t[23],playPrevVideo:t[24],repeatPlaylist:t[25],toggleFullscreen:t[106],returnFocus:t[155],seekToInteractive:t[26],toggleGraph:t[27],playPrevChapter:t[28]};return t[41]!==void 0&&(r.controlsElementRef=t[41]),e=new Sf({props:r}),Se.push(()=>Ze(e,"controlsElementRef",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[1]&128&&(a.bottomHidden=o[38]===Oe.Thumb||o[38]===Oe.WaitingLive||o[38]===Oe.WaitingRecord),s[1]&524288&&(a.bottomNoSmooth=o[50]),s[1]&32&&(a.showControls=o[36]),s[1]&128&&(a.isAds=o[38]===Oe.Ads),s[0]&128|s[1]&67108864&&(a.canRewindLive=o[7]&&o[57]!==0),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&16&&(a.videoLogoUrl=o[4]),s[0]&32768&&(a.showNextPrevButtons=o[15]),s[0]&65536&&(a.nextButtonActive=o[16]),s[0]&131072&&(a.prevButtonActive=o[17]),s[0]&1048576&&(a.isOneVideoPlaylist=o[20]),s[0]&2097152&&(a.supportLink=o[21]),s[0]&8388608&&(a.playNextVideo=o[23]),s[0]&16777216&&(a.playPrevVideo=o[24]),s[0]&33554432&&(a.repeatPlaylist=o[25]),s[1]&131072&&(a.returnFocus=o[155]),s[0]&67108864&&(a.seekToInteractive=o[26]),s[0]&134217728&&(a.toggleGraph=o[27]),s[0]&268435456&&(a.playPrevChapter=o[28]),!i&&s[1]&1024&&(i=!0,a.controlsElementRef=o[41],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function iu(t){let e,i;return e=new Kc({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function nu(t){let e,i;return e=new rp({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function ou(t){let e,i;return e=new Fc({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function lu(t){let e,i,n,l,r,o,s,a,c,f,d,h,g,_,b,C,k,w,y,E,x,q,V,ee;e=new Lf({props:{hidden:t[38]!==Oe.Thumb||t[37]||t[92]&&t[6],thumbUrl:t[3],startVideo:t[29]}});let re=t[38]===Oe.WaitingLive&&K1(t),N=t[38]===Oe.WaitingRecord&&W1(),X=t[8]&&t[22]&&G1(t),J=t[31]&&t[18]&&t[19]&&Y1(t),M=t[44]&&Q1(t),A=t[49]&&X1(t),O=t[52]&&J1(),ne=t[39]&&x1(t),L=t[54].value!=="off"&&$1(t),G=t[37]&&eu(t),_e=t[22]&&tu(t);_=new Rc({props:{isLive:t[58],isHidden:!t[43],isPlaying:t[59],position:t[56],duration:t[60]}}),C=new Kb({props:{data:t[103]}});function Ee(F){t[158](F)}let Le={supportLink:t[21],returnFocus:t[157],visible:t[33],playerContainerRef:t[40],controlsContainerRef:t[41],position:t[61]};t[32]!==void 0&&(Le.menuElementRef=t[32]),w=new g3({props:Le}),Se.push(()=>Ze(w,"menuElementRef",Ee));let Ne=t[42]&&iu(),Fe=t[62]&&nu(),pe=t[63]&&ou();return{c(){K(e.$$.fragment),i=H(),re&&re.c(),n=H(),N&&N.c(),l=H(),X&&X.c(),r=H(),J&&J.c(),o=H(),M&&M.c(),s=H(),A&&A.c(),a=H(),O&&O.c(),c=H(),ne&&ne.c(),f=H(),L&&L.c(),d=H(),G&&G.c(),h=H(),_e&&_e.c(),g=H(),K(_.$$.fragment),b=H(),K(C.$$.fragment),k=H(),K(w.$$.fragment),E=H(),Ne&&Ne.c(),x=H(),Fe&&Fe.c(),q=H(),pe&&pe.c(),V=bt()},m(F,ue){j(e,F,ue),T(F,i,ue),re&&re.m(F,ue),T(F,n,ue),N&&N.m(F,ue),T(F,l,ue),X&&X.m(F,ue),T(F,r,ue),J&&J.m(F,ue),T(F,o,ue),M&&M.m(F,ue),T(F,s,ue),A&&A.m(F,ue),T(F,a,ue),O&&O.m(F,ue),T(F,c,ue),ne&&ne.m(F,ue),T(F,f,ue),L&&L.m(F,ue),T(F,d,ue),G&&G.m(F,ue),T(F,h,ue),_e&&_e.m(F,ue),T(F,g,ue),j(_,F,ue),T(F,b,ue),j(C,F,ue),T(F,k,ue),j(w,F,ue),T(F,E,ue),Ne&&Ne.m(F,ue),T(F,x,ue),Fe&&Fe.m(F,ue),T(F,q,ue),pe&&pe.m(F,ue),T(F,V,ue),ee=!0},p(F,ue){const ye={};ue[0]&64|ue[1]&192&&(ye.hidden=F[38]!==Oe.Thumb||F[37]||F[92]&&F[6]),ue[0]&8&&(ye.thumbUrl=F[3]),ue[0]&536870912&&(ye.startVideo=F[29]),e.$set(ye),F[38]===Oe.WaitingLive?re?(re.p(F,ue),ue[1]&128&&m(re,1)):(re=K1(F),re.c(),m(re,1),re.m(n.parentNode,n)):re&&(ce(),v(re,1,1,()=>{re=null}),fe()),F[38]===Oe.WaitingRecord?N?ue[1]&128&&m(N,1):(N=W1(),N.c(),m(N,1),N.m(l.parentNode,l)):N&&(ce(),v(N,1,1,()=>{N=null}),fe()),F[8]&&F[22]?X?(X.p(F,ue),ue[0]&4194560&&m(X,1)):(X=G1(F),X.c(),m(X,1),X.m(r.parentNode,r)):X&&(ce(),v(X,1,1,()=>{X=null}),fe()),F[31]&&F[18]&&F[19]?J?(J.p(F,ue),ue[0]&786432|ue[1]&1&&m(J,1)):(J=Y1(F),J.c(),m(J,1),J.m(o.parentNode,o)):J&&(ce(),v(J,1,1,()=>{J=null}),fe()),F[44]?M?(M.p(F,ue),ue[1]&8192&&m(M,1)):(M=Q1(F),M.c(),m(M,1),M.m(s.parentNode,s)):M&&(ce(),v(M,1,1,()=>{M=null}),fe()),F[49]?A?(A.p(F,ue),ue[1]&262144&&m(A,1)):(A=X1(F),A.c(),m(A,1),A.m(a.parentNode,a)):A&&(ce(),v(A,1,1,()=>{A=null}),fe()),F[52]?O?(O.p(F,ue),ue[1]&2097152&&m(O,1)):(O=J1(),O.c(),m(O,1),O.m(c.parentNode,c)):O&&(ce(),v(O,1,1,()=>{O=null}),fe()),F[39]?ne?(ne.p(F,ue),ue[1]&256&&m(ne,1)):(ne=x1(F),ne.c(),m(ne,1),ne.m(f.parentNode,f)):ne&&(ce(),v(ne,1,1,()=>{ne=null}),fe()),F[54].value!=="off"?L?(L.p(F,ue),ue[1]&8388608&&m(L,1)):(L=$1(F),L.c(),m(L,1),L.m(d.parentNode,d)):L&&(ce(),v(L,1,1,()=>{L=null}),fe()),F[37]?G?(G.p(F,ue),ue[1]&64&&m(G,1)):(G=eu(F),G.c(),m(G,1),G.m(h.parentNode,h)):G&&(ce(),v(G,1,1,()=>{G=null}),fe()),F[22]?_e?(_e.p(F,ue),ue[0]&4194304&&m(_e,1)):(_e=tu(F),_e.c(),m(_e,1),_e.m(g.parentNode,g)):_e&&(ce(),v(_e,1,1,()=>{_e=null}),fe());const Ue={};ue[1]&134217728&&(Ue.isLive=F[58]),ue[1]&4096&&(Ue.isHidden=!F[43]),ue[1]&268435456&&(Ue.isPlaying=F[59]),ue[1]&33554432&&(Ue.position=F[56]),ue[1]&536870912&&(Ue.duration=F[60]),_.$set(Ue);const We={};ue[0]&2097152&&(We.supportLink=F[21]),ue[1]&131072&&(We.returnFocus=F[157]),ue[1]&4&&(We.visible=F[33]),ue[1]&512&&(We.playerContainerRef=F[40]),ue[1]&1024&&(We.controlsContainerRef=F[41]),ue[1]&1073741824&&(We.position=F[61]),!y&&ue[1]&2&&(y=!0,We.menuElementRef=F[32],je(()=>y=!1)),w.$set(We),F[42]?Ne?ue[1]&2048&&m(Ne,1):(Ne=iu(),Ne.c(),m(Ne,1),Ne.m(x.parentNode,x)):Ne&&(ce(),v(Ne,1,1,()=>{Ne=null}),fe()),F[62]?Fe?ue[2]&1&&m(Fe,1):(Fe=nu(),Fe.c(),m(Fe,1),Fe.m(q.parentNode,q)):Fe&&(ce(),v(Fe,1,1,()=>{Fe=null}),fe()),F[63]?pe?ue[2]&2&&m(pe,1):(pe=ou(),pe.c(),m(pe,1),pe.m(V.parentNode,V)):pe&&(ce(),v(pe,1,1,()=>{pe=null}),fe())},i(F){ee||(m(e.$$.fragment,F),m(re),m(N),m(X),m(J),m(M),m(A),m(O),m(ne),m(L),m(G),m(_e),m(_.$$.fragment,F),m(C.$$.fragment,F),m(w.$$.fragment,F),m(Ne),m(Fe),m(pe),ee=!0)},o(F){v(e.$$.fragment,F),v(re),v(N),v(X),v(J),v(M),v(A),v(O),v(ne),v(L),v(G),v(_e),v(_.$$.fragment,F),v(C.$$.fragment,F),v(w.$$.fragment,F),v(Ne),v(Fe),v(pe),ee=!1},d(F){F&&(S(i),S(n),S(l),S(r),S(o),S(s),S(a),S(c),S(f),S(d),S(h),S(g),S(b),S(k),S(E),S(x),S(q),S(V)),Z(e,F),re&&re.d(F),N&&N.d(F),X&&X.d(F),J&&J.d(F),M&&M.d(F),A&&A.d(F),O&&O.d(F),ne&&ne.d(F),L&&L.d(F),G&&G.d(F),_e&&_e.d(F),Z(_,F),Z(C,F),Z(w,F),Ne&&Ne.d(F),Fe&&Fe.d(F),pe&&pe.d(F)}}}function L_(t){let e,i,n,l,r=t[51],o,s,a,c,f=lu(t);return{c(){e=P("div"),i=P("div"),l=H(),f.c(),o=bt(),u(i,"class","video-container v-1o4wf3x"),u(i,"style",n=`transform: rotate(${t[35]}deg) scale(${t[46]})`),R(i,"fast-rotate",!t[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),R(e,"hidden",t[38]!==Oe.Video),R(e,"nocursor",t[45])},m(d,h){T(d,e,h),p(e,i),t[154](i),T(d,l,h),f.m(d,h),T(d,o,h),s=!0,a||(c=[he(e,"contextmenu",ii(t[108])),he(e,"mousedown",ii(t[113])),he(e,"mouseup",ii(t[114])),he(e,"click",ii(t[116])),he(e,"dblclick",ii(t[115]))],a=!0)},p(d,h){(!s||h[1]&32784&&n!==(n=`transform: rotate(${d[35]}deg) scale(${d[46]})`))&&u(i,"style",n),(!s||h[0]&2)&&R(i,"fast-rotate",!d[1].isSmoothVideoRotate),(!s||h[1]&128)&&R(e,"hidden",d[38]!==Oe.Video),(!s||h[1]&16384)&&R(e,"nocursor",d[45]),h[1]&1048576&&be(r,r=d[51])?(ce(),v(f,1,1,W),fe(),f=lu(d),f.c(),m(f,1),f.m(o.parentNode,o)):f.p(d,h)},i(d){s||(m(f),s=!0)},o(d){v(f),s=!1},d(d){d&&(S(e),S(l),S(o)),t[154](null),f.d(d),a=!1,ut(c)}}}function V_(t){let e,i,n,l,r,o,s,a={toggleFullscreen:t[106],hideContextMenu:t[107],showHotKeyHelpers:t[117],showKeyMap:t[118],isAds:t[38]===Oe.Ads,fakePlayButtonHandler:t[47]?t[105]:void 0,$$slots:{default:[L_]},$$scope:{ctx:t}};return i=new q3({props:a}),t[159](i),{c(){e=P("div"),K(i.$$.fragment),n=H(),l=P("div"),u(l,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){T(c,e,f),j(i,e,null),p(e,n),p(e,l),t[160](l),t[161](e),r=!0,o||(s=[he(I_,"blur",t[107]),he(e,"mouseenter",t[109]),he(e,"mouseleave",t[111]),he(e,"mousemove",t[112]),he(e,"click",t[120],!0),he(e,"focusin",t[110],!0)],o=!0)},p(c,f){const d={};f[1]&128&&(d.isAds=c[38]===Oe.Ads),f[1]&65536&&(d.fakePlayButtonHandler=c[47]?c[105]:void 0),f[0]&1073741823|f[1]&2147418111|f[2]&3|f[6]&1&&(d.$$scope={dirty:f,ctx:c}),i.$set(d)},i(c){r||(m(i.$$.fragment,c),r=!0)},o(c){v(i.$$.fragment,c),r=!1},d(c){c&&S(e),t[159](null),Z(i),t[160](null),t[161](null),o=!1,ut(s)}}}let M_=!0;function vr(t){return t?t.offsetTop+vr(t.offsetParent):0}function Bf(t){return t?t.offsetLeft+Bf(t.offsetParent):0}function B_(t,e,i){let n,l,r,o,s,a,c,f,d,h,g,_,b,C,k,w,y,E,x,q,V,ee,re,N,X,J,M,A,O,ne,L,G,_e,Ee,Le,Ne,Fe,pe,F,ue,ye,Ue,We,{store:me}=e,{uiConfig:Ie}=e,{title:ze}=e,{thumbUrl:qe}=e,{videoLogoUrl:ge}=e,{videoContainer:B}=e,{interactiveContainer:Te}=e,{live:se}=e,{autoplay:Ce}=e,{canRewindLive:Ge}=e,{showAds:tt}=e,{adsSlotId:st=void 0}=e,{adsParams:it=void 0}=e,{adsPreviewParam:pt=void 0}=e,{duration:at=void 0}=e,{logoClickable:de}=e,{logoHidden:rt}=e,{showNextPrevButtons:At=!1}=e,{nextButtonActive:yt=!1}=e,{prevButtonActive:Me=!1}=e,{endScreenVideoTitle:Bt=void 0}=e,{endScreenVideoThumb:ae=void 0}=e,{isOneVideoPlaylist:_t=!1}=e,{supportLink:Ct}=e,{outerContainerRef:ht=void 0}=e,{playerStarted:dt=!1}=e,{fullScreenTarget:Qe=void 0}=e,{showMiniTimer:Pe=!1}=e,{playNextVideo:nt=ie.noop}=e,{playPrevVideo:Jt=ie.noop}=e,{repeatPlaylist:Ut=ie.noop}=e,{seekToInteractive:Ui}=e,{toggleGraph:xi}=e,{playPrevChapter:oi}=e,{firstStart:di}=e;const yi=me.getLogger().createComponentLog("Root component"),xt=me.interfaceLanguage$;z(t,xt,U=>i(51,L=U));const mi=me.state.playbackState$;z(t,mi,U=>i(151,A=U));const $i=me.ads.playbackState;z(t,$i,U=>i(152,O=U));const Ci=me.state.positionWithScrubbing$;z(t,Ci,U=>i(56,Ne=U));const Ri=me.state.duration$;z(t,Ri,U=>i(60,ue=U));const pi=me.playerPhase;z(t,pi,U=>i(38,re=U));const hi=me.ui.isFullscreen;z(t,hi,U=>i(141,_=U));const vi=me.ui.controlsVisible;z(t,vi,U=>i(36,E=U));const Si=me.ui.settingsMenuVisible;z(t,Si,U=>i(139,a=U));const Ti=me.ui.scrubbingInProgress;z(t,Ti,U=>i(143,w=U));const li=me.ui.contextMenu.visible$;z(t,li,U=>i(33,n=U));const Gt=me.ui.debugPanelVisible;z(t,Gt,U=>i(63,We=U));const It=me.state.isLoaderVisible;z(t,It,U=>i(153,ne=U));const gi=me.state.isEnded$;z(t,gi,U=>i(140,f=U));const Vt=me.state.chromecastConnected$;z(t,Vt,U=>i(39,J=U));const $t=me.state.chromecastDeviceName$;z(t,$t,U=>i(53,_e=U));const ri=me.ads.postrollPassed;z(t,ri,U=>i(146,V=U));const bi=me.state.isLive$;z(t,bi,U=>i(58,pe=U));const mt=me.state.isPlaying$;z(t,mt,U=>i(59,F=U));const Nt=me.state.crashed$;z(t,Nt,U=>i(37,q=U));const gt=me.webApi.pictureInPictureApi,_i=me.state.currentSubtitle$;z(t,_i,U=>i(54,Ee=U));const si=me.state.currentSubtitleCaptions$;z(t,si,U=>i(55,Le=U));const an=me.state.duration$;z(t,an,U=>i(57,Fe=U));const en=me.state.graphIsOpened$;z(t,en,U=>i(147,ee=U));const Rt=me.ui.playerSize;z(t,Rt,U=>i(34,h=U));const ai=me.ui.is3DVideo;z(t,ai,U=>i(49,d=U));const qi=me.ui.icon3DVideoVisible;z(t,qi,U=>i(52,G=U));const Pi=me.ui.rotateAlpha;z(t,Pi,U=>i(35,k=U));const ui=me.state.isInteractive,Yt=me.state.isInteractiveTime$;z(t,Yt,U=>i(144,y=U));const ji=me.state.isInteractiveExpectation$;z(t,ji,U=>i(150,M=U));const tn=me.state.hasInteractiveBranches,Qt=me.ui.touched;z(t,Qt,U=>i(148,N=U));const Ot=me.ui.modals.hotKeyMap.data;z(t,Ot,U=>i(168,c=U));const qt=me.ui.modals.hotKeyMap.show;z(t,qt,U=>i(62,Ue=U));const Zi=me.ui.overlayContainer$,nn=me.ui.controls.interactiveTimeIndicator;z(t,nn,U=>i(169,g=U));const on=me.state.showInteractiveTimeIndicator,Oi=me.ui.contextMenu.position$;z(t,Oi,U=>i(61,ye=U));const Ei=me.actions.internal.closeSettingsMenu,{fakeIsPlaying$:jt}=Do();z(t,jt,U=>i(142,C=U));let ci,Ii,Di,Ki,wi;Ot.set(Mm());let Ai,zi;const He=Ve(!1);z(t,He,U=>i(50,b=U));let Li;const Dt=Ve(!1);z(t,Dt,U=>i(149,X=U));const Be=Ve(),Wi=Ve(!1);z(t,Wi,U=>i(145,x=U));let Gi=!1,Hi=!1,Yi,Fi,hn,Qi,Zt,Xi,Mt=!1,le,ot=!1;const{toggle:fi}=jt;let Vi=!1,Mi=null,Kt;gt==null||gt.setContext(Au());const kn=()=>{Ce&&!ui&&Wt(Ie.controls.hideTimeout)};me.setUiCallbacks({onStarted:kn});const vn=()=>{window.clearTimeout(Di),Dt.set(!1)},Pn=()=>{window.clearTimeout(Ki),Be.set(null)},Wt=U=>{vn(),Dt.set(!0),Di=window.setTimeout(()=>Dt.set(!1),U);const kt=U-100;Li=window.setTimeout(()=>{b&&He.set(!1)},kt>0?kt:U)},un=(U,kt)=>{Pn(),Be.set(kt),Ki=window.setTimeout(()=>Be.set(null),U)},yn=ai.subscribe(U=>{qi.set(U),U&&(window.clearTimeout(wi),wi=window.setTimeout(()=>qi.set(!1),Ie.controls.hide360IconTimeout))}),gn=()=>Ji(this,null,function*(){var kt,rn,lt,I;const U=Ko();if(U){Wt(Ie.controls.hideTimeoutFullscreen);try{yield gt==null?void 0:gt.remove()}catch(oe){yi({message:String(oe)})}}hi.set(U),me.getAdmanWrapper().setFullscreen(U),_?(rn=(kt=me.callbacks)==null?void 0:kt.onFullscreenEnter)==null||rn.call(kt):(I=(lt=me.callbacks)==null?void 0:lt.onFullscreenExit)==null||I.call(lt)}),Cn=U=>{const kt=U;Rt.set({width:kt.target.width,height:kt.target.height})};pn(()=>{var kt;return Vc(gn),yl(gt)&&(gt==null||gt.assignPlayerContainer(ci),gt==null||gt.registryExternalEventHandlers({resize:Cn})),Te&&((kt=B.parentElement)==null||kt.insertBefore(Te,B.nextSibling)),()=>{window.clearTimeout(Di),window.clearTimeout(Li),window.clearTimeout(Ki),window.clearTimeout(wi),yn(),gt==null||gt.dispose(),Mc(gn)}});const En=()=>Ji(this,null,function*(){if(Ko())yield Lc(document),yi({message:"exit fullscreen"});else{yi({message:"request fullscreen"});const U=ht!=null?ht:ci,kt=U.getRootNode(),rn=kt instanceof ShadowRoot?kt.host:kt,lt=Qe instanceof HTMLElement&&Qe.contains(rn),I=Ie.allowChangingFullscreenTarget&&Qe&&lt?Qe:U;yield Ac(I)}}),cn=()=>{Ei(),li.set(!1)},Sn=U=>{li.set(!0),Oi.set({left:U.clientX,top:U.clientY})};function Tn(){Wi.set(!0),ui||Wt(Ie.controls.hideTimeoutCursor)}function te(){ui||(He.set(!0),Wt(Ie.controls.hideTimeoutCursor))}function wt(){Wi.set(!1),i(131,Hi=!1),i(130,Gi=!1),Vi=!1,me.actions.internal.releaseCamera()}function bn(U){if(g&&on){const kt=U.currentTarget,rn=vr(kt),lt=Bf(kt),I=U.pageX-lt,oe=U.pageY-rn,{left:ve,bottom:Re,right:Xe}=g,ft=Xe-ve;return I>=ve-ft&&oe<=Re+ft}}function ln(U){if(ci){const kt=vr(U.currentTarget),rn=h.height,lt=U.pageY-kt;if(bn(U)){i(131,Hi=!1);return}lt<Gr?i(131,Hi=!0):lt>rn-Gr?i(130,Gi=!0):(i(131,Hi=!1),a||i(130,Gi=!1))}}function _n(U){ln(U),Fi||Wt(Ie.controls.hideTimeoutCursor),d&&Vi&&Mi&&me.actions.internal.moveCameraFocusPX(Mi.clientX-U.clientX,Mi.clientY-U.clientY,U.timeStamp-Mi.timeStamp),Mi=U}const fn=U=>{U.button===0&&(Vi=!0,me.actions.internal.holdCamera()),Wt(Ie.controls.hideTimeoutCursor)},Gn=U=>{U.button===0&&(Mi=U,Vi=!1,me.actions.internal.releaseCamera()),Wt(Ie.controls.hideTimeoutCursor)},Yn=()=>{yi({message:"double click on video"}),En(),Wt(Ie.controls.hideTimeoutCursor)},io=()=>{if(n||a){cn();return}if(!(f&&!tn)){if(ot)return fi();if(Kt==null||Kt.focus(),!dt){di(),Wt(Ie.controls.hideTimeoutCursor);return}me.actions.internal.togglePlay(),Wt(Ie.controls.hideTimeoutCursor)}},Qn=U=>{cn(),Qt.set(!0),Wt(Ie.controls.hideTimeout),U&&un(Ie.controls.hideHotKeyHelpers,U)},dn=()=>{var U,kt;cn(),(U=me.callbacks)!=null&&U.onOpenHotKeyMap?(kt=me.callbacks)==null||kt.onOpenHotKeyMap(c):qt.update(rn=>!rn)},$=()=>{if(n||a){cn();return}},no=()=>{Qt.set(!0)},Xn=me.ui.contextMenu.openedByBtnKeyboard$;z(t,Xn,U=>i(138,s=U));let po=me.ui.contextMenu.btnRef$;z(t,po,U=>i(137,o=U));let Bn;const Nn=me.ui.contextMenu.openedByHotKey$;z(t,Nn,U=>i(136,r=U));const oo=me.ui.contextMenu.lastActiveElem$;z(t,oo,U=>i(135,l=U));function ho(U){Se[U?"unshift":"push"](()=>{B=U,i(0,B)})}const vo=()=>Kt==null?void 0:Kt.focus();function go(U){Ii=U,i(41,Ii)}const lo=()=>Kt==null?void 0:Kt.focus();function bo(U){Bn=U,i(32,Bn)}function _o(U){Se[U?"unshift":"push"](()=>{Kt=U,i(48,Kt)})}function Rn(U){Se[U?"unshift":"push"](()=>{zi=U,i(30,zi)})}function wo(U){Se[U?"unshift":"push"](()=>{ci=U,i(40,ci)})}return t.$$set=U=>{"store"in U&&i(125,me=U.store),"uiConfig"in U&&i(1,Ie=U.uiConfig),"title"in U&&i(2,ze=U.title),"thumbUrl"in U&&i(3,qe=U.thumbUrl),"videoLogoUrl"in U&&i(4,ge=U.videoLogoUrl),"videoContainer"in U&&i(0,B=U.videoContainer),"interactiveContainer"in U&&i(126,Te=U.interactiveContainer),"live"in U&&i(5,se=U.live),"autoplay"in U&&i(6,Ce=U.autoplay),"canRewindLive"in U&&i(7,Ge=U.canRewindLive),"showAds"in U&&i(8,tt=U.showAds),"adsSlotId"in U&&i(9,st=U.adsSlotId),"adsParams"in U&&i(10,it=U.adsParams),"adsPreviewParam"in U&&i(11,pt=U.adsPreviewParam),"duration"in U&&i(12,at=U.duration),"logoClickable"in U&&i(13,de=U.logoClickable),"logoHidden"in U&&i(14,rt=U.logoHidden),"showNextPrevButtons"in U&&i(15,At=U.showNextPrevButtons),"nextButtonActive"in U&&i(16,yt=U.nextButtonActive),"prevButtonActive"in U&&i(17,Me=U.prevButtonActive),"endScreenVideoTitle"in U&&i(18,Bt=U.endScreenVideoTitle),"endScreenVideoThumb"in U&&i(19,ae=U.endScreenVideoThumb),"isOneVideoPlaylist"in U&&i(20,_t=U.isOneVideoPlaylist),"supportLink"in U&&i(21,Ct=U.supportLink),"outerContainerRef"in U&&i(127,ht=U.outerContainerRef),"playerStarted"in U&&i(22,dt=U.playerStarted),"fullScreenTarget"in U&&i(128,Qe=U.fullScreenTarget),"showMiniTimer"in U&&i(129,Pe=U.showMiniTimer),"playNextVideo"in U&&i(23,nt=U.playNextVideo),"playPrevVideo"in U&&i(24,Jt=U.playPrevVideo),"repeatPlaylist"in U&&i(25,Ut=U.repeatPlaylist),"seekToInteractive"in U&&i(26,Ui=U.seekToInteractive),"toggleGraph"in U&&i(27,xi=U.toggleGraph),"playPrevChapter"in U&&i(28,oi=U.playPrevChapter),"firstStart"in U&&i(29,di=U.firstStart)},t.$$.update=()=>{if(t.$$.dirty[1]&192|t.$$.dirty[4]&805306368&&i(42,Ai=(re===Oe.Video&&ne||re===Oe.Ads&&O===ti.INACTIVE)&&!q),t.$$.dirty[0]&1073741824&&Zi.set(zi),t.$$.dirty[4]&134217728&&i(132,Yi=A!==et.PlaybackState.PLAYING),t.$$.dirty[4]&68190656&&i(133,Fi=y&&!a&&!(Gi||Hi)&&!(Yi&&!M)),t.$$.dirty[1]&448|t.$$.dirty[4]&34112256&&vi.set((Yi||a||w||J||X)&&!Fi&&(re===Oe.Video||re===Oe.Ads)&&!q),t.$$.dirty[0]&2|t.$$.dirty[1]&224|t.$$.dirty[4]&16777248&&i(43,hn=Ie.features.thumbTimer&&Pe&&re===Oe.Video&&!E&&!q&&!ui&&(Ie.hideThumbTimerAfterTouch&&!N||!Ie.hideThumbTimerAfterTouch)),t.$$.dirty[1]&128|t.$$.dirty[4]&8519680&&i(44,Qi=re===Oe.Video&&!ee&&_),t.$$.dirty[0]&256|t.$$.dirty[1]&64|t.$$.dirty[4]&4259840&&i(31,Zt=(tt&&V||!tt)&&f&&!q),t.$$.dirty[1]&33|t.$$.dirty[4]&3145728&&i(45,Xi=x&&!(E||Zt)&&!y),t.$$.dirty[0]&2|t.$$.dirty[4]&1573888&&(!w&&Mt&&!y&&Wt(Ie.controls.hideTimeoutCursor),i(134,Mt=w)),t.$$.dirty[0]&1|t.$$.dirty[1]&24&&i(46,le=B&&k%180?h.height/h.width:1),t.$$.dirty[4]&262144&&i(47,ot=C!==null),t.$$.dirty[1]&6|t.$$.dirty[4]&16384&&Cl(Bn,n,s),t.$$.dirty[1]&4|t.$$.dirty[4]&8192){const U=o;U&&Er(U,n,Xn)}if(t.$$.dirty[1]&6|t.$$.dirty[4]&4096&&Cl(Bn,n,r),t.$$.dirty[1]&4|t.$$.dirty[4]&2048){const U=l;U&&s3(U,n,Nn)}},[B,Ie,ze,qe,ge,se,Ce,Ge,tt,st,it,pt,at,de,rt,At,yt,Me,Bt,ae,_t,Ct,dt,nt,Jt,Ut,Ui,xi,oi,di,zi,Zt,Bn,n,h,k,E,q,re,J,ci,Ii,Ai,hn,Qi,Xi,le,ot,Kt,d,b,L,G,_e,Ee,Le,Ne,Fe,pe,F,ue,ye,Ue,We,xt,mi,$i,Ci,Ri,pi,hi,vi,Si,Ti,li,Gt,It,gi,Vt,$t,ri,bi,mt,Nt,_i,si,an,en,Rt,ai,qi,Pi,ui,Yt,ji,Qt,Ot,qt,nn,Oi,jt,He,Dt,Be,Wi,fi,En,cn,Sn,Tn,te,wt,_n,fn,Gn,Yn,io,Qn,dn,$,no,Xn,po,Nn,oo,me,Te,ht,Qe,Pe,Gi,Hi,Yi,Fi,Mt,l,r,o,s,a,f,_,C,w,y,x,V,ee,N,X,M,A,O,ne,ho,vo,go,lo,bo,_o,Rn,wo]}class N_ extends ke{constructor(e){super(),we(this,e,B_,V_,be,{store:125,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:126,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:127,playerStarted:22,fullScreenTarget:128,showMiniTimer:129,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},A_,[-1,-1,-1,-1,-1,-1,-1])}}const R_=t=>{if(!ie.isIOS(!0))return!1;const e=t.device===ie.CurrentClientDevice.iPad||(window==null?void 0:window.screen.width)>700,i=ie.getIOSVersion();return!e||e&&!!i&&i<16};function O_(t){Ke(t,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function ru(t){let e,i,n,l,r,o,s,a,c,f,d,h,g,_,b,C=Q("doubletap_seek_step",{seconds:t[1].toFixed(0)})+"",k;return{c(){e=P("div"),n=H(),l=P("div"),r=P("div"),o=P("div"),a=H(),c=P("div"),d=H(),h=P("div"),_=H(),b=P("p"),k=De(C),u(e,"class",i="semicircle "+t[0]+" v-nhq2ld"),u(o,"class",s="triangle "+t[0]+" v-nhq2ld"),u(c,"class",f="triangle "+t[0]+" v-nhq2ld"),u(h,"class",g="triangle "+t[0]+" v-nhq2ld"),u(r,"class","triangles-wrapper v-nhq2ld"),u(b,"class","step-caption v-nhq2ld"),u(l,"class","info v-nhq2ld")},m(w,y){T(w,e,y),T(w,n,y),T(w,l,y),p(l,r),p(r,o),p(r,a),p(r,c),p(r,d),p(r,h),p(l,_),p(l,b),p(b,k)},p(w,y){y&1&&i!==(i="semicircle "+w[0]+" v-nhq2ld")&&u(e,"class",i),y&1&&s!==(s="triangle "+w[0]+" v-nhq2ld")&&u(o,"class",s),y&1&&f!==(f="triangle "+w[0]+" v-nhq2ld")&&u(c,"class",f),y&1&&g!==(g="triangle "+w[0]+" v-nhq2ld")&&u(h,"class",g),y&2&&C!==(C=Q("doubletap_seek_step",{seconds:w[1].toFixed(0)})+"")&&$e(k,C)},d(w){w&&(S(e),S(n),S(l))}}}function D_(t){let e,i,n,l,r=t[2]&&ru(t);return{c(){e=P("div"),r&&r.c(),u(e,"class",i="double-click-area "+t[0]+" v-nhq2ld")},m(o,s){T(o,e,s),r&&r.m(e,null),n||(l=he(e,"click",ct(t[3]())),n=!0)},p(o,[s]){o[2]?r?r.p(o,s):(r=ru(o),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&1&&i!==(i="double-click-area "+o[0]+" v-nhq2ld")&&u(e,"class",i)},i:W,o:W,d(o){o&&S(e),r&&r.d(),n=!1,l()}}}function z_(t,e,i){let{side:n}=e,{seekStep:l}=e,{handleSingleFirstClick:r}=e,{handleSecondClick:o}=e,s=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{r(),h=0},300):(window.clearTimeout(a),h=0,o(),i(2,s=!0),c=window.setTimeout(()=>{i(2,s=!1)},500))}};return Go(()=>{window.clearTimeout(a),window.clearTimeout(c)}),t.$$set=d=>{"side"in d&&i(0,n=d.side),"seekStep"in d&&i(1,l=d.seekStep),"handleSingleFirstClick"in d&&i(4,r=d.handleSingleFirstClick),"handleSecondClick"in d&&i(5,o=d.handleSecondClick)},[n,l,s,f,r,o]}class Nf extends ke{constructor(e){super(),we(this,e,z_,D_,be,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},O_)}}function H_(t,e,i){let{playNextVideo:n}=e;return pn(()=>{n()}),t.$$set=l=>{"playNextVideo"in l&&i(0,n=l.playNextVideo)},[n]}class F_ extends ke{constructor(e){super(),we(this,e,H_,null,be,{playNextVideo:0})}}const{window:U_}=Iu;function q_(t){Ke(t,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function su(t){let e,i,n,l;e=new Nf({props:{side:"left",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[100],handleSecondClick:t[130]}});let r=!t[48]&&au(t);return{c(){K(e.$$.fragment),i=H(),r&&r.c(),n=bt()},m(o,s){j(e,o,s),T(o,i,s),r&&r.m(o,s),T(o,n,s),l=!0},p(o,s){const a={};s[0]&2&&(a.seekStep=o[1].controls.seekStepMobile/1e3),e.$set(a),o[48]?r&&(ce(),v(r,1,1,()=>{r=null}),fe()):r?(r.p(o,s),s[1]&131072&&m(r,1)):(r=au(o),r.c(),m(r,1),r.m(n.parentNode,n))},i(o){l||(m(e.$$.fragment,o),m(r),l=!0)},o(o){v(e.$$.fragment,o),v(r),l=!1},d(o){o&&(S(i),S(n)),Z(e,o),r&&r.d(o)}}}function au(t){let e,i;return e=new Nf({props:{side:"right",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[100],handleSecondClick:t[131]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&2&&(r.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function uu(t){var n;let e,i;return e=new Vf({props:{thumbUrl:t[2],startTime:(n=t[4])==null?void 0:n.startTime}}),{c(){K(e.$$.fragment)},m(l,r){j(e,l,r),i=!0},p(l,r){var s;const o={};r[0]&4&&(o.thumbUrl=l[2]),r[0]&16&&(o.startTime=(s=l[4])==null?void 0:s.startTime),e.$set(o)},i(l){i||(m(e.$$.fragment,l),i=!0)},o(l){v(e.$$.fragment,l),i=!1},d(l){Z(e,l)}}}function cu(t){let e,i;return e=new Mf({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function fu(t){let e,i,n;return i=new Bc({props:{adsSlotId:t[8],adsParams:t[9],adsPreviewParam:t[10],duration:t[11]}}),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","ads-container v-1jy89ut"),R(e,"hidden",t[34]!==Oe.Ads)},m(l,r){T(l,e,r),j(i,e,null),n=!0},p(l,r){const o={};r[0]&256&&(o.adsSlotId=l[8]),r[0]&512&&(o.adsParams=l[9]),r[0]&1024&&(o.adsPreviewParam=l[10]),r[0]&2048&&(o.duration=l[11]),i.$set(o),(!n||r[1]&8)&&R(e,"hidden",l[34]!==Oe.Ads)},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),Z(i)}}}function du(t){let e,i;return e=new F_({props:{playNextVideo:t[22]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&4194304&&(r.playNextVideo=n[22]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function mu(t){let e,i;return e=new Pf({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function pu(t){let e,i,n;return i=new Qu({props:{ariaLabel:Q("video360")}}),{c(){e=P("div"),K(i.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(l,r){T(l,e,r),j(i,e,null),n=!0},p:W,i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),Z(i)}}}function hu(t){let e,i;return e=new If({props:{thumbUrl:t[2],chromecastDeviceName:t[51]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&4&&(r.thumbUrl=n[2]),l[1]&1048576&&(r.chromecastDeviceName=n[51]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function vu(t){let e,i;return e=new Ef({props:{shifted:t[30],captions:t[53],position:t[44],playerSize:t[31],isMobile:!0}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l[0]&1073741824&&(r.shifted=n[30]),l[1]&4194304&&(r.captions=n[53]),l[1]&8192&&(r.position=n[44]),l[1]&1&&(r.playerSize=n[31]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function gu(t){let e,i,n,l,r;return i=new Af({}),{c(){e=P("div"),K(i.$$.fragment)},m(o,s){T(o,e,s),j(i,e,null),n=!0,l||(r=he(e,"click",ct(t[101])),l=!0)},p:W,i(o){n||(m(i.$$.fragment,o),n=!0)},o(o){v(i.$$.fragment,o),n=!1},d(o){o&&S(e),Z(i),l=!1,r()}}}function bu(t){let e,i,n;function l(o){t[132](o)}let r={bottomHidden:t[34]===Oe.Thumb||t[34]===Oe.WaitingLive||t[34]===Oe.WaitingRecord||t[34]===Oe.Ads,showControls:t[30],bottomNoSmooth:t[45],isAds:t[34]===Oe.Ads,canRewindLive:t[6]&&t[54]!==0,logoClickable:t[12],logoHidden:t[13],videoLogoUrl:t[3],showNextPrevButtons:t[14],nextButtonActive:t[15],prevButtonActive:t[16],isOneVideoPlaylist:t[19],supportLink:t[20],customFullscreenSupported:t[39],playNextVideo:t[22],playPrevVideo:t[23],repeatPlaylist:t[24],toggleFullscreen:t[98],seekToInteractive:t[25],toggleGraph:t[26],playPrevChapter:t[27],onDisabledPlayPrevChapterClick:t[104],onDisabledSeekToInteractiveClick:t[105]};return t[37]!==void 0&&(r.controlsElementRef=t[37]),e=new Sf({props:r}),Se.push(()=>Ze(e,"controlsElementRef",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[1]&8&&(a.bottomHidden=o[34]===Oe.Thumb||o[34]===Oe.WaitingLive||o[34]===Oe.WaitingRecord||o[34]===Oe.Ads),s[0]&1073741824&&(a.showControls=o[30]),s[1]&16384&&(a.bottomNoSmooth=o[45]),s[1]&8&&(a.isAds=o[34]===Oe.Ads),s[0]&64|s[1]&8388608&&(a.canRewindLive=o[6]&&o[54]!==0),s[0]&4096&&(a.logoClickable=o[12]),s[0]&8192&&(a.logoHidden=o[13]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16384&&(a.showNextPrevButtons=o[14]),s[0]&32768&&(a.nextButtonActive=o[15]),s[0]&65536&&(a.prevButtonActive=o[16]),s[0]&524288&&(a.isOneVideoPlaylist=o[19]),s[0]&1048576&&(a.supportLink=o[20]),s[1]&256&&(a.customFullscreenSupported=o[39]),s[0]&4194304&&(a.playNextVideo=o[22]),s[0]&8388608&&(a.playPrevVideo=o[23]),s[0]&16777216&&(a.repeatPlaylist=o[24]),s[0]&33554432&&(a.seekToInteractive=o[25]),s[0]&67108864&&(a.toggleGraph=o[26]),s[0]&134217728&&(a.playPrevChapter=o[27]),!i&&s[1]&64&&(i=!0,a.controlsElementRef=o[37],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function _u(t){let e,i;return e=new Kc({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function wu(t){let e,i;return e=new Fc({}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function ku(t){let e,i,n=t[6]&&t[78]&&!t[47].has(vt.TIMELINE),l,r,o,s,a,c,f,d,h,g,_,b,C,k,w,y;e=new Lf({props:{hidden:t[34]!==Oe.Thumb||t[33]||t[89]&&t[5],thumbUrl:t[2],startVideo:t[28]}});let E=n&&su(t),x=t[34]===Oe.WaitingLive&&uu(t),q=t[34]===Oe.WaitingRecord&&cu(),V=t[7]&&t[21]&&fu(t),ee=t[41]&&t[17]&&t[18]&&du(t),re=t[49]&&mu(),N=t[50]&&pu(),X=t[35]&&hu(t),J=t[52].value!=="off"&&vu(t),M=t[33]&&gu(t),A=t[21]&&bu(t);b=new Rc({props:{isLive:t[55],isHidden:!t[40],isPlaying:t[56],position:t[44],duration:t[43]}});let O=t[38]&&_u(),ne=t[57]&&wu();return{c(){K(e.$$.fragment),i=H(),E&&E.c(),l=H(),x&&x.c(),r=H(),q&&q.c(),o=H(),V&&V.c(),s=H(),ee&&ee.c(),a=H(),re&&re.c(),c=H(),N&&N.c(),f=H(),X&&X.c(),d=H(),J&&J.c(),h=H(),M&&M.c(),g=H(),A&&A.c(),_=H(),K(b.$$.fragment),C=H(),O&&O.c(),k=H(),ne&&ne.c(),w=bt()},m(L,G){j(e,L,G),T(L,i,G),E&&E.m(L,G),T(L,l,G),x&&x.m(L,G),T(L,r,G),q&&q.m(L,G),T(L,o,G),V&&V.m(L,G),T(L,s,G),ee&&ee.m(L,G),T(L,a,G),re&&re.m(L,G),T(L,c,G),N&&N.m(L,G),T(L,f,G),X&&X.m(L,G),T(L,d,G),J&&J.m(L,G),T(L,h,G),M&&M.m(L,G),T(L,g,G),A&&A.m(L,G),T(L,_,G),j(b,L,G),T(L,C,G),O&&O.m(L,G),T(L,k,G),ne&&ne.m(L,G),T(L,w,G),y=!0},p(L,G){const _e={};G[0]&32|G[1]&12&&(_e.hidden=L[34]!==Oe.Thumb||L[33]||L[89]&&L[5]),G[0]&4&&(_e.thumbUrl=L[2]),G[0]&268435456&&(_e.startVideo=L[28]),e.$set(_e),G[0]&64|G[1]&65536&&(n=L[6]&&L[78]&&!L[47].has(vt.TIMELINE)),n?E?(E.p(L,G),G[0]&64|G[1]&65536&&m(E,1)):(E=su(L),E.c(),m(E,1),E.m(l.parentNode,l)):E&&(ce(),v(E,1,1,()=>{E=null}),fe()),L[34]===Oe.WaitingLive?x?(x.p(L,G),G[1]&8&&m(x,1)):(x=uu(L),x.c(),m(x,1),x.m(r.parentNode,r)):x&&(ce(),v(x,1,1,()=>{x=null}),fe()),L[34]===Oe.WaitingRecord?q?G[1]&8&&m(q,1):(q=cu(),q.c(),m(q,1),q.m(o.parentNode,o)):q&&(ce(),v(q,1,1,()=>{q=null}),fe()),L[7]&&L[21]?V?(V.p(L,G),G[0]&2097280&&m(V,1)):(V=fu(L),V.c(),m(V,1),V.m(s.parentNode,s)):V&&(ce(),v(V,1,1,()=>{V=null}),fe()),L[41]&&L[17]&&L[18]?ee?(ee.p(L,G),G[0]&393216|G[1]&1024&&m(ee,1)):(ee=du(L),ee.c(),m(ee,1),ee.m(a.parentNode,a)):ee&&(ce(),v(ee,1,1,()=>{ee=null}),fe()),L[49]?re?G[1]&262144&&m(re,1):(re=mu(),re.c(),m(re,1),re.m(c.parentNode,c)):re&&(ce(),v(re,1,1,()=>{re=null}),fe()),L[50]?N?(N.p(L,G),G[1]&524288&&m(N,1)):(N=pu(),N.c(),m(N,1),N.m(f.parentNode,f)):N&&(ce(),v(N,1,1,()=>{N=null}),fe()),L[35]?X?(X.p(L,G),G[1]&16&&m(X,1)):(X=hu(L),X.c(),m(X,1),X.m(d.parentNode,d)):X&&(ce(),v(X,1,1,()=>{X=null}),fe()),L[52].value!=="off"?J?(J.p(L,G),G[1]&2097152&&m(J,1)):(J=vu(L),J.c(),m(J,1),J.m(h.parentNode,h)):J&&(ce(),v(J,1,1,()=>{J=null}),fe()),L[33]?M?(M.p(L,G),G[1]&4&&m(M,1)):(M=gu(L),M.c(),m(M,1),M.m(g.parentNode,g)):M&&(ce(),v(M,1,1,()=>{M=null}),fe()),L[21]?A?(A.p(L,G),G[0]&2097152&&m(A,1)):(A=bu(L),A.c(),m(A,1),A.m(_.parentNode,_)):A&&(ce(),v(A,1,1,()=>{A=null}),fe());const Ee={};G[1]&16777216&&(Ee.isLive=L[55]),G[1]&512&&(Ee.isHidden=!L[40]),G[1]&33554432&&(Ee.isPlaying=L[56]),G[1]&8192&&(Ee.position=L[44]),G[1]&4096&&(Ee.duration=L[43]),b.$set(Ee),L[38]?O?G[1]&128&&m(O,1):(O=_u(),O.c(),m(O,1),O.m(k.parentNode,k)):O&&(ce(),v(O,1,1,()=>{O=null}),fe()),L[57]?ne?G[1]&67108864&&m(ne,1):(ne=wu(),ne.c(),m(ne,1),ne.m(w.parentNode,w)):ne&&(ce(),v(ne,1,1,()=>{ne=null}),fe())},i(L){y||(m(e.$$.fragment,L),m(E),m(x),m(q),m(V),m(ee),m(re),m(N),m(X),m(J),m(M),m(A),m(b.$$.fragment,L),m(O),m(ne),y=!0)},o(L){v(e.$$.fragment,L),v(E),v(x),v(q),v(V),v(ee),v(re),v(N),v(X),v(J),v(M),v(A),v(b.$$.fragment,L),v(O),v(ne),y=!1},d(L){L&&(S(i),S(l),S(r),S(o),S(s),S(a),S(c),S(f),S(d),S(h),S(g),S(_),S(C),S(k),S(w)),Z(e,L),E&&E.d(L),x&&x.d(L),q&&q.d(L),V&&V.d(L),ee&&ee.d(L),re&&re.d(L),N&&N.d(L),X&&X.d(L),J&&J.d(L),M&&M.d(L),A&&A.d(L),Z(b,L),O&&O.d(L),ne&&ne.d(L)}}}function j_(t){let e,i,n,l,r,o=t[46],s,a,c,f,d,h=ku(t);return{c(){e=P("div"),i=P("div"),n=P("div"),r=H(),h.c(),s=H(),a=P("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",l=`transform: rotate(${t[32]}deg) scale(${t[42]})`),R(n,"fast-rotate",!t[1].isSmoothVideoRotate),u(i,"class","video-wrapper v-1jy89ut"),R(i,"hidden",t[34]!==Oe.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut"),u(e,"role","region"),u(e,"aria-label",Q("aria_label_video_player")),u(e,"tabindex","-1")},m(g,_){T(g,e,_),p(e,i),p(i,n),t[129](n),p(e,r),h.m(e,null),p(e,s),p(e,a),t[133](a),t[134](e),c=!0,f||(d=[he(U_,"blur",t[99]),he(i,"click",ii(t[100])),he(e,"click",t[102],!0),he(e,"focusin",t[103],!0)],f=!0)},p(g,_){(!c||_[1]&2050&&l!==(l=`transform: rotate(${g[32]}deg) scale(${g[42]})`))&&u(n,"style",l),(!c||_[0]&2)&&R(n,"fast-rotate",!g[1].isSmoothVideoRotate),(!c||_[1]&8)&&R(i,"hidden",g[34]!==Oe.Video),_[1]&32768&&be(o,o=g[46])?(ce(),v(h,1,1,W),fe(),h=ku(g),h.c(),m(h,1),h.m(e,s)):h.p(g,_)},i(g){c||(m(h),c=!0)},o(g){v(h),c=!1},d(g){g&&S(e),t[129](null),h.d(g),t[133](null),t[134](null),f=!1,ut(d)}}}function Z_(t,e,i){var Sn,Tn;let n,l,r,o,s,a,c,f,d,h,g,_,b,C,k,w,y,E,x,q,V,ee,re,N,X,J,M,A,O,ne,L,G,_e,Ee,Le,Ne,Fe,{store:pe}=e,{uiConfig:F}=e,{thumbUrl:ue}=e,{videoLogoUrl:ye}=e,{videoContainer:Ue}=e,{interactiveContainer:We}=e,{live:me}=e,{autoplay:Ie}=e,{canRewindLive:ze}=e,{showAds:qe}=e,{adsSlotId:ge=void 0}=e,{adsParams:B=void 0}=e,{adsPreviewParam:Te=void 0}=e,{duration:se=void 0}=e,{logoClickable:Ce}=e,{logoHidden:Ge}=e,{showNextPrevButtons:tt=!1}=e,{nextButtonActive:st=!1}=e,{prevButtonActive:it=!1}=e,{endScreenVideoTitle:pt=void 0}=e,{endScreenVideoThumb:at=void 0}=e,{isOneVideoPlaylist:de=!1}=e,{supportLink:rt}=e,{outerContainerRef:At=void 0}=e,{showMiniTimer:yt=!1}=e,{fullScreenTarget:Me=void 0}=e,{playerStarted:Bt=!1}=e,{playNextVideo:ae=ie.noop}=e,{playPrevVideo:_t=ie.noop}=e,{repeatPlaylist:Ct=ie.noop}=e,{seekToInteractive:ht}=e,{toggleGraph:dt}=e,{playPrevChapter:Qe}=e,{firstStart:Pe}=e,{seekTime:nt}=e;const Jt=pe.getLogger().createComponentLog("Root component"),Ut=pe.interfaceLanguage$;z(t,Ut,te=>i(46,J=te));const Ui=pe.state.playbackState$;z(t,Ui,te=>i(126,re=te));const xi=pe.ads.playbackState;z(t,xi,te=>i(127,N=te));const oi=pe.state.positionWithScrubbing$;z(t,oi,te=>i(44,s=te));const di=pe.state.duration$;z(t,di,te=>i(43,o=te));const yi=pe.playerPhase;z(t,yi,te=>i(34,x=te));const xt=pe.ui.isFullscreen;z(t,xt,te=>i(141,c=te));const mi=pe.ui.controlsVisible;z(t,mi,te=>i(30,l=te));const $i=pe.ui.interactiveHideMobileControls;z(t,$i,te=>i(118,g=te));const Ci=pe.ui.settingsMenuVisible;z(t,Ci,te=>i(117,n=te));const Ri=pe.ui.scrubbingInProgress;z(t,Ri,te=>i(119,b=te));const pi=pe.ui.debugPanelVisible;z(t,pi,te=>i(57,Fe=te));const hi=pe.state.isLoaderVisible;z(t,hi,te=>i(128,X=te));const vi=pe.state.isEnded$;z(t,vi,te=>i(121,w=te));const Si=pe.state.chromecastConnected$;z(t,Si,te=>i(35,q=te));const Ti=pe.state.chromecastDeviceName$;z(t,Ti,te=>i(51,L=te));const li=pe.ads.postrollPassed;z(t,li,te=>i(122,y=te));const Gt=pe.ui.mobileUnmuteButtonExpanded,It=pe.ui.mobileUnmuteButtonVisible,gi=pe.state.isLive$;z(t,gi,te=>i(55,Le=te));const Vt=pe.state.isPlaying$;z(t,Vt,te=>i(56,Ne=te));const $t=pe.state.isActiveLive$;z(t,$t,te=>i(48,A=te));const ri=pe.state.isRewindableLive$,bi=pe.state.crashed$;z(t,bi,te=>i(33,k=te));const mt=pe.webApi.pictureInPictureApi,Nt=pe.state.videoSize$;z(t,Nt,te=>i(142,d=te));const gt=pe.state.currentSubtitle$;z(t,gt,te=>i(52,G=te));const _i=pe.state.currentSubtitleCaptions$;z(t,_i,te=>i(53,_e=te));const si=pe.state.duration$;z(t,si,te=>i(54,Ee=te));const an=pe.state.graphIsOpened$;z(t,an,te=>i(125,ee=te));const en=pe.ui.playerSize;z(t,en,te=>i(31,f=te));const Rt=pe.ui.is3DVideo;z(t,Rt,te=>i(49,O=te));const ai=pe.ui.icon3DVideoVisible;z(t,ai,te=>i(50,ne=te));const qi=pe.ui.rotateAlpha;z(t,qi,te=>i(32,_=te));const Pi=pe.state.isInteractive,ui=pe.state.isInteractiveTime$;z(t,ui,te=>i(120,C=te));const Yt=pe.state.isInteractiveExpectation$;z(t,Yt,te=>i(124,V=te));const ji=pe.state.hasInteractiveBranches,tn=pe.ui.controls.disabledControls$;z(t,tn,te=>i(47,M=te));const Qt=pe.ui.touched;z(t,Qt,te=>i(123,E=te));const Ot=pe.ui.clientInfo$;z(t,Ot,te=>i(140,a=te));const qt=pe.ui.overlayContainer$,Zi=pe.state.isFirstBytes$;z(t,Zi,te=>i(139,r=te));const nn=pe.actions.internal.closeSettingsMenu,on=(Sn=pe.callbacks)==null?void 0:Sn.onDisabledPlayPrevChapterClick,Oi=(Tn=pe.callbacks)==null?void 0:Tn.onDisabledSeekToInteractiveClick;let Ei,jt,ci,Ii,Di,Ki,wi;const Ai=Ve(!1);z(t,Ai,te=>i(45,h=te));let zi,He=!1,Li,Dt=!1,Be,Wi=!0,Gi,Hi,Yi=!1,Fi;mt==null||mt.setContext(Au());const hn=te=>{clearTimeout(Ii),te&&(It.set(!0),Gt.set(!0),Ii=window.setTimeout(()=>{Gt.set(!1)},F.controls.collapseMobileUnmute),Pi||Zt(F.controls.hideTimeoutMobile))};pe.setUiCallbacks({onStarted:hn});const Qi=()=>{window.clearTimeout(ci),i(112,He=!1),g&&$i.set(!1)},Zt=te=>{Qi(),i(112,He=!0),ci=window.setTimeout(()=>i(112,He=!1),te);const wt=te-100;zi=window.setTimeout(()=>{h&&Ai.set(!1)},wt>0?wt:te)},Xi=Rt.subscribe(te=>{ai.set(te),te&&(window.clearTimeout(Di),Di=window.setTimeout(()=>ai.set(!1),F.controls.hide360IconTimeout))}),Mt=()=>Ji(this,null,function*(){var wt,bn,ln,_n;const te=Ko();if(te){Zt(F.controls.hideTimeoutFullscreen);try{yield mt==null?void 0:mt.remove()}catch(fn){Jt({message:String(fn)})}try{const fn=d!=null&&d.width&&(d!=null&&d.height)?d:f;yield Vm(fn)}catch(fn){Jt({message:String(fn)})}}xt.set(te),pe.getAdmanWrapper().setFullscreen(te),c?(bn=(wt=pe.callbacks)==null?void 0:wt.onFullscreenEnter)==null||bn.call(wt):(_n=(ln=pe.callbacks)==null?void 0:ln.onFullscreenExit)==null||_n.call(ln)}),le=te=>{const wt=te;en.set({width:wt.target.width,height:wt.target.height})};pn(()=>{var wt;return Vc(Mt),yl(mt)&&(mt==null||mt.assignPlayerContainer(Ei),mt==null||mt.registryExternalEventHandlers({resize:le})),i(39,Wi=!R_(a)),We&&((wt=Ue.parentElement)==null||wt.insertBefore(We,Ue.nextSibling)),()=>{window.clearTimeout(ci),window.clearTimeout(zi),window.clearTimeout(Ii),window.clearTimeout(Di),Xi(),mt==null||mt.dispose(),Mc(Mt)}});const ot=te=>{let wt=s+(te==="forward"?1:-1)*F.controls.seekStepMobile/1e3;wt<0?wt=0:wt>o&&(wt=o-1),i(114,Dt=!0),nt(wt)},fi=()=>Ji(this,null,function*(){if(Ko())yield Lc(document),Jt({message:"exit fullscreen"});else{if(Jt({message:"request fullscreen"}),ie.isIOS()&&!r)return;const te=ie.isIOS()||!At?Ei:At,wt=te.getRootNode(),bn=wt instanceof ShadowRoot?wt.host:wt,ln=Me instanceof HTMLElement&&Me.contains(bn),_n=F.allowChangingFullscreenTarget&&Me&&ln?Me:te;yield Ac(_n)}}),Vi=()=>{nn()},Mi=()=>{if(n){Vi();return}if(!Bt){Pe(),Zt(F.controls.hideTimeoutCursor);return}i(114,Dt=!1),l?Qi():Zt(F.controls.hideTimeoutMobile)},Kt=()=>{if(n){Vi();return}},kn=()=>{Qt.set(!0)},vn=()=>{Pi||(Ai.set(!0),Zt(F.controls.hideTimeoutCursor))},Pn=te=>{on&&(on(te),Zt(F.controls.hideTimeoutMobile))},Wt=te=>{Oi&&(Oi(te),Zt(F.controls.hideTimeoutMobile))};function un(te){Se[te?"unshift":"push"](()=>{Ue=te,i(0,Ue)})}const yn=()=>ot("backward"),gn=()=>ot("forward");function Cn(te){jt=te,i(37,jt)}function En(te){Se[te?"unshift":"push"](()=>{wi=te,i(29,wi)})}function cn(te){Se[te?"unshift":"push"](()=>{Ei=te,i(36,Ei)})}return t.$$set=te=>{"store"in te&&i(106,pe=te.store),"uiConfig"in te&&i(1,F=te.uiConfig),"thumbUrl"in te&&i(2,ue=te.thumbUrl),"videoLogoUrl"in te&&i(3,ye=te.videoLogoUrl),"videoContainer"in te&&i(0,Ue=te.videoContainer),"interactiveContainer"in te&&i(107,We=te.interactiveContainer),"live"in te&&i(4,me=te.live),"autoplay"in te&&i(5,Ie=te.autoplay),"canRewindLive"in te&&i(6,ze=te.canRewindLive),"showAds"in te&&i(7,qe=te.showAds),"adsSlotId"in te&&i(8,ge=te.adsSlotId),"adsParams"in te&&i(9,B=te.adsParams),"adsPreviewParam"in te&&i(10,Te=te.adsPreviewParam),"duration"in te&&i(11,se=te.duration),"logoClickable"in te&&i(12,Ce=te.logoClickable),"logoHidden"in te&&i(13,Ge=te.logoHidden),"showNextPrevButtons"in te&&i(14,tt=te.showNextPrevButtons),"nextButtonActive"in te&&i(15,st=te.nextButtonActive),"prevButtonActive"in te&&i(16,it=te.prevButtonActive),"endScreenVideoTitle"in te&&i(17,pt=te.endScreenVideoTitle),"endScreenVideoThumb"in te&&i(18,at=te.endScreenVideoThumb),"isOneVideoPlaylist"in te&&i(19,de=te.isOneVideoPlaylist),"supportLink"in te&&i(20,rt=te.supportLink),"outerContainerRef"in te&&i(108,At=te.outerContainerRef),"showMiniTimer"in te&&i(109,yt=te.showMiniTimer),"fullScreenTarget"in te&&i(110,Me=te.fullScreenTarget),"playerStarted"in te&&i(21,Bt=te.playerStarted),"playNextVideo"in te&&i(22,ae=te.playNextVideo),"playPrevVideo"in te&&i(23,_t=te.playPrevVideo),"repeatPlaylist"in te&&i(24,Ct=te.repeatPlaylist),"seekToInteractive"in te&&i(25,ht=te.seekToInteractive),"toggleGraph"in te&&i(26,dt=te.toggleGraph),"playPrevChapter"in te&&i(27,Qe=te.playPrevChapter),"firstStart"in te&&i(28,Pe=te.firstStart),"seekTime"in te&&i(111,nt=te.seekTime)},t.$$.update=()=>{t.$$.dirty[1]&12|t.$$.dirty[4]&24&&i(38,Ki=(x===Oe.Video&&X||x===Oe.Ads&&N===ti.INACTIVE)&&!k),t.$$.dirty[0]&536870912&&qt.set(wi),t.$$.dirty[4]&4&&i(113,Li=re!==et.PlaybackState.PLAYING),t.$$.dirty[3]&303562752|t.$$.dirty[4]&3&&i(115,Be=ee||g||!He&&(w&&!!ji||Li&&V)),t.$$.dirty[1]&28|t.$$.dirty[3]&91750400&&mi.set((Li||n||b||q||He&&!Dt)&&!Be&&x===Oe.Video&&!k),t.$$.dirty[0]&1073741826|t.$$.dirty[1]&12|t.$$.dirty[3]&1073807360&&i(40,Gi=F.features.thumbTimer&&yt&&x===Oe.Video&&!l&&!k&&!Pi&&(F.hideThumbTimerAfterTouch&&!E||!F.hideThumbTimerAfterTouch)),t.$$.dirty[0]&128|t.$$.dirty[1]&4|t.$$.dirty[3]&805306368&&i(41,Hi=(qe&&y||!qe)&&w&&!k),t.$$.dirty[0]&2|t.$$.dirty[3]&209715200&&(!b&&Yi&&!C&&Zt(F.controls.hideTimeoutMobile),i(116,Yi=b)),t.$$.dirty[0]&1|t.$$.dirty[1]&3&&i(42,Fi=Ue&&_%180?f.height/f.width:1)},[Ue,F,ue,ye,me,Ie,ze,qe,ge,B,Te,se,Ce,Ge,tt,st,it,pt,at,de,rt,Bt,ae,_t,Ct,ht,dt,Qe,Pe,wi,l,f,_,k,x,q,Ei,jt,Ki,Wi,Gi,Hi,Fi,o,s,h,J,M,A,O,ne,L,G,_e,Ee,Le,Ne,Fe,Ut,Ui,xi,oi,di,yi,xt,mi,$i,Ci,Ri,pi,hi,vi,Si,Ti,li,gi,Vt,$t,ri,bi,Nt,gt,_i,si,an,en,Rt,ai,qi,Pi,ui,Yt,tn,Qt,Ot,Zi,Ai,ot,fi,Vi,Mi,Kt,kn,vn,Pn,Wt,pe,We,At,yt,Me,nt,He,Li,Dt,Be,Yi,n,g,b,C,w,y,E,V,ee,re,N,X,un,yn,gn,Cn,En,cn]}class K_ extends ke{constructor(e){super(),we(this,e,Z_,j_,be,{store:106,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:107,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:108,showMiniTimer:109,fullScreenTarget:110,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:111},q_,[-1,-1,-1,-1,-1,-1])}}function W_(t){Ke(t,"v-cghoty",`.root.v-cghoty{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
33
33
  180deg,
34
34
  rgba(0, 0, 0, 0.00) 0%,
35
35
  rgba(0, 0, 0, 0.01) 6.67%,
@@ -47,5 +47,5 @@
47
47
  rgba(0, 0, 0, 0.96) 86.67%,
48
48
  rgba(0, 0, 0, 0.99) 93.33%,
49
49
  #000 100%
50
- );--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg:not(.interactiveContainer svg){pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}.overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:10000}.out-of-view{position:absolute !important;left:-1000vh !important}`)}function m_(i){let e,t,n;function o(l){i[56](l)}let r={store:i[0],uiConfig:i[35],title:i[1],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36]};return i[33]!==void 0&&(r.videoContainer=i[33]),e=new e_({props:r}),Se.push(()=>We(e,"videoContainer",o)),{c(){j(e.$$.fragment)},m(l,s){F(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function p_(i){let e,t,n;function o(l){i[55](l)}let r={store:i[0],uiConfig:i[35],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36],seekTime:i[32]};return i[33]!==void 0&&(r.videoContainer=i[33]),e=new f_({props:r}),Se.push(()=>We(e,"videoContainer",o)),{c(){j(e.$$.fragment)},m(l,s){F(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||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function h_(i){let e,t,n,o;const r=[p_,m_],l=[];function s(a,c){return a[15]?0:1}return t=s(i),n=l[t]=r[t](i),{c(){e=T("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){E(a,e,c),l[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?l[t].p(a,c):(he(),g(l[f],1,1,()=>{l[f]=null}),ve(),n=l[t],n?n.p(a,c):(n=l[t]=r[t](a),n.c()),d(n,1),n.m(e,null))},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&P(e),l[t].d()}}}function v_(i,e,t){let{sources:n}=e,{store:o}=e,{microStoresRoot:r}=e,{uiConfig:l}=e,{title:s}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:m}=e,{live:h}=e,{preload:b}=e,{autoplay:v}=e,{volume:y=void 0}=e,{muted:_=void 0}=e,{fromTime:S}=e,{canRewindLive:k}=e,{showAds:w}=e,{adsSlotId:R=void 0}=e,{adsParams:X=void 0}=e,{adsPreviewParam:V=void 0}=e,{duration:K=void 0}=e,{logoClickable:se}=e,{logoHidden:ne}=e,{isMobile:O}=e,{showNextPrevButtons:$=!1}=e,{nextButtonActive:C=!1}=e,{prevButtonActive:D=!1}=e,{endScreenVideoTitle:re=void 0}=e,{endScreenVideoThumb:L=void 0}=e,{isOneVideoPlaylist:ae=!1}=e,{supportLink:pe}=e,{outerContainerRef:ge=void 0}=e,{fullScreenTarget:ce=void 0}=e,{failoverHosts:Y=void 0}=e,{showMiniTimer:fe=!1}=e,{playNextVideo:ze=ie.noop}=e,{playPrevVideo:de=ie.noop}=e,{repeatPlaylist:Le=ie.noop}=e,{seekToInteractive:Pe=ie.noop}=e,{toggleGraph:ue=ie.noop}=e,{playPrevChapter:Ee=ie.noop}=e;const{subscribers:A,stores:oe}=r;h0(l);const Me=gn(),Ce=o.ui.debugPanelVisible,Te=o.ui.playerSize;let le,Q=null,U=!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}),C0(o,oe);const Ne=(me=!1)=>{t(34,U=!0),me?o.actions.external.firstStart(w):o.actions.internal.firstStart(w)};function et(me){var Qe;const At=n||me;At&&o.initVideo({container:le,sources:At,failoverHosts:Y,subtitles:m});const it=ie.safeStorage.get(or)==="true";Ce.set(it),S>0&&o.actions.external.seekTime(S);const Tt=O?Me.volumeDefault:(Qe=y!=null?y:R1())!=null?Qe:Me.volumeDefault,wt=_!=null?_:I0();if(o.actions.external.setVolume(Tt),o.actions.external.setMuted(wt),o.getAdmanWrapper().setInitialVolume(wt?0:Tt),Me.features.trafficSaving){const Ue=M0();Ue&&o.actions.internal.setTrafficSavingEnabled(Ue)}const ht=L0(o.videoId);ht&&o.actions.internal.setQuality(ht),o.ui.isAutoplay.set(v),v?Ne():b&&Me.features.preload&&o.actions.internal.preload()}const rt=me=>{if(window.ResizeObserver){let At,it;Q=new ResizeObserver(ie.throttleFn(Tt=>{const wt=Tt[0];if(wt){if(wt.contentBoxSize){const ht=Array.isArray(wt.contentBoxSize)?wt.contentBoxSize[0]:wt.contentBoxSize;At=ht.inlineSize,it=ht.blockSize}else wt.contentRect&&(At=wt.contentRect.width,it=wt.contentRect.height);Te.set({width:At,height:it})}},S1)),Q.observe(me)}Te.set({width:me.clientWidth,height:me.clientHeight})};vn(()=>{rt(le);const me=A.map(it=>it.init(o,oe));if((h==null?void 0:h.status)==="upcoming"||(h==null?void 0:h.status)==="waiting"){o.actions.internal.setWaitingLive(!0);return}if(((h==null?void 0:h.status)==="finished"||(h==null?void 0:h.status)==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return et(),()=>{Q==null||Q.disconnect(),me.forEach(it=>it.unsubscribe()),o.destroy()}});function Ze(){U?o.actions.external.play():Ne(!0)}function Ve(){o.actions.external.pause()}function Je(me){O||o.actions.external.setMuted(me)}function pt(me){O||me>=0&&me<=1&&o.actions.external.setVolume(me)}function at(me){o.actions.internal.seekTime(me,kt.SeekAction.UNKNOWN)}function Ie(me){o.actions.external.seekEpisodeStartTime(me)}function jt(){o.actions.external.returnFocusToEpisodes()}function ft(me){o.actions.external.setPlaybackRate(me)}function It(me){o.actions.external.setAutoQualityLimits(me)}function Rt(me){le=me,t(33,le)}function Vt(me){le=me,t(33,le)}return i.$$set=me=>{"sources"in me&&t(37,n=me.sources),"store"in me&&t(0,o=me.store),"microStoresRoot"in me&&t(38,r=me.microStoresRoot),"uiConfig"in me&&t(39,l=me.uiConfig),"title"in me&&t(1,s=me.title),"thumbUrl"in me&&t(2,a=me.thumbUrl),"videoLogoUrl"in me&&t(3,c=me.videoLogoUrl),"interactiveContainer"in me&&t(4,f=me.interactiveContainer),"subtitles"in me&&t(40,m=me.subtitles),"live"in me&&t(5,h=me.live),"preload"in me&&t(41,b=me.preload),"autoplay"in me&&t(6,v=me.autoplay),"volume"in me&&t(42,y=me.volume),"muted"in me&&t(43,_=me.muted),"fromTime"in me&&t(44,S=me.fromTime),"canRewindLive"in me&&t(7,k=me.canRewindLive),"showAds"in me&&t(8,w=me.showAds),"adsSlotId"in me&&t(9,R=me.adsSlotId),"adsParams"in me&&t(10,X=me.adsParams),"adsPreviewParam"in me&&t(11,V=me.adsPreviewParam),"duration"in me&&t(12,K=me.duration),"logoClickable"in me&&t(13,se=me.logoClickable),"logoHidden"in me&&t(14,ne=me.logoHidden),"isMobile"in me&&t(15,O=me.isMobile),"showNextPrevButtons"in me&&t(16,$=me.showNextPrevButtons),"nextButtonActive"in me&&t(17,C=me.nextButtonActive),"prevButtonActive"in me&&t(18,D=me.prevButtonActive),"endScreenVideoTitle"in me&&t(19,re=me.endScreenVideoTitle),"endScreenVideoThumb"in me&&t(20,L=me.endScreenVideoThumb),"isOneVideoPlaylist"in me&&t(21,ae=me.isOneVideoPlaylist),"supportLink"in me&&t(22,pe=me.supportLink),"outerContainerRef"in me&&t(23,ge=me.outerContainerRef),"fullScreenTarget"in me&&t(24,ce=me.fullScreenTarget),"failoverHosts"in me&&t(45,Y=me.failoverHosts),"showMiniTimer"in me&&t(25,fe=me.showMiniTimer),"playNextVideo"in me&&t(26,ze=me.playNextVideo),"playPrevVideo"in me&&t(27,de=me.playPrevVideo),"repeatPlaylist"in me&&t(28,Le=me.repeatPlaylist),"seekToInteractive"in me&&t(29,Pe=me.seekToInteractive),"toggleGraph"in me&&t(30,ue=me.toggleGraph),"playPrevChapter"in me&&t(31,Ee=me.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(O)},[o,s,a,c,f,h,v,k,w,R,X,V,K,se,ne,O,$,C,D,re,L,ae,pe,ge,ce,fe,ze,de,Le,Pe,ue,Ee,at,le,U,Me,Ne,n,r,l,m,b,y,_,S,Y,et,Ze,Ve,Je,pt,Ie,jt,ft,It,Rt,Vt]}class g_ extends ke{constructor(e){super(),ye(this,e,v_,h_,we,{sources:37,store:0,microStoresRoot:38,uiConfig:39,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:40,live:5,preload:41,autoplay:6,volume:42,muted:43,fromTime:44,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:45,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:46,play:47,pause:48,setMuted:49,setVolume:50,seekTime:32,seekEpisodeStartTime:51,returnFocusToEpisodes:52,setPlaybackRate:53,setAutoQualityLimits:54},d_,[-1,-1,-1])}get initVideo(){return this.$$.ctx[46]}get play(){return this.$$.ctx[47]}get pause(){return this.$$.ctx[48]}get setMuted(){return this.$$.ctx[49]}get setVolume(){return this.$$.ctx[50]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[51]}get returnFocusToEpisodes(){return this.$$.ctx[52]}get setPlaybackRate(){return this.$$.ctx[53]}get setAutoQualityLimits(){return this.$$.ctx[54]}}function b_(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill",i[0]),u(t,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,o){E(n,e,o),p(e,t)},p(n,[o]){o&1&&u(t,"fill",n[0])},i:W,o:W,d(n){n&&P(e)}}}function __(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 w_ extends ke{constructor(e){super(),ye(this,e,__,b_,we,{isWhite:1})}}function y_(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 d1(i){let e,t;return{c(){e=T("div"),t=Fe(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o&1&&$e(t,n[0])},d(n){n&&P(e)}}}function m1(i){let e,t;return e=new w_({props:{isWhite:!!i[1]}}),{c(){j(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isWhite=!!n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function k_(i){let e,t,n,o,r=i[0]&&d1(i),l=(!i[0]||!i[1])&&m1(i);return{c(){e=T("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){E(s,e,a),r&&r.m(e,null),p(e,t),l&&l.m(e,null),o=!0},p(s,[a]){s[0]?r?r.p(s,a):(r=d1(s),r.c(),r.m(e,t)):r&&(r.d(1),r=null),!s[0]||!s[1]?l?(l.p(s,a),a&3&&d(l,1)):(l=m1(s),l.c(),d(l,1),l.m(e,null)):l&&(he(),g(l,1,1,()=>{l=null}),ve()),(!o||a&2&&n!==(n=s[1]?`background-image: url('${s[1]}')`:""))&&u(e,"style",n)},i(s){o||(d(l),o=!0)},o(s){g(l),o=!1},d(s){s&&P(e),r&&r.d(),l&&l.d()}}}function S_(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 C_ extends ke{constructor(e){super(),ye(this,e,S_,k_,we,{title:0,thumbUrl:1},y_)}}class P_{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 T_(i){let e,t,n,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(o,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(t,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(r,l){E(r,e,l),p(e,t),p(t,n),p(t,o)},p:W,i:W,o:W,d(r){r&&P(e)}}}class E_ extends ke{constructor(e){super(),ye(this,e,null,T_,we,{})}}function A_(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 L_(i){let e,t,n,o,r,l,s;return n=new E_({}),{c(){e=T("div"),t=T("div"),j(n.$$.fragment),o=N(),r=T("span"),l=Fe(i[0]),u(t,"class","dummy-image v-1pbsod4"),M(t,"desktop",!i[1]),u(r,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),M(e,"is-pip-api",i[2])},m(a,c){E(a,e,c),p(e,t),F(n,t,null),p(e,o),p(e,r),p(r,l),s=!0},p(a,[c]){(!s||c&2)&&M(t,"desktop",!a[1]),(!s||c&1)&&$e(l,a[0])},i(a){s||(d(n.$$.fragment,a),s=!0)},o(a){g(n.$$.fragment,a),s=!1},d(a){a&&P(e),H(n)}}}function I_(i,e,t){let n,o;const r=Pt(),l=!!r.webApi.pictureInPictureApi,s=r.interfaceLanguage$;z(i,s,f=>t(5,n=f));const a=r.ui.isMobile;z(i,a,f=>t(1,o=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&G("pip_dummy_title"))},[c,o,l,s,a,n]}class V_ extends ke{constructor(e){super(),ye(this,e,I_,L_,we,{},A_)}}const M_=460,B_=280;class yf{constructor(){this.info={isActive$:new ie.ValueSubject(!1),type:In.DocumentPictureInPicture}}isSupported(){const e=ie.getCurrentBrowser().browser===ie.CurrentClientBrowser.Yandex,{isEmbed:t}=ie.detectEmbed();return"documentPictureInPicture"in window&&!e&&!t}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,t){this.playerDomElement=e,this.playerParentShadowRoot=t}setContext(e){this.svelteContext=e}request(){var e,t;return ki(this,void 0,void 0,function*(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=yield documentPictureInPicture.requestWindow({width:M_,height:B_,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 V_({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 ki(this,void 0,void 0,function*(){return new Promise(e=>{var t;(t=documentPictureInPicture.window)===null||t===void 0||t.close(),e()})})}dispose(){return ki(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 N_(i){return i instanceof yf}class R_{static getLatestSupportedVersion(){const e=new _r,t=new yf;if(t.isSupported())return t;if(e.isSupported())return e}}function p1(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 O_="Inner error. Unexpectedly root annotation container null reference exception",D_="Annotation with such name already exists",z_="Annotation with such name does not exist";class er extends Error{constructor(e){super(e),this.name="AnnotationError"}}const F_="1",H_=100;class U_{constructor(e){this.annotations=new Map,this.subscriptions=new ie.Subscription,this.rootAnnotationsContainer=e;const t=ie.throttleFn(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},H_);this.subscriptions.add(ie.observeElementSize(this.rootAnnotationsContainer).subscribe(({width:n,height:o})=>{this.playerSize={width:n,height:o},t()})),this.mutationObserver=new MutationObserver(t),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,t){var n;if(!this.rootAnnotationsContainer)throw new er(O_);if(this.annotations.has(e))throw new er(D_);t.style.zIndex=(n=t.style.zIndex)!==null&&n!==void 0?n:F_,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 er(z_);return t}remove(e){const t=this.get(e);this.annotations.delete(e)&&t.remove()}clear(){for(const e in this.annotations.keys())this.remove(e)}destroy(){this.annotations.clear(),this.subscriptions.unsubscribe(),this.mutationObserver.disconnect(),this.rootAnnotationsContainer=null}isElementExceedsBoundaries(e,t,n){const o=e.offsetTop,r=e.offsetLeft,l=e.offsetWidth,s=e.offsetHeight;return o<0||r<0||r+l>t||o+s>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class Vr{init(e,t){return ie.assertNonNullable(e),ie.assertNonNullable(t),this.subscription=new ie.Subscription,this.subscription}}class j_ extends Vr{constructor(){super(...arguments),this.stateName="fakeIsPlaying$",this.state$=Object.assign(Object.assign({},Be(null)),{toggle:()=>this.state$.update(e=>!e)})}init(e,t){const n=super.init(e,t),{isInteractiveExpectation$:o}=e.state;return n.add(o.subscribe(r=>{this.state$.set(r?!0:null)})),n}}class q_ extends Vr{constructor(){super(...arguments),this.stateName="interactiveControlsOpacity$",this.state$=Object.assign(Object.assign({},Be(null)),{toggle:()=>this.state$.update(e=>!e)})}init(e,t){const n=super.init(e,t),{fakeIsPlaying$:o}=t,{isInteractiveExpectation$:r,isPlaying$:l}=e.state,{controlsVisible:s,isMobile:a}=e.ui,c=Xe(a),f=()=>c&&Xe(s);return n.add(s.subscribe(m=>{if(!c)return;const h=Xe(o);Xe(l)?this.state$.set(m):h!==null&&this.state$.set(!h||m)})),n.add(l.subscribe(m=>{this.state$.set(!m||f())})),n.add(o.subscribe(m=>{if(m===null)return;const h=Xe(r);if(f()){this.state$.set(!0);return}h&&this.state$.set(!m)})),n}}class W_ extends Vr{constructor(){super(...arguments),this.stateName="seekToInteractiveDisabledTooltip$",this.state$=Be("tooltip_chapter_without_interactive")}init(e,t){const n=super.init(e,t);return n.add(e.state.interactiveEpisodes$.subscribe(o=>{o.length&&(o.every(r=>r.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),n}}const Z_=()=>[j_,q_,W_].reduce(({subscribers:i,stores:e},t)=>{const n=new t;return{subscribers:[...i,n],stores:Object.assign(Object.assign({},e),{[n.stateName]:n.state$})}},{subscribers:[],stores:{}}),G_={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:ie.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:ie.isMobile(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class K_ extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.videoConfig=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this.annotationsApi=void 0,this.prevIsid=void 0,this.isInited=!1,this.logger=new ie.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new ie.Subscription,this.graphMadePause=!1,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(t=>{console.log("%c player web component ","background:#77dd77;",`${t.component}`,t.message)}))}connectedCallback(){var e,t;if(this.isInited)return;this.initPlayerRootContainers();const n=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,o=(t=this.getAttribute("stub-thumb-url"))!==null&&t!==void 0?t:void 0;this.svelteStubComponent=new C_({target:this.playerContainer,props:{title:n,thumbUrl:o}})}disconnectedCallback(){var e,t,n,o,r;(e=this.annotationsApi)===null||e===void 0||e.destroy(),(t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),(n=this.svelteStubComponent)===null||n===void 0||n.$destroy(),this.subscription.unsubscribe(),(o=this.unsubscribePlayerPhaseSubscription)===null||o===void 0||o.call(this),(r=this.interactiveController)===null||r===void 0||r.destroy()}initPlayerRootContainers(){this.rootContainer=document.createElement("div"),this.rootContainer.style.position="relative",this.rootContainer.className="root-container",this.rootContainer.style.width="100%",this.rootContainer.style.height="100%";const e=document.createElement("div");e.style.position="absolute",e.className="shadow-root-container",e.style.width="100%",e.style.height="100%",this._shadowRoot=e.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.rootContainer.append(e),this.append(this.rootContainer)}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){var t;const n=(t=this.store)===null||t===void 0?void 0:t.ui.controls.disabledControls$;return(n==null?void 0:n.includes(e))||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,t={},n){var o,r,l,s,a,c,f,m,h,b,v,y;if(!this.videoConfig)return;const{albumId:_,statPlace:S,statUserSalt:k,statAuthToken:w,statTrackCode:R,refreshStatAuthToken:X,preload:V,autoplay:K,volume:se,muted:ne,fromTime:O,canRewindLive:$,supportLink:C,showAds:D,adsSlotId:re,adsParams:L={},adsPreviewParam:ae,interfaceLanguage:pe,logoClickable:ge,logoHidden:ce,isMobile:Y,isAudioDisabled:fe,isLiveCatchUpMode:ze,fullScreenTarget:de,failoverHosts:Le,canDownload:Pe,callbacks:ue,interactiveData:Ee,showThumbTimer:A,additionalButtons:oe=[],repeat:Me}=p1(this.videoConfig,t),{sources:Ce,title:Te,thumbUrl:le,videoLogoUrl:Q,unitedVideoId:U,isClip:Ne=!1,duration:et,adsParams:rt={},videoEpisodes:Ze,previewThumbsData:Ve,subtitles:Je,live:pt}=e,at=Object.assign(Object.assign({},L),rt),Ie=this.getNextVideoInfo(),jt={sources:Ce,title:Te,thumbUrl:le,subtitles:Je,unitedVideoId:U,isClip:Ne,live:pt,albumId:_,statPlace:S,autoplay:K,muted:ne,volume:se,fromTime:O,canRewindLive:$,showAds:D,adsSlotId:re,adsParams:at,adsPreviewParam:ae,duration:et,logoClickable:ge,logoHidden:ce,isMobile:Y,repeat:Me,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Ie.nextVideoTitle,endScreenVideoThumb:Ie.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},ft={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(jt)}`});const It=this.uiConfig.features.statistics&&!!U,{pid:Rt}=((r=(o=this.videoConfig)===null||o===void 0?void 0:o.interactiveData)===null||r===void 0?void 0:r.projectInfo)||{};It&&new Bo(Object.assign({movieId:U,albumId:_,place:S,trackCode:R,autoplay:(l=K&&!this.interactiveController)!==null&&l!==void 0?l:!1,mobile:Y,clip:Ne},Rt&&!this.isInited&&{projectId:Number(Rt)}),Object.assign({refreshAuthToken:X,userSalt:k,config:this.statistics.config},this.interactiveController&&{useIsid:!0,isid:this.prevIsid})),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new ar(this.uiConfig.sentry,{version:_l,env:S0},{movieId:U,albumId:_,place:S,autoplay:(s=K&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:Y,clip:Ne}),this.interactiveController&&((a=this.prevIsid)!==null&&a!==void 0||(this.prevIsid=(c=Bo.getInstance())===null||c===void 0?void 0:c.oneStat.isid$.getValue())),this.statistics=Object.assign(Object.assign({},this.statistics),Bo.getInstance()),this.sentry=Object.assign(Object.assign({},this.sentry),ar.getInstance());const me=!!Ee,At=(f=this.interactiveController)===null||f===void 0?void 0:f.getInteractiveRanges(),it=[];let Tt="tooltip_interactive_go_back_disabled_first";if(me&&this.interactiveController){const Qe=this.interactiveController.state.isInitialChapter$.getValue(),Ue=this.interactiveController.getHistoryState();Qe&&it.push(ct.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||it.push(ct.SEEK_TO_INTERACTIVE_BUTTON),Ue.hasPrevChapter$.getValue()||(it.push(ct.PLAY_PREV_CHAPTER_BUTTON),Qe||(Ue.isGoBackLimited$.getValue()?Tt="tooltip_interactive_go_back_disabled_limit":Tt="tooltip_interactive_go_back_disabled"))}const wt=()=>{var Qe;this.isInited=!1,this.prevIsid=void 0;const Ue=(n==null?void 0:n.info.isEnded$.getValue())&&((Qe=this.interactiveController)===null||Qe===void 0?void 0:Qe.state.isEndChapter$.getValue());ue.onReplayInteractiveVideo&&!Ue?ue.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=F5({player:n,interfaceLanguage:pe,videoId:U,isClip:Ne,isLiveCatchUpMode:ze,isAudioDisabled:fe,statAuthToken:w,callbacks:ue,webApi:ft,videoEpisodes:Ze,previewThumbsData:Ve,canDownload:Pe,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:it,isInteractive:me,interactiveRanges:At,replayInteractive:wt,playPrevChapterDisabledTooltip:Tt,hasInteractiveBranches:!!(!((h=(m=this.interactiveController)===null||m===void 0?void 0:m.getChapterBranches())===null||h===void 0)&&h.length),additionalButtons:this.uiConfig.features.additionalButtons?oe:[],looped:Me&&this.videoConfig.videos.length===1});const{stores:ht}=this.microStoresRoot=Z_();this.subscription.add(this.store.state.currentFormat$.subscribe(Qe=>{var Ue;return(Ue=ue==null?void 0:ue.onCurrentFormatChanged)===null||Ue===void 0?void 0:Ue.call(ue,Qe)})),this.subscription.add(ht.interactiveControlsOpacity$.subscribe(Qe=>{var Ue;Qe!==null&&((Ue=this===null||this===void 0?void 0:this.interactiveController)===null||Ue===void 0||Ue.setDisabledControls(Qe))})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Qe=>{var Ue;return(Ue=ue==null?void 0:ue.onThroughputEstimationChanged)===null||Ue===void 0?void 0:Ue.call(ue,Qe)})),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe(Qe=>{var Ue;return(Ue=ue==null?void 0:ue.onTrafficSavingEnabledChanged)===null||Ue===void 0?void 0:Ue.call(ue,Qe)})),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe(Qe=>{var Ue;return(Ue=ue==null?void 0:ue.onCurrentPlaybackRateChanged)===null||Ue===void 0?void 0:Ue.call(ue,Qe)})),this.subscription.add(this.store.state.volume$.subscribe(Qe=>{var Ue;return(Ue=ue==null?void 0:ue.onVolumeChange)===null||Ue===void 0?void 0:Ue.call(ue,Qe)})),this.subscription.add(this.store.state.muted$.subscribe(Qe=>{var Ue,yt;return Qe?(Ue=ue==null?void 0:ue.onMute)===null||Ue===void 0?void 0:Ue.call(ue):(yt=ue==null?void 0:ue.onUnmute)===null||yt===void 0?void 0:yt.call(ue)})),this.subscription.add(this.store.state.videoBitrate$.subscribe(Qe=>{var Ue;return(Ue=ue==null?void 0:ue.onVideoBitrateChanged)===null||Ue===void 0?void 0:Ue.call(ue,Qe)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Qe=>{var Ue;const yt=(Ue=this.store)===null||Ue===void 0?void 0:Ue.ui.controls.disabledControls$;yt&&(Qe&&!yt.includes(dl)&&yt.add(dl),Qe||yt.remove(dl))})),this.initMediaSession(),this.interactiveController&&It&&this.initInteractivesStatistics(),this.svelteRootComponent=new g_({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Ce,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:Te,thumbUrl:le,videoLogoUrl:Q,subtitles:Je,live:pt,preload:V,autoplay:K,muted:ne,volume:se,fromTime:O,canRewindLive:$,supportLink:C,showAds:D,adsSlotId:re,adsParams:at,adsPreviewParam:ae,duration:et,logoClickable:ge,logoHidden:ce,isMobile:Y,failoverHosts:Le,fullScreenTarget:de,showMiniTimer:A,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Ie.nextVideoTitle,endScreenVideoThumb:Ie.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,(y=(v=(b=this.videoConfig)===null||b===void 0?void 0:b.callbacks)===null||v===void 0?void 0:v.onInited)===null||y===void 0||y.call(v))}addPlayerInfoSubscriptions(){var e;if(this.isInited)return;const t=this.store,n=(e=this.videoConfig)===null||e===void 0?void 0:e.callbacks;n&&this.subscription.add(t.playerPhase.subscribe(r=>{var l;return(l=n.onPlayerPhaseChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.playbackState$.subscribe(r=>{var l;return(l=n.onPlaybackStateChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.isLive$.subscribe(r=>{var l;return(l=n.onIsLiveChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.isActiveLive$.subscribe(r=>{var l;return(l=n.onIsActiveLiveChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.isAudioAvailable$.subscribe(r=>{var l;return(l=n.onIsAudioAvailableChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.currentQuality$.subscribe(r=>{var l;return(l=n.onCurrentQualityChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.availableQualities$.subscribe(r=>{var l;return(l=n.onAvailableQualitiesChanged)===null||l===void 0?void 0:l.call(n,r.map(({value:s})=>s).filter(s=>s!==ko.AUTO))})).add(t.ui.isPictureInPictureActive$.subscribe(r=>{var l,s;return r?(l=n.onPiPEnter)===null||l===void 0?void 0:l.call(n):(s=n.onPiPExit)===null||s===void 0?void 0:s.call(n)}));const o=n==null?void 0:n.uiInfo;o&&this.subscription.add(t.ui.controlsVisible.subscribe(r=>{var l;return(l=o.onControlsVisibleChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.isMobile.subscribe(r=>{var l;return(l=o.onIsMobileChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.playerSize.subscribe(r=>{var l;return(l=o.onPlayerSizeChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.prevButton.subscribe(r=>{var l;return(l=o.onPrevButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.playButton.subscribe(r=>{var l;return(l=o.onPlayButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.replayButton.subscribe(r=>{var l;return(l=o.onReplayButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.nextButton.subscribe(r=>{var l;return(l=o.onNextButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.playPrevChapterButton.subscribe(r=>{var l;return(l=o.onPlayPrevChapterChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.seekToInteractiveButton.subscribe(r=>{var l;return(l=o.onSeekToInteractiveButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.interactiveGraphButton.subscribe(r=>{var l;return(l=o.onGraphButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.liveButton.subscribe(r=>{var l;return(l=o.onLiveButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.time.subscribe(r=>{var l;return(l=o.onTimeUpdateChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.episodes.subscribe(r=>{var l;return(l=o.onEpisodesChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.subtitles.subscribe(r=>{var l;return(l=o.onSubtitlesChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.settings.subscribe(r=>{var l;return(l=o.onSettingsChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.fullscreen.subscribe(r=>{var l;return(l=o.onFullscreenChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.chromecast.subscribe(r=>{var l;return(l=o.onChromecastChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.pip.subscribe(r=>{var l;return(l=o.onPipChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.vkLogo.subscribe(r=>{var l;return(l=o.onVkLogoChanged)===null||l===void 0?void 0:l.call(o,r)}))}playNextVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onNextVideoClick)try{t=this.videoConfig.callbacks.onNextVideoClick()}catch(n){this.log({message:"onNextVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onPrevVideoClick)try{t=this.videoConfig.callbacks.onPrevVideoClick()}catch(n){this.log({message:"onPrevVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,t=!0){var n;if(!this.videoConfig)return;const o=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!o){this.log({message:"no next video"});return}this.isInited&&ie.isNonNullable(o.unitedVideoId)&&this.store.actions.internal.nextMovie(o.unitedVideoId),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(o,{autoplay:t,fromTime:0},e)}playPrevChapter(){var e;(e=this.interactiveController)===null||e===void 0||e.playPrevChapter()}seekToInteractive(){var e;const t=(e=this.interactiveController)===null||e===void 0?void 0:e.getNextInteractiveStartTime();typeof t=="number"&&this.seekTime(t/1e3)}toggleGraph(){var e,t;if(!this.isInited)return;const n=this.store,{isEnded$:o,playbackState$:r,graphIsOpened$:l}=n.state,{disabledControls$:s}=n.ui.controls,a=Xe(o),c=Xe(r);Xe(l)?(l.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(qr),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",l.set(!0),(t=this.interactiveController)===null||t===void 0||t.toggleGraphView(!0),s.add(qr),!a&&this.graphMadePause&&this.pause())}initInteractives(){var e,t,n,o;return ki(this,void 0,void 0,function*(){if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:r,EVENT_NAMES:l,CustomError:s}=yield import("@vkontakte/videoplayer-interactive/es2015.cjs.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const a=(t=this.store)===null||t===void 0?void 0:t.interfaceLanguage$,c=a?Xe(a):this.videoConfig.interfaceLanguage,{projectInfo:f,historyApi:m,videoLoader:h}=this.videoConfig.interactiveData;this.interactiveController=new r({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:c,graph:this.uiConfig.features.interactiveGraph,projectInfo:f,historyApi:m,vkVideoLoader:h,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,historyParams:{maxLength:this.uiConfig.interactive.historyMaxLength},coreConfig:this.coreConfig}),yield this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:b}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(y=>{if(!this.isInited)return;const _=this.store;y?_.ui.controls.disabledControls$.remove(ct.SEEK_TO_INTERACTIVE_BUTTON):_.ui.controls.disabledControls$.add(ct.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(b.subscribe(y=>{this.store&&this.store.state.isInteractiveExpectation$.set(y)}));let v=!0;if(this.interactiveController.on(l.playerChanged,y=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]=Object.assign(Object.assign({},y.config),{title:(f==null?void 0:f.title)||y.config.title});const _=v?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(y.player,_),v&&(v=!1)}),this.interactiveController.on(l.interactives,({type:y,subjectId:_,actionType:S})=>{var k,w,R,X;if(!this.store)return;const V=b.getValue();if(y==="container-removed"&&this.store.actions.internal.completeInteractiveRange(_),y==="action-choice"&&S==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(T1)),y==="action-choice-canceled"){const K=Xe(this.store.state.isPlaying$)||V;if(!((k=this.videoConfig)===null||k===void 0)&&k.isMobile&&K){this.store.ui.interactiveHideMobileControls.set(!0);return}(X=(w=this.videoConfig)===null||w===void 0?void 0:(R=w.callbacks).onDisabledInteractiveClick)===null||X===void 0||X.call(R)}}),!((o=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||o===void 0)&&o.onInteractiveHistoryChanged){const y=this.interactiveController.getHistoryState();this.subscription.add(y.history$.subscribe(_=>{var S,k,w;_.length&&((w=(k=(S=this.videoConfig)===null||S===void 0?void 0:S.callbacks)===null||k===void 0?void 0:k.onInteractiveHistoryChanged)===null||w===void 0||w.call(k,_))}))}this.interactiveController.on(l.errors,y=>{this.log({message:y.toString()})})}catch(r){this.log({message:r.message})}})}initInteractivesStatistics(){var e,t;return ki(this,void 0,void 0,function*(){const{statSubscription:n,oneStat:o}=this.statistics;if(!(!n||!o||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:r}=yield import("@vkontakte/videoplayer-interactive/es2015.cjs.js"),l={[r.GO_NEXT_BUTTON]:kt.InteractiveInterfaceClick.NEXT_BUTTON,[r.GO_NEXT_AREA]:kt.InteractiveInterfaceClick.NEXT_AREA,[r.WATCH_AGAIN]:kt.InteractiveInterfaceClick.WATCH_AGAIN,[r.OPEN_GRAPH]:kt.InteractiveInterfaceClick.GRAPH_SHOW,[r.CLOSE_GRAPH]:kt.InteractiveInterfaceClick.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new ie.Subject;s.subscribe(f=>{var m,h;f in l?c.next(l[f]):(o==null||o.logError({errorType:"InteractiveVideosAction",fatal:!1}),(h=(m=this.sentry).report)===null||h===void 0||h.call(m,new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),n.add(o.attachToInteractive({click$:c,nextMovie$:a}))}catch(r){o==null||o.logError({errorType:"InteractiveVideos",fatal:!1}),(t=(e=this.sentry).report)===null||t===void 0||t.call(e,r,{errorType:"InteractiveVideosAction",fatal:!1})}})}initPlayer(e,t={}){var n,o,r,l,s,a,c,f,m,h,b,v,y,_,S,k,w,R,X;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=p1(G_,ie.cloneDeepWith(e,V=>V instanceof HTMLElement?V:void 0)),this.uiConfig=p0((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:{}},ie.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(s=this.videoConfig.isMediaSessionEnabled)!==null&&s!==void 0?s:!0),ie.isNonNullable(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=(c=(a=this.uiConfig.features.pip)!==null&&a!==void 0?a:this.videoConfig.isPictureInPictureEnabled)!==null&&c!==void 0?c:!0,this.uiConfig.features.dpip=(m=(f=this.uiConfig.features.dpip)!==null&&f!==void 0?f:this.videoConfig.isPictureInPictureEnabled)!==null&&m!==void 0?m:!0),this.videoConfig.isMobile=(h=this.uiConfig.isMobile)!==null&&h!==void 0?h:this.videoConfig.isMobile,(R=this.videoConfig).autoplay&&(R.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(b=this.uiConfig.ads.enable)!==null&&b!==void 0?b:this.videoConfig.showAds,this.videoConfig.adsSlotId=(v=this.uiConfig.ads.slot)!==null&&v!==void 0?v:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(y=this.uiConfig.ads.preview)!==null&&y!==void 0?y:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((_=this.uiConfig.showLogo)!==null&&_!==void 0?_:!this.videoConfig.logoHidden),(X=this.videoConfig).canRewindLive&&(X.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(S=this.videoConfig.supportLink)!==null&&S!==void 0?S:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=R_.getLatestSupportedVersion():this.pictureInPictureApi=new _r),this.mediaSessionApi=this.uiConfig.features.mediaSession?new P_:void 0,this.annotationsApi=this.uiConfig.features.annotations?new U_(this.rootContainer):void 0,(k=this.svelteStubComponent)===null||k===void 0||k.$destroy(),(w=this.svelteRootComponent)===null||w===void 0||w.$destroy(),this.isInited=!1,this.prevIsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),N_(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===De.Video?this.setupMediaSessionForVideo():n===De.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}=Object.assign({},this.videoConfig.videos[this.currentPlayingVideoIndex]),n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",o=>this.seekTime(o.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:t}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",t=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(t)}catch(e){this.log({message:e.message})}}play(){var e,t;this.isControlDisabled(ct.PLAY_BUTTON)||!((e=this.store)===null||e===void 0)&&e.playerPhase.is(De.WaitingLive)||(this.log({message:"play"}),(t=this.svelteRootComponent)===null||t===void 0||t.play())}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,t;if(!this.videoConfig)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.videoConfig.videos[0];n&&((t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),this.createPlayer(n))}setMuted(e){var t;this.log({message:`set muted, muted: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setMuted(e)}setVolume(e){var t;this.log({message:`set volume, volume: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setVolume(e)}setRepeat(e){var t;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(t=this.svelteRootComponent)===null||t===void 0||t.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var t;this.isControlDisabled(ct.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekTime(e))}seekEpisodeStartTime(e){var t;this.log({message:`seek episode start time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekEpisodeStartTime(e)}returnFocusToEpisodes(){var e;this.log({message:"return focus to episodes button"}),(e=this.svelteRootComponent)===null||e===void 0||e.returnFocusToEpisodes()}setPlaybackRate(e){var t;this.log({message:`set playback rate to: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setPlaybackRate(e)}setAutoQualityLimits(e){var t,n,o;this.log({message:`set auto quality limitation. Max: ${(t=e.max)!==null&&t!==void 0?t:"none"}. Min: ${(n=e.min)!==null&&n!==void 0?n:"none"}`}),(o=this.svelteRootComponent)===null||o===void 0||o.setAutoQualityLimits(e)}addLanguage(e){var t;(t=this.store)===null||t===void 0||t.actions.internal.addLanguage(e)}setLanguage(e){var t;return ki(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 Y_=()=>{window.customElements.define("vk-video-player",K_)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return xe.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return xe.VideoQuality}});Object.defineProperty(exports,"InterfaceLanguage",{enumerable:!0,get:function(){return ie.InterfaceLanguage}});Object.defineProperty(exports,"VKNumericLanguage",{enumerable:!0,get:function(){return ie.VKNumericLanguage}});Object.defineProperty(exports,"loadVKLangPack",{enumerable:!0,get:function(){return ie.loadVKLangPack}});exports.VERSION=_l;exports.registerPlayerWebComponent=Y_;
50
+ );--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg:not(.interactiveContainer svg){pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}.overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:10000}.out-of-view{position:absolute !important;left:-1000vh !important}`)}function G_(t){let e,i,n;function l(o){t[57](o)}let r={store:t[0],uiConfig:t[35],title:t[1],thumbUrl:t[2],videoLogoUrl:t[3],interactiveContainer:t[4],live:t[5],autoplay:t[6],canRewindLive:t[7],showAds:t[8],adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12],logoClickable:t[13],logoHidden:t[14],showNextPrevButtons:t[16],nextButtonActive:t[17],prevButtonActive:t[18],endScreenVideoTitle:t[19],endScreenVideoThumb:t[20],isOneVideoPlaylist:t[21],supportLink:t[22],outerContainerRef:t[23],fullScreenTarget:t[24],showMiniTimer:t[25],playerStarted:t[34],playNextVideo:t[26],playPrevVideo:t[27],repeatPlaylist:t[28],seekToInteractive:t[29],toggleGraph:t[30],playPrevChapter:t[31],firstStart:t[36]};return t[33]!==void 0&&(r.videoContainer=t[33]),e=new N_({props:r}),Se.push(()=>Ze(e,"videoContainer",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[0]&1&&(a.store=o[0]),s[0]&2&&(a.title=o[1]),s[0]&4&&(a.thumbUrl=o[2]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16&&(a.interactiveContainer=o[4]),s[0]&32&&(a.live=o[5]),s[0]&64&&(a.autoplay=o[6]),s[0]&128&&(a.canRewindLive=o[7]),s[0]&256&&(a.showAds=o[8]),s[0]&512&&(a.adsSlotId=o[9]),s[0]&1024&&(a.adsParams=o[10]),s[0]&2048&&(a.adsPreviewParam=o[11]),s[0]&4096&&(a.duration=o[12]),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&65536&&(a.showNextPrevButtons=o[16]),s[0]&131072&&(a.nextButtonActive=o[17]),s[0]&262144&&(a.prevButtonActive=o[18]),s[0]&524288&&(a.endScreenVideoTitle=o[19]),s[0]&1048576&&(a.endScreenVideoThumb=o[20]),s[0]&2097152&&(a.isOneVideoPlaylist=o[21]),s[0]&4194304&&(a.supportLink=o[22]),s[0]&8388608&&(a.outerContainerRef=o[23]),s[0]&16777216&&(a.fullScreenTarget=o[24]),s[0]&33554432&&(a.showMiniTimer=o[25]),s[1]&8&&(a.playerStarted=o[34]),s[0]&67108864&&(a.playNextVideo=o[26]),s[0]&134217728&&(a.playPrevVideo=o[27]),s[0]&268435456&&(a.repeatPlaylist=o[28]),s[0]&536870912&&(a.seekToInteractive=o[29]),s[0]&1073741824&&(a.toggleGraph=o[30]),s[1]&1&&(a.playPrevChapter=o[31]),!i&&s[1]&4&&(i=!0,a.videoContainer=o[33],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Y_(t){let e,i,n;function l(o){t[56](o)}let r={store:t[0],uiConfig:t[35],thumbUrl:t[2],videoLogoUrl:t[3],interactiveContainer:t[4],live:t[5],autoplay:t[6],canRewindLive:t[7],showAds:t[8],adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12],logoClickable:t[13],logoHidden:t[14],showNextPrevButtons:t[16],nextButtonActive:t[17],prevButtonActive:t[18],endScreenVideoTitle:t[19],endScreenVideoThumb:t[20],isOneVideoPlaylist:t[21],supportLink:t[22],outerContainerRef:t[23],fullScreenTarget:t[24],showMiniTimer:t[25],playerStarted:t[34],playNextVideo:t[26],playPrevVideo:t[27],repeatPlaylist:t[28],seekToInteractive:t[29],toggleGraph:t[30],playPrevChapter:t[31],firstStart:t[36],seekTime:t[32]};return t[33]!==void 0&&(r.videoContainer=t[33]),e=new K_({props:r}),Se.push(()=>Ze(e,"videoContainer",l)),{c(){K(e.$$.fragment)},m(o,s){j(e,o,s),n=!0},p(o,s){const a={};s[0]&1&&(a.store=o[0]),s[0]&4&&(a.thumbUrl=o[2]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16&&(a.interactiveContainer=o[4]),s[0]&32&&(a.live=o[5]),s[0]&64&&(a.autoplay=o[6]),s[0]&128&&(a.canRewindLive=o[7]),s[0]&256&&(a.showAds=o[8]),s[0]&512&&(a.adsSlotId=o[9]),s[0]&1024&&(a.adsParams=o[10]),s[0]&2048&&(a.adsPreviewParam=o[11]),s[0]&4096&&(a.duration=o[12]),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&65536&&(a.showNextPrevButtons=o[16]),s[0]&131072&&(a.nextButtonActive=o[17]),s[0]&262144&&(a.prevButtonActive=o[18]),s[0]&524288&&(a.endScreenVideoTitle=o[19]),s[0]&1048576&&(a.endScreenVideoThumb=o[20]),s[0]&2097152&&(a.isOneVideoPlaylist=o[21]),s[0]&4194304&&(a.supportLink=o[22]),s[0]&8388608&&(a.outerContainerRef=o[23]),s[0]&16777216&&(a.fullScreenTarget=o[24]),s[0]&33554432&&(a.showMiniTimer=o[25]),s[1]&8&&(a.playerStarted=o[34]),s[0]&67108864&&(a.playNextVideo=o[26]),s[0]&134217728&&(a.playPrevVideo=o[27]),s[0]&268435456&&(a.repeatPlaylist=o[28]),s[0]&536870912&&(a.seekToInteractive=o[29]),s[0]&1073741824&&(a.toggleGraph=o[30]),s[1]&1&&(a.playPrevChapter=o[31]),!i&&s[1]&4&&(i=!0,a.videoContainer=o[33],je(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){Z(e,o)}}}function Q_(t){let e,i,n,l;const r=[Y_,G_],o=[];function s(a,c){return a[15]?0:1}return i=s(t),n=o[i]=r[i](t),{c(){e=P("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){T(a,e,c),o[i].m(e,null),l=!0},p(a,c){let f=i;i=s(a),i===f?o[i].p(a,c):(ce(),v(o[f],1,1,()=>{o[f]=null}),fe(),n=o[i],n?n.p(a,c):(n=o[i]=r[i](a),n.c()),m(n,1),n.m(e,null))},i(a){l||(m(n),l=!0)},o(a){v(n),l=!1},d(a){a&&S(e),o[i].d()}}}function X_(t,e,i){let{sources:n}=e,{store:l}=e,{microStoresRoot:r}=e,{videoConfig:o}=e,{uiConfig:s}=e,{title:a}=e,{thumbUrl:c}=e,{videoLogoUrl:f}=e,{interactiveContainer:d}=e,{subtitles:h}=e,{live:g}=e,{preload:_}=e,{autoplay:b}=e,{volume:C=void 0}=e,{muted:k=void 0}=e,{fromTime:w}=e,{canRewindLive:y}=e,{showAds:E}=e,{adsSlotId:x=void 0}=e,{adsParams:q=void 0}=e,{adsPreviewParam:V=void 0}=e,{duration:ee=void 0}=e,{logoClickable:re}=e,{logoHidden:N}=e,{isMobile:X}=e,{showNextPrevButtons:J=!1}=e,{nextButtonActive:M=!1}=e,{prevButtonActive:A=!1}=e,{endScreenVideoTitle:O=void 0}=e,{endScreenVideoThumb:ne=void 0}=e,{isOneVideoPlaylist:L=!1}=e,{supportLink:G}=e,{outerContainerRef:_e=void 0}=e,{fullScreenTarget:Ee=void 0}=e,{failoverHosts:Le=void 0}=e,{showMiniTimer:Ne=!1}=e,{playNextVideo:Fe=ie.noop}=e,{playPrevVideo:pe=ie.noop}=e,{repeatPlaylist:F=ie.noop}=e,{seekToInteractive:ue=ie.noop}=e,{toggleGraph:ye=ie.noop}=e,{playPrevChapter:Ue=ie.noop}=e;const{subscribers:We,stores:me}=r;M0(s);const Ie=wn(),ze=l.ui.debugPanelVisible,qe=l.ui.playerSize;let ge,B=null,Te=!1;l.getAdmanWrapper().init({switchFromAdsToVideo:l.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:l.actions.internal.switchFromVideoToAds,setMuted:l.actions.external.setMuted},l.ads,{isMobile:l.ui.isMobile,mobileUnmuteButtonVisible:l.ui.mobileUnmuteButtonVisible,vsid:l.vsid}),U0(l,me);const se=(ae=!1)=>{i(34,Te=!0),ae?l.actions.external.firstStart(E):l.actions.internal.firstStart(E)};function Ce(ae){var Pe;const _t=n||ae;_t&&l.initVideo({container:ge,sources:_t,failoverHosts:Le,subtitles:h});const Ct=ie.safeStorage.get(cr)==="true";ze.set(Ct),w>0&&l.actions.external.seekTime(w);const ht=X?Ie.volumeDefault:(Pe=C!=null?C:Ku())!=null?Pe:Ie.volumeDefault,dt=k!=null?k:G0();if(l.actions.external.setVolume(ht),l.actions.external.setMuted(dt),l.getAdmanWrapper().setInitialVolume(dt?0:ht),Ie.features.trafficSaving){const nt=Q0();nt&&l.actions.internal.setTrafficSavingEnabled(nt)}const Qe=W0(l.videoId);Qe&&l.actions.internal.setQuality(Qe),l.ui.isAutoplay.set(b),b?se():_&&Ie.features.preload&&l.actions.internal.preload()}const Ge=ae=>{if(window.ResizeObserver){let _t,Ct;B=new ResizeObserver(ie.throttleFn(ht=>{const dt=ht[0];if(dt){if(dt.contentBoxSize){const Qe=Array.isArray(dt.contentBoxSize)?dt.contentBoxSize[0]:dt.contentBoxSize;_t=Qe.inlineSize,Ct=Qe.blockSize}else dt.contentRect&&(_t=dt.contentRect.width,Ct=dt.contentRect.height);qe.set({width:_t,height:Ct})}},Bu)),B.observe(ae)}qe.set({width:ae.clientWidth,height:ae.clientHeight})};pn(()=>{Ge(ge);const ae=We.map(Ct=>Ct.init({store:l,microStores:me,config:o}));if((g==null?void 0:g.status)==="upcoming"||(g==null?void 0:g.status)==="waiting"){l.actions.internal.setWaitingLive(!0);return}if(((g==null?void 0:g.status)==="finished"||(g==null?void 0:g.status)==="postlive")&&!Object.keys(n||[]).length){l.actions.internal.setWaitingRecord(!0);return}return Ce(),()=>{B==null||B.disconnect(),ae.forEach(Ct=>Ct.unsubscribe()),l.destroy()}});function tt(){Te?l.actions.external.play():se(!0)}function st(){l.actions.external.pause()}function it(ae){X||l.actions.external.setMuted(ae)}function pt(ae){X||ae>=0&&ae<=1&&l.actions.external.setVolume(ae)}function at(ae){l.actions.internal.seekTime(ae,Pt.SeekAction.UNKNOWN)}function de(ae){l.actions.external.seekEpisodeStartTime(ae)}function rt(){l.actions.external.returnFocusToEpisodes()}function At(ae){l.actions.external.setPlaybackRate(ae)}function yt(ae){l.actions.external.setAutoQualityLimits(ae)}function Me(ae){ge=ae,i(33,ge)}function Bt(ae){ge=ae,i(33,ge)}return t.$$set=ae=>{"sources"in ae&&i(37,n=ae.sources),"store"in ae&&i(0,l=ae.store),"microStoresRoot"in ae&&i(38,r=ae.microStoresRoot),"videoConfig"in ae&&i(39,o=ae.videoConfig),"uiConfig"in ae&&i(40,s=ae.uiConfig),"title"in ae&&i(1,a=ae.title),"thumbUrl"in ae&&i(2,c=ae.thumbUrl),"videoLogoUrl"in ae&&i(3,f=ae.videoLogoUrl),"interactiveContainer"in ae&&i(4,d=ae.interactiveContainer),"subtitles"in ae&&i(41,h=ae.subtitles),"live"in ae&&i(5,g=ae.live),"preload"in ae&&i(42,_=ae.preload),"autoplay"in ae&&i(6,b=ae.autoplay),"volume"in ae&&i(43,C=ae.volume),"muted"in ae&&i(44,k=ae.muted),"fromTime"in ae&&i(45,w=ae.fromTime),"canRewindLive"in ae&&i(7,y=ae.canRewindLive),"showAds"in ae&&i(8,E=ae.showAds),"adsSlotId"in ae&&i(9,x=ae.adsSlotId),"adsParams"in ae&&i(10,q=ae.adsParams),"adsPreviewParam"in ae&&i(11,V=ae.adsPreviewParam),"duration"in ae&&i(12,ee=ae.duration),"logoClickable"in ae&&i(13,re=ae.logoClickable),"logoHidden"in ae&&i(14,N=ae.logoHidden),"isMobile"in ae&&i(15,X=ae.isMobile),"showNextPrevButtons"in ae&&i(16,J=ae.showNextPrevButtons),"nextButtonActive"in ae&&i(17,M=ae.nextButtonActive),"prevButtonActive"in ae&&i(18,A=ae.prevButtonActive),"endScreenVideoTitle"in ae&&i(19,O=ae.endScreenVideoTitle),"endScreenVideoThumb"in ae&&i(20,ne=ae.endScreenVideoThumb),"isOneVideoPlaylist"in ae&&i(21,L=ae.isOneVideoPlaylist),"supportLink"in ae&&i(22,G=ae.supportLink),"outerContainerRef"in ae&&i(23,_e=ae.outerContainerRef),"fullScreenTarget"in ae&&i(24,Ee=ae.fullScreenTarget),"failoverHosts"in ae&&i(46,Le=ae.failoverHosts),"showMiniTimer"in ae&&i(25,Ne=ae.showMiniTimer),"playNextVideo"in ae&&i(26,Fe=ae.playNextVideo),"playPrevVideo"in ae&&i(27,pe=ae.playPrevVideo),"repeatPlaylist"in ae&&i(28,F=ae.repeatPlaylist),"seekToInteractive"in ae&&i(29,ue=ae.seekToInteractive),"toggleGraph"in ae&&i(30,ye=ae.toggleGraph),"playPrevChapter"in ae&&i(31,Ue=ae.playPrevChapter)},t.$$.update=()=>{t.$$.dirty[0]&32769&&l.ui.isMobile.set(X)},[l,a,c,f,d,g,b,y,E,x,q,V,ee,re,N,X,J,M,A,O,ne,L,G,_e,Ee,Ne,Fe,pe,F,ue,ye,Ue,at,ge,Te,Ie,se,n,r,o,s,h,_,C,k,w,Le,Ce,tt,st,it,pt,de,rt,At,yt,Me,Bt]}class J_ extends ke{constructor(e){super(),we(this,e,X_,Q_,be,{sources:37,store:0,microStoresRoot:38,videoConfig:39,uiConfig:40,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:41,live:5,preload:42,autoplay:6,volume:43,muted:44,fromTime:45,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:46,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:47,play:48,pause:49,setMuted:50,setVolume:51,seekTime:32,seekEpisodeStartTime:52,returnFocusToEpisodes:53,setPlaybackRate:54,setAutoQualityLimits:55},W_,[-1,-1,-1])}get initVideo(){return this.$$.ctx[47]}get play(){return this.$$.ctx[48]}get pause(){return this.$$.ctx[49]}get setMuted(){return this.$$.ctx[50]}get setVolume(){return this.$$.ctx[51]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[52]}get returnFocusToEpisodes(){return this.$$.ctx[53]}get setPlaybackRate(){return this.$$.ctx[54]}get setAutoQualityLimits(){return this.$$.ctx[55]}}function x_(t){let e,i;return{c(){e=D("svg"),i=D("path"),u(i,"fill",t[0]),u(i,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,l){T(n,e,l),p(e,i)},p(n,[l]){l&1&&u(i,"fill",n[0])},i:W,o:W,d(n){n&&S(e)}}}function $_(t,e,i){let{isWhite:n=!1}=e,l;return t.$$set=r=>{"isWhite"in r&&i(1,n=r.isWhite)},t.$$.update=()=>{t.$$.dirty&2&&i(0,l=n?"#fff":"#909499")},[l,n]}class e6 extends ke{constructor(e){super(),we(this,e,$_,x_,be,{isWhite:1})}}function t6(t){Ke(t,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function yu(t){let e,i;return{c(){e=P("div"),i=De(t[0]),u(e,"class","title v-1y9fytq")},m(n,l){T(n,e,l),p(e,i)},p(n,l){l&1&&$e(i,n[0])},d(n){n&&S(e)}}}function Cu(t){let e,i;return e=new e6({props:{isWhite:!!t[1]}}),{c(){K(e.$$.fragment)},m(n,l){j(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isWhite=!!n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){Z(e,n)}}}function i6(t){let e,i,n,l,r=t[0]&&yu(t),o=(!t[0]||!t[1])&&Cu(t);return{c(){e=P("div"),r&&r.c(),i=H(),o&&o.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=t[1]?`background-image: url('${t[1]}')`:"")},m(s,a){T(s,e,a),r&&r.m(e,null),p(e,i),o&&o.m(e,null),l=!0},p(s,[a]){s[0]?r?r.p(s,a):(r=yu(s),r.c(),r.m(e,i)):r&&(r.d(1),r=null),!s[0]||!s[1]?o?(o.p(s,a),a&3&&m(o,1)):(o=Cu(s),o.c(),m(o,1),o.m(e,null)):o&&(ce(),v(o,1,1,()=>{o=null}),fe()),(!l||a&2&&n!==(n=s[1]?`background-image: url('${s[1]}')`:""))&&u(e,"style",n)},i(s){l||(m(o),l=!0)},o(s){v(o),l=!1},d(s){s&&S(e),r&&r.d(),o&&o.d()}}}function n6(t,e,i){let{title:n}=e,{thumbUrl:l}=e;return t.$$set=r=>{"title"in r&&i(0,n=r.title),"thumbUrl"in r&&i(1,l=r.thumbUrl)},[n,l]}class o6 extends ke{constructor(e){super(),we(this,e,n6,i6,be,{title:0,thumbUrl:1},t6)}}class l6{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:i="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:i,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",i=>null],["seekbackward",i=>null],["seekforward",i=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[i,n]of e)try{navigator.mediaSession.setActionHandler(i,n)}catch(l){throw new Error(`The media session action "${i}" is not supported yet.`)}}}function r6(t){let e,i,n,l;return{c(){e=D("svg"),i=D("g"),n=D("path"),l=D("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(l,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(i,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(r,o){T(r,e,o),p(e,i),p(i,n),p(i,l)},p:W,i:W,o:W,d(r){r&&S(e)}}}class s6 extends ke{constructor(e){super(),we(this,e,null,r6,be,{})}}function a6(t){Ke(t,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function u6(t){let e,i,n,l,r,o,s;return n=new s6({}),{c(){e=P("div"),i=P("div"),K(n.$$.fragment),l=H(),r=P("span"),o=De(t[0]),u(i,"class","dummy-image v-1pbsod4"),R(i,"desktop",!t[1]),u(r,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),R(e,"is-pip-api",t[2])},m(a,c){T(a,e,c),p(e,i),j(n,i,null),p(e,l),p(e,r),p(r,o),s=!0},p(a,[c]){(!s||c&2)&&R(i,"desktop",!a[1]),(!s||c&1)&&$e(o,a[0])},i(a){s||(m(n.$$.fragment,a),s=!0)},o(a){v(n.$$.fragment,a),s=!1},d(a){a&&S(e),Z(n)}}}function c6(t,e,i){let n,l;const r=Et(),o=!!r.webApi.pictureInPictureApi,s=r.interfaceLanguage$;z(t,s,f=>i(5,n=f));const a=r.ui.isMobile;z(t,a,f=>i(1,l=f));let c;return t.$$.update=()=>{t.$$.dirty&32&&i(0,c=n&&Q("pip_dummy_title"))},[c,l,o,s,a,n]}class f6 extends ke{constructor(e){super(),we(this,e,c6,u6,be,{},a6)}}const d6=460,m6=280;class Rf{constructor(){this.info={isActive$:new ie.ValueSubject(!1),type:Fn.DocumentPictureInPicture}}isSupported(){const e=ie.getCurrentBrowser().browser===ie.CurrentClientBrowser.Yandex,{isEmbed:i}=ie.detectEmbed();return"documentPictureInPicture"in window&&!e&&!i}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,i){this.playerDomElement=e,this.playerParentShadowRoot=i}setContext(e){this.svelteContext=e}request(){var e,i;return ni(this,void 0,void 0,function*(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=yield documentPictureInPicture.requestWindow({width:d6,height:m6,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
51
+ `),l=document.createElement("style");l.textContent=n;const r=this.createStretchedContainer(),o=r.attachShadow({mode:"open"});o.append(l),o.append(this.playerDomElement),this.playerDummyElement=new f6({target:this.playerParentShadowRoot,context:this.svelteContext}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(r),this.info.isActive$.next(!0),(i=this.pipWindow)===null||i===void 0||i.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})})}remove(){return ni(this,void 0,void 0,function*(){return new Promise(e=>{var i;(i=documentPictureInPicture.window)===null||i===void 0||i.close(),e()})})}dispose(){return ni(this,void 0,void 0,function*(){yield this.remove()})}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function p6(t){return t instanceof Rf}class h6{static getLatestSupportedVersion(){const e=new Tr,i=new Rf;if(i.isSupported())return i;if(e.isSupported())return e}}function Su(t,e){var i,n;const l=new Set([...Object.keys(t),...Object.keys(e)]),r={};for(const o of l)r[o]=(n=(i=e[o])!==null&&i!==void 0?i:t[o])!==null&&n!==void 0?n:void 0;return r}const v6="Inner error. Unexpectedly root annotation container null reference exception",g6="Annotation with such name already exists",b6="Annotation with such name does not exist";class lr extends Error{constructor(e){super(e),this.name="AnnotationError"}}const _6="1",w6=100;class k6{constructor(e){this.annotations=new Map,this.subscriptions=new ie.Subscription,this.rootAnnotationsContainer=e;const i=ie.throttleFn(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},w6);this.subscriptions.add(ie.observeElementSize(this.rootAnnotationsContainer).subscribe(({width:n,height:l})=>{this.playerSize={width:n,height:l},i()})),this.mutationObserver=new MutationObserver(i),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,i){var n;if(!this.rootAnnotationsContainer)throw new lr(v6);if(this.annotations.has(e))throw new lr(g6);i.style.zIndex=(n=i.style.zIndex)!==null&&n!==void 0?n:_6,i.style.position="absolute",this.rootAnnotationsContainer.append(i),this.annotations.set(e,i)}get(e){const i=this.annotations.get(e);if(!i)throw new lr(b6);return i}remove(e){const i=this.get(e);this.annotations.delete(e)&&i.remove()}clear(){for(const e in this.annotations.keys())this.remove(e)}destroy(){this.annotations.clear(),this.subscriptions.unsubscribe(),this.mutationObserver.disconnect(),this.rootAnnotationsContainer=null}isElementExceedsBoundaries(e,i,n){const l=e.offsetTop,r=e.offsetLeft,o=e.offsetWidth,s=e.offsetHeight;return l<0||r<0||r+o>i||l+s>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class Ll{init({store:e,microStores:i,config:n}){return ie.assertNonNullable(e),ie.assertNonNullable(i),ie.assertNonNullable(n),this.subscription=new ie.Subscription,this.subscription}}class y6 extends Ll{constructor(){super(...arguments),this.stateName="fakeIsPlaying$",this.state$=Object.assign(Object.assign({},Ve(null)),{toggle:()=>this.state$.update(e=>!e)})}init(e){const i=super.init(e),{isInteractiveExpectation$:n}=e.store.state;return i.add(n.subscribe(l=>{this.state$.set(l?!0:null)})),i}}class C6 extends Ll{constructor(){super(...arguments),this.stateName="interactiveControlsOpacity$",this.state$=Object.assign(Object.assign({},Ve(null)),{toggle:()=>this.state$.update(e=>!e)})}init(e){const i=super.init(e),{microStores:n,store:l}=e,{fakeIsPlaying$:r}=n,{isInteractiveExpectation$:o,isPlaying$:s}=l.state,{controlsVisible:a,isMobile:c}=l.ui,f=xe(c),d=()=>f&&xe(a);return i.add(a.subscribe(h=>{if(!f)return;const g=xe(r);xe(s)?this.state$.set(h):g!==null&&this.state$.set(!g||h)})),i.add(s.subscribe(h=>{this.state$.set(!h||d())})),i.add(r.subscribe(h=>{if(h===null)return;const g=xe(o);if(d()){this.state$.set(!0);return}g&&this.state$.set(!h)})),i}}class S6 extends Ll{constructor(){super(...arguments),this.stateName="seekToInteractiveDisabledTooltip$",this.state$=Ve("tooltip_chapter_without_interactive")}init(e){const i=super.init(e),{store:n}=e;return i.add(n.state.interactiveEpisodes$.subscribe(l=>{l.length&&(l.every(r=>r.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),i}}const rr=Ve(!1);let Fo=null;class T6 extends Ll{constructor(){super(...arguments),this.stateName="showInteractiveTimeIndicatorTooltip$",this.ignoreTimeout=!1,this.state$=Object.assign(Object.assign({},rr),{set:(e,i=!1)=>{e!==xe(rr)&&(this.clearTimeout(),rr.set(e),!e&&Fo&&(Fo=!1),e&&i&&(this.timeout=setTimeout(()=>{this.state$.set(!1)},3e3)))},clearTimeout:()=>this.clearTimeout()})}init(e){const i=super.init(e),{store:n,config:l}=e,r=n.state.isInteractiveTime$,o=n.ui.controlsVisible;i.add(o.subscribe(a=>{xe(r)&&a&&this.state$.set(!1)}));const s=(l==null?void 0:l.interactiveData)||{tooltipHelpHintActive:!1};return s.tooltipHelpHintActive&&Fo===null&&(this.ignoreTimeout=!0,i.add(r.subscribe(a=>{var c,f;a||this.state$.set(!1),a&&s.tooltipHelpHintActive&&Fo===null&&(Fo=!0,s.tooltipHelpHintActive=!1,this.state$.set(!0),(f=(c=n.callbacks)===null||c===void 0?void 0:c.onInteractiveTimeIndicatorHintDeactivated)===null||f===void 0||f.call(c))}))),i}clearTimeout(){window.clearTimeout(this.timeout)}}const P6=()=>[y6,C6,S6,T6].reduce(({subscribers:t,stores:e},i)=>{const n=new i;return{subscribers:[...t,n],stores:Object.assign(Object.assign({},e),{[n.stateName]:n.state$})}},{subscribers:[],stores:{}}),E6={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:ie.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:ie.isMobile(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class I6 extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.videoConfig=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this.annotationsApi=void 0,this.prevIsid=void 0,this.isInited=!1,this.logger=new ie.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new ie.Subscription,this.graphMadePause=!1,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(i=>{console.log("%c player web component ","background:#77dd77;",`${i.component}`,i.message)}))}connectedCallback(){var e,i;if(this.isInited)return;this.initPlayerRootContainers();const n=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,l=(i=this.getAttribute("stub-thumb-url"))!==null&&i!==void 0?i:void 0;this.svelteStubComponent=new o6({target:this.playerContainer,props:{title:n,thumbUrl:l}})}disconnectedCallback(){var e,i,n,l,r;(e=this.annotationsApi)===null||e===void 0||e.destroy(),(i=this.svelteRootComponent)===null||i===void 0||i.$destroy(),(n=this.svelteStubComponent)===null||n===void 0||n.$destroy(),this.subscription.unsubscribe(),(l=this.unsubscribePlayerPhaseSubscription)===null||l===void 0||l.call(this),(r=this.interactiveController)===null||r===void 0||r.destroy()}initPlayerRootContainers(){this.rootContainer=document.createElement("div"),this.rootContainer.style.position="relative",this.rootContainer.className="root-container",this.rootContainer.style.width="100%",this.rootContainer.style.height="100%";const e=document.createElement("div");e.style.position="absolute",e.className="shadow-root-container",e.style.width="100%",e.style.height="100%",this._shadowRoot=e.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.rootContainer.append(e),this.append(this.rootContainer)}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){var i;const n=(i=this.store)===null||i===void 0?void 0:i.ui.controls.disabledControls$;return(n==null?void 0:n.includes(e))||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,i={},n){var l,r,o,s,a,c,f,d,h,g,_,b,C;if(!this.videoConfig)return;const{albumId:k,statPlace:w,statUserSalt:y,statAuthToken:E,statTrackCode:x,refreshStatAuthToken:q,preload:V,autoplay:ee,volume:re,muted:N,fromTime:X,canRewindLive:J,supportLink:M,showAds:A,adsSlotId:O,adsParams:ne={},adsPreviewParam:L,interfaceLanguage:G,logoClickable:_e,logoHidden:Ee,isMobile:Le,isAudioDisabled:Ne,isLiveCatchUpMode:Fe,fullScreenTarget:pe,failoverHosts:F,canDownload:ue,callbacks:ye,interactiveData:Ue,showThumbTimer:We,additionalButtons:me=[],repeat:Ie}=Su(this.videoConfig,i),{sources:ze,title:qe,thumbUrl:ge,videoLogoUrl:B,unitedVideoId:Te,isClip:se=!1,duration:Ce,adsParams:Ge={},videoEpisodes:tt,previewThumbsData:st,subtitles:it,live:pt}=e,at=Object.assign(Object.assign({},ne),Ge),de=this.getNextVideoInfo(),rt={sources:ze,title:qe,thumbUrl:ge,subtitles:it,unitedVideoId:Te,isClip:se,live:pt,albumId:k,statPlace:w,autoplay:ee,muted:N,volume:re,fromTime:X,canRewindLive:J,showAds:A,adsSlotId:O,adsParams:at,adsPreviewParam:L,duration:Ce,logoClickable:_e,logoHidden:Ee,isMobile:Le,repeat:Ie,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:de.nextVideoTitle,endScreenVideoThumb:de.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},At={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(rt)}`});const yt=this.uiConfig.features.statistics&&!!Te,{pid:Me}=((r=(l=this.videoConfig)===null||l===void 0?void 0:l.interactiveData)===null||r===void 0?void 0:r.projectInfo)||{};yt&&(this.statistics=new cg(Object.assign({movieId:Te,albumId:k,place:w,trackCode:x,autoplay:(o=ee&&!this.interactiveController)!==null&&o!==void 0?o:!1,mobile:Le,clip:se,refDomain:this.videoConfig.refDomain},Me&&!this.isInited&&{projectId:Number(Me)}),Object.assign({refreshAuthToken:q,userSalt:y,config:this.statisticsConfig},this.interactiveController&&{useIsid:!0,isid:this.prevIsid}))),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new pr(this.uiConfig.sentry,{version:Sl,env:F0},{movieId:Te,albumId:k,place:w,autoplay:(s=ee&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:Le,clip:se}),this.interactiveController&&((a=this.prevIsid)!==null&&a!==void 0||(this.prevIsid=(c=this.statistics)===null||c===void 0?void 0:c.oneStat.isid$.getValue())),this.sentry=Object.assign(Object.assign({},this.sentry),pr.getInstance());const ae=!!Ue,_t=[];let Ct="tooltip_interactive_go_back_disabled_first";if(ae&&this.interactiveController){const Qe=this.interactiveController.state.isInitialChapter$.getValue(),Pe=this.interactiveController.getHistoryState();Qe&&_t.push(vt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||_t.push(vt.SEEK_TO_INTERACTIVE_BUTTON),Pe.hasPrevChapter$.getValue()||(_t.push(vt.PLAY_PREV_CHAPTER_BUTTON),Qe||(Pe.isGoBackLimited$.getValue()?Ct="tooltip_interactive_go_back_disabled_limit":Ct="tooltip_interactive_go_back_disabled"))}const ht=()=>{var Qe;this.isInited=!1,this.prevIsid=void 0;const Pe=(n==null?void 0:n.info.isEnded$.getValue())&&((Qe=this.interactiveController)===null||Qe===void 0?void 0:Qe.state.isEndChapter$.getValue());ye.onReplayInteractiveVideo&&!Pe?ye.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=fg({player:n,interfaceLanguage:G,videoId:Te,isClip:se,isLiveCatchUpMode:Fe,isAudioDisabled:Ne,statAuthToken:E,callbacks:ye,webApi:At,videoEpisodes:tt,previewThumbsData:st,canDownload:ue,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:_t,isInteractive:ae,interactiveRanges$:(f=this.interactiveController)===null||f===void 0?void 0:f.state.interactiveRanges$,isInteractiveTime$:(d=this.interactiveController)===null||d===void 0?void 0:d.state.isInteractiveTime$,replayInteractive:ht,playPrevChapterDisabledTooltip:Ct,hasInteractiveBranches:!!(!((g=(h=this.interactiveController)===null||h===void 0?void 0:h.getChapterBranches())===null||g===void 0)&&g.length),additionalButtons:this.uiConfig.features.additionalButtons?me:[],looped:Ie&&this.videoConfig.videos.length===1,statistics:this.statistics});const{stores:dt}=this.microStoresRoot=P6();this.subscription.add(this.store.state.currentFormat$.subscribe(Qe=>{var Pe;return(Pe=ye==null?void 0:ye.onCurrentFormatChanged)===null||Pe===void 0?void 0:Pe.call(ye,Qe)})),this.subscription.add(dt.interactiveControlsOpacity$.subscribe(Qe=>{var Pe;Qe!==null&&((Pe=this===null||this===void 0?void 0:this.interactiveController)===null||Pe===void 0||Pe.setDisabledControls(Qe))})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Qe=>{var Pe;return(Pe=ye==null?void 0:ye.onThroughputEstimationChanged)===null||Pe===void 0?void 0:Pe.call(ye,Qe)})),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe(Qe=>{var Pe;return(Pe=ye==null?void 0:ye.onTrafficSavingEnabledChanged)===null||Pe===void 0?void 0:Pe.call(ye,Qe)})),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe(Qe=>{var Pe;return(Pe=ye==null?void 0:ye.onCurrentPlaybackRateChanged)===null||Pe===void 0?void 0:Pe.call(ye,Qe)})),this.subscription.add(this.store.state.volume$.subscribe(Qe=>{var Pe;return(Pe=ye==null?void 0:ye.onVolumeChange)===null||Pe===void 0?void 0:Pe.call(ye,Qe)})),this.subscription.add(this.store.state.muted$.subscribe(Qe=>{var Pe,nt;return Qe?(Pe=ye==null?void 0:ye.onMute)===null||Pe===void 0?void 0:Pe.call(ye):(nt=ye==null?void 0:ye.onUnmute)===null||nt===void 0?void 0:nt.call(ye)})),this.subscription.add(this.store.state.videoBitrate$.subscribe(Qe=>{var Pe;return(Pe=ye==null?void 0:ye.onVideoBitrateChanged)===null||Pe===void 0?void 0:Pe.call(ye,Qe)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Qe=>{var Pe;const nt=(Pe=this.store)===null||Pe===void 0?void 0:Pe.ui.controls.disabledControls$;nt&&(Qe&&!nt.includes(bl)&&nt.add(bl),Qe||nt.remove(bl))})),this.initMediaSession(),this.interactiveController&&yt&&this.initInteractivesStatistics(),this.svelteRootComponent=new J_({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:ze,store:this.store,microStoresRoot:this.microStoresRoot,videoConfig:this.videoConfig,uiConfig:this.uiConfig,title:qe,thumbUrl:ge,videoLogoUrl:B,subtitles:it,live:pt,preload:V,autoplay:ee,muted:N,volume:re,fromTime:X,canRewindLive:J,supportLink:M,showAds:A,adsSlotId:O,adsParams:at,adsPreviewParam:L,duration:Ce,logoClickable:_e,logoHidden:Ee,isMobile:Le,failoverHosts:F,fullScreenTarget:pe,showMiniTimer:We,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:de.nextVideoTitle,endScreenVideoThumb:de.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,(C=(b=(_=this.videoConfig)===null||_===void 0?void 0:_.callbacks)===null||b===void 0?void 0:b.onInited)===null||C===void 0||C.call(b))}addPlayerInfoSubscriptions(){var e;const i=this.store;if(!i)return;const n=(e=this.videoConfig)===null||e===void 0?void 0:e.callbacks;n&&this.subscription.add(i.playerPhase.subscribe(r=>{var o;return(o=n.onPlayerPhaseChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.playbackState$.subscribe(r=>{var o;return(o=n.onPlaybackStateChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.isLive$.subscribe(r=>{var o;return(o=n.onIsLiveChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.isActiveLive$.subscribe(r=>{var o;return(o=n.onIsActiveLiveChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.isAudioAvailable$.subscribe(r=>{var o;return(o=n.onIsAudioAvailableChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.currentQuality$.subscribe(r=>{var o;return(o=n.onCurrentQualityChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.availableQualities$.subscribe(r=>{var o;return(o=n.onAvailableQualitiesChanged)===null||o===void 0?void 0:o.call(n,r.map(({value:s})=>s).filter(s=>s!==Bo.AUTO))})).add(i.ui.isPictureInPictureActive$.subscribe(r=>{var o,s;return r?(o=n.onPiPEnter)===null||o===void 0?void 0:o.call(n):(s=n.onPiPExit)===null||s===void 0?void 0:s.call(n)}));const l=n==null?void 0:n.uiInfo;l&&this.subscription.add(i.ui.controlsVisible.subscribe(r=>{var o;return(o=l.onControlsVisibleChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.isMobile.subscribe(r=>{var o;return(o=l.onIsMobileChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.playerSize.subscribe(r=>{var o;return(o=l.onPlayerSizeChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.prevButton.subscribe(r=>{var o;return(o=l.onPrevButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.playButton.subscribe(r=>{var o;return(o=l.onPlayButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.replayButton.subscribe(r=>{var o;return(o=l.onReplayButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.nextButton.subscribe(r=>{var o;return(o=l.onNextButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.playPrevChapterButton.subscribe(r=>{var o;return(o=l.onPlayPrevChapterChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.seekToInteractiveButton.subscribe(r=>{var o;return(o=l.onSeekToInteractiveButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.interactiveGraphButton.subscribe(r=>{var o;return(o=l.onGraphButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.liveButton.subscribe(r=>{var o;return(o=l.onLiveButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.time.subscribe(r=>{var o;return(o=l.onTimeUpdateChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.episodes.subscribe(r=>{var o;return(o=l.onEpisodesChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.subtitles.subscribe(r=>{var o;return(o=l.onSubtitlesChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.settings.subscribe(r=>{var o;return(o=l.onSettingsChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.fullscreen.subscribe(r=>{var o;return(o=l.onFullscreenChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.chromecast.subscribe(r=>{var o;return(o=l.onChromecastChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.pip.subscribe(r=>{var o;return(o=l.onPipChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.vkLogo.subscribe(r=>{var o;return(o=l.onVkLogoChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.interactiveTimeIndicator.subscribe(r=>{var o;return(o=l.onInteractiveTimeIndicatorChanged)===null||o===void 0?void 0:o.call(l,r)}))}playNextVideo(){var e;if(!this.videoConfig)return;let i=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onNextVideoClick)try{i=this.videoConfig.callbacks.onNextVideoClick()}catch(n){this.log({message:"onNextVideoClick callback failed to execute"})}i&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){var e;if(!this.videoConfig)return;let i=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onPrevVideoClick)try{i=this.videoConfig.callbacks.onPrevVideoClick()}catch(n){this.log({message:"onPrevVideoClick callback failed to execute"})}i&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,i=!0){var n;if(!this.videoConfig)return;const l=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!l){this.log({message:"no next video"});return}this.isInited&&ie.isNonNullable(l.unitedVideoId)&&this.store.actions.internal.nextMovie(l.unitedVideoId),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(l,{autoplay:i,fromTime:0},e)}playPrevChapter(){var e;(e=this.interactiveController)===null||e===void 0||e.playPrevChapter()}seekToInteractive(){var e;const i=(e=this.interactiveController)===null||e===void 0?void 0:e.getNextInteractiveStartTime();typeof i=="number"&&this.seekTime(i/1e3)}toggleGraph(){var e,i;if(!this.isInited)return;const n=this.store,{isEnded$:l,playbackState$:r,graphIsOpened$:o}=n.state,{disabledControls$:s}=n.ui.controls,a=xe(l),c=xe(r);xe(o)?(o.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(Yr),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",o.set(!0),(i=this.interactiveController)===null||i===void 0||i.toggleGraphView(!0),s.add(Yr),!a&&this.graphMadePause&&this.pause())}initInteractives(){var e,i,n,l;return ni(this,void 0,void 0,function*(){if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:r,EVENT_NAMES:o,CustomError:s}=yield import("@vkontakte/videoplayer-interactive/es2015.cjs.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const a=(i=this.store)===null||i===void 0?void 0:i.interfaceLanguage$,c=a?xe(a):this.videoConfig.interfaceLanguage,{projectInfo:f,initChapterId:d,historyApi:h,videoLoader:g}=this.videoConfig.interactiveData;this.interactiveController=new r({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:c,graph:this.uiConfig.features.interactiveGraph,projectInfo:f,initChapterId:d,historyApi:h,vkVideoLoader:g,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,config:this.uiConfig.interactive,coreConfig:this.coreConfig}),yield this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:_}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(C=>{if(!this.isInited)return;const k=this.store;C?k.ui.controls.disabledControls$.remove(vt.SEEK_TO_INTERACTIVE_BUTTON):k.ui.controls.disabledControls$.add(vt.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(_.subscribe(C=>{this.store&&this.store.state.isInteractiveExpectation$.set(C)}));let b=!0;if(this.interactiveController.on(o.playerChanged,C=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]=Object.assign(Object.assign({},C.config),{title:(f==null?void 0:f.title)||C.config.title});const k=b?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(C.player,k),b&&(b=!1)}),this.interactiveController.on(o.interactives,({type:C,actionType:k})=>{var w,y,E,x;if(!this.store)return;const q=_.getValue();if(C==="action-choice"&&k==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(Ou)),C==="action-choice-canceled"){const V=xe(this.store.state.isPlaying$)||q;if(!((w=this.videoConfig)===null||w===void 0)&&w.isMobile&&V){this.store.ui.interactiveHideMobileControls.set(!0);return}(x=(y=this.videoConfig)===null||y===void 0?void 0:(E=y.callbacks).onDisabledInteractiveClick)===null||x===void 0||x.call(E)}}),!((l=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||l===void 0)&&l.onInteractiveHistoryChanged){const C=this.interactiveController.getHistoryState();this.subscription.add(C.history$.subscribe(k=>{var w,y,E;k.length&&((E=(y=(w=this.videoConfig)===null||w===void 0?void 0:w.callbacks)===null||y===void 0?void 0:y.onInteractiveHistoryChanged)===null||E===void 0||E.call(y,k))}))}this.uiConfig.features.interactiveTimeIndicator&&this.subscription.add(this.interactiveController.events.noInteraction$.subscribe(()=>{var C,k,w,y;(C=this.microStoresRoot)===null||C===void 0||C.stores.showInteractiveTimeIndicatorTooltip$.set(!0,!0),(y=(k=this.videoConfig)===null||k===void 0?void 0:(w=k.callbacks).onInteractiveTimeIndicatorClick)===null||y===void 0||y.call(w)})),this.interactiveController.on(o.errors,C=>{this.log({message:C.toString()})})}catch(r){this.log({message:r.message})}})}initInteractivesStatistics(){var e,i;return ni(this,void 0,void 0,function*(){const{statSubscription:n,oneStat:l}=this.statistics;if(!(!n||!l||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:r}=yield import("@vkontakte/videoplayer-interactive/es2015.cjs.js"),o={[r.GO_NEXT_BUTTON]:Pt.InteractiveInterfaceClick.NEXT_BUTTON,[r.GO_NEXT_AREA]:Pt.InteractiveInterfaceClick.NEXT_AREA,[r.WATCH_AGAIN]:Pt.InteractiveInterfaceClick.WATCH_AGAIN,[r.OPEN_GRAPH]:Pt.InteractiveInterfaceClick.GRAPH_SHOW,[r.CLOSE_GRAPH]:Pt.InteractiveInterfaceClick.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new ie.Subject;s.subscribe(f=>{var d,h;f in o?c.next(o[f]):(l==null||l.logError({errorType:"InteractiveVideosAction",fatal:!1}),(h=(d=this.sentry).report)===null||h===void 0||h.call(d,new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),n.add(l.attachToInteractive({click$:c,nextMovie$:a}))}catch(r){l==null||l.logError({errorType:"InteractiveVideos",fatal:!1}),(i=(e=this.sentry).report)===null||i===void 0||i.call(e,r,{errorType:"InteractiveVideosAction",fatal:!1})}})}initPlayer(e,i={}){var n,l,r,o,s,a,c,f,d,h,g,_,b,C,k,w,y,E,x;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=Su(E6,ie.cloneDeepWith(e,q=>q instanceof HTMLElement?q:void 0)),this.uiConfig=V0((n=i.ui)!==null&&n!==void 0?n:{}),this.coreConfig=(l=i.core)!==null&&l!==void 0?l:{configName:[]},this.statisticsConfig=(r=i.statistics)!==null&&r!==void 0?r:{},this.sentry={config:(o=this.uiConfig.sentry)!==null&&o!==void 0?o:{}},ie.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(s=this.videoConfig.isMediaSessionEnabled)!==null&&s!==void 0?s:!0),ie.isNonNullable(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=(c=(a=this.uiConfig.features.pip)!==null&&a!==void 0?a:this.videoConfig.isPictureInPictureEnabled)!==null&&c!==void 0?c:!0,this.uiConfig.features.dpip=(d=(f=this.uiConfig.features.dpip)!==null&&f!==void 0?f:this.videoConfig.isPictureInPictureEnabled)!==null&&d!==void 0?d:!0),this.videoConfig.isMobile=(h=this.uiConfig.isMobile)!==null&&h!==void 0?h:this.videoConfig.isMobile,(E=this.videoConfig).autoplay&&(E.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(g=this.uiConfig.ads.enable)!==null&&g!==void 0?g:this.videoConfig.showAds,this.videoConfig.adsSlotId=(_=this.uiConfig.ads.slot)!==null&&_!==void 0?_:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(b=this.uiConfig.ads.preview)!==null&&b!==void 0?b:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((C=this.uiConfig.showLogo)!==null&&C!==void 0?C:!this.videoConfig.logoHidden),(x=this.videoConfig).canRewindLive&&(x.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(k=this.videoConfig.supportLink)!==null&&k!==void 0?k:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=h6.getLatestSupportedVersion():this.pictureInPictureApi=new Tr),this.mediaSessionApi=this.uiConfig.features.mediaSession?new l6:void 0,this.annotationsApi=this.uiConfig.features.annotations?new k6(this.rootContainer):void 0,(w=this.svelteStubComponent)===null||w===void 0||w.$destroy(),(y=this.svelteRootComponent)===null||y===void 0||y.$destroy(),this.isInited=!1,this.prevIsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),p6(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){var i;if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const n=this.getNextVideoInfo();(i=this.svelteRootComponent)===null||i===void 0||i.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,i;this.mediaSessionApi&&((e=this.unsubscribePlayerPhaseSubscription)===null||e===void 0||e.call(this),this.unsubscribePlayerPhaseSubscription=(i=this.store)===null||i===void 0?void 0:i.playerPhase.subscribe(n=>{n===Oe.Video?this.setupMediaSessionForVideo():n===Oe.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:i}=Object.assign({},this.videoConfig.videos[this.currentPlayingVideoIndex]),n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",l=>this.seekTime(l.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:i}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",i=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(i)}catch(e){this.log({message:e.message})}}play(){var e,i;this.isControlDisabled(vt.PLAY_BUTTON)||!((e=this.store)===null||e===void 0)&&e.playerPhase.is(Oe.WaitingLive)||(this.log({message:"play"}),(i=this.svelteRootComponent)===null||i===void 0||i.play())}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,i;if(!this.videoConfig)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.videoConfig.videos[0];n&&((i=this.svelteRootComponent)===null||i===void 0||i.$destroy(),this.createPlayer(n))}setMuted(e){var i;this.log({message:`set muted, muted: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setMuted(e)}setVolume(e){var i;this.log({message:`set volume, volume: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setVolume(e)}setRepeat(e){var i;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(i=this.svelteRootComponent)===null||i===void 0||i.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var i;this.isControlDisabled(vt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.seekTime(e))}seekEpisodeStartTime(e){var i;this.log({message:`seek episode start time, time: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.seekEpisodeStartTime(e)}returnFocusToEpisodes(){var e;this.log({message:"return focus to episodes button"}),(e=this.svelteRootComponent)===null||e===void 0||e.returnFocusToEpisodes()}setPlaybackRate(e){var i;this.log({message:`set playback rate to: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setPlaybackRate(e)}setAutoQualityLimits(e){var i,n,l;this.log({message:`set auto quality limitation. Max: ${(i=e.max)!==null&&i!==void 0?i:"none"}. Min: ${(n=e.min)!==null&&n!==void 0?n:"none"}`}),(l=this.svelteRootComponent)===null||l===void 0||l.setAutoQualityLimits(e)}addLanguage(e){var i;(i=this.store)===null||i===void 0||i.actions.internal.addLanguage(e)}setLanguage(e){var i;return ni(this,void 0,void 0,function*(){yield(i=this.store)===null||i===void 0?void 0:i.actions.internal.setLanguage(e)})}setLiveStart(e){var i,n;this.log({message:"live started"}),(i=this.store)===null||i===void 0||i.actions.internal.setWaitingLive(!1),(n=this.svelteRootComponent)===null||n===void 0||n.initVideo(e),this.play()}setWaitRecord(){var e,i;this.log({message:"post live"}),(e=this.store)===null||e===void 0||e.actions.internal.setWaitingRecord(!0),(i=this.store)===null||i===void 0||i.destroy()}setLiveEnd(e){var i,n;this.log({message:"live ended"}),(i=this.store)===null||i===void 0||i.actions.internal.setWaitingRecord(!1),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){var e,i;return(i=(e=this.statistics)===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&i!==void 0?i:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}showInteractiveIndicatorTooltip(e,i=!1){var n;(n=this.microStoresRoot)===null||n===void 0||n.stores.showInteractiveTimeIndicatorTooltip$.set(e,i)}}const A6=()=>{window.customElements.define("vk-video-player",I6)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return et.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return et.VideoQuality}});Object.defineProperty(exports,"InterfaceLanguage",{enumerable:!0,get:function(){return ie.InterfaceLanguage}});Object.defineProperty(exports,"VKNumericLanguage",{enumerable:!0,get:function(){return ie.VKNumericLanguage}});Object.defineProperty(exports,"loadVKLangPack",{enumerable:!0,get:function(){return ie.loadVKLangPack}});exports.VERSION=Sl;exports.registerPlayerWebComponent=A6;