@vkontakte/videoplayer 1.1.32-dev.a1e89bfc.0 → 1.1.32-dev.a44460f3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es2015.cjs.js +16 -16
- package/es2015.esm.js +16 -16
- package/es2018.cjs.js +16 -16
- package/es2018.esm.js +16 -16
- package/esnext.cjs.js +16 -16
- package/esnext.esm.js +16 -16
- package/evergreen.esm.js +16 -16
- package/index.d.ts +57 -7
- package/package.json +5 -5
package/esnext.cjs.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vkontakte/videoplayer v1.1.32-dev.
|
|
3
|
-
*
|
|
2
|
+
* @vkontakte/videoplayer v1.1.32-dev.a44460f3.0
|
|
3
|
+
* Wed, 03 Apr 2024 13:43:07 GMT
|
|
4
4
|
* https://st.mycdn.me/static/vkontakte-videoplayer/1-1-32/doc/
|
|
5
5
|
*/
|
|
6
|
-
"use strict";var V1=Object.create;var $o=Object.defineProperty;var I1=Object.getOwnPropertyDescriptor;var z1=Object.getOwnPropertyNames;var M1=Object.getPrototypeOf,N1=Object.prototype.hasOwnProperty;var B1=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of z1(e))!N1.call(i,o)&&o!==t&&$o(i,o,{get:()=>e[o],enumerable:!(n=I1(e,o))||n.enumerable});return i};var el=(i,e,t)=>(t=i!=null?V1(M1(i)):{},B1(e||!i||!i.__esModule?$o(t,"default",{value:i,enumerable:!0}):t,i));var ot=require("@vkontakte/videoplayer-core/esnext.cjs.js"),$=require("@vkontakte/videoplayer-shared/esnext.cjs.js"),pt=require("@vkontakte/videoplayer-statistics/esnext.cjs.js");function j(){}function oa(i,e){for(const t in e)i[t]=e[t];return i}function la(i){return i()}function tl(){return Object.create(null)}function Rt(i){i.forEach(la)}function Ji(i){return typeof i=="function"}function ve(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ao;function il(i,e){return ao||(ao=document.createElement("a")),ao.href=e,i===ao.href}function R1(i){return Object.keys(i).length===0}function no(i,...e){if(i==null){for(const n of e)n(void 0);return j}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function it(i){let e;return no(i,t=>e=t)(),e}function U(i,e,t){i.$$.on_destroy.push(no(e,t))}function bn(i,e,t,n){if(i){const o=sa(i,e,t,n);return i[0](o)}}function sa(i,e,t,n){return i[1]&&n?oa(t.ctx.slice(),i[1](n(e))):t.ctx}function _n(i,e,t,n){if(i[2]&&n){const o=i[2](n(t));if(e.dirty===void 0)return o;if(typeof o=="object"){const l=[],s=Math.max(e.dirty.length,o.length);for(let r=0;r<s;r+=1)l[r]=e.dirty[r]|o[r];return l}return e.dirty|o}return e.dirty}function wn(i,e,t,n,o,l){if(o){const s=sa(e,t,n,l);i.p(s,o)}}function kn(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 O1(i){return i??""}const ra=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function d(i,e){i.appendChild(e)}function He(i,e,t){const n=D1(i);if(!n.getElementById(e)){const o=w("style");o.id=e,o.textContent=t,H1(n,o)}}function D1(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function H1(i,e){return d(i.head||i,e),e.sheet}function y(i,e,t){i.insertBefore(e,t||null)}function k(i){i.parentNode&&i.parentNode.removeChild(i)}function tn(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function w(i){return document.createElement(i)}function z(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ue(i){return document.createTextNode(i)}function N(){return Ue(" ")}function gt(){return Ue("")}function Ae(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function vi(i){return function(e){return e.preventDefault(),i.call(this,e)}}function ct(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 F1(i){return Array.from(i.childNodes)}function Xe(i,e){e=""+e,i.data!==e&&(i.data=e)}function Lt(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let uo;function U1(){if(uo===void 0){uo=!1;try{typeof window<"u"&&window.parent&&window.parent.document}catch{uo=!0}}return uo}function bo(i,e){getComputedStyle(i).position==="static"&&(i.style.position="relative");const n=w("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const o=U1();let l;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",l=Ae(window,"message",s=>{s.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{l=Ae(n.contentWindow,"resize",e),e()}),d(i,n),()=>{(o||l&&n.contentWindow)&&l(),k(n)}}function C(i,e,t){i.classList.toggle(e,!!t)}function rn(i,e){return new i(e)}let eo;function $n(i){eo=i}function oo(){if(!eo)throw new Error("Function called outside component initialization");return eo}function ji(i){oo().$$.on_mount.push(i)}function _o(i){oo().$$.on_destroy.push(i)}function aa(i,e){return oo().$$.context.set(i,e),e}function ua(i){return oo().$$.context.get(i)}function ca(){return oo().$$.context}function to(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Bn=[],je=[];let On=[];const No=[],W1=Promise.resolve();let Bo=!1;function q1(){Bo||(Bo=!0,W1.then(fa))}function Ln(i){On.push(i)}function _t(i){No.push(i)}const Co=new Set;let zn=0;function fa(){if(zn!==0)return;const i=eo;do{try{for(;zn<Bn.length;){const e=Bn[zn];zn++,$n(e),j1(e.$$)}}catch(e){throw Bn.length=0,zn=0,e}for($n(null),Bn.length=0,zn=0;je.length;)je.pop()();for(let e=0;e<On.length;e+=1){const t=On[e];Co.has(t)||(Co.add(t),t())}On.length=0}while(Bn.length);for(;No.length;)No.pop()();Bo=!1,Co.clear(),$n(i)}function j1(i){if(i.fragment!==null){i.update(),Rt(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Ln)}}function Z1(i){const e=[],t=[];On.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),On=e}const po=new Set;let An;function he(){An={r:0,c:[],p:An}}function pe(){An.r||Rt(An.c),An=An.p}function m(i,e){i&&i.i&&(po.delete(i),i.i(e))}function p(i,e,t,n){if(i&&i.o){if(po.has(i))return;po.add(i),An.c.push(()=>{po.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Mt(i){return i?.length!==void 0?i:Array.from(i)}function G1(i,e){const t={},n={},o={$$scope:1};let l=i.length;for(;l--;){const s=i[l],r=e[l];if(r){for(const a in s)a in r||(n[a]=1);for(const a in r)o[a]||(t[a]=r[a],o[a]=1);i[l]=r}else for(const a in s)o[a]=1}for(const s in n)s in t||(t[s]=void 0);return t}function Y1(i){return typeof i=="object"&&i!==null?i:{}}function wt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function H(i){i&&i.c()}function O(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),Ln(()=>{const l=i.$$.on_mount.map(la).filter(Ji);i.$$.on_destroy?i.$$.on_destroy.push(...l):Rt(l),i.$$.on_mount=[]}),o.forEach(Ln)}function D(i,e){const t=i.$$;t.fragment!==null&&(Z1(t.after_update),Rt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function K1(i,e){i.$$.dirty[0]===-1&&(Bn.push(i),q1(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function _e(i,e,t,n,o,l,s,r=[-1]){const a=eo;$n(i);const c=i.$$={fragment:null,ctx:[],props:l,update:j,not_equal:o,bound:tl(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:tl(),dirty:r,skip_bound:!1,root:e.target||a.$$.root};s&&s(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(h,v,...g)=>{const b=g.length?g[0]:v;return c.ctx&&o(c.ctx[h],c.ctx[h]=b)&&(!c.skip_bound&&c.bound[h]&&c.bound[h](b),f&&K1(i,h)),v}):[],c.update(),f=!0,Rt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const h=F1(e.target);c.fragment&&c.fragment.l(h),h.forEach(k)}else c.fragment&&c.fragment.c();e.intro&&m(i.$$.fragment),O(i,e.target,e.anchor),fa()}$n(a)}class we{$$=void 0;$$set=void 0;$destroy(){D(this,1),this.$destroy=j}$on(e,t){if(!Ji(t))return j;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&&!R1(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Q1="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Q1);var Hn;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(Hn||(Hn={}));const X1={isMobile:void 0,defaultLanguage:$.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:Hn.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:$.VideoQuality.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0},controls:{hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,slot:void 0,preview:void 0}},J1=i=>$.fillWithDefault(i,X1),x1=i=>aa("ui-config",i),Yi=()=>ua("ui-config"),Ro="vk_player_debug_panel_opened",da=300,$1="videoplayer",eu="videoplayer";var qe;(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"})(qe||(qe={}));const tu=new Set([qe.ArrowLeft,qe.ArrowRight,qe.KeyL,qe.KeyJ]);var ht;(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"})(ht||(ht={}));const nl=40,iu=4,nu=60,ma=[ht.TIMELINE],Oo=[...ma,ht.GRAPH_BUTTON],ol=[...ma,ht.PLAY_BUTTON],Jn=[...Oo,ht.PLAY_BUTTON];var Rn;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(Rn||(Rn={}));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 Fn={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},Mn=[];function ln(i,e){return{subscribe:Fe(i,e).subscribe}}function Fe(i,e=j){let t;const n=new Set;function o(r){if(ve(i,r)&&(i=r,t)){const a=!Mn.length;for(const c of n)c[1](),Mn.push(c,i);if(a){for(let c=0;c<Mn.length;c+=2)Mn[c][0](Mn[c+1]);Mn.length=0}}}function l(r){o(r(i))}function s(r,a=j){const c=[r,a];return n.add(c),n.size===1&&(t=e(o,l)||j),r(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:l,subscribe:s}}function Kt(i,e,t){const n=!Array.isArray(i),o=n?[i]:i;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const l=e.length<2;return ln(t,(s,r)=>{let a=!1;const c=[];let f=0,h=j;const v=()=>{if(f)return;h();const b=e(n?c[0]:c,s,r);l?s(b):h=Ji(b)?b:j},g=o.map((b,A)=>no(b,T=>{c[A]=T,f&=~(1<<A),a&&v()},()=>{f|=1<<A}));return a=!0,v(),function(){Rt(g),h(),a=!1}})}const ou="prod",wo="1.1.32-dev.a1e89bfc.0",ha=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},pa=Symbol("storeContext"),lu=i=>{aa(pa,i)},yt=()=>{const i=ua(pa);return $.assertNonNullable(i,"Store context is empty!"),i},vt=(i,e)=>ga(i,i.getValue(),e),ga=(i,e,t)=>ln(e,n=>{const o=i.subscribe(l=>{n(l),t?.(l)});return()=>o.unsubscribe()}),su=(i,e,t)=>{const n=i.info,{width:o,height:l}=it(t.ui.playerSize),s=n.throughputEstimation$.getValue()?.toFixed(0)??0,r=n.rttEstimation$.getValue()?.toFixed(0)??0,a=n.isAutoQualityEnabled$.getValue()?"auto":"manual",c=`${wo} (core: ${ot.VERSION}, stat: ${pt.VERSION}, shared: ${$.VERSION})`,f=it(t.state.errorLog$),h=f.length?`
|
|
7
|
-
`+f.map((
|
|
8
|
-
`,
|
|
9
|
-
`,
|
|
10
|
-
`;return
|
|
11
|
-
`):void 0,
|
|
12
|
-
`)},ru=(i,e,t)=>{const n=i.info,{width:o,height:l}=it(t.ui.playerSize),s={version:wo,viewport:`${o}x${l}`,volume:Math.round(it(t.state.volume$)*100)};s.id=t.videoId,n.currentFormat$.getValue()&&(s.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(s.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(s.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(s.buffer=Math.max(f.end-it(t.state.positionExact$),0));const h=n.throughputEstimation$.getValue();h&&(s.speed=h);const v=n.videoBitrate$.getValue();return v&&(s.bitrate=v),s},au=(i,e)=>ha(i,e,"mp4"),va="vk_player_prefer_traffic_saving_enabled",ba="vk_player_preferred_volume",_a="vk_player_prefer_volume_mute",Fo="vk_player_preferred_quality",wa=i=>i>1?1:i<0?0:i,ll=i=>$.safeStorage.set(ba,wa(i).toString(10)),ka=()=>{const i=$.safeStorage.get(ba);return $.isNullable(i)?void 0:wa(parseFloat(i))},uu=(i,e)=>$.safeStorage.set(Fo,JSON.stringify({videoId:i,value:e})),ya=()=>$.safeStorage.remove(Fo),cu=i=>{const e=$.safeStorage.get(Fo);if($.isNullable(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){ya();return}return n},Pa=(i,e)=>{e?$.safeStorage.set(i,"true"):$.safeStorage.remove(i)},Ca=i=>$.safeStorage.get(i)==="true",So=i=>Pa(_a,i),fu=()=>Ca(_a),du=i=>Pa(va,i),mu=()=>Ca(va);function hu(i){let e,t,n,o,l,s,r,a,c,f,h,v,g,b,A,T,I,V;return{c(){e=z("svg"),t=z("g"),n=z("path"),o=z("path"),l=z("path"),s=z("path"),r=z("path"),a=z("defs"),c=z("filter"),f=z("feFlood"),h=z("feColorMatrix"),v=z("feOffset"),g=z("feGaussianBlur"),b=z("feColorMatrix"),A=z("feBlend"),T=z("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(o,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(o,"fill","#fff"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(l,"fill","#fff"),u(s,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(s,"fill","#fff"),u(r,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(r,"stroke-linecap","round"),u(r,"stroke-linejoin","round"),u(t,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(h,"in","SourceAlpha"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(h,"result","hardAlpha"),u(g,"stdDeviation","2.5"),u(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(A,"in2","BackgroundImageFix"),u(A,"result","effect1_dropShadow_618_12297"),u(T,"in","SourceGraphic"),u(T,"in2","effect1_dropShadow_618_12297"),u(T,"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",I=!i[0]||null),u(e,"aria-label",V=i[0]||null)},m(E,M){y(E,e,M),d(e,t),d(t,n),d(t,o),d(t,l),d(t,s),d(t,r),d(e,a),d(a,c),d(c,f),d(c,h),d(c,v),d(c,g),d(c,b),d(c,A),d(c,T)},p(E,[M]){M&1&&I!==(I=!E[0]||null)&&u(e,"aria-hidden",I),M&1&&V!==(V=E[0]||null)&&u(e,"aria-label",V)},i:j,o:j,d(E){E&&k(e)}}}function pu(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class Sa extends we{constructor(e){super(),_e(this,e,pu,hu,ve,{ariaLabel:0})}}const gu={auto_quality_invariant:"\u0410\u0432\u0442\u043E",auto_quality:"\u0410\u0432\u0442\u043E ({actual})",auto_quality_option:"\u0410\u0432\u0442\u043E",menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",menu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",menu_report:"\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435",menu_pip:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",menu_copy_video_link:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E",menu_copy_video_link_with_timestamp:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043A\u0430\u0434\u0440",menu_video_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C",menu_chromecast:"Chromecast \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F",menu_copy_debug:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_save_debug:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",pip_dummy_title:"\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",submenu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",submenu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",submenu_settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",submenu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",mobile_unmute:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",playing_ads:"\u0420\u0435\u043A\u043B\u0430\u043C\u0430 {timeleft}",skip_ads_now:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",skip_ads_after:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u0447\u0435\u0440\u0435\u0437 {time}\u0441",visit_advertiser:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442",aria_timeline:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B",aria_timeline_value:"{position} (\u043E\u0431\u0449\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C {duration}",aria_open_settings:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0438\u0434\u0435\u043E\u043F\u043B\u0435\u0435\u0440\u0430",doubletap_seek_step:"{seconds} \u0441\u0435\u043A\u0443\u043D\u0434",playback_rate_1:"\u041E\u0431\u044B\u0447\u043D\u0430\u044F",playback_rate:"{multiplier}x",video360:"\u043F\u0430\u043D\u043E\u0440\u0430\u043C\u043D\u043E\u0435 \u0432\u0438\u0434\u0435\u043E",subtitles_caption:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_auto:"{language} (\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435)",subtitles_off:"\u0412\u044B\u043A\u043B.",subtitles_auto_caption:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",traffic_saving_off:"\u041E\u0442\u043A\u043B.",traffic_saving_on:"\u0412\u043A\u043B.",traffic_saving_disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_enable:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_helper_text:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u0432\u0438\u0434\u0435\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u0438\u0436\u0435\u043D\u043E \u0434\u043B\u044F \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043A\u0430",tooltip_button_disabled:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_previous:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_restart:"\u041D\u0430\u0447\u0430\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E",tooltip_play:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",tooltip_pause:"\u041F\u0430\u0443\u0437\u0430",tooltip_next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_interactive_go_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0433\u043B\u0430\u0432\u0435",tooltip_interactive_go_back_disabled:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_interactive_go_back_disabled_first:"\u0412\u044B \u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043F\u0435\u0440\u0432\u0443\u044E \u0433\u043B\u0430\u0432\u0443",tooltip_interactive_go_back_disabled_limit:"\u041B\u0438\u043C\u0438\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u0432 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",tooltip_interactive_seek:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0443",tooltip_interactive_graph_off:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_interactive_graph_on:"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_live:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u043D\u0430 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043B\u0430\u0439\u0432",tooltip_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",tooltip_volume:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_volume_muted:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_subtitles_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_subtitles_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_settings_off:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_settings_on:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_fullscreen_off:"\u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D",tooltip_fullscreen_on:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",tooltip_chromecast_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_chromecast_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_episode_finished:"\u0412\u044B \u0443\u0436\u0435 \u0441\u0434\u0435\u043B\u0430\u043B\u0438 \u0441\u0432\u043E\u0439 \u0432\u044B\u0431\u043E\u0440",tooltip_episode_unfinished:"\u041D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043E",tooltip_disabled_when_interactive:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_disabled_when_graph_on:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043A\u0430\u0440\u0442\u044B",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430"},vu={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_save_debug:"Save debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_restart:"Watch again",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_go_back:"Back to previous chapter",tooltip_interactive_go_back_disabled:"Interactive history unavailable",tooltip_interactive_go_back_disabled_first:"You're watching the first chapter",tooltip_interactive_go_back_disabled_limit:"Go-back limit exceeded",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Button is disabled during interactive video",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon"},cn=new Map;cn.set($.InterfaceLanguage.EN,vu);cn.set($.InterfaceLanguage.RU,gu);const Ta=new Map,sl=({language:i,pack:e,fallback:t})=>{if(cn.has(i)){const n=cn.get(i);cn.set(i,{...n,...e})}else cn.set(i,e);Ta.set(i,t)},rl=i=>cn.has(i),Aa=(i,e,t,n)=>{let l=cn.get(i)?.[e];if($.isNullable(l)){const s=Ta.get(i)??n;l=(s?cn.get(s):void 0)?.[e]}return $.isNullable(l)?e+Object.values(t??{}).join(" "):t?l.replaceAll(/{(\w+?)}/g,(s,r)=>t[r]??""):l},oe=(i,e)=>{const{interfaceLanguage$:t}=yt(),n=it(t),o=Yi();return Aa(n,i,e,o.defaultLanguage)};var go;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(go||(go={}));const bu=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,_u=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,wu=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,co="?",ku="X-Sentry-Auth",yu=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Pu(i){if(!i.stack)return null;const e=[],t=i.stack.split(`
|
|
13
|
-
`);let n,o;for(let
|
|
14
|
-
`).filter(t=>!!t)[0]}function Cu(i){try{const e=Pu(i);if(e)return e}catch{}return{value:Ea(i),type:i&&i.name,stacktrace:{frames:[]}}}function Su(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class Tu{constructor(e){if(e&&e.dsn){const t=yu.exec(e.dsn),n=t?t.slice(1):[],o=n[5].split("/"),l=o.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(l?"/"+l:"")+"/api/"+o.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return{...this.getRequestBlank(),exception:{values:[Cu(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(ku,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:Su(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function al(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function Au(){return window}class Uo extends Tu{constructor(e,t=Au()){super(e),this.options=e,this.window=t,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:o=c=>c,beforeBreadcrumb:l=c=>c,blacklistUrls:s=[],ignoreErrors:r=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=l,this.blacklistUrls=s,this.ignoreErrors=r,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",{...e}),this}setTag(e,t){return this.extendState({tags:{[e]:t}}),this}setExtra(e,t){return this.extendState({extra:{[e]:t}}),this}setExtras(e){return this.setKeyState("extra",{...e}),this}setUser(e){return this.setKeyState("user",{...e}),this}clone(){const e=new Uo({...this.options,plugins:[]});return e.extendState(this.state),e}withScope(e){const t=this.clone();e(t),t.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[{timestamp:Date.now()/1e3,...this.beforeBreadcrumb(e)}]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send({...this.getRequestBlank(),message:e,level:t})}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(t=>this.ignoreErrors.some(n=>al(t,n))):!1}getRequestBlank(){return{request:{url:this.window.location.toString(),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},...this.state}}send(e){this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e)||(super.send(this.beforeSend({release:this.release,...e})),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch{return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const t=this.getEventFilterUrl(e);return t?this.blacklistUrls.some(n=>al(t,n)):!1}getEventFilterUrl(e){try{if(e.exception){const t=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return t&&t[t.length-1].filename||null}return null}catch{return null}}extendState(e){this._state=Object.keys(e).reduce((t,n)=>{const o=this._state[n],l=Array.isArray(o)?o:null,s=e[n],r=Array.isArray(s)?s:null;return{...t,[n]:l||r?[...l||[],...r||[]]:{...typeof o!="string"?o:{},...typeof s!="string"?s:{}}}},this._state)}setKeyState(e,t){this._state[e]=t}}let fo=null;class Do{sentrySubscription;options;version;context;sentryClient;constructor(e,t,n={}){!fo&&e.dsn&&(this.sentryClient=new Uo({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new $.Subscription,this.options=e,this.context=n,fo=this)}destroy(){this.sentryClient?.destroy(),this.sentrySubscription?.unsubscribe(),fo=null}logIError(e,t=!1){e.thrown&&this.report(e.thrown,{fatal:t,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,t={},n={}){const{sentryClient:o,context:l,options:s}=this,{sampleRate:r=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:h}=s,{errorType:v,category:g}=t;if($.isNonNullable(g)&&h.includes(g)||$.isNonNullable(v)&&f.includes(v))return;if(Math.random()<=r||$.isNonNullable(g)&&c.includes(g)||$.isNonNullable(v)&&a.includes(v)){Object.keys(t).length&&o.setTags({version:this.version,...t}),(Object.keys(l).length||Object.keys(n).length)&&o.setExtras({...l,...n});try{v&&o.captureMessage(v,t.fatal?go.fatal:go.error),o.report(e)}catch(A){console.error(A)}}}static getInstance(){return fo}}var Dn;(function(i){i.AUTO="auto"})(Dn||(Dn={}));var Be;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(Be||(Be={}));var un;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(un||(un={}));var Nt;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(Nt||(Nt={}));var fn;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(fn||(fn={}));var Ke;(function(i){i.PLAY="PLAY",i.STOP="STOP",i.BACKWARD_SEEK="BACKWARD_SEEK",i.FORWARD_SEEK="FORWARD_SEEK",i.SUBTITLES_ON="SUBTITLES_ON",i.SUBTITLES_OFF="SUBTITLES_OFF",i.RATE_UP="RATE_UP",i.RATE_DOWN="RATE_DOWN",i.EPISODE_PREV="EPISODE_PREV",i.EPISODE_NEXT="EPISODE_NEXT",i.MUTE="MUTE",i.VOLUME="VOLUME"})(Ke||(Ke={}));var En;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(En||(En={}));const La=i=>{if(i.requestFullscreen)return i.requestFullscreen();if(i.msRequestFullscreen)return i.msRequestFullscreen();if(i.webkitRequestFullscreen)return i.webkitRequestFullscreen();if(i.mozRequestFullScreen)return i.mozRequestFullScreen();const e=i.querySelector("video");return e?.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Va=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),Eu=i=>{const e=i;return e?.webkitExitFullscreen?e?.webkitExitFullscreen():Promise.reject()},io=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},Ia=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},za=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},Lu=i=>{const e=window.screen;return(async o=>e.orientation?e.orientation.lock(o):e.mozLockOrientation?e.mozLockOrientation(o):e.msLockOrientation?e.msLockOrientation(o):Promise.reject())(((o={width:0,height:0})=>o.width<=o.height?"portrait":"landscape")(i))},Vu=()=>({title:oe("hotkey_map_modal_title"),closeBtnText:oe("hotkey_map_modal_close_btn_text"),groups:[{title:oe("hotkey_map_group_title_common"),items:[{description:oe("hotkey_map_item_mute_description"),value:oe("hotkey_map_item_mute_value")},{description:oe("hotkey_map_item_volume_up_description"),value:oe("hotkey_map_item_volume_up_value")},{description:oe("hotkey_map_item_volume_down_description"),value:oe("hotkey_map_item_volume_down_value")},{description:oe("hotkey_map_item_pip_description"),value:oe("hotkey_map_item_pip_value")},{description:oe("hotkey_map_item_full_screen_description"),value:oe("hotkey_map_item_full_screen_value")},{description:oe("hotkey_map_item_show_hotkey_map_description"),value:oe("hotkey_map_item_show_hotkey_map_value")}]},{title:oe("hotkey_map_group_title_playback"),items:[{description:oe("hotkey_map_item_play_toggle_description"),value:oe("hotkey_map_item_play_toggle_value")},{description:oe("hotkey_map_item_seek_backward_description"),value:oe("hotkey_map_item_seek_backward_value")},{description:oe("hotkey_map_item_seek_forward_description"),value:oe("hotkey_map_item_seek_forward_value")},{description:oe("hotkey_map_item_fast_seek_backward_description"),value:oe("hotkey_map_item_fast_seek_backward_value")},{description:oe("hotkey_map_item_fast_seek_forward_description"),value:oe("hotkey_map_item_fast_seek_forward_value")},{description:oe("hotkey_map_item_rate_down_description"),value:oe("hotkey_map_item_rate_down_value")},{description:oe("hotkey_map_item_rate_up_description"),value:oe("hotkey_map_item_rate_up_value")},{description:oe("hotkey_map_item_prev_frame_description"),value:oe("hotkey_map_item_prev_frame_value")},{description:oe("hotkey_map_item_next_frame_description"),value:oe("hotkey_map_item_next_frame_value")},{description:oe("hotkey_map_item_jump_seek_description"),value:oe("hotkey_map_item_jump_seek_value")}]},{title:oe("hotkey_map_group_title_subtitles"),items:[{description:oe("hotkey_map_item_subtitles_toggle_description"),value:oe("hotkey_map_item_subtitles_toggle_value")}]},{title:oe("hotkey_map_group_title_episodes"),items:[{description:oe("hotkey_map_item_prev_episode_description"),value:$.isMacLike()?oe("hotkey_map_item_prev_episode_mac_value"):oe("hotkey_map_item_prev_episode_pc_value")},{description:oe("hotkey_map_item_next_episode_description"),value:$.isMacLike()?oe("hotkey_map_item_next_episode_mac_value"):oe("hotkey_map_item_next_episode_pc_value")}]}]});function Iu(i){let e,t,n,o;return{c(){e=z("svg"),t=z("g"),n=z("path"),o=z("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(o,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(t,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(l,s){y(l,e,s),d(e,t),d(t,n),d(t,o)},p:j,i:j,o:j,d(l){l&&k(e)}}}class zu extends we{constructor(e){super(),_e(this,e,null,Iu,ve,{})}}function Mu(i){He(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 Nu(i){let e,t,n,o,l,s,r;return n=new zu({}),{c(){e=w("div"),t=w("div"),H(n.$$.fragment),o=N(),l=w("span"),s=Ue(i[0]),u(t,"class","dummy-image v-1pbsod4"),C(t,"desktop",!i[1]),u(l,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),C(e,"is-pip-api",i[2])},m(a,c){y(a,e,c),d(e,t),O(n,t,null),d(e,o),d(e,l),d(l,s),r=!0},p(a,[c]){(!r||c&2)&&C(t,"desktop",!a[1]),(!r||c&1)&&Xe(s,a[0])},i(a){r||(m(n.$$.fragment,a),r=!0)},o(a){p(n.$$.fragment,a),r=!1},d(a){a&&k(e),D(n)}}}function Bu(i,e,t){let n,o;const l=yt(),s=!!l.webApi.pictureInPictureApi,r=l.interfaceLanguage$;U(i,r,f=>t(5,n=f));const a=l.ui.isMobile;U(i,a,f=>t(1,o=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&oe("pip_dummy_title"))},[c,o,s,r,a,n]}class Ma extends we{constructor(e){super(),_e(this,e,Bu,Nu,ve,{},Mu)}}class Wo{isRequested=!1;videoElement=void 0;playerContainer=void 0;playerDummyElement;svelteContext;externalEventHandlers={};eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:$.debounceFn(this.onResize.bind(this),da)};info={isActive$:new $.ValueSubject(this.isActive()),type:fn.PictureInPicture};isSupported(){const e=$.getCurrentBrowser().browser===$.CurrentClientBrowser.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async request(){if(!(!this.isSupported()||this.isActive()))try{await this.videoElement?.requestPictureInPicture()}catch{this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){this.isSupported()&&(this.videoElement=this.playerContainer?.querySelector("video"))}registryEventHandlers(){this.videoElement?.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){this.videoElement?.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){const n=e.pictureInPictureWindow;n&&(this.info.isActive$.next(!0),this.isRequested=!0,n.addEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.enterpictureinpicture?.(e),this.playerDummyElement=new Ma({target:this.playerContainer,context:this.svelteContext}))}onLeavePictureInPicture(e){const n=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,n?.removeEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.leavepictureinpicture?.(e),this.playerDummyElement?.$destroy()}onResize(e){this.externalEventHandlers.resize?.(e)}}function vo(i){return i instanceof Wo}function Ru(i){const e=yt();return ji(()=>{e.getAdmanWrapper().startPostroll()}),[]}class Ou extends we{constructor(e){super(),_e(this,e,Ru,null,ve,{})}}const sn=i=>{if(!isFinite(i))return"00:00";let e=Math.round(i);const t=Math.floor(e/(60*60));e-=t*(60*60);const n=Math.floor(e/60);return e-=n*60,(t>0?[t,n,e]:[n,e]).map(l=>l>9?String(l):`0${l}`).join(":")};function Du(i){He(i,"v-17pubzn",".container.v-17pubzn{position:absolute;top:14px;left:16px;padding:4px 8px;font-size:13px;color:var(--white);background:rgba(0, 0, 0, 0.35);border-radius:4px}.container-mobile.v-17pubzn{font-size:15px;background:unset;border-radius:unset}")}function Hu(i){let e,t=oe("playing_ads",{timeleft:i[0]})+"",n;return{c(){e=w("div"),n=Ue(t),u(e,"class","container v-17pubzn"),C(e,"container-mobile",i[1])},m(o,l){y(o,e,l),d(e,n)},p(o,[l]){l&1&&t!==(t=oe("playing_ads",{timeleft:o[0]})+"")&&Xe(n,t),l&2&&C(e,"container-mobile",o[1])},i:j,o:j,d(o){o&&k(e)}}}function Fu(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const r=yt().ui.isMobile;U(i,r,c=>t(1,n=c));let a;return i.$$set=c=>{"position"in c&&t(3,o=c.position),"duration"in c&&t(4,l=c.duration)},i.$$.update=()=>{i.$$.dirty&24&&t(0,a=sn(l-o))},[a,n,r,o,l]}class Uu extends we{constructor(e){super(),_e(this,e,Fu,Hu,ve,{position:3,duration:4},Du)}}function Wu(i){He(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 qu(i){let e=oe("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=Ue(e)},m(n,o){y(n,t,o)},p(n,o){o&3&&e!==(e=oe("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&Xe(t,e)},d(n){n&&k(t)}}}function ju(i){let e,t=oe("skip_ads_now")+"",n,o,l,s,r,a;return{c(){e=w("div"),n=Ue(t),o=N(),l=z("svg"),s=z("path"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(l,"class","icon v-22jj8o"),u(l,"width","7"),u(l,"height","12"),u(l,"viewBox","0 0 7 12"),u(l,"fill","none"),u(l,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){y(c,e,f),d(e,n),d(e,o),d(e,l),d(l,s),r||(a=Ae(e,"click",ct(function(){Ji(i[2])&&i[2].apply(this,arguments)})),r=!0)},p(c,f){i=c},d(c){c&&k(e),r=!1,a()}}}function Zu(i){let e;function t(l,s){return l[3]?ju:qu}let n=t(i),o=n(i);return{c(){e=w("div"),o.c(),u(e,"class","container v-22jj8o"),C(e,"container-mobile",i[4]),C(e,"skippable",i[3])},m(l,s){y(l,e,s),o.m(e,null)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e,null))),s&16&&C(e,"container-mobile",l[4]),s&8&&C(e,"skippable",l[3])},i:j,o:j,d(l){l&&k(e),o.d()}}}function Gu(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:l=0}=e,{skipAd:s=$.noop}=e;const a=yt().ui.isMobile;U(i,a,f=>t(4,n=f));let c;return i.$$set=f=>{"position"in f&&t(0,o=f.position),"secondsToWatchBeforeSkip"in f&&t(1,l=f.secondsToWatchBeforeSkip),"skipAd"in f&&t(2,s=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=o>0&&o>=l)},[o,l,s,c,n,a]}class Yu extends we{constructor(e){super(),_e(this,e,Gu,Zu,ve,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},Wu)}}function Ku(i){He(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 Qu(i){let e;return{c(){e=w("button"),e.textContent=`${oe("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){y(t,e,n)},p:j,i:j,o:j,d(t){t&&k(e)}}}class Xu extends we{constructor(e){super(),_e(this,e,null,Qu,ve,{},Ku)}}function Ju(i){He(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 iu=Object.create;var sl=Object.defineProperty;var nu=Object.getOwnPropertyDescriptor;var ou=Object.getOwnPropertyNames;var lu=Object.getPrototypeOf,su=Object.prototype.hasOwnProperty;var ru=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of ou(e))!su.call(i,o)&&o!==t&&sl(i,o,{get:()=>e[o],enumerable:!(n=nu(e,o))||n.enumerable});return i};var rl=(i,e,t)=>(t=i!=null?iu(lu(i)):{},ru(e||!i||!i.__esModule?sl(t,"default",{value:i,enumerable:!0}):t,i));var rt=require("@vkontakte/videoplayer-core/esnext.cjs.js"),ie=require("@vkontakte/videoplayer-shared/esnext.cjs.js"),_t=require("@vkontakte/videoplayer-statistics/esnext.cjs.js");function H(){}function ua(i,e){for(const t in e)i[t]=e[t];return i}function ca(i){return i()}function al(){return Object.create(null)}function qt(i){i.forEach(ca)}function en(i){return typeof i=="function"}function ge(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ko;function ul(i,e){return ko||(ko=document.createElement("a")),ko.href=e,i===ko.href}function au(i){return Object.keys(i).length===0}function Kt(i,...e){if(i==null){for(const n of e)n(void 0);return H}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function lt(i){let e;return Kt(i,t=>e=t)(),e}function W(i,e,t){i.$$.on_destroy.push(Kt(e,t))}function Tn(i,e,t,n){if(i){const o=fa(i,e,t,n);return i[0](o)}}function fa(i,e,t,n){return i[1]&&n?ua(t.ctx.slice(),i[1](n(e))):t.ctx}function An(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 s=[],l=Math.max(e.dirty.length,o.length);for(let r=0;r<l;r+=1)s[r]=e.dirty[r]|o[r];return s}return e.dirty|o}return e.dirty}function En(i,e,t,n,o,s){if(o){const l=fa(e,t,n,s);i.p(l,o)}}function In(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 uu(i){return i??""}const da=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function d(i,e){i.appendChild(e)}function Ue(i,e,t){const n=cu(i);if(!n.getElementById(e)){const o=_("style");o.id=e,o.textContent=t,fu(n,o)}}function cu(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function fu(i,e){return d(i.head||i,e),e.sheet}function w(i,e,t){i.insertBefore(e,t||null)}function k(i){i.parentNode&&i.parentNode.removeChild(i)}function rn(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function _(i){return document.createElement(i)}function M(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Fe(i){return document.createTextNode(i)}function B(){return Fe(" ")}function kt(){return Fe("")}function Te(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function ri(i){return function(e){return e.preventDefault(),i.call(this,e)}}function pt(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 du(i){return Array.from(i.childNodes)}function xe(i,e){e=""+e,i.data!==e&&(i.data=e)}function Mt(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let wo;function mu(){if(wo===void 0){wo=!1;try{typeof window<"u"&&window.parent&&window.parent.document}catch{wo=!0}}return wo}function Qo(i,e){getComputedStyle(i).position==="static"&&(i.style.position="relative");const n=_("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=mu();let s;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=Te(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{s=Te(n.contentWindow,"resize",e),e()}),d(i,n),()=>{(o||s&&n.contentWindow)&&s(),k(n)}}function A(i,e,t){i.classList.toggle(e,!!t)}function vn(i,e){return new i(e)}let uo;function ao(i){uo=i}function fo(){if(!uo)throw new Error("Function called outside component initialization");return uo}function an(i){fo().$$.on_mount.push(i)}function Io(i){fo().$$.on_destroy.push(i)}function ma(i,e){return fo().$$.context.set(i,e),e}function pa(i){return fo().$$.context.get(i)}function ha(){return fo().$$.context}function Qn(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Wn=[],Me=[];let Kn=[];const jo=[],pu=Promise.resolve();let Zo=!1;function hu(){Zo||(Zo=!0,pu.then(ga))}function Xn(i){Kn.push(i)}function Ke(i){jo.push(i)}const Bo=new Set;let qn=0;function ga(){if(qn!==0)return;const i=uo;do{try{for(;qn<Wn.length;){const e=Wn[qn];qn++,ao(e),gu(e.$$)}}catch(e){throw Wn.length=0,qn=0,e}for(ao(null),Wn.length=0,qn=0;Me.length;)Me.pop()();for(let e=0;e<Kn.length;e+=1){const t=Kn[e];Bo.has(t)||(Bo.add(t),t())}Kn.length=0}while(Wn.length);for(;jo.length;)jo.pop()();Zo=!1,Bo.clear(),ao(i)}function gu(i){if(i.fragment!==null){i.update(),qt(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Xn)}}function bu(i){const e=[],t=[];Kn.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),Kn=e}const To=new Set;let Bn;function pe(){Bn={r:0,c:[],p:Bn}}function he(){Bn.r||qt(Bn.c),Bn=Bn.p}function m(i,e){i&&i.i&&(To.delete(i),i.i(e))}function h(i,e,t,n){if(i&&i.o){if(To.has(i))return;To.add(i),Bn.c.push(()=>{To.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Ht(i){return i?.length!==void 0?i:Array.from(i)}function vu(i,e){const t={},n={},o={$$scope:1};let s=i.length;for(;s--;){const l=i[s],r=e[s];if(r){for(const a in l)a in r||(n[a]=1);for(const a in r)o[a]||(t[a]=r[a],o[a]=1);i[s]=r}else for(const a in l)o[a]=1}for(const l in n)l in t||(t[l]=void 0);return t}function _u(i){return typeof i=="object"&&i!==null?i:{}}function Ye(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function O(i){i&&i.c()}function z(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),Xn(()=>{const s=i.$$.on_mount.map(ca).filter(en);i.$$.on_destroy?i.$$.on_destroy.push(...s):qt(s),i.$$.on_mount=[]}),o.forEach(Xn)}function D(i,e){const t=i.$$;t.fragment!==null&&(bu(t.after_update),qt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function ku(i,e){i.$$.dirty[0]===-1&&(Wn.push(i),hu(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function ve(i,e,t,n,o,s,l,r=[-1]){const a=uo;ao(i);const c=i.$$={fragment:null,ctx:[],props:s,update:H,not_equal:o,bound:al(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:al(),dirty:r,skip_bound:!1,root:e.target||a.$$.root};l&&l(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(p,b,...g)=>{const v=g.length?g[0]:b;return c.ctx&&o(c.ctx[p],c.ctx[p]=v)&&(!c.skip_bound&&c.bound[p]&&c.bound[p](v),f&&ku(i,p)),b}):[],c.update(),f=!0,qt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const p=du(e.target);c.fragment&&c.fragment.l(p),p.forEach(k)}else c.fragment&&c.fragment.c();e.intro&&m(i.$$.fragment),z(i,e.target,e.anchor),ga()}ao(a)}class _e{$$=void 0;$$set=void 0;$destroy(){D(this,1),this.$destroy=H}$on(e,t){if(!en(t))return H;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&&!au(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const wu="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(wu);var Jn;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(Jn||(Jn={}));const yu={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:Jn.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},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}},Cu=i=>ie.fillWithDefault(i,yu),Pu=i=>ma("ui-config",i),Ki=()=>pa("ui-config"),Wo="vk_player_debug_panel_opened",ba=300,Su="videoplayer",Tu="videoplayer";var We;(function(i){i.ArrowLeft="ArrowLeft",i.ArrowUp="ArrowUp",i.ArrowRight="ArrowRight",i.ArrowDown="ArrowDown",i.Comma="Comma",i.Period="Period",i.Space="Space",i.KeyM="KeyM",i.KeyF="KeyF",i.KeyK="KeyK",i.KeyL="KeyL",i.KeyJ="KeyJ",i.KeyC="KeyC",i.KeyI="KeyI",i.Digit1="Digit1",i.Digit2="Digit2",i.Digit3="Digit3",i.Digit4="Digit4",i.Digit5="Digit5",i.Digit6="Digit6",i.Digit7="Digit7",i.Digit8="Digit8",i.Digit9="Digit9",i.Digit0="Digit0",i.Numpad1="Numpad1",i.Numpad2="Numpad2",i.Numpad3="Numpad3",i.Numpad4="Numpad4",i.Numpad5="Numpad5",i.Numpad6="Numpad6",i.Numpad7="Numpad7",i.Numpad8="Numpad8",i.Numpad9="Numpad9",i.Numpad0="Numpad0",i.ShiftLeft="ShiftLeft",i.ShiftRight="ShiftRight",i.Slash="Slash"})(We||(We={}));const Au=new Set([We.ArrowLeft,We.ArrowRight,We.KeyL,We.KeyJ]);var bt;(function(i){i.PLAY_BUTTON="PLAY_BUTTON",i.REPLAY_BUTTON="REPLAY_BUTTON",i.NEXT_BUTTON="NEXT_BUTTON",i.PREV_BUTTON="PREV_BUTTON",i.PICTURE_IN_PICTURE="PICTURE_IN_PICTURE",i.FULLSCREEN_BUTTON="FULLSCREEN_BUTTON",i.SETTINGS_BUTTON="SETTINGS_BUTTON",i.LIVE_BUTTON="LIVE_BUTTON",i.GRAPH_BUTTON="GRAPH_BUTTON",i.PLAY_PREV_CHAPTER_BUTTON="PLAY_PREV_CHAPTER_BUTTON",i.SEEK_TO_INTERACTIVE_BUTTON="SEEK_TO_INTERACTIVE_BUTTON",i.TIMELINE="TIMELINE",i.VOLUME_BAR="VOLUME_BAR",i.MUTE_BUTTON="MUTE_BUTTON",i.SUBTITLES_BUTTON="SUBTITLES_BUTTON",i.CHROMECAST_BUTTON="CHROMECAST_BUTTON",i.VK_BUTTON="VK_BUTTON",i.EPISODE_BUTTON="EPISODE_BUTTON",i.INCREMENT_PLAYBACK_RATE="INCREMENT_PLAYBACK_RATE",i.DECREMENT_PLAYBACK_RATE="DECREMENT_PLAYBACK_RATE"})(bt||(bt={}));const cl=40,fl=260,Eu=60,va=[bt.TIMELINE],Go=[...va,bt.GRAPH_BUTTON],dl=[...va,bt.PLAY_BUTTON],so=[...Go,bt.PLAY_BUTTON];var Gn;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(Gn||(Gn={}));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 xn={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},jn=[];function gn(i,e){return{subscribe:Oe(i,e).subscribe}}function Oe(i,e=H){let t;const n=new Set;function o(r){if(ge(i,r)&&(i=r,t)){const a=!jn.length;for(const c of n)c[1](),jn.push(c,i);if(a){for(let c=0;c<jn.length;c+=2)jn[c][0](jn[c+1]);jn.length=0}}}function s(r){o(r(i))}function l(r,a=H){const c=[r,a];return n.add(c),n.size===1&&(t=e(o,s)||H),r(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:s,subscribe:l}}function $t(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 s=e.length<2;return gn(t,(l,r)=>{let a=!1;const c=[];let f=0,p=H;const b=()=>{if(f)return;p();const v=e(n?c[0]:c,l,r);s?l(v):p=en(v)?v:H},g=o.map((v,C)=>Kt(v,P=>{c[C]=P,f&=~(1<<C),a&&b()},()=>{f|=1<<C}));return a=!0,b(),function(){qt(g),p(),a=!1}})}const Iu="prod",Lo="1.1.32-dev.a44460f3.0",_a=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},ka=Symbol("storeContext"),Lu=i=>{ma(ka,i)},St=()=>{const i=pa(ka);return ie.assertNonNullable(i,"Store context is empty!"),i},yt=(i,e)=>wa(i,i.getValue(),e),wa=(i,e,t)=>gn(e,n=>{const o=i.subscribe(s=>{n(s),t?.(s)});return()=>o.unsubscribe()}),Vu=(i,e,t)=>{const n=i.info,{width:o,height:s}=lt(t.ui.playerSize),l=n.throughputEstimation$.getValue()?.toFixed(0)??0,r=n.rttEstimation$.getValue()?.toFixed(0)??0,a=n.isAutoQualityEnabled$.getValue()?"auto":"manual",c=`${Lo} (core: ${rt.VERSION}, stat: ${_t.VERSION}, shared: ${ie.VERSION})`,f=lt(t.state.errorLog$),p=f.length?`
|
|
7
|
+
`+f.map((v,C)=>{const P=`${C}) Type: ${v.id}
|
|
8
|
+
`,V=`Message: ${v.message} (${v.thrown})
|
|
9
|
+
`,I=`Trace: ${v.thrown?.stack}
|
|
10
|
+
`;return P+V+I}).join(`
|
|
11
|
+
`):void 0,b=t.state.isAudioDisabled?"disabled":lt(t.state.isAudioAvailable$)?void 0:"unavailable",g={Version:c,Browser:navigator.userAgent,Config:i.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(t.videoId),"Content host":n.hostname$.getValue(),"Connection type":n.httpConnectionType$.getValue()+(n.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${l}Kbps @ ${r}ms RTT`,Format:n.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${a} ${n.currentQuality$.getValue()}`,"Available qualities":n.availableQualities$.getValue().join(", "),Audio:b,Position:`${lt(t.state.positionExact$)}s`,State:`${lt(t.playerPhase)} ${n.playbackState$.getValue()}`,"Player size":`${o}x${s}`,URL:window.location.href,Errors:p};return Object.entries(g).filter(([v,C])=>C!==void 0).map(([v,C])=>`${v}: ${C}`).join(`
|
|
12
|
+
`)},Mu=(i,e,t)=>{const n=i.info,{width:o,height:s}=lt(t.ui.playerSize),l={version:Lo,viewport:`${o}x${s}`,volume:Math.round(lt(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-lt(t.state.positionExact$),0));const p=n.throughputEstimation$.getValue();p&&(l.speed=p);const b=n.videoBitrate$.getValue();return b&&(l.bitrate=b),l},Bu=(i,e)=>_a(i,e,"mp4"),ya="vk_player_prefer_traffic_saving_enabled",Ca="vk_player_preferred_volume",Pa="vk_player_prefer_volume_mute",Xo="vk_player_preferred_quality",Sa=i=>i>1?1:i<0?0:i,ml=i=>ie.safeStorage.set(Ca,Sa(i).toString(10)),Ta=()=>{const i=ie.safeStorage.get(Ca);return ie.isNullable(i)?void 0:Sa(parseFloat(i))},Nu=(i,e)=>ie.safeStorage.set(Xo,JSON.stringify({videoId:i,value:e})),Aa=()=>ie.safeStorage.remove(Xo),Ru=i=>{const e=ie.safeStorage.get(Xo);if(ie.isNullable(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){Aa();return}return n},Ea=(i,e)=>{e?ie.safeStorage.set(i,"true"):ie.safeStorage.remove(i)},Ia=i=>ie.safeStorage.get(i)==="true",No=i=>Ea(Pa,i),zu=()=>Ia(Pa),Du=i=>Ea(ya,i),Ou=()=>Ia(ya);function Hu(i){let e,t,n,o,s,l,r,a,c,f,p,b,g,v,C,P,V,I;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),s=M("path"),l=M("path"),r=M("path"),a=M("defs"),c=M("filter"),f=M("feFlood"),p=M("feColorMatrix"),b=M("feOffset"),g=M("feGaussianBlur"),v=M("feColorMatrix"),C=M("feBlend"),P=M("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(o,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(o,"fill","#fff"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(s,"fill","#fff"),u(l,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(l,"fill","#fff"),u(r,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(r,"stroke-linecap","round"),u(r,"stroke-linejoin","round"),u(t,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(p,"in","SourceAlpha"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(p,"result","hardAlpha"),u(g,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(C,"in2","BackgroundImageFix"),u(C,"result","effect1_dropShadow_618_12297"),u(P,"in","SourceGraphic"),u(P,"in2","effect1_dropShadow_618_12297"),u(P,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",V=!i[0]||null),u(e,"aria-label",I=i[0]||null)},m(L,N){w(L,e,N),d(e,t),d(t,n),d(t,o),d(t,s),d(t,l),d(t,r),d(e,a),d(a,c),d(c,f),d(c,p),d(c,b),d(c,g),d(c,v),d(c,C),d(c,P)},p(L,[N]){N&1&&V!==(V=!L[0]||null)&&u(e,"aria-hidden",V),N&1&&I!==(I=L[0]||null)&&u(e,"aria-label",I)},i:H,o:H,d(L){L&&k(e)}}}function Fu(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class La extends _e{constructor(e){super(),ve(this,e,Fu,Hu,ge,{ariaLabel:0})}}const Uu={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"},qu={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"},yn=new Map;yn.set(ie.InterfaceLanguage.EN,qu);yn.set(ie.InterfaceLanguage.RU,Uu);const Va=new Map,pl=({language:i,pack:e,fallback:t})=>{if(yn.has(i)){const n=yn.get(i);yn.set(i,{...n,...e})}else yn.set(i,e);Va.set(i,t)},hl=i=>yn.has(i),Ma=(i,e,t,n)=>{let s=yn.get(i)?.[e];if(ie.isNullable(s)){const l=Va.get(i)??n;s=(l?yn.get(l):void 0)?.[e]}return ie.isNullable(s)?e+Object.values(t??{}).join(" "):t?s.replaceAll(/{(\w+?)}/g,(l,r)=>t[r]??""):s},oe=(i,e)=>{const{interfaceLanguage$:t}=St(),n=lt(t),o=Ki();return Ma(n,i,e,o.defaultLanguage)};var Ao;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(Ao||(Ao={}));const ju=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Zu=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,Wu=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,yo="?",Gu="X-Sentry-Auth",Ku=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Yu(i){if(!i.stack)return null;const e=[],t=i.stack.split(`
|
|
13
|
+
`);let n,o;for(let s=0;s<t.length;++s){if(n=ju.exec(t[s]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||yo,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=Wu.exec(t[s]))o={filename:n[2],function:n[1]||yo,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=Zu.exec(t[s]))s===0&&!n[5]&&i.columnNumber!==void 0&&(e[0].column=i.columnNumber+1),o={filename:n[3],function:n[1]||yo,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=yo),e.push(o)}return e.length?{value:Ba(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function Ba(i){return(i&&i.message||"No error message").split(`
|
|
14
|
+
`).filter(t=>!!t)[0]}function Qu(i){try{const e=Yu(i);if(e)return e}catch{}return{value:Ba(i),type:i&&i.name,stacktrace:{frames:[]}}}function Xu(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class Ju{constructor(e){if(e&&e.dsn){const t=Ku.exec(e.dsn),n=t?t.slice(1):[],o=n[5].split("/"),s=o.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(s?"/"+s:"")+"/api/"+o.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return{...this.getRequestBlank(),exception:{values:[Qu(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(Gu,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:Xu(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function gl(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function xu(){return window}class Jo extends Ju{constructor(e,t=xu()){super(e),this.options=e,this.window=t,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:o=c=>c,beforeBreadcrumb:s=c=>c,blacklistUrls:l=[],ignoreErrors:r=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=s,this.blacklistUrls=l,this.ignoreErrors=r,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",{...e}),this}setTag(e,t){return this.extendState({tags:{[e]:t}}),this}setExtra(e,t){return this.extendState({extra:{[e]:t}}),this}setExtras(e){return this.setKeyState("extra",{...e}),this}setUser(e){return this.setKeyState("user",{...e}),this}clone(){const e=new Jo({...this.options,plugins:[]});return e.extendState(this.state),e}withScope(e){const t=this.clone();e(t),t.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[{timestamp:Date.now()/1e3,...this.beforeBreadcrumb(e)}]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send({...this.getRequestBlank(),message:e,level:t})}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(t=>this.ignoreErrors.some(n=>gl(t,n))):!1}getRequestBlank(){return{request:{url:this.window.location.toString(),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},...this.state}}send(e){this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e)||(super.send(this.beforeSend({release:this.release,...e})),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch{return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const t=this.getEventFilterUrl(e);return t?this.blacklistUrls.some(n=>gl(t,n)):!1}getEventFilterUrl(e){try{if(e.exception){const t=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return t&&t[t.length-1].filename||null}return null}catch{return null}}extendState(e){this._state=Object.keys(e).reduce((t,n)=>{const o=this._state[n],s=Array.isArray(o)?o:null,l=e[n],r=Array.isArray(l)?l:null;return{...t,[n]:s||r?[...s||[],...r||[]]:{...typeof o!="string"?o:{},...typeof l!="string"?l:{}}}},this._state)}setKeyState(e,t){this._state[e]=t}}let Co=null;class Ko{sentrySubscription;options;version;context;sentryClient;constructor(e,t,n={}){!Co&&e.dsn&&(this.sentryClient=new Jo({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new ie.Subscription,this.options=e,this.context=n,Co=this)}destroy(){this.sentryClient?.destroy(),this.sentrySubscription?.unsubscribe(),Co=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:s,options:l}=this,{sampleRate:r=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:p}=l,{errorType:b,category:g}=t;if(ie.isNonNullable(g)&&p.includes(g)||ie.isNonNullable(b)&&f.includes(b))return;if(Math.random()<=r||ie.isNonNullable(g)&&c.includes(g)||ie.isNonNullable(b)&&a.includes(b)){Object.keys(t).length&&o.setTags({version:this.version,...t}),(Object.keys(s).length||Object.keys(n).length)&&o.setExtras({...s,...n});try{b&&o.captureMessage(b,t.fatal?Ao.fatal:Ao.error),o.report(e)}catch(C){console.error(C)}}}static getInstance(){return Co}}var Yn;(function(i){i.AUTO="auto"})(Yn||(Yn={}));var ze;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(ze||(ze={}));var wn;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(wn||(wn={}));var Ft;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(Ft||(Ft={}));var Cn;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(Cn||(Cn={}));var Qe;(function(i){i.PLAY="PLAY",i.STOP="STOP",i.BACKWARD_SEEK="BACKWARD_SEEK",i.FORWARD_SEEK="FORWARD_SEEK",i.SUBTITLES_ON="SUBTITLES_ON",i.SUBTITLES_OFF="SUBTITLES_OFF",i.RATE_UP="RATE_UP",i.RATE_DOWN="RATE_DOWN",i.EPISODE_PREV="EPISODE_PREV",i.EPISODE_NEXT="EPISODE_NEXT",i.MUTE="MUTE",i.VOLUME="VOLUME"})(Qe||(Qe={}));var Nn;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(Nn||(Nn={}));const Na=i=>{if(i.requestFullscreen)return i.requestFullscreen();if(i.msRequestFullscreen)return i.msRequestFullscreen();if(i.webkitRequestFullscreen)return i.webkitRequestFullscreen();if(i.mozRequestFullScreen)return i.mozRequestFullScreen();const e=i.querySelector("video");return e?.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Ra=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),$u=i=>{const e=i;return e?.webkitExitFullscreen?e?.webkitExitFullscreen():Promise.reject()},co=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},za=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},Da=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},ec=i=>{const e=window.screen;return(async o=>e.orientation?e.orientation.lock(o):e.mozLockOrientation?e.mozLockOrientation(o):e.msLockOrientation?e.msLockOrientation(o):Promise.reject())(((o={width:0,height:0})=>o.width<=o.height?"portrait":"landscape")(i))},tc=()=>({title:oe("hotkey_map_modal_title"),closeBtnText:oe("hotkey_map_modal_close_btn_text"),groups:[{title:oe("hotkey_map_group_title_common"),items:[{description:oe("hotkey_map_item_mute_description"),value:oe("hotkey_map_item_mute_value")},{description:oe("hotkey_map_item_volume_up_description"),value:oe("hotkey_map_item_volume_up_value")},{description:oe("hotkey_map_item_volume_down_description"),value:oe("hotkey_map_item_volume_down_value")},{description:oe("hotkey_map_item_pip_description"),value:oe("hotkey_map_item_pip_value")},{description:oe("hotkey_map_item_full_screen_description"),value:oe("hotkey_map_item_full_screen_value")},{description:oe("hotkey_map_item_show_hotkey_map_description"),value:oe("hotkey_map_item_show_hotkey_map_value")}]},{title:oe("hotkey_map_group_title_playback"),items:[{description:oe("hotkey_map_item_play_toggle_description"),value:oe("hotkey_map_item_play_toggle_value")},{description:oe("hotkey_map_item_seek_backward_description"),value:oe("hotkey_map_item_seek_backward_value")},{description:oe("hotkey_map_item_seek_forward_description"),value:oe("hotkey_map_item_seek_forward_value")},{description:oe("hotkey_map_item_fast_seek_backward_description"),value:oe("hotkey_map_item_fast_seek_backward_value")},{description:oe("hotkey_map_item_fast_seek_forward_description"),value:oe("hotkey_map_item_fast_seek_forward_value")},{description:oe("hotkey_map_item_rate_down_description"),value:oe("hotkey_map_item_rate_down_value")},{description:oe("hotkey_map_item_rate_up_description"),value:oe("hotkey_map_item_rate_up_value")},{description:oe("hotkey_map_item_prev_frame_description"),value:oe("hotkey_map_item_prev_frame_value")},{description:oe("hotkey_map_item_next_frame_description"),value:oe("hotkey_map_item_next_frame_value")},{description:oe("hotkey_map_item_jump_seek_description"),value:oe("hotkey_map_item_jump_seek_value")}]},{title:oe("hotkey_map_group_title_subtitles"),items:[{description:oe("hotkey_map_item_subtitles_toggle_description"),value:oe("hotkey_map_item_subtitles_toggle_value")}]},{title:oe("hotkey_map_group_title_episodes"),items:[{description:oe("hotkey_map_item_prev_episode_description"),value:ie.isMacLike()?oe("hotkey_map_item_prev_episode_mac_value"):oe("hotkey_map_item_prev_episode_pc_value")},{description:oe("hotkey_map_item_next_episode_description"),value:ie.isMacLike()?oe("hotkey_map_item_next_episode_mac_value"):oe("hotkey_map_item_next_episode_pc_value")}]}]});class xo{isRequested=!1;videoElement=void 0;playerContainer=void 0;playerDummyElement;svelteContext;externalEventHandlers={};eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:ie.debounceFn(this.onResize.bind(this),ba)};info={isActive$:new ie.ValueSubject(this.isActive()),type:Cn.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}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async request(){if(!(!this.isSupported()||this.isActive()))try{await this.videoElement?.requestPictureInPicture()}catch{this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){this.isSupported()&&(this.videoElement=this.playerContainer?.querySelector("video"))}registryEventHandlers(){this.videoElement?.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){this.videoElement?.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){const n=e.pictureInPictureWindow;n&&(this.info.isActive$.next(!0),this.isRequested=!0,n.addEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.enterpictureinpicture?.(e))}onLeavePictureInPicture(e){const n=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,n?.removeEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.leavepictureinpicture?.(e),this.playerDummyElement?.$destroy()}onResize(e){this.externalEventHandlers.resize?.(e)}}function Eo(i){return i instanceof xo}function ic(i){const e=St();return an(()=>{e.getAdmanWrapper().startPostroll()}),[]}class nc extends _e{constructor(e){super(),ve(this,e,ic,null,ge,{})}}const bn=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(s=>s>9?String(s):`0${s}`).join(":")};function oc(i){Ue(i,"v-17pubzn",".container.v-17pubzn{position:absolute;top:14px;left:16px;padding:4px 8px;font-size:13px;color:var(--white);background:rgba(0, 0, 0, 0.35);border-radius:4px}.container-mobile.v-17pubzn{font-size:15px;background:unset;border-radius:unset}")}function lc(i){let e,t=oe("playing_ads",{timeleft:i[0]})+"",n;return{c(){e=_("div"),n=Fe(t),u(e,"class","container v-17pubzn"),A(e,"container-mobile",i[1])},m(o,s){w(o,e,s),d(e,n)},p(o,[s]){s&1&&t!==(t=oe("playing_ads",{timeleft:o[0]})+"")&&xe(n,t),s&2&&A(e,"container-mobile",o[1])},i:H,o:H,d(o){o&&k(e)}}}function sc(i,e,t){let n,{position:o=0}=e,{duration:s=0}=e;const r=St().ui.isMobile;W(i,r,c=>t(1,n=c));let a;return i.$$set=c=>{"position"in c&&t(3,o=c.position),"duration"in c&&t(4,s=c.duration)},i.$$.update=()=>{i.$$.dirty&24&&t(0,a=bn(s-o))},[a,n,r,o,s]}class rc extends _e{constructor(e){super(),ve(this,e,sc,lc,ge,{position:3,duration:4},oc)}}function ac(i){Ue(i,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function uc(i){let e=oe("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=Fe(e)},m(n,o){w(n,t,o)},p(n,o){o&3&&e!==(e=oe("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&xe(t,e)},d(n){n&&k(t)}}}function cc(i){let e,t=oe("skip_ads_now")+"",n,o,s,l,r,a;return{c(){e=_("div"),n=Fe(t),o=B(),s=M("svg"),l=M("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(s,"class","icon v-22jj8o"),u(s,"width","7"),u(s,"height","12"),u(s,"viewBox","0 0 7 12"),u(s,"fill","none"),u(s,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){w(c,e,f),d(e,n),d(e,o),d(e,s),d(s,l),r||(a=Te(e,"click",pt(function(){en(i[2])&&i[2].apply(this,arguments)})),r=!0)},p(c,f){i=c},d(c){c&&k(e),r=!1,a()}}}function fc(i){let e;function t(s,l){return s[3]?cc:uc}let n=t(i),o=n(i);return{c(){e=_("div"),o.c(),u(e,"class","container v-22jj8o"),A(e,"container-mobile",i[4]),A(e,"skippable",i[3])},m(s,l){w(s,e,l),o.m(e,null)},p(s,[l]){n===(n=t(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e,null))),l&16&&A(e,"container-mobile",s[4]),l&8&&A(e,"skippable",s[3])},i:H,o:H,d(s){s&&k(e),o.d()}}}function dc(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:s=0}=e,{skipAd:l=ie.noop}=e;const a=St().ui.isMobile;W(i,a,f=>t(4,n=f));let c;return i.$$set=f=>{"position"in f&&t(0,o=f.position),"secondsToWatchBeforeSkip"in f&&t(1,s=f.secondsToWatchBeforeSkip),"skipAd"in f&&t(2,l=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=o>0&&o>=s)},[o,s,l,c,n,a]}class mc extends _e{constructor(e){super(),ve(this,e,dc,fc,ge,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},ac)}}function pc(i){Ue(i,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function hc(i){let e;return{c(){e=_("button"),e.textContent=`${oe("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){w(t,e,n)},p:H,i:H,o:H,d(t){t&&k(e)}}}class gc extends _e{constructor(e){super(),ve(this,e,null,hc,ge,{},pc)}}function bc(i){Ue(i,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
|
|
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 ul(i){let e;return{c(){e=w("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function cl(i){let e,t;return e=new Uu({props:{position:i[6],duration:i[7]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&64&&(l.position=n[6]),o&128&&(l.duration=n[7]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function fl(i){let e,t;return e=new Yu({props:{position:i[6],secondsToWatchBeforeSkip:i[8],skipAd:i[10].actions.internal.skipAd}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&64&&(l.position=n[6]),o&256&&(l.secondsToWatchBeforeSkip=n[8]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function dl(i){let e,t;return e=new Ou({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ml(i){let e,t;return e=new Xu({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function xu(i){let e,t,n,o,l,s,r,a,c=i[0]&&ul(),f=i[3]&&cl(i),h=i[4]&&fl(i),v=i[9]&&dl(),g=i[5]&&ml();return{c(){e=w("div"),c&&c.c(),t=N(),n=w("video"),o=N(),f&&f.c(),l=N(),h&&h.c(),s=N(),v&&v.c(),r=N(),g&&g.c(),Lt(n,"width","100%"),Lt(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(b,A){y(b,e,A),c&&c.m(e,null),d(e,t),d(e,n),i[22](n),d(e,o),f&&f.m(e,null),d(e,l),h&&h.m(e,null),d(e,s),v&&v.m(e,null),d(e,r),g&&g.m(e,null),i[23](e),a=!0},p(b,[A]){b[0]?c||(c=ul(),c.c(),c.m(e,t)):c&&(c.d(1),c=null),b[3]?f?(f.p(b,A),A&8&&m(f,1)):(f=cl(b),f.c(),m(f,1),f.m(e,l)):f&&(he(),p(f,1,1,()=>{f=null}),pe()),b[4]?h?(h.p(b,A),A&16&&m(h,1)):(h=fl(b),h.c(),m(h,1),h.m(e,s)):h&&(he(),p(h,1,1,()=>{h=null}),pe()),b[9]?v?A&512&&m(v,1):(v=dl(),v.c(),m(v,1),v.m(e,r)):v&&(he(),p(v,1,1,()=>{v=null}),pe()),b[5]?g?A&32&&m(g,1):(g=ml(),g.c(),m(g,1),g.m(e,null)):g&&(he(),p(g,1,1,()=>{g=null}),pe())},i(b){a||(m(f),m(h),m(v),m(g),a=!0)},o(b){p(f),p(h),p(v),p(g),a=!1},d(b){b&&k(e),c&&c.d(),i[22](null),f&&f.d(),h&&h.d(),v&&v.d(),g&&g.d(),i[23](null)}}}function $u(i,e,t){let n,o,l,s,r,a,{adsSlotId:c=void 0}=e,{adsParams:f=void 0}=e,{adsPreviewParam:h=void 0}=e,{duration:v=0}=e;const g=yt(),b=g.state.isEnded$;U(i,b,ee=>t(9,a=ee));const A=g.ui.isMobile;U(i,A,ee=>t(0,o=ee));let T,I,V=!1;const E=g.ads.playbackState;U(i,E,ee=>t(21,n=ee));const M=g.ads.canSkip,ie=g.ads.duration;U(i,ie,ee=>t(7,s=ee));const Y=g.ads.position;U(i,Y,ee=>t(6,l=ee));const P=g.ads.secondsToWatchBeforeSkip;U(i,P,ee=>t(8,r=ee));let F,J,le;ji(()=>{const ee=new AbortController;let B=()=>{ee.abort()};const _=g.getAdmanWrapper();if(!c){_.onAdmanLoadingError();return}const{width:x,height:ae}=it(g.ui.playerSize),ze=it(g.ui.isFullscreen),se=it(g.ui.isAutoplay),ge={width:x,height:ae,isFullscreen:ze,isAutoplay:se,adsContainer:T,adsVideoElement:I,slotId:c,params:f,previewParam:h,duration:v};return window.AdmanHTML?(_.initAdman(ge),V=!0):_.loadAdman(ee.signal).then(()=>{_.initAdman(ge),V=!0}).catch(()=>{_.onAdmanLoadingError()}),()=>{!V&&B()}});function ne(ee){je[ee?"unshift":"push"](()=>{I=ee,t(2,I)})}function ue(ee){je[ee?"unshift":"push"](()=>{T=ee,t(1,T)})}return i.$$set=ee=>{"adsSlotId"in ee&&t(17,c=ee.adsSlotId),"adsParams"in ee&&t(18,f=ee.adsParams),"adsPreviewParam"in ee&&t(19,h=ee.adsPreviewParam),"duration"in ee&&t(20,v=ee.duration)},i.$$.update=()=>{i.$$.dirty&2097152&&t(3,F=n!==Nt.INACTIVE),i.$$.dirty&2097152&&t(4,J=M&&n!==Nt.INACTIVE),i.$$.dirty&2097153&&t(5,le=o&&n!==Nt.INACTIVE)},[o,T,I,F,J,le,l,s,r,a,g,b,A,E,ie,Y,P,c,f,h,v,n,ne,ue]}class Na extends we{constructor(e){super(),_e(this,e,$u,xu,ve,{adsSlotId:17,adsParams:18,adsPreviewParam:19,duration:20},Ju)}}function ec(i){He(i,"v-1f6baix",".annotations-container.v-1f6baix{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.annotations-container .annotations-layer > *{pointer-events:initial}.annotations-container.shifted.v-1f6baix{height:calc(100% - var(--controls-height) - var(--slider-height))}")}function tc(i){let e;return{c(){e=w("div"),e.innerHTML="",u(e,"class","annotations-container v-1f6baix"),C(e,"shifted",i[0])},m(t,n){y(t,e,n),i[2](e)},p(t,[n]){n&1&&C(e,"shifted",t[0])},i:j,o:j,d(t){t&&k(e),i[2](null)}}}function ic(i,e,t){let{showControls:n}=e,o;const s=yt().webApi.annotationsApi;ji(()=>{if(s)return s.registryRootContainer(o),s.reattach(),()=>s.detach()});function r(a){je[a?"unshift":"push"](()=>{o=a,t(1,o)})}return i.$$set=a=>{"showControls"in a&&t(0,n=a.showControls)},[n,o,r]}class Ba extends we{constructor(e){super(),_e(this,e,ic,tc,ve,{showControls:0},ec)}}function nc(i){let e,t,n;return{c(){e=z("svg"),t=z("path"),n=z("path"),u(t,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(t,"fill","none"),u(t,"stroke","#fff"),u(t,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(o,l){y(o,e,l),d(e,t),d(e,n)},d(o){o&&k(e)}}}function oc(i){let e,t,n;return{c(){e=z("svg"),t=z("rect"),n=z("path"),u(t,"width","42"),u(t,"height","20"),u(t,"rx","5"),u(t,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(o,l){y(o,e,l),d(e,t),d(e,n)},d(o){o&&k(e)}}}function lc(i){let e;function t(l,s){return l[0]?oc:nc}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,[s]){n!==(n=t(l))&&(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:j,o:j,d(l){l&&k(e),o.d(l)}}}function sc(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class Ra extends we{constructor(e){super(),_e(this,e,sc,lc,ve,{isActive:0})}}function rc(i){He(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 ac(i){let e=sn(i[4]-i[3])+"",t;return{c(){t=Ue(e)},m(n,o){y(n,t,o)},p(n,o){o&24&&e!==(e=sn(n[4]-n[3])+"")&&Xe(t,e)},i:j,o:j,d(n){n&&k(t)}}}function uc(i){let e,t,n;return t=new Ra({props:{isActive:!0}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,l){y(o,e,l),O(t,e,null),n=!0},p:j,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function cc(i){let e,t,n,o,l,s,r;const a=[uc,ac],c=[];function f(h,v){return h[1]?0:1}return l=f(i),s=c[l]=a[l](i),{c(){e=w("div"),t=w("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=N(),o=w("span"),s.c(),u(t,"class","thumb-timer-equalizer v-7pnl2h"),u(o,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),C(e,"live",i[1]),C(e,"hidden",i[0]),C(e,"playing",i[2])},m(h,v){y(h,e,v),d(e,t),d(e,n),d(e,o),c[l].m(o,null),r=!0},p(h,[v]){let g=l;l=f(h),l===g?c[l].p(h,v):(he(),p(c[g],1,1,()=>{c[g]=null}),pe(),s=c[l],s?s.p(h,v):(s=c[l]=a[l](h),s.c()),m(s,1),s.m(o,null)),(!r||v&2)&&C(e,"live",h[1]),(!r||v&1)&&C(e,"hidden",h[0]),(!r||v&4)&&C(e,"playing",h[2])},i(h){r||(m(s),r=!0)},o(h){p(s),r=!1},d(h){h&&k(e),c[l].d()}}}function fc(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:l=!1}=e,{position:s}=e,{duration:r}=e;return i.$$set=a=>{"isHidden"in a&&t(0,n=a.isHidden),"isLive"in a&&t(1,o=a.isLive),"isPlaying"in a&&t(2,l=a.isPlaying),"position"in a&&t(3,s=a.position),"duration"in a&&t(4,r=a.duration)},[n,o,l,s,r]}class Oa extends we{constructor(e){super(),_e(this,e,fc,cc,ve,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},rc)}}const Ho=i=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const e=document.createElement("textarea");e.textContent=i,e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}}};function dc(i){He(i,"v-112a274","ul.v-112a274{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);overflow:hidden;transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0}li.v-112a274{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-112a274:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function mc(i){let e,t,n,o,l,s=!i[4]&&!i[14]&&hl(i);return{c(){e=w("li"),e.textContent=`${oe("menu_copy_video_link")}`,t=N(),s&&s.c(),n=gt(),u(e,"class","v-112a274")},m(r,a){y(r,e,a),y(r,t,a),s&&s.m(r,a),y(r,n,a),o||(l=Ae(e,"click",ct(i[25])),o=!0)},p(r,a){!r[4]&&!r[14]?s?s.p(r,a):(s=hl(r),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(r){r&&(k(e),k(t),k(n)),s&&s.d(r),o=!1,l()}}}function hl(i){let e,t,n;return{c(){e=w("li"),e.textContent=`${oe("menu_copy_video_link_with_timestamp")}`,u(e,"class","v-112a274")},m(o,l){y(o,e,l),t||(n=Ae(e,"click",ct(i[26])),t=!0)},p:j,d(o){o&&k(e),t=!1,n()}}}function pl(i){let e,t,n;return{c(){e=w("li"),e.textContent=`${oe("menu_pip")}`,u(e,"class","v-112a274")},m(o,l){y(o,e,l),t||(n=Ae(e,"click",ct(i[19])),t=!0)},p:j,d(o){o&&k(e),t=!1,n()}}}function hc(i){let e,t,n;return{c(){e=w("li"),e.textContent=`${oe("menu_video_rotate")}`,u(e,"class","v-112a274")},m(o,l){y(o,e,l),t||(n=Ae(e,"click",ct(i[15])),t=!0)},p:j,d(o){o&&k(e),t=!1,n()}}}function gl(i){let e,t,n;return{c(){e=w("li"),e.textContent=`${oe("menu_report")}`,u(e,"class","v-112a274")},m(o,l){y(o,e,l),t||(n=Ae(e,"click",ct(i[16])),t=!0)},p:j,d(o){o&&k(e),t=!1,n()}}}function pc(i){let e,t,n,o,l,s,r,a,c,f,h=i[8].features.copyVideoLink&&i[7].callbacks?.onCopyVideoLink&&mc(i),v=i[9]&&i[5]!==ot.ChromecastState.CONNECTED&&!i[14]&&pl(i),g=i[8].features.videoRotate&&!i[14]&&hc(i),b=i[8].showSupport&&!i[6]&&gl(i);return{c(){e=w("ul"),h&&h.c(),t=N(),v&&v.c(),n=N(),g&&g.c(),o=N(),b&&b.c(),l=N(),s=w("li"),s.textContent=`${i[8].features.saveDebugInfoToFile?oe("menu_save_debug"):oe("menu_copy_debug")}`,r=N(),a=w("li"),a.textContent=`${oe("menu_debug_overlay")}`,u(s,"class","v-112a274"),u(a,"class","v-112a274"),Lt(e,"top",i[1]+"px"),Lt(e,"left",i[0]+"px"),u(e,"class","v-112a274"),C(e,"hidden",!i[2])},m(A,T){y(A,e,T),h&&h.m(e,null),d(e,t),v&&v.m(e,null),d(e,n),g&&g.m(e,null),d(e,o),b&&b.m(e,null),d(e,l),d(e,s),d(e,r),d(e,a),i[27](e),c||(f=[Ae(s,"click",ct(i[17])),Ae(a,"click",ct(i[18]))],c=!0)},p(A,T){A[8].features.copyVideoLink&&A[7].callbacks?.onCopyVideoLink&&h.p(A,T),A[9]&&A[5]!==ot.ChromecastState.CONNECTED&&!A[14]?v?v.p(A,T):(v=pl(A),v.c(),v.m(e,n)):v&&(v.d(1),v=null),A[8].features.videoRotate&&!A[14]&&g.p(A,T),A[8].showSupport&&!A[6]?b?b.p(A,T):(b=gl(A),b.c(),b.m(e,l)):b&&(b.d(1),b=null),T[0]&2&&Lt(e,"top",A[1]+"px"),T[0]&1&&Lt(e,"left",A[0]+"px"),T[0]&4&&C(e,"hidden",!A[2])},i:j,o:j,d(A){A&&k(e),h&&h.d(),v&&v.d(),g&&g.d(),b&&b.d(),i[27](null),c=!1,Rt(f)}}}function gc(i,e,t){let n,o,l,s,{visible:r=!1}=e,{supportLink:a}=e,{x:c=0}=e,{y:f=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:v=void 0}=e,{returnFocus:g}=e;const b=yt(),A=Yi(),T=b.ui.contextMenuVisible,I=b.ui.debugPanelVisible,V=b.webApi.pictureInPictureApi,E=b.webApi.pictureInPictureApi?.info.isActive$;U(i,E,se=>t(6,s=se));const M=b.state.chromecastState$;U(i,M,se=>t(5,l=se));const ie=b.state.isLive$;U(i,ie,se=>t(4,o=se));const Y=b.state.positionExact$;U(i,Y,se=>t(28,n=se));const P=b.state.isInteractive;let F;const J=(se,ge)=>{if(!F||!h||!v)return;const Se=F.getBoundingClientRect(),G=h.getBoundingClientRect(),L=v.getBoundingClientRect();t(0,c=se-G.left),t(1,f=ge-G.top),c+Se.width>G.width&&t(0,c-=Se.width),f+Se.height>G.height-L.height&&t(1,f-=Se.height)},le=()=>{T.set(!1),b.actions.internal.videoRotate()},ne=()=>{window.open(a,"_blank"),T.set(!1),b.actions.internal.pause()},ue=()=>{const se=b.actions.internal.getDebugTextData();if(A.features.saveDebugInfoToFile){const ge=new Blob([...se],{type:"plain/text"}),Se=window.URL.createObjectURL(ge);ha(Se,"vk_player_debug_info","txt")}else Ho(b.actions.internal.getDebugTextData());T.set(!1),g?.()},ee=()=>{I.set(!0),T.set(!1),g?.()},B=async()=>{try{V?.isActive()?await V?.remove():await V?.request()}finally{T.set(!1),g?.()}},_=(se=!1)=>{if(b.callbacks?.onCopyVideoLink){const ge=b.callbacks?.onCopyVideoLink(se,n);ge&&Ho(ge)}T.set(!1)},x=()=>_(),ae=()=>_(!0);function ze(se){je[se?"unshift":"push"](()=>{F=se,t(3,F)})}return i.$$set=se=>{"visible"in se&&t(2,r=se.visible),"supportLink"in se&&t(21,a=se.supportLink),"x"in se&&t(0,c=se.x),"y"in se&&t(1,f=se.y),"playerContainerRef"in se&&t(22,h=se.playerContainerRef),"controlsContainerRef"in se&&t(23,v=se.controlsContainerRef),"returnFocus"in se&&t(24,g=se.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&3&&J(c,f)},[c,f,r,F,o,l,s,b,A,V,E,M,ie,Y,P,le,ne,ue,ee,B,_,a,h,v,g,x,ae,ze]}class vc extends we{constructor(e){super(),_e(this,e,gc,pc,ve,{visible:2,supportLink:21,x:0,y:1,playerContainerRef:22,controlsContainerRef:23,returnFocus:24},dc,[-1,-1])}}class bc{value;next;constructor(e){this.value=e,this.next=null}}class To{top;bottom;size;maxSize;constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new bc(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 _c(i){He(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function wc(i){let e,t;return{c(){e=w("div"),t=w("canvas"),u(t,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,o){y(n,e,o),d(e,t),i[3](t)},p:j,i:j,o:j,d(n){n&&k(e),i[3](null)}}}const Ao=16,Eo=120,vl=60;function kc(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function yc(i,e,t){let{values:n=[]}=e,o,l;const s=Eo/vl;ji(()=>{t(0,o.width=Eo,o),t(0,o.height=Ao,o),t(2,l=o.getContext("2d"))});function r(a){je[a?"unshift":"push"](()=>{o=a,t(0,o)})}return i.$$set=a=>{"values"in a&&t(1,n=a.values)},i.$$.update=()=>{if(i.$$.dirty&6&&l){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);l.clearRect(0,0,Eo,Ao);let c=vl-1;for(let f=n.length-1;f>=0;f--){const h=c*s,v=a>0?Ao*(n[f]/a):0;kc(l,h,0,s,v),c--}}},[o,n,l,r]}class qo extends we{constructor(e){super(),_e(this,e,yc,wc,ve,{values:1},_c)}}function Pc(i){He(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 bl(i){let e,t,n,o,l=i[0].id+"",s;return{c(){e=w("div"),t=w("div"),t.textContent="Video id",n=N(),o=w("span"),s=Ue(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){y(r,e,a),d(e,t),d(e,n),d(e,o),d(o,s)},p(r,a){a&1&&l!==(l=r[0].id+"")&&Xe(s,l)},d(r){r&&k(e)}}}function _l(i){let e,t,n,o,l=i[0].provider+"",s;return{c(){e=w("div"),t=w("div"),t.textContent="Provider",n=N(),o=w("span"),s=Ue(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){y(r,e,a),d(e,t),d(e,n),d(e,o),d(o,s)},p(r,a){a&1&&l!==(l=r[0].provider+"")&&Xe(s,l)},d(r){r&&k(e)}}}function wl(i){let e,t,n,o,l=i[0].viewport+"",s;return{c(){e=w("div"),t=w("div"),t.textContent="Viewport",n=N(),o=w("span"),s=Ue(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){y(r,e,a),d(e,t),d(e,n),d(e,o),d(o,s)},p(r,a){a&1&&l!==(l=r[0].viewport+"")&&Xe(s,l)},d(r){r&&k(e)}}}function kl(i){let e,t,n,o,l=i[0].videoSize+"",s;return{c(){e=w("div"),t=w("div"),t.textContent="Video size",n=N(),o=w("span"),s=Ue(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){y(r,e,a),d(e,t),d(e,n),d(e,o),d(o,s)},p(r,a){a&1&&l!==(l=r[0].videoSize+"")&&Xe(s,l)},d(r){r&&k(e)}}}function yl(i){let e,t,n,o,l=i[0].cdn+"",s;return{c(){e=w("div"),t=w("div"),t.textContent="CDN host",n=N(),o=w("span"),s=Ue(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){y(r,e,a),d(e,t),d(e,n),d(e,o),d(o,s)},p(r,a){a&1&&l!==(l=r[0].cdn+"")&&Xe(s,l)},d(r){r&&k(e)}}}function Pl(i){let e,t,n,o,l=i[0].volume+"",s,r;return{c(){e=w("div"),t=w("div"),t.textContent="Volume",n=N(),o=w("span"),s=Ue(l),r=Ue(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){y(a,e,c),d(e,t),d(e,n),d(e,o),d(o,s),d(o,r)},p(a,c){c&1&&l!==(l=a[0].volume+"")&&Xe(s,l)},d(a){a&&k(e)}}}function Cl(i){let e,t,n,o,l=i[0].buffer.toFixed(2)+"",s,r;return{c(){e=w("div"),t=w("div"),t.textContent="Buffer",n=N(),o=w("span"),s=Ue(l),r=Ue(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){y(a,e,c),d(e,t),d(e,n),d(e,o),d(o,s),d(o,r)},p(a,c){c&1&&l!==(l=a[0].buffer.toFixed(2)+"")&&Xe(s,l)},d(a){a&&k(e)}}}function Sl(i){let e,t,n,o,l,s,r=i[0].speed.toFixed(2)+"",a,c,f;return o=new qo({props:{values:i[5]}}),{c(){e=w("div"),t=w("div"),t.textContent="Network",n=N(),H(o.$$.fragment),l=N(),s=w("span"),a=Ue(r),c=Ue(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,v){y(h,e,v),d(e,t),d(e,n),O(o,e,null),d(e,l),d(e,s),d(s,a),d(s,c),f=!0},p(h,v){const g={};v&32&&(g.values=h[5]),o.$set(g),(!f||v&1)&&r!==(r=h[0].speed.toFixed(2)+"")&&Xe(a,r)},i(h){f||(m(o.$$.fragment,h),f=!0)},o(h){p(o.$$.fragment,h),f=!1},d(h){h&&k(e),D(o)}}}function Tl(i){let e,t,n,o,l,s,r=i[0].bitrate.toFixed(2)+"",a,c,f;return o=new qo({props:{values:i[6]}}),{c(){e=w("div"),t=w("div"),t.textContent="V bitrate",n=N(),H(o.$$.fragment),l=N(),s=w("span"),a=Ue(r),c=Ue(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,v){y(h,e,v),d(e,t),d(e,n),O(o,e,null),d(e,l),d(e,s),d(s,a),d(s,c),f=!0},p(h,v){const g={};v&64&&(g.values=h[6]),o.$set(g),(!f||v&1)&&r!==(r=h[0].bitrate.toFixed(2)+"")&&Xe(a,r)},i(h){f||(m(o.$$.fragment,h),f=!0)},o(h){p(o.$$.fragment,h),f=!1},d(h){h&&k(e),D(o)}}}function Cc(i){let e,t,n,o,l,s,r,a,c=i[0].version+"",f,h,v,g,b,A,T,I,V,E,M,ie,Y,P,F,J,le,ne,ue,ee,B,_,x,ae,ze,se,ge,Se,G,L,re=i[0].id&&bl(i),Q=i[0].provider&&_l(i),Pe=i[0].viewport&&wl(i),R=i[0].videoSize&&kl(i),X=i[0].cdn&&yl(i),Ve=i[0].volume&&Pl(i),ke=i[0].buffer&&Cl(i),be=i[0].speed&&Sl(i),Ce=i[0].bitrate&&Tl(i);return ae=new qo({props:{values:i[4]}}),{c(){e=w("div"),t=w("button"),t.textContent="[x]",n=N(),o=w("div"),l=w("div"),s=w("div"),s.textContent="Version",r=N(),a=w("span"),f=Ue(c),h=N(),re&&re.c(),v=N(),Q&&Q.c(),g=N(),Pe&&Pe.c(),b=N(),R&&R.c(),A=N(),X&&X.c(),T=N(),Ve&&Ve.c(),I=N(),ke&&ke.c(),V=N(),E=w("div"),M=w("div"),M.textContent="Dropped",ie=N(),Y=w("span"),P=Ue(i[2]),F=Ue(" / "),J=Ue(i[1]),le=Ue(" frames"),ne=N(),be&&be.c(),ue=N(),Ce&&Ce.c(),ee=N(),B=w("div"),_=w("div"),_.textContent="FPS",x=N(),H(ae.$$.fragment),ze=N(),se=w("span"),ge=Ue(i[3]),u(t,"class","close v-1gy2e68"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(s,"class","v-1gy2e68"),u(l,"class","v-1gy2e68"),u(M,"class","v-1gy2e68"),u(E,"class","v-1gy2e68"),u(_,"class","v-1gy2e68"),u(B,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),C(e,"container-mobile",i[7])},m(Te,Z){y(Te,e,Z),d(e,t),d(e,n),d(e,o),d(o,l),d(l,s),d(l,r),d(l,a),d(a,f),d(o,h),re&&re.m(o,null),d(o,v),Q&&Q.m(o,null),d(o,g),Pe&&Pe.m(o,null),d(o,b),R&&R.m(o,null),d(o,A),X&&X.m(o,null),d(o,T),Ve&&Ve.m(o,null),d(o,I),ke&&ke.m(o,null),d(o,V),d(o,E),d(E,M),d(E,ie),d(E,Y),d(Y,P),d(Y,F),d(Y,J),d(Y,le),d(o,ne),be&&be.m(o,null),d(o,ue),Ce&&Ce.m(o,null),d(o,ee),d(o,B),d(B,_),d(B,x),O(ae,B,null),d(B,ze),d(B,se),d(se,ge),Se=!0,G||(L=Ae(t,"click",ct(i[9])),G=!0)},p(Te,[Z]){(!Se||Z&1)&&c!==(c=Te[0].version+"")&&Xe(f,c),Te[0].id?re?re.p(Te,Z):(re=bl(Te),re.c(),re.m(o,v)):re&&(re.d(1),re=null),Te[0].provider?Q?Q.p(Te,Z):(Q=_l(Te),Q.c(),Q.m(o,g)):Q&&(Q.d(1),Q=null),Te[0].viewport?Pe?Pe.p(Te,Z):(Pe=wl(Te),Pe.c(),Pe.m(o,b)):Pe&&(Pe.d(1),Pe=null),Te[0].videoSize?R?R.p(Te,Z):(R=kl(Te),R.c(),R.m(o,A)):R&&(R.d(1),R=null),Te[0].cdn?X?X.p(Te,Z):(X=yl(Te),X.c(),X.m(o,T)):X&&(X.d(1),X=null),Te[0].volume?Ve?Ve.p(Te,Z):(Ve=Pl(Te),Ve.c(),Ve.m(o,I)):Ve&&(Ve.d(1),Ve=null),Te[0].buffer?ke?ke.p(Te,Z):(ke=Cl(Te),ke.c(),ke.m(o,V)):ke&&(ke.d(1),ke=null),(!Se||Z&4)&&Xe(P,Te[2]),(!Se||Z&2)&&Xe(J,Te[1]),Te[0].speed?be?(be.p(Te,Z),Z&1&&m(be,1)):(be=Sl(Te),be.c(),m(be,1),be.m(o,ue)):be&&(he(),p(be,1,1,()=>{be=null}),pe()),Te[0].bitrate?Ce?(Ce.p(Te,Z),Z&1&&m(Ce,1)):(Ce=Tl(Te),Ce.c(),m(Ce,1),Ce.m(o,ee)):Ce&&(he(),p(Ce,1,1,()=>{Ce=null}),pe());const W={};Z&16&&(W.values=Te[4]),ae.$set(W),(!Se||Z&8)&&Xe(ge,Te[3]),(!Se||Z&128)&&C(e,"container-mobile",Te[7])},i(Te){Se||(m(be),m(Ce),m(ae.$$.fragment,Te),Se=!0)},o(Te){p(be),p(Ce),p(ae.$$.fragment,Te),Se=!1},d(Te){Te&&k(e),re&&re.d(),Q&&Q.d(),Pe&&Pe.d(),R&&R.d(),X&&X.d(),Ve&&Ve.d(),ke&&ke.d(),be&&be.d(),Ce&&Ce.d(),D(ae),G=!1,L()}}}function Sc(i,e,t){let n;const o=yt(),l=o.ui.debugPanelVisible,s=o.ui.isMobile;U(i,s,E=>t(7,n=E));const r=()=>{$.safeStorage.remove(Ro),l.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,h=0,v=0;const g=new To(60),b=new To(60),A=new To(60);let T=[],I=[],V=[];return ji(()=>{$.safeStorage.set(Ro,"true"),o.actions.internal.startLogging(),c&&(t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const E=window.setInterval(()=>{t(0,a=o.actions.internal.getDebugPanelData())},500);let M;return c&&(M=window.setInterval(()=>{if(c){t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames);const ie=c.getVideoPlaybackQuality().totalVideoFrames;t(3,v=ie-f),t(1,f=ie),g.push(v),a.speed&&b.push(a.speed),a.bitrate&&A.push(a.bitrate),t(4,T=g.getValuesFromBottom()),t(5,I=b.getValuesFromBottom()),t(6,V=A.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(E),M&&clearInterval(M)}}),[a,f,h,v,T,I,V,n,s,r]}class Da extends we{constructor(e){super(),_e(this,e,Sc,Cc,ve,{},Pc)}}function Tc(i){He(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 Ac(i){let e,t,n;return{c(){e=w("div"),u(e,"class","close v-1ome55p")},m(o,l){y(o,e,l),t||(n=Ae(e,"click",ct(i[0])),t=!0)},p:j,i:j,o:j,d(o){o&&k(e),t=!1,n()}}}function Ec(i){function e(t){to.call(this,i,t)}return[e]}class Lc extends we{constructor(e){super(),_e(this,e,Ec,Ac,ve,{},Tc)}}function Vc(i){He(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 Ic(i){let e,t,n,o,l,s,r;return{c(){e=w("div"),t=w("canvas"),n=N(),o=z("svg"),l=z("g"),s=z("g"),r=z("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(r,"class","_play"),u(r,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(r,"fill","#fff"),u(s,"fill-rule","nonzero"),u(l,"fill","none"),u(l,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){y(a,e,c),d(e,t),i[2](t),d(e,n),d(e,o),d(o,l),d(l,s),d(s,r)},p:j,i:j,o:j,d(a){a&&k(e),i[2](null)}}}const zc=5e3;function Mc(i,e,t){let{onTimerEnded:n=$.noop}=e,o;ji(()=>{let s;const r=o.getContext("2d");if(!r)return;r.lineWidth=6,r.lineCap="round",r.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/zc;f<1?(r.clearRect(0,0,100,100),r.beginPath(),r.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),r.stroke(),s=requestAnimationFrame(c)):n()};return s=requestAnimationFrame(c),()=>{cancelAnimationFrame(s)}});function l(s){je[s?"unshift":"push"](()=>{o=s,t(0,o)})}return i.$$set=s=>{"onTimerEnded"in s&&t(1,n=s.onTimerEnded)},[o,n,l]}class Nc extends we{constructor(e){super(),_e(this,e,Mc,Ic,ve,{onTimerEnded:1},Vc)}}function Bc(i){He(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 Al(i){let e,t;return e=new Nc({props:{onTimerEnded:i[2]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&4&&(l.onTimerEnded=n[2]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Rc(i){let e,t,n,o,l,s,r,a,c,f,h,v,g,b,A,T,I,V,E,M,ie;r=new Lc({}),r.$on("click",i[4]);let Y=i[3]&&Al(i);return{c(){e=w("div"),t=N(),n=w("div"),o=w("div"),l=w("div"),l.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",s=N(),H(r.$$.fragment),a=N(),c=w("div"),f=w("div"),h=w("div"),v=w("div"),g=N(),Y&&Y.c(),A=N(),T=w("div"),I=w("div"),V=Ue(i[0]),u(e,"class","overlay v-kisfwc"),u(l,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(v,"class","thumb-overlay v-kisfwc"),u(h,"class","thumb v-kisfwc"),u(h,"style",b=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(I,"class","title v-kisfwc"),u(T,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(P,F){y(P,e,F),y(P,t,F),y(P,n,F),d(n,o),d(o,l),d(o,s),O(r,o,null),d(n,a),d(n,c),d(c,f),d(f,h),d(h,v),d(h,g),Y&&Y.m(h,null),d(c,A),d(c,T),d(T,I),d(I,V),E=!0,M||(ie=Ae(c,"click",function(){Ji(i[2])&&i[2].apply(this,arguments)}),M=!0)},p(P,[F]){i=P,i[3]?Y?(Y.p(i,F),F&8&&m(Y,1)):(Y=Al(i),Y.c(),m(Y,1),Y.m(h,null)):Y&&(he(),p(Y,1,1,()=>{Y=null}),pe()),(!E||F&2&&b!==(b=`background-image: url('${i[1]}')`))&&u(h,"style",b),(!E||F&1)&&Xe(V,i[0])},i(P){E||(m(r.$$.fragment,P),m(Y),E=!0)},o(P){p(r.$$.fragment,P),p(Y),E=!1},d(P){P&&(k(e),k(t),k(n)),D(r),Y&&Y.d(),M=!1,ie()}}}function Oc(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:l}=e,s=!0;const r=()=>t(3,s=!1);return i.$$set=a=>{"title"in a&&t(0,n=a.title),"thumb"in a&&t(1,o=a.thumb),"playNextVideo"in a&&t(2,l=a.playNextVideo)},[n,o,l,s,r]}class Dc extends we{constructor(e){super(),_e(this,e,Oc,Rc,ve,{title:0,thumb:1,playNextVideo:2},Bc)}}const Ha=(i,e)=>Math.min(+(i+e).toFixed(2),1),Fa=(i,e)=>Math.max(+(i-e).toFixed(2),0),Ua=(i,e,t)=>{const n=Ha(e,t);e<1&&i.actions.internal.setVolume(n)},Wa=(i,e,t)=>{const n=Fa(e,t);e>0&&i.actions.internal.setVolume(n)};function Hc(i){He(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function Fc(i){let e,t,n,o;const l=i[20].default,s=bn(l,i,i[19],null);return{c(){e=w("div"),s&&s.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(r,a){y(r,e,a),s&&s.m(e,null),i[21](e),t=!0,n||(o=[Ae(e,"keyup",i[12]),Ae(e,"keydown",i[11])],n=!0)},p(r,a){s&&s.p&&(!t||a[0]&524288)&&wn(s,l,r,r[19],t?_n(l,r[19],a,null):kn(r[19]),null)},i(r){t||(m(s,r),t=!0)},o(r){p(s,r),t=!1},d(r){r&&k(e),s&&s.d(r),i[21](null),n=!1,Rt(o)}}}function Uc(i,e,t){let n,o,l,s,r,a,c,f,h,v,{$$slots:g={},$$scope:b}=e,{isAds:A}=e,{hideContextMenu:T}=e,{toggleFullscreen:I}=e,{showHotKeyHelpers:V}=e,{showKeyMap:E}=e;const M=yt(),ie=Yi(),Y=M.getLogger().createComponentLog("KeyboardControls component"),P=M.state.playbackState$;U(i,P,Q=>t(25,o=Q));const F=M.ads.playbackState;U(i,F,Q=>t(24,n=Q));const J=M.state.positionExact$;U(i,J,Q=>t(30,c=Q));const le=M.state.duration$;U(i,le,Q=>t(29,a=Q));const ne=M.state.volume$;U(i,ne,Q=>t(33,v=Q));const ue=M.ui.controls.disabledControls$;U(i,ue,Q=>t(28,r=Q));const ee=M.state.muted$;U(i,ee,Q=>t(27,s=Q));const B=M.state.currentSubtitle$;U(i,B,Q=>t(26,l=Q));const _=M.state.currentPlaybackRate$;U(i,_,Q=>t(31,f=Q));const x=M.state.availablePlaybackRates$;U(i,x,Q=>t(32,h=Q));let ae=0,ze=!0,se;const ge=()=>se?.focus(),Se=Q=>(Q!==ze&&(ze=Q,ae=0),ae+=1,(ie.controls.seekStepKeyboard+ie.controls.seekStepKeyboard*ae)/1e3),G=Q=>{T();const Pe=Q.code,R=!tu.has(Pe);if(Q.ctrlKey&&R||Q.altKey&&R||Q.metaKey)return;const X=o===ot.PlaybackState.PLAYING||o===ot.PlaybackState.PAUSED,Ve=A&&(n===Nt.PAUSED||n===Nt.PLAYING),ke=!Ve&&!r.has(ht.TIMELINE);if(X||Ve)switch(Y({message:`key down, code: ${Pe}`}),Pe){case qe.KeyJ:case qe.ArrowLeft:{if(!ke)break;if(Q.ctrlKey||Q.altKey){const be=M.actions.internal.getPrevEpisode();M.actions.internal.seekToPrevEpisode(be),be&&V({type:Ke.EPISODE_PREV,text:be.text}),Q.preventDefault()}else{const be=Q.shiftKey?Se(!1):ie.controls.seekStepKeyboard/1e3,Ce=Math.max(c-be,0);c>0&&(M.actions.internal.seekTime(Ce,pt.SeekAction.DOUBLE_TAP),V({type:Ke.BACKWARD_SEEK,text:be.toString()}),Q.preventDefault())}break}case qe.KeyL:case qe.ArrowRight:{if(!ke)break;if(Q.ctrlKey||Q.altKey){const be=M.actions.internal.getNextEpisode();M.actions.internal.seekToNextEpisode(be),be&&V({type:Ke.EPISODE_NEXT,text:be.text}),Q.preventDefault()}else{const be=Q.shiftKey?Se(!0):ie.controls.seekStepKeyboard/1e3,Ce=Math.min(c+be,a);Math.round(c)<Math.round(a)&&(M.actions.internal.seekTime(Ce,pt.SeekAction.DOUBLE_TAP),V({type:Ke.FORWARD_SEEK,text:be.toString()}),Q.preventDefault())}break}case qe.ArrowUp:{const be=v,Ce=ie.controls.volumeStepKeyboard,Te=be<=1;if(Ua(M,be,Ce),Te){const Z=Math.round(Ha(be,Ce)*100).toString();V({type:Ke.VOLUME,t:{key:"hotkey_helper_current_volume",value:Z}})}Q.preventDefault();break}case qe.ArrowDown:{const be=v,Ce=ie.controls.volumeStepKeyboard,Te=be>=0;if(Wa(M,be,Ce),Te){const Z=Math.round(Fa(be,Ce)*100).toString();V({type:Ke.VOLUME,t:{key:"hotkey_helper_current_volume",value:Z}})}Q.preventDefault();break}case qe.Comma:{if(Q.shiftKey){M.actions.internal.decrementPlaybackRate();const be=h.find(Ce=>Ce.value===f);V({type:Ke.RATE_DOWN,text:be?.displayValue}),Q.preventDefault()}else{if(Ve||o!==ot.PlaybackState.PAUSED)break;const be=Math.max(c-ie.controls.seekStepFrame/1e3,0);c>0&&(V({type:Ke.BACKWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(be,pt.SeekAction.DOUBLE_TAP),Q.preventDefault())}break}case qe.Period:{if(Q.shiftKey){M.actions.internal.incrementPlaybackRate();const be=h.find(Ce=>Ce.value===f);V({type:Ke.RATE_UP,text:be?.displayValue}),Q.preventDefault()}else{if(Ve||o!==ot.PlaybackState.PAUSED)break;const be=Math.min(c+ie.controls.seekStepFrame/1e3,a);c<a&&(V({type:Ke.FORWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(be,pt.SeekAction.DOUBLE_TAP),Q.preventDefault())}break}case qe.KeyK:case qe.Space:r.has(ht.PLAY_BUTTON)||(M.actions.internal.togglePlay(),V({type:o===ot.PlaybackState.PLAYING?Ke.PLAY:Ke.STOP})),Q.preventDefault();break;case qe.KeyM:{V({type:s?Ke.VOLUME:Ke.MUTE}),M.actions.internal.toggleMuted(),Q.preventDefault();break}case qe.KeyF:I(),Q.preventDefault();break;case qe.KeyC:M.actions.internal.toggleSubtitle(),l.value!=="off"?V({type:Ke.SUBTITLES_ON,text:l?.displayValue}):V({type:Ke.SUBTITLES_OFF}),Q.preventDefault();break;case qe.KeyI:M.actions.internal.togglePictureInPicture(),Q.preventDefault();break;case qe.Digit1:case qe.Numpad1:V(),M.actions.internal.seekToPercent(.1,pt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit2:case qe.Numpad2:V(),M.actions.internal.seekToPercent(.2,pt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit3:case qe.Numpad3:V(),M.actions.internal.seekToPercent(.3,pt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit4:case qe.Numpad4:V(),M.actions.internal.seekToPercent(.4,pt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit5:case qe.Numpad5:V(),M.actions.internal.seekToPercent(.5,pt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit6:case qe.Numpad6:V(),M.actions.internal.seekToPercent(.6,pt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit7:case qe.Numpad7:V(),M.actions.internal.seekToPercent(.7,pt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit8:case qe.Numpad8:V(),M.actions.internal.seekToPercent(.8,pt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit9:case qe.Numpad9:V(),M.actions.internal.seekToPercent(.9,pt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Digit0:case qe.Numpad0:V(),M.actions.internal.seekToPercent(0,pt.SeekAction.DOUBLE_TAP),Q.preventDefault();break;case qe.Slash:{Q.shiftKey&&ie.features.hotKeyMapModal&&(E(),Q.preventDefault());break}case qe.ShiftLeft:case qe.ShiftRight:Q.preventDefault();break;default:$.checkNever(Pe);break}},L=Q=>{const Pe=Q.code;if(Q.ctrlKey||Q.altKey||Q.metaKey)return;const R=o===ot.PlaybackState.PLAYING||o===ot.PlaybackState.PAUSED,X=A&&(n===Nt.PAUSED||n===Nt.PLAYING);if(R||X)switch(Pe){case qe.ShiftLeft:case qe.ShiftRight:ae=0;break}};function re(Q){je[Q?"unshift":"push"](()=>{se=Q,t(0,se)})}return i.$$set=Q=>{"isAds"in Q&&t(13,A=Q.isAds),"hideContextMenu"in Q&&t(14,T=Q.hideContextMenu),"toggleFullscreen"in Q&&t(15,I=Q.toggleFullscreen),"showHotKeyHelpers"in Q&&t(16,V=Q.showHotKeyHelpers),"showKeyMap"in Q&&t(17,E=Q.showKeyMap),"$$scope"in Q&&t(19,b=Q.$$scope)},[se,P,F,J,le,ne,ue,ee,B,_,x,G,L,A,T,I,V,E,ge,b,g,re]}class Wc extends we{constructor(e){super(),_e(this,e,Uc,Fc,ve,{isAds:13,hideContextMenu:14,toggleFullscreen:15,showHotKeyHelpers:16,showKeyMap:17,focus:18},Hc,[-1,-1])}get focus(){return this.$$.ctx[18]}}function qc(i){He(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 jc(i){let e;return{c(){e=w("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(t,n){y(t,e,n)},p:j,i:j,o:j,d(t){t&&k(e)}}}class qa extends we{constructor(e){super(),_e(this,e,null,jc,ve,{},qc)}}function Zc(i){let e,t,n,o,l,s,r,a,c,f,h,v,g;return{c(){e=z("svg"),t=z("g"),n=z("path"),o=z("path"),l=z("defs"),s=z("filter"),r=z("feFlood"),a=z("feColorMatrix"),c=z("feOffset"),f=z("feGaussianBlur"),h=z("feColorMatrix"),v=z("feBlend"),g=z("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(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"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_2422_111980"),u(g,"in","SourceGraphic"),u(g,"in2","effect1_dropShadow_2422_111980"),u(g,"result","shape"),u(s,"id","a"),u(s,"x",".5"),u(s,"y",".5"),u(s,"width","23"),u(s,"height","23"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(b,A){y(b,e,A),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,r),d(s,a),d(s,c),d(s,f),d(s,h),d(s,v),d(s,g)},p:j,i:j,o:j,d(b){b&&k(e)}}}class Gc extends we{constructor(e){super(),_e(this,e,null,Zc,ve,{})}}function Yc(i){He(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 Kc(i){let e,t,n,o,l,s,r,a,c,f;const h=i[8].default,v=bn(h,i,i[7],null);return{c(){e=w("button"),v&&v.c(),u(e,"class",t="btn "+i[0]+" v-1anemql"),u(e,"style",n=i[1]||null),e.disabled=o=i[2]??null,u(e,"aria-hidden",l=i[4]??null),u(e,"aria-label",s=i[5]??null),u(e,"data-testid",r=i[3]??null)},m(g,b){y(g,e,b),v&&v.m(e,null),a=!0,c||(f=[Ae(e,"pointerdown",ct(vi(i[9]))),Ae(e,"click",ct(vi(function(){Ji(i[6])&&i[6].apply(this,arguments)})))],c=!0)},p(g,[b]){i=g,v&&v.p&&(!a||b&128)&&wn(v,h,i,i[7],a?_n(h,i[7],b,null):kn(i[7]),null),(!a||b&1&&t!==(t="btn "+i[0]+" v-1anemql"))&&u(e,"class",t),(!a||b&2&&n!==(n=i[1]||null))&&u(e,"style",n),(!a||b&4&&o!==(o=i[2]??null))&&(e.disabled=o),(!a||b&16&&l!==(l=i[4]??null))&&u(e,"aria-hidden",l),(!a||b&32&&s!==(s=i[5]??null))&&u(e,"aria-label",s),(!a||b&8&&r!==(r=i[3]??null))&&u(e,"data-testid",r)},i(g){a||(m(v,g),a=!0)},o(g){p(v,g),a=!1},d(g){g&&k(e),v&&v.d(g),c=!1,Rt(f)}}}function Qc(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:l=""}=e,{style:s=""}=e,{disabled:r=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{click:h=$.noop}=e;function v(g){to.call(this,i,g)}return i.$$set=g=>{"className"in g&&t(0,l=g.className),"style"in g&&t(1,s=g.style),"disabled"in g&&t(2,r=g.disabled),"testId"in g&&t(3,a=g.testId),"ariaHidden"in g&&t(4,c=g.ariaHidden),"ariaLabel"in g&&t(5,f=g.ariaLabel),"click"in g&&t(6,h=g.click),"$$scope"in g&&t(7,o=g.$$scope)},[l,s,r,a,c,f,h,o,n,v]}class si extends we{constructor(e){super(),_e(this,e,Qc,Kc,ve,{className:0,style:1,disabled:2,testId:3,ariaHidden:4,ariaLabel:5,click:6},Yc)}}function Xc(i){He(i,"v-vczw02",".modal-overlay.v-vczw02{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-vczw02{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-vczw02{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-vczw02{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-vczw02{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-vczw02::-webkit-scrollbar{width:8px}.modal-scroll.v-vczw02::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-vczw02::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-vczw02::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-vczw02{margin:-8px -4px 0 0}")}function El(i){let e,t,n,o,l,s=i[2]&&Ll(i);return{c(){e=w("div"),t=w("h3"),n=Ue(i[3]),o=N(),s&&s.c(),u(t,"class","modal-title v-vczw02"),u(e,"class","modal-header v-vczw02")},m(r,a){y(r,e,a),d(e,t),d(t,n),d(e,o),s&&s.m(e,null),l=!0},p(r,a){(!l||a&8)&&Xe(n,r[3]),r[2]?s?(s.p(r,a),a&4&&m(s,1)):(s=Ll(r),s.c(),m(s,1),s.m(e,null)):s&&(he(),p(s,1,1,()=>{s=null}),pe())},i(r){l||(m(s),l=!0)},o(r){p(s),l=!1},d(r){r&&k(e),s&&s.d()}}}function Ll(i){let e,t;return e=new si({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:oe("hotkey_map_modal_close_btn_text"),$$slots:{default:[Jc]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.click=n[0]),o&32&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Jc(i){let e,t;return e=new Gc({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function xc(i){let e,t,n,o,l,s,r=i[1]&&El(i);const a=i[4].default,c=bn(a,i,i[5],null);return{c(){e=w("div"),t=w("div"),r&&r.c(),n=N(),o=w("div"),l=w("div"),c&&c.c(),u(l,"class","modal-main v-vczw02"),u(o,"class","modal-scroll v-vczw02"),u(t,"class","modal-container v-vczw02"),u(e,"class","modal-overlay v-vczw02")},m(f,h){y(f,e,h),d(e,t),r&&r.m(t,null),d(t,n),d(t,o),d(o,l),c&&c.m(l,null),s=!0},p(f,[h]){f[1]?r?(r.p(f,h),h&2&&m(r,1)):(r=El(f),r.c(),m(r,1),r.m(t,n)):r&&(he(),p(r,1,1,()=>{r=null}),pe()),c&&c.p&&(!s||h&32)&&wn(c,a,f,f[5],s?_n(a,f[5],h,null):kn(f[5]),null)},i(f){s||(m(r),m(c,f),s=!0)},o(f){p(r),p(c,f),s=!1},d(f){f&&k(e),r&&r.d(),c&&c.d(f)}}}function $c(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:l}=e,{showHeader:s=!0}=e,{showCloseCross:r=!0}=e,{title:a}=e;return i.$$set=c=>{"onClose"in c&&t(0,l=c.onClose),"showHeader"in c&&t(1,s=c.showHeader),"showCloseCross"in c&&t(2,r=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[l,s,r,a,n,o]}class e0 extends we{constructor(e){super(),_e(this,e,$c,xc,ve,{onClose:0,showHeader:1,showCloseCross:2,title:3},Xc)}}const t0=new Set(["BR"]),Vl=i=>{const e=document.createElement("DIV");e.innerHTML=i;const t=e.querySelectorAll("*");let n=t.length;for(;n--;){const o=t[n],l=o.tagName;t0.has(l)||o.parentElement?.removeChild(o)}return e.innerHTML};function i0(i){He(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 Il(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function zl(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function Ml(i){let e,t,n=Vl(i[9])+"",o,l,s=i[10]+"",r,a;return{c(){e=w("li"),t=w("span"),o=N(),l=w("span"),r=Ue(s),a=N(),u(t,"class","hot-key-map-item-description v-quklnq"),u(l,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){y(c,e,f),d(e,t),t.innerHTML=n,d(e,o),d(e,l),d(l,r),d(e,a)},p(c,f){f&1&&n!==(n=Vl(c[9])+"")&&(t.innerHTML=n),f&1&&s!==(s=c[10]+"")&&Xe(r,s)},d(c){c&&k(e)}}}function Nl(i){let e,t,n=i[5]+"",o,l,s,r,a=Mt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Ml(zl(i,a,f));return{c(){e=w("div"),t=w("h5"),o=Ue(n),l=N(),s=w("ul");for(let f=0;f<c.length;f+=1)c[f].c();r=N(),u(t,"class","hot-key-map-group-title v-quklnq"),u(s,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,h){y(f,e,h),d(e,t),d(t,o),d(e,l),d(e,s);for(let v=0;v<c.length;v+=1)c[v]&&c[v].m(s,null);d(e,r)},p(f,h){if(h&1&&n!==(n=f[5]+"")&&Xe(o,n),h&1){a=Mt(f[6]);let v;for(v=0;v<a.length;v+=1){const g=zl(f,a,v);c[v]?c[v].p(g,h):(c[v]=Ml(g),c[v].c(),c[v].m(s,null))}for(;v<c.length;v+=1)c[v].d(1);c.length=a.length}},d(f){f&&k(e),tn(c,f)}}}function n0(i){let e,t=Mt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=Nl(Il(i,t,o));return{c(){e=w("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,l){y(o,e,l);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(e,null)},p(o,l){if(l&1){t=Mt(o[0].groups);let s;for(s=0;s<t.length;s+=1){const r=Il(o,t,s);n[s]?n[s].p(r,l):(n[s]=Nl(r),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(o){o&&k(e),tn(n,o)}}}function o0(i){let e,t;return e=new e0({props:{title:i[0].title,onClose:i[2],$$slots:{default:[n0]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.title=n[0].title),o&8193&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function l0(i,e,t){let n;const o=yt(),{data:l,show:s}=o.ui.modals.hotKeyMap;return U(i,l,a=>t(0,n=a)),[n,l,()=>{s.set(!1)}]}class s0 extends we{constructor(e){super(),_e(this,e,l0,o0,ve,{},i0)}}function r0(i){He(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 a0(i){let e,t;const n=i[1].default,o=bn(n,i,i[0],null);return{c(){e=w("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(l,s){y(l,e,s),o&&o.m(e,null),t=!0},p(l,[s]){o&&o.p&&(!t||s&1)&&wn(o,n,l,l[0],t?_n(n,l[0],s,null):kn(l[0]),null)},i(l){t||(m(o,l),t=!0)},o(l){p(o,l),t=!1},d(l){l&&k(e),o&&o.d(l)}}}function u0(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=l=>{"$$scope"in l&&t(0,o=l.$$scope)},[o,n]}class c0 extends we{constructor(e){super(),_e(this,e,u0,a0,ve,{},r0)}}function f0(i){let e,t,n;return{c(){e=z("svg"),t=z("path"),n=z("path"),u(t,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){y(o,e,l),d(e,t),d(e,n)},p:j,i:j,o:j,d(o){o&&k(e)}}}class d0 extends we{constructor(e){super(),_e(this,e,null,f0,ve,{})}}function m0(i){let e,t,n;return{c(){e=z("svg"),t=z("path"),n=z("path"),u(t,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){y(o,e,l),d(e,t),d(e,n)},p:j,i:j,o:j,d(o){o&&k(e)}}}class h0 extends we{constructor(e){super(),_e(this,e,null,m0,ve,{})}}function p0(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class g0 extends we{constructor(e){super(),_e(this,e,null,p0,ve,{})}}function v0(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class ja extends we{constructor(e){super(),_e(this,e,null,v0,ve,{})}}function b0(i){let e,t,n;return{c(){e=z("svg"),t=z("path"),n=z("path"),u(t,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){y(o,e,l),d(e,t),d(e,n)},p:j,i:j,o:j,d(o){o&&k(e)}}}class Za extends we{constructor(e){super(),_e(this,e,null,b0,ve,{})}}const Un=i=>{switch(i){case ot.VideoQuality.Q_720P:return g0;case ot.VideoQuality.Q_1080P:return ja;case ot.VideoQuality.Q_1440P:return Za;case ot.VideoQuality.Q_2160P:return d0;case ot.VideoQuality.Q_4320P:return h0}};function _0(i){He(i,"v-15tafwa",".icon.v-15tafwa{position:relative;width:24px;height:24px}.icon.v-15tafwa .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-15tafwa .pillow{right:-13px}")}function w0(i){let e,t,n,o,l,s,r=i[1]&&Bl(i);return{c(){e=w("div"),r&&r.c(),t=N(),n=z("svg"),o=z("path"),l=z("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(l,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(l,"fill","#fff"),C(l,"hidden",!!i[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-15tafwa"),u(e,"aria-hidden","true"),C(e,"triple",i[2])},m(a,c){y(a,e,c),r&&r.m(e,null),d(e,t),d(e,n),d(n,o),d(n,l),s=!0},p(a,c){a[1]?r?(r.p(a,c),c&2&&m(r,1)):(r=Bl(a),r.c(),m(r,1),r.m(e,t)):r&&(he(),p(r,1,1,()=>{r=null}),pe()),(!s||c&2)&&C(l,"hidden",!!a[1]),(!s||c&4)&&C(e,"triple",a[2])},i(a){s||(m(r),s=!0)},o(a){p(r),s=!1},d(a){a&&k(e),r&&r.d()}}}function k0(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}function Bl(i){let e,t;return e=new c0({props:{$$slots:{default:[y0]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&18&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function y0(i){let e,t,n;var o=i[1];function l(s){return{}}return o&&(e=rn(o,l())),{c(){e&&H(e.$$.fragment),t=gt()},m(s,r){e&&O(e,s,r),y(s,t,r),n=!0},p(s,r){if(r&2&&o!==(o=s[1])){if(e){he();const a=e;p(a.$$.fragment,1,0,()=>{D(a,1)}),pe()}o?(e=rn(o,l()),H(e.$$.fragment),m(e.$$.fragment,1),O(e,t.parentNode,t)):e=null}},i(s){n||(e&&m(e.$$.fragment,s),n=!0)},o(s){e&&p(e.$$.fragment,s),n=!1},d(s){s&&k(t),e&&D(e,s)}}}function P0(i){let e,t,n,o;const l=[k0,w0],s=[];function r(a,c){return a[0]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=gt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?s[e].p(a,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){p(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function C0(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:l=void 0}=e,s;return i.$$set=r=>{"isMobile"in r&&t(0,o=r.isMobile),"currentQuality"in r&&t(3,l=r.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=Un(l)),i.$$.dirty&2&&t(2,s=!!n&&[ja,Za].includes(n))},[o,n,s,l]}class Ga extends we{constructor(e){super(),_e(this,e,C0,P0,ve,{isMobile:0,currentQuality:3},_0)}}function S0(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class Ya extends we{constructor(e){super(),_e(this,e,null,S0,ve,{})}}function T0(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(t,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class A0 extends we{constructor(e){super(),_e(this,e,null,T0,ve,{})}}function E0(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(t,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class L0 extends we{constructor(e){super(),_e(this,e,null,E0,ve,{})}}function V0(i){let e,t,n,o;return{c(){e=z("svg"),t=z("g"),n=z("path"),o=z("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(l,s){y(l,e,s),d(e,t),d(t,n),d(t,o)},p:j,i:j,o:j,d(l){l&&k(e)}}}class I0 extends we{constructor(e){super(),_e(this,e,null,V0,ve,{})}}function z0(i){He(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function M0(i){let e,t,n;return{c(){e=z("svg"),t=z("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"),C(e,"reverted",i[2])},m(o,l){y(o,e,l),d(e,t)},p(o,l){l&1&&u(t,"fill",o[0]),l&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),l&4&&C(e,"reverted",o[2])},d(o){o&&k(e)}}}function N0(i){let e,t,n;return{c(){e=z("svg"),t=z("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"),C(e,"reverted",i[2])},m(o,l){y(o,e,l),d(e,t)},p(o,l){l&1&&u(t,"fill",o[0]),l&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),l&4&&C(e,"reverted",o[2])},d(o){o&&k(e)}}}function B0(i){let e;function t(l,s){return l[1]?N0:M0}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:j,o:j,d(l){l&&k(e),o.d(l)}}}function R0(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,l,s;return i.$$set=r=>{"direction"in r&&t(3,n=r.direction),"color"in r&&t(0,o=r.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,l=["up","down"].includes(n)),t(2,s=["right","down"].includes(n)))},[o,l,s,n]}class vn extends we{constructor(e){super(),_e(this,e,R0,B0,ve,{direction:3,color:0},z0)}}function O0(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class D0 extends we{constructor(e){super(),_e(this,e,null,O0,ve,{})}}function H0(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(t,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class lo extends we{constructor(e){super(),_e(this,e,null,H0,ve,{})}}function F0(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class U0 extends we{constructor(e){super(),_e(this,e,null,F0,ve,{})}}function W0(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class q0 extends we{constructor(e){super(),_e(this,e,null,W0,ve,{})}}function j0(i){He(i,"v-1v0zy8z","ul.v-1v0zy8z.v-1v0zy8z{margin:0;padding:0}.menu.v-1v0zy8z.v-1v0zy8z{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s;overflow:hidden}.container-mobile.v-1v0zy8z.v-1v0zy8z{width:100%}.menu-desktop.v-1v0zy8z.v-1v0zy8z{position:absolute;right:0;bottom:0}.menu-mobile.v-1v0zy8z.v-1v0zy8z{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-1v0zy8z.v-1v0zy8z{display:none}.menu-subList.v-1v0zy8z.v-1v0zy8z{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-1v0zy8z.v-1v0zy8z{min-width:164px}.menu-subList-traffic-saving.v-1v0zy8z.v-1v0zy8z{min-width:286px}.item.v-1v0zy8z.v-1v0zy8z{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-1v0zy8z.v-1v0zy8z{padding:0 14px}.item-quality.item-mobile.v-1v0zy8z.v-1v0zy8z,.item-traffic-saving.item-mobile.v-1v0zy8z.v-1v0zy8z,.item-helper-text.item-mobile.v-1v0zy8z.v-1v0zy8z{flex-direction:row-reverse}.item-helper-text.v-1v0zy8z.v-1v0zy8z{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-1v0zy8z span.v-1v0zy8z{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-1v0zy8z.v-1v0zy8z{padding:7px 14px}.item-helper-text.item-mobile.v-1v0zy8z span.v-1v0zy8z{text-align:start}.quality-title-mobile.v-1v0zy8z.v-1v0zy8z{flex-grow:1}.item.v-1v0zy8z.v-1v0zy8z:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-1v0zy8z.v-1v0zy8z:hover{background:var(--mobile-settings-bg)}.menu-subList.v-1v0zy8z .item.v-1v0zy8z{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-1v0zy8z .item.v-1v0zy8z:last-child{margin-bottom:4px}.menu-icon-wrapper.v-1v0zy8z.v-1v0zy8z{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-1v0zy8z.v-1v0zy8z{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-1v0zy8z.v-1v0zy8z{position:relative;opacity:0.7}.menu-valueIcon.v-1v0zy8z.v-1v0zy8z{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-1v0zy8z.v-1v0zy8z{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-1v0zy8z svg,.menu-valueIcon-list.v-1v0zy8z svg{color:var(--blue-light)}.menu-divider.v-1v0zy8z.v-1v0zy8z{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-1v0zy8z.v-1v0zy8z{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-1v0zy8z.v-1v0zy8z{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-1v0zy8z.v-1v0zy8z::-webkit-scrollbar{width:8px}.items.v-1v0zy8z.v-1v0zy8z::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-1v0zy8z.v-1v0zy8z::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-1v0zy8z.v-1v0zy8z::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-1v0zy8z.v-1v0zy8z{overflow-y:auto;max-height:160px;text-align:left}.close.v-1v0zy8z.v-1v0zy8z{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-1v0zy8z.v-1v0zy8z:before,.close.v-1v0zy8z.v-1v0zy8z:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-1v0zy8z.v-1v0zy8z:before{transform:rotate(45deg)}.close.v-1v0zy8z.v-1v0zy8z:after{transform:rotate(-45deg)}")}function Rl(i,e,t){const n=i.slice();return n[83]=e[t],n}function Ol(i,e,t){const n=i.slice();return n[86]=e[t],n}function Dl(i,e,t){const n=i.slice();return n[89]=e[t],n}function Hl(i){let e,t,n,o,l,s,r,a;return{c(){e=w("div"),t=w("div"),t.textContent=`${oe("submenu_settings")}`,n=N(),o=w("div"),l=N(),s=w("div"),u(o,"class","close v-1v0zy8z"),u(e,"class","item menu-header v-1v0zy8z"),C(e,"item-mobile",i[4]),u(s,"class","menu-divider v-1v0zy8z")},m(c,f){y(c,e,f),d(e,t),d(e,n),d(e,o),y(c,l,f),y(c,s,f),r||(a=Ae(o,"click",ct(i[44])),r=!0)},p(c,f){f[0]&16&&C(e,"item-mobile",c[4])},d(c){c&&(k(e),k(l),k(s)),r=!1,a()}}}function Fl(i){let e,t,n,o,l,s,r,a,c,f,h,v;n=new Ga({});let g=i[21]&&!i[4]&&Ul(i);return{c(){e=w("li"),t=w("div"),H(n.$$.fragment),o=N(),l=w("div"),l.textContent=`${oe("menu_quality")}`,s=N(),r=w("div"),a=Ue(i[12]),c=N(),g&&g.c(),u(t,"class","menu-icon-wrapper v-1v0zy8z"),u(l,"class","menu-title v-1v0zy8z"),u(r,"class","menu-value v-1v0zy8z"),u(e,"class","item v-1v0zy8z"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),C(e,"item-mobile",i[4])},m(b,A){y(b,e,A),d(e,t),O(n,t,null),d(e,o),d(e,l),d(e,s),d(e,r),d(r,a),d(r,c),g&&g.m(r,null),f=!0,h||(v=Ae(e,"click",ct(i[45])),h=!0)},p(b,A){(!f||A[0]&4096)&&Xe(a,b[12]),b[21]&&!b[4]?g?(g.p(b,A),A[0]&2097168&&m(g,1)):(g=Ul(b),g.c(),m(g,1),g.m(r,null)):g&&(he(),p(g,1,1,()=>{g=null}),pe()),(!f||A[0]&16)&&C(e,"item-mobile",b[4])},i(b){f||(m(n.$$.fragment,b),m(g),f=!0)},o(b){p(n.$$.fragment,b),p(g),f=!1},d(b){b&&k(e),D(n),g&&g.d(),h=!1,v()}}}function Ul(i){let e,t,n;var o=i[21];function l(s){return{}}return o&&(t=rn(o,l())),{c(){e=w("div"),t&&H(t.$$.fragment),u(e,"class","menu-valueIcon v-1v0zy8z")},m(s,r){y(s,e,r),t&&O(t,e,null),n=!0},p(s,r){if(r[0]&2097152&&o!==(o=s[21])){if(t){he();const a=t;p(a.$$.fragment,1,0,()=>{D(a,1)}),pe()}o?(t=rn(o,l()),H(t.$$.fragment),m(t.$$.fragment,1),O(t,e,null)):t=null}},i(s){n||(t&&m(t.$$.fragment,s),n=!0)},o(s){t&&p(t.$$.fragment,s),n=!1},d(s){s&&k(e),t&&D(t)}}}function Wl(i){let e,t,n,o,l,s,r,a,c,f,h,v;return n=new I0({}),{c(){e=w("li"),t=w("div"),H(n.$$.fragment),o=N(),l=w("div"),l.textContent=`${oe("menu_playback_rate")}`,s=N(),r=w("div"),a=Ue(i[22]),c=Ue("x"),u(t,"class","menu-icon-wrapper v-1v0zy8z"),u(l,"class","menu-title v-1v0zy8z"),u(r,"class","menu-value v-1v0zy8z"),u(e,"class","item v-1v0zy8z"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),C(e,"item-mobile",i[4])},m(g,b){y(g,e,b),d(e,t),O(n,t,null),d(e,o),d(e,l),d(e,s),d(e,r),d(r,a),d(r,c),f=!0,h||(v=Ae(e,"click",ct(i[49])),h=!0)},p(g,b){(!f||b[0]&4194304)&&Xe(a,g[22]),(!f||b[0]&16)&&C(e,"item-mobile",g[4])},i(g){f||(m(n.$$.fragment,g),f=!0)},o(g){p(n.$$.fragment,g),f=!1},d(g){g&&k(e),D(n),h=!1,v()}}}function ql(i){let e,t,n,o,l,s,r,a=i[23].displayValue+"",c,f,h,v;return n=new Ya({}),{c(){e=w("li"),t=w("div"),H(n.$$.fragment),o=N(),l=w("div"),l.textContent=`${oe("subtitles_caption")}`,s=N(),r=w("div"),c=Ue(a),u(t,"class","menu-icon-wrapper v-1v0zy8z"),u(l,"class","menu-title v-1v0zy8z"),u(r,"class","menu-value v-1v0zy8z"),u(e,"class","item v-1v0zy8z"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),C(e,"item-mobile",i[4])},m(g,b){y(g,e,b),d(e,t),O(n,t,null),d(e,o),d(e,l),d(e,s),d(e,r),d(r,c),f=!0,h||(v=Ae(e,"click",ct(i[51])),h=!0)},p(g,b){(!f||b[0]&8388608)&&a!==(a=g[23].displayValue+"")&&Xe(c,a),(!f||b[0]&16)&&C(e,"item-mobile",g[4])},i(g){f||(m(n.$$.fragment,g),f=!0)},o(g){p(n.$$.fragment,g),f=!1},d(g){g&&k(e),D(n),h=!1,v()}}}function jl(i){let e,t,n,o,l,s,r,a=(i[24]?oe("traffic_saving_on"):oe("traffic_saving_off"))+"",c,f,h,v;return n=new L0({}),{c(){e=w("li"),t=w("div"),H(n.$$.fragment),o=N(),l=w("div"),l.textContent=`${oe("menu_traffic_saving")}`,s=N(),r=w("div"),c=Ue(a),u(t,"class","menu-icon-wrapper v-1v0zy8z"),u(l,"class","menu-title v-1v0zy8z"),u(r,"class","menu-value v-1v0zy8z"),u(e,"class","item v-1v0zy8z"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),C(e,"item-mobile",i[4])},m(g,b){y(g,e,b),d(e,t),O(n,t,null),d(e,o),d(e,l),d(e,s),d(e,r),d(r,c),f=!0,h||(v=Ae(e,"click",ct(i[46])),h=!0)},p(g,b){(!f||b[0]&16777216)&&a!==(a=(g[24]?oe("traffic_saving_on"):oe("traffic_saving_off"))+"")&&Xe(c,a),(!f||b[0]&16)&&C(e,"item-mobile",g[4])},i(g){f||(m(n.$$.fragment,g),f=!0)},o(g){p(n.$$.fragment,g),f=!1},d(g){g&&k(e),D(n),h=!1,v()}}}function Zl(i){let e,t,n,o,l,s,r,a;return n=new A0({}),{c(){e=w("li"),t=w("div"),H(n.$$.fragment),o=N(),l=w("div"),l.textContent=`${oe("download_video_caption")}`,u(t,"class","menu-icon-wrapper v-1v0zy8z"),u(l,"class","menu-title v-1v0zy8z"),u(e,"class","item v-1v0zy8z"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),C(e,"item-mobile",i[4])},m(c,f){y(c,e,f),d(e,t),O(n,t,null),d(e,o),d(e,l),s=!0,r||(a=Ae(e,"click",ct(i[54])),r=!0)},p(c,f){(!s||f[0]&16)&&C(e,"item-mobile",c[4])},i(c){s||(m(n.$$.fragment,c),s=!0)},o(c){p(n.$$.fragment,c),s=!1},d(c){c&&k(e),D(n),r=!1,a()}}}function Gl(i){let e,t,n,o,l,s,r,a,c,f,h,v,g,b,A,T=i[26].showSupport&&Z0(i);return o=new U0({}),f=new q0({}),{c(){T&&T.c(),e=N(),t=w("li"),n=w("div"),H(o.$$.fragment),l=N(),s=w("div"),s.textContent=`${oe("menu_copy_debug")}`,r=N(),a=w("li"),c=w("div"),H(f.$$.fragment),h=N(),v=w("div"),v.textContent=`${oe("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-1v0zy8z"),u(s,"class","menu-title v-1v0zy8z"),u(t,"class","item item-mobile v-1v0zy8z"),u(t,"role","menuitemradio"),u(t,"tabindex","0"),u(c,"class","menu-icon-wrapper v-1v0zy8z"),u(v,"class","menu-title v-1v0zy8z"),u(a,"class","item item-mobile v-1v0zy8z"),u(a,"role","menuitemradio"),u(a,"tabindex","0")},m(I,V){T&&T.m(I,V),y(I,e,V),y(I,t,V),d(t,n),O(o,n,null),d(t,l),d(t,s),y(I,r,V),y(I,a,V),d(a,c),O(f,c,null),d(a,h),d(a,v),g=!0,b||(A=[Ae(t,"click",ct(i[56])),Ae(a,"click",ct(i[57]))],b=!0)},p(I,V){I[26].showSupport&&T.p(I,V)},i(I){g||(m(T),m(o.$$.fragment,I),m(f.$$.fragment,I),g=!0)},o(I){p(T),p(o.$$.fragment,I),p(f.$$.fragment,I),g=!1},d(I){I&&(k(e),k(t),k(r),k(a)),T&&T.d(I),D(o),D(f),b=!1,Rt(A)}}}function Z0(i){let e,t,n,o,l,s,r,a;return n=new D0({}),{c(){e=w("li"),t=w("div"),H(n.$$.fragment),o=N(),l=w("div"),l.textContent=`${oe("menu_report")}`,u(t,"class","menu-icon-wrapper v-1v0zy8z"),u(l,"class","menu-title v-1v0zy8z"),u(e,"class","item item-mobile v-1v0zy8z"),u(e,"role","menuitemradio"),u(e,"tabindex","0")},m(c,f){y(c,e,f),d(e,t),O(n,t,null),d(e,o),d(e,l),s=!0,r||(a=Ae(e,"click",ct(i[55])),r=!0)},p:j,i(c){s||(m(n.$$.fragment,c),s=!0)},o(c){p(n.$$.fragment,c),s=!1},d(c){c&&k(e),D(n),r=!1,a()}}}function Yl(i){let e,t,n;return t=new lo({}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","itemIcon v-1v0zy8z")},m(o,l){y(o,e,l),O(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function Kl(i){let e,t,n;var o=Un(i[89].value);function l(s){return{}}return o&&(t=rn(o,l())),{c(){e=w("div"),t&&H(t.$$.fragment),u(e,"class","menu-valueIcon-list v-1v0zy8z")},m(s,r){y(s,e,r),t&&O(t,e,null),n=!0},p(s,r){if(r[0]&32&&o!==(o=Un(s[89].value))){if(t){he();const a=t;p(a.$$.fragment,1,0,()=>{D(a,1)}),pe()}o?(t=rn(o,l()),H(t.$$.fragment),m(t.$$.fragment,1),O(t,e,null)):t=null}},i(s){n||(t&&m(t.$$.fragment,s),n=!0)},o(s){t&&p(t.$$.fragment,s),n=!1},d(s){s&&k(e),t&&D(t)}}}function Ql(i){let e,t,n,o=i[89].displayValue+"",l,s,r=!i[4]&&Un(i[89].value),a,c,f,h,v,g=i[89].selected&&Yl(),b=r&&Kl(i);function A(){return i[71](i[89])}return{c(){e=w("li"),g&&g.c(),t=N(),n=w("div"),l=Ue(o),s=N(),b&&b.c(),a=N(),u(n,"class","v-1v0zy8z"),C(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-1v0zy8z"),u(e,"data-value",c=i[89].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),C(e,"item-mobile",i[4])},m(T,I){y(T,e,I),g&&g.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),b&&b.m(e,null),d(e,a),f=!0,h||(v=Ae(e,"click",ct(A)),h=!0)},p(T,I){i=T,i[89].selected?g?I[0]&32&&m(g,1):(g=Yl(),g.c(),m(g,1),g.m(e,t)):g&&(he(),p(g,1,1,()=>{g=null}),pe()),(!f||I[0]&32)&&o!==(o=i[89].displayValue+"")&&Xe(l,o),(!f||I[0]&16)&&C(n,"quality-title-mobile",i[4]),I[0]&48&&(r=!i[4]&&Un(i[89].value)),r?b?(b.p(i,I),I[0]&48&&m(b,1)):(b=Kl(i),b.c(),m(b,1),b.m(e,a)):b&&(he(),p(b,1,1,()=>{b=null}),pe()),(!f||I[0]&32&&c!==(c=i[89].value))&&u(e,"data-value",c),(!f||I[0]&16)&&C(e,"item-mobile",i[4])},i(T){f||(m(g),m(b),f=!0)},o(T){p(g),p(b),f=!1},d(T){T&&k(e),g&&g.d(),b&&b.d(),h=!1,v()}}}function Xl(i){let e,t,n;return t=new lo({}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","itemIcon v-1v0zy8z")},m(o,l){y(o,e,l),O(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function Jl(i){let e,t,n,o=i[86].displayValue+"",l,s,r,a,c,f,h=i[86].selected&&Xl();function v(){return i[73](i[86])}return{c(){e=w("li"),h&&h.c(),t=N(),n=w("div"),l=Ue(o),s=N(),u(n,"class","v-1v0zy8z"),C(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-1v0zy8z"),u(e,"data-value",r=i[86].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),C(e,"item-mobile",i[4])},m(g,b){y(g,e,b),h&&h.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),a=!0,c||(f=Ae(e,"click",ct(v)),c=!0)},p(g,b){i=g,i[86].selected?h?b[0]&33554432&&m(h,1):(h=Xl(),h.c(),m(h,1),h.m(e,t)):h&&(he(),p(h,1,1,()=>{h=null}),pe()),(!a||b[0]&33554432)&&o!==(o=i[86].displayValue+"")&&Xe(l,o),(!a||b[0]&16)&&C(n,"quality-title-mobile",i[4]),(!a||b[0]&33554432&&r!==(r=i[86].value))&&u(e,"data-value",r),(!a||b[0]&16)&&C(e,"item-mobile",i[4])},i(g){a||(m(h),a=!0)},o(g){p(h),a=!1},d(g){g&&k(e),h&&h.d(),c=!1,f()}}}function xl(i){let e,t,n;return t=new lo({}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","itemIcon v-1v0zy8z")},m(o,l){y(o,e,l),O(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function $l(i){let e,t,n;return t=new lo({}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","itemIcon v-1v0zy8z")},m(o,l){y(o,e,l),O(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function es(i){let e,t,n;return t=new lo({}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","itemIcon v-1v0zy8z")},m(o,l){y(o,e,l),O(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function ts(i){let e,t,n,o=i[83].displayValue+"",l,s,r,a,c,f,h=i[83].selected&&es();function v(){return i[77](i[83])}return{c(){e=w("li"),h&&h.c(),t=N(),n=w("div"),l=Ue(o),s=N(),u(n,"class","v-1v0zy8z"),C(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-1v0zy8z"),u(e,"data-value",r=i[83].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),C(e,"item-mobile",i[4])},m(g,b){y(g,e,b),h&&h.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),a=!0,c||(f=Ae(e,"click",ct(v)),c=!0)},p(g,b){i=g,i[83].selected?h?b[0]&8&&m(h,1):(h=es(),h.c(),m(h,1),h.m(e,t)):h&&(he(),p(h,1,1,()=>{h=null}),pe()),(!a||b[0]&8)&&o!==(o=i[83].displayValue+"")&&Xe(l,o),(!a||b[0]&16)&&C(n,"quality-title-mobile",i[4]),(!a||b[0]&8&&r!==(r=i[83].value))&&u(e,"data-value",r),(!a||b[0]&16)&&C(e,"item-mobile",i[4])},i(g){a||(m(h),a=!0)},o(g){p(h),a=!1},d(g){g&&k(e),h&&h.d(),c=!1,f()}}}function G0(i){let e,t,n,o,l,s,r,a,c,f,h,v,g,b,A,T,I,V,E,M,ie,Y,P,F,J,le,ne,ue,ee,B,_,x,ae,ze,se,ge,Se,G,L,re,Q,Pe,R,X,Ve,ke,be,Ce,Te,Z,W,We,Ge,xe,De,Me,dt,st,Ne,Re,Qt,me,at=i[4]&&Hl(i),Je=i[20]&&Fl(i),$e=i[19]&&Wl(i),Ye=i[18]&&ql(i),et=i[17]&&jl(i),lt=i[16]&&Zl(i),ft=i[4]&&Gl(i);g=new vn({props:{direction:"left"}});let Pt=Mt(i[5]),nt=[];for(let de=0;de<Pt.length;de+=1)nt[de]=Ql(Dl(i,Pt,de));const Ut=de=>p(nt[de],1,1,()=>{nt[de]=null});P=new vn({props:{direction:"left"}});let Ct=Mt(i[25]),tt=[];for(let de=0;de<Ct.length;de+=1)tt[de]=Jl(Ol(i,Ct,de));const xt=de=>p(tt[de],1,1,()=>{tt[de]=null});ae=new vn({props:{direction:"left"}});let mt=!i[24]&&xl(),Ze=i[24]&&$l();De=new vn({props:{direction:"left"}});let Tt=Mt(i[3]),rt=[];for(let de=0;de<Tt.length;de+=1)rt[de]=ts(Rl(i,Tt,de));const $t=de=>p(rt[de],1,1,()=>{rt[de]=null});return{c(){e=w("div"),t=w("div"),at&&at.c(),n=N(),o=w("ul"),Je&&Je.c(),l=N(),$e&&$e.c(),s=N(),Ye&&Ye.c(),r=N(),et&&et.c(),a=N(),lt&<.c(),c=N(),ft&&ft.c(),f=N(),h=w("div"),v=w("div"),H(g.$$.fragment),b=N(),A=w("div"),A.textContent=`${oe("submenu_quality")}`,T=N(),I=w("div"),V=N(),E=w("ul");for(let de=0;de<nt.length;de+=1)nt[de].c();M=N(),ie=w("div"),Y=w("div"),H(P.$$.fragment),F=N(),J=w("div"),J.textContent=`${oe("submenu_playback_rate")}`,le=N(),ne=w("div"),ue=N(),ee=w("ul");for(let de=0;de<tt.length;de+=1)tt[de].c();B=N(),_=w("div"),x=w("div"),H(ae.$$.fragment),ze=N(),se=w("div"),se.textContent=`${oe("submenu_traffic_saving")}`,ge=N(),Se=w("div"),G=N(),L=w("ul"),re=w("li"),mt&&mt.c(),Q=N(),Pe=w("div"),Pe.textContent=`${oe("traffic_saving_disable")}`,R=N(),X=w("li"),Ze&&Ze.c(),Ve=N(),ke=w("div"),ke.textContent=`${oe("traffic_saving_enable")}`,be=N(),Ce=w("div"),Te=N(),Z=w("div"),W=w("span"),W.textContent=`${oe("traffic_saving_helper_text")}`,We=N(),Ge=w("div"),xe=w("div"),H(De.$$.fragment),Me=N(),dt=w("div"),dt.textContent=`${oe("subtitles_caption")}`,st=N(),Ne=w("ul");for(let de=0;de<rt.length;de+=1)rt[de].c();u(o,"class","items v-1v0zy8z"),C(o,"items-mobile",i[4]),u(t,"class","menu v-1v0zy8z"),u(t,"role","menu"),C(t,"menu-desktop",!i[4]),C(t,"menu-mobile",i[4]),C(t,"hidden",!i[7]),u(v,"class","item menu-header v-1v0zy8z"),C(v,"item-mobile",i[4]),u(I,"class","menu-divider v-1v0zy8z"),u(E,"class","items v-1v0zy8z"),u(E,"style",i[13]),C(E,"items-mobile",i[4]),u(h,"class","menu menu-subList v-1v0zy8z"),C(h,"menu-desktop",!i[4]),C(h,"menu-mobile",i[4]),C(h,"hidden",!i[8]),u(Y,"class","item menu-header v-1v0zy8z"),C(Y,"item-mobile",i[4]),u(ne,"class","menu-divider v-1v0zy8z"),u(ee,"class","items v-1v0zy8z"),u(ee,"style",i[14]),C(ee,"items-mobile",i[4]),u(ie,"class","menu menu-subList v-1v0zy8z"),C(ie,"menu-desktop",!i[4]),C(ie,"menu-mobile",i[4]),C(ie,"hidden",!i[9]),u(x,"class","item menu-header v-1v0zy8z"),C(x,"item-mobile",i[4]),u(Se,"class","menu-divider v-1v0zy8z"),u(Pe,"class","v-1v0zy8z"),C(Pe,"quality-title-mobile",i[4]),u(re,"class","item item-traffic-saving v-1v0zy8z"),u(re,"role","menuitemradio"),u(re,"tabindex","0"),C(re,"item-mobile",i[4]),u(ke,"class","v-1v0zy8z"),C(ke,"quality-title-mobile",i[4]),u(X,"class","item item-traffic-saving v-1v0zy8z"),u(X,"role","menuitemradio"),u(X,"tabindex","0"),C(X,"item-mobile",i[4]),u(L,"class","items v-1v0zy8z"),u(L,"style",i[15]),C(L,"items-mobile",i[4]),u(Ce,"class","menu-divider v-1v0zy8z"),u(W,"class","v-1v0zy8z"),u(Z,"class","item item-helper-text v-1v0zy8z"),C(Z,"item-mobile",i[4]),u(_,"class","menu menu-subList menu-subList-traffic-saving v-1v0zy8z"),C(_,"menu-desktop",!i[4]),C(_,"menu-mobile",i[4]),C(_,"hidden",!i[11]),u(xe,"class","item menu-header v-1v0zy8z"),C(xe,"item-mobile",i[4]),u(Ne,"class","items v-1v0zy8z"),C(Ne,"items-mobile",i[4]),u(Ge,"class","menu menu-subList menu-subList-subtitles v-1v0zy8z"),C(Ge,"menu-desktop",!i[4]),C(Ge,"menu-mobile",i[4]),C(Ge,"hidden",!i[10]),u(e,"class","v-1v0zy8z"),C(e,"hidden",!i[6]),C(e,"container-mobile",i[4])},m(de,ye){y(de,e,ye),d(e,t),at&&at.m(t,null),d(t,n),d(t,o),Je&&Je.m(o,null),d(o,l),$e&&$e.m(o,null),d(o,s),Ye&&Ye.m(o,null),d(o,r),et&&et.m(o,null),d(o,a),lt&<.m(o,null),d(o,c),ft&&ft.m(o,null),d(e,f),d(e,h),d(h,v),O(g,v,null),d(v,b),d(v,A),i[70](v),d(h,T),d(h,I),d(h,V),d(h,E);for(let Ie=0;Ie<nt.length;Ie+=1)nt[Ie]&&nt[Ie].m(E,null);d(e,M),d(e,ie),d(ie,Y),O(P,Y,null),d(Y,F),d(Y,J),i[72](Y),d(ie,le),d(ie,ne),d(ie,ue),d(ie,ee);for(let Ie=0;Ie<tt.length;Ie+=1)tt[Ie]&&tt[Ie].m(ee,null);d(e,B),d(e,_),d(_,x),O(ae,x,null),d(x,ze),d(x,se),i[74](x),d(_,ge),d(_,Se),d(_,G),d(_,L),d(L,re),mt&&mt.m(re,null),d(re,Q),d(re,Pe),d(L,R),d(L,X),Ze&&Ze.m(X,null),d(X,Ve),d(X,ke),d(_,be),d(_,Ce),d(_,Te),d(_,Z),d(Z,W),d(e,We),d(e,Ge),d(Ge,xe),O(De,xe,null),d(xe,Me),d(xe,dt),d(Ge,st),d(Ge,Ne);for(let Ie=0;Ie<rt.length;Ie+=1)rt[Ie]&&rt[Ie].m(Ne,null);Re=!0,Qt||(me=[Ae(v,"click",ct(i[53])),Ae(Y,"click",ct(i[53])),Ae(x,"click",ct(i[53])),Ae(re,"click",ct(i[75])),Ae(X,"click",ct(i[76])),Ae(xe,"click",ct(i[53]))],Qt=!0)},p(de,ye){if(de[4]?at?at.p(de,ye):(at=Hl(de),at.c(),at.m(t,n)):at&&(at.d(1),at=null),de[20]?Je?(Je.p(de,ye),ye[0]&1048576&&m(Je,1)):(Je=Fl(de),Je.c(),m(Je,1),Je.m(o,l)):Je&&(he(),p(Je,1,1,()=>{Je=null}),pe()),de[19]?$e?($e.p(de,ye),ye[0]&524288&&m($e,1)):($e=Wl(de),$e.c(),m($e,1),$e.m(o,s)):$e&&(he(),p($e,1,1,()=>{$e=null}),pe()),de[18]?Ye?(Ye.p(de,ye),ye[0]&262144&&m(Ye,1)):(Ye=ql(de),Ye.c(),m(Ye,1),Ye.m(o,r)):Ye&&(he(),p(Ye,1,1,()=>{Ye=null}),pe()),de[17]?et?(et.p(de,ye),ye[0]&131072&&m(et,1)):(et=jl(de),et.c(),m(et,1),et.m(o,a)):et&&(he(),p(et,1,1,()=>{et=null}),pe()),de[16]?lt?(lt.p(de,ye),ye[0]&65536&&m(lt,1)):(lt=Zl(de),lt.c(),m(lt,1),lt.m(o,c)):lt&&(he(),p(lt,1,1,()=>{lt=null}),pe()),de[4]?ft?(ft.p(de,ye),ye[0]&16&&m(ft,1)):(ft=Gl(de),ft.c(),m(ft,1),ft.m(o,null)):ft&&(he(),p(ft,1,1,()=>{ft=null}),pe()),(!Re||ye[0]&16)&&C(o,"items-mobile",de[4]),(!Re||ye[0]&16)&&C(t,"menu-desktop",!de[4]),(!Re||ye[0]&16)&&C(t,"menu-mobile",de[4]),(!Re||ye[0]&128)&&C(t,"hidden",!de[7]),(!Re||ye[0]&16)&&C(v,"item-mobile",de[4]),ye[0]&48|ye[1]&65536){Pt=Mt(de[5]);let Ie;for(Ie=0;Ie<Pt.length;Ie+=1){const St=Dl(de,Pt,Ie);nt[Ie]?(nt[Ie].p(St,ye),m(nt[Ie],1)):(nt[Ie]=Ql(St),nt[Ie].c(),m(nt[Ie],1),nt[Ie].m(E,null))}for(he(),Ie=Pt.length;Ie<nt.length;Ie+=1)Ut(Ie);pe()}if((!Re||ye[0]&8192)&&u(E,"style",de[13]),(!Re||ye[0]&16)&&C(E,"items-mobile",de[4]),(!Re||ye[0]&16)&&C(h,"menu-desktop",!de[4]),(!Re||ye[0]&16)&&C(h,"menu-mobile",de[4]),(!Re||ye[0]&256)&&C(h,"hidden",!de[8]),(!Re||ye[0]&16)&&C(Y,"item-mobile",de[4]),ye[0]&33554448|ye[1]&524288){Ct=Mt(de[25]);let Ie;for(Ie=0;Ie<Ct.length;Ie+=1){const St=Ol(de,Ct,Ie);tt[Ie]?(tt[Ie].p(St,ye),m(tt[Ie],1)):(tt[Ie]=Jl(St),tt[Ie].c(),m(tt[Ie],1),tt[Ie].m(ee,null))}for(he(),Ie=Ct.length;Ie<tt.length;Ie+=1)xt(Ie);pe()}if((!Re||ye[0]&16384)&&u(ee,"style",de[14]),(!Re||ye[0]&16)&&C(ee,"items-mobile",de[4]),(!Re||ye[0]&16)&&C(ie,"menu-desktop",!de[4]),(!Re||ye[0]&16)&&C(ie,"menu-mobile",de[4]),(!Re||ye[0]&512)&&C(ie,"hidden",!de[9]),(!Re||ye[0]&16)&&C(x,"item-mobile",de[4]),de[24]?mt&&(he(),p(mt,1,1,()=>{mt=null}),pe()):mt?ye[0]&16777216&&m(mt,1):(mt=xl(),mt.c(),m(mt,1),mt.m(re,Q)),(!Re||ye[0]&16)&&C(Pe,"quality-title-mobile",de[4]),(!Re||ye[0]&16)&&C(re,"item-mobile",de[4]),de[24]?Ze?ye[0]&16777216&&m(Ze,1):(Ze=$l(),Ze.c(),m(Ze,1),Ze.m(X,Ve)):Ze&&(he(),p(Ze,1,1,()=>{Ze=null}),pe()),(!Re||ye[0]&16)&&C(ke,"quality-title-mobile",de[4]),(!Re||ye[0]&16)&&C(X,"item-mobile",de[4]),(!Re||ye[0]&32768)&&u(L,"style",de[15]),(!Re||ye[0]&16)&&C(L,"items-mobile",de[4]),(!Re||ye[0]&16)&&C(Z,"item-mobile",de[4]),(!Re||ye[0]&16)&&C(_,"menu-desktop",!de[4]),(!Re||ye[0]&16)&&C(_,"menu-mobile",de[4]),(!Re||ye[0]&2048)&&C(_,"hidden",!de[11]),(!Re||ye[0]&16)&&C(xe,"item-mobile",de[4]),ye[0]&24|ye[1]&2097152){Tt=Mt(de[3]);let Ie;for(Ie=0;Ie<Tt.length;Ie+=1){const St=Rl(de,Tt,Ie);rt[Ie]?(rt[Ie].p(St,ye),m(rt[Ie],1)):(rt[Ie]=ts(St),rt[Ie].c(),m(rt[Ie],1),rt[Ie].m(Ne,null))}for(he(),Ie=Tt.length;Ie<rt.length;Ie+=1)$t(Ie);pe()}(!Re||ye[0]&16)&&C(Ne,"items-mobile",de[4]),(!Re||ye[0]&16)&&C(Ge,"menu-desktop",!de[4]),(!Re||ye[0]&16)&&C(Ge,"menu-mobile",de[4]),(!Re||ye[0]&1024)&&C(Ge,"hidden",!de[10]),(!Re||ye[0]&64)&&C(e,"hidden",!de[6]),(!Re||ye[0]&16)&&C(e,"container-mobile",de[4])},i(de){if(!Re){m(Je),m($e),m(Ye),m(et),m(lt),m(ft),m(g.$$.fragment,de);for(let ye=0;ye<Pt.length;ye+=1)m(nt[ye]);m(P.$$.fragment,de);for(let ye=0;ye<Ct.length;ye+=1)m(tt[ye]);m(ae.$$.fragment,de),m(mt),m(Ze),m(De.$$.fragment,de);for(let ye=0;ye<Tt.length;ye+=1)m(rt[ye]);Re=!0}},o(de){p(Je),p($e),p(Ye),p(et),p(lt),p(ft),p(g.$$.fragment,de),nt=nt.filter(Boolean);for(let ye=0;ye<nt.length;ye+=1)p(nt[ye]);p(P.$$.fragment,de),tt=tt.filter(Boolean);for(let ye=0;ye<tt.length;ye+=1)p(tt[ye]);p(ae.$$.fragment,de),p(mt),p(Ze),p(De.$$.fragment,de),rt=rt.filter(Boolean);for(let ye=0;ye<rt.length;ye+=1)p(rt[ye]);Re=!1},d(de){de&&k(e),at&&at.d(),Je&&Je.d(),$e&&$e.d(),Ye&&Ye.d(),et&&et.d(),lt&<.d(),ft&&ft.d(),D(g),i[70](null),tn(nt,de),D(P),i[72](null),tn(tt,de),D(ae),i[74](null),mt&&mt.d(),Ze&&Ze.d(),D(De),tn(rt,de),Qt=!1,Rt(me)}}}const Lo=18;function Y0(i,e,t){let n,o,l,s,r,a,c,f,h,v,g,b,A,T,I,V,E,M,{supportLink:ie}=e,{playerControlsHeight:Y=0}=e,{returnFocus:P}=e;const F=yt(),J=Yi(),le=F.state.currentQuality$;U(i,le,Ee=>t(69,A=Ee));const ne=F.state.availableQualities$;U(i,ne,Ee=>t(5,b=Ee));const ue=F.state.autoQualityLimitingAvailable$;U(i,ue,Ee=>t(63,r=Ee));const ee=F.state.isAutoQualityEnabled$;U(i,ee,Ee=>t(68,g=Ee));const B=F.state.currentPlaybackRate$;U(i,B,Ee=>t(22,I=Ee));const _=F.state.availablePlaybackRates$;U(i,_,Ee=>t(25,M=Ee));const x=F.state.currentSubtitle$;U(i,x,Ee=>t(23,V=Ee));const ae=F.state.availableSubtitlesList$;U(i,ae,Ee=>t(3,s=Ee));const ze=F.state.canDownload,se=F.state.hasMpegSources$;U(i,se,Ee=>t(64,a=Ee));const ge=F.ui.settingsMenuVisible;U(i,ge,Ee=>t(6,T=Ee));const Se=F.ui.isMobile;U(i,Se,Ee=>t(4,f=Ee));const G=F.ui.mobileNotReportControlHidden$;U(i,G,Ee=>t(61,o=Ee));const L=F.state.canChangePlaybackSpeed$;U(i,L,Ee=>t(62,l=Ee));const re=F.ui.isFullscreen;U(i,re,Ee=>t(67,v=Ee));const Q=F.state.trafficSavingEnabled$;U(i,Q,Ee=>t(24,E=Ee));const Pe=F.ui.playerSize;U(i,Pe,Ee=>t(66,h=Ee));const R=F.ui.debugPanelVisible,X=F.ui.playerSize;U(i,X,Ee=>t(65,c=Ee));const Ve=F.actions.internal.downloadVideo;let ke=!0,be=!1,Ce=!1,Te=!1,Z=!1;function W(){P?.(),ge.set(!1)}function We(){t(7,ke=!1),t(8,be=!0)}function Ge(){t(7,ke=!1),t(11,Z=!0)}function xe(Ee){F.actions.internal.setQuality(Ee),W()}function De(Ee){F.actions.internal.setTrafficSavingEnabled(Ee),W()}function Me(){t(7,ke=!1),t(9,Ce=!0)}function dt(Ee){F.actions.internal.setPlaybackRate(Ee),W()}function st(){t(7,ke=!1),t(10,Te=!0)}function Ne(Ee){F.actions.internal.setSubtitle(Ee),W()}function Re(){t(7,ke=!0),t(8,be=!1),t(9,Ce=!1),t(10,Te=!1),t(11,Z=!1)}function Qt(){Ve(),W()}function me(){window.open(ie,"_blank"),W(),F.actions.internal.pause()}function at(){Ho(F.actions.internal.getDebugTextData()),W()}function Je(){R.set(!0),W()}function $e(Ee,Ai,Vt){if(!Ee)return"...";const ei=Ai.find(Ot=>Ot.value===Ee),Ei=ei?ei.displayValue:Ee;return Vt?Ee===ot.VideoQuality.INVARIANT?oe("auto_quality_invariant"):oe("auto_quality",{actual:Ei}):Ei}let Ye,et,lt,ft,Pt,nt,Ut,Ct,tt,xt,mt,Ze;function Tt(Ee){je[Ee?"unshift":"push"](()=>{et=Ee,t(0,et)})}const rt=Ee=>xe(Ee.value);function $t(Ee){je[Ee?"unshift":"push"](()=>{lt=Ee,t(1,lt)})}const de=Ee=>dt(Ee.value);function ye(Ee){je[Ee?"unshift":"push"](()=>{ft=Ee,t(2,ft)})}const Ie=()=>De(!1),St=()=>De(!0),ri=Ee=>Ne(Ee);return i.$$set=Ee=>{"supportLink"in Ee&&t(58,ie=Ee.supportLink),"playerControlsHeight"in Ee&&t(59,Y=Ee.playerControlsHeight),"returnFocus"in Ee&&t(60,P=Ee.returnFocus)},i.$$.update=()=>{if(i.$$.dirty[0]&64&&T&&(t(7,ke=!0),t(8,be=!1),t(9,Ce=!1),t(10,Te=!1),t(11,Z=!1)),i.$$.dirty[2]&128&&t(21,n=Un(A)),i.$$.dirty[0]&32|i.$$.dirty[2]&192&&t(12,Ye=$e(A,b,g)),i.$$.dirty[0]&17|i.$$.dirty[1]&268435456|i.$$.dirty[2]&56)if(f&&v)t(13,Pt=`max-height: ${Math.round(h.height*.6)}px`);else if(f)t(13,Pt="");else{const Ee=c.height-Lo-(et?.clientHeight??0)-Y;t(13,Pt=`max-height: ${Ee}px; overflow: auto;`)}if(i.$$.dirty[0]&18|i.$$.dirty[1]&268435456|i.$$.dirty[2]&8)if(f)t(14,nt="");else{const Ee=c.height-Lo-(lt?.clientHeight??0)-Y;t(14,nt=`max-height: ${Ee}px; overflow: auto;`)}if(i.$$.dirty[0]&20|i.$$.dirty[1]&268435456|i.$$.dirty[2]&8)if(f)t(15,Ut="");else{const Ee=c.height-Lo-(ft?.clientHeight??0)-Y;t(15,Ut=`max-height: ${Ee}px; overflow: auto;`)}i.$$.dirty[1]&1073741824|i.$$.dirty[2]&4&&t(16,Ct=ze&&a&&!o),i.$$.dirty[1]&1073741824|i.$$.dirty[2]&2&&t(17,tt=J.features.trafficSaving&&!o&&r),i.$$.dirty[0]&8|i.$$.dirty[1]&1073741824&&t(18,xt=s.length>0&&!o),i.$$.dirty[1]&1073741824|i.$$.dirty[2]&1&&t(19,mt=!!l&&!o),i.$$.dirty[1]&1073741824&&t(20,Ze=!o)},[et,lt,ft,s,f,b,T,ke,be,Ce,Te,Z,Ye,Pt,nt,Ut,Ct,tt,xt,mt,Ze,n,I,V,E,M,J,le,ne,ue,ee,B,_,x,ae,se,ge,Se,G,L,re,Q,Pe,X,W,We,Ge,xe,De,Me,dt,st,Ne,Re,Qt,me,at,Je,ie,Y,P,o,l,r,a,c,h,v,g,A,Tt,rt,$t,de,ye,Ie,St,ri]}class Ka extends we{constructor(e){super(),_e(this,e,Y0,G0,ve,{supportLink:58,playerControlsHeight:59,returnFocus:60},j0,[-1,-1,-1])}}function K0(i){He(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function Q0(i){let e,t,n;return t=new Ga({props:{isMobile:i[1],currentQuality:i[2]}}),{c(){e=w("span"),H(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const s={};l&2&&(s.isMobile=o[1]),l&4&&(s.currentQuality=o[2]),t.$set(s)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function X0(i){let e,t;return e=new si({props:{testId:"btn-settings",click:i[6],ariaLabel:i[0],$$slots:{default:[Q0]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.ariaLabel=n[0]),o&518&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function J0(i,e,t){let n,o,l;const s=yt(),r=s.state.currentQuality$;U(i,r,v=>t(2,l=v));const a=s.ui.settingsMenuVisible;U(i,a,v=>t(7,n=v));const c=s.ui.isMobile;U(i,c,v=>t(1,o=v));let f;function h(){a.set(!n)}return i.$$.update=()=>{i.$$.dirty&128&&t(0,f=oe(n?"tooltip_settings_on":"tooltip_settings_off"))},[f,o,l,r,a,c,h,n]}class jo extends we{constructor(e){super(),_e(this,e,J0,X0,ve,{},K0)}}function x0(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class $0 extends we{constructor(e){super(),_e(this,e,null,x0,ve,{})}}function ef(i){let e,t;return e=new Ya({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function tf(i){let e,t;return e=new $0({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function nf(i){let e,t,n,o;const l=[tf,ef],s=[];function r(a,c){return a[0]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=gt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e!==f&&(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t||(t=s[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){p(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function of(i){let e,t;return e=new si({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],$$slots:{default:[nf]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&4&&(l.ariaLabel=n[2]),o&2&&(l.click=n[1]),o&9&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function lf(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,l;return i.$$set=s=>{"isSubtitlesEnabled"in s&&t(0,n=s.isSubtitlesEnabled),"click"in s&&t(1,o=s.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=oe(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,l]}class sf extends we{constructor(e){super(),_e(this,e,lf,of,ve,{isSubtitlesEnabled:0,click:1})}}function rf(i){He(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 is(i){let e,t;return{c(){e=w("span"),t=Ue(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){y(n,e,o),d(e,t)},p(n,o){o&8&&Xe(t,n[3])},d(n){n&&k(e)}}}function af(i){let e,t,n,o,l,s=i[2]&&is(i);return{c(){e=w("div"),t=w("span"),n=Ue(i[4]),o=N(),s&&s.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),Ln(()=>i[7].call(e)),C(e,"mobile",i[1])},m(r,a){y(r,e,a),d(e,t),d(t,n),d(e,o),s&&s.m(e,null),l=bo(e,i[7].bind(e))},p(r,[a]){a&16&&Xe(n,r[4]),r[2]?s?s.p(r,a):(s=is(r),s.c(),s.m(e,null)):s&&(s.d(1),s=null),a&2&&C(e,"mobile",r[1])},i:j,o:j,d(r){r&&k(e),s&&s.d(),l()}}}function uf(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:l}=e,{showDuration:s=!0}=e,{width:r}=e,a,c;function f(){r=this.clientWidth,t(0,r)}return i.$$set=h=>{"isMobile"in h&&t(1,n=h.isMobile),"duration"in h&&t(5,o=h.duration),"position"in h&&t(6,l=h.position),"showDuration"in h&&t(2,s=h.showDuration),"width"in h&&t(0,r=h.width)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=sn(o)),i.$$.dirty&64&&t(4,c=sn(l))},[r,n,s,a,c,o,l,f]}class Qa extends we{constructor(e){super(),_e(this,e,uf,af,ve,{isMobile:1,duration:5,position:6,showDuration:2,width:0},rf)}}function cf(i){He(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 ff(i){let e,t,n,o,l,s;return{c(){e=z("svg"),t=z("g"),n=z("path"),o=z("path"),l=z("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(l,"class","cross v-1n5yyua"),u(l,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"data-value",i[0]),u(e,"data-testid",s="volume-"+i[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(r,a){y(r,e,a),d(e,t),d(t,n),d(t,o),d(t,l)},p(r,[a]){a&1&&u(e,"data-value",r[0]),a&1&&s!==(s="volume-"+r[0]+"-icon")&&u(e,"data-testid",s)},i:j,o:j,d(r){r&&k(e)}}}function df(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const l=(r,a)=>a?"off":r>.5?"max":r>.2?"mid":r>0?"min":"off";let s;return i.$$set=r=>{"volume"in r&&t(1,n=r.volume),"muted"in r&&t(2,o=r.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,s=l(n,o))},[s,n,o]}class ko extends we{constructor(e){super(),_e(this,e,df,ff,ve,{volume:1,muted:2},cf)}}function mf(i){He(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 ns(i){let e,t,n,o,l,s,r;return{c(){e=w("div"),t=w("div"),n=Ue(i[1]),o=N(),l=w("div"),u(t,"class","content v-1jbbzcj"),u(l,"class","tooltip-pointer v-1jbbzcj"),u(l,"style",s=`transform: translate(${i[6]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",r=`transform: translate(${i[5]}px, ${i[2]}px);`),C(e,"active",i[4])},m(a,c){y(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),i[17](e)},p(a,c){c&2&&Xe(n,a[1]),c&64&&s!==(s=`transform: translate(${a[6]}px, ${a[8]}px);`)&&u(l,"style",s),c&36&&r!==(r=`transform: translate(${a[5]}px, ${a[2]}px);`)&&u(e,"style",r),c&16&&C(e,"active",a[4])},d(a){a&&k(e),i[17](null)}}}function hf(i){let e,t,n,o,l;const s=i[16].default,r=bn(s,i,i[15],null);let a=i[1]&&ns(i);return{c(){e=w("div"),r&&r.c(),t=N(),a&&a.c(),u(e,"class","tooltip-wrapper v-1jbbzcj"),C(e,"full-width",i[3])},m(c,f){y(c,e,f),r&&r.m(e,null),d(e,t),a&&a.m(e,null),n=!0,o||(l=[Ae(e,"mouseenter",function(){Ji(i[7]?i[11]:$.noop)&&(i[7]?i[11]:$.noop).apply(this,arguments)}),Ae(e,"mousemove",function(){Ji(i[7]?i[11]:$.noop)&&(i[7]?i[11]:$.noop).apply(this,arguments)}),Ae(e,"mouseleave",i[12]),Ae(e,"mousedown",i[12]),Ae(e,"mouseup",function(){Ji(i[7]?i[11]:$.noop)&&(i[7]?i[11]:$.noop).apply(this,arguments)})],o=!0)},p(c,[f]){i=c,r&&r.p&&(!n||f&32768)&&wn(r,s,i,i[15],n?_n(s,i[15],f,null):kn(i[15]),null),i[1]?a?a.p(i,f):(a=ns(i),a.c(),a.m(e,null)):a&&(a.d(1),a=null),(!n||f&8)&&C(e,"full-width",i[3])},i(c){n||(m(r,c),n=!0)},o(c){p(r,c),n=!1},d(c){c&&k(e),r&&r.d(c),a&&a.d(),o=!1,Rt(l)}}}const os=5,mo=8;function pf(i,e,t){let n,o,l,s,r=j,a=()=>(r(),r=no(h,_=>t(14,s=_)),h);i.$$.on_destroy.push(()=>r());let{$$slots:c={},$$scope:f}=e,{controlInfo:h=Fe(void 0)}=e;a();let{tooltipContent:v=""}=e,{initialTranslateXPx:g=0}=e,{initialTranslateYPx:b=0}=e,{isFullWidth:A=!1}=e,T=!1,I=0,V=0,E=os,M,ie;const Y=Yi(),P=yt(),F=P.ui.playerSize;U(i,F,_=>t(21,l=_));const J=P.ui.controls.tooltipPointerOffsetX;U(i,J,_=>t(20,o=_));const le=()=>{t(4,T=!0);const _=ie.clientWidth,x=l.width,ae=o-_/2+g,ze=o-n;t(5,I=ze-_/2+g),t(6,V=_/2-os);let se=0;ae<mo&&(se=mo-ae,t(6,V-=se),t(5,I+=se));let ge=0;ae+_>x-mo&&(ge=ae+_-(x-mo),t(6,V+=ge),t(5,I-=ge))},ne=()=>{t(4,T=!1)},ue=()=>{M||(M=window.setTimeout(le,Y.controls.hideTimeoutTooltips)),T&&le()},ee=()=>{ne(),window.clearTimeout(M),M=void 0};_o(()=>window.clearTimeout(M));function B(_){je[_?"unshift":"push"](()=>{ie=_,t(7,ie)})}return i.$$set=_=>{"controlInfo"in _&&a(t(0,h=_.controlInfo)),"tooltipContent"in _&&t(1,v=_.tooltipContent),"initialTranslateXPx"in _&&t(13,g=_.initialTranslateXPx),"initialTranslateYPx"in _&&t(2,b=_.initialTranslateYPx),"isFullWidth"in _&&t(3,A=_.isFullWidth),"$$scope"in _&&t(15,f=_.$$scope)},i.$$.update=()=>{i.$$.dirty&16384&&(n=s?.positionStartX??0)},[h,v,b,A,T,I,V,ie,E,F,J,ue,ee,g,s,f,c,B]}class Xa extends we{constructor(e){super(),_e(this,e,pf,hf,ve,{controlInfo:0,tooltipContent:1,initialTranslateXPx:13,initialTranslateYPx:2,isFullWidth:3},mf)}}function gf(i){He(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 vf(i){let e;const t=i[16].default,n=bn(t,i,i[20],null);return{c(){n&&n.c()},m(o,l){n&&n.m(o,l),e=!0},p(o,l){n&&n.p&&(!e||l&1048576)&&wn(n,t,o,o[20],e?_n(t,o[20],l,null):kn(o[20]),null)},i(o){e||(m(n,o),e=!0)},o(o){p(n,o),e=!1},d(o){n&&n.d(o)}}}function bf(i){let e,t;return e=new Xa({props:{controlInfo:i[4],tooltipContent:i[9],initialTranslateXPx:i[7],initialTranslateYPx:i[8],isFullWidth:i[3],$$slots:{default:[_f]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.controlInfo=n[4]),o&512&&(l.tooltipContent=n[9]),o&128&&(l.initialTranslateXPx=n[7]),o&256&&(l.initialTranslateYPx=n[8]),o&8&&(l.isFullWidth=n[3]),o&1048576&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function _f(i){let e;const t=i[16].default,n=bn(t,i,i[20],null);return{c(){n&&n.c()},m(o,l){n&&n.m(o,l),e=!0},p(o,l){n&&n.p&&(!e||l&1048576)&&wn(n,t,o,o[20],e?_n(t,o[20],l,null):kn(o[20]),null)},i(o){e||(m(n,o),e=!0)},o(o){p(n,o),e=!1},d(o){n&&n.d(o)}}}function wf(i){let e,t,n,o,l,s,r,a,c;const f=[bf,vf],h=[];function v(g,b){return g[2]&&g[5]&&!g[10]?0:1}return t=v(i),n=h[t]=f[t](i),{c(){e=w("div"),n.c(),u(e,"class",o="btn-container "+i[1]+" v-p9r045"),u(e,"aria-hidden",l=i[6]||null),Ln(()=>i[19].call(e))},m(g,b){y(g,e,b),h[t].m(e,null),s=bo(e,i[19].bind(e)),r=!0,a||(c=[Ae(e,"pointerdown",ct(vi(i[17]))),Ae(e,"click",ct(vi(i[18])))],a=!0)},p(g,[b]){let A=t;t=v(g),t===A?h[t].p(g,b):(he(),p(h[A],1,1,()=>{h[A]=null}),pe(),n=h[t],n?n.p(g,b):(n=h[t]=f[t](g),n.c()),m(n,1),n.m(e,null)),(!r||b&2&&o!==(o="btn-container "+g[1]+" v-p9r045"))&&u(e,"class",o),(!r||b&64&&l!==(l=g[6]||null))&&u(e,"aria-hidden",l)},i(g){r||(m(n),r=!0)},o(g){p(n),r=!1},d(g){g&&k(e),h[t].d(),s(),a=!1,Rt(c)}}}function kf(i,e,t){let n,o,{$$slots:l={},$$scope:s}=e,{className:r=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{width:f}=e,{isFullWidthTooltip:h=!0}=e,{controlInfo:v=Fe(void 0)}=e,{tooltipContent:g=""}=e,{disabledTooltipContent:b=oe("tooltip_button_disabled")}=e,{isAriaHidden:A=!1}=e,{initialTranslateXPx:T=0}=e,{initialTranslateYPx:I=-18}=e;const V=yt(),E=V.ui.isMobile;U(i,E,J=>t(10,o=J));const M=V.state.graphIsOpened$;U(i,M,J=>t(15,n=J));let ie;function Y(J){to.call(this,i,J)}function P(J){to.call(this,i,J)}function F(){f=this.clientWidth,t(0,f)}return i.$$set=J=>{"className"in J&&t(1,r=J.className),"disabled"in J&&t(13,a=J.disabled),"hasTooltip"in J&&t(2,c=J.hasTooltip),"width"in J&&t(0,f=J.width),"isFullWidthTooltip"in J&&t(3,h=J.isFullWidthTooltip),"controlInfo"in J&&t(4,v=J.controlInfo),"tooltipContent"in J&&t(5,g=J.tooltipContent),"disabledTooltipContent"in J&&t(14,b=J.disabledTooltipContent),"isAriaHidden"in J&&t(6,A=J.isAriaHidden),"initialTranslateXPx"in J&&t(7,T=J.initialTranslateXPx),"initialTranslateYPx"in J&&t(8,I=J.initialTranslateYPx),"$$scope"in J&&t(20,s=J.$$scope)},i.$$.update=()=>{i.$$.dirty&57376&&(a?t(9,ie=n?oe("tooltip_disabled_when_graph_on"):b):t(9,ie=g))},[f,r,c,h,v,g,A,T,I,ie,o,E,M,a,b,n,l,Y,P,F,s]}class Bt extends we{constructor(e){super(),_e(this,e,kf,wf,ve,{className:1,disabled:13,hasTooltip:2,width:0,isFullWidthTooltip:3,controlInfo:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},gf)}}function yf(i){let e,t,n,o;return{c(){e=z("svg"),t=z("rect"),n=z("path"),o=z("path"),u(t,"width","20"),u(t,"height","20"),u(t,"rx","10"),u(t,"fill","#fff"),u(t,"fill-opacity",".24"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M7.328 5H12.68c.258 0 .494 0 .692.016.213.018.446.057.676.175.33.168.597.435.765.765.117.23.157.463.175.676.016.198.016.434.016.692v5.348c0 .258 0 .494-.016.692a1.775 1.775 0 0 1-.175.677 1.75 1.75 0 0 1-.765.764c-.23.118-.463.158-.676.175-.198.016-.434.016-.692.016H7.328c-.258 0-.494 0-.692-.016a1.775 1.775 0 0 1-.677-.175 1.75 1.75 0 0 1-.764-.764 1.774 1.774 0 0 1-.175-.677c-.016-.198-.016-.434-.016-.692V7.324c0-.258 0-.494.016-.692.017-.213.057-.446.175-.676a1.75 1.75 0 0 1 .764-.765c.23-.118.464-.157.677-.175C6.834 5 7.07 5 7.328 5Z"),u(n,"fill","#fff"),C(n,"hidden",!i[0]),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M7.328 5H12.68c.258 0 .494 0 .692.016.213.018.446.057.676.175.33.168.597.435.765.765.117.23.157.463.175.676.016.198.016.434.016.692v5.348c0 .258 0 .494-.016.692a1.775 1.775 0 0 1-.175.677 1.75 1.75 0 0 1-.765.764c-.23.118-.463.158-.676.175-.198.016-.434.016-.692.016H7.328c-.258 0-.494 0-.692-.016a1.775 1.775 0 0 1-.677-.175 1.75 1.75 0 0 1-.764-.764 1.774 1.774 0 0 1-.175-.677c-.016-.198-.016-.434-.016-.692V7.324c0-.258 0-.494.016-.692.017-.213.057-.446.175-.676a1.75 1.75 0 0 1 .764-.765c.23-.118.464-.157.677-.175C6.834 5 7.07 5 7.328 5Zm-.693 1.53h.001-.001Zm.002-.001a.626.626 0 0 1 .121-.018c.13-.01.304-.011.596-.011h5.3c.292 0 .466 0 .596.011a.625.625 0 0 1 .12.018.25.25 0 0 1 .105.104.638.638 0 0 1 .018.121c.01.13.01.304.01.596v5.296c0 .292 0 .467-.01.596a.636.636 0 0 1-.018.12.25.25 0 0 1-.105.105.636.636 0 0 1-.12.018c-.13.01-.304.011-.596.011h-5.3c-.292 0-.467 0-.596-.011a.638.638 0 0 1-.12-.018.25.25 0 0 1-.105-.104.626.626 0 0 1-.018-.121 8.337 8.337 0 0 1-.011-.596V7.35c0-.292 0-.467.011-.596a.628.628 0 0 1 .018-.12.25.25 0 0 1 .104-.105Zm-.103.102v.001-.001Zm0 6.734v-.001.001Zm.1.101h.002-.001Zm6.739 0h-.002.002Zm.101-.1v-.002.001Zm0-6.735v.001-.001Zm-.103-.102h.002-.002Z"),u(o,"fill","#fff"),C(o,"hidden",i[0]),u(e,"width","20"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,s){y(l,e,s),d(e,t),d(e,n),d(e,o)},p(l,[s]){s&1&&C(n,"hidden",!l[0]),s&1&&C(o,"hidden",l[0])},i:j,o:j,d(l){l&&k(e)}}}function Pf(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class Cf extends we{constructor(e){super(),_e(this,e,Pf,yf,ve,{completed:0})}}function Sf(i){He(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 Tf(i){let e,t,n,o,l;return t=new Cf({props:{completed:!!i[0].completed}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),Ln(()=>i[3].call(e)),C(e,"disabled",i[1])},m(s,r){y(s,e,r),O(t,e,null),o=bo(e,i[3].bind(e)),l=!0},p(s,r){const a={};r&1&&(a.completed=!!s[0].completed),t.$set(a),(!l||r&1&&n!==(n=`left: ${s[0].from+s[0].width/2}%`))&&u(e,"style",n),(!l||r&2)&&C(e,"disabled",s[1])},i(s){l||(m(t.$$.fragment,s),l=!0)},o(s){p(t.$$.fragment,s),l=!1},d(s){s&&k(e),D(t),o()}}}function Af(i){let e,t;return e=new Bt({props:{tooltipContent:oe(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:[Tf]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.tooltipContent=oe(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(l.disabled=n[1]),o&4&&(l.width=n[2]||0),o&23&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ef(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,l;function s(){l=this.clientWidth,t(2,l)}return i.$$set=r=>{"videoEpisode"in r&&t(0,n=r.videoEpisode),"disabled"in r&&t(1,o=r.disabled)},[n,o,l,s]}class Lf extends we{constructor(e){super(),_e(this,e,Ef,Af,ve,{videoEpisode:0,disabled:1},Sf)}}function Vf(i){He(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 ls(i,e,t){const n=i.slice();return n[2]=e[t],n}function ss(i){let e,t,n,o,l,s,r,a,c;return{c(){e=w("div"),t=w("div"),n=w("div"),l=N(),s=w("div"),a=N(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${i[2].loadedWidth/i[2].width*100}%)`),u(s,"class","video-episode-filled v-1h9p3m2"),u(s,"style",r=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),C(s,"mobile",i[1]),u(t,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${i[2].from}%; width: ${i[2].width}%`),C(e,"mobile",i[1])},m(f,h){y(f,e,h),d(e,t),d(t,n),d(t,l),d(t,s),d(e,a)},p(f,h){h&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),h&1&&r!==(r=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(s,"style",r),h&2&&C(s,"mobile",f[1]),h&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),h&2&&C(e,"mobile",f[1])},d(f){f&&k(e)}}}function If(i){let e,t=Mt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=ss(ls(i,t,o));return{c(){e=w("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,l){y(o,e,l);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(e,null)},p(o,[l]){if(l&3){t=Mt(o[0]);let s;for(s=0;s<t.length;s+=1){const r=ls(o,t,s);n[s]?n[s].p(r,l):(n[s]=ss(r),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:j,o:j,d(o){o&&k(e),tn(n,o)}}}function zf(i,e,t){let{videoEpisodes:n=[]}=e,{isMobile:o}=e;return i.$$set=l=>{"videoEpisodes"in l&&t(0,n=l.videoEpisodes),"isMobile"in l&&t(1,o=l.isMobile)},[n,o]}class Mf extends we{constructor(e){super(),_e(this,e,zf,If,ve,{videoEpisodes:0,isMobile:1},Vf)}}function Nf(i){He(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 rs(i,e,t){const n=i.slice();return n[48]=e[t],n}function as(i){let e,t,n=Mt(i[21]),o=[];for(let s=0;s<n.length;s+=1)o[s]=cs(rs(i,n,s));const l=s=>p(o[s],1,1,()=>{o[s]=null});return{c(){e=w("div");for(let s=0;s<o.length;s+=1)o[s].c();u(e,"class","interactive-icons v-1golz1y"),C(e,"mobile",i[5]),C(e,"hidden",i[5]&&!i[20])},m(s,r){y(s,e,r);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);t=!0},p(s,r){if(r[0]&2097664){n=Mt(s[21]);let a;for(a=0;a<n.length;a+=1){const c=rs(s,n,a);o[a]?(o[a].p(c,r),m(o[a],1)):(o[a]=cs(c),o[a].c(),m(o[a],1),o[a].m(e,null))}for(he(),a=n.length;a<o.length;a+=1)l(a);pe()}(!t||r[0]&32)&&C(e,"mobile",s[5]),(!t||r[0]&1048608)&&C(e,"hidden",s[5]&&!s[20])},i(s){if(!t){for(let r=0;r<n.length;r+=1)m(o[r]);t=!0}},o(s){o=o.filter(Boolean);for(let r=0;r<o.length;r+=1)p(o[r]);t=!1},d(s){s&&k(e),tn(o,s)}}}function us(i){let e,t;return e=new Lf({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&2097152&&(l.videoEpisode=n[48]),o[0]&512&&(l.disabled=n[9]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function cs(i){let e,t,n=i[48].interactive&&us(i);return{c(){n&&n.c(),e=gt()},m(o,l){n&&n.m(o,l),y(o,e,l),t=!0},p(o,l){o[48].interactive?n?(n.p(o,l),l[0]&2097152&&m(n,1)):(n=us(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),pe())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&k(e),n&&n.d(o)}}}function Bf(i){let e,t,n,o,l,s;return{c(){e=w("div"),t=w("div"),o=N(),l=w("div"),u(t,"class","loaded v-1golz1y"),u(t,"style",n=`transform: translateX(${i[11]*100}%);`),u(l,"class","filled v-1golz1y"),u(l,"style",s=`transform: translateX(${i[12]*100}%);`),C(l,"active-live",i[4]),C(l,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(r,a){y(r,e,a),d(e,t),d(e,o),d(e,l)},p(r,a){a[0]&2048&&n!==(n=`transform: translateX(${r[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&s!==(s=`transform: translateX(${r[12]*100}%);`)&&u(l,"style",s),a[0]&16&&C(l,"active-live",r[4]),a[0]&64&&C(l,"ads",r[6])},i:j,o:j,d(r){r&&k(e)}}}function Rf(i){let e,t;return e=new Mf({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&2097152&&(l.videoEpisodes=n[21]),o[0]&32&&(l.isMobile=n[5]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Of(i){let e,t,n,o,l,s,r,a,c,f,h,v,g,b=i[8]&&as(i);const A=[Rf,Bf],T=[];function I(V,E){return V[21].length?0:1}return n=I(i),o=T[n]=A[n](i),{c(){b&&b.c(),e=N(),t=w("div"),o.c(),l=N(),s=w("div"),r=w("div"),u(r,"class","handle v-1golz1y"),C(r,"active-live",i[4]),u(s,"class","handleWrap v-1golz1y"),u(s,"style",a=`transform: translateX(${i[13]*100}%);`),C(s,"hidden",i[10]),u(t,"class",c="slider "+i[0]+" v-1golz1y"),u(t,"aria-label",i[14]),u(t,"aria-valuemin",i[15]),u(t,"aria-valuemax",i[16]),u(t,"aria-valuenow",i[17]),u(t,"aria-valuetext",i[18]),u(t,"role","slider"),u(t,"tabindex","0"),u(t,"data-testid",f=i[1]??null),C(t,"disabled",i[9]),C(t,"slider-dragging",i[20]),C(t,"hidden",i[2]),C(t,"slider-vertical",i[3]),C(t,"no-handle",i[10]),C(t,"square",i[7])},m(V,E){b&&b.m(V,E),y(V,e,E),y(V,t,E),T[n].m(t,null),d(t,l),d(t,s),d(s,r),i[42](t),h=!0,v||(g=[Ae(t,"pointerdown",vi(i[22])),Ae(t,"pointermove",vi(i[23])),Ae(t,"pointerup",vi(i[24])),Ae(t,"pointerenter",vi(i[25])),Ae(t,"pointerleave",vi(i[26])),Ae(t,"click",ct($.noop)),Ae(t,"wheel",i[27])],v=!0)},p(V,E){V[8]?b?(b.p(V,E),E[0]&256&&m(b,1)):(b=as(V),b.c(),m(b,1),b.m(e.parentNode,e)):b&&(he(),p(b,1,1,()=>{b=null}),pe());let M=n;n=I(V),n===M?T[n].p(V,E):(he(),p(T[M],1,1,()=>{T[M]=null}),pe(),o=T[n],o?o.p(V,E):(o=T[n]=A[n](V),o.c()),m(o,1),o.m(t,l)),(!h||E[0]&16)&&C(r,"active-live",V[4]),(!h||E[0]&8192&&a!==(a=`transform: translateX(${V[13]*100}%);`))&&u(s,"style",a),(!h||E[0]&1024)&&C(s,"hidden",V[10]),(!h||E[0]&1&&c!==(c="slider "+V[0]+" v-1golz1y"))&&u(t,"class",c),(!h||E[0]&16384)&&u(t,"aria-label",V[14]),(!h||E[0]&32768)&&u(t,"aria-valuemin",V[15]),(!h||E[0]&65536)&&u(t,"aria-valuemax",V[16]),(!h||E[0]&131072)&&u(t,"aria-valuenow",V[17]),(!h||E[0]&262144)&&u(t,"aria-valuetext",V[18]),(!h||E[0]&2&&f!==(f=V[1]??null))&&u(t,"data-testid",f),(!h||E[0]&513)&&C(t,"disabled",V[9]),(!h||E[0]&1048577)&&C(t,"slider-dragging",V[20]),(!h||E[0]&5)&&C(t,"hidden",V[2]),(!h||E[0]&9)&&C(t,"slider-vertical",V[3]),(!h||E[0]&1025)&&C(t,"no-handle",V[10]),(!h||E[0]&129)&&C(t,"square",V[7])},i(V){h||(m(b),m(o),h=!0)},o(V){p(b),p(o),h=!1},d(V){V&&(k(e),k(t)),b&&b.d(V),T[n].d(),i[42](null),v=!1,Rt(g)}}}function Df(i,e,t){let n,o,{className:l=""}=e,{testId:s=void 0}=e,{isHidden:r=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:h=!1}=e,{squareBorders:v=!1}=e,{videoEpisodes:g=[]}=e,{withWheelHandler:b=!1}=e,{isInteractive:A=!1}=e,{disabled:T=!1}=e,{hideHandel:I=!1}=e,V,E,{onPointerDown:M=$.noop}=e,{onHandleMove:ie=$.noop}=e,{onPointerUp:Y=$.noop}=e,{onPointerEnter:P=$.noop}=e,{onPointerMove:F=$.noop}=e,{onPointerLeave:J=$.noop}=e,{onWheelUp:le=$.noop}=e,{onWheelDown:ne=$.noop}=e,{onWheelLeft:ue=$.noop}=e,{onWheelRight:ee=$.noop}=e,{loadedProgress:B=0}=e,{filledProgress:_=0}=e,{handleProgress:x=0}=e,{ariaLabel:ae=""}=e,{ariaValueMin:ze=void 0}=e,{ariaValueMax:se=void 0}=e,{ariaValueNow:ge=void 0}=e,{ariaValueText:Se=""}=e;const G=Yi();let L=!1,re;function Q(W){if(L)return;t(20,L=!0),E=V.getBoundingClientRect();const We=be(W.clientX,W.clientY);M(We),V.setPointerCapture(W.pointerId)}function Pe(W){const We=be(W.clientX,W.clientY),Ge=Ce(W.clientX);F(We,Ge,E.width),L&&ie(We)}function R(W){if(!L)return;t(20,L=!1);const We=be(W.clientX,W.clientY);Y(We)}function X(W){E=V.getBoundingClientRect();const We=be(W.clientX,W.clientY),Ge=Ce(W.clientX);P(We,Ge,E.width)}function Ve(){J()}function ke(W){b&&(W.preventDefault(),W.deltaY<0?le():W.deltaY>0?ne():W.deltaX>0?ee():ue())}function be(W,We){return a?Math.max(0,Math.min(1,(E.height-(We-E.top))/E.height)):Math.min(Math.max(W-E.x,0),E.width)/E.width}function Ce(W){return Math.min(Math.max(W-E.x,0),E.width)}function Te(W,We){const Ge=G.features.episodesClustering&&!A?G.episodeMinWidthPc:0,xe=[];let De=0,Me=0,dt=0;for(let Re=1;Re<g.length;Re++)Me=g[Re].time/re*100,Me-De>Ge&&(xe.push({from:De,width:Math.max(0,Me-De),loadedWidth:Math.max(0,Math.min(Me,W)-De),filledWidth:Math.max(0,Math.min(Me,We)-De),interactive:g[Re-1].interactive,completed:g[Re-1].completed}),De=g[Re].time/re*100,dt++);const st={from:De,width:Math.max(0,100-De),loadedWidth:Math.max(0,Math.min(W,100)-De),filledWidth:Math.max(0,Math.min(We,100)-De),interactive:g[dt].interactive,completed:g[dt].completed};100-De<Ge?(dt-=1,xe[dt].width+=100-De,xe[dt].loadedWidth+=Math.max(0,Math.min(W,100)-De),xe[dt].filledWidth+=Math.max(0,Math.min(We,100)-De)):xe[dt]=st;const Ne=g[0].time;if(Ne!==0){const Re=Ne/re*100;xe.unshift({from:0,width:Re,loadedWidth:Math.min(Re,W),filledWidth:Math.min(Re,We)})}return xe}function Z(W){je[W?"unshift":"push"](()=>{V=W,t(19,V)})}return i.$$set=W=>{"className"in W&&t(0,l=W.className),"testId"in W&&t(1,s=W.testId),"isHidden"in W&&t(2,r=W.isHidden),"isVertical"in W&&t(3,a=W.isVertical),"isActiveLive"in W&&t(4,c=W.isActiveLive),"isMobile"in W&&t(5,f=W.isMobile),"isAds"in W&&t(6,h=W.isAds),"squareBorders"in W&&t(7,v=W.squareBorders),"videoEpisodes"in W&&t(28,g=W.videoEpisodes),"withWheelHandler"in W&&t(29,b=W.withWheelHandler),"isInteractive"in W&&t(8,A=W.isInteractive),"disabled"in W&&t(9,T=W.disabled),"hideHandel"in W&&t(10,I=W.hideHandel),"onPointerDown"in W&&t(30,M=W.onPointerDown),"onHandleMove"in W&&t(31,ie=W.onHandleMove),"onPointerUp"in W&&t(32,Y=W.onPointerUp),"onPointerEnter"in W&&t(33,P=W.onPointerEnter),"onPointerMove"in W&&t(34,F=W.onPointerMove),"onPointerLeave"in W&&t(35,J=W.onPointerLeave),"onWheelUp"in W&&t(36,le=W.onWheelUp),"onWheelDown"in W&&t(37,ne=W.onWheelDown),"onWheelLeft"in W&&t(38,ue=W.onWheelLeft),"onWheelRight"in W&&t(39,ee=W.onWheelRight),"loadedProgress"in W&&t(11,B=W.loadedProgress),"filledProgress"in W&&t(12,_=W.filledProgress),"handleProgress"in W&&t(13,x=W.handleProgress),"ariaLabel"in W&&t(14,ae=W.ariaLabel),"ariaValueMin"in W&&t(15,ze=W.ariaValueMin),"ariaValueMax"in W&&t(16,se=W.ariaValueMax),"ariaValueNow"in W&&t(17,ge=W.ariaValueNow),"ariaValueText"in W&&t(18,Se=W.ariaValueText)},i.$$.update=()=>{i.$$.dirty[0]&65536&&t(40,re=se??0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=g[g.length-1]?.time<re),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=g.length&&n&&re?Te(B*100,_*100):[])},[l,s,r,a,c,f,h,v,A,T,I,B,_,x,ae,ze,se,ge,Se,V,L,o,Q,Pe,R,X,Ve,ke,g,b,M,ie,Y,P,F,J,le,ne,ue,ee,re,n,Z]}class Zo extends we{constructor(e){super(),_e(this,e,Df,Of,ve,{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},Nf,[-1,-1])}}const en=(i,e)=>Fn[i]>=Fn[e],Hf=(i,e)=>Fn[i]<Fn[e],Ja=(i,e)=>Fn[i]<=Fn[e],Ff=i=>i>Rn.L?exports.GridTypes.XL:i>Rn.M?exports.GridTypes.L:i>Rn.S?exports.GridTypes.M:i>Rn.XS?exports.GridTypes.S:exports.GridTypes.XS;function Uf(i){He(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 Wf(i){let e,t;return e=new ko({props:{volume:i[4],muted:i[2]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&16&&(l.volume=n[4]),o[0]&4&&(l.muted=n[2]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function qf(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],$$slots:{default:[Wf]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&1&&(l.disabled=!n[0]),o[0]&8&&(l.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(l.ariaLabel=n[7]),o[0]&2&&(l.click=n[1]),o[0]&20|o[1]&2&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function fs(i){let e,t,n;return t=new Zo({props:{className:i[3]?"volumeBar-slider-vertical":"",isHidden:i[3]&&!i[5],isVertical:i[3],withWheelHandler:!0,onWheelUp:i[14],onWheelDown:i[15],onPointerDown:i[13],onHandleMove:i[16],onPointerUp:i[17],onPointerEnter:i[3]?i[18]:$.noop,onPointerLeave:i[3]?i[19]:$.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=w("div"),H(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),C(e,"volumeBar-vertical",i[3])},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.className=o[3]?"volumeBar-slider-vertical":""),l[0]&40&&(s.isHidden=o[3]&&!o[5]),l[0]&8&&(s.isVertical=o[3]),l[0]&8&&(s.onPointerEnter=o[3]?o[18]:$.noop),l[0]&8&&(s.onPointerLeave=o[3]?o[19]:$.noop),l[0]&256&&(s.ariaValueNow=Math.round(o[8]*100)),l[0]&256&&(s.ariaValueText=`${Math.round(o[8]*100)}%`),l[0]&256&&(s.filledProgress=o[8]),l[0]&256&&(s.handleProgress=o[8]),l[0]&8&&(s.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(s),(!n||l[0]&8)&&C(e,"volumeBar-vertical",o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function jf(i){let e,t,n,o,l,s;t=new Xa({props:{controlInfo:i[11],tooltipContent:i[6],initialTranslateYPx:-18,$$slots:{default:[qf]},$$scope:{ctx:i}}});let r=i[0]&&fs(i);return{c(){e=w("div"),H(t.$$.fragment),n=N(),r&&r.c(),u(e,"class","volumeBar-container v-1l78lz9"),C(e,"vertical",i[3])},m(a,c){y(a,e,c),O(t,e,null),d(e,n),r&&r.m(e,null),o=!0,l||(s=[Ae(e,"mouseenter",function(){Ji(i[3]?i[20]:$.noop)&&(i[3]?i[20]:$.noop).apply(this,arguments)}),Ae(e,"mouseleave",function(){Ji(i[3]?i[21]:$.noop)&&(i[3]?i[21]:$.noop).apply(this,arguments)}),Ae(e,"wheel",vi(i[22]))],l=!0)},p(a,c){i=a;const f={};c[0]&64&&(f.tooltipContent=i[6]),c[0]&159|c[1]&2&&(f.$$scope={dirty:c,ctx:i}),t.$set(f),i[0]?r?(r.p(i,c),c[0]&1&&m(r,1)):(r=fs(i),r.c(),m(r,1),r.m(e,null)):r&&(he(),p(r,1,1,()=>{r=null}),pe()),(!o||c[0]&8)&&C(e,"vertical",i[3])},i(a){o||(m(t.$$.fragment,a),m(r),o=!0)},o(a){p(t.$$.fragment,a),p(r),o=!1},d(a){a&&k(e),D(t),r&&r.d(),l=!1,Rt(s)}}}function Zf(i,e,t){let n,o,l,{isAudioAvailable:s=!0}=e,{click:r}=e;const a=yt(),c=Yi(),f=a.state.volume$;U(i,f,se=>t(4,n=se));const h=a.state.muted$;U(i,h,se=>t(24,l=se));const v=a.actions.internal.setVolume,g=a.ui.controls.volume,b=a.ui.currentGridType$;U(i,b,se=>t(23,o=se));let A=!1,T,I,V,E,M,ie,Y=1,P=!1;function F(se){Y=n,v(se)}function J(){Ua(a,n,c.controls.volumeStepWheel)}function le(){Wa(a,n,c.controls.volumeStepWheel)}function ne(se){v(se)}function ue(se){const ge=se;v(ge,ge===0?Y:ge)}function ee(){P=!0}function B(){P=!1,ae()}function _(){clearTimeout(T),t(5,A=!0)}function x(){ae()}function ae(){T=window.setTimeout(()=>{P||t(5,A=!1)},c.controls.volumeBarTimeout)}function ze(se){se.deltaY<0?J():se.deltaY>0&&le()}return i.$$set=se=>{"isAudioAvailable"in se&&t(0,s=se.isAudioAvailable),"click"in se&&t(1,r=se.click)},i.$$.update=()=>{i.$$.dirty[0]&16777217&&t(2,E=!s||l),i.$$.dirty[0]&8388608&&t(3,M=Ja(o,exports.GridTypes.S)),i.$$.dirty[0]&12&&(M?t(6,I=""):t(6,I=oe(E?"tooltip_volume":"tooltip_volume_muted")),t(7,V=oe(E?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,ie=E?0:n)},[s,r,E,M,n,A,I,V,ie,f,h,g,b,F,J,le,ne,ue,ee,B,_,x,ze,o,l]}class Gf extends we{constructor(e){super(),_e(this,e,Zf,jf,ve,{isAudioAvailable:0,click:1},Uf,[-1,-1])}}function Yf(i){let e;return{c(){e=z("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function Kf(i){let e;return{c(){e=z("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function Qf(i){let e,t,n;function o(r,a){return r[0]?Kf:Yf}let l=o(i),s=l(i);return{c(){e=z("svg"),t=z("g"),s.c(),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(r,a){y(r,e,a),d(e,t),s.m(t,null)},p(r,[a]){l!==(l=o(r))&&(s.d(1),s=l(r),s&&(s.c(),s.m(t,null))),a&1&&n!==(n=r[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:j,o:j,d(r){r&&k(e),s.d()}}}function Xf(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class Jf extends we{constructor(e){super(),_e(this,e,Xf,Qf,ve,{isFullscreen:0})}}function xf(i){let e,t;return e=new Jf({props:{isFullscreen:i[0]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isFullscreen=n[0]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function $f(i){let e,t;return e=new si({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],$$slots:{default:[xf]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&4&&(l.ariaLabel=n[2]),o&2&&(l.click=n[1]),o&9&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ed(i,e,t){let{isFullscreen:n=!1}=e,{click:o=$.noop}=e,l;return i.$$set=s=>{"isFullscreen"in s&&t(0,n=s.isFullscreen),"click"in s&&t(1,o=s.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=oe(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,l]}class xa extends we{constructor(e){super(),_e(this,e,ed,$f,ve,{isFullscreen:0,click:1})}}function td(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class Go extends we{constructor(e){super(),_e(this,e,null,td,ve,{})}}function id(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class $a extends we{constructor(e){super(),_e(this,e,null,id,ve,{})}}function nd(i){He(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 ds(i){let e;return{c(){e=w("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function od(i){let e,t,n,o,l=i[0]&&ds();var s=i[5];function r(a){return{}}return s&&(n=rn(s,r())),{c(){l&&l.c(),e=N(),t=w("div"),n&&H(n.$$.fragment),u(t,"class","v-1ot3duq"),C(t,"mobile",i[0])},m(a,c){l&&l.m(a,c),y(a,e,c),y(a,t,c),n&&O(n,t,null),o=!0},p(a,c){if(a[0]?l||(l=ds(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),c&32&&s!==(s=a[5])){if(n){he();const f=n;p(f.$$.fragment,1,0,()=>{D(f,1)}),pe()}s?(n=rn(s,r()),H(n.$$.fragment),m(n.$$.fragment,1),O(n,t,null)):n=null}(!o||c&1)&&C(t,"mobile",a[0])},i(a){o||(n&&m(n.$$.fragment,a),o=!0)},o(a){n&&p(n.$$.fragment,a),o=!1},d(a){a&&(k(e),k(t)),l&&l.d(a),n&&D(n)}}}function ld(i){let e,t;return e=new si({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-play",click:i[3],disabled:i[1],ariaLabel:i[4],$$slots:{default:[od]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&5&&(l.className=(n[0]?"btn-m--play":"")+" "+n[2]),o&8&&(l.click=n[3]),o&2&&(l.disabled=n[1]),o&16&&(l.ariaLabel=n[4]),o&161&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function sd(i,e,t){let n,{isMobile:o=!1}=e,{isPlaying:l=!1}=e,{disabled:s=!1}=e,{className:r=""}=e,{click:a=$.noop}=e,c;return i.$$set=f=>{"isMobile"in f&&t(0,o=f.isMobile),"isPlaying"in f&&t(6,l=f.isPlaying),"disabled"in f&&t(1,s=f.disabled),"className"in f&&t(2,r=f.className),"click"in f&&t(3,a=f.click)},i.$$.update=()=>{i.$$.dirty&64&&t(4,c=oe(l?"tooltip_pause":"tooltip_play")),i.$$.dirty&64&&t(5,n=l?$a:Go)},[o,s,r,a,c,n,l]}class Yo extends we{constructor(e){super(),_e(this,e,sd,ld,ve,{isMobile:0,isPlaying:6,disabled:1,className:2,click:3},nd)}}function rd(i){He(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 ad(i){let e,t,n;return{c(){e=z("svg"),t=z("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"),C(e,"prev",i[0]),C(e,"mobile",i[1])},m(o,l){y(o,e,l),d(e,t)},p(o,[l]){l&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),l&1&&C(e,"prev",o[0]),l&2&&C(e,"mobile",o[1])},i:j,o:j,d(o){o&&k(e)}}}function ud(i,e,t){let{isPrev:n=!1}=e,{isMobile:o=!1}=e;return i.$$set=l=>{"isPrev"in l&&t(0,n=l.isPrev),"isMobile"in l&&t(1,o=l.isMobile)},[n,o]}class cd extends we{constructor(e){super(),_e(this,e,ud,ad,ve,{isPrev:0,isMobile:1},rd)}}function fd(i){let e,t;return e=new cd({props:{isMobile:i[0],isPrev:i[2]==="prev"}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isMobile=n[0]),o&4&&(l.isPrev=n[2]==="prev"),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function dd(i){let e,t;return e=new si({props:{testId:"btn-"+i[2],disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[fd]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&4&&(l.testId="btn-"+n[2]),o&2&&(l.disabled=n[1]),o&16&&(l.ariaLabel=n[4]),o&8&&(l.click=n[3]),o&37&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function md(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{type:l}=e,{click:s}=e,r;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"disabled"in a&&t(1,o=a.disabled),"type"in a&&t(2,l=a.type),"click"in a&&t(3,s=a.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,r=oe(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,l,s,r]}class yo extends we{constructor(e){super(),_e(this,e,md,dd,ve,{isMobile:0,disabled:1,type:2,click:3})}}function hd(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class pd extends we{constructor(e){super(),_e(this,e,null,hd,ve,{})}}function ms(i){let e,t,n,o,l,s,r;return{c(){e=z("path"),t=z("path"),n=z("path"),o=z("path"),l=z("path"),s=z("path"),r=z("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(t,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(t,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"fill","white"),u(l,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(l,"fill","white"),u(s,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(s,"fill","white"),u(r,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(r,"fill","white")},m(a,c){y(a,e,c),y(a,t,c),y(a,n,c),y(a,o,c),y(a,l,c),y(a,s,c),y(a,r,c)},d(a){a&&(k(e),k(t),k(n),k(o),k(l),k(s),k(r))}}}function gd(i){let e,t,n,o=!i[0]&&ms();return{c(){e=z("svg"),t=z("path"),o&&o.c(),u(t,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(t,"fill","white"),u(e,"width",i[1]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(i[1]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",i[2])},m(l,s){y(l,e,s),d(e,t),o&&o.m(e,null)},p(l,[s]){l[0]?o&&(o.d(1),o=null):o||(o=ms(),o.c(),o.m(e,null)),s&2&&u(e,"width",l[1]),s&2&&n!==(n="0 0 "+(l[1]+1)+" 20")&&u(e,"viewBox",n),s&4&&u(e,"data-testid",l[2])},i:j,o:j,d(l){l&&k(e),o&&o.d()}}}function vd(i,e,t){let{short:n=!1}=e,o,l;return i.$$set=s=>{"short"in s&&t(0,n=s.short)},i.$$.update=()=>{i.$$.dirty&1&&(t(1,o=n?20:93),t(2,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,l]}class bd extends we{constructor(e){super(),_e(this,e,vd,gd,ve,{short:0})}}function _d(i){let e,t;return e=new pd({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p:j,i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function wd(i){let e,t;return e=new bd({props:{short:i[3]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&8&&(l.short=n[3]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function kd(i){let e,t,n,o;const l=[wd,_d],s=[];function r(a,c){return a[1]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=gt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?s[e].p(a,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){p(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function yd(i){let e,t;return e=new si({props:{className:"btn-full-opacity",disabled:!i[0],click:i[7],testId:i[1]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:i[2],$$slots:{default:[kd]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.disabled=!n[0]),o&2&&(l.testId=n[1]?"btn-vk-video-logo":"btn-vk-logo"),o&4&&(l.ariaLabel=n[2]),o&131082&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Pd(i,e,t){let n,o,l,{logoClickable:s=!1}=e,{videoLogoUrl:r=void 0}=e,{click:a}=e;const c=Yi(),{logoLink:f,addTimeToLogoLink:h}=c,v=yt(),g=v.state.positionWithScrubbing$;U(i,g,M=>t(12,n=M));const b=v.ui.currentGridType$;U(i,b,M=>t(10,o=M));const A=v.ui.isMobile;U(i,A,M=>t(11,l=M));let T,I,V;const E=()=>{let M;if(I||!r)M=f;else{const ie=Math.round(n);if(h&&ie){const Y=new URL(r);Y.searchParams.append("t",$.timeCodeToString(ie)),M=Y.toString()}else M=r}a(),window.open(M,"_blank")};return i.$$set=M=>{"logoClickable"in M&&t(0,s=M.logoClickable),"videoLogoUrl"in M&&t(8,r=M.videoLogoUrl),"click"in M&&t(9,a=M.click)},i.$$.update=()=>{i.$$.dirty&3074&&t(3,V=(l||Ja(o,exports.GridTypes.L))&&I)},t(2,T=c.logoType===Hn.VK_VIDEO?oe("tooltip_vk_video_logo"):oe("tooltip_vk_logo")),t(1,I=c.logoType===Hn.VK_VIDEO),[s,I,T,V,g,b,A,E,r,a,o,l]}class e1 extends we{constructor(e){super(),_e(this,e,Pd,yd,ve,{logoClickable:0,videoLogoUrl:8,click:9})}}function Cd(i){He(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 Sd(i){let e,t,n,o,l,s,r,a;return{c(){e=z("svg"),t=z("g"),n=z("path"),o=z("path"),l=z("path"),s=z("path"),r=z("path"),a=z("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(l,"class","wave wave3 v-8z1bf5"),u(l,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(l,"fill","#fff"),u(s,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(s,"fill","#fff"),u(r,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),C(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"),C(e,"connecting",i[2])},m(c,f){y(c,e,f),d(e,t),d(t,n),d(t,o),d(t,l),d(t,s),d(t,r),d(t,a)},p(c,f){f&2&&C(a,"hidden",!c[1]),f&4&&C(e,"connecting",c[2])},d(c){c&&k(e)}}}function Td(i){let e,t,n,o,l,s,r,a,c,f,h,v,g,b,A,T,I,V,E,M,ie;return{c(){e=z("svg"),t=z("g"),n=z("mask"),o=z("path"),s=z("path"),r=z("path"),c=z("path"),f=z("defs"),h=z("clipPath"),v=z("path"),b=z("filter"),A=z("feFlood"),T=z("feColorMatrix"),I=z("feOffset"),V=z("feGaussianBlur"),E=z("feColorMatrix"),M=z("feBlend"),ie=z("feBlend"),u(o,"fill",l=i[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(r,"fill",a=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(v,"fill",g=i[1]?"#2688EB":"#fff"),u(v,"d","M0 0h24v24H0z"),u(h,"id","a"),u(A,"flood-opacity","0"),u(A,"result","BackgroundImageFix"),u(T,"in","SourceAlpha"),u(T,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(T,"result","hardAlpha"),u(V,"stdDeviation","2.5"),u(E,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(M,"in2","BackgroundImageFix"),u(M,"result","effect1_dropShadow_4085_178456"),u(ie,"in","SourceGraphic"),u(ie,"in2","effect1_dropShadow_4085_178456"),u(ie,"result","shape"),u(b,"id","b"),u(b,"x","-3.4"),u(b,"y","-1.4"),u(b,"width","30.8"),u(b,"height","26.802"),u(b,"filterUnits","userSpaceOnUse"),u(b,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(Y,P){y(Y,e,P),d(e,t),d(t,n),d(n,o),d(n,s),d(t,r),d(t,c),d(e,f),d(f,h),d(h,v),d(f,b),d(b,A),d(b,T),d(b,I),d(b,V),d(b,E),d(b,M),d(b,ie)},p(Y,P){P&2&&l!==(l=Y[1]?"#2688EB":"#fff")&&u(o,"fill",l),P&2&&a!==(a=Y[1]?"#2688EB":"#fff")&&u(r,"fill",a),P&2&&g!==(g=Y[1]?"#2688EB":"#fff")&&u(v,"fill",g)},d(Y){Y&&k(e)}}}function Ad(i){let e;function t(l,s){return l[0]?Td:Sd}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:j,o:j,d(l){l&&k(e),o.d(l)}}}function Ed(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,l,s;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"state"in r&&t(3,o=r.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,s=o===ot.ChromecastState.CONNECTING),t(1,l=o===ot.ChromecastState.CONNECTED))},[n,l,s,o]}class Ld extends we{constructor(e){super(),_e(this,e,Ed,Ad,ve,{isMobile:0,state:3},Cd)}}function Vd(i){let e,t;return e=new Ld({props:{isMobile:i[0],state:i[1]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isMobile=n[0]),o&2&&(l.state=n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Id(i){let e,t;return e=new si({props:{ariaLabel:i[3],click:i[2],testId:"btn-chromecast",$$slots:{default:[Vd]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&8&&(l.ariaLabel=n[3]),o&4&&(l.click=n[2]),o&19&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function zd(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,{click:l=$.noop}=e,s;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"state"in r&&t(1,o=r.state),"click"in r&&t(2,l=r.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,s=o===ot.ChromecastState.CONNECTED?oe("tooltip_chromecast_on"):oe("tooltip_chromecast_off"))},[n,o,l,s]}class t1 extends we{constructor(e){super(),_e(this,e,zd,Id,ve,{isMobile:0,state:1,click:2})}}function Md(i){let e,t;return e=new Ra({props:{isActive:i[1]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.isActive=n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Nd(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],ariaLabel:i[3],click:i[2],$$slots:{default:[Md]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(l.testId=n[1]?"btn-live":"btn-live-offset"),o&2&&(l.disabled=n[1]),o&8&&(l.ariaLabel=n[3]),o&4&&(l.click=n[2]),o&18&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Bd(i,e,t){let{isMobile:n=!1}=e,{isActiveLive:o=!1}=e,{click:l}=e,s;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"isActiveLive"in r&&t(1,o=r.isActiveLive),"click"in r&&t(2,l=r.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,s=o?"":oe("tooltip_live"))},[n,o,l,s]}class i1 extends we{constructor(e){super(),_e(this,e,Bd,Nd,ve,{isMobile:0,isActiveLive:1,click:2})}}function Rd(i){He(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 Od(i){let e,t,n,o;const l=i[9].default,s=bn(l,i,i[8],null);return{c(){e=w("div"),t=w("div"),s&&s.c(),u(t,"class","tooltip v-5ygsa2"),C(t,"active",i[0]),C(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(r,a){y(r,e,a),d(e,t),s&&s.m(t,null),i[10](t),i[11](e),o=!0},p(r,[a]){s&&s.p&&(!o||a&256)&&wn(s,l,r,r[8],o?_n(l,r[8],a,null):kn(r[8]),null),(!o||a&1)&&C(t,"active",r[0]),(!o||a&2)&&C(t,"pointer",r[1]),(!o||a&36&&n!==(n=`transform: translate(${r[5]}px, ${r[2]}px);`))&&u(e,"style",n)},i(r){o||(m(s,r),o=!0)},o(r){p(s,r),o=!1},d(r){r&&k(e),s&&s.d(r),i[10](null),i[11](null)}}}function Dd(i,e,t){let n,{$$slots:o={},$$scope:l}=e,{active:s=!1}=e,{pointer:r=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,h,v;function g(T){if(!v)return 0;const{width:I}=v.getBoundingClientRect(),V=I/2;return T<V?V:T>f-V?f-V:T}function b(T){je[T?"unshift":"push"](()=>{v=T,t(4,v)})}function A(T){je[T?"unshift":"push"](()=>{h=T,t(3,h)})}return i.$$set=T=>{"active"in T&&t(0,s=T.active),"pointer"in T&&t(1,r=T.pointer),"translateXPx"in T&&t(6,a=T.translateXPx),"translateYPx"in T&&t(2,c=T.translateYPx),"containerWidth"in T&&t(7,f=T.containerWidth),"$$scope"in T&&t(8,l=T.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=g(a))},[s,r,c,h,v,n,a,f,l,o,b,A]}class Hd extends we{constructor(e){super(),_e(this,e,Dd,Od,ve,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Rd)}}const n1=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function Fd(i){He(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 hs(i){let e;function t(l,s){return l[2]&&l[10].completed===!1?Wd:Ud}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,s){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&k(e),o.d(l)}}}function Ud(i){let e=(i[10].text||"")+"",t;return{c(){t=Ue(e)},m(n,o){y(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&Xe(t,e)},d(n){n&&k(t)}}}function Wd(i){let e=oe("tooltip_episode_unfinished")+"",t;return{c(){t=Ue(e)},m(n,o){y(n,t,o)},p:j,d(n){n&&k(t)}}}function qd(i){let e,t,n,o,l,s,r,a,c=i[10]&&hs(i);return{c(){e=w("div"),t=w("div"),o=N(),l=w("div"),c&&c.c(),s=N(),r=w("div"),a=Ue(i[0]),u(t,"class","preview v-l51fc1"),u(t,"style",n=`width: ${i[3]}px; height: ${i[4]}px; background-image: url(${i[5]}); background-size: ${i[6]}px ${i[7]}px; background-position: ${i[8]}px ${i[9]}px; transform: translateY(${i[11]%180?-35:0}px) rotate(${i[11]}deg);`),u(l,"class","episode v-l51fc1"),u(r,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),C(e,"mobile",i[1])},m(f,h){y(f,e,h),d(e,t),d(e,o),d(e,l),c&&c.m(l,null),d(e,s),d(e,r),d(r,a)},p(f,[h]){h&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(t,"style",n),f[10]?c?c.p(f,h):(c=hs(f),c.c(),c.m(l,null)):c&&(c.d(1),c=null),h&1&&Xe(a,f[0]),h&2&&C(e,"mobile",f[1])},i:j,o:j,d(f){f&&k(e),c&&c.d()}}}const Nn=150;function jd(i,e,t){let n,{time:o=""}=e,{isMobile:l=!1}=e,{videoEpisodes:s=[]}=e,{previewThumbsData:r}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const v=yt().ui.rotateAlpha;U(i,v,P=>t(11,n=P));let g,b,A,T,I,V,E,M;function ie(){let P=r.frameWidth,F=r.frameHeight;return P>Nn?(F=F/P*Nn,P=Nn):F>Nn&&(P=P/F*Nn,F=Nn),{width:P,height:F}}function Y(P){let F;r.isUV?F=Math.floor(c*P/r.frequency):F=Math.min(r.countTotal,Math.max(0,Math.floor(r.countTotal*P)));const J=Math.floor(F/r.countPerImage),le=Math.floor(F%r.countPerImage/r.countPerRow),ne=F%r.countPerRow;let ue=Math.floor(r.countPerImage/r.countPerRow);!r.isUV&&J===Math.floor(r.countTotal/r.countPerImage)&&(ue=Math.floor(r.countTotal%r.countPerImage/r.countPerRow),r.countTotal%r.countPerImage%r.countPerRow>0&&ue++);let ee=r.countPerRow;!r.isUV&&J===Math.floor(r.countTotal/r.countPerImage)&&r.countTotal%r.countPerImage>0&&(ee=Math.min(r.countPerRow,r.countTotal%r.countPerImage));const B=g*ee,_=b*ue,x=-ne*g,ae=-le*b;return{imgSrc:r.links[J],imgWidth:B,imgHeight:_,imgOffsetX:x,imgOffsetY:ae}}return i.$$set=P=>{"time"in P&&t(0,o=P.time),"isMobile"in P&&t(1,l=P.isMobile),"videoEpisodes"in P&&t(13,s=P.videoEpisodes),"previewThumbsData"in P&&t(14,r=P.previewThumbsData),"progress"in P&&t(15,a=P.progress),"duration"in P&&t(16,c=P.duration),"isInteractive"in P&&t(2,f=P.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:A,imgWidth:T,imgHeight:I,imgOffsetX:V,imgOffsetY:E}=Y(a),A,(t(6,T),t(15,a)),(t(7,I),t(15,a)),(t(8,V),t(15,a)),(t(9,E),t(15,a))),i.$$.dirty&106496&&t(10,M=n1(a,c,s))},t(3,{width:g,height:b}=ie(),g,t(4,b)),[o,l,f,g,b,A,T,I,V,E,M,n,v,s,r,a,c]}class Zd extends we{constructor(e){super(),_e(this,e,jd,qd,ve,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},Fd)}}function Gd(i){He(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 Yd(i){let e,t;return{c(){e=w("span"),t=Ue(i[7]),u(e,"class","time v-5lzly8")},m(n,o){y(n,e,o),d(e,t)},p(n,o){o[0]&128&&Xe(t,n[7])},i:j,o:j,d(n){n&&k(e)}}}function Kd(i){let e,t;return e=new Zd({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&128&&(l.time=n[7]),o[0]&1024&&(l.isMobile=n[10]),o[0]&8&&(l.videoEpisodes=n[3]),o[0]&256&&(l.progress=n[8]),o[0]&2&&(l.duration=n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Qd(i){let e,t,n,o;const l=[Kd,Yd],s=[];function r(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=gt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?s[e].p(a,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){p(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function Xd(i){let e,t,n,o;const l=[i[9]];let s={$$slots:{default:[Qd]},$$scope:{ctx:i}};for(let r=0;r<l.length;r+=1)s=oa(s,l[r]);return e=new Hd({props:s}),n=new Zo({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:oe("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:oe("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(ht.TIMELINE),hideHandel:i[2]}}),{c(){H(e.$$.fragment),t=N(),H(n.$$.fragment)},m(r,a){O(e,r,a),y(r,t,a),O(n,r,a),o=!0},p(r,a){const c=a[0]&512?G1(l,[Y1(r[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:r}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=r[11]),a[0]&1024&&(f.isMobile=r[10]),a[0]&2&&(f.ariaValueMax=r[1]),a[0]&64&&(f.ariaValueNow=Math.round(r[6]*100)),a[0]&48&&(f.ariaValueText=oe("aria_timeline_value",{position:r[5],duration:r[4]})),a[0]&4096&&(f.loadedProgress=r[12]),a[0]&64&&(f.filledProgress=r[6]),a[0]&64&&(f.handleProgress=r[6]),a[0]&8&&(f.videoEpisodes=r[3]),a[0]&8192&&(f.disabled=r[13].has(ht.TIMELINE)),a[0]&4&&(f.hideHandel=r[2]),n.$set(f)},i(r){o||(m(e.$$.fragment,r),m(n.$$.fragment,r),o=!0)},o(r){p(e.$$.fragment,r),p(n.$$.fragment,r),o=!1},d(r){r&&k(t),D(e,r),D(n,r)}}}function Jd(i,e,t){let n,o,l,s,r,a,c,f,h,v,g,{showTimeline:b=!1}=e;const A=yt(),T=Yi(),I=A.state.bufferedProgress$;U(i,I,Z=>t(12,v=Z));const V=A.state.positionWithScrubbing$;U(i,V,Z=>t(39,a=Z));const E=A.state.duration$;U(i,E,Z=>t(1,l=Z));const M=A.state.isLive$;U(i,M,Z=>t(0,o=Z));const ie=A.state.isActiveLive$;U(i,ie,Z=>t(11,h=Z));const Y=A.ui.isMobile;U(i,Y,Z=>t(10,f=Z));const P=T.features.episodes?A.actions.internal.getVideoEpisodes():void 0,F=A.actions.internal.getPreviewThumbsData(),J=A.state.interactiveEpisodes$;U(i,J,Z=>t(40,c=Z));const le=A.state.isInteractive,ne=A.state.isInteractiveTime$;U(i,ne,Z=>t(2,s=Z));const ue=A.state.isInteractiveExpectation$;U(i,ue,Z=>t(38,r=Z));const ee=A.actions.internal.correctSeekTimeToInteractive,B=A.ui.controls.disabledControls$;U(i,B,Z=>t(13,g=Z));let _,x,ae,ze,se=!1,ge="",Se=0,G=0,L=0,re;function Q(Z){return!ee||!le?Z:ee(Z*l)/l}function Pe(Z){A.actions.internal.startScrubbing(Q(Z))}function R(Z){s||A.actions.internal.progressScrubbing(Q(Z))}function X(Z){A.actions.internal.completeScrubbing(Q(Z)),t(34,se=!1)}function Ve(Z,W,We){Ce(Z,W,We),t(34,se=!0)}function ke(Z,W,We){Ce(Z,W,We),t(34,se=!0)}function be(){t(34,se=!1)}function Ce(Z,W,We){t(8,L=Z),t(35,Se=W),We&&t(36,G=We),t(7,ge=Te(Z))}function Te(Z){const W=sn((o?1-Z:Z)*l);return o?`-${W}`:W}return i.$$set=Z=>{"showTimeline"in Z&&t(33,b=Z.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,_=le?c:P),i.$$.dirty[0]&2&&t(4,x=sn(l)),i.$$.dirty[1]&256&&t(5,ae=sn(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,ze=a/l),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,re=r||s),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:G,translateXPx:Se,translateYPx:le&&F?-36:-16,active:se&&b&&!re,pointer:!T.features.timelinePreview||!F||o})},[o,l,s,_,x,ae,ze,ge,L,n,f,h,v,g,T,I,V,E,M,ie,Y,F,J,le,ne,ue,B,Pe,R,X,Ve,ke,be,b,se,Se,G,re,r,a,c]}let xd=class extends we{constructor(e){super(),_e(this,e,Jd,Xd,ve,{showTimeline:33},Gd,[-1,-1])}};function $d(i){let e,t;return e=new Zo({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:oe("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.ariaValueMax=n[0]),o&8&&(l.ariaValueNow=Math.round(n[3]*100)),o&6&&(l.ariaValueText=oe("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(l.filledProgress=n[3]),o&16&&(l.squareBorders=n[4]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function e2(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const r=yt().ui.isMobile;U(i,r,h=>t(4,n=h));let a,c,f;return i.$$set=h=>{"position"in h&&t(6,o=h.position),"duration"in h&&t(0,l=h.duration)},i.$$.update=()=>{i.$$.dirty&1&&t(1,a=sn(l)),i.$$.dirty&64&&t(2,c=sn(o)),i.$$.dirty&65&&t(3,f=o/l)},[l,a,c,f,n,r,o]}class o1 extends we{constructor(e){super(),_e(this,e,e2,$d,ve,{position:6,duration:0})}}function t2(i){He(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 i2(i){let e;return{c(){e=w("div"),u(e,"class","timeline-stub v-1gqonyf"),C(e,"mobile",i[2])},m(t,n){y(t,e,n)},p(t,n){n&4&&C(e,"mobile",t[2])},i:j,o:j,d(t){t&&k(e)}}}function n2(i){let e,t,n,o;const l=[l2,o2],s=[];function r(a,c){return a[0]?0:1}return t=r(i),n=s[t]=l[t](i),{c(){e=w("div"),n.c(),u(e,"class","timeline v-1gqonyf"),C(e,"mobile",i[2])},m(a,c){y(a,e,c),s[t].m(e,null),o=!0},p(a,c){let f=t;t=r(a),t===f?s[t].p(a,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),n=s[t],n?n.p(a,c):(n=s[t]=l[t](a),n.c()),m(n,1),n.m(e,null)),(!o||c&4)&&C(e,"mobile",a[2])},i(a){o||(m(n),o=!0)},o(a){p(n),o=!1},d(a){a&&k(e),s[t].d()}}}function o2(i){let e,t;return e=new xd({props:{showTimeline:i[1]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.showTimeline=n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function l2(i){let e,t;return e=new o1({props:{position:i[3],duration:i[4]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&8&&(l.position=n[3]),o&16&&(l.duration=n[4]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function s2(i){let e,t,n,o;const l=[n2,i2],s=[];function r(a,c){return a[1]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=gt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?s[e].p(a,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){p(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function r2(i,e,t){let n,o,l,s,{isAds:r=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const h=yt(),v=h.state.isLive$;U(i,v,I=>t(12,n=I));const g=h.ads.duration;U(i,g,I=>t(4,s=I));const b=h.ads.position;U(i,b,I=>t(3,l=I));const A=h.ui.isMobile;U(i,A,I=>t(2,o=I));let T;return i.$$set=I=>{"isAds"in I&&t(0,r=I.isAds),"canRewindLive"in I&&t(9,a=I.canRewindLive),"isRewindableLive"in I&&t(10,c=I.isRewindableLive),"isHidden"in I&&t(11,f=I.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,T=!f&&(!n||n&&a&&c||r))},[r,T,o,l,s,v,g,b,A,a,c,f,n]}class l1 extends we{constructor(e){super(),_e(this,e,r2,s2,ve,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},t2)}}function a2(i){let e,t,n,o;return{c(){e=z("svg"),t=z("path"),n=z("path"),o=z("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(o,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(l,s){y(l,e,s),d(e,t),d(e,n),d(e,o)},p:j,i:j,o:j,d(l){l&&k(e)}}}class u2 extends we{constructor(e){super(),_e(this,e,null,a2,ve,{})}}function c2(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"opacity",".7"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(t,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class f2 extends we{constructor(e){super(),_e(this,e,null,c2,ve,{})}}function d2(i){He(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 m2(i){let e,t,n,o;e=new u2({});function l(a,c){if(a[2]===En.FULL)return g2;if(a[2]===En.COUNT)return p2}let s=l(i),r=s&&s(i);return{c(){H(e.$$.fragment),t=N(),r&&r.c(),n=gt()},m(a,c){O(e,a,c),y(a,t,c),r&&r.m(a,c),y(a,n,c),o=!0},p(a,c){s===(s=l(a))&&r?r.p(a,c):(r&&r.d(1),r=s&&s(a),r&&(r.c(),r.m(n.parentNode,n)))},i(a){o||(m(e.$$.fragment,a),o=!0)},o(a){p(e.$$.fragment,a),o=!1},d(a){a&&(k(t),k(n)),D(e,a),r&&r.d(a)}}}function h2(i){let e,t,n,o,l,s;return l=new f2({}),{c(){e=w("span"),t=Ue(i[1]),n=N(),o=w("div"),H(l.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(r,a){y(r,e,a),d(e,t),y(r,n,a),y(r,o,a),O(l,o,null),s=!0},p(r,a){(!s||a&2)&&Xe(t,r[1])},i(r){s||(m(l.$$.fragment,r),s=!0)},o(r){p(l.$$.fragment,r),s=!1},d(r){r&&(k(e),k(n),k(o)),D(l)}}}function p2(i){let e,t=i[0].length+"",n;return{c(){e=w("span"),n=Ue(t),u(e,"class","text count v-1yhs2ga")},m(o,l){y(o,e,l),d(e,n)},p(o,l){l&1&&t!==(t=o[0].length+"")&&Xe(n,t)},d(o){o&&k(e)}}}function g2(i){let e,t;return{c(){e=w("span"),t=Ue(i[1]),u(e,"class","text v-1yhs2ga")},m(n,o){y(n,e,o),d(e,t)},p(n,o){o&2&&Xe(t,n[1])},d(n){n&&k(e)}}}function v2(i){let e,t,n,o;const l=[h2,m2],s=[];function r(a,c){return a[4]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=gt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?s[e].p(a,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){p(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function b2(i){let e,t;return e=new si({props:{className:"w-max btn-full-opacity "+(i[4]?"px-0":""),testId:"btn-episodes",click:i[5],disabled:!i[6],ariaLabel:i[3],$$slots:{default:[v2]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&16&&(l.className="w-max btn-full-opacity "+(n[4]?"px-0":"")),o&8&&(l.ariaLabel=n[3]),o&65559&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function _2(i,e,t){let n,o,l,s,{position:r=0}=e,{duration:a=0}=e,{timeCodes:c=[]}=e;const f=yt(),h=f.callbacks?.onEpisodeChanged??$.noop,v=f.callbacks?.onEpisodeClicked??$.noop,g=!!f.callbacks?.onEpisodeClicked,b=f.ui.currentGridType$;U(i,b,E=>t(13,l=E));const A=f.ui.isMobile;U(i,A,E=>t(4,s=E));let T,I,V;return i.$$set=E=>{"position"in E&&t(9,r=E.position),"duration"in E&&t(10,a=E.duration),"timeCodes"in E&&t(0,c=E.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&1536&&t(12,n=r/a),i.$$.dirty&7169){const E=n1(n,a,c);E&&T?.text!==E.text&&(h(E),t(11,T=E))}i.$$.dirty&2048&&t(1,o=T?.text||""),i.$$.dirty&8192&&(en(l,exports.GridTypes.XL)?t(2,I=En.FULL):en(l,exports.GridTypes.M)&&Hf(l,exports.GridTypes.XL)?t(2,I=En.COUNT):t(2,I=En.SHORT)),i.$$.dirty&2&&t(3,V=`${oe("tooltip_episodes")}: ${o}`)},[c,o,I,V,s,v,g,b,A,r,a,T,n,l]}class s1 extends we{constructor(e){super(),_e(this,e,_2,b2,ve,{position:9,duration:10,timeCodes:0},d2)}}function w2(i){let e,t,n;return{c(){e=z("svg"),t=z("path"),n=z("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(t,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,l){y(o,e,l),d(e,t),d(e,n)},p:j,i:j,o:j,d(o){o&&k(e)}}}class k2 extends we{constructor(e){super(),_e(this,e,null,w2,ve,{})}}function y2(i){let e,t;return e=new k2({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function P2(i){let e,t;return e=new si({props:{className:i[0]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:oe("tooltip_interactive_seek"),disabled:i[1],click:i[2],$$slots:{default:[y2]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"hidden":""),o&2&&(l.disabled=n[1]),o&4&&(l.click=n[2]),o&8&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function C2(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=s=>{"hidden"in s&&t(0,n=s.hidden),"disabled"in s&&t(1,o=s.disabled),"click"in s&&t(2,l=s.click)},[n,o,l]}class r1 extends we{constructor(e){super(),_e(this,e,C2,P2,ve,{hidden:0,disabled:1,click:2})}}function S2(i){let e,t,n;return{c(){e=z("svg"),t=z("path"),n=z("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"),C(n,"hidden",!i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){y(o,e,l),d(e,t),d(e,n)},p(o,[l]){l&1&&C(n,"hidden",!o[0])},i:j,o:j,d(o){o&&k(e)}}}function T2(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class A2 extends we{constructor(e){super(),_e(this,e,T2,S2,ve,{isOpened:0})}}function E2(i){let e,t;return e=new A2({props:{isOpened:i[2]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&4&&(l.isOpened=n[2]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function L2(i){let e,t;return e=new si({props:{className:i[0]?"hidden":"",testId:"btn-graph",disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[E2]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"hidden":""),o&2&&(l.disabled=n[1]),o&16&&(l.ariaLabel=n[4]),o&8&&(l.click=n[3]),o&36&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function V2(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{graphIsOpened:l=!1}=e,{click:s}=e,r;return i.$$set=a=>{"hidden"in a&&t(0,n=a.hidden),"disabled"in a&&t(1,o=a.disabled),"graphIsOpened"in a&&t(2,l=a.graphIsOpened),"click"in a&&t(3,s=a.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,r=oe(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,l,s,r]}class a1 extends we{constructor(e){super(),_e(this,e,V2,L2,ve,{hidden:0,disabled:1,graphIsOpened:2,click:3})}}function I2(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class z2 extends we{constructor(e){super(),_e(this,e,null,I2,ve,{})}}function M2(i){He(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 ps(i){let e;return{c(){e=w("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function N2(i){let e,t,n,o,l=i[0]&&ps();return n=new z2({}),{c(){l&&l.c(),e=N(),t=w("div"),H(n.$$.fragment),u(t,"class","v-1ot3duq"),C(t,"mobile",i[0])},m(s,r){l&&l.m(s,r),y(s,e,r),y(s,t,r),O(n,t,null),o=!0},p(s,r){s[0]?l||(l=ps(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),(!o||r&1)&&C(t,"mobile",s[0])},i(s){o||(m(n.$$.fragment,s),o=!0)},o(s){p(n.$$.fragment,s),o=!1},d(s){s&&(k(e),k(t)),l&&l.d(s),D(n)}}}function B2(i){let e,t;return e=new si({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-replay",ariaLabel:oe("tooltip_restart"),disabled:i[1],click:i[3],$$slots:{default:[N2]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&5&&(l.className=(n[0]?"btn-m--play":"")+" "+n[2]),o&2&&(l.disabled=n[1]),o&8&&(l.click=n[3]),o&17&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function R2(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{className:l=""}=e,{click:s=$.noop}=e;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"disabled"in r&&t(1,o=r.disabled),"className"in r&&t(2,l=r.className),"click"in r&&t(3,s=r.click)},[n,o,l,s]}class Ko extends we{constructor(e){super(),_e(this,e,R2,B2,ve,{isMobile:0,disabled:1,className:2,click:3},M2)}}function O2(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class D2 extends we{constructor(e){super(),_e(this,e,null,O2,ve,{})}}function H2(i){let e,t;return e=new D2({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function F2(i){let e,t;return e=new si({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:oe("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[H2]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"hidden":""),o&2&&(l.disabled=n[1]),o&4&&(l.click=n[2]),o&8&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function U2(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=s=>{"hidden"in s&&t(0,n=s.hidden),"disabled"in s&&t(1,o=s.disabled),"click"in s&&t(2,l=s.click)},[n,o,l]}class u1 extends we{constructor(e){super(),_e(this,e,U2,F2,ve,{hidden:0,disabled:1,click:2})}}function W2(i){He(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 q2(i){let e,t,n,o;return{c(){e=w("img"),u(e,"class","icon v-1x1zctw"),il(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(l,s){y(l,e,s),n||(o=Ae(e,"error",i[7]),n=!0)},p(l,s){s&1&&!il(e.src,t=l[0])&&u(e,"src",t)},d(l){l&&k(e),n=!1,o()}}}function j2(i){let e;return{c(){e=w("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(t,n){y(t,e,n)},p:j,d(t){t&&k(e)}}}function Z2(i){let e;function t(l,s){return l[5]?j2:q2}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,s){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&k(e),o.d(l)}}}function G2(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:[Z2]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&16&&(l.className=n[4]?"btn-full-opacity":""),o&2&&(l.ariaLabel=n[1]),o&8&&(l.click=n[3]),o&64&&(l.disabled=n[6]),o&4&&(l.testId=n[2]),o&545&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Y2(i,e,t){let n,o,l,{iconUrl:s}=e,{ariaLabel:r}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=$.noop}=e;const h=()=>{t(5,l=!0)};return i.$$set=v=>{"iconUrl"in v&&t(0,s=v.iconUrl),"ariaLabel"in v&&t(1,r=v.ariaLabel),"disabled"in v&&t(8,a=v.disabled),"testId"in v&&t(2,c=v.testId),"onClick"in v&&t(3,f=v.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===$.noop),i.$$.dirty&272&&t(6,o=n||a)},t(5,l=!1),[s,r,c,f,n,l,o,h,a]}class c1 extends we{constructor(e){super(),_e(this,e,Y2,G2,ve,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},W2)}}function K2(i){He(i,"v-1cwzjrb",".wrapper-bottom.v-1cwzjrb.v-1cwzjrb{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-1cwzjrb>.v-1cwzjrb{pointer-events:auto}.controls.v-1cwzjrb.v-1cwzjrb{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-1cwzjrb.v-1cwzjrb,.controls-right.v-1cwzjrb.v-1cwzjrb{display:flex;align-content:center}.controls-left.v-1cwzjrb.v-1cwzjrb{flex-grow:1;min-width:0}.controls-left.v-1cwzjrb > *:not(:first-child),.controls-right.v-1cwzjrb > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-1cwzjrb.v-1cwzjrb{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1cwzjrb.v-1cwzjrb{transition:none}.settings-menu.v-1cwzjrb.v-1cwzjrb{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function gs(i,e,t){const n=i.slice();return n[166]=e[t].iconUrl,n[167]=e[t].ariaLabel,n[168]=e[t].testId,n[169]=e[t].onClick,n[170]=e[t].tooltip,n[172]=t,n}function vs(i){let e,t,n;function o(s){i[137](s)}let l={disabled:!i[9],controlInfo:i[92].prevButton,tooltipContent:oe("tooltip_previous"),$$slots:{default:[Q2]},$$scope:{ctx:i}};return i[30]!==void 0&&(l.width=i[30]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[0]&512&&(a.disabled=!s[9]),r[0]&4608|r[5]&262144&&(a.$$scope={dirty:r,ctx:s}),!t&&r[0]&1073741824&&(t=!0,a.width=s[30],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function Q2(i){let e,t;return e=new yo({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&4096&&(l.click=n[12]),o[0]&512&&(l.disabled=!n[9]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function bs(i){let e,t,n;function o(s){i[138](s)}let l={disabled:i[66],controlInfo:i[92].replayButton,tooltipContent:oe("tooltip_restart"),$$slots:{default:[X2]},$$scope:{ctx:i}};return i[31]!==void 0&&(l.width=i[31]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[2]&16&&(a.disabled=s[66]),r[2]&16|r[5]&262144&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&1&&(t=!0,a.width=s[31],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function X2(i){let e,t;return e=new Ko({props:{click:i[115],disabled:i[66]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[2]&16&&(l.disabled=n[66]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function _s(i){let e,t,n;function o(s){i[139](s)}let l={controlInfo:i[92].playButton,tooltipContent:i[57],disabled:i[67],$$slots:{default:[J2]},$$scope:{ctx:i}};return i[32]!==void 0&&(l.width=i[32]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[1]&67108864&&(a.tooltipContent=s[57]),r[2]&32&&(a.disabled=s[67]),r[1]&2097152|r[2]&32|r[5]&262144&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&2&&(t=!0,a.width=s[32],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function J2(i){let e,t;return e=new Yo({props:{isMobile:!1,isPlaying:i[52],click:i[77],disabled:i[67]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&2097152&&(l.isPlaying=n[52]),o[2]&32&&(l.disabled=n[67]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ws(i){let e,t,n;function o(s){i[140](s)}let l={disabled:!i[8],controlInfo:i[92].nextButton,tooltipContent:oe("tooltip_next"),$$slots:{default:[x2]},$$scope:{ctx:i}};return i[33]!==void 0&&(l.width=i[33]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[0]&256&&(a.disabled=!s[8]),r[0]&2304|r[5]&262144&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&4&&(t=!0,a.width=s[33],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function x2(i){let e,t;return e=new yo({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&2048&&(l.click=n[11]),o[0]&256&&(l.disabled=!n[8]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function $2(i){let e,t,n,o,l=i[108]&&e4(i),s=i[107]&&i4(i),r=i[106]&&o4(i);return{c(){l&&l.c(),e=N(),s&&s.c(),t=N(),r&&r.c(),n=gt()},m(a,c){l&&l.m(a,c),y(a,e,c),s&&s.m(a,c),y(a,t,c),r&&r.m(a,c),y(a,n,c),o=!0},p(a,c){a[108]&&l.p(a,c),a[107]&&s.p(a,c),a[106]&&r.p(a,c)},i(a){o||(m(l),m(s),m(r),o=!0)},o(a){p(l),p(s),p(r),o=!1},d(a){a&&(k(e),k(t),k(n)),l&&l.d(a),s&&s.d(a),r&&r.d(a)}}}function e4(i){let e,t,n;function o(s){i[141](s)}let l={disabled:i[65],controlInfo:i[92].playPrevChapterButton,tooltipContent:oe("tooltip_interactive_go_back"),disabledTooltipContent:i[110]&&oe(i[110]),$$slots:{default:[t4]},$$scope:{ctx:i}};return i[34]!==void 0&&(l.width=i[34]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[2]&8&&(a.disabled=s[65]),r[0]&131072|r[2]&8|r[5]&262144&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&8&&(t=!0,a.width=s[34],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function t4(i){let e,t;return e=new u1({props:{disabled:i[65],click:i[17]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[2]&8&&(l.disabled=n[65]),o[0]&131072&&(l.click=n[17]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function i4(i){let e,t,n;function o(s){i[142](s)}let l={disabled:i[68],controlInfo:i[92].seekToInteractiveButton,tooltipContent:oe("tooltip_interactive_seek"),$$slots:{default:[n4]},$$scope:{ctx:i}};return i[35]!==void 0&&(l.width=i[35]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[2]&64&&(a.disabled=s[68]),r[0]&32768|r[2]&64|r[5]&262144&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&16&&(t=!0,a.width=s[35],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function n4(i){let e,t;return e=new r1({props:{disabled:i[68],click:i[15]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[2]&64&&(l.disabled=n[68]),o[0]&32768&&(l.click=n[15]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function o4(i){let e,t,n;function o(s){i[143](s)}let l={controlInfo:i[92].interactiveGraphButton,tooltipContent:i[58],disabled:i[69],$$slots:{default:[l4]},$$scope:{ctx:i}};return i[36]!==void 0&&(l.width=i[36]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[1]&134217728&&(a.tooltipContent=s[58]),r[2]&128&&(a.disabled=s[69]),r[0]&65536|r[1]&524288|r[2]&128|r[5]&262144&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&32&&(t=!0,a.width=s[36],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function l4(i){let e,t;return e=new a1({props:{click:i[16],graphIsOpened:i[50],disabled:i[69]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&65536&&(l.click=n[16]),o[1]&524288&&(l.graphIsOpened=n[50]),o[2]&128&&(l.disabled=n[69]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ks(i){let e,t,n;function o(s){i[144](s)}let l={controlInfo:i[92].liveButton,tooltipContent:i[59],$$slots:{default:[s4]},$$scope:{ctx:i}};return i[37]!==void 0&&(l.width=i[37]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[1]&268435456&&(a.tooltipContent=s[59]),r[0]&268435456|r[5]&262144&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&64&&(t=!0,a.width=s[37],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function s4(i){let e,t;return e=new i1({props:{isActiveLive:i[28],click:i[112],isMobile:!1}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&268435456&&(l.isActiveLive=n[28]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ys(i){let e,t,n;function o(s){i[145](s)}let l={isMobile:!1,showDuration:i[64],position:i[4]?i[71]:i[72],duration:i[4]?i[73]:i[74]};return i[38]!==void 0&&(l.width=i[38]),e=new Qa({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[2]&4&&(a.showDuration=s[64]),r[0]&16|r[2]&1536&&(a.position=s[4]?s[71]:s[72]),r[0]&16|r[2]&6144&&(a.duration=s[4]?s[73]:s[74]),!t&&r[1]&128&&(t=!0,a.width=s[38],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function Ps(i){let e,t;return e=new s1({props:{position:i[72],duration:i[74],timeCodes:i[93]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[2]&1024&&(l.position=n[72]),o[2]&4096&&(l.duration=n[74]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function r4(i){let e,t,n=i[27]&&Ps(i);return{c(){n&&n.c(),e=gt()},m(o,l){n&&n.m(o,l),y(o,e,l),t=!0},p(o,l){o[27]?n?(n.p(o,l),l[0]&134217728&&m(n,1)):(n=Ps(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),pe())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&k(e),n&&n.d(o)}}}function a4(i){let e,t;return e=new c1({props:{iconUrl:i[166],ariaLabel:i[167]??i[170],testId:i[168],onClick:i[169]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&32768&&(l.iconUrl=n[166]),o[1]&32768&&(l.ariaLabel=n[167]??n[170]),o[1]&32768&&(l.testId=n[168]),o[1]&32768&&(l.onClick=n[169]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Cs(i){let e,t;return e=new Bt({props:{tooltipContent:i[170],controlInfo:i[92].additionalButtons[i[172]],width:40,$$slots:{default:[a4]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&32768&&(l.tooltipContent=n[170]),o[1]&32768|o[5]&262144&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ss(i){let e,t,n;function o(s){i[148](s)}let l={disabled:!i[6],controlInfo:i[92].vkLogo,tooltipContent:i[60],$$slots:{default:[u4]},$$scope:{ctx:i}};return i[40]!==void 0&&(l.width=i[40]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[0]&64&&(a.disabled=!s[6]),r[1]&536870912&&(a.tooltipContent=s[60]),r[0]&192|r[5]&262144&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&512&&(t=!0,a.width=s[40],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function u4(i){let e,t;return e=new e1({props:{click:i[78],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&64&&(l.logoClickable=n[6]),o[0]&128&&(l.videoLogoUrl=n[7]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function c4(i){let e,t;return e=new Gf({props:{isAudioAvailable:i[70],click:i[114]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[2]&256&&(l.isAudioAvailable=n[70]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ts(i){let e,t,n;function o(s){i[150](s)}let l={controlInfo:i[92].subtitles,tooltipContent:i[61],$$slots:{default:[f4]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[1]&1073741824&&(a.tooltipContent=s[61]),r[0]&262144|r[5]&262144&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&2048&&(t=!0,a.width=s[42],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function f4(i){let e,t;return e=new sf({props:{isSubtitlesEnabled:i[18],click:i[79]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&262144&&(l.isSubtitlesEnabled=n[18]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function As(i){let e,t,n;return t=new Ka({props:{supportLink:i[10],playerControlsHeight:i[56]?.clientHeight,returnFocus:i[14]}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","settings-menu v-1cwzjrb")},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const s={};l[0]&1024&&(s.supportLink=o[10]),l[1]&33554432&&(s.playerControlsHeight=o[56]?.clientHeight),l[0]&16384&&(s.returnFocus=o[14]),t.$set(s)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function Es(i){let e,t,n;function o(s){i[151](s)}let l={controlInfo:i[92].settings,tooltipContent:i[76]?void 0:oe("tooltip_settings_off"),$$slots:{default:[d4]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[2]&16384&&(a.tooltipContent=s[76]?void 0:oe("tooltip_settings_off")),r[5]&262144&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&4096&&(t=!0,a.width=s[43],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function d4(i){let e,t;return e=new jo({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ls(i){let e,t,n;function o(s){i[152](s)}let l={controlInfo:i[92].fullscreen,tooltipContent:i[62],$$slots:{default:[m4]},$$scope:{ctx:i}};return i[44]!==void 0&&(l.width=i[44]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[2]&1&&(a.tooltipContent=s[62]),r[0]&8192|r[1]&262144|r[5]&262144&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&8192&&(t=!0,a.width=s[44],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function m4(i){let e,t;return e=new xa({props:{click:i[13],isFullscreen:i[49]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&8192&&(l.click=n[13]),o[1]&262144&&(l.isFullscreen=n[49]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Vs(i){let e,t,n;function o(s){i[153](s)}let l={controlInfo:i[92].chromecast,tooltipContent:i[63],$$slots:{default:[h4]},$$scope:{ctx:i}};return i[45]!==void 0&&(l.width=i[45]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[2]&2&&(a.tooltipContent=s[63]),r[1]&131072|r[5]&262144&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&16384&&(t=!0,a.width=s[45],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function h4(i){let e,t;return e=new t1({props:{isMobile:!1,state:i[48],click:i[111]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&131072&&(l.state=n[48]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function p4(i){let e,t,n,o,l,s,r,a,c,f,h,v,g,b,A,T,I,V,E,M,ie,Y,P,F,J,le,ne,ue,ee;t=new l1({props:{isHidden:!i[55],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[51]}});let B=i[54]&&vs(i),_=i[19]&&bs(i),x=i[20]&&_s(i),ae=i[53]&&ws(i),ze=i[105]&&$2(i),se=!i[4]&&i[47]&&ks(i),ge=i[26]&&ys(i);function Se(Z){i[146](Z)}let G={className:"w-max",disabled:!i[27],controlInfo:i[92].episodes,tooltipContent:oe("tooltip_episodes"),$$slots:{default:[r4]},$$scope:{ctx:i}};i[39]!==void 0&&(G.width=i[39]),g=new Bt({props:G}),je.push(()=>wt(g,"width",Se));let L=Mt(i[46]),re=[];for(let Z=0;Z<L.length;Z+=1)re[Z]=Cs(gs(i,L,Z));const Q=Z=>p(re[Z],1,1,()=>{re[Z]=null});let Pe=i[24]&&Ss(i);function R(Z){i[149](Z)}let X={$$slots:{default:[c4]},$$scope:{ctx:i}};i[41]!==void 0&&(X.width=i[41]),M=new Bt({props:X}),je.push(()=>wt(M,"width",R));let Ve=i[22]&&Ts(i),ke=!i[75]&&!i[4]&&As(i),be=i[23]&&Es(i),Ce=i[25]&&Ls(i),Te=i[21]&&Vs(i);return{c(){e=w("div"),H(t.$$.fragment),n=N(),o=w("div"),l=w("div"),B&&B.c(),s=N(),_&&_.c(),r=N(),x&&x.c(),a=N(),ae&&ae.c(),c=N(),ze&&ze.c(),f=N(),se&&se.c(),h=N(),ge&&ge.c(),v=N(),H(g.$$.fragment),T=N(),I=w("div");for(let Z=0;Z<re.length;Z+=1)re[Z].c();V=N(),Pe&&Pe.c(),E=N(),H(M.$$.fragment),Y=N(),Ve&&Ve.c(),P=N(),ke&&ke.c(),F=N(),be&&be.c(),J=N(),Ce&&Ce.c(),le=N(),Te&&Te.c(),u(l,"class","controls-left v-1cwzjrb"),Ln(()=>i[147].call(l)),u(I,"class","controls-right v-1cwzjrb"),u(o,"class","controls v-1cwzjrb"),u(e,"class","wrapper-bottom v-1cwzjrb"),C(e,"hidden",i[1]),C(e,"controls-hidden",!i[3]),C(e,"no-smooth",i[2])},m(Z,W){y(Z,e,W),O(t,e,null),d(e,n),d(e,o),d(o,l),B&&B.m(l,null),d(l,s),_&&_.m(l,null),d(l,r),x&&x.m(l,null),d(l,a),ae&&ae.m(l,null),d(l,c),ze&&ze.m(l,null),d(l,f),se&&se.m(l,null),d(l,h),ge&&ge.m(l,null),d(l,v),O(g,l,null),A=bo(l,i[147].bind(l)),d(o,T),d(o,I);for(let We=0;We<re.length;We+=1)re[We]&&re[We].m(I,null);d(I,V),Pe&&Pe.m(I,null),d(I,E),O(M,I,null),d(I,Y),Ve&&Ve.m(I,null),d(I,P),ke&&ke.m(I,null),d(I,F),be&&be.m(I,null),d(I,J),Ce&&Ce.m(I,null),d(I,le),Te&&Te.m(I,null),i[154](o),i[155](e),ne=!0,ue||(ee=[Ae(e,"pointermove",i[113]),Ae(e,"pointerenter",i[113])],ue=!0)},p(Z,W){const We={};W[1]&16777216&&(We.isHidden=!Z[55]),W[0]&16&&(We.isAds=Z[4]),W[0]&32&&(We.canRewindLive=Z[5]),W[1]&1048576&&(We.isRewindableLive=Z[51]),t.$set(We),Z[54]?B?(B.p(Z,W),W[1]&8388608&&m(B,1)):(B=vs(Z),B.c(),m(B,1),B.m(l,s)):B&&(he(),p(B,1,1,()=>{B=null}),pe()),Z[19]?_?(_.p(Z,W),W[0]&524288&&m(_,1)):(_=bs(Z),_.c(),m(_,1),_.m(l,r)):_&&(he(),p(_,1,1,()=>{_=null}),pe()),Z[20]?x?(x.p(Z,W),W[0]&1048576&&m(x,1)):(x=_s(Z),x.c(),m(x,1),x.m(l,a)):x&&(he(),p(x,1,1,()=>{x=null}),pe()),Z[53]?ae?(ae.p(Z,W),W[1]&4194304&&m(ae,1)):(ae=ws(Z),ae.c(),m(ae,1),ae.m(l,c)):ae&&(he(),p(ae,1,1,()=>{ae=null}),pe()),Z[105]&&ze.p(Z,W),!Z[4]&&Z[47]?se?(se.p(Z,W),W[0]&16|W[1]&65536&&m(se,1)):(se=ks(Z),se.c(),m(se,1),se.m(l,h)):se&&(he(),p(se,1,1,()=>{se=null}),pe()),Z[26]?ge?(ge.p(Z,W),W[0]&67108864&&m(ge,1)):(ge=ys(Z),ge.c(),m(ge,1),ge.m(l,v)):ge&&(he(),p(ge,1,1,()=>{ge=null}),pe());const Ge={};if(W[0]&134217728&&(Ge.disabled=!Z[27]),W[0]&134217728|W[2]&5120|W[5]&262144&&(Ge.$$scope={dirty:W,ctx:Z}),!b&&W[1]&256&&(b=!0,Ge.width=Z[39],_t(()=>b=!1)),g.$set(Ge),W[1]&32768|W[2]&1073741824){L=Mt(Z[46]);let De;for(De=0;De<L.length;De+=1){const Me=gs(Z,L,De);re[De]?(re[De].p(Me,W),m(re[De],1)):(re[De]=Cs(Me),re[De].c(),m(re[De],1),re[De].m(I,V))}for(he(),De=L.length;De<re.length;De+=1)Q(De);pe()}Z[24]?Pe?(Pe.p(Z,W),W[0]&16777216&&m(Pe,1)):(Pe=Ss(Z),Pe.c(),m(Pe,1),Pe.m(I,E)):Pe&&(he(),p(Pe,1,1,()=>{Pe=null}),pe());const xe={};W[2]&256|W[5]&262144&&(xe.$$scope={dirty:W,ctx:Z}),!ie&&W[1]&1024&&(ie=!0,xe.width=Z[41],_t(()=>ie=!1)),M.$set(xe),Z[22]?Ve?(Ve.p(Z,W),W[0]&4194304&&m(Ve,1)):(Ve=Ts(Z),Ve.c(),m(Ve,1),Ve.m(I,P)):Ve&&(he(),p(Ve,1,1,()=>{Ve=null}),pe()),!Z[75]&&!Z[4]?ke?(ke.p(Z,W),W[0]&16|W[2]&8192&&m(ke,1)):(ke=As(Z),ke.c(),m(ke,1),ke.m(I,F)):ke&&(he(),p(ke,1,1,()=>{ke=null}),pe()),Z[23]?be?(be.p(Z,W),W[0]&8388608&&m(be,1)):(be=Es(Z),be.c(),m(be,1),be.m(I,J)):be&&(he(),p(be,1,1,()=>{be=null}),pe()),Z[25]?Ce?(Ce.p(Z,W),W[0]&33554432&&m(Ce,1)):(Ce=Ls(Z),Ce.c(),m(Ce,1),Ce.m(I,le)):Ce&&(he(),p(Ce,1,1,()=>{Ce=null}),pe()),Z[21]?Te?(Te.p(Z,W),W[0]&2097152&&m(Te,1)):(Te=Vs(Z),Te.c(),m(Te,1),Te.m(I,null)):Te&&(he(),p(Te,1,1,()=>{Te=null}),pe()),(!ne||W[0]&2)&&C(e,"hidden",Z[1]),(!ne||W[0]&8)&&C(e,"controls-hidden",!Z[3]),(!ne||W[0]&4)&&C(e,"no-smooth",Z[2])},i(Z){if(!ne){m(t.$$.fragment,Z),m(B),m(_),m(x),m(ae),m(ze),m(se),m(ge),m(g.$$.fragment,Z);for(let W=0;W<L.length;W+=1)m(re[W]);m(Pe),m(M.$$.fragment,Z),m(Ve),m(ke),m(be),m(Ce),m(Te),ne=!0}},o(Z){p(t.$$.fragment,Z),p(B),p(_),p(x),p(ae),p(ze),p(se),p(ge),p(g.$$.fragment,Z),re=re.filter(Boolean);for(let W=0;W<re.length;W+=1)p(re[W]);p(Pe),p(M.$$.fragment,Z),p(Ve),p(ke),p(be),p(Ce),p(Te),ne=!1},d(Z){Z&&k(e),D(t),B&&B.d(),_&&_.d(),x&&x.d(),ae&&ae.d(),ze&&ze.d(),se&&se.d(),ge&&ge.d(),D(g),A(),tn(re,Z),Pe&&Pe.d(),D(M),Ve&&Ve.d(),ke&&ke.d(),be&&be.d(),Ce&&Ce.d(),Te&&Te.d(),i[154](null),i[155](null),ue=!1,Rt(ee)}}}function g4(i,e,t){let n,o,l,s,r,a,c,f,h,v,g,b,A,T,I,V,E,M,ie,Y,P,F,J,le,ne,ue,ee,B,_,x,{bottomHidden:ae}=e,{bottomNoSmooth:ze}=e,{showControls:se}=e,{controlsElementRef:ge=void 0}=e,{isAds:Se=!1}=e,{canRewindLive:G}=e,{logoClickable:L}=e,{logoHidden:re}=e,{videoLogoUrl:Q}=e,{showNextPrevButtons:Pe}=e,{nextButtonActive:R}=e,{prevButtonActive:X}=e,{isOneVideoPlaylist:Ve=!1}=e,{supportLink:ke}=e,{customFullscreenSupported:be=!0}=e,{playNextVideo:Ce}=e,{playPrevVideo:Te}=e,{repeatPlaylist:Z}=e,{toggleFullscreen:W}=e,{returnFocus:We}=e,{seekToInteractive:Ge}=e,{toggleGraph:xe}=e,{playPrevChapter:De}=e;const Me=yt(),dt=Yi(),st=Me.actions.internal.toggleMuted,Ne=Me.actions.internal.togglePlay,Re=Me.actions.internal.pause,Qt=Me.actions.internal.toggleSubtitle,me=Me.callbacks?.onAudioDoesNotExistHint,at=Me.callbacks?.onAudioDisabledHint,Je=Me.state.duration$;U(i,Je,te=>t(74,B=te));const $e=Me.state.positionWithScrubbing$;U(i,$e,te=>t(72,ue=te));const Ye=Me.state.playbackState$;U(i,Ye,te=>t(127,T=te));const et=Me.state.chromecastConnected$;U(i,et,te=>t(75,_=te));const lt=Me.state.isAudioAvailable$;U(i,lt,te=>t(70,c=te));const ft=Me.state.isAudioDisabled,Pt=Me.state.isEnded$;U(i,Pt,te=>t(133,P=te));const nt=Me.state.isLive$;U(i,nt,te=>t(47,v=te));const Ut=Me.state.isActiveLive$;U(i,Ut,te=>t(128,I=te));const Ct=Me.state.isRewindableLive$;U(i,Ct,te=>t(51,V=te));const tt=Me.ui.isPictureInPictureActive$;U(i,tt,te=>t(131,ie=te));const xt=Me.ui.pictureInPictureType$;U(i,xt,te=>t(130,M=te));const mt=Me.ui.settingsMenuVisible;U(i,mt,te=>t(76,x=te));const Ze=Me.ui.controls,Tt=Me.actions.internal.getVideoEpisodes(),rt=Me.state.chromecastState$;U(i,rt,te=>t(48,g=te));const $t=Me.state.availableSubtitlesList$;U(i,$t,te=>t(132,Y=te));const de=Me.state.currentSubtitle$;U(i,de,te=>t(134,F=te));const ye=Ze.disabledControls$;U(i,ye,te=>t(136,le=te));const Ie=Me.ads.duration;U(i,Ie,te=>t(73,ee=te));const St=Me.ads.position;U(i,St,te=>t(71,ne=te));const ri=Me.ads.playbackState;U(i,ri,te=>t(135,J=te));const Ee=Me.ui.isFullscreen;U(i,Ee,te=>t(49,b=te));const Ai=Me.ui.playerSize;U(i,Ai,te=>t(129,E=te));const Vt=Me.ui.currentGridType$;U(i,Vt,te=>t(126,h=te));const ei=Me.ui.additionalButtons$;U(i,ei,te=>t(46,f=te));const Ei=Me.actions.internal.replayInteractive,Ot=Me.state.isInteractive,ai=Me.state.isInteractiveGraphEnabled,xi=Me.state.isSeekToInteractiveEnable,Ri=Me.state.isPlayPrevChapterEnabled,Wt=Me.state.graphIsOpened$;U(i,Wt,te=>t(50,A=te));const Oi=Me.state.playPrevChapterDisabledTooltip,Li=()=>Me.actions.internal.toggleChromecast(),$i=()=>Me.actions.internal.switchToActiveLive(),qt=te=>{Me.ui.controls.tooltipPointerOffsetX.update(()=>bi?Math.min(Math.max(te.x-bi.x,0),bi.width):0)};let bi;function Vi(){bi=ge?.getBoundingClientRect()}ji(()=>(window.addEventListener("resize",Vi),()=>{window.removeEventListener("resize",Vi)}));let _i,Di,ti,ui,wi,ki,bt,Dt,yi,ii,Hi,Fi,Pi,Ii,ni,ci,zi,fi,Ci,oi,li,Si,Ht,jt,It,di,Ui,Ti,Mi,Zt,Ni,Wi,mi,zt,hi,Zi,qi,pi,At,Bi,fe,Ft,Gi,Ki,Qi;function yn(te,nn){let ut=8;const Jt=(hn,on,so)=>{let Xn=on?hn+on+(hn?iu:0):hn;return so.set({positionStartX:hn,positionEndX:Xn,isDisplayed:nn&&hn!==Xn}),Xn};ut=Jt(ut,te.prevButtonWidth,Ze.prevButton),ut=Jt(ut,te.replayButtonWidth,Ze.replayButton),ut=Jt(ut,te.playButtonWidth,Ze.playButton),ut=Jt(ut,te.nextButtonWidth,Ze.nextButton),ut=Jt(ut,te.playPrevChapterWidth,Ze.playPrevChapterButton),ut=Jt(ut,te.seekToInteractiveWidth,Ze.seekToInteractiveButton),ut=Jt(ut,te.interactiveGraphWidth,Ze.interactiveGraphButton),ut=Jt(ut,te.liveButtonWidth,Ze.liveButton),ut=Jt(ut,te.timeWidth,Ze.time),ut=Jt(ut,te.episodesWidth,Ze.episodes),f.forEach((hn,on)=>{ut=Jt(ut,te.additionalButtonWidths[on],Ze.additionalButtons[on])}),ut=Jt(ut,te.vkLogoWidth,Ze.vkLogo),ut=Jt(ut,te.volumeWidth,Ze.volume),ut=Jt(ut,te.subtitlesWidth,Ze.subtitles),ut=Jt(ut,te.settingsWidth,Ze.settings),ut=Jt(ut,te.fullscreenWidth,Ze.fullscreen),Jt(ut,te.chromecastWidth,Ze.chromecast)}function dn(){ft?at?.():c?st():me?.()}const mn=Ot?Ei:Ve?Ne:Z;function an(te){di=te,t(30,di)}function K(te){Ui=te,t(31,Ui)}function kt(te){Ti=te,t(32,Ti)}function Pn(te){Mi=te,t(33,Mi)}function Cn(te){Zt=te,t(34,Zt)}function Sn(te){Ni=te,t(35,Ni)}function Wn(te){Wi=te,t(36,Wi)}function qn(te){mi=te,t(37,mi)}function jn(te){zt=te,t(38,zt)}function Zn(te){hi=te,t(39,hi)}function Gn(){It=this.clientWidth,t(29,It)}function Yn(te){Zi=te,t(40,Zi)}function Kn(te){qi=te,t(41,qi)}function Vn(te){pi=te,t(42,pi)}function Qn(te){At=te,t(43,At)}function In(te){Bi=te,t(44,Bi)}function Tn(te){fe=te,t(45,fe)}function q(te){je[te?"unshift":"push"](()=>{ci=te,t(56,ci)})}function Xt(te){je[te?"unshift":"push"](()=>{ge=te,t(0,ge)})}return i.$$set=te=>{"bottomHidden"in te&&t(1,ae=te.bottomHidden),"bottomNoSmooth"in te&&t(2,ze=te.bottomNoSmooth),"showControls"in te&&t(3,se=te.showControls),"controlsElementRef"in te&&t(0,ge=te.controlsElementRef),"isAds"in te&&t(4,Se=te.isAds),"canRewindLive"in te&&t(5,G=te.canRewindLive),"logoClickable"in te&&t(6,L=te.logoClickable),"logoHidden"in te&&t(116,re=te.logoHidden),"videoLogoUrl"in te&&t(7,Q=te.videoLogoUrl),"showNextPrevButtons"in te&&t(117,Pe=te.showNextPrevButtons),"nextButtonActive"in te&&t(8,R=te.nextButtonActive),"prevButtonActive"in te&&t(9,X=te.prevButtonActive),"isOneVideoPlaylist"in te&&t(118,Ve=te.isOneVideoPlaylist),"supportLink"in te&&t(10,ke=te.supportLink),"customFullscreenSupported"in te&&t(119,be=te.customFullscreenSupported),"playNextVideo"in te&&t(11,Ce=te.playNextVideo),"playPrevVideo"in te&&t(12,Te=te.playPrevVideo),"repeatPlaylist"in te&&t(120,Z=te.repeatPlaylist),"toggleFullscreen"in te&&t(13,W=te.toggleFullscreen),"returnFocus"in te&&t(14,We=te.returnFocus),"seekToInteractive"in te&&t(15,Ge=te.seekToInteractive),"toggleGraph"in te&&t(16,xe=te.toggleGraph),"playPrevChapter"in te&&t(17,De=te.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[4]&4096&&t(125,n=le.has(ht.EPISODE_BUTTON)),i.$$.dirty[4]&4096&&t(69,o=le.has(ht.GRAPH_BUTTON)),i.$$.dirty[4]&4096&&t(68,l=le.has(ht.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[4]&4096&&t(67,s=le.has(ht.PLAY_BUTTON)),i.$$.dirty[4]&4096&&t(66,r=le.has(ht.REPLAY_BUTTON)),i.$$.dirty[4]&4096&&t(65,a=le.has(ht.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&1&&ge&&Vi(),i.$$.dirty[0]&16|i.$$.dirty[4]&2056&&t(52,_i=Se?J===Nt.PLAYING:T===ot.PlaybackState.PLAYING),i.$$.dirty[4]&1024&&t(18,Di=F.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[4]&512&&t(19,ti=P&&!Se||Ot),i.$$.dirty[0]&16|i.$$.dirty[4]&512&&t(20,ui=!P||Ot||Se),i.$$.dirty[4]&4&&t(121,wi=en(h,exports.GridTypes.M)),i.$$.dirty[0]&272|i.$$.dirty[3]&16777216|i.$$.dirty[4]&4&&t(53,ki=Pe&&en(h,exports.GridTypes.M)&&!Se&&R),i.$$.dirty[0]&528|i.$$.dirty[3]&16777216|i.$$.dirty[4]&4&&t(54,bt=Pe&&en(h,exports.GridTypes.M)&&!Se&&X),i.$$.dirty[1]&131072|i.$$.dirty[4]&196&&t(21,Dt=g!==ot.ChromecastState.NOT_AVAILABLE&&!(ie&&M===fn.DocumentPictureInPicture)&&en(h,exports.GridTypes.M)&&!Ot),i.$$.dirty[4]&260&&t(22,yi=Y.length>0&&en(h,exports.GridTypes.M)),i.$$.dirty[4]&4&&t(23,ii=en(h,exports.GridTypes.S)),i.$$.dirty[3]&8388608&&t(24,Hi=!re),i.$$.dirty[3]&75497472|i.$$.dirty[4]&196&&t(25,Fi=dt.features.fullscreen&&(re||en(h,exports.GridTypes.S))&&!(ie&&M===fn.DocumentPictureInPicture)&&(Ot?be:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&65536&&t(26,Pi=(!v||Se)&&!(dt.features.interactiveHideTime&&Ot)),i.$$.dirty[4]&32&&t(55,Ii=E.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&65536|i.$$.dirty[3]&268435456|i.$$.dirty[4]&2&&t(27,ni=!Se&&!v&&!!Tt?.length&&wi&&!n),i.$$.dirty[1]&1048576|i.$$.dirty[4]&16&&t(28,zi=!V||I),i.$$.dirty[4]&8&&t(57,fi=T===ot.PlaybackState.PLAYING?oe("tooltip_pause"):oe("tooltip_play")),i.$$.dirty[1]&524288&&t(58,Ci=oe(A?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[0]&268435456&&t(59,oi=zi?"":oe("tooltip_live")),i.$$.dirty[0]&262144&&t(61,Si=oe(Di?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[1]&262144&&t(62,Ht=oe(b?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[1]&131072&&t(63,jt=g===ot.ChromecastState.CONNECTED?oe("tooltip_chromecast_on"):oe("tooltip_chromecast_off")),i.$$.dirty[0]&1207435264|i.$$.dirty[1]&131071&&t(122,Ft={prevButtonWidth:di??0,replayButtonWidth:ti?Ui:0,playButtonWidth:ui?Ti:0,nextButtonWidth:Mi??0,playPrevChapterWidth:Ri?Zt:0,seekToInteractiveWidth:Ot?Ni:0,interactiveGraphWidth:ai?Wi??0:0,liveButtonWidth:v&&mi?mi:0,timeWidth:Pi?zt:0,episodesWidth:hi,vkLogoWidth:Hi?Zi:0,volumeWidth:qi,subtitlesWidth:yi?pi:0,settingsWidth:ii?At:0,fullscreenWidth:Fi?Bi:0,chromecastWidth:Dt?fe:0,additionalButtonWidths:f.length?f.reduce(te=>[...te,40],[]):[]}),i.$$.dirty[3]&1610612736&&(!Gi||Gi<Ft.timeWidth)&&t(123,Gi=Ft.timeWidth),i.$$.dirty[0]&738197504|i.$$.dirty[3]&1610612736|i.$$.dirty[4]&4){let te=0;ni&&(en(h,exports.GridTypes.XL)?te=Ft.timeWidth:te=nu);const nn=Ft.prevButtonWidth+Ft.playButtonWidth+Ft.nextButtonWidth+Ft.seekToInteractiveWidth+Ft.interactiveGraphWidth+Ft.liveButtonWidth+Gi+te;t(124,Ki=Pi&&It>=nn)}i.$$.dirty[4]&5&&t(64,Qi=Ki&&en(h,exports.GridTypes.M)),i.$$.dirty[0]&8|i.$$.dirty[3]&536870912&&yn(Ft,se)},t(60,li=dt.logoType===Hn.VK_VIDEO?oe("tooltip_vk_video_logo"):oe("tooltip_vk_logo")),[ge,ae,ze,se,Se,G,L,Q,R,X,ke,Ce,Te,W,We,Ge,xe,De,Di,ti,ui,Dt,yi,ii,Hi,Fi,Pi,ni,zi,It,di,Ui,Ti,Mi,Zt,Ni,Wi,mi,zt,hi,Zi,qi,pi,At,Bi,fe,f,v,g,b,A,V,_i,ki,bt,Ii,ci,fi,Ci,oi,li,Si,Ht,jt,Qi,a,r,s,l,o,c,ne,ue,ee,B,_,x,Ne,Re,Qt,Je,$e,Ye,et,lt,Pt,nt,Ut,Ct,tt,xt,mt,Ze,Tt,rt,$t,de,ye,Ie,St,ri,Ee,Ai,Vt,ei,Ot,ai,xi,Ri,Wt,Oi,Li,$i,qt,dn,mn,re,Pe,Ve,be,Z,wi,Ft,Gi,Ki,n,h,T,I,E,M,ie,Y,P,F,J,le,an,K,kt,Pn,Cn,Sn,Wn,qn,jn,Zn,Gn,Yn,Kn,Vn,Qn,In,Tn,q,Xt]}class v4 extends we{constructor(e){super(),_e(this,e,g4,p4,ve,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:116,videoLogoUrl:7,showNextPrevButtons:117,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:118,supportLink:10,customFullscreenSupported:119,playNextVideo:11,playPrevVideo:12,repeatPlaylist:120,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},K2,[-1,-1,-1,-1,-1,-1])}}function b4(i){let e,t,n,o;return{c(){e=z("svg"),t=z("g"),n=z("path"),o=z("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(l,s){y(l,e,s),d(e,t),d(t,n),d(t,o)},p:j,i:j,o:j,d(l){l&&k(e)}}}class _4 extends we{constructor(e){super(),_e(this,e,null,b4,ve,{})}}function w4(i){He(i,"v-d5iohe",".container.v-d5iohe{display:flex;align-items:center}.expanded.v-d5iohe{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-d5iohe{font-size:15px;margin-left:8px}")}function Is(i){let e;return{c(){e=w("span"),e.textContent=`${oe("mobile_unmute")}`,u(e,"class","text v-d5iohe")},m(t,n){y(t,e,n)},p:j,d(t){t&&k(e)}}}function k4(i){let e,t,n,o;var l=i[3];function s(a){return{}}l&&(t=rn(l,s()));let r=i[0]&&Is();return{c(){e=w("div"),t&&H(t.$$.fragment),n=N(),r&&r.c(),u(e,"class","container v-d5iohe"),u(e,"aria-hidden","true"),C(e,"expanded",i[0])},m(a,c){y(a,e,c),t&&O(t,e,null),d(e,n),r&&r.m(e,null),o=!0},p(a,c){if(c&8&&l!==(l=a[3])){if(t){he();const f=t;p(f.$$.fragment,1,0,()=>{D(f,1)}),pe()}l?(t=rn(l,s()),H(t.$$.fragment),m(t.$$.fragment,1),O(t,e,n)):t=null}a[0]?r?r.p(a,c):(r=Is(),r.c(),r.m(e,null)):r&&(r.d(1),r=null),(!o||c&1)&&C(e,"expanded",a[0])},i(a){o||(t&&m(t.$$.fragment,a),o=!0)},o(a){t&&p(t.$$.fragment,a),o=!1},d(a){a&&k(e),t&&D(t),r&&r.d()}}}function y4(i){let e,t;return e=new si({props:{testId:i[0]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[1],ariaLabel:i[2],$$slots:{default:[k4]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.testId=n[0]?"btn-mobile-unmuted":"btn-mobile-muted"),o&2&&(l.click=n[1]),o&4&&(l.ariaLabel=n[2]),o&41&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function P4(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:l=$.noop}=e,s,r;return i.$$set=a=>{"muted"in a&&t(4,n=a.muted),"expanded"in a&&t(0,o=a.expanded),"click"in a&&t(1,l=a.click)},i.$$.update=()=>{i.$$.dirty&16&&t(2,s=oe(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&1&&t(3,r=o?ko:_4)},[o,l,s,r,n]}class f1 extends we{constructor(e){super(),_e(this,e,P4,y4,ve,{muted:4,expanded:0,click:1},w4)}}function C4(i){let e,t,n,o;return{c(){e=z("svg"),t=z("path"),n=z("path"),o=z("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"),C(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"),C(o,"hidden",i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,s){y(l,e,s),d(e,t),d(e,n),d(e,o)},p(l,[s]){s&2&&u(t,"fill",l[1]),s&2&&u(n,"fill",l[1]),s&1&&C(n,"hidden",!l[0]),s&2&&u(o,"fill",l[1]),s&1&&C(o,"hidden",l[0])},i:j,o:j,d(l){l&&k(e)}}}function S4(i,e,t){let n,{isActive:o=!1}=e;return i.$$set=l=>{"isActive"in l&&t(0,o=l.isActive)},i.$$.update=()=>{i.$$.dirty&1&&t(1,n=o?"#2688EB":"#fff")},[o,n]}class T4 extends we{constructor(e){super(),_e(this,e,S4,C4,ve,{isActive:0})}}function A4(i){let e,t;return e=new T4({props:{isActive:i[0]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isActive=n[0]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function E4(i){let e,t;return e=new si({props:{testId:"btn-pip",ariaLabel:oe("menu_pip"),click:i[1],$$slots:{default:[A4]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,[o]){const l={};o&2&&(l.click=n[1]),o&5&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function L4(i,e,t){let{isPictureInPictureActive:n=!1}=e,{click:o=$.noop}=e;return i.$$set=l=>{"isPictureInPictureActive"in l&&t(0,n=l.isPictureInPictureActive),"click"in l&&t(1,o=l.click)},[n,o]}class V4 extends we{constructor(e){super(),_e(this,e,L4,E4,ve,{isPictureInPictureActive:0,click:1})}}function I4(i){He(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 zs(i,e,t){const n=i.slice();return n[139]=e[t].iconUrl,n[140]=e[t].ariaLabel,n[141]=e[t].testId,n[142]=e[t].onClick,n[143]=e[t].tooltip,n}function Ms(i){let e,t,n,o,l,s,r,a,c,f,h,v,g,b,A,T,I,V=(!i[53]||i[55])&&Ns(i),E=Mt(i[58]),M=[];for(let _=0;_<E.length;_+=1)M[_]=Bs(zs(i,E,_));const ie=_=>p(M[_],1,1,()=>{M[_]=null});let Y=i[32]&&Rs(i),P=i[33]&&Os(i),F=i[59]&&Ds(),J=i[35]&&Hs(i),le=i[8]&&Fs(i),ne=i[30]&&Us(i),ue=i[29]&&Ws(i),ee=i[8]&&qs(i),B=i[97]&&!i[25]&&js(i);return{c(){e=w("div"),t=N(),n=w("div"),V&&V.c(),o=N(),l=w("div");for(let _=0;_<M.length;_+=1)M[_].c();s=N(),Y&&Y.c(),r=N(),P&&P.c(),a=N(),F&&F.c(),c=N(),J&&J.c(),f=N(),h=w("div"),le&&le.c(),v=N(),ne&&ne.c(),g=N(),ue&&ue.c(),b=N(),ee&&ee.c(),A=N(),B&&B.c(),T=gt(),u(e,"class","overlay-mobile v-1tcstu3"),C(e,"hidden",!i[38]),u(n,"class","wrapper-top-left v-1tcstu3"),C(n,"hidden",!i[3]),C(n,"fullscreen",i[54]),u(l,"class","wrapper-top-right v-1tcstu3"),C(l,"hidden",!i[3]&&!i[23]),C(l,"fullscreen",i[54]),u(h,"class","wrapper-middle v-1tcstu3"),C(h,"hidden",!i[3]||i[25])},m(_,x){y(_,e,x),y(_,t,x),y(_,n,x),V&&V.m(n,null),y(_,o,x),y(_,l,x);for(let ae=0;ae<M.length;ae+=1)M[ae]&&M[ae].m(l,null);d(l,s),Y&&Y.m(l,null),d(l,r),P&&P.m(l,null),d(l,a),F&&F.m(l,null),d(l,c),J&&J.m(l,null),y(_,f,x),y(_,h,x),le&&le.m(h,null),d(h,v),ne&&ne.m(h,null),d(h,g),ue&&ue.m(h,null),d(h,b),ee&&ee.m(h,null),y(_,A,x),B&&B.m(_,x),y(_,T,x),I=!0},p(_,x){if((!I||x[1]&128)&&C(e,"hidden",!_[38]),!_[53]||_[55]?V?(V.p(_,x),x[1]&20971520&&m(V,1)):(V=Ns(_),V.c(),m(V,1),V.m(n,null)):V&&(he(),p(V,1,1,()=>{V=null}),pe()),(!I||x[0]&8)&&C(n,"hidden",!_[3]),(!I||x[1]&8388608)&&C(n,"fullscreen",_[54]),x[1]&134217728){E=Mt(_[58]);let ae;for(ae=0;ae<E.length;ae+=1){const ze=zs(_,E,ae);M[ae]?(M[ae].p(ze,x),m(M[ae],1)):(M[ae]=Bs(ze),M[ae].c(),m(M[ae],1),M[ae].m(l,s))}for(he(),ae=E.length;ae<M.length;ae+=1)ie(ae);pe()}_[32]?Y?(Y.p(_,x),x[1]&2&&m(Y,1)):(Y=Rs(_),Y.c(),m(Y,1),Y.m(l,r)):Y&&(he(),p(Y,1,1,()=>{Y=null}),pe()),_[33]?P?(P.p(_,x),x[1]&4&&m(P,1)):(P=Os(_),P.c(),m(P,1),P.m(l,a)):P&&(he(),p(P,1,1,()=>{P=null}),pe()),_[59]?F?x[1]&268435456&&m(F,1):(F=Ds(),F.c(),m(F,1),F.m(l,c)):F&&(he(),p(F,1,1,()=>{F=null}),pe()),_[35]?J?(J.p(_,x),x[1]&16&&m(J,1)):(J=Hs(_),J.c(),m(J,1),J.m(l,null)):J&&(he(),p(J,1,1,()=>{J=null}),pe()),(!I||x[0]&8388616)&&C(l,"hidden",!_[3]&&!_[23]),(!I||x[1]&8388608)&&C(l,"fullscreen",_[54]),_[8]?le?(le.p(_,x),x[0]&256&&m(le,1)):(le=Fs(_),le.c(),m(le,1),le.m(h,v)):le&&(he(),p(le,1,1,()=>{le=null}),pe()),_[30]?ne?(ne.p(_,x),x[0]&1073741824&&m(ne,1)):(ne=Us(_),ne.c(),m(ne,1),ne.m(h,g)):ne&&(he(),p(ne,1,1,()=>{ne=null}),pe()),_[29]?ue?(ue.p(_,x),x[0]&536870912&&m(ue,1)):(ue=Ws(_),ue.c(),m(ue,1),ue.m(h,b)):ue&&(he(),p(ue,1,1,()=>{ue=null}),pe()),_[8]?ee?(ee.p(_,x),x[0]&256&&m(ee,1)):(ee=qs(_),ee.c(),m(ee,1),ee.m(h,null)):ee&&(he(),p(ee,1,1,()=>{ee=null}),pe()),(!I||x[0]&33554440)&&C(h,"hidden",!_[3]||_[25]),_[97]&&!_[25]?B?(B.p(_,x),x[0]&33554432&&m(B,1)):(B=js(_),B.c(),m(B,1),B.m(T.parentNode,T)):B&&(he(),p(B,1,1,()=>{B=null}),pe())},i(_){if(!I){m(V);for(let x=0;x<E.length;x+=1)m(M[x]);m(Y),m(P),m(F),m(J),m(le),m(ne),m(ue),m(ee),m(B),I=!0}},o(_){p(V),M=M.filter(Boolean);for(let x=0;x<M.length;x+=1)p(M[x]);p(Y),p(P),p(F),p(J),p(le),p(ne),p(ue),p(ee),p(B),I=!1},d(_){_&&(k(e),k(t),k(n),k(o),k(l),k(f),k(h),k(A),k(T)),V&&V.d(),tn(M,_),Y&&Y.d(),P&&P.d(),F&&F.d(),J&&J.d(),le&&le.d(),ne&&ne.d(),ue&&ue.d(),ee&&ee.d(),B&&B.d(_)}}}function Ns(i){let e,t;return e=new f1({props:{muted:i[56],expanded:i[53]&&!i[72]&&i[57],click:i[106]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&33554432&&(l.muted=n[56]),o[1]&71303168&&(l.expanded=n[53]&&!n[72]&&n[57]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Bs(i){let e,t;return e=new c1({props:{iconUrl:i[139],ariaLabel:i[140]??i[143],testId:i[141],onClick:i[142]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&134217728&&(l.iconUrl=n[139]),o[1]&134217728&&(l.ariaLabel=n[140]??n[143]),o[1]&134217728&&(l.testId=n[141]),o[1]&134217728&&(l.onClick=n[142]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Rs(i){let e,t;return e=new t1({props:{isMobile:!0,click:i[102],state:i[24]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&16777216&&(l.state=n[24]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Os(i){let e,t;return e=new V4({props:{click:i[105],isPictureInPictureActive:i[22]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&4194304&&(l.isPictureInPictureActive=n[22]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ds(i){let e,t;return e=new jo({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Hs(i){let e,t;return e=new e1({props:{click:i[66],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&64&&(l.logoClickable=n[6]),o[0]&128&&(l.videoLogoUrl=n[7]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Fs(i){let e,t;return e=new yo({props:{click:i[13],type:"prev",disabled:!i[10],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&8192&&(l.click=n[13]),o[0]&1024&&(l.disabled=!n[10]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Us(i){let e,t;return e=new Yo({props:{disabled:i[50],click:i[65],isMobile:!0,isPlaying:i[27]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&524288&&(l.disabled=n[50]),o[0]&134217728&&(l.isPlaying=n[27]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ws(i){let e,t;return e=new Ko({props:{disabled:i[49],click:i[107],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&262144&&(l.disabled=n[49]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function qs(i){let e,t;return e=new yo({props:{click:i[12],type:"next",disabled:!i[9],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&4096&&(l.click=n[12]),o[0]&512&&(l.disabled=!n[9]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function js(i){let e,t,n,o,l=i[100]&&z4(i),s=i[98]&&M4(i),r=i[99]&&N4(i);return{c(){l&&l.c(),e=N(),s&&s.c(),t=N(),r&&r.c(),n=gt()},m(a,c){l&&l.m(a,c),y(a,e,c),s&&s.m(a,c),y(a,t,c),r&&r.m(a,c),y(a,n,c),o=!0},p(a,c){a[100]&&l.p(a,c),a[98]&&s.p(a,c),a[99]&&r.p(a,c)},i(a){o||(m(l),m(s),m(r),o=!0)},o(a){p(l),p(s),p(r),o=!1},d(a){a&&(k(e),k(t),k(n)),l&&l.d(a),s&&s.d(a),r&&r.d(a)}}}function z4(i){let e,t,n;return t=new u1({props:{hidden:!i[3],disabled:i[48],click:i[18]}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),C(e,"fullscreen",i[54]),C(e,"hidden",!i[3])},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.hidden=!o[3]),l[1]&131072&&(s.disabled=o[48]),l[0]&262144&&(s.click=o[18]),t.$set(s),(!n||l[1]&8388608)&&C(e,"fullscreen",o[54]),(!n||l[0]&8)&&C(e,"hidden",!o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function M4(i){let e,t,n;return t=new a1({props:{hidden:!i[3]&&!i[60],disabled:i[52],click:i[17],graphIsOpened:i[60]}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class",O1(i[100]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),C(e,"fullscreen",i[54]),C(e,"hidden",!i[3]&&!i[60])},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const s={};l[0]&8|l[1]&536870912&&(s.hidden=!o[3]&&!o[60]),l[1]&2097152&&(s.disabled=o[52]),l[0]&131072&&(s.click=o[17]),l[1]&536870912&&(s.graphIsOpened=o[60]),t.$set(s),(!n||l[1]&8388608)&&C(e,"fullscreen",o[54]),(!n||l[0]&8|l[1]&536870912)&&C(e,"hidden",!o[3]&&!o[60])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function N4(i){let e,t,n;return t=new r1({props:{hidden:!i[3],disabled:i[51],click:i[16]}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),C(e,"fullscreen",i[54]),C(e,"hidden",!i[3])},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.hidden=!o[3]),l[1]&1048576&&(s.disabled=o[51]),l[0]&65536&&(s.click=o[16]),t.$set(s),(!n||l[1]&8388608)&&C(e,"fullscreen",o[54]),(!n||l[0]&8)&&C(e,"hidden",!o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function Zs(i){let e,t,n,o,l,s=i[55]&&Gs(i),r=i[28]&&Ys(i);return o=new o1({props:{position:i[61],duration:i[62]}}),{c(){s&&s.c(),e=N(),r&&r.c(),t=N(),n=w("div"),H(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),C(n,"fullscreen",i[54])},m(a,c){s&&s.m(a,c),y(a,e,c),r&&r.m(a,c),y(a,t,c),y(a,n,c),O(o,n,null),l=!0},p(a,c){a[55]?s?(s.p(a,c),c[1]&16777216&&m(s,1)):(s=Gs(a),s.c(),m(s,1),s.m(e.parentNode,e)):s&&(he(),p(s,1,1,()=>{s=null}),pe()),a[28]?r?(r.p(a,c),c[0]&268435456&&m(r,1)):(r=Ys(a),r.c(),m(r,1),r.m(t.parentNode,t)):r&&(he(),p(r,1,1,()=>{r=null}),pe());const f={};c[1]&1073741824&&(f.position=a[61]),c[2]&1&&(f.duration=a[62]),o.$set(f),(!l||c[1]&8388608)&&C(n,"fullscreen",a[54])},i(a){l||(m(s),m(r),m(o.$$.fragment,a),l=!0)},o(a){p(s),p(r),p(o.$$.fragment,a),l=!1},d(a){a&&(k(e),k(t),k(n)),s&&s.d(a),r&&r.d(a),D(o)}}}function Gs(i){let e,t,n;return t=new f1({props:{muted:i[56],expanded:!1,click:i[106]}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),C(e,"fullscreen",i[54])},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const s={};l[1]&33554432&&(s.muted=o[56]),t.$set(s),(!n||l[1]&8388608)&&C(e,"fullscreen",o[54])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function Ys(i){let e,t,n;return t=new Yo({props:{disabled:i[50],click:i[65],isMobile:!0,isPlaying:!i[28]}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const s={};l[1]&524288&&(s.disabled=o[50]),l[0]&268435456&&(s.isPlaying=!o[28]),t.$set(s)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function B4(i){let e,t,n;function o(s){i[122](s)}let l={disabled:i[49],controlInfo:i[85].replayButton,$$slots:{default:[R4]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[1]&262144&&(a.disabled=s[49]),r[1]&262144|r[4]&4194304&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&2048&&(t=!0,a.width=s[42],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function R4(i){let e,t;return e=new Ko({props:{disabled:i[49],click:i[96]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&262144&&(l.disabled=n[49]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ks(i){let e,t,n;function o(s){i[123](s)}let l={controlInfo:i[85].liveButton,$$slots:{default:[O4]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[1]&1024|r[4]&4194304&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&4096&&(t=!0,a.width=s[43],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function O4(i){let e,t;return e=new i1({props:{isActiveLive:i[41],click:i[103],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&1024&&(l.isActiveLive=n[41]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Qs(i){let e,t,n;function o(s){i[124](s)}let l={showDuration:i[31],position:i[4]?i[61]:i[63],duration:i[4]?i[62]:i[64],isMobile:!0};return i[44]!==void 0&&(l.width=i[44]),e=new Qa({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[1]&1&&(a.showDuration=s[31]),r[0]&16|r[1]&1073741824|r[2]&2&&(a.position=s[4]?s[61]:s[63]),r[0]&16|r[2]&5&&(a.duration=s[4]?s[62]:s[64]),!t&&r[1]&8192&&(t=!0,a.width=s[44],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function Xs(i){let e,t,n,o;return n=new s1({props:{position:i[63],duration:i[64],timeCodes:i[86]}}),{c(){e=w("div"),e.textContent="\xB7",t=N(),H(n.$$.fragment),u(e,"aria-hidden","true")},m(l,s){y(l,e,s),y(l,t,s),O(n,l,s),o=!0},p(l,s){const r={};s[2]&2&&(r.position=l[63]),s[2]&4&&(r.duration=l[64]),n.$set(r)},i(l){o||(m(n.$$.fragment,l),o=!0)},o(l){p(n.$$.fragment,l),o=!1},d(l){l&&(k(e),k(t)),D(n,l)}}}function D4(i){let e,t,n=i[39]&&Xs(i);return{c(){n&&n.c(),e=gt()},m(o,l){n&&n.m(o,l),y(o,e,l),t=!0},p(o,l){o[39]?n?(n.p(o,l),l[1]&256&&m(n,1)):(n=Xs(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),pe())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&k(e),n&&n.d(o)}}}function Js(i){let e,t,n;function o(s){i[126](s)}let l={controlInfo:i[85].settings,$$slots:{default:[H4]},$$scope:{ctx:i}};return i[46]!==void 0&&(l.width=i[46]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[4]&4194304&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&32768&&(t=!0,a.width=s[46],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function H4(i){let e,t;return e=new jo({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function xs(i){let e,t,n;function o(s){i[127](s)}let l={controlInfo:i[85].fullscreen,$$slots:{default:[F4]},$$scope:{ctx:i}};return i[47]!==void 0&&(l.width=i[47]),e=new Bt({props:l}),je.push(()=>wt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[0]&16384|r[1]&8388608|r[4]&4194304&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&65536&&(t=!0,a.width=s[47],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function F4(i){let e,t;return e=new xa({props:{click:i[14],isFullscreen:i[54]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&16384&&(l.click=n[14]),o[1]&8388608&&(l.isFullscreen=n[54]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function $s(i){let e,t,n;return t=new Ka({props:{supportLink:i[11],returnFocus:i[15]}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const s={};l[0]&2048&&(s.supportLink=o[11]),l[0]&32768&&(s.returnFocus=o[15]),t.$set(s)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function U4(i){let e,t,n,o,l,s,r,a,c,f,h,v,g,b,A,T,I,V,E,M=!i[4]&&Ms(i),ie=i[4]&&i[26]!==Nt.INACTIVE&&Zs(i),Y=i[97]&&B4(i),P=!i[4]&&i[20]&&Ks(i),F=i[37]&&Qs(i);function J(B){i[125](B)}let le={className:"w-max",disabled:!i[39],controlInfo:i[85].episodes,$$slots:{default:[D4]},$$scope:{ctx:i}};i[45]!==void 0&&(le.width=i[45]),c=new Bt({props:le}),je.push(()=>wt(c,"width",J));let ne=i[34]&&Js(i),ue=i[36]&&xs(i);b=new l1({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[19]}});let ee=i[21]&&$s(i);return{c(){M&&M.c(),e=N(),ie&&ie.c(),t=N(),n=w("div"),o=w("div"),l=w("div"),Y&&Y.c(),s=N(),P&&P.c(),r=N(),F&&F.c(),a=N(),H(c.$$.fragment),h=N(),ne&&ne.c(),v=N(),ue&&ue.c(),g=N(),H(b.$$.fragment),A=N(),ee&&ee.c(),T=gt(),u(l,"class","controls v-1tcstu3"),C(l,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),C(o,"fullscreen",i[54]),u(n,"class","wrapper-bottom v-1tcstu3"),C(n,"hidden",i[1]),C(n,"controls-hidden",!i[3]),C(n,"no-smooth",i[2]),C(n,"mobile",!0)},m(B,_){M&&M.m(B,_),y(B,e,_),ie&&ie.m(B,_),y(B,t,_),y(B,n,_),d(n,o),d(o,l),Y&&Y.m(l,null),d(l,s),P&&P.m(l,null),d(l,r),F&&F.m(l,null),d(l,a),O(c,l,null),d(l,h),ne&&ne.m(l,null),d(l,v),ue&&ue.m(l,null),i[128](l),d(o,g),O(b,o,null),i[129](n),y(B,A,_),ee&&ee.m(B,_),y(B,T,_),I=!0,V||(E=[Ae(n,"pointermove",i[104]),Ae(n,"pointerenter",i[104])],V=!0)},p(B,_){B[4]?M&&(he(),p(M,1,1,()=>{M=null}),pe()):M?(M.p(B,_),_[0]&16&&m(M,1)):(M=Ms(B),M.c(),m(M,1),M.m(e.parentNode,e)),B[4]&&B[26]!==Nt.INACTIVE?ie?(ie.p(B,_),_[0]&67108880&&m(ie,1)):(ie=Zs(B),ie.c(),m(ie,1),ie.m(t.parentNode,t)):ie&&(he(),p(ie,1,1,()=>{ie=null}),pe()),B[97]&&Y.p(B,_),!B[4]&&B[20]?P?(P.p(B,_),_[0]&1048592&&m(P,1)):(P=Ks(B),P.c(),m(P,1),P.m(l,r)):P&&(he(),p(P,1,1,()=>{P=null}),pe()),B[37]?F?(F.p(B,_),_[1]&64&&m(F,1)):(F=Qs(B),F.c(),m(F,1),F.m(l,a)):F&&(he(),p(F,1,1,()=>{F=null}),pe());const x={};_[1]&256&&(x.disabled=!B[39]),_[1]&256|_[2]&6|_[4]&4194304&&(x.$$scope={dirty:_,ctx:B}),!f&&_[1]&16384&&(f=!0,x.width=B[45],_t(()=>f=!1)),c.$set(x),B[34]?ne?(ne.p(B,_),_[1]&8&&m(ne,1)):(ne=Js(B),ne.c(),m(ne,1),ne.m(l,v)):ne&&(he(),p(ne,1,1,()=>{ne=null}),pe()),B[36]?ue?(ue.p(B,_),_[1]&32&&m(ue,1)):(ue=xs(B),ue.c(),m(ue,1),ue.m(l,null)):ue&&(he(),p(ue,1,1,()=>{ue=null}),pe());const ae={};_[0]&16&&(ae.isAds=B[4]),_[0]&32&&(ae.canRewindLive=B[5]),_[0]&524288&&(ae.isRewindableLive=B[19]),b.$set(ae),(!I||_[1]&8388608)&&C(o,"fullscreen",B[54]),(!I||_[0]&2)&&C(n,"hidden",B[1]),(!I||_[0]&8)&&C(n,"controls-hidden",!B[3]),(!I||_[0]&4)&&C(n,"no-smooth",B[2]),B[21]?ee?(ee.p(B,_),_[0]&2097152&&m(ee,1)):(ee=$s(B),ee.c(),m(ee,1),ee.m(T.parentNode,T)):ee&&(he(),p(ee,1,1,()=>{ee=null}),pe())},i(B){I||(m(M),m(ie),m(Y),m(P),m(F),m(c.$$.fragment,B),m(ne),m(ue),m(b.$$.fragment,B),m(ee),I=!0)},o(B){p(M),p(ie),p(Y),p(P),p(F),p(c.$$.fragment,B),p(ne),p(ue),p(b.$$.fragment,B),p(ee),I=!1},d(B){B&&(k(e),k(t),k(n),k(A),k(T)),M&&M.d(B),ie&&ie.d(B),Y&&Y.d(),P&&P.d(),F&&F.d(),D(c),ne&&ne.d(),ue&&ue.d(),i[128](null),D(b),i[129](null),ee&&ee.d(B),V=!1,Rt(E)}}}function W4(i,e,t){let n,o,l,s,r,a,c,f,h,v,g,b,A,T,I,V,E,M,ie,Y,P,F,J,le,ne,ue,ee,B,_,x,ae,ze,se,{bottomHidden:ge}=e,{bottomNoSmooth:Se}=e,{showControls:G}=e,{controlsElementRef:L=void 0}=e,{isAds:re=!1}=e,{canRewindLive:Q}=e,{logoClickable:Pe}=e,{logoHidden:R}=e,{videoLogoUrl:X}=e,{showNextPrevButtons:Ve}=e,{nextButtonActive:ke}=e,{prevButtonActive:be}=e,{isOneVideoPlaylist:Ce=!1}=e,{supportLink:Te}=e,{customFullscreenSupported:Z=!0}=e,{playNextVideo:W}=e,{playPrevVideo:We}=e,{repeatPlaylist:Ge}=e,{toggleFullscreen:xe}=e,{returnFocus:De}=e,{seekToInteractive:Me}=e,{toggleGraph:dt}=e,{playPrevChapter:st}=e;const Ne=yt(),Re=Yi(),Qt=Ne.actions.internal.toggleMuted,me=Ne.actions.internal.togglePlay,at=Ne.actions.internal.pause,Je=Ne.callbacks?.onAudioDoesNotExistHint,$e=Ne.callbacks?.onAudioDisabledHint,Ye=Ne.playerPhase;U(i,Ye,fe=>t(118,E=fe));const et=Ne.state.duration$;U(i,et,fe=>t(64,se=fe));const lt=Ne.state.positionWithScrubbing$;U(i,lt,fe=>t(63,ze=fe));const ft=Ne.state.playbackState$;U(i,ft,fe=>t(120,P=fe));const Pt=Ne.state.isAudioAvailable$;U(i,Pt,fe=>t(53,c=fe));const nt=Ne.state.isAudioDisabled,Ut=Ne.state.isEnded$;U(i,Ut,fe=>t(119,ie=fe));const Ct=Ne.state.isLive$;U(i,Ct,fe=>t(20,v=fe));const tt=Ne.state.muted$;U(i,tt,fe=>t(56,ne=fe));const xt=Ne.state.isActiveLive$;U(i,xt,fe=>t(115,f=fe));const mt=Ne.state.isRewindableLive$;U(i,mt,fe=>t(19,h=fe));const Ze=Ne.ui.scrubbingInProgress;U(i,Ze,fe=>t(25,M=fe));const Tt=Ne.ui.mobileNotReportControlHidden$;U(i,Tt,fe=>t(23,I=fe));const rt=Ne.ui.isPictureInPictureActive$;U(i,rt,fe=>t(22,T=fe));const $t=Ne.ui.pictureInPictureType$;U(i,$t,fe=>t(117,A=fe));const de=Ne.ui.mobileUnmuteButtonExpanded;U(i,de,fe=>t(57,ue=fe));const ye=Ne.ui.mobileUnmuteButtonVisible;U(i,ye,fe=>t(55,le=fe));const Ie=Ne.ui.settingsMenuVisible;U(i,Ie,fe=>t(21,g=fe));const St=Ne.ui.controls,ri=Ne.actions.internal.getVideoEpisodes(),Ee=Ne.webApi.pictureInPictureApi,Ai=Ne.state.chromecastState$;U(i,Ai,fe=>t(24,V=fe));const Vt=Ne.state.crashed$;U(i,Vt,fe=>t(59,B=fe));const ei=St.disabledControls$;U(i,ei,fe=>t(121,F=fe));const Ei=Ne.ads.duration;U(i,Ei,fe=>t(62,ae=fe));const Ot=Ne.ads.position;U(i,Ot,fe=>t(61,x=fe));const ai=Ne.ads.playbackState;U(i,ai,fe=>t(26,Y=fe));const xi=Ne.ui.isFullscreen;U(i,xi,fe=>t(54,J=fe));const Ri=Ne.ui.playerSize;U(i,Ri,fe=>t(116,b=fe));const Wt=Ne.ui.additionalButtons$;U(i,Wt,fe=>t(58,ee=fe));const Oi=Ne.actions.internal.replayInteractive,Li=Ne.state.isInteractive,$i=Ne.state.isInteractiveGraphEnabled,qt=Ne.state.isSeekToInteractiveEnable,bi=Ne.state.isPlayPrevChapterEnabled,Vi=Ne.state.graphIsOpened$;U(i,Vi,fe=>t(60,_=fe));let _i,Di,ti,ui,wi,ki,bt,Dt,yi,ii,Hi,Fi,Pi,Ii,ni,ci,zi,fi,Ci,oi,li,Si,Ht,jt;function It(){jt=L?.getBoundingClientRect()}ji(()=>(window.addEventListener("resize",It),()=>{window.removeEventListener("resize",It)}));const di=()=>Ne.actions.internal.toggleChromecast(),Ui=()=>Ne.actions.internal.switchToActiveLive(),Ti=fe=>{Ne.ui.controls.tooltipPointerOffsetX.update(()=>jt?Math.min(Math.max(fe.x-jt.x,0),jt.width):0)};function Mi(){nt?$e?.():c?Qt():Je?.()}async function Zt(){Ee?.isActive()?await Ee?.remove():await Ee?.request()}function Ni(){!nt&&c&&ye.set(!1),Mi()}const Wi=Ce?me:Ge;function mi(fe){fi=fe,t(42,fi)}function zt(fe){Ci=fe,t(43,Ci)}function hi(fe){oi=fe,t(44,oi)}function Zi(fe){li=fe,t(45,li)}function qi(fe){Si=fe,t(46,Si)}function pi(fe){Ht=fe,t(47,Ht)}function At(fe){je[fe?"unshift":"push"](()=>{ci=fe,t(40,ci)})}function Bi(fe){je[fe?"unshift":"push"](()=>{L=fe,t(0,L)})}return i.$$set=fe=>{"bottomHidden"in fe&&t(1,ge=fe.bottomHidden),"bottomNoSmooth"in fe&&t(2,Se=fe.bottomNoSmooth),"showControls"in fe&&t(3,G=fe.showControls),"controlsElementRef"in fe&&t(0,L=fe.controlsElementRef),"isAds"in fe&&t(4,re=fe.isAds),"canRewindLive"in fe&&t(5,Q=fe.canRewindLive),"logoClickable"in fe&&t(6,Pe=fe.logoClickable),"logoHidden"in fe&&t(108,R=fe.logoHidden),"videoLogoUrl"in fe&&t(7,X=fe.videoLogoUrl),"showNextPrevButtons"in fe&&t(8,Ve=fe.showNextPrevButtons),"nextButtonActive"in fe&&t(9,ke=fe.nextButtonActive),"prevButtonActive"in fe&&t(10,be=fe.prevButtonActive),"isOneVideoPlaylist"in fe&&t(109,Ce=fe.isOneVideoPlaylist),"supportLink"in fe&&t(11,Te=fe.supportLink),"customFullscreenSupported"in fe&&t(110,Z=fe.customFullscreenSupported),"playNextVideo"in fe&&t(12,W=fe.playNextVideo),"playPrevVideo"in fe&&t(13,We=fe.playPrevVideo),"repeatPlaylist"in fe&&t(111,Ge=fe.repeatPlaylist),"toggleFullscreen"in fe&&t(14,xe=fe.toggleFullscreen),"returnFocus"in fe&&t(15,De=fe.returnFocus),"seekToInteractive"in fe&&t(16,Me=fe.seekToInteractive),"toggleGraph"in fe&&t(17,dt=fe.toggleGraph),"playPrevChapter"in fe&&t(18,st=fe.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&268435456&&t(114,n=F.has(ht.EPISODE_BUTTON)),i.$$.dirty[3]&268435456&&t(52,o=F.has(ht.GRAPH_BUTTON)),i.$$.dirty[3]&268435456&&t(51,l=F.has(ht.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&268435456&&t(50,s=F.has(ht.PLAY_BUTTON)),i.$$.dirty[3]&268435456&&t(49,r=F.has(ht.REPLAY_BUTTON)),i.$$.dirty[3]&268435456&&t(48,a=F.has(ht.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&134217728&&t(27,_i=P===ot.PlaybackState.PLAYING),i.$$.dirty[0]&67108864&&t(28,Di=Y===Nt.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&67108864&&t(29,ti=ie&&!re&&!Li),i.$$.dirty[0]&16|i.$$.dirty[3]&67108864&&t(30,ui=!ie||re),i.$$.dirty[3]&8388608&&t(112,wi=b.width>300),i.$$.dirty[3]&8388608&&t(31,ki=b.width>400),i.$$.dirty[0]&33554432&&t(113,bt=M),i.$$.dirty[0]&29360128|i.$$.dirty[3]&16777216&&t(32,Dt=V!==ot.ChromecastState.NOT_AVAILABLE&&!(T&&A===fn.DocumentPictureInPicture)&&!I&&!Li),i.$$.dirty[0]&25165824|i.$$.dirty[3]&51380224){const fe=E===Be.WaitingLive;t(33,yi=!!Ee&&V!==ot.ChromecastState.CONNECTED&&!I&&(A===fn.DocumentPictureInPicture&&fe||!fe)&&!bt&&!Li)}i.$$.dirty[3]&1048576&&t(34,ii=!bt),i.$$.dirty[3]&8421376&&t(35,Hi=!R&&b.width>350),i.$$.dirty[0]&4194304|i.$$.dirty[3]&17956864&&t(36,Fi=Re.features.fullscreen&&!(T&&A===fn.DocumentPictureInPicture)&&(Li?Z:!0)&&!bt),i.$$.dirty[0]&1048592|i.$$.dirty[3]&9437184&&t(37,Pi=(!v||re)&&b.width>260&&!bt&&!(Re.features.interactiveHideTime&&Li)),i.$$.dirty[0]&2097160&&t(38,Ii=g||G),i.$$.dirty[0]&1048592|i.$$.dirty[3]&3670016&&t(39,ni=!re&&!v&&!!ri?.length&&wi&&!n&&!bt),i.$$.dirty[0]&524288|i.$$.dirty[3]&4194304&&t(41,zi=!h||f),i.$$.dirty[0]&1&&L&&It()},[L,ge,Se,G,re,Q,Pe,X,Ve,ke,be,Te,W,We,xe,De,Me,dt,st,h,v,g,T,I,V,M,Y,_i,Di,ti,ui,ki,Dt,yi,ii,Hi,Fi,Pi,Ii,ni,ci,zi,fi,Ci,oi,li,Si,Ht,a,r,s,l,o,c,J,le,ne,ue,ee,B,_,x,ae,ze,se,me,at,Ye,et,lt,ft,Pt,nt,Ut,Ct,tt,xt,mt,Ze,Tt,rt,$t,de,ye,Ie,St,ri,Ai,Vt,ei,Ei,Ot,ai,xi,Ri,Wt,Oi,Li,$i,qt,bi,Vi,di,Ui,Ti,Zt,Ni,Wi,R,Ce,Z,Ge,wi,bt,n,f,b,A,E,ie,P,F,mi,zt,hi,Zi,qi,pi,At,Bi]}class q4 extends we{constructor(e){super(),_e(this,e,W4,U4,ve,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:108,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:109,supportLink:11,customFullscreenSupported:110,playNextVideo:12,playPrevVideo:13,repeatPlaylist:111,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18},I4,[-1,-1,-1,-1,-1])}}function j4(i){let e,t,n;function o(s){i[26](s)}let l={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(l.controlsElementRef=i[0]),e=new v4({props:l}),je.push(()=>wt(e,"controlsElementRef",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r&2&&(a.bottomHidden=s[1]),r&4&&(a.bottomNoSmooth=s[2]),r&8&&(a.showControls=s[3]),r&16&&(a.isAds=s[4]),r&32&&(a.canRewindLive=s[5]),r&64&&(a.logoClickable=s[6]),r&128&&(a.logoHidden=s[7]),r&256&&(a.videoLogoUrl=s[8]),r&512&&(a.showNextPrevButtons=s[9]),r&1024&&(a.nextButtonActive=s[10]),r&2048&&(a.prevButtonActive=s[11]),r&4096&&(a.isOneVideoPlaylist=s[12]),r&8192&&(a.supportLink=s[13]),r&16384&&(a.customFullscreenSupported=s[14]),r&32768&&(a.playNextVideo=s[15]),r&65536&&(a.playPrevVideo=s[16]),r&131072&&(a.repeatPlaylist=s[17]),r&262144&&(a.toggleFullscreen=s[18]),r&524288&&(a.returnFocus=s[19]),r&1048576&&(a.seekToInteractive=s[20]),r&2097152&&(a.toggleGraph=s[21]),r&4194304&&(a.playPrevChapter=s[22]),!t&&r&1&&(t=!0,a.controlsElementRef=s[0],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function Z4(i){let e,t,n;function o(s){i[25](s)}let l={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(l.controlsElementRef=i[0]),e=new q4({props:l}),je.push(()=>wt(e,"controlsElementRef",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r&2&&(a.bottomHidden=s[1]),r&4&&(a.bottomNoSmooth=s[2]),r&8&&(a.showControls=s[3]),r&16&&(a.isAds=s[4]),r&32&&(a.canRewindLive=s[5]),r&64&&(a.logoClickable=s[6]),r&128&&(a.logoHidden=s[7]),r&256&&(a.videoLogoUrl=s[8]),r&512&&(a.showNextPrevButtons=s[9]),r&1024&&(a.nextButtonActive=s[10]),r&2048&&(a.prevButtonActive=s[11]),r&4096&&(a.isOneVideoPlaylist=s[12]),r&8192&&(a.supportLink=s[13]),r&16384&&(a.customFullscreenSupported=s[14]),r&32768&&(a.playNextVideo=s[15]),r&65536&&(a.playPrevVideo=s[16]),r&131072&&(a.repeatPlaylist=s[17]),r&262144&&(a.toggleFullscreen=s[18]),r&524288&&(a.returnFocus=s[19]),r&1048576&&(a.seekToInteractive=s[20]),r&2097152&&(a.toggleGraph=s[21]),r&4194304&&(a.playPrevChapter=s[22]),!t&&r&1&&(t=!0,a.controlsElementRef=s[0],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function G4(i){let e,t,n,o;const l=[Z4,j4],s=[];function r(a,c){return a[23]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=gt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?s[e].p(a,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){p(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function Y4(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:l=!1}=e,{showControls:s}=e,{controlsElementRef:r=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:h}=e,{videoLogoUrl:v}=e,{showNextPrevButtons:g}=e,{nextButtonActive:b}=e,{prevButtonActive:A}=e,{isOneVideoPlaylist:T=!1}=e,{supportLink:I}=e,{customFullscreenSupported:V=!0}=e,{playNextVideo:E}=e,{playPrevVideo:M}=e,{repeatPlaylist:ie}=e,{toggleFullscreen:Y}=e,{returnFocus:P=$.noop}=e,{seekToInteractive:F}=e,{toggleGraph:J}=e,{playPrevChapter:le}=e;const ue=yt().ui.isMobile;U(i,ue,_=>t(23,n=_));function ee(_){r=_,t(0,r)}function B(_){r=_,t(0,r)}return i.$$set=_=>{"bottomHidden"in _&&t(1,o=_.bottomHidden),"bottomNoSmooth"in _&&t(2,l=_.bottomNoSmooth),"showControls"in _&&t(3,s=_.showControls),"controlsElementRef"in _&&t(0,r=_.controlsElementRef),"isAds"in _&&t(4,a=_.isAds),"canRewindLive"in _&&t(5,c=_.canRewindLive),"logoClickable"in _&&t(6,f=_.logoClickable),"logoHidden"in _&&t(7,h=_.logoHidden),"videoLogoUrl"in _&&t(8,v=_.videoLogoUrl),"showNextPrevButtons"in _&&t(9,g=_.showNextPrevButtons),"nextButtonActive"in _&&t(10,b=_.nextButtonActive),"prevButtonActive"in _&&t(11,A=_.prevButtonActive),"isOneVideoPlaylist"in _&&t(12,T=_.isOneVideoPlaylist),"supportLink"in _&&t(13,I=_.supportLink),"customFullscreenSupported"in _&&t(14,V=_.customFullscreenSupported),"playNextVideo"in _&&t(15,E=_.playNextVideo),"playPrevVideo"in _&&t(16,M=_.playPrevVideo),"repeatPlaylist"in _&&t(17,ie=_.repeatPlaylist),"toggleFullscreen"in _&&t(18,Y=_.toggleFullscreen),"returnFocus"in _&&t(19,P=_.returnFocus),"seekToInteractive"in _&&t(20,F=_.seekToInteractive),"toggleGraph"in _&&t(21,J=_.toggleGraph),"playPrevChapter"in _&&t(22,le=_.playPrevChapter)},[r,o,l,s,a,c,f,h,v,g,b,A,T,I,V,E,M,ie,Y,P,F,J,le,n,ue,ee,B]}class d1 extends we{constructor(e){super(),_e(this,e,Y4,G4,ve,{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 K4(i){He(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Q4(i){let e,t,n,o,l,s,r,a,c,f,h,v,g;return{c(){e=z("svg"),t=z("g"),n=z("path"),o=z("path"),l=z("defs"),s=z("filter"),r=z("feFlood"),a=z("feColorMatrix"),c=z("feOffset"),f=z("feGaussianBlur"),h=z("feColorMatrix"),v=z("feBlend"),g=z("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(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"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_100684"),u(g,"in","SourceGraphic"),u(g,"in2","effect1_dropShadow_2260_100684"),u(g,"result","shape"),u(s,"id","a"),u(s,"x","2.5"),u(s,"y","0"),u(s,"width","43.996"),u(s,"height","49.5"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),C(e,"reversed",i[0])},m(b,A){y(b,e,A),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,r),d(s,a),d(s,c),d(s,f),d(s,h),d(s,v),d(s,g)},p(b,[A]){A&1&&C(e,"reversed",b[0])},i:j,o:j,d(b){b&&k(e)}}}function X4(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class J4 extends we{constructor(e){super(),_e(this,e,X4,Q4,ve,{reversed:0},K4)}}function x4(i){let e,t,n,o,l,s,r,a,c,f,h,v,g,b,A;return{c(){e=z("svg"),t=z("g"),n=z("path"),o=z("path"),l=z("defs"),s=z("clipPath"),r=z("path"),a=z("filter"),c=z("feFlood"),f=z("feColorMatrix"),h=z("feOffset"),v=z("feGaussianBlur"),g=z("feColorMatrix"),b=z("feBlend"),A=z("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(r,"fill","#fff"),u(r,"d","M0 0h48v48H0z"),u(s,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(v,"stdDeviation","2.5"),u(g,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(b,"in2","BackgroundImageFix"),u(b,"result","effect1_dropShadow_2260_104204"),u(A,"in","SourceGraphic"),u(A,"in2","effect1_dropShadow_2260_104204"),u(A,"result","shape"),u(a,"id","b"),u(a,"x","-1.5"),u(a,"y","1.5"),u(a,"width","51"),u(a,"height","45"),u(a,"filterUnits","userSpaceOnUse"),u(a,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(T,I){y(T,e,I),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,r),d(l,a),d(a,c),d(a,f),d(a,h),d(a,v),d(a,g),d(a,b),d(a,A)},d(T){T&&k(e)}}}function $4(i){let e,t,n,o,l,s,r,a,c,f,h,v,g,b,A,T;return{c(){e=z("svg"),t=z("g"),n=z("path"),o=z("path"),l=z("path"),s=z("defs"),r=z("clipPath"),a=z("path"),c=z("filter"),f=z("feFlood"),h=z("feColorMatrix"),v=z("feOffset"),g=z("feGaussianBlur"),b=z("feColorMatrix"),A=z("feBlend"),T=z("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(o,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(o,"fill","#fff"),u(l,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(r,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(h,"in","SourceAlpha"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(h,"result","hardAlpha"),u(g,"stdDeviation","2.5"),u(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(A,"in2","BackgroundImageFix"),u(A,"result","effect1_dropShadow_2260_104293"),u(T,"in","SourceGraphic"),u(T,"in2","effect1_dropShadow_2260_104293"),u(T,"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(I,V){y(I,e,V),d(e,t),d(t,n),d(t,o),d(t,l),d(e,s),d(s,r),d(r,a),d(s,c),d(c,f),d(c,h),d(c,v),d(c,g),d(c,b),d(c,A),d(c,T)},d(I){I&&k(e)}}}function em(i){let e;function t(l,s){return l[0]?$4:x4}let n=t(i),o=n(i);return{c(){o.c(),e=gt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,[s]){n!==(n=t(l))&&(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:j,o:j,d(l){l&&k(e),o.d(l)}}}function tm(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class m1 extends we{constructor(e){super(),_e(this,e,tm,em,ve,{isOff:0})}}function im(i){He(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function nm(i){let e,t,n,o,l,s,r,a,c,f,h,v,g;return{c(){e=z("svg"),t=z("g"),n=z("path"),o=z("path"),l=z("defs"),s=z("filter"),r=z("feFlood"),a=z("feColorMatrix"),c=z("feOffset"),f=z("feGaussianBlur"),h=z("feColorMatrix"),v=z("feBlend"),g=z("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(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"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_106627"),u(g,"in","SourceGraphic"),u(g,"in2","effect1_dropShadow_2260_106627"),u(g,"result","shape"),u(s,"id","a"),u(s,"x","3.402"),u(s,"y","10.105"),u(s,"width","40.098"),u(s,"height","27.785"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),C(e,"reversed",i[0])},m(b,A){y(b,e,A),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,r),d(s,a),d(s,c),d(s,f),d(s,h),d(s,v),d(s,g)},p(b,[A]){A&1&&C(e,"reversed",b[0])},i:j,o:j,d(b){b&&k(e)}}}function om(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class lm extends we{constructor(e){super(),_e(this,e,om,nm,ve,{reversed:0},im)}}function sm(i){He(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function rm(i){let e,t,n,o,l,s,r,a,c,f,h,v,g;return{c(){e=z("svg"),t=z("g"),n=z("path"),o=z("path"),l=z("defs"),s=z("filter"),r=z("feFlood"),a=z("feColorMatrix"),c=z("feOffset"),f=z("feGaussianBlur"),h=z("feColorMatrix"),v=z("feBlend"),g=z("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(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"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_2340_106922"),u(g,"in","SourceGraphic"),u(g,"in2","effect1_dropShadow_2340_106922"),u(g,"result","shape"),u(s,"id","a"),u(s,"x","5.5"),u(s,"y","5.5"),u(s,"width","37"),u(s,"height","37"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),C(e,"reversed",i[0])},m(b,A){y(b,e,A),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,r),d(s,a),d(s,c),d(s,f),d(s,h),d(s,v),d(s,g)},p(b,[A]){A&1&&C(e,"reversed",b[0])},i:j,o:j,d(b){b&&k(e)}}}function am(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class um extends we{constructor(e){super(),_e(this,e,am,rm,ve,{reversed:0},sm)}}function cm(i){He(i,"v-1ner72s",`.hot-key-helpers-container.v-1ner72s.v-1ner72s{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-1ner72s-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-1ner72s>div.v-1ner72s{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-1ner72s svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-1ner72s svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-1ner72s svg[data-testid="play-icon"],.hot-key-helpers-container.v-1ner72s svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-1ner72s.v-1ner72s{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-1ner72s.v-1ner72s{left:calc(75% - 100px)}.hot-key-helpers-text.v-1ner72s.v-1ner72s{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-1ner72s.v-1ner72s{visibility:hidden;animation:v-1ner72s-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-1ner72s-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-1ner72s-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function er(i){let e,t=[Ke.BACKWARD_SEEK,Ke.FORWARD_SEEK].includes(i[4]),n,o,l,s,r,a=[Ke.RATE_DOWN,Ke.RATE_UP].includes(i[4]),c,f=[Ke.EPISODE_PREV,Ke.EPISODE_NEXT].includes(i[4]),h,v,g,b,A,T=t&&tr(i),I=i[4]===Ke.STOP&&ir(),V=i[4]===Ke.PLAY&&nr(),E=i[4]===Ke.SUBTITLES_OFF&&or(),M=i[4]===Ke.SUBTITLES_ON&&lr(),ie=a&&sr(i),Y=f&&rr(i),P=i[4]===Ke.MUTE&&ar(),F=i[4]===Ke.VOLUME&&ur(),J=i[5]&&cr(i);return{c(){e=w("div"),T&&T.c(),n=N(),I&&I.c(),o=N(),V&&V.c(),l=N(),E&&E.c(),s=N(),M&&M.c(),r=N(),ie&&ie.c(),c=N(),Y&&Y.c(),h=N(),P&&P.c(),v=N(),F&&F.c(),g=N(),J&&J.c(),b=gt(),u(e,"class","v-1ner72s")},m(le,ne){y(le,e,ne),T&&T.m(e,null),d(e,n),I&&I.m(e,null),d(e,o),V&&V.m(e,null),d(e,l),E&&E.m(e,null),d(e,s),M&&M.m(e,null),d(e,r),ie&&ie.m(e,null),d(e,c),Y&&Y.m(e,null),d(e,h),P&&P.m(e,null),d(e,v),F&&F.m(e,null),y(le,g,ne),J&&J.m(le,ne),y(le,b,ne),A=!0},p(le,ne){ne&16&&(t=[Ke.BACKWARD_SEEK,Ke.FORWARD_SEEK].includes(le[4])),t?T?(T.p(le,ne),ne&16&&m(T,1)):(T=tr(le),T.c(),m(T,1),T.m(e,n)):T&&(he(),p(T,1,1,()=>{T=null}),pe()),le[4]===Ke.STOP?I?ne&16&&m(I,1):(I=ir(),I.c(),m(I,1),I.m(e,o)):I&&(he(),p(I,1,1,()=>{I=null}),pe()),le[4]===Ke.PLAY?V?ne&16&&m(V,1):(V=nr(),V.c(),m(V,1),V.m(e,l)):V&&(he(),p(V,1,1,()=>{V=null}),pe()),le[4]===Ke.SUBTITLES_OFF?E?ne&16&&m(E,1):(E=or(),E.c(),m(E,1),E.m(e,s)):E&&(he(),p(E,1,1,()=>{E=null}),pe()),le[4]===Ke.SUBTITLES_ON?M?ne&16&&m(M,1):(M=lr(),M.c(),m(M,1),M.m(e,r)):M&&(he(),p(M,1,1,()=>{M=null}),pe()),ne&16&&(a=[Ke.RATE_DOWN,Ke.RATE_UP].includes(le[4])),a?ie?(ie.p(le,ne),ne&16&&m(ie,1)):(ie=sr(le),ie.c(),m(ie,1),ie.m(e,c)):ie&&(he(),p(ie,1,1,()=>{ie=null}),pe()),ne&16&&(f=[Ke.EPISODE_PREV,Ke.EPISODE_NEXT].includes(le[4])),f?Y?(Y.p(le,ne),ne&16&&m(Y,1)):(Y=rr(le),Y.c(),m(Y,1),Y.m(e,h)):Y&&(he(),p(Y,1,1,()=>{Y=null}),pe()),le[4]===Ke.MUTE?P?ne&16&&m(P,1):(P=ar(),P.c(),m(P,1),P.m(e,v)):P&&(he(),p(P,1,1,()=>{P=null}),pe()),le[4]===Ke.VOLUME?F?ne&16&&m(F,1):(F=ur(),F.c(),m(F,1),F.m(e,null)):F&&(he(),p(F,1,1,()=>{F=null}),pe()),le[5]?J?J.p(le,ne):(J=cr(le),J.c(),J.m(b.parentNode,b)):J&&(J.d(1),J=null)},i(le){A||(m(T),m(I),m(V),m(E),m(M),m(ie),m(Y),m(P),m(F),A=!0)},o(le){p(T),p(I),p(V),p(E),p(M),p(ie),p(Y),p(P),p(F),A=!1},d(le){le&&(k(e),k(g),k(b)),T&&T.d(),I&&I.d(),V&&V.d(),E&&E.d(),M&&M.d(),ie&&ie.d(),Y&&Y.d(),P&&P.d(),F&&F.d(),J&&J.d(le)}}}function tr(i){let e,t;return e=new J4({props:{reversed:i[4]===Ke.FORWARD_SEEK}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Ke.FORWARD_SEEK),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ir(i){let e,t;return e=new $a({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function nr(i){let e,t;return e=new Go({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function or(i){let e,t;return e=new m1({props:{isOff:!0}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function lr(i){let e,t;return e=new m1({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function sr(i){let e,t;return e=new lm({props:{reversed:i[4]===Ke.RATE_UP}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Ke.RATE_UP),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function rr(i){let e,t;return e=new um({props:{reversed:i[4]===Ke.EPISODE_NEXT}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Ke.EPISODE_NEXT),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ar(i){let e,t;return e=new ko({props:{volume:0}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ur(i){let e,t;return e=new ko({props:{volume:1}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function cr(i){let e,t;return{c(){e=w("span"),t=Ue(i[5]),u(e,"class","hot-key-helpers-text v-1ner72s")},m(n,o){y(n,e,o),d(e,t)},p(n,o){o&32&&Xe(t,n[5])},d(n){n&&k(e)}}}function fm(i){let e,t,n=!i[1]&&i[4]&&er(i);return{c(){e=w("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-1ner72s"),C(e,"hidden",i[1]),C(e,"hot-key-helpers-container--left",i[2]),C(e,"hot-key-helpers-container--right",i[3])},m(o,l){y(o,e,l),n&&n.m(e,null),t=!0},p(o,[l]){!o[1]&&o[4]?n?(n.p(o,l),l&18&&m(n,1)):(n=er(o),n.c(),m(n,1),n.m(e,null)):n&&(he(),p(n,1,1,()=>{n=null}),pe()),(!t||l&2)&&C(e,"hidden",o[1]),(!t||l&4)&&C(e,"hot-key-helpers-container--left",o[2]),(!t||l&8)&&C(e,"hot-key-helpers-container--right",o[3])},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&k(e),n&&n.d()}}}function dm(i,e,t){let n,o=j,l=()=>(o(),o=no(s,v=>t(6,n=v)),s);i.$$.on_destroy.push(()=>o());let{data:s}=e;l();let r,a,c,f,h;return i.$$set=v=>{"data"in v&&l(t(0,s=v.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,r=!n),t(2,a=n?.type===Ke.BACKWARD_SEEK),t(3,c=n?.type===Ke.FORWARD_SEEK),t(4,f=n?.type),n?.t?t(5,h=oe(n.t.key,{value:n.t.value||""})):t(5,h=n?.text))},[s,r,a,c,f,h,n]}class mm extends we{constructor(e){super(),_e(this,e,dm,fm,ve,{data:0},cm)}}function hm(i){He(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 pm(i){let e,t,n,o,l,s,r,a,c,f,h,v,g,b,A,T,I,V;return l=new vn({props:{direction:"up"}}),a=new vn({props:{direction:"up"}}),v=new vn({props:{direction:"up"}}),A=new vn({props:{direction:"up"}}),{c(){e=w("div"),t=w("div"),n=w("div"),o=w("div"),H(l.$$.fragment),s=N(),r=w("div"),H(a.$$.fragment),c=N(),f=w("div"),h=w("div"),H(v.$$.fragment),g=N(),b=w("div"),H(A.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(r,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(h,"class","button button-left v-1yzc86r"),u(b,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(t,"class","button-block v-1yzc86r"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),C(e,"m-shifted",i[0])},m(E,M){y(E,e,M),d(e,t),d(t,n),d(n,o),O(l,o,null),d(n,s),d(n,r),O(a,r,null),d(t,c),d(t,f),d(f,h),O(v,h,null),d(f,g),d(f,b),O(A,b,null),T=!0,I||(V=[Ae(o,"mousedown",i[1]),Ae(o,"mouseup",i[5]),Ae(o,"mouseleave",i[5]),Ae(r,"mousedown",i[3]),Ae(r,"mouseup",i[5]),Ae(r,"mouseleave",i[5]),Ae(h,"mousedown",i[4]),Ae(h,"mouseup",i[5]),Ae(h,"mouseleave",i[5]),Ae(b,"mousedown",i[2]),Ae(b,"mouseup",i[5]),Ae(b,"mouseleave",i[5]),Ae(e,"keydown",i[6]),Ae(e,"keyup",i[7])],I=!0)},p(E,[M]){(!T||M&1)&&C(e,"m-shifted",E[0])},i(E){T||(m(l.$$.fragment,E),m(a.$$.fragment,E),m(v.$$.fragment,E),m(A.$$.fragment,E),T=!0)},o(E){p(l.$$.fragment,E),p(a.$$.fragment,E),p(v.$$.fragment,E),p(A.$$.fragment,E),T=!1},d(E){E&&k(e),D(l),D(a),D(v),D(A),I=!1,Rt(V)}}}function gm(i,e,t){let{isShifted:n=!1}=e;const o=yt(),l=new Set([qe.ArrowUp,qe.ArrowDown,qe.ArrowLeft,qe.ArrowRight]),s=()=>{o.actions.internal.startCameraManualRotation(0,1)},r=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),h=g=>{if(l.has(g.code))switch(g.preventDefault(),g.stopPropagation(),g.code){case qe.ArrowUp:s();break;case qe.ArrowDown:r();break;case qe.ArrowLeft:c();break;case qe.ArrowRight:a();break}},v=g=>{l.has(g.code)&&(g.preventDefault(),g.stopPropagation(),f())};return i.$$set=g=>{"isShifted"in g&&t(0,n=g.isShifted)},[n,s,r,a,c,f,h,v]}class h1 extends we{constructor(e){super(),_e(this,e,gm,pm,ve,{isShifted:0},hm)}}function vm(i){He(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 fr(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function dr(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function mr(i){let e,t;function n(s,r){return s[7]&&s[8]?wm:s[5]?_m:bm}let o=n(i),l=o(i);return{c(){e=w("div"),t=w("span"),l.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),C(e,"mobile",i[3])},m(s,r){y(s,e,r),d(e,t),l.m(t,null)},p(s,r){o===(o=n(s))&&l?l.p(s,r):(l.d(1),l=o(s),l&&(l.c(),l.m(t,null))),r&8&&C(e,"mobile",s[3])},d(s){s&&k(e),l.d()}}}function bm(i){let e,t=Mt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=hr(fr(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=gt()},m(o,l){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(o,l);y(o,e,l)},p(o,l){if(l&18){t=Mt(o[1]);let s;for(s=0;s<t.length;s+=1){const r=fr(o,t,s);n[s]?n[s].p(r,l):(n[s]=hr(r),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(o){o&&k(e),tn(n,o)}}}function _m(i){let e,t,n=Mt(i[6]),o=[];for(let l=0;l<n.length;l+=1)o[l]=gr(dr(i,n,l));return{c(){e=w("span"),t=w("span");for(let l=0;l<o.length;l+=1)o[l].c();u(t,"class","caption-segment v-ovfyp5"),Lt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){y(l,e,s),d(e,t);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(t,null)},p(l,s){if(s&68){n=Mt(l[6]);let r;for(r=0;r<n.length;r+=1){const a=dr(l,n,r);o[r]?o[r].p(a,s):(o[r]=gr(a),o[r].c(),o[r].m(t,null))}for(;r<o.length;r+=1)o[r].d(1);o.length=n.length}s&16&&Lt(t,"font-size",l[4]+"px")},d(l){l&&k(e),tn(o,l)}}}function wm(i){let e,t,n=oe("subtitles_auto_caption")+"",o;return{c(){e=w("span"),t=w("span"),o=Ue(n),u(t,"class","caption-segment v-ovfyp5"),Lt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){y(l,e,s),d(e,t),d(t,o)},p(l,s){s&16&&Lt(t,"font-size",l[4]+"px")},d(l){l&&k(e)}}}function hr(i){let e,t,n=i[16]+"",o,l;return{c(){e=w("span"),t=w("span"),o=Ue(n),l=N(),u(t,"class","caption-segment v-ovfyp5"),Lt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,r){y(s,e,r),d(e,t),d(t,o),d(e,l)},p(s,r){r&2&&n!==(n=s[16]+"")&&Xe(o,n),r&16&&Lt(t,"font-size",s[4]+"px")},d(s){s&&k(e)}}}function pr(i){let e=i[16]+"",t;return{c(){t=Ue(e)},m(n,o){y(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&Xe(t,e)},d(n){n&&k(t)}}}function gr(i){let e,t=(!i[17]||i[17]<=i[2])&&pr(i);return{c(){t&&t.c(),e=gt()},m(n,o){t&&t.m(n,o),y(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?t?t.p(n,o):(t=pr(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&k(e),t&&t.d(n)}}}function km(i){let e,t=i[1].length>0&&mr(i);return{c(){e=w("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),C(e,"shifted",i[0]),C(e,"auto",i[5]&&!i[8])},m(n,o){y(n,e,o),t&&t.m(e,null)},p(n,[o]){n[1].length>0?t?t.p(n,o):(t=mr(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),o&1&&C(e,"shifted",n[0]),o&288&&C(e,"auto",n[5]&&!n[8])},i:j,o:j,d(n){n&&k(e),t&&t.d()}}}function ym(i,e,t){let n,o,{shifted:l}=e,{captions:s}=e,{position:r}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=yt(),h=Yi(),v=f.state.currentSubtitle$;U(i,v,E=>t(12,n=E));const g=f.state.isAutoSubtitleCaptionVisible$;U(i,g,E=>t(8,o=E));let b,A,T,I,V;return ji(()=>{V=window.setTimeout(()=>{g.set(!1)},h.autoSubtitlesTimeout)}),_o(()=>{window.clearTimeout(V)}),i.$$set=E=>{"shifted"in E&&t(0,l=E.shifted),"captions"in E&&t(1,s=E.captions),"position"in E&&t(2,r=E.position),"playerSize"in E&&t(11,a=E.playerSize),"isMobile"in E&&t(3,c=E.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const E=a.width*.02;t(4,b=E<=h.minSubtitlesFontSize?h.minSubtitlesFontSize:E)}i.$$.dirty&2&&t(5,A=s.some(E=>E.type==="timestamp")),i.$$.dirty&2&&t(6,T=s.reduce((E,{type:M,value:ie})=>(M==="timestamp"?E.push({timeAppeared:Number(ie),value:""}):E.length===0?E.push({value:String(ie)}):E[E.length-1].value=String(ie),E),[])),i.$$.dirty&4096&&t(7,I=!!n.isAuto)},[l,s,r,c,b,A,T,I,o,v,g,a,n]}class p1 extends we{constructor(e){super(),_e(this,e,ym,km,ve,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},vm)}}function Pm(i){He(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 vr(i){let e,t,n;return{c(){e=w("div"),t=Ue("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Ue(i[1]),u(e,"class","text v-1o62kpz")},m(o,l){y(o,e,l),d(e,t),d(e,n)},p(o,l){l&2&&Xe(n,o[1])},d(o){o&&k(e)}}}function Cm(i){let e,t,n,o,l,s,r=i[1]&&vr(i);return{c(){e=w("div"),t=w("div"),t.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=N(),r&&r.c(),u(t,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${i[0]||""}')`)},m(a,c){y(a,e,c),d(e,t),d(e,n),r&&r.m(e,null),l||(s=Ae(e,"click",i[2]),l=!0)},p(a,[c]){a[1]?r?r.p(a,c):(r=vr(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:j,o:j,d(a){a&&k(e),r&&r.d(),l=!1,s()}}}function Sm(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function l(s){to.call(this,i,s)}return i.$$set=s=>{"thumbUrl"in s&&t(0,n=s.thumbUrl),"chromecastDeviceName"in s&&t(1,o=s.chromecastDeviceName)},[n,o,l]}class g1 extends we{constructor(e){super(),_e(this,e,Sm,Cm,ve,{thumbUrl:0,chromecastDeviceName:1},Pm)}}function Tm(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class Am extends we{constructor(e){super(),_e(this,e,null,Tm,ve,{})}}function Em(i){He(i,"v-zd9h6u",".container.v-zd9h6u{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function Lm(i){let e,t,n;return t=new Am({}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","container v-zd9h6u")},m(o,l){y(o,e,l),O(t,e,null),n=!0},p:j,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}class v1 extends we{constructor(e){super(),_e(this,e,null,Lm,ve,{},Em)}}function Vm(i){He(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 Im(i){let e,t,n,o,l,s,r,a,c;return l=new Go({}),{c(){e=w("div"),t=w("div"),n=w("div"),o=N(),H(l.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(t,"class","playButton v-17wno3"),u(e,"class","container v-17wno3"),u(e,"style",s=`background-color: #222; background-image: url('${i[0]||""}')`),C(e,"hidden",i[1])},m(f,h){y(f,e,h),d(e,t),d(t,n),d(t,o),O(l,t,null),r=!0,a||(c=Ae(e,"click",ct(function(){Ji(i[2])&&i[2].apply(this,arguments)})),a=!0)},p(f,[h]){i=f,(!r||h&1&&s!==(s=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",s),(!r||h&2)&&C(e,"hidden",i[1])},i(f){r||(m(l.$$.fragment,f),r=!0)},o(f){p(l.$$.fragment,f),r=!1},d(f){f&&k(e),D(l),a=!1,c()}}}function zm(i,e,t){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:l}=e;return i.$$set=s=>{"thumbUrl"in s&&t(0,n=s.thumbUrl),"hidden"in s&&t(1,o=s.hidden),"startVideo"in s&&t(2,l=s.startVideo)},[n,o,l]}class b1 extends we{constructor(e){super(),_e(this,e,zm,Im,ve,{thumbUrl:0,hidden:1,startVideo:2},Vm)}}function Mm(i){He(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 bl(i){let e;return{c(){e=_("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){w(t,e,n)},d(t){t&&k(e)}}}function vl(i){let e,t;return e=new rc({props:{position:i[6],duration:i[7]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&64&&(s.position=n[6]),o&128&&(s.duration=n[7]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function _l(i){let e,t;return e=new mc({props:{position:i[6],secondsToWatchBeforeSkip:i[8],skipAd:i[10].actions.internal.skipAd}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&64&&(s.position=n[6]),o&256&&(s.secondsToWatchBeforeSkip=n[8]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function kl(i){let e,t;return e=new nc({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function wl(i){let e,t;return e=new gc({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function vc(i){let e,t,n,o,s,l,r,a,c=i[0]&&bl(),f=i[3]&&vl(i),p=i[4]&&_l(i),b=i[9]&&kl(),g=i[5]&&wl();return{c(){e=_("div"),c&&c.c(),t=B(),n=_("video"),o=B(),f&&f.c(),s=B(),p&&p.c(),l=B(),b&&b.c(),r=B(),g&&g.c(),Mt(n,"width","100%"),Mt(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(v,C){w(v,e,C),c&&c.m(e,null),d(e,t),d(e,n),i[22](n),d(e,o),f&&f.m(e,null),d(e,s),p&&p.m(e,null),d(e,l),b&&b.m(e,null),d(e,r),g&&g.m(e,null),i[23](e),a=!0},p(v,[C]){v[0]?c||(c=bl(),c.c(),c.m(e,t)):c&&(c.d(1),c=null),v[3]?f?(f.p(v,C),C&8&&m(f,1)):(f=vl(v),f.c(),m(f,1),f.m(e,s)):f&&(pe(),h(f,1,1,()=>{f=null}),he()),v[4]?p?(p.p(v,C),C&16&&m(p,1)):(p=_l(v),p.c(),m(p,1),p.m(e,l)):p&&(pe(),h(p,1,1,()=>{p=null}),he()),v[9]?b?C&512&&m(b,1):(b=kl(),b.c(),m(b,1),b.m(e,r)):b&&(pe(),h(b,1,1,()=>{b=null}),he()),v[5]?g?C&32&&m(g,1):(g=wl(),g.c(),m(g,1),g.m(e,null)):g&&(pe(),h(g,1,1,()=>{g=null}),he())},i(v){a||(m(f),m(p),m(b),m(g),a=!0)},o(v){h(f),h(p),h(b),h(g),a=!1},d(v){v&&k(e),c&&c.d(),i[22](null),f&&f.d(),p&&p.d(),b&&b.d(),g&&g.d(),i[23](null)}}}function _c(i,e,t){let n,o,s,l,r,a,{adsSlotId:c=void 0}=e,{adsParams:f=void 0}=e,{adsPreviewParam:p=void 0}=e,{duration:b=0}=e;const g=St(),v=g.state.isEnded$;W(i,v,te=>t(9,a=te));const C=g.ui.isMobile;W(i,C,te=>t(0,o=te));let P,V,I=!1;const L=g.ads.playbackState;W(i,L,te=>t(21,n=te));const N=g.ads.canSkip,se=g.ads.duration;W(i,se,te=>t(7,l=te));const U=g.ads.position;W(i,U,te=>t(6,s=te));const K=g.ads.secondsToWatchBeforeSkip;W(i,K,te=>t(8,r=te));let Y,ae,E;an(()=>{const te=new AbortController;let q=()=>{te.abort()};const S=g.getAdmanWrapper();if(!c){S.onAdmanLoadingError();return}const{width:re,height:R}=lt(g.ui.playerSize),Ce=lt(g.ui.isFullscreen),de=lt(g.ui.isAutoplay),G={width:re,height:R,isFullscreen:Ce,isAutoplay:de,adsContainer:P,adsVideoElement:V,slotId:c,params:f,previewParam:p,duration:b};return window.AdmanHTML?(S.initAdman(G),I=!0):S.loadAdman(te.signal).then(()=>{S.initAdman(G),I=!0}).catch(()=>{S.onAdmanLoadingError()}),()=>{!I&&q()}});function j(te){Me[te?"unshift":"push"](()=>{V=te,t(2,V)})}function ue(te){Me[te?"unshift":"push"](()=>{P=te,t(1,P)})}return i.$$set=te=>{"adsSlotId"in te&&t(17,c=te.adsSlotId),"adsParams"in te&&t(18,f=te.adsParams),"adsPreviewParam"in te&&t(19,p=te.adsPreviewParam),"duration"in te&&t(20,b=te.duration)},i.$$.update=()=>{i.$$.dirty&2097152&&t(3,Y=n!==Ft.INACTIVE),i.$$.dirty&2097152&&t(4,ae=N&&n!==Ft.INACTIVE),i.$$.dirty&2097153&&t(5,E=o&&n!==Ft.INACTIVE)},[o,P,V,Y,ae,E,s,l,r,a,g,v,C,L,se,U,K,c,f,p,b,n,j,ue]}class Oa extends _e{constructor(e){super(),ve(this,e,_c,vc,ge,{adsSlotId:17,adsParams:18,adsPreviewParam:19,duration:20},bc)}}function kc(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(t,"fill","none"),u(t,"stroke","#fff"),u(t,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(o,s){w(o,e,s),d(e,t),d(e,n)},d(o){o&&k(e)}}}function wc(i){let e,t,n;return{c(){e=M("svg"),t=M("rect"),n=M("path"),u(t,"width","42"),u(t,"height","20"),u(t,"rx","5"),u(t,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(o,s){w(o,e,s),d(e,t),d(e,n)},d(o){o&&k(e)}}}function yc(i){let e;function t(s,l){return s[0]?wc:kc}let n=t(i),o=n(i);return{c(){o.c(),e=kt()},m(s,l){o.m(s,l),w(s,e,l)},p(s,[l]){n!==(n=t(s))&&(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:H,o:H,d(s){s&&k(e),o.d(s)}}}function Cc(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class Ha extends _e{constructor(e){super(),ve(this,e,Cc,yc,ge,{isActive:0})}}function Pc(i){Ue(i,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function Sc(i){let e=bn(i[4]-i[3])+"",t;return{c(){t=Fe(e)},m(n,o){w(n,t,o)},p(n,o){o&24&&e!==(e=bn(n[4]-n[3])+"")&&xe(t,e)},i:H,o:H,d(n){n&&k(t)}}}function Tc(i){let e,t,n;return t=new Ha({props:{isActive:!0}}),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,s){w(o,e,s),z(t,e,null),n=!0},p:H,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function Ac(i){let e,t,n,o,s,l,r;const a=[Tc,Sc],c=[];function f(p,b){return p[1]?0:1}return s=f(i),l=c[s]=a[s](i),{c(){e=_("div"),t=_("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=B(),o=_("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"),A(e,"live",i[1]),A(e,"hidden",i[0]),A(e,"playing",i[2])},m(p,b){w(p,e,b),d(e,t),d(e,n),d(e,o),c[s].m(o,null),r=!0},p(p,[b]){let g=s;s=f(p),s===g?c[s].p(p,b):(pe(),h(c[g],1,1,()=>{c[g]=null}),he(),l=c[s],l?l.p(p,b):(l=c[s]=a[s](p),l.c()),m(l,1),l.m(o,null)),(!r||b&2)&&A(e,"live",p[1]),(!r||b&1)&&A(e,"hidden",p[0]),(!r||b&4)&&A(e,"playing",p[2])},i(p){r||(m(l),r=!0)},o(p){h(l),r=!1},d(p){p&&k(e),c[s].d()}}}function Ec(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:s=!1}=e,{position:l}=e,{duration:r}=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,s=a.isPlaying),"position"in a&&t(3,l=a.position),"duration"in a&&t(4,r=a.duration)},[n,o,s,l,r]}class Fa extends _e{constructor(e){super(),ve(this,e,Ec,Ac,ge,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},Pc)}}const Yo=i=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const e=document.createElement("textarea");e.textContent=i,e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}}};function Ic(i){Ue(i,"v-gew86s","ul.v-gew86s{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-gew86s{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-gew86s:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function Lc(i){let e,t,n,o,s,l=!i[4]&&!i[14]&&yl(i);return{c(){e=_("li"),e.textContent=`${oe("menu_copy_video_link")}`,t=B(),l&&l.c(),n=kt(),u(e,"class","v-gew86s")},m(r,a){w(r,e,a),w(r,t,a),l&&l.m(r,a),w(r,n,a),o||(s=Te(e,"click",pt(i[28])),o=!0)},p(r,a){!r[4]&&!r[14]?l?l.p(r,a):(l=yl(r),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(r){r&&(k(e),k(t),k(n)),l&&l.d(r),o=!1,s()}}}function yl(i){let e,t,n;return{c(){e=_("li"),e.textContent=`${oe("menu_copy_video_link_with_timestamp")}`,u(e,"class","v-gew86s")},m(o,s){w(o,e,s),t||(n=Te(e,"click",pt(i[29])),t=!0)},p:H,d(o){o&&k(e),t=!1,n()}}}function Cl(i){let e,t,n;return{c(){e=_("li"),e.textContent=`${oe("menu_pip")}`,u(e,"class","v-gew86s")},m(o,s){w(o,e,s),t||(n=Te(e,"click",pt(i[19])),t=!0)},p:H,d(o){o&&k(e),t=!1,n()}}}function Vc(i){let e,t,n;return{c(){e=_("li"),e.textContent=`${oe("menu_video_rotate")}`,u(e,"class","v-gew86s")},m(o,s){w(o,e,s),t||(n=Te(e,"click",pt(i[15])),t=!0)},p:H,d(o){o&&k(e),t=!1,n()}}}function Pl(i){let e,t,n;return{c(){e=_("li"),e.textContent=`${oe("menu_report")}`,u(e,"class","v-gew86s")},m(o,s){w(o,e,s),t||(n=Te(e,"click",pt(i[16])),t=!0)},p:H,d(o){o&&k(e),t=!1,n()}}}function Mc(i){let e,t,n,o,s,l,r,a,c,f,p=i[8].features.copyVideoLink&&i[7].callbacks?.onCopyVideoLink&&Lc(i),b=i[9]&&i[5]!==rt.ChromecastState.CONNECTED&&!i[14]&&Cl(i),g=i[8].features.videoRotate&&!i[14]&&Vc(i),v=i[8].showSupport&&!i[6]&&Pl(i);return{c(){e=_("ul"),p&&p.c(),t=B(),b&&b.c(),n=B(),g&&g.c(),o=B(),v&&v.c(),s=B(),l=_("li"),l.textContent=`${i[8].features.saveDebugInfoToFile?oe("menu_save_debug"):oe("menu_copy_debug")}`,r=B(),a=_("li"),a.textContent=`${oe("menu_debug_overlay")}`,u(l,"class","v-gew86s"),u(a,"class","v-gew86s"),Mt(e,"top",i[2]+"px"),Mt(e,"left",i[1]+"px"),u(e,"class","v-gew86s"),A(e,"hidden",!i[0])},m(C,P){w(C,e,P),p&&p.m(e,null),d(e,t),b&&b.m(e,null),d(e,n),g&&g.m(e,null),d(e,o),v&&v.m(e,null),d(e,s),d(e,l),d(e,r),d(e,a),i[30](e),c||(f=[Te(l,"click",pt(i[17])),Te(a,"click",pt(i[18])),Te(e,"contextmenu",ri(i[27]))],c=!0)},p(C,P){C[8].features.copyVideoLink&&C[7].callbacks?.onCopyVideoLink&&p.p(C,P),C[9]&&C[5]!==rt.ChromecastState.CONNECTED&&!C[14]?b?b.p(C,P):(b=Cl(C),b.c(),b.m(e,n)):b&&(b.d(1),b=null),C[8].features.videoRotate&&!C[14]&&g.p(C,P),C[8].showSupport&&!C[6]?v?v.p(C,P):(v=Pl(C),v.c(),v.m(e,s)):v&&(v.d(1),v=null),P[0]&4&&Mt(e,"top",C[2]+"px"),P[0]&2&&Mt(e,"left",C[1]+"px"),P[0]&1&&A(e,"hidden",!C[0])},i:H,o:H,d(C){C&&k(e),p&&p.d(),b&&b.d(),g&&g.d(),v&&v.d(),i[30](null),c=!1,qt(f)}}}function Bc(i,e,t){let n,o,s,l,{visible:r=!1}=e,{supportLink:a}=e,{x:c=0}=e,{y:f=0}=e,{playerContainerRef:p=void 0}=e,{controlsContainerRef:b=void 0}=e,{returnFocus:g}=e,v=0,C=0;const P=St(),V=Ki(),I=P.ui.contextMenuVisible,L=P.ui.debugPanelVisible,N=P.webApi.pictureInPictureApi,se=P.webApi.pictureInPictureApi?.info.isActive$;W(i,se,ye=>t(6,l=ye));const U=P.state.chromecastState$;W(i,U,ye=>t(5,s=ye));const K=P.state.isLive$;W(i,K,ye=>t(4,o=ye));const Y=P.state.positionExact$;W(i,Y,ye=>t(31,n=ye));const ae=P.state.isInteractive;let E;const j=(ye,F)=>{if(!E||!p||!b)return;const le=E.getBoundingClientRect(),y=p.getBoundingClientRect();t(1,v=ye-y.left),t(2,C=F-y.top),v+le.width>y.width&&t(1,v=y.width-le.width),C+le.height>y.height&&t(2,C=y.height-le.height),t(1,v=Math.max(v,0)),t(2,C=Math.max(C,0))},ue=()=>{I.set(!1),P.actions.internal.videoRotate()},te=()=>{window.open(a,"_blank"),I.set(!1),P.actions.internal.pause()},q=()=>{const ye=P.actions.internal.getDebugTextData();if(V.features.saveDebugInfoToFile){const F=new Blob([...ye],{type:"plain/text"}),le=window.URL.createObjectURL(F);_a(le,"vk_player_debug_info","txt")}else Yo(P.actions.internal.getDebugTextData());I.set(!1),g?.()},S=()=>{L.set(!0),I.set(!1),g?.()},re=async()=>{try{N?.isActive()?await N?.remove():await N?.request()}finally{I.set(!1),g?.()}},R=(ye=!1)=>{if(P.callbacks?.onCopyVideoLink){const F=P.callbacks?.onCopyVideoLink(ye,n);F&&Yo(F)}I.set(!1)};function Ce(ye){Qn.call(this,i,ye)}const de=()=>R(),G=()=>R(!0);function fe(ye){Me[ye?"unshift":"push"](()=>{E=ye,t(3,E)})}return i.$$set=ye=>{"visible"in ye&&t(0,r=ye.visible),"supportLink"in ye&&t(21,a=ye.supportLink),"x"in ye&&t(22,c=ye.x),"y"in ye&&t(23,f=ye.y),"playerContainerRef"in ye&&t(24,p=ye.playerContainerRef),"controlsContainerRef"in ye&&t(25,b=ye.controlsContainerRef),"returnFocus"in ye&&t(26,g=ye.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&12582912&&j(c,f)},[r,v,C,E,o,s,l,P,V,N,se,U,K,Y,ae,ue,te,q,S,re,R,a,c,f,p,b,g,Ce,de,G,fe]}class Nc extends _e{constructor(e){super(),ve(this,e,Bc,Mc,ge,{visible:0,supportLink:21,x:22,y:23,playerContainerRef:24,controlsContainerRef:25,returnFocus:26},Ic,[-1,-1])}}class Rc{value;next;constructor(e){this.value=e,this.next=null}}class Ro{top;bottom;size;maxSize;constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new Rc(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 zc(i){Ue(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function Dc(i){let e,t;return{c(){e=_("div"),t=_("canvas"),u(t,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,o){w(n,e,o),d(e,t),i[3](t)},p:H,i:H,o:H,d(n){n&&k(e),i[3](null)}}}const zo=16,Do=120,Sl=60;function Oc(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function Hc(i,e,t){let{values:n=[]}=e,o,s;const l=Do/Sl;an(()=>{t(0,o.width=Do,o),t(0,o.height=zo,o),t(2,s=o.getContext("2d"))});function r(a){Me[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&&s){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);s.clearRect(0,0,Do,zo);let c=Sl-1;for(let f=n.length-1;f>=0;f--){const p=c*l,b=a>0?zo*(n[f]/a):0;Oc(s,p,0,l,b),c--}}},[o,n,s,r]}class $o extends _e{constructor(e){super(),ve(this,e,Hc,Dc,ge,{values:1},zc)}}function Fc(i){Ue(i,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function Tl(i){let e,t,n,o,s=i[0].id+"",l;return{c(){e=_("div"),t=_("div"),t.textContent="Video id",n=B(),o=_("span"),l=Fe(s),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){w(r,e,a),d(e,t),d(e,n),d(e,o),d(o,l)},p(r,a){a&1&&s!==(s=r[0].id+"")&&xe(l,s)},d(r){r&&k(e)}}}function Al(i){let e,t,n,o,s=i[0].provider+"",l;return{c(){e=_("div"),t=_("div"),t.textContent="Provider",n=B(),o=_("span"),l=Fe(s),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){w(r,e,a),d(e,t),d(e,n),d(e,o),d(o,l)},p(r,a){a&1&&s!==(s=r[0].provider+"")&&xe(l,s)},d(r){r&&k(e)}}}function El(i){let e,t,n,o,s=i[0].viewport+"",l;return{c(){e=_("div"),t=_("div"),t.textContent="Viewport",n=B(),o=_("span"),l=Fe(s),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){w(r,e,a),d(e,t),d(e,n),d(e,o),d(o,l)},p(r,a){a&1&&s!==(s=r[0].viewport+"")&&xe(l,s)},d(r){r&&k(e)}}}function Il(i){let e,t,n,o,s=i[0].videoSize+"",l;return{c(){e=_("div"),t=_("div"),t.textContent="Video size",n=B(),o=_("span"),l=Fe(s),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){w(r,e,a),d(e,t),d(e,n),d(e,o),d(o,l)},p(r,a){a&1&&s!==(s=r[0].videoSize+"")&&xe(l,s)},d(r){r&&k(e)}}}function Ll(i){let e,t,n,o,s=i[0].cdn+"",l;return{c(){e=_("div"),t=_("div"),t.textContent="CDN host",n=B(),o=_("span"),l=Fe(s),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){w(r,e,a),d(e,t),d(e,n),d(e,o),d(o,l)},p(r,a){a&1&&s!==(s=r[0].cdn+"")&&xe(l,s)},d(r){r&&k(e)}}}function Vl(i){let e,t,n,o,s=i[0].volume+"",l,r;return{c(){e=_("div"),t=_("div"),t.textContent="Volume",n=B(),o=_("span"),l=Fe(s),r=Fe(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){w(a,e,c),d(e,t),d(e,n),d(e,o),d(o,l),d(o,r)},p(a,c){c&1&&s!==(s=a[0].volume+"")&&xe(l,s)},d(a){a&&k(e)}}}function Ml(i){let e,t,n,o,s=i[0].buffer.toFixed(2)+"",l,r;return{c(){e=_("div"),t=_("div"),t.textContent="Buffer",n=B(),o=_("span"),l=Fe(s),r=Fe(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){w(a,e,c),d(e,t),d(e,n),d(e,o),d(o,l),d(o,r)},p(a,c){c&1&&s!==(s=a[0].buffer.toFixed(2)+"")&&xe(l,s)},d(a){a&&k(e)}}}function Bl(i){let e,t,n,o,s,l,r=i[0].speed.toFixed(2)+"",a,c,f;return o=new $o({props:{values:i[5]}}),{c(){e=_("div"),t=_("div"),t.textContent="Network",n=B(),O(o.$$.fragment),s=B(),l=_("span"),a=Fe(r),c=Fe(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(p,b){w(p,e,b),d(e,t),d(e,n),z(o,e,null),d(e,s),d(e,l),d(l,a),d(l,c),f=!0},p(p,b){const g={};b&32&&(g.values=p[5]),o.$set(g),(!f||b&1)&&r!==(r=p[0].speed.toFixed(2)+"")&&xe(a,r)},i(p){f||(m(o.$$.fragment,p),f=!0)},o(p){h(o.$$.fragment,p),f=!1},d(p){p&&k(e),D(o)}}}function Nl(i){let e,t,n,o,s,l,r=i[0].bitrate.toFixed(2)+"",a,c,f;return o=new $o({props:{values:i[6]}}),{c(){e=_("div"),t=_("div"),t.textContent="V bitrate",n=B(),O(o.$$.fragment),s=B(),l=_("span"),a=Fe(r),c=Fe(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(p,b){w(p,e,b),d(e,t),d(e,n),z(o,e,null),d(e,s),d(e,l),d(l,a),d(l,c),f=!0},p(p,b){const g={};b&64&&(g.values=p[6]),o.$set(g),(!f||b&1)&&r!==(r=p[0].bitrate.toFixed(2)+"")&&xe(a,r)},i(p){f||(m(o.$$.fragment,p),f=!0)},o(p){h(o.$$.fragment,p),f=!1},d(p){p&&k(e),D(o)}}}function Uc(i){let e,t,n,o,s,l,r,a,c=i[0].version+"",f,p,b,g,v,C,P,V,I,L,N,se,U,K,Y,ae,E,j,ue,te,q,S,re,R,Ce,de,G,fe,ye,F,le=i[0].id&&Tl(i),y=i[0].provider&&Al(i),ne=i[0].viewport&&El(i),He=i[0].videoSize&&Il(i),Ae=i[0].cdn&&Ll(i),Ve=i[0].volume&&Vl(i),Ee=i[0].buffer&&Ml(i),be=i[0].speed&&Bl(i),Pe=i[0].bitrate&&Nl(i);return R=new $o({props:{values:i[4]}}),{c(){e=_("div"),t=_("button"),t.textContent="[x]",n=B(),o=_("div"),s=_("div"),l=_("div"),l.textContent="Version",r=B(),a=_("span"),f=Fe(c),p=B(),le&&le.c(),b=B(),y&&y.c(),g=B(),ne&&ne.c(),v=B(),He&&He.c(),C=B(),Ae&&Ae.c(),P=B(),Ve&&Ve.c(),V=B(),Ee&&Ee.c(),I=B(),L=_("div"),N=_("div"),N.textContent="Dropped",se=B(),U=_("span"),K=Fe(i[2]),Y=Fe(" / "),ae=Fe(i[1]),E=Fe(" frames"),j=B(),be&&be.c(),ue=B(),Pe&&Pe.c(),te=B(),q=_("div"),S=_("div"),S.textContent="FPS",re=B(),O(R.$$.fragment),Ce=B(),de=_("span"),G=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(s,"class","v-1gy2e68"),u(N,"class","v-1gy2e68"),u(L,"class","v-1gy2e68"),u(S,"class","v-1gy2e68"),u(q,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),A(e,"container-mobile",i[7])},m(ke,J){w(ke,e,J),d(e,t),d(e,n),d(e,o),d(o,s),d(s,l),d(s,r),d(s,a),d(a,f),d(o,p),le&&le.m(o,null),d(o,b),y&&y.m(o,null),d(o,g),ne&&ne.m(o,null),d(o,v),He&&He.m(o,null),d(o,C),Ae&&Ae.m(o,null),d(o,P),Ve&&Ve.m(o,null),d(o,V),Ee&&Ee.m(o,null),d(o,I),d(o,L),d(L,N),d(L,se),d(L,U),d(U,K),d(U,Y),d(U,ae),d(U,E),d(o,j),be&&be.m(o,null),d(o,ue),Pe&&Pe.m(o,null),d(o,te),d(o,q),d(q,S),d(q,re),z(R,q,null),d(q,Ce),d(q,de),d(de,G),fe=!0,ye||(F=Te(t,"click",pt(i[9])),ye=!0)},p(ke,[J]){(!fe||J&1)&&c!==(c=ke[0].version+"")&&xe(f,c),ke[0].id?le?le.p(ke,J):(le=Tl(ke),le.c(),le.m(o,b)):le&&(le.d(1),le=null),ke[0].provider?y?y.p(ke,J):(y=Al(ke),y.c(),y.m(o,g)):y&&(y.d(1),y=null),ke[0].viewport?ne?ne.p(ke,J):(ne=El(ke),ne.c(),ne.m(o,v)):ne&&(ne.d(1),ne=null),ke[0].videoSize?He?He.p(ke,J):(He=Il(ke),He.c(),He.m(o,C)):He&&(He.d(1),He=null),ke[0].cdn?Ae?Ae.p(ke,J):(Ae=Ll(ke),Ae.c(),Ae.m(o,P)):Ae&&(Ae.d(1),Ae=null),ke[0].volume?Ve?Ve.p(ke,J):(Ve=Vl(ke),Ve.c(),Ve.m(o,V)):Ve&&(Ve.d(1),Ve=null),ke[0].buffer?Ee?Ee.p(ke,J):(Ee=Ml(ke),Ee.c(),Ee.m(o,I)):Ee&&(Ee.d(1),Ee=null),(!fe||J&4)&&xe(K,ke[2]),(!fe||J&2)&&xe(ae,ke[1]),ke[0].speed?be?(be.p(ke,J),J&1&&m(be,1)):(be=Bl(ke),be.c(),m(be,1),be.m(o,ue)):be&&(pe(),h(be,1,1,()=>{be=null}),he()),ke[0].bitrate?Pe?(Pe.p(ke,J),J&1&&m(Pe,1)):(Pe=Nl(ke),Pe.c(),m(Pe,1),Pe.m(o,te)):Pe&&(pe(),h(Pe,1,1,()=>{Pe=null}),he());const Z={};J&16&&(Z.values=ke[4]),R.$set(Z),(!fe||J&8)&&xe(G,ke[3]),(!fe||J&128)&&A(e,"container-mobile",ke[7])},i(ke){fe||(m(be),m(Pe),m(R.$$.fragment,ke),fe=!0)},o(ke){h(be),h(Pe),h(R.$$.fragment,ke),fe=!1},d(ke){ke&&k(e),le&&le.d(),y&&y.d(),ne&&ne.d(),He&&He.d(),Ae&&Ae.d(),Ve&&Ve.d(),Ee&&Ee.d(),be&&be.d(),Pe&&Pe.d(),D(R),ye=!1,F()}}}function qc(i,e,t){let n;const o=St(),s=o.ui.debugPanelVisible,l=o.ui.isMobile;W(i,l,L=>t(7,n=L));const r=()=>{ie.safeStorage.remove(Wo),s.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,p=0,b=0;const g=new Ro(60),v=new Ro(60),C=new Ro(60);let P=[],V=[],I=[];return an(()=>{ie.safeStorage.set(Wo,"true"),o.actions.internal.startLogging(),c&&(t(2,p=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const L=window.setInterval(()=>{t(0,a=o.actions.internal.getDebugPanelData())},500);let N;return c&&(N=window.setInterval(()=>{if(c){t(2,p=c.getVideoPlaybackQuality().droppedVideoFrames);const se=c.getVideoPlaybackQuality().totalVideoFrames;t(3,b=se-f),t(1,f=se),g.push(b),a.speed&&v.push(a.speed),a.bitrate&&C.push(a.bitrate),t(4,P=g.getValuesFromBottom()),t(5,V=v.getValuesFromBottom()),t(6,I=C.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(L),N&&clearInterval(N)}}),[a,f,p,b,P,V,I,n,l,r]}class Ua extends _e{constructor(e){super(),ve(this,e,qc,Uc,ge,{},Fc)}}function jc(i){Ue(i,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function Zc(i){let e,t,n;return{c(){e=_("div"),u(e,"class","close v-1ome55p")},m(o,s){w(o,e,s),t||(n=Te(e,"click",pt(i[0])),t=!0)},p:H,i:H,o:H,d(o){o&&k(e),t=!1,n()}}}function Wc(i){function e(t){Qn.call(this,i,t)}return[e]}class Gc extends _e{constructor(e){super(),ve(this,e,Wc,Zc,ge,{},jc)}}function Kc(i){Ue(i,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
|
|
25
|
+
}.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function Yc(i){let e,t,n,o,s,l,r;return{c(){e=_("div"),t=_("canvas"),n=B(),o=M("svg"),s=M("g"),l=M("g"),r=M("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(r,"class","_play"),u(r,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(r,"fill","#fff"),u(l,"fill-rule","nonzero"),u(s,"fill","none"),u(s,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){w(a,e,c),d(e,t),i[2](t),d(e,n),d(e,o),d(o,s),d(s,l),d(l,r)},p:H,i:H,o:H,d(a){a&&k(e),i[2](null)}}}const Qc=5e3;function Xc(i,e,t){let{onTimerEnded:n=ie.noop}=e,o;an(()=>{let l;const r=o.getContext("2d");if(!r)return;r.lineWidth=6,r.lineCap="round",r.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/Qc;f<1?(r.clearRect(0,0,100,100),r.beginPath(),r.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),r.stroke(),l=requestAnimationFrame(c)):n()};return l=requestAnimationFrame(c),()=>{cancelAnimationFrame(l)}});function s(l){Me[l?"unshift":"push"](()=>{o=l,t(0,o)})}return i.$$set=l=>{"onTimerEnded"in l&&t(1,n=l.onTimerEnded)},[o,n,s]}class Jc extends _e{constructor(e){super(),ve(this,e,Xc,Yc,ge,{onTimerEnded:1},Kc)}}function xc(i){Ue(i,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function Rl(i){let e,t;return e=new Jc({props:{onTimerEnded:i[2]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&4&&(s.onTimerEnded=n[2]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function $c(i){let e,t,n,o,s,l,r,a,c,f,p,b,g,v,C,P,V,I,L,N,se;r=new Gc({}),r.$on("click",i[4]);let U=i[3]&&Rl(i);return{c(){e=_("div"),t=B(),n=_("div"),o=_("div"),s=_("div"),s.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",l=B(),O(r.$$.fragment),a=B(),c=_("div"),f=_("div"),p=_("div"),b=_("div"),g=B(),U&&U.c(),C=B(),P=_("div"),V=_("div"),I=Fe(i[0]),u(e,"class","overlay v-kisfwc"),u(s,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(b,"class","thumb-overlay v-kisfwc"),u(p,"class","thumb v-kisfwc"),u(p,"style",v=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(V,"class","title v-kisfwc"),u(P,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(K,Y){w(K,e,Y),w(K,t,Y),w(K,n,Y),d(n,o),d(o,s),d(o,l),z(r,o,null),d(n,a),d(n,c),d(c,f),d(f,p),d(p,b),d(p,g),U&&U.m(p,null),d(c,C),d(c,P),d(P,V),d(V,I),L=!0,N||(se=Te(c,"click",function(){en(i[2])&&i[2].apply(this,arguments)}),N=!0)},p(K,[Y]){i=K,i[3]?U?(U.p(i,Y),Y&8&&m(U,1)):(U=Rl(i),U.c(),m(U,1),U.m(p,null)):U&&(pe(),h(U,1,1,()=>{U=null}),he()),(!L||Y&2&&v!==(v=`background-image: url('${i[1]}')`))&&u(p,"style",v),(!L||Y&1)&&xe(I,i[0])},i(K){L||(m(r.$$.fragment,K),m(U),L=!0)},o(K){h(r.$$.fragment,K),h(U),L=!1},d(K){K&&(k(e),k(t),k(n)),D(r),U&&U.d(),N=!1,se()}}}function ef(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:s}=e,l=!0;const r=()=>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,s=a.playNextVideo)},[n,o,s,l,r]}class tf extends _e{constructor(e){super(),ve(this,e,ef,$c,ge,{title:0,thumb:1,playNextVideo:2},xc)}}const qa=(i,e)=>Math.min(+(i+e).toFixed(2),1),ja=(i,e)=>Math.max(+(i-e).toFixed(2),0),Za=(i,e,t)=>{const n=qa(e,t);e<1&&i.actions.internal.setVolume(n)},Wa=(i,e,t)=>{const n=ja(e,t);e>0&&i.actions.internal.setVolume(n)};function nf(i){Ue(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function of(i){let e,t,n,o;const s=i[20].default,l=Tn(s,i,i[19],null);return{c(){e=_("div"),l&&l.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(r,a){w(r,e,a),l&&l.m(e,null),i[21](e),t=!0,n||(o=[Te(e,"keyup",i[12]),Te(e,"keydown",i[11])],n=!0)},p(r,a){l&&l.p&&(!t||a[0]&524288)&&En(l,s,r,r[19],t?An(s,r[19],a,null):In(r[19]),null)},i(r){t||(m(l,r),t=!0)},o(r){h(l,r),t=!1},d(r){r&&k(e),l&&l.d(r),i[21](null),n=!1,qt(o)}}}function lf(i,e,t){let n,o,s,l,r,a,c,f,p,b,{$$slots:g={},$$scope:v}=e,{isAds:C}=e,{hideContextMenu:P}=e,{toggleFullscreen:V}=e,{showHotKeyHelpers:I}=e,{showKeyMap:L}=e;const N=St(),se=Ki(),U=N.getLogger().createComponentLog("KeyboardControls component"),K=N.state.playbackState$;W(i,K,y=>t(25,o=y));const Y=N.ads.playbackState;W(i,Y,y=>t(24,n=y));const ae=N.state.positionExact$;W(i,ae,y=>t(30,c=y));const E=N.state.duration$;W(i,E,y=>t(29,a=y));const j=N.state.volume$;W(i,j,y=>t(33,b=y));const ue=N.ui.controls.disabledControls$;W(i,ue,y=>t(28,r=y));const te=N.state.muted$;W(i,te,y=>t(27,l=y));const q=N.state.currentSubtitle$;W(i,q,y=>t(26,s=y));const S=N.state.currentPlaybackRate$;W(i,S,y=>t(31,f=y));const re=N.state.availablePlaybackRates$;W(i,re,y=>t(32,p=y));let R=0,Ce=!0,de;const G=()=>de?.focus(),fe=y=>(y!==Ce&&(Ce=y,R=0),R+=1,(se.controls.seekStepKeyboard+se.controls.seekStepKeyboard*R)/1e3),ye=y=>{P();const ne=y.code,He=!Au.has(ne);if(y.ctrlKey&&He||y.altKey&&He||y.metaKey)return;const Ae=o===rt.PlaybackState.PLAYING||o===rt.PlaybackState.PAUSED,Ve=C&&(n===Ft.PAUSED||n===Ft.PLAYING),Ee=!Ve&&!r.has(bt.TIMELINE);if(Ae||Ve)switch(U({message:`key down, code: ${ne}`}),ne){case We.KeyJ:case We.ArrowLeft:{if(!Ee)break;if(y.ctrlKey||y.altKey){const be=N.actions.internal.getPrevEpisode();N.actions.internal.seekToPrevEpisode(be),be&&I({type:Qe.EPISODE_PREV,text:be.text}),y.preventDefault()}else{const be=y.shiftKey?fe(!1):se.controls.seekStepKeyboard/1e3,Pe=Math.max(c-be,0);c>0&&(N.actions.internal.seekTime(Pe,_t.SeekAction.DOUBLE_TAP),I({type:Qe.BACKWARD_SEEK,text:be.toString()}),y.preventDefault())}break}case We.KeyL:case We.ArrowRight:{if(!Ee)break;if(y.ctrlKey||y.altKey){const be=N.actions.internal.getNextEpisode();N.actions.internal.seekToNextEpisode(be),be&&I({type:Qe.EPISODE_NEXT,text:be.text}),y.preventDefault()}else{const be=y.shiftKey?fe(!0):se.controls.seekStepKeyboard/1e3,Pe=Math.min(c+be,a);Math.round(c)<Math.round(a)&&(N.actions.internal.seekTime(Pe,_t.SeekAction.DOUBLE_TAP),I({type:Qe.FORWARD_SEEK,text:be.toString()}),y.preventDefault())}break}case We.ArrowUp:{const be=b,Pe=se.controls.volumeStepKeyboard,ke=be<=1;if(Za(N,be,Pe),ke){const J=Math.round(qa(be,Pe)*100).toString();I({type:Qe.VOLUME,t:{key:"hotkey_helper_current_volume",value:J}})}y.preventDefault();break}case We.ArrowDown:{const be=b,Pe=se.controls.volumeStepKeyboard,ke=be>=0;if(Wa(N,be,Pe),ke){const J=Math.round(ja(be,Pe)*100).toString();I({type:Qe.VOLUME,t:{key:"hotkey_helper_current_volume",value:J}})}y.preventDefault();break}case We.Comma:{if(y.shiftKey){N.actions.internal.decrementPlaybackRate();const be=p.find(Pe=>Pe.value===f);I({type:Qe.RATE_DOWN,text:be?.displayValue}),y.preventDefault()}else{if(Ve||o!==rt.PlaybackState.PAUSED)break;const be=Math.max(c-se.controls.seekStepFrame/1e3,0);c>0&&(I({type:Qe.BACKWARD_SEEK}),N.actions.internal.clearDelayedBufferingCheckTimeout(),N.actions.internal.seekTime(be,_t.SeekAction.DOUBLE_TAP),y.preventDefault())}break}case We.Period:{if(y.shiftKey){N.actions.internal.incrementPlaybackRate();const be=p.find(Pe=>Pe.value===f);I({type:Qe.RATE_UP,text:be?.displayValue}),y.preventDefault()}else{if(Ve||o!==rt.PlaybackState.PAUSED)break;const be=Math.min(c+se.controls.seekStepFrame/1e3,a);c<a&&(I({type:Qe.FORWARD_SEEK}),N.actions.internal.clearDelayedBufferingCheckTimeout(),N.actions.internal.seekTime(be,_t.SeekAction.DOUBLE_TAP),y.preventDefault())}break}case We.KeyK:case We.Space:r.has(bt.PLAY_BUTTON)||(N.actions.internal.togglePlay(),I({type:o===rt.PlaybackState.PLAYING?Qe.PLAY:Qe.STOP})),y.preventDefault();break;case We.KeyM:{I({type:l?Qe.VOLUME:Qe.MUTE}),N.actions.internal.toggleMuted(),y.preventDefault();break}case We.KeyF:V(),y.preventDefault();break;case We.KeyC:N.actions.internal.toggleSubtitle(),s.value!=="off"?I({type:Qe.SUBTITLES_ON,text:s?.displayValue}):I({type:Qe.SUBTITLES_OFF}),y.preventDefault();break;case We.KeyI:N.actions.internal.togglePictureInPicture(),y.preventDefault();break;case We.Digit1:case We.Numpad1:I(),N.actions.internal.seekToPercent(.1,_t.SeekAction.DOUBLE_TAP),y.preventDefault();break;case We.Digit2:case We.Numpad2:I(),N.actions.internal.seekToPercent(.2,_t.SeekAction.DOUBLE_TAP),y.preventDefault();break;case We.Digit3:case We.Numpad3:I(),N.actions.internal.seekToPercent(.3,_t.SeekAction.DOUBLE_TAP),y.preventDefault();break;case We.Digit4:case We.Numpad4:I(),N.actions.internal.seekToPercent(.4,_t.SeekAction.DOUBLE_TAP),y.preventDefault();break;case We.Digit5:case We.Numpad5:I(),N.actions.internal.seekToPercent(.5,_t.SeekAction.DOUBLE_TAP),y.preventDefault();break;case We.Digit6:case We.Numpad6:I(),N.actions.internal.seekToPercent(.6,_t.SeekAction.DOUBLE_TAP),y.preventDefault();break;case We.Digit7:case We.Numpad7:I(),N.actions.internal.seekToPercent(.7,_t.SeekAction.DOUBLE_TAP),y.preventDefault();break;case We.Digit8:case We.Numpad8:I(),N.actions.internal.seekToPercent(.8,_t.SeekAction.DOUBLE_TAP),y.preventDefault();break;case We.Digit9:case We.Numpad9:I(),N.actions.internal.seekToPercent(.9,_t.SeekAction.DOUBLE_TAP),y.preventDefault();break;case We.Digit0:case We.Numpad0:I(),N.actions.internal.seekToPercent(0,_t.SeekAction.DOUBLE_TAP),y.preventDefault();break;case We.Slash:{y.shiftKey&&se.features.hotKeyMapModal&&(L(),y.preventDefault());break}case We.ShiftLeft:case We.ShiftRight:y.preventDefault();break;default:ie.checkNever(ne);break}},F=y=>{const ne=y.code;if(y.ctrlKey||y.altKey||y.metaKey)return;const He=o===rt.PlaybackState.PLAYING||o===rt.PlaybackState.PAUSED,Ae=C&&(n===Ft.PAUSED||n===Ft.PLAYING);if(He||Ae)switch(ne){case We.ShiftLeft:case We.ShiftRight:R=0;break}};function le(y){Me[y?"unshift":"push"](()=>{de=y,t(0,de)})}return i.$$set=y=>{"isAds"in y&&t(13,C=y.isAds),"hideContextMenu"in y&&t(14,P=y.hideContextMenu),"toggleFullscreen"in y&&t(15,V=y.toggleFullscreen),"showHotKeyHelpers"in y&&t(16,I=y.showHotKeyHelpers),"showKeyMap"in y&&t(17,L=y.showKeyMap),"$$scope"in y&&t(19,v=y.$$scope)},[de,K,Y,ae,E,j,ue,te,q,S,re,ye,F,C,P,V,I,L,G,v,g,le]}class sf extends _e{constructor(e){super(),ve(this,e,lf,of,ge,{isAds:13,hideContextMenu:14,toggleFullscreen:15,showHotKeyHelpers:16,showKeyMap:17,focus:18},nf,[-1,-1])}get focus(){return this.$$.ctx[18]}}function rf(i){Ue(i,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function af(i){let e;return{c(){e=_("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){w(t,e,n)},p:H,i:H,o:H,d(t){t&&k(e)}}}class Ga extends _e{constructor(e){super(),ve(this,e,null,af,ge,{},rf)}}function uf(i){let e,t,n,o,s,l,r,a,c,f,p,b,g;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),s=M("defs"),l=M("filter"),r=M("feFlood"),a=M("feColorMatrix"),c=M("feOffset"),f=M("feGaussianBlur"),p=M("feColorMatrix"),b=M("feBlend"),g=M("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(b,"in2","BackgroundImageFix"),u(b,"result","effect1_dropShadow_2422_111980"),u(g,"in","SourceGraphic"),u(g,"in2","effect1_dropShadow_2422_111980"),u(g,"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,C){w(v,e,C),d(e,t),d(t,n),d(t,o),d(e,s),d(s,l),d(l,r),d(l,a),d(l,c),d(l,f),d(l,p),d(l,b),d(l,g)},p:H,i:H,o:H,d(v){v&&k(e)}}}class cf extends _e{constructor(e){super(),ve(this,e,null,uf,ge,{})}}function ff(i){Ue(i,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function df(i){let e,t,n,o,s,l,r,a,c,f;const p=i[9].default,b=Tn(p,i,i[8],null);return{c(){e=_("button"),b&&b.c(),u(e,"class",t="btn "+i[1]+" v-1anemql"),u(e,"style",n=i[2]||null),e.disabled=o=i[3]??null,u(e,"aria-hidden",s=i[5]??null),u(e,"aria-label",l=i[6]??null),u(e,"data-testid",r=i[4]??null)},m(g,v){w(g,e,v),b&&b.m(e,null),i[11](e),a=!0,c||(f=[Te(e,"pointerdown",pt(ri(i[10]))),Te(e,"click",pt(ri(function(){en(i[7])&&i[7].apply(this,arguments)})))],c=!0)},p(g,[v]){i=g,b&&b.p&&(!a||v&256)&&En(b,p,i,i[8],a?An(p,i[8],v,null):In(i[8]),null),(!a||v&2&&t!==(t="btn "+i[1]+" v-1anemql"))&&u(e,"class",t),(!a||v&4&&n!==(n=i[2]||null))&&u(e,"style",n),(!a||v&8&&o!==(o=i[3]??null))&&(e.disabled=o),(!a||v&32&&s!==(s=i[5]??null))&&u(e,"aria-hidden",s),(!a||v&64&&l!==(l=i[6]??null))&&u(e,"aria-label",l),(!a||v&16&&r!==(r=i[4]??null))&&u(e,"data-testid",r)},i(g){a||(m(b,g),a=!0)},o(g){h(b,g),a=!1},d(g){g&&k(e),b&&b.d(g),i[11](null),c=!1,qt(f)}}}function mf(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:s=""}=e,{style:l=""}=e,{disabled:r=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:p=void 0}=e,{click:b=ie.noop}=e;function g(C){Qn.call(this,i,C)}function v(C){Me[C?"unshift":"push"](()=>{p=C,t(0,p)})}return i.$$set=C=>{"className"in C&&t(1,s=C.className),"style"in C&&t(2,l=C.style),"disabled"in C&&t(3,r=C.disabled),"testId"in C&&t(4,a=C.testId),"ariaHidden"in C&&t(5,c=C.ariaHidden),"ariaLabel"in C&&t(6,f=C.ariaLabel),"ref"in C&&t(0,p=C.ref),"click"in C&&t(7,b=C.click),"$$scope"in C&&t(8,o=C.$$scope)},[p,s,l,r,a,c,f,b,o,n,g,v]}class ai extends _e{constructor(e){super(),ve(this,e,mf,df,ge,{className:1,style:2,disabled:3,testId:4,ariaHidden:5,ariaLabel:6,ref:0,click:7},ff)}}function pf(i){Ue(i,"v-1witlsj",".modal-overlay.v-1witlsj{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-1witlsj{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-1witlsj{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-1witlsj{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-1witlsj{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-1witlsj::-webkit-scrollbar{width:8px}.modal-scroll.v-1witlsj::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-1witlsj{margin:-8px -4px 0 0}")}function zl(i){let e,t,n,o,s,l=i[2]&&Dl(i);return{c(){e=_("div"),t=_("h3"),n=Fe(i[3]),o=B(),l&&l.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(r,a){w(r,e,a),d(e,t),d(t,n),d(e,o),l&&l.m(e,null),s=!0},p(r,a){(!s||a&8)&&xe(n,r[3]),r[2]?l?(l.p(r,a),a&4&&m(l,1)):(l=Dl(r),l.c(),m(l,1),l.m(e,null)):l&&(pe(),h(l,1,1,()=>{l=null}),he())},i(r){s||(m(l),s=!0)},o(r){h(l),s=!1},d(r){r&&k(e),l&&l.d()}}}function Dl(i){let e,t;return e=new ai({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:oe("hotkey_map_modal_close_btn_text"),$$slots:{default:[hf]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&1&&(s.click=n[0]),o&32&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function hf(i){let e,t;return e=new cf({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function gf(i){let e,t,n,o,s,l,r=i[1]&&zl(i);const a=i[4].default,c=Tn(a,i,i[5],null);return{c(){e=_("div"),t=_("div"),r&&r.c(),n=B(),o=_("div"),s=_("div"),c&&c.c(),u(s,"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,p){w(f,e,p),d(e,t),r&&r.m(t,null),d(t,n),d(t,o),d(o,s),c&&c.m(s,null),l=!0},p(f,[p]){f[1]?r?(r.p(f,p),p&2&&m(r,1)):(r=zl(f),r.c(),m(r,1),r.m(t,n)):r&&(pe(),h(r,1,1,()=>{r=null}),he()),c&&c.p&&(!l||p&32)&&En(c,a,f,f[5],l?An(a,f[5],p,null):In(f[5]),null)},i(f){l||(m(r),m(c,f),l=!0)},o(f){h(r),h(c,f),l=!1},d(f){f&&k(e),r&&r.d(),c&&c.d(f)}}}function bf(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:s}=e,{showHeader:l=!0}=e,{showCloseCross:r=!0}=e,{title:a}=e;return i.$$set=c=>{"onClose"in c&&t(0,s=c.onClose),"showHeader"in c&&t(1,l=c.showHeader),"showCloseCross"in c&&t(2,r=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[s,l,r,a,n,o]}class vf extends _e{constructor(e){super(),ve(this,e,bf,gf,ge,{onClose:0,showHeader:1,showCloseCross:2,title:3},pf)}}const _f=new Set(["BR"]),Ol=i=>{const e=document.createElement("DIV");e.innerHTML=i;const t=e.querySelectorAll("*");let n=t.length;for(;n--;){const o=t[n],s=o.tagName;_f.has(s)||o.parentElement?.removeChild(o)}return e.innerHTML};function kf(i){Ue(i,"v-quklnq",".hot-key-map.v-quklnq{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-quklnq{border-bottom:1px solid var(--white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-quklnq:last-child{border-bottom:none}.hot-key-map-group-title.v-quklnq{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-quklnq,.hot-key-map-item.v-quklnq{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-quklnq{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-quklnq{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-quklnq{color:var(--white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-quklnq{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-quklnq,.hot-key-map-item-value.v-quklnq{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function Hl(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function Fl(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function Ul(i){let e,t,n=Ol(i[9])+"",o,s,l=i[10]+"",r,a;return{c(){e=_("li"),t=_("span"),o=B(),s=_("span"),r=Fe(l),a=B(),u(t,"class","hot-key-map-item-description v-quklnq"),u(s,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){w(c,e,f),d(e,t),t.innerHTML=n,d(e,o),d(e,s),d(s,r),d(e,a)},p(c,f){f&1&&n!==(n=Ol(c[9])+"")&&(t.innerHTML=n),f&1&&l!==(l=c[10]+"")&&xe(r,l)},d(c){c&&k(e)}}}function ql(i){let e,t,n=i[5]+"",o,s,l,r,a=Ht(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Ul(Fl(i,a,f));return{c(){e=_("div"),t=_("h5"),o=Fe(n),s=B(),l=_("ul");for(let f=0;f<c.length;f+=1)c[f].c();r=B(),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,p){w(f,e,p),d(e,t),d(t,o),d(e,s),d(e,l);for(let b=0;b<c.length;b+=1)c[b]&&c[b].m(l,null);d(e,r)},p(f,p){if(p&1&&n!==(n=f[5]+"")&&xe(o,n),p&1){a=Ht(f[6]);let b;for(b=0;b<a.length;b+=1){const g=Fl(f,a,b);c[b]?c[b].p(g,p):(c[b]=Ul(g),c[b].c(),c[b].m(l,null))}for(;b<c.length;b+=1)c[b].d(1);c.length=a.length}},d(f){f&&k(e),rn(c,f)}}}function wf(i){let e,t=Ht(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=ql(Hl(i,t,o));return{c(){e=_("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,s){w(o,e,s);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,s){if(s&1){t=Ht(o[0].groups);let l;for(l=0;l<t.length;l+=1){const r=Hl(o,t,l);n[l]?n[l].p(r,s):(n[l]=ql(r),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&&k(e),rn(n,o)}}}function yf(i){let e,t;return e=new vf({props:{title:i[0].title,onClose:i[2],$$slots:{default:[wf]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const s={};o&1&&(s.title=n[0].title),o&8193&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Cf(i,e,t){let n;const o=St(),{data:s,show:l}=o.ui.modals.hotKeyMap;return W(i,s,a=>t(0,n=a)),[n,s,()=>{l.set(!1)}]}class Pf extends _e{constructor(e){super(),ve(this,e,Cf,yf,ge,{},kf)}}function Sf(i){Ue(i,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function Tf(i){let e,t;const n=i[1].default,o=Tn(n,i,i[0],null);return{c(){e=_("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(s,l){w(s,e,l),o&&o.m(e,null),t=!0},p(s,[l]){o&&o.p&&(!t||l&1)&&En(o,n,s,s[0],t?An(n,s[0],l,null):In(s[0]),null)},i(s){t||(m(o,s),t=!0)},o(s){h(o,s),t=!1},d(s){s&&k(e),o&&o.d(s)}}}function Af(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=s=>{"$$scope"in s&&t(0,o=s.$$scope)},[o,n]}class Ef extends _e{constructor(e){super(),ve(this,e,Af,Tf,ge,{},Sf)}}function If(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){w(o,e,s),d(e,t),d(e,n)},p:H,i:H,o:H,d(o){o&&k(e)}}}class Lf extends _e{constructor(e){super(),ve(this,e,null,If,ge,{})}}function Vf(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){w(o,e,s),d(e,t),d(e,n)},p:H,i:H,o:H,d(o){o&&k(e)}}}class Mf extends _e{constructor(e){super(),ve(this,e,null,Vf,ge,{})}}function Bf(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class Nf extends _e{constructor(e){super(),ve(this,e,null,Bf,ge,{})}}function Rf(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class Ka extends _e{constructor(e){super(),ve(this,e,null,Rf,ge,{})}}function zf(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){w(o,e,s),d(e,t),d(e,n)},p:H,i:H,o:H,d(o){o&&k(e)}}}class Ya extends _e{constructor(e){super(),ve(this,e,null,zf,ge,{})}}const $n=i=>{switch(i){case rt.VideoQuality.Q_720P:return Nf;case rt.VideoQuality.Q_1080P:return Ka;case rt.VideoQuality.Q_1440P:return Ya;case rt.VideoQuality.Q_2160P:return Lf;case rt.VideoQuality.Q_4320P:return Mf}};function Df(i){Ue(i,"v-15tafwa",".icon.v-15tafwa{position:relative;width:24px;height:24px}.icon.v-15tafwa .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-15tafwa .pillow{right:-13px}")}function Of(i){let e,t,n,o,s,l,r=i[1]&&jl(i);return{c(){e=_("div"),r&&r.c(),t=B(),n=M("svg"),o=M("path"),s=M("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(s,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(s,"fill","#fff"),A(s,"hidden",!!i[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-15tafwa"),u(e,"aria-hidden","true"),A(e,"triple",i[2])},m(a,c){w(a,e,c),r&&r.m(e,null),d(e,t),d(e,n),d(n,o),d(n,s),l=!0},p(a,c){a[1]?r?(r.p(a,c),c&2&&m(r,1)):(r=jl(a),r.c(),m(r,1),r.m(e,t)):r&&(pe(),h(r,1,1,()=>{r=null}),he()),(!l||c&2)&&A(s,"hidden",!!a[1]),(!l||c&4)&&A(e,"triple",a[2])},i(a){l||(m(r),l=!0)},o(a){h(r),l=!1},d(a){a&&k(e),r&&r.d()}}}function Hf(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}function jl(i){let e,t;return e=new Ef({props:{$$slots:{default:[Ff]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&18&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ff(i){let e,t,n;var o=i[1];function s(l){return{}}return o&&(e=vn(o,s())),{c(){e&&O(e.$$.fragment),t=kt()},m(l,r){e&&z(e,l,r),w(l,t,r),n=!0},p(l,r){if(r&2&&o!==(o=l[1])){if(e){pe();const a=e;h(a.$$.fragment,1,0,()=>{D(a,1)}),he()}o?(e=vn(o,s()),O(e.$$.fragment),m(e.$$.fragment,1),z(e,t.parentNode,t)):e=null}},i(l){n||(e&&m(e.$$.fragment,l),n=!0)},o(l){e&&h(e.$$.fragment,l),n=!1},d(l){l&&k(t),e&&D(e,l)}}}function Uf(i){let e,t,n,o;const s=[Hf,Of],l=[];function r(a,c){return a[0]?0:1}return e=r(i),t=l[e]=s[e](i),{c(){t.c(),n=kt()},m(a,c){l[e].m(a,c),w(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(pe(),h(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=s[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){h(t),o=!1},d(a){a&&k(n),l[e].d(a)}}}function qf(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:s=void 0}=e,l;return i.$$set=r=>{"isMobile"in r&&t(0,o=r.isMobile),"currentQuality"in r&&t(3,s=r.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=$n(s)),i.$$.dirty&2&&t(2,l=!!n&&[Ka,Ya].includes(n))},[o,n,l,s]}class Qa extends _e{constructor(e){super(),ve(this,e,qf,Uf,ge,{isMobile:0,currentQuality:3},Df)}}function jf(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class Xa extends _e{constructor(e){super(),ve(this,e,null,jf,ge,{})}}function Zf(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(t,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class Wf extends _e{constructor(e){super(),ve(this,e,null,Zf,ge,{})}}function Gf(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(t,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class Kf extends _e{constructor(e){super(),ve(this,e,null,Gf,ge,{})}}function Yf(i){let e,t,n,o;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(s,l){w(s,e,l),d(e,t),d(t,n),d(t,o)},p:H,i:H,o:H,d(s){s&&k(e)}}}class Qf extends _e{constructor(e){super(),ve(this,e,null,Yf,ge,{})}}function Xf(i){Ue(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function Jf(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),u(t,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(t,"fill",i[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),A(e,"reverted",i[2])},m(o,s){w(o,e,s),d(e,t)},p(o,s){s&1&&u(t,"fill",o[0]),s&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),s&4&&A(e,"reverted",o[2])},d(o){o&&k(e)}}}function xf(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(t,"fill",i[0]),u(t,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),A(e,"reverted",i[2])},m(o,s){w(o,e,s),d(e,t)},p(o,s){s&1&&u(t,"fill",o[0]),s&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),s&4&&A(e,"reverted",o[2])},d(o){o&&k(e)}}}function $f(i){let e;function t(s,l){return s[1]?xf:Jf}let n=t(i),o=n(i);return{c(){o.c(),e=kt()},m(s,l){o.m(s,l),w(s,e,l)},p(s,[l]){n===(n=t(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:H,o:H,d(s){s&&k(e),o.d(s)}}}function e0(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,s,l;return i.$$set=r=>{"direction"in r&&t(3,n=r.direction),"color"in r&&t(0,o=r.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,s=["up","down"].includes(n)),t(2,l=["right","down"].includes(n)))},[o,s,l,n]}class Sn extends _e{constructor(e){super(),ve(this,e,e0,$f,ge,{direction:3,color:0},Xf)}}function t0(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class i0 extends _e{constructor(e){super(),ve(this,e,null,t0,ge,{})}}function n0(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(t,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class mo extends _e{constructor(e){super(),ve(this,e,null,n0,ge,{})}}function o0(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class l0 extends _e{constructor(e){super(),ve(this,e,null,o0,ge,{})}}function s0(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class r0 extends _e{constructor(e){super(),ve(this,e,null,s0,ge,{})}}function a0(i){Ue(i,"v-79x8pk","ul.v-79x8pk.v-79x8pk{margin:0;padding:0}.menu.v-79x8pk.v-79x8pk{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s;overflow:hidden}.container-mobile.v-79x8pk.v-79x8pk{width:100%}.menu-desktop.v-79x8pk.v-79x8pk{position:absolute;right:0;bottom:0}.menu-mobile.v-79x8pk.v-79x8pk{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-79x8pk.v-79x8pk{display:none}.menu-subList.v-79x8pk.v-79x8pk{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-79x8pk.v-79x8pk{min-width:164px}.menu-subList-traffic-saving.v-79x8pk.v-79x8pk{min-width:286px}.item.v-79x8pk.v-79x8pk{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-79x8pk.v-79x8pk{padding:0 14px}.item-quality.item-mobile.v-79x8pk.v-79x8pk,.item-traffic-saving.item-mobile.v-79x8pk.v-79x8pk,.item-helper-text.item-mobile.v-79x8pk.v-79x8pk{flex-direction:row-reverse}.item-helper-text.v-79x8pk.v-79x8pk{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-79x8pk span.v-79x8pk{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-79x8pk.v-79x8pk{padding:7px 14px}.item-helper-text.item-mobile.v-79x8pk span.v-79x8pk{text-align:start}.quality-title-mobile.v-79x8pk.v-79x8pk{flex-grow:1}.item.v-79x8pk.v-79x8pk:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-79x8pk.v-79x8pk:hover{background:var(--mobile-settings-bg)}.menu-subList.v-79x8pk .item.v-79x8pk{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-79x8pk .item.v-79x8pk:last-child{margin-bottom:4px}.menu-icon-wrapper.v-79x8pk.v-79x8pk{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-79x8pk.v-79x8pk{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-79x8pk.v-79x8pk{position:relative;opacity:0.7}.menu-valueIcon.v-79x8pk.v-79x8pk{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-79x8pk.v-79x8pk{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-79x8pk svg,.menu-valueIcon-list.v-79x8pk svg{color:var(--blue-light)}.menu-divider.v-79x8pk.v-79x8pk{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-79x8pk.v-79x8pk{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-79x8pk.v-79x8pk{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar{width:8px}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-79x8pk.v-79x8pk{overflow-y:auto;max-height:160px;text-align:left}.close.v-79x8pk.v-79x8pk{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-79x8pk.v-79x8pk:before,.close.v-79x8pk.v-79x8pk:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-79x8pk.v-79x8pk:before{transform:rotate(45deg)}.close.v-79x8pk.v-79x8pk:after{transform:rotate(-45deg)}")}function Zl(i,e,t){const n=i.slice();return n[83]=e[t],n}function Wl(i,e,t){const n=i.slice();return n[86]=e[t],n}function Gl(i,e,t){const n=i.slice();return n[89]=e[t],n}function Kl(i){let e,t,n,o,s,l,r,a;return{c(){e=_("div"),t=_("div"),t.textContent=`${oe("submenu_settings")}`,n=B(),o=_("div"),s=B(),l=_("div"),u(o,"class","close v-79x8pk"),u(e,"class","item menu-header v-79x8pk"),A(e,"item-mobile",i[4]),u(l,"class","menu-divider v-79x8pk")},m(c,f){w(c,e,f),d(e,t),d(e,n),d(e,o),w(c,s,f),w(c,l,f),r||(a=Te(o,"click",pt(i[44])),r=!0)},p(c,f){f[0]&16&&A(e,"item-mobile",c[4])},d(c){c&&(k(e),k(s),k(l)),r=!1,a()}}}function Yl(i){let e,t,n,o,s,l,r,a,c,f,p,b;n=new Qa({});let g=i[21]&&!i[4]&&Ql(i);return{c(){e=_("li"),t=_("div"),O(n.$$.fragment),o=B(),s=_("div"),s.textContent=`${oe("menu_quality")}`,l=B(),r=_("div"),a=Fe(i[12]),c=B(),g&&g.c(),u(t,"class","menu-icon-wrapper v-79x8pk"),u(s,"class","menu-title v-79x8pk"),u(r,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),A(e,"item-mobile",i[4])},m(v,C){w(v,e,C),d(e,t),z(n,t,null),d(e,o),d(e,s),d(e,l),d(e,r),d(r,a),d(r,c),g&&g.m(r,null),f=!0,p||(b=Te(e,"click",pt(i[45])),p=!0)},p(v,C){(!f||C[0]&4096)&&xe(a,v[12]),v[21]&&!v[4]?g?(g.p(v,C),C[0]&2097168&&m(g,1)):(g=Ql(v),g.c(),m(g,1),g.m(r,null)):g&&(pe(),h(g,1,1,()=>{g=null}),he()),(!f||C[0]&16)&&A(e,"item-mobile",v[4])},i(v){f||(m(n.$$.fragment,v),m(g),f=!0)},o(v){h(n.$$.fragment,v),h(g),f=!1},d(v){v&&k(e),D(n),g&&g.d(),p=!1,b()}}}function Ql(i){let e,t,n;var o=i[21];function s(l){return{}}return o&&(t=vn(o,s())),{c(){e=_("div"),t&&O(t.$$.fragment),u(e,"class","menu-valueIcon v-79x8pk")},m(l,r){w(l,e,r),t&&z(t,e,null),n=!0},p(l,r){if(r[0]&2097152&&o!==(o=l[21])){if(t){pe();const a=t;h(a.$$.fragment,1,0,()=>{D(a,1)}),he()}o?(t=vn(o,s()),O(t.$$.fragment),m(t.$$.fragment,1),z(t,e,null)):t=null}},i(l){n||(t&&m(t.$$.fragment,l),n=!0)},o(l){t&&h(t.$$.fragment,l),n=!1},d(l){l&&k(e),t&&D(t)}}}function Xl(i){let e,t,n,o,s,l,r,a,c,f,p,b;return n=new Qf({}),{c(){e=_("li"),t=_("div"),O(n.$$.fragment),o=B(),s=_("div"),s.textContent=`${oe("menu_playback_rate")}`,l=B(),r=_("div"),a=Fe(i[22]),c=Fe("x"),u(t,"class","menu-icon-wrapper v-79x8pk"),u(s,"class","menu-title v-79x8pk"),u(r,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),A(e,"item-mobile",i[4])},m(g,v){w(g,e,v),d(e,t),z(n,t,null),d(e,o),d(e,s),d(e,l),d(e,r),d(r,a),d(r,c),f=!0,p||(b=Te(e,"click",pt(i[49])),p=!0)},p(g,v){(!f||v[0]&4194304)&&xe(a,g[22]),(!f||v[0]&16)&&A(e,"item-mobile",g[4])},i(g){f||(m(n.$$.fragment,g),f=!0)},o(g){h(n.$$.fragment,g),f=!1},d(g){g&&k(e),D(n),p=!1,b()}}}function Jl(i){let e,t,n,o,s,l,r,a=i[23].displayValue+"",c,f,p,b;return n=new Xa({}),{c(){e=_("li"),t=_("div"),O(n.$$.fragment),o=B(),s=_("div"),s.textContent=`${oe("subtitles_caption")}`,l=B(),r=_("div"),c=Fe(a),u(t,"class","menu-icon-wrapper v-79x8pk"),u(s,"class","menu-title v-79x8pk"),u(r,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),A(e,"item-mobile",i[4])},m(g,v){w(g,e,v),d(e,t),z(n,t,null),d(e,o),d(e,s),d(e,l),d(e,r),d(r,c),f=!0,p||(b=Te(e,"click",pt(i[51])),p=!0)},p(g,v){(!f||v[0]&8388608)&&a!==(a=g[23].displayValue+"")&&xe(c,a),(!f||v[0]&16)&&A(e,"item-mobile",g[4])},i(g){f||(m(n.$$.fragment,g),f=!0)},o(g){h(n.$$.fragment,g),f=!1},d(g){g&&k(e),D(n),p=!1,b()}}}function xl(i){let e,t,n,o,s,l,r,a=(i[24]?oe("traffic_saving_on"):oe("traffic_saving_off"))+"",c,f,p,b;return n=new Kf({}),{c(){e=_("li"),t=_("div"),O(n.$$.fragment),o=B(),s=_("div"),s.textContent=`${oe("menu_traffic_saving")}`,l=B(),r=_("div"),c=Fe(a),u(t,"class","menu-icon-wrapper v-79x8pk"),u(s,"class","menu-title v-79x8pk"),u(r,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),A(e,"item-mobile",i[4])},m(g,v){w(g,e,v),d(e,t),z(n,t,null),d(e,o),d(e,s),d(e,l),d(e,r),d(r,c),f=!0,p||(b=Te(e,"click",pt(i[46])),p=!0)},p(g,v){(!f||v[0]&16777216)&&a!==(a=(g[24]?oe("traffic_saving_on"):oe("traffic_saving_off"))+"")&&xe(c,a),(!f||v[0]&16)&&A(e,"item-mobile",g[4])},i(g){f||(m(n.$$.fragment,g),f=!0)},o(g){h(n.$$.fragment,g),f=!1},d(g){g&&k(e),D(n),p=!1,b()}}}function $l(i){let e,t,n,o,s,l,r,a;return n=new Wf({}),{c(){e=_("li"),t=_("div"),O(n.$$.fragment),o=B(),s=_("div"),s.textContent=`${oe("download_video_caption")}`,u(t,"class","menu-icon-wrapper v-79x8pk"),u(s,"class","menu-title v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),A(e,"item-mobile",i[4])},m(c,f){w(c,e,f),d(e,t),z(n,t,null),d(e,o),d(e,s),l=!0,r||(a=Te(e,"click",pt(i[54])),r=!0)},p(c,f){(!l||f[0]&16)&&A(e,"item-mobile",c[4])},i(c){l||(m(n.$$.fragment,c),l=!0)},o(c){h(n.$$.fragment,c),l=!1},d(c){c&&k(e),D(n),r=!1,a()}}}function es(i){let e,t,n,o,s,l,r,a,c,f,p,b,g,v,C,P=i[26].showSupport&&u0(i);return o=new l0({}),f=new r0({}),{c(){P&&P.c(),e=B(),t=_("li"),n=_("div"),O(o.$$.fragment),s=B(),l=_("div"),l.textContent=`${oe("menu_copy_debug")}`,r=B(),a=_("li"),c=_("div"),O(f.$$.fragment),p=B(),b=_("div"),b.textContent=`${oe("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(t,"class","item item-mobile v-79x8pk"),u(t,"role","menuitemradio"),u(t,"tabindex","0"),u(c,"class","menu-icon-wrapper v-79x8pk"),u(b,"class","menu-title v-79x8pk"),u(a,"class","item item-mobile v-79x8pk"),u(a,"role","menuitemradio"),u(a,"tabindex","0")},m(V,I){P&&P.m(V,I),w(V,e,I),w(V,t,I),d(t,n),z(o,n,null),d(t,s),d(t,l),w(V,r,I),w(V,a,I),d(a,c),z(f,c,null),d(a,p),d(a,b),g=!0,v||(C=[Te(t,"click",pt(i[56])),Te(a,"click",pt(i[57]))],v=!0)},p(V,I){V[26].showSupport&&P.p(V,I)},i(V){g||(m(P),m(o.$$.fragment,V),m(f.$$.fragment,V),g=!0)},o(V){h(P),h(o.$$.fragment,V),h(f.$$.fragment,V),g=!1},d(V){V&&(k(e),k(t),k(r),k(a)),P&&P.d(V),D(o),D(f),v=!1,qt(C)}}}function u0(i){let e,t,n,o,s,l,r,a;return n=new i0({}),{c(){e=_("li"),t=_("div"),O(n.$$.fragment),o=B(),s=_("div"),s.textContent=`${oe("menu_report")}`,u(t,"class","menu-icon-wrapper v-79x8pk"),u(s,"class","menu-title v-79x8pk"),u(e,"class","item item-mobile v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0")},m(c,f){w(c,e,f),d(e,t),z(n,t,null),d(e,o),d(e,s),l=!0,r||(a=Te(e,"click",pt(i[55])),r=!0)},p:H,i(c){l||(m(n.$$.fragment,c),l=!0)},o(c){h(n.$$.fragment,c),l=!1},d(c){c&&k(e),D(n),r=!1,a()}}}function ts(i){let e,t,n;return t=new mo({}),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,s){w(o,e,s),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function is(i){let e,t,n;var o=$n(i[89].value);function s(l){return{}}return o&&(t=vn(o,s())),{c(){e=_("div"),t&&O(t.$$.fragment),u(e,"class","menu-valueIcon-list v-79x8pk")},m(l,r){w(l,e,r),t&&z(t,e,null),n=!0},p(l,r){if(r[0]&32&&o!==(o=$n(l[89].value))){if(t){pe();const a=t;h(a.$$.fragment,1,0,()=>{D(a,1)}),he()}o?(t=vn(o,s()),O(t.$$.fragment),m(t.$$.fragment,1),z(t,e,null)):t=null}},i(l){n||(t&&m(t.$$.fragment,l),n=!0)},o(l){t&&h(t.$$.fragment,l),n=!1},d(l){l&&k(e),t&&D(t)}}}function ns(i){let e,t,n,o=i[89].displayValue+"",s,l,r=!i[4]&&$n(i[89].value),a,c,f,p,b,g=i[89].selected&&ts(),v=r&&is(i);function C(){return i[71](i[89])}return{c(){e=_("li"),g&&g.c(),t=B(),n=_("div"),s=Fe(o),l=B(),v&&v.c(),a=B(),u(n,"class","v-79x8pk"),A(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",c=i[89].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),A(e,"item-mobile",i[4])},m(P,V){w(P,e,V),g&&g.m(e,null),d(e,t),d(e,n),d(n,s),d(e,l),v&&v.m(e,null),d(e,a),f=!0,p||(b=Te(e,"click",pt(C)),p=!0)},p(P,V){i=P,i[89].selected?g?V[0]&32&&m(g,1):(g=ts(),g.c(),m(g,1),g.m(e,t)):g&&(pe(),h(g,1,1,()=>{g=null}),he()),(!f||V[0]&32)&&o!==(o=i[89].displayValue+"")&&xe(s,o),(!f||V[0]&16)&&A(n,"quality-title-mobile",i[4]),V[0]&48&&(r=!i[4]&&$n(i[89].value)),r?v?(v.p(i,V),V[0]&48&&m(v,1)):(v=is(i),v.c(),m(v,1),v.m(e,a)):v&&(pe(),h(v,1,1,()=>{v=null}),he()),(!f||V[0]&32&&c!==(c=i[89].value))&&u(e,"data-value",c),(!f||V[0]&16)&&A(e,"item-mobile",i[4])},i(P){f||(m(g),m(v),f=!0)},o(P){h(g),h(v),f=!1},d(P){P&&k(e),g&&g.d(),v&&v.d(),p=!1,b()}}}function os(i){let e,t,n;return t=new mo({}),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,s){w(o,e,s),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function ls(i){let e,t,n,o=i[86].displayValue+"",s,l,r,a,c,f,p=i[86].selected&&os();function b(){return i[73](i[86])}return{c(){e=_("li"),p&&p.c(),t=B(),n=_("div"),s=Fe(o),l=B(),u(n,"class","v-79x8pk"),A(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",r=i[86].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),A(e,"item-mobile",i[4])},m(g,v){w(g,e,v),p&&p.m(e,null),d(e,t),d(e,n),d(n,s),d(e,l),a=!0,c||(f=Te(e,"click",pt(b)),c=!0)},p(g,v){i=g,i[86].selected?p?v[0]&33554432&&m(p,1):(p=os(),p.c(),m(p,1),p.m(e,t)):p&&(pe(),h(p,1,1,()=>{p=null}),he()),(!a||v[0]&33554432)&&o!==(o=i[86].displayValue+"")&&xe(s,o),(!a||v[0]&16)&&A(n,"quality-title-mobile",i[4]),(!a||v[0]&33554432&&r!==(r=i[86].value))&&u(e,"data-value",r),(!a||v[0]&16)&&A(e,"item-mobile",i[4])},i(g){a||(m(p),a=!0)},o(g){h(p),a=!1},d(g){g&&k(e),p&&p.d(),c=!1,f()}}}function ss(i){let e,t,n;return t=new mo({}),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,s){w(o,e,s),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function rs(i){let e,t,n;return t=new mo({}),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,s){w(o,e,s),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function as(i){let e,t,n;return t=new mo({}),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,s){w(o,e,s),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function us(i){let e,t,n,o=i[83].displayValue+"",s,l,r,a,c,f,p=i[83].selected&&as();function b(){return i[77](i[83])}return{c(){e=_("li"),p&&p.c(),t=B(),n=_("div"),s=Fe(o),l=B(),u(n,"class","v-79x8pk"),A(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",r=i[83].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),A(e,"item-mobile",i[4])},m(g,v){w(g,e,v),p&&p.m(e,null),d(e,t),d(e,n),d(n,s),d(e,l),a=!0,c||(f=Te(e,"click",pt(b)),c=!0)},p(g,v){i=g,i[83].selected?p?v[0]&8&&m(p,1):(p=as(),p.c(),m(p,1),p.m(e,t)):p&&(pe(),h(p,1,1,()=>{p=null}),he()),(!a||v[0]&8)&&o!==(o=i[83].displayValue+"")&&xe(s,o),(!a||v[0]&16)&&A(n,"quality-title-mobile",i[4]),(!a||v[0]&8&&r!==(r=i[83].value))&&u(e,"data-value",r),(!a||v[0]&16)&&A(e,"item-mobile",i[4])},i(g){a||(m(p),a=!0)},o(g){h(p),a=!1},d(g){g&&k(e),p&&p.d(),c=!1,f()}}}function c0(i){let e,t,n,o,s,l,r,a,c,f,p,b,g,v,C,P,V,I,L,N,se,U,K,Y,ae,E,j,ue,te,q,S,re,R,Ce,de,G,fe,ye,F,le,y,ne,He,Ae,Ve,Ee,be,Pe,ke,J,Z,Ze,$e,tt,qe,at,mt,Bt,gt,Ne,nt,$,ct=i[4]&&Kl(i),ot=i[20]&&Yl(i),et=i[19]&&Xl(i),Xe=i[18]&&Jl(i),ut=i[17]&&xl(i),st=i[16]&&$l(i),ft=i[4]&&es(i);g=new Sn({props:{direction:"left"}});let Tt=Ht(i[5]),it=[];for(let me=0;me<Tt.length;me+=1)it[me]=ns(Gl(i,Tt,me));const jt=me=>h(it[me],1,1,()=>{it[me]=null});K=new Sn({props:{direction:"left"}});let At=Ht(i[25]),Je=[];for(let me=0;me<At.length;me+=1)Je[me]=ls(Wl(i,At,me));const ei=me=>h(Je[me],1,1,()=>{Je[me]=null});R=new Sn({props:{direction:"left"}});let vt=!i[24]&&ss(),ht=i[24]&&rs();qe=new Sn({props:{direction:"left"}});let Lt=Ht(i[3]),dt=[];for(let me=0;me<Lt.length;me+=1)dt[me]=us(Zl(i,Lt,me));const ti=me=>h(dt[me],1,1,()=>{dt[me]=null});return{c(){e=_("div"),t=_("div"),ct&&ct.c(),n=B(),o=_("ul"),ot&&ot.c(),s=B(),et&&et.c(),l=B(),Xe&&Xe.c(),r=B(),ut&&ut.c(),a=B(),st&&st.c(),c=B(),ft&&ft.c(),f=B(),p=_("div"),b=_("div"),O(g.$$.fragment),v=B(),C=_("div"),C.textContent=`${oe("submenu_quality")}`,P=B(),V=_("div"),I=B(),L=_("ul");for(let me=0;me<it.length;me+=1)it[me].c();N=B(),se=_("div"),U=_("div"),O(K.$$.fragment),Y=B(),ae=_("div"),ae.textContent=`${oe("submenu_playback_rate")}`,E=B(),j=_("div"),ue=B(),te=_("ul");for(let me=0;me<Je.length;me+=1)Je[me].c();q=B(),S=_("div"),re=_("div"),O(R.$$.fragment),Ce=B(),de=_("div"),de.textContent=`${oe("submenu_traffic_saving")}`,G=B(),fe=_("div"),ye=B(),F=_("ul"),le=_("li"),vt&&vt.c(),y=B(),ne=_("div"),ne.textContent=`${oe("traffic_saving_disable")}`,He=B(),Ae=_("li"),ht&&ht.c(),Ve=B(),Ee=_("div"),Ee.textContent=`${oe("traffic_saving_enable")}`,be=B(),Pe=_("div"),ke=B(),J=_("div"),Z=_("span"),Z.textContent=`${oe("traffic_saving_helper_text")}`,Ze=B(),$e=_("div"),tt=_("div"),O(qe.$$.fragment),at=B(),mt=_("div"),mt.textContent=`${oe("subtitles_caption")}`,Bt=B(),gt=_("ul");for(let me=0;me<dt.length;me+=1)dt[me].c();u(o,"class","items v-79x8pk"),A(o,"items-mobile",i[4]),u(t,"class","menu v-79x8pk"),u(t,"role","menu"),A(t,"menu-desktop",!i[4]),A(t,"menu-mobile",i[4]),A(t,"hidden",!i[7]),u(b,"class","item menu-header v-79x8pk"),A(b,"item-mobile",i[4]),u(V,"class","menu-divider v-79x8pk"),u(L,"class","items v-79x8pk"),u(L,"style",i[13]),A(L,"items-mobile",i[4]),u(p,"class","menu menu-subList v-79x8pk"),A(p,"menu-desktop",!i[4]),A(p,"menu-mobile",i[4]),A(p,"hidden",!i[8]),u(U,"class","item menu-header v-79x8pk"),A(U,"item-mobile",i[4]),u(j,"class","menu-divider v-79x8pk"),u(te,"class","items v-79x8pk"),u(te,"style",i[14]),A(te,"items-mobile",i[4]),u(se,"class","menu menu-subList v-79x8pk"),A(se,"menu-desktop",!i[4]),A(se,"menu-mobile",i[4]),A(se,"hidden",!i[9]),u(re,"class","item menu-header v-79x8pk"),A(re,"item-mobile",i[4]),u(fe,"class","menu-divider v-79x8pk"),u(ne,"class","v-79x8pk"),A(ne,"quality-title-mobile",i[4]),u(le,"class","item item-traffic-saving v-79x8pk"),u(le,"role","menuitemradio"),u(le,"tabindex","0"),A(le,"item-mobile",i[4]),u(Ee,"class","v-79x8pk"),A(Ee,"quality-title-mobile",i[4]),u(Ae,"class","item item-traffic-saving v-79x8pk"),u(Ae,"role","menuitemradio"),u(Ae,"tabindex","0"),A(Ae,"item-mobile",i[4]),u(F,"class","items v-79x8pk"),u(F,"style",i[15]),A(F,"items-mobile",i[4]),u(Pe,"class","menu-divider v-79x8pk"),u(Z,"class","v-79x8pk"),u(J,"class","item item-helper-text v-79x8pk"),A(J,"item-mobile",i[4]),u(S,"class","menu menu-subList menu-subList-traffic-saving v-79x8pk"),A(S,"menu-desktop",!i[4]),A(S,"menu-mobile",i[4]),A(S,"hidden",!i[11]),u(tt,"class","item menu-header v-79x8pk"),A(tt,"item-mobile",i[4]),u(gt,"class","items v-79x8pk"),A(gt,"items-mobile",i[4]),u($e,"class","menu menu-subList menu-subList-subtitles v-79x8pk"),A($e,"menu-desktop",!i[4]),A($e,"menu-mobile",i[4]),A($e,"hidden",!i[10]),u(e,"class","v-79x8pk"),A(e,"hidden",!i[6]),A(e,"container-mobile",i[4])},m(me,we){w(me,e,we),d(e,t),ct&&ct.m(t,null),d(t,n),d(t,o),ot&&ot.m(o,null),d(o,s),et&&et.m(o,null),d(o,l),Xe&&Xe.m(o,null),d(o,r),ut&&ut.m(o,null),d(o,a),st&&st.m(o,null),d(o,c),ft&&ft.m(o,null),d(e,f),d(e,p),d(p,b),z(g,b,null),d(b,v),d(b,C),i[70](b),d(p,P),d(p,V),d(p,I),d(p,L);for(let Le=0;Le<it.length;Le+=1)it[Le]&&it[Le].m(L,null);d(e,N),d(e,se),d(se,U),z(K,U,null),d(U,Y),d(U,ae),i[72](U),d(se,E),d(se,j),d(se,ue),d(se,te);for(let Le=0;Le<Je.length;Le+=1)Je[Le]&&Je[Le].m(te,null);d(e,q),d(e,S),d(S,re),z(R,re,null),d(re,Ce),d(re,de),i[74](re),d(S,G),d(S,fe),d(S,ye),d(S,F),d(F,le),vt&&vt.m(le,null),d(le,y),d(le,ne),d(F,He),d(F,Ae),ht&&ht.m(Ae,null),d(Ae,Ve),d(Ae,Ee),d(S,be),d(S,Pe),d(S,ke),d(S,J),d(J,Z),d(e,Ze),d(e,$e),d($e,tt),z(qe,tt,null),d(tt,at),d(tt,mt),d($e,Bt),d($e,gt);for(let Le=0;Le<dt.length;Le+=1)dt[Le]&&dt[Le].m(gt,null);Ne=!0,nt||($=[Te(b,"click",pt(i[53])),Te(U,"click",pt(i[53])),Te(re,"click",pt(i[53])),Te(le,"click",pt(i[75])),Te(Ae,"click",pt(i[76])),Te(tt,"click",pt(i[53]))],nt=!0)},p(me,we){if(me[4]?ct?ct.p(me,we):(ct=Kl(me),ct.c(),ct.m(t,n)):ct&&(ct.d(1),ct=null),me[20]?ot?(ot.p(me,we),we[0]&1048576&&m(ot,1)):(ot=Yl(me),ot.c(),m(ot,1),ot.m(o,s)):ot&&(pe(),h(ot,1,1,()=>{ot=null}),he()),me[19]?et?(et.p(me,we),we[0]&524288&&m(et,1)):(et=Xl(me),et.c(),m(et,1),et.m(o,l)):et&&(pe(),h(et,1,1,()=>{et=null}),he()),me[18]?Xe?(Xe.p(me,we),we[0]&262144&&m(Xe,1)):(Xe=Jl(me),Xe.c(),m(Xe,1),Xe.m(o,r)):Xe&&(pe(),h(Xe,1,1,()=>{Xe=null}),he()),me[17]?ut?(ut.p(me,we),we[0]&131072&&m(ut,1)):(ut=xl(me),ut.c(),m(ut,1),ut.m(o,a)):ut&&(pe(),h(ut,1,1,()=>{ut=null}),he()),me[16]?st?(st.p(me,we),we[0]&65536&&m(st,1)):(st=$l(me),st.c(),m(st,1),st.m(o,c)):st&&(pe(),h(st,1,1,()=>{st=null}),he()),me[4]?ft?(ft.p(me,we),we[0]&16&&m(ft,1)):(ft=es(me),ft.c(),m(ft,1),ft.m(o,null)):ft&&(pe(),h(ft,1,1,()=>{ft=null}),he()),(!Ne||we[0]&16)&&A(o,"items-mobile",me[4]),(!Ne||we[0]&16)&&A(t,"menu-desktop",!me[4]),(!Ne||we[0]&16)&&A(t,"menu-mobile",me[4]),(!Ne||we[0]&128)&&A(t,"hidden",!me[7]),(!Ne||we[0]&16)&&A(b,"item-mobile",me[4]),we[0]&48|we[1]&65536){Tt=Ht(me[5]);let Le;for(Le=0;Le<Tt.length;Le+=1){const Ct=Gl(me,Tt,Le);it[Le]?(it[Le].p(Ct,we),m(it[Le],1)):(it[Le]=ns(Ct),it[Le].c(),m(it[Le],1),it[Le].m(L,null))}for(pe(),Le=Tt.length;Le<it.length;Le+=1)jt(Le);he()}if((!Ne||we[0]&8192)&&u(L,"style",me[13]),(!Ne||we[0]&16)&&A(L,"items-mobile",me[4]),(!Ne||we[0]&16)&&A(p,"menu-desktop",!me[4]),(!Ne||we[0]&16)&&A(p,"menu-mobile",me[4]),(!Ne||we[0]&256)&&A(p,"hidden",!me[8]),(!Ne||we[0]&16)&&A(U,"item-mobile",me[4]),we[0]&33554448|we[1]&524288){At=Ht(me[25]);let Le;for(Le=0;Le<At.length;Le+=1){const Ct=Wl(me,At,Le);Je[Le]?(Je[Le].p(Ct,we),m(Je[Le],1)):(Je[Le]=ls(Ct),Je[Le].c(),m(Je[Le],1),Je[Le].m(te,null))}for(pe(),Le=At.length;Le<Je.length;Le+=1)ei(Le);he()}if((!Ne||we[0]&16384)&&u(te,"style",me[14]),(!Ne||we[0]&16)&&A(te,"items-mobile",me[4]),(!Ne||we[0]&16)&&A(se,"menu-desktop",!me[4]),(!Ne||we[0]&16)&&A(se,"menu-mobile",me[4]),(!Ne||we[0]&512)&&A(se,"hidden",!me[9]),(!Ne||we[0]&16)&&A(re,"item-mobile",me[4]),me[24]?vt&&(pe(),h(vt,1,1,()=>{vt=null}),he()):vt?we[0]&16777216&&m(vt,1):(vt=ss(),vt.c(),m(vt,1),vt.m(le,y)),(!Ne||we[0]&16)&&A(ne,"quality-title-mobile",me[4]),(!Ne||we[0]&16)&&A(le,"item-mobile",me[4]),me[24]?ht?we[0]&16777216&&m(ht,1):(ht=rs(),ht.c(),m(ht,1),ht.m(Ae,Ve)):ht&&(pe(),h(ht,1,1,()=>{ht=null}),he()),(!Ne||we[0]&16)&&A(Ee,"quality-title-mobile",me[4]),(!Ne||we[0]&16)&&A(Ae,"item-mobile",me[4]),(!Ne||we[0]&32768)&&u(F,"style",me[15]),(!Ne||we[0]&16)&&A(F,"items-mobile",me[4]),(!Ne||we[0]&16)&&A(J,"item-mobile",me[4]),(!Ne||we[0]&16)&&A(S,"menu-desktop",!me[4]),(!Ne||we[0]&16)&&A(S,"menu-mobile",me[4]),(!Ne||we[0]&2048)&&A(S,"hidden",!me[11]),(!Ne||we[0]&16)&&A(tt,"item-mobile",me[4]),we[0]&24|we[1]&2097152){Lt=Ht(me[3]);let Le;for(Le=0;Le<Lt.length;Le+=1){const Ct=Zl(me,Lt,Le);dt[Le]?(dt[Le].p(Ct,we),m(dt[Le],1)):(dt[Le]=us(Ct),dt[Le].c(),m(dt[Le],1),dt[Le].m(gt,null))}for(pe(),Le=Lt.length;Le<dt.length;Le+=1)ti(Le);he()}(!Ne||we[0]&16)&&A(gt,"items-mobile",me[4]),(!Ne||we[0]&16)&&A($e,"menu-desktop",!me[4]),(!Ne||we[0]&16)&&A($e,"menu-mobile",me[4]),(!Ne||we[0]&1024)&&A($e,"hidden",!me[10]),(!Ne||we[0]&64)&&A(e,"hidden",!me[6]),(!Ne||we[0]&16)&&A(e,"container-mobile",me[4])},i(me){if(!Ne){m(ot),m(et),m(Xe),m(ut),m(st),m(ft),m(g.$$.fragment,me);for(let we=0;we<Tt.length;we+=1)m(it[we]);m(K.$$.fragment,me);for(let we=0;we<At.length;we+=1)m(Je[we]);m(R.$$.fragment,me),m(vt),m(ht),m(qe.$$.fragment,me);for(let we=0;we<Lt.length;we+=1)m(dt[we]);Ne=!0}},o(me){h(ot),h(et),h(Xe),h(ut),h(st),h(ft),h(g.$$.fragment,me),it=it.filter(Boolean);for(let we=0;we<it.length;we+=1)h(it[we]);h(K.$$.fragment,me),Je=Je.filter(Boolean);for(let we=0;we<Je.length;we+=1)h(Je[we]);h(R.$$.fragment,me),h(vt),h(ht),h(qe.$$.fragment,me),dt=dt.filter(Boolean);for(let we=0;we<dt.length;we+=1)h(dt[we]);Ne=!1},d(me){me&&k(e),ct&&ct.d(),ot&&ot.d(),et&&et.d(),Xe&&Xe.d(),ut&&ut.d(),st&&st.d(),ft&&ft.d(),D(g),i[70](null),rn(it,me),D(K),i[72](null),rn(Je,me),D(R),i[74](null),vt&&vt.d(),ht&&ht.d(),D(qe),rn(dt,me),nt=!1,qt($)}}}const Oo=18;function f0(i,e,t){let n,o,s,l,r,a,c,f,p,b,g,v,C,P,V,I,L,N,{supportLink:se}=e,{playerControlsHeight:U=0}=e,{returnFocus:K}=e;const Y=St(),ae=Ki(),E=Y.state.currentQuality$;W(i,E,Ie=>t(69,C=Ie));const j=Y.state.availableQualities$;W(i,j,Ie=>t(5,v=Ie));const ue=Y.state.autoQualityLimitingAvailable$;W(i,ue,Ie=>t(63,r=Ie));const te=Y.state.isAutoQualityEnabled$;W(i,te,Ie=>t(68,g=Ie));const q=Y.state.currentPlaybackRate$;W(i,q,Ie=>t(22,V=Ie));const S=Y.state.availablePlaybackRates$;W(i,S,Ie=>t(25,N=Ie));const re=Y.state.currentSubtitle$;W(i,re,Ie=>t(23,I=Ie));const R=Y.state.availableSubtitlesList$;W(i,R,Ie=>t(3,l=Ie));const Ce=Y.state.canDownload,de=Y.state.hasMpegSources$;W(i,de,Ie=>t(64,a=Ie));const G=Y.ui.settingsMenuVisible;W(i,G,Ie=>t(6,P=Ie));const fe=Y.ui.isMobile;W(i,fe,Ie=>t(4,f=Ie));const ye=Y.ui.mobileNotReportControlHidden$;W(i,ye,Ie=>t(61,o=Ie));const F=Y.state.canChangePlaybackSpeed$;W(i,F,Ie=>t(62,s=Ie));const le=Y.ui.isFullscreen;W(i,le,Ie=>t(67,b=Ie));const y=Y.state.trafficSavingEnabled$;W(i,y,Ie=>t(24,L=Ie));const ne=Y.ui.playerSize;W(i,ne,Ie=>t(66,p=Ie));const He=Y.ui.debugPanelVisible,Ae=Y.ui.playerSize;W(i,Ae,Ie=>t(65,c=Ie));const Ve=Y.actions.internal.downloadVideo;let Ee=!0,be=!1,Pe=!1,ke=!1,J=!1;function Z(){K?.(),G.set(!1)}function Ze(){t(7,Ee=!1),t(8,be=!0)}function $e(){t(7,Ee=!1),t(11,J=!0)}function tt(Ie){Y.actions.internal.setQuality(Ie),Z()}function qe(Ie){Y.actions.internal.setTrafficSavingEnabled(Ie),Z()}function at(){t(7,Ee=!1),t(9,Pe=!0)}function mt(Ie){Y.actions.internal.setPlaybackRate(Ie),Z()}function Bt(){t(7,Ee=!1),t(10,ke=!0)}function gt(Ie){Y.actions.internal.setSubtitle(Ie),Z()}function Ne(){t(7,Ee=!0),t(8,be=!1),t(9,Pe=!1),t(10,ke=!1),t(11,J=!1)}function nt(){Ve(),Z()}function $(){window.open(se,"_blank"),Z(),Y.actions.internal.pause()}function ct(){Yo(Y.actions.internal.getDebugTextData()),Z()}function ot(){He.set(!0),Z()}function et(Ie,ni,bi){if(!Ie)return"...";const Yt=ni.find(Rt=>Rt.value===Ie),Nt=Yt?Yt.displayValue:Ie;return bi?Ie===rt.VideoQuality.INVARIANT?oe("auto_quality_invariant"):oe("auto_quality",{actual:Nt}):Nt}let Xe,ut,st,ft,Tt,it,jt,At,Je,ei,vt,ht;function Lt(Ie){Me[Ie?"unshift":"push"](()=>{ut=Ie,t(0,ut)})}const dt=Ie=>tt(Ie.value);function ti(Ie){Me[Ie?"unshift":"push"](()=>{st=Ie,t(1,st)})}const me=Ie=>mt(Ie.value);function we(Ie){Me[Ie?"unshift":"push"](()=>{ft=Ie,t(2,ft)})}const Le=()=>qe(!1),Ct=()=>qe(!0),Zt=Ie=>gt(Ie);return i.$$set=Ie=>{"supportLink"in Ie&&t(58,se=Ie.supportLink),"playerControlsHeight"in Ie&&t(59,U=Ie.playerControlsHeight),"returnFocus"in Ie&&t(60,K=Ie.returnFocus)},i.$$.update=()=>{if(i.$$.dirty[0]&64&&P&&(t(7,Ee=!0),t(8,be=!1),t(9,Pe=!1),t(10,ke=!1),t(11,J=!1)),i.$$.dirty[2]&128&&t(21,n=$n(C)),i.$$.dirty[0]&32|i.$$.dirty[2]&192&&t(12,Xe=et(C,v,g)),i.$$.dirty[0]&17|i.$$.dirty[1]&268435456|i.$$.dirty[2]&56)if(f&&b)t(13,Tt=`max-height: ${Math.round(p.height*.6)}px`);else if(f)t(13,Tt="");else{const Ie=c.height-Oo-(ut?.clientHeight??0)-U;t(13,Tt=`max-height: ${Ie}px; overflow: auto;`)}if(i.$$.dirty[0]&18|i.$$.dirty[1]&268435456|i.$$.dirty[2]&8)if(f)t(14,it="");else{const Ie=c.height-Oo-(st?.clientHeight??0)-U;t(14,it=`max-height: ${Ie}px; overflow: auto;`)}if(i.$$.dirty[0]&20|i.$$.dirty[1]&268435456|i.$$.dirty[2]&8)if(f)t(15,jt="");else{const Ie=c.height-Oo-(ft?.clientHeight??0)-U;t(15,jt=`max-height: ${Ie}px; overflow: auto;`)}i.$$.dirty[1]&1073741824|i.$$.dirty[2]&4&&t(16,At=Ce&&a&&!o),i.$$.dirty[1]&1073741824|i.$$.dirty[2]&2&&t(17,Je=ae.features.trafficSaving&&!o&&r),i.$$.dirty[0]&8|i.$$.dirty[1]&1073741824&&t(18,ei=l.length>0&&!o),i.$$.dirty[1]&1073741824|i.$$.dirty[2]&1&&t(19,vt=!!s&&!o),i.$$.dirty[1]&1073741824&&t(20,ht=!o)},[ut,st,ft,l,f,v,P,Ee,be,Pe,ke,J,Xe,Tt,it,jt,At,Je,ei,vt,ht,n,V,I,L,N,ae,E,j,ue,te,q,S,re,R,de,G,fe,ye,F,le,y,ne,Ae,Z,Ze,$e,tt,qe,at,mt,Bt,gt,Ne,nt,$,ct,ot,se,U,K,o,s,r,a,c,p,b,g,C,Lt,dt,ti,me,we,Le,Ct,Zt]}class Ja extends _e{constructor(e){super(),ve(this,e,f0,c0,ge,{supportLink:58,playerControlsHeight:59,returnFocus:60},a0,[-1,-1,-1])}}function d0(i){Ue(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function m0(i){let e,t,n;return t=new Qa({props:{isMobile:i[1],currentQuality:i[2]}}),{c(){e=_("span"),O(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,s){w(o,e,s),z(t,e,null),n=!0},p(o,s){const l={};s&2&&(l.isMobile=o[1]),s&4&&(l.currentQuality=o[2]),t.$set(l)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function p0(i){let e,t;return e=new ai({props:{testId:"btn-settings",click:i[6],ariaLabel:i[0],$$slots:{default:[m0]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const s={};o&1&&(s.ariaLabel=n[0]),o&518&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function h0(i,e,t){let n,o,s;const l=St(),r=l.state.currentQuality$;W(i,r,b=>t(2,s=b));const a=l.ui.settingsMenuVisible;W(i,a,b=>t(7,n=b));const c=l.ui.isMobile;W(i,c,b=>t(1,o=b));let f;function p(){a.set(!n)}return i.$$.update=()=>{i.$$.dirty&128&&t(0,f=oe(n?"tooltip_settings_on":"tooltip_settings_off"))},[f,o,s,r,a,c,p,n]}class el extends _e{constructor(e){super(),ve(this,e,h0,p0,ge,{},d0)}}function g0(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class b0 extends _e{constructor(e){super(),ve(this,e,null,g0,ge,{})}}function v0(i){let e,t;return e=new Xa({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function _0(i){let e,t;return e=new b0({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function k0(i){let e,t,n,o;const s=[_0,v0],l=[];function r(a,c){return a[0]?0:1}return e=r(i),t=l[e]=s[e](i),{c(){t.c(),n=kt()},m(a,c){l[e].m(a,c),w(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e!==f&&(pe(),h(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t||(t=l[e]=s[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){h(t),o=!1},d(a){a&&k(n),l[e].d(a)}}}function w0(i){let e,t;return e=new ai({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],$$slots:{default:[k0]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function y0(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,s;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,s=oe(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,s]}class C0 extends _e{constructor(e){super(),ve(this,e,y0,w0,ge,{isSubtitlesEnabled:0,click:1})}}function P0(i){Ue(i,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function cs(i){let e,t;return{c(){e=_("span"),t=Fe(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){w(n,e,o),d(e,t)},p(n,o){o&8&&xe(t,n[3])},d(n){n&&k(e)}}}function S0(i){let e,t,n,o,s=i[2]&&cs(i);return{c(){e=_("div"),t=_("span"),n=Fe(i[4]),o=B(),s&&s.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),A(e,"mobile",i[1])},m(l,r){w(l,e,r),d(e,t),d(t,n),d(e,o),s&&s.m(e,null),i[7](e)},p(l,[r]){r&16&&xe(n,l[4]),l[2]?s?s.p(l,r):(s=cs(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&2&&A(e,"mobile",l[1])},i:H,o:H,d(l){l&&k(e),s&&s.d(),i[7](null)}}}function T0(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:s}=e,{showDuration:l=!0}=e,{ref:r}=e,a,c;function f(p){Me[p?"unshift":"push"](()=>{r=p,t(0,r)})}return i.$$set=p=>{"isMobile"in p&&t(1,n=p.isMobile),"duration"in p&&t(5,o=p.duration),"position"in p&&t(6,s=p.position),"showDuration"in p&&t(2,l=p.showDuration),"ref"in p&&t(0,r=p.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=bn(o)),i.$$.dirty&64&&t(4,c=bn(s))},[r,n,l,a,c,o,s,f]}class xa extends _e{constructor(e){super(),ve(this,e,T0,S0,ge,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},P0)}}function A0(i){Ue(i,"v-1n5yyua",".icon.v-1n5yyua.v-1n5yyua{display:block;width:24px;height:24px}.icon.v-1n5yyua .cross.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .wave1.v-1n5yyua,.icon[data-value='off'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .cross.v-1n5yyua{visibility:visible}.icon[data-value='mid'].v-1n5yyua .wave2.v-1n5yyua,.icon[data-value='min'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}")}function E0(i){let e,t,n,o,s,l;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),s=M("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(s,"class","cross v-1n5yyua"),u(s,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(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(r,a){w(r,e,a),d(e,t),d(t,n),d(t,o),d(t,s)},p(r,[a]){a&1&&u(e,"data-value",r[0]),a&1&&l!==(l="volume-"+r[0]+"-icon")&&u(e,"data-testid",l)},i:H,o:H,d(r){r&&k(e)}}}function I0(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const s=(r,a)=>a?"off":r>.5?"max":r>.2?"mid":r>0?"min":"off";let l;return i.$$set=r=>{"volume"in r&&t(1,n=r.volume),"muted"in r&&t(2,o=r.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,l=s(n,o))},[l,n,o]}class Vo extends _e{constructor(e){super(),ve(this,e,I0,E0,ge,{volume:1,muted:2},A0)}}function L0(i){Ue(i,"v-1jbbzcj",'.tooltip-wrapper.v-1jbbzcj{display:flex;flex-direction:column;min-width:0}.full-width.v-1jbbzcj{width:100%}.tooltip.v-1jbbzcj{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-1jbbzcj{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-1jbbzcj{opacity:1;visibility:visible}.tooltip-pointer.v-1jbbzcj{position:absolute;bottom:0;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}')}function fs(i){let e,t,n,o,s,l,r;return{c(){e=_("div"),t=_("div"),n=Fe(i[1]),o=B(),s=_("div"),u(t,"class","content v-1jbbzcj"),u(s,"class","tooltip-pointer v-1jbbzcj"),u(s,"style",l=`transform: translate(${i[6]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",r=`transform: translate(${i[5]}px, ${i[2]}px);`),A(e,"active",i[4])},m(a,c){w(a,e,c),d(e,t),d(t,n),d(e,o),d(e,s),i[17](e)},p(a,c){c&2&&xe(n,a[1]),c&64&&l!==(l=`transform: translate(${a[6]}px, ${a[8]}px);`)&&u(s,"style",l),c&36&&r!==(r=`transform: translate(${a[5]}px, ${a[2]}px);`)&&u(e,"style",r),c&16&&A(e,"active",a[4])},d(a){a&&k(e),i[17](null)}}}function V0(i){let e,t,n,o,s;const l=i[16].default,r=Tn(l,i,i[15],null);let a=i[1]&&fs(i);return{c(){e=_("div"),r&&r.c(),t=B(),a&&a.c(),u(e,"class","tooltip-wrapper v-1jbbzcj"),A(e,"full-width",i[3])},m(c,f){w(c,e,f),r&&r.m(e,null),d(e,t),a&&a.m(e,null),n=!0,o||(s=[Te(e,"mouseenter",function(){en(i[7]?i[11]:ie.noop)&&(i[7]?i[11]:ie.noop).apply(this,arguments)}),Te(e,"mousemove",function(){en(i[7]?i[11]:ie.noop)&&(i[7]?i[11]:ie.noop).apply(this,arguments)}),Te(e,"mouseleave",i[12]),Te(e,"mousedown",i[12]),Te(e,"mouseup",function(){en(i[7]?i[11]:ie.noop)&&(i[7]?i[11]:ie.noop).apply(this,arguments)})],o=!0)},p(c,[f]){i=c,r&&r.p&&(!n||f&32768)&&En(r,l,i,i[15],n?An(l,i[15],f,null):In(i[15]),null),i[1]?a?a.p(i,f):(a=fs(i),a.c(),a.m(e,null)):a&&(a.d(1),a=null),(!n||f&8)&&A(e,"full-width",i[3])},i(c){n||(m(r,c),n=!0)},o(c){h(r,c),n=!1},d(c){c&&k(e),r&&r.d(c),a&&a.d(),o=!1,qt(s)}}}const ds=5,Po=8;function M0(i,e,t){let n,o,s,l,r=H,a=()=>(r(),r=Kt(p,S=>t(14,l=S)),p);i.$$.on_destroy.push(()=>r());let{$$slots:c={},$$scope:f}=e,{controlInfo:p=Oe(void 0)}=e;a();let{tooltipContent:b=""}=e,{initialTranslateXPx:g=0}=e,{initialTranslateYPx:v=0}=e,{isFullWidth:C=!1}=e,P=!1,V=0,I=0,L=ds,N,se;const U=Ki(),K=St(),Y=K.ui.playerSize;W(i,Y,S=>t(21,s=S));const ae=K.ui.controls.tooltipPointerOffsetX;W(i,ae,S=>t(20,o=S));const E=()=>{t(4,P=!0);const S=se.clientWidth,re=s.width,R=o-S/2+g,Ce=o-n;t(5,V=Ce-S/2+g),t(6,I=S/2-ds);let de=0;R<Po&&(de=Po-R,t(6,I-=de),t(5,V+=de));let G=0;R+S>re-Po&&(G=R+S-(re-Po),t(6,I+=G),t(5,V-=G))},j=()=>{t(4,P=!1)},ue=()=>{N||(N=window.setTimeout(E,U.controls.hideTimeoutTooltips)),P&&E()},te=()=>{j(),window.clearTimeout(N),N=void 0};Io(()=>window.clearTimeout(N));function q(S){Me[S?"unshift":"push"](()=>{se=S,t(7,se)})}return i.$$set=S=>{"controlInfo"in S&&a(t(0,p=S.controlInfo)),"tooltipContent"in S&&t(1,b=S.tooltipContent),"initialTranslateXPx"in S&&t(13,g=S.initialTranslateXPx),"initialTranslateYPx"in S&&t(2,v=S.initialTranslateYPx),"isFullWidth"in S&&t(3,C=S.isFullWidth),"$$scope"in S&&t(15,f=S.$$scope)},i.$$.update=()=>{i.$$.dirty&16384&&(n=l?.left??0)},[p,b,v,C,P,V,I,se,L,Y,ae,ue,te,g,l,f,c,q]}class $a extends _e{constructor(e){super(),ve(this,e,M0,V0,ge,{controlInfo:0,tooltipContent:1,initialTranslateXPx:13,initialTranslateYPx:2,isFullWidth:3},L0)}}function B0(i){Ue(i,"v-p9r045",".btn-container.v-p9r045{position:relative;display:flex;align-items:center;height:100%;transition:var(--button-hover-transition);will-change:opacity;-webkit-tap-highlight-color:transparent}.w-max.v-p9r045{width:100%;min-width:0}")}function N0(i){let e;const t=i[17].default,n=Tn(t,i,i[22],null);return{c(){n&&n.c()},m(o,s){n&&n.m(o,s),e=!0},p(o,s){n&&n.p&&(!e||s&4194304)&&En(n,t,o,o[22],e?An(t,o[22],s,null):In(o[22]),null)},i(o){e||(m(n,o),e=!0)},o(o){h(n,o),e=!1},d(o){n&&n.d(o)}}}function R0(i){let e,t;return e=new $a({props:{controlInfo:i[5],tooltipContent:i[10],initialTranslateXPx:i[8],initialTranslateYPx:i[9],isFullWidth:i[4],$$slots:{default:[z0]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&32&&(s.controlInfo=n[5]),o&1024&&(s.tooltipContent=n[10]),o&256&&(s.initialTranslateXPx=n[8]),o&512&&(s.initialTranslateYPx=n[9]),o&16&&(s.isFullWidth=n[4]),o&4194304&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function z0(i){let e;const t=i[17].default,n=Tn(t,i,i[22],null);return{c(){n&&n.c()},m(o,s){n&&n.m(o,s),e=!0},p(o,s){n&&n.p&&(!e||s&4194304)&&En(n,t,o,o[22],e?An(t,o[22],s,null):In(o[22]),null)},i(o){e||(m(n,o),e=!0)},o(o){h(n,o),e=!1},d(o){n&&n.d(o)}}}function D0(i){let e,t,n,o,s,l,r,a,c;const f=[R0,N0],p=[];function b(g,v){return g[3]&&g[6]&&!g[11]?0:1}return t=b(i),n=p[t]=f[t](i),{c(){e=_("div"),n.c(),u(e,"class",o="btn-container "+i[2]+" v-p9r045"),u(e,"aria-hidden",s=i[7]||null),Xn(()=>i[21].call(e))},m(g,v){w(g,e,v),p[t].m(e,null),i[20](e),l=Qo(e,i[21].bind(e)),r=!0,a||(c=[Te(e,"pointerdown",pt(ri(i[18]))),Te(e,"click",pt(ri(i[19])))],a=!0)},p(g,[v]){let C=t;t=b(g),t===C?p[t].p(g,v):(pe(),h(p[C],1,1,()=>{p[C]=null}),he(),n=p[t],n?n.p(g,v):(n=p[t]=f[t](g),n.c()),m(n,1),n.m(e,null)),(!r||v&4&&o!==(o="btn-container "+g[2]+" v-p9r045"))&&u(e,"class",o),(!r||v&128&&s!==(s=g[7]||null))&&u(e,"aria-hidden",s)},i(g){r||(m(n),r=!0)},o(g){h(n),r=!1},d(g){g&&k(e),p[t].d(),i[20](null),l(),a=!1,qt(c)}}}function O0(i,e,t){let n,o,{$$slots:s={},$$scope:l}=e,{className:r=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:p=void 0}=e,{isFullWidthTooltip:b=!0}=e,{controlInfo:g=Oe(void 0)}=e,{tooltipContent:v=""}=e,{disabledTooltipContent:C=oe("tooltip_button_disabled")}=e,{isAriaHidden:P=!1}=e,{initialTranslateXPx:V=0}=e,{initialTranslateYPx:I=-18}=e;const L=St(),N=L.ui.isMobile;W(i,N,j=>t(11,o=j));const se=L.state.graphIsOpened$;W(i,se,j=>t(16,n=j));let U;function K(j){Qn.call(this,i,j)}function Y(j){Qn.call(this,i,j)}function ae(j){Me[j?"unshift":"push"](()=>{f=j,t(0,f)})}function E(){p=this.clientWidth,t(1,p)}return i.$$set=j=>{"className"in j&&t(2,r=j.className),"disabled"in j&&t(14,a=j.disabled),"hasTooltip"in j&&t(3,c=j.hasTooltip),"ref"in j&&t(0,f=j.ref),"width"in j&&t(1,p=j.width),"isFullWidthTooltip"in j&&t(4,b=j.isFullWidthTooltip),"controlInfo"in j&&t(5,g=j.controlInfo),"tooltipContent"in j&&t(6,v=j.tooltipContent),"disabledTooltipContent"in j&&t(15,C=j.disabledTooltipContent),"isAriaHidden"in j&&t(7,P=j.isAriaHidden),"initialTranslateXPx"in j&&t(8,V=j.initialTranslateXPx),"initialTranslateYPx"in j&&t(9,I=j.initialTranslateYPx),"$$scope"in j&&t(22,l=j.$$scope)},i.$$.update=()=>{i.$$.dirty&114752&&(a?t(10,U=n?oe("tooltip_disabled_when_graph_on"):C):t(10,U=v))},[f,p,r,c,b,g,v,P,V,I,U,o,N,se,a,C,n,s,K,Y,ae,E,l]}class Ut extends _e{constructor(e){super(),ve(this,e,O0,D0,ge,{className:2,disabled:14,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,controlInfo:5,tooltipContent:6,disabledTooltipContent:15,isAriaHidden:7,initialTranslateXPx:8,initialTranslateYPx:9},B0)}}function H0(i){let e,t,n,o,s;return{c(){e=M("svg"),t=M("rect"),o=M("path"),u(t,"width","20"),u(t,"height","20"),u(t,"rx","10"),u(t,"fill","white"),u(t,"fill-opacity",n=i[0]?1:.24),u(o,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(o,"fill",s=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,r){w(l,e,r),d(e,t),d(e,o)},p(l,[r]){r&1&&n!==(n=l[0]?1:.24)&&u(t,"fill-opacity",n),r&1&&s!==(s=l[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",s)},i:H,o:H,d(l){l&&k(e)}}}function F0(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class U0 extends _e{constructor(e){super(),ve(this,e,F0,H0,ge,{completed:0})}}function q0(i){Ue(i,"v-bklhpe",".interactive-episode-icon.v-bklhpe{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}.interactive-episode-icon.disabled.v-bklhpe{pointer-events:none;opacity:0.4}")}function j0(i){let e,t,n,o,s;return t=new U0({props:{completed:!!i[0].completed}}),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),Xn(()=>i[3].call(e)),A(e,"disabled",i[1])},m(l,r){w(l,e,r),z(t,e,null),o=Qo(e,i[3].bind(e)),s=!0},p(l,r){const a={};r&1&&(a.completed=!!l[0].completed),t.$set(a),(!s||r&1&&n!==(n=`left: ${l[0].from+l[0].width/2}%`))&&u(e,"style",n),(!s||r&2)&&A(e,"disabled",l[1])},i(l){s||(m(t.$$.fragment,l),s=!0)},o(l){h(t.$$.fragment,l),s=!1},d(l){l&&k(e),D(t),o()}}}function Z0(i){let e,t;return e=new Ut({props:{tooltipContent:oe(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:[j0]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const s={};o&1&&(s.tooltipContent=oe(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(s.disabled=n[1]),o&4&&(s.width=n[2]||0),o&23&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function W0(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,s;function l(){s=this.clientWidth,t(2,s)}return i.$$set=r=>{"videoEpisode"in r&&t(0,n=r.videoEpisode),"disabled"in r&&t(1,o=r.disabled)},[n,o,s,l]}class G0 extends _e{constructor(e){super(),ve(this,e,W0,Z0,ge,{videoEpisode:0,disabled:1},q0)}}function K0(i){Ue(i,"v-1h9p3m2",".video-episodes-wrap.v-1h9p3m2{position:absolute;width:100%;height:100%}.video-episode.v-1h9p3m2{position:absolute;height:calc(3 * var(--slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--slider-height) var(--slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-1h9p3m2:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-1h9p3m2,.video-episode-loaded.v-1h9p3m2,.video-episode-filled.v-1h9p3m2{position:absolute;height:var(--slider-height);border-radius:var(--slider-radius)}.video-episode-inner.v-1h9p3m2{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--slider-video-episode-gap));background:var(--slider-bg)}.video-episode-loaded.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}")}function ms(i,e,t){const n=i.slice();return n[2]=e[t],n}function ps(i){let e,t,n,o,s,l,r,a,c;return{c(){e=_("div"),t=_("div"),n=_("div"),s=B(),l=_("div"),a=B(),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",r=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),A(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}%`),A(e,"mobile",i[1])},m(f,p){w(f,e,p),d(e,t),d(t,n),d(t,s),d(t,l),d(e,a)},p(f,p){p&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),p&1&&r!==(r=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(l,"style",r),p&2&&A(l,"mobile",f[1]),p&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),p&2&&A(e,"mobile",f[1])},d(f){f&&k(e)}}}function Y0(i){let e,t=Ht(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=ps(ms(i,t,o));return{c(){e=_("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,s){w(o,e,s);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,[s]){if(s&3){t=Ht(o[0]);let l;for(l=0;l<t.length;l+=1){const r=ms(o,t,l);n[l]?n[l].p(r,s):(n[l]=ps(r),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},i:H,o:H,d(o){o&&k(e),rn(n,o)}}}function Q0(i,e,t){let{videoEpisodes:n=[]}=e,{isMobile:o}=e;return i.$$set=s=>{"videoEpisodes"in s&&t(0,n=s.videoEpisodes),"isMobile"in s&&t(1,o=s.isMobile)},[n,o]}class X0 extends _e{constructor(e){super(),ve(this,e,Q0,Y0,ge,{videoEpisodes:0,isMobile:1},K0)}}function J0(i){Ue(i,"v-1golz1y",".interactive-icons.v-1golz1y.v-1golz1y{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-1golz1y.v-1golz1y{top:-10px}.slider.v-1golz1y.v-1golz1y{position:relative;height:var(--slider-height);border-radius:var(--slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-1golz1y.v-1golz1y{cursor:default}.slider.v-1golz1y.v-1golz1y:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--controls-height) / 2 - var(--slider-height)) / 2);height:calc(var(--controls-height) / 2)}.bars.v-1golz1y.v-1golz1y{position:absolute;width:100%;height:100%;border-radius:var(--slider-radius);overflow:hidden;background:var(--slider-bg)}.loaded.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.filled.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}.slider.square.v-1golz1y.v-1golz1y,.slider.square.v-1golz1y>.bars.v-1golz1y,.slider.square.v-1golz1y .loaded.v-1golz1y,.slider.square.v-1golz1y .filled.v-1golz1y{border-radius:unset}.filled.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.filled.ads.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-ads)}.handleWrap.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%}.handle.v-1golz1y.v-1golz1y{position:absolute;width:var(--slider-handle-size);height:var(--slider-handle-size);right:calc(-1 * var(--slider-handle-size) / 2);top:calc((var(--slider-height) - var(--slider-handle-size)) / 2);border-radius:50%;background-color:var(--slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.slider.v-1golz1y:hover .handle.v-1golz1y,.slider-dragging.v-1golz1y .handle.v-1golz1y{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-1golz1y .handle.v-1golz1y{transform:scale(1.3)}.slider-vertical.v-1golz1y.v-1golz1y{position:absolute;left:-8px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.slider.disabled.v-1golz1y.v-1golz1y{cursor:default;pointer-events:none;opacity:0.4}")}function hs(i,e,t){const n=i.slice();return n[48]=e[t],n}function gs(i){let e,t,n=Ht(i[21]),o=[];for(let l=0;l<n.length;l+=1)o[l]=vs(hs(i,n,l));const s=l=>h(o[l],1,1,()=>{o[l]=null});return{c(){e=_("div");for(let l=0;l<o.length;l+=1)o[l].c();u(e,"class","interactive-icons v-1golz1y"),A(e,"mobile",i[5]),A(e,"hidden",i[5]&&!i[20])},m(l,r){w(l,e,r);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);t=!0},p(l,r){if(r[0]&2097664){n=Ht(l[21]);let a;for(a=0;a<n.length;a+=1){const c=hs(l,n,a);o[a]?(o[a].p(c,r),m(o[a],1)):(o[a]=vs(c),o[a].c(),m(o[a],1),o[a].m(e,null))}for(pe(),a=n.length;a<o.length;a+=1)s(a);he()}(!t||r[0]&32)&&A(e,"mobile",l[5]),(!t||r[0]&1048608)&&A(e,"hidden",l[5]&&!l[20])},i(l){if(!t){for(let r=0;r<n.length;r+=1)m(o[r]);t=!0}},o(l){o=o.filter(Boolean);for(let r=0;r<o.length;r+=1)h(o[r]);t=!1},d(l){l&&k(e),rn(o,l)}}}function bs(i){let e,t;return e=new G0({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisode=n[48]),o[0]&512&&(s.disabled=n[9]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function vs(i){let e,t,n=i[48].interactive&&bs(i);return{c(){n&&n.c(),e=kt()},m(o,s){n&&n.m(o,s),w(o,e,s),t=!0},p(o,s){o[48].interactive?n?(n.p(o,s),s[0]&2097152&&m(n,1)):(n=bs(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(pe(),h(n,1,1,()=>{n=null}),he())},i(o){t||(m(n),t=!0)},o(o){h(n),t=!1},d(o){o&&k(e),n&&n.d(o)}}}function x0(i){let e,t,n,o,s,l;return{c(){e=_("div"),t=_("div"),o=B(),s=_("div"),u(t,"class","loaded v-1golz1y"),u(t,"style",n=`transform: translateX(${i[11]*100}%);`),u(s,"class","filled v-1golz1y"),u(s,"style",l=`transform: translateX(${i[12]*100}%);`),A(s,"active-live",i[4]),A(s,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(r,a){w(r,e,a),d(e,t),d(e,o),d(e,s)},p(r,a){a[0]&2048&&n!==(n=`transform: translateX(${r[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&l!==(l=`transform: translateX(${r[12]*100}%);`)&&u(s,"style",l),a[0]&16&&A(s,"active-live",r[4]),a[0]&64&&A(s,"ads",r[6])},i:H,o:H,d(r){r&&k(e)}}}function $0(i){let e,t;return e=new X0({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisodes=n[21]),o[0]&32&&(s.isMobile=n[5]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ed(i){let e,t,n,o,s,l,r,a,c,f,p,b,g,v=i[8]&&gs(i);const C=[$0,x0],P=[];function V(I,L){return I[21].length?0:1}return n=V(i),o=P[n]=C[n](i),{c(){v&&v.c(),e=B(),t=_("div"),o.c(),s=B(),l=_("div"),r=_("div"),u(r,"class","handle v-1golz1y"),A(r,"active-live",i[4]),u(l,"class","handleWrap v-1golz1y"),u(l,"style",a=`transform: translateX(${i[13]*100}%);`),A(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=i[1]??null),A(t,"disabled",i[9]),A(t,"slider-dragging",i[20]),A(t,"hidden",i[2]),A(t,"slider-vertical",i[3]),A(t,"no-handle",i[10]),A(t,"square",i[7])},m(I,L){v&&v.m(I,L),w(I,e,L),w(I,t,L),P[n].m(t,null),d(t,s),d(t,l),d(l,r),i[42](t),p=!0,b||(g=[Te(t,"pointerdown",ri(i[22])),Te(t,"pointermove",ri(i[23])),Te(t,"pointerup",ri(i[24])),Te(t,"pointerenter",ri(i[25])),Te(t,"pointerleave",ri(i[26])),Te(t,"click",pt(ie.noop)),Te(t,"wheel",i[27])],b=!0)},p(I,L){I[8]?v?(v.p(I,L),L[0]&256&&m(v,1)):(v=gs(I),v.c(),m(v,1),v.m(e.parentNode,e)):v&&(pe(),h(v,1,1,()=>{v=null}),he());let N=n;n=V(I),n===N?P[n].p(I,L):(pe(),h(P[N],1,1,()=>{P[N]=null}),he(),o=P[n],o?o.p(I,L):(o=P[n]=C[n](I),o.c()),m(o,1),o.m(t,s)),(!p||L[0]&16)&&A(r,"active-live",I[4]),(!p||L[0]&8192&&a!==(a=`transform: translateX(${I[13]*100}%);`))&&u(l,"style",a),(!p||L[0]&1024)&&A(l,"hidden",I[10]),(!p||L[0]&1&&c!==(c="slider "+I[0]+" v-1golz1y"))&&u(t,"class",c),(!p||L[0]&16384)&&u(t,"aria-label",I[14]),(!p||L[0]&32768)&&u(t,"aria-valuemin",I[15]),(!p||L[0]&65536)&&u(t,"aria-valuemax",I[16]),(!p||L[0]&131072)&&u(t,"aria-valuenow",I[17]),(!p||L[0]&262144)&&u(t,"aria-valuetext",I[18]),(!p||L[0]&2&&f!==(f=I[1]??null))&&u(t,"data-testid",f),(!p||L[0]&513)&&A(t,"disabled",I[9]),(!p||L[0]&1048577)&&A(t,"slider-dragging",I[20]),(!p||L[0]&5)&&A(t,"hidden",I[2]),(!p||L[0]&9)&&A(t,"slider-vertical",I[3]),(!p||L[0]&1025)&&A(t,"no-handle",I[10]),(!p||L[0]&129)&&A(t,"square",I[7])},i(I){p||(m(v),m(o),p=!0)},o(I){h(v),h(o),p=!1},d(I){I&&(k(e),k(t)),v&&v.d(I),P[n].d(),i[42](null),b=!1,qt(g)}}}function td(i,e,t){let n,o,{className:s=""}=e,{testId:l=void 0}=e,{isHidden:r=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:p=!1}=e,{squareBorders:b=!1}=e,{videoEpisodes:g=[]}=e,{withWheelHandler:v=!1}=e,{isInteractive:C=!1}=e,{disabled:P=!1}=e,{hideHandel:V=!1}=e,I,L,{onPointerDown:N=ie.noop}=e,{onHandleMove:se=ie.noop}=e,{onPointerUp:U=ie.noop}=e,{onPointerEnter:K=ie.noop}=e,{onPointerMove:Y=ie.noop}=e,{onPointerLeave:ae=ie.noop}=e,{onWheelUp:E=ie.noop}=e,{onWheelDown:j=ie.noop}=e,{onWheelLeft:ue=ie.noop}=e,{onWheelRight:te=ie.noop}=e,{loadedProgress:q=0}=e,{filledProgress:S=0}=e,{handleProgress:re=0}=e,{ariaLabel:R=""}=e,{ariaValueMin:Ce=void 0}=e,{ariaValueMax:de=void 0}=e,{ariaValueNow:G=void 0}=e,{ariaValueText:fe=""}=e;const ye=Ki();let F=!1,le;function y(Z){if(F)return;t(20,F=!0),L=I.getBoundingClientRect();const Ze=be(Z.clientX,Z.clientY);N(Ze),I.setPointerCapture(Z.pointerId)}function ne(Z){const Ze=be(Z.clientX,Z.clientY),$e=Pe(Z.clientX);Y(Ze,$e,L.width),F&&se(Ze)}function He(Z){if(!F)return;t(20,F=!1);const Ze=be(Z.clientX,Z.clientY);U(Ze)}function Ae(Z){L=I.getBoundingClientRect();const Ze=be(Z.clientX,Z.clientY),$e=Pe(Z.clientX);K(Ze,$e,L.width)}function Ve(){ae()}function Ee(Z){v&&(Z.preventDefault(),Z.deltaY<0?E():Z.deltaY>0?j():Z.deltaX>0?te():ue())}function be(Z,Ze){return a?Math.max(0,Math.min(1,(L.height-(Ze-L.top))/L.height)):Math.min(Math.max(Z-L.x,0),L.width)/L.width}function Pe(Z){return Math.min(Math.max(Z-L.x,0),L.width)}function ke(Z,Ze){const $e=ye.features.episodesClustering&&!C?ye.episodeMinWidthPc:0,tt=[];let qe=0,at=0,mt=0;for(let Ne=1;Ne<g.length;Ne++)at=g[Ne].time/le*100,at-qe>$e&&(tt.push({from:qe,width:Math.max(0,at-qe),loadedWidth:Math.max(0,Math.min(at,Z)-qe),filledWidth:Math.max(0,Math.min(at,Ze)-qe),interactive:g[Ne-1].interactive,completed:g[Ne-1].completed}),qe=g[Ne].time/le*100,mt++);const Bt={from:qe,width:Math.max(0,100-qe),loadedWidth:Math.max(0,Math.min(Z,100)-qe),filledWidth:Math.max(0,Math.min(Ze,100)-qe),interactive:g[mt].interactive,completed:g[mt].completed};100-qe<$e?(mt-=1,tt[mt].width+=100-qe,tt[mt].loadedWidth+=Math.max(0,Math.min(Z,100)-qe),tt[mt].filledWidth+=Math.max(0,Math.min(Ze,100)-qe)):tt[mt]=Bt;const gt=g[0].time;if(gt!==0){const Ne=gt/le*100;tt.unshift({from:0,width:Ne,loadedWidth:Math.min(Ne,Z),filledWidth:Math.min(Ne,Ze)})}return tt}function J(Z){Me[Z?"unshift":"push"](()=>{I=Z,t(19,I)})}return i.$$set=Z=>{"className"in Z&&t(0,s=Z.className),"testId"in Z&&t(1,l=Z.testId),"isHidden"in Z&&t(2,r=Z.isHidden),"isVertical"in Z&&t(3,a=Z.isVertical),"isActiveLive"in Z&&t(4,c=Z.isActiveLive),"isMobile"in Z&&t(5,f=Z.isMobile),"isAds"in Z&&t(6,p=Z.isAds),"squareBorders"in Z&&t(7,b=Z.squareBorders),"videoEpisodes"in Z&&t(28,g=Z.videoEpisodes),"withWheelHandler"in Z&&t(29,v=Z.withWheelHandler),"isInteractive"in Z&&t(8,C=Z.isInteractive),"disabled"in Z&&t(9,P=Z.disabled),"hideHandel"in Z&&t(10,V=Z.hideHandel),"onPointerDown"in Z&&t(30,N=Z.onPointerDown),"onHandleMove"in Z&&t(31,se=Z.onHandleMove),"onPointerUp"in Z&&t(32,U=Z.onPointerUp),"onPointerEnter"in Z&&t(33,K=Z.onPointerEnter),"onPointerMove"in Z&&t(34,Y=Z.onPointerMove),"onPointerLeave"in Z&&t(35,ae=Z.onPointerLeave),"onWheelUp"in Z&&t(36,E=Z.onWheelUp),"onWheelDown"in Z&&t(37,j=Z.onWheelDown),"onWheelLeft"in Z&&t(38,ue=Z.onWheelLeft),"onWheelRight"in Z&&t(39,te=Z.onWheelRight),"loadedProgress"in Z&&t(11,q=Z.loadedProgress),"filledProgress"in Z&&t(12,S=Z.filledProgress),"handleProgress"in Z&&t(13,re=Z.handleProgress),"ariaLabel"in Z&&t(14,R=Z.ariaLabel),"ariaValueMin"in Z&&t(15,Ce=Z.ariaValueMin),"ariaValueMax"in Z&&t(16,de=Z.ariaValueMax),"ariaValueNow"in Z&&t(17,G=Z.ariaValueNow),"ariaValueText"in Z&&t(18,fe=Z.ariaValueText)},i.$$.update=()=>{i.$$.dirty[0]&65536&&t(40,le=de??0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=g[g.length-1]?.time<le),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=g.length&&n&&le?ke(q*100,S*100):[])},[s,l,r,a,c,f,p,b,C,P,V,q,S,re,R,Ce,de,G,fe,I,F,o,y,ne,He,Ae,Ve,Ee,g,v,N,se,U,K,Y,ae,E,j,ue,te,le,n,J]}class tl extends _e{constructor(e){super(),ve(this,e,td,ed,ge,{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},J0,[-1,-1])}}const sn=(i,e)=>xn[i]>=xn[e],id=(i,e)=>xn[i]<xn[e],e1=(i,e)=>xn[i]<=xn[e],nd=i=>i>Gn.L?exports.GridTypes.XL:i>Gn.M?exports.GridTypes.L:i>Gn.S?exports.GridTypes.M:i>Gn.XS?exports.GridTypes.S:exports.GridTypes.XS;function od(i){Ue(i,"v-1l78lz9",".volumeBar-container.v-1l78lz9{display:flex;align-items:center}.volumeBar-container.vertical.v-1l78lz9,.vertical.v-1l78lz9 .tooltip-wrapper,.vertical.v-1l78lz9 .btn{width:40px}.volumeBar.v-1l78lz9{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1l78lz9{padding:0 8px 0 0;width:0}")}function ld(i){let e,t;return e=new Vo({props:{volume:i[4],muted:i[2]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&16&&(s.volume=n[4]),o[0]&4&&(s.muted=n[2]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function sd(i){let e,t;return e=new ai({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],$$slots:{default:[ld]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&1&&(s.disabled=!n[0]),o[0]&8&&(s.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(s.ariaLabel=n[7]),o[0]&2&&(s.click=n[1]),o[0]&20|o[1]&2&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function _s(i){let e,t,n;return t=new tl({props:{className:i[3]?"volumeBar-slider-vertical":"",isHidden:i[3]&&!i[5],isVertical:i[3],withWheelHandler:!0,onWheelUp:i[14],onWheelDown:i[15],onPointerDown:i[13],onHandleMove:i[16],onPointerUp:i[17],onPointerEnter:i[3]?i[18]:ie.noop,onPointerLeave:i[3]?i[19]: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=_("div"),O(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),A(e,"volumeBar-vertical",i[3])},m(o,s){w(o,e,s),z(t,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.className=o[3]?"volumeBar-slider-vertical":""),s[0]&40&&(l.isHidden=o[3]&&!o[5]),s[0]&8&&(l.isVertical=o[3]),s[0]&8&&(l.onPointerEnter=o[3]?o[18]:ie.noop),s[0]&8&&(l.onPointerLeave=o[3]?o[19]:ie.noop),s[0]&256&&(l.ariaValueNow=Math.round(o[8]*100)),s[0]&256&&(l.ariaValueText=`${Math.round(o[8]*100)}%`),s[0]&256&&(l.filledProgress=o[8]),s[0]&256&&(l.handleProgress=o[8]),s[0]&8&&(l.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(l),(!n||s[0]&8)&&A(e,"volumeBar-vertical",o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function rd(i){let e,t,n,o,s,l;t=new $a({props:{controlInfo:i[11],tooltipContent:i[6],initialTranslateYPx:-18,$$slots:{default:[sd]},$$scope:{ctx:i}}});let r=i[0]&&_s(i);return{c(){e=_("div"),O(t.$$.fragment),n=B(),r&&r.c(),u(e,"class","volumeBar-container v-1l78lz9"),A(e,"vertical",i[3])},m(a,c){w(a,e,c),z(t,e,null),d(e,n),r&&r.m(e,null),o=!0,s||(l=[Te(e,"mouseenter",function(){en(i[3]?i[20]:ie.noop)&&(i[3]?i[20]:ie.noop).apply(this,arguments)}),Te(e,"mouseleave",function(){en(i[3]?i[21]:ie.noop)&&(i[3]?i[21]:ie.noop).apply(this,arguments)}),Te(e,"wheel",ri(i[22]))],s=!0)},p(a,c){i=a;const f={};c[0]&64&&(f.tooltipContent=i[6]),c[0]&159|c[1]&2&&(f.$$scope={dirty:c,ctx:i}),t.$set(f),i[0]?r?(r.p(i,c),c[0]&1&&m(r,1)):(r=_s(i),r.c(),m(r,1),r.m(e,null)):r&&(pe(),h(r,1,1,()=>{r=null}),he()),(!o||c[0]&8)&&A(e,"vertical",i[3])},i(a){o||(m(t.$$.fragment,a),m(r),o=!0)},o(a){h(t.$$.fragment,a),h(r),o=!1},d(a){a&&k(e),D(t),r&&r.d(),s=!1,qt(l)}}}function ad(i,e,t){let n,o,s,{isAudioAvailable:l=!0}=e,{click:r}=e;const a=St(),c=Ki(),f=a.state.volume$;W(i,f,de=>t(4,n=de));const p=a.state.muted$;W(i,p,de=>t(24,s=de));const b=a.actions.internal.setVolume,g=a.ui.controls.volume,v=a.ui.currentGridType$;W(i,v,de=>t(23,o=de));let C=!1,P,V,I,L,N,se,U=1,K=!1;function Y(de){U=n,b(de)}function ae(){Za(a,n,c.controls.volumeStepWheel)}function E(){Wa(a,n,c.controls.volumeStepWheel)}function j(de){b(de)}function ue(de){const G=de;b(G,G===0?U:G)}function te(){K=!0}function q(){K=!1,R()}function S(){clearTimeout(P),t(5,C=!0)}function re(){R()}function R(){P=window.setTimeout(()=>{K||t(5,C=!1)},c.controls.volumeBarTimeout)}function Ce(de){de.deltaY<0?ae():de.deltaY>0&&E()}return i.$$set=de=>{"isAudioAvailable"in de&&t(0,l=de.isAudioAvailable),"click"in de&&t(1,r=de.click)},i.$$.update=()=>{i.$$.dirty[0]&16777217&&t(2,L=!l||s),i.$$.dirty[0]&8388608&&t(3,N=e1(o,exports.GridTypes.S)),i.$$.dirty[0]&12&&(N?t(6,V=""):t(6,V=oe(L?"tooltip_volume":"tooltip_volume_muted")),t(7,I=oe(L?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,se=L?0:n)},[l,r,L,N,n,C,V,I,se,f,p,g,v,Y,ae,E,j,ue,te,q,S,re,Ce,o,s]}class ud extends _e{constructor(e){super(),ve(this,e,ad,rd,ge,{isAudioAvailable:0,click:1},od,[-1,-1])}}function cd(i){let e;return{c(){e=M("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(t,n){w(t,e,n)},d(t){t&&k(e)}}}function fd(i){let e;return{c(){e=M("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(t,n){w(t,e,n)},d(t){t&&k(e)}}}function dd(i){let e,t,n;function o(r,a){return r[0]?fd:cd}let s=o(i),l=s(i);return{c(){e=M("svg"),t=M("g"),l.c(),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(r,a){w(r,e,a),d(e,t),l.m(t,null)},p(r,[a]){s!==(s=o(r))&&(l.d(1),l=s(r),l&&(l.c(),l.m(t,null))),a&1&&n!==(n=r[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:H,o:H,d(r){r&&k(e),l.d()}}}function md(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class pd extends _e{constructor(e){super(),ve(this,e,md,dd,ge,{isFullscreen:0})}}function hd(i){let e,t;return e=new pd({props:{isFullscreen:i[0]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&1&&(s.isFullscreen=n[0]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function gd(i){let e,t;return e=new ai({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],$$slots:{default:[hd]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function bd(i,e,t){let{isFullscreen:n=!1}=e,{click:o=ie.noop}=e,s;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,s=oe(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,s]}class t1 extends _e{constructor(e){super(),ve(this,e,bd,gd,ge,{isFullscreen:0,click:1})}}function vd(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class il extends _e{constructor(e){super(),ve(this,e,null,vd,ge,{})}}function _d(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class i1 extends _e{constructor(e){super(),ve(this,e,null,_d,ge,{})}}function kd(i){Ue(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function ks(i){let e;return{c(){e=_("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){w(t,e,n)},d(t){t&&k(e)}}}function wd(i){let e,t,n,o,s=i[1]&&ks();var l=i[6];function r(a){return{}}return l&&(n=vn(l,r())),{c(){s&&s.c(),e=B(),t=_("div"),n&&O(n.$$.fragment),u(t,"class","v-1ot3duq"),A(t,"mobile",i[1])},m(a,c){s&&s.m(a,c),w(a,e,c),w(a,t,c),n&&z(n,t,null),o=!0},p(a,c){if(a[1]?s||(s=ks(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),c&64&&l!==(l=a[6])){if(n){pe();const f=n;h(f.$$.fragment,1,0,()=>{D(f,1)}),he()}l?(n=vn(l,r()),O(n.$$.fragment),m(n.$$.fragment,1),z(n,t,null)):n=null}(!o||c&2)&&A(t,"mobile",a[1])},i(a){o||(n&&m(n.$$.fragment,a),o=!0)},o(a){n&&h(n.$$.fragment,a),o=!1},d(a){a&&(k(e),k(t)),s&&s.d(a),n&&D(n)}}}function yd(i){let e,t,n;function o(l){i[8](l)}let s={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-play",click:i[4],disabled:i[2],ariaLabel:i[5],$$slots:{default:[wd]},$$scope:{ctx:i}};return i[0]!==void 0&&(s.ref=i[0]),e=new ai({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&16&&(a.click=l[4]),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&578&&(a.$$scope={dirty:r,ctx:l}),!t&&r&1&&(t=!0,a.ref=l[0],Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function Cd(i,e,t){let n,{ref:o=void 0}=e,{isMobile:s=!1}=e,{isPlaying:l=!1}=e,{disabled:r=!1}=e,{className:a=""}=e,{click:c=ie.noop}=e,f;function p(b){o=b,t(0,o)}return i.$$set=b=>{"ref"in b&&t(0,o=b.ref),"isMobile"in b&&t(1,s=b.isMobile),"isPlaying"in b&&t(7,l=b.isPlaying),"disabled"in b&&t(2,r=b.disabled),"className"in b&&t(3,a=b.className),"click"in b&&t(4,c=b.click)},i.$$.update=()=>{i.$$.dirty&128&&t(5,f=oe(l?"tooltip_pause":"tooltip_play")),i.$$.dirty&128&&t(6,n=l?i1:il)},[o,s,r,a,c,f,n,l,p]}class nl extends _e{constructor(e){super(),ve(this,e,Cd,yd,ge,{ref:0,isMobile:1,isPlaying:7,disabled:2,className:3,click:4},kd)}}function Pd(i){Ue(i,"v-mb3pjo",".prev.v-mb3pjo{transform:scaleX(-1)}.mobile.v-mb3pjo{transform:scale(1.3333)}.mobile.prev.v-mb3pjo{transform:scaleX(-1) scale(1.3333)}")}function Sd(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),u(t,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(t,"fill","#fff"),u(e,"data-testid",n=i[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),A(e,"prev",i[0]),A(e,"mobile",i[1])},m(o,s){w(o,e,s),d(e,t)},p(o,[s]){s&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),s&1&&A(e,"prev",o[0]),s&2&&A(e,"mobile",o[1])},i:H,o:H,d(o){o&&k(e)}}}function Td(i,e,t){let{isPrev:n=!1}=e,{isMobile:o=!1}=e;return i.$$set=s=>{"isPrev"in s&&t(0,n=s.isPrev),"isMobile"in s&&t(1,o=s.isMobile)},[n,o]}class Ad extends _e{constructor(e){super(),ve(this,e,Td,Sd,ge,{isPrev:0,isMobile:1},Pd)}}function Ed(i){let e,t;return e=new Ad({props:{isMobile:i[1],isPrev:i[3]==="prev"}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&8&&(s.isPrev=n[3]==="prev"),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Id(i){let e,t,n;function o(l){i[6](l)}let s={testId:"btn-"+i[3],disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[Ed]},$$scope:{ctx:i}};return i[0]!==void 0&&(s.ref=i[0]),e=new ai({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.testId="btn-"+l[3]),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&138&&(a.$$scope={dirty:r,ctx:l}),!t&&r&1&&(t=!0,a.ref=l[0],Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function Ld(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:s=!1}=e,{type:l}=e,{click:r}=e,a;function c(f){n=f,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,s=f.disabled),"type"in f&&t(3,l=f.type),"click"in f&&t(4,r=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=oe(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,s,l,r,a,c]}class Mo extends _e{constructor(e){super(),ve(this,e,Ld,Id,ge,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function Vd(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class Md extends _e{constructor(e){super(),ve(this,e,null,Vd,ge,{})}}function ws(i){let e,t,n,o,s,l,r;return{c(){e=M("path"),t=M("path"),n=M("path"),o=M("path"),s=M("path"),l=M("path"),r=M("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(t,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(t,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"fill","white"),u(s,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(s,"fill","white"),u(l,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(l,"fill","white"),u(r,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(r,"fill","white")},m(a,c){w(a,e,c),w(a,t,c),w(a,n,c),w(a,o,c),w(a,s,c),w(a,l,c),w(a,r,c)},d(a){a&&(k(e),k(t),k(n),k(o),k(s),k(l),k(r))}}}function Bd(i){let e,t,n,o=!i[0]&&ws();return{c(){e=M("svg"),t=M("path"),o&&o.c(),u(t,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(t,"fill","white"),u(e,"width",i[1]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(i[1]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",i[2])},m(s,l){w(s,e,l),d(e,t),o&&o.m(e,null)},p(s,[l]){s[0]?o&&(o.d(1),o=null):o||(o=ws(),o.c(),o.m(e,null)),l&2&&u(e,"width",s[1]),l&2&&n!==(n="0 0 "+(s[1]+1)+" 20")&&u(e,"viewBox",n),l&4&&u(e,"data-testid",s[2])},i:H,o:H,d(s){s&&k(e),o&&o.d()}}}function Nd(i,e,t){let{short:n=!1}=e,o,s;return i.$$set=l=>{"short"in l&&t(0,n=l.short)},i.$$.update=()=>{i.$$.dirty&1&&(t(1,o=n?20:93),t(2,s=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,s]}class Rd extends _e{constructor(e){super(),ve(this,e,Nd,Bd,ge,{short:0})}}function zd(i){let e,t;return e=new Md({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p:H,i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Dd(i){let e,t;return e=new Rd({props:{short:i[4]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&16&&(s.short=n[4]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Od(i){let e,t,n,o;const s=[Dd,zd],l=[];function r(a,c){return a[2]?0:1}return e=r(i),t=l[e]=s[e](i),{c(){t.c(),n=kt()},m(a,c){l[e].m(a,c),w(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(pe(),h(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=s[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){h(t),o=!1},d(a){a&&k(n),l[e].d(a)}}}function Hd(i){let e,t,n;function o(l){i[13](l)}let s={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:[Od]},$$scope:{ctx:i}};return i[0]!==void 0&&(s.ref=i[0]),e=new ai({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.disabled=!l[1]),r&4&&(a.testId=l[2]?"btn-vk-video-logo":"btn-vk-logo"),r&8&&(a.ariaLabel=l[3]),r&524308&&(a.$$scope={dirty:r,ctx:l}),!t&&r&1&&(t=!0,a.ref=l[0],Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function Fd(i,e,t){let n,o,s,{ref:l=void 0}=e,{logoClickable:r=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=Ki(),{logoLink:p,addTimeToLogoLink:b}=f,g=St(),v=g.state.positionWithScrubbing$;W(i,v,U=>t(14,n=U));const C=g.ui.currentGridType$;W(i,C,U=>t(11,o=U));const P=g.ui.isMobile;W(i,P,U=>t(12,s=U));let V,I,L;const N=()=>{let U;if(I||!a)U=p;else{const K=Math.round(n);if(b&&K){const Y=new URL(a);Y.searchParams.append("t",ie.timeCodeToString(K)),U=Y.toString()}else U=a}c(),window.open(U,"_blank")};function se(U){l=U,t(0,l)}return i.$$set=U=>{"ref"in U&&t(0,l=U.ref),"logoClickable"in U&&t(1,r=U.logoClickable),"videoLogoUrl"in U&&t(9,a=U.videoLogoUrl),"click"in U&&t(10,c=U.click)},i.$$.update=()=>{i.$$.dirty&6148&&t(4,L=(s||e1(o,exports.GridTypes.L))&&I)},t(3,V=f.logoType===Jn.VK_VIDEO?oe("tooltip_vk_video_logo"):oe("tooltip_vk_logo")),t(2,I=f.logoType===Jn.VK_VIDEO),[l,r,I,V,L,v,C,P,N,a,c,o,s,se]}class n1 extends _e{constructor(e){super(),ve(this,e,Fd,Hd,ge,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function Ud(i){Ue(i,"v-8z1bf5",".connecting.v-8z1bf5 .wave.v-8z1bf5{animation-duration:1s;animation-iteration-count:infinite}.connecting.v-8z1bf5 .wave1.v-8z1bf5{animation-name:v-8z1bf5-wave1}.connecting.v-8z1bf5 .wave2.v-8z1bf5{animation-name:v-8z1bf5-wave2}.connecting.v-8z1bf5 .wave3.v-8z1bf5{animation-name:v-8z1bf5-wave3}@keyframes v-8z1bf5-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function qd(i){let e,t,n,o,s,l,r,a;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),s=M("path"),l=M("path"),r=M("path"),a=M("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(s,"class","wave wave3 v-8z1bf5"),u(s,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(s,"fill","#fff"),u(l,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(l,"fill","#fff"),u(r,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),A(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"),A(e,"connecting",i[2])},m(c,f){w(c,e,f),d(e,t),d(t,n),d(t,o),d(t,s),d(t,l),d(t,r),d(t,a)},p(c,f){f&2&&A(a,"hidden",!c[1]),f&4&&A(e,"connecting",c[2])},d(c){c&&k(e)}}}function jd(i){let e,t,n,o,s,l,r,a,c,f,p,b,g,v,C,P,V,I,L,N,se;return{c(){e=M("svg"),t=M("g"),n=M("mask"),o=M("path"),l=M("path"),r=M("path"),c=M("path"),f=M("defs"),p=M("clipPath"),b=M("path"),v=M("filter"),C=M("feFlood"),P=M("feColorMatrix"),V=M("feOffset"),I=M("feGaussianBlur"),L=M("feColorMatrix"),N=M("feBlend"),se=M("feBlend"),u(o,"fill",s=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(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(r,"fill",a=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(b,"fill",g=i[1]?"#2688EB":"#fff"),u(b,"d","M0 0h24v24H0z"),u(p,"id","a"),u(C,"flood-opacity","0"),u(C,"result","BackgroundImageFix"),u(P,"in","SourceAlpha"),u(P,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(P,"result","hardAlpha"),u(I,"stdDeviation","2.5"),u(L,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(N,"in2","BackgroundImageFix"),u(N,"result","effect1_dropShadow_4085_178456"),u(se,"in","SourceGraphic"),u(se,"in2","effect1_dropShadow_4085_178456"),u(se,"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(U,K){w(U,e,K),d(e,t),d(t,n),d(n,o),d(n,l),d(t,r),d(t,c),d(e,f),d(f,p),d(p,b),d(f,v),d(v,C),d(v,P),d(v,V),d(v,I),d(v,L),d(v,N),d(v,se)},p(U,K){K&2&&s!==(s=U[1]?"#2688EB":"#fff")&&u(o,"fill",s),K&2&&a!==(a=U[1]?"#2688EB":"#fff")&&u(r,"fill",a),K&2&&g!==(g=U[1]?"#2688EB":"#fff")&&u(b,"fill",g)},d(U){U&&k(e)}}}function Zd(i){let e;function t(s,l){return s[0]?jd:qd}let n=t(i),o=n(i);return{c(){o.c(),e=kt()},m(s,l){o.m(s,l),w(s,e,l)},p(s,[l]){n===(n=t(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:H,o:H,d(s){s&&k(e),o.d(s)}}}function Wd(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,s,l;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"state"in r&&t(3,o=r.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,l=o===rt.ChromecastState.CONNECTING),t(1,s=o===rt.ChromecastState.CONNECTED))},[n,s,l,o]}class Gd extends _e{constructor(e){super(),ve(this,e,Wd,Zd,ge,{isMobile:0,state:3},Ud)}}function Kd(i){let e,t;return e=new Gd({props:{isMobile:i[1],state:i[2]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&4&&(s.state=n[2]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Yd(i){let e,t,n;function o(l){i[5](l)}let s={ariaLabel:i[4],click:i[3],testId:"btn-chromecast",$$slots:{default:[Kd]},$$scope:{ctx:i}};return i[0]!==void 0&&(s.ref=i[0]),e=new ai({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,[r]){const a={};r&16&&(a.ariaLabel=l[4]),r&8&&(a.click=l[3]),r&70&&(a.$$scope={dirty:r,ctx:l}),!t&&r&1&&(t=!0,a.ref=l[0],Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function Qd(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{state:s}=e,{click:l=ie.noop}=e,r;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,s=c.state),"click"in c&&t(3,l=c.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,r=s===rt.ChromecastState.CONNECTED?oe("tooltip_chromecast_on"):oe("tooltip_chromecast_off"))},[n,o,s,l,r,a]}class o1 extends _e{constructor(e){super(),ve(this,e,Qd,Yd,ge,{ref:0,isMobile:1,state:2,click:3})}}function Xd(i){let e,t;return e=new Ha({props:{isActive:i[1]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Jd(i){let e,t;return e=new ai({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1],ariaLabel:i[3],click:i[2],$$slots:{default:[Xd]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(s.testId=n[1]?"btn-live":"btn-live-offset"),o&2&&(s.disabled=n[1]),o&8&&(s.ariaLabel=n[3]),o&4&&(s.click=n[2]),o&18&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function xd(i,e,t){let{isMobile:n=!1}=e,{isActiveLive:o=!1}=e,{click:s}=e,l;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"isActiveLive"in r&&t(1,o=r.isActiveLive),"click"in r&&t(2,s=r.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,l=o?"":oe("tooltip_live"))},[n,o,s,l]}class l1 extends _e{constructor(e){super(),ve(this,e,xd,Jd,ge,{isMobile:0,isActiveLive:1,click:2})}}function $d(i){Ue(i,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function e2(i){let e,t,n,o;const s=i[9].default,l=Tn(s,i,i[8],null);return{c(){e=_("div"),t=_("div"),l&&l.c(),u(t,"class","tooltip v-5ygsa2"),A(t,"active",i[0]),A(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(r,a){w(r,e,a),d(e,t),l&&l.m(t,null),i[10](t),i[11](e),o=!0},p(r,[a]){l&&l.p&&(!o||a&256)&&En(l,s,r,r[8],o?An(s,r[8],a,null):In(r[8]),null),(!o||a&1)&&A(t,"active",r[0]),(!o||a&2)&&A(t,"pointer",r[1]),(!o||a&36&&n!==(n=`transform: translate(${r[5]}px, ${r[2]}px);`))&&u(e,"style",n)},i(r){o||(m(l,r),o=!0)},o(r){h(l,r),o=!1},d(r){r&&k(e),l&&l.d(r),i[10](null),i[11](null)}}}function t2(i,e,t){let n,{$$slots:o={},$$scope:s}=e,{active:l=!1}=e,{pointer:r=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,p,b;function g(P){if(!b)return 0;const{width:V}=b.getBoundingClientRect(),I=V/2;return P<I?I:P>f-I?f-I:P}function v(P){Me[P?"unshift":"push"](()=>{b=P,t(4,b)})}function C(P){Me[P?"unshift":"push"](()=>{p=P,t(3,p)})}return i.$$set=P=>{"active"in P&&t(0,l=P.active),"pointer"in P&&t(1,r=P.pointer),"translateXPx"in P&&t(6,a=P.translateXPx),"translateYPx"in P&&t(2,c=P.translateYPx),"containerWidth"in P&&t(7,f=P.containerWidth),"$$scope"in P&&t(8,s=P.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=g(a))},[l,r,c,p,b,n,a,f,s,o,v,C]}class i2 extends _e{constructor(e){super(),ve(this,e,t2,e2,ge,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},$d)}}const s1=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function n2(i){Ue(i,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function ys(i){let e;function t(s,l){return s[2]&&s[10].completed===!1?l2:o2}let n=t(i),o=n(i);return{c(){o.c(),e=kt()},m(s,l){o.m(s,l),w(s,e,l)},p(s,l){n===(n=t(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},d(s){s&&k(e),o.d(s)}}}function o2(i){let e=(i[10].text||"")+"",t;return{c(){t=Fe(e)},m(n,o){w(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&xe(t,e)},d(n){n&&k(t)}}}function l2(i){let e=oe("tooltip_episode_unfinished")+"",t;return{c(){t=Fe(e)},m(n,o){w(n,t,o)},p:H,d(n){n&&k(t)}}}function s2(i){let e,t,n,o,s,l,r,a,c=i[10]&&ys(i);return{c(){e=_("div"),t=_("div"),o=B(),s=_("div"),c&&c.c(),l=B(),r=_("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(s,"class","episode v-l51fc1"),u(r,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),A(e,"mobile",i[1])},m(f,p){w(f,e,p),d(e,t),d(e,o),d(e,s),c&&c.m(s,null),d(e,l),d(e,r),d(r,a)},p(f,[p]){p&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,p):(c=ys(f),c.c(),c.m(s,null)):c&&(c.d(1),c=null),p&1&&xe(a,f[0]),p&2&&A(e,"mobile",f[1])},i:H,o:H,d(f){f&&k(e),c&&c.d()}}}const Zn=150;function r2(i,e,t){let n,{time:o=""}=e,{isMobile:s=!1}=e,{videoEpisodes:l=[]}=e,{previewThumbsData:r}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const b=St().ui.rotateAlpha;W(i,b,K=>t(11,n=K));let g,v,C,P,V,I,L,N;function se(){let K=r.frameWidth,Y=r.frameHeight;return K>Zn?(Y=Y/K*Zn,K=Zn):Y>Zn&&(K=K/Y*Zn,Y=Zn),{width:K,height:Y}}function U(K){let Y;r.isUV?Y=Math.floor(c*K/r.frequency):Y=Math.min(r.countTotal,Math.max(0,Math.floor(r.countTotal*K)));const ae=Math.floor(Y/r.countPerImage),E=Math.floor(Y%r.countPerImage/r.countPerRow),j=Y%r.countPerRow;let ue=Math.floor(r.countPerImage/r.countPerRow);!r.isUV&&ae===Math.floor(r.countTotal/r.countPerImage)&&(ue=Math.floor(r.countTotal%r.countPerImage/r.countPerRow),r.countTotal%r.countPerImage%r.countPerRow>0&&ue++);let te=r.countPerRow;!r.isUV&&ae===Math.floor(r.countTotal/r.countPerImage)&&r.countTotal%r.countPerImage>0&&(te=Math.min(r.countPerRow,r.countTotal%r.countPerImage));const q=g*te,S=v*ue,re=-j*g,R=-E*v;return{imgSrc:r.links[ae],imgWidth:q,imgHeight:S,imgOffsetX:re,imgOffsetY:R}}return i.$$set=K=>{"time"in K&&t(0,o=K.time),"isMobile"in K&&t(1,s=K.isMobile),"videoEpisodes"in K&&t(13,l=K.videoEpisodes),"previewThumbsData"in K&&t(14,r=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:C,imgWidth:P,imgHeight:V,imgOffsetX:I,imgOffsetY:L}=U(a),C,(t(6,P),t(15,a)),(t(7,V),t(15,a)),(t(8,I),t(15,a)),(t(9,L),t(15,a))),i.$$.dirty&106496&&t(10,N=s1(a,c,l))},t(3,{width:g,height:v}=se(),g,t(4,v)),[o,s,f,g,v,C,P,V,I,L,N,n,b,l,r,a,c]}class a2 extends _e{constructor(e){super(),ve(this,e,r2,s2,ge,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},n2)}}function u2(i){Ue(i,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function c2(i){let e,t;return{c(){e=_("span"),t=Fe(i[7]),u(e,"class","time v-5lzly8")},m(n,o){w(n,e,o),d(e,t)},p(n,o){o[0]&128&&xe(t,n[7])},i:H,o:H,d(n){n&&k(e)}}}function f2(i){let e,t;return e=new a2({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&128&&(s.time=n[7]),o[0]&1024&&(s.isMobile=n[10]),o[0]&8&&(s.videoEpisodes=n[3]),o[0]&256&&(s.progress=n[8]),o[0]&2&&(s.duration=n[1]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function d2(i){let e,t,n,o;const s=[f2,c2],l=[];function r(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=r(i),t=l[e]=s[e](i),{c(){t.c(),n=kt()},m(a,c){l[e].m(a,c),w(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(pe(),h(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=s[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){h(t),o=!1},d(a){a&&k(n),l[e].d(a)}}}function m2(i){let e,t,n,o;const s=[i[9]];let l={$$slots:{default:[d2]},$$scope:{ctx:i}};for(let r=0;r<s.length;r+=1)l=ua(l,s[r]);return e=new i2({props:l}),n=new tl({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:oe("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:oe("aria_timeline_value",{position:i[5],duration:i[4]}),loadedProgress:i[12],filledProgress:i[6],handleProgress:i[6],videoEpisodes:i[3],onPointerDown:i[27],onHandleMove:i[28],onPointerMove:i[31],onPointerUp:i[29],onPointerEnter:i[30],onPointerLeave:i[32],isInteractive:i[23],disabled:i[13].has(bt.TIMELINE),hideHandel:i[2]}}),{c(){O(e.$$.fragment),t=B(),O(n.$$.fragment)},m(r,a){z(e,r,a),w(r,t,a),z(n,r,a),o=!0},p(r,a){const c=a[0]&512?vu(s,[_u(r[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:r}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=r[11]),a[0]&1024&&(f.isMobile=r[10]),a[0]&2&&(f.ariaValueMax=r[1]),a[0]&64&&(f.ariaValueNow=Math.round(r[6]*100)),a[0]&48&&(f.ariaValueText=oe("aria_timeline_value",{position:r[5],duration:r[4]})),a[0]&4096&&(f.loadedProgress=r[12]),a[0]&64&&(f.filledProgress=r[6]),a[0]&64&&(f.handleProgress=r[6]),a[0]&8&&(f.videoEpisodes=r[3]),a[0]&8192&&(f.disabled=r[13].has(bt.TIMELINE)),a[0]&4&&(f.hideHandel=r[2]),n.$set(f)},i(r){o||(m(e.$$.fragment,r),m(n.$$.fragment,r),o=!0)},o(r){h(e.$$.fragment,r),h(n.$$.fragment,r),o=!1},d(r){r&&k(t),D(e,r),D(n,r)}}}function p2(i,e,t){let n,o,s,l,r,a,c,f,p,b,g,{showTimeline:v=!1}=e;const C=St(),P=Ki(),V=C.state.bufferedProgress$;W(i,V,J=>t(12,b=J));const I=C.state.positionWithScrubbing$;W(i,I,J=>t(39,a=J));const L=C.state.duration$;W(i,L,J=>t(1,s=J));const N=C.state.isLive$;W(i,N,J=>t(0,o=J));const se=C.state.isActiveLive$;W(i,se,J=>t(11,p=J));const U=C.ui.isMobile;W(i,U,J=>t(10,f=J));const K=P.features.episodes?C.actions.internal.getVideoEpisodes():void 0,Y=C.actions.internal.getPreviewThumbsData(),ae=C.state.interactiveEpisodes$;W(i,ae,J=>t(40,c=J));const E=C.state.isInteractive,j=C.state.isInteractiveTime$;W(i,j,J=>t(2,l=J));const ue=C.state.isInteractiveExpectation$;W(i,ue,J=>t(38,r=J));const te=C.actions.internal.correctSeekTimeToInteractive,q=C.ui.controls.disabledControls$;W(i,q,J=>t(13,g=J));let S,re,R,Ce,de=!1,G="",fe=0,ye=0,F=0,le;function y(J){return!te||!E?J:te(J*s)/s}function ne(J){C.actions.internal.startScrubbing(y(J))}function He(J){l||C.actions.internal.progressScrubbing(y(J))}function Ae(J){C.actions.internal.completeScrubbing(y(J)),t(34,de=!1)}function Ve(J,Z,Ze){Pe(J,Z,Ze),t(34,de=!0)}function Ee(J,Z,Ze){Pe(J,Z,Ze),t(34,de=!0)}function be(){t(34,de=!1)}function Pe(J,Z,Ze){t(8,F=J),t(35,fe=Z),Ze&&t(36,ye=Ze),t(7,G=ke(J))}function ke(J){const Z=bn((o?1-J:J)*s);return o?`-${Z}`:Z}return i.$$set=J=>{"showTimeline"in J&&t(33,v=J.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,S=E?c:K),i.$$.dirty[0]&2&&t(4,re=bn(s)),i.$$.dirty[1]&256&&t(5,R=bn(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,Ce=a/s),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,le=r||l),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:ye,translateXPx:fe,translateYPx:E&&Y?-36:-16,active:de&&v&&!le,pointer:!P.features.timelinePreview||!Y||o})},[o,s,l,S,re,R,Ce,G,F,n,f,p,b,g,P,V,I,L,N,se,U,Y,ae,E,j,ue,q,ne,He,Ae,Ve,Ee,be,v,de,fe,ye,le,r,a,c]}let h2=class extends _e{constructor(e){super(),ve(this,e,p2,m2,ge,{showTimeline:33},u2,[-1,-1])}};function g2(i){let e,t;return e=new tl({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:oe("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const s={};o&1&&(s.ariaValueMax=n[0]),o&8&&(s.ariaValueNow=Math.round(n[3]*100)),o&6&&(s.ariaValueText=oe("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(s.filledProgress=n[3]),o&16&&(s.squareBorders=n[4]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function b2(i,e,t){let n,{position:o=0}=e,{duration:s=0}=e;const r=St().ui.isMobile;W(i,r,p=>t(4,n=p));let a,c,f;return i.$$set=p=>{"position"in p&&t(6,o=p.position),"duration"in p&&t(0,s=p.duration)},i.$$.update=()=>{i.$$.dirty&1&&t(1,a=bn(s)),i.$$.dirty&64&&t(2,c=bn(o)),i.$$.dirty&65&&t(3,f=o/s)},[s,a,c,f,n,r,o]}class r1 extends _e{constructor(e){super(),ve(this,e,b2,g2,ge,{position:6,duration:0})}}function v2(i){Ue(i,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function _2(i){let e;return{c(){e=_("div"),u(e,"class","timeline-stub v-1gqonyf"),A(e,"mobile",i[2])},m(t,n){w(t,e,n)},p(t,n){n&4&&A(e,"mobile",t[2])},i:H,o:H,d(t){t&&k(e)}}}function k2(i){let e,t,n,o;const s=[y2,w2],l=[];function r(a,c){return a[0]?0:1}return t=r(i),n=l[t]=s[t](i),{c(){e=_("div"),n.c(),u(e,"class","timeline v-1gqonyf"),A(e,"mobile",i[2])},m(a,c){w(a,e,c),l[t].m(e,null),o=!0},p(a,c){let f=t;t=r(a),t===f?l[t].p(a,c):(pe(),h(l[f],1,1,()=>{l[f]=null}),he(),n=l[t],n?n.p(a,c):(n=l[t]=s[t](a),n.c()),m(n,1),n.m(e,null)),(!o||c&4)&&A(e,"mobile",a[2])},i(a){o||(m(n),o=!0)},o(a){h(n),o=!1},d(a){a&&k(e),l[t].d()}}}function w2(i){let e,t;return e=new h2({props:{showTimeline:i[1]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&2&&(s.showTimeline=n[1]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function y2(i){let e,t;return e=new r1({props:{position:i[3],duration:i[4]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&8&&(s.position=n[3]),o&16&&(s.duration=n[4]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function C2(i){let e,t,n,o;const s=[k2,_2],l=[];function r(a,c){return a[1]?0:1}return e=r(i),t=l[e]=s[e](i),{c(){t.c(),n=kt()},m(a,c){l[e].m(a,c),w(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(pe(),h(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=s[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){h(t),o=!1},d(a){a&&k(n),l[e].d(a)}}}function P2(i,e,t){let n,o,s,l,{isAds:r=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const p=St(),b=p.state.isLive$;W(i,b,V=>t(12,n=V));const g=p.ads.duration;W(i,g,V=>t(4,l=V));const v=p.ads.position;W(i,v,V=>t(3,s=V));const C=p.ui.isMobile;W(i,C,V=>t(2,o=V));let P;return i.$$set=V=>{"isAds"in V&&t(0,r=V.isAds),"canRewindLive"in V&&t(9,a=V.canRewindLive),"isRewindableLive"in V&&t(10,c=V.isRewindableLive),"isHidden"in V&&t(11,f=V.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,P=!f&&(!n||n&&a&&c||r))},[r,P,o,s,l,b,g,v,C,a,c,f,n]}class a1 extends _e{constructor(e){super(),ve(this,e,P2,C2,ge,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},v2)}}function S2(i){let e,t,n,o;return{c(){e=M("svg"),t=M("path"),n=M("path"),o=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(o,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),Mt(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(s,l){w(s,e,l),d(e,t),d(e,n),d(e,o)},p:H,i:H,o:H,d(s){s&&k(e)}}}class T2 extends _e{constructor(e){super(),ve(this,e,null,S2,ge,{})}}function A2(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"opacity",".7"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(t,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class E2 extends _e{constructor(e){super(),ve(this,e,null,A2,ge,{})}}function I2(i){Ue(i,"v-1yhs2ga",".text.v-1yhs2ga{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text.count.v-1yhs2ga{overflow:visible}.text.mobile.v-1yhs2ga{padding:0 3px 0 4px}.chevron-episodes.v-1yhs2ga{margin-bottom:-4px}")}function L2(i){let e,t,n,o;e=new T2({});function s(a,c){if(a[2]===Nn.FULL)return B2;if(a[2]===Nn.COUNT)return M2}let l=s(i),r=l&&l(i);return{c(){O(e.$$.fragment),t=B(),r&&r.c(),n=kt()},m(a,c){z(e,a,c),w(a,t,c),r&&r.m(a,c),w(a,n,c),o=!0},p(a,c){l===(l=s(a))&&r?r.p(a,c):(r&&r.d(1),r=l&&l(a),r&&(r.c(),r.m(n.parentNode,n)))},i(a){o||(m(e.$$.fragment,a),o=!0)},o(a){h(e.$$.fragment,a),o=!1},d(a){a&&(k(t),k(n)),D(e,a),r&&r.d(a)}}}function V2(i){let e,t,n,o,s,l;return s=new E2({}),{c(){e=_("span"),t=Fe(i[1]),n=B(),o=_("div"),O(s.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(r,a){w(r,e,a),d(e,t),w(r,n,a),w(r,o,a),z(s,o,null),l=!0},p(r,a){(!l||a&2)&&xe(t,r[1])},i(r){l||(m(s.$$.fragment,r),l=!0)},o(r){h(s.$$.fragment,r),l=!1},d(r){r&&(k(e),k(n),k(o)),D(s)}}}function M2(i){let e,t=i[0].length+"",n;return{c(){e=_("span"),n=Fe(t),u(e,"class","text count v-1yhs2ga")},m(o,s){w(o,e,s),d(e,n)},p(o,s){s&1&&t!==(t=o[0].length+"")&&xe(n,t)},d(o){o&&k(e)}}}function B2(i){let e,t;return{c(){e=_("span"),t=Fe(i[1]),u(e,"class","text v-1yhs2ga")},m(n,o){w(n,e,o),d(e,t)},p(n,o){o&2&&xe(t,n[1])},d(n){n&&k(e)}}}function N2(i){let e,t,n,o;const s=[V2,L2],l=[];function r(a,c){return a[4]?0:1}return e=r(i),t=l[e]=s[e](i),{c(){t.c(),n=kt()},m(a,c){l[e].m(a,c),w(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(pe(),h(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=s[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){h(t),o=!1},d(a){a&&k(n),l[e].d(a)}}}function R2(i){let e,t;return e=new ai({props:{className:"w-max btn-full-opacity "+(i[4]?"px-0":""),testId:"btn-episodes",click:i[5],disabled:!i[6],ariaLabel:i[3],$$slots:{default:[N2]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const s={};o&16&&(s.className="w-max btn-full-opacity "+(n[4]?"px-0":"")),o&8&&(s.ariaLabel=n[3]),o&65559&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function z2(i,e,t){let n,o,s,l,{position:r=0}=e,{duration:a=0}=e,{timeCodes:c=[]}=e;const f=St(),p=f.callbacks?.onEpisodeChanged??ie.noop,b=f.callbacks?.onEpisodeClicked??ie.noop,g=!!f.callbacks?.onEpisodeClicked,v=f.ui.currentGridType$;W(i,v,L=>t(13,s=L));const C=f.ui.isMobile;W(i,C,L=>t(4,l=L));let P,V,I;return i.$$set=L=>{"position"in L&&t(9,r=L.position),"duration"in L&&t(10,a=L.duration),"timeCodes"in L&&t(0,c=L.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&1536&&t(12,n=r/a),i.$$.dirty&7169){const L=s1(n,a,c);L&&P?.text!==L.text&&(p(L),t(11,P=L))}i.$$.dirty&2048&&t(1,o=P?.text||""),i.$$.dirty&8192&&(sn(s,exports.GridTypes.XL)?t(2,V=Nn.FULL):sn(s,exports.GridTypes.M)&&id(s,exports.GridTypes.XL)?t(2,V=Nn.COUNT):t(2,V=Nn.SHORT)),i.$$.dirty&2&&t(3,I=`${oe("tooltip_episodes")}: ${o}`)},[c,o,V,I,l,b,g,v,C,r,a,P,n,s]}class u1 extends _e{constructor(e){super(),ve(this,e,z2,R2,ge,{position:9,duration:10,timeCodes:0},I2)}}function D2(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(t,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,s){w(o,e,s),d(e,t),d(e,n)},p:H,i:H,o:H,d(o){o&&k(e)}}}class O2 extends _e{constructor(e){super(),ve(this,e,null,D2,ge,{})}}function H2(i){let e,t;return e=new O2({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function F2(i){let e,t,n;function o(l){i[4](l)}let s={className:i[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:oe("tooltip_interactive_seek"),disabled:i[2],click:i[3],$$slots:{default:[H2]},$$scope:{ctx:i}};return i[0]!==void 0&&(s.ref=i[0]),e=new ai({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&8&&(a.click=l[3]),r&32&&(a.$$scope={dirty:r,ctx:l}),!t&&r&1&&(t=!0,a.ref=l[0],Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function U2(i,e,t){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:s=!1}=e,{click:l}=e;function r(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,s=a.disabled),"click"in a&&t(3,l=a.click)},[n,o,s,l,r]}class c1 extends _e{constructor(e){super(),ve(this,e,U2,F2,ge,{ref:0,hidden:1,disabled:2,click:3})}}function q2(i){let e,t,n;return{c(){e=M("svg"),t=M("path"),n=M("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),A(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,s){w(o,e,s),d(e,t),d(e,n)},p(o,[s]){s&1&&A(n,"hidden",!o[0])},i:H,o:H,d(o){o&&k(e)}}}function j2(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class Z2 extends _e{constructor(e){super(),ve(this,e,j2,q2,ge,{isOpened:0})}}function W2(i){let e,t;return e=new Z2({props:{isOpened:i[3]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&8&&(s.isOpened=n[3]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function G2(i){let e,t,n;function o(l){i[6](l)}let s={className:i[1]?"hidden":"",testId:"btn-graph",disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[W2]},$$scope:{ctx:i}};return i[0]!==void 0&&(s.ref=i[0]),e=new ai({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&136&&(a.$$scope={dirty:r,ctx:l}),!t&&r&1&&(t=!0,a.ref=l[0],Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function K2(i,e,t){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:s=!1}=e,{graphIsOpened:l=!1}=e,{click:r}=e,a;function c(f){n=f,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,s=f.disabled),"graphIsOpened"in f&&t(3,l=f.graphIsOpened),"click"in f&&t(4,r=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=oe(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,s,l,r,a,c]}class f1 extends _e{constructor(e){super(),ve(this,e,K2,G2,ge,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function Y2(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class Q2 extends _e{constructor(e){super(),ve(this,e,null,Y2,ge,{})}}function X2(i){Ue(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Cs(i){let e;return{c(){e=_("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){w(t,e,n)},d(t){t&&k(e)}}}function J2(i){let e,t,n,o,s=i[1]&&Cs();return n=new Q2({}),{c(){s&&s.c(),e=B(),t=_("div"),O(n.$$.fragment),u(t,"class","v-1ot3duq"),A(t,"mobile",i[1])},m(l,r){s&&s.m(l,r),w(l,e,r),w(l,t,r),z(n,t,null),o=!0},p(l,r){l[1]?s||(s=Cs(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),(!o||r&2)&&A(t,"mobile",l[1])},i(l){o||(m(n.$$.fragment,l),o=!0)},o(l){h(n.$$.fragment,l),o=!1},d(l){l&&(k(e),k(t)),s&&s.d(l),D(n)}}}function x2(i){let e,t,n;function o(l){i[5](l)}let s={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-replay",ariaLabel:oe("tooltip_restart"),disabled:i[2],click:i[4],$$slots:{default:[J2]},$$scope:{ctx:i}};return i[0]!==void 0&&(s.ref=i[0]),e=new ai({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&4&&(a.disabled=l[2]),r&16&&(a.click=l[4]),r&66&&(a.$$scope={dirty:r,ctx:l}),!t&&r&1&&(t=!0,a.ref=l[0],Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function $2(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:s=!1}=e,{className:l=""}=e,{click:r=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,s=c.disabled),"className"in c&&t(3,l=c.className),"click"in c&&t(4,r=c.click)},[n,o,s,l,r,a]}class ol extends _e{constructor(e){super(),ve(this,e,$2,x2,ge,{ref:0,isMobile:1,disabled:2,className:3,click:4},X2)}}function e4(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class t4 extends _e{constructor(e){super(),ve(this,e,null,e4,ge,{})}}function i4(i){let e,t;return e=new t4({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function n4(i){let e,t,n;function o(l){i[4](l)}let s={className:i[1]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:oe("tooltip_interactive_go_back"),disabled:i[2],click:i[3],$$slots:{default:[i4]},$$scope:{ctx:i}};return i[0]!==void 0&&(s.ref=i[0]),e=new ai({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&8&&(a.click=l[3]),r&32&&(a.$$scope={dirty:r,ctx:l}),!t&&r&1&&(t=!0,a.ref=l[0],Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function o4(i,e,t){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:s=!1}=e,{click:l}=e;function r(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,s=a.disabled),"click"in a&&t(3,l=a.click)},[n,o,s,l,r]}class d1 extends _e{constructor(e){super(),ve(this,e,o4,n4,ge,{ref:0,hidden:1,disabled:2,click:3})}}function l4(i){Ue(i,"v-1x1zctw",".icon.v-1x1zctw{width:24px !important;height:24px !important;;}.error-stub.v-1x1zctw{display:flex;justify-content:center;align-items:center}.inner.v-1x1zctw{width:16px;height:16px;background-color:var(--white)}")}function s4(i){let e,t,n,o;return{c(){e=_("img"),u(e,"class","icon v-1x1zctw"),ul(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(s,l){w(s,e,l),n||(o=Te(e,"error",i[7]),n=!0)},p(s,l){l&1&&!ul(e.src,t=s[0])&&u(e,"src",t)},d(s){s&&k(e),n=!1,o()}}}function r4(i){let e;return{c(){e=_("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(t,n){w(t,e,n)},p:H,d(t){t&&k(e)}}}function a4(i){let e;function t(s,l){return s[5]?r4:s4}let n=t(i),o=n(i);return{c(){o.c(),e=kt()},m(s,l){o.m(s,l),w(s,e,l)},p(s,l){n===(n=t(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},d(s){s&&k(e),o.d(s)}}}function u4(i){let e,t;return e=new ai({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[a4]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const s={};o&16&&(s.className=n[4]?"btn-full-opacity":""),o&2&&(s.ariaLabel=n[1]),o&8&&(s.click=n[3]),o&64&&(s.disabled=n[6]),o&4&&(s.testId=n[2]),o&545&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function c4(i,e,t){let n,o,s,{iconUrl:l}=e,{ariaLabel:r}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=ie.noop}=e;const p=()=>{t(5,s=!0)};return i.$$set=b=>{"iconUrl"in b&&t(0,l=b.iconUrl),"ariaLabel"in b&&t(1,r=b.ariaLabel),"disabled"in b&&t(8,a=b.disabled),"testId"in b&&t(2,c=b.testId),"onClick"in b&&t(3,f=b.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===ie.noop),i.$$.dirty&272&&t(6,o=n||a)},t(5,s=!1),[l,r,c,f,n,s,o,p,a]}class m1 extends _e{constructor(e){super(),ve(this,e,c4,u4,ge,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},l4)}}class Ps{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,s=n.length;o<s;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,s=n.length;o<s;o++){const l=n[o];try{l.callback.call(this,e)}catch(r){Promise.resolve().then(()=>{throw r})}l.options&&l.options.once&&this.removeEventListener(e.type,l.callback)}return!e.defaultPrevented}}class p1 extends Ps{constructor(){super(),this.listeners||Ps.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 f4=class{constructor(){Object.defineProperty(this,"signal",{value:new p1,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch{typeof document<"u"?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document>"u")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch{n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};typeof Symbol<"u"&&Symbol.toStringTag&&(f4.prototype[Symbol.toStringTag]="AbortController",p1.prototype[Symbol.toStringTag]="AbortSignal");function h1(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 d4(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!h1({fetch:e,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:e,Request:s};let s=t;(s&&!s.prototype.hasOwnProperty("signal")||o)&&(s=function(c,f){let p;f&&f.signal&&(p=f.signal,delete f.signal);const b=new t(c,f);return p&&Object.defineProperty(b,"signal",{writable:!1,enumerable:!1,configurable:!0,value:p}),b},s.prototype=t.prototype);const l=e;return{fetch:(a,c)=>{const f=s&&s.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let p;try{p=new DOMException("Aborted","AbortError")}catch{p=new Error("Aborted"),p.name="AbortError"}if(f.aborted)return Promise.reject(p);const b=new Promise((g,v)=>{f.addEventListener("abort",()=>v(p),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([b,l(a,c)])}return l(a,c)},Request:s}}const ll=h1({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),g1=ll?d4({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,m4=ll?g1.fetch:window.fetch;ll?g1.Request:window.Request;const p4=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,h4="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class g4{adman=null;initialVolume=1;videoElement=null;currentAdSection=null;actions=null;adsState=null;playerState=null;log;loadTimeout;initTimeout;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};constructor(e,t){this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=t.loadTimeout,this.initTimeout=t.initTimeout}init(e,t,n){this.actions=e,this.adsState=t,this.playerState=n}loadAdman=e=>new Promise((t,n)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?t():n()};ie.addScript(h4,e,this.loadTimeout).then(()=>{window.AdmanHTML?t():(window.admanAsyncInit=s,o=window.setTimeout(s,this.initTimeout))}).catch(()=>{n()})});onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:t,height:n,isFullscreen:o,isAutoplay:s,adsContainer:l,adsVideoElement:r,slotId:a,params:c={},duration:f,previewParam:p}=e;let b;const g=this.playerState&<(this.playerState.vsid);g&&(b=parseInt(g,36));const v={dl:encodeURIComponent(window.location.href),autoplay:s,player_width:t,player_height:n,puid10:p4(t,n),puid11:o?0:1,preview:p,...b?{request_id:b}:{},duration:f,...c},C={slot:a,wrapper:l,videoEl:r,videoQuality:n,params:v,browser:{mobile:!1}},P=new window.AdmanHTML;P.setDebug(!1),P.onReady(this.onAdsReady),P.onStarted(this.onAdStarted),P.onPlayed(this.onAdPlayed),P.onPaused(this.onAdPaused),P.adMidrollPoint(this.onAdMidrollPoint),P.onClosed(this.onAdClosed),P.onSkipped(this.onAdSkipped),P.onClicked(this.onAdClicked),P.onTimeRemained(this.onAdTimeRemained),P.onCompleted(this.onAdCompleted),P.onError(this.onAdError),P.init(C),this.adman=P,this.videoElement=r,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(C)}`})}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===wn.Postroll;this.adsState.playbackState.set(Ft.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=lt(this.adsState.playbackState);e===Ft.PLAYING?this.pause():e===Ft.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){this.log({message:`set volume ${e}`}),this.adman?.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){this.log({message:`set fullscreen ${e}`}),this.adman?.setFullscreen(e)}startPreroll(){ie.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=wn.Preroll,this.adman.start(wn.Preroll)}startPostroll(){ie.assertNonNullable(this.adman),ie.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=wn.Postroll,this.adman.start(wn.Postroll)}onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()};onAdStarted=(e,t)=>{ie.assertNonNullable(this.adsState),ie.assertNonNullable(this.playerState),ie.assertNonNullable(this.actions),this.log({message:`ad started, section: ${e}, banner: ${JSON.stringify(t)}`}),this.events.started$.next(e),t.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),lt(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(t.duration),this.adsState.playbackState.set(Ft.PLAYING),this.adsState.canSkip.set(t.allowClose),this.adsState.secondsToWatchBeforeSkip.set(t.allowCloseDelay)};onAdTimeRemained=({currentTime:e})=>{ie.assertNonNullable(this.adsState),this.adsState.position.set(e)};onAdPaused=()=>{ie.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Ft.PAUSED)};onAdPlayed=()=>{ie.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Ft.PLAYING)};onAdMidrollPoint=()=>{ie.assertNonNullable(this.adman),ie.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=wn.Midroll,this.adman.start(wn.Midroll)};onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()};onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()};onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()};onAdClicked=()=>{this.log({message:"ad clicked"}),this.videoElement?.pause(),this.events.clicked$.next()};onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)};play(){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){this.adman?.setPosition(Math.floor(e),Math.floor(t))}destroy(){this.log({message:"destroy"}),this.adman?.destroy()}}const b4=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 v4{oneLineRegExp=/\r\n|\n|\r/;twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/;parse(e){const t=[],n=e.split(this.twoLinesRegExp);for(const o of n){const s={startTime:0,endTime:0,texts:[],lang:""},l=o.split(this.oneLineRegExp);for(const r of l)if(!s.startTime&&!s.endTime){const a=new b1,{startTime:c,endTime:f}=a.parse(r);s.startTime=c,s.endTime=f}else if(r.trim()!==""){const a=new _4,{texts:c}=a.parse(r);s.texts=[...s.texts,...c]}(s.startTime||s.endTime)&&s.texts.length>0&&t.push(s)}return t}}class b1{timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/;timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`);parse(e){const t={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(t.startTime=this.calcTime(n[1],n[2],n[3],n[4]),t.endTime=this.calcTime(n[6],n[7],n[8],n[9])),t}parseTime(e){const t=this.timeRegExp.exec(e);return t?this.calcTime(t[1],t[2],t[3],t[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",t="0",n="0",o="0"){const s=Number(e)*60*60,l=Number(t)*60,r=Number(n),a=+`0.${o}`;return s+l+r+a}}class _4{letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/;parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](l){let r=0;const a=[];for(;r<l.length;){const c=["<",">"].reduce((f,p)=>{const b=l.indexOf(p,r);return f===-1||f>b?b:f},-1);if(c===-1){a.push(l.substring(r));break}a.push(l.substring(r,c)),r=c+1}return a}}),s=new b1;for(const l of o)s.isTime(l)?t.texts.push({type:"timestamp",value:s.parseTime(l)}):t.texts.push({type:"text",value:l});return t}}let Pn,$i,Ho=0,Fo=!1;const k4=(i,e,t)=>{const n=i>=Ho,o=i<Ho,s=(c,f=0,p=0)=>c<f&&c<p,l=(c,f=0,p=0)=>c>=f&&c<=p,r=(c,f=0,p=0)=>c>f&&c>p,a=t.find(({lang:c})=>c===e.value)?.subtitles;if(Ho=i,o&&(Fo=!1),ie.isNonNullable(Pn)&&l(i,Pn.startTime,Pn.endTime)&&Pn.lang===e.value)return Pn;if(!ie.isNonNullable($i)&&a?.length&&!Fo){const c=a.find(({startTime:f,endTime:p})=>l(i,f,p)||n&&s(i,f,p));$i=c&&{...c,lang:e.value},Pn=void 0,!ie.isNonNullable($i)&&a[a.length-1].endTime<i&&(Fo=!0);return}else{if(l(i,$i?.startTime,$i?.endTime))return Pn=$i,$i=void 0,Pn;(n&&r(i,$i?.startTime,$i?.endTime)||o&&s(i,$i?.startTime,$i?.endTime))&&($i=void 0)}},Uo={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 So=null;class ro{constructor(e,t){if(!So){const n=new _t.OneStat(e,t),o=new ie.Subscription;So=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n?.destroy(),o?.unsubscribe(),So=null}})}}static getInstance(){return So}}const w4=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:s,canDownload:l,callbacks:r,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:p,coreConfig:b,player:g,disabledControls:v,isInteractive:C,interactiveRanges:P,replayInteractive:V,onDisabledPlayPrevChapterClick:I,onDisabledSeekToInteractiveClick:L,hasInteractiveBranches:N,playPrevChapterDisabledTooltip:se,additionalButtons:U,looped:K=!1})=>{const Y={...b,configName:[...b.configName??[],"ui"],isAudioDisabled:s,live:{...b.live??{},isLiveCatchUpMode:!!n}},ae=p,E=g||new rt.Player(Y);E.setLooped(K);const j=new ie.Logger,ue=new g4(j,{loadTimeout:ae.ads.loadTimeout,initTimeout:ae.ads.initTimeout}),te=ro.getInstance(),q=Ko.getInstance(),S=a?.pictureInPictureApi,re=a?.annotationsApi,R=j.createComponentLog("Store");let Ce,de,G={};const fe=ie.getCurrentBrowser(),ye=te?yt(te.oneStat.vsid$):gn(void 0),F=Oe(co()),le=S?.info.isActive$??new ie.ValueSubject(!1),y=S?.info.type,ne=Oe(0),He=Oe([]),Ae=ie.merge(E.events.fatalError$,E.events.managedError$).subscribe(T=>He.update(ce=>[...ce,T])),Ve=gn(!1,T=>{const ce=E.events.fatalError$.subscribe(()=>T(!0));return()=>ce.unsubscribe()}),Ee=async T=>{const ce=Object.values(ie.InterfaceLanguage).includes(T);if(ae.downloadVKLanguages&&(ce&&ae.updateBuiltinLanguages||!hl(T))){let De;try{De=await ie.loadVKLangPack(T,Su,Tu)}catch(Ge){te?.oneStat?.logError({errorType:"VKLangPack",fatal:!1}),q?.report(Ge,{errorType:"VKLangPack",fatal:!1})}De&&(pl({language:T,pack:De,fallback:ae.defaultLanguage}),be.set(T))}hl(T)&&be.set(T)},be=Oe(i);Ee(i);const Pe=(T,ce)=>{const Se=lt(be);return Ma(Se,T,ce,ae.defaultLanguage)},ke=Oe(ze.Thumb),J=$t([Ve,ke],([T,ce])=>T?ze.Crashed:ce),Z=(()=>{const T=Oe(new Set(v));return{...T,add:ce=>{T.update(Se=>new Set([...Se].concat(ce)))},remove:ce=>{T.update(Se=>{const De=[...Se];return new Set(Array.isArray(ce)?De.filter(Ge=>!ce.includes(Ge)):De.filter(Ge=>Ge!==ce))})},includes:ce=>{const Se=lt(T);return Array.isArray(ce)?ce.every(De=>Se.has(De)):Se.has(ce)}}})();R({message:"create store"});const Ze=T=>{R({message:`init video, config: ${JSON.stringify(T)}`}),C?T.container.append(E.experimental.element$.getValue()):E.initVideo(T),T.subtitles&&E.setExternalTextTracks(T.subtitles),Ce=T},$e=new ie.Subject,tt=T=>$e.next(T),qe=new ie.Subject,at=new ie.Subject,mt=new ie.Subject,Bt={actionRewind$:qe,actionSeek$:at,inPiP$:le,inFullscreen$:new ie.Observable(T=>F.subscribe(ce=>T.next(ce))),actionSetSubtitle$:mt,nextMovie$:$e};if(te){const{oneStat:T,statSubscription:ce}=te;ce.add(T.attachTo(E)),ce.add(T.attachToUi(Bt)),ce.add(T.attachToAds(ue.events)),T.authorize(o).catch(Se=>{R({message:`onestat auth error ${String(Se)}`})})}if(q){const T=new ie.Subscription,ce=(Se,De)=>T.add(Se.subscribe(De));if(ce(E.events.managedError$,Se=>{q.logIError(Se)}),ce(E.events.fatalError$,Se=>{q.logIError(Se,!0)}),te){const{oneStat:Se}=te;ce(Se.experimental.error$,De=>{q.logIError(De)})}q.sentrySubscription.add(T)}const gt=()=>{ie.isIOS()&&de&&$u(de)},Ne=new ie.Subscription().add(E.experimental.element$.subscribe(T=>{T&&(de=T,T.classList.add("player-media"),Eo(S)&&(S.updateVideoElement(),S.registryEventHandlers()),C&&T.setAttribute("pip","false"))})).add(E.events.ended$.subscribe(()=>{gt(),r?.onEnded?.()})).add(E.events.started$.subscribe(async()=>{Eo(S)&&await S?.revealPictureInPicture();const T=E.info.muted$.getValue();r?.onStarted?.(),G.onStarted?.(T)})).add(E.events.willSeek$.subscribe(({from:T,to:ce})=>{r?.onSeek?.(T,ce)})).add(E.info.position$.subscribe(T=>{const ce=E.info.duration$.getValue();r?.onTimeupdate?.(ce,T),ue.setPosition(T,ce)})).add(E.events.fatalError$.subscribe(()=>{r?.onCrashed?.()})).add(E.info.is3DVideo$.subscribe(T=>{Pt.ui.is3DVideo.set(T)})).add(E.info.isEnded$.subscribe(T=>{C&&(T?(lt(Mn)&&Z.add(so),Z.add(bt.PLAY_BUTTON)):Z.remove(bt.PLAY_BUTTON))})).add(E.info.liveTime$.subscribe(T=>{r?.onLiveTime?.(T)})),nt=new ie.Subscription,$=()=>{nt.add(E.events.log$.subscribe(T=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${T.component}`,T.message)})).add(j.log$.subscribe(T=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${T.component}.`,T.message)}))},ct=()=>{nt.unsubscribe()},ot=(T,ce)=>{E.startCameraManualRotation(T,ce)},et=(T=!1)=>{E.stopCameraManualRotation(T)},Xe=(T,ce,Se)=>{E.moveCameraFocusPX(T,ce,Se)},ut=()=>{E.holdCamera()},st=()=>{E.releaseCamera()},ft=gn(E.info.position$.getValue(),T=>{let ce,Se;const De=()=>{const Ge=E.info.playbackState$.getValue(),It=E.info.isLive$.getValue(),Ot=E.info.duration$.getValue(),Re=E.info.position$.getValue();if([rt.PlaybackState.PLAYING,rt.PlaybackState.PAUSED].includes(Ge)){const xt=It?Re-Ot:E.getExactTime();xt!==Se&&T(xt),Se=xt}ce=requestAnimationFrame(De)};return De(),()=>cancelAnimationFrame(ce)}),Tt=yt(le),it=yt(E.info.playbackState$),jt=yt(E.info.currentBuffer$),At=yt(E.info.isEnded$),Je=yt(E.info.isLive$),ei=ae.features.playbackRate?yt(E.info.canChangePlaybackSpeed$):gn(!1),vt=yt(E.info.liveBufferTime$),ht=yt(E.info.volume$),Lt=yt(E.info.muted$),dt=wa(E.info.autoQualityLimits$.pipe(ie.map(({max:T})=>T!==void 0)),E.info.autoQualityLimits$.getValue()?.max!==void 0),ti=yt(E.info.autoQualityLimitingAvailable$),me=yt(E.info.availableQualities$),we=yt(E.info.availableQualitiesFps$),Le=yt(E.info.chromecastState$),Ct=yt(E.info.chromecastDeviceName$),Zt=yt(E.info.currentFormat$),Ie=yt(E.info.throughputEstimation$),ni=yt(E.info.videoBitrate$),bi=yt(E.info.intrinsicVideoSize$),Yt=yt(E.info.duration$),Nt=yt(E.info.isAudioAvailable$);let Rt=null;const ki=E.info.isBuffering$,Yi=gn(ki.getValue(),T=>{const ce=ki.subscribe(Se=>{Se&&Rt===null?Rt=window.setTimeout(()=>{T(ki.getValue()),Rt=null},ae.loaderDelay):T(Se)});return()=>{ce.unsubscribe(),Rt&&clearTimeout(Rt)}}),Oi=()=>{Rt&&clearTimeout(Rt),Rt=null},Wt=$t([Yt,Je],([T,ce])=>ce?-T:T),Hi=$t([it],([T])=>T===rt.PlaybackState.PLAYING),Fi=yt(E.info.atLiveEdge$),Li=yt(E.info.atLiveDurationEdge$),ii=yt(E.info.position$),Vi=$t([ii,Yt],([T,ce])=>isFinite(T)&&isFinite(ce)&&!!ce),zt=$t([Le],([T])=>T===rt.ChromecastState.CONNECTED),Vt=Oe(void 0),Ui=yt(E.info.isAutoQualityEnabled$,T=>T&&Vt.set(void 0)),wi=yt(E.info.currentQuality$,()=>Vt.set(void 0)),ui=$t([Vt,wi],([T,ce])=>T??ce),Mi=$t([me,we,Ui,ui,Zt],([T,ce,Se,De,Ge])=>{const It=[];Ge!==rt.VideoFormat.MPEG&&It.push({value:Yn.AUTO,displayValue:Pe("auto_quality_option"),selected:Se});const Ot=T.filter(Re=>Re!==ie.VideoQuality.INVARIANT);for(const Re of Ot){const xt=ce[Re],hn=Re===ie.VideoQuality.INVARIANT?Pe("auto_quality_option"):Re;It.push({value:Re,displayValue:`${hn}${xt?b4(xt):""}`,selected:Se?!1:Re===De})}return It}),ci=yt(E.info.currentPlaybackRate$),oi=$t([ci,Fi,Li],([T,ce,Se])=>{const De=Se||C?1:ae.controls.playbackRateMin,Ge=ce?1:ae.controls.playbackRateMax,It=ae.controls.playbackRateStep,Ot=[];for(let Re=De;Re<=Ge;Re+=It)Ot.push({value:Re,displayValue:Re===1?Pe("playback_rate_1"):Pe("playback_rate",{multiplier:Re.toString(10)}),selected:T===Re});return Ot}),fi=ae.features.subtitles?yt(E.info.availableTextTracks$):gn([]),di=$t([fi],([T],ce)=>{const Se=[],De=[];for(const Ge of T)Ge.url&&Se.push(m4(Ge.url));Promise.allSettled(Se).then(Ge=>{for(const[It,Ot]of Ge.entries())Ot.status==="fulfilled"&&Ot.value.text().then(Re=>{const xt=new v4,hn=T[It].language,oo=!!T[It].isAuto,lo=xt.parse(Re);hn&&lo&&De.push({lang:hn,subtitles:lo,isAuto:oo}),It===Ge.length-1&&ce(De)})})}),Et={displayValue:Pe("subtitles_off"),value:"off"},li=Oe({...Et}),yi=$t([di,li,di],([T,ce])=>{if(T?.length>0){const Se=[{...Et,selected:ce?.value===Et.value}];for(const{lang:De,isAuto:Ge}of T)Uo[De]&&Se.push({displayValue:Ge?Pe("subtitles_auto",{language:Uo[De]}):Uo[De],value:De,selected:ce?.value===De,isAuto:Ge});return Se}else return[]}),Bi=$t([ft,li,di],([T,ce,Se])=>{if(ce&&ce.value!==Et.value)return k4(T,ce,Se)}),Qt=$t([Bi],([T])=>T?.texts?T.texts:[]),Ni=Oe(!0),Ri=$t([jt,Wt,ii,vt],([T,ce,Se,De])=>{const Ge=T?.end??0;if(!De)return Ge/ce;const Ot=-Se+De-ce;return(Ge-Ot)/ce}),mi=yt(E.info.availableSources$),vi=$t([mi],([T])=>Object.keys(T?.[rt.VideoFormat.MPEG]||{}).length>0),zi=()=>{const T=Object.keys(E.info.availableSources$?.getValue()?.[rt.VideoFormat.MPEG]||{}),ce=ie.getHighestQuality(T)||ie.VideoQuality.Q_144P;return Ce.sources[rt.VideoFormat.MPEG]?.[ce]},je=()=>{const T=zi();T?Bu(T,Ce?.meta?.title||"video"):R({message:"There is no URL for download video"})},pi=()=>{R({message:"toggle muted"});const T=E.info.muted$.getValue(),De=!(E.info.volume$.getValue()===0||T);Xt(De)},Ci=(T,ce=T,Se=!1)=>{const De=!Se,Ge=E.info.muted$.getValue();R({message:`set volume, volume: ${T}, preferredVolume: ${ce}, internalCall: ${De}`}),E.setVolume(T),ue.setVolume(T),De&&r?.onVolumeChange?.(T),ml(ce),Ge?(E.setMuted(!1),De&&r?.onUnmute?.(),No(!1)):!Ge&&T===0&&(E.setMuted(!0),De&&r?.onMute?.(),No(!0))},Xt=(T,ce=!1)=>{const Se=!ce,De=E.info.volume$.getValue();if(R({message:`set muted, currentVolume: ${De}, mute: ${T}, internalCall: ${Se}`}),E.setMuted(T),ue.setVolume(T?0:De),No(T),Se&&(T?r?.onMute?.():r?.onUnmute?.()),De===0){let Ge=Ta()??ae.volumeDefault;Ge===0&&(Ge=ae.volumeMinRestore,ml(Ge)),E.setVolume(Ge),ue.setVolume(Ge),Se&&r?.onVolumeChange?.(Ge)}},Pi=()=>{E.prepare()},Jt=()=>{if(ie.assertNonNullable(Pt),!lt(Pt.ui.controls.disabledControls$).has(bt.PLAY_BUTTON)){if(R({message:"toggle play"}),lt(Pt.playerPhase)===ze.Ads){ue.togglePlay();return}if(E.info.playbackState$.getValue()!==rt.PlaybackState.PLAYING){if(E.info.isEnded$.getValue()){if(R({message:"toggle play, video ended, seek to 0"}),qe.next(),at.next(_t.SeekAction.REWIND),C){V?.();return}E.seekTime(0)}R({message:"toggle play, call player.play"}),E.play(),r?.onPlay?.()}else R({message:"toggle play, call player.pause"}),E.pause(),r?.onPause?.()}},Be=T=>{R({message:`set quality, quality: ${T}`}),E.setAutoQuality(T===Yn.AUTO),T!==Yn.AUTO?(Nu(e,T),Vt.set(T),E.setQuality(T)):Aa()},qi=T=>{R({message:`set trafficSavingEnabled, value: ${T}`}),E.setAutoQualityLimits({max:T?ae.trafficSavingLimit:void 0}),Du(T)},Si=T=>{E.setPlaybackRate(T)},ji=()=>{const T=lt(oi),ce=T.findIndex(({selected:De})=>De);if(ce===T.length-1)return;const Se=T[ce+1];Si(Se.value)},Qi=()=>{const T=lt(oi),ce=T.findIndex(({selected:De})=>De);if(ce===0)return;const Se=T[ce-1];Si(Se.value)},Ti=T=>{T&&T.value!==Et.value&&mt.next(T.isAuto?T.value+"_auto":T.value),li.set(T)},Zi=()=>{const T=lt(yi),ce=lt(li),Se=lt(be);if(ce?.value===Et.value){const De=T.filter(Ge=>Ge.value!==Et.value).find(Ge=>Ge.value===Se)||T[1];Ti(De??{...Et})}else Ti({...Et,selected:!1})},si=(T,ce,Se=!0)=>{if(R({message:`seek to time, time: ${T}`}),at.next(ce),E.info.isLive$.getValue()){const De=E.info.duration$.getValue(),Ge=Math.min(0,De+T);E.seekTime(Ge,Se)}else{if(lt(Mn))return;E.seekTime(Un(T),Se)}},Ai=T=>{R({message:`seek to episode start time: ${T}`}),si(T,_t.SeekAction.EPISODE,!0)},hi=(T,ce)=>{R({message:`seek to percent, percent: ${T}`});const Se=Math.round(lt(Wt)*T);si(Se,ce,!1)},gi=T=>{R({message:`seek external, time: ${T}`}),at.next(_t.SeekAction.UNKNOWN),E.seekTime(E.info.isLive$.getValue()?-T:T)},un=T=>{R({message:`set auto quality limitation. Max: ${T.max??"none"}. Min: ${T.min??"none"}`}),E.setAutoQualityLimits(T)},tn=T=>{R({message:`seek external to episode start time: ${T}`}),si(T,_t.SeekAction.EPISODE,!0)},Gt=T=>{R({message:`set playback rate to: ${T}`}),E.setPlaybackRate(T)},Di=Oe(void 0),Ei=Oe(!1),Wi=T=>{R({message:`start scrubbing, progress: ${T}`}),Ei.set(!0),nn(T)},nn=T=>{Di.set(T)};let Gi,_i;const Xi=()=>{Di.set(void 0),Ei.set(!1)},Ji=()=>{clearTimeout(_i),clearTimeout(Gi),Gi=window.setTimeout(()=>{Xi()},500),de?.removeEventListener("seeked",Ji)},cn=T=>{R({message:`complete scrubbing, progress: ${T}`}),hi(T,_t.SeekAction.SLIDER),lt(Pt.ui.isMobile)&<(Pt.state.currentFormat$)===rt.VideoFormat.HLS?(de?.addEventListener("seeked",Ji),_i=window.setTimeout(()=>{Ji()},300)):Xi()},fn=$t([ft,Wt,Di],([T,ce,Se],De)=>{De(ie.isNonNullable(Se)?Se*ce:T)}),on=Oe({width:0,height:0}),ln=$t([on],([{width:T}],ce)=>{const Se=nd(T);ce(Se)}),xi=Oe(!1),dn=$t([ln,xi],([T,ce])=>ce?U.filter(Se=>!Se.hideOnMobile):U.filter(Se=>!Se.hideOnDesktopGridTypes?.includes(T))),x=$t([xi,Ve],([T,ce],Se)=>{Se(T&&ce)}),wt=()=>{at.next(_t.SeekAction.LIVE),R({message:"switch to active live"}),E.seekTime(0),E.info.playbackState$.getValue()!==rt.PlaybackState.PLAYING&&Pt.actions.internal.togglePlay()},Ii=()=>ue.skip(),_n=(T=!0)=>{ie.assertNonNullable(Pt),R({message:`switch from ads to video, callPlay: ${T}`}),ke.set(ze.Video),T&&E.play()},kn=()=>{ie.assertNonNullable(Pt),R({message:"switch from video to ads"}),Pt.actions.internal.pause(),gt(),ke.set(ze.Ads)},ee=T=>{ie.assertNonNullable(Pt);const ce=T?ze.WaitingLive:ze.Thumb;ke.set(ce)},Rn=T=>{ie.assertNonNullable(Pt);const ce=T?ze.WaitingRecord:ze.Thumb;ke.set(ce)},eo=()=>(ie.assertNonNullable(Pt),Vu(E,Ce,Pt)),zn=()=>(ie.assertNonNullable(Pt),Mu(E,Ce,Pt)),to=()=>de,io=()=>{R({message:"toggle chromecast"}),E.toggleChromecast()},Dn=T=>{ie.assertNonNullable(Pt);const ce=!T;if(lt(Pt.playerPhase)===ze.Ads){R({message:`pause ads, internalCall: ${ce}`}),ue.pause();return}R({message:`pause video, internalCall: ${ce}`}),ce&&r?.onPause?.(),E.pause()},Q=T=>{ie.assertNonNullable(Pt);const ce=!T;if(lt(Pt.playerPhase)===ze.Ads){R({message:`play ads, internalCall: ${ce}`}),ue.play();return}R({message:`play video, internalCall: ${ce}`}),ce&&r?.onPlay?.(),E.play()},Dt=(T,ce)=>{ie.assertNonNullable(Pt),R({message:`first start, show ads: ${T}, internalCall: ${!ce}`}),T?ke.set(ze.Ads):(ke.set(ze.Video),ce?E.play():Pt.actions.internal.togglePlay())},mn=()=>(R({message:"getting time codes"}),c),pn=()=>{const T=mn();if(!T||[0,1].includes(T.length))return;const ce=E.info.position$.getValue();return T.find(Se=>Se.time>ce)},Ln=T=>{let ce=T;ce||(ce=pn()),ce&&(R({message:"seek to next episode"}),si(ce.time,_t.SeekAction.EPISODE,!0))},no=()=>{const T=mn();if(!T||[0,1].includes(T.length))return;const ce=E.info.position$.getValue(),Se=T.findIndex(Ge=>Ge.time>ce),De=Se===-1?T.length-2:Se-2;if(!(De<0))return T[De]},po=T=>{let ce=T;ce||(ce=no()),ce&&(R({message:"seek to prev episode"}),si(ce.time,_t.SeekAction.EPISODE,!0))},ho=()=>(R({message:"getting preview thumbs data"}),f),go=async()=>{S?.isActive()?await S?.remove():await S?.request()},bo=(T=-90)=>{ne.update(ce=>ce+T)},On=Oe("tooltip_chapter_without_interactive"),Vn=Oe(P),Hn=$t([Vn],([T=[]])=>{const ce=[];for(let Se=0;Se<T.length;Se++){const{range:[De,Ge],subjects:It}=T[Se];Se===0&&De!==0&&ce.push({time:0,text:""}),ce.push({time:De/1e3,text:"",interactive:!0,completed:!It.length}),Ge!==1/0&&ce.push({time:Ge/1e3,text:"",interactive:!1,completed:!It.length})}return ce.length&&(ce.every(Se=>Se.completed)?On.set("tooltip_interactive_of_chapter_completed"):On.set("tooltip_disabled_when_interactive")),ce}),vo=T=>{const ce=lt(Vn);Vn.set(ce.map(Se=>({...Se,subjects:Se.subjects.filter(De=>De!==T)})))},Fn=Oe(!1),Mn=$t([ii,Vn,Fn],([T,ce,Se])=>{if(!C)return!1;if(Se)return!0;const De=T*1e3,Ge=ce?.find(({range:[It,Ot],subjects:Re})=>It<De&&De<Ot&&Re.length);return Ge&<(Ei)&&Xi(),!!Ge}),Un=T=>{if(!C)return T;const ce=lt(Hn),Se=lt(Wt),Ge=lt(ii)/Se,It=ce.find(Ot=>Ot.interactive&&!Ot.completed&&Ot.time>Ge);return typeof It?.time=="number"?Math.min(T,It.time-.05):T},_o=()=>{clearTimeout(_i),clearTimeout(Gi),Ne.unsubscribe(),nt.unsubscribe(),E.destroy(),ue.destroy(),te?.destroy(),q?.destroy(),Ae.unsubscribe()},Pt={interfaceLanguage$:be,initVideo:Ze,videoId:e,isClip:t,playerPhase:J,vsid:ye,state:{positionExact$:ft,positionWithScrubbing$:fn,duration$:Wt,playbackState$:it,isPlaying$:Hi,isLoaderVisible:Yi,bufferedProgress$:Ri,isLive$:Je,canChangePlaybackSpeed$:ei,isActiveLive$:Fi,isOldestAvailableLive$:Li,isRewindableLive$:Vi,isEnded$:At,muted$:Lt,volume$:ht,trafficSavingEnabled$:dt,autoQualityLimitingAvailable$:ti,currentQuality$:ui,isAutoQualityEnabled$:Ui,availableQualities$:Mi,currentPlaybackRate$:ci,availablePlaybackRates$:oi,currentSubtitle$:li,availableSubtitlesList$:yi,currentSubtitleCaptions$:Qt,isAutoSubtitleCaptionVisible$:Ni,chromecastState$:Le,chromecastDeviceName$:Ct,chromecastConnected$:zt,currentFormat$:Zt,throughputEstimation$:Ie,videoBitrate$:ni,videoSize$:bi,errorLog$:He,crashed$:Ve,isAudioAvailable$:Nt,isAudioDisabled:!!s,canDownload:ae.features.download&&!!l,availableSources$:mi,hasMpegSources$:vi,isInteractive:C,isInteractiveGraphEnabled:ae.features.interactiveGraph,isSeekToInteractiveEnable:ae.features.seekToInteractive,isPlayPrevChapterEnabled:ae.features.interactivePlayPrevChapter,interactiveEpisodes$:Hn,isInteractiveTime$:Mn,graphIsOpened$:Oe(!1),isInteractiveExpectation$:Fn,hasInteractiveBranches:N,playPrevChapterDisabledTooltip:se,seekToInteractiveDisabledTooltip$:On},ui:{controlsVisible:Oe(!1),touched:Oe(!1),controls:{tooltipPointerOffsetX:Oe(0),prevButton:Oe(void 0),playButton:Oe(void 0),replayButton:Oe(void 0),nextButton:Oe(void 0),playPrevChapterButton:Oe(void 0),seekToInteractiveButton:Oe(void 0),interactiveGraphButton:Oe(void 0),liveButton:Oe(void 0),time:Oe(void 0),episodes:Oe(void 0),volume:Oe(void 0),subtitles:Oe(void 0),settings:Oe(void 0),chromecast:Oe(void 0),pip:Oe(void 0),fullscreen:Oe(void 0),vkLogo:Oe(void 0),additionalButtons:U.length?U.reduce(T=>[...T,Oe(void 0)],[]):[],disabledControls$:Z},modals:{hotKeyMap:{show:Oe(!1),data:Oe({title:"",closeBtnText:"",groups:[]})}},isFullscreen:F,rotateAlpha:ne,isAutoplay:Oe(!1),contextMenuVisible:Oe(!1),debugPanelVisible:Oe(!1),playerSize:on,isMobile:xi,mobileNotReportControlHidden$:x,mobileUnmuteButtonExpanded:Oe(!1),mobileUnmuteButtonVisible:Oe(!1),icon3DVideoVisible:Oe(!1),settingsMenuVisible:Oe(!1),scrubbingInProgress:Ei,is3DVideo:Oe(!1),isPictureInPictureActive$:Tt,pictureInPictureType$:gn(y),clientInfo$:gn(fe),currentGridType$:ln,additionalButtons$:dn,interactiveHideMobileControls:Oe(!1)},ads:{position:Oe(0),duration:Oe(0),playbackState:Oe(Ft.INACTIVE),canSkip:Oe(!1),secondsToWatchBeforeSkip:Oe(0),postrollPassed:Oe(!1)},webApi:{pictureInPictureApi:S,annotationsApi:re},actions:{internal:{preload:Pi,firstStart:T=>Dt(T,!1),pause:()=>Dn(!1),togglePlay:Jt,toggleMuted:pi,setVolume:Ci,setQuality:Be,setTrafficSavingEnabled:T=>qi(T),setPlaybackRate:Si,incrementPlaybackRate:ji,decrementPlaybackRate:Qi,setSubtitle:Ti,toggleSubtitle:Zi,togglePictureInPicture:go,startScrubbing:Wi,progressScrubbing:nn,completeScrubbing:cn,toggleChromecast:io,switchToActiveLive:wt,switchFromAdsToVideo:_n,switchFromVideoToAds:kn,skipAd:Ii,setWaitingLive:ee,setWaitingRecord:Rn,getDebugTextData:eo,getDebugPanelData:zn,getVideoElement:to,seekTime:(T,ce,Se)=>si(T,ce,Se),clearDelayedBufferingCheckTimeout:Oi,seekEpisodeStartTime:Ai,seekToPercent:hi,getNextEpisode:pn,seekToNextEpisode:Ln,getPrevEpisode:no,seekToPrevEpisode:po,startLogging:$,stopLogging:ct,startCameraManualRotation:ot,stopCameraManualRotation:et,moveCameraFocusPX:Xe,holdCamera:ut,releaseCamera:st,getVideoEpisodes:mn,getPreviewThumbsData:ho,downloadVideo:je,addLanguage:pl,setLanguage:Ee,nextMovie:tt,videoRotate:bo,completeInteractiveRange:vo,correctSeekTimeToInteractive:Un,replayInteractive:V,onDisabledPlayPrevChapterClick:I,onDisabledSeekToInteractiveClick:L},external:{firstStart:T=>Dt(T,!0),play:()=>Q(!0),pause:()=>Dn(!0),seekTime:T=>gi(T),seekEpisodeStartTime:T=>tn(T),setPlaybackRate:T=>Gt(T),setAutoQualityLimits:T=>un(T),setMuted:T=>Xt(T,!0),setVolume:T=>Ci(T,T,!0)}},callbacks:r,setUiCallbacks:T=>{G={...T}},getAdmanWrapper:()=>ue,getLogger:()=>j,destroy:_o};return Pt},v1=(i,e,t,n)=>{if(!i)return;const o=i.getBoundingClientRect();for(const[s,l]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(s)){const r=t[s]?.getBoundingClientRect(),a=n&&!!r&&!!(r.right-r.left);l.set({positionStartX:0,positionEndX:0,left:a?Math.round(r.left-o.left):0,right:a?Math.round(r.right-o.left):0,top:a?Math.round(r.top-o.top):0,bottom:a?Math.round(r.bottom-o.top):0,isDisplayed:a})}};function y4(i){Ue(i,"v-1cwzjrb",".wrapper-bottom.v-1cwzjrb.v-1cwzjrb{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-1cwzjrb>.v-1cwzjrb{pointer-events:auto}.controls.v-1cwzjrb.v-1cwzjrb{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-1cwzjrb.v-1cwzjrb,.controls-right.v-1cwzjrb.v-1cwzjrb{display:flex;align-content:center}.controls-left.v-1cwzjrb.v-1cwzjrb{flex-grow:1;min-width:0}.controls-left.v-1cwzjrb > *:not(:first-child),.controls-right.v-1cwzjrb > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-1cwzjrb.v-1cwzjrb{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1cwzjrb.v-1cwzjrb{transition:none}.settings-menu.v-1cwzjrb.v-1cwzjrb{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function Ss(i,e,t){const n=i.slice();return n[186]=e[t].iconUrl,n[187]=e[t].ariaLabel,n[188]=e[t].testId,n[189]=e[t].onClick,n[190]=e[t].tooltip,n[192]=t,n}function Ts(i){let e,t,n;function o(l){i[156](l)}let s={disabled:!i[9],controlInfo:i[94].prevButton,tooltipContent:oe("tooltip_previous"),$$slots:{default:[C4]},$$scope:{ctx:i}};return i[23].prevButton!==void 0&&(s.ref=i[23].prevButton),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[0]&512&&(a.disabled=!l[9]),r[0]&4608|r[6]&128&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&8388608&&(t=!0,a.ref=l[23].prevButton,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function C4(i){let e,t;return e=new Mo({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&4096&&(s.click=n[12]),o[0]&512&&(s.disabled=!n[9]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function As(i){let e,t,n;function o(l){i[157](l)}let s={disabled:i[67],controlInfo:i[94].replayButton,tooltipContent:oe("tooltip_restart"),$$slots:{default:[P4]},$$scope:{ctx:i}};return i[23].replayButton!==void 0&&(s.ref=i[23].replayButton),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[2]&32&&(a.disabled=l[67]),r[2]&32|r[6]&128&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&8388608&&(t=!0,a.ref=l[23].replayButton,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function P4(i){let e,t;return e=new ol({props:{click:i[118],disabled:i[67]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[2]&32&&(s.disabled=n[67]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Es(i){let e,t,n;function o(l){i[158](l)}let s={controlInfo:i[94].playButton,tooltipContent:i[42],disabled:i[68],$$slots:{default:[S4]},$$scope:{ctx:i}};return i[23].playButton!==void 0&&(s.ref=i[23].playButton),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[1]&2048&&(a.tooltipContent=l[42]),r[2]&64&&(a.disabled=l[68]),r[0]&1073741824|r[2]&64|r[6]&128&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&8388608&&(t=!0,a.ref=l[23].playButton,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function S4(i){let e,t;return e=new nl({props:{isMobile:!1,isPlaying:i[30],click:i[79],disabled:i[68]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&1073741824&&(s.isPlaying=n[30]),o[2]&64&&(s.disabled=n[68]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Is(i){let e,t,n;function o(l){i[159](l)}let s={disabled:!i[8],controlInfo:i[94].nextButton,tooltipContent:oe("tooltip_next"),$$slots:{default:[T4]},$$scope:{ctx:i}};return i[23].nextButton!==void 0&&(s.ref=i[23].nextButton),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[0]&256&&(a.disabled=!l[8]),r[0]&2304|r[6]&128&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&8388608&&(t=!0,a.ref=l[23].nextButton,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function T4(i){let e,t;return e=new Mo({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&2048&&(s.click=n[11]),o[0]&256&&(s.disabled=!n[8]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function A4(i){let e,t,n,o,s=i[110]&&E4(i),l=i[109]&&L4(i),r=i[108]&&M4(i);return{c(){s&&s.c(),e=B(),l&&l.c(),t=B(),r&&r.c(),n=kt()},m(a,c){s&&s.m(a,c),w(a,e,c),l&&l.m(a,c),w(a,t,c),r&&r.m(a,c),w(a,n,c),o=!0},p(a,c){a[110]&&s.p(a,c),a[109]&&l.p(a,c),a[108]&&r.p(a,c)},i(a){o||(m(s),m(l),m(r),o=!0)},o(a){h(s),h(l),h(r),o=!1},d(a){a&&(k(e),k(t),k(n)),s&&s.d(a),l&&l.d(a),r&&r.d(a)}}}function E4(i){let e,t,n;function o(l){i[160](l)}let s={disabled:i[66],controlInfo:i[94].playPrevChapterButton,tooltipContent:oe("tooltip_interactive_go_back"),disabledTooltipContent:oe(i[112]),$$slots:{default:[I4]},$$scope:{ctx:i}};return i[23].playPrevChapterButton!==void 0&&(s.ref=i[23].playPrevChapterButton),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[2]&16&&(a.disabled=l[66]),r[0]&131072|r[2]&16|r[6]&128&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&8388608&&(t=!0,a.ref=l[23].playPrevChapterButton,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function I4(i){let e,t;return e=new d1({props:{disabled:i[66],click:i[17]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[2]&16&&(s.disabled=n[66]),o[0]&131072&&(s.click=n[17]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function L4(i){let e,t,n;function o(l){i[161](l)}let s={disabled:i[69],controlInfo:i[94].seekToInteractiveButton,tooltipContent:oe("tooltip_interactive_seek"),disabledTooltipContent:oe(i[72]),$$slots:{default:[V4]},$$scope:{ctx:i}};return i[23].seekToInteractiveButton!==void 0&&(s.ref=i[23].seekToInteractiveButton),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[2]&128&&(a.disabled=l[69]),r[2]&1024&&(a.disabledTooltipContent=oe(l[72])),r[0]&32768|r[2]&128|r[6]&128&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&8388608&&(t=!0,a.ref=l[23].seekToInteractiveButton,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function V4(i){let e,t;return e=new c1({props:{disabled:i[69],click:i[15]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[2]&128&&(s.disabled=n[69]),o[0]&32768&&(s.click=n[15]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function M4(i){let e,t,n;function o(l){i[162](l)}let s={controlInfo:i[94].interactiveGraphButton,tooltipContent:i[43],disabled:i[70],$$slots:{default:[B4]},$$scope:{ctx:i}};return i[23].interactiveGraphButton!==void 0&&(s.ref=i[23].interactiveGraphButton),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[1]&4096&&(a.tooltipContent=l[43]),r[2]&256&&(a.disabled=l[70]),r[0]&134283264|r[2]&256|r[6]&128&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&8388608&&(t=!0,a.ref=l[23].interactiveGraphButton,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function B4(i){let e,t;return e=new f1({props:{click:i[16],graphIsOpened:i[27],disabled:i[70]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&65536&&(s.click=n[16]),o[0]&134217728&&(s.graphIsOpened=n[27]),o[2]&256&&(s.disabled=n[70]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ls(i){let e,t,n;function o(l){i[163](l)}let s={controlInfo:i[94].liveButton,tooltipContent:i[44],$$slots:{default:[N4]},$$scope:{ctx:i}};return i[23].liveButton!==void 0&&(s.ref=i[23].liveButton),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[1]&8192&&(a.tooltipContent=l[44]),r[0]&2097152|r[6]&128&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&8388608&&(t=!0,a.ref=l[23].liveButton,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function N4(i){let e,t;return e=new l1({props:{isActiveLive:i[21],click:i[115],isMobile:!1}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&2097152&&(s.isActiveLive=n[21]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Vs(i){let e,t,n;function o(l){i[164](l)}let s={isMobile:!1,showDuration:i[49],position:i[4]?i[73]:i[74],duration:i[4]?i[75]:i[76]};return i[23].time!==void 0&&(s.ref=i[23].time),e=new xa({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[1]&262144&&(a.showDuration=l[49]),r[0]&16|r[2]&6144&&(a.position=l[4]?l[73]:l[74]),r[0]&16|r[2]&24576&&(a.duration=l[4]?l[75]:l[76]),!t&&r[0]&8388608&&(t=!0,a.ref=l[23].time,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function Ms(i){let e,t;return e=new u1({props:{position:i[74],duration:i[76],timeCodes:i[95]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[2]&4096&&(s.position=n[74]),o[2]&16384&&(s.duration=n[76]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function R4(i){let e,t,n=i[20]&&Ms(i);return{c(){n&&n.c(),e=kt()},m(o,s){n&&n.m(o,s),w(o,e,s),t=!0},p(o,s){o[20]?n?(n.p(o,s),s[0]&1048576&&m(n,1)):(n=Ms(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(pe(),h(n,1,1,()=>{n=null}),he())},i(o){t||(m(n),t=!0)},o(o){h(n),t=!1},d(o){o&&k(e),n&&n.d(o)}}}function z4(i){let e,t;return e=new m1({props:{iconUrl:i[186],ariaLabel:i[187]??i[190],testId:i[188],onClick:i[189]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&16777216&&(s.iconUrl=n[186]),o[0]&16777216&&(s.ariaLabel=n[187]??n[190]),o[0]&16777216&&(s.testId=n[188]),o[0]&16777216&&(s.onClick=n[189]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Bs(i){let e,t;return e=new Ut({props:{tooltipContent:i[190],controlInfo:i[94].additionalButtons[i[192]],width:40,$$slots:{default:[z4]},$$scope:{ctx:i}}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&16777216&&(s.tooltipContent=n[190]),o[0]&16777216|o[6]&128&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ns(i){let e,t,n;function o(l){i[167](l)}let s={disabled:!i[6],controlInfo:i[94].vkLogo,tooltipContent:i[45],$$slots:{default:[D4]},$$scope:{ctx:i}};return i[23].vkLogo!==void 0&&(s.ref=i[23].vkLogo),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.disabled=!l[6]),r[1]&16384&&(a.tooltipContent=l[45]),r[0]&192|r[6]&128&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&8388608&&(t=!0,a.ref=l[23].vkLogo,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function D4(i){let e,t;return e=new n1({props:{click:i[80],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&64&&(s.logoClickable=n[6]),o[0]&128&&(s.videoLogoUrl=n[7]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function O4(i){let e,t;return e=new ud({props:{isAudioAvailable:i[71],click:i[117]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[2]&512&&(s.isAudioAvailable=n[71]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Rs(i){let e,t,n;function o(l){i[169](l)}let s={controlInfo:i[94].subtitles,tooltipContent:i[46],$$slots:{default:[H4]},$$scope:{ctx:i}};return i[23].subtitles!==void 0&&(s.ref=i[23].subtitles),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[1]&32768&&(a.tooltipContent=l[46]),r[0]&262144|r[6]&128&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&8388608&&(t=!0,a.ref=l[23].subtitles,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function H4(i){let e,t;return e=new C0({props:{isSubtitlesEnabled:i[18],click:i[81]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&262144&&(s.isSubtitlesEnabled=n[18]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function zs(i){let e,t,n;return t=new Ja({props:{supportLink:i[10],playerControlsHeight:i[41]?.clientHeight,returnFocus:i[14]}}),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","settings-menu v-1cwzjrb")},m(o,s){w(o,e,s),z(t,e,null),n=!0},p(o,s){const l={};s[0]&1024&&(l.supportLink=o[10]),s[1]&1024&&(l.playerControlsHeight=o[41]?.clientHeight),s[0]&16384&&(l.returnFocus=o[14]),t.$set(l)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function Ds(i){let e,t,n;function o(l){i[170](l)}let s={controlInfo:i[94].settings,tooltipContent:i[78]?void 0:oe("tooltip_settings_off"),$$slots:{default:[F4]},$$scope:{ctx:i}};return i[23].settings!==void 0&&(s.ref=i[23].settings),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[2]&65536&&(a.tooltipContent=l[78]?void 0:oe("tooltip_settings_off")),r[6]&128&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&8388608&&(t=!0,a.ref=l[23].settings,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function F4(i){let e,t;return e=new el({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Os(i){let e,t,n;function o(l){i[171](l)}let s={controlInfo:i[94].fullscreen,tooltipContent:i[47],$$slots:{default:[U4]},$$scope:{ctx:i}};return i[23].fullscreen!==void 0&&(s.ref=i[23].fullscreen),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.tooltipContent=l[47]),r[0]&67117056|r[6]&128&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&8388608&&(t=!0,a.ref=l[23].fullscreen,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function U4(i){let e,t;return e=new t1({props:{click:i[13],isFullscreen:i[26]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&8192&&(s.click=n[13]),o[0]&67108864&&(s.isFullscreen=n[26]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Hs(i){let e,t,n;function o(l){i[172](l)}let s={controlInfo:i[94].chromecast,tooltipContent:i[48],$$slots:{default:[q4]},$$scope:{ctx:i}};return i[23].chromecast!==void 0&&(s.ref=i[23].chromecast),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[1]&131072&&(a.tooltipContent=l[48]),r[0]&33554432|r[6]&128&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&8388608&&(t=!0,a.ref=l[23].chromecast,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function q4(i){let e,t;return e=new o1({props:{isMobile:!1,state:i[25],click:i[114]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&33554432&&(s.state=n[25]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function j4(i){let e,t,n,o,s,l,r,a,c,f,p,b,g,v,C,P,V,I,L,N,se,U,K,Y,ae,E,j,ue,te;t=new a1({props:{isHidden:!i[40],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[28]}});let q=i[34]&&Ts(i),S=i[31]&&As(i),re=i[32]&&Es(i),R=i[33]&&Is(i),Ce=i[107]&&A4(i),de=!i[4]&&i[29]&&Ls(i),G=i[19]&&Vs(i);function fe(J){i[165](J)}let ye={className:"w-max",disabled:!i[20],controlInfo:i[94].episodes,tooltipContent:oe("tooltip_episodes"),$$slots:{default:[R4]},$$scope:{ctx:i}};i[23].episodes!==void 0&&(ye.ref=i[23].episodes),g=new Ut({props:ye}),Me.push(()=>Ye(g,"ref",fe));let F=Ht(i[24]),le=[];for(let J=0;J<F.length;J+=1)le[J]=Bs(Ss(i,F,J));const y=J=>h(le[J],1,1,()=>{le[J]=null});let ne=i[38]&&Ns(i);function He(J){i[168](J)}let Ae={$$slots:{default:[O4]},$$scope:{ctx:i}};i[23].volume!==void 0&&(Ae.ref=i[23].volume),N=new Ut({props:Ae}),Me.push(()=>Ye(N,"ref",He));let Ve=i[36]&&Rs(i),Ee=!i[77]&&!i[4]&&zs(i),be=i[37]&&Ds(i),Pe=i[39]&&Os(i),ke=i[35]&&Hs(i);return{c(){e=_("div"),O(t.$$.fragment),n=B(),o=_("div"),s=_("div"),q&&q.c(),l=B(),S&&S.c(),r=B(),re&&re.c(),a=B(),R&&R.c(),c=B(),Ce&&Ce.c(),f=B(),de&&de.c(),p=B(),G&&G.c(),b=B(),O(g.$$.fragment),P=B(),V=_("div");for(let J=0;J<le.length;J+=1)le[J].c();I=B(),ne&&ne.c(),L=B(),O(N.$$.fragment),U=B(),Ve&&Ve.c(),K=B(),Ee&&Ee.c(),Y=B(),be&&be.c(),ae=B(),Pe&&Pe.c(),E=B(),ke&&ke.c(),u(s,"class","controls-left v-1cwzjrb"),Xn(()=>i[166].call(s)),u(V,"class","controls-right v-1cwzjrb"),u(o,"class","controls v-1cwzjrb"),u(e,"class","wrapper-bottom v-1cwzjrb"),A(e,"hidden",i[1]),A(e,"controls-hidden",!i[3]),A(e,"no-smooth",i[2])},m(J,Z){w(J,e,Z),z(t,e,null),d(e,n),d(e,o),d(o,s),q&&q.m(s,null),d(s,l),S&&S.m(s,null),d(s,r),re&&re.m(s,null),d(s,a),R&&R.m(s,null),d(s,c),Ce&&Ce.m(s,null),d(s,f),de&&de.m(s,null),d(s,p),G&&G.m(s,null),d(s,b),z(g,s,null),C=Qo(s,i[166].bind(s)),d(o,P),d(o,V);for(let Ze=0;Ze<le.length;Ze+=1)le[Ze]&&le[Ze].m(V,null);d(V,I),ne&&ne.m(V,null),d(V,L),z(N,V,null),d(V,U),Ve&&Ve.m(V,null),d(V,K),Ee&&Ee.m(V,null),d(V,Y),be&&be.m(V,null),d(V,ae),Pe&&Pe.m(V,null),d(V,E),ke&&ke.m(V,null),i[173](o),i[174](e),j=!0,ue||(te=[Te(e,"pointermove",i[116]),Te(e,"pointerenter",i[116])],ue=!0)},p(J,Z){const Ze={};Z[1]&512&&(Ze.isHidden=!J[40]),Z[0]&16&&(Ze.isAds=J[4]),Z[0]&32&&(Ze.canRewindLive=J[5]),Z[0]&268435456&&(Ze.isRewindableLive=J[28]),t.$set(Ze),J[34]?q?(q.p(J,Z),Z[1]&8&&m(q,1)):(q=Ts(J),q.c(),m(q,1),q.m(s,l)):q&&(pe(),h(q,1,1,()=>{q=null}),he()),J[31]?S?(S.p(J,Z),Z[1]&1&&m(S,1)):(S=As(J),S.c(),m(S,1),S.m(s,r)):S&&(pe(),h(S,1,1,()=>{S=null}),he()),J[32]?re?(re.p(J,Z),Z[1]&2&&m(re,1)):(re=Es(J),re.c(),m(re,1),re.m(s,a)):re&&(pe(),h(re,1,1,()=>{re=null}),he()),J[33]?R?(R.p(J,Z),Z[1]&4&&m(R,1)):(R=Is(J),R.c(),m(R,1),R.m(s,c)):R&&(pe(),h(R,1,1,()=>{R=null}),he()),J[107]&&Ce.p(J,Z),!J[4]&&J[29]?de?(de.p(J,Z),Z[0]&536870928&&m(de,1)):(de=Ls(J),de.c(),m(de,1),de.m(s,p)):de&&(pe(),h(de,1,1,()=>{de=null}),he()),J[19]?G?(G.p(J,Z),Z[0]&524288&&m(G,1)):(G=Vs(J),G.c(),m(G,1),G.m(s,b)):G&&(pe(),h(G,1,1,()=>{G=null}),he());const $e={};if(Z[0]&1048576&&($e.disabled=!J[20]),Z[0]&1048576|Z[2]&20480|Z[6]&128&&($e.$$scope={dirty:Z,ctx:J}),!v&&Z[0]&8388608&&(v=!0,$e.ref=J[23].episodes,Ke(()=>v=!1)),g.$set($e),Z[0]&16777216|Z[3]&2){F=Ht(J[24]);let qe;for(qe=0;qe<F.length;qe+=1){const at=Ss(J,F,qe);le[qe]?(le[qe].p(at,Z),m(le[qe],1)):(le[qe]=Bs(at),le[qe].c(),m(le[qe],1),le[qe].m(V,I))}for(pe(),qe=F.length;qe<le.length;qe+=1)y(qe);he()}J[38]?ne?(ne.p(J,Z),Z[1]&128&&m(ne,1)):(ne=Ns(J),ne.c(),m(ne,1),ne.m(V,L)):ne&&(pe(),h(ne,1,1,()=>{ne=null}),he());const tt={};Z[2]&512|Z[6]&128&&(tt.$$scope={dirty:Z,ctx:J}),!se&&Z[0]&8388608&&(se=!0,tt.ref=J[23].volume,Ke(()=>se=!1)),N.$set(tt),J[36]?Ve?(Ve.p(J,Z),Z[1]&32&&m(Ve,1)):(Ve=Rs(J),Ve.c(),m(Ve,1),Ve.m(V,K)):Ve&&(pe(),h(Ve,1,1,()=>{Ve=null}),he()),!J[77]&&!J[4]?Ee?(Ee.p(J,Z),Z[0]&16|Z[2]&32768&&m(Ee,1)):(Ee=zs(J),Ee.c(),m(Ee,1),Ee.m(V,Y)):Ee&&(pe(),h(Ee,1,1,()=>{Ee=null}),he()),J[37]?be?(be.p(J,Z),Z[1]&64&&m(be,1)):(be=Ds(J),be.c(),m(be,1),be.m(V,ae)):be&&(pe(),h(be,1,1,()=>{be=null}),he()),J[39]?Pe?(Pe.p(J,Z),Z[1]&256&&m(Pe,1)):(Pe=Os(J),Pe.c(),m(Pe,1),Pe.m(V,E)):Pe&&(pe(),h(Pe,1,1,()=>{Pe=null}),he()),J[35]?ke?(ke.p(J,Z),Z[1]&16&&m(ke,1)):(ke=Hs(J),ke.c(),m(ke,1),ke.m(V,null)):ke&&(pe(),h(ke,1,1,()=>{ke=null}),he()),(!j||Z[0]&2)&&A(e,"hidden",J[1]),(!j||Z[0]&8)&&A(e,"controls-hidden",!J[3]),(!j||Z[0]&4)&&A(e,"no-smooth",J[2])},i(J){if(!j){m(t.$$.fragment,J),m(q),m(S),m(re),m(R),m(Ce),m(de),m(G),m(g.$$.fragment,J);for(let Z=0;Z<F.length;Z+=1)m(le[Z]);m(ne),m(N.$$.fragment,J),m(Ve),m(Ee),m(be),m(Pe),m(ke),j=!0}},o(J){h(t.$$.fragment,J),h(q),h(S),h(re),h(R),h(Ce),h(de),h(G),h(g.$$.fragment,J),le=le.filter(Boolean);for(let Z=0;Z<le.length;Z+=1)h(le[Z]);h(ne),h(N.$$.fragment,J),h(Ve),h(Ee),h(be),h(Pe),h(ke),j=!1},d(J){J&&k(e),D(t),q&&q.d(),S&&S.d(),re&&re.d(),R&&R.d(),Ce&&Ce.d(),de&&de.d(),G&&G.d(),D(g),C(),rn(le,J),ne&&ne.d(),D(N),Ve&&Ve.d(),Ee&&Ee.d(),be&&be.d(),Pe&&Pe.d(),ke&&ke.d(),i[173](null),i[174](null),ue=!1,qt(te)}}}function Z4(i,e,t){let n,o,s,l,r,a,c,f,p,b,g,v,C,P,V,I,L,N,se,U,K,Y,ae,E,j,ue,te,q=H,S=()=>(q(),q=Kt(Y,X=>t(131,te=X)),Y),re,R=H,Ce=()=>(R(),R=Kt(K,X=>t(132,re=X)),K),de,G=H,fe=()=>(G(),G=Kt(U,X=>t(133,de=X)),U),ye,F=H,le=()=>(F(),F=Kt(se,X=>t(134,ye=X)),se),y,ne=H,He=()=>(ne(),ne=Kt(N,X=>t(135,y=X)),N),Ae,Ve=H,Ee=()=>(Ve(),Ve=Kt(L,X=>t(136,Ae=X)),L),be,Pe=H,ke=()=>(Pe(),Pe=Kt(I,X=>t(137,be=X)),I),J,Z=H,Ze=()=>(Z(),Z=Kt(V,X=>t(138,J=X)),V),$e,tt=H,qe=()=>(tt(),tt=Kt(P,X=>t(139,$e=X)),P),at,mt=H,Bt=()=>(mt(),mt=Kt(C,X=>t(140,at=X)),C),gt,Ne=H,nt=()=>(Ne(),Ne=Kt(v,X=>t(141,gt=X)),v),$,ct=H,ot=()=>(ct(),ct=Kt(g,X=>t(142,$=X)),g),et,Xe=H,ut=()=>(Xe(),Xe=Kt(b,X=>t(143,et=X)),b),st,ft=H,Tt=()=>(ft(),ft=Kt(p,X=>t(144,st=X)),p),it,jt=H,At=()=>(jt(),jt=Kt(f,X=>t(145,it=X)),f),Je,ei=H,vt=()=>(ei(),ei=Kt(c,X=>t(146,Je=X)),c),ht,Lt,dt,ti,me,we,Le,Ct,Zt,Ie,ni,bi,Yt,Nt,Rt,ki,Yi,Oi,Wt,Hi,Fi;i.$$.on_destroy.push(()=>q()),i.$$.on_destroy.push(()=>R()),i.$$.on_destroy.push(()=>G()),i.$$.on_destroy.push(()=>F()),i.$$.on_destroy.push(()=>ne()),i.$$.on_destroy.push(()=>Ve()),i.$$.on_destroy.push(()=>Pe()),i.$$.on_destroy.push(()=>Z()),i.$$.on_destroy.push(()=>tt()),i.$$.on_destroy.push(()=>mt()),i.$$.on_destroy.push(()=>Ne()),i.$$.on_destroy.push(()=>ct()),i.$$.on_destroy.push(()=>Xe()),i.$$.on_destroy.push(()=>ft()),i.$$.on_destroy.push(()=>jt()),i.$$.on_destroy.push(()=>ei());let{bottomHidden:Li}=e,{bottomNoSmooth:ii}=e,{showControls:Vi}=e,{controlsElementRef:zt=void 0}=e,{isAds:Vt=!1}=e,{canRewindLive:Ui}=e,{logoClickable:wi}=e,{logoHidden:ui}=e,{videoLogoUrl:Mi}=e,{showNextPrevButtons:ci}=e,{nextButtonActive:oi}=e,{prevButtonActive:fi}=e,{isOneVideoPlaylist:di=!1}=e,{supportLink:Et}=e,{customFullscreenSupported:li=!0}=e,{playNextVideo:yi}=e,{playPrevVideo:Bi}=e,{repeatPlaylist:Qt}=e,{toggleFullscreen:Ni}=e,{returnFocus:Ri}=e,{seekToInteractive:mi}=e,{toggleGraph:vi}=e,{playPrevChapter:zi}=e;const je=St(),pi=Ki(),Ci=je.actions.internal.toggleMuted,Xt=je.actions.internal.togglePlay,Pi=je.actions.internal.pause,Jt=je.actions.internal.toggleSubtitle,Be=je.callbacks?.onAudioDoesNotExistHint,qi=je.callbacks?.onAudioDisabledHint,Si=je.state.duration$;W(i,Si,X=>t(76,Wt=X));const ji=je.state.positionWithScrubbing$;W(i,ji,X=>t(74,Yi=X));const Qi=je.state.playbackState$;W(i,Qi,X=>t(147,ti=X));const Ti=je.state.chromecastConnected$;W(i,Ti,X=>t(77,Hi=X));const Zi=je.state.isAudioAvailable$;W(i,Zi,X=>t(71,ae=X));const si=je.state.isAudioDisabled,Ai=je.state.isEnded$;W(i,Ai,X=>t(152,ni=X));const hi=je.state.isLive$;W(i,hi,X=>t(29,Le=X));const gi=je.state.isActiveLive$;W(i,gi,X=>t(148,me=X));const un=je.state.isRewindableLive$;W(i,un,X=>t(28,we=X));const tn=je.ui.isPictureInPictureActive$;W(i,tn,X=>t(150,Zt=X));const Gt=je.ui.pictureInPictureType$;W(i,Gt,X=>t(149,Ct=X));const Di=je.ui.settingsMenuVisible;W(i,Di,X=>t(78,Fi=X));const Ei=je.ui.controls,Wi=je.actions.internal.getVideoEpisodes(),nn=je.state.chromecastState$;W(i,nn,X=>t(25,ht=X));const Gi=je.state.availableSubtitlesList$;W(i,Gi,X=>t(151,Ie=X));const _i=je.state.currentSubtitle$;W(i,_i,X=>t(153,bi=X));const Xi=Ei.disabledControls$;W(i,Xi,X=>t(155,Nt=X));const Ji=je.ads.duration;W(i,Ji,X=>t(75,Oi=X));const cn=je.ads.position;W(i,cn,X=>t(73,ki=X));const fn=je.ads.playbackState;W(i,fn,X=>t(154,Yt=X));const on=je.ui.isFullscreen;W(i,on,X=>t(26,Lt=X));const ln=je.ui.playerSize;W(i,ln,X=>t(129,E=X));const xi=je.ui.currentGridType$;W(i,xi,X=>t(130,j=X));const dn=je.ui.additionalButtons$;W(i,dn,X=>t(24,ue=X));const x=je.actions.internal.getVideoElement,wt=je.actions.internal.replayInteractive,Ii=je.state.isInteractive,_n=je.state.isInteractiveGraphEnabled,kn=je.state.isSeekToInteractiveEnable,ee=je.state.isPlayPrevChapterEnabled,Rn=je.state.graphIsOpened$;W(i,Rn,X=>t(27,dt=X));const eo=je.state.playPrevChapterDisabledTooltip,zn=je.state.seekToInteractiveDisabledTooltip$;W(i,zn,X=>t(72,Rt=X));const to=()=>je.actions.internal.toggleChromecast(),io=()=>je.actions.internal.switchToActiveLive(),Dn=X=>{je.ui.controls.tooltipPointerOffsetX.update(()=>Ot?Math.min(Math.max(X.x-Ot.x,0),Ot.width):0)};let Q,Dt,mn,pn,Ln,no,po,ho,go,bo,On,Vn,Hn,vo,Fn,Mn,Un,_o,Pt,T,ce,Se,De,Ge,It,Ot;const Re={};let xt,hn,oo,lo;const M1=ie.throttleFn(v1,fl,{leading:!1}),B1=ie.throttleFn(()=>{zt&&(Ot=zt.getBoundingClientRect())},fl,{leading:!1});function N1(){si?qi?.():ae?Ci():Be?.()}const R1=Ii?wt:di?Xt:Qt;function z1(X){i.$$.not_equal(Re.prevButton,X)&&(Re.prevButton=X,t(23,Re))}function D1(X){i.$$.not_equal(Re.replayButton,X)&&(Re.replayButton=X,t(23,Re))}function O1(X){i.$$.not_equal(Re.playButton,X)&&(Re.playButton=X,t(23,Re))}function H1(X){i.$$.not_equal(Re.nextButton,X)&&(Re.nextButton=X,t(23,Re))}function F1(X){i.$$.not_equal(Re.playPrevChapterButton,X)&&(Re.playPrevChapterButton=X,t(23,Re))}function U1(X){i.$$.not_equal(Re.seekToInteractiveButton,X)&&(Re.seekToInteractiveButton=X,t(23,Re))}function q1(X){i.$$.not_equal(Re.interactiveGraphButton,X)&&(Re.interactiveGraphButton=X,t(23,Re))}function j1(X){i.$$.not_equal(Re.liveButton,X)&&(Re.liveButton=X,t(23,Re))}function Z1(X){i.$$.not_equal(Re.time,X)&&(Re.time=X,t(23,Re))}function W1(X){i.$$.not_equal(Re.episodes,X)&&(Re.episodes=X,t(23,Re))}function G1(){It=this.clientWidth,t(22,It)}function K1(X){i.$$.not_equal(Re.vkLogo,X)&&(Re.vkLogo=X,t(23,Re))}function Y1(X){i.$$.not_equal(Re.volume,X)&&(Re.volume=X,t(23,Re))}function Q1(X){i.$$.not_equal(Re.subtitles,X)&&(Re.subtitles=X,t(23,Re))}function X1(X){i.$$.not_equal(Re.settings,X)&&(Re.settings=X,t(23,Re))}function J1(X){i.$$.not_equal(Re.fullscreen,X)&&(Re.fullscreen=X,t(23,Re))}function x1(X){i.$$.not_equal(Re.chromecast,X)&&(Re.chromecast=X,t(23,Re))}function $1(X){Me[X?"unshift":"push"](()=>{Mn=X,t(41,Mn)})}function eu(X){Me[X?"unshift":"push"](()=>{zt=X,t(0,zt)})}return i.$$set=X=>{"bottomHidden"in X&&t(1,Li=X.bottomHidden),"bottomNoSmooth"in X&&t(2,ii=X.bottomNoSmooth),"showControls"in X&&t(3,Vi=X.showControls),"controlsElementRef"in X&&t(0,zt=X.controlsElementRef),"isAds"in X&&t(4,Vt=X.isAds),"canRewindLive"in X&&t(5,Ui=X.canRewindLive),"logoClickable"in X&&t(6,wi=X.logoClickable),"logoHidden"in X&&t(119,ui=X.logoHidden),"videoLogoUrl"in X&&t(7,Mi=X.videoLogoUrl),"showNextPrevButtons"in X&&t(120,ci=X.showNextPrevButtons),"nextButtonActive"in X&&t(8,oi=X.nextButtonActive),"prevButtonActive"in X&&t(9,fi=X.prevButtonActive),"isOneVideoPlaylist"in X&&t(121,di=X.isOneVideoPlaylist),"supportLink"in X&&t(10,Et=X.supportLink),"customFullscreenSupported"in X&&t(122,li=X.customFullscreenSupported),"playNextVideo"in X&&t(11,yi=X.playNextVideo),"playPrevVideo"in X&&t(12,Bi=X.playPrevVideo),"repeatPlaylist"in X&&t(123,Qt=X.repeatPlaylist),"toggleFullscreen"in X&&t(13,Ni=X.toggleFullscreen),"returnFocus"in X&&t(14,Ri=X.returnFocus),"seekToInteractive"in X&&t(15,mi=X.seekToInteractive),"toggleGraph"in X&&t(16,vi=X.toggleGraph),"playPrevChapter"in X&&t(17,zi=X.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[5]&1&&t(128,n=Nt.has(bt.EPISODE_BUTTON)),i.$$.dirty[5]&1&&t(70,o=Nt.has(bt.GRAPH_BUTTON)),i.$$.dirty[5]&1&&t(69,s=Nt.has(bt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[5]&1&&t(68,l=Nt.has(bt.PLAY_BUTTON)),i.$$.dirty[5]&1&&t(67,r=Nt.has(bt.REPLAY_BUTTON)),i.$$.dirty[5]&1&&t(66,a=Nt.has(bt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[4]&1082130432&&t(30,Q=Vt?Yt===Ft.PLAYING:ti===rt.PlaybackState.PLAYING),i.$$.dirty[4]&536870912&&t(18,Dt=bi.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[4]&268435456&&t(31,mn=ni&&!Vt||Ii),i.$$.dirty[0]&16|i.$$.dirty[4]&268435456&&t(32,pn=!ni||Ii||Vt),i.$$.dirty[4]&64&&t(124,Ln=sn(j,exports.GridTypes.M)),i.$$.dirty[0]&272|i.$$.dirty[3]&134217728|i.$$.dirty[4]&64&&t(33,no=ci&&sn(j,exports.GridTypes.M)&&!Vt&&oi),i.$$.dirty[0]&528|i.$$.dirty[3]&134217728|i.$$.dirty[4]&64&&t(34,po=ci&&sn(j,exports.GridTypes.M)&&!Vt&&fi),i.$$.dirty[0]&33554432|i.$$.dirty[4]&100663360&&t(35,ho=ht!==rt.ChromecastState.NOT_AVAILABLE&&!(Zt&&Ct===Cn.DocumentPictureInPicture)&&sn(j,exports.GridTypes.M)&&!Ii),i.$$.dirty[4]&134217792&&t(36,go=Ie.length>0&&sn(j,exports.GridTypes.M)),i.$$.dirty[4]&64&&t(37,bo=sn(j,exports.GridTypes.S)),i.$$.dirty[3]&67108864&&t(38,On=!ui),i.$$.dirty[3]&603979776|i.$$.dirty[4]&100663360&&t(39,Vn=pi.features.fullscreen&&(ui||sn(j,exports.GridTypes.S))&&!(Zt&&Ct===Cn.DocumentPictureInPicture)&&(Ii?li:!0)),i.$$.dirty[0]&536870928&&t(19,Hn=(!Le||Vt)&&!(pi.features.interactiveHideTime&&Ii)),i.$$.dirty[4]&32&&t(40,vo=E.width>100),i.$$.dirty[0]&536870928|i.$$.dirty[4]&17&&t(20,Fn=!Vt&&!Le&&!!Wi?.length&&Ln&&!n),i.$$.dirty[0]&268435456|i.$$.dirty[4]&16777216&&t(21,Un=!we||me),i.$$.dirty[4]&8388608&&t(42,_o=ti===rt.PlaybackState.PLAYING?oe("tooltip_pause"):oe("tooltip_play")),i.$$.dirty[0]&134217728&&t(43,Pt=oe(dt?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[0]&2097152&&t(44,T=Un?"":oe("tooltip_live")),i.$$.dirty[0]&262144&&t(46,Se=oe(Dt?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[0]&67108864&&t(47,De=oe(Lt?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[0]&33554432&&t(48,Ge=ht===rt.ChromecastState.CONNECTED?oe("tooltip_chromecast_on"):oe("tooltip_chromecast_off")),i.$$.dirty[0]&16777216|i.$$.dirty[4]&8388480&&t(125,xt={prevButton:Je?Je.right-Je.left:0,replayButton:it?it.right-it.left:0,playButton:st?st.right-st.left:0,nextButton:et?et.right-et.left:0,playPrevChapterButton:$?$.right-$.left:0,seekToInteractiveButton:gt?gt.right-gt.left:0,interactiveGraphButton:at?at.right-at.left:0,liveButton:$e?$e.right-$e.left:0,time:J?J.right-J.left:0,episodes:be?be.right-be.left:0,vkLogo:Ae?Ae.right-Ae.left:0,volume:y?y.right-y.left:0,subtitles:ye?ye.right-ye.left:0,settings:de?de.right-de.left:0,fullscreen:re?re.right-re.left:0,chromecast:te?te.right-te.left:0,additionalButtons:ue.length?ue.reduce(X=>[...X,40],[]):[]}),i.$$.dirty[4]&6&&(!hn||hn<xt.time)&&t(126,hn=xt.time),i.$$.dirty[0]&5767168|i.$$.dirty[4]&70){let X=0;Fn&&(sn(j,exports.GridTypes.XL)?X=xt.time:X=Eu);const tu=xt.prevButton+xt.playButton+xt.nextButton+xt.seekToInteractiveButton+xt.interactiveGraphButton+xt.liveButton+hn+X;t(127,oo=Hn&&It>=tu)}i.$$.dirty[4]&72&&t(49,lo=oo&&sn(j,exports.GridTypes.M)),i.$$.dirty[0]&8388616|i.$$.dirty[4]&32&&(B1(),M1(x(),Ei,Re,Vi))},t(45,ce=pi.logoType===Jn.VK_VIDEO?oe("tooltip_vk_video_logo"):oe("tooltip_vk_logo")),vt(t(65,{prevButton:c,replayButton:f,playButton:p,nextButton:b,playPrevChapterButton:g,seekToInteractiveButton:v,interactiveGraphButton:C,liveButton:P,time:V,episodes:I,vkLogo:L,volume:N,subtitles:se,settings:U,fullscreen:K,chromecast:Y}=Ei,c,At(t(64,f)),Tt(t(63,p)),ut(t(62,b)),ot(t(61,g)),nt(t(60,v)),Bt(t(59,C)),qe(t(58,P)),Ze(t(57,V)),ke(t(56,I)),Ee(t(55,L)),He(t(54,N)),le(t(53,se)),fe(t(52,U)),Ce(t(51,K)),S(t(50,Y)))),[zt,Li,ii,Vi,Vt,Ui,wi,Mi,oi,fi,Et,yi,Bi,Ni,Ri,mi,vi,zi,Dt,Hn,Fn,Un,It,Re,ue,ht,Lt,dt,we,Le,Q,mn,pn,no,po,ho,go,bo,On,Vn,vo,Mn,_o,Pt,T,ce,Se,De,Ge,lo,Y,K,U,se,N,L,I,V,P,C,v,g,b,p,f,c,a,r,l,s,o,ae,Rt,ki,Yi,Oi,Wt,Hi,Fi,Xt,Pi,Jt,Si,ji,Qi,Ti,Zi,Ai,hi,gi,un,tn,Gt,Di,Ei,Wi,nn,Gi,_i,Xi,Ji,cn,fn,on,ln,xi,dn,Ii,_n,kn,ee,Rn,eo,zn,to,io,Dn,N1,R1,ui,ci,di,li,Qt,Ln,xt,hn,oo,n,E,j,te,re,de,ye,y,Ae,be,J,$e,at,gt,$,et,st,it,Je,ti,me,Ct,Zt,Ie,ni,bi,Yt,Nt,z1,D1,O1,H1,F1,U1,q1,j1,Z1,W1,G1,K1,Y1,Q1,X1,J1,x1,$1,eu]}class W4 extends _e{constructor(e){super(),ve(this,e,Z4,j4,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:119,videoLogoUrl:7,showNextPrevButtons:120,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:121,supportLink:10,customFullscreenSupported:122,playNextVideo:11,playPrevVideo:12,repeatPlaylist:123,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},y4,[-1,-1,-1,-1,-1,-1,-1])}}function G4(i){let e,t,n,o;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(s,l){w(s,e,l),d(e,t),d(t,n),d(t,o)},p:H,i:H,o:H,d(s){s&&k(e)}}}class K4 extends _e{constructor(e){super(),ve(this,e,null,G4,ge,{})}}function Y4(i){Ue(i,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function Fs(i){let e;return{c(){e=_("span"),e.textContent=`${oe("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){w(t,e,n)},p:H,d(t){t&&k(e)}}}function Q4(i){let e,t,n,o;var s=i[4];function l(a){return{}}s&&(t=vn(s,l()));let r=i[1]&&Fs();return{c(){e=_("div"),t&&O(t.$$.fragment),n=B(),r&&r.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),A(e,"expanded",i[1])},m(a,c){w(a,e,c),t&&z(t,e,null),d(e,n),r&&r.m(e,null),o=!0},p(a,c){if(c&16&&s!==(s=a[4])){if(t){pe();const f=t;h(f.$$.fragment,1,0,()=>{D(f,1)}),he()}s?(t=vn(s,l()),O(t.$$.fragment),m(t.$$.fragment,1),z(t,e,n)):t=null}a[1]?r?r.p(a,c):(r=Fs(),r.c(),r.m(e,null)):r&&(r.d(1),r=null),(!o||c&2)&&A(e,"expanded",a[1])},i(a){o||(t&&m(t.$$.fragment,a),o=!0)},o(a){t&&h(t.$$.fragment,a),o=!1},d(a){a&&k(e),t&&D(t),r&&r.d()}}}function X4(i){let e,t,n;function o(l){i[6](l)}let s={testId:i[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[2],ariaLabel:i[3],$$slots:{default:[Q4]},$$scope:{ctx:i}};return i[0]!==void 0&&(s.ref=i[0]),e=new ai({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.testId=l[1]?"btn-mobile-unmuted":"btn-mobile-muted"),r&4&&(a.click=l[2]),r&8&&(a.ariaLabel=l[3]),r&146&&(a.$$scope={dirty:r,ctx:l}),!t&&r&1&&(t=!0,a.ref=l[0],Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function J4(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:s=ie.noop}=e,{ref:l=void 0}=e,r,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,s=f.click),"ref"in f&&t(0,l=f.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=oe(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&2&&t(4,a=o?Vo:K4)},[l,o,s,r,a,n,c]}class _1 extends _e{constructor(e){super(),ve(this,e,J4,X4,ge,{muted:5,expanded:1,click:2,ref:0},Y4)}}function x4(i){let e,t,n,o;return{c(){e=M("svg"),t=M("path"),n=M("path"),o=M("path"),u(t,"fill",i[1]),u(t,"clip-rule","evenodd"),u(t,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",i[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),A(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"),A(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(s,l){w(s,e,l),d(e,t),d(e,n),d(e,o)},p(s,[l]){l&2&&u(t,"fill",s[1]),l&2&&u(n,"fill",s[1]),l&1&&A(n,"hidden",!s[0]),l&2&&u(o,"fill",s[1]),l&1&&A(o,"hidden",s[0])},i:H,o:H,d(s){s&&k(e)}}}function $4(i,e,t){let n,{isActive:o=!1}=e;return i.$$set=s=>{"isActive"in s&&t(0,o=s.isActive)},i.$$.update=()=>{i.$$.dirty&1&&t(1,n=o?"#2688EB":"#fff")},[o,n]}class em extends _e{constructor(e){super(),ve(this,e,$4,x4,ge,{isActive:0})}}function tm(i){let e,t;return e=new em({props:{isActive:i[1]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function im(i){let e,t,n;function o(l){i[3](l)}let s={testId:"btn-pip",ariaLabel:oe("menu_pip"),click:i[2],$$slots:{default:[tm]},$$scope:{ctx:i}};return i[0]!==void 0&&(s.ref=i[0]),e=new ai({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,[r]){const a={};r&4&&(a.click=l[2]),r&18&&(a.$$scope={dirty:r,ctx:l}),!t&&r&1&&(t=!0,a.ref=l[0],Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function nm(i,e,t){let{ref:n=void 0}=e,{isPictureInPictureActive:o=!1}=e,{click:s=ie.noop}=e;function l(r){n=r,t(0,n)}return i.$$set=r=>{"ref"in r&&t(0,n=r.ref),"isPictureInPictureActive"in r&&t(1,o=r.isPictureInPictureActive),"click"in r&&t(2,s=r.click)},[n,o,s,l]}class om extends _e{constructor(e){super(),ve(this,e,nm,im,ge,{ref:0,isPictureInPictureActive:1,click:2})}}function lm(i){Ue(i,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function Us(i,e,t){const n=i.slice();return n[157]=e[t].iconUrl,n[158]=e[t].ariaLabel,n[159]=e[t].testId,n[160]=e[t].onClick,n[161]=e[t].tooltip,n}function qs(i){let e,t,n,o,s,l,r,a,c,f,p,b,g,v,C,P,V,I=(!i[48]||i[50])&&js(i),L=Ht(i[53]),N=[];for(let S=0;S<L.length;S+=1)N[S]=Zs(Us(i,L,S));const se=S=>h(N[S],1,1,()=>{N[S]=null});let U=i[33]&&Ws(i),K=i[34]&&Gs(i),Y=i[54]&&Ks(),ae=i[36]&&Ys(i),E=i[8]&&Qs(i),j=i[31]&&Xs(i),ue=i[30]&&Js(i),te=i[8]&&xs(i),q=i[92]&&!i[26]&&$s(i);return{c(){e=_("div"),t=B(),n=_("div"),I&&I.c(),o=B(),s=_("div");for(let S=0;S<N.length;S+=1)N[S].c();l=B(),U&&U.c(),r=B(),K&&K.c(),a=B(),Y&&Y.c(),c=B(),ae&&ae.c(),f=B(),p=_("div"),E&&E.c(),b=B(),j&&j.c(),g=B(),ue&&ue.c(),v=B(),te&&te.c(),C=B(),q&&q.c(),P=kt(),u(e,"class","overlay-mobile v-1tcstu3"),A(e,"hidden",!i[39]),u(n,"class","wrapper-top-left v-1tcstu3"),A(n,"hidden",!i[3]),A(n,"fullscreen",i[49]),u(s,"class","wrapper-top-right v-1tcstu3"),A(s,"hidden",!i[3]&&!i[24]),A(s,"fullscreen",i[49]),u(p,"class","wrapper-middle v-1tcstu3"),A(p,"hidden",!i[3]||i[26])},m(S,re){w(S,e,re),w(S,t,re),w(S,n,re),I&&I.m(n,null),w(S,o,re),w(S,s,re);for(let R=0;R<N.length;R+=1)N[R]&&N[R].m(s,null);d(s,l),U&&U.m(s,null),d(s,r),K&&K.m(s,null),d(s,a),Y&&Y.m(s,null),d(s,c),ae&&ae.m(s,null),w(S,f,re),w(S,p,re),E&&E.m(p,null),d(p,b),j&&j.m(p,null),d(p,g),ue&&ue.m(p,null),d(p,v),te&&te.m(p,null),w(S,C,re),q&&q.m(S,re),w(S,P,re),V=!0},p(S,re){if((!V||re[1]&256)&&A(e,"hidden",!S[39]),!S[48]||S[50]?I?(I.p(S,re),re[1]&655360&&m(I,1)):(I=js(S),I.c(),m(I,1),I.m(n,null)):I&&(pe(),h(I,1,1,()=>{I=null}),he()),(!V||re[0]&8)&&A(n,"hidden",!S[3]),(!V||re[1]&262144)&&A(n,"fullscreen",S[49]),re[1]&4194304){L=Ht(S[53]);let R;for(R=0;R<L.length;R+=1){const Ce=Us(S,L,R);N[R]?(N[R].p(Ce,re),m(N[R],1)):(N[R]=Zs(Ce),N[R].c(),m(N[R],1),N[R].m(s,l))}for(pe(),R=L.length;R<N.length;R+=1)se(R);he()}S[33]?U?(U.p(S,re),re[1]&4&&m(U,1)):(U=Ws(S),U.c(),m(U,1),U.m(s,r)):U&&(pe(),h(U,1,1,()=>{U=null}),he()),S[34]?K?(K.p(S,re),re[1]&8&&m(K,1)):(K=Gs(S),K.c(),m(K,1),K.m(s,a)):K&&(pe(),h(K,1,1,()=>{K=null}),he()),S[54]?Y?re[1]&8388608&&m(Y,1):(Y=Ks(),Y.c(),m(Y,1),Y.m(s,c)):Y&&(pe(),h(Y,1,1,()=>{Y=null}),he()),S[36]?ae?(ae.p(S,re),re[1]&32&&m(ae,1)):(ae=Ys(S),ae.c(),m(ae,1),ae.m(s,null)):ae&&(pe(),h(ae,1,1,()=>{ae=null}),he()),(!V||re[0]&16777224)&&A(s,"hidden",!S[3]&&!S[24]),(!V||re[1]&262144)&&A(s,"fullscreen",S[49]),S[8]?E?(E.p(S,re),re[0]&256&&m(E,1)):(E=Qs(S),E.c(),m(E,1),E.m(p,b)):E&&(pe(),h(E,1,1,()=>{E=null}),he()),S[31]?j?(j.p(S,re),re[1]&1&&m(j,1)):(j=Xs(S),j.c(),m(j,1),j.m(p,g)):j&&(pe(),h(j,1,1,()=>{j=null}),he()),S[30]?ue?(ue.p(S,re),re[0]&1073741824&&m(ue,1)):(ue=Js(S),ue.c(),m(ue,1),ue.m(p,v)):ue&&(pe(),h(ue,1,1,()=>{ue=null}),he()),S[8]?te?(te.p(S,re),re[0]&256&&m(te,1)):(te=xs(S),te.c(),m(te,1),te.m(p,null)):te&&(pe(),h(te,1,1,()=>{te=null}),he()),(!V||re[0]&67108872)&&A(p,"hidden",!S[3]||S[26]),S[92]&&!S[26]?q?(q.p(S,re),re[0]&67108864&&m(q,1)):(q=$s(S),q.c(),m(q,1),q.m(P.parentNode,P)):q&&(pe(),h(q,1,1,()=>{q=null}),he())},i(S){if(!V){m(I);for(let re=0;re<L.length;re+=1)m(N[re]);m(U),m(K),m(Y),m(ae),m(E),m(j),m(ue),m(te),m(q),V=!0}},o(S){h(I),N=N.filter(Boolean);for(let re=0;re<N.length;re+=1)h(N[re]);h(U),h(K),h(Y),h(ae),h(E),h(j),h(ue),h(te),h(q),V=!1},d(S){S&&(k(e),k(t),k(n),k(o),k(s),k(f),k(p),k(C),k(P)),I&&I.d(),rn(N,S),U&&U.d(),K&&K.d(),Y&&Y.d(),ae&&ae.d(),E&&E.d(),j&&j.d(),ue&&ue.d(),te&&te.d(),q&&q.d(S)}}}function js(i){let e,t,n;function o(l){i[123](l)}let s={muted:i[51],expanded:i[48]&&!i[67]&&i[52],click:i[102]};return i[19].volume!==void 0&&(s.ref=i[19].volume),e=new _1({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[1]&1048576&&(a.muted=l[51]),r[1]&2228224&&(a.expanded=l[48]&&!l[67]&&l[52]),!t&&r[0]&524288&&(t=!0,a.ref=l[19].volume,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function Zs(i){let e,t;return e=new m1({props:{iconUrl:i[157],ariaLabel:i[158]??i[161],testId:i[159],onClick:i[160]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[1]&4194304&&(s.iconUrl=n[157]),o[1]&4194304&&(s.ariaLabel=n[158]??n[161]),o[1]&4194304&&(s.testId=n[159]),o[1]&4194304&&(s.onClick=n[160]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ws(i){let e,t,n;function o(l){i[124](l)}let s={isMobile:!0,click:i[98],state:i[25]};return i[19].chromecast!==void 0&&(s.ref=i[19].chromecast),e=new o1({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[0]&33554432&&(a.state=l[25]),!t&&r[0]&524288&&(t=!0,a.ref=l[19].chromecast,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function Gs(i){let e,t,n;function o(l){i[125](l)}let s={click:i[101],isPictureInPictureActive:i[23]};return i[19].pip!==void 0&&(s.ref=i[19].pip),e=new om({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[0]&8388608&&(a.isPictureInPictureActive=l[23]),!t&&r[0]&524288&&(t=!0,a.ref=l[19].pip,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function Ks(i){let e,t;return e=new el({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ys(i){let e,t,n;function o(l){i[126](l)}let s={click:i[61],logoClickable:i[6],videoLogoUrl:i[7]};return i[19].vkLogo!==void 0&&(s.ref=i[19].vkLogo),e=new n1({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.logoClickable=l[6]),r[0]&128&&(a.videoLogoUrl=l[7]),!t&&r[0]&524288&&(t=!0,a.ref=l[19].vkLogo,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function Qs(i){let e,t,n;function o(l){i[127](l)}let s={click:i[13],type:"prev",disabled:!i[10],isMobile:!0};return i[19].prevButton!==void 0&&(s.ref=i[19].prevButton),e=new Mo({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[0]&8192&&(a.click=l[13]),r[0]&1024&&(a.disabled=!l[10]),!t&&r[0]&524288&&(t=!0,a.ref=l[19].prevButton,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function Xs(i){let e,t,n;function o(l){i[128](l)}let s={disabled:i[45],click:i[60],isMobile:!0,isPlaying:i[28]};return i[19].playButton!==void 0&&(s.ref=i[19].playButton),e=new nl({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[1]&16384&&(a.disabled=l[45]),r[0]&268435456&&(a.isPlaying=l[28]),!t&&r[0]&524288&&(t=!0,a.ref=l[19].playButton,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function Js(i){let e,t,n;function o(l){i[129](l)}let s={disabled:i[44],click:i[103],isMobile:!0};return i[19].replayButton!==void 0&&(s.ref=i[19].replayButton),e=new ol({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[1]&8192&&(a.disabled=l[44]),!t&&r[0]&524288&&(t=!0,a.ref=l[19].replayButton,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function xs(i){let e,t,n;function o(l){i[130](l)}let s={click:i[12],type:"next",disabled:!i[9],isMobile:!0};return i[19].nextButton!==void 0&&(s.ref=i[19].nextButton),e=new Mo({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[0]&4096&&(a.click=l[12]),r[0]&512&&(a.disabled=!l[9]),!t&&r[0]&524288&&(t=!0,a.ref=l[19].nextButton,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function $s(i){let e,t,n,o,s=i[95]&&sm(i),l=i[93]&&rm(i),r=i[94]&&am(i);return{c(){s&&s.c(),e=B(),l&&l.c(),t=B(),r&&r.c(),n=kt()},m(a,c){s&&s.m(a,c),w(a,e,c),l&&l.m(a,c),w(a,t,c),r&&r.m(a,c),w(a,n,c),o=!0},p(a,c){a[95]&&s.p(a,c),a[93]&&l.p(a,c),a[94]&&r.p(a,c)},i(a){o||(m(s),m(l),m(r),o=!0)},o(a){h(s),h(l),h(r),o=!1},d(a){a&&(k(e),k(t),k(n)),s&&s.d(a),l&&l.d(a),r&&r.d(a)}}}function sm(i){let e,t,n,o,s,l;function r(c){i[131](c)}let a={hidden:!i[3],disabled:i[43],click:i[18]};return i[19].playPrevChapterButton!==void 0&&(a.ref=i[19].playPrevChapterButton),t=new d1({props:a}),Me.push(()=>Ye(t,"ref",r)),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),A(e,"fullscreen",i[49]),A(e,"hidden",!i[3])},m(c,f){w(c,e,f),z(t,e,null),o=!0,s||(l=Te(e,"click",i[104]),s=!0)},p(c,f){const p={};f[0]&8&&(p.hidden=!c[3]),f[1]&4096&&(p.disabled=c[43]),f[0]&262144&&(p.click=c[18]),!n&&f[0]&524288&&(n=!0,p.ref=c[19].playPrevChapterButton,Ke(()=>n=!1)),t.$set(p),(!o||f[1]&262144)&&A(e,"fullscreen",c[49]),(!o||f[0]&8)&&A(e,"hidden",!c[3])},i(c){o||(m(t.$$.fragment,c),o=!0)},o(c){h(t.$$.fragment,c),o=!1},d(c){c&&k(e),D(t),s=!1,l()}}}function rm(i){let e,t,n,o;function s(r){i[132](r)}let l={hidden:!i[3]&&!i[55],disabled:i[47],click:i[17],graphIsOpened:i[55]};return i[19].interactiveGraphButton!==void 0&&(l.ref=i[19].interactiveGraphButton),t=new f1({props:l}),Me.push(()=>Ye(t,"ref",s)),{c(){e=_("div"),O(t.$$.fragment),u(e,"class",uu(i[95]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),A(e,"fullscreen",i[49]),A(e,"hidden",!i[3]&&!i[55])},m(r,a){w(r,e,a),z(t,e,null),o=!0},p(r,a){const c={};a[0]&8|a[1]&16777216&&(c.hidden=!r[3]&&!r[55]),a[1]&65536&&(c.disabled=r[47]),a[0]&131072&&(c.click=r[17]),a[1]&16777216&&(c.graphIsOpened=r[55]),!n&&a[0]&524288&&(n=!0,c.ref=r[19].interactiveGraphButton,Ke(()=>n=!1)),t.$set(c),(!o||a[1]&262144)&&A(e,"fullscreen",r[49]),(!o||a[0]&8|a[1]&16777216)&&A(e,"hidden",!r[3]&&!r[55])},i(r){o||(m(t.$$.fragment,r),o=!0)},o(r){h(t.$$.fragment,r),o=!1},d(r){r&&k(e),D(t)}}}function am(i){let e,t,n,o,s,l;function r(c){i[133](c)}let a={hidden:!i[3],disabled:i[46],click:i[16]};return i[19].seekToInteractiveButton!==void 0&&(a.ref=i[19].seekToInteractiveButton),t=new c1({props:a}),Me.push(()=>Ye(t,"ref",r)),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),A(e,"fullscreen",i[49]),A(e,"hidden",!i[3])},m(c,f){w(c,e,f),z(t,e,null),o=!0,s||(l=Te(e,"click",i[105]),s=!0)},p(c,f){const p={};f[0]&8&&(p.hidden=!c[3]),f[1]&32768&&(p.disabled=c[46]),f[0]&65536&&(p.click=c[16]),!n&&f[0]&524288&&(n=!0,p.ref=c[19].seekToInteractiveButton,Ke(()=>n=!1)),t.$set(p),(!o||f[1]&262144)&&A(e,"fullscreen",c[49]),(!o||f[0]&8)&&A(e,"hidden",!c[3])},i(c){o||(m(t.$$.fragment,c),o=!0)},o(c){h(t.$$.fragment,c),o=!1},d(c){c&&k(e),D(t),s=!1,l()}}}function er(i){let e,t,n,o,s,l=i[50]&&tr(i),r=i[29]&&ir(i);return o=new r1({props:{position:i[56],duration:i[57]}}),{c(){l&&l.c(),e=B(),r&&r.c(),t=B(),n=_("div"),O(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),A(n,"fullscreen",i[49])},m(a,c){l&&l.m(a,c),w(a,e,c),r&&r.m(a,c),w(a,t,c),w(a,n,c),z(o,n,null),s=!0},p(a,c){a[50]?l?(l.p(a,c),c[1]&524288&&m(l,1)):(l=tr(a),l.c(),m(l,1),l.m(e.parentNode,e)):l&&(pe(),h(l,1,1,()=>{l=null}),he()),a[29]?r?(r.p(a,c),c[0]&536870912&&m(r,1)):(r=ir(a),r.c(),m(r,1),r.m(t.parentNode,t)):r&&(pe(),h(r,1,1,()=>{r=null}),he());const f={};c[1]&33554432&&(f.position=a[56]),c[1]&67108864&&(f.duration=a[57]),o.$set(f),(!s||c[1]&262144)&&A(n,"fullscreen",a[49])},i(a){s||(m(l),m(r),m(o.$$.fragment,a),s=!0)},o(a){h(l),h(r),h(o.$$.fragment,a),s=!1},d(a){a&&(k(e),k(t),k(n)),l&&l.d(a),r&&r.d(a),D(o)}}}function tr(i){let e,t,n,o;function s(r){i[134](r)}let l={muted:i[51],expanded:!1,click:i[102]};return i[19].volume!==void 0&&(l.ref=i[19].volume),t=new _1({props:l}),Me.push(()=>Ye(t,"ref",s)),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),A(e,"fullscreen",i[49])},m(r,a){w(r,e,a),z(t,e,null),o=!0},p(r,a){const c={};a[1]&1048576&&(c.muted=r[51]),!n&&a[0]&524288&&(n=!0,c.ref=r[19].volume,Ke(()=>n=!1)),t.$set(c),(!o||a[1]&262144)&&A(e,"fullscreen",r[49])},i(r){o||(m(t.$$.fragment,r),o=!0)},o(r){h(t.$$.fragment,r),o=!1},d(r){r&&k(e),D(t)}}}function ir(i){let e,t,n,o;function s(r){i[135](r)}let l={disabled:i[45],click:i[60],isMobile:!0,isPlaying:!i[29]};return i[19].playButton!==void 0&&(l.ref=i[19].playButton),t=new nl({props:l}),Me.push(()=>Ye(t,"ref",s)),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(r,a){w(r,e,a),z(t,e,null),o=!0},p(r,a){const c={};a[1]&16384&&(c.disabled=r[45]),a[0]&536870912&&(c.isPlaying=!r[29]),!n&&a[0]&524288&&(n=!0,c.ref=r[19].playButton,Ke(()=>n=!1)),t.$set(c)},i(r){o||(m(t.$$.fragment,r),o=!0)},o(r){h(t.$$.fragment,r),o=!1},d(r){r&&k(e),D(t)}}}function um(i){let e,t,n;function o(l){i[136](l)}let s={disabled:i[44],controlInfo:i[80].replayButton,$$slots:{default:[cm]},$$scope:{ctx:i}};return i[19].replayButton!==void 0&&(s.ref=i[19].replayButton),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[1]&8192&&(a.disabled=l[44]),r[1]&8192|r[5]&512&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&524288&&(t=!0,a.ref=l[19].replayButton,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function cm(i){let e,t;return e=new ol({props:{disabled:i[44],click:i[91]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[1]&8192&&(s.disabled=n[44]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function nr(i){let e,t,n;function o(l){i[137](l)}let s={controlInfo:i[80].liveButton,$$slots:{default:[fm]},$$scope:{ctx:i}};return i[19].liveButton!==void 0&&(s.ref=i[19].liveButton),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[1]&2048|r[5]&512&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&524288&&(t=!0,a.ref=l[19].liveButton,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function fm(i){let e,t;return e=new l1({props:{isActiveLive:i[42],click:i[99],isMobile:!0}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[1]&2048&&(s.isActiveLive=n[42]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function or(i){let e,t,n;function o(l){i[138](l)}let s={showDuration:i[32],position:i[4]?i[56]:i[58],duration:i[4]?i[57]:i[59],isMobile:!0};return i[19].time!==void 0&&(s.ref=i[19].time),e=new xa({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[1]&2&&(a.showDuration=l[32]),r[0]&16|r[1]&167772160&&(a.position=l[4]?l[56]:l[58]),r[0]&16|r[1]&335544320&&(a.duration=l[4]?l[57]:l[59]),!t&&r[0]&524288&&(t=!0,a.ref=l[19].time,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function lr(i){let e,t,n,o;return n=new u1({props:{position:i[58],duration:i[59],timeCodes:i[81]}}),{c(){e=_("div"),e.textContent="\xB7",t=B(),O(n.$$.fragment),u(e,"aria-hidden","true")},m(s,l){w(s,e,l),w(s,t,l),z(n,s,l),o=!0},p(s,l){const r={};l[1]&134217728&&(r.position=s[58]),l[1]&268435456&&(r.duration=s[59]),n.$set(r)},i(s){o||(m(n.$$.fragment,s),o=!0)},o(s){h(n.$$.fragment,s),o=!1},d(s){s&&(k(e),k(t)),D(n,s)}}}function dm(i){let e,t,n=i[40]&&lr(i);return{c(){n&&n.c(),e=kt()},m(o,s){n&&n.m(o,s),w(o,e,s),t=!0},p(o,s){o[40]?n?(n.p(o,s),s[1]&512&&m(n,1)):(n=lr(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(pe(),h(n,1,1,()=>{n=null}),he())},i(o){t||(m(n),t=!0)},o(o){h(n),t=!1},d(o){o&&k(e),n&&n.d(o)}}}function sr(i){let e,t,n;function o(l){i[140](l)}let s={controlInfo:i[80].settings,$$slots:{default:[mm]},$$scope:{ctx:i}};return i[19].settings!==void 0&&(s.ref=i[19].settings),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[5]&512&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&524288&&(t=!0,a.ref=l[19].settings,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function mm(i){let e,t;return e=new el({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function rr(i){let e,t,n;function o(l){i[141](l)}let s={controlInfo:i[80].fullscreen,$$slots:{default:[pm]},$$scope:{ctx:i}};return i[19].fullscreen!==void 0&&(s.ref=i[19].fullscreen),e=new Ut({props:s}),Me.push(()=>Ye(e,"ref",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[0]&16384|r[1]&262144|r[5]&512&&(a.$$scope={dirty:r,ctx:l}),!t&&r[0]&524288&&(t=!0,a.ref=l[19].fullscreen,Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function pm(i){let e,t;return e=new t1({props:{click:i[14],isFullscreen:i[49]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&16384&&(s.click=n[14]),o[1]&262144&&(s.isFullscreen=n[49]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ar(i){let e,t,n;return t=new Ja({props:{supportLink:i[11],returnFocus:i[15]}}),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(o,s){w(o,e,s),z(t,e,null),n=!0},p(o,s){const l={};s[0]&2048&&(l.supportLink=o[11]),s[0]&32768&&(l.returnFocus=o[15]),t.$set(l)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function hm(i){let e,t,n,o,s,l,r,a,c,f,p,b,g,v,C,P,V,I,L,N=!i[4]&&qs(i),se=i[4]&&i[27]!==Ft.INACTIVE&&er(i),U=i[92]&&um(i),K=!i[4]&&i[21]&&nr(i),Y=i[38]&&or(i);function ae(q){i[139](q)}let E={className:"w-max",disabled:!i[40],controlInfo:i[80].episodes,$$slots:{default:[dm]},$$scope:{ctx:i}};i[19].episodes!==void 0&&(E.ref=i[19].episodes),c=new Ut({props:E}),Me.push(()=>Ye(c,"ref",ae));let j=i[35]&&sr(i),ue=i[37]&&rr(i);v=new a1({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[20]}});let te=i[22]&&ar(i);return{c(){N&&N.c(),e=B(),se&&se.c(),t=B(),n=_("div"),o=_("div"),s=_("div"),U&&U.c(),l=B(),K&&K.c(),r=B(),Y&&Y.c(),a=B(),O(c.$$.fragment),p=B(),j&&j.c(),b=B(),ue&&ue.c(),g=B(),O(v.$$.fragment),C=B(),te&&te.c(),P=kt(),u(s,"class","controls v-1tcstu3"),A(s,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),A(o,"fullscreen",i[49]),u(n,"class","wrapper-bottom v-1tcstu3"),A(n,"hidden",i[1]),A(n,"controls-hidden",!i[3]),A(n,"no-smooth",i[2]),A(n,"mobile",!0)},m(q,S){N&&N.m(q,S),w(q,e,S),se&&se.m(q,S),w(q,t,S),w(q,n,S),d(n,o),d(o,s),U&&U.m(s,null),d(s,l),K&&K.m(s,null),d(s,r),Y&&Y.m(s,null),d(s,a),z(c,s,null),d(s,p),j&&j.m(s,null),d(s,b),ue&&ue.m(s,null),i[142](s),d(o,g),z(v,o,null),i[143](n),w(q,C,S),te&&te.m(q,S),w(q,P,S),V=!0,I||(L=[Te(n,"pointermove",i[100]),Te(n,"pointerenter",i[100])],I=!0)},p(q,S){q[4]?N&&(pe(),h(N,1,1,()=>{N=null}),he()):N?(N.p(q,S),S[0]&16&&m(N,1)):(N=qs(q),N.c(),m(N,1),N.m(e.parentNode,e)),q[4]&&q[27]!==Ft.INACTIVE?se?(se.p(q,S),S[0]&134217744&&m(se,1)):(se=er(q),se.c(),m(se,1),se.m(t.parentNode,t)):se&&(pe(),h(se,1,1,()=>{se=null}),he()),q[92]&&U.p(q,S),!q[4]&&q[21]?K?(K.p(q,S),S[0]&2097168&&m(K,1)):(K=nr(q),K.c(),m(K,1),K.m(s,r)):K&&(pe(),h(K,1,1,()=>{K=null}),he()),q[38]?Y?(Y.p(q,S),S[1]&128&&m(Y,1)):(Y=or(q),Y.c(),m(Y,1),Y.m(s,a)):Y&&(pe(),h(Y,1,1,()=>{Y=null}),he());const re={};S[1]&512&&(re.disabled=!q[40]),S[1]&402653696|S[5]&512&&(re.$$scope={dirty:S,ctx:q}),!f&&S[0]&524288&&(f=!0,re.ref=q[19].episodes,Ke(()=>f=!1)),c.$set(re),q[35]?j?(j.p(q,S),S[1]&16&&m(j,1)):(j=sr(q),j.c(),m(j,1),j.m(s,b)):j&&(pe(),h(j,1,1,()=>{j=null}),he()),q[37]?ue?(ue.p(q,S),S[1]&64&&m(ue,1)):(ue=rr(q),ue.c(),m(ue,1),ue.m(s,null)):ue&&(pe(),h(ue,1,1,()=>{ue=null}),he());const R={};S[0]&16&&(R.isAds=q[4]),S[0]&32&&(R.canRewindLive=q[5]),S[0]&1048576&&(R.isRewindableLive=q[20]),v.$set(R),(!V||S[1]&262144)&&A(o,"fullscreen",q[49]),(!V||S[0]&2)&&A(n,"hidden",q[1]),(!V||S[0]&8)&&A(n,"controls-hidden",!q[3]),(!V||S[0]&4)&&A(n,"no-smooth",q[2]),q[22]?te?(te.p(q,S),S[0]&4194304&&m(te,1)):(te=ar(q),te.c(),m(te,1),te.m(P.parentNode,P)):te&&(pe(),h(te,1,1,()=>{te=null}),he())},i(q){V||(m(N),m(se),m(U),m(K),m(Y),m(c.$$.fragment,q),m(j),m(ue),m(v.$$.fragment,q),m(te),V=!0)},o(q){h(N),h(se),h(U),h(K),h(Y),h(c.$$.fragment,q),h(j),h(ue),h(v.$$.fragment,q),h(te),V=!1},d(q){q&&(k(e),k(t),k(n),k(C),k(P)),N&&N.d(q),se&&se.d(q),U&&U.d(),K&&K.d(),Y&&Y.d(),D(c),j&&j.d(),ue&&ue.d(),i[142](null),D(v),i[143](null),te&&te.d(q),I=!1,qt(L)}}}function gm(i,e,t){let n,o,s,l,r,a,c,f,p,b,g,v,C,P,V,I,L,N,se,U,K,Y,ae,E,j,ue,te,q,S,re,R,Ce,de,G,{bottomHidden:fe}=e,{bottomNoSmooth:ye}=e,{showControls:F}=e,{controlsElementRef:le=void 0}=e,{isAds:y=!1}=e,{canRewindLive:ne}=e,{logoClickable:He}=e,{logoHidden:Ae}=e,{videoLogoUrl:Ve}=e,{showNextPrevButtons:Ee}=e,{nextButtonActive:be}=e,{prevButtonActive:Pe}=e,{isOneVideoPlaylist:ke=!1}=e,{supportLink:J}=e,{customFullscreenSupported:Z=!0}=e,{playNextVideo:Ze}=e,{playPrevVideo:$e}=e,{repeatPlaylist:tt}=e,{toggleFullscreen:qe}=e,{returnFocus:at}=e,{seekToInteractive:mt}=e,{toggleGraph:Bt}=e,{playPrevChapter:gt}=e,{onDisabledPlayPrevChapterClick:Ne}=e,{onDisabledSeekToInteractiveClick:nt}=e;const $=St(),ct=Ki(),ot=$.actions.internal.toggleMuted,et=$.actions.internal.togglePlay,Xe=$.actions.internal.pause,ut=$.callbacks?.onAudioDoesNotExistHint,st=$.callbacks?.onAudioDisabledHint,ft=$.playerPhase;W(i,ft,ee=>t(118,L=ee));const Tt=$.state.duration$;W(i,Tt,ee=>t(59,G=ee));const it=$.state.positionWithScrubbing$;W(i,it,ee=>t(58,de=ee));const jt=$.state.playbackState$;W(i,jt,ee=>t(120,K=ee));const At=$.state.isAudioAvailable$;W(i,At,ee=>t(48,c=ee));const Je=$.state.isAudioDisabled,ei=$.state.isEnded$;W(i,ei,ee=>t(119,se=ee));const vt=$.state.isLive$;W(i,vt,ee=>t(21,g=ee));const ht=$.state.muted$;W(i,ht,ee=>t(51,ue=ee));const Lt=$.state.isActiveLive$;W(i,Lt,ee=>t(116,p=ee));const dt=$.state.isRewindableLive$;W(i,dt,ee=>t(20,b=ee));const ti=$.ui.scrubbingInProgress;W(i,ti,ee=>t(26,N=ee));const me=$.ui.mobileNotReportControlHidden$;W(i,me,ee=>t(24,V=ee));const we=$.ui.isPictureInPictureActive$;W(i,we,ee=>t(23,P=ee));const Le=$.ui.pictureInPictureType$;W(i,Le,ee=>t(117,C=ee));const Ct=$.ui.mobileUnmuteButtonExpanded;W(i,Ct,ee=>t(52,te=ee));const Zt=$.ui.mobileUnmuteButtonVisible;W(i,Zt,ee=>t(50,j=ee));const Ie=$.ui.settingsMenuVisible;W(i,Ie,ee=>t(22,v=ee));const ni=$.ui.controls,bi=$.actions.internal.getVideoEpisodes(),Yt=$.webApi.pictureInPictureApi,Nt=$.state.chromecastState$;W(i,Nt,ee=>t(25,I=ee));const Rt=$.state.crashed$;W(i,Rt,ee=>t(54,S=ee));const ki=ni.disabledControls$;W(i,ki,ee=>t(121,Y=ee));const Yi=$.ads.duration;W(i,Yi,ee=>t(57,Ce=ee));const Oi=$.ads.position;W(i,Oi,ee=>t(56,R=ee));const Wt=$.ads.playbackState;W(i,Wt,ee=>t(27,U=ee));const Hi=$.ui.isFullscreen;W(i,Hi,ee=>t(49,E=ee));const Fi=$.ui.playerSize;W(i,Fi,ee=>t(115,f=ee));const Li=$.ui.additionalButtons$;W(i,Li,ee=>t(53,q=ee));const ii=$.actions.internal.getVideoElement,Vi=$.actions.internal.replayInteractive,zt=$.state.isInteractive,Vt=$.state.isInteractiveGraphEnabled,Ui=$.state.isSeekToInteractiveEnable,wi=$.state.isPlayPrevChapterEnabled,ui=$.state.graphIsOpened$;W(i,ui,ee=>t(55,re=ee));const Mi=$.state.seekToInteractiveDisabledTooltip$;W(i,Mi,ee=>t(122,ae=ee));let ci,oi,fi,di,Et,li,yi,Bi,Qt,Ni,Ri,mi,vi,zi,je,pi,Ci,Xt,Pi,Jt;const Be={},qi=v1,Si=()=>{le&&(Jt=le.getBoundingClientRect())},ji=()=>$.actions.internal.toggleChromecast(),Qi=()=>$.actions.internal.switchToActiveLive(),Ti=ee=>{$.ui.controls.tooltipPointerOffsetX.update(()=>Jt?Math.min(Math.max(ee.x-Jt.x,0),Jt.width):0)};function Zi(){Je?st?.():c?ot():ut?.()}async function si(){Yt?.isActive()?await Yt?.remove():await Yt?.request()}function Ai(){!Je&&c&&Zt.set(!1),Zi()}const hi=ke?et:tt,gi=()=>{Ne(ci)},un=()=>{nt(oi)};function tn(ee){i.$$.not_equal(Be.volume,ee)&&(Be.volume=ee,t(19,Be))}function Gt(ee){i.$$.not_equal(Be.chromecast,ee)&&(Be.chromecast=ee,t(19,Be))}function Di(ee){i.$$.not_equal(Be.pip,ee)&&(Be.pip=ee,t(19,Be))}function Ei(ee){i.$$.not_equal(Be.vkLogo,ee)&&(Be.vkLogo=ee,t(19,Be))}function Wi(ee){i.$$.not_equal(Be.prevButton,ee)&&(Be.prevButton=ee,t(19,Be))}function nn(ee){i.$$.not_equal(Be.playButton,ee)&&(Be.playButton=ee,t(19,Be))}function Gi(ee){i.$$.not_equal(Be.replayButton,ee)&&(Be.replayButton=ee,t(19,Be))}function _i(ee){i.$$.not_equal(Be.nextButton,ee)&&(Be.nextButton=ee,t(19,Be))}function Xi(ee){i.$$.not_equal(Be.playPrevChapterButton,ee)&&(Be.playPrevChapterButton=ee,t(19,Be))}function Ji(ee){i.$$.not_equal(Be.interactiveGraphButton,ee)&&(Be.interactiveGraphButton=ee,t(19,Be))}function cn(ee){i.$$.not_equal(Be.seekToInteractiveButton,ee)&&(Be.seekToInteractiveButton=ee,t(19,Be))}function fn(ee){i.$$.not_equal(Be.volume,ee)&&(Be.volume=ee,t(19,Be))}function on(ee){i.$$.not_equal(Be.playButton,ee)&&(Be.playButton=ee,t(19,Be))}function ln(ee){i.$$.not_equal(Be.replayButton,ee)&&(Be.replayButton=ee,t(19,Be))}function xi(ee){i.$$.not_equal(Be.liveButton,ee)&&(Be.liveButton=ee,t(19,Be))}function dn(ee){i.$$.not_equal(Be.time,ee)&&(Be.time=ee,t(19,Be))}function x(ee){i.$$.not_equal(Be.episodes,ee)&&(Be.episodes=ee,t(19,Be))}function wt(ee){i.$$.not_equal(Be.settings,ee)&&(Be.settings=ee,t(19,Be))}function Ii(ee){i.$$.not_equal(Be.fullscreen,ee)&&(Be.fullscreen=ee,t(19,Be))}function _n(ee){Me[ee?"unshift":"push"](()=>{Xt=ee,t(41,Xt)})}function kn(ee){Me[ee?"unshift":"push"](()=>{le=ee,t(0,le)})}return i.$$set=ee=>{"bottomHidden"in ee&&t(1,fe=ee.bottomHidden),"bottomNoSmooth"in ee&&t(2,ye=ee.bottomNoSmooth),"showControls"in ee&&t(3,F=ee.showControls),"controlsElementRef"in ee&&t(0,le=ee.controlsElementRef),"isAds"in ee&&t(4,y=ee.isAds),"canRewindLive"in ee&&t(5,ne=ee.canRewindLive),"logoClickable"in ee&&t(6,He=ee.logoClickable),"logoHidden"in ee&&t(106,Ae=ee.logoHidden),"videoLogoUrl"in ee&&t(7,Ve=ee.videoLogoUrl),"showNextPrevButtons"in ee&&t(8,Ee=ee.showNextPrevButtons),"nextButtonActive"in ee&&t(9,be=ee.nextButtonActive),"prevButtonActive"in ee&&t(10,Pe=ee.prevButtonActive),"isOneVideoPlaylist"in ee&&t(107,ke=ee.isOneVideoPlaylist),"supportLink"in ee&&t(11,J=ee.supportLink),"customFullscreenSupported"in ee&&t(108,Z=ee.customFullscreenSupported),"playNextVideo"in ee&&t(12,Ze=ee.playNextVideo),"playPrevVideo"in ee&&t(13,$e=ee.playPrevVideo),"repeatPlaylist"in ee&&t(109,tt=ee.repeatPlaylist),"toggleFullscreen"in ee&&t(14,qe=ee.toggleFullscreen),"returnFocus"in ee&&t(15,at=ee.returnFocus),"seekToInteractive"in ee&&t(16,mt=ee.seekToInteractive),"toggleGraph"in ee&&t(17,Bt=ee.toggleGraph),"playPrevChapter"in ee&&t(18,gt=ee.playPrevChapter),"onDisabledPlayPrevChapterClick"in ee&&t(110,Ne=ee.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in ee&&t(111,nt=ee.onDisabledSeekToInteractiveClick)},i.$$.update=()=>{if(i.$$.dirty[3]&536870912&&(oi=oe(ae)),i.$$.dirty[3]&268435456&&t(114,n=Y.has(bt.EPISODE_BUTTON)),i.$$.dirty[3]&268435456&&t(47,o=Y.has(bt.GRAPH_BUTTON)),i.$$.dirty[3]&268435456&&t(46,s=Y.has(bt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&268435456&&t(45,l=Y.has(bt.PLAY_BUTTON)),i.$$.dirty[3]&268435456&&t(44,r=Y.has(bt.REPLAY_BUTTON)),i.$$.dirty[3]&268435456&&t(43,a=Y.has(bt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&134217728&&t(28,fi=K===rt.PlaybackState.PLAYING),i.$$.dirty[0]&134217728&&t(29,di=U===Ft.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&67108864&&t(30,Et=se&&!y&&!zt),i.$$.dirty[0]&16|i.$$.dirty[3]&67108864&&t(31,li=!se||y),i.$$.dirty[3]&4194304&&t(112,yi=f.width>300),i.$$.dirty[3]&4194304&&t(32,Bi=f.width>400),i.$$.dirty[0]&67108864&&t(113,Qt=N),i.$$.dirty[0]&58720256|i.$$.dirty[3]&16777216&&t(33,Ni=I!==rt.ChromecastState.NOT_AVAILABLE&&!(P&&C===Cn.DocumentPictureInPicture)&&!V&&!zt),i.$$.dirty[0]&50331648|i.$$.dirty[3]&51380224){const ee=L===ze.WaitingLive;t(34,Ri=!!Yt&&I!==rt.ChromecastState.CONNECTED&&!V&&(C===Cn.DocumentPictureInPicture&&ee||!ee)&&!Qt&&!zt)}i.$$.dirty[3]&1048576&&t(35,mi=!Qt),i.$$.dirty[3]&4202496&&t(36,vi=!Ae&&f.width>350),i.$$.dirty[0]&8388608|i.$$.dirty[3]&17858560&&t(37,zi=ct.features.fullscreen&&!(P&&C===Cn.DocumentPictureInPicture)&&(zt?Z:!0)&&!Qt),i.$$.dirty[0]&2097168|i.$$.dirty[3]&5242880&&t(38,je=(!g||y)&&f.width>260&&!Qt&&!(ct.features.interactiveHideTime&&zt)),i.$$.dirty[0]&4194312&&t(39,pi=v||F),i.$$.dirty[0]&2097168|i.$$.dirty[3]&3670016&&t(40,Ci=!y&&!g&&!!bi?.length&&yi&&!n&&!Qt),i.$$.dirty[0]&1048576|i.$$.dirty[3]&8388608&&t(42,Pi=!b||p),i.$$.dirty[0]&524296|i.$$.dirty[3]&4194304&&(Si(),qi(ii(),ni,Be,F))},ci=oe($.state.playPrevChapterDisabledTooltip),[le,fe,ye,F,y,ne,He,Ve,Ee,be,Pe,J,Ze,$e,qe,at,mt,Bt,gt,Be,b,g,v,P,V,I,N,U,fi,di,Et,li,Bi,Ni,Ri,mi,vi,zi,je,pi,Ci,Xt,Pi,a,r,l,s,o,c,E,j,ue,te,q,S,re,R,Ce,de,G,et,Xe,ft,Tt,it,jt,At,Je,ei,vt,ht,Lt,dt,ti,me,we,Le,Ct,Zt,Ie,ni,bi,Nt,Rt,ki,Yi,Oi,Wt,Hi,Fi,Li,Vi,zt,Vt,Ui,wi,ui,Mi,ji,Qi,Ti,si,Ai,hi,gi,un,Ae,ke,Z,tt,Ne,nt,yi,Qt,n,f,p,C,L,se,K,Y,ae,tn,Gt,Di,Ei,Wi,nn,Gi,_i,Xi,Ji,cn,fn,on,ln,xi,dn,x,wt,Ii,_n,kn]}class bm extends _e{constructor(e){super(),ve(this,e,gm,hm,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:106,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:107,supportLink:11,customFullscreenSupported:108,playNextVideo:12,playPrevVideo:13,repeatPlaylist:109,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18,onDisabledPlayPrevChapterClick:110,onDisabledSeekToInteractiveClick:111},lm,[-1,-1,-1,-1,-1,-1])}}function vm(i){let e,t,n;function o(l){i[28](l)}let s={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&&(s.controlsElementRef=i[0]),e=new W4({props:s}),Me.push(()=>Ye(e,"controlsElementRef",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!t&&r&1&&(t=!0,a.controlsElementRef=l[0],Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function _m(i){let e,t,n;function o(l){i[27](l)}let s={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22],onDisabledPlayPrevChapterClick:i[23],onDisabledSeekToInteractiveClick:i[24]};return i[0]!==void 0&&(s.controlsElementRef=i[0]),e=new bm({props:s}),Me.push(()=>Ye(e,"controlsElementRef",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),r&8388608&&(a.onDisabledPlayPrevChapterClick=l[23]),r&16777216&&(a.onDisabledSeekToInteractiveClick=l[24]),!t&&r&1&&(t=!0,a.controlsElementRef=l[0],Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function km(i){let e,t,n,o;const s=[_m,vm],l=[];function r(a,c){return a[25]?0:1}return e=r(i),t=l[e]=s[e](i),{c(){t.c(),n=kt()},m(a,c){l[e].m(a,c),w(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(pe(),h(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=s[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){h(t),o=!1},d(a){a&&k(n),l[e].d(a)}}}function wm(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:s=!1}=e,{showControls:l}=e,{controlsElementRef:r=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:p}=e,{videoLogoUrl:b}=e,{showNextPrevButtons:g}=e,{nextButtonActive:v}=e,{prevButtonActive:C}=e,{isOneVideoPlaylist:P=!1}=e,{supportLink:V}=e,{customFullscreenSupported:I=!0}=e,{playNextVideo:L}=e,{playPrevVideo:N}=e,{repeatPlaylist:se}=e,{toggleFullscreen:U}=e,{returnFocus:K=ie.noop}=e,{seekToInteractive:Y}=e,{toggleGraph:ae}=e,{playPrevChapter:E}=e,{onDisabledPlayPrevChapterClick:j=ie.noop}=e,{onDisabledSeekToInteractiveClick:ue=ie.noop}=e;const q=St().ui.isMobile;W(i,q,R=>t(25,n=R));function S(R){r=R,t(0,r)}function re(R){r=R,t(0,r)}return i.$$set=R=>{"bottomHidden"in R&&t(1,o=R.bottomHidden),"bottomNoSmooth"in R&&t(2,s=R.bottomNoSmooth),"showControls"in R&&t(3,l=R.showControls),"controlsElementRef"in R&&t(0,r=R.controlsElementRef),"isAds"in R&&t(4,a=R.isAds),"canRewindLive"in R&&t(5,c=R.canRewindLive),"logoClickable"in R&&t(6,f=R.logoClickable),"logoHidden"in R&&t(7,p=R.logoHidden),"videoLogoUrl"in R&&t(8,b=R.videoLogoUrl),"showNextPrevButtons"in R&&t(9,g=R.showNextPrevButtons),"nextButtonActive"in R&&t(10,v=R.nextButtonActive),"prevButtonActive"in R&&t(11,C=R.prevButtonActive),"isOneVideoPlaylist"in R&&t(12,P=R.isOneVideoPlaylist),"supportLink"in R&&t(13,V=R.supportLink),"customFullscreenSupported"in R&&t(14,I=R.customFullscreenSupported),"playNextVideo"in R&&t(15,L=R.playNextVideo),"playPrevVideo"in R&&t(16,N=R.playPrevVideo),"repeatPlaylist"in R&&t(17,se=R.repeatPlaylist),"toggleFullscreen"in R&&t(18,U=R.toggleFullscreen),"returnFocus"in R&&t(19,K=R.returnFocus),"seekToInteractive"in R&&t(20,Y=R.seekToInteractive),"toggleGraph"in R&&t(21,ae=R.toggleGraph),"playPrevChapter"in R&&t(22,E=R.playPrevChapter),"onDisabledPlayPrevChapterClick"in R&&t(23,j=R.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in R&&t(24,ue=R.onDisabledSeekToInteractiveClick)},[r,o,s,l,a,c,f,p,b,g,v,C,P,V,I,L,N,se,U,K,Y,ae,E,j,ue,n,q,S,re]}class k1 extends _e{constructor(e){super(),ve(this,e,wm,km,ge,{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 ym(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Cm(i){let e,t,n,o,s,l,r,a,c,f,p,b,g;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),s=M("defs"),l=M("filter"),r=M("feFlood"),a=M("feColorMatrix"),c=M("feOffset"),f=M("feGaussianBlur"),p=M("feColorMatrix"),b=M("feBlend"),g=M("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(b,"in2","BackgroundImageFix"),u(b,"result","effect1_dropShadow_2260_100684"),u(g,"in","SourceGraphic"),u(g,"in2","effect1_dropShadow_2260_100684"),u(g,"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"),A(e,"reversed",i[0])},m(v,C){w(v,e,C),d(e,t),d(t,n),d(t,o),d(e,s),d(s,l),d(l,r),d(l,a),d(l,c),d(l,f),d(l,p),d(l,b),d(l,g)},p(v,[C]){C&1&&A(e,"reversed",v[0])},i:H,o:H,d(v){v&&k(e)}}}function Pm(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Sm extends _e{constructor(e){super(),ve(this,e,Pm,Cm,ge,{reversed:0},ym)}}function Tm(i){let e,t,n,o,s,l,r,a,c,f,p,b,g,v,C;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),s=M("defs"),l=M("clipPath"),r=M("path"),a=M("filter"),c=M("feFlood"),f=M("feColorMatrix"),p=M("feOffset"),b=M("feGaussianBlur"),g=M("feColorMatrix"),v=M("feBlend"),C=M("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(o,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(r,"fill","#fff"),u(r,"d","M0 0h48v48H0z"),u(l,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(b,"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(v,"in2","BackgroundImageFix"),u(v,"result","effect1_dropShadow_2260_104204"),u(C,"in","SourceGraphic"),u(C,"in2","effect1_dropShadow_2260_104204"),u(C,"result","shape"),u(a,"id","b"),u(a,"x","-1.5"),u(a,"y","1.5"),u(a,"width","51"),u(a,"height","45"),u(a,"filterUnits","userSpaceOnUse"),u(a,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(P,V){w(P,e,V),d(e,t),d(t,n),d(t,o),d(e,s),d(s,l),d(l,r),d(s,a),d(a,c),d(a,f),d(a,p),d(a,b),d(a,g),d(a,v),d(a,C)},d(P){P&&k(e)}}}function Am(i){let e,t,n,o,s,l,r,a,c,f,p,b,g,v,C,P;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),s=M("path"),l=M("defs"),r=M("clipPath"),a=M("path"),c=M("filter"),f=M("feFlood"),p=M("feColorMatrix"),b=M("feOffset"),g=M("feGaussianBlur"),v=M("feColorMatrix"),C=M("feBlend"),P=M("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(o,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(o,"fill","#fff"),u(s,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(r,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(p,"in","SourceAlpha"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(p,"result","hardAlpha"),u(g,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(C,"in2","BackgroundImageFix"),u(C,"result","effect1_dropShadow_2260_104293"),u(P,"in","SourceGraphic"),u(P,"in2","effect1_dropShadow_2260_104293"),u(P,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(V,I){w(V,e,I),d(e,t),d(t,n),d(t,o),d(t,s),d(e,l),d(l,r),d(r,a),d(l,c),d(c,f),d(c,p),d(c,b),d(c,g),d(c,v),d(c,C),d(c,P)},d(V){V&&k(e)}}}function Em(i){let e;function t(s,l){return s[0]?Am:Tm}let n=t(i),o=n(i);return{c(){o.c(),e=kt()},m(s,l){o.m(s,l),w(s,e,l)},p(s,[l]){n!==(n=t(s))&&(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:H,o:H,d(s){s&&k(e),o.d(s)}}}function Im(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class w1 extends _e{constructor(e){super(),ve(this,e,Im,Em,ge,{isOff:0})}}function Lm(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Vm(i){let e,t,n,o,s,l,r,a,c,f,p,b,g;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),s=M("defs"),l=M("filter"),r=M("feFlood"),a=M("feColorMatrix"),c=M("feOffset"),f=M("feGaussianBlur"),p=M("feColorMatrix"),b=M("feBlend"),g=M("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(b,"in2","BackgroundImageFix"),u(b,"result","effect1_dropShadow_2260_106627"),u(g,"in","SourceGraphic"),u(g,"in2","effect1_dropShadow_2260_106627"),u(g,"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"),A(e,"reversed",i[0])},m(v,C){w(v,e,C),d(e,t),d(t,n),d(t,o),d(e,s),d(s,l),d(l,r),d(l,a),d(l,c),d(l,f),d(l,p),d(l,b),d(l,g)},p(v,[C]){C&1&&A(e,"reversed",v[0])},i:H,o:H,d(v){v&&k(e)}}}function Mm(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Bm extends _e{constructor(e){super(),ve(this,e,Mm,Vm,ge,{reversed:0},Lm)}}function Nm(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Rm(i){let e,t,n,o,s,l,r,a,c,f,p,b,g;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),s=M("defs"),l=M("filter"),r=M("feFlood"),a=M("feColorMatrix"),c=M("feOffset"),f=M("feGaussianBlur"),p=M("feColorMatrix"),b=M("feBlend"),g=M("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(b,"in2","BackgroundImageFix"),u(b,"result","effect1_dropShadow_2340_106922"),u(g,"in","SourceGraphic"),u(g,"in2","effect1_dropShadow_2340_106922"),u(g,"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"),A(e,"reversed",i[0])},m(v,C){w(v,e,C),d(e,t),d(t,n),d(t,o),d(e,s),d(s,l),d(l,r),d(l,a),d(l,c),d(l,f),d(l,p),d(l,b),d(l,g)},p(v,[C]){C&1&&A(e,"reversed",v[0])},i:H,o:H,d(v){v&&k(e)}}}function zm(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Dm extends _e{constructor(e){super(),ve(this,e,zm,Rm,ge,{reversed:0},Nm)}}function Om(i){Ue(i,"v-1lbk7aq",`.hot-key-helpers-container.v-1lbk7aq.v-1lbk7aq{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-1lbk7aq-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-1lbk7aq>div.v-1lbk7aq{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-1lbk7aq svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-1lbk7aq svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-1lbk7aq svg[data-testid="play-icon"],.hot-key-helpers-container.v-1lbk7aq svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-1lbk7aq.v-1lbk7aq{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-1lbk7aq.v-1lbk7aq{left:calc(75% - 100px)}.hot-key-helpers-text.v-1lbk7aq.v-1lbk7aq{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-1lbk7aq.v-1lbk7aq{visibility:hidden;animation:v-1lbk7aq-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-1lbk7aq-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-1lbk7aq-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function ur(i){let e,t=[Qe.BACKWARD_SEEK,Qe.FORWARD_SEEK].includes(i[4]),n,o,s,l,r,a=[Qe.RATE_DOWN,Qe.RATE_UP].includes(i[4]),c,f=[Qe.EPISODE_PREV,Qe.EPISODE_NEXT].includes(i[4]),p,b,g,v,C,P=t&&cr(i),V=i[4]===Qe.STOP&&fr(),I=i[4]===Qe.PLAY&&dr(),L=i[4]===Qe.SUBTITLES_OFF&&mr(),N=i[4]===Qe.SUBTITLES_ON&&pr(),se=a&&hr(i),U=f&&gr(i),K=i[4]===Qe.MUTE&&br(),Y=i[4]===Qe.VOLUME&&vr(),ae=i[5]&&_r(i);return{c(){e=_("div"),P&&P.c(),n=B(),V&&V.c(),o=B(),I&&I.c(),s=B(),L&&L.c(),l=B(),N&&N.c(),r=B(),se&&se.c(),c=B(),U&&U.c(),p=B(),K&&K.c(),b=B(),Y&&Y.c(),g=B(),ae&&ae.c(),v=kt(),u(e,"class","v-1lbk7aq")},m(E,j){w(E,e,j),P&&P.m(e,null),d(e,n),V&&V.m(e,null),d(e,o),I&&I.m(e,null),d(e,s),L&&L.m(e,null),d(e,l),N&&N.m(e,null),d(e,r),se&&se.m(e,null),d(e,c),U&&U.m(e,null),d(e,p),K&&K.m(e,null),d(e,b),Y&&Y.m(e,null),w(E,g,j),ae&&ae.m(E,j),w(E,v,j),C=!0},p(E,j){j&16&&(t=[Qe.BACKWARD_SEEK,Qe.FORWARD_SEEK].includes(E[4])),t?P?(P.p(E,j),j&16&&m(P,1)):(P=cr(E),P.c(),m(P,1),P.m(e,n)):P&&(pe(),h(P,1,1,()=>{P=null}),he()),E[4]===Qe.STOP?V?j&16&&m(V,1):(V=fr(),V.c(),m(V,1),V.m(e,o)):V&&(pe(),h(V,1,1,()=>{V=null}),he()),E[4]===Qe.PLAY?I?j&16&&m(I,1):(I=dr(),I.c(),m(I,1),I.m(e,s)):I&&(pe(),h(I,1,1,()=>{I=null}),he()),E[4]===Qe.SUBTITLES_OFF?L?j&16&&m(L,1):(L=mr(),L.c(),m(L,1),L.m(e,l)):L&&(pe(),h(L,1,1,()=>{L=null}),he()),E[4]===Qe.SUBTITLES_ON?N?j&16&&m(N,1):(N=pr(),N.c(),m(N,1),N.m(e,r)):N&&(pe(),h(N,1,1,()=>{N=null}),he()),j&16&&(a=[Qe.RATE_DOWN,Qe.RATE_UP].includes(E[4])),a?se?(se.p(E,j),j&16&&m(se,1)):(se=hr(E),se.c(),m(se,1),se.m(e,c)):se&&(pe(),h(se,1,1,()=>{se=null}),he()),j&16&&(f=[Qe.EPISODE_PREV,Qe.EPISODE_NEXT].includes(E[4])),f?U?(U.p(E,j),j&16&&m(U,1)):(U=gr(E),U.c(),m(U,1),U.m(e,p)):U&&(pe(),h(U,1,1,()=>{U=null}),he()),E[4]===Qe.MUTE?K?j&16&&m(K,1):(K=br(),K.c(),m(K,1),K.m(e,b)):K&&(pe(),h(K,1,1,()=>{K=null}),he()),E[4]===Qe.VOLUME?Y?j&16&&m(Y,1):(Y=vr(),Y.c(),m(Y,1),Y.m(e,null)):Y&&(pe(),h(Y,1,1,()=>{Y=null}),he()),E[5]?ae?ae.p(E,j):(ae=_r(E),ae.c(),ae.m(v.parentNode,v)):ae&&(ae.d(1),ae=null)},i(E){C||(m(P),m(V),m(I),m(L),m(N),m(se),m(U),m(K),m(Y),C=!0)},o(E){h(P),h(V),h(I),h(L),h(N),h(se),h(U),h(K),h(Y),C=!1},d(E){E&&(k(e),k(g),k(v)),P&&P.d(),V&&V.d(),I&&I.d(),L&&L.d(),N&&N.d(),se&&se.d(),U&&U.d(),K&&K.d(),Y&&Y.d(),ae&&ae.d(E)}}}function cr(i){let e,t;return e=new Sm({props:{reversed:i[4]===Qe.FORWARD_SEEK}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===Qe.FORWARD_SEEK),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function fr(i){let e,t;return e=new i1({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function dr(i){let e,t;return e=new il({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function mr(i){let e,t;return e=new w1({props:{isOff:!0}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function pr(i){let e,t;return e=new w1({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function hr(i){let e,t;return e=new Bm({props:{reversed:i[4]===Qe.RATE_UP}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===Qe.RATE_UP),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function gr(i){let e,t;return e=new Dm({props:{reversed:i[4]===Qe.EPISODE_NEXT}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===Qe.EPISODE_NEXT),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function br(i){let e,t;return e=new Vo({props:{volume:0}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function vr(i){let e,t;return e=new Vo({props:{volume:1}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function _r(i){let e,t;return{c(){e=_("span"),t=Fe(i[5]),u(e,"class","hot-key-helpers-text v-1lbk7aq")},m(n,o){w(n,e,o),d(e,t)},p(n,o){o&32&&xe(t,n[5])},d(n){n&&k(e)}}}function Hm(i){let e,t,n=!i[1]&&i[4]&&ur(i);return{c(){e=_("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-1lbk7aq"),A(e,"hidden",i[1]),A(e,"hot-key-helpers-container--left",i[2]),A(e,"hot-key-helpers-container--right",i[3])},m(o,s){w(o,e,s),n&&n.m(e,null),t=!0},p(o,[s]){!o[1]&&o[4]?n?(n.p(o,s),s&18&&m(n,1)):(n=ur(o),n.c(),m(n,1),n.m(e,null)):n&&(pe(),h(n,1,1,()=>{n=null}),he()),(!t||s&2)&&A(e,"hidden",o[1]),(!t||s&4)&&A(e,"hot-key-helpers-container--left",o[2]),(!t||s&8)&&A(e,"hot-key-helpers-container--right",o[3])},i(o){t||(m(n),t=!0)},o(o){h(n),t=!1},d(o){o&&k(e),n&&n.d()}}}function Fm(i,e,t){let n,o=H,s=()=>(o(),o=Kt(l,b=>t(6,n=b)),l);i.$$.on_destroy.push(()=>o());let{data:l}=e;s();let r,a,c,f,p;return i.$$set=b=>{"data"in b&&s(t(0,l=b.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,r=!n),t(2,a=n?.type===Qe.BACKWARD_SEEK),t(3,c=n?.type===Qe.FORWARD_SEEK),t(4,f=n?.type),n?.t?t(5,p=oe(n.t.key,{value:n.t.value||""})):t(5,p=n?.text))},[l,r,a,c,f,p,n]}class Um extends _e{constructor(e){super(),ve(this,e,Fm,Hm,ge,{data:0},Om)}}function qm(i){Ue(i,"v-1yzc86r",".immersive-controls.v-1yzc86r{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn)}.immersive-controls.m-shifted.v-1yzc86r{top:50px;left:20px}.button-block.v-1yzc86r{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-1yzc86r{display:flex;flex-direction:row;position:relative}.button.v-1yzc86r{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-1yzc86r svg{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-1yzc86r svg{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-1yzc86r svg{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-1yzc86r svg{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-1yzc86r svg{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-1yzc86r:hover svg{opacity:1}")}function jm(i){let e,t,n,o,s,l,r,a,c,f,p,b,g,v,C,P,V,I;return s=new Sn({props:{direction:"up"}}),a=new Sn({props:{direction:"up"}}),b=new Sn({props:{direction:"up"}}),C=new Sn({props:{direction:"up"}}),{c(){e=_("div"),t=_("div"),n=_("div"),o=_("div"),O(s.$$.fragment),l=B(),r=_("div"),O(a.$$.fragment),c=B(),f=_("div"),p=_("div"),O(b.$$.fragment),g=B(),v=_("div"),O(C.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(r,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(p,"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(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),A(e,"m-shifted",i[0])},m(L,N){w(L,e,N),d(e,t),d(t,n),d(n,o),z(s,o,null),d(n,l),d(n,r),z(a,r,null),d(t,c),d(t,f),d(f,p),z(b,p,null),d(f,g),d(f,v),z(C,v,null),P=!0,V||(I=[Te(o,"mousedown",i[1]),Te(o,"mouseup",i[5]),Te(o,"mouseleave",i[5]),Te(r,"mousedown",i[3]),Te(r,"mouseup",i[5]),Te(r,"mouseleave",i[5]),Te(p,"mousedown",i[4]),Te(p,"mouseup",i[5]),Te(p,"mouseleave",i[5]),Te(v,"mousedown",i[2]),Te(v,"mouseup",i[5]),Te(v,"mouseleave",i[5]),Te(e,"keydown",i[6]),Te(e,"keyup",i[7])],V=!0)},p(L,[N]){(!P||N&1)&&A(e,"m-shifted",L[0])},i(L){P||(m(s.$$.fragment,L),m(a.$$.fragment,L),m(b.$$.fragment,L),m(C.$$.fragment,L),P=!0)},o(L){h(s.$$.fragment,L),h(a.$$.fragment,L),h(b.$$.fragment,L),h(C.$$.fragment,L),P=!1},d(L){L&&k(e),D(s),D(a),D(b),D(C),V=!1,qt(I)}}}function Zm(i,e,t){let{isShifted:n=!1}=e;const o=St(),s=new Set([We.ArrowUp,We.ArrowDown,We.ArrowLeft,We.ArrowRight]),l=()=>{o.actions.internal.startCameraManualRotation(0,1)},r=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),p=g=>{if(s.has(g.code))switch(g.preventDefault(),g.stopPropagation(),g.code){case We.ArrowUp:l();break;case We.ArrowDown:r();break;case We.ArrowLeft:c();break;case We.ArrowRight:a();break}},b=g=>{s.has(g.code)&&(g.preventDefault(),g.stopPropagation(),f())};return i.$$set=g=>{"isShifted"in g&&t(0,n=g.isShifted)},[n,l,r,a,c,f,p,b]}class y1 extends _e{constructor(e){super(),ve(this,e,Zm,jm,ge,{isShifted:0},qm)}}function Wm(i){Ue(i,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function kr(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function wr(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function yr(i){let e,t;function n(l,r){return l[7]&&l[8]?Ym:l[5]?Km:Gm}let o=n(i),s=o(i);return{c(){e=_("div"),t=_("span"),s.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),A(e,"mobile",i[3])},m(l,r){w(l,e,r),d(e,t),s.m(t,null)},p(l,r){o===(o=n(l))&&s?s.p(l,r):(s.d(1),s=o(l),s&&(s.c(),s.m(t,null))),r&8&&A(e,"mobile",l[3])},d(l){l&&k(e),s.d()}}}function Gm(i){let e,t=Ht(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Cr(kr(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=kt()},m(o,s){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(o,s);w(o,e,s)},p(o,s){if(s&18){t=Ht(o[1]);let l;for(l=0;l<t.length;l+=1){const r=kr(o,t,l);n[l]?n[l].p(r,s):(n[l]=Cr(r),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&&k(e),rn(n,o)}}}function Km(i){let e,t,n=Ht(i[6]),o=[];for(let s=0;s<n.length;s+=1)o[s]=Sr(wr(i,n,s));return{c(){e=_("span"),t=_("span");for(let s=0;s<o.length;s+=1)o[s].c();u(t,"class","caption-segment v-ovfyp5"),Mt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,l){w(s,e,l),d(e,t);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(t,null)},p(s,l){if(l&68){n=Ht(s[6]);let r;for(r=0;r<n.length;r+=1){const a=wr(s,n,r);o[r]?o[r].p(a,l):(o[r]=Sr(a),o[r].c(),o[r].m(t,null))}for(;r<o.length;r+=1)o[r].d(1);o.length=n.length}l&16&&Mt(t,"font-size",s[4]+"px")},d(s){s&&k(e),rn(o,s)}}}function Ym(i){let e,t,n=oe("subtitles_auto_caption")+"",o;return{c(){e=_("span"),t=_("span"),o=Fe(n),u(t,"class","caption-segment v-ovfyp5"),Mt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,l){w(s,e,l),d(e,t),d(t,o)},p(s,l){l&16&&Mt(t,"font-size",s[4]+"px")},d(s){s&&k(e)}}}function Cr(i){let e,t,n=i[16]+"",o,s;return{c(){e=_("span"),t=_("span"),o=Fe(n),s=B(),u(t,"class","caption-segment v-ovfyp5"),Mt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,r){w(l,e,r),d(e,t),d(t,o),d(e,s)},p(l,r){r&2&&n!==(n=l[16]+"")&&xe(o,n),r&16&&Mt(t,"font-size",l[4]+"px")},d(l){l&&k(e)}}}function Pr(i){let e=i[16]+"",t;return{c(){t=Fe(e)},m(n,o){w(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&xe(t,e)},d(n){n&&k(t)}}}function Sr(i){let e,t=(!i[17]||i[17]<=i[2])&&Pr(i);return{c(){t&&t.c(),e=kt()},m(n,o){t&&t.m(n,o),w(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?t?t.p(n,o):(t=Pr(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&k(e),t&&t.d(n)}}}function Qm(i){let e,t=i[1].length>0&&yr(i);return{c(){e=_("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),A(e,"shifted",i[0]),A(e,"auto",i[5]&&!i[8])},m(n,o){w(n,e,o),t&&t.m(e,null)},p(n,[o]){n[1].length>0?t?t.p(n,o):(t=yr(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),o&1&&A(e,"shifted",n[0]),o&288&&A(e,"auto",n[5]&&!n[8])},i:H,o:H,d(n){n&&k(e),t&&t.d()}}}function Xm(i,e,t){let n,o,{shifted:s}=e,{captions:l}=e,{position:r}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=St(),p=Ki(),b=f.state.currentSubtitle$;W(i,b,L=>t(12,n=L));const g=f.state.isAutoSubtitleCaptionVisible$;W(i,g,L=>t(8,o=L));let v,C,P,V,I;return an(()=>{I=window.setTimeout(()=>{g.set(!1)},p.autoSubtitlesTimeout)}),Io(()=>{window.clearTimeout(I)}),i.$$set=L=>{"shifted"in L&&t(0,s=L.shifted),"captions"in L&&t(1,l=L.captions),"position"in L&&t(2,r=L.position),"playerSize"in L&&t(11,a=L.playerSize),"isMobile"in L&&t(3,c=L.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const L=a.width*.02;t(4,v=L<=p.minSubtitlesFontSize?p.minSubtitlesFontSize:L)}i.$$.dirty&2&&t(5,C=l.some(L=>L.type==="timestamp")),i.$$.dirty&2&&t(6,P=l.reduce((L,{type:N,value:se})=>(N==="timestamp"?L.push({timeAppeared:Number(se),value:""}):L.length===0?L.push({value:String(se)}):L[L.length-1].value=String(se),L),[])),i.$$.dirty&4096&&t(7,V=!!n.isAuto)},[s,l,r,c,v,C,P,V,o,b,g,a,n]}class C1 extends _e{constructor(e){super(),ve(this,e,Xm,Qm,ge,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},Wm)}}function Jm(i){Ue(i,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function Tr(i){let e,t,n;return{c(){e=_("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,s){w(o,e,s),d(e,t),d(e,n)},p(o,s){s&2&&xe(n,o[1])},d(o){o&&k(e)}}}function xm(i){let e,t,n,o,s,l,r=i[1]&&Tr(i);return{c(){e=_("div"),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=B(),r&&r.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){w(a,e,c),d(e,t),d(e,n),r&&r.m(e,null),s||(l=Te(e,"click",i[2]),s=!0)},p(a,[c]){a[1]?r?r.p(a,c):(r=Tr(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:H,o:H,d(a){a&&k(e),r&&r.d(),s=!1,l()}}}function $m(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function s(l){Qn.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,s]}class P1 extends _e{constructor(e){super(),ve(this,e,$m,xm,ge,{thumbUrl:0,chromecastDeviceName:1},Jm)}}function e3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class t3 extends _e{constructor(e){super(),ve(this,e,null,e3,ge,{})}}function i3(i){Ue(i,"v-13zpvm8",".container.v-13zpvm8{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function n3(i){let e,t,n;return t=new t3({}),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,s){w(o,e,s),z(t,e,null),n=!0},p:H,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}class S1 extends _e{constructor(e){super(),ve(this,e,null,n3,ge,{},i3)}}function o3(i){Ue(i,"v-17wno3",".container.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-17wno3.v-17wno3{opacity:0;visibility:hidden}.playButton.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-17wno3:hover .playButtonBackground.v-17wno3{background-color:var(--big-play-hover-bg-color);transform:scale(1.15)}.playButton.v-17wno3 svg{transform:scale(2)}")}function l3(i){let e,t,n,o,s,l,r,a,c;return s=new il({}),{c(){e=_("div"),t=_("div"),n=_("div"),o=B(),O(s.$$.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]||""}')`),A(e,"hidden",i[1])},m(f,p){w(f,e,p),d(e,t),d(t,n),d(t,o),z(s,t,null),r=!0,a||(c=Te(e,"click",pt(function(){en(i[2])&&i[2].apply(this,arguments)})),a=!0)},p(f,[p]){i=f,(!r||p&1&&l!==(l=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",l),(!r||p&2)&&A(e,"hidden",i[1])},i(f){r||(m(s.$$.fragment,f),r=!0)},o(f){h(s.$$.fragment,f),r=!1},d(f){f&&k(e),D(s),a=!1,c()}}}function s3(i,e,t){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:s}=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,s=l.startVideo)},[n,o,s]}class T1 extends _e{constructor(e){super(),ve(this,e,s3,l3,ge,{thumbUrl:0,hidden:1,startVideo:2},o3)}}function r3(i){Ue(i,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
|
|
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 Nm(i){let e,t;return{c(){e=w("div"),t=Ue(i[0]),u(e,"class","title v-1bcvcf2"),C(e,"hidden",i[1])},m(n,o){y(n,e,o),d(e,t)},p(n,[o]){o&1&&Xe(t,n[0]),o&2&&C(e,"hidden",n[1])},i:j,o:j,d(n){n&&k(e)}}}function Bm(i,e,t){let{title:n=""}=e,{isHidden:o=!1}=e;return i.$$set=l=>{"title"in l&&t(0,n=l.title),"isHidden"in l&&t(1,o=l.isHidden)},[n,o]}class Rm extends we{constructor(e){super(),_e(this,e,Bm,Nm,ve,{title:0,isHidden:1},Mm)}}function Om(i){He(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 br(i){let e,t,n,o,l,s,r;return{c(){e=w("div"),t=w("span"),n=Ue(i[0]),o=N(),l=w("span"),l.textContent=`${oe("waiting_live_day_value")}`,s=N(),r=w("span"),r.textContent=`${oe("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){y(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),y(a,s,c),y(a,r,c)},p(a,c){c&1&&Xe(n,a[0])},d(a){a&&(k(e),k(s),k(r))}}}function _r(i){let e,t,n,o,l,s,r;return{c(){e=w("div"),t=w("span"),n=Ue(i[1]),o=N(),l=w("span"),l.textContent=`${oe("waiting_live_hour_value")}`,s=N(),r=w("span"),r.textContent=`${oe("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){y(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),y(a,s,c),y(a,r,c)},p(a,c){c&2&&Xe(n,a[1])},d(a){a&&(k(e),k(s),k(r))}}}function wr(i){let e,t,n,o,l,s,r;return{c(){e=w("div"),t=w("span"),n=Ue(i[2]),o=N(),l=w("span"),l.textContent=`${oe("waiting_live_minute_value")}`,s=N(),r=w("span"),r.textContent=`${oe("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){y(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),y(a,s,c),y(a,r,c)},p(a,c){c&4&&Xe(n,a[2])},d(a){a&&(k(e),k(s),k(r))}}}function kr(i){let e,t,n,o,l;return{c(){e=w("div"),t=w("span"),n=Ue(i[3]),o=N(),l=w("span"),l.textContent=`${oe("waiting_live_second_value")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(s,r){y(s,e,r),d(e,t),d(t,n),d(e,o),d(e,l)},p(s,r){r&8&&Xe(n,s[3])},d(s){s&&k(e)}}}function Dm(i){let e,t,n,o,l=i[0]&&br(i),s=i[1]&&_r(i),r=i[2]&&wr(i),a=i[3]&&kr(i);return{c(){e=w("div"),l&&l.c(),t=N(),s&&s.c(),n=N(),r&&r.c(),o=N(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){y(c,e,f),l&&l.m(e,null),d(e,t),s&&s.m(e,null),d(e,n),r&&r.m(e,null),d(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?l?l.p(c,f):(l=br(c),l.c(),l.m(e,t)):l&&(l.d(1),l=null),c[1]?s?s.p(c,f):(s=_r(c),s.c(),s.m(e,n)):s&&(s.d(1),s=null),c[2]?r?r.p(c,f):(r=wr(c),r.c(),r.m(e,o)):r&&(r.d(1),r=null),c[3]?a?a.p(c,f):(a=kr(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:j,o:j,d(c){c&&k(e),l&&l.d(),s&&s.d(),r&&r.d(),a&&a.d()}}}function Hm(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,l,s,r,a,c;const f=g=>String(g).padStart(2,"0"),h=g=>{const b=Math.floor(g/86400);b&&(g-=b*86400,t(0,l=f(b)));const A=Math.floor(g/3600);t(1,s=f(A));const T=Math.floor(g/60)%60;t(2,r=f(T));const I=g%60;t(3,a=f(I))},v=()=>{const g=Math.floor(Date.now()/1e3),b=n-g;h(b),b>=1?c=requestAnimationFrame(v):o()};return ji(()=>{c=requestAnimationFrame(v)}),_o(()=>{cancelAnimationFrame(c)}),i.$$set=g=>{"startTime"in g&&t(4,n=g.startTime),"onTimerOver"in g&&t(5,o=g.onTimerOver)},[l,s,r,a,n,o]}class Fm extends we{constructor(e){super(),_e(this,e,Hm,Dm,ve,{startTime:4,onTimerOver:5},Om)}}function Um(i){let e,t,n,o,l;return{c(){e=z("svg"),t=z("path"),n=z("path"),o=z("path"),l=z("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"),Lt(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"),Lt(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"),Lt(o,"opacity",".985"),u(l,"fill","#fefffe"),u(l,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),Lt(l,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),Lt(e,"shape-rendering","geometricPrecision"),Lt(e,"text-rendering","geometricPrecision"),Lt(e,"image-rendering","optimizeQuality"),Lt(e,"fill-rule","evenodd"),Lt(e,"clip-rule","evenodd"),Lt(e,"width","100%"),Lt(e,"height","100%")},m(s,r){y(s,e,r),d(e,t),d(e,n),d(e,o),d(e,l)},p:j,i:j,o:j,d(s){s&&k(e)}}}class Wm extends we{constructor(e){super(),_e(this,e,null,Um,ve,{})}}function qm(i){He(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 jm(i){let e,t,n,o,l;return o=new Fm({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=w("div"),t=w("span"),t.textContent=`${oe("waiting_live_timer_title")}`,n=N(),H(o.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(s,r){y(s,e,r),d(e,t),d(e,n),O(o,e,null),l=!0},p(s,r){const a={};r&2&&(a.startTime=s[1]||0),r&4&&(a.onTimerOver=s[3]),o.$set(a)},i(s){l||(m(o.$$.fragment,s),l=!0)},o(s){p(o.$$.fragment,s),l=!1},d(s){s&&k(e),D(o)}}}function Zm(i){let e,t,n,o,l,s;return n=new Wm({}),{c(){e=w("div"),t=w("div"),H(n.$$.fragment),o=N(),l=w("span"),l.textContent=`${oe("waiting_live_upcoming_title")}`,u(t,"class","upcoming-icon v-15pewff"),u(l,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(r,a){y(r,e,a),d(e,t),O(n,t,null),d(e,o),d(e,l),s=!0},p:j,i(r){s||(m(n.$$.fragment,r),s=!0)},o(r){p(n.$$.fragment,r),s=!1},d(r){r&&k(e),D(n)}}}function Gm(i){let e,t,n,o,l;const s=[Zm,jm],r=[];function a(c,f){return c[2]?0:1}return t=a(i),n=r[t]=s[t](i),{c(){e=w("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${i[2]?"":i[0]})`)},m(c,f){y(c,e,f),r[t].m(e,null),l=!0},p(c,[f]){let h=t;t=a(c),t===h?r[t].p(c,f):(he(),p(r[h],1,1,()=>{r[h]=null}),pe(),n=r[t],n?n.p(c,f):(n=r[t]=s[t](c),n.c()),m(n,1),n.m(e,null)),(!l||f&5&&o!==(o=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",o)},i(c){l||(m(n),l=!0)},o(c){p(n),l=!1},d(c){c&&k(e),r[t].d()}}}function Ym(i,e,t){let n,{thumbUrl:o}=e,{startTime:l}=e;const s=()=>t(2,n=!0);return i.$$set=r=>{"thumbUrl"in r&&t(0,o=r.thumbUrl),"startTime"in r&&t(1,l=r.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=l===void 0||l<Math.floor(Date.now()/1e3))},[o,l,n,s]}class _1 extends we{constructor(e){super(),_e(this,e,Ym,Gm,ve,{thumbUrl:0,startTime:1},qm)}}function Km(i){He(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 Qm(i){let e,t;return{c(){e=w("div"),t=w("p"),t.textContent=`${oe("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){y(n,e,o),d(e,t)},p:j,i:j,o:j,d(n){n&&k(e)}}}class w1 extends we{constructor(e){super(),_e(this,e,null,Qm,ve,{},Km)}}const{window:Xm}=ra;function Jm(i){He(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 yr(i){let e,t;return e=new _1({props:{thumbUrl:i[3],startTime:i[5]?.startTime}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&8&&(l.thumbUrl=n[3]),o[0]&32&&(l.startTime=n[5]?.startTime),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Pr(i){let e,t;return e=new w1({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Cr(i){let e,t,n;return t=new Na({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),C(e,"hidden",i[35]!==Be.Ads)},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const s={};l[0]&512&&(s.adsSlotId=o[9]),l[0]&1024&&(s.adsParams=o[10]),l[0]&2048&&(s.adsPreviewParam=o[11]),l[0]&4096&&(s.duration=o[12]),t.$set(s),(!n||l[1]&16)&&C(e,"hidden",o[35]!==Be.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function Sr(i){let e,t;return e=new Dc({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&262144&&(l.title=n[18]),o[0]&524288&&(l.thumb=n[19]),o[0]&8388608&&(l.playNextVideo=n[23]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Tr(i){let e,t;return e=new Rm({props:{title:i[2],isHidden:!i[33]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.title=n[2]),o[1]&4&&(l.isHidden=!n[33]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ar(i){let e,t;return e=new h1({props:{isShifted:i[35]===Be.Video&&i[33]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&20&&(l.isShifted=n[35]===Be.Video&&n[33]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Er(i){let e,t,n;return t=new Sa({props:{ariaLabel:oe("video360")}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,l){y(o,e,l),O(t,e,null),n=!0},p:j,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function Lr(i){let e,t;return e=new g1({props:{thumbUrl:i[3],chromecastDeviceName:i[52]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&8&&(l.thumbUrl=n[3]),o[1]&2097152&&(l.chromecastDeviceName=n[52]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Vr(i){let e,t;return e=new p1({props:{shifted:i[33],captions:i[54],position:i[55],playerSize:i[31]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&4&&(l.shifted=n[33]),o[1]&8388608&&(l.captions=n[54]),o[1]&16777216&&(l.position=n[55]),o[1]&1&&(l.playerSize=n[31]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ir(i){let e,t;return e=new Ba({props:{showControls:i[33]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[1]&4&&(l.showControls=n[33]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function zr(i){let e,t,n,o,l;return t=new v1({}),{c(){e=w("div"),H(t.$$.fragment)},m(s,r){y(s,e,r),O(t,e,null),n=!0,o||(l=[Ae(e,"contextmenu",vi(i[102])),Ae(e,"click",ct(i[113]))],o=!0)},p:j,i(s){n||(m(t.$$.fragment,s),n=!0)},o(s){p(t.$$.fragment,s),n=!1},d(s){s&&k(e),D(t),o=!1,Rt(l)}}}function Mr(i){let e,t;return e=new qa({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Nr(i){let e,t;return e=new s0({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Br(i){let e,t;return e=new Da({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Rr(i){let e,t,n,o,l,s,r,a,c,f,h,v,g,b,A,T,I,V,E,M,ie,Y,P,F,J,le;e=new b1({props:{hidden:i[35]!==Be.Thumb||i[34]||i[90]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let ne=i[35]===Be.WaitingLive&&yr(i),ue=i[35]===Be.WaitingRecord&&Pr(),ee=i[8]&&i[22]&&Cr(i),B=i[30]&&i[18]&&i[19]&&Sr(i),_=i[43]&&Tr(i),x=i[48]&&Ar(i),ae=i[51]&&Er(),ze=i[36]&&Lr(i),se=i[53].value!=="off"&&Vr(i),ge=i[1].features.annotations&&Ir(i),Se=i[34]&&zr(i);function G(R){i[141](R)}let L={bottomHidden:i[35]===Be.Thumb||i[35]===Be.WaitingLive||i[35]===Be.WaitingRecord,bottomNoSmooth:i[49],showControls:i[33],isAds:i[35]===Be.Ads,canRewindLive:i[7]&&i[56]!==0,logoClickable:i[13],logoHidden:i[14],videoLogoUrl:i[4],showNextPrevButtons:i[15],nextButtonActive:i[16],prevButtonActive:i[17],isOneVideoPlaylist:i[20],supportLink:i[21],customFullscreenSupported:e3,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[100],returnFocus:i[140],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};i[38]!==void 0&&(L.controlsElementRef=i[38]),b=new d1({props:L}),je.push(()=>wt(b,"controlsElementRef",G)),I=new Oa({props:{isLive:i[57],isHidden:!i[42],isPlaying:i[58],position:i[55],duration:i[59]}}),E=new mm({props:{data:i[98]}}),ie=new vc({props:{supportLink:i[21],returnFocus:i[142],visible:i[47],playerContainerRef:i[37],controlsContainerRef:i[38],x:i[39],y:i[40]}});let re=i[41]&&Mr(),Q=i[60]&&Nr(),Pe=i[61]&&Br();return{c(){H(e.$$.fragment),t=N(),ne&&ne.c(),n=N(),ue&&ue.c(),o=N(),ee&&ee.c(),l=N(),B&&B.c(),s=N(),_&&_.c(),r=N(),x&&x.c(),a=N(),ae&&ae.c(),c=N(),ze&&ze.c(),f=N(),se&&se.c(),h=N(),ge&&ge.c(),v=N(),Se&&Se.c(),g=N(),H(b.$$.fragment),T=N(),H(I.$$.fragment),V=N(),H(E.$$.fragment),M=N(),H(ie.$$.fragment),Y=N(),re&&re.c(),P=N(),Q&&Q.c(),F=N(),Pe&&Pe.c(),J=gt()},m(R,X){O(e,R,X),y(R,t,X),ne&&ne.m(R,X),y(R,n,X),ue&&ue.m(R,X),y(R,o,X),ee&&ee.m(R,X),y(R,l,X),B&&B.m(R,X),y(R,s,X),_&&_.m(R,X),y(R,r,X),x&&x.m(R,X),y(R,a,X),ae&&ae.m(R,X),y(R,c,X),ze&&ze.m(R,X),y(R,f,X),se&&se.m(R,X),y(R,h,X),ge&&ge.m(R,X),y(R,v,X),Se&&Se.m(R,X),y(R,g,X),O(b,R,X),y(R,T,X),O(I,R,X),y(R,V,X),O(E,R,X),y(R,M,X),O(ie,R,X),y(R,Y,X),re&&re.m(R,X),y(R,P,X),Q&&Q.m(R,X),y(R,F,X),Pe&&Pe.m(R,X),y(R,J,X),le=!0},p(R,X){const Ve={};X[0]&64|X[1]&24&&(Ve.hidden=R[35]!==Be.Thumb||R[34]||R[90]&&R[6]),X[0]&8&&(Ve.thumbUrl=R[3]),X[0]&536870912&&(Ve.startVideo=R[29]),e.$set(Ve),R[35]===Be.WaitingLive?ne?(ne.p(R,X),X[1]&16&&m(ne,1)):(ne=yr(R),ne.c(),m(ne,1),ne.m(n.parentNode,n)):ne&&(he(),p(ne,1,1,()=>{ne=null}),pe()),R[35]===Be.WaitingRecord?ue?X[1]&16&&m(ue,1):(ue=Pr(),ue.c(),m(ue,1),ue.m(o.parentNode,o)):ue&&(he(),p(ue,1,1,()=>{ue=null}),pe()),R[8]&&R[22]?ee?(ee.p(R,X),X[0]&4194560&&m(ee,1)):(ee=Cr(R),ee.c(),m(ee,1),ee.m(l.parentNode,l)):ee&&(he(),p(ee,1,1,()=>{ee=null}),pe()),R[30]&&R[18]&&R[19]?B?(B.p(R,X),X[0]&1074528256&&m(B,1)):(B=Sr(R),B.c(),m(B,1),B.m(s.parentNode,s)):B&&(he(),p(B,1,1,()=>{B=null}),pe()),R[43]?_?(_.p(R,X),X[1]&4096&&m(_,1)):(_=Tr(R),_.c(),m(_,1),_.m(r.parentNode,r)):_&&(he(),p(_,1,1,()=>{_=null}),pe()),R[48]?x?(x.p(R,X),X[1]&131072&&m(x,1)):(x=Ar(R),x.c(),m(x,1),x.m(a.parentNode,a)):x&&(he(),p(x,1,1,()=>{x=null}),pe()),R[51]?ae?(ae.p(R,X),X[1]&1048576&&m(ae,1)):(ae=Er(),ae.c(),m(ae,1),ae.m(c.parentNode,c)):ae&&(he(),p(ae,1,1,()=>{ae=null}),pe()),R[36]?ze?(ze.p(R,X),X[1]&32&&m(ze,1)):(ze=Lr(R),ze.c(),m(ze,1),ze.m(f.parentNode,f)):ze&&(he(),p(ze,1,1,()=>{ze=null}),pe()),R[53].value!=="off"?se?(se.p(R,X),X[1]&4194304&&m(se,1)):(se=Vr(R),se.c(),m(se,1),se.m(h.parentNode,h)):se&&(he(),p(se,1,1,()=>{se=null}),pe()),R[1].features.annotations?ge?(ge.p(R,X),X[0]&2&&m(ge,1)):(ge=Ir(R),ge.c(),m(ge,1),ge.m(v.parentNode,v)):ge&&(he(),p(ge,1,1,()=>{ge=null}),pe()),R[34]?Se?(Se.p(R,X),X[1]&8&&m(Se,1)):(Se=zr(R),Se.c(),m(Se,1),Se.m(g.parentNode,g)):Se&&(he(),p(Se,1,1,()=>{Se=null}),pe());const ke={};X[1]&16&&(ke.bottomHidden=R[35]===Be.Thumb||R[35]===Be.WaitingLive||R[35]===Be.WaitingRecord),X[1]&262144&&(ke.bottomNoSmooth=R[49]),X[1]&4&&(ke.showControls=R[33]),X[1]&16&&(ke.isAds=R[35]===Be.Ads),X[0]&128|X[1]&33554432&&(ke.canRewindLive=R[7]&&R[56]!==0),X[0]&8192&&(ke.logoClickable=R[13]),X[0]&16384&&(ke.logoHidden=R[14]),X[0]&16&&(ke.videoLogoUrl=R[4]),X[0]&32768&&(ke.showNextPrevButtons=R[15]),X[0]&65536&&(ke.nextButtonActive=R[16]),X[0]&131072&&(ke.prevButtonActive=R[17]),X[0]&1048576&&(ke.isOneVideoPlaylist=R[20]),X[0]&2097152&&(ke.supportLink=R[21]),X[0]&8388608&&(ke.playNextVideo=R[23]),X[0]&16777216&&(ke.playPrevVideo=R[24]),X[0]&33554432&&(ke.repeatPlaylist=R[25]),X[1]&32768&&(ke.returnFocus=R[140]),X[0]&67108864&&(ke.seekToInteractive=R[26]),X[0]&134217728&&(ke.toggleGraph=R[27]),X[0]&268435456&&(ke.playPrevChapter=R[28]),!A&&X[1]&128&&(A=!0,ke.controlsElementRef=R[38],_t(()=>A=!1)),b.$set(ke);const be={};X[1]&67108864&&(be.isLive=R[57]),X[1]&2048&&(be.isHidden=!R[42]),X[1]&134217728&&(be.isPlaying=R[58]),X[1]&16777216&&(be.position=R[55]),X[1]&268435456&&(be.duration=R[59]),I.$set(be);const Ce={};X[0]&2097152&&(Ce.supportLink=R[21]),X[1]&32768&&(Ce.returnFocus=R[142]),X[1]&65536&&(Ce.visible=R[47]),X[1]&64&&(Ce.playerContainerRef=R[37]),X[1]&128&&(Ce.controlsContainerRef=R[38]),X[1]&256&&(Ce.x=R[39]),X[1]&512&&(Ce.y=R[40]),ie.$set(Ce),R[41]?re?X[1]&1024&&m(re,1):(re=Mr(),re.c(),m(re,1),re.m(P.parentNode,P)):re&&(he(),p(re,1,1,()=>{re=null}),pe()),R[60]?Q?X[1]&536870912&&m(Q,1):(Q=Nr(),Q.c(),m(Q,1),Q.m(F.parentNode,F)):Q&&(he(),p(Q,1,1,()=>{Q=null}),pe()),R[61]?Pe?X[1]&1073741824&&m(Pe,1):(Pe=Br(),Pe.c(),m(Pe,1),Pe.m(J.parentNode,J)):Pe&&(he(),p(Pe,1,1,()=>{Pe=null}),pe())},i(R){le||(m(e.$$.fragment,R),m(ne),m(ue),m(ee),m(B),m(_),m(x),m(ae),m(ze),m(se),m(ge),m(Se),m(b.$$.fragment,R),m(I.$$.fragment,R),m(E.$$.fragment,R),m(ie.$$.fragment,R),m(re),m(Q),m(Pe),le=!0)},o(R){p(e.$$.fragment,R),p(ne),p(ue),p(ee),p(B),p(_),p(x),p(ae),p(ze),p(se),p(ge),p(Se),p(b.$$.fragment,R),p(I.$$.fragment,R),p(E.$$.fragment,R),p(ie.$$.fragment,R),p(re),p(Q),p(Pe),le=!1},d(R){R&&(k(t),k(n),k(o),k(l),k(s),k(r),k(a),k(c),k(f),k(h),k(v),k(g),k(T),k(V),k(M),k(Y),k(P),k(F),k(J)),D(e,R),ne&&ne.d(R),ue&&ue.d(R),ee&&ee.d(R),B&&B.d(R),_&&_.d(R),x&&x.d(R),ae&&ae.d(R),ze&&ze.d(R),se&&se.d(R),ge&&ge.d(R),Se&&Se.d(R),D(b,R),D(I,R),D(E,R),D(ie,R),re&&re.d(R),Q&&Q.d(R),Pe&&Pe.d(R)}}}function xm(i){let e,t,n,o,l=i[50],s,r,a,c,f=Rr(i);return{c(){e=w("div"),t=w("div"),o=N(),f.c(),s=gt(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[32]}deg) scale(${i[45]})`),C(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),C(e,"hidden",i[35]!==Be.Video),C(e,"nocursor",i[44])},m(h,v){y(h,e,v),d(e,t),i[139](t),y(h,o,v),f.m(h,v),y(h,s,v),r=!0,a||(c=[Ae(e,"contextmenu",vi(i[102])),Ae(e,"mousedown",vi(i[107])),Ae(e,"mouseup",vi(i[108])),Ae(e,"click",vi(i[110])),Ae(e,"dblclick",vi(i[109]))],a=!0)},p(h,v){(!r||v[1]&16386&&n!==(n=`transform: rotate(${h[32]}deg) scale(${h[45]})`))&&u(t,"style",n),(!r||v[0]&2)&&C(t,"fast-rotate",!h[1].isSmoothVideoRotate),(!r||v[1]&16)&&C(e,"hidden",h[35]!==Be.Video),(!r||v[1]&8192)&&C(e,"nocursor",h[44]),v[1]&524288&&ve(l,l=h[50])?(he(),p(f,1,1,j),pe(),f=Rr(h),f.c(),m(f,1),f.m(s.parentNode,s)):f.p(h,v)},i(h){r||(m(f),r=!0)},o(h){p(f),r=!1},d(h){h&&(k(e),k(o),k(s)),i[139](null),f.d(h),a=!1,Rt(c)}}}function $m(i){let e,t,n,o,l,s={toggleFullscreen:i[100],hideContextMenu:i[101],showHotKeyHelpers:i[111],showKeyMap:i[112],isAds:i[35]===Be.Ads,$$slots:{default:[xm]},$$scope:{ctx:i}};return t=new Wc({props:s}),i[143](t),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","player-wrapper v-1o4wf3x")},m(r,a){y(r,e,a),O(t,e,null),i[144](e),n=!0,o||(l=[Ae(Xm,"blur",i[101]),Ae(e,"mouseenter",i[103]),Ae(e,"mouseleave",i[105]),Ae(e,"mousemove",i[106]),Ae(e,"click",i[114],!0),Ae(e,"focusin",i[104],!0)],o=!0)},p(r,a){const c={};a[1]&16&&(c.isAds=r[35]===Be.Ads),a[0]&2147483647|a[1]&2147483647|a[5]&512&&(c.$$scope={dirty:a,ctx:r}),t.$set(c)},i(r){n||(m(t.$$.fragment,r),n=!0)},o(r){p(t.$$.fragment,r),n=!1},d(r){r&&k(e),i[143](null),D(t),i[144](null),o=!1,Rt(l)}}}let e3=!0;function k1(i){return i?i.offsetTop+k1(i.offsetParent):0}function t3(i,e,t){let n,o,l,s,r,a,c,f,h,v,g,b,A,T,I,V,E,M,ie,Y,P,F,J,le,ne,ue,ee,B,_,x,ae,ze,se,ge,Se,G,{store:L}=e,{uiConfig:re}=e,{title:Q}=e,{thumbUrl:Pe}=e,{videoLogoUrl:R}=e,{videoContainer:X}=e,{interactiveContainer:Ve}=e,{live:ke}=e,{autoplay:be}=e,{canRewindLive:Ce}=e,{showAds:Te}=e,{adsSlotId:Z=void 0}=e,{adsParams:W=void 0}=e,{adsPreviewParam:We=void 0}=e,{duration:Ge=void 0}=e,{logoClickable:xe}=e,{logoHidden:De}=e,{showNextPrevButtons:Me=!1}=e,{nextButtonActive:dt=!1}=e,{prevButtonActive:st=!1}=e,{endScreenVideoTitle:Ne=void 0}=e,{endScreenVideoThumb:Re=void 0}=e,{isOneVideoPlaylist:Qt=!1}=e,{supportLink:me}=e,{outerContainerRef:at=void 0}=e,{playerStarted:Je=!1}=e,{fullScreenTarget:$e=void 0}=e,{showMiniTimer:Ye=!1}=e,{playNextVideo:et=$.noop}=e,{playPrevVideo:lt=$.noop}=e,{repeatPlaylist:ft=$.noop}=e,{seekToInteractive:Pt}=e,{toggleGraph:nt}=e,{playPrevChapter:Ut}=e,{firstStart:Ct}=e;const tt=L.getLogger().createComponentLog("Root component"),xt=L.interfaceLanguage$;U(i,xt,q=>t(50,ne=q));const mt=L.state.playbackState$;U(i,mt,q=>t(136,F=q));const Ze=L.ads.playbackState;U(i,Ze,q=>t(137,J=q));const Tt=L.state.positionWithScrubbing$;U(i,Tt,q=>t(55,x=q));const rt=L.state.duration$;U(i,rt,q=>t(59,ge=q));const $t=L.playerPhase;U(i,$t,q=>t(35,E=q));const de=L.ui.isFullscreen;U(i,de,q=>t(127,c=q));const ye=L.ui.controlsVisible;U(i,ye,q=>t(33,b=q));const Ie=L.ui.settingsMenuVisible;U(i,Ie,q=>t(125,n=q));const St=L.ui.scrubbingInProgress;U(i,St,q=>t(128,v=q));const ri=L.ui.contextMenuVisible;U(i,ri,q=>t(47,o=q));const Ee=L.ui.debugPanelVisible;U(i,Ee,q=>t(61,G=q));const Ai=L.state.isLoaderVisible;U(i,Ai,q=>t(138,le=q));const Vt=L.state.isEnded$;U(i,Vt,q=>t(126,s=q));const ei=L.state.chromecastConnected$;U(i,ei,q=>t(36,Y=q));const Ei=L.state.chromecastDeviceName$;U(i,Ei,q=>t(52,ee=q));const Ot=L.ads.postrollPassed;U(i,Ot,q=>t(131,I=q));const ai=L.state.isLive$;U(i,ai,q=>t(57,ze=q));const xi=L.state.isPlaying$;U(i,xi,q=>t(58,se=q));const Ri=L.state.crashed$;U(i,Ri,q=>t(34,T=q));const Wt=L.webApi.pictureInPictureApi,Oi=L.state.currentSubtitle$;U(i,Oi,q=>t(53,B=q));const Li=L.state.currentSubtitleCaptions$;U(i,Li,q=>t(54,_=q));const $i=L.state.duration$;U(i,$i,q=>t(56,ae=q));const qt=L.state.graphIsOpened$;U(i,qt,q=>t(132,V=q));const bi=L.ui.playerSize;U(i,bi,q=>t(31,a=q));const Vi=L.ui.is3DVideo;U(i,Vi,q=>t(48,r=q));const _i=L.ui.icon3DVideoVisible;U(i,_i,q=>t(51,ue=q));const Di=L.ui.rotateAlpha;U(i,Di,q=>t(32,h=q));const ti=L.state.isInteractive,ui=L.state.isInteractiveTime$;U(i,ui,q=>t(129,g=q));const wi=L.state.isInteractiveExpectation$;U(i,wi,q=>t(135,P=q));const ki=L.state.hasInteractiveBranches,bt=L.ui.touched;U(i,bt,q=>t(133,M=q));const Dt=L.ui.modals.hotKeyMap.data;U(i,Dt,q=>t(151,l=q));const yi=L.ui.modals.hotKeyMap.show;U(i,yi,q=>t(60,Se=q));let ii,Hi,Fi=0,Pi=0,Ii,ni,ci;Dt.set(Vu());let zi;const fi=Fe(!1);U(i,fi,q=>t(49,f=q));let Ci;const oi=Fe(!1);U(i,oi,q=>t(134,ie=q));const li=Fe(),Si=Fe(!1);U(i,Si,q=>t(130,A=q));let Ht=!1,jt=!1,It,di,Ui,Ti,Mi,Zt,Ni=!1,Wi,mi=!1,zt=null,hi;Wt?.setContext(ca());const Zi=()=>{be&&!ti&&At(re.controls.hideTimeout)};L.setUiCallbacks({onStarted:Zi});const qi=()=>{window.clearTimeout(Ii),oi.set(!1)},pi=()=>{window.clearTimeout(ni),li.set(null)},At=q=>{qi(),oi.set(!0),Ii=window.setTimeout(()=>oi.set(!1),q);const Xt=q-100;Ci=window.setTimeout(()=>{f&&fi.set(!1)},Xt>0?Xt:q)},Bi=(q,Xt)=>{pi(),li.set(Xt),ni=window.setTimeout(()=>li.set(null),q)},fe=Vi.subscribe(q=>{_i.set(q),q&&(window.clearTimeout(ci),ci=window.setTimeout(()=>_i.set(!1),re.controls.hide360IconTimeout))}),Ft=async()=>{const q=io();if(q){At(re.controls.hideTimeoutFullscreen);try{await Wt?.remove()}catch(Xt){tt({message:String(Xt)})}}de.set(q),L.getAdmanWrapper().setFullscreen(q),c?L.callbacks?.onFullscreenEnter?.():L.callbacks?.onFullscreenExit?.()},Gi=q=>{const Xt=q;bi.set({width:Xt.target.width,height:Xt.target.height})};ji(()=>(Ia(Ft),vo(Wt)&&(Wt?.assignPlayerContainer(ii),Wt?.updateVideoElement(),Wt?.registryEventHandlers(),Wt?.registryExternalEventHandlers({resize:Gi})),Ve&&X.parentElement?.insertBefore(Ve,X.nextSibling),()=>{window.clearTimeout(Ii),window.clearTimeout(Ci),window.clearTimeout(ni),window.clearTimeout(ci),fe(),Wt?.dispose(),za(Ft)}));const Ki=async()=>{if(io())await Va(document),tt({message:"exit fullscreen"});else{tt({message:"request fullscreen"});const q=at??ii,Xt=q.getRootNode(),te=Xt instanceof ShadowRoot?Xt.host:Xt,nn=$e instanceof HTMLElement&&$e.contains(te),ut=re.allowChangingFullscreenTarget&&$e&&nn?$e:q;await La(ut)}},Qi=()=>{Ie.set(!1),ri.set(!1)},yn=q=>{ri.set(!0),t(39,Fi=q.clientX),t(40,Pi=q.clientY)};function dn(){Si.set(!0),ti||At(re.controls.hideTimeoutCursor)}function mn(){ti||(fi.set(!0),At(re.controls.hideTimeoutCursor))}function an(){Si.set(!1),t(121,jt=!1),t(120,Ht=!1),mi=!1,L.actions.internal.releaseCamera()}function K(q){if(ii){const Xt=k1(q.currentTarget),te=a.height,nn=q.pageY-Xt;nn<nl?t(121,jt=!0):nn>te-nl?t(120,Ht=!0):(t(121,jt=!1),n||t(120,Ht=!1))}}function kt(q){K(q),di||At(re.controls.hideTimeoutCursor),r&&mi&&zt&&L.actions.internal.moveCameraFocusPX(zt.clientX-q.clientX,zt.clientY-q.clientY,q.timeStamp-zt.timeStamp),zt=q}const Pn=q=>{q.button===0&&(mi=!0,L.actions.internal.holdCamera()),At(re.controls.hideTimeoutCursor)},Cn=q=>{q.button===0&&(zt=q,mi=!1,L.actions.internal.releaseCamera()),At(re.controls.hideTimeoutCursor)},Sn=()=>{tt({message:"double click on video"}),Ki(),At(re.controls.hideTimeoutCursor)},Wn=()=>{if(o||n){Qi();return}if(!(s&&!ki)){if(hi?.focus(),!Je){Ct(),At(re.controls.hideTimeoutCursor);return}L.actions.internal.togglePlay(),At(re.controls.hideTimeoutCursor)}},qn=q=>{Qi(),bt.set(!0),At(re.controls.hideTimeout),q&&Bi(1e5,q)},jn=()=>{Qi(),L.callbacks?.onOpenHotKeyMap?L.callbacks?.onOpenHotKeyMap(l):yi.update(q=>!q)},Zn=()=>{if(o||n){Qi();return}},Gn=()=>{bt.set(!0)};function Yn(q){je[q?"unshift":"push"](()=>{X=q,t(0,X)})}const Kn=()=>hi?.focus();function Vn(q){Hi=q,t(38,Hi)}const Qn=()=>hi?.focus();function In(q){je[q?"unshift":"push"](()=>{hi=q,t(46,hi)})}function Tn(q){je[q?"unshift":"push"](()=>{ii=q,t(37,ii)})}return i.$$set=q=>{"store"in q&&t(115,L=q.store),"uiConfig"in q&&t(1,re=q.uiConfig),"title"in q&&t(2,Q=q.title),"thumbUrl"in q&&t(3,Pe=q.thumbUrl),"videoLogoUrl"in q&&t(4,R=q.videoLogoUrl),"videoContainer"in q&&t(0,X=q.videoContainer),"interactiveContainer"in q&&t(116,Ve=q.interactiveContainer),"live"in q&&t(5,ke=q.live),"autoplay"in q&&t(6,be=q.autoplay),"canRewindLive"in q&&t(7,Ce=q.canRewindLive),"showAds"in q&&t(8,Te=q.showAds),"adsSlotId"in q&&t(9,Z=q.adsSlotId),"adsParams"in q&&t(10,W=q.adsParams),"adsPreviewParam"in q&&t(11,We=q.adsPreviewParam),"duration"in q&&t(12,Ge=q.duration),"logoClickable"in q&&t(13,xe=q.logoClickable),"logoHidden"in q&&t(14,De=q.logoHidden),"showNextPrevButtons"in q&&t(15,Me=q.showNextPrevButtons),"nextButtonActive"in q&&t(16,dt=q.nextButtonActive),"prevButtonActive"in q&&t(17,st=q.prevButtonActive),"endScreenVideoTitle"in q&&t(18,Ne=q.endScreenVideoTitle),"endScreenVideoThumb"in q&&t(19,Re=q.endScreenVideoThumb),"isOneVideoPlaylist"in q&&t(20,Qt=q.isOneVideoPlaylist),"supportLink"in q&&t(21,me=q.supportLink),"outerContainerRef"in q&&t(117,at=q.outerContainerRef),"playerStarted"in q&&t(22,Je=q.playerStarted),"fullScreenTarget"in q&&t(118,$e=q.fullScreenTarget),"showMiniTimer"in q&&t(119,Ye=q.showMiniTimer),"playNextVideo"in q&&t(23,et=q.playNextVideo),"playPrevVideo"in q&&t(24,lt=q.playPrevVideo),"repeatPlaylist"in q&&t(25,ft=q.repeatPlaylist),"seekToInteractive"in q&&t(26,Pt=q.seekToInteractive),"toggleGraph"in q&&t(27,nt=q.toggleGraph),"playPrevChapter"in q&&t(28,Ut=q.playPrevChapter),"firstStart"in q&&t(29,Ct=q.firstStart)},i.$$.update=()=>{i.$$.dirty[1]&24|i.$$.dirty[4]&24576&&t(41,zi=(E===Be.Video&&le||E===Be.Ads&&J===Nt.INACTIVE)&&!T),i.$$.dirty[4]&4096&&t(122,It=F!==ot.PlaybackState.PLAYING),i.$$.dirty[3]&939524096|i.$$.dirty[4]&2080&&t(123,di=g&&!(Ht||jt)&&!(It&&!P)),i.$$.dirty[1]&56|i.$$.dirty[3]&1610612736|i.$$.dirty[4]&1042&&ye.set((It||n||v||Y||ie)&&!di&&E===Be.Video&&!T),i.$$.dirty[0]&2|i.$$.dirty[1]&28|i.$$.dirty[3]&67108864|i.$$.dirty[4]&512&&t(42,Ui=re.features.thumbTimer&&Ye&&E===Be.Video&&!b&&!T&&!ti&&(re.hideThumbTimerAfterTouch&&!M||!re.hideThumbTimerAfterTouch)),i.$$.dirty[1]&16|i.$$.dirty[4]&264&&t(43,Ti=E===Be.Video&&!V&&c),i.$$.dirty[0]&256|i.$$.dirty[1]&8|i.$$.dirty[4]&132&&t(30,Mi=(Te&&I||!Te)&&s&&!T),i.$$.dirty[0]&1073741824|i.$$.dirty[1]&4|i.$$.dirty[4]&96&&t(44,Zt=A&&!(b||Mi)&&!g),i.$$.dirty[0]&2|i.$$.dirty[4]&49&&(!v&&Ni&&!g&&At(re.controls.hideTimeoutCursor),t(124,Ni=v)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(45,Wi=X&&h%180?a.height/a.width:1)},[X,re,Q,Pe,R,ke,be,Ce,Te,Z,W,We,Ge,xe,De,Me,dt,st,Ne,Re,Qt,me,Je,et,lt,ft,Pt,nt,Ut,Ct,Mi,a,h,b,T,E,Y,ii,Hi,Fi,Pi,zi,Ui,Ti,Zt,Wi,hi,o,r,f,ne,ue,ee,B,_,x,ae,ze,se,ge,Se,G,xt,mt,Ze,Tt,rt,$t,de,ye,Ie,St,ri,Ee,Ai,Vt,ei,Ei,Ot,ai,xi,Ri,Oi,Li,$i,qt,bi,Vi,_i,Di,ti,ui,wi,bt,Dt,yi,fi,oi,li,Si,Ki,Qi,yn,dn,mn,an,kt,Pn,Cn,Sn,Wn,qn,jn,Zn,Gn,L,Ve,at,$e,Ye,Ht,jt,It,di,Ni,n,s,c,v,g,A,I,V,M,ie,P,F,J,le,Yn,Kn,Vn,Qn,In,Tn]}class i3 extends we{constructor(e){super(),_e(this,e,t3,$m,ve,{store:115,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:116,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:117,playerStarted:22,fullScreenTarget:118,showMiniTimer:119,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},Jm,[-1,-1,-1,-1,-1,-1])}}const n3=i=>{if(!$.isIOS(!0))return!1;const e=i.device===$.CurrentClientDevice.iPad||window?.screen.width>700,t=$.getIOSVersion();return!e||e&&!!t&&t<16};function o3(i){He(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 Or(i){let e,t,n,o,l,s,r,a,c,f,h,v,g,b,A,T=oe("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",I;return{c(){e=w("div"),n=N(),o=w("div"),l=w("div"),s=w("div"),a=N(),c=w("div"),h=N(),v=w("div"),b=N(),A=w("p"),I=Ue(T),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(s,"class",r="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(v,"class",g="triangle "+i[0]+" v-nhq2ld"),u(l,"class","triangles-wrapper v-nhq2ld"),u(A,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(V,E){y(V,e,E),y(V,n,E),y(V,o,E),d(o,l),d(l,s),d(l,a),d(l,c),d(l,h),d(l,v),d(o,b),d(o,A),d(A,I)},p(V,E){E&1&&t!==(t="semicircle "+V[0]+" v-nhq2ld")&&u(e,"class",t),E&1&&r!==(r="triangle "+V[0]+" v-nhq2ld")&&u(s,"class",r),E&1&&f!==(f="triangle "+V[0]+" v-nhq2ld")&&u(c,"class",f),E&1&&g!==(g="triangle "+V[0]+" v-nhq2ld")&&u(v,"class",g),E&2&&T!==(T=oe("doubletap_seek_step",{seconds:V[1].toFixed(0)})+"")&&Xe(I,T)},d(V){V&&(k(e),k(n),k(o))}}}function l3(i){let e,t,n,o,l=i[2]&&Or(i);return{c(){e=w("div"),l&&l.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(s,r){y(s,e,r),l&&l.m(e,null),n||(o=Ae(e,"click",ct(i[3]())),n=!0)},p(s,[r]){s[2]?l?l.p(s,r):(l=Or(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),r&1&&t!==(t="double-click-area "+s[0]+" v-nhq2ld")&&u(e,"class",t)},i:j,o:j,d(s){s&&k(e),l&&l.d(),n=!1,o()}}}function s3(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:l}=e,{handleSecondClick:s}=e,r=!1,a=0,c=0;const f=()=>{let v=0;return()=>{v+=1,v===1?a=window.setTimeout(()=>{l(),v=0},300):(window.clearTimeout(a),v=0,s(),t(2,r=!0),c=window.setTimeout(()=>{t(2,r=!1)},500))}};return _o(()=>{window.clearTimeout(a),window.clearTimeout(c)}),i.$$set=h=>{"side"in h&&t(0,n=h.side),"seekStep"in h&&t(1,o=h.seekStep),"handleSingleFirstClick"in h&&t(4,l=h.handleSingleFirstClick),"handleSecondClick"in h&&t(5,s=h.handleSecondClick)},[n,o,r,f,l,s]}class y1 extends we{constructor(e){super(),_e(this,e,s3,l3,ve,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},o3)}}function r3(i,e,t){let{playNextVideo:n}=e;return ji(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class a3 extends we{constructor(e){super(),_e(this,e,r3,null,ve,{playNextVideo:0})}}const{window:u3}=ra;function c3(i){He(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 Dr(i){let e,t,n,o;e=new y1({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[98],handleSecondClick:i[126]}});let l=!i[47]&&Hr(i);return{c(){H(e.$$.fragment),t=N(),l&&l.c(),n=gt()},m(s,r){O(e,s,r),y(s,t,r),l&&l.m(s,r),y(s,n,r),o=!0},p(s,r){const a={};r[0]&2&&(a.seekStep=s[1].controls.seekStepMobile/1e3),e.$set(a),s[47]?l&&(he(),p(l,1,1,()=>{l=null}),pe()):l?(l.p(s,r),r[1]&65536&&m(l,1)):(l=Hr(s),l.c(),m(l,1),l.m(n.parentNode,n))},i(s){o||(m(e.$$.fragment,s),m(l),o=!0)},o(s){p(e.$$.fragment,s),p(l),o=!1},d(s){s&&(k(t),k(n)),D(e,s),l&&l.d(s)}}}function Hr(i){let e,t;return e=new y1({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[98],handleSecondClick:i[127]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&2&&(l.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Fr(i){let e,t;return e=new _1({props:{thumbUrl:i[2],startTime:i[4]?.startTime}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.thumbUrl=n[2]),o[0]&16&&(l.startTime=n[4]?.startTime),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ur(i){let e,t;return e=new w1({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Wr(i){let e,t,n;return t=new Na({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),C(e,"hidden",i[33]!==Be.Ads)},m(o,l){y(o,e,l),O(t,e,null),n=!0},p(o,l){const s={};l[0]&256&&(s.adsSlotId=o[8]),l[0]&512&&(s.adsParams=o[9]),l[0]&1024&&(s.adsPreviewParam=o[10]),l[0]&2048&&(s.duration=o[11]),t.$set(s),(!n||l[1]&4)&&C(e,"hidden",o[33]!==Be.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function qr(i){let e,t;return e=new a3({props:{playNextVideo:i[22]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&4194304&&(l.playNextVideo=n[22]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function jr(i){let e,t;return e=new h1({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Zr(i){let e,t,n;return t=new Sa({props:{ariaLabel:oe("video360")}}),{c(){e=w("div"),H(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,l){y(o,e,l),O(t,e,null),n=!0},p:j,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function Gr(i){let e,t;return e=new g1({props:{thumbUrl:i[2],chromecastDeviceName:i[50]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.thumbUrl=n[2]),o[1]&524288&&(l.chromecastDeviceName=n[50]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Yr(i){let e,t;return e=new p1({props:{shifted:i[29],captions:i[52],position:i[43],playerSize:i[30],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&536870912&&(l.shifted=n[29]),o[1]&2097152&&(l.captions=n[52]),o[1]&4096&&(l.position=n[43]),o[0]&1073741824&&(l.playerSize=n[30]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Kr(i){let e,t;return e=new Ba({props:{showControls:i[29]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o[0]&536870912&&(l.showControls=n[29]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Qr(i){let e,t,n,o,l;return t=new v1({}),{c(){e=w("div"),H(t.$$.fragment)},m(s,r){y(s,e,r),O(t,e,null),n=!0,o||(l=Ae(e,"click",ct(i[99])),o=!0)},p:j,i(s){n||(m(t.$$.fragment,s),n=!0)},o(s){p(t.$$.fragment,s),n=!1},d(s){s&&k(e),D(t),o=!1,l()}}}function Xr(i){let e,t;return e=new qa({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Jr(i){let e,t;return e=new Da({}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function xr(i){let e,t,n=i[6]&&i[77]&&!i[46].has(ht.TIMELINE),o,l,s,r,a,c,f,h,v,g,b,A,T,I,V,E,M,ie,Y;e=new b1({props:{hidden:i[33]!==Be.Thumb||i[32]||i[88]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let P=n&&Dr(i),F=i[33]===Be.WaitingLive&&Fr(i),J=i[33]===Be.WaitingRecord&&Ur(),le=i[7]&&i[21]&&Wr(i),ne=i[40]&&i[17]&&i[18]&&qr(i),ue=i[48]&&jr(),ee=i[49]&&Zr(),B=i[34]&&Gr(i),_=i[51].value!=="off"&&Yr(i),x=i[1].features.annotations&&Kr(i),ae=i[32]&&Qr(i);function ze(G){i[128](G)}let se={bottomHidden:i[33]===Be.Thumb||i[33]===Be.WaitingLive||i[33]===Be.WaitingRecord||i[33]===Be.Ads,showControls:i[29],bottomNoSmooth:i[44],isAds:i[33]===Be.Ads,canRewindLive:i[6]&&i[53]!==0,logoClickable:i[12],logoHidden:i[13],videoLogoUrl:i[3],showNextPrevButtons:i[14],nextButtonActive:i[15],prevButtonActive:i[16],isOneVideoPlaylist:i[19],supportLink:i[20],customFullscreenSupported:i[38],playNextVideo:i[22],playPrevVideo:i[23],repeatPlaylist:i[24],toggleFullscreen:i[96],seekToInteractive:i[25],toggleGraph:i[26],playPrevChapter:i[27]};i[36]!==void 0&&(se.controlsElementRef=i[36]),A=new d1({props:se}),je.push(()=>wt(A,"controlsElementRef",ze)),V=new Oa({props:{isLive:i[54],isHidden:!i[39],isPlaying:i[55],position:i[43],duration:i[42]}});let ge=i[37]&&Xr(),Se=i[56]&&Jr();return{c(){H(e.$$.fragment),t=N(),P&&P.c(),o=N(),F&&F.c(),l=N(),J&&J.c(),s=N(),le&&le.c(),r=N(),ne&&ne.c(),a=N(),ue&&ue.c(),c=N(),ee&&ee.c(),f=N(),B&&B.c(),h=N(),_&&_.c(),v=N(),x&&x.c(),g=N(),ae&&ae.c(),b=N(),H(A.$$.fragment),I=N(),H(V.$$.fragment),E=N(),ge&&ge.c(),M=N(),Se&&Se.c(),ie=gt()},m(G,L){O(e,G,L),y(G,t,L),P&&P.m(G,L),y(G,o,L),F&&F.m(G,L),y(G,l,L),J&&J.m(G,L),y(G,s,L),le&&le.m(G,L),y(G,r,L),ne&&ne.m(G,L),y(G,a,L),ue&&ue.m(G,L),y(G,c,L),ee&&ee.m(G,L),y(G,f,L),B&&B.m(G,L),y(G,h,L),_&&_.m(G,L),y(G,v,L),x&&x.m(G,L),y(G,g,L),ae&&ae.m(G,L),y(G,b,L),O(A,G,L),y(G,I,L),O(V,G,L),y(G,E,L),ge&&ge.m(G,L),y(G,M,L),Se&&Se.m(G,L),y(G,ie,L),Y=!0},p(G,L){const re={};L[0]&32|L[1]&6&&(re.hidden=G[33]!==Be.Thumb||G[32]||G[88]&&G[5]),L[0]&4&&(re.thumbUrl=G[2]),L[0]&268435456&&(re.startVideo=G[28]),e.$set(re),L[0]&64|L[1]&32768&&(n=G[6]&&G[77]&&!G[46].has(ht.TIMELINE)),n?P?(P.p(G,L),L[0]&64|L[1]&32768&&m(P,1)):(P=Dr(G),P.c(),m(P,1),P.m(o.parentNode,o)):P&&(he(),p(P,1,1,()=>{P=null}),pe()),G[33]===Be.WaitingLive?F?(F.p(G,L),L[1]&4&&m(F,1)):(F=Fr(G),F.c(),m(F,1),F.m(l.parentNode,l)):F&&(he(),p(F,1,1,()=>{F=null}),pe()),G[33]===Be.WaitingRecord?J?L[1]&4&&m(J,1):(J=Ur(),J.c(),m(J,1),J.m(s.parentNode,s)):J&&(he(),p(J,1,1,()=>{J=null}),pe()),G[7]&&G[21]?le?(le.p(G,L),L[0]&2097280&&m(le,1)):(le=Wr(G),le.c(),m(le,1),le.m(r.parentNode,r)):le&&(he(),p(le,1,1,()=>{le=null}),pe()),G[40]&&G[17]&&G[18]?ne?(ne.p(G,L),L[0]&393216|L[1]&512&&m(ne,1)):(ne=qr(G),ne.c(),m(ne,1),ne.m(a.parentNode,a)):ne&&(he(),p(ne,1,1,()=>{ne=null}),pe()),G[48]?ue?L[1]&131072&&m(ue,1):(ue=jr(),ue.c(),m(ue,1),ue.m(c.parentNode,c)):ue&&(he(),p(ue,1,1,()=>{ue=null}),pe()),G[49]?ee?(ee.p(G,L),L[1]&262144&&m(ee,1)):(ee=Zr(),ee.c(),m(ee,1),ee.m(f.parentNode,f)):ee&&(he(),p(ee,1,1,()=>{ee=null}),pe()),G[34]?B?(B.p(G,L),L[1]&8&&m(B,1)):(B=Gr(G),B.c(),m(B,1),B.m(h.parentNode,h)):B&&(he(),p(B,1,1,()=>{B=null}),pe()),G[51].value!=="off"?_?(_.p(G,L),L[1]&1048576&&m(_,1)):(_=Yr(G),_.c(),m(_,1),_.m(v.parentNode,v)):_&&(he(),p(_,1,1,()=>{_=null}),pe()),G[1].features.annotations?x?(x.p(G,L),L[0]&2&&m(x,1)):(x=Kr(G),x.c(),m(x,1),x.m(g.parentNode,g)):x&&(he(),p(x,1,1,()=>{x=null}),pe()),G[32]?ae?(ae.p(G,L),L[1]&2&&m(ae,1)):(ae=Qr(G),ae.c(),m(ae,1),ae.m(b.parentNode,b)):ae&&(he(),p(ae,1,1,()=>{ae=null}),pe());const Q={};L[1]&4&&(Q.bottomHidden=G[33]===Be.Thumb||G[33]===Be.WaitingLive||G[33]===Be.WaitingRecord||G[33]===Be.Ads),L[0]&536870912&&(Q.showControls=G[29]),L[1]&8192&&(Q.bottomNoSmooth=G[44]),L[1]&4&&(Q.isAds=G[33]===Be.Ads),L[0]&64|L[1]&4194304&&(Q.canRewindLive=G[6]&&G[53]!==0),L[0]&4096&&(Q.logoClickable=G[12]),L[0]&8192&&(Q.logoHidden=G[13]),L[0]&8&&(Q.videoLogoUrl=G[3]),L[0]&16384&&(Q.showNextPrevButtons=G[14]),L[0]&32768&&(Q.nextButtonActive=G[15]),L[0]&65536&&(Q.prevButtonActive=G[16]),L[0]&524288&&(Q.isOneVideoPlaylist=G[19]),L[0]&1048576&&(Q.supportLink=G[20]),L[1]&128&&(Q.customFullscreenSupported=G[38]),L[0]&4194304&&(Q.playNextVideo=G[22]),L[0]&8388608&&(Q.playPrevVideo=G[23]),L[0]&16777216&&(Q.repeatPlaylist=G[24]),L[0]&33554432&&(Q.seekToInteractive=G[25]),L[0]&67108864&&(Q.toggleGraph=G[26]),L[0]&134217728&&(Q.playPrevChapter=G[27]),!T&&L[1]&32&&(T=!0,Q.controlsElementRef=G[36],_t(()=>T=!1)),A.$set(Q);const Pe={};L[1]&8388608&&(Pe.isLive=G[54]),L[1]&256&&(Pe.isHidden=!G[39]),L[1]&16777216&&(Pe.isPlaying=G[55]),L[1]&4096&&(Pe.position=G[43]),L[1]&2048&&(Pe.duration=G[42]),V.$set(Pe),G[37]?ge?L[1]&64&&m(ge,1):(ge=Xr(),ge.c(),m(ge,1),ge.m(M.parentNode,M)):ge&&(he(),p(ge,1,1,()=>{ge=null}),pe()),G[56]?Se?L[1]&33554432&&m(Se,1):(Se=Jr(),Se.c(),m(Se,1),Se.m(ie.parentNode,ie)):Se&&(he(),p(Se,1,1,()=>{Se=null}),pe())},i(G){Y||(m(e.$$.fragment,G),m(P),m(F),m(J),m(le),m(ne),m(ue),m(ee),m(B),m(_),m(x),m(ae),m(A.$$.fragment,G),m(V.$$.fragment,G),m(ge),m(Se),Y=!0)},o(G){p(e.$$.fragment,G),p(P),p(F),p(J),p(le),p(ne),p(ue),p(ee),p(B),p(_),p(x),p(ae),p(A.$$.fragment,G),p(V.$$.fragment,G),p(ge),p(Se),Y=!1},d(G){G&&(k(t),k(o),k(l),k(s),k(r),k(a),k(c),k(f),k(h),k(v),k(g),k(b),k(I),k(E),k(M),k(ie)),D(e,G),P&&P.d(G),F&&F.d(G),J&&J.d(G),le&&le.d(G),ne&&ne.d(G),ue&&ue.d(G),ee&&ee.d(G),B&&B.d(G),_&&_.d(G),x&&x.d(G),ae&&ae.d(G),D(A,G),D(V,G),ge&&ge.d(G),Se&&Se.d(G)}}}function f3(i){let e,t,n,o,l,s=i[45],r,a,c,f=xr(i);return{c(){e=w("div"),t=w("div"),n=w("div"),l=N(),f.c(),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${i[31]}deg) scale(${i[41]})`),C(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),C(t,"hidden",i[33]!==Be.Video),u(e,"class","player-wrapper v-1jy89ut")},m(h,v){y(h,e,v),d(e,t),d(t,n),i[125](n),d(e,l),f.m(e,null),i[129](e),r=!0,a||(c=[Ae(u3,"blur",i[97]),Ae(t,"click",vi(i[98])),Ae(e,"click",i[100],!0),Ae(e,"focusin",i[101],!0)],a=!0)},p(h,v){(!r||v[1]&1025&&o!==(o=`transform: rotate(${h[31]}deg) scale(${h[41]})`))&&u(n,"style",o),(!r||v[0]&2)&&C(n,"fast-rotate",!h[1].isSmoothVideoRotate),(!r||v[1]&4)&&C(t,"hidden",h[33]!==Be.Video),v[1]&16384&&ve(s,s=h[45])?(he(),p(f,1,1,j),pe(),f=xr(h),f.c(),m(f,1),f.m(e,null)):f.p(h,v)},i(h){r||(m(f),r=!0)},o(h){p(f),r=!1},d(h){h&&k(e),i[125](null),f.d(h),i[129](null),a=!1,Rt(c)}}}function d3(i,e,t){let n,o,l,s,r,a,c,f,h,v,g,b,A,T,I,V,E,M,ie,Y,P,F,J,le,ne,ue,ee,B,_,x,ae,ze,se,ge,Se,G,{store:L}=e,{uiConfig:re}=e,{thumbUrl:Q}=e,{videoLogoUrl:Pe}=e,{videoContainer:R}=e,{interactiveContainer:X}=e,{live:Ve}=e,{autoplay:ke}=e,{canRewindLive:be}=e,{showAds:Ce}=e,{adsSlotId:Te=void 0}=e,{adsParams:Z=void 0}=e,{adsPreviewParam:W=void 0}=e,{duration:We=void 0}=e,{logoClickable:Ge}=e,{logoHidden:xe}=e,{showNextPrevButtons:De=!1}=e,{nextButtonActive:Me=!1}=e,{prevButtonActive:dt=!1}=e,{endScreenVideoTitle:st=void 0}=e,{endScreenVideoThumb:Ne=void 0}=e,{isOneVideoPlaylist:Re=!1}=e,{supportLink:Qt}=e,{outerContainerRef:me=void 0}=e,{showMiniTimer:at=!1}=e,{fullScreenTarget:Je=void 0}=e,{playerStarted:$e=!1}=e,{playNextVideo:Ye=$.noop}=e,{playPrevVideo:et=$.noop}=e,{repeatPlaylist:lt=$.noop}=e,{seekToInteractive:ft}=e,{toggleGraph:Pt}=e,{playPrevChapter:nt}=e,{firstStart:Ut}=e,{seekTime:Ct}=e;const tt=L.getLogger().createComponentLog("Root component"),xt=L.interfaceLanguage$;U(i,xt,K=>t(45,ne=K));const mt=L.state.playbackState$;U(i,mt,K=>t(122,F=K));const Ze=L.ads.playbackState;U(i,Ze,K=>t(123,J=K));const Tt=L.state.positionWithScrubbing$;U(i,Tt,K=>t(43,s=K));const rt=L.state.duration$;U(i,rt,K=>t(42,l=K));const $t=L.playerPhase;U(i,$t,K=>t(33,M=K));const de=L.ui.isFullscreen;U(i,de,K=>t(135,a=K));const ye=L.ui.controlsVisible;U(i,ye,K=>t(29,o=K));const Ie=L.ui.interactiveHideMobileControls;U(i,Ie,K=>t(114,v=K));const St=L.ui.settingsMenuVisible;U(i,St,K=>t(113,n=K));const ri=L.ui.scrubbingInProgress;U(i,ri,K=>t(115,b=K));const Ee=L.ui.debugPanelVisible;U(i,Ee,K=>t(56,G=K));const Ai=L.state.isLoaderVisible;U(i,Ai,K=>t(124,le=K));const Vt=L.state.isEnded$;U(i,Vt,K=>t(117,I=K));const ei=L.state.chromecastConnected$;U(i,ei,K=>t(34,ie=K));const Ei=L.state.chromecastDeviceName$;U(i,Ei,K=>t(50,x=K));const Ot=L.ads.postrollPassed;U(i,Ot,K=>t(118,V=K));const ai=L.ui.mobileUnmuteButtonExpanded,xi=L.ui.mobileUnmuteButtonVisible,Ri=L.state.isLive$;U(i,Ri,K=>t(54,ge=K));const Wt=L.state.isPlaying$;U(i,Wt,K=>t(55,Se=K));const Oi=L.state.isActiveLive$;U(i,Oi,K=>t(47,ee=K));const Li=L.state.isRewindableLive$,$i=L.state.crashed$;U(i,$i,K=>t(32,T=K));const qt=L.webApi.pictureInPictureApi,bi=L.state.videoSize$;U(i,bi,K=>t(136,f=K));const Vi=L.state.currentSubtitle$;U(i,Vi,K=>t(51,ae=K));const _i=L.state.currentSubtitleCaptions$;U(i,_i,K=>t(52,ze=K));const Di=L.state.duration$;U(i,Di,K=>t(53,se=K));const ti=L.state.graphIsOpened$;U(i,ti,K=>t(121,P=K));const ui=L.ui.playerSize;U(i,ui,K=>t(30,c=K));const wi=L.ui.is3DVideo;U(i,wi,K=>t(48,B=K));const ki=L.ui.icon3DVideoVisible;U(i,ki,K=>t(49,_=K));const bt=L.ui.rotateAlpha;U(i,bt,K=>t(31,g=K));const Dt=L.state.isInteractive,yi=L.state.isInteractiveTime$;U(i,yi,K=>t(116,A=K));const ii=L.state.isInteractiveExpectation$;U(i,ii,K=>t(120,Y=K));const Hi=L.state.hasInteractiveBranches,Fi=L.ui.controls.disabledControls$;U(i,Fi,K=>t(46,ue=K));const Pi=L.ui.touched;U(i,Pi,K=>t(119,E=K));const Ii=L.ui.clientInfo$;U(i,Ii,K=>t(134,r=K));let ni,ci,zi,fi,Ci,oi;const li=Fe(!1);U(i,li,K=>t(44,h=K));let Si,Ht=!1,jt,It=!1,di,Ui=!0,Ti,Mi,Zt=!1,Ni;qt?.setContext(ca());const Wi=K=>{clearTimeout(fi),K&&(xi.set(!0),ai.set(!0),fi=window.setTimeout(()=>{ai.set(!1)},re.controls.collapseMobileUnmute),Dt||zt(re.controls.hideTimeoutMobile))};L.setUiCallbacks({onStarted:Wi});const mi=()=>{window.clearTimeout(zi),t(108,Ht=!1),v&&Ie.set(!1)},zt=K=>{mi(),t(108,Ht=!0),zi=window.setTimeout(()=>t(108,Ht=!1),K);const kt=K-100;Si=window.setTimeout(()=>{h&&li.set(!1)},kt>0?kt:K)},hi=wi.subscribe(K=>{ki.set(K),K&&(window.clearTimeout(Ci),Ci=window.setTimeout(()=>ki.set(!1),re.controls.hide360IconTimeout))}),Zi=async()=>{const K=io();if(K){zt(re.controls.hideTimeoutFullscreen);try{await qt?.remove()}catch(kt){tt({message:String(kt)})}try{const kt=f?.width&&f?.height?f:c;await Lu(kt)}catch(kt){tt({message:String(kt)})}}de.set(K),L.getAdmanWrapper().setFullscreen(K),a?L.callbacks?.onFullscreenEnter?.():L.callbacks?.onFullscreenExit?.()},qi=K=>{const kt=K;ui.set({width:kt.target.width,height:kt.target.height})};ji(()=>(Ia(Zi),vo(qt)&&(qt?.assignPlayerContainer(ni),qt?.updateVideoElement(),qt?.registryEventHandlers(),qt?.registryExternalEventHandlers({resize:qi})),t(38,Ui=!n3(r)),X&&R.parentElement?.insertBefore(X,R.nextSibling),()=>{window.clearTimeout(zi),window.clearTimeout(Si),window.clearTimeout(fi),window.clearTimeout(Ci),hi(),qt?.dispose(),za(Zi)}));const pi=K=>{let kt=s+(K==="forward"?1:-1)*re.controls.seekStepMobile/1e3;kt<0?kt=0:kt>l&&(kt=l-1),t(110,It=!0),Ct(kt)},At=async()=>{if(io())await Va(document),tt({message:"exit fullscreen"});else{tt({message:"request fullscreen"});const K=me??ni,kt=K.getRootNode(),Pn=kt instanceof ShadowRoot?kt.host:kt,Cn=Je instanceof HTMLElement&&Je.contains(Pn),Sn=re.allowChangingFullscreenTarget&&Je&&Cn?Je:K;await La(Sn)}},Bi=()=>{St.set(!1)},fe=()=>{if(n){Bi();return}if(!$e){Ut(),zt(re.controls.hideTimeoutCursor);return}t(110,It=!1),o?mi():zt(re.controls.hideTimeoutMobile)},Ft=()=>{if(n){Bi();return}},Gi=()=>{Pi.set(!0)},Ki=()=>{Dt||(li.set(!0),zt(re.controls.hideTimeoutCursor))};function Qi(K){je[K?"unshift":"push"](()=>{R=K,t(0,R)})}const yn=()=>pi("backward"),dn=()=>pi("forward");function mn(K){ci=K,t(36,ci)}function an(K){je[K?"unshift":"push"](()=>{ni=K,t(35,ni)})}return i.$$set=K=>{"store"in K&&t(102,L=K.store),"uiConfig"in K&&t(1,re=K.uiConfig),"thumbUrl"in K&&t(2,Q=K.thumbUrl),"videoLogoUrl"in K&&t(3,Pe=K.videoLogoUrl),"videoContainer"in K&&t(0,R=K.videoContainer),"interactiveContainer"in K&&t(103,X=K.interactiveContainer),"live"in K&&t(4,Ve=K.live),"autoplay"in K&&t(5,ke=K.autoplay),"canRewindLive"in K&&t(6,be=K.canRewindLive),"showAds"in K&&t(7,Ce=K.showAds),"adsSlotId"in K&&t(8,Te=K.adsSlotId),"adsParams"in K&&t(9,Z=K.adsParams),"adsPreviewParam"in K&&t(10,W=K.adsPreviewParam),"duration"in K&&t(11,We=K.duration),"logoClickable"in K&&t(12,Ge=K.logoClickable),"logoHidden"in K&&t(13,xe=K.logoHidden),"showNextPrevButtons"in K&&t(14,De=K.showNextPrevButtons),"nextButtonActive"in K&&t(15,Me=K.nextButtonActive),"prevButtonActive"in K&&t(16,dt=K.prevButtonActive),"endScreenVideoTitle"in K&&t(17,st=K.endScreenVideoTitle),"endScreenVideoThumb"in K&&t(18,Ne=K.endScreenVideoThumb),"isOneVideoPlaylist"in K&&t(19,Re=K.isOneVideoPlaylist),"supportLink"in K&&t(20,Qt=K.supportLink),"outerContainerRef"in K&&t(104,me=K.outerContainerRef),"showMiniTimer"in K&&t(105,at=K.showMiniTimer),"fullScreenTarget"in K&&t(106,Je=K.fullScreenTarget),"playerStarted"in K&&t(21,$e=K.playerStarted),"playNextVideo"in K&&t(22,Ye=K.playNextVideo),"playPrevVideo"in K&&t(23,et=K.playPrevVideo),"repeatPlaylist"in K&&t(24,lt=K.repeatPlaylist),"seekToInteractive"in K&&t(25,ft=K.seekToInteractive),"toggleGraph"in K&&t(26,Pt=K.toggleGraph),"playPrevChapter"in K&&t(27,nt=K.playPrevChapter),"firstStart"in K&&t(28,Ut=K.firstStart),"seekTime"in K&&t(107,Ct=K.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&6|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&1&&t(37,oi=(M===Be.Video&&le||M===Be.Ads&&J===Nt.INACTIVE)&&!T),i.$$.dirty[3]&536870912&&t(109,jt=F!==ot.PlaybackState.PLAYING),i.$$.dirty[3]&421625856&&t(111,di=P||v||!Ht&&(I&&!!Hi||jt&&Y)),i.$$.dirty[1]&14|i.$$.dirty[3]&5734400&&ye.set((jt||n||b||ie||Ht&&!It)&&!di&&M===Be.Video&&!T),i.$$.dirty[0]&536870914|i.$$.dirty[1]&6|i.$$.dirty[3]&67112960&&t(39,Ti=re.features.thumbTimer&&at&&M===Be.Video&&!o&&!T&&!Dt&&(re.hideThumbTimerAfterTouch&&!E||!re.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&2|i.$$.dirty[3]&50331648&&t(40,Mi=(Ce&&V||!Ce)&&I&&!T),i.$$.dirty[0]&2|i.$$.dirty[3]&13107200&&(!b&&Zt&&!A&&zt(re.controls.hideTimeoutMobile),t(112,Zt=b)),i.$$.dirty[0]&1073741825|i.$$.dirty[1]&1&&t(41,Ni=R&&g%180?c.height/c.width:1)},[R,re,Q,Pe,Ve,ke,be,Ce,Te,Z,W,We,Ge,xe,De,Me,dt,st,Ne,Re,Qt,$e,Ye,et,lt,ft,Pt,nt,Ut,o,c,g,T,M,ie,ni,ci,oi,Ui,Ti,Mi,Ni,l,s,h,ne,ue,ee,B,_,x,ae,ze,se,ge,Se,G,xt,mt,Ze,Tt,rt,$t,de,ye,Ie,St,ri,Ee,Ai,Vt,ei,Ei,Ot,Ri,Wt,Oi,Li,$i,bi,Vi,_i,Di,ti,ui,wi,ki,bt,Dt,yi,ii,Fi,Pi,Ii,li,pi,At,Bi,fe,Ft,Gi,Ki,L,X,me,at,Je,Ct,Ht,jt,It,di,Zt,n,v,b,A,I,V,E,Y,P,F,J,le,Qi,yn,dn,mn,an]}class m3 extends we{constructor(e){super(),_e(this,e,d3,f3,ve,{store:102,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:103,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:104,showMiniTimer:105,fullScreenTarget:106,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:107},c3,[-1,-1,-1,-1,-1])}}function h3(i){He(i,"v-237li0",`.root.v-237li0{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
|
|
32
|
+
)}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function a3(i){let e,t;return{c(){e=_("div"),t=Fe(i[0]),u(e,"class","title v-1bcvcf2"),A(e,"hidden",i[1])},m(n,o){w(n,e,o),d(e,t)},p(n,[o]){o&1&&xe(t,n[0]),o&2&&A(e,"hidden",n[1])},i:H,o:H,d(n){n&&k(e)}}}function u3(i,e,t){let{title:n=""}=e,{isHidden:o=!1}=e;return i.$$set=s=>{"title"in s&&t(0,n=s.title),"isHidden"in s&&t(1,o=s.isHidden)},[n,o]}class c3 extends _e{constructor(e){super(),ve(this,e,u3,a3,ge,{title:0,isHidden:1},r3)}}function f3(i){Ue(i,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function Ar(i){let e,t,n,o,s,l,r;return{c(){e=_("div"),t=_("span"),n=Fe(i[0]),o=B(),s=_("span"),s.textContent=`${oe("waiting_live_day_value")}`,l=B(),r=_("span"),r.textContent=`${oe("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){w(a,e,c),d(e,t),d(t,n),d(e,o),d(e,s),w(a,l,c),w(a,r,c)},p(a,c){c&1&&xe(n,a[0])},d(a){a&&(k(e),k(l),k(r))}}}function Er(i){let e,t,n,o,s,l,r;return{c(){e=_("div"),t=_("span"),n=Fe(i[1]),o=B(),s=_("span"),s.textContent=`${oe("waiting_live_hour_value")}`,l=B(),r=_("span"),r.textContent=`${oe("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){w(a,e,c),d(e,t),d(t,n),d(e,o),d(e,s),w(a,l,c),w(a,r,c)},p(a,c){c&2&&xe(n,a[1])},d(a){a&&(k(e),k(l),k(r))}}}function Ir(i){let e,t,n,o,s,l,r;return{c(){e=_("div"),t=_("span"),n=Fe(i[2]),o=B(),s=_("span"),s.textContent=`${oe("waiting_live_minute_value")}`,l=B(),r=_("span"),r.textContent=`${oe("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){w(a,e,c),d(e,t),d(t,n),d(e,o),d(e,s),w(a,l,c),w(a,r,c)},p(a,c){c&4&&xe(n,a[2])},d(a){a&&(k(e),k(l),k(r))}}}function Lr(i){let e,t,n,o,s;return{c(){e=_("div"),t=_("span"),n=Fe(i[3]),o=B(),s=_("span"),s.textContent=`${oe("waiting_live_second_value")}`,u(t,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(l,r){w(l,e,r),d(e,t),d(t,n),d(e,o),d(e,s)},p(l,r){r&8&&xe(n,l[3])},d(l){l&&k(e)}}}function d3(i){let e,t,n,o,s=i[0]&&Ar(i),l=i[1]&&Er(i),r=i[2]&&Ir(i),a=i[3]&&Lr(i);return{c(){e=_("div"),s&&s.c(),t=B(),l&&l.c(),n=B(),r&&r.c(),o=B(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){w(c,e,f),s&&s.m(e,null),d(e,t),l&&l.m(e,null),d(e,n),r&&r.m(e,null),d(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?s?s.p(c,f):(s=Ar(c),s.c(),s.m(e,t)):s&&(s.d(1),s=null),c[1]?l?l.p(c,f):(l=Er(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[2]?r?r.p(c,f):(r=Ir(c),r.c(),r.m(e,o)):r&&(r.d(1),r=null),c[3]?a?a.p(c,f):(a=Lr(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:H,o:H,d(c){c&&k(e),s&&s.d(),l&&l.d(),r&&r.d(),a&&a.d()}}}function m3(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,s,l,r,a,c;const f=g=>String(g).padStart(2,"0"),p=g=>{const v=Math.floor(g/86400);v&&(g-=v*86400,t(0,s=f(v)));const C=Math.floor(g/3600);t(1,l=f(C));const P=Math.floor(g/60)%60;t(2,r=f(P));const V=g%60;t(3,a=f(V))},b=()=>{const g=Math.floor(Date.now()/1e3),v=n-g;p(v),v>=1?c=requestAnimationFrame(b):o()};return an(()=>{c=requestAnimationFrame(b)}),Io(()=>{cancelAnimationFrame(c)}),i.$$set=g=>{"startTime"in g&&t(4,n=g.startTime),"onTimerOver"in g&&t(5,o=g.onTimerOver)},[s,l,r,a,n,o]}class p3 extends _e{constructor(e){super(),ve(this,e,m3,d3,ge,{startTime:4,onTimerOver:5},f3)}}function h3(i){let e,t,n,o,s;return{c(){e=M("svg"),t=M("path"),n=M("path"),o=M("path"),s=M("path"),u(t,"fill","#fefffe"),u(t,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),Mt(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"),Mt(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"),Mt(o,"opacity",".985"),u(s,"fill","#fefffe"),u(s,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),Mt(s,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),Mt(e,"shape-rendering","geometricPrecision"),Mt(e,"text-rendering","geometricPrecision"),Mt(e,"image-rendering","optimizeQuality"),Mt(e,"fill-rule","evenodd"),Mt(e,"clip-rule","evenodd"),Mt(e,"width","100%"),Mt(e,"height","100%")},m(l,r){w(l,e,r),d(e,t),d(e,n),d(e,o),d(e,s)},p:H,i:H,o:H,d(l){l&&k(e)}}}class g3 extends _e{constructor(e){super(),ve(this,e,null,h3,ge,{})}}function b3(i){Ue(i,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function v3(i){let e,t,n,o,s;return o=new p3({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=_("div"),t=_("span"),t.textContent=`${oe("waiting_live_timer_title")}`,n=B(),O(o.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(l,r){w(l,e,r),d(e,t),d(e,n),z(o,e,null),s=!0},p(l,r){const a={};r&2&&(a.startTime=l[1]||0),r&4&&(a.onTimerOver=l[3]),o.$set(a)},i(l){s||(m(o.$$.fragment,l),s=!0)},o(l){h(o.$$.fragment,l),s=!1},d(l){l&&k(e),D(o)}}}function _3(i){let e,t,n,o,s,l;return n=new g3({}),{c(){e=_("div"),t=_("div"),O(n.$$.fragment),o=B(),s=_("span"),s.textContent=`${oe("waiting_live_upcoming_title")}`,u(t,"class","upcoming-icon v-15pewff"),u(s,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(r,a){w(r,e,a),d(e,t),z(n,t,null),d(e,o),d(e,s),l=!0},p:H,i(r){l||(m(n.$$.fragment,r),l=!0)},o(r){h(n.$$.fragment,r),l=!1},d(r){r&&k(e),D(n)}}}function k3(i){let e,t,n,o,s;const l=[_3,v3],r=[];function a(c,f){return c[2]?0:1}return t=a(i),n=r[t]=l[t](i),{c(){e=_("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${i[2]?"":i[0]})`)},m(c,f){w(c,e,f),r[t].m(e,null),s=!0},p(c,[f]){let p=t;t=a(c),t===p?r[t].p(c,f):(pe(),h(r[p],1,1,()=>{r[p]=null}),he(),n=r[t],n?n.p(c,f):(n=r[t]=l[t](c),n.c()),m(n,1),n.m(e,null)),(!s||f&5&&o!==(o=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",o)},i(c){s||(m(n),s=!0)},o(c){h(n),s=!1},d(c){c&&k(e),r[t].d()}}}function w3(i,e,t){let n,{thumbUrl:o}=e,{startTime:s}=e;const l=()=>t(2,n=!0);return i.$$set=r=>{"thumbUrl"in r&&t(0,o=r.thumbUrl),"startTime"in r&&t(1,s=r.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=s===void 0||s<Math.floor(Date.now()/1e3))},[o,s,n,l]}class A1 extends _e{constructor(e){super(),ve(this,e,w3,k3,ge,{thumbUrl:0,startTime:1},b3)}}function y3(i){Ue(i,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function C3(i){let e,t;return{c(){e=_("div"),t=_("p"),t.textContent=`${oe("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){w(n,e,o),d(e,t)},p:H,i:H,o:H,d(n){n&&k(e)}}}class E1 extends _e{constructor(e){super(),ve(this,e,null,C3,ge,{},y3)}}const{window:P3}=da;function S3(i){Ue(i,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function Vr(i){let e,t;return e=new A1({props:{thumbUrl:i[3],startTime:i[5]?.startTime}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&8&&(s.thumbUrl=n[3]),o[0]&32&&(s.startTime=n[5]?.startTime),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Mr(i){let e,t;return e=new E1({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Br(i){let e,t,n;return t=new Oa({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),A(e,"hidden",i[35]!==ze.Ads)},m(o,s){w(o,e,s),z(t,e,null),n=!0},p(o,s){const l={};s[0]&512&&(l.adsSlotId=o[9]),s[0]&1024&&(l.adsParams=o[10]),s[0]&2048&&(l.adsPreviewParam=o[11]),s[0]&4096&&(l.duration=o[12]),t.$set(l),(!n||s[1]&16)&&A(e,"hidden",o[35]!==ze.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function Nr(i){let e,t;return e=new tf({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&262144&&(s.title=n[18]),o[0]&524288&&(s.thumb=n[19]),o[0]&8388608&&(s.playNextVideo=n[23]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Rr(i){let e,t;return e=new c3({props:{title:i[2],isHidden:!i[33]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&4&&(s.title=n[2]),o[1]&4&&(s.isHidden=!n[33]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function zr(i){let e,t;return e=new y1({props:{isShifted:i[35]===ze.Video&&i[33]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[1]&20&&(s.isShifted=n[35]===ze.Video&&n[33]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Dr(i){let e,t,n;return t=new La({props:{ariaLabel:oe("video360")}}),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,s){w(o,e,s),z(t,e,null),n=!0},p:H,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function Or(i){let e,t;return e=new P1({props:{thumbUrl:i[3],chromecastDeviceName:i[52]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&8&&(s.thumbUrl=n[3]),o[1]&2097152&&(s.chromecastDeviceName=n[52]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Hr(i){let e,t;return e=new C1({props:{shifted:i[33],captions:i[54],position:i[55],playerSize:i[31]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[1]&4&&(s.shifted=n[33]),o[1]&8388608&&(s.captions=n[54]),o[1]&16777216&&(s.position=n[55]),o[1]&1&&(s.playerSize=n[31]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Fr(i){let e,t,n,o,s;return t=new S1({}),{c(){e=_("div"),O(t.$$.fragment)},m(l,r){w(l,e,r),z(t,e,null),n=!0,o||(s=[Te(e,"contextmenu",ri(i[102])),Te(e,"click",pt(i[113]))],o=!0)},p:H,i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){h(t.$$.fragment,l),n=!1},d(l){l&&k(e),D(t),o=!1,qt(s)}}}function Ur(i){let e,t;return e=new Ga({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function qr(i){let e,t;return e=new Pf({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function jr(i){let e,t;return e=new Ua({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Zr(i){let e,t,n,o,s,l,r,a,c,f,p,b,g,v,C,P,V,I,L,N,se,U,K,Y,ae;e=new T1({props:{hidden:i[35]!==ze.Thumb||i[34]||i[90]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let E=i[35]===ze.WaitingLive&&Vr(i),j=i[35]===ze.WaitingRecord&&Mr(),ue=i[8]&&i[22]&&Br(i),te=i[30]&&i[18]&&i[19]&&Nr(i),q=i[43]&&Rr(i),S=i[48]&&zr(i),re=i[51]&&Dr(),R=i[36]&&Or(i),Ce=i[53].value!=="off"&&Hr(i),de=i[34]&&Fr(i);function G(y){i[141](y)}let fe={bottomHidden:i[35]===ze.Thumb||i[35]===ze.WaitingLive||i[35]===ze.WaitingRecord,bottomNoSmooth:i[49],showControls:i[33],isAds:i[35]===ze.Ads,canRewindLive:i[7]&&i[56]!==0,logoClickable:i[13],logoHidden:i[14],videoLogoUrl:i[4],showNextPrevButtons:i[15],nextButtonActive:i[16],prevButtonActive:i[17],isOneVideoPlaylist:i[20],supportLink:i[21],customFullscreenSupported:E3,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[100],returnFocus:i[140],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};i[38]!==void 0&&(fe.controlsElementRef=i[38]),g=new k1({props:fe}),Me.push(()=>Ye(g,"controlsElementRef",G)),P=new Fa({props:{isLive:i[57],isHidden:!i[42],isPlaying:i[58],position:i[55],duration:i[59]}}),I=new Um({props:{data:i[98]}}),N=new Nc({props:{supportLink:i[21],returnFocus:i[142],visible:i[47],playerContainerRef:i[37],controlsContainerRef:i[38],x:i[39],y:i[40]}});let ye=i[41]&&Ur(),F=i[60]&&qr(),le=i[61]&&jr();return{c(){O(e.$$.fragment),t=B(),E&&E.c(),n=B(),j&&j.c(),o=B(),ue&&ue.c(),s=B(),te&&te.c(),l=B(),q&&q.c(),r=B(),S&&S.c(),a=B(),re&&re.c(),c=B(),R&&R.c(),f=B(),Ce&&Ce.c(),p=B(),de&&de.c(),b=B(),O(g.$$.fragment),C=B(),O(P.$$.fragment),V=B(),O(I.$$.fragment),L=B(),O(N.$$.fragment),se=B(),ye&&ye.c(),U=B(),F&&F.c(),K=B(),le&&le.c(),Y=kt()},m(y,ne){z(e,y,ne),w(y,t,ne),E&&E.m(y,ne),w(y,n,ne),j&&j.m(y,ne),w(y,o,ne),ue&&ue.m(y,ne),w(y,s,ne),te&&te.m(y,ne),w(y,l,ne),q&&q.m(y,ne),w(y,r,ne),S&&S.m(y,ne),w(y,a,ne),re&&re.m(y,ne),w(y,c,ne),R&&R.m(y,ne),w(y,f,ne),Ce&&Ce.m(y,ne),w(y,p,ne),de&&de.m(y,ne),w(y,b,ne),z(g,y,ne),w(y,C,ne),z(P,y,ne),w(y,V,ne),z(I,y,ne),w(y,L,ne),z(N,y,ne),w(y,se,ne),ye&&ye.m(y,ne),w(y,U,ne),F&&F.m(y,ne),w(y,K,ne),le&&le.m(y,ne),w(y,Y,ne),ae=!0},p(y,ne){const He={};ne[0]&64|ne[1]&24&&(He.hidden=y[35]!==ze.Thumb||y[34]||y[90]&&y[6]),ne[0]&8&&(He.thumbUrl=y[3]),ne[0]&536870912&&(He.startVideo=y[29]),e.$set(He),y[35]===ze.WaitingLive?E?(E.p(y,ne),ne[1]&16&&m(E,1)):(E=Vr(y),E.c(),m(E,1),E.m(n.parentNode,n)):E&&(pe(),h(E,1,1,()=>{E=null}),he()),y[35]===ze.WaitingRecord?j?ne[1]&16&&m(j,1):(j=Mr(),j.c(),m(j,1),j.m(o.parentNode,o)):j&&(pe(),h(j,1,1,()=>{j=null}),he()),y[8]&&y[22]?ue?(ue.p(y,ne),ne[0]&4194560&&m(ue,1)):(ue=Br(y),ue.c(),m(ue,1),ue.m(s.parentNode,s)):ue&&(pe(),h(ue,1,1,()=>{ue=null}),he()),y[30]&&y[18]&&y[19]?te?(te.p(y,ne),ne[0]&1074528256&&m(te,1)):(te=Nr(y),te.c(),m(te,1),te.m(l.parentNode,l)):te&&(pe(),h(te,1,1,()=>{te=null}),he()),y[43]?q?(q.p(y,ne),ne[1]&4096&&m(q,1)):(q=Rr(y),q.c(),m(q,1),q.m(r.parentNode,r)):q&&(pe(),h(q,1,1,()=>{q=null}),he()),y[48]?S?(S.p(y,ne),ne[1]&131072&&m(S,1)):(S=zr(y),S.c(),m(S,1),S.m(a.parentNode,a)):S&&(pe(),h(S,1,1,()=>{S=null}),he()),y[51]?re?(re.p(y,ne),ne[1]&1048576&&m(re,1)):(re=Dr(),re.c(),m(re,1),re.m(c.parentNode,c)):re&&(pe(),h(re,1,1,()=>{re=null}),he()),y[36]?R?(R.p(y,ne),ne[1]&32&&m(R,1)):(R=Or(y),R.c(),m(R,1),R.m(f.parentNode,f)):R&&(pe(),h(R,1,1,()=>{R=null}),he()),y[53].value!=="off"?Ce?(Ce.p(y,ne),ne[1]&4194304&&m(Ce,1)):(Ce=Hr(y),Ce.c(),m(Ce,1),Ce.m(p.parentNode,p)):Ce&&(pe(),h(Ce,1,1,()=>{Ce=null}),he()),y[34]?de?(de.p(y,ne),ne[1]&8&&m(de,1)):(de=Fr(y),de.c(),m(de,1),de.m(b.parentNode,b)):de&&(pe(),h(de,1,1,()=>{de=null}),he());const Ae={};ne[1]&16&&(Ae.bottomHidden=y[35]===ze.Thumb||y[35]===ze.WaitingLive||y[35]===ze.WaitingRecord),ne[1]&262144&&(Ae.bottomNoSmooth=y[49]),ne[1]&4&&(Ae.showControls=y[33]),ne[1]&16&&(Ae.isAds=y[35]===ze.Ads),ne[0]&128|ne[1]&33554432&&(Ae.canRewindLive=y[7]&&y[56]!==0),ne[0]&8192&&(Ae.logoClickable=y[13]),ne[0]&16384&&(Ae.logoHidden=y[14]),ne[0]&16&&(Ae.videoLogoUrl=y[4]),ne[0]&32768&&(Ae.showNextPrevButtons=y[15]),ne[0]&65536&&(Ae.nextButtonActive=y[16]),ne[0]&131072&&(Ae.prevButtonActive=y[17]),ne[0]&1048576&&(Ae.isOneVideoPlaylist=y[20]),ne[0]&2097152&&(Ae.supportLink=y[21]),ne[0]&8388608&&(Ae.playNextVideo=y[23]),ne[0]&16777216&&(Ae.playPrevVideo=y[24]),ne[0]&33554432&&(Ae.repeatPlaylist=y[25]),ne[1]&32768&&(Ae.returnFocus=y[140]),ne[0]&67108864&&(Ae.seekToInteractive=y[26]),ne[0]&134217728&&(Ae.toggleGraph=y[27]),ne[0]&268435456&&(Ae.playPrevChapter=y[28]),!v&&ne[1]&128&&(v=!0,Ae.controlsElementRef=y[38],Ke(()=>v=!1)),g.$set(Ae);const Ve={};ne[1]&67108864&&(Ve.isLive=y[57]),ne[1]&2048&&(Ve.isHidden=!y[42]),ne[1]&134217728&&(Ve.isPlaying=y[58]),ne[1]&16777216&&(Ve.position=y[55]),ne[1]&268435456&&(Ve.duration=y[59]),P.$set(Ve);const Ee={};ne[0]&2097152&&(Ee.supportLink=y[21]),ne[1]&32768&&(Ee.returnFocus=y[142]),ne[1]&65536&&(Ee.visible=y[47]),ne[1]&64&&(Ee.playerContainerRef=y[37]),ne[1]&128&&(Ee.controlsContainerRef=y[38]),ne[1]&256&&(Ee.x=y[39]),ne[1]&512&&(Ee.y=y[40]),N.$set(Ee),y[41]?ye?ne[1]&1024&&m(ye,1):(ye=Ur(),ye.c(),m(ye,1),ye.m(U.parentNode,U)):ye&&(pe(),h(ye,1,1,()=>{ye=null}),he()),y[60]?F?ne[1]&536870912&&m(F,1):(F=qr(),F.c(),m(F,1),F.m(K.parentNode,K)):F&&(pe(),h(F,1,1,()=>{F=null}),he()),y[61]?le?ne[1]&1073741824&&m(le,1):(le=jr(),le.c(),m(le,1),le.m(Y.parentNode,Y)):le&&(pe(),h(le,1,1,()=>{le=null}),he())},i(y){ae||(m(e.$$.fragment,y),m(E),m(j),m(ue),m(te),m(q),m(S),m(re),m(R),m(Ce),m(de),m(g.$$.fragment,y),m(P.$$.fragment,y),m(I.$$.fragment,y),m(N.$$.fragment,y),m(ye),m(F),m(le),ae=!0)},o(y){h(e.$$.fragment,y),h(E),h(j),h(ue),h(te),h(q),h(S),h(re),h(R),h(Ce),h(de),h(g.$$.fragment,y),h(P.$$.fragment,y),h(I.$$.fragment,y),h(N.$$.fragment,y),h(ye),h(F),h(le),ae=!1},d(y){y&&(k(t),k(n),k(o),k(s),k(l),k(r),k(a),k(c),k(f),k(p),k(b),k(C),k(V),k(L),k(se),k(U),k(K),k(Y)),D(e,y),E&&E.d(y),j&&j.d(y),ue&&ue.d(y),te&&te.d(y),q&&q.d(y),S&&S.d(y),re&&re.d(y),R&&R.d(y),Ce&&Ce.d(y),de&&de.d(y),D(g,y),D(P,y),D(I,y),D(N,y),ye&&ye.d(y),F&&F.d(y),le&&le.d(y)}}}function T3(i){let e,t,n,o,s=i[50],l,r,a,c,f=Zr(i);return{c(){e=_("div"),t=_("div"),o=B(),f.c(),l=kt(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[32]}deg) scale(${i[45]})`),A(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),A(e,"hidden",i[35]!==ze.Video),A(e,"nocursor",i[44])},m(p,b){w(p,e,b),d(e,t),i[139](t),w(p,o,b),f.m(p,b),w(p,l,b),r=!0,a||(c=[Te(e,"contextmenu",ri(i[102])),Te(e,"mousedown",ri(i[107])),Te(e,"mouseup",ri(i[108])),Te(e,"click",ri(i[110])),Te(e,"dblclick",ri(i[109]))],a=!0)},p(p,b){(!r||b[1]&16386&&n!==(n=`transform: rotate(${p[32]}deg) scale(${p[45]})`))&&u(t,"style",n),(!r||b[0]&2)&&A(t,"fast-rotate",!p[1].isSmoothVideoRotate),(!r||b[1]&16)&&A(e,"hidden",p[35]!==ze.Video),(!r||b[1]&8192)&&A(e,"nocursor",p[44]),b[1]&524288&&ge(s,s=p[50])?(pe(),h(f,1,1,H),he(),f=Zr(p),f.c(),m(f,1),f.m(l.parentNode,l)):f.p(p,b)},i(p){r||(m(f),r=!0)},o(p){h(f),r=!1},d(p){p&&(k(e),k(o),k(l)),i[139](null),f.d(p),a=!1,qt(c)}}}function A3(i){let e,t,n,o,s,l={toggleFullscreen:i[100],hideContextMenu:i[101],showHotKeyHelpers:i[111],showKeyMap:i[112],isAds:i[35]===ze.Ads,$$slots:{default:[T3]},$$scope:{ctx:i}};return t=new sf({props:l}),i[143](t),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","player-wrapper v-1o4wf3x")},m(r,a){w(r,e,a),z(t,e,null),i[144](e),n=!0,o||(s=[Te(P3,"blur",i[101]),Te(e,"mouseenter",i[103]),Te(e,"mouseleave",i[105]),Te(e,"mousemove",i[106]),Te(e,"click",i[114],!0),Te(e,"focusin",i[104],!0)],o=!0)},p(r,a){const c={};a[1]&16&&(c.isAds=r[35]===ze.Ads),a[0]&2147483647|a[1]&2147483647|a[5]&512&&(c.$$scope={dirty:a,ctx:r}),t.$set(c)},i(r){n||(m(t.$$.fragment,r),n=!0)},o(r){h(t.$$.fragment,r),n=!1},d(r){r&&k(e),i[143](null),D(t),i[144](null),o=!1,qt(s)}}}let E3=!0;function I1(i){return i?i.offsetTop+I1(i.offsetParent):0}function I3(i,e,t){let n,o,s,l,r,a,c,f,p,b,g,v,C,P,V,I,L,N,se,U,K,Y,ae,E,j,ue,te,q,S,re,R,Ce,de,G,fe,ye,{store:F}=e,{uiConfig:le}=e,{title:y}=e,{thumbUrl:ne}=e,{videoLogoUrl:He}=e,{videoContainer:Ae}=e,{interactiveContainer:Ve}=e,{live:Ee}=e,{autoplay:be}=e,{canRewindLive:Pe}=e,{showAds:ke}=e,{adsSlotId:J=void 0}=e,{adsParams:Z=void 0}=e,{adsPreviewParam:Ze=void 0}=e,{duration:$e=void 0}=e,{logoClickable:tt}=e,{logoHidden:qe}=e,{showNextPrevButtons:at=!1}=e,{nextButtonActive:mt=!1}=e,{prevButtonActive:Bt=!1}=e,{endScreenVideoTitle:gt=void 0}=e,{endScreenVideoThumb:Ne=void 0}=e,{isOneVideoPlaylist:nt=!1}=e,{supportLink:$}=e,{outerContainerRef:ct=void 0}=e,{playerStarted:ot=!1}=e,{fullScreenTarget:et=void 0}=e,{showMiniTimer:Xe=!1}=e,{playNextVideo:ut=ie.noop}=e,{playPrevVideo:st=ie.noop}=e,{repeatPlaylist:ft=ie.noop}=e,{seekToInteractive:Tt}=e,{toggleGraph:it}=e,{playPrevChapter:jt}=e,{firstStart:At}=e;const Je=F.getLogger().createComponentLog("Root component"),ei=F.interfaceLanguage$;W(i,ei,Q=>t(50,j=Q));const vt=F.state.playbackState$;W(i,vt,Q=>t(136,Y=Q));const ht=F.ads.playbackState;W(i,ht,Q=>t(137,ae=Q));const Lt=F.state.positionWithScrubbing$;W(i,Lt,Q=>t(55,re=Q));const dt=F.state.duration$;W(i,dt,Q=>t(59,G=Q));const ti=F.playerPhase;W(i,ti,Q=>t(35,L=Q));const me=F.ui.isFullscreen;W(i,me,Q=>t(127,c=Q));const we=F.ui.controlsVisible;W(i,we,Q=>t(33,v=Q));const Le=F.ui.settingsMenuVisible;W(i,Le,Q=>t(125,n=Q));const Ct=F.ui.scrubbingInProgress;W(i,Ct,Q=>t(128,b=Q));const Zt=F.ui.contextMenuVisible;W(i,Zt,Q=>t(47,o=Q));const Ie=F.ui.debugPanelVisible;W(i,Ie,Q=>t(61,ye=Q));const ni=F.state.isLoaderVisible;W(i,ni,Q=>t(138,E=Q));const bi=F.state.isEnded$;W(i,bi,Q=>t(126,l=Q));const Yt=F.state.chromecastConnected$;W(i,Yt,Q=>t(36,U=Q));const Nt=F.state.chromecastDeviceName$;W(i,Nt,Q=>t(52,te=Q));const Rt=F.ads.postrollPassed;W(i,Rt,Q=>t(131,V=Q));const ki=F.state.isLive$;W(i,ki,Q=>t(57,Ce=Q));const Yi=F.state.isPlaying$;W(i,Yi,Q=>t(58,de=Q));const Oi=F.state.crashed$;W(i,Oi,Q=>t(34,P=Q));const Wt=F.webApi.pictureInPictureApi,Hi=F.state.currentSubtitle$;W(i,Hi,Q=>t(53,q=Q));const Fi=F.state.currentSubtitleCaptions$;W(i,Fi,Q=>t(54,S=Q));const Li=F.state.duration$;W(i,Li,Q=>t(56,R=Q));const ii=F.state.graphIsOpened$;W(i,ii,Q=>t(132,I=Q));const Vi=F.ui.playerSize;W(i,Vi,Q=>t(31,a=Q));const zt=F.ui.is3DVideo;W(i,zt,Q=>t(48,r=Q));const Vt=F.ui.icon3DVideoVisible;W(i,Vt,Q=>t(51,ue=Q));const Ui=F.ui.rotateAlpha;W(i,Ui,Q=>t(32,p=Q));const wi=F.state.isInteractive,ui=F.state.isInteractiveTime$;W(i,ui,Q=>t(129,g=Q));const Mi=F.state.isInteractiveExpectation$;W(i,Mi,Q=>t(135,K=Q));const ci=F.state.hasInteractiveBranches,oi=F.ui.touched;W(i,oi,Q=>t(133,N=Q));const fi=F.ui.modals.hotKeyMap.data;W(i,fi,Q=>t(151,s=Q));const di=F.ui.modals.hotKeyMap.show;W(i,di,Q=>t(60,fe=Q));let Et,li,yi=0,Bi=0,Qt,Ni,Ri;fi.set(tc());let mi;const vi=Oe(!1);W(i,vi,Q=>t(49,f=Q));let zi;const je=Oe(!1);W(i,je,Q=>t(134,se=Q));const pi=Oe(),Ci=Oe(!1);W(i,Ci,Q=>t(130,C=Q));let Xt=!1,Pi=!1,Jt,Be,qi,Si,ji,Qi,Ti=!1,Zi,si=!1,Ai=null,hi;Wt?.setContext(ha());const gi=()=>{be&&!wi&&Gt(le.controls.hideTimeout)};F.setUiCallbacks({onStarted:gi});const un=()=>{window.clearTimeout(Qt),je.set(!1)},tn=()=>{window.clearTimeout(Ni),pi.set(null)},Gt=Q=>{un(),je.set(!0),Qt=window.setTimeout(()=>je.set(!1),Q);const Dt=Q-100;zi=window.setTimeout(()=>{f&&vi.set(!1)},Dt>0?Dt:Q)},Di=(Q,Dt)=>{tn(),pi.set(Dt),Ni=window.setTimeout(()=>pi.set(null),Q)},Ei=zt.subscribe(Q=>{Vt.set(Q),Q&&(window.clearTimeout(Ri),Ri=window.setTimeout(()=>Vt.set(!1),le.controls.hide360IconTimeout))}),Wi=async()=>{const Q=co();if(Q){Gt(le.controls.hideTimeoutFullscreen);try{await Wt?.remove()}catch(Dt){Je({message:String(Dt)})}}me.set(Q),F.getAdmanWrapper().setFullscreen(Q),c?F.callbacks?.onFullscreenEnter?.():F.callbacks?.onFullscreenExit?.()},nn=Q=>{const Dt=Q;Vi.set({width:Dt.target.width,height:Dt.target.height})};an(()=>(za(Wi),Eo(Wt)&&(Wt?.assignPlayerContainer(Et),Wt?.registryExternalEventHandlers({resize:nn})),Ve&&Ae.parentElement?.insertBefore(Ve,Ae.nextSibling),()=>{window.clearTimeout(Qt),window.clearTimeout(zi),window.clearTimeout(Ni),window.clearTimeout(Ri),Ei(),Wt?.dispose(),Da(Wi)}));const Gi=async()=>{if(co())await Ra(document),Je({message:"exit fullscreen"});else{Je({message:"request fullscreen"});const Q=ct??Et,Dt=Q.getRootNode(),mn=Dt instanceof ShadowRoot?Dt.host:Dt,pn=et instanceof HTMLElement&&et.contains(mn),Ln=le.allowChangingFullscreenTarget&&et&&pn?et:Q;await Na(Ln)}},_i=()=>{Le.set(!1),Zt.set(!1)},Xi=Q=>{Zt.set(!0),t(39,yi=Q.clientX),t(40,Bi=Q.clientY)};function Ji(){Ci.set(!0),wi||Gt(le.controls.hideTimeoutCursor)}function cn(){wi||(vi.set(!0),Gt(le.controls.hideTimeoutCursor))}function fn(){Ci.set(!1),t(121,Pi=!1),t(120,Xt=!1),si=!1,F.actions.internal.releaseCamera()}function on(Q){if(Et){const Dt=I1(Q.currentTarget),mn=a.height,pn=Q.pageY-Dt;pn<cl?t(121,Pi=!0):pn>mn-cl?t(120,Xt=!0):(t(121,Pi=!1),n||t(120,Xt=!1))}}function ln(Q){on(Q),Be||Gt(le.controls.hideTimeoutCursor),r&&si&&Ai&&F.actions.internal.moveCameraFocusPX(Ai.clientX-Q.clientX,Ai.clientY-Q.clientY,Q.timeStamp-Ai.timeStamp),Ai=Q}const xi=Q=>{Q.button===0&&(si=!0,F.actions.internal.holdCamera()),Gt(le.controls.hideTimeoutCursor)},dn=Q=>{Q.button===0&&(Ai=Q,si=!1,F.actions.internal.releaseCamera()),Gt(le.controls.hideTimeoutCursor)},x=()=>{Je({message:"double click on video"}),Gi(),Gt(le.controls.hideTimeoutCursor)},wt=()=>{if(o||n){_i();return}if(!(l&&!ci)){if(hi?.focus(),!ot){At(),Gt(le.controls.hideTimeoutCursor);return}F.actions.internal.togglePlay(),Gt(le.controls.hideTimeoutCursor)}},Ii=Q=>{_i(),oi.set(!0),Gt(le.controls.hideTimeout),Q&&Di(le.controls.hideHotKeyHelpers,Q)},_n=()=>{_i(),F.callbacks?.onOpenHotKeyMap?F.callbacks?.onOpenHotKeyMap(s):di.update(Q=>!Q)},kn=()=>{if(o||n){_i();return}},ee=()=>{oi.set(!0)};function Rn(Q){Me[Q?"unshift":"push"](()=>{Ae=Q,t(0,Ae)})}const eo=()=>hi?.focus();function zn(Q){li=Q,t(38,li)}const to=()=>hi?.focus();function io(Q){Me[Q?"unshift":"push"](()=>{hi=Q,t(46,hi)})}function Dn(Q){Me[Q?"unshift":"push"](()=>{Et=Q,t(37,Et)})}return i.$$set=Q=>{"store"in Q&&t(115,F=Q.store),"uiConfig"in Q&&t(1,le=Q.uiConfig),"title"in Q&&t(2,y=Q.title),"thumbUrl"in Q&&t(3,ne=Q.thumbUrl),"videoLogoUrl"in Q&&t(4,He=Q.videoLogoUrl),"videoContainer"in Q&&t(0,Ae=Q.videoContainer),"interactiveContainer"in Q&&t(116,Ve=Q.interactiveContainer),"live"in Q&&t(5,Ee=Q.live),"autoplay"in Q&&t(6,be=Q.autoplay),"canRewindLive"in Q&&t(7,Pe=Q.canRewindLive),"showAds"in Q&&t(8,ke=Q.showAds),"adsSlotId"in Q&&t(9,J=Q.adsSlotId),"adsParams"in Q&&t(10,Z=Q.adsParams),"adsPreviewParam"in Q&&t(11,Ze=Q.adsPreviewParam),"duration"in Q&&t(12,$e=Q.duration),"logoClickable"in Q&&t(13,tt=Q.logoClickable),"logoHidden"in Q&&t(14,qe=Q.logoHidden),"showNextPrevButtons"in Q&&t(15,at=Q.showNextPrevButtons),"nextButtonActive"in Q&&t(16,mt=Q.nextButtonActive),"prevButtonActive"in Q&&t(17,Bt=Q.prevButtonActive),"endScreenVideoTitle"in Q&&t(18,gt=Q.endScreenVideoTitle),"endScreenVideoThumb"in Q&&t(19,Ne=Q.endScreenVideoThumb),"isOneVideoPlaylist"in Q&&t(20,nt=Q.isOneVideoPlaylist),"supportLink"in Q&&t(21,$=Q.supportLink),"outerContainerRef"in Q&&t(117,ct=Q.outerContainerRef),"playerStarted"in Q&&t(22,ot=Q.playerStarted),"fullScreenTarget"in Q&&t(118,et=Q.fullScreenTarget),"showMiniTimer"in Q&&t(119,Xe=Q.showMiniTimer),"playNextVideo"in Q&&t(23,ut=Q.playNextVideo),"playPrevVideo"in Q&&t(24,st=Q.playPrevVideo),"repeatPlaylist"in Q&&t(25,ft=Q.repeatPlaylist),"seekToInteractive"in Q&&t(26,Tt=Q.seekToInteractive),"toggleGraph"in Q&&t(27,it=Q.toggleGraph),"playPrevChapter"in Q&&t(28,jt=Q.playPrevChapter),"firstStart"in Q&&t(29,At=Q.firstStart)},i.$$.update=()=>{i.$$.dirty[1]&24|i.$$.dirty[4]&24576&&t(41,mi=(L===ze.Video&&E||L===ze.Ads&&ae===Ft.INACTIVE)&&!P),i.$$.dirty[4]&4096&&t(122,Jt=Y!==rt.PlaybackState.PLAYING),i.$$.dirty[3]&939524096|i.$$.dirty[4]&2080&&t(123,Be=g&&!(Xt||Pi)&&!(Jt&&!K)),i.$$.dirty[1]&56|i.$$.dirty[3]&1610612736|i.$$.dirty[4]&1042&&we.set((Jt||n||b||U||se)&&!Be&&L===ze.Video&&!P),i.$$.dirty[0]&2|i.$$.dirty[1]&28|i.$$.dirty[3]&67108864|i.$$.dirty[4]&512&&t(42,qi=le.features.thumbTimer&&Xe&&L===ze.Video&&!v&&!P&&!wi&&(le.hideThumbTimerAfterTouch&&!N||!le.hideThumbTimerAfterTouch)),i.$$.dirty[1]&16|i.$$.dirty[4]&264&&t(43,Si=L===ze.Video&&!I&&c),i.$$.dirty[0]&256|i.$$.dirty[1]&8|i.$$.dirty[4]&132&&t(30,ji=(ke&&V||!ke)&&l&&!P),i.$$.dirty[0]&1073741824|i.$$.dirty[1]&4|i.$$.dirty[4]&96&&t(44,Qi=C&&!(v||ji)&&!g),i.$$.dirty[0]&2|i.$$.dirty[4]&49&&(!b&&Ti&&!g&&Gt(le.controls.hideTimeoutCursor),t(124,Ti=b)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(45,Zi=Ae&&p%180?a.height/a.width:1)},[Ae,le,y,ne,He,Ee,be,Pe,ke,J,Z,Ze,$e,tt,qe,at,mt,Bt,gt,Ne,nt,$,ot,ut,st,ft,Tt,it,jt,At,ji,a,p,v,P,L,U,Et,li,yi,Bi,mi,qi,Si,Qi,Zi,hi,o,r,f,j,ue,te,q,S,re,R,Ce,de,G,fe,ye,ei,vt,ht,Lt,dt,ti,me,we,Le,Ct,Zt,Ie,ni,bi,Yt,Nt,Rt,ki,Yi,Oi,Hi,Fi,Li,ii,Vi,zt,Vt,Ui,wi,ui,Mi,oi,fi,di,vi,je,pi,Ci,Gi,_i,Xi,Ji,cn,fn,ln,xi,dn,x,wt,Ii,_n,kn,ee,F,Ve,ct,et,Xe,Xt,Pi,Jt,Be,Ti,n,l,c,b,g,C,V,I,N,se,K,Y,ae,E,Rn,eo,zn,to,io,Dn]}class L3 extends _e{constructor(e){super(),ve(this,e,I3,A3,ge,{store:115,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:116,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:117,playerStarted:22,fullScreenTarget:118,showMiniTimer:119,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},S3,[-1,-1,-1,-1,-1,-1])}}const V3=i=>{if(!ie.isIOS(!0))return!1;const e=i.device===ie.CurrentClientDevice.iPad||window?.screen.width>700,t=ie.getIOSVersion();return!e||e&&!!t&&t<16};function M3(i){Ue(i,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function Wr(i){let e,t,n,o,s,l,r,a,c,f,p,b,g,v,C,P=oe("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",V;return{c(){e=_("div"),n=B(),o=_("div"),s=_("div"),l=_("div"),a=B(),c=_("div"),p=B(),b=_("div"),v=B(),C=_("p"),V=Fe(P),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(l,"class",r="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(b,"class",g="triangle "+i[0]+" v-nhq2ld"),u(s,"class","triangles-wrapper v-nhq2ld"),u(C,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(I,L){w(I,e,L),w(I,n,L),w(I,o,L),d(o,s),d(s,l),d(s,a),d(s,c),d(s,p),d(s,b),d(o,v),d(o,C),d(C,V)},p(I,L){L&1&&t!==(t="semicircle "+I[0]+" v-nhq2ld")&&u(e,"class",t),L&1&&r!==(r="triangle "+I[0]+" v-nhq2ld")&&u(l,"class",r),L&1&&f!==(f="triangle "+I[0]+" v-nhq2ld")&&u(c,"class",f),L&1&&g!==(g="triangle "+I[0]+" v-nhq2ld")&&u(b,"class",g),L&2&&P!==(P=oe("doubletap_seek_step",{seconds:I[1].toFixed(0)})+"")&&xe(V,P)},d(I){I&&(k(e),k(n),k(o))}}}function B3(i){let e,t,n,o,s=i[2]&&Wr(i);return{c(){e=_("div"),s&&s.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(l,r){w(l,e,r),s&&s.m(e,null),n||(o=Te(e,"click",pt(i[3]())),n=!0)},p(l,[r]){l[2]?s?s.p(l,r):(s=Wr(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&1&&t!==(t="double-click-area "+l[0]+" v-nhq2ld")&&u(e,"class",t)},i:H,o:H,d(l){l&&k(e),s&&s.d(),n=!1,o()}}}function N3(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:s}=e,{handleSecondClick:l}=e,r=!1,a=0,c=0;const f=()=>{let b=0;return()=>{b+=1,b===1?a=window.setTimeout(()=>{s(),b=0},300):(window.clearTimeout(a),b=0,l(),t(2,r=!0),c=window.setTimeout(()=>{t(2,r=!1)},500))}};return Io(()=>{window.clearTimeout(a),window.clearTimeout(c)}),i.$$set=p=>{"side"in p&&t(0,n=p.side),"seekStep"in p&&t(1,o=p.seekStep),"handleSingleFirstClick"in p&&t(4,s=p.handleSingleFirstClick),"handleSecondClick"in p&&t(5,l=p.handleSecondClick)},[n,o,r,f,s,l]}class L1 extends _e{constructor(e){super(),ve(this,e,N3,B3,ge,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},M3)}}function R3(i,e,t){let{playNextVideo:n}=e;return an(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class z3 extends _e{constructor(e){super(),ve(this,e,R3,null,ge,{playNextVideo:0})}}const{window:D3}=da;function O3(i){Ue(i,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function Gr(i){let e,t,n,o;e=new L1({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[98],handleSecondClick:i[128]}});let s=!i[47]&&Kr(i);return{c(){O(e.$$.fragment),t=B(),s&&s.c(),n=kt()},m(l,r){z(e,l,r),w(l,t,r),s&&s.m(l,r),w(l,n,r),o=!0},p(l,r){const a={};r[0]&2&&(a.seekStep=l[1].controls.seekStepMobile/1e3),e.$set(a),l[47]?s&&(pe(),h(s,1,1,()=>{s=null}),he()):s?(s.p(l,r),r[1]&65536&&m(s,1)):(s=Kr(l),s.c(),m(s,1),s.m(n.parentNode,n))},i(l){o||(m(e.$$.fragment,l),m(s),o=!0)},o(l){h(e.$$.fragment,l),h(s),o=!1},d(l){l&&(k(t),k(n)),D(e,l),s&&s.d(l)}}}function Kr(i){let e,t;return e=new L1({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[98],handleSecondClick:i[129]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&2&&(s.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Yr(i){let e,t;return e=new A1({props:{thumbUrl:i[2],startTime:i[4]?.startTime}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&4&&(s.thumbUrl=n[2]),o[0]&16&&(s.startTime=n[4]?.startTime),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Qr(i){let e,t;return e=new E1({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Xr(i){let e,t,n;return t=new Oa({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),A(e,"hidden",i[33]!==ze.Ads)},m(o,s){w(o,e,s),z(t,e,null),n=!0},p(o,s){const l={};s[0]&256&&(l.adsSlotId=o[8]),s[0]&512&&(l.adsParams=o[9]),s[0]&1024&&(l.adsPreviewParam=o[10]),s[0]&2048&&(l.duration=o[11]),t.$set(l),(!n||s[1]&4)&&A(e,"hidden",o[33]!==ze.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function Jr(i){let e,t;return e=new z3({props:{playNextVideo:i[22]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&4194304&&(s.playNextVideo=n[22]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function xr(i){let e,t;return e=new y1({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function $r(i){let e,t,n;return t=new La({props:{ariaLabel:oe("video360")}}),{c(){e=_("div"),O(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,s){w(o,e,s),z(t,e,null),n=!0},p:H,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&k(e),D(t)}}}function ea(i){let e,t;return e=new P1({props:{thumbUrl:i[2],chromecastDeviceName:i[50]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&4&&(s.thumbUrl=n[2]),o[1]&524288&&(s.chromecastDeviceName=n[50]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ta(i){let e,t;return e=new C1({props:{shifted:i[29],captions:i[52],position:i[43],playerSize:i[30],isMobile:!0}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o[0]&536870912&&(s.shifted=n[29]),o[1]&2097152&&(s.captions=n[52]),o[1]&4096&&(s.position=n[43]),o[0]&1073741824&&(s.playerSize=n[30]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ia(i){let e,t,n,o,s;return t=new S1({}),{c(){e=_("div"),O(t.$$.fragment)},m(l,r){w(l,e,r),z(t,e,null),n=!0,o||(s=Te(e,"click",pt(i[99])),o=!0)},p:H,i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){h(t.$$.fragment,l),n=!1},d(l){l&&k(e),D(t),o=!1,s()}}}function na(i){let e,t;return e=new Ga({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function oa(i){let e,t;return e=new Ua({}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function la(i){let e,t,n=i[6]&&i[77]&&!i[46].has(bt.TIMELINE),o,s,l,r,a,c,f,p,b,g,v,C,P,V,I,L,N,se;e=new T1({props:{hidden:i[33]!==ze.Thumb||i[32]||i[88]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let U=n&&Gr(i),K=i[33]===ze.WaitingLive&&Yr(i),Y=i[33]===ze.WaitingRecord&&Qr(),ae=i[7]&&i[21]&&Xr(i),E=i[40]&&i[17]&&i[18]&&Jr(i),j=i[48]&&xr(),ue=i[49]&&$r(),te=i[34]&&ea(i),q=i[51].value!=="off"&&ta(i),S=i[32]&&ia(i);function re(G){i[130](G)}let R={bottomHidden:i[33]===ze.Thumb||i[33]===ze.WaitingLive||i[33]===ze.WaitingRecord||i[33]===ze.Ads,showControls:i[29],bottomNoSmooth:i[44],isAds:i[33]===ze.Ads,canRewindLive:i[6]&&i[53]!==0,logoClickable:i[12],logoHidden:i[13],videoLogoUrl:i[3],showNextPrevButtons:i[14],nextButtonActive:i[15],prevButtonActive:i[16],isOneVideoPlaylist:i[19],supportLink:i[20],customFullscreenSupported:i[38],playNextVideo:i[22],playPrevVideo:i[23],repeatPlaylist:i[24],toggleFullscreen:i[96],seekToInteractive:i[25],toggleGraph:i[26],playPrevChapter:i[27],onDisabledPlayPrevChapterClick:i[102],onDisabledSeekToInteractiveClick:i[103]};i[36]!==void 0&&(R.controlsElementRef=i[36]),v=new k1({props:R}),Me.push(()=>Ye(v,"controlsElementRef",re)),V=new Fa({props:{isLive:i[54],isHidden:!i[39],isPlaying:i[55],position:i[43],duration:i[42]}});let Ce=i[37]&&na(),de=i[56]&&oa();return{c(){O(e.$$.fragment),t=B(),U&&U.c(),o=B(),K&&K.c(),s=B(),Y&&Y.c(),l=B(),ae&&ae.c(),r=B(),E&&E.c(),a=B(),j&&j.c(),c=B(),ue&&ue.c(),f=B(),te&&te.c(),p=B(),q&&q.c(),b=B(),S&&S.c(),g=B(),O(v.$$.fragment),P=B(),O(V.$$.fragment),I=B(),Ce&&Ce.c(),L=B(),de&&de.c(),N=kt()},m(G,fe){z(e,G,fe),w(G,t,fe),U&&U.m(G,fe),w(G,o,fe),K&&K.m(G,fe),w(G,s,fe),Y&&Y.m(G,fe),w(G,l,fe),ae&&ae.m(G,fe),w(G,r,fe),E&&E.m(G,fe),w(G,a,fe),j&&j.m(G,fe),w(G,c,fe),ue&&ue.m(G,fe),w(G,f,fe),te&&te.m(G,fe),w(G,p,fe),q&&q.m(G,fe),w(G,b,fe),S&&S.m(G,fe),w(G,g,fe),z(v,G,fe),w(G,P,fe),z(V,G,fe),w(G,I,fe),Ce&&Ce.m(G,fe),w(G,L,fe),de&&de.m(G,fe),w(G,N,fe),se=!0},p(G,fe){const ye={};fe[0]&32|fe[1]&6&&(ye.hidden=G[33]!==ze.Thumb||G[32]||G[88]&&G[5]),fe[0]&4&&(ye.thumbUrl=G[2]),fe[0]&268435456&&(ye.startVideo=G[28]),e.$set(ye),fe[0]&64|fe[1]&32768&&(n=G[6]&&G[77]&&!G[46].has(bt.TIMELINE)),n?U?(U.p(G,fe),fe[0]&64|fe[1]&32768&&m(U,1)):(U=Gr(G),U.c(),m(U,1),U.m(o.parentNode,o)):U&&(pe(),h(U,1,1,()=>{U=null}),he()),G[33]===ze.WaitingLive?K?(K.p(G,fe),fe[1]&4&&m(K,1)):(K=Yr(G),K.c(),m(K,1),K.m(s.parentNode,s)):K&&(pe(),h(K,1,1,()=>{K=null}),he()),G[33]===ze.WaitingRecord?Y?fe[1]&4&&m(Y,1):(Y=Qr(),Y.c(),m(Y,1),Y.m(l.parentNode,l)):Y&&(pe(),h(Y,1,1,()=>{Y=null}),he()),G[7]&&G[21]?ae?(ae.p(G,fe),fe[0]&2097280&&m(ae,1)):(ae=Xr(G),ae.c(),m(ae,1),ae.m(r.parentNode,r)):ae&&(pe(),h(ae,1,1,()=>{ae=null}),he()),G[40]&&G[17]&&G[18]?E?(E.p(G,fe),fe[0]&393216|fe[1]&512&&m(E,1)):(E=Jr(G),E.c(),m(E,1),E.m(a.parentNode,a)):E&&(pe(),h(E,1,1,()=>{E=null}),he()),G[48]?j?fe[1]&131072&&m(j,1):(j=xr(),j.c(),m(j,1),j.m(c.parentNode,c)):j&&(pe(),h(j,1,1,()=>{j=null}),he()),G[49]?ue?(ue.p(G,fe),fe[1]&262144&&m(ue,1)):(ue=$r(),ue.c(),m(ue,1),ue.m(f.parentNode,f)):ue&&(pe(),h(ue,1,1,()=>{ue=null}),he()),G[34]?te?(te.p(G,fe),fe[1]&8&&m(te,1)):(te=ea(G),te.c(),m(te,1),te.m(p.parentNode,p)):te&&(pe(),h(te,1,1,()=>{te=null}),he()),G[51].value!=="off"?q?(q.p(G,fe),fe[1]&1048576&&m(q,1)):(q=ta(G),q.c(),m(q,1),q.m(b.parentNode,b)):q&&(pe(),h(q,1,1,()=>{q=null}),he()),G[32]?S?(S.p(G,fe),fe[1]&2&&m(S,1)):(S=ia(G),S.c(),m(S,1),S.m(g.parentNode,g)):S&&(pe(),h(S,1,1,()=>{S=null}),he());const F={};fe[1]&4&&(F.bottomHidden=G[33]===ze.Thumb||G[33]===ze.WaitingLive||G[33]===ze.WaitingRecord||G[33]===ze.Ads),fe[0]&536870912&&(F.showControls=G[29]),fe[1]&8192&&(F.bottomNoSmooth=G[44]),fe[1]&4&&(F.isAds=G[33]===ze.Ads),fe[0]&64|fe[1]&4194304&&(F.canRewindLive=G[6]&&G[53]!==0),fe[0]&4096&&(F.logoClickable=G[12]),fe[0]&8192&&(F.logoHidden=G[13]),fe[0]&8&&(F.videoLogoUrl=G[3]),fe[0]&16384&&(F.showNextPrevButtons=G[14]),fe[0]&32768&&(F.nextButtonActive=G[15]),fe[0]&65536&&(F.prevButtonActive=G[16]),fe[0]&524288&&(F.isOneVideoPlaylist=G[19]),fe[0]&1048576&&(F.supportLink=G[20]),fe[1]&128&&(F.customFullscreenSupported=G[38]),fe[0]&4194304&&(F.playNextVideo=G[22]),fe[0]&8388608&&(F.playPrevVideo=G[23]),fe[0]&16777216&&(F.repeatPlaylist=G[24]),fe[0]&33554432&&(F.seekToInteractive=G[25]),fe[0]&67108864&&(F.toggleGraph=G[26]),fe[0]&134217728&&(F.playPrevChapter=G[27]),!C&&fe[1]&32&&(C=!0,F.controlsElementRef=G[36],Ke(()=>C=!1)),v.$set(F);const le={};fe[1]&8388608&&(le.isLive=G[54]),fe[1]&256&&(le.isHidden=!G[39]),fe[1]&16777216&&(le.isPlaying=G[55]),fe[1]&4096&&(le.position=G[43]),fe[1]&2048&&(le.duration=G[42]),V.$set(le),G[37]?Ce?fe[1]&64&&m(Ce,1):(Ce=na(),Ce.c(),m(Ce,1),Ce.m(L.parentNode,L)):Ce&&(pe(),h(Ce,1,1,()=>{Ce=null}),he()),G[56]?de?fe[1]&33554432&&m(de,1):(de=oa(),de.c(),m(de,1),de.m(N.parentNode,N)):de&&(pe(),h(de,1,1,()=>{de=null}),he())},i(G){se||(m(e.$$.fragment,G),m(U),m(K),m(Y),m(ae),m(E),m(j),m(ue),m(te),m(q),m(S),m(v.$$.fragment,G),m(V.$$.fragment,G),m(Ce),m(de),se=!0)},o(G){h(e.$$.fragment,G),h(U),h(K),h(Y),h(ae),h(E),h(j),h(ue),h(te),h(q),h(S),h(v.$$.fragment,G),h(V.$$.fragment,G),h(Ce),h(de),se=!1},d(G){G&&(k(t),k(o),k(s),k(l),k(r),k(a),k(c),k(f),k(p),k(b),k(g),k(P),k(I),k(L),k(N)),D(e,G),U&&U.d(G),K&&K.d(G),Y&&Y.d(G),ae&&ae.d(G),E&&E.d(G),j&&j.d(G),ue&&ue.d(G),te&&te.d(G),q&&q.d(G),S&&S.d(G),D(v,G),D(V,G),Ce&&Ce.d(G),de&&de.d(G)}}}function H3(i){let e,t,n,o,s,l=i[45],r,a,c,f=la(i);return{c(){e=_("div"),t=_("div"),n=_("div"),s=B(),f.c(),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${i[31]}deg) scale(${i[41]})`),A(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),A(t,"hidden",i[33]!==ze.Video),u(e,"class","player-wrapper v-1jy89ut")},m(p,b){w(p,e,b),d(e,t),d(t,n),i[127](n),d(e,s),f.m(e,null),i[131](e),r=!0,a||(c=[Te(D3,"blur",i[97]),Te(t,"click",ri(i[98])),Te(e,"click",i[100],!0),Te(e,"focusin",i[101],!0)],a=!0)},p(p,b){(!r||b[1]&1025&&o!==(o=`transform: rotate(${p[31]}deg) scale(${p[41]})`))&&u(n,"style",o),(!r||b[0]&2)&&A(n,"fast-rotate",!p[1].isSmoothVideoRotate),(!r||b[1]&4)&&A(t,"hidden",p[33]!==ze.Video),b[1]&16384&&ge(l,l=p[45])?(pe(),h(f,1,1,H),he(),f=la(p),f.c(),m(f,1),f.m(e,null)):f.p(p,b)},i(p){r||(m(f),r=!0)},o(p){h(f),r=!1},d(p){p&&k(e),i[127](null),f.d(p),i[131](null),a=!1,qt(c)}}}function F3(i,e,t){let n,o,s,l,r,a,c,f,p,b,g,v,C,P,V,I,L,N,se,U,K,Y,ae,E,j,ue,te,q,S,re,R,Ce,de,G,fe,ye,{store:F}=e,{uiConfig:le}=e,{thumbUrl:y}=e,{videoLogoUrl:ne}=e,{videoContainer:He}=e,{interactiveContainer:Ae}=e,{live:Ve}=e,{autoplay:Ee}=e,{canRewindLive:be}=e,{showAds:Pe}=e,{adsSlotId:ke=void 0}=e,{adsParams:J=void 0}=e,{adsPreviewParam:Z=void 0}=e,{duration:Ze=void 0}=e,{logoClickable:$e}=e,{logoHidden:tt}=e,{showNextPrevButtons:qe=!1}=e,{nextButtonActive:at=!1}=e,{prevButtonActive:mt=!1}=e,{endScreenVideoTitle:Bt=void 0}=e,{endScreenVideoThumb:gt=void 0}=e,{isOneVideoPlaylist:Ne=!1}=e,{supportLink:nt}=e,{outerContainerRef:$=void 0}=e,{showMiniTimer:ct=!1}=e,{fullScreenTarget:ot=void 0}=e,{playerStarted:et=!1}=e,{playNextVideo:Xe=ie.noop}=e,{playPrevVideo:ut=ie.noop}=e,{repeatPlaylist:st=ie.noop}=e,{seekToInteractive:ft}=e,{toggleGraph:Tt}=e,{playPrevChapter:it}=e,{firstStart:jt}=e,{seekTime:At}=e;const Je=F.getLogger().createComponentLog("Root component"),ei=F.interfaceLanguage$;W(i,ei,x=>t(45,j=x));const vt=F.state.playbackState$;W(i,vt,x=>t(124,Y=x));const ht=F.ads.playbackState;W(i,ht,x=>t(125,ae=x));const Lt=F.state.positionWithScrubbing$;W(i,Lt,x=>t(43,l=x));const dt=F.state.duration$;W(i,dt,x=>t(42,s=x));const ti=F.playerPhase;W(i,ti,x=>t(33,N=x));const me=F.ui.isFullscreen;W(i,me,x=>t(137,a=x));const we=F.ui.controlsVisible;W(i,we,x=>t(29,o=x));const Le=F.ui.interactiveHideMobileControls;W(i,Le,x=>t(116,b=x));const Ct=F.ui.settingsMenuVisible;W(i,Ct,x=>t(115,n=x));const Zt=F.ui.scrubbingInProgress;W(i,Zt,x=>t(117,v=x));const Ie=F.ui.debugPanelVisible;W(i,Ie,x=>t(56,ye=x));const ni=F.state.isLoaderVisible;W(i,ni,x=>t(126,E=x));const bi=F.state.isEnded$;W(i,bi,x=>t(119,V=x));const Yt=F.state.chromecastConnected$;W(i,Yt,x=>t(34,se=x));const Nt=F.state.chromecastDeviceName$;W(i,Nt,x=>t(50,re=x));const Rt=F.ads.postrollPassed;W(i,Rt,x=>t(120,I=x));const ki=F.ui.mobileUnmuteButtonExpanded,Yi=F.ui.mobileUnmuteButtonVisible,Oi=F.state.isLive$;W(i,Oi,x=>t(54,G=x));const Wt=F.state.isPlaying$;W(i,Wt,x=>t(55,fe=x));const Hi=F.state.isActiveLive$;W(i,Hi,x=>t(47,te=x));const Fi=F.state.isRewindableLive$,Li=F.state.crashed$;W(i,Li,x=>t(32,P=x));const ii=F.webApi.pictureInPictureApi,Vi=F.state.videoSize$;W(i,Vi,x=>t(138,f=x));const zt=F.state.currentSubtitle$;W(i,zt,x=>t(51,R=x));const Vt=F.state.currentSubtitleCaptions$;W(i,Vt,x=>t(52,Ce=x));const Ui=F.state.duration$;W(i,Ui,x=>t(53,de=x));const wi=F.state.graphIsOpened$;W(i,wi,x=>t(123,K=x));const ui=F.ui.playerSize;W(i,ui,x=>t(30,c=x));const Mi=F.ui.is3DVideo;W(i,Mi,x=>t(48,q=x));const ci=F.ui.icon3DVideoVisible;W(i,ci,x=>t(49,S=x));const oi=F.ui.rotateAlpha;W(i,oi,x=>t(31,g=x));const fi=F.state.isInteractive,di=F.state.isInteractiveTime$;W(i,di,x=>t(118,C=x));const Et=F.state.isInteractiveExpectation$;W(i,Et,x=>t(122,U=x));const li=F.state.hasInteractiveBranches,yi=F.ui.controls.disabledControls$;W(i,yi,x=>t(46,ue=x));const Bi=F.ui.touched;W(i,Bi,x=>t(121,L=x));const Qt=F.ui.clientInfo$;W(i,Qt,x=>t(136,r=x));const Ni=F.actions.internal.onDisabledPlayPrevChapterClick,Ri=F.actions.internal.onDisabledSeekToInteractiveClick;let mi,vi,zi,je,pi,Ci;const Xt=Oe(!1);W(i,Xt,x=>t(44,p=x));let Pi,Jt=!1,Be,qi=!1,Si,ji=!0,Qi,Ti,Zi=!1,si;ii?.setContext(ha());const Ai=x=>{clearTimeout(je),x&&(Yi.set(!0),ki.set(!0),je=window.setTimeout(()=>{ki.set(!1)},le.controls.collapseMobileUnmute),fi||gi(le.controls.hideTimeoutMobile))};F.setUiCallbacks({onStarted:Ai});const hi=()=>{window.clearTimeout(zi),t(110,Jt=!1),b&&Le.set(!1)},gi=x=>{hi(),t(110,Jt=!0),zi=window.setTimeout(()=>t(110,Jt=!1),x);const wt=x-100;Pi=window.setTimeout(()=>{p&&Xt.set(!1)},wt>0?wt:x)},un=Mi.subscribe(x=>{ci.set(x),x&&(window.clearTimeout(pi),pi=window.setTimeout(()=>ci.set(!1),le.controls.hide360IconTimeout))}),tn=async()=>{const x=co();if(x){gi(le.controls.hideTimeoutFullscreen);try{await ii?.remove()}catch(wt){Je({message:String(wt)})}try{const wt=f?.width&&f?.height?f:c;await ec(wt)}catch(wt){Je({message:String(wt)})}}me.set(x),F.getAdmanWrapper().setFullscreen(x),a?F.callbacks?.onFullscreenEnter?.():F.callbacks?.onFullscreenExit?.()},Gt=x=>{const wt=x;ui.set({width:wt.target.width,height:wt.target.height})};an(()=>(za(tn),Eo(ii)&&(ii?.assignPlayerContainer(mi),ii?.registryExternalEventHandlers({resize:Gt})),t(38,ji=!V3(r)),Ae&&He.parentElement?.insertBefore(Ae,He.nextSibling),()=>{window.clearTimeout(zi),window.clearTimeout(Pi),window.clearTimeout(je),window.clearTimeout(pi),un(),ii?.dispose(),Da(tn)}));const Di=x=>{let wt=l+(x==="forward"?1:-1)*le.controls.seekStepMobile/1e3;wt<0?wt=0:wt>s&&(wt=s-1),t(112,qi=!0),At(wt)},Ei=async()=>{if(co())await Ra(document),Je({message:"exit fullscreen"});else{Je({message:"request fullscreen"});const x=$??mi,wt=x.getRootNode(),Ii=wt instanceof ShadowRoot?wt.host:wt,_n=ot instanceof HTMLElement&&ot.contains(Ii),kn=le.allowChangingFullscreenTarget&&ot&&_n?ot:x;await Na(kn)}},Wi=()=>{Ct.set(!1)},nn=()=>{if(n){Wi();return}if(!et){jt(),gi(le.controls.hideTimeoutCursor);return}t(112,qi=!1),o?hi():gi(le.controls.hideTimeoutMobile)},Gi=()=>{if(n){Wi();return}},_i=()=>{Bi.set(!0)},Xi=()=>{fi||(Xt.set(!0),gi(le.controls.hideTimeoutCursor))},Ji=x=>{Ni&&(Ni(x),gi(le.controls.hideTimeoutMobile))},cn=x=>{Ri&&(Ri(x),gi(le.controls.hideTimeoutMobile))};function fn(x){Me[x?"unshift":"push"](()=>{He=x,t(0,He)})}const on=()=>Di("backward"),ln=()=>Di("forward");function xi(x){vi=x,t(36,vi)}function dn(x){Me[x?"unshift":"push"](()=>{mi=x,t(35,mi)})}return i.$$set=x=>{"store"in x&&t(104,F=x.store),"uiConfig"in x&&t(1,le=x.uiConfig),"thumbUrl"in x&&t(2,y=x.thumbUrl),"videoLogoUrl"in x&&t(3,ne=x.videoLogoUrl),"videoContainer"in x&&t(0,He=x.videoContainer),"interactiveContainer"in x&&t(105,Ae=x.interactiveContainer),"live"in x&&t(4,Ve=x.live),"autoplay"in x&&t(5,Ee=x.autoplay),"canRewindLive"in x&&t(6,be=x.canRewindLive),"showAds"in x&&t(7,Pe=x.showAds),"adsSlotId"in x&&t(8,ke=x.adsSlotId),"adsParams"in x&&t(9,J=x.adsParams),"adsPreviewParam"in x&&t(10,Z=x.adsPreviewParam),"duration"in x&&t(11,Ze=x.duration),"logoClickable"in x&&t(12,$e=x.logoClickable),"logoHidden"in x&&t(13,tt=x.logoHidden),"showNextPrevButtons"in x&&t(14,qe=x.showNextPrevButtons),"nextButtonActive"in x&&t(15,at=x.nextButtonActive),"prevButtonActive"in x&&t(16,mt=x.prevButtonActive),"endScreenVideoTitle"in x&&t(17,Bt=x.endScreenVideoTitle),"endScreenVideoThumb"in x&&t(18,gt=x.endScreenVideoThumb),"isOneVideoPlaylist"in x&&t(19,Ne=x.isOneVideoPlaylist),"supportLink"in x&&t(20,nt=x.supportLink),"outerContainerRef"in x&&t(106,$=x.outerContainerRef),"showMiniTimer"in x&&t(107,ct=x.showMiniTimer),"fullScreenTarget"in x&&t(108,ot=x.fullScreenTarget),"playerStarted"in x&&t(21,et=x.playerStarted),"playNextVideo"in x&&t(22,Xe=x.playNextVideo),"playPrevVideo"in x&&t(23,ut=x.playPrevVideo),"repeatPlaylist"in x&&t(24,st=x.repeatPlaylist),"seekToInteractive"in x&&t(25,ft=x.seekToInteractive),"toggleGraph"in x&&t(26,Tt=x.toggleGraph),"playPrevChapter"in x&&t(27,it=x.playPrevChapter),"firstStart"in x&&t(28,jt=x.firstStart),"seekTime"in x&&t(109,At=x.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&6|i.$$.dirty[4]&6&&t(37,Ci=(N===ze.Video&&E||N===ze.Ads&&ae===Ft.INACTIVE)&&!P),i.$$.dirty[4]&1&&t(111,Be=Y!==rt.PlaybackState.PLAYING),i.$$.dirty[3]&1686503424&&t(113,Si=K||b||!Jt&&(V&&!!li||Be&&U)),i.$$.dirty[1]&14|i.$$.dirty[3]&22937600&&we.set((Be||n||v||se||Jt&&!qi)&&!Si&&N===ze.Video&&!P),i.$$.dirty[0]&536870914|i.$$.dirty[1]&6|i.$$.dirty[3]&268451840&&t(39,Qi=le.features.thumbTimer&&ct&&N===ze.Video&&!o&&!P&&!fi&&(le.hideThumbTimerAfterTouch&&!L||!le.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&2|i.$$.dirty[3]&201326592&&t(40,Ti=(Pe&&I||!Pe)&&V&&!P),i.$$.dirty[0]&2|i.$$.dirty[3]&52428800&&(!v&&Zi&&!C&&gi(le.controls.hideTimeoutMobile),t(114,Zi=v)),i.$$.dirty[0]&1073741825|i.$$.dirty[1]&1&&t(41,si=He&&g%180?c.height/c.width:1)},[He,le,y,ne,Ve,Ee,be,Pe,ke,J,Z,Ze,$e,tt,qe,at,mt,Bt,gt,Ne,nt,et,Xe,ut,st,ft,Tt,it,jt,o,c,g,P,N,se,mi,vi,Ci,ji,Qi,Ti,si,s,l,p,j,ue,te,q,S,re,R,Ce,de,G,fe,ye,ei,vt,ht,Lt,dt,ti,me,we,Le,Ct,Zt,Ie,ni,bi,Yt,Nt,Rt,Oi,Wt,Hi,Fi,Li,Vi,zt,Vt,Ui,wi,ui,Mi,ci,oi,fi,di,Et,yi,Bi,Qt,Xt,Di,Ei,Wi,nn,Gi,_i,Xi,Ji,cn,F,Ae,$,ct,ot,At,Jt,Be,qi,Si,Zi,n,b,v,C,V,I,L,U,K,Y,ae,E,fn,on,ln,xi,dn]}class U3 extends _e{constructor(e){super(),ve(this,e,F3,H3,ge,{store:104,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:105,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:106,showMiniTimer:107,fullScreenTarget:108,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:109},O3,[-1,-1,-1,-1,-1])}}function q3(i){Ue(i,"v-xu043z",`.root.v-xu043z{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
|
|
33
33
|
180deg,
|
|
34
34
|
rgba(0, 0, 0, 0.00) 0%,
|
|
35
35
|
rgba(0, 0, 0, 0.01) 6.67%,
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
rgba(0, 0, 0, 0.96) 86.67%,
|
|
48
48
|
rgba(0, 0, 0, 0.99) 93.33%,
|
|
49
49
|
#000 100%
|
|
50
|
-
);--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg{pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}`)}function p3(i){let e,t,n;function o(s){i[54](s)}let l={store:i[0],uiConfig:i[35],title:i[1],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36]};return i[33]!==void 0&&(l.videoContainer=i[33]),e=new i3({props:l}),je.push(()=>wt(e,"videoContainer",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[0]&1&&(a.store=s[0]),r[0]&2&&(a.title=s[1]),r[0]&4&&(a.thumbUrl=s[2]),r[0]&8&&(a.videoLogoUrl=s[3]),r[0]&16&&(a.interactiveContainer=s[4]),r[0]&32&&(a.live=s[5]),r[0]&64&&(a.autoplay=s[6]),r[0]&128&&(a.canRewindLive=s[7]),r[0]&256&&(a.showAds=s[8]),r[0]&512&&(a.adsSlotId=s[9]),r[0]&1024&&(a.adsParams=s[10]),r[0]&2048&&(a.adsPreviewParam=s[11]),r[0]&4096&&(a.duration=s[12]),r[0]&8192&&(a.logoClickable=s[13]),r[0]&16384&&(a.logoHidden=s[14]),r[0]&65536&&(a.showNextPrevButtons=s[16]),r[0]&131072&&(a.nextButtonActive=s[17]),r[0]&262144&&(a.prevButtonActive=s[18]),r[0]&524288&&(a.endScreenVideoTitle=s[19]),r[0]&1048576&&(a.endScreenVideoThumb=s[20]),r[0]&2097152&&(a.isOneVideoPlaylist=s[21]),r[0]&4194304&&(a.supportLink=s[22]),r[0]&8388608&&(a.outerContainerRef=s[23]),r[0]&16777216&&(a.fullScreenTarget=s[24]),r[0]&33554432&&(a.showMiniTimer=s[25]),r[1]&8&&(a.playerStarted=s[34]),r[0]&67108864&&(a.playNextVideo=s[26]),r[0]&134217728&&(a.playPrevVideo=s[27]),r[0]&268435456&&(a.repeatPlaylist=s[28]),r[0]&536870912&&(a.seekToInteractive=s[29]),r[0]&1073741824&&(a.toggleGraph=s[30]),r[1]&1&&(a.playPrevChapter=s[31]),!t&&r[1]&4&&(t=!0,a.videoContainer=s[33],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function g3(i){let e,t,n;function o(s){i[53](s)}let l={store:i[0],uiConfig:i[35],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36],seekTime:i[32]};return i[33]!==void 0&&(l.videoContainer=i[33]),e=new m3({props:l}),je.push(()=>wt(e,"videoContainer",o)),{c(){H(e.$$.fragment)},m(s,r){O(e,s,r),n=!0},p(s,r){const a={};r[0]&1&&(a.store=s[0]),r[0]&4&&(a.thumbUrl=s[2]),r[0]&8&&(a.videoLogoUrl=s[3]),r[0]&16&&(a.interactiveContainer=s[4]),r[0]&32&&(a.live=s[5]),r[0]&64&&(a.autoplay=s[6]),r[0]&128&&(a.canRewindLive=s[7]),r[0]&256&&(a.showAds=s[8]),r[0]&512&&(a.adsSlotId=s[9]),r[0]&1024&&(a.adsParams=s[10]),r[0]&2048&&(a.adsPreviewParam=s[11]),r[0]&4096&&(a.duration=s[12]),r[0]&8192&&(a.logoClickable=s[13]),r[0]&16384&&(a.logoHidden=s[14]),r[0]&65536&&(a.showNextPrevButtons=s[16]),r[0]&131072&&(a.nextButtonActive=s[17]),r[0]&262144&&(a.prevButtonActive=s[18]),r[0]&524288&&(a.endScreenVideoTitle=s[19]),r[0]&1048576&&(a.endScreenVideoThumb=s[20]),r[0]&2097152&&(a.isOneVideoPlaylist=s[21]),r[0]&4194304&&(a.supportLink=s[22]),r[0]&8388608&&(a.outerContainerRef=s[23]),r[0]&16777216&&(a.fullScreenTarget=s[24]),r[0]&33554432&&(a.showMiniTimer=s[25]),r[1]&8&&(a.playerStarted=s[34]),r[0]&67108864&&(a.playNextVideo=s[26]),r[0]&134217728&&(a.playPrevVideo=s[27]),r[0]&268435456&&(a.repeatPlaylist=s[28]),r[0]&536870912&&(a.seekToInteractive=s[29]),r[0]&1073741824&&(a.toggleGraph=s[30]),r[1]&1&&(a.playPrevChapter=s[31]),!t&&r[1]&4&&(t=!0,a.videoContainer=s[33],_t(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function v3(i){let e,t,n,o;const l=[g3,p3],s=[];function r(a,c){return a[15]?0:1}return t=r(i),n=s[t]=l[t](i),{c(){e=w("div"),n.c(),u(e,"class","root v-237li0")},m(a,c){y(a,e,c),s[t].m(e,null),o=!0},p(a,c){let f=t;t=r(a),t===f?s[t].p(a,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),n=s[t],n?n.p(a,c):(n=s[t]=l[t](a),n.c()),m(n,1),n.m(e,null))},i(a){o||(m(n),o=!0)},o(a){p(n),o=!1},d(a){a&&k(e),s[t].d()}}}function b3(i,e,t){let{sources:n}=e,{store:o}=e,{uiConfig:l}=e,{title:s}=e,{thumbUrl:r}=e,{videoLogoUrl:a}=e,{interactiveContainer:c}=e,{subtitles:f}=e,{live:h}=e,{preload:v}=e,{autoplay:g}=e,{volume:b=void 0}=e,{muted:A=void 0}=e,{fromTime:T}=e,{canRewindLive:I}=e,{showAds:V}=e,{adsSlotId:E=void 0}=e,{adsParams:M=void 0}=e,{adsPreviewParam:ie=void 0}=e,{duration:Y=void 0}=e,{logoClickable:P}=e,{logoHidden:F}=e,{isMobile:J}=e,{showNextPrevButtons:le=!1}=e,{nextButtonActive:ne=!1}=e,{prevButtonActive:ue=!1}=e,{endScreenVideoTitle:ee=void 0}=e,{endScreenVideoThumb:B=void 0}=e,{isOneVideoPlaylist:_=!1}=e,{supportLink:x}=e,{outerContainerRef:ae=void 0}=e,{fullScreenTarget:ze=void 0}=e,{failoverHosts:se=void 0}=e,{showMiniTimer:ge=!1}=e,{playNextVideo:Se=$.noop}=e,{playPrevVideo:G=$.noop}=e,{repeatPlaylist:L=$.noop}=e,{seekToInteractive:re=$.noop}=e,{toggleGraph:Q=$.noop}=e,{playPrevChapter:Pe=$.noop}=e;x1(l);const R=Yi(),X=o.ui.debugPanelVisible,Ve=o.ui.playerSize;let ke,be=null,Ce=!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}),lu(o);const Te=(me=!1)=>{t(34,Ce=!0),me?o.actions.external.firstStart(V):o.actions.internal.firstStart(V)};function Z(me){const at=n||me;at&&o.initVideo({container:ke,sources:at,failoverHosts:se,subtitles:f});const Je=$.safeStorage.get(Ro)==="true";X.set(Je),T>0&&o.actions.external.seekTime(T);const $e=J?R.volumeDefault:b??ka()??R.volumeDefault,Ye=A??fu();if(o.actions.external.setVolume($e),o.actions.external.setMuted(Ye),o.getAdmanWrapper().setInitialVolume(Ye?0:$e),R.features.trafficSaving){const lt=mu();lt&&o.actions.internal.setTrafficSavingEnabled(lt)}const et=cu(o.videoId);et&&o.actions.internal.setQuality(et),o.ui.isAutoplay.set(g),g?Te():v&&R.features.preload&&o.actions.internal.preload()}const W=me=>{if(window.ResizeObserver){let at,Je;be=new ResizeObserver($.debounceFn($e=>{const Ye=$e[0];if(Ye){if(Ye.contentBoxSize){const et=Array.isArray(Ye.contentBoxSize)?Ye.contentBoxSize[0]:Ye.contentBoxSize;at=et.inlineSize,Je=et.blockSize}else Ye.contentRect&&(at=Ye.contentRect.width,Je=Ye.contentRect.height);Ve.set({width:at,height:Je})}},da)),be.observe(me)}Ve.set({width:me.clientWidth,height:me.clientHeight})};ji(()=>{if(W(ke),h?.status==="upcoming"||h?.status==="waiting"){o.actions.internal.setWaitingLive(!0);return}if((h?.status==="finished"||h?.status==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return Z(),()=>{be?.disconnect(),o.destroy()}});function We(){Ce?o.actions.external.play():Te(!0)}function Ge(){o.actions.external.pause()}function xe(me){J||o.actions.external.setMuted(me)}function De(me){J||me>=0&&me<=1&&o.actions.external.setVolume(me)}function Me(me){o.actions.internal.seekTime(me,pt.SeekAction.UNKNOWN)}function dt(me){o.actions.external.seekEpisodeStartTime(me)}function st(me){o.actions.external.setPlaybackRate(me)}function Ne(me){o.actions.external.setAutoQualityLimits(me)}function Re(me){ke=me,t(33,ke)}function Qt(me){ke=me,t(33,ke)}return i.$$set=me=>{"sources"in me&&t(37,n=me.sources),"store"in me&&t(0,o=me.store),"uiConfig"in me&&t(38,l=me.uiConfig),"title"in me&&t(1,s=me.title),"thumbUrl"in me&&t(2,r=me.thumbUrl),"videoLogoUrl"in me&&t(3,a=me.videoLogoUrl),"interactiveContainer"in me&&t(4,c=me.interactiveContainer),"subtitles"in me&&t(39,f=me.subtitles),"live"in me&&t(5,h=me.live),"preload"in me&&t(40,v=me.preload),"autoplay"in me&&t(6,g=me.autoplay),"volume"in me&&t(41,b=me.volume),"muted"in me&&t(42,A=me.muted),"fromTime"in me&&t(43,T=me.fromTime),"canRewindLive"in me&&t(7,I=me.canRewindLive),"showAds"in me&&t(8,V=me.showAds),"adsSlotId"in me&&t(9,E=me.adsSlotId),"adsParams"in me&&t(10,M=me.adsParams),"adsPreviewParam"in me&&t(11,ie=me.adsPreviewParam),"duration"in me&&t(12,Y=me.duration),"logoClickable"in me&&t(13,P=me.logoClickable),"logoHidden"in me&&t(14,F=me.logoHidden),"isMobile"in me&&t(15,J=me.isMobile),"showNextPrevButtons"in me&&t(16,le=me.showNextPrevButtons),"nextButtonActive"in me&&t(17,ne=me.nextButtonActive),"prevButtonActive"in me&&t(18,ue=me.prevButtonActive),"endScreenVideoTitle"in me&&t(19,ee=me.endScreenVideoTitle),"endScreenVideoThumb"in me&&t(20,B=me.endScreenVideoThumb),"isOneVideoPlaylist"in me&&t(21,_=me.isOneVideoPlaylist),"supportLink"in me&&t(22,x=me.supportLink),"outerContainerRef"in me&&t(23,ae=me.outerContainerRef),"fullScreenTarget"in me&&t(24,ze=me.fullScreenTarget),"failoverHosts"in me&&t(44,se=me.failoverHosts),"showMiniTimer"in me&&t(25,ge=me.showMiniTimer),"playNextVideo"in me&&t(26,Se=me.playNextVideo),"playPrevVideo"in me&&t(27,G=me.playPrevVideo),"repeatPlaylist"in me&&t(28,L=me.repeatPlaylist),"seekToInteractive"in me&&t(29,re=me.seekToInteractive),"toggleGraph"in me&&t(30,Q=me.toggleGraph),"playPrevChapter"in me&&t(31,Pe=me.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(J)},[o,s,r,a,c,h,g,I,V,E,M,ie,Y,P,F,J,le,ne,ue,ee,B,_,x,ae,ze,ge,Se,G,L,re,Q,Pe,Me,ke,Ce,R,Te,n,l,f,v,b,A,T,se,Z,We,Ge,xe,De,dt,st,Ne,Re,Qt]}class _3 extends we{constructor(e){super(),_e(this,e,b3,v3,ve,{sources:37,store:0,uiConfig:38,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:39,live:5,preload:40,autoplay:6,volume:41,muted:42,fromTime:43,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:44,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:45,play:46,pause:47,setMuted:48,setVolume:49,seekTime:32,seekEpisodeStartTime:50,setPlaybackRate:51,setAutoQualityLimits:52},h3,[-1,-1])}get initVideo(){return this.$$.ctx[45]}get play(){return this.$$.ctx[46]}get pause(){return this.$$.ctx[47]}get setMuted(){return this.$$.ctx[48]}get setVolume(){return this.$$.ctx[49]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[50]}get setPlaybackRate(){return this.$$.ctx[51]}get setAutoQualityLimits(){return this.$$.ctx[52]}}function w3(i){let e,t;return{c(){e=z("svg"),t=z("path"),u(t,"fill",i[0]),u(t,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,o){y(n,e,o),d(e,t)},p(n,[o]){o&1&&u(t,"fill",n[0])},i:j,o:j,d(n){n&&k(e)}}}function k3(i,e,t){let{isWhite:n=!1}=e,o;return i.$$set=l=>{"isWhite"in l&&t(1,n=l.isWhite)},i.$$.update=()=>{i.$$.dirty&2&&t(0,o=n?"#fff":"#909499")},[o,n]}class y3 extends we{constructor(e){super(),_e(this,e,k3,w3,ve,{isWhite:1})}}function P3(i){He(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 $r(i){let e,t;return{c(){e=w("div"),t=Ue(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){y(n,e,o),d(e,t)},p(n,o){o&1&&Xe(t,n[0])},d(n){n&&k(e)}}}function ea(i){let e,t;return e=new y3({props:{isWhite:!!i[1]}}),{c(){H(e.$$.fragment)},m(n,o){O(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.isWhite=!!n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function C3(i){let e,t,n,o,l=i[0]&&$r(i),s=(!i[0]||!i[1])&&ea(i);return{c(){e=w("div"),l&&l.c(),t=N(),s&&s.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(r,a){y(r,e,a),l&&l.m(e,null),d(e,t),s&&s.m(e,null),o=!0},p(r,[a]){r[0]?l?l.p(r,a):(l=$r(r),l.c(),l.m(e,t)):l&&(l.d(1),l=null),!r[0]||!r[1]?s?(s.p(r,a),a&3&&m(s,1)):(s=ea(r),s.c(),m(s,1),s.m(e,null)):s&&(he(),p(s,1,1,()=>{s=null}),pe()),(!o||a&2&&n!==(n=r[1]?`background-image: url('${r[1]}')`:""))&&u(e,"style",n)},i(r){o||(m(s),o=!0)},o(r){p(s),o=!1},d(r){r&&k(e),l&&l.d(),s&&s.d()}}}function S3(i,e,t){let{title:n}=e,{thumbUrl:o}=e;return i.$$set=l=>{"title"in l&&t(0,n=l.title),"thumbUrl"in l&&t(1,o=l.thumbUrl)},[n,o]}class T3 extends we{constructor(e){super(),_e(this,e,S3,C3,ve,{title:0,thumbUrl:1},P3)}}class ta{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}removeEventListener(e,t){if(!(e in this.listeners))return;const n=this.listeners[e];for(let o=0,l=n.length;o<l;o++)if(n[o].callback===t){n.splice(o,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let o=0,l=n.length;o<l;o++){const s=n[o];try{s.callback.call(this,e)}catch(r){Promise.resolve().then(()=>{throw r})}s.options&&s.options.once&&this.removeEventListener(e.type,s.callback)}return!e.defaultPrevented}}class P1 extends ta{constructor(){super(),this.listeners||ta.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 A3=class{constructor(){Object.defineProperty(this,"signal",{value:new P1,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch{typeof document<"u"?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document>"u")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch{n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};typeof Symbol<"u"&&Symbol.toStringTag&&(A3.prototype[Symbol.toStringTag]="AbortController",P1.prototype[Symbol.toStringTag]="AbortSignal");function C1(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 E3(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!C1({fetch:e,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:e,Request:l};let l=t;(l&&!l.prototype.hasOwnProperty("signal")||o)&&(l=function(c,f){let h;f&&f.signal&&(h=f.signal,delete f.signal);const v=new t(c,f);return h&&Object.defineProperty(v,"signal",{writable:!1,enumerable:!1,configurable:!0,value:h}),v},l.prototype=t.prototype);const s=e;return{fetch:(a,c)=>{const f=l&&l.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let h;try{h=new DOMException("Aborted","AbortError")}catch{h=new Error("Aborted"),h.name="AbortError"}if(f.aborted)return Promise.reject(h);const v=new Promise((g,b)=>{f.addEventListener("abort",()=>b(h),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([v,s(a,c)])}return s(a,c)},Request:l}}const Qo=C1({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),S1=Qo?E3({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,L3=Qo?S1.fetch:window.fetch;Qo?S1.Request:window.Request;const V3=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,I3="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class z3{adman=null;initialVolume=1;videoElement=null;currentAdSection=null;actions=null;adsState=null;playerState=null;log;loadTimeout;initTimeout;events={slotRequested$:new $.Subject,started$:new $.Subject,paused$:new $.Subject,resumed$:new $.Subject,ended$:new $.Subject,skipped$:new $.Subject,clicked$:new $.Subject};constructor(e,t){this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=t.loadTimeout,this.initTimeout=t.initTimeout}init(e,t,n){this.actions=e,this.adsState=t,this.playerState=n}loadAdman=e=>new Promise((t,n)=>{let o;const l=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?t():n()};$.addScript(I3,e,this.loadTimeout).then(()=>{window.AdmanHTML?t():(window.admanAsyncInit=l,o=window.setTimeout(l,this.initTimeout))}).catch(()=>{n()})});onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:t,height:n,isFullscreen:o,isAutoplay:l,adsContainer:s,adsVideoElement:r,slotId:a,params:c={},duration:f,previewParam:h}=e;let v;const g=this.playerState&&it(this.playerState.vsid);g&&(v=parseInt(g,36));const b={dl:encodeURIComponent(window.location.href),autoplay:l,player_width:t,player_height:n,puid10:V3(t,n),puid11:o?0:1,preview:h,...v?{request_id:v}:{},duration:f,...c},A={slot:a,wrapper:s,videoEl:r,videoQuality:n,params:b,browser:{mobile:!1}},T=new window.AdmanHTML;T.setDebug(!1),T.onReady(this.onAdsReady),T.onStarted(this.onAdStarted),T.onPlayed(this.onAdPlayed),T.onPaused(this.onAdPaused),T.adMidrollPoint(this.onAdMidrollPoint),T.onClosed(this.onAdClosed),T.onSkipped(this.onAdSkipped),T.onClicked(this.onAdClicked),T.onTimeRemained(this.onAdTimeRemained),T.onCompleted(this.onAdCompleted),T.onError(this.onAdError),T.init(A),this.adman=T,this.videoElement=r,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(A)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}$.assertNonNullable(this.actions),$.assertNonNullable(this.adsState),$.assertNonNullable(this.playerState);const t=this.currentAdSection===un.Postroll;this.adsState.playbackState.set(Nt.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(){$.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=it(this.adsState.playbackState);e===Nt.PLAYING?this.pause():e===Nt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){this.log({message:`set volume ${e}`}),this.adman?.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){this.log({message:`set fullscreen ${e}`}),this.adman?.setFullscreen(e)}startPreroll(){$.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=un.Preroll,this.adman.start(un.Preroll)}startPostroll(){$.assertNonNullable(this.adman),$.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=un.Postroll,this.adman.start(un.Postroll)}onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()};onAdStarted=(e,t)=>{$.assertNonNullable(this.adsState),$.assertNonNullable(this.playerState),$.assertNonNullable(this.actions),this.log({message:`ad started, section: ${e}, banner: ${JSON.stringify(t)}`}),this.events.started$.next(e),t.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),it(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(t.duration),this.adsState.playbackState.set(Nt.PLAYING),this.adsState.canSkip.set(t.allowClose),this.adsState.secondsToWatchBeforeSkip.set(t.allowCloseDelay)};onAdTimeRemained=({currentTime:e})=>{$.assertNonNullable(this.adsState),this.adsState.position.set(e)};onAdPaused=()=>{$.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Nt.PAUSED)};onAdPlayed=()=>{$.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Nt.PLAYING)};onAdMidrollPoint=()=>{$.assertNonNullable(this.adman),$.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=un.Midroll,this.adman.start(un.Midroll)};onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()};onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()};onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()};onAdClicked=()=>{this.log({message:"ad clicked"}),this.videoElement?.pause(),this.events.clicked$.next()};onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)};play(){$.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){$.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){$.assertNonNullable(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,t){this.adman?.setPosition(Math.floor(e),Math.floor(t))}destroy(){this.log({message:"destroy"}),this.adman?.destroy()}}const M3=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 N3{oneLineRegExp=/\r\n|\n|\r/;twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/;parse(e){const t=[],n=e.split(this.twoLinesRegExp);for(const o of n){const l={startTime:0,endTime:0,texts:[],lang:""},s=o.split(this.oneLineRegExp);for(const r of s)if(!l.startTime&&!l.endTime){const a=new T1,{startTime:c,endTime:f}=a.parse(r);l.startTime=c,l.endTime=f}else if(r.trim()!==""){const a=new B3,{texts:c}=a.parse(r);l.texts=[...l.texts,...c]}(l.startTime||l.endTime)&&l.texts.length>0&&t.push(l)}return t}}class T1{timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/;timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`);parse(e){const t={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(t.startTime=this.calcTime(n[1],n[2],n[3],n[4]),t.endTime=this.calcTime(n[6],n[7],n[8],n[9])),t}parseTime(e){const t=this.timeRegExp.exec(e);return t?this.calcTime(t[1],t[2],t[3],t[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",t="0",n="0",o="0"){const l=Number(e)*60*60,s=Number(t)*60,r=Number(n),a=+`0.${o}`;return l+s+r+a}}class B3{letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/;parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](s){let r=0;const a=[];for(;r<s.length;){const c=["<",">"].reduce((f,h)=>{const v=s.indexOf(h,r);return f===-1||f>v?v:f},-1);if(c===-1){a.push(s.substring(r));break}a.push(s.substring(r,c)),r=c+1}return a}}),l=new T1;for(const s of o)l.isTime(s)?t.texts.push({type:"timestamp",value:l.parseTime(s)}):t.texts.push({type:"text",value:s});return t}}let gn,Xi,Vo=0,Io=!1;const R3=(i,e,t)=>{const n=i>=Vo,o=i<Vo,l=(c,f=0,h=0)=>c<f&&c<h,s=(c,f=0,h=0)=>c>=f&&c<=h,r=(c,f=0,h=0)=>c>f&&c>h,a=t.find(({lang:c})=>c===e.value)?.subtitles;if(Vo=i,o&&(Io=!1),$.isNonNullable(gn)&&s(i,gn.startTime,gn.endTime)&&gn.lang===e.value)return gn;if(!$.isNonNullable(Xi)&&a?.length&&!Io){const c=a.find(({startTime:f,endTime:h})=>s(i,f,h)||n&&l(i,f,h));Xi=c&&{...c,lang:e.value},gn=void 0,!$.isNonNullable(Xi)&&a[a.length-1].endTime<i&&(Io=!0);return}else{if(s(i,Xi?.startTime,Xi?.endTime))return gn=Xi,Xi=void 0,gn;(n&&r(i,Xi?.startTime,Xi?.endTime)||o&&l(i,Xi?.startTime,Xi?.endTime))&&(Xi=void 0)}},zo={ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",en:"English",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F (\u0442\u0430\u0440\u0430\u0448\u043A\u0435\u0432i\u0446\u0430)",es:"Espa\xF1ol",fi:"Suomi",de:"Deutsch",it:"Italiano",bg:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",hr:"Hrvatski",hu:"Magyar",sr:"\u0421\u0440\u043F\u0441\u043A\u0438","pt-PT":"Portugu\xEAs",el:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",pl:"Polski",fr:"Fran\xE7ais",ko:"\uD55C\uAD6D\uC5B4","zh-CN":"\u6C49\u8BED",lt:"Lietuvi\u0173",ja:"\u65E5\u672C\u8A9E",cs:"\u010Ce\u0161tina",et:"Eesti",tt:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",ba:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",cv:"\u0427\u0103\u0432\u0430\u0448\u043B\u0430",sk:"Sloven\u010Dina",ro:"Rom\xE2n\u0103",no:"Norsk",lv:"Latvie\u0161u",az:"Az\u0259rbaycan dili",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",sv:"Svenska",nl:"Nederlands",tk:"T\xFCrkmen",ka:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",da:"Dansk",uz:"O\u2018zbek",th:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",id:"Bahasa Indonesia",tg:"\u0422\u043E\u04B7\u0438\u043A\u04E3",sl:"Sloven\u0161\u010Dina",bs:"Bosanski","pt-BR":"Portugu\xEAs brasileiro",fa:"\u0641\u0627\u0631\u0633\u06CC",vi:"Ti\u1EBFng Vi\u1EC7t",hi:"\u0939\u093F\u0928\u094D\u0926\u0940",si:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",bn:"\u09AC\u09BE\u0982\u09B2\u09BE",tl:"Tagalog",mn:"\u041C\u043E\u043D\u0433\u043E\u043B",my:"\u1017\u1019\u102C\u1005\u102C",tr:"T\xFCrk\xE7e",ne:"\u0928\u0947\u092A\u093E\u0932\u0940",ur:"\u0627\u0631\u062F\u0648",ky:"\u041A\u044B\u0440\u0433\u044B\u0437 \u0442\u0438\u043B\u0438",pa:"\u067E\u0646\u062C\u0627\u0628\u06CC",os:"\u0418\u0440\u043E\u043D",kn:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",sw:"Kiswahili",kk:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",he:"\u05E2\u05D1\u05E8\u05D9\u05EA",ab:"\u0410\u04A7\u0441\u0448\u04D9\u0430",eu:"Euskara",eo:"Esperanto"};let ho=null;class xn{constructor(e,t){if(!ho){const n=new pt.OneStat(e,t),o=new $.Subscription;ho=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n?.destroy(),o?.unsubscribe(),ho=null}})}}static getInstance(){return ho}}const O3=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:l,canDownload:s,callbacks:r,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:h,coreConfig:v,player:g,disabledControls:b,isInteractive:A,interactiveRanges:T,replayInteractive:I,hasInteractiveBranches:V,playPrevChapterDisabledTooltip:E,additionalButtons:M})=>{const ie={...v,configName:[...v.configName??[],"ui"],isAudioDisabled:l,live:{...v.live??{},isLiveCatchUpMode:!!n}},Y=h,P=g||new ot.Player(ie),F=new $.Logger,J=new z3(F,{loadTimeout:Y.ads.loadTimeout,initTimeout:Y.ads.initTimeout}),le=xn.getInstance(),ne=Do.getInstance(),ue=a?.pictureInPictureApi,ee=a?.annotationsApi,B=F.createComponentLog("Store");let _,x,ae={};const ze=$.getCurrentBrowser(),se=le?vt(le.oneStat.vsid$):ln(void 0),ge=Fe(io()),Se=ue?.info.isActive$??new $.ValueSubject(!1),G=ue?.info.type,L=Fe(0),re=Fe([]),Q=$.merge(P.events.fatalError$,P.events.managedError$).subscribe(S=>re.update(ce=>[...ce,S])),Pe=ln(!1,S=>{const ce=P.events.fatalError$.subscribe(()=>S(!0));return()=>ce.unsubscribe()}),R=async S=>{const ce=Object.values($.InterfaceLanguage).includes(S);if(Y.downloadVKLanguages&&(ce&&Y.updateBuiltinLanguages||!rl(S))){let Oe;try{Oe=await $.loadVKLangPack(S,$1,eu)}catch(Qe){le?.oneStat?.logError({errorType:"VKLangPack",fatal:!1}),ne?.report(Qe,{errorType:"VKLangPack",fatal:!1})}Oe&&(sl({language:S,pack:Oe,fallback:Y.defaultLanguage}),X.set(S))}rl(S)&&X.set(S)},X=Fe(i);R(i);const Ve=(S,ce)=>{const Le=it(X);return Aa(Le,S,ce,Y.defaultLanguage)},ke=Fe(Be.Thumb),be=Kt([Pe,ke],([S,ce])=>S?Be.Crashed:ce),Ce=(()=>{const S=Fe(new Set(b));return{...S,add:ce=>{S.update(Le=>new Set([...Le].concat(ce)))},remove:ce=>{S.update(Le=>{const Oe=[...Le];return new Set(Array.isArray(ce)?Oe.filter(Qe=>!ce.includes(Qe)):Oe.filter(Qe=>Qe!==ce))})},includes:ce=>{const Le=it(S);return Array.isArray(ce)?ce.every(Oe=>Le.has(Oe)):Le.has(ce)}}})();B({message:"create store"});const Te=S=>{B({message:`init video, config: ${JSON.stringify(S)}`}),A?S.container.append(P.experimental.element$.getValue()):P.initVideo(S),S.subtitles&&P.setExternalTextTracks(S.subtitles),_=S},Z=new $.Subject,W=S=>Z.next(S),We=new $.Subject,Ge=new $.Subject,xe=new $.Subject,De={actionRewind$:We,actionSeek$:Ge,inPiP$:Se,inFullscreen$:new $.Observable(S=>ge.subscribe(ce=>S.next(ce))),actionSetSubtitle$:xe,nextMovie$:Z};if(le){const{oneStat:S,statSubscription:ce}=le;ce.add(S.attachTo(P)),ce.add(S.attachToUi(De)),ce.add(S.attachToAds(J.events)),S.authorize(o).catch(Le=>{B({message:`onestat auth error ${String(Le)}`})})}if(ne){const S=new $.Subscription,ce=(Le,Oe)=>S.add(Le.subscribe(Oe));if(ce(P.events.managedError$,Le=>{ne.logIError(Le)}),ce(P.events.fatalError$,Le=>{ne.logIError(Le,!0)}),le){const{oneStat:Le}=le;ce(Le.experimental.error$,Oe=>{ne.logIError(Oe)})}ne.sentrySubscription.add(S)}const Me=()=>{$.isIOS()&&x&&Eu(x)},dt=new $.Subscription().add(P.experimental.element$.subscribe(S=>{S&&(x=S,S.classList.add("player-media"),vo(ue)&&ue.updateVideoElement(),A&&S.setAttribute("pip","false"))})).add(P.events.ended$.subscribe(()=>{Me(),r?.onEnded?.()})).add(P.events.started$.subscribe(async()=>{vo(ue)&&await ue?.revealPictureInPicture();const S=P.info.muted$.getValue();r?.onStarted?.(),ae.onStarted?.(S)})).add(P.events.willSeek$.subscribe(({from:S,to:ce})=>{r?.onSeek?.(S,ce)})).add(P.info.position$.subscribe(S=>{const ce=P.info.duration$.getValue();r?.onTimeupdate?.(ce,S),J.setPosition(S,ce)})).add(P.events.fatalError$.subscribe(()=>{r?.onCrashed?.()})).add(P.info.is3DVideo$.subscribe(S=>{Et.ui.is3DVideo.set(S)})).add(P.info.isEnded$.subscribe(S=>{A&&(S?(it(Po)&&Ce.add(Jn),Ce.add(ht.PLAY_BUTTON)):Ce.remove(ht.PLAY_BUTTON))})).add(P.info.liveTime$.subscribe(S=>{r?.onLiveTime?.(S)})),st=new $.Subscription,Ne=()=>{st.add(P.events.log$.subscribe(S=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${S.component}`,S.message)})).add(F.log$.subscribe(S=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${S.component}.`,S.message)}))},Re=()=>{st.unsubscribe()},Qt=(S,ce)=>{P.startCameraManualRotation(S,ce)},me=(S=!1)=>{P.stopCameraManualRotation(S)},at=(S,ce,Le)=>{P.moveCameraFocusPX(S,ce,Le)},Je=()=>{P.holdCamera()},$e=()=>{P.releaseCamera()},Ye=ln(P.info.position$.getValue(),S=>{let ce,Le;const Oe=()=>{const Qe=P.info.playbackState$.getValue(),Gt=P.info.isLive$.getValue(),gi=P.info.duration$.getValue(),Yt=P.info.position$.getValue();if([ot.PlaybackState.PLAYING,ot.PlaybackState.PAUSED].includes(Qe)){const pn=Gt?Yt-gi:P.getExactTime();pn!==Le&&S(pn),Le=pn}ce=requestAnimationFrame(Oe)};return Oe(),()=>cancelAnimationFrame(ce)}),et=vt(Se),lt=vt(P.info.playbackState$),ft=vt(P.info.currentBuffer$),Pt=vt(P.info.isEnded$),nt=vt(P.info.isLive$),Ut=Y.features.playbackRate?vt(P.info.canChangePlaybackSpeed$):ln(!1),Ct=vt(P.info.liveBufferTime$),tt=vt(P.info.volume$),xt=vt(P.info.muted$),mt=ga(P.info.autoQualityLimits$.pipe($.map(({max:S})=>S!==void 0)),P.info.autoQualityLimits$.getValue()?.max!==void 0),Ze=vt(P.info.autoQualityLimitingAvailable$),Tt=vt(P.info.availableQualities$),rt=vt(P.info.availableQualitiesFps$),$t=vt(P.info.chromecastState$),de=vt(P.info.chromecastDeviceName$),ye=vt(P.info.currentFormat$),Ie=vt(P.info.throughputEstimation$),St=vt(P.info.videoBitrate$),ri=vt(P.info.intrinsicVideoSize$),Ee=vt(P.info.duration$),Ai=vt(P.info.isAudioAvailable$);let Vt=null;const ei=P.info.isBuffering$,Ei=ln(ei.getValue(),S=>{const ce=ei.subscribe(Le=>{Le&&Vt===null?Vt=window.setTimeout(()=>{S(ei.getValue()),Vt=null},Y.loaderDelay):S(Le)});return()=>{ce.unsubscribe(),Vt&&clearTimeout(Vt)}}),Ot=()=>{Vt&&clearTimeout(Vt),Vt=null},ai=Kt([Ee,nt],([S,ce])=>ce?-S:S),xi=Kt([lt],([S])=>S===ot.PlaybackState.PLAYING),Ri=vt(P.info.atLiveEdge$),Wt=vt(P.info.atLiveDurationEdge$),Oi=vt(P.info.position$),Li=Kt([Oi,Ee],([S,ce])=>isFinite(S)&&isFinite(ce)&&!!ce),$i=Kt([$t],([S])=>S===ot.ChromecastState.CONNECTED),qt=Fe(void 0),bi=vt(P.info.isAutoQualityEnabled$,S=>S&&qt.set(void 0)),Vi=vt(P.info.currentQuality$,()=>qt.set(void 0)),_i=Kt([qt,Vi],([S,ce])=>S??ce),Di=Kt([Tt,rt,bi,_i,ye],([S,ce,Le,Oe,Qe])=>{const Gt=[];Qe!==ot.VideoFormat.MPEG&&Gt.push({value:Dn.AUTO,displayValue:Ve("auto_quality_option"),selected:Le});const gi=S.filter(Yt=>Yt!==$.VideoQuality.INVARIANT);for(const Yt of gi){const pn=ce[Yt],ro=Yt===$.VideoQuality.INVARIANT?Ve("auto_quality_option"):Yt;Gt.push({value:Yt,displayValue:`${ro}${pn?M3(pn):""}`,selected:Le?!1:Yt===Oe})}return Gt}),ti=vt(P.info.currentPlaybackRate$),ui=Kt([ti,Ri,Wt],([S,ce,Le])=>{const Oe=Le||A?1:Y.controls.playbackRateMin,Qe=ce?1:Y.controls.playbackRateMax,Gt=Y.controls.playbackRateStep,gi=[];for(let Yt=Oe;Yt<=Qe;Yt+=Gt)gi.push({value:Yt,displayValue:Yt===1?Ve("playback_rate_1"):Ve("playback_rate",{multiplier:Yt.toString(10)}),selected:S===Yt});return gi}),wi=Y.features.subtitles?vt(P.info.availableTextTracks$):ln([]),ki=Kt([wi],([S],ce)=>{const Le=[],Oe=[];for(const Qe of S)Qe.url&&Le.push(L3(Qe.url));Promise.allSettled(Le).then(Qe=>{for(const[Gt,gi]of Qe.entries())gi.status==="fulfilled"&&gi.value.text().then(Yt=>{const pn=new N3,ro=S[Gt].language,L1=!!S[Gt].isAuto,xo=pn.parse(Yt);ro&&xo&&Oe.push({lang:ro,subtitles:xo,isAuto:L1}),Gt===Qe.length-1&&ce(Oe)})})}),bt={displayValue:Ve("subtitles_off"),value:"off"},Dt=Fe({...bt}),yi=Kt([ki,Dt,ki],([S,ce])=>{if(S?.length>0){const Le=[{...bt,selected:ce?.value===bt.value}];for(const{lang:Oe,isAuto:Qe}of S)zo[Oe]&&Le.push({displayValue:Qe?Ve("subtitles_auto",{language:zo[Oe]}):zo[Oe],value:Oe,selected:ce?.value===Oe,isAuto:Qe});return Le}else return[]}),ii=Kt([Ye,Dt,ki],([S,ce,Le])=>{if(ce&&ce.value!==bt.value)return R3(S,ce,Le)}),Hi=Kt([ii],([S])=>S?.texts?S.texts:[]),Fi=Fe(!0),Pi=Kt([ft,ai,Oi,Ct],([S,ce,Le,Oe])=>{const Qe=S?.end??0;if(!Oe)return Qe/ce;const gi=-Le+Oe-ce;return(Qe-gi)/ce}),Ii=vt(P.info.availableSources$),ni=Kt([Ii],([S])=>Object.keys(S?.[ot.VideoFormat.MPEG]||{}).length>0),ci=()=>{const S=Object.keys(P.info.availableSources$?.getValue()?.[ot.VideoFormat.MPEG]||{}),ce=$.getHighestQuality(S)||$.VideoQuality.Q_144P;return _.sources[ot.VideoFormat.MPEG]?.[ce]},zi=()=>{const S=ci();S?au(S,_?.meta?.title||"video"):B({message:"There is no URL for download video"})},fi=()=>{B({message:"toggle muted"});const S=P.info.muted$.getValue(),Oe=!(P.info.volume$.getValue()===0||S);oi(Oe)},Ci=(S,ce=S,Le=!1)=>{const Oe=!Le,Qe=P.info.muted$.getValue();B({message:`set volume, volume: ${S}, preferredVolume: ${ce}, internalCall: ${Oe}`}),P.setVolume(S),J.setVolume(S),Oe&&r?.onVolumeChange?.(S),ll(ce),Qe?(P.setMuted(!1),Oe&&r?.onUnmute?.(),So(!1)):!Qe&&S===0&&(P.setMuted(!0),Oe&&r?.onMute?.(),So(!0))},oi=(S,ce=!1)=>{const Le=!ce,Oe=P.info.volume$.getValue();if(B({message:`set muted, currentVolume: ${Oe}, mute: ${S}, internalCall: ${Le}`}),P.setMuted(S),J.setVolume(S?0:Oe),So(S),Le&&(S?r?.onMute?.():r?.onUnmute?.()),Oe===0){let Qe=ka()??Y.volumeDefault;Qe===0&&(Qe=Y.volumeMinRestore,ll(Qe)),P.setVolume(Qe),J.setVolume(Qe),Le&&r?.onVolumeChange?.(Qe)}},li=()=>{P.prepare()},Si=()=>{if($.assertNonNullable(Et),!it(Et.ui.controls.disabledControls$).has(ht.PLAY_BUTTON)){if(B({message:"toggle play"}),it(Et.playerPhase)===Be.Ads){J.togglePlay();return}if(P.info.playbackState$.getValue()!==ot.PlaybackState.PLAYING){if(P.info.isEnded$.getValue()){if(B({message:"toggle play, video ended, seek to 0"}),We.next(),Ge.next(pt.SeekAction.REWIND),A){I?.();return}P.seekTime(0)}B({message:"toggle play, call player.play"}),P.play(),r?.onPlay?.()}else B({message:"toggle play, call player.pause"}),P.pause(),r?.onPause?.()}},Ht=S=>{B({message:`set quality, quality: ${S}`}),P.setAutoQuality(S===Dn.AUTO),S!==Dn.AUTO?(uu(e,S),qt.set(S),P.setQuality(S)):ya()},jt=S=>{B({message:`set trafficSavingEnabled, value: ${S}`}),P.setAutoQualityLimits({max:S?Y.trafficSavingLimit:void 0}),du(S)},It=S=>{P.setPlaybackRate(S)},di=()=>{const S=it(ui),ce=S.findIndex(({selected:Oe})=>Oe);if(ce===S.length-1)return;const Le=S[ce+1];It(Le.value)},Ui=()=>{const S=it(ui),ce=S.findIndex(({selected:Oe})=>Oe);if(ce===0)return;const Le=S[ce-1];It(Le.value)},Ti=S=>{S&&S.value!==bt.value&&xe.next(S.isAuto?S.value+"_auto":S.value),Dt.set(S)},Mi=()=>{const S=it(yi),ce=it(Dt),Le=it(X);if(ce?.value===bt.value){const Oe=S.filter(Qe=>Qe.value!==bt.value).find(Qe=>Qe.value===Le)||S[1];Ti(Oe??{...bt})}else Ti({...bt,selected:!1})},Zt=(S,ce,Le=!0)=>{if(B({message:`seek to time, time: ${S}`}),Ge.next(ce),P.info.isLive$.getValue()){const Oe=P.info.duration$.getValue(),Qe=Math.min(0,Oe+S);P.seekTime(Qe,Le)}else{if(it(Po))return;P.seekTime(Jo(S),Le)}},Ni=S=>{B({message:`seek to episode start time: ${S}`}),Zt(S,pt.SeekAction.EPISODE,!0)},Wi=(S,ce)=>{B({message:`seek to percent, percent: ${S}`});const Le=Math.round(it(ai)*S);Zt(Le,ce,!1)},mi=S=>{B({message:`seek external, time: ${S}`}),Ge.next(pt.SeekAction.UNKNOWN),P.seekTime(P.info.isLive$.getValue()?-S:S)},zt=S=>{B({message:`set auto quality limitation. Max: ${S.max??"none"}. Min: ${S.min??"none"}`}),P.setAutoQualityLimits(S)},hi=S=>{B({message:`seek external to episode start time: ${S}`}),Zt(S,pt.SeekAction.EPISODE,!0)},Zi=S=>{B({message:`set playback rate to: ${S}`}),P.setPlaybackRate(S)},qi=Fe(void 0),pi=Fe(!1),At=S=>{B({message:`start scrubbing, progress: ${S}`}),pi.set(!0),Bi(S)},Bi=S=>{qi.set(S)};let fe,Ft;const Gi=()=>{qi.set(void 0),pi.set(!1)},Ki=()=>{clearTimeout(Ft),clearTimeout(fe),fe=window.setTimeout(()=>{Gi()},500),x?.removeEventListener("seeked",Ki)},Qi=S=>{B({message:`complete scrubbing, progress: ${S}`}),Wi(S,pt.SeekAction.SLIDER),it(Et.ui.isMobile)&&it(Et.state.currentFormat$)===ot.VideoFormat.HLS?(x?.addEventListener("seeked",Ki),Ft=window.setTimeout(()=>{Ki()},300)):Gi()},yn=Kt([Ye,ai,qi],([S,ce,Le],Oe)=>{Oe($.isNonNullable(Le)?Le*ce:S)}),dn=Fe({width:0,height:0}),mn=Kt([dn],([{width:S}],ce)=>{const Le=Ff(S);ce(Le)}),an=Fe(!1),K=Kt([mn,an],([S,ce])=>ce?M.filter(Le=>!Le.hideOnMobile):M.filter(Le=>!Le.hideOnDesktopGridTypes?.includes(S))),kt=Kt([an,Pe],([S,ce],Le)=>{Le(S&&ce)}),Pn=()=>{Ge.next(pt.SeekAction.LIVE),B({message:"switch to active live"}),P.seekTime(0),P.info.playbackState$.getValue()!==ot.PlaybackState.PLAYING&&Et.actions.internal.togglePlay()},Cn=()=>J.skip(),Sn=(S=!0)=>{$.assertNonNullable(Et),B({message:`switch from ads to video, callPlay: ${S}`}),ke.set(Be.Video),S&&P.play()},Wn=()=>{$.assertNonNullable(Et),B({message:"switch from video to ads"}),Et.actions.internal.pause(),Me(),ke.set(Be.Ads)},qn=S=>{$.assertNonNullable(Et);const ce=S?Be.WaitingLive:Be.Thumb;ke.set(ce)},jn=S=>{$.assertNonNullable(Et);const ce=S?Be.WaitingRecord:Be.Thumb;ke.set(ce)},Zn=()=>($.assertNonNullable(Et),su(P,_,Et)),Gn=()=>($.assertNonNullable(Et),ru(P,_,Et)),Yn=()=>x,Kn=()=>{B({message:"toggle chromecast"}),P.toggleChromecast()},Vn=S=>{$.assertNonNullable(Et);const ce=!S;if(it(Et.playerPhase)===Be.Ads){B({message:`pause ads, internalCall: ${ce}`}),J.pause();return}B({message:`pause video, internalCall: ${ce}`}),ce&&r?.onPause?.(),P.pause()},Qn=S=>{$.assertNonNullable(Et);const ce=!S;if(it(Et.playerPhase)===Be.Ads){B({message:`play ads, internalCall: ${ce}`}),J.play();return}B({message:`play video, internalCall: ${ce}`}),ce&&r?.onPlay?.(),P.play()},In=(S,ce)=>{$.assertNonNullable(Et),B({message:`first start, show ads: ${S}, internalCall: ${!ce}`}),S?ke.set(Be.Ads):(ke.set(Be.Video),ce?P.play():Et.actions.internal.togglePlay())},Tn=()=>(B({message:"getting time codes"}),c),q=()=>{const S=Tn();if(!S||[0,1].includes(S.length))return;const ce=P.info.position$.getValue();return S.find(Le=>Le.time>ce)},Xt=S=>{let ce=S;ce||(ce=q()),ce&&(B({message:"seek to next episode"}),Zt(ce.time,pt.SeekAction.EPISODE,!0))},te=()=>{const S=Tn();if(!S||[0,1].includes(S.length))return;const ce=P.info.position$.getValue(),Le=S.findIndex(Qe=>Qe.time>ce),Oe=Le===-1?S.length-2:Le-2;if(!(Oe<0))return S[Oe]},nn=S=>{let ce=S;ce||(ce=te()),ce&&(B({message:"seek to prev episode"}),Zt(ce.time,pt.SeekAction.EPISODE,!0))},ut=()=>(B({message:"getting preview thumbs data"}),f),Jt=async()=>{ue?.isActive()?await ue?.remove():await ue?.request()},hn=(S=-90)=>{L.update(ce=>ce+S)},on=Fe(T),so=Kt([on],([S=[]])=>{const ce=[];for(let Le=0;Le<S.length;Le++){const{range:[Oe,Qe],subjects:Gt}=S[Le];Le===0&&Oe!==0&&ce.push({time:0,text:""}),ce.push({time:Oe/1e3,text:"",interactive:!0,completed:!Gt.length}),Qe!==1/0&&ce.push({time:Qe/1e3,text:"",interactive:!1,completed:!Gt.length})}return ce}),Xn=S=>{const ce=it(on);on.set(ce.map(Le=>({...Le,subjects:Le.subjects.filter(Oe=>Oe!==S)})))},Xo=Fe(!1),Po=Kt([Oi,on,Xo],([S,ce,Le])=>{if(!A)return!1;if(Le)return!0;const Oe=S*1e3,Qe=ce?.find(({range:[Gt,gi],subjects:Yt})=>Gt<Oe&&Oe<gi&&Yt.length);return Qe&&it(pi)&&Gi(),!!Qe}),Jo=S=>{if(!A)return S;const ce=it(so),Le=it(ai),Qe=it(Oi)/Le,Gt=ce.find(gi=>gi.interactive&&!gi.completed&&gi.time>Qe);return typeof Gt?.time=="number"?Math.min(S,Gt.time-.05):S},E1=()=>{clearTimeout(Ft),clearTimeout(fe),dt.unsubscribe(),st.unsubscribe(),P.destroy(),J.destroy(),le?.destroy(),ne?.destroy(),Q.unsubscribe()},Et={interfaceLanguage$:X,initVideo:Te,videoId:e,isClip:t,playerPhase:be,vsid:se,state:{positionExact$:Ye,positionWithScrubbing$:yn,duration$:ai,playbackState$:lt,isPlaying$:xi,isLoaderVisible:Ei,bufferedProgress$:Pi,isLive$:nt,canChangePlaybackSpeed$:Ut,isActiveLive$:Ri,isOldestAvailableLive$:Wt,isRewindableLive$:Li,isEnded$:Pt,muted$:xt,volume$:tt,trafficSavingEnabled$:mt,autoQualityLimitingAvailable$:Ze,currentQuality$:_i,isAutoQualityEnabled$:bi,availableQualities$:Di,currentPlaybackRate$:ti,availablePlaybackRates$:ui,currentSubtitle$:Dt,availableSubtitlesList$:yi,currentSubtitleCaptions$:Hi,isAutoSubtitleCaptionVisible$:Fi,chromecastState$:$t,chromecastDeviceName$:de,chromecastConnected$:$i,currentFormat$:ye,throughputEstimation$:Ie,videoBitrate$:St,videoSize$:ri,errorLog$:re,crashed$:Pe,isAudioAvailable$:Ai,isAudioDisabled:!!l,canDownload:Y.features.download&&!!s,availableSources$:Ii,hasMpegSources$:ni,isInteractive:A,isInteractiveGraphEnabled:Y.features.interactiveGraph,isSeekToInteractiveEnable:Y.features.seekToInteractive,isPlayPrevChapterEnabled:Y.features.interactivePlayPrevChapter,interactiveEpisodes$:so,isInteractiveTime$:Po,graphIsOpened$:Fe(!1),isInteractiveExpectation$:Xo,hasInteractiveBranches:V,playPrevChapterDisabledTooltip:E},ui:{controlsVisible:Fe(!1),touched:Fe(!1),controls:{tooltipPointerOffsetX:Fe(0),prevButton:Fe(void 0),playButton:Fe(void 0),replayButton:Fe(void 0),nextButton:Fe(void 0),playPrevChapterButton:Fe(void 0),seekToInteractiveButton:Fe(void 0),interactiveGraphButton:Fe(void 0),liveButton:Fe(void 0),time:Fe(void 0),episodes:Fe(void 0),volume:Fe(void 0),subtitles:Fe(void 0),settings:Fe(void 0),chromecast:Fe(void 0),fullscreen:Fe(void 0),vkLogo:Fe(void 0),additionalButtons:M.length?M.reduce(S=>[...S,Fe(void 0)],[]):[],disabledControls$:Ce},modals:{hotKeyMap:{show:Fe(!1),data:Fe({title:"",closeBtnText:"",groups:[]})}},isFullscreen:ge,rotateAlpha:L,isAutoplay:Fe(!1),contextMenuVisible:Fe(!1),debugPanelVisible:Fe(!1),playerSize:dn,isMobile:an,mobileNotReportControlHidden$:kt,mobileUnmuteButtonExpanded:Fe(!1),mobileUnmuteButtonVisible:Fe(!1),icon3DVideoVisible:Fe(!1),settingsMenuVisible:Fe(!1),scrubbingInProgress:pi,is3DVideo:Fe(!1),isPictureInPictureActive$:et,pictureInPictureType$:ln(G),clientInfo$:ln(ze),currentGridType$:mn,additionalButtons$:K,interactiveHideMobileControls:Fe(!1)},ads:{position:Fe(0),duration:Fe(0),playbackState:Fe(Nt.INACTIVE),canSkip:Fe(!1),secondsToWatchBeforeSkip:Fe(0),postrollPassed:Fe(!1)},webApi:{pictureInPictureApi:ue,annotationsApi:ee},actions:{internal:{preload:li,firstStart:S=>In(S,!1),pause:()=>Vn(!1),togglePlay:Si,toggleMuted:fi,setVolume:Ci,setQuality:Ht,setTrafficSavingEnabled:S=>jt(S),setPlaybackRate:It,incrementPlaybackRate:di,decrementPlaybackRate:Ui,setSubtitle:Ti,toggleSubtitle:Mi,togglePictureInPicture:Jt,startScrubbing:At,progressScrubbing:Bi,completeScrubbing:Qi,toggleChromecast:Kn,switchToActiveLive:Pn,switchFromAdsToVideo:Sn,switchFromVideoToAds:Wn,skipAd:Cn,setWaitingLive:qn,setWaitingRecord:jn,getDebugTextData:Zn,getDebugPanelData:Gn,getVideoElement:Yn,seekTime:(S,ce,Le)=>Zt(S,ce,Le),clearDelayedBufferingCheckTimeout:Ot,seekEpisodeStartTime:Ni,seekToPercent:Wi,getNextEpisode:q,seekToNextEpisode:Xt,getPrevEpisode:te,seekToPrevEpisode:nn,startLogging:Ne,stopLogging:Re,startCameraManualRotation:Qt,stopCameraManualRotation:me,moveCameraFocusPX:at,holdCamera:Je,releaseCamera:$e,getVideoEpisodes:Tn,getPreviewThumbsData:ut,downloadVideo:zi,addLanguage:sl,setLanguage:R,nextMovie:W,videoRotate:hn,completeInteractiveRange:Xn,correctSeekTimeToInteractive:Jo,replayInteractive:I},external:{firstStart:S=>In(S,!0),play:()=>Qn(!0),pause:()=>Vn(!0),seekTime:S=>mi(S),seekEpisodeStartTime:S=>hi(S),setPlaybackRate:S=>Zi(S),setAutoQualityLimits:S=>zt(S),setMuted:S=>oi(S,!0),setVolume:S=>Ci(S,S,!0)}},callbacks:r,setUiCallbacks:S=>{ae={...S}},getAdmanWrapper:()=>J,getLogger:()=>F,destroy:E1};return Et};class D3{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:t="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:t,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",t=>null],["seekbackward",t=>null],["seekforward",t=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[t,n]of e)try{navigator.mediaSession.setActionHandler(t,n)}catch{throw new Error(`The media session action "${t}" is not supported yet.`)}}}const H3=460,F3=280;class A1{playerDomElement;playerParentShadowRoot;playerDummyElement;svelteContext;pipWindow;info={isActive$:new $.ValueSubject(!1),type:fn.DocumentPictureInPicture};isSupported(){const e=$.getCurrentBrowser().browser===$.CurrentClientBrowser.Yandex,{isEmbed:t}=$.detectEmbed();return"documentPictureInPicture"in window&&!e&&!t}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,t){this.playerDomElement=e,this.playerParentShadowRoot=t}setContext(e){this.svelteContext=e}async request(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:H3,height:F3,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const e=[...this.playerParentShadowRoot.styleSheets].map(l=>[...l.cssRules].map(s=>s.cssText).join(" ")).filter(Boolean).join(`
|
|
51
|
-
`),t=document.createElement("style");t.textContent=e;const n=this.createStretchedContainer(),o=n.attachShadow({mode:"open"});o.append(t),o.append(this.playerDomElement),this.playerDummyElement=new Ma({target:this.playerParentShadowRoot,context:this.svelteContext}),this.pipWindow?.document.body.append(n),this.info.isActive$.next(!0),this.pipWindow?.addEventListener("unload",l=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})}async remove(){return new Promise(e=>{documentPictureInPicture.window?.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function U3(i){return i instanceof A1}class W3{static getLatestSupportedVersion(){const e=new Wo,t=new A1;if(t.isSupported())return t;if(e.isSupported())return e}}function ia(i,e){const t=new Set([...Object.keys(i),...Object.keys(e)]),n={};for(const o of t)n[o]=e[o]??i[o]??void 0;return n}const na="Inner error. Unexpectedly root annotation container null reference exception",q3="Annotation layer with such name already exists";class Mo extends Error{constructor(e){super(e),this.name="AnnotationError"}}class j3{rootAnnotationsContainer;layers=new Map;registryRootContainer(e){this.detach(),this.rootAnnotationsContainer=e}addLayer(e){if(!this.rootAnnotationsContainer)throw new Mo(na);if(this.layers.has(e))throw new Mo(q3);const t=document.createElement("div");return t.className="annotations-layer",t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.left="0",t.style.top="0",this.rootAnnotationsContainer.append(t),this.layers.set(e,t),t}getLayer(e){return this.layers.get(e)}removeLayer(e){const t=this.layers.get(e);t&&this.layers.delete(e)&&t.remove()}clearLayer(e){const t=this.layers.get(e);for(;t?.lastChild;)t.lastChild.remove()}detach(){for(const e of this.layers.values())e.remove()}reattach(){if(!this.rootAnnotationsContainer)throw new Mo(na);for(const e of this.layers.values())this.rootAnnotationsContainer.append(e)}destroy(){this.detach(),this.layers.clear(),this.rootAnnotationsContainer=void 0}}const Z3={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:$.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:$.isMobile(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class G3 extends HTMLElement{svelteStubComponent;svelteRootComponent;store;statistics;sentry;_shadowRoot;playerContainer;uiConfig;coreConfig;interactiveController;interactiveContainer;graphMadePause;currentPlayingVideoIndex=0;needToRepeatPlaylist=!1;videoConfig=void 0;pictureInPictureApi=void 0;mediaSessionApi=void 0;unsubscribePlayerPhaseSubscription=void 0;logger;log;subscription;annotationsApi=void 0;createPlayerTimeout;interactiveProjectInfo=void 0;isInited=!1;constructor(){super(),this._shadowRoot=this.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.logger=new $.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new $.Subscription,this.graphMadePause=!1,window?.videoPlayerConfig?.debugLogs&&this.subscription.add(this.logger.log$.subscribe(e=>{console.log("%c player web component ","background:#77dd77;",`${e.component}`,e.message)}))}connectedCallback(){if(this.isInited)return;const e=this.getAttribute("stub-title")??void 0,t=this.getAttribute("stub-thumb-url")??void 0;this.svelteStubComponent=new T3({target:this.playerContainer,props:{title:e,thumbUrl:t}})}disconnectedCallback(){this.annotationsApi?.destroy(),this.svelteRootComponent?.$destroy(),this.svelteStubComponent?.$destroy(),this.subscription.unsubscribe(),this.unsubscribePlayerPhaseSubscription?.(),this.interactiveController?.destroy()}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){return this.store?.ui.controls.disabledControls$?.includes(e)||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,t={},n){if(!this.videoConfig)return;const{albumId:o,statPlace:l,statUserSalt:s,statAuthToken:r,statTrackCode:a,refreshStatAuthToken:c,preload:f,autoplay:h,volume:v,muted:g,fromTime:b,canRewindLive:A,supportLink:T,showAds:I,adsSlotId:V,adsParams:E={},adsPreviewParam:M,interfaceLanguage:ie,logoClickable:Y,logoHidden:P,isMobile:F,isAudioDisabled:J,isLiveCatchUpMode:le,fullScreenTarget:ne,failoverHosts:ue,canDownload:ee,callbacks:B,interactiveData:_,showThumbTimer:x,additionalButtons:ae=[]}=ia(this.videoConfig,t),{sources:ze,title:se,thumbUrl:ge,videoLogoUrl:Se,unitedVideoId:G,isClip:L=!1,duration:re,adsParams:Q={},videoEpisodes:Pe,previewThumbsData:R,subtitles:X,live:Ve}=e,ke={...E,...Q},be=this.getNextVideoInfo(),Ce={sources:ze,title:se,thumbUrl:ge,subtitles:X,unitedVideoId:G,isClip:L,live:Ve,albumId:o,statPlace:l,autoplay:h,muted:g,volume:v,fromTime:b,canRewindLive:A,showAds:I,adsSlotId:V,adsParams:ke,adsPreviewParam:M,duration:re,logoClickable:Y,logoHidden:P,isMobile:F,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:be.nextVideoTitle,endScreenVideoThumb:be.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},Te={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(Ce)}`});const Z=this.uiConfig.features.statistics&&!!G,W=this.videoConfig.videos[this.currentPlayingVideoIndex]?.unitedVideoId;Z&&new xn({movieId:G,albumId:o,place:l,trackCode:a,autoplay:(h&&!this.interactiveController)??!1,mobile:F,clip:L,...W&&this.interactiveController&&!this.interactiveProjectInfo&&{projectId:W}},{refreshAuthToken:c,userSalt:s,config:this.statistics.config,...this.interactiveProjectInfo&&{vsid:this.interactiveProjectInfo.vsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new Do(this.uiConfig.sentry,{version:wo,env:ou},{movieId:G,albumId:o,place:l,autoplay:(h&&!this.interactiveController)??!1,mobile:F,clip:L}),this.interactiveProjectInfo||(this.interactiveProjectInfo={id:W,vsid:xn.getInstance()?.oneStat.vsid$.getValue()}),this.statistics={...this.statistics,...xn.getInstance()},this.sentry={...this.sentry,...Do.getInstance()};const Ge=!!_,xe=this.interactiveController?.getInteractiveRanges(),De=[];let Me;if(Ge&&this.interactiveController){const st=this.interactiveController.state;st.isInitialChapter$.getValue()&&De.push(ht.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||De.push(ht.SEEK_TO_INTERACTIVE_BUTTON),st.hasPrevChapter$.getValue()||(st.isInitialChapter$.getValue()?Me="tooltip_interactive_go_back_disabled_first":st.lastChapterChangeWasInitiatedByInteractive$.getValue()?Me="tooltip_interactive_go_back_disabled":Me="tooltip_interactive_go_back_disabled_limit",De.push(ht.PLAY_PREV_CHAPTER_BUTTON))}const dt=()=>{const st=n?.info.isEnded$.getValue()&&this.interactiveController?.state.isEndChapter$.getValue();B.onReplayInteractiveVideo&&!st?B.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=O3({player:n,interfaceLanguage:ie,videoId:G,isClip:L,isLiveCatchUpMode:le,isAudioDisabled:J,statAuthToken:r,callbacks:B,webApi:Te,videoEpisodes:Pe,previewThumbsData:R,canDownload:ee,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:De,isInteractive:Ge,interactiveRanges:xe,replayInteractive:dt,playPrevChapterDisabledTooltip:Me,hasInteractiveBranches:!!this.interactiveController?.getChapterBranches()?.length,additionalButtons:this.uiConfig.features.additionalButtons?ae:[]}),this.subscription.add(this.store.state.currentFormat$.subscribe(st=>B?.onCurrentFormatChanged?.(st))),this.subscription.add(this.store.state.throughputEstimation$.subscribe(st=>B?.onThroughputEstimationChanged?.(st))),this.subscription.add(this.store.state.videoBitrate$.subscribe(st=>B?.onVideoBitrateChanged?.(st))),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(st=>{const Ne=this.store?.ui.controls.disabledControls$;Ne&&st&&!Ne.includes(Oo)&&Ne.add(Oo)})),this.videoConfig.isMobile&&this.interactiveController&&this.subscription.add(this.store.ui.controlsVisible.subscribe(st=>{this.interactiveController?.setDisabledControls(st)})),this.initMediaSession(),this.interactiveController&&Z&&this.initInteractivesStatistics(),this.svelteRootComponent=new _3({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:ze,store:this.store,uiConfig:this.uiConfig,title:se,thumbUrl:ge,videoLogoUrl:Se,subtitles:X,live:Ve,preload:f,autoplay:h,muted:g,volume:v,fromTime:b,canRewindLive:A,supportLink:T,showAds:I,adsSlotId:V,adsParams:ke,adsPreviewParam:M,duration:re,logoClickable:Y,logoHidden:P,isMobile:F,failoverHosts:ue,fullScreenTarget:ne,showMiniTimer:x,outerContainerRef:this.playerContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:be.nextVideoTitle,endScreenVideoThumb:be.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist(),playPrevChapter:()=>this.playPrevChapter(),seekToInteractive:()=>this.seekToInteractive(),toggleGraph:()=>this.toggleGraph()}}),this.addPlayerInfoSubscriptions(),this.isInited||(this.isInited=!0,this.videoConfig?.callbacks?.onInited?.())}addPlayerInfoSubscriptions(){if(this.isInited)return;const e=this.store,t=this.videoConfig?.callbacks;t&&this.subscription.add(e.playerPhase.subscribe(o=>t.onPlayerPhaseChanged?.(o))).add(e.state.playbackState$.subscribe(o=>t.onPlaybackStateChanged?.(o))).add(e.state.isLive$.subscribe(o=>t.onIsLiveChanged?.(o))).add(e.state.isActiveLive$.subscribe(o=>t.onIsActiveLiveChanged?.(o))).add(e.state.isAudioAvailable$.subscribe(o=>t.onIsAudioAvailableChanged?.(o))).add(e.state.currentQuality$.subscribe(o=>t.onCurrentQualityChanged?.(o))).add(e.state.availableQualities$.subscribe(o=>t.onAvailableQualitiesChanged?.(o.map(({value:l})=>l).filter(l=>l!==Dn.AUTO)))).add(e.ui.isPictureInPictureActive$.subscribe(o=>o?t.onPiPEnter?.():t.onPiPExit?.()));const n=t?.uiInfo;n&&this.subscription.add(e.ui.controlsVisible.subscribe(o=>n.onControlsVisibleChanged?.(o))).add(e.ui.isMobile.subscribe(o=>n.onIsMobileChanged?.(o))).add(e.ui.playerSize.subscribe(o=>n.onPlayerSizeChanged?.(o))).add(e.ui.controls.prevButton.subscribe(o=>n.onPrevButtonChanged?.(o))).add(e.ui.controls.playButton.subscribe(o=>n.onPlayButtonChanged?.(o))).add(e.ui.controls.replayButton.subscribe(o=>n.onReplayButtonChanged?.(o))).add(e.ui.controls.nextButton.subscribe(o=>n.onNextButtonChanged?.(o))).add(e.ui.controls.playPrevChapterButton.subscribe(o=>n.onPlayPrevChapterChanged?.(o))).add(e.ui.controls.seekToInteractiveButton.subscribe(o=>n.onSeekToInteractiveButtonChanged?.(o))).add(e.ui.controls.interactiveGraphButton.subscribe(o=>n.onGraphButtonChanged?.(o))).add(e.ui.controls.liveButton.subscribe(o=>n.onLiveButtonChanged?.(o))).add(e.ui.controls.time.subscribe(o=>n.onTimeUpdateChanged?.(o))).add(e.ui.controls.episodes.subscribe(o=>n.onEpisodesChanged?.(o))).add(e.ui.controls.volume.subscribe(o=>n.onVolumeChanged?.(o))).add(e.ui.controls.subtitles.subscribe(o=>n.onSubtitlesChanged?.(o))).add(e.ui.controls.settings.subscribe(o=>n.onSettingsChanged?.(o))).add(e.ui.controls.fullscreen.subscribe(o=>n.onFullscreenChanged?.(o))).add(e.ui.controls.chromecast.subscribe(o=>n.onChromecastChanged?.(o))).add(e.ui.controls.vkLogo.subscribe(o=>n.onVkLogoChanged?.(o)))}playNextVideo(){this.videoConfig&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){this.videoConfig&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,t=!0){if(!this.videoConfig)return;const n=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!n){this.log({message:"no next video"});return}this.isInited&&$.isNonNullable(n.unitedVideoId)&&this.store.actions.internal.nextMovie(n.unitedVideoId),this.svelteRootComponent?.$destroy(),this.createPlayer(n,{autoplay:t,fromTime:0},e)}playPrevChapter(){this.interactiveController?.playPrevChapter()}seekToInteractive(){const e=this.interactiveController?.getNextInteractiveStartTime();typeof e=="number"&&this.seekTime(e/1e3)}toggleGraph(){if(!this.isInited)return;const e=this.store,{isEnded$:t,playbackState$:n,graphIsOpened$:o}=e.state,{disabledControls$:l}=e.ui.controls,s=it(t),r=it(n);it(o)?(o.set(!1),this.interactiveController?.toggleGraphView(!1),l.remove(ol),!s&&this.graphMadePause&&this.play()):(this.graphMadePause=r==="playing",o.set(!0),this.interactiveController?.toggleGraphView(!0),l.add(ol),!s&&this.graphMadePause&&this.pause())}async initInteractives(){if(this.videoConfig?.interactiveData)try{const{Interactives:e,EVENT_NAMES:t,CustomError:n}=await import("@vkontakte/videoplayer-interactive/esnext.cjs.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const o=this.store?.interfaceLanguage$,l=o?it(o):this.videoConfig.interfaceLanguage,s=this.videoConfig.videos[0];this.interactiveController=new e({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:l,graph:this.uiConfig.features.interactiveGraph,vkVideoLoader:this.videoConfig.interactiveData.videoLoader,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,disableControlsOnPause:!this.videoConfig.isMobile}),this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(a=>{if(!this.isInited)return;const c=this.store;a?c.ui.controls.disabledControls$.remove(ht.SEEK_TO_INTERACTIVE_BUTTON):c.ui.controls.disabledControls$.add(ht.SEEK_TO_INTERACTIVE_BUTTON)}));let r=!0;this.interactiveController.on(t.playerChanged,a=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...a.config,...s&&{title:s.title}};const c=r?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(a.player,c),r&&(r=!1)}),this.interactiveController.on(t.interactives,({type:a,subjectId:c,actionType:f})=>{if(this.store&&(a==="container-removed"&&this.store.actions.internal.completeInteractiveRange(c),a==="range-ended"&&(it(this.store.state.isInteractiveExpectation$)||this.store.ui.controls.disabledControls$.remove(Jn)),a==="action-execution"&&f==="expect"&&(this.store.ui.controls.disabledControls$.add(Jn),this.store.state.isInteractiveExpectation$.set(!0)),a==="action-choice"&&f==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(Jn)),a==="action-execution"&&f==="after-expect"&&(this.store.ui.controls.disabledControls$.remove(Jn),this.store.state.isInteractiveExpectation$.set(!1)),a==="action-choice-canceled")){const h=it(this.store.state.isPlaying$)||it(this.store.state.isInteractiveExpectation$);if(this.videoConfig?.isMobile&&h){this.store.ui.interactiveHideMobileControls.set(!0);return}this.videoConfig?.callbacks.onDisabledInteractiveClick?.()}}),this.videoConfig?.callbacks?.onInteractiveHistoryChanged&&this.subscription.add(this.interactiveController.state.history$.subscribe(a=>{a.length&&this.videoConfig?.callbacks?.onInteractiveHistoryChanged?.(a)})),this.interactiveController.on(t.errors,a=>{this.log({message:a.toString()})}),await this.interactiveController.initSeamless({source:this.videoConfig.interactiveData.manifest,initialChapter:this.videoConfig.interactiveData.initChapterId,visitedChapters:this.videoConfig.interactiveData.visitedChapters,videosInfo:this.videoConfig.interactiveData.videosInfo})}catch(e){this.log({message:e.message})}}async initInteractivesStatistics(){const{statSubscription:e,oneStat:t}=this.statistics;if(!(!e||!t||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:n}=await import("@vkontakte/videoplayer-interactive/esnext.cjs.js"),o={[n.GO_NEXT_BUTTON]:pt.InteractiveInterfaceClick.NEXT_BUTTON,[n.GO_NEXT_AREA]:pt.InteractiveInterfaceClick.NEXT_AREA,[n.WATCH_AGAIN]:pt.InteractiveInterfaceClick.WATCH_AGAIN,[n.OPEN_GRAPH]:pt.InteractiveInterfaceClick.GRAPH_SHOW,[n.CLOSE_GRAPH]:pt.InteractiveInterfaceClick.GRAPH_HIDE},{click$:l,nextMovie$:s}=this.interactiveController.getStatEvents(),r=new $.Subject;l.subscribe(a=>{a in o?r.next(o[a]):(t?.logError({errorType:"InteractiveVideosAction",fatal:!1}),this.sentry.report?.(new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),e.add(t.attachToInteractive({click$:r,nextMovie$:s}))}catch(n){t?.logError({errorType:"InteractiveVideos",fatal:!1}),this.sentry.report?.(n,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,t={}){if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=ia(Z3,$.cloneDeepWith(e,n=>n instanceof HTMLElement?n:void 0)),this.uiConfig=J1(t.ui??{}),this.coreConfig=t.core??{configName:[]},this.statistics={config:t.statistics??{}},this.sentry={config:this.uiConfig.sentry??{}},$.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=this.videoConfig.isMediaSessionEnabled??!0),$.isNonNullable(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=this.uiConfig.features.pip??this.videoConfig.isPictureInPictureEnabled??!0,this.uiConfig.features.dpip=this.uiConfig.features.dpip??this.videoConfig.isPictureInPictureEnabled??!0),this.videoConfig.isMobile=this.uiConfig.isMobile??this.videoConfig.isMobile,this.videoConfig.autoplay&&=this.uiConfig.features.autoplay,this.videoConfig.showAds=this.uiConfig.ads.enable??this.videoConfig.showAds,this.videoConfig.adsSlotId=this.uiConfig.ads.slot??this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=this.uiConfig.ads.preview??this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!(this.uiConfig.showLogo??!this.videoConfig.logoHidden),this.videoConfig.canRewindLive&&=this.uiConfig.features.liveRewind,this.videoConfig.supportLink=this.videoConfig.supportLink??this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=W3.getLatestSupportedVersion():this.pictureInPictureApi=new Wo),this.mediaSessionApi=this.uiConfig.features.mediaSession?new D3:void 0,this.annotationsApi=this.uiConfig.features.annotations?new j3:void 0,this.svelteStubComponent?.$destroy(),this.svelteRootComponent?.$destroy(),this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0,this.interactiveProjectInfo=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),U3(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const t=this.getNextVideoInfo();this.svelteRootComponent?.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:t.nextVideoTitle,endScreenVideoThumb:t.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){this.mediaSessionApi&&(this.unsubscribePlayerPhaseSubscription?.(),this.unsubscribePlayerPhaseSubscription=this.store?.playerPhase.subscribe(e=>{e===Be.Video?this.setupMediaSessionForVideo():e===Be.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}={...this.videoConfig.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",o=>this.seekTime(o.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:t}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",t=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(t)}catch(e){this.log({message:e.message})}}play(){this.isControlDisabled(ht.PLAY_BUTTON)||(this.log({message:"play"}),this.svelteRootComponent?.play())}pause(){this.log({message:"pause"}),this.svelteRootComponent?.pause()}stop(){if(!this.videoConfig)return;this.log({message:"stop"}),this.svelteStubComponent?.$destroy();const e=this.videoConfig.videos[0];e&&(this.svelteRootComponent?.$destroy(),this.createPlayer(e))}setMuted(e){this.log({message:`set muted, muted: ${e}`}),this.svelteRootComponent?.setMuted(e)}setVolume(e){this.log({message:`set volume, volume: ${e}`}),this.svelteRootComponent?.setVolume(e)}setRepeat(e){this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,this.svelteRootComponent?.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){this.isControlDisabled(ht.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),this.svelteRootComponent?.seekTime(e))}seekEpisodeStartTime(e){this.log({message:`seek episode start time, time: ${e}`}),this.svelteRootComponent?.seekEpisodeStartTime(e)}setPlaybackRate(e){this.log({message:`set playback rate to: ${e}`}),this.svelteRootComponent?.setPlaybackRate(e)}setAutoQualityLimits(e){this.log({message:`set auto quality limitation. Max: ${e.max??"none"}. Min: ${e.min??"none"}`}),this.svelteRootComponent?.setAutoQualityLimits(e)}addLanguage(e){this.store?.actions.internal.addLanguage(e)}async setLanguage(e){await this.store?.actions.internal.setLanguage(e)}setLiveStart(e){this.log({message:"live started"}),this.store?.actions.internal.setWaitingLive(!1),this.svelteRootComponent?.initVideo(e),this.play()}setWaitRecord(){this.log({message:"post live"}),this.store?.actions.internal.setWaitingRecord(!0)}setLiveEnd(e){this.log({message:"live ended"}),this.store?.actions.internal.setWaitingRecord(!1),this.svelteRootComponent?.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){return xn.getInstance()?.oneStat.getDeviceId()??void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const Y3=()=>{window.customElements.define("vk-video-player",G3)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return ot.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return ot.VideoQuality}});Object.defineProperty(exports,"InterfaceLanguage",{enumerable:!0,get:function(){return $.InterfaceLanguage}});Object.defineProperty(exports,"VKNumericLanguage",{enumerable:!0,get:function(){return $.VKNumericLanguage}});Object.defineProperty(exports,"loadVKLangPack",{enumerable:!0,get:function(){return $.loadVKLangPack}});exports.VERSION=wo;exports.registerPlayerWebComponent=Y3;
|
|
50
|
+
);--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg{pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}`)}function j3(i){let e,t,n;function o(l){i[54](l)}let s={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&&(s.videoContainer=i[33]),e=new L3({props:s}),Me.push(()=>Ye(e,"videoContainer",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[0]&1&&(a.store=l[0]),r[0]&2&&(a.title=l[1]),r[0]&4&&(a.thumbUrl=l[2]),r[0]&8&&(a.videoLogoUrl=l[3]),r[0]&16&&(a.interactiveContainer=l[4]),r[0]&32&&(a.live=l[5]),r[0]&64&&(a.autoplay=l[6]),r[0]&128&&(a.canRewindLive=l[7]),r[0]&256&&(a.showAds=l[8]),r[0]&512&&(a.adsSlotId=l[9]),r[0]&1024&&(a.adsParams=l[10]),r[0]&2048&&(a.adsPreviewParam=l[11]),r[0]&4096&&(a.duration=l[12]),r[0]&8192&&(a.logoClickable=l[13]),r[0]&16384&&(a.logoHidden=l[14]),r[0]&65536&&(a.showNextPrevButtons=l[16]),r[0]&131072&&(a.nextButtonActive=l[17]),r[0]&262144&&(a.prevButtonActive=l[18]),r[0]&524288&&(a.endScreenVideoTitle=l[19]),r[0]&1048576&&(a.endScreenVideoThumb=l[20]),r[0]&2097152&&(a.isOneVideoPlaylist=l[21]),r[0]&4194304&&(a.supportLink=l[22]),r[0]&8388608&&(a.outerContainerRef=l[23]),r[0]&16777216&&(a.fullScreenTarget=l[24]),r[0]&33554432&&(a.showMiniTimer=l[25]),r[1]&8&&(a.playerStarted=l[34]),r[0]&67108864&&(a.playNextVideo=l[26]),r[0]&134217728&&(a.playPrevVideo=l[27]),r[0]&268435456&&(a.repeatPlaylist=l[28]),r[0]&536870912&&(a.seekToInteractive=l[29]),r[0]&1073741824&&(a.toggleGraph=l[30]),r[1]&1&&(a.playPrevChapter=l[31]),!t&&r[1]&4&&(t=!0,a.videoContainer=l[33],Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function Z3(i){let e,t,n;function o(l){i[53](l)}let s={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&&(s.videoContainer=i[33]),e=new U3({props:s}),Me.push(()=>Ye(e,"videoContainer",o)),{c(){O(e.$$.fragment)},m(l,r){z(e,l,r),n=!0},p(l,r){const a={};r[0]&1&&(a.store=l[0]),r[0]&4&&(a.thumbUrl=l[2]),r[0]&8&&(a.videoLogoUrl=l[3]),r[0]&16&&(a.interactiveContainer=l[4]),r[0]&32&&(a.live=l[5]),r[0]&64&&(a.autoplay=l[6]),r[0]&128&&(a.canRewindLive=l[7]),r[0]&256&&(a.showAds=l[8]),r[0]&512&&(a.adsSlotId=l[9]),r[0]&1024&&(a.adsParams=l[10]),r[0]&2048&&(a.adsPreviewParam=l[11]),r[0]&4096&&(a.duration=l[12]),r[0]&8192&&(a.logoClickable=l[13]),r[0]&16384&&(a.logoHidden=l[14]),r[0]&65536&&(a.showNextPrevButtons=l[16]),r[0]&131072&&(a.nextButtonActive=l[17]),r[0]&262144&&(a.prevButtonActive=l[18]),r[0]&524288&&(a.endScreenVideoTitle=l[19]),r[0]&1048576&&(a.endScreenVideoThumb=l[20]),r[0]&2097152&&(a.isOneVideoPlaylist=l[21]),r[0]&4194304&&(a.supportLink=l[22]),r[0]&8388608&&(a.outerContainerRef=l[23]),r[0]&16777216&&(a.fullScreenTarget=l[24]),r[0]&33554432&&(a.showMiniTimer=l[25]),r[1]&8&&(a.playerStarted=l[34]),r[0]&67108864&&(a.playNextVideo=l[26]),r[0]&134217728&&(a.playPrevVideo=l[27]),r[0]&268435456&&(a.repeatPlaylist=l[28]),r[0]&536870912&&(a.seekToInteractive=l[29]),r[0]&1073741824&&(a.toggleGraph=l[30]),r[1]&1&&(a.playPrevChapter=l[31]),!t&&r[1]&4&&(t=!0,a.videoContainer=l[33],Ke(()=>t=!1)),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){h(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function W3(i){let e,t,n,o;const s=[Z3,j3],l=[];function r(a,c){return a[15]?0:1}return t=r(i),n=l[t]=s[t](i),{c(){e=_("div"),n.c(),u(e,"class","root v-xu043z")},m(a,c){w(a,e,c),l[t].m(e,null),o=!0},p(a,c){let f=t;t=r(a),t===f?l[t].p(a,c):(pe(),h(l[f],1,1,()=>{l[f]=null}),he(),n=l[t],n?n.p(a,c):(n=l[t]=s[t](a),n.c()),m(n,1),n.m(e,null))},i(a){o||(m(n),o=!0)},o(a){h(n),o=!1},d(a){a&&k(e),l[t].d()}}}function G3(i,e,t){let{sources:n}=e,{store:o}=e,{uiConfig:s}=e,{title:l}=e,{thumbUrl:r}=e,{videoLogoUrl:a}=e,{interactiveContainer:c}=e,{subtitles:f}=e,{live:p}=e,{preload:b}=e,{autoplay:g}=e,{volume:v=void 0}=e,{muted:C=void 0}=e,{fromTime:P}=e,{canRewindLive:V}=e,{showAds:I}=e,{adsSlotId:L=void 0}=e,{adsParams:N=void 0}=e,{adsPreviewParam:se=void 0}=e,{duration:U=void 0}=e,{logoClickable:K}=e,{logoHidden:Y}=e,{isMobile:ae}=e,{showNextPrevButtons:E=!1}=e,{nextButtonActive:j=!1}=e,{prevButtonActive:ue=!1}=e,{endScreenVideoTitle:te=void 0}=e,{endScreenVideoThumb:q=void 0}=e,{isOneVideoPlaylist:S=!1}=e,{supportLink:re}=e,{outerContainerRef:R=void 0}=e,{fullScreenTarget:Ce=void 0}=e,{failoverHosts:de=void 0}=e,{showMiniTimer:G=!1}=e,{playNextVideo:fe=ie.noop}=e,{playPrevVideo:ye=ie.noop}=e,{repeatPlaylist:F=ie.noop}=e,{seekToInteractive:le=ie.noop}=e,{toggleGraph:y=ie.noop}=e,{playPrevChapter:ne=ie.noop}=e;Pu(s);const He=Ki(),Ae=o.ui.debugPanelVisible,Ve=o.ui.playerSize;let Ee,be=null,Pe=!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}),Lu(o);const ke=($=!1)=>{t(34,Pe=!0),$?o.actions.external.firstStart(I):o.actions.internal.firstStart(I)};function J($){const ct=n||$;ct&&o.initVideo({container:Ee,sources:ct,failoverHosts:de,subtitles:f});const ot=ie.safeStorage.get(Wo)==="true";Ae.set(ot),P>0&&o.actions.external.seekTime(P);const et=ae?He.volumeDefault:v??Ta()??He.volumeDefault,Xe=C??zu();if(o.actions.external.setVolume(et),o.actions.external.setMuted(Xe),o.getAdmanWrapper().setInitialVolume(Xe?0:et),He.features.trafficSaving){const st=Ou();st&&o.actions.internal.setTrafficSavingEnabled(st)}const ut=Ru(o.videoId);ut&&o.actions.internal.setQuality(ut),o.ui.isAutoplay.set(g),g?ke():b&&He.features.preload&&o.actions.internal.preload()}const Z=$=>{if(window.ResizeObserver){let ct,ot;be=new ResizeObserver(ie.throttleFn(et=>{const Xe=et[0];if(Xe){if(Xe.contentBoxSize){const ut=Array.isArray(Xe.contentBoxSize)?Xe.contentBoxSize[0]:Xe.contentBoxSize;ct=ut.inlineSize,ot=ut.blockSize}else Xe.contentRect&&(ct=Xe.contentRect.width,ot=Xe.contentRect.height);Ve.set({width:ct,height:ot})}},ba)),be.observe($)}Ve.set({width:$.clientWidth,height:$.clientHeight})};an(()=>{if(Z(Ee),p?.status==="upcoming"||p?.status==="waiting"){o.actions.internal.setWaitingLive(!0);return}if((p?.status==="finished"||p?.status==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return J(),()=>{be?.disconnect(),o.destroy()}});function Ze(){Pe?o.actions.external.play():ke(!0)}function $e(){o.actions.external.pause()}function tt($){ae||o.actions.external.setMuted($)}function qe($){ae||$>=0&&$<=1&&o.actions.external.setVolume($)}function at($){o.actions.internal.seekTime($,_t.SeekAction.UNKNOWN)}function mt($){o.actions.external.seekEpisodeStartTime($)}function Bt($){o.actions.external.setPlaybackRate($)}function gt($){o.actions.external.setAutoQualityLimits($)}function Ne($){Ee=$,t(33,Ee)}function nt($){Ee=$,t(33,Ee)}return i.$$set=$=>{"sources"in $&&t(37,n=$.sources),"store"in $&&t(0,o=$.store),"uiConfig"in $&&t(38,s=$.uiConfig),"title"in $&&t(1,l=$.title),"thumbUrl"in $&&t(2,r=$.thumbUrl),"videoLogoUrl"in $&&t(3,a=$.videoLogoUrl),"interactiveContainer"in $&&t(4,c=$.interactiveContainer),"subtitles"in $&&t(39,f=$.subtitles),"live"in $&&t(5,p=$.live),"preload"in $&&t(40,b=$.preload),"autoplay"in $&&t(6,g=$.autoplay),"volume"in $&&t(41,v=$.volume),"muted"in $&&t(42,C=$.muted),"fromTime"in $&&t(43,P=$.fromTime),"canRewindLive"in $&&t(7,V=$.canRewindLive),"showAds"in $&&t(8,I=$.showAds),"adsSlotId"in $&&t(9,L=$.adsSlotId),"adsParams"in $&&t(10,N=$.adsParams),"adsPreviewParam"in $&&t(11,se=$.adsPreviewParam),"duration"in $&&t(12,U=$.duration),"logoClickable"in $&&t(13,K=$.logoClickable),"logoHidden"in $&&t(14,Y=$.logoHidden),"isMobile"in $&&t(15,ae=$.isMobile),"showNextPrevButtons"in $&&t(16,E=$.showNextPrevButtons),"nextButtonActive"in $&&t(17,j=$.nextButtonActive),"prevButtonActive"in $&&t(18,ue=$.prevButtonActive),"endScreenVideoTitle"in $&&t(19,te=$.endScreenVideoTitle),"endScreenVideoThumb"in $&&t(20,q=$.endScreenVideoThumb),"isOneVideoPlaylist"in $&&t(21,S=$.isOneVideoPlaylist),"supportLink"in $&&t(22,re=$.supportLink),"outerContainerRef"in $&&t(23,R=$.outerContainerRef),"fullScreenTarget"in $&&t(24,Ce=$.fullScreenTarget),"failoverHosts"in $&&t(44,de=$.failoverHosts),"showMiniTimer"in $&&t(25,G=$.showMiniTimer),"playNextVideo"in $&&t(26,fe=$.playNextVideo),"playPrevVideo"in $&&t(27,ye=$.playPrevVideo),"repeatPlaylist"in $&&t(28,F=$.repeatPlaylist),"seekToInteractive"in $&&t(29,le=$.seekToInteractive),"toggleGraph"in $&&t(30,y=$.toggleGraph),"playPrevChapter"in $&&t(31,ne=$.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(ae)},[o,l,r,a,c,p,g,V,I,L,N,se,U,K,Y,ae,E,j,ue,te,q,S,re,R,Ce,G,fe,ye,F,le,y,ne,at,Ee,Pe,He,ke,n,s,f,b,v,C,P,de,J,Ze,$e,tt,qe,mt,Bt,gt,Ne,nt]}class K3 extends _e{constructor(e){super(),ve(this,e,G3,W3,ge,{sources:37,store:0,uiConfig:38,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:39,live:5,preload:40,autoplay:6,volume:41,muted:42,fromTime:43,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:44,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:45,play:46,pause:47,setMuted:48,setVolume:49,seekTime:32,seekEpisodeStartTime:50,setPlaybackRate:51,setAutoQualityLimits:52},q3,[-1,-1])}get initVideo(){return this.$$.ctx[45]}get play(){return this.$$.ctx[46]}get pause(){return this.$$.ctx[47]}get setMuted(){return this.$$.ctx[48]}get setVolume(){return this.$$.ctx[49]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[50]}get setPlaybackRate(){return this.$$.ctx[51]}get setAutoQualityLimits(){return this.$$.ctx[52]}}function Y3(i){let e,t;return{c(){e=M("svg"),t=M("path"),u(t,"fill",i[0]),u(t,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,o){w(n,e,o),d(e,t)},p(n,[o]){o&1&&u(t,"fill",n[0])},i:H,o:H,d(n){n&&k(e)}}}function Q3(i,e,t){let{isWhite:n=!1}=e,o;return i.$$set=s=>{"isWhite"in s&&t(1,n=s.isWhite)},i.$$.update=()=>{i.$$.dirty&2&&t(0,o=n?"#fff":"#909499")},[o,n]}class X3 extends _e{constructor(e){super(),ve(this,e,Q3,Y3,ge,{isWhite:1})}}function J3(i){Ue(i,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function sa(i){let e,t;return{c(){e=_("div"),t=Fe(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){w(n,e,o),d(e,t)},p(n,o){o&1&&xe(t,n[0])},d(n){n&&k(e)}}}function ra(i){let e,t;return e=new X3({props:{isWhite:!!i[1]}}),{c(){O(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const s={};o&2&&(s.isWhite=!!n[1]),e.$set(s)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){h(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function x3(i){let e,t,n,o,s=i[0]&&sa(i),l=(!i[0]||!i[1])&&ra(i);return{c(){e=_("div"),s&&s.c(),t=B(),l&&l.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(r,a){w(r,e,a),s&&s.m(e,null),d(e,t),l&&l.m(e,null),o=!0},p(r,[a]){r[0]?s?s.p(r,a):(s=sa(r),s.c(),s.m(e,t)):s&&(s.d(1),s=null),!r[0]||!r[1]?l?(l.p(r,a),a&3&&m(l,1)):(l=ra(r),l.c(),m(l,1),l.m(e,null)):l&&(pe(),h(l,1,1,()=>{l=null}),he()),(!o||a&2&&n!==(n=r[1]?`background-image: url('${r[1]}')`:""))&&u(e,"style",n)},i(r){o||(m(l),o=!0)},o(r){h(l),o=!1},d(r){r&&k(e),s&&s.d(),l&&l.d()}}}function $3(i,e,t){let{title:n}=e,{thumbUrl:o}=e;return i.$$set=s=>{"title"in s&&t(0,n=s.title),"thumbUrl"in s&&t(1,o=s.thumbUrl)},[n,o]}class ep extends _e{constructor(e){super(),ve(this,e,$3,x3,ge,{title:0,thumbUrl:1},J3)}}class tp{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:t="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:t,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",t=>null],["seekbackward",t=>null],["seekforward",t=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[t,n]of e)try{navigator.mediaSession.setActionHandler(t,n)}catch{throw new Error(`The media session action "${t}" is not supported yet.`)}}}function ip(i){let e,t,n,o;return{c(){e=M("svg"),t=M("g"),n=M("path"),o=M("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(o,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(t,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(s,l){w(s,e,l),d(e,t),d(t,n),d(t,o)},p:H,i:H,o:H,d(s){s&&k(e)}}}class np extends _e{constructor(e){super(),ve(this,e,null,ip,ge,{})}}function op(i){Ue(i,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function lp(i){let e,t,n,o,s,l,r;return n=new np({}),{c(){e=_("div"),t=_("div"),O(n.$$.fragment),o=B(),s=_("span"),l=Fe(i[0]),u(t,"class","dummy-image v-1pbsod4"),A(t,"desktop",!i[1]),u(s,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),A(e,"is-pip-api",i[2])},m(a,c){w(a,e,c),d(e,t),z(n,t,null),d(e,o),d(e,s),d(s,l),r=!0},p(a,[c]){(!r||c&2)&&A(t,"desktop",!a[1]),(!r||c&1)&&xe(l,a[0])},i(a){r||(m(n.$$.fragment,a),r=!0)},o(a){h(n.$$.fragment,a),r=!1},d(a){a&&k(e),D(n)}}}function sp(i,e,t){let n,o;const s=St(),l=!!s.webApi.pictureInPictureApi,r=s.interfaceLanguage$;W(i,r,f=>t(5,n=f));const a=s.ui.isMobile;W(i,a,f=>t(1,o=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&oe("pip_dummy_title"))},[c,o,l,r,a,n]}class rp extends _e{constructor(e){super(),ve(this,e,sp,lp,ge,{},op)}}const ap=460,up=280;class V1{playerDomElement;playerParentShadowRoot;playerDummyElement;svelteContext;pipWindow;info={isActive$:new ie.ValueSubject(!1),type:Cn.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}async request(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:ap,height:up,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const e=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(l=>l.cssText).join(" ")).filter(Boolean).join(`
|
|
51
|
+
`),t=document.createElement("style");t.textContent=e;const n=this.createStretchedContainer(),o=n.attachShadow({mode:"open"});o.append(t),o.append(this.playerDomElement),this.playerDummyElement=new rp({target:this.playerParentShadowRoot,context:this.svelteContext}),this.pipWindow?.document.body.append(n),this.info.isActive$.next(!0),this.pipWindow?.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})}async remove(){return new Promise(e=>{documentPictureInPicture.window?.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function cp(i){return i instanceof V1}class fp{static getLatestSupportedVersion(){const e=new xo,t=new V1;if(t.isSupported())return t;if(e.isSupported())return e}}function aa(i,e){const t=new Set([...Object.keys(i),...Object.keys(e)]),n={};for(const o of t)n[o]=e[o]??i[o]??void 0;return n}const dp="Inner error. Unexpectedly root annotation container null reference exception",mp="Annotation with such name already exists",pp="Annotation with such name does not exist";class qo extends Error{constructor(e){super(e),this.name="AnnotationError"}}const hp="1",gp=100;class bp{rootAnnotationsContainer;annotations=new Map;subscriptions=new ie.Subscription;mutationObserver;playerSize;constructor(e){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"},gp);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){if(!this.rootAnnotationsContainer)throw new qo(dp);if(this.annotations.has(e))throw new qo(mp);t.style.zIndex=t.style.zIndex??hp,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 qo(pp);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,s=e.offsetLeft,l=e.offsetWidth,r=e.offsetHeight;return o<0||s<0||s+l>t||o+r>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}const vp={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 _p extends HTMLElement{svelteStubComponent;svelteRootComponent;store;statistics;sentry;_shadowRoot;playerContainer;rootContainer;uiConfig;coreConfig;interactiveController;interactiveContainer;graphMadePause;currentPlayingVideoIndex=0;needToRepeatPlaylist=!1;videoConfig=void 0;pictureInPictureApi=void 0;mediaSessionApi=void 0;unsubscribePlayerPhaseSubscription=void 0;logger;log;subscription;annotationsApi=void 0;createPlayerTimeout;prevVsid=void 0;isInited=!1;constructor(){super(),this.logger=new ie.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new ie.Subscription,this.graphMadePause=!1,window?.videoPlayerConfig?.debugLogs&&this.subscription.add(this.logger.log$.subscribe(e=>{console.log("%c player web component ","background:#77dd77;",`${e.component}`,e.message)}))}connectedCallback(){if(this.isInited)return;this.initPlayerRootContainers();const e=this.getAttribute("stub-title")??void 0,t=this.getAttribute("stub-thumb-url")??void 0;this.svelteStubComponent=new ep({target:this.playerContainer,props:{title:e,thumbUrl:t}})}disconnectedCallback(){this.annotationsApi?.destroy(),this.svelteRootComponent?.$destroy(),this.svelteStubComponent?.$destroy(),this.subscription.unsubscribe(),this.unsubscribePlayerPhaseSubscription?.(),this.interactiveController?.destroy()}initPlayerRootContainers(){this.rootContainer=document.createElement("div"),this.rootContainer.style.position="relative",this.rootContainer.className="root-container",this.rootContainer.style.width="100%",this.rootContainer.style.height="100%";const e=document.createElement("div");e.style.position="absolute",e.className="shadow-root-container",e.style.width="100%",e.style.height="100%",this._shadowRoot=e.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.rootContainer.append(e),this.append(this.rootContainer)}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){return this.store?.ui.controls.disabledControls$?.includes(e)||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,t={},n){if(!this.videoConfig)return;const{albumId:o,statPlace:s,statUserSalt:l,statAuthToken:r,statTrackCode:a,refreshStatAuthToken:c,preload:f,autoplay:p,volume:b,muted:g,fromTime:v,canRewindLive:C,supportLink:P,showAds:V,adsSlotId:I,adsParams:L={},adsPreviewParam:N,interfaceLanguage:se,logoClickable:U,logoHidden:K,isMobile:Y,isAudioDisabled:ae,isLiveCatchUpMode:E,fullScreenTarget:j,failoverHosts:ue,canDownload:te,callbacks:q,interactiveData:S,showThumbTimer:re,additionalButtons:R=[],repeat:Ce}=aa(this.videoConfig,t),{sources:de,title:G,thumbUrl:fe,videoLogoUrl:ye,unitedVideoId:F,isClip:le=!1,duration:y,adsParams:ne={},videoEpisodes:He,previewThumbsData:Ae,subtitles:Ve,live:Ee}=e,be={...L,...ne},Pe=this.getNextVideoInfo(),ke={sources:de,title:G,thumbUrl:fe,subtitles:Ve,unitedVideoId:F,isClip:le,live:Ee,albumId:o,statPlace:s,autoplay:p,muted:g,volume:b,fromTime:v,canRewindLive:C,showAds:V,adsSlotId:I,adsParams:be,adsPreviewParam:N,duration:y,logoClickable:U,logoHidden:K,isMobile:Y,repeat:Ce,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Pe.nextVideoTitle,endScreenVideoThumb:Pe.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},J={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(ke)}`});const Z=this.uiConfig.features.statistics&&!!F,{pid:Ze}=this.videoConfig?.interactiveData?.projectInfo||{};Z&&new ro({movieId:F,albumId:o,place:s,trackCode:a,autoplay:(p&&!this.interactiveController)??!1,mobile:Y,clip:le,...Ze&&!this.isInited&&{projectId:Number(Ze)}},{refreshAuthToken:c,userSalt:l,config:this.statistics.config,...this.interactiveController&&this.isInited&&{vsid:this.prevVsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new Ko(this.uiConfig.sentry,{version:Lo,env:Iu},{movieId:F,albumId:o,place:s,autoplay:(p&&!this.interactiveController)??!1,mobile:Y,clip:le}),this.interactiveController&&!this.isInited&&(this.prevVsid=ro.getInstance()?.oneStat.vsid$.getValue()),this.statistics={...this.statistics,...ro.getInstance()},this.sentry={...this.sentry,...Ko.getInstance()};const tt=!!S,qe=this.interactiveController?.getInteractiveRanges(),at=[];let mt="tooltip_interactive_go_back_disabled_first";if(tt&&this.interactiveController){const nt=this.interactiveController.state,$=this.interactiveController.getHistoryState();nt.isInitialChapter$.getValue()&&at.push(bt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||at.push(bt.SEEK_TO_INTERACTIVE_BUTTON),$.hasPrevChapter$.getValue()||(nt.isInitialChapter$.getValue()||(nt.lastChapterChangeWasInitiatedByInteractive$.getValue()?mt="tooltip_interactive_go_back_disabled":mt="tooltip_interactive_go_back_disabled_limit"),at.push(bt.PLAY_PREV_CHAPTER_BUTTON))}const Bt=()=>{const nt=n?.info.isEnded$.getValue()&&this.interactiveController?.state.isEndChapter$.getValue();q.onReplayInteractiveVideo&&!nt?q.onReplayInteractiveVideo():this.replayInteractiveVideo()},gt=nt=>{q.onDisabledPlayPrevChapterClick&&q.onDisabledPlayPrevChapterClick(nt)},Ne=nt=>{q.onDisabledSeekToInteractiveClick&&q.onDisabledSeekToInteractiveClick(nt)};this.store=w4({player:n,interfaceLanguage:se,videoId:F,isClip:le,isLiveCatchUpMode:E,isAudioDisabled:ae,statAuthToken:r,callbacks:q,webApi:J,videoEpisodes:He,previewThumbsData:Ae,canDownload:te,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:at,isInteractive:tt,interactiveRanges:qe,replayInteractive:Bt,playPrevChapterDisabledTooltip:mt,onDisabledPlayPrevChapterClick:gt,onDisabledSeekToInteractiveClick:Ne,hasInteractiveBranches:!!this.interactiveController?.getChapterBranches()?.length,additionalButtons:this.uiConfig.features.additionalButtons?R:[],looped:Ce&&this.videoConfig.videos.length===1}),this.subscription.add(this.store.state.currentFormat$.subscribe(nt=>q?.onCurrentFormatChanged?.(nt))),this.subscription.add(this.store.state.throughputEstimation$.subscribe(nt=>q?.onThroughputEstimationChanged?.(nt))),this.subscription.add(this.store.state.videoBitrate$.subscribe(nt=>q?.onVideoBitrateChanged?.(nt))),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(nt=>{const $=this.store?.ui.controls.disabledControls$;$&&nt&&!$.includes(Go)&&$.add(Go)})),this.videoConfig.isMobile&&this.interactiveController&&this.subscription.add(this.store.ui.controlsVisible.subscribe(nt=>{this.interactiveController?.setDisabledControls(nt)})),this.initMediaSession(),this.interactiveController&&Z&&this.initInteractivesStatistics(),this.svelteRootComponent=new K3({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:de,store:this.store,uiConfig:this.uiConfig,title:G,thumbUrl:fe,videoLogoUrl:ye,subtitles:Ve,live:Ee,preload:f,autoplay:p,muted:g,volume:b,fromTime:v,canRewindLive:C,supportLink:P,showAds:V,adsSlotId:I,adsParams:be,adsPreviewParam:N,duration:y,logoClickable:U,logoHidden:K,isMobile:Y,failoverHosts:ue,fullScreenTarget:j,showMiniTimer:re,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Pe.nextVideoTitle,endScreenVideoThumb:Pe.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist(),playPrevChapter:()=>this.playPrevChapter(),seekToInteractive:()=>this.seekToInteractive(),toggleGraph:()=>this.toggleGraph()}}),this.addPlayerInfoSubscriptions(),this.isInited||(this.isInited=!0,this.videoConfig?.callbacks?.onInited?.())}addPlayerInfoSubscriptions(){const e=this.store;if(!e)return;const t=this.videoConfig?.callbacks;t&&this.subscription.add(e.playerPhase.subscribe(o=>t.onPlayerPhaseChanged?.(o))).add(e.state.playbackState$.subscribe(o=>t.onPlaybackStateChanged?.(o))).add(e.state.isLive$.subscribe(o=>t.onIsLiveChanged?.(o))).add(e.state.isActiveLive$.subscribe(o=>t.onIsActiveLiveChanged?.(o))).add(e.state.isAudioAvailable$.subscribe(o=>t.onIsAudioAvailableChanged?.(o))).add(e.state.currentQuality$.subscribe(o=>t.onCurrentQualityChanged?.(o))).add(e.state.availableQualities$.subscribe(o=>t.onAvailableQualitiesChanged?.(o.map(({value:s})=>s).filter(s=>s!==Yn.AUTO)))).add(e.ui.isPictureInPictureActive$.subscribe(o=>o?t.onPiPEnter?.():t.onPiPExit?.()));const n=t?.uiInfo;n&&this.subscription.add(e.ui.controlsVisible.subscribe(o=>n.onControlsVisibleChanged?.(o))).add(e.ui.isMobile.subscribe(o=>n.onIsMobileChanged?.(o))).add(e.ui.playerSize.subscribe(o=>n.onPlayerSizeChanged?.(o))).add(e.ui.controls.prevButton.subscribe(o=>n.onPrevButtonChanged?.(o))).add(e.ui.controls.playButton.subscribe(o=>n.onPlayButtonChanged?.(o))).add(e.ui.controls.replayButton.subscribe(o=>n.onReplayButtonChanged?.(o))).add(e.ui.controls.nextButton.subscribe(o=>n.onNextButtonChanged?.(o))).add(e.ui.controls.playPrevChapterButton.subscribe(o=>n.onPlayPrevChapterChanged?.(o))).add(e.ui.controls.seekToInteractiveButton.subscribe(o=>n.onSeekToInteractiveButtonChanged?.(o))).add(e.ui.controls.interactiveGraphButton.subscribe(o=>n.onGraphButtonChanged?.(o))).add(e.ui.controls.liveButton.subscribe(o=>n.onLiveButtonChanged?.(o))).add(e.ui.controls.time.subscribe(o=>n.onTimeUpdateChanged?.(o))).add(e.ui.controls.episodes.subscribe(o=>n.onEpisodesChanged?.(o))).add(e.ui.controls.volume.subscribe(o=>n.onVolumeChanged?.(o))).add(e.ui.controls.subtitles.subscribe(o=>n.onSubtitlesChanged?.(o))).add(e.ui.controls.settings.subscribe(o=>n.onSettingsChanged?.(o))).add(e.ui.controls.fullscreen.subscribe(o=>n.onFullscreenChanged?.(o))).add(e.ui.controls.chromecast.subscribe(o=>n.onChromecastChanged?.(o))).add(e.ui.controls.pip.subscribe(o=>n.onPipChanged?.(o))).add(e.ui.controls.vkLogo.subscribe(o=>n.onVkLogoChanged?.(o)))}playNextVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onNextVideoClick)try{e=this.videoConfig.callbacks.onNextVideoClick()}catch{this.log({message:"onNextVideoClick callback failed to execute"})}e&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onPrevVideoClick)try{e=this.videoConfig.callbacks.onPrevVideoClick()}catch{this.log({message:"onPrevVideoClick callback failed to execute"})}e&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,t=!0){if(!this.videoConfig)return;const n=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!n){this.log({message:"no next video"});return}this.isInited&&ie.isNonNullable(n.unitedVideoId)&&this.store.actions.internal.nextMovie(n.unitedVideoId),this.svelteRootComponent?.$destroy(),this.createPlayer(n,{autoplay:t,fromTime:0},e)}playPrevChapter(){this.interactiveController?.playPrevChapter()}seekToInteractive(){const e=this.interactiveController?.getNextInteractiveStartTime();typeof e=="number"&&this.seekTime(e/1e3)}toggleGraph(){if(!this.isInited)return;const e=this.store,{isEnded$:t,playbackState$:n,graphIsOpened$:o}=e.state,{disabledControls$:s}=e.ui.controls,l=lt(t),r=lt(n);lt(o)?(o.set(!1),this.interactiveController?.toggleGraphView(!1),s.remove(dl),!l&&this.graphMadePause&&this.play()):(this.graphMadePause=r==="playing",o.set(!0),this.interactiveController?.toggleGraphView(!0),s.add(dl),!l&&this.graphMadePause&&this.pause())}async initInteractives(){if(this.videoConfig?.interactiveData)try{const{Interactives:e,EVENT_NAMES:t,CustomError:n}=await import("@vkontakte/videoplayer-interactive/esnext.cjs.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const o=this.store?.interfaceLanguage$,s=o?lt(o):this.videoConfig.interfaceLanguage,{projectInfo:l,historyApi:r,videoLoader:a}=this.videoConfig.interactiveData;this.interactiveController=new e({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:s,graph:this.uiConfig.features.interactiveGraph,projectInfo:l,historyApi:r,vkVideoLoader:a,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,disableControlsOnPause:!this.videoConfig.isMobile}),await this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest),this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(f=>{if(!this.isInited)return;const p=this.store;f?p.ui.controls.disabledControls$.remove(bt.SEEK_TO_INTERACTIVE_BUTTON):p.ui.controls.disabledControls$.add(bt.SEEK_TO_INTERACTIVE_BUTTON)}));let c=!0;if(this.interactiveController.on(t.playerChanged,f=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...f.config,title:l.title};const p=c?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(f.player,p),c&&(c=!1)}),this.interactiveController.on(t.interactives,({type:f,subjectId:p,actionType:b})=>{if(this.store&&(f==="container-removed"&&this.store.actions.internal.completeInteractiveRange(p),f==="range-ended"&&(lt(this.store.state.isInteractiveExpectation$)||this.store.ui.controls.disabledControls$.remove(so)),f==="action-execution"&&b==="expect"&&(this.store.ui.controls.disabledControls$.add(so),this.store.state.isInteractiveExpectation$.set(!0)),f==="action-choice"&&b==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(so)),f==="action-execution"&&b==="after-expect"&&(this.store.ui.controls.disabledControls$.remove(so),this.store.state.isInteractiveExpectation$.set(!1)),f==="action-choice-canceled")){const g=lt(this.store.state.isPlaying$)||lt(this.store.state.isInteractiveExpectation$);if(this.videoConfig?.isMobile&&g){this.store.ui.interactiveHideMobileControls.set(!0);return}this.videoConfig?.callbacks.onDisabledInteractiveClick?.()}}),this.videoConfig?.callbacks?.onInteractiveHistoryChanged){const f=this.interactiveController.getHistoryState();this.subscription.add(f.history$.subscribe(p=>{p.length&&this.videoConfig?.callbacks?.onInteractiveHistoryChanged?.(p)}))}this.interactiveController.on(t.errors,f=>{this.log({message:f.toString()})})}catch(e){this.log({message:e.message})}}async initInteractivesStatistics(){const{statSubscription:e,oneStat:t}=this.statistics;if(!(!e||!t||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:n}=await import("@vkontakte/videoplayer-interactive/esnext.cjs.js"),o={[n.GO_NEXT_BUTTON]:_t.InteractiveInterfaceClick.NEXT_BUTTON,[n.GO_NEXT_AREA]:_t.InteractiveInterfaceClick.NEXT_AREA,[n.WATCH_AGAIN]:_t.InteractiveInterfaceClick.WATCH_AGAIN,[n.OPEN_GRAPH]:_t.InteractiveInterfaceClick.GRAPH_SHOW,[n.CLOSE_GRAPH]:_t.InteractiveInterfaceClick.GRAPH_HIDE},{click$:s,nextMovie$:l}=this.interactiveController.getStatEvents(),r=new ie.Subject;s.subscribe(a=>{a in o?r.next(o[a]):(t?.logError({errorType:"InteractiveVideosAction",fatal:!1}),this.sentry.report?.(new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),e.add(t.attachToInteractive({click$:r,nextMovie$:l}))}catch(n){t?.logError({errorType:"InteractiveVideos",fatal:!1}),this.sentry.report?.(n,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,t={}){if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=aa(vp,ie.cloneDeepWith(e,n=>n instanceof HTMLElement?n:void 0)),this.uiConfig=Cu(t.ui??{}),this.coreConfig=t.core??{configName:[]},this.statistics={config:t.statistics??{}},this.sentry={config:this.uiConfig.sentry??{}},ie.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=this.videoConfig.isMediaSessionEnabled??!0),ie.isNonNullable(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=this.uiConfig.features.pip??this.videoConfig.isPictureInPictureEnabled??!0,this.uiConfig.features.dpip=this.uiConfig.features.dpip??this.videoConfig.isPictureInPictureEnabled??!0),this.videoConfig.isMobile=this.uiConfig.isMobile??this.videoConfig.isMobile,this.videoConfig.autoplay&&=this.uiConfig.features.autoplay,this.videoConfig.showAds=this.uiConfig.ads.enable??this.videoConfig.showAds,this.videoConfig.adsSlotId=this.uiConfig.ads.slot??this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=this.uiConfig.ads.preview??this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!(this.uiConfig.showLogo??!this.videoConfig.logoHidden),this.videoConfig.canRewindLive&&=this.uiConfig.features.liveRewind,this.videoConfig.supportLink=this.videoConfig.supportLink??this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=fp.getLatestSupportedVersion():this.pictureInPictureApi=new xo),this.mediaSessionApi=this.uiConfig.features.mediaSession?new tp:void 0,this.annotationsApi=this.uiConfig.features.annotations?new bp(this.rootContainer):void 0,this.svelteStubComponent?.$destroy(),this.svelteRootComponent?.$destroy(),this.isInited=!1,this.prevVsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),cp(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const t=this.getNextVideoInfo();this.svelteRootComponent?.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:t.nextVideoTitle,endScreenVideoThumb:t.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){this.mediaSessionApi&&(this.unsubscribePlayerPhaseSubscription?.(),this.unsubscribePlayerPhaseSubscription=this.store?.playerPhase.subscribe(e=>{e===ze.Video?this.setupMediaSessionForVideo():e===ze.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}={...this.videoConfig.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",o=>this.seekTime(o.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:t}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",t=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(t)}catch(e){this.log({message:e.message})}}play(){this.isControlDisabled(bt.PLAY_BUTTON)||(this.log({message:"play"}),this.svelteRootComponent?.play())}pause(){this.log({message:"pause"}),this.svelteRootComponent?.pause()}stop(){if(!this.videoConfig)return;this.log({message:"stop"}),this.svelteStubComponent?.$destroy();const e=this.videoConfig.videos[0];e&&(this.svelteRootComponent?.$destroy(),this.createPlayer(e))}setMuted(e){this.log({message:`set muted, muted: ${e}`}),this.svelteRootComponent?.setMuted(e)}setVolume(e){this.log({message:`set volume, volume: ${e}`}),this.svelteRootComponent?.setVolume(e)}setRepeat(e){this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,this.svelteRootComponent?.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){this.isControlDisabled(bt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),this.svelteRootComponent?.seekTime(e))}seekEpisodeStartTime(e){this.log({message:`seek episode start time, time: ${e}`}),this.svelteRootComponent?.seekEpisodeStartTime(e)}setPlaybackRate(e){this.log({message:`set playback rate to: ${e}`}),this.svelteRootComponent?.setPlaybackRate(e)}setAutoQualityLimits(e){this.log({message:`set auto quality limitation. Max: ${e.max??"none"}. Min: ${e.min??"none"}`}),this.svelteRootComponent?.setAutoQualityLimits(e)}addLanguage(e){this.store?.actions.internal.addLanguage(e)}async setLanguage(e){await this.store?.actions.internal.setLanguage(e)}setLiveStart(e){this.log({message:"live started"}),this.store?.actions.internal.setWaitingLive(!1),this.svelteRootComponent?.initVideo(e),this.play()}setWaitRecord(){this.log({message:"post live"}),this.store?.actions.internal.setWaitingRecord(!0),this.store?.destroy()}setLiveEnd(e){this.log({message:"live ended"}),this.store?.actions.internal.setWaitingRecord(!1),this.svelteRootComponent?.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){return ro.getInstance()?.oneStat.getDeviceId()??void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const kp=()=>{window.customElements.define("vk-video-player",_p)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return rt.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return rt.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=Lo;exports.registerPlayerWebComponent=kp;
|